1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8055],{20266:function(e,t){"use strict";t.qC=l,t.qC=l;let n=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,r=/^[\u0021-\u003A\u003C-\u007E]*$/,a=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,i=/^[\u0020-\u003A\u003D-\u007E]*$/,o=Object.prototype.toString;function l(e,t,l){let s="object"==typeof e?e:{...l,name:e,value:String(t)},u=("object"==typeof t?t:l)?.encode||encodeURIComponent;if(!n.test(s.name))throw TypeError(`argument name is invalid: ${s.name}`);let c=s.value?u(s.value):"";if(!r.test(c))throw TypeError(`argument val is invalid: ${s.value}`);let d=s.name+"="+c;if(void 0!==s.maxAge){if(!Number.isInteger(s.maxAge))throw TypeError(`option maxAge is invalid: ${s.maxAge}`);d+="; Max-Age="+s.maxAge}if(s.domain){if(!a.test(s.domain))throw TypeError(`option domain is invalid: ${s.domain}`);d+="; Domain="+s.domain}if(s.path){if(!i.test(s.path))throw TypeError(`option path is invalid: ${s.path}`);d+="; Path="+s.path}if(s.expires){var p;if(p=s.expires,"[object Date]"!==o.call(p)||!Number.isFinite(s.expires.valueOf()))throw TypeError(`option expires is invali
1d: ${s.expires}`);d+="; Expires="+s.expires.toUTCString()}if(s.httpOnly&&(d+="; HttpOnly"),s.secure&&(d+="; Secure"),s.partitioned&&(d+="; Partitioned"),s.priority)switch("string"==typeof s.priority?s.priority.toLowerCase():void 0){case"low":d+="; Priority=Low";break;case"medium":d+="; Priority=Medium";break;case"high":d+="; Priority=High";break;default:throw TypeError(`option priority is invalid: ${s.priority}`)}if(s.sameSite)switch("string"==typeof s.sameSite?s.sameSite.toLowerCase():s.sameSite){case!0:case"strict":d+="; SameSite=Strict";break;case"lax":d+="; SameSite=Lax";break;case"none":d+="; SameSite=None";break;default:throw TypeError(`option sameSite is invalid: ${s.sameSite}`)}return d}},72909:function(e,t,n){"use strict";let r,a,i,o,l;n.d(t,{$y:function(){return ew},B:function(){return c},BK:function(){return eZ},BX:function(){return eA},Bj:function(){return u},EB:function(){return p},Fl:function(){return eH},IU:function(){return eS},Jd:function(){return _},OT:function(){return ev},PG:function(){return eO},SU:function(){return eN},Tn:function(){return eU},Um:function(){return eg},Vh:function(){return eF},WL:function(){return eR},X$:function(){return M},X3:function(){return ex},XB:function(){return j},XI:function(){return eC},Xl:function(){return e_},YL:function(){return eE},YP:function(){return eW},YS:function(){return ey},ZM:function(){return eL},dq:function(){return eT},fw:function(){return eX},iH:function(){return eD},j:function(){return U},lk:function(){return E},nZ:function(){return d},oR:function(){return eI},qj:function(){return eh},qq:function(){return f},yT:function(){return ek}});var s=n(34280);class u{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=r,!e&&r&&(this.index=(r.scopes||(r.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[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)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[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;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){let t,n;for(t=0,this._active=!1,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,this.effects.length=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[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 c(e){return new u(e)}function d(){return r}function p(e,t=!1){r&&r.cleanups.push(e)}let m=new WeakSet;class f{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)}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=a,t=x;a=this,x=!0;try{return this.fn()}finally{b(this),a=e,x=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)k(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 h=0;function g(e,t=!1){if(e.flags|=8,t){e.next=o,o=e;return}e.next=i,i=e}function v(){let e;if(!(--h>0)){if(o){let e=o;for(o=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}for(;i;){let t=i;for(i=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}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;let n=e.depsTail,r=n;for(;r;){let e=r.prevDep;-1===r.version?(r===n&&(n=e),k(r),function(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.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=n}function O(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(w(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function w(e){if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===T)||(e.globalVersion=T,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!O(e)))
1)return;e.flags|=2;let t=e.dep,n=a,r=x;a=e,x=!0;try{y(e);let n=e.fn(e._value);(0===t.version||(0,s.aU)(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{a=n,x=r,b(e),e.flags&=-3}}function k(e,t=!1){let{dep:n,prevSub:r,nextSub:a}=e;if(r&&(r.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)k(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}let x=!0,S=[];function _(){S.push(x),x=!1}function E(){let e=S.pop();x=void 0===e||e}function A(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=a;a=void 0;try{t()}finally{a=e}}}let T=0;class D{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 C{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(!a||!x||a===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==a)t=this.activeLink=new D(a,this),a.deps?(t.prevDep=a.depsTail,a.depsTail.nextDep=t,a.depsTail=t):a.deps=a.depsTail=t,function e(t){if(t.dep.sc++,4&t.sub.flags){let n=t.dep.computed;if(n&&!t.dep.subs){n.flags|=20;for(let t=n.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=a.depsTail,t.nextDep=void 0,a.depsTail.nextDep=t,a.depsTail=t,a.deps===t&&(a.deps=e)}return t}trigger(e){this.version++,T++,this.notify(e)}notify(e){h++;try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{v()}}}let $=new WeakMap,P=Symbol(""),I=Symbol(""),N=Symbol("");function U(e,t,n){if(x&&a){let t=$.get(e);t||$.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new C),r.map=t,r.key=n),r.track()}}function M(e,t,n,r,a,i){let o=$.get(e);if(!o){T++;return}let l=e=>{e&&e.trigger()};if(h++,"clear"===t)o.forEach(l);else{let a=(0,s.kJ)(e),i=a&&(0,s.S0)(n);if(a&&"length"===n){let e=Number(r);o.forEach((t,n)=>{("length"===n||n===N||!(0,s.yk)(n)&&n>=e)&&l(t)})}else switch((void 0!==n||o.has(void 0))&&l(o.get(n)),i&&l(o.get(N)),t){case"add":a?i&&l(o.get("length")):(l(o.get(P)),(0,s._N)(e)&&l(o.get(I)));break;case"delete":!a&&(l(o.get(P)),(0,s._N)(e)&&l(o.get(I)));break;case"set":(0,s._N)(e)&&l(o.get(P))}}v()}function R(e){let t=eS(e);return t===e?t:(U(t,"iterate",N),ek(e)?t:t.map(eE))}function j(e){return U(e=eS(e),"iterate",N),e}function L(e,t){return ew(e)?eO(e)?eA(eE(t)):eA(t):eE(t)}let Z={__proto__:null,[Symbol.iterator](){return B(this,Symbol.iterator,e=>L(this,e))},concat(...e){return R(this).concat(...e.map(e=>(0,s.kJ)(e)?R(e):e))},entries(){return B(this,"entries",e=>(e[1]=L(this,e[1]),e))},every(e,t){return F(this,"every",e,t,void 0,arguments)},filter(e,t){return F(this,"filter",e,t,e=>e.map(e=>L(this,e)),arguments)},find(e,t){return F(this,"find",e,t,e=>L(this,e),arguments)},findIndex(e,t){return F(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return F(this,"findLast",e,t,e=>L(this,e),arguments)},findLastIndex(e,t){return F(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return F(this,"forEach",e,t,void 0,arguments)},includes(...e){return H(this,"includes",e)},indexOf(...e){return H(this,"indexOf",e)},join(e){return R(this).join(e)},lastIndexOf(...e){return H(this,"lastIndexOf",e)},map(e,t){return F(this,"map",e,t,void 0,arguments)},pop(){return q(this,"pop")},push(...e){return q(this,"push",e)},reduce(e,...t){return Q(this,"reduce",e,t)},reduceRight(e,...t){return Q(this,"reduceRight",e,t)},shift(){return q(this,"shift")},some(e,t){return F(this,"some",e,t,void 0,arguments)},splice(...e){return q(this,"splice",e)},toReversed(){return R(this).toReversed()},toSorted(e){return R(this).toSorted(e)},toSpliced(...e){return R(this).toSpliced(...e)},unshift(...e){return q(this,"unshift",e)},values(){return B(this,"values",e=>L(this,e))}};function B(e,t,n){let r=j(e),a=r[t]();return r===e||ek(e)||(a._next=a.next,a.next=()=>{let e=a._next();return e.done||(e.value=n(e.value)),e}),a}let z=Array.prototype;function F(e,t,n,r,a,i){let o=j(e),l=o!==e&&!ek(e),s=o[t];if(s!==z[t]){let t=s.apply(e,i);return l?eE(t):t}let u=n;o!==e&&(l?u=function(t,r){return n.call(this,L(e,t),r,e)}:n.length>2&&(u=function(t,r){return n.call(this,t,r,e)}));
1let c=s.call(o,u,r);return l&&a?a(c):c}function Q(e,t,n,r){let a=j(e),i=a!==e&&!ek(e),o=n,l=!1;a!==e&&(i?(l=0===r.length,o=function(t,r,a){return l&&(l=!1,t=L(e,t)),n.call(this,t,L(e,r),a,e)}):n.length>3&&(o=function(t,r,a){return n.call(this,t,r,a,e)}));let s=a[t](o,...r);return l?L(e,s):s}function H(e,t,n){let r=eS(e);U(r,"iterate",N);let a=r[t](...n);return(-1===a||!1===a)&&ex(n[0])?(n[0]=eS(n[0]),r[t](...n)):a}function q(e,t,n=[]){_(),h++;let r=eS(e)[t].apply(e,n);return v(),E(),r}let V=(0,s.fY)("__proto__,__v_isRef,__isVue"),W=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(s.yk));function X(e){(0,s.yk)(e)||(e=String(e));let t=eS(this);return U(t,"has",e),t.hasOwnProperty(e)}class Y{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;let r=this._isReadonly,a=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return a;if("__v_raw"===t)return n===(r?a?ef:em:a?ep:ed).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let i=(0,s.kJ)(e);if(!r){let e;if(i&&(e=Z[t]))return e;if("hasOwnProperty"===t)return X}let o=Reflect.get(e,t,eT(e)?e:n);if(((0,s.yk)(t)?W.has(t):V(t))||(r||U(e,"get",t),a))return o;if(eT(o)){let e=i&&(0,s.S0)(t)?o:o.value;return r&&(0,s.Kn)(e)?ev(e):e}return(0,s.Kn)(o)?r?ev(o):eh(o):o}}class G extends Y{constructor(e=!1){super(!1,e)}set(e,t,n,r){let a=e[t],i=(0,s.kJ)(e)&&(0,s.S0)(t);if(!this._isShallow){let e=ew(a);if(ek(n)||ew(n)||(a=eS(a),n=eS(n)),!i&&eT(a)&&!eT(n))return!!e||(a.value=n,!0)}let o=i?Number(t)<e.length:(0,s.RI)(e,t),l=Reflect.set(e,t,n,eT(e)?e:r);return e===eS(r)&&(o?(0,s.aU)(n,a)&&M(e,"set",t,n,a):M(e,"add",t,n)),l}deleteProperty(e,t){let n=(0,s.RI)(e,t),r=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&M(e,"delete",t,void 0,r),a}has(e,t){let n=Reflect.has(e,t);return(0,s.yk)(t)&&W.has(t)||U(e,"has",t),n}ownKeys(e){return U(e,"iterate",(0,s.kJ)(e)?"length":P),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),en=new K(!0),er=e=>e,ea=e=>Reflect.getPrototypeOf(e);function ei(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function eo(e,t){let n=function(e,t){let n={get(n){let r=this.__v_raw,a=eS(r),i=eS(n);e||((0,s.aU)(n,i)&&U(a,"get",n),U(a,"get",i));let{has:o}=ea(a),l=t?er:e?eA:eE;return o.call(a,n)?l(r.get(n)):o.call(a,i)?l(r.get(i)):void(r!==a&&r.get(n))},get size(){let t=this.__v_raw;return e||U(eS(t),"iterate",P),t.size},has(t){let n=this.__v_raw,r=eS(n),a=eS(t);return e||((0,s.aU)(t,a)&&U(r,"has",t),U(r,"has",a)),t===a?n.has(t):n.has(t)||n.has(a)},forEach(n,r){let a=this,i=a.__v_raw,o=eS(i),l=t?er:e?eA:eE;return e||U(o,"iterate",P),i.forEach((e,t)=>n.call(r,l(e),l(t),a))}};return(0,s.l7)(n,e?{add:ei("add"),set:ei("set"),delete:ei("delete"),clear:ei("clear")}:{add(e){let n=eS(this),r=ea(n),a=eS(e),i=t||ek(e)||ew(e)?e:a;return r.has.call(n,i)||(0,s.aU)(e,i)&&r.has.call(n,e)||(0,s.aU)(a,i)&&r.has.call(n,a)||(n.add(i),M(n,"add",i,i)),this},set(e,n){t||ek(n)||ew(n)||(n=eS(n));let r=eS(this),{has:a,get:i}=ea(r),o=a.call(r,e);o||(e=eS(e),o=a.call(r,e));let l=i.call(r,e);return r.set(e,n),o?(0,s.aU)(n,l)&&M(r,"set",e,n,l):M(r,"add",e,n),this},delete(e){let t=eS(this),{has:n,get:r}=ea(t),a=n.call(t,e);a||(e=eS(e),a=n.call(t,e));let i=r?r.call(t,e):void 0,o=t.delete(e);return a&&M(t,"delete",e,void 0,i),o},clear(){let e=eS(this),t=0!==e.size,n=e.clear();return t&&M(e,"clear",void 0,void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=function(...n){let a=this.__v_raw,i=eS(a),o=(0,s._N)(i),l="entries"===r||r===Symbol.iterator&&o,u=a[r](...n),c=t?er:e?eA:eE;return e||U(i,"iterate","keys"===r&&o?I:P),(0,s.l7)(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[c(e[0]),c(e[1])]:c(e),done:t}}})}}),n}(e,t);return(t,r,a)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get((0,s.RI)(n,r)&&r in t?n:t,r,a)}let el={get:eo(!1,!1)},es={get:eo(!1,!0)},eu={get:eo(!0,!1)},ec={get:eo(!0,!0)},ed=new WeakMap,ep=new WeakMap,em=new WeakMap,ef=new WeakMap;function eh(e){return ew(e)?e:eb(e,!1,J,el,ed)}function eg(e){return eb(e,!1,et,es,ep)}function ev(e){return eb(e,!0,ee,eu,em)}function ey(e){return eb(e,!0,en,ec,ef)}function eb(e,t,n,r,a){if(!(0,s.Kn)(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let i=e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((0,s.W7)(e));if(0===i)return e;let o=a.get(e);if(o)return o;let l=new Proxy(e,2===i?r:n);return a.set(e,l),l}function eO(e){return ew(e)?eO(e.__v_raw):!!(e&&e.__v_isReactive)}function ew(e){return!!(e&&e.__v_isReadonly)}function ek(e){return!!(e&&e.__v_isShallow)}function ex(e){return!!e&&!!e.__v_raw}function eS(e){let t=e&&e.__v_raw;return t?eS(t):e}function e_(e){return!(0,s.RI)(e,"__v_skip")&&Object.isExtensible(e)&&(0,s.Nj)(e,"__v_skip",!0),e}let eE=e=>(0,s.Kn)(e)?eh(e):e,eA=e=>(0,s.Kn)(e)?ev(e):e;function eT(e){return!!e&&!0===e.__v_isRef}function eD(e){return e$(e,!1)}function eC(e){return e$(e,!0)}function e$(e,t){return eT(e)?e:new eP(e,t)}class eP{constructor(e,t){this.dep=new C,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:eS(e),this._value=t?e:eE(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||ek(e)||ew(e);e=n?e:eS(e),(0,s.aU)(e,t)&&(this._rawValue=e,this._value=n?e:eE(e),this.dep.trigger())}}function eI(e){e.dep&&e.dep.trigger()}function eN(e){return eT(e)?e.value:e}function eU(e){return(0,s.mf)(e)?e():eN(e)}let eM={get:(e,t,n)=>"__v_raw"===t?e:eN(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let a=e[t];return eT(a)&&!eT(n)?(a.value=n,!0):Reflect.set(e,t,n,r)}};function eR(e){return eO(e)?e:new Proxy(e,eM)}class ej{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new C,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function eL(e){return new ej(e)}function eZ(e){let t=(0,s.kJ)(e)?Array(e.length):{};for(let n in e)t[n]=new eB(e,n,void 0);return t}class eB{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=(0,s.yk)(t)?t:String(t),this._raw=eS(e);let r=!0,a=e;if(!(0,s.kJ)(e)||(0,s.yk)(this._key)||!(0,s.S0)(this._key))do r=!ex(a)||ek(a);
1while(r&&(a=a.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=eN(e)),this._value=void 0===e?this._defaultValue:e}set value(e){if(this._shallow&&eT(this._raw[this._key])){let t=this._object[this._key];if(eT(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return function(e,t){let n=$.get(e);return n&&n.get(t)}(this._raw,this._key)}}class ez{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 eF(e,t,n){return eT(e)?e:(0,s.mf)(e)?new ez(e):(0,s.Kn)(e)&&arguments.length>1?new eB(e,t,n):eD(e)}class eQ{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new C(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=T-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&a!==this)return g(this,!0),!0}get value(){let e=this.dep.track();return w(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function eH(e,t,n=!1){let r,a;return(0,s.mf)(e)?r=e:(r=e.get,a=e.set),new eQ(r,a,n)}let eq={},eV=new WeakMap;function eW(e,t,n=s.kT){let a,i,o,u;let{immediate:c,deep:d,once:p,scheduler:m,augmentJob:h,call:g}=n,v=e=>d?e:ek(e)||!1===d||0===d?eX(e,1):eX(e),y=!1,b=!1;if(eT(e)?(i=()=>e.value,y=ek(e)):eO(e)?(i=()=>v(e),y=!0):(0,s.kJ)(e)?(b=!0,y=e.some(e=>eO(e)||ek(e)),i=()=>e.map(e=>eT(e)?e.value:eO(e)?v(e):(0,s.mf)(e)?g?g(e,2):e():void 0)):i=(0,s.mf)(e)?t?g?()=>g(e,2):e:()=>{if(o){_();try{o()}finally{E()}}let t=l;l=a;try{return g?g(e,3,[u]):e(u)}finally{l=t}}:s.dG,t&&d){let e=i,t=!0===d?1/0:d;i=()=>eX(e(),t)}let O=r,w=()=>{a.stop(),O&&O.active&&(0,s.Od)(O.effects,a)};if(p&&t){let e=t;t=(...t)=>{e(...t),w()}}let k=b?Array(e.length).fill(eq):eq,x=e=>{if(1&a.flags&&(a.dirty||e)){if(t){let e=a.run();if(d||y||(b?e.some((e,t)=>(0,s.aU)(e,k[t])):(0,s.aU)(e,k))){o&&o();let n=l;l=a;try{let n=[e,k===eq?void 0:b&&k[0]===eq?[]:k,u];k=e,g?g(t,3,n):t(...n)}finally{l=n}}}else a.run()}};
1return h&&h(x),(a=new f(i)).scheduler=m?()=>m(x,!1):x,u=e=>(function(e,t=!1,n=l){if(n){let t=eV.get(n);t||eV.set(n,t=[]),t.push(e)}})(e,!1,a),o=a.onStop=()=>{let e=eV.get(a);if(e){if(g)g(e,4);else for(let t of e)t();eV.delete(a)}},t?c?x(!0):k=a.run():m?m(x.bind(null,!0),!0):a.run(),w.pause=a.pause.bind(a),w.resume=a.resume.bind(a),w.stop=w,w}function eX(e,t=1/0,n){if(t<=0||!(0,s.Kn)(e)||e.__v_skip||((n=n||new Map).get(e)||0)>=t)return e;if(n.set(e,t),t--,eT(e))eX(e.value,t,n);else if((0,s.kJ)(e))for(let r=0;r<e.length;r++)eX(e[r],t,n);else if((0,s.DM)(e)||(0,s._N)(e))e.forEach(e=>{eX(e,t,n)});else if((0,s.PO)(e)){for(let r in e)eX(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&eX(e[r],t,n)}return e}},19614:function(e,t,n){"use strict";let r,a;n.d(t,{D2:function(){return eg},F8:function(){return $},YZ:function(){return ec},bM:function(){return eo},e8:function(){return er},iM:function(){return ef},nr:function(){return en},ri:function(){return ew},sY:function(){return eO},sj:function(){return N},uT:function(){return v},vr:function(){return ek}});var i,o=n(82589),l=n(34280);n(72909);let s="undefined"!=typeof window&&window.trustedTypes;if(s)try{a=s.createPolicy("vue",{createHTML:e=>e})}catch(e){}let u=a?e=>a.createHTML(e):e=>e,c="undefined"!=typeof document?document:null,d=c&&c.createElement("template"),p="transition",m="animation",f=Symbol("_vtc"),h={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},g=(0,l.l7)({},o.nJ,h),v=((i=(e,{slots:t})=>(0,o.h)(o.P$,function(e){let t={};for(let n in e)n in h||(t[n]=e[n]);if(!1===e.css)return t;let{name:n="v",type:r,duration:a,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:u=i,appearActiveClass:c=o,appearToClass:d=s,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if((0,l.Kn)(e))return[O(e.enter),O(e.leave)];{let t=O(e);return[t,t]}}(a),v=g&&g[0],S=g&&g[1],{onBeforeEnter:E,onEnter:A,onEnterCancelled:D,onLeave:C,onLeaveCancelled:$,onBeforeAppear:P=E,onAppear:I=A,onAppearCancelled:N=D}=t,U=(e,t,n,r)=>{e._enterCancelled=r,k(e,t?d:s),k(e,t?c:o),n&&n()},M=(e,t)=>{e._isLeaving=!1,k(e,p),k(e,f),k(e,m),t&&t()},R=e=>(t,n)=>{let a=e?I:A,o=()=>U(t,e,n);y(a,[t,o]),x(()=>{k(t,e?u:i),w(t,e?d:s),b(a)||_(t,r,v,o)})};return(0,l.l7)(t,{onBeforeEnter(e){y(E,[e]),w(e,i),w(e,o)},onBeforeAppear(e){y(P,[e]),w(e,u),w(e,c)},onEnter:R(!1),onAppear:R(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>M(e,t);w(e,p),e._enterCancelled?(w(e,m),T(e)):(T(e),w(e,m)),x(()=>{e._isLeaving&&(k(e,p),w(e,f),b(C)||_(e,r,S,n))}),y(C,[e,n])},onEnterCancelled(e){U(e,!1,void 0,!0),y(D,[e])},onAppearCancelled(e){U(e,!0,void 0,!0),y(N,[e])},onLeaveCancelled(e){M(e),y($,[e])}})}(e),t)).displayName="Transition",i.props=g,i),y=(e,t=[])=>{(0,l.kJ)(e)?e.forEach(e=>e(...t)):e&&e(...t)},b=e=>!!e&&((0,l.kJ)(e)?e.some(e=>e.length>1):e.length>1);function O(e){return(0,l.He)(e)}function w(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[f]||(e[f]=new Set)).add(t)}function k(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[f];n&&(n.delete(t),n.size||(e[f]=void 0))}function x(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let S=0;function _(e,t,n,r){let a=e._endId=++S,i=()=>{a===e._endId&&r()};if(null!=n)return setTimeout(i,n);let{type:o,timeout:l,propCount:s}=function(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),a=r(`${p}Delay`),i=r(`${p}Duration`),o=E(a,i),l=r(`${m}Delay`),s=r(`${m}Duration`),u=E(l,s),c=null,d=0,f=0;t===p?o>0&&(c=p,d=o,f=i.length):t===m?u>0&&(c=m,d=u,f=s.length):f=(c=(d=Math.max(o,u))>0?o>u?p:m:null)?c===p?i.length:s.length:0;let h=c===p&&/\b(?:transform|all)(?:,|$)/.test(r(`${p}Property`).toString());return{type:c,timeout:d,propCount:f,hasTransform:h}}(e,t);if(!o)return r();let u=o+"end",c=0,d=()=>{e.removeEventListener(u,f),i()},f=t=>{t.target===e&&++c>=s&&d()};setTimeout(()=>{c<s&&d()},l+1),e.addEventListener(u,f)}function E(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>A(t)+A(e[n])))}function A(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function T(e){return(e?e.ownerDocument:document).body.offsetHeight}let D=Symbol("_vod"),C=Symbol("_vsh"),$={name:"show",beforeMount(e,{value:t},{transition:n}){e[D]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):P(e,t)}
1,mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),P(e,!0),r.enter(e)):r.leave(e,()=>{P(e,!1)}):P(e,t))},beforeUnmount(e,{value:t}){P(e,t)}};function P(e,t){e.style.display=t?e[D]:"none",e[C]=!t}let I=Symbol("");function N(e){let t=(0,o.FN)();if(!t)return;let n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>U(e,n))},r=()=>{let r=e(t.proxy);t.ce?U(t.ce,r):function e(t,n){if(128&t.shapeFlag){let r=t.suspense;t=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{e(r.activeBranch,n)})}for(;t.component;)t=t.component.subTree;if(1&t.shapeFlag&&t.el)U(t.el,n);else if(t.type===o.HY)t.children.forEach(t=>e(t,n));else if(t.type===o.qG){let{el:e,anchor:r}=t;for(;e&&(U(e,n),e!==r);)e=e.nextSibling}}(t.subTree,r),n(r)};(0,o.Xn)(()=>{(0,o.qb)(r)}),(0,o.bv)(()=>{(0,o.YP)(r,l.dG,{flush:"post"});let e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),(0,o.Ah)(()=>e.disconnect())})}function U(e,t){if(1===e.nodeType){let n=e.style,r="";for(let e in t){let a=(0,l.vt)(t[e]);n.setProperty(`--${e}`,a),r+=`--${e}: ${a};`}n[I]=r}}let M=/(?:^|;)\s*display\s*:/,R=/\s*!important$/;function j(e,t,n){if((0,l.kJ)(n))n.forEach(n=>j(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{let r=function(e,t){let n=Z[t];if(n)return n;let r=(0,l._A)(t);if("filter"!==r&&r in e)return Z[t]=r;r=(0,l.kC)(r);for(let n=0;n<L.length;n++){let a=L[n]+r;if(a in e)return Z[t]=a}return t}(e,t);R.test(n)?e.setProperty((0,l.rs)(r),n.replace(R,""),"important"):e[r]=n}}let L=["Webkit","Moz","ms"],Z={},B="http://www.w3.org/1999/xlink";function z(e,t,n,r,a,i=(0,l.Pq)(t)){r&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(B,t.slice(6,t.length)):e.setAttributeNS(B,t,n):null==n||i&&!(0,l.yA)(n)?e.removeAttribute(t):e.setAttribute(t,i?"":(0,l.yk)(n)?String(n):n)}function F(e,t,n,r,a){if("innerHTML"===t||"textContent"===t){null!=n&&(e[t]="innerHTML"===t?u(n):n);return}let i=e.tagName;if("value"===t&&"PROGRESS"!==i&&!i.includes("-")){let r="OPTION"===i?e.getAttribute("value")||"":e.value,a=null==n?"checkbox"===e.type?"on":"":String(n);r===a&&"_value"in e||(e.value=a),null==n&&e.removeAttribute(t),e._value=n;return}let o=!1;if(""===n||null==n){let r=typeof e[t];"boolean"===r?n=(0,l.yA)(n):null==n&&"string"===r?(n="",o=!0):"number"===r&&(n=0,o=!0)}try{e[t]=n}catch(e){}o&&e.removeAttribute(a||t)}function Q(e,t,n,r){e.addEventListener(t,n,r)}let H=Symbol("_vei"),q=/(?:Once|Passive|Capture)$/,V=0,W=Promise.resolve(),X=()=>V||(W.then(()=>V=0),V=Date.now()),Y=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&123>e.charCodeAt(2);"undefined"!=typeof HTMLElement&&HTMLElement;let G=e=>{let t=e.props["onUpdate:modelValue"]||!1;return(0,l.kJ)(t)?e=>(0,l.ir)(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");function et(e,t,n){return t&&(e=e.trim()),n&&(e=(0,l.h5)(e)),e}let en={created(e,{modifiers:{lazy:t,trim:n,number:r}},a){e[ee]=G(a);let i=r||a.props&&"number"===a.props.type;Q(e,t?"change":"input",t=>{t.target.composing||e[ee](et(e.value,n,i))}),(n||i)&&Q(e,"change",()=>{e.value=et(e.value,n,i)}),t||(Q(e,"compositionstart",K),Q(e,"compositionend",J),Q(e,"change",J))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:a,number:i}},o){if(e[ee]=G(o),e.composing)return;let s=(i||"number"===e.type)&&!/^0\d/.test(e.value)?(0,l.h5)(e.value):e.value,u=null==t?"":t;if(s===u)return;let c=e.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===e&&"range"!==e.type&&(r&&t===n||a&&e.value.trim()===u)||(e.value=u)}},er={deep:!0,created(e,t,n){e[ee]=G(n),Q(e,"change",()=>{let t=e._modelValue,n=es(e),r=e.checked,a=e[ee];if((0,l.kJ)(t)){let e=(0,l.hq)(t,n),i=-1!==e;if(r&&!i)a(t.concat(n));else if(!r&&i){let n=[...t];n.splice(e,1),a(n)}}else if((0,l.DM)(t)){let e=new Set(t);r?e.add(n):e.delete(n),a(e)}else a(eu(e,r))})},mounted:ea,beforeUpdate(e,t,n){e[ee]=G(n),ea(e,t,n)}};function ea(e,{value:t,oldValue:n},r){let a;if(e._modelValue=t,(0,l.kJ)(t))a=(0,l.hq)(t,r.props.value)>-1;else if((0,l.DM)(t))a=t.has(r.props.value);else{if(t===n)return;a=(0,l.WV)(t,eu(e,!0))}e.checked!==a&&(e.checked=a)}let ei={created(e,{value:t},n){e.checked=(0,l.WV)(t,n.props.value),e[ee]=G(n),Q(e,"change",()=>{e[ee](es(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[ee]=G(r),t!==n&&(e.checked=(0,l.WV)(t,r.props.value))}},eo={deep:!0,created(e,{value:t,modifiers:{number:n}},r){let a=(0,l.DM)(t);Q(e,"change",()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?(0,l.h5)(es(e)):es(e));e[ee](e.multiple?a?new Set(t):t:t[0]),e._assigning=!0,(0,o.Y3)(()=>{e._assigning=!1})}),e[ee]=G(r)},mounted(e,{value:t}){el(e,t)},beforeUpdate(e,t,n){e[ee]=G(n)},updated(e,{value:t}){e._assigning||el(e,t)}};function el(e,t){let n=e.multiple,r=(0,l.kJ)(t);if(!n||r||(0,l.DM)(t)){for(let a=0,i=e.options.length;a<i;a++){let i=e.options[a],o=es(i);if(n){if(r){let e=typeof o;"string"===e||"number"===e?i.selected=t.some(e=>String(e)===String(o)):i.selected=(0,l.hq)(t,o)>-1}else i.selected=t.has(o)}else if((0,l.WV)(es(i),t)){e.selectedIndex!==a&&(e.selectedIndex=a);return}}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function es(e){return"_value"in e?e._value:e.value}function eu(e,t){let n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}let ec={created(e,t,n){ed(e,t,n,null,"created")},mounted(e,t,n){ed(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){ed(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){ed(e,t,n,r,"updated")}};function ed(e,t,n,r,a){let i=function(e,t){switch(e){case"SELECT":return eo;case"TEXTAREA":return en;default:switch(t){case"checkbox":return er;case"radio":return ei;default:return en}}}(e.tagName,n.props&&n.props.type)[a];i&&i(e,t,n,r)}let ep=["ctrl","shift","alt","meta"],em={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)=>
1ep.some(n=>e[`${n}Key`]&&!t.includes(n))},ef=(e,t)=>{if(!e)return e;let n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e<t.length;e++){let r=em[t[e]];if(r&&r(n,t))return}return e(n,...r)})},eh={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},eg=(e,t)=>{let n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;let r=(0,l.rs)(n.key);if(t.some(e=>e===r||eh[e]===r))return e(n)})},ev=(0,l.l7)({patchProp:(e,t,n,r,a,i)=>{let s="svg"===a;"class"===t?function(e,t,n){let r=e[f];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,s):"style"===t?function(e,t,n){let r=e.style,a=(0,l.HD)(n),i=!1;if(n&&!a){if(t){if((0,l.HD)(t))for(let e of t.split(";")){let t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&j(r,t,"")}else for(let e in t)null==n[e]&&j(r,e,"")}for(let a in n){var o;"display"===a&&(i=!0);let s=n[a];null!=s?(o=!(0,l.HD)(t)&&t?t[a]:void 0,"TEXTAREA"===e.tagName&&("width"===a||"height"===a)&&(0,l.HD)(s)&&o===s||j(r,a,s)):j(r,a,"")}}else if(a){if(t!==n){let e=r[I];e&&(n+=";"+e),r.cssText=n,i=M.test(n)}}else t&&e.removeAttribute("style");D in e&&(e[D]=i?r.display:"",e[C]&&(r.display="none"))}(e,n,r):(0,l.F7)(t)?(0,l.tR)(t)||function(e,t,n,r,a=null){let i=e[H]||(e[H]={}),s=i[t];if(r&&s)s.value=r;else{let[n,u]=function(e){let t;if(q.test(e)){let n;for(t={};n=e.match(q);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):(0,l.rs)(e.slice(2)),t]}(t);r?Q(e,n,i[t]=function(e,t){let n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();(0,o.$d)(function(e,t){if(!(0,l.kJ)(t))return t;{let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}}(e,n.value),t,5,[e])};return n.value=e,n.attached=X(),n}(r,a),u):s&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,s,u),i[t]=void 0)}}(e,t,0,r,i):("."===t[0]?(t=t.slice(1),0):"^"===t[0]?(t=t.slice(1),1):!function(e,t,n,r){if(r)return!!("innerHTML"===t||"textContent"===t||t in e&&Y(t)&&(0,l.mf)(n));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,l.HD)(n))&&t in e}(e,t,r,s))?e._isVueCE&&(function(e,t){let n=e._def.props;if(!n)return!1;let r=(0,l._A)(t);return Array.isArray(n)?n.some(e=>(0,l._A)(e)===r):Object.keys(n).some(e=>(0,l._A)(e)===r)}(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!(0,l.HD)(r)))?F(e,(0,l._A)(t),r,i,t):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),z(e,t,r,s)):(F(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||z(e,t,r,s,i,"value"!==t))}},{insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let a="svg"===t?c.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?c.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?c.createElement(e,{is:n}):c.createElement(e);return"select"===e&&r&&null!=r.multiple&&a.setAttribute("multiple",r.multiple),a},createText:e=>c.createTextNode(e),createComment:e=>c.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>
1{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>c.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,a,i){let o=n?n.previousSibling:t.lastChild;if(a&&(a===i||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),a!==i&&(a=a.nextSibling););else{d.innerHTML=u("svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e);let a=d.content;if("svg"===r||"mathml"===r){let e=a.firstChild;for(;e.firstChild;)a.appendChild(e.firstChild);a.removeChild(e)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}}),ey=!1;function eb(){return r||(r=(0,o.Us)(ev))}let eO=(...e)=>{eb().render(...e)},ew=(...e)=>{let t=eb().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=eS(e);if(!r)return;let a=t._component;(0,l.mf)(a)||a.render||a.template||(a.template=r.innerHTML),1===r.nodeType&&(r.textContent="");let i=n(r,!1,ex(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},ek=(...e)=>{let t=(r=ey?r:(0,o.Eo)(ev),ey=!0,r).createApp(...e),{mount:n}=t;return t.mount=e=>{let t=eS(e);if(t)return n(t,!0,ex(t))},t};function ex(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function eS(e){return(0,l.HD)(e)?document.querySelector(e):e}},34280:function(e,t,n){"use strict";let r;function a(e){let t=Object.create(null);for(let n of e.split(","))t[n]=1;return e=>e in t}n.d(t,{$J:function(){return X},C_:function(){return Y},DM:function(){return v},E9:function(){return F},F7:function(){return u},Gg:function(){return C},H8:function(){return en},HD:function(){return w},He:function(){return z},Kj:function(){return b},Kn:function(){return x},NO:function(){return s},Nj:function(){return Z},Od:function(){return p},PO:function(){return T},Pq:function(){return J},RI:function(){return f},S0:function(){return D},Sv:function(){return eo},W7:function(){return A},WV:function(){return el},Z6:function(){return o},_A:function(){return I},_N:function(){return g},aU:function(){return j},dG:function(){return l},fY:function(){return a},h5:function(){return B},hR:function(){return R},hq:function(){return es},ir:function(){return L},j5:function(){return H},kC:function(){return M},kJ:function(){return h},kT:function(){return i},l7:function(){return d},mf:function(){return O},oI:function(){return ea},pG:function(){return ee},rs:function(){return U},tI:function(){return S},tR:function(){return c},vs:function(){return G},vt:function(){return em},x5:function(){return er},yA:function(){return et},yk:function(){return k},yl:function(){return Q},zw:function(){return ec}});let i={},o=[],l=()=>{},s=()=>!1,u=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||97>e.charCodeAt(2)),c=e=>e.startsWith("onUpdate:"),d=Object.assign,p=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},m=Object.prototype.hasOwnProperty,f=(e,t)=>m.call(e,t),h=Array.isArray,g=e=>"[object Map]"===E(e),v=e=>"[object Set]"===E(e),y=e=>"[object Date]"===E(e),b=e=>"[object RegExp]"===E(e),O=e=>"function"==typeof e,w=e=>"string"==typeof e,k=e=>"symbol"==typeof e,x=e=>null!==e&&"object"==typeof e,S=e=>(x(e)||O(e))&&O(e.then)&&O(e.catch),_=Object.prototype.toString,E=e=>_.call(e),A=e=>E(e).slice(8,-1),T=e=>"[object Object]"===E(e),D=e=>w(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,C=a(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},P=/-\w/g,I=$(e=>e.replace(P,e=>e.slice(1).toUpperCase())),N=/\B([A-Z])/g,U=$(e=>e.replace(N,"-$1").toLowerCase()),M=$(e=>e.charAt(0).toUpperCase()+e.slice(1)),R=$(e=>e?`on${M(e)}`:""),j=(e,t)=>!Object.is(e,t),L=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Z=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},B=e=>{let t=parseFloat(e);return isNaN(t)?e:t},z=e=>{let t=w(e)?Number(e):NaN;return isNaN(t)?e:t},F=()=>r||(r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{}),Q=a("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decode
1URI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");function H(e){if(h(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],a=w(r)?function(e){let t={};return e.replace(W,"").split(q).forEach(e=>{if(e){let n=e.split(V);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(r):H(r);if(a)for(let e in a)t[e]=a[e]}return t}if(w(e)||x(e))return e}let q=/;(?![^(]*\))/g,V=/:([^]+)/,W=/\/\*[^]*?\*\//g;function X(e){if(!e)return"";if(w(e))return e;let t="";for(let n in e){let r=e[n];if(w(r)||"number"==typeof r){let e=n.startsWith("--")?n:U(n);t+=`${e}:${r};`}}return t}function Y(e){let t="";if(w(e))t=e;else if(h(e))for(let n=0;n<e.length;n++){let r=Y(e[n]);r&&(t+=r+" ")}else if(x(e))for(let n in e)e[n]&&(t+=n+" ");return t.trim()}function G(e){if(!e)return null;let{class:t,style:n}=e;return t&&!w(t)&&(e.class=Y(t)),n&&(e.style=H(n)),e}let K="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",J=a(K),ee=a(K+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function et(e){return!!e||""===e}let en=a("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"),er=a("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,radius,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,str
1ikethrough-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 ea(e){if(null==e)return!1;let t=typeof e;return"string"===t||"number"===t||"boolean"===t}let ei=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function eo(e,t){return e.replace(ei,e=>t?'"'===e?'\\\\\\"':`\\\\${e}`:`\\${e}`)}function el(e,t){if(e===t)return!0;let n=y(e),r=y(t);if(n||r)return!!n&&!!r&&e.getTime()===t.getTime();if(n=k(e),r=k(t),n||r)return e===t;if(n=h(e),r=h(t),n||r)return!!n&&!!r&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=el(e[r],t[r]);return n}(e,t);if(n=x(e),r=x(t),n||r){if(!n||!r||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let r=e.hasOwnProperty(n),a=t.hasOwnProperty(n);if(r&&!a||!r&&a||!el(e[n],t[n]))return!1}}return String(e)===String(t)}function es(e,t){return e.findIndex(e=>el(e,t))}let eu=e=>!!(e&&!0===e.__v_isRef),ec=e=>w(e)?e:null==e?"":h(e)||x(e)&&(e.toString===_||!O(e.toString))?eu(e)?ec(e.value):JSON.stringify(e,ed,2):String(e),ed=(e,t)=>eu(t)?ed(e,t.value):g(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[ep(t,r)+" =>"]=n,e),{})}:v(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>ep(e))}:k(t)?ep(t):!x(t)||h(t)||T(t)?t:String(t),ep=(e,t="")=>{var n;return k(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};function em(e){return null==e?"initial":"string"==typeof e?""===e?" ":e:("number"!=typeof e||Number.isFinite(e),String(e))}},6500:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,a=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!a&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(a)return a(e,n).value}return e[n]};e.exports=function e(){var t,n,r,a,u,c,d=arguments[0],p=1,m=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<m;++p)if(t=arguments[p],null!=t)for(n in t)r=s(d,n),d!==(a=s(t,n))&&(f&&a&&(o(a)||(u=i(a)))?(u?(u=!1,c=r&&i(r)?r:[]):c=r&&o(r)?r:{},l(d,{name:n,newValue:e(f,c,a)})):void 0!==a&&l(d,{name:n,newValue:a}));return d}},22660:function(e){class t{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function r(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}let a=e=>!!e.scope,i=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){let n=e.split(".");return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${"_".repeat(t+1)}`)].join(" ")}return`${t}${e}`};class o{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=n(e)}openNode(e){if(!a(e))return;let t=i(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){a(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}let l=(e={})=>{let t={children:[]};return Object.assign(t,e),t};class s{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.forEac
1h(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every(e=>"string"==typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{s._collapse(e)}))}}class u 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 n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}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 d(e){return f("(?=",e,")")}function p(e){return f("(?:",e,")*")}function m(e){return f("(?:",e,")?")}function f(...e){return e.map(e=>c(e)).join("")}function h(...e){return"("+(function(e){let t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e).capture?"":"?:")+e.map(e=>c(e)).join("|")+")"}function g(e){return RegExp(e.toString()+"|").exec("").length-1}let v=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function y(e,{joinWith:t}){let n=0;return e.map(e=>{let t=n+=1,r=c(e),a="";for(;r.length>0;){let e=v.exec(r);if(!e){a+=r;break}a+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?a+="\\"+String(Number(e[1])+t):(a+=e[0],"("===e[0]&&n++)}return a}).map(e=>`(${e})`).join(t)}let b="[a-zA-Z]\\w*",O="[a-zA-Z_]\\w*",w="\\b\\d+(\\.\\d+)?",k="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",x="\\b(0b[01]+)",S={begin:"\\\\[\\s\\S]",relevance:0},_=function(e,t,n={}){let a=r({scope:"comment",begin:e,end:t,contains:[]},n);a.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});
1let i=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 a.contains.push({begin:f(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),a},E=_("//","$"),A=_("/\\*","\\*/"),T=_("#","$");var D=Object.freeze({__proto__:null,APOS_STRING_MODE:{scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[S]},BACKSLASH_ESCAPE:S,BINARY_NUMBER_MODE:{scope:"number",begin:x,relevance:0},BINARY_NUMBER_RE:x,COMMENT:_,C_BLOCK_COMMENT_MODE:A,C_LINE_COMMENT_MODE:E,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:T,IDENT_RE:b,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:{begin:"\\.\\s*"+O,relevance:0},NUMBER_MODE:{scope:"number",begin:w,relevance:0},NUMBER_RE:w,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:[S]},REGEXP_MODE:{scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[S,{begin:/\[/,end:/\]/,relevance:0,contains:[S]}]},RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=f(t,/.*\b/,e.binary,/\b.*/)),r({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:{scope:"title",begin:b,relevance:0},UNDERSCORE_IDENT_RE:O,UNDERSCORE_TITLE_MODE:{scope:"title",begin:O,relevance:0}});function C(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function $(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function P(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=C,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function I(e,t){Array.isArray(e.illegal)&&(e.illegal=h(...e.illegal))}function N(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 U(e,t){void 0===e.relevance&&(e.relevance=1)}let M=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error("beforeMatch cannot be used with starts");let n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=f(n.beforeMatch,d(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},R=["of","and","for","in","not","or","if","then","parent","list","value"],j={},L=e=>{console.error(e)},Z=(e,...t)=>{console.log(`WARN: ${e}`,...t)},B=(e,t)=>{j[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),j[`${e}/${t}`]=!0)},z=Error();function F(e,t,{key:n}){let r=0,a=e[n],i={},o={};for(let e=1;e<=t.length;e++)o[e+r]=a[e],i[e+r]=!0,r+=g(t[e-1]);e[n]=o,e[n]._emit=i,e[n]._multi=!0}function Q(e){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}),function(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw L("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),z;if("object"!=typeof e.beginScope||null===e.beginScope)throw L("beginScope must be object"),z;F(e,e.begin,{key:"beginScope"}),e.begin=y(e.begin,{joinWith:""})}}(e),function(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw L("skip, excludeEnd, returnEnd not compatible with endScope: {}"),z;if("object"!=typeof e.endScope||null===e.endScope)throw L("endScope must be object"),z;F(e,e.end,{key:"endScope"}),e.end=y(e.end,{joinWith:""})}}(e)}
1class H extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}let q=Symbol("nomatch"),V=function(e){let a=Object.create(null),i=Object.create(null),o=[],l=!0,s="Could not find the language '{}', did you forget to load/include a language module?",v={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:u};function O(e){return b.noHighlightRe.test(e)}function w(e,t,n){let r="",a="";"object"==typeof t?(r=e,n=t.ignoreIllegals,a=t.language):(B("10.7.0","highlight(lang, code, ...args) has been deprecated."),B("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),a=e,r=t),void 0===n&&(n=!0);let i={code:r,language:a};j("before:highlight",i);let o=i.result?i.result:k(i.language,i.code,n);return o.code=i.code,j("after:highlight",o),o}function k(e,i,o,u){let d=Object.create(null);function p(){if(!T.keywords){C.addText(j);return}let e=0;T.keywordPatternRe.lastIndex=0;let t=T.keywordPatternRe.exec(j),n="";for(;t;){n+=j.substring(e,t.index);let r=S.case_insensitive?t[0].toLowerCase():t[0],a=T.keywords[r];if(a){let[e,i]=a;if(C.addText(n),n="",d[r]=(d[r]||0)+1,d[r]<=7&&(Z+=i),e.startsWith("_"))n+=t[0];else{let n=S.classNameAliases[e]||e;f(t[0],n)}}else n+=t[0];e=T.keywordPatternRe.lastIndex,t=T.keywordPatternRe.exec(j)}n+=j.substring(e),C.addText(n)}function m(){null!=T.subLanguage?function(){if(""===j)return;let e=null;if("string"==typeof T.subLanguage){if(!a[T.subLanguage]){C.addText(j);return}e=k(T.subLanguage,j,!0,D[T.subLanguage]),D[T.subLanguage]=e._top}else e=x(j,T.subLanguage.length?T.subLanguage:null);T.relevance>0&&(Z+=e.relevance),C.__addSublanguage(e._emitter,e.language)}():p(),j=""}function f(e,t){""!==e&&(C.startScope(t),C.addText(e),C.endScope())}function h(e,t){let n=1,r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}let r=S.classNameAliases[e[n]]||e[n],a=t[n];r?f(a,r):(j=a,p(),j=""),n++}}function v(e,t){return e.scope&&"string"==typeof e.scope&&C.openNode(S.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(f(j,S.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),j=""):e.beginScope._multi&&(h(e.beginScope,t),j="")),T=Object.create(e,{parent:{value:T}})}let O={};function w(n,r){let a=r&&r[0];if(j+=n,null==a)return m(),0;if("begin"===O.type&&"end"===r.type&&O.index===r.index&&""===a){if(j+=i.slice(r.index,r.index+1),!l){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)return function(e){let n=e[0],r=e.rule,a=new t(r);for(let t of[r.__beforeBegin,r["on:begin"]])if(t&&(t(e,a),a.isMatchIgnored))return 0===T.matcher.regexIndex?(j+=n[0],1):(F=!0,0);return r.skip?j+=n:(r.excludeBegin&&(j+=n),m(),r.returnBegin||r.excludeBegin||(j=n)),v(r,e),r.returnBegin?0:n.length}(r);if("illegal"!==r.type||o){if("end"===r.type){let e=function(e){let n=e[0],r=i.substring(e.index),a=function e(n,r,a){let i=function(e,t){let n=e&&e.exec(t);return n&&0===n.index}(n.endRe,a);if(i){if(n["on:end"]){let e=new t(n);n["on:end"](r,e),e.isMatchIgnored&&(i=!1)}if(i){for(;n.endsParent&&n.parent;)n=n.parent;return n}}if(n.endsWithParent)return e(n.parent,r,a)}(T,e,r);if(!a)return q;let o=T;T.endScope&&T.endScope._wrap?(m(),f(n,T.endScope._wrap)):T.endScope&&T.endScope._multi?(m(),h(T.endScope,e)):o.skip?j+=n:(o.returnEnd||o.excludeEnd||(j+=n),m(),o.excludeEnd&&(j=n));do T.scope&&C.closeNode(),T.skip||T.subLanguage||(Z+=T.relevance),T=T.parent;while(T!==a.parent);return a.starts&&v(a.starts,e),o.returnEnd?0:n.length}(r);if(e!==q)return e}}else{let e=Error('Illegal lexeme "'+a+'" for mode "'+(T.scope||"<unnamed>")+'"');throw e.mode=T,e}if("illegal"===r.type&&""===a)return j+="\n",1;if(z>1e5&&z>3*r.index)throw Error("potential infinite loop, way more iterations than matches");return j+=a,a.length}let S=A(e);if(!S)throw L(s.replace("{}",e)),Error('Unknown language: "'+e+'"');let _=function(e){function t(t,n){return RegExp(c(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{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+=g(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);let e=this.regexes.map(e=>e[1]);this.matcherRe=t(y(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&void 0!==e),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class a{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 n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),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 n=t.exec(e);
1if(this.resumingScanAtSamePosition()){if(n&&n.index===this.lastIndex);else{let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}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=r(e.classNameAliases||{}),function n(i,o){if(i.isCompiled)return i;[$,N,Q,M].forEach(e=>e(i,o)),e.compilerExtensions.forEach(e=>e(i,o)),i.__beforeBegin=null,[P,I,U].forEach(e=>e(i,o)),i.isCompiled=!0;let l=null;return"object"==typeof i.keywords&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),l=i.keywords.$pattern,delete i.keywords.$pattern),l=l||/\w+/,i.keywords&&(i.keywords=function e(t,n,r="keyword"){let a=Object.create(null);return"string"==typeof t?i(r,t.split(" ")):Array.isArray(t)?i(r,t):Object.keys(t).forEach(function(r){Object.assign(a,e(t[r],n,r))}),a;function i(e,t){n&&(t=t.map(e=>e.toLowerCase())),t.forEach(function(t){var n,r;let i=t.split("|");a[i[0]]=[e,(n=i[0],(r=i[1])?Number(r):R.includes(n.toLowerCase())?0:1)]})}}(i.keywords,e.case_insensitive)),i.keywordPatternRe=t(l,!0),o&&(i.begin||(i.begin=/\B|\b/),i.beginRe=t(i.begin),i.end||i.endsWithParent||(i.end=/\B|\b/),i.end&&(i.endRe=t(i.end)),i.terminatorEnd=c(i.end)||"",i.endsWithParent&&o.terminatorEnd&&(i.terminatorEnd+=(i.end?"|":"")+o.terminatorEnd)),i.illegal&&(i.illegalRe=t(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map(function(e){var t;return((t="self"===e?i:e).variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return r(t,{variants:null},e)})),t.cachedVariants)?t.cachedVariants:!function e(t){return!!t&&(t.endsWithParent||e(t.starts))}(t)?Object.isFrozen(t)?r(t):t:r(t,{starts:t.starts?r(t.starts):null})})),i.contains.forEach(function(e){n(e,i)}),i.starts&&n(i.starts,o),i.matcher=function(e){let t=new a;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(i),i}(e)}(S),E="",T=u||_,D={},C=new b.__emitter(b);!function(){let e=[];for(let t=T;t!==S;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>C.openNode(e))}();let j="",Z=0,B=0,z=0,F=!1;try{if(S.__emitTokens)S.__emitTokens(i,C);else{for(T.matcher.considerAll();;){z++,F?F=!1:T.matcher.considerAll(),T.matcher.lastIndex=B;let e=T.matcher.exec(i);if(!e)break;let t=i.substring(B,e.index),n=w(t,e);B=e.index+n}w(i.substring(B))}return C.finalize(),E=C.toHTML(),{language:e,value:E,relevance:Z,illegal:!1,_emitter:C,_top:T}}catch(t){if(t.message&&t.message.includes("Illegal"))return{language:e,value:n(i),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:B,context:i.slice(B-100,B+100),mode:t.mode,resultSoFar:E},_emitter:C};if(l)return{language:e,value:n(i),illegal:!1,relevance:0,errorRaised:t,_emitter:C,_top:T};throw t}}function x(e,t){t=t||b.languages||Object.keys(a);let r=function(e){let t={value:n(e),illegal:!1,relevance:0,_top:v,_emitter:new b.__emitter(b)};return t._emitter.addText(e),t}(e),i=t.filter(A).filter(C).map(t=>k(t,e,!1));i.unshift(r);let[o,l]=i.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;if(A(t.language).supersetOf===e.language)return -1}return 0});return o.secondBest=l,o}function S(e){let t=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";let n=b.languageDetectRe.exec(t);if(n){let t=A(n[1]);return t||(Z(s.replace("{}",n[1])),Z("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find(e=>O(e)||A(e))}(e);if(O(t))return;if(j("before:highlightElement",{el:e,language:t}),e.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);return}if(e.children.length>
10&&(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 H("One of your code blocks includes unescaped HTML.",e.innerHTML);let n=e.textContent,r=t?w(n,{language:t,ignoreIllegals:!0}):x(n);e.innerHTML=r.value,e.dataset.highlighted="yes",function(e,t,n){let r=t&&i[t]||n;e.classList.add("hljs"),e.classList.add(`language-${r}`)}(e,t,r.language),e.result={language:r.language,re:r.relevance,relevance:r.relevance},r.secondBest&&(e.secondBest={language:r.secondBest.language,relevance:r.secondBest.relevance}),j("after:highlightElement",{el:e,result:r,text:n})}let _=!1;function E(){if("loading"===document.readyState){_||window.addEventListener("DOMContentLoaded",function(){E()},!1),_=!0;return}document.querySelectorAll(b.cssSelector).forEach(S)}function A(e){return a[e=(e||"").toLowerCase()]||a[i[e]]}function T(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach(e=>{i[e.toLowerCase()]=t})}function C(e){let t=A(e);return t&&!t.disableAutodetect}function j(e,t){o.forEach(function(n){n[e]&&n[e](t)})}for(let t in Object.assign(e,{highlight:w,highlightAuto:x,highlightAll:E,highlightElement:S,highlightBlock:function(e){return B("10.7.0","highlightBlock will be removed entirely in v12.0"),B("10.7.0","Please use highlightElement now."),S(e)},configure:function(e){b=r(b,e)},initHighlighting:()=>{E(),B("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){E(),B("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(t,n){let r=null;try{r=n(e)}catch(e){if(L("Language definition for '{}' could not be registered.".replace("{}",t)),l)L(e);else throw e;r=v}r.name||(r.name=t),a[t]=r,r.rawDefinition=n.bind(null,e),r.aliases&&T(r.aliases,{languageName:t})},unregisterLanguage:function(e){for(let t of(delete a[e],Object.keys(i)))i[t]===e&&delete i[t]},listLanguages:function(){return Object.keys(a)},getLanguage:A,registerAliases:T,autoDetection:C,inherit:r,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))}),o.push(e)},removePlugin:function(e){let t=o.indexOf(e);-1!==t&&o.splice(t,1)}}),e.debugMode=function(){l=!1},e.safeMode=function(){l=!0},e.versionString="11.11.1",e.regex={concat:f,lookahead:d,either:h,optional:m,anyNumberOfTimes:p},D)"object"==typeof D[t]&&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(n=>{let r=t[n],a=typeof r;"object"!==a&&"function"!==a||Object.isFrozen(r)||e(r)}),t}(D[t]);return Object.assign(e,D),e},W=V({});W.newInstance=()=>V({}),e.exports=W,W.HighlightJS=W,W.default=W},62997:function(e,t,n){"use strict";let r;n.d(t,{q6:function(){return ec},n0:function(){return D},as:function(){return C},D0:function(){return eb},jT:function(){return j},yy:function(){return ew},r$:function(){return B},gc:function(){return T},Wl:function(){return Y},Xs:function(){return eT},f_:function(){return eD},uU:function(){return ex},Py:function(){return em},QQ:function(){return V},xv:function(){return p},YW:function(){return ef},gm:function(){return k},nZ:function(){return S},BO:function(){return ek},IS:function(){return eZ},cp:function(){return w},Gz:function(){return eB},bg:function(){return x}});let a=[],i=[];function o(e){return e>=127462&&e<=127487}function l(e,t,n){if(t==e.length)return t;t&&u(e.charCodeAt(t))&&c(e.charCodeAt(t-1))&&t--;let r=s(e,t);for(t+=d(r);t<e.length;){let l=s(e,t);if(8205==r||8205==l||n&&function(e){if(e<768)return!1;for(let t=0,n=a.length;;){let r=t+n>>1;if(e<a[r])n=r;else{if(!(e>=i[r]))return!0;t=r+1}if(t==n)return!1}}(l))t+=d(l),r=l;else if(o(l)){let n=0,r=t-2;for(;r>=0&&o(s(e,r));)n++,r-=2;if(n%2==0)break;t+=2}else break}return t}function s(e,t){let n=e.charCodeAt(t);if(!c(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return u(r)?(n-55296<<10)+(r-56320)+65536:n}function u(e){return e>=56320&&e<57344}function c(e){return e>=55296&&e<56320}function d(e){return e<65536?1:2}(()=>{let e="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,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 t=0,n=0;t<e.length;t++)(t%2?i:a).push(n+=e[t])})();class p{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,n){[e,t]=O(this,e,t);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),f.from(r,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=O(this,e,t);let n=[];return this.decompose(e,t,n,0),f.from(n,t-e)}eq(e){if(e==this)return!0;
vendor: 4,924 bytes, line 1
1if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new g(this),a=new g(e);for(let e=t,i=t;;){if(r.next(e),a.next(e),e=0,r.lineBreak!=a.lineBreak||r.done!=a.done||r.value!=a.value)return!1;if(i+=r.value.length,r.done||i>=n)return!0}}iter(e=1){return new g(this,e)}iterRange(e,t=this.length){return new v(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new y(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}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 m(e):f.from(m.split(e,[])):p.empty}}class m extends p{constructor(e,t=function(e){let t=-1;for(let n of e)t+=n.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,n,r){for(let a=0;;a++){let i=this.text[a],o=r+i.length;if((t?n:o)>=e)return new b(r,o,n,i);r=o+1,n++}}decompose(e,t,n,r){let a=e<=0&&t>=this.length?this:new m(h(this.text,[""],e,t),Math.min(t,this.length)-Math.max(0,e));if(1&r){let e=n.pop(),t=h(a.text,e.text.slice(),0,a.length);if(t.length<=32)n.push(new m(t,e.length+a.length));else{let e=t.length>>1;n.push(new m(t.slice(0,e)),new m(t.slice(e)))}}else n.push(a)}replace(e,t,n){if(!(n instanceof m))return super.replace(e,t,n);[e,t]=O(this,e,t);let r=h(this.text,h(n.text,h(this.text,[""],0,e)),t),a=this.length+n.length-(t-e);return r.length<=32?new m(r,a):f.from(m.split(r,[]),a)}sliceString(e,t=this.length,n="\n"){[e,t]=O(this,e,t);let r="";for(let a=0,i=0;a<=t&&i<this.text.length;i++){let o=this.text[i],l=a+o.length;a>e&&i&&(r+=n),e<l&&t>a&&(r+=o.slice(Math.max(0,e-a),t-a)),a=l+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],r=-1;for(let a of e)n.push(a),r+=a.length+1,32==n.length&&(t.push(new m(n,r)),n=[],r=-1);return r>-1&&t.push(new m(n,r)),t}}class f extends p{constructor(e,t){for(let n of(super(),this.children=e,this.length=t,this.lines=0,e))this.lines+=n.lines}lineInner(e,t,n,r){for(let a=0;;a++){let i=this.children[a],o=r+i.length,l=n+i.lines-1;if((t?l:o)>=e)return i.lineInner(e,t,n,r);r=o+1,n=l+1}}decompose(e,t,n,r){for(let a=0,i=0;i<=t&&a<this.children.length;a++){let o=this.children[a],l=i+o.length;if(e<=l&&t>=i){let a=r&((i<=e?1:0)|(l>=t?2:0));i>=e&&l<=t&&!a?n.push(o):o.decompose(e-i,t-i,n,a)}i=l+1}}replace(e,t,n){if([e,t]=O(this,e,t),n.lines<this.lines)for(let r=0,a=0;r<this.children.length;r++){let i=this.children[r],o=a+i.length;if(e>=a&&t<=o){let l=i.replace(e-a,t-a,n),s=this.lines-i.lines+l.lines;if(l.lines<s>>4&&l.lines>s>>6){let a=this.children.slice();return a[r]=l,new f(a,this.length-(t-e)+n.length)}return super.replace(a,o,l)}a=o+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){[e,t]=O(this,e,t);let r="";for(let a=0,i=0;a<this.children.length&&i<=t;a++){let o=this.children[a],l=i+o.length;i>e&&a&&(r+=n),e<l&&t>i&&(r+=o.sliceString(e-i,t-i,n)),i=l+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof f))return 0;let n=0,[r,a,i,o]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=t,a+=t){if(r==i||a==o)return n;let l=this.children[r],s=e.children[a];if(l!=s)return n+l.scanIdentical(s,t);n+=l.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let n=0;for(let t of e)n+=t.lines;if(n<32){let n=[];for(let t of e)t.flatten(n);return new m(n,t)}let r=Math.max(32,n>>5),a=r<<1,i=r>>1,o=[],l=0,s=-1,u=[];function c(){0!=l&&(o.push(1==u.length?u[0]:f.from(u,s)),s=-1,l=u.length=0)}for(let t of e)!function e(t){let n;if(t.lines>a&&t instanceof f)for(let n of t.children)e(n);else t.lines>i&&(l>i||!l)?(c(),o.push(t)):t instanceof m&&l&&(n=u[u.length-1])instanceof m&&t.lines+n.lines<=32?(l+=t.lines,s+=t.length+1,u[u.length-1]=new m(n.text.concat(t.text),n.length+1+t.length)):(l+t.lines>r&&c(),l+=t.lines,s+=t.length+1,u.push(t))}(t);return c(),1==o.length?o[0]:new f(o,t)}}function h(e,t,n=0,r=1e9){for(let a=0,i=0,o=!0;i<e.length&&a<=r;i++){let l=e[i],s=a+l.length;s>=n&&(s>r&&(l=l.slice(0,r-a)),a<n&&(l=l.slice(n-a)),o?(t[t.length-1]+=l,o=!1):t.push(l)),a=s+1}return t}p.empty=new m([""],0);class g{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 m?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],a=this.offsets[n],i=a>>1,o=r instanceof m?r.text.length:r.children.length;if(i==(t>0?o:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&a)==(t>
10?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(r instanceof m){let a=r.text[i+(t<0?-1:0)];if(this.offsets[n]+=t,a.length>Math.max(0,e))return this.value=0==e?a:t>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let a=r.children[i+(t<0?-1:0)];e>a.length?(e-=a.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(a),this.offsets.push(t>0?1:(a instanceof m?a.text.length:a.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class v{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new g(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}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 n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.slice(0,n),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 y{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:r}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(p.prototype[Symbol.iterator]=function(){return this.iter()},g.prototype[Symbol.iterator]=v.prototype[Symbol.iterator]=y.prototype[Symbol.iterator]=function(){return this});class b{constructor(e,t,n,r){this.from=e,this.to=t,this.number=n,this.text=r}get length(){return this.to-this.from}}function O(e,t,n){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,n))]}function w(e,t,n=!0,r=!0){return function(e,t,n=!0,r=!0){return(n?l:function(e,t,n){for(;t>0;){let r=l(e,t-2,n);if(r<t)return r;t--}return 0})(e,t,r)}(e,t,n,r)}function k(e,t){let n=e.charCodeAt(t);if(!(n>=55296&&n<56320)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return r>=56320&&r<57344?(n-55296<<10)+(r-56320)+65536:n}function x(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}function S(e){return e<65536?1:2}let _=/\r\n?|\n/;var E,A,T=((E=T||(T={}))[E.Simple=0]="Simple",E[E.TrackDel=1]="TrackDel",E[E.TrackBefore=2]="TrackBefore",E[E.TrackAfter=3]="TrackAfter",E);class D{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 n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}get empty(){return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}iterGaps(e){for(let t=0,n=0,r=0;t<this.sections.length;){let a=this.sections[t++],i=this.sections[t++];i<0?(e(n,r,a),r+=a):r+=i,n+=a}}iterChangedRanges(e,t=!1){I(this,e,t)}get invertedDesc(){let e=[];for(let t=0;t<this.sections.length;){let n=this.sections[t++],r=this.sections[t++];r<0?e.push(n,r):e.push(r,n)}return new D(e)}composeDesc(e){return this.empty?e:e.empty?this:U(this,e)}mapDesc(e,t=!1){return e.empty?this:N(this,e,t)}mapPos(e,t=-1,n=T.Simple){let r=0,a=0;for(let i=0;i<this.sections.length;){let o=this.sections[i++],l=this.sections[i++],s=r+o;if(l<0){if(s>e)return a+(e-r);a+=o}else{if(n!=T.Simple&&s>=e&&(n==T.TrackDel&&r<e&&s>e||n==T.TrackBefore&&r<e||n==T.TrackAfter&&s>e))return null;if(s>e||s==e&&t<0&&!o)return e==r||t<0?a:a+l;a+=l}r=s}if(e>r)throw RangeError(`Position ${e} is out of range for changeset of length ${r}`);return a}touchesRange(e,t=e){for(let n=0,r=0;n<this.sections.length&&r<=t;){let a=this.sections[n++],i=this.sections[n++],o=r+a;if(i>=0&&r<=t&&o>=e)return!(r<e)||!(o>t)||"cover";r=o}return!1}toString(){let e="";for(let t=0;t<this.sections.length;){let n=this.sections[t++],r=this.sections[t++];e+=(e?" ":"")+n+(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 D(e)}static create(e){return new D(e)}}class C extends D{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 I(this,(t,n,r,a,i)=>e=e.replace(r,r+(n-t),i),!1),e}
1mapDesc(e,t=!1){return N(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let r=0,a=0;r<t.length;r+=2){let i=t[r],o=t[r+1];if(o>=0){t[r]=o,t[r+1]=i;let l=r>>1;for(;n.length<l;)n.push(p.empty);n.push(i?e.slice(a,a+i):p.empty)}a+=i}return new C(t,n)}compose(e){return this.empty?e:e.empty?this:U(this,e,!0)}map(e,t=!1){return e.empty?this:N(this,e,t,!0)}iterChanges(e,t=!1){I(this,e,t)}get desc(){return D.create(this.sections)}filter(e){let t=[],n=[],r=[],a=new M(this);e:for(let i=0,o=0;;){let l=i==e.length?1e9:e[i++];for(;o<l||o==l&&0==a.len;){if(a.done)break e;let e=Math.min(a.len,l-o);$(r,e,-1);let i=-1==a.ins?-1:0==a.off?a.ins:0;$(t,e,i),i>0&&P(n,t,a.text),a.forward(e),o+=e}let s=e[i++];for(;o<s;){if(a.done)break e;let e=Math.min(a.len,s-o);$(t,e,-1),$(r,e,-1==a.ins?-1:0==a.off?a.ins:0),a.forward(e),o+=e}}return{changes:new C(t,n),filtered:D.create(r)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t],r=this.sections[t+1];r<0?e.push(n):0==r?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))}return e}static of(e,t,n){let r=[],a=[],i=0,o=null;function l(e=!1){if(!e&&!r.length)return;i<t&&$(r,t-i,-1);let n=new C(r,a);o=o?o.compose(n.map(o)):n,r=[],a=[],i=0}return!function e(s){if(Array.isArray(s))for(let t of s)e(t);else if(s instanceof C){if(s.length!=t)throw RangeError(`Mismatched change set length (got ${s.length}, expected ${t})`);l(),o=o?o.compose(s.map(o)):s}else{let{from:e,to:o=e,insert:u}=s;if(e>o||e<0||o>t)throw RangeError(`Invalid change range ${e} to ${o} (in doc of length ${t})`);let c=u?"string"==typeof u?p.of(u.split(n||_)):u:p.empty,d=c.length;if(e==o&&0==d)return;e<i&&l(),e>i&&$(r,e-i,-1),$(r,o-e,d),P(a,r,c),i=o}}(e),l(!o),o}static empty(e){return new C(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let r=0;r<e.length;r++){let a=e[r];if("number"==typeof a)t.push(a,-1);else if(!Array.isArray(a)||"number"!=typeof a[0]||a.some((e,t)=>t&&"string"!=typeof e))throw RangeError("Invalid JSON representation of ChangeSet");else if(1==a.length)t.push(a[0],0);else{for(;n.length<r;)n.push(p.empty);n[r]=p.of(a.slice(1)),t.push(a[0],n[r].length)}}return new C(t,n)}static createSet(e,t){return new C(e,t)}}function $(e,t,n,r=!1){if(0==t&&n<=0)return;let a=e.length-2;a>=0&&n<=0&&n==e[a+1]?e[a]+=t:a>=0&&0==t&&0==e[a]?e[a+1]+=n:r?(e[a]+=t,e[a+1]+=n):e.push(t,n)}function P(e,t,n){if(0==n.length)return;let r=t.length-2>>1;if(r<e.length)e[e.length-1]=e[e.length-1].append(n);else{for(;e.length<r;)e.push(p.empty);e.push(n)}}function I(e,t,n){let r=e.inserted;for(let a=0,i=0,o=0;o<e.sections.length;){let l=e.sections[o++],s=e.sections[o++];if(s<0)a+=l,i+=l;else{let u=a,c=i,d=p.empty;for(;u+=l,c+=s,s&&r&&(d=d.append(r[o-2>>1])),!n&&o!=e.sections.length&&!(e.sections[o+1]<0);)l=e.sections[o++],s=e.sections[o++];t(a,u,i,c,d),a=u,i=c}}}function N(e,t,n,r=!1){let a=[],i=r?[]:null,o=new M(e),l=new M(t);for(let e=-1;;){if(o.done&&l.len||l.done&&o.len)throw Error("Mismatched change set lengths");if(-1==o.ins&&-1==l.ins){let e=Math.min(o.len,l.len);$(a,e,-1),o.forward(e),l.forward(e)}else if(l.ins>=0&&(o.ins<0||e==o.i||0==o.off&&(l.len<o.len||l.len==o.len&&!n))){let t=l.len;for($(a,l.ins,-1);t;){let n=Math.min(o.len,t);o.ins>=0&&e<o.i&&o.len<=n&&($(a,0,o.ins),i&&P(i,a,o.text),e=o.i),o.forward(n),t-=n}l.next()}else if(o.ins>=0){let t=0,n=o.len;for(;n;)if(-1==l.ins){let e=Math.min(n,l.len);t+=e,n-=e,l.forward(e)}else if(0==l.ins&&l.len<n)n-=l.len,l.next();else break;$(a,t,e<o.i?o.ins:0),i&&e<o.i&&P(i,a,o.text),e=o.i,o.forward(o.len-n)}else if(o.done&&l.done)return i?C.createSet(a,i):D.create(a);else throw Error("Mismatched change set lengths")}}function U(e,t,n=!1){let r=[],a=n?[]:null,i=new M(e),o=new M(t);for(let e=!1;;){if(i.done&&o.done)return a?C.createSet(r,a):D.create(r);if(0==i.ins)$(r,i.len,0,e),i.next();else if(0!=o.len||o.done){if(i.done||o.done)throw Error("Mismatched change set lengths");{let t=Math.min(i.len2,o.len),n=r.length;if(-1==i.ins){let n=-1==o.ins?-1:o.off?0:o.ins;$(r,t,n,e),a&&n&&P(a,r,o.text)}else -1==o.ins?($(r,i.off?0:i.len,t,e),a&&P(a,r,i.textBit(t))):($(r,i.off?0:i.len,o.off?0:o.ins,e),a&&!o.off&&P(a,r,o.text));e=(i.ins>t||o.ins>=0&&o.len>t)&&(e||r.length>n),i.forward2(t),o.forward(t)}}else $(r,0,o.ins,e),a&&P(a,r,o.text),o.next()}}class M{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?p.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?p.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}
1forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class R{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}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 bidiLevel(){let e=7&this.flags;return 7==e?null:e}get goalColumn(){let e=this.flags>>6;return 16777215==e?void 0:e}map(e,t=-1){let n,r;return this.empty?n=r=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new R(n,r,this.flags)}extend(e,t=e,n=0){if(e<=this.anchor&&t>=this.anchor)return j.range(e,t,void 0,void 0,n);let r=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return j.range(this.anchor,r,void 0,void 0,n)}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 j.range(e.anchor,e.head)}static create(e,t,n){return new R(e,t,n)}}class j{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:j.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;n<this.ranges.length;n++)if(!this.ranges[n].eq(e.ranges[n],t))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return 1==this.ranges.length?this:new j([this.main],0)}addRange(e,t=!0){return j.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let n=this.ranges.slice();return n[t]=e,j.create(n,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 j(e.ranges.map(e=>R.fromJSON(e)),e.main)}static single(e,t=e){return new j([j.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw RangeError("A selection needs at least one range");for(let n=0,r=0;r<e.length;r++){let a=e[r];if(a.empty?a.from<=n:a.from<n)return j.normalized(e.slice(),t);n=a.to}return new j(e,t)}static cursor(e,t=0,n,r){return R.create(e,e,(0==t?0:t<0?8:16)|(null==n?7:Math.min(6,n))|(null!=r?r:16777215)<<6)}static range(e,t,n,r,a){let i=(null!=n?n:16777215)<<6|(null==r?7:Math.min(6,r));return a||e==t||(a=t<e?1:-1),t<e?R.create(t,e,48|i):R.create(e,t,(a?a<0?8:16:0)|i)}static normalized(e,t=0){let n=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(n);for(let n=1;n<e.length;n++){let r=e[n],a=e[n-1];if(r.empty?r.from<=a.to:r.from<a.to){let i=a.from,o=Math.max(r.to,a.to);n<=t&&t--,e.splice(--n,2,r.anchor>r.head?j.range(o,i):j.range(i,o))}}return new j(e,t)}}function L(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError("Selection points outside of document")}let Z=0;class B{constructor(e,t,n,r,a){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=Z++,this.default=e([]),this.extensions="function"==typeof a?a(this):a}get reader(){return this}static define(e={}){return new B(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:z),!!e.static,e.enables)}of(e){return new F([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new F(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new F(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function z(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class F{constructor(e,t,n,r){this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=Z++}dynamicSlot(e){var t;let n=this.value,r=this.facet.compareInput,a=this.id,i=e[a]>>1,o=2==this.type,l=!1,s=!1,u=[];for(let n of this.dependencies)"doc"==n?l=!0:"selection"==n?s=!0:((null!==(t=e[n.id])&&void 0!==t?t:1)&1)==0&&u.push(e[n.id]);return{create:e=>(e.values[i]=n(e),1),update(e,t){if(l&&t.docChanged||s&&(t.docChanged||t.selection)||H(e,u)){let t=n(e);if(o?!Q(t,e.values[i],r):!r(t,e.values[i]))return e.values[i]=t,1}return 0},reconfigure:(e,t)=>
1{let l,s=t.config.address[a];if(null!=s){let a=en(t,s);if(this.dependencies.every(n=>n instanceof B?t.facet(n)===e.facet(n):!(n instanceof V)||t.field(n,!1)==e.field(n,!1))||(o?Q(l=n(e),a,r):r(l=n(e),a)))return e.values[i]=a,0}else l=n(e);return e.values[i]=l,1}}}}function Q(e,t,n){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function H(e,t){let n=!1;for(let r of t)1&et(e,r)&&(n=!0);return n}let q=B.define({static:!0});class V{constructor(e,t,n,r,a){this.id=e,this.createF=t,this.updateF=n,this.compareF=r,this.spec=a,this.provides=void 0}static define(e){let t=new V(Z++,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(q).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,n)=>{let r=e.values[t],a=this.updateF(r,n);return this.compareF(r,a)?0:(e.values[t]=a,1)},reconfigure:(e,n)=>{let r=e.facet(q),a=n.facet(q),i;return(i=r.find(e=>e.field==this))&&i!=a.find(e=>e.field==this)?(e.values[t]=i.create(e),1):null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}}init(e){return[this,q.of({field:this,create:e})]}get extension(){return this}}let W={lowest:4,low:3,default:2,high:1,highest:0};function X(e){return t=>new G(t,e)}let Y={highest:X(W.highest),high:X(W.high),default:X(W.default),low:X(W.low),lowest:X(W.lowest)};class G{constructor(e,t){this.inner=e,this.prec=t}}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}}class ee{constructor(e,t,n,r,a,i){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=a,this.facets=i,this.statusTemplate=[];this.statusTemplate.length<n.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,n){let r,a,i=[],o=Object.create(null),l=new Map;for(let n of(r=[[],[],[],[],[]],a=new Map,!function e(n,i){let o=a.get(n);if(null!=o){if(o<=i)return;let e=r[o].indexOf(n);e>-1&&r[o].splice(e,1),n instanceof J&&l.delete(n.compartment)}if(a.set(n,i),Array.isArray(n))for(let t of n)e(t,i);else if(n instanceof J){if(l.has(n.compartment))throw RangeError("Duplicate use of compartment in extensions");let r=t.get(n.compartment)||n.inner;l.set(n.compartment,r),e(r,i)}else if(n instanceof G)e(n.inner,n.prec);else if(n instanceof V)r[i].push(n),n.provides&&e(n.provides,i);else if(n instanceof F)r[i].push(n),n.facet.extensions&&e(n.facet.extensions,W.default);else{let t=n.extension;if(!t)throw Error(`Unrecognized extension value in extension set (${n}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(t,i)}}(e,W.default),r.reduce((e,t)=>e.concat(t))))n instanceof V?i.push(n):(o[n.facet.id]||(o[n.facet.id]=[])).push(n);let s=Object.create(null),u=[],c=[];for(let e of i)s[e.id]=c.length<<1,c.push(t=>e.slot(t));let d=null==n?void 0:n.config.facets;for(let e in o){let t=o[e],r=t[0].facet,a=d&&d[e]||[];if(t.every(e=>0==e.type)){if(s[r.id]=u.length<<1|1,z(a,t))u.push(n.facet(r));else{let e=r.combine(t.map(e=>e.value));u.push(n&&r.compare(e,n.facet(r))?n.facet(r):e)}}else{for(let e of t)0==e.type?(s[e.id]=u.length<<1|1,u.push(e.value)):(s[e.id]=c.length<<1,c.push(t=>e.dynamicSlot(t)));s[r.id]=c.length<<1,c.push(e=>(function(e,t,n){let r=n.map(t=>e[t.id]),a=n.map(e=>e.type),i=r.filter(e=>!(1&e)),o=e[t.id]>>1;function l(e){let n=[];for(let t=0;t<r.length;t++){let i=en(e,r[t]);if(2==a[t])for(let e of i)n.push(e);else n.push(i)}return t.combine(n)}return{create(e){for(let t of r)et(e,t);return e.values[o]=l(e),1},update(e,n){if(!H(e,i))return 0;let r=l(e);return t.compare(r,e.values[o])?0:(e.values[o]=r,1)},reconfigure(e,a){let i=H(e,r),s=a.config.facets[t.id],u=a.facet(t);if(s&&!i&&z(n,s))return e.values[o]=u,0;let c=l(e);return t.compare(c,u)?(e.values[o]=u,0):(e.values[o]=c,1)}}})(e,r,t))}}return new ee(e,l,c.map(e=>e(s)),s,u,o)}}function et(e,t){if(1&t)return 2;let n=t>>1,r=e.status[n];if(4==r)throw Error("Cyclic dependency between fields and/or facets");if(2&r)return r;e.status[n]=4;let a=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|a}function en(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}let er=B.define(),ea=B.define({combine:e=>e.some(e=>e),static:!0}),ei=B.define({combine:e=>e.length?e[0]:void 0,static:!0}),eo=B.define(),el=B.define(),es=B.define(),eu=B.define({combine:e=>!!e.length&&e[0]});class ec{constructor(e,t){this.type=e,this.value=t}static define(){return new ed}}class ed{of(e){return new ec(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}
1map(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 n=[];for(let r of e){let e=r.map(t);e&&n.push(e)}return n}}em.reconfigure=em.define(),em.appendConfig=em.define();class ef{constructor(e,t,n,r,a,i){this.startState=e,this.changes=t,this.selection=n,this.effects=r,this.annotations=a,this.scrollIntoView=i,this._doc=null,this._state=null,n&&L(n,t.newLength),a.some(e=>e.type==ef.time)||(this.annotations=a.concat(ef.time.of(Date.now())))}static create(e,t,n,r,a,i){return new ef(e,t,n,r,a,i)}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(ef.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function eh(e,t,n){var r;let a,i,o;return n?(a=t.changes,i=C.empty(t.changes.length),o=e.changes.compose(t.changes)):(a=t.changes.map(e.changes),i=e.changes.mapDesc(t.changes,!0),o=e.changes.compose(a)),{changes:o,selection:t.selection?t.selection.map(i):null===(r=e.selection)||void 0===r?void 0:r.map(a),effects:em.mapEffects(e.effects,a).concat(em.mapEffects(t.effects,i)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function eg(e,t,n){let r=t.selection,a=ey(t.annotations);return t.userEvent&&(a=a.concat(ef.userEvent.of(t.userEvent))),{changes:t.changes instanceof C?t.changes:C.of(t.changes||[],n,e.facet(ei)),selection:r&&(r instanceof j?r:j.single(r.anchor,r.head)),effects:ey(t.effects),annotations:a,scrollIntoView:!!t.scrollIntoView}}ef.time=ec.define(),ef.userEvent=ec.define(),ef.addToHistory=ec.define(),ef.remote=ec.define();let ev=[];function ey(e){return null==e?ev:Array.isArray(e)?e:[e]}var eb=((A=eb||(eb={}))[A.Word=0]="Word",A[A.Space=1]="Space",A[A.Other=2]="Other",A);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 ew{constructor(e,t,n,r,a,i){this.config=e,this.doc=t,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=a,i&&(i._state=this);for(let e=0;e<this.config.dynamicSlots.length;e++)et(this,e<<1);this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id];if(null==n){if(t)throw RangeError("Field is not present in this state");return}return et(this,n),en(this,n)}update(...e){return function e(t,n,r){let a=eg(t,n.length?n[0]:{},t.doc.length);n.length&&!1===n[0].filter&&(r=!1);for(let e=1;e<n.length;e++){!1===n[e].filter&&(r=!1);let i=!!n[e].sequential;a=eh(a,eg(t,n[e],i?a.changes.newLength:t.doc.length),i)}let i=ef.create(t,a.changes,a.selection,a.effects,a.annotations,a.scrollIntoView);return function(e){let t=e.startState,n=t.facet(es),r=e;for(let a=n.length-1;a>=0;a--){let i=n[a](e);i&&Object.keys(i).length&&(r=eh(r,eg(t,i,e.changes.newLength),!0))}return r==e?e:ef.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}(r?function(t){let n=t.startState,r=!0;for(let e of n.facet(eo)){let n=e(t);if(!1===n){r=!1;break}Array.isArray(n)&&(r=!0===r?n:function(e,t){let n=[];for(let r=0,a=0;;){let i,o;if(r<e.length&&(a==t.length||t[a]>=e[r]))i=e[r++],o=e[r++];else{if(!(a<t.length))return n;i=t[a++],o=t[a++]}!n.length||n[n.length-1]<i?n.push(i,o):n[n.length-1]<o&&(n[n.length-1]=o)}}(r,n))}if(!0!==r){let e,a;if(!1===r)a=t.changes.invertedDesc,e=C.empty(n.doc.length);else{let n=t.changes.filter(r);e=n.changes,a=n.filtered.mapDesc(n.changes).invertedDesc}t=ef.create(n,e,t.selection&&t.selection.map(a),em.mapEffects(t.effects,a),t.annotations,t.scrollIntoView)}let a=n.facet(el);for(let r=a.length-1;r>=0;r--){let i=a[r](t);t=i instanceof ef?i:Array.isArray(i)&&1==i.length&&i[0]instanceof ef?i[0]:e(n,ey(i),!1)}return t}(i):i)}(this,e,!0)}applyTransaction(e){let t,n=this.config,{base:r,compartments:a}=n;for(let t of e.effects)t.is(K.reconfigure)?(n&&(a=new Map,n.compartments.forEac
1h((e,t)=>a.set(t,e)),n=null),a.set(t.value.compartment,t.value.extension)):t.is(em.reconfigure)?(n=null,r=t.value):t.is(em.appendConfig)&&(n=null,r=ey(r).concat(t.value));t=n?e.startState.values.slice():new ew(n=ee.resolve(r,a,this),this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values;let i=e.startState.facet(ea)?e.newSelection:e.newSelection.asSingle();new ew(n,e.newDoc,i,t,(t,n)=>n.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:j.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),a=[n.range],i=ey(n.effects);for(let n=1;n<t.ranges.length;n++){let o=e(t.ranges[n]),l=this.changes(o.changes),s=l.map(r);for(let e=0;e<n;e++)a[e]=a[e].map(s);let u=r.mapDesc(l,!0);a.push(o.range.map(u)),r=r.compose(s),i=em.mapEffects(i,s).concat(em.mapEffects(ey(o.effects),u))}return{changes:r,selection:j.create(a,t.mainIndex),effects:i}}changes(e=[]){return e instanceof C?e:C.of(e,this.doc.length,this.facet(ew.lineSeparator))}toText(e){return p.of(e.split(this.facet(ew.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),en(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){let r=e[n];r instanceof V&&null!=this.config.address[r.id]&&(t[n]=r.spec.toJSON(this.field(e[n]),this))}return t}static fromJSON(e,t={},n){if(!e||"string"!=typeof e.doc)throw RangeError("Invalid JSON representation for EditorState");let r=[];if(n){for(let t in n)if(Object.prototype.hasOwnProperty.call(e,t)){let a=n[t],i=e[t];r.push(a.init(e=>a.spec.fromJSON(i,e)))}}return ew.create({doc:e.doc,selection:j.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=ee.resolve(e.extensions||[],new Map),n=e.doc instanceof p?e.doc:p.of((e.doc||"").split(t.staticFacet(ew.lineSeparator)||_)),r=e.selection?e.selection instanceof j?e.selection:j.single(e.selection.anchor,e.selection.head):j.single(0);return L(r,n.length),t.staticFacet(ea)||(r=r.asSingle()),new ew(t,n,r,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(ew.tabSize)}get lineBreak(){return this.facet(ew.lineSeparator)||"\n"}get readOnly(){return this.facet(eu)}phrase(e,...t){for(let t of this.facet(ew.phrases))if(Object.prototype.hasOwnProperty.call(t,e)){e=t[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,n)=>{if("$"==n)return"$";let r=+(n||1);return!r||r>t.length?e:t[r-1]})),e}languageDataAt(e,t,n=-1){let r=[];for(let a of this.facet(er))for(let i of a(this,t,n))Object.prototype.hasOwnProperty.call(i,e)&&r.push(i[e]);return r}charCategorizer(e){var t;let n=this.languageDataAt("wordChars",e);return t=n.length?n[0]:"",e=>{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 n=e[t];if(/\w/.test(n)||n>"\x80"&&(n.toUpperCase()!=n.toLowerCase()||eO.test(n)))return!0}return!1}(e))return eb.Word;for(let n=0;n<t.length;n++)if(e.indexOf(t[n])>-1)return eb.Word;return eb.Other}}wordAt(e){let{text:t,from:n,length:r}=this.doc.lineAt(e),a=this.charCategorizer(e),i=e-n,o=e-n;for(;i>0;){let e=w(t,i,!1);if(a(t.slice(e,i))!=eb.Word)break;i=e}for(;o<r;){let e=w(t,o);if(a(t.slice(o,e))!=eb.Word)break;o=e}return i==o?null:j.range(i+n,o+n)}}function ek(e,t,n={}){let r={};for(let t of e)for(let e of Object.keys(t)){let a=t[e],i=r[e];if(void 0===i)r[e]=a;else if(i===a||void 0===a);else if(Object.hasOwnProperty.call(n,e))r[e]=n[e](i,a);else throw Error("Config merge conflict for field "+e)}for(let e in t)void 0===r[e]&&(r[e]=t[e]);return r}ew.allowMultipleSelections=ea,ew.tabSize=B.define({combine:e=>e.length?e[0]:4}),ew.lineSeparator=ei,ew.readOnly=eu,ew.phrases=B.define({compare(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every(n=>e[n]==t[n])}}),ew.languageData=er,ew.changeFilter=eo,ew.transactionFilter=el,ew.transactionExtender=es,K.reconfigure=em.define();class ex{eq(e){return this==e}range(e,t=e){return e_.create(e,t,this)}}function eS(e,t){return e==t||e.constructor==t.constructor&&e.eq(t)}ex.prototype.startSide=ex.prototype.endSide=0,ex.prototype.point=!1,ex.prototype.mapM
vendor: 10,081 bytes, line 1
1ode=T.TrackDel;class e_{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new e_(e,t,n)}}function eE(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class eA{constructor(e,t,n,r){this.from=e,this.to=t,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,r=0){let a=n?this.to:this.from;for(let i=r,o=a.length;;){if(i==o)return i;let r=i+o>>1,l=a[r]-e||(n?this.value[r].endSide:this.value[r].startSide)-t;if(r==i)return l>=0?i:o;l>=0?o=r:i=r+1}}between(e,t,n,r){for(let a=this.findIndex(t,-1e9,!0),i=this.findIndex(n,1e9,!1,a);a<i;a++)if(!1===r(this.from[a]+e,this.to[a]+e,this.value[a]))return!1}map(e,t){let n=[],r=[],a=[],i=-1,o=-1;for(let l=0;l<this.value.length;l++){let s=this.value[l],u=this.from[l]+e,c=this.to[l]+e,d,p;if(u==c){let e=t.mapPos(u,s.startSide,s.mapMode);if(null==e||(d=p=e,s.startSide!=s.endSide&&(p=t.mapPos(u,s.endSide))<d))continue}else if((d=t.mapPos(u,s.startSide))>(p=t.mapPos(c,s.endSide))||d==p&&s.startSide>0&&s.endSide<=0)continue;0>(p-d||s.endSide-s.startSide)||(i<0&&(i=d),s.point&&(o=Math.max(o,p-d)),n.push(s),r.push(d-i),a.push(p-i))}return{mapped:n.length?new eA(r,a,n,o):null,pos:i}}}class eT{constructor(e,t,n,r){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}static create(e,t,n,r){return new eT(e,t,n,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:n=!1,filterFrom:r=0,filterTo:a=this.length}=e,i=e.filter;if(0==t.length&&!i)return this;if(n&&(t=t.slice().sort(eE)),this.isEmpty)return t.length?eT.of(t):this;let o=new e$(this,null,-1).goto(0),l=0,s=[],u=new eD;for(;o.value||l<t.length;)if(l<t.length&&(o.from-t[l].from||o.startSide-t[l].value.startSide)>=0){let e=t[l++];u.addInner(e.from,e.to,e.value)||s.push(e)}else 1==o.rangeIndex&&o.chunkIndex<this.chunk.length&&(l==t.length||this.chunkEnd(o.chunkIndex)<t[l].from)&&(!i||r>this.chunkEnd(o.chunkIndex)||a<this.chunkPos[o.chunkIndex])&&u.addChunk(this.chunkPos[o.chunkIndex],this.chunk[o.chunkIndex])?o.nextChunk():((!i||r>o.to||a<o.from||i(o.from,o.to,o.value))&&!u.addInner(o.from,o.to,o.value)&&s.push(e_.create(o.from,o.to,o.value)),o.next());return u.finishInner(this.nextLayer.isEmpty&&!s.length?eT.empty:this.nextLayer.update({add:s,filter:i,filterFrom:r,filterTo:a}))}map(e){if(e.empty||this.isEmpty)return this;let t=[],n=[],r=-1;for(let a=0;a<this.chunk.length;a++){let i=this.chunkPos[a],o=this.chunk[a],l=e.touchesRange(i,i+o.length);if(!1===l)r=Math.max(r,o.maxPoint),t.push(o),n.push(e.mapPos(i));else if(!0===l){let{mapped:a,pos:l}=o.map(i,e);a&&(r=Math.max(r,a.maxPoint),t.push(a),n.push(l))}}let a=this.nextLayer.map(e);return 0==t.length?a:new eT(n,t,a||eT.empty,r)}between(e,t,n){if(!this.isEmpty){for(let r=0;r<this.chunk.length;r++){let a=this.chunkPos[r],i=this.chunk[r];if(t>=a&&e<=a+i.length&&!1===i.between(a,e-a,t-a,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return eP.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return eP.from(e).goto(t)}static compare(e,t,n,r,a=-1){let i=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=a),o=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=a),l=eC(i,o,n),s=new eN(i,l,a),u=new eN(o,l,a);n.iterGaps((e,t,n)=>eU(s,e,u,t,n,r)),n.empty&&0==n.length&&eU(s,0,u,0,0,r)}static eq(e,t,n=0,r){null==r&&(r=999999999);let a=e.filter(e=>!e.isEmpty&&0>t.indexOf(e)),i=t.filter(t=>!t.isEmpty&&0>e.indexOf(t));if(a.length!=i.length)return!1;if(!a.length)return!0;let o=eC(a,i),l=new eN(a,o,0).goto(n),s=new eN(i,o,0).goto(n);for(;;){if(l.to!=s.to||!eM(l.active,s.active)||l.point&&(!s.point||!eS(l.point,s.point)))return!1;if(l.to>r)return!0;l.next(),s.next()}}static spans(e,t,n,r,a=-1){let i=new eN(e,null,a).goto(t),o=t,l=i.openStart;for(;;){let e=Math.min(i.to,n);if(i.point){let n=i.activeForPoint(i.to),a=i.pointFrom<t?n.length+1:i.point.startSide<0?n.length:Math.min(n.length,l);r.point(o,e,i.point,n,a,i.pointRank),l=Math.min(i.openEnd(e),n.length)}else e>o&&(r.span(o,e,i.active,l),l=i.openEnd(e));if(i.to>n)return l+(i.point&&i.to>n?1:0);o=i.to,i.next()}}static of(e,t=!1){let n=new eD;for(let r of e instanceof e_?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let r=e[n];if(eE(t,r)>0)return e.slice().sort(eE);t=r}return e}(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return eT.empty;let t=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=eT.empty;r=r.nextLayer)t=new eT(r.chunkPos,r.chunk,t,Math.max(r.maxPoint,t.maxPoint));return t}}eT.empty=new eT([],[],null,-1),eT.empty.nextLayer=eT.empty;class eD{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,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new eD)).add(e,t,n)}addInner(e,t,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&0>(e-this.lastFrom||n.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=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.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 n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(eT.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=eT.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function eC(e,t,n){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 a=new Set;for(let e of t)for(let t=0;t<e.chunk.length;t++){let i=r.get(e.chunk[t]);null==i||(n?n.mapPos(i):i)!=e.chunkPos[t]||(null==n?void 0:n.touchesRange(i,i+e.chunk[t].length))||a.add(e.chunk[t])}return a}class e${constructor(e,t,n,r=0){this.layer=e,this.skip=t,this.minPoint=n,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,n){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++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let r=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!n||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}{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,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 eP{constructor(e){this.heap=e}static from(e,t=null,n=-1){let r=[];for(let a=0;a<e.length;a++)for(let i=e[a];!i.isEmpty;i=i.nextLayer)i.maxPoint>=n&&r.push(new e$(i,t,n,a));return 1==r.length?r[0]:new eP(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let e=this.heap.length>>1;e>=0;e--)eI(this.heap,e);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)eI(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(),eI(this.heap,0)}}}function eI(e,t){for(let n=e[t];;){let r=(t<<1)+1;if(r>=e.length)break;let a=e[r];if(r+1<e.length&&a.compare(e[r+1])>=0&&(a=e[r+1],r++),0>n.compare(a))break;e[r]=n,e[t]=a,t=r}}class eN{constructor(e,t,n){this.minPoint=n,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=eP.from(e,t,n)}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){eR(this.active,e),eR(this.activeTo,e),eR(this.activeRank,e),this.minActive=eL(this.active,this.activeTo)}
1addActive(e){let t=0,{value:n,to:r,rank:a}=this.cursor;for(;t<this.activeRank.length&&(a-this.activeRank[t]||r-this.activeTo[t])>0;)t++;ej(this.active,t,n),ej(this.activeTo,t,r),ej(this.activeRank,t,a),e&&ej(e,t,this.cursor.from),this.minActive=eL(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=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),n&&eR(n,r)}else if(this.cursor.value){if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{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(n),this.cursor.next()}}else{this.to=this.endSide=1e9;break}}if(n){this.openStart=0;for(let t=n.length-1;t>=0&&n[t]<e;t--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function eU(e,t,n,r,a,i){e.goto(t),n.goto(r);let o=r+a,l=r,s=r-t,u=!!i.boundChange;for(let t=!1;;){let r=e.to+s-n.to,a=r||e.endSide-n.endSide,c=a<0?e.to+s:n.to,d=Math.min(c,o);if(e.point||n.point?(e.point&&n.point&&eS(e.point,n.point)&&eM(e.activeForPoint(e.to),n.activeForPoint(n.to))||i.comparePoint(l,d,e.point,n.point),t=!1):(t&&i.boundChange(l),d>l&&!eM(e.active,n.active)&&i.compareRange(l,d,e.active,n.active),u&&d<o&&(r||e.openEnd(c)!=n.openEnd(c))&&(t=!0)),c>o)break;l=c,a<=0&&e.next(),a>=0&&n.next()}}function eM(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n]&&!eS(e[n],t[n]))return!1;return!0}function eR(e,t){for(let n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}function ej(e,t,n){for(let n=e.length-1;n>=t;n--)e[n+1]=e[n];e[t]=n}function eL(e,t){let n=-1,r=1e9;for(let a=0;a<t.length;a++)0>(t[a]-r||e[a].endSide-e[n].endSide)&&(n=a,r=t[a]);return n}function eZ(e,t,n=e.length){let r=0;for(let a=0;a<n&&a<e.length;)9==e.charCodeAt(a)?(r+=t-r%t,a++):(r++,a=w(e,a));return r}function eB(e,t,n,r){for(let r=0,a=0;;){if(a>=t)return r;if(r==e.length)break;a+=9==e.charCodeAt(r)?n-a%n:1,r=w(e,r)}return!0===r?-1:e.length}},94046:function(e,t,n){"use strict";function r(){return"undefined"!=typeof window}function a(e){return o(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function o(e){return!!r()&&(e instanceof Node||e instanceof i(e).Node)}function l(e){return!!r()&&(e instanceof Element||e instanceof i(e).Element)}n.d(t,{UG:function(){return o},kK:function(){return l},wk:function(){return a}})},72695:function(e,t,n){"use strict";function r(e,t){return"function"==typeof e?e(t):e}n.d(t,{Qq:function(){return i},ku:function(){return r}});let a=new Set(["top","bottom"]);function i(e){return a.has(e.split("-")[0])?"y":"x"}},4480:function(e,t,n){"use strict";n.d(t,{YF:function(){return p},x7:function(){return u}});var r=n(53095),a=n(94046),i=n(72909),o=n(82589);function l(e){if(null!=e&&"object"==typeof e&&"$el"in e){let t=e.$el;return(0,a.UG)(t)&&"#comment"===(0,a.wk)(t)?null:t}return e}function s(e){return"function"==typeof e?e():(0,i.SU)(e)}function u(e){return{name:"arrow",options:e,fn(t){let n=l(s(e.element));return null==n?{}:(0,r.x7)({element:n,padding:e.padding}).fn(t)}}}function c(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function d(e,t){let n=c(e);return Math.round(t*n)/n}function p(e,t,n){let a;void 0===n&&(n={});let u=n.whileElementsMounted,p=(0,o.Fl)(()=>{var e;return null==(e=s(n.open))||e}),m=(0,o.Fl)(()=>s(n.middleware)),f=(0,o.Fl)(()=>{var e;return null!=(e=s(n.placement))?e:"bottom"}),h=(0,o.Fl)(()=>{var e;return null!=(e=s(n.strategy))?e:"absolute"}),g=(0,o.Fl)(()=>{var e;return null==(e=s(n.transform))||e}),v=(0,o.Fl)(()=>l(e.value)),y=(0,o.Fl)(()=>l(t.value)),b=(0,i.iH)(0),O=(0,i.iH)(0),w=(0,i.iH)(h.value),k=(0,i.iH)(f.value),x=(0,i.XI)({}),S=(0,i.iH)(!1),_=(0,o.Fl)(()=>{let e={position:w.value,left:"0",top:"0"};if(!y.value)return e;let t=d(y.value,b.value),n=d(y.value,O.value);return g.value?{...e,transform:"translate("+t+"px, "+n+"px)",...c(y.value)>=1.5&&{willChange:"transform"}}
1:{position:w.value,left:t+"px",top:n+"px"}});function E(){if(null==v.value||null==y.value)return;let e=p.value;(0,r.oo)(v.value,y.value,{middleware:m.value,placement:f.value,strategy:h.value}).then(t=>{b.value=t.x,O.value=t.y,w.value=t.strategy,k.value=t.placement,x.value=t.middlewareData,S.value=!1!==e})}function A(){"function"==typeof a&&(a(),a=void 0)}return(0,o.YP)([m,f,h,p],E,{flush:"sync"}),(0,o.YP)([v,y],function(){if(A(),void 0===u){E();return}if(null!=v.value&&null!=y.value){a=u(v.value,y.value,E);return}},{flush:"sync"}),(0,o.YP)(p,function(){p.value||(S.value=!1)},{flush:"sync"}),(0,i.nZ)()&&(0,i.EB)(A),{x:(0,i.YS)(b),y:(0,i.YS)(O),strategy:(0,i.YS)(w),placement:(0,i.YS)(k),middlewareData:(0,i.YS)(x),isPositioned:(0,i.YS)(S),floatingStyles:_,update:E}}},67413:function(e,t,n){"use strict";let r;n.d(t,{V2:function(){return b},lG:function(){return y},pJ:function(){return v}});var a=n(82589),i=n(72909),o=n(76257),l=n(58373),s=n(52243),u=n(40387),c=n(78824),d=n(17238),p=n(91937),m=((r=m||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r);let f=Symbol("DisclosureContext");function h(e){let t=(0,a.f3)(f,null);if(null===t){let t=Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,h),t}return t}let g=Symbol("DisclosurePanelContext"),v=(0,a.aZ)({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:n}){let r=(0,i.iH)(e.defaultOpen?0:1),l=(0,i.iH)(null),u=(0,i.iH)(null),m={buttonId:(0,i.iH)(`headlessui-disclosure-button-${(0,o.M)()}`),panelId:(0,i.iH)(`headlessui-disclosure-panel-${(0,o.M)()}`),disclosureState:r,panel:l,button:u,toggleDisclosure(){r.value=(0,d.E)(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,c.v)(e):(0,c.v)(m.button):(0,c.v)(m.button);null==t||t.focus()}};return(0,a.JJ)(f,m),(0,s.Rb)((0,a.Fl)(()=>(0,d.E)(r.value,{0:s.ZM.Open,1:s.ZM.Closed}))),()=>{let{defaultOpen:a,...i}=e,o={open:0===r.value,close:m.close};return(0,p.sY)({theirProps:i,ourProps:{},slot:o,slots:t,attrs:n,name:"Disclosure"})}}}),y=(0,a.aZ)({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let o=h("DisclosureButton"),s=(0,a.f3)(g,null),d=(0,a.Fl)(()=>null!==s&&s.value===o.panelId.value);(0,a.bv)(()=>{d.value||null!==e.id&&(o.buttonId.value=e.id)}),(0,a.Ah)(()=>{d.value||(o.buttonId.value=null)});let m=(0,i.iH)(null);r({el:m,$el:m}),d.value||(0,a.m0)(()=>{o.button.value=m.value});let f=(0,l.f)((0,a.Fl)(()=>({as:e.as,type:t.type})),m);function v(){var t;e.disabled||(d.value?(o.toggleDisclosure(),null==(t=(0,c.v)(o.button))||t.focus()):o.toggleDisclosure())}function y(t){var n;if(!e.disabled){if(d.value)switch(t.key){case u.R.Space:case u.R.Enter:t.preventDefault(),t.stopPropagation(),o.toggleDisclosure(),null==(n=(0,c.v)(o.button))||n.focus()}else switch(t.key){case u.R.Space:case u.R.Enter:t.preventDefault(),t.stopPropagation(),o.toggleDisclosure()}}}function b(e){e.key===u.R.Space&&e.preventDefault()}return()=>{var r;let a={open:0===o.disclosureState.value},{id:i,...l}=e,s=d.value?{ref:m,type:f.value,onClick:v,onKeydown:y}:{id:null!=(r=o.buttonId.value)?r:i,ref:m,type:f.value,"aria-expanded":0===o.disclosureState.value,"aria-controls":0===o.disclosureState.value||(0,c.v)(o.panel)?o.panelId.value:void 0,disabled:!!e.disabled||void 0,onClick:v,onKeydown:y,onKeyup:b};return(0,p.sY)({ourProps:s,theirProps:l,slot:a,attrs:t,slots:n,name:"DisclosureButton"})}}}),b=(0,a.aZ)({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=h("DisclosurePanel");(0,a.bv)(()=>{null!==e.id&&(i.panelId.value=e.id)}),(0,a.Ah)(()=>{i.panelId.value=null}),r({el:i.panel,$el:i.panel}),(0,a.JJ)(g,i.panelId);let o=(0,s.oJ)(),l=(0,a.Fl)(()=>null!==o?(o.value&s.ZM.Open)===s.ZM.Open:0===i.disclosureState.value);return()=>{var r;let a={open:0===i.disclosureState.value,close:i.close},{id:o,...s}=e,u={id:null!=(r=i.panelId.value)?r:o,ref:i.panel};return(0,p.sY)({ourProps:u,theirProps:s,slot:a,attrs:t,slots:n,features:p.AN.RenderStrategy|p.AN.Static,visible:l.value,name:"DisclosurePanel"})}}})},76257:function(e,t,n){"use strict";n.d(t,{M:function(){return l},n:function(){return s}});var r,a=n(82589);let i=Symbol("headlessui.useid"),o=0,l=null!=(r=a.Me)?r:function(){return a.f3(i,()=>`${++o}`)()};function s(e){a.JJ(i,e)}},29682:function(e,t,n){"use strict";n.d(t,{O:function(){return d}});var r=n(82589),a=n(72909),i=n(78824),o=n(96715),l=n(5875),s=n(63147);function u(e,t,n){s.O.isServer||(0,r.m0)(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}var c=n(86969);function d(e,t,n=(0,r.Fl)(()=>!0)){function s(r,a){if(!n.value||r.defaultPrevented)return;let l=a(r);if(null!==l&&l.getRootNode().contains(l)){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,i.v)(t);if(null!=e&&e.contains(l)||r.composed&&r.composedPath().includes(e))return}return(0,o.sP)(l,o.tJ.Loose)||-1===l.tabIndex||r.preventDefault(),t(r,l)}}let d=(0,a.iH)(null);u("pointerdown",e=>{var t,r;n.value&&(d.value=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)},!0),u("mousedown",e=>{var t,r;n.value&&(d.value=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)},!0),u("click",e=>{(0,l.tq)()||d.value&&(s(e,()=>d.value),d.value=null)},!0),u("touchend",e=>s(e,()=>e.target instanceof HTMLElement?e.target:null),!0),(0,c.s)("blur",e=>s(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},58373:function(e,t,n){"use strict";n.d(t,{f:function(){return l}});var r=n(72909),a=n(82589),i=n(78824);function o(e,t){if(e)return e;let n=null!=t?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}function l(e,t){let n=(0,r.iH)(o(e.value.type,e.value.as));return(0,a.bv)(()=>{n.value=o(e.value.type,e.value.as)}),(0,a.m0)(()=>{var e;
1n.value||(0,i.v)(t)&&(0,i.v)(t) instanceof HTMLButtonElement&&!(null!=(e=(0,i.v)(t))&&e.hasAttribute("type"))&&(n.value="button")}),n}},31035:function(e,t,n){"use strict";n.d(t,{x:function(){return l}});var r=n(72909),a=n(78824);let i=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function o(e){var t,n;let r=null!=(t=e.innerText)?t:"",a=e.cloneNode(!0);if(!(a instanceof HTMLElement))return r;let o=!1;for(let e of a.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),o=!0;let l=o?null!=(n=a.innerText)?n:"":r;return i.test(l)&&(l=l.replace(i,"")),l}function l(e){let t=(0,r.iH)(""),n=(0,r.iH)("");return()=>{let r=(0,a.v)(e);if(!r)return"";let i=r.innerText;if(t.value===i)return n.value;let l=(function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let e=n.split(" ").map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():o(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(", ")}return o(e).trim()})(r).trim().toLowerCase();return t.value=i,n.value=l,l}}},89130:function(e,t,n){"use strict";n.d(t,{g:function(){return i}});var r=n(72909);function a(e){return[e.screenX,e.screenY]}function i(){let e=(0,r.iH)([-1,-1]);return{wasMoved(t){let n=a(t);return(e.value[0]!==n[0]||e.value[1]!==n[1])&&(e.value=n,!0)},update(t){e.value=a(t)}}}},86969:function(e,t,n){"use strict";n.d(t,{s:function(){return i}});var r=n(82589),a=n(63147);function i(e,t,n){a.O.isServer||(0,r.m0)(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}},29634:function(e,t,n){"use strict";let r;n.d(t,{A:function(){return o},_:function(){return l}});var a=n(82589),i=n(91937),o=((r=o||{})[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r);let l=(0,a.aZ)({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup:(e,{slots:t,attrs:n})=>()=>{var r;let{features:a,...o}=e,l={"aria-hidden":(2&a)==2||(null!=(r=o["aria-hidden"])?r:void 0),hidden:(4&a)==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&a)==4&&(2&a)!=2&&{display:"none"}}};return(0,i.sY)({ourProps:l,theirProps:o,slot:{},attrs:n,slots:t,name:"Hidden"})}})},52243:function(e,t,n){"use strict";let r;n.d(t,{Rb:function(){return s},ZM:function(){return o},oJ:function(){return l}});var a=n(82589);let i=Symbol("Context");var o=((r=o||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function l(){return(0,a.f3)(i,null)}function s(e){(0,a.JJ)(i,e)}},40387:function(e,t,n){"use strict";let r;n.d(t,{R:function(){return a}});var a=((r=a||{}).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)},99810:function(e,t,n){"use strict";let r;n.d(t,{T:function(){return a},d:function(){return i}});var a=((r=a||{})[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 i(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),a=null!=r?r:-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:-1===a&&(a=n.length);for(let e=a-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=a+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:!function(e){throw Error("Unexpected object: "+e)}(e)}}},78824:function(e,t,n){"use strict";function r(e){var t;if(null==e||null==e.value)return null;let n=null!=(t=e.value.$el)?t:e.value;return n instanceof Node?n:null}n.d(t,{v:function(){return r}})},63147:function(e,t,n){"use strict";n.d(t,{O:function(){return l}});var r=Object.defineProperty,a=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,i=(e,t,n)=>(a(e,"symbol"!=typeof t?t+"":t,n),n);class o{constructor(){i(this,"current",this.detect()),i(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"undefined"==typeof window||"undefined"==typeof document?"server"
1:"client"}}let l=new o},96715:function(e,t,n){"use strict";let r,a,i,o,l;n.d(t,{C5:function(){return O},EO:function(){return k},GO:function(){return h},TO:function(){return p},fE:function(){return m},jA:function(){return x},sP:function(){return v},tJ:function(){return g},wI:function(){return y},z2:function(){return w}});var s=n(82589),u=n(17238),c=n(2262);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=((a=m||{})[a.Error=0]="Error",a[a.Overflow=1]="Overflow",a[a.Success=2]="Success",a[a.Underflow=3]="Underflow",a),f=((i=f||{})[i.Previous=-1]="Previous",i[i.Next=1]="Next",i);function h(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=((o=g||{})[o.Strict=0]="Strict",o[o.Loose=1]="Loose",o);function v(e,t=0){var n;return e!==(null==(n=(0,c.r)(e))?void 0:n.body)&&(0,u.E)(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,c.r)(e);(0,s.Y3)(()=>{t&&!v(t.activeElement,0)&&O(e)})}var b=((l=b||{})[l.Keyboard=0]="Keyboard",l[l.Mouse=1]="Mouse",l);function O(e){null==e||e.focus({preventScroll:!0})}function w(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),a=t(n);if(null===r||null===a)return 0;let i=r.compareDocumentPosition(a);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function k(e,t){return x(h(),t,{relativeTo:e})}function x(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:a=[]}={}){var i,o,l,s;let u=null!=(i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:null==e?void 0:e.ownerDocument)?i:document,c=Array.isArray(e)?n?w(e):e:h(e);a.length>0&&c.length>1&&(c=c.filter(e=>!a.includes(e))),r=null!=r?r:u.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=(()=>
1{if(1&t)return 0;if(2&t)return Math.max(0,c.indexOf(r))-1;if(4&t)return Math.max(0,c.indexOf(r))+1;if(8&t)return c.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),m=32&t?{preventScroll:!0}:{},f=0,g=c.length,v;do{if(f>=g||f+g<=0)return 0;let e=p+f;if(16&t)e=(e+g)%g;else{if(e<0)return 3;if(e>=g)return 1}null==(v=c[e])||v.focus(m),f+=d}while(v!==u.activeElement);return 6&t&&null!=(s=null==(l=null==(o=v)?void 0:o.matches)?void 0:l.call(o,"textarea,input"))&&s&&v.select(),2}"undefined"!=typeof window&&"undefined"!=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))},17238:function(e,t,n){"use strict";function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let a=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(a,r),a}n.d(t,{E:function(){return r}})},18216:function(e,t,n){"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}n.d(t,{Y:function(){return r}})},2262:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(78824),a=n(63147);function i(e){if(a.O.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(null!=e&&e.hasOwnProperty("value")){let t=(0,r.v)(e);if(t)return t.ownerDocument}return document}},5875:function(e,t,n){"use strict";function r(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function a(){return r()||/Android/gi.test(window.navigator.userAgent)}n.d(t,{gn:function(){return r},tq:function(){return a}})},91937:function(e,t,n){"use strict";let r,a;n.d(t,{AN:function(){return l},CE:function(){return m},oA:function(){return p},sY:function(){return u}});var i=n(82589),o=n(17238),l=((r=l||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),s=((a=s||{})[a.Unmount=0]="Unmount",a[a.Hidden=1]="Hidden",a);function u({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...a}){var i;let l=d(r,n),s=Object.assign(a,{props:l});if(e||2&t&&l.static)return c(s);if(1&t){let e=null==(i=l.unmount)||i?0:1;return(0,o.E)(e,{0:()=>null,1:()=>c({...a,props:{...l,hidden:!0,style:{display:"none"}}})})}return c(s)}function c({props:e,attrs:t,slots:n,slot:r,name:a}){var o,l;let{as:s,...u}=m(e,["unmount","static"]),c=null==(o=n.default)?void 0:o.call(n,r),p={};if(r){let e=!1,t=[];for(let[n,a]of Object.entries(r))"boolean"==typeof a&&(e=!0),!0===a&&t.push(n);e&&(p["data-headlessui-state"]=t.join(" "))}if("template"===s){if(c=function e(t){return t.flatMap(t=>t.type===i.HY?e(t.children):[t])}(null!=c?c:[]),Object.keys(u).length>0||Object.keys(t).length>0){let[e,...n]=null!=c?c:[];if(!(null!=e&&("string"==typeof e.type||"object"==typeof e.type||"function"==typeof e.type))||n.length>0)throw Error(['Passing props on "template"!',"",`The current component <${a} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(u).concat(Object.keys(t)).map(e=>e.trim()).filter((e,t,n)=>n.indexOf(e)===t).sort((e,t)=>e.localeCompare(t)).map(e=>` - ${e}`).join(` 2`),"","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(` 3`)].join(` 4`));let r=d(null!=(l=e.props)?l:{},u,p),o=(0,i.Ho)(e,r,!0);for(let e in r)e.startsWith("on")&&(o.props||(o.props={}),o.props[e]=r[e]);return o}return Array.isArray(c)&&1===c.length?c[0]:c}return(0,i.h)(s,Object.assign({},u,p),{default:()=>c})}function d(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){for(let a of n[e]){if(t instanceof Event&&t.defaultPrevented)return;a(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 n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}},71324:function(e,t,n){"use strict";n.d(t,{aw:function(){return c},oz:function(){return d},AQ:function(){return p}});var r=n(99191),a=n(7703),i=n(70665),o=n(76585);function l(e){let t,n=(0,i.Mw)(e,new o.IQ);return t="BC"===n.era?1===n.year?"0000":"-"+String(Math.abs(1-n.year)).padStart(6,"00"):String(n.year).padStart(4,"0"),`${t}-${String(n.month).padStart(2,"0")}-${String(n.day).padStart(2,"0")}`}function s(e){return`${l(e)}T${String(e.hour).padStart(2,"0")}
4:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function u(e){let t,n="object"==typeof e[0]?e.shift():new o.IQ;if("string"==typeof e[0])t=e.shift();else{let e=n.getEras();t=e[e.length-1]}return[n,t,e.shift(),e.shift(),e.shift()]}class c{#e;constructor(...e){let[t,n,a,i,o]=u(e);this.calendar=t,this.era=n,this.year=a,this.month=i,this.day=o,(0,r.jH)(this)}copy(){return this.era?new c(this.calendar,this.era,this.year,this.month,this.day):new c(this.calendar,this.year,this.month,this.day)}add(e){return(0,r.IH)(this,e)}subtract(e){return(0,r.$X)(this,e)}set(e){return(0,r.t8)(this,e)}cycle(e,t,n){return(0,r.GK)(this,e,t,n)}toDate(e){return(0,i.ZU)(this,e)}toString(){return l(this)}compare(e){return(0,a.rm)(this,e)}}class d{#e;constructor(...e){let[t,n,a,i,o]=u(e);this.calendar=t,this.era=n,this.year=a,this.month=i,this.day=o,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,(0,r.jH)(this)}copy(){return this.era?new d(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new d(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return(0,r.IH)(this,e)}subtract(e){return(0,r.$X)(this,e)}set(e){return(0,r.t8)((0,r.q_)(this,e),e)}cycle(e,t,n){switch(e){case"era":case"year":case"month":case"day":return(0,r.GK)(this,e,t,n);default:return(0,r.xC)(this,e,t,n)}}toDate(e,t){return(0,i.ZU)(this,e,t)}toString(){return s(this)}compare(e){let t=(0,a.rm)(this,e);return 0===t?(0,a.Xi)(this,(0,i.IO)(e)):t}}class p{#e;constructor(...e){let[t,n,a,i,o]=u(e),l=e.shift(),s=e.shift();this.calendar=t,this.era=n,this.year=a,this.month=i,this.day=o,this.timeZone=l,this.offset=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,(0,r.jH)(this)}copy(){return this.era?new p(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new p(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return(0,r.cW)(this,e)}subtract(e){return(0,r.Co)(this,e)}set(e,t){return(0,r.wC)(this,e,t)}cycle(e,t,n){return(0,r.qr)(this,e,t,n)}toDate(){return(0,i.fk)(this)}toString(){var e;let t,n,r,a,i;return`${s(this)}${t=0>Math.sign(e=this.offset)?"-":"+",n=Math.floor((e=Math.abs(e))/36e5),r=Math.floor(e%36e5/6e4),a=Math.floor(e%36e5%6e4/1e3),i=`${t}${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`,0!==a&&(i+=`:${String(a).padStart(2,"0")}`),i}[${this.timeZone}]`}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-(0,i.fW)(e,this.timeZone).toDate().getTime()}}},16445:function(e,t,n){"use strict";n.d(t,{C:function(){return a}});let r=new Map;class a{constructor(e,t={}){this.formatter=o(e,t),this.options=t}format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.formatter.formatRange)return this.formatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.formatter.format(e)} \u{2013} ${this.formatter.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.formatter.formatRangeToParts)return this.formatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let n=this.formatter.formatToParts(e),r=this.formatter.formatToParts(t);return[...n.map(e=>({...e,source:"startRange"})),{type:"literal",value:" â ",source:"shared"},...r.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return null==s&&(s="h12"===new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle),s&&(this.resolvedHourCycle||(this.resolvedHourCycle=function(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,"");let n=o(e+=(e.includes("-u-")?"":"-u")+"-nu-latn",{...t,timeZone:void 0}),r=parseInt(n.formatToParts(new Date(2020,2,3,0)).find(e=>"hour"===e.type).value,10),a=parseInt(n.formatToParts(new Date(2020,2,3,23)).find(e=>"hour"===e.type).value,10);if(0===r&&23===a)return"h23";if(24===r&&23===a)return"h24";if(0===r&&11===a)return"h11";if(12===r&&11===a)return"h12";throw Error("Unexpected hour cycle result")}(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12="h11"===this.resolvedHourCycle||"h12"===this.resolvedHourCycle),"ethiopic-amete-alem"===e.calendar&&(e.calendar="ethioaa"),e}}let i={true:{ja:"h11"},false:{}};function o(e,t={}){if("boolean"==typeof t.hour12&&(null==l&&(l="24"===new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))),l)){let n=i[String((t={...t}).hour12)][e.split("-")[0]],r=t.hour12?"h12":"h23";t.hourCycle=n??r,delete t.hour12}let n=e+(t?Object.entries(t).sort((e,t)=>
4e[0]<t[0]?-1:1).join():"");if(r.has(n))return r.get(n);let a=new Intl.DateTimeFormat(e,t);return r.set(n,a),a}let l=null,s=null},76585:function(e,t,n){"use strict";n.d(t,{Eg:function(){return o},IQ:function(){return c},J4:function(){return l},JD:function(){return s},g_:function(){return i}});var r=n(71324),a=n(58042);function i(e,t,n,r){let a=(t=l(e,t))-1,i=-2;return n<=2?i=0:o(t)&&(i=-1),1721425+365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)+Math.floor((367*n-362)/12+i+r)}function o(e){return e%4==0&&(e%100!=0||e%400==0)}function l(e,t){return"BC"===e?1-t:t}function s(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}let u={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class c{fromJulianDay(e){let t=e-1721426,n=Math.floor(t/146097),l=(0,a.w)(t,146097),u=Math.floor(l/36524),c=(0,a.w)(l,36524),d=Math.floor(c/1461),p=Math.floor((0,a.w)(c,1461)/365),[m,f]=s(400*n+100*u+4*d+p+(4!==u&&4!==p?1:0)),h=e-i(m,f,1,1),g=2;e<i(m,f,3,1)?g=0:o(f)&&(g=1);let v=Math.floor(((h+g)*12+373)/367),y=e-i(m,f,v,1)+1;return new r.aw(m,f,v,y)}toJulianDay(e){return i(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return u[o(e.year)?"leapyear":"standard"][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return o(e.year)?366:365}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getYearsInEra(e){return 9999}getEras(){return["BC","AD"]}isInverseEra(e){return"BC"===e.era}balanceDate(e){e.year<=0&&(e.era="BC"===e.era?"AD":"BC",e.year=1-e.year)}constructor(){this.identifier="gregory"}}},70665:function(e,t,n){"use strict";n.d(t,{FD:function(){return f},IO:function(){return g},Mw:function(){return v},WG:function(){return h},ZI:function(){return l},ZU:function(){return m},fW:function(){return y},fk:function(){return b},xA:function(){return p}});var r=n(71324),a=n(99191),i=n(76585),o=n(7703);function l(e){return e=v(e,new i.IQ),s((0,i.J4)(e.era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function s(e,t,n,r,a,i,o){let l=new Date;return l.setUTCHours(r,a,i,o),l.setUTCFullYear(e,t-1,n),l.getTime()}function u(e,t){if("UTC"===t)return 0;if(e>0&&t===(0,o.iT)()&&!(0,o.nA)())return -6e4*new Date(e).getTimezoneOffset();let{year:n,month:r,day:a,hour:i,minute:l,second:u}=d(e,t);return s(n,r,a,i,l,u,0)-1e3*Math.floor(e/1e3)}let c=new Map;function d(e,t){let n=c.get(t);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),c.set(t,n));let r=n.formatToParts(new Date(e)),a={};for(let e of r)"literal"!==e.type&&(a[e.type]=e.value);return{year:"BC"===a.era||"B"===a.era?-a.year+1:+a.year,month:+a.month,day:+a.day,hour:"24"===a.hour?0:+a.hour,minute:+a.minute,second:+a.second}}function p(e,t,n="compatible"){var r,a,s;let c=g(e);if("UTC"===t)return l(c);if(t===(0,o.iT)()&&"compatible"===n&&!(0,o.nA)()){c=v(c,new i.IQ);let e=new Date,t=(0,i.J4)(c.era,c.year);return e.setFullYear(t,c.month-1,c.day),e.setHours(c.hour,c.minute,c.second,c.millisecond),e.getTime()}let p=l(c),m=u(p-864e5,t),f=u(p+864e5,t),h=(r=c,((a=p-m)==(s=p-f)?[a]:[a,s]).filter(e=>{let n;return n=d(e,t),r.year===n.year&&r.month===n.month&&r.day===n.day&&r.hour===n.hour&&r.minute===n.minute&&r.second===n.second}));if(1===h.length)return h[0];if(h.length>1)switch(n){case"compatible":case"earlier":return h[0];case"later":return h[h.length-1];case"reject":throw RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(p-m,p-f);case"compatible":case"later":return Math.max(p-m,p-f);case"reject":throw RangeError("No such absolute time found")}}function m(e,t,n="compatible"){return new Date(p(e,t,n))}function f(e,t){let n=u(e,t),a=new Date(e+n),i=a.getUTCFullYear(),o=a.getUTCMonth()+1,l=a.getUTCDate(),s=a.getUTCHours(),c=a.getUTCMinutes(),d=a.getUTCSeconds(),p=a.getUTCMilliseconds();return new r.AQ(i<1?"BC":"AD",i<1?-i+1:i,o,l,t,n,s,c,d,p)}function h(e){return new r.aw(e.calendar,e.era,e.year,e.month,e.day)}function g(e,t){let n=0,a=0,i=0,o=0;if("timeZone"in e)({hour:n,minute:a,second:i,millisecond:o}=e);else if("hour"in e&&!t)return e;return t&&({hour:n,minute:a,second:i,millisecond:o}=t),new r.oz(e.calendar,e.era,e.year,e.month,e.day,n,a,i,o)}function v(e,t){if((0,o.jv)(e.calendar,t))return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,(0,a.jH)(r),r}function y(e,t,n){if(e instanceof r.AQ)return e.timeZone===t?e:v(f(l(e)-e.offset,t),e.calendar);
4return f(p(e,t,n),t)}function b(e){return new Date(l(e)-e.offset)}},50258:function(e,t,n){"use strict";let r,a;n.d(t,{Y:function(){return W}});var i=n(71324),o=n(76585);class l extends o.IQ{fromJulianDay(e){let t=super.fromJulianDay(e),n=(0,o.J4)(t.era,t.year);return new i.aw(this,n- -543,t.month,t.day)}toJulianDay(e){return super.toJulianDay(s(e))}getEras(){return["BE"]}getDaysInMonth(e){return super.getDaysInMonth(s(e))}balanceDate(){}constructor(...e){super(...e),this.identifier="buddhist"}}function s(e){let[t,n]=(0,o.JD)(e.year+-543);return new i.aw(t,n,e.month,e.day)}function u(e,t,n,r){return e+365*t+Math.floor(t/4)+30*(n-1)+r-1}function c(e,t){let n=Math.floor(4*(t-e)/1461),r=1+Math.floor((t-u(e,n,1,1))/30),a=t+1-u(e,n,r,1);return[n,r,a]}function d(e){return Math.floor(e%4/3)}function p(e,t){return t%13!=0?30:d(e)+5}class m{fromJulianDay(e){let[t,n,r]=c(1723856,e),a="AM";return t<=0&&(a="AA",t+=5500),new i.aw(this,a,t,n,r)}toJulianDay(e){let t=e.year;return"AA"===e.era&&(t-=5500),u(1723856,t,e.month,e.day)}getDaysInMonth(e){return p(e.year,e.month)}getMonthsInYear(){return 13}getDaysInYear(e){return 365+d(e.year)}getMaximumMonthsInYear(){return 13}getMaximumDaysInMonth(){return 30}getYearsInEra(e){return"AA"===e.era?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class f extends m{fromJulianDay(e){let[t,n,r]=c(1723856,e);return t+=5500,new i.aw(this,"AA",t,n,r)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...e){super(...e),this.identifier="ethioaa"}}class h extends m{fromJulianDay(e){let[t,n,r]=c(1824665,e),a="CE";return t<=0&&(a="BCE",t=1-t),new i.aw(this,a,t,n,r)}toJulianDay(e){let t=e.year;return"BCE"===e.era&&(t=1-t),u(1824665,t,e.month,e.day)}getDaysInMonth(e){let t=e.year;return"BCE"===e.era&&(t=1-t),p(t,e.month)}isInverseEra(e){return"BCE"===e.era}balanceDate(e){e.year<=0&&(e.era="BCE"===e.era?"CE":"BCE",e.year=1-e.year)}getEras(){return["BCE","CE"]}getYearsInEra(e){return"BCE"===e.era?9999:9715}constructor(...e){super(...e),this.identifier="coptic"}}var g=n(58042);function v(e){return 7>(0,g.w)(7*e+1,19)}function y(e){let t=Math.floor((235*e-234)/19),n=29*t+Math.floor((12084+13753*t)/25920);return 3>(0,g.w)(3*(n+1),7)&&(n+=1),n}function b(e){let t,n;return y(e)+(t=y(e-1),n=y(e),y(e+1)-n==356?2:n-t==382?1:0)}function O(e){return b(e+1)-b(e)}function w(e,t){if(t>=6&&!v(e)&&t++,4===t||7===t||9===t||11===t||13===t)return 29;let n=function(e){let t=O(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}(e);return 2===t?2===n?30:29:3===t?0===n?29:30:6===t?v(e)?30:0:30}class k{fromJulianDay(e){let t=e-347997,n=Math.floor((25920*t/765433*19+234)/235)+1,r=b(n),a=Math.floor(t-r);for(;a<1;)a=Math.floor(t-(r=b(--n)));let o=1,l=0;for(;l<a;)l+=w(n,o),o++;let s=a-(l-=w(n,--o));return new i.aw(this,n,o,s)}toJulianDay(e){let t=b(e.year);for(let n=1;n<e.month;n++)t+=w(e.year,n);return t+e.day+347997}getDaysInMonth(e){return w(e.year,e.month)}getMonthsInYear(e){return v(e.year)?13:12}getDaysInYear(e){return O(e.year)}getMaximumMonthsInYear(){return 13}getMaximumDaysInMonth(){return 30}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(e,t){t.year!==e.year&&(v(t.year)&&!v(e.year)&&t.month>6?e.month--:!v(t.year)&&v(e.year)&&t.month>6&&e.month++)}constructor(){this.identifier="hebrew"}}class x extends o.IQ{fromJulianDay(e){let t,n,r,a=super.fromJulianDay(e),l=a.year-78,s=e-(0,o.g_)(a.era,a.year,1,1);if(s<80?(l--,s+=(t=(0,o.Eg)(a.year-1)?31:30)+155+90+10):(t=(0,o.Eg)(a.year)?31:30,s-=80),s<t)n=1,r=s+1;else{let e=s-t;e<155?(n=Math.floor(e/31)+2,r=e%31+1):(e-=155,n=Math.floor(e/30)+7,r=e%30+1)}return new i.aw(this,l,n,r)}toJulianDay(e){let t,n,r=e.year+78,[a,i]=(0,o.JD)(r);return((0,o.Eg)(i)?(t=31,n=(0,o.g_)(a,i,3,21)):(t=30,n=(0,o.g_)(a,i,3,22)),1===e.month)?n+e.day-1:(n+=t+31*Math.min(e.month-2,5),e.month>=8&&(n+=(e.month-7)*30),n+=e.day-1)}getDaysInMonth(e){return 1===e.month&&(0,o.Eg)(e.year+78)||e.month>=2&&e.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...e){super(...e),this.identifier="indian"}}function S(e,t,n,r){return r+Math.ceil(29.5*(n-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function _(e,t,n){let r=Math.floor((30*(n-t)+10646)/10631),a=Math.min(12,Math.ceil((n-(29+S(t,r,1,1)))/29.5)+1),o=n-S(t,r,a,1)+1;return new i.aw(e,r,a,o)}function E(e){return(14+11*e)%30<11}class A{fromJulianDay(e){return _(this,1948440,e)}toJulianDay(e){return S(1948440,e.year,e.month,e.day)}getDaysInMonth(e){let t=29+e.month%2;return 12===e.month&&E(e.year)&&t++,t}getMonthsInYear(){return 12}getDaysInYear(e){return E(e.year)?355:354}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 30}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class T extends A{fromJulianDay(e){return _(this,1948439,e)}toJulianDay(e){return S(1948439,e.year,e.month,e.day)}constructor(...e){super(...e),this.identifier="islamic-tbla"}}function D(e){return 460322+a[e-1300]}function C(e,t){return(r[e-1300]&1<<11-(t-1))==0?29:30}function $(e,t){let n=D(e);for(let r=1;r<t;r++)n+=C(e,r);return n}function P(e){return a[e+1-1300]-a[e-1300]}class I extends A{constructor(){if(super(),this.identifier="islamic-umalqura",r||(r=new Uint16Array(Uint8Array.from(atob("qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI="),e=>e.charCodeAt(0)).buffer)),!a){a=new Uint32Array(301);let e=0;for(let t=1300;t<=1600;t++){a[t-1300]=e;for(let n=1;n<=12;n++)e+=C(t,n)}}}fromJulianDay(e){let t=e-1948440,n=D(1300),r=D(1600);if(t<n||t>r)return super.fromJulianDay(e);{let e=1299,n=1,r=1;for(;r>0;){r=t-D(++e)+1;let a=P(e);if(r===a){n=12;break}if(r<a){let t=C(e,n);for(n=1;r>t;)r-=t,t=C(e,++n);break}}return new i.aw(this,e,n,t-$(e,n)+1)}}toJulianDay(e){return e.year<1300||e.year>1600?super.toJulianDay(e):1948440+$(e.year,e.month)+(e.day-1)}getDaysInMonth(e){return e.year<1300||e.year>1600?super.getDaysInMonth(e):C(e.year,e.month)}getDaysInYear(e){return e.year<1300||e.year>1600?super.getDaysInYear(e):P(e.year)}}let N=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],U=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],M=[1867,1911,1925,1988,2018],R=["meiji","taisho","showa","heisei","reiwa"];function j(e){let t=N.findIndex(([t,n,r])=>e.year<t||e.year===t&&e.month<n||e.year===t&&e.month===n&&e.day<r);return -1===t?N.length-1:0===t?0:t-1}function L(e){let t=M[R.indexOf(e.era)];if(!t)throw Error("Unknown era: "+e.era);return new i.aw(e.year+t,e.month,e.day)}class Z extends o.IQ{fromJulianDay(e){let t=super.fromJulianDay(e),n=j(t);return new i.aw(this,R[n],t.year-M[n],t.month,t.day)}toJulianDay(e){return super.toJulianDay(L(e))}balanceDate(e){let t=L(e),n=j(t);R[n]!==e.era&&(e.era=R[n],e.year=t.year-M[n]),this.constrainDate(e)}constrainDate(e){let t=R.indexOf(e.era),n=U[t];if(null!=n){let[r,a,i]=n,o=r-M[t];e.year=Math.max(1,Math.min(o,e.year)),e.year===o&&(e.month=Math.min(a,e.month),e.month===a&&(e.day=Math.min(i,e.day)))}if(1===e.year&&t>=0){let[,n,r]=N[t];e.month=Math.max(n,e.month),e.month===n&&(e.day=Math.max(r,e.day))}}getEras(){return R}getYearsInEra(e){let t=R.indexOf(e.era),n=N[t],r=N[t+1];if(null==r)return 9999-n[0]+1;let a=r[0]-n[0];return(e.month<r[1]||e.month===r[1]&&e.day<r[2])&&a++,a}getDaysInMonth(e){return super.getDaysInMonth(L(e))}getMinimumMonthInYear(e){let t=B(e);return t?t[1]:1}
4getMinimumDayInMonth(e){let t=B(e);return t&&e.month===t[1]?t[2]:1}constructor(...e){super(...e),this.identifier="japanese"}}function B(e){if(1===e.year)return N[R.indexOf(e.era)]}let z=[0,31,62,93,124,155,186,216,246,276,306,336];class F{fromJulianDay(e){let t=e-1948320,n=1+Math.floor((33*t+3)/12053),r=t-(365*(n-1)+Math.floor((8*n+21)/33)),a=r<216?Math.floor(r/31):Math.floor((r-6)/30),o=r-z[a]+1;return new i.aw(this,n,a+1,o)}toJulianDay(e){return 1948319+365*(e.year-1)+Math.floor((8*e.year+21)/33)+(z[e.month-1]+e.day)}getMonthsInYear(){return 12}getDaysInMonth(e){return e.month<=6?31:e.month<=11?30:8>(0,g.w)(25*e.year+11,33)?30:29}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}function Q(e){return"minguo"===e.era?e.year+1911:1-e.year+1911}function H(e){let t=e-1911;return t>0?["minguo",t]:["before_minguo",1-t]}class q extends o.IQ{fromJulianDay(e){let t=super.fromJulianDay(e),[n,r]=H((0,o.J4)(t.era,t.year));return new i.aw(this,n,r,t.month,t.day)}toJulianDay(e){return super.toJulianDay(V(e))}getEras(){return["before_minguo","minguo"]}balanceDate(e){let[t,n]=H(Q(e));e.era=t,e.year=n}isInverseEra(e){return"before_minguo"===e.era}getDaysInMonth(e){return super.getDaysInMonth(V(e))}getYearsInEra(e){return"before_minguo"===e.era?9999:8088}constructor(...e){super(...e),this.identifier="roc"}}function V(e){let[t,n]=(0,o.JD)(Q(e));return new i.aw(t,n,e.month,e.day)}function W(e){switch(e){case"buddhist":return new l;case"ethiopic":return new m;case"ethioaa":return new f;case"coptic":return new h;case"hebrew":return new k;case"indian":return new x;case"islamic-civil":return new A;case"islamic-tbla":return new T;case"islamic-umalqura":return new I;case"japanese":return new Z;case"persian":return new F;case"roc":return new q;default:return new o.IQ}}},99191:function(e,t,n){"use strict";n.d(t,{$X:function(){return d},Co:function(){return b},GK:function(){return h},IH:function(){return i},cW:function(){return y},jH:function(){return u},q_:function(){return m},qr:function(){return O},t8:function(){return p},wC:function(){return w},xC:function(){return g}});var r=n(70665),a=n(76585);function i(e,t){var n,r;let a;let i=e.copy(),u="hour"in i?(n=i,r=t,n.hour+=r.hours||0,n.minute+=r.minutes||0,n.second+=r.seconds||0,n.millisecond+=r.milliseconds||0,n.second+=Math.floor(n.millisecond/1e3),n.millisecond=f(n.millisecond,1e3),n.minute+=Math.floor(n.second/60),n.second=f(n.second,60),n.hour+=Math.floor(n.minute/60),n.minute=f(n.minute,60),a=Math.floor(n.hour/24),n.hour=f(n.hour,24),a):0;o(i,t.years||0),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e),i.month+=t.months||0,l(i),s(i),i.day+=7*(t.weeks||0),i.day+=t.days||0,i.day+=u,function(e){for(;e.day<1;)e.month--,l(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,l(e)}(i),i.calendar.balanceDate&&i.calendar.balanceDate(i),i.year<1&&(i.year=1,i.month=1,i.day=1);let c=i.calendar.getYearsInEra(i);if(i.year>c){let e=i.calendar.isInverseEra?.(i);i.year=c,i.month=e?1:i.calendar.getMonthsInYear(i),i.day=e?1:i.calendar.getDaysInMonth(i)}i.month<1&&(i.month=1,i.day=1);let d=i.calendar.getMonthsInYear(i);return i.month>d&&(i.month=d,i.day=i.calendar.getDaysInMonth(i)),i.day=Math.max(1,Math.min(i.calendar.getDaysInMonth(i),i.day)),i}function o(e,t){e.calendar.isInverseEra?.(e)&&(t=-t),e.year+=t}function l(e){for(;e.month<1;)o(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,o(e,1)}function s(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function u(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),s(e)}function c(e){let t={};for(let n in e)"number"==typeof e[n]&&(t[n]=-e[n]);return t}function d(e,t){return i(e,c(t))}function p(e,t){let n=e.copy();return null!=t.era&&(n.era=t.era),null!=t.year&&(n.year=t.year),null!=t.month&&(n.month=t.month),null!=t.day&&(n.day=t.day),u(n),n}function m(e,t){let n=e.copy();return null!=t.hour&&(n.hour=t.hour),null!=t.minute&&(n.minute=t.minute),null!=t.second&&(n.second=t.second),null!=t.millisecond&&(n.millisecond=t.millisecond),n.millisecond=Math.max(0,Math.min(n.millisecond,1e3)),n.second=Math.max(0,Math.min(n.second,59)),n.minute=Math.max(0,Math.min(n.minute,59)),n.hour=Math.max(0,Math.min(n.hour,23)),n}function f(e,t){let n=e%t;return n<0&&(n+=t),n}function h(e,t,n,r){let a=e.copy();switch(t){case"era":{let t=e.calendar.getEras(),i=t.indexOf(e.era);if(i<0)throw Error("Invalid era: "+e.era);i=v(i,n,0,t.length-1,r?.round),a.era=t[i],u(a);break}case"year":a.calendar.isInverseEra?.(a)&&(n=-n),a.year=v(e.year,n,-1/0,9999,r?.round),a.year===-1/0&&(a.year=1),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,e);break;case"month":a.month=v(e.month,n,1,e.calendar.getMonthsInYear(e),r?.round);break;case"day":a.day=v(e.day,n,1,e.calendar.getDaysInMonth(e),r?.round);break;default:throw Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(a),u(a),a}function g(e,t,n,r){let a=e.copy();switch(t){case"hour":{let t=e.hour,i=0,o=23;if(r?.hourCycle===12){let e=t>=12;i=e?12:0,o=e?23:11}a.hour=v(t,n,i,o,r?.round);break}case"minute":a.minute=v(e.minute,n,0,59,r?.round);break;case"second":a.second=v(e.second,n,0,59,r?.round);break;case"millisecond":a.millisecond=v(e.millisecond,n,0,999,r?.round);break;default:throw Error("Unsupported field "+t)}return a}function v(e,t,n,r,a=!1){if(a){(e+=Math.sign(t))<n&&(e=r);let a=Math.abs(t);(e=t>0?Math.ceil(e/a)*a:Math.floor(e/a)*a)>r&&(e=n)}else(e+=t)<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function y(e,t){let n;if(null!=t.years&&0!==t.years||null!=t.months&&0!==t.months||null!=t.weeks&&0!==t.weeks||null!=t.days&&0!==t.days){let a=i((0,r.IO)(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});n=(0,r.xA)(a,e.timeZone)}else n=(0,r.ZI)(e)-e.offset;n+=(t.milliseconds||0)+1e3*(t.seconds||0)+6e4*(t.minutes||0)+36e5*(t.hours||0);let a=(0,r.FD)(n,e.timeZone);return(0,r.Mw)(a,e.calendar)}function b(e,t){return y(e,c(t))}function O(e,t,n,i){switch(t){case"hour":{let t=0,o=23;if(i?.hourCycle===12){let n=e.hour>=12;t=n?12:0,o=n?23:11}let l=(0,r.IO)(e),s=(0,r.Mw)(m(l,{hour:t}),new a.IQ),u=[(0,r.xA)(s,e.timeZone,"earlier"),(0,r.xA)(s,e.timeZone,"later")].filter(t=>(0,r.FD)(t,e.timeZone).day===s.day)[0],c=(0,r.Mw)(m(l,{hour:o}),new a.IQ),d=[(0,r.xA)(c,e.timeZone,"earlier"),(0,r.xA)(c,e.timeZone,"later")].filter(t=>(0,r.FD)(t,e.timeZone).day===c.day).pop(),p=(0,r.ZI)(e)-e.offset,f=Math.floor(p/36e5),h=p%36e5;return p=36e5*v(f,n,Math.floor(u/36e5),Math.floor(d/36e5),i?.round)+h,(0,r.Mw)((0,r.FD)(p,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return g(e,t,n,i);case"era":case"year":case"month":case"day":{let a=h((0,r.IO)(e),t,n,i),o=(0,r.xA)(a,e.timeZone);
4return(0,r.Mw)((0,r.FD)(o,e.timeZone),e.calendar)}default:throw Error("Unsupported field "+t)}}function w(e,t,n){let a=(0,r.IO)(e),i=m(p(a,t),t);if(0===i.compare(a))return e;let o=(0,r.xA)(i,e.timeZone,n);return(0,r.Mw)((0,r.FD)(o,e.timeZone),e.calendar)}},7703:function(e,t,n){"use strict";n.d(t,{rm:function(){return f},Xi:function(){return h},Vf:function(){return w},ji:function(){return p},iT:function(){return y},jv:function(){return u},N9:function(){return l},dG:function(){return s},nA:function(){return b},KC:function(){return i},xj:function(){return o},zk:function(){return c},Nm:function(){return O},Lg:function(){return m}});var r=n(70665);let a={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function i(e,t){return t=(0,r.Mw)(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function o(e,t){return t=(0,r.Mw)(t,e.calendar),e=O(e),t=O(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function l(e,t){return u(e.calendar,t.calendar)&&i(e,t)}function s(e,t){return u(e.calendar,t.calendar)&&o(e,t)}function u(e,t){return e.isEqual?.(t)??t.isEqual?.(e)??e.identifier===t.identifier}function c(e,t){return i(e,m(t))}let d={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function p(e,t,n){let r=Math.ceil(e.calendar.toJulianDay(e)+1-(n?d[n]:function(e){let t=x.get(e);if(!t){if(Intl.Locale){let n=new Intl.Locale(e);if("getWeekInfo"in n&&(t=n.getWeekInfo()))return x.set(e,t),t.firstDay}let n=function(e){if(Intl.Locale){let t=k.get(e);return!t&&(t=new Intl.Locale(e).maximize().region)&&k.set(e,t),t}let t=e.split("-")[1];return"u"===t?void 0:t}(e);if(e.includes("-fw-")){let n=e.split("-fw-")[1].split("-")[0];t="mon"===n?{firstDay:1}:"tue"===n?{firstDay:2}:"wed"===n?{firstDay:3}:"thu"===n?{firstDay:4}:"fri"===n?{firstDay:5}:"sat"===n?{firstDay:6}:{firstDay:0}}else t=e.includes("-ca-iso8601")?{firstDay:1}:{firstDay:n&&a[n]||0};x.set(e,t)}return t.firstDay}(t)))%7;return r<0&&(r+=7),r}function m(e){return(0,r.WG)((0,r.FD)(Date.now(),e))}function f(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function h(e,t){return g(e)-g(t)}function g(e){return 36e5*e.hour+6e4*e.minute+1e3*e.second+e.millisecond}let v=null;function y(){return null==v&&(v=new Intl.DateTimeFormat().resolvedOptions().timeZone),v}function b(){return!1}function O(e){return e.subtract({days:e.day-1})}function w(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}let k=new Map,x=new Map},58042:function(e,t,n){"use strict";function r(e,t){return e-t*Math.floor(e/t)}n.d(t,{w:function(){return r}})},82423:function(e,t,n){"use strict";n.d(t,{e:function(){return l}});let r=new Map,a=!1;try{a="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch{}let i=!1;try{i="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch{}let o={degree:{narrow:{default:"\xb0","ja-JP":" 度","zh-TW":"度","sl-SI":" \xb0"}}};class l{constructor(e,t={}){this.numberFormatter=function(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${n}`),"unit"===t.style&&!i){let{unit:e,unitDisplay:n="short"}=t;if(!e)throw Error('unit option must be provided with style: "unit"');if(!o[e]?.[n])throw Error(`Unsupported unit ${e} with unitDisplay = ${n}`);t={...t,style:"decimal"}}let a=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(r.has(a))return r.get(a);let l=new Intl.NumberFormat(e,t);return r.set(a,l),l}(e,t),this.options=t}format(e){let t="";if(t=a||null==this.options.signDisplay?this.numberFormatter.format(e):function(e,t,n){if("auto"===t)return e.format(n);{if("never"===t)return e.format(Math.abs(n));let r=!1;if("always"===t?r=n>0||Object.is(n,0):"exceptZero"===t&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),!r)return e.format(n);{let t=e.format(-n),r=e.format(n),a=t.replace(r,"").replace(/\u200e|\u061C/,"");return 1!=[...a].length&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),t.replace(r,"!!!").replace(a,"+").replace("!!!",r)}}}(this.numberFormatter,this.options.signDisplay,e),"unit"===this.options.style&&!i){let{unit:e,unitDisplay:n="short",locale:r}=this.resolvedOptions();if(!e)return t;let a=o[e]?.[n];t+=a[r]||a.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.numberFormatter.formatRange)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.format(e)} \u{2013} ${this.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.numberFormatter.formatRangeToParts)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...n.map(e=>({...e,source:"startRange"})),{type:"literal",value:" â ",source:"shared"},...r.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return a||null==this.options.signDisplay||(e={...e,signDisplay:this.options.signDisplay}),i||"unit"!==this.options.style||(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}}},94763:function(e,t,n){"use strict";n.d(t,{d:function(){return o}});var r=n(82423);let a=RegExp("^.*\\(.*\\).*$"),i=["latn","arab","hanidec","deva","beng","fullwide"];class o{constructor(e,t={}){this.locale=e,this.options=t}parse(e){return s(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,t,n){return s(this.locale,this.options,e).isValidPartialNumber(e,t,n)}getNumberingSystem(e){return s(this.locale,this.options,e).options.numberingSystem}}let l=new Map;function s(e,t,n){let r=u(e,t);if(!e.includes("-nu-")&&!r.isValidPartialNumber(n)){for(let a of i)if(a!==r.options.numberingSystem){let r=u(e+(e.includes("-u-")?"-nu-":"-u-nu-")+a,t);
4if(r.isValidPartialNumber(n))return r}}return r}function u(e,t){let n=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():""),r=l.get(n);return r||(r=new c(e,t),l.set(n,r)),r}class c{constructor(e,t={}){var n,r;let a,i,o,l,s,u,c,m,h,g,v,y,b,O;this.locale=e,1!==t.roundingIncrement&&null!=t.roundingIncrement&&(null==t.maximumFractionDigits&&null==t.minimumFractionDigits?(t.maximumFractionDigits=0,t.minimumFractionDigits=0):null==t.maximumFractionDigits?t.maximumFractionDigits=t.minimumFractionDigits:null==t.minimumFractionDigits&&(t.minimumFractionDigits=t.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(e,t),this.options=this.formatter.resolvedOptions(),this.symbols=(this.formatter,r=this.options,i=(a=new Intl.NumberFormat(e,{...r,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand",useGrouping:!0})).formatToParts(-10000.111),o=a.formatToParts(10000.111),s=(l=p.map(e=>a.formatToParts(e))).map((e,t)=>{let n=e.find(e=>"unit"===e.type);return n&&!e.some(e=>"integer"===e.type||"fraction"===e.type)?{unit:n.value,value:p[t]}:null}).filter(e=>!!e),u=i.find(e=>"minusSign"===e.type)?.value??"-",(c=o.find(e=>"plusSign"===e.type)?.value)||t?.signDisplay!=="exceptZero"&&t?.signDisplay!=="always"||(c="+"),m=new Intl.NumberFormat(e,{...r,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001),h=m.find(e=>"decimal"===e.type)?.value,g=i.find(e=>"group"===e.type)?.value,y=0===(v=[...new Set([...i.filter(e=>!d.has(e.type)).map(e=>f(e.value)),...l.flatMap(e=>e.filter(e=>!d.has(e.type)).map(e=>f(e.value)))])].sort((e,t)=>t.length-e.length)).length?RegExp("\\p{White_Space}|\\p{Cf}","gu"):RegExp(`${v.join("|")}|\\p{White_Space}|\\p{Cf}`,"gu"),O=new Map((b=[...new Intl.NumberFormat(r.locale,{useGrouping:!1}).format(9876543210)].reverse()).map((e,t)=>[e,t])),{minusSign:u,plusSign:c,decimal:h,group:g,literals:y,numeral:RegExp(`[${b.join("")}]`,"g"),numerals:b,index:e=>String(O.get(e)),noNumeralUnits:s}),"percent"===this.options.style&&((this.options.minimumFractionDigits??0)>18||(this.options.maximumFractionDigits??0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}parse(e){let t=this.formatter.resolvedOptions().useGrouping,n=this.sanitize(e);if(!t&&this.symbols.group&&n.includes(this.symbols.group))return NaN;if(this.symbols.group&&(n=n.replaceAll(this.symbols.group,"")),this.symbols.decimal&&(n=n.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(n=n.replace(this.symbols.minusSign,"-")),n=n.replace(this.symbols.numeral,this.symbols.index),"percent"===this.options.style){let e=n.indexOf("-"),t=(n=(n=n.replace("-","")).replace("+","")).indexOf(".");-1===t&&(t=n.length),n=n.replace(".",""),n=t-2==0?`0.${n}`:t-2==-1?`0.0${n}`:t-2==-2?"0.00":`${n.slice(0,t-2)}.${n.slice(t-2)}`,e>-1&&(n=`-${n}`)}let i=n?+n:NaN;if(isNaN(i))return NaN;if("percent"===this.options.style){let e={...this.options,style:"decimal",minimumFractionDigits:Math.min((this.options.minimumFractionDigits??0)+2,20),maximumFractionDigits:Math.min((this.options.maximumFractionDigits??0)+2,20)};return new o(this.locale,e).parse(new(0,r.e)(this.locale,e).format(i))}return"accounting"===this.options.currencySign&&a.test(e)&&(i*=-1),i}sanitize(e){let t=this.formatter.resolvedOptions().useGrouping;return this.symbols.noNumeralUnits.length>0&&this.symbols.noNumeralUnits.find(t=>t.unit===e)?this.symbols.noNumeralUnits.find(t=>t.unit===e).value.toString():(e=e.replace(this.symbols.literals,""),this.symbols.minusSign&&(e=e.replace("-",this.symbols.minusSign)),"arab"===this.options.numberingSystem&&(this.symbols.decimal&&(e=m(e,",",this.symbols.decimal),e=m(e,String.fromCharCode(1548),this.symbols.decimal)),this.symbols.group&&t&&(e=m(e,".",this.symbols.group))),"â"===this.symbols.group&&e.includes("'")&&t&&(e=m(e,"'",this.symbols.group)),"fr-FR"===this.options.locale&&this.symbols.group&&t&&(e=m(e," ",this.symbols.group),e=m(e,/\u00A0/g,this.symbols.group)),e)}isValidPartialNumber(e,t=-1/0,n=1/0){let r=this.formatter.resolvedOptions().useGrouping;return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&t<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&n>0&&(e=e.slice(this.symbols.plusSign.length)),(!(this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1)||0!==this.options.maximumFractionDigits)&&(this.symbols.group&&r&&(e=m(e,this.symbols.group,"")),e=e.replace(this.symbols.numeral,""),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,"")),0===e.length)}}let d=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),p=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function m(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function f(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}},67668:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n}},23798:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(82589),a=n(72909),i=n(34280),o=n(14007),l=n(87989),s={key:0,class:"sr-only"},u=(0,r.aZ)({__name:"ServerVariablesSelect",props:{enum:{},value:{},controls:{}},emits:["change"],setup(e,{emit:t}){let n=(0,r.Fl)(()=>e.enum.map(e=>({id:e,label:e}))),u=(0,r.Fl)({get:()=>n.value.find(t=>
4t.id===e.value),set:e=>t("change",e?.id??"")});return(t,c)=>((0,r.wg)(),(0,r.j4)((0,a.SU)(o.N1),{modelValue:u.value,"onUpdate:modelValue":c[0]||(c[0]=e=>u.value=e),options:n.value},{default:(0,r.w5)(()=>[(0,r.Wm)((0,a.SU)(o.Xk),{"aria-controls":e.controls,class:"group/button h-8 gap-1.5 p-1.5 text-base font-normal",variant:"ghost"},{default:(0,r.w5)(()=>[(0,r._)("span",{class:(0,i.C_)({"text-c-1":e.value})},[e.value?((0,r.wg)(),(0,r.iD)("span",s," Selected: ")):(0,r.kq)("",!0),(0,r.Uk)(" "+(0,i.zw)(e.value||"Select value"),1)],2),(0,r.Wm)((0,a.SU)(l.Z),{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"]))}}),c=n(19614),d=(0,r.aZ)({__name:"ServerVariablesTextbox",props:{value:{},controls:{}},emits:["change"],setup(e,{emit:t}){let n=(0,r.Fl)({get:()=>e.value,set:e=>t("change",e)});return(t,a)=>(0,r.wy)(((0,r.wg)(),(0,r.iD)("input",(0,r.dG)({"onUpdate:modelValue":a[0]||(a[0]=e=>n.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)),[[c.nr,n.value]])}}),p=["for"],m=(0,r.aZ)({__name:"ServerVariablesForm",props:{variables:{},values:{},controls:{},layout:{default:"client"}},emits:["update:variable"],setup(e,{emit:t}){let n=(0,r.Me)();function o(e,n){t("update:variable",e,n)}let l=t=>(e.values?.[t]??e.variables?.[t]?.default??"").toString();return(t,s)=>e.variables&&Object.keys(e.variables??{}).length?((0,r.wg)(!0),(0,r.iD)(r.HY,{key:0},(0,r.Ko)(Object.keys(e.variables),t=>((0,r.wg)(),(0,r.iD)("div",{key:t,class:(0,i.C_)(["group/label flex h-8 w-full","reference"===e.layout&&"items-center border-x border-b last:rounded-b-lg"])},[(0,r._)("label",{class:"flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']",for:`${(0,a.SU)(n)}-${t}`},(0,i.zw)(t),9,p),e.variables?.[t]?.enum?.length?((0,r.wg)(),(0,r.j4)(u,{key:0,id:`${(0,a.SU)(n)}-${t}`,controls:e.controls,enum:e.variables[t]?.enum?.map(e=>`${e}`)??[],value:l(t),onChange:e=>o(t,e)},null,8,["id","controls","enum","value","onChange"])):((0,r.wg)(),(0,r.j4)(d,{key:1,id:`${(0,a.SU)(n)}-${t}`,controls:e.controls,value:l(t),onChange:e=>o(t,e)},null,8,["id","controls","value","onChange"]))],2))),128)):(0,r.kq)("",!0)}})},61349:function(e,t,n){"use strict";n.d(t,{g:function(){return r.Z}});var r=n(23798)},3227:function(e,t,n){"use strict";let r,a;n.d(t,{Z:function(){return r8}});var i=n(82589),o=n(34280),l=n(72909),s=n(14007),u=(0,i.aZ)({__name:"ViewLayout",setup(e){let{cx:t}=(0,s.li)();return(e,n)=>((0,i.wg)(),(0,i.iD)("div",(0,o.vs)((0,i.F4)((0,l.SU)(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,i.WI)(e.$slots,"default")],16))}}),c=n(67668),d={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"},p=(0,c.Z)({},[["render",function(e,t){return(0,i.wg)(),(0,i.iD)("div",d,[(0,i.WI)(e.$slots,"default")])}]]),m=({harRequest:e})=>{let t=f(e),n=h(e.postData);return[e.url,{method:e.method,headers:t,body:n}]},f=e=>{let t=new Headers;if(e.headers.forEach(({name:e,value:n})=>{t.append(e,n)}),e.cookies?.length){let n=e.cookies.map(({name:e,value:t})=>`${e}=${t}`).join("; ");t.append("Cookie",n)}return t},h=e=>{if(!e)return null;let{params:t,text:n,mimeType:r}=e;if(t?.length){let e=r?.includes("multipart/form-data")?new FormData:new URLSearchParams;return t.forEach(({name:t,value:n})=>{e.append(t,n||"")}),e}return n?new TextEncoder().encode(n):null},g=e=>"getSetCookie"in e&&"function"==typeof e.getSetCookie?e.getSetCookie():[],v=({harResponse:e,url:t="",method:n,path:r,duration:a=0})=>{let i=y(e),{body:o,data:l,size:s}=b(e),u=g(i);return{...new Response(o,{status:e.status,statusText:e.statusText,headers:i}),headers:Object.fromEntries(i.entries()),cookieHeaderKeys:u,duration:a,status:e.status,statusText:e.statusText,method:n,path:r,data:l,size:s,url:t}},y=e=>{let t=new Headers;
4return e.headers.forEach(({name:e,value:n})=>{t.append(e,n)}),t},b=e=>{if(!e.content.text)return{body:null,data:"",size:0};let{text:t,encoding:n}=e.content;if(n)return{body:null,data:t,size:t.length};let r=new TextEncoder().encode(t).buffer;return{body:r,data:t,size:r.byteLength}},O=new Map;function w(e,t,n){return`${e}|${t}|${n}`}var k=(e,t)=>{for(let n of t)if(n.responseBody){for(let t of n.responseBody)if(x(e,t.mimeTypes))return t}},x=(e,t)=>{let n=e.toLowerCase();for(let e of t){let t=e.toLowerCase();if(t===n)return!0;if(t.includes("*")){let e=t.replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*");if(RegExp(`^${e}$`).test(n))return!0}}return!1},S=n(34029),_=e=>e??"text/plain;charset=UTF-8",E=e=>(0,S.u)(_(e)),A={"application/epub+zip":{extension:".epub"},"application/gzip":{extension:".gz"},"application/java-archive":{extension:".jar"},"application/javascript":{extension:".js",raw:!0},"application/json":{extension:".json",raw:!0,language:"json"},"application/ld+json":{extension:".jsonld",raw:!0,language:"json"},"application/problem+json":{extension:".json",raw:!0,language:"json"},"application/vnd.api+json":{extension:".json",raw:!0,language:"json"},"application/dns-json":{extension:".json",raw:!0,language:"json"},"application/msword":{extension:".doc"},"application/octet-stream":{extension:".bin"},"application/ogg":{extension:".ogx"},"application/pdf":{extension:".pdf",preview:"object"},"application/rtf":{extension:".rtf",raw:!0},"application/vnd.amazon.ebook":{extension:".azw"},"application/vnd.apple.installer+xml":{extension:".mpkg",raw:!0,language:"xml"},"application/vnd.mozilla.xul+xml":{extension:".xul",raw:!0,language:"xml"},"application/vnd.ms-excel":{extension:".xls"},"application/vnd.ms-fontobject":{extension:".eot"},"application/vnd.ms-powerpoint":{extension:".ppt"},"application/vnd.oasis.opendocument.presentation":{extension:".odp"},"application/vnd.oasis.opendocument.spreadsheet":{extension:".ods"},"application/vnd.oasis.opendocument.text":{extension:".odt"},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extension:".pptx"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extension:".xlsx"},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extension:".docx"},"application/vnd.rar":{extension:".rar"},"application/vnd.visio":{extension:".vsd"},"application/x-7z-compressed":{extension:".7z"},"application/x-abiword":{extension:".abw"},"application/x-bzip":{extension:".bz"},"application/x-bzip2":{extension:".bz2"},"application/x-cdf":{extension:".cda"},"application/x-csh":{extension:".csh"},"application/x-freearc":{extension:".arc"},"application/x-httpd-php":{extension:".php",raw:!0},"application/x-sh":{extension:".sh",raw:!0},"application/x-tar":{extension:".tar"},"application/xhtml+xml":{extension:".xhtml",raw:!0,language:"html"},"application/xml":{extension:".xml",raw:!0,language:"xml"},"application/yaml":{extension:".yaml",raw:!0,language:"yaml"},"application/zip":{extension:".zip"},"audio/aac":{extension:".aac"},"audio/midi":{extension:".midi"},"audio/mpeg":{extension:".mp3",preview:"audio"},"audio/ogg":{extension:".oga"},"audio/wav":{extension:".wav"},"audio/webm":{extension:".weba"},"font/otf":{extension:".otf"},"font/ttf":{extension:".ttf"},"font/woff":{extension:".woff"},"font/woff2":{extension:".woff2"},"image/apng":{extension:".apng",preview:"image",alpha:!0},"image/avif":{extension:".avif",preview:"image"},"image/bmp":{extension:".bmp",preview:"image"},"image/gif":{extension:".gif",preview:"image",alpha:!0},"image/jpeg":{extension:".jpg",preview:"image"},"image/png":{extension:".png",preview:"image",alpha:!0},"image/svg+xml":{extension:".svg",raw:!0,language:"xml",preview:"image",alpha:!0},"image/tiff":{extension:".tiff"},"image/vnd.microsoft.icon":{extension:".ico",preview:"image"},"image/webp":{extension:".webp",preview:"image",alpha:!0},"text/calendar":{extension:".ics",raw:!0},"text/css":{extension:".css",raw:!0,language:"css"},"text/csv":{extension:".csv",raw:!0},"text/html":{extension:".html",raw:!0,language:"html",preview:"object"},"text/javascript":{extension:".js",raw:!0},"text/json":{extension:".json",raw:!0,language:"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"}},T=Object.entries(A).filter(([,e])=>e?.raw).map(([e])=>e);function D(e){return A[e]||(e.endsWith("+json")?{extension:".json",raw:!0,language:"json"}:void 0)}var C=async(e,t,n)=>{var r;let a=(0,S.u)(t);return n?.decode?await n.decode(e,t):(r=a.essence,D(r)?.raw)?new TextDecoder(a.parameters.get("charset")).decode(e):new Blob([e],{type:a.essence})};
4let $={DEFAULT:"An unknown error has occurred.",INVALID_URL:"The URL seems to be invalid. Try adding a valid URL.",INVALID_HEADER:"There is an invalid header present, please double check your params.",MISSING_FILE:"File uploads are not saved in history, you must re-upload the file.",REQUEST_ABORTED:"The request has been cancelled",REQUEST_FAILED:"An error occurred while making the request"},P=e=>"Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'."===e?$.MISSING_FILE:"Failed to construct 'URL': Invalid URL"===e?$.INVALID_URL:"Failed to execute 'fetch' on 'Window': Invalid name"===e?$.INVALID_HEADER:e,I=(e,t=$.DEFAULT)=>(console.error(e),e instanceof Error)?(e.message=P(e.message),e):"string"==typeof e?Error(P(e)):Error(t);var N=n(46778),U=n(19046);let M={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)"}
4,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)"}
4,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)"}};var R=n(62365);let j=(e,t=!1)=>{let n=Object.fromEntries(e);t&&["Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers"].map(e=>e.toLowerCase()).forEach(e=>delete n[e]),delete n[R.ou];let r=Object.keys(n).find(e=>"x-scalar-modified-headers"===e.toLowerCase()),a=r?n[r]?.toString().split(", ")?.map(e=>e.toLowerCase())??[]:[];return Object.keys(n).forEach(e=>{a.includes(e.toLowerCase())&&delete n[e]}),r&&delete n[r],Object.keys(n).forEach(e=>{let t=/^x-scalar-original-/i;if(t.test(e)){let r=e.replace(t,"");n[e]&&(n[r]=n[e],delete n[e])}}),Object.keys(n).forEach(e=>{let t=L(e);e!==t&&n[e]&&(n[t]=n[e],delete n[e])}),Object.fromEntries(Object.entries(n).sort(([e],[t])=>e.localeCompare(t)))},L=e=>e.split("-").map(e=>e.charAt(0).toUpperCase()+e.toLowerCase().slice(1)).join("-");var Z=n(20266),B={decodeValues:!0,map:!1,silent:!1,split:"auto"};function z(e){return"string"!=typeof e||e in{}}function F(){return Object.create(null)}function Q(e){return"string"==typeof e&&!!e.trim()}function H(e,t){var n,r,a,i,o=e.split(";").filter(Q),l=(n=o.shift(),r="",a="",(i=n.split("=")).length>1?(r=i.shift(),a=i.join("=")):a=n,{name:r,value:a}),s=l.name,u=l.value;if(t=t?Object.assign({},B,t):B,z(s))return null;try{u=t.decodeValues?decodeURIComponent(u):u}catch(e){console.error("set-cookie-parser: failed to decode cookie value. Set options.decodeValues=false to disable decoding.",e)}var c=F();return c.name=s,c.value=u,o.forEach(function(e){var t=e.split("="),n=t.shift().trimLeft().toLowerCase();if(!z(n)){var r=t.join("=");if("expires"===n)c.expires=new Date(r);else if("max-age"===n){var a=parseInt(r,10);Number.isNaN(a)||(c.maxAge=a)}else"secure"===n?c.secure=!0:"httponly"===n?c.httpOnly=!0:"samesite"===n?c.sameSite=r:"partitioned"===n?c.partitioned=!0:n&&(c[n]=r)}}),c}function q(e,t){if(t=t?Object.assign({},B,t):B,!e)return t.map?F():[];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 n=e.headers[Object.keys(e.headers).find(function(e){return"set-cookie"===e.toLowerCase()})];n||!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=n}}var r=t.split,a=Array.isArray(e);if("auto"===r&&(r=!a),a||(e=[e]),e=e.filter(Q),r&&(e=e.map(V).flat()),!t.map)return e.map(function(e){return H(e,t)}).filter(Boolean);var i=F();return e.reduce(function(e,n){var r=H(n,t);return r&&!z(r.name)&&(e[r.name]=r),e},i)}function V(e){if(Array.isArray(e))return e;if("string"!=typeof e)return[];var t,n,r,a,i,o=[],l=0;function s(){for(;l<e.length&&/\s/.test(e.charAt(l));)l+=1;return l<e.length}for(;l<e.length;){for(t=l,i=!1;s();)if(","===(n=e.charAt(l))){for(r=l,l+=1,s(),a=l;l<e.length&&"="!==(n=e.charAt(l))&&";"!==n&&","!==n;)l+=1;l<e.length&&"="===e.charAt(l)?(i=!0,l=a,o.push(e.substring(t,r)),t=l):l=r+1}else l+=1;(!i||l>=e.length)&&o.push(e.substring(t,e.length))}return o}q.parseSetCookie=q,q.parse=q,q.parseString=H,q.splitCookiesString=V;var W=[204,205,304],X=async({isUsingProxy:e,requestPayload:t,plugins:n=[],customFetch:r=fetch})=>{try{let a=performance.now(),i=(0,N.d)()?await r(...t):await r((0,U.hk)(...t)),o=performance.now(),l=Date.now(),s=o-a,u=i.headers.get("content-type"),c=j(i.headers,e),d=new URL(i.url),p=d.pathname+d.search,m=i.statusText||M[i.status]?.name||"",f=t[1].method??"GET",h=W.includes(i.status);if(u?.startsWith("text/event-stream")&&i.body)return G({response:i,requestPayload:t,timestamp:l,duration:s,responseHeaders:c,statusText:m,method:f,fullPath:p});return K({response:i,requestPayload:t,timestamp:l,duration:s,responseHeaders:c,statusText:m,method:f,fullPath:p,contentType:u,shouldSkipBody:h,plugins:n})}catch(e){return[I(e,$.REQUEST_FAILED),null]}},Y=e=>{let t=q(e.headers.get(R.ou)??"").map(e=>Z.qC(e.name,e.value,{...e,sameSite:e.sameSite,encode:e=>e}));return t.length?t:null},G=({response:e,requestPayload:t,timestamp:n,duration:r,responseHeaders:a,statusText:i,method:o,fullPath:l})=>{let s=new Response(null,{status:e.status,statusText:i,headers:e.headers}),u=Y(s)??g(s.headers);return[null,{timestamp:n,requestPayload:t,response:{...s,headers:a,cookieHeaderKeys:u,reader:e.body.getReader(),duration:r,method:o,path:l},originalResponse:s.clone()}]},K=async({response:e,requestPayload:t,timestamp:n,duration:r,responseHeaders:a,statusText:i,method:o,fullPath:l,contentType:s,shouldSkipBody:u,plugins:c})=>{let d=await e.clone().arrayBuffer(),p=_(s),m=E(s).essence,f=await C(d,p,k(m,c)),h=new Response(u?null:d,{status:e.status,statusText:i,headers:e.headers}),v=Y(h)??g(h.headers);return[null,{timestamp:n,requestPayload:t,response:{...h,headers:a,cookieHeaderKeys:v,data:f,size:d.byteLength,duration:r,method:o,status:e.status,path:l},originalResponse:e.clone()}]},J=n(55372),ee=n(86940),et=n(74275),en=e=>null==e||"string"==typeof e&&""===e.trim(),er=(e=[],t="default")=>{let n=[];for(let r of e){let e=(0,et.n)(r);if("path"!==e.in)continue;let a=(0,ee.W7)(e,t,void 0);!(0,J.x)(e,a)&&en(a?.value)&&n.push(e.name)}return n.length>0?{ok:!1,invalidParams:n}:{ok:!0}},ea=n(16854),ei=["aria-controls","aria-selected","tabindex"],eo=(0,i.aZ)({__name:"SectionFilterButton",props:{selected:{type:Boolean},controls:{}},setup:e=>(t,n)=>((0,i.wg)(),(0,i.iD)("button",{"aria-controls":e.controls??"","aria-selected":!!e.selected,class:(0,o.C_)(["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,i.WI)(t.$slots,"default")],10,ei))}),el=n(19614),es={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"},eu={class:"filter-button context-bar-group-hover:text-c-1 absolute -right-[30px] flex items-center"},ec={class:"context-bar-group-hover:hidden mr-1.5"},ed=(0,i.aZ)({__name:"SectionFilter",props:(0,i.Vf)({filters:{default:()=>[]},filterIds:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,i.tT)(e,"modelValue"),n=(0,l.iH)(),r=r=>{let a=t.value?e.filters.indexOf(t.value):0,o=e.filters.length;t.value=e.filters[(a+("prev"===r?-1:1)+o)%o],(0,i.Y3)(()=>
4{if(n.value){let e=n.value.querySelector('button[aria-selected="true"]');e&&e.focus()}})};return(a,u)=>((0,i.wg)(),(0,i.iD)("div",{ref_key:"tablist",ref:n,class:"filter-hover context-bar-group ml-auto hidden lg:flex",role:"tablist",onKeydown:[u[0]||(u[0]=(0,el.D2)(e=>r("prev"),["left"])),u[1]||(u[1]=(0,el.D2)(e=>r("next"),["right"]))]},[(0,i._)("div",es,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.filters,n=>((0,i.wg)(),(0,i.j4)(eo,{key:n,class:"filter-hover-item",controls:e.filterIds?.[n],role:"tab",selected:t.value===n,onClick:e=>t.value=n},{default:(0,i.w5)(()=>[(0,i.Uk)((0,o.zw)(n),1)]),_:2},1032,["controls","selected","onClick"]))),128)),(0,i._)("div",eu,[(0,i._)("span",ec,(0,o.zw)(t.value),1),(0,i.Wm)((0,l.SU)(s.sN),{icon:"FilterList",size:"md",thickness:"2"})])])],544))}}),ep=(0,c.Z)(ed,[["__scopeId","data-v-f97cc68c"]]),em={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"},ef=(0,i.aZ)({inheritAttrs:!1,__name:"ViewLayoutSection",setup(e){let{cx:t}=(0,s.li)();return(e,n)=>((0,i.wg)(),(0,i.iD)("section",(0,o.vs)((0,i.F4)((0,l.SU)(t)("xl:custom-scroll bg-b-1 flex flex-1 flex-col xl:h-full xl:min-w-0"))),[e.$slots.title?((0,i.wg)(),(0,i.iD)("div",em,[(0,i.WI)(e.$slots,"title")])):(0,i.kq)("",!0),(0,i.WI)(e.$slots,"default")],16))}});function eh({multiple:e,accept:t,onChange:n,onError:r}={}){let a;let i=(0,l.iH)(null);return"undefined"!=typeof document&&((a=document.createElement("input")).type="file",a.onchange=e=>{i.value=e.target.files,n?.(i.value)},a.onerror=()=>r?.(),a.multiple=e,a.accept=t),{files:(0,l.OT)(i),open:()=>{if(!a)return r?.();a.click()}}}var eg=e=>{if(e instanceof File)return e.name},ev=n(39304),ey=n(47946),eb=n(74653),eO=(0,i.aZ)({__name:"DataTableHeader",setup(e){let{cx:t}=(0,s.li)();return(e,n)=>((0,i.wg)(),(0,i.j4)(eb.Z,(0,i.dG)({is:"th"},(0,l.SU)(t)("items-center font-medium px-2 min-w-0 -outline-offset-1")),{default:(0,i.w5)(()=>[(0,i.WI)(e.$slots,"default")]),_:3},16))}}),ew=n(5713),ek=(e,t)=>{if(!e||!("type"in e)||"string"!=typeof t)return{ok:!0};if("integer"===e.type||"number"===e.type){let n=Number(t);if(isNaN(n))return{ok:!1,message:"Value must be a number (e.g., 42.5)"};if("integer"===e.type&&!Number.isInteger(n))return{ok:!1,message:"Value must be a whole number (e.g., 42)"};if(void 0!==e.minimum&&n<e.minimum)return{ok:!1,message:`Value must be ${e.minimum} or greater`};if(void 0!==e.maximum&&n>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}},ex=n(93505),eS=n(36228),e_=n(34442),eE=["aria-label","role"],eA={class:"w-content text-xxs text-c-1 grid min-w-48 gap-1.5 rounded px-1.5 pt-2 pb-1.5 leading-none *:max-w-64"},eT={key:0,class:"text-error-1"},eD={key:1,class:"schema text-c-2 truncate *:not-first:before:content-['_\xb7_']"},eC={key:0},e$={key:1},eP={key:2},eI={key:3},eN={key:4},eU=(0,i.aZ)({__name:"RequestTableTooltip",props:{schema:{},value:{},description:{}},setup(e){let t=(0,i.Fl)(()=>ek(e.schema,e.value)),n=(0,i.Fl)(()=>!1===t.value.ok);return(r,a)=>((0,i.wg)(),(0,i.j4)((0,l.SU)(s.A8),{offset:4,placement:"left",teleport:""},{popover:(0,i.w5)(()=>[(0,i._)("div",eA,[!1===t.value.ok?((0,i.wg)(),(0,i.iD)("div",eT,(0,o.zw)(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,i.wg)(),(0,i.iD)("div",eD,["type"in e.schema?((0,i.wg)(),(0,i.iD)("span",eC,(0,o.zw)(e.schema.type),1)):(0,i.kq)("",!0),"format"in e.schema?((0,i.wg)(),(0,i.iD)("span",e$,(0,o.zw)(e.schema.format),1)):(0,i.kq)("",!0),"minimum"in e.schema?((0,i.wg)(),(0,i.iD)("span",eP,"min: "+(0,o.zw)(e.schema.minimum),1)):(0,i.kq)("",!0),"maximum"in e.schema?((0,i.wg)(),(0,i.iD)("span",eI,"max: "+(0,o.zw)(e.schema.maximum),1)):(0,i.kq)("",!0),"default"in e.schema?((0,i.wg)(),(0,i.iD)("span",eN,"default: "+(0,o.zw)(e.schema.default),1)):(0,i.kq)("",!0)])):(0,i.kq)("",!0),e.description&&!n.value?((0,i.wg)(),(0,i.j4)((0,l.SU)(s.eV),{key:2,value:e.description},null,8,["value"])):(0,i.kq)("",!0)])]),default:(0,i.w5)(()=>
4[(0,i._)("button",{"aria-label":n.value?"Input is invalid":"More Information",class:"text-c-2 hover:text-c-1 hover:bg-b-2 rounded p-1",role:n.value?"alert":"none",type:"button"},[n.value?((0,i.wg)(),(0,i.j4)((0,l.SU)(eS.Z),{key:0,class:"text-orange size-3.5 brightness-90 hover:brightness-75"})):((0,i.wg)(),(0,i.j4)((0,l.SU)(e_.Z),{key:1,class:"text-c-2 hover:text-c-1 size-3.5"}))],8,eE)]),_:1}))}}),eM=n(62529),eR=n(1859),ej={key:0},eL={key:1},eZ={key:2},eB={key:3},ez={key:4},eF={key:5},eQ=(0,i.aZ)({name:"ScalarIconGlobe",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,eR.n)(e);return(e,r)=>((0,i.wg)(),(0,i.iD)("svg",(0,i.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,l.SU)(t)),[(0,i.WI)(e.$slots,"default"),"bold"===(0,l.SU)(n)?((0,i.wg)(),(0,i.iD)("g",ej,[...r[0]||(r[0]=[(0,i._)("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,187a113.4,113.4,0,0,1-20.39-35h40.82a116.94,116.94,0,0,1-10,20.77A108.61,108.61,0,0,1,128,207Zm-26.49-59a135.42,135.42,0,0,1,0-40h53a135.42,135.42,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.25a160.63,160.63,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128Zm84-79a113.4,113.4,0,0,1,20.39,35H107.59a116.94,116.94,0,0,1,10-20.77A108.61,108.61,0,0,1,128,49Zm50.73,59h30.82a83.52,83.52,0,0,1,0,40H178.75a160.63,160.63,0,0,0,0-40Zm20.77-24H173.71a140.82,140.82,0,0,0-15.5-34.36A84.51,84.51,0,0,1,199.52,84ZM97.79,49.64A140.82,140.82,0,0,0,82.29,84H56.48A84.51,84.51,0,0,1,97.79,49.64ZM56.48,172H82.29a140.82,140.82,0,0,0,15.5,34.36A84.51,84.51,0,0,1,56.48,172Zm101.73,34.36A140.82,140.82,0,0,0,173.71,172h25.81A84.51,84.51,0,0,1,158.21,206.36Z"},null,-1)])])):"duotone"===(0,l.SU)(n)?((0,i.wg)(),(0,i.iD)("g",eL,[...r[1]||(r[1]=[(0,i._)("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),(0,i._)("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,l.SU)(n)?((0,i.wg)(),(0,i.iD)("g",eZ,[...r[2]||(r[2]=[(0,i._)("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,l.SU)(n)?((0,i.wg)(),(0,i.iD)("g",eB,[...r[3]||(r[3]=[(0,i._)("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,l.SU)(n)?((0,i.wg)(),(0,i.iD)("g",ez,[...r[4]||(r[4]=[(0,i._)("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,10
47.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,l.SU)(n)?((0,i.wg)(),(0,i.iD)("g",eF,[...r[5]||(r[5]=[(0,i._)("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,i.kq)("",!0)],16))}}),eH=n(91474),eq=n(17104),eV={class:"text-c-2 filemask flex w-full max-w-[100%] items-center justify-center overflow-hidden p-1"},eW={key:1,class:"p-0.5"},eX=(0,i.aZ)({__name:"RequestTableRow",props:{data:{},hasCheckboxDisabled:{type:Boolean},invalidParams:{},label:{},environment:{},showUploadButton:{type:Boolean}},emits:["upsertRow","deleteRow","uploadFile","removeFile","navigate"],setup(e,{emit:t}){let n=(0,l.iH)(e.data.name??""),r=(0,l.iH)((0,eH.O)(e.data.value)??""),a=(0,l.iH)(e.data.isDisabled??!1);(0,i.YP)(()=>e.data.name,e=>n.value=e??""),(0,i.YP)(()=>e.data.value,e=>r.value=(0,eH.O)(e)??""),(0,i.YP)(()=>e.data.isDisabled,e=>a.value=e??!1);let u=(0,i.Fl)(()=>r.value instanceof File),c=(0,i.Fl)(()=>(u.value?eg(r.value):r.value)??""),d=(0,i.Fl)(()=>e.data.schema?.default),p=(0,i.Fl)(()=>{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=eq.D.schema(e.data.schema.items);if(t?.enum)return t.enum.map(e=>String(e))}return[]}),m=(0,i.Fl)(()=>e.data.schema&&"minimum"in e.data.schema?e.data.schema.minimum:void 0),f=(0,i.Fl)(()=>e.data.schema&&"maximum"in e.data.schema?e.data.schema.maximum:void 0),h=(0,i.Fl)(()=>e.data.schema&&"type"in e.data.schema?e.data.schema.type:void 0),g=(0,i.Fl)(()=>ek(e.data.schema,r.value)),v=e=>{void 0!==e.name&&(n.value=e.name),void 0!==e.value&&(r.value=e.value),a.value=e.isDisabled??!1,t("upsertRow",{name:n.value,value:r.value,isDisabled:a.value})};return(y,b)=>((0,i.wg)(),(0,i.j4)((0,l.SU)(ew.Z),{id:e.data.name,class:(0,o.C_)({alert:!1===g.value.ok,error:!1===g.value.ok&&e.invali
4dParams?.has(e.data.name)})},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(ex.Z),{class:"!border-r",disabled:e.hasCheckboxDisabled??!1,modelValue:!a.value,"onUpdate:modelValue":b[0]||(b[0]=e=>v({isDisabled:!e}))},null,8,["disabled","modelValue"]),(0,i.Wm)((0,l.SU)(eb.Z),null,{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(ev.Z),{"aria-label":`${e.label} Key`,disableCloseBrackets:"",disabled:e.data.isReadonly,disableEnter:"",disableTabIndent:"",environment:e.environment,lineWrapping:"",modelValue:n.value,placeholder:"Key",required:!!e.data.isRequired,onNavigate:b[1]||(b[1]=e=>t("navigate",e)),onSelectVariable:b[2]||(b[2]=e=>v({name:e})),"onUpdate:modelValue":b[3]||(b[3]=e=>v({name:e}))},null,8,["aria-label","disabled","environment","modelValue","required"])]),_:1}),(0,i.Wm)((0,l.SU)(eb.Z),null,{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(ev.Z),{"aria-label":`${e.label} Value`,class:"pr-6 group-hover:pr-10 group-has-[.cm-focused]:pr-10",default:d.value,disableCloseBrackets:"",disabled:e.data.isReadonly,disableEnter:"",disableTabIndent:"",enum:p.value,environment:e.environment,examples:e.data.schema?.examples?.map(e=>String(e))??[],linethrough:e.data.isOverridden,lineWrapping:"",max:f.value,min:m.value,modelValue:c.value,placeholder:"Value",type:h.value,withFakeData:"",onNavigate:b[6]||(b[6]=e=>t("navigate",e)),"onUpdate:modelValue":b[7]||(b[7]=e=>v({value:e}))},{icon:(0,i.w5)(()=>[(e.data.name||r.value)&&!e.data.isRequired&&!0!==e.data.isReadonly?((0,i.wg)(),(0,i.j4)((0,l.SU)(s.Xk),{key:0,class:"text-c-2 hover:text-c-1 hover:bg-b-2 z-context -mr-0.5 hidden h-fit roun
4ded p-1 group-hover:flex group-has-[.cm-focused]:flex",size:"sm",variant:"ghost",onClick:b[4]||(b[4]=e=>t("deleteRow"))},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(eM.Z),{class:"size-3.5"})]),_:1})):(0,i.kq)("",!0),void 0!==e.data.globalRoute?((0,i.wg)(),(0,i.j4)((0,l.SU)(s.ot),{key:1,class:"text-c-2 hover:text-c-1 hover:bg-b-2 z-context -mr-0.5 h-fit",icon:(0,l.SU)(eQ),label:"Global cookies are shared across the whole workspace. Click to navigate.",size:"xs",tooltip:"top",variant:"ghost",onClick:b[5]||(b[5]=n=>t("navigate",e.data.globalRoute))},null,8,["icon"])):(0,i.kq)("",!0),e.data.isReadonly?((0,i.wg)(),(0,i.j4)(eU,{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,i.wg)(),(0,i.j4)(eU,{key:3,description:e.data.description,schema:e.data.schema,value:r.value},null,8,["description","schema","value"])):(0,i.kq)("",!0)]),_:1},8,["aria-label","default","disabled","enum","environment","examples","linethrough","max","min","modelValue","type"])]),_:1}),e.showUploadButton?((0,i.wg)(),(0,i.j4)((0,l.SU)(eb.Z),{key:0,class:"group/upload flex items-center justify-center whitespace-nowrap"},{default:(0,i.w5)(()=>[u.value?((0,i.wg)(),(0,i.iD)(i.HY,{key:0},[(0,i._)("div",eV,[(0,i._)("span",null,(0,o.zw)(c.value),1)]),(0,i._)("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:b[8]||(b[8]=e=>t("removeFile"))}," Delete ")],64)):((0,i.wg)(),(0,i.iD)("div",eW,[(0,i.Wm)((0,l.SU)(s.Xk),{class:"bg-b-2 hover:bg-b-3 text-c-2 h-fit border-0 py-px shadow-none",size:"sm",variant:"outlined",onClick:b[9]||(b[9]=e=>t("uploadFile"))},{default:(0,i.w5)(()=>[b[10]||(b[10]=(0,i._)("span",null,"Select File",-1)),(0,i.Wm)((0,l.SU)(s.sN),{class:"ml-1",icon:"Upload",size:"xs",thickness:"2.5"})]),_:1})]))]),_:1})):(0,i.kq)("",!0)]),_:1},8,["id","class"]))}}),eY=(0,i.aZ)({__name:"RequestTable",props:{data:{},hasCheckboxDisabled:{type:Boolean},invalidParams:{},label:{},showUploadButton:{type:Boolean},showAddRowPlaceholder:{type:Boolean,default:!0},environment:{}},emits:["upsertRow","deleteRow","uploadFile","removeFile","navigate"],setup(e,{emit:t}){let n=(0,i.Fl)(()=>e.showUploadButton?["36px","","","auto"]:["36px","",""]),r=(0,i.Fl)(()=>{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(a,s)=>((0,i.wg)(),(0,i.j4)((0,l.SU)(ey.Z),{class:"group/table flex-1",columns:n.value},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(ew.Z),{class:"sr-only !block"},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(eO),null,{default:(0,i.w5)(()=>[(0,i.Uk)((0,o.zw)(e.label)+" Enabled",1)]),_:1}),(0,i.Wm)((0,l.SU)(eO),null,{default:(0,i.w5)(()=>[(0,i.Uk)((0,o.zw)(e.label)+" Key",1)]),_:1}),(0,i.Wm)((0,l.SU)(eO),null,{default:(0,i.w5)(()=>[(0,i.Uk)((0,o.zw)(e.label)+" Value",1)]),_:1})]),_:1}),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(r.value,(n,r)=>((0,i.wg)(),(0,i.j4)(eX,{key:r,data:n,environment:e.environment,hasCheckboxDisabled:e.hasCheckboxDisabled,invalidParams:e.invalidParams,label:e.label,showUploadButton:e.showUploadButton,onDeleteRow:e=>t("deleteRow",r),onNavigate:s[0]||(s[0]=e=>t("navigate",e)),onRemoveFile:e=>t("removeFile",r),onUploadFile:e=>t("uploadFile",r),onUpsertRow:e=>t("upsertRow",r,e)},null,8,["data","environment","hasCheckboxDisabled","invalidParams","label","showUploadButton","onDeleteRow","onRemoveFile","onUploadFile","onUpsertRow"]))),128))]),_:1},8,["columns"]))}}),eG=(0,c.Z)(eY,[["__scopeId","data-v-36811e28"]]),eK=n(23899),eJ=n(39473),e0=n(45698),e1=e=>e instanceof File?e.name:"object"==typeof e&&null!==e?JSON.stringify(e):String(e),e2=(e,t,n)=>{if(!e?.value||"multipart/form-data"!==t&&"application/x-www-form-urlencoded"!==t)return[];let r=n&&(0,e0.w_)(n)?n:void 0,a=r?new Set(r.required??[]):void 0,i=({name:e,value:t,isDisabled:n=!1})=>
4{let i={name:e,value:t,isDisabled:n};if(!r||!e)return i;let o=eq.D.schema(r.properties?.[e]);return i.schema=o,i.description=o?.description,i.isRequired=a?.has(e),i.isDisabled=n,i};return Array.isArray(e.value)?e.value.map(e=>(0,eK.K)(e)?i({name:String(e.name),value:e.value instanceof File?e.value:String(e.value),isDisabled:!!e.isDisabled}):{name:"",value:e,isDisabled:!1}):"object"==typeof e.value&&e.value?(0,eJ.q)(e.value).map(([e,t])=>i({name:String(e),value:e1(t)})):[]},e4=(0,i.aZ)({__name:"RequestBodyForm",props:{example:{},bodySchema:{},selectedContentType:{},environment:{}},emits:["update:formValue"],setup(e,{emit:t}){let n=(0,l.iH)([]);(0,i.YP)(()=>[e.example,e.bodySchema,e.selectedContentType],([e,t,r])=>{n.value=e2(e,r,t)},{immediate:!0});let r=e=>{t("update:formValue",e.map(e=>({name:e.name,value:e.value,isDisabled:e.isDisabled??!1})))},a=(e,t)=>{if(e>=n.value.length){n.value=[...n.value,{name:"",value:"",...t,isDisabled:!1}],r(n.value);return}n.value=n.value.map((n,r)=>r===e?{...n,...t}:n),r(n.value)},o=e=>{n.value=n.value.filter((t,n)=>n!==e),r(n.value)},s=e=>{let{open:t}=eh({onChange:t=>{let r=t?.[0];if(r){let t=n.value[e];a(e,{name:t?.name||r.name,value:r})}},multiple:!1,accept:"*/*"});t()};return(t,r)=>"multipart/form-data"===e.selectedContentType?((0,i.wg)(),(0,i.j4)(eG,{key:0,data:n.value,environment:e.environment,showUploadButton:"",onDeleteRow:o,onRemoveFile:r[0]||(r[0]=e=>a(e,{value:void 0})),onUploadFile:s,onUpsertRow:a},null,8,["data","environment"])):((0,i.wg)(),(0,i.j4)(eG,{key:1,data:n.value,environment:e.environment,onDeleteRow:o,onUpsertRow:a},null,8,["data","environment"]))}}),e8=n(60626);let e6={"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 e3={key:0,class:"text-c-3 flex min-h-10 w-full items-center justify-center border-t p-2 text-sm"},e5={key:1,class:"flex items-center justify-center overflow-hidden border-t p-1.5"},e7={class:"text-c-2 w-full max-w-full overflow-hidden rounded border px-1.5 py-1 text-xs whitespace-nowrap"},e9=(0,i.aZ)({__name:"RequestBody",props:{requestBody:{},exampleKey:{},title:{},environment:{},requestBodyCompositionSelection:{}},emits:["update:contentType","update:value","update:formValue"],setup(e,{emit:t}){let n={"application/json":"json","application/xml":"xml","application/yaml":"yaml"},r=(0,i.Fl)(()=>(0,ee.Rh)(e.requestBody,e.exampleKey)??"none"),a=(0,eJ.q)(e6).map(([e,t])=>({id:e,label:t})),u=(0,i.Fl)({get:()=>a.find(e=>e.id===r.value)??a.at(-1),set:e=>{t("update:contentType",{value:e.id})}}),c=(0,i.Fl)(()=>e.requestBody&&(0,ee.gi)(e.requestBody,r.value,e.exampleKey,e.requestBodyCompositionSelection)),d=(0,i.Fl)(()=>{if(!c.value)return"";let e=c.value.value;return"string"==typeof e?e:JSON.stringify(e,null,2)}),p=(0,i.Fl)(()=>eq.D.schema(e.requestBody?.content?.[r.value]?.schema));return(m,f)=>((0,i.wg)(),(0,i.j4)((0,l.SU)(e8.Z),null,{title:(0,i.w5)(()=>
4[(0,i.Uk)((0,o.zw)(e.title),1)]),default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(ey.Z),{columns:[""],presentational:""},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(eO),{class:"relative col-span-full flex h-8 cursor-pointer items-center justify-between border-r-0 !p-0"},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(s.N1),{modelValue:u.value,"onUpdate:modelValue":f[0]||(f[0]=e=>u.value=e),options:(0,l.SU)(a),teleport:""},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(s.Xk),{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,i.w5)(()=>[(0,i._)("span",null,(0,o.zw)((0,l.SU)(e6)[r.value]??r.value),1),(0,i.Wm)((0,l.SU)(s.sN),{icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["modelValue","options"])]),_:1}),(0,i.Wm)((0,l.SU)(ew.Z),null,{default:(0,i.w5)(()=>["none"===r.value?((0,i.wg)(),(0,i.iD)("div",e3,[...f[5]||(f[5]=[(0,i._)("span",null,"No Body",-1)])])):"application/octet-stream"===r.value?((0,i.wg)(),(0,i.iD)("div",e5,[void 0!==(0,l.SU)(eg)((0,l.SU)(eH.O)(c.value?.value))?((0,i.wg)(),(0,i.iD)(i.HY,{key:0},[(0,i._)("span",e7,(0,o.zw)((0,l.SU)(eg)((0,l.SU)(eH.O)(c.value?.value))),1),(0,i.Wm)((0,l.SU)(s.Xk),{class:"bg-b-2 hover:bg-b-3 text-c-2 ml-1 border-0 shadow-none",size:"sm",variant:"outlined",onClick:f[1]||(f[1]=e=>t("update:value",{payload:void 0,contentType:r.value}))},{default:(0,i.w5)(()=>[...f[6]||(f[6]=[(0,i.Uk)(" Delete ",-1)])]),_:1})],64)):((0,i.wg)(),(0,i.j4)((0,l.SU)(s.Xk),{key:1,class:"bg-b-2 hover:bg-b-3 text-c-2 border-0 shadow-none",size:"sm",variant:"outlined",onClick:f[2]||(f[2]=()=>(function(e){let{open:t}=eh({onChange:t=>{let n=t?.[0];n&&e(n)},multiple:!1,accept:"*/*"});t()})(e=>t("update:value",{payload:e,contentType:r.value})))},{default:(0,i.w5)(()=>[f[7]||(f[7]=(0,i._)("span",null,"Select File",-1)),(0,i.Wm)((0,l.SU)(s.sN),{class:"ml-1",icon:"Upload",size:"xs",thickness:"2.5"})]),_:1}))])):"multipart/form-data"===r.value||"application/x-www-form-urlencoded"===r.value?((0,i.wg)(),(0,i.j4)(e4,{key:2,bodySchema:p.value,environment:e.environment,example:c.value,selectedContentType:r.value,"onUpdate:formValue":f[3]||(f[3]=e=>t("update:formValue",{payload:e,contentType:r.value}))},null,8,["bodySchema","environment","example","selectedContentType"])):((0,i.wg)(),(0,i.j4)((0,l.SU)(ev.Z),{key:3,class:"border-t px-3",content:"",environment:e.environment,language:n[r.value]??"plaintext",lineNumbers:"",lint:"",modelValue:d.value,withFakeData:"","onUpdate:modelValue":f[4]||(f[4]=e=>t("update:value",{payload:e,contentType:r.value}))},null,8,["environment","language","modelValue"]))]),_:1})]),_:1})]),_:1}))}}),te=(0,c.Z)(e9,[["__scopeId","data-v-06778e40"]]),tt=n(38917),tn=n(46117),tr=n(44154),ta=n(63061),ti=n(92969),to=n(87989),tl={class:"flex flex-1"},ts={class:"overflow-hidden"},tu=(0,i.aZ)({__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,i.Fl)(()=>(0,tr.N)(e.operation)),n=(0,i.Fl)(()=>(0,tn.Z)(t.value,e.clientOptions)),r=(0,l.iH)((0,tt._l)(n.value,e.selectedClient));(0,i.YP)(()=>e.selectedClient,e=>{let t=(0,tt._l)(n.value,e);t&&(r.value=t)});let a=(0,i.Fl)(()=>(0,ta.i)(e.securitySchemes??[])),u=t=>{r.value=t,t&&!t.id.startsWith("custom")&&e.eventBus.emit("workspace:update:selected-client",t.id)},c=(0,i.Fl)(()=>(0,ti.L)({defaultDisabledParameters:!0,clientId:r.value?.id,customCodeSamples:t.value,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})),d=(0,i.Fl)(()=>n.value.some(e=>e.options.length>0));return(e,t)=>(0,i.wy)(((0,i.wg)(),(0,i.j4)((0,l.SU)(e8.Z),{class:"group/preview w-full border-t",defaultOpen:!1},{title:(0,i.w5)(()=>[...t[1]||(t[1]=[(0,i.Uk)("Code Snippet",-1)])]),actions:(0,i.w5)(()=>[(0,i._)("div",tl,[(0,i.Wm)((0,l.SU)(s.nV),{modelValue:r.value,options:n.value,placement:"bottom-end","onUpdate:modelValue":t[0]||(t[0]=e=>u(e))},{default:(0,i.w5)(({open:e})=>[(0,i.Wm)((0,l.SU)(s.Xk),{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,i.w5)(()=>[(0,i.Uk)((0,o.zw)(r.value?.title)+" ",1),(0,i.Wm)((0,l.SU)(to.Z),{class:(0,o.C_)(["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,i.w5)(()=>[(0,i.Wm)((0,l.SU)(s.Zf),null,{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(ey.Z),{columns:[""],presentational:""},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(ew.Z),null,{default:(0,i.w5)(()=>[(0,i._)("div",ts,[(0,i.Wm)((0,l.SU)(s.LS),{class:"text-base",content:c.value,hideCredentials:a.value,lang:r.value?.lang??"plaintext",lineNumbers:""},null,8,["content","hideCredentials","lang"])])]),_:1})]),_:1})]),_:1})]),_:1},512)),[[el.F8,d.value]])}}),tc={class:"text-c-2 request-meta-buttons flex whitespace-nowrap opacity-0 group-hover/params:opacity-100 has-[:focus-visible]:opacity-100"},td={class:"sr-only"}
4,tp=(0,i.aZ)({__name:"RequestParams",props:{rows:{},exampleKey:{},title:{},label:{},invalidParams:{},globalRoute:{},showAddRowPlaceholder:{type:Boolean,default:!0},environment:{},eventBus:{}},emits:["upsert","delete","deleteAll"],setup(e,{emit:t}){let n=(0,i.Fl)(()=>e.rows.length>1),r=(e,n)=>{let{value:r,...a}=n;r instanceof File||t("upsert",e,{...a,value:r??""})};return(a,u)=>((0,i.wg)(),(0,i.j4)((0,l.SU)(e8.Z),{class:"group/params",itemCount:e.rows.length},{title:(0,i.w5)(()=>[(0,i.Uk)((0,o.zw)(e.title),1)]),actions:(0,i.w5)(()=>[(0,i._)("div",tc,[n.value?((0,i.wg)(),(0,i.j4)((0,l.SU)(s.xZ),{key:0,content:"Clear optional parameters",placement:"left"},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(s.Xk),{class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:u[0]||(u[0]=(0,el.iM)(e=>t("deleteAll"),["stop"]))},{default:(0,i.w5)(()=>[u[3]||(u[3]=(0,i.Uk)(" Clear ",-1)),(0,i._)("span",td,"All "+(0,o.zw)(e.title),1)]),_:1})]),_:1})):(0,i.kq)("",!0)])]),default:(0,i.w5)(()=>[(0,i.Wm)(eG,{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:u[1]||(u[1]=e=>t("delete",{index:e})),onNavigate:u[2]||(u[2]=t=>e.eventBus.emit("ui:navigate",t)),onUpsertRow:r},null,8,["data","environment","exampleKey","globalRoute","invalidParams","label","showAddRowPlaceholder"])]),_:1},8,["itemCount"]))}}),tm=(e,t,n,{context:r,defaultParameters:a=0,globalParameters:i=0})=>{let o=a+i;return{delete:e=>{let a=r[e.index]?.originalParameter;a&&t.emit("operation:delete:parameter",{originalParameter:a,meta:n},{skipUnpackProxy:!0})},deleteAll:()=>t.emit("operation:delete-all:parameters",{type:e,meta:n}),upsert:(l,s)=>{let u=r[l];return l<a+i?t.emit("operation:update:extra-parameters",{type:l<a?"default":"global",in:e,meta:{...n,name:u?.name?.toLowerCase?.()??"NON_VALID"},payload:{isDisabled:s.isDisabled??!1}}):l>=o?t.emit("operation:upsert:parameter",{type:e,payload:s,originalParameter:u?.originalParameter??null,meta:n},{skipUnpackProxy:!0,debounceKey:`update:parameter-${e}-${l-o}`}):void 0}}},tf=e=>{if("content"in e&&e.content){let t=Object.keys(e.content);if(1===t.length)return e.content[t[0]]}},th=e=>"schema"in e&&e.schema?(0,et.n)(e.schema):(0,et.n)(tf(e)?.schema),tg=(e,t,n)=>e.reduce((e,r)=>{let a=n?n(r):r;return(e[r[t]]??=[]).push(a),e},{}),tv=n(28112),ty=n(27678),tb=n(66107),tO={class:"group pointer-events-none flex flex-1 items-center gap-1 lg:pr-24"},tw=["for"],tk=["id","placeholder","value"],tx={key:2,class:"text-c-1 flex h-8 items-center"},tS=["id","role"],t_=(0,i.aZ)({__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,i.Fl)(()=>({method:e.method,path:e.path,exampleKey:e.exampleKey})),n=(0,i.Fl)(()=>tg(e.operation.parameters?.map(e=>et.n(e))??[],"in",t=>{let n=(0,ee.W7)(t,e.exampleKey,void 0);return{name:t.name,value:n?.value??"",description:t.description,schema:th(t),isRequired:t.required,isDisabled:(0,J.x)(t,n),originalParameter:t}})),r=(0,i.Fl)(()=>tg(n.value.header?.map(e=>({...e,name:e.name.toLowerCase()}))??[],"name")),a=(0,i.Fl)(()=>{let t=e.operation["x-scalar-disable-parameters"]?.["default-headers"]?.[e.exampleKey]??{},n=e=>{let t=r.value[e.toLowerCase()]?.[0];return!!t&&!t.isDisabled};return Object.entries(e.defaultHeaders).map(([e,r])=>({name:e,value:r,schema:void 0,isOverridden:n(e),isReadonly:!0,isDisabled:t[e.toLowerCase()]??!1}))}),u=(0,i.Fl)(()=>[...a.value,...n.value.header??[]]),c=(0,i.Fl)(()=>{let t=(0,ee.Ko)(e.environment),n=(0,ty.BU)((0,ee.HJ)({server:e.server,path:e.path}),t),r=e.operation["x-scalar-disable-parameters"]?.["global-cookies"]?.[e.exampleKey]??{},a=(e,t)=>({name:e.name,value:e.value,globalRoute:{page:t,path:"cookies"},isReadonly:!0,isDisabled:r[e.name.toLowerCase()]??!1});return[{location:"workspace",cookies:e.workspaceCookies},{location:"document",cookies:e.documentCookies}
4].flatMap(({location:e,cookies:t})=>t.filter(e=>(0,ee.OS)({cookie:e,url:n,disabledGlobalCookies:{}})).map(t=>a(t,e)))}),d=(0,i.Fl)(()=>[...c.value??[],...n.value.cookie??[]]),p=(0,l.iH)("All"),m=["Auth","Variables","Cookies","Headers","Query","Body"],f={All:(0,i.Me)(),Auth:(0,i.Me)(),Variables:(0,i.Me)(),Cookies:(0,i.Me)(),Headers:(0,i.Me)(),Query:(0,i.Me)(),Body:(0,i.Me)()},h=(0,i.Fl)(()=>{let t=new Set(["All",...m]);return n.value.path?.length||t.delete("Variables"),(0,U.LV)(e.method)||t.delete("Body"),v.value&&t.delete("Auth"),[...t]}),g=(0,i.Fl)(()=>Object.fromEntries(h.value.map(e=>[e,f[e]]))),v=(0,i.Fl)(()=>"modal"===e.layout&&!Object.keys(e.securitySchemes??{}).length),y=(0,i.Fl)(()=>"modal"!==e.layout||!!(e.securityRequirements?.length||e.selectedSecurity.selectedSchemes.length)),b=(0,i.Fl)(()=>e.operation.summary?e.operation.summary:e.path.replace(tb.m.PROTOCOL,"")||"Request Name"),O=e=>"All"===p.value||p.value===e;(0,i.YP)(()=>e.method,e=>{"Body"!==p.value||(0,U.LV)(e)||(p.value="All")});let w=n=>{let r=n.target.value;e.eventBus.emit("operation:update:meta",{meta:t.value,payload:{summary:r.trim()}})},k=(0,i.Fl)(()=>({path:tm("path",e.eventBus,t.value,{context:n.value.path??[]}),cookie:tm("cookie",e.eventBus,t.value,{context:d.value??[],globalParameters:c.value.length}),header:tm("header",e.eventBus,t.value,{context:u.value,defaultParameters:a.value.length}),query:tm("query",e.eventBus,t.value,{context:n.value.query??[]})})),x=n=>e.eventBus.emit("operation:update:requestBody:contentType",{payload:{contentType:n.value},meta:t.value}),S=({payload:n,contentType:r})=>{let a="string"==typeof n?`update:requestBody:value-${r}`:void 0;e.eventBus.emit("operation:update:requestBody:value",{payload:n,contentType:r,meta:t.value},{debounceKey:a})},_=({payload:n,contentType:r})=>{let a=`update:requestBody:${r}-form-value`;e.eventBus.emit("operation:update:requestBody:formValue",{payload:n.map(e=>(0,eH.O)(e,{depth:1})),contentType:r,meta:t.value},{debounceKey:a})},E=(0,i.Me)(),A=(0,i.Fl)(()=>[...e.workspaceCookies,...e.documentCookies]),T=n=>e.eventBus.emit("operation:update:extension",{payload:n,meta:t.value});return(t,r)=>((0,i.wg)(),(0,i.j4)(ef,{"aria-label":`Request: ${e.operation.summary}`},{title:(0,i.w5)(()=>[(0,i._)("div",tO,["modal"!==e.layout?((0,i.wg)(),(0,i.iD)("label",{key:0,class:"pointer-events-auto absolute top-0 left-0 h-full w-full cursor-text opacity-0",for:(0,l.SU)(E)},null,8,tw)):(0,i.kq)("",!0),"modal"!==e.layout?((0,i.wg)(),(0,i.iD)("input",{key:1,id:(0,l.SU)(E),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:b.value,value:e.operation.summary,onBlur:w},null,40,tk)):((0,i.wg)(),(0,i.iD)("span",tx,(0,o.zw)(e.operation.summary),1))]),(0,i.Wm)(ep,{modelValue:p.value,"onUpdate:modelValue":r[0]||(r[0]=e=>p.value=e),filterIds:g.value,filters:h.value},null,8,["modelValue","filterIds","filters"])]),default:(0,i.w5)(()=>[(0,i._)("div",{id:g.value.All,class:"request-section-content custom-scroll relative flex flex-1 flex-col",role:"All"===p.value?"tabpanel":"none"},[(0,i.wy)((0,i.Wm)((0,l.SU)(tv.Z),{id:g.value.Auth,createAnySecurityScheme:"modal"!==e.layout,defaultOpen:y.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"]),[[el.F8,O("Auth")&&!v.value]]),(0,i.wy)((0,i.Wm)(tp,(0,i.dG)({id:g.value.Variables,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:n.value.path??[],showAddRowPlaceholder:!1,title:"Variables"},(0,i.mx)(k.value.path)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[el.F8,O("Variables")&&n.value.path?.length]]),(0,i.wy)((0,i.Wm)(tp,(0,i.dG)({id:g.value.Cookies,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:d.value??[],showAddRowPlaceholder:!0,title:"Cookies"},(0,i.mx)(k.value.cookie)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[el.F8,O("Cookies")]]),(0,i.wy)((0,i.Wm)(tp,(0,i.dG)({id:g.value.Headers,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:u.value??[],title:"Headers"},(0,i.mx)(k.value.header)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[el.F8,O("Headers")]]),(0,i.wy)((0,i.Wm)(tp,(0,i.dG)({id:g.value.Query,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:n.value.query??[],title:"Query Parameters"},(0,i.mx)(k.value.query)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[el.F8,O("Query")]]),(0,i.wy)((0,i.Wm)(te,{id:g.value.Body,environment:e.environment,exampleKey:e.exampleKey,requestBody:(0,l.SU)(et.n)(e.operation.requestBody),requestBodyCompositionSelection:e.requestBodyCompositionSelection,title:"Request Body","onUpdate:contentType":x,"onUpdate:formValue":_,"onUpdate:value":S},null,8,["id","environment","exampleKey","requestBody","requestBodyCompositionSelection"]),[[el.F8,O("Body")&&(0,l.SU)(U.LV)(e.method)]]),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.plugins,(t,n)=>((0,i.wg)(),(0,i.j4)((0,l.SU)(s.Zf),{key:n},{default:(0,i.w5)(()=>[t?.components?.request?(0,i.wy)(((0,i.wg)(),(0,i.j4)((0,i.LL)(t.components.request.component),(0,i.dG)({key:0,operation:e.operation},{ref_for:!0},t.components.request.additionalProps,{"onOperation:update:extension":T}),null,16,["operation"])),[[el.F8,"All"===p.value]]):(0,i.kq)("",!0)]),_:2},1024))),128)),r[1]||(r[1]=(0,i._)("div",{class:"flex grow"},null,-1)),(0,i.wy)((0,i.Wm)(tu,{clientOptions:e.clientOptions,eventBus:e.eventBus,globalCookies:A.value,integration:"client",method:e.method,operation:e.operation,path:e.path,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:l.SU(et.n)(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"]),[[el.F8,"All"===p.value]])],8,tS)]),_:1},8,["aria-label"]))}}),tE=(0,c.Z)(t_,[["__scopeId","data-v-482f2275"]]),tA={class:"flex-1 px-2 py-1.5 whitespace-nowrap"},tT=(0,i.aZ)({__name:"DataTableText",props:{text:{}},setup:e=>(t,n)=>((0,i.wg)(),(0,i.j4)(eb.Z,{class:"relative flex"},{default:(0,i.w5)(()=>[(0,i._)("span",tA,[(0,i.WI)(t.$slots,"default",{},()=>[(0,i.Uk)((0,o.zw)(e.text),1)])])]),_:3}))}),tD=["href"],tC=(0,i.aZ)({__name:"HelpfulLink",props:{href:{}},setup:e=>(t,n)=>((0,i.wg)(),(0,i.iD)("a",{class:"decoration-c-3 cursor-help underline underline-offset-2",href:e.href,rel:"noopener noreferrer",target:"_blank"},[(0,i.WI)(t.$slots,"default")],8,tD))});let t$={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"}
4,"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"},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"}
4,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 tP={key:0,class:"max-h-[calc(100%-32px)] overflow-y-auto"},tI={key:1,class:"text-c-3 bg-b-1 flex min-h-[64px] items-center justify-center border-t px-4 text-sm"},tN=(0,i.aZ)({__name:"Headers",props:{headers:{}},setup(e){let t=e=>t$[e.toLowerCase()];return(n,r)=>((0,i.wg)(),(0,i.j4)((0,l.SU)(e8.Z),{class:"overflow-auto",defaultOpen:!1,itemCount:e.headers.length},{title:(0,i.w5)(()=>[(0,i.WI)(n.$slots,"title")]),default:(0,i.w5)(()=>[e.headers.length?((0,i.wg)(),(0,i.iD)("div",tP,[(0,i.Wm)((0,l.SU)(ey.Z),{columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(ew.Z),{class:"sr-only !block"},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(eO),null,{default:(0,i.w5)(()=>[...r[0]||(r[0]=[(0,i.Uk)("Header Key",-1)])]),_:1}),(0,i.Wm)((0,l.SU)(eO),null,{default:(0,i.w5)(()=>[...r[1]||(r[1]=[(0,i.Uk)("Header Value",-1)])]),_:1})]),_:1}),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.headers,e=>((0,i.wg)(),(0,i.j4)((0,l.SU)(ew.Z),{key:e.name,class:"group/row text-c-1"},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(tT),{class:"bg-b-1 sticky left-0 z-1 max-w-full group-first/row:border-t-0"},{default:(0,i.w5)(()=>["string"==typeof t(e.name)?.url?((0,i.wg)(),(0,i.j4)(tC,{key:0,class:"decoration-c-3",href:t(e.name).url},{default:(0,i.w5)(()=>[(0,i.Uk)((0,o.zw)(e.name),1)]),_:2},1032,["href"])):((0,i.wg)(),(0,i.iD)(i.HY,{key:1},[(0,i.Uk)((0,o.zw)(e.name),1)],64))]),_:2},1024),(0,i.Wm)((0,l.SU)(tT),{class:"z-0 group-first/row:border-t-0",text:e.value},null,8,["text"])]),_:2},1024))),128))]),_:1})])):((0,i.wg)(),(0,i.iD)("div",tI," No headers "))]),_:3},8,["itemCount"]))}}),tU=e=>{try{return decodeURIComponent(e)}catch{return e}},tM=e=>e instanceof Blob;function tR({data:e,headers:t}){let n=E(t.find(e=>"content-type"===e.name.toLowerCase())?.value);return{mimeType:n,attachmentFilename:function(e){let t="";if(e){let n=e.match(/filename\*=UTF-8''([^;]+)/)?.[1]??e.match(/filename\s*=\s*"?([^";]+)"?/)?.[1];n&&(t=tU(n.trim()))}return t}(t.find(e=>"content-disposition"===e.name.toLowerCase())?.value??""),dataUrl:tM(e)?URL.createObjectURL(e):"string"==typeof e?URL.createObjectURL(new Blob([e],{type:n?n.toString():void 0})):e instanceof Object&&Object.keys(e).length?URL.createObjectURL(new Blob([JSON.stringify(e)],{type:n?n.toString():void 0})):""}}var tj=["download","href"],tL=(0,i.aZ)({__name:"ResponseBodyDownload",props:{href:{},type:{},filename:{}},setup(e){let t=(0,i.Fl)(()=>{let t=D(e.type??"")?.extension??".unknown";return e.filename?e.filename:`response${t}`});return(n,r)=>((0,i.wg)(),(0,i.iD)("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}
4`,href:e.href,onClick:r[0]||(r[0]=(0,el.iM)(()=>{},["stop"]))},[(0,i.Wm)((0,l.SU)(s.sN),{icon:"Download",size:"xs"}),r[1]||(r[1]=(0,i._)("span",null,[(0,i._)("span",null,"Download"),(0,i._)("span",{class:"sr-only"},"Response Body")],-1))],8,tj))}}),tZ={class:"flex justify-center px-2 py-3"},tB={class:"text-c-3 p-2 text-sm"},tz=(0,c.Z)({},[["render",function(e,t){return(0,i.wg)(),(0,i.iD)("div",tZ,[(0,i._)("div",tB,[(0,i.WI)(e.$slots,"default")])])}]]),tF=["src"],tQ=["src","type"],tH=["src","type"],tq=["data","type"],tV=(0,i.aZ)({__name:"ResponseBodyPreview",props:{src:{},type:{},mode:{},alpha:{type:Boolean,default:!1}},setup(e){let t=(0,l.iH)(!1);return(0,i.YP)(()=>e.src,()=>t.value=!1),(n,r)=>!t.value&&e.src?((0,i.wg)(),(0,i.iD)("div",{key:0,class:(0,o.C_)(["flex justify-center overflow-auto rounded-b",{"bg-preview p-2":e.alpha}])},["image"===e.mode?((0,i.wg)(),(0,i.iD)("img",{key:0,class:(0,o.C_)(["h-full max-w-full",{rounded:e.alpha}]),src:e.src,onError:r[0]||(r[0]=e=>t.value=!0)},null,42,tF)):"video"===e.mode?((0,i.wg)(),(0,i.iD)("video",{key:1,autoplay:"",controls:"",width:"100%",onError:r[1]||(r[1]=e=>t.value=!0)},[(0,i._)("source",{src:e.src,type:e.type},null,8,tQ)],32)):"audio"===e.mode?((0,i.wg)(),(0,i.iD)("audio",{key:2,class:"my-12",controls:"",onError:r[2]||(r[2]=e=>t.value=!0)},[(0,i._)("source",{src:e.src,type:e.type},null,8,tH)],32)):((0,i.wg)(),(0,i.iD)("object",{key:3,class:"aspect-[4/3] w-full",data:e.src,type:e.type,onError:r[3]||(r[3]=e=>t.value=!0)},null,40,tq))],2)):((0,i.wg)(),(0,i.j4)(tz,{key:1},{default:(0,i.w5)(()=>[...r[4]||(r[4]=[(0,i.Uk)("Preview unavailable",-1)])]),_:1}))}}),tW=(0,c.Z)(tV,[["__scopeId","data-v-154c2abf"]]),tX=n(12547),tY=n(23362),tG={class:"scalar-code-block group/code-block body-raw relative grid min-h-0 overflow-hidden p-px outline-none has-focus-visible:outline"},tK={class:"body-raw-scroller custom-scroll relative pr-1",tabindex:"0"},tJ=(0,i.aZ)({__name:"ResponseBodyRaw",props:{content:{},language:{}},setup(e){let t=(0,l.iH)(null),n=(0,i.Me)(),{codeMirror:r}=(0,tX.Uq)({codeMirrorRef:t,readOnly:!0,lineNumbers:!0,content:(0,l.Vh)(()=>(0,tY.W)(e.content)),language:(0,l.Vh)(()=>e.language),forceFoldGutter:!0}),a=()=>r.value?.state.doc.toString()||"";return(e,r)=>((0,i.wg)(),(0,i.iD)("div",tG,[(0,i._)("div",tK,[(0,i._)("div",{ref_key:"codeMirrorRef",ref:t},null,512)]),a()?((0,i.wg)(),(0,i.j4)((0,l.SU)(s.A9),{key:0,class:"absolute top-2 right-2",content:a(),"aria-controls":(0,l.SU)(n)},null,8,["content","aria-controls"])):(0,i.kq)("",!0)]))}}),t0=(0,c.Z)(tJ,[["__scopeId","data-v-194605f9"]]),t1={class:"text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded p-0.5"},t2=(0,i.aZ)({__name:"ResponseBodyToggle",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup:e=>(t,n)=>((0,i.wg)(),(0,i.iD)("div",t1,[(0,i._)("button",{class:(0,o.C_)(["hover:bg-b-3 rounded px-1",{"bg-b-3 text-c-1 cursor-default":e.modelValue}
4]),type:"button",onClick:n[0]||(n[0]=(0,el.iM)(e=>t.$emit("update:modelValue",!0),["stop"]))}," Preview ",2),(0,i._)("button",{class:(0,o.C_)(["hover:bg-b-3 rounded px-1",{"bg-b-3 text-c-1 cursor-default":!e.modelValue}]),type:"button",onClick:n[1]||(n[1]=(0,el.iM)(e=>t.$emit("update:modelValue",!1),["stop"]))}," Raw ",2)]))}),t4={key:0,class:"bg-b-1 flex max-h-[calc(100%-32px)] flex-col overflow-hidden"},t8={class:"box-content flex min-h-8 items-center justify-between border-y px-3"},t6={class:"text-xxs font-code leading-5"},t3=(0,i.aZ)({__name:"ResponseBody",props:{title:{},layout:{},data:{},headers:{},plugins:{default:()=>[]}},setup(e){let t=(0,l.iH)(!0),n=(0,i.Fl)(()=>tR({data:e.data,headers:e.headers})),r=(0,i.Fl)(()=>n.value.mimeType.essence),a=(0,i.Fl)(()=>D(r.value)),s=(0,i.Fl)(()=>k(r.value,e.plugins)),u=(0,i.Fl)(()=>!!s.value?.rawComponent||!!s.value?.decode||!!a.value?.raw),c=(0,i.Fl)(()=>!!s.value?.previewComponent||!!a.value?.preview),d=(0,i.Fl)(()=>u.value&&c.value),p=(0,i.Fl)(()=>t.value||!d.value),m=(0,i.Fl)(()=>!t.value||!d.value),f=(0,i.Fl)(()=>s.value?.language??a.value?.language);return(h,g)=>((0,i.wg)(),(0,i.j4)((0,l.SU)(e8.Z),{class:"max-h-content overflow-y-hidden",isStatic:"reference"===e.layout},(0,i.Nv)({title:(0,i.w5)(()=>
4[(0,i.Uk)((0,o.zw)(e.title),1)]),default:(0,i.w5)(()=>[e.data?((0,i.wg)(),(0,i.iD)("div",t4,[(0,i._)("div",t8,[(0,i._)("span",t6,(0,o.zw)(r.value),1),d.value?((0,i.wg)(),(0,i.j4)(t2,{key:0,modelValue:t.value,"onUpdate:modelValue":g[0]||(g[0]=e=>t.value=e)},null,8,["modelValue"])):(0,i.kq)("",!0)]),s.value?.rawComponent&&u.value&&m.value?((0,i.wg)(),(0,i.j4)((0,i.LL)(s.value.rawComponent),{key:`plugin-raw-${n.value.dataUrl}`,content:e.data,contentType:r.value},null,8,["content","contentType"])):u.value&&m.value?((0,i.wg)(),(0,i.j4)(t0,{key:`raw-${n.value.dataUrl}`,content:e.data,language:f.value},null,8,["content","language"])):(0,i.kq)("",!0),s.value?.previewComponent&&c.value&&p.value?((0,i.wg)(),(0,i.j4)((0,i.LL)(s.value.previewComponent),{key:`plugin-preview-${n.value.dataUrl}`,content:e.data,contentType:r.value,dataUrl:n.value.dataUrl},null,8,["content","contentType","dataUrl"])):a.value?.preview&&p.value?((0,i.wg)(),(0,i.j4)(tW,{key:`preview-${n.value.dataUrl}`,alpha:a.value.alpha,mode:a.value.preview,src:n.value.dataUrl,type:r.value},null,8,["alpha","mode","src","type"])):(0,i.kq)("",!0),u.value||c.value?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(tz,{key:4},{default:(0,i.w5)(()=>[...g[1]||(g[1]=[(0,i.Uk)(" Binary file ",-1)])]),_:1}))])):(0,i.kq)("",!0)]),_:2},[e.data&&n.value.dataUrl?{name:"actions",fn:(0,i.w5)(()=>[(0,i.Wm)(tL,{filename:n.value.attachmentFilename,href:n.value.dataUrl,type:n.value.mimeType?.essence},null,8,["filename","href","type"])]),key:"0"}:void 0]),1032,["isStatic"]))}}),t5=(0,c.Z)(t3,[["__scopeId","data-v-30c34ea4"]]),t7={class:"flex w-full items-center justify-between"},t9={key:0,class:"mr-2 flex items-center gap-2"},ne={key:0,class:"text-red bg-b-danger sticky top-0 border-b p-2"},nt={key:1,class:"p-2"},nn=(0,i.aZ)({__name:"ResponseBodyStreaming",props:{reader:{}},setup(e){let t=(0,s.$C)(),n=(0,l.iH)(""),r=(0,l.iH)(null),a=(0,l.iH)(null),u=(0,l.iH)(null),c=(0,l.iH)(null),d=()=>{a.value&&(a.value.scrollTop=a.value.scrollHeight)};async function p(e){try{for(;t.isLoading&&u.value===e;){let{done:r,value:a}=await e.read();if(u.value!==e)break;if(r){t.clear();break}a&&c.value&&(n.value+=c.value.decode(a,{stream:!0}))}}catch(n){u.value===e&&(console.error("Error reading stream:",n),t.clear(),r.value=n)}finally{u.value===e&&c.value&&(n.value+=c.value.decode())}}(0,i.YP)(n,async()=>{await (0,i.Y3)(d)});let m=()=>{u.value&&(u.value.cancel(),u.value=null),t.clear()};return(0,i.YP)(()=>e.reader,()=>{u.value&&u.value.cancel(),u.value=e.reader,c.value=new TextDecoder,t.start(),n.value="",r.value=null,p(e.reader)},{immediate:!0}),(0,i.Jd)(m),(e,u)=>((0,i.wg)(),(0,i.j4)((0,l.SU)(e8.Z),{class:"max-h-content overflow-y-hidden"},(0,i.Nv)({title:(0,i.w5)(()=>[(0,i._)("div",t7,[u[1]||(u[1]=(0,i._)("div",null,"Body",-1)),(0,l.SU)(t).isLoading?((0,i.wg)(),(0,i.iD)("div",t9,[(0,i.Wm)((0,l.SU)(s.MU),{loadingState:(0,l.SU)(t),size:"xs"},null,8,["loadingState"]),u[0]||(u[0]=(0,i._)("span",{class:"text-c-2"}," Listening⦠",-1))])):(0,i.kq)("",!0)])]),default:(0,i.w5)(()=>[(0,i._)("div",{ref_key:"contentContainer",ref:a,class:"text-xxs font-code h-full overflow-auto leading-6 whitespace-pre-wrap"},[r.value?((0,i.wg)(),(0,i.iD)("div",ne,(0,o.zw)(r.value.message),1)):(0,i.kq)("",!0),n.value?((0,i.wg)(),(0,i.iD)("div",nt,(0,o.zw)(n.value),1)):(0,i.kq)("",!0)],512)]),_:2},[(0,l.SU)(t).isLoading?{name:"actions",fn:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(s.Xk),{size:"sm",variant:"ghost",onClick:m},{default:(0,i.w5)(()=>[...u[2]||(u[2]=[(0,i.Uk)(" Cancel ",-1)])]),_:1})]),key:"0"}:void 0]),1024))}}),nr=n(88997),na=(0,i.aZ)({__name:"ResponseBodyVirtual",props:{content:{},data:{},headers:{}},setup(e){let t=(0,i.Fl)(()=>(0,nr.Oh)(e.content)),n=(0,i.Fl)(()=>tR({data:e.data,headers:e.headers}));return(e,r)=>((0,i.wg)(),(0,i.j4)((0,l.SU)(e8.Z),{class:"!max-h-100% response-body-virtual overflow-x-auto"},(0,i.Nv)({title:(0,i.w5)(()=>[r[0]||(r[0]=(0,i.Uk)("Body",-1))]),default:(0,i.w5)(()=>[r[1]||(r[1]=(0,i._)("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,i.Wm)((0,l.SU)(s.NG),{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},[n.value.dataUrl?{name:"actions",fn:(0,i.w5)(()=>[(0,i.Wm)(tL,{filename:n.value.attachmentFilename,href:n.value.dataUrl,type:n.value.mimeType?.essence},null,8,["filename","href","type"])]),key:"0"}:void 0]),1024))}}),ni={key:0,class:"max-h-[calc(100%-32px)] overflow-y-auto"},no={key:1,class:"text-c-3 bg-b-1 flex min-h-[64px] items-center justify-center border-t px-4 text-sm"},nl=(0,i.aZ)({__name:"ResponseCookies",props:{cookies:{}},setup:e=>(t,n)=>((0,i.wg)(),(0,i.j4)((0,l.SU)(e8.Z),{class:"overflow-auto",defaultOpen:!1,itemCount:e.cookies.length},{title:(0,i.w5)(()=>[...n[0]||(n[0]=[(0,i.Uk)("Cookies",-1)])]),default:(0,i.w5)(()=>[e.cookies.length?((0,i.wg)(),(0,i.iD)("div",ni,[(0,i.Wm)((0,l.SU)(ey.Z),{columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(ew.Z),{class:"sr-only !block"},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(eO),null,{default:(0,i.w5)(()=>[...n[1]||(n[1]=[(0,i.Uk)("Cookie Name",-1)])]),_:1}),(0,i.Wm)((0,l.SU)(eO),null,{default:(0,i.w5)(()=>[...n[2]||(n[2]=[(0,i.Uk)("Cookie Value",-1)])]),_:1})]),_:1}),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.cookies,(e,t)=>((0,i.wg)(),(0,i.j4)((0,l.SU)(ew.Z),{key:e.name,class:"group/row text-c-1"},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(tT),{class:(0,o.C_)(["bg-b-1 sticky left-0 z-1 max-w-full",{"border-t-0":0===t}]),text:e.name},null,8,["class","text"]),(0,i.Wm)((0,l.SU)(tT),{class:(0,o.C_)(["z-0",{"border-t-0":0===t}]),text:e.value},null,8,["class","text"])]),_:2},1024))),128))]),_:1})])):((0,i.wg)(),(0,i.iD)("div",no," No cookies "))]),_:1},8,["itemCount"]))}),ns=(0,i.aZ)({__name:"ScalarAsciiArt",props:{art:{},animate:{type:Boolean}},setup(e){let t=(0,i.Fl)(()=>e.art.split("\n")),n=(e,n)=>({animationDuration:`${100*e}ms, 500ms`,animationTimingFunction:`steps(${e}), step-end`,animationDelay:`${100*n}ms, 0ms`,animationIterationCount:`1, ${((t.value?.length??0)+(t.value?.[t.value?.length-1]?.length??0)+5)*100/500}`});return(r,a)=>((0,i.wg)(),(0,i.iD)("div",{"aria-hidden":"true",class:(0,o.C_)(["ascii-art font-code flex flex-col items-start text-[6px] leading-[7px]",{"ascii-art-animate":e.animate}]),role:"presentation",inert:""},[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(t.value,(e,t)=>((0,i.wg)(),(0,i.iD)("span",{key:t,class:"inline-block",style:(0,o.j5)({width:`calc(${e.length+1}ch)`})},[(0,i._)("span",{class:"inline-block whitespace-pre overflow-hidden",style:(0,o.j5)(n(e.length,t))},(0,o.zw)(e),5)],4))),128))],2))}}),nu=(0,c.Z)(ns,[["__scopeId","data-v-69ebd973"]]),nc={class:"flex-center relative flex flex-1 flex-col gap-6 p-2 capitalize"},nd={key:0,class:"scalar-version-number"},np={class:"text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm"},nm=(0,i.aZ)({__name:"ResponseEmpty",props:{layout:{},totalPerformedRequests:{},appVersion:{}},emits:["addRequest","sendRequest","openCommandPalette"],setup:(e,{emit:t})=>(n,r)=>((0,i.wg)(),(0,i.iD)("div",nc,[(0,i._)("div",{class:(0,o.C_)(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center",{"hidden opacity-0":e.totalPerformedRequests>0&&"modal"!==e.layout}])},["modal"!==e.layout?((0,i.wg)(),(0,i.iD)("div",nd,[(0,i.Uk)(" Scalar App V"+(0,o.zw)(e.appVersion)+" Beta ",1),r[3]||(r[3]=(0,i._)("div",{class:"mt-2"},[(0,i._)("a",{href:"https://github.com/scalar/scalar/issues/2669",target:"_blank"}," Roadmap ")],-1))])):(0,i.kq)("",!0),r[4]||(r[4]=(0,i._)("a",{class:"gitbook-show scalar-version-number",href:"https://www.scalar.com",target:"_blank"}," Powered By Scalar.com ",-1)),(0,i.Wm)(nu,{art:(0,l.SU)(" .,,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,i._)("div",np,["modal"!==e.layout?((0,i.wg)(),(0,i.iD)("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,i.Uk)(" Get Started ",-1)),(0,i.Wm)((0,l.SU)(s.jK),{hotkey:"k",modifier:["default"]})])):(0,i.kq)("",!0),"desktop"===e.layout?((0,i.wg)(),(0,i.iD)("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,i.Uk)(" New Request ",-1)),(0,i.Wm)((0,l.SU)(s.jK),{hotkey:"N"})])):(0,i.kq)("",!0),(0,i._)("button",{class:"flex items-center gap-1.5",type:"button",onClick:r[2]||(r[2]=e=>
4t("sendRequest"))},[r[7]||(r[7]=(0,i.Uk)(" Send Request ",-1)),(0,i.Wm)((0,l.SU)(s.jK),{hotkey:"âµ"})])])]))}),nf=(0,c.Z)(nm,[["__scopeId","data-v-eb46a498"]]),nh={key:0,class:"bg-b-1 z-overlay absolute inset-0 flex flex-col items-center justify-center gap-6"},ng=(0,i.aZ)({__name:"ResponseLoadingOverlay",props:{eventBus:{}},setup(e){let t=(0,s.$C)(),n=(0,l.iH)(),r=()=>{n.value=setTimeout(()=>t.start(),1e3)},a=()=>{clearTimeout(n.value),n.value=void 0,t.clear()};return(0,i.bv)(()=>{e.eventBus.on("hooks:on:request:sent",r),e.eventBus.on("hooks:on:request:complete",a)}),(0,i.Jd)(()=>{e.eventBus.off("hooks:on:request:sent",r),e.eventBus.off("hooks:on:request:complete",a),a()}),(n,r)=>((0,i.wg)(),(0,i.j4)(el.uT,null,{default:(0,i.w5)(()=>[(0,l.SU)(t).isActive?((0,i.wg)(),(0,i.iD)("div",nh,[(0,i.Wm)((0,l.SU)(s.MU),{class:"text-c-3",loader:(0,l.SU)(t),size:"3xl"},null,8,["loader"]),(0,i.Wm)((0,l.SU)(s.Xk),{variant:"ghost",onClick:r[0]||(r[0]=t=>e.eventBus.emit("operation:cancel:request"))},{default:(0,i.w5)(()=>[...r[1]||(r[1]=[(0,i.Uk)(" Cancel ",-1)])]),_:1})])):(0,i.kq)("",!0)]),_:1}))}}),nv=(0,c.Z)(ng,[["__scopeId","data-v-1f35725e"]]),ny=n(73434),nb=e=>{let t=Number.parseInt(e.headers?.["Content-Length"]||e.headers?.["content-length"]||"0",10);if(!isNaN(t)&&!(t<=0))return(0,ny.t)(t)};let nO=e=>Number.isFinite(e)?e:0,nw=e=>0===e||0n===e,nk=(e,t)=>1===t||1n===t?e:`${e}s`,nx=24n*60n*60n*1000n;function nS(e,t){let n="bigint"==typeof e;if(!n&&!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 a=[],i=(e,n,r,i)=>{if(!((0===a.length||!t.colonNotation)&&nw(e))||t.colonNotation&&"m"===r){if(i??=String(e),t.colonNotation){let e=i.includes(".")?i.split(".")[0].length:i.length,t=a.length>0?2:1;i="0".repeat(Math.max(0,t-e))+i}else i+=t.verbose?" "+nk(n,e):r;a.push(i)}},o=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(nO(1e3*e)%1e3),nanoseconds:Math.trunc(nO(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),l=BigInt(o.days);if(t.hideYearAndDays?i(24n*BigInt(l)+BigInt(o.hours),"hour","h"):(t.hideYear?i(l,"day","d"):(i(l/365n,"year","y"),i(l%365n,"day","d")),i(Number(o.hours),"hour","h")),i(Number(o.minutes),"minute","m"),!t.hideSeconds){if(t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3&&!t.subSecondsAsDecimals){let e=Number(o.seconds),n=Number(o.milliseconds),r=Number(o.microseconds),a=Number(o.nanoseconds);if(i(e,"second","s"),t.formatSubMilliseconds)i(n,"millisecond","ms"),i(r,"microsecond","\xb5s"),i(a,"nanosecond","ns");else{let e=n+r/1e3+a/1e6,o="number"==typeof t.millisecondsDecimalDigits?t.millisecondsDecimalDigits:0,l=o?e.toFixed(o):e>=1?Math.round(e):Math.ceil(e);i(Number.parseFloat(l),"millisecond","ms",l)}}else{var s;let r=(Math.round(Math.floor((n?Number(e%nx):e)/1e3%60*10**(s="number"==typeof t.secondsDecimalDigits?t.secondsDecimalDigits:1)+1e-7))/10**s).toFixed(s),a=t.keepDecimalsOnWholeSeconds?r:r.replace(/\.0+$/,"");i(Number.parseFloat(a),"second","s",a)}}if(0===a.length)return r+"0"+(t.verbose?" milliseconds":"ms");let u=t.colonNotation?":":" ";return"number"==typeof t.unitCount&&(a=a.slice(0,Math.max(t.unitCount,1))),r+a.join(u)}var n_={class:"text-c-1 flex gap-1.5"},nE={key:0},nA={key:0},nT={key:1},nD=(0,i.aZ)({__name:"ResponseMetaInformation",props:{response:{},eventBus:{}},setup(e){let t=(0,l.iH)(),n=(0,l.iH)(0),r=()=>{clearInterval(t.value),t.value=void 0,n.value=0},a=()=>{t.value=setInterval(()=>n.value+=1e3,1e3)};(0,i.bv)(()=>{e.eventBus.on("hooks:on:request:sent",a),e.eventBus.on("hooks:on:request:complete",r)}),(0,i.Jd)(()=>{e.eventBus.off("hooks:on:request:sent",a),e.eventBus.off("hooks:on:request:complete",r),r()});let s=(0,i.Fl)(()=>{let t=e.response?.status;if(t)return M[t]??void 0});return(r,a)=>((0,i.wg)(),(0,i.iD)("div",n_,[t.value&&n.value?((0,i.wg)(),(0,i.iD)("span",nE,(0,o.zw)((0,l.SU)(nS)(n.value)),1)):((0,i.wg)(),(0,i.iD)(i.HY,{key:1},[(0,i._)("span",null,[a[0]||(a[0]=(0,i._)("span",{class:"sr-only"},"Response Information, Duration:",-1)),(0,i.Uk)(" "+(0,o.zw)((0,l.SU)(nS)(e.response.duration)),1)]),(0,l.SU)(nb)(e.response)?((0,i.wg)(),(0,i.iD)("span",nA,[a[1]||(a[1]=(0,i._)("span",{class:"sr-only"},", Size:",-1)),(0,i.Uk)(" "+(0,o.zw)((0,l.SU)(nb)(e.response)),1)])):(0,i.kq)("",!0),s.value?((0,i.wg)(),(0,i.iD)(i.HY,{key:1},[a[2]||(a[2]=(0,i._)("span",{class:"sr-only"},", Status:",-1)),s.value.url?((0,i.wg)(),(0,i.j4)(tC,{key:0,class:"flex items-center gap-1.5",href:s.value.url},{default:(0,i.w5)(()=>[(0,i.Uk)((0,o.zw)(e.response.status)+" "+(0,o.zw)(s.value.name)+" ",1),(0,i._)("span",{class:"block h-1.5 w-1.5 rounded-full",style:(0,o.j5)({backgroundColor:s.value.color})},null,4)]),_:1},8,["href"])):((0,i.wg)(),(0,i.iD)("span",nT,[(0,i.Uk)((0,o.zw)(e.response.status)+" "+(0,o.zw)(s.value.name)+" ",1),(0,i._)("span",{class:"block h-1.5 w-1.5 rounded-full",style:(0,o.j5)({backgroundColor:s.value.color})},null,4)]))],64)):(0,i.kq)("",!0)],64))]))}}),nC=e=>{if(!e||"string"!=typeof e)return null;let t=e.indexOf("=");if(-1===t)return null;
4let n=e.substring(0,t).trim(),r=e.substring(t+1).trim();return n?{name:n,value:r}:null},n$=n(55512),nP={class:"flex h-8 flex-1 items-center"},nI=["id","role"],nN=(0,i.aZ)({__name:"ResponseBlock",props:{response:{},requestPayload:{},layout:{},totalPerformedRequests:{},appVersion:{},plugins:{},eventBus:{}},setup(e,{expose:t}){let n=(0,i.Fl)(()=>{let t=e.response?.headers;return t?Object.keys(t).map(e=>({name:e,value:t[e]??""})):[]}),r=(0,i.Fl)(()=>e.response?.cookieHeaderKeys.map(e=>nC(e)).filter(n$.$)??[]),a=["Cookies","Headers","Body"],u=(0,l.iH)("All"),c=(0,i.Fl)(()=>["All",...a]),d=(0,i.Fl)(()=>Object.fromEntries(c.value.map(e=>[e,(0,i.Me)()]))),p=(0,i.Fl)(()=>{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"))&&T.some(e=>t.includes(e))&&(e.response.size??0)>2e5}),m=(0,i.Fl)(()=>{let t=e.requestPayload?.[1]?.headers;return t?[...new Headers(t)].map(([e,t])=>({name:e,value:t,required:!1})):[]}),f=e=>"All"===u.value||u.value===e;return t({responseHeaders:n,responseCookies:r,requestHeaders:m,shouldVirtualize:p,activeFilter:u,filters:c}),(t,a)=>((0,i.wg)(),(0,i.j4)(ef,{"aria-label":"Response"},{title:(0,i.w5)(()=>[(0,i._)("div",nP,[(0,i._)("div",{"aria-live":"polite",class:(0,o.C_)(["flex items-center",{"animate-response-heading":e.response}])},[a[4]||(a[4]=(0,i._)("span",{class:"response-heading pointer-events-none absolute"}," Response ",-1)),e.response?((0,i.wg)(),(0,i.j4)(nD,{key:0,class:"animate-response-children",eventBus:e.eventBus,response:e.response},null,8,["eventBus","response"])):(0,i.kq)("",!0)],2),(0,i.Wm)(ep,{modelValue:u.value,"onUpdate:modelValue":a[0]||(a[0]=e=>u.value=e),filterIds:d.value,filters:c.value},null,8,["modelValue","filterIds","filters"])])]),default:(0,i.w5)(()=>[(0,i._)("div",{id:d.value.All,class:(0,o.C_)(["custom-scroll response-section-content relative grid h-full justify-stretch",{"content-start":e.response}]),role:"All"===u.value&&e.response?"tabpanel":"none"},[e.response?((0,i.wg)(),(0,i.iD)(i.HY,{key:1},[f("Cookies")?((0,i.wg)(),(0,i.j4)(nl,{key:0,id:d.value.Cookies,class:"response-section-content-cookies",cookies:r.value,role:"All"===u.value?"none":"tabpanel"},null,8,["id","cookies","role"])):(0,i.kq)("",!0),f("Headers")?((0,i.wg)(),(0,i.j4)(tN,{key:1,id:d.value.Headers,class:"response-section-content-headers",headers:m.value,role:"All"===u.value?"none":"tabpanel"},{title:(0,i.w5)(()=>[...a[5]||(a[5]=[(0,i.Uk)("Request Headers",-1)])]),_:1},8,["id","headers","role"])):(0,i.kq)("",!0),f("Headers")?((0,i.wg)(),(0,i.j4)(tN,{key:2,id:d.value.Headers,class:"response-section-content-headers",headers:n.value,role:"All"===u.value?"none":"tabpanel"},{title:(0,i.w5)(()=>[...a[6]||(a[6]=[(0,i.Uk)("Response Headers",-1)])]),_:1},8,["id","headers","role"])):(0,i.kq)("",!0),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.plugins,(e,t)=>((0,i.wg)(),(0,i.j4)((0,l.SU)(s.Zf),{key:t},{default:(0,i.w5)(()=>[e?.components?.response?(0,i.wy)(((0,i.wg)(),(0,i.j4)((0,i.LL)(e.components.response.component),(0,i.dG)({key:0,ref_for:!0},e.components.response.additionalProps),null,16)),[[el.F8,"All"===u.value]]):(0,i.kq)("",!0)]),_:2},1024))),128)),"All"===u.value||"Body"===u.value?((0,i.wg)(),(0,i.iD)(i.HY,{key:3},["reader"in e.response?((0,i.wg)(),(0,i.j4)(nn,{key:0,id:d.value.Body,class:"response-section-content-body",reader:e.response.reader},null,8,["id","reader"])):p.value&&"string"==typeof e.response?.data?((0,i.wg)(),(0,i.j4)(na,{key:1,id:d.value.Body,content:e.response.data,data:e.response?.data,headers:n.value,role:"All"===u.value?"none":"tabpanel"},null,8,["id","content","data","headers","role"])):((0,i.wg)(),(0,i.j4)(t5,{key:2,id:d.value.Body,active:!0,class:"response-section-content-body",data:e.response?.data,headers:n.value,layout:"client",plugins:e.plugins,role:"All"===u.value?"none":"tabpanel",title:"Body"},null,8,["id","data","headers","plugins","role"]))],64)):(0,i.kq)("",!0)],64)):((0,i.wg)(),(0,i.j4)(nf,{key:0,appVersion:e.appVersion,layout:e.layout,totalPerformedRequests:e.totalPerformedRequests,onAddRequest:a[1]||(a[1]=t=>e.eventBus.emit("ui:open:command-palette",{action:"create-request",payload:void 0})),onOpenCommandPalette:a[2]||(a[2]=t=>e.eventBus.emit("ui:open:command-palette")),onSendRequest:a[3]||(a[3]=t=>e.eventBus.emit("operation:send:request:hotkey"))},null,8,["appVersion","layout","totalPerformedRequests"])),(0,i.Wm)(nv,{eventBus:e.eventBus},null,8,["eventBus"])],10,nI)]),_:1}))}}),nU=(0,c.Z)(nN,[["__scopeId","data-v-82f4df98"]]),nM=n(86098),nR=n(81344),nj=(0,i.aZ)({__name:"HttpMethod",props:{isSquare:{type:Boolean,default:!1},method:{},isEditable:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){let n=(0,i.Fl)(()=>(0,nR.i)(e.method)),r=(0,eJ.q)(nR.W).map(([e])=>({id:e,label:e.toUpperCase(),color:(0,nR.i)(e).colorClass})),a=(0,i.Fl)({get:()=>r.find(({id:t})=>t===e.method),set:e=>e?.id&&t("change",e.id)}),u=(0,s.jS)({base:"text-center font-code text-3xs justify-center items-center flex",variants:{isSquare:{true:"px-2.5
4whitespace-nowrap font-bold border-r h-fit m-auto",false:"rounded-full"},isEditable:{true:"http-bg-gradient rounded-md border",false:"cursor-auto"}}}),c=(0,i.Fl)(()=>n.value.short);return(t,d)=>e.isEditable?((0,i.wg)(),(0,i.j4)((0,l.SU)(s.N1),{key:0,modelValue:a.value,"onUpdate:modelValue":d[0]||(d[0]=e=>a.value=e),class:"font-code scalar-client mt-1 text-sm",options:(0,l.SU)(r)},{default:(0,i.w5)(()=>[(0,i._)("div",{class:(0,o.C_)(["h-full",{"pointer-events-none":!e.isEditable}])},[(0,i._)("button",{class:(0,o.C_)(["relative h-full",(0,l.SU)(s.cx)((0,l.SU)(u)({isSquare:e.isSquare,isEditable:e.isEditable}),n.value.colorClass)]),type:"button"},[(0,i._)("span",null,(0,o.zw)(c.value),1)],2)],2)]),_:1},8,["modelValue","options"])):((0,i.wg)(),(0,i.iD)("div",{key:1,class:(0,o.C_)(["relative gap-1 whitespace-nowrap",(0,l.SU)(s.cx)((0,l.SU)(u)({isSquare:e.isSquare,isEditable:e.isEditable}),n.value.colorClass)]),type:"button"},(0,o.zw)(n.value.short),3))}}),nL=(0,c.Z)(nj,[["__scopeId","data-v-7a19f363"]]),nZ=()=>{let e=(0,l.iH)(100),t=(0,l.iH)(0),n=(0,l.iH)(!1),r=(0,l.iH)(),a=()=>{clearInterval(r.value),r.value=void 0,e.value=100,n.value=!1},i=()=>{n.value?e.value-=(e.value-15)/60:e.value-=t.value/20,e.value<=0&&a()};return{startLoading:()=>{if(r.value){n.value=!0;return}n.value=!0,r.value=setInterval(i,20)},stopLoading:()=>{t.value=e.value,n.value=!1},percentage:e,isLoading:n}},nB=n(11412),nz=n(23798),nF=["aria-expanded"],nQ={class:"overflow-hidden text-ellipsis whitespace-nowrap"},nH=["id"],nq={key:0},nV={class:"description text-c-3 px-3 py-1.5"},nW=(0,i.aZ)({__name:"ServerDropdownItem",props:{server:{},serverOption:{}},emits:["update:variable","update:selectedServer"],setup(e,{emit:t}){let n=(0,i.Me)(),r=()=>Object.keys(e.server?.variables??{}).length>0,a=(0,i.Fl)(()=>e.serverOption.id===e.server?.url),u=(0,i.Fl)(()=>a.value&&r());return(r,c)=>((0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["group/item flex min-h-fit flex-col rounded border",{"border-transparent":!a.value}])},[(0,i._)("button",(0,i.dG)(u.value?{"aria-controls":(0,l.SU)(n)}:{},{"aria-expanded":u.value,class:["flex min-h-8 cursor-pointer items-center gap-1.5 rounded px-1.5",a.value?"text-c-1 bg-b-2":"hover:bg-b-2"],type:"button",onClick:c[0]||(c[0]=e=>t("update:selectedServer"))}),[(0,i.Wm)((0,l.SU)(s.hf),{selected:a.value},null,8,["selected"]),(0,i._)("span",nQ,(0,o.zw)(e.serverOption.label),1)],16,nF),u.value?((0,i.wg)(),(0,i.iD)("div",{key:0,id:(0,l.SU)(n),class:"bg-b-2 divide divide-y rounded-b border-t *:pl-4",onClick:c[2]||(c[2]=(0,el.iM)(()=>{},["stop"]))},[(0,i.Wm)(nz.Z,{variables:e.server?.variables,"onUpdate:variable":c[1]||(c[1]=(e,n)=>t("update:variable",e,n))},null,8,["variables"]),e.server?.description?((0,i.wg)(),(0,i.iD)("div",nq,[(0,i._)("div",nV,[(0,i.Wm)((0,l.SU)(s.eV),{value:e.server.description},null,8,["value"])])])):(0,i.kq)("",!0)],8,nH)):(0,i.kq)("",!0)],2))}}),nX=(0,c.Z)(nW,[["__scopeId","data-v-1b7a32a4"]]),nY={key:0},nG={key:1},nK={key:2},nJ={key:3},n0={key:4},n1={key:5},n2=(0,i.aZ)({name:"ScalarIconPencilSimple",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,eR.n)(e);return(e,r)=>((0,i.wg)(),(0,i.iD)("svg",(0,i.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,l.SU)(t)),[(0,i.WI)(e.$slots,"default"),"bold"===(0,l.SU)(n)?((0,i.wg)(),(0,i.iD)("g",nY,[...r[0]||(r[0]=[(0,i._)("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,l.SU)(n)?((0,i.wg)(),(0,i.iD)("g",nG,[...r[1]||(r[1]=[(0,i._)("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,i._)("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,l.SU)(n)?((0,i.wg)(),(0,i.iD)("g",nK,[...r[2]||(r[2]=[(0,i._)("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,l.SU)(n)?((0,i.wg)(),(0,i.iD)("g",nJ,[...r[3]||(r[3]=[(0,i._)("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,l.SU)(n)?((0,i.wg)(),(0,i.iD)("g",n0,[...r[4]||(r[4]=[(0,i._)("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,l.SU)(n)?((0,i.wg)(),(0,i.iD)("g",n1,[...r[5]||(r[5]=[(0,i._)("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,i.kq)("",!0)],16))}}),n4=n(28980),n8=["onClick"],n6={class:"flex items-center justify-center"},n3=(0,i.aZ)({name:"ServerDropdown",props:{meta:{},servers:{},server:{},target:{},layout:{}},emits:["update:selectedServer","update:variable","update:servers","update:open"],setup(e,{emit:t}){let n=(0,i.Fl)(()=>e.servers.map(e=>({id:e.url,label:e.url??"Unknown server"}))),r=(0,i.Fl)(()=>e.server?.url?.endsWith("/")?e.server.url.slice(0,-1):e.server?.url||"");return(a,u)=>((0,i.wg)(),(0,i.j4)((0,l.SU)(s.A8),{class:"max-h-[inherit] p-0 text-base",focu
4s:"",offset:0,placement:"bottom",resize:"",target:e.target,teleport:`#${e.target}`},{popover:(0,i.w5)(({close:r})=>[(0,i._)("div",{class:"custom-scroll flex max-h-[inherit] flex-col gap-1 p-1",onClick:r},[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.value,(n,r)=>((0,i.wg)(),(0,i.j4)(nX,{key:n.id,server:e.server,serverOption:n,type:"request","onUpdate:selectedServer":r=>t("update:selectedServer",{url:n.id,meta:e.meta}),"onUpdate:variable":(n,a)=>t("update:variable",{index:r,key:n,value:a,meta:e.meta})},null,8,["server","serverOption","onUpdate:selectedServer","onUpdate:variable"]))),128)),"modal"!==e.layout?((0,i.wg)(),(0,i.iD)("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:u[0]||(u[0]=e=>t("update:servers"))},[(0,i._)("div",n6,[(0,i.Wm)((0,l.SU)(n2),{class:"size-4"})]),u[5]||(u[5]=(0,i._)("span",null,"Update Servers",-1))])):(0,i.kq)("",!0)],8,n8)]),backdrop:(0,i.w5)(({open:e})=>[(0,i.Wm)(nB.Z,{value:e,onChange:u[1]||(u[1]=e=>t("update:open",e)),onUnmount:u[2]||(u[2]=e=>t("update:open",!1))},null,8,["value"]),(0,i.Wm)((0,l.SU)(s.r1),{class:"inset-x-px rounded-none rounded-b-lg"})]),default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(s.Xk),{class:"hover:bg-b-2 font-code text-c-2 ml-0.75 h-auto gap-0.75 rounded border px-1.5 text-base whitespace-nowrap",variant:"ghost"},{default:(0,i.w5)(()=>[e.server?((0,i.wg)(),(0,i.iD)(i.HY,{key:0},[u[3]||(u[3]=(0,i._)("span",{class:"sr-only"},"Server:",-1)),(0,i.Uk)(" "+(0,o.zw)(r.value),1)],64)):((0,i.wg)(),(0,i.iD)(i.HY,{key:1},[u[4]||(u[4]=(0,i._)("span",{class:"sr-only"},"Add Server",-1)),(0,i.Wm)((0,l.SU)(n4.Z),{class:"size-3"})],64))]),_:1})]),_:1},8,["target","teleport"]))}}),n5={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"}},n7=e=>n5[e]||{color:"text-grey"},n9=n(76257),re=n(29682),rt=n(58373),rn=n(31035),rr=n(89130),ra=n(2262),ri=n(52243),ro=n(40387),rl=n(99810),rs=n(78824),ru=n(96715),rc=n(17238),rd=n(91937),rp=((r=rp||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),rm=((a=rm||{})[a.Pointer=0]="Pointer",a[a.Other=1]="Other",a);let rf=Symbol("MenuContext");function rh(e){let t=(0,i.f3)(rf,null);if(null===t){let t=Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,rh),t}return t}let rg=(0,i.aZ)({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup(e,{slots:t,attrs:n}){let r=(0,l.iH)(1),a=(0,l.iH)(null),o=(0,l.iH)(null),s=(0,l.iH)([]),u=(0,l.iH)(""),c=(0,l.iH)(null),d=(0,l.iH)(1);function p(e=e=>e){let t=null!==c.value?s.value[c.value]:null,n=(0,ru.z2)(e(s.value.slice()),e=>(0,rs.v)(e.dataRef.domRef)),r=t?n.indexOf(t):null;return -1===r&&(r=null),{items:n,activeItemIndex:r}}let m={menuState:r,buttonRef:a,itemsRef:o,items:s,searchQuery:u,activeItemIndex:c,activationTrigger:d,closeMenu:()=>{r.value=1,c.value=null},openMenu:()=>r.value=0,goToItem(e,t,n){let r=p(),a=(0,rl.d)(e===rl.T.Specific?{focus:rl.T.Specific,id:t}:{focus:e},{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});u.value="",c.value=a,d.value=null!=n?n:1,s.value=r.items},search(e){let t=""!==u.value?0:1;u.value+=e.toLowerCase();let n=(null!==c.value?s.value.slice(c.value+t).concat(s.value.slice(0,c.value+t)):s.value).find(e=>e.dataRef.textValue.startsWith(u.value)&&!e.dataRef.disabled),r=n?s.value.indexOf(n):-1;-1===r||r===c.value||(c.value=r,d.value=1)},clearSearch(){u.value=""},registerItem(e,t){let n=p(n=>[...n,{id:e,dataRef:t}]);s.value=n.items,c.value=n.activeItemIndex,d.value=1},unregisterItem(e){let t=p(t=>{let n=t.findIndex(t=>t.id===e);return -1!==n&&t.splice(n,1),t});s.value=t.items,c.value=t.activeItemIndex,d.value=1}};return(0,re.O)([a,o],(e,t)=>{var n;m.closeMenu(),(0,ru.sP)(t,ru.tJ.Loose)||(e.preventDefault(),null==(n=(0,rs.v)(a))||n.focus())},(0,i.Fl)(()=>0===r.value)),(0,i.JJ)(rf,m),(0,ri.Rb)((0,i.Fl)(()=>(0,rc.E)(r.value,{0:ri.ZM.Open,1:ri.ZM.Closed}))),()=>{let a={open:0===r.value,close:m.closeMenu};return(0,rd.sY)({ourProps:{},theirProps:e,slot:a,slots:t,attrs:n,name:"Menu"})}}}),rv=(0,i.aZ)({name:"MenuButton",props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var a;let o=null!=(a=e.id)?a:`headlessui-menu-button-${(0,n9.M)()}`,l=rh("MenuButton");function s(e){switch(e.key){case ro.R.Space:case ro.R.Enter:case ro.R.ArrowDown:e.preventDefault(),e.stopPropagation(),l.openMenu(),(0,i.Y3)(()=>{var e;null==(e=(0,rs.v)(l.itemsRef))||e.focus({preventScroll:!0}),l.goToItem(rl.T.First)});break;case ro.R.ArrowUp:e.preventDefault(),e.stopPropagation(),l.openMenu(),(0,i.Y3)(()=>{var e;null==(e=(0,rs.v)(l.itemsRef))||e.focus({preventScroll:!0}),l.goToItem(rl.T.Last)})}}function u(e){e.key===ro.R.Space&&e.preventDefault()}function c(t){var n;e.disabled||(0===l.menuState.value?(l.closeMenu(),(0,i.Y3)(()=>{var e;return null==(e=(0,rs.v)(l.buttonRef))?void 0:e.focus({preventScroll:!0})}
4)):(t.preventDefault(),l.openMenu(),n=()=>{var e;return null==(e=(0,rs.v)(l.itemsRef))?void 0:e.focus({preventScroll:!0})},requestAnimationFrame(()=>requestAnimationFrame(n))))}r({el:l.buttonRef,$el:l.buttonRef});let d=(0,rt.f)((0,i.Fl)(()=>({as:e.as,type:t.type})),l.buttonRef);return()=>{var r;let a={open:0===l.menuState.value},{...i}=e,p={ref:l.buttonRef,id:o,type:d.value,"aria-haspopup":"menu","aria-controls":null==(r=(0,rs.v)(l.itemsRef))?void 0:r.id,"aria-expanded":0===l.menuState.value,onKeydown:s,onKeyup:u,onClick:c};return(0,rd.sY)({ourProps:p,theirProps:i,slot:a,attrs:t,slots:n,name:"MenuButton"})}}}),ry=(0,i.aZ)({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:n,expose:r}){var a;let o=null!=(a=e.id)?a:`headlessui-menu-items-${(0,n9.M)()}`,s=rh("MenuItems"),u=(0,l.iH)(null);function c(e){var t;switch(u.value&&clearTimeout(u.value),e.key){case ro.R.Space:if(""!==s.searchQuery.value)return e.preventDefault(),e.stopPropagation(),s.search(e.key);case ro.R.Enter:if(e.preventDefault(),e.stopPropagation(),null!==s.activeItemIndex.value){let e=s.items.value[s.activeItemIndex.value];null==(t=(0,rs.v)(e.dataRef.domRef))||t.click()}s.closeMenu(),(0,ru.wI)((0,rs.v)(s.buttonRef));break;case ro.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),s.goToItem(rl.T.Next);case ro.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),s.goToItem(rl.T.Previous);case ro.R.Home:case ro.R.PageUp:return e.preventDefault(),e.stopPropagation(),s.goToItem(rl.T.First);case ro.R.End:case ro.R.PageDown:return e.preventDefault(),e.stopPropagation(),s.goToItem(rl.T.Last);case ro.R.Escape:e.preventDefault(),e.stopPropagation(),s.closeMenu(),(0,i.Y3)(()=>{var e;return null==(e=(0,rs.v)(s.buttonRef))?void 0:e.focus({preventScroll:!0})});break;case ro.R.Tab:e.preventDefault(),e.stopPropagation(),s.closeMenu(),(0,i.Y3)(()=>(0,ru.EO)((0,rs.v)(s.buttonRef),e.shiftKey?ru.TO.Previous:ru.TO.Next));break;default:1===e.key.length&&(s.search(e.key),u.value=setTimeout(()=>s.clearSearch(),350))}}function d(e){e.key===ro.R.Space&&e.preventDefault()}r({el:s.itemsRef,$el:s.itemsRef}),function({container:e,accept:t,walk:n,enabled:r}){(0,i.m0)(()=>{let a=e.value;if(!a||void 0!==r&&!r.value)return;let i=(0,ra.r)(e);if(!i)return;let o=Object.assign(e=>t(e),{acceptNode:t}),l=i.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,o,!1);for(;l.nextNode();)n(l.currentNode)})}({container:(0,i.Fl)(()=>(0,rs.v)(s.itemsRef)),enabled:(0,i.Fl)(()=>0===s.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 p=(0,ri.oJ)(),m=(0,i.Fl)(()=>null!==p?(p.value&ri.ZM.Open)===ri.ZM.Open:0===s.menuState.value);return()=>{var r,a;let i={open:0===s.menuState.value},{...l}=e,u={"aria-activedescendant":null===s.activeItemIndex.value||null==(r=s.items.value[s.activeItemIndex.value])?void 0:r.id,"aria-labelledby":null==(a=(0,rs.v)(s.buttonRef))?void 0:a.id,id:o,onKeydown:c,onKeyup:d,role:"menu",tabIndex:0,ref:s.itemsRef};return(0,rd.sY)({ourProps:u,theirProps:l,slot:i,attrs:t,slots:n,features:rd.AN.RenderStrategy|rd.AN.Static,visible:m.value,name:"MenuItems"})}}}),rb=(0,i.aZ)({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:n,expose:r}){var a;let o=null!=(a=e.id)?a:`headlessui-menu-item-${(0,n9.M)()}`,s=rh("MenuItem"),u=(0,l.iH)(null);r({el:u,$el:u});let c=(0,i.Fl)(()=>null!==s.activeItemIndex.value&&s.items.value[s.activeItemIndex.value].id===o),d=(0,rn.x)(u),p=(0,i.Fl)(()=>({disabled:e.disabled,get textValue(){return d()},domRef:u}));function m(t){if(e.disabled)return t.preventDefault();s.closeMenu(),(0,ru.wI)((0,rs.v)(s.buttonRef))}function f(){if(e.disabled)return s.goToItem(rl.T.Nothing);s.goToItem(rl.T.Specific,o)}(0,i.bv)(()=>s.registerItem(o,p)),(0,i.Ah)(()=>s.unregisterItem(o)),(0,i.m0)(()=>{0===s.menuState.value&&c.value&&0!==s.activationTrigger.value&&(0,i.Y3)(()=>{var e,t;return null==(t=null==(e=(0,rs.v)(u))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})})});let h=(0,rr.g)();function g(e){h.update(e)}function v(t){h.wasMoved(t)&&(e.disabled||c.value||s.goToItem(rl.T.Specific,o,0))}function y(t){h.wasMoved(t)&&(e.disabled||c.value&&s.goToItem(rl.T.Nothing))}return()=>{let{disabled:r,...a}=e,i={active:c.value,disabled:r,close:s.closeMenu};return(0,rd.sY)({ourProps:{id:o,ref:u,role:"menuitem",tabIndex:!0===r?void 0:-1,"aria-disabled":!0===r||void 0,onClick:m,onFocus:f,onPointerenter:g,onMouseenter:g,onPointermove:v,onMousemove:v,onPointerleave:y,onMouseleave:y},theirProps:{...n,...a},slot:i,attrs:n,slots:t,name:"MenuItem"})}}}),rO=(e,t=2)=>e>1e3?(e/1e3).toFixed(t)+"s":e.toFixed(t)+"ms";var rw={class:"min-w-0"},rk={class:"text-c-1 min-w-0 truncate"},rx=(0,i.aZ)({__name:"AddressBarHistory",props:{target:{},history:{}},emits:["select:history:item","update:open"],setup:(e,{emit:t})=>(n,r)=>((0,i.wg)(),(0,i.j4)((0,l.SU)(rg),{as:"div"},{default:(0,i.w5)(({open:n})=>[(0,i.Wm)(nB.Z,{value:n,onChange:r[0]||(r[0]=e=>t("update:open",e)),onUnmount:r[1]||(r[1]=e=>t("update:open",!1))},null,8,["value"]),(0,i.Wm)((0,l.SU)(s.on),{offset:0,resize:"",target:e.target},(0,i.Nv)({default:(0,i.w5)(()=>[e.history.length?((0,i.wg)(),(0,i.j4)((0,l.SU)(rv),{key:0,class:"address-bar-history-button text-c-3 focus:text-c-1 relative mr-1 rounded-lg p-1.5"},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(s.sN),{icon:"History",size:"sm",thickness:"2.25"}),r[2]||(r[2]=(0,i._)("span",{class:"sr-only"},"Request History",-1))]),_:1})):(0,i.kq)("",!0)]),_:2},[n?{name:"floating",fn:(0,i.w5)(({width:n})=>[(0,i.Wm)((0,l.SU)(ry),{class:"custom-scroll grid max-h-[inherit] grid-cols-[44px_1fr_repeat(3,auto)] items-center p-0.75",static:"",style:(0,o.j5)({width:n})},{default:(0,i.w5)(()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.history,(e,n)=>((0,i.wg)(),(0,i.j4)((0,l.SU)(rb),{key:n,as:"button",class:"font-code ui-active:
4*: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:n,onClick:e=>t("select:history:item",{index:n})},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(nL),{class:"text-[11px]",method:e.method},null,8,["method"]),(0,i._)("div",rw,[(0,i._)("div",rk,(0,o.zw)(e.path),1)]),(0,i._)("div",null,(0,o.zw)((0,l.SU)(rO)(e.duration)),1),(0,i._)("div",{class:(0,o.C_)([(0,l.SU)(n7)(e.status).color])},(0,o.zw)(e.status),3),(0,i._)("div",null,(0,o.zw)(l.SU(M)[e.status]?.name),1)]),_:2},1032,["value","onClick"]))),128))]),_:1},8,["style"]),(0,i.Wm)((0,l.SU)(s.r1),{class:"inset-x-px rounded-none rounded-b-lg"})]),key:"0"}:void 0]),1032,["target"])]),_:1}))}),rS=(0,c.Z)(rx,[["__scopeId","data-v-2cc840c9"]]),r_=n(64838),rE=n(80296);let rA=e=>{if(!e||!(e instanceof Element))return null;let t=[],n=e;for(;n instanceof Element;){let e=n.localName,r=1,a=n.previousElementSibling;for(;a;)a.localName===e&&r++,a=a.previousElementSibling;t.unshift(r>1?`${e}:nth-of-type(${r})`:e),n=n.parentElement}return t.join(" > ")},rT=(e="")=>{if(!e.trim())return null;if(e.startsWith("//"))try{let t=new URL(`https:${e}`);if("null"===t.origin)return null;let n=t.origin.replace(/^https?:/,""),r=decodeURIComponent(t.pathname)+t.search+t.hash;return[n,r]}catch{return null}try{let t=new URL(e);if("null"===t.origin)return null;let n=decodeURIComponent(t.pathname)+t.search+t.hash;return[t.origin,n]}catch{return null}};var rD=n(38025),rC=["id"],r$={class:"flex gap-1"},rP={class:"scroll-timeline-x scroll-timeline-x-hidden relative flex w-full bg-blend-normal"},rI={key:0,class:"z-context absolute inset-x-0 top-[calc(100%+4px)] flex flex-col items-center rounded px-6"},rN={class:"text-c-danger bg-b-danger border-c-danger flex items-center gap-1 rounded border p-1"},rU={class:"min-w-0 flex-1"},rM={"aria-hidden":"true",class:"inline-flex items-center gap-1"},rR={class:"sr-only"},rj=(0,i.aZ)({name:"AddressBar",props:{path:{},method:{},server:{},servers:{},history:{},layout:{},eventBus:{},environment:{},serverMeta:{}},emits:["execute","select:history:item"],setup(e,{expose:t,emit:n}){let r=(0,i.Me)(),{percentage:a,startLoading:u,stopLoading:c,isLoading:d}=nZ(),p=(0,i.Fl)(()=>({backgroundColor:`color-mix(in srgb, transparent 90%, ${nR.W[e.method].colorVar})`,transform:`translate3d(-${a.value}%,0,0)`})),m=tX.tk.scrollMargins.of(()=>({right:24})),f=(0,l.iH)(null),h=(0,l.iH)(null),g=(0,i.Fl)(()=>h.value||f.value);(0,i.YP)(()=>[e.path,e.method],()=>{f.value=null,h.value=null});let v=t=>{let n=rT(t);if(!n)return t;let[r,a]=n;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}})),a},y=(t,n,r=null)=>{let a=v(n),i=a.startsWith("/")?a:`/${a}`;S.value?.setCodeMirrorContent(i),e.eventBus.emit("operation:update:pathMethod",{meta:{method:e.method,path:e.path},blurTargetSelector:r,payload:{method:t,path:i},callback:(n,r)=>{if("success"===n||"no-change"===n?(h.value=null,f.value=null):"conflict"===n&&(t!==e.method&&(h.value=t),i!==e.path&&(f.value=i)),"no-change"===n&&S.value?.codeMirrorRef?.textContent&&S.value.codeMirrorRef.textContent!==a&&S.value.setCodeMirrorContent(a),r){let e=document.querySelector(r);e instanceof HTMLButtonElement?e.click():(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&"true"===e.getAttribute("contenteditable"))&&e.focus()}}})},b=t=>y(t,f.value??e.path),O=(t,n)=>{let r=n.relatedTarget,a=_.value?null:rA(r);_.value=!1,y(h.value??e.method,t,a)},w=t=>{t.target?.innerText==="\n"&&e.eventBus.emit("server:update:selected",{url:"",meta:e.serverMeta})},k=(t,n)=>{n.stopPropagation(),y(h.value??e.method,t,'[data-addressbar-action="send"]')},x=(0,i.AE)("sendButtonRef"),S=(0,i.AE)("addressBarRef"),_=(0,l.iH)(!1),E=()=>x.value?.$el?.focus(),A=t=>{(!S.value?.isFocused||"desktop"===e.layout)&&(S.value?.focus("end"),t&&"clear"in t&&t.clear&&S.value?.setCodeMirrorContent("/"),t&&"event"in t&&t.event.preventDefault())};(0,i.bv)(()=>{e.eventBus.on("ui:focus:address-bar",A),e.eventBus.on("ui:focus:send-button",E),e.eventBus.on("copy-url:address-bar",D),e.eventBus.on("hooks:on:request:sent",u),e.eventBus.on("hooks:on:request:complete",c)}),(0,i.Jd)(()=>{e.eventBus.off("ui:focus:address-bar",A),e.eventBus.off("ui:focus:send-button",E),e.eventBus.off("copy-url:address-bar",D),e.eventBus.off("hooks:on:request:sent",u),e.eventBus.off("hooks:on:request:complete",c),c()});let{copyToClipboard:T}=(0,rD.V)(),D=async()=>{await T((0,ty.BU)((0,ee.HJ)({server:e.server,path:e.path}),(0,ee.Ko)(e.environment)))},C=(0,l.iH)(!1),$=(0,l.iH)(!1),P=(0,i.Fl)(()=>C.value||$.value),I=()=>
4"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"});return t({methodConflict:h,pathConflict:f}),(t,a)=>((0,i.wg)(),(0,i.iD)("div",{id:(0,l.SU)(r),class:"scalar-address-bar order-last flex h-(--scalar-address-bar-height) w-full [--scalar-address-bar-height:32px] lg:order-0 lg:w-auto"},[(0,i._)("div",{class:(0,o.C_)(["address-bar-bg-states text-xxs group relative order-last flex w-full max-w-[calc(100dvw-24px)] flex-1 flex-row items-stretch rounded-lg p-0.75 lg:order-none lg:max-w-[580px] lg:min-w-[580px] xl:max-w-[720px] xl:min-w-[720px]",{"outline-c-danger outline":g.value,"rounded-b-none":P.value}])},[(0,i._)("div",{class:(0,o.C_)(["pointer-events-none absolute top-0 left-0 block h-full w-full overflow-hidden rounded-lg border",{"rounded-b-none":P.value}])},[(0,i._)("div",{class:"absolute top-0 left-0 h-full w-full",style:(0,o.j5)(p.value)},null,4)],2),(0,i._)("div",r$,[(0,i.Wm)((0,l.SU)(nL),{isEditable:"modal"!==e.layout,isSquare:"",method:h.value??e.method,teleport:"",onChange:b},null,8,["isEditable","method"])]),(0,i._)("div",rP,[e.servers.length?((0,i.wg)(),(0,i.j4)((0,l.SU)(n3),{key:0,layout:e.layout,meta:e.serverMeta,server:e.server,servers:e.servers,target:(0,l.SU)(r),"onUpdate:open":a[0]||(a[0]=e=>C.value=e),"onUpdate:selectedServer":a[1]||(a[1]=t=>e.eventBus.emit("server:update:selected",t)),"onUpdate:servers":I,"onUpdate:variable":a[2]||(a[2]=t=>e.eventBus.emit("server:update:variables",t))},null,8,["layout","meta","server","servers","target"])):(0,i.kq)("",!0),a[7]||(a[7]=(0,i._)("div",{class:"fade-left"},null,-1)),(0,i.Wm)((0,l.SU)(ev.Z),{ref_key:"addressBarRef",ref:S,alwaysEmitChange:"","aria-label":"Path",class:"min-w-fit outline-none",disableCloseBrackets:"",disabled:"modal"===e.layout,disableEnter:"",disableTabIndent:"",emitOnBlur:!1,environment:e.environment,extensions:[(0,l.SU)(m)],importCurl:"",layout:e.layout,modelValue:e.path,placeholder:e.server?"":"Enter a URL",server:"",onBlur:O,onKeydown:[(0,el.D2)(w,["delete"]),a[3]||(a[3]=(0,el.D2)(e=>_.value=!0,["tab"]))],onSubmit:k},null,8,["disabled","environment","extensions","layout","modelValue","placeholder"]),a[8]||(a[8]=(0,i._)("div",{class:"fade-right"},null,-1))]),(0,i.Wm)((0,l.SU)(s.Xk),{class:"hover:bg-b-3 mx-1",size:"xs",variant:"ghost",onClick:D},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(r_.Z)),a[9]||(a[9]=(0,i._)("span",{class:"sr-only"},"Copy URL",-1))]),_:1}),(0,i.Wm)(rS,{history:e.history,target:(0,l.SU)(r),"onSelect:history:item":a[4]||(a[4]=e=>n("select:history:item",e)),"onUpdate:open":a[5]||(a[5]=e=>$.value=e)},null,8,["history","target"]),g.value?((0,i.wg)(),(0,i.iD)("div",rI,[(0,i._)("div",rN,[(0,i.Wm)((0,l.SU)(rE.Z),{size:"sm"}),(0,i._)("div",rU,[a[10]||(a[10]=(0,i.Uk)(" A ",-1)),(0,i._)("em",null,(0,o.zw)(h.value?.toUpperCase()??e.method.toUpperCase()),1),a[11]||(a[11]=(0,i.Uk)(" request to ",-1)),(0,i.Wm)((0,l.SU)(s.ZG),{text:f.value??e.path},null,8,["text"]),a[12]||(a[12]=(0,i.Uk)(" already exists in this document ",-1))])])])):(0,i.kq)("",!0),(0,i.Wm)((0,l.SU)(s.Xk),{ref_key:"sendButtonRef",ref:x,class:"relative h-auto shrink-0 overflow-hidden py-1 pr-2.5 pl-2 font-bold","data-addressbar-action":"send",disabled:(0,l.SU)(d),onClick:a[6]||(a[6]=e=>n("execute"))},{default:(0,i.w5)(()=>[(0,i._)("span",rM,[(0,i.Wm)((0,l.SU)(s.sN),{class:"relative shrink-0 fill-current",icon:"Play",size:"xs"}),a[13]||(a[13]=(0,i._)("span",{class:"text-xxs hidden lg:flex"},"Send",-1))]),(0,i._)("span",rR," Send "+(0,o.zw)(e.method)+" request to "+(0,o.zw)(e.server?.url??"")+(0,o.zw)(e.path),1)]),_:1},8,["disabled"])],2)],8,rC))}}),rL=(0,c.Z)(rj,[["__scopeId","data-v-bc1b7459"]]),rZ={class:"relative flex items-center"},rB={class:"flex max-w-[220px] min-w-0 items-center gap-1.5"},rz={class:"text-xxs block max-w-[160px] min-w-0 truncate text-left font-medium"},rF={class:"min-w-0 flex-1 truncate"},rQ={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]"},rH={class:"min-w-0 flex-1 text-left"},rq={class:"block truncate"},rV={class:"flex h-4 w-4 items-center justify-center"},rW={key:5,class:"text-c-3 px-2 py-1.5 text-xs"},rX=(0,i.aZ)({__name:"EnvironmentSelector",props:{environments:{default:()=>[]},activeEnvironment:{}},emits:["select:environment","add:environment"],setup(e,{emit:t}){let n=(0,i.Fl)(()=>!!e.activeEnvironment),r=(0,i.Fl)(()=>e.environments.length>0),a=(0,i.Fl)(()=>!!e.activeEnvironment&&e.environments.includes(e.activeEnvironment)),u=(0,i.Fl)(()=>
4n.value&&!a.value),c=(0,i.Fl)(()=>u.value?`${e.activeEnvironment} (Unavailable)`:n.value?e.activeEnvironment:r.value?"Select Environment":"Add Environment"),d=(0,i.Fl)(()=>u.value?"hover:bg-b-2 text-c-2 border-transparent":n.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"),p=()=>{t("add:environment")},m=e=>{t("select:environment",e)};return(t,a)=>((0,i.wg)(),(0,i.iD)("div",rZ,[(0,i.Wm)((0,l.SU)(s.Lx),null,{items:(0,i.w5)(()=>[n.value?((0,i.wg)(),(0,i.j4)((0,l.SU)(s.EX),{key:0,class:"group/item flex w-full items-center gap-1.5",onClick:a[0]||(a[0]=e=>m(""))},{default:(0,i.w5)(()=>[(0,i._)("div",{class:(0,o.C_)(["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,i.Wm)((0,l.SU)(s.sN),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),a[1]||(a[1]=(0,i._)("span",{class:"text-c-2"},"No Environment",-1))]),_:1})):(0,i.kq)("",!0),n.value&&r.value?((0,i.wg)(),(0,i.j4)((0,l.SU)(s.F6),{key:1})):(0,i.kq)("",!0),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.environments,t=>((0,i.wg)(),(0,i.j4)((0,l.SU)(s.EX),{key:t,class:"group/item flex w-full min-w-0 items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",onClick:e=>m(t)},{default:(0,i.w5)(()=>[(0,i._)("div",{class:(0,o.C_)(["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,i.Wm)((0,l.SU)(s.sN),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),(0,i._)("span",rF,(0,o.zw)(t),1)]),_:2},1032,["onClick"]))),128)),u.value?((0,i.wg)(),(0,i.j4)((0,l.SU)(s.F6),{key:2})):(0,i.kq)("",!0),u.value?((0,i.wg)(),(0,i.j4)((0,l.SU)(s.EX),{key:3,class:"group/item flex h-auto w-full min-w-0 items-start gap-1.5 overflow-hidden",disabled:""},{default:(0,i.w5)(()=>[(0,i._)("div",rQ,[(0,i.Wm)((0,l.SU)(s.sN),{class:"size-2.5",icon:"Checkmark",thickness:"3"})]),(0,i._)("div",rH,[(0,i._)("span",rq,(0,o.zw)(e.activeEnvironment),1),a[2]||(a[2]=(0,i._)("span",{class:"text-c-3 block truncate text-xs"}," Not available in this context ",-1))])]),_:1})):(0,i.kq)("",!0),r.value?((0,i.wg)(),(0,i.j4)((0,l.SU)(s.F6),{key:4})):(0,i.kq)("",!0),(0,i.Wm)((0,l.SU)(s.EX),{class:"text-c-accent flex items-center gap-1.5",onClick:p},{default:(0,i.w5)(()=>[(0,i._)("div",rV,[(0,i.Wm)((0,l.SU)(s.sN),{icon:"Add",size:"sm"})]),(0,i._)("span",null,(0,o.zw)(r.value?"New Environment":"Create Environment"),1)]),_:1}),r.value||n.value?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",rW,[...a[3]||(a[3]=[(0,i._)("p",{class:"mb-1"}," Environments let you manage variables like API keys and base URLs across different contexts. ",-1)])]))]),default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(s.Xk),{"aria-label":`Current environment: ${c.value}`,class:(0,o.C_)(["line-clamp-1 h-full w-fit justify-start border px-2 py-1 font-normal transition-colors",d.value]),size:"sm",variant:"ghost"},{default:(0,i.w5)(()=>[(0,i._)("div",rB,[(0,i.Wm)((0,l.SU)(s.sN),{class:(0,o.C_)(["shrink-0",n.value&&!u.value?"text-c-accent":"text-c-3"]),icon:"Globe",size:"sm"},null,8,["class"]),(0,i._)("span",rz,(0,o.zw)(c.value),1),(0,i.Wm)((0,l.SU)(s.sN),{class:"shrink-0",icon:"ChevronDown",size:"xs"})])]),_:1},8,["aria-label","class"])]),_:1})]))}}),rY={class:"lg:min-h-header t-app__top-container flex w-full flex-wrap items-center justify-center p-2 pt-2 lg:p-1 lg:pt-1"},rG={class:"mb-2 flex w-1/2 flex-row items-center justify-end gap-2 lg:mb-0 lg:flex-1 lg:px-2.5"},rK=(0,i.aZ)({__name:"Header",props:{path:{},method:{},layout:{},hideClientButton:{type:Boolean,default:!1},integration:{},documentUrl:{},source:{},server:{},servers:{},history:{},eventBus:{},environments:{},activeEnvironment:{},environment:{},serverMeta:{}},emits:["execute","select:history:item","add:environment"],setup(e,{emit:t}){let n=t=>{e.eventBus.emit("workspace:update:active-environment",t)},r=()=>{e.eventBus.emit("ui:navigate",{page:"document",path:"environment"})};return(a,o)=>((0,i.wg)(),(0,i.iD)("div",rY,[o[7]||(o[7]=(0,i._)("div",{class:"mb-2 flex w-1/2 flex-row items-center gap-1 lg:mb-0 lg:flex-1 lg:px-1"},[(0,i._)("div",{class:"size-8"})],-1)),(0,i.Wm)((0,l.SU)(rL),{activeEnvironment:e.activeEnvironment,environment:e.environment,environments:e.environments,eventBus:e.eventBus,history:e.history,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")),"onSelect:history:item":o[2]||(o[2]=e=>t("select:history:item",e))},null,8,["activeEnvironment","environment","environments","eventBus","history","layout","method","path","server","serverMeta","servers"]),(0,i._)("div",rG,["modal"!==e.layout?((0,i.wg)(),(0,i.j4)(rX,{key:0,activeEnvironment:e.activeEnvironment,environments:e.environments,"onAdd:environment":r,"onSelect:environment":n},null,8,["activeEnvironment","environments"])):(0,i.kq)("",!0),"modal"===e.layout&&e.documentUrl&&!e.hideClientButton?((0,i.wg)(),(0,i.j4)(nM.Z,{key:1,buttonSource:"modal",class:"!w-fit lg:-mr-1",integration:e.integration??null,source:e.source??"api-reference",url:e.documentUrl},null,8,["integration","source","url"])):(0,i.kq)("",!0),"modal"===e.layout&&"g
4itbook"!==e.source?((0,i.wg)(),(0,i.iD)("button",{key:2,class:"app-exit-button zoomed:static zoomed:p-1 fixed top-2 right-2 rounded-full p-2",type:"button",onClick:o[3]||(o[3]=t=>e.eventBus.emit("ui:close:client-modal"))},[(0,i.Wm)((0,l.SU)(s.sN),{icon:"Close",size:"lg",thickness:"2"}),o[5]||(o[5]=(0,i._)("span",{class:"sr-only"},"Close Client",-1))])):(0,i.kq)("",!0),"modal"===e.layout&&"gitbook"===e.source?((0,i.wg)(),(0,i.iD)("button",{key:3,class:"text-c-1 hover:bg-b-2 active:text-c-1 -mr-1.5 rounded p-2",type:"button",onClick:o[4]||(o[4]=t=>e.eventBus.emit("ui:close:client-modal"))},[(0,i.Wm)((0,l.SU)(s.sN),{icon:"Close",size:"md",thickness:"1.75"}),o[6]||(o[6]=(0,i._)("span",{class:"sr-only"},"Close Client",-1))])):(0,i.kq)("",!0)])]))}}),rJ=(0,c.Z)(rK,[["__scopeId","data-v-bcbdc356"]]),r0=n(10317),r1=n(13945),r2={class:"bg-b-1 flex h-full flex-col"},r4={class:"lg:min-h-header flex w-full flex-wrap items-center justify-center p-2 lg:p-0"},r8=(0,i.aZ)({name:"OperationBlock",props:{eventBus:{},appVersion:{},document:{},workspaceCookies:{default:()=>[]},documentCookies:{default:()=>[]},path:{},method:{},httpClients:{default:()=>r0.n},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,i.Fl)(()=>(0,ea.W)(e.httpClients)),{toast:n}=(0,r1.e1)(),r=(0,l.iH)(null),a=(0,l.iH)(null),o=(0,l.iH)(null),s=()=>r.value?.abort($.REQUEST_ABORTED),c=async()=>{if(!1===er(e.operation.parameters??[],e.exampleKey).ok){n("Path parameters must have values.","error");return}let t=[...e.workspaceCookies,...e.documentCookies],{request:i}=(0,ee.Nh)({defaultHeaders:e.defaultHeaders,environment:e.environment,exampleName:e.exampleKey,globalCookies:t,method:e.method,operation:e.operation,path:e.path,proxyUrl:e.proxyUrl,server:e.server,selectedSecuritySchemes:e.selectedSecuritySchemes,isElectron:(0,N.d)(),requestBodyCompositionSelection:e.requestBodyCompositionSelection});a.value&&"reader"in a.value&&a.value.reader.cancel();let s=(0,ee.Xu)();await (0,nr.jg)({requestBuilder:i,document:e.document,operation:e.operation,variablesStore:s},"beforeRequest",e.plugins);let u={...(0,ee.Ko)(e.environment),...s.getVariables()},c=(()=>{try{return{ok:!0,result:(0,ee.ni)(i,{envVariables:u})}}catch(e){return{ok:!1,error:e instanceof Error?e.message:String(e)}}})();if(!1===c.ok){n(c.error,"error");return}r.value=c.result.controller,e.eventBus.emit("hooks:on:request:sent",{meta:{method:e.method,path:e.path,exampleKey:e.exampleKey}});let[d,p]=await X({isUsingProxy:c.result.isUsingProxy,requestPayload:c.result.requestPayload,plugins:e.plugins,customFetch:l.Tn(e.options)?.customFetch});if(p&&await (0,nr.jg)({response:p.originalResponse.clone(),requestBuilder:i,request:(0,U.hk)(...p.requestPayload),document:e.document,operation:e.operation,variablesStore:s},"responseReceived",e.plugins),e.eventBus.emit("hooks:on:request:complete",{payload:p?{response:p.originalResponse.clone(),requestPayload:p.requestPayload,duration:p.response.duration,timestamp:p.timestamp}:void 0,meta:{method:e.method,path:e.path,exampleKey:e.exampleKey}}),d){a.value=null,o.value=null,r.value=null,n(d.message,"error");return}a.value=p.response,o.value=p.requestPayload,"reader"in p.response||O.set(w(e.method,e.path,e.exampleKey),{response:p.response,requestPayload:p.requestPayload})};(0,i.bv)(()=>{e.eventBus.on("operation:send:request:hotkey",c),e.eventBus.on("operation:cancel:request",s)}),(0,i.Jd)(()=>{e.eventBus.off("operation:send:request:hotkey",c),e.eventBus.off("operation:cancel:request",s)});let d=(0,i.Fl)(()=>e.history.map(e=>({method:e.request.method,path:e.request.url,duration:e.time,status:e.response.status})).reverse()),f=({index:t})=>{let n=(e.history.length??0)-t-1,r=e.history[n];r&&e.eventBus.emit("operation:reload:history",{meta:{path:e.path,method:e.method},index:n,callback:()=>e.eventBus.emit("ui:navigate",{page:"example",method:e.method,path:e.path,exampleName:"draft",callback:t=>{if("success"!==t)return;let n=v({harResponse:r.response,url:r.request.url,method:e.method,path:e.path,duration:r.time}),i=m({harRequest:r.request});a.value=n,o.value=i}})})};return(0,i.YP)([()=>e.path,()=>e.method,()=>e.exampleKey],([e,t,n])=>{let r=w(t,e,n),i=O.get(r);i?(a.value=i.response,o.value=i.requestPayload):(a.value=null,o.value=null),s()},{immediate:!0}),(0,i.Jd)(()=>{s()}),(n,r)=>((0,i.wg)(),(0,i.iD)("div",r2,[(0,i._)("div",r4,[(0,i.Wm)(rJ,{activeEnvironment:e.activeEnvironment,documentUrl:e.documentUrl,environment:e.environment,environments:e.environments,eventBus:e.eventBus,hideClientButton:e.hideClientButton,history:d.value,integration:e.integration,layout:e.layout,method:e.method,path:e.path,server:e.server,serverMeta:e.serverMeta,servers:e.servers,source:e.source,onExecute:c,"onSelect:history:item":f},null,8,["activeEnvironment","documentUrl","environment","environments","eventBus","hideClientButton","history","integration","layout","method","path","server","serverMeta","servers","source"])]),(0,i.Wm)(u,{class:"border-t"},{default:(0,i.w5)(()=>[(0,i.Wm)(p,{class:"flex-1"},{default:(0,i.w5)(()=>[(0,i.Wm)((0,l.SU)(tE),{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,l.Tn)(e.options),path:e.path,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:e.server,w
4orkspaceCookies: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,i.Wm)((0,l.SU)(nU),{appVersion:e.appVersion,eventBus:e.eventBus,layout:e.layout,plugins:e.plugins,requestPayload:o.value,response:a.value,totalPerformedRequests:d.value.length},null,8,["appVersion","eventBus","layout","plugins","requestPayload","response","totalPerformedRequests"])]),_:1})]),_:1})]))}})},86098:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(82589),a=n(72909),i=n(52443),o=n(10115),l=["href"],s=(0,r.aZ)({__name:"OpenApiClientButton",props:{buttonSource:{},source:{default:"api-reference"},isDevelopment:{type:Boolean},integration:{},url:{}},setup(e){let t=(0,r.Fl)(()=>{let t=e.url??("undefined"!=typeof window?window.location.href:void 0);if(!t)return;let n=(0,o.K)(t);if(!n?.length)return;let r=new URL(e.isDevelopment?"http://localhost:5065":"https://client.scalar.com");if(r.searchParams.set("url",n),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,n)=>t.value?((0,r.wg)(),(0,r.iD)("a",{key:0,class:"open-api-client-button",href:t.value,target:"_blank"},[(0,r.Wm)((0,a.SU)(i.Z),{class:"size-3",weight:"regular"}),n[0]||(n[0]=(0,r.Uk)(" Open API Client ",-1))],8,l)):(0,r.kq)("",!0)}}),u=(0,n(67668).Z)(s,[["__scopeId","data-v-264dd42f"]])},38917:function(e,t,n){"use strict";n.d(t,{C5:function(){return i},CT:function(){return a},_l:function(){return o}});var r=n(10158),a="shell/curl",i=e=>r.n.includes(e),o=(e,t)=>{let n=e[0]?.options[0];if(t)for(let n of e){let e=n.options.find(e=>e.id===t);if(e)return e}if(!n?.id.startsWith("custom"))for(let t of e){let e=t.options.find(e=>e.id===a);if(e)return e}return n}},16854:function(e,t,n){"use strict";n.d(t,{G:function(){return i},W:function(){return o}});var r=n(34280),a=n(10158),i=e=>`custom/${e.lang}`,o=(e=a.n)=>{let t=new Set(e);return(0,a.B)().clients().flatMap(e=>{let n=e.clients.flatMap(n=>{let a=`${e.key}/${n.client}`;return t.has(a)?{id:a,lang:"curl"===n.client?"curl":e.key,title:`${(0,r.kC)(e.title)} ${n.title}`,label:n.title,targetKey:e.key,targetTitle:e.title,clientKey:n.client}:[]});return 0===n.length?[]:{label:e.title,key:e.key,options:n}})}},92969:function(e,t,n){"use strict";n.d(t,{L:function(){return s}});var r=n(10514),a=n(16854),i=n(10158),o="ws://replace.me",l=(e,t,n)=>{try{if(!n.url)return[Error("Please enter a URL to see a code snippet"),null];let r=n.url.startsWith("/")?"":"/";try{new URL(n.url)}catch{n.url=`${o}${r}${n.url}`}if(n.postData?.mimeType==="application/json")try{JSON.parse(n.postData.text||"{}")}catch(e){return console.error("[getSnippet] Invalid JSON body",e),[Error("Invalid JSON body"),null]}let a=e.replace("javascript","js");if((0,i.B)().hasPlugin(a,t)){let e=(0,i.B)().print(a,t,n);if(!e)return[Error("Error generating snippet"),null];return[null,e.replace(`${o}${r}`,"")]}}catch(e){return console.error("[getSnippet] Error generating snippet",e),[Error("Error generating snippet"),null]}return[Error("No snippet found"),null]},s=({clientId:e,customCodeSamples:t,includeDefaultHeaders:n=!1,operation:i,method:o,path:s,example:u,contentType:c,server:d,securitySchemes:p,globalCookies:m,requestBodyCompositionSelection:f,defaultDisabledParameters:h})=>{try{if(!e)return"";if(e.startsWith("custom"))return t.find(t=>a.G(t)===e)?.source??"Custom example not found";let g=(0,r.c)({operation:i,contentType:c,method:o,path:s,server:d,securitySchemes:p,example:u,globalCookies:m,includeDefaultHeaders:n,requestBodyCompositionSelection:f,defaultDisabledParameters:h}),[v,y]=e.split("/"),[b,O]=l(v,y,g);if(b)return console.error("[generateCodeSnippet]",b),b.message??"Error generating code snippet";return O}catch(e){return console.error("[generateCodeSnippet]",e),"Error generating code snippet"}}},46117:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(16854),a=(e,t)=>e.length?[{label:"Code Examples",key:"custom",options:e.map(e=>{let t=(0,r.G)(e),n=e.label||e.lang||t;return{id:t,lang:e.lang||"plaintext",title:n,label:n,clientKey:"custom"}})},...t]:t},44154:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});var r=e=>["x-custom-examples","x-codeSamples","x-code-samples"].flatMap(t=>e[t]??[])},58233:function(e,t,n){"use strict";n.d(t,{c:function(){return o}});var r=n(74275),a=n(91474),i=n(23899),o=e=>{let t=new WeakSet,n=new WeakMap,o=e=>{if(!(0,i.K)(e)&&!Array.isArray(e))return e;let l=(0,a.O)(e,{depth:1});if(n.has(l))return n.get(l);if(t.has(l))return"[circular]";if(t.add(l),"$ref"in e){let t=o((0,r.n)(e));return n.set(l,t),t}if(Array.isArray(e)){let t=e.map(o);return n.set(l,t),t}let s=Object.fromEntries(Object.entries(e).map(([e,t])=>
4[e,o(t)]));return n.set(l,s),s};return o(e)}},63061:function(e,t,n){"use strict";n.d(t,{i:function(){return a}});var r=n(31412),a=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.cv)(`${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)},10514:function(e,t,n){"use strict";n.d(t,{c:function(){return C}});var r=n(65980),a=n(46778),i=n(19046),o=n(74275),l=(e,t,n)=>({name:e,defaultValue:t,isOverridden:n.has(e.toLowerCase())}),s=({method:e,operation:t,exampleKey:n,hideDisabledHeaders:s=!1})=>{let u=new Set(t.parameters?.filter(e=>"header"===o.n(e).in).map(e=>o.n(e).name.toLowerCase())??[]),c=t["x-scalar-disable-parameters"]?.["default-headers"]?.[n]??{},d=[],p=(0,o.n)(t.requestBody);if((0,i.LV)(e)&&p){let e=p["x-scalar-selected-content-type"]?.[n]??Object.keys(p.content??{})[0];e&&"none"!==e&&d.push(l("Content-Type",e,u))}let m=Object.keys(t.responses??{}).find(e=>e.startsWith("2")),f=m?(0,o.n)(t.responses[m]):null,h=Object.keys(f?.content??{}).join(", ")||"*/*";return(d.push(l("Accept",h,u)),(0,a.d)()&&r.J&&d.push(l("User-Agent",`Scalar/${r.J}`,u)),s)?d.filter(e=>!0!==c[e.name.toLowerCase()]):d},u=n(58233),c=n(86940);let d={"&":"&","<":"<",">":">",'"':""","'":"'"};function p(e){return e.replace(/[&<>"']/g,e=>d[e]??e)}function m(e,t={}){let{indent:n=" ",format:r=!0,xmlDeclaration:a=!0}=t,i=(e,t,r)=>{let a="";if(Array.isArray(e))for(let n=0,o=e.length;n<o;n++)a+=i(e[n],t,r);else if("object"==typeof e&&null!==e){let o=!1,l="",s="";for(let t in e)"@"===t.charAt(0)&&(l+=" "+t.substr(1)+'="'+p(e[t].toString())+'"');for(let t in e)"#text"===t?s+=p(e[t]?.toString()??""):"#cdata"===t?s+="<![CDATA["+(e[t]?.toString()??"").replace(/]]>/g,"]]]]><![CDATA[>")+"]]>":"@"!==t.charAt(0)&&(o=!0,s+=i(e[t],t,r+n));o||s?a+=r+"<"+t+l+">\n"+s+(r+"</")+t+">\n":a+=r+"<"+t+l+"/>\n"}else a+=r+"<"+t+">"+p(e?.toString()||"")+"</"+t+">\n";return a},o="";for(let t in a&&(o+='<?xml version="1.0" encoding="UTF-8"?>',r&&(o+="\n")),e)Object.hasOwn(e,t)&&(o+=i(e[t],t,""));return r?o.trim():o.replace(/\n/g,"").replace(/>\s+</g,"><").trim()}var f=n(91474),h=(e,t,n)=>{let r=[];for(let[a,i]of Array.isArray(e)?e.filter(e=>!e.isDisabled).map(e=>[e.name,e.value]):Object.entries(e)){if(null==i)continue;let e=n?void 0:t?.[a]?.contentType;if(i instanceof File){let t=(0,f.O)(i);r.push({name:a,value:`@${t.name}`,...e?{contentType:e}:{}})}else if(e&&"object"==typeof i)r.push({name:a,value:JSON.stringify((0,f.O)(i)),contentType:e});else if(Array.isArray(i))for(let e of i)if(e instanceof File){let t=(0,f.O)(e);r.push({name:a,value:`@${t.name}`})}else r.push({name:a,value:String(e)});else if("object"==typeof i)for(let e of h(i,void 0,a))r.push({name:`${a}.${e.name}`,value:e.value});else r.push({name:a,value:String(i),...e?{contentType:e}:{}})}return r},g=({requestBody:e,contentType:t,example:n,requestBodyCompositionSelection:r})=>{let a=t||Object.keys(e.content)[0]||"",i=e.content[a]?.encoding,l="multipart/form-data"===a||"application/x-www-form-urlencoded"===a,s="application/xml"===a,d=c.W7(e,n,t)?.value;if(void 0!==d){let e=null!==d&&"object"==typeof d?(0,f.O)(d):d;return l&&"object"==typeof e&&null!==e?{mimeType:a,params:h(e,"multipart/form-data"===a?i:void 0)}:s&&"object"==typeof e&&null!==e?{mimeType:a,text:m(e)}:e instanceof File?{mimeType:a,text:`@${(0,f.O)(e).name||"filename"}`}:{mimeType:a,text:"string"==typeof e?e:JSON.stringify(e)}}let p=(0,o.n)(e.content[a]?.schema);if(void 0!==p){let e=(0,c.$k)((0,u.c)(p),{compositionSelection:r,mode:"write",xml:s},{schemaPath:["requestBody"]});if(void 0!==e)return l&&"object"==typeof e&&null!==e?{mimeType:a,params:h(e,"multipart/form-data"===a?i:void 0)}:s&&"object"==typeof e&&null!==e?{mimeType:a,text:m(e)}:{mimeType:a,text:"string"==typeof e?e:JSON.stringify(e)}}},v=n(55372),y=e=>(e??[]).map(e=>(0,o.n)(e)),b=e=>"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,O=(e,t)=>b(t)?e:encodeURIComponent(e),w=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],n="style"in e&&e.style?e.style:t;return{style:n,explode:"explode"in e&&void 0!==e.explode?e.explode:"form"===n}},k=(e,t,n,r)=>
4{let a=(0,c.W7)(e,t,n);if((0,v.x)(e,a,r))return;if(a?.value!==void 0)return(0,c.cg)(a.value,e);if(!("schema"in e)||!e.schema)return;let i="path"===e.in?{emptyString:`{${e.name}}`}:{};return(0,c.$k)((0,o.n)(e.schema),i)},x=({harRequest:e,parameters:t,example:n,defaultDisabled:r})=>{let a=[...e.headers],i=[...e.queryString],o=e.url;for(let l of y(t)){if(!l.in||!l.name)continue;let t=k(l,n,void 0,r);if(void 0===t)continue;let{style:s,explode:u}=w(l);switch(l.in){case"path":o=S(o,l,t,s,u);break;case"query":if("content"in l&&l.content){let e=(0,c.Gr)(t,Object.keys(l.content)[0]??"application/json");i.push({name:l.name,value:O(e,l)});break}switch(s){case"form":{let e=(0,c.w5)(t,u);if(Array.isArray(e))for(let t of e){let e=t.key||l.name;i.push({name:e,value:O(String(t.value),l)})}else i.push({name:l.name,value:O(String(e),l)});break}case"spaceDelimited":{let e=(0,c.zx)(t);i.push({name:l.name,value:O(e,l)});break}case"pipeDelimited":{let e=(0,c.SU)(t);i.push({name:l.name,value:O(e,l)});break}case"deepObject":if(u)for(let e of(0,c.Sd)(l.name,t))i.push({name:e.key,value:O(e.value,l)});break;default:i.push({name:l.name,value:O(String(t),l)})}break;case"header":{let e=(0,c.mq)(t,u);a.push({name:l.name,value:String(e)});break}case"cookie":{let n=(0,c.Qk)(t,u);if(Array.isArray(n))for(let t of n){let n=t.key||l.name,r=null===t.value?"null":String(t.value);e.cookies.push({name:n,value:r})}else{let t=null===n?"null":String(n);e.cookies.push({name:l.name,value:t})}}}}return{url:o,headers:a,queryString:i,cookies:e.cookies}},S=(e,t,n,r,a)=>{switch(r){case"matrix":if(a){if(Array.isArray(n)){let r=n.map(e=>`${t.name}=${e}`).join(";");return e.replace(`{;${t.name}}`,`;${r}`)}if("object"==typeof n&&null!==n){let r=Object.entries(n).map(([e,t])=>`${e}=${t}`).join(";");return e.replace(`{;${t.name}}`,`;${r}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${n}`)}if(Array.isArray(n))return e.replace(`{;${t.name}}`,`;${t.name}=${n.join(",")}`);if("object"==typeof n&&null!==n){let r=Object.entries(n).map(([e,t])=>`${e},${t}`).join(",");return e.replace(`{;${t.name}}`,`;${t.name}=${r}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${n}`);case"label":if(a){if(Array.isArray(n))return e.replace(`{.${t.name}}`,`.${n.join(".")}`);if("object"==typeof n&&null!==n){let r=Object.entries(n).map(([e,t])=>`${e}=${t}`).join(".");return e.replace(`{.${t.name}}`,`.${r}`)}return e.replace(`{.${t.name}}`,`.${n}`)}if(Array.isArray(n))return e.replace(`{.${t.name}}`,`.${n.join(",")}`);if("object"==typeof n&&null!==n){let r=Object.entries(n).map(([e,t])=>`${e},${t}`).join(",");return e.replace(`{.${t.name}}`,`.${r}`)}return e.replace(`{.${t.name}}`,`.${n}`);case"simple":{let r=(0,c.mq)(n,a);return e.replace(`{${t.name}}`,String(r))}default:return e.replace(`{${t.name}}`,String(n))}},_=n(31412),E=e=>{let t={headers:[],queryString:[],cookies:[]};for(let n of e){if("apiKey"===n.type){let e=n["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";if(!n.name)continue;let r={name:n.name,value:e};switch(n.in){case"header":t.headers.push(r);break;case"query":t.queryString.push(r);break;case"cookie":t.cookies.push(r)}continue}if("http"===n.type){if("basic"===n.scheme){let e=`${n["x-scalar-secret-username"]||""}:${n["x-scalar-secret-password"]||""}`,r=":"===e?"username:password":(0,_.cv)(e);t.headers.push({name:"Authorization",value:`Basic ${r}`})}else if("bearer"===n.scheme){let e=n["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";t.headers.push({name:"Authorization",value:`Bearer ${e}`})}continue}if("oauth2"===n.type&&n.flows){let e=Object.values(n.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},A=n(27678),T=n(61365),D=(e,t)=>{if(!e?.url)return t;let n=e.url;return e.variables?(0,T.GK)((0,A.bU)(n,Object.entries(e.variables).reduce((e,[t,n])=>(void 0!==n.default&&(e[t]=n.default),e),{})),t):(0,T.GK)(n,t)},C=({includeDefaultHeaders:e=!1,operation:t,contentType:n,method:r,path:a,server:i=null,example:l,securitySchemes:u,globalCookies:d,requestBodyCompositionSelection:p,defaultDisabledParameters:m=!1})=>{let f=e?s({method:r,operation:t,exampleKey:l??"default",hideDisabledHeaders:!0}).filter(e=>
4!e.isOverridden):[],h=t["x-scalar-disable-parameters"]?.["global-cookies"]?.[l??"default"]??{},v={method:r,url:D(i,a),headers:f.map(e=>({name:e.name,value:e.defaultValue})),queryString:[],postData:void 0,httpVersion:"HTTP/1.1",cookies:[],headersSize:-1,bodySize:-1};if(t.parameters){let{url:e,headers:n,queryString:r,cookies:a}=x({harRequest:v,parameters:t.parameters,example:l,defaultDisabled:m}),i=d?.filter(t=>c.OS({cookie:t,url:e,disabledGlobalCookies:h}))?.map(e=>({name:e.name,value:e.value}))??[];v.url=e,v.headers=n,v.queryString=r,v.cookies=[...i,...a]}let y=(0,o.n)(t.requestBody);if(y?.content){let e=g({requestBody:y,contentType:n,example:l,requestBodyCompositionSelection:p});if(e&&(v.postData=e,v.bodySize=e.text?.length??-1,e.mimeType)){let t=v.headers.find(e=>"content-type"===e.name.toLowerCase());t&&!t.value?t.value=e.mimeType:t||v.headers.push({name:"Content-Type",value:e.mimeType})}}if(u){let{headers:e,queryString:t,cookies:n}=E(u);v.headers.push(...e),v.queryString.push(...t),v.cookies.push(...n)}let b=0;for(let e of v.headers)b+=(e.name?.length??0)+2+(e.value?.length??0)+2;return v.headersSize=b,v}},55372:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var r=(e,t,n=!0)=>{let r=t?.["x-disabled"];return"boolean"==typeof r?r:!!n&&!e.required&&"path"!==e.in}},28112:function(e,t,n){"use strict";n.d(t,{Z:function(){return tf}});var r=n(60626),a=n(82589),i=n(72909),o=n(34280),l=n(14007),s={class:"text-c-2 mb-4 text-sm leading-normal"},u={class:"flex justify-between gap-2"},c=(0,a.aZ)({__name:"DeleteRequestAuthModal",props:{state:{},label:{}},emits:["close","delete"],setup(e,{emit:t}){let n=()=>{t("delete")};return(r,c)=>((0,a.wg)(),(0,a.j4)((0,i.SU)(l.FD),{size:"xxs",state:e.state,title:"Delete Security Scheme"},{default:(0,a.w5)(()=>[(0,a._)("p",s," This cannot be undone. You're about to delete the "+(0,o.zw)(e.label)+" security scheme from the collection. ",1),(0,a._)("div",u,[(0,a.Wm)((0,i.SU)(l.Xk),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",type:"button",variant:"outlined",onClick:c[0]||(c[0]=e=>t("close"))},{default:(0,a.w5)(()=>[...c[1]||(c[1]=[(0,a.Uk)(" Cancel ",-1)])]),_:1}),(0,a.Wm)((0,i.SU)(l.Xk),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",type:"submit",onClick:n},{default:(0,a.w5)(()=>[(0,a.Uk)(" Delete "+(0,o.zw)(e.label),1)]),_:1})])]),_:1},8,["state"]))}}),d={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:{}}}}}},p=n(74275),m=n(11954),f=e=>JSON.stringify(Object.keys(e)),h=({name:e,value:t})=>({id:(0,m.b)(JSON.stringify(t)),label:e,value:t,isDeletable:!0}),g=e=>h({name:Object.keys(e).join(" & "),value:e}),v=(e,t)=>{let n=Object.keys(e);if(n.length>1)return g(e);if(n[0]){if(!(0,p.n)(t[n[0]]))return;return h({name:n[0],value:e})}},y=(e,t,n,r=!1)=>{let a=new Map(n.map(e=>[f(e),e])),{requiredFormatted:i,requiredSchemeNames:o,existingIds:l}=e.reduce((e,n)=>{let r=v(a.get(f(n))??n,t);for(let t of(r&&(e.requiredFormatted.push(r),e.existingIds.add(r.id)),Object.keys(n)))e.requiredSchemeNames.add(t);return e},{requiredFormatted:[],requiredSchemeNames:new Set,existingIds:new Set}),s=[];for(let[e,n]of Object.entries(t))if(!o.has(e)&&(0,p.n)(n)){let t=h({name:e,value:{[e]:[]}});s.push(t),l.add(t.id)}for(let e of n){let n=v(e,t);n&&!l.has(n.id)&&(s.push(n),l.add(n.id))}let u=[{label:"Required authentication",options:i},{label:"Available authentication",options:s}];
4return r?(u.push({label:"Add new authentication",options:Object.entries(d).map(([e,t])=>({id:e,label:t.label,value:{[e]:[]},payload:t.payload,isDeletable:!1}))}),u):i.length?u:s},b=n(47946),O=n(74653),w=n(5713),k=n(67668),x=n(66429),S=n(39304),_=n(85015),E=n(1859),A={key:0},T={key:1},D={key:2},C={key:3},$={key:4},P={key:5},I=(0,a.aZ)({name:"ScalarIconEye",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,E.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",A,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",T,[...r[1]||(r[1]=[(0,a._)("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,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",D,[...r[2]||(r[2]=[(0,a._)("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1)])])):"light"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",C,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",$,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",P,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}}),N={key:0},U={key:1},M={key:2},R={key:3},j={key:4},L={key:5},Z=(0,a.aZ)({name:"ScalarIconEyeSlash",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,E.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",N,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",
4U,[...r[1]||(r[1]=[(0,a._)("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,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",M,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",R,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",j,[...r[4]||(r[4]=[(0,a._)("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)])])):"thin"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",L,[...r[5]||(r[5]=[(0,a._)("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,
4136.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,a.kq)("",!0)],16))}}),B=["for"],z={class:"relative flex min-w-0 flex-1"},F=["readOnly","type","value"],Q={key:1,class:"centered-y text-orange absolute right-7 text-xs"},H=(0,a.aZ)({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:{},min:{},max:{},environment:{},description:{},lineWrapping:{type:Boolean,default:!1},withFakeData:{type:Boolean,default:!0}},emits:["update:modelValue","inputFocus","inputBlur","selectVariable"],setup(e,{emit:t}){let n=(0,i.iH)(!0),r=(0,i.iH)(!1),s=(0,a.AE)("codeInput"),u=()=>!r.value&&t("inputBlur"),c=(0,a.Fl)(()=>"password"===e.type?"text":e.type??"text"),d=()=>{e.enum?.length||e.readOnly||s.value?.focus()};return(r,p)=>((0,a.wg)(),(0,a.j4)(O.Z,{class:(0,o.C_)(["relative flex",e.containerClass])},{default:(0,a.w5)(()=>[r.$slots.default?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"text-c-1 flex items-center pr-0 pl-3",for:e.id??"",onClick:d},[(0,a.WI)(r.$slots,"default",{},void 0,!0),p[6]||(p[6]=(0,a.Uk)(": ",-1))],8,B)):(0,a.kq)("",!0),(0,a._)("div",z,[e.enum&&e.enum.length?((0,a.wg)(),(0,a.j4)(x.Z,{key:0,canAddCustomValue:e.canAddCustomEnumValue,modelValue:e.modelValue,value:e.enum,"onUpdate:modelValue":p[0]||(p[0]=e=>t("update:modelValue",e))},null,8,["canAddCustomValue","modelValue","value"])):((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[n.value&&"password"===e.type?((0,a.wg)(),(0,a.iD)("input",(0,a.dG)({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:p[1]||(p[1]=e=>t("update:modelValue",e.target.value??""))}),null,16,F)):((0,a.wg)(),(0,a.j4)((0,i.SU)(S.Z),(0,a.dG)({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"]],description:e.description,disableCloseBrackets:"",disableTabIndent:"",environment:e.environment,lineWrapping:!!e.lineWrapping,max:e.max,min:e.min,modelValue:e.modelValue??"",readOnly:e.readOnly,required:!!e.required,spellcheck:"false",type:c.value,withFakeData:e.withFakeData,onBlur:u,onFocus:p[2]||(p[2]=e=>t("inputFocus")),"onUpdate:modelValue":p[3]||(p[3]=e=>t("update:modelValue",e))}),null,16,["id","class","description","environment","lineWrapping","max","min","modelValue","readOnly","required","type","withFakeData"]))],64))]),r.$slots.warning?((0,a.wg)(),(0,a.iD)("div",Q,[(0,a.WI)(r.$slots,"warning",{},void 0,!0)])):(0,a.kq)("",!0),(0,a.WI)(r.$slots,"icon",{},void 0,!0),e.modelValue?((0,a.wg)(),(0,a.j4)((0,i.SU)(l.ot),{key:2,class:"-ml-.25 h-6 w-6 self-center p-1.25",icon:(0,i.SU)(_.Z),label:"Clear Value",onClick:p[4]||(p[4]=e=>t("update:modelValue",""))},null,8,["icon"])):(0,a.kq)("",!0),"password"===e.type?((0,a.wg)(),(0,a.j4)((0,i.SU)(l.ot),{key:3,class:"-ml-.5 mr-1.25 h-6 w-6 self-center p-1.25","data-testid":"data-table-password-toggle",icon:n.value?(0,i.SU)(I):(0,i.SU)(Z),label:n.value?"Show Password":"Hide Password",onClick:p[5]||(p[5]=e=>n.value=!n.value)},null,8,["icon","label"])):(0,a.kq)("",!0)]),_:3},8,["class"]))}}),q=(0,k.Z)(H,[["__scopeId","data-v-819cea32"]]),V=["for"],W=(0,a.aZ)({__name:"RequestAuthDataTableInput",props:(0,a.Vf)({containerClass:{},environment:{},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},type:{}},{modelValue:{default:"",required:!0},modelModifiers:{}}),emits:(0,a.Vf)(["inputFocus","inputBlur","selectVariable"],["update:modelValue"]),setup(e,{emit:t}){let n=(0,a.tT)(e,"modelValue"),r=(0,a.Me)();return(o,l)=>((0,a.wg)(),(0,a.j4)((0,i.SU)(q),(0,a.dG)({id:(0,i.SU)(r)},o.$attrs,{modelValue:n.value,"onUpdate:modelValue":l[0]||(l[0]=e=>n.value=e),canAddCustomEnumValue:!e.readOnly,containerClass:e.containerClass,environment:e.environment,lineWrapping:"",readOnly:e.readOnly,required:e.required,type:e.type,onInputBlur:l[1]||(l[1]=e=>t("inputBlur")),onInputFocus:l[2]||(l[2]=e=>t("inputFocus")),onSelectVariable:l[3]||(l[3]=e=>t("selectVariable",e))}),{default:(0,a.w5)(()=>[(0,a._)("label",{for:(0,i.SU)(r)},[(0,a.WI)(o.$slots,"default")],8,V)]),icon:(0,a.w5)(()=>[(0,a.WI)(o.$slots,"icon")]),_:3},16,["id","modelValue","canAddCustomEnumValue","containerClass","environment","readOnly","required","type"]))}}),X=n(93505),Y=n(19614),G={class:"flex gap-2"},K={class:"flex max-h-8 flex-1"},J=(0,a.aZ)({name:"CommandActionForm",props:{loader:{},disabled:{type:Boolean,default:!1}},emits:["submit","cancel","back"],setup(e,{emit:t}){let{cx:n}=(0,l.li)(),r=()=>{e.disabled||t("submit")};return(t,s)=>((0,a.wg)(),(0,a.iD)("form",{class:"flex w-full flex-col gap-3",onKeydown:s[0]||(s[0]=(0,Y.D2)((0,Y.iM)(()=>{},["stop"]),["enter"])),onSubmit:(0,Y.iM)(r,["prevent","stop"])},[(0,a._)("div",(0,o.vs)((0,a.F4)((0,i.SU)(n)("relative flex min-h-20 flex-col rounded"))),[(0,a.WI)(t.$slots,"default")],16),(0,a._)("div",G,[(0,a._)("div",K,[(0,a.WI)(t.$slots,"options")]),(0,a.Wm)((0,i.SU)(l.Xk),{class:"max-h-8 px-3 text-xs",disabled:e.disabled,loader:e.loader,type:"submit"},{default:(0,a.w5)(()=>[(0,a.WI)(t.$slots,"submit",{},()=>[s[1]||(s[1]=(0,a.Uk)("Continue",-1))])]),_:3},8,["disabled","loader"])])],32))}}),ee=["placeholder"],et=(0,a.aZ)({name:"CommandActionInput",inheritAttrs:!1,props:{modelValue:{},placeholder:{},autofocus:{type:Boolean,default:!0}},emits:["update:modelValue","delete"],setup(e,{emit:t}){let n=(0,i.iH)(null),r=(0,a.Fl)({get:()=>e.modelValue??"",set:e=>t("update:modelValue",e)});(0,a.bv)(()=>{(0,a.Y3)(()=>{e.autofocus&&n.value?.focus()})});let o=e=>{if(e.shiftKey||!e.target)return;e.preventDefault();let t=e.target,n=new Event("submit",{cancelable:!0});t.form?.dispatchEvent(n)},l=e=>{""===r.value&&(e.preventDefault(),e.stopPropagation(),t("delete",e))};return(t,i)=>
4(0,a.wy)(((0,a.wg)(),(0,a.iD)("textarea",(0,a.dG)({id:"command-action-input",ref_key:"input",ref:n,"onUpdate:modelValue":i[0]||(i[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,Y.D2)(l,["delete"]),(0,Y.D2)(o,["enter"])]}),null,16,ee)),[[Y.nr,r.value]])}}),en=n(13945),er={class:"flex h-8 items-start gap-2 text-sm"},ea={class:"flex h-8 items-start gap-2 text-sm"},ei=(0,a.aZ)({__name:"OAuthScopesAddModal",props:{state:{},scopes:{}},emits:["cancel","submit"],setup(e,{emit:t}){let n=(0,i.iH)({name:"",description:""}),{toast:r}=(0,en.e1)(),o=()=>{if(!n.value.name){r("Please fill in the name before adding a scope.","error");return}t("submit",n.value),e.state.hide()};return(0,a.YP)(()=>e.state.open,e=>{e&&(n.value={name:"",description:""})}),(r,s)=>((0,a.wg)(),(0,a.j4)((0,i.SU)(l.FD),{size:"xs",state:e.state,title:"Add Scope"},{default:(0,a.w5)(()=>[(0,a.Wm)((0,i.SU)(J),{disabled:!n.value.name||e.scopes.includes(n.value.name),onCancel:s[2]||(s[2]=e=>t("cancel")),onSubmit:o},{submit:(0,a.w5)(()=>[...s[5]||(s[5]=[(0,a.Uk)("Add Scope",-1)])]),default:(0,a.w5)(()=>[(0,a._)("div",er,[s[3]||(s[3]=(0,a.Uk)(" Name: ",-1)),(0,a.Wm)((0,i.SU)(et),{modelValue:n.value.name,"onUpdate:modelValue":s[0]||(s[0]=e=>n.value.name=e),autofocus:"",class:"!p-0",placeholder:"read:user"},null,8,["modelValue"])]),(0,a._)("div",ea,[s[4]||(s[4]=(0,a.Uk)(" Description: ",-1)),(0,a.Wm)((0,i.SU)(et),{modelValue:n.value.description,"onUpdate:modelValue":s[1]||(s[1]=e=>n.value.description=e),class:"!p-0",placeholder:"Read user data"},null,8,["modelValue"])])]),_:1},8,["disabled"])]),_:1},8,["state"]))}}),eo=(0,k.Z)(ei,[["__scopeId","data-v-678c9f4a"]]),el=n(67413),es={class:"flex h-fit w-full"},eu={class:"flex-1"},ec={class:"flex items-center gap-1.75"},ed={class:"grid max-h-40 auto-rows-auto overflow-x-hidden overflow-y-scroll",style:{gridTemplateColumns:"1fr auto"}},ep={class:"font-code text-xs"},em={key:0},ef=(0,a.aZ)({__name:"OAuthScopesInput",props:{flowType:{},flow:{},selectedScopes:{}},emits:["update:selectedScopes"],setup(e,{emit:t}){let n=(0,i.iH)(""),r=(0,a.Fl)(()=>Object.entries(e.flow?.scopes??{}).map(([e,t])=>({id:e,label:e,description:t}))),s=(0,a.Fl)(()=>{if(!n.value)return r.value;let e=RegExp(n.value.split("").map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join(".*"),"i");return r.value.filter(({label:t,description:n})=>e.test(`${t} ${n}`))}),u=(0,a.Fl)(()=>e.selectedScopes.length===Object.keys(e.flow?.scopes??{}).length);function c(n,r){if(r)return t("update:selectedScopes",{scopes:Array.from(new Set([...e.selectedScopes,n]))});t("update:selectedScopes",{scopes:e.selectedScopes.filter(e=>e!==n)})}let d=()=>t("update:selectedScopes",{scopes:Object.keys(e.flow?.scopes??{})}),p=()=>t("update:selectedScopes",{scopes:[]}),m=(0,l.dd)();return(r,f)=>((0,a.wg)(),(0,a.j4)((0,i.SU)(O.Z),{class:"h-auto !max-h-[initial] min-h-8 items-center"},{default:(0,a.w5)(()=>[(0,a._)("div",es,[f[7]||(f[7]=(0,a._)("div",{class:"text-c-1 h-full items-center"},null,-1)),(0,a.Wm)((0,i.SU)(el.pJ),{as:"div",class:"bl flex w-full flex-col"},{default:(0,a.w5)(()=>[(0,a.Wm)((0,i.SU)(el.lG),{class:(0,o.C_)(["group/scopes-accordion hover:text-c-1 flex h-auto min-h-8 cursor-pointer items-center gap-1.5 pr-2.25 pl-3 text-left",(e.selectedScopes.length||0)>0?"text-c-1":"text-c-3"])},{default:(0,a.w5)(({open:t})=>[(0,a._)("div",eu," Scopes Selected "+(0,o.zw)(e.selectedScopes.length||0)+" / "+(0,o.zw)(Object.keys(e.flow?.scopes??{}).length||0),1),(0,a._)("div",ec,[(0,a.Wm)((0,i.SU)(l.Xk),{class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:f[0]||(f[0]=(0,Y.iM)(e=>(0,i.SU)(m).show(),["stop"]))},{default:(0,a.w5)(()=>[...f[3]||(f[3]=[(0,a.Uk)(" Add Scope ",-1)])]),_:1}),u.value?((0,a.wg)(),(0,a.j4)((0,i.SU)(l.Xk),{key:0,class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:(0,Y.iM)(p,["stop"])},{default:(0,a.w5)(()=>[...f[4]||(f[4]=[(0,a.Uk)(" Deselect All ",-1)])]),_:1})):(0,a.kq)("",!0),u.value?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)((0,i.SU)(l.Xk),{key:1,class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:(0,Y.iM)(d,["stop"])},{default:(0,a.w5)(()=>[...f[5]||(f[5]=[(0,a.Uk)(" Select All ",-1)])]),_:1})),(0,a.Wm)((0,i.SU)(l.sN),{class:"text-c-3 group-hover/scopes-accordion:text-c-2",icon:t?"ChevronDown":"ChevronRight",size:"md"},null,8,["icon"])])]),_:1},8,["class"]),(0,a.Wm)((0,i.SU)(el.V2),{as:"template"},{default:(0,a.w5)(()=>[(0,a._)("div",null,[(0,a.Wm)((0,i.SU)(l.Xy),{modelValue:n.value,"onUpdate:modelValue":f[1]||(f[1]=e=>n.value=e),class:"flex items-center text-xs"},null,8,["modelValue"]),(0,a._)("table",ed,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(s.value,({id:t,label:n,description:r})=>((0,a.wg)(),(0,a.j4)((0,i.SU)(w.Z),{key:t,class:"text-c-2",onClick:n=>c(t,!e.selectedScopes.includes(t))},{default:(0,a.w5)(()=>[(0,a.Wm)((0,i.SU)(O.Z),{class:"no-scrollbar hover:text-c-1 box-border flex !max-h-[initial] w-full cursor-pointer items-center gap-1 overflow-x-scroll px-3 py-1.5 text-nowrap"},{default:(0,a.w5)(()=>[(0,a._)("span",ep,(0,o.zw)(n),1),f[6]||(f[6]=(0,a._)("span",null,"â",-1)),r?((0,a.wg)(),(0,a.iD)("span",em,(0,o.zw)(r),1)):(0,a.kq)("",!0)]),_:2},1024),(0,a.Wm)((0,i.SU)(X.Z),{modelValue:e.selectedScopes.includes(t),"onUpdate:modelValue":e=>c(t,e)},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["onClick"]))),128))])])]),_:1})]),_:1})]),(0,a.Wm)(eo,{scopes:Object.keys(e.flow.scopes??{}),state:(0,i.SU)(m),onSubmit:f[2]||(f[2]=n=>t("update:selectedScopes",{scopes:e.selectedScopes,newScopePayload:{...n,flowType:e.flowType}}))},null,8,["scopes","state"])]),_:1}))}}),eh=n(10115),eg=n(86940),ev=n(31412),ey=n(27678),eb=n(84117),eO=n(68590),ew=(e,t={})=>(0,ey.BU)((0,ey.hb)(e?.url??"",(0,eg.Fz)(e)),t),ek=(e,t={})=>{let n=ew(e,t);return n?(0,eb.o)(n)?"undefined"==typeof window?{}:{basePath:n}:{baseUrl:n}:{}},ex=()=>{let e=new Uint8Array(32);return crypto.getRandomValues(e),(0,ev.kZ)(e,!0)},eS=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 n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",
4n);return(0,ev.kZ)(new Uint8Array(r),!0)},e_=async(e,t,n,r,a,i={})=>{let o=e[t];try{if(!o)return[Error("Flow not found"),null];let l=n.join(" ");if("clientCredentials"===t||"password"===t)return eE(e,t,l,{proxyUrl:a},r,i);let s=(Math.random()+1).toString(36).substring(2,10),u=(0,eh.K)(e[t]["x-scalar-secret-auth-url"]??e[t].authorizationUrl,ek(r,i)),c=new URL(u),d=null;if("implicit"===t)c.searchParams.set("response_type","token");else if("authorizationCode"===t){let n=e[t];if(c.searchParams.set("response_type","code"),"no"!==n["x-usePkce"]){let e=ex(),t=await eS(e,n["x-usePkce"]);d={codeVerifier:e,codeChallenge:t,codeChallengeMethod:"SHA-256"===n["x-usePkce"]?"S256":"plain"},c.searchParams.set("code_challenge",t),c.searchParams.set("code_challenge_method",d.codeChallengeMethod)}}let p=e[t];if(p["x-scalar-secret-redirect-uri"].startsWith("/")){let e=ew(r,i)||window.location.origin+window.location.pathname,t=new URL(p["x-scalar-secret-redirect-uri"],e).toString();c.searchParams.set("redirect_uri",t)}else c.searchParams.set("redirect_uri",p["x-scalar-secret-redirect-uri"]);o["x-scalar-security-query"]&&Object.keys(o["x-scalar-security-query"]).forEac
4h(e=>{let t=o["x-scalar-security-query"]?.[e];t&&c.searchParams.set(e,t)}),c.searchParams.set("client_id",o["x-scalar-secret-client-id"]),c.searchParams.set("state",s),l&&c.searchParams.set("scope",l);let m=window.open(c,"openAuth2Window","left=100,top=100,width=800,height=600");if(m)return new Promise(n=>{let u=setInterval(()=>{let c=null,p=null,f=null,h=null,g=null;try{let e=new URL(m.location.href).searchParams,t=o["x-tokenName"]||"access_token";c=e.get(t),p=e.get("refresh_token"),f=e.get("code"),h=e.get("error"),g=e.get("error_description");let n=new URLSearchParams(m.location.href.split("#")[1]);c||=n.get(t),p||=n.get("refresh_token"),f||=n.get("code"),h||=n.get("error"),g||=n.get("error_description")}catch(e){}(m.closed||c||f||h)&&(clearInterval(u),m.close(),h?n([Error(`OAuth error: ${h}${g?` (${g})`:""}`),null]):c?m.location.href.match(/state=([^&]*)/)?.[1]===s?n([null,{accessToken:c,...p?{refreshToken:p}:{}}]):n([Error("State mismatch"),null]):f&&"authorizationCode"===t?new URL(m.location.href).searchParams.get("state")===s?eE(e,t,l,{code:f,pkce:d,proxyUrl:a},r,i).then(n):n([Error("State mismatch"),null]):(clearInterval(u),n([Error("Window was closed without granting authorization"),null])))},200)});return[Error("Failed to open auth window"),null]}catch(e){return[Error("Failed to authorize oauth2 flow"),null]}},eE=async(e,t,n,{code:r,pkce:a,proxyUrl:i}={},o,l={})=>{let s=e[t];if(!s)return[Error("OAuth2 flow was not defined"),null];let u=new URLSearchParams;n&&("clientCredentials"===t||"password"===t)&&u.set("scope",n);let c="body"===s["x-scalar-credentials-location"],d=!!s["x-scalar-secret-client-secret"];if((c||"authorizationCode"===t&&!d)&&u.set("client_id",s["x-scalar-secret-client-id"]),c&&d&&u.set("client_secret",s["x-scalar-secret-client-secret"]),"x-scalar-secret-redirect-uri"in s&&s["x-scalar-secret-redirect-uri"]&&u.set("redirect_uri",s["x-scalar-secret-redirect-uri"]),r)u.set("code",r),u.set("grant_type","authorization_code"),a&&u.set("code_verifier",a.codeVerifier);else if("password"===t){let n=e[t];u.set("grant_type","password"),u.set("username",n["x-scalar-secret-username"]),u.set("password",n["x-scalar-secret-password"])}else u.set("grant_type","client_credentials");s["x-scalar-security-body"]&&Object.entries(s["x-scalar-security-body"]).forEach(([e,t])=>{null!=t&&u.set(e,String(t))});try{let e={"Content-Type":"application/x-www-form-urlencoded"};!c&&d&&(e.Authorization=`Basic ${(0,ev.cv)(`${s["x-scalar-secret-client-id"]}:${s["x-scalar-secret-client-secret"]}`)}`);let t=(0,eh.K)(s["x-scalar-secret-token-url"]??s.tokenUrl,ek(o,l)),n=(0,eO._)(i,t)?`${i}?${new URLSearchParams([["scalar_url",t]]).toString()}`:t,r=await (await fetch(n,{method:"POST",headers:e,body:u})).json(),a=r[s["x-tokenName"]||"access_token"],p=r.refresh_token;return[null,{accessToken:a,..."string"==typeof p?{refreshToken:p}:{}}]}catch{return[Error("Failed to get an access token. Please check your credentials."),null]}},eA=async(e,t,n,r,a={})=>{let i=e[t];if(!i)return[Error("OAuth2 flow was not defined"),null];let o=i["x-scalar-secret-refresh-token"];if(!o)return[Error("No refresh token available"),null];let l=new URLSearchParams;l.set("grant_type","refresh_token"),l.set("refresh_token",o);let s="body"===i["x-scalar-credentials-location"],u=!!i["x-scalar-secret-client-secret"];(s||"authorizationCode"===t&&!u)&&l.set("client_id",i["x-scalar-secret-client-id"]),s&&u&&l.set("client_secret",i["x-scalar-secret-client-secret"]),i["x-scalar-security-body"]&&Object.entries(i["x-scalar-security-body"]).forEach(([e,t])=>{null!=t&&l.set(e,String(t))});try{let e={"Content-Type":"application/x-www-form-urlencoded"};!s&&u&&(e.Authorization=`Basic ${(0,ev.cv)(`${i["x-scalar-secret-client-id"]}:${i["x-scalar-secret-client-secret"]}`)}`);let t=(0,eh.K)(i.refreshUrl||i["x-scalar-secret-token-url"]||i.tokenUrl,ek(r,a)),c=(0,eO._)(n,t)?`${n}?${new URLSearchParams([["scalar_url",t]]).toString()}`:t,d=await (await fetch(c,{method:"POST",headers:e,body:l})).json(),p=d[i["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:o}}]}catch{return[Error("Failed to refresh the access token. Please re-authorize."),null]}},eT=e=>e.oauth2RedirectUri?e.oauth2RedirectUri:"undefined"==typeof window||"file:"===window.location.protocol?"":window.location.origin+window.location.pathname,eD=n(10558);
4let eC=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return t},e$=eD.string().min(7).default(()=>eC()),eP=eD.object({description:eD.string().optional()}),eI=eD.object({uid:e$.brand(),nameKey:eD.string().optional().default("")}),eN=eP.extend({type:eD.literal("apiKey"),name:eD.string().optional().default(""),in:eD.enum(["query","header","cookie"]).optional().default("header").catch("header")}),eU=eD.object({value:eD.string().default("")}),eM=eN.merge(eI).merge(eU),eR=eP.extend({type:eD.literal("http"),scheme:eD.string().toLowerCase().pipe(eD.enum(["basic","bearer"])).optional().default("basic"),bearerFormat:eD.union([eD.literal("JWT"),eD.string()]).optional().default("JWT")}),ej=eD.object({username:eD.string().default(""),password:eD.string().default(""),token:eD.string().default("")}),eL=eR.merge(eI).merge(ej),eZ=eP.extend({type:eD.literal("openIdConnect"),openIdConnectUrl:eD.string().optional().default("")}),eB=eZ.merge(eI),ez=eD.string().default(""),eF=eD.string().default(""),eQ=eD.object({refreshUrl:eD.string().optional().default(""),scopes:eD.record(eD.string(),eD.string().optional().default("")).optional().default({}).catch({}),selectedScopes:eD.array(eD.string()).optional().default([]),"x-scalar-client-id":eD.string().optional().default(""),token:eD.string().default(""),"x-scalar-security-query":eD.record(eD.string(),eD.string()).optional(),"x-scalar-security-body":eD.record(eD.string(),eD.string()).optional(),"x-tokenName":eD.string().optional()}),eH="undefined"!=typeof window?window.location.origin+window.location.pathname:"",eq=["SHA-256","plain","no"],eV=eD.enum(["header","body"]).optional(),eW=eP.extend({type:eD.literal("oauth2"),"x-default-scopes":eD.array(eD.string()).optional(),flows:eD.object({implicit:eQ.extend({type:eD.literal("implicit").default("implicit"),authorizationUrl:ez,"x-scalar-redirect-uri":eD.string().optional().default(eH)}),password:eQ.extend({type:eD.literal("password").default("password"),tokenUrl:eF,clientSecret:eD.string().default(""),username:eD.string().default(""),password:eD.string().default(""),"x-scalar-credentials-location":eV}),clientCredentials:eQ.extend({type:eD.literal("clientCredentials").default("clientCredentials"),tokenUrl:eF,clientSecret:eD.string().default(""),"x-scalar-credentials-location":eV}),authorizationCode:eQ.extend({type:eD.literal("authorizationCode").default("authorizationCode"),authorizationUrl:ez,"x-usePkce":eD.enum(eq).optional().default("no"),"x-scalar-redirect-uri":eD.string().optional().default(eH),tokenUrl:eF,clientSecret:eD.string().default(""),"x-scalar-credentials-location":eV})}).partial().default({implicit:{selectedScopes:[],scopes:{},"x-scalar-client-id":"",refreshUrl:"",token:"",type:"implicit",authorizationUrl:"http://localhost:8080","x-scalar-redirect-uri":eH}})}),eX=eW.merge(eI);eD.record(eD.string(),eD.array(eD.string()).optional().default([])),eD.union([eN,eR,eW,eZ]),eD.discriminatedUnion("type",[eM,eL,eB,eX]).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 eY={class:"flex h-8 items-center justify-end gap-2 border-t"},eG={class:"flex h-8 w-full items-center justify-end border-t"},eK=(0,a.aZ)({__name:"OAuth2",props:{environment:{},flows:{},type:{},selectedScopes:{},scheme:{},server:{},proxyUrl:{},name:{},eventBus:{},options:{default:()=>({})}},emits:["update:selectedScopes"],setup(e,{emit:t}){let n=(0,l.$C)(),{toast:r}=(0,en.e1)(),o=(0,a.Fl)(()=>e.flows[e.type]),s=(0,a.Fl)(()=>e.selectedScopes.filter(e=>e in(o.value.scopes??{}))),u=t=>{if("openIdConnect"===e.scheme.type)return c(t);e.eventBus.emit("auth:update:security-scheme",{payload:{type:e.scheme.type,flows:{[e.type]:t}},name:e.name})},c=t=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{type:e.scheme.type,[e.type]:t},name:e.name}),d=()=>{n.isLoading||e.eventBus.emit("auth:clear:security-scheme-secrets",{name:e.name})},p=()=>{n.isLoading||c({"x-scalar-secret-token":"","x-scalar-secret-refresh-token":""})},m=(0,i.iH)(null),f=(0,i.iH)(!1),h=t=>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??{})});(0,a.YP)(()=>o.value,t=>{if(!t||!("x-scalar-secret-redirect-uri"in t))return;let n=h(t);if(m.value!==n&&(m.value=n,f.value=!1),f.value)return;let r=t["x-scalar-secret-redirect-uri"],a=eT(e.options);f.value=!0,!r&&a&&c({"x-scalar-secret-redirect-uri":a})},{immediate:!0});let g=async()=>
4{if(n.isLoading)return;n.start();let[t,a]=await e_(e.flows,e.type,s.value,e.server,e.proxyUrl,(0,eg.Ko)(e.environment));await n.clear(),a?.accessToken?c({"x-scalar-secret-token":a.accessToken,...a.refreshToken?{"x-scalar-secret-refresh-token":a.refreshToken}:{}}):(console.error(t),r(t?.message??"Failed to authorize","error"))},v=(0,a.Fl)(()=>"implicit"!==e.type),y=(0,a.Fl)(()=>"tokenUrl"in o.value&&o.value.tokenUrl?o.value.tokenUrl:"https://galaxy.scalar.com/oauth/refresh"),b=async()=>{if(n.isLoading||"implicit"===e.type)return;n.start();let[t,a]=await eA(e.flows,e.type,e.proxyUrl,e.server,(0,eg.Ko)(e.environment));await n.clear(),a?.accessToken?c({"x-scalar-secret-token":a.accessToken,...a.refreshToken?{"x-scalar-secret-refresh-token":a.refreshToken}:{}}):(console.error(t),r(t?.message??"Failed to refresh token","error"))},O=t=>{let n="body"===t?"body":"header";"openIdConnect"!==e.scheme.type&&u({"x-scalar-credentials-location":n}),c({"x-scalar-credentials-location":n})};return(r,m)=>o.value["x-scalar-secret-token"]?((0,a.wg)(),(0,a.iD)(a.HY,{key:0},[(0,a.Wm)((0,i.SU)(w.Z),null,{default:(0,a.w5)(()=>[(0,a.Wm)(W,{class:"border-r-transparent",environment:e.environment,modelValue:o.value["x-scalar-secret-token"],placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password","onUpdate:modelValue":m[0]||(m[0]=e=>c({"x-scalar-secret-token":e}))},{default:(0,a.w5)(()=>[...m[12]||(m[12]=[(0,a.Uk)(" Access Token ",-1)])]),_:1},8,["environment","modelValue"])]),_:1}),v.value?((0,a.wg)(),(0,a.j4)((0,i.SU)(w.Z),{key:0},{default:(0,a.w5)(()=>[(0,a.Wm)(W,{class:"border-r-transparent",environment:e.environment,modelValue:o.value.refreshUrl??"",placeholder:y.value,"onUpdate:modelValue":m[1]||(m[1]=e=>u({refreshUrl:e}))},{default:(0,a.w5)(()=>[...m[13]||(m[13]=[(0,a.Uk)(" Refresh URL ",-1)])]),_:1},8,["environment","modelValue","placeholder"])]),_:1})):(0,a.kq)("",!0),(0,a.Wm)((0,i.SU)(w.Z),{class:"min-w-full"},{default:(0,a.w5)(()=>[(0,a._)("div",eY,[v.value?((0,a.wg)(),(0,a.j4)((0,i.SU)(l.Xk),{key:0,class:"p-0 px-2 py-0.5",loader:(0,i.SU)(n),size:"sm",variant:"outlined",onClick:b},{default:(0,a.w5)(()=>[...m[14]||(m[14]=[(0,a.Uk)(" Refresh ",-1)])]),_:1},8,["loader"])):(0,a.kq)("",!0),(0,a.Wm)((0,i.SU)(l.Xk),{class:"mr-1 p-0 px-2 py-0.5",disabled:(0,i.SU)(n).isLoading,size:"sm",variant:"outlined",onClick:p},{default:(0,a.w5)(()=>[...m[15]||(m[15]=[(0,a.Uk)(" Clear ",-1)])]),_:1},8,["disabled"])])]),_:1})],64)):((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,a.Wm)((0,i.SU)(w.Z),null,{default:(0,a.w5)(()=>["authorizationUrl"in o.value?((0,a.wg)(),(0,a.j4)(W,{key:0,containerClass:"border-r-0",environment:e.environment,modelValue:o.value["x-scalar-secret-auth-url"]??"",placeholder:"https://galaxy.scalar.com/authorize","onUpdate:modelValue":m[2]||(m[2]=e=>{c({"x-scalar-secret-auth-url":e}),u({authorizationUrl:e})})},{default:(0,a.w5)(()=>[...m[16]||(m[16]=[(0,a.Uk)(" Auth URL ",-1)])]),_:1},8,["environment","modelValue"])):(0,a.kq)("",!0),"tokenUrl"in o.value?((0,a.wg)(),(0,a.j4)(W,{key:1,environment:e.environment,modelValue:o.value["x-scalar-secret-token-url"]??"",placeholder:"https://galaxy.scalar.com/token","onUpdate:modelValue":m[3]||(m[3]=e=>{c({"x-scalar-secret-token-url":e}),u({tokenUrl:e})})},{default:(0,a.w5)(()=>[...m[17]||(m[17]=[(0,a.Uk)(" Token URL ",-1)])]),_:1},8,["environment","modelValue"])):(0,a.kq)("",!0)]),_:1}),"x-scalar-secret-redirect-uri"in o.value?((0,a.wg)(),(0,a.j4)((0,i.SU)(w.Z),{key:0},{default:(0,a.w5)(()=>[(0,a.Wm)(W,{environment:e.environment,modelValue:o.value["x-scalar-secret-redirect-uri"],placeholder:"Optional redirect URL","onUpdate:modelValue":m[4]||(m[4]=e=>{f.value=!0,c({"x-scalar-secret-redirect-uri":e})})},{default:(0,a.w5)(()=>[...m[18]||(m[18]=[(0,a.Uk)(" Redirect URL ",-1)])]),_:1},8,["environment","modelValue"])]),_:1})):(0,a.kq)("",!0),"x-scalar-secret-username"in o.value&&"x-scalar-secret-password"in o.value?((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,a.Wm)((0,i.SU)(w.Z),null,{default:(0,a.w5)(()=>[(0,a.Wm)(W,{class:"text-c-2",environment:e.environment,modelValue:o.value["x-scalar-secret-username"],placeholder:"janedoe","onUpdate:modelValue":m[5]||(m[5]=e=>c({"x-scalar-secret-username":e}))},{default:(0,a.w5)(()=>[...m[19]||(m[19]=[(0,a.Uk)(" Username ",-1)])]),_:1},8,["environment","modelValue"])]),_:1}),(0,a.Wm)((0,i.SU)(w.Z),null,{default:(0,a.w5)(()=>[(0,a.Wm)(W,{environment:e.environment,modelValue:o.value["x-scalar-secret-password"],placeholder:"********",type:"password","onUpdate:modelValue":m[6]||(m[6]=e=>c({"x-scalar-secret-password":e}))},{default:(0,a.w5)(()=>[...m[20]||(m[20]=[(0,a.Uk)(" Password ",-1)])]),_:1},8,["environment","modelValue"])]),_:1})],64)):(0,a.kq)("",!0),(0,a.Wm)((0,i.SU)(w.Z),null,{default:(0,a.w5)(()=>[(0,a.Wm)(W,{environment:e.environment,modelValue:o.value["x-scalar-secret-client-id"],placeholder:"12345","onUpdate:modelValue":m[7]||(m[7]=e=>c({"x-scalar-secret-client-id":e}))},{default:(0,a.w5)(()=>[...m[21]||(m[21]=[(0,a.Uk)(" Client ID ",-1)])]),_:1},8,["environment","modelValue"])]),_:1}),"x-scalar-secret-client-secret"in o.value?((0,a.wg)(),(0,a.j4)((0,i.SU)(w.Z),{key:2},{default:(0,a.w5)(()=>[(0,a.Wm)(W,{environment:e.environment,modelValue:o.value["x-scalar-secret-client-secret"],placeholder:"XYZ123",type:"password","onUpdate:modelValue":m[8]||(m[8]=e=>c({"x-scalar-secret-client-secret":e}))},{default:(0,a.w5)(()=>[...m[22]||(m[22]=[(0,a.Uk)(" Client Secret ",-1)])]),_:1},8,["environment","modelValue"])]),_:1})):(0,a.kq)("",!0),"x-usePkce"in o.value?((0,a.wg)(),(0,a.j4)((0,i.SU)(w.Z),{key:3},{default:(0,a.w5)(()=>[(0,a.Wm)(W,{enum:(0,i.SU)(eq),environment:e.environment,modelValue:o.value["x-usePkce"],readOnly:"","onUpdate:modelValue":m[9]||(m[9]=e=>u({"x-usePkce":e}))},{default:(0,a.w5)(()=>[...m[23]||(m[23]=[(0,a.Uk)(" Use PKCE ",-1)])]),_:1},8,["enum","environment","modelValue"])]),_:1})):(0,a.kq)("",!0),"implicit"!==e.type?((0,a.wg)(),(0,a.j4)((0,i.SU)(w.Z),{key:4},{default:(0,a.w5)(()=>[(0,a.Wm)(W,{enum:["header","body"],environment:e.environment,modelValue:o.value["x-scalar-credentials-location"]||"header",placeholder:"header",readOnly:"","onUpdate:modelValue":m[10]||(m[10]=e=>O(e))},{default:(0,a.w5)(()=>[...m[24]||(m[24]=[(0,a.Uk)(" Credentials Location ",-1)])]),_:1},8,["environment","modelValue"])]),_:1})):(0,a.kq)("",!0),(0,a.Wm)((0,i.SU)(w.Z),null,{default:(0,a.w5)(()=>[(0,a.Wm)(ef,{flow:o.value,flowType:e.type,selectedScopes:s.value,"onUpdate:selectedScopes":m[11]||(m[11]=e=>t("update:selectedScopes",e))},null,8,["flow","flowType","selectedScopes"])]),_:1}),(0,a.Wm)((0,i.SU)(w.Z),{class:"min-w-full"},{default:(0,a.w5)(()=>[(0,a._)("div",eG,["openIdConnect"===e.scheme.type?((0,a.wg)(),(0,a.j4)((0,i.SU)(l.Xk),{key:0,class:"mr-1 p-0 px-2 py-0.5",disabled:(0,i.SU)(n).isLoading,size:"sm",variant:"outlined",onClick:d},{default:(0,a.w5)(()=>[...m[25]||(m[25]=[(0,a.Uk)(" Clear ",-1)])]),_:1},8,["disabled"])):(0,a.kq)("",!0),(0,a.Wm)((0,i.SU)(l.Xk),{class:"mr-0.75 p-0 px-2 py-0.5",loader:(0,i.SU)(n),size:"sm",variant:"outlined",onClick:g},{default:(0,a.w5)(()=>[...m[26]||(m[26]=[(0,a.Uk)(" Authorize ",-1)])]),_:1},8,["loader"])])]),_:1})],64))}}),eJ=n(76790),e0=n(24725),e1=eJ.Dy.Object({authorization_endpoint:eJ.Dy.Optional(eJ.Dy.String()),token_endpoint:eJ.Dy.Optional(eJ.Dy.String()),scopes_supported:eJ.Dy.Optional(eJ.Dy.Array(eJ.Dy.String())),grant_types_supported:eJ.Dy.Optional(eJ.Dy.Array(eJ.Dy.String())),code_challenge_methods_supported:eJ.Dy.Optional(eJ.Dy.Array(eJ.Dy.String()))}),e2=async(e,t)=>{try{let n=e.trim();if(!n)return[Error("URL cannot be empty"),null];n.endsWith("/")&&(n=n.slice(0,-1)),n.includes("/.well-known/openid-configuration")||(n=`${n}/.well-known/openid-configuration`);let r=(0,eO.L)(t,n),a=await fetch(r);if(!a.ok)return[Error(`Failed to fetch OpenID Connect discovery document: ${a.status} ${a.statusText}`),null];let i=(0,e0.a)(e1,await a.json());if(!i.authorization_endpoint&&!i.token_endpoint)return[Error("Invalid OpenID Connect discovery document: missing required endpoints"),null];return[null,i]}catch(e){if(e instanceof Error)return[e,null];return[Error("Failed to fetch OpenID Connect discovery document"),null]}},e4=n(90124),e8=e=>{let t=Object.fromEntries((e.scopes_supported??[]).map(e=>[e,""])),n=new Set(e.grant_types_supported??["authorization_code","implicit"]),r=e.authorization_endpoint,a=e.token_endpoint,i=e.code_challenge_methods_supported?.includes("S256")?"SHA-256":e.code_challenge_methods_supported?.includes("plain")?"plain":"no",o={};return n.has("implicit")&&r&&(o.implicit={authorizationUrl:r,refreshUrl:r,scopes:t}),n.has("password")&&a&&(o.password={tokenUrl:a,refreshUrl:a,scopes:t}),n.has("client_credentials")&&a&&(o.clientCredentials={tokenUrl:a,refreshUrl:a,scopes:t}),n.has("authorization_code")&&r&&a&&(o.authorizationCode={authorizationUrl:r,tokenUrl:a,refreshUrl:a,"x-usePkce":i,scopes:t}),(0,e0.a)(e4.T8,o)},e6={class:"flex h-8 w-full items-center justify-end border-t"},e3=(0,a.aZ)({__name:"OpenIDConnect",props:{environment:{},eventBus:{}
4,getStaticBorderClass:{type:Function},name:{},proxyUrl:{},scheme:{}},setup(e){let t=(0,l.$C)(),{toast:n}=(0,en.e1)(),r=async()=>{if(t.isLoading||!e.scheme.openIdConnectUrl)return;t.start();let[r,a]=await e2(e.scheme.openIdConnectUrl,e.proxyUrl);if(await t.clear(),r){console.error(r),n(r?.message??"Failed to fetch OpenID Connect configuration","error");return}let i=e8(a);e.eventBus.emit("auth:update:security-scheme-secrets",{payload:i,name:e.name,overwrite:!0})},o=t=>e.eventBus.emit("auth:update:security-scheme",{payload:{type:"openIdConnect",openIdConnectUrl:t},name:e.name});return(n,s)=>((0,a.wg)(),(0,a.iD)(a.HY,null,[(0,a.Wm)((0,i.SU)(w.Z),null,{default:(0,a.w5)(()=>[(0,a.Wm)(W,{containerClass:e.getStaticBorderClass(),environment:e.environment,modelValue:e.scheme.openIdConnectUrl,placeholder:"https://example.com/.well-known/openid-configuration",required:"","onUpdate:modelValue":o},{default:(0,a.w5)(()=>[...s[0]||(s[0]=[(0,a.Uk)(" Discovery URL ",-1)])]),_:1},8,["containerClass","environment","modelValue"])]),_:1}),(0,a.Wm)((0,i.SU)(w.Z),{class:"min-w-full"},{default:(0,a.w5)(()=>[(0,a._)("div",e6,[(0,a.Wm)((0,i.SU)(l.Xk),{class:"mr-0.75 p-0 px-2 py-0.5",disabled:!e.sc
4heme.openIdConnectUrl,loader:(0,i.SU)(t),size:"sm",variant:"outlined",onClick:r},{default:(0,a.w5)(()=>[...s[1]||(s[1]=[(0,a.Uk)(" Fetch Configuration ",-1)])]),_:1},8,["disabled","loader"])])]),_:1})],64))}}),e5={class:"bg-b-1 min-w-0 flex-1 px-3 py-1.25"},e7={class:"text-c-1 leading-5.5 font-medium"},e9={class:"flex min-h-8 border-t text-base"},te={class:"flex h-8 max-w-full gap-2.5 overflow-x-auto px-3"},tt=["onClick"],tn={class:"relative z-10"},tr={key:5,class:"text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance"},ta=(0,a.aZ)({__name:"RequestAuthTab",props:{environment:{},isStatic:{type:Boolean},proxyUrl:{},selectedSecuritySchemas:{},securitySchemes:{},server:{},eventBus:{},options:{}},emits:["update:selectedScopes"],setup(e,{emit:t}){let n=(0,a.Fl)(()=>Object.entries(e.selectedSecuritySchemas).map(([t,n=[]])=>({scheme:(0,p.n)(e.securitySchemes[t]),name:t,scopes:n}))),r=(0,i.iH)(""),s=(0,a.Fl)(()=>n.value.flatMap(({scheme:e})=>e?.type!=="oauth2"&&e?.type!=="openIdConnect"?[]:Object.keys(e.flows??{})).includes(r.value)?r.value:""),u=e=>{r.value=e},c=(0,a.Fl)(()=>n.value.length>1),d=(e,t)=>{let n=(0,o.kC)(e);switch(t.type){case"apiKey":return`${n}: ${t.in}`;case"openIdConnect":case"oauth2":{let e=Object.keys(t.flows??{})[0],r=s.value||e;if(!r)return n;return`${n}: ${r}`}case"http":return`${n}: ${t.scheme}`;default:return n}},m=(e,t)=>s.value===e||0===t&&!s.value,f=()=>e.isStatic&&"border-t",h=(t,n)=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{type:"http",...t},name:n}),g=(t,n)=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{type:"apiKey",...t},name:n}),v=(t,n)=>e.eventBus.emit("auth:update:security-scheme",{payload:{type:"apiKey",...t},name:n}),y=(n,r)=>{t("update:selectedScopes",{id:Object.keys(e.selectedSecuritySchemas),name:n,...r})},b=(t,n)=>{let r="floating-bg text-c-3 relative cursor-pointer border-b border-transparent py-1 text-base font-medium";return m(t,n)?`${r} !text-c-1 !rounded-none border-b !border-current ${e.isStatic?"opacity-100":""}`:r};return(t,r)=>((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(n.value,({scheme:t,name:n,scopes:s})=>((0,a.wg)(),(0,a.iD)(a.HY,{key:n},[c.value&&t?((0,a.wg)(),(0,a.j4)((0,i.SU)(w.Z),{key:0},{default:(0,a.w5)(()=>[(0,a.Wm)((0,i.SU)(O.Z),{"aria-label":d(n,t),class:"max-h-[auto]"},{default:(0,a.w5)(()=>[(0,a._)("div",e5,[(0,a._)("p",e7,(0,o.zw)(d(n,t)),1),t.description?((0,a.wg)(),(0,a.j4)((0,i.SU)(l.PG),{key:0,class:"auth-description text-c-2 w-full",value:t.description},null,8,["value"])):(0,a.kq)("",!0)])]),_:2},1032,["aria-label"])]),_:2},1024)):(0,a.kq)("",!0),t?.description&&!c.value?((0,a.wg)(),(0,a.j4)((0,i.SU)(w.Z),{key:1},{default:(0,a.w5)(()=>[(0,a.Wm)((0,i.SU)(O.Z),{"aria-label":t.description,class:"max-h-[auto]"},{default:(0,a.w5)(()=>[(0,a.Wm)((0,i.SU)(l.PG),{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,a.kq)("",!0),t?.type==="http"?((0,a.wg)(),(0,a.iD)(a.HY,{key:2},["bearer"===t.scheme?((0,a.wg)(),(0,a.j4)((0,i.SU)(w.Z),{key:0},{default:(0,a.w5)(()=>[(0,a.Wm)(W,{containerClass:f(),environment:e.environment,modelValue:t["x-scalar-secret-token"],placeholder:"Token",type:"password","onUpdate:modelValue":e=>h({"x-scalar-secret-token":e},n)},{default:(0,a.w5)(()=>[...r[0]||(r[0]=[(0,a.Uk)(" Bearer Token ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)):t?.scheme==="basic"?((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,a.Wm)((0,i.SU)(w.Z),null,{default:(0,a.w5)(()=>[(0,a.Wm)(W,{class:"text-c-2",environment:e.environment,modelValue:t["x-scalar-secret-username"],placeholder:"janedoe",required:"","onUpdate:modelValue":e=>h({"x-scalar-secret-username":e},n)},{default:(0,a.w5)(()=>[...r[1]||(r[1]=[(0,a.Uk)(" Username ",-1)])]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024),(0,a.Wm)((0,i.SU)(w.Z),null,{default:(0,a.w5)(()=>[(0,a.Wm)(W,{environment:e.environment,modelValue:t["x-scalar-secret-password"],placeholder:"********",type:"password","onUpdate:modelValue":e=>h({"x-scalar-secret-password":e},n)},{default:(0,a.w5)(()=>[...r[2]||(r[2]=[(0,a.Uk)(" Password ",-1)])]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):(0,a.kq)("",!0)],64)):t?.type==="apiKey"?((0,a.wg)(),(0,a.iD)(a.HY,{key:3},[(0,a.Wm)((0,i.SU)(w.Z),null,{default:(0,a.w5)(()=>[(0,a.Wm)(W,{containerClass:f(),environment:e.environment,modelValue:t.name,placeholder:"api-key","onUpdate:modelValue":e=>v({name:e},n)},{default:(0,a.w5)(()=>[...r[3]||(r[3]=[(0,a.Uk)(" Name ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024),(0,a.Wm)((0,i.SU)(w.Z),null,{default:(0,a.w5)(()=>[(0,a.Wm)(W,{environment:e.environment,modelValue:t["x-scalar-secret-token"],placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password","onUpdate:modelValue":e=>g({"x-scalar-secret-token":e},n)},{default:(0,a.w5)(()=>[...r[4]||(r[4]=[(0,a.Uk)(" Value ",-1)])]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):t?.type==="oauth2"||t?.type==="openIdConnect"?((0,a.wg)(),(0,a.iD)(a.HY,{key:4},[t?.type!=="openIdConnect"||Object.keys(t.flows??{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(e3,{key:0,environment:e.environment,eventBus:e.eventBus,getStaticBorderClass:f,name:n,proxyUrl:e.proxyUrl,scheme:t},null,8,["environment","eventBus","name","proxyUrl","scheme"])),Object.keys(t.flows??{}).length>1?((0,a.wg)(),(0,a.j4)((0,i.SU)(w.Z),{key:1},{default:(0,a.w5)(()=>[(0,a._)("div",e9,[(0,a._)("div",te,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(t.flows,(e,t,n)=>((0,a.wg)(),(0,a.iD)("button",{key:t,class:(0,o.C_)(b(t,n)),type:"button",onClick:e=>u(t)},[(0,a._)("span",tn,(0,o.zw)(t),1)],10,tt))),128))])])]),_:2},1024)):(0,a.kq)("",!0),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(t.flows,(r,i,o)=>((0,a.wg)(),(0,a.iD)(a.HY,{key:i},[t.flows&&m(i,o)?((0,a.wg)(),(0,a.j4)(eK,{key:0,environment:e.environment,eventBus:e.eventBus,flows:t.flows,name:n,options:e.options,proxyUrl:e.proxyUrl,scheme:t,selectedScopes:s,server:e.server,type:i,"onUpdate:selectedScopes":e=>y(n,e)},null,8,["environment","eventBus","flows","name","options","proxyUrl","scheme","selectedScopes","server","type","onUpdate:selectedScopes"])):(0,a.kq)("",!0)],64))),128))],64)):((0,a.wg)(),(0,a.iD)("div",tr," The security scheme is missing a type, please double check your OpenAPI document or Authentication Configuration "))],64))),128))}}),ti=["onClick"],to={class:"relative z-10 font-medium whitespace-nowrap"},tl={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"},ts=(0,a.aZ)({__name:"RequestAuthDataTable",props:{environment:{},isStatic:{type:Boolean},selectedSchemeOptions:{},activeAuthIndex:{},proxyUrl:{},securitySchemes:{default:()=>({})},server:{},eventBus:{},meta:{},options:{}},setup(e,{expose:t}){let n=(0,a.Fl)(()=>e.selectedSchemeOptions[e.activeAuthIndex]),r=(0,a.Fl)(()=>e.selectedSchemeOptions.length>1),l=t=>e.eventBus.emit("auth:update:active-index",{index:t,meta:e.meta}),s=t=>e.eventBus.emit("auth:update:selected-scopes",{...t,meta:e.meta}),u=t=>e.activeAuthIndex===t;return t({activeScheme:n}),(t,c)=>((0,a.wg)(),(0,a.iD)("form",{onSubmit:c[0]||(c[0]=(0,Y.iM)(()=>{},["prevent"]))},[r.value?((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,o.C_)(["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,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.selectedSchemeOptions,(e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:e.id,class:"relative z-1 -mb-[var(--scalar-border-width)] flex h-8"},[(0,a._)("button",{class:(0,o.C_)(["floating-bg relative cursor-pointer border-b border-transparent py-1 text-sm font-medium transition-colors",u(t)?"text-c-1":"text-c-3"]),type:"button",onClick:e=>l(t)},[(0,a._)("span",to,(0,o.zw)(e.label),1)],10,ti),u(t)?((0,a.wg)(),(0,a.iD)("div",tl)):(0,a.kq)("",!0)]))),128))],2)):(0,a.kq)("",!0),n.value?((0,a.wg)(),(0,a.j4)((0,i.SU)(b.Z),{key:1,class:(0,o.C_)(["flex-1",{"bg-b-1 rounded-b-lg border-x border-b":e.isStatic}]),columns:[""],presentational:""},{default:(0,a.w5)(()=>[(0,a.Wm)(ta,{environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,options:e.options,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSecuritySchemas:n.value.value,server:e.server,"onUpdate:selectedScopes":s},null,8,["environment","eventBus","isStatic","options","proxyUrl","securitySchemes","selectedSecuritySchemas","server"])]),_:1},8,["class"])):((0,a.wg)(),(0,a.iD)("div",{key:2,class:(0,o.C_)(["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))}}),tu=n(62529),tc=n(87989),td=n(91474),tp=["id"],tm={class:"min-w-0 flex-1 truncate"},tf=(0,a.aZ)({__name:"AuthSelector",props:{environment:{},eventBus:{},createAnySecurityScheme:{type:Boolean,default:!1},defaultOpen:{type:Boolean,default:!0},isStatic:{type:Boolean,default:!1},meta:{},proxyUrl:{},securityRequirements:{},securitySchemes:{},selectedSecurity:{},server:{},title:{},options:{}},setup(e,{expose:t}){let n=(0,a.Me)(),s=(0,i.iH)(null),u=(0,i.iH)(!1),d=(0,l.dd)(),m=(0,i.iH)(null),f=(0,a.Fl)(()=>
4{if(!e.securityRequirements?.length)return null;let t=(0,eg.xr)(e.securityRequirements);return{icon:t?"Unlock":"Lock",text:t?"Optional":"Required"}}),v=(0,a.Fl)(()=>y(e.securityRequirements??[],e.securitySchemes??{},e.selectedSecurity?.selectedSchemes??[],e.createAnySecurityScheme)),b=(0,a.Fl)(()=>{let t=e.selectedSecurity?.selectedSchemes;return t?.length?t.flatMap(t=>{let n=Object.keys(t);if(0===n.length)return[];if(n.length>1)return g(t);let r=n[0];return r&&(0,p.n)(e.securitySchemes?.[r])?h({name:r,value:t}):[]}):[]}),O=e=>{u.value&&e.stopPropagation(),s.value?.$el.click()},w=t=>{let n=t.filter(e=>void 0===e.payload).map(e=>(0,td.O)(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:n,newSchemes:r,meta:e.meta})},k=e=>{m.value={label:e.label,payload:e.value},d.show()},x=()=>{m.value&&(e.eventBus.emit("auth:delete:security-scheme",{names:Object.keys(m.value.payload)}),m.value=null,d.hide())};return t({authIndicator:f,selectedSchemeOptions:b,schemeOptions:v}),(t,p)=>((0,a.wg)(),(0,a.j4)((0,i.SU)(r.Z),{class:"group/params relative",defaultOpen:e.defaultOpen,isStatic:e.isStatic,itemCount:b.value.length,"onUpdate:modelValue":p[1]||(p[1]=e=>u.value=e)},{title:(0,a.w5)(()=>[(0,a._)("div",{id:(0,i.SU)(n),class:"inline-flex items-center gap-0.5 leading-[20px]"}
4,[(0,a._)("span",null,(0,o.zw)(e.title),1),f.value?((0,a.wg)(),(0,a.iD)("span",{key:0,class:(0,o.C_)(["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"===f.value.text}]),"data-testid":"auth-indicator",onClick:O},(0,o.zw)(f.value.text),3)):(0,a.kq)("",!0)],8,tp)]),actions:(0,a.w5)(()=>[(0,a.Wm)((0,i.SU)(l.tS),{class:"w-72 text-xs",modelValue:b.value,multiple:"",options:v.value,placement:"bottom-end",teleport:"",onDelete:k,"onUpdate:modelValue":w},{option:(0,a.w5)(({option:e,selected:t})=>[(0,a.Wm)((0,i.SU)(l.hf),{multiselect:"",selected:t},null,8,["selected"]),(0,a._)("div",tm,(0,o.zw)(e.label),1),e.isDeletable?((0,a.wg)(),(0,a.j4)((0,i.SU)(l.ot),{key:0,class:"-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100",icon:(0,i.SU)(tu.Z),label:`Delete ${e.label}`,size:"xs",onClick:(0,Y.iM)(t=>k(e),["stop"])},null,8,["icon","label","onClick"])):(0,a.kq)("",!0)]),default:(0,a.w5)(()=>[(0,a.Wm)((0,i.SU)(l.Xk),{ref_key:"comboboxButtonRef",ref:s,"aria-describedby":(0,i.SU)(n),class:"group/combobox-button hover:text-c-1 text-c-2 flex h-fit w-full items-center gap-1 px-0.75 py-0.25 text-base font-normal",variant:"ghost"},{default:(0,a.w5)(()=>[1===b.value.length?((0,a.wg)(),(0,a.iD)(a.HY,{key:0},[p[2]||(p[2]=(0,a._)("span",{class:"sr-only"},"Selected Auth Type:",-1)),(0,a.Uk)(" "+(0,o.zw)(b.value[0]?.label),1)],64)):b.value.length>1?((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[p[3]||(p[3]=(0,a.Uk)(" Multiple ",-1)),p[4]||(p[4]=(0,a._)("span",{class:"sr-only"},"Auth Types Selected",-1))],64)):((0,a.wg)(),(0,a.iD)(a.HY,{key:2},[p[5]||(p[5]=(0,a._)("span",{class:"sr-only"},"Select",-1)),p[6]||(p[6]=(0,a.Uk)(" Auth Type ",-1))],64)),(0,a.Wm)((0,i.SU)(tc.Z),{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,a.w5)(()=>[(0,a.Wm)(ts,{activeAuthIndex:e.selectedSecurity?.selectedIndex??0,environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,meta:e.meta,options:e.options,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSchemeOptions:b.value,server:e.server},null,8,["activeAuthIndex","environment","eventBus","isStatic","meta","options","proxyUrl","securitySchemes","selectedSchemeOptions","server"]),m.value?((0,a.wg)(),(0,a.j4)(c,{key:0,label:m.value.label,scheme:m.value,state:(0,i.SU)(d),onClose:p[0]||(p[0]=e=>(0,i.SU)(d).hide()),onDelete:x},null,8,["label","scheme","state"])):(0,a.kq)("",!0)]),_:1},8,["defaultOpen","isStatic","itemCount"]))}})},31276:function(e,t,n){"use strict";n.d(t,{L:function(){return r.Z}});var r=n(28112)},39304:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(67668),a=n(66429),i=n(82589),o=n(72909),l=n(34280),s=n(14007),u=n(28980),c=n(86940),d=n(60627),p=n(53916),m={key:0,class:"gap-1/2 flex flex-col"},f=["onClick"],h={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,i.aZ)({__name:"EnvironmentVariablesDropdown",props:{query:{},environment:{},dropdownPosition:{},contextFunctionItems:{default:()=>[]}},emits:["select","redirect"],setup(e,{expose:t,emit:n}){let r=(0,o.iH)(!0),a=(0,o.iH)(null),y=(0,o.iH)(0),b=()=>{n("redirect"),r.value=!1},O=(0,i.Fl)(()=>(e.environment?.variables??[]).map(e=>({key:e.name,value:"string"==typeof e.value?e.value:e.value.default}))),w=(0,i.Fl)(()=>e.contextFunctionItems.map(e=>({kind:"context",key:e.key,secondary:e.description}))),k=(0,i.Fl)(()=>O.value.filter(({key:e,value:t})=>""!==e||""!==t).map(({key:e,value:t})=>({kind:"env",key:e,secondary:t}))),x=(0,i.Fl)(()=>k.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),S=(0,i.Fl)(()=>w.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),_=(0,i.Fl)(()=>new p.Z(x.value,{keys:["fuseText"],threshold:.35})),E=(0,i.Fl)(()=>new p.Z(S.value,{keys:["fuseText"],threshold:.35})),A=(0,i.Fl)(()=>{let t=new Map(e.contextFunctionItems.map(e=>[e.key,e]));return c.IK.flatMap(e=>{let n=t.get(e);return n?[{kind:"context",key:n.key,secondary:n.description}]:[]})}),T=(0,i.Fl)(()=>
4{if(!e.query.trim())return[...k.value.slice(-4),...A.value];let t=e.query.trim(),n=_.value.search(t,{limit:12}).map(e=>{let{kind:t,key:n,secondary:r}=e.item;return{kind:t,key:n,secondary:r}}),r=12-n.length;return[...n,...r>0?E.value.search(t,{limit:r}).map(e=>{let{kind:t,key:n,secondary:r}=e.item;return{kind:t,key:n,secondary:r}}):[]]}),D=e=>{n("select",e)};t({handleArrowKey:e=>{let t=T.value.length;0!==t&&(y.value=(y.value+("up"===e?-1:1)+t)%t)},handleSelect:()=>{if(y.value>=0){let e=T.value[y.value];e&&D(e.key)}}}),(0,i.bv)(()=>{y.value=0});let C=(0,i.Fl)(()=>({left:(e.dropdownPosition?.left??0)+"px",top:(e.dropdownPosition?.top??0)+5+"px"}));return(0,d.i9H)(a,()=>{r.value=!1},{ignore:[a]}),(t,n)=>r.value?((0,i.wg)(),(0,i.j4)((0,o.SU)(s.Mn),{key:0,class:"scalar-client"},{default:(0,i.w5)(()=>[(0,i._)("div",{ref_key:"dropdownRef",ref:a,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,l.j5)(C.value)},[T.value.length?((0,i.wg)(),(0,i.iD)("ul",m,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(T.value,(t,n)=>((0,i.wg)(),(0,i.iD)("li",{key:`${t.kind}-${t.key}`,class:(0,l.C_)(["font-code text-xxs hover:bg-b-2 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150",{"bg-b-2":n===y.value}]),onClick:e=>D(t.key)},[(0,i._)("div",h,["env"===t.kind?((0,i.wg)(),(0,i.iD)("span",{key:0,class:"h-2.25 w-2.25 min-w-2.25 rounded-full",style:(0,l.j5)({backgroundColor:e.environment?.color})},null,4)):((0,i.wg)(),(0,i.iD)("span",g," fn ")),(0,i.Uk)(" "+(0,l.zw)(t.key),1)]),(0,i._)("span",v,(0,l.zw)(t.secondary),1)],10,f))),128))])):((0,i.wg)(),(0,i.j4)((0,o.SU)(s.Xk),{key:1,class:"font-code text-xxs bg-b-inherit hover:bg-b-2 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150",variant:"outlined",onClick:b},{default:(0,i.w5)(()=>[(0,i.Wm)((0,o.SU)(u.Z),{class:"size-3"}),n[0]||(n[0]=(0,i.Uk)(" Add Variable ",-1))]),_:1})),n[1]||(n[1]=(0,i._)("div",{class:"bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg"},null,-1))],4)]),_:1})):(0,i.kq)("",!0)}}),b=n(19614),O={class:"flex items-center gap-1 whitespace-nowrap"},w=(0,i.aZ)({name:"PillTooltipHost",__name:"PillTooltipHost",props:{context:{}},setup(e){let t=(0,o.iH)(null),n="contextFunction"===e.context.type,r=(0,i.Fl)(()=>{if(!n||"undefined"==typeof document)return"";let t=document.createElement("div");return(0,b.sY)((0,i.h)("div",{class:"flex flex-col gap-1.5 text-left"},[(0,i.h)("span",{},e.context.details),(0,i.h)("div",{class:"text-[color:var(--scalar-color-3)] text-[10px] font-normal"},"Computed at request execution")]),t),t.innerHTML}),a=(0,i.Fl)(()=>"environment"===e.context.type?e.context.value:"");return(0,s.lL)({content:n?r:a,contentTarget:n?"innerHTML":"textContent",delay:0,placement:"bottom-start",offset:6,targetRef:(0,i.Fl)(()=>t.value?.children?.[0]||t.value||void 0)}),(n,r)=>((0,i.wg)(),(0,i.iD)("div",{ref_key:"wrapperRef",ref:t,class:"contents"},[(0,i._)("div",O,[(0,i._)("span",null,(0,l.zw)("environment"===e.context.type?e.context.name:e.context.identifier),1)])],512))}}),k=n(66107),x=n(12547),S=class e extends x.l9{app;pillColor;variableInfo;constructor(e,t,n){if(super(),this.variableName=e,"contextFunction"===n){this.pillColor="var(--scalar-color-3)",this.variableInfo={type:"contextFunction",identifier:e,details:(0,c.QL)(e)};return}this.pillColor=t?.color||"var(--scalar-color-1)";let r=t?.variables?.find(t=>t.name===e),a=r?"string"==typeof r.value?r.value:r.value?.default:void 0;this.variableInfo={type:"environment",name:e,value:a||"No value",isDefined:!!a}}toDOM(){let e=document.createElement("span");return 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,b.ri)(w,{context:this.variableInfo}),this.app.mount(e),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 n=t.variableInfo,r=this.variableInfo;return n.type===r.type&&("environment"===n.type&&"environment"===r.type?n.name===r.name&&n.value===r.value&&n.isDefined===r.isDefined:"contextFunction"===n.type&&"contextFunction"===r.type&&n.identifier===r.identifier&&n.details===r.details)}ignoreEvent(){return!1}},_=e=>x.lg.fromClass(class{decorations;lastEnvironment;constructor(t){this.lastEnvironment=e.environment,this.decorations=this.buildDecorations(t)}update(t){if(e.environment!==this.lastEnvironment){this.lastEnvironment=e.environment,this.decorations=this.buildDecorations(t.view);return}(t.docChanged||t.viewportChanged)&&(this.decorations=this.buildDecorations(t.view))}buildDecorations(t){let n=new x.f_,r=e.isContextFunctionName??(()=>!1);for(let{from:a,to:i}of t.visibleRanges){let o;let l=t.state.doc.sliceString(a,i),s=new RegExp(k.m.VARIABLES.source,k.m.VARIABLES.flags);for(;null!==(o=s.exec(l));){let i=a+o.index,l=i+o[0].length,s=o[1]??"";if(t.state.doc.sliceString(i,l).includes("\n"))continue;let u=r(s)?"contextFunction":"environment";n.add(i,l,x.p.widget({widget:new S(s,e.environment,u),side:1}))}}return n.finish()}},{decorations:e=>e.decorations}
4),E=x.tk.domEventHandlers({keydown(e,t){if("Backspace"!==e.key)return!1;let{state:n}=t,{from:r,to:a}=n.selection.main;return 0===r&&a===n.doc.length?(t.dispatch({changes:{from:0,to:n.doc.length},selection:{anchor:0}}),e.preventDefault(),!0):r===a&&r>=2&&"}}"===n.doc.sliceString(r-2,r)&&(t.dispatch({changes:{from:r-2,to:r},selection:{anchor:r-2}}),e.preventDefault(),!0)}}),A=n(55512);let T=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return t};var D={class:"whitespace-nowrap"},C=["id"],$={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"},P={key:5,class:"centered-y text-orange absolute right-7 text-xs"},I={key:6,class:"centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.cm-focused]:z-1"},N={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"},U=(0,i.aZ)({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:n}){let r=(0,i.l1)(),s=r.id||`id-${T()}`,u=(0,o.iH)(!1),d=(0,i.Fl)(()=>!e.enum?.length&&("boolean"===e.type||Array.isArray(e.type)&&e.type.includes("boolean"))),p=(0,i.Fl)(()=>e.nullable?["true","false","null"]:["true","false"]),m=(0,i.Fl)(()=>Array.isArray(e.type)?e.type.find(e=>"null"!==e)??"string":e.type),f=t=>{(e.alwaysEmitChange||t!==M(e.modelValue))&&(e.handleFieldChange?e.handleFieldChange(t):n("update:modelValue",t))},h=(t,r)=>{e.handleFieldSubmit?e.handleFieldSubmit(t):n("submit",t,r)},g=(t,r)=>{u.value=!1,e.emitOnBlur&&e.modelValue&&h(t,r),n("blur",t,r)},v=e=>n("update:modelValue",e),O=()=>{let t=[...e.extensions];return e.colorPicker&&t.push(x.HN),t},w=(0,i.Fl)(()=>e.withFakeData?c.hz.map(e=>({key:e,description:(0,c.QL)(e)})):[]),k=(0,i.Fl)(()=>_({environment:e.environment,isContextFunctionName:c.rN,isReadOnly:"modal"===e.layout})),S=(0,i.Fl)(()=>[...O(),k.value,E]),U=(0,o.iH)(null),M=e=>"string"==typeof e?e:JSON.stringify(e),{codeMirror:R,setCodeMirrorContent:j}=(0,x.Uq)({content:(0,o.Vh)(()=>M(e.modelValue)),onChange:e=>{f(e),Q()},onFocus:()=>{u.value=!0},onBlur:g,codeMirrorRef:U,disableTabIndent:(0,o.Vh)(()=>e.disableTabIndent),disableEnter:(0,o.Vh)(()=>e.disableEnter),disableCloseBrackets:(0,o.Vh)(()=>e.disableCloseBrackets),lineNumbers:(0,o.Vh)(()=>e.lineNumbers),language:(0,o.Vh)(()=>e.language),lint:(0,o.Vh)(()=>e.lint),extensions:S,placeholder:(0,o.Vh)(()=>e.placeholder)});(0,i.YP)(R,()=>{R.value&&Object.hasOwn(r,"autofocus")&&R.value.focus()});let L=(0,o.iH)(!1),Z=(0,o.iH)(""),B=(0,o.iH)({left:0,top:0}),z=(0,o.iH)(null),{handleDropdownSelect:F,updateDropdownVisibility:Q}=(0,x.xN)({codeMirror:R,query:Z,showDropdown:L,dropdownPosition:B}),H=(0,i.Fl)(()=>L.value&&e.withVariables&&"modal"!==e.layout&&(!!e.environment||e.withFakeData)),q=(t,n)=>{if(L.value){"down"===t||"up"===t?(n.preventDefault(),z.value?.handleArrowKey(t)):"enter"===t&&(n.preventDefault(),z.value?.handleSelect());return}
4"escape"!==t||e.disableTabIndent||n.stopPropagation(),"enter"===t&&n.target instanceof HTMLDivElement&&h(n.target.textContent??"",n)};return t({focus:e=>{if(!R.value||(R.value.focus(),!(0,A.$)(e)))return;let t="start"===e?0:"end"===e?R.value.state.doc.length:e;R.value.dispatch({selection:{anchor:t},scrollIntoView:!0})},isFocused:u,handleChange:f,handleSubmit:h,handleBlur:g,booleanOptions:p,codeMirror:R,codeMirrorRef:U,modelValue:e.modelValue,setCodeMirrorContent:j,cursorPosition:()=>R.value?.state.selection.main.head,serializeValue:M}),(t,r)=>((0,i.wg)(),(0,i.iD)(i.HY,null,[e.disabled?((0,i.wg)(),(0,i.iD)("div",{key:0,class:(0,l.C_)(["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,i._)("span",D,(0,l.zw)(e.modelValue),1)],2)):e.enum?.length?((0,i.wg)(),(0,i.j4)(a.Z,{key:1,default:e.default,modelValue:e.modelValue,type:m.value,value:e.enum,"onUpdate:modelValue":v},null,8,["default","modelValue","type","value"])):d.value?((0,i.wg)(),(0,i.j4)(a.Z,{key:2,default:e.default,modelValue:e.modelValue,value:p.value,"onUpdate:modelValue":v},null,8,["default","modelValue","value"])):e.examples?.length?((0,i.wg)(),(0,i.j4)(a.Z,{key:3,default:e.default,modelValue:e.modelValue,value:e.examples,"onUpdate:modelValue":v},null,8,["default","modelValue","value"])):((0,i.wg)(),(0,i.iD)("div",(0,i.dG)({key:4,id:(0,o.SU)(s)},t.$attrs,{ref_key:"codeMirrorRef",ref:U,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,b.D2)((0,b.iM)(e=>q("down",e),["stop"]),["down"])),r[1]||(r[1]=(0,b.D2)(e=>q("enter",e),["enter"])),r[2]||(r[2]=(0,b.D2)(e=>q("escape",e),["escape"])),r[3]||(r[3]=(0,b.D2)((0,b.iM)(e=>q("up",e),["stop"]),["up"]))]}),[e.disableTabIndent?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",$,[...r[5]||(r[5]=[(0,i.Uk)(" Press ",-1),(0,i._)("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Esc",-1),(0,i.Uk)(" then ",-1),(0,i._)("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Tab",-1),(0,i.Uk)(" to exit ",-1)])]))],16,C)),t.$slots.warning?((0,i.wg)(),(0,i.iD)("div",P,[(0,i.WI)(t.$slots,"warning",{},void 0,!0)])):(0,i.kq)("",!0),t.$slots.icon?((0,i.wg)(),(0,i.iD)("div",I,[(0,i.WI)(t.$slots,"icon",{},void 0,!0)])):(0,i.kq)("",!0),e.required?((0,i.wg)(),(0,i.iD)("div",N," Required ")):(0,i.kq)("",!0),H.value?((0,i.wg)(),(0,i.j4)(y,{key:8,ref_key:"dropdownRef",ref:z,contextFunctionItems:w.value,dropdownPosition:B.value,environment:e.environment,query:Z.value,onRedirect:r[4]||(r[4]=e=>n("navigate",{page:"document",path:"environment"})),onSelect:(0,o.SU)(F)},null,8,["contextFunctionItems","dropdownPosition","environment","query","onSelect"])):(0,i.kq)("",!0)],64))}}),M=(0,r.Z)(U,[["__scopeId","data-v-6499ec1f"]])},47946:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(82589),a=n(34280),i=n(72909),o=n(14007),l=["role"],s={key:0,class:"sr-only"},u=(0,r.aZ)({__name:"DataTable",props:{columns:{},scroll:{type:Boolean},presentational:{type:Boolean}},setup(e){let{cx:t}=(0,o.li)();return(n,o)=>((0,r.wg)(),(0,r.iD)("div",(0,a.vs)((0,r.F4)((0,i.SU)(t)(e.scroll?"overflow-x-auto custom-scroll":"overflow-visible","scalar-data-table"))),[(0,r._)("table",{class:(0,a.C_)(["mb-0 grid min-h-8 auto-rows-auto",{"w-max min-w-full":e.scroll}]),role:e.presentational?"presentation":"table",style:(0,a.j5)({gridTemplateColumns:e.columns.map(e=>e||"1fr").join(" ")})},[n.$slots.caption?((0,r.wg)(),(0,r.iD)("caption",s,[(0,r.WI)(n.$slots,"caption")])):(0,r.kq)("",!0),(0,r.WI)(n.$slots,"default")],14,l)],16))}})},74653:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(82589),a=n(72909),i=n(14007),o=(0,r.aZ)({inheritAttrs:!1,__name:"DataTableCell",props:{is:{default:"td"}},setup(e){let{cx:t}=(0,i.li)();return(n,i)=>((0,r.wg)(),(0,r.j4)((0,r.LL)(e.is),(0,r.dG)((0,a.SU)(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.w5)(()=>[(0,r.WI)(n.$slots,"default")]),_:3},16))}})},93505:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(74653),a=n(82589),i=n(34280),o=n(72909),l=n(14007),s=["checked","disabled"],u=(0,a.aZ)({__name:"DataTableCheckbox",props:{modelValue:{type:Boolean},disabled:{type:Boolean},align:{default:"center"}},emits:["update:modelValue"],setup(e){let t=(0,l.jS)({base:"w-8 h-8 flex items-center justify-center text-b-2 peer-checked:text-c-1 pointer-events-none absolute",variants:{align:{left:"left-0",center:"centered"}}});return(n,u)=>((0,a.wg)(),(0,a.j4)(r.Z,{class:"group/cell relative flex min-w-8"},{default:(0,a.w5)(()=>[(0,a._)("input",{checked:e.modelValue,class:"peer absolute inset-0 size-full cursor-pointer opacity-0 disabled:cursor-default",disabled:!!e.disabled,type:"checkbox",onChange:u[0]||(u[0]=e=>n.$emit("update:modelValue",e.target.checked))},null,40,s),(0,a._)("div",{class:(0,i.C_)((0,o.SU)(t)({align:e.align}))},[(0,a._)("div",{class:(0,i.C_)(["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,a.Wm)((0,o.SU)(l.sN),{icon:"Checkmark",size:"xs",thickness:"2.5"})],2)]),_:1}))}})},66429:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(82589),a=n(72909),i=n(34280),o=n(19614),l=n(14007),s={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"},u={class:"text-c-1 whitespace-nowrap"},c={class:"text-c-1 overflow-hidden text-ellipsis"},d={class:"overflow-hidden text-ellipsis"},p={class:"flex h-4 w-4 items-center justify-center"},m=(0,r.aZ)({__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 n=(0,r.Fl)(()=>e.value??[]),m=(0,a.iH)(!1),f=(0,a.iH)(""),h=(0,a.iH)(null);(0,r.YP)(f,e=>{t("update:modelValue",e)});let g=e=>{t("update:modelValue",e),m.value=!1},v=()=>{f.value.trim()&&g(f.value)},y=()=>{f.value.trim()||t("update:modelValue",""),m.value=!1},b=t=>e.modelValue.toString()===t;(0,r.YP)(m,e=>{e&&(0,r.Y3)(()=>{h.value?.focus()})});let O=(0,r.Fl)(()=>void 0!==e.modelValue?e.modelValue:e.default),w=(0,r.Fl)(()=>n.value.map(e=>{let t=e.toString();return{id:t,label:t,value:t}})),k=(0,r.Fl)(()=>{let t=new Set(e.modelValue.toString().split(","));return w.value.filter(e=>t.has(e.id))}),x=e=>{t("update:modelValue",e.map(e=>e.value).join(","))};return(t,S)=>((0,r.wg)(),(0,r.iD)("div",s,["array"===e.type?((0,r.wg)(),(0,r.j4)((0,a.SU)(l.tS),{key:0,modelValue:k.value,options:w.value,"onUpdate:modelValue":x},{default:(0,r.w5)(()=>[(0,r.Wm)((0,a.SU)(l.Xk),{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.w5)(()=>[(0,r._)("span",u,(0,i.zw)(k.value.length>0?k.value.map(e=>e.label).join(", "):"Select a value"),1),(0,r.Wm)((0,a.SU)(l.sN),{class:"min-w-4",icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["modelValue","options"])):m.value?(0,r.wy)(((0,r.wg)(),(0,r.iD)("input",{key:1,ref_key:"inputRef",ref:h,"onUpdate:modelValue":S[0]||(S[0]=e=>f.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:y,onKeyup:(0,o.D2)(v,["enter"])},null,544)),[[o.nr,f.value]]):((0,r.wg)(),(0,r.j4)((0,a.SU)(l.Lx),{key:2,resize:"",value:O.value},{items:(0,r.w5)(()=>[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.value,e=>((0,r.wg)(),(0,r.j4)((0,a.SU)(l.EX),{key:e,class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",value:e,onClick:t=>g(e)},{default:(0,r.w5)(()=>[(0,r._)("div",{class:(0,i.C_)(["flex h-4 w-4 items-center justify-center rounded-full p-[3px]",b(e)?"bg-c-accent text-b-1":"shadow-border text-transparent"])},[(0,r.Wm)((0,a.SU)(l.sN),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),(0,r._)("span",d,(0,i.zw)(e),1)]),_:2},1032,["value","onClick"]))),128)),e.canAddCustomValue?((0,r.wg)(),(0,r.iD)(r.HY,{key:0},[n.value.length?((0,r.wg)(),(0,r.j4)((0,a.SU)(l.F6),{key:0})):(0,r.kq)("",!0),(0,r.Wm)((0,a.SU)(l.EX),{class:"flex items-center gap-1.5",onClick:S[1]||(S[1]=e=>m.value=!0)},{default:(0,r.w5)(()=>[(0,r._)("div",p,[(0,r.Wm)((0,a.SU)(l.sN),{icon:"Add",size:"sm"})]),S[2]||(S[2]=(0,r._)("span",null,"Add value",-1))]),_:1})],64)):(0,r.kq)("",!0)]),default:(0,r.w5)(()=>[(0,r.Wm)((0,a.SU)(l.Xk),{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.w5)(()=>[(0,r._)("span",c,(0,i.zw)(O.value??"Select a value"),1),(0,r.Wm)((0,a.SU)(l.sN),{icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["value"]))]))}})},5713:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67668),a=n(82589),i={class:"group contents"},o=(0,r.Z)({},[["render",function(e,t){return(0,a.wg)(),(0,a.iD)("tr",i,[(0,a.WI)(e.$slots,"default")])}]])},60626:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(11412),a=n(82589),i=n(72909),o=n(34280),l=n(14007),s=n(67413),u=["aria-labelledby"],c={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"},f={class:"sr-only"},h={key:0,class:"ui-not-open:hidden flex items-center gap-2 pr-0.75"},g=(0,a.aZ)({name:"CollapsibleSection",props:{defaultOpen:{type:Boolean,default:!0},itemCount:{default:0},isStatic:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){let n=(0,a.Me)();return(g,v)=>((0,a.wg)(),(0,a.j4)((0,i.SU)(s.pJ),{as:"div",class:(0,o.C_)(["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,a.w5)(({open:y})=>[(0,a.Wm)(r.Z,{value:y,onChange:v[0]||(v[0]=e=>t("update:modelValue",e))},null,8,["value"]),(0,a._)("section",{"aria-labelledby":(0,i.SU)(n),class:"contents"},[(0,a._)("div",{class:(0,o.C_)(["bg-b-2 flex items-center",e.isStatic&&"rounded-t-xl border-x border-t"])},[(0,a.Wm)((0,i.SU)(s.lG),{class:(0,o.C_)(["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,a.w5)(()=>[e.isStatic?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)((0,i.SU)(l.sN),{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,a._)("h2",c,[(0,a._)("span",{id:(0,i.SU)(n),class:"contents"},[(0,a.WI)(g.$slots,"title",{open:y}),y?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("span",p," (Collapsed) "))],8,d),!y&&e.itemCount?((0,a.wg)(),(0,a.iD)("span",m,[(0,a.Uk)((0,o.zw)(e.itemCount)+" ",1),(0,a._)("span",f,"Item"+(0,o.zw)(1===e.itemCount?"":"s"),1)])):(0,a.kq)("",!0)])]),_:2},1032,["class","disabled"]),g.$slots.actions?((0,a.wg)(),(0,a.iD)("div",h,[(0,a.WI)(g.$slots,"actions",{open:y})])):(0,a.kq)("",!0)],2),(0,a.Wm)((0,i.SU)(s.V2),(0,a.dG)(g.$attrs,{class:"diclosure-panel h-full max-h-fit roun
4ded-b"}),{default:(0,a.w5)(()=>[(0,a.WI)(g.$slots,"default",{open:y})]),_:2},1040)],8,u)]),_:3},8,["class","defaultOpen","static"]))}})},11412:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(82589),a=(0,r.aZ)({name:"ValueEmitter",props:{value:{}},emits:["change","unmount"],setup:(e,{emit:t})=>((0,r.YP)(()=>e.value,e=>t("change",e),{immediate:!0}),(0,r.Jd)(()=>t("unmount")),(e,t)=>null)})},65980:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var r="undefined"!=typeof OVERRIDE_PACKAGE_VERSION?OVERRIDE_PACKAGE_VERSION:"3.2.2"},75968:function(e,t,n){"use strict";n.d(t,{_$:function(){return ts},rB:function(){return i}});var r=n(10317),a=n(83294),i=e=>{if(!0===e)return[];if(!e||Array.isArray(e)&&0===e.length)return r.n;let t=new Set(r.n);if(Array.isArray(e))for(let n of e){let e=r.l[n];if(e)for(let r of e)t.delete(`${n}/${r}`);else if(n.includes("/"))t.delete(n);else for(let e of(0,a.Y)(r.l))t.delete(`${e}/${n}`)}else if("object"==typeof e){for(let[n,a]of Object.entries(e))if(!0===a){let e=r.l[n];if(e)for(let r of e)t.delete(`${n}/${r}`)}else if(Array.isArray(a))for(let e of a)t.delete(e),t.delete(`${n}/${e}`)}return Array.from(t)},o=n(82589),l=n(83105),s=(e,t,n)=>async r=>{let a=await n[e]?.onBeforeExecute?.(r)??r;return await t(a),await n[e]?.onAfterExecute?.(a),a},u=n(72909),c={},d=n(4763),p=n(60562),m=e=>"example"===e.type,f=e=>e.store.workspace.documents[e.documentSlug??""],h=(e,t)=>"default"!==t||void 0!==e.workspace.documents[t]?t:e.workspace["x-scalar-active-document"]||Object.keys(e.workspace.documents)[0],g=(e,t)=>{let n=f(e);if(n)return"default"===t?Object.keys(n.paths??{})[0]:t},v=(e,t,n)=>{let r=f(e);if(r&&t)return"default"===n?Object.keys(r.paths?.[t]??{}).find(p.u):(0,p.u)(n)?n:void 0},y=(e,t,n)=>{if(!f(e)||t?.type!=="operation")return"default";let r=t.children?.filter(m)??[],a=r.find(e=>e.name===n);return a?a.name:"default"===n?r[0]?.name??"default":"default"},b=(e,t)=>{let n=h(e,t.documentSlug),r={store:e,documentSlug:n},a=g(r,t.path),i=v(r,a,t.method),o=f(r)?.["x-scalar-navigation"];if(!o)return{documentSlug:n,path:a,method:i,example:"default"};let l=d.$2(o).get(`${a}|${i}`)?.find(e=>"operation"===e.type);return{documentSlug:n,path:a,method:i,example:y(r,l,t.example)}},O=n(55512),w=({document:e,path:t,method:n,example:r})=>JSON.stringify([e,t,n,r].filter(O.$)),k=n(6838),x=({workspaceStore:e,documentSlug:t,path:n,method:r,exampleName:a,route:i})=>{let l=(0,o.Fl)(()=>e?.workspace.documents[u.Tn(t)??""]?.["x-scalar-navigation"]?.children??[]),s=(0,k.JF)(l),c=(0,o.Fl)(()=>(0,k.U_)({items:l.value,nestedKey:"children",filter:e=>"operation"===e.type||"example"===e.type,getId:e=>{let n=(0,d.M4)("operation",e);return w({document:(0,u.Tn)(t)??"",path:n?.path,method:n?.method,example:"example"===e.type?e.name:void 0})}})),p=e=>c.value.get(w({document:e.document,path:e.path,method:e.method,example:e.example}))||c.value.get(w({document:e.document,path:e.path,method:e.method}));return(0,o.YP)([t,n,r,a],([e,t,n,r])=>{if(!e){s.setSelected(null);return}let a=p({document:e,path:t,method:n,example:r});a&&(s.setSelected(a.id),s.setExpanded(a.id,!0))},{immediate:!0}),{handleSelectItem:e=>{let n=s.getEntryById(e);if(!n){console.warn(`Could not find sidebar entry with id ${e} to select`);return}if("operation"===n.type||"example"===n.type){if(s.isSelected(e)){s.setExpanded(e,!s.isExpanded(e));return}let r=(0,d.M4)("operation",n),a=(0,k.nw)("example",n);if(a?(s.setSelected(a.id),s.setExpanded(a.id,!0)):s.setSelected(e),!r)return;return i({documentSlug:(0,u.Tn)(t),path:r.path,method:r.method,example:a?.name??"default"})}s.setExpanded(e,!s.isExpanded(e))},state:s,getEntryByLocation:p}},S=n(67668),_=n(34280),E="scalar-dragging",A=(0,o.aZ)({__name:"Resize",props:{width:{}},emits:["update:width"],setup(e,{emit:t}){let n=(0,u.iH)(!1),r=r=>{r.preventDefault();let a=r.clientX,i=e.width,o=e=>{n.value=!0,document.body.classList.add(E);let r=i+e.clientX-a;r>420&&(r=420+(r-420)*.2),r<240&&(r=240),t("update:width",r)},l=()=>{n.value=!1,document.body.classList.remove(E),document.documentElement.removeEventListener("mousemove",o,!1),document.documentElement.removeEventListener("mouseup",l,!1),e.width>420?t("update:width",360):e.width<240&&t("update:width",240)};document.documentElement.addEventListener("mousemove",o,!1),document.documentElement.addEventListener("mouseup",l,!1)};return(t,n)=>((0,o.wg)(),(0,o.iD)("div",{class:"relative",style:(0,_.j5)({width:`${e.width}px`})},[(0,o.WI)(t.$slots,"default",{},void 0,!0),(0,o._)("div",{class:"resizer",onMousedown:r},null,32)],4))}}),T=(0,S.Z)(A,[["__scopeId","data-v-e2c54c18"]]),D=n(53916),C=n(74275),$=e=>{let t=(0,o.Fl)(()=>{let t=new D.Z([],{keys:[{name:"title",weight:.7},{name:"description",weight:.3},{name:"operationId",weight:.6},{name:"path",weight:.5},{name:"tag",weight:.4}
4,{name:"method",weight:.3},{name:"documentName",weight:.3}],threshold:.3,distance:100,includeScore:!0,includeMatches:!0,ignoreLocation:!0,useExtendedSearch:!0,findAllMatches:!0});return t.setCollection(function(e){let t=[];return e?.forEach(e=>(function e(n,r){n.forEach(n=>{(function(e,t,n){if("operation"===e.type){let r=(0,C.n)(n?.paths?.[e.path]?.[e.method])??{};t.push({type:"operation",title:e.title,id:e.id,description:r.description||"",method:e.method,path:e.path,operationId:r.operationId,entry:e,documentName:n?.info.title??""});return}if("tag"===e.type&&!1===e.isGroup){t.push({id:e.id,title:e.title,description:e.description||"",type:"tag",entry:e,documentName:n?.info.title??""});return}if("tag"===e.type&&!0===e.isGroup){t.push({id:e.id,title:e.title,description:"Tag Group",type:"tag",entry:e,documentName:n?.info.title??""});return}"text"===e.type&&t.push({id:e.id,type:"heading",title:e.title??"",description:"Heading",entry:e,documentName:n?.info.title??""})})(n,t,r),"children"in n&&n.children&&e(n.children,r)})})(e["x-scalar-navigation"]?.children??[],e)),t}((0,u.Tn)(e))),t}),n=(0,u.iH)("");return{results:(0,o.Fl)(()=>0!==n.value.length?t.value.search(n.value,{limit:25}).flatMap(e=>"operation"!==e.item.entry.type?[]:e.item.entry):null),query:n}},P=n(14007),I=n(1859),N={key:0},U={key:1},M={key:2},R={key:3},j={key:4},L={key:5},Z=(0,o.aZ)({name:"ScalarIconGear",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,I.n)(e);return(e,r)=>((0,o.wg)(),(0,o.iD)("svg",(0,o.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,u.SU)(t)),[(0,o.WI)(e.$slots,"default"),"bold"===(0,u.SU)(n)?((0,o.wg)(),(0,o.iD)("g",N,[...r[0]||(r[0]=[(0,o._)("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,u.SU)(n)?((0,o.wg)(),(0,o.iD)("g",U,[...r[1]||(r[1]=[(0,o._)("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,o._)("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,u.SU)(n)?((0,o.wg)(),(0,o.iD)("g",M,[...r[2]||(r[2]=[(0,o._)("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,u.SU)(n)?((0,o.wg)(),(0,o.iD)("g",R,[...r[3]||(r[3]=[(0,o._)("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,u.SU)(n)?((0,o.wg)(),(0,o.iD)("g",j,[...r[4]||(r[4]=[(0,o._)("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,u.SU)(n)?((0,o.wg)(),(0,o.iD)("g",L,[...r[5]||(r[5]=[(0,o._)("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
4-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,o.kq)("",!0)],16))}}),B=(0,o.aZ)({__name:"SidebarMenu",props:{activeWorkspace:{},workspaces:{}},emits:["create:workspace","select:workspace","navigate:to:settings"],setup:(e,{emit:t})=>(n,r)=>((0,o.wg)(),(0,o.j4)((0,u.SU)(P.cW),null,{products:(0,o.w5)(()=>[(0,o.Wm)((0,u.SU)(P.Zj),{selected:"client"})]),sections:(0,o.w5)(({close:a})=>[(0,o.Wm)((0,u.SU)(P.dJ),null,{default:(0,o.w5)(()=>[(0,o.WI)(n.$slots,"sidebarMenuActions",{},()=>[(0,o.Wm)((0,u.SU)(P.pF),{modelValue:e.activeWorkspace.id,workspaceOptions:e.workspaces,onCreateWorkspace:r[0]||(r[0]=e=>t("create:workspace")),"onUpdate:modelValue":r[1]||(r[1]=e=>t("select:workspace",e))},null,8,["modelValue","workspaceOptions"]),(0,o.Wm)((0,u.SU)(P.c_),{is:"button",icon:(0,u.SU)(Z),onClick:()=>{a(),t("navigate:to:settings")}},{default:(0,o.w5)(()=>[...r[2]||(r[2]=[(0,o.Uk)(" Settings ",-1)])]),_:1},8,["icon","onClick"])])]),_:2},1024),(0,o.Wm)((0,u.SU)(P.Zd)),(0,o.Wm)((0,u.SU)(P.uH))]),_:3}))}),z=n(84481),F={key:0},Q={key:1},H={key:2},q={key:3},V={key:4},W={key:5},X=(0,o.aZ)({name:"ScalarIconFileDashed",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,I.n)(e);return(e,r)=>((0,o.wg)(),(0,o.iD)("svg",(0,o.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,u.SU)(t)),[(0,o.WI)(e.$slots,"default"),"bold"===(0,u.SU)(n)?((0,o.wg)(),(0,o.iD)("g",F,[...r[0]||(r[0]=[(0,o._)("path",{d:"M84,224a12,12,0,0,1-12,12H56a20,20,0,0,1-20-20V184a12,12,0,0,1,24,0v28H72A12,12,0,0,1,84,224ZM220,88v48a12,12,0,0,1-24,0V104H148a12,12,0,0,1-12-12V44H120a12,12,0,0,1,0-24h32a12,12,0,0,1,8.49,3.51l56,56A12,12,0,0,1,220,88Zm-60-8h23L160,57ZM80,20H56A20,20,0,0,0,36,40V64a12,12,0,0,0,24,0V44H80a12,12,0,0,0,0-24ZM208,164a12,12,0,0,0-12,12v36h-4a12,12,0,0,0,0,24h8a20,20,0,0,0,20-20V176A12,12,0,0,0,208,164ZM48,156a12,12,0,0,0,12-12V104a12,12,0,0,0-24,0v40A12,12,0,0,0,48,156Zm104,56H112a12,12,0,0,0,0,24h40a12,12,0,0,0,0-24Z"},null,-1)])])):"duotone"===(0,u.SU)(n)?((0,o.wg)(),(0,o.iD)("g",Q,[...r[1]||(r[1]=[(0,o._)("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),(0,o._)("path",{d:"M80,224a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V184a8,8,0,0,1,16,0v32H72A8,8,0,0,1,80,224ZM216,88v48a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H120a8,8,0,0,1,0-16h32a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31ZM80,24H56A16,16,0,0,0,40,40V64a8,8,0,0,0,16,0V40H80a8,8,0,0,0,0-16ZM208,168a8,8,0,0,0-8,8v40h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V176A8,8,0,0,0,208,168ZM48,152a8,8,0,0,0,8-8V104a8,8,0,0,0-16,0v40A8,8,0,0,0,48,152Zm104,64H112a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Z"},null,-1)])])):"fill"===(0,u.SU)(n)?((0,o.wg)(),(0,o.iD)("g",H,[...r[2]||(r[2]=[(0,o._)("path",{d:"M80,224a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V184a8,8,0,0,1,16,0v32H72A8,8,0,0,1,80,224ZM213.66,82.34l-56-56A8,8,0,0,0,152,24H120a8,8,0,0,0,0,16h24V88a8,8,0,0,0,8,8h48v40a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM80,24H56A16,16,0,0,0,40,40V64a8,8,0,0,0,16,0V40H80a8,8,0,0,0,0-16ZM208,168a8,8,0,0,0-8,8v40h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V176A8,8,0,0,0,208,168ZM48,152a8,8,0,0,0,8-8V104a8,8,0,0,0-16,0v40A8,8,0,0,0,48,152Zm104,64H112a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Z"},null,-1)])])):"light"===(0,u.SU)(n)?((0,o.wg)(),(0,o.iD)("g",q,[...r[3]||(r[3]=[(0,o._)("path",{d:"M78,224a6,6,0,0,1-6,6H56a14,14,0,0,1-14-14V184a6,6,0,0,1,12,0v32a2,2,0,0,0,2,2H72A6,6,0,0,1,78,224ZM214,88v48a6,6,0,0,1-12,0V94H152a6,6,0,0,1-6-6V38H120a6,6,0,0,1,0-12h32a6,6,0,0,1,4.24,1.76l56,56A6,6,0,0,1,214,88Zm-56-6h35.51L158,46.49ZM80,26H56A14,14,0,0,0,42,40V64a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2H80a6,6,0,0,0,0-12ZM208,170a6,6,0,0,0-6,6v40a2,2,0,0,1-2,2h-8a6,6,0,0,0,0,12h8a14,14,0,0,0,14-14V176A6,6,0,0,0,208,170ZM48,150a6,6,0,0,0,6-6V104a6,6,0,0,0-12,0v40A6,6,0,0,0,48,150Zm104,68H112a6,6,0,0,0,0,12h40a6,6,0,0,0,0-12Z"},null,-1)])])):"regular"===(0,u.SU)(n)?((0,o.wg)(),(0,o.iD)("g",V,[...r[4]||(r[4]=[(0,o._)("path",{d:"M80,224a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V184a8,8,0,0,1,16,0v32H72A8,8,0,0,1,80,224ZM216,88v48a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H120a8,8,0,0,1,0-16h32a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31ZM80,24H56A16,16,0,0,0,40,40V64a8,8,0,0,0,16,0V40H80a8,8,0,0,0,0-16ZM208,168a8,8,0,0,0-8,8v40h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V176A8,8,0,0,0,208,168ZM48,152a8,8,0,0,0,8-8V104a8,8,0,0,0-16,0v40A8,8,0,0,0,48,152Zm104,64H112a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Z"},null,-1)])])):"thin"===(0,u.SU)(n)?((0,o.wg)(),(0,o.iD)("g",W,[...r[5]||(r[5]=[(0,o._)("path",{d:"M76,224a4,4,0,0,1-4,4H56a12,12,0,0,1-12-12V184a4,4,0,0,1,8,0v32a4,4,0,0,0,4,4H72A4,4,0,0,1,76,224ZM212,88v48a4,4,0,0,1-8,0V92H152a4,4,0,0,1-4-4V36H120a4,4,0,0,1,0-8h32a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88Zm-56-4h42.34
4L156,41.66ZM80,28H56A12,12,0,0,0,44,40V64a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4H80a4,4,0,0,0,0-8ZM208,172a4,4,0,0,0-4,4v40a4,4,0,0,1-4,4h-8a4,4,0,0,0,0,8h8a12,12,0,0,0,12-12V176A4,4,0,0,0,208,172ZM48,148a4,4,0,0,0,4-4V104a4,4,0,0,0-8,0v40A4,4,0,0,0,48,148Zm104,72H112a4,4,0,0,0,0,8h40a4,4,0,0,0,0-8Z"},null,-1)])])):(0,o.kq)("",!0)],16))}}),Y={key:1},G=(0,o.aZ)({__name:"Sidebar",props:(0,o.Vf)({sidebarState:{},layout:{},activeWorkspace:{},workspaces:{},documents:{},isDroppable:{type:[Boolean,Function]}},{sidebarWidth:{required:!0,default:288},sidebarWidthModifiers:{}}),emits:(0,o.Vf)(["selectItem","select:workspace","create:workspace","reorder","navigate:to:settings"],["update:sidebarWidth"]),setup(e,{emit:t}){let n=(0,o.Rr)(),r=(0,u.iH)(!1),a=(0,o.tT)(e,"sidebarWidth"),i=e=>"example"===e.type&&"draft"===e.title,{query:l,results:s}=$(()=>e.documents),c=(0,o.Fl)(()=>s.value??e.sidebarState.items.value),d=e=>{t("selectItem",e),l.value="",r.value=!1};return(s,p)=>((0,o.wg)(),(0,o.j4)((0,u.SU)(T),{width:a.value,"onUpdate:width":p[6]||(p[6]=e=>a.value=e),class:"flex flex-col"},{default:(0,o.w5)(()=>[(0,o.Wm)((0,u.SU)(k.lH),{class:"flex w-auto flex-1",indent:20,isDraggable:"modal"!==e.layout,isDroppable:e.isDroppable,isExpanded:e.sidebarState.isExpanded,isSelected:e.sidebarState.isSelected,items:c.value,layout:"client",options:{hideOperationDefaultExamples:"modal"===e.layout},onReorder:p[5]||(p[5]=(e,n)=>t("reorder",e,n)),onSelectItem:d},(0,o.Nv)({header:(0,o.w5)(()=>[p[7]||(p[7]=(0,o._)("div",{class:"mac:h-12 mac:app-drag-region h-2"},null,-1)),(0,o._)("div",{class:(0,_.C_)(["bg-sidebar-b-1 z-1 flex flex-col gap-1.5 px-3 pb-1.5",{"max-md:pt-12":"desktop"===e.layout,"max-md:pt-2 max-md:pl-4!":"modal"===e.layout,"pt-1 max-md:pt-2 max-md:pl-14":"web"===e.layout}])},["web"!==e.layout?((0,o.wg)(),(0,o.iD)("div",{key:0,class:(0,_.C_)(["flex items-center justify-between",{"max-md:pl-10":"desktop"===e.layout}])},["modal"!==e.layout?((0,o.wg)(),(0,o.j4)(B,{key:0,activeWorkspace:e.activeWorkspace,workspaces:e.workspaces,"onCreate:workspace":p[0]||(p[0]=e=>t("create:workspace")),"onNavigate:to:settings":p[1]||(p[1]=e=>t("navigate:to:settings")),"onSelect:workspace":p[2]||(p[2]=e=>t("select:workspace",e))},{sidebarMenuActions:(0,o.w5)(()=>[(0,o.WI)(s.$slots,"sidebarMenuActions")]),_:3},8,["activeWorkspace","workspaces"])):"modal"===e.layout?((0,o.wg)(),(0,o.iD)("div",Y)):(0,o.kq)("",!0),(0,o.Wm)((0,u.SU)(P.ot),{class:"hover:bg-b-2 active:text-c-1 size-8 rounded p-2",icon:(0,u.SU)(z.Z),label:"Search",size:"sm",onClick:p[3]||(p[3]=e=>r.value=!r.value)},null,8,["icon"])],2)):(0,o.kq)("",!0),r.value||"web"===e.layout?((0,o.wg)(),(0,o.j4)((0,u.SU)(P.J0),{key:1,modelValue:(0,u.SU)(l),"onUpdate:modelValue":p[4]||(p[4]=e=>(0,u.dq)(l)?l.value=e:null),autofocus:"web"!==e.layout},null,8,["modelValue","autofocus"])):(0,o.kq)("",!0)],2)]),spacer:(0,o.w5)(()=>[p[8]||(p[8]=(0,o._)("div",{class:"flex-1"},null,-1))]),icon:(0,o.w5)(e=>[n.icon||i(e.item)?((0,o.wg)(),(0,o.iD)(o.HY,{key:0},[i(e.item)?((0,o.wg)(),(0,o.j4)((0,u.SU)(X),{key:0})):(0,o.kq)("",!0),(0,o.WI)(s.$slots,"icon",(0,_.vs)((0,o.F4)(e)))],64)):(0,o.kq)("",!0)]),before:(0,o.w5)(()=>[(0,o.WI)(s.$slots,"workspaceButton")]),footer:(0,o.w5)(()=>[(0,o.WI)(s.$slots,"footer")]),_:2},[n.decorator?{name:"decorator",fn:(0,o.w5)(e=>[(0,o.WI)(s.$slots,"decorator",(0,_.vs)((0,o.F4)(e)))]),key:"0"}:void 0,n.empty?{name:"empty",fn:(0,o.w5)(e=>[(0,o.WI)(s.$slots,"empty",(0,_.vs)((0,o.F4)(e)))]),key:"1"}:void 0]),1032,["isDraggable","isDroppable","isExpanded","isSelected","items","options"])]),_:3},8,["width"]))}}),K=["aria-pressed"],J={class:"sr-only"},ee={class:"size-4",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},et={"clip-path":"url(#mask)"},en=(0,o.aZ)({__name:"SidebarToggle",props:{modelValue:{type:Boolean,required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t=(0,o.tT)(e,"modelValue");return(e,n)=>((0,o.wg)(),(0,o.iD)("button",{"aria-pressed":t.value,class:"scalar-sidebar-toggle text-c-3 hover:bg-b-2 active:text-c-1 rounded p-2",type:"button",onClick:n[0]||(n[0]=e=>t.value=!t.value)},[(0,o._)("span",J,(0,_.zw)(t.value?"Hide":"Show")+" sidebar",1),((0,o.wg)(),(0,o.iD)("svg",ee,[n[1]||(n[1]=(0,o._)("defs",null,[(0,o._)("clipPath",{id:"mask"},[(0,o._)("path",{"clip-rule":"evenodd",d:"M9 3.2H4c-1.7 0-3 1.3-3 3v11.5c0 1.7 1.3 3 3 3h5V3.2z"})])],-1)),(0,o._)("g",et,[(0,o._)("path",{class:(0,_.C_)(["transition-transform duration-300",t.value?"translate-x-0":"-translate-x-1/2"]),d:"M1 3.2h8v17.5H1z",fill:"
4currentColor"},null,2)]),n[2]||(n[2]=(0,o._)("path",{d:"M20 20.8H4c-1.7 0-3-1.3-3-3V6.2c0-1.7 1.3-3 3-3h16c1.7 0 3 1.3 3 3v11.5c0 1.7-1.3 3-3 3zM9 3.2v17.5",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},null,-1))]))],8,K))}}),er=n(32313),ea={Enter:{event:"operation:send:request:hotkey",modifiers:["default"]},b:{event:"ui:toggle:sidebar",modifiers:["default"]},k:{event:"ui:open:command-palette",modifiers:["default"]},l:{event:"ui:focus:address-bar",modifiers:["default"]}},ei={web:ea,modal:{...ea,Escape:{event:"ui:close:client-modal",modifiers:[]},l:{event:"ui:focus:send-button",modifiers:["default"]}},desktop:{...ea,f:{event:"ui:focus:search",modifiers:["default"]},n:{event:"ui:open:command-palette",modifiers:["default"]},t:{event:"tabs:add:tab",modifiers:["default"]},w:{event:"tabs:close:tab",modifiers:["default"]},ArrowLeft:{event:"tabs:navigate:previous",modifiers:["default","altKey"]},ArrowRight:{event:"tabs:navigate:next",modifiers:["default","altKey"]},1:{event:"tabs:focus:tab",modifiers:["default"]},2:{event:"tabs:focus:tab",modifiers:["default"]},3:{event:"tabs:focus:tab",modifiers:["default"]},4:{event:"tabs:focus:tab",modifiers:["default"]},5:{event:"tabs:focus:tab",modifiers:["default"]},6:{event:"tabs:focus:tab",modifiers:["default"]},7:{event:"tabs:focus:tab",modifiers:["default"]},8:{event:"tabs:focus:tab",modifiers:["default"]},9:{event:"tabs:focus:tab-last",modifiers:["default"]}}},eo=new Set(["Escape","ArrowDown","ArrowUp","Enter"]),el=(e,t)=>t.length>0&&t.map(e=>"default"===e?(0,er.e)()?"metaKey":"ctrlKey":e).every(t=>!0===e[t]),es=(e,t)=>{if(!(e.target instanceof HTMLElement))return!1;let n=e.target;return"INPUT"===n.tagName?!eo.has(t):"TEXTAREA"===n.tagName||"true"===n.contentEditable||n.hasAttribute("contenteditable")},eu=(e,t,n)=>{let r=" "===e.key?"Space":e.key,a=ei[n][r];if(!a)return;let i={event:e};if("Escape"===r||el(e,a.modifiers)){t.emit(a.event,i,{skipUnpackProxy:!0});return}a.modifiers.length>0||es(e,r)||t.emit(a.event,i,{skipUnpackProxy:!0})},ec=(e,t,n)=>{let r=r=>{(0,u.Tn)(n)||eu(r,e,t)};(0,o.bv)(()=>window.addEventListener("keydown",r)),(0,o.Jd)(()=>window.removeEventListener("keydown",r))},ed=n(65980),ep=n(3227),em=n(46778),ef=n(86940),eh={key:1,class:"flex h-full w-full items-center justify-center"},eg=(0,o.aZ)({__name:"Operation",props:{documentSlug:{},document:{},eventBus:{},layout:{},path:{},method:{},exampleName:{},environment:{},workspaceStore:{},activeWorkspace:{},plugins:{},customThemes:{},currentTheme:{},isDarkMode:{type:Boolean},fetchRegistryDocument:{type:Function},telemetry:{type:Boolean},onUpdateTelemetry:{type:Function},options:{},requestBodyCompositionSelection:{}},setup(e){let t=(0,o.Fl)(()=>{if(!e.path||!e.method||!e.exampleName||!e.document)return null;let t=(0,ef.jM)(e.workspaceStore,e.documentSlug,{path:e.path,method:e.method,exampleName:e.exampleName},{baseServerUrl:u.Tn(e.options)?.baseServerURL,fallbackDocument:e.document,isElectron:(0,em.d)(),layout:"web"===e.layout?"web":"other",servers:u.Tn(e.options)?.servers,appVersion:ed.J,authentication:u.Tn(e.options)?.authentication});return t.ok?t.data:null}),n=(0,o.Fl)(()=>t.value?.operation??null),r=(0,o.Fl)(()=>t.value?.cookies.workspace??[]),a=(0,o.Fl)(()=>t.value?.cookies.document??[]),l=(0,o.Fl)(()=>t.value?.servers.list??[]),s=(0,o.Fl)(()=>t.value?.servers.selected??null),c=(0,o.Fl)(()=>t.value?.servers.meta??{type:"document"}),d=(0,o.Fl)(()=>t.value?.security.schemes??{}),p=(0,o.Fl)(()=>t.value?.security.selected??{selectedIndex:-1,selectedSchemes:[]}),m=(0,o.Fl)(()=>t.value?.security.selectedSchemes??[]),f=(0,o.Fl)(()=>t.value?.security.requirements??[]),h=(0,o.Fl)(()=>t.value?.security.meta??{type:"document"}),g=(0,o.Fl)(()=>t.value?.headers.default??{}),v=(0,o.Fl)(()=>Array.from(new Set(Object.keys({...e.document?.["x-scalar-environments"],...e.workspaceStore.workspace["x-scalar-environments"]})))),y=(0,o.Fl)(()=>i(u.Tn(e.options)?.hiddenClients));return(t,i)=>e.path&&e.method&&e.exampleName&&n.value&&e.document?((0,o.wg)(),(0,o.j4)((0,u.SU)(ep.Z),{key:0,activeEnvironment:e.workspaceStore.workspace["x-scalar-active-environment"],appVersion:(0,u.SU)(ed.J),authMeta:
4h.value,defaultHeaders:g.value,document:e.document,documentCookies:a.value,documentSecurity:e.document?.security??[],documentUrl:e.document?.["x-scalar-original-source-url"],environment:e.environment,environments:v.value,eventBus:e.eventBus,exampleKey:e.exampleName,hideClientButton:u.Tn(e.options)?.hideClientButton??!1,history:e.workspaceStore.history.getHistory(e.documentSlug,e.path,e.method),httpClients:y.value,layout:e.layout,method:e.method,operation:n.value,options:e.options,path:e.path,plugins:e.plugins,proxyUrl:(0,u.SU)(ef.ay)(e.workspaceStore.workspace["x-scalar-active-proxy"],"web"===e.layout?"web":"other")??"",requestBodyCompositionSelection:e.requestBodyCompositionSelection,securityRequirements:f.value,securitySchemes:d.value,selectedClient:e.workspaceStore.workspace["x-scalar-default-client"],selectedSecurity:p.value,selectedSecuritySchemes:m.value,server:s.value,serverMeta:c.value,servers:l.value,workspaceCookies:r.value},null,8,["activeEnvironment","appVersion","authMeta","defaultHeaders","document","documentCookies","documentSecurity","documentUrl","environment","environments","eventBus","exampleKey","hideClientButton","history","httpClients","layout","method","operation","options","path","plugins","proxyUrl","requestBodyCompositionSelection","securityRequirements","securitySchemes","selectedClient","selectedSecurity","selectedSecuritySchemes","server","serverMeta","servers","workspaceCookies"])):((0,o.wg)(),(0,o.iD)("div",eh,[...i[0]||(i[0]=[(0,o._)("span",{class:"text-c-3"},"Select an operation to view details",-1)])]))}}
4),ev=n(19614),ey=n(79402),eb=n(60627),eO=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],ew=eO.join(","),ek="undefined"==typeof Element,ex=ek?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,eS=!ek&&Element.prototype.getRootNode?function(e){var t;return null==e?void 0:null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},e_=function(e,t){void 0===t&&(t=!0);var n,r=null==e?void 0:null===(n=e.getAttribute)||void 0===n?void 0:n.call(e,"inert");return""===r||"true"===r||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):e_(e.parentNode))},eE=function(e){var t,n=null==e?void 0:null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n},eA=function(e,t,n){if(e_(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(ew));return t&&ex.call(e,ew)&&r.unshift(e),r=r.filter(n)},eT=function(e,t,n){for(var r=[],a=Array.from(e);a.length;){var i=a.shift();if(!e_(i,!1)){if("SLOT"===i.tagName){var o=i.assignedElements(),l=eT(o.length?o:i.children,!0,n);
4n.flatten?r.push.apply(r,l):r.push({scopeParent:i,candidates:l})}else{ex.call(i,ew)&&n.filter(i)&&(t||!e.includes(i))&&r.push(i);var s=i.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(i),u=!e_(s,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(s&&u){var c=eT(!0===s?i.children:s.children,!0,n);n.flatten?r.push.apply(r,c):r.push({scopeParent:i,candidates:c})}else a.unshift.apply(a,i.children)}}}return r},eD=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},eC=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||eE(e))&&!eD(e)?0:e.tabIndex},e$=function(e,t){var n=eC(e);return n<0&&t&&!eD(e)?0:n},eP=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},eI=function(e){return"INPUT"===e.tagName},eN=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},eU=function(e){if(!e.name)return!0;var t,n=e.form||eS(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var a=eN(t,e.form);return!a||a===e},eM=function(e){var t,n,r,a,i,o,l,s=e&&eS(e),u=null===(t=s)||void 0===t?void 0:t.host,c=!1;if(s&&s!==e)for(c=!!(null!==(n=u)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(u)||null!=e&&null!==(a=e.ownerDocument)&&void 0!==a&&a.contains(e));!c&&u;)c=!!(null!==(o=u=null===(i=s=eS(u))||void 0===i?void 0:i.host)&&void 0!==o&&null!==(l=o.ownerDocument)&&void 0!==l&&l.contains(u));return c},eR=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},ej=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("full-native"===n&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(e).visibility)return!0;var a=ex.call(e,"details>summary:first-of-type")?e.parentElement:e;if(ex.call(a,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return eR(e)}else{if("function"==typeof r){for(var i=e;e;){var o=e.parentElement,l=eS(e);if(o&&!o.shadowRoot&&!0===r(o))return eR(e);e=e.assignedSlot?e.assignedSlot:o||l===e.ownerDocument?o:l.host}e=i}if(eM(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},eL=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!ex.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1},eZ=function(e,t){return!(t.disabled||eI(t)&&"hidden"===t.type||ej(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||eL(t))},eB=function(e,t){var n;return!(eI(n=t)&&"radio"===n.type&&!eU(n)||0>eC(t))&&!!eZ(e,t)},ez=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||t>=0},eF=function(e){var t=[],n=[];return e.forEach(function(e,r){var a=!!e.scopeParent,i=a?e.scopeParent:e,o=e$(i,a),l=a?eF(e.candidates):i;0===o?a?t.push.apply(t,l):t.push(i):n.push({documentOrder:r,tabIndex:o,item:e,isScope:a,content:l})}),n.sort(eP).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},eQ=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==ex.call(e,ew)&&eB(t,e)},eH=eO.concat("iframe:not([inert]):not([inert] *)").join(","),eq=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==ex.call(e,eH)&&eZ(t,e)};function eV(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function eW(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
4if(!n){if(Array.isArray(e)||(n=eG(e))||t){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw i}}}}function eX(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eY(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eX(Object(n),!0).forEach(function(t){var r,a;r=t,a=n[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(r))in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eX(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function eG(e,t){if(e){if("string"==typeof e)return eV(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?eV(e,t):void 0}}var eK={getActiveTrap:function(e){return(null==e?void 0:e.length)>0?e[e.length-1]:null},activateTrap:function(e,t){t!==eK.getActiveTrap(e)&&eK.pauseTrap(e);var n=e.indexOf(t);-1===n||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),eK.unpauseTrap(e)},pauseTrap:function(e){var t=eK.getActiveTrap(e);null==t||t._setPausedState(!0)},unpauseTrap:function(e){var t=eK.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},eJ=function(e){return(null==e?void 0:e.key)==="Tab"||(null==e?void 0:e.keyCode)===9},e0=function(e){return eJ(e)&&!e.shiftKey},e1=function(e){return eJ(e)&&e.shiftKey},e2=function(e){return setTimeout(e,0)},e4=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},e8=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},e6=[],e3=function(e,t){var n,r=(null==t?void 0:t.document)||document,a=(null==t?void 0:t.trapStack)||e6,i=eY({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:e0,isKeyBackward:e1},t),o={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l=function(e,t,n){return e&&void 0!==e[t]?e[t]:i[n||t]},s=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return o.containerGroups.findIndex(function(t){var r=t.container,a=t.tabbableNodes;return r.contains(e)||(null==n?void 0:n.includes(r))||a.find(function(t){return t===e})})},u=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.hasFallback,o=n.params,l=i[e];if("function"==typeof l&&(l=l.apply(void 0,function(e){if(Array.isArray(e))return eV(e)}(t=void 0===o?[]:o)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||eG(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),!0===l&&(l=void 0),!l){if(void 0===l||!1===l)return l;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s=l;if("string"==typeof l){try{s=r.querySelector(l)}
4catch(t){throw Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!s&&!(void 0!==a&&a))throw Error("`".concat(e,"` as selector refers to no known node"))}return s},c=function(){var e=u("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!eq(e,i.tabbableOptions)){if(s(r.activeElement)>=0)e=r.activeElement;else{var t=o.tabbableGroups[0];e=t&&t.firstTabbableNode||u("fallbackFocus")}}else null===e&&(e=u("fallbackFocus"));if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(o.containerGroups=o.containers.map(function(e){var t,n,r,a,o=(t=e,eF((n=(n=i.tabbableOptions)||{}).getShadowRoot?eT([t],n.includeContainer,{filter:eB.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:ez}):eA(t,n.includeContainer,eB.bind(null,n)))),l=(r=e,(a=(a=i.tabbableOptions)||{}).getShadowRoot?eT([r],a.includeContainer,{filter:eZ.bind(null,a),flatten:!0,getShadowRoot:a.getShadowRoot}):eA(r,a.includeContainer,eZ.bind(null,a))),s=o.length>0?o[0]:void 0,u=o.length>0?o[o.length-1]:void 0,c=l.find(function(e){return eQ(e)}),d=l.slice().reverse().find(function(e){return eQ(e)}),p=!!o.find(function(e){return eC(e)>0});return{container:e,tabbableNodes:o,focusableNodes:l,posTabIndexesFound:p,firstTabbableNode:s,lastTabbableNode:u,firstDomTabbableNode:c,lastDomTabbableNode:d,nextTabbableNode:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=o.indexOf(e);return n<0?t?l.slice(l.indexOf(e)+1).find(function(e){return eQ(e)}):l.slice(0,l.indexOf(e)).reverse().find(function(e){return eQ(e)}):o[n+(t?1:-1)]}}}),o.tabbableGroups=o.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!u("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(o.containerGroups.find(function(e){return e.posTabIndexesFound})&&o.containerGroups.length>1)throw Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},p=function(e){var t=e.activeElement;return t?t.shadowRoot&&null!==t.shadowRoot.activeElement?p(t.shadowRoot):t:void 0},m=function(e){if(!1!==e&&e!==p(document)){if(!e||!e.focus){m(c());return}
4e.focus({preventScroll:!!i.preventScroll}),o.mostRecentlyFocusedNode=e,e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select&&e.select()}},f=function(e){var t=u("setReturnFocus",{params:[e]});return t||!1!==t&&e},h=function(e){var t=e.target,n=e.event,r=e.isBackward,a=void 0!==r&&r;t=t||e8(n),d();var l=null;if(o.tabbableGroups.length>0){var c=s(t,n),p=c>=0?o.containerGroups[c]:void 0;if(c<0)l=a?o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:o.tabbableGroups[0].firstTabbableNode;else if(a){var m=o.tabbableGroups.findIndex(function(e){var n=e.firstTabbableNode;return t===n});if(m<0&&(p.container===t||eq(t,i.tabbableOptions)&&!eQ(t,i.tabbableOptions)&&!p.nextTabbableNode(t,!1))&&(m=c),m>=0){var f=0===m?o.tabbableGroups.length-1:m-1,h=o.tabbableGroups[f];l=eC(t)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else eJ(n)||(l=p.nextTabbableNode(t,!1))}else{var g=o.tabbableGroups.findIndex(function(e){var n=e.lastTabbableNode;return t===n});if(g<0&&(p.container===t||eq(t,i.tabbableOptions)&&!eQ(t,i.tabbableOptions)&&!p.nextTabbableNode(t))&&(g=c),g>=0){var v=g===o.tabbableGroups.length-1?0:g+1,y=o.tabbableGroups[v];l=eC(t)>=0?y.firstTabbableNode:y.firstDomTabbableNode}else eJ(n)||(l=p.nextTabbableNode(t))}}else l=u("fallbackFocus");return l},g=function(e){if(!(s(e8(e),e)>=0)){if(e4(i.clickOutsideDeactivates,e)){n.deactivate({returnFocus:i.returnFocusOnDeactivate});return}e4(i.allowOutsideClick,e)||e.preventDefault()}},v=function(e){var t=e8(e),n=s(t,e)>=0;if(n||t instanceof Document)n&&(o.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var r,a=!0;if(o.mostRecentlyFocusedNode){if(eC(o.mostRecentlyFocusedNode)>0){var l=s(o.mostRecentlyFocusedNode),u=o.containerGroups[l].tabbableNodes;if(u.length>0){var d=u.findIndex(function(e){return e===o.mostRecentlyFocusedNode});d>=0&&(i.isKeyForward(o.recentNavEvent)?d+1<u.length&&(r=u[d+1],a=!1):d-1>=0&&(r=u[d-1],a=!1))}}else o.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return eC(e)>0})})||(a=!1)}else a=!1;a&&(r=h({target:o.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(o.recentNavEvent)})),r?m(r):m(o.mostRecentlyFocusedNode||c())}o.recentNavEvent=void 0},y=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];o.recentNavEvent=e;var n=h({event:e,isBackward:t});n&&(eJ(e)&&e.preventDefault(),m(n))},b=function(e){(i.isKeyForward(e)||i.isKeyBackward(e))&&y(e,i.isKeyBackward(e))},O=function(e){((null==e?void 0:e.key)==="Escape"||(null==e?void 0:e.key)==="Esc"||(null==e?void 0:e.keyCode)===27)&&!1!==e4(i.escapeDeactivates,e)&&(e.preventDefault(),n.deactivate())},w=function(e){s(e8(e),e)>=0||e4(i.clickOutsideDeactivates,e)||e4(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},k=function(){if(o.active)return eK.activateTrap(a,n),o.delayInitialFocusTimer=i.delayInitialFocus?e2(function(){m(c())}):m(c()),r.addEventListener("focusin",v,!0),r.addEventListener("mousedown",g,{capture:!0,passive:!1}),r.addEventListener("touchstart",g,{capture:!0,passive:!1}),r.addEventListener("click",w,{capture:!0,passive:!1}),r.addEventListener("keydown",b,{capture:!0,passive:!1}),r.addEventListener("keydown",O),n},x=function(e){o.active&&!o.paused&&n._setSubtreeIsolation(!1),o.adjacentElements.clear(),o.alreadySilent.clear();var t,r=new Set,a=new Set,i=eW(e);try{for(i.s();!(t=i.n()).done;){var l=t.value;r.add(l);for(var s="undefined"!=typeof ShadowRoot&&l.getRootNode() instanceof ShadowRoot,u=l;u;){r.add(u);var c=u.parentElement,d=[];c?d=c.children:!c&&s&&(d=u.getRootNode().children,c=u.getRootNode().host,s="undefined"!=typeof ShadowRoot&&c.getRootNode() instanceof ShadowRoot);var p,m=eW(d);try{for(m.s();!(p=m.n()).done;){var f=p.value;a.add(f)}}catch(e){m.e(e)}finally{m.f()}u=c}}}catch(e){i.e(e)}finally{i.f()}r.forEach(function(e){a.delete(e)}),o.adjacentElements=a},S=function(){if(o.active)return r.removeEventListener("focusin",v,!0),r.removeEventListener("mousedown",g,!0),r.removeEventListener("touchstart",g,!0),r.removeEventListener("click",w,!0),r.removeEventListener("keydown",b,!0),r.removeEventListener("keydown",O),n},_="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes
4).some(function(e){return e===o.mostRecentlyFocusedNode})})&&m(c())}):void 0,E=function(){_&&(_.disconnect(),o.active&&!o.paused&&o.containers.map(function(e){_.observe(e,{subtree:!0,childList:!0})}))};return Object.defineProperties(n={get active(){return o.active},get paused(){return o.paused},activate:function(e){if(o.active)return this;var t,s,u=l(e,"onActivate"),c=l(e,"onPostActivate"),m=l(e,"checkCanFocusTrap"),f=eK.getActiveTrap(a),h=!1;f&&!f.paused&&(null===(t=f._setSubtreeIsolation)||void 0===t||t.call(f,!1),h=!0);try{m||d(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=p(r),null==u||u();var g=function(){m&&d(),k(),E(),i.isolateSubtrees&&n._setSubtreeIsolation(!0),null==c||c()};if(m)return m(o.containers.concat()).then(g,g),this;g()}catch(e){throw f===eK.getActiveTrap(a)&&h&&(null===(s=f._setSubtreeIsolation)||void 0===s||s.call(f,!0)),e}return this},deactivate:function(e){if(!o.active)return this;var t=eY({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,o.paused||n._setSubtreeIsolation(!1),o.alreadySilent.clear(),S(),o.active=!1,o.paused=!1,E(),eK.deactivateTrap(a,n);var r=l(t,"onDeactivate"),s=l(t,"onPostDeactivate"),u=l(t,"checkCanReturnFocus"),c=l(t,"returnFocus","returnFocusOnDeactivate");null==r||r();var d=function(){e2(function(){c&&m(f(o.nodeFocusedBeforeActivation)),null==s||s()})};return c&&u?u(f(o.nodeFocusedBeforeActivation)).then(d,d):d(),this},pause:function(e){return o.active?(o.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return o.active?(o.manuallyPaused=!1,a[a.length-1]!==this)?this:this._setPausedState(!1,e):this}
4,updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return o.containers=t.map(function(e){return"string"==typeof e?r.querySelector(e):e}),i.isolateSubtrees&&x(o.containers),o.active&&(d(),i.isolateSubtrees&&!o.paused&&n._setSubtreeIsolation(!0)),E(),this}},{_isManuallyPaused:{value:function(){return o.manuallyPaused}},_setPausedState:{value:function(e,t){if(o.paused===e)return this;if(o.paused=e,e){var r=l(t,"onPause"),a=l(t,"onPostPause");null==r||r(),S(),E(),n._setSubtreeIsolation(!1),null==a||a()}else{var i=l(t,"onUnpause"),s=l(t,"onPostUnpause");null==i||i(),n._setSubtreeIsolation(!0),d(),k(),E(),null==s||s()}return this}},_setSubtreeIsolation:{value:function(e){i.isolateSubtrees&&o.adjacentElements.forEach(function(t){var n;e?"aria-hidden"===i.isolateSubtrees?(("true"===t.ariaHidden||(null===(n=t.getAttribute("aria-hidden"))||void 0===n?void 0:n.toLowerCase())==="true")&&o.alreadySilent.add(t),t.setAttribute("aria-hidden","true")):((t.inert||t.hasAttribute("inert"))&&o.alreadySilent.add(t),t.setAttribute("inert",!0)):o.alreadySilent.has(t)||("aria-hidden"===i.isolateSubtrees?t.removeAttribute("aria-hidden"):t.removeAttribute("inert"))})}}}),n.updateContainerElements(e),n},e5={class:"scalar scalar-app z-overlay relative"},e7={class:"scalar-container"},e9=["id"],te=(0,o.aZ)({__name:"ModalClientContainer",props:{modalState:{}},emits:["open","close"],setup(e,{emit:t}){let n=(0,u.iH)(null),r=(0,o.Me)(),{activate:a,deactivate:i}=function(e,t={}){let n;let{immediate:r,...a}=t,i=(0,u.XI)(!1),l=(0,u.XI)(!1),s=e=>n&&n.activate(e),c=e=>n&&n.deactivate(e),d=(0,o.Fl)(()=>{let t=(0,u.Tn)(e);return(0,ey.qo)(t).map(e=>{let t=(0,u.Tn)(e);return"string"==typeof t?t:(0,eb.NXq)(t)}).filter(ey.nf)});return(0,o.YP)(d,e=>{if(e.length){if(n){let t=null==n?void 0:n.active;null==n||n.updateContainerElements(e),!t&&r&&s()}else n=e3(e,{...a,onActivate(){i.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){i.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&s()}},{flush:"post"}),(0,ey.IY)(()=>c()),{hasFocus:i,isPaused:l,activate:s,deactivate:c,pause:()=>{n&&(n.pause(),l.value=!0)},unpause:()=>{n&&(n.unpause(),l.value=!1)}}}(n,{allowOutsideClick:!0,fallbackFocus:`#${r}`});return(0,o.wF)(()=>(0,P.PQ)()),(0,o.YP)(()=>e.modalState.open,async e=>{e?(await (0,o.Y3)(),a(),t("open")):(i(),t("close"))},{immediate:!1}),(0,o.Jd)(()=>{i()}),(t,a)=>((0,o.wg)(),(0,o.j4)(ev.uT,{name:"scalar-client-fade"},{default:(0,o.w5)(()=>[(0,o.wy)((0,o._)("div",e5,[(0,o._)("div",e7,[(0,o._)("div",(0,o.dG)({id:(0,u.SU)(r),ref_key:"client",ref:n,"aria-label":"API Client","aria-modal":"true"},t.$attrs,{class:"scalar-app-layout scalar-client",role:"dialog",tabindex:"-1"}),[(0,o.Wm)((0,u.SU)(P.aq),null,{default:(0,o.w5)(()=>[(0,o.WI)(t.$slots,"default",{},void 0,!0)]),_:3})],16,e9),(0,o._)("div",{class:"scalar-app-exit",onClick:a[0]||(a[0]=t=>e.modalState.hide())})])],512),[[ev.F8,e.modalState.open]])]),_:3}))}}),tt=(0,S.Z)(te,[["__scopeId","data-v-6118685a"]]),tn=e=>{let t=(0,u.iH)(""),n=(0,u.iH)(!1),r=()=>{let n=(0,u.Tn)(e);n&&(t.value=n.style.overflow,n.style.overflow="hidden")},a=()=>{let n=(0,u.Tn)(e);n&&(""!==t.value?n.style.overflow=t.value:n.style.removeProperty("overflow"))},i=(0,o.Fl)({get:()=>n.value,set:e=>{n.value=e,e?r():a()}});return(0,o.Jd)(()=>{n.value&&a()}),i},tr=n(13945),ta={key:0,class:"relative flex h-full min-h-0 w-full flex-1"},ti={key:1,class:"flex h-full w-full items-center justify-center"},to=(0,o.aZ)({__name:"Modal",props:{workspaceStore:{},document:{},path:{},eventBus:{},method:{},exampleName:{},requestBodyCompositionSelection:{},modalState:{},sidebarState:{},plugins:{},options:{}},setup(e,{expose:t}){let n={label:"default",id:"default"},r=(0,u.iH)(!1);!function({eventBus:e,isSidebarOpen:t,requestBodyCompositionSelection:n,sidebarState:r,modalState:a,store:i}){(function({eventBus:e,store:t,hooks:n}){let r=(0,o.Fl)(()=>(0,l.Z)(t.value)),a=({collectionType:e})=>"document"===e?r.value.active():r.value.workspace();e.on("workspace:update:active-proxy",e=>s("workspace:update:active-proxy",r.value.workspace().workspace.updateActiveProxy,n)(e)),e.on("workspace:update:color-mode",e=>s("workspace:update:color-mode",r.value.workspace().workspace.updateColorMode,n)(e)),e.on("workspace:update:theme",e=>s("workspace:update:theme",r.value.workspace().workspace.updateTheme,
4n)(e)),e.on("workspace:update:selected-client",e=>s("workspace:update:selected-client",r.value.workspace().workspace.updateSelectedClient,n)(e)),e.on("workspace:update:active-environment",e=>s("workspace:update:active-environment",r.value.workspace().workspace.updateActiveEnvironment,n)(e)),e.on("document:update:extension",e=>s("document:update:extension",r.value.active().document.updateDocumentExtension,n)(e)),e.on("document:update:icon",e=>s("document:update:icon",r.value.active().document.updateDocumentIcon,n)(e)),e.on("document:update:info",e=>s("document:update:info",r.value.active().document.updateDocumentInfo,n)(e)),e.on("document:update:watch-mode",e=>s("document:update:watch-mode",r.value.active().document.updateWatchMode,n)(e)),e.on("document:create:empty-document",e=>s("document:create:empty-document",r.value.active().document.createEmptyDocument,n)(e)),e.on("document:delete:document",e=>s("document:delete:document",r.value.active().document.deleteDocument,n)(e)),e.on("environment:upsert:environment",e=>s("environment:upsert:environment",a(e).environment.upsertEnvironment,n)(e)),e.on("environment:delete:environment",e=>s("environment:delete:environment",a(e).environment.deleteEnvironment,n)(e)),e.on("environment:upsert:environment-variable",e=>s("environment:upsert:environment-variable",a(e).environment.upsertEnvironmentVariable,n)(e)),e.on("environment:delete:environment-variable",e=>s("environment:delete:environment-variable",a(e).environment.deleteEnvironmentVariable,n)(e)),e.on("cookie:upsert:cookie",async e=>{await s("cookie:upsert:cookie",a(e).cookie.upsertCookie,n)(e)}),e.on("cookie:delete:cookie",async e=>{await s("cookie:delete:cookie",a(e).cookie.deleteCookie,n)(e)}),e.on("auth:delete:security-scheme",e=>s("auth:delete:security-scheme",r.value.active().auth.deleteSecurityScheme,n)(e)),e.on("auth:update:active-index",e=>s("auth:update:active-index",r.value.active().auth.updateSelectedAuthTab,n)(e)),e.on("auth:update:security-scheme",e=>s("auth:update:security-scheme",r.value.active().auth.updateSecurityScheme,n)(e)),e.on("auth:update:selected-scopes",e=>s("auth:update:selected-scopes",r.value.active().auth.updateSelectedScopes,n)(e)),e.on("auth:update:selected-security-schemes",e=>s("auth:update:selected-security-schemes",r.value.active().auth.updateSelectedSecuritySchemes,n)(e)),e.on("auth:clear:selected-security-schemes",e=>s("auth:clear:selected-security-schemes",r.value.active().auth.clearSelectedSecuritySchemes,n)(e)),e.on("auth:update:security-scheme-secrets",e=>s("auth:update:security-scheme-secrets",r.value.active().auth.updateSecuritySchemeSecrets,n)(e)),e.on("auth:clear:security-scheme-secrets",e=>s("auth:clear:security-scheme-secrets",r.value.active().auth.clearSecuritySchemeSecrets,n)(e)),e.on("server:initialize:servers",e=>s("server:initialize:servers",r.value.active().server.initializeServers,n)(e)),e.on("server:add:server",e=>s("server:add:server",r.value.active().server.addServer,n)(e)),e.on("server:update:server",e=>s("server:update:server",r.value.active().server.updateServer,n)(e)),e.on("server:delete:server",e=>s("server:delete:server",r.value.active().server.deleteServer,n)(e)),e.on("server:clear:servers",e=>s("server:clear:servers",r.value.active().server.clearServers,n)(e)),e.on("server:update:variables",e=>s("server:update:variables",r.value.active().server.updateServerVariables,n)(e)),e.on("server:update:selected",e=>s("server:update:selected",r.value.active().server.updateSelectedServer,n)(e)),e.on("operation:create:operation",e=>s("operation:create:operation",r.value.active().operation.createOperation,n)(e)),e.on("operation:update:pathMethod",e=>s("operation:update:pathMethod",r.value.active().operation.updateOperationPathMethod,n)(e)),e.on("operation:update:meta",e=>s("operation:update:meta",r.value.active().operation.updateOperationMeta,n)(e)),e.on("operation:delete:operation",e=>s("operation:delete:operation",r.value.active().operation.deleteOperation,n)(e)),e.on("operation:create:draft-example",e=>s("operation:create:draft-example",r.value.active().operation.createOperationDraftExample,n)(e)),e.on("operation:delete:example",e=>s("operation:delete:example",r.value.active().operation.deleteOperationExample,n)(e)),e.on("operation:rename:example",e=>s("operation:rename:example",r.value.active().operation.renameOperationExample,n)(e)),e.on("operation:upsert:parameter",e=>s("operation:upsert:parameter",r.value.active().operation.upsertOperationParameter,n)(e)),e.on("operation:update:extra-parameters",e=>s("operation:update:extra-parameters",r.value.active().operation.updateOperationExtraParameters,n)(e)),e.on("operation:delete:parameter",e=>s("operation:delete:parameter",r.value.active().operation.deleteOperationParameter,n)(e)),e.on("operation:delete-all:parameters",e=>s("operation:delete-all:parameters",r.value.active().operation.deleteAllOperationParameters,n)(e)),e.on("operation:update:extension",e=>s("operation:update:extension",r.value.active().operation.updateOperationExtension,n)(e)),e.on("operation:update:requestBody:contentType",e=>s("operation:update:requestBody:contentType",r.value.active().operation.updateOperationRequestBodyContentType,n)(e)),e.on("operation:update:requestBody:value",e=>s("operation:update:requestBody:value",r.value.active().operation.updateOperationRequestBodyExample,n)(e)),e.on("operation:update:requestBody:formValue",e=>s("operation:update:requestBody:formValue",r.value.active().operation.updateOperationRequestBodyFormValue,n)(e)),e.on("operation:reload:history",e=>s("operation:reload:history",r.value.active().operation.reloadOperationHistory,n)(e)),e.on("tag:create:tag",e=>
4s("tag:create:tag",r.value.active().tag.createTag,n)(e)),e.on("tag:edit:tag",e=>s("tag:edit:tag",r.value.active().tag.editTag,n)(e)),e.on("tag:delete:tag",e=>s("tag:delete:tag",r.value.active().tag.deleteTag,n)(e)),e.on("tabs:add:tab",e=>s("tabs:add:tab",r.value.workspace().tabs.addTab,n)(e)),e.on("tabs:close:tab",e=>s("tabs:close:tab",r.value.workspace().tabs.closeTab,n)(e)),e.on("tabs:close:other-tabs",e=>s("tabs:close:other-tabs",r.value.workspace().tabs.closeOtherTabs,n)(e)),e.on("tabs:focus:tab",e=>s("tabs:focus:tab",r.value.workspace().tabs.focusTab,n)(e)),e.on("tabs:focus:tab-last",e=>s("tabs:focus:tab-last",r.value.workspace().tabs.focusLastTab,n)(e)),e.on("tabs:navigate:previous",e=>s("tabs:navigate:previous",r.value.workspace().tabs.navigatePreviousTab,n)(e)),e.on("tabs:navigate:next",e=>s("tabs:navigate:next",r.value.workspace().tabs.navigateNextTab,n)(e)),e.on("tabs:update:tabs",e=>s("tabs:update:tabs",r.value.workspace().tabs.updateTabs,n)(e)),e.on("hooks:on:request:complete",e=>s("hooks:on:request:complete",r.value.active().operation.addResponseToHistory,n)(e))})({eventBus:e,store:(0,u.iH)(i),hooks:{}}),e.on("scroll-to:nav-item",({id:e})=>r.handleSelectItem(e)),e.on("ui:toggle:sidebar",()=>t.value=!t.value),e.on("ui:close:client-modal",()=>a.hide()),e.on("ui:open:client-modal",e=>{if(n.value=e&&"requestBodyCompositionSelection"in e&&e.requestBodyCompositionSelection?e.requestBodyCompositionSelection:c,!e){a.show();return}if("id"in e&&e.id){let t=e.id;if("exampleName"in e&&e.exampleName){let n=r.state.getEntryById(e.id);if(n&&"children"in n&&n.children){let r=n.children.find(t=>"example"===t.type&&t.name===e.exampleName);r&&(t=r.id)}}r.handleSelectItem(t)}else"method"in e&&"path"in e&&r.handleSelectItem(r.getEntryByLocation({document:i.workspace.activeDocument?.["x-scalar-navigation"]?.id??"",path:e.path,method:e.method,example:e.exampleName})?.id??"");a.show()})}({eventBus:e.eventBus,isSidebarOpen:r,requestBodyCompositionSelection:e.requestBodyCompositionSelection,sidebarState:e.sidebarState,modalState:e.modalState,store:e.workspaceStore}),ec(e.eventBus,"modal",()=>!e.modalState.open);let a=()=>{e.eventBus.emit("operation:cancel:request")},i=tn(()=>"undefined"!=typeof window?window.document.body:null);(0,o.YP)(()=>e.modalState.open,e=>{i.value=e,e||a()}),(0,o.Jd)(()=>a());let d=(0,o.Fl)(()=>e.workspaceStore?.workspace?.["x-scalar-sidebar-width"]??288),p=t=>e.workspaceStore?.update("x-scalar-sidebar-width",t),m=(0,o.Fl)(()=>(0,ef.js)(e.workspaceStore,e.document.value).environment);return t({sidebarWidth:d,environment:m}),(t,a)=>((0,o.wg)(),(0,o.j4)(tt,{modalState:e.modalState},{default:(0,o.w5)(()=>[(0,o.Wm)((0,u.SU)(tr.NQ)),e.document.value&&e.path?.value&&e.method?.value?((0,o.wg)(),(0,o.iD)("main",ta,[(0,o.Wm)((0,u.SU)(en),{modelValue:r.value,"onUpdate:modelValue":a[0]||(a[0]=e=>r.value=e),class:"absolute top-2 left-4 z-10 max-md:top-4"},null,8,["modelValue"]),(0,o.wy)((0,o.Wm)((0,u.SU)(G),{sidebarWidth:d.value,"onUpdate:sidebarWidth":[a[1]||(a[1]=e=>d.value=e),p],activeWorkspace:n,class:"h-full max-md:absolute! max-md:z-5 max-md:w-full!",documents:[e.document.value],eventBus:e.eventBus,isDroppable:()=>!1,layout:"modal",sidebarState:e.sidebarState.state,workspaces:[],onSelectItem:e.sidebarState.handleSelectItem},null,8,["sidebarWidth","documents","eventBus","sidebarState","onSelectItem"]),[[ev.F8,r.value]]),(0,o.Wm)(eg,{activeWorkspace:n,class:"flex-1",document:e.document.value,documentSlug:e.document.value["x-scalar-navigation"]?.id??"",environment:m.value,eventBus:e.eventBus,exampleName:e.exampleName?.value,layout:"modal",method:e.method?.value,options:e.options,path:e.path?.value,plugins:e.plugins,requestBodyCompositionSelection:e.requestBodyCompositionSelection.value,workspaceStore:e.workspaceStore},null,8,["document","documentSlug","environment","eventBus","exampleName","method","options","path","plugins","requestBodyCompositionSelection","workspaceStore"])])):((0,o.wg)(),(0,o.iD)("div",ti,[...a[2]||(a[2]=[(0,o._)("span",{class:"text-c-3"},"No document selected",-1)])]))]),_:1},8,["modalState"]))}}),tl=n(90568),ts=({el:e,eventBus:t=(0,tl.e3)({debug:!1}),mountOnInitialize:n=!0,plugins:r=[],workspaceStore:a,options:i={}})=>{let l=(0,u.iH)({}),s=(0,u.dq)(i)?i:(0,u.iH)((0,u.Tn)(i)),c={path:"default",method:"default",example:"default",documentSlug:a.workspace["x-scalar-active-document"]||"default"},d=(0,u.qj)({...c}),p=e=>{Object.assign(d,c,e)},m=(0,o.Fl)(()=>b(a,d)),f=(0,o.Fl)(()=>m.value.documentSlug),h=(0,o.Fl)(()=>m.value.path),g=(0,o.Fl)(()=>m.value.method),v=(0,o.Fl)(()=>m.value.example),y=(0,o.Fl)(()=>a.workspace.documents[f.value??""]??null),O=x({workspaceStore:a,documentSlug:f,path:h,method:g,exampleName:v,route:p}),w=(0,P.dd)(),k=(0,ev.ri)(to,{document:y,eventBus:t,exampleName:v,method:g,modalState:w,path:h,plugins:r,requestBodyCompositionSelection:l,sidebarState:O,workspaceStore:a,options:s}),S=()=>{l.value={}},_=[];for(let e of r)if(e.lifecycle?.onInit?.(),e.on)for(let[n,r]of Object.entries(e.on))_.push(t.on(n,r));k.onUnmount(()=>{for(let e of _)e();for(let e of r)e.lifecycle?.onDestroy?.()}),(0,o.YP)(()=>w.open,e=>e?null:S()),(0,o.YP)(()=>(0,u.Tn)(s).proxyUrl,e=>a.update("x-scalar-active-proxy",e),{immediate:!0}),k.config.idPrefix="scalar-client";let E=(t=e)=>{if(!t){console.error("[@scalar/api-client] Could not create the API client Modal.","Invalid HTML element provided.","Read more: https://github.com/scalar/scalar/tree/main/packages/api-cl
4ient");return}k.mount(t)};return n&&E(),{app:k,open:e=>{w.open=!0,e&&p(e)},mount:E,route:p,modalState:w,updateOptions:(e,t=!1)=>{s.value=t?e:{...s.value,...e}}}}},88614:function(e,t,n){"use strict";let r,a;n.r(t),n.d(t,{ApiReferenceReact:function(){return u1}});var i,o,l=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},s=n(53916),u=n(74275),c=n(45698),d=e=>"object"==typeof e&&null!==e,p=e=>"type"in e?"string"==typeof e.type?e.type:Array.isArray(e.type)?e.type.join("|"):"":"";function m(e){return"object"==typeof e&&null!==e&&"$ref"in e?d(e["$ref-value"])?e["$ref-value"]:void 0:e}var f=n(86940);function h(e){if("string"==typeof e)return e;try{return JSON.stringify(e)}catch(e){return""}}var g=n(82589),v=n(72909),y=n(34280),b=n(14007),O=n(6838),w=n(1859),k={key:0},x={key:1},S={key:2},_={key:3},E={key:4},A={key:5},T=(0,g.aZ)({name:"ScalarIconTextAlignLeft",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,w.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,v.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",k,[...r[0]||(r[0]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",x,[...r[1]||(r[1]=[(0,g._)("path",{d:"M216,64V168a16,16,0,0,1-16,16H40V64Z",opacity:"0.2"},null,-1),(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",S,[...r[2]||(r[2]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",_,[...r[3]||(r[3]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",E,[...r[4]||(r[4]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",A,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),D={key:0},C={key:1},$={key:2},P={key:3},I={key:4},N={key:5},U=(0,g.aZ)({name:"ScalarIconBracketsCurly",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,w.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,v.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",D,[...r[0]||(r[0]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",C,[...r[1]||(r[1]=[(0,g._)("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,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",$,[...r[2]||(r[2]=[(0,g._)("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-.
417,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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",P,[...r[3]||(r[3]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",I,[...r[4]||(r[4]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",N,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),M={key:0},R={key:1},j={key:2},L={key:3},Z={key:4},B={key:5},z=(0,g.aZ)({name:"ScalarIconTerminalWindow",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,w.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,v.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",M,[...r[0]||(r[0]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",R,[...r[1]||(r[1]=[(0,g._)("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,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",j,[...r[2]||(r[2]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",L,[...r[3]||(r[3]=[(0,g._)("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,
46,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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",Z,[...r[4]||(r[4]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",B,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),F={key:0},Q={key:1},H={key:2},q={key:3},V={key:4},W={key:5},X=(0,g.aZ)({name:"ScalarIconTag",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,w.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,v.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",F,[...r[0]||(r[0]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",Q,[...r[1]||(r[1]=[(0,g._)("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,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",H,[...r[2]||(r[2]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",q,[...r[3]||(r[3]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",V,[...r[4]||(r[4]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",W,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),Y={class:"sr-only"},G={class:"inline-flex items-center gap-1"},K={class:"sr-only"},J=(0,g.aZ)({__name:"SearchResult",props:{id:{},isSelected:{type:Boolean},result:{}},setup(e){let t={heading:T,model:U,operation:z,tag:X,webhook:z},n={heading:"Heading",operation:"Operation",tag:"Tag",model:"Model",webhook:"Webhook"};return(r,a)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(b.d4),{id:e.id,icon:t[e.result.item.type],selected:e.isSelected},(0,g.Nv)({default:(0,g.w5)(()=>
4[(0,g._)("span",{class:(0,y.C_)({"text-decoration-line":"operation"===e.result.item.entry.type&&e.result.item.entry.isDeprecated})},[(0,g._)("span",Y,[(0,g.Uk)((0,y.zw)(n[e.result.item.type])+":\xa0 ",1),"operation"===e.result.item.entry.type&&e.result.item.entry.isDeprecated?((0,g.wg)(),(0,g.iD)(g.HY,{key:0},[(0,g.Uk)(" (Deprecated)\xa0 ")],64)):(0,g.kq)("",!0)]),(0,g.Uk)(" "+(0,y.zw)(e.result.item.title)+" ",1),a[0]||(a[0]=(0,g._)("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,g.w5)(()=>[(0,g._)("span",G,["operation"===e.result.item.type?((0,g.wg)(),(0,g.iD)(g.HY,{key:0},[(0,g.Wm)((0,v.SU)(O.w$),{"aria-hidden":"true",method:e.result.item.method??"get"},null,8,["method"]),(0,g._)("span",K," HTTP Method: "+(0,y.zw)(e.result.item.method??"get"),1)],64)):(0,g.kq)("",!0),a[1]||(a[1]=(0,g._)("span",{class:"sr-only"},"Path:\xa0",-1)),(0,g.Uk)(" "+(0,y.zw)(e.result.item.path),1)])]),key:"0"}:e.result.item.description?{name:"description",fn:(0,g.w5)(()=>[a[2]||(a[2]=(0,g._)("span",{class:"sr-only"},"Description:\xa0",-1)),(0,g.Uk)(" "+(0,y.zw)(e.result.item.description),1)]),key:"1"}:void 0]),1032,["id","icon","selected"]))}}),ee=n(19614);let et=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return t};var en={class:"mb-0 flex flex-col",role:"search"},er=l((0,g.aZ)({__name:"SearchModal",props:{modalState:{},document:{},eventBus:{}},setup(e){let t=et(),n=`${t}-search-result`,r=`${t}-search-instructions`,{query:a,results:i}=function(e){let t=(0,g.Fl)(()=>(function(e){let t=[];return!function n(r){r.forEach(r=>{(function(e,t,n){if("operation"===e.type){var r;let a=(0,u.n)(n?.paths?.[e.path]),i=(0,u.n)(a?.[e.method])??{},o={...i,parameters:(0,f.oR)(a?.parameters,i.parameters)},l=(o.parameters??[]).map(e=>(function(e){let t=[e.name];if(t.push(e.required?"REQUIRED":"optional"),t.push(e.in),"schema"in e&&e.schema){let n=(0,u.n)(e.schema);n&&t.push(p(n))}return e.description&&t.push(e.description),t.join(" ")})((0,u.n)(e))),s=function(e){let t=Object.values(u.n(e?.requestBody)?.content??{});return 0===t.length?null:t.flatMap(e=>(function(e){let t=["Body"],n=(0,u.n)(e?.schema);if(!n||!(0,c.w_)(n)||!n.properties)return t;let r=n.properties,a={properties:r,required:n.required};return Object.keys(r).forEach(n=>{if(!e.schema)return;t.push(function(e,t){let n=e;n+=t.required?.includes(e)?" REQUIRED ":" optional ";let r=t.properties[e];if(!r)return n;let a=m(r);return a&&(n+=p(a),"description"in a&&"string"==typeof a.description&&(n+=` ${a.description}`)),n}(n,a));let i=r[n];if(!i)return;let o=m(i);if(o&&(0,c.w_)(o)&&o.properties){let e=o.properties;Object.keys(e).forEach(n=>{let r=e[n];if(!r)return;let a=m(r),i=a?p(a):"";t.push(`${n} ${i}`)})}}),t})(e))}(o),d=(r=o.responses)?Object.values(r).flatMap(e=>{let t=(0,u.n)(e);return t?.content?Object.values(t.content).flatMap(e=>{let t=(0,u.n)(e);return t?function(e){let t=Object.values(e.examples??{}).flatMap(e=>{let t=(0,u.n)(e);return t&&"value"in t?h(t.value):[]}).filter(e=>e.length>0),n="example"in e&&void 0!==e.example?h(e.example):"";return n?[n,...t]:t}(t):[]}):[]}).filter(e=>e.length>0):[];t.push({type:"operation",title:e.title,id:e.id,description:o.description||"",method:e.method,path:e.path,body:s||"",parameters:l??"",responseExamples:d,operationId:o.operationId,entry:e});return}if("webhook"===e.type){let r=(0,u.n)(n?.webhooks?.[e.name]?.[e.method])??{};t.push({id:e.id,type:"webhook",title:e.title,description:"Webhook",method:e.method,body:r.description||"",operationId:r.operationId,entry:e});return}if("model"===e.type){let r=u.n(n?.components?.schemas?.[e.name])?.description??"";t.push({type:"model",title:e.title,description:"Model",id:e.id,body:r,entry:e});return}if("models"===e.type){t.push({id:e.id,type:"heading",title:"Models",description:"Heading",body:"",entry:e});return}if("tag"===e.type&&!0===e.isWebhooks){t.push({id:e.id,type:"heading",title:"Webhooks",description:"Heading",body:"",entry:e});return}if("tag"===e.type&&!1===e.isGroup){t.push({id:e.id,title:e.title,de
4scription:e.description||"",type:"tag",body:"",entry:e});return}if("tag"===e.type&&!0===e.isGroup){t.push({id:e.id,title:e.title,description:"Tag Group",type:"tag",body:"",entry:e});return}"text"===e.type&&t.push({id:e.id,type:"heading",title:e.title??"",description:"Heading",body:"",entry:e})})(r,t,e),"children"in r&&r.children&&n(r.children)})}(e?.["x-scalar-navigation"]?.children??[]),t})((0,v.Tn)(e))),n=(0,g.Fl)(()=>{let e=new s.Z([],{keys:[{name:"title",weight:.7},{name:"description",weight:.3},{name:"parameters",weight:.2},{name:"body",weight:.2},{name:"responseExamples",weight:.25},{name:"operationId",weight:.6},{name:"path",weight:.5},{name:"tag",weight:.4},{name:"method",weight:.3}],threshold:.3,distance:100,includeScore:!0,includeMatches:!0,ignoreLocation:!0,useExtendedSearch:!0,findAllMatches:!0});return e.setCollection(t.value),e}),r=(0,v.iH)("");return{results:(0,g.Fl)(()=>0!==r.value.length?n.value.search(r.value,{limit:25}):t.value.slice(0,25).map((e,t)=>({item:e,refIndex:t}))),query:r}}(()=>e.document),o=(0,v.iH)(void 0);(0,g.YP)(()=>e.modalState.open,e=>{e&&(a.value="")});let l=e=>{let t="up"===e?-1:1,n=i.value.length;"number"==typeof o.value?o.value=(o.value+t+n)%n:o.value=-1===t?n-1:0};function d(t){if("number"!=typeof t||!i.value[t])return;let n=i.value[t];e.modalState.hide(),e.eventBus.emit("scroll-to:nav-item",{id:n.item.id})}let O=(0,g.Fl)(()=>{let e=i.value[o.value??-1];return e?`search-result-${e.item.id}`:void 0});return(t,s)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(b.FD),{"aria-label":"Reference Search",state:e.modalState,variant:"search"},{default:(0,g.w5)(()=>[(0,g._)("div",en,[(0,g.Wm)((0,v.SU)(b.Xy),{modelValue:(0,v.SU)(a),"onUpdate:modelValue":s[0]||(s[0]=e=>(0,v.dq)(a)?a.value=e:null),"aria-activedescendant":O.value,"aria-autocomplete":"list","aria-controls":n,"aria-describedby":r,role:"combobox",onBlur:s[1]||(s[1]=e=>o.value=void 0),onKeydown:[s[2]||(s[2]=(0,ee.D2)((0,ee.iM)(e=>l("down"),["stop","prevent"]),["down"])),s[3]||(s[3]=(0,ee.D2)((0,ee.iM)(()=>d(o.value),["stop","prevent"]),["enter"])),s[4]||(s[4]=(0,ee.D2)((0,ee.iM)(e=>l("up"),["stop","prevent"]),["up"]))]},null,8,["modelValue","aria-activedescendant"])]),(0,g.Wm)((0,v.SU)(b.II),{id:n,"aria-label":"Reference Search Results",class:"custom-scroll px-1 pb-1",noResults:!(0,v.SU)(i).length},{query:(0,g.w5)(()=>[(0,g.Uk)((0,y.zw)((0,v.SU)(a)),1)]),default:(0,g.w5)(()=>[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)((0,v.SU)(i),(e,t)=>((0,g.wg)(),(0,g.j4)(J,{id:`search-result-${e.item.id}`,key:e.refIndex,isSelected:o.value===t,result:e,onClick:(0,ee.iM)(()=>d(t),["prevent"])},null,8,["id","isSelected","result","onClick"]))),128))]),_:1},8,["noResults"]),(0,g._)("div",{id:r,class:"ref-search-meta"},[...s[5]||(s[5]=[(0,g._)("span",{"aria-hidden":"true",class:"contents"},[(0,g._)("span",null,"ââ Navigate"),(0,g._)("span",null,"â Select")],-1),(0,g._)("span",{class:"sr-only"}," Press up arrow / down arrow to navigate, enter to select, type to filter results ",-1)])])]),_:1},8,["state"]))}}),[["__scopeId","data-v-9b0e55ef"]]),ea=n(84481),ei=n(32313),eo=(0,g.aZ)({__name:"SearchButton",props:{forceIcon:{type:Boolean},searchHotKey:{default:"k"},hideModels:{type:Boolean,default:!1},document:{},eventBus:{}},setup(e){let t=(0,v.iH)(),n=(0,b.dd)(),r=t=>{((0,ei.e)()?t.metaKey:t.ctrlKey)&&t.key===e.searchHotKey&&(t.preventDefault(),t.stopPropagation(),n.open?n.hide():n.show())};function a(){n.show()}return(0,g.YP)(()=>n.open,async(e,n)=>{!e&&n&&(await (0,g.Y3)(),t.value?.$el.focus())}),(0,g.bv)(()=>window.addEventListener("keydown",r)),(0,g.Jd)(()=>window.removeEventListener("keydown",r)),(r,i)=>((0,g.wg)(),(0,g.iD)(g.HY,null,[e.forceIcon?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.ot),{key:0,icon:(0,v.SU)(ea.Z),label:"Search",onClick:a},null,8,["icon"])):((0,g.wg)(),(0,g.j4)((0,v.SU)(b.h_),{key:1,ref_key:"button",ref:t,class:(0,y.C_)(["w-full",r.$attrs.class]),onClick:a},{shortcut:(0,g.w5)(()=>[(0,v.SU)(ei.e)()?((0,g.wg)(),(0,g.iD)(g.HY,{key:0},[i[0]||(i[0]=(0,g._)("span",{class:"sr-only"},"Command",-1)),i[1]||(i[1]=(0,g._)("span",{"aria-hidden":"true"},"â",-1))],64)):((0,g.wg)(),(0,g.iD)(g.HY,{key:1},[i[2]||(i[2]=(0,g._)("span",{class:"sr-only"},"CTRL",-1)),i[3]||(i[3]=(0,g._)("span",{"aria-hidden":"true"},"â",-1))],64)),(0,g.Uk)(" "+(0,y.zw)(e.searchHotKey),1)]),default:(0,g.w5)(()=>[i[4]||(i[4]=(0,g._)("span",{class:"sr-only"},"Open Search",-1)),i[5]||(i[5]=(0,g._)("span",{"aria-hidden":"true",class:"sidebar-search-placeholder"}," Search ",-1))]),_:1},8,["class"])),(0,g.Wm)(er,{document:e.document,eventBus:e.eventBus,hideModels:e.hideModels,modalState:(0,v.SU)(n)},null,8,["document","eventBus","hideModels","modalState"])],64))}}),el=n(37608),es=Symbol(),eu=(0,v.iH)(null);function ec(){let e=(0,g.f3)(es,void 0);return(0,g.Fl)(()=>e??eu.value??void 0)}var ed={key:0},ep={key:1},em={key:2},ef={key:3}
4,eh={key:4},eg={key:5},ev=(0,g.aZ)({name:"ScalarIconSparkle",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,w.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,v.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",ed,[...r[0]||(r[0]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",ep,[...r[1]||(r[1]=[(0,g._)("path",{d:"M194.82,151.43l-55.09,20.3-20.3,55.09a7.92,7.92,0,0,1-14.86,0l-20.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,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",em,[...r[2]||(r[2]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",ef,[...r[3]||(r[3]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",eh,[...r[4]||(r[4]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",eg,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),ey=(0,g.aZ)({__name:"AgentScalarButton",setup(e){let t=ec();return(e,n)=>((0,g.wg)(),(0,g.iD)("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:n[0]||(n[0]=e=>v.SU(t)?.toggleAgent())},[(0,g.Wm)((0,v.SU)(ev)),n[1]||(n[1]=(0,g.Uk)(" Ask AI ",-1))]))}}),eb=n(85015),eO={class:"agent-scalar-container custom-scroll custom-scroll-self-contain-overflow overflow-auto px-6"},ew=l((0,g.aZ)({__name:"AgentScalarDrawer",props:{agentScalarConfiguration:{},externalUrls:{},workspaceStore:{}},setup(e){let t=ec(),r=(0,g.RC)(async()=>Promise.all([n.e(6230),n.e(2330),n.e(833)]).then(n.bind(n,47470)));return(n,a)=>((0,g.wg)(),(0,g.iD)(g.HY,null,[(0,g.Wm)(ee.uT,{enterActiveClass:"transition-opacity duration-500",enterFromClass:"opacity-0",enterToClass:"opacity-100",leaveActiveClass:"transition-opacity duration-200",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},{default:(0,g.w5)(()=>[(0,g.wy)((0,g._)("div",{class:"agent-scalar-overlay bg-backdrop fixed inset-0 z-10 ease-[
4cubic-bezier(0.77,0,0.175,1)]",onClick:a[0]||(a[0]=e=>v.SU(t)?.closeAgent())},null,512),[[ee.F8,v.SU(t)?.showAgent.value]])]),_:1}),(0,g.Wm)(ee.uT,{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,g.w5)(()=>[(0,g.wy)((0,g._)("div",{class:"agent-scalar left-w-sidebar bg-b-1 fixed inset-y-0 right-12 z-10 grid border-r shadow-lg",onKeydown:a[2]||(a[2]=(0,ee.D2)(e=>v.SU(t)?.closeAgent(),["escape"]))},[(0,g._)("div",eO,[(0,g.Wm)((0,v.SU)(r),{agentScalarConfiguration:e.agentScalarConfiguration,externalUrls:e.externalUrls,prefilledMessage:v.SU(t)?.prefilledMessage,workspaceStore:e.workspaceStore},null,8,["agentScalarConfiguration","externalUrls","prefilledMessage","workspaceStore"])]),(0,g.Wm)((0,v.SU)(b.ot),{class:"agent-scalar-exit-button absolute top-2 right-2",icon:(0,v.SU)(eb.Z),label:"Close Client",weight:"bold",onClick:a[1]||(a[1]=e=>v.SU(t)?.closeAgent())},null,8,["icon"])],544),[[ee.F8,v.SU(t)?.showAgent.value]])]),_:1})],64))}}),[["__scopeId","data-v-1c6c3dbf"]]),ek=n(68590);async function ex(e,t){let n=JSON.stringify({document:e}),r=`${t.apiBaseUrl}/core/share/upload/apis`,a=await fetch((0,ek.L)(t.proxyUrl,r),{method:"POST",headers:{"Content-Type":"application/json"},body:n});if(!a.ok)throw Error(` Failed to generate temporary link, server responded with ${a.status}`);let i=await a.json();if(!(i&&"object"==typeof i&&"url"in i&&"string"==typeof i.url))throw Error("Failed to generate temporary link, invalid response from server");return i.url}var eS=n(38025),e_=n(13945),eE=n(52443),eA={class:"scalar-mcp-layer"},eT=["href","target"],eD=["href","target"],eC=l((0,g.aZ)({__name:"OpenMCPButton",props:(0,g.Vf)({config:{},externalUrls:{},url:{},workspace:{}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){let{copyToClipboard:t}=(0,eS.V)(),{toast:n}=(0,e_.e1)(),r=(0,b.$C)(),a=e.config?.name||e.config?.url,i=btoa(JSON.stringify(e.config??{})),o=`cursor://anysphere.cursor-deeplink/mcp/install?name=${encodeURIComponent(e.config?.name??"")}&config=${i}`,l=`vscode:mcp/install?${encodeURIComponent(JSON.stringify(e.config??{}))}`,s=(0,g.tT)(e,"url");async function u(){if(r.isLoading||!e.workspace)return;if(s.value&&function(e){try{return new URL(e),!0}catch{return!1}}(s.value)){c(s.value);return}r.start();let t=e.workspace.exportActiveDocument("json");if(!t){n("Unable to export active document","error"),await r.invalidate();return}try{s.value=await ex(t,e.externalUrls),await r.validate(),c(s.value),await (0,g.Y3)(),await r.clear()}catch(e){n(e instanceof Error?e.message:"An unknown error occurred","error"),await r.invalidate()}}function c(t){let n=new URL(`${e.externalUrls.dashboardUrl}/register`);n.searchParams.set("url",t),n.searchParams.set("createMcp","true"),window.open(n.toString(),"_blank")}return(n,r)=>((0,g.wg)(),(0,g.iD)("div",eA,[(0,g._)("a",{class:"scalar-mcp-layer-link",href:(0,v.SU)(a)?l:void 0,target:(0,v.SU)(a)?"_blank":void 0,onClick:r[0]||(r[0]=e=>{(0,v.SU)(a)||(e.preventDefault(),u())})},[r[3]||(r[3]=(0,g._)("svg",{class:"mcp-logo",fill:"currentColor",height:"800",viewBox:"0 0 32 32",width:"800",xmlns:"http://www.w3.org/2000/svg"},[(0,g._)("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)),r[4]||(r[4]=(0,g.Uk)(" VS Code ",-1)),(0,g.Wm)((0,v.SU)(eE.Z),{class:"mcp-nav ml-auto size-4"})],8,eT),(0,g._)("a",{class:"scalar-mcp-layer-link",href:(0,v.SU)(a)?o:void 0,target:(0,v.SU)(a)?"_blank":void 0,onClick:r[1]||(r[1]=e=>{(0,v.SU)(a)||(e.preventDefault(),u())})},[r[5]||(r[5]=(0,g._)("svg",{class:"mcp-logo",viewBox:"0 0 466.73 532.09",xmlns:"http://www.w3.org/2000/svg"},[(0,g._)("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)),r[6]||(r[6]=(0,g.Uk)(" Cursor ",-1)),(0,g.Wm)((0,v.SU)(eE.Z),{class:"mcp-nav ml-auto size-4"})],8,eD),(0,v.SU)(a)?((0,g.wg)(),(0,g.iD)("div",{key:1,class:"scalar-mcp-layer-link",onClick:r[2]||(r[2]=n=>
4(0,v.SU)(t)(e.config?.url??""))},[...r[9]||(r[9]=[(0,g.Uk)(" Connect MCP ",-1),(0,g._)("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,g._)("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,g._)("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,g._)("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,g.wg)(),(0,g.iD)("div",{key:0,class:"scalar-mcp-layer-link",onClick:u},[r[7]||(r[7]=(0,g._)("svg",{class:"mcp-logo",fill:"none",height:"173",viewBox:"0 0 156 173",width:"156",xmlns:"http://www.w3.org/2000/svg"},[(0,g._)("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,g._)("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,g._)("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)),r[8]||(r[8]=(0,g.Uk)(" Generate MCP ",-1)),(0,g.Wm)((0,v.SU)(eE.Z),{class:"mcp-nav ml-auto size-4"})]))]))}}),[["__scopeId","data-v-496918d9"]]),e$={class:"references-classic-header-container"},eP={class:"references-classic-header"},eI={class:"references-classic-header-content"},eN=l({},[["render",function(e,t){return(0,g.wg)(),(0,g.iD)("div",e$,[(0,g._)("div",eP,[(0,g._)("div",eI,[(0,g.WI)(e.$slots,"default",{},void 0,!0)]),(0,g.WI)(e.$slots,"dark-mode-toggle",{},void 0,!0)])])}],["__scopeId","data-v-8a3822ca"]]),eU=n(60627),eM=(e,t,n)=>{(0,g.bv)(()=>{let r={rootMargin:n?.immediate?"0px 0px 0px 0px":"-49% 0px -49% 0px",threshold:0};e.value&&(0,eU.S1d)(e,([e])=>{e?.isIntersecting?t():n?.onExit?.()},r)})},eR=({plugins:e=[]})=>{let t=new Map;return e.forEach(e=>{let n=e();t.set(n.name,n)}),{getSpecificationExtensions:e=>{let n=[];for(let r of t.values())for(let t of r.extensions)t.name===e&&n.push(t);return n},getViewComponents:e=>{let n=[];for(let r of t.values()){let t=r.views?.[e];t&&n.push(...t)}return n},notifyInit:e=>{for(let n of t.values())n.hooks?.onInit?.({config:e})},notifyConfigChange:e=>{for(let n of t.values())n.hooks?.onConfigChange?.({config:e})},notifyDestroy:()=>{for(let e of t.values())e.hooks?.onDestroy?.()},getApiClientPlugins:()=>{let e=[];for(let n of t.values())n.apiClientPlugins&&e.push(...n.apiClientPlugins);return e}}},ej=Symbol(),eL=()=>(0,g.f3)(ej)||eR({}),eZ=n(82274),eB=n(90124),ez=n(24725),eF=(0,eZ.EN)(),eQ=()=>{let e=eZ.NW.SELECTED_CLIENT;return{get:()=>eF.getItem(e),set:t=>{eF.setItem(e,t)}}},eH=()=>{let e=e=>`${eZ.NW.AUTH}-${e}`;return{getAuth:t=>(0,ez.a)(eB.DH,JSON.parse(eF.getItem(e(t))??"{}")),setAuth:(t,n)=>{eF.setItem(e(t),JSON.stringify(n))}}},eq=n(49183),eV=({debounceDelay:e=500,maxWait:t=1e4,prefix:n="",persistAuth:r=!1})=>{let{execute:a}=(0,eq.D)({delay:e,maxWait:t}),i=eH(),o=eQ(),l=()=>"string"==typeof n?n:n(),s=()=>"function"==typeof r?r():r;return{hooks:{onWorkspaceStateChanges(e){if("meta"===e.type){let t=e.value["x-scalar-default-client"];void 0!==t&&a("x-scalar-default-client",()=>o.set(t));return}s()&&"auth"===e.type&&a("auth",()=>i.setAuth(l(),e.value))}}}},eW=e=>e.replace(/^\/+|\/+$/g,""),eX=e=>e.startsWith("#"),eY=e=>e.replace(/^#+/,"").replace(/\/+$/g,""),eG=(e,t)=>t?`${t}${e?"/":""}${e}`:e,eK=(e,t)=>e===t?"":e.startsWith(`${t}/`)?e.slice(t.length+1):null,eJ=(e,t)=>eG(decodeURIComponent(("string"==typeof e?new URL(e):e).hash.slice(1)),t),e0=(e,t,n)=>{let r="string"==typeof e?new URL(e):e,a=eW(t),i=a?`/${a.split("/").map(e=>encodeURIComponent(e)).join("/")}`:"";if(r.pathname.startsWith(i)){let e=r.pathname.slice(i.length);return eG(decodeURIComponent(e.startsWith("/")?e.slice(1):e),n)}return n??""},e1=(e,t,n)=>{let r=eK(decodeURIComponent(("string"==typeof e?new URL(e):e).hash.slice(1)),eY(t));return null!==r?eG(r,n):n??""},e2=(e,t)=>{let n="string"==typeof e?new URL(e):e;if(eX(t)){let e=decodeURIComponent(n.hash);return e===t||e.startsWith(`${t}/`)}let r=eW(t),a=r?`/${r.split("/").map(e=>encodeURIComponent(e)).join("/")}`:"";return n.pathname===a||n.pathname.startsWith(`${a}/`)},e4=(e,t,n)=>
4"string"!=typeof t?eJ(e,n):eX(t)?e1(e,t,n):e0(e,t,n),e8=e=>{let t=e.endsWith("/"),n=e.split("/").filter(Boolean).slice(1).join("/");return t&&n?`${n}/`:n},e6=(e,t,n)=>{if("undefined"==typeof window)return;let r=n?e:e8(e),a=new URL(window.location.href);return"string"==typeof t?eX(t)?a.hash=[eY(t),r].filter(Boolean).join("/"):a.pathname=`${eW(t)}/${r}`:a.hash=r,a},e3=e=>{let t=e.match(/(.*)(\.body\.|\.path\.|\.query\.|\.header\.)(.*)/);return t&&"string"==typeof t[1]&&"string"==typeof t[2]?{rawId:t[1],params:t[2].slice(1)+t[3]}:{rawId:e,params:""}},e5=n(79402),e7=(0,v.qj)(new Set),e9=(0,v.qj)(new Set),te=(0,v.qj)(new Set),tt=(0,v.iH)(!1),tn=(0,v.iH)(!1),tr=(0,v.qj)(new Set),ta=new Set,ti=(0,v.qj)(new Map),to=e=>ti.get(e),tl=(e,t)=>{Number.isFinite(t)&&!(t<=0)&&ti.set(e,Math.round(t))},ts=e=>{e&&ta.add(e)},tu=()=>{let e=et();return tr.add(e),()=>setTimeout(()=>tr.delete(e),100)},tc=(0,g.Fl)(()=>0===tr.size),td=()=>{if("undefined"==typeof window||tt.value)return;tt.value=!0;let e=async()=>{let e=[...e7],t=[...e9];if(0===e.length&&0===t.length){ta.forEach(e=>e()),ta.clear(),tt.value=!1,tn.value=!0;return}for(let t of e)te.add(t),e7.delete(t);for(let e of t)te.add(e),e9.delete(e);await (0,g.Y3)(),ta.forEach(e=>e()),ta.clear(),tt.value=!1,tn.value=!0};window.requestIdleCallback?window.requestIdleCallback(e,{timeout:1500}):(0,g.Y3)(e)};(0,e5.B_)([()=>e9.size,()=>e7.size,()=>tt.value],()=>{(e9.size>0||e7.size>0)&&!tt.value&&td()},{debounce:300,maxWait:1500});var tp=e=>{!e||te.has(e)||e7.has(e)||e9.add(e)},tm=e=>{e&&!e7.has(e)&&e7.add(e)},tf=(e,t=!1)=>{!e||te.has(e)||(t?tm(e):tp(e),tt.value||td())},th=()=>{"undefined"!=typeof window&&window.setTimeout(()=>td(),400)},tg=e=>{e7.delete(e),e9.delete(e),te.delete(e),ti.delete(e)},tv=(e,t,n)=>{let r=n(e),a=!te.has(e)||r?.children?.some(e=>!te.has(e.id))?tb(e):void 0;ts(a);let i=tu(),{rawId:o}=e3(e);if(tm(e),tm(o),r?.children&&r.children.slice(0,2).forEach(e=>tm(e.id)),r?.parent){let t=n(r.parent.id),a=t?.children?.findIndex(t=>t.id===e);void 0!==a&&a>=0&&t?.children?.slice(a,a+2).forEach(e=>tm(e.id))}t(o,!0);let l=e=>{let r=n(e)?.parent;r&&(tm(r.id),t(r.id,!0),l(r.id))};l(o),(0,g.Y3)(()=>{ty(e,Date.now()+3e3,i,a)})},ty=(e,t,n,r)=>{let a=document.getElementById(e);a?(a.scrollIntoView({block:"start"}),n()):Date.now()<t?requestAnimationFrame(()=>ty(e,t,n,r)):(n(),r?.())},tb=e=>{let t=!1,n=r=>{let a=document.getElementById(e);a&&a.scrollIntoView({block:"start"}),r||requestAnimationFrame(()=>n(t))};return n(!1),()=>{t=!0}},tO=["shell/curl","ruby/native","node/undici","php/guzzle","python/python3"],tw=(e,t=tO)=>!!(e&&t.includes(e)),tk=(e,t=tO)=>{let n=new Map;for(let t of e)for(let e of t.options)n.set(e.id,e);return t.flatMap(e=>n.get(e)??[])},tx=n(76257),tS=n(58373),t_=n(29634);let tE=(0,g.aZ)({props:{onFocus:{type:Function,required:!0}},setup(e){let t=(0,v.iH)(!0);return()=>t.value?(0,g.h)(t_._,{as:"button",type:"button",features:t_.A.Focusable,onFocus(n){n.preventDefault();let r,a=50;r=requestAnimationFrame(function n(){var i;if(a--<=0){r&&cancelAnimationFrame(r);return}if(null!=(i=e.onFocus)&&i.call(e)){t.value=!1,cancelAnimationFrame(r);return}r=requestAnimationFrame(n)})}}):null}});var tA=n(40387),tT=n(78824),tD=n(96715),tC=n(17238),t$=n(18216),tP=n(2262),tI=n(91937),tN=((r=tN||{})[r.Forwards=0]="Forwards",r[r.Backwards=1]="Backwards",r),tU=((a=tU||{})[a.Less=-1]="Less",a[a.Equal=0]="Equal",a[a.Greater=1]="Greater",a);let tM=Symbol("TabsContext");function tR(e){let t=(0,g.f3)(tM,null);if(null===t){let t=Error(`<${e} /> is missing a parent <TabGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,tR),t}return t}let tj=Symbol("TabsSSRContext"),tL=(0,g.aZ)({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n,emit:r}){var a;let i=(0,v.iH)(null!=(a=e.selectedIndex)?a:e.defaultIndex),o=(0,v.iH)([]),l=(0,v.iH)([]),s=(0,g.Fl)(()=>null!==e.selectedIndex),u=(0,g.Fl)(()=>s.value?e.selectedIndex:i.value);function c(e){var t;let n=(0,tD.z2)(d.tabs.value,tT.v),r=(0,tD.z2)(d.panels.value,tT.v),a=n.filter(e=>{var t;return!(null!=(t=(0,tT.v)(e))&&t.hasAttribute("disabled"))});if(e<0||e>n.length-1){let t=(0,tC.E)(null===i.value?0:Math.sign(e-i.value),{[-1]:()=>1,0:()=>(0,tC.E)(Math.sign(e),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),o=(0,tC.E)(t,{0:()=>n.indexOf(a[0]),1:()=>n.indexOf(a[a.length-1])});-1!==o&&(i.value=o),d.tabs.value=n,d.panels.value=r}else{let o=n.slice(0,e),l=[...n.slice(e),...o].find(e=>a.includes(e));if(!l)return;let s=null!=(t=n.indexOf(l))?t:d.selectedIndex.value;-1===s&&(s=d.selectedIndex.value),i.value=s,d.tabs.value=n,d.panels.value=r}}let d={selectedIndex:(0,g.Fl)(()=>{var t,n;return null!=(n=null!=(t=i.value)?t:e.defaultIndex)?n:null}),orientation:(0,g.Fl)(()=>e.vertical?"vertical":"horizontal"),activation:(0,g.Fl)(()=>e.manual?"manual":"auto"),tabs:o,panels:l,setSelectedIndex(e){u.value!==e&&r("change",e),s.value||c(e)},registerTab(e){var t;if(o.value.includes(e))return;let n=o.value[i.value];if(o.value.push(e),o.value=(0,tD.z2)(o.value,tT.v),!s.value){let e=null!=(t=o.value.indexOf(n))?t:i.value;-1!==e&&(i.value=e)}},unregisterTab(e){let t=o.value.indexOf(e);-1!==t&&o.value.splice(t,1)},registerPanel(e){l.value.includes(e)||(l.value.push(e),l.value=(0,tD.z2)(l.value,tT.v))},unregisterPanel(e){let t=l.value.indexOf(e);-1!==t&&l.value.splice(t,1)}};(0,g.JJ)(tM,d);let p=(0,v.iH)({tabs:[],panels:[]}),m=(0,v.iH)(!1);(0,g.bv)(()=>{m.value=!0}),(0,g.JJ)(tj,(0,g.Fl)(()=>m.value?null:p.value));let f=(0,g.Fl)(()=>e.selectedIndex);return(0,g.bv)(()=>{(0,g.YP)([f],()=>{var t;
4return c(null!=(t=e.selectedIndex)?t:e.defaultIndex)},{immediate:!0})}),(0,g.m0)(()=>{if(!s.value||null==u.value||d.tabs.value.length<=0)return;let e=(0,tD.z2)(d.tabs.value,tT.v);e.some((e,t)=>(0,tT.v)(d.tabs.value[t])!==(0,tT.v)(e))&&d.setSelectedIndex(e.findIndex(e=>(0,tT.v)(e)===(0,tT.v)(d.tabs.value[u.value])))}),()=>{let r={selectedIndex:i.value};return(0,g.h)(g.HY,[o.value.length<=0&&(0,g.h)(tE,{onFocus:()=>{for(let e of o.value){let t=(0,tT.v)(e);if((null==t?void 0:t.tabIndex)===0)return t.focus(),!0}return!1}}),(0,tI.sY)({theirProps:{...n,...(0,tI.CE)(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:r,slots:t,attrs:n,name:"TabGroup"})])}}}),tZ=(0,g.aZ)({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:n}){let r=tR("TabList");return()=>{let a={selectedIndex:r.selectedIndex.value},i={role:"tablist","aria-orientation":r.orientation.value};return(0,tI.sY)({ourProps:i,theirProps:e,slot:a,attrs:t,slots:n,name:"TabList"})}}}),tB=(0,g.aZ)({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var a;let i=null!=(a=e.id)?a:`headlessui-tabs-tab-${(0,tx.M)()}`,o=tR("Tab"),l=(0,v.iH)(null);r({el:l,$el:l}),(0,g.bv)(()=>o.registerTab(l)),(0,g.Ah)(()=>o.unregisterTab(l));let s=(0,g.f3)(tj),u=(0,g.Fl)(()=>
4{if(s.value){let e=s.value.tabs.indexOf(i);return -1===e?s.value.tabs.push(i)-1:e}return -1}),c=(0,g.Fl)(()=>{let e=o.tabs.value.indexOf(l);return -1===e?u.value:e}),d=(0,g.Fl)(()=>c.value===o.selectedIndex.value);function p(e){var t;let n=e();if(n===tD.fE.Success&&"auto"===o.activation.value){let e=null==(t=(0,tP.r)(l))?void 0:t.activeElement,n=o.tabs.value.findIndex(t=>(0,tT.v)(t)===e);-1!==n&&o.setSelectedIndex(n)}return n}function m(e){let t=o.tabs.value.map(e=>(0,tT.v)(e)).filter(Boolean);if(e.key===tA.R.Space||e.key===tA.R.Enter){e.preventDefault(),e.stopPropagation(),o.setSelectedIndex(c.value);return}switch(e.key){case tA.R.Home:case tA.R.PageUp:return e.preventDefault(),e.stopPropagation(),p(()=>(0,tD.jA)(t,tD.TO.First));case tA.R.End:case tA.R.PageDown:return e.preventDefault(),e.stopPropagation(),p(()=>(0,tD.jA)(t,tD.TO.Last))}if(p(()=>(0,tC.E)(o.orientation.value,{vertical:()=>e.key===tA.R.ArrowUp?(0,tD.jA)(t,tD.TO.Previous|tD.TO.WrapAround):e.key===tA.R.ArrowDown?(0,tD.jA)(t,tD.TO.Next|tD.TO.WrapAround):tD.fE.Error,horizontal:()=>e.key===tA.R.ArrowLeft?(0,tD.jA)(t,tD.TO.Previous|tD.TO.WrapAround):e.key===tA.R.ArrowRight?(0,tD.jA)(t,tD.TO.Next|tD.TO.WrapAround):tD.fE.Error}))===tD.fE.Success)return e.preventDefault()}let f=(0,v.iH)(!1);function h(){var t;f.value||(f.value=!0,e.disabled||(null==(t=(0,tT.v)(l))||t.focus({preventScroll:!0}),o.setSelectedIndex(c.value),(0,t$.Y)(()=>{f.value=!1})))}function y(e){e.preventDefault()}let b=(0,tS.f)((0,g.Fl)(()=>({as:e.as,type:t.type})),l);return()=>{var r,a;let s={selected:d.value,disabled:null!=(r=e.disabled)&&r},{...u}=e,p={ref:l,onKeydown:m,onMousedown:y,onClick:h,id:i,role:"tab",type:b.value,"aria-controls":null==(a=(0,tT.v)(o.panels.value[c.value]))?void 0:a.id,"aria-selected":d.value,tabIndex:d.value?0:-1,disabled:!!e.disabled||void 0};return(0,tI.sY)({ourProps:p,theirProps:u,slot:s,attrs:t,slots:n,name:"Tab"})}}}),tz=(0,g.aZ)({name:"TabPanels",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=tR("TabPanels");return()=>{let a={selectedIndex:r.selectedIndex.value};return(0,tI.sY)({theirProps:e,ourProps:{},slot:a,attrs:n,slots:t,name:"TabPanels"})}}}),tF=(0,g.aZ)({name:"TabPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null},tabIndex:{type:Number,default:0}},setup(e,{attrs:t,slots:n,expose:r}){var a;let i=null!=(a=e.id)?a:`headlessui-tabs-panel-${(0,tx.M)()}`,o=tR("TabPanel"),l=(0,v.iH)(null);r({el:l,$el:l}),(0,g.bv)(()=>o.registerPanel(l)),(0,g.Ah)(()=>o.unregisterPanel(l));let s=(0,g.f3)(tj),u=(0,g.Fl)(()=>
4{if(s.value){let e=s.value.panels.indexOf(i);return -1===e?s.value.panels.push(i)-1:e}return -1}),c=(0,g.Fl)(()=>{let e=o.panels.value.indexOf(l);return -1===e?u.value:e}),d=(0,g.Fl)(()=>c.value===o.selectedIndex.value);return()=>{var r;let a={selected:d.value},{tabIndex:s,...u}=e,p={ref:l,id:i,role:"tabpanel","aria-labelledby":null==(r=(0,tT.v)(o.tabs.value[c.value]))?void 0:r.id,tabIndex:d.value?s:-1};return d.value||!e.unmount||e.static?(0,tI.sY)({ourProps:p,theirProps:u,slot:a,attrs:t,slots:n,features:tI.AN.Static|tI.AN.RenderStrategy,visible:d.value,name:"TabPanel"}):(0,g.h)(t_._,{as:"span","aria-hidden":!0,...p})}}});var tQ=n(87989),tH={class:"min-w-0 flex-1 truncate"},tq=(0,g.aZ)({inheritAttrs:!1,__name:"ExamplePicker",props:(0,g.Vf)({examples:{default:()=>({})}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,g.tT)(e,"modelValue"),n=(0,g.Fl)(()=>Object.entries(e.examples).map(([e,t])=>({id:e,label:t?.summary??e}))),r=(0,g.Fl)({get:()=>n.value.find(({id:e})=>e===t.value),set:e=>t.value=e?.id??""});return(e,t)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(b.N1),{modelValue:r.value,"onUpdate:modelValue":t[0]||(t[0]=e=>r.value=e),class:"w-fit min-w-32",options:n.value,placement:"bottom-start",teleport:""},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.Xk),(0,g.dG)({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,g.w5)(()=>[(0,g._)("div",tH,(0,y.zw)(r.value?.label??"Select an example"),1),(0,g.Wm)((0,v.SU)(tQ.Z),{class:"ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})]),_:1},16)]),_:1},8,["modelValue","options"]))}}),tV=n(58233),tW=(e,t)=>{let n=t.toLowerCase();return e.label.toLowerCase().includes(n)||e.clientKey.toLowerCase().includes(n)||e.lang.toLowerCase().includes(n)},tX=(e,t)=>{let n=t.toLowerCase();return e.label.toLowerCase().includes(n)||e.key.toLowerCase().includes(n)},tY=(e,t,n)=>{if(""===e)return t;let r=e.toLowerCase(),a=n?n.filter(e=>e.label&&e.options.length>0).length:0;if(n&&a>1){let e=[];for(let t of n)tX(t,r)?e.push(...t.options):e.push(...t.options.filter(e=>tW(e,r)));return e}return t.filter(e=>tW(e,r))},tG=n(38917),tK=n(16854),tJ=n(67668),t0=n(10514),t1=n(81344),t2=n(37633),t4=(0,g.aZ)({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=(0,g.Fl)(()=>(0,t1.i)(String(e.method||""))),n=(0,g.Fl)(()=>(0,t2.f)(e.method));return(r,a)=>((0,g.wg)(),(0,g.j4)((0,g.LL)(e.as??"span"),{class:"uppercase",style:(0,y.j5)({[e.property||"color"]:t.value.colorVar})},{default:(0,g.w5)(()=>[(0,g.WI)(r.$slots,"default"),(0,g.Uk)(" "+(0,y.zw)(e.short?t.value.short:n.value),1)]),_:3},8,["style"]))}}),t8=n(46117),t6=n(44154),t3=n(63061),t5=n(92969);let t7=e=>{if(!e)return()=>null;let t=e.getBoundingClientRect().top,n=null,r=new MutationObserver(r=>{r.some(e=>"childList"===e.type||"attributes"===e.type&&("style"===e.attributeName||"class"===e.attributeName))&&(null!==n&&cancelAnimationFrame(n),n=requestAnimationFrame(()=>{let r=e.getBoundingClientRect().top;r!==t&&window.scrollBy(0,r-t),n=null}))});return r.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"],characterData:!1}),()=>{null!==n&&cancelAnimationFrame(n),r.disconnect()}};var t9=["innerHTML"],ne=["id"],nt={key:0,class:"request-card-footer-addon"},nn={class:"request-header"},nr=(0,g.aZ)({__name:"OperationCodeSample",props:(0,g.Vf)({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:{}},{selectedExample:{default:""},selectedExampleModifiers:{}}),emits:["update:selectedExample"],setup(e){let t=(0,g.Fl)(()=>{let t=u.n(e.operation.requestBody)?.content??{},n=e.selectedContentType||Object.keys(t)[0];return n?t[n]?.examples??{}:{}}),n=(0,g.tT)(e,"selectedExample");(0,g.wF)(()=>{n.value||=Object.keys(t.value)[0]??""}),(0,g.YP)(()=>e.selectedContentType,()=>{Object.keys(t.value).includes(n.value)||(n.value=Object.keys(t.value)[0]??"")});let r=(0,g.Fl)(()=>(0,t6.N)(e.operation)),a=(0,g.Fl)(()=>(0,t8.Z)(r.value,e.clientOptions)),i=(0,v.iH)((0,tG._l)(a.value,e.selectedClient));(0,g.YP)(()=>e.selectedClient,e=>{let t=(0,tG._l)(a.value,e);t&&(i.value=t)});let o=(0,g.Fl)(()=>
4{if(!e.isWebhook)return null;try{return(0,t0.c)({operation:e.operation,method:e.method,path:e.path,example:n.value,requestBodyCompositionSelection:e.requestBodyCompositionSelection,defaultDisabledParameters:!1})}catch(e){return console.error("[webhookHar]",e),null}}),l=(0,g.Fl)(()=>e.isWebhook?o.value?.postData?.text??"":(0,t5.L)({defaultDisabledParameters:!1,includeDefaultHeaders:"client"===e.integration,clientId:i.value?.id,customCodeSamples:r.value,operation:e.operation,method:e.method,path:e.path,contentType:e.selectedContentType,server:e.selectedServer,securitySchemes:e.securitySchemes,example:n.value,globalCookies:e.globalCookies,requestBodyCompositionSelection:e.requestBodyCompositionSelection})),s=(0,g.Fl)(()=>e.isWebhook?c.value:i.value?.lang),c=(0,g.Fl)(()=>{if(!o.value?.postData)return"json";let e=o.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"}),d=(0,g.Fl)(()=>(0,t3.i)(e.securitySchemes)),p=(0,v.iH)(null),m=t=>{if(p.value){let e=t7(p.value.$el);setTimeout(()=>{e()},300)}i.value=t,t&&!t.id.startsWith("custom")&&e.eventBus.emit("workspace:update:selected-client",t.id)},f=(0,g.Fl)(()=>(l.value.length??0)>2e4),h=(0,g.Me)();return(r,o)=>l.value?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.ZN),{key:0,ref_key:"elem",ref:p,class:"request-card dark-mode"},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.A_),{class:"pr-2.5"}
4,(0,g.Nv)({default:(0,g.w5)(()=>[o[2]||(o[2]=(0,g._)("span",{class:"sr-only"},"Request Example for",-1)),(0,g.Wm)(t4,{as:"span",class:"request-method",method:e.method},null,8,["method"]),e.generateLabel?((0,g.wg)(),(0,g.iD)("span",{key:0,innerHTML:e.generateLabel()},null,8,t9)):(0,g.kq)("",!0),(0,g.WI)(r.$slots,"header",{},void 0,!0)]),_:2},[!e.isWebhook&&a.value.length?{name:"actions",fn:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.nV),{class:"max-h-80",filterFn:(0,v.SU)(tY),modelValue:i.value,options:a.value,placement:"bottom-end",teleport:"","onUpdate:modelValue":o[0]||(o[0]=e=>m(e))},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.Xk),{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,g.w5)(()=>[(0,g.Uk)((0,y.zw)(i.value?.title)+" ",1),(0,g.Wm)((0,v.SU)(tQ.Z),{class:"ui-open:rotate-180 mt-px size-3 transition-transform duration-100",weight:"bold"})]),_:1})]),_:1},8,["filterFn","modelValue","options"])]),key:"0"}:void 0]),1024),(0,g.Wm)((0,v.SU)(b.US),{class:"request-editor-section custom-scroll p-0"},{default:(0,g.w5)(()=>[(0,g._)("div",{id:`${(0,v.SU)(h)}-example`,class:"code-snippet"},[f.value?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.NG),{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",lineHeight:20,text:l.value},null,8,["text"])):((0,g.wg)(),(0,g.j4)((0,v.SU)(b.LS),{key:0,class:"bg-b-2 h-full",content:l.value,hideCredentials:d.value,lang:s.value,lineNumbers:""},null,8,["content","hideCredentials","lang"]))],8,ne)]),_:1}),Object.keys(t.value).length>1||r.$slots.footer?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.r5),{key:0,class:"request-card-footer bg-b-3"},{default:(0,g.w5)(()=>[Object.keys(t.value).length>1?((0,g.wg)(),(0,g.iD)("div",nt,[Object.keys(t.value).length?((0,g.wg)(),(0,g.j4)(tq,{key:0,modelValue:n.value,"onUpdate:modelValue":o[1]||(o[1]=e=>n.value=e),examples:t.value},null,8,["modelValue","examples"])):(0,g.kq)("",!0)])):(0,g.kq)("",!0),(0,g.WI)(r.$slots,"footer",{exampleName:n.value},void 0,!0)]),_:3})):(0,g.kq)("",!0)]),_:3},512)):e.fallback?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.ZN),{key:1,class:"request-card dark-mode"},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.US),{class:"request-card-simple"},{default:(0,g.w5)(()=>[(0,g._)("div",nn,[(0,g.Wm)(t4,{as:"span",class:"request-method",method:e.method},null,8,["method"]),(0,g.WI)(r.$slots,"header",{},void 0,!0)]),(0,g.WI)(r.$slots,"footer",{exampleName:n.value},void 0,!0)]),_:3})]),_:3})):(0,g.kq)("",!0)}}),na=(0,tJ.Z)(nr,[["__scopeId","data-v-59da314d"]]),ni={class:"client-libraries-text"},no={"aria-hidden":"true",class:"client-libraries-icon__more"},nl={key:1,class:"client-libraries-icon",height:"50",role:"presentation",viewBox:"0 0 50 50",width:"50",xmlns:"http://www.w3.org/2000/svg"},ns={key:0,class:"client-libraries-text client-libraries-text-more"},nu=l((0,g.aZ)({__name:"ClientDropdown",props:{clientOptions:{},selectedClient:{},featuredClients:{},eventBus:{}},setup(e){let t=(0,v.iH)(),n=e=>`programming-language-${"js"===e?"javascript":e}`,r=n=>{if(!t.value)return;let r=t7(t.value);setTimeout(()=>{r()},300),"custom"!==n.clientKey&&e.eventBus.emit("workspace:update:selected-client",n.id)},a=(0,g.Fl)(()=>e.selectedClient?.split("/")[0]);return(i,o)=>((0,g.wg)(),(0,g.iD)("div",{ref_key:"containerRef",ref:t,class:"client-libraries-content"},[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(e.featuredClients,t=>((0,g.wg)(),(0,g.j4)((0,v.SU)(tB),{key:t.clientKey,class:(0,y.C_)(["client-libraries rendered-code-sdks",{"client-libraries__active":t.id===e.selectedClient}])},{default:(0,g.w5)(()=>[(0,g._)("div",{class:(0,y.C_)(`client-libraries-icon__${t.targetKey}`)},[(0,g.Wm)((0,v.SU)(b.sN),{class:"client-libraries-icon",icon:n(t.targetKey)},null,8,["icon"])],2),(0,g._)("span",ni,(0,y.zw)(t.targetTitle),1)]),_:2},1032,["class"]))),128)),(0,g.Wm)((0,v.SU)(b.nV),{filterFn:(0,v.SU)(tY),modelValue:(0,v.SU)(tG._l)(e.clientOptions,e.selectedClient),options:e.clientOptions,placement:"bottom-end",teleport:"","onUpdate:modelValue":o[0]||(o[0]=e=>r(e))},{default:(0,g.w5)(()=>
4[(0,g._)("button",{class:(0,y.C_)(["client-libraries client-libraries__select",{"client-libraries__active":e.selectedClient&&!(0,v.SU)(tw)(e.selectedClient)}]),type:"button"},[(0,g._)("div",no,[e.selectedClient&&!(0,v.SU)(tw)(e.selectedClient)?((0,g.wg)(),(0,g.iD)("div",{key:0,class:(0,y.C_)(`client-libraries-icon__${a.value}`)},[a.value?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.sN),{key:0,class:"client-libraries-icon",icon:n(a.value)},null,8,["icon"])):(0,g.kq)("",!0)],2)):((0,g.wg)(),(0,g.iD)("svg",nl,[...o[1]||(o[1]=[(0,g._)("g",{fill:"currentColor","fill-rule":"nonzero"},[(0,g._)("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,g.wg)(),(0,g.iD)("span",ns," More ")):(0,g.kq)("",!0),o[2]||(o[2]=(0,g._)("span",{class:"sr-only"},"Select from all clients",-1))],2)]),_:1},8,["filterFn","modelValue","options"])],512))}}),[["__scopeId","data-v-75d206b8"]]),nc={key:0,ref:"wrapper-ref"},nd=["id"],np={key:1,class:"selected-client card-footer border-t-0 p-0",role:"tabpanel",tabindex:"1"},nm=["id"],nf=l((0,g.aZ)({__name:"ClientSelector",props:{xScalarSdkInstallation:{},clientOptions:{},selectedClient:{default:()=>tG.CT},eventBus:{}},setup(e,{expose:t}){let n=(0,g.Me)(),r=(0,g.Me)(),a=(0,g.Fl)(()=>e.clientOptions.flatMap(t=>t.options.find(t=>t.id===e.selectedClient)??[])[0]),i=(0,g.Fl)(()=>tk(e.clientOptions)),o=(0,g.Fl)(()=>i.value.findIndex(t=>e.selectedClient===t.id)),l=(0,g.AE)("wrapper-ref"),s=t=>{let n=i.value[t];n&&l.value&&e.eventBus.emit("workspace:update:selected-client",n.id)},u=(0,g.Fl)(()=>
4{if(!Array.isArray(e.xScalarSdkInstallation)||!e.xScalarSdkInstallation?.length)return;let t=e.xScalarSdkInstallation.find(t=>{let n=e.selectedClient?.split("/")[0]?.toLowerCase();return t.lang.toLowerCase()===n});if(t)return t});return t({selectedClientOption:a}),(t,l)=>e.clientOptions.length?((0,g.wg)(),(0,g.iD)("div",nc,[(0,g.Wm)((0,v.SU)(tL),{manual:"",selectedIndex:o.value,onChange:s},{default:(0,g.w5)(()=>[(0,g._)("div",{id:(0,v.SU)(n),class:"client-libraries-heading"}," Client Libraries ",8,nd),(0,g.Wm)((0,v.SU)(tZ),{"aria-labelledby":(0,v.SU)(n),class:"client-libraries-list"},{default:(0,g.w5)(()=>[(0,g.Wm)(nu,{clientOptions:e.clientOptions,eventBus:e.eventBus,featuredClients:i.value,morePanel:(0,v.SU)(r),selectedClient:e.selectedClient},null,8,["clientOptions","eventBus","featuredClients","morePanel","selectedClient"])]),_:1},8,["aria-labelledby"]),(0,g.Wm)((0,v.SU)(tz),null,{default:(0,g.w5)(()=>[u.value?.source||u.value?.description?((0,g.wg)(),(0,g.iD)(g.HY,{key:0},[u.value.description?((0,g.wg)(),(0,g.iD)("div",{key:0,class:(0,y.C_)(["selected-client card-footer -outline-offset-2",u.value.source&&"rounded-b-none"]),role:"tabpanel",tabindex:"0"},[(0,g.Wm)((0,v.SU)(b.eV),{value:u.value.description},null,8,["value"])],2)):(0,g.kq)("",!0),u.value.source?((0,g.wg)(),(0,g.iD)("div",np,[(0,g.Wm)((0,v.SU)(b.LS),{class:"rounded-b-lg *:first:p-3",content:u.value.source,copy:"always",lang:"shell"},null,8,["content"])])):(0,g.kq)("",!0)],64)):(0,v.SU)(tw)(e.selectedClient)?((0,g.wg)(!0),(0,g.iD)(g.HY,{key:1},(0,g.Ko)(i.value,e=>((0,g.wg)(),(0,g.j4)((0,v.SU)(tF),{key:e.id,class:"selected-client card-footer -outline-offset-2"},{default:(0,g.w5)(()=>
4[(0,g.Uk)((0,y.zw)(e.title),1)]),_:2},1024))),128)):((0,g.wg)(),(0,g.iD)("div",{key:2,id:(0,v.SU)(r),class:"selected-client card-footer -outline-offset-2",role:"tabpanel",tabindex:"0"},(0,y.zw)(a.value?.title),9,nm))]),_:1})]),_:1},8,["selectedIndex"])],512)):(0,g.kq)("",!0)}}),[["__scopeId","data-v-c6251633"]]),nh=e=>e?Object.fromEntries(Object.entries(e).filter(([e])=>e.startsWith("x-"))):{},ng=l((0,g.aZ)({__name:"Badge",props:{color:{}},setup(e){let t=(0,g.Fl)(()=>e.color?{"--badge-background-color":e.color,"--badge-text-color":`color-mix(in srgb, ${e.color}, black 40%)`}:{});return(e,n)=>((0,g.wg)(),(0,g.iD)("div",{class:"badge",style:(0,y.j5)(t.value)},[(0,g.WI)(e.$slots,"default",{},void 0,!0)],4))}}),[["__scopeId","data-v-3dedb7e4"]]),nv=["href"],ny=l((0,g.aZ)({__name:"DownloadLink",props:{documentDownloadType:{},eventBus:{},documentUrl:{}},setup(e){let t=t=>{e.eventBus.emit("ui:download:document",{format:t})};return(n,r)=>["yaml","json","both"].includes(e.documentDownloadType)||"direct"===e.documentDownloadType&&e.documentUrl?((0,g.wg)(),(0,g.iD)("div",{key:0,class:(0,y.C_)(["download-container group",{"download-both":"both"===e.documentDownloadType}])},["direct"===e.documentDownloadType&&e.documentUrl?((0,g.wg)(),(0,g.iD)("a",{key:0,class:"download-link download-button",href:e.documentUrl},[...r[2]||(r[2]=[(0,g._)("span",null," Download OpenAPI Document ",-1)])],8,nv)):(0,g.kq)("",!0),"json"===e.documentDownloadType||"both"===e.documentDownloadType?((0,g.wg)(),(0,g.iD)("button",{key:1,class:"download-button",type:"button",onClick:r[0]||(r[0]=(0,ee.iM)(()=>t("json"),["prevent"]))},[r[4]||(r[4]=(0,g._)("span",null," Download OpenAPI Document ",-1)),(0,g.Wm)(ng,{class:"extension hidden group-hover:flex"},{default:(0,g.w5)(()=>[...r[3]||(r[3]=[(0,g.Uk)("json",-1)])]),_:1})])):(0,g.kq)("",!0),"yaml"===e.documentDownloadType||"both"===e.documentDownloadType?((0,g.wg)(),(0,g.iD)("button",{key:2,class:"download-button",type:"button",onClick:r[1]||(r[1]=(0,ee.iM)(()=>t("yaml"),["prevent"]))},[r[6]||(r[6]=(0,g._)("span",null," Download OpenAPI Document ",-1)),(0,g.Wm)(ng,{class:"extension hidden group-hover:flex"},{default:(0,g.w5)(()=>[...r[5]||(r[5]=[(0,g.Uk)("yaml",-1)])]),_:1})])):(0,g.kq)("",!0)],2)):(0,g.kq)("",!0)}}),[["__scopeId","data-v-95e980e1"]]),nb=l((0,g.aZ)({__name:"IntroductionCard",props:{row:{type:Boolean}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.iD)("div",{class:(0,y.C_)(["introduction-card",{"introduction-card-row":e.row}])},[(0,g.WI)(t.$slots,"default",{},void 0,!0)],2))}),[["__scopeId","data-v-5764c94a"]]),nO=l((0,g.aZ)({__name:"Section",emits:["intersecting"],setup(e,{emit:t}){let n=(0,g.AE)("section");return eM(n,()=>t("intersecting")),(e,t)=>((0,g.wg)(),(0,g.iD)("section",{ref_key:"section",ref:n,class:"section"},[(0,g.WI)(e.$slots,"default",{},void 0,!0)],512))}}),[["__scopeId","data-v-be4443e9"]]),nw={class:"section-column"},nk=l({},[["render",function(e,t){return(0,g.wg)(),(0,g.iD)("div",nw,[(0,g.WI)(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-699c28e3"]]),nx={class:"section-columns"},nS=l({},[["render",function(e,t){return(0,g.wg)(),(0,g.iD)("div",nx,[(0,g.WI)(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-8b9602bf"]]),n_={key:1,class:"section-container"},nE=l((0,g.aZ)({__name:"SectionContainer",props:{omit:{type:Boolean}},setup:e=>(t,n)=>e.omit?(0,g.WI)(t.$slots,"default",{key:0},void 0,!0):((0,g.wg)(),(0,g.iD)("div",n_,[(0,g.WI)(t.$slots,"default",{},void 0,!0)]))}),[["__scopeId","data-v-20a1472a"]]),nA=l((0,g.aZ)({__name:"LoadingSkeleton",props:{lines:{default:1}},setup:e=>(t,n)=>((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)([...Array(e.lines).keys()],t=>((0,g.wg)(),(0,g.iD)("div",{key:t,class:(0,y.C_)(["loading",{"single-line":1===e.lines}])},null,2))),128))}),[["__scopeId","data-v-8e0226d7"]]),nT={class:"section-content"},nD=l((0,g.aZ)({__name:"SectionContent",props:{loading:{type:Boolean,default:!1}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.iD)("div",nT,[e.loading?((0,g.wg)(),(0,g.j4)(nA,{key:1,lines:8})):(0,g.WI)(t.$slots,"default",{key:0},void 0,!0)]))}),[["__scopeId","data-v-9735459e"]]),nC={class:"section-header-wrapper xl:gap-12"},n$=l((0,g.aZ)({__name:"SectionHeader",props:{loading:{type:Boolean},tight:{type:Boolean}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.iD)("div",nC,[e.loading?((0,g.wg)(),(0,g.j4)(nA,{key:0}
4)):((0,g.wg)(),(0,g.iD)("div",{key:1,class:(0,y.C_)(["section-header",{tight:e.tight}])},[(0,g.WI)(t.$slots,"default",{},void 0,!0)],2)),t.$slots.links?(0,g.WI)(t.$slots,"links",{key:2},void 0,!0):(0,g.kq)("",!0)]))}),[["__scopeId","data-v-465a7a78"]]),nP=l((0,g.aZ)({__name:"SectionHeaderTag",props:{level:{default:1}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.j4)((0,g.LL)(`h${e.level}`),{class:"section-header-label"},{default:(0,g.w5)(()=>[(0,g.WI)(t.$slots,"default",{},void 0,!0)]),_:3}))}),[["__scopeId","data-v-f1ac6c38"]]),nI={key:0,class:"text-base"},nN=(0,g.aZ)({__name:"SpecificationExtension",props:{value:{}},setup(e){let{getSpecificationExtensions:t}=eL(),n=(0,g.Fl)(()=>Object.keys(e.value??{}).filter(e=>e.startsWith("x-"))),r=(0,g.Fl)(()=>n.value.flatMap(e=>t(e)).filter(e=>e.component));return(t,n)=>"object"==typeof e.value&&r.value.length?((0,g.wg)(),(0,g.iD)("div",nI,[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(r.value,t=>((0,g.wg)(),(0,g.j4)((0,v.SU)(b.Zf),null,{default:(0,g.w5)(()=>[t.renderer?((0,g.wg)(),(0,g.j4)((0,g.LL)(t.renderer),(0,g.dG)({key:0,ref_for:!0},{[t.name]:e.value?.[t.name],component:t.component}),null,16)):((0,g.wg)(),(0,g.j4)((0,g.LL)(t.component),(0,g.dG)({key:1,ref_for:!0},{[t.name]:e.value?.[t.name]}),null,16))]),_:2},1024))),256))])):(0,g.kq)("",!0)}}),nU=["id"],nM=(0,g.aZ)({__name:"InfoMarkdownSection",props:{id:{},content:{},transformHeading:{type:Function},eventBus:{}},setup(e){let t=(0,g.AE)("element");return eM(t,()=>e.id?e.eventBus?.emit("intersecting:nav-item",{id:e.id}):void 0),(n,r)=>((0,g.wg)(),(0,g.iD)("div",{id:e.id,ref_key:"element",ref:t,class:"introduction-description-heading scroll-mt-16"},[(0,g.Wm)((0,v.SU)(b.eV),{transform:e.transformHeading,transformType:"heading",value:e.content,withImages:""},null,8,["transform","value"])],8,nU))}}),nR=n(79709),nj=n(98144),nL={key:0,class:"introduction-description mt-6 flex flex-col"},nZ=l((0,g.aZ)({__name:"InfoDescription",props:{eventBus:{},headingSlugGenerator:{type:Function},description:{}},setup(e){let t=(0,g.Fl)(()=>
4{if(!e.description)return[];let t=new nj.Z;return(0,nR.zi)(e.description).map(n=>{let r=(0,nR.o3)(n)[0];return{id:r?e.headingSlugGenerator({...r,slug:t.slug(r.value)}):void 0,content:n}})}),n=t=>{if(!(0,nR.Xy)(t))return t;let n=new nj.Z,r=(0,nR.sV)(t);return t.data={hProperties:{id:e.headingSlugGenerator({depth:t.depth,value:r,slug:n.slug(r)})}},t};return(r,a)=>e.description?((0,g.wg)(),(0,g.iD)("div",nL,[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(t.value,t=>((0,g.wg)(),(0,g.j4)(nM,{id:t.id,key:t.id,content:t.content,eventBus:e.eventBus,transformHeading:n},null,8,["id","content","eventBus"]))),128))])):(0,g.kq)("",!0)}}),[["__scopeId","data-v-5065bb4a"]]),nB=l((0,g.aZ)({__name:"LinkList",setup(e){let t=(0,v.iH)(),n=(0,v.iH)(!1),r=()=>{if(!t.value)return;let{scrollWidth:e,clientWidth:r}=t.value;n.value=e>r},a=null;return(0,g.bv)(()=>{r(),window.addEventListener("resize",r),t.value&&(a=new MutationObserver(()=>{r()})).observe(t.value,{childList:!0,subtree:!0})}),(0,g.Ah)(()=>{window.removeEventListener("resize",r),a&&(a.disconnect(),a=null)}),(e,r)=>((0,g.wg)(),(0,g.iD)("div",{ref_key:"containerRef",ref:t,class:(0,y.C_)([{"icons-only":n.value},"custom-scroll mb-3 flex h-auto min-h-8 max-w-full items-center gap-2 overflow-x-auto text-base whitespace-nowrap xl:mb-1.5"])},[(0,g.WI)(e.$slots,"default",{},void 0,!0)],2))}}),[["__scopeId","data-v-b59b0acf"]]),nz=n(62647),nF={key:0,class:"group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto"},nQ=["href"],nH={key:0,class:"ml-1 empty:hidden"},nq={key:1,class:"ml-1 empty:hidden"},nV=(0,g.aZ)({__name:"ExternalDocs",props:{value:{}},setup:e=>(t,n)=>e.value?((0,g.wg)(),(0,g.iD)("div",nF,[(0,g._)("a",{href:e.value.url,class:"text-c-1 hover:bg-b-2 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 no-underline group-last:mr-0 xl:border-none",target:"_blank",rel:"noopener noreferrer"},[(0,g.Wm)((0,v.SU)(nz.Z),{weight:"bold",class:"size-3 text-current"}),e.value.description?((0,g.wg)(),(0,g.iD)("span",nH,(0,y.zw)(e.value.description),1)):((0,g.wg)(),(0,g.iD)("span",nq,(0,y.zw)(e.value.url),1))],8,nQ)])):(0,g.kq)("",!0)}),nW=n(63684),nX={key:0,class:"group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto"},nY=["href"],nG={class:"ml-1 empty:hidden"},nK=(0,g.aZ)({__name:"Contact",props:{value:{}},setup(e){let t=(0,b.jS)({base:"text-c-1 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 group-last:mr-0 xl:border-none",variants:{link:{true:"no-underline hover:bg-b-2"}}});return(n,r)=>e.value?((0,g.wg)(),(0,g.iD)("div",nX,[e.value?.email?((0,g.wg)(),(0,g.iD)("a",{key:0,class:(0,y.C_)((0,v.SU)(t)({link:!0})),href:`mailto:${e.value?.email}`},[(0,g.Wm)((0,v.SU)(nW.Z),{weight:"bold",class:"size-3 text-current"}),(0,g._)("span",nG,(0,y.zw)(e.value.name),1)],10,nY)):e.value?.name?((0,g.wg)(),(0,g.iD)("span",{key:1,class:(0,y.C_)((0,v.SU)(t)({link:!1}))},(0,y.zw)(e.value.name),3)):(0,g.kq)("",!0)])):(0,g.kq)("",!0)}}),nJ={key:0},n0={key:1},n1={key:2},n2={key:3},n4={key:4},n8={key:5},n6=(0,g.aZ)({name:"ScalarIconGavel",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,w.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,v.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",nJ,[...r[0]||(r[0]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",n0,[...r[1]||(r[1]=[(0,g._)("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,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",n1,[...r[2]||(r[2]=[(0,g._)("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,
416,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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",n2,[...r[3]||(r[3]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",n4,[...r[4]||(r[4]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",n8,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),n3={class:"group flex h-fit items-center last:border-r-0 xl:border-r xl:first:ml-auto"},n5=["href"],n7={class:"ml-1 empty:hidden"},n9={class:"ml-1 empty:hidden"},re=(0,g.aZ)({__name:"License",props:{value:{}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.iD)("div",n3,[e.value?.url?((0,g.wg)(),(0,g.iD)("a",{key:0,class:"text-c-1 hover:bg-b-2 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 no-underline group-last:mr-0 xl:border-none",href:e.value.url,target:"_blank",rel:"noopener noreferrer"},[(0,g.Wm)((0,v.SU)(n6),{weight:"bold",class:"size-3 text-current"}),(0,g._)("span",n7,(0,y.zw)(e.value?.name||e.value.identifier||e.value.url),1)],8,n5)):((0,g.wg)(),(0,g.iD)(g.HY,{key:1},[(0,g.Wm)((0,v.SU)(n6),{weight:"bold",class:"size-3 text-current"}),(0,g._)("span",n9,(0,y.zw)(e.value?.name),1)],64))]))}),rt={key:0},rn={key:1},rr={key:2},ra={key:3},ri={key:4},ro={key:5},rl=(0,g.aZ)({name:"ScalarIconScroll",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,w.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,v.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",rt,[...r[0]||(r[0]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",rn,[...r[1]||(r[1]=[(0,g._)("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,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",rr,[...r[2]||(r[2]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",ra,[...r[3]||(r[3]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",ri,[...r[4]||(r[4]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",ro,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),rs={key:0,class:"group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto"},ru=["href"],rc=(0,g.aZ)({__name:"TermsOfService",props:{value:{}},setup:e=>(t,n)=>e.value?((0,g.wg)(),(0,g.iD)("div",rs,[(0,g._)("a",{class:"text-c-1 hover:bg-b-2 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 no-underline group-last:mr-0 xl:border-none",href:e.value,target:"_blank",rel:"noopener noreferrer"},[(0,g.Wm)((0,v.SU)(rl),{weight:"bold",class:"size-3 text-current"}),n[0]||(n[0]=(0,g._)("span",{class:"ml-1 empty:hidden"},"Terms of Service",-1))],8,ru)])):(0,g.kq)("",!0)}),rd=(0,g.aZ)({__name:"InfoLinks",props:{info:{},externalDocs:{}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(nB),null,{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nV),{value:e.externalDocs},null,8,["value"]),e.info.contact?((0,g.wg)(),(0,g.j4)((0,v.SU)(nK),{key:0,value:e.info.contact},null,8,["value"])):(0,g.kq)("",!0),e.info.license?((0,g.wg)(),(0,g.j4)((0,v.SU)(re),{key:1,value:e.info.license},null,8,["value"])):(0,g.kq)("",!0),e.info.termsOfService?((0,g.wg)(),(0,g.j4)((0,v.SU)(rc),{key:2,value:e.info.termsOfService},null,8,["value"])):(0,g.kq)("",!0)]),_:1}))}),rp=(0,g.aZ)({__name:"InfoVersion",props:{version:{}},setup(e){let t=(0,g.Fl)(()=>
4{if(null==e.version)return e.version;let t=String(e.version);return/^\d/.test(t)?`v${t}`:t});return(e,n)=>t.value?((0,g.wg)(),(0,g.j4)((0,v.SU)(ng),{key:0},{default:(0,g.w5)(()=>[(0,g.Uk)((0,y.zw)(t.value),1)]),_:1})):(0,g.kq)("",!0)}}),rm=(0,g.aZ)({__name:"OpenApiVersion",props:{oasVersion:{}},setup:e=>(t,n)=>e.oasVersion?((0,g.wg)(),(0,g.j4)((0,v.SU)(ng),{key:0},{default:(0,g.w5)(()=>[(0,g.Uk)("OAS "+(0,y.zw)(e.oasVersion),1)]),_:1})):(0,g.kq)("",!0)}),rf={class:"flex gap-1.5"},rh={class:"sticky-cards"},rg=l((0,g.aZ)({__name:"IntroductionLayout",props:{id:{},oasVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},headingSlugGenerator:{type:Function},eventBus:{}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(nE),null,{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nO),{id:e.id,"aria-label":"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,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nD),{loading:!e.info},{default:(0,g.w5)(()=>[(0,g._)("div",rf,[e.info?((0,g.wg)(),(0,g.j4)(rp,{key:0,version:e.info?.version},null,8,["version"])):(0,g.kq)("",!0),(0,g.Wm)(rm,{oasVersion:e.oasVersion},null,8,["oasVersion"])]),(0,g.Wm)((0,v.SU)(n$),{loading:!e.info?.title,tight:""},{links:(0,g.w5)(()=>[e.info?((0,g.wg)(),(0,g.j4)(rd,{key:0,externalDocs:e.externalDocs,info:e.info},null,8,["externalDocs","info"])):(0,g.kq)("",!0)]),default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nP),{level:1},{default:(0,g.w5)(()=>[(0,g.Uk)((0,y.zw)(e.info?.title),1)]),_:1})]),_:1},8,["loading"]),(0,g.Wm)((0,v.SU)(nS),null,{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nk),null,{default:(0,g.w5)(()=>[(0,g.WI)(t.$slots,"download-link",{},void 0,!0),(0,g.Wm)(nZ,{description:e.info?.description,eventBus:e.eventBus,headingSlugGenerator:e.headingSlugGenerator},null,8,["description","eventBus","headingSlugGenerator"])]),_:3}),t.$slots.aside?((0,g.wg)(),(0,g.j4)((0,v.SU)(nk),{key:0},{default:(0,g.w5)(()=>[(0,g._)("div",rh,[(0,g.WI)(t.$slots,"aside",{},void 0,!0)])]),_:3})):(0,g.kq)("",!0)]),_:3}),(0,g.Wm)((0,v.SU)(nN),{value:e.documentExtensions},null,8,["value"]),(0,g.Wm)((0,v.SU)(nN),{value:e.infoExtensions},null,8,["value"])]),_:3},8,["loading"]),(0,g.WI)(t.$slots,"after",{},void 0,!0)]),_:3},8,["id"])]),_:3}))}),[["__scopeId","data-v-0b1e2255"]]),rv=(0,g.aZ)({__name:"InfoBlock",props:{id:{},oasVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},eventBus:{},headingSlugGenerator:{type:Function},layout:{},documentDownloadType:{default:"both"},documentUrl:{}},setup(e){let t=(0,g.Fl)(()=>"classic"===e.layout?"after":"aside");return(n,r)=>((0,g.wg)(),(0,g.j4)(rg,{id:e.id,documentExtensions:e.documentExtensions,eventBus:e.eventBus,externalDocs:e.externalDocs,headingSlugGenerator:e.headingSlugGenerator,info:e.info,infoExtensions:e.infoExtensions,oasVersion:e.oasVersion},{[t.value]:(0,g.w5)(()=>[(0,g.Wm)(nb,{row:"classic"===e.layout},{default:(0,g.w5)(()=>[(0,g.WI)(n.$slots,"selectors")]),_:3},8,["row"])]),"download-link":(0,g.w5)(()=>[(0,g.Wm)(ny,{documentDownloadType:e.documentDownloadType,documentUrl:e.documentUrl,eventBus:e.eventBus},null,8,["documentDownloadType","documentUrl","eventBus"])]),_:2},1032,["id","documentExtensions","eventBus","externalDocs","headingSlugGenerator","info","infoExtensions","oasVersion"]))}}),ry={class:"introduction-card-item"},rb=l({},[["render",function(e,t){return(0,g.wg)(),(0,g.iD)("div",ry,[(0,g.WI)(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-dfab866f"]]),rO={class:"overflow-x-auto"},rw={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"},rk={class:"overflow-x-auto"},rx=(0,g.aZ)({__name:"Selector",props:{selectedServer:{},servers:{},target:{}},emits:["update:modelValue"],setup(e,{expose:t,emit:n}){let r=(0,g.Fl)(()=>e.servers.map(e=>({id:e.url,label:e.url}))),a=(0,g.Fl)(()=>e.selectedServer?.url?.replace(/\/$/,"")||""),i=(0,g.Fl)(()=>r.value.find(t=>t.id===e.selectedServer?.url));return t({servers:e.servers,serverUrlWithoutTrailingSlash:a,serverOptions:r,selectedServer:e.selectedServer}),(t,o)=>r.value.length>1?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.N1),{key:0,ref:"elem",class:"group",modelValue:i.value,options:r.value,placement:"bottom-start",resize:"",target:e.target,"onUpdate:modelValue":o[0]||(o[0]=e=>n("update:modelValue",e.id))},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.Xk),{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,g.w5)(()=>[o[1]||(o[1]=(0,g._)("span",{class:"sr-only"},"Server:",-1)),(0,g._)("span",rO,(0,y.zw)(a.value||"Select a server"),1),(0,g.Wm)((0,v.SU)(tQ.Z),{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,g.wg)(),(0,g.iD)("div",rw,[o[2]||(o[2]=(0,g._)("span",{class:"sr-only"},"Server:",-1)),(0,g._)("span",rk,(0,y.zw)(a.value),1)]))}}),rS=n(61349),r_=["id"],rE=(0,g.aZ)({__name:"ServerSelector",props:{eventBus:{},selectedServer:{},servers:{}},setup(e){let t=(0,g.Me)(),n=t=>{e.eventBus.emit("server:update:selected",{url:e.selectedServer?.url===t?"":t,meta:{type:"document"}})},r=(t,n)=>{let r=e.servers.findIndex(t=>t.url===e.selectedServer?.url);-1!==r&&e.eventBus.emit("server:update:variables",{index:r,key:t,value:n,meta:{type:"document"}})};return(a,i)=>((0,g.wg)(),(0,g.iD)(g.HY,null,[i[0]||(i[0]=(0,g._)("label",{class:"bg-b-2 flex h-8 items-center rounded-t-xl border-x border-t px-3 py-2.5 font-medium"}
4," Server ",-1)),(0,g._)("div",{id:(0,v.SU)(t),class:(0,y.C_)(["border",{"rounded-b-xl":!e.selectedServer?.description&&!e.selectedServer?.variables}])},[e.servers.length?((0,g.wg)(),(0,g.j4)(rx,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:(0,v.SU)(t),"onUpdate:modelValue":n},null,8,["selectedServer","servers","target"])):(0,g.kq)("",!0)],10,r_),(0,g.Wm)((0,v.SU)(rS.g),{layout:"reference",variables:e.selectedServer?.variables,"onUpdate:variable":r},null,8,["variables"]),e.selectedServer?.description?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.eV),{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,g.kq)("",!0)],64))}}),rA=n(31276),rT=(0,g.aZ)({__name:"Auth",props:{options:{},authStore:{},document:{},eventBus:{},securitySchemes:{},selectedServer:{},environment:{}},setup(e){let t=(0,g.Fl)(()=>(0,f.A6)(e.document?.security)),n=(0,g.Fl)(()=>e.authStore.getAuthSelectedSchemas({type:"document",documentName:e.document?.["x-scalar-navigation"]?.name??""})),r=(0,g.Fl)(()=>(0,f.Yg)(n.value,void 0,t.value,e.securitySchemes,e.options.authentication?.preferredSecurityScheme));return(n,a)=>Object.keys(e.securitySchemes).length?((0,g.wg)(),(0,g.j4)((0,v.SU)(rA.L),{key:0,createAnySecurityScheme:e.options.authentication?.createAnySecurityScheme??!1,environment:e.environment,eventBus:e.eventBus,isStatic:"",layout:"reference",meta:{type:"document"},persistAuth:e.options.persistAuth,proxyUrl:e.options.proxyUrl??"",securityRequirements:t.value,securitySchemes:e.securitySchemes,selectedSecurity:r.value,server:e.selectedServer,title:"Authentication"},null,8,["createAnySecurityScheme","environment","eventBus","persistAuth","proxyUrl","securityRequirements","securitySchemes","selectedSecurity","server"])):(0,g.kq)("",!0)}}),rD=n(67413),rC=n(72794),r$={class:"section-accordion-button-content"},rP={key:0,class:"section-accordion-button-actions"},rI={key:0,class:"section-accordion-description"},rN={class:"section-accordion-content-card"},rU=l((0,g.aZ)({__name:"SectionAccordion",props:{transparent:{type:Boolean},modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){let n=(0,v.iH)(),r=(0,eU.N4s)(n);return(a,i)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(rD.pJ),{as:"section",class:(0,y.C_)(["section-accordion",{"section-accordion-transparent":e.transparent}])},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(rD.lG),{ref_key:"button",ref:n,class:"section-accordion-button",onClick:i[0]||(i[0]=()=>t("update:modelValue",!e.modelValue))},{default:(0,g.w5)(()=>[(0,g._)("div",r$,[(0,g.WI)(a.$slots,"title",{},void 0,!0)]),a.$slots.actions?((0,g.wg)(),(0,g.iD)("div",rP,[(0,g.WI)(a.$slots,"actions",{active:(0,v.SU)(r)||e.modelValue},void 0,!0)])):(0,g.kq)("",!0),(0,g.Wm)((0,v.SU)(rC.Z),{class:(0,y.C_)(["section-accordion-chevron size-4.5 transition-transform",{"rotate-90":e.modelValue}])},null,8,["class"])]),_:3},512),e.modelValue?((0,g.wg)(),(0,g.j4)((0,v.SU)(rD.V2),{key:0,class:"section-accordion-content",static:""},{default:(0,g.w5)(()=>[a.$slots.description?((0,g.wg)(),(0,g.iD)("div",rI,[(0,g.WI)(a.$slots,"description",{},void 0,!0)])):(0,g.kq)("",!0),(0,g._)("div",rN,[(0,g.WI)(a.$slots,"default",{},void 0,!0)])]),_:3})):(0,g.kq)("",!0)]),_:3},8,["class"]))}}),[["__scopeId","data-v-ff689b94"]]),rM={key:0,class:"screenreader-only"},rR=l((0,g.aZ)({__name:"ScreenReader",props:{if:{type:Boolean,default:!0}},setup:e=>(e,t)=>e.$props.if?((0,g.wg)(),(0,g.iD)("span",rM,[(0,g.WI)(e.$slots,"default",{},void 0,!0)])):(0,g.WI)(e.$slots,"default",{key:1},void 0,!0)}),[["__scopeId","data-v-df2e1026"]]),rj={key:0},rL={key:1},rZ={key:2},rB={key:3},rz={key:4},rF={key:5},rQ=(0,g.aZ)({name:"ScalarIconHash",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,w.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,v.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",rj,[...r[0]||(r[0]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",rL,[...r[1]||(r[1]=[(0,g._)("path",{d:"M165.82,96l-11.64,64h-64l11.64-64Z",opacity:"0.2"},null,-1),(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",rZ,[...r[2]||(r[2]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",rB,[...r[3]||(r[3]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",rz,[...r[4]||(r[4]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",rF,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),rH=["id"],rq={class:"relative"},rV=(0,g.aZ)({__name:"Anchor",emits:["copyAnchorUrl"],setup(e,{emit:t}){let n=(0,g.Me)(),{cx:r}=(0,b.li)();return(e,a)=>((0,g.wg)(),(0,g.iD)("span",(0,y.vs)((0,g.F4)((0,v.SU)(r)("group/heading word-break-all relative"))),[(0,g._)("span",{id:(0,v.SU)(n),class:"contents"},[(0,g.WI)(e.$slots,"default")],8,rH),(0,g._)("span",rq,[a[2]||(a[2]=(0,g._)("span",null,"â",-1)),(0,g.Wm)((0,v.SU)(b.Xk),{"aria-describedby":(0,v.SU)(n),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:a[0]||(a[0]=(0,ee.iM)(()=>t("copyAnchorUrl"),["stop"]))},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(rQ),{"aria-hidden":"true",class:"size-4.5"}),(0,g.Wm)(rR,null,{default:(0,g.w5)(()=>[...a[1]||(a[1]=[(0,g.Uk)("Copy link",-1)])]),_:1})]),_:1},8,["aria-describedby"])])],16))}}),rW=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 n=t&&"object"===e.type;if(n)return!0;
4if(t&&!n)return!1;let r="properties"in e,a="additionalProperties"in e,i="patternProperties"in e;return r||a||i},rX={key:0,class:"schema-type"},rY=["title"],rG=l((0,g.aZ)({__name:"SchemaHeading",props:{value:{},name:{}},setup(e){let t=(0,g.Fl)(()=>"type"in e.value?e.value.type:e.value.enum?"enum":(0,c.w0)(e.value)&&e.value.items?"array":rW(e.value)&&(e.value.properties||e.value.additionalProperties)?"object":"unknown");return(n,r)=>"object"==typeof e.value?((0,g.wg)(),(0,g.iD)("span",rX,[(0,g._)("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(" | "):"unknown type"},[(0,v.SU)(rW)(e.value)?((0,g.wg)(),(0,g.iD)(g.HY,{key:0},[(0,g.Uk)(" {} ")],64)):(0,g.kq)("",!0),(0,v.SU)(c.w0)(e.value)?((0,g.wg)(),(0,g.iD)(g.HY,{key:1},[(0,g.Uk)(" [] ")],64)):(0,g.kq)("",!0),e.value.enum?((0,g.wg)(),(0,g.iD)(g.HY,{key:2},[(0,g.Uk)(" enum ")],64)):(0,g.kq)("",!0)],8,rY),e.name?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.ZG),{key:0,text:e.name,preset:"property"},null,8,["text"])):((0,g.wg)(),(0,g.iD)(g.HY,{key:1},[(0,g.Uk)((0,y.zw)(t.value),1)],64))])):(0,g.kq)("",!0)}}),[["__scopeId","data-v-70cb5c13"]]),rK={key:0},rJ={key:1},r0={key:2},r1={key:3},r2={key:4},r4={key:5},r8=(0,g.aZ)({name:"ScalarIconLink",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,w.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,v.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",rK,[...r[0]||(r[0]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",rJ,[...r[1]||(r[1]=[(0,g._)("path",{d:"M218.34,119.6,183.6,154.34a46.58,46.58,0,0,1-44.31,12.26c-.31.34-.62.67-.95,1L103.6,202.34A46.63,46.63,0,1,1,37.66,136.4L72.4,101.66A46.6,46.6,0,0,1,116.71,89.4c.31-.34.62-.67,1-1L152.4,53.66a46.63,46.63,0,0,1,65.94,65.94Z",opacity:"0.2"},null,-1),(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",r0,[...r[2]||(r[2]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",r1,[...r[3]||(r[3]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",r2,[...r[4]||(r[4]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",r4,[...r[5]||(r[5]=[(0,g._)("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,12
40a4,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,g.kq)("",!0)],16))}}),r6=["id"],r3={class:"sr-only"},r5=(0,g.aZ)({__name:"WithBreadcrumb",props:{breadcrumb:{},eventBus:{}},setup:e=>(t,n)=>e.breadcrumb&&e.breadcrumb.length>0?((0,g.wg)(),(0,g.iD)("div",{key:0,id:e.breadcrumb.join("."),class:"relative scroll-mt-24"},[(0,g.WI)(t.$slots,"default"),(0,g._)("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:n[0]||(n[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.breadcrumb.join(".")}))},[(0,g.Wm)((0,v.SU)(r8),{class:"size-3",weight:"bold"}),(0,g._)("span",r3,[(0,g.WI)(t.$slots,"sr-label",{},()=>[n[1]||(n[1]=(0,g.Uk)("Copy link to ",-1)),(0,g.WI)(t.$slots,"default")])])])],8,r6)):(0,g.WI)(t.$slots,"default",{key:1})}),r7=["allOf","oneOf","anyOf"],r9=e=>"type"in e&&e.type?Array.isArray(e.type)?e.type.includes("object"):"object"===e.type:"properties"in e,ae=e=>"$ref"in e||"discriminator"in e||r7.some(t=>t in e),at=e=>{if(!(0,c.w0)(e)||"object"!=typeof e.items)return!1;if("$ref"in e.items)return!0;let t=(0,u.n)(e.items);return!!t&&(r9(t)||ae(t)||(0,c.w0)(t))},an=e=>{if(!e||!(0,c.w0)(e)||"object"!=typeof e.items)return!1;if("$ref"in e.items)return!0;let t=(0,u.n)(e.items);return!!t&&(!!(ae(t)||r9(t))||at(t))},ar=["oneOf","anyOf","allOf","not"],aa=(e,t)=>{if(!e||!(0,c.w0)(e))return!1;let n=e.items;return!!n&&"object"==typeof n&&t in n&&!an(e)},ai=n(17104),ao=n(55512),al=e=>e?ar.map(t=>aa(e,t)&&(0,c.w0)(e)&&e.items?{composition:t,value:ai.D.schema(e.items)}:e[t]&&!((0,c.w0)(e)&&e.items&&"object"==typeof e.items&&t in e.items)?{composition:t,value:ai.D.schema(e)}:null).filter(ao.$):[],as=e=>{if(!e)return[];if(e.enum)return e.enum;if((0,c.w0)(e)&&"object"==typeof e.items){let t=ai.D.schema(e.items);if(t&&"enum"in t&&t.enum)return t.enum}return[]},au={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"}},ac=e=>{if(!(0,c.nN)(e))return null;let t=Array.isArray(e.type)?e.type[0]:e.type;if(!t)return null;let n=au[t];return n?n["format"in e&&e.format||"contentEncoding"in e&&e.contentEncoding||"_default"]??null:null},ad=(e,t)=>!e||e.allOf?null:t||e.description||null,ap=(e,t,n=!1)=>!!t||!!n||!!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),am=Symbol(),af=e=>e?`array ${e.includes(" | ")?`(${e})`:e}[]`:"array",ah=(e,t=!1)=>{if(!e.items)return"array";let n=af(ag(ai.D.schema(e.items)));return t?n:e.nullable?`${n} | null`:n},ag=e=>{if(!e)return"";let t=ai.D.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=ah(t,!0),n=t.type.filter(e=>"array"!==e);return n.length>0?`${e} | ${n.join(" | ")}`:e}return t.type.join(" | ")}return(0,c.w0)(t)?ah(t,!1):"type"in t&&t.type&&t.contentEncoding?`${t.type} ⢠${t.contentEncoding}`:"type"in t?t.type:""},av=n(83294),ay=(e,t)=>{if(!e?.allOf?.length||!Array.isArray(e.allOf))return t||{};let n={},{allOf:r,...a}=e;for(let t of e.allOf){if(!t||"object"!=typeof t)continue;let e=ai.D.schema(t);
4if(e.allOf){ab(n,ay(e));continue}ab(n,e)}return Object.keys(a).length>0&&ab(n,a,!0),t&&"object"==typeof t&&(t.allOf?ab(n,ay(t),!0):ab(n,t,!0)),n},ab=(e,t,n=!1)=>{let r=(0,av.Y)(t);if(0!==r.length)for(let a of r){let r=(0,u.n)(t[a]);if(void 0!==r){if("required"===a)Array.isArray(r)&&r.length>0&&(e.required?.length?e.required=[...new Set([...e.required,...r])]:e.required=r.slice());else if("properties"===a)r&&"object"==typeof r&&(e.properties||(e.properties={}),aO(e.properties,r));else if("items"===a){let n=ai.D.schema(r);if(n){if((0,c.w0)(t)){if(e.items||(e.items={}),n.allOf){let t=ay(n);Object.assign(e.items,t)}else aw((0,u.n)(e.items),n)}else if(n.allOf){let t=ay(n);"properties"in t&&("properties"in e||(e.properties={}),"properties"in e&&aO(e.properties,t.properties))}else"items"in e||(e.items=n)}}else if("enum"===a)Array.isArray(r)&&r.length>0&&(e.enum=[...new Set([...e.enum||[],...r])]);else if("oneOf"===a||"anyOf"===a){if(Array.isArray(r))for(let t of("properties"in e||(e.properties={}),r)){let n=ai.D.schema(t);n&&"properties"in n&&"properties"in e&&aO(e.properties,n.properties)}}else{if("allOf"===a)continue;(n||void 0===e[a])&&(e[a]=r)}}}},aO=(e,t)=>{let n=Object.keys(t??{});if(t&&e&&0!==n.length)for(let r of n){let n=ai.D.schema(t[r]);if(!n){delete e[r];continue}if("object"!=typeof n){e[r]=n;continue}if(!e[r]){n.allOf?e[r]=ay(n):(0,c.w0)(n)&&ai.D.schema(n.items)?.allOf?e[r]={...n,items:ay(ai.D.schema(n.items))}:t[r]&&(e[r]=t[r]);continue}let a=ai.D.schema(e[r]);if(n.allOf)e[r]=ay({allOf:[a,...n.allOf]});else if((0,c.w0)(n)&&(0,c.w0)(a)&&n.items){let t=ai.D.schema(a.items);e[r]={...a,type:"array",items:t?ak(t,ai.D.schema(n.items)):ai.D.schema(n.items)}}else if("properties"in a&&"properties"in n){let t={...a,...n};t.properties={...a.properties},aO(t.properties,n.properties),e[r]=t}else e[r]={...n,...a}}},aw=(e,t)=>{if(t.allOf||e.allOf){let n=[];if(e.allOf)for(let t of e.allOf)n.push(ai.D.schema(t));else n.push(e);if(t.allOf)for(let e of t.allOf)n.push(ai.D.schema(e));else n.push(t);Object.assign(e,ay({allOf:n}));return}Object.assign(e,t),"properties"in e&&"properties"in t&&aO(e.properties,t.properties)},ak=(e,t)=>{if(e.allOf||t.allOf){let n=[];if(e.allOf)for(let t of e.allOf)n.push(ai.D.schema(t));else n.push(e);if(t.allOf)for(let e of t.allOf)n.push(ai.D.schema(e));else n.push(t);return ay({allOf:n})}let n={...e,...t};return"properties"in e&&"properties"in t&&(n.properties={...e.properties},aO(n.properties,t.properties)),n},ax=n(66107),aS=e=>{if(!e)return null;let t=e.match(ax.m.REF_NAME);return t?t[1]:null},a_=e=>{if(!e)return null;let t=ai.D.schema(e);if(t.title)return t.title;if(t.name)return t.name;if("$ref"in e){let t=aS(e.$ref);if(t)return t}return null},aE=e=>{if(!rW(e))return!1;let t=0===Object.keys(e.properties??{}).length,n=void 0===e.additionalProperties||!1===e.additionalProperties,r=0===Object.keys(e.patternProperties??{}).length;return t&&n&&r},aA=(e,t)=>e.reduce((e,n)=>{let r=t?.[n];return r&&(e[n]=r),e},{}),aT=(e,t,{hideReadOnly:n=!1,hideWriteOnly:r=!1,orderSchemaPropertiesBy:a="alpha",orderRequiredPropertiesFirst:i=!0}={})=>{if(!rW(e)||!e.properties)return[];let o=Object.keys(e.properties),l=new Set(e.required||[]);return o.sort((n,r)=>{let o=n===t?.propertyName,s=r===t?.propertyName,u=l.has(n),c=l.has(r);if(o&&!s)return -1;if(!o&&s)return 1;let d=e.properties?.[n],p=e.properties?.[r],m=d&&"object"==typeof d&&"x-order"in d?d["x-order"]:void 0,f=p&&"object"==typeof p&&"x-order"in p?p["x-order"]:void 0;if(void 0!==m&&void 0!==f)return Number(m)-Number(f);if(void 0!==m&&void 0===f)return -1;if(void 0===m&&void 0!==f)return 1;if(i){if(u&&!c)return -1;if(!u&&c)return 1}return"alpha"===a?n.localeCompare(r):0}).filter(t=>{let a=e.properties&&ai.D.schema(e.properties[t]);return(!n||a?.readOnly!==!0)&&(!r||a?.writeOnly!==!0)})},aD=(0,g.aZ)({__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,g.Fl)(()=>aT(e.schema,e.discriminator,e.options)),n=(e,t)=>{let n="boolean"==typeof e?e:ai.D.schema(e);if("object"==typeof n&&"string"==typeof n["x-additionalPropertiesName"]&&n["x-additionalPropertiesName"].trim().length>0)return`${n["x-additionalPropertiesName"].trim()}`;if(t){let e=ai.D.schema(t);
4if(e?.title)return e.title}return"propertyName"},r=e=>{if(!e)return;let t=ai.D.schema(e);if(t&&"enum"in t&&Array.isArray(t.enum)&&t.enum.length>0)return t.enum},a=(0,g.Fl)(()=>{if(rW(e.schema)&&e.schema.additionalProperties)return r(e.schema.propertyNames)}),i=e=>!0!==e&&("object"!=typeof e||0!==Object.keys(e).length)&&"object"==typeof e&&"type"in e?e:{type:"anything",..."object"==typeof e?e:{}};return(r,o)=>((0,g.wg)(),(0,g.iD)(g.HY,null,[(0,v.SU)(rW)(e.schema)&&e.schema.properties?((0,g.wg)(!0),(0,g.iD)(g.HY,{key:0},(0,g.Ko)(t.value,t=>((0,g.wg)(),(0,g.j4)(iw,{key:t,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment: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:(0,v.SU)(ai.D).schema(e.schema.properties[t]),schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","compositionPathSegment","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","required","schema","schemaContext"]))),128)):(0,g.kq)("",!0),(0,v.SU)(rW)(e.schema)&&e.schema.patternProperties?((0,g.wg)(!0),(0,g.iD)(g.HY,{key:1},(0,g.Ko)(Object.entries(e.schema.patternProperties),([t,n])=>((0,g.wg)(),(0,g.j4)(iw,{key:t,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:t,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:t,options:e.options,schema:(0,v.SU)(ai.D).schema(n),schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","compositionPathSegment","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","schema","schemaContext"]))),128)):(0,g.kq)("",!0),(0,v.SU)(rW)(e.schema)&&e.schema.additionalProperties?((0,g.wg)(),(0,g.j4)(iw,{key:2,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:n(e.schema.additionalProperties,e.schema.propertyNames),discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:n(e.schema.additionalProperties,e.schema.propertyNames),noncollapsible:"",options:e.options,propertyNamesEnum:a.value,schema:i(e.schema.additionalProperties),schemaContext:e.schemaContext,variant:"additionalProperties"},null,8,["breadcrumb","compact","compositionPath","compositionPathSegment","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","propertyNamesEnum","schema","schemaContext"])):(0,g.kq)("",!0)],64))}}),aC={key:0,class:"schema-card-description"},a$={key:1,class:"pt-2"},aP={key:0,class:"schema-properties"},aI=l((0,g.aZ)({__name:"Schema",props:{schema:{},level:{default:0},name:{},compact:{type:Boolean},noncollapsible:{type:Boolean,default:!1},hideHeading:{type:Boolean},additionalProperties:{type:Boolean},hideModelNames:{type:Boolean,default:!1},discriminator:{},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{}},setup(e){let t=(0,g.Fl)(()=>!e.noncollapsible&&e.level>0),n=(0,g.Fl)(()=>e.schema?.allOf&&e.schema.allOf.length>0&&"Request Body"===e.name?e.schema.description||e.schema.allOf[0]?.description||null:e.schema?.description&&"string"==typeof e.schema.description&&!e.schema.oneOf&&!e.schema.anyOf&&!e.schema.enum&&("properties"in e.schema||"patternProperties"in e.schema||"additionalProperties"in e.schema)?e.schema.description:null),r=t=>e.noncollapsible&&t.stopPropagation();return(a,i)=>"object"==typeof e.schema&&Object.keys(e.schema).length?((0,g.wg)(),(0,g.j4)((0,v.SU)(rD.pJ),{key:0,defaultOpen:e.noncollapsible},{default:(0,g.w5)(({open:a})=>[(0,g._)("div",{class:(0,y.C_)(["schema-card",[`schema-card--level-${e.level}`,{"schema-card--compact":e.compact,"schema-card--open":a},{"border-t":e.additionalProperties&&a}]])},[n.value?((0,g.wg)(),(0,g.iD)("div",aC,[(0,g.Wm)((0,v.SU)(b.eV),{value:n.value},null,8,["value"])])):(0,g.kq)("",!0),(0,v.SU)(aE)(e.schema)?((0,g.wg)(),(0,g.iD)("div",a$," Empty object ")):(0,g.kq)("",!0),(0,g._)("div",{class:(0,y.
4C_)(["schema-properties",{"schema-properties-open":a}])},[e.additionalProperties?(0,g.wy)(((0,g.wg)(),(0,g.iD)("div",aP,[(0,g.Wm)((0,v.SU)(rD.lG),{as:"button",class:"schema-card-title schema-card-title--compact",onClickCapture:r},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.sN),{class:"schema-card-title-icon",icon:"Add",size:"sm"}),i[0]||(i[0]=(0,g.Uk)(" Show additional properties ",-1)),e.name?((0,g.wg)(),(0,g.j4)(rR,{key:0},{default:(0,g.w5)(()=>[(0,g.Uk)("for "+(0,y.zw)(e.name),1)]),_:1})):(0,g.kq)("",!0)]),_:1})],512)),[[ee.F8,!a]]):t.value?(0,g.wy)(((0,g.wg)(),(0,g.j4)((0,v.SU)(rD.lG),{key:1,as:e.noncollapsible?"div":"button",class:(0,y.C_)(["schema-card-title",{"schema-card-title--compact":e.compact}]),style:(0,y.j5)({top:`calc(var(--refs-viewport-offset) + calc(var(--schema-title-height) * ${e.level}))`}),onClickCapture:r},{default:(0,g.w5)(()=>[e.compact?((0,g.wg)(),(0,g.iD)(g.HY,{key:0},[(0,g.Wm)((0,v.SU)(b.sN),{class:(0,y.C_)(["schema-card-title-icon",{"schema-card-title-icon--open":a}]),icon:"Add",size:"sm"},null,8,["class"]),a?((0,g.wg)(),(0,g.iD)(g.HY,{key:0},[(0,g.Uk)(" Hide "+(0,y.zw)(e.schema?.title??"Child Attributes"),1)],64)):((0,g.wg)(),(0,g.iD)(g.HY,{key:1},[(0,g.Uk)(" Show "+(0,y.zw)(e.schema?.title??"Child Attributes"),1)],64)),e.name?((0,g.wg)(),(0,g.j4)(rR,{key:2},{default:(0,g.w5)(()=>[(0,g.Uk)("for "+(0,y.zw)(e.name),1)]),_:1})):(0,g.kq)("",!0)],64)):((0,g.wg)(),(0,g.iD)(g.HY,{key:1},[(0,g.Wm)((0,v.SU)(b.sN),{class:(0,y.C_)(["schema-card-title-icon",{"schema-card-title-icon--open":a}]),icon:"Add",size:"sm"},null,8,["class"]),(0,g.Wm)(rG,{name:e.schema?.title??e.name,value:e.schema},null,8,["name","value"])],64))]),_:2},1032,["as","class","style"])),[[ee.F8,!e.hideHeading&&!(e.noncollapsible&&e.compact)]]):(0,g.kq)("",!0),!e.additionalProperties||a?((0,g.wg)(),(0,g.j4)((0,v.SU)(rD.V2),{key:2,as:"ul",static:!t.value},{default:(0,g.w5)(()=>[(0,v.SU)(rW)(e.schema)?((0,g.wg)(),(0,g.j4)(aD,{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+1,options:e.options,schema:e.schema,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideHeading","hideModelNames","level","options","schema","schemaContext"])):((0,g.wg)(),(0,g.iD)(g.HY,{key:1},[e.schema?((0,g.wg)(),(0,g.j4)(iw,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,options:e.options,schema:e.schema,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","eventBus","hideHeading","hideModelNames","level","options","schema","schemaContext"])):(0,g.kq)("",!0)],64))]),_:1},8,["static"])):(0,g.kq)("",!0)],2)],2)]),_:1},8,["defaultOpen"])):(0,g.kq)("",!0)}}),[["__scopeId","data-v-38d75111"]]),aN={class:"property-rule"},aU={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"},aM={class:"text-c-2"},aR={key:0,class:"text-red"},aj={class:"composition-panel"},aL=(0,g.aZ)({__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 t=(0,g.Fl)(()=>[e.schema[e.composition]].flat().map(e=>({value:ai.D.schema(e),original:e})).filter(e=>(0,ao.$)(e.value))),n=(0,g.Fl)(()=>t.value.map((e,t)=>{let n=ai.D.schema(e.original),r=(a_(n)??ag(n))||"Schema";return{id:String(t),label:r}})),r=(0,g.Fl)(()=>e.compositionPath?.length?[...e.compositionPath,e.composition].join("."):""),a=(0,g.f3)(am,void 0),i=(0,g.Fl)(()=>
4{if("requestBody"!==e.schemaContext||!a?.value||!r.value)return 0;let t=a.value[r.value];return"number"!=typeof t||Number.isNaN(t)?0:Math.max(0,Math.min(t,n.value.length-1))}),o=(0,v.iH)();(0,g.YP)([n,i],([e,t])=>{o.value&&e.some(e=>e.id===o.value?.id)||(o.value=e[t]??e[0])},{immediate:!0});let l=e=>e.replace(/([A-Z])/g," $1").replace(/^./,e=>e.toUpperCase()).toLowerCase().replace(/^(\w)/,e=>e.toUpperCase()),s=(0,g.Fl)(()=>t.value[Number(o.value?.id??"0")]?.value),u=(0,v.iH)(!1);return a&&"requestBody"===e.schemaContext&&r.value&&(0,g.YP)(o,e=>{let t=e?Number(e.id):0;Number.isNaN(t)||(a.value={...a.value,[r.value]:t})},{immediate:!0}),(t,r)=>((0,g.wg)(),(0,g.iD)("div",aN,["allOf"===e.composition?((0,g.wg)(),(0,g.j4)(aI,{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+1,name:e.name,noncollapsible:!0,options:e.options,schema:(0,v.SU)(ay)(e.schema),schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","schema","schemaContext"])):((0,g.wg)(),(0,g.iD)(g.HY,{key:1},[(0,g.Wm)((0,v.SU)(b.N1),{modelValue:o.value,"onUpdate:modelValue":r[0]||(r[0]=e=>o.value=e),options:n.value,resize:""},{default:(0,g.w5)(()=>[(0,g._)("button",aU,[(0,g._)("span",aM,(0,y.zw)(l(e.composition)),1),(0,g._)("span",{class:(0,y.C_)(["composition-selector-label text-c-1",{"line-through":s.value?.deprecated}])},(0,y.zw)(o.value?.label||"Schema"),3),s.value?.deprecated?((0,g.wg)(),(0,g.iD)("div",aR," deprecated ")):(0,g.kq)("",!0),(0,g.Wm)((0,v.SU)(tQ.Z))])]),_:1},8,["modelValue","options"]),(0,g._)("div",aj,[!u.value&&e.level>2?((0,g.wg)(),(0,g.iD)("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:r[1]||(r[1]=e=>u.value=!0)},[r[2]||(r[2]=(0,g.Uk)(" Show Schema Details ",-1)),(0,g.Wm)((0,v.SU)(tQ.Z),{class:"h-3 w-3"})])):((0,g.wg)(),(0,g.j4)(aI,{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,name:e.name,noncollapsible:!0,options:e.options,schema:s.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","schema","schemaContext"]))])],64))]))}}),aZ={class:"property-enum-value"},aB={class:"property-enum-value-content"},az={class:"property-enum-value-label"},aF={key:0,class:"property-enum-value-description"},aQ=l((0,g.aZ)({__name:"SchemaEnumPropertyItem",props:{label:{},description:{}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.iD)("li",aZ,[(0,g._)("div",aB,[(0,g._)("span",az,[(0,g.Wm)((0,v.SU)(b.ZG),{text:e.label,preset:"property"},null,8,["text"])]),e.description?((0,g.wg)(),(0,g.iD)("span",aF,[(0,g.Wm)((0,v.SU)(b.eV),{value:e.description},null,8,["value"])])):(0,g.kq)("",!0)])]))}),[["__scopeId","data-v-f4b54bdd"]]),aH=n(28980),aq={key:0,class:"property-enum"},aV={key:0,class:"property-enum-property-names"},aW={key:1,class:"property-enum-property-names"},aX={class:"property-enum-values"},aY={key:1},aG=l((0,g.aZ)({__name:"SchemaEnums",props:{value:{},propertyNames:{type:Boolean}},setup(e){let t=(0,g.Fl)(()=>e.value&&(e.value.enum||(0,c.w0)(e.value)&&ai.D.schema(e.value.items)?.enum)||[]),n=(0,g.Fl)(()=>t.value.length>9),r=(0,g.Fl)(()=>n.value?5:t.value.length),a=(0,g.Fl)(()=>t.value.slice(0,r.value)),i=(0,g.Fl)(()=>t.value.slice(r.value)),o=(t,n)=>{let r=e.value?.["x-enumDescriptions"]??e.value?.["x-enum-descriptions"];if(r){if(Array.isArray(r))return r[n];if("object"==typeof r&&null!==r)return r[String(t)]}},l=(t,n)=>{let r=e.value?.["x-enum-varnames"]??e.value?.["x-enumNames"],a=Array.isArray(r)?r[n]:void 0;return a?`${t}â=â${a}`:String(t)},s=(0,v.iH)(!1),u=()=>{s.value=!s.value};return(c,d)=>t.value.length>0?((0,g.wg)(),(0,g.iD)("div",aq,[e.propertyNames?((0,g.wg)(),(0,g.iD)("div",aV," property names ")):((0,g.wg)(),(0,g.iD)("div",aW," values ")),(0,g._)("ul",aX,[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(a.value,(e,t)=>((0,g.wg)(),(0,g.j4)(aQ,{key:String(e),description:o(e,t),label:l(e,t)},null,8,["description","label"]))),128)),n.value&&s.value?((0,g.wg)(!0),(0,g.iD)(g.HY,{key:0},(0,g.Ko)(i.value,(e,t)=>((0,g.wg)(),(0,g.j4)(aQ,{key:String(e),description:o(e,r.value+t),label:l(e,r.value+t)},null,8,["description","label"]))),128)):(0,g.kq)("",!0),n.value?((0,g.wg)(),(0,g.iD)("li",aY,[(0,g.Wm)((0,v.SU)(b.Xk),{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:u},{default:(0,g.w5)(()=>
4[(0,g.Wm)((0,v.SU)(aH.Z),{class:(0,y.C_)({"rotate-45":s.value}),weight:"bold"},null,8,["class"]),(0,g.Uk)(" "+(0,y.zw)(s.value?"Hide values":"Show all values"),1)]),_:1})])):(0,g.kq)("",!0)])])):(0,g.kq)("",!0)}}),[["__scopeId","data-v-55c01b89"]]),aK=(0,g.aZ)({__name:"RenderString",props:{value:{}},setup(e){let t=(0,g.Fl)(()=>""===e.value?"''":null===e.value?"null":void 0===e.value?"undefined":e.value);return(e,n)=>(0,y.zw)(t.value)}});function aJ(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 a0={key:0,class:"property-default"},a1={class:"property-default-value-list"},a2=l((0,g.aZ)({__name:"SchemaPropertyDefault",props:{value:{}},setup(e){let{copyToClipboard:t}=(0,eS.V)();return(n,r)=>void 0!==e.value?((0,g.wg)(),(0,g.iD)("div",a0,[r[1]||(r[1]=(0,g._)("button",{class:"property-default-label",type:"button"},[(0,g._)("span",null,"Default")],-1)),(0,g._)("div",a1,[(0,g._)("button",{class:"property-default-value group",type:"button",onClick:r[0]||(r[0]=n=>(0,v.SU)(t)((0,v.SU)(aJ)(e.value)))},[(0,g._)("span",null,(0,y.zw)((0,v.SU)(aJ)(e.value)),1),(0,g.Wm)((0,v.SU)(b.sN),{class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})])])])):(0,g.kq)("",!0)}}),[["__scopeId","data-v-4da5c70a"]]),a4={key:0,class:"property-detail-prefix"},a8={key:1,class:"property-detail-value"},a6={key:2,class:"property-detail-value"},a3=l((0,g.aZ)({__name:"SchemaPropertyDetail",props:{truncate:{type:Boolean},code:{type:Boolean}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.iD)("span",{class:(0,y.C_)(["property-detail",{"property-detail-truncate":e.truncate}])},[t.$slots.prefix?((0,g.wg)(),(0,g.iD)("div",a4,[(0,g.WI)(t.$slots,"prefix",{},void 0,!0),n[0]||(n[0]=(0,g.Uk)("\xa0 ",-1))])):(0,g.kq)("",!0),e.code?((0,g.wg)(),(0,g.iD)("code",a8,[(0,g.WI)(t.$slots,"default",{},void 0,!0)])):((0,g.wg)(),(0,g.iD)("span",a6,[(0,g.WI)(t.$slots,"default",{},void 0,!0)]))],2))}),[["__scopeId","data-v-1295f965"]]);function a5(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?"value"in e?e.value:"externalValue"in e?e.externalValue:JSON.stringify(e):void 0===e?"undefined":"string"==typeof e?e.trim():e.toString().trim()}var a7={key:0,class:"property-example"},a9={class:"property-example-value-list"},ie={key:1,class:"property-example"},it={class:"property-example-label",type:"button"},ir={class:"property-example-value-list"},ia=["onClick"],ii=l((0,g.aZ)({__name:"SchemaPropertyExamples",props:{examples:{},example:{}},setup(e){let{copyToClipboard:t}=(0,eS.V)(),n=(0,g.Fl)(()=>(0,ao.$)(e.example)),r=(0,g.Fl)(()=>e.examples&&"object"==typeof e.examples?e.examples:{}),a=(0,g.Fl)(()=>Object.keys(r.value).length>0),i=(0,g.Fl)(()=>1===Object.keys(r.value).length?"Example":"Examples");return(o,l)=>((0,g.wg)(),(0,g.iD)(g.HY,null,[n.value?((0,g.wg)(),(0,g.iD)("div",a7,[l[1]||(l[1]=(0,g._)("button",{class:"property-example-label",type:"button"},[(0,g._)("span",null,"Example")],-1)),(0,g._)("div",a9,[(0,g._)("button",{class:"property-example-value group",type:"button",onClick:l[0]||(l[0]=n=>(0,v.SU)(t)((0,v.SU)(a5)(e.example)))},[(0,g._)("span",null,(0,y.zw)((0,v.SU)(a5)(e.example)),1),(0,g.Wm)((0,v.SU)(b.sN),{class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})])])])):(0,g.kq)("",!0),a.value?((0,g.wg)(),(0,g.iD)("div",ie,[(0,g._)("button",it,[(0,g._)("span",null,(0,y.zw)(i.value),1)]),(0,g._)("div",ir,[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(r.value,(e,n)=>((0,g.wg)(),(0,g.iD)("button",{key:n,class:"property-example-value group",type:"button",onClick:n=>(0,v.SU)(t)((0,v.SU)(a5)(e))},[(0,g._)("span",null,(0,y.zw)((0,v.SU)(a5)(e)),1),(0,g.Wm)((0,v.SU)(b.sN),{class:"text-c-3 group-hover:text-c-1 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})],8,ia))),128))])])):(0,g.kq)("",!0)],64))}}),[["__scopeId","data-v-3388e4cb"]]),io={class:"property-heading"},il={key:1,class:"property-discriminator"},is={key:3,class:"property-additional"},iu={key:4,class:"property-deprecated"},ic={key:5,class:"property-const"},id={key:7,class:"property-write-only"},ip={key:8,class:"property-read-only"},im={key:9,class:"property-required"},ih=l((0,g.aZ)({__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},modelName:{}},setup(e){let t=(0,v.Vh)(e,"value"),n=(0,g.Fl)(()=>
4{if(!t.value)return;let e=t.value;if(void 0!==e.const)return e.const;if(e.enum?.length===1)return e.enum[0];if((0,c.w0)(e)&&e.items){let t=ai.D.schema(e.items);if((0,ao.$)(t.const))return t.const;if(t.enum?.length===1)return t.enum[0]}}),r=(0,g.Fl)(()=>{if(!t.value)return[];let e=t.value,n=[];return(0,c.w0)(e)&&((e.minItems||e.maxItems)&&n.push({key:"array-range",value:`${e.minItems||""}â¦${e.maxItems||""}`}),e.uniqueItems&&n.push({key:"unique-items",value:"unique!"})),(0,c.HO)(e)&&(e.minLength&&n.push({key:"min-length",prefix:"min length: ",value:e.minLength}),e.maxLength&&n.push({key:"max-length",prefix:"max length: ",value:e.maxLength}),e.pattern&&n.push({key:"pattern",value:e.pattern,code:!0,truncate:!0})),((0,c.HO)(e)||(0,c.fL)(e))&&e.format&&n.push({key:"format",value:e.format,truncate:!0}),(0,c.fL)(e)&&((0,ao.$)(e.exclusiveMinimum)&&n.push({key:"exclusive-minimum",prefix:"greater than: ",value:e.exclusiveMinimum}),(0,ao.$)(e.minimum)&&n.push({key:"minimum",prefix:"min: ",value:e.minimum}),(0,ao.$)(e.exclusiveMaximum)&&n.push({key:"exclusive-maximum",prefix:"less than: ",value:e.exclusiveMaximum}),(0,ao.$)(e.maximum)&&n.push({key:"maximum",prefix:"max: ",value:e.maximum}),(0,ao.$)(e.multipleOf)&&n.push({key:"multiple-of",prefix:"multiple of: ",value:e.multipleOf})),n}),a=(0,g.Fl)(()=>
4{if(!e.value||e.hideModelNames)return null;if(e.modelName)return e.modelName;let t=a_(e.value);if(t)return t;if((0,c.w0)(e.value)&&e.value.items){let t=a_(e.value.items);return t?`${t}[]`:null}return null}),i=(0,g.Fl)(()=>!!e.value&&"type"in e.value&&("array"===e.value.type||!n.value)),o=(0,g.Fl)(()=>e.value?ag(e.value):""),l=(0,g.Fl)(()=>{if((0,ao.$)(e.value?.example))return e.value.example;if(e.value&&(0,c.w0)(e.value)){let t=ai.D.schema(e.value.items)?.example;return(0,ao.$)(t)?t:void 0}});return(t,s)=>((0,g.wg)(),(0,g.iD)("div",io,[t.$slots.name?((0,g.wg)(),(0,g.iD)("div",{key:0,class:(0,y.C_)(["property-name",{deprecated:e.value?.deprecated}])},[(0,g.WI)(t.$slots,"name",{},void 0,!0)],2)):(0,g.kq)("",!0),e.isDiscriminator?((0,g.wg)(),(0,g.iD)("div",il," Discriminator ")):(0,g.kq)("",!0),e.value?((0,g.wg)(),(0,g.iD)(g.HY,{key:2},[i.value?((0,g.wg)(),(0,g.j4)(a3,{key:0,truncate:""},{default:(0,g.w5)(()=>[(0,g.Wm)(rR,null,{default:(0,g.w5)(()=>[...s[0]||(s[0]=[(0,g.Uk)("Type: ",-1)])]),_:1}),(0,g.Uk)((0,y.zw)(o.value)+(0,y.zw)(a.value?` \xb7 ${a.value}`:""),1)]),_:1})):(0,g.kq)("",!0),((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(r.value,e=>((0,g.wg)(),(0,g.j4)(a3,{key:e.key,code:e.code,truncate:e.truncate},(0,g.Nv)({default:(0,g.w5)(()=>["format"===e.key?((0,g.wg)(),(0,g.j4)(rR,{key:0},{default:(0,g.w5)(()=>[...s[1]||(s[1]=[(0,g.Uk)("Format:",-1)])]),_:1})):"pattern"===e.key?((0,g.wg)(),(0,g.j4)(rR,{key:1},{default:(0,g.w5)(()=>[...s[2]||(s[2]=[(0,g.Uk)(" Pattern: ",-1)])]),_:1})):(0,g.kq)("",!0),(0,g.Uk)(" "+(0,y.zw)(e.value),1)]),_:2},[e.prefix?{name:"prefix",fn:(0,g.w5)(()=>[(0,g.Uk)((0,y.zw)(e.prefix),1)]),key:"0"}:void 0]),1032,["code","truncate"]))),128)),e.enum?((0,g.wg)(),(0,g.j4)(a3,{key:1},{default:(0,g.w5)(()=>[...s[3]||(s[3]=[(0,g.Uk)("enum",-1)])]),_:1})):(0,g.kq)("",!0)],64)):(0,g.kq)("",!0),e.additional?((0,g.wg)(),(0,g.iD)("div",is,[e.value?.["x-additionalPropertiesName"]?((0,g.wg)(),(0,g.iD)(g.HY,{key:0},[(0,g.Uk)((0,y.zw)(e.value["x-additionalPropertiesName"]),1)],64)):((0,g.wg)(),(0,g.iD)(g.HY,{key:1},[(0,g.Uk)("additional properties")],64))])):(0,g.kq)("",!0),e.value?.deprecated?((0,g.wg)(),(0,g.iD)("div",iu,[(0,g.Wm)((0,v.SU)(ng),null,{default:(0,g.w5)(()=>[...s[4]||(s[4]=[(0,g.Uk)("deprecated",-1)])]),_:1})])):(0,g.kq)("",!0),void 0!==n.value?((0,g.wg)(),(0,g.iD)("div",ic,[(0,g.Wm)(a3,{truncate:""},{prefix:(0,g.w5)(()=>[...s[5]||(s[5]=[(0,g.Uk)("const: ",-1)])]),default:(0,g.w5)(()=>[(0,g.Wm)(aK,{value:n.value},null,8,["value"])]),_:1})])):((0,g.wg)(),(0,g.iD)(g.HY,{key:6},[e.value?.nullable===!0?((0,g.wg)(),(0,g.j4)(a3,{key:0},{default:(0,g.w5)(()=>[...s[6]||(s[6]=[(0,g.Uk)(" nullable ",-1)])]),_:1})):(0,g.kq)("",!0)],64)),e.value?.writeOnly?((0,g.wg)(),(0,g.iD)("div",id," write-only ")):e.value?.readOnly?((0,g.wg)(),(0,g.iD)("div",ip," read-only ")):(0,g.kq)("",!0),e.required?((0,g.wg)(),(0,g.iD)("div",im," required ")):(0,g.kq)("",!0),(0,g.Wm)(a2,{value:e.value?.default},null,8,["value"]),e.withExamples?((0,g.wg)(),(0,g.j4)(ii,{key:10,example:l.value,examples:e.value?.examples},null,8,["example","examples"])):(0,g.kq)("",!0)]))}}),[["__scopeId","data-v-d6007af3"]]),ig={key:0,class:"property-name-pattern-properties"},iv={key:1,class:"property-name-additional-properties"},iy={key:1,class:"property-description"},ib={key:4,class:"children"},iO={key:5,class:"children"},iw=l((0,g.aZ)({__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:{},schemaContext:{},compositionPath:{},compositionPathSegment:{}},setup(e){let t=(0,g.Fl)(()=>(function(e){if(!e||"object"!=typeof e)return e;let t=ar.find(t=>t in e&&"not"!==t);if(!t)return{...e};let n=e[t];if(!Array.isArray(n))return{...e};let{[t]:r,nullable:a,...i}=e,o=Object.keys(i).length>0,{filteredSchemas:l,hasNullSchema:s}=n.reduce((e,t)=>{let n=ai.D.schema(t);return"type"in n&&"null"===n.type?e.hasNullSchema=!0:e.filteredSchemas.push(n),e},{filteredSchemas:[],hasNullSchema:!1}),u=s||!0===a;if(1===l.length){let e={...i,...l[0]};return u&&(e.nullable=!0),e}if(("oneOf"===t||"anyOf"===t)&&(o||l.some(e=>e.allOf))){let e={[t]:l.map(e=>{let t=ai.D.schema(e);if(t.allOf?.length===1){let{allOf:e,...n}=t;return{...i,...n,...ai.D.schema(e[0])}}return{...i,...t}})};return u&&(e.nullable=!0),e}if(l.length!==n.length){let n={...e,[t]:l};return u&&(n.nullable=!0),n}return{...e}})(e.schema)),n=(0,g.Fl)(()=>e.breadcrumb&&e.name?[...e.breadcrumb,e.name]:void 0),r=(0,g.Fl)(()=>e.compositionPathSegment?[...e.compositionPath??[],e.compositionPathSegment]:e.compositionPath??[]),a=(0,g.Fl)(()=>[...r.value,"items"]),i=(0,g.Fl)(()=>e.level<=2),o=(0,g.Fl)(()=>an(t.value)),l=(0,g.Fl)(()=>d.value.length>0),s=(0,g.Fl)(()=>{let e=t.value;return!!e&&rW(e)&&("properties"in e||"additionalProperties"in e)}),u=(0,g.Fl)(()=>{let e=t.value;return!!(e&&(0,c.w0)(e))&&"object"==typeof e.items&&o.value}),d=(0,g.Fl)(()=>as(t.value)),p=(0,g.Fl)(()=>ac(t.value)),m=(0,g.Fl)(()=>ad(t.value,e.description)),f=(0,g.Fl)(()=>{let e=t.value;if(!e||!m.value||!("description"in e))return e;let{description:n,...r}=e;return r}),h=(0,g.Fl)(()=>ap(t.value,e.name,e.required)),O=(0,g.Fl)(()=>al(t.value)),w=(0,g.Fl)(()=>{let e=t.value;if(e&&(0,c.w0)(e)&&"object"==typeof e.items)return ai.D.schema(e.items)}),k=(0,g.Fl)(()=>!!(e.name&&e.discriminator?.propertyName===e.name));return(o,c)=>
4((0,g.wg)(),(0,g.j4)((0,g.LL)(e.is??"li"),{class:(0,y.C_)(["property",[`property--level-${e.level}`,{"property--compact":e.compact,"property--deprecated":t.value?.deprecated}]])},{default:(0,g.w5)(()=>[h.value?((0,g.wg)(),(0,g.j4)(ih,{key:0,class:"group",enum:l.value,hideModelNames:e.hideModelNames,isDiscriminator:k.value,modelName:e.modelName,required:e.required,value:t.value},(0,g.Nv)({_:2},[e.name?{name:"name",fn:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(r5),{breadcrumb:i.value?n.value:void 0,eventBus:e.eventBus},{default:(0,g.w5)(()=>["patternProperties"===e.variant?((0,g.wg)(),(0,g.iD)("span",ig,[(0,g.Wm)((0,v.SU)(b.ZG),{preset:"property",text:e.name},null,8,["text"])])):"additionalProperties"===e.variant?((0,g.wg)(),(0,g.iD)("span",iv,[(0,g.Wm)((0,v.SU)(b.ZG),{preset:"property",text:e.name},null,8,["text"])])):((0,g.wg)(),(0,g.j4)((0,v.SU)(b.ZG),{key:2,preset:"property",text:e.name},null,8,["text"]))]),_:1},8,["breadcrumb","eventBus"])]),key:"0"}:void 0,t.value?.example!==void 0?{name:"example",fn:(0,g.w5)(()=>[(0,g.Uk)(" Example: "+(0,y.zw)(t.value.example),1)]),key:"1"}:void 0]),1032,["enum","hideModelNames","isDiscriminator","modelName","required","value"])):(0,g.kq)("",!0),m.value||p.value?((0,g.wg)(),(0,g.iD)("div",iy,[(0,g.Wm)((0,v.SU)(b.eV),{value:m.value||p.value||""},null,8,["value"])])):(0,g.kq)("",!0),e.propertyNamesEnum&&e.propertyNamesEnum.length>0?((0,g.wg)(),(0,g.j4)(aG,{key:2,propertyNames:"",value:{enum:e.propertyNamesEnum}},null,8,["value"])):(0,g.kq)("",!0),d.value.length>0?((0,g.wg)(),(0,g.j4)(aG,{key:3,value:t.value},null,8,["value"])):(0,g.kq)("",!0),s.value?((0,g.wg)(),(0,g.iD)("div",ib,[(0,g.Wm)(aI,{breadcrumb:n.value,compact:e.compact,compositionPath:r.value,eventBus:e.eventBus,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:e.noncollapsible,options:e.options,schema:f.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","eventBus","hideModelNames","level","name","noncollapsible","options","schema","schemaContext"])])):(0,g.kq)("",!0),u.value&&w.value?((0,g.wg)(),(0,g.iD)("div",iO,[(0,g.Wm)(aI,{compact:e.compact,compositionPath:a.value,eventBus:e.eventBus,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:e.noncollapsible,options:e.options,schema:(0,v.SU)(ai.D).schema(w.value),schemaContext:e.schemaContext},null,8,["compact","compositionPath","eventBus","hideModelNames","level","name","noncollapsible","options","schema","schemaContext"])])):(0,g.kq)("",!0),((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(O.value,t=>((0,g.wg)(),(0,g.j4)(aL,{key:t.composition,breadcrumb:e.breadcrumb,compact:e.compact,composition:t.composition,compositionPath:r.value,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,g.Wm)((0,v.SU)(nN),{value:t.value},null,8,["value"])]),_:1},8,["class"]))}}),[["__scopeId","data-v-ee3d2806"]]),ik={key:0,class:"properties"},ix={key:1},iS=l((0,g.aZ)({__name:"ClassicLayout",props:{id:{},name:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},options:{}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(rU),{"aria-label":e.schema.title??e.name,modelValue:!e.isCollapsed,"onUpdate:modelValue":n[1]||(n[1]=t=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:t}))},{title:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(rV),{class:"reference-models-anchor",eventBus:e.eventBus,onCopyAnchorUrl:n[0]||(n[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id}))},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nP),{level:3},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(rG),{class:"reference-models-label",name:e.schema.title??e.name,value:e.schema},null,8,["name","value"])]),_:1})]),_:1},8,["eventBus"])]),default:(0,g.w5)(()=>["properties"in e.schema?((0,g.wg)(),(0,g.iD)("div",ik,[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(Object.entries(e.schema.properties??{}),([t,n])=>((0,g.wg)(),(0,g.j4)((0,v.SU)(iw),{key:t,eventBus:e.eventBus,hideModelNames:e.options.hideModels,name:t,options:e.options,required:e.schema.required?.includes(t),schema:(0,v.SU)(ai.D).schema(n)},null,8,["eventBus","hideModelNames","name","options","required","schema"]))),128))])):((0,g.wg)(),(0,g.iD)("div",ix,[(0,g.Wm)((0,v.SU)(iw),{eventBus:e.eventBus,hideModelNames:e.options.hideModels,options:e.options,schema:e.schema},null,8,["eventBus","hideModelNames","options","schema"])]))]),_:1},8,["aria-label","modelValue"]))}
4),[["__scopeId","data-v-5aa6b456"]]),i_=["aria-label"],iE=["id","aria-controls","aria-expanded"],iA=l((0,g.aZ)({__name:"CompactSection",props:{id:{},label:{},modelValue:{type:Boolean}},emits:["update:modelValue","copyAnchorUrl"],setup:(e,{emit:t})=>(n,r)=>((0,g.wg)(),(0,g.iD)("section",{"aria-label":e.label,class:"collapsible-section"},[(0,g._)("button",{id:e.id,"aria-controls":e.id,"aria-expanded":e.modelValue,class:(0,y.C_)(["collapsible-section-trigger",{"collapsible-section-trigger-open":e.modelValue}]),type:"button",onClick:r[1]||(r[1]=n=>t("update:modelValue",!e.modelValue))},[(0,g.Wm)((0,v.SU)(rC.Z),{class:(0,y.C_)(["size-3 transition-transform duration-100",{"rotate-90":e.modelValue}]),weight:"bold"},null,8,["class"]),(0,g.Wm)((0,v.SU)(rV),{class:"collapsible-section-header",onCopyAnchorUrl:r[0]||(r[0]=()=>t("copyAnchorUrl"))},{default:(0,g.w5)(()=>[(0,g.WI)(n.$slots,"heading",{},void 0,!0)]),_:3})],10,iE),e.modelValue?((0,g.wg)(),(0,g.j4)(nO,{key:0,class:"collapsible-section-content",label:e.label},{default:(0,g.w5)(()=>[(0,g.WI)(n.$slots,"default",{},void 0,!0)]),_:3},8,["label"])):(0,g.kq)("",!0)],8,i_))}),[["__scopeId","data-v-999a158a"]]),iT=(0,g.aZ)({__name:"ModernLayout",props:{id:{},name:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},options:{}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(iA),{id:e.id,key:e.name,label:e.name,modelValue:!e.isCollapsed,onCopyAnchorUrl:n[0]||(n[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id})),"onUpdate:modelValue":n[1]||(n[1]=t=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:t}))},{heading:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nP),{level:3},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(rG),{name:e.schema.title??e.name,value:e.schema},null,8,["name","value"])]),_:1})]),default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.Zf),null,{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(aI),{eventBus:e.eventBus,hideModelNames:e.options.hideModels,hideHeading:"",level:1,noncollapsible:"",options:e.options,schema:e.schema},null,8,["eventBus","hideModelNames","options","schema"])]),_:1})]),_:1},8,["id","label","modelValue"]))}),iD=(0,g.aZ)({__name:"Model",props:{id:{},name:{},options:{},schema:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){let t=(0,g.AE)("section");return eM(t,()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id})),(n,r)=>e.schema?((0,g.wg)(),(0,g.iD)("div",{key:0,ref_key:"section",ref:t},["classic"===e.options.layout?((0,g.wg)(),(0,g.j4)(iS,{key:0,id:e.id,eventBus:e.eventBus,isCollapsed:e.isCollapsed,name:e.name,options:e.options,schema:e.schema},null,8,["id","eventBus","isCollapsed","name","options","schema"])):((0,g.wg)(),(0,g.j4)(iT,{key:1,id:e.id,eventBus:e.eventBus,isCollapsed:e.isCollapsed,name:e.name,options:e.options,schema:e.schema},null,8,["id","eventBus","isCollapsed","name","options","schema"]))],512)):(0,g.kq)("",!0)}}),iC={class:"section-accordion-wrapper"},i$={class:"section-accordion-title"},iP=l((0,g.aZ)({__name:"SectionContainerAccordion",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup:(e,{emit:t})=>(n,r)=>((0,g.wg)(),(0,g.iD)("section",iC,[(0,g.Wm)((0,v.SU)(rD.pJ),{as:"div",class:"section-accordion"},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(rD.lG),{class:"section-accordion-button",onClick:r[0]||(r[0]=n=>t("update:modelValue",!e.modelValue))},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(rC.Z),{class:(0,y.C_)(["section-accordion-chevron size-5 transition-transform",{"rotate-90":e.modelValue}])},null,8,["class"]),(0,g._)("div",i$,[(0,g.WI)(n.$slots,"title",{},void 0,!0)])]),_:3}),e.modelValue?((0,g.wg)(),(0,g.j4)((0,v.SU)(rD.V2),{key:0,class:"section-accordion-content",static:""},{default:(0,g.w5)(()=>[(0,g.WI)(n.$slots,"default",{},void 0,!0)]),_:3})):(0,g.kq)("",!0)]),_:3})]))}),[["__scopeId","data-v-9419dd23"]]),iI={class:"show-more",type:"button"},iN=l((0,g.aZ)({__name:"ShowMoreButton",setup:e=>(e,t)=>((0,g.wg)(),(0,g.iD)("button",iI,[t[0]||(t[0]=(0,g.Uk)(" Show More ",-1)),(0,g.Wm)((0,v.SU)(tQ.Z),{class:"text-c-2 mt-0.25 size-3",weight:"bold"})]))}),[["__scopeId","data-v-d1c2b649"]]),iU=(0,g.aZ)({__name:"ModelTag",props:{id:{},isCollapsed:{type:Boolean},eventBus:{},layout:{}},setup:e=>(t,n)=>"modern"===e.layout?((0,g.wg)(),(0,g.j4)(nE,{key:0,id:"model"},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nO),{id:e.id,"aria-label":"Models",onIntersecting:n[1]||(n[1]=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id}))},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(n$),null,{default:(0,g.w5)(()=>[(0,g.Wm)(nP,{level:2},{default:(0,g.w5)(()=>[...n[3]||(n[3]=[(0,g.Uk)(" Models ",-1)])]),_:1})]),_:1}),e.isCollapsed?((0,g.wg)(),(0,g.j4)(iN,{key:1,id:e.id,class:"top-0",onClick:n[0]||(n[0]=()=>e.eventBus.emit("toggle:nav-item",{id:e.id,open:!0}))},null,8,["id"])):(0,g.WI)(t.$slots,"default",{key:0})]),_:3},8,["id"])]),_:3})):((0,g.wg)(),(0,g.j4)(iP,{key:1,"aria-label":"Models",class:"pb-12",modelValue:!e.isCollapsed,"onUpdate:modelValue":n[2]||(n[2]=()=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:e.isCollapsed}))},{title:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(n$),{level:2},{default:(0,g.w5)(()=>[...n[4]||(n[4]=[(0,g.Uk)("Models",-1)])]),_:1})]),default:(0,g.w5)(()=>[(0,g.WI)(t.$slots,"default")]),_:3},8,["modelValue"]))}),iM=l((0,g.aZ)({__name:"ClassicLayout",props:{tag:{},isCollapsed:{type:Boolean},eventBus:{}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(iP),{"aria-label":e.tag.title,class:(0,y.
4C_)(["tag-section",{"tag-section-group":e.tag.isGroup}]),modelValue:!e.isCollapsed,"onUpdate:modelValue":n[1]||(n[1]=t=>e.eventBus?.emit("toggle:nav-item",{id:e.tag.id,open:t}))},{title:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(n$),{class:(0,y.C_)(["tag-name",{"tag-group-name":e.tag.isGroup}])},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(rV),{onCopyAnchorUrl:n[0]||(n[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.tag.id}))},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nP),{level:2},{default:(0,g.w5)(()=>[(0,g.Uk)((0,y.zw)(e.tag.title),1)]),_:1})]),_:1})]),_:1},8,["class"]),(0,g.Wm)((0,v.SU)(b.eV),{class:"tag-description",value:e.tag?.description,withImages:""},null,8,["value"])]),default:(0,g.w5)(()=>[(0,g.WI)(t.$slots,"default",{},void 0,!0)]),_:3},8,["aria-label","class","modelValue"]))}),[["__scopeId","data-v-d4f47ce7"]]),iR=(0,g.aZ)({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=(0,g.Fl)(()=>(0,t1.i)(String(e.method||""))),n=(0,g.Fl)(()=>(0,t2.f)(e.method));return(r,a)=>((0,g.wg)(),(0,g.j4)((0,g.LL)(e.as??"span"),{class:"uppercase",style:(0,y.j5)({[e.property||"color"]:t.value.colorVar})},{default:(0,g.w5)(()=>[(0,g.WI)(r.$slots,"default"),(0,g.Uk)(" "+(0,y.zw)(e.short?t.value.short:n.value),1)]),_:3},8,["style"]))}}),ij=n(26373),iL=l((0,g.aZ)({__name:"OperationsListItem",props:{operation:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){let t=(0,g.Fl)(()=>"path"in e.operation?e.operation.path:e.operation.title),n=e=>"webhook"===e.type;return(r,a)=>((0,g.wg)(),(0,g.iD)("li",{key:e.operation.id,class:"contents"},[e.isCollapsed?((0,g.wg)(),(0,g.j4)((0,v.SU)(nP),{key:0,class:"sr-only",level:3},{default:(0,g.w5)(()=>[(0,g.Uk)((0,y.zw)(e.operation.title)+" (Hidden) ",1)]),_:1})):(0,g.kq)("",!0),(0,g._)("a",{class:"endpoint",onClick:a[0]||(a[0]=(0,ee.iM)(()=>e.eventBus?.emit("scroll-to:nav-item",{id:e.operation.id}),["prevent"]))},[(0,g.Wm)((0,v.SU)(iR),{class:"endpoint-method items-center justify-end gap-2",method:e.operation.method},{default:(0,g.w5)(()=>[n(e.operation)?((0,g.wg)(),(0,g.j4)((0,v.SU)(ij.Z),{key:0,class:"size-3.5",style:(0,y.j5)({color:(0,v.SU)(t1.i)(e.operation.method).colorVar})},null,8,["style"])):(0,g.kq)("",!0)]),_:1},8,["method"]),(0,g._)("span",{class:(0,y.C_)(["endpoint-path",{deprecated:e.operation.isDeprecated}])},(0,y.zw)(t.value),3)])]))}}),[["__scopeId","data-v-ad8530a6"]]),iZ=["aria-label"],iB=l((0,g.aZ)({__name:"OperationsList",props:{tag:{},eventBus:{}},setup(e){let t=(0,g.Fl)(()=>e.tag.children?.filter(e=>"operation"===e.type||"webhook"===e.type)??[]);return(n,r)=>e.tag.children&&e.tag.children?.length>0?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.ZN),{key:0,class:"endpoints-card"},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.A_),{muted:""},{default:(0,g.w5)(()=>[(0,g.Wm)(rR,null,{default:(0,g.w5)(()=>[(0,g.Uk)((0,y.zw)(e.tag.title),1)]),_:1}),(0,g.Uk)(" "+(0,y.zw)(e.tag.isWebhooks?"Webhooks":"Operations"),1)]),_:1}),(0,g.Wm)((0,v.SU)(b.US),{class:"custom-scroll max-h-[60vh]"},{default:(0,g.w5)(()=>[(0,g._)("ul",{"aria-label":`${e.tag.title} endpoints`,class:"endpoints"},[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(t.value,t=>((0,g.wg)(),(0,g.j4)(iL,{key:t.id,eventBus:e.eventBus,operation:t},null,8,["eventBus","operation"]))),128))],8,iZ)]),_:1})]),_:1})):(0,g.kq)("",!0)}}),[["__scopeId","data-v-f726f753"]]),iz=(0,g.aZ)({__name:"TagSection",props:{tag:{},headerId:{},isCollapsed:{type:Boolean},isLoading:{type:Boolean},eventBus:{}},setup:e=>(t,n)=>e.tag?((0,g.wg)(),(0,g.j4)((0,v.SU)(nO),{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,g.w5)(()=>[(0,g.wy)((0,g.Wm)((0,v.SU)(n$),null,{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(rV),{onCopyAnchorUrl:n[0]||(n[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.tag.id}))},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nP),{id:e.headerId,level:2},{default:(0,g.w5)(()=>[(0,g.Uk)((0,y.zw)(e.tag.title)+" ",1),e.isCollapsed?((0,g.wg)(),(0,g.j4)(rR,{key:0},{default:(0,g.w5)(()=>[...n[2]||(n[2]=[(0,g.Uk)(" (Collapsed)",-1)])]),_:1})):(0,g.kq)("",!0)]),_:1},8,["id"])]),_:1})]),_:1},512),[[ee.F8,!e.isLoading]]),(0,g.Wm)((0,v.SU)(nD),{loading:e.isLoading},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nS),null,{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nk),null,{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.eV),{clamp:e.isCollapsed?7:void 0,value:e.tag?.description??"",withImages:""},null,8,["clamp","value"])]),_:1}),(0,g.Wm)((0,v.SU)(nk),null,{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(iB),{eventBus:e.eventBus,tag:e.tag},null,8,["eventBus","tag"])]),_:1})]),_:1})]),_:1},8,["loading"]),(0,g.Wm)((0,v.SU)(nN),{value:e.tag.xKeys},null,8,["value"])]),_:1},8,["id"])):(0,g.kq)("",!0)}),iF={key:2,class:"contents divide-y"},iQ=l((0,g.aZ)({__name:"ModernLayout",props:{tag:{},moreThanOneTag:{type:Boolean},isLoading:{type:Boolean},isCollapsed:{type:Boolean},eventBus:{}},setup(e){let t=(0,g.Me)(),n=(0,g.Fl)(()=>e.moreThanOneTag||e.tag?.title!=="default"||e.tag?.description!==""),r=(0,g.Fl)(()=>(e.tag?.children?.length??0)>0);return(a,i)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(nE),{"aria-labelledby":(0,v.SU)(t),class:"tag-section-container",role:"region"},{default:(0,g.w5)(()=>[n.value?((0,g.wg)(),(0,g.j4)(iz,{key:0,eventBus:e.eventBus,headerId:(0,v.SU)(t),isCollapsed:e.isCollapsed,isLoading:e.isLoading,tag:e.tag},null,8,["eventBus","headerId","isCollapsed","isLoading","tag"])):(0,g.kq)("",!0),e.isCollapsed&&e.moreThanOneTag&&r.value?((0,g.wg)(),(0,g.j4)(iN,{key:1,id:e.tag.id,"aria-label":`Show all ${e.tag.title} endpoints`,onClick:i[0]||(i[0]=()=>e.eventBus?.emit("toggle:nav-item",{id:e.tag.id,open:!0}))},null,8,["id","aria-label"])):(0,g.kq)("",!0),e.isCollapsed&&e.moreThanOneTag?(0,g.kq)("",!0):((0,g.wg)(),(0,g.iD)("div",iF,[(0,g.WI)(a.$slots,"default",{},void 0,!0)]))]),_:3},8,["aria-labelledby"]))}}),[["__scopeId","data-v-8f1a275c"]]),iH=(0,g.aZ)({__name:"Tag",props:{tag:{},layout:{},moreThanOneTag:{type:Boolean},isLoading:{type:Boolean},isCollapsed:{type:Boolean},eventBus:{}},setup:e=>(t,n)=>"classic"===e.layout?((0,g.wg)(),(0,g.j4)(iM,{key:0,eventBus:e.eventBus,isCollapsed:e.isCollapsed,layout:e.layout,tag:e.tag},{default:(0,g.w5)(()=>[(0,g.WI)(t.$slots,"default")]),_:3},8,["eventBus","isCollapsed","layout","tag"])):((0,g.wg)(),(0,g.j4)(iQ,{key:1,eventBus:e.eventBus,isCollapsed:e.isCollapsed,isLoading:e.isLoading,layout:e.layout,moreThanOneTag:e.moreThanOneTag,tag:e.tag},{default:(0,g.w5)(()=>[(0,g.WI)(t.$slots,"default")]),_:3},8,["eventBus","isCollapsed","isLoading","layout","moreThanOneTag","tag"]))}
4),iq=["id","data-placeholder"],iV=(0,g.aZ)({__name:"Lazy",props:{id:{},expanded:{type:Boolean,default:!1}},setup(e){var t;let{isReady:n}=(t=e.id,(0,g.Jd)(()=>{tg(t)}),{isReady:(0,g.Fl)(()=>"undefined"==typeof window||e7.has(t)||te.has(t))}),r=(0,v.iH)(null),a=(0,v.iH)(to(e.id)??760),i=null,o=(0,g.Fl)(()=>n.value||e.expanded);return(0,g.bv)(()=>{if("undefined"!=typeof window){if(!("IntersectionObserver"in window)){tf(e.id,!0);return}(0,eU.S1d)(r,([t])=>{t?.isIntersecting&&!n.value&&tf(e.id,!0)},{rootMargin:"1200px 0px"})}}),(0,g.YP)(()=>o.value,(t,n)=>{if(n&&!t&&r.value){let t=r.value.offsetHeight;Number.isFinite(t)&&t>0&&(a.value=t,tl(e.id,t))}},{flush:"pre"}),(0,g.YP)(()=>o.value,t=>{if(!t){i?.disconnect(),i=null;return}(0,g.Y3)(()=>{if(!r.value||"undefined"==typeof ResizeObserver)return;i||(i=new ResizeObserver(()=>{if(!r.value)return;let t=r.value.offsetHeight;Number.isFinite(t)&&t>0&&(a.value=t,tl(e.id,t))})),i.observe(r.value);let t=r.value.offsetHeight;Number.isFinite(t)&&t>0&&(a.value=t,tl(e.id,t))})},{immediate:!0}),(0,g.Jd)(()=>{i?.disconnect()}),(t,n)=>((0,g.wg)(),(0,g.iD)("div",{id:o.value?void 0:e.id,ref_key:"lazyContainerRef",ref:r,"data-placeholder":!o.value,"data-testid":"lazy-container",style:(0,y.j5)({height:o.value?void 0:`${a.value}px`})},[o.value?(0,g.WI)(t.$slots,"default",{key:0}):(0,g.kq)("",!0)],12,iq))}}),iW=e=>Object.keys(e).sort().join(","),iX=(e,t,n,r,a={})=>{let i=t?.security??e.security??[],o=(0,f.Yg)(n,r,i),l=new Set(i.map(e=>iW(e))),s=o.selectedSchemes[o.selectedIndex];if(s&&l.has(iW(s)))return(0,f.i5)(a,s);for(let e of o.selectedSchemes)if(l.has(iW(e)))return(0,f.i5)(a,e);return t?.security?.length?(0,f.i5)(a,i[0]??{}):[]},iY=(...e)=>{for(let t of e)if(t){if(!Array.isArray(t)){let e=(0,u.n)(t);if(e?.url)return e;continue}for(let e of t){let t=(0,u.n)(e);if(t?.url)return t}}return null},iG={key:0},iK=l((0,g.aZ)({__name:"OperationPath",props:{path:{},deprecated:{type:Boolean}},setup(e){let t=e=>e.startsWith("{")&&e.endsWith("}"),n=(0,g.Fl)(()=>e.path.split(/({[^}]+})/));return(r,a)=>((0,g.wg)(),(0,g.iD)("span",{class:(0,y.C_)(["operation-path",{deprecated:e.deprecated}])},[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(n.value,(e,n)=>((0,g.wg)(),(0,g.iD)(g.HY,{key:n},[t(e)?((0,g.wg)(),(0,g.iD)("em",iG,(0,y.zw)(e),1)):((0,g.wg)(),(0,g.iD)(g.HY,{key:1},[(0,g.Uk)((0,y.zw)(e),1)],64))],64))),128))],2))}}),[["__scopeId","data-v-ec6c8861"]]),iJ=n(23362),i0=(0,g.aZ)({__name:"ExampleSchema",props:{id:{},schema:{}},setup(e){let t=(0,g.Fl)(()=>
4{if(e.schema)return(0,iJ.W)((0,tV.c)(e.schema))}),n=(0,g.Fl)(()=>(t.value?.length??0)>2e4);return(r,a)=>n.value?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.NG),{key:1,id:e.id,containerClass:"custom-scroll scalar-code-block border rounded-b flex flex-1 max-h-screen",contentClass:"language-plaintext whitespace-pre font-code text-base",lineHeight:20,text:t.value??""},null,8,["id","text"])):((0,g.wg)(),(0,g.j4)((0,v.SU)(b.LS),{key:0,id:e.id,class:"bg-b-2",lang:"json",prettyPrintedContent:t.value??""},null,8,["id","prettyPrintedContent"]))}}),i1={key:2,class:"empty-state"},i2=l((0,g.aZ)({__name:"ExampleResponse",props:{response:{},example:{}},setup(e){let t=()=>void 0!==e.example?tV.c(e.example)?.value??"":e.response?.schema?(0,f.$k)((0,tV.c)(e.response.schema),{emptyString:"string",mode:"read"}):void 0,n=(0,g.Fl)(()=>{let e=t();if(void 0!==e)return(0,iJ.W)(e)}),r=(0,g.Fl)(()=>void 0!==n.value&&n.value.length>2e4);return(e,t)=>void 0===n.value||r.value?void 0!==n.value&&r.value?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.NG),{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",lineHeight:20,text:n.value},null,8,["text"])):((0,g.wg)(),(0,g.iD)("div",i1," No Body ")):((0,g.wg)(),(0,g.j4)((0,v.SU)(b.LS),{key:0,class:"bg-b-2",lang:"json",prettyPrintedContent:n.value},null,8,["prettyPrintedContent"]))}}),[["__scopeId","data-v-87500bd9"]]),i4=l((0,g.aZ)({__name:"ExampleResponseTab",setup:e=>(e,t)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(tB),{as:"template"},{default:(0,g.w5)(({selected:t})=>[(0,g._)("button",{class:(0,y.C_)(["tab",{"tab-selected":t}]),type:"button"},[(0,g._)("span",null,[(0,g.WI)(e.$slots,"default",{},void 0,!0)])],2)]),_:3}))}),[["__scopeId","data-v-804dba49"]]),i8=l((0,g.aZ)({__name:"ExampleResponseTabList",emits:["change"],setup(e,{emit:t}){let n=e=>{t("change",e)};return(e,t)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(b.A_),{class:"scalar-card-header scalar-card-header-tabs"},{actions:(0,g.w5)(()=>[(0,g.WI)(e.$slots,"actions",{},void 0,!0)]),default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(tL),{onChange:n},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(tZ),{class:"tab-list custom-scroll"},{default:(0,g.w5)(()=>[(0,g.WI)(e.$slots,"default",{},void 0,!0)]),_:3})]),_:3})]),_:3}))}}),[["__scopeId","data-v-fec8fbbb"]]);function i6(e){if(!e)return e;let t={...e};return Object.entries(t).forEach(([e,n])=>{let r=function(e){if("string"==typeof e)return e.replace(/;.*$/,"").replace(/\/(?!.*vnd\.|fhir\+).*\+/,"/").trim()}(e);r&&(t[r]=n)}),t}var i3={key:1,class:"scalar-card-checkbox"},i5=["aria-controls"],i7={class:"response-description"},i9=l((0,g.aZ)({__name:"ExampleResponses",props:{responses:{}},setup(e){let t=(0,g.Me)(),{copyToClipboard:n}=(0,eS.V)(),r=(0,g.Fl)(()=>Object.keys(e.responses??{}).sort()),a=(0,g.Fl)(()=>r.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 n=i6(e?.content),r=(0,av.Y)(n??{});return function(e){if(!e)return!1;let t=!!e.schema,n="example"in e&&null!==e.example,r=!!e.examples;return t||n||r}(n?.["application/json"]??n?.["application/xml"]??n?.["text/plain"]??n?.["text/html"]??n?.["*/*"]??n?.[r[0]??""])})((0,u.n)(e.responses?.[t]),t))),i=(0,v.iH)(0);(0,g.YP)(a,e=>{0===e.length?(i.value=0,c.value=""):i.value>=e.length&&(i.value=e.length-1,c.value="")});let o=(0,g.Fl)(()=>{let t=(0,v.Tn)(a)[(0,v.Tn)(i)]??"";return(0,u.n)(e.responses?.[t])}),l=(0,g.Fl)(()=>{let e=i6(o.value?.content),t=(0,av.Y)(e??{});return e?.[t[0]??""]}),s=(0,g.Fl)(()=>!!l.value?.examples&&Object.keys(l.value?.examples??{}).length>1),c=(0,v.iH)(Object.keys(l.value?.examples??{})[0]??""),d=(0,g.Fl)(()=>
4{if(l.value)return s.value&&c.value?l.value.examples?.[c.value]:(0,f.W7)(l.value,void 0,void 0)}),p=e=>{i.value=e,c.value=""},m=(0,v.iH)(!1);return(e,r)=>a.value.length?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.ZN),{key:0,"aria-label":"Example Responses",class:"response-card",role:"region"},{default:(0,g.w5)(()=>[(0,g.Wm)(i8,{onChange:p},{actions:(0,g.w5)(()=>[l.value?.example?((0,g.wg)(),(0,g.iD)("button",{key:0,class:"code-copy",type:"button",onClick:r[0]||(r[0]=()=>(0,v.SU)(n)(l.value?.example))},[(0,g.Wm)((0,v.SU)(b.sN),{icon:"Clipboard",width:"12px"})])):(0,g.kq)("",!0),l.value?.schema?((0,g.wg)(),(0,g.iD)("label",i3,[r[4]||(r[4]=(0,g.Uk)(" Show Schema ",-1)),(0,g.wy)((0,g._)("input",{"onUpdate:modelValue":r[1]||(r[1]=e=>m.value=e),"aria-controls":(0,v.SU)(t),class:"scalar-card-checkbox-input",type:"checkbox"},null,8,i5),[[ee.e8,m.value]]),r[5]||(r[5]=(0,g._)("span",{class:"scalar-card-checkbox-checkmark"},null,-1))])):(0,g.kq)("",!0)]),default:(0,g.w5)(()=>[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(a.value,e=>((0,g.wg)(),(0,g.j4)(i4,{key:e,"aria-controls":(0,v.SU)(t)},{default:(0,g.w5)(()=>[(0,g.Wm)(rR,null,{default:(0,g.w5)(()=>[...r[3]||(r[3]=[(0,g.Uk)("Status:",-1)])]),_:1}),(0,g.Uk)(" "+(0,y.zw)(e),1)]),_:2},1032,["aria-controls"]))),128))]),_:1}),(0,g.Wm)((0,v.SU)(b.US),{class:"grid flex-1"},{default:(0,g.w5)(()=>[l.value?.schema&&m.value?((0,g.wg)(),(0,g.j4)(i0,{key:0,id:(0,v.SU)(t),schema:l.value?.schema},null,8,["id","schema"])):((0,g.wg)(),(0,g.j4)(i2,{key:1,id:(0,v.SU)(t),example:d.value,response:l.value},null,8,["id","example","response"]))]),_:1}),o.value?.description||s.value?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.r5),{key:0,class:"response-card-footer"},{default:(0,g.w5)(()=>[s.value?((0,g.wg)(),(0,g.j4)((0,v.SU)(tq),{key:0,modelValue:c.value,"onUpdate:modelValue":r[2]||(r[2]=e=>c.value=e),class:"response-example-selector px-0",examples:l.value?.examples},null,8,["modelValue","examples"])):(0,g.kq)("",!0),(0,g._)("div",i7,[o.value?.description?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.eV),{key:0,class:"response-description-markdown",value:o.value.description},null,8,["value"])):(0,g.kq)("",!0)])]),_:1})):(0,g.kq)("",!0)]),_:1})):(0,g.kq)("",!0)}}),[["__scopeId","data-v-4e56e3cf"]]),oe=e=>!!(e?.["x-internal"]||e?.["x-scalar-ignore"]),ot=(0,g.aZ)({inheritAttrs:!1,__name:"ContentTypeSelect",props:(0,g.Vf)({content:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,g.tT)(e,"modelValue"),n=(0,g.Fl)(()=>Object.keys(e.content??{})),r=(0,g.Fl)({get:()=>a.value.find(e=>e.id===t.value),set:e=>{e&&(t.value=e.id)}}),a=(0,g.Fl)(()=>n.value.map(e=>({id:e,label:e}))),i=(0,b.jS)({base:"font-normal text-c-2 bg-b-1 py-1 flex items-center gap-1 rounded-full text-xs leading-none border",variants:{dropdown:{true:"hover:text-c-1 pl-2 pr-1.5 font-medium cursor-pointer",false:"px-2"}}});return(e,o)=>n.value.length>1?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.N1),{key:0,modelValue:r.value,"onUpdate:modelValue":o[1]||(o[1]=e=>r.value=e),options:a.value,placement:"bottom-end",teleport:"",onClick:o[2]||(o[2]=(0,ee.iM)(()=>{},["stop"]))},{default:(0,g.w5)(({open:n})=>[(0,g.Wm)((0,v.SU)(b.Xk),(0,g.dG)({class:["h-fit",(0,v.SU)(i)({dropdown:!0})],variant:"ghost"},e.$attrs,{onClick:o[0]||(o[0]=(0,ee.iM)(()=>{},["stop"]))}),{default:(0,g.w5)(()=>[(0,g.Wm)(rR,null,{default:(0,g.w5)(()=>[...o[3]||(o[3]=[(0,g.Uk)("Selected Content Type:",-1)])]),_:1}),(0,g._)("span",null,(0,y.zw)(t.value),1),(0,g.Wm)((0,v.SU)(tQ.Z),{class:(0,y.C_)(["size-2.75 transition-transform duration-100",{"rotate-180":n}]),weight:"bold"},null,8,["class"])]),_:2},1040,["class"])]),_:1},8,["modelValue","options"])):((0,g.wg)(),(0,g.iD)("div",(0,g.dG)({key:1,class:["selected-content-type",(0,v.SU)(i)({dropdown:!1})]},e.$attrs,{tabindex:"0"}),[(0,g._)("span",null,(0,y.zw)(t.value),1)],16))}}),on=(0,g.aZ)({__name:"Header",props:{header:{},name:{},breadcrumb:{},eventBus:{},orderSchemaPropertiesBy:{},orderRequiredPropertiesFirst:{type:Boolean}},setup:e=>(t,n)=>"schema"in e.header&&e.header.schema?((0,g.wg)(),(0,g.j4)(iw,{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},schema:(0,v.SU)(u.n)(e.header.schema)},null,8,["breadcrumb","description","eventBus","name","options","schema"])):(0,g.kq)("",!0)}),or=l((0,g.aZ)({__name:"Headers",props:{headers:{},breadcrumb:{},eventBus:{},orderRequiredPropertiesFirst:{type:Boolean},orderSchemaPropertiesBy:{}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(rD.pJ),null,{default:(0,g.w5)(({open:t})=>
4[(0,g._)("div",{class:(0,y.C_)(["headers-card headers-card--compact",[{"headers-card--open":t}]])},[(0,g._)("div",{class:(0,y.C_)(["headers-properties",{"headers-properties-open":t}])},[(0,g.Wm)((0,v.SU)(rD.lG),{class:"headers-card-title headers-card-title--compact",style:{top:"calc(var(--refs-viewport-offset)))"}},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.sN),{class:(0,y.C_)(["headers-card-title-icon",{"headers-card-title-icon--open":t}]),icon:"Add",size:"sm"},null,8,["class"]),t?((0,g.wg)(),(0,g.iD)(g.HY,{key:0},[(0,g.Uk)(" Hide Headers ")],64)):((0,g.wg)(),(0,g.iD)(g.HY,{key:1},[(0,g.Uk)(" Show Headers ")],64))]),_:2},1024),(0,g.Wm)((0,v.SU)(rD.V2),null,{default:(0,g.w5)(()=>[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(e.headers,(t,n)=>((0,g.wg)(),(0,g.j4)(on,{key:n,breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,eventBus:e.eventBus,header:(0,v.SU)(u.n)(t),name:n,orderRequiredPropertiesFirst:e.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.orderSchemaPropertiesBy},null,8,["breadcrumb","eventBus","header","name","orderRequiredPropertiesFirst","orderSchemaPropertiesBy"]))),128))]),_:1})],2)],2)]),_:1}))}),[["__scopeId","data-v-ab19704d"]]),oa={class:"parameter-item group/parameter-item"},oi={class:"parameter-item-name min-w-0"},oo={key:1,class:"flex-1"},ol=l((0,g.aZ)({__name:"ParameterListItem",props:{parameter:{},name:{},breadcrumb:{},eventBus:{},collapsableItems:{type:Boolean},options:{}},setup(e){let t=(0,v.iH)(!1),n=(0,g.Fl)(()=>"schema"in e.parameter&&e.parameter.schema?(0,u.n)(e.parameter.schema):null),r=(0,g.Fl)(()=>"content"in e.parameter&&e.parameter.content&&0!==Object.keys(e.parameter.content).length?e.parameter.content:null),a=(0,v.iH)(Object.keys(r.value||{})[0]??""),i=(0,g.Fl)(()=>"headers"in e.parameter&&e.parameter.headers?e.parameter.headers:null),o=(0,g.Fl)(()=>r.value?r.value?.[a.value]?.schema:"schema"in e.parameter&&e.parameter.schema?e.parameter.schema:null),l=(0,g.Fl)(()=>{let e=o.value;return e&&"$ref"in e?aS(e.$ref):null}),s=(0,g.Fl)(()=>
4{let t=o.value,i=r.value?(0,u.n)(t):n.value,l="deprecated"in e.parameter?e.parameter.deprecated:n.value?.deprecated,s=Object.values({..."examples"in e.parameter?e.parameter.examples:{},...r.value?.[a.value]?.examples}),c=n.value?.examples??(0===s.length&&"example"in e.parameter?[e.parameter.example]:[]),d=[...s,...c];return{...i,deprecated:l,examples:d}}),c=(0,g.Fl)(()=>!!(r.value||i.value||n.value||t.value));return(n,o)=>((0,g.wg)(),(0,g.iD)("li",oa,[(0,g.Wm)((0,v.SU)(rD.pJ),null,{default:(0,g.w5)(({open:n})=>[e.collapsableItems?((0,g.wg)(),(0,g.j4)((0,g.LL)(c.value?(0,v.SU)(rD.lG):"div"),{key:0,class:(0,y.C_)(["parameter-item-trigger",{"parameter-item-trigger-open":n}])},{default:(0,g.w5)(()=>[(0,g._)("div",oi,[c.value?((0,g.wg)(),(0,g.j4)((0,v.SU)(rC.Z),{key:0,class:(0,y.C_)(["parameter-item-icon size-3 transition-transform duration-100",{"rotate-90":n}]),weight:"bold"},null,8,["class"])):(0,g.kq)("",!0),(0,g._)("div",null,[(0,g.Wm)((0,v.SU)(b.ZG),{preset:"property",text:e.name},null,8,["text"])])]),!n&&e.parameter.description?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.PG),{key:0,truncated:t.value,"onUpdate:truncated":o[0]||(o[0]=e=>t.value=e),class:"parameter-item-description-summary min-w-0 flex-1",controlled:"",value:e.parameter.description},null,8,["truncated","value"])):((0,g.wg)(),(0,g.iD)("div",oo))]),_:2},1032,["class"])):(0,g.kq)("",!0),c.value&&r.value?((0,g.wg)(),(0,g.iD)("div",{key:1,class:(0,y.C_)(["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":!n}])},[o[2]||(o[2]=(0,g._)("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,g.Wm)(ot,{modelValue:a.value,"onUpdate:modelValue":o[1]||(o[1]=e=>a.value=e),content:r.value},null,8,["modelValue","content"])],2)):(0,g.kq)("",!0),(0,g.Wm)((0,v.SU)(rD.V2),{class:"parameter-item-container parameter-item-container-markdown",static:!e.collapsableItems},{default:(0,g.w5)(()=>[e.collapsableItems&&e.parameter.description?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.eV),{key:0,class:"parameter-item-description",value:e.parameter.description},null,8,["value"])):(0,g.kq)("",!0),i.value?((0,g.wg)(),(0,g.j4)(or,{key:1,breadcrumb:e.breadcrumb,eventBus:e.eventBus,headers:i.value,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},null,8,["breadcrumb","eventBus","headers","orderRequiredPropertiesFirst","orderSchemaPropertiesBy"])):(0,g.kq)("",!0),(0,g.Wm)(iw,{is:"div",breadcrumb:e.breadcrumb,compact:"",description:e.collapsableItems?"":e.parameter.description,eventBus:e.eventBus,hideWriteOnly:!0,modelName:l.value,name:e.collapsableItems?"":e.name,noncollapsible:!0,options:{hideWriteOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},required:"required"in e.parameter&&e.parameter.required,schema:s.value},null,8,["breadcrumb","description","eventBus","modelName","name","options","required","schema"])]),_:1},8,["static"])]),_:1})]))}}),[["__scopeId","data-v-193ffce1"]]),os={key:0,class:"mt-6"},ou=["id"],oc=["aria-labelledby"],od=(0,g.aZ)({__name:"ParameterList",props:{parameters:{},breadcrumb:{},eventBus:{},collapsableItems:{type:Boolean},options:{}},setup(e){let t=(0,g.Me)();return(n,r)=>e.parameters?.length?((0,g.wg)(),(0,g.iD)("div",os,[(0,g._)("div",{id:(0,v.SU)(t),class:"text-c-1 mt-3 mb-3 text-lg leading-[1.45] font-medium"},[(0,g.WI)(n.$slots,"title")],8,ou),(0,g._)("ul",{"aria-labelledby":(0,v.SU)(t),class:"mb-3 list-none p-0 text-sm"},[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(e.parameters,t=>((0,g.wg)(),(0,g.j4)(ol,{key:t.name,breadcrumb:e.breadcrumb,collapsableItems:e.collapsableItems,eventBus:e.eventBus,name:t.name,options:e.options,parameter:t},null,8,["breadcrumb","collapsableItems","eventBus","name","options","parameter"]))),128))],8,oc)])):(0,g.kq)("",!0)}}),op={key:0,"aria-label":"Request Body",class:"request-body",role:"group"},om={class:"request-body-header"},of={class:"request-body-title"},oh={key:0,class:"text-c-2 text-xs leading-none font-normal","data-testid":"request-body-schema-name"},og={class:"flex items-center gap-2"},ov={key:0,class:"request-body-required"}
4,oy={key:0,class:"request-body-description"},ob={key:0,class:"request-body-schema"},oO={key:1,class:"request-body-schema"},ow=l((0,g.aZ)({__name:"RequestBody",props:(0,g.Vf)({breadcrumb:{},requestBody:{},eventBus:{},options:{}},{selectedContentType:{default:"application/json"},selectedContentTypeModifiers:{}}),emits:["update:selectedContentType"],setup(e){let t=(0,g.Fl)(()=>Object.keys(e.requestBody?.content??{})),n=(0,g.tT)(e,"selectedContentType");e.requestBody?.content&&t.value[0]&&(n.value=t.value[0]);let r=(0,g.Fl)(()=>e.requestBody?.content?.[n.value]?.schema),a=(0,g.Fl)(()=>(0,u.n)(r.value)),i=(0,g.Fl)(()=>(r.value&&a_(r.value))??null),o=(0,g.Fl)(()=>{if(!a.value||!rW(a.value))return null;let t=aT(a.value,a.value.discriminator,{hideReadOnly:!0,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst});if(t.length<=12)return null;let{properties:n,...r}=a.value;return n?{visibleProperties:{...r,properties:aA(t.slice(0,12),n)},collapsedProperties:{...r,properties:aA(t.slice(12),n)}}:null}),l=(0,g.Fl)(()=>Object.keys(e.requestBody?.content??{}).length>0||e.requestBody?.description||e.requestBody?.required);return(t,r)=>e.requestBody&&l.value?((0,g.wg)(),(0,g.iD)("div",op,[(0,g._)("div",om,[(0,g._)("div",of,[(0,g.WI)(t.$slots,"title",{},void 0,!0),i.value?((0,g.wg)(),(0,g.iD)("span",oh,[r[1]||(r[1]=(0,g._)("span",{class:"text-c-3 mx-1.5"},"\xb7",-1)),(0,g.Uk)((0,y.zw)(i.value),1)])):(0,g.kq)("",!0)]),(0,g._)("div",og,[e.requestBody.required?((0,g.wg)(),(0,g.iD)("div",ov," required ")):(0,g.kq)("",!0),(0,g.Wm)(ot,{modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=e=>n.value=e),content:e.requestBody.content},null,8,["modelValue","content"])]),e.requestBody.description?((0,g.wg)(),(0,g.iD)("div",oy,[(0,g.Wm)((0,v.SU)(b.eV),{value:e.requestBody.description},null,8,["value"])])):(0,g.kq)("",!0)]),o.value?((0,g.wg)(),(0,g.iD)("div",ob,[(0,g.Wm)((0,v.SU)(aI),{breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,name:"Request Body",noncollapsible:"",options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},schema:o.value.visibleProperties,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","options","schema"]),(0,g.Wm)((0,v.SU)(aI),{additionalProperties:"",breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,name:"Request Body",options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},schema:o.value.collapsedProperties,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","options","schema"])])):a.value?((0,g.wg)(),(0,g.iD)("div",oO,[(0,g.Wm)((0,v.SU)(aI),{breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,hideReadOnly:!0,name:"Request Body",noncollapsible:"",options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},schema:a.value,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","options","schema"])])):(0,g.kq)("",!0)])):(0,g.kq)("",!0)}}),[["__scopeId","data-v-86d21430"]]),ok=(0,g.aZ)({__name:"OperationParameters",props:(0,g.Vf)({breadcrumb:{},parameters:{default:()=>[]},requestBody:{},eventBus:{},options:{}},{selectedContentType:{},selectedContentTypeModifiers:{}}),emits:["update:selectedContentType"],setup(e){let t=(0,g.tT)(e,"selectedContentType"),n=(0,g.Fl)(()=>(e.parameters??[]).reduce((e,t)=>{let n=(0,u.n)(t);return oe(n)||e[n.in].push(n),e},{cookie:[],header:[],path:[],query:[]}));return(r,a)=>((0,g.wg)(),(0,g.iD)(g.HY,null,[(0,g.Wm)(od,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"path"]:void 0,eventBus:e.eventBus,options:e.options,parameters:n.value.path},{title:(0,g.w5)(()=>[...a[1]||(a[1]=[(0,g.Uk)("Path Parameters",-1)])]),_:1},8,["breadcrumb","eventBus","options","parameters"]),(0,g.Wm)(od,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"query"]:void 0,eventBus:e.eventBus,options:e.options,parameters:n.value.query},{title:(0,g.w5)(()=>[...a[2]||(a[2]=[(0,g.Uk)("Query Parameters",-1)])]),_:1},8,["breadcrumb","eventBus","options","parameters"]),(0,g.Wm)(od,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,eventBus:e.eventBus,options:e.options,parameters:n.value.header},{title:(0,g.w5)(()=>[...a[3]||(a[3]=[(0,g.Uk)("Headers",-1)])]),_:1},8,["breadcrumb","eventBus","options","parameters"]),(0,g.Wm)(od,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"cookies"]:void 0,eventBus:e.eventBus,options:e.options,parameters:n.value.cookie},{title:(0,g.w5)(()=>[...a[4]||(a[4]=[(0,g.Uk)("Cookies",-1)])]),_:1},8,["breadcrumb","eventBus","options","parameters"]),e.requestBody?((0,g.wg)(),(0,g.j4)(ow,{key:0,selectedContentType:t.value,"onUpdate:selectedContentType":a[
40]||(a[0]=e=>t.value=e),breadcrumb:e.breadcrumb?[...e.breadcrumb,"body"]:void 0,eventBus:e.eventBus,options:e.options,requestBody:e.requestBody},{title:(0,g.w5)(()=>[...a[5]||(a[5]=[(0,g.Uk)("Body",-1)])]),_:1},8,["selectedContentType","breadcrumb","eventBus","options","requestBody"])):(0,g.kq)("",!0)],64))}}),ox={key:0,class:"mt-6"},oS={"aria-label":"Responses",class:"mb-3 list-none p-0 text-sm"},o_=(0,g.aZ)({__name:"OperationResponses",props:{responses:{},breadcrumb:{},collapsableItems:{type:Boolean},eventBus:{},options:{}},setup:e=>(t,n)=>Object.keys(e.responses??{}).length?((0,g.wg)(),(0,g.iD)("div",ox,[n[0]||(n[0]=(0,g._)("div",{class:"text-c-1 mt-3 mb-3 leading-[1.45] font-medium"},"Responses",-1)),(0,g._)("ul",oS,[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(e.responses,(t,n)=>((0,g.wg)(),(0,g.j4)(ol,{key:n,breadcrumb:e.breadcrumb,collapsableItems:e.collapsableItems,eventBus:e.eventBus,name:n,options:e.options,parameter:(0,v.SU)(u.n)(t)},null,8,["breadcrumb","collapsableItems","eventBus","name","options","parameter"]))),128))])])):(0,g.kq)("",!0)}),oE={class:"group callback-list-item"},oA={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"},oT={class:"text-c-1 min-w-0 flex-1 truncate text-sm leading-5 font-bold group-open:whitespace-normal"},oD={class:"text-c-2 font-normal"},oC={class:"callback-operation-container flex flex-col gap-2"},o$=l((0,g.aZ)({__name:"Callback",props:{callback:{},method:{},name:{},url:{},eventBus:{},options:{}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.iD)("details",oE,[(0,g._)("summary",oA,[(0,g.Wm)((0,v.SU)(rC.Z),{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,g.Wm)((0,v.SU)(iR),{as:"span",class:"request-method py-0.75 font-bold",method:e.method},null,8,["method"]),(0,g._)("div",oT,[(0,g.Uk)((0,y.zw)(e.name)+" ",1),(0,g._)("span",oD,(0,y.zw)(e.url),1)])]),(0,g._)("div",oC,[(0,g.Wm)(ok,{eventBus:e.eventBus,options:e.options,parameters:e.callback.parameters?.map(e=>v.SU(u.n)(e))??[],requestBody:(0,v.SU)(u.n)(e.callback.requestBody)},null,8,["eventBus","options","parameters","requestBody"]),(0,g.Wm)(o_,{collapsableItems:!1,eventBus:e.eventBus,options:e.options,responses:e.callback.responses},null,8,["eventBus","options","responses"])])]))}),[["__scopeId","data-v-12fe1373"]]),oP=n(60562),oI=n(39473),oN={"aria-label":"Callbacks",class:"callbacks-list gap-3",role:"group"},oU=(0,g.aZ)({__name:"Callbacks",props:{path:{},callbacks:{},eventBus:{},options:{}},setup(e){let t=(0,g.Fl)(()=>{let t=[];
4return(0,oI.q)(e.callbacks).forEach(([e,n])=>{(0,oI.q)((0,u.n)(n)).forEach(([n,r])=>{"object"==typeof r&&r&&(0,oI.q)(r).forEach(([r,a])=>{(0,oP.u)(r)&&t.push({name:e,url:n,method:r,callback:a})})})}),t});return(n,r)=>((0,g.wg)(),(0,g.iD)("div",oN,[r[0]||(r[0]=(0,g._)("div",{class:"callbacks-title text-c-1 my-3 text-lg font-medium"}," Callbacks ",-1)),((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(t.value,({callback:t,method:n,name:r,url:a})=>((0,g.wg)(),(0,g.j4)(o$,{key:`${r}-${a}-${n}`,callback:t,eventBus:e.eventBus,method:n,name:r,options:e.options,path:e.path,url:a},null,8,["callback","eventBus","method","name","options","path","url"]))),128))]))}});(i=o||(o={})).Deprecated="deprecated",i.Experimental="experimental",i.Stable="stable";var oM=e=>e.deprecated||e["x-scalar-stability"]===o.Deprecated,oR=e=>e.deprecated?o.Deprecated:e["x-scalar-stability"],oj=e=>{switch(oR(e)){case o.Deprecated:return"text-red";case o.Experimental:return"text-orange";case o.Stable:return"text-green";default:return""}},oL={key:0},oZ={key:1},oB={key:2},oz={key:3},oF={key:4},oQ={key:5},oH=(0,g.aZ)({name:"ScalarIconPlay",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,w.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,v.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",oL,[...r[0]||(r[0]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",oZ,[...r[1]||(r[1]=[(0,g._)("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,g._)("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)])])):"fill"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",oB,[...r[2]||(r[2]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",oz,[...r[3]||(r[3]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",oF,[...r[4]||(r[4]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",oQ,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),oq=["method"],oV=l((0,g.aZ)({__name:"TestRequestButton",props:{id:{},method:{},path:{},eventBus:{},exampleName:{},requestBodyCompositionSelection:{}},setup(e){let t=()=>{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(n,r)=>((0,g.wg)(),(0,g.iD)("button",{class:"show-api-client-button",method:e.method,type:"button",onClick:(0,ee.iM)(t,["stop"])},[(0,g.Wm)((0,v.SU)(oH),{class:"size-3",weight:"fill"}),r[0]||(r[0]=(0,g._)("span",null,"Test Request",-1)),(0,g.Wm)(rR,null,{default:(0,g.w5)(()=>[(0,g.Uk)("("+(0,y.zw)(e.method)+" "+(0,y.zw)(e.path)+")",1)]),_:1})],8,oq))}}),[["__scopeId","data-v-15e312d9"]]),oW=(0,g.aZ)({__name:"XBadges",props:{position:{},badges:{}},setup(e){let t=(0,g.Fl)(()=>Array.isArray(e.badges)?e.badges.filter(t=>t.position===e.position||"after"===e.position&&!t.position):[]);return(e,n)=>t.value.length?((0,g.wg)(!0),(0,g.iD)(g.HY,{key:0},(0,g.Ko)(t.value,e=>((0,g.wg)(),(0,g.j4)((0,v.SU)(ng),{key:e.name,color:e.color},{default:(0,g.w5)(()=>
4[(0,g.Uk)((0,y.zw)(e.name),1)]),_:2},1032,["color"]))),128)):(0,g.kq)("",!0)}}),oX=n(64838),oY={class:"operation-title"},oG={class:"operation-details"},oK={class:"endpoint-label"},oJ={class:"endpoint-label-path"},o0={class:"endpoint-label-name"},o1={key:1,class:"font-code text-sm"},o2={class:"endpoint-content"},o4={class:"operation-details-card"},o8={key:0,class:"operation-details-card-item"},o6={class:"operation-details-card-item"},o3={class:"operation-details-card-item"},o5={key:1,class:"operation-details-card-item"},o7=l((0,g.aZ)({__name:"ClassicLayout",props:{id:{},method:{},options:{},path:{},clientOptions:{},isCollapsed:{type:Boolean},isWebhook:{type:Boolean},selectedClient:{},eventBus:{},operation:{},selectedServer:{},selectedSecuritySchemes:{}},setup(e){let t=(0,g.Fl)(()=>e.operation.summary||e.path||""),n=(0,g.Fl)(()=>nh(e.operation)),r=(0,v.iH)(""),a=(0,v.iH)(),i=(0,v.iH)({}),o=(0,g.Fl)(()=>({...i.value})),l=(0,g.Fl)(()=>JSON.stringify(o.value));(0,g.JJ)(am,i);let{copyToClipboard:s}=(0,eS.V)();return(i,c)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(rU),{id:e.id,"aria-label":t.value,class:"reference-endpoint",modelValue:!e.isCollapsed,transparent:"","onUpdate:modelValue":c[4]||(c[4]=t=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:t}))},(0,g.Nv)({title:(0,g.w5)(()=>[(0,g._)("div",oY,[(0,g._)("div",oG,[(0,g.Wm)((0,v.SU)(iR),{class:"endpoint-type",method:e.method,short:""},null,8,["method"]),(0,g.Wm)((0,v.SU)(rV),{class:"endpoint-anchor",onCopyAnchorUrl:c[0]||(c[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id}))},{default:(0,g.w5)(()=>[(0,g._)("h3",oK,[(0,g._)("div",oJ,[(0,g.Wm)(iK,{deprecated:(0,v.SU)(oM)(e.operation),path:e.path},null,8,["deprecated","path"])]),(0,g._)("div",o0,(0,y.zw)(t.value),1),(0,v.SU)(oR)(e.operation)?((0,g.wg)(),(0,g.j4)((0,v.SU)(ng),{key:0,class:(0,y.C_)(["capitalize",(0,v.SU)(oj)(e.operation)])},{default:(0,g.w5)(()=>[(0,g.Uk)((0,y.zw)((0,v.SU)(oR)(e.operation)),1)]),_:1},8,["class"])):(0,g.kq)("",!0),e.isWebhook?((0,g.wg)(),(0,g.j4)((0,v.SU)(ng),{key:1,class:"font-code text-green flex w-fit items-center justify-center gap-1"},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(ij.Z),{weight:"bold"}),c[5]||(c[5]=(0,g.Uk)("Webhook ",-1))]),_:1})):(0,g.kq)("",!0),(0,g.Wm)((0,v.SU)(oW),{badges:e.operation["x-badges"],position:"before"},null,8,["badges"])])]),_:1})])])]),actions:(0,g.w5)(({active:t})=>[(0,g.Wm)((0,v.SU)(oW),{badges:e.operation["x-badges"],position:"after"},null,8,["badges"]),e.options.hideTestRequestButton?(0,g.kq)("",!0):((0,g.wg)(),(0,g.iD)(g.HY,{key:0},[t&&!e.isWebhook?((0,g.wg)(),(0,g.j4)((0,v.SU)(oV),{key:0,id:e.id,eventBus:e.eventBus,exampleName:r.value,method:e.method,path:e.path,requestBodyCompositionSelection:o.value},null,8,["id","eventBus","exampleName","method","path","requestBodyCompositionSelection"])):((0,g.wg)(),(0,g.j4)((0,v.SU)(oH),{key:1,class:"endpoint-try-hint size-4.5"}))],64)),e.options.showOperationId&&e.operation.operationId?((0,g.wg)(),(0,g.iD)("span",o1,(0,y.zw)(e.operation.operationId),1)):(0,g.kq)("",!0),(0,g.Wm)((0,v.SU)(b.ot),{class:"endpoint-copy p-0.5",icon:(0,v.SU)(oX.Z),label:"Copy endpoint URL",size:"xs",variant:"ghost",onClick:c[1]||(c[1]=(0,ee.iM)(t=>(0,v.SU)(s)(e.path),["stop"]))},null,8,["icon"])]),default:(0,g.w5)(()=>[(0,g._)("div",o2,[(0,g._)("div",o4,[Object.keys(n.value).length>0?((0,g.wg)(),(0,g.iD)("div",o8,[(0,g.Wm)(nN,{value:n.value},null,8,["value"])])):(0,g.kq)("",!0),(0,g._)("div",o6,[(0,g.Wm)(ok,{eventBus:e.eventBus,options:e.options,selectedContentType:a.value,"onUpdate:selectedContentType":c[2]||(c[2]=e=>a.value=e),parameters:e.operation.parameters,requestBody:(0,v.SU)(u.n)(e.operation.requestBody)},null,8,["eventBus","options","selectedContentType","parameters","requestBody"])]),(0,g._)("div",o3,[(0,g.Wm)(o_,{eventBus:e.eventBus,options:e.options,responses:e.operation.responses},null,8,["eventBus","options","responses"])]),e.operation?.callbacks?((0,g.wg)(),(0,g.iD)("div",o5,[(0,g.Wm)(oU,{callbacks:e.operation.callbacks,eventBus:e.eventBus,options:e.options,path:e.path},null,8,["callbacks","eventBus","options","path"])])):(0,g.kq)("",!0)]),e.operation.responses?((0,g.wg)(),(0,g.j4)((0,v.SU)(i9),{key:0,class:"operation-example-card",responses:e.operation.responses},null,8,["responses"])):(0,g.kq)("",!0),(0,g._)("div",null,[e.operation.externalDocs?((0,g.wg)(),(0,g.j4)((0,v.SU)(nB),{key:0},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nV),{value:e.operation.externalDocs},null,8,["value"])]),_:1})):(0,g.kq)("",!0),(0,g.Wm)((0,v.SU)(b.Zf),null,{default:(0,g.w5)(()=>[((0,g.wg)(),(0,g.j4)((0,v.SU)(na),{key:l.value,selectedExample:r.value,"onUpdate:selectedExample":c[3]||(c[3]=e=>r.value=e),class:"operation-example-card",clientOptions:e.clientOptions,eventBus:e.eventBus,fallback:"",isWebhook:e.isWebhook,method:e.method,operation:e.operation,path:e.path,requestBodyCompositionSelection:o.value,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:a.value,selectedServer:e.selectedServer},null,8,["selectedExample","clientOptions","eventBus","isWebhook","method","operation","path","requestBodyCompositionSelection","securitySchemes","selectedClient","selectedContentType","selectedServer"]))]),_:1})])])]),_:2},[e.operation.description?{name:"description",fn:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.eV),{anchorPrefix:e.id,"aria-label":"Operation Description",role:"group",transformType:"heading",value:e.operation.description,withAnchors:"",withImages:""},null,8,["anchorPrefix","value"])]),key:"0"}:void 0]),1032,["id","aria-label","modelValue"]))}}),[["__scopeId","data-v-85ee673b"]]),o9=n(79305),le={class:"ask-agent-scalar-send",type:"submit"},lt=l((0,g.aZ)({__name:"AskAgentButton",setup(e){let t=ec(),n=(0,v.iH)(""),r=(0,v.iH)();return(e,a)=>v.SU(t)?.agentEnabled.value?((0,g.wg)(),(0,g.iD)("form",{key:0,class:"agent-button-container",onClick:a[1]||(a[1]=e=>
4r.value?.focus()),onSubmit:a[2]||(a[2]=(0,ee.iM)(e=>void(t.value?.openAgent(n.value),n.value=""),["prevent"]))},[(0,g.Wm)((0,v.SU)(ev),{class:"size-3 shrink-0",weight:"fill"}),a[3]||(a[3]=(0,g._)("div",{class:"ask-agent-scalar-input-label"},"Ask AI Agent",-1)),(0,g.wy)((0,g._)("input",{ref_key:"inputRef",ref:r,"onUpdate:modelValue":a[0]||(a[0]=e=>n.value=e),class:(0,y.C_)(["ask-agent-scalar-input",{"ask-agent-scalar-input-not-empty":n.value.length>0}]),placeholder:"Ask AI Agent"},null,2),[[ee.nr,n.value]]),(0,g._)("button",le,[(0,g.Wm)((0,v.SU)(o9.Z),{class:"size-3",weight:"bold"})])],32)):(0,g.kq)("",!0)}}),[["__scopeId","data-v-78f5377c"]]),ln={class:"flex flex-row justify-between gap-1"},lr={class:"flex gap-1"},la={class:"flex gap-1"},li={class:"operation-details"},lo={class:"examples"},ll={class:"flex"},ls=l((0,g.aZ)({__name:"ModernLayout",props:{id:{},method:{},options:{},path:{},clientOptions:{},isWebhook:{type:Boolean},selectedClient:{},eventBus:{},operation:{},selectedServer:{},selectedSecuritySchemes:{}},setup(e){let t=(0,g.Fl)(()=>e.operation.summary||e.path||""),n=(0,g.Me)(),r=(0,g.Fl)(()=>nh(e.operation)),a=(0,v.iH)(),i=(0,v.iH)({}),o=(0,g.Fl)(()=>({...i.value})),l=(0,g.Fl)(()=>JSON.stringify(o.value));return(0,g.JJ)(am,i),(i,s)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(nO),{id:e.id,"aria-labelledby":(0,v.SU)(n),label:t.value,tabindex:"-1",onIntersecting:s[2]||(s[2]=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id}))},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nD),null,{default:(0,g.w5)(()=>[(0,g._)("div",ln,[(0,g._)("div",lr,[e.options?.showOperationId&&e.operation.operationId?((0,g.wg)(),(0,g.j4)((0,v.SU)(ng),{key:0},{default:(0,g.w5)(()=>[(0,g.Uk)((0,y.zw)(e.operation.operationId),1)]),_:1})):(0,g.kq)("",!0),(0,v.SU)(oR)(e.operation)?((0,g.wg)(),(0,g.j4)((0,v.SU)(ng),{key:1,class:(0,y.C_)(["capitalize",(0,v.SU)(oj)(e.operation)])},{default:(0,g.w5)(()=>[(0,g.Uk)((0,y.zw)((0,v.SU)(oR)(e.operation)),1)]),_:1},8,["class"])):(0,g.kq)("",!0),e.isWebhook?((0,g.wg)(),(0,g.j4)((0,v.SU)(ng),{key:2,class:"font-code text-green flex w-fit items-center justify-center gap-1"},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(ij.Z),{weight:"bold"}),s[3]||(s[3]=(0,g.Uk)("Webhook ",-1))]),_:1})):(0,g.kq)("",!0),(0,g.Wm)((0,v.SU)(oW),{badges:e.operation["x-badges"],position:"before"},null,8,["badges"])]),(0,g._)("div",la,[(0,g.Wm)((0,v.SU)(oW),{badges:e.operation["x-badges"],position:"after"},null,8,["badges"])])]),(0,g._)("div",{class:(0,y.C_)((0,v.SU)(oM)(e.operation)?"deprecated":"")},[(0,g.Wm)((0,v.SU)(n$),null,{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(rV),{onCopyAnchorUrl:s[0]||(s[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id}))},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nP),{id:(0,v.SU)(n),level:3},{default:(0,g.w5)(()=>[(0,g.Uk)((0,y.zw)(t.value),1)]),_:1},8,["id"])]),_:1})]),_:1})],2),(0,g.Wm)((0,v.SU)(nS),null,{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nk),null,{default:(0,g.w5)(()=>[(0,g._)("div",li,[(0,g.Wm)(nN,{value:r.value},null,8,["value"]),(0,g.Wm)((0,v.SU)(b.eV),{anchorPrefix:e.id,"aria-label":"Operation Description",role:"group",transformType:"heading",value:e.operation.description,withAnchors:"",withImages:""},null,8,["anchorPrefix","value"]),(0,g.Wm)(ok,{breadcrumb:[e.id],eventBus:e.eventBus,options:e.options,selectedContentType:a.value,"onUpdate:selectedContentType":s[1]||(s[1]=e=>a.value=e),parameters:e.operation.parameters,requestBody:(0,v.SU)(u.n)(e.operation.requestBody)},null,8,["breadcrumb","eventBus","options","selectedContentType","parameters","requestBody"]),(0,g.Wm)(o_,{breadcrumb:[e.id],collapsableItems:!e.options.expandAllResponses,eventBus:e.eventBus,options:e.options,responses:e.operation.responses},null,8,["breadcrumb","collapsableItems","eventBus","options","responses"]),(0,g.Wm)((0,v.SU)(b.Zf),null,{default:(0,g.w5)(()=>[e.operation.callbacks?((0,g.wg)(),(0,g.j4)(oU,{key:0,callbacks:e.operation.callbacks,class:"mt-6",eventBus:e.eventBus,options:e.options,path:e.path},null,8,["callbacks","eventBus","options","path"])):(0,g.kq)("",!0)]),_:1})])]),_:1}),(0,g.Wm)((0,v.SU)(nk),null,{default:(0,g.w5)(()=>[(0,g._)("div",lo,[e.operation.externalDocs?((0,g.wg)(),(0,g.j4)((0,v.SU)(nB),{key:0},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nV),{value:e.operation.externalDocs},null,8,["value"])]),_:1})):(0,g.kq)("",!0),(0,g.Wm)((0,v.SU)(b.Zf),null,{default:(0,g.w5)(()=>[((0,g.wg)(),(0,g.j4)((0,v.SU)(na),{key:l.value,clientOptions:e.clientOptions,eventBus:e.eventBus,fallback:"",isWebhook:e.isWebhook,method:e.method,operation:e.operation,path:e.path,requestBodyCompositionSelection:o.value,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:a.value,selectedServer:e.selectedServer},(0,g.Nv)({header:(0,g.w5)(()=>[(0,g.Wm)(iK,{class:"font-code text-c-2 [&_em]:text-c-1 [&_em]:not-italic",deprecated:e.operation?.deprecated,path:e.path},null,8,["deprecated","path"])]),_:2},[e.isWebhook?void 0:{name:"footer",fn:(0,g.w5)(({exampleName:t})=>[(0,g._)("div",ll,[(0,g.Wm)(lt),e.options.hideTestRequestButton?(0,g.kq)("",!0):((0,g.wg)(),(0,g.j4)((0,v.SU)(oV),{key:0,id:e.id,eventBus:e.eventBus,exampleName:t,method:e.method,path:e.path,requestBodyCompositionSelection:o.value},null,8,["id","eventBus","exampleName","method","path","requestBodyCompositionSelection"]))])]),key:"0"}]),1032,["clientOptions","eventBus","isWebhook","method","operation","path","requestBodyCompositionSelection","securitySchemes","selectedClient","selectedContentType","selectedServer"]))]),_:1}),(0,g.Wm)((0,v.SU)(b.Zf),null,{default:(0,g.w5)(()=>[e.operation.responses?((0,g.wg)(),(0,g.j4)((0,v.SU)(i9),{key:0,responses:e.operation.responses,style:{"margin-top":"12px"}},null,8,["responses"])):(0,g.kq)("",!0)]),_:1})])]),_:1})]),_:1})]),_:1})]),_:1},8,["id","aria-labelledby","label"]))}}),[["__scopeId","data-v-e96cd75a"]]),lu=(0,g.aZ)({__name:"Operation",props:{id:{},method:{},options:{},document:{},path:{},pathValue:{},server:{},securitySchemes:{},clientOptions:{},isCollapsed:{type:Boolean},isWebhook:{type:Boolean},selectedClient:{},eventBus:{},authStore:{}},setup(e){let t=(0,g.Fl)(()=>{let t=(0,u.n)(e.pathValue?.[e.method]);if(!t)return null;let n=(0,f.oR)(e.pathValue?.parameters,t.parameters);return{...t,parameters:n}}),n=(0,g.Fl)(()=>iY(t.value?.servers??null,e.pathValue?.servers??null,e.server)),r=(0,g.Fl)(()=>iX(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(a,i)=>t.value?((0,g.wg)(),(0,g.iD)(g.HY,{key:0},["classic"===e.options.layout?((0,g.wg)(),(0,g.j4)(o7,{key:0,id:e.id,clientOptions:e.clientOptions,eventBus:e.eventBus,isCollapsed:e.isCollapsed,isWebhook:e.isWebhook,method:e.method,operation:t.value,options:e.options,path:e.path,selectedClient:e.selectedClient,selectedSecuritySchemes:r.value,selectedServer:n.value},null,8,["id","clientOptions","eventBus","isCollapsed","isWebhook","method","operation","options","path","selectedClient","selectedSecuritySchemes","selectedServer"])):((0,g.wg)(),(0,g.j4)(ls,{key:1,id:e.id,clientOptions:e.clientOptions,eventBus:e.eventBus,isWebhook:e.isWebhook,method:e.method,operation:t.value,options:e.options,path:e.path,selectedClient:e.selectedClient,selectedSecuritySchemes:r.value,selectedServer:n.value},null,8,["id","clientOptions","eventBus","isWebhook","method","operation","options","path","selectedClient","selectedSecuritySchemes","selectedServer"]))],64)):(0,g.kq)("",!0)}}),lc=(0,g.aZ)({__name:"TraversedEntry",props:{authStore:{},level:{default:0},entries:{},document:{},clientOptions:{},options:{},selectedServer:{},securitySchemes:{},selectedClient:{},expandedItems:{},eventBus:{}},setup(e){let t=e=>"tag"===e.type&&!0===e.isGroup,n=e=>"tag"===e.type&&!t(e)&&"models"!==e.id,r=e=>"operation"===e.type,a=e=>"webhook"===e.type,i=e=>"models"===e.type,o=e=>"model"===e.type;return(l,s)=>{let c=(0,g.up)("TraversedEntry",!0);return(0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(e.entries,l=>((0,g.wg)(),(0,g.j4)(iV,{id:l.id,key:`${l.id}-${e.options.layout}`,expanded:!!e.expandedItems[l.id]},{default:(0,g.w5)(()=>[r(l)||a(l)?((0,g.wg)(),(0,g.j4)((0,v.SU)(nE),{key:0,omit:0!==e.level},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(lu),{id:l.id,authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],isWebhook:a(l),method:l.method,options:e.options,path:a(l)?l.name:l.path,pathValue:a(l)?e.document.webhooks?.[l.name]:e.document.paths?.[l.path],securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,server:e.selectedServer},null,8,["id","authStore","clientOptions","document","eventBus","isCollapsed","isWebhook","method","options","path","pathValue","securitySchemes","selectedClient","server"])]),_:2}
4,1032,["omit"])):n(l)||t(l)&&"classic"===e.options.layout?((0,g.wg)(),(0,g.j4)((0,v.SU)(iH),{key:1,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],isLoading:!1,layout:e.options.layout,moreThanOneTag:e.entries.filter(n).length>1,tag:l},{default:(0,g.w5)(()=>["children"in l&&l.children?.length?((0,g.wg)(),(0,g.j4)(c,{key:0,authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:l.children,eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","level","options","securitySchemes","selectedClient","selectedServer"])):(0,g.kq)("",!0)]),_:2},1032,["eventBus","isCollapsed","layout","moreThanOneTag","tag"])):t(l)?((0,g.wg)(),(0,g.j4)(c,{key:2,authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:l.children||[],eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","level","options","securitySchemes","selectedClient","selectedServer"])):i(l)&&e.document.components?.schemas?((0,g.wg)(),(0,g.j4)(iU,{key:3,id:l.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],layout:e.options.layout},{default:(0,g.w5)(()=>[(0,g.Wm)(c,{authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:l.children||[],eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","level","options","securitySchemes","selectedClient","selectedServer"])]),_:2},1032,["id","eventBus","isCollapsed","layout"])):o(l)&&e.document.components?.schemas?.[l.name]?((0,g.wg)(),(0,g.j4)(iD,{key:4,id:l.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],name:l.name,options:e.options,schema:(0,v.SU)(u.n)(e.document.components.schemas[l.name])},null,8,["id","eventBus","isCollapsed","name","options","schema"])):(0,g.kq)("",!0)]),_:2},1032,["id","expanded"]))),128)}}}),ld={key:0,class:"plugin-view"},lp=(0,g.aZ)({__name:"RenderPlugins",props:{viewName:{},options:{}},setup(e){let{getViewComponents:t}=eL(),n=t(e.viewName);return(t,r)=>(0,v.SU)(n).length?((0,g.wg)(),(0,g.iD)("div",ld,[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)((0,v.SU)(n),(t,n)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(b.Zf),{key:n},{default:(0,g.w5)(()=>[t.renderer?((0,g.wg)(),(0,g.j4)((0,g.LL)(t.renderer),(0,g.dG)({key:0,ref_for:!0},{component:t.component,options:e.options,...t.props}),null,16)):((0,g.wg)(),(0,g.j4)((0,g.LL)(t.component),(0,g.dG)({key:1,ref_for:!0},{options:e.options,...t.props}),null,16))]),_:2},1024))),128))])):(0,g.kq)("",!0)}}),lm={class:"section-flare"},lf=l({},[["render",function(e,t){return(0,g.wg)(),(0,g.iD)("div",lm,[...t[0]||(t[0]=[(0,g.uE)('<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"]]),lh=n(75968),lg={class:"narrow-references-container"},lv={key:1,class:"h-dvh"},ly=(0,g.aZ)({__name:"Content",props:{infoSectionId:{},options:{},document:{},clientDocument:{},authStore:{},xScalarDefaultClient:{},items:{},expandedItems:{},eventBus:{},environment:{},headingSlugGenerator:{type:Function}},setup(e){let t=(0,g.Fl)(()=>(0,tK.W)((0,lh.rB)(e.options.hiddenClients))),n=(0,g.Fl)(()=>nh(e.document)),r=(0,g.Fl)(()=>nh(e.document?.info)),a=(0,g.Fl)(()=>(0,f.MC)(e.options?.servers??e.clientDocument?.servers,{baseServerUrl:e.options?.baseServerURL,documentUrl:e.clientDocument?.["x-scalar-original-source-url"]})),i=(0,g.Fl)(()=>(0,f.XQ)(e.clientDocument??null,null,null,a.value)),o=(0,g.Fl)(()=>(0,f.HC)(e.clientDocument?.components?.securitySchemes,e.options.authentication?.securitySchemes,e.authStore,e.clientDocument?.["x-scalar-navigation"]?.name??""));return(0,g.bv)(()=>{th()}),(l,s)=>((0,g.wg)(),(0,g.iD)(g.HY,null,[(0,g.Wm)((0,v.SU)(lf)),(0,g._)("div",lg,[(0,g.WI)(l.$
4slots,"start"),(0,g.Wm)((0,v.SU)(rv),{id:e.infoSectionId,documentDownloadType:e.options.documentDownloadType,documentExtensions:n.value,documentUrl:e.document?.["x-scalar-original-source-url"],eventBus:e.eventBus,externalDocs:e.document?.externalDocs,headingSlugGenerator:e.headingSlugGenerator,info:e.document?.info,infoExtensions:r.value,layout:e.options.layout,oasVersion:e.document?.["x-original-oas-version"]},{selectors:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.Zf),null,{default:(0,g.w5)(()=>[a.value?.length?((0,g.wg)(),(0,g.j4)((0,v.SU)(rb),{key:0,class:"scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]"},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(rE),{eventBus:e.eventBus,selectedServer:i.value,servers:a.value},null,8,["eventBus","selectedServer","servers"])]),_:1})):(0,g.kq)("",!0)]),_:1}),(0,g.Wm)((0,v.SU)(b.Zf),null,{default:(0,g.w5)(()=>[e.document&&!e.options.hideTestRequestButton?((0,g.wg)(),(0,g.j4)((0,v.SU)(rb),{key:0,class:"scalar-reference-intro-auth scalar-client introduction-card-item leading-normal"},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(rT),{authStore:e.authStore,document:e.clientDocument,environment:e.environment,eventBus:e.eventBus,options:e.options,securitySchemes:o.value,selectedServer:i.value},null,8,["authStore","document","environment","eventBus","options","securitySchemes","selectedServer"])]),_:1})):(0,g.kq)("",!0)]),_:1}),(0,g.Wm)((0,v.SU)(b.Zf),null,{default:(0,g.w5)(()=>[t.value.length?((0,g.wg)(),(0,g.j4)((0,v.SU)(rb),{key:0,class:"introduction-card-item scalar-reference-intro-clients"},{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(nf),{class:"introduction-card-item scalar-reference-intro-clients",clientOptions:t.value,eventBus:e.eventBus,selectedClient:e.xScalarDefaultClient,xScalarSdkInstallation:e.document?.info?.["x-scalar-sdk-installation"]},null,8,["clientOptions","eventBus","selectedClient","xScalarSdkInstallation"])]),_:1})):(0,g.kq)("",!0)]),_:1})]),_:1},8,["id","documentDownloadType","documentExtensions","documentUrl","eventBus","externalDocs","headingSlugGenerator","info","infoExtensions","layout","oasVersion"]),e.items.length&&e.document?((0,g.wg)(),(0,g.j4)(lc,{key:0,authStore:e.authStore,clientOptions:t.value,document:e.document,entries:e.items,eventBus:e.eventBus,expandedItems:e.expandedItems,options:e.options,securitySchemes:o.value,selectedClient:e.xScalarDefaultClient,selectedServer:i.value},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","options","securitySchemes","selectedClient","selectedServer"])):(0,g.kq)("",!0),(0,g.Wm)((0,v.SU)(lp),{options:e.options,viewName:"content.end"},null,8,["options"]),(0,g.WI)(l.$slots,"end"),(0,v.SU)(tn)?(0,g.kq)("",!0):((0,g.wg)(),(0,g.iD)("div",lv))])],64))}}),lb={key:0},lO={key:1},lw={key:2},lk={key:3},lx={key:4},lS={key:5},l_=(0,g.aZ)({name:"ScalarIconList",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,w.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,v.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",lb,[...r[0]||(r[0]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",lO,[...r[1]||(r[1]=[(0,g._)("path",{d:"M216,64V192H40V64Z",opacity:"0.2"},null,-1),(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",lw,[...r[2]||(r[2]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",lk,[...r[3]||(r[3]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",lx,[...r[4]||(r[4]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",lS,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),lE={class:"flex h-(--scalar-header-height) w-full items-center border-b bg-inherit px-2"},lA={key:1,class:"flex-1 text-sm font-medium whitespace-nowrap"},lT={class:"flex h-6 items-center gap-1 pl-1"},lD=(0,g.aZ)({__name:"MobileHeader",props:{breadcrumb:{},isSidebarOpen:{type:Boolean},showSidebar:{type:Boolean}},emits:["toggleSidebar"],setup(e,{emit:t}){let n=(0,b.jS)({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"}}});return(r,a)=>((0,g.wg)(),(0,g.iD)(g.HY,null,[(0,g.WI)(r.$slots,"sidebar",(0,y.vs)((0,g.F4)({sidebarClasses:"hidden lg:flex sticky top-(--refs-header-height) h-(--refs-sidebar-height) w-(--refs-sidebar-width) [grid-area:navigation]"}
4))),(0,g._)("div",{class:(0,y.C_)(["t-doc__header",(0,v.SU)(n)({open:e.isSidebarOpen})])},[(0,g._)("header",lE,[e.showSidebar?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.ot),{key:0,icon:e.isSidebarOpen?(0,v.SU)(eb.Z):(0,v.SU)(l_),label:e.isSidebarOpen?"Close Menu":"Open Menu",size:"md",onClick:a[0]||(a[0]=e=>t("toggleSidebar"))},null,8,["icon","label"])):(0,g.kq)("",!0),e.showSidebar?((0,g.wg)(),(0,g.iD)("span",lA,(0,y.zw)(e.breadcrumb),1)):(0,g.WI)(r.$slots,"search",{key:2}),(0,g._)("div",lT,[(0,g.WI)(r.$slots,"actions")])]),e.isSidebarOpen?(0,g.WI)(r.$slots,"sidebar",(0,y.vs)((0,g.dG)({key:0},{sidebarClasses:"overflow-y-auto custom-scrollbar min-h-0 flex-1 w-full border-none"}))):(0,g.kq)("",!0)],2)],64))}}),lC=n(34442),l$={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"},lP={class:"custom-scroll bg-b-1 flex flex-col gap-7 rounded-lg p-7 pb-6"},lI={class:"text-c-2 flex items-center justify-center gap-1 p-2 text-sm"},lN=(0,g.aZ)({__name:"ApiReferenceToolbarPopover",setup:e=>(e,t)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(b.A8),{class:"max-h-[inherit] max-w-[inherit] p-0 text-base",placement:"bottom-end",teleport:""},{default:(0,g.w5)(({open:t})=>[(0,g.WI)(e.$slots,"button",{open:t},()=>[(0,g._)("button",l$,[(0,g.WI)(e.$slots,"label"),(0,g.Wm)((0,v.SU)(tQ.Z),{class:(0,y.C_)(["size-3",{"rotate-180":t}])},null,8,["class"])])])]),popover:(0,g.w5)(n=>[(0,g._)("div",lP,[(0,g.WI)(e.$slots,"default",(0,y.vs)((0,g.F4)(n)))]),(0,g._)("div",lI,[(0,g.Wm)((0,v.SU)(lC.Z),{class:"size-3.5 shrink-0"}),(0,g._)("div",null,[(0,g.WI)(e.$slots,"info",{},()=>[t[0]||(t[0]=(0,g.Uk)(' "',-1)),(0,g.WI)(e.$slots,"label"),t[1]||(t[1]=(0,g.Uk)('" will only appear when running on localhost. ',-1))])])])]),backdrop:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.r1),{class:"bg-b-2 rounded-lg"})]),_:3}))}),lU={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"},lM={class:"-m-2 flex flex-col gap-2 leading-relaxed"},lR={class:"bg-b-2 inline-flex items-center gap-0.5 rounded border px-1 py-0.5 text-sm"},lj='showDeveloperTools: "never"',lL=(0,g.aZ)({__name:"ApiReferenceToolbarTitle",setup(e){let{copyToClipboard:t}=(0,eS.V)();return(e,n)=>((0,g.wg)(),(0,g.j4)(lN,{class:"w-120",placement:"bottom-start"},{button:(0,g.w5)(()=>[(0,g._)("button",lU,[(0,g.Wm)((0,v.SU)(lC.Z)),n[1]||(n[1]=(0,g.Uk)(" Developer Tools ",-1))])]),info:(0,g.w5)(()=>[...n[5]||(n[5]=[(0,g.Uk)(" The developer tools will only appear when running on localhost. ",-1)])]),default:(0,g.w5)(()=>[(0,g._)("div",lM,[n[4]||(n[4]=(0,g._)("div",null," The developer tools allow you to customize the appearance and behavior of your documentation. You can also share your documentation using the Scalar Registry. ",-1)),(0,g._)("div",null,[n[2]||(n[2]=(0,g.Uk)(" To disable the toolbar, set ",-1)),(0,g._)("div",lR,[(0,g._)("code",{class:"font-code"},(0,y.zw)(lj)),(0,g.Wm)((0,v.SU)(b.ot),{class:"-m-1 p-1.25",icon:(0,v.SU)(oX.Z),label:"Copy link to clipboard",size:"sm",onClick:n[0]||(n[0]=e=>(0,v.SU)(t)(lj))},null,8,["icon"])]),n[3]||(n[3]=(0,g.Uk)(" in your configuration. ",-1))])])]),_:1}))}}),lZ={class:"text-c-3 [&_code]:font-code [&_a:hover]:text-c-1 text-center leading-normal [&_a]:underline"},lB=l({},[["render",function(e,t){return(0,g.wg)(),(0,g.iD)("p",lZ,[(0,g.WI)(e.$slots,"default")])}]]),lz=(0,g.aZ)({__name:"ApiReferenceToolbarRegisterButton",props:(0,g.Vf)({workspace:{},externalUrls:{},sdks:{default:()=>[]}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){let t=(0,g.tT)(e,"url"),{toast:n}=(0,e_.e1)(),r=(0,b.$C)();function a(t){let n=new URL(`${e.externalUrls.dashboardUrl}/register`);n.searchParams.set("url",t),e.sdks.forEach(e=>n.searchParams.append("sdk",e)),window.open(n.toString(),"_blank")}async function i(){if(r.isLoading||!e.workspace)return;if(t.value){a(t.value);return}r.start();let i=e.workspace.exportActiveDocument("json");if(!i){n("Unable to export active document","error"),await r.invalidate();return}try{t.value=await ex(i,e.externalUrls),await r.validate(),a(t.value),await (0,g.Y3)(),await r.clear()}catch(e){n(e instanceof Error?e.message:"An unknown error occurred","error"),await r.invalidate()}}return(e,t)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(b.Xk),{class:"h-auto p-2.5",loader:(0,v.SU)(r),onClick:i},{default:(0,g.w5)(()=>[(0,g.WI)(e.$slots,"default",{},()=>[t[0]||(t[0]=(0,g.Uk)("Generate",-1))])]),_:3},8,["loader"]))}}),lF=n(40606),lQ={key:0}
4,lH={key:1},lq={key:2},lV={key:3},lW={key:4},lX={key:5},lY=(0,g.aZ)({name:"ScalarIconGlobeSimple",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,w.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,v.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",lQ,[...r[0]||(r[0]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",lH,[...r[1]||(r[1]=[(0,g._)("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),(0,g._)("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)])])):"fill"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",lq,[...r[2]||(r[2]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",lV,[...r[3]||(r[3]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",lW,[...r[4]||(r[4]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",lX,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),lG={key:0},lK={key:1},lJ={key:2},l0={key:3},l1={key:4},l2={key:5},l4=(0,g.aZ)({name:"ScalarIconBookOpen",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,w.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,v.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",lG,[...r[0]||(r[0]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",lK,[...r[1]||(r[1]=[(0,g._)("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,g._)("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V2
400a8,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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",lJ,[...r[2]||(r[2]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",l0,[...r[3]||(r[3]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",l1,[...r[4]||(r[4]=[(0,g._)("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)])])):"thin"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",l2,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),l8={key:0},l6={key:1},l3={key:2},l5={key:3},l7={key:4},l9={key:5},se=(0,g.aZ)({name:"ScalarIconCloud",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,w.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,v.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",l8,[...r[0]||(r[0]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",l6,[...r[1]||(r[1]=[(0,g._)("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,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",l3,[...r[2]||(r[2]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",l5,[...r[3]||(r[3]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",l7,[...r[4]||(r[4]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",l9,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),st={key:0},sn={key:1},sr={key:2},sa={key:3},si={key:4},so={key:5},sl=(0,g.aZ)({name:"ScalarIconGitBranch",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,w.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,v.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",st,[...r[0]||(r[0]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",sn,[...r[1]||(r[1]=[(0,g._)("path",{d:"M224,64a24,24,0,1,1-24-24A24,24,0,0,1,224,64Z",opacity:"0.2"},null,-1),(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",sr,[...r[2]||(r[2]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",sa,[...r[3]||(r[3]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",si,[...r[4]||(r[4]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",so,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),ss={key:0},su={key:1},sc={key:2},sd={key:3},sp={key:4},sm={key:5},sf=(0,g.aZ)({name:"ScalarIconFileMd",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,w.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,v.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",ss,[...r[0]||(r[0]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",su,[...r[1]||(r[1]=[(0,g._)("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),(0,g._)("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
4-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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",sc,[...r[2]||(r[2]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",sd,[...r[3]||(r[3]=[(0,g._)("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
472.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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",sp,[...r[4]||(r[4]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",sm,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),sh={key:0},sg={key:1},sv={key:2},sy={key:3},sb={key:4},sO={key:5},sw=(0,g.aZ)({name:"ScalarIconWarningOctagon",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,w.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,v.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",sh,[...r[0]||(r[0]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",sg,[...r[1]||(r[1]=[(0,g._)("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,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",sv,[...r[2]||(r[2]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",sy,[...r[3]||(r[3]=[(0,g._)("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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",sb,[...r[4]||(r[4]=[(0,g._)("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
4L28.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,v.SU)(n)?((0,g.wg)(),(0,g.iD)("g",sO,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),sk={class:"text-c-2 mb-2 grid grid-cols-2 gap-2.5 font-medium"},sx=(0,g.aZ)({__name:"ApiReferenceToolbarShareRegister",props:{workspace:{},externalUrls:{}},setup(e){let t=[{icon:lF.Z,label:"Password Protection"},{icon:lY,label:"Custom Domains"},{icon:l4,label:"Free-form content"},{icon:se,label:"CDN Infrastructure"},{icon:sl,label:"Pull from GitHub"},{icon:sf,label:"Markdown/MDX"},{icon:sw,label:"Spectral Linting"},{icon:U,label:"JSON Schema Hosting"}];return(n,r)=>((0,g.wg)(),(0,g.iD)(g.HY,null,[(0,g._)("ul",sk,[((0,g.wg)(),(0,g.iD)(g.HY,null,(0,g.Ko)(t,e=>(0,g._)("li",{key:e.label,class:"flex items-center gap-2"},[((0,g.wg)(),(0,g.j4)((0,g.LL)(e.icon),{class:"text-c-3 size-3.5",weight:"bold"})),(0,g.Uk)(" "+(0,y.zw)(e.label),1)])),64))]),(0,g.Wm)(lz,{externalUrls:e.externalUrls,workspace:e.workspace},{default:(0,g.w5)(()=>[...r[0]||(r[0]=[(0,g.Uk)(" Deploy on Scalar ",-1)])]),_:1},8,["externalUrls","workspace"]),(0,g.Wm)(lB,null,{default:(0,g.w5)(()=>[...r[1]||(r[1]=[(0,g.Uk)(" Deploy your documentation for free. ",-1),(0,g._)("br",null,null,-1),(0,g.Uk)(" Additional features might require ",-1),(0,g._)("a",{href:"https://scalar.com/products/docs/getting-started",target:"_blank"},"Scalar Pro",-1),(0,g.Uk)(". ",-1)])]),_:1})],64))}}),sS=(0,g.aZ)({__name:"DeployApiReference",props:{workspace:{},externalUrls:{}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.j4)(lN,{class:"w-120"},{label:(0,g.w5)(()=>[...n[0]||(n[0]=[(0,g.Uk)("Deploy",-1)])]),default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.Zc),null,{label:(0,g.w5)(()=>[...n[1]||(n[1]=[(0,g.Uk)("Scalar Docs",-1)])]),default:(0,g.w5)(()=>[n[2]||(n[2]=(0,g._)("p",{class:"text-c-2 mb-2 leading-normal"}," Deploy your documentation on Scalar, the modern documentation platform for your API and everything else. ",-1)),(0,g.Wm)(sx,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])]),_:1})]),_:1}))}),s_=(0,g.aZ)({__name:"ApiReferenceToolbarConfigLayout",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t={label:"Modern",value:"modern"},n={label:"Classic",value:"classic"},r=[t,n],a=(0,g.tT)(e,"modelValue"),i=(0,g.Fl)({get:()=>"modern"===a.value?t:n,set:e=>a.value=e.value});return(e,t)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(b.Nf),{modelValue:i.value,"onUpdate:modelValue":t[0]||(t[0]=e=>i.value=e),options:r},null,8,["modelValue"]))}}),sE=(0,g.aZ)({__name:"ApiReferenceToolbarConfigLayoutOptions",props:(0,g.Vf)({configuration:{}},{modelValue:{default:{}},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,g.tT)(e,"modelValue");function n(n,r=!1){return t.value[n]??e.configuration?.[n]??r}function r(e,n,r=!1){n!==r?t.value={...t.value,[e]:n}:t.value=Object.fromEntries(Object.entries(t.value).filter(([t])=>e!==t))}return(e,t)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(b._2),null,{default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.Xf),{modelValue:n("showSidebar",!0),"onUpdate:modelValue":t[0]||(t[0]=e=>r("showSidebar",!!e,!0))},{default:(0,g.w5)(()=>[...t[11]||(t[11]=[(0,g.Uk)(" Show Sidebar ",-1)])]),_:1},8,["modelValue"]),(0,g.Wm)((0,v.SU)(b.Xf),{modelValue:n("defaultOpenFirstTag",!0),"onUpdate:modelValue":t[1]||(t[1]=e=>r("defaultOpenFirstTag",!!e,!0))},{default:(0,g.w5)(()=>[...t[12]||(t[12]=[(0,g.Uk)(" Default Open First Tag ",-1)])]),_:1},8,["modelValue"]),(0,g.Wm)((0,v.SU)(b.Xf),{modelValue:n("defaultOpenAllTags"),"onUpdate:modelValue":t[2]||(t[2]=e=>r("defaultOpenAllTags",!!e))},{default:(0,g.w5)(()=>[...t[13]||(t[13]=[(0,g.Uk)(" Default Open All Tags ",-1)])]),_:1},8,["modelValue"]),(0,g.Wm)((0,v.SU)(b.Xf),{modelValue:n("expandAllModelSections"),"onUpdate:modelValue":t[3]||(t[3]=e=>
4r("expandAllModelSections",!!e))},{default:(0,g.w5)(()=>[...t[14]||(t[14]=[(0,g.Uk)(" Expand All Model Sections ",-1)])]),_:1},8,["modelValue"]),(0,g.Wm)((0,v.SU)(b.Xf),{modelValue:n("expandAllResponses"),"onUpdate:modelValue":t[4]||(t[4]=e=>r("expandAllResponses",!!e))},{default:(0,g.w5)(()=>[...t[15]||(t[15]=[(0,g.Uk)(" Expand All Responses ",-1)])]),_:1},8,["modelValue"]),(0,g.Wm)((0,v.SU)(b.Xf),{modelValue:n("hideClientButton"),"onUpdate:modelValue":t[5]||(t[5]=e=>r("hideClientButton",!!e))},{default:(0,g.w5)(()=>[...t[16]||(t[16]=[(0,g.Uk)(" Hide Client Button ",-1)])]),_:1},8,["modelValue"]),(0,g.Wm)((0,v.SU)(b.Xf),{modelValue:n("hideDarkModeToggle"),"onUpdate:modelValue":t[6]||(t[6]=e=>r("hideDarkModeToggle",!!e))},{default:(0,g.w5)(()=>[...t[17]||(t[17]=[(0,g.Uk)(" Hide Dark Mode Toggle ",-1)])]),_:1},8,["modelValue"]),(0,g.Wm)((0,v.SU)(b.Xf),{modelValue:n("hideModels"),"onUpdate:modelValue":t[7]||(t[7]=e=>r("hideModels",!!e))},{default:(0,g.w5)(()=>[...t[18]||(t[18]=[(0,g.Uk)(" Hide Models ",-1)])]),_:1},8,["modelValue"]),(0,g.Wm)((0,v.SU)(b.Xf),{modelValue:n("hideSearch"),"onUpdate:modelValue":t[8]||(t[8]=e=>r("hideSearch",!!e))},{default:(0,g.w5)(()=>[...t[19]||(t[19]=[(0,g.Uk)(" Hide Search ",-1)])]),_:1},8,["modelValue"]),(0,g.Wm)((0,v.SU)(b.Xf),{modelValue:n("showOperationId"),"onUpdate:modelValue":t[9]||(t[9]=e=>r("showOperationId",!!e))},{default:(0,g.w5)(()=>[...t[20]||(t[20]=[(0,g.Uk)(" Show Operation ID ",-1)])]),_:1},8,["modelValue"]),(0,g.Wm)((0,v.SU)(b.Xf),{modelValue:n("hideTestRequestButton"),"onUpdate:modelValue":t[10]||(t[10]=e=>r("hideTestRequestButton",!!e))},{default:(0,g.w5)(()=>[...t[21]||(t[21]=[(0,g.Uk)(" Hide Test Request Button ",-1)])]),_:1},8,["modelValue"])]),_:1}))}});function sA(){if("undefined"==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 n=30-e.firstChild.clientWidth;return document.body.removeChild(e),!!n}var sT=["alternate","default","moon","purple","solarized","bluePlanet","deepSpace","saturn","kepler","elysiajs","fastify","mars","laserwave","none"],sD={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"},sC={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: rgba(255, 255, 255, 0.9);\n\n --scalar-tooltip-background: color-mix(in srgb, #1a1a1a, transparent 10%);\n --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 15%);\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: rgba(255, 255, 255, 0.9);\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: rgba(255, 255, 255, 0.9);\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(25
45, 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-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: rgba(255, 255, 255, 0.9);\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: rgba(255, 255, 255, 0.9);\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}
4\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: rgba(255, 255, 255, 0.9);\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"}
4,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: rgba(255, 255, 255, 0.9);\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: rgba(255, 255, 255, 0.9);\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
47843 / 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}
4\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(sC);var s$=(e,t)=>{let{fonts:n=!0,layer:r="scalar-theme"}=t??{},a=[sC[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: rgba(255, 255, 255, 0.9);\n\n --scalar-tooltip-background: color-mix(in srgb, #1a1a1a, transparent 10%);\n --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 15%);\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",n?'/* 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/* 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/* 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} { 5${a}}`:a},sP={class:"min-w-0 flex-1 truncate text-left"},sI={class:"text-c-1 inline-block min-w-0 flex-1 truncate"},sN=(0,g.aZ)({__name:"ApiReferenceToolbarConfigTheme",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t=(0,g.tT)(e,"modelValue"),n=(0,g.Fl)(()=>sT.filter(e=>"none"!==e).map(e=>({id:e,label:sD[e],css:sC[e].theme}))),r=(0,g.Fl)({get:()=>{let e=t.value??"default";return n.value.find(t=>
5t.id===e)??n.value[0]},set:e=>t.value=e.id});return(e,t)=>((0,g.wg)(),(0,g.j4)((0,v.SU)(b.nV),{modelValue:r.value,"onUpdate:modelValue":t[0]||(t[0]=e=>r.value=e),options:n.value,resize:""},{default:(0,g.w5)(({open:e})=>[(0,g.Wm)((0,v.SU)(b.wK),null,{default:(0,g.w5)(()=>[(0,g._)("div",sP,(0,y.zw)(r.value.label),1),(0,g.Wm)((0,v.SU)(b.cU),{class:"mr-2",css:r.value.css},null,8,["css"]),(0,g.Wm)((0,v.SU)(tQ.Z),{class:(0,y.C_)(["size-3.5 transition-transform",{"rotate-180":e}])},null,8,["class"])]),_:2},1024)]),option:(0,g.w5)(({selected:e,option:t})=>[(0,g.Wm)((0,v.SU)(b.hf),{selected:e},null,8,["selected"]),(0,g._)("span",sI,(0,y.zw)(t.label),1),(0,g.Wm)((0,v.SU)(b.cU),{css:t.css},null,8,["css"])]),_:1},8,["modelValue","options"]))}}),sU={class:"flex flex-col gap-4"},sM=(0,g.aZ)({__name:"ModifyConfiguration",props:(0,g.Vf)({configuration:{}},{overrides:{},overridesModifiers:{}}),emits:["update:overrides"],setup(e){let t=(0,g.tT)(e,"overrides"),n=(0,g.Fl)(()=>(0,iJ.W)({...t.value,...e.configuration,...t.value})),r=(0,g.Fl)({get:()=>t.value?.theme??e.configuration?.theme??"default",set:e=>t.value={...t.value,theme:e}}),a=(0,g.Fl)({get:()=>t.value?.layout??e.configuration?.layout??"modern",set:e=>t.value={...t.value,layout:e}});return(i,o)=>((0,g.wg)(),(0,g.j4)(lN,{class:"w-120"},{label:(0,g.w5)(()=>[...o[3]||(o[3]=[(0,g.Uk)("Configure",-1)])]),default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.Zc),null,{label:(0,g.w5)(()=>[...o[4]||(o[4]=[(0,g.Uk)("Scalar Configuration",-1)])]),default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.LS),{class:"bg-b-1.5 flex max-h-40 flex-col rounded border text-sm",content:n.value,lang:"json"},null,8,["content"])]),_:1}),(0,g._)("div",sU,[(0,g.Wm)((0,v.SU)(b.sH),null,{label:(0,g.w5)(()=>[...o[5]||(o[5]=[(0,g.Uk)("Theme",-1)])]),default:(0,g.w5)(()=>[(0,g.Wm)(sN,{modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=e=>r.value=e)},null,8,["modelValue"])]),_:1}),(0,g.Wm)((0,v.SU)(b.sH),null,{label:(0,g.w5)(()=>[...o[6]||(o[6]=[(0,g.Uk)("Layout",-1)])]),default:(0,g.w5)(()=>[(0,g.Wm)(s_,{modelValue:a.value,"onUpdate:modelValue":o[1]||(o[1]=e=>a.value=e)},null,8,["modelValue"])]),_:1}),(0,g.Wm)((0,v.SU)(b.sH),{is:"div"},{label:(0,g.w5)(()=>[...o[7]||(o[7]=[(0,g.Uk)("Layout Options",-1)])]),default:(0,g.w5)(()=>[(0,g.Wm)(sE,{modelValue:t.value,"onUpdate:modelValue":o[2]||(o[2]=e=>t.value=e),configuration:e.configuration},null,8,["modelValue","configuration"])]),_:1})])]),_:1}))}}),sR=(0,g.aZ)({__name:"ApiReferenceToolbarShareTemporary",props:(0,g.Vf)({workspace:{},externalUrls:{}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){let{toast:t}=(0,e_.e1)(),n=(0,b.$C)(),r=(0,g.tT)(e,"url");async function a(){if(n.isLoading||!e.workspace||r.value)return;n.start();let a=e.workspace.exportActiveDocument("json");if(!a){t("Unable to export active document","error"),await n.invalidate();return}try{let t=await ex(a,e.externalUrls);await n.validate({duration:900,persist:!0}),r.value=t}catch(e){t(e instanceof Error?e.message:"An unknown error occurred","error"),await n.invalidate()}}return(t,i)=>((0,g.wg)(),(0,g.iD)(g.HY,null,[r.value?((0,g.wg)(),(0,g.j4)((0,v.SU)(b.vb),{key:0,immediate:"",modelValue:r.value,name:"temporary-link",placeholder:`${e.externalUrls.registryUrl}/share/apis/â¦`},null,8,["modelValue","placeholder"])):((0,g.wg)(),(0,g.j4)((0,v.SU)(b.Xk),{key:1,class:"h-auto p-2.5",loader:(0,v.SU)(n),variant:"gradient",onClick:a},{default:(0,g.w5)(()=>[...i[0]||(i[0]=[(0,g.Uk)(" Upload Document ",-1)])]),_:1},8,["loader"])),(0,g.Wm)(lB,{class:"-mt-1"},{default:(0,g.w5)(()=>[...i[1]||(i[1]=[(0,g.Uk)(" Your document will automatically be deleted after 7 days. ",-1)])]),_:1})],64))}}),sj=(0,g.aZ)({__name:"ShareApiReference",props:{workspace:{},externalUrls:{}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.j4)(lN,{class:"w-120"},{label:(0,g.w5)(()=>[...n[0]||(n[0]=[(0,g.Uk)("Share",-1)])]),default:(0,g.w5)(()=>[(0,g.Wm)((0,v.SU)(b.Zc),null,{label:(0,g.w5)(()=>[...n[1]||(n[1]=[(0,g.Uk)("Share your API Reference",-1)])]),default:(0,g.w5)(()=>[n[2]||(n[2]=(0,g._)("p",{class:"text-c-2 mb-2 leading-normal"}," Upload your OpenAPI document to share your API Reference with others. As easy as pressing a button. ",-1)),(0,g.Wm)(sR,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])]),_:1})]),_:1}))}),sL={key:0,"aria-label":"Developer Tools",class:"api-reference-toolbar bg-b-1 relative z-1 flex h-10 justify-center border-b px-15"},sZ={class:"-mx-2 flex max-w-(--refs-content-max-width) flex-1 items-center"},sB={class:"flex flex-1 items-center"},sz=(0,g.aZ)({__name:"DeveloperTools",props:(0,g.Vf)({workspace:{},configuration:{},externalUrls:{}},{overrides:{},overridesModifiers:{}}),emits:["update:overrides"],setup(e){let t=(0,g.tT)(e,"overrides"),n=(0,g.Fl)(()=>e.configuration?.showDeveloperTools==="always"||e.configuration?.showDeveloperTools!=="never"&&"undefined"!=typeof window&&(0,el.R)(window.location.href));return(r,a)=>n.value?((0,g.wg)(),(0,g.iD)("header",sL,[(0,g._)("div",sZ,[(0,g._)("div",sB,[(0,g.Wm)(lL)]),(0,g.Wm)(sM,{overrides:t.value,"onUpdate:overrides":a[0]||(a[0]=e=>t.value=e),configuration:e.configuration},null,8,["overrides","configuration"]),e.workspace?((0,g.wg)(),(0,g.iD)(g.HY,{key:0},[(0,g.Wm)(sj,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"]),(0,g.Wm)(sS,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])],64)):(0,g.kq)("",!0)])])):(0,g.kq)("",!0)}}),sF={key:0,class:"document-selector px-3 pt-3"},sQ={class:"group/dropdown-label text-c-2 hover:text-c-1 flex w-full cursor-pointer items-center gap-1 font-medium",type:"button"},sH={class:"overflow-hidden text-base text-ellipsis"},sq=(0,g.aZ)({__name:"DocumentSelector",props:{options:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){let n=(0,g.Fl)(()=>e.options.map(e=>({id:e.id,label:e.label}))),r=(0,g.Fl)(()=>n.value.find(t=>
5t.id===e.modelValue));return(a,i)=>e.options.length>1?((0,g.wg)(),(0,g.iD)("div",sF,[(0,g.Wm)((0,v.SU)(b.N1),{modelValue:r.value,options:n.value,resize:"","onUpdate:modelValue":i[0]||(i[0]=e=>t("update:modelValue",e.id))},{default:(0,g.w5)(({open:e})=>[(0,g._)("button",sQ,[(0,g._)("span",sH,(0,y.zw)(r.value?.label||"Select API"),1),(0,g.Wm)((0,v.SU)(tQ.Z),{class:(0,y.C_)(["size-3 text-current transition-transform",{"rotate-180":e}]),weight:"bold"},null,8,["class"])])]),_:1},8,["modelValue","options"])])):(0,g.kq)("",!0)}}),sV=()=>"undefined"==typeof window||"function"!=typeof window?.matchMedia?"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";async function sW(e){try{return JSON.parse(e)}catch{let{parse:t}=await Promise.resolve().then(n.bind(n,68238));return t(e,{maxAliasCount:1e4,merge:!0})}}async function sX(e,t,r){if(t===r)return e;let a=await sW(e);if("json"===r)return JSON.stringify(a,null,2);let{stringify:i}=await Promise.resolve().then(n.bind(n,68238));return i(a)}async function sY(e,t,n){let r=function(e){let t=e.trimStart();return t.startsWith("{")||t.startsWith("[")?"json":"yaml"}(e),a=n??r,i=`${t??"openapi"}.${a}`,o=new Blob([await sX(e,r,a)],{type:"json"===a?"application/json":"application/x-yaml"}),l=URL.createObjectURL(o),s=document.createElement("a");s.href=l,s.download=i,s.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(l),s.remove()},100)}var sG=e=>{let t=eQ().get();(0,tG.C5)(t)&&!e.workspace["x-scalar-default-client"]&&e.update("x-scalar-default-client",t)},sK=(e,t)=>{let n=eH().getAuth(t);e.auth.load({[t]:n})},sJ=n(19046),s0=(e,t)=>{let n={hooks:{}};return(0,g.YP)([()=>e.value.onBeforeRequest,()=>e.value.onRequestSent,()=>t.value],([e,t,r])=>{let a=(0,f.Ko)(r);n.hooks||(n.hooks={}),n.hooks.beforeRequest=e?async t=>{await e({request:(0,sJ.hk)(...(0,f.ni)(t.requestBuilder,{envVariables:a}).requestPayload),requestBuilder:t.requestBuilder,envVariables:a})}:void 0,n.hooks.responseReceived=t?e=>{t(e.request.url)}:void 0},{immediate:!0}),[n]};let s1=new Set(["link","style","script","noscript"]),s2=new Set(["title","titleTemplate","script","style","noscript"]),s4=new Set(["base","meta","link","style","script","noscript"]),s8=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),s6=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),s3=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),s5=new Set(["templateParams","htmlAttrs","bodyAttrs"]),s7=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),s9={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"])},ue={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"},ut={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${un(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?un(e):`${un(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${un(e)} ${t}`}},charset:{}};function un(e){let t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-");return -1===n?t:s9.META.has(t.slice(0,n))||s9.OG.has(t.slice(0,n))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function ur(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>"false"!==String(t)&&e))}function ua(e,t){let n=ur(t),r=un(e),a=ui(r);return s7.has(r)?uo(Object.fromEntries(Object.entries(n).map(([t,n])=>[`${e}${"url"===t?"":`${t[0].toUpperCase()}${t.slice(1)}`}`,n]))||{}).sort((e,t)=>
5(e[a]?.length||0)-(t[a]?.length||0)):[{[a]:r,...n}]}function ui(e){if(ut[e]?.metaKey==="http-equiv"||s9.HTTP_EQUIV.has(e))return"http-equiv";let t=un(e),n=t.indexOf(":");return -1===n?"name":s9.OG.has(t.slice(0,n))?"property":"name"}function uo(e){let t=[],n={};for(let[r,a]of Object.entries(e)){if(Array.isArray(a)){if("themeColor"===r){a.forEach(e=>{"object"==typeof e&&null!==e&&t.push({name:"theme-color",...e})});continue}for(let e of a)if("object"==typeof e&&null!==e){let n=[],a=[];for(let[t,i]of Object.entries(e)){let e=uo({[`${r}${"url"===t?"":`:${t}`}`]:i});("url"===t?n:a).push(...e)}t.push(...n,...a)}else t.push(..."string"==typeof e?uo({[r]:e}):ua(r,e));continue}if("object"==typeof a&&a){if(s9.MEDIA.has(r)){let e=r.startsWith("twitter")?"twitter":"og",n=r.replace(/^(og|twitter)/,"").toLowerCase(),i="twitter"===e?"name":"property";for(let[r,o]of(a.url&&t.push({[i]:`${e}:${n}`,content:a.url}),a.secureUrl&&t.push({[i]:`${e}:${n}:secure_url`,content:a.secureUrl}),Object.entries(a)))"url"!==r&&"secureUrl"!==r&&t.push({[i]:`${e}:${n}:${r}`,content:o})}else s7.has(un(r))?t.push(...ua(r,a)):n[r]=ur(a)}else n[r]=a}return[...t,...Object.entries(n).map(([e,t])=>{if("charset"===e)return{charset:null===t?"_null":t};let n=ui(e),r=ue[e]||un(e),a=null===t?"_null":"object"==typeof t?"refresh"===e?`${t.seconds};url=${t.url}`:function e(t,n={}){let{entrySeparator:r="",keyValueSeparator:a="",wrapValue:i,resolve:o}=n;return Object.entries(t).map(([t,r])=>{if(o){let e=o({key:t,value:r});if(void 0!==e)return e}let l="object"==typeof r?e(r,n):"number"==typeof r?r.toString():"string"==typeof r&&i?`${i}${r.replace(RegExp(i,"g"),`\\${i}`)}${i}`:r;return`${t}${a}${l}`}).join(r)}(function e(t){return Array.isArray(t)?t.map(e):t&&"object"==typeof t?Object.fromEntries(Object.entries(t).map(([t,n])=>[un(t),e(n)])):t}(t),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:e,key:t})=>null===e?"":"boolean"==typeof e?t:void 0,...ut[e]?.unpack}):"number"==typeof t?t.toString():t;return"http-equiv"===n?{"http-equiv":r,content:a}:{[n]:r,content:a}})].map(e=>"content"in e&&"_null"===e.content?{...e,content:null}:e)}let ul={key:"flatMeta",hooks:{"entries:normalize":e=>{let t=[];e.tags=e.tags.map(e=>"_flatMeta"!==e.tag?e:(t.push(uo(e.props).map(t=>({...e,tag:"meta",props:t}))),!1)).filter(Boolean).concat(...t)}}},us=/^[a-z][a-z0-9\-]*[a-z0-9]$/i,uu=["name","property","http-equiv"],uc=new Set(["viewport","description","keywords","robots"]);function ud(e){let t=e.split(":");return!!t.length&&s7.has(t[1])}function up(e){let{props:t,tag:n}=e;if(s6.has(n))return n;if("link"===n&&"canonical"===t.rel)return"canonical";if("link"===n&&"alternate"===t.rel){let e=t.hreflang||t.type;if(e)return`alternate:${e}`}if(t.charset)return"charset";if("meta"===e.tag){for(let r of uu)if(void 0!==t[r]){let a=t[r],i=a&&"string"==typeof a&&a.includes(":"),o=a&&uc.has(a),l=!(i||o)&&e.key?`:key:${e.key}`:"";return`${n}:${a}${l}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if("link"===n&&"alternate"===t.rel)return`alternate:${t.href||""}`;if(s2.has(n)){let t=e.textContent||e.innerHTML;if(t)return`${n}:content:${t}`}}function um(e){let t=e._h||e._d;return t?t:e.textContent||e.innerHTML||`${e.tag}:${Object.entries(e.props).map(([e,t])=>`${e}:${String(t)}`).join(",")}`}function uf(e,t,n){"function"!=typeof e||n&&("titleTemplate"===n||"o"===n[0]&&"n"===n[1])||(e=e());let r=t?t(n,e):e;if(Array.isArray(r))return r.map(e=>uf(e,t));if(r?.constructor===Object){let e={};for(let n of Object.keys(r))e[n]=uf(r[n],t,n);return e}return r}function uh(e,t){if(e.props=e.props||{},!t)return e;if("templateParams"===e.tag)return e.props=t,e;let n=s4.has(e.tag)||"htmlAttrs"===e.tag||"bodyAttrs"===e.tag;return Object.entries(t).forEach(([r,a])=>{if("__proto__"===r||"constructor"===r||"prototype"===r)return;if(null===a){e.props[r]=null;return}if("class"===r||"style"===r){e.props[r]=function(e,t){let n="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&&n.set(e,t.join(":"))}
5else r.split(" ").filter(Boolean).forEach(e=>n.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,a])=>{a&&"false"!==a&&("style"===e?n.set(String(t).trim(),String(a)):r(t))}),n}(r,a);return}if(s3.has(r)){if(("textContent"===r||"innerHTML"===r)&&"object"==typeof a){let n=t.type;if(t.type||(n="application/json"),!n?.endsWith("json")&&"speculationrules"!==n)return;t.type=n,e.props.type=n,e[r]=JSON.stringify(a)}else e[r]=a;return}let i=r.startsWith("data-"),o=n&&!i?r.toLowerCase():r,l=String(a),s="meta"===e.tag&&"content"===o;"true"===l||""===l?e.props[o]=!i&&!s||l:!a&&i&&"false"===l?e.props[o]="false":void 0!==a&&(e.props[o]=a)}),e}let ug=(e,t)=>(0,v.dq)(t)?(0,v.Tn)(t):t,uv="usehead";function uy(){if((0,g.EM)()){let e=(0,g.f3)(uv);if(e)return e}throw Error("useHead() was called without provide context, ensure you call it through the setup() function.")}var ub=({config:e,store:t,isDarkMode:n})=>{(0,g.YP)(()=>(0,v.Tn)(e).defaultHttpClient,e=>{if(e){let{targetKey:n,clientKey:r}=e,a=`${n}/${r}`;(0,tG.C5)(a)&&t.update("x-scalar-default-client",a)}},{immediate:!0}),(0,g.YP)(()=>(0,v.Tn)(e).darkMode,e=>t.update("x-scalar-color-mode",e?"dark":"light")),(0,g.YP)(()=>n.value,e=>t.update("x-scalar-color-mode",e?"dark":"light"),{immediate:!0}),(0,v.Tn)(e).metaData&&function(e={},t={}){(t.head||uy()).use(ul);let{title:n,titleTemplate:r,...a}=e;(function(e,t={}){let n=t.head||uy();n.ssr?n.push(e||{},t):function(e,t,n={}){let r;let a=(0,v.iH)(!1);return(0,g.m0)(()=>{let i=a.value?{}:uf(t,ug);r?r.patch(i):r=e.push(i,n)}),(0,g.FN)()&&((0,g.Jd)(()=>{r.dispose()}),(0,g.se)(()=>{a.value=!0}),(0,g.dl)(()=>{a.value=!1})),r}(n,e,t)})({title:n,titleTemplate:r,_flatMeta:a},t)}((0,v.Tn)(e).metaData),(0,g.YP)(()=>(0,v.Tn)(e).proxyUrl,e=>t.update("x-scalar-active-proxy",e),{immediate:!0}),(0,eU.dF7)((0,g.Fl)(()=>(0,v.Tn)(e).favicon))},uO=n(93393),uw=n(88997),uk=e=>{let t=new nj.Z,n={};return e&&(Array.isArray(e)?e:[e]).flatMap(e=>{if((0,uO.W)(e)){let{sources:t,...n}=e;return t?.map(e=>({...n,...e}))??[]}return[e]}).map(e=>{let t=uO.h7.safeParse(e);return t.success?t.data:null}).filter(e=>!!e&&(!!e.url||!!e.content)).map((e,n)=>
5uS(e,n,t)).forEach(e=>{let{url:t,content:r,...a}=e;n[e.slug]={config:a,title:e.title,slug:e.slug,default:!!e?.default,agent:e.agent,source:r?{content:ux(r)??{}}:{url:t}}}),n},ux=e=>e?"function"==typeof e?ux(e()):"string"==typeof e?(0,uw.fj)(e):e:null,uS=(e,t=0,n)=>e.title?{...e,slug:e.slug||n.slug(e.title),title:e.title}:e.slug?{...e,slug:n.slug(e.slug),title:e.slug}:{...e,slug:`api-${t+1}`,title:`API #${t+1}`},u_=n(49884),uE=e=>"undefined"==typeof window?(0,u_.I)(e):window.structuredClone(e),uA=n(86098);n(3227);var uT=n(93626),uD=n(53351),uC=n(90568);let u$={Date:!0,RegExp:!0,String:!0,Number:!0};var uP={key:1,class:"flex gap-1.5 px-3 pt-3"},uI={key:1},uN=["aria-label","inert"],uU={class:"w-64 empty:hidden"},uM={key:2,class:"references-footer"},uR=l((0,g.aZ)({__name:"ApiReference",props:{configuration:{}},setup(e,{expose:t}){let{copyToClipboard:n}=(0,eS.V)(),r=(0,g.Fl)(sA),a=(0,uC.e3)({debug:!1}),i=(0,v.iH)(!1);(0,tx.n)(()=>(0,g.Me)());let o=(0,g.Fl)(()=>uk(e.configuration)),l=(0,g.Fl)(()=>Object.keys(o.value).length>1),s=(0,v.iH)(Object.values(o.value).find(e=>e.default)?.slug??o.value[Object.keys(o.value)?.[0]??""]?.slug??"");if("undefined"!=typeof window){let e=new URL(window.location.href),t=e.searchParams.get("api");if(t&&o.value[t]){s.value=t;let n=e6(e4(e,o.value[t].config.pathRouting?.basePath,t),o.value[t].config.pathRouting?.basePath,l.value);n&&(n.searchParams.delete("api"),window.history.replaceState({},"",n.toString()))}let n=e4(e,Object.values(o.value).map(e=>e.config.pathRouting?.basePath).find(t=>!!t&&e2(e,t)),l.value?void 0:s.value).split("/")[0];n&&o.value[n]&&(s.value=n)}let u=(0,g.Fl)(()=>Object.values(o.value).map(e=>({label:e.title,id:e.slug}))),c=(0,v.iH)({}),d=(0,g.Fl)(()=>({...uO.eR.parse({}),...o.value[s.value]?.config,...c.value})),p=(0,g.Fl)(()=>d.value.pathRouting?.basePath),m=(0,g.Fl)(()=>s$(d.value.theme,{fonts:d.value.withDefaultFonts})),h=eR({plugins:Object.values(o.value).flatMap(e=>e.config.plugins??[])});if((0,g.JJ)(ej,h),h.notifyInit(d.value),(0,g.YP)(d,e=>h.notifyConfigChange(e)),d.value.redirect&&"undefined"!=typeof window){let e=d.value.redirect((d.value.pathRouting?window.location.pathname:"")+window.location.hash);e&&window.history.replaceState({},"",e)}let w=(0,uD.r)({verbose:!1}),k=(0,uD.r)({verbose:!1,plugins:[eV({prefix:()=>s.value,persistAuth:()=>d.value.persistAuth??!1})]}),{toggleColorMode:x,isDarkMode:S}=(0,uT.I)({initialColorMode:{true:"dark",false:"light",undefined:"system"}[String(d.value.darkMode)],overrideColorMode:d.value.forceDarkModeState}),_=(0,O.JF)((0,g.Fl)(()=>Object.entries(w.workspace.documents).map(([e,t])=>({id:e,type:"document",description:t.info.description,name:t.info.title??e,title:t.info.title??e,children:t?.["x-scalar-navigation"]?.children??[]}))),{hooks:{}}),E=e=>{e.forEach(e=>{("tag"===e.type||"models"===e.type)&&_.setExpanded(e.id,!0),"children"in e&&e.children&&E(e.children)})},A=(0,g.Fl)(()=>{let e=d.value;if(!e)return[];let t=_.items.value.find(e=>e.id===s.value)?.children??[];if(e.defaultOpenAllTags&&E(t),e.expandAllModelSections){let e=t.find(e=>"models"===e.type);e&&(_.setExpanded(e.id,!0),e.children?.forEach(e=>{_.setExpanded(e.id,!0)}))}return t}),T=(0,g.Fl)(()=>A.value.find(e=>"text"===e.type&&"Introduction"===e.title)?.id??`${s.value}/description/introduction`),D=(0,v.iH)(""),C=(0,g.Fl)(()=>({breadcrumb:D.value})),$=e=>{let t=_.getEntryById(e);t&&"document"!==t.type?D.value=t.title:D.value=""},P=e=>{$(e),_.setSelected(e),tv(e,_.setExpanded,_.getEntryById)};ub({config:()=>d.value,store:w,isDarkMode:S}),ub({config:()=>d.value,store:k,isDarkMode:S});let I=(0,g.Fl)(()=>(0,f.js)(w,w.workspace.activeDocument??null).environment);"undefined"!=typeof window&&(window.dataDumpWorkspace=()=>w),t({eventBus:a,workspaceStore:w,sidebarItems:A});let N=async(e,t)=>{let n=await w.addDocument(e,t),r=w.exportWorkspace();return k.loadWorkspace({auth:{},documents:{[e.name]:uE(r.documents[e.name])??{openapi:"3.1.0",info:{title:"",version:""},"x-scalar-original-document-hash":""}},intermediateDocuments:{},originalDocuments:{},overrides:{},history:{},meta:{}}),n},U=async(e,t)=>{let n=o.value[e];if(!n){console.warn(`Document ${e} not found in configList`);return}let r={...n.config,...c.value},a=r.onDocumentSelect?.();if(!function(e,t,n){let r=e6(t||e,n.pathRouting?.basePath,l.value);r&&window.history.replaceState({},"",r.toString()),s.value=e}(e,t,r),L.value?.route({documentSlug:e,method:"get",path:"/"}),!w.workspace.documents[e]){let t=await N(n.source.url?{name:e,url:n.source.url,fetch:r.fetch}:{name:e,document:n.source.content??{}},r),a=k.workspace.documents[e];if(!0===t&&void 0!==a&&void 0===a["x-scalar-selected-server"]){let t=(0,f.MC)(n.config.servers??a.servers,{baseServerUrl:d.value.baseServerURL,documentUrl:n.source.url});t.length>0&&k.updateDocument(e,"x-scalar-selected-server",t[0].url)}}if(w.update("x-scalar-active-document",e),k.update("x-scalar-active-document",e),r.persistAuth&&sK(k,e),(async()=>{await a,r.onLoaded?.(e)})(),t&&t!==e)P(t);else if(r.defaultOpenFirstTag){let e=A.value.find(e=>"tag"===e.type);e&&_.setExpanded(e.id,!0)}};(0,g.YP)(()=>Object.values(o.value),async(e,t)=>{let n=async(e,t)=>{if(w.workspace.documents[e.slug]){if(e.source.url&&e.source.url!==t?.source.url){await N({name:e.slug,url:e.source.url,fetch:e.config.fetch},e.config);return}e.source.content&&function e(t,n,r={cyclesFix:!0},a=[]){let i=[],o=Array.isArray(t);for(let l in t){let s=t[l],u=o?+l:l;if(!(l in n)){i.push({type:"REMOVE",path:[u],oldValue:t[l]});continue}let c=n[l],d="object"==typeof s&&"object"==typeof c&&Array.isArray(s)===Array.isArray(c);s&&c&&d&&!u$[Object.getPrototypeOf(s)?.constructor?.name]&&(!r.cyclesFix||!a.includes(s))?i.push.apply(i,e(s,c,r,r.cyclesFix?a.concat([s]):[]).map(e=>(e.path.unshift(u),e))):s===c||Number.isNaN(s)&&Number.isNaN(c)||d&&(isNaN(s)?s+""==c+"":+s==+c)||i.push({path:[u],type:"CHANGE",value:c,oldValue:s})}let l=Array.isArray(n);
5for(let e in n)e in t||i.push({type:"CREATE",path:[l?+e:e],value:n[e]});return i}(e.source.content,t&&"content"in t.source?t.source.content??{}:{}).length&&await N({name:e.slug,document:e.source.content},e.config)}};e.forEach((e,r)=>n(e,t[r]));let r=e.map(e=>e.slug),a=t.map(e=>e.slug);r.length===a.length&&r.every((e,t)=>e===a[t])||await U(r[0]??"")},{deep:!0}),(0,g.vl)(()=>U(s.value)),(0,g.wF)(async()=>{sG(k),await U(s.value,e4(window.location.href,o.value[s.value]?.config.pathRouting?.basePath,l.value?void 0:s.value))});let M=(0,g.Fl)(()=>o.value[s.value]?.source?.url),R=function(e){let t=(0,v.iH)(!1),n=(0,v.iH)(""),r={showAgent:t,agentEnabled:e.agentEnabled??(0,g.Fl)(()=>(0,el.R)(window.location.href)),prefilledMessage:n,openAgent:e=>{n.value=e??"",t.value=!0},closeAgent:()=>{t.value=!1,n.value=""},toggleAgent:()=>{t.value=!t.value,t.value||(n.value="")}};return eu.value=r,r}({agentEnabled:(0,g.Fl)(()=>!o.value[s.value]?.agent?.disabled&&(!!("undefined"!=typeof window&&(0,el.R)(window.location.href))||!!o.value[s.value]?.agent?.key))});(0,g.JJ)(es,R);let j=(0,g.AE)("modal"),L=(0,v.iH)(null);(0,g.bv)(()=>{j.value&&(L.value=(0,lh._$)({el:j.value,eventBus:a,workspaceStore:k,options:d,plugins:[...h.getApiClientPlugins(),...s0(d,I)]}))}),(0,g.Jd)(()=>{h.notifyDestroy(),L.value?.app.unmount()}),a.on("server:update:selected",({url:e})=>d.value.onServerChange?.(e)),a.on("ui:download:document",({format:e})=>{let t=w.exportActiveDocument(e);if(!t){console.error("No document found to download");return}sY(t,s.value??"openapi",e)});let Z=(e,t)=>{let n=_.getEntryById(e);if((n?.type==="tag"||n?.type==="models"||n?.type==="text")&&_.isExpanded(e)&&_.selectedItem.value===e){let t=tu();_.setExpanded(e,!1),t();return}n?.type!=="tag"&&n?.type!=="models"&&(i.value=!1),P(e);let r=e6(e,p.value,l.value);r&&(window.history.pushState({},"",r),"sidebar"===t&&d.value.onSidebarClick?.(r.toString())),R.showAgent.value&&R.closeAgent()};a.on("select:nav-item",({id:e})=>Z(e)),a.on("scroll-to:nav-item",({id:e})=>Z(e)),a.on("intersecting:nav-item",({id:e})=>{if(!tc.value)return;_.setSelected(e),$(e),(0,O.SR)(e);let t=e6(e,p.value,l.value);t&&w.workspace.activeDocument&&window.history.replaceState({},"",t.toString())}),a.on("toggle:nav-item",({id:e,open:t})=>{if(t){d.value.onShowMore?.(e);let t=_.getEntryById(e);if(t&&"children"in t&&t.children){let e=t.children[0];e&&tm(e.id)}}_.setExpanded(e,t??!_.isExpanded(e))}),a.on("copy-url:nav-item",({id:e})=>{let t=e6(e,p.value,l.value)?.toString();return t&&n(t)}),(0,g.wF)(()=>{window.history.scrollRestoration="manual",(0,b.PQ)(),window.addEventListener("popstate",()=>{let e=e4(window.location.href,d.value.pathRouting?.basePath,l.value?void 0:s.value);e&&P(e)})});let B=(0,g.AE)("documentStartRef");eM(B,()=>{a.emit("intersecting:nav-item",{id:s.value})},{onExit:()=>{let e=window.innerHeight/2,t=document.elementsFromPoint(window.innerWidth/2,e).find(e=>"SECTION"===e.tagName&&e.id);t?.id&&a.emit("intersecting:nav-item",{id:t.id})},immediate:!0});let z=(0,g.Fl)(()=>{let e=w.workspace["x-scalar-color-mode"];return"system"===e?sV():e}),F=(0,eU.PrY)("undefined"!=typeof document?document.body:null);(0,g.YP)(R.showAgent,()=>F.value=R.showAgent.value);let Q=(0,g.Fl)(()=>!d.value.mcp?.disabled&&(!!("undefined"!=typeof window&&(0,el.R)(window.location.href))||!!d.value.mcp));return(e,t)=>((0,g.wg)(),(0,g.iD)("div",null,[((0,g.wg)(),(0,g.j4)((0,g.LL)("style"),null,{default:(0,g.w5)(()=>[(0,g.Uk)((0,y.zw)(d.value.customCss)+" "+(0,y.zw)(m.value),1)]),_:1})),(0,g._)("div",{ref:"documentEl",class:(0,y.C_)(["scalar-app scalar-api-reference references-layout",[{"scalar-api-references-standalone-mobile":d.value.showSidebar,"scalar-scrollbars-obtrusive":r.value,"references-editable":d.value.isEditable,"references-sidebar":d.value.showSidebar,"references-sidebar-mobile-open":i.value,"references-classic":"classic"===d.value.layout},e.$attrs.class]])},[(0,v.SU)(R).agentEnabled.value?((0,g.wg)(),(0,g.j4)((0,v.SU)(ew),{key:0,agentScalarConfiguration:o.value[s.value]?.agent,eventBus:(0,v.SU)(a),externalUrls:d.value.externalUrls,workspaceStore:(0,v.SU)(w)},null,8,["agentScalarConfiguration","eventBus","externalUrls","workspaceStore"])):(0,g.kq)("",!0),"modern"===d.value.layout?((0,g.wg)(),(0,g.j4)(lD,{key:1,breadcrumb:D.value,isSidebarOpen:i.value,showSidebar:d.value.showSidebar,onToggleSidebar:t[3]||(t[3]=()=>i.value=!i.value)},{search:(0,g.w5)(()=>[d.value.hideSearch?(0,g.kq)("",!0):((0,g.wg)(),(0,g.j4)(eo,{key:0,class:"my-2",document:(0,v.SU)(w).workspace.activeDocument,eventBus:(0,v.SU)(a),hideModels:d.value.hideModels,searchHotKey:d.value.searchHotKey,showSidebar:d.value.showSidebar},null,8,["document","eventBus","hideModels","searchHotKey","showSidebar"]))]),sidebar:(0,g.w5)(({sidebarClasses:n})=>[d.value.showSidebar&&"modern"===d.value.layout?((0,g.wg)(),(0,g.j4)((0,v.SU)(O.lH),{key:0,"aria-label":`Sidebar for ${v.SU(w).workspace.activeDocument?.info?.title}
5`,class:(0,y.C_)(["t-doc__sidebar",n]),isExpanded:(0,v.SU)(_).isExpanded,isSelected:(0,v.SU)(_).isSelected,items:A.value,layout:"reference",options:d.value,role:"navigation",onSelectItem:t[1]||(t[1]=e=>Z(e,"sidebar")),onToggleGroup:t[2]||(t[2]=e=>(0,v.SU)(_).setExpanded(e,!(0,v.SU)(_).isExpanded(e)))},{header:(0,g.w5)(()=>[u.value.length>1?((0,g.wg)(),(0,g.j4)(sq,{key:0,modelValue:s.value,options:u.value,"onUpdate:modelValue":U},null,8,["modelValue","options"])):(0,g.kq)("",!0),d.value.hideSearch?(0,g.kq)("",!0):((0,g.wg)(),(0,g.iD)("div",uP,[(0,g.Wm)(eo,{document:(0,v.SU)(w).workspace.activeDocument,eventBus:(0,v.SU)(a),hideModels:d.value.hideModels,searchHotKey:d.value.searchHotKey},null,8,["document","eventBus","hideModels","searchHotKey"]),(0,v.SU)(R).agentEnabled.value?((0,g.wg)(),(0,g.j4)((0,v.SU)(ey),{key:0})):(0,g.kq)("",!0)])),(0,g.WI)(e.$slots,"sidebar-start",(0,y.vs)((0,g.F4)(C.value)),void 0,!0)]),footer:(0,g.w5)(()=>[(0,g.WI)(e.$slots,"sidebar-end",(0,y.vs)((0,g.F4)(C.value)),()=>[(0,g.Wm)((0,v.SU)(b.mr),{class:"darklight-reference"},{toggle:(0,g.w5)(()=>[d.value.hideDarkModeToggle||d.value.forceDarkModeState?((0,g.wg)(),(0,g.iD)("span",uI)):((0,g.wg)(),(0,g.j4)((0,v.SU)(b.BT),{key:0,modelValue:"dark"===z.value,"onUpdate:modelValue":t[0]||(t[0]=()=>(0,v.SU)(x)())},null,8,["modelValue"]))]),default:(0,g.w5)(()=>[d.value.hideClientButton||Q.value?(0,g.kq)("",!0):((0,g.wg)(),(0,g.j4)((0,v.SU)(uA.Z),{key:0,buttonSource:"sidebar",integration:d.value._integration,isDevelopment:(0,v.SU)(!1),url:M.value},null,8,["integration","isDevelopment","url"])),Q.value?((0,g.wg)(),(0,g.j4)((0,v.SU)(eC),{key:1,config:d.value.mcp,externalUrls:d.value.externalUrls,isDevelopment:(0,v.SU)(!1),url:M.value,workspace:(0,v.SU)(w)},null,8,["config","externalUrls","isDevelopment","url","workspace"])):(0,g.kq)("",!0)]),_:1})],!0)]),_:3},8,["aria-label","class","isExpanded","isSelected","items","options"])):(0,g.kq)("",!0)]),_:3},8,["breadcrumb","isSidebarOpen","showSidebar"])):(0,g.kq)("",!0),(0,g._)("main",{"aria-label":`Open API Documentation for ${v.SU(w).workspace.activeDocument?.info?.title}`,class:"references-rendered",inert:(0,v.SU)(R).showAgent.value},[(0,g.Wm)(ly,{authStore:(0,v.SU)(k).auth,clientDocument:(0,v.SU)(k).workspace.activeDocument,document:(0,v.SU)(w).workspace.activeDocument,environment:I.value,eventBus:(0,v.SU)(a),expandedItems:(0,v.SU)(_).expandedItems.value,headingSlugGenerator:d.value.generateHeadingSlug??(e=>`${s.value}/description/${e.slug}`),infoSectionId:T.value,items:A.value,options:d.value,xScalarDefaultClient:(0,v.SU)(k).workspace["x-scalar-default-client"]},(0,g.Nv)({start:(0,g.w5)(()=>[(0,g._)("div",{ref_key:"documentStartRef",ref:B},null,512),(0,v.SU)(w).workspace.activeDocument?((0,g.wg)(),(0,g.j4)((0,v.SU)(sz),{key:0,overrides:c.value,"onUpdate:overrides":t[4]||(t[4]=e=>c.value=e),class:"references-developer-tools",configuration:d.value,externalUrls:d.value.externalUrls,workspace:(0,v.SU)(w)},null,8,["overrides","configuration","externalUrls","workspace"])):(0,g.kq)("",!0),"classic"===d.value.layout?((0,g.wg)(),(0,g.j4)(eN,{key:1},{"dark-mode-toggle":(0,g.w5)(()=>[d.value.hideDarkModeToggle||d.value.forceDarkModeState?(0,g.kq)("",!0):((0,g.wg)(),(0,g.j4)((0,v.SU)(b.p2),{key:0,class:"text-c-2 hover:text-c-1",mode:z.value,style:{transform:"scale(1.4)"},variant:"icon",onClick:t[5]||(t[5]=()=>(0,v.SU)(x)())},null,8,["mode"]))]),default:(0,g.w5)(()=>[(0,g._)("div",uU,[u.value.length>1?((0,g.wg)(),(0,g.j4)(sq,{key:0,modelValue:s.value,options:u.value,"onUpdate:modelValue":U},null,8,["modelValue","options"])):(0,g.kq)("",!0)]),d.value.hideSearch?(0,g.kq)("",!0):((0,g.wg)(),(0,g.j4)(eo,{key:0,class:"t-doc__sidebar max-w-64",document:(0,v.SU)(w).workspace.activeDocument,eventBus:(0,v.SU)(a),hideModels:d.value.hideModels,searchHotKey:d.value.searchHotKey},null,8,["document","eventBus","hideModels","searchHotKey"]))]),_:1})):(0,g.kq)("",!0),(0,g.WI)(e.$slots,"content-start",(0,y.vs)((0,g.F4)(C.value)),void 0,!0)]),end:(0,g.w5)(()=>[(0,g.WI)(e.$slots,"content-end",(0,y.vs)((0,g.F4)(C.value)),void 0,!0)]),_:2},[d.value.isEditable?{name:"empty-state",fn:(0,g.w5)(()=>[(0,g.WI)(e.$slots,"editor-placeholder",(0,y.vs)((0,g.F4)(C.value)),void 0,!0)]),key:"0"}:void 0]),1032,["authStore","clientDocument","document","environment","eventBus","expandedItems","headingSlugGenerator","infoSectionId","items","options","xScalarDefaultClient"])],8,uN),e.$slots.footer?((0,g.wg)(),(0,g.iD)("div",uM,[(0,g.WI)(e.$slots,"footer",(0,y.vs)((0,g.F4)(C.value)),void 0,!0)])):(0,g.kq)("",!0),(0,g._)("div",{ref_key:"modal",ref:j},null,512)],2),(0,g.Wm)((0,v.SU)(e_.NQ))]))}}),[["__scopeId","data-v-07ea94ee"]]);function uj(e,t={},n){for(let r in e){let a=e[r],i=n?`${n}:${r}`:r;"object"==typeof a&&null!==a?uj(a,t,i):"function"==typeof a&&(t[i]=a)}return t}let uL=(()=>
5{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function uZ(e,t,n){if(e.length>0)return function e(t,n,r,a){for(let i=r;i<t.length;i+=1)try{let r=a?a.run(()=>t[i](...n)):t[i](...n);if(r&&"function"==typeof r.then)return Promise.resolve(r).then(()=>e(t,n,i+1,a))}catch(e){return Promise.reject(e)}}(e,t,0,uL(n))}function uB(e,t,n){if(e.length>0){let r=uL(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function uz(e,t){for(let n of[...e])n(t)}var uF=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,n={}){let r;if(!e||"function"!=typeof t)return()=>{};let a=e;for(;this._deprecatedHooks[e];)e=(r=this._deprecatedHooks[e]).to;if(r&&!n.allowDeprecated){let e=r.message;e||(e=`${a} 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 n;let r=(...e)=>("function"==typeof n&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r)}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);-1!==r&&n.splice(r,1),0===n.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 n=this._hooks[e]||[];for(let t of(this._hooks[e]=void 0,n))this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=uj(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=uj(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(uZ,e,t)}callHookParallel(e,...t){return this.callHookWith(uB,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&uz(this._before,r);let a=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return a instanceof Promise?a.finally(()=>{this._after&&r&&uz(this._after,r)}):(this._after&&r&&uz(this._after,r),a)}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 uQ=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,uH={base:-10,title:10},uq={critical:-8,high:-1,low:2},uV={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}},uW=/@import/,uX=e=>""===e||!0===e;function uY(e,t){let n="function"==typeof t?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}async function uG(e,t={}){let n=t.document||e.resolvedOptions.document;if(!n||!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,a=new Promise(t=>{e.resolveTags().then(e=>{t(e.map(e=>{let t=r.get(e._d)||0,n={tag:e,id:(t?`${e._d}:${t}`:e._d)||e._h,shouldRender:!0};return e._d&&ud(e._d)&&r.set(e._d,t+1),n}))})}),i=e._dom;if(!i)for(let e of(i={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)},["body","head"]))for(let t of n[e]?.children){let e=t.tagName.toLowerCase();if(!s4.has(e))continue;let n=uh({tag:e,props:{}},{innerHTML:t.innerHTML,...t.getAttributeNames().reduce((e,n)=>(e[n]=t.getAttribute(n),e),{})||{}});if(n.key=t.getAttribute("data-hid")||void 0,n._d=up(n)||um(n),i.elMap.has(n._d)){let e=1,r=n._d;for(;i.elMap.has(r);)r=`${n._d}:${e++}`;i.elMap.set(r,t)}else i.elMap.set(n._d,t)}function o(e,t,n){let r=`${e}:${t}`;i.sideEffects[r]=n,delete i.pendingSideEffects[r]}
5function l({id:e,$el:t,tag:r}){let a=r.tag.endsWith("Attrs");for(let l in i.elMap.set(e,t),a||(r.textContent&&r.textContent!==t.textContent&&(t.textContent=r.textContent),r.innerHTML&&r.innerHTML!==t.innerHTML&&(t.innerHTML=r.innerHTML),o(e,"el",()=>{t?.remove(),i.elMap.delete(e)})),r.props){if(!Object.prototype.hasOwnProperty.call(r.props,l))continue;let i=r.props[l];if(l.startsWith("on")&&"function"==typeof i){let e=t?.dataset;if(e&&e[`${l}fired`]){let e=l.slice(0,-5);i.call(t,new Event(e.substring(2)))}""!==t.getAttribute(`data-${l}`)&&(("bodyAttrs"===r.tag?n.defaultView:t).addEventListener(l.substring(2),i.bind(t)),t.setAttribute(`data-${l}`,""));continue}let s=`attr:${l}`;if("class"===l){if(!i)continue;for(let n of i)a&&o(e,`${s}:${n}`,()=>t.classList.remove(n)),t.classList.contains(n)||t.classList.add(n)}else if("style"===l){if(!i)continue;for(let[n,r]of i)o(e,`${s}:${n}`,()=>{t.style.removeProperty(n)}),t.style.setProperty(n,r)}else!1!==i&&null!==i&&(t.getAttribute(l)!==i&&t.setAttribute(l,!0===i?"":String(i)),a&&o(e,s,()=>t.removeAttribute(l)))}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};let s=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0},c=await a;for(let e of c){let{tag:t,shouldRender:r,id:a}=e;if(r){if("title"===t.tag){n.title=t.textContent,o("title","",()=>n.title=i.title);continue}e.$el=e.$el||i.elMap.get(a),e.$el?l(e):s4.has(t.tag)&&s.push(e)}}for(let e of s){let t=e.tag.tagPosition||"head";e.$el=n.createElement(e.tag.tag),l(e),u[t]=u[t]||n.createDocumentFragment(),u[t].appendChild(e.$el)}for(let t of c)await e.hooks.callHook("dom:renderTag",t,n,o);for(let e in u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose),i.pendingSideEffects)i.pendingSideEffects[e]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:c}),t()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}var uK=(e,t)=>{let n=(0,v.qj)({configuration:t??e??{}}),r=(e=!1)=>{let t=e?(0,ee.vr)(()=>(0,g.h)(uR,n)):(0,ee.ri)(()=>(0,g.h)(uR,n));return t.use(function(e={}){var t,n;let r;let a=function(e={}){let t=e.domOptions?.render||uG;e.document=e.document||("undefined"!=typeof window?document:void 0);let n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return function(e={}){let t=new uF;t.addHooks(e.hooks||{});let n=!e.document,r=new Map,a=new Map,i=new Set,o={_entryCount:1,plugins:a,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries:()=>[...r.values()],use:e=>uY(o,e),push(e,a){let l={...a||{}};delete l.head;let s=l._index??o._entryCount++,u={_i:s,input:e,options:l},c={_poll(e=!1){o.dirty=!0,e||i.add(s),t.callHook("entries:updated",o)},dispose(){r.delete(s)&&o.invalidate()},patch(e){l.mode&&("server"!==l.mode||!n)&&("client"!==l.mode||n)||(u.input=e,r.set(s,u),c._poll())}};return c.patch(e),c},async resolveTags(){let n={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",n);i.size;){let n=i.values().next().value;i.delete(n);let a=r.get(n);if(a){let n={tags:(function(e,t){if(!e)return[];"function"==typeof e&&(e=e());let n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n};e=n(void 0,e);let r=[];return Object.entries((e=uf(e,n))||{}).forEach(([e,t])=>{if(void 0!==t)for(let n of Array.isArray(t)?t:[t])r.push(function(e,t){let n=uh({tag:e,props:{}},"object"==typeof t&&"function"!=typeof t?t:{["script"===e||"noscript"===e||"style"===e?"innerHTML":"textContent"]:t});return n.key&&s1.has(n.tag)&&(n.props["data-hid"]=n._h=n.key),"script"===n.tag&&"object"==typeof n.innerHTML&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||"application/json"),Array.isArray(n.props.content)?n.props.content.map(e=>({...n,props:{...n.props,content:e}})):n}(e,n))}),r.flat()})(a.input,e.propResolvers||[]).map(e=>Object.assign(e,a.options)),entry:a};await t.callHook("entries:normalize",n),a._tags=n.tags.map((e,t)=>(e._w=function(e,t){if("number"==typeof t.tagPriority)return t.tagPriority;let n=100,r=uq[t.tagPriority]||0,a=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:uV;if(t.tag in uH)n=uH[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&&(n=uV.meta[e])}else if("link"===t.tag&&t.props.rel)n=a.link[t.props.rel];else if("script"===t.tag){let e=String(t.props.type);uX(t.props.async)?n=a.script.async:(!t.props.src||uX(t.props.defer)||uX(t.props.async)||"module"===e||e.endsWith("json"))&&(!t.innerHTML||e.endsWith("json"))?(uX(t.props.defer)&&t.props.src&&!uX(t.props.async)||"module"===e)&&(n=a.script.defer):n=a.script.sync}else"style"===t.tag&&(n=t.innerHTML&&uW.test(t.innerHTML)?a.style.imported:a.style.sync);return(n||100)+r}(o,e),e._p=(a._i<<10)+t,e._d=up(e),e._d||(e._h=um(e)),e))}}let a=!1;
5n.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(uQ).reduce((e,t)=>{let n=t._d||t._h;if(!e.has(n))return e.set(n,t);let r=e.get(n);if("merge"===(t?.tagDuplicateStrategy||(s5.has(t.tag)?"merge":null)||(t.key&&t.key===r.key?"merge":null))){let a={...r.props};Object.entries(t.props).forEach(([e,t])=>a[e]="style"===e?new Map([...r.props.style||new Map,...t]):"class"===e?new Set([...r.props.class||new Set,...t]):t),e.set(n,{...t,props:a})}else t._p>>10==r._p>>10&&"meta"===t.tag&&ud(n)?(e.set(n,Object.assign([...Array.isArray(r)?r:[r],t],t)),a=!0):(t._w===r._w?t._p>r._p:t?._w<r?._w)&&e.set(n,t);return e},n.tagMap);let l=n.tagMap.get("title"),s=n.tagMap.get("titleTemplate");if(o._title=l?.textContent,s){let e=s?.textContent;if(o._titleTemplate=e,e){let t="function"==typeof e?e(l?.textContent):e;"string"!=typeof t||o.plugins.has("template-params")||(t=t.replace("%s",l?.textContent||"")),l?null===t?n.tagMap.delete("title"):n.tagMap.set("title",{...l,textContent:t}):(s.tag="title",s.textContent=t)}}n.tags=Array.from(n.tagMap.values()),a&&(n.tags=n.tags.flat().sort(uQ)),await t.callHook("tags:beforeResolve",n),await t.callHook("tags:resolve",n),await t.callHook("tags:afterResolve",n);let u=[];for(let e of n.tags){let{innerHTML:t,tag:n,props:r}=e;if(s8.has(n)&&(0!==Object.keys(r).length||e.innerHTML||e.textContent)&&("meta"!==n||r.content||r["http-equiv"]||r.charset)){if("script"===n&&t){if(String(r.type).endsWith("json")){let n="string"==typeof t?t:JSON.stringify(t);e.innerHTML=n.replace(/</g,"\\u003C")}else"string"==typeof t&&(e.innerHTML=t.replace(RegExp(`</${n}`,"g"),`<\\/${n}`));e._d=up(e)}u.push(e)}}return u},invalidate(){for(let e of r.values())i.add(e._i);o.dirty=!0,t.callHook("entries:updated",o)}};return(e?.plugins||[]).forEach(e=>uY(o,e)),o.hooks.callHook("init",o),e.init?.forEach(e=>e&&o.push(e)),o}({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[!!n&&JSON.parse(n),...e.init||[]]})}({domOptions:{render:(t=()=>uG(a),n=e=>setTimeout(e,0),r=0,()=>{let e=++r;n(()=>{r===e&&t()})})},...e});return a.install=({install(e){e.config.globalProperties.$unhead=a,e.config.globalProperties.$head=a,e.provide(uv,a)}}).install,a}()),t.config.idPrefix="scalar-refs",t},a=t?"string"==typeof e?document.querySelector(e):e:null,i=r(!!t&&!!a&&a.children.length>0);t&&(a?i.mount(a):console.error("Could not find a mount point for API References:",e)),document.addEventListener("scalar:reload-references",()=>{if(console.warn("scalar:reload-references event has been deprecated, please use the scalarInstance.app.mount method instead."),!n.configuration)return;let t="string"==typeof e?document.querySelector(e):e;t&&(t&&!document.body.contains(t)&&document.body.appendChild(t),i.unmount(),(i=r()).mount(t))},!1);let o=()=>{n.configuration={},i.unmount()};return document.addEventListener("scalar:destroy-references",()=>{console.warn("scalar:destroy-references event has been deprecated, please use scalarInstance.destroy instead."),o()},!1),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(n,e.detail)},!1),{app:i,getConfiguration:()=>n.configuration??{},updateConfiguration:e=>{n.configuration=e},destroy:o}},uJ=n(2265),u0=n(57437);globalThis.__VUE_OPTIONS_API__=!0,globalThis.__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!0,globalThis.__VUE_PROD_DEVTOOLS__=!1;var u1=e=>{let t=(0,uJ.useRef)(null),[n,r]=(0,uJ.useState)(null),a=()=>Array.isArray(e.configuration)?e.configuration.map(e=>({_integration:"react",...e})):{_integration:"react",...e.configuration};return(0,uJ.useEffect)(()=>{var e;if(!t.current)return null==n?void 0:null===(e=n.app)||void 0===e?void 0:e.unmount;let i=uK(t.current,a());return r(i),i.destroy},[t]),(0,uJ.useEffect)(()=>{null==n||n.updateConfiguration(a())},[e.configuration,n]),(0,u0.jsx)("div",{ref:t})}},9245:function(e,t,n){"use strict";n.d(t,{a:function(){return r}});let r={ts:"typescript",js:"javascript",py:"python",py3:"python","c#":"csharp","c++":"cpp",node:"javascript"}},76793:function(e,t,n){"use strict";n.d(t,{$:function(){return ek}});let r=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),a=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],i=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),o=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invali
5d","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),l=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),s=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-
5area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function u(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}function c(e){return RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function d(e){return e?"string"==typeof e?e:e.source:null}function p(e){return m("(?=",e,")")}function m(...e){return e.map(e=>d(e)).join("")}function f(...e){return"("+(function(e){let t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e).capture?"":"?:")+e.map(e=>d(e)).join("|")+")"}function h(e){let t=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let a={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},i={className:"literal",begin:/\bon|off|true|false|yes|no\b/},o={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},l=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,c
5ontains:[r,{className:"section",begin:/\[+/,end:/\]+/},{begin:t.concat(l,"(\\s*\\.\\s*",l,")*",t.lookahead(/\s*=\s*[^#\s]/)),className:"attr",starts:{end:/$/,contains:[r,{begin:/\[/,end:/\]/,contains:[r,i,a,o,n,"self"],relevance:0},i,a,o,n]}}]}}var g="[0-9](_*[0-9])*",v=`\\.(${g})`,y="[0-9a-fA-F](_*[0-9a-fA-F])*",b={className:"number",variants:[{begin:`(\\b(${g})((${v})|\\.)?|(${v}))[eE][+-]?(${g})[fFdD]?\\b`},{begin:`\\b(${g})((${v})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${v})[fFdD]?\\b`},{begin:`\\b(${g})[fFdD]\\b`},{begin:`\\b0[xX]((${y})\\.?|(${y})?\\.(${y}))[pP][+-]?(${g})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${y})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};let O="[A-Za-z$_][0-9A-Za-z$_]*",w=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],k=["true","false","null","undefined","NaN","Infinity"],x=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],S=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],_=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],E=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],A=[].concat(_,x,S);var T="[0-9](_*[0-9])*",D=`\\.(${T})`,C="[0-9a-fA-F](_*[0-9a-fA-F])*",$={className:"number",variants:[{begin:`(\\b(${T})((${D})|\\.)?|(${D}))[eE][+-]?(${T})[fFdD]?\\b`},{begin:`\\b(${T})((${D})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${D})[fFdD]?\\b`},{begin:`\\b(${T})[fFdD]\\b`},{begin:`\\b0[xX]((${C})\\.?|(${C})?\\.(${C}))[pP][+-]?(${T})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${C})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};let P=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),I=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],N=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),U=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invali
5d","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),M=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),R=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-
5area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),j=U.concat(M).sort().reverse(),L=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Z=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],B=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),z=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invali
5d","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),F=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Q=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-
5area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function H(e){return e?"string"==typeof e?e:e.source:null}function q(e){return V("(?=",e,")")}function V(...e){return e.map(e=>H(e)).join("")}function W(...e){return"("+(function(e){let t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e).capture?"":"?:")+e.map(e=>H(e)).join("|")+")"}let X=e=>V(/\b/,e,/\w$/.test(e)?/\b/:/\B/),Y=["Protocol","Type"].map(X),G=["init","self"].map(X),K=["Any","Self"],J=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],ee=["false","nil","true"],et=["assignment","associativity","higherThan","left","lowerThan","none","right"],en=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],er=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","
5withoutActuallyEscaping","zip"],ea=W(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),ei=W(ea,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),eo=V(ea,ei,"*"),el=W(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),es=W(el,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),eu=V(el,es,"*"),ec=V(/[A-Z]/,es,"*"),ed=["attached","autoclosure",V(/convention\(/,W("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",V(/objc\(/,eu,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],ep=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"],em="[A-Za-z$_][0-9A-Za-z$_]*",ef=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],eh=["true","false","null","undefined","NaN","Infinity"],eg=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ev=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],ey=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],eb=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],eO=[].concat(ey,eg,ev);function ew(e){let t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},i=e.inherit(a,{begin:/\(/,end:/\)/}),o=e.inherit(e.APOS_STRING_MODE,{className:"string"}),l=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),s={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[\p{L}0-9._:-]+/u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,l,o,i,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[a,i,l,o]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[l]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[s],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[s],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:s}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}let ek={bash:function(e){let t=e.regex,n={};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},{begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]}]});let r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},o={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,r]};r.contains.push(o);let l={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},s=e.SHEBANG({binary:"(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)",relevance:10}),u={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"]},contains:[s,e.SHEBANG(),u,l,a,i,{match:/(\/[a-z._-]+)+/},o,{match:/\\"/},{className:"string",begin:/'/,end:/'/},{match:/\\'/},n]}},c:function(e){let t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}
vendor: 7,940 bytes, line 5
5),r="decltype\\(auto\\)",a="[a-zA-Z_]\\w*::",i="("+r+"|"+t.optional(a)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},s={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},u={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},c={className:"title",begin:t.optional(a)+e.IDENT_RE,relevance:0},d=t.optional(a)+e.IDENT_RE+"\\s*\\(",p={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},m=[u,o,n,e.C_BLOCK_COMMENT_MODE,s,l],f={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:m.concat([{begin:/\(/,end:/\)/,keywords:p,contains:m.concat(["self"]),relevance:0}]),relevance:0},h={begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(c,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,l,s,o,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,l,s,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,u]};return{name:"C",aliases:["h"],keywords:p,disableAutodetect:!0,illegal:"</",contains:[].concat(f,h,m,[u,{begin:e.IDENT_RE+"::",keywords:p},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:u,strings:l,keywords:p}}},clojure:function(e){let t="a-zA-Z_\\-!.?+*=<>&'",n="[#]?["+t+"]["+t+"0-9/;:$#]*",r="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",a={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},i={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},o={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s={scope:"punctuation",match:/,/,relevance:0},u=e.COMMENT(";","$",{relevance:0}),c={className:"literal",begin:/\b(true|false|nil)\b/},d={begin:"\\[|(#::?"+n+")?\\{",end:"[\\]\\}]",relevance:0},p={className:"symbol",begin:"[:]{1,2}"+n},m={begin:"\\(",end:"\\)"},f={endsWithParent:!0,relevance:0},h=[s,m,i,o,l,u,p,d,a,c,{begin:n,relevance:0}],g={beginKeywords:r,keywords:{$pattern:n,keyword:r},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:n,relevance:0,excludeEnd:!0,endsParent:!0}].concat(h)};return m.contains=[g,{keywords:{$pattern:n,built_in:r+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},className:"name",begin:n,relevance:0,starts:f},f],f.contains=h,d.contains=h,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,c
vendor: 1,763 bytes, line 5
5ontains:[s,m,i,o,l,u,p,d,a,c]}},cpp:function(e){let t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",a="[a-zA-Z_]\\w*::",i="(?!struct)("+r+"|"+t.optional(a)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},s={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},u={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},c={className:"title",begin:t.optional(a)+e.IDENT_RE,relevance:0},d=t.optional(a)+e.IDENT_RE+"\\s*\\(",p={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_
5noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},m={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},f=[m,u,o,n,e.C_BLOCK_COMMENT_MODE,s,l],h={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:f.concat([{begin:/\(/,end:/\)/,keywords:p,contains:f.concat(["self"]),relevance:0}]),relevance:0},g={className:"function",begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[c],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[l,s]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,l,s,o,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,l,s,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,u]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:p,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(h,g,m,f,[u,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:p,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:p},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}},csharp:function(e){let t={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","
5sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},n=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),r={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},a={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},i=e.inherit(a,{illegal:/\n/}),o={className:"subst",begin:/\{/,end:/\}/,keywords:t},l=e.inherit(o,{illegal:/\n/}),s={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,l]},u={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},o]},c=e.inherit(u,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},l]});o.contains=[u,s,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_BLOCK_COMMENT_MODE],l.contains=[c,s,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let d={variants:[{className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},u,s,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p={begin:"<",end:">",contains:[{beginKeywords:"in out"},n]},m=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",f={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},d,r,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},n,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+m+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{beginKeywords:"public private protected static internal protected abstract async extern override unsafe virtual new sealed partial",relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,p],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[d,r,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},f]}},css:function(e){let t=e.regex,n=r(e),u=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+o.join("|")+")"},{begin:":(:)?("+l.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+s.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...u,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...u,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:i.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...u,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+a.join("|")+")\\b"}]}},curl:e=>{let t={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}],relevance:0},n={className:"number",variants:[{begin:e.C_NUMBER_RE}],relevance:0};return{name:"curl",aliases:["curl"],keywords:"curl",case_insensitive:!0,contains:[{className:"literal",begin:/(--request|-X)\s/,contains:[{className:"symbol",begin:/(get|post|delete|options|head|put|patch|trace|connect)/,end:/\s/,returnEnd:!0}],returnEnd:!0,relevance:10},{className:"literal",begin:/--/,end:/[\s"]/,returnEnd:!0,relevance:0}
5,{className:"literal",begin:/-\w/,end:/[\s"]/,returnEnd:!0,relevance:0},t,{className:"string",begin:/\\"/,relevance:0},{className:"string",begin:/'/,end:/'/,relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,{match:/(\/[a-z._-]+)+/}]}},dart:function(e){let t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},n={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},r={className:"number",relevance:0,variants:[{match:/\b[0-9][0-9_]*(\.[0-9][0-9_]*)?([eE][+-]?[0-9][0-9_]*)?\b/},{match:/\b0[xX][0-9A-Fa-f][0-9A-Fa-f_]*\b/}]},a={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]}]};n.contains=[r,a];let i=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],o=i.map(e=>`${e}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:i.concat(o).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[a,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},r,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}},diff:function(e){let t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}},docker:u,dockerfile:u,elixir:function(e){let t=e.regex,n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",r={$pattern:n,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},a={className:"subst",begin:/#\{/,end:/\}/,keywords:r},i={match:/\\[\s\S]/,scope:"char.escape",relevance:0},o="[/|([{<\"']",l=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],s=e=>({scope:"char.escape",begin:t.concat(/\\/,e),relevance:0}),u={className:"string",begin:"~[a-z](?="+o+")",contains:l.map(t=>e.inherit(t,{contains:[s(t.end),i,a]}))},c={className:"string",begin:"~[A-Z](?="+o+")",contains:l.map(t=>e.inherit(t,{contains:[s(t.end)]}))},d={className:"regex",variants:[{begin:"~r(?="+o+")",contains:l.map(n=>e.inherit(n,{end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[s(n.end),i,a]}))},{begin:"~R(?="+o+")",contains:l.map(n=>e.inherit(n,{end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[s(n.end)]}))}]},p={className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},m={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},f=e.inherit(m,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),h=[p,d,c,u,e.HASH_COMMENT_MODE,f,m,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[p,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0}
5,{className:"symbol",begin:n+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},{className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return a.contains=h,{name:"Elixir",aliases:["ex","exs"],keywords:r,contains:h}},fsharp:function(e){let t={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},n=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],r={keyword:["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],literal:["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"]},a={variants:[e.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),e.C_LINE_COMMENT_MODE]},i={scope:"variable",begin:/``/,end:/``/},o=/\B('|\^)/,l={scope:"symbol",variants:[{match:m(o,/``.*?``/)},{match:m(o,e.UNDERSCORE_IDENT_RE)}],relevance:0},s=function({includeEqual:e}){let t=m("[",...Array.from(e?"!%&*+-/<=>@^|~?":"!%&*+-/<>@^|~?").map(c),"]"),n=f(t,/\./),r=m(n,p(n)),a=f(m(r,n,"*"),m(t,"+"));return{scope:"operator",match:f(a,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},u=s({includeEqual:!0}),d=s({includeEqual:!1}),h=function(t,o){return{begin:m(t,p(m(/\s*/,f(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:o,end:p(f(/\n/,/=/)),relevance:0,keywords:e.inherit(r,{type:n}),contains:[a,l,e.inherit(i,{scope:null}),d]}},g=h(/:/,"operator"),v=h(/\bof\b/,"keyword"),y={begin:[/(^|\s+)/,/type/,/\s+/,/[a-zA-Z_](\w|')*/],beginScope:{2:"keyword",4:"title.class"},end:p(/\(|=|$/),keywords:r,contains:[a,e.inherit(i,{scope:null}),l,{scope:"operator",match:/<|>/},g]},b={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},O={begin:[/^\s*/,m(/#/,f("if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit")),/\b/],beginScope:{2:"meta"},end:p(/\s|$/)},w={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},k={scope:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},x={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},e.BACKSLASH_ESCAPE]},S={scope:"string",begin:/"""/,end:/"""/,relevance:2},_={scope:"subst",begin:/\{/,end:/\}/,keywords:r},E={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},e.BACKSLASH_ESCAPE,_]},A={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},e.BACKSLASH_ESCAPE,_]},T={scope:"string",match:m(/'/,f(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return _.contains=[A,E,x,k,T,t,a,i,g,b,O,w,l,u],{name:"F#",aliases:["fs","f#"],keywords:r,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[t,{variants:[{scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},_],relevance:2},A,E,S,x,k,T]},a,i,y,{scope:"meta",begin:/\[</,end:/>\]/,relevance:2,contains:[i,S,x,k,T,w]},v,g,b,O,w,l,u]}},go:function(e){let t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}},graphql:function(e){let t=e.regex;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","
5interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(/[_A-Za-z][_0-9A-Za-z]*/,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}},haskell:function(e){let t="([0-9]_*)+",n="([0-9a-fA-F]_*)+",r="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",a={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},i={className:"meta",begin:/\{-#/,end:/#-\}/},o={className:"meta",begin:"^#",end:"$"},l={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},s={begin:"\\(",end:"\\)",illegal:'"',contains:[i,o,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),a]},u={begin:/\{/,end:/\}/,contains:s.contains},c={className:"number",relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${n})(\\.(${n}))?([pP][+-]?(${t}))?\\b`},{match:"\\\b0[oO](([0-7]_*)+)\\\b"},{match:"\\\b0[bB](([01]_*)+)\\\b"}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[s,a],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[s,a],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[l,s,a]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[i,l,s,u,a]},{beginKeywords:"default",end:"$",contains:[l,s,a]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,a]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[l,e.QUOTE_STRING_MODE,a]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},i,o,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,c,l,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${r}--+|--+(?!-)${r}`},a,{begin:"->|<-"}]}},html:ew,http:function(e){let t=e.regex,n="HTTP/([32]|1\\.[01])",r={className:"attribute",begin:t.concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},a=[r,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+n+" \\d{3})",end:/$/,contains:[{className:"meta",begin:n},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:a}},{begin:"(?=^[A-Z]+ (.*?) "+n+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:n},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:a}},e.inherit(r,{relevance:0})]}},ini:h,java:function(e){let t=e.regex,n="[\xc0-ʸa-zA-Z_$][\xc0-ʸa-zA-Z_$0-9]*",r=n+function e(t,n,r){return -1===r?"":t.replace(n,a=>e(t,n,r-1))}("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),a={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},i={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},o={className:"params",begin:/\(/,end:/\)/,keywords:a,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:a,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0}
vendor: 4,602 bytes, line 5
5,{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+r+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:a,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:a,relevance:0,contains:[i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,b,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},b,i]}},javascript:function(e){var t;let n=e.regex,r=(e,{after:t})=>{let n="</"+e[0].slice(1);return -1!==e.input.indexOf(n,t)},a=/<[A-Za-z0-9\\._:-]+/,i=/\/[A-Za-z0-9\\._:-]+>|\/>/,o={$pattern:O,keyword:w,literal:k,built_in:A,"variable.language":E},l="[0-9](_?[0-9])*",s=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${u})((${s})|\\.)?|(${s}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${s})\\b|\\.)?|(${s})\\b`},{begin:"\\\b(0|[1-9](_?[0-9])*)n\\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},d={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},p={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},m={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"css"}},f={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"graphql"}},h={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,d]},g={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:O+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,f,h,{match:/\$\d+/},c];d.contains=v.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(v)});let y=[].concat(g,d.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:o,contains:["self"].concat(y)}]),T={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:b},D={variants:[{match:[/class/,/\s+/,O,/\s+/,/extends/,/\s+/,n.concat(O,"(",n.concat(/\./,O),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,O],scope:{1:"keyword",3:"title.class"}}]},C={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...x,...S]}},$={match:n.concat(/\b/,(t=[..._,"super","import"].map(e=>`${e}\\s*\\(`),n.concat("(?!",t.join("|"),")")),O,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},P={begin:n.concat(/\./,n.lookahead(n.concat(O,/(?![0-9A-Za-z$_(])/))),end:O,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},I="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",N={match:[/const|var|let/,/\s+/,O,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(I)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[T]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:C},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,f,h,g,{match:/\$\d+/},c,C,{scope:"attr",match:O+n.lookahead(":"),relevance:0},N,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[g,e.REGEXP_MODE,{className:"function",begin:I,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0}
5,{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:"</>"},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:a,"on:begin":(e,t)=>{let n;let a=e[0].length+e.index,i=e.input[a];if("<"===i||","===i){t.ignoreMatch();return}">"!==i||r(e,{after:a})||t.ignoreMatch();let o=e.input.substring(a);if((n=o.match(/^\s*=/))||(n=o.match(/^\s+extends\s+/))&&0===n.index){t.ignoreMatch();return}},end:i}],subLanguage:"xml",contains:[{begin:a,end:i,skip:!0,contains:["self"]}]}]},{variants:[{match:[/function/,/\s+/,O,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[T],illegal:/%/},{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[T,e.inherit(e.TITLE_MODE,{begin:O,className:"title.function"})]},{match:/\.\.\./,relevance:0},P,{match:"\\$"+O,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[T]},$,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},D,{match:[/get|set/,/\s+/,O,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},T]},{match:/\$[(.]/}]}},json:function(e){let t=["true","false","null"],n={scope:"literal",beginKeywords:t.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:t},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},e.QUOTE_STRING_MODE,n,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}},kotlin:function(e){let t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},r={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},a={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},i={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[a,r]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,a,r]}]};r.contains.push(i);let o={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},l={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(i,{className:"string"}),"self"]}]},s=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),u={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]};return u.variants[1].contains=[u],u.variants[1].contains=[u],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,s,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},n,o,l,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[u,e.C_LINE_COMMENT_MODE,s],relevance:0},e.C_LINE_COMMENT_MODE,s,o,l,i,e.C_NUMBER_MODE]},s]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0}
5,{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},o,l]},i,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},$]}},less:function(e){let t=P(e),n="[\\w-]+",r="("+n+"|@\\{"+n+"\\})",a=[],i=[],o=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},l=function(e,t,n){return{className:e,begin:t,relevance:n}},s={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:N.join(" ")};i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o("'"),o('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,{begin:"\\(",end:"\\)",contains:i,keywords:s,relevance:0},l("variable","@@?"+n,10),l("variable","@\\{"+n+"\\}"),l("built_in","~?`[^`]*?`"),{className:"attribute",begin:n+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);let u=i.concat({begin:/\{/,end:/\}/,contains:a}),c={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(i)},d={begin:r+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+R.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:i}}]},p={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:r,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,c,l("keyword","all\\b"),l("variable","@\\{"+n+"\\}"),{begin:"\\b("+I.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,l("selector-tag",r,0),l("selector-id","#"+r),l("selector-class","\\."+r,0),l("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+U.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+M.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:u},{begin:"!important"},t.FUNCTION_DISPATCH]},m={begin:n+":(:)?"+`(${j.join("|")})`,returnBegin:!0,contains:[p]};return a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:s,returnEnd:!0,contains:i,relevance:0}},{className:"variable",variants:[{begin:"@"+n+"\\s*:",relevance:15},{begin:"@"+n}],starts:{end:"[;}]",returnEnd:!0,contains:u}},m,d,p,c,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:a}},lua:function(e){let t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},a=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[r],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:a.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:a}].concat(a)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}},makefile:function(e){let t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,{className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t,n]},r,{className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},{className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]}]}},markdown:function(e){let t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},r={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},a={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},i={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/}
5,{begin:/_(?![_\s])/,end:/_/,relevance:0}]},o=e.inherit(a,{contains:[]}),l=e.inherit(i,{contains:[]});a.contains.push(l),i.contains.push(o);let s=[n,r];return[a,i,o,l].forEach(e=>{e.contains=e.contains.concat(s)}),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:s=s.concat(a,i)},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:s}]}]},n,{className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a,i,{className:"quote",begin:"^>\\s+",contains:s,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},r,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}},matlab:function(e){let t="('|\\.')+",n={relevance:0,contains:[{begin:t}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:n},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:n},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:n},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}},nginx:function(e){let t=e.regex,n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},r={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},n]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:r.contains,keywords:{section:"upstream location"}},{className:"section",begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],illegal:"[^\\s\\}\\{]"}},objectivec:function(e){let t=/[a-zA-Z@][a-zA-Z0-9_]*/,n={$pattern:t,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{"variable.language":["this","super"],$pattern:t,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATE
5D_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},illegal:"</",contains:[{className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+n.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:n,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}},ocaml:function(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}},perl:function(e){let t=e.regex,n=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:"abs accept alarm and atan2 bind binmode bless break caller chdir chmod chomp chop chown chr chroot class close closedir connect continue cos crypt dbmclose dbmopen defined delete die do dump each else elsif endgrent endhostent endnetent endprotoent endpwent endservent eof eval exec exists exit exp fcntl field fileno flock for foreach fork format formline getc getgrent getgrgid getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr getnetbyname getnetent getpeername getpgrp getpriority getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid getservbyname getservbyport getservent getsockname getsockopt given glob gmtime goto grep gt hex if index int ioctl join keys kill last lc lcfirst length link listen local localtime log lstat lt ma map method mkdir msgctl msgget msgrcv msgsnd my ne next no not oct open opendir or ord our pack package pipe pop pos print printf prototype push q|0 qq quotemeta qw qx rand read readdir readline readlink readpipe recv redo ref rename require reset return reverse rewinddir rindex rmdir say scalar seek seekdir select semctl semget semop send setgrent sethostent setnetent setpgrp setpriority setprotoent setpwent setservent setsockopt shift shmctl shmget shmread shmwrite shutdown sin sleep socket socketpair sort splice split sprintf sqrt srand stat state study sub substr symlink syscall sysopen sysread sysseek system syswrite tell telldir tie tied time times tr truncate uc ucfirst umask undef unless unlink unpack unshift untie until use utime values vec wait waitpid wantarray warn when while write x|0 xor y|0"},a={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},i={begin:/->\{/,end:/\}/},o={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},l={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[o]},s={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},u=[e.BACKSLASH_ESCAPE,a,l],c=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],d=(e,r,a="\\1")=>{let i="\\1"===a?a:t.concat(a,r);return t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,i,/(?:\\.|[^\\\/])*?/,a,n)},p=(e,r,a)=>t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,a,n),m=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),i,{className:"string",contains:u,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},s,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:d("s|tr|y",t.either(...c,{capture:!0}))},{begin:d("s|tr|y","\\(","\\)")},{begin:d("s|tr|y","\\[","\\]")},{begin:d("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p("(?:m|qr)?",/\//,/\//)},{begin:p("m|qr",t.either(...c,{capture:!0}),/\1/)}
vendor: 4,093 bytes, line 5
5,{begin:p("m|qr",/\(/,/\)/)},{begin:p("m|qr",/\[/,/\]/)},{begin:p("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,o]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,o,s]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return a.contains=m,i.contains=m,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:m}},php:function(e){let t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),a=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),i=t.concat(/[A-Z]+/,n),o={scope:"variable",match:"\\$+"+r},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},s=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),c={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},d=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p="[ \n]",m={scope:"string",variants:[u,s,c,d]},f={scope:"number",variants:[{begin:"\\\b0[bB][01]+(?:_[01]+)*\\\b"},{begin:"\\\b0[oO][0-7]+(?:_[0-7]+)*\\\b"},{begin:"\\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\\b"},{begin:"(?:\\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},h=["false","null","true"],g=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],v=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],y={keyword:g,literal:(e=>{let t=[];return e.forEach(e=>
vendor: 5,310 bytes, line 5
5{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())}),t})(h),built_in:v},b=e=>e.map(e=>e.replace(/\|\d+$/,"")),O={variants:[{match:[/new/,t.concat(p,"+"),t.concat("(?!",b(v).join("\\b|"),"\\b)"),a],scope:{1:"keyword",4:"title.class"}}]},w=t.concat(r,"\\b(?!\\()"),k={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),w],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[a,t.concat(/::/,t.lookahead(/(?!class\b)/)),w],scope:{1:"title.class",3:"variable.constant"}},{match:[a,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[a,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},x={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},S={relevance:0,begin:/\(/,end:/\)/,keywords:y,contains:[x,o,k,e.C_BLOCK_COMMENT_MODE,m,f,O]},_={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",b(g).join("\\b|"),"|",b(v).join("\\b|"),"\\b)"),r,t.concat(p,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[S]};S.contains.push(_);let E=[x,k,e.C_BLOCK_COMMENT_MODE,m,f,O],A={begin:t.concat(/#\[\s*\\?/,t.either(a,i)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:h,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:h,keyword:["new","array"]},contains:["self",...E]},...E,{scope:"meta",variants:[{match:a},{match:i}]}]};return{case_insensitive:!1,keywords:y,contains:[A,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},o,_,k,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},O,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:y,contains:["self",A,o,k,e.C_BLOCK_COMMENT_MODE,m,f]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},m,f]}},plaintext:function(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}},powershell:function(e){let t={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},n={begin:"`[\\s\\S]",relevance:0},r={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},a={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[n,r,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},i={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},o=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),l={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},s={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(t.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},u=[s,o,n,e.NUMBER_MODE,a,i,{className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Upd
5ate|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},r,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],c={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",u,{begin:"(string|char|byte|int|long|bool|decimal|single|double|DateTime|xml|array|hashtable|void)",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return s.contains.unshift(c),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:t,contains:u.concat(l,{className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[r]}]},{begin:/using\s/,end:/$/,returnBegin:!0,contains:[a,i,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},{variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},c)}},properties:function(e){let t="[ \\t\\f]*",n=t+"[:=]"+t,r="[ \\t\\f]+",a="([^\\\\:= \\t\\f\\n]|\\\\.)+";return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:a+n},{begin:a+r}],contains:[{className:"attr",begin:a,endsParent:!0}],starts:{end:"("+n+"|"+r+")",relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}}},{className:"attr",begin:a+t+"$"}]}},python:function(e){let t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],a={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},i={className:"meta",begin:/^(>>>|\.\.\.) /},o={className:"subst",begin:/\{/,end:/\}/,keywords:a,illegal:/#/},l={begin:/\{\{/,relevance:0},s={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i,l,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i,l,o]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,l,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,l,o]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},u="[0-9](_?[0-9])*",c=`(\\b(${u}))?\\.(${u})|\\b(${u})\\.`,d=`\\b|${r.join("|")}`,p={className:"number",relevance:0,variants:[{begin:`(\\b(${u})|(${c}))[eE][+-]?(${u})[jJ]?(?=${d})`},{begin:`(${c})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${u})[jJ](?=${d})`}]},m={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:a,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},f={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:["self",i,p,s,e.HASH_COMMENT_MODE]}]};return o.contains=[s,p,i],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:a,illegal:/(<\/|\?)|=>/,contains:[i,p,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},s,m,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[f]}
vendor: 3,697 bytes, line 5
5,{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[p,f,s]}]}},r:function(e){let t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),a=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[a,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[i,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:a},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}},ruby:function(e){let t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),a=t.concat(r,/(::\w+)*/),i={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepe
vendor: 8,031 bytes, line 5
5nd","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},o={className:"doctag",begin:"@[A-Za-z]+"},l={begin:"#<",end:">"},s=[e.COMMENT("#","$",{contains:[o]}),e.COMMENT("^=begin","^=end",{contains:[o],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],u={className:"subst",begin:/#\{/,end:/\}/,keywords:i},c={className:"string",contains:[e.BACKSLASH_ESCAPE,u],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,u]})]}]},d="[0-9](_?[0-9])*",p={className:"number",relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${d}))?([eE][+-]?(${d})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},m={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:i}]},f=[c,{variants:[{match:[/class\s+/,a,/\s+<\s+/,a]},{match:[/\b(class|module)\s+/,a]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i},{match:[/(include|extend)\s+/,a],scope:{2:"title.class"},keywords:i},{relevance:0,match:[a,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[m]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[c,{begin:n}],relevance:0},p,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:i},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,u],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(l,s),relevance:0}].concat(l,s);u.contains=f,m.contains=f;let h=[{begin:/^\s*=>/,starts:{end:"$",contains:f}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:i,contains:f}}];return s.unshift(l),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:i,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(h).concat(s).concat(f)}},rust:function(e){let t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),a=t.concat(n,e.IDENT_RE),i={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,a,t.lookahead(/\s*\(/))},o="([ui](8|16|32|64|128|size)|f(32|64))?",l=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],s=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:s,keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],literal:["true","false","Some","None","Ok","Err"],built_in:l},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:"number",variants:[{begin:"\\b0b([01_]+)"+o},{begin:"\\b0o([0-7_]+)"+o},{begin:"\\b0x([A-Fa-f0-9_]+)"+o},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+o}],relevance:0},{begin:[/fn/,/\s+/,r],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,r],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,r,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:l,type:s}},{className:"punctuation",begin:"->"},i]}},scala:function(e){let t=e.regex,n={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},r={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,n]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[n],relevance:10}]},a={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},i={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},o={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},i]},l={className:"function",beginKeywords:"def",end:t.lookahead(/[:={\[(\n;]/),contains:[i]};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,a,l,o,e.C_NUMBER_MODE,{begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},{begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}
5,{begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}},{className:"meta",begin:"@[A-Za-z]+"}]}},scss:function(e){let t=L(e),n="@[a-z-]+",r={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+Z.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+z.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+F.join("|")+")"},r,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Q.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inl
5ine-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,r,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:n,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:B.join(" ")},contains:[{begin:n,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},r,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}},shell:function(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}},sql:function(e){let t=e.regex,n=e.COMMENT("--","$"),r=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],a=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","ver
5sioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter(e=>!r.includes(e)),i={match:t.concat(/\b/,t.either(...r),/\s*\(/),relevance:0,keywords:{built_in:r}};function o(e){return t.concat(/\b/,t.either(...e.map(e=>e.replace(/\s+/,"\\s+"))),/\b/)}let l={scope:"keyword",match:o(["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"]),relevance:0};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:n}={}){return t=t||[],e.map(e=>e.match(/\|\d+$/)||t.includes(e)?e:n(e)?`${e}|0`:e)}(a,{when:e=>e.length<3}),literal:["true","false","unknown"],type:["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{scope:"type",match:o(["double precision","large object","with timezone","without timezone"])},l,i,{scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},{scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},{begin:/"/,end:/"/,contains:[{match:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,{scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}},swift:function(e){let t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],a={match:[/\./,W(...Y,...G)],className:{2:"keyword"}},i={match:V(/\./,W(...J)),relevance:0},o=J.filter(e=>"string"==typeof e).concat(["_|0"]),l={variants:[{className:"keyword",match:W(...J.filter(e=>"string"!=typeof e).concat(K).map(X),...G)}]},s={$pattern:W(/\b\w+/,/#\w+/),keyword:o.concat(en),literal:ee},u=[a,i,l],c=[{match:V(/\./,W(...er)),relevance:0},{className:"built_in",match:V(/\b/,W(...er),/(?=\()/)}],d={match:/->/,relevance:0},p=[d,{className:"operator",relevance:0,variants:[{match:eo},{match:`\\.(\\.|${ei})+`}]}],m="([0-9]_*)+",f="([0-9a-fA-F]_*)+",h={className:"number",relevance:0,variants:[{match:`\\b(${m})(\\.(${m}))?([eE][+-]?(${m}))?\\b`},{match:`\\b0x(${f})(\\.(${f}))?([pP][+-]?(${m}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},g=(e="")=>({className:"subst",variants:[{match:V(/\\/,e,/[0\\tnr"']/)},{match:V(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),v=(e="")=>({className:"subst",match:V(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),y=(e="")=>({className:"subst",label:"interpol",begin:V(/\\/,e,/\(/),end:/\)/}),b=(e="")=>({begin:V(e,/"""/),end:V(/"""/,e),contains:[g(e),v(e),y(e)]}),O=(e="")=>({begin:V(e,/"/),end:V(/"/,e),contains:[g(e),y(e)]}),w={className:"string",variants:[b(),b("#"),b("##"),b("###"),O(),O("#"),O("##"),O("###")]},k=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],x=e=>{let t=V(e,/\//),n=V(/\//,e);return{begin:t,end:n,contains:[...k,{scope:"comment",begin:`#(?!.*${n})`,end:/$/}]}},S={scope:"regexp",variants:[x("###"),x("##"),x("#"),{begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:k}]},_={match:V(/`/,eu,/`/)},E=[_,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${es}+`}],A=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:ep,contains:[...p,h,w]}]}},{scope:"keyword",match:V(/@/,W(...ed),q(W(/\(/,/\s+/)))},{scope:"meta",match:V(/@/,eu)}],T={match:q(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:V(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,es,"+")},{className:"type",match:ec,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:V(/\s+&\s+/,q(ec)),relevance:0}]},D={begin:/</,end:/>/,keywords:s,contains:[...r,...u,...A,d,T]};T.contains.push(D);let C={begin:/\(/,end:/\)/,relevance:0,keywords:s,contains:["self",{match:V(eu,/\s*:/),keywords:"_|0",relevance:0},...r,S,...u,...c,...p,h,w,...E,...A,T]},$={begin:/</,end:/>/,keywords:"repeat each",contains:[...r,T]},P={begin:/\(/,end:/\)/,keywords:s,contains:[{begin:W(q(V(eu,/\s*:/)),q(V(eu,/\s+/,eu,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:eu}]},...r,...u,...p,h,w,...A,T,C],endsParent:!0,illegal:/["']/},I={match:[/(func|macro)/,/\s+/,W(_.match,eu,eo)],className:{1:"keyword",3:"title.function"},contains:[$,P,t],illegal:[/\[/,/%/]},N={begin:[/precedencegroup/,/\s+/,ec],className:{1:"keyword",3:"title"},contains:[T],keywords:[...et,...ee],end:/}/},U={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,eu,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:s,contains:[$,...u,{begin:/:/,end:/\{/,keywords:s,contains:[{scope:"title.class.inherited",match:ec},...u],relevance:0}]};for(let e of w.variants){let t=e.contains.find(e=>"interpol"===e.label);t.keywords=s;let n=[...u,...c,...p,h,w,...E];t.contains=[...n,{begin:/\(/,end:/\)/,contains:["self",...n]}]}return{name:"Swift",keywords:s,contains:[...r,I,{match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[$,P,t],illegal:/\[|%/},{match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/
5],scope:{1:"keyword",3:"keyword",5:"title.function"}},{match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},U,{match:[/operator/,/\s+/,eo],className:{1:"keyword",3:"title"}},N,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},S,...u,...c,...p,h,w,...E,...A,T,C]}},toml:h,typescript:function(e){let t=e.regex,n=function(e){var t;let n=e.regex,r=(e,{after:t})=>{let n="</"+e[0].slice(1);return -1!==e.input.indexOf(n,t)},a=/<[A-Za-z0-9\\._:-]+/,i=/\/[A-Za-z0-9\\._:-]+>|\/>/,o={$pattern:em,keyword:ef,literal:eh,built_in:eO,"variable.language":eb},l="[0-9](_?[0-9])*",s=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${u})((${s})|\\.)?|(${s}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${s})\\b|\\.)?|(${s})\\b`},{begin:"\\\b(0|[1-9](_?[0-9])*)n\\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},d={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},p={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},m={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"css"}},f={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"graphql"}},h={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,d]},g={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:em+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,f,h,{match:/\$\d+/},c];d.contains=v.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(v)});let y=[].concat(g,d.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:o,contains:["self"].concat(y)}]),O={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:b},w={variants:[{match:[/class/,/\s+/,em,/\s+/,/extends/,/\s+/,n.concat(em,"(",n.concat(/\./,em),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,em],scope:{1:"keyword",3:"title.class"}}]},k={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...eg,...ev]}},x={match:n.concat(/\b/,(t=[...ey,"super","import"].map(e=>`${e}\\s*\\(`),n.concat("(?!",t.join("|"),")")),em,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},S={begin:n.concat(/\./,n.lookahead(n.concat(em,/(?![0-9A-Za-z$_(])/))),end:em,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},_="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",E={match:[/const|var|let/,/\s+/,em,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(_)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[O]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:k},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,f,h,g,{match:/\$\d+/},c,k,{scope:"attr",match:em+n.lookahead(":"),relevance:0},E,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[g,e.REGEXP_MODE,{className:"function",begin:_,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:"</>"},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:a,"on:begin":(e,t)=>
5{let n;let a=e[0].length+e.index,i=e.input[a];if("<"===i||","===i){t.ignoreMatch();return}">"!==i||r(e,{after:a})||t.ignoreMatch();let o=e.input.substring(a);if((n=o.match(/^\s*=/))||(n=o.match(/^\s+extends\s+/))&&0===n.index){t.ignoreMatch();return}},end:i}],subLanguage:"xml",contains:[{begin:a,end:i,skip:!0,contains:["self"]}]}]},{variants:[{match:[/function/,/\s+/,em,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[O],illegal:/%/},{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[O,e.inherit(e.TITLE_MODE,{begin:em,className:"title.function"})]},{match:/\.\.\./,relevance:0},S,{match:"\\$"+em,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[O]},x,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},w,{match:[/get|set/,/\s+/,em,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},O]},{match:/\$[(.]/}]}}(e),r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],a={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},i={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},contains:[n.exports.CLASS_REFERENCE]},o={$pattern:em,keyword:ef.concat(["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"]),literal:eh,built_in:eO.concat(r),"variable.language":eb},l={className:"meta",begin:"@"+em},s=(e,t,n)=>{let r=e.contains.findIndex(e=>e.label===t);if(-1===r)throw Error("can not find mode to replace");e.contains.splice(r,1,n)};Object.assign(n.keywords,o),n.exports.PARAMS_CONTAINS.push(l);let u=n.contains.find(e=>"attr"===e.scope),c=Object.assign({},u,{match:t.concat(em,t.lookahead(/\s*\?:/))});return n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,u,c]),n.contains=n.contains.concat([l,a,i,c]),s(n,"shebang",e.SHEBANG()),s(n,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),n.contains.find(e=>"func.def"===e.label).relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n},xml:ew,yaml:function(e){let t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},a=e.inherit(r,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),i={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},o=[{className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},{begin:/\{/,end:/\}/,contains:[i],illegal:"\\n",relevance:0},{begin:"\\[",end:"\\]",contains:[i],illegal:"\\n",relevance:0},{className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},r],l=[...o];return l.pop(),l.push(a),i.contains=l,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:o}}}},79709:function(e,t,n){"use strict";n.d(t,{o3:function(){return aM},Xr:function(){return aN},Xy:function(){return aP},zi:function(){return aj},sV:function(){return aR}});var r={};n.r(r),n.d(r,{boolean:function(){return J},booleanish:function(){return ee},commaOrSpaceSeparated:function(){return ei},commaSeparated:function(){return ea},number:function(){return en},overloadedBoolean:function(){return et},spaceSeparated:function(){return er}});var a={};n.r(a),n.d(a,{attentionMarkers:function(){return rQ},contentInitial:function(){return rj},disable:function(){return rH},document:function(){return rR},flow:function(){return rZ},flowInitial:function(){return rL},insideSpan:function(){return rF},string:function(){return rB},text:function(){return rz}});let i="object"==typeof self?self:globalThis,o=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=a=>{if(e.has(a))return e.get(a);let[o,l]=t[a];switch(o){case 0:case -1:return n(l,a);case 1:{let e=n([],a);for(let t of l)e.push(r(t));return e}case 2:{let e=n({},a);for(let[t,n]of l)e[r(t)]=r(n);return e}case 3:return n(new Date(l),a);case 4:{let{source:e,flags:t}=l;return n(new RegExp(e,t),a)}case 5:{let e=n(new Map,a);for(let[t,n]of l)e.set(r(t),r(n));return e}
5case 6:{let e=n(new Set,a);for(let t of l)e.add(r(t));return e}case 7:{let{name:e,message:t}=l;return n(new i[e](t),a)}case 8:return n(BigInt(l),a);case"BigInt":return n(Object(BigInt(l)),a)}return n(new i[o](l),a)};return r},l=e=>o(new Map,e)(0),{toString:s}={},{keys:u}=Object,c=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=s.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},d=([e,t])=>0===e&&("function"===t||"symbol"===t),p=(e,t,n,r)=>{let a=(e,t)=>{let a=r.push(e)-1;return n.set(t,a),a},i=r=>{if(n.has(r))return n.get(r);let[o,l]=c(r);switch(o){case 0:{let t=r;switch(l){case"bigint":o=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+l);t=null;break;case"undefined":return a([-1],r)}return a([o,t],r)}case 1:{if(l)return a([l,[...r]],r);let e=[],t=a([o,e],r);for(let t of r)e.push(i(t));return t}case 2:{if(l)switch(l){case"BigInt":return a([l,r.toString()],r);case"Boolean":case"Number":case"String":return a([l,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());let n=[],s=a([o,n],r);for(let t of u(r))(e||!d(c(r[t])))&&n.push([i(t),i(r[t])]);return s}case 3:return a([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return a([o,{source:e,flags:t}],r)}case 5:{let t=[],n=a([o,t],r);for(let[n,a]of r)(e||!(d(c(n))||d(c(a))))&&t.push([i(n),i(a)]);return n}case 6:{let t=[],n=a([o,t],r);for(let n of r)(e||!d(c(n)))&&t.push(i(n));return n}}let{message:s}=r;return a([o,{name:l,message:s}],r)};return i},m=(e,{json:t,lossy:n}={})=>{let r=[];return p(!(t||n),!!t,new Map,r)(e),r};var f="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?l(m(e,t)):structuredClone(e):(e,t)=>l(m(e,t)),h=n(13489);let g=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,v=/^[a-zA-Z]:\\/;var y=n(92295),b=n(46882);let O=["http","https"],w=["nofollow"],k={};function x(e){let t=e||k,n=t.protocols||O,r=(0,h.Y)(t.test);return function(e){(0,b.Vn)(e,"element",function(e,a,i){if("a"===e.tagName&&"string"==typeof e.properties.href&&r(e,a,i)){let r=e.properties.href;if(!function(e){if("string"!=typeof e)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);return!v.test(e)&&g.test(e)}(r)?r.startsWith("//"):n.includes(r.slice(0,r.indexOf(":")))){let n=S(t.content,e),r=n&&!Array.isArray(n)?[n]:n,a=S(t.rel,e)||w,i="string"==typeof a?(0,y.Q)(a):a,o=S(t.target,e),l=S(t.properties,e);if(l&&Object.assign(e.properties,f(l)),i.length>0&&(e.properties.rel=[...i]),o&&(e.properties.target=o),r){let n=S(t.contentProperties,e)||{};e.children.push({type:"element",tagName:"span",properties:f(n),children:f(r)})}}}})}}function S(e,t){return"function"==typeof e?e(t):e}let _=(0,h.Y)(function(e){return"audio"===e.tagName||"canvas"===e.tagName||"embed"===e.tagName||"iframe"===e.tagName||"img"===e.tagName||"math"===e.tagName||"object"===e.tagName||"picture"===e.tagName||"svg"===e.tagName||"video"===e.tagName});var E=n(28711),A=n(58292);let T=["address","article","aside","blockquote","body","br","caption","center","col","colgroup","dd","dialog","dir","div","dl","dt","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","legend","li","li","listing","main","menu","nav","ol","optgroup","option","p","plaintext","pre","section","summary","table","tbody","td","td","tfoot","th","th","thead","tr","ul","wbr","xmp"],D=["button","input","select","textarea"],C=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],$=(0,A.O)(["comment","doctype"]);function P(e){return _(e)||(0,h.k)(e,D)}function I(e){return" "===e||"\n"===e}function N(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:" "}let U={}.hasOwnProperty,M=new Set(["pingback","prefetch","stylesheet"]),R=(0,h.Y)(["a","abbr","area","b","bdi","bdo","br","button","cite","code","data","datalist","del","dfn","em","i","input","ins","kbd","keygen","label","map","mark","meter","noscript","output","progress","q","ruby","s","samp","script","select","small","span","strong","sub","sup","template","textarea","time","u","var","wbr"]),j=(0,h.Y)("meta"),L=["pre","script","style","textarea"];var Z=n(76134);let B={};function z(e,t){return!!(t&&"element"===t.type&&e.blanks.length>0&&e.blanks.includes(t.tagName))}function F(e,t){return"root"===t.type||"element"===t.type&&(e.head||"script"===t.tagName||_(t)||!("text"===t.type||R(t)||_(t)||function(e){if("element"!==e.type||"link"!==e.tagName)return!1;if(e.properties.itemProp)return!0;let t=e.properties.rel,n=-1;if(!Array.isArray(t)||0===t.length)return!1;for(;++n<t.length;)if(!M.has(String(t[n])))return!1;return!0}(t)||j(t)&&function(e,t){let n="element"===e.type&&U.call(e.properties,t)&&e.properties[t];return null!=n&&!1!==n}(t,"itemProp")))}function Q(e){return function(t){!function(e,t){let n=t||B,r={blanks:n.blanks||[],head:!1,indentInitial:!1!==n.indentInitial,indent:"number"==typeof n.indent?" ".repeat(n.indent):"string"==typeof n.indent?n.indent:" "};function a(e,t,n){let a=e[e.length-1],i=(z(r,a&&(0,E.Q)(a)?e[e.length-2]:a)&&z(r,n)?"\n\n":"\n")+r.indent.repeat(Math.max(t,0));a&&"text"===a.type?a.value=(0,E.Q)(a)?i:a.value+i:e.push({type:"text",value:i})}(function e(t,n){if("children"in t){let r={...n};return("root"===t.type||(0,h.k)(t,T))&&(r.before=!0,r.after=!0),r.whitespace=function(e,t){if("tagName"in e&&e.properties)switch(e.tagName){case"listing":case"plaintext":case"script":case"style":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return e.properties.wrap?"pre-wrap":"pre";case"td":case"th":return e.properties.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}return t.whitespace}(t,n),function(t,n){let r=n.before,a=n.after,i=t.children,o=i.length,l=-1;for(;++l<o;){let t=e(i[l],{...n,after:function e(t,n,r){for(;++n<t.length;){let r=t[n],a=function(e){if("element"===e.type){var t;if(P(e))return!1;if(t=e,(0,h.k)(t,T))return!0}else if("text"===e.type){if(!(0,E.Q)(e))return!1}else if(!$(e))return!1}(r);if(void 0===a&&"children"in r&&!("element"===r.type&&r.properties.hidden||$(r)||(0,h.k)(r,C))&&(a=e(r.children,-1)),"boolean"==typeof a)return a}return r}(i,l,a),before:r});t.remove?(i.splice(l,1),l--,o--):t.ignore||(r=t.stripAtStart),P(i[l])&&(r=!1)}return{ignore:!1,stripAtStart:!!(r||a),remove:!1}}(t,r)}if("text"===t.type){if("normal"===n.whitespace)return function(e,t){let n=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1},a=0,i=n.length;return t.before&&I(n.charAt(0))&&a++,a!==i&&I(n.charAt(i-1))&&(t.after?i--:r.stripAtStart=!0),a===i?r.remove=!0:e.value=n.slice(a,i),r}(t,n);"nowrap"===n.whitespace&&(t.value=n.collapse(t.value))}return{ignore:$(t),stripAtStart:!1,remove:!1}})(e,{collapse:function(e){return String(e).replace(/[\t\n\v\f\r ]+/g,N)},whitespace:"normal"}),(0,Z.S4)(e,function(e,t){let n;if(!("children"in e))return;if("element"===e.type&&"head"===e.tagName&&(r.head=!0),r.head&&"element"===e.type&&"body"===e.tagName&&(r.head=!1),"element"===e.type&&L.includes(e.tagName))return Z.AM;if(0===e.children.length||!F(r,e))return;let i=t.length;!r.indentInitial&&i--;let o=!1;for(let t of e.children)("comment"===t.type||"text"===t.type)&&(t.value.includes("\n")&&(o=!0),t.value=t.value.replace(/ *\n/g,"$&"+r.indent.repeat(i)));let l=[];for(let t of e.children)(F(r,t)||o&&!n)&&(a(l,i,t),o=!0),n=t,l.push(t);n&&(o||F(r,n))&&((0,E.Q)(n)&&(l.pop(),n=l[l.length-1]),a(l,i-1)),e.children=l})}(t,e)}}var H=n(9852),q=n(10311),V=n(76843);class W{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function X(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new W(n,r,t)}function Y(e){return e.toLowerCase()}W.prototype.normal={},W.prototype.property={},W.prototype.space=void 0;class G{constructor(e,t){this.attribute=t,this.property=e}}G.prototype.attribute="",G.prototype.booleanish=!1,G.prototype.boolean=!1,G.prototype.commaOrSpaceSeparated=!1,G.prototype.commaSeparated=!1,G.prototype.defined=!1,G.prototype.mustUseProperty=!1,G.prototype.number=!1,G.prototype.overloadedBoolean=!1,G.prototype.property="",G.prototype.spaceSeparated=!1,G.prototype.space=void 0;let K=0,J=eo(),ee=eo(),et=eo(),en=eo(),er=eo(),ea=eo(),ei=eo();function eo(){return 2**++K}let el=Object.keys(r);class es extends G{constructor(e,t,n,a){var i,o;let l=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++l<el.length;){let e=el[l];i=el[l],(o=(n&r[e])===r[e])&&(this[i]=o)}}}function eu(e){let t={},n={};for(let[r,a]of Object.entries(e.properties)){let i=new es(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Y(r)]=r,n[Y(i.attribute)]=r}return new W(t,n,e.space)}es.prototype.defined=!0;let ec=eu({properties:{ariaActiveDescendant:null,ariaAtomic:ee,ariaAutoComplete:null,ariaBusy:ee,ariaChecked:ee,ariaColCount:en,ariaColIndex:en,ariaColSpan:en,ariaControl
vendor: 5,387 bytes, line 5
5s:er,ariaCurrent:null,ariaDescribedBy:er,ariaDetails:null,ariaDisabled:ee,ariaDropEffect:er,ariaErrorMessage:null,ariaExpanded:ee,ariaFlowTo:er,ariaGrabbed:ee,ariaHasPopup:null,ariaHidden:ee,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:er,ariaLevel:en,ariaLive:null,ariaModal:ee,ariaMultiLine:ee,ariaMultiSelectable:ee,ariaOrientation:null,ariaOwns:er,ariaPlaceholder:null,ariaPosInSet:en,ariaPressed:ee,ariaReadOnly:ee,ariaRelevant:null,ariaRequired:ee,ariaRoleDescription:er,ariaRowCount:en,ariaRowIndex:en,ariaRowSpan:en,ariaSelected:ee,ariaSetSize:en,ariaSort:null,ariaValueMax:en,ariaValueMin:en,ariaValueNow:en,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function ed(e,t){return t in e?e[t]:t}function ep(e,t){return ed(e,t.toLowerCase())}let em=eu({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ea,acceptCharset:er,accessKey:er,action:null,allow:null,allowFullScreen:J,allowPaymentRequest:J,allowUserMedia:J,alt:null,as:null,async:J,autoCapitalize:null,autoComplete:er,autoFocus:J,autoPlay:J,blocking:er,capture:null,charSet:null,checked:J,cite:null,className:er,cols:en,colSpan:null,content:null,contentEditable:ee,controls:J,controlsList:er,coords:en|ea,crossOrigin:null,data:null,dateTime:null,decoding:null,default:J,defer:J,dir:null,dirName:null,disabled:J,download:et,draggable:ee,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:J,formTarget:null,headers:er,height:en,hidden:et,high:en,href:null,hrefLang:null,htmlFor:er,httpEquiv:er,id:null,imageSizes:null,imageSrcSet:null,inert:J,inputMode:null,integrity:null,is:null,isMap:J,itemId:null,itemProp:er,itemRef:er,itemScope:J,itemType:er,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:J,low:en,manifest:null,max:null,maxLength:en,media:null,method:null,min:null,minLength:en,multiple:J,muted:J,name:null,nonce:null,noModule:J,noValidate:J,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:J,optimum:en,pattern:null,ping:er,placeholder:null,playsInline:J,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:J,referrerPolicy:null,rel:er,required:J,reversed:J,rows:en,rowSpan:en,sandbox:er,scope:null,scoped:J,seamless:J,selected:J,shadowRootClonable:J,shadowRootDelegatesFocus:J,shadowRootMode:null,shape:null,size:en,sizes:null,slot:null,span:en,spellCheck:ee,src:null,srcDoc:null,srcLang:null,srcSet:null,start:en,step:null,style:null,tabIndex:en,target:null,title:null,translate:null,type:null,typeMustMatch:J,useMap:null,value:ee,width:en,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:er,axis:null,background:null,bgColor:null,border:en,borderColor:null,bottomMargin:en,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:J,declare:J,event:null,face:null,frame:null,frameBorder:null,hSpace:en,leftMargin:en,link:null,longDesc:null,lowSrc:null,marginHeight:en,marginWidth:en,noResize:J,noHref:J,noShade:J,noWrap:J,object:null,profile:null,prompt:null,rev:null,rightMargin:en,rules:null,scheme:null,scrolling:ee,standby:null,summary:null,text:null,topMargin:en,valueType:null,version:null,vAlign:null,vLink:null,vSpace:en,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:J,disableRemotePlayback:J,prefix:null,property:null,results:en,security:null,unselectable:null},space:"html",transform:ep}),ef=eu({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
5dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ei,accentHeight:en,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:en,amplitude:en,arabicForm:null,ascent:en,attributeName:null,attributeType:null,azimuth:en,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:en,by:null,calcMode:null,capHeight:en,className:er,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
5dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:en,diffuseConstant:en,direction:null,display:null,dur:null,divisor:en,dominantBaseline:null,download:J,dx:null,dy:null,edgeMode:null,editable:null,elevation:en,enableBackground:null,end:null,event:null,exponent:en,externalResourcesRequired:null,fill:null,fillOpacity:en,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ea,g2:ea,glyphName:ea,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:en,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:en,horizOriginX:en,horizOriginY:en,id:null,ideographic:en,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:en,k:en,k1:en,k2:en,k3:en,k4:en,kernelMatrix:ei,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:en,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:en,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:en,overlineThickness:en,paintOrder:null,panose1:null,path:null,pathLength:en,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:er,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:en,pointsAtY:en,pointsAtZ:en,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ei,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ei,rev:ei,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ei,requiredFeatures:ei,requiredFonts:ei,requiredFormats:ei,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:en,specularExponent:en,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:en,strikethroughThickness:en,string:null,stroke:null,strokeDashArray:ei,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:en,strokeOpacity:en,strokeWidth:null,style:null,surfaceScale:en,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ei,tabIndex:en,tableValues:null,target:null,targetX:en,targetY:en,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ei,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:en,underlineThickness:en,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:en,values:null,vAlphabetic:en,vMathematical:en,vectorEffect:null,vHanging:en,vIdeographic:en,version:null,vertAdvY:en,vertOriginX:en,vertOriginY:en,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:en,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:ed}),eh=eu({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>
5"xlink:"+t.slice(5).toLowerCase()}),eg=eu({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ep}),ev=eu({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),ey=X([ec,em,eh,eg,ev],"html"),eb=X([ec,ef,eh,eg,ev],"svg"),eO=/[A-Z]/g,ew=/-[a-z]/g,ek=/^data[-\w.:]+$/i;function ex(e){return"-"+e.toLowerCase()}function eS(e){return e.charAt(1).toUpperCase()}var e_=n(66701),eE=n(68336);let eA={}.hasOwnProperty,eT=(0,eE.z)("type",{handlers:{root:function(e,t){let n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=eD(e.children,n,t),eC(e,n),n},element:function(e,t){let n;let r=t;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===t.space&&(r=eb);let a=[];if(e.properties){for(n in e.properties)if("children"!==n&&eA.call(e.properties,n)){let t=function(e,t,n){let r=function(e,t){let n=Y(t),r=t,a=G;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&ek.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(ew,eS);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!ew.test(e)){let n=e.replace(eO,ex);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=es}return new a(r,t)}(e,t);if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?(0,q.P)(n):(0,y.P)(n));let a={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){let e=a.name.indexOf(":");e<0?a.prefix="":(a.name=a.name.slice(e+1),a.prefix=r.attribute.slice(0,e)),a.namespace=e_.t[r.space]}return a}(r,n,e.properties[n]);t&&a.push(t)}}let i=r.space;(0,V.ok)(i);let o={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:e_.t[i],childNodes:[],parentNode:null};return o.childNodes=eD(e.children,o,r),eC(e,o),"template"===e.tagName&&e.content&&(o.content=function(e,t){let n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=eD(e.children,n,t),eC(e,n),n}(e.content,r)),o},text:function(e){let t={nodeName:"#text",value:e.value,parentNode:null};return eC(e,t),t},comment:function(e){let t={nodeName:"#comment",data:e.value,parentNode:null};return eC(e,t),t},doctype:function(e){let t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return eC(e,t),t}}});function eD(e,t,n){let r=-1,a=[];if(e)for(;++r<e.length;){let i=eT(e[r],n);i.parentNode=t,a.push(i)}return a}function eC(e,t){let n=e.position;n&&n.start&&n.end&&((0,V.ok)("number"==typeof n.start.offset),(0,V.ok)("number"==typeof n.end.offset),t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}var e$=n(60638),eP=n(96358);let eI=eU("end"),eN=eU("start");function eU(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function eM(e){let t=eN(e),n=eI(e);if(t&&n)return{start:t,end:n}}let eR=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,ej=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),eL={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function eZ(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=(0,eE.z)("type",{handlers:{root:ez,element:eF,text:eQ,comment:eq,doctype:eH,raw:eV},unknown:eW}),a={parser:n?new eP._b(eL):eP._b.getFragmentParser(void 0,eL),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),eX(a,eN());let i=n?a.parser.document:a.parser.getFragment(),o=(0,H.e)(i,{file:a.options.file});return(a.stitches&&(0,b.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t)return n.children[t]=e.value.stitch,t}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function eB(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function ez(e,t){eB(e.children,t)}function eF(e,t){(function(e,t){let n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===eP.P4.PLAINTEXT)return;eX(t,eN(e));let r=t.parser.openElements.current,a="namespaceURI"in r?r.namespaceURI:e_.t.html;a===e_.t.html&&"svg"===n&&(a=e_.t.svg);let i=eT({...e,children:[]},"svg"===({space:a===e_.t.svg?"svg":"html"}).space?eb:ey),o={type:eP.WU.i.START_TAG,tagName:n,tagID:eP.dy.getTagID(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:eG(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n})(e,t),eB(e.children,t),function(e,t){let n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&e$.z.includes(n)||t.parser.tokenizer.state===eP.P4.PLAINTEXT)return;eX(t,eI(e));let r={type:eP.WU.i.END_TAG,tagName:n,tagID:eP.dy.getTagID(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:eG(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===eP.P4.RCDATA||t.parser.tokenizer.state===eP.P4.RAWTEXT||t.parser.tokenizer.state===eP.P4.SCRIPT_DATA)&&(t.parser.tokenizer.state=eP.P4.DATA)}(e,t)}function eQ(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);let n={type:eP.WU.i.CHARACTER,chars:e.value,location:eG(e)};eX(t,eN(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function eH(e,t){let n={type:eP.WU.i.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:eG(e)};eX(t,eN(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function eq(e,t){let n=e.value,r={type:eP.WU.i.COMMENT,data:n,location:eG(e)};eX(t,eN(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function eV(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,eY(t,eN(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(eR,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function eW(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?f({...e,children:[]}):f(e);if("children"in e&&"children"in n){let r=eZ({type:"root",children:e.children},t.options);n.children=r.children}eq({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";
5throw ej.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function eX(e,t){eY(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eP.P4.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function eY(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function eG(e){let t=eN(e)||{line:void 0,column:void 0,offset:void 0},n=eI(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function eK(e){return function(t,n){return eZ(t,{...e,file:n})}}let eJ=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],e0={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...eJ,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...eJ],h2:[["className","sr-only"]],img:[...eJ,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...eJ,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...eJ],table:[...eJ],ul:[...eJ,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},e1={}.hasOwnProperty;function e2(e,t){if(t&&"object"==typeof t)switch("string"==typeof t.type?t.type:""){case"comment":return function(e,t){if(e.schema.allowComments){let e="string"==typeof t.value?t.value:"",n=e.indexOf("-->"),r={type:"comment",value:n<0?e:e.slice(0,n)};return e3(r,t),r}}(e,t);case"doctype":return function(e,t){if(e.schema.allowDoctypes){let e={type:"doctype"};return e3(e,t),e}}(e,t);case"element":return function(e,t){let n="string"==typeof t.tagName?t.tagName:"";e.stack.push(n);let r=e4(e,t.children),a=function(e,t){let n;let r=e.stack[e.stack.length-1],a=e.schema.attributes,i=e.schema.required,o=a&&e1.call(a,r)?a[r]:void 0,l=a&&e1.call(a,"*")?a["*"]:void 0,s=t&&"object"==typeof t?t:{},u={};for(n in s)if(e1.call(s,n)){let t=s[n],r=e8(e,e5(o,n),n,t);null==r&&(r=e8(e,e5(l,n),n,t)),null!=r&&(u[n]=r)}if(i&&e1.call(i,r)){let e=i[r];for(n in e)e1.call(e,n)&&!e1.call(u,n)&&(u[n]=e[n])}return u}(e,t.properties);e.stack.pop();let i=!1;if(n&&"*"!==n&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(i=!0,e.schema.ancestors&&e1.call(e.schema.ancestors,n))){let t=e.schema.ancestors[n],r=-1;for(i=!1;++r<t.length;)e.stack.includes(t[r])&&(i=!0)}if(!i)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;let o={type:"element",tagName:n,properties:a,children:r};return e3(o,t),o}(e,t);case"root":return function(e,t){let n={type:"root",children:e4(e,t.children)};return e3(n,t),n}(e,t);case"text":return function(e,t){let n={type:"text",value:"string"==typeof t.value?t.value:""};return e3(n,t),n}(0,t)}}function e4(e,t){let n=[];if(Array.isArray(t)){let r=-1;for(;++r<t.length;){let a=e2(e,t[r]);a&&(Array.isArray(a)?n.push(...a):n.push(a))}}return n}function e8(e,t,n,r){return t?Array.isArray(r)?function(e,t,n,r){let a=-1,i=[];for(;++a<r.length;){let o=e6(e,t,n,r[a]);("number"==typeof o||"string"==typeof o)&&i.push(o)}return i}(e,t,n,r):e6(e,t,n,r):void 0}function e6(e,t,n,r){if(("boolean"==typeof r||"number"==typeof r||"string"==typeof r)&&function(e,t,n){let r=e.schema.protocols&&e1.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||0===r.length)return!0;let a=String(n),i=a.indexOf(":"),o=a.indexOf("?"),l=a.indexOf("#"),s=a.indexOf("/");if(i<0||s>-1&&i>s||o>-1&&i>o||l>-1&&i>l)return!0;let u=-1;for(;++u<r.length;){let e=r[u];
5if(i===e.length&&a.slice(0,e.length)===e)return!0}return!1}(e,n,r)){if("object"==typeof t&&t.length>1){let e=!1,n=0;for(;++n<t.length;){let a=t[n];if(a&&"object"==typeof a&&"flags"in a){if(a.test(String(r))){e=!0;break}}else if(a===r){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function e3(e,t){let n=eM(t);t.data&&(e.data=f(t.data)),n&&(e.position=n)}function e5(e,t){let n;let r=-1;if(e)for(;++r<e.length;){let a=e[r],i="string"==typeof a?a:a[0];if(i===t)return a;"data*"===i&&(n=a)}if(t.length>4&&"data"===t.slice(0,4).toLowerCase())return n}function e7(e){return function(t){return function(e,t){let n={type:"root",children:[]},r=e2({schema:t?{...e0,...t}:e0,stack:[]},e);return r&&(Array.isArray(r)?1===r.length?n=r[0]:n.children=r:n=r),n}(t,e)}}var e9=n(7232),te=n(5275);let tt=tf(/\p{P}/u),tn=tf(/[A-Za-z]/),tr=tf(/[\dA-Za-z]/),ta=tf(/[#-'*+\--9=?A-Z^-~]/);function ti(e){return null!==e&&(e<32||127===e)}let to=tf(/\d/),tl=tf(/[\dA-Fa-f]/),ts=tf(/[!-/:-@[-`{-~]/);function tu(e){return null!==e&&e<-2}function tc(e){return null!==e&&(e<0||32===e)}function td(e){return -2===e||-1===e||32===e}function tp(e){return ts(e)||tt(e)}let tm=tf(/\s/);function tf(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}let th="phrasing",tg=["autolink","link","image","label"];function tv(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function ty(e){this.config.enter.autolinkProtocol.call(this,e)}function tb(e){this.config.exit.autolinkProtocol.call(this,e)}function tO(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,V.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function tw(e){this.config.exit.autolinkEmail.call(this,e)}function tk(e){this.exit(e)}function tx(e){!function(e,t,n){let r=(0,A.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){var a;let e=n[r];t.push(["string"==typeof(a=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(a),"g"):a,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),i=-1;for(;++i<a.length;)(0,Z.S4)(e,"text",o);function o(e,t){let n,o=-1;for(;++o<t.length;){let e=t[o],a=n?n.children:void 0;if(r(e,a?a.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n=t[t.length-1],r=a[i][0],o=a[i][1],l=0,s=n.children.indexOf(e),u=!1,c=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,a={index:d.index,input:d.input,stack:[...t,e]},i=o(...d,a);if("string"==typeof i&&(i=i.length>0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(l!==n&&c.push({type:"text",value:e.value.slice(l,n)}),Array.isArray(i)?c.push(...i):i&&c.push(i),l=n+d[0].length,u=!0),!r.global)break;d=r.exec(e.value)}return u?(l<e.value.length&&c.push({type:"text",value:e.value.slice(l)}),n.children.splice(s,1,...c)):c=[e],s+c.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,tS],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,t_]],{ignore:["link","linkReference"]})}function tS(e,t,n,r,a){let i="";if(!tE(a)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n)))return!1;let o=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")"),a=(0,te.w)(e,"("),i=(0,te.w)(e,")");for(;-1!==r&&a>i;)e+=n.slice(0,r+1),r=(n=n.slice(r+1)).indexOf(")"),i++;return[e,n]}(n+r);if(!o[0])return!1;let l={type:"link",title:null,url:i+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[l,{type:"text",value:o[1]}]:l}function t_(e,t,n,r){return!(!tE(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function tE(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||tm(n)||tp(n))&&(!t||47!==n)}function tA(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}function tT(){this.buffer()}function tD(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function tC(){this.buffer()}function t$(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function tP(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,V.ok)("footnoteReference"===n.type),n.identifier=tA(this.sliceSerialize(e)).toLowerCase(),n.label=t}function tI(e){this.exit(e)}function tN(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,V.ok)("footnoteDefinition"===n.type),n.identifier=tA(this.sliceSerialize(e)).toLowerCase(),n.label=t}function tU(e){this.exit(e)}function tM(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),l=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{after:"]",before:i})),l(),o(),i+=a.move("]")}
5function tR(e,t,n){return 0===t?e:tj(e,t,n)}function tj(e,t,n){return(n?"":" ")+e}tM.peek=function(){return"["};let tL=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function tZ(e){this.enter({type:"delete",children:[]},e)}function tB(e){this.exit(e)}function tz(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function tF(e){return e.length}function tQ(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function tH(e,t,n){return">"+(n?"":" ")+e}function tq(e,t){return tV(e,t.inConstruct,!0)&&!tV(e,t.notInConstruct,!1)}function tV(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function tW(e,t,n,r){let a=-1;for(;++a<n.unsafe.length;)if("\n"===n.unsafe[a].character&&tq(n.stack,n.unsafe[a]))return/[ \t]/.test(r.before)?"":" ";return"\\\n"}function tX(e,t){return!!(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function tY(e,t,n){return(n?"":" ")+e}function tG(e){let t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function tK(e,t,n,r){let a=function(e){let t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(n),i=n.enter("emphasis"),o=n.createTracker(r),l=o.move(a);return l+=o.move(n.containerPhrasing(e,{before:l,after:a,...o.current()}))+o.move(a),i(),l}tz.peek=function(){return"~"},tK.peek=function(e,t,n){return n.options.emphasis||"*"};let tJ={};function t0(e,t){let n=t||tJ;return t1(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function t1(e,t,n){if(e&&"object"==typeof e){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return t2(e.children,t,n)}return Array.isArray(e)?t2(e,t,n):""}function t2(e,t,n){let r=[],a=-1;for(;++a<e.length;)r[a]=t1(e[a],t,n);return r.join("")}function t4(e,t){let n=!1;return(0,b.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return n=!0,Z.BK}),!!((!e.depth||e.depth<3)&&t0(e)&&(t.options.setext||n))}function t8(e){return e.value||""}function t6(e,t,n,r){let a=tG(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("image"),l=n.enter("label"),s=n.createTracker(r),u=s.move("![");return u+=s.move(n.safe(e.alt,{before:u,after:"]",...s.current()}))+s.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()}))+s.move(">")):(l=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":")",...s.current()}))),l(),e.title&&(l=n.enter(`title${i}`),u+=s.move(" "+a),u+=s.move(n.safe(e.title,{before:u,after:a,...s.current()}))+s.move(a),l()),u+=s.move(")"),o(),u}function t3(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),l=n.createTracker(r),s=l.move("!["),u=n.safe(e.alt,{before:s,after:"]",...l.current()});s+=l.move(u+"]["),o();let c=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:s,after:"]",...l.current()});return o(),n.stack=c,i(),"full"!==a&&u&&u===d?"shortcut"===a?s=s.slice(0,-1):s+=l.move("]"):s+=l.move(d+"]"),s}function t5(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){let e;let t=n.unsafe[i],a=n.compilePattern(t);if(t.atBreak)for(;e=a.exec(r);){let t=e.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(e.index+1)}}return a+r+a}function t7(e,t){let n=t0(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function t9(e,t,n,r){let a,i;let o=tG(n),l='"'===o?"Quote":"Apostrophe",s=n.createTracker(r);if(t7(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=s.move("<");return r+=s.move(n.containerPhrasing(e,{before:r,after:">",...s.current()}))+s.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let u=s.move("[");return u+=s.move(n.containerPhrasing(e,{before:u,after:"](",...s.current()}))+s.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()}))+s.move(">")):(i=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":")",...s.current()}))),i(),e.title&&(i=n.enter(`title${l}`),u+=s.move(" "+o),u+=s.move(n.safe(e.title,{before:u,after:o,...s.current()}))+s.move(o),i()),u+=s.move(")"),a(),u}function ne(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),l=n.createTracker(r),s=l.move("["),u=n.containerPhrasing(e,{before:s,after:"]",...l.current()});s+=l.move(u+"]["),o();let c=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:s,after:"]",...l.current()});return o(),n.stack=c,i(),"full"!==a&&u&&u===d?"shortcut"===a?s=s.slice(0,-1):s+=l.move("]"):s+=l.move(d+"]"),s}function nt(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function nn(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}t8.peek=function(){return"<"},t6.peek=function(){return"!"},t3.peek=function(){return"!"},t5.peek=function(){return"`"},t9.peek=function(e,t,n){return t7(e,n)?"<":"["},ne.peek=function(){return"["};let nr=(0,A.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function na(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),l=o.move(a+a);return l+=o.move(n.containerPhrasing(e,{before:l,after:a,...o.current()}))+o.move(a+a),i(),l}na.peek=function(e,t,n){return n.options.strong||"*"};let ni={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),tH);return a(),o},break:tW,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";
5if(tX(e,n)){let e=n.enter("codeIndented"),t=n.indentLines(i,tY);return e(),t}let l=n.createTracker(r),s=a.repeat(Math.max(function(e,t){let n=String(e),r=n.indexOf(t),a=r,i=0,o=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==r;)r===a?++i>o&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}(i,a)+1,3)),u=n.enter("codeFenced"),c=l.move(s);if(e.lang){let t=n.enter(`codeFencedLang${o}`);c+=l.move(n.safe(e.lang,{before:c,after:" ",encode:["`"],...l.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);c+=l.move(" "),c+=l.move(n.safe(e.meta,{before:c,after:"\n",encode:["`"],...l.current()})),t()}return c+=l.move("\n"),i&&(c+=l.move(i+"\n")),c+=l.move(s),u(),c},definition:function(e,t,n,r){let a=tG(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),l=n.enter("label"),s=n.createTracker(r),u=s.move("[");return u+=s.move(n.safe(n.associationId(e),{before:u,after:"]",...s.current()}))+s.move("]: "),l(),!e.url||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()}))+s.move(">")):(l=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":"\n",...s.current()}))),l(),e.title&&(l=n.enter(`title${i}`),u+=s.move(" "+a),u+=s.move(n.safe(e.title,{before:u,after:a,...s.current()}))+s.move(a),l()),o(),u},emphasis:tK,hardBreak:tW,heading:function(e,t,n,r){let a=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(t4(e,n)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),o=n.containerPhrasing(e,{...i.current(),before:"\n",after:"\n"});return r(),t(),o+"\n"+(1===a?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}let o="#".repeat(a),l=n.enter("headingAtx"),s=n.enter("phrasing");i.move(o+" ");let u=n.containerPhrasing(e,{before:"# ",after:"\n",...i.current()});return/^[\t ]/.test(u)&&(u="&#x"+u.charCodeAt(0).toString(16).toUpperCase()+";"+u.slice(1)),u=u?o+" "+u:o,n.options.closeAtx&&(u+=" "+o),s(),l(),u},html:t8,image:t6,imageReference:t3,inlineCode:t5,link:t9,linkReference:ne,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):nt(n),l=e.ordered?"."===o?")":".":function(e){let t=nt(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),s=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(s=!0),nn(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){s=!0;break}}}}s&&(o=l),n.bulletCurrent=o;let u=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=i,a(),u},listItem:function(e,t,n,r){let a=function(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),i=n.bulletCurrent||nt(n);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let l=n.createTracker(r);l.move(i+" ".repeat(o-i.length)),l.shift(o);let s=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,l.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return s(),u},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){return(e.children.some(function(e){return nr(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:na,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(nn(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function no(e){let t=e._align;(0,V.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function nl(e){this.exit(e),this.data.inTable=void 0}function ns(e){this.enter({type:"tableRow",children:[]},e)}function nu(e){this.exit(e)}function nc(e){this.enter({type:"tableCell",children:[]},e)}
5function nd(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,np));let n=this.stack[this.stack.length-1];(0,V.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function np(e,t){return"|"===t?t:e}function nm(e){let t=this.stack[this.stack.length-2];(0,V.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function nf(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,V.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i<a.length;){let e=a[i];if("paragraph"===e.type){r=e;break}}r===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function nh(e,t,n,r){let a=e.children[0],i="boolean"==typeof e.checked&&a&&"paragraph"===a.type,o="["+(e.checked?"x":" ")+"] ",l=n.createTracker(r);i&&l.move(o);let s=ni.listItem(e,t,n,{...r,...l.current()});return i&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+o})),s}function ng(e,t,n,r){let a;let i=e.length,o=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)(a=Array.from(r)).unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);o<r.length;)(a=r.slice(o,o+1e4)).unshift(t,0),e.splice(...a),o+=1e4,t+=1e4}function nv(e,t){return e.length>0?(ng(e,e.length,0,t),e):t}let ny={}.hasOwnProperty;function nb(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r;let a=(ny.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];if(i)for(r in i){ny.call(a,r)||(a[r]=[]);let e=i[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);ng(e,0,0,r)}(a[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}let nO={tokenize:function(e,t,n){let r=0;return function t(i){return(87===i||119===i)&&r<3?(r++,e.consume(i),t):46===i&&3===r?(e.consume(i),a):n(i)};function a(e){return null===e?n(e):t(e)}},partial:!0},nw={tokenize:function(e,t,n){let r,a,i;return o;function o(t){return 46===t||95===t?e.check(nx,s,l)(t):null===t||tc(t)||tm(t)||45!==t&&tp(t)?s(t):(i=!0,e.consume(t),o)}function l(t){return 95===t?r=!0:(a=r,r=void 0),e.consume(t),o}function s(e){return a||r||!i?n(e):t(e)}},partial:!0},nk={tokenize:function(e,t){let n=0,r=0;return a;function a(o){return 40===o?(n++,e.consume(o),a):41===o&&r<n?i(o):33===o||34===o||38===o||39===o||41===o||42===o||44===o||46===o||58===o||59===o||60===o||63===o||93===o||95===o||126===o?e.check(nx,t,i)(o):null===o||tc(o)||tm(o)?t(o):(e.consume(o),a)}function i(t){return 41===t&&r++,e.consume(t),a}},partial:!0},nx={tokenize:function(e,t,n){return r;function r(o){return 33===o||34===o||39===o||41===o||42===o||44===o||46===o||58===o||59===o||63===o||95===o||126===o?(e.consume(o),r):38===o?(e.consume(o),i):93===o?(e.consume(o),a):60===o||null===o||tc(o)||tm(o)?t(o):n(o)}function a(e){return null===e||40===e||91===e||tc(e)||tm(e)?t(e):r(e)}function i(t){return tn(t)?function t(a){return 59===a?(e.consume(a),r):tn(a)?(e.consume(a),t):n(a)}(t):n(t)}},partial:!0},nS={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return tr(e)?n(e):t(e)}},partial:!0},n_={name:"wwwAutolink",tokenize:function(e,t,n){let r=this;return function(t){return 87!==t&&119!==t||!nC.call(r,r.previous)||nN(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(nO,e.attempt(nw,e.attempt(nk,a),n),n)(t))};function a(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:nC},nE={name:"protocolAutolink",tokenize:function(e,t,n){let r=this,a="",i=!1;return function(t){return(72===t||104===t)&&n$.call(r,r.previous)&&!nN(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(t),e.consume(t),o):n(t)};function o(t){if(tn(t)&&a.length<5)return a+=String.fromCodePoint(t),e.consume(t),o;if(58===t){let n=a.toLowerCase();if("http"===n||"https"===n)return e.consume(t),l}return n(t)}function l(t){return 47===t?(e.consume(t),i)?s:(i=!0,l):n(t)}function s(t){return null===t||ti(t)||tc(t)||tm(t)||tp(t)?n(t):e.attempt(nw,e.attempt(nk,u),n)(t)}function u(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:n$},nA={name:"emailAutolink",tokenize:function(e,t,n){let r,a;let i=this;return function(t){return!nI(t)||!nP.call(i,i.previous)||nN(i.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return nI(r)?(e.consume(r),t):64===r?(e.consume(r),o):n(r)}(t))};function o(t){return 46===t?e.check(nS,s,l)(t):45===t||95===t||tr(t)?(a=!0,e.consume(t),o):s(t)}function l(t){return e.consume(t),r=!0,o}function s(o){return a&&r&&tn(i.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(o)):n(o)}},previous:nP},nT={},nD=48;for(;nD<123;)nT[nD]=nA,58==++nD?nD=65:91===nD&&(nD=97);function nC(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||tc(e)}function n$(e){return!tn(e)}function nP(e){return!(47===e||nI(e))}function nI(e){return 43===e||45===e||46===e||95===e||tr(e)}function nN(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function nU(e,t,n,r){let a=r?r-1:Number.POSITIVE_INFINITY,i=0;return function(r){return td(r)?(e.enter(n),function r(o){return td(o)&&i++<a?(e.consume(o),r):(e.exit(n),t(o))}(r)):t(r)}}nT[43]=nA,nT[45]=nA,nT[46]=nA,nT[95]=nA,nT[72]=[nA,nE],nT[104]=[nA,nE],nT[87]=[nA,n_],nT[119]=[nA,n_];let nM={tokenize:function(e,t,n){return function(t){return td(t)?nU(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||tu(e)?t(e):n(e)}},partial:!0},nR={tokenize:function(e,t,n){let r=this;return nU(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function nj(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let l=tA(a.sliceSerialize({start:r.end,end:a.now()}));return 94===l.codePointAt(0)&&o.includes(l.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function nL(e,t){let n=e.length;for(;n--;
5)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function nZ(e,t,n){let r;let a=this,i=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),o=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(l){if(o>999||93===l&&!r||null===l||91===l||tc(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return i.includes(tA(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return tc(l)||(r=!0),o++,e.consume(l),92===l?u:s}function u(t){return 91===t||92===t||93===t?(e.consume(t),o++,s):s(t)}}function nB(e,t,n){let r,a;let i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),s};function s(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||tc(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=tA(i.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return tc(t)||(a=!0),l++,e.consume(t),92===t?c:u}function c(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(r)||o.push(r),nU(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function nz(e,t,n){return e.check(nM,t,e.attempt(nR,t,n))}function nF(e){e.exit("gfmFootnoteDefinition")}function nQ(e){return null===e||tc(e)||tm(e)?1:tp(e)?2:void 0}function nH(e,t,n){let r=[],a=-1;for(;++a<e.length;){let i=e[a].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}class nq{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=n,e.map[a][2].push(...r);return}a+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}}function nV(e,t,n){let r;let a=this,i=0,o=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?y:l;return i===y&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,o+=1),s(t)}function s(t){return null===t?n(t):tu(t)?o>1?(o=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):td(t)?nU(e,s,"whitespace")(t):(o+=1,r&&(r=!1,i+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,s):(e.enter("data"),u(t))}function u(t){return null===t||124===t||tc(t)?(e.exit("data"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return 92===t||124===t?(e.consume(t),u):u(t)}function d(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,td(t))?nU(e,p,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t)}function p(t){return 45===t||58===t?f(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),m):n(t)}function m(t){return td(t)?nU(e,f,"whitespace")(t):f(t)}
5function f(t){return 58===t?(o+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),h):45===t?(o+=1,h(t)):null===t||tu(t)?v(t):n(t)}function h(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),g):(e.exit("tableDelimiterFiller"),g(n))}(t)):n(t)}function g(t){return td(t)?nU(e,v,"whitespace")(t):v(t)}function v(a){return 124===a?p(a):null===a||tu(a)?r&&i===o?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function y(t){return e.enter("tableRow"),b(t)}function b(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),b):null===n||tu(n)?(e.exit("tableRow"),t(n)):td(n)?nU(e,b,"whitespace")(n):(e.enter("data"),O(n))}function O(t){return null===t||124===t||tc(t)?(e.exit("data"),b(t)):(e.consume(t),92===t?w:O)}function w(t){return 92===t||124===t?(e.consume(t),O):O(t)}}function nW(e,t){let n,r,a,i=-1,o=!0,l=0,s=[0,0,0,0],u=[0,0,0,0],c=!1,d=0,p=new nq;for(;++i<e.length;){let m=e[i],f=m[1];"enter"===m[0]?"tableHead"===f.type?(c=!1,0!==d&&(nY(p,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(i,0,[["enter",n,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(o=!0,a=void 0,s=[0,0,0,0],u=[0,i+1,0,0],c&&(c=!1,r={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(i,0,[["enter",r,t]])),l="tableDelimiterRow"===f.type?2:r?3:1):l&&("data"===f.type||"tableDelimiterMarker"===f.type||"tableDelimiterFiller"===f.type)?(o=!1,0===u[2]&&(0!==s[1]&&(u[0]=u[1],a=nX(p,t,s,l,void 0,a),s=[0,0,0,0]),u[2]=i)):"tableCellDivider"===f.type&&(o?o=!1:(0!==s[1]&&(u[0]=u[1],a=nX(p,t,s,l,void 0,a)),u=[(s=u)[1],i,0,0])):"tableHead"===f.type?(c=!0,d=i):"tableRow"===f.type||"tableDelimiterRow"===f.type?(d=i,0!==s[1]?(u[0]=u[1],a=nX(p,t,s,l,i,a)):0!==u[1]&&(a=nX(p,t,u,l,i,a)),l=0):l&&("data"===f.type||"tableDelimiterMarker"===f.type||"tableDelimiterFiller"===f.type)&&(u[3]=i)}for(0!==d&&nY(p,t,d,n,r),p.consume(t.events),i=-1;++i<t.events.length;){let e=t.events[i];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let n=!1,r=[];for(;t<e.length;){let a=e[t];if(n){if("enter"===a[0])"tableContent"===a[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===a[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===a[1].type)break}else"enter"===a[0]&&"tableDelimiterRow"===a[1].type&&(n=!0);t+=1}return r}(t.events,i))}return e}function nX(e,t,n,r,a,i){0!==n[0]&&(i.end=Object.assign({},nG(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));let o=nG(t.events,n[1]);if(i={type:1===r?"tableHeader":2===r?"tableDelimiter":"tableData",start:Object.assign({},o),end:Object.assign({},o)},e.add(n[1],0,[["enter",i,t]]),0!==n[2]){let a=nG(t.events,n[2]),i=nG(t.events,n[3]),o={type:"tableContent",start:Object.assign({},a),end:Object.assign({},i)};if(e.add(n[2],0,[["enter",o,t]]),2!==r){let r=t.events[n[2]],a=t.events[n[3]];if(r[1].end=Object.assign({},a[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},nG(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function nY(e,t,n,r,a){let i=[],o=nG(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function nG(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let nK={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return tc(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(t)}function o(r){return tu(r)?t(r):td(r)?e.check({tokenize:nJ},t,n)(r):n(r)}}};function nJ(e,t,n){return nU(e,function(e){return null===e?n(e):t(e)},"whitespace")}let n0={};function n1(e){let t;let n=e||n0,r=this.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(nb([{text:nT},{document:{91:{name:"gfmFootnoteDefinition",tokenize:nB,continuation:{tokenize:nz},exit:nF}},text:{91:{name:"gfmFootnoteCall",tokenize:nZ},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:nj,resolveTo:nL}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(l){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(l):(e.enter("strikethroughSequenceTemporary"),function i(l){let s=nQ(a);if(126===l)return o>1?r(l):(e.consume(l),o++,i);if(o<2&&!t)return r(l);let u=e.exit("strikethroughSequenceTemporary"),c=nQ(l);return u._open=!c||2===c&&!!s,u._close=!s||2===s&&!!c,n(l)}(l))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";let a={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[["enter",a,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]],l=t.parser.constructs.insideSpan.null;l&&ng(o,o.length,0,nH(l,e.slice(r+1,n),t)),ng(o,o.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",a,t]]
5),ng(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}(n),{flow:{null:{name:"table",tokenize:nV,resolveAll:nW}}},{text:{91:nK}}])),i.push([{transforms:[tx],enter:{literalAutolink:tv,literalAutolinkEmail:ty,literalAutolinkHttp:ty,literalAutolinkWww:ty},exit:{literalAutolink:tk,literalAutolinkEmail:tw,literalAutolinkHttp:tb,literalAutolinkWww:tO}},{enter:{gfmFootnoteCallString:tT,gfmFootnoteCall:tD,gfmFootnoteDefinitionLabelString:tC,gfmFootnoteDefinition:t$},exit:{gfmFootnoteCallString:tP,gfmFootnoteCall:tI,gfmFootnoteDefinitionLabelString:tN,gfmFootnoteDefinition:tU}},{canContainEols:["delete"],enter:{strikethrough:tZ},exit:{strikethrough:tB}},{enter:{table:no,tableData:nc,tableHeader:nc,tableRow:ns},exit:{codeText:nd,table:nl,tableData:nu,tableHeader:nu,tableRow:nu}},{exit:{taskListCheckValueChecked:nm,taskListCheckValueUnchecked:nm,paragraph:nf}}]),o.push({extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:th,notInConstruct:tg},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:th,notInConstruct:tg},{character:":",before:"[ps]",after:"\\/",inConstruct:th,notInConstruct:tg}]},(t=!1,n&&n.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,n,r,a){let i=r.createTracker(a),o=i.move("[^"),l=r.enter("footnoteDefinition"),s=r.enter("label");return o+=i.move(r.safe(r.associationId(e),{before:o,after:"]"})),s(),o+=i.move("]:"),e.children&&e.children.length>0&&(i.shift(4),o+=i.move((t?"\n":" ")+r.indentLines(r.containerFlow(e,i.current()),t?tj:tR))),l(),o},footnoteReference:tM},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:tL}],handlers:{delete:tz}},function(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=ni.inlineCode(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return l(function(e,t,n){let r=e.children,a=-1,i=[],o=t.enter("table");for(;++a<r.length;)i[a]=s(r[a],t,n);return o(),i}(e,n,r),e.align)},tableCell:o,tableRow:function(e,t,n,r){let a=l([s(e,n,r)]);return a.slice(0,a.indexOf("\n"))}}};function o(e,t,n,r){let a=n.enter("tableCell"),o=n.enter("phrasing"),l=n.containerPhrasing(e,{...r,before:i,after:i});return o(),a(),l}function l(e,t){return function(e,t){let n=t||{},r=(n.align||[]).concat(),a=n.stringLength||tF,i=[],o=[],l=[],s=[],u=0,c=-1;for(;++c<e.length;){let t=[],r=[],i=-1;for(e[c].length>u&&(u=e[c].length);++i<e[c].length;){var d;let o=null==(d=e[c][i])?"":String(d);if(!1!==n.alignDelimiters){let e=a(o);r[i]=e,(void 0===s[i]||e>s[i])&&(s[i]=e)}t.push(o)}o[c]=t,l[c]=r}let p=-1;if("object"==typeof r&&"length"in r)for(;++p<u;)i[p]=tQ(r[p]);else{let e=tQ(r);for(;++p<u;)i[p]=e}p=-1;let m=[],f=[];for(;++p<u;){let e=i[p],t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let a=!1===n.alignDelimiters?1:Math.max(1,s[p]-t.length-r.length),o=t+"-".repeat(a)+r;!1!==n.alignDelimiters&&((a=t.length+a+r.length)>s[p]&&(s[p]=a),f[p]=a),m[p]=o}o.splice(1,0,m),l.splice(1,0,f),c=-1;let h=[];for(;++c<o.length;){let e=o[c],t=l[c];p=-1;let r=[];for(;++p<u;){let a=e[p]||"",o="",l="";if(!1!==n.alignDelimiters){let e=s[p]-(t[p]||0),n=i[p];114===n?o=" ".repeat(e):99===n?e%2?(o=" ".repeat(e/2+.5),l=" ".repeat(e/2-.5)):l=o=" ".repeat(e/2):l=" ".repeat(e)}!1===n.delimiterStart||p||r.push("|"),!1!==n.padding&&!(!1===n.alignDelimiters&&""===a)&&(!1!==n.delimiterStart||p)&&r.push(" "),!1!==n.alignDelimiters&&r.push(o),r.push(a),!1!==n.alignDelimiters&&r.push(l),!1!==n.padding&&r.push(" "),(!1!==n.delimiterEnd||p!==u-1)&&r.push("|")}h.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return h.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:a})}function s(e,t,n){let r=e.children,a=-1,i=[],l=t.enter("tableRow");for(;++a<r.length;)i[a]=o(r[a],e,t,n);return l(),i}}(n),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:nh}}]})}function n2(e){let t,n,r,a,i,o,l;let s={},u=-1;for(;++u<e.length;){for(;(u in s);)u=s[u];if(t=e[u],u&&"chunkFlow"===t[1].type&&"listItemPrefix"===e[u-1][1].type&&((r=0)<(o=t[1]._tokenizer.events).length&&"lineEndingBlank"===o[r][1].type&&(r+=2),r<o.length&&"content"===o[r][1].type))for(;++r<o.length&&"content"!==o[r][1].type;)"chunkText"===o[r][1].type&&(o[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(s,function(e,t){let n,r;let a=e[t][1],i=e[t][2],o=t-1,l=[],s=a._tokenizer||i.parser[a.contentType](a.start),u=s.events,c=[],d={},p=-1,m=a,f=0,h=0,g=[0];for(;m;){for(;e[++o][1]!==m;);l.push(o),!m._tokenizer&&(n=i.sliceStream(m),m.next||n.push(null),r&&s.defineSki
5p(m.start),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(n),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),r=m,m=m.next}for(m=a;++p<u.length;)"exit"===u[p][0]&&"enter"===u[p-1][0]&&u[p][1].type===u[p-1][1].type&&u[p][1].start.line!==u[p][1].end.line&&(h=p+1,g.push(h),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(s.events=[],m?(m._tokenizer=void 0,m.previous=void 0):g.pop(),p=g.length;p--;){let t=u.slice(g[p],g[p+1]),n=l.pop();c.unshift([n,n+t.length-1]),ng(e,n,2,t)}for(p=-1;++p<c.length;)d[f+c[p][0]]=f+c[p][1],f+=c[p][1]-c[p][0]-1;return d}(e,u)),u=s[u],l=!0);else if(t[1]._container){for(r=u,n=void 0;r--;)if("lineEnding"===(a=e[r])[1].type||"lineEndingBlank"===a[1].type)"enter"===a[0]&&(n&&(e[n][1].type="lineEndingBlank"),a[1].type="lineEnding",n=r);else break;n&&(t[1].end=Object.assign({},e[n][1].start),(i=e.slice(n,u)).unshift(t),ng(e,n,u-n+1,i))}}return!l}let n4={tokenize:function(e){let t;let n=e.attempt(this.parser.constructs.contentInitial,function(t){if(null===t){e.consume(t);return}return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),nU(e,n,"linePrefix")},function(n){return e.enter("paragraph"),function n(r){let a=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=a),t=a,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return tu(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},n8={tokenize:function(e){let t,n,r;let a=this,i=[],o=0;return l;function l(t){if(o<i.length){let n=i[o];return a.containerState=n[1],e.attempt(n[0].continuation,s,u)(t)}return u(t)}function s(e){if(o++,a.containerState._closeFlow){let n;a.containerState._closeFlow=void 0,t&&v();let r=a.events.length,i=r;for(;i--;)if("exit"===a.events[i][0]&&"chunkFlow"===a.events[i][1].type){n=a.events[i][1].end;break}g(o);let l=r;
5for(;l<a.events.length;)a.events[l][1].end=Object.assign({},n),l++;return ng(a.events,i+1,0,a.events.slice(r)),a.events.length=l,u(e)}return l(e)}function u(n){if(o===i.length){if(!t)return p(n);if(t.currentConstruct&&t.currentConstruct.concrete)return f(n);a.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return a.containerState={},e.check(n6,c,d)(n)}function c(e){return t&&v(),g(o),p(e)}function d(e){return a.parser.lazy[a.now().line]=o!==i.length,r=a.now().offset,f(e)}function p(t){return a.containerState={},e.attempt(n6,m,f)(t)}function m(e){return o++,i.push([a.currentConstruct,a.containerState]),p(e)}function f(r){if(null===r){t&&v(),g(0),e.consume(r);return}return t=t||a.parser.flow(a.now()),e.enter("chunkFlow",{contentType:"flow",previous:n,_tokenizer:t}),function t(n){if(null===n){h(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return tu(n)?(e.consume(n),h(e.exit("chunkFlow")),o=0,a.interrupt=void 0,l):(e.consume(n),t)}(r)}function h(e,i){let l=a.sliceStream(e);if(i&&l.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(l),a.parser.lazy[e.start.line]){let e,n,i=t.events.length;for(;i--;)if(t.events[i][1].start.offset<r&&(!t.events[i][1].end||t.events[i][1].end.offset>r))return;let l=a.events.length,s=l;for(;s--;)if("exit"===a.events[s][0]&&"chunkFlow"===a.events[s][1].type){if(e){n=a.events[s][1].end;break}e=!0}for(g(o),i=l;i<a.events.length;)a.events[i][1].end=Object.assign({},n),i++;ng(a.events,s+1,0,a.events.slice(l)),a.events.length=i}}function g(t){let n=i.length;for(;n-- >t;){let t=i[n];a.containerState=t[1],t[0].exit.call(a,e)}i.length=t}function v(){t.write([null]),n=void 0,t=void 0,a.containerState._closeFlow=void 0}}},n6={tokenize:function(e,t,n){return nU(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},n3={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?a(t):tu(t)?e.check(n5,i,a)(t):(e.consume(t),r)}function a(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return n2(e),e}},n5={tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),nU(e,a,"linePrefix")};function a(a){if(null===a||tu(a))return n(a);let i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}},partial:!0},n7={tokenize:function(e){let t=this,n=e.attempt(nM,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,nU(e,e.attempt(this.parser.constructs.flow,r,e.attempt(n3,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},n9={resolveAll:rr()},re=rn("string"),rt=rn("text");function rn(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],a=t.attempt(r,i,o);return i;function i(e){return s(e)?a(e):o(e)}function o(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),l}function l(e){return s(e)?(t.exit("data"),a(e)):(t.consume(e),l)}function s(e){if(null===e)return!0;let t=r[e],a=-1;if(t)for(;++a<t.length;){let e=t[a];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:rr("text"===e?ra:void 0)}}function rr(e){return function(t,n){let r,a=-1;for(;++a<=t.length;)void 0===r?t[a]&&"data"===t[a][1].type&&(r=a,a++):t[a]&&"data"===t[a][1].type||(a!==r+2&&(t[r][1].end=t[a-1][1].end,t.splice(r+2,a-r-2),a=r+2),r=void 0);return e?e(t,n):t}}function ra(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r;let a=e[n-1][1],i=t.sliceStream(a),o=i.length,l=-1,s=0;for(;o--;){let e=i[o];if("string"==typeof e){for(l=e.length;32===e.charCodeAt(l-1);)s++,l--;if(l)break;l=-1}else if(-2===e)r=!0,s++;else if(-1===e);else{o++;break}}if(s){let i={type:n===e.length||r||s<2?"lineSuffix":"hardBreakTrailing",start:{line:a.end.line,column:a.end.column-s,offset:a.end.offset-s,_index:a.start._index+o,_bufferIndex:o?l:a.start._bufferIndex+l},end:Object.assign({},a.end)};a.end=Object.assign({},i.start),a.start.offset===a.end.offset?Object.assign(a,i):(e.splice(n,0,["enter",i,t],["exit",i,t]),n+=2)}n++}return e}let ri={name:"thematicBreak",tokenize:function(e,t,n){let r,a=0;return function(i){return e.enter("thematicBreak"),r=i,function i(o){return o===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),a++,t):(e.exit("thematicBreakSequence"),td(n)?nU(e,i,"whitespace")(n):i(n))}(o)):a>=3&&(null===o||tu(o))?(e.exit("thematicBreak"),t(o)):n(o)}(i)}}},ro={name:"list",tokenize:function(e,t,n){let r=this,a=r.events[r.events.length-1],i=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,o=0;return function(t){let a=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===a?!r.containerState.marker||t===r.containerState.marker:to(t)){if(r.containerState.type||(r.containerState.type=a,e.enter(a,{_container:!0})),"listUnordered"===a)return e.enter("listItemPrefix"),42===t||45===t?e.check(ri,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(a){return to(a)&&++o<10?(e.consume(a),t):(!r.interrupt||o<2)&&(r.containerState.marker?a===r.containerState.marker:41===a||46===a)?(e.exit("listItemValue"),l(a)):n(a)}(t)}return n(t)};function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(nM,r.interrupt?n:s,e.attempt(rl,c,u))}
5function s(e){return r.containerState.initialBlankLine=!0,i++,c(e)}function u(t){return td(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(nM,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,nU(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!td(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(rs,t,a)(n))});function a(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,nU(e,e.attempt(ro,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}},exit:function(e){e.exit(this.containerState.type)}},rl={tokenize:function(e,t,n){let r=this;return nU(e,function(e){let a=r.events[r.events.length-1];return!td(e)&&a&&"listItemPrefixWhitespace"===a[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},rs={tokenize:function(e,t,n){let r=this;return nU(e,function(e){let a=r.events[r.events.length-1];return a&&"listItemIndent"===a[1].type&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},ru={name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),a}return n(t)};function a(n){return td(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){let r=this;return function(t){return td(t)?nU(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):a(t)};function a(r){return e.attempt(ru,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function rc(e,t,n,r,a,i,o,l,s){let u=s||Number.POSITIVE_INFINITY,c=0;return function(t){return 60===t?(e.enter(r),e.enter(a),e.enter(i),e.consume(t),e.exit(i),d):null===t||32===t||41===t||ti(t)?n(t):(e.enter(r),e.enter(o),e.enter(l),e.enter("chunkString",{contentType:"string"}),f(t))};function d(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(a),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(l),d(t)):null===t||60===t||tu(t)?n(t):(e.consume(t),92===t?m:p)}function m(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function f(a){return!c&&(null===a||41===a||tc(a))?(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(r),t(a)):c<u&&40===a?(e.consume(a),c++,f):41===a?(e.consume(a),c--,f):null===a||32===a||40===a||ti(a)?n(a):(e.consume(a),92===a?h:f)}function h(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}function rd(e,t,n,r,a,i){let o;let l=this,s=0;return function(t){return e.enter(r),e.enter(a),e.consume(t),e.exit(a),e.enter(i),u};function u(d){return s>999||null===d||91===d||93===d&&!o||94===d&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs?n(d):93===d?(e.exit(i),e.enter(a),e.consume(d),e.exit(a),e.exit(r),t):tu(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||tu(t)||s++>999?(e.exit("chunkString"),u(t)):(e.consume(t),o||(o=!td(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function rp(e,t,n,r,a,i){let o;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(a),e.consume(t),e.exit(a),o=40===t?41:t,l):n(t)};function l(n){return n===o?(e.enter(a),e.consume(n),e.exit(a),e.exit(r),t):(e.enter(i),s(n))}
5function s(t){return t===o?(e.exit(i),l(o)):null===t?n(t):tu(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),nU(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===o||null===t||tu(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return t===o||92===t?(e.consume(t),u):u(t)}}function rm(e,t){let n;return function r(a){return tu(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):td(a)?nU(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}let rf={tokenize:function(e,t,n){return function(t){return tc(t)?rm(e,r)(t):n(t)};function r(t){return rp(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function a(t){return td(t)?nU(e,i,"whitespace")(t):i(t)}function i(e){return null===e||tu(e)?t(e):n(e)}},partial:!0},rh={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),nU(e,a,"linePrefix",5)(t)};function a(t){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?function t(n){return null===n?i(n):tu(n)?e.attempt(rg,t,i)(n):(e.enter("codeFlowValue"),function n(r){return null===r||tu(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function i(n){return e.exit("codeIndented"),t(n)}}},rg={tokenize:function(e,t,n){let r=this;return a;function a(t){return r.parser.lazy[r.now().line]?n(t):tu(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):nU(e,i,"linePrefix",5)(t)}function i(e){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):tu(e)?a(e):n(e)}},partial:!0},rv={name:"setextUnderline",tokenize:function(e,t,n){let r;let a=this;return function(t){let o,l=a.events.length;for(;l--;)if("lineEnding"!==a.events[l][1].type&&"linePrefix"!==a.events[l][1].type&&"content"!==a.events[l][1].type){o="paragraph"===a.events[l][1].type;break}return!a.parser.lazy[a.now().line]&&(a.interrupt||o)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),td(n)?nU(e,i,"lineSuffix")(n):i(n))}(t)):n(t)};function i(r){return null===r||tu(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,a,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),a||"definition"!==e[i][1].type||(a=i);let o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",a?(e.splice(r,0,["enter",o,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[a][1].end)):e[n][1]=o,e.push(["exit",o,t]),e}},ry=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],rb=["pre","script","style","textarea"],rO={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(nM,t,n)}},partial:!0},rw={tokenize:function(e,t,n){let r=this;return function(t){return tu(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):n(t)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},rk={tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},rx={name:"codeFenced",tokenize:function(e,t,n){let r;let a=this,i={tokenize:function(e,t,n){let i=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};
5function o(t){return e.enter("codeFencedFence"),td(t)?nU(e,s,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(a){return a===r?(i++,e.consume(a),t):i>=l?(e.exit("codeFencedFenceSequence"),td(a)?nU(e,u,"whitespace")(a):u(a)):n(a)}(t)):n(t)}function u(r){return null===r||tu(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},o=0,l=0;return function(t){return function(t){let i=a.events[a.events.length-1];return o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(a){return a===r?(l++,e.consume(a),t):l<3?n(a):(e.exit("codeFencedFenceSequence"),td(a)?nU(e,s,"whitespace")(a):s(a))}(t)}(t)};function s(i){return null===i||tu(i)?(e.exit("codeFencedFence"),a.interrupt?t(i):e.check(rk,c,f)(i)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||tu(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(a)):td(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),nU(e,u,"whitespace")(a)):96===a&&a===r?n(a):(e.consume(a),t)}(i))}function u(t){return null===t||tu(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||tu(a)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(a)):96===a&&a===r?n(a):(e.consume(a),t)}(t))}function c(t){return e.attempt(i,f,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return o>0&&td(t)?nU(e,m,"linePrefix",o+1)(t):m(t)}function m(t){return null===t||tu(t)?e.check(rk,c,f)(t):(e.enter("codeFlowValue"),function t(n){return null===n||tu(n)?(e.exit("codeFlowValue"),m(n)):(e.consume(n),t)}(t))}function f(n){return e.exit("codeFenced"),t(n)}},concrete:!0},rS=document.createElement("i");function r_(e){let t="&"+e+";";rS.innerHTML=t;let n=rS.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let rE={name:"characterReference",tokenize:function(e,t,n){let r,a;let i=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),r=31,a=tr,u(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,a=tl,u):(e.enter("characterReferenceValue"),r=7,a=to,u(t))}function u(l){if(59===l&&o){let r=e.exit("characterReferenceValue");return a!==tr||r_(i.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return a(l)&&o++<r?(e.consume(l),u):n(l)}}},rA={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return ts(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},rT={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),nU(e,t,"linePrefix")}}},rD={name:"labelEnd",tokenize:function(e,t,n){let r,a;let i=this,o=i.events.length;for(;o--;)if(("labelImage"===i.events[o][1].type||"labelLink"===i.events[o][1].type)&&!i.events[o][1]._balanced){r=i.events[o][1];break}return function(t){return r?r._inactive?c(t):(a=i.parser.defined.includes(tA(i.sliceSerialize({start:r.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l):n(t)};function l(t){return 40===t?e.attempt(rC,u,a?u:c)(t):91===t?e.attempt(r$,u,a?s:c)(t):a?u(t):c(t)}function s(t){return e.attempt(rP,u,c)(t)}function u(e){return t(e)}function c(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,a,i,o=e.length,l=0;for(;o--;)if(n=e[o][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(a){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=o,"labelLink"!==n.type)){l=2;break}}else"labelEnd"===n.type&&(a=o);let s={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[a][1].end)},c={type:"labelText",start:Object.assign({},e[r+l+2][1].end),end:Object.assign({},e[a-2][1].start)};return i=nv(i=[["enter",s,t],["enter",u,t]],e.slice(r+1,r+l+3)),i=nv(i,[["enter",c,t]]),i=nv(i,nH(t.parser.constructs.insideSpan.null,e.slice(r+l+4,a-3),t)),i=nv(i,[["exit",c,t],e[a-2],e[a-1],["exit",u,t]]),i=nv(i,e.slice(a+1)),i=nv(i,[["exit",s,t]]),ng(e,r,e.length,i),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){let n=e[t][1];("labelImage"===n.type||"labelLink"===n.type||"labelEnd"===n.type)&&(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},rC={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return tc(t)?rm(e,a)(t):a(t)}function a(t){return 41===t?u(t):rc(e,i,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return tc(t)?rm(e,l)(t):u(t)}function o(e){return n(e)}function l(t){return 34===t||39===t||40===t?rp(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function s(t){return tc(t)?rm(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},r$={tokenize:function(e,t,n){let r=this;return function(t){return rd.call(r,e,a,i,"reference","referenceMarker","referenceString")(t)};function a(e){return r.parser.defined.includes(tA(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function i(e){return n(e)}}},rP={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},rI={name:"labelStartImage",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),a};function a(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:rD.resolveAll},rN={name:"attention",tokenize:function(e,t){let n;let r=this.parser.constructs.attentionMarkers.null,a=this.previous,i=nQ(a);return function(o){return n=o,e.enter("attentionSequence"),function o(l){if(l===n)return e.consume(l),o;let s=e.exit("attentionSequence"),u=nQ(l),c=!u||2===u&&i||r.includes(l),d=!i||2===i&&u||r.includes(a);return s._open=!!(42===n?c:c&&(i||!d)),s._close=!!(42===n?d:d&&(u||!c)),t(l)}(o)}},resolveAll:function(e,t){let n,r,a,i,o,l,s,u,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[
5n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let d=Object.assign({},e[n][1].end),p=Object.assign({},e[c][1].start);rU(d,-l),rU(p,l),i={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},o={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:p},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},o.end)},e[n][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},o.end),s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=nv(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=nv(s,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",a,t]]),s=nv(s,nH(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),s=nv(s,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,s=nv(s,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,ng(e,n-1,c-n+3,s),c=n+s.length-u-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e}};function rU(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let rM={name:"labelStartLink",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),a};function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:rD.resolveAll},rR={42:ro,43:ro,45:ro,48:ro,49:ro,50:ro,51:ro,52:ro,53:ro,54:ro,55:ro,56:ro,57:ro,62:ru},rj={91:{name:"definition",tokenize:function(e,t,n){let r;let a=this;return function(t){return e.enter("definition"),rd.call(a,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function i(t){return(r=tA(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):n(t)}function o(t){return tc(t)?rm(e,l)(t):l(t)}function l(t){return rc(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(rf,u,u)(t)}function u(t){return td(t)?nU(e,c,"whitespace")(t):c(t)}function c(i){return null===i||tu(i)?(e.exit("definition"),a.parser.defined.push(r),t(i)):n(i)}}}},rL={[-2]:rh,[-1]:rh,32:rh},rZ={35:{name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(a){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),function a(i){return 35===i&&r++<6?(e.consume(i),a):null===i||tc(i)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||tu(r)?(e.exit("atxHeading"),t(r)):td(r)?nU(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||tc(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(i)):n(i)}(a)}},resolve:function(e,t){let n,r,a=e.length-2,i=3;return"whitespace"===e[3][1].type&&(i+=2),a-2>i&&"whitespace"===e[a][1].type&&(a-=2),"atxHeadingSequence"===e[a][1].type&&(i===a-1||a-4>i&&"whitespace"===e[a-2][1].type)&&(a-=i+1===a?2:4),a>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},r={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},ng(e,i,a-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:ri,45:[rv,ri],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,a,i,o,l;let s=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u};function u(o){return 33===o?(e.consume(o),c):47===o?(e.consume(o),a=!0,m):63===o?(e.consume(o),r=3,s.interrupt?t:P):tn(o)?(e.consume(o),i=String.fromCharCode(o),f):n(o)}function c(a){return 45===a?(e.consume(a),r=2,d):91===a?(e.consume(a),r=5,o=0,p):tn(a)?(e.consume(a),r=4,s.interrupt?t:P):n(a)}function d(r){return 45===r?(e.consume(r),s.interrupt?t:P):n(r)}function p(r){let a="CDATA[";
5return r===a.charCodeAt(o++)?(e.consume(r),o===a.length)?s.interrupt?t:S:p:n(r)}function m(t){return tn(t)?(e.consume(t),i=String.fromCharCode(t),f):n(t)}function f(o){if(null===o||47===o||62===o||tc(o)){let l=47===o,u=i.toLowerCase();return!l&&!a&&rb.includes(u)?(r=1,s.interrupt?t(o):S(o)):ry.includes(i.toLowerCase())?(r=6,l)?(e.consume(o),h):s.interrupt?t(o):S(o):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(o):a?function t(n){return td(n)?(e.consume(n),t):k(n)}(o):g(o))}return 45===o||tr(o)?(e.consume(o),i+=String.fromCharCode(o),f):n(o)}function h(r){return 62===r?(e.consume(r),s.interrupt?t:S):n(r)}function g(t){return 47===t?(e.consume(t),k):58===t||95===t||tn(t)?(e.consume(t),v):td(t)?(e.consume(t),g):k(t)}function v(t){return 45===t||46===t||58===t||95===t||tr(t)?(e.consume(t),v):y(t)}function y(t){return 61===t?(e.consume(t),b):td(t)?(e.consume(t),y):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,O):td(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||tc(n)?y(n):(e.consume(n),t)}(t)}function O(t){return t===l?(e.consume(t),l=null,w):null===t||tu(t)?n(t):(e.consume(t),O)}function w(e){return 47===e||62===e||td(e)?g(e):n(e)}function k(t){return 62===t?(e.consume(t),x):n(t)}function x(t){return null===t||tu(t)?S(t):td(t)?(e.consume(t),x):n(t)}function S(t){return 45===t&&2===r?(e.consume(t),T):60===t&&1===r?(e.consume(t),D):62===t&&4===r?(e.consume(t),I):63===t&&3===r?(e.consume(t),P):93===t&&5===r?(e.consume(t),$):tu(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(rO,N,_)(t)):null===t||tu(t)?(e.exit("htmlFlowData"),_(t)):(e.consume(t),S)}function _(t){return e.check(rw,E,N)(t)}function E(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return null===t||tu(t)?_(t):(e.enter("htmlFlowData"),S(t))}function T(t){return 45===t?(e.consume(t),P):S(t)}function D(t){return 47===t?(e.consume(t),i="",C):S(t)}function C(t){if(62===t){let n=i.toLowerCase();return rb.includes(n)?(e.consume(t),I):S(t)}return tn(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),C):S(t)}function $(t){return 93===t?(e.consume(t),P):S(t)}function P(t){return 62===t?(e.consume(t),I):45===t&&2===r?(e.consume(t),P):S(t)}function I(t){return null===t||tu(t)?(e.exit("htmlFlowData"),N(t)):(e.consume(t),I)}function N(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},61:rv,95:ri,96:rx,126:rx},rB={38:rE,92:rA},rz={[-5]:rT,[-4]:rT,[-3]:rT,33:rI,38:rE,42:rN,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a};function a(t){return tn(t)?(e.consume(t),i):l(t)}function i(t){return 43===t||45===t||46===t||tr(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,o):(43===n||45===n||46===n||tr(n))&&r++<32?(e.consume(n),t):(r=0,l(n))}(t)):l(t)}function o(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||ti(r)?n(r):(e.consume(r),o)}function l(t){return 64===t?(e.consume(t),s):ta(t)?(e.consume(t),l):n(t)}function s(a){return tr(a)?function a(i){return 46===i?(e.consume(i),r=0,s):62===i?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(i),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(i){if((45===i||tr(i))&&r++<63){let n=45===i?t:a;return e.consume(i),n}return n(i)}(i)}(a):n(a)}}},{name:"htmlText",tokenize:function(e,t,n){let r,a,i;let o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),O):63===t?(e.consume(t),y):tn(t)?(e.consume(t),k):n(t)}function s(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),a=0,m):tn(t)?(e.consume(t),v):n(t)}function u(t){return 45===t?(e.consume(t),p):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),d):tu(t)?(i=c,C(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),p):c(t)}function p(e){return 62===e?D(e):45===e?d(e):c(e)}function m(t){let r="CDATA[";return t===r.charCodeAt(a++)?(e.consume(t),a===r.length?f:m):n(t)}function f(t){return null===t?n(t):93===t?(e.consume(t),h):tu(t)?(i=f,C(t)):(e.consume(t),f)}function h(t){return 93===t?(e.consume(t),g):f(t)}function g(t){return 62===t?D(t):93===t?(e.consume(t),g):f(t)}function v(t){return null===t||62===t?D(t):tu(t)?(i=v,C(t)):(e.consume(t),v)}function y(t){return null===t?n(t):63===t?(e.consume(t),b):tu(t)?(i=y,C(t)):(e.consume(t),y)}function b(e){return 62===e?D(e):y(e)}function O(t){return tn(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||tr(t)?(e.consume(t),w):function t(n){return tu(n)?(i=t,C(n)):td(n)?(e.consume(n),t):D(n)}(t)}function k(t){return 45===t||tr(t)?(e.consume(t),k):47===t||62===t||tc(t)?x(t):n(t)}function x(t){return 47===t?(e.consume(t),D):58===t||95===t||tn(t)?(e.consume(t),S):tu(t)?(i=x,C(t)):td(t)?(e.consume(t),x):D(t)}function S(t){return 45===t||46===t||58===t||95===t||tr(t)?(e.consume(t),S):function t(n){return 61===n?(e.consume(n),_):tu(n)?(i=t,C(n)):td(n)?(e.consume(n),t):x(n)}(t)}function _(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,E):tu(t)?(i=_,C(t)):td(t)?(e.consume(t),_):(e.consume(t),A)}function E(t){return t===r?(e.consume(t),r=void 0,T):null===t?n(t):tu(t)?(i=E,C(t)):(e.consume(t),E)}function A(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||tc(t)?x(t):(e.consume(t),A)}function T(e){return 47===e||62===e||tc(e)?x(e):n(e)}function D(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function C(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),$}function $(t){return td(t)?nU(e,P,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):P(t)}function P(t){return e.enter("htmlTextData"),i(t)}}}],91:rM,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return tu(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},rA],93:rD,95:rN,96:{name:"codeText",tokenize:function(e,t,n){let r,a,i=0;
5return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),i++,t):(e.exit("codeTextSequence"),o(n))}(t)};function o(s){return null===s?n(s):32===s?(e.enter("space"),e.consume(s),e.exit("space"),o):96===s?(a=e.enter("codeTextSequence"),r=0,function n(o){return 96===o?(e.consume(o),r++,n):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(a.type="codeTextData",l(o))}(s)):tu(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),o):(e.enter("codeTextData"),l(s))}function l(t){return null===t||32===t||96===t||tu(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),l)}},resolve:function(e){let t,n,r=e.length-4,a=3;if(("lineEnding"===e[3][1].type||"space"===e[a][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=a;++t<r;)if("codeTextData"===e[t][1].type){e[a][1].type="codeTextPadding",e[r][1].type="codeTextPadding",a+=2,r-=2;break}}for(t=a-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},rF={null:[rN,n9]},rQ={null:[42,95]},rH={null:[]},rq=/[\0\t\n\r]/g;function rV(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCharCode(n)}let rW=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function rX(e){return e.replace(rW,rY)}function rY(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return rV(n.slice(t?2:1),t?16:10)}return r_(n)||e}var rG=n(66666);let rK={}.hasOwnProperty;function rJ(e){return{line:e.line,column:e.column,offset:e.offset}}function r0(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+(0,rG.y)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,rG.y)({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+(0,rG.y)({start:t.start,end:t.end})+") is still open")}function r1(e){let t=this;t.parser=function(n){var r,i;let o,l,s,u;return"string"!=typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(i=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(v),autolinkProtocol:u,autolinkEmail:u,atxHeading:r(f),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:u,characterReference:u,codeFenced:r(m),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:r(m,a),codeText:r(function(){return{type:"inlineCode",value:""}},a),codeTextData:u,data:u,codeFlowValue:u,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(h),hardBreakTrailing:r(h),htmlFlow:r(g,a),htmlFlowData:u,htmlText:r(g,a),htmlTextData:u,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:r(v),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(y),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:r(f),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:o(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let n=this.sliceSerialize(e).length;t.depth=n}},autolink:o(),autolinkEmail:function(e){c.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){c.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:o(),characterEscapeValue:c,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){let t;let n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=rV(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=r_(n);let a=this.stack.pop();a.value+=t,a.position.end=rJ(e.end)},codeFenced:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:c,codeIndented:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:c,data:c,definition:o(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=tA(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:o(),hardBreakEscape:o(d),hardBreakTrailing:o(d),htmlFlow:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:c,htmlText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:c,image:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){let t=e.children;n.children=t}else n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=rX(t),n.identifier=tA(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=rJ(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
5ype)&&(u.call(this,e),c.call(this,e))},link:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=tA(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:o(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:o(),thematicBreak:o()}};(function e(t,n){let r=-1;for(;++r<n.length;){let a=n[r];Array.isArray(a)?e(t,a):function(e,t){let n;for(n in t)if(rK.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,a)}})(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},o={stack:[r],tokenStack:[],config:t,enter:i,exit:l,buffer:a,resume:s,data:n},u=[],c=-1;for(;++c<e.length;)("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)&&("enter"===e[c][0]?u.push(c):c=function(e,t,n){let r,a,i,o,l=t-1,s=-1,u=!1;for(;++l<=n;){let t=e[l];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?s++:s--,o=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||o||s||i||(i=l),o=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:o=void 0}if(!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let o=l;for(a=void 0;o--;){let t=e[o];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;a&&(e[a][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",a=o}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}i&&(!a||i<a)&&(r._spread=!0),r.end=Object.assign({},a?e[a][1].start:t[1].end),e.splice(a||l,0,["exit",r,t[2]]),l++,n++}if("listItemPrefix"===t[1].type){let a={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=a,e.splice(l,0,["enter",a,t[2]]),l++,n++,i=void 0,o=!0}}}return e[t][1]._spread=u,n}(e,u.pop(),c));for(c=-1;++c<e.length;){let n=t[e[c][0]];rK.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},o),e[c][1])}if(o.tokenStack.length>0){let e=o.tokenStack[o.tokenStack.length-1];(e[1]||r0).call(o,void 0,e[0])}for(r.position={start:rJ(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:rJ(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){i.call(this,e(n),n),t&&t.call(this,n)}}function a(){this.stack.push({type:"fragment",children:[]})}function i(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:rJ(t.start),end:void 0}}function o(e){return function(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||r0).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+(0,rG.y)({start:e.start,end:e.end})+"): itâs not open");n.position.end=rJ(e.end)}function s(){return t0(this.stack.pop())}function u(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:rJ(e.start),end:void 0},t.push(n)),this.stack.push(n)}function c(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=rJ(e.end)}function d(){this.data.atHardBreak=!0}function p(e){this.data.characterReferenceType=e.type}function m(){return{type:"code",lang:null,meta:null,value:""}}function f(){return{type:"heading",depth:0,children:[]}}function h(){return{type:"break"}}function g(){return{type:"html",value:""}}function v(){return{type:"link",title:null,url:"",children:[]}}function y(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(i)(function(e){for(;!n2(e););return e}((function(e){let t={defined:[],lazy:{},constructs:nb([a,...(e||{}).extensions||[]]),content:n(n4),document:n(n8),flow:n(n7),string:n(re),text:n(rt)};return t;function n(e){return function(n){return function(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),a={},i=[],o=[],l=[],s={consume:function(e){tu(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e}
5,enter:function(e,t){let n=t||{};return n.type=e,n.start=p(),u.events.push(["enter",n,u]),l.push(n),n},exit:function(e){let t=l.pop();return t.end=p(),u.events.push(["exit",t,u]),t},attempt:f(function(e,t){h(e,t.from)}),check:f(m),interrupt:f(m,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,a=[];for(;++r<e.length;){let i;let o=e[r];if("string"==typeof o)i=o;else switch(o){case -5:i="\r";break;case -4:i="\n";break;case -3:i="\r\n";break;case -2:i=t?" ":" ";break;case -1:if(!t&&n)continue;i=" ";break;default:i=String.fromCharCode(o)}n=-2===o,a.push(i)}return a.join("")}(d(e),t)},now:p,defineSkip:function(e){a[e.line]=e.column,g()},write:function(e){return(o=nv(o,e),function(){let e;for(;r._index<o.length;){let n=o[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),c=c(t)}else c=c(n)}}(),null!==o[o.length-1])?[]:(h(t,0),u.events=nH(i,u.events,u),u.events)}},c=t.tokenize.call(u,s);return t.resolveAll&&i.push(t),u;function d(e){return function(e,t){let n;let r=t.start._index,a=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;if(r===i)n=[e[r].slice(a,o)];else{if(n=e.slice(r,i),a>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(a):n.shift()}o>0&&n.push(e[i].slice(0,o))}return n}(o,e)}function p(){let{line:e,column:t,offset:n,_index:a,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:a,_bufferIndex:i}}function m(e,t){t.restore()}function f(e,t){return function(n,a,i){let o,c,d,m;return Array.isArray(n)?f(n):"tokenize"in n?f([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null;return f([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]])(e)};function f(e){return(o=e,c=0,0===e.length)?i:h(e[c])}function h(e){return function(n){return(m=function(){let e=p(),t=u.previous,n=u.currentConstruct,a=u.events.length,i=Array.from(l);return{restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=a,l=i,g()},from:a}}(),d=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name))?y(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,s,v,y)(n)}}function v(t){return e(d,m),a}function y(e){return(m.restore(),++c<o.length)?h(o[c]):i}}}function h(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&ng(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function g(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}(t,e,n)}}})(i).document().write((l=1,s="",u=!0,function(e,t,n){let r,a,i,c,d;let p=[];for(e=s+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),i=0,s="",u&&(65279===e.charCodeAt(0)&&i++,u=void 0);i<e.length;){if(rq.lastIndex=i,c=(r=rq.exec(e))&&void 0!==r.index?r.index:e.length,d=e.charCodeAt(c),!r){s=e.slice(i);break}if(10===d&&i===c&&o)p.push(-3),o=void 0;else switch(o&&(p.push(-5),o=void 0),i<c&&(p.push(e.slice(i,c)),l+=c-i),d){case 0:p.push(65533),l++;break;case 9:for(a=4*Math.ceil(l/4),p.push(-2);l++<a;)p.push(-1);break;case 10:p.push(-4),l=1;break;default:o=!0,l=1}i=c+1}return n&&(o&&p.push(-5),s&&p.push(s),p.push(null)),p})(n,r,!0))))}}function r2(e){let t=[],n=-1,r=0,a=0;for(;++n<e.length;){let i=e.charCodeAt(n),o="";if(37===i&&tr(e.charCodeAt(n+1))&&tr(e.charCodeAt(n+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(o=String.fromCharCode(i));else if(i>55295&&i<57344){let t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(o=String.fromCharCode(i,t),a=1):o="�"}else o=String.fromCharCode(i);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+a+1,o=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function r4(e,t){let n=[{type:"text",value:"â©"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function r8(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function r6(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let a=e.all(t),i=a[0];i&&"text"===i.type?i.value="["+i.value:a.unshift({type:"text",value:"["});let o=a[a.length-1];return o&&"text"===o.type?o.value+=r:a.push({type:"text",value:r}),a}function r3(e){let t=e.spread;return null==t?e.children.length>1:t}function r5(e,t,n){let r=0,a=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(a-1);for(;9===t||32===t;)a--,t=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}let r7={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n;
5let r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),i=r2(a.toLowerCase()),o=e.footnoteOrder.indexOf(a),l=e.footnoteCounts.get(a);void 0===l?(l=0,e.footnoteOrder.push(a),n=e.footnoteOrder.length):n=o+1,l+=1,e.footnoteCounts.set(a,l);let s={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+i,id:r+"fnref-"+i+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,s);let u={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return r6(e,t);let a={src:r2(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(a.title=r.title);let i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){let n={src:r2(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return r6(e,t);let a={href:r2(r.url||"")};null!==r.title&&void 0!==r.title&&(a.title=r.title);let i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){let n={href:r2(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),a=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=r3(n[r])}return t}(n):r3(t),i={},o=[];if("boolean"==typeof t.checked){let e;let n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let l=-1;for(;++l<r.length;){let e=r[l];(a||0!==l||"element"!==e.type||"p"!==e.tagName)&&o.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||a?o.push(e):o.push(...e.children)}let s=r[r.length-1];s&&(a||"element"!==s.type||"p"!==s.tagName)&&o.push({type:"text",value:"\n"});let u={type:"element",tagName:"li",properties:i,children:o};return e.patch(t,u),e.applyData(t,u)},list:function(e,t){let n={},r=e.all(t),a=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++a<r.length;){let e=r[a];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),a=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),a.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=eN(t.children[1]),o=eI(t.children[t.children.length-1]);i&&o&&(r.position={start:i,end:o}),a.push(r)}let i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,a=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,o=i?i.length:t.children.length,l=-1,s=[];for(;++l<o;){let n=t.children[l],r={},o=i?i[l]:void 0;o&&(r.align=o);let u={type:"element",tagName:a,properties:r,children:[]};n&&(u.children=e.all(n),e.patch(n,u),u=e.applyData(n,u)),s.push(u)}let u={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};
5return e.patch(t,u),e.applyData(t,u)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),a=0,i=[];for(;r;)i.push(r5(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return i.push(r5(t.slice(a),a>0,!1)),i.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:r9,yaml:r9,definition:r9,footnoteDefinition:r9};function r9(){}let ae={}.hasOwnProperty,at={};function an(e,t){e.position&&(t.position=eM(e))}function ar(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,a=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&a&&Object.assign(n.properties,f(a)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function aa(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function ai(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function ao(e,t){let n=function(e,t){let n=t||at,r=new Map,a=new Map,i={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let a=i.one(n[r],e);if(a){if(r&&"break"===n[r-1].type&&(Array.isArray(a)||"text"!==a.type||(a.value=ai(a.value)),!Array.isArray(a)&&"element"===a.type)){let e=a.children[0];e&&"text"===e.type&&(e.value=ai(e.value))}Array.isArray(a)?t.push(...a):t.push(a)}}}return t},applyData:ar,definitionById:r,footnoteById:a,footnoteCounts:new Map,footnoteOrder:[],handlers:{...r7,...n.handlers},one:function(e,t){let n=e.type,r=i.handlers[n];if(ae.call(i.handlers,n)&&r)return r(i,e,t);if(i.options.passThrough&&i.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=f(n);return r.children=i.all(e),r}return f(e)}return(i.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(ae.call(n,"hProperties")||ae.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)})(i,e,t)},options:n,patch:an,wrap:aa};return(0,b.Vn)(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?r:a,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),i}(e,t),r=n.one(e,void 0),a=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||r4,r=e.options.footnoteBackLabel||r8,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[],s=-1;for(;++s<e.footnoteOrder.length;){let a=e.footnoteById.get(e.footnoteOrder[s]);if(!a)continue;let i=e.all(a),o=String(a.identifier).toUpperCase(),u=r2(o.toLowerCase()),c=0,d=[],p=e.footnoteCounts.get(o);for(;void 0!==p&&++c<=p;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(s,c);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(s,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let m=i[i.length-1];if(m&&"element"===m.type&&"p"===m.tagName){let e=m.children[m.children.length-1];e&&"text"===e.type?e.value+=" ":m.children.push({type:"text",value:" "}),m.children.push(...d)}else i.push(...d);let f={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(i,!0)};e.patch(a,f),l.push(f)}if(0!==l.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...f(o),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&((0,V.ok)("children"in i),i.children.push({type:"text",value:"\n"},a)),i}function al(e,t){return e&&"run"in e?async function(n,r){let a=ao(n,{file:r,...t});await e.run(a,r)}:function(n,r){return ao(n,{file:r,...e||t})}}let as={}.hasOwnProperty,au=[function(e,t,n,r){if("code"===t.type&&tX(t,r)&&("list"===e.type||e.type===t.type&&tX(e,r)))return!1;
5if("spread"in n&&"boolean"==typeof n.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&t4(t,r)))return;return n.spread?1:0}}],ac=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],ad=[{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:ac},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:ac},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:ac},{atBreak:!0,character:"+",after:"(?:[ \r\n])"},{atBreak:!0,character:"-",after:"(?:[ \r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:ac},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:ac},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:ac},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:ac},{atBreak:!0,character:"~"}];function ap(e){return e.label||!e.identifier?e.label||"":rX(e.identifier)}function am(e){if(!e._compiled){let t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}let af=/\r?\n|\r/g;function ah(e,t){let n;let r=[],a=0,i=0;for(;n=af.exec(e);)o(e.slice(a,n.index)),r.push(n[0]),a=n.index+n[0].length,i++;return o(e.slice(a)),r.join("");function o(e){r.push(t(e,i,!e))}}function ag(e,t){return e-t}function av(e,t){let n;let r=/\\(?=[!-/:-@[-`{-~])/g,a=[],i=[],o=e+t,l=-1,s=0;for(;n=r.exec(o);)a.push(n.index);for(;++l<a.length;)s!==a[l]&&i.push(e.slice(s,a[l])),i.push("\\"),s=a[l];return i.push(e.slice(s)),i.join("")}function ay(e){let t=e||{},n=t.now||{},r=t.lineShift||0,a=n.line||1,i=n.column||1;return{move:function(e){let t=e||"",n=t.split(/\r?\n|\r/g),o=n[n.length-1];return a+=n.length-1,i=1===n.length?i+o.length:1+o.length+r,t},current:function(){return{now:{line:a,column:i},lineShift:r}},shift:function(e){r+=e}}}function ab(e){throw Error("Cannot handle value `"+e+"`, expected node")}function aO(e){throw Error("Cannot handle unknown node `"+e.type+"`")}function aw(e,t){if("definition"===e.type&&e.type===t.type)return 0}function ak(e,t){return function(e,t,n){let r=t.indexStack,a=e.children||[],i=[],o=-1,l=n.before;r.push(-1);let s=t.createTracker(n);for(;++o<a.length;){let u;let c=a[o];if(r[r.length-1]=o,o+1<a.length){let n=t.handle.handlers[a[o+1].type];n&&n.peek&&(n=n.peek),u=n?n(a[o+1],e,t,{before:"",after:"",...s.current()}).charAt(0):""}else u=n.after;i.length>0&&("\r"===l||"\n"===l)&&"html"===c.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),l=" ",(s=t.createTracker(n)).move(i.join(""))),i.push(s.move(t.handle(c,e,t,{...s.current(),before:l,after:u}))),l=i[i.length-1].slice(-1)}return r.pop(),i.join("")}(e,this,t)}function ax(e,t){return function(e,t,n){let r=t.indexStack,a=e.children||[],i=t.createTracker(n),o=[],l=-1;for(r.push(-1);++l<a.length;){let n=a[l];r[r.length-1]=l,o.push(i.move(t.handle(n,e,t,{before:"\n",after:"\n",...i.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),l<a.length-1&&o.push(i.move(function(e,t,n,r){let a=r.join.length;for(;a--;){let i=r.join[a](e,t,n,r);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n<!---->\n\n"}return"\n\n"}(n,a[l+1],e,t)))}return r.pop(),o.join("")}(e,this,t)}function aS(e,t){return function(e,t,n){let r=(n.before||"")+(t||"")+(n.after||""),a=[],i=[],o={},l=-1;for(;++l<e.unsafe.length;){let t;let n=e.unsafe[l];if(!tq(e.stack,n))continue;let i=e.compilePattern(n);for(;t=i.exec(r);){let e="before"in n||!!n.atBreak,r="after"in n,i=t.index+(e?t[1].length:0);a.includes(i)?(o[i].before&&!e&&(o[i].before=!1),o[i].after&&!r&&(o[i].after=!1)):(a.push(i),o[i]={before:e,after:r})}}a.sort(ag);let s=n.before?n.before.length:0,u=r.length-(n.after?n.after.length:0);for(l=-1;++l<a.length;){let e=a[l];!(e<s)&&!(e>=u)&&(!(e+1<u)||a[l+1]!==e+1||!o[e].after||o[e+1].before||o[e+1].after)&&(a[l-1]!==e-1||!o[e].before||o[e-1].before||o[e-1].after)&&(s!==e&&i.push(av(r.slice(s,e),"\\")),s=e,!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(i.push("&#x"+r.charCodeAt(e).toString(16).toUpperCase()+";"),s++):i.push("\\"))}return i.push(av(r.slice(s,u),n.after)),i.join("")}(this,e,t)}function a_(e){let t=this;t.compiler=function(n){return function(e,t={}){let n={enter:function(e){return n.stack.push(e),function(){n.stack.pop()}},indentLines:ah,associationId:ap,containerPhrasing:ak,containerFlow:ax,createTracker:ay,compilePattern:am,safe:aS,stack:[],unsafe:[...ad],join:[...au],handlers:{...ni}
5,options:{},indexStack:[],handle:void 0};!function e(t,n){var r,a,i,o;let l,s=-1;if(n.extensions)for(;++s<n.extensions.length;)e(t,n.extensions[s]);for(l in n)if(as.call(n,l))switch(l){case"extensions":break;case"unsafe":case"join":r=t[l],(a=n[l])&&r.push(...a);break;case"handlers":i=t[l],(o=n[l])&&Object.assign(i,o);break;default:t.options[l]=n[l]}return t}(n,t),n.options.tightDefinitions&&n.join.push(aw),n.handle=(0,eE.z)("type",{invalid:ab,unknown:aO,handlers:n.handlers});let r=n.handle(e,void 0,n,{before:"\n",after:"\n",now:{line:1,column:1},lineShift:0});return r&&10!==r.charCodeAt(r.length-1)&&13!==r.charCodeAt(r.length-1)&&(r+="\n"),r}(n,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}}var aE=n(88308),aA=n(76793);let aT=["note","tip","important","warning","caution","success"];function aD(e){return"text"===e.type&&"string"==typeof e.value&&/^\s*$/.test(e.value)}function aC(){return e=>{(0,b.Vn)(e,"element",(e,t,n)=>{if("blockquote"!==e.tagName||"number"!=typeof t||!n||"root"!==n.type)return;let r=e.children.findIndex(e=>!aD(e));if(-1===r)return;let a=e.children[r];if(!a||"element"!==a.type||"p"!==a.tagName)return;let i=a.children[0];if(!i||"text"!==i.type||!i.value.startsWith("[!"))return;let o=i.value.indexOf("]");if(-1===o)return;let l=i.value.slice(2,o).toLowerCase();if(!aT.includes(l))return;if(o+1===i.value.length){let t=a.children[1];if(t){if("element"!==t.type||"br"!==t.tagName||!a.children[2])return;a.children=a.children.slice(2);let e=a.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&&aD(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"!==i.value.charAt(o+1)||o+2!==i.value.length&&/^\s*$/.test(i.value.slice(o+2))?i.value=i.value.replace(/^\s*\[!.*?\]\s*/,""):i.value=i.value.slice(o+2);let s=[];for(let t=r;t<e.children.length;t++){let n=e.children[t];n?.type==="element"&&"p"===n.tagName&&n.children?s.push(...n.children):s.push(n)}n.children[t]={type:"element",tagName:"div",properties:{className:["markdown-alert",`markdown-alert-${l}`]},children:[{type:"element",tagName:"div",properties:{className:["markdown-alert-icon"]},children:[]},{type:"element",tagName:"div",properties:{className:["markdown-alert-content"]},children:[{type:"text",value:" "},...s]}]}})}}var a$=n(73113);let aP=e=>"heading"===e.type&&"depth"in e&&"children"in e,aI=(e,...t)=>t=>{e?.transform&&e?.type&&(0,b.Vn)(t,e?.type,t=>(e?.transform&&e?.transform(t),Z.AM))};function aN(e,t){let n=t?.removeTags??[],r=[...e0.tagNames??[],...t?.allowTags??[]].filter(e=>!n.includes(e));return(0,aE.l)().use(r1).use(n1).use(aI,{transform:t?.transform,type:t?.transformType}).use(al,{allowDangerousHtml:!0}).use(aC).use(eK).use(e7,{...e0,clobberPrefix:"",tagNames:r,attributes:{...e0.attributes,abbr:["title"],"*":[...e0.attributes?.["*"]??[],"className"]},strip:["script","style","object","embed","form"]}).use(a$.d,{languages:aA.$,detect:!0}).use(x,{target:"_blank"}).use(Q).use(e9.Z).processSync(e).toString()}function aU(e){return(0,aE.l)().use(r1).use(n1).parse(e)}function aM(e,t=1){let n=aU(e),r=[];return(0,b.Vn)(n,"heading",e=>{let n=aR(e);n&&r.push({depth:e.depth??t,value:n})}),r}function aR(e){return"text"===e.type?e.value??"":"children"in e&&Array.isArray(e.children)?e.children.map(e=>aR(e)).join(""):""}function aj(e){let t=aU(e),n=[],r=[];return t.children?.forEach(e=>{"heading"===e.type?(r.length&&n.push(r),n.push([e]),r=[]):r.push(e)}),r.length&&n.push(r),n.map(e=>(0,aE.l)().use(a_).use(n1).stringify({type:"root",children:e}).trim())}},73113:function(e,t,n){"use strict";n.d(t,{d:function(){return S}});var r=n(58292);let a=function(e,t,n){let a=(0,r.O)(n);if(!e||!e.type||!e.children)throw Error("Expected parent node");if("number"==typeof t){if(t<0||t===Number.POSITIVE_INFINITY)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(a(e.children[t],t,e))return e.children[t]};var i=n(13489);let o=/\n/g,l=/[\t ]+/g,s=(0,i.Y)("br"),u=(0,i.Y)(function(e){return"td"===e.tagName||"th"===e.tagName}),c=(0,i.Y)("p"),d=(0,i.Y)("tr"),p=(0,i.Y)(["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}]),m=(0,i.Y)(["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 f(e,t){let n;let r="children"in e?e.children:[],i=m(e),o=g(e,{whitespace:(t||{}).whitespace||"normal",breakBefore:!1,breakAfter:!1}),l=[];("text"===e.type||"comment"===e.type)&&l.push(...h(e,{whitespace:o,breakBefore:!0,breakAfter:!0}));let f=-1;for(;++f<r.length;)l.push(...function e(t,n,r){return"element"===t.type?function(t,n,r){let i,o;let l=g(t,r),f=t.children||[],h=-1,v=[];
5if(p(t))return v;for(s(t)?o="\n":d(t)&&a(n,t,d)?o="\n":c(t)?(i=2,o=2):m(t)&&(i=1,o=1);++h<f.length;)v=v.concat(e(f[h],t,{whitespace:l,breakBefore:h?void 0:i,breakAfter:h<f.length-1?s(f[h+1]):o}));return u(t)&&a(n,t,u)&&v.push(" "),i&&v.unshift(i),o&&v.push(o),v}(t,n,r):"text"===t.type?"normal"===r.whitespace?h(t,r):[String(t.value)]:[]}(r[f],e,{whitespace:o,breakBefore:f?void 0:i,breakAfter:f<r.length-1?s(r[f+1]):i}));let v=[];for(f=-1;++f<l.length;){let e=l[f];"number"==typeof e?void 0!==n&&e>n&&(n=e):e&&(void 0!==n&&n>-1&&v.push("\n".repeat(n)||" "),n=-1,v.push(e))}return v.join("")}function h(e,t){let n;let r=String(e.value),a=[],i=[],s=0;for(;s<=r.length;){o.lastIndex=s;let e=o.exec(r),n=e&&"index"in e?e.index:r.length;a.push(function(e,t,n){let r;let a=[],i=0;for(;i<e.length;){l.lastIndex=i;let n=l.exec(e);r=n?n.index:e.length,i||r||!n||t||a.push(""),i!==r&&a.push(e.slice(i,r)),i=n?r+n[0].length:r}return i===r||n||a.push(""),a.join(" ")}(r.slice(s,n).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==s||t.breakBefore,n!==r.length||t.breakAfter)),s=n+1}let u=-1;for(;++u<a.length;)8203===a[u].charCodeAt(a[u].length-1)||u<a.length-1&&8203===a[u+1].charCodeAt(0)?(i.push(a[u]),n=void 0):a[u]?("number"==typeof n&&i.push(n),i.push(a[u]),n=0):(0===u||u===a.length-1)&&i.push(0);return i}function g(e,t){if("element"===e.type){let n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}var v=n(76843),y=n(22660);let b={};class O{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],n=t.children[t.children.length-1];n&&"text"===n.type?n.value+=e:t.children.push({type:"text",value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,t){let n=this.stack[this.stack.length-1],r=e.root.children;t?n.children.push({type:"element",tagName:"span",properties:{className:[t]},children:r}):n.children.push(...r)}openNode(e){let t=this,n=e.split(".").map(function(e,n){return n?e+"_".repeat(n):t.options.classPrefix+e}),r=this.stack[this.stack.length-1],a={type:"element",tagName:"span",properties:{className:n},children:[]};r.children.push(a),this.stack.push(a)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}var w=n(46882),k=n(9245);let x={};function S(e){let t=e||x,n=t.aliases,r=e?.detect??!1,a=t.languages,i=t.plainText,o=t.prefix,l=t.subset,s="hljs",u=e?.lowlight??function(e){let t=y.newInstance();return e&&a(e),{highlight:n,highlightAuto:function(e,a){let i;(0,v.ok)("string"==typeof e,"expected `string` as `value`");let o=(a||b).subset||r(),l=-1,s=0;for(;++l<o.length;){let r=o[l];if(!t.getLanguage(r))continue;let u=n(r,e,a);u.data&&void 0!==u.data.relevance&&u.data.relevance>s&&(s=u.data.relevance,i=u)}return i||{type:"root",children:[],data:{language:void 0,relevance:s}}},listLanguages:r,register:a,registerAlias:function(e,n){if("string"==typeof e)(0,v.ok)(void 0!==n),t.registerAliases("string"==typeof n?n:[...n],{languageName:e});else{let n;for(n in e)if(Object.hasOwn(e,n)){let r=e[n];t.registerAliases("string"==typeof r?r:[...r],{languageName:n})}}},registered:function(e){return!!t.getLanguage(e)}};function n(e,n,r){(0,v.ok)("string"==typeof e,"expected `string` as `name`"),(0,v.ok)("string"==typeof n,"expected `string` as `value`");let a=r||b,i="string"==typeof a.prefix?a.prefix:"hljs-";if(!t.getLanguage(e))throw Error("Unknown language: `"+e+"` is not registered");t.configure({__emitter:O,classPrefix:i});let o=t.highlight(n,{ignoreIllegals:!0,language:e});if(o.errorRaised)throw Error("Could not highlight with `Highlight.js`",{cause:o.errorRaised});let l=o._emitter.root,s=l.data;return s.language=o.language,s.relevance=o.relevance,l}function r(){return t.listLanguages()}function a(e,n){if("string"==typeof e)(0,v.ok)(void 0!==n,"expected `grammar`"),t.registerLanguage(e,n);else{let n;for(n in e)Object.hasOwn(e,n)&&t.registerLanguage(n,e[n])}}}(a);if(n&&u.registerAlias(n),o){let e=o.indexOf("-");s=e>-1?o.slice(0,e):o}return(e,t)=>{(0,w.Vn)(e,"element",(e,n,a)=>{let c;if("code"!==e.tagName||!a||"element"!==a.type||"pre"!==a.tagName)return;let d=function(e){let t=e.properties.className;if(!Array.isArray(t))return"";let n=t.reduce((e,t)=>
5{if(e)return e;let n=String(t);return"no-highlight"===n||"nohighlight"===n?"no-highlight":"lang-"===n.slice(0,5)?n.slice(5):"language-"===n.slice(0,9)?n.slice(9):e},"");return k.a[n||""]||n}(e);if(!("no-highlight"===d||!d&&!r||d&&i?.includes(d))){Array.isArray(e.properties.className)||(e.properties.className=[]),e.properties.className.includes(s)||e.properties.className.unshift(s);try{c=d?u.highlight(d,f(a),{prefix:o}):u.highlightAuto(f(a),{prefix:o,subset:l})}catch(n){if(d&&/Unknown language/.test(n.message)){t.message(`Cannot highlight as \`${d}\`, it's not registered`,{ancestors:[a,e],cause:n,place:e.position,ruleId:"missing-language",source:"rehype-highlight"});return}throw n}!d&&c.data?.language&&e.properties.className.push("language-"+c.data.language),c.children.length>0&&(e.children=c.children)}})}}},14007:function(e,t,n){"use strict";let r,a,i,o,l,s,u,c,d,p;n.d(t,{Xk:function(){return E},ZN:function(){return C},r5:function(){return P},A_:function(){return U},US:function(){return $},Nf:function(){return el},LS:function(){return eW},A9:function(){return eb},O0:function(){return eJ},BT:function(){return eG},p2:function(){return eX},nV:function(){return nl},tS:function(){return ns},Lx:function(){return nf},F6:function(){return nv},EX:function(){return ny},Zf:function(){return nw},on:function(){return te},r1:function(){return tt},sH:function(){return W},wK:function(){return K},_2:function(){return J},Zc:function(){return er},jK:function(){return nM},sN:function(){return db},ot:function(){return dI},N1:function(){return tC},hf:function(){return tn},MU:function(){return k},eV:function(){return dM},PG:function(){return dj},cW:function(){return pv},c_:function(){return dH},Zj:function(){return d9},Zd:function(){return pg},dJ:function(){return pe},uH:function(){return pP},pF:function(){return pW},FD:function(){return mc},A8:function(){return md},Xy:function(){return mm},d4:function(){return mw},II:function(){return mk},lH:function(){return mx},mr:function(){return mC},Nv:function(){return mL},QK:function(){return mZ},$c:function(){return mF},h_:function(){return mV},J0:function(){return mX},dx:function(){return mG},Mn:function(){return e8},aq:function(){return e3},HF:function(){return m6},vb:function(){return m3},cU:function(){return fe},Xf:function(){return fi},xZ:function(){return dC},NG:function(){return fy},ZG:function(){return fw},PQ:function(){return fE},jS:function(){return h.jS},cx:function(){return h.cx},li:function(){return h.li},$C:function(){return x},dd:function(){return mu},lL:function(){return dD}});var m,f,h=n(5006),g=n(82589),v=n(34280),y=n(72909),b={class:"circular-loader"},O=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarLoading",props:{loader:{},size:{}},setup(e){let{cx:t}=(0,h.li)(),n=(0,h.jS)({variants:{size:{xs:"size-3",sm:"size-3.5",md:"size-4",lg:"size-5",xl:"size-6","2xl":"size-8","3xl":"size-10",full:"size-full"}},defaultVariants:{size:"full"}});return(r,a)=>e.loader?((0,g.wg)(),(0,g.iD)("div",(0,v.vs)((0,g.dG)({key:0},(0,y.SU)(t)("loader-wrapper",(0,y.SU)(n)({size:e.size})))),[((0,g.wg)(),(0,g.iD)("svg",{class:(0,v.C_)(["svg-loader",{"icon-is-valid":e.loader.isValid,"icon-is-invalid":e.loader.isInvalid}]),viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[a[0]||(a[0]=(0,g.uE)('<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,g._)("g",b,[(0,g._)("circle",{class:(0,v.C_)(["loader-path",{"loader-path-off":!e.loader.isLoading}]),cx:"50",cy:"50",fill:"none",r:"20","stroke-width":"3"},null,2)])],2))],16)):(0,g.kq)("",!0)}}),w=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},k=w(O,[["__scopeId","data-v-27df5cd8"]]);function x(){return(0,y.qj)({isValid:!1,isInvalid:!1,isLoading:!1,isActive:!1,start(){this.isLoading=!0,this.isActive=!0,this.isInvalid=!1,this.isValid=!1}
5,validate(e={}){let{duration:t=1100,persist:n=!1}=e;this.isLoading=!1,this.isInvalid=!1,this.isValid=!0,this.isActive=!0;let r=n?t:t-300;return new Promise(e=>n?setTimeout(()=>e(),r):setTimeout(()=>this.clear().then(()=>e()),r))},invalidate(e={}){let{duration:t=1100,persist:n=!1}=e??{};this.isLoading=!1,this.isValid=!1,this.isInvalid=!0,this.isActive=!0;let r=n?t:t-300;return new Promise(e=>n?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)})}})}var S={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"]},_={key:3,class:"centered"},E=(0,g.aZ)({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,h.jS)({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:S},compoundVariants:[{disabled:!0,variant:["solid","outlined","ghost","gradient","danger"],class:"bg-b-2 text-c-3 shadow-none hover:bg-b-[_] cursor-not-allowed active:bg-b-[_] hover:text-c-[_] active:text-c-[_]"},{disabled:!0,variant:["gradient"],class:"to-b-1.5 bg-linear-to-b hover:bg-linear-to-b dark:hover:bg-linear-to-t"}]}),n=(0,h.jS)({base:"shrink-0",variants:{size:{xs:"size-2.75 -ml-0.25 mr-1",sm:"size-3.5 -ml-0.25 mr-1",md:"size-3.5 -ml-0.5 mr-1.5"}}}),r=(0,h.jS)({variants:{size:{xs:"size-4",sm:"size-5",md:"size-6"}}}),{cx:a}=(0,h.li)();return(i,o)=>((0,g.wg)(),(0,g.j4)((0,g.LL)(e.is),(0,g.dG)({"aria-disabled":e.disabled||void 0,type:"button"===e.is?"button":void 0},(0,y.SU)(a)((0,y.SU)(t)({disabled:e.disabled,size:e.size,variant:e.variant}),{relative:e.loader?.isActive})),{default:(0,g.w5)(()=>[i.$slots.icon||e.icon?((0,g.wg)(),(0,g.iD)("div",{key:0,class:(0,v.C_)([(0,y.SU)(n)({size:e.size}),{invisible:e.loader?.isActive}])},[(0,g.WI)(i.$slots,"icon",{},()=>[((0,g.wg)(),(0,g.j4)((0,g.LL)(e.icon),{class:"size-full"}))])],2)):(0,g.kq)("",!0),e.loader?((0,g.wg)(),(0,g.iD)("span",{key:1,class:(0,v.C_)({invisible:e.loader?.isActive})},[(0,g.WI)(i.$slots,"default")],2)):(0,g.WI)(i.$slots,"default",{key:2}),e.loader?.isActive?((0,g.wg)(),(0,g.iD)("div",_,[(0,g.Wm)((0,y.SU)(k),{class:(0,v.C_)((0,y.SU)(r)({size:e.size})),loader:e.loader},null,8,["class","loader"])])):(0,g.kq)("",!0)]),_:3},16,["aria-disabled","type"]))}}),A=Symbol(),T=e=>{let t=(0,g.f3)(A,void 0);t&&(t.value=e)},D=()=>{let e=(0,y.iH)();return(0,g.JJ)(A,e),{id:e}},C=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarCard",props:{label:{}},setup(e){let{id:t}=D(),n=(0,g.Fl)(()=>e.label?{"aria-label":e.label}:t.value?{"aria-labelledby":t.value}:{}),{cx:r}=(0,h.li)();return(e,t)=>((0,g.wg)(),(0,g.iD)("div",(0,g.dG)({role:"group"},{...n.value,...(0,y.SU)(r)("scalar-card bg-b-2 flex flex-col divide-y rounded-xl border")}),[(0,g.WI)(e.$slots,"default")],16))}}),$=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarCardSection",setup(e){let{cx:t}=(0,h.li)();return(e,n)=>((0,g.wg)(),(0,g.iD)("div",(0,v.vs)((0,g.F4)((0,y.SU)(t)("scalar-card-content flex overflow-auto first:rounded-t-[inherit] last:rounded-b-[inherit]"))),[(0,g.WI)(e.$slots,"default")],16))}}),P=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarCardFooter",setup(e){let{cx:t}=(0,h.li)();return(e,n)=>((0,g.wg)(),(0,g.j4)($,(0,v.vs)((0,g.F4)((0,y.SU)(t)("scalar-card-footer"))),{default:(0,g.w5)(()=>[(0,g.WI)(e.$slots,"default")]),_:3},16))}}),I=["id"],N={key:0,class:"flex"},U=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarCardHeader",setup(e){let{cx:t}=(0,h.li)(),n=(0,g.Me)();return T(n),(e,r)=>((0,g.wg)(),(0,g.j4)($,(0,v.vs)((0,g.F4)((0,y.SU)(t)("scalar-card-header leading-[22px] font-medium py-[6.75px] px-3 shrink-0"))),{default:(0,g.w5)(()=>[(0,g._)("div",{id:(0,y.SU)(n),class:"scalar-card-header-title min-w-0 flex-1 truncate"},[(0,g.WI)(e.$slots,"default")],8,I),e.$slots.actions?((0,g.wg)(),(0,g.iD)("div",N,[(0,g.WI)(e.$slots,"actions")])):(0,g.kq)("",!0)]),_:3},16))}}),M=n(59106),R=n(1859),j={key:0},L={key:1}
5,Z={key:2},B={key:3},z={key:4},F={key:5},Q=(0,g.aZ)({name:"ScalarIconMinus",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,R.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,y.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",j,[...r[0]||(r[0]=[(0,g._)("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,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",L,[...r[1]||(r[1]=[(0,g._)("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,g._)("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,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",Z,[...r[2]||(r[2]=[(0,g._)("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,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",B,[...r[3]||(r[3]=[(0,g._)("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,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",z,[...r[4]||(r[4]=[(0,g._)("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,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",F,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),H=(0,g.aZ)({__name:"ScalarCheckbox",props:{selected:{type:Boolean},indeterminate:{type:Boolean,default:!1},type:{default:"checkbox"}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.iD)("div",{class:(0,v.C_)(["flex size-4 items-center justify-center p-0.75",[e.selected?"bg-c-accent text-b-1":e.indeterminate&&"checkbox"===e.type?"bg-c-accent text-b-1":"text-transparent shadow-border","checkbox"===e.type?"rounded":"rounded-full"]])},[e.selected?((0,g.wg)(),(0,g.j4)((0,y.SU)(M.Z),{key:0,class:"size-3",weight:"bold"})):e.indeterminate&&"checkbox"===e.type?((0,g.wg)(),(0,g.j4)((0,y.SU)(Q),{key:1,"aria-hidden":"true",class:"size-3",weight:"bold"})):(0,g.kq)("",!0)],2))}),q=n(19614);n(80296),n(36228);var V={key:0,class:"flex items-start justify-between gap-2 text-sm/none text-c-1 whitespace-nowrap font-medium"},W=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarFormField",props:{is:{default:"label"}},setup(e){let{cx:t}=(0,h.li)();return(n,r)=>((0,g.wg)(),(0,g.j4)((0,g.LL)(e.is),(0,v.vs)((0,g.F4)((0,y.SU)(t)("flex flex-col gap-1.5 rounded"))),{default:(0,g.w5)(()=>[n.$slots.label?((0,g.wg)(),(0,g.iD)("div",V,[(0,g.WI)(n.$slots,"label")])):(0,g.kq)("",!0),(0,g.WI)(n.$slots,"default"),n.$slots.below?((0,g.wg)(),(0,g.iD)("span",{key:1,class:(0,v.C_)((0,y.SU)(t)("-mt-1.5 text-sm"))},[(0,g.WI)(n.$slots,"below")],2)):(0,g.kq)("",!0)]),_:3},16))}}),X=Symbol(),Y=()=>(0,g.f3)(X,!1),G=()=>{(0,g.JJ)(X,!0)},K=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarFormInput",props:{is:{default:"button"}},setup(e){let{cx:t}=(0,h.li)(),n=Y(),r=(0,h.jS)({base:["bg-b-1.5 flex items-center text-c-2 gap-0.75 p-3 text-base","outline-offset-[-1px] has-[:focus-visible]:outline"],variants:{grouped:{true:"first:rounded-t-[inherit] last:rounded-b-[inherit]",false:"rounded shadow-border"},button:{true:"cursor-pointer hover:bg-b-2"}}});return(a,i)=>((0,g.wg)(),(0,g.j4)((0,g.LL)(e.is),(0,g.dG)({type:"button"===e.is?"button":void 0},(0,y.SU)(t)((0,y.SU)(r)({button:"button"===e.is,grouped:(0,y.SU)(n)}))),{default:(0,g.w5)(()=>[(0,g.WI)(a.$slots,"default")]),_:3},16,["type"]))}}),J=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarFormInputGroup",props:{is:{default:"div"}},setup(e){let{cx:t}=(0,h.li)();return G(),(n,r)=>((0,g.wg)(),(0,g.j4)((0,g.LL)(e.is),(0,v.vs)((0,g.F4)((0,y.SU)(t)("flex flex-col border rounded divide-y"))),{default:(0,g.w5)(()=>[(0,g.WI)(n.$slots,"default")]),_:3},16))}}),ee={class:"flex min-w-0 flex-col gap-3"},et={class:"contents"},en={class:"text-base font-medium text-c-1"},er=w({},[["render",function(e,t,n,r,a,i){return(0,g.wg)(),(0,g.iD)("fieldset",ee,[(0,g._)("legend",et,[(0,g._)("span",en,[(0,g.WI)(e.$slots,"label")])]),(0,g.WI)(e.$slots,"default")])}]]),ea={class:"flex-1 text-left min-w-0 truncate"},ei=["type"],eo=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarCheckboxInput",props:(0,g.Vf)({type:{default:"checkbox"},indeterminate:{type:Boolean,default:!1}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,g.tT)(e,"modelValue"),{stylingAttrsCx:n,otherAttrs:r}=(0,h.li)();return(a,i)=>((0,g.wg)(),(0,g.j4)((0,y.SU)(K),(0,g.dG)({is:"label"},(0,y.SU)(n)("cursor-pointer gap-2 hover:bg-b-2",{"text-c-1":t.value})),{default:(0,g.w5)(()=>[(0,g.Wm)(H,{class:"shrink-0",indeterminate:e.indeterminate&&"checkbox"===e.type,selected:t.value,type:e.type},null,8,["indeterminate","selected","type"]),(0,g._)("div",ea,[(0,g.WI)(a.$slots,"default")]),(0,g.wy)((0,g._)("input",(0,g.dG)({ref:"inputEl","onUpdate:modelValue":i[0]||(i[0]=e=>t.value=e),class:"sr-only",type:e.type},(0,y.SU)(r)),null,16,ei),[[q.YZ,t.value]])]),_:3},16))}}),el=(0,g.aZ)({__name:"ScalarCheckboxRadioGroup",props:(0,g.Vf)({options:{default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,g.tT)(e,"modelValue"),n=(0,g.Me)();return(r,a)=>((0,g.wg)(),(0,g.j4)((0,y.SU)(J),null,{default:(0,g.w5)(()=>[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(e.options,e=>((0,g.wg)(),(0,g.j4)(eo,{key:e.value,modelValue:t.value?.value===e.value,name:(0,y.SU)(n),type:"radio",value:e.value,"onUpdate:modelValue":n=>t.value=n?e:void 0},{default:(0,g.w5)(()=>[(0,g.Uk)((0,v.zw)(e.label),1)]),_:2},1032,["modelValue","name","value","onUpdate:modelValue"]))),128))]),_:1}))}}),es=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarCopyBackdrop",setup(e){let{cx:t}=(0,h.li)();return(e,n)=>((0,g.wg)(),(0,g.iD)("div",(0,v.vs)((0,g.F4)((0,y.SU)(t)("absolute inset-y-0.5 -z-2 left-0 right-0 bg-b-1 rounded"))),null,16))}}),eu=n(64838),ec={"aria-hidden":"true",class:"flex items-center py-1.5 mask-y-from-[calc(100%-8px)] mask-y-to-100%"},ed={key:0,class:"whitespace-nowrap px-1.5"}
5,ep={key:0,class:"sr-only",role:"alert"},em={key:1,class:"sr-only"},ef=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarCopyButton",props:(0,g.Vf)({showLabel:{type:Boolean},placement:{default:"right"}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:copied"],setup(e){let t=(0,g.tT)(e,"copied"),{cx:n}=(0,h.li)(),r=(0,g.Fl)(()=>t.value?M.Z:eu.Z);return(a,i)=>((0,g.wg)(),(0,g.iD)("button",(0,g.dG)({type:"button"},(0,y.SU)(n)("group/copy-button relative z-0 flex items-center justify-center","size-6 p-1.25 -m-1 rounded text-xs bg-b-2",t.value?"text-c-1":"text-c-2 hover:text-c-1")),[(0,g.Wm)(q.uT,{enterActiveClass:"transition-transform",enterFromClass:"scale-0",enterToClass:"scale-100",leaveActiveClass:"transition-transform",leaveFromClass:"scale-100",leaveToClass:"scale-0",mode:"out-in"},{default:(0,g.w5)(()=>[((0,g.wg)(),(0,g.j4)((0,g.LL)(r.value),{class:"size-full"}))]),_:1}),i[4]||(i[4]=(0,g._)("div",{class:"bg-inherit rounded-[inherit] absolute inset-0 -z-1"},null,-1)),(0,g._)("div",{class:(0,v.C_)(["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,g._)("div",ec,[(0,g.Wm)(q.uT,{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,g.w5)(()=>[t.value?((0,g.wg)(),(0,g.iD)("div",ed,[(0,g.WI)(a.$slots,"copied",{},()=>[i[0]||(i[0]=(0,g.Uk)("Copied",-1))])])):((0,g.wg)(),(0,g.iD)("div",{key:1,class:(0,v.C_)(["whitespace-nowrap px-1.5",{"group-hocus/copy-button:block hidden":!e.showLabel&&!t.value}])},[(0,g.WI)(a.$slots,"copy",{},()=>[i[1]||(i[1]=(0,g.Uk)("Copy",-1))])],2))]),_:3})]),t.value?((0,g.wg)(),(0,g.iD)("div",ep,[(0,g.WI)(a.$slots,"copied",{},()=>[i[2]||(i[2]=(0,g.Uk)("Copied",-1))])])):((0,g.wg)(),(0,g.iD)("div",em,[(0,g.WI)(a.$slots,"copy",{},()=>[i[3]||(i[3]=(0,g.Uk)("Copy",-1))])])),(0,g.WI)(a.$slots,"backdrop",{},()=>[(0,g.Wm)(es)])],2)],16))}}),eh=n(60627),eg=(0,g.aZ)({__name:"ScalarCopy",props:(0,g.Vf)({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,g.tT)(e,"copied");(0,g.bv)(()=>{e.immediate&&n(e.content)});let{copy:n,copied:r}=(0,eh.VPI)({legacy:!0,copiedDuring:e.duration});return(0,g.YP)(r,e=>t.value=e),(a,i)=>((0,g.wg)(),(0,g.j4)(ef,{copied:t.value||(0,y.SU)(r),placement:e.placement,showLabel:e.showLabel,onClick:i[0]||(i[0]=t=>(0,y.SU)(n)(e.content))},(0,g.Nv)({_:2},[a.$slots.copy?{name:"copy",fn:(0,g.w5)(()=>[(0,g.WI)(a.$slots,"copy")]),key:"0"}:void 0,a.$slots.copied?{name:"copied",fn:(0,g.w5)(()=>[(0,g.WI)(a.$slots,"copied")]),key:"1"}:void 0,a.$slots.backdrop?{name:"backdrop",fn:(0,g.w5)(()=>[(0,g.WI)(a.$slots,"backdrop")]),key:"2"}:void 0]),1032,["copied","placement","showLabel"]))}}),ev={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",kotlin:"Kotlin",less:"Less",lua:"Lua",makefile:"Makefile",markdown:"Markdown",matlab:"MATLAB",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"},ey={class:"hidden group-hocus-within/code-block:inline"},eb=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarCodeBlockCopy",props:(0,g.Vf)({showLang:{type:Boolean},content:{},lang:{}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:copied"],setup(e){let t=(0,g.tT)(e,"copied"),n=(0,g.Fl)(()=>"string"==typeof e.content?e.content:JSON.stringify(e.content,null,2)),r=e=>e in ev,{cx:a}=(0,h.li)();return(i,o)=>((0,g.wg)(),(0,g.j4)((0,y.SU)(eg),(0,g.dG)({content:n.value,showLabel:"",copied:t.value,"onUpdate:copied":o[0]||(o[0]=e=>t.value=e),placement:"left"},{...(0,y.SU)(a)(t.value?"opacity-100":"opacity-0 group-hocus-within/code-block:opacity-100")}),(0,g.Nv)({backdrop:(0,g.w5)(()=>[(0,g.WI)(i.$slots,"backdrop")]),_:2},[e.lang?{name:"copy",fn:(0,g.w5)(()=>[(0,g._)("span",ey,[e.showLang?((0,g.wg)(),(0,g.iD)("span",{key:0,class:(0,v.C_)(["group-hocus/copy-button:sr-only",{capitalize:!r(e.lang)}])},(0,v.zw)(r(e.lang)?(0,y.SU)(ev)[e.lang]:e.lang),3)):(0,g.kq)("",!0),(0,g._)("span",{class:(0,v.C_)({"group-hocus/copy-button:not-sr-only sr-only":e.showLang})},"Copy",2)])]),key:"0"}:void 0]),1040,["content","copied"]))}}),eO=n(76843),ew=n(9852),ek=n(96358),ex=n(10760),eS=n(20881);let e_={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"}
5,abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:"Unexpected too big numeric character reference",description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},closingOfElementWithOpenChildElements:{reason:"Unexpected closing tag with open child elements",description:"Unexpectedly closing tag. Expected other tags to be closed first",url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:"Unexpected control character reference",description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",description:"Unexpectedly double attribute. Expected attributes to occur only once"},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",description:"Unexpected end tag. Expected no end tag or another end tag",url:!1},eofBeforeTagName:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{reason:"Unexpected end of file in CDATA",description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:"Unexpected end of file in comment",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:"Unexpected end of file in doctype",description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:"Unexpected end of file in element that can only contain text",description:"Unexpected end of file. Expected text or a closing tag",url:!1},eofInScriptHtmlCommentLikeText:{reason:"Unexpected end of file in comment inside script",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:"Unexpected end of file in tag",description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:"Incorrectly closed comment",description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:"Invalid sequence after doctype name",description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:"Misplaced doctype",description:"Unexpected doctype. Expected doctype before head",url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:"Missing attribute value",description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:"Missing doctype before other content",description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:"Missing doctype name",description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",description:"Unexpected `%c`. Expected identifier for `public` instead"}
5,missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:"Missing name in end tag",description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:"Missing quote before public identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:"Missing quote before system identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:"Missing semicolon after character reference",description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:"Missing whitespace after public identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:"Missing whitespace after system identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:"Missing whitespace before doctype name",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:"Missing whitespace between attributes",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:"Missing whitespace between public and system identifiers in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:"Unexpected nested comment",description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:"Unexpected non-conforming doctype declaration",description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:"Unexpected trailing slash on start tag of non-void element",description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:"Unexpected noncharacter code point referenced by character reference",description:"Unexpected code point. Do not use noncharacters in HTML"},noncharacterInInputStream:{reason:"Unexpected noncharacter character",description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:"Unexpected NULL character referenced by character reference",description:"Unexpected code point. Do not use NULL characters in HTML"},openElementsLeftAfterEof:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected closing tag instead",url:!1},surrogateCharacterReference:{reason:"Unexpected surrogate character referenced by character reference",description:"Unexpected code point. Do not use lone surrogate characters in HTML"},surrogateInInputStream:{reason:"Unexpected surrogate character",description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:"Invalid character after system identifier in doctype",description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:"Unexpected character in attribute name",description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:"Unexpected character in unquoted attribute value",description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:"Unexpected equals sign before attribute name",description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:"Unexpected NULL character",description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:"Unexpected question mark instead of tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:"Unexpected slash in tag",description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:"Unexpected unknown named character reference",description:"Unexpected character reference. Expected known named character references"}}
5,eE=/-[a-z]/g,eA=/%c(?:([-+])(\d+))?/g,eT=/%x/g,eD={2:!0,1:!1,0:null},eC={};function e$(e){return e.charAt(1).toUpperCase()}function eP(e){let{emitParseErrors:t,...n}={...this.data("settings"),...e};this.parser=function(e,r){return function(e,t){let n=t||eC,r=n.onerror,a=e instanceof ex.k?e:new ex.k(e),i=n.fragment?ek.Bm:ek.Qc,o=String(a),l=i(o,{sourceCodeLocationInfo:!0,onParseError:n.onerror?function(e){let t=e.code,i=t.replace(eE,e$),l=n[i],s=null==l||l,u="number"==typeof s?s:s?1:0;if(u){let n=e_[i];(0,eO.ok)(n,"expected known error from `parse5`");let o=new eS.$(c(n.reason),{place:{start:{line:e.startLine,column:e.startCol,offset:e.startOffset},end:{line:e.endLine,column:e.endCol,offset:e.endOffset}},ruleId:t,source:"hast-util-from-html"});a.path&&(o.file=a.path,o.name=a.path+":"+o.name),o.fatal=eD[u],o.note=c(n.description),o.url=!1===n.url?void 0:"https://html.spec.whatwg.org/multipage/parsing.html#parse-error-"+t,(0,eO.ok)(r,"`internalOnerror` is not passed if `onerror` is not set"),r(o)}function c(t){return t.replace(eA,function(t,n,r){var a;let i=(r?Number.parseInt(r,10):0)*("-"===n?-1:1);return"`"===(a=o.charAt(e.startOffset+i))?"` ` `":a}).replace(eT,function(){return"0x"+o.charCodeAt(e.startOffset).toString(16).toUpperCase()})}}:null,scriptingEnabled:!1});return(0,ew.e)(l,{file:a,space:n.space,verbose:n.verbose})}(e,{...n,onerror:t?function(e){r.path&&(e.name=r.path+":"+e.name,e.file=r.path),r.messages.push(e)}:void 0})}}var eI=n(7232),eN=n(88308),eU=n(46882),eM=n(9245),eR=n(73113);function ej(e){return e?.type==="text"}function eL(e){return e?.type==="element"}function eZ(e){return{type:"text",value:e}}function eB(){return e=>{(0,eU.Vn)(e,"element",(e,t,n)=>{if(n?.type==="element"&&"pre"===n.tagName&&"code"===e.tagName){let t=0;e.children=function e(t,n=[],r){let a=()=>n[n.length-1]??(n.push(ez())&&n[n.length-1]||void 0);return t.children.forEach(i=>{if(ej(i)&&eF(i)){let e=i.value.split(/\n/);e.forEach((i,o)=>{r?a()?.children.push({...t,children:[eZ(i)]}):a()?.children.push(eZ(i)),o!==e.length-1&&n.push(ez())})}else eL(i)&&i.children.some(eF)?e(i,n,!0):a()?.children.push(i)}),n}(e),e.children.forEach(e=>{if("element"===e.type&&"span"===e.tagName){let n=e.children[e.children.length-1];n&&(!ej(n)||ej(n)&&!eF(n))&&(e.children.push({type:"text",value:"\n"}),t++)}}),e.properties.style=[`--line-count: ${t};`,`--line-digits: ${t.toString().length};`]}})}}function ez(...e){return{type:"element",tagName:"span",properties:{class:["line"]},children:e}}function eF(e){return ej(e)&&/\r?\n/.test(e.value)||eL(e)&&e.children.some(eF)}var eQ=n(76793),eH=n(23362),eq={tabindex:"0",class:"custom-scroll overflow-x-auto p-2 -outline-offset-2 min-h-0 min-w-0 flex-1"},eV=["id","innerHTML"],eW=(0,g.aZ)({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,g.Me)(),n=(0,g.Fl)(()=>e.prettyPrintedContent||(0,eH.W)(e.content??"")),r=(0,g.Fl)(()=>(function(e,t){let n=("string"==typeof t?.maskCredentials?[t.maskCredentials]:t?.maskCredentials??[]).filter(e=>!(e.length<3)),r=`language-${eM.a[t.lang]??t.lang}`,a=(0,eN.l)().use(eP,{fragment:!0}).use(()=>t=>{(0,eU.Vn)(t,"element",t=>{"code"===t.tagName&&t.children.push({type:"text",value:e})})}).use(eR.d,{languages:t.languages}).use(t?.lineNumbers?eB:()=>{}).use(eI.Z).processSync(`<pre><code class="${r}"></code></pre>`).toString();return n.length?n.reduce((e,t)=>e.split(t).join(`<span class="credential"><span class="credential-value">${t}</span></span>`),a):a})(n.value,{lang:e.lang.trim(),languages:eQ.$,lineNumbers:e.lineNumbers,maskCredentials:e.hideCredentials}).slice(5,-6)),a=(0,g.Fl)(()=>!n.value.includes("\n")),i=(0,g.Fl)(()=>null!==n.value&&"null"!==n.value&&"404 Not Found"!==n.value),{cx:o}=(0,h.li)();return(l,s)=>((0,g.wg)(),(0,g.iD)("div",(0,v.vs)((0,g.F4)((0,y.SU)(o)("scalar-code-block group/code-block flex flex-col","relative bg-b-1 min-h-0 min-w-0 focus-visible:outline"))),[(0,g._)("div",eq,[(0,g._)("pre",{id:(0,y.SU)(t),class:"m-0 bg-transparent text-nowrap whitespace-pre w-fit",innerHTML:r.value},null,8,eV)]),e.copy&&i.value?((0,g.wg)(),(0,g.j4)((0,y.SU)(eb),{key:0,class:(0,v.C_)(["scalar-code-copy absolute",[a.value?"top-[calc(10px+0.5lh)] -translate-y-1/2 m-0 right-1":"top-2.5 right-2.5",{"opacity-100":"always"===e.copy}]]),content:n.value,showLang:!a.value,lang:e.lang,"aria-controls":(0,y.SU)(t)},{backdrop:(0,g.w5)(()=>[(0,g.Wm)(es,{class:(0,v.C_)(["scalar-code-copy-backdrop",[a.value?"-inset-y-0.75 -right-1 group-hocus-within/code-block:-left-0.5 left-3":"-right-1.5 -top-1"]])},null,8,["class"])]),_:1},8,["class","content","showLang","lang","aria-controls"])):(0,g.kq)("",!0)],16))}}),eX=w((0,g.aZ)({inheritAttrs:!1,__name:"ScalarColorModeToggleIcon",props:{is:{default:"button"},mode:{default:"light"}},setup(e){let{cx:t}=(0,h.li)(),n=(0,g.Fl)(()=>"dark"===e.mode?"Set light mode":"Set dark mode");return(r,a)=>((0,g.wg)(),(0,g.j4)((0,g.LL)(e.is),(0,g.dG)({"aria-label":n.value,class:`toggle-icon-${e.mode}`,type:"button"===e.is?"button":void 0},(0,y.SU)(t)("size-3 flex items-center justify-center text-c-1")),{default:(0,g.w5)(()=>[...a[0]||(a[0]=[(0,g._)("span",{class:"toggle-icon-sun-ray"},null,-1),(0,g._)("span",{class:"toggle-icon-sun-ray"},null,-1),(0,g._)("span",{class:"toggle-icon-sun-ray"},null,-1),(0,g._)("span",{class:"toggle-icon-sun-ray"},null,-1),(0,g._)("span",{class:"toggle-icon-ellipse"},[(0,g._)("span",{class:"toggle-icon-moon-mask"})],-1)])]),_:1},16,["aria-label","class","type"]))}}),[["__scopeId","data-v-60be8692"]]),eY=["aria-pressed"],eG=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarColorModeToggleButton",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(e){let{cx:t}=(0,h.li)(),n=(0,g.tT)(e,"modelValue");return(e,r)=>((0,g.wg)(),(0,g.iD)("button",(0,g.dG)({"aria-pressed":n.value,type:"button"},(0,y.SU)(t)("group/toggle flex h-6 w-[38px] brightness-lifted -mx-px items-center py-1.5 -my-1.5 relative outline-none"),{onClick:r[0]||(r[0]=e=>n.value=!n.value)}),[r[1]||(r[1]=(0,g._)("div",{class:"h-3 w-full bg-border mx-px rounded-xl group-focus-visible/toggle:outline -outline-offset-1"},null,-1)),(0,g._)("div",{class:(0,v.C_)(["size-[23px] left-border absolute border rounded-full flex items-center justify-center bg-b-1 group-focus-visible/toggle:outline -outline-offset-1 transition-transform duration-300 ease-in-out",{"translate-x-[14px]":n.value}])},[(0,g.Wm)(eX,{is:"div",mode:n.value?"dark":"light"},null,8,["mode"])],2)],16,eY))}}),eK=n(93626),eJ=(0,g.aZ)({__name:"ScalarColorModeToggle",props:{variant:{default:"switch"}},setup(e){let{isDarkMode:t,toggleColorMode:n,darkLightMode:r}=(0,eK.I)(),a=(0,g.Fl)(()=>t.value?"Set light mode":"Set dark mode");return(i,o)=>"switch"===e.variant?((0,g.wg)(),(0,g.j4)(eG,{key:0,modelValue:(0,y.SU)(t),"onUpdate:modelValue":o[0]||(o[0]=e=>(0,y.dq)(t)?t.value=e:null),"aria-label":a.value},null,8,["modelValue","aria-label"])):((0,g.wg)(),(0,g.j4)(eX,{key:1,"aria-label":a.value,mode:(0,y.SU)(r),onClick:(0,y.SU)(n)},null,8,["aria-label","mode","onClick"]))}});let e0=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return t};var e1=Symbol(),e2=()=>(0,g.f3)(e1,"body"),e4=e=>{let t=e??`scalar-teleport-${e0()}`;return(0,g.JJ)(e1,`#${t}`),t},e8=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarTeleport",props:{to:{},immediate:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=e2();return(n,r)=>((0,g.wg)(),(0,g.j4)(g.lR,{defer:!e.immediate,disabled:e.disabled,to:e.to||(0,y.SU)(t)},[(0,g._)("div",(0,g.dG)({class:"scalar-app",style:{display:"contents"}},n.$attrs),[(0,g.WI)(n.$slots,"default")],16)],8,["defer","disabled","to"]))}}),e6=["id"],e3=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarTeleportRoot",props:{id:{}},setup(e){let t=e4(e.id);return(e,n)=>((0,g.wg)(),(0,g.iD)(g.HY,null,[(0,g.WI)(e.$slots,"default"),(0,g._)("div",{id:(0,y.SU)(t),class:"scalar-teleport-root contents"},null,8,e6)],64))}}
5),e5=n(72695),e7=n(4480),e9=n(53095),te=(0,g.aZ)({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 n=(0,y.iH)(null),r=(0,y.iH)(null),a=(0,g.Fl)(()=>{if("undefined"!=typeof window&&r.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=r.value.children?.[0];return t instanceof HTMLElement?t:r.value}}),i=function(e,t={enabled:(0,y.iH)(!0)}){let n=(0,y.iH)(0),r=(0,y.iH)(0),a=(0,y.iH)();return"undefined"!=typeof ResizeObserver&&(a.value=new ResizeObserver(([e])=>{e&&(n.value=e.borderBoxSize[0]?.inlineSize??0,r.value=e.borderBoxSize[0]?.blockSize??0)})),(0,g.YP)([()=>(0,y.Tn)(t.enabled),()=>(0,y.Tn)(e)],([e,t])=>{t&&a.value&&(e?a.value.observe(t):a.value.disconnect())},{immediate:!0}),{width:(0,g.Fl)(()=>(0,y.Tn)(t.enabled)?`${n.value}px`:void 0),height:(0,g.Fl)(()=>(0,y.Tn)(t.enabled)?`${r.value}px`:void 0)}}(a,{enabled:(0,g.Fl)(()=>e.resize)}),o=(0,g.Fl)(()=>"y"===(0,e5.Qq)(e.placement??"bottom")?i.width.value:void 0),l=(0,g.Fl)(()=>"x"===(0,e5.Qq)(e.placement??"bottom")?i.height.value:void 0),{floatingStyles:s,middlewareData:u}=(0,e7.YF)(a,n,{placement:(0,g.Fl)(()=>e.placement??"bottom"),whileElementsMounted:e9.Me,middleware:(0,g.Fl)(()=>[(0,e9.cv)(e.offset),(0,e9.RR)(),(0,e9.uY)({padding:10}),(0,e9.dp)({apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{maxWidth:`${Math.max(0,e)-20}px`,maxHeight:`${Math.max(0,t)-20}px`})}}),...e.middleware])});return t({targetRef:a}),(t,a)=>((0,g.wg)(),(0,g.iD)(g.HY,null,[(0,g._)("div",{ref_key:"wrapperRef",ref:r,class:(0,v.C_)({contents:!!t.$slots.default})},[(0,g.WI)(t.$slots,"default")],2),t.$slots.floating?((0,g.wg)(),(0,g.j4)((0,y.SU)(e8),{key:0,disabled:!e.teleport,to:"string"==typeof e.teleport?e.teleport:void 0},{default:(0,g.w5)(()=>[(0,g._)("div",{ref_key:"floatingRef",ref:n,class:"relative z-context",style:(0,v.j5)((0,y.SU)(s))},[(0,g.WI)(t.$slots,"floating",{data:(0,y.SU)(u),height:l.value,width:o.value})],4)]),_:3},8,["disabled","to"])):(0,g.kq)("",!0)],64))}}),tt=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarFloatingBackdrop",setup(e){let{cx:t}=(0,h.li)();return(e,n)=>((0,g.wg)(),(0,g.iD)("div",(0,v.vs)((0,g.F4)((0,y.SU)(t)("absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted"))),[(0,g.WI)(e.$slots,"default")],16))}}),tn=(0,g.aZ)({__name:"ScalarListboxCheckbox",props:{selected:{type:Boolean},multiselect:{type:Boolean}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.iD)("div",{class:(0,v.C_)(["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,g.wg)(),(0,g.j4)((0,y.SU)(M.Z),{key:0,class:"size-3",weight:"bold"})):(0,g.kq)("",!0)],2))}),tr=n(76257),ta=n(29682),ti=n(58373),to=n(31035),tl=n(89130),ts=n(29634),tu=n(52243),tc=n(40387),td=n(99810),tp=n(78824),tm=n(96715);function tf(e,t){return e?e+"["+t+"]":t}var th=n(17238),tg=n(91937);function tv(e,t){return e===t}var ty=((r=ty||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),tb=((a=tb||{})[a.Single=0]="Single",a[a.Multi=1]="Multi",a),tO=((i=tO||{})[i.Pointer=0]="Pointer",i[i.Other=1]="Other",i);let tw=Symbol("ListboxContext");function tk(e){let t=(0,g.f3)(tw,null);if(null===t){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,tk),t}return t}let tx=(0,g.aZ)({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>tv},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n,emit:r}){var a,i,o;let l,s,u=(0,y.iH)(1),c=(0,y.iH)(null),d=(0,y.iH)(null),p=(0,y.iH)(null),m=(0,y.iH)([]),f=(0,y.iH)(""),h=(0,y.iH)(null),v=(0,y.iH)(1);function b(e=e=>e){let t=null!==h.value?m.value[h.value]:null,n=(0,tm.z2)(e(m.value.slice()),e=>(0,tp.v)(e.dataRef.domRef)),r=t?n.indexOf(t):null;return -1===r&&(r=null),{options:n,activeOptionIndex:r}}let O=(0,g.Fl)(()=>e.multiple?1:0),[w,k]=(a=(0,g.Fl)(()=>e.modelValue),i=e=>r("update:modelValue",e),o=(0,g.Fl)(()=>e.defaultValue),l=(0,y.iH)(null==o?void 0:o.value),s=(0,g.Fl)(()=>void 0!==a.value),[(0,g.Fl)(()=>s.value?a.value:l.value),function(e){return s.value||(l.value=e),null==i?void 0:i(e)}]),x=(0,g.Fl)(()=>void 0===w.value?(0,th.E)(O.value,{1:[],0:void 0}):w.value),S={listboxState:u,value:x,mode:O,compare(t,n){if("string"==typeof e.by){let r=e.by;return(null==t?void 0:t[r])===(null==n?void 0:n[r])}return e.by(t,n)},orientation:(0,g.Fl)(()=>e.horizontal?"horizontal":"vertical"),labelRef:c,buttonRef:d,optionsRef:p,disabled:(0,g.Fl)(()=>e.disabled),options:m,searchQuery:f,activeOptionIndex:h,activationTrigger:v,closeListbox(){e.disabled||1!==u.value&&(u.value=1,h.value=null)},openListbox(){e.disabled||0!==u.value&&(u.value=0)},goToOption(t,n,r){if(e.disabled||1===u.value)return;let a=b(),i=(0,td.d)(t===td.T.Specific?{focus:td.T.Specific,id:n}:{focus:t},{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});f.value="",h.value=i,v.value=null!=r?r:1,m.value=a.options},search(t){if(e.disabled||1===u.value)return;let n=""!==f.value?0:1;f.value+=t.toLowerCase();let r=(null!==h.value?m.value.slice(h.value+n).concat(m.value.slice(0,h.value+n)):m.value).find(e=>e.dataRef.textValue.startsWith(f.value)&&!e.dataRef.disabled),a=r?m.value.indexOf(r):-1;-1===a||a===h.value||(h.value=a,v.value=1)},clearSearch(){e.disabled||1!==u.value&&""!==f.value&&(f.value="")},registerOption(e,t){let n=b(n=>[...n,{id:e,dataRef:t}]);m.value=n.options,h.value=n.activeOptionIndex},unregisterOption(e){let t=b(t=>{let n=t.findIndex(t=>t.id===e);return -1!==n&&t.splice(n,1),t});m.value=t.options,h.value=t.activeOptionIndex,v.value=1},theirOnChange(t){e.disabled||k(t)},select(t){e.disabled||k((0,th.E)(O.value,{0:()=>t,1:()=>{let e=(0,y.IU)(S.value.value).slice(),n=(0,y.IU)(t),r=e.findIndex(e=>S.compare(n,(0,y.IU)(e)));return -1===r?e.push(n):e.splice(r,1),e}}))}};(0,ta.O)([d,p],(e,t)=>{var n;S.closeListbox(),(0,tm.sP)(t,tm.tJ.Loose)||(e.preventDefault(),null==(n=(0,tp.v)(d))||n.focus())},(0,g.Fl)(()=>0===u.value)),(0,g.JJ)(tw,S),(0,tu.Rb)((0,g.Fl)(()=>(0,th.E)(u.value,{0:tu.ZM.Open,1:tu.ZM.Closed})));let _=(0,g.Fl)(()=>{var e;return null==(e=(0,tp.v)(d))?void 0:e.closest("form")});return(0,g.bv)(()=>{(0,g.YP)([_],()=>{if(_.value&&void 0!==e.defaultValue)return _.value.addEventListener("reset",t),()=>{var e;null==(e=_.value)||e.removeEventListener("reset",t)};function t(){S.theirOnChange(e.defaultValue)}},{immediate:!0})}),()=>{let{name:r,modelValue:a,disabled:i,form:o,...l}=e,s={open:0===u.value,disabled:i,value:x.value};return(0,g.h)(g.HY,[...null!=r&&null!=x.value?(function e(t={},n=null,r=[]){for(let[a,i]of Object.entries(t))!function t(n,r,a){if(Array.isArray(a))for(let[e,i]of a.entries())t(n,tf(r,e.toString()),i);else a instanceof Date?n.push([r,a.toISOString()]):"boolean"==typeof a?n.push([r,a?"1":"0"]):"string"==typeof a?n.push([r,a]):"number"==typeof a?n.push([r,`${a}`]):null==a?n.push([r,""]):e(a,r,n)}(r,tf(n,a),i);return r})({[r]:x.value}).map(([e,t])=>(0,g.h)(ts._,(0,tg.oA)({features:ts.A.Hidden,key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:o,disabled:i,name:e,value:t}))):[],(0,tg.sY)({ourProps:{},theirProps:{...n,...(0,tg.CE)(l,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:s,slots:t,attrs:n,name:"Listbox"})])}}}),tS=(0,g.aZ)({name:"ListboxLabel",props:{as:{type:[Object,String],default:"label"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){var r;let a=null!=(r=e.id)?r:`headlessui-listbox-label-${(0,tr.M)()}`,i=tk("ListboxLabel");function o(){var e;null==(e=(0,tp.v)(i.buttonRef))||e.focus({preventScroll:!0})}return()=>{let r={open:0===i.listboxState.value,disabled:i.disabled.value},{...l}=e,s={id:a,ref:i.labelRef,onClick:o};return(0,tg.sY)({ourProps:s,theirProps:l,slot:r,attrs:t,slots:n,name:"ListboxLabel"})}}}),t_=(0,g.aZ)({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var a;let i=null!=(a=e.id)?a:`headlessui-listbox-button-${(0,tr.M)()}`,o=tk("ListboxButton");function l(e){switch(e.key){case tc.R.Space:case tc.R.Enter:case tc.R.ArrowDown:e.preventDefault(),o.openListbox(),(0,g.Y3)(()=>{var e;null==(e=(0,tp.v)(o.optionsRef))||e.focus({preventScroll:!0}),o.value.value||o.goToOption(td.T.First)});break;case tc.R.ArrowUp:e.preventDefault(),o.openListbox(),(0,g.Y3)(()=>{var e;null==(e=(0,tp.v)(o.optionsRef))||e.focus({preventScroll:!0}),o.value.value||o.goToOption(td.T.Last)})}}function s(e){e.key===tc.R.Space&&e.preventDefault()}function u(e){var t;o.disabled.value||(0===o.listboxState.value?(o.closeListbox(),(0,g.Y3)(()=>{var e;return null==(e=(0,tp.v)(o.buttonRef))?void 0:e.focus({preventScroll:!0})}
5)):(e.preventDefault(),o.openListbox(),t=()=>{var e;return null==(e=(0,tp.v)(o.optionsRef))?void 0:e.focus({preventScroll:!0})},requestAnimationFrame(()=>requestAnimationFrame(t))))}r({el:o.buttonRef,$el:o.buttonRef});let c=(0,ti.f)((0,g.Fl)(()=>({as:e.as,type:t.type})),o.buttonRef);return()=>{var r,a;let d={open:0===o.listboxState.value,disabled:o.disabled.value,value:o.value.value},{...p}=e,m={ref:o.buttonRef,id:i,type:c.value,"aria-haspopup":"listbox","aria-controls":null==(r=(0,tp.v)(o.optionsRef))?void 0:r.id,"aria-expanded":0===o.listboxState.value,"aria-labelledby":o.labelRef.value?[null==(a=(0,tp.v)(o.labelRef))?void 0:a.id,i].join(" "):void 0,disabled:!0===o.disabled.value||void 0,onKeydown:l,onKeyup:s,onClick:u};return(0,tg.sY)({ourProps:m,theirProps:p,slot:d,attrs:t,slots:n,name:"ListboxButton"})}}}),tE=(0,g.aZ)({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var a;let i=null!=(a=e.id)?a:`headlessui-listbox-options-${(0,tr.M)()}`,o=tk("ListboxOptions"),l=(0,y.iH)(null);function s(e){switch(l.value&&clearTimeout(l.value),e.key){case tc.R.Space:if(""!==o.searchQuery.value)return e.preventDefault(),e.stopPropagation(),o.search(e.key);case tc.R.Enter:if(e.preventDefault(),e.stopPropagation(),null!==o.activeOptionIndex.value){let e=o.options.value[o.activeOptionIndex.value];o.select(e.dataRef.value)}0===o.mode.value&&(o.closeListbox(),(0,g.Y3)(()=>{var e;return null==(e=(0,tp.v)(o.buttonRef))?void 0:e.focus({preventScroll:!0})}
5));break;case(0,th.E)(o.orientation.value,{vertical:tc.R.ArrowDown,horizontal:tc.R.ArrowRight}):return e.preventDefault(),e.stopPropagation(),o.goToOption(td.T.Next);case(0,th.E)(o.orientation.value,{vertical:tc.R.ArrowUp,horizontal:tc.R.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),o.goToOption(td.T.Previous);case tc.R.Home:case tc.R.PageUp:return e.preventDefault(),e.stopPropagation(),o.goToOption(td.T.First);case tc.R.End:case tc.R.PageDown:return e.preventDefault(),e.stopPropagation(),o.goToOption(td.T.Last);case tc.R.Escape:e.preventDefault(),e.stopPropagation(),o.closeListbox(),(0,g.Y3)(()=>{var e;return null==(e=(0,tp.v)(o.buttonRef))?void 0:e.focus({preventScroll:!0})});break;case tc.R.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(o.search(e.key),l.value=setTimeout(()=>o.clearSearch(),350))}}r({el:o.optionsRef,$el:o.optionsRef});let u=(0,tu.oJ)(),c=(0,g.Fl)(()=>null!==u?(u.value&tu.ZM.Open)===tu.ZM.Open:0===o.listboxState.value);return()=>{var r,a;let l={open:0===o.listboxState.value},{...u}=e,d={"aria-activedescendant":null===o.activeOptionIndex.value||null==(r=o.options.value[o.activeOptionIndex.value])?void 0:r.id,"aria-multiselectable":1===o.mode.value||void 0,"aria-labelledby":null==(a=(0,tp.v)(o.buttonRef))?void 0:a.id,"aria-orientation":o.orientation.value,id:i,onKeydown:s,role:"listbox",tabIndex:0,ref:o.optionsRef};return(0,tg.sY)({ourProps:d,theirProps:u,slot:l,attrs:t,slots:n,features:tg.AN.RenderStrategy|tg.AN.Static,visible:c.value,name:"ListboxOptions"})}}}),tA=(0,g.aZ)({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:n,expose:r}){var a;let i=null!=(a=e.id)?a:`headlessui-listbox-option-${(0,tr.M)()}`,o=tk("ListboxOption"),l=(0,y.iH)(null);r({el:l,$el:l});let s=(0,g.Fl)(()=>null!==o.activeOptionIndex.value&&o.options.value[o.activeOptionIndex.value].id===i),u=(0,g.Fl)(()=>(0,th.E)(o.mode.value,{0:()=>o.compare((0,y.IU)(o.value.value),(0,y.IU)(e.value)),1:()=>(0,y.IU)(o.value.value).some(t=>o.compare((0,y.IU)(t),(0,y.IU)(e.value)))})),c=(0,g.Fl)(()=>(0,th.E)(o.mode.value,{1:()=>{var e;let t=(0,y.IU)(o.value.value);return(null==(e=o.options.value.find(e=>t.some(t=>o.compare((0,y.IU)(t),(0,y.IU)(e.dataRef.value)))))?void 0:e.id)===i},0:()=>u.value})),d=(0,to.x)(l),p=(0,g.Fl)(()=>({disabled:e.disabled,value:e.value,get textValue(){return d()},domRef:l}));function m(t){if(e.disabled)return t.preventDefault();o.select(e.value),0===o.mode.value&&(o.closeListbox(),(0,g.Y3)(()=>{var e;return null==(e=(0,tp.v)(o.buttonRef))?void 0:e.focus({preventScroll:!0})}
5))}function f(){if(e.disabled)return o.goToOption(td.T.Nothing);o.goToOption(td.T.Specific,i)}(0,g.bv)(()=>o.registerOption(i,p)),(0,g.Ah)(()=>o.unregisterOption(i)),(0,g.bv)(()=>{(0,g.YP)([o.listboxState,u],()=>{0===o.listboxState.value&&u.value&&(0,th.E)(o.mode.value,{1:()=>{c.value&&o.goToOption(td.T.Specific,i)},0:()=>{o.goToOption(td.T.Specific,i)}})},{immediate:!0})}),(0,g.m0)(()=>{0===o.listboxState.value&&s.value&&0!==o.activationTrigger.value&&(0,g.Y3)(()=>{var e,t;return null==(t=null==(e=(0,tp.v)(l))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})})});let h=(0,tl.g)();function v(e){h.update(e)}function b(t){h.wasMoved(t)&&(e.disabled||s.value||o.goToOption(td.T.Specific,i,0))}function O(t){h.wasMoved(t)&&(e.disabled||s.value&&o.goToOption(td.T.Nothing))}return()=>{let{disabled:r}=e,a={active:s.value,selected:u.value,disabled:r},{value:o,disabled:c,...d}=e,p={id:i,ref:l,role:"option",tabIndex:!0===r?void 0:-1,"aria-disabled":!0===r||void 0,"aria-selected":u.value,disabled:void 0,onClick:m,onFocus:f,onPointerenter:v,onMouseenter:v,onPointermove:b,onMousemove:b,onPointerleave:O,onMouseleave:O};return(0,tg.sY)({ourProps:p,theirProps:d,slot:a,attrs:n,slots:t,name:"ListboxOption"})}}});var tT=(0,g.aZ)({__name:"ScalarListboxItem",props:{option:{},multiselect:{type:Boolean}},setup(e){let t=(0,h.jS)({base:["group/item","flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left","truncate bg-transparent text-c-1","cursor-pointer hover:bg-b-2"],variants:{selected:{true:"text-c-1"},active:{true:"bg-b-2"},disabled:{true:"pointer-events-none opacity-50"}}});return(n,r)=>((0,g.wg)(),(0,g.j4)((0,y.SU)(tA),{as:"template",disabled:e.option.disabled,value:e.option},{default:(0,g.w5)(({active:n,selected:r})=>[(0,g._)("li",{class:(0,v.C_)((0,y.SU)(h.cx)((0,y.SU)(t)({active:n,selected:r,disabled:e.option.disabled})))},[(0,g.Wm)(tn,{multiselect:e.multiselect,selected:r},null,8,["multiselect","selected"]),(0,g._)("span",{class:(0,v.C_)(["inline-block min-w-0 flex-1 truncate",e.option.color?e.option.color:"text-c-1"])},(0,v.zw)(e.option.label),3)],2)]),_:1},8,["disabled","value"]))}}),tD={class:"custom-scroll min-h-0 flex-1"},tC=(0,g.aZ)({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,h.li)();return(n,r)=>((0,g.wg)(),(0,g.j4)((0,y.SU)(tx),{modelValue:e.modelValue,multiple:e.multiple,"onUpdate:modelValue":r[0]||(r[0]=e=>n.$emit("update:modelValue",e))},{default:(0,g.w5)(({open:r})=>[e.label?((0,g.wg)(),(0,g.j4)((0,y.SU)(tS),{key:0,class:"sr-only"},{default:(0,g.w5)(()=>[(0,g.Uk)((0,v.zw)(e.label),1)]),_:1})):(0,g.kq)("",!0),(0,g.Wm)((0,y.SU)(te),(0,g.dG)(n.$props,{placement:e.placement??"bottom-start"}),{floating:(0,g.w5)(({width:n})=>[r?((0,g.wg)(),(0,g.iD)("div",(0,g.dG)({key:0,style:{width:n}},(0,y.SU)(t)("relative flex max-h-[inherit] w-40 max-w-[inherit] rounded text-sm")),[(0,g._)("div",tD,[(0,g.Wm)((0,y.SU)(tE),{class:"flex flex-col gap-0.75 p-0.75 -outline-offset-1"},{default:(0,g.w5)(()=>[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(e.options,t=>((0,g.wg)(),(0,g.j4)(tT,{key:t.id,multiselect:e.multiple,option:t},null,8,["multiselect","option"]))),128))]),_:1})]),(0,g.Wm)((0,y.SU)(tt))],16)):(0,g.kq)("",!0)]),default:(0,g.w5)(()=>[(0,g.Wm)((0,y.SU)(t_),{id:e.id,as:"template"},{default:(0,g.w5)(()=>[(0,g.WI)(n.$slots,"default",{open:r})]),_:2},1032,["id"])]),_:2},1040,["placement"])]),_:3},8,["modelValue","multiple"]))}}),t$=n(87989),tP=["aria-selected"],tI=(0,g.aZ)({__name:"ScalarComboboxOption",props:{active:{type:Boolean},selected:{type:Boolean}},setup(e){let t=(0,h.jS)({base:["group/item","flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left","truncate bg-transparent text-c-1","cursor-pointer hover:bg-b-2"],variants:{selected:{true:"text-c-1"},active:{true:"bg-b-2"}}});return(n,r)=>((0,g.wg)(),(0,g.iD)("li",{"aria-selected":e.selected,class:(0,v.C_)((0,y.SU)(h.cx)((0,y.SU)(t)({active:e.active,selected:e.selected}))),role:"option",tabindex:"-1"},[(0,g.WI)(n.$slots,"default",{active:e.active,selected:e.selected})],10,tP))}}),tN=["id","aria-labelledby","role"],tU=["id"],tM=(0,g.aZ)({__name:"ScalarComboboxOptionGroup",props:{id:{default:()=>(0,g.Me)()},hidden:{type:Boolean,default:!1}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.iD)("div",{id:e.id,"aria-labelledby":e.id?`${e.id}-label`:void 0,class:"contents",role:e.hidden?void 0:"group"},[e.hidden?(0,g.kq)("",!0):((0,g.wg)(),(0,g.iD)("div",{key:0,id:`${e.id}-label`,class:"min-w-0 truncate px-2.5 py-1.5 text-c-2"},[(0,g.WI)(t.$slots,"label")],8,tU)),(0,g.WI)(t.$slots,"default")],8,tN))});function tR(e){var t;return!!e[0]&&(t=e[0],t?.options!==void 0)}var tj=n(84481),tL=n(28980),tZ={class:"relative flex"},tB=["aria-activedescendant","placeholder"],tz=["aria-multiselectable"],tF={class:"inline-block min-w-0 flex-1 truncate text-c-1"},tQ=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarComboboxOptions",props:(0,g.Vf)({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,g.Vf)(["add"],["update:modelValue"]),setup(e,{emit:t}){let n=(0,g.tT)(e,"modelValue"),r=(0,g.Rr)(),a=`scalar-combobox-items-${(0,g.Me)()}`,i={id:`${(0,g.Me)()}-add`,label:"Add a new option"};function o(e){return`${a}-${e.id}`}let l=(0,g.Fl)(()=>tR(e.options)?e.options.flatMap(e=>e.options):e.options),s=(0,g.Fl)(()=>tR(e.options)?e.options:[{label:"",options:e.options}]),u=(0,y.iH)(""),c=(0,y.iH)(n.value?.[0]??l.value[0]);(0,g.bv)(()=>{u.value="",c.value=n.value?.[0]??l.value[0],n.value[0]&&setTimeout(()=>{let e=n.value[0];e&&document?.getElementById(o(e))?.scrollIntoView({block:"nearest"})},10)}),(0,g.YP)(()=>u.value,()=>c.value=p.value[0]);let d=(0,g.Fl)(()=>e.filterFn(u.value,l.value,s.value)),p=(0,g.Fl)(()=>r.add?[...d.value,i]:d.value);function m(t){if(t){if(t.id===i.id){h();return}e.multiselect?n.value.some(e=>e.id===t.id)?n.value=n.value.filter(e=>e.id!==t.id):n.value=[...n.value,l.value.find(e=>e.id===t.id)]:n.value=[l.value.find(e=>e.id===t.id)]}}function f(e){let t=p.value,n=t.findIndex(e=>e.id===c.value?.id)+e;n<0||n>t.length-1||(c.value=t[n],c.value&&document?.getElementById(o(c.value))?.scrollIntoView({behavior:"smooth",block:"nearest"}))}function h(){t("add"),u.value=""}let b=(0,y.iH)(null);return(0,g.bv)(()=>setTimeout(()=>
5b.value?.focus(),0)),(t,l)=>((0,g.wg)(),(0,g.iD)(g.HY,null,[(0,g._)("div",tZ,[(0,g.Wm)((0,y.SU)(tj.Z),{class:"pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-c-3 size-4"}),(0,g.wy)((0,g._)("input",{ref_key:"input",ref:b,"onUpdate:modelValue":l[0]||(l[0]=e=>u.value=e),"aria-activedescendant":c.value?o(c.value):void 0,"aria-autocomplete":"list","aria-controls":a,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:[l[1]||(l[1]=(0,q.D2)((0,q.iM)(e=>f(1),["prevent"]),["down"])),l[2]||(l[2]=(0,q.D2)((0,q.iM)(e=>c.value&&m(c.value),["prevent"]),["enter"])),l[3]||(l[3]=(0,q.D2)((0,q.iM)(e=>f(-1),["prevent"]),["up"]))]},null,40,tB),[[q.nr,u.value]])]),(0,g.wy)((0,g._)("ul",{id:a,"aria-multiselectable":e.multiselect,class:"border-t p-0.75 custom-scroll overscroll-contain flex-1 min-h-0",role:"listbox",tabindex:"-1"},[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(s.value,(r,i)=>((0,g.wg)(),(0,g.j4)(tM,{id:`${a}-group-${i}`,key:i,hidden:!r.options.some(e=>d.value.some(t=>t.id===e.id))||!r.label},{label:(0,g.w5)(()=>[t.$slots.group?(0,g.WI)(t.$slots,"group",{key:0,group:r}):((0,g.wg)(),(0,g.iD)(g.HY,{key:1},[(0,g.Uk)((0,v.zw)(r.label),1)],64))]),default:(0,g.w5)(()=>[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(d.value,a=>((0,g.wg)(),(0,g.iD)(g.HY,{key:a.id},[r.options.some(e=>e.id===a.id)?((0,g.wg)(),(0,g.j4)(tI,{key:0,id:o(a),active:c.value?.id===a.id,selected:n.value.some(e=>e.id===a.id),onClick:e=>m(a),onMousedown:l[4]||(l[4]=(0,q.iM)(()=>{},["prevent"])),onMouseenter:e=>c.value=a},{default:(0,g.w5)(({active:r,selected:i})=>[t.$slots.option?(0,g.WI)(t.$slots,"option",{key:0,active:r,option:a,selected:i}):((0,g.wg)(),(0,g.iD)(g.HY,{key:1},[(0,g.Wm)((0,y.SU)(tn),{multiselect:e.multiselect,selected:n.value.some(e=>e.id===a.id)},null,8,["multiselect","selected"]),(0,g._)("span",tF,(0,v.zw)(a.label),1)],64))]),_:2},1032,["id","active","selected","onClick","onMouseenter"])):(0,g.kq)("",!0)],64))),128))]),_:2},1032,["id","hidden"]))),128)),r.add?((0,g.wg)(),(0,g.j4)(tI,{key:0,id:o(i),active:c.value?.id===i.id,onClick:h,onMousedown:l[5]||(l[5]=(0,q.iM)(()=>{},["prevent"])),onMouseenter:l[6]||(l[6]=e=>c.value=i)},{default:(0,g.w5)(({active:e})=>[(0,g.Wm)((0,y.SU)(tL.Z),{class:"size-4 p-px"}),(0,g.WI)(t.$slots,"add",{active:e})]),_:3},8,["id","active"])):(0,g.kq)("",!0)],8,tz),[[q.F8,d.value.length||r.add]])],64))}});let tH=Symbol("ForcePortalRootContext"),tq=(0,g.aZ)({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup:(e,{slots:t,attrs:n})=>((0,g.JJ)(tH,e.force),()=>{let{force:r,...a}=e;return(0,tg.sY)({theirProps:a,ourProps:{},slot:{},slots:t,attrs:n,name:"ForcePortalRoot"})})});var tV=n(2262);let tW=new WeakMap;function tX(e,t){var n;let r=t(null!=(n=tW.get(e))?n:0);return r<=0?tW.delete(e):tW.set(e,r),r}let tY=(0,g.aZ)({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=(0,y.iH)(null),a=(0,g.Fl)(()=>(0,tV.r)(r)),i=(0,g.f3)(tH,!1),o=(0,g.f3)(tJ,null),l=(0,y.iH)(!0===i||null==o?function(e){let t=(0,tV.r)(e);if(!t){if(null===e)return null;throw Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let n=t.getElementById("headlessui-portal-root");if(n)return n;let r=t.createElement("div");return r.setAttribute("id","headlessui-portal-root"),t.body.appendChild(r)}(r.value):o.resolveTarget());l.value&&tX(l.value,e=>e+1);let s=(0,y.iH)(!1);(0,g.bv)(()=>{s.value=!0}),(0,g.m0)(()=>{i||null!=o&&(l.value=o.resolveTarget())});let u=(0,g.f3)(tG,null),c=!1,d=(0,g.FN)();return(0,g.YP)(r,()=>{if(c||!u)return;let e=(0,tp.v)(r);e&&((0,g.Ah)(u.register(e),d),c=!0)}),(0,g.Ah)(()=>{var e,t;let n=null==(e=a.value)?void 0:e.getElementById("headlessui-portal-root");!n||l.value!==n||tX(l.value,e=>e-1)||l.value.children.length>0||null==(t=l.value.parentElement)||t.removeChild(l.value)}),()=>s.value&&null!==l.value?(0,g.h)(g.lR,{to:l.value},(0,tg.sY)({ourProps:{ref:r,"data-headlessui-portal":""},theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"})):null}}),tG=Symbol("PortalParentContext");function tK(){let e=(0,g.f3)(tG,null),t=(0,y.iH)([]);function n(n){let r=t.value.indexOf(n);-1!==r&&t.value.splice(r,1),e&&e.unregister(n)}let r={register:function(r){return t.value.push(r),e&&e.register(r),()=>n(r)},unregister:n,portals:t};return[t,(0,g.aZ)({name:"PortalWrapper",setup:(e,{slots:t})=>((0,g.JJ)(tG,r),()=>{var e;return null==(e=t.default)?void 0:e.call(t)})})]}let tJ=Symbol("PortalGroupContext"),t0=(0,g.aZ)({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){let r=(0,y.qj)({resolveTarget:()=>e.target});return(0,g.JJ)(tJ,r),()=>{let{target:r,...a}=e;return(0,tg.sY)({theirProps:a,ourProps:{},slot:{},attrs:t,slots:n,name:"PortalGroup"})}}});var t1=n(63147);function t2(e,t,n,r){t1.O.isServer||(0,g.m0)(a=>{(e=null!=e?e:window).addEventListener(t,n,r),a(()=>e.removeEventListener(t,n,r))})}function t4({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=(0,y.iH)(null),a=(0,tV.r)(r);function i(){var n,i,o;let l=[];for(let t of e)null!==t&&(t instanceof HTMLElement?l.push(t):"value"in t&&t.value instanceof HTMLElement&&l.push(t.value));if(null!=t&&t.value)for(let e of t.value)l.push(e);for(let e of null!=(n=null==a?void 0:a.querySelectorAll("html > *, body > *"))?n:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(e.contains((0,tp.v)(r))||e.contains(null==(o=null==(i=(0,tp.v)(r))?void 0:i.getRootNode())?void 0:o.host)||l.some(t=>e.contains(t))||l.push(e));return l}
5return{resolveContainers:i,contains:e=>i().some(t=>t.contains(e)),mainTreeNodeRef:r,MainTreeNode:()=>null!=n?null:(0,g.h)(ts._,{features:ts.A.Hidden,ref:r})}}var t8=n(86969),t6=((o=t6||{})[o.Forwards=0]="Forwards",o[o.Backwards=1]="Backwards",o);function t3(){let e=(0,y.iH)(0);return(0,t8.s)("keydown",t=>{"Tab"===t.key&&(e.value=t.shiftKey?1:0)}),e}var t5=((l=t5||{})[l.Open=0]="Open",l[l.Closed=1]="Closed",l);let t7=Symbol("PopoverContext");function t9(e){let t=(0,g.f3)(t7,null);if(null===t){let t=Error(`<${e} /> is missing a parent <${nr.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,t9),t}return t}let ne=Symbol("PopoverGroupContext");function nt(){return(0,g.f3)(ne,null)}let nn=Symbol("PopoverPanelContext"),nr=(0,g.aZ)({name:"Popover",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n,expose:r}){var a;let i=(0,y.iH)(null);r({el:i,$el:i});let o=(0,y.iH)(1),l=(0,y.iH)(null),s=(0,y.iH)(null),u=(0,y.iH)(null),c=(0,y.iH)(null),d=(0,g.Fl)(()=>(0,tV.r)(i)),p=(0,g.Fl)(()=>{var e,t;if(!(0,tp.v)(l)||!(0,tp.v)(c))return!1;for(let e of document.querySelectorAll("body > *"))if(Number(null==e?void 0:e.contains((0,tp.v)(l)))^Number(null==e?void 0:e.contains((0,tp.v)(c))))return!0;let n=(0,tm.GO)(),r=n.indexOf((0,tp.v)(l)),a=(r+n.length-1)%n.length,i=(r+1)%n.length,o=n[a],s=n[i];return!(null!=(e=(0,tp.v)(c))&&e.contains(o))&&!(null!=(t=(0,tp.v)(c))&&t.contains(s))}),m={popoverState:o,buttonId:(0,y.iH)(null),panelId:(0,y.iH)(null),panel:c,button:l,isPortalled:p,beforePanelSentinel:s,afterPanelSentinel:u,togglePopover(){o.value=(0,th.E)(o.value,{0:1,1:0})},closePopover(){1!==o.value&&(o.value=1)},close(e){m.closePopover();let t=e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?(0,tp.v)(e):(0,tp.v)(m.button):(0,tp.v)(m.button);null==t||t.focus()}};(0,g.JJ)(t7,m),(0,tu.Rb)((0,g.Fl)(()=>(0,th.E)(o.value,{0:tu.ZM.Open,1:tu.ZM.Closed})));let f={buttonId:m.buttonId,panelId:m.panelId,close(){m.closePopover()}},h=nt(),v=null==h?void 0:h.registerPopover,[b,O]=tK(),w=t4({mainTreeNodeRef:null==h?void 0:h.mainTreeNodeRef,portals:b,defaultContainers:[l,c]});return(0,g.m0)(()=>null==v?void 0:v(f)),t2(null==(a=d.value)?void 0:a.defaultView,"focus",e=>{var t,n,r,a,i,s;e.target!==window&&e.target instanceof HTMLElement&&0===o.value&&((null!=(s=null==h?void 0:h.isFocusWithinPopoverGroup())?s:(null==(r=d.value)?void 0:r.activeElement)&&((null==(a=(0,tp.v)(l))?void 0:a.contains(d.value.activeElement))||(null==(i=(0,tp.v)(c))?void 0:i.contains(d.value.activeElement))))||l&&c&&(w.contains(e.target)||null!=(t=(0,tp.v)(m.beforePanelSentinel))&&t.contains(e.target)||null!=(n=(0,tp.v)(m.afterPanelSentinel))&&n.contains(e.target)||m.closePopover()))},!0),(0,ta.O)(w.resolveContainers,(e,t)=>{var n;m.closePopover(),(0,tm.sP)(t,tm.tJ.Loose)||(e.preventDefault(),null==(n=(0,tp.v)(l))||n.focus())},(0,g.Fl)(()=>0===o.value)),()=>{let r={open:0===o.value,close:m.close};return(0,g.h)(g.HY,[(0,g.h)(O,{},()=>(0,tg.sY)({theirProps:{...e,...n},ourProps:{ref:i},slot:r,slots:t,attrs:n,name:"Popover"})),(0,g.h)(w.MainTreeNode)])}}}),na=(0,g.aZ)({name:"PopoverButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){var a;let i=null!=(a=e.id)?a:`headlessui-popover-button-${(0,tr.M)()}`,o=t9("PopoverButton"),l=(0,g.Fl)(()=>(0,tV.r)(o.button));r({el:o.button,$el:o.button}),(0,g.bv)(()=>{o.buttonId.value=i}),(0,g.Ah)(()=>{o.buttonId.value=null});let s=nt(),u=null==s?void 0:s.closeOthers,c=(0,g.f3)(nn,null),d=(0,g.Fl)(()=>null!==c&&c.value===o.panelId.value),p=(0,y.iH)(null),m=`headlessui-focus-sentinel-${(0,tr.M)()}`;d.value||(0,g.m0)(()=>{o.button.value=(0,tp.v)(p)});let f=(0,ti.f)((0,g.Fl)(()=>({as:e.as,type:t.type})),p);function h(e){var t,n,r,a,i;if(d.value){if(1===o.popoverState.value)return;switch(e.key){case tc.R.Space:case tc.R.Enter:e.preventDefault(),null==(n=(t=e.target).click)||n.call(t),o.closePopover(),null==(r=(0,tp.v)(o.button))||r.focus()}}else switch(e.key){case tc.R.Space:case tc.R.Enter:e.preventDefault(),e.stopPropagation(),1===o.popoverState.value&&(null==u||u(o.buttonId.value)),o.togglePopover();break;case tc.R.Escape:if(0!==o.popoverState.value)return null==u?void 0:u(o.buttonId.value);if(!(0,tp.v)(o.button)||null!=(a=l.value)&&a.activeElement&&!(null!=(i=(0,tp.v)(o.button))&&i.c
5ontains(l.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),o.closePopover()}}function v(e){d.value||e.key===tc.R.Space&&e.preventDefault()}function b(t){var n,r;e.disabled||(d.value?(o.closePopover(),null==(n=(0,tp.v)(o.button))||n.focus()):(t.preventDefault(),t.stopPropagation(),1===o.popoverState.value&&(null==u||u(o.buttonId.value)),o.togglePopover(),null==(r=(0,tp.v)(o.button))||r.focus()))}function O(e){e.preventDefault(),e.stopPropagation()}let w=t3();function k(){let e=(0,tp.v)(o.panel);e&&(0,th.E)(w.value,{[t6.Forwards]:()=>(0,tm.jA)(e,tm.TO.First),[t6.Backwards]:()=>(0,tm.jA)(e,tm.TO.Last)})===tm.fE.Error&&(0,tm.jA)((0,tm.GO)().filter(e=>"true"!==e.dataset.headlessuiFocusGuard),(0,th.E)(w.value,{[t6.Forwards]:tm.TO.Next,[t6.Backwards]:tm.TO.Previous}),{relativeTo:(0,tp.v)(o.button)})}return()=>{let r=0===o.popoverState.value,{...a}=e,l=d.value?{ref:p,type:f.value,onKeydown:h,onClick:b}:{ref:p,id:i,type:f.value,"aria-expanded":0===o.popoverState.value,"aria-controls":(0,tp.v)(o.panel)?o.panelId.value:void 0,disabled:!!e.disabled||void 0,onKeydown:h,onKeyup:v,onClick:b,onMousedown:O};return(0,g.h)(g.HY,[(0,tg.sY)({ourProps:l,theirProps:{...t,...a},slot:{open:r},attrs:t,slots:n,name:"PopoverButton"}),r&&!d.value&&o.isPortalled.value&&(0,g.h)(ts._,{id:m,features:ts.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:k})])}}}),ni=((0,g.aZ)({name:"PopoverOverlay",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(e,{attrs:t,slots:n}){let r=t9("PopoverOverlay"),a=`headlessui-popover-overlay-${(0,tr.M)()}`,i=(0,tu.oJ)(),o=(0,g.Fl)(()=>null!==i?(i.value&tu.ZM.Open)===tu.ZM.Open:0===r.popoverState.value);function l(){r.closePopover()}return()=>{let i={open:0===r.popoverState.value};return(0,tg.sY)({ourProps:{id:a,"aria-hidden":!0,onClick:l},theirProps:e,slot:i,attrs:t,slots:n,features:tg.AN.RenderStrategy|tg.AN.Static,visible:o.value,name:"PopoverOverlay"})}}}),(0,g.aZ)({name:"PopoverPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){var a;let i=null!=(a=e.id)?a:`headlessui-popover-panel-${(0,tr.M)()}`,{focus:o}=e,l=t9("PopoverPanel"),s=(0,g.Fl)(()=>(0,tV.r)(l.panel)),u=`headlessui-focus-sentinel-before-${(0,tr.M)()}`,c=`headlessui-focus-sentinel-after-${(0,tr.M)()}`;r({el:l.panel,$el:l.panel}),(0,g.bv)(()=>{l.panelId.value=i}),(0,g.Ah)(()=>{l.panelId.value=null}),(0,g.JJ)(nn,l.panelId),(0,g.m0)(()=>{var e,t;if(!o||0!==l.popoverState.value||!l.panel)return;let n=null==(e=s.value)?void 0:e.activeElement;null!=(t=(0,tp.v)(l.panel))&&t.contains(n)||(0,tm.jA)((0,tp.v)(l.panel),tm.TO.First)});let d=(0,tu.oJ)(),p=(0,g.Fl)(()=>null!==d?(d.value&tu.ZM.Open)===tu.ZM.Open:0===l.popoverState.value);function m(e){var t,n;if(e.key===tc.R.Escape){if(0!==l.popoverState.value||!(0,tp.v)(l.panel)||s.value&&!(null!=(t=(0,tp.v)(l.panel))&&t.contains(s.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),l.closePopover(),null==(n=(0,tp.v)(l.button))||n.focus()}}function f(e){var t,n,r,a,i;let o=e.relatedTarget;o&&(0,tp.v)(l.panel)&&(null!=(t=(0,tp.v)(l.panel))&&t.contains(o)||(l.closePopover(),(null!=(r=null==(n=(0,tp.v)(l.beforePanelSentinel))?void 0:n.contains)&&r.call(n,o)||null!=(i=null==(a=(0,tp.v)(l.afterPanelSentinel))?void 0:a.contains)&&i.call(a,o))&&o.focus({preventScroll:!0})))}let h=t3();function v(){let e=(0,tp.v)(l.panel);e&&(0,th.E)(h.value,{[t6.Forwards]:()=>{var t;(0,tm.jA)(e,tm.TO.First)===tm.fE.Error&&(null==(t=(0,tp.v)(l.afterPanelSentinel))||t.focus())},[t6.Backwards]:()=>{var e;null==(e=(0,tp.v)(l.button))||e.focus({preventScroll:!0})}})}function y(){let e=(0,tp.v)(l.panel);e&&(0,th.E)(h.value,{[t6.Forwards]:()=>{let e=(0,tp.v)(l.button),t=(0,tp.v)(l.panel);if(!e)return;let n=(0,tm.GO)(),r=n.indexOf(e),a=n.slice(0,r+1),i=[...n.slice(r+1),...a];for(let e of i.slice())if("true"===e.dataset.headlessuiFocusGuard||null!=t&&t.contains(e)){let t=i.indexOf(e);-1!==t&&i.splice(t,1)}(0,tm.jA)(i,tm.TO.First,{sorted:!1})},[t6.Backwards]:()=>{var t;(0,tm.jA)(e,tm.TO.Previous)===tm.fE.Error&&(null==(t=(0,tp.v)(l.button))||t.focu
5s())}})}return()=>{let r={open:0===l.popoverState.value,close:l.close},{focus:a,...s}=e,d={ref:l.panel,id:i,onKeydown:m,onFocusout:o&&0===l.popoverState.value?f:void 0,tabIndex:-1};return(0,tg.sY)({ourProps:d,theirProps:{...t,...s},attrs:t,slot:r,slots:{...n,default:(...e)=>{var t;return[(0,g.h)(g.HY,[p.value&&l.isPortalled.value&&(0,g.h)(ts._,{id:u,ref:l.beforePanelSentinel,features:ts.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:v}),null==(t=n.default)?void 0:t.call(n,...e),p.value&&l.isPortalled.value&&(0,g.h)(ts._,{id:c,ref:l.afterPanelSentinel,features:ts.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:y})])]}},features:tg.AN.RenderStrategy|tg.AN.Static,visible:p.value,name:"PopoverPanel"})}}}));(0,g.aZ)({name:"PopoverGroup",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:n,expose:r}){let a;let i=(0,y.iH)(null),o=(0,y.XI)([]),l=(0,g.Fl)(()=>(0,tV.r)(i)),s={mainTreeNodeRef:a=(0,y.iH)(null),MainTreeNode:()=>(0,g.h)(ts._,{features:ts.A.Hidden,ref:a})};function u(e){let t=o.value.indexOf(e);-1!==t&&o.value.splice(t,1)}return r({el:i,$el:i}),(0,g.JJ)(ne,{registerPopover:function(e){return o.value.push(e),()=>{u(e)}},unregisterPopover:u,isFocusWithinPopoverGroup:function(){var e;let t=l.value;if(!t)return!1;let n=t.activeElement;return!!(null!=(e=(0,tp.v)(i))&&e.contains(n))||o.value.some(e=>{var r,a;return(null==(r=t.getElementById(e.buttonId.value))?void 0:r.contains(n))||(null==(a=t.getElementById(e.panelId.value))?void 0:a.contains(n))})},closeOthers:function(e){for(let t of o.value)t.buttonId.value!==e&&t.close()},mainTreeNodeRef:s.mainTreeNodeRef}),()=>(0,g.h)(g.HY,[(0,tg.sY)({ourProps:{ref:i},theirProps:{...e,...t},slot:{},attrs:t,slots:n,name:"PopoverGroup"}),(0,g.h)(s.MainTreeNode)])}});var no=(0,g.aZ)({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:n}=(0,h.li)(),r=(0,y.iH)(null),a=e=>{["ArrowUp","ArrowDown"].includes(e.key)&&(e.preventDefault(),e.target?.dispatchEvent(new KeyboardEvent("keydown",{key:"Enter"})))};return t({popoverButtonRef:r}),(e,t)=>((0,g.wg)(),(0,g.j4)((0,y.SU)(nr),{as:"template"},{default:(0,g.w5)(({open:t})=>[(0,g.Wm)((0,y.SU)(te),(0,v.vs)((0,g.F4)(e.$props)),(0,g.Nv)({default:(0,g.w5)(()=>[(0,g.Wm)((0,y.SU)(na),{ref_key:"popoverButtonRef",ref:r,as:"template",onKeydown:a},{default:(0,g.w5)(()=>[(0,g.WI)(e.$slots,"default",{open:t})]),_:2},1536)]),_:2},[t?{name:"floating",fn:(0,g.w5)(({width:r})=>[(0,g.Wm)((0,y.SU)(ni),(0,g.dG)({style:{width:r}},(0,y.SU)(n)("relative flex flex-col max-h-[inherit] w-40 rounded text-sm")),{default:(0,g.w5)(({close:n})=>[(0,g.WI)(e.$slots,"popover",{close:n,open:t}),(0,g.Wm)((0,y.SU)(tt))]),_:2},1040,["style"])]),key:"0"}:void 0]),1040)]),_:3}))}}),nl=(0,g.aZ)({__name:"ScalarCombobox",props:(0,g.Vf)({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{},modelModifiers:{}}),emits:(0,g.Vf)(["add"],["update:modelValue"]),setup(e,{emit:t}){let n=(0,g.tT)(e,"modelValue");return(r,a)=>((0,g.wg)(),(0,g.j4)(no,{middleware:e.middleware,offset:e.offset,placement:e.placement??"bottom-start",resize:e.resize,target:e.target,teleport:e.teleport},{default:(0,g.w5)(({open:e})=>[(0,g.WI)(r.$slots,"default",{open:e})]),popover:(0,g.w5)(({open:a,close:i})=>[(0,g.Wm)(tQ,{filterFn:e.filterFn,modelValue:n.value?[n.value]:[],open:a,options:e.options,placeholder:e.placeholder,onAdd:()=>(i(),t("add")),"onUpdate:modelValue":e=>(i(),n.value=e[0])},(0,g.Nv)({_:2},[r.$slots.option?{name:"option",fn:(0,g.w5)(e=>[(0,g.WI)(r.$slots,"option",(0,v.vs)((0,g.F4)(e)))]),key:"0"}:void 0,r.$slots.group?{name:"group",fn:(0,g.w5)(e=>[(0,g.WI)(r.$slots,"group",(0,v.vs)((0,g.F4)(e)))]),key:"1"}:void 0,r.$slots.add?{name:"add",fn:(0,g.w5)(e=>[(0,g.WI)(r.$slots,"add",(0,v.vs)((0,g.F4)(e)))]),key:"2"}:void 0]),1032,["filterFn","modelValue","open","options","placeholder","onAdd","onUpdate:modelValue"])]),_:3},8,["middleware","offset","placement","resize","target","teleport"]))}}),ns=(0,g.aZ)({__name:"ScalarComboboxMultiselect",props:(0,g.Vf)({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,g.Vf)(["add"],["update:modelValue"]),setup(e,{expose:t,emit:n}){let r=(0,g.tT)(e,"modelValue"),a=(0,y.iH)(null);return t({comboboxPopoverRef:a}),(t,i)=>
5((0,g.wg)(),(0,g.j4)(no,{ref_key:"comboboxPopoverRef",ref:a,middleware:e.middleware,offset:e.offset,placement:e.placement??"bottom-start",resize:e.resize,target:e.target,teleport:e.teleport},{default:(0,g.w5)(({open:e})=>[(0,g.WI)(t.$slots,"default",{open:e})]),popover:(0,g.w5)(({open:a})=>[e.options?.length?((0,g.wg)(),(0,g.j4)(tQ,{key:0,modelValue:r.value,"onUpdate:modelValue":i[0]||(i[0]=e=>r.value=e),filterFn:e.filterFn,multiselect:"",open:a,options:e.options,placeholder:e.placeholder,onAdd:i[1]||(i[1]=e=>n("add"))},(0,g.Nv)({_:2},[t.$slots.option?{name:"option",fn:(0,g.w5)(e=>[(0,g.WI)(t.$slots,"option",(0,v.vs)((0,g.F4)(e)))]),key:"0"}:void 0,t.$slots.group?{name:"group",fn:(0,g.w5)(e=>[(0,g.WI)(t.$slots,"group",(0,v.vs)((0,g.F4)(e)))]),key:"1"}:void 0,t.$slots.add?{name:"add",fn:(0,g.w5)(e=>[(0,g.WI)(t.$slots,"add",(0,v.vs)((0,g.F4)(e)))]),key:"2"}:void 0]),1032,["modelValue","filterFn","open","options","placeholder"])):(0,g.kq)("",!0)]),_:3},8,["middleware","offset","placement","resize","target","teleport"]))}}),nu={class:"custom-scroll min-h-0 flex-1"},nc={class:"flex flex-col p-0.75"},nd=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarDropdownMenu",props:{is:{}},setup(e){let{cx:t}=(0,h.li)();return(n,r)=>((0,g.wg)(),(0,g.j4)((0,g.LL)(e.is??"div"),(0,v.vs)((0,g.F4)((0,y.SU)(t)("relative flex w-56"))),{default:(0,g.w5)(()=>[(0,g._)("div",nu,[(0,g.WI)(n.$slots,"menu",{},()=>[(0,g._)("div",nc,[(0,g.WI)(n.$slots,"default")])]),(0,g.WI)(n.$slots,"backdrop",{},()=>[(0,g.Wm)((0,y.SU)(tt))])])]),_:3},16))}}),np=Symbol(),nm=["id","aria-activedescendant","aria-labelledby","onKeydown"],nf=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarDropdown",props:(0,g.Vf)({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=(0,y.iH)(),n=(0,y.iH)(),r=(0,g.tT)(e,"open"),{active:a}=function(){let e=(0,y.iH)();return(0,g.JJ)(np,e),{active:e}}(),i=(0,g.Me)(),o=(0,y.iH)(i),l=(0,g.Me)();async function s(){r.value=!r.value,await (0,g.Y3)(),r.value&&n.value?.focus()}async function u(e){["ArrowDown","ArrowUp"," ","Enter"].includes(e.key)&&(e.preventDefault(),r.value||(r.value=!0),await (0,g.Y3)(),n.value?.focus(),["ArrowDown"," ","Enter"].includes(e.key)?p(1):"ArrowUp"===e.key&&p(-1))}async function c(){t.value?.targetRef?.focus(),r.value=!1}function d(){if(!a.value||!n.value)return;let e=n.value.querySelector(`#${a.value}[role="menuitem"]:not([aria-disabled="true"])`);e&&(e.click(),c())}function p(e){if(!r.value||!n.value)return;let t=Array.from(n.value.querySelectorAll('[role="menuitem"]:not([aria-disabled="true"])'));if(0===t.length)return;let i=t.findIndex(e=>e.id===a.value);if(-1===i){let n=t[e>0?0:t.length-1];n?.id&&(a.value=n.id);return}let o=i+e;if(o<0||o>t.length-1)return;let l=t[o];l?.id&&(a.value=l.id)}(0,g.YP)(()=>t.value?.targetRef,(e,t)=>{e&&(e.id?o.value=e.id:(o.value=i,e.setAttribute("id",o.value)),e.setAttribute("aria-haspopup","menu"),e.setAttribute("aria-expanded",`${r.value}`),r.value&&e.setAttribute("aria-controls",l),e.addEventListener("click",s),e.addEventListener("keydown",u)),t&&t!==e&&(t.id===i&&t.removeAttribute("id"),t.removeAttribute("aria-controls"),t.removeAttribute("aria-haspopup"),t.removeAttribute("aria-expanded"),t.removeEventListener("click",s),t.removeEventListener("keydown",u))},{immediate:!0}),(0,g.YP)(r,e=>{let n=t.value?.targetRef;n&&(n.setAttribute("aria-expanded",`${e}`),e?n.setAttribute("aria-controls",l):n.removeAttribute("aria-controls"))},{immediate:!0}),(0,eh.i9H)(n,c,{ignore:[(0,g.Fl)(()=>t.value?.targetRef)]});let{cx:m}=(0,h.li)();return(i,s)=>((0,g.wg)(),(0,g.j4)((0,y.SU)(te),(0,g.dG)({ref_key:"floatingRef",ref:t},i.$props,{placement:e.placement??"bottom-start"}),(0,g.Nv)({default:(0,g.w5)(()=>[(0,g.WI)(i.$slots,"default",{open:r.value})]),_:2},[r.value?{name:"floating",fn:(0,g.w5)(({width:e})=>[(0,g.Wm)(nd,(0,g.dG)({style:{width:e}},(0,y.SU)(m)("max-h-[inherit] max-w-[inherit]")),{menu:(0,g.w5)(()=>[(0,g._)("div",{id:(0,y.SU)(l),ref_key:"menuRef",ref:n,"aria-activedescendant":(0,y.SU)(a),"aria-labelledby":o.value,class:"flex flex-col p-0.75 outline-none",role:"menu",tabindex:"-1",onClick:(0,q.iM)(c,["stop"]),onKeydown:[s[0]||(s[0]=(0,q.D2)((0,q.iM)(e=>p(1),["prevent","stop"]),["down"])),(0,q.D2)((0,q.iM)(d,["prevent","stop"]),["enter"]),(0,q.D2)((0,q.iM)(c,["prevent","stop"]),["escape"]),(0,q.D2)((0,q.iM)(d,["prevent","stop"]),["space"]),(0,q.D2)((0,q.iM)(c,["prevent","stop"]),["tab"]),s[1]||(s[1]=(0,q.D2)((0,q.iM)(e=>p(-1),["prevent","stop"]),["up"]))]},[(0,g.WI)(i.$slots,"items",{open:r.value})],40,nm)]),_:3},16,["style"])]),key:"0"}:void 0]),1040,["placement"]))}}),nh=w((0,g.aZ)({__name:"ScalarDropdownButton",props:{is:{default:"button"},active:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=(0,h.jS)({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"],variants:{disabled:{true:"pointer-events-none text-c-3"},active:{true:""}},compoundVariants:[{disabled:!1,active:!0,class:"bg-b-2"}]});return(n,r)=>((0,g.wg)(),(0,g.j4)((0,g.LL)(e.is),{"aria-disabled":e.disabled,class:(0,v.C_)(["item",(0,y.SU)(h.cx)("scalar-dropdown-item",(0,y.SU)(t)({active:e.active,disabled:e.disabled}))]),type:"button"===e.is?"button":void 0},{default:(0,g.w5)(()=>[(0,g.WI)(n.$slots,"default",{},void 0,!0)]),_:3},8,["aria-disabled","class","type"]))}}),[["__scopeId","data-v-6660bbc5"]]),ng={class:"-mx-0.75 my-0.75 h-border bg-border"},nv=w({},[["render",function(e,t,n,r,a,i){return(0,g.wg)(),(0,g.iD)("div",ng)}]]),ny=w((0,g.aZ)({__name:"ScalarDropdownItem",props:{id:{default:()=>(0,g.Me)()},disabled:{type:Boolean}},emits:["click"],setup(e){let{active:t}=function(){let e=(0,g.f3)(np);return e||console.warn("useDropdownItem must be used within a ScalarDropdown"),{active:e}}();return(n,r)=>((0,g.wg)(),(0,g.j4)(nh,{id:e.id,active:(0,y.SU)(t)===e.id,disabled:e.disabled,role:"menuitem",tabindex:"-1",onClick:r[0]||(r[0]=e=>n.$emit("click",e)),onMouseenter:r[1]||(r[1]=n=>t.value=e.id)},{default:(0,g.w5)(()=>[(0,g.WI)(n.$slots,"default",{},void 0,!0)]),_:3},8,["id","active","disabled"]))}}),[["__scopeId","data-v-3402682d"]]),nb={key:1,class:"rounded border bg-b-2 p-3 text-sm"},nO={key:0,class:"mt-2 rounded border bg-b-1 p-2 font-code text-c-2"},nw=(0,g.aZ)({__name:"ScalarErrorBoundary",setup(e){let t=(0,y.iH)(!1),n=(0,y.iH)();return(0,g.d1)((e,r,a)=>(console.error("[ERROR]",e,a),t.value=!0,n.value=e,!1)),(e,r)=>t.value?((0,g.wg)(),(0,g.iD)("div",nb,[r[0]||(r[0]=(0,g._)("div",{class:"p-2"},"Oops, something went wrong here.",-1)),n.value?((0,g.wg)(),(0,g.iD)("div",nO,(0,v.zw)(n.value?.name)+": "+(0,v.zw)(n.value?.message),1)):(0,g.kq)("",!0)])):(0,g.WI)(e.$slots,"default",{key:0})}}),nk={key:0},nx={key:1},nS={key:2},n_={key:3},nE={key:4},nA={key:5};n(73434);var nT=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarHeaderButton",props:{is:{default:"button"},cta:{type:Boolean}},setup(e){let t=(0,h.jS)({base:"group/button flex items-center rounded px-3 py-2 text-base/4 no-underline",variants:{cta:{true:"font-bold bg-b-header-cta text-sm/4 text-c-header-cta hover:bg-h-header-cta",fal
5se:"text-c-header-2 hover:text-c-header-1"}}}),{cx:n}=(0,h.li)();return(r,a)=>((0,g.wg)(),(0,g.j4)((0,g.LL)(e.is),(0,g.dG)({type:"button"===e.is?"button":void 0},(0,y.SU)(n)((0,y.SU)(t)({cta:e.cta}))),{default:(0,g.w5)(()=>[(0,g.WI)(r.$slots,"default")]),_:3},16,["type"]))}}),nD={"â":"Command","^":"Control",ctrl:"Control","â¥":"Option",alt:"Alt","â§":"Shift","âª":"Caps Lock","âµ":"Enter","â":"Left Arrow","â":"Right Arrow","â":"Up Arrow","â":"Down Arrow"},nC={Meta:"â",Shift:"â§",Alt:"â¥",Control:"^"},n$={Meta:"ctrl",Shift:"â§",Alt:"alt",Control:"ctrl"},nP=n(32313);function nI(e){return e in nD?nD[e]:e}var nN={"aria-hidden":"true",class:"contents"},nU={class:"sr-only"},nM=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarHotkey",props:{hotkey:{},modifier:{default:()=>["Meta"]}},setup(e){let{cx:t}=(0,h.li)(),n=(0,g.Fl)(()=>{var t;return t=e.hotkey,[...e.modifier.map(e=>(function(e){let t="default"===e?"Meta":e;return(0,nP.e)()?nC[t]:n$[t]})(e)),t]});return(e,r)=>((0,g.wg)(),(0,g.iD)("div",(0,v.vs)((0,g.F4)((0,y.SU)(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,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(n.value,(e,t)=>((0,g.wg)(),(0,g.iD)("div",{key:t},[(0,g._)("span",nN,(0,v.zw)(e),1),(0,g._)("span",nU,(0,v.zw)((0,y.SU)(nI)(e)),1)]))),128))],16))}}),nR=Object.defineProperty,nj=(e,t)=>{let n={};for(var r in e)nR(n,r,{get:e[r],enumerable:!0});return t||nR(n,Symbol.toStringTag,{value:"Module"}),n},nL=nj({default:()=>nz,render:()=>nB}),nZ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function nB(e,t){return(0,g.wg)(),(0,g.iD)("svg",nZ,[...t[0]||(t[0]=[(0,g._)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M5 11.988h14M12.006 5v14"},null,-1)])])}var nz={render:nB},nF=nj({default:()=>nq,render:()=>nH}),nQ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function nH(e,t){return(0,g.wg)(),(0,g.iD)("svg",nQ,[...t[0]||(t[0]=[(0,g._)("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 nq={render:nH},nV=nj({default:()=>nY,render:()=>nX}),nW={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function nX(e,t){return(0,g.wg)(),(0,g.iD)("svg",nW,[...t[0]||(t[0]=[(0,g._)("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 nY={render:nX},nG=nj({default:()=>n0,render:()=>nJ}),nK={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function nJ(e,t){return(0,g.wg)(),(0,g.iD)("svg",nK,[...t[0]||(t[0]=[(0,g._)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 12H2m9.3-9.3L2 12l9.3 9.3"},null,-1)])])}var n0={render:nJ},n1=nj({default:()=>n8,render:()=>n4}),n2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function n4(e,t){return(0,g.wg)(),(0,g.iD)("svg",n2,[...t[0]||(t[0]=[(0,g._)("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 n8={render:n4},n6=nj({default:()=>n7,render:()=>n5}),n3={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function n5(e,t){return(0,g.wg)(),(0,g.iD)("svg",n3,[...t[0]||(t[0]=[(0,g._)("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 n7={render:n5},n9=nj({default:()=>rn,render:()=>rt}),re={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function rt(e,t){return(0,g.wg)(),(0,g.iD)("svg",re,[...t[0]||(t[0]=[(0,g._)("path",{d:"M16.4 6.8v5.6H7.6m0-5.6v10.4"},null,-1),(0,g._)("circle",{cx:"7.6",cy:"4.4",r:"2.4"},null,-1),(0,g._)("circle",{cx:"7.6",cy:"19.6",r:"2.4"},null,-1),(0,g._)("circle",{cx:"16.4",cy:"4.4",r:"2.4"},null,-1)])])}var rn={render:rt},rr=nj({default:()=>ro,render:()=>ri}),ra={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function ri(e,t){return(0,g.wg)(),(0,g.iD)("svg",ra,[...t[0]||(t[0]=[(0,g._)("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,g._)("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,g._)("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 ro={render:ri},rl=nj({default:()=>rc,render:()=>ru}),rs={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function ru(e,t){return(0,g.wg)(),(0,g.iD)("svg",rs,[...t[0]||(t[0]=[(0,g._)("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 rc={render:ru},rd=nj({default:()=>rf,render:()=>rm}),rp={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rm(e,t){return(0,g.wg)(),(0,g.iD)("svg",rp,[...t[0]||(t[0]=[(0,g._)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18 10-6 6-6-6"},null,-1)])])}var rf={render:rm},rh=nj({default:()=>ry,render:()=>rv}),rg={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rv(e,t){return(0,g.wg)(),(0,g.iD)("svg",rg,[...t[0]||(t[0]=[(0,g._)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m14 18-6-6 6-6"},null,-1)])])}var ry={render:rv},rb=nj({default:()=>rk,render:()=>rw}),rO={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rw(e,t){return(0,g.wg)(),(0,g.iD)("svg",rO,[...t[0]||(t[0]=[(0,g._)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m9 18 6-6-6-6"},null,-1)])])}var rk={render:rw},rx=nj({default:()=>rE,render:()=>r_}),rS={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function r_(e,t){return(0,g.wg)(),(0,g.iD)("svg",rS,[...t[0]||(t[0]=[(0,g._)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18 15-6-6-6 6"},null,-1)])])}var rE={render:r_},rA=nj({default:()=>rC,render:()=>rD}),rT={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rD(e,t){return(0,g.wg)(),(0,g.iD)("svg",rT,[...t[0]||(t[0]=[(0,g._)("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 rC={render:rD}
5,r$=nj({default:()=>rN,render:()=>rI}),rP={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rI(e,t){return(0,g.wg)(),(0,g.iD)("svg",rP,[...t[0]||(t[0]=[(0,g._)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M18 6 6 18M6 6l12 12"},null,-1)])])}var rN={render:rI},rU=nj({default:()=>rj,render:()=>rR}),rM={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rR(e,t){return(0,g.wg)(),(0,g.iD)("svg",rM,[...t[0]||(t[0]=[(0,g._)("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 rj={render:rR},rL=nj({default:()=>rz,render:()=>rB}),rZ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rB(e,t){return(0,g.wg)(),(0,g.iD)("svg",rZ,[...t[0]||(t[0]=[(0,g._)("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 rz={render:rB},rF=nj({default:()=>rq,render:()=>rH}),rQ={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function rH(e,t){return(0,g.wg)(),(0,g.iD)("svg",rQ,[...t[0]||(t[0]=[(0,g._)("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 rq={render:rH},rV=nj({default:()=>rY,render:()=>rX}),rW={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function rX(e,t){return(0,g.wg)(),(0,g.iD)("svg",rW,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 rY={render:rX},rG=nj({default:()=>r0,render:()=>rJ}),rK={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function rJ(e,t){return(0,g.wg)(),(0,g.iD)("svg",rK,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 r0={render:rJ},r1=nj({default:()=>r8,render:()=>r4}),r2={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function r4(e,t){return(0,g.wg)(),(0,g.iD)("svg",r2,[...t[0]||(t[0]=[(0,g._)("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 r8={render:r4},r6=nj({default:()=>r7,render:()=>r5}),r3={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function r5(e,t){return(0,g.wg)(),(0,g.iD)("svg",r3,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 r7={render:r5},r9=nj({default:()=>an,render:()=>at}),ae={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,g.wg)(),(0,g.iD)("svg",ae,[...t[0]||(t[0]=[(0,g._)("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 an={render:at},ar=nj({default:()=>ao,render:()=>ai}),aa={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ai(e,t){return(0,g.wg)(),(0,g.iD)("svg",aa,[...t[0]||(t[0]=[(0,g._)("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
5-2h4c1 0 2 1 2 2v2m-6 5v6m4-6v6"},null,-1)])])}var ao={render:ai},al=nj({default:()=>ac,render:()=>au}),as={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function au(e,t){return(0,g.wg)(),(0,g.iD)("svg",as,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 ac={render:au},ad=nj({default:()=>af,render:()=>am}),ap={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function am(e,t){return(0,g.wg)(),(0,g.iD)("svg",ap,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 af={render:am},ah=nj({default:()=>ay,render:()=>av}),ag={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function av(e,t){return(0,g.wg)(),(0,g.iD)("svg",ag,[...t[0]||(t[0]=[(0,g._)("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 ay={render:av},ab=nj({default:()=>ak,render:()=>aw}),aO={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function aw(e,t){return(0,g.wg)(),(0,g.iD)("svg",aO,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 ak={render:aw},ax=nj({default:()=>aE,render:()=>a_}),aS={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function a_(e,t){return(0,g.wg)(),(0,g.iD)("svg",aS,[...t[0]||(t[0]=[(0,g._)("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 aE={render:a_},aA=nj({default:()=>aC,render:()=>aD}),aT={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,g.wg)(),(0,g.iD)("svg",aT,[...t[0]||(t[0]=[(0,g._)("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 aC={render:aD},a$=nj({default:()=>aN,render:()=>aI}),aP={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function aI(e,t){return(0,g.wg)(),(0,g.iD)("svg",aP,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 aN={render:aI},aU=nj({default:()=>aj,render:()=>aR}),aM={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,g.wg)(),(0,g.iD)("svg",aM,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 aj={render:aR},aL=nj({default:()=>az,render:()=>aB}),aZ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function aB(e,t){return(0,g.wg)(),(0,g.iD)("svg",aZ,[...t[0]||(t[0]=[(0,g._)("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 az={render:aB},aF=nj({default:()=>aq,render:()=>aH}),aQ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function aH(e,t){return(0,g.wg)(),(0,g.iD)("svg",aQ,[...t[0]||(t[0]=[(0,g._)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6.4 4H20v13.59M4 20 20 4"},null,-1)])])}var aq={render:aH},aV=nj({default:()=>aY,render:()=>aX}),aW={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function aX(e,t){return(0,g.wg)(),(0,g.iD)("svg",aW,[...t[0]||(t[0]=[(0,g._)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 6h16M7.556 12h8.888m-6.222 6h3.556"},null,-1)])])}var aY={render:aX},aG=nj({default:()=>a0,render:()=>aJ}),aK={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function aJ(e,t){return(0,g.wg)(),(0,g.iD)("svg",aK,[...t[0]||(t[0]=[(0,g._)("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 a0={render:aJ},a1=nj({default:()=>a8,render:()=>a4}
5),a2={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 1024 1024"};function a4(e,t){return(0,g.wg)(),(0,g.iD)("svg",a2,[...t[0]||(t[0]=[(0,g._)("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 a8={render:a4},a6=nj({default:()=>a7,render:()=>a5}),a3={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function a5(e,t){return(0,g.wg)(),(0,g.iD)("svg",a3,[...t[0]||(t[0]=[(0,g._)("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 a7={render:a5},a9=nj({default:()=>ir,render:()=>it}),ie={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function it(e,t){return(0,g.wg)(),(0,g.iD)("svg",ie,[...t[0]||(t[0]=[(0,g._)("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 ir={render:it},ia=nj({default:()=>il,render:()=>io}),ii={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function io(e,t){return(0,g.wg)(),(0,g.iD)("svg",ii,[...t[0]||(t[0]=[(0,g._)("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 il={render:io},is=nj({default:()=>id,render:()=>ic}),iu={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function ic(e,t){return(0,g.wg)(),(0,g.iD)("svg",iu,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 id={render:ic},ip=nj({default:()=>ig,render:()=>ih}),im={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ih(e,t){return(0,g.wg)(),(0,g.iD)("svg",im,[...t[0]||(t[0]=[(0,g._)("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 ig={render:ih},iv=nj({default:()=>iO,render:()=>ib}),iy={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function ib(e,t){return(0,g.wg)(),(0,g.iD)("svg",iy,[...t[0]||(t[0]=[(0,g._)("path",{d:"M12.9 6.8v6.1h4.7"},null,-1),(0,g._)("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 iO={render:ib},iw=nj({default:()=>iS,render:()=>ix}),ik={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function ix(e,t){return(0,g.wg)(),(0,g.iD)("svg",ik,[...t[0]||(t[0]=[(0,g._)("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 iS={render:ix},i_=nj({default:()=>iT,render:()=>iA}),iE={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function iA(e,t){return(0,g.wg)(),(0,g.iD)("svg",iE,[...t[0]||(t[0]=[(0,g._)("path",{d:"M12 10.67v7.98M14.66 16 12 18.64 9.34 16"},null,-1),(0,g._)("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,g._)("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 iT={render:iA},iD=nj({default:()=>iP,render:()=>i$}),iC={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function i$(e,t){return(0,g.wg)(),(0,g.iD)("svg",iC,[...t[0]||(t[0]=[(0,g._)("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,g._)("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,g._)("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 iP={render:i$},iI=nj({default:()=>iM,render:()=>iU}),iN={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function iU(e,t){return(0,g.wg)(),(0,g.iD)("svg",iN,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 iM={render:iU},iR=nj({default:()=>iZ,render:()=>iL}),ij={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function iL(e,t){return(0,g.wg)(),(0,g.iD)("svg",ij,[...t[0]||(t[0]=[(0,g._)("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 iZ={render:iL},iB=nj({default:()=>iQ,render:()=>iF}),iz={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function iF(e,t){return(0,g.wg)(),(0,g.iD)("svg",iz,[...t[0]||(t[0]=[(0,g._)("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.
501M4.93 4.93l3.22 3.22"},null,-1)])])}var iQ={render:iF},iH=nj({default:()=>iW,render:()=>iV}),iq={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function iV(e,t){return(0,g.wg)(),(0,g.iD)("svg",iq,[...t[0]||(t[0]=[(0,g._)("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 iW={render:iV},iX=nj({default:()=>iK,render:()=>iG}),iY={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function iG(e,t){return(0,g.wg)(),(0,g.iD)("svg",iY,[...t[0]||(t[0]=[(0,g._)("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 iK={render:iG},iJ=nj({default:()=>i2,render:()=>i1}),i0={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function i1(e,t){return(0,g.wg)(),(0,g.iD)("svg",i0,[...t[0]||(t[0]=[(0,g._)("path",{d:"M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),(0,g._)("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 i2={render:i1},i4=nj({default:()=>i3,render:()=>i6}),i8={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 593 593"};function i6(e,t){return(0,g.wg)(),(0,g.iD)("svg",i8,[...t[0]||(t[0]=[(0,g._)("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 i3={render:i6},i5=nj({default:()=>oe,render:()=>i9}),i7={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function i9(e,t){return(0,g.wg)(),(0,g.iD)("svg",i7,[...t[0]||(t[0]=[(0,g._)("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 oe={render:i9},ot=nj({default:()=>oa,render:()=>or}),on={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function or(e,t){return(0,g.wg)(),(0,g.iD)("svg",on,[...t[0]||(t[0]=[(0,g._)("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 oa={render:or},oi=nj({default:()=>os,render:()=>ol}),oo={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function ol(e,t){return(0,g.wg)(),(0,g.iD)("svg",oo,[...t[0]||(t[0]=[(0,g._)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 6.8H2m20 10.4H2"},null,-1)])])}var os={render:ol},ou=nj({default:()=>op,render:()=>od}),oc={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function od(e,t){return(0,g.wg)(),(0,g.iD)("svg",oc,[...t[0]||(t[0]=[(0,g._)("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 op={render:od},om=nj({default:()=>og,render:()=>oh}),of={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function oh(e,t){return(0,g.wg)(),(0,g.iD)("svg",of,[...t[0]||(t[0]=[(0,g._)("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,g._)("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)])])}
5var og={render:oh},ov=nj({default:()=>oO,render:()=>ob}),oy={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function ob(e,t){return(0,g.wg)(),(0,g.iD)("svg",oy,[...t[0]||(t[0]=[(0,g._)("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 oO={render:ob},ow=nj({default:()=>oS,render:()=>ox}),ok={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function ox(e,t){return(0,g.wg)(),(0,g.iD)("svg",ok,[...t[0]||(t[0]=[(0,g._)("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 oS={render:ox},o_=nj({default:()=>oT,render:()=>oA}),oE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function oA(e,t){return(0,g.wg)(),(0,g.iD)("svg",oE,[...t[0]||(t[0]=[(0,g._)("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 oT={render:oA},oD=nj({default:()=>oP,render:()=>o$}),oC={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function o$(e,t){return(0,g.wg)(),(0,g.iD)("svg",oC,[...t[0]||(t[0]=[(0,g._)("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 oP={render:o$},oI=nj({default:()=>oM,render:()=>oU}),oN={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function oU(e,t){return(0,g.wg)(),(0,g.iD)("svg",oN,[...t[0]||(t[0]=[(0,g._)("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 oM={render:oU},oR=nj({default:()=>oZ,render:()=>oL}),oj={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function oL(e,t){return(0,g.wg)(),(0,g.iD)("svg",oj,[...t[0]||(t[0]=[(0,g._)("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 oZ={render:oL},oB=nj({default:()=>oQ,render:()=>oF}),oz={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function oF(e,t){return(0,g.wg)(),(0,g.iD)("svg",oz,[...t[0]||(t[0]=[(0,g._)("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,g._)("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,g._)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6 8h4m-4 8h4"},null,-1)])])}var oQ={render:oF},oH=nj({default:()=>oW,render:()=>oV}),oq={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function oV(e,t){return(0,g.wg)(),(0,g.iD)("svg",oq,[...t[0]||(t[0]=[(0,g._)("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20 7H9m0 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0m7 10H5m11 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0"},null,-1)])])}var oW={render:oV},oX=nj({default:()=>oK,render:()=>oG}),oY={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function oG(e,t){return(0,g.wg)(),(0,g.iD)("svg",oY,[...t[0]||(t[0]=[(0,g._)("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,g._)("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)])])}
5var oK={render:oG},oJ=nj({default:()=>o2,render:()=>o1}),o0={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function o1(e,t){return(0,g.wg)(),(0,g.iD)("svg",o0,[...t[0]||(t[0]=[(0,g._)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 5.4h20M2 12h20M2 18.6h13.3"},null,-1)])])}var o2={render:o1},o4=nj({default:()=>o3,render:()=>o6}),o8={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function o6(e,t){return(0,g.wg)(),(0,g.iD)("svg",o8,[...t[0]||(t[0]=[(0,g._)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13 15h5M6 9l4 3-4 3"},null,-1),(0,g._)("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 o3={render:o6},o5=nj({default:()=>le,render:()=>o9}),o7={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function o9(e,t){return(0,g.wg)(),(0,g.iD)("svg",o7,[...t[0]||(t[0]=[(0,g._)("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 le={render:o9},lt=nj({default:()=>la,render:()=>lr}),ln={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function lr(e,t){return(0,g.wg)(),(0,g.iD)("svg",ln,[...t[0]||(t[0]=[(0,g._)("path",{d:"M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),(0,g._)("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 la={render:lr},li=nj({default:()=>ls,render:()=>ll}),lo={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ll(e,t){return(0,g.wg)(),(0,g.iD)("svg",lo,[...t[0]||(t[0]=[(0,g._)("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 ls={render:ll},lu=nj({default:()=>lp,render:()=>ld}),lc={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ld(e,t){return(0,g.wg)(),(0,g.iD)("svg",lc,[...t[0]||(t[0]=[(0,g._)("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 lp={render:ld},lm=nj({default:()=>lg,render:()=>lh}),lf={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function lh(e,t){return(0,g.wg)(),(0,g.iD)("svg",lf,[...t[0]||(t[0]=[(0,g._)("path",{d:"M3.5 22.2c.3-4.5 4-8 8.5-8s8.2 3.5 8.5 8z"},null,-1),(0,g._)("circle",{cx:"12",cy:"6.2",r:"4.5"},null,-1)])])}var lg={render:lh},lv=nj({default:()=>lO,render:()=>lb}),ly={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function lb(e,t){return(0,g.wg)(),(0,g.iD)("svg",ly,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 lO={render:lb},lw=nj({default:()=>lS,render:()=>lx}),lk={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function lx(e,t){return(0,g.wg)(),(0,g.iD)("svg",lk,[...t[0]||(t[0]=[(0,g._)("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 lS={render:lx},l_=nj({default:()=>lT,render:()=>lA}),lE={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function lA(e,t){return(0,g.wg)(),(0,g.iD)("svg",lE,[...t[0]||(t[0]=[(0,g._)("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 lT={render:lA},lD=nj({default:()=>lP,render:()=>l$}),lC={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function l$(e,t){return(0,g.wg)(),(0,g.iD)("svg",lC,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 lP={render:l$},lI=nj({default:()=>lM,render:()=>lU}),lN={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function lU(e,t){return(0,g.wg)(),(0,g.iD)("svg",lN,[...t[0]||(t[0]=[(0,g._)("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
50 0 1 4 0"},null,-1)])])}var lM={render:lU},lR=nj({default:()=>lZ,render:()=>lL}),lj={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function lL(e,t){return(0,g.wg)(),(0,g.iD)("svg",lj,[...t[0]||(t[0]=[(0,g._)("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 lZ={render:lL},lB=nj({default:()=>lQ,render:()=>lF}),lz={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function lF(e,t){return(0,g.wg)(),(0,g.iD)("svg",lz,[...t[0]||(t[0]=[(0,g._)("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 lQ={render:lF},lH=nj({default:()=>lW,render:()=>lV}),lq={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function lV(e,t){return(0,g.wg)(),(0,g.iD)("svg",lq,[...t[0]||(t[0]=[(0,g._)("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 lW={render:lV},lX=nj({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,g.wg)(),(0,g.iD)("svg",lY,[...t[0]||(t[0]=[(0,g._)("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 lK={render:lG},lJ=nj({default:()=>l2,render:()=>l1}),l0={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function l1(e,t){return(0,g.wg)(),(0,g.iD)("svg",l0,[...t[0]||(t[0]=[(0,g._)("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.
5018.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 l2={render:l1},l4=nj({default:()=>l3,render:()=>l6}),l8={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function l6(e,t){return(0,g.wg)(),(0,g.iD)("svg",l8,[...t[0]||(t[0]=[(0,g._)("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 l3={render:l6},l5=nj({default:()=>se,render:()=>l9}),l7={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function l9(e,t){return(0,g.wg)(),(0,g.iD)("svg",l7,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 se={render:l9},st=nj({default:()=>sa,render:()=>sr}),sn={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function sr(e,t){return(0,g.wg)(),(0,g.iD)("svg",sn,[...t[0]||(t[0]=[(0,g._)("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 sa={render:sr},si=nj({default:()=>ss,render:()=>sl}
5),so={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function sl(e,t){return(0,g.wg)(),(0,g.iD)("svg",so,[...t[0]||(t[0]=[(0,g._)("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 ss={render:sl},su=nj({default:()=>sp,render:()=>sd}),sc={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function sd(e,t){return(0,g.wg)(),(0,g.iD)("svg",sc,[...t[0]||(t[0]=[(0,g._)("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 sp={render:sd},sm=nj({default:()=>sg,render:()=>sh}),sf={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function sh(e,t){return(0,g.wg)(),(0,g.iD)("svg",sf,[...t[0]||(t[0]=[(0,g._)("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 sg={render:sh},sv=nj({default:()=>sO,render:()=>sb}),sy={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 50 50"};function sb(e,t){return(0,g.wg)(),(0,g.iD)("svg",sy,[...t[0]||(t[0]=[(0,g._)("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 sO={render:sb},sw=nj({default:()=>sS,render:()=>sx}),sk={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function sx(e,t){return(0,g.wg)(),(0,g.iD)("svg",sk,[...t[0]||(t[0]=[(0,g._)("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 sS={render:sx},s_=nj({default:()=>sT,render:()=>sA}
5),sE={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function sA(e,t){return(0,g.wg)(),(0,g.iD)("svg",sE,[...t[0]||(t[0]=[(0,g._)("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 sT={render:sA},sD=nj({default:()=>sP,render:()=>s$}),sC={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function s$(e,t){return(0,g.wg)(),(0,g.iD)("svg",sC,[...t[0]||(t[0]=[(0,g._)("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 sP={render:s$},sI=nj({default:()=>sM,render:()=>sU}),sN={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function sU(e,t){return(0,g.wg)(),(0,g.iD)("svg",sN,[...t[0]||(t[0]=[(0,g._)("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)])])}
5var sM={render:sU},sR=nj({default:()=>sZ,render:()=>sL}),sj={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function sL(e,t){return(0,g.wg)(),(0,g.iD)("svg",sj,[...t[0]||(t[0]=[(0,g._)("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,g._)("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,g._)("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 sZ={render:sL},sB=nj({default:()=>sQ,render:()=>sF}),sz={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function sF(e,t){return(0,g.wg)(),(0,g.iD)("svg",sz,[...t[0]||(t[0]=[(0,g._)("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 sQ={render:sF},sH=nj({default:()=>sW,render:()=>sV}),sq={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function sV(e,t){return(0,g.wg)(),(0,g.iD)("svg",sq,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 sW={render:sV},sX=nj({default:()=>sK,render:()=>sG}),sY={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function sG(e,t){return(0,g.wg)(),(0,g.iD)("svg",sY,[...t[0]||(t[0]=[(0,g._)("path",{d:"M0 0h61.4L0 60.4zm0 128L128 0H64.6L0 63.7zm128 0L64.6 66.6 3.3 128z"},null,-1)])])}var sK={render:sG},sJ=nj({default:()=>s2,render:()=>s1}),s0={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function s1(e,t){return(0,g.wg)(),(0,g.iD)("svg",s0,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 s2={render:s1},s4=nj({default:()=>s3,render:()=>s6}
5),s8={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function s6(e,t){return(0,g.wg)(),(0,g.iD)("svg",s8,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 s3={render:s6},s5=nj({default:()=>ue,render:()=>s9}),s7={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function s9(e,t){return(0,g.wg)(),(0,g.iD)("svg",s7,[...t[0]||(t[0]=[(0,g._)("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
513.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 ue={render:s9},ut=nj({default:()=>ua,render:()=>ur}),un={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function ur(e,t){return(0,g.wg)(),(0,g.iD)("svg",un,[...t[0]||(t[0]=[(0,g._)("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 ua={render:ur},ui=nj({default:()=>us,render:()=>ul}),uo={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 121 121"};function ul(e,t){return(0,g.wg)(),(0,g.iD)("svg",uo,[...t[0]||(t[0]=[(0,g._)("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 us={render:ul},uu=nj({default:()=>up,render:()=>ud}),uc={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function ud(e,t){return(0,g.wg)(),(0,g.iD)("svg",uc,[...t[0]||(t[0]=[(0,g._)("path",{d:"m14.25.18.9.2.73.26.59.3.45.32.34.34.25.34.16.33.1.3.04.26.02.2-.01.13V8.5l-.05.63-.13.55-.21.46-.26.38-.3.31-.33.25-.35.19-.35.14-.33.1-.3.07-.26.04-.21.02H8.77l-.69.05-.59.14-.5.22-.41.27-.33.32-.27.35-.2.36-.15.37-.1.35-.07.32-.04.27-.02.21v3.06H3.17l-.21-.03-.28-.07-.32-.12-.35-.18-.36-.26-.36-.36-.35-.46-.32-.59-.28-.73-.21-.88-.14-1.05-.05-1.23.06-1.22.16-1.04.24-.87.32-.71.36-.57.4-.44.42-.33.42-.24.4-.16.36-.1.32-.05.24-.01h.16l.06.01h8.16v-.83H6.18l-.01-2.75-.02-.37.05-.34.11-.31.17-.28.25-.26.31-.23.38-.2.44-.18.51-.15.58-.12.64-.1.71-.06.77-.04.84-.02 1.27.05zm-6.3 1.98-.23.33-.08.41.08.41.23.34.33.22.41.09.41-.09.33-.22.23-.34.08-.41-.08-.41-.23-.33-.33-.22-.41-.09-.41.09zm13.09 3.95.28.06.32.12.35.18.36.27.36.35.35.47.32.59.28.73.21.88.14 1.04.05 1.23-.06 1.23-.16 1.04-.24.86-.32.71-.36.57-.4.45-.42.33-.42.24-.4.16-.36.09-.32.05-.24.02-.16-.01h-8.22v.82h5.84l.01 2.76.02.36-.05.34-.11.31-.17.29-.25.25-.31.24-.38.2-.44.17-.51.15-.58.13-.64.09-.71.07-.77.04-.84.01-1.27-.04-1.07-.14-.9-.2-.73-.25-.59-.3-.45-.33-.34-.34-.25-.34-.16-.33-.1-.3-.04-.25-.02-.2.01-.13v-5.34l.05-.64.13-.54.21-.46.26-.38.3-.32.33-.24.35-.2.35-.14.33-.1.3-.06.26-.04.21-.02.13-.01h5.84l.69-.05.59-.14.5-.21.41-.28.33-.32.27-.35.2-.36.15-.36.1-.35.07-.32.04-.28.02-.21V6.07h2.09l.14.01zm-6.47 14.25-.23.33-.08.41.08.41.23.33.33.23.41.08.41-.08.33-.23.23-.33.08-.41-.08-.41-.23-.33-.33-.23-.41-.08-.41.08z"},null,-1)])])}var up={render:ud},um=nj({default:()=>ug,render:()=>uh}
5),uf={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function uh(e,t){return(0,g.wg)(),(0,g.iD)("svg",uf,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 ug={render:uh},uv=nj({default:()=>uO,render:()=>ub}),uy={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function ub(e,t){return(0,g.wg)(),(0,g.iD)("svg",uy,[...t[0]||(t[0]=[(0,g._)("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 uO={render:ub},uw=nj({default:()=>uS,render:()=>ux}),uk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ux(e,t){return(0,g.wg)(),(0,g.iD)("svg",uk,[...t[0]||(t[0]=[(0,g._)("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.
5036v4.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 uS={render:ux},u_=nj({default:()=>uT,render:()=>uA}),uE={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function uA(e,t){return(0,g.wg)(),(0,g.iD)("svg",uE,[...t[0]||(t[0]=[(0,g._)("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 uT={render:uA},uD=nj({default:()=>uP,render:()=>u$}),uC={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 17 17"};function u$(e,t){return(0,g.wg)(),(0,g.iD)("svg",uC,[...t[0]||(t[0]=[(0,g._)("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 uP={render:u$},uI=nj({default:()=>uM,render:()=>uU}),uN={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function uU(e,t){return(0,g.wg)(),(0,g.iD)("svg",uN,[...t[0]||(t[0]=[(0,g._)("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 uM={render:uU},uR=nj({default:()=>uZ,render:()=>uL}),uj={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function uL(e,t){return(0,g.wg)(),(0,g.iD)("svg",uj,[...t[0]||(t[0]=[(0,g._)("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 uZ={render:uL},uB=nj({default:()=>uQ,render:()=>uF}),uz={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function uF(e,t){return(0,g.wg)(),(0,g.iD)("svg",uz,[...t[0]||(t[0]=[(0,g._)("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 uQ={render:uF},uH=nj({default:()=>uW,render:()=>uV}),uq={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function uV(e,t){return(0,g.wg)(),(0,g.iD)("svg",uq,[...t[0]||(t[0]=[(0,g._)("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 uW={render:uV},uX=nj({default:()=>uK,render:()=>uG}
5),uY={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function uG(e,t){return(0,g.wg)(),(0,g.iD)("svg",uY,[...t[0]||(t[0]=[(0,g._)("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 uK={render:uG},uJ=nj({default:()=>u2,render:()=>u1}),u0={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function u1(e,t){return(0,g.wg)(),(0,g.iD)("svg",u0,[...t[0]||(t[0]=[(0,g._)("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 u2={render:u1},u4=nj({default:()=>u3,render:()=>u6}),u8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function u6(e,t){return(0,g.wg)(),(0,g.iD)("svg",u8)}var u3={render:u6},u5=nj({default:()=>ce,render:()=>u9}),u7={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function u9(e,t){return(0,g.wg)(),(0,g.iD)("svg",u7,[...t[0]||(t[0]=[(0,g.uE)('<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
5-.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
5-.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
5-.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 ce={render:u9},ct=nj({default:()=>ca,render:()=>cr}),cn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cr(e,t){return(0,g.wg)(),(0,g.iD)("svg",cn,[...t[0]||(t[0]=[(0,g._)("path",{fill:"#512BD4",d:"M22 2H2v20h20z"},null,-1),(0,g._)("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 ca={render:cr},ci=nj({default:()=>cs,render:()=>cl}),co={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cl(e,t){return(0,g.wg)(),(0,g.iD)("svg",co,[...t[0]||(t[0]=[(0,g.uE)('<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.
504-.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 cs={render:cl},cu=nj({default:()=>cp,render:()=>cd}),cc={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cd(e,t){return(0,g.wg)(),(0,g.iD)("svg",cc,[...t[0]||(t[0]=[(0,g._)("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 cp={render:cd},cm=nj({default:()=>cg,render:()=>ch}),cf={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ch(e,t){return(0,g.wg)(),(0,g.iD)("svg",cf,[...t[0]||(t[0]=[(0,g._)("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 cg={render:ch},cv=nj({default:()=>cO,render:()=>cb}),cy={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cb(e,t){return(0,g.wg)(),(0,g.iD)("svg",cy,[...t[0]||(t[0]=[(0,g._)("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 cO={render:cb},cw=nj({default:()=>cS,render:()=>cx}),ck={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cx(e,t){return(0,g.wg)(),(0,g.iD)("svg",ck,[...t[0]||(t[0]=[(0,g._)("path",{fill:"currentColor",d:"M1.81 10.714c-.046 0-.058-.023-.034
5-.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,g._)("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 cS={render:cx},c_=nj({default:()=>cT,render:()=>cA}),cE={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cA(e,t){return(0,g.wg)(),(0,g.iD)("svg",cE,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 cT={render:cA},cD=nj({default:()=>cP,render:()=>c$}),cC={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function c$(e,t){return(0,g.wg)(),(0,g.iD)("svg",cC,[...t[0]||(t[0]=[(0,g._)("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 cP={render:c$},cI=nj({default:()=>cM,render:()=>cU}),cN={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cU(e,t){return(0,g.wg)(),(0,g.iD)("svg",cN,[...t[0]||(t[0]=[(0,g.uE)('<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 cM={render:cU},cR=nj({default:()=>cZ,render:()=>cL}),cj={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cL(e,t){return(0,g.wg)(),(0,g.iD)("svg",cj,[...t[0]||(t[0]=[(0,g._)("path",{fill:"#E0234E","fill-rule":"evenodd",d:"M13.776 2.04c-.144 0-.279.03-.403.071.264.176.409.409.48.672.006.036.016.062.021.098q.009.046.01.093c.021.455-.118.511-.216.78-.15.346-.109.718.072 1.01
57a.6.6 0 0 0 .062.114c-.196-1.307.894-1.503 1.095-1.91.016-.357-.279-.595-.511-.76a1.14 1.14 0 0 0-.61-.176Zm1.643.294c-.021.118-.005.087-.01.15-.006.04-.006.092-.01.134q-.016.063-.037.124a1 1 0 0 1-.042.124c-.02.041-.035.077-.056.118-.016.021-.026.042-.042.062l-.03.047a2 2 0 0 1-.078.103c-.03.031-.057.067-.093.093v.005c-.031.026-.062.057-.098.083-.108.082-.233.145-.346.222-.036.026-.073.046-.103.078a1 1 0 0 0-.099.082c-.036.031-.062.062-.093.098-.025.031-.056.067-.077.104q-.039.052-.072.108c-.021.041-.036.077-.057.119-.016.041-.031.077-.042.119a2 2 0 0 0-.036.129c-.005.02-.005.046-.01.067-.005.02-.005.041-.01.062 0 .041-.005.088-.005.129q-.001.046.005.093 0 .06.015.13.01.06.026.123l.041.124c.01.026.026.052.037.072l-1.188-.46a13 13 0 0 0-.6-.154l-.325-.078a10 10 0 0 0-.94-.14c-.01 0-.016-.004-.026-.004a9 9 0 0 0-1.601-.021c-.315.02-.63.062-.945.114q-.116.017-.233.04-.232.048-.465.104l-.232.062c-.077.031-.15.067-.222.098l-.17.078c-.01.005-.021.005-.026.01-.052.026-.098.047-.145.073a2 2 0 0 0-.196.098c-.036.015-.072.036-.104.051a3 3 0 0 0-.305.18c-.035.027-.071.048-.103.073-.005.005-.01.005-.015.01a1 1 0 0 0-.098.073l-.01.01-.078.062c-.01.005-.02.016-.03.02l-.078.068c-.006.01-.016.016-.021.02-.031.032-.062.058-.093.088-.005 0-.005.006-.01.011a2 2 0 0 0-.094.088c-.005.005-.005.01-.01.01a1 1 0 0 0-.077.083c-.01.01-.026.02-.036.03q-.04.047-.088.094c-.005.01-.016.015-.02.025-.042.042-.078.083-.12.124l-.015.016q-.123.134-.264.253-.14.125-.289.227a3.2 3.2 0 0 1-.635.351 4 4 0 0 1-.336.124c-.217.047-.439.135-.63.15-.041 0-.088.01-.129.016l-.129.03-.124.047a1 1 0 0 0-.124.057c-.036.026-.077.046-.114.072a1 1 0 0 0-.103.088 1 1 0 0 0-.103.093c-.031.036-.062.067-.088.103-.026.042-.057.078-.078.12a1 1 0 0 0-.072.118q-.032.067-.057.134l-.046.134a1 1 0 0 0-.026.124c0 .006-.005.011-.005.016-.01.047-.01.108-.016.14q-.009.05-.01.103a.5.5 0 0 0 .026.165q.014.046.036.093v.005a1 1 0 0 0 .057.093 1 1 0 0 0 .067.093q.042.044.088.083.045.045.098.082c.124.109.155.145.315.228q.038.02.083.041c.005 0 .01.005.015.005q-.001.013.005.026.01.062.026.124a1 1 0 0 0 .041.124c.016.03.026.062.042.093q.007.016.015.026l.062.113.078.109q.042.051.088.098.045.043.098.088s.005.005.01.005a1 1 0 0 0 .207.14 1 1 0 0 0 .118.056.6.6 0 0 0 .104.036c.005.005.01.005.02.01.021.006.047.011.068.016-.016.279-.021.543.02.635.047.104.274-.211.501-.573-.03.357-.051.775 0 .899.057.129.367-.274.636-.718 3.662-.847 7.003 1.684 7.354 5.258-.067-.558-.754-.868-1.069-.79-.155.382-.418.873-.841 1.177.037-.345.02-.693-.052-1.033a3.3 3.3 0 0 1-.64 1.302c-.491.036-.982-.202-1.24-.558-.02-.015-.026-.046-.042-.067a1 1 0 0 1-.04-.108.4.4 0 0 1-.032-.109q-.006-.052-.005-.114v-.077a1 1 0 0 1 .026-.109 1 1 0 0 1 .036-.108c.02-.036.036-.072.062-.108.088-.248.088-.45-.072-.569a.6.6 0 0 0-.099-.051c-.02-.006-.046-.016-.067-.021l-.041-.015a1 1 0 0 0-.109-.026.4.4 0 0 0-.108-.016 1 1 0 0 0-.114-.01c-.025 0-.051.005-.077.005a.4.4 0 0 0-.114.015q-.054.007-.108.021a1 1 0 0 0-.109.036l-.103.047c-.03.015-.062.036-.098.052-1.203.784-.486 2.623.336 3.155-.31.057-.625.124-.713.191l-.01.01q.334.202.697.347.415.134.837.248v.005a5 5 0 0 0 1.301.093c2.288-.16 4.163-1.9 4.504-4.194l.031.134c.015.093.036.191.046.29v.005q.014.07.021.134v.02q.009.072.01.135.01.085.01.17v.083c0 .026.006.057.006.083 0 .03-.005.062-.005.093v.072c0 .036-.005.067-.005.103q.001.029-.006.067c0 .036-.005.073-.005.114q-.006.022-.005.046l-.015.12q.001.022-.005.046c-.006.051-.016.098-.021.15v.01c-.01.046-.02.098-.031.144v.016l-.031.14c0 .005-.005.015-.005.02a1 1 0 0 1-.036.14v.015q-.025.076-.042.145-.006.009-.005.01l-.046.155c-.021.052-.037.098-.057.15s-.036.103-.057.15l-.062.15h-.005c-.021.046-.041.097-.067.144l-.016.036c-.005.005-.005.01-.01.015a4.9 4.9 0 0 1-1.451 1.736q-.063.04-.125.088c-.01.01-.026.015-.036.026q-.053.038-.113.077l.015.031h.005l.217-.03h.005q.202-.033.403-.073a1 1 0 0 0 .114-.026l.072-.015c.036-.006.072-.016.109-.021.03-.01.062-.016.093-.026a10 10 0 0 0 1.497-.496 8.3 8.3 0 0 1-3.207 2.619 8.5 8.5 0 0 0 1.761-.305 8.25 8.25 0 0 0 4.881-3.9 8.2 8.2 0 0 1-1.39 3.321c.501-.33.964-.714 1.38-1.146a8.2 8.2 0 0 0 2.174-4.39c.177.817.227 1.657.15 2.49 3.73-5.202.31-10.594-1.12-12.015-.006-.01-.01-.015-.01-.026-.006.006-.006.006-.006.011 0-.005 0-.005-.005-.01q-.002.092-.01.186a7 7 0 0 1-.052.345 8 8 0 0 1-.088.341 4 4 0 0 1-.124.33q-.072.162-.155.316a4 4 0 0 1-.398.573c-.077.093-.16.176-.242.259a3 3 0 0 1-.15.129l-.12.103c-.092.072-.185.14-.288.201a4 4 0 0 1-.305.176 9 9 0 0 1-.325.145 3.6 3.6 0 0 1-.682.186c-.12.02-.238.03-.351.04a4 4 0 0 1-.248.011c-.12 0-.238-.01-.351-.02a3 3 0 0 1-.352-.052 3 3 0 0 1-.346-.088h-.005c.114-.01.227-.02.341-.041a3.7 3.7 0 0 0 1.317-.501q.148-.099.29-.207.138-.108.263-.232c.087-.078.165-.165.242-.253q.117-.14.217-.28c.01-.015.02-.035.031-.05q.08-.125.15-.249a3.6 3.6 0 0 0 .367-.981c.02-.119.041-.233.052-.346.01-.119.02-.238.02-.351q-.001-.125-.01-.248-.017-.178-.041-.346a4 4 0 0 0-.078-.346c-.036-.109-.072-.222-.114-.331a3.5 3.5 0 0 0-.527-.91 11 11 0 0 0-.237-.262 3 3 0 0 0-.134-.13 9 9 0 0 0-.718-.506 1 1 0 0 0-.104-.051 2 2 0 0 0-.49-.217","clip-rule":"evenodd"},null,-1)])])}var cZ={render:cL},cB=nj({default:()=>cQ,render:()=>cF}),cz={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cF(e,t){return(0,g.wg)(),(0,g.iD)("svg",cz,[...t[0]||(t[0]=[(0,g._)("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 cQ={render:cF},cH=nj({default:()=>cW,render:()=>cV}),cq={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cV(e,t){return(0,g.wg)(),(0,g.iD)("svg",cq,[...t[0]||(t[0]=[(0,g.uE)('<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 cW={render:cV},cX=nj({default:()=>cK,render:()=>cG}),cY={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cG(e,t){return(0,g.wg)(),(0,g.iD)("svg",cY,[...t[0]||(t[0]=[(0,g._)("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 cK={render:cG},cJ=nj({default:()=>c2,render:()=>c1}),c0={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function c1(e,t){return(0,g.wg)(),(0,g.iD)("svg",c0,[...t[0]||(t[0]=[(0,g.uE)('<path fill="#93D500" d="M7.285 13.5H2.007l.003.077.009.15.004.063.014.171.004.039a8.8 8.8 0 0 0 .387 1.871q0 .005.003.011l.058.173.016.044.08.216.048.124a5 5 0 0 0 .078.189l.052.117.031.07.066.14.022.046.079.16.012.024q.045.088.093.175l.004.008.02.036 4.508-2.715.017-.01a3.6 3.6 0 0 1-.33-1.179"></path><path fill="#4D5A31" d="m8.582 15.923-.013.013-3.717 3.717.057.053.105.094.055.048.127.107.034.029a8 8 0 0 0 .324.254l.006.004q.336.252.695.47l.025.016.137.08.084.048.08.045q.072.04.145.078a8 8 0 0 0 .431.21l.132-.32 1.87-4.54.007-.017a3.6 3.6 0 0 1-.584-.389"></path><path fill="#6BA43A" d="M8.195 15.553a3 3 0 0 1-.212-.262 4 4 0 0 1-.2-.296L3.27 17.713q.104.174.215.338l.007.012.003.005.007.01v.002l.019.026.001.002q.119.174.242.342l.006.007.005.007.11.142.015.019q.057.073.117.145l.028.034.155.181.094.105.053.058.024.026.07.075.028.03.125.127 3.723-3.723a3 3 0 0 1-.122-.13"></path><path fill="#4D5A31" d="m13.13 15.921-.124.096.009.016 2.714 4.506a8 8 0 0 0 1.134-.886l-3.718-3.717z"></path><path fill="#93D500" d="m15.335 20.576-.092-.153-2.534-4.206a4 4 0 0 1-.316.167 3.6 3.6 0 0 1-2.567.2c-.057-.017-.113-.04-.169-.06s-.113-.037-.168-.06L7.62 21.003l-.073.178-.063.152.014.006.016.006.004.002.133.05.167.065.085.032a9 9 0 0 0 1.88.442l.075.008.142.016.036.003.174.014.06.004.153.01.094.003.122.004.217.003a9 9 0 0 0 1.495-.126l.154-.028.088-.017.09-.02.15-.032.028-.007a9 9 0 0 0 2.124-.791l.13-.074.157-.088.107-.06.001-.001.002-.001h.001l.001-.001.002-.001.006-.004.034-.02zm-6.75-10.21.123-.097-.009-.015-2.714-4.506q-.189.123-.372.256a9 9 0 0 0-.762.629L8.57 10.35z"></path><path fill="#4D5A31" d="M4.594 6.88q-.064.065-.124.13l-.123.128a9 9 0 0 0-.753.933l-.032.046-.076.112-.104.16a8.83 8.83 0 0 0-1.375 4.397l-.005.178-.003.179h5.266q.002-.09.008-.179c.006-.089.004-.119.01-.178a3.57 3.57 0 0 1 .794-1.917q.059-.069.12-.133c.04-.044.077-.09.12-.133L4.594 6.881Zm10.864-1.306q-.01-.008-.021-.013l-.14-.083-.082-.047-.082-.046-.143-.077-.023-.012a9 9 0 0 0-.95-.426l-.024-.01a9 9 0 0 0-1.987-.498l-.074-.01-.075-.008-.143-.016-.04-.004-.17-.014-.066-.004-.146-.009-.078-.003v5.278c.27.028.54.086.8.174l3.884-3.884a9 9 0 0 0-.44-.288"></path><path fill="#6BA43A" d="M10.679 4.29q-.09 0-.179.003a9 9 0 0 0-1.113.115l-.024.004-.155.029-.087.016a6 6 0 0 0-.24.052l-.028.006a9 9 0 0 0-2.125.792l-.13.074-.156.087-.115.066h-.002l-.008.005-.03.017v.001l.093.153 2.625 4.359a4 4 0 0 1 .316-.167 3.6 3.6 0 0 1 1.536-.35V4.285q-.09.001-.178.004Z"></path><path fill="#4D5A31" d="M19.704 12.708a10 10 0 0 0-.05-.61l-.002-.014-.001-.007-.027-.201v-.006a9 9 0 0 0-.273-1.245l-.002-.008-.059-.19-.008-.025-.057-.17-.016-.046-.054-.147-.027-.07a5 5 0 0 0-.086-.216l-.04-.094-.052-.12-.03-.068-.066-.142-.021-.043-.08-.162-.012-.022-.093-.177-.003-.006a9 9 0 0 0-.504-.818l-3.886 3.886q.132.392.174.8h5.278q0-.04-.003-.08Z"></path><path fill="#6BA43A" d="M14.45 13.143q-.002.09-.01.179-.001.09-.01.178a3.57 3.57 0 0 1-.793 1.918c-.037.046-.08.088-.12.133-.04.044-.077.09-.12.132l3.723 3.723q.063-.064.124-.13l.123-.128q.415-.448.754-.935l.027-.039.082-.12.07-.108.034-.052a8.83 8.83 0 0 0 1.377-4.573l.003-.178z"></path><path fill="#424143" d="M21.279 2.722a2.467 2.467 0 0 0-3.953 2.84l-5.374 5.373a2.467 2.467 0 1 0 1.114 1.113l5.373-5.373a2.466 2.466 0 0 0 2.84-3.953"></path>',10)])])}var c2={render:c1},c4=nj({default:()=>c3,render:()=>c6}),c8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function c6(e,t){return(0,g.wg)(),(0,g.iD)("svg",c8,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 c3={render:c6},c5=nj({default:()=>de,render:()=>c9}),c7={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function c9(e,t){return(0,g.wg)(),(0,g.iD)("svg",c7,[...t[0]||(t[0]=[(0,g._)("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,g._)("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,g._)("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,g._)("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 de={render:c9},dt=nj({default:()=>da,render:()=>dr}),dn={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function dr(e,t){return(0,g.wg)(),(0,g.iD)("svg",dn,[...t[0]||(t[0]=[(0,g._)("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.
5036v4.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 da={render:dr},di=nj({default:()=>du,render:()=>ds}),dl={xmlns:"http://www.w3.org/2000/svg",fill:"green",viewBox:"-2 0 24 24"};function ds(e,t){return(0,g.wg)(),(0,g.iD)("svg",dl,[...t[0]||(t[0]=[(0,g._)("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,g._)("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 du={render:ds},dc=nj({default:()=>dm,render:()=>dp}),dd={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function dp(e,t){return(0,g.wg)(),(0,g.iD)("svg",dd,[...t[0]||(t[0]=[(0,g._)("path",{fill:"#41B883",d:"m14.31 4.34-2.31 4-2.31-4H2l10 17.32L22 4.34z"},null,-1),(0,g._)("path",{fill:"#34495E",d:"m14.31 4.34-2.31 4-2.31-4H6l6 10.392L18 4.34z"},null,-1)])])}var dm={render:dp},df=Object.assign({"../icons/Add.svg":nL,"../icons/AddTab.svg":nF,"../icons/Alert.svg":nV,"../icons/ArrowLeft.svg":nG,"../icons/ArrowRight.svg":n1,"../icons/Brackets.svg":n6,"../icons/Branch.svg":n9,"../icons/Changelog.svg":rr,"../icons/Checkmark.svg":rl,"../icons/ChevronDown.svg":rd,"../icons/ChevronLeft.svg":rh,"../icons/ChevronRight.svg":rb,"../icons/ChevronUp.svg":rx,"../icons/Clipboard.svg":rA,"../icons/Close.svg":r$,"../icons/CloseTab.svg":rU,"../icons/CloseTabs.svg":rL,"../icons/Cloud.svg":rF,"../icons/CodeFolder.svg":rV,"../icons/Cog.svg":rG,"../icons/Collection.svg":r1,"../icons/Cookie.svg":r6,"../icons/DarkMode.svg":r9,"../icons/Delete.svg":ar,"../icons/Discord.svg":al,"../icons/DocsPage.svg":ad,"../icons/Download.svg":ah,"../icons/Duplicate.svg":ab,"../icons/Edit.svg":ax,"../icons/Ellipses.svg":aA,"../icons/Email.svg":a$,"../icons/Error.svg":aU,"../icons/Example.svg":aL,"../icons/ExternalLink.svg":aF,"../icons/FilterList.svg":aV,"../icons/Folder.svg":aG,"../icons/GitHub.svg":a1,"../icons/GitHubLine.svg":a6,"../icons/Globe.svg":a9,"../icons/Google.svg":ia,"../icons/Help.svg":is,"../icons/Hide.svg":ip,"../icons/History.svg":iv,"../icons/House.svg":iw,"../icons/Import.svg":i_,"../icons/Info.svg":iD,"../icons/Key.svg":iI,"../icons/Leave.svg":iR,"../icons/LightDarkModeToggle.svg":iB,"../icons/LightMode.svg":iH,"../icons/Link.svg":iX,"../icons/Lock.svg":iJ,"../icons/Logo.svg":i4,"../icons/Magic.svg":i5,"../icons/Markdown.svg":ot,"../icons/Menu.svg":oi,"../icons/NotAllowed.svg":ou,"../icons/Page.svg":om,"../icons/Pencil.svg":ov,"../icons/Play.svg":ow,"../icons/Refresh.svg":o_,"../icons/R
5oadmap.svg":oD,"../icons/Scribble.svg":oI,"../icons/Search.svg":oR,"../icons/Server.svg":oB,"../icons/Settings.svg":oH,"../icons/Show.svg":oX,"../icons/Sort.svg":oJ,"../icons/Terminal.svg":o4,"../icons/Trash.svg":o5,"../icons/Unlock.svg":lt,"../icons/Unwatch.svg":li,"../icons/Upload.svg":lu,"../icons/User.svg":lm,"../icons/UserSwitch.svg":lv,"../icons/Users.svg":lw,"../icons/Versions.svg":l_,"../icons/Wallet.svg":lD,"../icons/Watch.svg":lI,"../icons/Workspace.svg":lR,"../icons/programming-framework-angular.svg":lB,"../icons/programming-framework-astro.svg":lH,"../icons/programming-framework-laravel.svg":lX,"../icons/programming-framework-nextdotjs.svg":lJ,"../icons/programming-framework-react.svg":l4,"../icons/programming-framework-vuedotjs.svg":l5,"../icons/programming-language-c.svg":st,"../icons/programming-language-clojure.svg":si,"../icons/programming-language-csharp.svg":su,"../icons/programming-language-css3.svg":sm,"../icons/programming-language-dart.svg":sv,"../icons/programming-language-fsharp.svg":sw,"../icons/programming-language-go.svg":s_,"../icons/programming-language-html5.svg":sD,"../icons/programming-language-http.svg":sI,"../icons/programming-language-java.svg":sR,"../icons/programming-language-javascript.svg":sB,"../icons/programming-language-json.svg":sH,"../icons/programming-language-kotlin.svg":sX,"../icons/programming-language-node.svg":sJ,"../icons/programming-language-objc.svg":s4,"../icons/programming-language-ocaml.svg":s5,"../icons/programming-language-php.svg":ut,"../icons/programming-language-powershell.svg":ui,"../icons/programming-language-python.svg":uu,"../icons/programming-language-r.svg":um,"../icons/programming-language-ruby.svg":uv,"../icons/programming-language-rust.svg":uw,"../icons/programming-language-scala.svg":u_,"../icons/programming-language-shell.svg":uD,"../icons/programming-language-swift.svg":uI,"../icons/programming-language-typescript.svg":uR,"../icons/programming-script-code.svg":uB,"../icons/programming-tool-git.svg":uH,"../icons/programming-tool-tailwindcss.svg":uX}),dh=Object.assign({"../logos/Adonisjs.svg":uJ,"../logos/Astro.svg":u4,"../logos/Docusaurus.svg":u5,"../logos/Dotnet.svg":ct,"../logos/Elysiajs.svg":ci,"../logos/Express.svg":cu,"../logos/Fastapi.svg":cm,"../logos/Fastify.svg":cv,"../logos/Go.svg":cw,"../logos/Hono.svg":c_,"../logos/Laravel.svg":cD,"../logos/Litestar.svg":cI,"../logos/Nestjs.svg":cR,"../logos/Nextjs.svg":cB,"../logos/Nitro.svg":cH,"../logos/Nuxt.svg":cX,"../logos/Openapi.svg":cJ,"../logos/Platformatic.svg":c4,"../logos/React.svg":c5,"../logos/Rust.svg":dt,"../logos/Svelte.svg":di,"../logos/Vue.svg":dc}),dg=e=>{let t=`../icons/${e}.svg`;return df[t]?df[t]:(console.warn(`Could not find icon: ${e}`),null)},dv=e=>{let t=`../logos/${e}.svg`;return dh[t]?dh[t]:(console.warn(`Could not find icon: ${e}`),null)},dy=(0,h.jS)({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"}}),db=w((0,g.aZ)({inheritAttrs:!1,__name:"ScalarIcon",props:{icon:{},logo:{},size:{},thickness:{},label:{}},setup(e){(0,q.sj)(e=>({c07589c2:n.value}));let{cx:t}=(0,h.li)(),n=(0,g.Fl)(()=>e.thickness??"2"),r=(0,g.Fl)(()=>e.label?{"aria-label":e.label}:{"aria-hidden":!0,role:"presentation"}),a=(0,g.Fl)(()=>e.icon?dg(e.icon):e.logo?dv(e.logo):void 0);return(n,i)=>((0,g.wg)(),(0,g.j4)((0,g.LL)(a.value),(0,v.vs)((0,g.F4)({...(0,y.SU)(t)("scalar-icon",(0,y.SU)(dy)({size:e.size})),...r.value})),null,16))}}),[["__scopeId","data-v-b651bb23"]]),dO=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarIconLegacyAdapter",props:{icon:{type:[Object,Function]},label:{},weight:{},logo:{},size:{},thickness:{}},setup(e){let{cx:t}=(0,h.li)();return(n,r)=>"string"==typeof e.icon?((0,g.wg)(),(0,g.j4)(db,(0,g.dG)({key:0},{...n.$props,...n.$attrs},{icon:e.icon}),null,16,["icon"])):((0,g.wg)(),(0,g.j4)((0,g.LL)(e.icon),(0,g.dG)({key:1,label:e.label,weight:e.weight},(0,y.SU)(t)((0,y.SU)(dy)({size:e.size}))),null,16,["label","weight"]))}}),dw="scalar-tooltip",dk=(0,y.iH)(),dx=(0,y.iH)(),dS=(0,y.iH)(),{floatingStyles:d_}=(0,e7.YF)((0,g.Fl)(()=>(0,y.SU)(dS.value?.targetRef)),dx,{placement:(0,g.Fl)(()=>(0,y.SU)(dS.value?.placement)),whileElementsMounted:e9.Me,middleware:(0,g.Fl)(()=>[(0,e9.RR)(),(0,e9.uY)()])});function dE(e){(function(e){let t=(0,y.SU)(dS.value?.targetRef);if(e instanceof MouseEvent&&e.relatedTarget instanceof Element&&t){let n=function(e){let t=[],n=e.parentElement;for(;n;)t.push(n),n=n.parentElement;return t}(e.relatedTarget);return"scalar-tooltip"!==e.relatedTarget.id&&!n.some(e=>"scalar-tooltip"===e.id)&&e.relatedTarget!==t}return!0})(e)&&(dT(),dS.value=void 0)}function dA(e){"Escape"===e.key&&(e.stopPropagation(),dE(e))}function dT(){dk.value&&(clearTimeout(dk.value),dk.value=void 0)}function dD(e){function t(t){let r=(0,y.SU)(e.delay)??300;dT(),r>0?dk.value=setTimeout(()=>n(t),r):n(t)}function n(t){dT(),document.addEventListener("keydown",dA,{once:!0,capture:!0}),dS.value=e}!function(){if("undefined"==typeof document||"undefined"==typeof window||dx.value)return;let e=document.getElementById(dw);
5e?dx.value=e:(dx.value=document.createElement("div"),dx.value.role="tooltip",dx.value.id=dw,dx.value.classList.add("scalar-tooltip"),dx.value.classList.add("scalar-app"),dx.value.style.setProperty("display","none"),dx.value.addEventListener("mouseleave",dE),document.body.appendChild(dx.value))}(),(0,g.YP)(()=>(0,y.SU)(e.targetRef),(e,r)=>{r&&(r.removeEventListener("mouseenter",t),r.removeEventListener("mouseleave",dE),r.removeEventListener("focus",n),r.removeEventListener("blur",dE),r.removeAttribute("aria-describedby")),e&&(e.addEventListener("mouseenter",t),e.addEventListener("mouseleave",dE),e.addEventListener("focus",n),e.addEventListener("blur",dE),e.setAttribute("aria-describedby",dw))},{immediate:!0})}(0,g.YP)(d_,()=>{dx.value&&(dx.value.style.position=d_.value.position,dx.value.style.top=d_.value.top,dx.value.style.left=d_.value.left,dx.value.style.transform=d_.value.transform??"",dx.value.style.willChange=d_.value.willChange??"")}),(0,g.YP)(dS,e=>{if(dx.value){if(e){let t=(0,y.SU)(e?.contentTarget)??"textContent";dx.value[t]=(0,y.SU)(e?.content)??"";let n=(0,y.SU)(e?.offset)??4;dx.value.style.setProperty("--scalar-tooltip-offset",`${n}px`),dx.value.style.setProperty("display","block")}else dx.value.innerHTML="",dx.value.style.removeProperty("--scalar-tooltip-offset"),dx.value.style.setProperty("display","none")}},{deep:!0});var dC=(0,g.aZ)({__name:"ScalarTooltip",props:{content:{default:""},delay:{default:()=>300},placement:{default:"top"},offset:{default:()=>4}},setup(e){let t=(0,y.iH)(null);return dD({content:(0,g.Fl)(()=>e.content),delay:(0,g.Fl)(()=>e.delay),placement:(0,g.Fl)(()=>e.placement),offset:(0,g.Fl)(()=>e.offset),targetRef:(0,g.Fl)(()=>t.value?.children?.[0]||t.value||void 0)}),(e,n)=>((0,g.wg)(),(0,g.iD)("div",{ref_key:"wrapperRef",ref:t,class:(0,v.C_)({contents:!!e.$slots.default})},[(0,g.WI)(e.$slots,"default")],2))}}),d$=["aria-disabled"],dP={key:0,class:"sr-only"},dI=(0,g.aZ)({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,h.jS)({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:S},compoundVariants:[{size:"md",variant:"ghost",class:"size-8 p-2 m-1 -outline-offset-2 rounded-lg"}]}),{cx:n}=(0,h.li)(),r=(0,g.AE)("ref");return dD({content:(0,g.Fl)(()=>e.label),offset:(0,g.Fl)(()=>"ghost"===e.variant?0:4),placement:(0,g.Fl)(()=>
5"boolean"==typeof e.tooltip?void 0:e.tooltip),targetRef:(0,g.Fl)(()=>e.tooltip?r.value:void 0)}),(r,a)=>((0,g.wg)(),(0,g.iD)("button",(0,g.dG)({ref:"ref","aria-disabled":e.disabled,type:"button"},(0,y.SU)(n)((0,y.SU)(t)({size:e.size,variant:e.variant,disabled:e.disabled}))),[(0,g.Wm)((0,y.SU)(dO),{icon:e.icon,thickness:e.thickness,weight:e.weight},null,8,["icon","thickness","weight"]),e.tooltip?(0,g.kq)("",!0):((0,g.wg)(),(0,g.iD)("span",dP,(0,v.zw)(e.label),1))],16,d$))}}),dN=n(79709),dU=["innerHTML"],dM=(0,g.aZ)({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:n}=(0,h.li)();t({el:(0,g.AE)("div")});let r=t=>{if(!e.withAnchors)return e.transform?.(t)||t;if(!(0,dN.Xy)(t))return t;let n=(0,dN.sV)(t).toLowerCase().replace(/\s+/g,"-");return(t.data={hProperties:{id:e.anchorPrefix?`${e.anchorPrefix}/description/${n}`:n}},e.transform)?e.transform(t):t},a=(0,g.Fl)(()=>(0,dN.Xr)(e.value??"",{removeTags:e.withImages?[]:["img","picture"],transform:e.withAnchors&&"heading"===e.transformType?r:e.transform,transformType:e.transformType}));return(t,r)=>((0,g.wg)(),(0,g.iD)("div",(0,g.dG)({ref:"div"},(0,y.SU)(n)("markdown",{"line-clamp-(--markdown-clamp)":!!e.clamp}),{style:{"--markdown-clamp":e.clamp},innerHTML:a.value}),null,16,dU))}}),dR=["aria-controls","aria-expanded"],dj=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarMarkdownSummary",props:(0,g.Vf)({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,g.p1)(e,["clamp"]),n=(0,g.Me)(),r=(0,g.tT)(e,"modelValue"),a=(0,g.tT)(e,"truncated"),i=(0,g.AE)("scalar-markdown");function o(){let e=i.value?.el;e&&(a.value=e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth)}(0,eh.yU7)(()=>i.value?.el,o),(0,g.bv)(o);let{cx:l}=(0,h.li)();return(i,o)=>((0,g.wg)(),(0,g.iD)("div",(0,v.vs)((0,g.F4)((0,y.SU)(l)("group/summary flex gap-0.5",r.value?"flex-col":"flex-row items-baseline"))),[(0,g.Wm)(dM,(0,g.dG)(t,{id:(0,y.SU)(n),ref:"scalar-markdown",clamp:r.value?void 0:e.clamp,class:{"markdown-summary truncate":!r.value}}),null,16,["id","clamp","class"]),!e.controlled&&(a.value||r.value)?((0,g.wg)(),(0,g.iD)("button",{key:0,"aria-controls":(0,y.SU)(n),"aria-expanded":r.value,class:(0,v.C_)(["whitespace-nowrap font-medium hover:underline",{"self-end":r.value}]),type:"button",onClick:o[0]||(o[0]=e=>r.value=!r.value)},[(0,g.WI)(i.$slots,"button",{open:r.value},()=>[(0,g.Uk)((0,v.zw)(r.value?" Show Less":"More"),1)])],10,dR)):(0,g.kq)("",!0)],16))}}),dL={class:"h-5 w-auto"},dZ={class:"sr-only"},dB=(0,g.aZ)({__name:"ScalarMenuButton",props:{open:{type:Boolean}},setup:e=>(t,n)=>((0,g.wg)(),(0,g.j4)((0,y.SU)(nT),{class:"gap-0.75 px-2 py-1.5 text-c-header-1 hover:bg-b-header-2"},{default:(0,g.w5)(()=>[(0,g._)("div",dL,[(0,g.WI)(t.$slots,"logo",{},()=>[(0,g.Wm)((0,y.SU)(db),{icon:"Logo"})])]),(0,g._)("span",dZ,[(0,g.WI)(t.$slots,"label",{},()=>[(0,g.Uk)((0,v.zw)(e.open?"Close Menu":"Open Menu"),1)])]),(0,g.Wm)((0,y.SU)(t$.Z),{class:(0,v.C_)(["shrink-0 text-c-header-2 group-hover/button:text-c-header-1 size-3.5",e.open?"rotate-180":""]),weight:"bold"},null,8,["class"])]),_:3}))}),dz=n(7079);dz.vF,dz._md,dz.Qdk,dz.c2C,dz.o48,dz.Iyn,dz.vW2,dz.zJj,dz._Tf,dz.dhV,dz.leo,dz.f$P,dz.yTm,dz.OLm,dz.cen,dz.F$F,dz.Q5M,dz.Tdg,dz.vlV,dz.gi8,dz.TKB,dz.VXW,dz.VhA,dz.vVZ,dz.Lsm,dz.kZ2,dz.MUr,dz.yjW,dz.dP,dz.wxn,dz.FZ5,dz.Kq5,dz.wy4,dz.FwI,dz.agc,dz.gA1,dz.TMN,dz.f_M,dz.tFI,dz.n9h,dz.NPB,dz.FoU,dz.pn0,dz.Mgv,dz.lo1,dz.XeU,dz.VpE,dz.qyx,dz.R8g,dz.Ot,dz.W4n,dz.oZD,dz.h_9,dz.cTL,dz.Zox,dz.Xlm,dz.uPy,dz.$cW,dz.RDm,dz.OS8,dz.LcO,dz.zP,dz.quN,dz.dpZ,dz.xxw,dz.TfC,dz.oUV,dz.bZG,dz.Ll1,dz.NsJ,dz.Vns,dz.rtg,dz.Op4,dz.CUO,dz.nUV,dz.tt3,dz.n7_,dz.QTM,dz.aj6,dz.AGv,dz.hxy,dz.bJp,dz.DX9,dz.pai,dz.e14,dz.Blo,dz.axz,dz.N7A,dz.K$U,dz.P2Q,dz.UFm,dz.zhK,dz.PcA,dz.YCo,dz.PYP,dz.G80,dz.GZv,dz.Ki9,dz.wQN,dz.GRI,dz.EW1,dz.PrB,dz.hBQ,dz.RVF,dz.J1z,dz.vJJ,dz.lah,dz.fhI,dz.Ech,dz.GRm,dz.hgM,dz.PK,dz.cZJ,dz.t9Y,dz.GGM,dz.$N8,dz.BeV;let dF={Root:dz.M5V,Trigger:dz.$FS,Portal:dz.cqY,Content:dz.AWV,Arrow:dz.u4K,Item:dz.Xiv,Group:dz.Qkc,Separator:dz.VD$,CheckboxItem:dz.bOk,ItemIndicator:dz.nC8,Label:dz.Juw,RadioGroup:dz._xG,RadioItem:dz.qBA,Sub:dz.Phy,SubContent:dz.TGh,SubTrigger:dz.ktR};dz.y0B,dz._5Z,dz.Vm9,dz.wpY,dz.$Cz,dz.INq,dz.ZR,dz.M4d,dz.Yi_,dz.EaE,dz.bZw,dz.Lj4,dz.xZu,dz.b_U,dz.Bhs,dz.ou4,dz._td,dz.RqI,dz.DkN,dz.M4s,dz.PXf,dz.rQE,dz.bVy,dz.uET,dz.Obn,dz.Naz,dz.WO,dz.yEP,dz.g6,dz.AOx,dz.OgT,dz.Ba6,dz.Gmi,dz.tPP,dz.lSi,dz.hLo,dz.QPk,dz.CGT,dz.TTD,dz.zEE,dz.wVq,dz.S6m,dz.PIG,dz.Ng2,dz.Low,dz.OK7,dz.Trq,dz.$OG,dz.B5o,dz.$yP,dz.OLO,dz.Djt,dz.kO6,dz.Zvg,dz.peD,dz.m9O,dz.$0K,dz.Ki7,dz.qVJ,dz.s23,dz.PgP,dz.xol,dz.i9m,dz.yky,dz.QHN,dz.xpB,dz.tW2,dz.ZyW,dz.YFB,dz.ZYY,dz.mJs,dz.Q4O,dz.n8R,dz.UES,dz.dIb,dz.fQK,dz.AZ3,dz.J3K,dz.aO6,dz.Dr6,dz.xlY,dz.$Fe,dz.FPn,dz.amr,dz.EQz,dz.apg,dz.gb5,dz.q4$,dz.ljF,dz.fpW,dz.i4d,dz.uef,dz.Bwz,dz.nrl,dz.U$0,dz.o63,dz.n5t,dz.DIV,dz.QlF,dz.S_l,dz.Q_Z,dz.PnU,dz.Jk_,dz.kik,dz.GVG,dz.l7p,dz.gsu,dz.Uj8,dz.i5q,dz.NVu,dz.ESN,dz.rXD,dz.N40,dz.j7H,dz.VbO,dz.taX,dz.WIb,dz.Vw1,dz.Chj,dz.NXy,dz.He5,dz.U2u,dz.drW,dz.nUL,dz.SPt,dz.NNU,dz.v_d,dz.evU,dz.Mz3,dz.$lx,dz.nuO,dz.mrj,dz.VWW,dz._lt,dz.gDw,dz.sA4,dz._ih,dz.Miw,dz.ljp,dz.UGh,dz.GXR,dz.PP6,dz.hAV,dz.cec,dz.RMr,dz.kE5,dz.Jf3,dz.
5wYI,dz.aJU,dz._vU,dz.Cek,dz.NMy,dz.pnl,dz.e4w,dz.kfG,dz.r5$;var dQ={key:1,class:"size-3"},dH=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarMenuLink",props:{is:{default:"a"},icon:{type:[Object,Function]},strong:{type:Boolean},submenu:{type:Boolean}},setup(e){let{cx:t}=(0,h.li)();return(n,r)=>((0,g.wg)(),(0,g.j4)((0,y.SU)(nh),(0,g.dG)((0,y.SU)(t)("flex items-center"),{is:e.submenu?(0,y.SU)(dF).SubTrigger:(0,y.SU)(dF).Item,as:e.is}),{default:(0,g.w5)(()=>[e.icon?((0,g.wg)(),(0,g.j4)((0,y.SU)(dO),{key:0,class:(0,v.C_)([e.strong?"text-c-1":"text-c-2","string"==typeof e.icon?"size-3":"size-3.5 -mx-px"]),icon:e.icon,thickness:e.strong?"2.5":"2",weight:e.strong?"bold":"regular"},null,8,["class","icon","thickness","weight"])):((0,g.wg)(),(0,g.iD)("div",dQ)),(0,g._)("div",{class:(0,v.C_)(["flex items-center flex-1 min-w-0 truncate",e.strong?"font-medium":"font-normal"])},[(0,g.WI)(n.$slots,"default")],2)]),_:3},16,["is","as"]))}}),dq=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarMenuProduct",props:{is:{default:"a"},selected:{type:Boolean},icon:{type:[Object,Function]}},setup(e){let{cx:t}=(0,h.li)(),n=(0,h.jS)({base:"gap-1.5",variants:{selected:{true:"pointer-events-none bg-b-2 dark:bg-b-3",false:"cursor-pointer hover:bg-b-2 dark:hover:bg-b-3"}}});return(r,a)=>((0,g.wg)(),(0,g.j4)((0,y.SU)(dH),(0,g.dG)({is:e.is,icon:e.icon,strong:"",target:"_blank"},(0,y.SU)(t)((0,y.SU)(n)({selected:e.selected}))),{default:(0,g.w5)(()=>[(0,g.WI)(r.$slots,"default")]),_:3},16,["is","icon"]))}}),dV={key:0},dW={key:1},dX={key:2},dY={key:3},dG={key:4},dK={key:5},dJ=(0,g.aZ)({name:"ScalarIconHouse",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,R.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,y.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",dV,[...r[0]||(r[0]=[(0,g._)("path",{d:"M222.14,105.85l-80-80a20,20,0,0,0-28.28,0l-80,80A19.86,19.86,0,0,0,28,120v96a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V164h24v52a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V120A19.86,19.86,0,0,0,222.14,105.85ZM204,204H164V152a12,12,0,0,0-12-12H104a12,12,0,0,0-12,12v52H52V121.65l76-76,76,76Z"},null,-1)])])):"duotone"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",dW,[...r[1]||(r[1]=[(0,g._)("path",{d:"M216,120v96H152V152H104v64H40V120a8,8,0,0,1,2.34-5.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,216,120Z",opacity:"0.2"},null,-1),(0,g._)("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1)])])):"fill"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",dX,[...r[2]||(r[2]=[(0,g._)("path",{d:"M224,120v96a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V164a4,4,0,0,0-4-4H108a4,4,0,0,0-4,4v52a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a16,16,0,0,1,4.69-11.31l80-80a16,16,0,0,1,22.62,0l80,80A16,16,0,0,1,224,120Z"},null,-1)])])):"light"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",dY,[...r[3]||(r[3]=[(0,g._)("path",{d:"M217.9,110.1l-80-80a14,14,0,0,0-19.8,0l-80,80A13.92,13.92,0,0,0,34,120v96a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V158h36v58a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V120A13.92,13.92,0,0,0,217.9,110.1ZM210,210H158V152a6,6,0,0,0-6-6H104a6,6,0,0,0-6,6v58H46V120a2,2,0,0,1,.58-1.42l80-80a2,2,0,0,1,2.84,0l80,80A2,2,0,0,1,210,120Z"},null,-1)])])):"regular"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",dG,[...r[4]||(r[4]=[(0,g._)("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1)])])):"thin"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",dK,[...r[5]||(r[5]=[(0,g._)("path",{d:"M216.49,111.51l-80-80a12,12,0,0,0-17,0l-80,80A12,12,0,0,0,36,120v96a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V156h40v60a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V120A12,12,0,0,0,216.49,111.51ZM212,212H156V152a4,4,0,0,0-4-4H104a4,4,0,0,0-4,4v60H44V120a4,4,0,0,1,1.17-2.83l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,212,120Z"},null,-1)])])):(0,g.kq)("",!0)],16))}}),d0=n(62647),d1={key:0},d2={key:1},d4={key:2},d8={key:3},d6={key:4},d3={key:5},d5=(0,g.aZ)({name:"ScalarIconNotepad",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,R.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,y.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",d1,[...r[0]||(r[0]=[(0,g._)("path",{d:"M172,124a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,124Zm-12,28H96a12,12,0,0,0,0,24h64a12,12,0,0,0,0-24ZM220,40V200a36,36,0,0,1-36,36H72a36,36,0,0,1-36-36V4
50A12,12,0,0,1,48,28H72V24a12,12,0,0,1,24,0v4h20V24a12,12,0,0,1,24,0v4h20V24a12,12,0,0,1,24,0v4h24A12,12,0,0,1,220,40ZM196,52H184v4a12,12,0,0,1-24,0V52H140v4a12,12,0,0,1-24,0V52H96v4a12,12,0,0,1-24,0V52H60V200a12,12,0,0,0,12,12H184a12,12,0,0,0,12-12Z"},null,-1)])])):"duotone"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",d2,[...r[1]||(r[1]=[(0,g._)("path",{d:"M208,40V200a24,24,0,0,1-24,24H72a24,24,0,0,1-24-24V40Z",opacity:"0.2"},null,-1),(0,g._)("path",{d:"M168,128a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,128Zm-8,24H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16ZM216,40V200a32,32,0,0,1-32,32H72a32,32,0,0,1-32-32V40a8,8,0,0,1,8-8H72V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,40Zm-16,8H184v8a8,8,0,0,1-16,0V48H136v8a8,8,0,0,1-16,0V48H88v8a8,8,0,0,1-16,0V48H56V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16Z"},null,-1)])])):"fill"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",d4,[...r[2]||(r[2]=[(0,g._)("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H136V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48a8,8,0,0,0-8,8V200a32,32,0,0,0,32,32H184a32,32,0,0,0,32-32V40A8,8,0,0,0,208,32ZM120,56a8,8,0,0,1,16,0v8a8,8,0,0,1-16,0ZM80,72a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0v8A8,8,0,0,1,80,72Zm80,96H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm24-72a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0Z"},null,-1)])])):"light"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",d8,[...r[3]||(r[3]=[(0,g._)("path",{d:"M166,128a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,128Zm-6,26H96a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12ZM214,40V200a30,30,0,0,1-30,30H72a30,30,0,0,1-30-30V40a6,6,0,0,1,6-6H74V24a6,6,0,0,1,12,0V34h36V24a6,6,0,0,1,12,0V34h36V24a6,6,0,0,1,12,0V34h26A6,6,0,0,1,214,40Zm-12,6H182V56a6,6,0,0,1-12,0V46H134V56a6,6,0,0,1-12,0V46H86V56a6,6,0,0,1-12,0V46H54V200a18,18,0,0,0,18,18H184a18,18,0,0,0,18-18Z"},null,-1)])])):"regular"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",d6,[...r[4]||(r[4]=[(0,g._)("path",{d:"M168,128a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,128Zm-8,24H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16ZM216,40V200a32,32,0,0,1-32,32H72a32,32,0,0,1-32-32V40a8,8,0,0,1,8-8H72V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,40Zm-16,8H184v8a8,8,0,0,1-16,0V48H136v8a8,8,0,0,1-16,0V48H88v8a8,8,0,0,1-16,0V48H56V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16Z"},null,-1)])])):"thin"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",d3,[...r[5]||(r[5]=[(0,g._)("path",{d:"M164,128a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,128Zm-4,28H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8ZM212,40V200a28,28,0,0,1-28,28H72a28,28,0,0,1-28-28V40a4,4,0,0,1,4-4H76V24a4,4,0,0,1,8,0V36h40V24a4,4,0,0,1,8,0V36h40V24a4,4,0,0,1,8,0V36h28A4,4,0,0,1,212,40Zm-8,4H180V56a4,4,0,0,1-8,0V44H132V56a4,4,0,0,1-8,0V44H84V56a4,4,0,0,1-8,0V44H52V200a20,20,0,0,0,20,20H184a20,20,0,0,0,20-20Z"},null,-1)])])):(0,g.kq)("",!0)],16))}}),d7=n(52443),d9=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarMenuProducts",props:{selected:{},showDocs:{type:Boolean},hrefs:{}},emits:["open"],setup(e){let{cx:t}=(0,h.li)();return(n,r)=>((0,g.wg)(),(0,g.iD)("div",(0,v.vs)((0,g.F4)((0,y.SU)(t)("flex flex-col"))),[(0,g.Wm)(dq,{href:e.hrefs?.dashboard??"https://dashboard.scalar.com",icon:(0,y.SU)(dJ),selected:"dashboard"===e.selected,onClick:r[0]||(r[0]=e=>n.$emit("open",e,"dashboard"))},{default:(0,g.w5)(()=>[...r[4]||(r[4]=[(0,g.Uk)(" Dashboard ",-1)])]),_:1},8,["href","icon","selected"]),e.showDocs||"docs"===e.selected?((0,g.wg)(),(0,g.j4)(dq,{key:0,href:e.hrefs?.docs??"https://docs.scalar.com",icon:(0,y.SU)(d0.Z),selected:"docs"===e.selected,onClick:r[1]||(r[1]=e=>n.$emit("open",e,"docs"))},{default:(0,g.w5)(()=>[...r[5]||(r[5]=[(0,g.Uk)(" Docs ",-1)])]),_:1},8,["href","icon","selected"])):(0,g.kq)("",!0),(0,g.Wm)(dq,{href:e.hrefs?.editor??"https://editor.scalar.com",icon:(0,y.SU)(d5),selected:"editor"===e.selected,onClick:r[2]||(r[2]=e=>n.$emit("open",e,"editor"))},{default:(0,g.w5)(()=>[...r[6]||(r[6]=[(0,g.Uk)(" Editor ",-1)])]),_:1},8,["href","icon","selected"]),(0,g.Wm)(dq,{href:e.hrefs?.client??"https://client.scalar.com",icon:(0,y.SU)(d7.Z),selected:"client"===e.selected,onClick:r[3]||(r[3]=e=>n.$emit("open",e,"client"))},{default:(0,g.w5)(()=>[...r[7]||(r[7]=[(0,g.Uk)(" Client ",-1)])]),_:1},8,["href","icon","selected"])],16))}}),pe=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarMenuSection",setup:e=>(e,t)=>
5((0,g.wg)(),(0,g.iD)(g.HY,null,[(0,g.Wm)((0,y.SU)(nv)),(0,g.WI)(e.$slots,"default")],64))}),pt=n(63684),pn={key:0},pr={key:1},pa={key:2},pi={key:3},po={key:4},pl={key:5},ps=(0,g.aZ)({name:"ScalarIconFileText",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,R.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,y.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pn,[...r[0]||(r[0]=[(0,g._)("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z"},null,-1)])])):"duotone"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pr,[...r[1]||(r[1]=[(0,g._)("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),(0,g._)("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216
5Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"},null,-1)])])):"fill"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pa,[...r[2]||(r[2]=[(0,g._)("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z"},null,-1)])])):"light"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pi,[...r[3]||(r[3]=[(0,g._)("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z"},null,-1)])])):"regular"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",po,[...r[4]||(r[4]=[(0,g._)("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216
5Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"},null,-1)])])):"thin"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pl,[...r[5]||(r[5]=[(0,g._)("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z"},null,-1)])])):(0,g.kq)("",!0)],16))}}),pu={key:0},pc={key:1},pd={key:2},pp={key:3},pm={key:4},pf={key:5},ph=(0,g.aZ)({name:"ScalarIconBookOpenText",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,R.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,y.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pu,[...r[0]||(r[0]=[(0,g._)("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-20h60ZM164,96h32a12,12,0,0,1,0,24H164a12,12,0,0,1,0-24Zm44,52a12,12,0,0,1-12,12H164a12,12,0,0,1,0-24h32A12,12,0,0,1,208,148Z"},null,-1)])])):"duotone"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pc,[...r[1]||(r[1]=[(0,g._)("path",{d:"M232,56V200H160a32,32,0,0,0-32,32V88a32,32,0,0,1,32-32Z",opacity:"0.2"},null,-1),(0,g._)("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-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z"},null,-1)])])):"fill"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pd,[...r[2]||(r[2]=[(0,g._)("path",{d:"M232,48H168a32,32,0,0,0-32,32v87.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V80A32,32,0,0,0,88,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,23.94,7.9,7.9,0,0,0,5.12,7.55A8,8,0,0,0,136,232a24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM208,168H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,168Zm0-32H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,136Zm0-32H168.27A8.17,8.17,0,0,1,160,96.53,8,8,0,0,1,168,88h39.73A8.17,8.17,0,0,1,216,95.47,8,8,0,0,1,208,104Z"},null,-1)])])):"light"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pp,[...r[3]||(r[3]=[(0,g._)("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-26h66ZM160,90h40a6,6,0,0,1,0,12H160a6,6,0,0,1,0-12Zm46,38a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,128Zm0,32a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,160Z"},null,-1)])])):"regular"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pm,[...r[4]||(r[4]=[(0,g._)("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-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z"},null,-1)])])):"thin"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pf,[...r[5]||(r[5]=[(0,g._)("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.94,35.94,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68ZM160,92h40a4,4,0,0,1,0,8H160a4,4,0,0,1,0-8Zm44,36a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,128Zm0,32a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,160Z"},null,-1)])])):(0,g.kq)("",!0)],16))}}),pg=(0,g.aZ)({__name:"ScalarMenuResources",setup:e=>(e,t)=>
5((0,g.wg)(),(0,g.j4)(pe,null,{title:(0,g.w5)(()=>[...t[0]||(t[0]=[(0,g.Uk)("Resources",-1)])]),default:(0,g.w5)(()=>[(0,g.Wm)(dH,{href:"mailto:[email protected]",icon:(0,y.SU)(pt.Z),target:"_blank"},{default:(0,g.w5)(()=>[...t[1]||(t[1]=[(0,g.Uk)(" Sales & Support ",-1)])]),_:1},8,["icon"]),(0,g.Wm)(dH,{href:"https://scalar.com/terms-and-conditions",icon:(0,y.SU)(ps),target:"_blank"},{default:(0,g.w5)(()=>[...t[2]||(t[2]=[(0,g.Uk)(" Terms & Conditions ",-1)])]),_:1},8,["icon"]),(0,g.Wm)(dH,{href:"https://scalar.com/privacy-policy",icon:(0,y.SU)(ph),target:"_blank"},{default:(0,g.w5)(()=>[...t[3]||(t[3]=[(0,g.Uk)(" Privacy Policy ",-1)])]),_:1},8,["icon"])]),_:1}))}),pv=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarMenu",setup(e){let t=(0,y.iH)(!1);function n(){t.value=!1}return(e,r)=>((0,g.wg)(),(0,g.j4)((0,y.SU)(dF).Root,{open:t.value,"onUpdate:open":r[0]||(r[0]=e=>t.value=e)},{default:(0,g.w5)(()=>[(0,g.Wm)((0,y.SU)(dF).Trigger,{asChild:""},{default:(0,g.w5)(()=>[(0,g.WI)(e.$slots,"button",{open:t.value},()=>[(0,g.Wm)(dB,{class:"min-w-0",open:t.value},(0,g.Nv)({_:2},[e.$slots.logo?{name:"logo",fn:(0,g.w5)(()=>[(0,g.WI)(e.$slots,"logo")]),key:"0"}:void 0,e.$slots.label?{name:"label",fn:(0,g.w5)(()=>[(0,g.WI)(e.$slots,"label")]),key:"1"}:void 0]),1032,["open"])])]),_:3}),(0,g.Wm)((0,y.SU)(dF).Content,(0,g.dG)({align:"start",as:(0,y.SU)(nd),class:"max-h-radix-popper z-context",sideOffset:5},e.$attrs),{default:(0,g.w5)(()=>[(0,g.WI)(e.$slots,"products",{close:n},()=>[(0,g.Wm)(d9)]),(0,g.WI)(e.$slots,"profile",{close:n}),(0,g.WI)(e.$slots,"sections",{close:n},()=>[(0,g.Wm)(pg)])]),_:3},16,["as"])]),_:3},8,["open"]))}}),py={key:0},pb={key:1},pO={key:2},pw={key:3},pk={key:4},px={key:5},pS=(0,g.aZ)({name:"ScalarIconDiscordLogo",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,R.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,y.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",py,[...r[0]||(r[0]=[(0,g._)("path",{d:"M108,136a16,16,0,1,1-16-16A16,16,0,0,1,108,136Zm56-16a16,16,0,1,0,16,16A16,16,0,0,0,164,120Zm76.07,76.56-67,29.71A20.15,20.15,0,0,1,146,214.9l-8.54-23.13c-3.13.14-6.27.24-9.45.24s-6.32-.1-9.45-.24L110,214.9a20.19,20.19,0,0,1-27.08,11.37l-67-29.71A19.93,19.93,0,0,1,4.62,173.41L34.15,57A20,20,0,0,1,50.37,42.19l36.06-5.93A20.26,20.26,0,0,1,109.22,51.1l4.41,17.41c4.74-.33,9.52-.51,14.37-.51s9.63.18,14.37.51l4.41-17.41a20.25,20.25,0,0,1,22.79-14.84l36.06,5.93A20,20,0,0,1,221.85,57l29.53,116.38A19.93,19.93,0,0,1,240.07,196.56ZM227.28,176,199.23,65.46l-30.07-4.94-2.84,11.17c2.9.58,5.78,1.2,8.61,1.92a12,12,0,1,1-5.86,23.27A168.43,168.43,0,0,0,128,92a168.43,168.43,0,0,0-41.07,4.88,12,12,0,0,1-5.86-23.27c2.83-.72,5.71-1.34,8.61-1.92L86.85,60.52,56.77,65.46,28.72,176l60.22,26.7,5-13.57c-4.37-.76-8.67-1.65-12.88-2.71a12,12,0,0,1,5.86-23.28A168.43,168.43,0,0,0,128,168a168.43,168.43,0,0,0,41.07-4.88,12,12,0,0,1,5.86,23.28c-4.21,1.06-8.51,1.95-12.88,2.71l5,13.57Z"},null,-1)])])):"duotone"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pb,[...r[1]||(r[1]=[(0,g._)("path",{d:"M235.21,185.59l-67,29.7a8.15,8.15,0,0,1-11-4.56L147,183.06a190.5,190.5,0,0,1-19,.94,190.5,190.5,0,0,1-19-.94L98.75,210.73a8.15,8.15,0,0,1-11,4.56l-67-29.7a8,8,0,0,1-4.55-9.24L45.77,60A8.08,8.08,0,0,1,52.31,54l36.06-5.92a8.1,8.1,0,0,1,9.21,6l5,19.63a192.32,192.32,0,0,1,50.88,0l5-19.63a8.1,8.1,0,0,1,9.21-6L203.69,54A8.08,8.08,0,0,1,210.23,60l29.53,116.37A8,8,0,0,1,235.21,185.59Z",opacity:"0.2"},null,-1),(0,g._)("path",{d:"M104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm60-12a12,12,0,1,0,12,12A12,12,0,0,0,164,128Zm74.45,64.9-67,29.71a16.17,16.17,0,0,1-21.71-9.1l-8.11-22q-6.72.45-13.63.46t-13.63-.46l-8.11,22a16.18,16.18,0,0,1-21.71,9.1l-67-29.71a15.94,15.94,0,0,1-9.06-18.51L38,58A16.08,16.08,0,0,1,51,46.13l36.06-5.92a16.21,16.21,0,0,1,18.26,11.88l3.26,12.83Q118.11,64,128,64t19.4.92l3.26-12.83a16.22,16.22,0,0,1,18.26-11.88L205,46.13A16.08,16.08,0,0,1,218,58l29.53,116.38A15.94,15.94,0,0,1,238.45,192.9ZM232,178.28,202.47,62s0,0-.08,0L166.33,56a.17.17,0,0,0-.17,0l-2.83,11.14c5,.94,10,2.06,14.83,3.42A8,8,0,0,1,176,86.31a8.09,8.09,0,0,1-2.16-.3A172.25,172.25,0,0,0,128,80a172.25,172.25,0,0,0-45.84,6,8,8,0,1,1-4.32-15.4c4.82-1.36,9.78-2.48,14.82-3.42L89.83,56a.21.21,0,0,0-.12,0h0L53.61,61.92a.24.24,0,0,0-.09,0L24,178.33,91,208a.21.21,0,0,0,.22,0L98,189.72a173.2,173.2,0,0,1-20.14-4.32A8,8,0,0,1,82.16,170,171.85,171.85,0,0,0,128,176a171.85,171.85,0,0,0,45.84-6,8,8,0,0,1,4.32,15.41A173.2,173.2,0,0,1,158,189.72L164.75,208a.22.22,0,0,0,.21,0Z"},null,-1)])])):"fill"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pO,[...r[2]||(r[2]=[(0,g._)("path",{d:"M247.51,
5174.39,218,58a16.08,16.08,0,0,0-13-11.88l-36.06-5.92a16.22,16.22,0,0,0-18.26,11.88l-.21.85a4,4,0,0,0,3.27,4.93,155.62,155.62,0,0,1,24.41,5.62,8.2,8.2,0,0,1,5.62,9.7,8,8,0,0,1-10.19,5.64,155.4,155.4,0,0,0-90.8-.1,8.22,8.22,0,0,1-10.28-4.81,8,8,0,0,1,5.08-10.33,156.85,156.85,0,0,1,24.72-5.72,4,4,0,0,0,3.27-4.93l-.21-.85A16.21,16.21,0,0,0,87.08,40.21L51,46.13A16.08,16.08,0,0,0,38,58L8.49,174.39a15.94,15.94,0,0,0,9.06,18.51l67,29.71a16.17,16.17,0,0,0,21.71-9.1l3.49-9.45a4,4,0,0,0-3.27-5.35,158.13,158.13,0,0,1-28.63-6.2,8.2,8.2,0,0,1-5.61-9.67,8,8,0,0,1,10.2-5.66,155.59,155.59,0,0,0,91.12,0,8,8,0,0,1,10.19,5.65,8.19,8.19,0,0,1-5.61,9.68,157.84,157.84,0,0,1-28.62,6.2,4,4,0,0,0-3.27,5.35l3.49,9.45a16.18,16.18,0,0,0,21.71,9.1l67-29.71A15.94,15.94,0,0,0,247.51,174.39ZM92,152a12,12,0,1,1,12-12A12,12,0,0,1,92,152Zm72,0a12,12,0,1,1,12-12A12,12,0,0,1,164,152Z"},null,-1)])])):"light"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pw,[...r[3]||(r[3]=[(0,g._)("path",{d:"M102,140a10,10,0,1,1-10-10A10,10,0,0,1,102,140Zm62-10a10,10,0,1,0,10,10A10,10,0,0,0,164,130Zm73.64,61.08-67,29.71a14.43,14.43,0,0,1-5.77,1.21,14.13,14.13,0,0,1-13.25-9.18L143,189.43c-4.93.37-9.92.58-15,.58s-10.06-.21-15-.58l-8.63,23.39A14.13,14.13,0,0,1,91.13,222a14.43,14.43,0,0,1-5.77-1.21l-67-29.71a14,14,0,0,1-7.93-16.2L40,58.5A14.07,14.07,0,0,1,51.34,48.11L87.4,42.19a14.19,14.19,0,0,1,16,10.39l3.69,14.53a197.5,197.5,0,0,1,41.82,0l3.69-14.53a14.19,14.19,0,0,1,16-10.39l36.06,5.92A14.07,14.07,0,0,1,216,58.5l29.53,116.38A14,14,0,0,1,237.64,191.08Zm-3.7-13.25L204.41,61.45a2.08,2.08,0,0,0-1.7-1.5L166.65,54a2.13,2.13,0,0,0-2.42,1.5l-3.36,13.24a169.28,169.28,0,0,1,16.75,3.76A6,6,0,0,1,176,84.31a5.71,5.71,0,0,1-1.62-.23A174.26,174.26,0,0,0,128,78a174.26,174.26,0,0,0-46.38,6.08,6,6,0,1,1-3.24-11.55,169.28,169.28,0,0,1,16.75-3.76L91.77,55.53A2.12,2.12,0,0,0,89.35,54L53.29,60a2.08,2.08,0,0,0-1.7,1.5L22.06,177.83a2,2,0,0,0,1.16,2.28l67,29.7a2.19,2.19,0,0,0,1.76,0,2.07,2.07,0,0,0,1.14-1.17l7.58-20.55a171.46,171.46,0,0,1-22.33-4.64,6,6,0,1,1,3.24-11.55A174.26,174.26,0,0,0,128,178a174.26,174.26,0,0,0,46.38-6.08,6,6,0,1,1,3.24,11.55,171.46,171.46,0,0,1-22.33,4.64l7.58,20.55a2.07,2.07,0,0,0,1.14,1.17,2.19,2.19,0,0,0,1.76,0l67-29.7A2,2,0,0,0,233.94,177.83Z"},null,-1)])])):"regular"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pk,[...r[4]||(r[4]=[(0,g._)("path",{d:"M104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm60-12a12,12,0,1,0,12,12A12,12,0,0,0,164,128Zm74.45,64.9-67,29.71a16.17,16.17,0,0,1-21.71-9.1l-8.11-22q-6.72.45-13.63.46t-13.63-.46l-8.11,22a16.18,16.18,0,0,1-21.71,9.1l-67-29.71a15.93,15.93,0,0,1-9.06-18.51L38,58A16.07,16.07,0,0,1,51,46.14l36.06-5.93a16.22,16.22,0,0,1,18.26,11.88l3.26,12.84Q118.11,64,128,64t19.4.93l3.26-12.84a16.21,16.21,0,0,1,18.26-11.88L205,46.14A16.07,16.07,0,0,1,218,58l29.53,116.38A15.93,15.93,0,0,1,238.45,192.9ZM232,178.28,202.47,62s0,0-.08,0L166.33,56a.17.17,0,0,0-.17,0l-2.83,11.14c5,.94,10,2.06,14.83,3.42A8,8,0,0,1,176,86.31a8.09,8.09,0,0,1-2.16-.3A172.25,172.25,0,0,0,128,80a172.25,172.25,0,0,0-45.84,6,8,8,0,1,1-4.32-15.4c4.82-1.36,9.78-2.48,14.82-3.42L89.83,56s0,0-.12,0h0L53.61,61.93a.17.17,0,0,0-.09,0L24,178.33,91,208a.23.23,0,0,0,.22,0L98,189.72a173.2,173.2,0,0,1-20.14-4.32A8,8,0,0,1,82.16,170,171.85,171.85,0,0,0,128,176a171.85,171.85,0,0,0,45.84-6,8,8,0,0,1,4.32,15.41A173.2,173.2,0,0,1,158,189.72L164.75,208a.22.22,0,0,0,.21,0Z"},null,-1)])])):"thin"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",px,[...r[5]||(r[5]=[(0,g._)("path",{d:"M100,140a8,8,0,1,1-8-8A8,8,0,0,1,100,140Zm64-8a8,8,0,1,0,8,8A8,8,0,0,0,164,132Zm72.83,57.25-67,29.71a12.36,12.36,0,0,1-5,1,12.13,12.13,0,0,1-11.38-7.88l-9.15-24.81c-5.36.45-10.81.69-16.34.69s-11-.24-16.34-.69l-9.15,24.81A12.13,12.13,0,0,1,91.13,220a12.36,12.36,0,0,1-5-1l-67-29.71a12,12,0,0,1-6.8-13.88L41.9,59a12.06,12.06,0,0,1,9.77-8.91l36.06-5.92a12.18,12.18,0,0,1,13.73,8.91l4.12,16.22a195.47,195.47,0,0,1,44.84,0l4.12-16.22a12.18,12.18,0,0,1,13.73-8.91l36.06,5.92A12.06,12.06,0,0,1,214.1,59l29.53,116.38A12,12,0,0,1,236.83,189.25Zm-1-11.91L206.35,61A4.07,4.07,0,0,0,203,58L167,52.05a4.15,4.15,0,0,0-4.69,3L158.4,70.38a166.74,166.74,0,0,1,18.68,4.08,4,4,0,1,1-2.16,7.7A176.21,176.21,0,0,0,128,76a176.21,176.21,0,0,0-46.92,6.16,4,4,0,1,1-2.16-7.7A166.74,166.74,0,0,1,97.6,70.38L93.71,55a4.15,4.15,0,0,0-4.69-3L53,58a4.07,4.07,0,0,0-3.31,3L20.12,177.34a4,4,0,0,0,2.29,4.59l67,29.71a4.16,4.16,0,0,0,3.35,0A4,4,0,0,0,95,209.35l8.45-22.88a171.49,171.49,0,0,1-24.53-4.92,4,4,0,0,1,2.16-7.71A176.21,176.21,0,0,0,128,180a176.21,176.21,0,0,0,46.92-6.16,4,4,0,0,1,2.16,7.71,171.49,171.49,0,0,1-24.53,4.92L161,209.35a4,4,0,0,0,2.23,2.32,4.16,4.16,0,0,0,3.35,0l67-29.71A4,4,0,0,0,235.88,177.34Z"},null,-1)])])):(0,g.kq)("",!0)],16))}}),p_={key:0}
5,pE={key:1},pA={key:2},pT={key:3},pD={key:4},pC={key:5},p$=(0,g.aZ)({name:"ScalarIconGithubLogo",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,R.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,y.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",p_,[...r[0]||(r[0]=[(0,g._)("path",{d:"M212.62,75.17A63.7,63.7,0,0,0,206.39,26,12,12,0,0,0,196,20a63.71,63.71,0,0,0-50,24H126A63.71,63.71,0,0,0,76,20a12,12,0,0,0-10.39,6,63.7,63.7,0,0,0-6.23,49.17A61.5,61.5,0,0,0,52,104v8a60.1,60.1,0,0,0,45.76,58.28A43.66,43.66,0,0,0,92,192v4H76a20,20,0,0,1-20-20,44.05,44.05,0,0,0-44-44,12,12,0,0,0,0,24,20,20,0,0,1,20,20,44.05,44.05,0,0,0,44,44H92v12a12,12,0,0,0,24,0V192a20,20,0,0,1,40,0v40a12,12,0,0,0,24,0V192a43.66,43.66,0,0,0-5.76-21.72A60.1,60.1,0,0,0,220,112v-8A61.5,61.5,0,0,0,212.62,75.17ZM196,112a36,36,0,0,1-36,36H112a36,36,0,0,1-36-36v-8a37.87,37.87,0,0,1,6.13-20.12,11.65,11.65,0,0,0,1.58-11.49,39.9,39.9,0,0,1-.4-27.72,39.87,39.87,0,0,1,26.41,17.8A12,12,0,0,0,119.82,68h32.35a12,12,0,0,0,10.11-5.53,39.84,39.84,0,0,1,26.41-17.8,39.9,39.9,0,0,1-.4,27.72,12,12,0,0,0,1.61,11.53A37.85,37.85,0,0,1,196,104Z"},null,-1)])])):"duotone"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pE,[...r[1]||(r[1]=[(0,g._)("path",{d:"M208,104v8a48,48,0,0,1-48,48H136a32,32,0,0,1,32,32v40H104V192a32,32,0,0,1,32-32H112a48,48,0,0,1-48-48v-8a49.28,49.28,0,0,1,8.51-27.3A51.92,51.92,0,0,1,76,32a52,52,0,0,1,43.83,24h32.34A52,52,0,0,1,196,32a51.92,51.92,0,0,1,3.49,44.7A49.28,49.28,0,0,1,208,104Z",opacity:"0.2"},null,-1),(0,g._)("path",{d:"M208.3,75.68A59.74,59.74,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58,58,0,0,0,208.3,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.76,41.76,0,0,1,200,104Z"},null,-1)])])):"fill"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pA,[...r[2]||(r[2]=[(0,g._)("path",{d:"M216,104v8a56.06,56.06,0,0,1-48.44,55.47A39.8,39.8,0,0,1,176,192v40a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V216H72a40,40,0,0,1-40-40A24,24,0,0,0,8,152a8,8,0,0,1,0-16,40,40,0,0,1,40,40,24,24,0,0,0,24,24H96v-8a39.8,39.8,0,0,1,8.44-24.53A56.06,56.06,0,0,1,56,
5112v-8a58.14,58.14,0,0,1,7.69-28.32A59.78,59.78,0,0,1,69.07,28,8,8,0,0,1,76,24a59.75,59.75,0,0,1,48,24h24a59.75,59.75,0,0,1,48-24,8,8,0,0,1,6.93,4,59.74,59.74,0,0,1,5.37,47.68A58,58,0,0,1,216,104Z"},null,-1)])])):"light"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pT,[...r[3]||(r[3]=[(0,g._)("path",{d:"M206.13,75.92A57.79,57.79,0,0,0,201.2,29a6,6,0,0,0-5.2-3,57.77,57.77,0,0,0-47,24H123A57.77,57.77,0,0,0,76,26a6,6,0,0,0-5.2,3,57.79,57.79,0,0,0-4.93,46.92A55.88,55.88,0,0,0,58,104v8a54.06,54.06,0,0,0,50.45,53.87A37.85,37.85,0,0,0,98,192v10H72a26,26,0,0,1-26-26A38,38,0,0,0,8,138a6,6,0,0,0,0,12,26,26,0,0,1,26,26,38,38,0,0,0,38,38H98v18a6,6,0,0,0,12,0V192a26,26,0,0,1,52,0v40a6,6,0,0,0,12,0V192a37.85,37.85,0,0,0-10.45-26.13A54.06,54.06,0,0,0,214,112v-8A55.88,55.88,0,0,0,206.13,75.92ZM202,112a42,42,0,0,1-42,42H112a42,42,0,0,1-42-42v-8a43.86,43.86,0,0,1,7.3-23.69,6,6,0,0,0,.81-5.76,45.85,45.85,0,0,1,1.43-36.42,45.85,45.85,0,0,1,35.23,21.1A6,6,0,0,0,119.83,62h32.34a6,6,0,0,0,5.06-2.76,45.83,45.83,0,0,1,35.23-21.11,45.85,45.85,0,0,1,1.43,36.42,6,6,0,0,0,.79,5.74A43.78,43.78,0,0,1,202,104Z"},null,-1)])])):"regular"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pD,[...r[4]||(r[4]=[(0,g._)("path",{d:"M208.31,75.68A59.78,59.78,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58.14,58.14,0,0,0,208.31,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.72,41.72,0,0,1,200,104Z"},null,-1)])])):"thin"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pC,[...r[5]||(r[5]=[(0,g._)("path",{d:"M203.94,76.16A55.73,55.73,0,0,0,199.46,30,4,4,0,0,0,196,28a55.78,55.78,0,0,0-46,24H122A55.78,55.78,0,0,0,76,28a4,4,0,0,0-3.46,2,55.73,55.73,0,0,0-4.48,46.16A53.78,53.78,0,0,0,60,104v8a52.06,52.06,0,0,0,52,52h1.41A36,36,0,0,0,100,192v12H72a28,28,0,0,1-28-28A36,36,0,0,0,8,140a4,4,0,0,0,0,8,28,28,0,0,1,28,28,36,36,0,0,0,36,36h28v20a4,4,0,0,0,8,0V192a28,28,0,0,1,56,0v40a4,4,0,0,0,8,0V192a36,36,0,0,0-13.41-28H160a52.06,52.06,0,0,0,52-52v-8A53.78,53.78,0,0,0,203.94,76.16ZM204,112a44.05,44.05,0,0,1-44,44H112a44.05,44.05,0,0,1-44-44v-8a45.76,45.76,0,0,1,7.71-24.89,4,4,0,0,0,.53-3.84,47.82,47.82,0,0,1,2.1-39.21,47.8,47.8,0,0,1,38.12,22.1A4,4,0,0,0,119.83,60h32.34a4,4,0,0,0,3.37-1.84,47.8,47.8,0,0,1,38.12-22.1,47.82,47.82,0,0,1,2.1,39.21,4,4,0,0,0,.53,3.83A45.85,45.85,0,0,1,204,104Z"},null,-1)])])):(0,g.kq)("",!0)],16))}}),pP=(0,g.aZ)({__name:"ScalarMenuSupport",setup:e=>(e,t)=>((0,g.wg)(),(0,g.j4)(pe,null,{title:(0,g.w5)(()=>[...t[0]||(t[0]=[(0,g.Uk)("Resources",-1)])]),default:(0,g.w5)(()=>[(0,g.Wm)(dH,{href:"https://discord.gg/scalar",icon:(0,y.SU)(pS),target:"_blank"},{default:(0,g.w5)(()=>[...t[1]||(t[1]=[(0,g.Uk)(" Discord ",-1)])]),_:1},8,["icon"]),(0,g.Wm)(dH,{href:"https://github.com/scalar/scalar",icon:(0,y.SU)(p$),target:"_blank"},{default:(0,g.w5)(()=>[...t[2]||(t[2]=[(0,g.Uk)(" GitHub ",-1)])]),_:1},8,["icon"])]),_:1}))}),pI={key:0},pN={key:1},pU={key:2},pM={key:3},pR={key:4},pj={key:5},pL=n(72794),pZ={key:0},pB={key:1},pz={key:2},pF={key:3},pQ={key:4},pH={key:5},pq=(0,g.aZ)({name:"ScalarIconSwap",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,R.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,y.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pZ,[...r[0]||(r[0]=[(0,g._)("path",{d:"M228,48V152a20,20,0,0,1-20,20H112.92a12,12,0,0,1-17.41,16.49l-20-20a12,12,0,0,1,0-17l20-20A12,12,0,0,1,112.92,148H204V52H100a12,12,0,0,1-24,0V48A20,20,0,0,1,96,28H208A20,20,0,0,1,228,48ZM168,192a12,12,0,0,0-12,12H52V108h91.08a12,12,0,0,0,17.41,16.49l20-20a12,12,0,0,0,0-17l-20-20A12,12,0,0,0,143.08,84H48a20,20,0,0,0-20,20V208a20,20,0,0,0,20,20H160a20,20,0,0,0,20-20v-4A12,12,0,0,0,168,192Z"},null,-1)])])):"duotone"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pB,[...r[1]||(r[1]=[(0,g._)("path",{d:"M216,48V152a8,8,0,0,1-8,8H168v48a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V104a8,8,0,0,1,8-8H88V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"},null,-1),(0,g._)("path",{d:"M224,48V152a16,16,0,0,1-16,16H99.31l10.35,10.34a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L99.31,152H208V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104H156.69l-10.35,10.34a8,8,0,0,0,11.32,11.32l24-24a8,8,0,0,0,0-11.32l-24-24a8,8,0,0,0-11.32,11.32L156.69,88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,
516,0,0,0,16-16v-8A8,8,0,0,0,168,192Z"},null,-1)])])):"fill"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pz,[...r[2]||(r[2]=[(0,g._)("path",{d:"M224,48V152a16,16,0,0,1-16,16H112v16a8,8,0,0,1-13.66,5.66l-24-24a8,8,0,0,1,0-11.32l24-24A8,8,0,0,1,112,136v16h96V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104h96v16a8,8,0,0,0,13.66,5.66l24-24a8,8,0,0,0,0-11.32l-24-24A8,8,0,0,0,144,72V88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,16,0,0,0,16-16v-8A8,8,0,0,0,168,192Z"},null,-1)])])):"light"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pF,[...r[3]||(r[3]=[(0,g._)("path",{d:"M222,48V152a14,14,0,0,1-14,14H94.49l13.75,13.76a6,6,0,1,1-8.48,8.48l-24-24a6,6,0,0,1,0-8.48l24-24a6,6,0,0,1,8.48,8.48L94.49,154H208a2,2,0,0,0,2-2V48a2,2,0,0,0-2-2H96a2,2,0,0,0-2,2v8a6,6,0,0,1-12,0V48A14,14,0,0,1,96,34H208A14,14,0,0,1,222,48ZM168,194a6,6,0,0,0-6,6v8a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V104a2,2,0,0,1,2-2H161.51l-13.75,13.76a6,6,0,1,0,8.48,8.48l24-24a6,6,0,0,0,0-8.48l-24-24a6,6,0,0,0-8.48,8.48L161.51,90H48a14,14,0,0,0-14,14V208a14,14,0,0,0,14,14H160a14,14,0,0,0,14-14v-8A6,6,0,0,0,168,194Z"},null,-1)])])):"regular"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pQ,[...r[4]||(r[4]=[(0,g._)("path",{d:"M224,48V152a16,16,0,0,1-16,16H99.31l10.35,10.34a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L99.31,152H208V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104H156.69l-10.35,10.34a8,8,0,0,0,11.32,11.32l24-24a8,8,0,0,0,0-11.32l-24-24a8,8,0,0,0-11.32,11.32L156.69,88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,16,0,0,0,16-16v-8A8,8,0,0,0,168,192Z"},null,-1)])])):"thin"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",pH,[...r[5]||(r[5]=[(0,g._)("path",{d:"M220,48V152a12,12,0,0,1-12,12H89.66l17.17,17.17a4,4,0,0,1-5.66,5.66l-24-24a4,4,0,0,1,0-5.66l24-24a4,4,0,0,1,5.66,5.66L89.66,156H208a4,4,0,0,0,4-4V48a4,4,0,0,0-4-4H96a4,4,0,0,0-4,4v8a4,4,0,0,1-8,0V48A12,12,0,0,1,96,36H208A12,12,0,0,1,220,48ZM168,196a4,4,0,0,0-4,4v8a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V104a4,4,0,0,1,4-4H166.34l-17.17,17.17a4,4,0,0,0,5.66,5.66l24-24a4,4,0,0,0,0-5.66l-24-24a4,4,0,0,0-5.66,5.66L166.34,92H48a12,12,0,0,0-12,12V208a12,12,0,0,0,12,12H160a12,12,0,0,0,12-12v-8A4,4,0,0,0,168,196Z"},null,-1)])])):(0,g.kq)("",!0)],16))}}),pV={class:"flex h-full items-center gap-1 flex-1 truncate"},pW=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarMenuWorkspacePicker",props:(0,g.Vf)({workspaceOptions:{}},{modelValue:{},modelModifiers:{}}),emits:(0,g.Vf)(["createWorkspace"],["update:modelValue"]),setup(e,{emit:t}){let n=(0,g.tT)(e,"modelValue");return(r,a)=>((0,g.wg)(),(0,g.j4)((0,y.SU)(dF).Sub,null,{default:(0,g.w5)(()=>[(0,g.Wm)(dH,(0,g.dG)({icon:(0,y.SU)(pq),submenu:""},r.$attrs),{default:(0,g.w5)(()=>[a[2]||(a[2]=(0,g._)("div",null,"Change workspace",-1)),(0,g.Wm)((0,y.SU)(pL.Z),{class:"ml-auto text-c-2 -mr-px size-3",weight:"bold"})]),_:1},16,["icon"]),(0,g.Wm)((0,y.SU)(dF).Portal,null,{default:(0,g.w5)(()=>[(0,g.Wm)((0,y.SU)(dF).SubContent,{as:(0,y.SU)(nd),class:"max-h-radix-popper z-context-plus",sideOffset:3},{default:(0,g.w5)(()=>[(0,g.Wm)((0,y.SU)(dF).RadioGroup,{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=e=>n.value=e),class:"contents"},{default:(0,g.w5)(()=>[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(e.workspaceOptions,(t,r)=>((0,g.wg)(),(0,g.iD)(g.HY,{key:r},[t.label?((0,g.wg)(),(0,g.j4)((0,y.SU)(dF).Label,{key:0,class:"px-3 py-1.5 text-xs font-medium text-c-3 select-none"},{default:(0,g.w5)(()=>[(0,g.Uk)((0,v.zw)(t.label),1)]),_:2},1024)):(0,g.kq)("",!0),((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(t.options,e=>((0,g.wg)(),(0,g.j4)((0,y.SU)(dF).RadioItem,{key:e.id,as:(0,y.SU)(nh),class:"group/item flex items-center",value:e.id},{default:(0,g.w5)(()=>[(0,g._)("div",pV,(0,v.zw)(e.label),1),(0,g.Wm)((0,y.SU)(tn),{class:"ml-auto",selected:e.id===n.value},null,8,["selected"])]),_:2},1032,["as","value"]))),128)),r<e.workspaceOptions.length-1?((0,g.wg)(),(0,g.j4)((0,y.SU)(dF).Separator,{key:1,class:"h-px bg-b-3 my-1.5"})):(0,g.kq)("",!0)],64))),128))]),_:1},8,["modelValue"]),(0,g.Wm)((0,y.SU)(dF).Item,{as:(0,y.SU)(nh),class:"flex items-center",onClick:a[1]||(a[1]=e=>
5t("createWorkspace"))},{default:(0,g.w5)(()=>[(0,g.Wm)((0,y.SU)(tL.Z),{class:"bg-b-3 -ml-0.75 rounded p-1 size-5 text-c-3",weight:"bold"}),a[3]||(a[3]=(0,g.Uk)(" Create workspace ",-1))]),_:1},8,["as"])]),_:1},8,["as"])]),_:1})]),_:1}))}}),pX=n(85015);let pY=[];!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&pY[0]!==e.target&&(pY.unshift(e.target),(pY=pY.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})});var pG=n(18216);function pK(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.value){let e=(0,tp.v)(n);e instanceof HTMLElement&&t.add(e)}return t}var pJ=((s=pJ||{})[s.None=1]="None",s[s.InitialFocus=2]="InitialFocus",s[s.TabLock=4]="TabLock",s[s.FocusLock=8]="FocusLock",s[s.RestoreFocus=16]="RestoreFocus",s[s.All=30]="All",s);let p0=Object.assign((0,g.aZ)({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,y.iH)(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let a=(0,y.iH)(null);r({el:a,$el:a});let i=(0,g.Fl)(()=>(0,tV.r)(a)),o=(0,y.iH)(!1);(0,g.bv)(()=>o.value=!0),(0,g.Ah)(()=>o.value=!1),function({ownerDocument:e},t){let n;let r=(n=(0,y.iH)(pY.slice()),(0,g.YP)([t],([e],[t])=>{!0===t&&!1===e?(0,pG.Y)(()=>{n.value.splice(0)}):!1===t&&!0===e&&(n.value=pY.slice())},{flush:"post"}),()=>{var e;return null!=(e=n.value.find(e=>null!=e&&e.isConnected))?e:null});(0,g.bv)(()=>{(0,g.m0)(()=>{var n,a;t.value||(null==(n=e.value)?void 0:n.activeElement)===(null==(a=e.value)?void 0:a.body)&&(0,tm.C5)(r())},{flush:"post"})}),(0,g.Ah)(()=>{t.value&&(0,tm.C5)(r())})}({ownerDocument:i},(0,g.Fl)(()=>o.value&&!!(16&e.features)));let l=function({ownerDocument:e,container:t,initialFocus:n},r){let a=(0,y.iH)(null),i=(0,y.iH)(!1);return(0,g.bv)(()=>i.value=!0),(0,g.Ah)(()=>i.value=!1),(0,g.bv)(()=>{(0,g.YP)([t,n,r],(o,l)=>{if(o.every((e,t)=>(null==l?void 0:l[t])===e)||!r.value)return;let s=(0,tp.v)(t);s&&(0,pG.Y)(()=>{var t,r;if(!i.value)return;let o=(0,tp.v)(n),l=null==(t=e.value)?void 0:t.activeElement;if(o){if(o===l){a.value=l;return}}else if(s.contains(l)){a.value=l;return}o?(0,tm.C5)(o):(0,tm.jA)(s,tm.TO.First|tm.TO.NoScroll)===tm.fE.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),a.value=null==(r=e.value)?void 0:r.activeElement})},{immediate:!0,flush:"post"})}),a}({ownerDocument:i,container:a,initialFocus:(0,g.Fl)(()=>e.initialFocus)},(0,g.Fl)(()=>o.value&&!!(2&e.features)));!function({ownerDocument:e,container:t,containers:n,previousActiveElement:r},a){var i;t2(null==(i=e.value)?void 0:i.defaultView,"focus",e=>{if(!a.value)return;let i=pK(n);(0,tp.v)(t) instanceof HTMLElement&&i.add((0,tp.v)(t));let o=r.value;if(!o)return;let l=e.target;l&&l instanceof HTMLElement?p1(i,l)?(r.value=l,(0,tm.C5)(l)):(e.preventDefault(),e.stopPropagation(),(0,tm.C5)(o)):(0,tm.C5)(r.value)},!0)}({ownerDocument:i,container:a,containers:e.containers,previousActiveElement:l},(0,g.Fl)(()=>o.value&&!!(8&e.features)));let s=t3();function u(e){let t=(0,tp.v)(a);t&&(0,th.E)(s.value,{[t6.Forwards]:()=>{(0,tm.jA)(t,tm.TO.First,{skipElements:[e.relatedTarget]})},[t6.Backwards]:()=>{(0,tm.jA)(t,tm.TO.Last,{skipElements:[e.relatedTarget]})}})}let c=(0,y.iH)(!1);function d(e){"Tab"===e.key&&(c.value=!0,requestAnimationFrame(()=>{c.value=!1}))}function p(t){if(!o.value)return;let n=pK(e.containers);(0,tp.v)(a) instanceof HTMLElement&&n.add((0,tp.v)(a));let r=t.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(p1(n,r)||(c.value?(0,tm.jA)((0,tp.v)(a),(0,th.E)(s.value,{[t6.Forwards]:()=>tm.TO.Next,[t6.Backwards]:()=>tm.TO.Previous})|tm.TO.WrapAround,{relativeTo:t.target}):t.target instanceof HTMLElement&&(0,tm.C5)(t.target)))}return()=>{let{features:r,initialFocus:i,containers:o,...l}=e;return(0,g.h)(g.HY,[!!(4&r)&&(0,g.h)(ts._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:u,features:ts.A.Focusable}),(0,tg.sY)({ourProps:{ref:a,onKeydown:d,onFocusout:p},theirProps:{...t,...l},slot:{},attrs:t,slots:n,name:"FocusTrap"}),!!(4&r)&&(0,g.h)(ts._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:u,features:ts.A.Focusable})])}}}),{features:pJ});function p1(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function p2(){let e=[],t={addEventListener:(e,n,r,a)=>(e.addEventListener(n,r,a),t.add(()=>e.removeEventListener(n,r,a))),requestAnimationFrame(...e){let n=requestAnimationFrame(...e);t.add(()=>cancelAnimationFrame(n))},nextFrame(...e){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...e)})},setTimeout(...e){let n=setTimeout(...e);t.add(()=>clearTimeout(n))},microTask(...e){let n={current:!0};return(0,pG.Y)(()=>{n.current&&e[0]()}),t.add(()=>{n.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=p2();return e(t),this.add(()=>t.dispose())},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}var p4=n(5875);let p8=(m=()=>new Map,f={PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:p2(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r;let a={doc:e,d:t,meta:function(e){let t={};for(let n of e)Object.assign(t,n(t));return t}(n)},i=[(0,p4.gn)()?{before({doc:e,d:t,meta:n}){function r(e){return n.containers.flatMap(e=>e()).some(t=>t.contains(e))}t.microTask(()=>{var n;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let n=p2();n.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>n.dispose()))}let a=null!=(n=window.scrollY)?n:window.pageYOffset,i=null;t.addEventListener(e,"click",t=>{if(t.target instanceof HTMLElement)try{let n=t.target.closest("a");if(!n)return;let{hash:a}=new URL(n.href),o=e.querySelector(a);o&&!r(o)&&(i=o)}catch{}},!0),t.addEventListener(e,"touchstart",e=>{if(e.target instanceof HTMLElement){if(r(e.target)){let n=e.target;for(;n.parentElement&&r(n.parentElement);)n=n.parentElement;t.style(n,"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;a!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,a),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)})})}}:{},{before({doc:e}){var t;let n=e.documentElement;
5r=(null!=(t=e.defaultView)?t:window).innerWidth-n.clientWidth},after({doc:e,d:t}){let n=e.documentElement,a=n.clientWidth-n.offsetWidth,i=r-a;t.style(n,"paddingRight",`${i}px`)}},{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];i.forEach(({before:e})=>null==e?void 0:e(a)),i.forEach(({after:e})=>null==e?void 0:e(a))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}},u=m(),c=new Set,{getSnapshot:()=>u,subscribe:e=>(c.add(e),()=>c.delete(e)),dispatch(e,...t){let n=f[e].call(u,...t);n&&(u=n,c.forEach(e=>e()))}});p8.subscribe(()=>{let e=p8.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&p8.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&p8.dispatch("TEARDOWN",n)}});let p6=new Map,p3=new Map;function p5(e,t=(0,y.iH)(!0)){(0,g.m0)(n=>{var r;if(!t.value)return;let a=(0,tp.v)(e);if(!a)return;n(function(){var e;if(!a)return;let t=null!=(e=p3.get(a))?e:1;if(1===t?p3.delete(a):p3.set(a,t-1),1!==t)return;let n=p6.get(a);n&&(null===n["aria-hidden"]?a.removeAttribute("aria-hidden"):a.setAttribute("aria-hidden",n["aria-hidden"]),a.inert=n.inert,p6.delete(a))});let i=null!=(r=p3.get(a))?r:0;p3.set(a,i+1),0===i&&(p6.set(a,{"aria-hidden":a.getAttribute("aria-hidden"),inert:a.inert}),a.setAttribute("aria-hidden","true"),a.inert=!0)})}let p7=Symbol("StackContext");var p9=((d=p9||{})[d.Add=0]="Add",d[d.Remove=1]="Remove",d);let me=Symbol("DescriptionContext");(0,g.aZ)({name:"Description",props:{as:{type:[Object,String],default:"p"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){var r;let a=null!=(r=e.id)?r:`headlessui-description-${(0,tr.M)()}`,i=function(){let e=(0,g.f3)(me,null);if(null===e)throw Error("Missing parent");return e}();return(0,g.bv)(()=>(0,g.Ah)(i.register(a))),()=>{let{name:r="Description",slot:o=(0,y.iH)({}),props:l={}}=i,{...s}=e,u={...Object.entries(l).reduce((e,[t,n])=>Object.assign(e,{[t]:(0,y.SU)(n)}),{}),id:a};return(0,tg.sY)({ourProps:u,theirProps:s,slot:o.value,attrs:t,slots:n,name:r})}}});var mt=((p=mt||{})[p.Open=0]="Open",p[p.Closed=1]="Closed",p);let mn=Symbol("DialogContext");
5function mr(e){let t=(0,g.f3)(mn,null);if(null===t){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,mr),t}return t}let ma="DC8F892D-2EBD-447C-A4C8-A03058436FF4",mi=(0,g.aZ)({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:ma},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:a}){var i,o,l;let s;let u=null!=(i=e.id)?i:`headlessui-dialog-${(0,tr.M)()}`,c=(0,y.iH)(!1);(0,g.bv)(()=>{c.value=!0});let d=!1,p=(0,g.Fl)(()=>"dialog"===e.role||"alertdialog"===e.role?e.role:(d||(d=!0,console.warn(`Invalid role [${p}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),m=(0,y.iH)(0),f=(0,tu.oJ)(),h=(0,g.Fl)(()=>e.open===ma&&null!==f?(f.value&tu.ZM.Open)===tu.ZM.Open:e.open),v=(0,y.iH)(null),b=(0,g.Fl)(()=>(0,tV.r)(v));if(a({el:v,$el:v}),!(e.open!==ma||null!==f))throw Error("You forgot to provide an `open` prop to the `Dialog`.");if("boolean"!=typeof h.value)throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${h.value===ma?void 0:e.open}`);let O=(0,g.Fl)(()=>c.value&&h.value?0:1),w=(0,g.Fl)(()=>0===O.value),k=(0,g.Fl)(()=>m.value>1),x=null!==(0,g.f3)(mn,null),[S,_]=tK(),{resolveContainers:E,mainTreeNodeRef:A,MainTreeNode:T}=t4({portals:S,defaultContainers:[(0,g.Fl)(()=>{var e;return null!=(e=U.panelRef.value)?e:v.value})]}),D=(0,g.Fl)(()=>k.value?"parent":"leaf"),C=(0,g.Fl)(()=>null!==f&&(f.value&tu.ZM.Closing)===tu.ZM.Closing),$=(0,g.Fl)(()=>!x&&!C.value&&w.value);p5((0,g.Fl)(()=>{var e,t,n;return null!=(n=Array.from(null!=(t=null==(e=b.value)?void 0:e.querySelectorAll("body > *"))?t:[]).find(e=>"headlessui-portal-root"!==e.id&&e.contains((0,tp.v)(A))&&e instanceof HTMLElement))?n:null}),$);let P=(0,g.Fl)(()=>!!k.value||w.value);p5((0,g.Fl)(()=>{var e,t,n;return null!=(n=Array.from(null!=(t=null==(e=b.value)?void 0:e.querySelectorAll("[data-headlessui-portal]"))?t:[]).find(e=>e.contains((0,tp.v)(A))&&e instanceof HTMLElement))?n:null}),P),function({type:e,enabled:t,element:n,onUpdate:r}){let a=(0,g.f3)(p7,()=>{});function i(...e){null==r||r(...e),a(...e)}(0,g.bv)(()=>{(0,g.YP)(t,(t,r)=>{t?i(0,e,n):!0===r&&i(1,e,n)},{immediate:!0,flush:"sync"})}),(0,g.Ah)(()=>{t.value&&i(1,e,n)}),(0,g.JJ)(p7,i)}({type:"Dialog",enabled:(0,g.Fl)(()=>0===O.value),element:v,onUpdate:(e,t)=>{if("Dialog"===t)return(0,th.E)(e,{[p9.Add]:()=>m.value+=1,[p9.Remove]:()=>m.value-=1})}});let I=function({slot:e=(0,y.iH)({}),name:t="Description",props:n={}}={}){let r=(0,y.iH)([]);return(0,g.JJ)(me,{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:n}),(0,g.Fl)(()=>r.value.length>0?r.value.join(" "):void 0)}({name:"DialogDescription",slot:(0,g.Fl)(()=>({open:h.value}))}),N=(0,y.iH)(null),U={titleId:N,panelRef:(0,y.iH)(null),dialogState:O,setTitleId(e){N.value!==e&&(N.value=e)},close(){t("close",!1)}};(0,g.JJ)(mn,U);let M=(0,g.Fl)(()=>!(!w.value||k.value));(0,ta.O)(E,(e,t)=>{e.preventDefault(),U.close(),(0,g.Y3)(()=>null==t?void 0:t.focus())},M);let R=(0,g.Fl)(()=>!(k.value||0!==O.value));t2(null==(o=b.value)?void 0:o.defaultView,"keydown",e=>{R.value&&(e.defaultPrevented||e.key===tc.R.Escape&&(e.preventDefault(),e.stopPropagation(),U.close()))});let j=(0,g.Fl)(()=>!(C.value||0!==O.value||x));return l=e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],E]}},s=(0,y.XI)(p8.getSnapshot()),(0,g.Ah)(p8.subscribe(()=>{s.value=p8.getSnapshot()})),(0,g.Fl)(()=>{let e=b.value?s.value.get(b.value):void 0;return!!e&&e.count>0}),(0,g.YP)([b,j],([e,t],[n],r)=>{if(!e||!t)return;p8.dispatch("PUSH",e,l);let a=!1;r(()=>{a||(p8.dispatch("POP",null!=n?n:e,l),a=!0)})},{immediate:!0}),(0,g.m0)(e=>{if(0!==O.value)return;let t=(0,tp.v)(v);if(!t)return;let n=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&&U.close()}});n.observe(t),e(()=>n.disconnect())}),()=>{let{open:t,initialFocus:a,...i}=e,o={...n,ref:v,id:u,role:p.value,"aria-modal":0===O.value||void 0,"aria-labelledby":N.value,"aria-describedby":I.value},l={open:0===O.value};return(0,g.h)(tq,{force:!0},()=>[(0,g.h)(tY,()=>(0,g.h)(t0,{target:v.value},()=>(0,g.h)(tq,{force:!1},()=>(0,g.h)(p0,{initialFocus:a,containers:E,features:w.value?(0,th.E)(D.value,{parent:p0.features.RestoreFocus,leaf:p0.features.All&~p0.features.FocusLock}):p0.features.None},()=>(0,g.h)(_,{},()=>(0,tg.sY)({ourProps:o,theirProps:{...i,...n},slot:l,attrs:n,slots:r,visible:0===O.value,features:tg.AN.RenderStrategy|tg.AN.Static,name:"Dialog"})))))),(0,g.h)(T)])}}}),mo=((0,g.aZ)({name:"DialogOverlay",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){var r;let a=null!=(r=e.id)?r:`headlessui-dialog-overlay-${(0,tr.M)()}`,i=mr("DialogOverlay");function o(e){e.target===e.currentTarget&&(e.preventDefault(),e.stopPropagation(),i.close())}return()=>{let{...r}=e;return(0,tg.sY)({ourProps:{id:a,"aria-hidden":!0,onClick:o},theirProps:r,slot:{open:0===i.dialogState.value},attrs:t,slots:n,name:"DialogOverlay"})}}}),(0,g.aZ)({name:"DialogBackdrop",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){var a;let i=null!=(a=e.id)?a:`headlessui-dialog-backdrop-${(0,tr.M)()}`,o=mr("DialogBackdrop"),l=(0,y.iH)(null);return r({el:l,$el:l}),(0,g.bv)(()=>
5{if(null===o.panelRef.value)throw Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.")}),()=>{let{...r}=e,a={id:i,ref:l,"aria-hidden":!0};return(0,g.h)(tq,{force:!0},()=>(0,g.h)(tY,()=>(0,tg.sY)({ourProps:a,theirProps:{...t,...r},slot:{open:0===o.dialogState.value},attrs:t,slots:n,name:"DialogBackdrop"})))}}}),(0,g.aZ)({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var a;let i=null!=(a=e.id)?a:`headlessui-dialog-panel-${(0,tr.M)()}`,o=mr("DialogPanel");function l(e){e.stopPropagation()}return r({el:o.panelRef,$el:o.panelRef}),()=>{let{...r}=e,a={id:i,ref:o.panelRef,onClick:l};return(0,tg.sY)({ourProps:a,theirProps:r,slot:{open:0===o.dialogState.value},attrs:t,slots:n,name:"DialogPanel"})}}})),ml=(0,g.aZ)({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){var r;let a=null!=(r=e.id)?r:`headlessui-dialog-title-${(0,tr.M)()}`,i=mr("DialogTitle");return(0,g.bv)(()=>{i.setTitleId(a),(0,g.Ah)(()=>i.setTitleId(null))}),()=>{let{...r}=e;return(0,tg.sY)({ourProps:{id:a},theirProps:r,slot:{open:0===i.dialogState.value},attrs:t,slots:n,name:"DialogTitle"})}}});var ms={key:0,class:"close-button z-10 fixed right-2 top-2"};function mu(){return(0,y.qj)({open:!1,show(){this.open=!0},hide(){this.open=!1}})}var mc=w((0,g.aZ)({__name:"ScalarModal",props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:"md"},variant:{}},emits:["close"],setup(e,{emit:t}){let n=(0,h.jS)({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,h.jS)({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(a,i)=>((0,g.wg)(),(0,g.j4)((0,y.SU)(mi),{open:e.state.open,onClose:i[1]||(i[1]=()=>{e.state.hide(),t("close")})},{default:(0,g.w5)(()=>[(0,g._)("div",{class:(0,v.C_)((0,y.SU)(h.cx)("full"===e.size?"scalar-modal-layout-full":"scalar-modal-layout","fixed left-0 top-0 flex items-start justify-center","z-overlay h-dvh w-dvw","bg-backdrop opacity-0 dark:bg-backdrop-dark","full"===e.size&&"flex"))},[(0,g.Wm)((0,y.SU)(mo),{class:(0,v.C_)((0,y.SU)(n)({size:e.size,variant:e.variant})),style:(0,v.j5)({maxWidth:e.maxWidth})},{default:(0,g.w5)(()=>[e.title?((0,g.wg)(),(0,g.j4)((0,y.SU)(ml),{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,g.w5)(()=>
5[(0,g.Uk)((0,v.zw)(e.title),1)]),_:1})):(0,g.kq)("",!0),"full"===e.size?((0,g.wg)(),(0,g.iD)("div",{key:1,class:(0,v.C_)(e.bodyClass)},[(0,g.WI)(a.$slots,"default",{},void 0,!0)],2)):((0,g.wg)(),(0,g.iD)("div",{key:2,class:(0,v.C_)((0,y.SU)(h.cx)((0,y.SU)(r)({size:e.size,variant:e.variant}),e.bodyClass))},[(0,g.WI)(a.$slots,"default",{},void 0,!0)],2))]),_:3},8,["class","style"]),"full"===e.size?((0,g.wg)(),(0,g.iD)("div",ms,[(0,g.Wm)((0,y.SU)(dI),{class:"hover:bg-b-3 focus:outline-none",icon:(0,y.SU)(pX.Z),label:"Close modal",onClick:i[0]||(i[0]=t=>e.state.hide())},null,8,["icon"])])):(0,g.kq)("",!0)],2)]),_:3},8,["open"]))}}),[["__scopeId","data-v-5bb1dcc2"]]),md=(0,g.aZ)({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,h.li)();return(n,r)=>((0,g.wg)(),(0,g.j4)((0,y.SU)(nr),{as:"template"},{default:(0,g.w5)(({open:r})=>[(0,g.Wm)((0,y.SU)(te),(0,v.vs)((0,g.F4)(n.$props)),{floating:(0,g.w5)(({width:a,height:i})=>[(0,g.Wm)((0,y.SU)(ni),(0,g.dG)({focus:e.focus,style:{width:a,height:i}},(0,y.SU)(t)("relative flex flex-col p-0.75")),{default:(0,g.w5)(({close:e})=>[(0,g.WI)(n.$slots,"popover",{close:()=>e(),open:r}),(0,g.WI)(n.$slots,"backdrop",{open:r},()=>[(0,g.Wm)((0,y.SU)(tt))])]),_:2},1040,["focus","style"])]),default:(0,g.w5)(()=>[(0,g.Wm)((0,y.SU)(na),{as:"template"},{default:(0,g.w5)(()=>[(0,g.WI)(n.$slots,"default",{open:r})]),_:2},1024)]),_:2},1040)]),_:3}))}}),mp=["aria-label"],mm=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarSearchInput",props:(0,g.Vf)({loader:{},label:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,g.tT)(e,"modelValue"),n=(0,y.iH)(null);function r(){t.value="",n.value&&n.value.focus()}let{stylingAttrsCx:a,otherAttrs:i}=(0,h.li)();return(o,l)=>((0,g.wg)(),(0,g.iD)("label",(0,v.vs)((0,g.F4)((0,y.SU)(a)("flex items-center text-lg font-medium h-10 pl-3 pr-1.5 py-2 gap-2.25"))),[(0,g.Wm)((0,y.SU)(tj.Z),{class:"text-sidebar-c-search size-4"}),(0,g.wy)((0,g._)("input",(0,g.dG)({ref_key:"inputRef",ref:n},(0,y.SU)(i),{"onUpdate:modelValue":l[0]||(l[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:"Search...",spellcheck:"false",type:"search"}),null,16,mp),[[q.nr,t.value]]),e.loader&&e.loader.isActive?((0,g.wg)(),(0,g.j4)((0,y.SU)(k),{key:0,class:"mr-1",loader:e.loader,size:"lg"},null,8,["loader"])):t.value?((0,g.wg)(),(0,g.j4)((0,y.SU)(dI),{key:1,class:"-my-1",icon:(0,y.SU)(pX.Z),label:"Clear Search",size:"sm",weight:"bold",onClick:(0,q.iM)(r,["stop","prevent"])},null,8,["icon"])):(0,g.kq)("",!0)],16))}}),mf=["aria-selected"],mh={key:0,class:"flex h-fit items-center text-sm font-medium text-c-3 group-hover:text-c-1"},mg={class:"flex min-w-0 flex-1 flex-col gap-0.5"},mv={class:"flex items-center gap-1"},my={class:"flex-1 truncate zoomed:whitespace-normal! wrap-break-word font-medium"},mb={key:0,class:"text-base text-c-2"},mO={key:0,class:"truncate zoomed:whitespace-normal! wrap-break-word text-c-2"},mw=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarSearchResultItem",props:{icon:{type:[Object,Function]},selected:{type:Boolean}},setup(e){let{cx:t}=(0,h.li)();return(n,r)=>((0,g.wg)(),(0,g.iD)("a",(0,g.dG)({"aria-selected":e.selected,role:"option",tabindex:"-1"},(0,y.SU)(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,g.wg)(),(0,g.iD)("div",mh,[(0,g.WI)(n.$slots,"icon",{},()=>[e.icon?((0,g.wg)(),(0,g.j4)((0,y.SU)(dO),{key:0,class:"size-4",icon:e.icon},null,8,["icon"])):(0,g.kq)("",!0)]),r[0]||(r[0]=(0,g._)("span",null,"â",-1))])):(0,g.kq)("",!0),(0,g._)("div",mg,[(0,g._)("div",mv,[(0,g._)("div",my,[(0,g.WI)(n.$slots,"default")]),n.$slots.addon?((0,g.wg)(),(0,g.iD)("div",mb,[(0,g.WI)(n.$slots,"addon")])):(0,g.kq)("",!0)]),n.$slots.description?((0,g.wg)(),(0,g.iD)("div",mO,[(0,g.WI)(n.$slots,"description")])):(0,g.kq)("",!0)])],16,mf))}}),mk=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarSearchResultList",props:{noResults:{type:Boolean}},setup(e){let{cx:t}=(0,h.li)();return(n,r)=>((0,g.wg)(),(0,g.iD)("div",(0,g.dG)({role:"listbox"},(0,y.SU)(t)("flex flex-col")),[e.noResults?(0,g.WI)(n.$slots,"noResults",{key:0}
5,()=>[r[0]||(r[0]=(0,g._)("div",{class:"flex flex-col items-center gap-2 px-3 py-4"},[(0,g._)("div",{class:"text-base font-medium text-c-2",role:"alert"}," No results found ")],-1))]):(0,g.kq)("",!0),(0,g.WI)(n.$slots,"default")],16))}}),mx=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarSidebar",setup(e){let{cx:t}=(0,h.li)();return(e,n)=>((0,g.wg)(),(0,g.iD)("aside",(0,v.vs)((0,g.F4)((0,y.SU)(t)("flex flex-col border-r bg-sidebar-b-1 border-sidebar-border w-72"))),[(0,g.WI)(e.$slots,"default")],16))}}),mS=w((0,g.aZ)({inheritAttrs:!1,__name:"ScalarSidebarIndent",props:{indent:{default:0},selected:{type:Boolean,default:!1},disabled:{type:Boolean}},setup(e){let t=(0,g.Fl)(()=>Array.from({length:e.indent},(e,t)=>t)),{cx:n}=(0,h.li)();return(r,a)=>((0,g.wg)(),(0,g.iD)("div",(0,v.vs)((0,g.F4)((0,y.SU)(n)("scalar-sidebar-indent flex justify-center",{"mr-[calc(20px-var(--scalar-sidebar-indent))]":e.indent>0,"scalar-sidebar-indent-selected":e.selected}))),[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(t.value,(n,r)=>((0,g.wg)(),(0,g.iD)("div",{key:n,class:"relative w-[var(--scalar-sidebar-indent)]"},[a[0]||(a[0]=(0,g._)("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,g.wg)(),(0,g.iD)("div",{key:0,class:(0,v.C_)(["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,g.kq)("",!0)]))),128))],16))}}),[["__scopeId","data-v-3e080c68"]]),m_={key:0,class:"h-lh *:size-4 mr-1 flex items-center"},mE={class:"group/button-label flex-1 min-w-0"},mA=(0,g.aZ)({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,h.jS)({base:["group/button peer/button flex items-stretch rounded p-2","font-sidebar text-base/4 text-sidebar-c-2 no-underline wrap-break-word"],variants:{active:{true:"text-sidebar-c-active font-sidebar-active"},disabled:{true:"cursor-auto"},selected:{true:"cursor-auto bg-sidebar-b-active text-sidebar-c-active font-sidebar-active"}},compoundVariants:[{selected:!1,disabled:!1,active:!1,class:"hover:bg-sidebar-b-hover hover:text-sidebar-c-hover"},{selected:!1,disabled:!1,active:!0,class:"hover:bg-sidebar-b-hover"}],defaultVariants:{selected:!1,disabled:!1,active:!1}}),{cx:n}=(0,h.li)();return(r,a)=>((0,g.wg)(),(0,g.j4)((0,g.LL)(e.is),(0,g.dG)({"aria-selected":e.selected,type:"button"===e.is?"button":void 0},(0,y.SU)(n)((0,y.SU)(t)({selected:e.selected,disabled:e.disabled,active:e.active}))),{default:(0,g.w5)(()=>[(0,g.WI)(r.$slots,"indent",{},()=>[(0,g.Wm)(mS,{class:"-my-2",disabled:e.disabled,indent:e.indent,selected:e.selected},null,8,["disabled","indent","selected"])]),e.icon||r.$slots.icon?((0,g.wg)(),(0,g.iD)("div",m_,[(0,g.WI)(r.$slots,"icon",{},()=>[e.icon?((0,g.wg)(),(0,g.j4)((0,y.SU)(dO),{key:0,icon:e.icon},null,8,["icon"])):(0,g.kq)("",!0)])])):(0,g.kq)("",!0),(0,g._)("div",mE,[(0,g.WI)(r.$slots,"default")]),(0,g.WI)(r.$slots,"aside")]),_:3},16,["aria-selected","type"]))}}),mT={class:"flex items-center"},mD={class:"flex-1 min-w-0 flex items-center text-sm text-sidebar-c-2"},mC=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarSidebarFooter",setup(e){let{cx:t}=(0,h.li)();return(e,n)=>((0,g.wg)(),(0,g.iD)("div",(0,v.vs)((0,g.F4)((0,y.SU)(t)("flex flex-col gap-3 px-3 pb-3 border-sidebar-border"))),[(0,g.WI)(e.$slots,"default"),(0,g._)("div",mT,[(0,g._)("div",mD,[(0,g.WI)(e.$slots,"description",{},()=>[n[0]||(n[0]=(0,g._)("a",{class:"no-underline hover:underline",href:"https://www.scalar.com",target:"_blank"}," Powered by Scalar ",-1))])]),(0,g.WI)(e.$slots,"toggle",{},()=>[(0,g.Wm)((0,y.SU)(eJ))])])],16))}}),m$={class:"sr-only"},mP=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarSidebarGroupToggle",props:{is:{default:"div"},open:{type:Boolean,default:!1},icon:{type:[Object,Function]}},setup(e){let t=(0,h.jS)({base:"size-4 flex items-center justify-center transition-transform duration-100",variants:{open:{true:"rotate-90"}},defaultVariants:{open:!1}}),{cx:n}=(0,h.li)();return(r,a)=>((0,g.wg)(),(0,g.j4)((0,g.LL)(e.is),(0,g.dG)({type:"button"===e.is?"button":void 0},(0,y.SU)(n)((0,y.SU)(t)({open:e.open}))),{default:(0,g.w5)(()=>[(0,g.WI)(r.$slots,"default",{open:e.open},()=>[e.icon?((0,g.wg)(),(0,g.j4)((0,y.SU)(dO),{key:0,icon:e.icon},null,8,["icon"])):((0,g.wg)(),(0,g.j4)((0,y.SU)(pL.Z),{key:1,class:"size-3",weight:"bold"}))]),(0,g._)("span",m$,[(0,g.WI)(r.$slots,"label",{open:e.open},()=>[(0,g.Uk)((0,v.zw)(e.open?"Close":"Open")+" Group ",1)])])]),_:3},16,["type"]))}}),mI=Symbol(),mN=(e={})=>{let{increment:t=!1,reset:n=!1}=e,r=(0,g.f3)(mI,0);return n?(0,g.JJ)(mI,0):t&&r<6?(0,g.JJ)(mI,r+1):(0,g.JJ)(mI,r),{level:r}},mU={class:"group/group-button relative flex flex-col text-base"},mM={key:0,class:"size-4"},mR=["aria-expanded"],mj={key:0,class:"group/items flex flex-col gap-px"},mL=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarSidebarGroup",props:(0,g.Vf)({is:{default:"li"},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},controlled:{type:Boolean},discrete:{type:Boolean}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:(0,g.Vf)(["click","toggle"],["update:open"]),setup(e,{emit:t}){let n=(0,g.tT)(e,"open"),{level:r}=mN({increment:!0}),{cx:a}=(0,h.li)(),i=r=>{t("click",r),e.controlled||e.discrete||(n.value=!n.value)},o=r=>{t("toggle",r),!e.controlled&&e.discrete&&(n.value=!n.value)};return(t,l)=>((0,g.wg)(),(0,g.j4)((0,g.LL)(e.is),(0,v.vs)((0,g.F4)((0,y.SU)(a)("group/item flex flex-col gap-px"))),{default:(0,g.w5)(()=>[(0,g._)("div",mU,[(0,g.WI)(t.$slots,"before",{open:n.value}),(0,g.WI)(t.$slots,"button",{level:(0,y.SU)(r),open:n.value},()=>[(0,g.Wm)(mA,{is:"button",active:e.active,"aria-expanded":n.value,disabled:e.disabled,icon:e.icon,indent:(0,y.SU)(r),selected:e.selected,onClick:i},(0,g.Nv)({indent:(0,g.w5)(()=>[(0,g.Wm)(mS,{class:"mr-0 -my-2",indent:(0,y.SU)(r),selected:e.selected},null,8,["indent","selected"])]),aside:(0,g.w5)(()=>[(0,g.WI)(t.$slots,"aside",{open:n.value}),e.discrete?((0,g.wg)(),(0,g.iD)("div",mM)):(0,g.WI)(t.$slots,"toggle",{key:1,open:n.value},()=>[(0,g.Wm)(mP,{class:"text-sidebar-c-2",open:n.value},null,8,["open"])])]),default:(0,g.w5)(()=>[(0,g.WI)(t.$slots,"default",{open:n.value})]),_:2},[t.$slots.icon?{name:"icon",fn:(0,g.w5)(()=>[(0,g.WI)(t.$slots,"icon",{open:n.value})]),key:"0"}:void 0]),1032,["active","aria-expanded","disabled","icon","indent","selected"]),e.discrete?((0,g.wg)(),(0,g.iD)("button",{key:0,"aria-expanded":n.value,class:(0,v.C_)(["absolute top-[1lh] -translate-y-1/2 p-0.75 rounded right-1.25 text-sidebar-c-2",e.selected?"hover:bg-sidebar-b-1 hover:text-sidebar-c-1":"hover:bg-sidebar-b-hover hover:text-sidebar-c-hover"]),type:"button",onClick:o},[(0,g.WI)(t.$slots,"toggle",{open:n.value},()=>[(0,g.Wm)(mP,{open:n.value},{label:(0,g.w5)(()=>
5[(0,g.Uk)((0,v.zw)(n.value?"Close":"Open")+" ",1),(0,g.WI)(t.$slots,"default",{open:n.value})]),_:3},8,["open"])])],10,mR)):(0,g.kq)("",!0)]),(0,g.WI)(t.$slots,"after",{open:n.value})]),n.value?((0,g.wg)(),(0,g.iD)("ul",mj,[(0,g.WI)(t.$slots,"items",{open:n.value})])):(0,g.kq)("",!0)]),_:3},16))}}),mZ=(0,g.aZ)({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}=mN(),{cx:n}=(0,h.li)();return(r,a)=>((0,g.wg)(),(0,g.iD)("li",(0,v.vs)((0,g.F4)((0,y.SU)(n)("group/item flex flex-col text-base"))),[(0,g.WI)(r.$slots,"before"),(0,g.WI)(r.$slots,"button",{level:(0,y.SU)(t)},()=>[(0,g.Wm)(mA,(0,g.dG)(e,{indent:e.indent??(0,y.SU)(t)}),(0,g.Nv)({_:2},[r.$slots.default?{name:"default",fn:(0,g.w5)(()=>[(0,g.WI)(r.$slots,"default")]),key:"0"}:void 0,r.$slots.icon?{name:"icon",fn:(0,g.w5)(()=>[(0,g.WI)(r.$slots,"icon")]),key:"1"}:void 0,r.$slots.aside?{name:"aside",fn:(0,g.w5)(()=>[(0,g.WI)(r.$slots,"aside")]),key:"2"}:void 0]),1040,["indent"])]),(0,g.WI)(r.$slots,"after")],16))}}),mB=Symbol(),mz=()=>{let e=(0,y.iH)([]),t=(0,g.Fl)(()=>e.value.some(e=>e.value));return(0,g.JJ)(mB,e),{open:t}},mF=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarSidebarItems",props:{is:{default:"ul"}},setup(e){let{open:t}=mz(),{cx:n}=(0,h.li)();return(r,a)=>((0,g.wg)(),(0,g.j4)((0,g.LL)(e.is),(0,v.vs)((0,g.F4)((0,y.SU)(n)("group/items relative flex flex-col p-(--scalar-sidebar-padding) gap-px transition-transform duration-300",(0,y.SU)(t)?"-translate-x-full":"translate-x-0"))),{default:(0,g.w5)(()=>[(0,g.WI)(r.$slots,"default")]),_:3},16))}}),mQ=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarSidebarSpacer",props:{indent:{default:0}},setup(e){let{cx:t}=(0,h.li)();return(n,r)=>((0,g.wg)(),(0,g.iD)("div",(0,v.vs)((0,g.F4)((0,y.SU)(t)("flex px-2 h-1"))),[(0,g.Wm)(mS,{indent:e.indent},null,8,["indent"])],16))}});n(12698);var mH={class:"flex-1 text-left leading-none"},mq={key:0,class:"uppercase text-sidebar-c-2 leading-none py-1 px-1.25 rounded text-xs font-medium border"},mV=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarSidebarSearchButton",setup(e){let{cx:t}=(0,h.li)();return(e,n)=>((0,g.wg)(),(0,g.iD)("button",(0,g.dG)({role:"search",type:"button"},(0,y.SU)(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,g.Wm)((0,y.SU)(tj.Z),{class:"size-4"}),(0,g._)("span",mH,[(0,g.WI)(e.$slots,"default",{},()=>[n[0]||(n[0]=(0,g.Uk)("Search...",-1))])]),e.$slots.shortcut?((0,g.wg)(),(0,g.iD)("span",mq,[n[1]||(n[1]=(0,g._)("span",{class:"sr-only"},"Keyboard Shortcut:",-1)),(0,g._)("kbd",null,[(0,g.WI)(e.$slots,"shortcut")])])):(0,g.kq)("",!0)],16))}}),mW=["aria-label"],mX=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarSidebarSearchInput",props:(0,g.Vf)({autofocus:{type:Boolean},loader:{},label:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,y.iH)(null),n=(0,g.tT)(e,"modelValue");function r(){n.value="",t.value&&t.value.focus()}let{stylingAttrsCx:a,otherAttrs:i}=(0,h.li)();return(0,g.bv)(()=>e.autofocus&&t.value?.focus()),(o,l)=>((0,g.wg)(),(0,g.iD)("label",(0,v.vs)((0,g.F4)((0,y.SU)(a)("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",n.value?"text-sidebar-c-1":"text-sidebar-c-search"))),[(0,g.Wm)((0,y.SU)(tj.Z),{class:"text-sidebar-c-search size-4"}),(0,g.wy)((0,g._)("input",(0,g.dG)({ref_key:"inputRef",ref:t},(0,y.SU)(i),{"onUpdate:modelValue":l[0]||(l[0]=e=>n.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"}),null,16,mW),[[q.nr,n.value]]),e.loader&&e.loader.isActive?((0,g.wg)(),(0,g.j4)((0,y.SU)(k),{key:0,class:"mr-3 self-center",loader:e.loader,size:"md"},null,8,["loader"])):n.value?((0,g.wg)(),(0,g.j4)((0,y.SU)(dI),{key:1,class:"p-0.25 size-4",icon:(0,y.SU)(pX.Z),label:"Clear Search",weight:"bold",onClick:(0,q.iM)(r,["stop","prevent"])},null,8,["icon"])):(0,g.kq)("",!0)],16))}}),mY={class:"flex flex-col gap-px"},mG=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarSidebarSection",props:{is:{default:"li"},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{}},setup(e){let{level:t}=mN({increment:!1}),{cx:n}=(0,h.li)();return(r,a)=>((0,g.wg)(),(0,g.j4)((0,g.LL)(e.is),(0,v.vs)((0,g.F4)((0,y.SU)(n)("group/item group/sidebar-section contents"))),{default:(0,g.w5)(()=>[(0,g.Wm)(mQ,{class:"group/spacer-before h-3",indent:(0,y.SU)(t)},null,8,["indent"]),(0,g.Wm)(mA,{is:"div",class:"text-sm/4 py-1.75 font-bold",disabled:"",icon:e.icon,indent:(0,y.SU)(t)},{default:(0,g.w5)(()=>[(0,g.WI)(r.$slots,"default")]),_:3},8,["icon","indent"]),(0,g._)("ul",mY,[(0,g.WI)(r.$slots,"items")]),(0,g.Wm)(mQ,{class:"group/spacer-after h-3",indent:(0,y.SU)(t)},null,8,["indent"])]),_:3},16))}}),mK={class:"flex items-center flex-1 relative"},mJ={key:0,class:"select-none whitespace-nowrap text-transparent"},m0=["aria-readonly","readonly"],m1={key:1,class:"absolute flex items-center inset-0 select-none overflow-hidden whitespace-nowrap"},m2={key:0,class:"text-c-2"},m4={class:"text-transparent"},m8={key:1,class:"text-c-2"},m6=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarTextInput",props:(0,g.Vf)({readonly:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:(0,g.Vf)(["click"],["update:modelValue"]),setup(e,{emit:t}){let n=(0,g.tT)(e,"modelValue"),r=(0,y.iH)(),{stylingAttrsCx:a,otherAttrs:i}=(0,h.li)();function o(n){t("click",n),e.readonly?r.value?.select():r.value?.focus()}return(0,g.bv)(()=>{"autofocus"in i.value&&r.value?.focus()}),(t,l)=>((0,g.wg)(),(0,g.j4)((0,y.SU)(K),(0,g.dG)({is:"div"},(0,y.SU)(a)("cursor-text text-c-1",e.readonly?"":"focus-within:bg-b-1"),{onClick:o}),{default:(0,g.w5)(()=>[(0,g._)("div",mK,[t.$slots.prefix?((0,g.wg)(),(0,g.iD)("div",mJ,[(0,g.WI)(t.$slots,"prefix")])):(0,g.kq)("",!0),(0,g.wy)((0,g._)("input",(0,g.dG)({ref_key:"input",ref:r,"onUpdate:modelValue":l[0]||(l[0]=e=>n.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,y.SU)(i)),null,16,m0),[[q.YZ,n.value]]),t.$slots.prefix||t.$slots.suffix?((0,g.wg)(),(0,g.iD)("div",m1,[t.$slots.prefix?((0,g.wg)(),(0,g.iD)("span",m2,[(0,g.WI)(t.$slots,"prefix")])):(0,g.kq)("",!0),(0,g._)("span",m4,(0,v.zw)(n.value||t.$attrs.placeholder),1),t.$slots.suffix?((0,g.wg)(),(0,g.iD)("span",m8,[(0,g.WI)(t.$slots,"suffix")])):(0,g.kq)("",!0)])):(0,g.kq)("",!0)]),(0,g.WI)(t.$slots,"aside")]),_:3},16))}}),m3=(0,g.aZ)({__name:"ScalarTextInputCopy",props:(0,g.Vf)({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,g.bv)(()=>{e.immediate&&t.value&&r(t.value)});let t=(0,g.tT)(e,"modelValue"),n=(0,g.tT)(e,"copied"),{copy:r,copied:a}=(0,eh.VPI)({legacy:!0,copiedDuring:e.duration});return(0,g.YP)(a,e=>
5n.value=e),(i,o)=>((0,g.wg)(),(0,g.j4)(m6,{modelValue:t.value,"onUpdate:modelValue":o[1]||(o[1]=e=>t.value=e),readonly:!e.editable,onClick:o[2]||(o[2]=e=>t.value&&(0,y.SU)(r)(t.value))},{aside:(0,g.w5)(()=>[(0,g.Wm)((0,y.SU)(ef),{class:"z-1",copied:n.value||(0,y.SU)(a),placement:"left",onClick:o[0]||(o[0]=(0,q.iM)(e=>t.value&&(0,y.SU)(r)(t.value),["stop"]))},(0,g.Nv)({backdrop:(0,g.w5)(()=>[(0,g.Wm)((0,y.SU)(es),{class:"bg-b-1.5"})]),_:2},[i.$slots.copy?{name:"copy",fn:(0,g.w5)(()=>[(0,g.WI)(i.$slots,"copy")]),key:"0"}:void 0,i.$slots.copied?{name:"copied",fn:(0,g.w5)(()=>[(0,g.WI)(i.$slots,"copied")]),key:"1"}:void 0]),1032,["copied"])]),_:3},8,["modelValue","readonly"]))}}),m5=["--scalar-color-1","--scalar-color-2","--scalar-color-3","--scalar-background-1","--scalar-background-2","--scalar-background-3","--scalar-color-accent"];function m7(e,t){let n=[...t.matchAll(RegExp(`(${e}): ([^;]+);`,"gm"))];return 0===n.length?{}:Object.fromEntries(n.map(e=>[e[1],e[2]]))}function m9(e){return e?{...m7("--scalar-color-[1-3]",e),...m7("--scalar-background-[1-3]",e),...m7("--scalar-color-accent",e)}:{}}var fe=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarThemeSwatches",props:{css:{}},setup(e){var t;let{colors:n}=(t=()=>e.css,{colors:(0,g.Fl)(()=>({light:m9(y.Tn(t).match(/\.light-mode[^{]*{[^}]*}/m)?.[0]),dark:m9(y.Tn(t).match(/\.dark-mode[^{]*{[^}]*}/m)?.[0])}))}),{cx:r}=(0,h.li)();return(e,t)=>((0,g.wg)(),(0,g.iD)("div",(0,g.dG)({style:{"--bg-light":(0,y.SU)(n).light["--scalar-background-1"],"--bg-dark":(0,y.SU)(n).dark["--scalar-background-1"]}},(0,y.SU)(r)("flex *:size-3 overflow-hidden rounded","bg-(--bg-light) dark:bg-(--bg-dark)")),[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)((0,y.SU)(m5),e=>((0,g.wg)(),(0,g.iD)("div",{key:e,class:"bg-(--bg-light) dark:bg-(--bg-dark)",style:(0,v.j5)({"--bg-light":(0,y.SU)(n).light[e],"--bg-dark":(0,y.SU)(n).dark[e]})},null,4))),128))],16))}}),ft=["aria-checked","aria-disabled"],fn={key:0,class:"sr-only"},fr=(0,g.aZ)({__name:"ScalarToggle",props:(0,g.Vf)({disabled:{type:Boolean},label:{}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,g.tT)(e,"modelValue");function n(){e.disabled||(t.value=!t.value)}let r=(0,h.jS)({base:"relative h-3.5 min-w-6 w-6 cursor-pointer rounded-full bg-b-3 transition-colors duration-300",variants:{checked:{true:"bg-c-accent"},disabled:{true:"cursor-not-allowed opacity-40"}}});return(a,i)=>((0,g.wg)(),(0,g.iD)("button",{"aria-checked":t.value,"aria-disabled":e.disabled,class:(0,v.C_)((0,y.SU)(h.cx)((0,y.SU)(r)({checked:t.value,disabled:e.disabled}))),role:"switch",type:"button",onClick:n},[(0,g._)("div",{class:(0,v.C_)(["absolute left-px top-px flex h-3 w-3 items-center justify-center rounded-full bg-b-1 text-c-accent transition-transform duration-300",{"translate-x-2.5":t.value}])},null,2),e.label?((0,g.wg)(),(0,g.iD)("span",fn,(0,v.zw)(e.label),1)):(0,g.kq)("",!0)],10,ft))}}),fa={class:"flex-1 text-left min-w-0 truncate"},fi=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarToggleInput",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t=(0,g.tT)(e,"modelValue"),{stylingAttrsCx:n,otherAttrs:r}=(0,h.li)();return(e,a)=>((0,g.wg)(),(0,g.j4)((0,y.SU)(K),(0,g.dG)({is:"label"},(0,y.SU)(n)("cursor-pointer gap-2 hover:bg-b-2",{"text-c-1":t.value})),{default:(0,g.w5)(()=>[(0,g._)("div",fa,[(0,g.WI)(e.$slots,"default")]),(0,g.Wm)(fr,(0,g.dG)({modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=e=>t.value=e),class:"shrink-0"},(0,y.SU)(r)),null,16,["modelValue"])]),_:3},16))}}),fo={key:0},fl={key:1},fs={key:2},fu={key:3},fc={key:4},fd={key:5},fp=(0,g.aZ)({name:"ScalarIconCaretUp",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,R.n)(e);return(e,r)=>((0,g.wg)(),(0,g.iD)("svg",(0,g.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,y.SU)(t)),[(0,g.WI)(e.$slots,"default"),"bold"===(0,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",fo,[...r[0]||(r[0]=[(0,g._)("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,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",fl,[...r[1]||(r[1]=[(0,g._)("path",{d:"M208,160H48l80-80Z",opacity:"0.2"},null,-1),(0,g._)("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,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",fs,[...r[2]||(r[2]=[(0,g._)("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,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",fu,[...r[3]||(r[3]=[(0,g._)("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,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",fc,[...r[4]||(r[4]=[(0,g._)("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,y.SU)(n)?((0,g.wg)(),(0,g.iD)("g",fd,[...r[5]||(r[5]=[(0,g._)("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,g.kq)("",!0)],16))}}),fm={key:0,class:"shrink-0 whitespace-nowrap text-xs tabular-nums text-c-3"},ff=["disabled"],fh=["disabled"],fg=w((0,g.aZ)({__name:"ScalarVirtualTextSearch",props:{query:{},matchCount:{},activeMatchIndex:{}},emits:["update:query","next","prev","close"],setup(e,{expose:t,emit:n}){let r=(0,y.iH)(null),a=(0,y.iH)(e.query);(0,g.YP)(()=>e.query,e=>{a.value=e}),(0,g.YP)(a,e=>{n("update:query",e)});let i=e=>{"Enter"===e.key&&(e.preventDefault(),e.shiftKey?n("prev"):n("next")),"Escape"===e.key&&(e.preventDefault(),n("close"))};return t({focus:()=>{(0,g.Y3)(()=>r.value?.focus())}}),(t,o)=>((0,g.wg)(),(0,g.iD)("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:o[4]||(o[4]=(0,q.iM)(()=>{},["stop"]))},[(0,g.Wm)((0,y.SU)(tj.Z),{class:"pointer-events-none size-3.5 shrink-0 text-c-3"}),(0,g.wy)((0,g._)("input",{ref_key:"searchInputRef",ref:r,"onUpdate:modelValue":o[0]||(o[0]=e=>a.value=e),"aria-label":"Search in text",autocomplete:"off",class:"scalar-virtual-text-search-input min-w-0
5w-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:i},null,544),[[q.nr,a.value]]),a.value?((0,g.wg)(),(0,g.iD)("span",fm,(0,v.zw)(e.matchCount>0?`${e.activeMatchIndex+1} of ${e.matchCount}`:"No results"),1)):(0,g.kq)("",!0),o[5]||(o[5]=(0,g._)("span",{class:"mx-0.5 h-3.5 w-px bg-b-3"},null,-1)),(0,g._)("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:o[1]||(o[1]=e=>n("prev"))},[(0,g.Wm)((0,y.SU)(fp),{class:"size-3"})],8,ff),(0,g._)("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:o[2]||(o[2]=e=>n("next"))},[(0,g.Wm)((0,y.SU)(t$.Z),{class:"size-3"})],8,fh),(0,g._)("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:o[3]||(o[3]=e=>n("close"))},[(0,g.Wm)((0,y.SU)(pX.Z),{class:"size-3"})])]))}}),[["__scopeId","data-v-95edadbb"]]),fv={key:0,class:"sticky top-0 z-10 flex h-0 w-full justify-end overflow-visible"},fy=w((0,g.aZ)({__name:"ScalarVirtualText",props:{text:{},lineHeight:{default:20},containerClass:{default:""},contentClass:{default:""},lineClass:{default:""},searchable:{type:Boolean,default:!1}},setup(e){let t=(0,y.iH)(null),n=(0,y.iH)(null),r=(0,y.iH)(0),a=(0,y.iH)(0),i=(0,y.iH)(""),o=(0,y.iH)(!1),l=(0,y.iH)(0),s=(0,g.Fl)(()=>e.text.split("\n")),u=(0,g.Fl)(()=>s.value.length*e.lineHeight),c=(0,g.Fl)(()=>Math.floor(r.value/e.lineHeight)),d=(0,g.Fl)(()=>Math.min(Math.ceil((r.value+a.value)/e.lineHeight),s.value.length)),p=(0,g.Fl)(()=>Math.max(0,c.value-10)),m=(0,g.Fl)(()=>{let e=Math.min(s.value.length,d.value+10);return s.value.slice(p.value,e)}),f=(0,g.Fl)(()=>p.value*e.lineHeight),h=(0,g.Fl)(()=>{let e=i.value;if(!e)return[];let t=e.toLowerCase(),n=[];for(let r=0;r<s.value.length;r++){let a=s.value[r];if(!a)continue;let i=a.toLowerCase(),o=0;for(;o<i.length;){let a=i.indexOf(t,o);if(-1===a)break;n.push({line:r,start:a,end:a+e.length}),o=a+t.length}}return n}),b=(0,g.Fl)(()=>{let e=new Set;for(let t of h.value)e.add(t.line);return e});(0,g.YP)(()=>h.value.length,e=>{0===e?l.value=0:l.value>=e&&(l.value=e-1)});let O=n=>{if(!t.value)return;let r=n.line*e.lineHeight,a=t.value.scrollTop,i=a+t.value.clientHeight;(r<a||r+e.lineHeight>i)&&(t.value.scrollTop=r-t.value.clientHeight/2)},w=e=>{let t=h.value[e];t&&(l.value=e,O(t))},k=()=>{0!==h.value.length&&w((l.value+1)%h.value.length)},x=()=>{0!==h.value.length&&w((l.value-1+h.value.length)%h.value.length)},S=()=>{o.value=!0,(0,g.Y3)(()=>n.value?.focus())},_=()=>{o.value=!1,i.value="",l.value=0},E=t=>{e.searchable&&((t.metaKey||t.ctrlKey)&&"f"===t.key&&(t.preventDefault(),t.stopPropagation(),S()),"Escape"===t.key&&o.value&&(t.preventDefault(),_()))};(0,g.YP)(i,()=>{l.value=0;let e=h.value[0];e&&O(e)});let A=()=>t.value&&(r.value=t.value.scrollTop),T=()=>t.value&&(a.value=t.value.clientHeight);(0,g.bv)(()=>{T(),window.addEventListener("resize",T)}),(0,g.Jd)(()=>{window.removeEventListener("resize",T)});let D=e=>{let t=s.value[e]??"";if(!i.value||!b.value.has(e))return[{text:t,highlight:!1,active:!1}];let n=h.value.filter(t=>t.line===e),r=[],a=0;for(let e of n){e.start>a&&r.push({text:t.slice(a,e.start),highlight:!1,active:!1});let n=h.value.indexOf(e)===l.value;r.push({text:t.slice(e.start,e.end),highlight:!0,active:n}),a=e.end}return a<t.length&&r.push({text:t.slice(a),highlight:!1,active:!1}),r},C=e=>p.value+e;return(r,a)=>((0,g.wg)(),(0,g.iD)("div",{ref_key:"containerRef",ref:t,class:(0,v.C_)(["scalar-virtual-text relative overflow-auto",e.containerClass]),tabindex:"0",onKeydown:E,onScroll:A},[e.searchable&&o.value?((0,g.wg)(),(0,g.iD)("div",fv,[(0,g.Wm)(fg,{ref_key:"searchRef",ref:n,query:i.value,"onUpdate:query":a[0]||(a[0]=e=>i.value=e),activeMatchIndex:l.value,matchCount:h.value.length,onClose:_,onNext:k,onPrev:x}
5,null,8,["query","activeMatchIndex","matchCount"])])):(0,g.kq)("",!0),(0,g._)("div",{style:(0,v.j5)({height:`${u.value}px`})},null,4),(0,g._)("code",{class:(0,v.C_)(["scalar-virtual-text-content absolute left-0 right-0 top-0",e.contentClass]),style:(0,v.j5)({transform:`translateY(${f.value}px)`})},[((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(m.value,(t,n)=>((0,g.wg)(),(0,g.iD)("div",{key:p.value+n,class:(0,v.C_)(["scalar-virtual-text-line",e.lineClass]),style:(0,v.j5)({height:`${e.lineHeight}px`,lineHeight:`${e.lineHeight}px`})},[i.value&&b.value.has(C(n))?((0,g.wg)(!0),(0,g.iD)(g.HY,{key:0},(0,g.Ko)(D(C(n)),(e,t)=>((0,g.wg)(),(0,g.iD)(g.HY,{key:t},[e.highlight?((0,g.wg)(),(0,g.iD)("mark",{key:0,class:(0,v.C_)(["scalar-virtual-text-highlight",e.active?"scalar-virtual-text-highlight-active":""])},(0,v.zw)(e.text),3)):((0,g.wg)(),(0,g.iD)(g.HY,{key:1},[(0,g.Uk)((0,v.zw)(e.text),1)],64))],64))),128)):((0,g.wg)(),(0,g.iD)(g.HY,{key:1},[(0,g.Uk)((0,v.zw)(t),1)],64))],6))),128))],6)],34))}}),[["__scopeId","data-v-b50a85e1"]]),fb={path:/[\/\.-]/,property:/[A-Z\_\.-]/},fO={key:0},fw=(0,g.aZ)({inheritAttrs:!1,__name:"ScalarWrappingText",props:{text:{default:""},preset:{default:"path"},regex:{}},setup(e){let t=(0,g.Fl)(()=>{let t=RegExp(e.regex??fb[e.preset],"g");return e.text.replace(t,`â $&`).split("â ").filter(Boolean)});return(e,n)=>((0,g.wg)(!0),(0,g.iD)(g.HY,null,(0,g.Ko)(t.value,(e,t)=>((0,g.wg)(),(0,g.iD)(g.HY,{key:t},[0!==t?((0,g.wg)(),(0,g.iD)("wbr",fO)):(0,g.kq)("",!0),(0,g.Uk)((0,v.zw)(e),1)],64))),128))}}),fk="scalar-app",fx="headlessui-portal-root",fS=e=>null!==e&&e instanceof HTMLElement,f_=e=>{!e||e.classList.contains(fk)||e.classList.add(fk)},fE=()=>{f_(document.getElementById(fx));let e=new MutationObserver(e=>e.forEach(({addedNodes:e})=>e.forEach(e=>{fS(e)&&e.id===fx&&f_(e)})));return e.observe(document.body,{childList:!0}),e}},55512:function(e,t,n){"use strict";n.d(t,{$:function(){return r}});let r=e=>null!=e},73434:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});let r=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],a=(e,t=3)=>{if(!Number.isFinite(e)||e<=0)return"0 B";let n=Math.max(0,Math.min(Math.floor(Math.log10(e)/3),r.length-1));return Number((e/1e3**n).toPrecision(t))>=1e3&&n<r.length-1&&(n+=1),`${Number((e/1e3**n).toPrecision(t))} ${r[n]}`}},49183:function(e,t,n){"use strict";n.d(t,{D:function(){return r}});let r=(e={})=>{let{delay:t=328,maxWait:n}=e,r=new Map,a=new Map,i=new Map,o=e=>{let t=i.get(e),n=r.get(e);void 0!==n&&(clearTimeout(n),r.delete(e));let o=a.get(e);if(void 0!==o&&(clearTimeout(o),a.delete(e)),i.delete(e),void 0!==t)try{t()}catch{}};return{execute:(e,l)=>{i.set(e,l);let s=r.get(e);void 0!==s&&clearTimeout(s),r.set(e,setTimeout(()=>o(e),t)),void 0===n||a.has(e)||a.set(e,setTimeout(()=>o(e),n))},cleanup:()=>{r.forEach(clearTimeout),a.forEach(clearTimeout),r.clear(),a.clear(),i.clear()},flush:e=>{i.has(e)&&o(e)},flushAll:()=>{for(let e of[...i.keys()])o(e)}}}},46778:function(e,t,n){"use strict";n.d(t,{d:function(){return r}});let r=()=>"undefined"!=typeof window&&"electron"in window},32313:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});let r=e=>{let t=Reflect.get(e,"userAgentData");if(t&&"object"==typeof t&&"platform"in t&&"string"==typeof t.platform)return t.platform},a=()=>{if("undefined"==typeof navigator)return!1;let e=r(navigator);return e?e.toLowerCase().includes("mac"):/Mac/.test(navigator.userAgent)}},19046:function(e,t,n){"use strict";n.d(t,{LV:function(){return i},hk:function(){return o}});var r=n(46778);let a=new Set(["post","put","patch","delete"]),i=(e,t=!1)=>{let n=e.toLowerCase();return!!(0,r.d)()&&!t||a.has(n)},o=(e,t)=>new Request(e,{...t,body:i(t.method??"GET",!0)?t.body:null})},81344:function(e,t,n){"use strict";n.d(t,{W:function(){return r},i:function(){return a}});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"}},a=e=>{let t=e.trim().toLowerCase();return r[t]??{short:t,color:"text-c-2",backgroundColor:"bg-c-2"}}},92521:function(e,t,n){"use strict";n.d(t,{O:function(){return a},W:function(){return r}});let r=["delete","get","head","options","patch","post","put","trace"],a=Object.freeze(new Set(r))},60562:function(e,t,n){"use strict";n.d(t,{u:function(){return a}});var r=n(92521);let a=e=>!!e&&"string"==typeof e&&r.O.has(e.toLowerCase())},34029:function(e,t,n){"use strict";n.d(t,{u:function(){return l}});let r=/^[!#$%&'*+\-.^_`|~A-Za-z0-9]+$/,a=e=>{let t=e.replaceAll(/(["\\])/g,"\\$1");return`"${t}"`},i=e=>{let t=e.indexOf("=");if(-1===t)return null;let n=e.slice(0,t).trim().toLowerCase();if(!n||!r.test(n))return null;let a=e.slice(t+1).trim();return a?a.startsWith('"')&&a.endsWith('"')&&a.length>=2?[n,a.slice(1,-1).replaceAll(/\\(["\\])/g,"$1")]:[n,a]:null},o=e=>{let[t="",n=""]=e.split("/",2),a=t.trim().toLowerCase(),i=n.trim().toLowerCase();if(!a||!i||!r.test(a)||!r.test(i))throw Error(`Invalid MIME type: "${e}"`);return{essence:`${a}/${i}`,type:a,subtype:i}},l=(e="text/plain")=>{let t;let[n="",...l]=e.split(";");try{t=o(n)}catch{t=o("text/plain")}let{essence:s,type:u,subtype:c}=t,d=new Map;
5return l.forEach(e=>{let t=i(e);if(!t)return;let[n,r]=t;d.set(n,r)}),{essence:s,type:u,subtype:c,parameters:d,toString:()=>{let e=Array.from(d.entries()).map(([e,t])=>{let n=r.test(t)?t:a(t);return`${e}=${n}`});return e.length?`${s}; ${e.join("; ")}`:s}}}},37633:function(e,t,n){"use strict";n.d(t,{f:function(){return a}});var r=n(60562);let a=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.u)(t)?t:(console.warn(`${e||"Request method"} is not a valid request method. Using get as the default.`),"get")}},62365:function(e,t,n){"use strict";n.d(t,{A5:function(){return r},cv:function(){return i},ou:function(){return a}});let r="x-scalar-cookie",a="x-scalar-set-cookie",i="x-scalar-user-agent"},23362:function(e,t,n){"use strict";n.d(t,{W:function(){return r}});let r=e=>{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{return JSON.stringify(e,null,2)}catch{return function(e){let t=new Set;return JSON.stringify(e,(e,n)=>{if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular]";t.add(n)}return n},2)}(e)}return e?.toString()??""}},23899:function(e,t,n){"use strict";n.d(t,{K:function(){return r}});let r=e=>{if(null===e||"object"!=typeof e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}},82274:function(e,t,n){"use strict";n.d(t,{EN:function(){return a},NW:function(){return r}});let r={SELECTED_CLIENT:"scalar-reference-selected-client-v2",AUTH:"scalar-reference-auth"},a=()=>"undefined"==typeof window?{getItem:()=>null,setItem:()=>null,removeItem:()=>null}:localStorage},39473:function(e,t,n){"use strict";n.d(t,{q:function(){return r}});let r=e=>Object.entries(e)},83294:function(e,t,n){"use strict";n.d(t,{Y:function(){return r}});let r=e=>Object.keys(e)},77067:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});let r=new Set(["__proto__","prototype","constructor"]),a=(e,t)=>{if(r.has(e))throw Error(t?`Prototype pollution key detected: "${e}" in ${t}`:`Prototype pollution key detected: "${e}"`)}},21706:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(66107);let a=(e,{includePath:t=!0,includeEnv:n=!0}={})=>[t&&r.m.PATH,n&&r.m.VARIABLES].flatMap(t=>t?[...e.matchAll(t)].map(e=>e[1]?.trim()).filter(e=>void 0!==e):[])},66107:function(e,t,n){"use strict";n.d(t,{m:function(){return 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}},27678:function(e,t,n){"use strict";n.d(t,{BU:function(){return o},bU:function(){return a},hb:function(){return i}});var r=n(66107);function a(e,t){let n=(e,n)=>"function"==typeof t?t(n):t[n]?.toString()||`{${n}}`;return e.replace(/{{\s*([\w.-]+)\s*}}/g,n).replace(/{\s*([\w.-]+)\s*}/g,n)}let i=(e,t={})=>e.replace(r.m.PATH,(e,n)=>t[n]??e),o=(e,t={})=>e.replace(r.m.VARIABLES,(e,n)=>"function"==typeof t?t(n)??e:t[n]??e)},11954:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});let r=e=>{let t=0,n=0,r=e.length,a=15&r,i=r-a;for(let r=0;r<i;r+=16){let a=255&e.charCodeAt(r)|(255&e.charCodeAt(r+1))<<8|(255&e.charCodeAt(r+2))<<16|(255&e.charCodeAt(r+3))<<24,i=255&e.charCodeAt(r+4)|(255&e.charCodeAt(r+5))<<8|(255&e.charCodeAt(r+6))<<16|(255&e.charCodeAt(r+7))<<24,o=255&e.charCodeAt(r+8)|(255&e.charCodeAt(r+9))<<8|(255&e.charCodeAt(r+10))<<16|(255&e.charCodeAt(r+11))<<24,l=255&e.charCodeAt(r+12)|(255&e.charCodeAt(r+13))<<8|(255&e.charCodeAt(r+14))<<16|(255&e.charCodeAt(r+15))<<24;t^=a=Math.imul(a=(a=Math.imul(a,2277735313))<<15|a>>>17,1291169091),t=Math.imul(t=t<<13|t>>>19,5)+3864292196,n^=i=Math.imul(i=(i=Math.imul(i,1291169091))<<16|i>>>16,1390208809),n=Math.imul(n=n<<17|n>>>15,5)+461845907,t^=o=Math.imul(o=(o=Math.imul(o,1390208809))<<17|o>>>15,944331445),t=Math.imul(t=t<<15|t>>>17,5)+1390208809,n^=l=Math.imul(l=(l=Math.imul(l,944331445))<<18|l>>>14,2277735313),n=Math.imul(n=n<<13|n>>>19,5)+944331445}if(a>0){let r=0,o=0,l=0,s=0;a>=15&&(s^=(255&e.charCodeAt(i+14))<<16),a>=14&&(s^=(255&e.charCodeAt(i+13))<<8),a>=13&&(s^=255&e.charCodeAt(i+12),n^=s=Math.imul(s=(s=Math.imul(s,944331445))<<18|s>>>14,2277735313)),a>=12&&(l^=(255&e.charCodeAt(i+11))<<24),a>=11&&(l^=(255&e.charCodeAt(i+10))<<16),a>=10&&(l^=(255&e.charCodeAt(i+9))<<8),a>=9&&(l^=255&e.charCodeAt(i+8),t^=l=Math.imul(l=(l=Math.imul(l,1390208809))<<17|l>>>15,944331445)),a>=8&&(o^=(255&e.charCodeAt(i+7))<<24),a>
5=7&&(o^=(255&e.charCodeAt(i+6))<<16),a>=6&&(o^=(255&e.charCodeAt(i+5))<<8),a>=5&&(o^=255&e.charCodeAt(i+4),n^=o=Math.imul(o=(o=Math.imul(o,1291169091))<<16|o>>>16,1390208809)),a>=4&&(r^=(255&e.charCodeAt(i+3))<<24),a>=3&&(r^=(255&e.charCodeAt(i+2))<<16),a>=2&&(r^=(255&e.charCodeAt(i+1))<<8),a>=1&&(r^=255&e.charCodeAt(i),t^=r=Math.imul(r=(r=Math.imul(r,2277735313))<<15|r>>>17,1291169091))}return t^=r,n^=r,t+=n,n+=t,t^=t>>>16,t=Math.imul(t,2246822507),t^=t>>>13,t=Math.imul(t,3266489909),t^=t>>>16,n^=n>>>16,n=Math.imul(n,2246822507),n^=n>>>13,n=Math.imul(n,3266489909),n^=n>>>16,t+=n,n+=t,(t>>>0).toString(16).padStart(8,"0")+(n>>>0).toString(16).padStart(8,"0")}},37608:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});let r=["localhost","127.0.0.1","[::1]","0.0.0.0"],a=["test","example","invalid","localhost"];function i(e){try{let{hostname:t}=new URL(e);if(r.includes(t))return!0;let n=t.split(".").pop();if(n&&a.includes(n))return!0;return!1}catch{return!0}}},84117:function(e,t,n){"use strict";n.d(t,{o:function(){return a}});var r=n(66107);let a=e=>!(r.m.PROTOCOL.test(e)||/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+(\/|$)/.test(e))},10115:function(e,t,n){"use strict";n.d(t,{K:function(){return a}});var r=n(61365);let a=(e,{baseUrl:t,basePath:n}={})=>{if("undefined"==typeof window&&!t)return e;try{return new URL(e),e}catch{}try{let a=t||window.location.href;if(n){let e=t?new URL(t).origin:window.location.origin;a=(0,r._b)(e,n+"/")}return new URL(e,a).toString()}catch{return e}}},61365:function(e,t,n){"use strict";n.d(t,{_b:function(){return o},b4:function(){return i},GK:function(){return l}});var r=n(66107),a=n(84117);let i=(...e)=>{let t={};e.forEach(e=>{new Set(Array.from(e.keys())).forEach(n=>{let r=e.getAll(n),a=r.length>1?r:r[0]??"";t[n]=a})});let n=new URLSearchParams;return Object.entries(t).forEach(([e,t])=>{Array.isArray(t)?t.forEach(t=>n.append(e,t)):n.append(e,t)}),n},o=(e,t)=>t&&e!==t?e?`${e.trim()}/${t.trim()}`.replace(r.m.MULTIPLE_SLASHES,"/"):t.trim():e.trim(),l=(e,t,n=new URLSearchParams,l=!1)=>{if(e&&(!(0,a.o)(e)||"undefined"!=typeof window)){let[s="",u]=(l?e:(0,a.o)(e)?o(window.location.origin,e):r.m.PROTOCOL.test(e)?e:`http://${e.replace(/^\//,"")}`).split("?"),c=new URLSearchParams(u||""),[d="",p]=t.split("?"),m=new URLSearchParams(p||""),f=e===t?s:o(s,d),h=i(c,m,n).toString();return h?`${f}?${h}`:f}return t?o(e,t):""}},68590:function(e,t,n){"use strict";n.d(t,{L:function(){return i},_:function(){return o}});var r=n(37608),a=n(84117);let i=(e,t)=>{try{if(!o(e,t))return t??"";let n=new URL(t),r=(0,a.o)(e)?`http://localhost${e}`:e;return n.href=r,n.searchParams.append("scalar_url",t),(0,a.o)(e)?n.toString().replace(/^http:\/\/localhost/,""):n.toString()}catch{return t??""}},o=(e,t)=>{try{if(!e||!t||(0,a.o)(t))return!1;if((0,a.o)(e)||(0,r.R)(e))return!0;if((0,r.R)(t))return!1;return!0}catch{return!1}}},12698:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconArrowRight",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("path",{d:"M216,128l-72,72V56Z",opacity:"0.2"},null,-1),(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},79305:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconArrowUp",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("path",{d:"M200,112H56l72-72Z",opacity:"0.2"},null,-1),(0,a._)("path",{d:"M205.66,106.34l-72-72a8,8,0,0,0-11.32,0l-72,72A8,8,0,0,0,56,
5120h64v96a8,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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},52443:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconArrowUpRight",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("path",{d:"M192,64V168L88,64Z",opacity:"0.2"},null,-1),(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},62647:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconBook",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("path",{d:"M208,32V192H72a24,24,0,0,0-24,24V56A24,24,0,0,1,72,32Z",opacity:"0.2"},null,-1),(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},87989:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconCaretDown",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"},null,-1),(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},72794:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconCaretRight",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("path",{d:"M176,128,96,208V48Z",opacity:"0.2"},null,-1),(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},59106:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconCheck",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("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",o
5pacity:"0.2"},null,-1),(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},64838:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconCopy",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("path",{d:"M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V216a12,12,0,0,0,12,12H168a12,12,0,0,0,12-12V180h36a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28ZM156,204H52V100H156Zm48-48H180V88a12,12,0,0,0-12-12H100V52H204Z"},null,-1)])])):"duotone"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("path",{d:"M216,40V168H168V88H88V40Z",opacity:"0.2"},null,-1),(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},63684:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconEnvelopeSimple",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("path",{d:"M224,56l-96,88L32,56Z",o
5pacity:"0.2"},null,-1),(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},34442:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconInfo",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},40606:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconLockSimple",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("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,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},84481:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconMagnifyingGlass",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"},null,-1),(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},28980:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconPlus",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("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,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},62529:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconTrash",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"},null,-1),(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},36228:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconWarning",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("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,a._)("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,
5151.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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},80296:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconWarningCircle",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},26373:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconWebhooksLogo",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("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,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},85015:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1859),a=n(82589),i=n(72909),o={key:0},l={key:1},s={key:2},u={key:3},c={key:4},d={key:5},p=(0,a.aZ)({name:"ScalarIconX",props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=(0,r.n)(e);return(e,r)=>((0,a.wg)(),(0,a.iD)("svg",(0,a.dG)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.SU)(t)),[(0,a.WI)(e.$slots,"default"),"bold"===(0,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",o,[...r[0]||(r[0]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",l,[...r[1]||(r[1]=[(0,a._)("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,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",s,[...r[2]||(r[2]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",u,[...r[3]||(r[3]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",c,[...r[4]||(r[4]=[(0,a._)("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,i.SU)(n)?((0,a.wg)(),(0,a.iD)("g",d,[...r[5]||(r[5]=[(0,a._)("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,a.kq)("",!0)],16))}})},1859:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(82589);function a(e={}){let t=(0,r.Fl)(()=>e.label?{"aria-label":e.label}:{"aria-hidden":!0,role:"presentation"});return{bind:(0,r.Fl)(()=>({width:"1em",height:"1em",...t.value})),weight:(0,r.Fl)(()=>e.weight??"regular")}}},73677:function(e,t,n){"use strict";let r;n.d(t,{g:function(){return X}});var a=n(23899),i=n(80576),o=n(88e3),l=n(73430),s=n(1764),u=n(25566);let c=()=>{let e;var t,n,r,a,i,o,l,s,u,c,d,p,m,f,h,g,v,y,b,O,w,k,x,S,_,E,A,T,D,C,$,P,I,N,U,M,R,j,L,Z,B,z,F,Q,H,q,V,W,X,Y,G,K,J,ee,et,en,er,ea,ei,eo,el,es,eu,ec,ed,ep,em,ef,eh=(t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,i=(e,i,o,l)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let s of r(i))a.call(e,s)||s===o||t(e,s,{get:()=>i[s],enumerable:!(l=n(i,s))||l.enumerable});return e},((e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})})(o={},{default:()=>ef}),l=e=>Array.isArray(e),s=e=>"function"==typeof e,u=e=>0===e.length,c=e=>
5"number"==typeof e,d=e=>"object"==typeof e&&null!==e,p=e=>e instanceof RegExp,m=e=>"string"==typeof e,f=e=>void 0===e,h=(e,t,n={})=>{let r={cache:{},input:e,index:0,indexMax:0,options:n,output:[]};if(T(t)(r)&&r.index===e.length)return r.output;throw Error(`Failed to parse at index ${r.indexMax}`)},g=(e,t)=>l(e)?v(e,t):m(e)?b(e,t):y(e,t),v=(e,t)=>{let n={};for(let t of e){if(1!==t.length)throw Error(`Invalid character: "${t}"`);n[t.charCodeAt(0)]=!0}return e=>{let r=e.index,a=e.input;for(;e.index<a.length&&(a.charCodeAt(e.index) in n);)e.index+=1;let i=e.index;if(i>r){if(!f(t)&&!e.options.silent){let n=e.input.slice(r,i),o=s(t)?t(n,a,String(r)):t;f(o)||e.output.push(o)}e.indexMax=Math.max(e.indexMax,e.index)}return!0}},y=(e,t)=>{let n=new RegExp(e.source,e.flags.replace(/y|$/,"y"));return E(e=>{n.lastIndex=e.index;let r=n.exec(e.input);if(!r)return!1;if(!f(t)&&!e.options.silent){let n=s(t)?t(...r,e.input,String(e.index)):t;f(n)||e.output.push(n)}return e.index+=r[0].length,e.indexMax=Math.max(e.indexMax,e.index),!0})},b=(e,t)=>n=>{if(!n.input.startsWith(e,n.index))return!1;if(!f(t)&&!n.options.silent){let r=s(t)?t(e,n.input,String(n.index)):t;f(r)||n.output.push(r)}return n.index+=e.length,n.indexMax=Math.max(n.indexMax,n.index),!0},O=(e,t,n,r)=>{let a=T(e);return E(_(S(e=>{let r=0;for(;r<n;){let t=e.index;if(!a(e)||(r+=1,e.index===t))break}return r>=t})))},w=(e,t)=>O(e,0,1/0),k=(e,t)=>{let n=e.map(T);return E(_(S(e=>{for(let t=0,r=n.length;t<r;t++)if(!n[t](e))return!1;return!0})))},x=(e,t)=>{let n=e.map(T);return E(_(e=>{for(let t=0,r=n.length;t<r;t++)if(n[t](e))return!0;return!1}))},S=(e,t=!1)=>{let n=T(e);return e=>{let r=e.index,a=e.output.length,i=n(e);return(!i||t)&&(e.index=r,e.output.length!==a&&(e.output.length=a)),i}},_=(e,t)=>T(e),e=0,E=t=>{let n=T(t),r=e+=1;return e=>{var t;if(!1===e.options.memoization)return n(e);let a=e.index,i=(t=e.cache)[r]||(t[r]=new Map),o=i.get(a);if(!1===o)return!1;if(c(o))return e.index=o,!0;if(o)return e.index=o.index,o.output?.length&&e.output.push(...o.output),!0;{let t=e.output.length;if(!n(e))return i.set(a,!1),!1;{let n=e.index,r=e.output.length;if(r>t){let o=e.output.slice(t,r);i.set(a,{index:n,output:o})}else i.set(a,n);return!0}}}},A=e=>{let t;return n=>(t||(t=T(e())),t(n))},T=(e=>{let t=new Map;return n=>{let r=t.get(n);if(r)return r;let a=e(n);return t.set(n,a),a}})(e=>{if(s(e))return u(e)?A(e):e;if(m(e)||p(e))return g(e);if(l(e))return k(e);if(d(e))return x(Object.values(e));throw Error("Invalid rule")}),D="abcdefghijklmnopqrstuvwxyz",C=e=>{let t="";for(;e>0;)t=D[(e-1)%26]+t,e=Math.floor((e-1)/26);return t},$=e=>{let t=0;for(let n=0,r=e.length;n<r;n++)t=26*t+D.indexOf(e[n])+1;return t},P=(e,t)=>{if(t<e)return P(t,e);let n=[];for(;e<=t;)n.push(e++);return n},I=(e,t,n)=>P(e,t).map(e=>String(e).padStart(n,"0")),N=(e,t)=>P($(e),$(t)).map(C),U=e=>e,M=e=>R(t=>h(t,e,{memoization:!1}).join("")),R=e=>{let t={};return n=>t[n]??(t[n]=e(n))},j=g(/^\*\*\/\*$/,".*"),L=g(/^\*\*\/(\*)?([ a-zA-Z0-9._-]+)$/,(e,t,n)=>`.*${t?"":"(?:^|/)"}${n.replaceAll(".","\\.")}`),Z=g(/^\*\*\/(\*)?([ a-zA-Z0-9._-]*)\{([ a-zA-Z0-9._-]+(?:,[ a-zA-Z0-9._-]+)*)\}$/,(e,t,n,r)=>`.*${t?"":"(?:^|/)"}${n.replaceAll(".","\\.")}(?:${r.replaceAll(",","|").replaceAll(".","\\.")})`),B=g(/\\./,U),z=g(/[$.*+?^(){}[\]\|]/,e=>`\\${e}`),F=g(/./,U),Q=x([g(/^(?:!!)*!(.*)$/,(e,t)=>`(?!^${eu(t)}$).*?`),g(/^(!!)+/,"")]),H=x([g(/\/(\*\*\/)+/,"(?:/.+/|/)"),g(/^(\*\*\/)+/,"(?:^|.*/)"),g(/\/(\*\*)$/,"(?:/.*|$)"),g(/\*\*/,".*")]),q=x([g(/\*\/(?!\*\*\/)/,"[^/]*/"),g(/\*/,"[^/]*")]),V=g("?","[^/]"),W=g("[",U),X=g("]",U),Y=g(/[!^]/,"^/"),G=g(/[a-z]-[a-z]|[0-9]-[0-9]/i,U),K=x([B,g(/[$.*+?^(){}[\|]/,e=>`\\${e}`),G,g(/[^\]]/,U)]),J=k([W,O(Y,0,1),w(K),X]),ee=g("{","(?:"),et=g("}",")"),en=k([ee,x([g(/(\d+)\.\.(\d+)/,(e,t,n)=>I(+t,+n,Math.min(t.length,n.length)).join("|")),g(/([a-z]+)\.\.([a-z]+)/,(e,t,n)=>N(t,n).join("|")),g(/([A-Z]+)\.\.([A-Z]+)/,(e,t,n)=>N(t.toLowerCase(),n.toLowerCase()).join("|").toUpperCase())]),et]),er=g("{","(?:"),ea=g("}",")"),ei=g(",","|"),eo=g(/[$.*+?^(){[\]\|]/,e=>`\\${e}`),el=g(/[^}]/,U),es=k([er,w(x([H,q,V,J,en,A(()=>
5es),B,eo,ei,el])),ea]),eu=M(w(x([j,L,Z,Q,H,q,V,J,en,es,B,z,F]))),ec=g(/\\./,U),ed=g(/./,U),ep=M(w(x([ec,g(/\*\*\*+/,"*"),g(/([^/{[(!])\*\*/,(e,t)=>`${t}*`),g(/(^|.)\*\*(?=[^*/)\]}])/,(e,t)=>`${t}*`),ed]))),(em=(e,t)=>{let n=Array.isArray(e)?e:[e];if(!n.length)return!1;let r=n.map(em.compile),a=n.every(e=>/(\/(?:\*\*)?|\[\/\])$/.test(e)),i=t.replace(/[\\\/]+/g,"/").replace(/\/$/,a?"/":"");return r.some(e=>e.test(i))}).compile=e=>RegExp(`^${eu(ep(e))}$`,"s"),ef=em,i(t({},"__esModule",{value:!0}),o));return eh.default||eh},d=(e,t)=>(r||(r=c(),c=null),r(e,t)),p=/^[A-Za-z]:\//;function m(e=""){return e?e.replace(/\\/g,"/").replace(p,e=>e.toUpperCase()):e}let f=/^[/\\]{2}/,h=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,g=/^[A-Za-z]:$/,v=/^\/([A-Za-z]:)?$/,y=/.(\.[^./]+|\.)$/,b=/^[/\\]|^[a-zA-Z]:[/\\]/,O=function(e){if(0===e.length)return".";let t=(e=m(e)).match(f),n=x(e),r="/"===e[e.length-1];return 0===(e=k(e,!n)).length?n?"/":r?"./":".":(r&&(e+="/"),g.test(e)&&(e+="/"),t)?n?`//${e}`:`//./${e}`:n&&!x(e)?`/${e}`:e},w=function(...e){e=e.map(e=>m(e));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let a=r>=0?e[r]:void 0!==u&&"function"==typeof u.cwd?u.cwd().replace(/\\/g,"/"):"/";a&&0!==a.length&&(t=`${a}/${t}`,n=x(a))}return(t=k(t,!n),n&&!x(t))?`/${t}`:t.length>0?t:"."};function k(e,t){let n="",r=0,a=-1,i=0,o=null;for(let l=0;l<=e.length;++l){if(l<e.length)o=e[l];else if("/"===o)break;else o="/";if("/"===o){if(a===l-1||1===i);else if(2===i){if(n.length<2||2!==r||"."!==n[n.length-1]||"."!==n[n.length-2]){if(n.length>2){let e=n.lastIndexOf("/");-1===e?(n="",r=0):r=(n=n.slice(0,e)).length-1-n.lastIndexOf("/"),a=l,i=0;continue}if(n.length>0){n="",r=0,a=l,i=0;continue}}t&&(n+=n.length>0?"/..":"..",r=2)}else n.length>0?n+=`/${e.slice(a+1,l)}`:n=e.slice(a+1,l),r=l-a-1;a=l,i=0}else"."===o&&-1!==i?++i:i=-1}return n}let x=function(e){return h.test(e)},S=function(e){if(".."===e)return"";let t=y.exec(m(e));return t&&t[1]||""},_=function(e){let t=m(e).replace(/\/$/,"").split("/").slice(0,-1);return 1===t.length&&g.test(t[0])&&(t[0]+="/"),t.join("/")||(x(e)?"/":".")},E=function(e,t){let n=m(e).split("/"),r="";for(let e=n.length-1;e>=0;e--){let t=n[e];if(t){r=t;break}}return t&&r.endsWith(t)?r.slice(0,-t.length):r},A={__proto__:null,basename:E,dirname:_,extname:S,format:function(e){let t=e.ext?e.ext.startsWith(".")?e.ext:`.${e.ext}`:"",n=[e.root,e.dir,e.base??(e.name??"")+t].filter(Boolean);return m(e.root?w(...n):n.join("/"))},isAbsolute:x,join:function(...e){let t="";for(let n of e)if(n){if(t.length>0){let e="/"===t[t.length-1],r="/"===n[0];e&&r?t+=n.slice(1):t+=e||r?n:`/${n}`}else t+=n}return O(t)},matchesGlob:(e,t)=>d(t,O(e)),normalize:O,normalizeString:k,parse:function(e){let t=b.exec(e)?.[0]?.replace(/\\/g,"/")||"",n=E(e),r=S(n);return{root:t,dir:_(e),base:n,ext:r,name:n.slice(0,n.length-r.length)}},relative:function(e,t){let n=w(e).replace(v,"$1").split("/"),r=w(t).replace(v,"$1").split("/");if(":"===r[0][1]&&":"===n[0][1]&&n[0]!==r[0])return r.join("/");for(let e of[...n]){if(r[0]!==e)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")},resolve:w,sep:"/",toNamespacedPath:function(e){return m(e)}},T=globalThis.process?.platform==="win32"?";":":",D={posix:void 0,win32:void 0},C=(e=T)=>new Proxy(A,{get:(t,n)=>"delimiter"===n?e:"posix"===n?$:"win32"===n?P:D[n]||A[n]}),$=C(":"),P=C(";"),I=(e,t)=>{if((0,s.j)(t))return t;if((0,s.j)(e)){let n=new URL(e);return n.pathname=$.posix.resolve("/",$.dirname(n.pathname),t),n.toString()}return $.resolve($.dirname(e),t)};var N=n(77067),U=n(78698);function M(e,t,n){if(""===t)throw Error("Cannot set value at root ('') pointer");let r=(0,U.x)(t);r.forEach(e=>(0,N.E)(e));let a=e;for(let e=0;e<r.length;e++){let t=r[e],i=e===r.length-1,o=r[e+1],l=/^\d+$/.test(o??"");i?a[t]=n:(t in a&&"object"==typeof a[t]||(a[t]=l?[]:{}),a=a[t])}}let R=(e,t)=>{if((0,s.j)(e)&&(0,s.j)(t)){let n=new URL(e),r=new URL(t);if(n.origin!==r.origin)return e;let a=$.dirname($.posix.resolve("/",r.pathname)),i=$.posix.resolve("/",n.pathname);return $.posix.relative(a,i)}if((0,s.j)(t)){let n=new URL(t),r=$.dirname($.posix.resolve("/",n.pathname));return n.pathname=$.posix.relative(r,$.posix.resolve("/",e)),n.toString()}if((0,s.j)(e))return e;let n=$.dirname($.resolve(t)),r=$.resolve(e);return $.relative(n,r)};var j=n(42542),L=n(11954);function Z(e){let t=(0,L.b)(e).substring(0,7);return t.match(/^\d+$/)?"a"+t.substring(1):t}async function B(e,t,n,r,a=0){if(a>=100)throw"Can not generate unique compressed values";let i=await e(r??t);return void 0!==n[i]&&n[i]!==t?B(e,t,n,i,a+1):(n[i]=t,i)}let z=(e,t)=>{let n=Object.fromEntries(Object.entries(t).map(([e,t])=>[t,e]));return{generate:async r=>{let a=n[r];if(a)return a;let i=await B(e,r,t),o=i.match(/^\d+$/)?`a${i}`:i;return n[r]=o,o}}},F=e=>(0,a.K)(e)&&"$ref"in e&&"string"==typeof e.$ref;function Q(e){return e.startsWith("#")}function H(e,t){let n=t.find(t=>t.validate(e));return n?n.exec(e):Promise.resolve({ok:!1})}function q(e,t){if(!Q(e))throw"Please provide an internal ref";return`#/${t.map(j.Q).join("/")}${e.substring(1)}`}let V=(e,t,n,r,a,i=!1,o=new Set)=>{let s=(0,l.M)(t,(0,U.x)(n)).value;if(o.has(s))return;o.add(s),M(e,n,s);let u=n=>{if(n&&"object"==typeof n)for(let l of("$ref"in n&&"string"==typeof n.$ref&&(n.$ref.startsWith(`#/${r}/${(0,j.Q)(a)}`)?V(e,t,n.$ref.substring(1),r,a,i,o):i&&V(e,t,n.$ref.substring(1),r,a,i,o)),Object.values(n)))u(l)};u(s)},W={externalDocuments:"x-ext",externalDocumentsMappings:"x-ext-urls"};async function X(e,t){t.externalDocumentsKey=t.externalDocumentsKey??W.externalDocuments,t.externalDocumentsMappingsKey=t.externalDocumentsMappingsKey??W.externalDocumentsMappings;let n=t.cache??new Map,r=t.plugins.filter(e=>"loader"===e.type),u=t.plugins.filter(e=>"lifecycle"===e.type),c=async()=>
5{if("string"!=typeof e)return e;let t=await H(e,r);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")},d=await c(),p=t.root??d,m=(0,o.j)(p),f=void 0!==t.root&&t.root!==d||void 0!==t.depth,h=t.visitedNodes??new Set,g=(()=>{let n=(0,o.z)(p);return n||(t.origin?t.origin:"string"!=typeof e?"/":!(0,s.j)(e)&&((0,s.j)(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,a.K)(t)}catch{return!1}}(e))?"/":e)})();void 0===p[t.externalDocumentsMappingsKey]&&(p[t.externalDocumentsMappingsKey]={});let{generate:v}=z(t.compress??Z,p[t.externalDocumentsMappingsKey]),y=async(e,...n)=>{let r=t.hooks?.[e];for(let t of(r&&await r(...n),u)){let r=t[e];r&&await r(...n)}},b=async(e,s=g,u=!1,c=0,d=[],O=null)=>{if(void 0!==t.depth&&c>t.depth||!(0,a.K)(e)&&!Array.isArray(e)||h.has(e))return;h.add(e);let w={path:d,resolutionCache:n,parentNode:O,rootNode:p,loaders:r};await y("onBeforeNodeProcess",e,w);let k=(0,o.z)(e);if(F(e)){let o=e.$ref,d="$global"in e&&"boolean"==typeof e.$global&&e.$global,h=(0,i.I)(o,k??s,m);if(void 0!==h){if(f){let e=(0,U.x)(`/${h}`),t=e.length>0?(0,l.M)(p,e.slice(0,-1)).value:void 0,n=(0,l.M)(p,e);await b(n.value,n.context,u,c+1,e,t)}await y("onAfterNodeProcess",e,w);return}let[O,x=""]=o.split("#",2),S=I(k??s,O),_=R(S,g),E=await v(_),A=n.has(_);A||n.set(_,H(S,r)),await y("onResolveStart",e);let T=await n.get(_);if(T.ok){A||(d||function e(t,n){if(Array.isArray(t)){t.forEach(t=>e(t,n));return}if((0,a.K)(t)&&(Object.values(t).forEach(t=>e(t,n)),"object"==typeof t&&"$ref"in t&&"string"==typeof t.$ref)){let e=t.$ref;if(!Q(e))return;t.$ref=q(e,n)}}(T.data,[W.externalDocuments,E]),await b(T.data,d?s:S,d,c+1,[t.externalDocumentsKey,E,p[t.externalDocumentsMappingsKey]]),M(p,`/${t.externalDocumentsMappingsKey}/${(0,j.Q)(E)}`,_)),!0===t.treeShake?V(p,{[t.externalDocumentsKey]:{[E]:T.data}},q(`#${x}`,[t.externalDocumentsKey,E]).substring(1),t.externalDocumentsKey,E):A||M(p,`/${t.externalDocumentsKey}/${E}`,T.data),e.$ref=q(`#${x}`,[t.externalDocumentsKey,E]),await y("onResolveSuccess",e),await y("onAfterNodeProcess",e,w);return}return await y("onResolveError",e),await y("onAfterNodeProcess",e,w),console.warn(`Failed to resolve external reference "${S}". 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 b(e[n],k??s,u,c+1,[...d,n],e);await y("onAfterNodeProcess",e,w)};return await b(d),t.urlMap||f||delete p[t.externalDocumentsMappingsKey],d}},41958:function(e,t,n){"use strict";n.d(t,{BO:function(){return u}});class r{data;next;constructor(e){this.data=e,this.next=null}}class a{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(" -> ")}}var i=n(1764),o=n(68238);let l=e=>{try{return new URL(e).host}catch{return null}};async function s(e,t,n){try{let r=l(e),a=n?.headers?.find(e=>void 0!==e.domains.find(e=>e===r))?.headers,i=n?.fetch??fetch,s=await t(()=>i(e,{headers:a}));if(s.ok){let e=await s.text();return{ok:!0,data:function(e){if(null!==e){if("string"==typeof e){if(""===e.trim())return;try{return JSON.parse(e)}catch(r){let t=/^[^:]+:/.test(e),n=e.slice(0,50).trimStart().startsWith("{");if(!t||n)return;return(0,o.parse)(e,{maxAliasCount:1e4,merge:!0})}}return e}}(e),raw:e}}let u=s.headers.get("Content-Type")??"";return["text/html","application/xml"].includes(u)&&console.warn(`[WARN] We only support JSON/YAML formats, received ${u}`),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 u(e){let t=e?.limit?function(e){let t=0,n=new a,r=()=>{if(n.isEmpty()||t>=e)return;let r=n.dequeue();r&&r()};return async a=>{t>=e&&await new Promise(e=>n.enqueue(e)),t++;try{return await a()}finally{t--,r()}}}(e.limit):e=>e();return{type:"loader",validate:i.j,exec:n=>s(n,t,e)}}},80576:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});let r=(e,t,n)=>{let[r,a]=e.split("#",2);return r?n.has(r)?a?a.startsWith("/")?`${n.get(r)}${a}`:n.get(`${r}#${a}`):n.get(r):void 0:a?a.startsWith("/")?a.slice(1):n.get(`${t}#${a}`):void 0}},42542:function(e,t,n){"use strict";function r(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}n.d(t,{Q:function(){return r}})},88e3:function(e,t,n){"use strict";n.d(t,{j:function(){return i},z:function(){return r}});let r=e=>
5{if(e&&"object"==typeof e&&e.$id&&"string"==typeof e.$id)return e.$id},a=e=>e.join("/"),i=(e,t="",n=[],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(n));let u=s??t;for(let t in e.$anchor&&"string"==typeof e.$anchor&&o.set(`${u}#${e.$anchor}`,a(n)),e)"object"==typeof e[t]&&null!==e[t]&&i(e[t],u,[...n,t],o,l);return o}},78698:function(e,t,n){"use strict";function r(e){return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function a(e){return e.split("/").slice(1).map(r)}n.d(t,{x:function(){return a}})},73430:function(e,t,n){"use strict";n.d(t,{M:function(){return a}});var r=n(88e3);function a(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.z)(e.value)??e.context,value:e.value?.[t]},{context:"",value:e})}},1764:function(e,t,n){"use strict";function r(e){try{let t=new URL(e);return"http:"===t.protocol||"https:"===t.protocol}catch{return!1}}n.d(t,{j:function(){return r}})},99490:function(e,t,n){"use strict";n.d(t,{z:function(){return m},o:function(){return h}});let r=e=>decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~")),a=e=>e.split("/").slice(1).map(r);var i=n(23899),o=n(80576),l=n(88e3),s=n(73430);let u=Symbol("isMagicProxy"),c=Symbol("magicProxyTarget"),d="$ref-value",p="$ref",m=(e,t,n={root:e,proxyCache:new WeakMap,cache:new Map,schemas:(0,l.j)(e),currentContext:""})=>{if(!(0,i.K)(e)&&!Array.isArray(e))return e;if(n.proxyCache.has(e))return n.proxyCache.get(e);let r=new Proxy(e,{get(e,r,i){if(r===u)return!0;if(r===c)return e;if("string"==typeof r&&r.startsWith("__scalar_")&&!t?.showInternal)return;let h=Reflect.get(e,p,i),g=(0,l.z)(e);if(r===d&&"string"==typeof h){if(n.cache.has(h))return n.cache.get(h);let e=(0,o.I)(h,g??n.currentContext,n.schemas);if(void 0===e)return;let r=(0,s.M)(n.root,a(`/${e}`));if(f(r.value))return r.value;let i=m(r.value,t,{...n,currentContext:r.context});return n.cache.set(h,i),i}let v=Reflect.get(e,r,i);return f(v)?v:m(v,t,{...n,currentContext:g??n.currentContext})},set(e,r,i,u){let c=Reflect.get(e,p,u);if("string"==typeof r&&r.startsWith("__scalar_")&&!t?.showInternal)return!0;if(r===d&&"string"==typeof c){let t=(0,l.z)(e),r=(0,o.I)(c,t??n.currentContext,n.schemas);if(void 0===r)return;let u=a(`/${r}`);if(0===u.length)return!1;if(void 0===(0,s.M)(n.root,u.slice(0,-1)).value){var m;m=n.root,u.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: ${c} 6 7Please fix your input file to fix this issue.`)}return(0,s.M)(n.root,u.slice(0,-1)).value[u.at(-1)]=i,!0}return Reflect.set(e,r,i,u)},deleteProperty:(e,t)=>Reflect.deleteProperty(e,t),has:(e,n)=>(!("string"==typeof n&&n.startsWith("__scalar_"))||!!t?.showInternal)&&(n===d&&p in e||Reflect.has(e,n)),ownKeys(e){let n=Reflect.ownKeys(e).filter(e=>"string"!=typeof e||!(e.startsWith("__scalar_")&&!t?.showInternal));return p in e&&!n.includes(d)&&n.push(d),n},getOwnPropertyDescriptor(e,n){if("string"==typeof n&&n.startsWith("__scalar_")&&!t?.showInternal)return;let r=Reflect.get(e,p);return n===d&&"string"==typeof r?{configurable:!0,enumerable:!0,value:void 0,writable:!1}:Reflect.getOwnPropertyDescriptor(e,n)}});return n.proxyCache.set(e,r),r},f=e=>"object"==typeof e&&null!==e&&!0===e[u];function h(e){return"object"!=typeof e||null===e?e:e[u]?e[c]:e}},88997:function(e,t,n){"use strict";n.d(t,{jg:function(){return r},Oh:function(){return l},fj:function(){return s}});let r=async(e,t,n)=>{let r=e;for(let e of n){let n=e.hooks?.[t];n&&(r=await n(r)??r)}return r};var a=n(68238);let i={parse:e=>{let t=(0,a.parse)(e,{merge:!0,maxAliasCount:1e4});if("object"!=typeof t)throw Error("Invalid YAML object");return t},parseSafe(e,t){try{return i.parse(e)}catch(e){return"function"==typeof t?t(e):t}},stringify:a.stringify},o={parse:e=>{let t=JSON.parse(e);if("object"!=typeof t)throw Error("Invalid JSON object");return t},parseSafe(e,t){try{return o.parse(e)}catch(e){return"function"==typeof t?t(e):t}},stringify:e=>JSON.stringify(e)};function l(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 s=e=>{if("string"!=typeof e)return e;let t=o.parseSafe(e,null);if(t)return t;if(e.length>0&&["{","["].includes(e[0]??""))throw Error("Invalid JSON or YAML");return i.parseSafe(e,e=>{throw Error(e)})}},6838:function(e,t,n){"use strict";n.d(t,{w$:function(){return l},lH:function(){return P},JF:function(){return N},U_:function(){return I},nw:function(){return U},SR:function(){return Z}});var r=n(82589),a=n(34280),i=n(81344),o=n(37633),l=(0,r.aZ)({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=(0,r.Fl)(()=>(0,i.i)(String(e.method||""))),n=(0,r.Fl)(()=>(0,o.f)(e.method));return(i,o)=>((0,r.wg)(),(0,r.j4)((0,r.LL)(e.as??"span"),{class:"uppercase",style:(0,a.j5)({[e.property||"color"]:t.value.color
7Var})},{default:(0,r.w5)(()=>[(0,r.WI)(i.$slots,"default"),(0,r.Uk)(" "+(0,a.zw)(e.short?t.value.short:n.value),1)]),_:3},8,["style"]))}}),s=n(72909),u=n(5006),c=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>n=!1,t))}},d=(0,u.jS)({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,s.iH)(null),m=(0,s.iH)(null),f=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},h=n(26373),g=f((0,r.aZ)({__name:"SidebarHttpBadge",props:{method:{},active:{type:Boolean},webhook:{type:Boolean}},setup:e=>(t,n)=>((0,r.wg)(),(0,r.j4)(l,{class:(0,a.C_)(["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.w5)(()=>[n[0]||(n[0]=(0,r._)("span",{class:"sr-only"},"HTTP Method:\xa0",-1)),(0,r.WI)(t.$slots,"default",{},()=>[e.webhook?((0,r.wg)(),(0,r.j4)((0,s.SU)(h.Z),{key:0,style:(0,a.j5)({color:(0,s.SU)(i.i)(e.method).colorVar}),weight:"bold"},null,8,["style"])):(0,r.kq)("",!0)],!0)]),_:3},8,["class","method"]))}),[["__scopeId","data-v-1857170e"]]),v=new Set(["document","operation","example","tag"]),y=(e,t,n)=>n&&1===t.length&&t[0]?.type==="example"&&t[0]?.name==="default"?[]:"reference"===e?t:t.filter(e=>v.has(e.type)),b={class:"bg-b-2 absolute top-[1lh] right-0.75 flex -translate-y-1/2 rounded border p-0.25 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"},O=f({},[["render",function(e,t){return(0,r.wg)(),(0,r.iD)("div",b,[(0,r.WI)(e.$slots,"default")])}]]),w=e=>"children"in e&&Array.isArray(e.children)&&e.children.length>0,k=(e,t,n,r)=>w(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&&!!n&&("document"===t.type||"tag"===t.type),x=n(14007),S=(0,r.aZ)({__name:"SidebarItemLabel",props:{item:{},operationTitleSource:{}},setup:e=>(t,n)=>"model"===e.item.type||"example"===e.item.type?((0,r.wg)(),(0,r.j4)((0,s.SU)(x.ZG),{key:0,preset:"property",text:e.item.title},null,8,["text"])):((0,r.wg)(),(0,r.j4)((0,s.SU)(x.ZG),{key:1,text:"path"===e.operationTitleSource&&"path"in e.item?e.item.path:e.item.title},null,8,["text"]))}),_=Object.assign({
7"./icons/basic-shape-diamond.svg":()=>n.e(7843).then(n.bind(n,87843)),
7"./icons/basic-shape-hexagon.svg":()=>n.e(248).then(n.bind(n,248)),
7"./icons/basic-shape-primary-circle-ellipse-round.svg":()=>n.e(5419).then(n.bind(n,75419)),
7"./icons/basic-shape-primary-square-rectangle.svg":()=>n.e(9192).then(n.bind(n,29192)),
7"./icons/basic-shape-shield.svg":()=>n.e(17).then(n.bind(n,50017)),
7"./icons/computer-device-desktop-monitor.svg":()=>n.e(320).then(n.bind(n,80320)),
7"./icons/computer-device-desktop.svg":()=>n.e(3951).then(n.bind(n,13951)),
7"./icons/computer-device-laptop.svg":()=>n.e(9596).then(n.bind(n,29596)),
7"./icons/computer-device-mobile-phone-android-samsung-back.svg":()=>n.e(8832).then(n.bind(n,88832)),
7"./icons/computer-device-mobile-phone-android-samsung.svg":()=>n.e(9700).then(n.bind(n,79700)),
7"./icons/computer-device-mobile-phone-iphone-x-back.svg":()=>n.e(6052).then(n.bind(n,36052)),
7"./icons/computer-device-mobile-phone-iphone-x.svg":()=>n.e(8765).then(n.bind(n,78765)),
7"./icons/computer-device-mobile-tablet-touch.svg":()=>n.e(3728).then(n.bind(n,3728)),
7"./icons/computer-device-mobile-tablet.svg":()=>n.e(868).then(n.bind(n,20868)),
7"./icons/computer-device-network-ethernet-cat6.svg":()=>n.e(2920).then(n.bind(n,52920)),
7"./icons/computer-device-network-lan-www.svg":()=>n.e(2004).then(n.bind(n,82004)),
7"./icons/computer-device-network-wifi-connection.svg":()=>n.e(4100).then(n.bind(n,64100)),
7"./icons/computer-device-network-wifi-router.svg":()=>n.e(9288).then(n.bind(n,9288)),
7"./icons/ecology-science-erlenmeyer-flask.svg":()=>n.e(884).then(n.bind(n,90884)),
7"./icons/image-flash-lightning.svg":()=>n.e(4792).then(n.bind(n,94792)),
7"./icons/image-picture-flower.svg":()=>n.e(896).then(n.bind(n,70896)),
7"./icons/interface-alert-exclamation-diamond.svg":()=>n.e(4021).then(n.bind(n,44021)),
7"./icons/interface-alert-exclamation-triangle-warning.svg":()=>n.e(1844).then(n.bind(n,51844)),
7"./icons/interface-alert-information-circle.svg":()=>n.e(289).then(n.bind(n,289)),
7"./icons/interface-award-crown.svg":()=>n.e(1311).then(n.bind(n,31311)),
7"./icons/interface-bookmark-tag.svg":()=>n.e(6504).then(n.bind(n,86504)),
7"./icons/interface-bookmark.svg":()=>n.e(5826).then(n.bind(n,15826)),
7"./icons/interface-calendar-date-one.svg":()=>n.e(4096).then(n.bind(n,74096)),
7"./icons/interface-content-book-open-pages.svg":()=>n.e(9734).then(n.bind(n,49734)),
7"./icons/interface-content-book-page.svg":()=>n.e(3170).then(n.bind(n,83170)),
7"./icons/interface-content-file.svg":()=>n.e(6663).then(n.bind(n,16663)),
7"./icons/interface-content-folder.svg":()=>n.e(6418).then(n.bind(n,96418)),
7"./icons/interface-copy-clipboard.svg":()=>n.e(3285).then(n.bind(n,23285)),
7"./icons/interface-edit-attachment.svg":()=>n.e(9937).then(n.bind(n,59937)),
7"./icons/interface-edit-binocular.svg":()=>n.e(3501).then(n.bind(n,53501)),
7"./icons/interface-edit-magic-wand.svg":()=>n.e(7861).then(n.bind(n,27861)),
7"./icons/interface-edit-tool-paint-roller.svg":()=>n.e(210).then(n.bind(n,20210)),
7"./icons/interface-edit-tool-pencil.svg":()=>n.e(588).then(n.bind(n,70588)),
7"./icons/interface-favorite-award.svg":()=>n.e(1096).then(n.bind(n,11096)),
7"./icons/interface-favorite-flag.svg":()=>n.e(9987).then(n.bind(n,59987)),
7"./icons/interface-favorite-heart.svg":()=>n.e(4272).then(n.bind(n,74272)),
7"./icons/interface-favorite-star.svg":()=>n.e(8289).then(n.bind(n,45931)),
7"./icons/interface-favorite-stars-sparkles.svg":()=>n.e(4717).then(n.bind(n,14717)),
7"./icons/interface-hierarchy-flowchart.svg":()=>n.e(1642).then(n.bind(n,61642)),
7"./icons/interface-home-house.svg":()=>n.e(9798).then(n.bind(n,69798)),
7"./icons/interface-hyperlink.svg":()=>n.e(6887).then(n.bind(n,86887)),
7"./icons/interface-lighting-brightness.svg":()=>n.e(7826).then(n.bind(n,77826)),
7"./icons/interface-lock-closed.svg":()=>n.e(5541).then(n.bind(n,35541)),
7"./icons/interface-lock-open-unlock.svg":()=>n.e(1315).then(n.bind(n,1315)),
7"./icons/interface-login-key.svg":()=>n.e(2703).then(n.bind(n,12703)),
7"./icons/interface-search.svg":()=>n.e(317).then(n.bind(n,60317)),
7"./icons/interface-setting-cog.svg":()=>n.e(7281).then(n.bind(n,87281)),
7"./icons/interface-share-megaphone-bullhorn.svg":()=>n.e(3333).then(n.bind(n,3333)),
7"./icons/interface-share-rocket.svg":()=>n.e(101).then(n.bind(n,20101)),
7"./icons/interface-share-satellite.svg":()=>n.e(7378).then(n.bind(n,77378)),
7"./icons/interface-share-space-ship.svg":()=>n.e(1506).then(n.bind(n,31506)),
7"./icons/interface-share.svg":()=>n.e(8043).then(n.bind(n,7004)),
7"./icons/interface-signal-square.svg":()=>n.e(8904).then(n.bind(n,88904)),
7"./icons/interface-time-clock-circle.svg":()=>n.e(8878).then(n.bind(n,48878)),
7"./icons/interface-time-hour-glass.svg":()=>n.e(918).then(n.bind(n,80918)),
7"./icons/interface-users-multiple.svg":()=>n.e(5030).then(n.bind(n,75030)),
7"./icons/interface-weather-moon.svg":()=>n.e(2160).then(n.bind(n,55008)),
7"./icons/mail-chat-bubble-square.svg":()=>n.e(5696).then(n.bind(n,75696)),
7"./icons/mail-send-email-paper-airplane.svg":()=>n.e(8398).then(n.bind(n,58398)),
7"./icons/mail-send-envelope.svg":()=>n.e(2499).then(n.bind(n,82499)),
7"./icons/money-cashier-receipt.svg":()=>n.e(6845).then(n.bind(n,99160)),
7"./icons/money-currency-dollar-pay.svg":()=>n.e(1420).then(n.bind(n,81420)),
7"./icons/money-graph-arrow-increase.svg":()=>n.e(5900).then(n.bind(n,55900)),
7"./icons/money-graph-bar-chart-increase.svg":()=>n.e(863).then(n.bind(n,60863)),
7"./icons/nature-ecology-leaf.svg":()=>n.e(7579).then(n.bind(n,27579)),
7"./icons/phone-telephone.svg":()=>n.e(3065).then(n.bind(n,13065)),
7"./icons/programming-bug.svg":()=>n.e(9170).then(n.bind(n,59170)),
7"./icons/programming-cloud.svg":()=>n.e(5403).then(n.bind(n,55403)),
7"./icons/programming-computer-database-server.svg":()=>n.e(6934).then(n.bind(n,96934)),
7"./icons/programming-computer-database.svg":()=>n.e(5253).then(n.bind(n,95253)),
7"./icons/programming-module-four-layout.svg":()=>n.e(8866).then(n.bind(n,88866)),
7"./icons/programming-module-three.svg":()=>n.e(6520).then(n.bind(n,6520)),
7"./icons/programming-module.svg":()=>n.e(6417).then(n.bind(n,56663)),
7"./icons/programming-script-code.svg":()=>n.e(8694).then(n.bind(n,38694)),
7"./icons/shopping-cart.svg":()=>n.e(9183).then(n.bind(n,72272)),
7"./icons/shopping-gift-present.svg":()=>n.e(2418).then(n.bind(n,82418)),
7"./icons/shopping-shipping-box-parcel-package.svg":()=>n.e(7133).then(n.bind(n,67133)),
7"./icons/tag-new-circle.svg":()=>n.e(7367).then(n.bind(n,97367)),
7"./icons/travel-map-earth-globe.svg":()=>n.e(6262)
7.then(n.bind(n,76262))});Object.keys(_).map(e=>e.replace("./icons/","").replace(".svg","")).map(e=>({src:e,title:e.replaceAll("-"," "),tags:[]}));var E=new Map;async function A(e){let t=E.get(e);if(t)return t;let n=_[`./icons/${e}.svg`];if(!n)return;let r=await n(),a=(0,s.Xl)(r.default??r);return E.set(e,a),a}var T=(0,r.aZ)({__name:"LibraryIcon",props:{src:{}},setup(e){let t=(0,s.XI)();return(0,r.m0)(async()=>{t.value=await A(e.src)}),(e,n)=>t.value?((0,r.wg)(),(0,r.j4)((0,r.LL)(t.value),{key:0})):(0,r.kq)("",!0)}}),D={key:0,class:"line-through"},C={key:0,class:"line-through"},$=(0,r.aZ)({__name:"SidebarItem",props:{item:{},layout:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},isDraggable:{},isDroppable:{type:Function}},emits:["selectItem","onDragEnd","toggleGroup"],setup(e,{emit:t}){let n=(0,r.Rr)(),i=e=>"isGroup"in e&&e.isGroup,o=e=>("isDeprecated"in e&&e.isDeprecated)??!1,l=(e,n)=>{t("onDragEnd",e,n)},{draggableAttrs:u,draggableEvents:f}=function(e){let{ceiling:t=.8,floor:n=.2,isDraggable:a=!0,isDroppable:i=!0,parentIds:o=[],id:l,onDragStart:u,onDragEnd:f}=e,h=(0,r.Fl)(()=>o.at(-1)??null),g=e=>"function"==typeof i?i(p.value,{id:l,parentId:h.value,offset:e}):(0,s.Tn)(i),v=e=>{if(!(0,s.Tn)(a)||!e.dataTransfer||!(e.target instanceof HTMLElement))return;e.target.setAttribute("data-dragging","true"),e.dataTransfer.dropEffect="move",e.dataTransfer.effectAllowed="move";let t={id:l,parentId:h.value};p.value=t,u?.(t)},y=c(e=>{if(!p.value||p.value.id===l||o.includes(p.value?.id??""))return;let r=m.value?.offset,a=e.target.offsetHeight,i=n*a,s=t*a,u=null;e.offsetY<=0&&r&&"after"!==r?u=r:e.offsetY<=i?u="before":e.offsetY>=s?u="after":e.offsetY>i&&e.offsetY<s&&(u="into"),g(u)&&(m.value={id:l,parentId:h.value,offset:u})},25),b=(0,r.Fl)(()=>{let e=l===m.value?.id?m.value.offset:void 0;return e?d({position:e}):""});return{draggableAttrs:(0,r.Fl)(()=>({class:b.value||void 0,draggable:!!(0,s.Tn)(a)||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(),y(e)},dragstart:e=>{e.stopPropagation(),v(e)}},draggingItem:p,hoveredItem:m}}({id:e.item.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,onDragEnd:l}),h=(0,r.Fl)(()=>w(e.item)?y(e.layout,e.item.children,e.options?.hideOperationDefaultExamples):[]);return(c,d)=>{let p=(0,r.up)("SidebarItem",!0);return h.value.length>0&&i(e.item)?((0,r.wg)(),(0,r.j4)((0,s.SU)(x.dx),(0,r.dG)({key:0,"data-sidebar-id":e.item.id},(0,s.SU)(u),(0,r.mx)((0,s.SU)(f))),{items:(0,r.w5)(()=>[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(h.value,a=>((0,r.wg)(),(0,r.j4)(p,{key:a.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:a,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.Nv)({_:2},[n.decorator?{name:"decorator",fn:(0,r.w5)(e=>[(0,r.WI)(c.$slots,"decorator",(0,r.dG)({ref_for:!0},e))]),key:"0"}:void 0,n.empty?{name:"empty",fn:(0,r.w5)(e=>[(0,r.WI)(c.$slots,"empty",(0,r.dG)({ref_for:!0},e))]),key:"1"}:void 0,n.icon?{name:"icon",fn:(0,r.w5)(e=>[(0,r.WI)(c.$slots,"icon",(0,r.dG)({ref_for:!0},e))]),key:"2"}:void 0]),1032,["isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128))]),default:(0,r.w5)(()=>[(0,r.Uk)((0,a.zw)(e.item.title)+" ",1)]),_:3},16,["data-sidebar-id"])):(0,s.SU)(k)(e.layout,e.item,void 0!==n.empty,e.options?.hideOperationDefaultExamples??!1)?((0,r.wg)(),(0,r.j4)((0,s.SU)(x.Nv),(0,r.dG)({key:1,active:e.isSelected(e.item.id),class:"relative",controlled:"","data-sidebar-id":e.item.id},(0,s.SU)(u),{discrete:"reference"===e.layout&&"text"===e.item.type,open:e.isExpanded(e.item.id)},(0,r.mx)((0,s.SU)(f)),{onClick:d[4]||(d[4]=()=>t("selectItem",e.item.id)),onToggle:d[5]||(d[5]=()=>t("toggleGroup",e.item.id))}),(0,r.Nv)({items:(0,r.w5)(()=>[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(h.value,a=>((0,r.wg)(),(0,r.j4)(p,{key:a.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:a,layout:e.layout,options:e.options,parentIds:[],onOnDragEnd:l,onSelectItem:d[2]||(d[2]=e=>t("selectItem",e)),onToggleGroup:d[3]||(d[3]=e=>t("toggleGroup",e))},(0,r.Nv)({_:2},[n.decorator?{name:"decorator",fn:(0,r.w5)(e=>[(0,r.WI)(c.$slots,"decorator",(0,r.dG)({ref_for:!0},e))]),key:"0"}:void 0,n.empty?{name:"empty",fn:(0,r.w5)(e=>[(0,r.WI)(c.$slots,"empty",(0,r.dG)({ref_for:!0},e))]),key:"1"}:void 0,n.icon?{name:"icon",fn:(0,r.w5)(e=>[(0,r.WI)(c.$slots,"icon",(0,r.dG)({ref_for:!0},e))]),key:"2"}:void 0]),1032,["isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128)),n.empty&&(e.item.children?.length??0)===0?(0,r.WI)(c.$slots,"empty",{key:0,item:e.item}):(0,r.kq)("",!0)]),default:(0,r.w5)(()=>[o(e.item)?((0,r.wg)(),(0,r.iD)("span",D,[(0,r.Wm)(S,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"])])):((0,r.wg)(),(0,r.j4)(S,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"]))]),_:2},["document"===e.item.type?{name:"icon",fn:(0,r.w5)(({open:t})=>[(0,r.WI)(c.$slots,"icon",{item:e.item,open:t},()=>[(0,r.Wm)((0,s.SU)(T),{class:"block",src:"icon"in e.item&&e.item.icon||"interface-content-folder"},null,8,["src"])])]),key:"0"}:void 0,"method"in e.item?{name:"aside",fn:(0,r.w5)(()=>[(0,r.Wm)(g,{active:e.isSelected(e.item.id),class:(0,a.C_)(["mr-1 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":n.decorator}]),method:e.item.method,webhook:"webhook"===e.item.type},null,8,["active","class","method","webhook"])]),key:"1"}:void 0,n.decorator?{name:"after",fn:(0,r.w5)(()=>[(0,r.Wm)(O,null,{default:(0,r.w5)(()=>[(0,r.WI)(c.$slots,"decorator",{item:e.item})]),_:3})]),key:"2"}:void 0]),1040,["active","data-sidebar-id","discrete","open"])):((0,r.wg)(),(0,r.j4)((0,s.SU)(x.QK),(0,r.dG)({key:2,is:"button"},(0,s.SU)(u),{class:"relative","data-sidebar-id":e.item.id,selected:e.isSelected(e.item.id)},(0,r.mx)((0,s.SU)(f)),{onClick:d[6]||(d[6]=()=>t("selectItem",e.item.id))}),(0,r.Nv)({default:(0,r.w5)(()=>[o(e.item)?((0,r.wg)(),(0,r.iD)("span",C,[(0,r.Wm)(S,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"])])):((0,r.wg)(),(0,r.j4)(S,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"]))]),_:2},[n.icon?{name:"icon",fn:(0,r.w5)(()=>[(0,r.WI)(c.$slots,"icon",{item:e.item,open:!0})]),key:"0"}:void 0,"method"in e.item?{name:"aside",fn:(0,r.w5)(()=>["method"in e.item?((0,r.wg)(),(0,r.j4)(g,{key:0,active:e.isSelected(e.item.id),class:(0,a.C_)(["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":n.decorator}]),method:e.item.method,webhook:"webhook"===e.item.type},null,8,["active","class","method","webhook"])):(0,r.kq)("",!0)]),key:"1"}:void 0,n.decorator?{name:"after",fn:(0,r.w5)(()=>[(0,r.Wm)(O,null,{default:(0,r.w5)(()=>[(0,r.WI)(c.$slots,"decorator",{item:e.item})]),_:3})]),key:"2"}:void 0]),1040,["data-sidebar-id","selected"]))}}}),P=(0,r.aZ)({__name:"ScalarSidebar",props:{layout:{},items:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},indent:{default:20},isDraggable:{},isDroppable:{type:Function}},emits:["reorder","selectItem","toggleGroup"],setup(e,{emit:t}){let n=(0,r.Rr)(),i=(e,n)=>{t("reorder",e,n)};return(o,l)=>((0,r.wg)(),(0,r.j4)((0,s.SU)(x.lH),{class:"flex min-h-0 flex-col",style:(0,a.j5)({"--scalar-sidebar-indent":e.indent+"px"})},{default:(0,r.w5)(()=>[(0,r.WI)(o.$slots,"header"),(0,r.WI)(o.$slots,"default",{},()=>[(0,r.Wm)((0,s.SU)(x.$c),{class:"custom-scroll"},{default:(0,r.w5)(()=>[(0,r.WI)(o.$slots,"before"),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)((0,s.SU)(y)(e.layout,e.items),a=>((0,r.wg)(),(0,r.j4)($,{key:a.id,isDraggable:e.isDraggable??"client"===e.layout,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:a,layout:e.layout,options:e.options,onOnDragEnd:i,onSelectItem:l[0]||(l[0]=e=>t("selectItem",e)),onToggleGroup:l[1]||(l[1]=e=>t("toggleGroup",e))},(0,r.Nv)({_:2},[n.decorator?{name:"decorator",fn:(0,r.w5)(e=>[(0,r.WI)(o.$slots,"decorator",(0,r.dG)({ref_for:!0},e))]),key:"0"}:void 0,n.empty?{name:"empty",fn:(0,r.w5)(e=>[(0,r.WI)(o.$slots,"empty",(0,r.dG)({ref_for:!0},e))]),key:"1"}:void 0,n.icon?{name:"icon",fn:(0,r.w5)(e=>[(0,r.WI)(o.$slots,"icon",(0,r.dG)({ref_for:!0},e))]),key:"2"}:void 0]),1032,["isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128))]),_:3}),(0,r.WI)(o.$slots,"spacer",{},()=>[l[2]||(l[2]=(0,r._)("div",{class:"flex-1"},null,-1))])]),(0,r.WI)(o.$slots,"footer")]),_:3},8,["style"]))}}),I=({items:e,nestedKey:t="children",filter:n=()=>!0,getId:r=e=>e.id})=>{let a=new Map,i=e=>{n(e)&&a.set(r(e),e),t in e&&Array.isArray(e[t])&&e[t]?.forEach(t=>i({...t,parent:e}))};return e.forEach(i),a},N=(e,t)=>{let n=(0,r.Fl)(()=>I({items:(0,s.Tn)(e),nestedKey:t?.key??"children"})),a=(0,s.iH)({}),i=(0,s.iH)({}),o=(0,s.iH)(null);return{items:(0,r.Fl)(()=>(0,s.Tn)(e)),index:n,selectedItems:a,expandedItems:i,selectedItem:o,setSelected:e=>{let r=e=>{e&&(a.value[e.id]=!0,"parent"in e&&e.parent&&r(e.parent))};t?.hooks?.onBeforeSelect&&t.hooks.onBeforeSelect(e),a.value={},o.value=e,null!==e&&r(n.value.get(e)),t?.hooks?.onAfterSelect&&t.hooks.onAfterSelect(e)},setExpanded:(e,r)=>{let a=e=>{e&&(i.value[e.id]=!0,"parent"in e&&e.parent&&a(e.parent))};t?.hooks?.onBeforeExpand&&t.hooks.onBeforeExpand(e),!1===r?i.value[e]=!1:a(n.value.get(e)),t?.hooks?.onAfterExpand&&t.hooks.onAfterExpand(e)},isExpanded:e=>i.value[e]??!1,isSelected:e=>a.value[e]??!1,getEntryById:e=>n.value.get(e),reset:()=>{a.value={},i.value={}}}},U=(e,t)=>{if(t.type===e)return t;if("children"in t)for(let n of t.children??[]){let t=U(e,n);if(t)return t}return null},M=100,R=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},j=e=>"heading"!==e.dataset.sidebarType?0:e.querySelector(".sidebar-heading")?.offsetHeight??0,L=(e,t)=>{let n=e.offsetTop,r=e.offsetParent;for(;r&&r!==t;)n+=r.offsetTop,r=r.offsetParent;return n},Z=(e,t=M)=>{if("undefined"==typeof window)return;let n=document.querySelector(`[data-sidebar-id="${e}"]`),r=n?.closest(".custom-scroll, .custom-scrollbar")??null;if(!n||!r)return;let a=L(R(n),r)+j(n)-t;r.scrollTo({top:a>0?a:0})}},10158:function(e,t,n){"use strict";n.d(t,{n:function(){return r.n},B:function(){return tE}});var r=n(10317);let a=e=>(e||"GET").toUpperCase(),i=e=>e.replaceAll("\\","\\\\").replaceAll('"','\\"').replaceAll("\n","\\n").replaceAll("\r","\\r").replaceAll(" ","\\t"),o=e=>{if(!e)return"";try{let t=new URL(e),n="/"!==t.pathname||e.endsWith("/")||e.includes("?")||e.includes("#")?t.pathname:"";return`${t.protocol}//${t.host}${n}${t.search}${t.hash}`}catch{return e}},l=(e,t)=>
7{let n=t?.length?t.map(e=>`${e.name}=${e.value}`).join("&"):"";return n?e?`${e}${e.includes("?")?"&":"?"}${n}`:`?${n}`:e},s=e=>e?.length?e.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; "):null,u=e=>e?.length?e.map(e=>new URLSearchParams([[e.name,e.value??""]]).toString()).join("&"):null,c=e=>{if(void 0===e)return"";try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}};class d{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 n=this.indentationCharacter.repeat(t);return`${n}${e}`},this.unshift=(e,t)=>{let n=this.indentLine(e,t);this.code.unshift(n)},this.push=(e,t)=>{let n=this.indentLine(e,t);this.code.push(n)},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"}}let p=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),m=(e,t)=>{let n=p(e,t);if(n)return e[n]},f=(e,t)=>!!p(e,t);class h{name;toString;constructor(e){this.name="",this.toString=()=>`:${this.name}`,this.name=e}}class g{path;toString;constructor(e){this.path="",this.toString=()=>`(clojure.java.io/file "${this.path}")`,this.path=e}}let v=e=>void 0===e?null:null===e?"null":e.constructor.name.toLowerCase(),y=e=>"object"===v(e)&&0===Object.keys(e).length,b=e=>(Object.keys(e).filter(t=>y(e[t])).forEach(t=>{delete e[t]}),e),O=(e,t)=>{let n=" ".repeat(e);return t.replace(/\n/g,` 8${n}`)},w=e=>{switch(v(e)){case"string":return`"${e.replace(/"/g,'\\"')}"`;case"file":case"keyword":default:return e.toString();case"null":return"nil";case"regexp":return`#"${e.source}"`;case"object":{let t=Object.keys(e).reduce((t,n)=>{let r=O(n.length+2,w(e[n]));return`${t}:${n} ${r} 9 `},"").trim();return`{${O(1,t)}}`}case"array":{let t=e.reduce((e,t)=>`${e} ${w(t)}`,"").trim();return`[${O(1,t)}]`}}},k={info:{key:"clj_http",title:"clj-http",link:"https://github.com/dakrone/clj-http",description:"An idiomatic clojure http client wrapping the apache client."},convert:({queryObj:e,method:t,postData:n,url:r,allHeaders:a},i)=>{let{push:o,join:l}=new d({indent:null==i?void 0:i.indent});if(!["get","post","put","delete","patch","head","options"].includes(t=t.toLowerCase()))return o("Method not supported"),l();let s={headers:a,"query-params":e};switch(e&&Object.keys(e).length>0&&(r=r.split("?")[0]),null==n?void 0:n.mimeType){case"application/json":{s["content-type"]=new h("json"),s["form-params"]=n.jsonObj;let e=p(s.headers,"content-type");e&&delete s.headers[e]}break;case"application/x-www-form-urlencoded":{s["form-params"]=n.paramsObj;let e=p(s.headers,"content-type");e&&delete s.headers[e]}break;case"text/plain":{s.body=n.text;let e=p(s.headers,"content-type");e&&delete s.headers[e]}break;case"multipart/form-data":if(n?.params){s.multipart=n.params.map(e=>e.fileName&&!e.value?{name:e.name,content:new g(e.fileName)}:{name:e.name,content:e.value});let e=p(s.headers,"content-type");e&&delete s.headers[e]}}if("application/json"===m(s.headers,"accept")){s.accept=new h("json");let e=p(s.headers,"accept");e&&delete s.headers[e]}if(o("(require '[clj-http.client :as client])\n"),y(b(s)))o(`(client/${t} "${r}")`);else{let e=O(11+t.length+r.length,w(b(s)));o(`(client/${t} "${r}" ${e})`)}return l()}};function x(e){return{...e,method:(e.method||"GET").toUpperCase()}}function S(e){if(!e?.length)return"";let t=e.map(e=>`${e.name}=${e.value}`);return`?${t.join("&")}`}let _=e=>(e||"GET").toUpperCase(),E=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}},A=(e,t)=>{let n=S(t);return n?e?`${e}${e.includes("?")?"&":"?"}${n.slice(1)}`:n:e},T=(e,t)=>{let n=new Map;if(e?.forEach(e=>{e.name&&n.set(e.name,e.value??"")}),t?.length){let e=t.map(e=>`${encodeURIComponent(e.name)}
9=${encodeURIComponent(e.value)}`).join("; ");n.set("Cookie",e)}return Array.from(n.entries()).map(([e,t])=>({name:e,value:t}))},D=(e,t,n)=>{let r=e[t];void 0===r?e[t]=n:Array.isArray(r)?r.push(n):e[t]=[r,n]};function C(e=[]){return e.reduce((e,{name:t,value:n})=>(D(e,t,n),e),{})}function $(e,t){let n=new URL(t?.url??""),r="/"===n.pathname?n.origin:n.toString(),a={method:t?.method??"GET",url:r,httpVersion:"HTTP/1.1",cookies:[],headers:t?.headers??[],headersSize:-1,bodySize:-1,queryString:Array.from(n.searchParams.entries()).map(([e,t])=>({name:e,value:t})),postData:t?.postData},i=(a?.headers??[]).reduce((e,t)=>({...e,[t.name]:t.value}),{}),o=C(a.queryString),l=(a.cookies??[]).reduce((e,t)=>({...e,[t.name]:t.value}),{}),s=new URL(a.url),u={protocol:s.protocol,hostname:s.hostname,host:s.hostname,port:s.port,pathname:s.pathname.split("/").map(e=>encodeURIComponent(decodeURIComponent(e))).join("/")+s.search,path:s.pathname.split("/").map(e=>encodeURIComponent(decodeURIComponent(e))).join("/")+s.search,search:s.search,hash:s.hash,href:s.href,origin:s.origin,password:s.password,searchParams:s.searchParams,username:s.username,toString:s.toString,toJSON:()=>s.toJSON()},c={url:a.url,uriObj:u,method:a.method?.toLocaleUpperCase()??"GET",httpVersion:a.httpVersion,cookies:a.cookies??[],headers:a.headers??[],headersSize:a.headersSize??0,headersObj:i??{},bodySize:a.bodySize??0,queryString:a.queryString??[],postData:a.postData?{mimeType:a.postData.mimeType??"application/json",text:a.postData.text??"",params:a.postData.params??[],paramsObj:a.postData.params?.reduce((e,t)=>(t.name&&void 0!==t.value&&(e[t.name]=t.value),e),{})??{}}:void 0,allHeaders:i??{},fullUrl:a.url,queryObj:o??{},cookiesObj:l??{}};if(c.postData?.mimeType==="application/json"&&c.postData.text)try{c.postData.jsonObj=JSON.parse(c.postData.text)}catch(e){console.error("Error parsing JSON:",e)}return"function"==typeof e.convert?e.convert(c):""}var P=n(31412);function I(e){let t=3;for(;e.includes('"'.repeat(t));)t++;let n='"'.repeat(t);return`${n} 10${e} 11${n}`}function N(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function U(e,t={}){let{delimiter:n='"',escapeChar:r="\\",escapeNewlines:a=!0}=t;return[...e.toString()].map(e=>"\b"===e?`${r}b`:" "===e?`${r}t`:"\n"===e?a?`${r}n`:e:"\f"===e?`${r}f`:"\r"===e?a?`${r}r`:e:e===r?r+r:e===n?r+n:e<" "||e>"~"?JSON.stringify(e).slice(1,-1):e).join("")}let M=e=>U(e,{delimiter:"'"}),R=e=>U(e,{delimiter:'"'}),j={info:{key:"restsharp",title:"RestSharp",link:"http://restsharp.org/",description:"Simple REST and HTTP API Client for .NET"},convert:({allHeaders:e,method:t,fullUrl:n,headersObj:r,cookies:a,postData:i})=>{let{push:o,join:l}=new d;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";if(o(`var client = new RestClient("${n}");`),o(`var request = new RestRequest(Method.${t.toUpperCase()});`),Object.keys(r).forEach(e=>{o(`request.AddHeader("${e}", "${R(r[e])}");`)}),null==a||a.forEach(({name:e,value:t})=>{o(`request.AddCookie("${e}", "${t}");`)}),null==i?void 0:i.text){let t=m(e,"content-type"),n=JSON.stringify(i.text);o(`request.AddParameter("${t}", ${n}, ParameterType.RequestBody);`)}return o("IRestResponse response = client.Execute(request);"),l()}};function L(e){return null==e?"":e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")}let Z=e=>e.includes(" ")?e:B(e),B=e=>JSON.stringify(e),z=e=>{if(void 0===e)return"";try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},F=e=>!e.includes("`"),Q=(e,t=!1)=>t&&F(e)?`\`${e}\``:B(e),H=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(${B(e.name)}, ${B(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 n=["payload := &bytes.Buffer{}","writer := multipart.NewWriter(payload)"],r=e.params.some(e=>void 0!==e.fileName),a=!1,i=!1;
11return r&&(t.add("os"),t.add("io")),e.params.forEach(e=>{n.push(""),void 0!==e.fileName?(n.push(`part, _ ${a?"=":":="} writer.CreateFormFile(${B(e.name)}, ${B(e.fileName)})`),n.push(""),n.push(`f, _ ${i?"=":":="} os.Open(${B(e.fileName)})`),n.push("defer f.Close()"),n.push(""),n.push("_, _ = io.Copy(part, f)"),a=!0,i=!0):n.push(`_ = writer.WriteField(${B(e.name)}, ${B(e.value??"")})`)}),n.push("writer.Close()"),{imports:t,setupLines:n,requestBody:"payload",needsMultipartContentTypeHeader:!0}}t.add("strings");let n="application/json"===e.mimeType?z(e.text):e.text??"";return{imports:t,setupLines:[`payload := strings.NewReader(${Q(n,"application/json"===e.mimeType)})`],requestBody:"payload",needsMultipartContentTypeHeader:!1}},q=e=>Array.from(new Set(["fmt","io","net/http",...e])).sort(),V={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:n,fullUrl:r},a)=>{let{blank:i,push:o,join:l}=new d({indent:{indent:" ",...a}.indent});return o("AsyncHttpClient client = new DefaultAsyncHttpClient();"),o(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach(e=>{o(`.setHeader("${e}", "${R(t[e])}")`,1)}),(null==n?void 0:n.text)&&o(`.setBody(${JSON.stringify(n.text)})`,1),o(".execute()",1),o(".toCompletableFuture()",1),o(".thenAccept(System.out::println)",1),o(".join();",1),i(),o("client.close();"),l()}},W={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:n,postData:r},a)=>{let{push:i,join:o}=new d({indent:{indent:" ",...a}.indent});return i("HttpRequest request = HttpRequest.newBuilder()"),i(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach(t=>{i(`.header("${t}", "${R(e[t])}")`,2)}),(null==r?void 0:r.text)?i(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(r.text)}))`,2):i(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),i(".build();",2),i("HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyH
11andlers.ofString());"),i("System.out.println(response.body());"),o()}},X={info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,method:t,fullUrl:n,allHeaders:r},a)=>{let{push:i,blank:o,join:l}=new d({indent:{indent:" ",...a}.indent});return i("OkHttpClient client = new OkHttpClient();"),o(),null!=e&&("application/x-www-form-urlencoded"===e.mimeType&&e.params?(i("FormBody formBody = new FormBody.Builder()"),e.params.forEach(e=>{i(`.addEncoded("${e.name}", "${e.value}")`,1)}),i(".build();",1),o()):"multipart/form-data"===e.mimeType&&e.params?(i("MultipartBody body = new MultipartBody.Builder()"),i(".setType(MultipartBody.FORM)",1),e.params.forEach(e=>{void 0!==e.fileName?i(`.addFormDataPart("${e.name}", "${e.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), new File("${e.fileName}")))`,1):void 0!==e.value&&i(`.addFormDataPart("${e.name}", "${e.value}")`,1)}),i(".build();",1),o()):(i(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),i(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`))),i("Request request = new Request.Builder()"),i(`.url("${n}")`,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)?i(`.${t.toLowerCase()}(body)`,1):i(`.${t.toLowerCase()}(null)`,1):i(`.${t.toLowerCase()}()`,1):(null==e?void 0:e.text)?i(`.method("${t.toUpperCase()}", body)`,1):i(`.method("${t.toUpperCase()}", null)`,1),Object.keys(r).forEach(e=>{i(`.addHeader("${e}", "${R(r[e])}")`,1)}),i(".build();",1),o(),i("Response response = client.newCall(request).execute();"),l()}},Y={info:{key:"unirest",title:"Unirest",link:"http://unirest.io/java.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},a)=>{let{join:i,push:o}=new d({indent:{indent:" ",...a}.indent});return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?o(`HttpResponse<String> response = Unirest.${e.toLowerCase()}("${r}")`):o(`HttpResponse<String> response = Unirest.customMethod("${e.toUpperCase()}","${r}")`),Object.keys(t).forEach(e=>{o(`.header("${e}", "${R(t[e])}")`,1)}),(null==n?void 0:n.text)&&o(`.body(${JSON.stringify(n.text)})`,1),o(".asString();",1),i()}};class G{value;constructor(e){this.value=e}}function K(e,t=0){let n=[],r=" ".repeat(t),a=" ".repeat(t+2);if(0===Object.keys(e).length)return"{}";for(let[r,i]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(i instanceof G){let t=i.value.split("\n"),r=`${i.value}`;t.length>1&&(r=t.map((e,t)=>0===t?e:`${a}${e}`).join("\n")),n.push(`${a}${e}: ${r}`)}else if(Array.isArray(i)){let r=i.map(e=>"string"==typeof e?`'${e}'`:e&&"object"==typeof e?K(e):JSON.stringify(e));if(r.some(e=>e.includes("\n"))){let i=r.map(e=>(function(e,t){let n=" ".repeat(t);return e.split("\n").map(e=>`${n}${e}`).join("\n")})(e,t+4)).join(",\n");n.push(`${a}${e}: [ 12${i} 13${a}]`)}else n.push(`${a}${e}: [${r.join(", ")}]`)}else if(i&&"object"==typeof i)n.push(`${a}${e}: ${K(i,t+2)}`);else if("string"==typeof i){let t=`'${i}'`;n.push(`${a}${e}: ${t}`)}else n.push(`${a}${e}: ${i}`)}return`{ 14${n.join(",\n")} 15${r}}`}let J=e=>e.replaceAll("\\","\\\\").replaceAll("\n","\\n").replaceAll("\r","\\r").replaceAll("'","\\'"),ee=e=>"string"==typeof e?J(e):Array.isArray(e)?e.map(e=>ee(e)):!e||"object"!=typeof e||e instanceof G?e:Object.entries(e).reduce((e,[t,n])=>(e[t]=ee(n),e),{}),et=(e,t,n)=>{if(""===n){e[t]=n;return}D(e,t,n)},en=e=>{let t={};return e?.headers?.forEach(e=>{et(t,e.name,e.value)}),e?.cookies?.length&&et(t,"Cookie",e.cookies.map(e=>`${e.name}=${e.value}`).join("; ")),Object.keys(t).length?t:void 0},er=e=>{let t=[],n=e?.postData;if(!n)return{setup:t};if("application/json"===n.mimeType){if(!n.text)return{setup:t};try{return{setup:t,data:JSON.parse(n.text)}}catch{return{setup:t,data:n.text}}}return"application/x-www-form-urlencoded"===n.mimeType&&n.params?.length?(t.push("const encodedParams = new URLSearchParams()"),n.params.forEac
15h(e=>{let n=J(e.name),r=J(e.value??"");t.push(`encodedParams.append('${n}', '${r}')`)}),{setup:t,data:new G("encodedParams")}):"multipart/form-data"===n.mimeType&&n.params?.length?(t.push("const formData = new FormData()"),n.params.forEach(e=>{let n=J(e.name);if(void 0!==e.fileName){let r=J(e.fileName),a=e.contentType?`, { type: '${J(e.contentType)}' }`:"";t.push(`formData.append('${n}', new Blob([]${a}), '${r}')`);return}if(e.contentType){let r=J(e.contentType),a=J(e.value??"");t.push(`formData.append('${n}', new Blob(['${a}'], { type: '${r}' }))`);return}let r=J(e.value??"");t.push(`formData.append('${n}', '${r}')`)}),{setup:t,data:new G("formData")}):n.text?{setup:t,data:n.text}:{setup:t}},ea=e=>({target:e,client:"axios",title:"Axios",generate(e,t){let n={method:"GET",...e};n.method=n.method.toUpperCase();let r={method:n.method,url:J(n.url??"")},a=C(n.queryString);Object.keys(a).length&&(r.params=ee(a));let i=en(n);i&&(r.headers=ee(i)),t?.auth?.username&&t?.auth?.password&&(r.auth={username:J(t.auth.username),password:J(t.auth.password)});let{setup:o,data:l}=er(n);void 0!==l&&(r.data=l instanceof G?l:ee(l));let s=o.length?`${o.join("\n")} 16 17`:"";return`import axios from 'axios' 18 19${s}const options = ${K(r)} 20 21try { 22 const { data } = await axios.request(options) 23 console.log(data) 24} catch (error) { 25 console.error(error) 26}`}}),ei=ea("js"),{toString:eo}=Object.prototype,{propertyIsEnumerable:el}=Object.prototype,es=["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"],eu=["globalThis","Infinity","NaN","undefined"],ec=`(?<![@#$_\\p{ID_Continue}\\p{ID_Start}])(?!(?:${[...function({includeGlobalProperties:e=!1}={}){return new Set([...es,...e?eu:[]])}({includeGlobalProperties:!0})].join("|")})(?![$_\\p{ID_Continue}]))${/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*/u.source}`,ed=RegExp(ec,"u"),ep=RegExp(`^${ec}$`,"u");var em="undefined"!=typeof Worker?Worker:void 0;class ef extends Error{constructor(e){super(e),this.name="TimeoutError"}}class eh extends Error{constructor(e){super(),this.name="AbortError",this.message=e}}let eg=e=>void 0===globalThis.DOMException?new eh(e):new DOMException(e),ev=e=>{let t=void 0===e.reason?eg("This operation was aborted."):e.reason;return t instanceof Error?t:eg(t)},ey=e=>{let t=e.addEventListener||e.on||e.addListener,n=e.removeEventListener||e.off||e.removeListener;if(!t||!n)throw TypeError("Emitter is not compatible");return{addListener:t.bind(e),removeListener:n.bind(e)}};function eb(e,t,n){"function"==typeof n&&(n={filter:n});let r=function(e,t,n){let r;let a=new Promise((a,i)=>{if(!((n={rejectionEvents:["error"],multiArgs:!1,resolveImmediately:!1,...n}).count>=0&&(n.count===Number.POSITIVE_INFINITY||Number.isInteger(n.count))))throw TypeError("The `count` option should be at least 0 or more");n.signal?.throwIfAborted();let o=[t].flat(),l=[],{addListener:s,removeListener:u}=ey(e),c=(...e)=>{let t=n.multiArgs?e:e[0];(!n.filter||n.filter(t))&&(l.push(t),n.count===l.length&&(r(),a(l)))},d=e=>{r(),i(e)};for(let e of(r=()=>{for(let e of o)u(e,c);for(let e of n.rejectionEvents)u(e,d)},o))s(e,c);for(let e of n.rejectionEvents)s(e,d);n.signal&&n.signal.addEventListener("abort",()=>{d(n.signal.reason)},{once:!0}),n.resolveImmediately&&a(l)});if(a.cancel=r,"number"==typeof n.timeout){let e=function(e,t){let n,r;let{milliseconds:a,fallback:i,message:o,customTimers:l={setTimeout,clearTimeout}}=t,s=new Promise((s,u)=>{if("number"!=typeof a||1!==Math.sign(a))throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${a}\``);if(t.signal){let{signal:e}=t;e.aborted&&u(ev(e)),r=()=>{u(ev(e))},e.addEventListener("abort",r,{once:!0})}if(a===Number.POSITIVE_INFINITY){e.then(s,u);return}let c=new ef;n=l.setTimeout.call(void 0,()=>{if(i){try{s(i())}catch(e){u(e)}return}"function"==typeof e.cancel&&e.cancel(),!1===o?s():o instanceof Error?u(o):(c.message=o??`Promise timed out after ${a} milliseconds`,u(c))},a),(async()=>{try{s(await e)}catch(e){u(e)}})()}).finally(()=>{s.clear(),r&&t.signal&&t.signal.removeEventListener("abort",r)});return s.clear=()=>{l.clearTimeout.call(void 0,n),n=void 0},s}(a,{milliseconds:n.timeout});return e.cancel=r,e}return a}(e,t,n={...n,count:1,resolveImmediately:!1}),a=r.then(e=>e[0]);return a.cancel=r.cancel,a}
26let eO=!!globalThis.process?.versions?.node,ew=e=>new globalThis.Blob([e],{type:"text/javascript"}),ek=e=>{let t=globalThis.Buffer.from(e).toString("base64");return`data:text/javascript;base64,${t}`};function ex(e){let t,n;return{worker:n=eO?new em(ek(e),{type:"module"}):new em(t=URL.createObjectURL(ew(e)),{type:"module"}),cleanup:()=>{t&&URL.revokeObjectURL(t),n?.terminate()}}}let eS=e=>` 27 globalThis.onmessage = async ({data: arguments_}) => { 28 try { 29 const output = await (${e.toString()})(...arguments_); 30 globalThis.postMessage({output}); 31 } catch (error) { 32 globalThis.postMessage({error}); 33 } 34 }; 35 `;function e_(e){let t=eS(e),n=()=>ex(t);async function r({worker:e,arguments_:t}){let n=eb(e,"message",{rejectionEvents:["error","messageerror"]});e.postMessage(t);let{data:{output:r,error:a}}=await n;if(a)throw a;return r}let a=async(...e)=>{let{worker:t,cleanup:a}=n();try{return await r({arguments_:e,worker:t})}finally{a()}};return a.withSignal=e=>async(...t)=>{e.throwIfAborted();let{worker:a,cleanup:i}=n(),o=eb(e,[],{rejectionEvents:["abort"]});try{return await Promise.race([r({arguments_:t,worker:a}),o])}catch(t){throw e.throwIfAborted(),t}finally{o.cancel(),i()}},a}let eE=e=>` 36 const nothing = Symbol('nothing'); 37 let iterator = nothing; 38 39 globalThis.onmessage = async ({data: arguments_}) => { 40 try { 41 if (iterator === nothing) { 42 iterator = await (${e.toString()})(...arguments_); 43 } 44 45 const output = await iterator.next(); 46 globalThis.postMessage({output}); 47 } catch (error) { 48 globalThis.postMessage({error}); 49 } 50 }; 51 `,eA={},eT=e=>{if(void 0===e||Number.isNaN(e))return;let t=Math.max(1,Math.trunc(Math.abs(e)));if(Number.isFinite(t))return t};e_((e,t,n)=>new RegExp(e,t).test(n)),e_((e,t,n)=>{let r=new RegExp(e,t).exec(n);if(null!==r)return{match:r[0],index:r.index,groups:r.slice(1),namedGroups:r.groups??{},input:r.input}}),function(e){let t=eE(e)}(function*(e,t,n){let r=new RegExp(e,t);for(let e of n.matchAll(r))yield{match:e[0],index:e.index,groups:e.slice(1),namedGroups:e.groups??{},input:e.input}});let eD=function({exact:e=!0}={}){return e?ep:ed}(),eC={"\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 e$(e,t,n){let r=[];return function e(t,n={},a=""){let i;let o=n.indent||" ";i=void 0===n.inlineCharacterLimit?{newline:"\n",newlineOrSpace:"\n",pad:a,indent:a+o}:{newline:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newlineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};let l=e=>{if(void 0===n.inlineCharacterLimit)return e;let t=e.replaceAll(i.newline,"").replaceAll(i.newlineOrSpace," ").replaceAll(i.pad,"").replaceAll(i.indent,"");return t.length<=n.inlineCharacterLimit?t:e.replaceAll(i.newline,"\n").replaceAll(i.newlineOrSpace,"\n").replaceAll(i.pad,a).replaceAll(i.indent,a+o)};if(r.includes(t))return'"[Circular]"';let s=typeof t;if(null==t||"number"===s||"boolean"===s||"function"===s||"[object RegExp]"===eo.call(t))return String(t);if("bigint"===s)return String(t)+"n";if("symbol"===s){let{description:r}=t;if(void 0===r)return"Symbol()";if(r?.startsWith("Symbol.")&&Symbol[r.slice(7)]===t)return r;let a=Symbol.keyFor(t);return void 0!==a?`Symbol.for(${e(a,n)})`:`Symbol(${e(r,n)})`}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 s=t instanceof Map,u=s?"Map":"Set";if(0===t.size)return`new ${u}()`;r.push(t);let c=[...t].map(t=>{if(s){let[r,l]=t;return i.indent+`[${e(r,n,a+o)}, ${e(l,n,a+o)}]`}return i.indent+e(t,n,a+o)}).join(","+i.newlineOrSpace);return r.pop(),l(`new ${u}([${i.newline}${c}${i.newline}${i.pad}])`)}if(Array.isArray(t)){if(0===t.length)return"[]";r.push(t);let s=t.map((r,l)=>{let s=e(r,n,a+o);return n.transform&&(s=n.transform(t,l,s)),i.indent+s}).join(","+i.newlineOrSpace);return r.pop(),l(`[${i.newline}${s}${i.newline}${i.pad}]`)}if(function(e){let t=typeof e;return null!==e&&("object"===t||"function"===t)}(t)){let s=[...Object.keys(t),...Object.getOwnPropertySymbols(t).filter(e=>el.call(t,e))];if(n.filter&&(s=s.filter(e=>n.filter(t,e))),0===s.length)return"{}";r.push(t);let u=s.map(r=>{let l;l="symbol"==typeof r?`[${e(r,n)}]`:!function(e){if("string"!=typeof e)throw TypeError(`Expected a string, got \`${typeof e}\`.`);return!(e.length>1e5)&&function(e,t,{timeout:n,throwOnTimeout:r}={}){try{return(function(e){let t=(...t)=>e(...t);return Object.defineProperty(t,"name",{value:`functionTimeout(${e.name||"<anonymous>"})`,configurable:!0}),t})(()=>structuredClone(e).test(t),{timeout:eT(n),context:eA})()}catch(e){throw e}}(eD,e,{timeout:1e3})}(r)?e(r,n):r;let s=e(t[r],n,a+o);return n.transform&&(s=n.transform(t,r,s)),i.indent+l+": "+s}).join(","+i.newlineOrSpace);return r.pop(),l(`{${i.newline}${u}${i.newline}${i.pad}}`)}let u=String(t).replaceAll("\\","\\\\").replaceAll(/[\u0000-\u001F\u007F]/g,e=>eC[e]??`\\u${e.codePointAt(0).toString(16).padStart(4,"0")}`);return!1===n.singleQuotes?`"${u.replaceAll('"',String.raw`\"`)}"`:`'${u.replaceAll("'",String.raw`\'`)}'`}(e,t,n)}let eP={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:n,postData:r},a)=>{let i;let o={indent:" ",...a},{blank:l,push:s,join:u}=new d({indent:o.indent}),c={async:!0,crossDomain:!0,url:e,method:t,headers:n};switch(null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":c.data=r?.paramsObj?r.paramsObj:r.text;break;case"application/json":c.processData=!1,c.data=r.text;break;case"multipart/form-data":if(!r?.params)break;if(s("const form = new FormData();
51"),r.params.forEach(e=>{s(`form.append('${e.name}', '${e.value||e.fileName||""}');`)}),c.processData=!1,c.contentType=!1,c.mimeType="multipart/form-data",c.data="[form]",f(n,"content-type")&&(null===(i=m(n,"content-type"))||void 0===i?void 0:i.includes("boundary"))){let e=p(n,"content-type");e&&delete c.headers[e]}l();break;default:(null==r?void 0:r.text)&&(c.data=r.text)}let h=e$(c,{indent:o.indent}).replace("'[form]'","form");return s(`const settings = ${h};`),l(),s("$.ajax(settings).done(function (response) {"),s("console.log(response);",1),s("});"),u()}},eI={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:n,fullUrl:r},a)=>{let i;let o={indent:" ",cors:!0,...a},{blank:l,push:s,join:u}=new d({indent:o.indent});switch(null==e?void 0:e.mimeType){case"application/json":s(`const data = JSON.stringify(${e$(e?.jsonObj,{indent:o.indent})});`),l();break;case"multipart/form-data":if(!e?.params)break;if(s("const data = new FormData();"),e.params.forEach(e=>{s(`data.append('${e.name}', '${e.value||e.fileName||""}');`)}),f(t,"content-type")&&(null===(i=m(t,"content-type"))||void 0===i?void 0:i.includes("boundary"))){let e=p(t,"content-type");e&&delete t[e]}l();break;default:s(`const data = ${(null==e?void 0:e.text)?`'${e.text}'`:"null"};`),l()}return s("const xhr = new XMLHttpRequest();"),o.cors&&s("xhr.withCredentials = true;"),l(),s("xhr.addEventListener('readystatechange', function () {"),s("if (this.readyState === this.DONE) {",1),s("console.log(this.responseText);",2),s("}",1),s("});"),l(),s(`xhr.open('${n}', '${r}');`),Object.keys(t).forEach(e=>{s(`xhr.setRequestHeader('${e}', '${M(t[e])}');`)}),l(),s("xhr.send(data);"),u()}},eN={info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,fullUrl:t,method:n,allHeaders:r},a)=>{let{blank:i,join:o,push:l}=new d({indent:{indent:" ",...a}.indent});return l("val client = OkHttpClient()"),i(),null!=e&&("application/x-www-form-urlencoded"===e.mimeType&&e.params?(l("val formBody = FormBody.Builder()"),e.params.forEach(e=>{l(`.addEncoded("${e.name}", "${e.value}")`,1)}),l(".build()",1),i()):"multipart/form-data"===e.mimeType&&e.params?(l("val body = MultipartBody.Builder()"),l(".setType(MultipartBody.FORM)",1),e.params.forEach(e=>{void 0!==e.fileName?l(`.addFormDataPart("${e.name}", "${e.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), File("${e.fileName}")))`,1):void 0!==e.value&&l(`.addFormDataPart("${e.name}", "${e.value}")`,1)}),l(".build()",1),i()):(l(`val mediaType = MediaType.parse("${e.mimeType}")`),l(`val body = RequestBody.create(mediaType, ${JSON.stringify(e.text)})`))),l("val request = Request.Builder()"),l(`.url("${t}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(n.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(n.toUpperCase())?(null==e?void 0:e.text||e.params)?l(`.${n.toLowerCase()}(body)`,1):l(`.${n.toLowerCase()}(null)`,1):l(`.${n.toLowerCase()}()`,1):(null==e?void 0:e.text)?l(`.method("${n.toUpperCase()}", body)`,1):l(`.method("${n.toUpperCase()}", null)`,1),Object.keys(r).forEach(e=>{l(`.addHeader("${e}", "${R(r[e])}")`,1)}),l(".build()",1),i(),l("val response = client.newCall(request).execute()"),o()}},eU=ea("node"),eM=(e,t,n,r)=>{let a=`${e} *${t} = `,i=eR(n,r?a.length:void 0);return`${a}${i};`},eR=(e,t)=>{let n=void 0===t?", ":`, 52 ${" ".repeat(t)}`;switch(Object.prototype.toString.call(e)){case"[object Number]":return`@${e}`;case"[object Array]":{let t=e.map(e=>eR(e));return`@[ ${t.join(n)} ]`}case"[object Object]":{let t=[];for(let n in e)Object.hasOwn(e,n)&&t.push(`@"${n}": ${eR(e[n])}`);return`@{ ${t.join(n)} }`}case"[object Boolean]":return e?"@YES":"@NO";default:if(null==e)return"";return`@"${e.toString().replace(/"/g,'\\"')}"`}},ej={info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSe
52ssion_class/index.html",description:"Foundation's NSURLSession request"},convert:({allHeaders:e,postData:t,method:n,fullUrl:r},a)=>{let i;let o={indent:" ",pretty:!0,timeout:10,...a},{push:l,join:s,blank:u}=new d({indent:o.indent}),c={hasHeaders:!1,hasBody:!1};if(l("#import <Foundation/Foundation.h>"),Object.keys(e).length&&(c.hasHeaders=!0,u(),l(eM("NSDictionary","headers",e,o.pretty))),t&&(t.text||t.jsonObj||t.params))switch(c.hasBody=!0,t.mimeType){case"application/x-www-form-urlencoded":if(null===(i=t.params)||void 0===i?void 0:i.length){u();let[e,...n]=t.params;l(`NSMutableData *postData = [[NSMutableData alloc] initWithData:[@"${e.name}=${e.value}" dataUsingEncoding:NSUTF8StringEncoding]];`),n.forEach(({name:e,value:t})=>{l(`[postData appendData:[@"&${e}=${t}" dataUsingEncoding:NSUTF8StringEncoding]];`)})}else c.hasBody=!1;break;case"application/json":t.jsonObj&&(l(eM("NSDictionary","parameters",t.jsonObj,o.pretty)),u(),l("NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"));break;case"multipart/form-data":l(eM("NSArray","parameters",t.params||[],o.pretty)),l(`NSString *boundary = @"${t.boundary}";`),u(),l("NSError *error;"),l("NSMutableString *body = [NSMutableString string];"),l("for (NSDictionary *param in parameters) {"),l('[body appendFormat:@"--%@\\r\\n", boundary];',1),l('if (param[@"fileName"]) {',1),l('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];',2),l('[body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];',2),l('[body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];',2),l("if (error) {",2),l('NSLog(@"%@", error);',3),l("}",2),l("} else {",1),l('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];',2),l('[body appendFormat:@"%@", param[@"value"]];',2),l("}",1),l("}"),l('[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];'),l("NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];");break;default:u(),l(`NSData *postData = [[NSData alloc] initWithData:[@"${t.text}" dataUsingEncoding:NSUTF8StringEncoding]];`)}return u(),l(`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"${r}"]`),l(" cachePolicy:NSURLRequestUseProtocolCachePolicy"),l(` timeoutInterval:${o.timeout.toFixed(1)}];`),l(`[request setHTTPMethod:@"${n}"];`),c.hasHeaders&&l("[request setAllHTTPHeaderFields:headers];"),c.hasBody&&l("[request setHTTPBody:postData];"),u(),l("NSURLSession *session = [NSURLSession sharedSession];"),l("NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request"),l(" completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {"),l(" if (error) {",1),l(' NSLog(@"%@", error);',2),l(" } else {",1),l(" NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;",2),l(' NSLog(@"%@", httpResponse);',2),l(" }",1),l(" }];"),l("[dataTask resume];"),s()}},eL={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:n,method:r},a)=>{let{push:i,blank:o,join:l}=new d({indent:{indent:" ",...a}.indent});i("open Cohttp_lwt_unix"),i("open Cohttp"),i("open Lwt"),o(),i(`let uri = Uri.of_string "${e}" in`);let s=Object.keys(t);1===s.length?i(`let headers = Header.add (Header.init ()) "${s[0]}" "${R(t[s[0]])}" in`):s.length>1&&(i("let headers = Header.add_list (Header.init ()) ["),s.forEach(e=>{i(`("${e}", "${R(t[e])}");`,1)}),i("] in")),(null==n?void 0:n.text)&&i(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(n.text)} in`),o();let u=s.length?"~headers ":"",c=(null==n?void 0:n.text)?"~body ":"",p=["get","post","head","delete","patch","put","options"].includes(r.toLowerCase())?`\`${r.toUpperCase()}
52`:`(Code.method_of_string "${r}")`;return i(`Client.call ${u}${c}${p} uri`),i(">>= fun (res, body_stream) ->"),i("(* Do stuff with the result *)",1),l()}};function eZ(e){return" ".repeat(2*e)}class eB{value;constructor(e){this.value=e}}function ez(e,t=0){if(null==e)return"null";if(e instanceof eB){let n=e.value.split("\n");if(n.length>1){let e=eZ(t+1);return n.map((t,n)=>0===n?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 n=e.map(e=>ez(e,t+1)).join(",\n"+eZ(t+1));return`[ 53${eZ(t+1)}${n} 54${eZ(t)}]`}if("object"==typeof e){let n=Object.entries(e);if(0===n.length)return"[]";let r=n.map(([e,n])=>`'${e}' => ${ez(n,t+1)}`).join(",\n"+eZ(t+1));return`[ 55${eZ(t+1)}${r} 56${eZ(t)}]`}return"null"}let eF=e=>e.replace(/\\/g,"\\\\").replace(/'/g,"\\'"),eQ=e=>`'${eF(e)}'`,eH=e=>Array.isArray(e)?e.map(e=>eH(e)):e&&"object"==typeof e?Object.entries(e).reduce((e,[t,n])=>(e[eF(t)]=eH(n),e),{}):e,eq=e=>{if(!e)return"localhost";try{return new URL(e).hostname||"localhost"}catch{return"localhost"}},eV=e=>({method:t,headersObj:n,cookies:r,uriObj:a,fullUrl:i,postData:o,allHeaders:l})=>{let{push:s,join:u}=new d;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";let c=[],p=Object.keys(n);return p.length&&(s("$headers=@{}"),p.forEach(e=>{"connection"!==e&&s(`$headers.Add("${e}", "${U(n[e],{escapeChar:"`"})}")`)}),c.push("-Headers $headers")),r.length&&(s("$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession"),r.forEach(e=>{s("$cookie = New-Object System.Net.Cookie"),s(`$cookie.Name = '${e.name}'`),s(`$cookie.Value = '${e.value}'`),s(`$cookie.Domain = '${a.host}'`),s("$session.Cookies.Add($cookie)")}),c.push("-WebSession $session")),(null==o?void 0:o.text)&&(c.push(`-ContentType '${U(m(l,"content-type"),{delimiter:"'",escapeChar:"`"})}'`),c.push(`-Body '${o.text}'`)),s(`$response = ${e} -Uri '${i}' -Method ${t} ${c.join(" ")}`),u()},eW={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:eV("Invoke-RestMethod")},eX={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:eV("Invoke-WebRequest")};function eY(e){let t=e;for(let[e,n]of[["true","True"],["false","False"],["null","None"]])for(let r of[`(: )${e}(?=,|\\n)`,`^( +)${e}(?=,|\\n)`])t=t.replace(RegExp(r,"gm"),`$1${n}`);return t}function eG(e,t=4){return eY(JSON.stringify(e,null,2).split("\n").map((e,n)=>0===n?e:" ".repeat(t)+e).join("\n"))}function eK(e,t,n){let r={url:"https://example.com",method:"get",...t},a=r.method.toLowerCase(),i={};if(r.headers?.length&&(i.headers=r.headers.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{})),r.queryString?.length&&(i.params=C(r.queryString)),r.cookies?.length&&(i.cookies=Object.fromEntries(r.cookies.map(e=>[e.name,e.value]))),n?.auth?.username&&n?.auth?.password&&(i.auth=[n.auth.username,n.auth.password]),r.postData){let{mimeType:e,text:t,params:n}=r.postData;if("application/json"===e&&t)try{i.json=JSON.parse(t)}catch{i.data=t}else if("application/octet-stream"===e&&t)i.data=t;else if("multipart/form-data"===e&&n){let e=[],t={};n.forEach(n=>{if(void 0!==n.fileName){let t=JSON.stringify(n.name),r=JSON.stringify(n.fileName),a=`open(${r}, "rb")`;if(n.contentType){let i=JSON.stringify(n.contentType);e.push(`(${t}, (${r}, ${a}, ${i}))`)}else e.push(`(${t}, ${a})`)}else if(void 0!==n.value){if(n.contentType){let t=JSON.stringify(n.name),r=JSON.stringify(n.value),a=JSON.stringify(n.contentType);e.push(`(${t}, (None, ${r}, ${a}))`)}else D(t,n.name,n.value)}}),e.length&&(i.files=e),Object.keys(t).length&&(i.data=t)}else if("application/x-www-form-urlencoded"===e&&n){let e={};n.forEach(t=>{D(e,t.name,t.value??"")}),i.data=e}}let o=[],l=`"${r.url}"`;
56for(let[e,t]of(r.url.length>40?o.push(l):o.push(""),Object.entries(i)))if("auth"===e)o.push(`${e}=(${eY(JSON.stringify(t[0]))}, ${eY(JSON.stringify(t[1]))})`);else if("files"===e){let n="[\n"+t.map(e=>` ${e}`).join(",\n")+"\n ]";o.push(`${e}=${n}`)}else if("json"===e){let n=eG(t);o.push(`${e}=${n}`)}else if("data"===e&&r.postData?.mimeType==="application/octet-stream")o.push(`${e}=b"${t}"`);else{let n=eG(t);o.push(`${e}=${n}`)}return r.url.length>40?`${e}.${a}( 57 ${o.join(",\n ")} 58)`:o.length<=1?`${e}.${a}(${l})`:`${e}.${a}(${l}${o.length>1?",":""} 59 ${o.slice(1).join(",\n ")} 60)`}let eJ=(e,t=" ")=>e.split("\n").map(e=>""===e.trim()?e:`${t}${e}`).join("\n"),e0=(e,t,n,r)=>{let a=JSON.stringify(n);return n.length>40?`${e}.${t}( 61 ${[a,...r].join(",\n ")} 62)`:0===r.length?`${e}.${t}(${a})`:`${e}.${t}(${a}, 63 ${r.join(",\n ")} 64)`};var e1=n(82957).lW;let e2=e=>{if("function"==typeof globalThis.btoa)return globalThis.btoa(e);if(void 0!==e1)return e1.from(e,"utf-8").toString("base64");throw Error("Could not encode basic auth credentials")},e4=e=>{if(!e)return new URL("https://example.com");try{return new URL(e)}catch{return new URL(e,"https://example.com")}},e8=(e,t=[])=>{if(!t.length)return e.search;let n=S(t);return e.search?`${e.search}&${n.slice(1)}`:n},e6=e=>{let t=JSON.stringify(e).slice(1,-1);return`b"${t}"`},e3=(e,t,n)=>{let r=e.postData;if(!r)return{payloadLines:[]};let{mimeType:a,text:i,params:o}=r;if("application/json"===a&&i)try{let e=JSON.parse(i);return n.add("import json"),{payloadLines:[`payload = json.dumps(${eG(e,0)})`],payloadVariable:"payload"}}catch{return{payloadLines:[`payload = ${JSON.stringify(i)}`],payloadVariable:"payload"}}if("application/octet-stream"===a&&i)return{payloadLines:[`payload = ${e6(i)}`],payloadVariable:"payload"};if("application/x-www-form-urlencoded"===a&&o){n.add("import urllib.parse");let e={};return o.forEach(t=>{D(e,t.name,t.value??"")}),t["Content-Type"]||(t["Content-Type"]="application/x-www-form-urlencoded"),{payloadLines:[`payload = urllib.parse.urlencode(${eG(e,0)}, doseq=True)`],payloadVariable:"payload"}}if("multipart/form-data"===a&&o){let e=['boundary = "----ScalarSnippetzBoundary"',"data_list = []"];return o.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??"")})`)}),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(i)try{let e=JSON.parse(i);return n.add("import json"),{payloadLines:[`payload = json.dumps(${eG(e,0)})`],payloadVariable:"payload"}}catch{return{payloadLines:[`payload = ${JSON.stringify(i)}`],payloadVariable:"payload"}}return{payloadLines:[]}},e5=(e,t)=>{try{let n=JSON.parse(e);return e7(n,t)}catch{return`"${e}"`}},e7=(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 n=e.map(e=>`${t} ${e7(e,t+" ")}`).join(",\n");return`list( 65${n} 66${t})`}if("object"==typeof e){let n=Object.entries(e);if(0===n.length)return"list()";let r=n.map(([e,n])=>`${t} ${e} = ${e7(n,t+" ")}`).join(",\n");return`list( 67${r} 68${t})`}return String(e)},e9=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),te=e=>e.replace(/\\/g,"\\\\").replace(/'/g,"\\'"),tt=e=>encodeURIComponent(e).replace(/'/g,"%27"),tn=new Set(["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"]),tr=e=>e.charAt(0)+e.slice(1).toLowerCase(),ta=(e,t,n)=>{if(tn.has(t))return;let r=tr(t);e.push(`class Net::HTTP::${r} < Net::HTTPRequest`),e.push(` METHOD = '${t}'`),e.push(` REQUEST_HAS_BODY = '${n?"true":"false"}'`),e.push(" RESPONSE_HAS_BODY = true"),e.push("end"),e.push("")},ti=e=>{try{let t=new URL(e),n=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}${n}${t.search}${t.hash}`}catch{return e}};function to(e){return`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\0/g,"\\0")}"`}function tl(e,t){let n=" ".repeat(4*e);return`${n}${t}`}function ts(e,...t){return tl(1,`.${e}(${t.join(", ")})`)}let tu=e=>{if(e.fileName){let t=[tl(2,`let part = reqwest::multipart::Part::text(${to(e.value||"")})`),tl(3,`.file_name(${to(e.fileName)})`)];return e.contentType?(t.push(tl(3,`.mime_str(${to(e.contentType)})`)),t.push(tl(3,".unwrap();"))):t[t.length-1]+=";",t.push(tl(2,`form = form.part(${to(e.name)}, part);`)),t.join("\n")}return e.contentType?[tl(2,`let part = reqwest::multipart::Part::text(${to(e.value||"")})`),tl(3,`.mime_str(${to(e.contentType)})`),tl(3,".unwrap();"),tl(2,`form = form.part(${to(e.name)}, part);`)].join("\n"):tl(2,`form = form.text(${to(e.name)}, ${to(e.value||"")});`)},tc=e=>e?.username&&e?.password?ts("basic_auth",to(e.username),to(e.password)):null,td=e=>Object.entries(e).map(([e,t])=>ts("header",to(e),to(t))),tp=e=>{if(!e)return null;let{mimeType:t,text:n,params:r}=e;switch(t){case"application/json":{let e=function(e){try{let t=JSON.parse(e),n=JSON.stringify(t,null,4).split("\n");return n.map((e,t)=>0===t?e:(n.length,tl(1,e))).join("\n")}catch{return e}}(n);return ts("json",`&serde_json::json!(${e})`)}case"application/x-www-form-urlencoded":{let e=r?.map(e=>`(${to(e.name)}, ${to(e.value||"")})`).join(", ")||"";return ts("form",`&[${e}
68]`)}case"multipart/form-data":{let e=r?.map(tu).join("\n")||"",t=[".multipart({",tl(2,"let mut form = reqwest::multipart::Form::new();"),e,tl(3,"form"),tl(2,"})")].join("\n");return tl(1,t)}default:return ts("body",to(n||""))}},tm=(e,t,n)=>{let r=["let client = reqwest::Client::new();",""];n.length>0?(r.push("let request = client"),r.push(tl(1,`.${t.toLowerCase()}(${to(e)})`)),r.push(...n)):r.push(`let request = client.${t.toLowerCase()}(${to(e)})`);let a=r[r.length-1];return r[r.length-1]=a+";",r.push(""),r.push("let response = request.send().await?;"),r.join("\n")},tf=e=>e.replace(/'/g,"'\\''"),th=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`,tg=e=>e.replace(/\r/g,"\\r").replace(/\n/g,"\\n"),tv={info:{key:"httpie",title:"HTTPie",link:"http://httpie.org/",description:"a CLI, cURL-like tool for humans"},convert:({allHeaders:e,postData:t,queryObj:n,fullUrl:r,method:a,url:i},o)=>{let l={body:!1,cert:!1,headers:!1,indent:" ",pretty:!1,print:!1,queryParams:!1,short:!1,style:!1,timeout:!1,verbose:!1,verify:!1,...o},{push:s,join:u,unshift:c}=new d({indent:l.indent,join:!1!==l.indent?` \\ 69${l.indent}`:" "}),p=!1,m=[];l.headers&&m.push(l.short?"-h":"--headers"),l.body&&m.push(l.short?"-b":"--body"),l.verbose&&m.push(l.short?"-v":"--verbose"),l.print&&m.push(`${l.short?"-p":"--print"}=${l.print}`),l.verify&&m.push(`--verify=${l.verify}`),l.cert&&m.push(`--cert=${l.cert}`),l.pretty&&m.push(`--pretty=${l.pretty}`),l.style&&m.push(`--style=${l.style}`),l.timeout&&m.push(`--timeout=${l.timeout}`),l.queryParams&&Object.keys(n).forEach(e=>{let t=n[e];Array.isArray(t)?t.forEach(t=>{s(`${e}==${th(t)}`)}):s(`${e}==${th(t)}`)}),Object.keys(e).sort().forEach(t=>{s(`${t}:${th(e[t])}`)}),(null==t?void 0:t.mimeType)==="application/x-www-form-urlencoded"?t.params?.length&&(m.push(l.short?"-f":"--form"),t.params.forEach(e=>{s(`${e.name}=${th(e.value)}`)})):(null==t?void 0:t.mimeType)==="multipart/form-data"?t?.params?.length&&(m.push("--multipart"),t.params.forEach(e=>{e.fileName?s(`${e.name}@${th(e.fileName)}`):s(`${e.name}='${th(e.value)}'`)})):p=!0;let f=m.length?`${m.join(" ")} `:"";if(i=th(l.queryParams?i:r),c(`http ${f}${a} ${i}`),p&&(null==t?void 0:t.text)){let e=th(t.text);c(`echo ${e} | `)}return u()}},ty={info:{key:"wget",title:"Wget",link:"https://www.gnu.org/software/wget/",description:"a free software package for retrieving files using HTTP, HTTPS"},convert:({method:e,postData:t,allHeaders:n,fullUrl:r},a)=>{let i={indent:" ",short:!1,verbose:!1,...a},{push:o,join:l}=new d({indent:i.indent,join:!1!==i.indent?` \\ 70${i.indent}`:" "});return i.verbose?o(`wget ${i.short?"-v":"--verbose"}`):o(`wget ${i.short?"-q":"--quiet"}`),o(`--method ${th(e)}`),Object.keys(n).forEach(e=>{let t=`${e}: ${n[e]}`;o(`--header ${th(t)}`)}),(null==t?void 0:t.text)&&o(`--body-data ${tg(th(t.text))}`),o(i.short?"-O":"--output-document"),o(`- ${th(r)}`),l()}},tb=e=>JSON.stringify(e),tO=e=>{let t=1;for(;e.includes(`"""${"#".repeat(t)}`);)t+=1;return"#".repeat(t)},tw=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},tk=e=>encodeURIComponent(e),tx=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),tS=e=>{let t=["let boundary = UUID().uuidString","var body = Data()","","func appendToBody(_ value: String) {"," body.append(value.data(using: .utf8)!)","}",""];return e.forEach(e=>{let n=tx(e.name),r=tx(e.fileName??""),a=e.contentType?tx(e.contentType):void 0;t.push(`appendToBody("--\\(boundary)\\r\\n")`),void 0!==e.fileName?(t.push(`appendToBody(${tb(`Content-Disposition: form-data; name="${n}"; filename="${r}"\r 71`)})`),a&&t.push(`appendToBody(${tb(`Content-Type: ${a}\r 72`)})`),t.push('appendToBody("\\r\\n")'),t.push(`appendToBody(${tb(`<# File data for ${e.fileName||"file"} #>\r 73`)})`)):(t.push(`appendToBody(${tb(`Content-Disposition: form-data; name="${n}"\r 74`)})`),a&&t.push(`appendToBody(${tb(`Content-Type: ${a}\r 75`)})`),t.push('appendToBody("\\r\\n")'),t.push(`appendToBody(${tb(e.value??"")})`),t.push('appendToBody("\\r\\n")')),t.push("")}),t.push('appendToBody("--\\(boundary)--\\r\\n")'),t},t_=[{key:"c",title:"C",default:"libcurl",clients:[{target:"c",client:"libcurl",title:"Libcurl",generate(e,t){if(!e)return"";let n=a(e.method),r=l(o(e.url??""),e.queryString),d=!!e.headers?.length,p=!!e.cookies?.length,m=e.postData,f=m?.mimeType==="multipart/form-data"&&!!m.params?.length,h=e.headers??[],g=h.some(e=>"accept-encoding"===e.name.toLowerCase()&&/gzip|deflate/.test(e.value)),v=["#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, "${i(n)}");`,` curl_easy_setopt(curl, CURLOPT_URL, "${i(r)}");`];if(t?.auth?.username&&t.auth.password&&v.push(` curl_easy_setopt(curl, CURLOPT_USERPWD, "${i(`${t.auth.username}:${t.auth.password}`)}");`),d&&(v.push(""," struct curl_slist *headers = NULL;
75"),h.forEach(e=>{v.push(` headers = curl_slist_append(headers, "${i(`${e.name}: ${e.value}`)}");`)}),v.push(" curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);")),p){let t=s(e.cookies);t&&v.push("",` curl_easy_setopt(curl, CURLOPT_COOKIE, "${i(t)}");`)}if(g&&v.push("",' curl_easy_setopt(curl, CURLOPT_ACCEPT_ENCODING, "");'),m){if(f&&m.params)v.push(""," curl_mime *mime = curl_mime_init(curl);"),m.params.forEach(e=>{v.push(""," {"," curl_mimepart *part = curl_mime_addpart(mime);"),e.name&&v.push(` curl_mime_name(part, "${i(e.name)}");`),void 0!==e.fileName?v.push(` curl_mime_filedata(part, "${i(e.fileName)}");`):v.push(` curl_mime_data(part, "${i(e.value??"")}", CURL_ZERO_TERMINATED);`),e.contentType&&v.push(` curl_mime_type(part, "${i(e.contentType)}");`),v.push(" }")}),v.push(""," curl_easy_setopt(curl, CURLOPT_MIMEPOST, mime);");else if("application/x-www-form-urlencoded"===m.mimeType&&m.params?.length){let e=u(m.params);null!==e&&v.push("",` curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${i(e)}");`)}else if("application/json"===m.mimeType&&void 0!==m.text)v.push("",` curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${i(c(m.text))}");`);else if(void 0!==m.text){let e="application/octet-stream"===m.mimeType?m.text:c(m.text);v.push("",` curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${i(e)}");`)}}return v.push(""," CURLcode res = curl_easy_perform(curl);"),v.push(" curl_easy_cleanup(curl);"),f&&v.push(" curl_mime_free(mime);"),d&&v.push(" curl_slist_free_all(headers);"),v.push(" curl_global_cleanup();",""," return (int)res;","}"),v.join("\n")}}]},{key:"csharp",title:"C#",default:"restsharp",clients:[{target:"csharp",client:"httpclient",title:"HttpClient",generate(e,t){let n={method:"GET",url:"",...e};n.method=n.method.toUpperCase();let r=S(n.queryString),a=`${n.url}${r}`,i=[];i.push("using var client = new HttpClient();"),i.push("");let o=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}")`}}(n.method);return i.push(`var request = new HttpRequestMessage(${o}, "${a}");`),function(e,t,n){let r=t.headers||[],a=t.cookies||[],i=r.find(e=>"authorization"===e.name.toLowerCase());if(i){let[t,n]=i.value.split(" ",2);t&&n&&e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("${t}", "${n}");`)}else if(n?.auth?.username&&n?.auth?.password){let t=(0,P.cv)(`${n.auth.username}:${n.auth.password}`);e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("Basic", "${t}");`)}let o=new Map;for(let e of r){let t=e.name,n=e.value;"authorization"!==t.toLowerCase()&&o.set(t,n)}for(let[n,r]of o)if("accept"===n.toLowerCase()&&/^[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(r))e.push(`request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("${r}"));`);else{if("content-type"===n.toLowerCase()&&t.postData)continue;e.push(`request.Headers.TryAddWithoutValidation("${n}", "${r}");`)}if(a.length>0){let t=a.map(e=>`${e.name}=${e.value}`).join("; ");e.push(`request.Headers.TryAddWithoutValidation("Cookie", "${t}");`)}}(i,n,t),function(e,t){if(!t.postData)return;let{mimeType:n,text:r,params:a}=t.postData;if("application/json"===n&&r)try{let t=JSON.parse(r),n=JSON.stringify(t,null,2),a=I(n);e.push("request.Content = new StringContent("),e.push(`${a},`),e.push('System.Text.Encoding.UTF8, "application/json");')}catch{let t=I(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"===n&&a){let t=a.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("{"),a))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("{"),a))e.push(` ["${t.name}"] = "${t.value}",`);e.push("};"),e.push("request.Content = new FormUrlEncodedContent(formParams);")}}else if("multipart/form-data"===n&&a){e.push("var content = new MultipartFormDataContent();");let t=0;for(let n of a)if(void 0!==n.fileName){if(n.contentType){let r=`fileContent${t++}`;e.push(`var ${r} = new StreamContent(File.OpenRead("${N(n.fileName)}"));`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${n.contentType}");`),e.push(`content.Add(${r}, "${N(n.name)}", "${N(n.fileName)}");`)}else e.push(`content.Add(new StreamContent(File.OpenRead("${N(n.fileName)}")), "${N(n.name)}", "${N(n.fileName)}");`)}else if(n.contentType){let r=`stringContent${t++}`;e.push(`var ${r} = new StringContent("${N(n.value??"")}");`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${n.contentType}");`),e.push(`content.Add(${r}, "${N(n.name)}");`)}else e.push(`content.Add(new StringContent("${N(n.value??"")}"), "${N(n.name)}");`);e.push("request.Content = content;")}
75else if("application/octet-stream"===n&&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=I(r);e.push("request.Content = new StringContent("),e.push(`${t},`),e.push(`System.Text.Encoding.UTF8, "${n}");`)}}(i,n),i.push(""),i.push("using var response = await client.SendAsync(request);"),i.join("\n")}},{target:"csharp",client:"restsharp",title:"RestSharp",generate:e=>$(j,e)}]},{key:"clojure",title:"Clojure",default:"clj_http",clients:[{target:"clojure",client:"clj_http",title:"clj-http",generate:e=>$(k,e)}]},{key:"dart",title:"Dart",default:"http",clients:[{target:"dart",client:"http",title:"Http",generate(e,t){let n={method:"GET",...e};n.method=n.method.toUpperCase();let r=`import 'package:http/http.dart' as http; 76 77void main() async { 78`,a="",i="";n.cookies&&n.cookies.length>0&&(i=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; "),a=` "Cookie": "${i}", 79`);let o=n.headers?.reduce((e,t)=>(t.value&&!/[; ]/.test(t.name)&&(e[t.name]=t.value),e),{})||{};if(t?.auth){let{username:e,password:n}=t.auth;if(e&&n){let t=`${e}:${n}`;o.Authorization=`'Basic ' + base64Encode(utf8.encode('${t}'))`}}if(a&&(o.Cookie=i),Object.keys(o).length>0){for(let[e,t]of(r+=" final headers = <String,String>{\n",Object.entries(o)))t.includes("utf8.encode")?r+=` '${e}': ${t}, 80`:r+=` '${e}': '${t}', 81`;r+=" };\n\n"}let l=n.queryString?.length?"?"+n.queryString.map(e=>`${e.name}=${e.value}`).join("&"):"",s=`${n.url}${l}`,u="";if(n.postData){if("application/json"===n.postData.mimeType)u=` final body = r'${n.postData.text}'; 82 83`;else if("application/x-www-form-urlencoded"===n.postData.mimeType)u=` final body = '${n.postData.params?.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??"")}`).join("&")||""}'; 84 85`;else if("multipart/form-data"===n.postData.mimeType){for(let e of(u=" final body = <String,String>{\n",n.postData.params||[])){let t=e.value||"",n=e.fileName||"";u+=` '${e.name}': '${n||t}', 86`}u+=" };\n\n"}else"application/octet-stream"===n.postData.mimeType&&(u=` final body = '${n.postData.text}'; 87 88`)}u&&(r+=u);let c=n.method.toLowerCase(),d=Object.keys(o).length>0?", headers: headers":"",p=u?", body: body":"";return r+` final response = await http.${c}(Uri.parse('${s}')${d}${p}); 89 print(response.body); 90}`}}]},{key:"fsharp",title:"F#",default:"httpclient",clients:[{target:"fsharp",client:"httpclient",title:"HttpClient",generate:(e,t)=>{var n,r,a;if(!e)return"";let i=(r=e.url,a=e.queryString,r?a&&0!==a.length?r+(a&&0!==a.length?"?"+a.map(e=>`${e.name}=${e.value}`).join("&"):""):r:""),o="";return o+=(n=e.method,`let httpRequestMessage = new HttpRequestMessage( 91 HttpMethod("${n}"), 92 new Uri("${L(i)}") 93) 94 95`),e.headers&&e.headers.length>0&&(o+=function(e){let t="";for(let n of e)t+=`httpRequestMessage.Headers.Add("${L(n.name??"")}", "${L(n.value??"")}") 96`;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",n=0,r=0;for(let a of e.params)if("BINARY"===a.value){let e=L(a.fileName??"");t+=`let fileStreamContent_${n} = new StreamContent(File.OpenRead("${e}")) 97`,a.contentType&&(t+=`fileStreamContent_${n}.Headers.ContentType <- MediaTypeHeaderValue("${L(a.contentType)}") 98`),t+=`content.Add(fileStreamContent_${n}, "${e}", "${e}") 99`,n++}else{let e=L(a.name??""),n=L(a.value??"");a.contentType?(t+=`let stringContent_${r} = new StringContent("${n}") 100stringContent_${r}.Headers.ContentType <- MediaTypeHeaderValue("${L(a.contentType)}") 101content.Add(stringContent_${r}, "${e}") 102`,r++):t+=`content.Add(new StringContent("${n}"), "${e}") 103`}return t}(e);break;case"application/x-www-form-urlencoded":t+=function(e){let t="let formUrlEncodedContentDictionary = new Dictionary<string, string>()\n";for(let n of e.params)t+=`formUrlEncodedContentDictionary.Add("${L(n.name??"")}", "${L(n.value??"")}") 104`;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") 105`}(e);break;default:var n;let r;t+=(n=e.mimeType,`let content = new StringContent("${L(e.text??"")}", Encoding.UTF8, "${L(n??"")}") 106content.Headers.ContentType <- MediaTypeHeaderValue("${L(n??"")}") 107`)}return t+"httpRequestMessage.Content <- content\n\n"}(e.postData)),e.cookies&&e.cookies.length>0&&e.url?o+=function(e,t){let n="let cookieContainer = CookieContainer()\n";for(let r of e)n+=`cookieContainer.Add(Uri("${L(t)}"), Cookie("${L(r.name??"")}", "${L(r.value??"")}")) 108`;return n+"use handler = new HttpClientHandler()\nhandler.CookieContainer <- cookieContainer\n\n"}(e.cookies,e.url)+"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 n=_(e.method),r=E(A(e.url??"",e.queryString)),a=T(e.headers,e.cookies),i=H(e.postData),o=["package main","","import (",...q(i.imports).map(e=>` ${Z(e)}`),")","","func main() {",` requestUrl := ${B(r)}`,"",...i.setupLines.map(e=>e?` ${e}`:"")];return i.setupLines.length&&o.push(""),o.push(` req, _ := http.NewRequest(${B(n)}, requestUrl, ${i.requestBody})`),o.push(""),i.needsMultipartContentTypeHeader&&o.push(' req.Header.Set("Content-Type", writer.FormDataContentType())'),t?.auth?.username&&t?.auth?.password&&o.push(` req.SetBasicAuth(${B(t.auth.username)}, ${B(t.auth.password)}
108)`),a.forEach(e=>{o.push(` req.Header.Add(${B(e.name)}, ${B(e.value)})`)}),(i.needsMultipartContentTypeHeader||a.length||t?.auth?.username&&t.auth.password)&&o.push(""),o.push(" res, _ := http.DefaultClient.Do(req)"),o.push(""),o.push(" defer res.Body.Close()"),o.push(" body, _ := io.ReadAll(res.Body)"),o.push(""),o.push(" fmt.Println(res)"),o.push(" fmt.Println(string(body))"),o.push(""),o.push("}"),o.join("\n")}}]},{key:"http",title:"HTTP",default:"http1.1",clients:[{target:"http",client:"http1.1",title:"HTTP/1.1",generate(e){let t,n;let r={method:"GET",headers:[],queryString:[],...e};r.method=r.method.toUpperCase();try{n=(t=new URL(r.url||"http://")).pathname+(t.search||"")}catch(e){n=r.url||"/"}let a=t?.hostname||"UNKNOWN_HOSTNAME",i=`${r.method} ${n} HTTP/1.1\r 109`;if(r.queryString.length){let e=r.queryString.map(e=>`${e.name}=${e.value}`).join("&");i=`${r.method} ${n}?${e} HTTP/1.1\r 110`}let o=new Map;if(o.set("Host",a),r.headers.forEach(e=>{o.has(e.name)?o.set(e.name,`${o.get(e.name)}, ${e.value}`):o.set(e.name,e.value)}),r.queryString.length){let e=r.queryString.map(e=>`${e.name}=${e.value}`).join("&");i=`${r.method} ${n}?${e} HTTP/1.1\r 111`}let l="";if(r.postData){if("application/json"===r.postData.mimeType&&r.postData.text)o.set("Content-Type","application/json"),l=r.postData.text;else if("application/octet-stream"===r.postData.mimeType&&r.postData.text)o.set("Content-Type","application/octet-stream"),l=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("&");o.set("Content-Type","application/x-www-form-urlencoded"),l=e}else if("multipart/form-data"===r.postData.mimeType&&r.postData.params){let e="----WebKitFormBoundary7MA4YWxkTrZu0gW";o.set("Content-Type",`multipart/form-data; boundary=${e}`),l=r.postData.params.map(t=>{let n=t.contentType?`Content-Type: ${t.contentType}\r 112`:"";return t.fileName?`--${e}\r 113Content-Disposition: form-data; name="${t.name}"; filename="${t.fileName}"\r 114${n}\r 115`:`--${e}\r 116Content-Disposition: form-data; name="${t.name}"\r 117${n}\r 118${t.value??""}\r 119`}).join("")+`--${e}--\r 120`}}return o.forEach((e,t)=>{i+=`${t}: ${e}\r 121`}),i+=`\r 122${l}`}}]},{key:"java",title:"Java",default:"unirest",clients:[{target:"java",client:"asynchttp",title:"AsyncHttp",generate:e=>$(V,e)},{target:"java",client:"nethttp",title:"java.net.http",generate:e=>$(W,e)},{target:"java",client:"okhttp",title:"OkHttp",generate:e=>$(X,e)},{target:"java",client:"unirest",title:"Unirest",generate:e=>$(Y,e)}]},{key:"js",title:"JavaScript",default:"fetch",clients:[{target:"js",client:"fetch",title:"Fetch",generate(e){let t={method:"GET",...e},n="";t.method=t.method.toUpperCase();let r={method:"GET"===t.method?void 0:t.method},a=S(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:a,params:i}=t.postData;if("application/json"===e&&a)try{r.body=new G(`JSON.stringify(${K(JSON.parse(a))})`)}catch{r.body=a}else if("multipart/form-data"===e&&i)n="const formData = new FormData()\n",i.forEach(e=>{void 0!==e.fileName?n+=`formData.append('${e.name}', new Blob([]), '${e.fileName}') 123`:void 0!==e.value&&(n+=`formData.append('${e.name}', '${e.value}') 124`)}),n+="\n",r.body=new G("formData");else if("application/x-www-form-urlencoded"===e&&i){let e=Object.fromEntries(i.map(e=>[e.name,e.value]));r.body=new G(`new URLSearchParams(${K(e)})`)}else r.body=t.postData.text}let i=Object.keys(r).length?`, ${K(r)}`:"";return`${n}fetch('${t.url}${a}'${i})`}},ei,{target:"js",client:"ofetch",title:"ofetch",generate(e){let t={method:"GET",...e};t.method=t.method.toUpperCase();let n={method:"GET"===t.method?void 0:t.method};t.queryString?.length&&(n.query=C(t.queryString)),t.headers?.length&&(n.headers={}
124,t.headers.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers["Set-Cookie"]=n.headers["Set-Cookie"]?`${n.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{void 0===n[e]&&delete n[e]}),t.postData&&(n.body=t.postData.text,"application/json"===t.postData.mimeType&&(n.body=JSON.parse(n.body)));let r=Object.keys(n).length?`, ${K(n)}`:"";return`import { ofetch } from 'ofetch' 125 126ofetch('${t.url}'${r})`}},{target:"js",client:"jquery",title:"jQuery",generate:e=>$(eP,e)},{target:"js",client:"xhr",title:"XHR",generate:e=>$(eI,e)}]},{key:"kotlin",title:"Kotlin",default:"okhttp",clients:[{target:"kotlin",client:"okhttp",title:"OkHttp",generate:e=>$(eN,e)}]},{key:"node",title:"Node.js",default:"fetch",clients:[{target:"node",client:"fetch",title:"Fetch",generate(e){let t={method:"GET",...e},n="";t.method=t.method.toUpperCase();let r={method:"GET"===t.method?void 0:t.method},a=S(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:a,params:i}=t.postData,o=!1;if("application/json"===e&&a)try{r.body=new G(`JSON.stringify(${K(JSON.parse(a))})`)}catch{r.body=a}else if("multipart/form-data"===e&&i)n="const formData = new FormData()\n",i.forEach(e=>{void 0!==e.fileName?(o||(n=`import fs from 'node:fs' 127 128${n}`,o=!0),n+=`formData.append('${e.name}', new Blob([fs.readFileSync('${e.fileName}')]), '${e.fileName}') 129`):void 0!==e.value&&(n+=`formData.append('${e.name}', '${e.value}') 130`)}),n+="\n",r.body=new G("formData");else if("application/x-www-form-urlencoded"===e&&i){let e=Object.fromEntries(i.map(e=>[e.name,e.value]));r.body=new G(`new URLSearchParams(${K(e)})`)}else r.body=t.postData.text}let i=Object.keys(r).length?`, ${K(r)}`:"";return`${n}fetch('${t.url}${a}'${i})`}},eU,{target:"node",client:"ofetch",title:"ofetch",generate(e){let t={method:"GET",...e};t.method=t.method.toUpperCase();let n={method:"GET"===t.method?void 0:t.method};t.queryString?.length&&(n.query=C(t.queryString)),t.headers?.length&&(n.headers={},t.headers.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers["Set-Cookie"]=n.headers["Set-Cookie"]?`${n.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{void 0===n[e]&&delete n[e]}),t.postData&&(n.body=t.postData.text,"application/json"===t.postData.mimeType&&(n.body=JSON.parse(n.body)));let r=Object.keys(n).length?`, ${K(n)}`:"";return`import { ofetch } from 'ofetch' 131 132ofetch('${t.url}'${r})`}},{target:"node",client:"undici",title:"undici",generate(e){let t={method:"GET",...e};t.method=t.method.toUpperCase();let n={method:"GET"===t.method?void 0:t.method},r=S(t.queryString);t.headers?.length&&(n.headers={},t.headers.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers["Set-Cookie"]=n.headers["Set-Cookie"]?`${n.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{void 0===n[e]&&delete n[e]}),t.postData&&(n.body=t.postData.text,"application/json"===t.postData.mimeType&&(n.body=new G(`JSON.stringify(${K(JSON.parse(n.body))})`)));let a=Object.keys(n).length?`, ${K(n)}`:"";return`import { request } from 'undici' 133 134const { statusCode, body } = await request('${t.url}${r}'${a})`}}]},{key:"objc",title:"Objective-C",default:"nsurlsession",clients:[{target:"objc",client:"nsurlsession",title:"NSURLSession",generate:e=>$(ej,e)}]},{key:"ocaml",title:"OCaml",default:"cohttp",clients:[{target:"ocaml",client:"cohttp",title:"Cohttp",generate:e=>$(eL,e)}]},{key:"php",title:"PHP",default:"curl",clients:[{target:"php",client:"curl",title:"cURL",generate(e,t){let n={method:"GET",...e};n.method=n.method.toUpperCase();let r=[],a=!1,i=n.queryString?.length?"?"+n.queryString.map(e=>`${e.name}=${e.value}`).join("&"):"",o=`${n.url}${i}`;r.push(`$ch = curl_init("${o}");
134`),r.push(""),"POST"===n.method&&r.push("curl_setopt($ch, CURLOPT_POST, true);"),t?.auth?.username&&t?.auth?.password&&r.push(`curl_setopt($ch, CURLOPT_USERPWD, '${t.auth.username}:${t.auth.password}');`);let l=[...n.headers||[]],s=()=>l.some(e=>"content-type"===e.name.toLowerCase());if(n.postData&&("application/x-www-form-urlencoded"===n.postData.mimeType&&n.postData.params&&!s()?l.push({name:"Content-Type",value:"application/x-www-form-urlencoded"}):"application/octet-stream"!==n.postData.mimeType||s()||l.push({name:"Content-Type",value:"application/octet-stream"})),l.length){let e=l.map(e=>`'${e.name}: ${e.value}'`);r.push(`curl_setopt($ch, CURLOPT_HTTPHEADER, [${e.join(", ")}]);`);let t=l.find(e=>"accept-encoding"===e.name.toLowerCase());t&&/gzip|deflate/.test(t.value)&&r.push("curl_setopt($ch, CURLOPT_ENCODING, '');")}if(n.cookies?.length){let e=n.cookies.map(e=>{let t=encodeURIComponent(e.name),n=encodeURIComponent(e.value);return`${t}=${n}`}).join("; ");r.push(`curl_setopt($ch, CURLOPT_COOKIE, '${e}');`)}if(n.postData){if("application/json"===n.postData.mimeType){if(n.postData.text)try{let e=JSON.parse(n.postData.text),t=ez(e);r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${t}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text}');`)}}else if("multipart/form-data"===n.postData.mimeType&&n.postData.params)a=!0,r.push("$mime = curl_mime_init($ch);"),n.postData.params.forEach((e,t)=>{let n=`$part${t}`;r.push(`${n} = curl_mime_addpart($mime);`),r.push(`curl_mime_name(${n}, '${e.name}');`),void 0!==e.fileName?r.push(`curl_mime_filedata(${n}, '${e.fileName}');`):void 0!==e.value&&r.push(`curl_mime_data(${n}, '${e.value}');`),e.contentType&&r.push(`curl_mime_type(${n}, '${e.contentType}');`)}),r.push("curl_setopt($ch, CURLOPT_MIMEPOST, $mime);");else if("application/x-www-form-urlencoded"===n.postData.mimeType&&n.postData.params){let e=n.postData.params.map(e=>{let t=encodeURIComponent(e.name),n=e.value?encodeURIComponent(e.value):"";return`${t}=${n}`}).join("&");r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${e}');`)}else if("application/octet-stream"===n.postData.mimeType)r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text||""}');`);else if(n.postData.text)try{let e=JSON.parse(n.postData.text),t=ez(e);r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${t}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text}');`)}}return r.push(""),r.push("curl_exec($ch);"),a&&r.push("curl_mime_free($mime);"),r.push(""),r.push("curl_close($ch);"),r.join("\n").replace(/\n\n\n/g,"\n\n")}},{target:"php",client:"guzzle",title:"Guzzle",generate(e,t){if(!e)return"";let n={},r=(e.method||"GET").toUpperCase(),a=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]}),n.headers=t}if(e.queryString&&e.queryString.length>0&&(n.query=C(e.queryString)),e.cookies&&e.cookies.length>0){let t={};e.cookies.forEach(e=>{t[e.name]=e.value}),n.cookies=t}if(t?.auth?.username&&t.auth.password&&(n.auth=[t.auth.username,t.auth.password]),e.postData){if("application/json"===e.postData.mimeType)try{n.json=JSON.parse(e.postData.text||"{}")}catch(t){n.body=e.postData.text}else if("multipart/form-data"===e.postData.mimeType){if(e.postData.params)n.multipart=e.postData.params.map(e=>{let t={name:e.name,contents:e.fileName?new eB(`fopen('${e.fileName}', 'r')`):e.value||""};return e.contentType&&(t.headers={"Content-Type":e.contentType}),t});else if(e.postData.text)try{n.form_params=JSON.parse(e.postData.text)}catch(t){n.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||""}),n.form_params=t}}else n.body=e.postData.text}e.headers&&Array.isArray(e.headers)&&e.headers.some(e=>"Accept-Encoding"===e.name&&e.value.includes("gzip"))&&(n.decode_content=!0);let i="$client = new GuzzleHttp\\Client();\n\n";if(Object.keys(n).length>0){let e=ez(n);i+=`$response = $client->request('${r}', '${a}', ${e});`}else i+=`$response = $client->request('${r}', '${a}');`;return i}},{target:"php",client:"laravel",title:"Laravel HTTP Client",generate(e,t){let n;let r={method:"GET",...e};r.method=r.method.toUpperCase();let a=S(r.queryString),i=`${r.url??""}${a}`,o=[];if(t?.auth?.username&&t.auth.password&&o.push(`withBasicAuth(${eQ(t.auth.username)}, ${eQ(t.auth.password)})`),r.headers?.length){let e={};
134r.headers.forEach(t=>{D(e,t.name,t.value)}),o.push(`withHeaders(${ez(eH(e))})`)}if(r.cookies?.length){let e={};r.cookies.forEach(t=>{D(e,t.name,t.value)}),o.push(`withCookies(${ez(eH(e))}, ${eQ(eq(r.url??""))})`)}if(r.postData){if("application/json"===r.postData.mimeType){if(r.postData.text)try{n=JSON.parse(r.postData.text)}catch{o.push(`withBody(${eQ(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=>{D(e,t.name,t.value??"")}),o.push("asForm()"),n=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=[eQ(t.name),`file_get_contents(${eQ(t.fileName)})`,eQ(t.fileName)];t.contentType&&e.push(ez(eH({"Content-Type":t.contentType}))),o.push(`attach(${e.join(", ")})`)}else t.contentType?o.push(`attach(${eQ(t.name)}, ${eQ(t.value??"")}, null, ${ez(eH({"Content-Type":t.contentType}))})`):D(e,t.name,t.value??"")}),Object.keys(e).length>0&&(n=e)}else if("application/octet-stream"===r.postData.mimeType)o.push(`withBody(${eQ(r.postData.text??"")}, 'application/octet-stream')`);else if(r.postData.text)try{n=JSON.parse(r.postData.text)}catch{o.push(`withBody(${eQ(r.postData.text)}, ${eQ(r.postData.mimeType||"text/plain")})`)}}let l=r.method.toLowerCase(),s=["delete","get","head","patch","post","put"].includes(l)?void 0!==n&&"head"!==l?`${l}(${eQ(i)}, ${ez(eH(n),1)})`:`${l}(${eQ(i)})`:void 0!==n?`send(${eQ(r.method)}, ${eQ(i)}, ${ez(eH(n),1)})`:`send(${eQ(r.method)}, ${eQ(i)})`,u=o.length>0?[`Http::${o[0]}`,...o.slice(1).map(e=>` ->${e}`),` ->${s}`].join("\n"):`Http::${s}`;return`use Illuminate\\Support\\Facades\\Http; 135 136$response = ${u};`}}]},{key:"powershell",title:"PowerShell",default:"webrequest",clients:[{target:"powershell",client:"webrequest",title:"Invoke-WebRequest",generate:e=>$(eX,e)},{target:"powershell",client:"restmethod",title:"Invoke-RestMethod",generate:e=>$(eW,e)}]},{key:"python",title:"Python",default:"python3",clients:[{target:"python",client:"python3",title:"http.client",generate(e,t){let n=x({url:"https://example.com",...e}),r=e4(n.url??"https://example.com"),a=e8(r,n.queryString),i=`${r.pathname||"/"}${a}`,o=n.headers?.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{})??{};if(n.cookies?.length){let e=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; ");o.Cookie?o.Cookie=`${o.Cookie}; ${e}`:o.Cookie=e}if(t?.auth?.username&&t.auth.password){let e=e2(`${t.auth.username}:${t.auth.password}`);o.Authorization=`Basic ${e}`}let l=new Set(["import http.client"]),s=[],u=e3(n,o,l);s.push(...u.payloadLines),Object.keys(o).length&&s.push(`headers = ${eG(o,0)}`);let c=[JSON.stringify(n.method),JSON.stringify(i)];u.payloadVariable&&c.push(`body=${u.payloadVariable}`),Object.keys(o).length&&c.push("headers=headers");let d=c.length<=2?`conn.request(${c.join(", ")})`:`conn.request( 137 ${c.join(",\n ")}, 138)`;return[...l,"",`conn = http.client.${"https:"===r.protocol?"HTTPSConnection":"HTTPConnection"}(${JSON.stringify(r.host)})`,...s.length?["",...s]:[],"",d,"","response = conn.getresponse()","print(response.read().decode())","","conn.close()"].join("\n")}},{target:"python",client:"requests",title:"Requests",generate:(e,t)=>eK("requests",e,t)},{target:"python",client:"aiohttp",title:"aiohttp",generate(e,t){let n={url:"https://example.com",method:"get",...e},r=n.method?.toLowerCase()??"get",a=[],i=[],o=[];if(n.headers?.length){let e=n.headers.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{});a.push(`headers=${eG(e)}`)}if(n.queryString?.length&&a.push(`params=${eG(C(n.queryString))}`),n.cookies?.length){let e=Object.fromEntries(n.cookies.map(e=>[e.name,e.value]));i.push(`cookies=${eG(e)}`)}if(t?.auth?.username&&t?.auth?.password&&i.push(`auth=aiohttp.BasicAuth(${JSON.stringify(t.auth.username)}, ${JSON.stringify(t.auth.password)})`),n.postData){let{mimeType:e,text:t,params:r}=n.postData;if("application/json"===e&&t)try{a.push(`json=${eG(JSON.parse(t))}`)}catch{a.push(`data=${JSON.stringify(t)}`)}
138else if("application/octet-stream"===e&&t)a.push(`data=b"${t}"`);else if("multipart/form-data"===e&&r)o.push("data = aiohttp.FormData()"),r.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)}`),o.push(`data.add_field(${t.join(", ")})`);return}if(e.contentType){o.push(`data.add_field(${JSON.stringify(e.name)}, ${JSON.stringify(e.value??"")}, content_type=${JSON.stringify(e.contentType)})`);return}o.push(`data.add_field(${JSON.stringify(e.name)}, ${JSON.stringify(e.value??"")})`)}),a.push("data=data");else if("application/x-www-form-urlencoded"===e&&r){let e={};r.forEach(t=>{D(e,t.name,t.value??"")}),a.push(`data=${eG(e)}`)}else t&&a.push(`data=${JSON.stringify(t)}`)}let l=0===i.length?"async with aiohttp.ClientSession() as session:":`async with aiohttp.ClientSession( 139 ${i.join(",\n ")} 140) as session:`,s=[...o,e0("await session",r,n.url??"",a)];return`${l} 141${eJ(s.join("\n"))}`}},{target:"python",client:"httpx_sync",title:"HTTPX (Sync)",generate:(e,t)=>eK("httpx",e,t)},{target:"python",client:"httpx_async",title:"HTTPX (Async)",generate(e,t){let n=eK("await client",e,t);return n=n.split("\n").map(e=>""===e.trim()?e:" "+e).join("\n"),`async with httpx.AsyncClient() as client: 142${n}`}}]},{key:"r",title:"R",default:"httr2",clients:[{target:"r",client:"httr2",title:"httr2",generate(e,t){let n={url:"https://example.com",method:"GET",...e},r=n.method.toUpperCase(),a=["library(httr2)",""];a.push(`response <- request("${n.url}") |>`);let i=[];"GET"!==r&&i.push(` req_method("${r}")`);let o={};if(n.headers?.length)for(let e of n.headers)o[e.name]=e.value;if(n.cookies?.length){let e=n.cookies.map(e=>`${e.name}=${e.value}`).join("; ");o.Cookie=e}if(t?.auth?.username&&t?.auth?.password&&i.push(` req_auth_basic("${t.auth.username}", "${t.auth.password}")`),Object.keys(o).length){let e=Object.entries(o);if(1===e.length){let[t,n]=e[0];i.push(` req_headers("${t}" = "${n}")`)}else{let t=e.map(([e,t])=>` "${e}" = "${t}"`).join(",\n");i.push(` req_headers( 143${t} 144 )`)}}if(n.queryString?.length){let e=Object.entries(C(n.queryString));if(1===e.length){let[t,n]=e[0];if(Array.isArray(n)){let e=n.map(e=>`"${e}"`).join(", ");i.push(` req_url_query("${t}" = c(${e}))`)}else i.push(` req_url_query("${t}" = "${n}")`)}else{let t=e.map(([e,t])=>{if(Array.isArray(t)){let n=t.map(e=>`"${e}"`).join(", ");return` "${e}" = c(${n})`}return` "${e}" = "${t}"`}).join(",\n");i.push(` req_url_query( 145${t} 146 )`)}}if(n.postData){let{mimeType:e,text:t,params:r}=n.postData;if("application/json"===e&&t){let e=e5(t," ");i.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");i.push(` req_body_multipart( 147${e} 148 )`)}else if("application/x-www-form-urlencoded"===e&&r){let e=r.map(e=>` "${e.name}" = "${e.value??""}"`).join(",\n");i.push(` req_body_form( 149${e} 150 )`)}else t&&i.push(` req_body_raw("${t}", type = "${e??"application/octet-stream"}")`)}return i.push(" req_perform()"),a[a.length-1]=`response <- request("${n.url}") |>`,a.push(i.join(" |>\n")),a.push(""),a.push("resp_body_string(response)"),a.join("\n")}}]},{key:"ruby",title:"Ruby",default:"native",clients:[{target:"ruby",client:"native",title:"net::http",generate(e,t){let n={method:"GET",...e};n.method=n.method.toUpperCase();let r=S(n.queryString),a=ti(`${n.url??""}${r}`),i=["require 'uri'","require 'net/http'",""];ta(i,n.method,!!n.postData?.text),i.push(`url = URI("${e9(a)}")`,""),i.push("http = Net::HTTP.new(url.host, url.port)"),a.startsWith("https://")&&i.push("http.use_ssl = true"),i.push("");let o=tr(n.method);if(i.push(`request = Net::HTTP::${o}.new(url)`),t?.auth?.username&&t?.auth?.password){let e=e9(t.auth.username),n=e9(t.auth.password);i.push(`request.basic_auth("${e}", "${n}")`)}if(n.headers?.length&&n.headers.forEach(e=>{i.push(`request["${e9(e.name)}"] = '${te(e.value)}'`)}),n.cookies?.length){let e=n.cookies.map(e=>`${tt(e.name)}
150=${tt(e.value)}`).join("; ");i.push(`request["Cookie"] = '${te(e)}'`)}if(n.postData){let{mimeType:e,text:t,params:r}=n.postData;if("application/json"===e&&void 0!==t)try{let e=JSON.parse(t),n=JSON.stringify(e,null,2);i.push("request.body = <<~JSON"),i.push(n),i.push("JSON")}catch{i.push(`request.body = ${JSON.stringify(t)}`)}else if("application/x-www-form-urlencoded"===e&&r){let e=r.map(e=>`${tt(e.name)}=${tt(e.value??"")}`).join("&");i.push(`request.body = '${te(e)}'`)}else"multipart/form-data"===e&&r?(i.push("form_data = []"),r.forEach(e=>{let t=te(e.name);if(void 0!==e.fileName){let n=te(e.fileName);if(e.contentType){let r=te(e.contentType);i.push(`form_data << ['${t}', File.open('${n}'), { filename: '${n}', content_type: '${r}' }]`)}else i.push(`form_data << ['${t}', File.open('${n}')]`)}else if(e.contentType){let n=te(e.value??""),r=te(e.contentType);i.push(`form_data << ['${t}', '${n}', { content_type: '${r}' }]`)}else{let n=te(e.value??"");i.push(`form_data << ['${t}', '${n}']`)}}),i.push("request.set_form(form_data, 'multipart/form-data')")):"application/octet-stream"===e?i.push(`request.body = ${JSON.stringify(t??"")}`):void 0!==t&&i.push(`request.body = ${JSON.stringify(t)}`)}return i.push("","response = http.request(request)","puts response.read_body"),i.join("\n")}}]},{key:"rust",title:"Rust",default:"reqwest",clients:[{target:"rust",client:"reqwest",title:"reqwest",generate(e,t){var n;if(!e)return"";let r=x(e),a=S(r.queryString),i=(n=r.url||"",`${n}${a}`),o=function(e){let t={};if(e.headers)for(let n of e.headers)n.value&&!/[; ]/.test(n.name)&&(t[n.name]=n.value);if(e.cookies&&e.cookies.length>0){let n=e.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; ");t.Cookie=n}return t}(r),l=[],s=tc(t?.auth);s&&l.push(s),l.push(...td(o));let u=tp(r.postData);return u&&l.push(u),tm(i,r.method,l)}}]},{key:"shell",title:"Shell",default:"curl",clients:[{target:"shell",client:"curl",title:"Curl",generate(e,t){let n={method:"GET",...e};n.method=n.method.toUpperCase();let r=["curl"],a=n.queryString?.length?"?"+n.queryString.map(e=>`${e.name}=${e.value}`).join("&"):"",i=`${n.url}${a}`,o=/[\s<>[\]{}|\\^%$]/.test(i),l=a||o?`'${i}'`:i;if(r[0]=`curl ${l}`,"GET"!==n.method&&r.push(`--request ${n.method}`),t?.auth?.username&&t?.auth?.password){let e=tf(`${t.auth.username}:${t.auth.password}`);r.push(`--user '${e}'`)}if(n.headers?.length){n.headers.forEach(e=>{let t=tf(`${e.name}: ${e.value}`);r.push(`--header '${t}'`)});let e=n.headers.find(e=>"accept-encoding"===e.name.toLowerCase());e&&/gzip|deflate/.test(e.value)&&r.push("--compressed")}if(n.cookies?.length){let e=tf(n.cookies.map(e=>{let t=encodeURIComponent(e.name),n=encodeURIComponent(e.value);return`${t}=${n}`}).join("; "));r.push(`--cookie '${e}'`)}if(n.postData){if("application/json"===n.postData.mimeType){if(n.postData.text)try{let e=JSON.parse(n.postData.text),t=JSON.stringify(e,null,2),a=tf(t);r.push(`--data '${a}'`)}catch{let e=tf(n.postData.text??"");r.push(`--data '${e}'`)}}else if("application/octet-stream"===n.postData.mimeType){let e=tf(n.postData.text??"");r.push(`--data-binary '${e}'`)}else if("application/x-www-form-urlencoded"===n.postData.mimeType&&n.postData.params)n.postData.params.forEach(e=>{let t=tf(e.value??""),n=tf(encodeURIComponent(e.name));r.push(`--data-urlencode '${n}=${t}'`)});else if("multipart/form-data"===n.postData.mimeType&&n.postData.params)n.postData.params.forEach(e=>{let t=tf(e.name),n=e.contentType?`;type=${e.contentType}`:"";if(void 0!==e.fileName){let a=tf(`${e.fileName}${n}`);r.push(`--form '${t}=@${a}'`)}else{let a=tf(`${e.value??""}${n}`);r.push(`--form '${t}=${a}'`)}});else try{let e=JSON.parse(n.postData.text??""),t=JSON.stringify(e,null,2),a=tf(t);r.push(`--data '${a}'`)}catch{let e=tf(n.postData.text??"");r.push(`--data '${e}'`)}}return r.join(" \\\n ")}},{target:"shell",client:"wget",title:"Wget",generate:e=>$(ty,e)},{target:"shell",client:"httpie",title:"HTTPie",generate:e=>$(tv,e)}]},{key:"swift",title:"Swift",default:"nsurlsession",clients:[{target:"swift",client:"nsurlsession",title:"NSURLSession",generate(e,t){if(!e)return"";let n=_(e.method),r=E(A(e.url??"",e.queryString)),a=T(e.headers,e.cookies),i=["import Foundation","",`var request = URLRequest(url: URL(string: ${tb(r)})!)`];if(i.push(`request.httpMethod = ${tb(n)}
150`),a.forEach(e=>{i.push(`request.setValue(${tb(e.value)}, forHTTPHeaderField: ${tb(e.name)})`)}),t?.auth?.username&&t?.auth?.password&&(i.push(`let credentials = ${tb(`${t.auth.username}:${t.auth.password}`)}`),i.push("let encodedCredentials = Data(credentials.utf8).base64EncodedString()"),i.push('request.setValue("Basic \\(encodedCredentials)", forHTTPHeaderField: "Authorization")')),e.postData){let{mimeType:t,text:n,params:r}=e.postData;if("application/json"===t&&void 0!==n){let e=tw(n),t=tO(e);i.push(`let jsonBody = ${t}"""`),i.push(e),i.push(`"""${t}`),i.push("request.httpBody = jsonBody.data(using: .utf8)")}else if("application/x-www-form-urlencoded"===t&&r?.length){let e=r.map(e=>`${tk(e.name)}=${tk(e.value??"")}`).join("&");i.push(`let formBody = ${tb(e)}`),i.push("request.httpBody = formBody.data(using: .utf8)")}else"multipart/form-data"===t&&r?.length?(i.push(...tS(r)),i.push('request.setValue("multipart/form-data; boundary=\\(boundary)", forHTTPHeaderField: "Content-Type")'),i.push("request.httpBody = body")):"application/octet-stream"===t?(i.push(`let binaryBody = Data(${tb(n??"")}.utf8)`),i.push("request.httpBody = binaryBody")):void 0!==n&&(i.push(`let rawBody = ${tb(n)}`),i.push("request.httpBody = rawBody.data(using: .utf8)"))}return i.push(""),i.push("let (data, response) = try await URLSession.shared.data(for: request)"),i.push(""),i.push("guard let httpResponse = response as? HTTPURLResponse,"),i.push(" 200..<300 ~= httpResponse.statusCode else {"),i.push(" throw URLError(.badServerResponse)"),i.push("}"),i.push(""),i.push('print(String(data: data, encoding: .utf8) ?? "")'),i.join("\n")}}]}];function tE(){function e(e,t){return t_.find(({key:t})=>t===e)?.clients.find(e=>e.client===t)}return{print:(t,n,r)=>e(t,n)?.generate(r),clients:()=>t_,plugins:()=>t_.flatMap(({key:e,clients:t})=>t.map(t=>({target:e,client:t.client}))),findPlugin:e,hasPlugin:(t,n)=>!!e(t,n)}}},52234:function(e,t,n){"use strict";n.d(t,{Q:function(){return r}});var r,a=n(30087);!function(e){function t(t){let n=(0,a.ci)(t);return e.AllowArrayObject?n:n&&!(0,a.Yl)(t)}e.InstanceMode="default",e.ExactOptionalPropertyTypes=!1,e.AllowArrayObject=!1,e.AllowNaN=!1,e.AllowNullVoid=!1,e.IsExactOptionalProperty=function(t,n){return e.ExactOptionalPropertyTypes?n in t:void 0!==t[n]},e.IsObjectLike=t,e.IsRecordLike=function(e){return t(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)},e.IsNumberLike=function(t){return e.AllowNaN?(0,a.qA)(t):Number.isFinite(t)},e.IsVoidLike=function(t){let n=(0,a.fk)(t);return e.AllowNullVoid?n||null===t:n}}(r||(r={}))},38953:function(e,t,n){"use strict";n.d(t,{o:function(){return a}});var r=n(58153);function a(e){return function e(t){return r.Yl(t)?t.map(t=>e(t)):r.P9(t)?new Date(t.getTime()):r.KJ(t)?new Uint8Array(t):r.AE(t)?new RegExp(t.source,t.flags):r.ci(t)?function(t){let n={};for(let r of Object.getOwnPropertyNames(t))n[r]=e(t[r]);for(let r of Object.getOwnPropertySymbols(t))n[r]=e(t[r]);return n}(t):t}(e)}},20934:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});var r=n(52234),a=n(58153),i=n(38953);function o(e,t){let n=void 0!==t?{...t,...e}:e;switch(r.Q.InstanceMode){case"freeze":return function e(t){return a.Yl(t)?globalThis.Object.freeze(t).map(t=>e(t)):a.P9(t)?t:a.KJ(t)?t:a.AE(t)?t:a.ci(t)?function(t){let n={};for(let r of Object.getOwnPropertyNames(t))n[r]=e(t[r]);for(let r of Object.getOwnPropertySymbols(t))n[r]=e(t[r]);return globalThis.Object.freeze(n)}(t):t}(n);case"clone":return(0,i.o)(n);default:return n}}},31661:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});class r extends Error{constructor(e){super(e)}}},40826:function(e,t,n){"use strict";n.d(t,{X:function(){return function e(t){return"Intersect"===t[r.hY]?t.allOf.every(t=>e(t)):"Union"===t[r.hY]?t.anyOf.some(t=>e(t)):"Not"===t[r.hY]?!e(t.not):"Undefined"===t[r.hY]}}});var r=n(67792)},10034:function(e,t,n){"use strict";n.d(t,{AE:function(){return $},GG:function(){return c},GP:function(){return N},Gs:function(){return O},Js:function(){return m},NN:function(){return D},NT:function(){return d},Uy:function(){return L},Vr:function(){return f},Wr:function(){return l},XV:function(){return P},Xp:function(){return o},Yl:function(){return u},Yr:function(){return U},_L:function(){return i},aH:function(){return S},bu:function(){return x},cX:function(){return T},ce:function(){return k},ci:function(){return A},fk:function(){return R},fs:function(){return s},hG:function(){return _},jI:function(){return v},l8:function(){return y},me:function(){return j},nu:function(){return C},qA:function(){return E},sP:function(){return I},si:function(){return p},tq:function(){return w},uK:function(){return g},vC:function(){return h},zH:function(){return M}});var r=n(58153),a=n(67792);function i(e){return r.ci(e)&&"Readonly"===e[a.v0]}function o(e){return r.ci(e)&&"Optional"===e[a.J4]}function l(e){return b(e,"Any")}function s(e){return b(e,"Argument")}function u(e){return b(e,"Array")}function c(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 f(e){return b(e,"Constructor")}function h(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.ci(e)&&a.hY in e&&e[a.hY]===t}function O(e){return r.si(e)||r.qA(e)||r.XV(e)}function w(e){return b(e,"Literal")}function k(e){return b(e,"MappedKey")}function x(e){return b(e,"MappedResult")}function S(e){return b(e,"Never")}function _(e){return b(e,"Null")}function E(e){return b(e,"Number")}function A(e){return b(e,"Object")}function T(e){return b(e,"Promise")}function D(e){return b(e,"Record")}function C(e){return b(e,"Ref")}function $(e){return b(e,"RegExp")}function P(e){return b(e,"String")}function I(e){return b(e,"Symbol")}function N(e){return b(e,"TemplateLiteral")}function U(e){return r.ci(e)&&a.M4 in e}function M(e){return b(e,"Tuple")}function R(e){return b(e,"Undefined")}function j(e){return b(e,"Union")}function L(e){return l(e)||s(e)||u(e)||p(e)||d(e)||c(e)||m(e)||f(e)||b(e,"Date")||h(e)||g(e)||v(e)||y(e)||w(e)||k(e)||x(e)||S(e)||b(e,"Not")||_(e)||E(e)||A(e)||T(e)||D(e)||C(e)||$(e)||P(e)||I(e)||N(e)||b(e,"This")||M(e)||R(e)||j(e)||b(e,"Uint8Array")||b(e,"Unknown")||b(e,"Unsafe")||b(e,"Void")||r.ci(e)&&a.hY in e&&r.XV(e[a.hY])}},58153:function(e,t,n){"use strict";function r(e){return p(e)&&!a(e)&&!g(e)&&Symbol.asyncIterator in e}function a(e){return Array.isArray(e)}function i(e){return"bigint"==typeof e}function o(e){return"boolean"==typeof e}function l(e){return e instanceof globalThis.Date}function s(e){return"function"==typeof e}function u(e){return p(e)&&!a(e)&&!g(e)&&Symbol.iterator in e}function c(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 f(e){return"string"==typeof e}function h(e){return"symbol"==typeof e}function g(e){return e instanceof globalThis.Uint8Array}function v(e){return void 0===e}n.d(t,{AE:function(){return m},GG:function(){return r},KJ:function(){return g},NT:function(){return i},P9:function(){return l},XV:function(){return f},Yl:function(){return a},ci:function(){return p},fk:function(){return v},hG:function(){return c},l8:function(){return u},qA:function(){return d},sP:function(){return h},si:function(){return o},vC:function(){return s}})},6385:function(e,t,n){"use strict";n.d(t,{F:function(){return o},X:function(){return s}});var r=n(15011),a=n(10034);function i(e){let t=[];for(let n of e)t.push(o(n));return t}function o(e){var t,n;return(0,a.jI)(e)?function(e){let t=i(e);return(0,r.Nz)(t)}(e.allOf):(0,a.me)(e)?function(e){let t=i(e);return(0,r.Zf)(t)}(e.anyOf):(0,a.zH)(e)?(e.items??[]).map((e,t)=>t.toString()):(0,a.Yl)(e)?(e.items,["[number]"]):(0,a.ci)(e)?(t=e.properties,globalThis.Object.getOwnPropertyNames(t)):(0,a.NN)(e)?(n=e.patternProperties,l?globalThis.Object.getOwnPropertyNames(n).map(e=>"^"===e[0]&&"$"===e[e.length-1]?e.slice(1,e.length-1):e):[]):[]}let l=!1;function s(e){l=!0;
150let t=o(e);l=!1;let n=t.map(e=>`(${e})`);return`^(${n.join("|")})$`}},23873:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(20934),a=n(67792);function i(e){return(0,r.q)({[a.hY]:"Never",not:{}},e)}},32658:function(e,t,n){"use strict";n.d(t,{BT:function(){return a},dX:function(){return i}});let r=new Map;function a(e){return r.has(e)}function i(e){return r.get(e)}},91168:function(e,t,n){"use strict";n.d(t,{BT:function(){return a},dX:function(){return i}});let r=new Map;function a(e){return r.has(e)}function i(e){return r.get(e)}},15011:function(e,t,n){"use strict";function r(e,t){return e.includes(t)}function a(e){return[...new Set(e)]}function i(e){var t,n;return 1===e.length?e[0]:e.length>1?(t=e.slice(1),n=e[0],t.reduce((e,t)=>e.filter(e=>t.includes(e)),n)):[]}function o(e){let t=[];for(let n of e)t.push(...n);return t}n.d(t,{Lo:function(){return r},Nz:function(){return o},Zf:function(){return i},e$:function(){return a}})},67792:function(e,t,n){"use strict";n.d(t,{J4:function(){return i},M4:function(){return r},hY:function(){return l},kW:function(){return o},v0:function(){return a}});let r=Symbol.for("TypeBox.Transform"),a=Symbol.for("TypeBox.Readonly"),i=Symbol.for("TypeBox.Optional"),o=Symbol.for("TypeBox.Hint"),l=Symbol.for("TypeBox.Kind")},65515:function(e,t,n){"use strict";n.d(t,{S2:function(){return l},y7:function(){return o}});var r=n(96467),a=n(31661);class i extends a.B{}function o(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=>o(e)):"or"===e.type?e.expr.every(e=>o(e)):"const"===e.type||(()=>{throw new i("Unknown expression type")})()))}function l(e){return o((0,r.Zl)(e.pattern))}},57777:function(e,t,n){"use strict";n.d(t,{Zk:function(){return l},fe:function(){return s}});var r=n(65515),a=n(96467),i=n(31661);class o extends i.B{}function*l(e){return"and"===e.type?yield*function*(e){return yield*function* e(t){if(1===t.length)return yield*t[0];for(let n of t[0])for(let r of e(t.slice(1)))yield`${n}${r}`}(e.expr.map(e=>[...l(e)]))}(e):"or"===e.type?yield*function*(e){for(let t of e.expr)yield*l(t)}(e):"const"===e.type?yield*function*(e){return yield e.const}(e):(()=>{throw new o("Unknown expression")})()}function s(e){let t=(0,a.Zl)(e.pattern);return(0,r.y7)(t)?[...l(t)]:[]}},96467:function(e,t,n){"use strict";n.d(t,{Zl:function(){return s}});var r=n(31661);class a extends r.B{}function i(e,t,n){return e[t]===n&&92!==e.charCodeAt(t-1)}function o(e,t){return i(e,t,"(")}function l(e,t){return i(e,t,")")}function s(e){return function e(t){return!function(e){if(!(o(e,0)&&l(e,e.length-1)))return!1;let t=0;for(let n=0;n<e.length;n++)if(o(e,n)&&(t+=1),l(e,n)&&(t-=1),0===t&&n!==e.length-1)return!1;return!0}(t)?!function(e){let t=0;for(let n=0;n<e.length;n++)if(o(e,n)&&(t+=1),l(e,n)&&(t-=1),i(e,n,"|")&&0===t)return!0;return!1}(t)?!function(e){for(let t=0;t<e.length;t++)if(o(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 n=[];for(let r=0;r<t.length;r++)if(o(t,r)){let[i,s]=function(e,t){if(!o(e,t))throw new a("TemplateLiteralParser: Index must point to open parens");let n=0;for(let r=t;r<e.length;r++)if(o(e,r)&&(n+=1),l(e,r)&&(n-=1),0===n)return[t,r];throw new a("TemplateLiteralParser: Unclosed group parens in expression")}(t,r),u=t.slice(i,s+1);n.push(e(u)),r=s}else{let[a,i]=function(e,t){for(let n=t;n<e.length;n++)if(o(e,n))return[t,n];return[t,e.length]}(t,r),l=t.slice(a,i);l.length>0&&n.push(e(l)),r=i-1}return 0===n.length?{type:"const",const:""}:1===n.length?n[0]:{type:"and",expr:n}}(t):function(t){let[n,r]=[0,0],a=[];for(let s=0;s<t.length;s++)if(o(t,s)&&(n+=1),l(t,s)&&(n-=1),i(t,s,"|")&&0===n){let n=t.slice(r,s);n.length>0&&a.push(e(n)),r=s+1}let s=t.slice(r);return(s.length>0&&a.push(e(s)),0===a.length)?{type:"const",const:""}:1===a.length?a[0]:{type:"or",expr:a}}(t):e(t.slice(1,t.length-1))}(e.slice(1,e.length-1))}},76790:function(e,t,n){"use strict";n.d(t,{Dy:function(){return ni}});var r,a,i={};n.r(i),n.d(i,{Any:function(){return s},Argument:function(){return u},Array:function(){return c},AsyncIterator:function(){return d},Awaited:function(){return k},BigInt:function(){return x},Boolean:function(){return S},Capitalize:function(){return tI},Composite:function(){return z},Const:function(){return et},Constructor:function(){return en},ConstructorParameters:function(){return er},Date:function(){return F},Enum:function(){return ea},Exclude:function(){return function e(t,n,r={}){return(0,f.GP)(t)?(0,o.q)(e(el(t),n),r):(0,f.bu)(t)?(0,o.q)(E(function(t,n){let r={};for(let a of globalThis.Object.getOwnPropertyNames(t))r[a]=e(t[a],n);return r}(t.properties,n)),r):(0,o.q)((0,f.me)(t)?function(e,t){let n=e.filter(e=>tp(e,t)===a.False);return 1===n.length?n[0]:y(n)}(t.anyOf,n):tp(t,n)!==a.False?(0,m.D)():t,r)}},Extends:function(){return function e(t,n,r,i,l){return(0,f.bu)(t)?E(function(t,n,r,a,i){let o={};for(let l of globalThis.Object.getOwnPropertyNames(t))o[l]=e(t[l],n,r,a,(0,N.o)(i));return o}(t.properties,n,r,i,l)):(0,f.ce)(t)?(0,o.q)(E(t.keys.reduce((t,a)=>({...t,[a]:e(H(a),n,r,i,(0,N.o)(l))}),{}))):(0,o.q)(function(e,t,n,r){let i=tp(e,t);return i===a.Union?y([n,r]):i===a.True?n:r}(t,n,r,i),l)}},Extract:function(){return function e(t,n,r){return(0,f.GP)(t)?(0,o.q)(e(el(t),n),r):(0,f.bu)(t)?(0,o.q)(E(function(t,n){let r={};for(let a of globalThis.Object.getOwnPropertyNames(t))r[a]=e(t[a],n);return r}(t.properties,n)),r):(0,o.q)((0,f.me)(t)?function(e,t){let n=e.filter(e=>tp(e,t)!==a.False);return 1===n.length?n[0]:y(n)}(t.anyOf,n):tp(t,n)!==a.False?t:(0,m.D)(),r)}},Function:function(){return Q},Index:function(){return j},InstanceType:function(){return tm},Instantiate:function(){return tS},Integer:function(){return t_},Intersect:function(){return g},Iterator:function(){return tR},KeyOf:function(){return tj}
150,Literal:function(){return H},Lowercase:function(){return tU},Mapped:function(){return tF},Module:function(){return t2},Never:function(){return m.D},Not:function(){return t4},Null:function(){return q},Number:function(){return ei},Object:function(){return Z},Omit:function(){return tQ},Optional:function(){return A},Parameters:function(){return t8},Partial:function(){return tW},Pick:function(){return tH},Promise:function(){return tL},Readonly:function(){return X},ReadonlyOptional:function(){return th},Record:function(){return tb},Recursive:function(){return t3},Ref:function(){return O},RegExp:function(){return t5},Required:function(){return tG},Rest:function(){return t7},ReturnType:function(){return t9},String:function(){return eo},Symbol:function(){return V},TemplateLiteral:function(){return tD},Transform:function(){return nn},Tuple:function(){return W},Uint8Array:function(){return G},Uncapitalize:function(){return tN},Undefined:function(){return Y},Union:function(){return y},Unknown:function(){return K},Unsafe:function(){return nr},Uppercase:function(){return tM},Void:function(){return na}});var o=n(20934),l=n(67792);function s(e){return(0,o.q)({[l.hY]:"Any"},e)}function u(e){return(0,o.q)({[l.hY]:"Argument",index:e})}function c(e,t){return(0,o.q)({[l.hY]:"Array",type:"array",items:e},t)}function d(e,t){return(0,o.q)({[l.hY]:"AsyncIterator",type:"AsyncIterator",items:e},t)}function p(e,t,n){return(0,o.q)({[l.hY]:"Computed",target:e,parameters:t},n)}var m=n(23873),f=n(10034);function h(e,t={}){let n=e.every(e=>(0,f.ci)(e)),r=(0,f.Uy)(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return(0,o.q)(!1===t.unevaluatedProperties||(0,f.Uy)(t.unevaluatedProperties)||n?{...r,[l.hY]:"Intersect",type:"object",allOf:e}:{...r,[l.hY]:"Intersect",allOf:e},t)}function g(e,t){if(1===e.length)return(0,o.q)(e[0],t);if(0===e.length)return(0,m.D)(t);if(e.some(e=>(0,f.Yr)(e)))throw Error("Cannot intersect transform types");return h(e,t)}function v(e,t){return(0,o.q)({[l.hY]:"Union",anyOf:e},t)}function y(e,t){return 0===e.length?(0,m.D)(t):1===e.length?(0,o.q)(e[0],t):v(e,t)}var b=n(31661);function O(...e){let[t,n]="string"==typeof e[0]?[e[0],e[1]]:[e[0].$id,e[1]];if("string"!=typeof t)throw new b.B("Ref: $ref must be a string");return(0,o.q)({[l.hY]:"Ref",$ref:t},n)}function w(e){return e.map(e=>k(e))}function k(e,t){return(0,o.q)((0,f.Js)(e)?p("Awaited",[p(e.target,e.parameters)]):(0,f.jI)(e)?g(w(e.allOf)):(0,f.me)(e)?y(w(e.anyOf)):(0,f.cX)(e)?k(e.item):(0,f.nu)(e)?p("Awaited",[O(e.$ref)]):e,t)}function x(e){return(0,o.q)({[l.hY]:"BigInt",type:"bigint"},e)}function S(e){return(0,o.q)({[l.hY]:"Boolean",type:"boolean"},e)}function _(e,t){return t.reduce((e,t)=>(function(e,t){let{[t]:n,...r}=e;return r})(e,t),e)}function E(e){return(0,o.q)({[l.hY]:"MappedResult",properties:e})}function A(e,t){let n=t??!0;return(0,f.bu)(e)?E(function(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=A(e[r],t);return n}(e.properties,n)):!1===n?(0,o.q)(_(e,[l.J4])):(0,o.q)({...e,[l.J4]:"Optional"})}function T(e){return e.map(e=>(0,f.Xp)(e)?_(e,[l.J4]):e)}function D(e,t={}){if(1===e.length)return(0,o.q)(e[0],t);if(0===e.length)return(0,m.D)(t);if(e.some(e=>(0,f.Yr)(e)))throw Error("Cannot intersect transform types");return e.every(e=>(0,f.Xp)(e))?A(h(T(e),t)):h(T(e),t)}function C(e){return e.map(e=>(0,f.Xp)(e)?_(e,[l.J4]):e)}function $(e,t){return 1===e.length?(0,o.q)(e[0],t):0===e.length?(0,m.D)(t):e.some(e=>(0,f.Xp)(e))?A(v(C(e),t)):v(C(e),t)}var P=n(57777);function I(e){return[...new Set((0,f.GP)(e)?(0,P.fe)(e).map(e=>e.toString()):(0,f.me)(e)?function(e){let t=[];for(let n of e)t.push(...I(n));return t}(e.anyOf):(0,f.tq)(e)?[e.const.toString()]:(0,f.qA)(e)?["[number]"]:(0,f.uK)(e)?["[number]"]:[])]}var N=n(38953);function U(e,t){return e.map(e=>M(e,t))}function M(e,t){var n,r,a,i;return(0,f.jI)(e)?D(U(e.allOf,t).filter(e=>!(0,f.aH)(e))):(0,f.me)(e)?$((n=U(e.anyOf,t)).some(e=>(0,f.aH)(e))?[]:n):(0,f.zH)(e)?t in(r=e.items??[])?r[t]:"[number]"===t?$(r):(0,m.D)():(0,f.Yl)(e)?(a=e.items,"[number]"===t?a:(0,m.D)()):(0,f.ci)(e)&&t in(i=e.properties)?i[t]:(0,m.D)()}function R(e,t){return t.map(t=>M(e,t))}function j(e,t,n){if((0,f.nu)(e)||(0,f.nu)(t)){if(!(0,f.Uy)(e)||!(0,f.Uy)(t))throw new b.B("Index types using Ref parameters require both Type and Key to be of TSchema");return p("Index",[e,t])}return(0,f.bu)(t)?E(function(e,t,n){let r={};for(let a of Object.getOwnPropertyNames(t))r[a]=j(e,I(t[a]),n);return r}(e,t.properties,n)):(0,f.ce)(t)?E(t.keys.reduce((t,r)=>({...t,[r]:j(e,[r],(0,N.o)(n))}),{})):(0,o.q)((0,f.Uy)(t)?$(R(e,I(t))):$(R(e,t)),n)}var L=n(6385),Z=function(e,t){let n=function(e){let t=[];
150for(let n in e)(0,f.Xp)(e[n])||t.push(n);return t}(e),r=n.length>0?{[l.hY]:"Object",type:"object",properties:e,required:n}:{[l.hY]:"Object",type:"object",properties:e};return(0,o.q)(r,t)},B=n(15011);function z(e,t){let n=function(e){let t=[];for(let n of e)t.push(...(0,L.F)(n));return(0,B.e$)(t)}(e);return Z(function(e,t){let n={};for(let r of t)n[r]=D(function(e,t){let n=[];for(let r of e)n.push(...R(r,[t]));return n.filter(e=>!(0,f.aH)(e))}(e,r));return n}(e,n),t)}function F(e){return(0,o.q)({[l.hY]:"Date",type:"Date"},e)}function Q(e,t,n){return(0,o.q)({[l.hY]:"Function",type:"Function",parameters:e,returns:t},n)}function H(e,t){return(0,o.q)({[l.hY]:"Literal",const:e,type:typeof e},t)}function q(e){return(0,o.q)({[l.hY]:"Null",type:"null"},e)}function V(e){return(0,o.q)({[l.hY]:"Symbol",type:"symbol"},e)}function W(e,t){return(0,o.q)(e.length>0?{[l.hY]:"Tuple",type:"array",items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[l.hY]:"Tuple",type:"array",minItems:e.length,maxItems:e.length},t)}function X(e,t){let n=t??!0;return(0,f.bu)(e)?E(function(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=X(e[r],t);return n}(e.properties,n)):!1===n?(0,o.q)(_(e,[l.v0])):(0,o.q)({...e,[l.v0]:"Readonly"})}function Y(e){return(0,o.q)({[l.hY]:"Undefined",type:"undefined"},e)}function G(e){return(0,o.q)({[l.hY]:"Uint8Array",type:"Uint8Array"},e)}function K(e){return(0,o.q)({[l.hY]:"Unknown"},e)}var J=n(58153);function ee(e,t){return!0===t?e:X(e)}function et(e,t){return(0,o.q)(function e(t,n){return(0,J.GG)(t)?ee(s(),n):(0,J.l8)(t)?ee(s(),n):(0,J.Yl)(t)?X(W(t.map(t=>e(t,!1)))):(0,J.KJ)(t)?G():(0,J.P9)(t)?F():(0,J.ci)(t)?ee(Z(function(t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(t))n[r]=X(e(t[r],!1));return n}(t)),n):(0,J.vC)(t)?ee(Q([],K()),n):(0,J.fk)(t)?Y():(0,J.hG)(t)?q():(0,J.sP)(t)?V():(0,J.NT)(t)?x():(0,J.qA)(t)?H(t):(0,J.si)(t)?H(t):(0,J.XV)(t)?H(t):Z({})}(e,!0),t)}function en(e,t,n){return(0,o.q)({[l.hY]:"Constructor",type:"Constructor",parameters:e,returns:t},n)}function er(e,t){return f.Vr(e)?W(e.parameters,t):(0,m.D)(t)}function ea(e,t){if((0,J.fk)(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=>H(e)),{...t,[l.kW]:"Enum"})}function ei(e){return(0,o.q)({[l.hY]:"Number",type:"number"},e)}function eo(e){return(0,o.q)({[l.hY]:"String",type:"string"},e)}function el(e){return $((0,P.fe)(e).map(e=>H(e)))}let es="(0|[1-9][0-9]*)",eu="(.*)",ec=`^${es}$`,ed=`^${eu}$`,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 ef(e){if(!J.XV(e))return!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n>=7&&n<=13||27===n||127===n)return!1}return!0}function eh(e){return J.fk(e)||J.NT(e)}function eg(e){return J.fk(e)||J.qA(e)}function ev(e){return J.fk(e)||J.si(e)}function ey(e){return J.fk(e)||J.XV(e)}function eb(e){return J.fk(e)||e1(e)}function eO(e){return J.ci(e)&&"Optional"===e[l.J4]}function ew(e){return eI(e,"Any")&&ey(e.$id)}function ek(e){return eI(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 ex(e){return eI(e,"AsyncIterator")&&"AsyncIterator"===e.type&&ey(e.$id)&&e1(e.items)}function eS(e){return eI(e,"BigInt")&&"bigint"===e.type&&ey(e.$id)&&eh(e.exclusiveMaximum)&&eh(e.exclusiveMinimum)&&eh(e.maximum)&&eh(e.minimum)&&eh(e.multipleOf)}function e_(e){return eI(e,"Boolean")&&"boolean"===e.type&&ey(e.$id)}function eE(e){return eI(e,"Constructor")&&"Constructor"===e.type&&ey(e.$id)&&J.Yl(e.parameters)&&e.parameters.every(e=>e1(e))&&e1(e.returns)}function eA(e){return eI(e,"Date")&&"Date"===e.type&&ey(e.$id)&&eg(e.exclusiveMaximumTimestamp)&&eg(e.exclusiveMinimumTimestamp)&&eg(e.maximumTimestamp)&&eg(e.minimumTimestamp)&&eg(e.multipleOfTimestamp)}function eT(e){return eI(e,"Function")&&"Function"===e.type&&ey(e.$id)&&J.Yl(e.parameters)&&e.parameters.every(e=>e1(e))&&e1(e.returns)}function eD(e){return eI(e,"Integer")&&"integer"===e.type&&ey(e.$id)&&eg(e.exclusiveMaximum)&&eg(e.exclusiveMinimum)&&eg(e.maximum)&&eg(e.minimum)&&eg(e.multipleOf)}function eC(e){return J.ci(e)&&Object.entries(e).every(([e,t])=>ef(e)&&e1(t))}function e$(e){return eI(e,"Intersect")&&(!J.XV(e.type)||"object"===e.type)&&J.Yl(e.allOf)&&e.allOf.every(e=>e1(e)&&(!J.ci(e)||!(l.M4 in e)))&&ey(e.type)&&(ev(e.unevaluatedProperties)||eb(e.unevaluatedProperties))&&ey(e.$id)}function eP(e){return eI(e,"Iterator")&&"Iterator"===e.type&&ey(e.$id)&&e1(e.items)}function eI(e,t){return J.ci(e)&&l.hY in e&&e[l.hY]===t}function eN(e){return eR(e)&&J.XV(e.const)}function eU(e){return eR(e)&&J.qA(e.const)}function eM(e){return eR(e)&&J.si(e.const)}function eR(e){var t;
150return eI(e,"Literal")&&ey(e.$id)&&(t=e.const,J.si(t)||J.qA(t)||J.XV(t))}function ej(e){return eI(e,"Never")&&J.ci(e.not)&&0===Object.getOwnPropertyNames(e.not).length}function eL(e){return eI(e,"Not")&&e1(e.not)}function eZ(e){return eI(e,"Null")&&"null"===e.type&&ey(e.$id)}function eB(e){return eI(e,"Number")&&"number"===e.type&&ey(e.$id)&&eg(e.exclusiveMaximum)&&eg(e.exclusiveMinimum)&&eg(e.maximum)&&eg(e.minimum)&&eg(e.multipleOf)}function ez(e){var t;return eI(e,"Object")&&"object"===e.type&&ey(e.$id)&&eC(e.properties)&&(ev(t=e.additionalProperties)||e1(t))&&eg(e.minProperties)&&eg(e.maxProperties)}function eF(e){return eI(e,"Promise")&&"Promise"===e.type&&ey(e.$id)&&e1(e.item)}function eQ(e){var t;return eI(e,"Record")&&"object"===e.type&&ey(e.$id)&&(ev(t=e.additionalProperties)||e1(t))&&J.ci(e.patternProperties)&&(e=>{let t=Object.getOwnPropertyNames(e.patternProperties);return 1===t.length&&em(t[0])&&J.ci(e.patternProperties)&&e1(e.patternProperties[t[0]])})(e)}function eH(e){return eI(e,"RegExp")&&ey(e.$id)&&J.XV(e.source)&&J.XV(e.flags)&&eg(e.maxLength)&&eg(e.minLength)}function eq(e){var t,n;return eI(e,"String")&&"string"===e.type&&ey(e.$id)&&eg(e.minLength)&&eg(e.maxLength)&&(t=e.pattern,J.fk(t)||J.XV(t)&&ef(t)&&em(t))&&(n=e.format,J.fk(n)||J.XV(n)&&ef(n))}function eV(e){return eI(e,"Symbol")&&"symbol"===e.type&&ey(e.$id)}function eW(e){return eI(e,"TemplateLiteral")&&"string"===e.type&&J.XV(e.pattern)&&"^"===e.pattern[0]&&"$"===e.pattern[e.pattern.length-1]}function eX(e){return eI(e,"Tuple")&&"array"===e.type&&ey(e.$id)&&J.qA(e.minItems)&&J.qA(e.maxItems)&&e.minItems===e.maxItems&&(J.fk(e.items)&&J.fk(e.additionalItems)&&0===e.minItems||J.Yl(e.items)&&e.items.every(e=>e1(e)))}function eY(e){return eI(e,"Undefined")&&"undefined"===e.type&&ey(e.$id)}function eG(e){return eI(e,"Union")&&ey(e.$id)&&J.ci(e)&&J.Yl(e.anyOf)&&e.anyOf.every(e=>e1(e))}function eK(e){return eI(e,"Uint8Array")&&"Uint8Array"===e.type&&ey(e.$id)&&eg(e.minByteLength)&&eg(e.maxByteLength)}function eJ(e){return eI(e,"Unknown")&&ey(e.$id)}function e0(e){return eI(e,"Void")&&"void"===e.type&&ey(e.$id)}function e1(e){return J.ci(e)&&(ew(e)||eI(e,"Argument")&&J.qA(e.index)||ek(e)||e_(e)||eS(e)||ex(e)||eI(e,"Computed")&&J.XV(e.target)&&J.Yl(e.parameters)&&e.parameters.every(e=>e1(e))||eE(e)||eA(e)||eT(e)||eD(e)||e$(e)||eP(e)||eR(e)||eI(e,"MappedKey")&&J.Yl(e.keys)&&e.keys.every(e=>J.qA(e)||J.XV(e))||eI(e,"MappedResult")&&eC(e.properties)||ej(e)||eL(e)||eZ(e)||eB(e)||ez(e)||eF(e)||eQ(e)||eI(e,"Ref")&&ey(e.$id)&&J.XV(e.$ref)||eH(e)||eq(e)||eV(e)||eW(e)||eI(e,"This")&&ey(e.$id)&&J.XV(e.$ref)||eX(e)||eY(e)||eG(e)||eK(e)||eJ(e)||eI(e,"Unsafe")||e0(e)||J.ci(e)&&l.hY in e&&J.XV(e[l.hY])&&!ep.includes(e[l.hY]))}class e2 extends b.B{}function e4(e){return e===a.False?e:a.True}function e8(e){throw new e2(e)}function e6(e){return ej(e)||e$(e)||eG(e)||eJ(e)||ew(e)}function e3(e,t){return ej(t)?a.False:e$(t)?e9(e,t):eG(t)?td(e,t):eJ(t)?a.True:ew(t)?a.True:e8("StructuralRight")}function e5(e,t){return eM(e)?a.True:e_(e)?a.True:a.False}function e7(e,t){return eR(e)&&J.qA(e.const)?a.True:eB(e)||eD(e)?a.True:a.False}function e9(e,t){return t.allOf.every(t=>tp(e,t)===a.True)?a.True:a.False}function te(e){let[t,n]=[e,0];for(;eL(t);)t=t.not,n+=1;return n%2==0?t:K()}function tt(e,t){return eU(e)?a.True:eB(e)||eD(e)?a.True:a.False}function tn(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function tr(e){return tn(e,0)||tn(e,1)&&"description"in e.properties&&eG(e.properties.description)&&2===e.properties.description.anyOf.length&&(eq(e.properties.description.anyOf[0])&&eY(e.properties.description.anyOf[1])||eq(e.properties.description.anyOf[1])&&eY(e.properties.description.anyOf[0]))}function ta(e){let t=ei();return tn(e,0)||tn(e,1)&&"length"in e.properties&&e4(tp(e.properties.length,t))===a.True}function ti(e,t){return tp(e,t)===a.False?a.False:eO(e)&&!eO(t)?a.False:a.True}function to(e,t){return eJ(e)?a.False:ew(e)?a.Union:ej(e)||eN(e)&&ta(t)||eU(e)&&tn(t,0)||eM(e)&&tn(t,0)||eV(e)&&tr(t)||eS(e)&&tn(t,0)||eq(e)&&ta(t)||eV(e)&&tr(t)||eB(e)&&tn(t,0)||eD(e)&&tn(t,0)||e_(e)&&tn(t,0)||eK(e)&&ta(t)||eA(e)&&tn(t,0)||eE(e)&&tn(t,0)||eT(e)&&function(e){let t=ei();return tn(e,0)||tn(e,1)&&"length"in e.properties&&e4(tp(e.properties.length,t))===a.True}(t)?a.True:eQ(e)&&eq(tl(e))?"Record"===t[l.kW]?a.True:a.False:eQ(e)&&eB(tl(e))&&tn(t,0)?a.True:a.False}function tl(e){return ec in e.patternProperties?ei():ed in e.patternProperties?eo():e8("Unknown re
150cord key pattern")}function ts(e){return ec in e.patternProperties?e.patternProperties[ec]:ed in e.patternProperties?e.patternProperties[ed]:e8("Unable to get record value schema")}function tu(e,t){let[n,r]=[tl(t),ts(t)];return eN(e)&&eB(n)&&e4(tp(e,r))===a.True?a.True:eK(e)&&eB(n)?tp(e,r):eq(e)&&eB(n)?tp(e,r):ek(e)&&eB(n)?tp(e,r):ez(e)?(()=>{for(let t of Object.getOwnPropertyNames(e.properties))if(ti(r,e.properties[t])===a.False)return a.False;return a.True})():a.False}function tc(e,t){return eR(e)&&J.XV(e.const)?a.True:eq(e)?a.True:a.False}function td(e,t){return t.anyOf.some(t=>tp(e,t)===a.True)?a.True:a.False}function tp(e,t){return eW(e)||eW(t)?eW(e)?tp(el(e),t):eW(t)?tp(e,el(t)):e8("Invalid fallthrough for TemplateLiteral"):eH(e)||eH(t)?tp(eH(e)?eo():e,eH(t)?eo():t):eL(e)||eL(t)?eL(e)?tp(te(e),t):eL(t)?tp(e,te(t)):e8("Invalid fallthrough for Not"):ew(e)?e$(t)?e9(e,t):eG(t)&&t.anyOf.some(e=>ew(e)||eJ(e))?a.True:eG(t)?a.Union:eJ(t)?a.True:ew(t)?a.True:a.Union:ek(e)?ez(t)&&ta(t)?a.True:e6(t)?e3(e,t):ek(t)?e4(tp(e.items,t.items)):a.False:eS(e)?e6(t)?e3(e,t):ez(t)?to(e,t):eQ(t)?tu(e,t):eS(t)?a.True:a.False:e_(e)?e6(t)?e3(e,t):ez(t)?to(e,t):eQ(t)?tu(e,t):e_(t)?a.True:a.False:ex(e)?e6(t)?e3(e,t):ex(t)?e4(tp(e.items,t.items)):a.False:eE(e)?e6(t)?e3(e,t):ez(t)?to(e,t):eE(t)?e.parameters.length>t.parameters.length?a.False:e.parameters.every((e,n)=>e4(tp(t.parameters[n],e))===a.True)?e4(tp(e.returns,t.returns)):a.False:a.False:eA(e)?e6(t)?e3(e,t):ez(t)?to(e,t):eQ(t)?tu(e,t):eA(t)?a.True:a.False:eT(e)?e6(t)?e3(e,t):ez(t)?to(e,t):eT(t)?e.parameters.length>t.parameters.length?a.False:e.parameters.every((e,n)=>e4(tp(t.parameters[n],e))===a.True)?e4(tp(e.returns,t.returns)):a.False:a.False:eD(e)?eD(t)||eB(t)?a.True:e6(t)?e3(e,t):ez(t)?to(e,t):eQ(t)?tu(e,t):a.False:e$(e)?e.allOf.some(e=>tp(e,t)===a.True)?a.True:a.False:eP(e)?e6(t)?e3(e,t):eP(t)?e4(tp(e.items,t.items)):a.False:eR(e)?eR(t)&&t.const===e.const?a.True:e6(t)?e3(e,t):ez(t)?to(e,t):eQ(t)?tu(e,t):eq(t)?tc(e,t):eB(t)?tt(e,t):eD(t)?e7(e,t):e_(t)?e5(e,t):a.False:ej(e)?a.True:eZ(e)?e6(t)?e3(e,t):ez(t)?to(e,t):eQ(t)?tu(e,t):eZ(t)?a.True:a.False:eB(e)?e6(t)?e3(e,t):ez(t)?to(e,t):eQ(t)?tu(e,t):eD(t)||eB(t)?a.True:a.False:ez(e)?e6(t)?e3(e,t):eQ(t)?tu(e,t):ez(t)?(()=>{for(let n of Object.getOwnPropertyNames(t.properties)){if(!(n in e.properties)&&!eO(t.properties[n]))return a.False;if(eO(t.properties[n]))break;if(ti(e.properties[n],t.properties[n])===a.False)return a.False}return a.True})():a.False:eQ(e)?e6(t)?e3(e,t):ez(t)?to(e,t):eQ(t)?tp(ts(e),ts(t)):a.False:eq(e)?e6(t)?e3(e,t):ez(t)?to(e,t):eQ(t)?tu(e,t):eq(t)?a.True:a.False:eV(e)?e6(t)?e3(e,t):ez(t)?to(e,t):eQ(t)?tu(e,t):eV(t)?a.True:a.False:eX(e)?e6(t)?e3(e,t):ez(t)&&ta(t)?a.True:ek(t)&&ek(t)&&void 0!==e.items&&e.items.every(e=>tp(e,t.items)===a.True)?a.True:eX(t)?J.fk(e.items)&&!J.fk(t.items)||!J.fk(e.items)&&J.fk(t.items)?a.False:J.fk(e.items)&&!J.fk(t.items)?a.True:e.items.every((e,n)=>tp(e,t.items[n])===a.True)?a.True:a.False:a.False:eF(e)?e6(t)?e3(e,t):ez(t)&&function(e){let t=Q([s()],s());return tn(e,0)||tn(e,1)&&"then"in e.properties&&e4(tp(e.properties.then,t))===a.True}(t)?a.True:eF(t)?e4(tp(e.item,t.item)):a.False:eK(e)?e6(t)?e3(e,t):ez(t)?to(e,t):eQ(t)?tu(e,t):eK(t)?a.True:a.False:eY(e)?e6(t)?e3(e,t):ez(t)?to(e,t):eQ(t)?tu(e,t):e0(t)?eY(e)?a.True:eY(e)?a.True:a.False:eY(t)?a.True:a.False:eG(e)?e.anyOf.every(e=>tp(e,t)===a.True)?a.True:a.False:eJ(e)?ej(t)?a.False:e$(t)?e9(e,t):eG(t)?td(e,t):ew(t)?a.True:eq(t)?tc(e,t):eB(t)?tt(e,t):eD(t)?e7(e,t):e_(t)?e5(e,t):ek(t)?eJ(e)?a.False:ew(e)?a.Union:ej(e)?a.True:a.False:eX(t)?ej(e)?a.True:eJ(e)?a.False:ew(e)?a.Union:a.False:ez(t)?to(e,t):eJ(t)?a.True:a.False:e0(e)?e$(t)?e9(e,t):eG(t)?td(e,t):eJ(t)?a.True:ew(t)?a.True:ez(t)?to(e,t):e0(t)?a.True:a.False:e8(`Unknown left type operand '${e[l.hY]}'`)}function tm(e,t){return f.Vr(e)?(0,o.q)(e.returns,t):(0,m.D)(t)}function tf(e,t){return void 0===t?(0,N.o)(e):(0,N.o)({...t,...e})}function th(e){return X(A(e))}(r=a||(a={}))[r.Union=0]="Union",r[r.True=1]="True",r[r.False=2]="False";var tg=n(65515);function tv(e,t,n){return(0,o.q)({[l.hY]:"Record",type:"object",patternProperties:{[e]:t}},n)}function ty(e,t,n){let r={};for(let n of e)r[n]=t;return Z(r,{...n,[l.kW]:"Record"})}function tb(e,t,n={}){return(0,f.me)(e)?ty(I(y(e.anyOf)),t,n):(0,f.GP)(e)?(0,tg.S2)(e)?ty(I(e),t,n):tv(e.pattern,t,n):(0,f.tq)(e)?ty([e.const.toString()],t,n):(0,f.si)(e)?Z({true:t,false:t},n):(0,f.uK)(e)?tv(ec,t,n):(0,f.qA)(e)?tv(ec,t,n):(0,f.AE)(e)?tv(e.source,t,n):(0,f.XV)(e)?tv((0,J.fk)(e.pattern)?ed:e.pattern,t,n):(0,f.Wr)(e)?tv(ed,t,n):(0,f.aH)(e)?tv("^(?!.*)$",t,n):(0,m.D)(n)}function tO(e){return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}function tw(e){return e.patternProperties[tO(e)]}function tk(e,t){return t.map(t=>tx(e,t))}function tx(e,t){return f.Vr(t)?(t.parameters=tk(e,t.parameters),t.returns=tx(e,t.returns),t):f.vC(t)?(t.parameters=tk(e,t.parameters),t.returns=tx(e,t.returns),t):f.jI(t)?(t.allOf=tk(e,t.allOf),t):f.me(t)?(t.anyOf=tk(e,t.anyOf),t):f.zH(t)?(J.fk(t.items)||(t.items=tk(e,t.items)),t):f.Yl(t)?(t.items=tx(e,t.items),t):f.GG(t)?(t.items=tx(e,t.items),t):f.l8(t)?(t.items=tx(e,t.items),t):f.cX(t)?(t.item=tx(e,t.item),t):f.ci(t)?function(e,t){var n;let r=(n=t.properties,globalThis.Object.getOwnPropertyNames(n).reduce((t,r)=>({...t,[r]:function(e,t){let n=f._L(t),r=f.Xp(t),a=tx(e,t);return n&&r?th(a):n&&!r?X(a):!n&&r?A(a):a}(e,n[r])}),{}));return{...t,...Z(r)}}(e,t):f.NN(t)?function(e,t){let n=tb(tx(e,function(e){let t=tO(e);return t===ed?eo():t===ec?ei():eo({pattern:t})}(t)),tx(e,tw(t)));return{...t,...n}}(e,t):f.fs(t)?t.index in e?e[t.index]:K():t}function tS(e,t){return tx(t,tf(e))}function t_(e){return(0,o.q)({[l.hY]:"Integer",type:"integer"},e)}var tE=n(96467);class tA extends b.B{}function tT(e){return`^${e.map(e=>(function e(t,n){return(0,f.GP)(t)?t.pattern.slice(1,t.pattern.length-1):(0,f.me)(t)?`(${t.anyOf.map(t=>e(t,n)).join("|")})`:(0,f.qA)(t)?`${n}${es}`:(0,f.uK)(t)?`${n}${es}`:(0,f.NT)(t)?`${n}${es}`:(0,f.XV)(t)?`${n}${eu}`:(0,f.tq)(t)?`${n}${t.const.toString().replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}`:(0,f.si)(t)?`${n}(true|false)`:(()=>{throw new tA(`Unexpected Kind '${t[l.hY]}'`)})()})(e,"")).join("")}$`}function tD(e,t){let n=(0,J.XV)(e)?tT([...function* e(t){for(let n=0;n<t.length;n++)if("$"===t[n]){let r=H(t.slice(0,n)),a=function*(t){if("{"!==t[1]){let n=H("$"),r=e(t.slice(1));return yield*[n,...r]}for(let n=2;n<t.length;n++)if("}"===t[n]){let r=function*(e){let t=e.trim().replace(/"|'/g,"");return"boolean"===t?yield S():"number"===t?yield ei():"bigint"===t?yield x():"string"===t?yield eo():yield(()=>{let e=t.split("|").map(e=>H(e.trim()));return 0===e.length?(0,m.D)():1===e.length?e[0]:$(e)})()}(t.slice(2,n)),a=e(t.slice(n+1));return yield*[...r,...a]}yield H(t)}(t.slice(n));return yield*[r,...a]}yield H(t)}(e)]):tT(e);return(0,o.q)({[l.hY]:"TemplateLiteral",type:"string",pattern:n},t)}function tC(e,t){return"string"==typeof e?"Uncapitalize"===t?function(e){let[t,n]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),n].join("")}(e):"Capitalize"===t?function(e){let[t,n]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),n].join("")}(e):"Uppercase"===t?e.toUpperCase():"Lowercase"===t?e.toLowerCase():e:e.toString()}function t$(e,t){return e.map(e=>tP(e,t))}function tP(e,t,n={}
150){return(0,f.ce)(e)?E(e.keys.reduce((e,r)=>({...e,[r]:tP(H(r),t,(0,N.o)(n))}),{})):(0,f.GP)(e)?function(e,t,n){let r=(0,tE.Zl)(e.pattern);return(0,tg.y7)(r)?tD([y(t$([...(0,P.Zk)(r)].map(e=>H(e)),t))],n):{...e,pattern:tC(e.pattern,t)}}(e,t,n):(0,f.me)(e)?y(t$(e.anyOf,t),n):(0,f.tq)(e)?H(tC(e.const,t),n):(0,o.q)(e,n)}function tI(e,t={}){return tP(e,"Capitalize",t)}function tN(e,t={}){return tP(e,"Uncapitalize",t)}function tU(e,t={}){return tP(e,"Lowercase",t)}function tM(e,t={}){return tP(e,"Uppercase",t)}function tR(e,t){return(0,o.q)({[l.hY]:"Iterator",type:"Iterator",items:e},t)}function tj(e,t){return(0,f.Js)(e)?p("KeyOf",[p(e.target,e.parameters)]):(0,f.nu)(e)?p("KeyOf",[O(e.$ref)]):(0,f.bu)(e)?E(function(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=tj(e[r],(0,N.o)(t));return n}(e.properties,t)):function(e,t){let n=$((0,L.F)(e).map(e=>"[number]"===e?ei():H(e)));return(0,o.q)(n,t)}(e,t)}function tL(e,t){return(0,o.q)({[l.hY]:"Promise",type:"Promise",item:e},t)}function tZ(e,t){return e in t?tz(e,t[e]):E(t)}function tB(e,t){return t.map(t=>tz(e,t))}function tz(e,t){let n={...t};return(0,f.Xp)(t)?A(tz(e,_(t,[l.J4]))):(0,f._L)(t)?X(tz(e,_(t,[l.v0]))):(0,f.bu)(t)?tZ(e,t.properties):(0,f.ce)(t)?function(e,t){let n=(0,B.Lo)(t,e)?{[e]:H(e)}:function(e){let t={};for(let n of e)t[n]=H(n);return t}(t);return tZ(e,n)}(e,t.keys):(0,f.Vr)(t)?en(tB(e,t.parameters),tz(e,t.returns),n):(0,f.vC)(t)?Q(tB(e,t.parameters),tz(e,t.returns),n):(0,f.GG)(t)?d(tz(e,t.items),n):(0,f.l8)(t)?tR(tz(e,t.items),n):(0,f.jI)(t)?g(tB(e,t.allOf),n):(0,f.me)(t)?y(tB(e,t.anyOf),n):(0,f.zH)(t)?W(tB(e,t.items??[]),n):(0,f.ci)(t)?Z(function(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(t))n[r]=tz(e,t[r]);return n}(e,t.properties),n):(0,f.Yl)(t)?c(tz(e,t.items),n):(0,f.cX)(t)?tL(tz(e,t.item),n):t}function tF(e,t,n){let r=(0,f.Uy)(e)?I(e):e,a=t({[l.hY]:"MappedKey",keys:r});return Z(function(e,t){let n={};for(let r of e)n[r]=tz(r,t);return n}(r,a),n)}function tQ(e,t,n){let r=(0,J.Yl)(t)?y(t.reduce((e,t)=>(0,f.Gs)(t)?[...e,H(t)]:e,[])):t,a=(0,f.Uy)(t)?I(t):t,i=(0,f.nu)(e),s=(0,f.nu)(t);return(0,f.bu)(e)?E(function(e,t,n){let r={};for(let a of globalThis.Object.getOwnPropertyNames(e))r[a]=tQ(e[a],t,(0,N.o)(n));return r}(e.properties,a,n)):(0,f.ce)(t)?E(t.keys.reduce((t,r)=>({...t,[r]:tQ(e,[r],(0,N.o)(n))}),{})):i&&s?p("Omit",[e,r],n):!i&&s?p("Omit",[e,r],n):i&&!s?p("Omit",[e,r],n):(0,o.q)({...function e(t,n){return(0,f.jI)(t)?g(t.allOf.map(t=>e(t,n))):(0,f.me)(t)?y(t.anyOf.map(t=>e(t,n))):(0,f.ci)(t)?function(e,t){var n;let r=_(e,[l.M4,"$id","required","properties"]);return Z((n=e.properties,t.reduce((e,t)=>(function(e,t){let{[t]:n,...r}=e;return r})(e,t),n)),r)}(t,n):Z({})}(e,a),...n})}function tH(e,t,n){let r=(0,J.Yl)(t)?y(t.reduce((e,t)=>(0,f.Gs)(t)?[...e,H(t)]:e,[])):t,a=(0,f.Uy)(t)?I(t):t,i=(0,f.nu)(e),s=(0,f.nu)(t);return(0,f.bu)(e)?E(function(e,t,n){let r={};for(let a of globalThis.Object.getOwnPropertyNames(e))r[a]=tH(e[a],t,(0,N.o)(n));return r}(e.properties,a,n)):(0,f.ce)(t)?E(t.keys.reduce((t,r)=>({...t,[r]:tH(e,[r],(0,N.o)(n))}),{})):i&&s?p("Pick",[e,r],n):!i&&s?p("Pick",[e,r],n):i&&!s?p("Pick",[e,r],n):(0,o.q)({...function e(t,n){return(0,f.jI)(t)?g(t.allOf.map(t=>e(t,n))):(0,f.me)(t)?y(t.anyOf.map(t=>e(t,n))):(0,f.ci)(t)?function(e,t){let n=_(e,[l.M4,"$id","required","properties"]);return Z(function(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}(e.properties,t),n)}(t,n):Z({})}(e,a),...n})}function tq(e){return e.map(e=>tV(e))}function tV(e){return f.Js(e)?p("Partial",[p(e.target,e.parameters)]):f.nu(e)?p("Partial",[O(e.$ref)]):f.jI(e)?g(tq(e.allOf)):f.me(e)?y(tq(e.anyOf)):f.ci(e)?function(e){let t=_(e,[l.M4,"$id","required","properties"]);return Z(function(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=A(e[n]);return t}(e.properties),t)}(e):f.NT(e)?e:f.si(e)?e:f.uK(e)?e:f.tq(e)?e:f.hG(e)?e:f.qA(e)?e:f.XV(e)?e:f.sP(e)?e:f.fk(e)?e:Z({})}function tW(e,t){return f.bu(e)?E(function(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=tW(e[r],(0,N.o)(t));return n}(e.properties,t)):(0,o.q)({...tV(e),...t})}function tX(e){return e.map(e=>tY(e))}function tY(e){return f.Js(e)?p("Required",[p(e.target,e.parameters)]):f.nu(e)?p("Required",[O(e.$ref)]):f.jI(e)?g(tX(e.allOf)):f.me(e)?y(tX(e.anyOf)):f.ci(e)?function(e){let t=_(e,[l.M4,"$id","required","properties"]);return Z(function(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=_(e[n],[l.J4]);return t}(e.properties),t)}(e):f.NT(e)?e:f.si(e)?e:f.uK(e)?e:f.tq(e)?e:f.hG(e)?e:f.qA(e)?e:f.XV(e)?e:f.sP(e)?e:f.fk(e)?e:Z({})}function tG(e,t){return f.bu(e)?E(function(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=tG(e[r],t);return n}(e.properties,t)):(0,o.q)({...tY(e),...t})}function tK(e,t){return t in e?f.nu(e[t])?tK(e,e[t].$ref):t0(e,e[t]):(0,m.D)()}function tJ(e,t){return t.map(t=>t0(e,t))}function t0(e,t){var n,r,a,i,s;return f.Xp(t)?(0,o.q)(t0(e,_(t,[l.J4])),t):f._L(t)?(0,o.q)(t0(e,_(t,[l.v0])),t):f.Yr(t)?(0,o.q)(f.nu(t)?{...tK(e,t.$ref),[l.M4]:t[l.M4]}:t,t):f.Yl(t)?(0,o.q)(c(t0(e,t.items)),t):f.GG(t)?(0,o.q)(d(t0(e,t.items)),t):f.Js(t)?(0,o.q)(function(e,t,n){let r=n.map(t=>f.nu(t)?tK(e,t.$ref):t0(e,t));return"Awaited"===t?k(r[0]):"Index"===t?j(r[0],r[1]):"KeyOf"===t?tj(r[0]):"Partial"===t?tW(r[0]):"Omit"===t?tQ(r[0],r[1]):"Pick"===t?tH(r[0],r[1]):"Required"===t?tG(r[0]):(0,m.D)()}(e,t.target,t.parameters)):f.Vr(t)?(0,o.q)((n=t.parameters,r=t.returns,en(tJ(e,n),t0(e,r))),t):f.vC(t)?(0,o.q)((a=t.parameters,i=t.returns,Q(tJ(e,a),t0(e,i))),t):f.jI(t)?(0,o.q)(g(tJ(e,t.allOf)),t):f.l8(t)?(0,o.q)(tR(t0(e,t.items)),t):f.ci(t)?(0,o.q)((s=t.properties,Z(globalThis.Object.keys(s).reduce((t,n)=>({...t,[n]:t0(e,s[n])}),{}))),t):f.NN(t)?(0,o.q)(function(e,t){let[n,r]=[t0(e,tw(t)),tO(t)],a=tf(t);return a.patternProperties[r]=n,a}(e,t)):f.zH(t)?(0,o.q)(W(tJ(e,t.items||[])),t):f.me(t)?(0,o.q)(y(tJ(e,t.anyOf)),t):t}class t1{constructor(e){let t=globalThis.Object.getOwnPropertyNames(e).reduce((t,n)=>({...t,[n]:n in e?t0(e,e[n]):(0,m.D)()}),{}),n=this.WithIdentifiers(t);this.$defs=n}Import(e,t){let n={...this.$defs,[e]:(0,o.q)(this.$defs[e],t)};return(0,o.q)({[l.hY]:"Import",$defs:n,$ref:e})}WithIdentifiers(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,n)=>({...t,[n]:{...e[n],$id:n}}),{})}}function t2(e){return new t1(e)}function t4(e,t){return(0,o.q)({[l.hY]:"Not",not:e},t)}function t8(e,t){return f.vC(e)?W(e.parameters,t):(0,m.D)()}let t6=0;function t3(e,t={}){(0,J.fk)(t.$id)&&(t.$id=`T${t6++}`);let n=tf(e({[l.hY]:"This",$ref:`${t.$id}`}));return n.$id=t.$id,(0,o.q)({[l.kW]:"Recursive",...n},t)}function t5(e,t){let n=(0,J.XV)(e)?new globalThis.RegExp(e):e;return(0,o.q)({[l.hY]:"RegExp",type:"RegExp",source:n.source,flags:n.flags},t)}function t7(e){return(0,f.jI)(e)?e.allOf:(0,f.me)(e)?e.anyOf:(0,f.zH)(e)?e.items??[]:[]}function t9(e,t){return f.vC(e)?(0,o.q)(e.returns,t):(0,m.D)(t)}class ne{constructor(e){this.schema=e}Decode(e){return new nt(this.schema,e)}}class nt{constructor(e,t){this.schema=e,this.decode=t}EncodeTransform(e,t){return{...t,[l.M4]:{Encode:n=>t[l.M4].Encode(e(n)),Decode:e=>this.decode(t[l.M4].Decode(e))}}}EncodeSchema(e,t){let n={Decode:this.decode,Encode:e};return{...t,[l.M4]:n}}Encode(e){return(0,f.Yr)(this.schema)?this.EncodeTransform(e,this.schema):this.EncodeSchema(e,this.schema)}}function nn(e){return new ne(e)}function nr(e={}){return(0,o.q)({[l.hY]:e[l.hY]??"Unsafe"},e)}function na(e){return(0,o.q)({[l.hY]:"Void",type:"void"},e)}let ni=i},10851:function(e,t,n){"use strict";n.d(t,{J:function(){return b}});var r=n(52234),a=n(69926),i=n(95370),o=n(67792),l=n(6385),s=n(40826),u=n(32658),c=n(91168),d=n(31661),p=n(23873),m=n(30087),f=n(10034);class h extends d.B{constructor(e){super("Unknown type"),this.schema=e}}function g(e,t,n){let r=e.get(t);return!(r&&r.has(n))&&(r?(r.add(n),!0):void e.set(t,new WeakSet([n])))}function v(e){return void 0!==e}function y(e,t,n,d){let b=v(e.$id)?(0,a.yr)(e,t):t;switch(e[o.hY]){case"Any":case"Argument":case"Unknown":return!0;case"Array":return function(e,t,n,r){if(!(0,m.Yl)(n)||v(e.minItems)&&!(n.length>
150=e.minItems)||v(e.maxItems)&&!(n.length<=e.maxItems))return!1;if(!1===g(r,n,e))return!0;if(!n.every(n=>y(e.items,t,n,r))||!0===e.uniqueItems&&!function(){let e=new Set;for(let t of n){let n=(0,i.k)(t);if(e.has(n))return!1;e.add(n)}return!0}())return!1;if(!(v(e.contains)||(0,m.qA)(e.minContains)||(0,m.qA)(e.maxContains)))return!0;let a=v(e.contains)?e.contains:(0,p.D)(),o=n.reduce((e,n)=>y(a,t,n,r)?e+1:e,0);return!(0===o||(0,m.qA)(e.minContains)&&o<e.minContains||(0,m.qA)(e.maxContains)&&o>e.maxContains)}(e,b,n,d);case"AsyncIterator":return(0,m.GG)(n);case"BigInt":return!(!(0,m.NT)(n)||v(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||v(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||v(e.maximum)&&!(n<=e.maximum)||v(e.minimum)&&!(n>=e.minimum)||v(e.multipleOf)&&n%e.multipleOf!==BigInt(0));case"Boolean":return(0,m.si)(n);case"Constructor":return y(e.returns,b,n.prototype,d);case"Date":return!(!(0,m.P9)(n)||v(e.exclusiveMaximumTimestamp)&&!(n.getTime()<e.exclusiveMaximumTimestamp)||v(e.exclusiveMinimumTimestamp)&&!(n.getTime()>e.exclusiveMinimumTimestamp)||v(e.maximumTimestamp)&&!(n.getTime()<=e.maximumTimestamp)||v(e.minimumTimestamp)&&!(n.getTime()>=e.minimumTimestamp)||v(e.multipleOfTimestamp)&&n.getTime()%e.multipleOfTimestamp!=0);case"Function":return(0,m.vC)(n);case"Import":return function(e,t,n,r){let a=globalThis.Object.values(e.$defs);return y(e.$defs[e.$ref],[...t,...a],n,r)}(e,b,n,d);case"Integer":return!(!(0,m.uK)(n)||v(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||v(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||v(e.maximum)&&!(n<=e.maximum)||v(e.minimum)&&!(n>=e.minimum)||v(e.multipleOf)&&n%e.multipleOf!=0);case"Intersect":return function(e,t,n,r){let a=e.allOf.every(e=>y(e,t,n,r));if(!1===e.unevaluatedProperties){let t=new RegExp((0,l.X)(e)),r=Object.getOwnPropertyNames(n).every(e=>t.test(e));return a&&r}if(!(0,f.Uy)(e.unevaluatedProperties))return a;{let i=new RegExp((0,l.X)(e)),o=Object.getOwnPropertyNames(n).every(a=>i.test(a)||y(e.unevaluatedProperties,t,n[a],r));return a&&o}}(e,b,n,d);case"Iterator":return(0,m.l8)(n);case"Literal":return n===e.const;case"Never":return!1;case"Not":return!y(e.not,b,n,d);case"Null":return(0,m.hG)(n);case"Number":return!(!r.Q.IsNumberLike(n)||v(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||v(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||v(e.minimum)&&!(n>=e.minimum)||v(e.maximum)&&!(n<=e.maximum)||v(e.multipleOf)&&n%e.multipleOf!=0);case"Object":return function(e,t,n,a){if(!r.Q.IsObjectLike(n)||v(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)||v(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;if(!1===g(a,n,e))return!0;let i=Object.getOwnPropertyNames(e.properties);for(let u of i){let i=e.properties[u];if(e.required&&e.required.includes(u)){var l;if(!y(i,t,n[u],a)||((0,s.X)(i)||"Any"===(l=i)[o.hY]||"Unknown"===l[o.hY])&&!(u in n))return!1}else if(r.Q.IsExactOptionalProperty(n,u)&&!y(i,t,n[u],a))return!1}if(!1===e.additionalProperties){let t=Object.getOwnPropertyNames(n);return!!e.required&&e.required.length===i.length&&t.length===i.length||t.every(e=>i.includes(e))}return"object"!=typeof e.additionalProperties||Object.getOwnPropertyNames(n).every(r=>i.includes(r)||y(e.additionalProperties,t,n[r],a))}(e,b,n,d);case"Promise":return(0,m.cX)(n);case"Record":return function(e,t,n,a){if(!r.Q.IsRecordLike(n)||v(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)||v(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;let[i,o]=Object.entries(e.patternProperties)[0],l=new RegExp(i),s=Object.entries(n).every(([e,n])=>!l.test(e)||y(o,t,n,a)),u="object"!=typeof e.additionalProperties||Object.entries(n).every(([n,r])=>!!l.test(n)||y(e.additionalProperties,t,r,a)),c=!1!==e.additionalProperties||Object.getOwnPropertyNames(n).every(e=>l.test(e));return s&&u&&c}(e,b,n,d);case"Ref":case"This":return y((0,a.Hj)(e,b),b,n,d);case"RegExp":return function(e,t,n){let r=new RegExp(e.source,e.flags);return!(v(e.minLength)&&!(n.length>=e.minLength)||v(e.maxLength)&&!(n.length<=e.maxLength))&&r.test(n)}(e,0,n);case"String":return!(!(0,m.XV)(n)||v(e.minLength)&&!(n.length>=e.minLength)||v(e.maxLength)&&!(n.length<=e.maxLength)||v(e.pattern)&&!new RegExp(e.pattern).test(n))&&(!v(e.format)||!!u.BT(e.format)&&u.dX(e.format)(n));case"Symbol":return(0,m.sP)(n);case"TemplateLiteral":return(0,m.XV)(n)&&new RegExp(e.pattern).test(n);case"Tuple":return function(e,t,n,r){if(!(0,m.Yl)(n)||void 0===e.items&&0!==n.length||n.length!==e.maxItems)return!1;if(!e.items)return!0;for(let a=0;a<e.items.length;a++)if(!y(e.items[a],t,n[a],r))return!1;return!0}(e,b,n,d);case"Undefined":return(0,m.fk)(n);case"Union":return e.anyOf.some(e=>y(e,b,n,d));case"Uint8Array":return!(!(0,m.KJ)(n)||v(e.maxByteLength)&&!(n.length<=e.maxByteLength)||v(e.minByteLength)&&!(n.length>=e.minByteLength));case"Void":return r.Q.IsVoidLike(n);default:if(!c.BT(e[o.hY]))throw new h(e);return!!c.BT(e[o.hY])&&c.dX(e[o.hY])(e,n)}}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)}},69926:function(e,t,n){"use strict";n.d(t,{Hj:function(){return function e(t,n){return"This"===t[a.hY]||"Ref"===t[a.hY]?function(t,n){let r=n.find(e=>e.$id===t.$ref);if(void 0===r)throw new o(t);return e(r,n)}(t,n):t}},yr:function(){return l}});var r=n(31661),a=n(67792),i=n(30087);class o extends r.B{constructor(e){super(`Unable to dereference schema with $id '${e.$ref}'`),this.schema=e}}function l(e,t){return!(0,i.XV)(e.$id)||t.some(t=>
150t.$id===e.$id)||t.push(e),t}},30087:function(e,t,n){"use strict";function r(e){return p(e)&&globalThis.Symbol.asyncIterator in e}function a(e){return p(e)&&globalThis.Symbol.iterator in e}function i(e){return e instanceof globalThis.Promise}function o(e){return e instanceof Date&&globalThis.Number.isFinite(e.getTime())}function l(e){return e instanceof globalThis.Map}function s(e){return e instanceof globalThis.Set}function u(e){return globalThis.ArrayBuffer.isView(e)}function c(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 f(e){return void 0===e}function h(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 w(e){return"function"==typeof e}function k(e){return"symbol"==typeof e}function x(e){return b(e)||g(e)||h(e)||v(e)||O(e)||k(e)||f(e)}n.d(t,{BC:function(){return d},GG:function(){return r},KJ:function(){return c},NT:function(){return b},Oy:function(){return u},P9:function(){return o},XV:function(){return O},Yl:function(){return m},cX:function(){return i},ci:function(){return p},fM:function(){return x},fk:function(){return f},hG:function(){return h},hL:function(){return l},l8:function(){return a},mO:function(){return s},qA:function(){return v},sP:function(){return k},si:function(){return g},uK:function(){return y},vC:function(){return w}})},95370:function(e,t,n){"use strict";n.d(t,{k:function(){return g}});var r,a,i=n(30087),o=n(31661);class l extends o.B{constructor(e){super("Unable to hash value"),this.value=e}}(r=a||(a={}))[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 s=BigInt("14695981039346656037"),[u,c]=[BigInt("1099511628211"),BigInt("18446744073709551616")],d=Array.from({length:256}).map((e,t)=>BigInt(t)),p=new Float64Array(1),m=new DataView(p.buffer),f=new Uint8Array(p.buffer);function h(e){s^=d[e],s=s*u%c}function g(e){return s=BigInt("14695981039346656037"),function e(t){if((0,i.Yl)(t))return function(t){for(let n of(h(a.Array),t))e(n)}(t);if((0,i.si)(t))return void(h(a.Boolean),h(t?1:0));if((0,i.NT)(t))return function(e){for(let t of(h(a.BigInt),m.setBigInt64(0,e),f))h(t)}(t);if((0,i.P9)(t))return void(h(a.Date),e(t.getTime()));if((0,i.hG)(t))return void h(a.Null);if((0,i.qA)(t))return function(e){for(let t of(h(a.Number),m.setFloat64(0,e),f))h(t)}(t);if((0,i.ci)(t))return function(t){for(let n of(h(a.Object),globalThis.Object.getOwnPropertyNames(t).sort()))e(n),e(t[n])}(t);if((0,i.XV)(t))return function(e){h(a.String);for(let t=0;t<e.length;t++)for(let n of function*(e){let t=0===e?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let n=0;n<t;n++)yield e>>8*(t-1-n)&255}(e.charCodeAt(t)))h(n)}(t);
150if((0,i.sP)(t))return void(h(a.Symbol),e(t.description));if((0,i.KJ)(t))return function(e){h(a.Uint8Array);for(let t=0;t<e.length;t++)h(e[t])}(t);if((0,i.fk)(t))return h(a.Undefined);throw new l(t)}(e),s}},93393:function(e,t,n){"use strict";n.d(t,{eR:function(){return b},h7:function(){return O},W:function(){return w}});var r=n(10558);let a=r.object({title:r.string().optional(),component:r.unknown(),props:r.record(r.string(),r.any()).optional()}),i=r.object({"request.section":r.array(a).optional(),"response.section":r.array(a).optional()}),o=r.object({onBeforeRequest:r.function({input:[r.object({request:r.any()})]}).optional(),onResponseReceived:r.function({input:[r.object({response:r.instanceof(Response),operation:r.record(r.string(),r.any())})]}).optional()}),l=r.function({input:[],output:r.object({name:r.string(),views:i.optional(),hooks:o.optional()})}),s=r.object({dashboardUrl:r.string().prefault("https://dashboard.scalar.com"),registryUrl:r.string().prefault("https://registry.scalar.com"),proxyUrl:r.string().prefault("https://proxy.scalar.com"),apiBaseUrl:r.string().prefault("https://api.scalar.com")}),u="https://api.scalar.com/request-proxy",c="https://proxy.scalar.com",d=r.object({title:r.string().optional(),slug:r.string().optional(),authentication:r.any().optional(),baseServerURL:r.string().optional(),hideClientButton:r.boolean().optional().default(!1).catch(!1),proxyUrl:r.string().optional(),oauth2RedirectUri:r.string().optional(),searchHotKey:r.enum(["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]).optional(),servers:r.array(r.any()).optional(),showSidebar:r.boolean().optional().default(!0).catch(!0),showDeveloperTools:r.enum(["always","localhost","never"]).optional().default("localhost").catch("localhost"),showToolbar:r.enum(["always","localhost","never"]).optional().default("localhost").catch("localhost"),operationTitleSource:r.enum(["summary","path"]).optional().default("summary").catch("summary"),theme:r.enum(["alternate","default","moon","purple","solarized","bluePlanet","deepSpace","saturn","kepler","elysiajs","fastify","mars","laserwave","none"]).optional().default("default").catch("default"),_integration:r.enum(["adonisjs","astro","docusaurus","dotnet","elysiajs","express","fastapi","fastify","go","hono","html","laravel","litestar","nestjs","nextjs","nitro","nuxt","platformatic","react","rust","svelte","vue"]).nullable().optional(),onRequestSent:r.function({input:[r.string()],output:r.void()}).optional(),persistAuth:r.boolean().optional().default(!1).catch(!1),plugins:r.array(l).optional(),telemetry:r.boolean().optional().default(!0),externalUrls:s.prefault({})}),p=r.object({default:r.boolean().default(!1).optional().catch(!1),url:r.string().optional(),content:r.union([r.string(),r.null(),r.record(r.string(),r.any()),r.function({input:[],output:r.record(r.string(),r.any())})]).optional(),title:r.string().optional(),slug:r.string().optional(),spec:r.object({url:r.string().optional(),content:r.union([r.string(),r.null(),r.record(r.string(),r.any()),r.function({input:[],output:r.record(r.string(),r.any())})]).optional()}).optional(),agent:r.object({key:r.string().optional(),disabled:r.boolean().optional(),hideAddApi:r.boolean().optional()}).optional()});d.extend(p.shape);let m=r.object({name:r.string().regex(/^x-/),component:r.unknown(),renderer:r.unknown().optional()}),f=r.object({component:r.unknown(),renderer:r.unknown().optional(),props:r.record(r.string(),r.any()).optional()}),h=r.object({"content.end":r.array(f).optional()}),g=r.object({onInit:r.function({input:[r.object({config:d.partial()})]}).optional(),onConfigChange:r.function({input:[r.object({config:d.partial()})]}).optional(),onDestroy:r.function({input:[]}).optional()}),v=r.function({input:[],output:r.object({name:r.string(),extensions:r.array(m),views:h.optional(),hooks:g.optional(),apiClientPlugins:r.array(r.any()).optional()})}),y=r.custom(),b=d.extend({layout:r.enum(["modern","classic"]).optional().default("modern").catch("modern"),proxy:r.string().optional(),fetch:y.optional(),plugins:r.array(v).optional(),isEditable:r.boolean().optional().default(!1).catch(!1),isLoading:r.boolean().optional().default(!1).catch(!1),hideModels:r.boolean().optional().default(!1).catch(!1),documentDownloadType:r.enum(["yaml","json","both","direct","none"]).optional().default("both").catch("both"),hideDownloadButton:r.boolean().optional(),hideTestRequestButton:r.boolean().optional().default(!1).catch(!1),hideSearch:r.boolean().optional().default(!1).catch(!1),showOperationId:r.boolean().optional().default(!1).catch(!1),darkMode:r.boolean().optional(),forceDarkModeState:r.enum(["dark","light"]).optional(),hideDarkModeToggle:r.boolean().optional().default(!1).catch(!1),metaData:r.any().optional(),favicon:r.string().optional(),hiddenClients:r.union([r.record(r.string(),r.union([r.boolean(),r.array(r.string())])),r.array(r.string()),r.literal(!0)]).optional(),defaultHttpClient:r.object({targetKey:r.custom(),clientKey:r.string()}).optional(),customCss:r.string().optional(),onSpecUpdate:r.function({input:[r.string()],output:r.void()}).optional(),onServerChange:r.function({input:[r.string()],output:r.void()}).optional(),onDocumentSelect:r.function({input:[]}).optional(),onLoaded:r.function().optional(),onBeforeRequest:r.function({input:[r.object({request:r.instanceof(Request),requestBuilder:r.unknown(),envVariables:r.record(r.string(),r.string())})]}).optional(),onShowMore:r.function({input:[r.string()]}).optional(),onSidebarClick:r.function({input:[r.string()]}).optional(),pathRouting:r.object({basePath:r.string()}).optional(),mcp:r.object({name:r.string().optional(),url:r.string().optional(),disabled:r.boolean().optional()}).optional(),generateHeadingSlug:r.function({input:[r.object({slug:r.string().default("headingSlug")})],output:r.string()}).optional(),generateModelSlug:r.function({input:[r.object({name:r.string().default("modelName")}
150)],output:r.string()}).optional(),generateTagSlug:r.function({input:[r.object({name:r.string().default("tagName")})],output:r.string()}).optional(),generateOperationSlug:r.function({input:[r.object({path:r.string(),operationId:r.string().optional(),method:r.string(),summary:r.string().optional()})],output:r.string()}).optional(),generateWebhookSlug:r.function({input:[r.object({name:r.string(),method:r.string().optional()})],output:r.string()}).optional(),redirect:r.function({input:[r.string()],output:r.string().nullable().optional()}).optional(),withDefaultFonts:r.boolean().optional().default(!0).catch(!0),defaultOpenFirstTag:r.boolean().optional().default(!0).catch(!0),defaultOpenAllTags:r.boolean().optional().default(!1).catch(!1),expandAllModelSections:r.boolean().optional().default(!1).catch(!1),expandAllResponses:r.boolean().optional().default(!1).catch(!1),tagsSorter:r.union([r.literal("alpha"),r.function({input:[r.any(),r.any()],output:r.number()})]).optional(),operationsSorter:r.union([r.literal("alpha"),r.literal("method"),r.function({input:[r.any(),r.any()],output:r.number()})]).optional(),orderSchemaPropertiesBy:r.union([r.literal("alpha"),r.literal("preserve")]).optional().default("alpha").catch("alpha"),orderRequiredPropertiesFirst:r.boolean().optional().default(!0).catch(!0)}),O=b.extend(p.shape).transform(e=>(e.hideDownloadButton&&(console.warn("[DEPRECATED] You're using the deprecated 'hideDownloadButton' attribute. Use 'documentDownloadType: 'none'' instead."),e.documentDownloadType="none"),e.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."),e.url=e.spec.url,delete e.spec),e.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."),e.content=e.spec.content,delete e.spec),e.proxy&&(console.warn("[DEPRECATED] You're using the deprecated 'proxy' attribute, rename it to 'proxyUrl' or update the package."),e.proxyUrl||(e.proxyUrl=e.proxy),delete e.proxy),e.proxyUrl===u&&(console.warn(`[DEPRECATED] Warning: configuration.proxyUrl points to our old proxy (${u}).`),console.warn(`[DEPRECATED] We are overwriting the value and use the new proxy URL (${c}) instead.`),console.warn(`[DEPRECATED] Action Required: You should manually update your configuration to use the new URL (${c}). Read more: https://github.com/scalar/scalar`),e.proxyUrl=c),e.showToolbar&&"localhost"!==e.showToolbar&&(console.warn("[DEPRECATED] You're using the deprecated 'showToolbar' attribute. Use 'showDeveloperTools' instead."),e.showDeveloperTools=e.showToolbar,delete e.showToolbar),e)),w=e=>!!(!Array.isArray(e)&&e&&"sources"in e&&Array.isArray(e.sources));r.object({cdn:r.string().optional().default("https://cdn.jsdelivr.net/npm/@scalar/api-reference"),pageTitle:r.string().optional().default("Scalar API Reference")})},10317:function(e,t,n){"use strict";n.d(t,{n:function(){return i},l:function(){return a}});var r=n(39473);let a={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"],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"]},i=(0,r.q)(a).flatMap(([e,t])=>t.map(t=>`${e}/${t}`))},10558:function(e,t,n){"use strict";n.r(t),n.d(t,{$brand:function(){return g},$input:function(){return iD},$output:function(){return iT},NEVER:function(){return f},TimePrecision:function(){return i8},ZodAny:function(){return uL},ZodArray:function(){return uX},ZodBase64:function(){return ui},ZodBase64URL:function(){return ul},ZodBigInt:function(){return uT},ZodBigIntFormat:function(){return uC},ZodBoolean:function(){return uE},ZodCIDRv4:function(){return ut},ZodCIDRv6:function(){return ur},ZodCUID:function(){return sX},ZodCUID2:function(){return sG},ZodCatch:function(){return cN},ZodCodec:function(){return cZ},ZodCustom:function(){return cK},ZodCustomStringFormat:function(){return um},ZodDate:function(){return uV},ZodDefault:function(){return cE},ZodDiscriminatedUnion:function(){return u3},ZodE164:function(){return uu},ZodEmail:function(){return sI},ZodEmoji:function(){return sH},ZodEnum:function(){return cc},ZodError:function(){return sf},ZodExactOptional:function(){return cw},ZodFile:function(){return ch},ZodFirstPartyTypeKind:function(){return a},ZodFunction:function(){return cY},ZodGUID:function(){return sU},ZodIPv4:function(){return s6},ZodIPv6:function(){return s9},ZodISODate:function(){return sl},ZodISODateTime:function(){return si}
150,ZodISODuration:function(){return sd},ZodISOTime:function(){return su},ZodIntersection:function(){return u7},ZodIssueCode:function(){return c9},ZodJWT:function(){return ud},ZodKSUID:function(){return s4},ZodLazy:function(){return cq},ZodLiteral:function(){return cm},ZodMAC:function(){return s5},ZodMap:function(){return co},ZodNaN:function(){return cM},ZodNanoID:function(){return sV},ZodNever:function(){return uF},ZodNonOptional:function(){return cC},ZodNull:function(){return uR},ZodNullable:function(){return cx},ZodNumber:function(){return uy},ZodNumberFormat:function(){return uO},ZodObject:function(){return uK},ZodOptional:function(){return cb},ZodPipe:function(){return cj},ZodPrefault:function(){return cT},ZodPromise:function(){return cW},ZodReadonly:function(){return cz},ZodRealError:function(){return sh},ZodRecord:function(){return cn},ZodSet:function(){return cs},ZodString:function(){return sC},ZodStringFormat:function(){return sP},ZodSuccess:function(){return cP},ZodSymbol:function(){return uI},ZodTemplateLiteral:function(){return cQ},ZodTransform:function(){return cv},ZodTuple:function(){return ce},ZodType:function(){return sT},ZodULID:function(){return sJ},ZodURL:function(){return sz},ZodUUID:function(){return sR},ZodUndefined:function(){return uU},ZodUnion:function(){return u2},ZodUnknown:function(){return uB},ZodVoid:function(){return uH},ZodXID:function(){return s1},ZodXor:function(){return u8},_ZodString:function(){return sD},_default:function(){return cA},_function:function(){return cG},any:function(){return uZ},array:function(){return uY},base64:function(){return uo},base64url:function(){return us},bigint:function(){return uD},boolean:function(){return uA},catch:function(){return cU},check:function(){return cJ},cidrv4:function(){return un},cidrv6:function(){return ua},clone:function(){return ee},codec:function(){return cB},coerce:function(){return m},config:function(){return O},core:function(){return u},cuid:function(){return sY},cuid2:function(){return sK},custom:function(){return c0},date:function(){return uW},decode:function(){return sw},decodeAsync:function(){return sx},describe:function(){return c4},discriminatedUnion:function(){return u5},e164:function(){return uc},email:function(){return sN},emoji:function(){return sq},encode:function(){return sO},encodeAsync:function(){return sk},endsWith:function(){return oz},enum:function(){return cd},exactOptional:function(){return ck},file:function(){return cg},flattenError:function(){return eI},float32:function(){return uk},float64:function(){return ux},formatError:function(){return eN},fromJSONSchema:function(){return da},function:function(){return cG},getErrorMap:function(){return dt},globalRegistry:function(){return iP},gt:function(){return oS},gte:function(){return o_},guid:function(){return sM},hash:function(){return uv},hex:function(){return ug},hostname:function(){return uh},httpUrl:function(){return sQ},includes:function(){return oZ},instanceof:function(){return c6},int:function(){return uw},int32:function(){return uS},int64:function(){return u$},intersection:function(){return u9},ipv4:function(){return s3},ipv6:function(){return ue},iso:function(){return d},json:function(){return c5},jwt:function(){return up},keyof:function(){return uG},ksuid:function(){return s8},lazy:function(){return cV},length:function(){return oM},literal:function(){return cf},locales:function(){return l},looseObject:function(){return u1},looseRecord:function(){return ci},lowercase:function(){return oj},lt:function(){return ok},lte:function(){return ox},mac:function(){return s7},map:function(){return cl},maxLength:function(){return oN},maxSize:function(){return o$},meta:function(){return c8},mime:function(){return oQ},minLength:function(){return oU},minSize:function(){return oP},multipleOf:function(){return oC},nan:function(){return cR},nanoid:function(){return sW},nativeEnum:function(){return cp},negative:function(){return oA},never:function(){return uQ},nonnegative:function(){return oD},nonoptional:function(){return c$},nonpositive:function(){return oT},normalize:function(){return oq},null:function(){return uj},nullable:function(){return cS},nullish:function(){return c_},number:function(){return ub},object:function(){return uJ},optional:function(){return cO},overwrite:function(){return oH},parse:function(){return sg},parseAsync:function(){return sv},partialRecord:function(){return ca},pipe:function(){return cL},positive:function(){return oE},prefault:function(){return cD},preprocess:function(){return c7},prettifyError:function(){return eR},promise:function(){return cX},property:function(){return oF},readonly:function(){return cF},record:function(){return cr},refine:function(){return c1},regex:function(){return oR},regexes:function(){return o},registry:function(){return i$},safeDecode:function(){return s_},safeDecodeAsync:function(){return sA},safeEncode:function(){return sS},safeEncodeAsync:function(){return sE},safeParse:function(){return sy},safeParseAsync:function(){return sb},set:function(){return cu},setErrorMap:function(){return de},size:function(){return oI},slugify:function(){return oY},startsWith:function(){return oB},strictObject:function(){return u0},string:function(){return s$},stringFormat:function(){return uf},stringbool:function(){return c3},success:function(){return cI},superRefine:function(){return c2},symbol:function(){return uN}
150,templateLiteral:function(){return cH},toJSONSchema:function(){return sr},toLowerCase:function(){return oW},toUpperCase:function(){return oX},transform:function(){return cy},treeifyError:function(){return eU},trim:function(){return oV},tuple:function(){return ct},uint32:function(){return u_},uint64:function(){return uP},ulid:function(){return s0},undefined:function(){return uM},union:function(){return u4},unknown:function(){return uz},uppercase:function(){return oL},url:function(){return sF},util:function(){return i},uuid:function(){return sj},uuidv4:function(){return sL},uuidv6:function(){return sZ},uuidv7:function(){return sB},void:function(){return uq},xid:function(){return s2},xor:function(){return u6}});var r,a,i={};n.r(i),n.d(i,{BIGINT_FORMAT_RANGES:function(){return eo},Class:function(){return eD},NUMBER_FORMAT_RANGES:function(){return ei},aborted:function(){return ef},allowsEval:function(){return q},assert:function(){return _},assertEqual:function(){return w},assertIs:function(){return x},assertNever:function(){return S},assertNotEqual:function(){return k},assignProp:function(){return M},base64ToUint8Array:function(){return ex},base64urlToUint8Array:function(){return e_},cached:function(){return D},captureStackTrace:function(){return Q},cleanEnum:function(){return ek},cleanRegex:function(){return $},clone:function(){return ee},cloneDef:function(){return j},createTransparentProxy:function(){return en},defineLazy:function(){return N},esc:function(){return z},escapeRegex:function(){return J},extend:function(){return eu},finalizeIssue:function(){return ev},floatSafeRemainder:function(){return P},getElementAtPath:function(){return L},getEnumValues:function(){return E},getLengthableOrigin:function(){return eb},getParsedType:function(){return Y},getSizableOrigin:function(){return ey},hexToUint8Array:function(){return eA},isObject:function(){return H},isPlainObject:function(){return V},issue:function(){return ew},joinValues:function(){return A},jsonStringifyReplacer:function(){return T},merge:function(){return ed},mergeDefs:function(){return R},normalizeParams:function(){return et},nullish:function(){return C},numKeys:function(){return X},objectClone:function(){return U},omit:function(){return es},optionalKeys:function(){return ea},parsedType:function(){return eO},partial:function(){return ep},pick:function(){return el},prefixIssues:function(){return eh},primitiveTypes:function(){return K},promiseAllObject:function(){return Z},propertyKeyTypes:function(){return G},randomString:function(){return B},required:function(){return em},safeExtend:function(){return ec},shallowClone:function(){return W},slugify:function(){return F},stringifyPrimitive:function(){return er},uint8ArrayToBase64:function(){return eS},uint8ArrayToBase64url:function(){return eE},uint8ArrayToHex:function(){return eT},unwrapMessage:function(){return eg}});var o={};n.r(o),n.d(o,{base64:function(){return tx},base64url:function(){return tS},bigint:function(){return tN},boolean:function(){return tR},browserEmail:function(){return tg},cidrv4:function(){return tw},cidrv6:function(){return tk},cuid:function(){return e7},cuid2:function(){return e9},date:function(){return tD},datetime:function(){return tP},domain:function(){return tE},duration:function(){return ta},e164:function(){return tA},email:function(){return td},emoji:function(){return tv},extendedDuration:function(){return ti},guid:function(){return to},hex:function(){return tz},hostname:function(){return t_},html5Email:function(){return tp},idnEmail:function(){return th},integer:function(){return tU},ipv4:function(){return ty},ipv6:function(){return tb},ksuid:function(){return tn},lowercase:function(){return tZ},mac:function(){return tO},md5_base64:function(){return tq},md5_base64url:function(){return tV},md5_hex:function(){return tH},nanoid:function(){return tr},null:function(){return tj},number:function(){return tM},rfc5322Email:function(){return tm},sha1_base64:function(){return tX},sha1_base64url:function(){return tY},sha1_hex:function(){return tW},sha256_base64:function(){return tK},sha256_base64url:function(){return tJ},sha256_hex:function(){return tG},sha384_base64:function(){return t1},sha384_base64url:function(){return t2},sha384_hex:function(){return t0},sha512_base64:function(){return t8},sha512_base64url:function(){return t6},sha512_hex:function(){return t4},string:function(){return tI},time:function(){return t$},ulid:function(){return te},undefined:function(){return tL},unicodeEmail:function(){return tf},uppercase:function(){return tB},uuid:function(){return tl},uuid4:function(){return ts},uuid6:function(){return tu},uuid7:function(){return tc},xid:function(){return tt}});var l={};n.r(l),n.d(l,{ar:function(){return rJ},az:function(){return r1},be:function(){return r8},bg:function(){return r3},ca:function(){return r7},cs:function(){return ae},da:function(){return an},de:function(){return aa},en:function(){return ao},eo:function(){return as},es:function(){return ac},fa:function(){return ap},fi:function(){return af},fr:function(){return ag},frCA:function(){return ay},he:function(){return aO},hu:function(){return ak},hy:function(){return aE},id:function(){return aT},is:function(){return aC},it:function(){return aP},ja:function(){return aN},ka:function(){return aM},kh:function(){return aL},km:function(){return aj},ko:function(){return aB},lt:function(){return aH},mk:function(){return aV},ms:function(){return aX},nl:function(){return aG},no:function(){return aJ},ota:function(){return a1},pl:function(){return a6},ps:function(){return a4},pt:function(){return a5},ru:function(){return ie},sl:function(){return ir},sv:function(){return ii},ta:function(){return il},th:function(){return iu},tr:function(){return id},ua:function(){return ih},uk:function(){return im},ur:function(){return iv},uz:function(){return ib},vi:function(){return iw},yo:function(){return iA},zhCN:function(){return ix},zhTW:function(){return i_}}
150);var s={};n.r(s);var u={};n.r(u),n.d(u,{$ZodAny:function(){return n5},$ZodArray:function(){return rr},$ZodAsyncError:function(){return v},$ZodBase64:function(){return nq},$ZodBase64URL:function(){return nW},$ZodBigInt:function(){return n2},$ZodBigIntFormat:function(){return n4},$ZodBoolean:function(){return n1},$ZodCIDRv4:function(){return nF},$ZodCIDRv6:function(){return nQ},$ZodCUID:function(){return n$},$ZodCUID2:function(){return nP},$ZodCatch:function(){return rR},$ZodCheck:function(){return t3},$ZodCheckBigIntFormat:function(){return nn},$ZodCheckEndsWith:function(){return nh},$ZodCheckGreaterThan:function(){return t9},$ZodCheckIncludes:function(){return nm},$ZodCheckLengthEquals:function(){return ns},$ZodCheckLessThan:function(){return t7},$ZodCheckLowerCase:function(){return nd},$ZodCheckMaxLength:function(){return no},$ZodCheckMaxSize:function(){return nr},$ZodCheckMimeType:function(){return ny},$ZodCheckMinLength:function(){return nl},$ZodCheckMinSize:function(){return na},$ZodCheckMultipleOf:function(){return ne},$ZodCheckNumberFormat:function(){return nt},$ZodCheckOverwrite:function(){return nb},$ZodCheckProperty:function(){return nv},$ZodCheckRegex:function(){return nc},$ZodCheckSizeEquals:function(){return ni},$ZodCheckStartsWith:function(){return nf},$ZodCheckStringFormat:function(){return nu},$ZodCheckUpperCase:function(){return np},$ZodCodec:function(){return rB},$ZodCustom:function(){return rY},$ZodCustomStringFormat:function(){return nK},$ZodDate:function(){return rt},$ZodDefault:function(){return r$},$ZodDiscriminatedUnion:function(){return rm},$ZodE164:function(){return nX},$ZodEmail:function(){return nA},$ZodEmoji:function(){return nD},$ZodEncodeError:function(){return y},$ZodEnum:function(){return rx},$ZodError:function(){return e$},$ZodExactOptional:function(){return rD},$ZodFile:function(){return r_},$ZodFunction:function(){return rV},$ZodGUID:function(){return n_},$ZodIPv4:function(){return nZ},$ZodIPv6:function(){return nB},$ZodISODate:function(){return nR},$ZodISODateTime:function(){return nM},$ZodISODuration:function(){return nL},$ZodISOTime:function(){return nj},$ZodIntersection:function(){return rf},$ZodJWT:function(){return nG},$ZodKSUID:function(){return nU},$ZodLazy:function(){return rX},$ZodLiteral:function(){return rS},$ZodMAC:function(){return nz},$ZodMap:function(){return rb},$ZodNaN:function(){return rj},$ZodNanoID:function(){return nC},$ZodNever:function(){return n9},$ZodNonOptional:function(){return rN},$ZodNull:function(){return n3},$ZodNullable:function(){return rC},$ZodNumber:function(){return nJ},$ZodNumberFormat:function(){return n0},$ZodObject:function(){return rl},$ZodObjectJIT:function(){return rs},$ZodOptional:function(){return rT},$ZodPipe:function(){return rL},$ZodPrefault:function(){return rI},$ZodPromise:function(){return rW},$ZodReadonly:function(){return rQ},$ZodRealError:function(){return eP},$ZodRecord:function(){return ry},$ZodRegistry:function(){return iC},$ZodSet:function(){return rw},$ZodString:function(){return nx},$ZodStringFormat:function(){return nS},$ZodSuccess:function(){return rM},$ZodSymbol:function(){return n8},$ZodTemplateLiteral:function(){return rq},$ZodTransform:function(){return rE},$ZodTuple:function(){return rg},$ZodType:function(){return nk},$ZodULID:function(){return nI},$ZodURL:function(){return nT},$ZodUUID:function(){return nE},$ZodUndefined:function(){return n6},$ZodUnion:function(){return rc},$ZodUnknown:function(){return n7},$ZodVoid:function(){return re},$ZodXID:function(){return nN},$ZodXor:function(){return rp},$brand:function(){return g},$constructor:function(){return h},$input:function(){return iD},$output:function(){return iT},Doc:function(){return nO},JSONSchema:function(){return s},JSONSchemaGenerator:function(){return sa},NEVER:function(){return f},TimePrecision:function(){return i8},_any:function(){return oh},_array:function(){return oG},_base64:function(){return i0},_base64url:function(){return i1},_bigint:function(){return os},_boolean:function(){return oo},_catch:function(){return lo},_check:function(){return lh},_cidrv4:function(){return iK},_cidrv6:function(){return iJ},_coercedBigint:function(){return ou},_coercedBoolean:function(){return ol},_coercedDate:function(){return oO},_coercedNumber:function(){return oe},_coercedString:function(){return iN},_cuid:function(){return iQ},_cuid2:function(){return iH},_custom:function(){return lp},_date:function(){return ob},_decode:function(){return eW},_decodeAsync:function(){return eK},_default:function(){return lr},_discriminatedUnion:function(){return o0},_e164:function(){return i2},_email:function(){return iU},_emoji:function(){return iz},_encode:function(){return eq},_encodeAsync:function(){return eY},_endsWith:function(){return oz},_enum:function(){return o3},_file:function(){return o9},_float32:function(){return on},_float64:function(){return or},_gt:function(){return oS},_gte:function(){return o_},_guid:function(){return iM},_includes:function(){return oZ},_int:function(){return ot},_int32:function(){return oa},_int64:function(){return oc},_intersection:function(){return o1},_ipv4:function(){return iX},_ipv6:function(){return iY},_isoDate:function(){return i3},_isoDateTime:function(){return i6},_isoDuration:function(){return i7},_isoTime:function(){return i5},_jwt:function(){return i4},_ksuid:function(){return iW},_lazy:function(){return lc},_length:function(){return oM},_literal:function(){return o7},_lowercase:function(){return oj},_lt:function(){return ok},_lte:function(){return ox},_mac:function(){return iG},_map:function(){return o8},_max:function(){return ox},_maxLength:function(){return oN},_maxSize:function(){return o$},_mime:function(){return oQ},_min:function(){return o_},_minLength:function(){return oU},_minSize:function(){return oP},_multipleOf:function(){return oC},_nan:function(){return ow},_nanoid:function(){return iF},_nativeEnum:function(){return o5},_negative:function(){return oA},_never:function(){return ov},_nonnegative:function(){return oD},_nonoptional:function(){return la},_nonpositive:function(){return oT},_normalize:function(){return oq},_null:function(){return of},_nullable:function(){return ln},_number:function(){return i9},_optional:function(){return lt},_overwrite:function(){return oH},_parse:function(){return ej},_parseAsync:function(){return eZ},_pipe:function(){return ll},_positive:function(){return oE},_promise:function(){return ld},_property:function(){return oF},_readonly:function(){return ls},_record:function(){return o4},_refine:function(){return lm},_regex:function(){return oR},_safeDecode:function(){return e2},_safeDecodeAsync:function(){return e3},_safeEncode:function(){return e0},_safeEncodeAsync:function(){return e8},_safeParse:function(){return ez},_safeParseAsync:function(){return eQ},_set:function(){return o6},_size:function(){return oI},_slugify:function(){return oY},_startsWith:function(){return oB},_string:function(){return iI}
150,_stringFormat:function(){return lb},_stringbool:function(){return ly},_success:function(){return li},_superRefine:function(){return lf},_symbol:function(){return op},_templateLiteral:function(){return lu},_toLowerCase:function(){return oW},_toUpperCase:function(){return oX},_transform:function(){return le},_trim:function(){return oV},_tuple:function(){return o2},_uint32:function(){return oi},_uint64:function(){return od},_ulid:function(){return iq},_undefined:function(){return om},_union:function(){return oK},_unknown:function(){return og},_uppercase:function(){return oL},_url:function(){return iB},_uuid:function(){return iR},_uuidv4:function(){return ij},_uuidv6:function(){return iL},_uuidv7:function(){return iZ},_void:function(){return oy},_xid:function(){return iV},_xor:function(){return oJ},clone:function(){return ee},config:function(){return O},createStandardJSONSchemaMethod:function(){return l_},createToJSONSchemaMethod:function(){return lS},decode:function(){return eX},decodeAsync:function(){return eJ},describe:function(){return lg},encode:function(){return eV},encodeAsync:function(){return eG},extractDefs:function(){return lk},finalize:function(){return lx},flattenError:function(){return eI},formatError:function(){return eN},globalConfig:function(){return b},globalRegistry:function(){return iP},initializeContext:function(){return lO},isValidBase64:function(){return nH},isValidBase64URL:function(){return nV},isValidJWT:function(){return nY},locales:function(){return l},meta:function(){return lv},parse:function(){return eL},parseAsync:function(){return eB},prettifyError:function(){return eR},process:function(){return lw},regexes:function(){return o},registry:function(){return i$},safeDecode:function(){return e4},safeDecodeAsync:function(){return e5},safeEncode:function(){return e1},safeEncodeAsync:function(){return e6},safeParse:function(){return eF},safeParseAsync:function(){return eH},toDotPath:function(){return eM},toJSONSchema:function(){return sr},treeifyError:function(){return eU},util:function(){return i},version:function(){return nw}});var c={};n.r(c),n.d(c,{endsWith:function(){return oz},gt:function(){return oS},gte:function(){return o_},includes:function(){return oZ},length:function(){return oM},lowercase:function(){return oj},lt:function(){return ok},lte:function(){return ox},maxLength:function(){return oN},maxSize:function(){return o$},mime:function(){return oQ},minLength:function(){return oU},minSize:function(){return oP},multipleOf:function(){return oC},negative:function(){return oA},nonnegative:function(){return oD},nonpositive:function(){return oT},normalize:function(){return oq},overwrite:function(){return oH},positive:function(){return oE},property:function(){return oF},regex:function(){return oR},size:function(){return oI},slugify:function(){return oY},startsWith:function(){return oB},toLowerCase:function(){return oW},toUpperCase:function(){return oX},trim:function(){return oV},uppercase:function(){return oL}});var d={};n.r(d),n.d(d,{ZodISODate:function(){return sl},ZodISODateTime:function(){return si},ZodISODuration:function(){return sd},ZodISOTime:function(){return su},date:function(){return ss},datetime:function(){return so},duration:function(){return sp},time:function(){return sc}});var p={};n.r(p),n.d(p,{ZodAny:function(){return uL},ZodArray:function(){return uX},ZodBase64:function(){return ui},ZodBase64URL:function(){return ul},ZodBigInt:function(){return uT},ZodBigIntFormat:function(){return uC},ZodBoolean:function(){return uE},ZodCIDRv4:function(){return ut},ZodCIDRv6:function(){return ur},ZodCUID:function(){return sX},ZodCUID2:function(){return sG},ZodCatch:function(){return cN},ZodCodec:function(){return cZ},ZodCustom:function(){return cK},ZodCustomStringFormat:function(){return um},ZodDate:function(){return uV},ZodDefault:function(){return cE},ZodDiscriminatedUnion:function(){return u3},ZodE164:function(){return uu},ZodEmail:function(){return sI},ZodEmoji:function(){return sH},ZodEnum:function(){return cc},ZodExactOptional:function(){return cw},ZodFile:function(){return ch},ZodFunction:function(){return cY},ZodGUID:function(){return sU},ZodIPv4:function(){return s6},ZodIPv6:function(){return s9},ZodIntersection:function(){return u7},ZodJWT:function(){return ud},ZodKSUID:function(){return s4},ZodLazy:function(){return cq},ZodLiteral:function(){return cm},ZodMAC:function(){return s5},ZodMap:function(){return co},ZodNaN:function(){return cM},ZodNanoID:function(){return sV},ZodNever:function(){return uF},ZodNonOptional:function(){return cC},ZodNull:function(){return uR},ZodNullable:function(){return cx},ZodNumber:function(){return uy},ZodNumberFormat:function(){return uO},ZodObject:function(){return uK},ZodOptional:function(){return cb},ZodPipe:function(){return cj},ZodPrefault:function(){return cT},ZodPromise:function(){return cW},ZodReadonly:function(){return cz},ZodRecord:function(){return cn},ZodSet:function(){return cs},ZodString:function(){return sC},ZodStringFormat:function(){return sP},ZodSuccess:function(){return cP},ZodSymbol:function(){return uI}
150,ZodTemplateLiteral:function(){return cQ},ZodTransform:function(){return cv},ZodTuple:function(){return ce},ZodType:function(){return sT},ZodULID:function(){return sJ},ZodURL:function(){return sz},ZodUUID:function(){return sR},ZodUndefined:function(){return uU},ZodUnion:function(){return u2},ZodUnknown:function(){return uB},ZodVoid:function(){return uH},ZodXID:function(){return s1},ZodXor:function(){return u8},_ZodString:function(){return sD},_default:function(){return cA},_function:function(){return cG},any:function(){return uZ},array:function(){return uY},base64:function(){return uo},base64url:function(){return us},bigint:function(){return uD},boolean:function(){return uA},catch:function(){return cU},check:function(){return cJ},cidrv4:function(){return un},cidrv6:function(){return ua},codec:function(){return cB},cuid:function(){return sY},cuid2:function(){return sK},custom:function(){return c0},date:function(){return uW},describe:function(){return c4},discriminatedUnion:function(){return u5},e164:function(){return uc},email:function(){return sN},emoji:function(){return sq},enum:function(){return cd},exactOptional:function(){return ck},file:function(){return cg},float32:function(){return uk},float64:function(){return ux},function:function(){return cG},guid:function(){return sM},hash:function(){return uv},hex:function(){return ug},hostname:function(){return uh},httpUrl:function(){return sQ},instanceof:function(){return c6},int:function(){return uw},int32:function(){return uS},int64:function(){return u$},intersection:function(){return u9},ipv4:function(){return s3},ipv6:function(){return ue},json:function(){return c5},jwt:function(){return up},keyof:function(){return uG},ksuid:function(){return s8},lazy:function(){return cV},literal:function(){return cf},looseObject:function(){return u1},looseRecord:function(){return ci},mac:function(){return s7},map:function(){return cl},meta:function(){return c8},nan:function(){return cR},nanoid:function(){return sW},nativeEnum:function(){return cp},never:function(){return uQ},nonoptional:function(){return c$},null:function(){return uj},nullable:function(){return cS},nullish:function(){return c_},number:function(){return ub},object:function(){return uJ},optional:function(){return cO},partialRecord:function(){return ca},pipe:function(){return cL},prefault:function(){return cD},preprocess:function(){return c7},promise:function(){return cX},readonly:function(){return cF},record:function(){return cr},refine:function(){return c1},set:function(){return cu},strictObject:function(){return u0},string:function(){return s$},stringFormat:function(){return uf},stringbool:function(){return c3},success:function(){return cI},superRefine:function(){return c2},symbol:function(){return uN},templateLiteral:function(){return cH},transform:function(){return cy},tuple:function(){return ct},uint32:function(){return u_},uint64:function(){return uP},ulid:function(){return s0},undefined:function(){return uM},union:function(){return u4},unknown:function(){return uz},url:function(){return sF},uuid:function(){return sj},uuidv4:function(){return sL},uuidv6:function(){return sZ},uuidv7:function(){return sB},void:function(){return uq},xid:function(){return s2},xor:function(){return u6}});var m={};n.r(m),n.d(m,{bigint:function(){return du},boolean:function(){return ds},date:function(){return dc},number:function(){return dl},string:function(){return di}});let f=Object.freeze({status:"aborted"});function h(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,"_zod",{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let a=o.prototype,i=Object.keys(a);for(let e=0;e<i.length;e++){let t=i[e];t in n||(n[t]=a[t].bind(n))}}let a=n?.Parent??Object;class i extends a{}function o(e){var t;let a=n?.Parent?new i:this;for(let n of(r(a,e),(t=a._zod).deferred??(t.deferred=[]),a._zod.deferred))n();return a}return Object.defineProperty(i,"name",{value:e}),Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>!!n?.Parent&&t instanceof n.Parent||t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}let g=Symbol("zod_brand");
150class v extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class y extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}let b={};function O(e){return e&&Object.assign(b,e),b}function w(e){return e}function k(e){return e}function x(e){}function S(e){throw Error("Unexpected value in exhaustive check")}function _(e){}function E(e){let t=Object.values(e).filter(e=>"number"==typeof e);return Object.entries(e).filter(([e,n])=>-1===t.indexOf(+e)).map(([e,t])=>t)}function A(e,t="|"){return e.map(e=>er(e)).join(t)}function T(e,t){return"bigint"==typeof t?t.toString():t}function D(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function C(e){return null==e}function $(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function P(e,t){let n=(e.toString().split(".")[1]||"").length,r=t.toString(),a=(r.split(".")[1]||"").length;if(0===a&&/\d?e-\d?/.test(r)){let e=r.match(/\d?e-(\d?)/);e?.[1]&&(a=Number.parseInt(e[1]))}let i=n>a?n:a;return Number.parseInt(e.toFixed(i).replace(".",""))%Number.parseInt(t.toFixed(i).replace(".",""))/10**i}let I=Symbol("evaluating");function N(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==I)return void 0===r&&(r=I,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function U(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function M(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function R(...e){let t={};for(let n of e)Object.assign(t,Object.getOwnPropertyDescriptors(n));return Object.defineProperties({},t)}function j(e){return R(e._zod.def)}function L(e,t){return t?t.reduce((e,t)=>e?.[t],e):e}function Z(e){let t=Object.keys(e);return Promise.all(t.map(t=>e[t])).then(e=>{let n={};for(let r=0;r<t.length;r++)n[t[r]]=e[r];return n})}function B(e=10){let t="abcdefghijklmnopqrstuvwxyz",n="";for(let r=0;r<e;r++)n+=t[Math.floor(Math.random()*t.length)];return n}function z(e){return JSON.stringify(e)}function F(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}let Q="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function H(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}let q=D(()=>{if("undefined"!=typeof navigator&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return Function(""),!0}catch(e){return!1}});function V(e){if(!1===H(e))return!1;let t=e.constructor;if(void 0===t||"function"!=typeof t)return!0;let n=t.prototype;return!1!==H(n)&&!1!==Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")}function W(e){return V(e)?{...e}:Array.isArray(e)?[...e]:e}function X(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}let Y=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return"promise";if("undefined"!=typeof Map&&e instanceof Map)return"map";if("undefined"!=typeof Set&&e instanceof Set)return"set";if("undefined"!=typeof Date&&e instanceof Date)return"date";if("undefined"!=typeof File&&e instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${t}`)}},G=new Set(["string","number","symbol"]),K=new Set(["string","number","bigint","boolean","symbol","undefined"]);function J(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ee(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function et(e){if(!e)return{};if("string"==typeof e)return{error:()=>e};if(e?.message!==void 0){if(e?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");e.error=e.message}return(delete e.message,"string"==typeof e.error)?{...e,error:()=>e.error}:e}function en(e){let t;return new Proxy({},{get:(n,r,a)=>
150(t??(t=e()),Reflect.get(t,r,a)),set:(n,r,a,i)=>(t??(t=e()),Reflect.set(t,r,a,i)),has:(n,r)=>(t??(t=e()),Reflect.has(t,r)),deleteProperty:(n,r)=>(t??(t=e()),Reflect.deleteProperty(t,r)),ownKeys:n=>(t??(t=e()),Reflect.ownKeys(t)),getOwnPropertyDescriptor:(n,r)=>(t??(t=e()),Reflect.getOwnPropertyDescriptor(t,r)),defineProperty:(n,r,a)=>(t??(t=e()),Reflect.defineProperty(t,r,a))})}function er(e){return"bigint"==typeof e?e.toString()+"n":"string"==typeof e?`"${e}"`:`${e}`}function ea(e){return Object.keys(e).filter(t=>"optional"===e[t]._zod.optin&&"optional"===e[t]._zod.optout)}let ei={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},eo={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function el(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let a=R(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=n.shape[r])}return M(this,"shape",e),e},checks:[]});return ee(e,a)}function es(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let a=R(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return M(this,"shape",r),r},checks:[]});return ee(e,a)}function eu(e,t){if(!V(t))throw Error("Invalid input to extend: expected a plain object");let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(void 0!==Object.getOwnPropertyDescriptor(n,e))throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let r=R(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return M(this,"shape",n),n}});return ee(e,r)}function ec(e,t){if(!V(t))throw Error("Invalid input to safeExtend: expected a plain object");let n=R(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return M(this,"shape",n),n}});return ee(e,n)}function ed(e,t){let n=R(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return M(this,"shape",n),n},get catchall(){return t._zod.def.catchall},checks:[]});return ee(e,n)}function ep(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let a=R(t._zod.def,{get shape(){let r=t._zod.def.shape,a={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: "${t}"`);n[t]&&(a[t]=e?new e({type:"optional",innerType:r[t]}):r[t])}else for(let t in r)a[t]=e?new e({type:"optional",innerType:r[t]}):r[t];return M(this,"shape",a),a},checks:[]});return ee(t,a)}function em(e,t,n){let r=R(t._zod.def,{get shape(){let r=t._zod.def.shape,a={...r};if(n)for(let t in n){if(!(t in a))throw Error(`Unrecognized key: "${t}"`);n[t]&&(a[t]=new e({type:"nonoptional",innerType:r[t]}))}else for(let t in r)a[t]=new e({type:"nonoptional",innerType:r[t]});return M(this,"shape",a),a}});return ee(t,r)}function ef(e,t=0){if(!0===e.aborted)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function eh(e,t){return t.map(t=>(t.path??(t.path=[]),t.path.unshift(e),t))}function eg(e){return"string"==typeof e?e:e?.message}function ev(e,t,n){let r={...e,path:e.path??[]};if(!e.message){let a=eg(e.inst?._zod.def?.error?.(e))??eg(t?.error?.(e))??eg(n.customError?.(e))??eg(n.localeError?.(e))??"Invalid input";r.message=a}return delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function ey(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function eb(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}function eO(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":if(null===e)return"null";if(Array.isArray(e))return"array";if(e&&Object.getPrototypeOf(e)!==Object.prototype&&"constructor"in e&&e.constructor)return e.constructor.name}return t}function ew(...e){let[t,n,r]=e;return"string"==typeof t?{message:t,code:"custom",input:n,inst:r}:{...t}}function ek(e){return Object.entries(e).filter(([e,t])=>Number.isNaN(Number.parseInt(e,10))).map(e=>e[1])}function ex(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}function eS(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function e_(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),n="=".repeat((4-t.length%4)%4);return ex(t+n)}function eE(e){return eS(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function eA(e){let t=e.replace(/^0x/,"");if(t.length%2!=0)throw Error("Invalid hex string length");let n=new Uint8Array(t.length/2);for(let e=0;e<t.length;e+=2)n[e/2]=Number.parseInt(t.slice(e,e+2),16);return n}function eT(e){return Array.from(e).map(e=>e.toString(16).padStart(2,"0")).join("")}class eD{constructor(...e){}}let eC=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,T,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},e$=h("$ZodError",eC),eP=h("$ZodError",eC,{Parent:Error});function eI(e,t=e=>e.message){let n={},r=[];for(let a of e.issues)a.path.length>0?(n[a.path[0]]=n[a.path[0]]||[],n[a.path[0]].push(t(a))):r.push(t(a));return{formErrors:r,fieldErrors:n}}function eN(e,t=e=>e.message){let n={_errors:[]},r=e=>{for(let a of e.issues)if("invalid_union"===a.code&&a.errors.length)a.errors.map(e=>r({issues:e}));else if("invalid_key"===a.code)r({issues:a.issues});else if("invalid_element"===a.code)r({issues:a.issues});else if(0===a.path.length)n._errors.push(t(a));else{let e=n,r=0;for(;r<a.path.length;){let n=a.path[r];r===a.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(a))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(e),n}function eU(e,t=e=>e.message){let n={errors:[]},r=(e,a=[])=>{var i,o;for(let l of e.issues)if("invalid_union"===l.code&&l.errors.length)l.errors.map(e=>r({issues:e},l.path));else if("invalid_key"===l.code)r({issues:l.issues},l.path);else if("invalid_element"===l.code)r({issues:l.issues},l.path);else{let e=[...a,...l.path];if(0===e.length){n.errors.push(t(l));continue}let r=n,s=0;for(;s<e.length;){let n=e[s],a=s===e.length-1;"string"==typeof n?(r.properties??(r.properties={}),(i=r.properties)[n]??(i[n]={errors:[]}),r=r.properties[n]):(r.items??(r.items=[]),(o=r.items)[n]??(o[n]={errors:[]}),r=r.items[n]),a&&r.errors.push(t(l)),s++}}};return r(e),n}function eM(e){let t=[];for(let n of e.map(e=>"object"==typeof e?e.key:e))"number"==typeof n?t.push(`[${n}]`):"symbol"==typeof n?t.push(`[${JSON.stringify(String(n))}]`):/[^\w$]/.test(n)?t.push(`[${JSON.stringify(n)}]`):(t.length&&t.push("."),t.push(n));return t.join("")}function eR(e){let t=[];for(let n of[...e.issues].sort((e,t)=>
150(e.path??[]).length-(t.path??[]).length))t.push(`â ${n.message}`),n.path?.length&&t.push(` â at ${eM(n.path)}`);return t.join("\n")}let ej=e=>(t,n,r,a)=>{let i=r?Object.assign(r,{async:!1}):{async:!1},o=t._zod.run({value:n,issues:[]},i);if(o instanceof Promise)throw new v;if(o.issues.length){let t=new(a?.Err??e)(o.issues.map(e=>ev(e,i,O())));throw Q(t,a?.callee),t}return o.value},eL=ej(eP),eZ=e=>async(t,n,r,a)=>{let i=r?Object.assign(r,{async:!0}):{async:!0},o=t._zod.run({value:n,issues:[]},i);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new(a?.Err??e)(o.issues.map(e=>ev(e,i,O())));throw Q(t,a?.callee),t}return o.value},eB=eZ(eP),ez=e=>(t,n,r)=>{let a=r?{...r,async:!1}:{async:!1},i=t._zod.run({value:n,issues:[]},a);if(i instanceof Promise)throw new v;return i.issues.length?{success:!1,error:new(e??e$)(i.issues.map(e=>ev(e,a,O())))}:{success:!0,data:i.value}},eF=ez(eP),eQ=e=>async(t,n,r)=>{let a=r?Object.assign(r,{async:!0}):{async:!0},i=t._zod.run({value:n,issues:[]},a);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(e=>ev(e,a,O())))}:{success:!0,data:i.value}},eH=eQ(eP),eq=e=>(t,n,r)=>{let a=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return ej(e)(t,n,a)},eV=eq(eP),eW=e=>(t,n,r)=>ej(e)(t,n,r),eX=eW(eP),eY=e=>async(t,n,r)=>{let a=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return eZ(e)(t,n,a)},eG=eY(eP),eK=e=>async(t,n,r)=>eZ(e)(t,n,r),eJ=eK(eP),e0=e=>(t,n,r)=>{let a=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return ez(e)(t,n,a)},e1=e0(eP),e2=e=>(t,n,r)=>ez(e)(t,n,r),e4=e2(eP),e8=e=>async(t,n,r)=>{let a=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return eQ(e)(t,n,a)},e6=e8(eP),e3=e=>async(t,n,r)=>eQ(e)(t,n,r),e5=e3(eP),e7=/^[cC][^\s-]{8,}$/,e9=/^[0-9a-z]+$/,te=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,tt=/^[0-9a-vA-V]{20}$/,tn=/^[A-Za-z0-9]{27}$/,tr=/^[a-zA-Z0-9_-]{21}$/,ta=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,ti=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,to=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,tl=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,ts=tl(4),tu=tl(6),tc=tl(7),td=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,tp=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,tm=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,tf=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,th=tf,tg=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function tv(){return RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")}let ty=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,tb=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,tO=e=>{let t=J(e??":");return RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},tw=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,tk=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,tx=/^$|^(?:[0-9a-zA-Z+/]{4}
150)*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,tS=/^[A-Za-z0-9_-]*$/,t_=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,tE=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,tA=/^\+[1-9]\d{6,14}$/,tT="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",tD=RegExp(`^${tT}$`);function tC(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return"number"==typeof e.precision?-1===e.precision?`${t}`:0===e.precision?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function t$(e){return RegExp(`^${tC(e)}$`)}function tP(e){let t=tC({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let r=`${t}(?:${n.join("|")})`;return RegExp(`^${tT}T(?:${r})$`)}let tI=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return RegExp(`^${t}$`)},tN=/^-?\d+n?$/,tU=/^-?\d+$/,tM=/^-?\d+(?:\.\d+)?$/,tR=/^(?:true|false)$/i,tj=/^null$/i,tL=/^undefined$/i,tZ=/^[^A-Z]*$/,tB=/^[^a-z]*$/,tz=/^[0-9a-fA-F]*$/;function tF(e,t){return RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function tQ(e){return RegExp(`^[A-Za-z0-9_-]{${e}}$`)}let tH=/^[0-9a-fA-F]{32}$/,tq=tF(22,"=="),tV=tQ(22),tW=/^[0-9a-fA-F]{40}$/,tX=tF(27,"="),tY=tQ(27),tG=/^[0-9a-fA-F]{64}$/,tK=tF(43,"="),tJ=tQ(43),t0=/^[0-9a-fA-F]{96}$/,t1=tF(64,""),t2=tQ(64),t4=/^[0-9a-fA-F]{128}$/,t8=tF(86,"=="),t6=tQ(86),t3=h("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),t5={number:"number",bigint:"bigint",object:"date"},t7=h("$ZodCheckLessThan",(e,t)=>{t3.init(e,t);let n=t5[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:"too_big",maximum:"object"==typeof t.value?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),t9=h("$ZodCheckGreaterThan",(e,t)=>{t3.init(e,t);let n=t5[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:"too_small",minimum:"object"==typeof t.value?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),ne=h("$ZodCheckMultipleOf",(e,t)=>{t3.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error("Cannot mix number and bigint in multiple_of check.");("bigint"==typeof n.value?n.value%t.value===BigInt(0):0===P(n.value,t.value))||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),nt=h("$ZodCheckNumberFormat",(e,t)=>{t3.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),r=n?"int":"number",[a,i]=ei[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=a,r.maximum=i,n&&(r.pattern=tU)}),e._zod.check=o=>{let l=o.value;if(n){if(!Number.isInteger(l)){o.issues.push({expected:r,format:t.format,code:"invalid_type",continue:!1,input:l,inst:e});return}if(!Number.isSafeInteger(l)){l>0?o.issues.push({input:l,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:l,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}l<a&&o.issues.push({origin:"number",input:l,code:"too_small",minimum:a,inclusive:!0,inst:e,continue:!t.abort}),l>i&&o.issues.push({origin:"number",input:l,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),nn=h("$ZodCheckBigIntFormat",(e,t)=>{t3.init(e,t);
vendor: 5,717 bytes, line 150
150let[n,r]=eo[t.format];e._zod.onattach.push(e=>{let a=e._zod.bag;a.format=t.format,a.minimum=n,a.maximum=r}),e._zod.check=a=>{let i=a.value;i<n&&a.issues.push({origin:"bigint",input:i,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),i>r&&a.issues.push({origin:"bigint",input:i,code:"too_big",maximum:r,inclusive:!0,inst:e,continue:!t.abort})}}),nr=h("$ZodCheckMaxSize",(e,t)=>{var n;t3.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!C(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;r.size<=t.maximum||n.issues.push({origin:ey(r),code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),na=h("$ZodCheckMinSize",(e,t)=>{var n;t3.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!C(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;r.size>=t.minimum||n.issues.push({origin:ey(r),code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),ni=h("$ZodCheckSizeEquals",(e,t)=>{var n;t3.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!C(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.size,n.maximum=t.size,n.size=t.size}),e._zod.check=n=>{let r=n.value,a=r.size;if(a===t.size)return;let i=a>t.size;n.issues.push({origin:ey(r),...i?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),no=h("$ZodCheckMaxLength",(e,t)=>{var n;t3.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!C(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let a=eb(r);n.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),nl=h("$ZodCheckMinLength",(e,t)=>{var n;t3.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!C(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let a=eb(r);n.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),ns=h("$ZodCheckLengthEquals",(e,t)=>{var n;t3.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!C(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,a=r.length;if(a===t.length)return;let i=eb(r),o=a>t.length;n.issues.push({origin:i,...o?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),nu=h("$ZodCheckStringFormat",(e,t)=>{var n,r;t3.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??(n.patterns=new Set),n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:"string",code:"invalid_format",format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),nc=h("$ZodCheckRegex",(e,t)=>{nu.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),nd=h("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=tZ),nu.init(e,t)}),np=h("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=tB),nu.init(e,t)}),nm=h("$ZodCheckIncludes",(e,t)=>{t3.init(e,t);let n=J(t.includes),r=new RegExp("number"==typeof t.position?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),nf=h("$ZodCheckStartsWith",(e,t)=>{t3.init(e,t);let n=RegExp(`^${J(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),nh=h("$ZodCheckEndsWith",(e,t)=>{t3.init(e,t);let n=RegExp(`.*${J(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}});function ng(e,t,n){e.issues.length&&t.issues.push(...eh(n,e.issues))}let nv=h("$ZodCheckProperty",(e,t)=>{t3.init(e,t),e._zod.check=e=>{let n=t.schema._zod.run({value:e.value[t.property],issues:[]},{});if(n instanceof Promise)return n.then(n=>ng(n,e,t.property));ng(n,e,t.property)}}),ny=h("$ZodCheckMimeType",(e,t)=>{t3.init(e,t);let n=new Set(t.mime);e._zod.onattach.push(e=>{e._zod.bag.mime=t.mime}),e._zod.check=r=>{n.has(r.value.type)||r.issues.push({code:"invalid_value",values:t.mime,input:r.value.type,inst:e,continue:!t.abort})}}),nb=h("$ZodCheckOverwrite",(e,t)=>{t3.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}});
150class nO{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if("function"==typeof e){e(this,{execution:"sync"}),e(this,{execution:"async"});return}let t=e.split("\n").filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length));for(let e of t.map(e=>e.slice(n)).map(e=>" ".repeat(2*this.indent)+e))this.content.push(e)}compile(){return Function(...this?.args,[...(this?.content??[""]).map(e=>` ${e}`)].join("\n"))}}let nw={major:4,minor:3,patch:6},nk=h("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=nw;let r=[...e._zod.def.checks??[]];for(let t of(e._zod.traits.has("$ZodCheck")&&r.unshift(e),r))for(let n of t._zod.onattach)n(e);if(0===r.length)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r,a=ef(e);for(let i of t){if(i._zod.def.when){if(!i._zod.def.when(e))continue}else if(a)continue;let t=e.issues.length,o=i._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new v;if(r||o instanceof Promise)r=(r??Promise.resolve()).then(async()=>{await o,e.issues.length===t||a||(a=ef(e,t))});else{if(e.issues.length===t)continue;a||(a=ef(e,t))}}return r?r.then(()=>e):e},n=(n,a,i)=>{if(ef(n))return n.aborted=!0,n;let o=t(a,r,i);if(o instanceof Promise){if(!1===i.async)throw new v;return o.then(t=>e._zod.parse(t,i))}return e._zod.parse(o,i)};e._zod.run=(a,i)=>{if(i.skipChecks)return e._zod.parse(a,i);if("backward"===i.direction){let t=e._zod.parse({value:a.value,issues:[]},{...i,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,a,i)):n(t,a,i)}let o=e._zod.parse(a,i);if(o instanceof Promise){if(!1===i.async)throw new v;return o.then(e=>t(e,r,i))}return t(o,r,i)}}N(e,"~standard",()=>({validate:t=>{try{let n=eF(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch(n){return eH(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:"zod",version:1}))}),nx=h("$ZodString",(e,t)=>{nk.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??tI(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch(e){}return"string"==typeof n.value||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),nS=h("$ZodStringFormat",(e,t)=>{nu.init(e,t),nx.init(e,t)}),n_=h("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=to),nS.init(e,t)}),nE=h("$ZodUUID",(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(void 0===e)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=tl(e))}else t.pattern??(t.pattern=tl());nS.init(e,t)}),nA=h("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=td),nS.init(e,t)}),nT=h("$ZodURL",(e,t)=>{nS.init(e,t),e._zod.check=n=>{try{let r=n.value.trim(),a=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(a.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(a.protocol.endsWith(":")?a.protocol.slice(0,-1):a.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=a.href:n.value=r;return}catch(r){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),nD=h("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=tv()),nS.init(e,t)}),nC=h("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=tr),nS.init(e,t)}),n$=h("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=e7),nS.init(e,t)}),nP=h("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=e9),nS.init(e,t)}),nI=h("$ZodULID",(e,t)=>{t.pattern??(t.pattern=te),nS.init(e,t)}),nN=h("$ZodXID",(e,t)=>{t.pattern??(t.pattern=tt),nS.init(e,t)}),nU=h("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=tn),nS.init(e,t)}),nM=h("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=tP(t)),nS.init(e,t)}),nR=h("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=tD),nS.init(e,t)}),nj=h("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=t$(t)),nS.init(e,t)}),nL=h("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=ta),nS.init(e,t)}),nZ=h("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=ty),nS.init(e,t),e._zod.bag.format="ipv4"}),nB=h("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=tb),nS.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),nz=h("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=tO(t.delimiter)),nS.init(e,t),e._zod.bag.format="mac"}),nF=h("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=tw),nS.init(e,t)}),nQ=h("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=tk),nS.init(e,t),e._zod.check=n=>{let r=n.value.split("/");try{if(2!==r.length)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function nH(e){if(""===e)return!0;
150if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}let nq=h("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=tx),nS.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{nH(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function nV(e){if(!tS.test(e))return!1;let t=e.replace(/[-_]/g,e=>"-"===e?"+":"/");return nH(t.padEnd(4*Math.ceil(t.length/4),"="))}let nW=h("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=tS),nS.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{nV(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),nX=h("$ZodE164",(e,t)=>{t.pattern??(t.pattern=tA),nS.init(e,t)});function nY(e,t=null){try{let n=e.split(".");if(3!==n.length)return!1;let[r]=n;if(!r)return!1;let a=JSON.parse(atob(r));if("typ"in a&&a?.typ!=="JWT"||!a.alg||t&&(!("alg"in a)||a.alg!==t))return!1;return!0}catch{return!1}}let nG=h("$ZodJWT",(e,t)=>{nS.init(e,t),e._zod.check=n=>{nY(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),nK=h("$ZodCustomStringFormat",(e,t)=>{nS.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:"invalid_format",format:t.format,input:n.value,inst:e,continue:!t.abort})}}),nJ=h("$ZodNumber",(e,t)=>{nk.init(e,t),e._zod.pattern=e._zod.bag.pattern??tM,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch(e){}let a=n.value;if("number"==typeof a&&!Number.isNaN(a)&&Number.isFinite(a))return n;let i="number"==typeof a?Number.isNaN(a)?"NaN":Number.isFinite(a)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:a,inst:e,...i?{received:i}:{}}),n}}),n0=h("$ZodNumberFormat",(e,t)=>{nt.init(e,t),nJ.init(e,t)}),n1=h("$ZodBoolean",(e,t)=>{nk.init(e,t),e._zod.pattern=tR,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch(e){}let a=n.value;return"boolean"==typeof a||n.issues.push({expected:"boolean",code:"invalid_type",input:a,inst:e}),n}}),n2=h("$ZodBigInt",(e,t)=>{nk.init(e,t),e._zod.pattern=tN,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=BigInt(n.value)}catch(e){}return"bigint"==typeof n.value||n.issues.push({expected:"bigint",code:"invalid_type",input:n.value,inst:e}),n}}),n4=h("$ZodBigIntFormat",(e,t)=>{nn.init(e,t),n2.init(e,t)}),n8=h("$ZodSymbol",(e,t)=>{nk.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return"symbol"==typeof r||t.issues.push({expected:"symbol",code:"invalid_type",input:r,inst:e}),t}}),n6=h("$ZodUndefined",(e,t)=>{nk.init(e,t),e._zod.pattern=tL,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(t,n)=>{let r=t.value;return void 0===r||t.issues.push({expected:"undefined",code:"invalid_type",input:r,inst:e}),t}}),n3=h("$ZodNull",(e,t)=>{nk.init(e,t),e._zod.pattern=tj,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{let r=t.value;return null===r||t.issues.push({expected:"null",code:"invalid_type",input:r,inst:e}),t}}),n5=h("$ZodAny",(e,t)=>{nk.init(e,t),e._zod.parse=e=>e}),n7=h("$ZodUnknown",(e,t)=>{nk.init(e,t),e._zod.parse=e=>e}),n9=h("$ZodNever",(e,t)=>{nk.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)}),re=h("$ZodVoid",(e,t)=>{nk.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return void 0===r||t.issues.push({expected:"void",code:"invalid_type",input:r,inst:e}),t}}),rt=h("$ZodDate",(e,t)=>{nk.init(e,t),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=new Date(n.value)}catch(e){}let a=n.value,i=a instanceof Date;return i&&!Number.isNaN(a.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:a,...i?{received:"Invalid Date"}:{},inst:e}),n}});function rn(e,t,n){e.issues.length&&t.issues.push(...eh(n,e.issues)),t.value[n]=e.value}let rr=h("$ZodArray",(e,t)=>{nk.init(e,t),e._zod.parse=(n,r)=>{let a=n.value;if(!Array.isArray(a))return n.issues.push({expected:"array",code:"invalid_type",input:a,inst:e}),n;n.value=Array(a.length);let i=[];for(let e=0;e<a.length;e++){let o=a[e],l=t.element._zod.run({value:o,issues:[]},r);l instanceof Promise?i.push(l.then(t=>rn(t,n,e))):rn(l,n,e)}return i.length?Promise.all(i).then(()=>n):n}});function ra(e,t,n,r,a){if(e.issues.length){if(a&&!(n in r))return;t.issues.push(...eh(n,e.issues))}void 0===e.value?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function ri(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${n}": expected a Zod schema`);let n=ea(e.shape);
150return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function ro(e,t,n,r,a,i){let o=[],l=a.keySet,s=a.catchall._zod,u=s.def.type,c="optional"===s.optout;for(let a in t){if(l.has(a))continue;if("never"===u){o.push(a);continue}let i=s.run({value:t[a],issues:[]},r);i instanceof Promise?e.push(i.then(e=>ra(e,n,a,t,c))):ra(i,n,a,t,c)}return(o.length&&n.issues.push({code:"unrecognized_keys",keys:o,input:t,inst:i}),e.length)?Promise.all(e).then(()=>n):n}let rl=h("$ZodObject",(e,t)=>{let n;nk.init(e,t);let r=Object.getOwnPropertyDescriptor(t,"shape");if(!r?.get){let e=t.shape;Object.defineProperty(t,"shape",{get:()=>{let n={...e};return Object.defineProperty(t,"shape",{value:n}),n}})}let a=D(()=>ri(t));N(e._zod,"propValues",()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values)for(let e of(n[t]??(n[t]=new Set),r.values))n[t].add(e)}return n});let i=t.catchall;e._zod.parse=(t,r)=>{n??(n=a.value);let o=t.value;if(!H(o))return t.issues.push({expected:"object",code:"invalid_type",input:o,inst:e}),t;t.value={};let l=[],s=n.shape;for(let e of n.keys){let n=s[e],a="optional"===n._zod.optout,i=n._zod.run({value:o[e],issues:[]},r);i instanceof Promise?l.push(i.then(n=>ra(n,t,e,o,a))):ra(i,t,e,o,a)}return i?ro(l,o,t,r,a.value,e):l.length?Promise.all(l).then(()=>t):t}}),rs=h("$ZodObjectJIT",(e,t)=>{let n,r;rl.init(e,t);let a=e._zod.parse,i=D(()=>ri(t)),o=e=>{let t=new nO(["shape","payload","ctx"]),n=i.value,r=e=>{let t=z(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write("const input = payload.value;");let a=Object.create(null),o=0;for(let e of n.keys)a[e]=`key_${o++}`;for(let i of(t.write("const newResult = {};"),n.keys)){let n=a[i],o=z(i),l=e[i],s=l?._zod?.optout==="optional";t.write(`const ${n} = ${r(i)};`),s?t.write(` 151 if (${n}.issues.length) { 152 if (${o} in input) { 153 payload.issues = payload.issues.concat(${n}.issues.map(iss => ({ 154 ...iss, 155 path: iss.path ? [${o}, ...iss.path] : [${o}] 156 }))); 157 } 158 } 159 160 if (${n}.value === undefined) { 161 if (${o} in input) { 162 newResult[${o}] = undefined; 163 } 164 } else { 165 newResult[${o}] = ${n}.value; 166 } 167 168 `):t.write(` 169 if (${n}.issues.length) { 170 payload.issues = payload.issues.concat(${n}.issues.map(iss => ({ 171 ...iss, 172 path: iss.path ? [${o}, ...iss.path] : [${o}] 173 }))); 174 } 175 176 if (${n}.value === undefined) { 177 if (${o} in input) { 178 newResult[${o}] = undefined; 179 } 180 } else { 181 newResult[${o}] = ${n}.value; 182 } 183 184 `)}t.write("payload.value = newResult;"),t.write("return payload;");let l=t.compile();return(t,n)=>l(e,t,n)},l=!b.jitless,s=l&&q.value,u=t.catchall;e._zod.parse=(c,d)=>{r??(r=i.value);let p=c.value;return H(p)?l&&s&&d?.async===!1&&!0!==d.jitless?(n||(n=o(t.shape)),c=n(c,d),u)?ro([],p,c,d,r,e):c:a(c,d):(c.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}
184),c)}});function ru(e,t,n,r){for(let n of e)if(0===n.issues.length)return t.value=n.value,t;let a=e.filter(e=>!ef(e));return 1===a.length?(t.value=a[0].value,a[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>ev(e,r,O())))}),t)}let rc=h("$ZodUnion",(e,t)=>{nk.init(e,t),N(e._zod,"optin",()=>t.options.some(e=>"optional"===e._zod.optin)?"optional":void 0),N(e._zod,"optout",()=>t.options.some(e=>"optional"===e._zod.optout)?"optional":void 0),N(e._zod,"values",()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),N(e._zod,"pattern",()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>$(e.source)).join("|")})$`)}});let n=1===t.options.length,r=t.options[0]._zod.run;e._zod.parse=(a,i)=>{if(n)return r(a,i);let o=!1,l=[];for(let e of t.options){let t=e._zod.run({value:a.value,issues:[]},i);if(t instanceof Promise)l.push(t),o=!0;else{if(0===t.issues.length)return t;l.push(t)}}return o?Promise.all(l).then(t=>ru(t,a,e,i)):ru(l,a,e,i)}});function rd(e,t,n,r){let a=e.filter(e=>0===e.issues.length);return 1===a.length?t.value=a[0].value:0===a.length?t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>ev(e,r,O())))}):t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:[],inclusive:!1}),t}let rp=h("$ZodXor",(e,t)=>{rc.init(e,t),t.inclusive=!1;let n=1===t.options.length,r=t.options[0]._zod.run;e._zod.parse=(a,i)=>{if(n)return r(a,i);let o=!1,l=[];for(let e of t.options){let t=e._zod.run({value:a.value,issues:[]},i);t instanceof Promise?(l.push(t),o=!0):l.push(t)}return o?Promise.all(l).then(t=>rd(t,a,e,i)):rd(l,a,e,i)}}),rm=h("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,rc.init(e,t);let n=e._zod.parse;N(e._zod,"propValues",()=>{let e={};for(let n of t.options){let r=n._zod.propValues;if(!r||0===Object.keys(r).length)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);for(let[t,n]of Object.entries(r))for(let r of(e[t]||(e[t]=new Set),n))e[t].add(r)}return e});let r=D(()=>{let e=t.options,n=new Map;for(let r of e){let e=r._zod.propValues?.[t.discriminator];if(!e||0===e.size)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);for(let t of e){if(n.has(t))throw Error(`Duplicate discriminator value "${String(t)}"`);n.set(t,r)}}return n});e._zod.parse=(a,i)=>{let o=a.value;if(!H(o))return a.issues.push({code:"invalid_type",expected:"object",input:o,inst:e}),a;let l=r.value.get(o?.[t.discriminator]);return l?l._zod.run(a,i):t.unionFallback?n(a,i):(a.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:o,path:[t.discriminator],inst:e}),a)}}),rf=h("$ZodIntersection",(e,t)=>{nk.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,a=t.left._zod.run({value:r,issues:[]},n),i=t.right._zod.run({value:r,issues:[]},n);return a instanceof Promise||i instanceof Promise?Promise.all([a,i]).then(([t,n])=>rh(e,t,n)):rh(e,a,i)}});function rh(e,t,n){let r;let a=new Map;for(let n of t.issues)if("unrecognized_keys"===n.code)for(let e of(r??(r=n),n.keys))a.has(e)||a.set(e,{}),a.get(e).l=!0;else e.issues.push(n);for(let t of n.issues)if("unrecognized_keys"===t.code)for(let e of t.keys)a.has(e)||a.set(e,{}),a.get(e).r=!0;else e.issues.push(t);let i=[...a].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(i.length&&r&&e.issues.push({...r,keys:i}),ef(e))return e;let o=function e(t,n){if(t===n||t instanceof Date&&n instanceof Date&&+t==+n)return{valid:!0,data:t};if(V(t)&&V(n)){let r=Object.keys(n),a=Object.keys(t).filter(e=>-1!==r.indexOf(e)),i={...t,...n};for(let r of a){let a=e(t[r],n[r]);if(!a.valid)return{valid:!1,mergeErrorPath:[r,...a.mergeErrorPath]};i[r]=a.data}return{valid:!0,data:i}}if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return{valid:!1,mergeErrorPath:[]};let r=[];for(let a=0;a<t.length;a++){let i=e(t[a],n[a]);if(!i.valid)return{valid:!1,mergeErrorPath:[a,...i.mergeErrorPath]};r.push(i.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}(t.value,n.value);
184if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}let rg=h("$ZodTuple",(e,t)=>{nk.init(e,t);let n=t.items;e._zod.parse=(r,a)=>{let i=r.value;if(!Array.isArray(i))return r.issues.push({input:i,inst:e,expected:"tuple",code:"invalid_type"}),r;r.value=[];let o=[],l=[...n].reverse().findIndex(e=>"optional"!==e._zod.optin),s=-1===l?0:n.length-l;if(!t.rest){let t=i.length>n.length,a=i.length<s-1;if(t||a)return r.issues.push({...t?{code:"too_big",maximum:n.length,inclusive:!0}:{code:"too_small",minimum:n.length},input:i,inst:e,origin:"array"}),r}let u=-1;for(let e of n){if(++u>=i.length&&u>=s)continue;let t=e._zod.run({value:i[u],issues:[]},a);t instanceof Promise?o.push(t.then(e=>rv(e,r,u))):rv(t,r,u)}if(t.rest)for(let e of i.slice(n.length)){u++;let n=t.rest._zod.run({value:e,issues:[]},a);n instanceof Promise?o.push(n.then(e=>rv(e,r,u))):rv(n,r,u)}return o.length?Promise.all(o).then(()=>r):r}});function rv(e,t,n){e.issues.length&&t.issues.push(...eh(n,e.issues)),t.value[n]=e.value}let ry=h("$ZodRecord",(e,t)=>{nk.init(e,t),e._zod.parse=(n,r)=>{let a=n.value;if(!V(a))return n.issues.push({expected:"record",code:"invalid_type",input:a,inst:e}),n;let i=[],o=t.keyType._zod.values;if(o){let l;n.value={};let s=new Set;for(let e of o)if("string"==typeof e||"number"==typeof e||"symbol"==typeof e){s.add("number"==typeof e?e.toString():e);let o=t.valueType._zod.run({value:a[e],issues:[]},r);o instanceof Promise?i.push(o.then(t=>{t.issues.length&&n.issues.push(...eh(e,t.issues)),n.value[e]=t.value})):(o.issues.length&&n.issues.push(...eh(e,o.issues)),n.value[e]=o.value)}for(let e in a)s.has(e)||(l=l??[]).push(e);l&&l.length>0&&n.issues.push({code:"unrecognized_keys",input:a,inst:e,keys:l})}else for(let o of(n.value={},Reflect.ownKeys(a))){if("__proto__"===o)continue;let l=t.keyType._zod.run({value:o,issues:[]},r);if(l instanceof Promise)throw Error("Async schemas not supported in object keys currently");if("string"==typeof o&&tM.test(o)&&l.issues.length){let e=t.keyType._zod.run({value:Number(o),issues:[]},r);if(e instanceof Promise)throw Error("Async schemas not supported in object keys currently");0===e.issues.length&&(l=e)}if(l.issues.length){"loose"===t.mode?n.value[o]=a[o]:n.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(e=>ev(e,r,O())),input:o,path:[o],inst:e});continue}let s=t.valueType._zod.run({value:a[o],issues:[]},r);s instanceof Promise?i.push(s.then(e=>{e.issues.length&&n.issues.push(...eh(o,e.issues)),n.value[l.value]=e.value})):(s.issues.length&&n.issues.push(...eh(o,s.issues)),n.value[l.value]=s.value)}return i.length?Promise.all(i).then(()=>n):n}}),rb=h("$ZodMap",(e,t)=>{nk.init(e,t),e._zod.parse=(n,r)=>{let a=n.value;if(!(a instanceof Map))return n.issues.push({expected:"map",code:"invalid_type",input:a,inst:e}),n;let i=[];for(let[o,l]of(n.value=new Map,a)){let s=t.keyType._zod.run({value:o,issues:[]},r),u=t.valueType._zod.run({value:l,issues:[]},r);s instanceof Promise||u instanceof Promise?i.push(Promise.all([s,u]).then(([t,i])=>{rO(t,i,n,o,a,e,r)})):rO(s,u,n,o,a,e,r)}return i.length?Promise.all(i).then(()=>n):n}});function rO(e,t,n,r,a,i,o){e.issues.length&&(G.has(typeof r)?n.issues.push(...eh(r,e.issues)):n.issues.push({code:"invalid_key",origin:"map",input:a,inst:i,issues:e.issues.map(e=>ev(e,o,O()))})),t.issues.length&&(G.has(typeof r)?n.issues.push(...eh(r,t.issues)):n.issues.push({origin:"map",code:"invalid_element",input:a,inst:i,key:r,issues:t.issues.map(e=>ev(e,o,O()))})),n.value.set(e.value,t.value)}let rw=h("$ZodSet",(e,t)=>{nk.init(e,t),e._zod.parse=(n,r)=>{let a=n.value;if(!(a instanceof Set))return n.issues.push({input:a,inst:e,expected:"set",code:"invalid_type"}),n;let i=[];for(let e of(n.value=new Set,a)){let a=t.valueType._zod.run({value:e,issues:[]},r);a instanceof Promise?i.push(a.then(e=>rk(e,n))):rk(a,n)}return i.length?Promise.all(i).then(()=>n):n}});function rk(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}let rx=h("$ZodEnum",(e,t)=>{nk.init(e,t);let n=E(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>G.has(typeof e)).map(e=>"string"==typeof e?J(e):e.toString()).join("|")})$`),e._zod.parse=(t,a)=>{let i=t.value;return r.has(i)||t.issues.push({code:"invalid_value",values:n,input:i,inst:e}),t}}),rS=h("$ZodLiteral",(e,t)=>{if(nk.init(e,t),0===t.values.length)throw Error("Cannot create literal schema with no valid values");let n=new Set(t.values);e._zod.values=n,e._zod.pattern=RegExp(`^(${t.values.map(e=>"string"==typeof e?J(e):e?J(e.toString()):String(e)).join("|")})$`),e._zod.parse=(r,a)=>{let i=r.value;return n.has(i)||r.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),r}}),r_=h("$ZodFile",(e,t)=>{nk.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return r instanceof File||t.issues.push({expected:"file",code:"invalid_type",input:r,inst:e}),t}}),rE=h("$ZodTransform",(e,t)=>{nk.init(e,t),e._zod.parse=(n,r)=>{if("backward"===r.direction)throw new y(e.constructor.name);
184let a=t.transform(n.value,n);if(r.async)return(a instanceof Promise?a:Promise.resolve(a)).then(e=>(n.value=e,n));if(a instanceof Promise)throw new v;return n.value=a,n}});function rA(e,t){return e.issues.length&&void 0===t?{issues:[],value:void 0}:e}let rT=h("$ZodOptional",(e,t)=>{nk.init(e,t),e._zod.optin="optional",e._zod.optout="optional",N(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),N(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${$(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if("optional"===t.innerType._zod.optin){let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>rA(t,e.value)):rA(r,e.value)}return void 0===e.value?e:t.innerType._zod.run(e,n)}}),rD=h("$ZodExactOptional",(e,t)=>{rT.init(e,t),N(e._zod,"values",()=>t.innerType._zod.values),N(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),rC=h("$ZodNullable",(e,t)=>{nk.init(e,t),N(e._zod,"optin",()=>t.innerType._zod.optin),N(e._zod,"optout",()=>t.innerType._zod.optout),N(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${$(e.source)}|null)$`):void 0}),N(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>null===e.value?e:t.innerType._zod.run(e,n)}),r$=h("$ZodDefault",(e,t)=>{nk.init(e,t),e._zod.optin="optional",N(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if("backward"===n.direction)return t.innerType._zod.run(e,n);if(void 0===e.value)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>rP(e,t)):rP(r,t)}});function rP(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}let rI=h("$ZodPrefault",(e,t)=>{nk.init(e,t),e._zod.optin="optional",N(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>("backward"===n.direction||void 0===e.value&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),rN=h("$ZodNonOptional",(e,t)=>{nk.init(e,t),N(e._zod,"values",()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>void 0!==e)):void 0}),e._zod.parse=(n,r)=>{let a=t.innerType._zod.run(n,r);return a instanceof Promise?a.then(t=>rU(t,e)):rU(a,e)}});function rU(e,t){return e.issues.length||void 0!==e.value||e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}let rM=h("$ZodSuccess",(e,t)=>{nk.init(e,t),e._zod.parse=(e,n)=>{if("backward"===n.direction)throw new y("ZodSuccess");let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>(e.value=0===t.issues.length,e)):(e.value=0===r.issues.length,e)}}),rR=h("$ZodCatch",(e,t)=>{nk.init(e,t),N(e._zod,"optin",()=>t.innerType._zod.optin),N(e._zod,"optout",()=>t.innerType._zod.optout),N(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if("backward"===n.direction)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>ev(e,n,O()))},input:e.value}),e.issues=[]),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>ev(e,n,O()))},input:e.value}),e.issues=[]),e)}}),rj=h("$ZodNaN",(e,t)=>{nk.init(e,t),e._zod.parse=(t,n)=>("number"==typeof t.value&&Number.isNaN(t.value)||t.issues.push({input:t.value,inst:e,expected:"nan",code:"invalid_type"}),t)}),rL=h("$ZodPipe",(e,t)=>{nk.init(e,t),N(e._zod,"values",()=>t.in._zod.values),N(e._zod,"optin",()=>t.in._zod.optin),N(e._zod,"optout",()=>t.out._zod.optout),N(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if("backward"===n.direction){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>rZ(e,t.in,n)):rZ(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>rZ(e,t.out,n)):rZ(r,t.out,n)}});function rZ(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}let rB=h("$ZodCodec",(e,t)=>{nk.init(e,t),N(e._zod,"values",()=>t.in._zod.values),N(e._zod,"optin",()=>t.in._zod.optin),N(e._zod,"optout",()=>t.out._zod.optout),N(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if("forward"===(n.direction||"forward")){let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>rz(e,t,n)):rz(r,t,n)}{let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>rz(e,t,n)):rz(r,t,n)}}});function rz(e,t,n){if(e.issues.length)return e.aborted=!0,e;if("forward"===(n.direction||"forward")){let r=t.transform(e.value,e);return r instanceof Promise?r.then(r=>rF(e,r,t.out,n)):rF(e,r,t.out,n)}{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(r=>rF(e,r,t.in,n)):rF(e,r,t.in,n)}}function rF(e,t,n,r){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},r)}let rQ=h("$ZodReadonly",(e,t)=>{nk.init(e,t),N(e._zod,"propValues",()=>t.innerType._zod.propValues),N(e._zod,"values",()=>t.innerType._zod.values),N(e._zod,"optin",()=>t.innerType?._zod?.optin),N(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if("backward"===n.direction)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(rH):rH(r)}});function rH(e){return e.value=Object.freeze(e.value),e}let rq=h("$ZodTemplateLiteral",(e,t)=>{nk.init(e,t);let n=[];for(let e of t.parts)if("object"==typeof e&&null!==e){if(!e._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...e._zod.traits].shift()}`);let t=e._zod.pattern instanceof RegExp?e._zod.pattern.source:e._zod.pattern;if(!t)throw Error(`Invalid template literal part: ${e._zod.traits}`);let r=t.startsWith("^")?1:0,a=t.endsWith("$")?t.length-1:t.length;n.push(t.slice(r,a))}else if(null===e||K.has(typeof e))n.push(J(`${e}`));else throw Error(`Invalid template literal part: ${e}`);e._zod.pattern=RegExp(`^${n.join("")}$`),e._zod.parse=(n,r)=>("string"!=typeof n.value?n.issues.push({input:n.value,inst:e,expected:"string",code:"invalid_type"}):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(n.value)||n.issues.push({input:n.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source})),n)}),rV=h("$ZodFunction",(e,t)=>(nk.init(e,t),e._def=t,e._zod.def=t,e.implement=t=>{if("function"!=typeof t)throw Error("implement() must be called with a function");return function(...n){let r=Reflect.apply(t,this,e._def.input?eL(e._def.input,n):n);return e._def.output?eL(e._def.output,r):r}},e.implementAsync=t=>{if("function"!=typeof t)throw Error("implementAsync() must be called with a function");return async function(...n){let r=e._def.input?await eB(e._def.input,n):n,a=await Reflect.apply(t,this,r);return e._def.output?await eB(e._def.output,a):a}},e._zod.parse=(t,n)=>("function"!=typeof t.value?t.issues.push({code:"invalid_type",expected:"function",input:t.value,inst:e}):e._def.output&&"promise"===e._def.output._zod.def.type?t.value=e.implementAsync(t.value):t.value=e.implement(t.value),t),e.input=(...t)=>new e.constructor(Array.isArray(t[0])?{type:"function",input:new rg({type:"tuple",items:t[0],rest:t[1]}),output:e._def.output}:{type:"function",input:t[0],output:e._def.output}),e.output=t=>new e.constructor({type:"function",input:e._def.input,output:t}),e)),rW=h("$ZodPromise",(e,t)=>{nk.init(e,t),e._zod.parse=(e,n)=>Promise.resolve(e.value).then(e=>t.innerType._zod.run({value:e,issues:[]},n))}),rX=h("$ZodLazy",(e,t)=>{nk.init(e,t),N(e._zod,"innerType",()=>t.getter()),N(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),N(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),N(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),N(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),rY=h("$ZodCustom",(e,t)=>{t3.init(e,t),nk.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,a=t.fn(r);if(a instanceof Promise)return a.then(t=>rG(t,n,r,e));rG(a,n,r,e)}});function rG(e,t,n,r){if(!e){let e={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(ew(e))}}let rK=()=>{let e={string:{unit:"ØØ±Ù",verb:"Ø£Ù ÙØÙÙ"},file:{unit:"Ø¨Ø§ÙØª",verb:"Ø£Ù ÙØÙÙ"},array:{unit:"Ø¹ÙØµØ±",verb:"Ø£Ù ÙØÙÙ"},set:{unit:"Ø¹ÙØµØ±",verb:"Ø£Ù ÙØÙÙ"}},t={regex:"Ù
دخÙ",email:"Ø¨Ø±ÙØ¯ Ø¥ÙÙØªØ±ÙÙÙ",url:"رابط",emoji:"Ø¥ÙÙ
ÙØ¬Ù",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ØªØ§Ø±ÙØ® ÙÙÙØª بÙ
Ø¹ÙØ§Ø± ISO",date:"ØªØ§Ø±ÙØ® بÙ
Ø¹ÙØ§Ø± ISO",time:"ÙÙØª بÙ
Ø¹ÙØ§Ø± ISO",duration:"Ù
دة بÙ
Ø¹ÙØ§Ø± ISO",ipv4:"عÙÙØ§Ù IPv4",ipv6:"عÙÙØ§Ù IPv6",cidrv4:"Ù
Ø¯Ù Ø¹ÙØ§ÙÙÙ Ø¨ØµÙØºØ© IPv4",cidrv6:"Ù
Ø¯Ù Ø¹ÙØ§ÙÙÙ Ø¨ØµÙØºØ© IPv6",base64:"ÙÙØµ بترÙ
ÙØ² base64-encoded",base64url:"ÙÙØµ بترÙ
ÙØ² base64url-encoded",json_string:"ÙÙØµ عÙÙ ÙÙØ¦Ø© JSON",e164:"رÙÙ
ÙØ§ØªÙ بÙ
Ø¹ÙØ§Ø± E.164",jwt:"JWT",template_literal:"Ù
دخÙ"},n={nan:"NaN"};return r=>
184{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Ù
Ø¯Ø®ÙØ§Øª ØºÙØ± Ù
ÙØ¨ÙÙØ©: ÙÙØªØ±Ø¶ إدخا٠instanceof ${r.expected}Ø ÙÙÙ٠تÙ
إدخا٠${a}`;return`Ù
Ø¯Ø®ÙØ§Øª ØºÙØ± Ù
ÙØ¨ÙÙØ©: ÙÙØªØ±Ø¶ إدخا٠${e}Ø ÙÙÙ٠تÙ
إدخا٠${a}`}case"invalid_value":if(1===r.values.length)return`Ù
Ø¯Ø®ÙØ§Øª ØºÙØ± Ù
ÙØ¨ÙÙØ©: ÙÙØªØ±Ø¶ إدخا٠${er(r.values[0])}`;return`Ø§Ø®ØªÙØ§Ø± ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØªÙÙØ¹ Ø§ÙØªÙاء Ø£ØØ¯ ÙØ°Ù Ø§ÙØ®Ùارات: ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return` Ø£ÙØ¨Ø± Ù
٠اÙÙØ§Ø²Ù
: ÙÙØªØ±Ø¶ أ٠تÙÙÙ ${r.origin??"اÙÙÙÙ
Ø©"} ${t} ${r.maximum.toString()} ${n.unit??"Ø¹ÙØµØ±"}`;return`Ø£ÙØ¨Ø± Ù
٠اÙÙØ§Ø²Ù
: ÙÙØªØ±Ø¶ أ٠تÙÙÙ ${r.origin??"اÙÙÙÙ
Ø©"} ${t} ${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`أصغر Ù
٠اÙÙØ§Ø²Ù
: ÙÙØªØ±Ø¶ ÙÙ ${r.origin} Ø£Ù ÙÙÙÙ ${t} ${r.minimum.toString()} ${n.unit}`;return`أصغر Ù
٠اÙÙØ§Ø²Ù
: ÙÙØªØ±Ø¶ ÙÙ ${r.origin} Ø£Ù ÙÙÙÙ ${t} ${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`ÙÙØµ ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙØ¨Ø¯Ø£ ب٠"${r.prefix}"`;if("ends_with"===r.format)return`ÙÙØµ ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙÙØªÙ٠ب٠"${r.suffix}"`;if("includes"===r.format)return`ÙÙØµ ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙØªØ¶Ù
ÙÙÙ "${r.includes}"`;if("regex"===r.format)return`ÙÙØµ ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙØ·Ø§Ø¨Ù اÙÙÙ
Ø· ${r.pattern}`;return`${t[r.format]??r.format} ØºÙØ± Ù
ÙØ¨ÙÙ`;case"not_multiple_of":return`رÙÙ
ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙÙÙÙ Ù
Ù Ù
Ø¶Ø§Ø¹ÙØ§Øª ${r.divisor}`;case"unrecognized_keys":return`Ù
عرÙ${r.keys.length>1?"ات":""} ØºØ±ÙØ¨${r.keys.length>1?"Ø©":""}: ${A(r.keys,"Ø ")}`;case"invalid_key":return`Ù
Ø¹Ø±Ù ØºÙØ± Ù
ÙØ¨ÙÙ ÙÙ ${r.origin}`;case"invalid_union":default:return"Ù
Ø¯Ø®Ù ØºÙØ± Ù
ÙØ¨ÙÙ";case"invalid_element":return`Ù
Ø¯Ø®Ù ØºÙØ± Ù
ÙØ¨ÙÙ ÙÙ ${r.origin}`}}};function rJ(){return{localeError:rK()}}let r0=()=>{let e={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}},t={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`YanlıŠdÉyÉr: g\xf6zlÉnilÉn instanceof ${r.expected}, daxil olan ${a}`;return`YanlıŠdÉyÉr: g\xf6zlÉnilÉn ${e}, daxil olan ${a}`}case"invalid_value":if(1===r.values.length)return`YanlıŠdÉyÉr: g\xf6zlÉnilÉn ${er(r.values[0])}`;return`YanlıŠse\xe7im: aÅaÄıdakılardan biri olmalıdır: ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`\xc7ox b\xf6y\xfck: g\xf6zlÉnilÉn ${r.origin??"dÉyÉr"} ${t}${r.maximum.toString()} ${n.unit??"element"}`;return`\xc7ox b\xf6y\xfck: g\xf6zlÉnilÉn ${r.origin??"dÉyÉr"} ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`\xc7ox ki\xe7ik: g\xf6zlÉnilÉn ${r.origin} ${t}${r.minimum.toString()} ${n.unit}`;return`\xc7ox ki\xe7ik: g\xf6zlÉnilÉn ${r.origin} ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`YanlıŠmÉtn: "${r.prefix}" ilÉ baÅlamalıdır`;if("ends_with"===r.format)return`YanlıŠmÉtn: "${r.suffix}" ilÉ bitmÉlidir`;if("includes"===r.format)return`YanlıŠmÉtn: "${r.includes}" daxil olmalıdır`;if("regex"===r.format)return`YanlıŠmÉtn: ${r.pattern} Åablonuna uyÄun olmalıdır`;return`YanlıŠ${t[r.format]??r.format}`;case"not_multiple_of":return`YanlıŠÉdÉd: ${r.divisor} ilÉ b\xf6l\xfcnÉ bilÉn olmalıdır`;
184case"unrecognized_keys":return`Tanınmayan a\xe7ar${r.keys.length>1?"lar":""}: ${A(r.keys,", ")}`;case"invalid_key":return`${r.origin} daxilindÉ yanlıŠa\xe7ar`;case"invalid_union":return"YanlıŠdÉyÉr";case"invalid_element":return`${r.origin} daxilindÉ yanlıŠdÉyÉr`;default:return`YanlıŠdÉyÉr`}}};function r1(){return{localeError:r0()}}function r2(e,t,n,r){let a=Math.abs(e),i=a%10,o=a%100;return o>=11&&o<=19?r:1===i?t:i>=2&&i<=4?n:r}let r4=()=>{let e={string:{unit:{one:"ÑÑмвал",few:"ÑÑмвалÑ",many:"ÑÑмвалаÑ"},verb:"меÑÑ"},array:{unit:{one:"ÑлеменÑ",few:"ÑлеменÑÑ",many:"ÑлеменÑаÑ"},verb:"меÑÑ"},set:{unit:{one:"ÑлеменÑ",few:"ÑлеменÑÑ",many:"ÑлеменÑаÑ"},verb:"меÑÑ"},file:{unit:{one:"байÑ",few:"байÑÑ",many:"байÑаÑ"},verb:"меÑÑ"}},t={regex:"Ñвод",email:"email адÑаÑ",url:"URL",emoji:"ÑмодзÑ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO даÑа Ñ ÑаÑ",date:"ISO даÑа",time:"ISO ÑаÑ",duration:"ISO пÑаÑÑглаÑÑÑ",ipv4:"IPv4 адÑаÑ",ipv6:"IPv6 адÑаÑ",cidrv4:"IPv4 дÑÑпазон",cidrv6:"IPv6 дÑÑпазон",base64:"Ñадок Ñ ÑаÑмаÑе base64",base64url:"Ñадок Ñ ÑаÑмаÑе base64url",json_string:"JSON Ñадок",e164:"нÑÐ¼Ð°Ñ E.164",jwt:"JWT",template_literal:"Ñвод"},n={nan:"NaN",number:"лÑк",array:"маÑÑÑ"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`ÐÑпÑавÑлÑÐ½Ñ Ñвод: ÑакаÑÑÑ instanceof ${r.expected}, аÑÑÑмана ${a}`;return`ÐÑпÑавÑлÑÐ½Ñ Ñвод: ÑакаÑÑÑ ${e}, аÑÑÑмана ${a}`}case"invalid_value":if(1===r.values.length)return`ÐÑпÑавÑлÑÐ½Ñ Ñвод: ÑакалаÑÑ ${er(r.values[0])}`;return`ÐÑпÑавÑлÑÐ½Ñ Ð²Ð°ÑÑÑнÑ: ÑакаÑÑÑ Ð°Ð´Ð·Ñн з ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n){let e=r2(Number(r.maximum),n.unit.one,n.unit.few,n.unit.many);return`ÐанадÑа вÑлÑкÑ: ÑакалаÑÑ, ÑÑо ${r.origin??"знаÑÑнне"} павÑнна ${n.verb} ${t}${r.maximum.toString()} ${e}`}return`ÐанадÑа вÑлÑкÑ: ÑакалаÑÑ, ÑÑо ${r.origin??"знаÑÑнне"} павÑнна бÑÑÑ ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n){let e=r2(Number(r.minimum),n.unit.one,n.unit.few,n.unit.many);return`ÐанадÑа малÑ: ÑакалаÑÑ, ÑÑо ${r.origin} павÑнна ${n.verb} ${t}${r.minimum.toString()} ${e}`}return`ÐанадÑа малÑ: ÑакалаÑÑ, ÑÑо ${r.origin} павÑнна бÑÑÑ ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`ÐÑпÑавÑлÑÐ½Ñ Ñадок: павÑнен паÑÑнаÑÑа з "${r.prefix}"`;if("ends_with"===r.format)return`ÐÑпÑавÑлÑÐ½Ñ Ñадок: павÑнен заканÑваÑÑа на "${r.suffix}"`;if("includes"===r.format)return`ÐÑпÑавÑлÑÐ½Ñ Ñадок: павÑнен змÑÑÑаÑÑ "${r.includes}"`;if("regex"===r.format)return`ÐÑпÑавÑлÑÐ½Ñ Ñадок: павÑнен адпавÑдаÑÑ ÑÐ°Ð±Ð»Ð¾Ð½Ñ ${r.pattern}`;return`ÐÑпÑавÑлÑÐ½Ñ ${t[r.format]??r.format}`;case"not_multiple_of":return`ÐÑпÑавÑлÑÐ½Ñ Ð»Ñк: павÑнен бÑÑÑ ÐºÑаÑнÑм ${r.divisor}`;case"unrecognized_keys":return`ÐеÑаÑÐ¿Ð°Ð·Ð½Ð°Ð½Ñ ${r.keys.length>1?"клÑÑÑ":"клÑÑ"}: ${A(r.keys,", ")}`;case"invalid_key":return`ÐÑпÑавÑлÑÐ½Ñ ÐºÐ»ÑÑ Ñ ${r.origin}`;case"invalid_union":return"ÐÑпÑавÑлÑÐ½Ñ Ñвод";case"invalid_element":return`ÐÑпÑавÑлÑнае знаÑÑнне Ñ ${r.origin}`;default:return`ÐÑпÑавÑлÑÐ½Ñ Ñвод`}}};function r8(){return{localeError:r4()}}let r6=()=>{let e={string:{unit:"Ñимвола",verb:"да ÑÑдÑÑжа"},file:{unit:"байÑа",verb:"да ÑÑдÑÑжа"},array:{unit:"елеменÑа",verb:"да ÑÑдÑÑжа"},set:{unit:"елеменÑа",verb:"да ÑÑдÑÑжа"}},t={regex:"вÑ
од",email:"имейл адÑеÑ",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO вÑеме",date:"ISO даÑа",time:"ISO вÑеме",duration:"ISO пÑодÑлжиÑелноÑÑ",ipv4:"IPv4 адÑеÑ",ipv6:"IPv6 адÑеÑ",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиÑан низ",base64url:"base64url-кодиÑан низ",json_string:"JSON низ",e164:"E.164 номеÑ",jwt:"JWT",template_literal:"вÑ
од"},n={nan:"NaN",number:"ÑиÑло",array:"маÑив"};return r=>
184{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Ðевалиден вÑ
од: оÑакван instanceof ${r.expected}, полÑÑен ${a}`;return`Ðевалиден вÑ
од: оÑакван ${e}, полÑÑен ${a}`}case"invalid_value":if(1===r.values.length)return`Ðевалиден вÑ
од: оÑакван ${er(r.values[0])}`;return`Ðевалидна опÑиÑ: оÑаквано едно Ð¾Ñ ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`ТвÑÑде голÑмо: оÑаква Ñе ${r.origin??"ÑÑойноÑÑ"} да ÑÑдÑÑжа ${t}${r.maximum.toString()} ${n.unit??"елеменÑа"}`;return`ТвÑÑде голÑмо: оÑаква Ñе ${r.origin??"ÑÑойноÑÑ"} да бÑде ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`ТвÑÑде малко: оÑаква Ñе ${r.origin} да ÑÑдÑÑжа ${t}${r.minimum.toString()} ${n.unit}`;return`ТвÑÑде малко: оÑаква Ñе ${r.origin} да бÑде ${t}${r.minimum.toString()}`}case"invalid_format":{if("starts_with"===r.format)return`Ðевалиден низ: ÑÑÑбва да запоÑва Ñ "${r.prefix}"`;if("ends_with"===r.format)return`Ðевалиден низ: ÑÑÑбва да завÑÑÑва Ñ "${r.suffix}"`;if("includes"===r.format)return`Ðевалиден низ: ÑÑÑбва да вклÑÑва "${r.includes}"`;if("regex"===r.format)return`Ðевалиден низ: ÑÑÑбва да ÑÑвпада Ñ ${r.pattern}`;let e="Ðевалиден";return"emoji"===r.format&&(e="Ðевалидно"),"datetime"===r.format&&(e="Ðевалидно"),"date"===r.format&&(e="Ðевалидна"),"time"===r.format&&(e="Ðевалидно"),"duration"===r.format&&(e="Ðевалидна"),`${e} ${t[r.format]??r.format}`}case"not_multiple_of":return`Ðевалидно ÑиÑло: ÑÑÑбва да бÑде кÑаÑно на ${r.divisor}`;case"unrecognized_keys":return`ÐеÑазпознаÑ${r.keys.length>1?"и":""} клÑÑ${r.keys.length>1?"ове":""}: ${A(r.keys,", ")}`;case"invalid_key":return`Ðевалиден клÑÑ Ð² ${r.origin}`;case"invalid_union":return"Ðевалиден вÑ
од";case"invalid_element":return`Ðевалидна ÑÑойноÑÑ Ð² ${r.origin}`;default:return`Ðевалиден вÑ
од`}}};function r3(){return{localeError:r6()}}let r5=()=>{let e={string:{unit:"car\xe0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}},t={regex:"entrada",email:"adre\xe7a electr\xf2nica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adre\xe7a IPv4",ipv6:"adre\xe7a IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\xfamero E.164",jwt:"JWT",template_literal:"entrada"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Tipus inv\xe0lid: s'esperava instanceof ${r.expected}, s'ha rebut ${a}`;return`Tipus inv\xe0lid: s'esperava ${e}, s'ha rebut ${a}`}case"invalid_value":if(1===r.values.length)return`Valor inv\xe0lid: s'esperava ${er(r.values[0])}`;return`Opci\xf3 inv\xe0lida: s'esperava una de ${A(r.values," o ")}`;case"too_big":{let t=r.inclusive?"com a m\xe0xim":"menys de",n=e[r.origin]??null;if(n)return`Massa gran: s'esperava que ${r.origin??"el valor"} contingu\xe9s ${t} ${r.maximum.toString()} ${n.unit??"elements"}`;return`Massa gran: s'esperava que ${r.origin??"el valor"} fos ${t} ${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?"com a m\xednim":"m\xe9s de",n=e[r.origin]??null;if(n)return`Massa petit: s'esperava que ${r.origin} contingu\xe9s ${t} ${r.minimum.toString()} ${n.unit}`;return`Massa petit: s'esperava que ${r.origin} fos ${t} ${r.minimum.toString()}`}
184case"invalid_format":if("starts_with"===r.format)return`Format inv\xe0lid: ha de comen\xe7ar amb "${r.prefix}"`;if("ends_with"===r.format)return`Format inv\xe0lid: ha d'acabar amb "${r.suffix}"`;if("includes"===r.format)return`Format inv\xe0lid: ha d'incloure "${r.includes}"`;if("regex"===r.format)return`Format inv\xe0lid: ha de coincidir amb el patr\xf3 ${r.pattern}`;return`Format inv\xe0lid per a ${t[r.format]??r.format}`;case"not_multiple_of":return`N\xfamero inv\xe0lid: ha de ser m\xfaltiple de ${r.divisor}`;case"unrecognized_keys":return`Clau${r.keys.length>1?"s":""} no reconeguda${r.keys.length>1?"s":""}: ${A(r.keys,", ")}`;case"invalid_key":return`Clau inv\xe0lida a ${r.origin}`;case"invalid_union":return"Entrada inv\xe0lida";case"invalid_element":return`Element inv\xe0lid a ${r.origin}`;default:return`Entrada inv\xe0lida`}}};function r7(){return{localeError:r5()}}let r9=()=>{let e={string:{unit:"znaků",verb:"m\xedt"},file:{unit:"bajtů",verb:"m\xedt"},array:{unit:"prvků",verb:"m\xedt"},set:{unit:"prvků",verb:"m\xedt"}},t={regex:"regul\xe1rn\xed v\xfdraz",email:"e-mailov\xe1 adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a Äas ve form\xe1tu ISO",date:"datum ve form\xe1tu ISO",time:"Äas ve form\xe1tu ISO",duration:"doba trv\xe1n\xed ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"ÅetÄzec zak\xf3dovan\xfd ve form\xe1tu base64",base64url:"ÅetÄzec zak\xf3dovan\xfd ve form\xe1tu base64url",json_string:"ÅetÄzec ve form\xe1tu JSON",e164:"Ä\xedslo E.164",jwt:"JWT",template_literal:"vstup"},n={nan:"NaN",number:"Ä\xedslo",string:"ÅetÄzec",function:"funkce",array:"pole"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Neplatn\xfd vstup: oÄek\xe1v\xe1no instanceof ${r.expected}, obdrženo ${a}`;return`Neplatn\xfd vstup: oÄek\xe1v\xe1no ${e}, obdrženo ${a}`}case"invalid_value":if(1===r.values.length)return`Neplatn\xfd vstup: oÄek\xe1v\xe1no ${er(r.values[0])}`;return`Neplatn\xe1 možnost: oÄek\xe1v\xe1na jedna z hodnot ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Hodnota je pÅ\xedliÅ¡ velk\xe1: ${r.origin??"hodnota"} mus\xed m\xedt ${t}${r.maximum.toString()} ${n.unit??"prvků"}`;return`Hodnota je pÅ\xedliÅ¡ velk\xe1: ${r.origin??"hodnota"} mus\xed b\xfdt ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Hodnota je pÅ\xedliÅ¡ mal\xe1: ${r.origin??"hodnota"} mus\xed m\xedt ${t}${r.minimum.toString()} ${n.unit??"prvků"}`;return`Hodnota je pÅ\xedliÅ¡ mal\xe1: ${r.origin??"hodnota"} mus\xed b\xfdt ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Neplatn\xfd ÅetÄzec: mus\xed zaÄ\xednat na "${r.prefix}"`;if("ends_with"===r.format)return`Neplatn\xfd ÅetÄzec: mus\xed konÄit na "${r.suffix}"`;if("includes"===r.format)return`Neplatn\xfd ÅetÄzec: mus\xed obsahovat "${r.includes}"`;if("regex"===r.format)return`Neplatn\xfd ÅetÄzec: mus\xed odpov\xeddat vzoru ${r.pattern}`;return`Neplatn\xfd form\xe1t ${t[r.format]??r.format}`;case"not_multiple_of":return`Neplatn\xe9 Ä\xedslo: mus\xed b\xfdt n\xe1sobkem ${r.divisor}`;case"unrecognized_keys":return`Nezn\xe1m\xe9 kl\xedÄe: ${A(r.keys,", ")}`;case"invalid_key":return`Neplatn\xfd kl\xedÄ v ${r.origin}`;case"invalid_union":return"Neplatn\xfd vstup";case"invalid_element":return`Neplatn\xe1 hodnota v ${r.origin}`;default:return`Neplatn\xfd vstup`}}};function ae(){return{localeError:r9()}}let at=()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}},t={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkesl\xe6t",date:"ISO-dato",time:"ISO-klokkesl\xe6t",duration:"ISO-varighed",ipv4:"IPv4-omr\xe5de",ipv6:"IPv6-omr\xe5de",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},n={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"s\xe6t",file:"fil"};return r=>
184{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Ugyldigt input: forventede instanceof ${r.expected}, fik ${a}`;return`Ugyldigt input: forventede ${e}, fik ${a}`}case"invalid_value":if(1===r.values.length)return`Ugyldig v\xe6rdi: forventede ${er(r.values[0])}`;return`Ugyldigt valg: forventede en af f\xf8lgende ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",a=e[r.origin]??null,i=n[r.origin]??r.origin;if(a)return`For stor: forventede ${i??"value"} ${a.verb} ${t} ${r.maximum.toString()} ${a.unit??"elementer"}`;return`For stor: forventede ${i??"value"} havde ${t} ${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",a=e[r.origin]??null,i=n[r.origin]??r.origin;if(a)return`For lille: forventede ${i} ${a.verb} ${t} ${r.minimum.toString()} ${a.unit}`;return`For lille: forventede ${i} havde ${t} ${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Ugyldig streng: skal starte med "${r.prefix}"`;if("ends_with"===r.format)return`Ugyldig streng: skal ende med "${r.suffix}"`;if("includes"===r.format)return`Ugyldig streng: skal indeholde "${r.includes}"`;if("regex"===r.format)return`Ugyldig streng: skal matche m\xf8nsteret ${r.pattern}`;return`Ugyldig ${t[r.format]??r.format}`;case"not_multiple_of":return`Ugyldigt tal: skal v\xe6re deleligt med ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ukendte n\xf8gler":"Ukendt n\xf8gle"}: ${A(r.keys,", ")}`;case"invalid_key":return`Ugyldig n\xf8gle i ${r.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig v\xe6rdi i ${r.origin}`;default:return"Ugyldigt input"}}};function an(){return{localeError:at()}}let ar=()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}},t={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},n={nan:"NaN",number:"Zahl",array:"Array"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Ung\xfcltige Eingabe: erwartet instanceof ${r.expected}, erhalten ${a}`;return`Ung\xfcltige Eingabe: erwartet ${e}, erhalten ${a}`}case"invalid_value":if(1===r.values.length)return`Ung\xfcltige Eingabe: erwartet ${er(r.values[0])}`;return`Ung\xfcltige Option: erwartet eine von ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Zu gro\xdf: erwartet, dass ${r.origin??"Wert"} ${t}${r.maximum.toString()} ${n.unit??"Elemente"} hat`;return`Zu gro\xdf: erwartet, dass ${r.origin??"Wert"} ${t}${r.maximum.toString()} ist`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Zu klein: erwartet, dass ${r.origin} ${t}${r.minimum.toString()} ${n.unit} hat`;return`Zu klein: erwartet, dass ${r.origin} ${t}${r.minimum.toString()} ist`}case"invalid_format":if("starts_with"===r.format)return`Ung\xfcltiger String: muss mit "${r.prefix}" beginnen`;if("ends_with"===r.format)return`Ung\xfcltiger String: muss mit "${r.suffix}" enden`;if("includes"===r.format)return`Ung\xfcltiger String: muss "${r.includes}" enthalten`;if("regex"===r.format)return`Ung\xfcltiger String: muss dem Muster ${r.pattern} entsprechen`;return`Ung\xfcltig: ${t[r.format]??r.format}`;case"not_multiple_of":return`Ung\xfcltige Zahl: muss ein Vielfaches von ${r.divisor} sein`;case"unrecognized_keys":return`${r.keys.length>1?"Unbekannte Schl\xfcssel":"Unbekannter Schl\xfcssel"}: ${A(r.keys,", ")}`;
184case"invalid_key":return`Ung\xfcltiger Schl\xfcssel in ${r.origin}`;case"invalid_union":return"Ung\xfcltige Eingabe";case"invalid_element":return`Ung\xfcltiger Wert in ${r.origin}`;default:return`Ung\xfcltige Eingabe`}}};function aa(){return{localeError:ar()}}let ai=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}},t={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;return`Invalid input: expected ${e}, received ${a}`}case"invalid_value":if(1===r.values.length)return`Invalid input: expected ${er(r.values[0])}`;return`Invalid option: expected one of ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Too big: expected ${r.origin??"value"} to have ${t}${r.maximum.toString()} ${n.unit??"elements"}`;return`Too big: expected ${r.origin??"value"} to be ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Too small: expected ${r.origin} to have ${t}${r.minimum.toString()} ${n.unit}`;return`Too small: expected ${r.origin} to be ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Invalid string: must start with "${r.prefix}"`;if("ends_with"===r.format)return`Invalid string: must end with "${r.suffix}"`;if("includes"===r.format)return`Invalid string: must include "${r.includes}"`;if("regex"===r.format)return`Invalid string: must match pattern ${r.pattern}`;return`Invalid ${t[r.format]??r.format}`;case"not_multiple_of":return`Invalid number: must be a multiple of ${r.divisor}`;case"unrecognized_keys":return`Unrecognized key${r.keys.length>1?"s":""}: ${A(r.keys,", ")}`;case"invalid_key":return`Invalid key in ${r.origin}`;case"invalid_union":default:return"Invalid input";case"invalid_element":return`Invalid value in ${r.origin}`}}};function ao(){return{localeError:ai()}}let al=()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}},t={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoÄio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daÅro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},n={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Nevalida enigo: atendiÄis instanceof ${r.expected}, riceviÄis ${a}`;return`Nevalida enigo: atendiÄis ${e}, riceviÄis ${a}`}case"invalid_value":if(1===r.values.length)return`Nevalida enigo: atendiÄis ${er(r.values[0])}`;return`Nevalida opcio: atendiÄis unu el ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Tro granda: atendiÄis ke ${r.origin??"valoro"} havu ${t}${r.maximum.toString()} ${n.unit??"elementojn"}`;return`Tro granda: atendiÄis ke ${r.origin??"valoro"} havu ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Tro malgranda: atendiÄis ke ${r.origin} havu ${t}${r.minimum.toString()} ${n.unit}`;return`Tro malgranda: atendiÄis ke ${r.origin} estu ${t}${r.minimum.toString()}`}
184case"invalid_format":if("starts_with"===r.format)return`Nevalida karaktraro: devas komenciÄi per "${r.prefix}"`;if("ends_with"===r.format)return`Nevalida karaktraro: devas finiÄi per "${r.suffix}"`;if("includes"===r.format)return`Nevalida karaktraro: devas inkluzivi "${r.includes}"`;if("regex"===r.format)return`Nevalida karaktraro: devas kongrui kun la modelo ${r.pattern}`;return`Nevalida ${t[r.format]??r.format}`;case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${r.divisor}`;case"unrecognized_keys":return`Nekonata${r.keys.length>1?"j":""} Ålosilo${r.keys.length>1?"j":""}: ${A(r.keys,", ")}`;case"invalid_key":return`Nevalida Ålosilo en ${r.origin}`;case"invalid_union":default:return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${r.origin}`}}};function as(){return{localeError:al()}}let au=()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}},t={regex:"entrada",email:"direcci\xf3n de correo electr\xf3nico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duraci\xf3n ISO",ipv4:"direcci\xf3n IPv4",ipv6:"direcci\xf3n IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xfamero E.164",jwt:"JWT",template_literal:"entrada"},n={nan:"NaN",string:"texto",number:"n\xfamero",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"n\xfamero grande",symbol
184:"s\xedmbolo",undefined:"indefinido",null:"nulo",function:"funci\xf3n",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeraci\xf3n",union:"uni\xf3n",literal:"literal",promise:"promesa",void:"vac\xedo",never:"nunca",unknown:"desconocido",any:"cualquiera"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Entrada inv\xe1lida: se esperaba instanceof ${r.expected}, recibido ${a}`;return`Entrada inv\xe1lida: se esperaba ${e}, recibido ${a}`}case"invalid_value":if(1===r.values.length)return`Entrada inv\xe1lida: se esperaba ${er(r.values[0])}`;return`Opci\xf3n inv\xe1lida: se esperaba una de ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",a=e[r.origin]??null,i=n[r.origin]??r.origin;if(a)return`Demasiado grande: se esperaba que ${i??"valor"} tuviera ${t}${r.maximum.toString()} ${a.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${i??"valor"} fuera ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",a=e[r.origin]??null,i=n[r.origin]??r.origin;if(a)return`Demasiado peque\xf1o: se esperaba que ${i} tuviera ${t}${r.minimum.toString()} ${a.unit}`;return`Demasiado peque\xf1o: se esperaba que ${i} fuera ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Cadena inv\xe1lida: debe comenzar con "${r.prefix}"`;if("ends_with"===r.format)return`Cadena inv\xe1lida: debe terminar en "${r.suffix}"`;if("includes"===r.format)return`Cadena inv\xe1lida: debe incluir "${r.includes}"`;if("regex"===r.format)return`Cadena inv\xe1lida: debe coincidir con el patr\xf3n ${r.pattern}`;return`Inv\xe1lido ${t[r.format]??r.format}`;case"not_multiple_of":return`N\xfamero inv\xe1lido: debe ser m\xfaltiplo de ${r.divisor}`;case"unrecognized_keys":return`Llave${r.keys.length>1?"s":""} desconocida${r.keys.length>1?"s":""}: ${A(r.keys,", ")}`;case"invalid_key":return`Llave inv\xe1lida en ${n[r.origin]??r.origin}`;case"invalid_union":return"Entrada inv\xe1lida";case"invalid_element":return`Valor inv\xe1lido en ${n[r.origin]??r.origin}`;default:return`Entrada inv\xe1lida`}}};function ac(){return{localeError:au()}}let ad=()=>{let e={string:{unit:"کاراکتر",verb:"داشت٠باشد"},file:{unit:"Ø¨Ø§ÛØª",verb:"داشت٠باشد"},array:{unit:"Ø¢ÛØªÙ
",verb:"داشت٠باشد"},set:{unit:"Ø¢ÛØªÙ
",verb:"داشت٠باشد"}},t={regex:"ÙØ±ÙدÛ",email:"آدرس اÛÙ
ÛÙ",url:"URL",emoji:"اÛÙ
ÙØ¬Û",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ØªØ§Ø±ÛØ® ٠زÙ
Ø§Ù Ø§ÛØ²Ù",date:"ØªØ§Ø±ÛØ® Ø§ÛØ²Ù",time:"زÙ
Ø§Ù Ø§ÛØ²Ù",duration:"Ù
دت زÙ
Ø§Ù Ø§ÛØ²Ù",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 داÙ
ÙÙ",cidrv6:"IPv6 داÙ
ÙÙ",base64:"base64-encoded رشتÙ",base64url:"base64url-encoded رشتÙ",json_string:"JSON رشتÙ",e164:"E.164 عدد",jwt:"JWT",template_literal:"ÙØ±ÙدÛ"},n={nan:"NaN",number:"عدد",array:"آراÛÙ"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`ÙØ±ÙØ¯Û ÙØ§Ù
عتبر: Ù
ÛâØ¨Ø§ÛØ³Øª instanceof ${r.expected} Ù
ÛâØ¨ÙØ¯Ø ${a} Ø¯Ø±ÛØ§Ùت شد`;return`ÙØ±ÙØ¯Û ÙØ§Ù
عتبر: Ù
ÛâØ¨Ø§ÛØ³Øª ${e} Ù
ÛâØ¨ÙØ¯Ø ${a} Ø¯Ø±ÛØ§Ùت شد`}case"invalid_value":if(1===r.values.length)return`ÙØ±ÙØ¯Û ÙØ§Ù
عتبر: Ù
ÛâØ¨Ø§ÛØ³Øª ${er(r.values[0])} Ù
ÛâØ¨ÙØ¯`;return`گزÛÙÙ ÙØ§Ù
عتبر: Ù
ÛâØ¨Ø§ÛØ³Øª ÛÚ©Û Ø§Ø² ${A(r.values,"|")} Ù
ÛâØ¨ÙØ¯`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Ø®ÛÙÛ Ø¨Ø²Ø±Ú¯: ${r.origin??"Ù
ÙØ¯Ø§Ø±"} Ø¨Ø§ÛØ¯ ${t}${r.maximum.toString()} ${n.unit??"Ø¹ÙØµØ±"} باشد`;return`Ø®ÛÙÛ Ø¨Ø²Ø±Ú¯: ${r.origin??"Ù
ÙØ¯Ø§Ø±"} Ø¨Ø§ÛØ¯ ${t}${r.maximum.toString()} باشد`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Ø®ÛÙÛ Ú©ÙÚÚ©: ${r.origin} Ø¨Ø§ÛØ¯ ${t}${r.minimum.toString()} ${n.unit} باشد`;return`Ø®ÛÙÛ Ú©ÙÚÚ©: ${r.origin} Ø¨Ø§ÛØ¯ ${t}${r.minimum.toString()} باشد`}
184case"invalid_format":if("starts_with"===r.format)return`Ø±Ø´ØªÙ ÙØ§Ù
عتبر: Ø¨Ø§ÛØ¯ با "${r.prefix}" Ø´Ø±ÙØ¹ Ø´ÙØ¯`;if("ends_with"===r.format)return`Ø±Ø´ØªÙ ÙØ§Ù
عتبر: Ø¨Ø§ÛØ¯ با "${r.suffix}" تÙ
اÙ
Ø´ÙØ¯`;if("includes"===r.format)return`Ø±Ø´ØªÙ ÙØ§Ù
عتبر: Ø¨Ø§ÛØ¯ شاÙ
Ù "${r.includes}" باشد`;if("regex"===r.format)return`Ø±Ø´ØªÙ ÙØ§Ù
عتبر: Ø¨Ø§ÛØ¯ با اÙÚ¯ÙÛ ${r.pattern} Ù
Ø·Ø§Ø¨ÙØª داشت٠باشد`;return`${t[r.format]??r.format} ÙØ§Ù
عتبر`;case"not_multiple_of":return`عدد ÙØ§Ù
عتبر: Ø¨Ø§ÛØ¯ Ù
ضرب ${r.divisor} باشد`;case"unrecognized_keys":return`Ú©ÙÛØ¯${r.keys.length>1?"ÙØ§Û":""} ÙØ§Ø´Ùاس: ${A(r.keys,", ")}`;case"invalid_key":return`Ú©ÙÛØ¯ ÙØ§Ø´Ùاس در ${r.origin}`;case"invalid_union":default:return`ÙØ±ÙØ¯Û ÙØ§Ù
عتبر`;case"invalid_element":return`Ù
ÙØ¯Ø§Ø± ÙØ§Ù
عتبر در ${r.origin}`}}};function ap(){return{localeError:ad()}}let am=()=>{let e={string:{unit:"merkki\xe4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xe4iv\xe4m\xe4\xe4r\xe4n"}},t={regex:"s\xe4\xe4nn\xf6llinen lauseke",email:"s\xe4hk\xf6postiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-p\xe4iv\xe4m\xe4\xe4r\xe4",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Virheellinen tyyppi: odotettiin instanceof ${r.expected}, oli ${a}`;return`Virheellinen tyyppi: odotettiin ${e}, oli ${a}`}case"invalid_value":if(1===r.values.length)return`Virheellinen sy\xf6te: t\xe4ytyy olla ${er(r.values[0])}`;return`Virheellinen valinta: t\xe4ytyy olla yksi seuraavista: ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Liian suuri: ${n.subject} t\xe4ytyy olla ${t}${r.maximum.toString()} ${n.unit}`.trim();return`Liian suuri: arvon t\xe4ytyy olla ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Liian pieni: ${n.subject} t\xe4ytyy olla ${t}${r.minimum.toString()} ${n.unit}`.trim();return`Liian pieni: arvon t\xe4ytyy olla ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Virheellinen sy\xf6te: t\xe4ytyy alkaa "${r.prefix}"`;if("ends_with"===r.format)return`Virheellinen sy\xf6te: t\xe4ytyy loppua "${r.suffix}"`;if("includes"===r.format)return`Virheellinen sy\xf6te: t\xe4ytyy sis\xe4lt\xe4\xe4 "${r.includes}"`;if("regex"===r.format)return`Virheellinen sy\xf6te: t\xe4ytyy vastata s\xe4\xe4nn\xf6llist\xe4 lauseketta ${r.pattern}`;return`Virheellinen ${t[r.format]??r.format}`;case"not_multiple_of":return`Virheellinen luku: t\xe4ytyy olla luvun ${r.divisor} monikerta`;case"unrecognized_keys":return`${r.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${A(r.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return`Virheellinen sy\xf6te`}}};function af(){return{localeError:am()}}let ah=()=>{let e={string:{unit:"caract\xe8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xe9l\xe9ments",verb:"avoir"},set:{unit:"\xe9l\xe9ments",verb:"avoir"}},t={regex:"entr\xe9e",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xe9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xeene encod\xe9e en base64",base64url:"cha\xeene encod\xe9e en base64url",json_string:"cha\xeene JSON",e164:"num\xe9ro E.164",jwt:"JWT",template_literal:"entr\xe9e"},n={nan:"NaN",number:"nombre",array:"tableau"};return r=>
184{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Entr\xe9e invalide : instanceof ${r.expected} attendu, ${a} re\xe7u`;return`Entr\xe9e invalide : ${e} attendu, ${a} re\xe7u`}case"invalid_value":if(1===r.values.length)return`Entr\xe9e invalide : ${er(r.values[0])} attendu`;return`Option invalide : une valeur parmi ${A(r.values,"|")} attendue`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Trop grand : ${r.origin??"valeur"} doit ${n.verb} ${t}${r.maximum.toString()} ${n.unit??"\xe9l\xe9ment(s)"}`;return`Trop grand : ${r.origin??"valeur"} doit \xeatre ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Trop petit : ${r.origin} doit ${n.verb} ${t}${r.minimum.toString()} ${n.unit}`;return`Trop petit : ${r.origin} doit \xeatre ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Cha\xeene invalide : doit commencer par "${r.prefix}"`;if("ends_with"===r.format)return`Cha\xeene invalide : doit se terminer par "${r.suffix}"`;if("includes"===r.format)return`Cha\xeene invalide : doit inclure "${r.includes}"`;if("regex"===r.format)return`Cha\xeene invalide : doit correspondre au mod\xe8le ${r.pattern}`;return`${t[r.format]??r.format} invalide`;case"not_multiple_of":return`Nombre invalide : doit \xeatre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xe9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${A(r.keys,", ")}`;case"invalid_key":return`Cl\xe9 invalide dans ${r.origin}`;case"invalid_union":return"Entr\xe9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`;default:return`Entr\xe9e invalide`}}};function ag(){return{localeError:ah()}}let av=()=>{let e={string:{unit:"caract\xe8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xe9l\xe9ments",verb:"avoir"},set:{unit:"\xe9l\xe9ments",verb:"avoir"}},t={regex:"entr\xe9e",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xe9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xeene encod\xe9e en base64",base64url:"cha\xeene encod\xe9e en base64url",json_string:"cha\xeene JSON",e164:"num\xe9ro E.164",jwt:"JWT",template_literal:"entr\xe9e"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Entr\xe9e invalide : attendu instanceof ${r.expected}, re\xe7u ${a}`;return`Entr\xe9e invalide : attendu ${e}, re\xe7u ${a}`}case"invalid_value":if(1===r.values.length)return`Entr\xe9e invalide : attendu ${er(r.values[0])}`;
184return`Option invalide : attendu l'une des valeurs suivantes ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"â¤":"<",n=e[r.origin]??null;if(n)return`Trop grand : attendu que ${r.origin??"la valeur"} ait ${t}${r.maximum.toString()} ${n.unit}`;return`Trop grand : attendu que ${r.origin??"la valeur"} soit ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?"â¥":">",n=e[r.origin]??null;if(n)return`Trop petit : attendu que ${r.origin} ait ${t}${r.minimum.toString()} ${n.unit}`;return`Trop petit : attendu que ${r.origin} soit ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Cha\xeene invalide : doit commencer par "${r.prefix}"`;if("ends_with"===r.format)return`Cha\xeene invalide : doit se terminer par "${r.suffix}"`;if("includes"===r.format)return`Cha\xeene invalide : doit inclure "${r.includes}"`;if("regex"===r.format)return`Cha\xeene invalide : doit correspondre au motif ${r.pattern}`;return`${t[r.format]??r.format} invalide`;case"not_multiple_of":return`Nombre invalide : doit \xeatre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xe9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${A(r.keys,", ")}`;case"invalid_key":return`Cl\xe9 invalide dans ${r.origin}`;case"invalid_union":return"Entr\xe9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`;default:return`Entr\xe9e invalide`}}};function ay(){return{localeError:av()}}let ab=()=>{let e={string:{label:"××ר××ת",gender:"f"},number:{label:"×ספר",gender:"m"},boolean:{label:"×¢×¨× ×××××× ×",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"ת×ר××",gender:"m"},array:{label:"×ער×",gender:"m"},object:{label:"××××××§×",gender:"m"},null:{label:"×¢×¨× ×¨××§ (null)",gender:"m"},undefined:{label:"×¢×¨× ×× ××××ר (undefined)",gender:"m"},symbol:{label:"ס××××× (Symbol)",gender:"m"},function:{label:"פ×× ×§×¦××",gender:"f"},map:{label:"××¤× (Map)",gender:"f"},set:{label:"×§×××¦× (Set)",gender:"f"},file:{label:"×§×××¥",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"×¢×¨× ×× ××××¢",gender:"m"},value:{label:"ער×",gender:"m"}},t={string:{unit:"ת××××",shortLabel:"קצר",longLabel:"×ר××"},file:{unit:"××××××",shortLabel:"×§××",longLabel:"××××"},array:{unit:"פר××××",shortLabel:"×§××",longLabel:"××××"},set:{unit:"פר××××",shortLabel:"×§××",longLabel:"××××"},number:{unit:"",shortLabel:"×§××",longLabel:"××××"}},n=t=>t?e[t]:void 0,r=t=>{let r=n(t);return r?r.label:t??e.unknown.label},a=e=>`×${r(e)}`,i=e=>{let t=n(e);return"f"===(t?.gender??"m")?"צר××× ××××ת":"צר×× ××××ת"},o=e=>e?t[e]??null:null,l={regex:{label:"×§××",gender:"m"},email:{label:"×ת××ת ××××××",gender:"f"},url:{label:"×ת××ת רשת",gender:"f"},emoji:{label:"×××××'×",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"ת×ר×× ×××× ISO",gender:"m"},date:{label:"ת×ר×× ISO",gender:"m"},time:{label:"××× ISO",gender:"m"},duration:{label:"××©× ××× ISO",gender:"m"},ipv4:{label:"×ת××ת IPv4",gender:"f"},ipv6:{label:"×ת××ת IPv6",gender:"f"},cidrv4:{label:"×××× IPv4",gender:"m"},cidrv6:{label:"×××× IPv6",gender:"m"},base64:{label:"××ר××ת ××ס×ס 64",gender:"f"},base64url:{label:"××ר××ת ××ס×ס 64 ××ת×××ת רשת",gender:"f"},json_string:{label:"××ר××ת JSON",gender:"f"},e164:{label:"×ספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"×§××",gender:"m"},includes:{label:"×§××",gender:"m"},lowercase:{label:"×§××",gender:"m"},starts_with:{label:"×§××",gender:"m"},uppercase:{label:"×§××",gender:"m"}},s={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let n=t.expected,a=s[n??""]??r(n),i=eO(t.input),o=s[i]??e[i]?.label??i;
184if(/^[A-Z]/.test(t.expected))return`×§×× ×× ×ª×§××: צר×× ××××ת instanceof ${t.expected}, ×תק×× ${o}`;return`×§×× ×× ×ª×§××: צר×× ××××ת ${a}, ×תק×× ${o}`}case"invalid_value":{if(1===t.values.length)return`×¢×¨× ×× ×ª×§××: ××¢×¨× ×××× ××××ת ${er(t.values[0])}`;let e=t.values.map(e=>er(e));if(2===t.values.length)return`×¢×¨× ×× ×ª×§××: ××פשר×××ת ××ת××××ת ×× ${e[0]} ×× ${e[1]}`;let n=e[e.length-1],r=e.slice(0,-1).join(", ");return`×¢×¨× ×× ×ª×§××: ××פשר×××ת ××ת××××ת ×× ${r} ×× ${n}`}case"too_big":{let e=o(t.origin),n=a(t.origin??"value");if("string"===t.origin)return`${e?.longLabel??"×ר××"} ×××: ${n} צר××× ××××× ${t.maximum.toString()} ${e?.unit??""} ${t.inclusive?"×× ×¤××ת":"××× ×××תר"}`.trim();if("number"===t.origin){let e=t.inclusive?`×§×× ×× ×©××× ×-${t.maximum}`:`×§×× ×-${t.maximum}`;return`×××× ×××: ${n} צר×× ××××ת ${e}`}if("array"===t.origin||"set"===t.origin){let r="set"===t.origin?"צר×××":"צר××",a=t.inclusive?`${t.maximum} ${e?.unit??""} ×× ×¤××ת`:`פ××ת ×-${t.maximum} ${e?.unit??""}`;return`×××× ×××: ${n} ${r} ××××× ${a}`.trim()}let r=t.inclusive?"<=":"<",l=i(t.origin??"value");if(e?.unit)return`${e.longLabel} ×××: ${n} ${l} ${r}${t.maximum.toString()} ${e.unit}`;return`${e?.longLabel??"××××"} ×××: ${n} ${l} ${r}${t.maximum.toString()}`}case"too_small":{let e=o(t.origin),n=a(t.origin??"value");if("string"===t.origin)return`${e?.shortLabel??"קצר"} ×××: ${n} צר××× ××××× ${t.minimum.toString()} ${e?.unit??""} ${t.inclusive?"×× ××תר":"×פ××ת"}`.trim();if("number"===t.origin){let e=t.inclusive?`×××× ×× ×©××× ×-${t.minimum}`:`×××× ×-${t.minimum}`;return`×§×× ×××: ${n} צר×× ××××ת ${e}`}if("array"===t.origin||"set"===t.origin){let r="set"===t.origin?"צר×××":"צר××";if(1===t.minimum&&t.inclusive){let e=(t.origin,"×פ××ת פר×× ×××");return`×§×× ×××: ${n} ${r} ××××× ${e}`}let a=t.inclusive?`${t.minimum} ${e?.unit??""} ×× ××תר`:`××תר ×-${t.minimum} ${e?.unit??""}`;return`×§×× ×××: ${n} ${r} ××××× ${a}`.trim()}let r=t.inclusive?">=":">",l=i(t.origin??"value");if(e?.unit)return`${e.shortLabel} ×××: ${n} ${l} ${r}${t.minimum.toString()} ${e.unit}`;return`${e?.shortLabel??"×§××"} ×××: ${n} ${l} ${r}${t.minimum.toString()}`}case"invalid_format":{if("starts_with"===t.format)return`×××ר××ת ××××ת ××ת××× × "${t.prefix}"`;if("ends_with"===t.format)return`×××ר××ת ××××ת ××סת××× × "${t.suffix}"`;if("includes"===t.format)return`×××ר××ת ××××ת ××××× "${t.includes}"`;if("regex"===t.format)return`×××ר××ת ××××ת ××ת××× ×ת×× ×ת ${t.pattern}`;let e=l[t.format],n=e?.label??t.format,r=e?.gender??"m";return`${n} ×× ${"f"===r?"תק×× ×":"תק××"}`}case"not_multiple_of":return`×ספר ×× ×ª×§××: ×××× ××××ת ××פ×× ×©× ${t.divisor}`;case"unrecognized_keys":return`×פת×${t.keys.length>1?"×ת":""} ×× ××××${t.keys.length>1?"××":"×"}: ${A(t.keys,", ")}`;case"invalid_key":return`ש×× ×× ×ª×§×× ×××××××§×`;case"invalid_union":return"×§×× ×× ×ª×§××";case"invalid_element":{let e=a(t.origin??"array");return`×¢×¨× ×× ×ª×§×× ×${e}`}default:return`×§×× ×× ×ª×§××`}}};function aO(){return{localeError:ab()}}let aw=()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}},t={regex:"bemenet",email:"email c\xedm",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO idÅb\xe9lyeg",date:"ISO d\xe1tum",time:"ISO idÅ",duration:"ISO idÅintervallum",ipv4:"IPv4 c\xedm",ipv6:"IPv6 c\xedm",cidrv4:"IPv4 tartom\xe1ny",cidrv6:"IPv6 tartom\xe1ny",base64:"base64-k\xf3dolt string",base64url:"base64url-k\xf3dolt string",json_string:"JSON string",e164:"E.164 sz\xe1m",jwt:"JWT",template_literal:"bemenet"},n={nan:"NaN",number:"sz\xe1m",array:"t\xf6mb"};return r=>
184{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`\xc9rv\xe9nytelen bemenet: a v\xe1rt \xe9rt\xe9k instanceof ${r.expected}, a kapott \xe9rt\xe9k ${a}`;return`\xc9rv\xe9nytelen bemenet: a v\xe1rt \xe9rt\xe9k ${e}, a kapott \xe9rt\xe9k ${a}`}case"invalid_value":if(1===r.values.length)return`\xc9rv\xe9nytelen bemenet: a v\xe1rt \xe9rt\xe9k ${er(r.values[0])}`;return`\xc9rv\xe9nytelen opci\xf3: valamelyik \xe9rt\xe9k v\xe1rt ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`T\xfal nagy: ${r.origin??"\xe9rt\xe9k"} m\xe9rete t\xfal nagy ${t}${r.maximum.toString()} ${n.unit??"elem"}`;return`T\xfal nagy: a bemeneti \xe9rt\xe9k ${r.origin??"\xe9rt\xe9k"} t\xfal nagy: ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`T\xfal kicsi: a bemeneti \xe9rt\xe9k ${r.origin} m\xe9rete t\xfal kicsi ${t}${r.minimum.toString()} ${n.unit}`;return`T\xfal kicsi: a bemeneti \xe9rt\xe9k ${r.origin} t\xfal kicsi ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`\xc9rv\xe9nytelen string: "${r.prefix}" \xe9rt\xe9kkel kell kezdÅdnie`;if("ends_with"===r.format)return`\xc9rv\xe9nytelen string: "${r.suffix}" \xe9rt\xe9kkel kell v\xe9gzÅdnie`;if("includes"===r.format)return`\xc9rv\xe9nytelen string: "${r.includes}" \xe9rt\xe9ket kell tartalmaznia`;if("regex"===r.format)return`\xc9rv\xe9nytelen string: ${r.pattern} mint\xe1nak kell megfelelnie`;return`\xc9rv\xe9nytelen ${t[r.format]??r.format}`;case"not_multiple_of":return`\xc9rv\xe9nytelen sz\xe1m: ${r.divisor} t\xf6bbsz\xf6r\xf6s\xe9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${r.keys.length>1?"s":""}: ${A(r.keys,", ")}`;case"invalid_key":return`\xc9rv\xe9nytelen kulcs ${r.origin}`;case"invalid_union":return"\xc9rv\xe9nytelen bemenet";case"invalid_element":return`\xc9rv\xe9nytelen \xe9rt\xe9k: ${r.origin}`;default:return`\xc9rv\xe9nytelen bemenet`}}};function ak(){return{localeError:aw()}}function ax(e,t,n){return 1===Math.abs(e)?t:n}function aS(e){if(!e)return"";let t=e[e.length-1];return e+(["Õ¡","Õ¥","Õ¨","Õ«","Õ¸","Õ¸Ö","Ö
"].includes(t)?"Õ¶":"Õ¨")}let a_=()=>{let e={string:{unit:{one:"Õ¶Õ·Õ¡Õ¶",many:"Õ¶Õ·Õ¡Õ¶Õ¶Õ¥Ö"},verb:"Õ¸ÖÕ¶Õ¥Õ¶Õ¡Õ¬"},file:{unit:{one:"Õ¢Õ¡ÕµÕ©",many:"Õ¢Õ¡ÕµÕ©Õ¥Ö"},verb:"Õ¸ÖÕ¶Õ¥Õ¶Õ¡Õ¬"},array:{unit:{one:"Õ¿Õ¡ÖÖ",many:"Õ¿Õ¡ÖÖÕ¥Ö"},verb:"Õ¸ÖÕ¶Õ¥Õ¶Õ¡Õ¬"},set:{unit:{one:"Õ¿Õ¡ÖÖ",many:"Õ¿Õ¡ÖÖÕ¥Ö"},verb:"Õ¸ÖÕ¶Õ¥Õ¶Õ¡Õ¬"}},t={regex:"Õ´Õ¸ÖÕ¿Ö",email:"Õ§Õ¬. Õ°Õ¡Õ½ÖÕ¥",url:"URL",emoji:"Õ§Õ´Õ¸Õ»Õ«",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO Õ¡Õ´Õ½Õ¡Õ©Õ«Õ¾ Ö ÕªÕ¡Õ´",date:"ISO Õ¡Õ´Õ½Õ¡Õ©Õ«Õ¾",time:"ISO ÕªÕ¡Õ´",duration:"ISO Õ¿ÖÕ¸Õ²Õ¸ÖÕ©ÕµÕ¸ÖÕ¶",ipv4:"IPv4 Õ°Õ¡Õ½ÖÕ¥",ipv6:"IPv6 Õ°Õ¡Õ½ÖÕ¥",cidrv4:"IPv4 Õ´Õ«Õ»Õ¡Õ¯Õ¡ÕµÖ",cidrv6:"IPv6 Õ´Õ«Õ»Õ¡Õ¯Õ¡ÕµÖ",base64:"base64 Õ±ÖÕ¡Õ¹Õ¡ÖÕ¸Õ¾ Õ¿Õ¸Õ²",base64url:"base64url Õ±ÖÕ¡Õ¹Õ¡ÖÕ¸Õ¾ Õ¿Õ¸Õ²",json_string:"JSON Õ¿Õ¸Õ²",e164:"E.164 Õ°Õ¡Õ´Õ¡Ö",jwt:"JWT",template_literal:"Õ´Õ¸ÖÕ¿Ö"},n={nan:"NaN",number:"Õ©Õ«Õ¾",array:"Õ¦Õ¡Õ¶Õ£Õ¾Õ¡Õ®"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`ÕÕÕ¡Õ¬ Õ´Õ¸ÖÕ¿ÖÕ¡Õ£ÖÕ¸Öմ⤠սպասվոÖÕ´ Õ§Ö instanceof ${r.expected}, Õ½Õ¿Õ¡ÖÕ¾Õ¥Õ¬ Õ§ ${a}`;return`ÕÕÕ¡Õ¬ Õ´Õ¸ÖÕ¿ÖÕ¡Õ£ÖÕ¸Öմ⤠սպասվոÖÕ´ Õ§Ö ${e}, Õ½Õ¿Õ¡ÖÕ¾Õ¥Õ¬ Õ§ ${a}`}case"invalid_value":if(1===r.values.length)return`ÕÕÕ¡Õ¬ Õ´Õ¸ÖÕ¿ÖÕ¡Õ£ÖÕ¸Öմ⤠սպասվոÖÕ´ Õ§Ö ${er(r.values[1])}`;return`ÕÕÕ¡Õ¬ Õ¿Õ¡ÖÕ¢Õ¥Öակ⤠սպասվոÖÕ´ Õ§Ö Õ°Õ¥Õ¿ÖÕµÕ¡Õ¬Õ¶Õ¥ÖÕ«Ö Õ´Õ¥Õ¯Õ¨Õ ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n){let e=ax(Number(r.maximum),n.unit.one,n.unit.many);return`ÕÕ¡ÖÕ¡Õ¦Õ¡Õ¶Ö Õ´Õ¥Õ® Õ¡ÖÕªÕ¥Ö⤠սպասվոÖÕ´ Õ§, Õ¸Ö ${aS(r.origin??"Õ¡ÖÕªÕ¥Ö")} Õ¯Õ¸ÖÕ¶Õ¥Õ¶Õ¡ ${t}${r.maximum.toString()} ${e}`}return`ÕÕ¡ÖÕ¡Õ¦Õ¡Õ¶Ö Õ´Õ¥Õ® Õ¡ÖÕªÕ¥Ö⤠սպասվոÖÕ´ Õ§, Õ¸Ö ${aS(r.origin??"Õ¡ÖÕªÕ¥Ö")} Õ¬Õ«Õ¶Õ« ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n){let e=ax(Number(r.minimum),n.unit.one,n.unit.many);return`ÕÕ¡ÖÕ¡Õ¦Õ¡Õ¶Ö ÖÕ¸ÖÖ Õ¡ÖÕªÕ¥Ö⤠սպասվոÖÕ´ Õ§, Õ¸Ö ${aS(r.origin)} Õ¯Õ¸ÖÕ¶Õ¥Õ¶Õ¡ ${t}${r.minimum.toString()} ${e}`}return`ÕÕ¡ÖÕ¡Õ¦Õ¡Õ¶Ö ÖÕ¸ÖÖ Õ¡ÖÕªÕ¥Ö⤠սպասվոÖÕ´ Õ§, Õ¸Ö ${aS(r.origin)} Õ¬Õ«Õ¶Õ« ${t}${r.minimum.toString()}`}
184case"invalid_format":if("starts_with"===r.format)return`ÕÕÕ¡Õ¬ Õ¿Õ¸Õ²â¤ ÕºÕ¥Õ¿Ö Õ§ Õ½Õ¯Õ½Õ¾Õ« "${r.prefix}"-Õ¸Õ¾`;if("ends_with"===r.format)return`ÕÕÕ¡Õ¬ Õ¿Õ¸Õ²â¤ ÕºÕ¥Õ¿Ö Õ§ Õ¡Õ¾Õ¡ÖÕ¿Õ¾Õ« "${r.suffix}"-Õ¸Õ¾`;if("includes"===r.format)return`ÕÕÕ¡Õ¬ Õ¿Õ¸Õ²â¤ ÕºÕ¥Õ¿Ö Õ§ ÕºÕ¡ÖÕ¸ÖÕ¶Õ¡Õ¯Õ« "${r.includes}"`;if("regex"===r.format)return`ÕÕÕ¡Õ¬ Õ¿Õ¸Õ²â¤ ÕºÕ¥Õ¿Ö Õ§ Õ°Õ¡Õ´Õ¡ÕºÕ¡Õ¿Õ¡Õ½ÕÕ¡Õ¶Õ« ${r.pattern} Õ±ÖÕ¡Õ¹Õ¡ÖÕ«Õ¶`;return`ÕÕÕ¡Õ¬ ${t[r.format]??r.format}`;case"not_multiple_of":return`ÕÕÕ¡Õ¬ Õ©Õ«Õ¾â¤ ÕºÕ¥Õ¿Ö Õ§ Õ¢Õ¡Õ¦Õ´Õ¡ÕºÕ¡Õ¿Õ«Õ¯ Õ¬Õ«Õ¶Õ« ${r.divisor}-Õ«`;case"unrecognized_keys":return`ÕÕ³Õ¡Õ¶Õ¡Õ¹Õ¾Õ¡Õ® Õ¢Õ¡Õ¶Õ¡Õ¬Õ«${r.keys.length>1?"Õ¶Õ¥Ö":""}. ${A(r.keys,", ")}`;case"invalid_key":return`ÕÕÕ¡Õ¬ Õ¢Õ¡Õ¶Õ¡Õ¬Õ« ${aS(r.origin)}-Õ¸ÖÕ´`;case"invalid_union":return"ÕÕÕ¡Õ¬ Õ´Õ¸ÖÕ¿ÖÕ¡Õ£ÖÕ¸ÖÕ´";case"invalid_element":return`ÕÕÕ¡Õ¬ Õ¡ÖÕªÕ¥Ö ${aS(r.origin)}-Õ¸ÖÕ´`;default:return`ÕÕÕ¡Õ¬ Õ´Õ¸ÖÕ¿ÖÕ¡Õ£ÖÕ¸ÖÕ´`}}};function aE(){return{localeError:a_()}}let aA=()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}},t={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Input tidak valid: diharapkan instanceof ${r.expected}, diterima ${a}`;return`Input tidak valid: diharapkan ${e}, diterima ${a}`}case"invalid_value":if(1===r.values.length)return`Input tidak valid: diharapkan ${er(r.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Terlalu besar: diharapkan ${r.origin??"value"} memiliki ${t}${r.maximum.toString()} ${n.unit??"elemen"}`;return`Terlalu besar: diharapkan ${r.origin??"value"} menjadi ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Terlalu kecil: diharapkan ${r.origin} memiliki ${t}${r.minimum.toString()} ${n.unit}`;return`Terlalu kecil: diharapkan ${r.origin} menjadi ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`String tidak valid: harus dimulai dengan "${r.prefix}"`;if("ends_with"===r.format)return`String tidak valid: harus berakhir dengan "${r.suffix}"`;if("includes"===r.format)return`String tidak valid: harus menyertakan "${r.includes}"`;if("regex"===r.format)return`String tidak valid: harus sesuai pola ${r.pattern}`;return`${t[r.format]??r.format} tidak valid`;case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${r.keys.length>1?"s":""}: ${A(r.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${r.origin}`;case"invalid_union":default:return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${r.origin}`}}};function aT(){return{localeError:aA()}}let aD=()=>{let e={string:{unit:"stafi",verb:"a\xf0 hafa"},file:{unit:"b\xe6ti",verb:"a\xf0 hafa"},array:{unit:"hluti",verb:"a\xf0 hafa"},set:{unit:"hluti",verb:"a\xf0 hafa"}},t={regex:"gildi",email:"netfang",url:"vefsl\xf3\xf0",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og t\xedmi",date:"ISO dagsetning",time:"ISO t\xedmi",duration:"ISO t\xedmalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 t\xf6lugildi",jwt:"JWT",template_literal:"gildi"},n={nan:"NaN",number:"n\xfamer",array:"fylki"};return r=>
184{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Rangt gildi: \xde\xfa sl\xf3st inn ${a} \xfear sem \xe1 a\xf0 vera instanceof ${r.expected}`;return`Rangt gildi: \xde\xfa sl\xf3st inn ${a} \xfear sem \xe1 a\xf0 vera ${e}`}case"invalid_value":if(1===r.values.length)return`Rangt gildi: gert r\xe1\xf0 fyrir ${er(r.values[0])}`;return`\xd3gilt val: m\xe1 vera eitt af eftirfarandi ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Of st\xf3rt: gert er r\xe1\xf0 fyrir a\xf0 ${r.origin??"gildi"} hafi ${t}${r.maximum.toString()} ${n.unit??"hluti"}`;return`Of st\xf3rt: gert er r\xe1\xf0 fyrir a\xf0 ${r.origin??"gildi"} s\xe9 ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Of l\xedti\xf0: gert er r\xe1\xf0 fyrir a\xf0 ${r.origin} hafi ${t}${r.minimum.toString()} ${n.unit}`;return`Of l\xedti\xf0: gert er r\xe1\xf0 fyrir a\xf0 ${r.origin} s\xe9 ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`\xd3gildur strengur: ver\xf0ur a\xf0 byrja \xe1 "${r.prefix}"`;if("ends_with"===r.format)return`\xd3gildur strengur: ver\xf0ur a\xf0 enda \xe1 "${r.suffix}"`;if("includes"===r.format)return`\xd3gildur strengur: ver\xf0ur a\xf0 innihalda "${r.includes}"`;if("regex"===r.format)return`\xd3gildur strengur: ver\xf0ur a\xf0 fylgja mynstri ${r.pattern}`;return`Rangt ${t[r.format]??r.format}`;case"not_multiple_of":return`R\xf6ng tala: ver\xf0ur a\xf0 vera margfeldi af ${r.divisor}`;case"unrecognized_keys":return`\xd3\xfeekkt ${r.keys.length>1?"ir lyklar":"ur lykill"}: ${A(r.keys,", ")}`;case"invalid_key":return`Rangur lykill \xed ${r.origin}`;case"invalid_union":default:return"Rangt gildi";case"invalid_element":return`Rangt gildi \xed ${r.origin}`}}};function aC(){return{localeError:aD()}}let a$=()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}},t={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},n={nan:"NaN",number:"numero",array:"vettore"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Input non valido: atteso instanceof ${r.expected}, ricevuto ${a}`;return`Input non valido: atteso ${e}, ricevuto ${a}`}case"invalid_value":if(1===r.values.length)return`Input non valido: atteso ${er(r.values[0])}`;return`Opzione non valida: atteso uno tra ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Troppo grande: ${r.origin??"valore"} deve avere ${t}${r.maximum.toString()} ${n.unit??"elementi"}`;return`Troppo grande: ${r.origin??"valore"} deve essere ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Troppo piccolo: ${r.origin} deve avere ${t}${r.minimum.toString()} ${n.unit}`;return`Troppo piccolo: ${r.origin} deve essere ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Stringa non valida: deve iniziare con "${r.prefix}"`;if("ends_with"===r.format)return`Stringa non valida: deve terminare con "${r.suffix}"`;if("includes"===r.format)return`Stringa non valida: deve includere "${r.includes}"`;if("regex"===r.format)return`Stringa non valida: deve corrispondere al pattern ${r.pattern}`;return`Invalid ${t[r.format]??r.format}`;case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${r.divisor}`;case"unrecognized_keys":return`Chiav${r.keys.length>1?"i":"e"} non riconosciut${r.keys.length>1?"e":"a"}: ${A(r.keys,", ")}`;
184case"invalid_key":return`Chiave non valida in ${r.origin}`;case"invalid_union":default:return"Input non valido";case"invalid_element":return`Valore non valido in ${r.origin}`}}};function aP(){return{localeError:a$()}}let aI=()=>{let e={string:{unit:"æå",verb:"ã§ãã"},file:{unit:"ãã¤ã",verb:"ã§ãã"},array:{unit:"è¦ç´ ",verb:"ã§ãã"},set:{unit:"è¦ç´ ",verb:"ã§ãã"}},t={regex:"å
¥åå¤",email:"ã¡ã¼ã«ã¢ãã¬ã¹",url:"URL",emoji:"çµµæå",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISOæ¥æ",date:"ISOæ¥ä»",time:"ISOæå»",duration:"ISOæé",ipv4:"IPv4ã¢ãã¬ã¹",ipv6:"IPv6ã¢ãã¬ã¹",cidrv4:"IPv4ç¯å²",cidrv6:"IPv6ç¯å²",base64:"base64ã¨ã³ã³ã¼ãæåå",base64url:"base64urlã¨ã³ã³ã¼ãæåå",json_string:"JSONæåå",e164:"E.164çªå·",jwt:"JWT",template_literal:"å
¥åå¤"},n={nan:"NaN",number:"æ°å¤",array:"é
å"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`ç¡å¹ãªå
¥å: instanceof ${r.expected}ãæå¾
ããã¾ãããã${a}ãå
¥åããã¾ãã`;return`ç¡å¹ãªå
¥å: ${e}ãæå¾
ããã¾ãããã${a}ãå
¥åããã¾ãã`}case"invalid_value":if(1===r.values.length)return`ç¡å¹ãªå
¥å: ${er(r.values[0])}ãæå¾
ããã¾ãã`;return`ç¡å¹ãªé¸æ: ${A(r.values,"ã")}ã®ããããã§ããå¿
è¦ãããã¾ã`;case"too_big":{let t=r.inclusive?"以ä¸ã§ãã":"ããå°ãã",n=e[r.origin]??null;if(n)return`大ããããå¤: ${r.origin??"å¤"}ã¯${r.maximum.toString()}${n.unit??"è¦ç´ "}${t}å¿
è¦ãããã¾ã`;return`大ããããå¤: ${r.origin??"å¤"}ã¯${r.maximum.toString()}${t}å¿
è¦ãããã¾ã`}case"too_small":{let t=r.inclusive?"以ä¸ã§ãã":"ãã大ãã",n=e[r.origin]??null;if(n)return`å°ããããå¤: ${r.origin}ã¯${r.minimum.toString()}${n.unit}${t}å¿
è¦ãããã¾ã`;return`å°ããããå¤: ${r.origin}ã¯${r.minimum.toString()}${t}å¿
è¦ãããã¾ã`}case"invalid_format":if("starts_with"===r.format)return`ç¡å¹ãªæåå: "${r.prefix}"ã§å§ã¾ãå¿
è¦ãããã¾ã`;if("ends_with"===r.format)return`ç¡å¹ãªæåå: "${r.suffix}"ã§çµããå¿
è¦ãããã¾ã`;if("includes"===r.format)return`ç¡å¹ãªæåå: "${r.includes}"ãå«ãå¿
è¦ãããã¾ã`;if("regex"===r.format)return`ç¡å¹ãªæåå: ãã¿ã¼ã³${r.pattern}ã«ä¸è´ããå¿
è¦ãããã¾ã`;return`ç¡å¹ãª${t[r.format]??r.format}`;case"not_multiple_of":return`ç¡å¹ãªæ°å¤: ${r.divisor}ã®åæ°ã§ããå¿
è¦ãããã¾ã`;case"unrecognized_keys":return`èªèããã¦ããªããã¼${r.keys.length>1?"群":""}: ${A(r.keys,"ã")}`;case"invalid_key":return`${r.origin}å
ã®ç¡å¹ãªãã¼`;case"invalid_union":return"ç¡å¹ãªå
¥å";case"invalid_element":return`${r.origin}å
ã®ç¡å¹ãªå¤`;default:return`ç¡å¹ãªå
¥å`}}};function aN(){return{localeError:aI()}}let aU=()=>{let e={string:{unit:"á¡áááááá",verb:"á£ááá á¨áááªááááá¡"},file:{unit:"áááá¢á",verb:"á£ááá á¨áááªááááá¡"},array:{unit:"ááááááá¢á",verb:"á£ááá á¨áááªááááá¡"},set:{unit:"ááááááá¢á",verb:"á£ááá á¨áááªááááá¡"}},t={regex:"á¨áá§áááá",email:"áá-á¤áá¡á¢áá¡ ááá¡áááá áá",url:"URL",emoji:"áááá¯á",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ááá áá¦á-áá á",date:"ááá áá¦á",time:"áá á",duration:"á®áááá á«áááááá",ipv4:"IPv4 ááá¡áááá áá",ipv6:"IPv6 ááá¡áááá áá",cidrv4:"IPv4 ááááááááá",cidrv6:"IPv6 ááááááááá",base64:"base64-ááááá ááá£áá á¡á¢á áááá",base64url:"base64url-ááááá ááá£áá á¡á¢á áááá",json_string:"JSON á¡á¢á áááá",e164:"E.164 ááááá á",jwt:"JWT",template_literal:"á¨áá§áááá"},n={nan:"NaN",number:"á ááªá®áá",string:"á¡á¢á áááá",boolean:"áá£ááááá",function:"á¤á£áá¥áªáá",array:"ááá¡ááá"};return r=>
184{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`áá áá¡á¬áá á á¨áá§áááá: ááá¡áááááááá instanceof ${r.expected}, ááá¦ááá£áá ${a}`;return`áá áá¡á¬áá á á¨áá§áááá: ááá¡áááááááá ${e}, ááá¦ááá£áá ${a}`}case"invalid_value":if(1===r.values.length)return`áá áá¡á¬áá á á¨áá§áááá: ááá¡áááááááá ${er(r.values[0])}`;return`áá áá¡á¬áá á ááá áááá¢á: ááá¡ááááááááá áá á-áá áá ${A(r.values,"|")}-ááá`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`áááááá¢áá áááá: ááá¡áááááááá ${r.origin??"áááá¨ááááááá"} ${n.verb} ${t}${r.maximum.toString()} ${n.unit}`;return`áááááá¢áá áááá: ááá¡áááááááá ${r.origin??"áááá¨ááááááá"} áá§áá¡ ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`áááááá¢áá ááá¢áá á: ááá¡áááááááá ${r.origin} ${n.verb} ${t}${r.minimum.toString()} ${n.unit}`;return`áááááá¢áá ááá¢áá á: ááá¡áááááááá ${r.origin} áá§áá¡ ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`áá áá¡á¬áá á á¡á¢á áááá: á£ááá áá¬á§áááááá¡ "${r.prefix}"-áá`;if("ends_with"===r.format)return`áá áá¡á¬áá á á¡á¢á áááá: á£ááá ááááá ááááááá¡ "${r.suffix}"-áá`;if("includes"===r.format)return`áá áá¡á¬áá á á¡á¢á áááá: á£ááá á¨áááªááááá¡ "${r.includes}"-á¡`;if("regex"===r.format)return`áá áá¡á¬áá á á¡á¢á áááá: á£ááá á¨ááá¡áááááááááá¡ á¨áááááá¡ ${r.pattern}`;return`áá áá¡á¬áá á ${t[r.format]??r.format}`;case"not_multiple_of":return`áá áá¡á¬áá á á ááªá®áá: á£ááá áá§áá¡ ${r.divisor}-áá¡ á¯áá ááá`;case"unrecognized_keys":return`á£áªáááá ááá¡áá¦áá${r.keys.length>1?"ááá":"á"}: ${A(r.keys,", ")}`;case"invalid_key":return`áá áá¡á¬áá á ááá¡áá¦ááá ${r.origin}-á¨á`;case"invalid_union":return"áá áá¡á¬áá á á¨áá§áááá";case"invalid_element":return`áá áá¡á¬áá á áááá¨ááááááá ${r.origin}-á¨á`;default:return`áá áá¡á¬áá á á¨áá§áááá`}}};function aM(){return{localeError:aU()}}let aR=()=>{let e={string:{unit:"áá½á¢áááá",verb:"áá½ááá¶á"},file:{unit:"áá",verb:"áá½ááá¶á"},array:{unit:"áá¶áá»",verb:"áá½ááá¶á"},set:{unit:"áá¶áá»",verb:"áá½ááá¶á"}},t={regex:"áá·áááááááááá
á¼á",email:"á¢á¶áááááá¶áá¢áá¸ááá",url:"URL",emoji:"ááááá¶á¢á¶áááááá",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"áá¶áááá·á
áááá áá·ááááá ISO",date:"áá¶áááá·á
áááá ISO",time:"áááá ISO",duration:"áááááá ISO",ipv4:"á¢á¶áááááá¶á IPv4",ipv6:"á¢á¶áááááá¶á IPv6",cidrv4:"áááá¢á¶áááááá¶á IPv4",cidrv6:"áááá¢á¶áááááá¶á IPv6",base64:"ááááá¢ááááá¢áá·áá¼á base64",base64url:"ááááá¢ááááá¢áá·áá¼á base64url",json_string:"ááááá¢áááá JSON",e164:"ááá E.164",jwt:"JWT",template_literal:"áá·áááááááááá
á¼á"},n={nan:"NaN",number:"ááá",array:"á¢á¶áá (Array)",null:"áááá¶áááááá (null)"};return r=>
184{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`áá·áááááááááá
á¼ááá·ááááá¹ááááá¼áá áááá¼ááá¶á instanceof ${r.expected} ááá»ááááááá½ááá¶á ${a}`;return`áá·áááááááááá
á¼ááá·ááááá¹ááááá¼áá áááá¼ááá¶á ${e} ááá»ááááááá½ááá¶á ${a}`}case"invalid_value":if(1===r.values.length)return`áá·áááááááááá
á¼ááá·ááááá¹ááááá¼áá áááá¼ááá¶á ${er(r.values[0])}`;return`ááááá¾ááá·ááááá¹ááááá¼áá áááá¼ááá¶áá½ááááá»áá
áááá ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`áááááá áááá¼ááá¶á ${r.origin??"ááááá"} ${t} ${r.maximum.toString()} ${n.unit??"áá¶áá»"}`;return`áááááá áááá¼ááá¶á ${r.origin??"ááááá"} ${t} ${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`áá¼á
áááá áááá¼ááá¶á ${r.origin} ${t} ${r.minimum.toString()} ${n.unit}`;return`áá¼á
áááá áááá¼ááá¶á ${r.origin} ${t} ${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`ááááá¢áááááá·ááááá¹ááááá¼áá áááá¼áá
á¶áááááá¾áááá "${r.prefix}"`;if("ends_with"===r.format)return`ááááá¢áááááá·ááááá¹ááááá¼áá áááá¼ááááá
ááááá "${r.suffix}"`;if("includes"===r.format)return`ááááá¢áááááá·ááááá¹ááááá¼áá áááá¼ááá¶á "${r.includes}"`;if("regex"===r.format)return`ááááá¢áááááá·ááááá¹ááááá¼áá áááá¼ááááááá¼áááááá¹áááááááááááá¶áááááá ${r.pattern}`;return`áá·ááááá¹ááááá¼áá ${t[r.format]??r.format}`;case"not_multiple_of":return`ááááá·ááááá¹ááááá¼áá áááá¼ááááá¶áá á»áá»ááá ${r.divisor}`;case"unrecognized_keys":return`áááá¾ááááá·ááááá¶ááá ${A(r.keys,", ")}`;case"invalid_key":return`áááá·ááááá¹ááááá¼ááá
áááá»á ${r.origin}`;case"invalid_union":default:return`áá·áááááááá·ááááá¹ááááá¼á`;case"invalid_element":return`áá·áááááááá·ááááá¹ááááá¼ááá
áááá»á ${r.origin}`}}};function aj(){return{localeError:aR()}}function aL(){return aj()}let aZ=()=>{let e={string:{unit:"문ì",verb:"to have"},file:{unit:"ë°ì´í¸",verb:"to have"},array:{unit:"ê°",verb:"to have"},set:{unit:"ê°",verb:"to have"}},t={regex:"ì
ë ¥",email:"ì´ë©ì¼ 주ì",url:"URL",emoji:"ì´ëª¨ì§",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ë ì§ìê°",date:"ISO ë ì§",time:"ISO ìê°",duration:"ISO 기ê°",ipv4:"IPv4 주ì",ipv6:"IPv6 주ì",cidrv4:"IPv4 ë²ì",cidrv6:"IPv6 ë²ì",base64:"base64 ì¸ì½ë© 문ìì´",base64url:"base64url ì¸ì½ë© 문ìì´",json_string:"JSON 문ìì´",e164:"E.164 ë²í¸",jwt:"JWT",template_literal:"ì
ë ¥"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`ì못ë ì
ë ¥: ìì íì
ì instanceof ${r.expected}, ë°ì íì
ì ${a}ì
ëë¤`;return`ì못ë ì
ë ¥: ìì íì
ì ${e}, ë°ì íì
ì ${a}ì
ëë¤`}case"invalid_value":if(1===r.values.length)return`ì못ë ì
ë ¥: ê°ì ${er(r.values[0])} ì´ì´ì¼ í©ëë¤`;return`ì못ë ìµì
: ${A(r.values,"ëë ")} ì¤ íëì¬ì¼ í©ëë¤`;case"too_big":{let t=r.inclusive?"ì´í":"미ë§",n="미ë§"===t?"ì´ì´ì¼ í©ëë¤":"ì¬ì¼ í©ëë¤",a=e[r.origin]??null,i=a?.unit??"ìì";if(a)return`${r.origin??"ê°"}ì´ ë무 í½ëë¤: ${r.maximum.toString()}${i} ${t}${n}`;return`${r.origin??"ê°"}ì´ ë무 í½ëë¤: ${r.maximum.toString()} ${t}${n}`}case"too_small":{let t=r.inclusive?"ì´ì":"ì´ê³¼",n="ì´ì"===t?"ì´ì´ì¼ í©ëë¤":"ì¬ì¼ í©ëë¤",a=e[r.origin]??null,i=a?.unit??"ìì";if(a)return`${r.origin??"ê°"}ì´ ë무 ììµëë¤: ${r.minimum.toString()}${i} ${t}${n}`;return`${r.origin??"ê°"}ì´ ë무 ììµëë¤: ${r.minimum.toString()} ${t}${n}`}
184case"invalid_format":if("starts_with"===r.format)return`ì못ë 문ìì´: "${r.prefix}"(ì¼)ë¡ ììí´ì¼ í©ëë¤`;if("ends_with"===r.format)return`ì못ë 문ìì´: "${r.suffix}"(ì¼)ë¡ ëëì¼ í©ëë¤`;if("includes"===r.format)return`ì못ë 문ìì´: "${r.includes}"ì(를) í¬í¨í´ì¼ í©ëë¤`;if("regex"===r.format)return`ì못ë 문ìì´: ì ê·ì ${r.pattern} í¨í´ê³¼ ì¼ì¹í´ì¼ í©ëë¤`;return`ì못ë ${t[r.format]??r.format}`;case"not_multiple_of":return`ì못ë ì«ì: ${r.divisor}ì ë°°ìì¬ì¼ í©ëë¤`;case"unrecognized_keys":return`ì¸ìí ì ìë í¤: ${A(r.keys,", ")}`;case"invalid_key":return`ì못ë í¤: ${r.origin}`;case"invalid_union":default:return`ì못ë ì
ë ¥`;case"invalid_element":return`ì못ë ê°: ${r.origin}`}}};function aB(){return{localeError:aZ()}}let az=e=>e.charAt(0).toUpperCase()+e.slice(1);function aF(e){let t=Math.abs(e),n=t%10,r=t%100;return r>=11&&r<=19||0===n?"many":1===n?"one":"few"}let aQ=()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi bÅ«ti ne ilgesnÄ kaip",notInclusive:"turi bÅ«ti trumpesnÄ kaip"},bigger:{inclusive:"turi bÅ«ti ne trumpesnÄ kaip",notInclusive:"turi bÅ«ti ilgesnÄ kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi bÅ«ti ne didesnis kaip",notInclusive:"turi bÅ«ti mažesnis kaip"},bigger:{inclusive:"turi bÅ«ti ne mažesnis kaip",notInclusive:"turi bÅ«ti didesnis kaip"}}},array:{unit:{one:"elementÄ
",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turÄti ne daugiau kaip",notInclusive:"turi turÄti mažiau kaip"},bigger:{inclusive:"turi turÄti ne mažiau kaip",notInclusive:"turi turÄti daugiau kaip"}}},set:{unit:{one:"elementÄ
",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turÄti ne daugiau kaip",notInclusive:"turi turÄti mažiau kaip"},bigger:{inclusive:"turi turÄti ne mažiau kaip",notInclusive:"turi turÄti daugiau kaip"}}}};function t(t,n,r,a){let i=e[t]??null;return null===i?i:{unit:i.unit[n],verb:i.verb[a][r?"inclusive":"notInclusive"]}}let n={regex:"įvestis",email:"el. paÅ¡to adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmÄ",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutÄ",base64url:"base64url užkoduota eilutÄ",json_string:"JSON eilutÄ",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},r={nan:"NaN",number:"skaiÄius",bigint:"sveikasis skaiÄius",string:"eilutÄ",boolean:"loginÄ reikÅ¡mÄ",undefined:"neapibrÄžta reikÅ¡mÄ",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinÄ reikÅ¡mÄ"};return e=>{switch(e.code){case"invalid_type":{let t=r[e.expected]??e.expected,n=eO(e.input),a=r[n]??n;if(/^[A-Z]/.test(e.expected))return`Gautas tipas ${a}, o tikÄtasi - instanceof ${e.expected}`;return`Gautas tipas ${a}, o tikÄtasi - ${t}`}case"invalid_value":if(1===e.values.length)return`Privalo bÅ«ti ${er(e.values[0])}`;return`Privalo bÅ«ti vienas iÅ¡ ${A(e.values,"|")} pasirinkimų`;case"too_big":{let n=r[e.origin]??e.origin,a=t(e.origin,aF(Number(e.maximum)),e.inclusive??!1,"smaller");if(a?.verb)return`${az(n??e.origin??"reikÅ¡mÄ")} ${a.verb} ${e.maximum.toString()} ${a.unit??"elementų"}`;let i=e.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${az(n??e.origin??"reikÅ¡mÄ")} turi bÅ«ti ${i} ${e.maximum.toString()} ${a?.unit}`}case"too_small":{let n=r[e.origin]??e.origin,a=t(e.origin,aF(Number(e.minimum)),e.inclusive??!1,"bigger");if(a?.verb)return`${az(n??e.origin??"reikÅ¡mÄ")} ${a.verb} ${e.minimum.toString()} ${a.unit??"elementų"}`;let i=e.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${az(n??e.origin??"reikÅ¡mÄ")} turi bÅ«ti ${i} ${e.minimum.toString()} ${a?.unit}`}case"invalid_format":if("starts_with"===e.format)return`EilutÄ privalo prasidÄti "${e.prefix}"`;if("ends_with"===e.format)return`EilutÄ privalo pasibaigti "${e.suffix}"`;if("includes"===e.format)return`EilutÄ privalo įtraukti "${e.includes}"`;if("regex"===e.format)return`EilutÄ privalo atitikti ${e.pattern}`;return`Neteisingas ${n[e.format]??e.format}`;case"not_multiple_of":return`SkaiÄius privalo bÅ«ti ${e.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${e.keys.length>1?"i":"as"} rakt${e.keys.length>1?"ai":"as"}: ${A(e.keys,", ")}`;
184case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":default:return"Klaidinga įvestis";case"invalid_element":{let t=r[e.origin]??e.origin;return`${az(t??e.origin??"reikÅ¡mÄ")} turi klaidingÄ
įvestį`}}}};function aH(){return{localeError:aQ()}}let aq=()=>{let e={string:{unit:"знаÑи",verb:"да имааÑ"},file:{unit:"баÑÑи",verb:"да имааÑ"},array:{unit:"ÑÑавки",verb:"да имааÑ"},set:{unit:"ÑÑавки",verb:"да имааÑ"}},t={regex:"внеÑ",email:"адÑеÑа на е-поÑÑа",url:"URL",emoji:"емоÑи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO даÑÑм и вÑеме",date:"ISO даÑÑм",time:"ISO вÑеме",duration:"ISO вÑемеÑÑаеÑе",ipv4:"IPv4 адÑеÑа",ipv6:"IPv6 адÑеÑа",cidrv4:"IPv4 опÑег",cidrv6:"IPv6 опÑег",base64:"base64-енкодиÑана низа",base64url:"base64url-енкодиÑана низа",json_string:"JSON низа",e164:"E.164 бÑоÑ",jwt:"JWT",template_literal:"внеÑ"},n={nan:"NaN",number:"бÑоÑ",array:"низа"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`ÐÑеÑен внеÑ: Ñе оÑекÑва instanceof ${r.expected}, пÑимено ${a}`;return`ÐÑеÑен внеÑ: Ñе оÑекÑва ${e}, пÑимено ${a}`}case"invalid_value":if(1===r.values.length)return`Invalid input: expected ${er(r.values[0])}`;return`ÐÑеÑана опÑиÑа: Ñе оÑекÑва една ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`ÐÑÐµÐ¼Ð½Ð¾Ð³Ñ Ð³Ð¾Ð»ÐµÐ¼: Ñе оÑекÑва ${r.origin??"вÑедноÑÑа"} да има ${t}${r.maximum.toString()} ${n.unit??"елеменÑи"}`;return`ÐÑÐµÐ¼Ð½Ð¾Ð³Ñ Ð³Ð¾Ð»ÐµÐ¼: Ñе оÑекÑва ${r.origin??"вÑедноÑÑа"} да биде ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`ÐÑÐµÐ¼Ð½Ð¾Ð³Ñ Ð¼Ð°Ð»: Ñе оÑекÑва ${r.origin} да има ${t}${r.minimum.toString()} ${n.unit}`;return`ÐÑÐµÐ¼Ð½Ð¾Ð³Ñ Ð¼Ð°Ð»: Ñе оÑекÑва ${r.origin} да биде ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`ÐеважеÑка низа: моÑа да запоÑнÑва Ñо "${r.prefix}"`;if("ends_with"===r.format)return`ÐеважеÑка низа: моÑа да завÑÑÑва Ñо "${r.suffix}"`;if("includes"===r.format)return`ÐеважеÑка низа: моÑа да вклÑÑÑва "${r.includes}"`;if("regex"===r.format)return`ÐеважеÑка низа: моÑа да одгоаÑа на паÑеÑÐ½Ð¾Ñ ${r.pattern}`;return`Invalid ${t[r.format]??r.format}`;case"not_multiple_of":return`ÐÑеÑен бÑоÑ: моÑа да биде делив Ñо ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"ÐепÑепознаени клÑÑеви":"ÐепÑепознаен клÑÑ"}: ${A(r.keys,", ")}`;case"invalid_key":return`ÐÑеÑен клÑÑ Ð²Ð¾ ${r.origin}`;case"invalid_union":return"ÐÑеÑен внеÑ";case"invalid_element":return`ÐÑеÑна вÑедноÑÑ Ð²Ð¾ ${r.origin}`;default:return`ÐÑеÑен внеÑ`}}};function aV(){return{localeError:aq()}}let aW=()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}},t={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},n={nan:"NaN",number:"nombor"};return r=>
184{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Input tidak sah: dijangka instanceof ${r.expected}, diterima ${a}`;return`Input tidak sah: dijangka ${e}, diterima ${a}`}case"invalid_value":if(1===r.values.length)return`Input tidak sah: dijangka ${er(r.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Terlalu besar: dijangka ${r.origin??"nilai"} ${n.verb} ${t}${r.maximum.toString()} ${n.unit??"elemen"}`;return`Terlalu besar: dijangka ${r.origin??"nilai"} adalah ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Terlalu kecil: dijangka ${r.origin} ${n.verb} ${t}${r.minimum.toString()} ${n.unit}`;return`Terlalu kecil: dijangka ${r.origin} adalah ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`String tidak sah: mesti bermula dengan "${r.prefix}"`;if("ends_with"===r.format)return`String tidak sah: mesti berakhir dengan "${r.suffix}"`;if("includes"===r.format)return`String tidak sah: mesti mengandungi "${r.includes}"`;if("regex"===r.format)return`String tidak sah: mesti sepadan dengan corak ${r.pattern}`;return`${t[r.format]??r.format} tidak sah`;case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${A(r.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${r.origin}`;case"invalid_union":default:return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${r.origin}`}}};function aX(){return{localeError:aW()}}let aY=()=>{let e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}},t={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},n={nan:"NaN",number:"getal"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Ongeldige invoer: verwacht instanceof ${r.expected}, ontving ${a}`;return`Ongeldige invoer: verwacht ${e}, ontving ${a}`}case"invalid_value":if(1===r.values.length)return`Ongeldige invoer: verwacht ${er(r.values[0])}`;return`Ongeldige optie: verwacht \xe9\xe9n van ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null,a="date"===r.origin?"laat":"string"===r.origin?"lang":"groot";if(n)return`Te ${a}: verwacht dat ${r.origin??"waarde"} ${t}${r.maximum.toString()} ${n.unit??"elementen"} ${n.verb}`;return`Te ${a}: verwacht dat ${r.origin??"waarde"} ${t}${r.maximum.toString()} is`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null,a="date"===r.origin?"vroeg":"string"===r.origin?"kort":"klein";if(n)return`Te ${a}: verwacht dat ${r.origin} ${t}${r.minimum.toString()} ${n.unit} ${n.verb}`;return`Te ${a}: verwacht dat ${r.origin} ${t}${r.minimum.toString()} is`}case"invalid_format":if("starts_with"===r.format)return`Ongeldige tekst: moet met "${r.prefix}" beginnen`;if("ends_with"===r.format)return`Ongeldige tekst: moet op "${r.suffix}" eindigen`;if("includes"===r.format)return`Ongeldige tekst: moet "${r.includes}" bevatten`;if("regex"===r.format)return`Ongeldige tekst: moet overeenkomen met patroon ${r.pattern}`;return`Ongeldig: ${t[r.format]??r.format}`;case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${r.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${r.keys.length>1?"s":""}: ${A(r.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${r.origin}`;case"invalid_union":default:return"Ongeldige invoer";
184case"invalid_element":return`Ongeldige waarde in ${r.origin}`}}};function aG(){return{localeError:aY()}}let aK=()=>{let e={string:{unit:"tegn",verb:"\xe5 ha"},file:{unit:"bytes",verb:"\xe5 ha"},array:{unit:"elementer",verb:"\xe5 inneholde"},set:{unit:"elementer",verb:"\xe5 inneholde"}},t={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-omr\xe5de",ipv6:"IPv6-omr\xe5de",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},n={nan:"NaN",number:"tall",array:"liste"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Ugyldig input: forventet instanceof ${r.expected}, fikk ${a}`;return`Ugyldig input: forventet ${e}, fikk ${a}`}case"invalid_value":if(1===r.values.length)return`Ugyldig verdi: forventet ${er(r.values[0])}`;return`Ugyldig valg: forventet en av ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`For stor(t): forventet ${r.origin??"value"} til \xe5 ha ${t}${r.maximum.toString()} ${n.unit??"elementer"}`;return`For stor(t): forventet ${r.origin??"value"} til \xe5 ha ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`For lite(n): forventet ${r.origin} til \xe5 ha ${t}${r.minimum.toString()} ${n.unit}`;return`For lite(n): forventet ${r.origin} til \xe5 ha ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Ugyldig streng: m\xe5 starte med "${r.prefix}"`;if("ends_with"===r.format)return`Ugyldig streng: m\xe5 ende med "${r.suffix}"`;if("includes"===r.format)return`Ugyldig streng: m\xe5 inneholde "${r.includes}"`;if("regex"===r.format)return`Ugyldig streng: m\xe5 matche m\xf8nsteret ${r.pattern}`;return`Ugyldig ${t[r.format]??r.format}`;case"not_multiple_of":return`Ugyldig tall: m\xe5 v\xe6re et multiplum av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ukjente n\xf8kler":"Ukjent n\xf8kkel"}: ${A(r.keys,", ")}`;case"invalid_key":return`Ugyldig n\xf8kkel i ${r.origin}`;case"invalid_union":default:return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${r.origin}`}}};function aJ(){return{localeError:aK()}}let a0=()=>{let e={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}},t={regex:"giren",email:"epostag\xe2h",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO heng\xe2mı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO m\xfcddeti",ipv4:"IPv4 niÅ\xe2nı",ipv6:"IPv6 niÅ\xe2nı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-Åifreli metin",base64url:"base64url-Åifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},n={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`F\xe2sit giren: umulan instanceof ${r.expected}, alınan ${a}`;return`F\xe2sit giren: umulan ${e}, alınan ${a}`}case"invalid_value":if(1===r.values.length)return`F\xe2sit giren: umulan ${er(r.values[0])}`;return`F\xe2sit tercih: m\xfbteberler ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Fazla b\xfcy\xfck: ${r.origin??"value"}, ${t}${r.maximum.toString()} ${n.unit??"elements"} sahip olmalıydı.`;return`Fazla b\xfcy\xfck: ${r.origin??"value"}, ${t}${r.maximum.toString()} olmalıydı.`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Fazla k\xfc\xe7\xfck: ${r.origin}, ${t}${r.minimum.toString()} ${n.unit} sahip olmalıydı.`;return`Fazla k\xfc\xe7\xfck: ${r.origin}, ${t}${r.minimum.toString()} olmalıydı.`}
184case"invalid_format":if("starts_with"===r.format)return`F\xe2sit metin: "${r.prefix}" ile baÅlamalı.`;if("ends_with"===r.format)return`F\xe2sit metin: "${r.suffix}" ile bitmeli.`;if("includes"===r.format)return`F\xe2sit metin: "${r.includes}" ihtiv\xe2 etmeli.`;if("regex"===r.format)return`F\xe2sit metin: ${r.pattern} nakÅına uymalı.`;return`F\xe2sit ${t[r.format]??r.format}`;case"not_multiple_of":return`F\xe2sit sayı: ${r.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${r.keys.length>1?"s":""}: ${A(r.keys,", ")}`;case"invalid_key":return`${r.origin} i\xe7in tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${r.origin} i\xe7in tanınmayan kıymet var.`;default:return`Kıymet tanınamadı.`}}};function a1(){return{localeError:a0()}}let a2=()=>{let e={string:{unit:"تÙÚ©Ù",verb:"ÙÙØ±Ù"},file:{unit:"باÛټس",verb:"ÙÙØ±Ù"},array:{unit:"تÙÚ©Ù",verb:"ÙÙØ±Ù"},set:{unit:"تÙÚ©Ù",verb:"ÙÙØ±Ù"}},t={regex:"ÙØ±ÙدÙ",email:"برÛÚÙØ§ÙÛÚ©",url:"Û٠آر اÙ",emoji:"اÛÙ
ÙØ¬Ù",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ÙÛÙ¼Ù Ø§Ù ÙØ®Øª",date:"ÙÛÙ¼Ù",time:"ÙØ®Øª",duration:"Ù
ÙØ¯Ù",ipv4:"د IPv4 پتÙ",ipv6:"د IPv6 پتÙ",cidrv4:"د IPv4 ساØÙ",cidrv6:"د IPv6 ساØÙ",base64:"base64-encoded Ù
تÙ",base64url:"base64url-encoded Ù
تÙ",json_string:"JSON Ù
تÙ",e164:"د E.164 Ø´Ù
ÛØ±Ù",jwt:"JWT",template_literal:"ÙØ±ÙدÙ"},n={nan:"NaN",number:"عدد",array:"ارÛ"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`ÙØ§Ø³Ù
ÙØ±ÙدÙ: Ø¨Ø§ÛØ¯ instanceof ${r.expected} ÙØ§Û, Ù
ګر ${a} ØªØ±ÙØ§Ø³Ù Ø´Ù`;return`ÙØ§Ø³Ù
ÙØ±ÙدÙ: Ø¨Ø§ÛØ¯ ${e} ÙØ§Û, Ù
ګر ${a} ØªØ±ÙØ§Ø³Ù Ø´Ù`}case"invalid_value":if(1===r.values.length)return`ÙØ§Ø³Ù
ÙØ±ÙدÙ: Ø¨Ø§ÛØ¯ ${er(r.values[0])} ÙØ§Û`;return`ÙØ§Ø³Ù
Ø§ÙØªØ®Ø§Ø¨: Ø¨Ø§ÛØ¯ ÛÙ ÙÙ ${A(r.values,"|")} Ú
Ø®Ù ÙØ§Û`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`ÚÛØ± ÙÙÛ: ${r.origin??"Ø§Ø±Ø²ÚØª"} Ø¨Ø§ÛØ¯ ${t}${r.maximum.toString()} ${n.unit??"Ø¹ÙØµØ±ÙÙÙ"} ÙÙØ±Ù`;return`ÚÛØ± ÙÙÛ: ${r.origin??"Ø§Ø±Ø²ÚØª"} Ø¨Ø§ÛØ¯ ${t}${r.maximum.toString()} ÙÙ`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`ÚÛØ± Ú©ÙÚÙÛ: ${r.origin} Ø¨Ø§ÛØ¯ ${t}${r.minimum.toString()} ${n.unit} ÙÙØ±Ù`;return`ÚÛØ± Ú©ÙÚÙÛ: ${r.origin} Ø¨Ø§ÛØ¯ ${t}${r.minimum.toString()} ÙÙ`}case"invalid_format":if("starts_with"===r.format)return`ÙØ§Ø³Ù
Ù
تÙ: Ø¨Ø§ÛØ¯ د "${r.prefix}" سر٠پÛÙ Ø´Ù`;if("ends_with"===r.format)return`ÙØ§Ø³Ù
Ù
تÙ: Ø¨Ø§ÛØ¯ د "${r.suffix}" Ø³Ø±Ù Ù¾Ø§Û ØªÙ ÙØ±Ø³ÙÚÙ`;if("includes"===r.format)return`ÙØ§Ø³Ù
Ù
تÙ: Ø¨Ø§ÛØ¯ "${r.includes}" ÙÙØ±Ù`;if("regex"===r.format)return`ÙØ§Ø³Ù
Ù
تÙ: Ø¨Ø§ÛØ¯ د ${r.pattern} سر٠Ù
Ø·Ø§Ø¨ÙØª ÙÙØ±Ù`;return`${t[r.format]??r.format} ÙØ§Ø³Ù
دÛ`;case"not_multiple_of":return`ÙØ§Ø³Ù
عدد: Ø¨Ø§ÛØ¯ د ${r.divisor} Ù
ضرب ÙÙ`;case"unrecognized_keys":return`ÙØ§Ø³Ù
${r.keys.length>1?"Ú©ÙÛÚÙÙÙ":"Ú©ÙÛÚ"}: ${A(r.keys,", ")}`;case"invalid_key":return`ÙØ§Ø³Ù
Ú©ÙÛÚ Ù¾Ù ${r.origin} Ú©Û`;case"invalid_union":default:return`ÙØ§Ø³Ù
Ù ÙØ±ÙدÙ`;case"invalid_element":return`ÙØ§Ø³Ù
Ø¹ÙØµØ± Ù¾Ù ${r.origin} Ú©Û`}}};function a4(){return{localeError:a2()}}let a8=()=>{let e={string:{unit:"znak\xf3w",verb:"mieÄ"},file:{unit:"bajt\xf3w",verb:"mieÄ"},array:{unit:"element\xf3w",verb:"mieÄ"},set:{unit:"element\xf3w",verb:"mieÄ"}},t={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciÄ
g znak\xf3w zakodowany w formacie base64",base64url:"ciÄ
g znak\xf3w zakodowany w formacie base64url",json_string:"ciÄ
g znak\xf3w w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejÅcie"},n={nan:"NaN",number:"liczba",array:"tablica"};return r=>
184{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`NieprawidÅowe dane wejÅciowe: oczekiwano instanceof ${r.expected}, otrzymano ${a}`;return`NieprawidÅowe dane wejÅciowe: oczekiwano ${e}, otrzymano ${a}`}case"invalid_value":if(1===r.values.length)return`NieprawidÅowe dane wejÅciowe: oczekiwano ${er(r.values[0])}`;return`NieprawidÅowa opcja: oczekiwano jednej z wartoÅci ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Za duża wartoÅÄ: oczekiwano, że ${r.origin??"wartoÅÄ"} bÄdzie mieÄ ${t}${r.maximum.toString()} ${n.unit??"element\xf3w"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${r.origin??"wartoÅÄ"} bÄdzie wynosiÄ ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Za maÅa wartoÅÄ: oczekiwano, że ${r.origin??"wartoÅÄ"} bÄdzie mieÄ ${t}${r.minimum.toString()} ${n.unit??"element\xf3w"}`;return`Zbyt maÅ(y/a/e): oczekiwano, że ${r.origin??"wartoÅÄ"} bÄdzie wynosiÄ ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`NieprawidÅowy ciÄ
g znak\xf3w: musi zaczynaÄ siÄ od "${r.prefix}"`;if("ends_with"===r.format)return`NieprawidÅowy ciÄ
g znak\xf3w: musi koÅczyÄ siÄ na "${r.suffix}"`;if("includes"===r.format)return`NieprawidÅowy ciÄ
g znak\xf3w: musi zawieraÄ "${r.includes}"`;if("regex"===r.format)return`NieprawidÅowy ciÄ
g znak\xf3w: musi odpowiadaÄ wzorcowi ${r.pattern}`;return`NieprawidÅow(y/a/e) ${t[r.format]??r.format}`;case"not_multiple_of":return`NieprawidÅowa liczba: musi byÄ wielokrotnoÅciÄ
${r.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${r.keys.length>1?"s":""}: ${A(r.keys,", ")}`;case"invalid_key":return`NieprawidÅowy klucz w ${r.origin}`;case"invalid_union":return"NieprawidÅowe dane wejÅciowe";case"invalid_element":return`NieprawidÅowa wartoÅÄ w ${r.origin}`;default:return`NieprawidÅowe dane wejÅciowe`}}};function a6(){return{localeError:a8()}}let a3=()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}},t={regex:"padr\xe3o",email:"endere\xe7o de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"dura\xe7\xe3o ISO",ipv4:"endere\xe7o IPv4",ipv6:"endere\xe7o IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"n\xfamero E.164",jwt:"JWT",template_literal:"entrada"},n={nan:"NaN",number:"n\xfamero",null:"nulo"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Tipo inv\xe1lido: esperado instanceof ${r.expected}, recebido ${a}`;return`Tipo inv\xe1lido: esperado ${e}, recebido ${a}`}case"invalid_value":if(1===r.values.length)return`Entrada inv\xe1lida: esperado ${er(r.values[0])}`;return`Op\xe7\xe3o inv\xe1lida: esperada uma das ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Muito grande: esperado que ${r.origin??"valor"} tivesse ${t}${r.maximum.toString()} ${n.unit??"elementos"}`;return`Muito grande: esperado que ${r.origin??"valor"} fosse ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Muito pequeno: esperado que ${r.origin} tivesse ${t}${r.minimum.toString()} ${n.unit}`;return`Muito pequeno: esperado que ${r.origin} fosse ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Texto inv\xe1lido: deve come\xe7ar com "${r.prefix}"`;if("ends_with"===r.format)return`Texto inv\xe1lido: deve terminar com "${r.suffix}"`;if("includes"===r.format)return`Texto inv\xe1lido: deve incluir "${r.includes}"`;if("regex"===r.format)return`Texto inv\xe1lido: deve corresponder ao padr\xe3o ${r.pattern}`;return`${t[r.format]??r.format} inv\xe1lido`;case"not_multiple_of":return`N\xfamero inv\xe1lido: deve ser m\xfaltiplo de ${r.divisor}`;case"unrecognized_keys":return`Chave${r.keys.length>
1841?"s":""} desconhecida${r.keys.length>1?"s":""}: ${A(r.keys,", ")}`;case"invalid_key":return`Chave inv\xe1lida em ${r.origin}`;case"invalid_union":return"Entrada inv\xe1lida";case"invalid_element":return`Valor inv\xe1lido em ${r.origin}`;default:return`Campo inv\xe1lido`}}};function a5(){return{localeError:a3()}}function a7(e,t,n,r){let a=Math.abs(e),i=a%10,o=a%100;return o>=11&&o<=19?r:1===i?t:i>=2&&i<=4?n:r}let a9=()=>{let e={string:{unit:{one:"Ñимвол",few:"Ñимвола",many:"Ñимволов"},verb:"имеÑÑ"},file:{unit:{one:"байÑ",few:"байÑа",many:"байÑ"},verb:"имеÑÑ"},array:{unit:{one:"ÑлеменÑ",few:"ÑлеменÑа",many:"ÑлеменÑов"},verb:"имеÑÑ"},set:{unit:{one:"ÑлеменÑ",few:"ÑлеменÑа",many:"ÑлеменÑов"},verb:"имеÑÑ"}},t={regex:"ввод",email:"email адÑеÑ",url:"URL",emoji:"Ñмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO даÑа и вÑемÑ",date:"ISO даÑа",time:"ISO вÑемÑ",duration:"ISO длиÑелÑноÑÑÑ",ipv4:"IPv4 адÑеÑ",ipv6:"IPv6 адÑеÑ",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"ÑÑÑока в ÑоÑмаÑе base64",base64url:"ÑÑÑока в ÑоÑмаÑе base64url",json_string:"JSON ÑÑÑока",e164:"Ð½Ð¾Ð¼ÐµÑ E.164",jwt:"JWT",template_literal:"ввод"},n={nan:"NaN",number:"ÑиÑло",array:"маÑÑив"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`ÐевеÑнÑй ввод: ожидалоÑÑ instanceof ${r.expected}, полÑÑено ${a}`;return`ÐевеÑнÑй ввод: ожидалоÑÑ ${e}, полÑÑено ${a}`}case"invalid_value":if(1===r.values.length)return`ÐевеÑнÑй ввод: ожидалоÑÑ ${er(r.values[0])}`;return`ÐевеÑнÑй ваÑианÑ: ожидалоÑÑ Ð¾Ð´Ð½Ð¾ из ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n){let e=a7(Number(r.maximum),n.unit.one,n.unit.few,n.unit.many);return`СлиÑком болÑÑое знаÑение: ожидалоÑÑ, ÑÑо ${r.origin??"знаÑение"} бÑÐ´ÐµÑ Ð¸Ð¼ÐµÑÑ ${t}${r.maximum.toString()} ${e}`}return`СлиÑком болÑÑое знаÑение: ожидалоÑÑ, ÑÑо ${r.origin??"знаÑение"} бÑÐ´ÐµÑ ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n){let e=a7(Number(r.minimum),n.unit.one,n.unit.few,n.unit.many);return`СлиÑком маленÑкое знаÑение: ожидалоÑÑ, ÑÑо ${r.origin} бÑÐ´ÐµÑ Ð¸Ð¼ÐµÑÑ ${t}${r.minimum.toString()} ${e}`}return`СлиÑком маленÑкое знаÑение: ожидалоÑÑ, ÑÑо ${r.origin} бÑÐ´ÐµÑ ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`ÐевеÑÐ½Ð°Ñ ÑÑÑока: должна наÑинаÑÑÑÑ Ñ "${r.prefix}"`;if("ends_with"===r.format)return`ÐевеÑÐ½Ð°Ñ ÑÑÑока: должна заканÑиваÑÑÑÑ Ð½Ð° "${r.suffix}"`;if("includes"===r.format)return`ÐевеÑÐ½Ð°Ñ ÑÑÑока: должна ÑодеÑжаÑÑ "${r.includes}"`;if("regex"===r.format)return`ÐевеÑÐ½Ð°Ñ ÑÑÑока: должна ÑооÑвеÑÑÑвоваÑÑ ÑÐ°Ð±Ð»Ð¾Ð½Ñ ${r.pattern}`;return`ÐевеÑнÑй ${t[r.format]??r.format}`;case"not_multiple_of":return`ÐевеÑное ÑиÑло: должно бÑÑÑ ÐºÑаÑнÑм ${r.divisor}`;case"unrecognized_keys":return`ÐеÑаÑпознанн${r.keys.length>1?"Ñе":"Ñй"} клÑÑ${r.keys.length>1?"и":""}: ${A(r.keys,", ")}`;case"invalid_key":return`ÐевеÑнÑй клÑÑ Ð² ${r.origin}`;case"invalid_union":return"ÐевеÑнÑе вÑ
однÑе даннÑе";case"invalid_element":return`ÐевеÑное знаÑение в ${r.origin}`;default:return`ÐевеÑнÑе вÑ
однÑе даннÑе`}}};function ie(){return{localeError:a9()}}let it=()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}},t={regex:"vnos",email:"e-poÅ¡tni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in Äas",date:"ISO datum",time:"ISO Äas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 Å¡tevilka",jwt:"JWT",template_literal:"vnos"},n={nan:"NaN",number:"Å¡tevilo",array:"tabela"};return r=>
184{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Neveljaven vnos: priÄakovano instanceof ${r.expected}, prejeto ${a}`;return`Neveljaven vnos: priÄakovano ${e}, prejeto ${a}`}case"invalid_value":if(1===r.values.length)return`Neveljaven vnos: priÄakovano ${er(r.values[0])}`;return`Neveljavna možnost: priÄakovano eno izmed ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Preveliko: priÄakovano, da bo ${r.origin??"vrednost"} imelo ${t}${r.maximum.toString()} ${n.unit??"elementov"}`;return`Preveliko: priÄakovano, da bo ${r.origin??"vrednost"} ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Premajhno: priÄakovano, da bo ${r.origin} imelo ${t}${r.minimum.toString()} ${n.unit}`;return`Premajhno: priÄakovano, da bo ${r.origin} ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Neveljaven niz: mora se zaÄeti z "${r.prefix}"`;if("ends_with"===r.format)return`Neveljaven niz: mora se konÄati z "${r.suffix}"`;if("includes"===r.format)return`Neveljaven niz: mora vsebovati "${r.includes}"`;if("regex"===r.format)return`Neveljaven niz: mora ustrezati vzorcu ${r.pattern}`;return`Neveljaven ${t[r.format]??r.format}`;case"not_multiple_of":return`Neveljavno Å¡tevilo: mora biti veÄkratnik ${r.divisor}`;case"unrecognized_keys":return`Neprepoznan${r.keys.length>1?"i kljuÄi":" kljuÄ"}: ${A(r.keys,", ")}`;case"invalid_key":return`Neveljaven kljuÄ v ${r.origin}`;case"invalid_union":default:return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${r.origin}`}}};function ir(){return{localeError:it()}}let ia=()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xe5lla"},set:{unit:"objekt",verb:"att inneh\xe5lla"}},t={regex:"regulj\xe4rt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad str\xe4ng",base64url:"base64url-kodad str\xe4ng",json_string:"JSON-str\xe4ng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},n={nan:"NaN",number:"antal",array:"lista"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Ogiltig inmatning: f\xf6rv\xe4ntat instanceof ${r.expected}, fick ${a}`;return`Ogiltig inmatning: f\xf6rv\xe4ntat ${e}, fick ${a}`}case"invalid_value":if(1===r.values.length)return`Ogiltig inmatning: f\xf6rv\xe4ntat ${er(r.values[0])}`;return`Ogiltigt val: f\xf6rv\xe4ntade en av ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`F\xf6r stor(t): f\xf6rv\xe4ntade ${r.origin??"v\xe4rdet"} att ha ${t}${r.maximum.toString()} ${n.unit??"element"}`;return`F\xf6r stor(t): f\xf6rv\xe4ntat ${r.origin??"v\xe4rdet"} att ha ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`F\xf6r lite(t): f\xf6rv\xe4ntade ${r.origin??"v\xe4rdet"} att ha ${t}${r.minimum.toString()} ${n.unit}`;return`F\xf6r lite(t): f\xf6rv\xe4ntade ${r.origin??"v\xe4rdet"} att ha ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Ogiltig str\xe4ng: m\xe5ste b\xf6rja med "${r.prefix}"`;if("ends_with"===r.format)return`Ogiltig str\xe4ng: m\xe5ste sluta med "${r.suffix}"`;if("includes"===r.format)return`Ogiltig str\xe4ng: m\xe5ste inneh\xe5lla "${r.includes}"`;if("regex"===r.format)return`Ogiltig str\xe4ng: m\xe5ste matcha m\xf6nstret "${r.pattern}"`;return`Ogiltig(t) ${t[r.format]??r.format}`;case"not_multiple_of":return`Ogiltigt tal: m\xe5ste vara en multipel av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ok\xe4nda nycklar":"Ok\xe4nd nyckel"}: ${A(r.keys,", ")}`;
184case"invalid_key":return`Ogiltig nyckel i ${r.origin??"v\xe4rdet"}`;case"invalid_union":default:return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xe4rde i ${r.origin??"v\xe4rdet"}`}}};function ii(){return{localeError:ia()}}let io=()=>{let e={string:{unit:"à®à®´à¯à®¤à¯à®¤à¯à®à¯à®à®³à¯",verb:"à®à¯à®£à¯à®à®¿à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯"},file:{unit:"பà¯à®à¯à®à¯à®à®³à¯",verb:"à®à¯à®£à¯à®à®¿à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯"},array:{unit:"à®à®±à¯à®ªà¯à®ªà¯à®à®³à¯",verb:"à®à¯à®£à¯à®à®¿à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯"},set:{unit:"à®à®±à¯à®ªà¯à®ªà¯à®à®³à¯",verb:"à®à¯à®£à¯à®à®¿à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯"}},t={regex:"à®à®³à¯à®³à¯à®à¯",email:"மினà¯à®©à®à¯à®à®²à¯ à®®à¯à®à®µà®°à®¿",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தà¯à®¤à®¿ நà¯à®°à®®à¯",date:"ISO தà¯à®¤à®¿",time:"ISO நà¯à®°à®®à¯",duration:"ISO à®à®¾à®² à®
ளவà¯",ipv4:"IPv4 à®®à¯à®à®µà®°à®¿",ipv6:"IPv6 à®®à¯à®à®µà®°à®¿",cidrv4:"IPv4 வரமà¯à®ªà¯",cidrv6:"IPv6 வரமà¯à®ªà¯",base64:"base64-encoded à®à®°à®®à¯",base64url:"base64url-encoded à®à®°à®®à¯",json_string:"JSON à®à®°à®®à¯",e164:"E.164 à®à®£à¯",jwt:"JWT",template_literal:"input"},n={nan:"NaN",number:"à®à®£à¯",array:"à®
ணி",null:"வà¯à®±à¯à®®à¯"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`தவறான à®à®³à¯à®³à¯à®à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ instanceof ${r.expected}, பà¯à®±à®ªà¯à®ªà®à¯à®à®¤à¯ ${a}`;return`தவறான à®à®³à¯à®³à¯à®à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${e}, பà¯à®±à®ªà¯à®ªà®à¯à®à®¤à¯ ${a}`}case"invalid_value":if(1===r.values.length)return`தவறான à®à®³à¯à®³à¯à®à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${er(r.values[0])}`;return`தவறான விரà¯à®ªà¯à®ªà®®à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${A(r.values,"|")} à®à®²à¯ à®à®©à¯à®±à¯`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`மி஠பà¯à®°à®¿à®¯à®¤à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${r.origin??"மதிபà¯à®ªà¯"} ${t}${r.maximum.toString()} ${n.unit??"à®à®±à¯à®ªà¯à®ªà¯à®à®³à¯"} à®à® à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`;return`மி஠பà¯à®°à®¿à®¯à®¤à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${r.origin??"மதிபà¯à®ªà¯"} ${t}${r.maximum.toString()} à®à® à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`மிà®à®à¯ à®à®¿à®±à®¿à®¯à®¤à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${r.origin} ${t}${r.minimum.toString()} ${n.unit} à®à® à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`;return`மிà®à®à¯ à®à®¿à®±à®¿à®¯à®¤à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${r.origin} ${t}${r.minimum.toString()} à®à® à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`}case"invalid_format":if("starts_with"===r.format)return`தவறான à®à®°à®®à¯: "${r.prefix}" à®à®²à¯ தà¯à®à®à¯à® வà¯à®£à¯à®à¯à®®à¯`;if("ends_with"===r.format)return`தவறான à®à®°à®®à¯: "${r.suffix}" à®à®²à¯ à®®à¯à®à®¿à®µà®à¯à®¯ வà¯à®£à¯à®à¯à®®à¯`;if("includes"===r.format)return`தவறான à®à®°à®®à¯: "${r.includes}" à® à®à®³à¯à®³à®à®à¯à® வà¯à®£à¯à®à¯à®®à¯`;if("regex"===r.format)return`தவறான à®à®°à®®à¯: ${r.pattern} à®®à¯à®±à¯à®ªà®¾à®à¯à®à¯à®à®©à¯ பà¯à®°à¯à®¨à¯à®¤ வà¯à®£à¯à®à¯à®®à¯`;return`தவறான ${t[r.format]??r.format}`;case"not_multiple_of":return`தவறான à®à®£à¯: ${r.divisor} à®à®©à¯ பலமா஠à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`;case"unrecognized_keys":return`à®
à®à¯à®¯à®¾à®³à®®à¯ தà¯à®°à®¿à®¯à®¾à®¤ விà®à¯${r.keys.length>1?"à®à®³à¯":""}: ${A(r.keys,", ")}`;
184case"invalid_key":return`${r.origin} à®à®²à¯ தவறான விà®à¯`;case"invalid_union":return"தவறான à®à®³à¯à®³à¯à®à¯";case"invalid_element":return`${r.origin} à®à®²à¯ தவறான மதிபà¯à®ªà¯`;default:return`தவறான à®à®³à¯à®³à¯à®à¯`}}};function il(){return{localeError:io()}}let is=()=>{let e={string:{unit:"à¸à¸±à¸§à¸à¸±à¸à¸©à¸£",verb:"à¸à¸§à¸£à¸¡à¸µ"},file:{unit:"à¹à¸à¸à¹",verb:"à¸à¸§à¸£à¸¡à¸µ"},array:{unit:"รายà¸à¸²à¸£",verb:"à¸à¸§à¸£à¸¡à¸µ"},set:{unit:"รายà¸à¸²à¸£",verb:"à¸à¸§à¸£à¸¡à¸µ"}},t={regex:"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸µà¹à¸à¹à¸à¸",email:"à¸à¸µà¹à¸à¸¢à¸¹à¹à¸à¸µà¹à¸¡à¸¥",url:"URL",emoji:"à¸à¸´à¹à¸¡à¸à¸´",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วัà¸à¸à¸µà¹à¹à¸§à¸¥à¸²à¹à¸à¸ ISO",date:"วัà¸à¸à¸µà¹à¹à¸à¸ ISO",time:"à¹à¸§à¸¥à¸²à¹à¸à¸ ISO",duration:"à¸à¹à¸§à¸à¹à¸§à¸¥à¸²à¹à¸à¸ ISO",ipv4:"à¸à¸µà¹à¸à¸¢à¸¹à¹ IPv4",ipv6:"à¸à¸µà¹à¸à¸¢à¸¹à¹ IPv6",cidrv4:"à¸à¹à¸§à¸ IP à¹à¸à¸ IPv4",cidrv6:"à¸à¹à¸§à¸ IP à¹à¸à¸ IPv6",base64:"à¸à¹à¸à¸à¸§à¸²à¸¡à¹à¸à¸ Base64",base64url:"à¸à¹à¸à¸à¸§à¸²à¸¡à¹à¸à¸ Base64 สำหรัภURL",json_string:"à¸à¹à¸à¸à¸§à¸²à¸¡à¹à¸à¸ JSON",e164:"à¹à¸à¸à¸£à¹à¹à¸à¸£à¸¨à¸±à¸à¸à¹à¸£à¸°à¸«à¸§à¹à¸²à¸à¸à¸£à¸°à¹à¸à¸¨ (E.164)",jwt:"à¹à¸à¹à¸à¸ JWT",template_literal:"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸µà¹à¸à¹à¸à¸"},n={nan:"NaN",number:"à¸à¸±à¸§à¹à¸¥à¸",array:"à¸à¸²à¸£à¹à¹à¸£à¸¢à¹ (Array)",null:"à¹à¸¡à¹à¸¡à¸µà¸à¹à¸² (null)"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`à¸à¸£à¸°à¹à¸ à¸à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¸§à¸£à¹à¸à¹à¸ instanceof ${r.expected} à¹à¸à¹à¹à¸à¹à¸£à¸±à¸ ${a}`;return`à¸à¸£à¸°à¹à¸ à¸à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¸§à¸£à¹à¸à¹à¸ ${e} à¹à¸à¹à¹à¸à¹à¸£à¸±à¸ ${a}`}case"invalid_value":if(1===r.values.length)return`à¸à¹à¸²à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¸§à¸£à¹à¸à¹à¸ ${er(r.values[0])}`;return`à¸à¸±à¸§à¹à¸¥à¸·à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¸§à¸£à¹à¸à¹à¸à¸«à¸à¸¶à¹à¸à¹à¸ ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"à¹à¸¡à¹à¹à¸à¸´à¸":"à¸à¹à¸à¸¢à¸à¸§à¹à¸²",n=e[r.origin]??null;if(n)return`à¹à¸à¸´à¸à¸à¸³à¸«à¸à¸: ${r.origin??"à¸à¹à¸²"} à¸à¸§à¸£à¸¡à¸µ${t} ${r.maximum.toString()} ${n.unit??"รายà¸à¸²à¸£"}`;
184return`à¹à¸à¸´à¸à¸à¸³à¸«à¸à¸: ${r.origin??"à¸à¹à¸²"} à¸à¸§à¸£à¸¡à¸µ${t} ${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?"à¸à¸¢à¹à¸²à¸à¸à¹à¸à¸¢":"มาà¸à¸à¸§à¹à¸²",n=e[r.origin]??null;if(n)return`à¸à¹à¸à¸¢à¸à¸§à¹à¸²à¸à¸³à¸«à¸à¸: ${r.origin} à¸à¸§à¸£à¸¡à¸µ${t} ${r.minimum.toString()} ${n.unit}`;return`à¸à¹à¸à¸¢à¸à¸§à¹à¸²à¸à¸³à¸«à¸à¸: ${r.origin} à¸à¸§à¸£à¸¡à¸µ${t} ${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¸§à¸²à¸¡à¸à¹à¸à¸à¸à¸¶à¹à¸à¸à¹à¸à¸à¹à¸§à¸¢ "${r.prefix}"`;if("ends_with"===r.format)return`รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¸§à¸²à¸¡à¸à¹à¸à¸à¸¥à¸à¸à¹à¸²à¸¢à¸à¹à¸§à¸¢ "${r.suffix}"`;if("includes"===r.format)return`รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¸§à¸²à¸¡à¸à¹à¸à¸à¸¡à¸µ "${r.includes}" à¸à¸¢à¸¹à¹à¹à¸à¸à¹à¸à¸à¸§à¸²à¸¡`;if("regex"===r.format)return`รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¸à¸£à¸à¸à¸±à¸à¸£à¸¹à¸à¹à¸à¸à¸à¸µà¹à¸à¸³à¸«à¸à¸ ${r.pattern}`;return`รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: ${t[r.format]??r.format}`;case"not_multiple_of":return`à¸à¸±à¸§à¹à¸¥à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¹à¸à¹à¸à¸à¸³à¸à¸§à¸à¸à¸µà¹à¸«à¸²à¸£à¸à¹à¸§à¸¢ ${r.divisor} à¹à¸à¹à¸¥à¸à¸à¸±à¸§`;case"unrecognized_keys":return`à¸à¸à¸à¸µà¸¢à¹à¸à¸µà¹à¹à¸¡à¹à¸£à¸¹à¹à¸à¸±à¸: ${A(r.keys,", ")}`;case"invalid_key":return`à¸à¸µà¸¢à¹à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸à¹à¸ ${r.origin}`;case"invalid_union":return"à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¹à¸¡à¹à¸à¸£à¸à¸à¸±à¸à¸£à¸¹à¸à¹à¸à¸à¸¢à¸¹à¹à¸à¸µà¸¢à¸à¸à¸µà¹à¸à¸³à¸«à¸à¸à¹à¸§à¹";case"invalid_element":return`à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸à¹à¸ ${r.origin}`;default:return`à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸`}}};function iu(){return{localeError:is()}}let ic=()=>{let e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"\xf6Äe",verb:"olmalı"},set:{unit:"\xf6Äe",verb:"olmalı"}},t={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO s\xfcre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralıÄı",cidrv6:"IPv6 aralıÄı",base64:"base64 ile ÅifrelenmiÅ metin",base64url:"base64url ile ÅifrelenmiÅ metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Åablon dizesi"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Ge\xe7ersiz deÄer: beklenen instanceof ${r.expected}, alınan ${a}`;return`Ge\xe7ersiz deÄer: beklenen ${e}, alınan ${a}`}case"invalid_value":if(1===r.values.length)return`Ge\xe7ersiz deÄer: beklenen ${er(r.values[0])}`;return`Ge\xe7ersiz se\xe7enek: aÅaÄıdakilerden biri olmalı: ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`\xc7ok b\xfcy\xfck: beklenen ${r.origin??"deÄer"} ${t}${r.maximum.toString()} ${n.unit??"\xf6Äe"}`;return`\xc7ok b\xfcy\xfck: beklenen ${r.origin??"deÄer"} ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`\xc7ok k\xfc\xe7\xfck: beklenen ${r.origin} ${t}${r.minimum.toString()} ${n.unit}`;return`\xc7ok k\xfc\xe7\xfck: beklenen ${r.origin} ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Ge\xe7ersiz metin: "${r.prefix}" ile baÅlamalı`;if("ends_with"===r.format)return`Ge\xe7ersiz metin: "${r.suffix}" ile bitmeli`;if("includes"===r.format)return`Ge\xe7ersiz metin: "${r.includes}" i\xe7ermeli`;if("regex"===r.format)return`Ge\xe7ersiz metin: ${r.pattern} desenine uymalı`;return`Ge\xe7ersiz ${t[r.format]??r.format}`;case"not_multiple_of":return`Ge\xe7ersiz sayı: ${r.divisor} ile tam b\xf6l\xfcnebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${r.keys.length>1?"lar":""}: ${A(r.keys,", ")}`;
184case"invalid_key":return`${r.origin} i\xe7inde ge\xe7ersiz anahtar`;case"invalid_union":return"Ge\xe7ersiz deÄer";case"invalid_element":return`${r.origin} i\xe7inde ge\xe7ersiz deÄer`;default:return`Ge\xe7ersiz deÄer`}}};function id(){return{localeError:ic()}}let ip=()=>{let e={string:{unit:"ÑимволÑв",verb:"маÑиме"},file:{unit:"байÑÑв",verb:"маÑиме"},array:{unit:"елеменÑÑв",verb:"маÑиме"},set:{unit:"елеменÑÑв",verb:"маÑиме"}},t={regex:"вÑ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ",email:"адÑеÑа елекÑÑÐ¾Ð½Ð½Ð¾Ñ Ð¿Ð¾ÑÑи",url:"URL",emoji:"емодзÑ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"даÑа Ñа ÑÐ°Ñ ISO",date:"даÑа ISO",time:"ÑÐ°Ñ ISO",duration:"ÑÑивалÑÑÑÑ ISO",ipv4:"адÑеÑа IPv4",ipv6:"адÑеÑа IPv6",cidrv4:"дÑапазон IPv4",cidrv6:"дÑапазон IPv6",base64:"ÑÑдок Ñ ÐºÐ¾Ð´ÑÐ²Ð°Ð½Ð½Ñ base64",base64url:"ÑÑдок Ñ ÐºÐ¾Ð´ÑÐ²Ð°Ð½Ð½Ñ base64url",json_string:"ÑÑдок JSON",e164:"Ð½Ð¾Ð¼ÐµÑ E.164",jwt:"JWT",template_literal:"вÑ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ"},n={nan:"NaN",number:"ÑиÑло",array:"маÑив"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`ÐепÑавилÑÐ½Ñ Ð²Ñ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ: оÑÑкÑÑÑÑÑÑ instanceof ${r.expected}, оÑÑимано ${a}`;return`ÐепÑавилÑÐ½Ñ Ð²Ñ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ: оÑÑкÑÑÑÑÑÑ ${e}, оÑÑимано ${a}`}case"invalid_value":if(1===r.values.length)return`ÐепÑавилÑÐ½Ñ Ð²Ñ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ: оÑÑкÑÑÑÑÑÑ ${er(r.values[0])}`;return`ÐепÑавилÑна опÑÑÑ: оÑÑкÑÑÑÑÑÑ Ð¾Ð´Ð½Ðµ з ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`ÐанадÑо велике: оÑÑкÑÑÑÑÑÑ, Ñо ${r.origin??"знаÑеннÑ"} ${n.verb} ${t}${r.maximum.toString()} ${n.unit??"елеменÑÑв"}`;return`ÐанадÑо велике: оÑÑкÑÑÑÑÑÑ, Ñо ${r.origin??"знаÑеннÑ"} бÑде ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`ÐанадÑо мале: оÑÑкÑÑÑÑÑÑ, Ñо ${r.origin} ${n.verb} ${t}${r.minimum.toString()} ${n.unit}`;return`ÐанадÑо мале: оÑÑкÑÑÑÑÑÑ, Ñо ${r.origin} бÑде ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`ÐепÑавилÑний ÑÑдок: повинен поÑинаÑиÑÑ Ð· "${r.prefix}"`;if("ends_with"===r.format)return`ÐепÑавилÑний ÑÑдок: повинен закÑнÑÑваÑиÑÑ Ð½Ð° "${r.suffix}"`;if("includes"===r.format)return`ÐепÑавилÑний ÑÑдок: повинен мÑÑÑиÑи "${r.includes}"`;if("regex"===r.format)return`ÐепÑавилÑний ÑÑдок: повинен вÑдповÑдаÑи ÑÐ°Ð±Ð»Ð¾Ð½Ñ ${r.pattern}`;return`ÐепÑавилÑний ${t[r.format]??r.format}`;case"not_multiple_of":return`ÐепÑавилÑне ÑиÑло: повинно бÑÑи кÑаÑним ${r.divisor}`;case"unrecognized_keys":return`ÐеÑозпÑзнаний клÑÑ${r.keys.length>1?"Ñ":""}: ${A(r.keys,", ")}`;case"invalid_key":return`ÐепÑавилÑний клÑÑ Ñ ${r.origin}`;case"invalid_union":return"ÐепÑавилÑÐ½Ñ Ð²Ñ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ";case"invalid_element":return`ÐепÑавилÑне знаÑÐµÐ½Ð½Ñ Ñ ${r.origin}`;default:return`ÐепÑавилÑÐ½Ñ Ð²Ñ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ`}}};function im(){return{localeError:ip()}}function ih(){return im()}let ig=()=>{let e={string:{unit:"ØØ±ÙÙ",verb:"ÛÙÙØ§"},file:{unit:"بائٹس",verb:"ÛÙÙØ§"},array:{unit:"آئٹÙ
ز",verb:"ÛÙÙØ§"},set:{unit:"آئٹÙ
ز",verb:"ÛÙÙØ§"}},t={regex:"ا٠پٹ",email:"Ø§Û Ù
Û٠اÛÚØ±Ûس",url:"Û٠آر اÛÙ",emoji:"اÛÙ
ÙØ¬Û",uuid:"ÛÙ ÛÙ Ø¢Ø¦Û ÚÛ",uuidv4:"ÛÙ ÛÙ Ø¢Ø¦Û ÚÛ ÙÛ 4",uuidv6:"ÛÙ ÛÙ Ø¢Ø¦Û ÚÛ ÙÛ 6",nanoid:"ÙÛÙÙ Ø¢Ø¦Û ÚÛ",guid:"Ø¬Û ÛÙ Ø¢Ø¦Û ÚÛ",cuid:"Ø³Û ÛÙ Ø¢Ø¦Û ÚÛ",cuid2:"Ø³Û ÛÙ Ø¢Ø¦Û ÚÛ 2",ulid:"Û٠اÛÙ Ø¢Ø¦Û ÚÛ",xid:"اÛکس Ø¢Ø¦Û ÚÛ",ksuid:"Ú©Û Ø§ÛØ³ ÛÙ Ø¢Ø¦Û ÚÛ",datetime:"Ø¢Ø¦Û Ø§ÛØ³ ا٠ÚÛÙ¹ ٹائÙ
",date:"Ø¢Ø¦Û Ø§ÛØ³ Ø§Ù ØªØ§Ø±ÛØ®",time:"Ø¢Ø¦Û Ø§ÛØ³ ا٠ÙÙØª",duration:"Ø¢Ø¦Û Ø§ÛØ³ ا٠Ù
دت",ipv4:"Ø¢Ø¦Û Ù¾Û ÙÛ 4 اÛÚØ±Ûس",ipv6:"Ø¢Ø¦Û Ù¾Û ÙÛ 6 اÛÚØ±Ûس",cidrv4:"Ø¢Ø¦Û Ù¾Û ÙÛ 4 رÛÙØ¬",cidrv6:"Ø¢Ø¦Û Ù¾Û ÙÛ 6 رÛÙØ¬",base64:"Ø¨ÛØ³ 64 ا٠کÙÚÚ Ø³Ù¹Ø±ÙÚ¯",base64url:"Ø¨ÛØ³ 64 Û٠آر اÛ٠ا٠کÙÚÚ Ø³Ù¹Ø±ÙÚ¯",json_string:"Ø¬Û Ø§ÛØ³ ا٠اÛ٠سٹرÙÚ¯",e164:"Ø§Û 164 ÙÙ
بر",jwt:"Ø¬Û ÚØ¨ÙÛÙ Ù¹Û",template_literal:"ا٠پٹ"},n={nan:"NaN",number:"ÙÙ
بر",array:"آرÛ",null:"ÙÙ"};return r=>
184{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`ØºÙØ· ا٠پٹ: instanceof ${r.expected} Ù
تÙÙØ¹ ØªÚ¾Ø§Ø ${a} Ù
ÙØµÙÙ ÛÙØ§`;return`ØºÙØ· ا٠پٹ: ${e} Ù
تÙÙØ¹ ØªÚ¾Ø§Ø ${a} Ù
ÙØµÙÙ ÛÙØ§`}case"invalid_value":if(1===r.values.length)return`ØºÙØ· ا٠پٹ: ${er(r.values[0])} Ù
تÙÙØ¹ تھا`;return`ØºÙØ· آپشÙ: ${A(r.values,"|")} Ù
ÛÚº Ø³Û Ø§ÛÚ© Ù
تÙÙØ¹ تھا`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Ø¨ÛØª Ø¨ÚØ§: ${r.origin??"ÙÛÙÛÙ"} Ú©Û ${t}${r.maximum.toString()} ${n.unit??"Ø¹ÙØ§ØµØ±"} ÛÙÙÛ Ù
تÙÙØ¹ تھÛ`;return`Ø¨ÛØª Ø¨ÚØ§: ${r.origin??"ÙÛÙÛÙ"} کا ${t}${r.maximum.toString()} ÛÙÙØ§ Ù
تÙÙØ¹ تھا`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Ø¨ÛØª ÚÚ¾Ùٹا: ${r.origin} Ú©Û ${t}${r.minimum.toString()} ${n.unit} ÛÙÙÛ Ù
تÙÙØ¹ تھÛ`;return`Ø¨ÛØª ÚÚ¾Ùٹا: ${r.origin} کا ${t}${r.minimum.toString()} ÛÙÙØ§ Ù
تÙÙØ¹ تھا`}case"invalid_format":if("starts_with"===r.format)return`ØºÙØ· سٹرÙÚ¯: "${r.prefix}" Ø³Û Ø´Ø±ÙØ¹ ÛÙÙØ§ ÚØ§ÛÛÛ`;if("ends_with"===r.format)return`ØºÙØ· سٹرÙÚ¯: "${r.suffix}" پر ختÙ
ÛÙÙØ§ ÚØ§ÛÛÛ`;if("includes"===r.format)return`ØºÙØ· سٹرÙÚ¯: "${r.includes}" شاÙ
Ù ÛÙÙØ§ ÚØ§ÛÛÛ`;if("regex"===r.format)return`ØºÙØ· سٹرÙÚ¯: Ù¾Ûٹر٠${r.pattern} Ø³Û Ù
ÛÚ ÛÙÙØ§ ÚØ§ÛÛÛ`;return`ØºÙØ· ${t[r.format]??r.format}`;case"not_multiple_of":return`ØºÙØ· ÙÙ
بر: ${r.divisor} کا Ù
ضاع٠ÛÙÙØ§ ÚØ§ÛÛÛ`;case"unrecognized_keys":return`ØºÛØ± تسÙÛÙ
Ø´Ø¯Û Ú©Û${r.keys.length>1?"ز":""}: ${A(r.keys,"Ø ")}`;case"invalid_key":return`${r.origin} Ù
ÛÚº ØºÙØ· Ú©Û`;case"invalid_union":return"ØºÙØ· ا٠پٹ";case"invalid_element":return`${r.origin} Ù
ÛÚº ØºÙØ· ÙÛÙÛÙ`;default:return`ØºÙØ· ا٠پٹ`}}};function iv(){return{localeError:ig()}}let iy=()=>{let e={string:{unit:"belgi",verb:"boâlishi kerak"},file:{unit:"bayt",verb:"boâlishi kerak"},array:{unit:"element",verb:"boâlishi kerak"},set:{unit:"element",verb:"boâlishi kerak"}},t={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},n={nan:"NaN",number:"raqam",array:"massiv"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Notoâgâri kirish: kutilgan instanceof ${r.expected}, qabul qilingan ${a}`;return`Notoâgâri kirish: kutilgan ${e}, qabul qilingan ${a}`}case"invalid_value":if(1===r.values.length)return`Notoâgâri kirish: kutilgan ${er(r.values[0])}`;return`Notoâgâri variant: quyidagilardan biri kutilgan ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Juda katta: kutilgan ${r.origin??"qiymat"} ${t}${r.maximum.toString()} ${n.unit} ${n.verb}`;return`Juda katta: kutilgan ${r.origin??"qiymat"} ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Juda kichik: kutilgan ${r.origin} ${t}${r.minimum.toString()} ${n.unit} ${n.verb}`;return`Juda kichik: kutilgan ${r.origin} ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Notoâgâri satr: "${r.prefix}" bilan boshlanishi kerak`;if("ends_with"===r.format)return`Notoâgâri satr: "${r.suffix}" bilan tugashi kerak`;if("includes"===r.format)return`Notoâgâri satr: "${r.includes}" ni oâz ichiga olishi kerak`;if("regex"===r.format)return`Notoâgâri satr: ${r.pattern} shabloniga mos kelishi kerak`;return`Notoâgâri ${t[r.format]??r.format}`;case"not_multiple_of":return`Notoâgâri raqam: ${r.divisor} ning karralisi boâlishi kerak`;case"unrecognized_keys":return`Nomaâlum kalit${r.keys.length>1?"lar":""}: ${A(r.keys,", ")}`;
184case"invalid_key":return`${r.origin} dagi kalit notoâgâri`;case"invalid_union":return"Notoâgâri kirish";case"invalid_element":return`${r.origin} da notoâgâri qiymat`;default:return`Notoâgâri kirish`}}};function ib(){return{localeError:iy()}}let iO=()=>{let e={string:{unit:"k\xfd tá»±",verb:"c\xf3"},file:{unit:"byte",verb:"c\xf3"},array:{unit:"phần tá»",verb:"c\xf3"},set:{unit:"phần tá»",verb:"c\xf3"}},t={regex:"Äầu v\xe0o",email:"Äá»a chá» email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ng\xe0y giá» ISO",date:"ng\xe0y ISO",time:"giá» ISO",duration:"khoảng thá»i gian ISO",ipv4:"Äá»a chá» IPv4",ipv6:"Äá»a chá» IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuá»i m\xe3 h\xf3a base64",base64url:"chuá»i m\xe3 h\xf3a base64url",json_string:"chuá»i JSON",e164:"sá» E.164",jwt:"JWT",template_literal:"Äầu v\xe0o"},n={nan:"NaN",number:"sá»",array:"mảng"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`Äầu v\xe0o kh\xf4ng hợp lá»: mong Äợi instanceof ${r.expected}, nháºn ÄÆ°á»£c ${a}`;return`Äầu v\xe0o kh\xf4ng hợp lá»: mong Äợi ${e}, nháºn ÄÆ°á»£c ${a}`}case"invalid_value":if(1===r.values.length)return`Äầu v\xe0o kh\xf4ng hợp lá»: mong Äợi ${er(r.values[0])}`;return`T\xf9y chá»n kh\xf4ng hợp lá»: mong Äợi má»t trong c\xe1c gi\xe1 trá» ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Qu\xe1 lá»n: mong Äợi ${r.origin??"gi\xe1 trá»"} ${n.verb} ${t}${r.maximum.toString()} ${n.unit??"phần tá»"}`;return`Qu\xe1 lá»n: mong Äợi ${r.origin??"gi\xe1 trá»"} ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Qu\xe1 nhá»: mong Äợi ${r.origin} ${n.verb} ${t}${r.minimum.toString()} ${n.unit}`;return`Qu\xe1 nhá»: mong Äợi ${r.origin} ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Chuá»i kh\xf4ng hợp lá»: phải bắt Äầu bằng "${r.prefix}"`;if("ends_with"===r.format)return`Chuá»i kh\xf4ng hợp lá»: phải kết th\xfac bằng "${r.suffix}"`;if("includes"===r.format)return`Chuá»i kh\xf4ng hợp lá»: phải bao gá»m "${r.includes}"`;if("regex"===r.format)return`Chuá»i kh\xf4ng hợp lá»: phải khá»p vá»i mẫu ${r.pattern}`;return`${t[r.format]??r.format} kh\xf4ng hợp lá»`;case"not_multiple_of":return`Sá» kh\xf4ng hợp lá»: phải l\xe0 bá»i sá» cá»§a ${r.divisor}`;case"unrecognized_keys":return`Kh\xf3a kh\xf4ng ÄÆ°á»£c nháºn dạng: ${A(r.keys,", ")}`;case"invalid_key":return`Kh\xf3a kh\xf4ng hợp lá» trong ${r.origin}`;case"invalid_union":return"Äầu v\xe0o kh\xf4ng hợp lá»";case"invalid_element":return`Gi\xe1 trá» kh\xf4ng hợp lá» trong ${r.origin}`;default:return`Äầu v\xe0o kh\xf4ng hợp lá»`}}};function iw(){return{localeError:iO()}}let ik=()=>{let e={string:{unit:"å符",verb:"å
å«"},file:{unit:"åè",verb:"å
å«"},array:{unit:"项",verb:"å
å«"},set:{unit:"项",verb:"å
å«"}},t={regex:"è¾å
¥",email:"çµåé®ä»¶",url:"URL",emoji:"表æ
符å·",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISOæ¥ææ¶é´",date:"ISOæ¥æ",time:"ISOæ¶é´",duration:"ISOæ¶é¿",ipv4:"IPv4å°å",ipv6:"IPv6å°å",cidrv4:"IPv4ç½æ®µ",cidrv6:"IPv6ç½æ®µ",base64:"base64ç¼ç å符串",base64url:"base64urlç¼ç å符串",json_string:"JSONå符串",e164:"E.164å·ç ",jwt:"JWT",template_literal:"è¾å
¥"},n={nan:"NaN",number:"æ°å",array:"æ°ç»",null:"空å¼(null)"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`æ æè¾å
¥ï¼ææ instanceof ${r.expected}ï¼å®é
æ¥æ¶ ${a}`;return`æ æè¾å
¥ï¼ææ ${e}ï¼å®é
æ¥æ¶ ${a}`}case"invalid_value":if(1===r.values.length)return`æ æè¾å
¥ï¼ææ ${er(r.values[0])}`;return`æ æéé¡¹ï¼ææä»¥ä¸ä¹ä¸ ${A(r.values,"|")}`;
184case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`æ°å¼è¿å¤§ï¼ææ ${r.origin??"å¼"} ${t}${r.maximum.toString()} ${n.unit??"个å
ç´ "}`;return`æ°å¼è¿å¤§ï¼ææ ${r.origin??"å¼"} ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`æ°å¼è¿å°ï¼ææ ${r.origin} ${t}${r.minimum.toString()} ${n.unit}`;return`æ°å¼è¿å°ï¼ææ ${r.origin} ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`æ æå符串ï¼å¿
须以 "${r.prefix}" å¼å¤´`;if("ends_with"===r.format)return`æ æå符串ï¼å¿
须以 "${r.suffix}" ç»å°¾`;if("includes"===r.format)return`æ æå符串ï¼å¿
é¡»å
å« "${r.includes}"`;if("regex"===r.format)return`æ æå符串ï¼å¿
须满足æ£åè¡¨è¾¾å¼ ${r.pattern}`;return`æ æ${t[r.format]??r.format}`;case"not_multiple_of":return`æ ææ°åï¼å¿
é¡»æ¯ ${r.divisor} çåæ°`;case"unrecognized_keys":return`åºç°æªç¥çé®(key): ${A(r.keys,", ")}`;case"invalid_key":return`${r.origin} ä¸çé®(key)æ æ`;case"invalid_union":return"æ æè¾å
¥";case"invalid_element":return`${r.origin} ä¸å
嫿 æå¼(value)`;default:return`æ æè¾å
¥`}}};function ix(){return{localeError:ik()}}let iS=()=>{let e={string:{unit:"åå
",verb:"ææ"},file:{unit:"ä½å
çµ",verb:"ææ"},array:{unit:"é
ç®",verb:"ææ"},set:{unit:"é
ç®",verb:"ææ"}},t={regex:"輸å
¥",email:"éµä»¶å°å",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO æ¥ææé",date:"ISO æ¥æ",time:"ISO æé",duration:"ISO æé",ipv4:"IPv4 ä½å",ipv6:"IPv6 ä½å",cidrv4:"IPv4 ç¯å",cidrv6:"IPv6 ç¯å",base64:"base64 編碼å串",base64url:"base64url 編碼å串",json_string:"JSON å串",e164:"E.164 æ¸å¼",jwt:"JWT",template_literal:"輸å
¥"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`ç¡æç輸å
¥å¼ï¼é æçº instanceof ${r.expected}ï¼ä½æ¶å° ${a}`;return`ç¡æç輸å
¥å¼ï¼é æçº ${e}ï¼ä½æ¶å° ${a}`}case"invalid_value":if(1===r.values.length)return`ç¡æç輸å
¥å¼ï¼é æçº ${er(r.values[0])}`;return`ç¡æçé¸é
ï¼é æçºä»¥ä¸å
¶ä¸ä¹ä¸ ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`æ¸å¼é大ï¼é æ ${r.origin??"å¼"} æçº ${t}${r.maximum.toString()} ${n.unit??"åå
ç´ "}`;return`æ¸å¼é大ï¼é æ ${r.origin??"å¼"} æçº ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`æ¸å¼éå°ï¼é æ ${r.origin} æçº ${t}${r.minimum.toString()} ${n.unit}`;return`æ¸å¼éå°ï¼é æ ${r.origin} æçº ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`ç¡æçå串ï¼å¿
é 以 "${r.prefix}" éé `;if("ends_with"===r.format)return`ç¡æçå串ï¼å¿
é 以 "${r.suffix}" çµå°¾`;if("includes"===r.format)return`ç¡æçå串ï¼å¿
é å
å« "${r.includes}"`;if("regex"===r.format)return`ç¡æçå串ï¼å¿
é ç¬¦åæ ¼å¼ ${r.pattern}`;return`ç¡æç ${t[r.format]??r.format}`;case"not_multiple_of":return`ç¡æçæ¸åï¼å¿
é çº ${r.divisor} ç忏`;case"unrecognized_keys":return`ç¡æ³èå¥çéµå¼${r.keys.length>1?"å":""}ï¼${A(r.keys,"ã")}`;case"invalid_key":return`${r.origin} ä¸æç¡æçéµå¼`;case"invalid_union":return"ç¡æç輸å
¥å¼";case"invalid_element":return`${r.origin} ä¸æç¡æçå¼`;default:return`ç¡æç輸å
¥å¼`}}};function i_(){return{localeError:iS()}}let iE=()=>{let e={string:{unit:"\xe0mi",verb:"n\xed"},file:{unit:"bytes",verb:"n\xed"},array:{unit:"nkan",verb:"n\xed"},set:{unit:"nkan",verb:"n\xed"}},t={regex:"ẹÌrá» \xecb\xe1wá»l\xe9",email:"\xe0d\xedrẹÌs\xec \xecmẹÌl\xec",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\xe0k\xf3k\xf2 ISO",date:"á»já»Ì ISO",time:"\xe0k\xf3k\xf2 ISO",duration:"\xe0k\xf3k\xf2 t\xf3 p\xe9 ISO",ipv4:"\xe0d\xedrẹÌs\xec IPv4",ipv6:"\xe0d\xedrẹÌs\xec IPv6",cidrv4:"\xe0gb\xe8gb\xe8 IPv4",cidrv6:"\xe0gb\xe8gb\xe8 IPv6",base64:"á»Ìrá»Ì t\xed a ká»Ì n\xed base64",base64url:"á»Ìrá»Ì base64url",json_string:"á»Ìrá»Ì JSON",e164:"ná»Ìmb\xe0 E.164",jwt:"JWT",template_literal:"ẹÌrá» \xecb\xe1wá»l\xe9"},n={nan:"NaN",number:"ná»Ìmb\xe0",array:"akopá»"};return r=>
184{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=eO(r.input),a=n[t]??t;if(/^[A-Z]/.test(r.expected))return`\xccb\xe1wá»l\xe9 aá¹£\xecá¹£e: a n\xed l\xe1ti fi instanceof ${r.expected}, \xe0má»Ì a r\xed ${a}`;return`\xccb\xe1wá»l\xe9 aá¹£\xecá¹£e: a n\xed l\xe1ti fi ${e}, \xe0má»Ì a r\xed ${a}`}case"invalid_value":if(1===r.values.length)return`\xccb\xe1wá»l\xe9 aá¹£\xecá¹£e: a n\xed l\xe1ti fi ${er(r.values[0])}`;return`\xc0á¹£\xe0y\xe0n aá¹£\xecá¹£e: yan á»Ìkan l\xe1ra ${A(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`T\xf3 pá»Ì j\xf9: a n\xed l\xe1ti jáº¹Ì p\xe9 ${r.origin??"iye"} ${n.verb} ${t}${r.maximum} ${n.unit}`;return`T\xf3 pá»Ì j\xf9: a n\xed l\xe1ti jáº¹Ì ${t}${r.maximum}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`K\xe9r\xe9 ju: a n\xed l\xe1ti jáº¹Ì p\xe9 ${r.origin} ${n.verb} ${t}${r.minimum} ${n.unit}`;return`K\xe9r\xe9 ju: a n\xed l\xe1ti jáº¹Ì ${t}${r.minimum}`}case"invalid_format":if("starts_with"===r.format)return`á»Ìrá»Ì aá¹£\xecá¹£e: gbá»Ìdá»Ì bẹÌráº¹Ì pẹÌl\xfa "${r.prefix}"`;if("ends_with"===r.format)return`á»Ìrá»Ì aá¹£\xecá¹£e: gbá»Ìdá»Ì par\xed pẹÌl\xfa "${r.suffix}"`;if("includes"===r.format)return`á»Ìrá»Ì aá¹£\xecá¹£e: gbá»Ìdá»Ì n\xed "${r.includes}"`;if("regex"===r.format)return`á»Ìrá»Ì aá¹£\xecá¹£e: gbá»Ìdá»Ì b\xe1 \xe0pẹẹrẹ mu ${r.pattern}`;return`Aá¹£\xecá¹£e: ${t[r.format]??r.format}`;case"not_multiple_of":return`Ná»Ìmb\xe0 aá¹£\xecá¹£e: gbá»Ìdá»Ì jáº¹Ì \xe8y\xe0 p\xedp\xedn ti ${r.divisor}`;case"unrecognized_keys":return`Bá»t\xecn\xec \xe0\xecmá»Ì: ${A(r.keys,", ")}`;case"invalid_key":return`Bá»t\xecn\xec aá¹£\xecá¹£e n\xedn\xfa ${r.origin}`;case"invalid_union":default:return"\xccb\xe1wá»l\xe9 aá¹£\xecá¹£e";case"invalid_element":return`Iye aá¹£\xecá¹£e n\xedn\xfa ${r.origin}`}}};function iA(){return{localeError:iE()}}let iT=Symbol("ZodOutput"),iD=Symbol("ZodInput");class iC{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&"object"==typeof n&&"id"in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&"object"==typeof t&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}}function i$(){return new iC}(r=globalThis).__zod_globalRegistry??(r.__zod_globalRegistry=i$());let iP=globalThis.__zod_globalRegistry;function iI(e,t){return new e({type:"string",...et(t)})}function iN(e,t){return new e({type:"string",coerce:!0,...et(t)})}function iU(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...et(t)})}function iM(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...et(t)})}function iR(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...et(t)})}function ij(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...et(t)})}function iL(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...et(t)})}function iZ(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...et(t)})}function iB(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...et(t)})}function iz(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...et(t)})}function iF(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...et(t)})}function iQ(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...et(t)})}function iH(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...et(t)})}function iq(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...et(t)})}function iV(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...et(t)})}function iW(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...et(t)})}function iX(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...et(t)})}function iY(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...et(t)})}function iG(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...et(t)})}function iK(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...et(t)})}function iJ(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...et(t)})}function i0(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...et(t)})}function i1(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...et(t)})}function i2(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...et(t)})}function i4(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...et(t)})}let i8={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function i6(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...et(t)})}function i3(e,t){return new e({type:"string",format:"date",check:"string_format",...et(t)})}function i5(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...et(t)})}function i7(e,t){return new e({type:"string",format:"duration",check:"string_format",...et(t)})}function i9(e,t){return new e({type:"number",checks:[],...et(t)})}function oe(e,t){return new e({type:"number",coerce:!0,checks:[],...et(t)})}function ot(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...et(t)})}function on(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...et(t)})}function or(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...et(t)})}function oa(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...et(t)})}function oi(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...et(t)})}function oo(e,t){return new e({type:"boolean",...et(t)})}function ol(e,t){return new e({type:"boolean",coerce:!0,...et(t)})}function os(e,t){return new e({type:"bigint",...et(t)})}function ou(e,t){return new e({type:"bigint",coerce:!0,...et(t)})}function oc(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...et(t)})}function od(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...et(t)})}function op(e,t){return new e({type:"symbol",...et(t)})}function om(e,t){return new e({type:"undefined",...et(t)})}function of(e,t){return new e({type:"null",...et(t)})}function oh(e){return new e({type:"any"})}function og(e){return new e({type:"unknown"})}function ov(e,t){return new e({type:"never",...et(t)})}function oy(e,t){return new e({type:"void",...et(t)})}function ob(e,t){return new e({type:"date",...et(t)})}function oO(e,t){return new e({type:"date",coerce:!0,...et(t)})}function ow(e,t){return new e({type:"nan",...et(t)})}function ok(e,t){return new t7({check:"less_than",...et(t),value:e,inclusive:!1})}function ox(e,t){return new t7({check:"less_than",...et(t),value:e,inclusive:!0})}function oS(e,t){return new t9({check:"greater_than",...et(t),value:e,inclusive:!1})}function o_(e,t){return new t9({check:"greater_than",...et(t),value:e,inclusive:!0})}function oE(e){return oS(0,e)}function oA(e){return ok(0,e)}function oT(e){return ox(0,e)}function oD(e){return o_(0,e)}function oC(e,t){return new ne({check:"multiple_of",...et(t),value:e})}function o$(e,t){return new nr({check:"max_size",...et(t),maximum:e})}function oP(e,t){return new na({check:"min_size",...et(t),minimum:e})}function oI(e,t){return new ni({check:"size_equals",...et(t),size:e})}function oN(e,t){return new no({check:"max_length",...et(t),maximum:e})}function oU(e,t){return new nl({check:"min_length",...et(t),minimum:e})}function oM(e,t){return new ns({check:"length_equals",...et(t),length:e})}function oR(e,t){return new nc({check:"string_format",format:"regex",...et(t),pattern:e})}function oj(e){return new nd({check:"string_format",format:"lowercase",...et(e)})}
184function oL(e){return new np({check:"string_format",format:"uppercase",...et(e)})}function oZ(e,t){return new nm({check:"string_format",format:"includes",...et(t),includes:e})}function oB(e,t){return new nf({check:"string_format",format:"starts_with",...et(t),prefix:e})}function oz(e,t){return new nh({check:"string_format",format:"ends_with",...et(t),suffix:e})}function oF(e,t,n){return new nv({check:"property",property:e,schema:t,...et(n)})}function oQ(e,t){return new ny({check:"mime_type",mime:e,...et(t)})}function oH(e){return new nb({check:"overwrite",tx:e})}function oq(e){return oH(t=>t.normalize(e))}function oV(){return oH(e=>e.trim())}function oW(){return oH(e=>e.toLowerCase())}function oX(){return oH(e=>e.toUpperCase())}function oY(){return oH(e=>F(e))}function oG(e,t,n){return new e({type:"array",element:t,...et(n)})}function oK(e,t,n){return new e({type:"union",options:t,...et(n)})}function oJ(e,t,n){return new e({type:"union",options:t,inclusive:!1,...et(n)})}function o0(e,t,n,r){return new e({type:"union",options:n,discriminator:t,...et(r)})}function o1(e,t,n){return new e({type:"intersection",left:t,right:n})}function o2(e,t,n,r){let a=n instanceof nk,i=a?r:n;return new e({type:"tuple",items:t,rest:a?n:null,...et(i)})}function o4(e,t,n,r){return new e({type:"record",keyType:t,valueType:n,...et(r)})}function o8(e,t,n,r){return new e({type:"map",keyType:t,valueType:n,...et(r)})}function o6(e,t,n){return new e({type:"set",valueType:t,...et(n)})}function o3(e,t,n){return new e({type:"enum",entries:Array.isArray(t)?Object.fromEntries(t.map(e=>[e,e])):t,...et(n)})}function o5(e,t,n){return new e({type:"enum",entries:t,...et(n)})}function o7(e,t,n){return new e({type:"literal",values:Array.isArray(t)?t:[t],...et(n)})}function o9(e,t){return new e({type:"file",...et(t)})}function le(e,t){return new e({type:"transform",transform:t})}function lt(e,t){return new e({type:"optional",innerType:t})}function ln(e,t){return new e({type:"nullable",innerType:t})}function lr(e,t,n){return new e({type:"default",innerType:t,get defaultValue(){return"function"==typeof n?n():W(n)}})}function la(e,t,n){return new e({type:"nonoptional",innerType:t,...et(n)})}function li(e,t){return new e({type:"success",innerType:t})}function lo(e,t,n){return new e({type:"catch",innerType:t,catchValue:"function"==typeof n?n:()=>n})}function ll(e,t,n){return new e({type:"pipe",in:t,out:n})}function ls(e,t){return new e({type:"readonly",innerType:t})}function lu(e,t,n){return new e({type:"template_literal",parts:t,...et(n)})}function lc(e,t){return new e({type:"lazy",getter:t})}function ld(e,t){return new e({type:"promise",innerType:t})}function lp(e,t,n){let r=et(n);return r.abort??(r.abort=!0),new e({type:"custom",check:"custom",fn:t,...r})}function lm(e,t,n){return new e({type:"custom",check:"custom",fn:t,...et(n)})}function lf(e){let t=lh(n=>(n.addIssue=e=>{"string"==typeof e?n.issues.push(ew(e,n.value,t._zod.def)):(e.fatal&&(e.continue=!1),e.code??(e.code="custom"),e.input??(e.input=n.value),e.inst??(e.inst=t),e.continue??(e.continue=!t._zod.def.abort),n.issues.push(ew(e)))},e(n.value,n)));return t}function lh(e,t){let n=new t3({check:"custom",...et(t)});return n._zod.check=e,n}function lg(e){let t=new t3({check:"describe"});return t._zod.onattach=[t=>{let n=iP.get(t)??{};iP.add(t,{...n,description:e})}],t._zod.check=()=>{},t}function lv(e){let t=new t3({check:"meta"});return t._zod.onattach=[t=>{let n=iP.get(t)??{};iP.add(t,{...n,...e})}],t._zod.check=()=>{},t}function ly(e,t){let n=et(t),r=n.truthy??["true","1","yes","on","y","enabled"],a=n.falsy??["false","0","no","off","n","disabled"];"sensitive"!==n.case&&(r=r.map(e=>"string"==typeof e?e.toLowerCase():e),a=a.map(e=>"string"==typeof e?e.toLowerCase():e));let i=new Set(r),o=new Set(a),l=e.Codec??rB,s=e.Boolean??n1,u=new l({type:"pipe",in:new(e.String??nx)({type:"string",error:n.error}),out:new s({type:"boolean",error:n.error}),transform:(e,t)=>{let r=e;return"sensitive"!==n.case&&(r=r.toLowerCase()),!!i.has(r)||!o.has(r)&&(t.issues.push({code:"invalid_value",expected:"stringbool",values:[...i,...o],input
184:t.value,inst:u,continue:!1}),{})},reverseTransform:(e,t)=>!0===e?r[0]||"true":a[0]||"false",error:n.error});return u}function lb(e,t,n,r={}){let a=et(r),i={...et(r),check:"string_format",type:"string",format:t,fn:"function"==typeof n?n:e=>n.test(e),...a};return n instanceof RegExp&&(i.pattern=n),new e(i)}function lO(e){let t=e?.target??"draft-2020-12";return"draft-4"===t&&(t="draft-04"),"draft-7"===t&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??iP,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function lw(e,t,n={path:[],schemaPath:[]}){var r;let a=e._zod.def,i=t.seen.get(e);if(i)return i.count++,n.schemaPath.includes(e)&&(i.cycle=n.path),i.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let l=e._zod.toJSONSchema?.();if(l)o.schema=l;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,i=t.processors[a.type];if(!i)throw Error(`[toJSONSchema]: Non-representable type encountered: ${a.type}`);i(e,t,n,r)}let i=e._zod.parent;i&&(o.ref||(o.ref=i),lw(i,t,r),t.seen.get(i).isParent=!0)}let s=t.metadataRegistry.get(e);return s&&Object.assign(o.schema,s),"input"===t.io&&function e(t,n){let r=n??{seen:new Set};if(r.seen.has(t))return!1;r.seen.add(t);let a=t._zod.def;if("transform"===a.type)return!0;if("array"===a.type)return e(a.element,r);if("set"===a.type)return e(a.valueType,r);if("lazy"===a.type)return e(a.getter(),r);if("promise"===a.type||"optional"===a.type||"nonoptional"===a.type||"nullable"===a.type||"readonly"===a.type||"default"===a.type||"prefault"===a.type)return e(a.innerType,r);if("intersection"===a.type)return e(a.left,r)||e(a.right,r);if("record"===a.type||"map"===a.type)return e(a.keyType,r)||e(a.valueType,r);if("pipe"===a.type)return e(a.in,r)||e(a.out,r);if("object"===a.type){for(let t in a.shape)if(e(a.shape[t],r))return!0;return!1}if("union"===a.type){for(let t of a.options)if(e(t,r))return!0;return!1}if("tuple"===a.type){for(let t of a.items)if(e(t,r))return!0;if(a.rest&&e(a.rest,r))return!0}return!1}(e)&&(delete o.schema.examples,delete o.schema.default),"input"===t.io&&o.schema._prefault&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function lk(e,t){let n=e.seen.get(t);if(!n)throw Error("Unprocessed schema. This is a bug in Zod.");let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let a=t=>{let r="draft-2020-12"===e.target?"$defs":"definitions";if(e.external){let n=e.external.registry.get(t[0])?.id,a=e.external.uri??(e=>e);if(n)return{ref:a(n)};let i=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=i,{defId:i,ref:`${a("__shared")}#/${r}/${i}`}}if(t[1]===n)return{ref:"#"};let a=`#/${r}/`,i=t[1].schema.id??`__schema${e.counter++}`;return{defId:i,ref:a+i}},i=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=a(e);t.def={...t.schema},r&&(t.defId=r);let i=t.schema;for(let e in i)delete i[e];i.$ref=n};if("throw"===e.cycles)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join("/")}/<root> 185 186Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){i(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){i(n);continue}}if(e.metadataRegistry.get(n[0])?.id||r.cycle||r.count>1&&"ref"===e.reused){i(n);continue}}}function lx(e,t){let n=e.seen.get(t);if(!n)throw Error("Unprocessed schema. This is a bug in Zod.");let r=t=>{let n=e.seen.get(t);if(null===n.ref)return;let a=n.def??n.schema,i={...a},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),l=n.schema;if(l.$ref&&("draft-07"===e.target||"draft-04"===e.target||"openapi-3.0"===e.target)?(a.allOf=a.allOf??[],a.allOf.push(l)):Object.assign(a,l),Object.assign(a,i),t._zod.parent===o)for(let e in a)"$ref"===e||"allOf"===e||e in i||delete a[e];if(l.$ref&&n.def)for(let e in a)"$ref"!==e&&"allOf"!==e&&e in n.def&&JSON.stringify(a[e])===JSON.stringify(n.def[e])&&delete a[e]}let l=t._zod.parent;if(l&&l!==o){r(l);let t=e.seen.get(l);if(t?.schema.$ref&&(a.$ref=t.schema.$ref,t.def))for(let e in a)"$ref"!==e&&"allOf"!==e&&e in t.def&&JSON.stringify(a[e])===JSON.stringify(t.def[e])&&delete a[e]}e.override({zodSchema:t,jsonSchema:a,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let a={};
186if("draft-2020-12"===e.target?a.$schema="https://json-schema.org/draft/2020-12/schema":"draft-07"===e.target?a.$schema="http://json-schema.org/draft-07/schema#":"draft-04"===e.target?a.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");a.$id=e.external.uri(n)}Object.assign(a,n.def??n.schema);let i=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(i[e.defId]=e.def)}e.external||Object.keys(i).length>0&&("draft-2020-12"===e.target?a.$defs=i:a.definitions=i);try{let n=JSON.parse(JSON.stringify(a));return Object.defineProperty(n,"~standard",{value:{...t["~standard"],jsonSchema:{input:l_(t,"input",e.processors),output:l_(t,"output",e.processors)}},enumerable:!1,writable:!1}),n}catch(e){throw Error("Error converting schema to JSON.")}}let lS=(e,t={})=>n=>{let r=lO({...n,processors:t});return lw(e,r),lk(r,e),lx(r,e)},l_=(e,t,n={})=>r=>{let{libraryOptions:a,target:i}=r??{},o=lO({...a??{},target:i,io:t,processors:n});return lw(e,o),lk(o,e),lx(o,e)},lE={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},lA=(e,t,n,r)=>{n.type="string";let{minimum:a,maximum:i,format:o,patterns:l,contentEncoding:s}=e._zod.bag;if("number"==typeof a&&(n.minLength=a),"number"==typeof i&&(n.maxLength=i),o&&(n.format=lE[o]??o,""===n.format&&delete n.format,"time"===o&&delete n.format),s&&(n.contentEncoding=s),l&&l.size>0){let e=[...l];1===e.length?n.pattern=e[0].source:e.length>1&&(n.allOf=[...e.map(e=>({..."draft-07"===t.target||"draft-04"===t.target||"openapi-3.0"===t.target?{type:"string"}:{},pattern:e.source}))])}},lT=(e,t,n,r)=>{let{minimum:a,maximum:i,format:o,multipleOf:l,exclusiveMaximum:s,exclusiveMinimum:u}=e._zod.bag;"string"==typeof o&&o.includes("int")?n.type="integer":n.type="number","number"==typeof u&&("draft-04"===t.target||"openapi-3.0"===t.target?(n.minimum=u,n.exclusiveMinimum=!0):n.exclusiveMinimum=u),"number"==typeof a&&(n.minimum=a,"number"==typeof u&&"draft-04"!==t.target&&(u>=a?delete n.minimum:delete n.exclusiveMinimum)),"number"==typeof s&&("draft-04"===t.target||"openapi-3.0"===t.target?(n.maximum=s,n.exclusiveMaximum=!0):n.exclusiveMaximum=s),"number"==typeof i&&(n.maximum=i,"number"==typeof s&&"draft-04"!==t.target&&(s<=i?delete n.maximum:delete n.exclusiveMaximum)),"number"==typeof l&&(n.multipleOf=l)},lD=(e,t,n,r)=>{n.type="boolean"},lC=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("BigInt cannot be represented in JSON Schema")},l$=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Symbols cannot be represented in JSON Schema")},lP=(e,t,n,r)=>{"openapi-3.0"===t.target?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},lI=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Undefined cannot be represented in JSON Schema")},lN=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Void cannot be represented in JSON Schema")},lU=(e,t,n,r)=>{n.not={}},lM=(e,t,n,r)=>{},lR=(e,t,n,r)=>{},lj=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Date cannot be represented in JSON Schema")},lL=(e,t,n,r)=>{let a=E(e._zod.def.entries);a.every(e=>"number"==typeof e)&&(n.type="number"),a.every(e=>"string"==typeof e)&&(n.type="string"),n.enum=a},lZ=(e,t,n,r)=>{let a=e._zod.def,i=[];for(let e of a.values)if(void 0===e){if("throw"===t.unrepresentable)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if("bigint"==typeof e){if("throw"===t.unrepresentable)throw Error("BigInt literals cannot be represented in JSON Schema");i.push(Number(e))}else i.push(e);if(0===i.length);else if(1===i.length){let e=i[0];n.type=null===e?"null":typeof e,"draft-04"===t.target||"openapi-3.0"===t.target?n.enum=[e]:n.const=e}else i.every(e=>"number"==typeof e)&&(n.type="number"),i.every(e=>"string"==typeof e)&&(n.type="string"),i.every(e=>"boolean"==typeof e)&&(n.type="boolean"),i.every(e=>null===e)&&(n.type="null"),n.enum=i},lB=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("NaN cannot be represented in JSON Schema")},lz=(e,t,n,r)=>{let a=e._zod.pattern;if(!a)throw Error("Pattern not found in template literal");n.type="string",n.pattern=a.source},lF=(e,t,n,r)=>{let a={type:"string",format:"binary",contentEncoding:"binary"},{minimum:i,maximum:o,mime:l}=e._zod.bag;void 0!==i&&(a.minLength=i),void 0!==o&&(a.maxLength=o),l?1===l.length?(a.contentMediaType=l[0],Ob
186ject.assign(n,a)):(Object.assign(n,a),n.anyOf=l.map(e=>({contentMediaType:e}))):Object.assign(n,a)},lQ=(e,t,n,r)=>{n.type="boolean"},lH=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Custom types cannot be represented in JSON Schema")},lq=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Function types cannot be represented in JSON Schema")},lV=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Transforms cannot be represented in JSON Schema")},lW=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Map cannot be represented in JSON Schema")},lX=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Set cannot be represented in JSON Schema")},lY=(e,t,n,r)=>{let a=e._zod.def,{minimum:i,maximum:o}=e._zod.bag;"number"==typeof i&&(n.minItems=i),"number"==typeof o&&(n.maxItems=o),n.type="array",n.items=lw(a.element,t,{...r,path:[...r.path,"items"]})},lG=(e,t,n,r)=>{let a=e._zod.def;n.type="object",n.properties={};let i=a.shape;for(let e in i)n.properties[e]=lw(i[e],t,{...r,path:[...r.path,"properties",e]});let o=new Set([...new Set(Object.keys(i))].filter(e=>{let n=a.shape[e]._zod;return"input"===t.io?void 0===n.optin:void 0===n.optout}));o.size>0&&(n.required=Array.from(o)),a.catchall?._zod.def.type==="never"?n.additionalProperties=!1:a.catchall?a.catchall&&(n.additionalProperties=lw(a.catchall,t,{...r,path:[...r.path,"additionalProperties"]})):"output"===t.io&&(n.additionalProperties=!1)},lK=(e,t,n,r)=>{let a=e._zod.def,i=!1===a.inclusive,o=a.options.map((e,n)=>lw(e,t,{...r,path:[...r.path,i?"oneOf":"anyOf",n]}));i?n.oneOf=o:n.anyOf=o},lJ=(e,t,n,r)=>{let a=e._zod.def,i=lw(a.left,t,{...r,path:[...r.path,"allOf",0]}),o=lw(a.right,t,{...r,path:[...r.path,"allOf",1]}),l=[..."allOf"in i&&1===Object.keys(i).length?i.allOf:[i],..."allOf"in o&&1===Object.keys(o).length?o.allOf:[o]];n.allOf=l},l0=(e,t,n,r)=>{let a=e._zod.def;n.type="array";let i="draft-2020-12"===t.target?"prefixItems":"items",o="draft-2020-12"===t.target?"items":"openapi-3.0"===t.target?"items":"additionalItems",l=a.items.map((e,n)=>lw(e,t,{...r,path:[...r.path,i,n]})),s=a.rest?lw(a.rest,t,{...r,path:[...r.path,o,..."openapi-3.0"===t.target?[a.items.length]:[]]}):null;"draft-2020-12"===t.target?(n.prefixItems=l,s&&(n.items=s)):"openapi-3.0"===t.target?(n.items={anyOf:l},s&&n.items.anyOf.push(s),n.minItems=l.length,s||(n.maxItems=l.length)):(n.items=l,s&&(n.additionalItems=s));let{minimum:u,maximum:c}=e._zod.bag;"number"==typeof u&&(n.minItems=u),"number"==typeof c&&(n.maxItems=c)},l1=(e,t,n,r)=>{let a=e._zod.def;n.type="object";let i=a.keyType,o=i._zod.bag,l=o?.patterns;if("loose"===a.mode&&l&&l.size>0){let e=lw(a.valueType,t,{...r,path:[...r.path,"patternProperties","*"]});for(let t of(n.patternProperties={},l))n.patternProperties[t.source]=e}else("draft-07"===t.target||"draft-2020-12"===t.target)&&(n.propertyNames=lw(a.keyType,t,{...r,path:[...r.path,"propertyNames"]})),n.additionalProperties=lw(a.valueType,t,{...r,path:[...r.path,"additionalProperties"]});let s=i._zod.values;if(s){let e=[...s].filter(e=>"string"==typeof e||"number"==typeof e);e.length>0&&(n.required=e)}},l2=(e,t,n,r)=>{let a=e._zod.def,i=lw(a.innerType,t,r),o=t.seen.get(e);"openapi-3.0"===t.target?(o.ref=a.innerType,n.nullable=!0):n.anyOf=[i,{type:"null"}]},l4=(e,t,n,r)=>{let a=e._zod.def;lw(a.innerType,t,r),t.seen.get(e).ref=a.innerType},l8=(e,t,n,r)=>{let a=e._zod.def;lw(a.innerType,t,r),t.seen.get(e).ref=a.innerType,n.default=JSON.parse(JSON.stringify(a.defaultValue))},l6=(e,t,n,r)=>{let a=e._zod.def;lw(a.innerType,t,r),t.seen.get(e).ref=a.innerType,"input"===t.io&&(n._prefault=JSON.parse(JSON.stringify(a.defaultValue)))},l3=(e,t,n,r)=>{let a;let i=e._zod.def;lw(i.innerType,t,r),t.seen.get(e).ref=i.innerType;try{a=i.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}n.default=a},l5=(e,t,n,r)=>{let a=e._zod.def,i="input"===t.io?"transform"===a.in._zod.def.type?a.out:a.in:a.out;lw(i,t,r),t.seen.get(e).ref=i},l7=(e,t,n,r)=>{let a=e._zod.def;lw(a.innerType,t,r),t.seen.get(e).ref=a.innerType,n.readOnly=!0},l9=(e,t,n,r)=>{let a=e._zod.def;lw(a.innerType,t,r),t.seen.get(e).ref=a.innerType},se=(e,t,n,r)=>{let a=e._zod.def;lw(a.innerType,t,r),t.seen.get(e).ref=a.innerType},st=(e,t,n,r)=>{let a=e._zod.innerType;lw(a,t,r),t.seen.get(e).ref=a},sn={string:lA,number:lT,boolean:lD,bigint:lC,symbol:l$,null:lP,undefined:lI,void:lN,never:lU,any:lM,unknown:lR,date:lj,enum:lL,literal:lZ,nan:lB,template_literal:lz,file:lF,success:lQ,custom:lH,function:lq,transform:lV,map:lW,set:lX,array:lY,object:lG,union:lK,intersection:lJ,tuple:l0,record:l1,nullable:l2,nonoptional:l4,default:l8,prefault:l6,catch:l3,pipe:l5,readonly:l7,promise:l9,optional:se,lazy:st};function sr(e,t){if("_idmap"in e){let n=lO({...t,processors:sn}),r={};
186for(let t of e._idmap.entries()){let[e,r]=t;lw(r,n)}let a={},i={registry:e,uri:t?.uri,defs:r};for(let t of(n.external=i,e._idmap.entries())){let[e,r]=t;lk(n,r),a[e]=lx(n,r)}if(Object.keys(r).length>0){let e="draft-2020-12"===n.target?"$defs":"definitions";a.__shared={[e]:r}}return{schemas:a}}let n=lO({...t,processors:sn});return lw(e,n),lk(n,e),lx(n,e)}class sa{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(e){this.ctx.counter=e}get seen(){return this.ctx.seen}constructor(e){let t=e?.target??"draft-2020-12";"draft-4"===t&&(t="draft-04"),"draft-7"===t&&(t="draft-07"),this.ctx=lO({processors:sn,target:t,...e?.metadata&&{metadata:e.metadata},...e?.unrepresentable&&{unrepresentable:e.unrepresentable},...e?.override&&{override:e.override},...e?.io&&{io:e.io}})}process(e,t={path:[],schemaPath:[]}){return lw(e,this.ctx,t)}emit(e,t){t&&(t.cycles&&(this.ctx.cycles=t.cycles),t.reused&&(this.ctx.reused=t.reused),t.external&&(this.ctx.external=t.external)),lk(this.ctx,e);let{"~standard":n,...r}=lx(this.ctx,e);return r}}let si=h("ZodISODateTime",(e,t)=>{nM.init(e,t),sP.init(e,t)});function so(e){return i6(si,e)}let sl=h("ZodISODate",(e,t)=>{nR.init(e,t),sP.init(e,t)});function ss(e){return i3(sl,e)}let su=h("ZodISOTime",(e,t)=>{nj.init(e,t),sP.init(e,t)});function sc(e){return i5(su,e)}let sd=h("ZodISODuration",(e,t)=>{nL.init(e,t),sP.init(e,t)});function sp(e){return i7(sd,e)}let sm=(e,t)=>{e$.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>eN(e,t)},flatten:{value:t=>eI(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,T,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,T,2)}},isEmpty:{get:()=>0===e.issues.length}})},sf=h("ZodError",sm),sh=h("ZodError",sm,{Parent:Error}
186),sg=ej(sh),sv=eZ(sh),sy=ez(sh),sb=eQ(sh),sO=eq(sh),sw=eW(sh),sk=eY(sh),sx=eK(sh),sS=e0(sh),s_=e2(sh),sE=e8(sh),sA=e3(sh),sT=h("ZodType",(e,t)=>(nk.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:l_(e,"input"),output:l_(e,"output")}}),e.toJSONSchema=lS(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone(R(t,{checks:[...t.checks??[],...n.map(e=>"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e)]}),{parent:!0}),e.with=e.check,e.clone=(t,n)=>ee(e,t,n),e.brand=()=>e,e.register=(t,n)=>(t.add(e,n),e),e.parse=(t,n)=>sg(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>sy(e,t,n),e.parseAsync=async(t,n)=>sv(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>sb(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>sO(e,t,n),e.decode=(t,n)=>sw(e,t,n),e.encodeAsync=async(t,n)=>sk(e,t,n),e.decodeAsync=async(t,n)=>sx(e,t,n),e.safeEncode=(t,n)=>sS(e,t,n),e.safeDecode=(t,n)=>s_(e,t,n),e.safeEncodeAsync=async(t,n)=>sE(e,t,n),e.safeDecodeAsync=async(t,n)=>sA(e,t,n),e.refine=(t,n)=>e.check(c1(t,n)),e.superRefine=t=>e.check(lf(t)),e.overwrite=t=>e.check(oH(t)),e.optional=()=>cO(e),e.exactOptional=()=>ck(e),e.nullable=()=>cS(e),e.nullish=()=>cO(cS(e)),e.nonoptional=t=>c$(e,t),e.array=()=>uY(e),e.or=t=>u4([e,t]),e.and=t=>u9(e,t),e.transform=t=>cL(e,cy(t)),e.default=t=>cA(e,t),e.prefault=t=>cD(e,t),e.catch=t=>cU(e,t),e.pipe=t=>cL(e,t),e.readonly=()=>cF(e),e.describe=t=>{let n=e.clone();return iP.add(n,{description:t}),n},Object.defineProperty(e,"description",{get:()=>iP.get(e)?.description,configurable:!0}),e.meta=(...t)=>{if(0===t.length)return iP.get(e);let n=e.clone();return iP.add(n,t[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=t=>t(e),e)),sD=h("_ZodString",(e,t)=>{nx.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lA(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...t)=>e.check(oR(...t)),e.includes=(...t)=>e.check(oZ(...t)),e.startsWith=(...t)=>e.check(oB(...t)),e.endsWith=(...t)=>e.check(oz(...t)),e.min=(...t)=>e.check(oU(...t)),e.max=(...t)=>e.check(oN(...t)),e.length=(...t)=>e.check(oM(...t)),e.nonempty=(...t)=>e.check(oU(1,...t)),e.lowercase=t=>e.check(oj(t)),e.uppercase=t=>e.check(oL(t)),e.trim=()=>e.check(oV()),e.normalize=(...t)=>e.check(oq(...t)),e.toLowerCase=()=>e.check(oW()),e.toUpperCase=()=>e.check(oX()),e.slugify=()=>e.check(oY())}),sC=h("ZodString",(e,t)=>{nx.init(e,t),sD.init(e,t),e.email=t=>e.check(iU(sI,t)),e.url=t=>e.check(iB(sz,t)),e.jwt=t=>e.check(i4(ud,t)),e.emoji=t=>e.check(iz(sH,t)),e.guid=t=>e.check(iM(sU,t)),e.uuid=t=>e.check(iR(sR,t)),e.uuidv4=t=>e.check(ij(sR,t)),e.uuidv6=t=>e.check(iL(sR,t)),e.uuidv7=t=>e.check(iZ(sR,t)),e.nanoid=t=>e.check(iF(sV,t)),e.guid=t=>e.check(iM(sU,t)),e.cuid=t=>e.check(iQ(sX,t)),e.cuid2=t=>e.check(iH(sG,t)),e.ulid=t=>e.check(iq(sJ,t)),e.base64=t=>e.check(i0(ui,t)),e.base64url=t=>e.check(i1(ul,t)),e.xid=t=>e.check(iV(s1,t)),e.ksuid=t=>e.check(iW(s4,t)),e.ipv4=t=>e.check(iX(s6,t)),e.ipv6=t=>e.check(iY(s9,t)),e.cidrv4=t=>e.check(iK(ut,t)),e.cidrv6=t=>e.check(iJ(ur,t)),e.e164=t=>e.check(i2(uu,t)),e.datetime=t=>e.check(so(t)),e.date=t=>e.check(ss(t)),e.time=t=>e.check(sc(t)),e.duration=t=>e.check(sp(t))});function s$(e){return iI(sC,e)}let sP=h("ZodStringFormat",(e,t)=>{nS.init(e,t),sD.init(e,t)}),sI=h("ZodEmail",(e,t)=>{nA.init(e,t),sP.init(e,t)});function sN(e){return iU(sI,e)}let sU=h("ZodGUID",(e,t)=>{n_.init(e,t),sP.init(e,t)});function sM(e){return iM(sU,e)}let sR=h("ZodUUID",(e,t)=>{nE.init(e,t),sP.init(e,t)});function sj(e){return iR(sR,e)}function sL(e){return ij(sR,e)}function sZ(e){return iL(sR,e)}function sB(e){return iZ(sR,e)}let sz=h("ZodURL",(e,t)=>{nT.init(e,t),sP.init(e,t)});function sF(e){return iB(sz,e)}function sQ(e){return iB(sz,{protocol:/^https?$/,hostname:tE,...et(e)})}let sH=h("ZodEmoji",(e,t)=>{nD.init(e,t),sP.init(e,t)});function sq(e){return iz(sH,e)}let sV=h("ZodNanoID",(e,t)=>{nC.init(e,t),sP.init(e,t)});function sW(e){return iF(sV,e)}let sX=h("ZodCUID",(e,t)=>{n$.init(e,t),sP.init(e,t)});function sY(e){return iQ(sX,e)}let sG=h("ZodCUID2",(e,t)=>{nP.init(e,t),sP.init(e,t)});function sK(e){return iH(sG,e)}let sJ=h("ZodULID",(e,t)=>{nI.init(e,t),sP.init(e,t)});function s0(e){return iq(sJ,e)}let s1=h("ZodXID",(e,t)=>{nN.init(e,t),sP.init(e,t)});function s2(e){return iV(s1,e)}let s4=h("ZodKSUID",(e,t)=>{nU.init(e,t),sP.init(e,t)});function s8(e){return iW(s4,e)}let s6=h("ZodIPv4",(e,t)=>{nZ.init(e,t),sP.init(e,t)});function s3(e){return iX(s6,e)}let s5=h("ZodMAC",(e,t)=>{nz.init(e,t),sP.init(e,t)});function s7(e){return iG(s5,e)}let s9=h("ZodIPv6",(e,t)=>{nB.init(e,t),sP.init(e,t)});function ue(e){return iY(s9,e)}let ut=h("ZodCIDRv4",(e,t)=>{nF.init(e,t),sP.init(e,t)});function un(e){return iK(ut,e)}let ur=h("ZodCIDRv6",(e,t)=>{nQ.init(e,t),sP.init(e,t)});function ua(e){return iJ(ur,e)}let ui=h("ZodBase64",(e,t)=>{nq.init(e,t),sP.init(e,t)});function uo(e){return i0(ui,e)}let ul=h("ZodBase64URL",(e,t)=>{nW.init(e,t),sP.init(e,t)});function us(e){return i1(ul,e)}let uu=h("ZodE164",(e,t)=>{nX.init(e,t),sP.init(e,t)});function uc(e){return i2(uu,e)}let ud=h("ZodJWT",(e,t)=>{nG.init(e,t),sP.init(e,t)});function up(e){return i4(ud,e)}let um=h("ZodCustomStringFormat",(e,t)=>{nK.init(e,t),sP.init(e,t)});function uf(e,t,n={}){return lb(um,e,t,n)}function uh(e){return lb(um,"hostname",t_,e)}function ug(e){return lb(um,"hex",tz,e)}function uv(e,t){let n=t?.enc??"hex",r=`${e}_${n}`,a=o[r];if(!a)throw Error(`Unrecognized hash format: ${r}`);return lb(um,r,a,t)}let uy=h("ZodNumber",(e,t)=>{nJ.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lT(e,t,n,r),e.gt=(t,n)=>e.check(oS(t,n)),e.gte=(t,n)=>e.check(o_(t,n)),e.min=(t,n)=>e.check(o_(t,n)),e.lt=(t,n)=>e.check(ok(t,n)),e.lte=(t,n)=>e.check(ox(t,n)),e.max=(t,n)=>e.check(ox(t,n)),e.int=t=>e.check(uw(t)),e.safe=t=>e.check(uw(t)),e.positive=t=>e.check(oS(0,t)),e.nonnegative=t=>e.check(o_(0,t)),e.negative=t=>e.check(ok(0,t)),e.nonpositive=t=>e.check(ox(0,t)),e.multipleOf=(t,n)=>e.check(oC(t,n)),e.step=(t,n)=>e.check(oC(t,n)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function ub(e){return i9(uy,e)}let uO=h("ZodNumberFormat",(e,t)=>{n0.init(e,t),uy.init(e,t)});function uw(e){return ot(uO,e)}function uk(e){return on(uO,e)}function ux(e){return or(uO,e)}function uS(e){return oa(uO,e)}function u_(e){return oi(uO,e)}let uE=h("ZodBoolean",(e,t)=>{n1.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lD(e,t,n,r)});function uA(e){return oo(uE,e)}let uT=h("ZodBigInt",(e,t)=>{n2.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lC(e,t,n,r),e.gte=(t,n)=>e.check(o_(t,n)),e.min=(t,n)=>e.check(o_(t,n)),e.gt=(t,n)=>e.check(oS(t,n)),e.gte=(t,n)=>e.check(o_(t,n)),e.min=(t,n)=>e.check(o_(t,n)),e.lt=(t,n)=>e.check(ok(t,n)),e.lte=(t,n)=>e.check(ox(t,n)),e.max=(t,n)=>e.check(ox(t,n)),e.positive=t=>e.check(oS(BigInt(0),t)),e.negative=t=>e.check(ok(BigInt(0),t)),e.nonpositive=t=>e.check(ox(BigInt(0),t)),e.nonnegative=t=>e.check(o_(BigInt(0),t)),e.multipleOf=(t,n)=>e.check(oC(t,n));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});function uD(e){return os(uT,e)}let uC=h("ZodBigIntFormat",(e,t)=>{n4.init(e,t),uT.init(e,t)});function u$(e){return oc(uC,e)}function uP(e){return od(uC,e)}let uI=h("ZodSymbol",(e,t)=>{n8.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>l$(e,t,n,r)});function uN(e){return op(uI,e)}let uU=h("ZodUndefined",(e,t)=>{n6.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lI(e,t,n,r)});function uM(e){return om(uU,e)}let uR=h("ZodNull",(e,t)=>{n3.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lP(e,t,n,r)});function uj(e){return of(uR,e)}let uL=h("ZodAny",(e,t)=>{n5.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lM(e,t,n,r)});function uZ(){return oh(uL)}let uB=h("ZodUnknown",(e,t)=>{n7.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lR(e,t,n,r)});function uz(){return og(uB)}let uF=h("ZodNever",(e,t)=>{n9.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lU(e,t,n,r)});function uQ(e){return ov(uF,e)}
186let uH=h("ZodVoid",(e,t)=>{re.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lN(e,t,n,r)});function uq(e){return oy(uH,e)}let uV=h("ZodDate",(e,t)=>{rt.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lj(e,t,n,r),e.min=(t,n)=>e.check(o_(t,n)),e.max=(t,n)=>e.check(ox(t,n));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function uW(e){return ob(uV,e)}let uX=h("ZodArray",(e,t)=>{rr.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lY(e,t,n,r),e.element=t.element,e.min=(t,n)=>e.check(oU(t,n)),e.nonempty=t=>e.check(oU(1,t)),e.max=(t,n)=>e.check(oN(t,n)),e.length=(t,n)=>e.check(oM(t,n)),e.unwrap=()=>e.element});function uY(e,t){return oG(uX,e,t)}function uG(e){return cd(Object.keys(e._zod.def.shape))}let uK=h("ZodObject",(e,t)=>{rs.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lG(e,t,n,r),N(e,"shape",()=>t.shape),e.keyof=()=>cd(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:uz()}),e.loose=()=>e.clone({...e._zod.def,catchall:uz()}),e.strict=()=>e.clone({...e._zod.def,catchall:uQ()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>eu(e,t),e.safeExtend=t=>ec(e,t),e.merge=t=>ed(e,t),e.pick=t=>el(e,t),e.omit=t=>es(e,t),e.partial=(...t)=>ep(cb,e,t[0]),e.required=(...t)=>em(cC,e,t[0])});function uJ(e,t){return new uK({type:"object",shape:e??{},...et(t)})}function u0(e,t){return new uK({type:"object",shape:e,catchall:uQ(),...et(t)})}function u1(e,t){return new uK({type:"object",shape:e,catchall:uz(),...et(t)})}let u2=h("ZodUnion",(e,t)=>{rc.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lK(e,t,n,r),e.options=t.options});function u4(e,t){return new u2({type:"union",options:e,...et(t)})}let u8=h("ZodXor",(e,t)=>{u2.init(e,t),rp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lK(e,t,n,r),e.options=t.options});function u6(e,t){return new u8({type:"union",options:e,inclusive:!1,...et(t)})}let u3=h("ZodDiscriminatedUnion",(e,t)=>{u2.init(e,t),rm.init(e,t)});function u5(e,t,n){return new u3({type:"union",options:t,discriminator:e,...et(n)})}let u7=h("ZodIntersection",(e,t)=>{rf.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lJ(e,t,n,r)});function u9(e,t){return new u7({type:"intersection",left:e,right:t})}let ce=h("ZodTuple",(e,t)=>{rg.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>l0(e,t,n,r),e.rest=t=>e.clone({...e._zod.def,rest:t})});function ct(e,t,n){let r=t instanceof nk,a=r?n:t;return new ce({type:"tuple",items:e,rest:r?t:null,...et(a)})}let cn=h("ZodRecord",(e,t)=>{ry.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>l1(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function cr(e,t,n){return new cn({type:"record",keyType:e,valueType:t,...et(n)})}function ca(e,t,n){let r=ee(e);return r._zod.values=void 0,new cn({type:"record",keyType:r,valueType:t,...et(n)})}function ci(e,t,n){return new cn({type:"record",keyType:e,valueType:t,mode:"loose",...et(n)})}let co=h("ZodMap",(e,t)=>{rb.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lW(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...t)=>e.check(oP(...t)),e.nonempty=t=>e.check(oP(1,t)),e.max=(...t)=>e.check(o$(...t)),e.size=(...t)=>e.check(oI(...t))});function cl(e,t,n){return new co({type:"map",keyType:e,valueType:t,...et(n)})}let cs=h("ZodSet",(e,t)=>{rw.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lX(e,t,n,r),e.min=(...t)=>e.check(oP(...t)),e.nonempty=t=>e.check(oP(1,t)),e.max=(...t)=>e.check(o$(...t)),e.size=(...t)=>e.check(oI(...t))});function cu(e,t){return new cs({type:"set",valueType:e,...et(t)})}let cc=h("ZodEnum",(e,t)=>{rx.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lL(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let a={};for(let r of e)if(n.has(r))a[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new cc({...t,checks:[],...et(r),entries:a})},e.exclude=(e,r)=>{let a={...t.entries};for(let t of e)if(n.has(t))delete a[t];else throw Error(`Key ${t} not found in enum`);return new cc({...t,checks:[],...et(r),entries:a})}});function cd(e,t){return new cc({type:"enum",entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...et(t)})}function cp(e,t){return new cc({type:"enum",entries:e,...et(t)})}let cm=h("ZodLiteral",(e,t)=>{rS.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lZ(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if
186(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function cf(e,t){return new cm({type:"literal",values:Array.isArray(e)?e:[e],...et(t)})}let ch=h("ZodFile",(e,t)=>{r_.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lF(e,t,n,r),e.min=(t,n)=>e.check(oP(t,n)),e.max=(t,n)=>e.check(o$(t,n)),e.mime=(t,n)=>e.check(oQ(Array.isArray(t)?t:[t],n))});function cg(e){return o9(ch,e)}let cv=h("ZodTransform",(e,t)=>{rE.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lV(e,t,n,r),e._zod.parse=(n,r)=>{if("backward"===r.direction)throw new y(e.constructor.name);n.addIssue=r=>{"string"==typeof r?n.issues.push(ew(r,n.value,t)):(r.fatal&&(r.continue=!1),r.code??(r.code="custom"),r.input??(r.input=n.value),r.inst??(r.inst=e),n.issues.push(ew(r)))};let a=t.transform(n.value,n);return a instanceof Promise?a.then(e=>(n.value=e,n)):(n.value=a,n)}});function cy(e){return new cv({type:"transform",transform:e})}let cb=h("ZodOptional",(e,t)=>{rT.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>se(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function cO(e){return new cb({type:"optional",innerType:e})}let cw=h("ZodExactOptional",(e,t)=>{rD.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>se(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function ck(e){return new cw({type:"optional",innerType:e})}let cx=h("ZodNullable",(e,t)=>{rC.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>l2(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function cS(e){return new cx({type:"nullable",innerType:e})}function c_(e){return cO(cS(e))}let cE=h("ZodDefault",(e,t)=>{r$.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>l8(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function cA(e,t){return new cE({type:"default",innerType:e,get defaultValue(){return"function"==typeof t?t():W(t)}})}let cT=h("ZodPrefault",(e,t)=>{rI.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>l6(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function cD(e,t){return new cT({type:"prefault",innerType:e,get defaultValue(){return"function"==typeof t?t():W(t)}})}let cC=h("ZodNonOptional",(e,t)=>{rN.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>l4(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function c$(e,t){return new cC({type:"nonoptional",innerType:e,...et(t)})}let cP=h("ZodSuccess",(e,t)=>{rM.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lQ(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function cI(e){return new cP({type:"success",innerType:e})}let cN=h("ZodCatch",(e,t)=>{rR.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>l3(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function cU(e,t){return new cN({type:"catch",innerType:e,catchValue:"function"==typeof t?t:()=>t})}let cM=h("ZodNaN",(e,t)=>{rj.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lB(e,t,n,r)});function cR(e){return ow(cM,e)}let cj=h("ZodPipe",(e,t)=>{rL.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>l5(e,t,n,r),e.in=t.in,e.out=t.out});function cL(e,t){return new cj({type:"pipe",in:e,out:t})}let cZ=h("ZodCodec",(e,t)=>{cj.init(e,t),rB.init(e,t)});function cB(e,t,n){return new cZ({type:"pipe",in:e,out:t,transform:n.decode,reverseTransform:n.encode})}let cz=h("ZodReadonly",(e,t)=>{rQ.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>l7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function cF(e){return new cz({type:"readonly",innerType:e})}let cQ=h("ZodTemplateLiteral",(e,t)=>{rq.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lz(e,t,n,r)});function cH(e,t){return new cQ({type:"template_literal",parts:e,...et(t)})}let cq=h("ZodLazy",(e,t)=>{rX.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>st(e,t,n,r),e.unwrap=()=>e._zod.def.getter()});function cV(e){return new cq({type:"lazy",getter:e})}let cW=h("ZodPromise",(e,t)=>{rW.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>l9(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function cX(e){return new cW({type:"promise",innerType:e})}let cY=h("ZodFunction",(e,t)=>{rV.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lq(e,t,n,r)});function cG(e){return new cY({type:"function",input:Array.isArray(e?.input)?ct(e?.input):e?.input??uY(uz()),output:e?.output??uz()})}let cK=h("ZodCustom",(e,t)=>{rY.init(e,t),sT.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lH(e,t,n,r)});function cJ(e){let t=new t3({check:"custom"});return t._zod.check=e,t}function c0(e,t){return lp(cK,e??(()=>!0),t)}function c1(e,t={}){return lm(cK,e,t)}function c2(e){return lf(e)}let c4=lg,c8=lv;function c6(e,t={}){let n=new cK({type:"custom",check:"custom",fn:t=>t instanceof e,abort:!0,...et(t)});return n._zod.bag.Class=e,n._zod.check=t=>{t.value instanceof e||t.issues.push({code:"invalid_type",expected:e.name,input:t.value,inst:n,path:[...n._zod.def.path??[]]})},n}let c3=(...e)=>ly({Codec:cZ,Boolean:uE,String:sC},...e);function c5(e){let t=cV(()=>u4([s$(e),ub(),uA(),uj(),uY(t),cr(s$(),t)]));return t}function c7(e,t){return cL(cy(e),t)}
186let c9={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function de(e){O({customError:e})}function dt(){return O().customError}a||(a={});let dn={...p,...c,iso:d},dr=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function da(e,t){if("boolean"==typeof e)return e?dn.any():dn.never();let n={version:function(e,t){let n=e.$schema;return"https://json-schema.org/draft/2020-12/schema"===n?"draft-2020-12":"http://json-schema.org/draft-07/schema#"===n?"draft-7":"http://json-schema.org/draft-04/schema#"===n?"draft-4":t??"draft-2020-12"}(e,t?.defaultTarget),defs:e.$defs||e.definitions||{},refs:new Map,processing:new Set,rootSchema:e,registry:t?.registry??iP};return function e(t,n){if("boolean"==typeof t)return t?dn.any():dn.never();let r=function t(n,r){let a;if(void 0!==n.not){if("object"==typeof n.not&&0===Object.keys(n.not).length)return dn.never();throw Error("not is not supported in Zod (except { not: {} } for never)")}if(void 0!==n.unevaluatedItems)throw Error("unevaluatedItems is not supported");if(void 0!==n.unevaluatedProperties)throw Error("unevaluatedProperties is not supported");if(void 0!==n.if||void 0!==n.then||void 0!==n.else)throw Error("Conditional schemas (if/then/else) are not supported");if(void 0!==n.dependentSchemas||void 0!==n.dependentRequired)throw Error("dependentSchemas and dependentRequired are not supported");if(n.$ref){let t=n.$ref;if(r.refs.has(t))return r.refs.get(t);if(r.processing.has(t))return dn.lazy(()=>{if(!r.refs.has(t))throw Error(`Circular reference not resolved: ${t}`);return r.refs.get(t)});r.processing.add(t);let a=e(function(e,t){if(!e.startsWith("#"))throw Error("External $ref is not supported, only local refs (#/...) are allowed");let n=e.slice(1).split("/").filter(Boolean);if(0===n.length)return t.rootSchema;let r="draft-2020-12"===t.version?"$defs":"definitions";if(n[0]===r){let r=n[1];if(!r||!t.defs[r])throw Error(`Reference not found: ${e}`);return t.defs[r]}throw Error(`Reference not found: ${e}`)}(t,r),r);return r.refs.set(t,a),r.processing.delete(t),a}if(void 0!==n.enum){let e=n.enum;if("openapi-3.0"===r.version&&!0===n.nullable&&1===e.length&&null===e[0])return dn.null();if(0===e.length)return dn.never();if(1===e.length)return dn.literal(e[0]);if(e.every(e=>"string"==typeof e))return dn.enum(e);let t=e.map(e=>dn.literal(e));return t.length<2?t[0]:dn.union([t[0],t[1],...t.slice(2)])}if(void 0!==n.const)return dn.literal(n.const);let i=n.type;if(Array.isArray(i)){let e=i.map(e=>t({...n,type:e},r));return 0===e.length?dn.never():1===e.length?e[0]:dn.union(e)}if(!i)return dn.any();switch(i){case"string":{let e=dn.string();if(n.format){let t=n.format;"email"===t?e=e.check(dn.email()):"uri"===t||"uri-reference"===t?e=e.check(dn.url()):"uuid"===t||"guid"===t?e=e.check(dn.uuid()):"date-time"===t?e=e.check(dn.iso.datetime()):"date"===t?e=e.check(dn.iso.date()):"time"===t?e=e.check(dn.iso.time()):"duration"===t?e=e.check(dn.iso.duration()):"ipv4"===t?e=e.check(dn.ipv4()):"ipv6"===t?e=e.check(dn.ipv6()):"mac"===t?e=e.check(dn.mac()):"cidr"===t?e=e.check(dn.cidrv4()):"cidr-v6"===t?e=e.check(dn.cidrv6()):"base64"===t?e=e.check(dn.base64()):"base64url"===t?e=e.check(dn.base64url()):"e164"===t?e=e.check(dn.e164()):"jwt"===t?e=e.check(dn.jwt()):"emoji"===t?e=e.check(dn.emoji()):"nanoid"===t?e=e.check(dn.nanoid()):"cuid"===t?e=e.check(dn.cuid()):"cuid2"===t?e=e.check(dn.cuid2()):"ulid"===t?e=e.check(dn.ulid()):"xid"===t?e=e.check(dn.xid()):"ksuid"===t&&(e=e.check(dn.ksuid()))}"number"==typeof n.minLength&&(e=e.min(n.minLength)),"number"==typeof n.maxLength&&(e=e.max(n.maxLength)),n.pattern&&(e=e.regex(new RegExp(n.pattern))),a=e;break}case"number":case"integer":{let e="integer"===i?dn.number().int():dn.number();"number"==typeof n.minimum&&(e=e.min(n.minimum)),"number"==typeof n.maximum&&(e=e.max(n.maximum)),"number"==typeof n.exclusiveMinimum?e=e.gt(n.exclusiveMinimum):!0===n.exclusiveMinimum&&"number"==typeof n.minimum&&(e=e.gt(n.minimum)),"number"==typeof n.exclusiveMaximum?e=e.lt(n.exclusiveMaximum):!0===n.exclusiveMaximum&&"number"==typeof n.maximum&&(e=e.lt(n.maximum)),"number"==typeof n.multipleOf&&(e=e.multipleOf(n.multipleOf)),a=e;break}case"boolean":a=dn.boolean();break;
186case"null":a=dn.null();break;case"object":{let t={},i=n.properties||{},o=new Set(n.required||[]);for(let[n,a]of Object.entries(i)){let i=e(a,r);t[n]=o.has(n)?i:i.optional()}if(n.propertyNames){let i=e(n.propertyNames,r),o=n.additionalProperties&&"object"==typeof n.additionalProperties?e(n.additionalProperties,r):dn.any();if(0===Object.keys(t).length){a=dn.record(i,o);break}let l=dn.object(t).passthrough(),s=dn.looseRecord(i,o);a=dn.intersection(l,s);break}if(n.patternProperties){let i=n.patternProperties,o=Object.keys(i),l=[];for(let t of o){let n=e(i[t],r),a=dn.string().regex(new RegExp(t));l.push(dn.looseRecord(a,n))}let s=[];if(Object.keys(t).length>0&&s.push(dn.object(t).passthrough()),s.push(...l),0===s.length)a=dn.object({}).passthrough();else if(1===s.length)a=s[0];else{let e=dn.intersection(s[0],s[1]);for(let t=2;t<s.length;t++)e=dn.intersection(e,s[t]);a=e}break}let l=dn.object(t);a=!1===n.additionalProperties?l.strict():"object"==typeof n.additionalProperties?l.catchall(e(n.additionalProperties,r)):l.passthrough();break}case"array":{let t=n.prefixItems,i=n.items;if(t&&Array.isArray(t)){let o=t.map(t=>e(t,r)),l=i&&"object"==typeof i&&!Array.isArray(i)?e(i,r):void 0;a=l?dn.tuple(o).rest(l):dn.tuple(o),"number"==typeof n.minItems&&(a=a.check(dn.minLength(n.minItems))),"number"==typeof n.maxItems&&(a=a.check(dn.maxLength(n.maxItems)))}else if(Array.isArray(i)){let t=i.map(t=>e(t,r)),o=n.additionalItems&&"object"==typeof n.additionalItems?e(n.additionalItems,r):void 0;a=o?dn.tuple(t).rest(o):dn.tuple(t),"number"==typeof n.minItems&&(a=a.check(dn.minLength(n.minItems))),"number"==typeof n.maxItems&&(a=a.check(dn.maxLength(n.maxItems)))}else if(void 0!==i){let t=e(i,r),o=dn.array(t);"number"==typeof n.minItems&&(o=o.min(n.minItems)),"number"==typeof n.maxItems&&(o=o.max(n.maxItems)),a=o}else a=dn.array(dn.any());break}default:throw Error(`Unsupported type: ${i}`)}return n.description&&(a=a.describe(n.description)),void 0!==n.default&&(a=a.default(n.default)),a}(t,n),a=t.type||void 0!==t.enum||void 0!==t.const;if(t.anyOf&&Array.isArray(t.anyOf)){let i=t.anyOf.map(t=>e(t,n)),o=dn.union(i);r=a?dn.intersection(r,o):o}if(t.oneOf&&Array.isArray(t.oneOf)){let i=t.oneOf.map(t=>e(t,n)),o=dn.xor(i);r=a?dn.intersection(r,o):o}if(t.allOf&&Array.isArray(t.allOf)){if(0===t.allOf.length)r=a?r:dn.any();else{let i=a?r:e(t.allOf[0],n),o=a?0:1;for(let r=o;r<t.allOf.length;r++)i=dn.intersection(i,e(t.allOf[r],n));r=i}}!0===t.nullable&&"openapi-3.0"===n.version&&(r=dn.nullable(r)),!0===t.readOnly&&(r=dn.readonly(r));let i={};for(let e of["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"])e in t&&(i[e]=t[e]);for(let e of["contentEncoding","contentMediaType","contentSchema"])e in t&&(i[e]=t[e]);for(let e of Object.keys(t))dr.has(e)||(i[e]=t[e]);return Object.keys(i).length>0&&n.registry.add(r,i),r}(e,n)}function di(e){return iN(sC,e)}function dl(e){return oe(uy,e)}function ds(e){return ol(uE,e)}function du(e){return ou(uT,e)}function dc(e){return oO(uV,e)}O(ao())},12547:function(e,t,n){"use strict";let r,a;n.d(t,{p:function(){return c.p},tk:function(){return c.tk},f_:function(){return u.f_},lg:function(){return c.lg},l9:function(){return c.l9},HN:function(){return tG},Uq:function(){return oY},xN:function(){return oJ}});var i,o,l,s,u=n(62997),c=n(90277);let d=0;class p{constructor(e,t){this.from=e,this.to=t}}class m{constructor(e={}){this.id=d++,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=g.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}m.closedBy=new m({deserialize:e=>e.split(" ")}),m.openedBy=new m({deserialize:e=>e.split(" ")}),m.group=new m({deserialize:e=>e.split(" ")}),m.isolate=new m({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw RangeError("Invalid value for isolate: "+e);return e||"auto"}}),m.contextHash=new m({perNode:!0}),m.lookAhead=new m({perNode:!0}),m.mounted=new m({perNode:!0});class f{constructor(e,t,n,r=!1){this.tree=e,this.overlay=t,this.parser=n,this.bracketed=r}static get(e){return e&&e.props&&e.props[m.mounted.id]}}let h=Object.create(null);class g{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):h,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),r=new g(e.name||"",t,e.id,n);if(e.props){for(let n of e.props)if(Array.isArray(n)||(n=n(r)),n){if(n[0].perNode)throw RangeError("Can't store a per-node prop on a node type");t[n[0].id]=n[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(m.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(" "))t[r]=e[n];return e=>{for(let n=e.prop(m.group),r=-1;r<(n?n.length:0);r++){let a=t[r<0?e.name:n[r]];if(a)return a}}}}g.none=new g("",Object.create(null),0,8);class v{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 n of this.types){let r=null;for(let t of e){let e=t(n);if(e){r||(r=Object.assign({},n.props));let t=e[1],a=e[0];a.combine&&a.id in r&&(t=a.combine(r[a.id],t)),r[a.id]=t}}t.push(r?new g(n.name,r,n.id,n.flags):n)}return new v(t)}}let y=new WeakMap,b=new WeakMap;(i=l||(l={}))[i.ExcludeBuffers=1]="ExcludeBuffers",i[i.IncludeAnonymous=2]="IncludeAnonymous",i[i.IgnoreMounts=4]="IgnoreMounts",i[i.IgnoreOverlays=8]="IgnoreOverlays",i[i.EnterBracketed=16]="EnterBracketed";
186class O{constructor(e,t,n,r,a){if(this.type=e,this.children=t,this.positions=n,this.length=r,this.props=null,a&&a.length)for(let[e,t]of(this.props=Object.create(null),a))this.props["number"==typeof e?e:e.id]=t}toString(){let e=f.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let e of this.children){let n=e.toString();n&&(t&&(t+=","),t+=n)}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 I(this.topNode,e)}cursorAt(e,t=0,n=0){let r=new I(y.get(this)||this.topNode);return r.moveTo(e,t),y.set(this,r._tree),r}get topNode(){return new E(this,0,0,null)}resolve(e,t=0){let n=S(y.get(this)||this.topNode,e,t,!1);return y.set(this,n),n}resolveInner(e,t=0){let n=S(b.get(this)||this.topNode,e,t,!0);return b.set(this,n),n}resolveStack(e,t=0){return function(e,t,n){let r=e.resolveInner(t,n),a=null;for(let e=r instanceof E?r:r.context.parent;e;e=e.parent)if(e.index<0){let i=e.parent;(a||(a=[r])).push(i.resolve(t,n)),e=i}else{let i=f.get(e.tree);if(i&&i.overlay&&i.overlay[0].from<=t&&i.overlay[i.overlay.length-1].to>=t){let o=new E(i.tree,i.overlay[0].from+e.from,-1,e);(a||(a=[r])).push(S(o,t,n,!1))}}return a?$(a):r}(this,e,t)}iterate(e){let{enter:t,leave:n,from:r=0,to:a=this.length}=e,i=e.mode||0,o=(i&l.IncludeAnonymous)>0;for(let e=this.cursor(i|l.IncludeAnonymous);;){let i=!1;if(e.from<=a&&e.to>=r&&(!o&&e.type.isAnonymous||!1!==t(e))){if(e.firstChild())continue;i=!0}for(;i&&n&&(o||!e.type.isAnonymous)&&n(e),!e.nextSibling();){if(!e.parent())return;i=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];
186if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:R(g.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new O(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new O(g.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:r,maxBufferLength:a=1024,reused:i=[],minRepeatType:o=r.types.length}=e,l=Array.isArray(n)?new w(n,n.length):n,s=r.types,u=0,c=0;function d(e,t,n,a,i,o,l,s,u){let c=[],d=[];for(;e.length>a;)c.push(e.pop()),d.push(t.pop()+n-i);e.push(p(r.types[l],c,d,o-i,s-o,u)),t.push(i-n)}function p(e,t,n,r,a,i,o){if(i){let e=[m.contextHash,i];o=o?[e].concat(o):[e]}if(a>25){let e=[m.lookAhead,a];o=o?[e].concat(o):[e]}return new O(e,t,n,r,o)}let f=[],h=[];for(;l.pos>0;)!function e(t,n,f,h,g,v){let{id:y,start:b,end:w,size:x}=l,S=c,_=u;if(x<0){if(l.next(),-1==x){let e=i[y];f.push(e),h.push(b-t);return}if(-3==x){u=y;return}if(-4==x){c=y;return}throw RangeError(`Unrecognized record size: ${x}`)}let E=s[y],A,T,D=b-t;if(w-b<=a&&(T=function(e,t){let n=l.fork(),r=0,i=0,s=0,u=n.end-a,c={size:0,start:0,skip:0};t:for(let a=n.pos-e;n.pos>a;){let e=n.size;if(n.id==t&&e>=0){c.size=r,c.start=i,c.skip=s,s+=4,r+=4,n.next();continue}let l=n.pos-e;if(e<0||l<a||n.start<u)break;let d=n.id>=o?4:0,p=n.start;for(n.next();n.pos>l;){if(n.size<0){if(-3==n.size||-4==n.size)d+=4;else break t}else n.id>=o&&(d+=4);n.next()}i=p,r+=e,s+=d}return(t<0||r==e)&&(c.size=r,c.start=i,c.skip=s),c.size>4?c:void 0}(l.pos-n,g))){let e=new Uint16Array(T.size-T.skip),n=l.pos-T.size,a=e.length;for(;l.pos>n;)a=function e(t,n,r){let{id:a,start:i,end:s,size:d}=l;if(l.next(),d>=0&&a<o){let o=r;if(d>4){let a=l.pos-(d-4);for(;l.pos>a;)r=e(t,n,r)}n[--r]=o,n[--r]=s-t,n[--r]=i-t,n[--r]=a}else -3==d?u=a:-4==d&&(c=a);return r}(T.start,e,a);A=new k(e,w-T.start,r),D=T.start-t}else{let t=l.pos-x;l.next();let n=[],i=[],s=y>=o?y:-1,u=0,c=w;for(;l.pos>t;)s>=0&&l.id==s&&l.size>=0?(l.end<=c-a&&(d(n,i,b,u,l.end,c,s,S,_),u=n.length,c=l.end),l.next()):v>2500?function(e,t,n,i){let o=[],s=0,u=-1;for(;l.pos>t;){let{id:e,start:t,end:n,size:r}=l;if(r>4)l.next();else if(u>-1&&t<u)break;
186else u<0&&(u=n-a),o.push(e,t,n),s++,l.next()}if(s){let t=new Uint16Array(4*s),a=o[o.length-2];for(let e=o.length-3,n=0;e>=0;e-=3)t[n++]=o[e],t[n++]=o[e+1]-a,t[n++]=o[e+2]-a,t[n++]=n;n.push(new k(t,o[2]-a,r)),i.push(a-e)}}(b,t,n,i):e(b,t,n,i,s,v+1);if(s>=0&&u>0&&u<n.length&&d(n,i,b,u,b,c,s,S,_),n.reverse(),i.reverse(),s>-1&&u>0){let e=function(e,t){return(n,r,a)=>{let i=0,o=n.length-1,l,s;if(o>=0&&(l=n[o])instanceof O){if(!o&&l.type==e&&l.length==a)return l;(s=l.prop(m.lookAhead))&&(i=r[o]+l.length+s)}return p(e,n,r,a,i,t)}}(E,_);A=R(E,n,i,0,n.length,0,w-b,e,e)}else A=p(E,n,i,w-b,S-w,_)}f.push(A),h.push(D)}(e.start||0,e.bufferStart||0,f,h,-1,0);let g=null!==(t=e.length)&&void 0!==t?t:f.length?h[0]+f[0].length:0;return new O(s[e.topID],f.reverse(),h.reverse(),g)}(e)}}O.empty=new O(g.none,[],[],0);class w{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 w(this.buffer,this.index)}}class k{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return g.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],n=this.buffer[e+3],r=this.set.types[t],a=r.name;if(/\W/.test(a)&&!r.isError&&(a=JSON.stringify(a)),n==(e+=4))return a;let i=[];for(;e<n;)i.push(this.childString(e)),e=this.buffer[e+3];return a+"("+i.join(",")+")"}findChild(e,t,n,r,a){let{buffer:i}=this,o=-1;for(let l=e;l!=t&&(!x(a,r,i[l+1],i[l+2])||(o=l,!(n>0)));l=i[l+3]);return o}slice(e,t,n){let r=this.buffer,a=new Uint16Array(t-e),i=0;for(let o=e,l=0;o<t;){a[l++]=r[o++],a[l++]=r[o++]-n;let t=a[l++]=r[o++]-n;a[l++]=r[o++]-e,i=Math.max(i,t)}return new k(a,i,this.set)}}function x(e,t,n,r){switch(e){case -2:return n<t;case -1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function S(e,t,n,r){for(var a;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){let t=!r&&e instanceof E&&e.index<0?null:e.parent;if(!t)return e;e=t}let i=r?0:l.IgnoreOverlays;if(r)for(let r=e,o=r.parent;o;o=(r=o).parent)r instanceof E&&r.index<0&&(null===(a=o.enter(t,n,i))||void 0===a?void 0:a.from)!=r.from&&(e=o);for(;;){let r=e.enter(t,n,i);if(!r)return e;e=r}}class _{cursor(e=0){return new I(this,e)}getChild(e,t=null,n=null){let r=A(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return A(this,e,t,n)}resolve(e,t=0){return S(this,e,t,!1)}resolveInner(e,t=0){return S(this,e,t,!0)}matchContext(e){return T(this.parent,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),n=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(n=t,t=e.prevSibling):t=e}return n}get node(){return this}get next(){return this.parent}}class E extends _{constructor(e,t,n,r){super(),this._tree=e,this.from=t,this.index=n,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,n,r,a=0){for(let i=this;;){for(let{children:o,positions:s}=i._tree,u=t>0?o.length:-1;e!=u;e+=t){let u=o[e],c=s[e]+i.from,d;if(a&l.EnterBracketed&&u instanceof O&&(d=f.get(u))&&!d.overlay&&d.bracketed&&n>=c&&n<=c+u.length||x(r,n,c,c+u.length)){if(u instanceof k){if(a&l.ExcludeBuffers)continue;let o=u.findChild(0,u.buffer.length,t,n-c,r);if(o>-1)return new C(new D(i,u,e,c),null,o)}else if(a&l.IncludeAnonymous||!u.type.isAnonymous||N(u)){let o;if(!(a&l.IgnoreMounts)&&(o=f.get(u))&&!o.overlay)return new E(o.tree,c,e,i);let s=new E(u,c,e,i);return a&l.IncludeAnonymous||!s.type.isAnonymous?s:s.nextChild(t<0?u.children.length-1:0,t,n,r,a)}}}if(a&l.IncludeAnonymous||!i.type.isAnonymous||(e=i.index>=0?i.index+t:t<0?-1:i._parent._tree.children.length,!(i=i._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,n=0){let r;if(!(n&l.IgnoreOverlays)&&(r=f.get(this._tree))&&r.overlay){let a=e-this.from,i=n&l.EnterBracketed&&r.bracketed;for(let{from:e,to:n}of r.overlay)if((t>0||i?e<=a:e<a)&&(t<0||i?n>=a:n>a))return new E(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}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()}}
vendor: 7,136 bytes, line 186
186function A(e,t,n,r){let a=e.cursor(),i=[];if(!a.firstChild())return i;if(null!=n){for(let e=!1;!e;)if(e=a.type.is(n),!a.nextSibling())return i}for(;;){if(null!=r&&a.type.is(r))return i;if(a.type.is(t)&&i.push(a.node),!a.nextSibling())return null==r?i:[]}}function T(e,t,n=t.length-1){for(let r=e;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class D{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}class C extends _{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,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:r}=this.context,a=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n);return a<0?null:new C(this.context,this,a)}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,n=0){if(n&l.ExcludeBuffers)return null;let{buffer:r}=this.context,a=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return a<0?null:new C(this.context,this,a)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+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 C(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 C(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,a=n.buffer[this.index+3];if(a>r){let i=n.buffer[this.index+1];e.push(n.slice(r,a,i)),t.push(0)}return new O(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function $(e){if(!e.length)return null;let t=0,n=e[0];for(let r=1;r<e.length;r++){let a=e[r];(a.from>n.from||a.to<n.to)&&(n=a,t=r)}let r=n instanceof E&&n.index<0?null:n.parent,a=e.slice();return r?a[t]=r:a.splice(t,1),new P(a,n)}class P{constructor(e,t){this.heads=e,this.node=t}get next(){return $(this.heads)}}class I{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&~l.EnterBracketed,e instanceof E)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(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:n,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return!!e&&(e instanceof E?(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,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:r}=this.buffer,a=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);return!(a<0)&&(this.stack.push(this.index),this.yieldBuf(a))}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,n=this.mode){return this.buffer?!(n&l.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&l.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&l.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,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+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<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<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,n,{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:n}=r)}else({index:t,_parent:n}=this._tree);for(;n;{index:t,_parent:n}=n)if(t>-1)for(let r=t+e,a=e<0?-1:n._tree.children.length;r!=a;r+=e){let e=n._tree.children[r];if(this.mode&l.IncludeAnonymous||e instanceof k||!e.type.isAnonymous||N(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,n=0;if(e&&e.context==this.buffer)t:for(let r=this.index,a=this.stack.length;a>=0;){for(let i=e;i;i=i._parent)if(i.index==r){if(r==this.index)return i;t=i,n=a+1;break t}r=this.stack[--a]}for(let e=n;e<this.stack.length;e++)t=new C(this.buffer,t,this.stack[e]);return this.bufferNode=new C(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let r=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){n++;continue}this.type.isAnonymous||(r=!0)}for(;;){if(r&&t&&t(this),r=this.type.isAnonymous,!n)return;if(this.nextSibling())break;this.parent(),n--,r=!0}}}matchContext(e){if(!this.buffer)return T(this.node.parent,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let r=e.length-1,a=this.stack.length-1;r>=0;a--){if(a<0)return T(this._tree,e,r);let i=n[t.buffer[this.stack[a]]];if(!i.isAnonymous){if(e[r]&&e[r]!=i.name)return!1;r--}}return!0}}function N(e){return e.children.some(e=>e instanceof k||!e.type.isAnonymous||N(e))}let U=new WeakMap;function M(e,t){if(!e.isAnonymous||t instanceof k||t.type!=e)return 1;let n=U.get(t);if(null==n){for(let r of(n=1,t.children)){if(r.type!=e||!(r instanceof O)){n=1;break}n+=M(e,r)}U.set(t,n)}return n}function R(e,t,n,r,a,i,o,l,s){let u=0;for(let n=r;n<a;n++)u+=M(e,t[n]);let c=Math.ceil(1.5*u/8),d=[],p=[];return!function t(n,r,a,o,l){for(let u=a;u<o;){let a=u,m=r[u],f=M(e,n[u]);for(u++;
186u<o;u++){let t=M(e,n[u]);if(f+t>=c)break;f+=t}if(u==a+1){if(f>c){let e=n[a];t(e.children,e.positions,0,e.children.length,r[a]+l);continue}d.push(n[a])}else{let t=r[u-1]+n[u-1].length-m;d.push(R(e,n,r,a,u,m,t,null,s))}p.push(m+l-i)}}(t,n,r,a,0),(l||s)(d,p,o)}class j{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof C?this.setBuffer(e.context.buffer,e.index,t):e instanceof E&&this.map.set(e.tree,t)}get(e){return e instanceof C?this.getBuffer(e.context.buffer,e.index):e instanceof E?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 L{constructor(e,t,n,r,a=!1,i=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=(a?1:0)|(i?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let r=[new L(0,e.length,e,0,!1,n)];for(let n of t)n.to>e.length&&r.push(n);return r}static applyChanges(e,t,n=128){if(!t.length)return e;let r=[],a=1,i=e.length?e[0]:null;for(let o=0,l=0,s=0;;o++){let u=o<t.length?t[o]:null,c=u?u.fromA:1e9;if(c-l>=n)for(;i&&i.from<c;){let t=i;if(l>=t.from||c<=t.to||s){let e=Math.max(t.from,l)-s,n=Math.min(t.to,c)-s;t=e>=n?null:new L(e,n,t.tree,t.offset+s,o>0,!!u)}if(t&&r.push(t),i.to>c)break;i=a<e.length?e[a++]:null}if(!u)break;l=u.toA,s=u.toA-u.toB}return r}}class Z{startParse(e,t,n){return"string"==typeof e&&(e=new B(e)),n=n?n.length?n.map(e=>new p(e.from,e.to)):[new p(0,0)]:[new p(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}}class B{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 z{constructor(e,t,n,r,a,i){this.parser=e,this.parse=t,this.overlay=n,this.bracketed=r,this.target=a,this.from=i}}function F(e){if(!e.length||e.some(e=>e.from>=e.to))throw RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class Q{constructor(e,t,n,r,a,i,o,l){this.parser=e,this.predicate=t,this.mounts=n,this.index=r,this.start=a,this.bracketed=i,this.target=o,this.prev=l,this.depth=0,this.ranges=[]}}let H=new m({perNode:!0});class q{constructor(e,t,n,r,a){this.nest=t,this.input=n,this.fragments=r,this.ranges=a,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 O(e.type,e.children,e.positions,e.length,e.propValues.concat([[H,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[m.mounted.id]=new f(t,e.overlay,e.parser,e.bracketed),e.target.props=n}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 X(this.fragments),t=null,n=null,r=new I(new E(this.baseTree,this.ranges[0].from,0,null),l.IncludeAnonymous|l.IgnoreMounts);t:for(let a,i;;){let o=!0,l;if(null!=this.stoppedAt&&r.from>=this.stoppedAt)o=!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 n of e.mount.overlay){let a=n.from+e.pos,i=n.to+e.pos;a>=r.from&&i<=r.to&&!t.ranges.some(e=>e.from<i&&e.to>a)&&t.ranges.push({from:a,to:i})}}o=!1}else if(n&&(i=function(e,t,n){for(let r of e){if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}(n.ranges,r.from,r.to)))o=2!=i;else if(!r.type.isAnonymous&&(a=this.nest(r,this.input))&&(r.from<r.to||!a.overlay)){!r.tree&&(function(e){let{node:t}=e,n=[],r=t.context.buffer;do n.push(e.index),e.parent();while(!e.tree);let a=e.tree,i=a.children.indexOf(r),o=a.children[i],l=o.buffer,s=[i];for(let r of(a.children[i]=function e(r,a,i,u,c,d){let p=n[d],m=[],f=[];V(o,r,p,m,f,u);let h=l[p+1],g=l[p+2];s.push(m.length);let v=d?e(p+4,l[p+3],o.set.types[l[p]],h,g-h,d-1):t.toTree();return m.push(v),f.push(h-u),V(o,l[p+3],a,m,f,u),new O(i,m,f,c)}(0,l.length,g.none,0,o.length,n.length-1),s)){let t=e.tree.children[r],n=e.tree.positions[r];e.yield(new E(t,n+e.from,r,e._tree))}}(r),t&&t.depth++,n&&n.depth++);let i=e.findMounts(r.from,a.parser);if("function"==typeof a.overlay)t=new Q(a.parser,a.overlay,i,this.inner.length,r.from,!!a.bracketed,r.tree,t);else{let e=Y(this.ranges,a.overlay||(r.from<r.to?[new p(r.from,r.to)]:[]));e.length&&F(e),(e.length||!a.overlay)&&this.inner.push(new z(a.parser,e.length?a.parser.startParse(this.input,G(i,e),e):a.parser.startParse(""),a.overlay?a.overlay.map(e=>new p(e.from-r.from,e.to-r.from)):null,!!a.bracketed,r.tree,e.length?e[0].from:r.from)),a.overlay?e.length&&(n={ranges:e,depth:0,prev:n}):o=!1}}else if(t&&(l=t.predicate(r))&&(!0===l&&(l=new p(r.from,r.to)),l.from<l.to)){let e=t.ranges.length-1;e>=0&&t.ranges[e].to==l.from?t.ranges[e]={from:t.ranges[e].from,to:l.to}:t.ranges.push(l)}if(o&&r.firstChild())t&&t.depth++,n&&n.depth++;else for(;!r.nextSibling();){if(!r.parent())break t;if(t&&!--t.depth){let e=Y(this.ranges,t.ranges);e.length&&(F(e),this.inner.splice(t.index,0,new z(t.parser,t.parser.startParse(this.input,G(t.mounts,e),e),t.ranges.map(e=>new p(e.from-t.start,e.to-t.start)),t.bracketed,t.target,e[0].from))),t=t.prev}!n||--n.depth||(n=n.prev)}}}}
186function V(e,t,n,r,a,i){if(t<n){let o=e.buffer[t+1];r.push(e.slice(t,n,o)),a.push(o-i)}}class W{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(l.IncludeAnonymous|l.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from<n;)if(t.to>=e&&t.enter(n,1,l.IgnoreOverlays|l.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 O)t=t.children[0];else break}return!1}}class X{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(H))&&void 0!==t?t:n.to,this.inner=new W(n.tree,-n.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(H))&&void 0!==e?e:t.to,this.inner=new W(t.tree,-t.offset)}}findMounts(e,t){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let a=null===(n=e.tree)||void 0===n?void 0:n.prop(m.mounted);if(a&&a.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let n=this.fragments[t];if(n.from>=e.to)break;n.tree==this.curFrag.tree&&r.push({frag:n,pos:e.from-n.offset,mount:a})}}}return r}}function Y(e,t){let n=null,r=t;for(let a=1,i=0;a<e.length;a++){let o=e[a-1].to,l=e[a].from;for(;i<r.length;i++){let e=r[i];if(e.from>=l)break;!(e.to<=o)&&(n||(r=n=t.slice()),e.from<o?(n[i]=new p(e.from,o),e.to>l&&n.splice(i+1,0,new p(l,e.to))):e.to>l?n[i--]=new p(l,e.to):n.splice(i--,1))}}return r}function G(e,t){let n=[];for(let{pos:r,mount:a,frag:i}of e){let e=r+(a.overlay?a.overlay[0].from:0),o=e+a.tree.length,l=Math.max(i.from,e),s=Math.min(i.to,o);if(a.overlay){let o=function(e,t,n,r){let a=0,i=0,o=!1,l=!1,s=-1e9,u=[];for(;;){let c=a==e.length?1e9:o?e[a].to:e[a].from,d=i==t.length?1e9:l?t[i].to:t[i].from;if(o!=l){let e=Math.max(s,n),t=Math.min(c,d,r);e<t&&u.push(new p(e,t))}if(1e9==(s=Math.min(c,d)))break;c==s&&(o?(o=!1,a++):o=!0),d==s&&(l?(l=!1,i++):l=!0)}return u}(t,a.overlay.map(e=>new p(e.from+r,e.to+r)),l,s);for(let t=0,r=l;;t++){let l=t==o.length,u=l?s:o[t].from;if(u>r&&n.push(new L(r,u,a.tree,-e,i.from>=r||i.openStart,i.to<=u||i.openEnd)),l)break;r=o[t].to}}else n.push(new L(l,s,a.tree,-e,i.from>=e||i.openStart,i.to<=o||i.openEnd))}return n}let K=0;class J{constructor(e,t,n,r){this.name=e,this.set=t,this.base=n,this.modified=r,this.id=K++}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 J&&(t=e),null==t?void 0:t.base)throw Error("Can not derive from a modified tag");let n=new J("string"==typeof e?e:"?",[],null,[]);if(n.set.push(n),t)for(let e of t.set)n.set.push(e);return n}static defineModifier(e){let t=new et(e);return e=>e.modified.indexOf(t)>-1?e:et.get(e.base||e,e.modified.concat(t).sort((e,t)=>e.id-t.id))}}let ee=0;class et{constructor(e){this.name=e,this.instances=[],this.id=ee++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(n=>{var r;return n.base==e&&(r=n.modified,t.length==r.length&&t.every((e,t)=>e==r[t]))});if(n)return n;let r=[],a=new J(e.name,r,e,t);for(let e of t)e.instances.push(a);let i=function(e){let t=[[]];for(let n=0;n<e.length;n++)for(let r=0,a=t.length;r<a;r++)t.push(t[r].concat(e[n]));return t.sort((e,t)=>t.length-e.length)}(t);for(let t of e.set)if(!t.modified.length)for(let e of i)r.push(et.get(t,e));return a}}function en(e){let t=Object.create(null);for(let n in e){let r=e[n];for(let e of(Array.isArray(r)||(r=[r]),n.split(" ")))if(e){let n=[],a=2,i=e;for(let t=0;;){if("..."==i&&t>0&&t+3==e.length){a=1;break}let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(i);if(!r)throw RangeError("Invalid path: "+e);if(n.push("*"==r[0]?"":'"'==r[0][0]?JSON.parse(r[0]):r[0]),(t+=r[0].length)==e.length)break;let o=e[t++];if(t==e.length&&"!"==o){a=0;break}if("/"!=o)throw RangeError("Invalid path: "+e);i=e.slice(t)}let o=n.length-1,l=n[o];if(!l)throw RangeError("Invalid path: "+e);let s=new ea(r,a,o>0?n.slice(0,o):null);t[l]=s.sort(t[l])}}return er.add(t)}let er=new m({combine(e,t){let n,r,a;for(;e||t;){if(!e||t&&e.depth>=t.depth?(a=t,t=t.next):(a=e,e=e.next),n&&n.mode==a.mode&&!a.context&&!n.context)continue;let i=new ea(a.tags,a.mode,a.context);n?n.next=i:r=i,n=i}return r}});class ea{constructor(e,t,n,r){this.tags=e,this.mode=t,this.context=n,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 ei(e,t){let n=Object.create(null);for(let t of e)if(Array.isArray(t.tag))for(let e of t.tag)n[e.id]=t.class;else n[t.tag.id]=t.class;let{scope:r,all:a=null}=t||{};return{style:e=>{let t=a;for(let r of e)for(let e of r.set){let r=n[e.id];if(r){t=t?t+" "+r:r;break}}return t},scope:r}}ea.empty=new ea([],2,null);class eo{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}
vendor: 9,615 bytes, line 186
186startSpan(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,n,r,a){let{type:i,from:o,to:l}=e;if(o>=n||l<=t)return;i.isTop&&(a=this.highlighters.filter(e=>!e.scope||e.scope(i)));let s=r,u=function(e){let t=e.type.prop(er);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||ea.empty,c=function(e,t){let n=null;for(let r of e){let e=r.style(t);e&&(n=n?n+" "+e:e)}return n}(a,u.tags);if(c&&(s&&(s+=" "),s+=c,1==u.mode&&(r+=(r?" ":"")+c)),this.startSpan(Math.max(t,o),s),u.opaque)return;let d=e.tree&&e.tree.prop(m.mounted);if(d&&d.overlay){let i=e.node.enter(d.overlay[0].from+o,1),u=this.highlighters.filter(e=>!e.scope||e.scope(d.tree.type)),c=e.firstChild();for(let p=0,m=o;;p++){let f=p<d.overlay.length?d.overlay[p]:null,h=f?f.from+o:l,g=Math.max(t,m),v=Math.min(n,h);if(g<v&&c)for(;e.from<v&&(this.highlightRange(e,g,v,r,a),this.startSpan(Math.min(v,e.to),s),!(e.to>=h)&&e.nextSibling()););if(!f||h>n)break;(m=f.to+o)>t&&(this.highlightRange(i.cursor(),Math.max(t,f.from+o),Math.min(n,m),"",u),this.startSpan(Math.min(n,m),s))}c&&e.parent()}else if(e.firstChild()){d&&(r="");do{if(e.to<=t)continue;if(e.from>=n)break;this.highlightRange(e,t,n,r,a),this.startSpan(Math.min(n,e.to),s)}while(e.nextSibling());e.parent()}}}let el=J.define,es=el(),eu=el(),ec=el(eu),ed=el(eu),ep=el(),em=el(ep),ef=el(ep),eh=el(),eg=el(eh),ev=el(),ey=el(),eb=el(),eO=el(eb),ew=el(),ek={comment:es,lineComment:el(es),blockComment:el(es),docComment:el(es),name:eu,variableName:el(eu),typeName:ec,tagName:el(ec),propertyName:ed,attributeName:el(ed),className:el(eu),labelName:el(eu),namespace:el(eu),macroName:el(eu),literal:ep,string:em,docString:el(em),character:el(em),attributeValue:el(em),number:ef,integer:el(ef),float:el(ef),bool:el(ep),regexp:el(ep),escape:el(ep),color:el(ep),url:el(ep),keyword:ev,self:el(ev),null:el(ev),atom:el(ev),unit:el(ev),modifier:el(ev),operatorKeyword:el(ev),controlKeyword:el(ev),definitionKeyword:el(ev),moduleKeyword:el(ev),operator:ey,derefOperator:el(ey),arithmeticOperator:el(ey),logicOperator:el(ey),bitwiseOperator:el(ey),compareOperator:el(ey),updateOperator:el(ey),definitionOperator:el(ey),typeOperator:el(ey),controlOperator:el(ey),punctuation:eb,separator:el(eb),bracket:eO,angleBracket:el(eO),squareBracket:el(eO),paren:el(eO),brace:el(eO),content:eh,heading:eg,heading1:el(eg),heading2:el(eg),heading3:el(eg),heading4:el(eg),heading5:el(eg),heading6:el(eg),contentSeparator:el(eh),list:el(eh),quote:el(eh),emphasis:el(eh),strong:el(eh),link:el(eh),monospace:el(eh),strikethrough:el(eh),inserted:el(),deleted:el(),changed:el(),invalid:el(),meta:ew,documentMeta:el(ew),annotation:el(ew),processingInstruction:el(ew),definition:J.defineModifier("definition"),constant:J.defineModifier("constant"),function:J.defineModifier("function"),standard:J.defineModifier("standard"),local:J.defineModifier("local"),special:J.defineModifier("special")};for(let e in ek){let t=ek[e];t instanceof J&&(t.name=e)}ei([{tag:ek.link,class:"tok-link"},{tag:ek.heading,class:"tok-heading"},{tag:ek.emphasis,class:"tok-emphasis"},{tag:ek.strong,class:"tok-strong"},{tag:ek.keyword,class:"tok-keyword"},{tag:ek.atom,class:"tok-atom"},{tag:ek.bool,class:"tok-bool"},{tag:ek.url,class:"tok-url"},{tag:ek.labelName,class:"tok-labelName"},{tag:ek.inserted,class:"tok-inserted"},{tag:ek.deleted,class:"tok-deleted"},{tag:ek.literal,class:"tok-literal"},{tag:ek.string,class:"tok-string"},{tag:ek.number,class:"tok-number"},{tag:[ek.regexp,ek.escape,ek.special(ek.string)],class:"tok-string2"},{tag:ek.variableName,class:"tok-variableName"},{tag:ek.local(ek.variableName),class:"tok-variableName tok-local"},{tag:ek.definition(ek.variableName),class:"tok-variableName tok-definition"},{tag:ek.special(ek.variableName),class:"tok-variableName2"},{tag:ek.definition(ek.propertyName),class:"tok-propertyName tok-definition"},{tag:ek.typeName,class:"tok-typeName"},{tag:ek.namespace,class:"tok-namespace"},{tag:ek.className,class:"tok-className"},{tag:ek.macroName,class:"tok-macroName"},{tag:ek.propertyName,class:"tok-propertyName"},{tag:ek.operator,class:"tok-operator"},{tag:ek.comment,class:"tok-comment"},{tag:ek.meta,class:"tok-meta"},{tag:ek.invalid,class:"tok-invalid"},{tag:ek.punctuation,class:"tok-punctuation"}]);var ex=n(78206);let eS=new m;function e_(e){return u.r$.define({combine:e?t=>t.concat(e):void 0})}let eE=new m;class eA{constructor(e,t,n=[],r=""){this.data=e,this.name=r,u.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(u.yy.prototype,"tree",{get(){return eC(this)}}),this.parser=t,this.extension=[eL.of(this),u.yy.languageData.of((e,t,n)=>{let r=eT(e,t,n),a=r.type.prop(eS);if(!a)return[];let i=e.facet(a),o=r.type.prop(eE);if(o){let a=r.resolve(t-r.from,n);for(let t of o)if(t.test(a,e)){let n=e.facet(t.facet);return"replace"==t.type?n:n.concat(i)}}return i})].concat(n)}isActiveAt(e,t,n=-1){return eT(e,t,n).type.prop(eS)==this.data}findRegions(e){let t=e.facet(eL);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(e,t)=>{if(e.prop(eS)==this.data){n.push({from:t,to:t+e.length});return}let a=e.prop(m.mounted);if(a){if(a.tree.prop(eS)==this.data){if(a.overlay)for(let e of a.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}if(a.overlay){let e=n.length;if(r(a.tree,a.overlay[0].from+t),n.length>e)return}}for(let n=0;n<e.children.length;n++){let a=e.children[n];a instanceof O&&r(a,e.positions[n]+t)}};return r(eC(e),0),n}get allowsNesting(){return!0}}function eT(e,t,n){let r=e.facet(eL),a=eC(e).topNode;if(!r||r.allowsNesting)for(let e=a;e;e=e.enter(t,n,l.ExcludeBuffers|l.EnterBracketed))e.type.isTop&&(a=e);return a}eA.setState=u.Py.define();class eD extends eA{constructor(e,t,n){super(e,t,[],n),this.parser=t}static define(e){let t=e_(e.languageData);return new eD(t,e.parser.configure({props:[eS.add(e=>e.isTop?t:void 0)]}),e.name)}configure(e,t){return new eD(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function eC(e){let t=e.field(eA.state,!1);return t?t.tree:O.empty}class e${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 n=this.cursorPos-this.string.length;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let eP=null;class eI{constructor(e,t,n=[],r,a,i,o,l){this.parser=e,this.state=t,this.fragments=n,this.tree=r,this.treeLen=a,this.viewport=i,this.skipped=o,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new eI(e,t,[],O.empty,0,n,[],null)}startParse(){return this.parser.startParse(new e$(this.state.doc),this.fragments)}work(e,t){return(null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=O.empty&&this.isDone(null!=t?t:this.state.doc.length))?(this.takeTree(),!0):this.withContext(()=>{var n;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(L.addTree(r,this.fragments,null!=this.parse.stoppedAt)),this.treeLen=null!==(n=this.parse.stoppedAt)&&void 0!==n?n: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(L.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=eP;eP=this;try{return e()}finally{eP=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=eN(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:r,treeLen:a,viewport:i,skipped:o}=this;if(this.takeTree(),!e.empty){let t=[];if(e.iterChangedRanges((e,n,r,a)=>t.push({fromA:e,toA:n,fromB:r,toB:a})),n=L.applyChanges(n,t),r=O.empty,a=0,i={from:e.mapPos(i.from,-1),to:e.mapPos(i.to,1)},this.skipped.length)for(let t of(o=[],this.skipped)){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);n<r&&o.push({from:n,to:r})}}return new eI(this.parser,t,n,r,a,i,o,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:n,to:r}=this.skipped[t];n<e.to&&r>e.from&&(this.fragments=eN(this.fragments,n,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 Z{createParse(t,n,r){let a=r[0].from,i=r[r.length-1].to;return{parsedPos:a,advance(){let t=eP;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=i,new O(g.none,[],[],i-a)},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 eP}}
186function eN(e,t,n){return L.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class eU{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),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new eU(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=eI.create(e.facet(eL).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new eU(n)}}eA.state=u.QQ.define({create:eU.init,update(e,t){for(let e of t.effects)if(e.is(eA.setState))return e.value;return t.startState.facet(eL)!=t.state.facet(eL)?eU.init(t.state):e.apply(t)}});let eM=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(eM=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});let eR="undefined"!=typeof navigator&&(null===(s=navigator.scheduling)||void 0===s?void 0:s.isInputPending)?()=>navigator.scheduling.isInputPending():null,ej=c.lg.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(eA.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(eA.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=eM(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:n,viewport:{to:r}}=this.view,a=n.field(eA.state);if(a.tree==a.context.tree&&a.context.isDone(r+1e5))return;let i=Date.now()+Math.min(this.chunkBudget,100,e&&!eR?Math.max(25,e.timeRemaining()-5):1e9),o=a.context.treeLen<r&&n.doc.length>r+1e3,l=a.context.work(()=>eR&&eR()||Date.now()>i,r+(o?0:1e5));this.chunkBudget-=Date.now()-t,(l||this.chunkBudget<=0)&&(a.context.takeTree(),this.view.dispatch({effects:eA.setState.of(new eU(a.context))})),this.chunkBudget>0&&!(l&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(a.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>(0,c.OO)(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()}}}),eL=u.r$.define({combine:e=>e.length?e[0]:null,enables:e=>[eA.state,ej,c.tk.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class eZ{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}let eB=u.r$.define(),ez=u.r$.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 eF(e){let t=e.facet(ez);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function eQ(e,t){let n="",r=e.tabSize,a=e.facet(ez)[0];if(" "==a){for(;t>=r;)n+=" ",t-=r;a=" "}for(let e=0;e<t;e++)n+=a;return n}class eH{constructor(e,t={}){this.state=e,this.options=t,this.unit=eF(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:a}=this.options;return null!=r&&r>=n.from&&r<=n.to?a&&r==e?{text:"",from:e}:(t<0?r<e:r<=e)?{text:n.text.slice(r-n.from),from:r}:{text:n.text.slice(0,r-n.from),from:n.from}:n}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:n,from:r}=this.lineAt(e,t);return n.slice(e-r,Math.min(n.length,e+100-r))}column(e,t=1){let{text:n,from:r}=this.lineAt(e,t),a=this.countColumn(n,e-r),i=this.options.overrideIndentation?this.options.overrideIndentation(r):-1;return i>-1&&(a+=i-this.countColumn(n,n.search(/\S|$/))),a}countColumn(e,t=e.length){return(0,u.IS)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:r}=this.lineAt(e,t),a=this.options.overrideIndentation;if(a){let e=a(r);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let eq=new m;function eV(e,t,n){for(let r=e;r;r=r.next){let e=function(e){let t=e.type.prop(eq);if(t)return t;let n=e.firstChild,r;if(n&&(r=n.type.prop(m.closedBy))){let t=e.lastChild,n=t&&r.indexOf(t.name)>-1;return e=>eG(e,!0,1,void 0,n&&!(e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak)?t.from:void 0)}return null==e.parent?eW:null}
186(r.node);if(e)return e(eX.create(t,n,r))}return 0}function eW(){return 0}class eX extends eH{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){return this.context.node}static create(e,t,n){return new eX(e,t,n)}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 n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(function(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){return eV(this.context.next,this.base,this.pos)}}function eY({closing:e,align:t=!0,units:n=1}){return r=>eG(r,t,n,e)}function eG(e,t,n,r,a){let i=e.textAfter,o=i.match(/^\s*/)[0].length,l=r&&i.slice(o,o+r.length)==r||a==e.pos+o,s=t?function(e){let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;let a=e.options.simulateBreak,i=e.state.doc.lineAt(n.from),o=null==a||a<=i.from?i.to:Math.min(i.to,a);for(let e=n.to;;){let a=t.childAfter(e);if(!a||a==r)return null;if(!a.type.isSkipped){if(a.from>=o)return null;let e=/^ */.exec(i.text.slice(n.to-i.from))[0].length;return{from:n.from,to:n.to+e}}e=a.to}}(e):null;return s?l?e.column(s.from):e.column(s.to):e.baseIndent+(l?0:e.unit*n)}function eK({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}let eJ=u.r$.define(),e0=new m;function e1(e){let t=e.firstChild,n=e.lastChild;return t&&t.to<n.from?{from:t.to,to:n.type.isError?e.to:n.from}:null}function e2(e,t,n){for(let r of e.facet(eJ)){let a=r(e,t,n);if(a)return a}return function(e,t,n){let r=eC(e);if(r.length<n)return null;let a=r.resolveStack(n,1),i=null;for(let o=a;o;o=o.next){let a=o.node;if(a.to<=n||a.from>n)continue;if(i&&a.from<t)break;let l=a.type.prop(e0);if(l&&(a.to<r.length-50||r.length==e.doc.length||!function(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}(a))){let r=l(a,e);r&&r.from<=n&&r.from>=t&&r.to>n&&(i=r)}}return i}(e,t,n)}function e4(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}let e8=u.Py.define({map:e4}),e6=u.Py.define({map:e4}),e3=u.QQ.define({create:()=>c.p.none,update(e,t){for(let n of(t.isUserEvent("delete")&&t.changes.iterChangedRanges((t,n)=>e=e5(e,t,n)),e=e.map(t.changes),t.effects))if(n.is(e8)&&!function(e,t,n){let r=!1;return e.between(t,t,(e,a)=>{e==t&&a==n&&(r=!0)}),r}(e,n.value.from,n.value.to)){let{preparePlaceholder:r}=t.state.facet(te),a=r?c.p.replace({widget:new tr(r(t.state,n.value))}):tn;e=e.update({add:[a.range(n.value.from,n.value.to)]})}else n.is(e6)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));return t.selection&&(e=e5(e,t.selection.main.head)),e},provide:e=>c.tk.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n<e.length;){let r=e[n++],a=e[n++];if("number"!=typeof r||"number"!=typeof a)throw RangeError("Invalid JSON for fold state");t.push(tn.range(r,a))}return c.p.set(t,!0)}});function e5(e,t,n=t){let r=!1;return e.between(t,n,(e,a)=>{e<n&&a>t&&(r=!0)}),r?e.update({filterFrom:t,filterTo:n,filter:(e,r)=>e>=n||r<=t}):e}function e7(e,t,n){var r;let a=null;return null===(r=e.field(e3,!1))||void 0===r||r.between(t,n,(e,t)=>{(!a||a.from>e)&&(a={from:e,to:t})}),a}let e9={placeholderDOM:null,preparePlaceholder:null,placeholderText:"â¦"},te=u.r$.define({combine:e=>(0,u.BO)(e,e9)});function tt(e,t){let{state:n}=e,r=n.facet(te),a=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),r=e7(e.state,n.from,n.to);r&&e.dispatch({effects:e6.of(r)}),t.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,a,t);let i=document.createElement("span");return i.textContent=r.placeholderText,i.setAttribute("aria-label",n.phrase("folded code")),i.title=n.phrase("unfold"),i.className="cm-foldPlaceholder",i.onclick=a,i}let tn=c.p.replace({widget:new class extends c.l9{toDOM(e){return tt(e,null)}}});class tr extends c.l9{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return tt(e,this.value)}}let ta={openText:"â",closedText:"âº",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class ti extends c.SJ{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 to(e={}){let t,n={...ta,...e},r=new ti(n,!0),a=new ti(n,!1),i=c.lg.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(eL)!=e.state.facet(eL)||e.startState.field(e3,!1)!=e.state.field(e3,!1)||eC(e.startState)!=eC(e.state)||n.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new u.f_;for(let n of e.viewportLineBlocks){let i=e7(e.state,n.from,n.to)?a:e2(e.state,n.from,n.to)?r:null;i&&t.add(n.from,n.from,i)}return t.finish()}}),{domEventHandlers:o}=n;return[i,(0,c.v5)({class:"cm-foldGutter",markers(e){var t;return(null===(t=e.plugin(i))||void 0===t?void 0:t.markers)||u.Xs.empty},initialSpacer:()=>new ti(n,!1),domEventHandlers:{...o,click:(e,t,n)=>{if(o.click&&o.click(e,t,n))return!0;let r=e7(e.state,t.from,t.to);if(r)return e.dispatch({effects:e6.of(r)}),!0;let a=e2(e.state,t.from,t.to);return!!a&&(e.dispatch({effects:e8.of(a)}),!0)}}}),[e3,tl]]}let tl=c.tk.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 ts{constructor(e,t){let n;function r(e){let t=ex.V.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;let a="string"==typeof t.all?t.all:t.all?r(t.all):void 0,i=t.scope;this.scope=i instanceof eA?e=>e.prop(eS)==i.data:i?e=>e==i:void 0,this.style=ei(e.map(e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{tag:null}))})),{all:a}).style,this.module=n?new ex.V(n):null,this.themeType=t.themeType}static define(e,t){return new ts(e,t||{})}}let tu=u.r$.define(),tc=u.r$.define({combine:e=>e.length?[e[0]]:null});function td(e){let t=e.facet(tu);return t.length?t:e.facet(tc)}function tp(e,t){let n=[tf],r;return e instanceof ts&&(e.module&&n.push(c.tk.styleModule.of(e.module)),r=e.themeType),
186(null==t?void 0:t.fallback)?n.push(tc.of(e)):r?n.push(tu.computeN([c.tk.darkTheme],t=>t.facet(c.tk.darkTheme)==("dark"==r)?[e]:[])):n.push(tu.of(e)),n}class tm{constructor(e){this.markCache=Object.create(null),this.tree=eC(e.state),this.decorations=this.buildDeco(e,td(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=eC(e.state),n=td(e.state),r=n!=td(e.startState),{viewport:a}=e.view,i=e.changes.mapPos(this.decoratedTo,1);t.length<a.to&&!r&&t.type==this.tree.type&&i>=a.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=i):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=a.to)}buildDeco(e,t){if(!t||!this.tree.length)return c.p.none;let n=new u.f_;for(let{from:r,to:a}of e.visibleRanges)!function(e,t,n,r=0,a=e.length){let i=new eo(r,Array.isArray(t)?t:[t],n);i.highlightRange(e.cursor(),r,a,"",i.highlighters),i.flush(a)}(this.tree,t,(e,t,r)=>{n.add(e,t,this.markCache[r]||(this.markCache[r]=c.p.mark({class:r})))},r,a);return n.finish()}}let tf=u.Wl.high(c.lg.fromClass(tm,{decorations:e=>e.decorations})),th=ts.define([{tag:ek.meta,color:"#404740"},{tag:ek.link,textDecoration:"underline"},{tag:ek.heading,textDecoration:"underline",fontWeight:"bold"},{tag:ek.emphasis,fontStyle:"italic"},{tag:ek.strong,fontWeight:"bold"},{tag:ek.strikethrough,textDecoration:"line-through"},{tag:ek.keyword,color:"#708"},{tag:[ek.atom,ek.bool,ek.url,ek.contentSeparator,ek.labelName],color:"#219"},{tag:[ek.literal,ek.inserted],color:"#164"},{tag:[ek.string,ek.deleted],color:"#a11"},{tag:[ek.regexp,ek.escape,ek.special(ek.string)],color:"#e40"},{tag:ek.definition(ek.variableName),color:"#00f"},{tag:ek.local(ek.variableName),color:"#30a"},{tag:[ek.typeName,ek.namespace],color:"#085"},{tag:ek.className,color:"#167"},{tag:[ek.special(ek.variableName),ek.macroName],color:"#256"},{tag:ek.definition(ek.propertyName),color:"#00c"},{tag:ek.comment,color:"#940"},{tag:ek.invalid,color:"#f00"}]),tg=c.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),tv="()[]{}",ty=u.r$.define({combine:e=>(0,u.BO)(e,{afterCursor:!0,brackets:tv,maxScanDistance:1e4,renderMatch:tw})}),tb=c.p.mark({class:"cm-matchingBracket"}),tO=c.p.mark({class:"cm-nonmatchingBracket"});function tw(e){let t=[],n=e.matched?tb:tO;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}function tk(e){let t=[],n=e.facet(ty);for(let r of e.selection.ranges){if(!r.empty)continue;let a=tT(e,r.head,-1,n)||r.head>0&&tT(e,r.head-1,1,n)||n.afterCursor&&(tT(e,r.head,1,n)||r.head<e.doc.length&&tT(e,r.head+1,-1,n));a&&(t=t.concat(n.renderMatch(a,e)))}return c.p.set(t,!0)}let tx=[c.lg.fromClass(class{constructor(e){this.paused=!1,this.decorations=tk(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=tk(e.state),this.paused=!1))}},{decorations:e=>e.decorations}),tg];function tS(e={}){return[ty.of(e),tx]}let t_=new m;function tE(e,t,n){let r=e.prop(t<0?m.openedBy:m.closedBy);if(r)return r;if(1==e.name.length){let r=n.indexOf(e.name);if(r>-1&&r%2==(t<0?1:0))return[n[r+t]]}return null}function tA(e){let t=e.type.prop(t_);return t?t(e.node):e}function tT(e,t,n,r={}){let a=r.maxScanDistance||1e4,i=r.brackets||tv,o=eC(e),l=o.resolveInner(t,n);for(let e=l;e;e=e.parent){let r=tE(e.type,n,i);if(r&&e.from<e.to){let a=tA(e);if(a&&(n>0?t>=a.from&&t<a.to:t>a.from&&t<=a.to))return function(e,t,n,r,a,i,o){let l=r.parent,s={from:a.from,to:a.to},u=0,c=null==l?void 0:l.cursor();if(c&&(n<0?c.childBefore(r.from):c.childAfter(r.to)))do if(n<0?c.to<=r.from:c.from>=r.to){if(0==u&&i.indexOf(c.type.name)>-1&&c.from<c.to){let e=tA(c);return{start:s,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}if(tE(c.type,n,o))u++;else if(tE(c.type,-n,o)){if(0==u){let e=tA(c);return{start:s,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}u--}}while(n<0?c.prevSibling():c.nextSibling());return{start:s,matched:!1}}(0,0,n,e,a,r,i)}}return function(e,t,n,r,a,i,o){if(n<0?!t:t==e.doc.length)return null;let l=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),s=o.indexOf(l);if(s<0||s%2==0!=n>0)return null;let u={from:n<0?t-1:t,to:n>0?t+1:t},c=e.doc.iterRange(t,n>0?e.doc.length:0),d=0;for(let e=0;!c.next().done&&e<=i;){let i=c.value;n<0&&(e+=i.length);let l=t+e*n;for(let e=n>0?0:i.length-1,t=n>0?i.length:-1;e!=t;
186e+=n){let t=o.indexOf(i[e]);if(!(t<0)&&r.resolveInner(l+e,1).type==a){if(t%2==0==n>0)d++;else{if(1==d)return{start:u,end:{from:l+e,to:l+e+1},matched:t>>1==s>>1};d--}}}n>0&&(e+=i.length)}return c.done?{start:u,matched:!1}:null}(e,t,n,o,l.type,a,i)}let tD=Object.create(null),tC=[g.none],t$=[],tP=Object.create(null),tI=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"]])tI[e]=function(e,t){let n=[];for(let r of t.split(" ")){let t=[];for(let n of r.split(".")){let r=e[n]||ek[n];r?"function"==typeof r?t.length?t=t.map(r):tN(n,`Modifier ${n} used at start of tag`):t.length?tN(n,`Tag ${n} used as modifier`):t=Array.isArray(r)?r:[r]:tN(n,`Unknown highlighting tag ${n}`)}for(let e of t)n.push(e)}if(!n.length)return 0;let r=t.replace(/ /g,"_"),a=r+" "+n.map(e=>e.id),i=tP[a];if(i)return i.id;let o=tP[a]=g.define({id:tC.length,name:r,props:[en({[r]:n})]});return tC.push(o),o.id}(tD,t);function tN(e,t){t$.indexOf(e)>-1||(t$.push(e),console.warn(t))}c.Nm.RTL,c.Nm.LTR;let tU=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"],["
186white","#ffffff"],["whitesmoke","#f5f5f5"],["yellow","#ffff00"],["yellowgreen","#9acd32"]]);var tM=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let tR=new WeakMap;var tj=((o=tj||(tj={})).rgb="RGB",o.hex="HEX",o.named="NAMED",o.hsl="HSL",o);let tL=/rgb(?:a)?\(\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*([,/]\s*0?\.?\d+%?)?\)/,tZ=/hsl\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(,\s*0?\.\d+)?\)/,tB=/(^|\b)(#[0-9a-f]{3,9})(\b|$)/i;function tz(e,t){let n=[],r=eC(e.state);for(let a of e.visibleRanges)r.iterate({from:a.from,to:a.to,enter:({type:a,from:i,to:o})=>{var l;let s=t(r,i,o,a.name,e.state.doc,null===(l=e.state.facet(eL))||void 0===l?void 0:l.name);if(s){if(!Array.isArray(s)){n.push(c.p.widget({widget:new tX(s),side:1}).range(s.from));return}for(let e of s)n.push(c.p.widget({widget:new tX(e),side:1}).range(e.from))}}});return c.p.set(n)}function tF(e){return tQ(e.endsWith("%")?Math.round(Number(e.slice(0,-1))/100*255):Number(e))}function tQ(e){let t=e.toString(16);return 1===t.length?"0"+t:t}function tH(e){let t=e.slice(1,3),n=e.slice(3,5),r=e.slice(5,7);return[parseInt(t,16),parseInt(n,16),parseInt(r,16)]}function tq(e){return e<0?e+1:e>1?e-1:e}function tV(e,t,n){return 6*n<1?t+(e-t)*6*n:2*n<1?e:3*n<2?t+(e-t)*(.666-n)*6:t}let tW="cm-css-color-picker-wrapper";class tX extends c.l9{constructor(e){var{color:t}=e,n=tM(e,["color"]);super(),this.state=n,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");tR.set(e,this.state),e.type="color",e.value=this.color;let t=document.createElement("span");return t.appendChild(e),t.className=tW,t}ignoreEvent(){return!1}}let tY=c.tk.baseTheme({[`.${tW}`]:{display:"inline-block",outline:"1px solid #eee",marginRight:"0.6ch",height:"1em",width:"1em",transform:"translateY(1px)"},[`.${tW}
186 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"}}}),tG=[(r={discoverColors:function e(t,n,r,a,i,o){var l;switch(a){case"AttributeValue":{let r=t.resolveInner(n,0).tree;if(!r)return null;let a=null===(l=r.prop(m.mounted))||void 0===l?void 0:l.tree;if((null==a?void 0:a.type.name)!=="Styles")return null;let o=[];return a.iterate({from:0,to:a.length,enter:({type:r,from:a,to:l})=>{let s=e(t,n+1+a,n+1+l,r.name,i);if(s){if(Array.isArray(s))throw Error("Unexpected nested overlays");o.push(s)}}}),o}case"CallExpression":{let e=function(e){switch(e.slice(0,3)){case"rgb":{let t=tL.exec(e);if(!t)return null;let[n,r,a,i,o]=t,l=`#${tF(r)}${tF(a)}${tF(i)}`;return{colorType:tj.rgb,color:l,alpha:o||""}}case"hsl":{let t=tZ.exec(e);if(!t)return null;let[n,r,a,i,o]=t,l=function(e,t,n){let r=Number(t)/100,a=Number(n)/100,[i,o,l]=function(e,t,n){let r;if(0===t){let e=Math.round(255*n);return[e,e,e]}r=n<.5?n*(1+t):n+t-n*t;let a=2*n-r,i=tq((e/=360)+.333),o=e,l=tq(e-.333);return[Math.round(255*tV(r,a,i)),Math.round(255*tV(r,a,o)),Math.round(255*tV(r,a,l))]}(Number(e),r,a);return`#${tQ(i)}${tQ(o)}${tQ(l)}`}(r,a,i);return{colorType:tj.hsl,color:l,alpha:o||""}}default:return null}}(i.sliceString(n,r));if(!e)return null;return Object.assign(Object.assign({},e),{from:n,to:r})}case"ColorLiteral":{let e=function(e){if(!tB.exec(e))return null;let[t,n]=4===e.length?[`#${e[1].repeat(2)}${e[2].repeat(2)}${e[3].repeat(2)}`,""]:5===e.length?[`#${e[1].repeat(2)}${e[2].repeat(2)}${e[3].repeat(2)}`,e[4].repeat(2)]:9===e.length?[`#${e.slice(1,-2)}`,e.slice(-2)]:[e,""];return{colorType:tj.hex,color:t,alpha:n}}(i.sliceString(n,r));if(!e)return null;return Object.assign(Object.assign({},e),{from:n,to:r})}case"ValueName":{let e=function(e){let t=tU.get(e);return t?{colorType:tj.named,color:t,alpha:""}:null}(i.sliceString(n,r));if(!e)return null;return Object.assign(Object.assign({},e),{from:n,to:r})}default:return null}}},c.lg.fromClass(class{constructor(e){this.decorations=tz(e,r.discoverColors)}update(e){(e.docChanged||e.viewportChanged)&&(this.decorations=tz(e.view,r.discoverColors))}},{decorations:e=>e.decorations,eventHandlers:{change:(e,t)=>
186{let n=e.target;if("INPUT"!==n.nodeName||!n.parentElement||!n.parentElement.classList.contains(tW))return!1;let r=tR.get(n),a=n.value+r.alpha;if(r.colorType===tj.rgb)a=`rgb(${tH(n.value).join(", ")}${r.alpha})`;else if(r.colorType===tj.named)for(let[e,t]of tU.entries())t===n.value&&(a=e);else if(r.colorType===tj.hsl){let[e,t,i]=tH(n.value),[o,l,s]=function(e,t,n){let r,a;let i=e/255,o=t/255,l=n/255,s=Math.min(i,o,l),u=Math.max(i,o,l),c=(u+s)/2;if(u===s)return[0,0,c];for(r=c<=.5?(u-s)/(u+s):(u-s)/(2-u-s),a=Math.round(60*(a=u===i?(o-l)/(u-s):o===u?2+(l-i)/(u-s):4+(i-o)/(u-s)));a<0;)a+=360;return[a,r,c]}(e,t,i);a=`hsl(${o}, ${Math.round(100*l)}%, ${Math.round(100*s)}%${r.alpha})`}return t.dispatch({changes:{from:r.from,to:r.to,insert:a}}),!0}}})),tY];class tK{constructor(e,t,n,r){this.state=e,this.pos=t,this.explicit=n,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=eC(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),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),a=r.search(t4(e,!1));return a<0?null:{from:n+a,to:this.pos,text:r.slice(a)}}get aborted(){return null==this.abortListeners}addEventListener(e,t,n){"abort"==e&&this.abortListeners&&(this.abortListeners.push(t),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function tJ(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function t0(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[n,r]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),n=Object.create(null);for(let{label:r}of e){t[r[0]]=!0;for(let e=1;e<r.length;e++)n[r[e]]=!0}let r=tJ(t)+tJ(n)+"*$";return[RegExp("^"+r),new RegExp(r)]}(t);return e=>{let a=e.matchBefore(r);return a||e.explicit?{from:a?a.from:e.pos,options:t,validFor:n}:null}}class t1{constructor(e,t,n,r){this.completion=e,this.source=t,this.match=n,this.score=r}}function t2(e){return e.selection.main.from}function t4(e,t){var n;let{source:r}=e,a=t&&"^"!=r[0],i="$"!=r[r.length-1];return a||i?RegExp(`${a?"^":""}(?:${r})${i?"$":""}`,null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e}let t8=u.q6.define(),t6=new WeakMap;function t3(e){if(!Array.isArray(e))return e;let t=t6.get(e);return t||t6.set(e,t=t0(e)),t}let t5=u.Py.define(),t7=u.Py.define();class t9{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 n=(0,u.gm)(e,t),r=(0,u.nZ)(n);this.chars.push(n);let a=e.slice(t,t+r),i=a.toUpperCase();this.folded.push((0,u.gm)(i==a?a.toLowerCase():i,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:n,any:r,precise:a,byWord:i}=this;if(1==t.length){let r=(0,u.gm)(e,0),a=(0,u.nZ)(r),i=a==e.length?0:-100;if(r==t[0]);else{if(r!=n[0])return null;i+=-200}return this.ret(i,[0,a])}let o=e.indexOf(this.pattern);if(0==o)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let l=t.length,s=0;if(o<0){for(let a=0,i=Math.min(e.length,200);a<i&&s<l;){let i=(0,u.gm)(e,a);(i==t[s]||i==n[s])&&(r[s++]=a),a+=(0,u.nZ)(i)}if(s<l)return null}let c=0,d=0,p=!1,m=0,f=-1,h=-1,g=/[a-z]/.test(e),v=!0;for(let r=0,s=Math.min(e.length,200),y=0;r<s&&d<l;){let s=(0,u.gm)(e,r);o<0&&(c<l&&s==t[c]&&(a[c++]=r),m<l&&(s==t[m]||s==n[m]?(0==m&&(f=r),h=r+1,m++):m=0));let b,O=s<255?s>=48&&s<=57||s>=97&&s<=122?2:s>=65&&s<=90?1:0:(b=(0,u.bg)(s))!=b.toLowerCase()?1:b!=b.toUpperCase()?2:0;(!r||1==O&&g||0==y&&0!=O)&&(t[d]==s||n[d]==s&&(p=!0)?i[d++]=r:i.length&&(v=!1)),y=O,r+=(0,u.nZ)(s)}return d==l&&0==i[0]&&v?this.result(-100+(p?-200:0),i,e):m==l&&0==f?this.ret(-200-e.length+(h==e.length?0:-100),[0,h]):o>-1?this.ret(-700-e.length,[o,o+this.pattern.length]):m==l?this.ret(-900-e.length,[f,h]):d==l?this.result(-100+(p?-2
18600:0)+-700+(v?0:-1100),i,e):2==t.length?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,n){let r=[],a=0;for(let e of t){let t=e+(this.astral?(0,u.nZ)((0,u.gm)(n,e)):1);a&&r[a-1]==e?r[a-1]=t:(r[a++]=e,r[a++]=t)}return this.ret(e-n.length,r)}}class ne{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),n=t==this.pattern?0:t.toLowerCase()==this.folded?-200:null;return null==n?null:(this.matched=[0,t.length],this.score=n+(e.length==this.pattern.length?0:-100),this)}}let nt=u.r$.define({combine:e=>(0,u.BO)(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:nr,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)=>n=>nn(e(n),t(n)),optionClass:(e,t)=>n=>nn(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})});function nn(e,t){return e?t?e+" "+t:e:t}function nr(e,t,n,r,a,i){let o=e.textDirection==c.Nm.RTL,l=o,s=!1,u="top",d,p,m=t.left-a.left,f=a.right-t.right,h=r.right-r.left,g=r.bottom-r.top;if(l&&m<Math.min(h,f)?l=!1:!l&&f<Math.min(h,m)&&(l=!0),h<=(l?m:f))d=Math.max(a.top,Math.min(n.top,a.bottom-g))-t.top,p=Math.min(400,l?m:f);else{s=!0,p=Math.min(400,(o?t.right:a.right-t.left)-30);let e=a.bottom-t.bottom;e>=g||e>t.top?d=n.bottom-t.top:(u="bottom",d=t.bottom-n.top)}let v=(t.bottom-t.top)/i.offsetHeight,y=(t.right-t.left)/i.offsetWidth;return{style:`${u}: ${d/v}px; max-width: ${p/y}px`,class:"cm-completionInfo-"+(s?o?"left-narrow":"right-narrow":l?"left":"right")}}let na=u.Py.define();function ni(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/n);return{from:e*n,to:(e+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}class no{constructor(e,t,n){let r;this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this},this.space=null,this.currentClass="";let a=e.state.field(t),{options:i,selected:o}=a.open,l=e.state.facet(nt);this.optionContent=(r=l.addToOptions.slice(),l.icons&&r.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}),r.push({render(e,t,n,r){let a=document.createElement("span");a.className="cm-completionLabel";let i=e.displayLabel||e.label,o=0;for(let e=0;e<r.length;){let t=r[e++],n=r[e++];t>o&&a.appendChild(document.createTextNode(i.slice(o,t)));let l=a.appendChild(document.createElement("span"));l.appendChild(document.createTextNode(i.slice(t,n))),l.className="cm-completionMatchedText",o=n}return o<i.length&&a.appendChild(document.createTextNode(i.slice(o))),a},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}),r.sort((e,t)=>e.position-t.position).map(e=>e.render)),this.optionClass=l.optionClass,this.tooltipClass=l.tooltipClass,this.range=ni(i.length,o,l.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",n=>{let{options:r}=e.state.field(t).open;for(let t=n.target,a;t&&t!=this.dom;t=t.parentNode)if("LI"==t.nodeName&&(a=/-(\d+)$/.exec(t.id))&&+a[1]<r.length){this.applyCompletion(e,r[+a[1]]),n.preventDefault();return}if(n.target==this.list){let t=this.list.classList.contains("cm-completionListIncompleteTop")&&n.clientY<this.list.firstChild.getBoundingClientRect().top?this.range.from-1:this.list.classList.contains("cm-completionListIncompleteBottom")&&n.clientY>this.list.lastChild.getBoundingClientRect().bottom?this.range.to:null;
186null!=t&&(e.dispatch({effects:na.of(t)}),n.preventDefault())}}),this.dom.addEventListener("focusout",t=>{let n=e.state.field(this.stateField,!1);n&&n.tooltip&&e.state.facet(nt).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:t7.of(null)})}),this.showOptions(i,a.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 n=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=r){let{options:a,selected:i,disabled:o}=n.open;r.open&&r.open.options==a||(this.range=ni(a.length,i,e.state.facet(nt).maxRenderedOptions),this.showOptions(a,n.id)),this.updateSel(),o!=(null===(t=r.open)||void 0===t?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!o)}}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=ni(t.options.length,t.selected,this.view.state.facet(nt).maxRenderedOptions),this.showOptions(t.options,e.id));let n=this.updateSelectedOption(t.selected);if(n){this.destroyInfo();
186let{completion:r}=t.options[t.selected],{info:a}=r;if(!a)return;let i="string"==typeof a?document.createTextNode(a):a(r);if(!i)return;"then"in i?i.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,r)}).catch(e=>(0,c.OO)(this.view.state,e,"completion info")):(this.addInfoPane(i,r),n.setAttribute("aria-describedby",this.info.id))}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",n.id="cm-completionInfo-"+Math.floor(65535*Math.random()).toString(16),null!=e.nodeType)n.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:r}=e;n.appendChild(t),this.infoDestroy=r||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){var t,n;let r,a,i,o=null;for(let t=this.list.firstChild,n=this.range.from;t;t=t.nextSibling,n++)"LI"==t.nodeName&&t.id?n==e?t.hasAttribute("aria-selected")||(t.setAttribute("aria-selected","true"),o=t):t.hasAttribute("aria-selected")&&(t.removeAttribute("aria-selected"),t.removeAttribute("aria-describedby")):n--;return o&&(t=this.list,n=o,r=t.getBoundingClientRect(),a=n.getBoundingClientRect(),i=r.height/t.offsetHeight,a.top<r.top?t.scrollTop-=(r.top-a.top)/i:a.bottom>r.bottom&&(t.scrollTop+=(a.bottom-r.bottom)/i)),o}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),a=this.space;if(!a){let e=this.dom.ownerDocument.documentElement;a={left:0,top:0,right:e.clientWidth,bottom:e.clientHeight}}return r.top>Math.min(a.bottom,t.bottom)-10||r.bottom<Math.max(a.top,t.top)+10?null:this.view.state.facet(nt).positionInfo(this.view,t,r,n,a,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,n){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 a=null;for(let i=n.from;i<n.to;i++){let{completion:o,match:l}=e[i],{section:s}=o;if(s){let e="string"==typeof s?s:s.name;e!=a&&(i>n.from||0==n.from)&&(a=e,"string"!=typeof s&&s.header?r.appendChild(s.header(s)):r.appendChild(document.createElement("completion-section")).textContent=e)}let u=r.appendChild(document.createElement("li"));u.id=t+"-"+i,u.setAttribute("role","option");let c=this.optionClass(o);for(let e of(c&&(u.className=c),this.optionContent)){let t=e(o,this.view.state,this.view,l);t&&u.appendChild(t)}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.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 nl(e){return 100*(e.boost||0)+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}class ns{constructor(e,t,n,r,a,i){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=r,this.selected=a,this.disabled=i}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new ns(this.options,np(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,r,a,i){if(r&&!i&&e.some(e=>e.isPending))return r.setDisabled();let o=function(e,t){let n=[],r=null,a=null,i=e=>{n.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)}},o=t.facet(nt);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)i(new t1(t,r.source,e?e(t):[],1e9-n.length));else{let n=t.sliceDoc(r.from,r.to),l,s=o.filterStrict?new ne(n):new t9(n);for(let t of r.result.options)if(l=s.match(t.label)){let n=t.displayLabel?e?e(t,l.matched):[]:l.matched,o=l.score+(t.boost||0);if(i(new t1(t,r.source,n,o)),"object"==typeof t.section&&"dynamic"===t.section.rank){let{name:e}=t.section;a||(a=Object.create(null)),a[e]=Math.max(o,a[e]||-1e9)}}}}if(r){let e=Object.create(null),t=0;for(let n of r.sort((e,t)=>
186("dynamic"===e.rank&&"dynamic"===t.rank?a[t.name]-a[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[n.name]=t;for(let t of n){let{section:n}=t.completion;n&&(t.score+=e["string"==typeof n?n:n.name])}}let l=[],s=null,u=o.compareCompletions;for(let e of n.sort((e,t)=>t.score-e.score||u(e.completion,t.completion))){let t=e.completion;s&&s.label==t.label&&s.detail==t.detail&&(null==s.type||null==t.type||s.type==t.type)&&s.apply==t.apply&&s.boost==t.boost?nl(e.completion)>nl(s)&&(l[l.length-1]=e):l.push(e),s=e.completion}return l}(e,t);if(!o.length)return r&&e.some(e=>e.isPending)?r.setDisabled():null;let l=t.facet(nt).selectOnOpen?0:-1;if(r&&r.selected!=l&&-1!=r.selected){let e=r.options[r.selected].completion;for(let t=0;t<o.length;t++)if(o[t].completion==e){l=t;break}}return new ns(o,np(n,l),{pos:e.reduce((e,t)=>t.hasResult()?Math.min(e,t.from):e,1e8),create:nO,above:a.aboveCursor},r?r.timestamp:Date.now(),l,!1)}map(e){return new ns(this.options,this.attrs,{...this.tooltip,pos:e.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new ns(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class nu{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new nu(nm,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(nt),r=(n.override||t.languageDataAt("autocomplete",t2(t)).map(t3)).map(t=>(this.active.find(e=>e.source==t)||new nh(t,this.active.some(e=>0!=e.state)?1:0)).update(e,n));r.length==this.active.length&&r.every((e,t)=>e==this.active[t])&&(r=this.active);let a=this.open,i=e.effects.some(e=>e.is(nv));for(let o of(a&&e.docChanged&&(a=a.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 n=0,r=0;;){for(;n<e.length&&!e[n].hasResult();)n++;for(;r<t.length&&!t[r].hasResult();)r++;let a=n==e.length,i=r==t.length;if(a||i)return a==i;if(e[n++].result!=t[r++].result)return!1}}(r,this.active)||i?a=ns.build(r,t,this.id,a,n,i):a&&a.disabled&&!r.some(e=>e.isPending)&&(a=null),!a&&r.every(e=>!e.isPending)&&r.some(e=>e.hasResult())&&(r=r.map(e=>e.hasResult()?new nh(e.source,0):e)),e.effects))o.is(na)&&(a=a&&a.setSelected(o.value,this.id));return r==this.active&&a==this.open?this:new nu(r,this.id,a)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?nc:nd}}let nc={"aria-autocomplete":"list"},nd={};function np(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}let nm=[];function nf(e,t){if(e.isUserEvent("input.complete")){let n=e.annotation(t8);if(n&&t.activateOnCompletion(n))return 12}let n=e.isUserEvent("input.type");return n&&t.activateOnTyping?5:n?1:e.isUserEvent("delete.backward")?2:e.selection?8:e.docChanged?16:0}class nh{constructor(e,t,n=!1){this.source=e,this.state=t,this.explicit=n}hasResult(){return!1}get isPending(){return 1==this.state}update(e,t){let n=nf(e,t),r=this;for(let t of((8&n||16&n&&this.touches(e))&&(r=new nh(r.source,0)),4&n&&0==r.state&&(r=new nh(this.source,1)),r=r.updateFor(e,n),e.effects))if(t.is(t5))r=new nh(r.source,1,t.value);else if(t.is(t7))r=new nh(r.source,0);else if(t.is(nv))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(t2(e.state))}}class ng extends nh{constructor(e,t,n,r,a,i){super(e,3,t),this.limit=n,this.result=r,this.from=a,this.to=i}hasResult(){return!0}updateFor(e,t){var n;if(!(3&t))return this.map(e.changes);let r=this.result;r.map&&!e.changes.empty&&(r=r.map(r,e.changes));let a=e.changes.mapPos(this.from),i=e.changes.mapPos(this.to,1),o=t2(e.state);if(o>i||!r||2&t&&(t2(e.startState)==this.from||o<this.limit))return new nh(this.source,4&t?1:0);let l=e.changes.mapPos(this.limit);return!function(e,t,n,r){if(!e)return!1;let a=t.sliceDoc(n,r);return"function"==typeof e?e(a,n,r,t):t4(e,!0).test(a)}(r.validFor,e.state,a,i)?r.update&&(r=r.update(r,a,i,new tK(e.state,o,!1)))?new ng(this.source,this.explicit,l,r,r.from,null!==(n=r.to)&&void 0!==n?n:t2(e.state)):new nh(this.source,1,this.explicit):new ng(this.source,this.explicit,l,r,a,i)}map(e){return e.empty?this:(this.result.map?this.result.map(this.result,e):this.result)?new ng(this.source,this.explicit,e.mapPos(this.limit),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new nh(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}}let nv=u.Py.define({map:(e,t)=>e.map(e=>e.map(t))}),ny=u.QQ.define({create:()=>nu.start(),update:(e,t)=>
186e.update(t),provide:e=>[c.hJ.from(e,e=>e.tooltip),c.tk.contentAttributes.from(e,e=>e.attrs)]});function nb(e,t){let n=t.completion.apply||t.completion.label,r=e.state.field(ny).active.find(e=>e.source==t.source);return r instanceof ng&&("string"==typeof n?e.dispatch({...function(e,t,n,r){let{main:a}=e.selection,i=n-a.from,o=r-a.from;return{...e.changeByRange(l=>{if(l!=a&&n!=r&&e.sliceDoc(l.from+i,l.from+o)!=e.sliceDoc(n,r))return{range:l};let s=e.toText(t);return{changes:{from:l.from+i,to:r==a.from?l.to:l.from+o,insert:s},range:u.jT.cursor(l.from+i+s.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}(e.state,n,r.from,r.to),annotations:t8.of(t.completion)}):n(e,t.completion,r.from,r.to),!0)}let nO=e=>new no(e,ny,nb);function nw(e,t="option"){return n=>{let r=n.state.field(ny,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(nt).interactionDelay)return!1;let a=1,i;"page"==t&&(i=(0,c.gB)(n,r.open.tooltip))&&(a=Math.max(2,Math.floor(i.dom.offsetHeight/i.dom.querySelector("li").offsetHeight)-1));let{length:o}=r.open.options,l=r.open.selected>-1?r.open.selected+a*(e?1:-1):e?0:o-1;return l<0?l="page"==t?0:o-1:l>=o&&(l="page"==t?o-1:0),n.dispatch({effects:na.of(l)}),!0}}let nk=e=>!!e.state.field(ny,!1)&&(e.dispatch({effects:t5.of(!0)}),!0);class nx{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}let nS=c.lg.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(ny).active))t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(ny),n=e.state.facet(nt);if(!e.selectionSet&&!e.docChanged&&e.startState.field(ny)==t)return;let r=e.transactions.some(e=>{let t=nf(e,n);return 8&t||(e.selection||e.docChanged)&&!(3&t)});for(let t=0;t<this.running.length;t++){let n=this.running[t];if(r||n.context.abortOnDocChange&&e.docChanged||n.updates.length+e.transactions.length>50&&Date.now()-n.time>1e3){for(let e of n.context.abortListeners)try{e()}catch(e){(0,c.OO)(this.view.state,e)}n.context.abortListeners=null,this.running.splice(t--,1)}else n.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(e=>e.effects.some(e=>e.is(t5)))&&(this.pendingStart=!0);let a=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(e=>e.isPending&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),a):-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(ny);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(nt).updateSyncTime))}startQuery(e){let{state:t}=this.view,n=t2(t),r=new tK(t,n,e.explicit,this.view),a=new nx(e,r);this.running.push(a),Promise.resolve(e.source(r)).then(e=>{a.context.aborted||(a.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:t7.of(null)}),(0,c.OO)(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(nt).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(nt),r=this.view.state.field(ny);for(let a=0;a<this.running.length;a++){let i=this.running[a];if(void 0===i.done)continue;if(this.running.splice(a--,1),i.done){let r=t2(i.updates.length?i.updates[0].startState:this.view.state),a=Math.min(r,i.done.from+(i.active.explicit?0:1)),o=new ng(i.active.source,i.active.explicit,a,i.done,i.done.from,null!==(e=i.done.to)&&void 0!==e?e:r);for(let e of i.updates)o=o.update(e,n);if(o.hasResult()){t.push(o);continue}}let o=r.active.find(e=>e.source==i.active.source);if(o&&o.isPending){if(null==i.done){let e=new nh(i.active.source,0);for(let t of i.updates)e=e.update(t,n);e.isPending||t.push(e)}else this.startQuery(o)}}(t.length||r.open&&r.open.disabled)&&this.view.dispatch({effects:nv.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(ny,!1);if(t&&t.tooltip&&this.view.state.facet(nt).closeOnBlur){let n=t.open&&(0,c.gB)(this.view,t.open.tooltip);n&&n.dom.contains(e.relatedTarget)||setTimeout(()=>this.view.dispatch({effects:t7.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:t5.of(!1)}),20),this.composing=0}}}),n_="object"==typeof navigator&&/Win/.test(navigator.platform),nE=u.Wl.highest(c.tk.domEventHandlers({ke
vendor: 3,051 bytes, line 186
186ydown(e,t){let n=t.state.field(ny,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&!(n_&&e.altKey)||e.metaKey)return!1;let r=n.open.options[n.open.selected],a=n.active.find(e=>e.source==r.source),i=r.completion.commitCharacters||a.result.commitCharacters;return i&&i.indexOf(e.key)>-1&&nb(t,r),!1}})),nA=c.tk.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"},".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"}}});
186class nT{constructor(e,t,n,r){this.field=e,this.line=t,this.from=n,this.to=r}}class nD{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,u.gc.TrackDel),n=e.mapPos(this.to,1,u.gc.TrackDel);return null==t||null==n?null:new nD(this.field,t,n)}}class nC{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],r=[t],a=e.doc.lineAt(t),i=/^\s*/.exec(a.text)[0];for(let a of this.lines){if(n.length){let n=i,o=/^\t*/.exec(a)[0].length;for(let t=0;t<o;t++)n+=e.facet(ez);r.push(t+n.length-o),a=n+a.slice(o)}n.push(a),t+=a.length+1}return{text:n,ranges:this.fieldPositions.map(e=>new nD(e.field,r[e.line]+e.from,r[e.line]+e.to))}}static parse(e){let t=[],n=[],r=[],a;for(let i of e.split(/\r\n?|\n/)){for(;a=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(i);){let e=a[1]?+a[1]:null,o=a[2]||a[3]||"",l=-1,s=o.replace(/\\[{}]/g,e=>e[1]);for(let n=0;n<t.length;n++)(null!=e?t[n].seq==e:s&&t[n].name==s)&&(l=n);if(l<0){let n=0;for(;n<t.length&&(null==e||null!=t[n].seq&&t[n].seq<e);)n++;for(let a of(t.splice(n,0,{seq:e,name:s}),l=n,r))a.field>=l&&a.field++}for(let e of r)if(e.line==n.length&&e.from>a.index){let t=a[2]?3+(a[1]||"").length:2;e.from-=t,e.to-=t}r.push(new nT(l,n.length,a.index,a.index+s.length)),i=i.slice(0,a.index)+o+i.slice(a.index+a[0].length)}i=i.replace(/\\([{}])/g,(e,t,a)=>{for(let e of r)e.line==n.length&&e.from>a&&(e.from--,e.to--);return t}),n.push(i)}return new nC(n,r)}}let n$=c.p.widget({widget:new class extends c.l9{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),nP=c.p.mark({class:"cm-snippetField"});class nI{constructor(e,t){this.ranges=e,this.active=t,this.deco=c.p.set(e.map(e=>(e.from==e.to?n$:nP).range(e.from,e.to)),!0)}map(e){let t=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null;t.push(r)}return new nI(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 nN=u.Py.define({map:(e,t)=>e&&e.map(t)}),nU=u.Py.define(),nM=u.QQ.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(nN))return n.value;if(n.is(nU)&&e)return new nI(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>c.tk.decorations.from(e,e=>e?e.deco:c.p.none)});function nR(e,t){return u.jT.create(e.filter(e=>e.field==t).map(e=>u.jT.range(e.from,e.to)))}function nj(e){return({state:t,dispatch:n})=>{let r=t.field(nM,!1);if(!r||e<0&&0==r.active)return!1;let a=r.active+e,i=e>0&&!r.ranges.some(t=>t.field==a+e);return n(t.update({selection:nR(r.ranges,a),effects:nN.of(i?null:new nI(r.ranges,a)),scrollIntoView:!0})),!0}}let nL=[{key:"Tab",run:nj(1),shift:nj(-1)},{key:"Escape",run:({state:e,dispatch:t})=>!!e.field(nM,!1)&&(t(e.update({effects:nN.of(null)})),!0)}],nZ=u.r$.define({combine:e=>e.length?e[0]:nL}),nB=u.Wl.highest(c.$f.compute([nZ],e=>e.facet(nZ)));function nz(e,t){let n;return{...t,apply:(n=nC.parse(e),(e,t,r,a)=>{let{text:i,ranges:o}=n.instantiate(e.state,r),{main:l}=e.state.selection,s={changes:{from:r,to:a==l.from?l.to:a,insert:u.xv.of(i)},scrollIntoView:!0,annotations:t?[t8.of(t),u.YW.userEvent.of("input.complete")]:void 0};if(o.length&&(s.selection=nR(o,0)),o.some(e=>e.field>0)){let t=new nI(o,0),n=s.effects=[nN.of(t)];void 0===e.state.field(nM,!1)&&n.push(u.Py.appendConfig.of([nM,nB,nF,nA]))}e.dispatch(e.state.update(s))})}}let nF=c.tk.domEventHandlers({mousedown(e,t){let n=t.state.field(nM,!1),r;if(!n||null==(r=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let a=n.ranges.find(e=>e.from<=r&&e.to>=r);return!!a&&a.field!=n.active&&(t.dispatch({selection:nR(n.ranges,a.field),effects:nN.of(n.ranges.some(e=>e.field>a.field)?new nI(n.ranges,a.field):null),scrollIntoView:!0}),!0)}}),nQ={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},nH=u.Py.define({map(e,t){let n=t.mapPos(e,-1,u.gc.TrackAfter);return null==n?void 0:n}}),nq=new class extends u.uU{};nq.startSide=1,nq.endSide=-1;let nV=u.QQ.define({create:()=>u.Xs.empty,update(e,t){if(e=e.map(t.changes),t.selection){let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=n.from&&e<=n.to})}
186for(let n of t.effects)n.is(nH)&&(e=e.update({add:[nq.range(n.value,n.value+1)]}));return e}}),nW="()[]{}<>\xab\xbb\xbb\xab[]ï½ï½";function nX(e){for(let t=0;t<nW.length;t+=2)if(nW.charCodeAt(t)==e)return nW.charAt(t+1);return(0,u.bg)(e<128?e:e+1)}function nY(e,t){return e.languageDataAt("closeBrackets",t)[0]||nQ}let nG="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),nK=c.tk.inputHandler.of((e,t,n,r)=>{if((nG?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let a=e.state.selection.main;if(r.length>2||2==r.length&&1==(0,u.nZ)((0,u.gm)(r,0))||t!=a.from||n!=a.to)return!1;let i=function(e,t){let n=nY(e,e.selection.main.head),r=n.brackets||nQ.brackets;for(let a of r){let i=nX((0,u.gm)(a,0));if(t==a)return i==a?function(e,t,n,r){let a=r.stringPrefixes||nQ.stringPrefixes,i=null,o=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:nH.of(r.to+t.length),range:u.jT.range(r.anchor+t.length,r.head+t.length)};let o=r.head,l=n1(e.doc,o),s;if(l==t){if(n2(e,o))return{changes:{insert:t+t,from:o},effects:nH.of(o+t.length),range:u.jT.cursor(o+t.length)};if(n0(e,o)){let r=n&&e.sliceDoc(o,o+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:o,to:o+r.length,insert:r},range:u.jT.cursor(o+r.length)}}}else if(n&&e.sliceDoc(o-2*t.length,o)==t+t&&(s=n4(e,o-2*t.length,a))>-1&&n2(e,s))return{changes:{insert:t+t+t+t,from:o},effects:nH.of(o+t.length),range:u.jT.cursor(o+t.length)};else if(e.charCategorizer(o)(l)!=u.D0.Word&&n4(e,o,a)>-1&&!function(e,t,n,r){let a=eC(e).resolveInner(t,-1),i=r.reduce((e,t)=>Math.max(e,t.length),0);for(let o=0;o<5;o++){let o=e.sliceDoc(a.from,Math.min(a.to,a.from+n.length+i)),l=o.indexOf(n);if(!l||l>-1&&r.indexOf(o.slice(0,l))>-1){let t=a.firstChild;for(;t&&t.from==a.from&&t.to-t.from>n.length+l;){if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}let s=a.to==t&&a.parent;if(!s)break;a=s}return!1}(e,o,t,a))return{changes:{insert:t+t,from:o},effects:nH.of(o+t.length),range:u.jT.cursor(o+t.length)};return{range:i=r}});return i?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}(e,a,r.indexOf(a+a+a)>-1,n):function(e,t,n,r){let a=null,i=e.changeByRange(i=>{if(!i.empty)return{changes:[{insert:t,from:i.from},{insert:n,from:i.to}],effects:nH.of(i.to+t.length),range:u.jT.range(i.anchor+t.length,i.head+t.length)};let o=n1(e.doc,i.head);return!o||/\s/.test(o)||r.indexOf(o)>-1?{changes:{insert:t+n,from:i.head},effects:nH.of(i.head+t.length),range:u.jT.cursor(i.head+t.length)}:{range:a=i}});return a?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}(e,a,i,n.before||nQ.before);if(t==i&&n0(e,e.selection.main.from))return function(e,t,n){let r=null,a=e.changeByRange(t=>t.empty&&n1(e.doc,t.head)==n?{changes:{from:t.head,to:t.head+n.length,insert:n},range:u.jT.cursor(t.head+n.length)}:r={range:t});return r?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}(e,0,i)}return null}(e.state,r);return!!i&&(e.dispatch(i),!0)}),nJ=[{key:"Backspace",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=nY(e,e.selection.main.head).brackets||nQ.brackets,r=null,a=e.changeByRange(t=>{if(t.empty){var a,i;let r;let o=(a=e.doc,i=t.head,r=a.sliceString(i-2,i),(0,u.nZ)((0,u.gm)(r,0))==r.length?r:r.slice(1));for(let r of n)if(r==o&&n1(e.doc,t.head)==nX((0,u.gm)(r,0)))return{changes:{from:t.head-r.length,to:t.head+r.length},range:u.jT.cursor(t.head-r.length)}}return{range:r=t}});return r||t(e.update(a,{scrollIntoView:!0,userEvent:"delete.backward"})),!r}}];function n0(e,t){let n=!1;return e.field(nV).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function n1(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,u.nZ)((0,u.gm)(n,0)))}function n2(e,t){let n=eC(e).resolveInner(t+1);return n.parent&&n.from==t}function n4(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=u.D0.Word)return t;for(let a of n){let n=t-a.length;if(e.sliceDoc(n,t)==a&&r(e.sliceDoc(n-1,n))!=u.D0.Word)return n}return -1}let n8=[{key:"Ctrl-Space",run:nk},{mac:"Alt-`",run:nk},{mac:"Alt-i",run:nk},{key:"Escape",run:e=>{let t=e.state.field(ny,!1);return!!(t&&t.active.some(e=>0!=e.state))&&(e.dispatch({effects:t7.of(null)}),!0)}},{key:"ArrowDown",run:nw(!0)},{key:"ArrowUp",run:nw(!1)},{key:"PageDown",run:nw(!0,"page")},{key:"PageUp",run:nw(!1,"page")},{key:"Enter",run:e=>{let t=e.state.field(ny,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(nt).interactionDelay)&&nb(e,t.open.options[t.open.selected])}}],n6=u.Wl.highest(c.$f.computeN([nt],e=>e.facet(nt).defaultKeymap?[n8]:[])),n3=u.q6.define(),n5=u.q6.define(),n7=u.r$.define(),n9=u.r$.define({combine:e=>(0,u.BO)(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>
186t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}),re=u.QQ.define({create:()=>rm.empty,update(e,t){let n=t.state.facet(n9),r=t.annotation(n3);if(r){let a=ro.fromTransaction(t,r.selection),i=r.side,o=0==i?e.undone:e.done;return o=a?rl(o,o.length,n.minDepth,a):rc(o,t.startState.selection),new rm(0==i?r.rest:o,0==i?o:r.rest)}let a=t.annotation(n5);if(("full"==a||"before"==a)&&(e=e.isolate()),!1===t.annotation(u.YW.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let i=ro.fromTransaction(t),o=t.annotation(u.YW.time),l=t.annotation(u.YW.userEvent);return i?e=e.addChanges(i,o,l,n,t):t.selection&&(e=e.addSelection(t.startState.selection,o,l,n.newGroupDelay)),("full"==a||"after"==a)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new rm(e.done.map(ro.fromJSON),e.undone.map(ro.fromJSON))});function rt(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let a=n.field(re,!1);if(!a)return!1;let i=a.pop(e,n,t);return!!i&&(r(i),!0)}}let rn=rt(0,!1),rr=rt(1,!1),ra=rt(0,!0),ri=rt(1,!0);class ro{constructor(e,t,n,r,a){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,this.selectionsAfter=a}setSelAfter(e){return new ro(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new ro(e.changes&&u.as.fromJSON(e.changes),[],e.mapped&&u.n0.fromJSON(e.mapped),e.startSelection&&u.jT.fromJSON(e.startSelection),e.selectionsAfter.map(u.jT.fromJSON))}static fromTransaction(e,t){let n=ru;for(let t of e.startState.facet(n7)){let r=t(e);r.length&&(n=n.concat(r))}return!n.length&&e.changes.empty?null:new ro(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,ru)}static selection(e){return new ro(void 0,ru,void 0,void 0,e)}}function rl(e,t,n,r){let a=e.slice(t+1>n+20?t-n-1:0,t);return a.push(r),a}function rs(e,t){return e.length?t.length?e.concat(t):e:t}let ru=[];function rc(e,t){if(!e.length)return[ro.selection([t])];{let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-200));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),rl(e,e.length-1,1e9,n.setSelAfter(r)))}}function rd(e,t){if(!e.length)return e;let n=e.length,r=ru;for(;n;){let a=function(e,t,n){let r=rs(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):ru,n);if(!e.changes)return ro.selection(r);let a=e.changes.map(t),i=t.mapDesc(e.changes,!0),o=e.mapped?e.mapped.composeDesc(i):i;return new ro(a,u.Py.mapEffects(e.effects,t),o,e.startSelection.map(i),r)}(e[n-1],t,r);if(a.changes&&!a.changes.empty||a.effects.length){let t=e.slice(0,n);return t[n-1]=a,t}t=a.mapped,n--,r=a.selectionsAfter}return r.length?[ro.selection(r)]:ru}let rp=/^(input\.type|delete)($|\.)/;class rm{constructor(e,t,n=0,r){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new rm(this.done,this.undone):this}addChanges(e,t,n,r,a){var i,o;let l,s,c=this.done,d=c[c.length-1];return new rm(c=d&&d.changes&&!d.changes.empty&&e.changes&&(!n||rp.test(n))&&(!d.selectionsAfter.length&&t-this.prevTime<r.newGroupDelay&&r.joinToEvent(a,(i=d.changes,o=e.changes,l=[],s=!1,i.iterChangedRanges((e,t)=>l.push(e,t)),o.iterChangedRanges((e,t,n,r)=>{for(let e=0;e<l.length;){let t=l[e++],a=l[e++];r>=t&&n<=a&&(s=!0)}}),s))||"input.type.compose"==n)?rl(c,c.length-1,r.minDepth,new ro(e.changes.compose(d.changes),rs(u.Py.mapEffects(e.effects,d.changes),d.effects),d.mapped,d.startSelection,ru)):rl(c,c.length,r.minDepth,e),ru,t,n)}addSelection(e,t,n,r){var a;let i=this.done.length?this.done[this.done.length-1].selectionsAfter:ru;return i.length>0&&t-this.prevTime<r&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&(a=i[i.length-1]).ranges.length==e.ranges.length&&0===a.ranges.filter((t,n)=>t.empty!=e.ranges[n].empty).length?this:new rm(rc(this.done,e),this.undone,t,n)}addMapping(e){return new rm(rd(this.done,e),rd(this.undone,e),this.prevTime,this.prevUserEvent)}
186pop(e,t,n){let r=0==e?this.done:this.undone;if(0==r.length)return null;let a=r[r.length-1],i=a.selectionsAfter[0]||(a.startSelection?a.startSelection.map(a.changes.invertedDesc,1):t.selection);if(n&&a.selectionsAfter.length){let n,o;return t.update({selection:a.selectionsAfter[a.selectionsAfter.length-1],annotations:n3.of({side:e,rest:(n=r[r.length-1],(o=r.slice())[r.length-1]=n.setSelAfter(n.selectionsAfter.slice(0,n.selectionsAfter.length-1)),o),selection:i}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0})}if(!a.changes)return null;{let n=1==r.length?ru:r.slice(0,r.length-1);return a.mapped&&(n=rd(n,a.mapped)),t.update({changes:a.changes,selection:a.startSelection,effects:a.effects,annotations:n3.of({side:e,rest:n,selection:i}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}}}rm.empty=new rm(ru,ru);let rf=[{key:"Mod-z",run:rn,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:rr,preventDefault:!0},{linux:"Ctrl-Shift-z",run:rr,preventDefault:!0},{key:"Mod-u",run:ra,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:ri,preventDefault:!0}];function rh(e,t){return u.jT.create(e.ranges.map(t),e.mainIndex)}function rg(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}"undefined"!=typeof Intl&&Intl.Segmenter;function rv(e,t,n){if(e instanceof c.tk)for(let r of e.state.facet(c.tk.atomicRanges).map(t=>t(e)))r.between(t,t,(e,r)=>{e<t&&r>t&&(t=n?r:e)});return t}let ry=({state:e,dispatch:t})=>(t(e.update(e.replaceSelection(e.lineBreak),{scrollIntoView:!0,userEvent:"input"})),!0);function rb(e,t){let n=-1;return e.changeByRange(r=>{let a=[];for(let i=r.from;i<=r.to;){let o=e.doc.lineAt(i);o.number>n&&(r.empty||r.to>o.from)&&(t(o,a,r),n=o.number),i=o.to+1}let i=e.changes(a);return{changes:a,range:u.jT.range(i.mapPos(r.anchor,1),i.mapPos(r.head,1))}})}let rO={key:"Tab",run:({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(rb(e,(t,n)=>{n.push({from:t.from,insert:e.facet(ez)})}),{userEvent:"input.indent"})),!0),shift:({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(rb(e,(t,n)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let a=(0,u.IS)(r,e.tabSize),i=0,o=eQ(e,Math.max(0,a-eF(e)));for(;i<r.length&&i<o.length&&r.charCodeAt(i)==o.charCodeAt(i);)i++;n.push({from:t.from+i,to:t.from+r.length,insert:o.slice(i)})}),{userEvent:"delete.dedent"})),!0)};var rw=n(25566);class rk{constructor(e,t,n,r,a,i,o,l,s,u=0,c){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=a,this.score=i,this.buffer=o,this.bufferBase=l,this.curContext=s,this.lookAhead=u,this.parent=c}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let r=e.parser.context;return new rk(e,[],t,n,n,0,[],0,r?new rx(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 n=e>>19,r=65535&e,{parser:a}=this.p,i=this.reducePos<this.pos-25&&this.setLookAhead(this.pos),o=a.dynamicPrecedence(r);if(o&&(this.score+=o),0==n){r<a.minRepeatTerm&&this.reducePos<this.pos&&(this.reducePos=this.pos),this.pushState(a.getGoto(this.state,r,!0),this.reducePos),r<a.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,i?8:4,!0),this.reduceContext(r,this.reducePos);return}let l=this.stack.length-(n-1)*3-(262144&e?6:0),s=l?this.stack[l-2]:this.p.ranges[0].from;r<a.minRepeatTerm&&s==this.reducePos&&this.reducePos<this.pos&&(this.reducePos=this.pos);let u=this.reducePos-s;u>=2e3&&!(null===(t=this.p.parser.nodeSet.types[r])||void 0===t?void 0:t.isAnonymous)&&(s==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSize<u&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=s,this.p.lastBigReductionSize=u));let c=l?this.stack[l-1]:0,d=this.bufferBase+this.buffer.length-c;if(r<a.minRepeatTerm||131072&e){let e=a.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(r,s,e,d+4,!0)}if(262144&e)this.state=this.stack[l];else{let e=this.stack[l-3];this.state=a.getGoto(e,r,!0)}for(;this.stack.length>l;)this.stack.pop();this.reduceContext(r,s)}storeNode(e,t,n,r=4,a=!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==n)return;if(this.buffer[e-2]>=t){this.buffer[e-2]=n;return}}}if(a&&this.pos!=n){let a=this.buffer.length;if(a>0&&(0!=this.buffer[a-4]||this.buffer[a-1]<0)){let e=!1;for(let t=a;t>0&&this.buffer[t-2]>n;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;a>0&&this.buffer[a-2]>n;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,r>4&&(r-=4)}this.buffer[a]=e,this.buffer[a+1]=t,this.buffer[a+2]=n,this.buffer[a+3]=r}else this.buffer.push(e,t,n,r)}shift(e,t,n,r){if(131072&e)this.pushState(65535&e,this.pos);else if((262144&e)==0){let{parser:a}=this.p;this.pos=r;let i=a.stateFlag(e,1);!i&&(r>n||t<=a.maxNode)&&(this.reducePos=r),this.pushState(e,i?n:Math.min(n,this.reducePos)),this.shiftContext(t,n),t<=a.maxNode&&this.buffer.push(t,n,r,4)}else this.pos=r,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4)}
186apply(e,t,n,r){65536&e?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,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 n=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new rk(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new rS(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if((65536&n)==0)return!0;t.reduce(n)}}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 n=[];for(let r=0,a;r<t.length;r+=2)(a=t[r+1])!=this.state&&this.p.parser.hasAction(a,e)&&n.push(t[r],a);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1];n.some((e,t)=>1&t&&e==r)||n.push(t[e],r)}t=n}let n=[];for(let e=0;e<t.length&&n.length<4;e+=2){let r=t[e+1];if(r==this.state)continue;let a=this.split();a.pushState(r,this.pos),a.storeNode(0,a.pos,a.pos,4,!0),a.shiftContext(t[e],this.pos),a.reducePos=this.pos,a.score-=200,n.push(a)}return n}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 n=t>>19,r=65535&t,a=this.stack.length-3*n;if(a<0||0>e.getGoto(this.stack[a],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=[],n=(r,a)=>{if(!t.includes(r))return t.push(r),e.allActions(r,t=>{if(393216&t);else if(65536&t){let n=(t>>19)-a;if(n>1){let r=65535&t,a=this.stack.length-3*n;if(a>=0&&e.getGoto(this.stack[a],r,!1)>=0)return n<<19|65536|r}}else{let e=n(t,a+1);if(null!=e)return e}})};return n(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 rx(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 rx{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class rS{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
vendor: 9,383 bytes, line 186
186),this.base+=3):this.base-=(t-1)*3;let n=this.start.p.parser.getGoto(this.stack[this.base-3],65535&e,!0);this.state=n}}class r_{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new r_(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 r_(this.stack,this.pos,this.index)}}function rE(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let r=0,a=0;r<e.length;){let i=0;for(;;){let t=e.charCodeAt(r++),n=!1;if(126==t){i=65535;break}t>=92&&t--,t>=34&&t--;let a=t-32;if(a>=46&&(a-=46,n=!0),i+=a,n)break;i*=46}n?n[a++]=i:n=new t(i)}return n}class rA{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}let rT=new rA;class rD{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=rT,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 n=this.range,r=this.rangeIndex,a=this.pos+e;for(;a<n.from;){if(!r)return null;let e=this.ranges[--r];a-=n.from-e.to,n=e}for(;t<0?a>n.to:a>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];a+=e.from-n.to,n=e}return a}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,n,r;if(t>=0&&t<this.chunk.length)n=this.pos+e,r=this.chunk.charCodeAt(t);else{let t=this.resolveOffset(e,1);if(null==t)return -1;if((n=t)>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)r=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let e=this.rangeIndex,t=this.range;for(;t.to<=n;)t=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>t.to&&(this.chunk2=this.chunk2.slice(0,t.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n<this.token.start)throw RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}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=rT,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 n="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}}class rC{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;rI(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}rC.prototype.contextual=rC.prototype.fallback=rC.prototype.extend=!1;class r${constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data="string"==typeof e?rE(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,a=e.resolveOffset(1,1);if(rI(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(!n&&r++,null==a)break;e.reset(a,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}r$.prototype.contextual=rC.prototype.fallback=rC.prototype.extend=!1;class rP{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function rI(e,t,n,r,a,i){let o=0,l=1<<r,{dialect:s}=n.p.parser;t:for(;(l&e[o])!=0;){let n=e[o+1];for(let r=o+3;r<n;r+=2)if((e[r+1]&l)>0){let n=e[r];if(s.allows(n)&&(-1==t.token.value||t.token.value==n||function(e,t,n,r){let a=rN(n,r,t);return a<0||rN(n,r,e)<a}(n,t.token.value,a,i))){t.acceptToken(n);break}}let r=t.next,u=0,c=e[o+2];if(t.next<0&&c>u&&65535==e[n+3*c-3]){o=e[n+3*c-1];continue}for(;u<c;){let a=u+c>>1,i=n+a+(a<<1),l=e[i],s=e[i+1]||65536;if(r<l)c=a;else if(r>=s)u=a+1;else{o=e[i+2],t.advance();continue t}}break}}function rN(e,t,n){for(let r=t,a;65535!=(a=e[r]);r++)if(a==n)return r-t;return -1}let rU=void 0!==rw&&rw.env&&/\bparse\b/.test(rw.env.LOG),rM=null;function rR(e,t,n){let r=e.cursor(l.IncludeAnonymous);for(r.moveTo(t);;)if(!(n<0?r.childBefore(t):r.childAfter(t)))for(;;){if((n<0?r.to<t:r.from>t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:e.length}}class rj{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?rR(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?rR(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 n=this.trees[t],r=this.index[t];if(r==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let a=n.children[r],i=this.start[t]+n.positions[r];if(i>e)return this.nextStart=i,null;if(a instanceof O){if(i==e){if(i<this.safeFrom)return null;let e=i+a.length;if(e<=this.safeTo){let t=a.prop(m.lookAhead);if(!t||e+t<this.fragment.to)return a}}this.index[t]++,i+a.length>=Math.max(this.safeFrom,e)&&(this.trees.push(a),this.start.push(i),this.index.push(0))}else this.index[t]++,this.nextStart=i+a.length}}}class rL{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new rA)}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:a}=r,i=r.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,l=0;for(let r=0;r<a.length;r++){if((1<<r&i)==0)continue;let s=a[r],u=this.tokens[r];if((!n||s.fallback)&&((s.contextual||u.start!=e.pos||u.mask!=i||u.context!=o)&&(this.updateCachedToken(u,s,e),u.mask=i,u.context=o),u.lookAhead>u.end+25&&(l=Math.max(u.lookAhead,l)),0!=u.value)){let r=t;if(u.extended>-1&&(t=this.addActions(e,u.extended,u.end,t)),t=this.addActions(e,u.value,u.end,t),!s.extend&&(n=u,t>r))break}}for(;this.actions.length>t;)this.actions.pop();return l&&e.setLookAhead(l),n||e.pos!=this.stream.end||((n=new rA).value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new rA,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let a=t.specializers[r](this.stream.read(e.start,e.end),n);if(a>=0&&n.p.parser.dialect.allows(a>>1)){(1&a)==0?e.value=a>>1:e.extended=a>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,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++]=n,r}addActions(e,t,n,r){let{state:a}=e,{parser:i}=e.p,{data:o}=i;for(let e=0;e<2;e++)for(let l=i.stateSlot(a,e?2:1);;l+=3){if(65535==o[l]){if(1==o[l+1])l=rq(o,l+2);
186else{0==r&&2==o[l+1]&&(r=this.putAction(rq(o,l+2),t,n,r));break}}o[l]==t&&(r=this.putAction(rq(o,l+1),t,n,r))}return r}}class rZ{constructor(e,t,n,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 rD(t,r),this.tokens=new rL(e,this.stream),this.topTerm=e.top[1];let{from:a}=r[0];this.stacks=[rk.start(this,e.top[0],a)],this.fragments=n.length&&this.stream.end-a>4*e.bufferLength?new rj(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,r=this.minStackPos,a=this.stacks=[];if(this.bigReductionCount>300&&1==n.length){let[e]=n;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let i=0;i<n.length;i++){let o=n[i];for(;;){if(this.tokens.mainToken=null,o.pos>r)a.push(o);else{if(this.advanceStack(o,a,n))continue;e||(e=[],t=[]),e.push(o);let r=this.tokens.getMainToken(o);t.push(r.value,r.end)}break}}if(!a.length){let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}(e);if(t)return rU&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw rU&&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 n=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,a);if(n)return rU&&console.log("Force-finish "+this.stackID(n)),this.stackToTree(n.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(a.length>e)for(a.sort((e,t)=>t.score-e.score);a.length>e;)a.pop();a.some(e=>e.reducePos>r)&&this.recovering--}
186else if(a.length>1){n:for(let e=0;e<a.length-1;e++){let t=a[e];for(let n=e+1;n<a.length;n++){let r=a[n];if(t.sameState(r)||t.buffer.length>500&&r.buffer.length>500){if((t.score-r.score||t.buffer.length-r.buffer.length)>0)a.splice(n--,1);else{a.splice(e--,1);continue n}}}}a.length>12&&(a.sort((e,t)=>t.score-e.score),a.splice(12,a.length-12))}this.minStackPos=a[0].pos;for(let e=1;e<a.length;e++)a[e].pos<this.minStackPos&&(this.minStackPos=a[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,n){let r=e.pos,{parser:a}=this,i=rU?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,n=t?e.curContext.hash:0;for(let o=this.fragments.nodeAt(r);o;){let r=this.parser.nodeSet.types[o.type.id]==o.type?a.getGoto(e.state,o.type.id):-1;if(r>-1&&o.length&&(!t||(o.prop(m.contextHash)||0)==n))return e.useNode(o,r),rU&&console.log(i+this.stackID(e)+` (via reuse of ${a.getName(o.type.id)})`),!0;if(!(o instanceof O)||0==o.children.length||o.positions[0]>0)break;let l=o.children[0];if(l instanceof O&&0==o.positions[0])o=l;else break}}let o=a.stateSlot(e.state,4);if(o>0)return e.reduce(o),rU&&console.log(i+this.stackID(e)+` (via always-reduce ${a.getName(65535&o)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let o=0;o<l.length;){let s=l[o++],u=l[o++],c=l[o++],d=o==l.length||!n,p=d?e:e.split(),m=this.tokens.mainToken;if(p.apply(s,u,m?m.start:p.pos,c),rU&&console.log(i+this.stackID(p)+` (via ${(65536&s)==0?"shift":`reduce of ${a.getName(65535&s)}`} for ${a.getName(u)} @ ${r}${p==e?"":", split"})`),d)return!0;p.pos>r?t.push(p):n.push(p)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return rB(e,t),!0}}runRecovery(e,t,n){let r=null,a=!1;for(let i=0;i<e.length;i++){let o=e[i],l=t[i<<1],s=t[(i<<1)+1],u=rU?this.stackID(o)+" -> ":"";if(o.deadEnd&&(a||(a=!0,o.restart(),rU&&console.log(u+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))))continue;let c=o.split(),d=u;for(let e=0;e<10&&c.forceReduce()&&(rU&&console.log(d+this.stackID(c)+" (via force-reduce)"),!this.advanceFully(c,n));e++)rU&&(d=this.stackID(c)+" -> ");for(let e of o.recoverByInsert(l))rU&&console.log(u+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,n);this.stream.end>o.pos?(s==o.pos&&(s++,l=0),o.recoverByDelete(l,s),rU&&console.log(u+this.stackID(o)+` (via recover-delete ${this.parser.getName(l)})`),rB(o,n)):(!r||r.score<c.score)&&(r=c)}return r}stackToTree(e){return e.close(),O.build({buffer:r_.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=(rM||(rM=new WeakMap)).get(e);return t||rM.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function rB(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e)){t[n].score<e.score&&(t[n]=e);return}}t.push(e)}class rz{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||0==this.disabled[e]}}let rF=e=>e;class rQ{constructor(e){this.start=e.start,this.shift=e.shift||rF,this.reduce=e.reduce||rF,this.reuse=e.reuse||rF,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class rH extends Z{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 n=0;n<e.repeatNodeCount;n++)t.push("");let n=Object.keys(e.topRules).map(t=>e.topRules[t][1]),r=[];for(let e=0;e<t.length;e++)r.push([]);function a(e,t,n){r[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];"string"==typeof e&&(e=m[e]);for(let n=1;n<t.length;){let r=t[n++];if(r>=0)a(r,e,t[n++]);else{let i=t[n+-r];for(let o=-r;o>0;o--)a(t[n++],e,i);n++}}}this.nodeSet=new v(t.map((t,a)=>g.define({name:a>=this.minRepeatTerm?void 0:t,id:a,props:r[a],top:n.indexOf(a)>-1,error:0==a,skipped:e.skippedNodes&&e.skippedNodes.indexOf(a)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=1024;let i=rE(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(rV),this.states=rE(e.states,Uint32Array),this.data=rE(e.stateData),this.goto=rE(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>"number"==typeof e?new rC(i,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,n){let r=new rZ(this,e,t,n);for(let a of this.wrappers)r=a(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return -1;for(let a=r[t+1];;){let t=r[a++],i=1&t,o=r[a++];if(i&&n)return o;for(let n=a+(t>>1);a<n;a++)if(r[a]==e)return o;if(i)return -1}}hasAction(e,t){let n=this.data;for(let r=0;r<2;r++)for(let a=this.stateSlot(e,r?2:1),i;;a+=3){if(65535==(i=n[a])){if(1==n[a+1])i=n[a=rq(n,a+2)];else if(2==n[a+1])return rq(n,a+2);else break}if(i==t||0==i)return rq(n,a+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)}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):void 0;for(let n=this.stateSlot(e,1);null==r;n+=3){if(65535==this.data[n]){if(1==this.data[n+1])n=rq(this.data,n+2);else break}r=t(rq(this.data,n+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1==this.data[n+1])n=rq(this.data,n+2);else break}if((1&this.data[n+2])==0){let e=this.data[n+1];t.some((t,n)=>1&n&&t==e)||t.push(this.data[n],e)}}return t}configure(e){let t=Object.assign(Object.create(rH.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(t=>{let n=e.tokenizers.find(e=>e.from==t);return n?n.to:t})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,r)=>{let a=e.specializers.find(e=>e.from==n.external);
186if(!a)return n;let i=Object.assign(Object.assign({},n),{external:a.to});return t.specializers[r]=rV(i),i})),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),n=t.map(()=>!1);if(e)for(let r of e.split(" ")){let e=t.indexOf(r);e>=0&&(n[e]=!0)}let r=null;for(let e=0;e<t.length;e++)if(!n[e])for(let n=this.dialects[t[e]],a;65535!=(a=this.data[n++]);)(r||(r=new Uint8Array(this.maxTerm+1)))[a]=1;return new rz(e,n,r)}static deserialize(e){return new rH(e)}}function rq(e,t){return e[t]|e[t+1]<<16}function rV(e){if(e.external){let t=e.extend?1:0;return(n,r)=>e.external(n,r)<<1|t}return e.get}let rW=[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 rX(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function rY(e){return e>=48&&e<=57}function rG(e){return rY(e)||e>=97&&e<=102||e>=65&&e<=70}let rK=(e,t,n)=>(r,a)=>{for(let i=!1,o=0,l=0;;l++){let{next:s}=r;if(rX(s)||45==s||95==s||i&&rY(s))!i&&(45!=s||l>0)&&(i=!0),o===l&&45==s&&o++,r.advance();else if(92==s&&10!=r.peek(1)){if(r.advance(),rG(r.next)){do r.advance();while(rG(r.next));32==r.next&&r.advance()}else r.next>-1&&r.advance();i=!0}else{i&&r.acceptToken(2==o&&a.canShift(2)?t:40==s?n:e);break}}},rJ=new rP(rK(136,2,137),{contextual:!0}),r0=new rP(rK(138,3,4),{contextual:!0}),r1=new rP(e=>{if(rW.includes(e.peek(-1))){let{next:t}=e;(rX(t)||95==t||35==t||46==t||42==t||91==t||58==t&&rX(e.peek(1))||45==t||38==t)&&e.acceptToken(135)}}),r2=new rP(e=>{if(!rW.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),rX(t)){do e.advance();while(rX(e.next)||rY(e.next));e.acceptToken(1)}}}),r4=en({"AtKeyword import charset namespace keyframes media supports font-feature-values":ek.definitionKeyword,"from to selector scope MatchFlag":ek.keyword,NamespaceName:ek.namespace,KeyframeName:ek.labelName,KeyframeRangeName:ek.operatorKeyword,TagName:ek.tagName,ClassName:ek.className,PseudoClassName:ek.constant(ek.className),IdName:ek.labelName,"FeatureName PropertyName":ek.propertyName,AttributeName:ek.attributeName,NumberLiteral:ek.number,KeywordQuery:ek.keyword,UnaryQueryOp:ek.operatorKeyword,"CallTag ValueName FontName":ek.atom,VariableName:ek.variableName,Callee:ek.operatorKeyword,Unit:ek.unit,"UniversalSelector NestingSelector":ek.definitionOperator,"MatchOp CompareOp":ek.compareOperator,"ChildOp SiblingOp, LogicOp":ek.logicOperator,BinOp:ek.arithmeticOperator,Important:ek.modifier,Comment:ek.blockComment,ColorLiteral:ek.color,"ParenthesizedContent StringLiteral":ek.string,":":ek.punctuation,"PseudoOp #":ek.derefOperator,"; , |":ek.separator,"( )":ek.paren,"[ ]":ek.squareBracket,"{ }":ek.brace}),r8={__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:132,"url-prefix":132,domain:132,regexp:132},r6={__proto__:null,or:104,and:104,not:112,only:112,layer:186},r3={__proto__:null,selector:118,layer:182},r5={__proto__:null,"@import":178,"@media":190,"@charset":194,"@namespace":198,"@keyframes":204,"@supports":216,"@scope":220,"@font-feature-values":226},r7={__proto__:null,to:223},r9=rH.deserialize({version:14,states:"IpQYQdOOO#}QdOOP$UO`OOO%OQaO'#CfOOQP'#Ce'#CeO%VQdO'#CgO%[Q`O'#CgO%aQaO'#FdO&XQdO'#CkO&xQaO'#CcO'SQdO'#CnO'_QdO'#DtO'dQdO'#DvO'oQdO'#D}O'oQdO'#EQOOQP'#Fd'#FdO)OQhO'#EsOOQS'#Fc'#FcOOQS'#Ev'#EvQYQdOOO)VQdO'#EWO*cQhO'#E^O)VQdO'#E`O*jQdO'#EbO*uQdO'#EeO)zQhO'#EkO*}QdO'#EmO+YQdO'#EpO+_QaO'#CfO+fQ`O'#ETO+kQ`O'#FnO+vQdO'#FnQOQ`OOP,QO&jO'#CaPOOO)CAR)CAROOQP'#Ci'#CiOOQP,59R,59RO%VQdO,59ROOQP'#Cm'#CmOOQP,59V,59VO&XQdO,59VO,]QdO,59YO'_QdO,5:`O'dQdO,5:bO'oQdO,5:iO'oQdO,5:kO'oQdO,5:lO'oQdO'#E}O,hQ`O,58}O,pQdO'#ESOOQS,58},58}OOQP'#Cq'#CqOOQO'#Dr'#DrOOQP,59Y,59YO,wQ`O,59YO,|Q`O,59YOOQP'#Du'#DuOOQP,5:`,5:`O-RQpO'#DwO-^QdO'#DxO-cQ`O'#DxO-hQpO,5:bO.RQaO,5:iO.iQaO,5:lOOQW'#D^'#D^O/eQhO'#DgO/xQhO,5;_O)zQhO'#DeO0VQ`O'#DkO0[QhO'#DnOOQW'#Fj'#FjOOQS,5;_,5;_O0aQ`O'#DhOOQS-E8t-E8tOOQ['#Cv'#CvO0fQdO'#CwO0|QdO'#C}O1dQdO'#DQO1zQ!pO'#DSO4TQ!jO,5:rOOQO'#DX'#DXO,|Q`O'#DWO4eQ!nO'#FgO6hQ`O'#DYO6mQ`O'#DoOOQ['#Fg'#FgO6rQhO'#FqO7QQ`O,5:xO7VQ!bO,5:zOOQS'#Ed'#EdO7_Q`O,5:|O7dQdO,5:|OOQO'#Eg'#EgO7lQ`O,5;PO7qQhO,5;VO'oQdO'#DjOOQS,5;X,5;XO0aQ`O,5;XO7yQdO,5;XOOQS'#FU'#FUO8RQdO'#ErO7QQ`O,5;[O8ZQdO,5:oO8kQdO'#FPO8xQ`O,5<YO8xQ`O,5<YPOOO'#Eu'#EuP9TO&jO,58{POOO,58{,58{OOQP1G.m1G.mOOQP1G.q1G.qOOQP1G.t1G.tO,wQ`O1G.tO,|Q`O1G.tOOQP1G/z1G/zO9`QpO1G/|O9hQaO1G0TO:OQaO1G0VO:fQaO1G0WO:|QaO,5;iOOQO-E8{-E8{OOQS1G.i1G.iO;WQ`O,5:nO;]QdO'#DsO;dQdO'#CuOOQO'#Dz'#DzOOQO,5:d,5:dO-^QdO,5:dOOQP1G/|1G/|O)VQdO1G/|O;kQ!jO'#D^O;yQ!bO,59yO<RQhO,5:ROOQO'#Fk'#FkO;|Q!bO,59}O<ZQhO'#FVO)zQhO,59{O)zQhO'#FVO=OQhO1G0yOOQS1G0y1G0yO=YQhO,5:PO>QQhO'#DlOOQW,5:V,5:VOOQW,5:Y,5:YOOQW,5:S,5:SO>[Q!fO'#FhOOQS'#Fh'#FhOOQS'#Ex'#ExO?lQdO,59cOOQ[,59c,59cO@SQdO,59iOOQ[,59i,59iO@jQdO,59lOOQ[,59l,59lOOQ[,59n,59nO)VQdO,59pOAQQhO'#EYOOQW'#EY'#EYOAlQ`O1G0^O4^QhO1G0^OOQ[,59r,59rO)zQhO'#D[OOQ[,59t,59tOAqQ#tO,5:ZOA|QhO'#FROBZQ`O,5<]OOQS1G0d1G0dOOQS1G0f1G0fOOQS1G0h1G0hOBfQ`O1G0hOBkQdO'#EhOOQS1G0k1G0kOOQS1G0q1G0qOBvQaO,5:UO7QQ`O1G0sOOQS1G0s1G0sO0aQ`O1G0sOOQS-E9S-E9SOOQS1G0v1G0vOB}Q!fO1G0ZOCeQ`O'#EVOOQO1G0Z1G0ZOOQO,5;k,5;kOCjQdO,5;kOOQO-E8}-E8}OCwQ`O1G1tPOOO-E8s-E8sPOOO1G.g1G.gOOQP7+$`7+$`OOQP7+%h7+%hO)VQdO7+%hOOQS1G0Y1G0YODSQaO'#FmOD^Q`O,5:_ODcQ!fO'#EwOEaQdO'#FfOEkQ`O,59aOOQO1G0O1G0OOEpQ!bO7+%hO)VQdO1G/eOE{QhO1G/iOOQW1G/m1G/mOOQW1G/g1G/gOF^QhO,5;qOOQW-E9T-E9TOOQS7+&e7+&eOGRQhO'#D^OGaQhO'#FlOGlQ`O'#FlOGqQ`O,5:WOOQS-E8v-E8vOOQ[1G.}1G.}OOQ[1G/T1G/TOOQ[1G/W1G/WOOQ[1G/[1G/[OGvQdO,5:tOOQS7+%x7+%xOG{Q`O7+%xOHQQhO'#D]OHYQ`O,59vO)zQhO,59vOOQ[1G/u1G/uOHbQ`O1G/uOHgQhO,5;mOOQO-E9P-E9POOQS7+&S7+&SOHuQbO'#DSOOQO'#Ej'#EjOITQ`O'#EiOOQO'#Ei'#EiOI`Q`O'#FSOIhQdO,5;SOOQS,5;S,5;
186SOOQ[1G/p1G/pOOQS7+&_7+&_O7QQ`O7+&_OIsQ!fO'#FOO)VQdO'#FOOJzQdO7+%uOOQO7+%u7+%uOOQO,5:q,5:qOOQO1G1V1G1VOK_Q!bO<<ISOKjQdO'#E|OKtQ`O,5<XOOQP1G/y1G/yOOQS-E8u-E8uOK|QdO'#E{OLWQ`O,5<QOOQ]1G.{1G.{OOQP<<IS<<ISOL`Q`O<<ISOLeQdO7+%POOQO'#D`'#D`OLlQ!bO7+%TOLtQhO'#EzOMRQ`O,5<WO)VQdO,5<WOOQW1G/r1G/rOOQO'#E['#E[OMZQ`O1G0`OOQS<<Id<<IdO)VQdO,59wOMzQhO1G/bOOQ[1G/b1G/bONRQ`O1G/bOOQW-E8w-E8wOOQ[7+%a7+%aOOQO,5;T,5;TOBnQdO'#FTOI`Q`O,5;nOOQS,5;n,5;nOOQS-E9Q-E9QOOQS1G0n1G0nOOQS<<Iy<<IyONZQ!fO,5;jOOQS-E8|-E8|OOQO<<Ia<<IaOOQPAN>nAN>nO! bQ`OAN>nO! gQaO,5;hOOQO-E8z-E8zO! qQdO,5;gOOQO-E8y-E8yOOQW<<Hk<<HkOOQW<<Ho<<HoO! {QhO<<HoO!!^QhO,5;fO!!iQ`O,5;fOOQO-E8x-E8xO!!nQdO1G1rOGvQdO'#FQO!!xQ`O7+%zOOQW7+%z7+%zO!#QQ!bO1G/cOOQ[7+$|7+$|O!#]QhO7+$|P!#dQ`O'#EyOOQO,5;o,5;oOOQO-E9R-E9ROOQS1G1Y1G1YOOQPG24YG24YO!#iQ`OAN>ZO)VQdO1G1QO!#nQ`O7+'^OOQO,5;l,5;lOOQO-E9O-E9OOOQW<<If<<IfOOQ[<<Hh<<HhPOQW,5;e,5;eOOQWG23uG23uO!#vQdO7+&l",stateData:"!$Z~O$QOS$RQQ~OWVO^_O`WOcYOdYOl`OmZOp[O!r]O!u^O!{dO#ReO#TfO#VgO#YhO#`iO#bjO#ekO#|RO$XTO~OQmOWVO^_O`WOcYOdYOl`OmZOp[O!r]O!u^O!{dO#ReO#TfO#VgO#YhO#`iO#bjO#ekO#|lO$XTO~O#z$bP~P!jO$RqO~O`YXcYXdYXmYXpYXsYX!aYX!rYX!uYX#{YX$X[X~OgYX~P$ZO#|sO~O$XuO~O$XuO`$WXc$WXd$WXm$WXp$WXs$WX!a$WX!r$WX!u$WX#{$WXg$WX~O#|vO~O`xOcyOdyOmzOp{O!r|O!u!OO#{}O~Os!RO!a!PO~P&^Of!XO#|!TO#}!UO~O#|!YO~OW!^O#|![O$X!]O~OWVO^_O`WOcYOdYOmZOp[O!r]O!u^O#|RO$XTO~OS!fOc!gOd!gOh!cOs!RO!Y!eO!]!jO$O!bO~On!iO~P(dOQ!tOh!mOp!nOs!oOu!wOw!wO}!uO!d!vO#|!lO#}!rO$]!pO~OS!fOc!gOd!gOh!cO!Y!eO!]!jO$O!bO~Os$eP~P)zOw!|O!d!vO#|!{O~Ow#OO#|#OO~Oh#ROs!RO#c#TO~O#|#VO~Oc!xX~P$ZOc#YO~On#ZO#z$bXr$bX~O#z$bXr$bX~P!jO$S#^O$T#^O$U#`O~Of#eO#|!TO#}!UO~Os!RO!a!PO~Or$bP~P!jOh#oO~Oh#pO~Oo!kX!o!kX$X!mX~O#|#qO~O$X#sO~Oo#tO!o#uO~O`xOcyOdyOmzOp{O~Os!qa!a!qa!r!qa!u!qa#{!qag!qa~P-pOs!ta!a!ta!r!ta!u!ta#{!tag!ta~P-pOS!fOc!gOd!gOh!cO!Y!eO!]!jO~OR#yOu#yOw#yO$O#vO$]!pO~P/POn$PO!U#|O!a#}O~P(dOh$RO~O$O$TO~Oh#RO~O`$WOc$WOg$ZOl$WOm$WOn$WO~P)VO`$WOc$WOl$WOm$WOn$WOo$]O~P)VO`$WOc$WOl$WOm$WOn$WOr$_O~P)VOP$`OSvXcvXdvXhvXnvXyvX!YvX!]vX!}vX#PvX$OvX!WvXQvX`vXgvXlvXmvXpvXsvXuvXwvX}vX!dvX#|vX#}vX$]vXovXrvX!avX#zvX$dvX!pvX~Oy$aO!}$bO#P$cOn$eP~P)zOh#pOS$ZXc$ZXd$ZXn$ZXy$ZX!Y$ZX!]$ZX!}$ZX#P$ZX$O$ZXQ$ZX`$ZXg$ZXl$ZXm$ZXp$ZXs$ZXu$ZXw$ZX}$ZX!d$ZX#|$ZX#}$ZX$]$ZXo$ZXr$ZX!a$ZX#z$ZX$d$ZX!p$ZX~Oh$gO~Oh$iO~O!U#|O!a$jOs$eXn$eX~Os!RO~On$mOy$aO~On$nO~Ow$oO!d!vO~Os$pO~Os!RO!U#|O~Os!RO#c$vO~O#|#VOs#fX~O$d$zOn!wa#z!war!wa~P)VOn#sX#z#sXr#sX~P!jOn#ZO#z$bar$ba~O$S#^O$T#^O$U%RO~Oo%TO!o%UO~Os!qi!a!qi!r!qi!u!qi#{!qig!qi~P-pOs!si!a!si!r!si!u!si#{!sig!si~P-pOs!ti!a!ti!r!ti!u!ti#{!tig!ti~P-pOs#qa!a#qa~P&^Or%VO~Og$aP~P'oOg$YP~P)VOc!SXg!QX!U!QX!W!SX~Oc%_O!W%`O~Og%aO!U#|O~O!U#|OS#yXc#yXd#yXh#yXn#yXs#yX!Y#yX!]#yX!a#yX$O#yX~On%eO!a#}O~P(dO!U#|OS!Xac!Xad!Xah!Xan!Xas!Xa!Y!Xa!]!Xa!a!Xa$O!Xag!Xa~O$O%fOg$`P~P/POy$aOQ$[X`$[Xc$[Xg$[Xh$[Xl$[Xm$[Xn$[Xp$[Xs$[Xu$[Xw$[X}$[X!d$[X#|$[X#}$[X$]$[Xo$[Xr$[X~O`$WOc$WOg%kOl$WOm$WOn$WO~P)VO`$WOc$WOl$WOm$WOn$WOo%lO~P)VO`$WOc$WOl$WOm$WOn$WOr%mO~P)VOh%oOS!|Xc!|Xd!|Xn!|X!Y!|X!]!|X$O!|X~On%pO~Og%uOw%vO!e%vO~Os#uX!a#uXn#uX~P)zO!a$jOs$ean$ea~On%yO~Or&QO#|%{O$]%zO~Og&RO~P&^Oy$aO!a&VO$d$zOn!wi#z!wir!wi~P)VO$c&YO~On#sa#z#sar#sa~P!jOn#ZO#z$bir$bi~O!a&]Og$aX~P&^Og&_O~Oy$aOQ#kXg#kXh#kXp#kXs#kXu#kXw#kX}#kX!a#kX!d#kX#|#kX#}#kX$]#kX~O!a&aOg$YX~P)VOg&cO~Oo&dOy$aO!p&eO~OR#yOu#yOw#yO$O&gO$]!pO~O!U#|OS#yac#yad#yah#yan#yas#ya!Y#ya!]#ya!a#ya$O#ya~Oc!SXg!QX!U!QX!a!QX~O!U#|O!a&iOg$`X~Oc&kO~Og&lO~O#|&mO~On&oO~Oc&pO!U#|O~Og&rOn&qO~Og&uO~O!U#|Os#ua!a#uan#ua~OP$`OsvX!avXgvX~O$]%zOs#]X!a#]X~Os!RO!a&wO~Or&{O#|%{O$]%zO~Oy$aOQ#rXh#rXn#rXp#rXs#rXu#rXw#rX}#rX!a#rX!d#rX#z#rX#|#rX#}#rX$]#rX$d#rXr#rX~O!a&VO$d$zOn!wq#z!wqr!wq~P)VOo'QOy$aO!p'RO~Og#pX!a#pX~P'oO!a&]Og$aa~Og#oX!a#oX~P)VO!a&aOg$Ya~Oo'QO~Og'WO~P)VOg'XO!W'YO~O$O%fOg#nX!a#nX~P/PO!a&iOg$`a~O`'_Og'aO~OS#mac#mad#mah#ma!Y#ma!]#ma$O#ma~Og'cO~PMcOg'cOn'dO~Oy$aOQ#rah#ran#rap#ras#rau#raw#ra}#ra!a#ra!d#ra#z#ra#|#ra#}#ra$]#ra$d#rar#ra~Oo'iO~Og#pa!a#pa~P&^Og#oa!a#oa~P)VOR#yOu#yOw#yO$O&gO$]%zO~O!U#|Og#na!a#na~Oc'kO~O!a&iOg$`i~P)VO`'_Og'oO~Oy$aOg!Pin!Pi~Og'pO~PMcOn'qO~Og'rO~O!a&iOg$`q~Og#nq!a#nq~P)VO$Q!e$R$]`$]y!u~",goto:"4h$fPPPPP$gP$jP$s%V$s%i%{P$sP&R$sPP&XPPP&_&i&iPPPPP&iPP&iP'VP&iP&i(Q&iP(n(q(w(w)Z(wP(wP(wP(w(wP)j(w)vP(w)yPP*m*s$s*y$s+P+P+V+ZPP$sP$s$sP+a,],j,q$jP,zP,}
186P$jP$jP$jP-T$jP-W-Z-^-e$jP$jPP$jP-j$jP-m-s.S.j.x/O/Y/`/f/l/r/|0S0Y0`0f0lPPPPPPPPPPP0r0{P1q1t2vP3O3x4R4U4XPP4_RrQ_aOPco!R#Z$}q_OP]^co|}!O!P!R#R#Z#o$}&]qSOP]^co|}!O!P!R#R#Z#o$}&]qUOP]^co|}!O!P!R#R#Z#o$}&]QtTR#auQwWR#bxQ!VYR#cyQ#c!XS$f!s!tR%S#e!V!wdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p'U'^'k's!U!wdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p'U'^'k'sU#y!c%`'YU%}$p&P&wR&v%|!V!sdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p'U'^'k'sR$h!uQ%s$gR&s%tq!h`ei!c!d!e!q#|#}$O$R$e$g$j%t&iQ#w!cQ%h$RQ&h%`Q'[&iR'j'YQ#UjQ$U!jQ$t#TR&T$vR$S!f!U!wdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p'U'^'k'sQ!|gR$o!}Q!WYR#dyQ#c!WR%S#dQ!ZZR#fzQ!_[R#g{T!^[{Q#r!]R%]#sQ!SXQ!i`Q#SjQ#m!QQ$P!dQ$l!yQ$r#QQ$u#UQ$x#XQ%e$OQ&S$tQ&y&OQ&|&TR'h&xSnP!RQ#]oQ$|#ZR&Z$}ZmPo!R#Z$}Q${#YQ&X$yR'P&WR$e!qQ&n%oR'm'_R!}gR#PhR$q#PS&O$p&PR'f&wV%|$p&P&wR#XkQ#_qR%Q#_QcOSoP!RU!kco$}R$}#ZQ%Z#pY&`%Z&f'U'^'sQ&f%_Q'U&aQ'^&kR's'kQ$Y!mQ$[!nQ$^!oV%j$Y$[$^Q%t$gR&t%tQ&j%gS']&j'lR'l'^Q&b%ZR'V&bQ&^%WR'T&^Q!QXR#l!QQ&W$yR'O&WQ#[nS%O#[%PR%P#]Q'`&nR'n'`Q$k!xR%x$kQ&P$pR&z&PQ&x&OR'g&xQ#WkR$w#WQ$O!dR%d$O_bOPco!R#Z$}^XOPco!R#Z$}Q!`]Q!a^Q#h|Q#i}Q#j!OQ#k!PQ$s#RQ%W#oR'S&]R%[#pQ!qdQ!zf[$V!m!n!o$Y$[$^Q$y#Yd%Y#p%Z%_&a&f&k'U'^'k'sQ%^#uQ%n$aS&U$y&WQ&[%UQ&}&VR'b&p]$X!m!n!o$Y$[$^Q!d`U!xe!q$eQ#QiQ#x!cS#{!d$OQ$Q!eQ%b#|Q%c#}Q%g$RS%r$g%tQ%w$jR'Z&iQ#z!cQ&h%`R'j'YR%i$RR%X#oQpPR#n!RQ!yeQ$d!qR%q$e",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 CallQuery ArgList , 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:159,nodeProps:[["isolate",-2,5,39,""],["openedBy",23,"(",31,"[",34,"{"],["closedBy",24,")",32,"]",35,"}"]],propSources:[r4],skippedNodes:[0,5,117],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!e`Oy%jz;'S%j;'S;=`%{<%lO%j`&OP;=`<%l%j~&Wh$Q~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$Q~!e`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$dYOy%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!e`Oy%jz!Q%j!Q![-S![!c%j!c!i-S!i#T%j#T#Z-S#Z;'S%j;'S;=`%{<%lO%jj-XY!e`Oy%jz!Q%j!Q![-w![!c%j!c!i-w!i#T%j#T#Z-w#Z;'S%j;'S;=`%{<%lO%jj.OYuY!e`Oy%jz!Q%j!Q![.n![!c%j!c!i.n!i#T%j#T#Z.n#Z;'S%j;'S;=`%{<%lO%jj.uYuY!e`Oy%jz!Q%j!Q![/e![!c%j!c!i/e!i#T%j#T#Z/e#Z;'S%j;'S;
186=`%{<%lO%jj/jY!e`Oy%jz!Q%j!Q![0Y![!c%j!c!i0Y!i#T%j#T#Z0Y#Z;'S%j;'S;=`%{<%lO%jj0aYuY!e`Oy%jz!Q%j!Q![1P![!c%j!c!i1P!i#T%j#T#Z1P#Z;'S%j;'S;=`%{<%lO%jj1UY!e`Oy%jz!Q%j!Q![1t![!c%j!c!i1t!i#T%j#T#Z1t#Z;'S%j;'S;=`%{<%lO%jj1{SuY!e`Oy%jz;'S%j;'S;=`%{<%lO%jd2[UOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%jd2uS!oS!e`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!uQOy%jz!O%j!O!P6s!P!Q%j!Q![9x![;'S%j;'S;=`%{<%lO%jj6xU!e`Oy%jz!Q%j!Q![7[![;'S%j;'S;=`%{<%lO%jj7cY!e`$]YOy%jz!Q%j!Q![7[![!g%j!g!h8R!h#X%j#X#Y8R#Y;'S%j;'S;=`%{<%lO%jj8WY!e`Oy%jz{%j{|8v|}%j}!O8v!O!Q%j!Q![9_![;'S%j;'S;=`%{<%lO%jj8{U!e`Oy%jz!Q%j!Q![9_![;'S%j;'S;=`%{<%lO%jj9fU!e`$]YOy%jz!Q%j!Q![9_![;'S%j;'S;=`%{<%lO%jj:P[!e`$]YOy%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!aYOy%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!e`$R~Oy%jz;'S%j;'S;=`%{<%lO%jj=[[$]YOy%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!e`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!e`Oy%jz;'S%j;'S;=`%{<%lO%jl@bS!WW!oSOy%jz;'S%j;'S;=`%{<%lO%jj@uV!rQ!WWOy%jz!_%j!_!`?v!`!aA[!a;'S%j;'S;=`%{<%lO%jbAcS!rQ!e`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!e`Oy%jz!c%j!c!}CP!}#T%j#T#oCP#o;'S%j;'S;=`%{<%lO%jjCW[lY!e`Oy%jz}%j}!OCP!O!Q%j!Q![CP![!c%j!c!}CP!}#T%j#T#oCP#o;'S%j;'S;=`%{<%lO%jhDRS!pWOy%jz;'S%j;'S;=`%{<%lO%jjDdSpYOy%jz;'S%j;'S;=`%{<%lO%jnDuSo^Oy%jz;'S%j;'S;=`%{<%lO%jjEWU!pWOy%jz#a%j#a#bEj#b;'S%j;'S;=`%{<%lO%jbEoU!e`Oy%jz#d%j#d#eFR#e;'S%j;'S;=`%{<%lO%jbFWU!e`Oy%jz#c%j#c#dFj#d;'S%j;'S;=`%{<%lO%jbFoU!e`Oy%jz#f%j#f#gGR#g;'S%j;'S;=`%{<%lO%jbGWU!e`Oy%jz#h%j#h#iGj#i;'S%j;'S;=`%{<%lO%jbGoU!e`Oy%jz#T%j#T#UHR#U;'S%j;'S;=`%{<%lO%jbHWU!e`Oy%jz#b%j#b#cHj#c;'S%j;'S;=`%{<%lO%jbHoU!e`Oy%jz#h%j#h#iIR#i;'S%j;'S;=`%{<%lO%jbIYS$cQ!e`Oy%jz;'S%j;'S;=`%{<%lO%jjIkSsYOy%jz;'S%j;'S;=`%{<%lO%jfI|U$XUOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%jjJeSrYOy%jz;'S%j;'S;=`%{<%lO%jfJvU!uQOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%j`K]P;=`<%l%Z",tokenizers:[r1,r2,rJ,r0,1,2,3,4,new r$("m~RRYZ[z{a~~g~aO$T~~dP!P!Qg~lO$U~~",28,142)],topRules:{StyleSheet:[0,6],Styles:[1,116]},dynamicPrecedences:{84:1},specialized:[{term:137,get:e=>r8[e]||-1},{term:138,get:e=>r6[e]||-1},{term:4,get:e=>r3[e]||-1},{term:28,get:e=>r5[e]||-1},{term:136,get:e=>r7[e]||-1}],tokenPrec:2256}),ae=null;function at(){if(!ae&&"object"==typeof document&&document.body){let{style:e}=document.body,t=[],n=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())),n.has(r)||(t.push(r),n.add(r)));ae=t.sort().map(e=>({type:"property",label:e,apply:e+": "}))}return ae||[]}let an=["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})),ar=["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","
186initial","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}))),aa=["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})),ai=["@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
186orts","@view-transition"].map(e=>({type:"keyword",label:e})),ao=/^(\w[\w-]*|-\w[\w-]*|)$/,al=/^-(-[\w-]*)?$/,as=new j,au=["Declaration"],ac=(a=e=>"VariableName"==e.name,e=>{let{state:t,pos:n}=e,r=eC(t).resolveInner(n,-1),i=r.type.isError&&r.from==r.to-1&&"-"==t.doc.sliceString(r.from,r.to);if("PropertyName"==r.name||(i||"TagName"==r.name)&&/^(Block|Styles)$/.test(r.resolve(r.to).name))return{from:r.from,options:at(),validFor:ao};if("ValueName"==r.name)return{from:r.from,options:ar,validFor:ao};if("PseudoClassName"==r.name)return{from:r.from,options:an,validFor:ao};if(a(r)||(e.explicit||i)&&function(e,t){var n;if(("("==e.name||e.type.isError)&&(e=e.parent||e),"ArgList"!=e.name)return!1;let r=null===(n=e.parent)||void 0===n?void 0:n.firstChild;return(null==r?void 0:r.name)=="Callee"&&"var"==t.sliceString(r.from,r.to)}(r,t.doc))return{from:a(r)||i?r.from:n,options:function e(t,n,r){if(n.to-n.from>4096){let a=as.get(n);if(a)return a;let i=[],o=new Set,s=n.cursor(l.IncludeAnonymous);if(s.firstChild())do for(let n of e(t,s.node,r))o.has(n.label)||(o.add(n.label),i.push(n));while(s.nextSibling());return as.set(n,i),i}{let e=[],a=new Set;return n.cursor().iterate(n=>{var i;if(r(n)&&n.matchContext(au)&&(null===(i=n.node.nextSibling)||void 0===i?void 0:i.name)==":"){let r=t.sliceString(n.from,n.to);a.has(r)||(a.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),a),validFor:al};if("TagName"==r.name){for(let{parent:e}=r;e;e=e.parent)if("Block"==e.name)return{from:r.from,options:at(),validFor:ao};return{from:r.from,options:aa,validFor:ao}}if("AtKeyword"==r.name)return{from:r.from,options:ai,validFor:ao};if(!e.explicit)return null;let o=r.resolve(n),s=o.childBefore(n);return s&&":"==s.name&&"PseudoClassSelector"==o.name?{from:n,options:an,validFor:ao}:s&&":"==s.name&&"Declaration"==o.name||"ArgList"==o.name?{from:n,options:ar,validFor:ao}:"Block"==o.name||"Styles"==o.name?{from:n,options:at(),validFor:ao}:null}),ad=eD.define({name:"css",parser:r9.configure({props:[eq.add({Declaration:eK()}),e0.add({"Block KeyframeList":e1})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function ap(){return new eZ(ad,ad.data.of({autocomplete:ac}))}let am={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},af={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},ah={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}},ag=null,av=null,ay=0;function ab(e,t){var n;let r=e.pos+t;if(ay==r&&av==e)return ag;let a=e.peek(t),i="";for(;45==(n=a)||46==n||58==n||n>=65&&n<=90||95==n||n>=97&&n<=122||n>=161;)i+=String.fromCharCode(a),a=e.peek(++t);return av=e,ay=r,ag=i?i.toLowerCase():a==aO||a==aw?void 0:null}let aO=63,aw=33;function ak(e,t){this.name=e,this.parent=t}let ax=[6,10,7,8,9],aS=new rQ({start:null,shift:(e,t,n,r)=>ax.indexOf(t)>-1?new ak(ab(r,1)||"",e):e,reduce:(e,t)=>21==t&&e?e.parent:e,reuse(e,t,n,r){let a=t.type.id;return 6==a||37==a?new ak(ab(r,1)||"",e):e},strict:!1}),a_=new rP((e,t)=>
186{if(60!=e.next){e.next<0&&t.context&&e.acceptToken(58);return}e.advance();let n=47==e.next;n&&e.advance();let r=ab(e,0);if(void 0===r)return;if(!r)return e.acceptToken(n?15:14);let a=t.context?t.context.name:null;if(n){if(r==a)return e.acceptToken(11);if(a&&af[a])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);if(am.hasOwnProperty(r))return e.acceptToken(10);a&&ah[a]&&ah[a][r]?e.acceptToken(58,-1):e.acceptToken(6)}},{contextual:!0}),aE=new rP(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(59);break}if(45==e.next)t++;else if(62==e.next&&t>=2){n>=3&&e.acceptToken(59,-2);break}else t=0;e.advance()}}),aA=new rP((e,t)=>{if(47==e.next&&62==e.peek(1)){let n=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(n?5:4,2)}else 62==e.next&&e.acceptToken(4,1)});function aT(e,t,n){let r=2+e.length;return new rP(a=>{for(let i=0,o=0,l=0;;l++){if(a.next<0){l&&a.acceptToken(t);break}if(0==i&&60==a.next||1==i&&47==a.next||i>=2&&i<r&&a.next==e.charCodeAt(i-2))i++,o++;else if(i==r&&62==a.next){l>o?a.acceptToken(t,-o):a.acceptToken(n,-(o-2));break}else if((10==a.next||13==a.next)&&l){a.acceptToken(t,1);break}else i=o=0;a.advance()}})}let aD=aT("script",55,1),aC=aT("style",56,2),a$=aT("textarea",57,3),aP=en({"Text RawText IncompleteTag IncompleteCloseTag":ek.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":ek.angleBracket,TagName:ek.tagName,"MismatchedCloseTag/TagName":[ek.tagName,ek.invalid],AttributeName:ek.attributeName,"AttributeValue UnquotedAttributeValue":ek.attributeValue,Is:ek.definitionOperator,"EntityReference CharacterReference":ek.character,Comment:ek.blockComment,ProcessingInst:ek.processingInstruction,DoctypeDecl:ek.documentMeta}),aI=rH.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:aS,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,22,3
1861,34,37,"CloseTag"],["openedBy",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:[aP],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;
186=`*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:[aD,aC,a$,aA,a_,aE,0,1,2,3,4,5],topRules:{Document:[0,16]},dialects:{noMatch:0,selfClosing:515},tokenPrec:517});function aN(e,t){let n=Object.create(null);for(let r of e.getChildren(24)){let e=r.getChild(25),a=r.getChild(27)||r.getChild(28);e&&(n[t.read(e.from,e.to)]=a?27==a.type.id?t.read(a.from+1,a.to-1):t.read(a.from,a.to):"")}return n}function aU(e,t){let n=e.getChild(23);return n?t.read(n.from,n.to):" "}function aM(e,t,n){let r;for(let a of n)if(!a.attrs||a.attrs(r||(r=aN(e.node.parent.firstChild,t))))return{parser:a.parser,bracketed:!0};return null}function aR(e=[],t=[]){var n;let r=[],a=[],i=[],o=[];for(let t of e)("script"==t.tag?r:"style"==t.tag?a:"textarea"==t.tag?i:o).push(t);let l=t.length?Object.create(null):null;for(let e of t)(l[e.name]||(l[e.name]=[])).push(e);return n=(e,t)=>{let n=e.type.id;if(29==n)return aM(e,t,r);if(32==n)return aM(e,t,a);if(35==n)return aM(e,t,i);if(21==n&&o.length){let n=e.node,r=n.firstChild,a=r&&aU(r,t),i;if(a){for(let e of o)if(e.tag==a&&(!e.attrs||e.attrs(i||(i=aN(r,t))))){let t=n.lastChild,a=38==t.type.id?t.from:n.to;if(a>r.to)return{parser:e.parser,overlay:[{from:r.to,to:a}]}}}}if(l&&24==n){let n=e.node,r;if(r=n.firstChild){let e=l[t.read(r.from,r.to)];if(e)for(let r of e){if(r.tagName&&r.tagName!=aU(n.parent,t))continue;let e=n.lastChild;if(27==e.type.id){let t=e.from+1,n=e.lastChild,a=e.to-(n&&n.isError?0:1);if(a>t)return{parser:r.parser,overlay:[{from:t,to:a}],bracketed:!0}}else if(28==e.type.id)return{parser:r.parser,overlay:[{from:e.from,to:e.to}]}}}}return null},(e,t,r,a)=>new q(e,n,t,r,a)}let aj=[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],aL=new rQ({start:!1,shift:(e,t)=>5==t||6==t||320==t?e:321==t,strict:!1}),aZ=new rP((e,t)=>
186{let{next:n}=e;(125==n||-1==n||t.context)&&e.acceptToken(318)},{contextual:!0,fallback:!0}),aB=new rP((e,t)=>{let{next:n}=e,r;!(aj.indexOf(n)>-1)&&(47==n&&(47==(r=e.peek(1))||42==r)||125==n||59==n||-1==n||t.context||e.acceptToken(316))},{contextual:!0}),az=new rP((e,t)=>{91!=e.next||t.context||e.acceptToken(317)},{contextual:!0}),aF=new rP((e,t)=>{let{next:n}=e;if(43==n||45==n){if(e.advance(),n==e.next){e.advance();let n=!t.context&&t.canShift(1);e.acceptToken(n?1:2)}}else 63==n&&46==e.peek(1)&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(3))},{contextual:!0});function aQ(e,t){return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}let aH=new rP((e,t)=>{if(60!=e.next||!t.dialectEnabled(0)||(e.advance(),47==e.next))return;let n=0;for(;aj.indexOf(e.next)>-1;)e.advance(),n++;if(aQ(e.next,!0)){for(e.advance(),n++;aQ(e.next,!1);)e.advance(),n++;for(;aj.indexOf(e.next)>-1;)e.advance(),n++;if(44==e.next)return;for(let t=0;;t++){if(7==t){if(!aQ(e.next,!0))return;break}if(e.next!="extends".charCodeAt(t))break;e.advance(),n++}}e.acceptToken(4,-n)}),aq=en({"get set async static":ek.modifier,"for while do if else switch try catch finally return throw break continue default case defer":ek.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":ek.operatorKeyword,"let var const using function class extends":ek.definitionKeyword,"import export from":ek.moduleKeyword,"with debugger new":ek.keyword,TemplateString:ek.special(ek.string),super:ek.atom,BooleanLiteral:ek.bool,this:ek.self,null:ek.null,Star:ek.modifier,VariableName:ek.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":ek.function(ek.variableName),VariableDefinition:ek.definition(ek.variableName),Label:ek.labelName,PropertyName:ek.propertyName,PrivatePropertyName:ek.special(ek.propertyName),"CallExpression/MemberExpression/PropertyName":ek.function(ek.propertyName),"FunctionDeclaration/VariableDefinition":ek.function(ek.definition(ek.variableName)),"ClassDeclaration/VariableDefinition":ek.definition(ek.className),"NewExpression/VariableName":ek.className,PropertyDefinition:ek.definition(ek.propertyName),PrivatePropertyDefinition:ek.definition(ek.special(ek.propertyName)),UpdateOp:ek.updateOperator,"LineComment Hashbang":ek.lineComment,BlockComment:ek.blockComment,Number:ek.number,String:ek.string,Escape:ek.escape,ArithOp:ek.arithmeticOperator,LogicOp:ek.logicOperator,BitOp:ek.bitwiseOperator,CompareOp:ek.compareOperator,RegExp:ek.regexp,Equals:ek.definitionOperator,Arrow:ek.function(ek.punctuation),": Spread":ek.punctuation,"( )":ek.paren,"[ ]":ek.squareBracket,"{ }":ek.brace,"InterpolationStart InterpolationEnd":ek.special(ek.brace),".":ek.derefOperator,", ;":ek.separator,"@":ek.meta,TypeName:ek.typeName,TypeDefinition:ek.definition(ek.typeName),"type enum interface implements namespace module declare":ek.definitionKeyword,"abstract global Privacy readonly override":ek.modifier,"is keyof unique infer asserts":ek.operatorKeyword,JSXAttributeValue:ek.attributeValue,JSXText:ek.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":ek.angleBracket,"JSXIdentifier JSXNameSpacedName":ek.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":ek.attributeName,"JSXBuiltin/JSXIdentifier":ek.standard(ek.tagName)}),aV={__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},aW={__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},aX={__proto__:null,"<":193},aY=rH.deserialize({version:14,states:"$F|Q%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+
186oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Il'#IlO1XQ`O'#GsO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JrO6[Q!0MxO'#JsO6uQ`O'#F]O6zQ,UO'#FtOOQ!0Lf'#Ff'#FfO7VO7dO'#FfO9XQMhO'#F|O9`Q`O'#F{OOQ!0Lf'#Js'#JsOOQ!0Lb'#Jr'#JrO9eQ`O'#GwOOQ['#K_'#K_O9pQ`O'#IYO9uQ!0LrO'#IZOOQ['#J`'#J`OOQ['#I_'#I_Q`QlOOQ`QlOOO9}Q!L^O'#DvO:UQlO'#EOO:]QlO'#EQO9kQ`O'#GsO:dQMhO'#CoO:rQ`O'#EnO:}Q`O'#EyO;hQMhO'#FeO;xQ`O'#GsOOQO'#K`'#K`O;}Q`O'#K`O<]Q`O'#G{O<]Q`O'#G|O<]Q`O'#HOO9kQ`O'#HRO=SQ`O'#HUO>kQ`O'#CeO>{Q`O'#HcO?TQ`O'#HiO?TQ`O'#HkO`QlO'#HmO?TQ`O'#HoO?TQ`O'#HrO?YQ`O'#HxO?_Q!0LsO'#IOO%[QlO'#IQO?jQ!0LsO'#ISO?uQ!0LsO'#IUO9uQ!0LrO'#IWO@QQ!0MxO'#CiOASQpO'#DlQOQ`OOO%[QlO'#EQOAjQ`O'#ETO:dQMhO'#EnOAuQ`O'#EnOBQQ!bO'#FeOOQ['#Cg'#CgOOQ!0Lb'#Dq'#DqOOQ!0Lb'#Jv'#JvO%[QlO'#JvOOQO'#Jy'#JyOOQO'#Ih'#IhOCQQpO'#EgOOQ!0Lb'#Ef'#EfOOQ!0Lb'#J}'#J}OC|Q!0MSO'#EgODWQpO'#EWOOQO'#Jx'#JxODlQpO'#JyOEyQpO'#EWODWQpO'#EgPFWO&2DjO'#CbPOOO)CD})CD}OOOO'#I`'#I`OFcO#tO,59UOOQ!0Lh,59U,59UOOOO'#Ia'#IaOFqO&jO,59UOGPQ!L^O'#DcOOOO'#Ic'#IcOGWO#@ItO,59{OOQ!0Lf,59{,59{OGfQlO'#IdOGyQ`O'#JtOIxQ!fO'#JtO+}QlO'#JtOJPQ`O,5:ROJgQ`O'#EpOJtQ`O'#KTOKPQ`O'#KSOKPQ`O'#KSOKXQ`O,5;^OK^Q`O'#KROOQ!0Ln,5:^,5:^OKeQlO,5:^OMcQ!0MxO,5:fONSQ`O,5:nONmQ!0LrO'#KQONtQ`O'#KPO9eQ`O'#KPO! YQ`O'#KPO! bQ`O,5;]O! gQ`O'#KPO!#lQ!fO'#JsOOQ!0Lh'#Ci'#CiO%[QlO'#ESO!$[Q!fO,5:sOOQS'#Jz'#JzOOQO-E<j-E<jO9kQ`O,5=_O!$rQ`O,5=_O!$wQlO,5;ZO!&zQMhO'#EkO!(eQ`O,5;ZO!(jQlO'#DyO!(tQpO,5;dO!(|QpO,5;dO%[QlO,5;dOOQ['#FT'#FTOOQ['#FV'#FVO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eOOQ['#FZ'#FZO!)[QlO,5;tOOQ!0Lf,5;y,5;yOOQ!0Lf,5;z,5;zOOQ!0Lf,5;|,5;|O%[QlO'#IpO!+_Q!0LrO,5<iO%[QlO,5;eO!&zQMhO,5;eO!+|QMhO,5;eO!-nQMhO'#E^O%[QlO,5;wOOQ!0Lf,5;{,5;{O!-uQ,UO'#FjO!.rQ,UO'#KXO!.^Q,UO'#KXO!.yQ,UO'#KXOOQO'#KX'#KXO!/_Q,UO,5<SOOOW,5<`,5<`O!/pQlO'#FvOOOW'#Io'#IoO7VO7dO,5<QO!/wQ,UO'#FxOOQ!0Lf,5<Q,5<QO!0hQ$IUO'#CyOOQ!0Lh'#C}'#C}O!0{O#@ItO'#DRO!1iQMjO,5<eO!1pQ`O,5<hO!3YQ(CWO'#GXO!3jQ`O'#GYO!3oQ`O'#GYO!5_Q(CWO'#G^O!6dQpO'#GbOOQO'#Gn'#GnO!,TQMhO'#GmOOQO'#Gp'#GpO!,TQMhO'#GoO!7VQ$IUO'#JlOOQ!0Lh'#Jl'#JlO!7aQ`O'#JkO!7oQ`O'#JjO!7wQ`O'#CuOOQ!0Lh'#C{'#C{O!8YQ`O'#C}OOQ!0Lh'#DV'#DVOOQ!0Lh'#DX'#DXO!8_Q`O,5<eO1SQ`O'#DZO!,TQMhO'#GPO!,TQMhO'#GRO!8gQ`O'#GTO!8lQ`O'#GUO!3oQ`O'#G[O!,TQMhO'#GaO<]Q`O'#JkO!8qQ`O'#EqO!9`Q`O,5<gOOQ!0Lb'#Cr'#CrO!9hQ`O'#ErO!:bQpO'#EsOOQ!0Lb'#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'#
186K[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
1861G5W1G5WO',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
186(o[O~Op#mO![#iO!|]O#i#lO#j#iO(T<[O!k(sP~P.iO!l#oO(T#nO~O!x#sO!|]O%h#tO~O#k#uO~O!g#vO#k#uO~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!]$_O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa(fX'z(fX'w(fX!k(fX!Y(fX!_(fX%i(fX!g(fX~P1qO#S$dO#`$eO$Q$eOP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX!_(gX%i(gX~Oa(gX'z(gX'w(gX!Y(gX!k(gXv(gX!g(gX~P4UO#`$eO~O$]$hO$_$gO$f$mO~OSfO!_$nO$i$oO$k$qO~Oh%VOj%dOk%dOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T$sO(VTO(YUO(a$uO(y$}O(z%POg(^P~Ol%[O~P7eO!l%eO~O!S%hO!_%iO(T%gO~O!g%mO~Oa%nO'z%nO~O!Q%rO~P%[O(U!lO~P%[O%n%vO~P%[Oh%VO!l%eO(T%gO(U!lO~Oe%}O!l%eO(T%gO~Oj$RO~O!_&PO(T%gO(U!lO(VTO(YUO`)WP~O!Q&SO!l&RO%j&VO&T&WO~P;SO!x#sO~O%s&YO!S)SX!_)SX(T)SX~O(T&ZO~Ol!PO!u&`O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO~Od&eOe&dO!x&bO%h&cO%{&aO~P<bOd&hOeyOl!PO!_&gO!u&`O!xxO!|]O%h}O%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO~Ob&kO#`&nO%j&iO(U!lO~P=gO!l&oO!u&sO~O!l#oO~O!_XO~Oa%nO'x&{O'z%nO~Oa%nO'x'OO'z%nO~Oa%nO'x'QO'z%nO~O'w]X!Y]Xv]X!k]X&[]X!_]X%i]X!g]X~P(qO!b'_O!c'WO!d'WO(U!lO(VTO(YUO~Os'UO!S'TO!['XO(e'SO!^(iP!^(xP~P@nOn'bO!_'`O(T%gO~Oe'gO!l%eO(T%gO~O!Q&SO!l&RO~Os!nO!S!oO!|<VO#T!pO#U!pO#W!pO#X!pO(U!lO(VTO(YUO(e!mO(o!sO~O!b'mO!c'lO!d'lO#V!pO#['nO#]'nO~PBYOa%nOh%VO!g#vO!l%eO'z%nO(r'pO~O!p'tO#`'rO~PChOs!nO!S!oO(VTO(YUO(e!mO(o!sO~O!_XOs(mX!S(mX!b(mX!c(mX!d(mX!|(mX#T(mX#U(mX#V(mX#W(mX#X(mX#[(mX#](mX(U(mX(V(mX(Y(mX(e(mX(o(mX~O!c'lO!d'lO(U!lO~PDWO(P'xO(Q'xO(R'zO~O_!}O(V'|O(W!}O(X'|O~O_#QO(X'|O(Y'|O(Z#QO~Ov(OO~P%[Ox#SO!U#TO(b#TO(c(RO~O![(TO!Y'WX!Y'^X!]'WX!]'^X~P+}O!](VO!Y(hX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!](VO!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~O!Y(hX~PHRO!Y([O~O!Y(uX!](uX!g(uX!k(uX(r(uX~O#`(uX#k#dX!^(uX~PJUO#`(]O!Y(wX!](wX~O!](^O!Y(vX~O!Y(aO~O#`$eO~PJUO!^(bO~P`OR#zO!Q#yO!S#{O!l#xO(aVOP!na[!naj!nar!na!]!na!p!na#R!na#n!na#o!na#p!na#q!na#r!na#s!na#t!na#u!na#v!na#x!na#z!na#{!na(r!na(y!na(z!na~Oa!na'z!na'w!na!Y!na!k!nav!na!_!na%i!na!g!na~PKlO!k(cO~O!g#vO#`(dO(r'pO!](tXa(tX'z(tX~O!k(tX~PNXO!S%hO!_%iO!|]O#i(iO#j(hO(T%gO~O!](jO!k(sX~O!k(lO~O!S%hO!_%iO#j(hO(T%gO~OP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX~O!g#vO!k(gX~P! uOR(nO!Q(mO!l#xO#S$dO!|!{a!S!{a~O!x!{a%h!{a!_!{a#i!{a#j!{a(T!{a~P!#vO!x(rO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~O#k(xO~O![(zO!k(kP~P%[O(e(|O(o[O~O!S)OO!l#xO(e(|O(o[O~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(T)]O(VTO(YUO(aVO(o[O~O!]$_Oa$qa'z$qa'w$qa!k$qa!Y$qa!_$qa%i$qa!g$qa~Ol)dO~P!&zOh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Og(pP~P!,TO!Q)iO!g)hO!_$^X$Z$^X$]$^X$_$^X$f$^X~O!g)hO!_({X$Z({X$]({X$_({X$f({X~O!Q)iO~P!.^O!Q)iO!_({X$Z({X$]({X$_({X$f({X~O!_)kO$Z)oO$])jO$_)jO$f)pO~O![)sO~P!)[O$]$hO$_$gO$f)wO~On$zX!Q$zX#S$zX'y$zX(y$zX(z$zX~OgmXg$zXnmX!]mX#`mX~P!0SOx)yO(b)zO(c)|O~On*VO!Q*OO'y*PO(y$}O(z%PO~Og)}O~P!1WOg*WO~Oh%VOr%XOs$tOt$tOz%YO|%ZO!O<sO!S*YO!_*ZO!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op*`O}O(T&ZO~O!l+SO~O(T(vO~Op+WO!S%hO![#iO!_%iO!|]O#i#lO#j#iO(T%gO!k(sP~O!g#vO#k+XO~O!S%hOTX'z)TX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa!ja!]!ja'z!ja'w!ja!Y!ja!k!jav!ja!_!ja%i!ja!g!ja~P!:tOR#zO!Q#yO!S#{O!l#xO(aVOP!ra[!raj!rar!ra!]!ra!p!ra#R!ra#n!ra#o!ra#p!ra#q!ra#r!ra#s!ra#t!ra#u!ra#v!ra#x!ra#z!ra#{!ra(r!ra(y!ra(z!ra~Oa!ra'z!ra'w!ra!Y!ra!k!rav!ra!_!ra%i!ra!g!ra~P!=[OR#zO!Q#yO!S#{O!l#xO(aVOP!ta[!taj!tar!ta!]!ta!p!ta#R!ta#n!ta#o!ta#p!ta#q!ta#r!ta#s!ta#t!ta#u!ta#v!ta#x!ta#z!ta#{!ta(r!ta(y!ta(z!ta~Oa!ta'z!ta'w!ta!Y!ta!k!tav!ta!_!ta%i!ta!g!ta~P!?rOh%VOn+gO!_'`O%i+fO~O!g+iOa(]X!_(]X'z(]X!](]X~Oa%nO
186!_XO'z%nO~Oh%VO!l%eO~Oh%VO!l%eO(T%gO~O!g#vO#k(xO~Ob+tO%j+uO(T+qO(VTO(YUO!^)XP~O!]+vO`)WX~O[+zO~O`+{O~O!_&PO(T%gO(U!lO`)WP~O%j,OO~P;SOh%VO#`,SO~Oh%VOn,VO!_$|O~O!_,XO~O!Q,ZO!_XO~O%n%vO~O!x,`O~Oe,eO~Ob,fO(T#nO(VTO(YUO!^)VP~Oe%}O~O%j!QO(T&ZO~P=gO[,kO`,jO~OPYOQYOSfOdzOeyOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!iuO!lZO!oYO!pYO!qYO!svO!xxO!|]O$niO%h}O(VTO(YUO(aVO(o[O~O!_!eO!u!gO$W!kO(T!dO~P!FyO`,jOa%nO'z%nO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oa,pOl!OO!uwO%l!OO%m!OO%n!OO~P!IcO!l&oO~O&^,vO~O!_,xO~O&o,zO&q,{OP&laQ&laS&laY&laa&lad&lae&lal&lap&lar&las&lat&laz&la|&la!O&la!S&la!W&la!X&la!_&la!i&la!l&la!o&la!p&la!q&la!s&la!u&la!x&la!|&la$W&la$n&la%h&la%j&la%l&la%m&la%n&la%q&la%s&la%v&la%w&la%y&la&W&la&^&la&`&la&b&la&d&la&g&la&m&la&s&la&u&la&w&la&y&la&{&la'w&la(T&la(V&la(Y&la(a&la(o&la!^&la&e&lab&la&j&la~O(T-QO~Oh!eX!]!RX!^!RX!g!RX!g!eX!l!eX#`!RX~O!]!eX!^!eX~P#!iO!g-VO#`-UOh(jX!]#hX!^#hX!g(jX!l(jX~O!](jX!^(jX~P##[Oh%VO!g-XO!l%eO!]!aX!^!aX~Os!nO!S!oO(VTO(YUO(e!mO~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(VTO(YUO(aVO(o[O~O(T=QO~P#$qO!]-]O!^(iX~O!^-_O~O!g-VO#`-UO!]#hX!^#hX~O!]-`O!^(xX~O!^-bO~O!c-cO!d-cO(U!lO~P#$`O!^-fO~P'_On-iO!_'`O~O!Y-nO~Os!{a!b!{a!c!{a!d!{a#T!{a#U!{a#V!{a#W!{a#X!{a#[!{a#]!{a(U!{a(V!{a(Y!{a(e!{a(o!{a~P!#vO!p-sO#`-qO~PChO!c-uO!d-uO(U!lO~PDWOa%nO#`-qO'z%nO~Oa%nO!g#vO#`-qO'z%nO~Oa%nO!g#vO!p-sO#`-qO'z%nO(r'pO~O(P'xO(Q'xO(R-zO~Ov-{O~O!Y'Wa!]'Wa~P!:tO![.PO!Y'WX!]'WX~P%[O!](VO!Y(ha~O!Y(ha~PHRO!](^O!Y(va~O!S%hO![.TO!_%iO(T%gO!Y'^X!]'^X~O#`.VO!](ta!k(taa(ta'z(ta~O!g#vO~P#,wO!](jO!k(sa~O!S%hO!_%iO#j.ZO(T%gO~Op.`O!S%hO![.]O!_%iO!|]O#i._O#j.]O(T%gO!]'aX!k'aX~OR.dO!l#xO~Oh%VOn.gO!_'`O%i.fO~Oa#ci!]#ci'z#ci'w#ci!Y#ci!k#civ#ci!_#ci%i#ci!g#ci~P!:tOn>]O!Q*OO'y*PO(y$}O(z%PO~O#k#_aa#_a#`#_a'z#_a!]#_a!k#_a!_#_a!Y#_a~P#/sO#k(`XP(`XR(`X[(`Xa(`Xj(`Xr(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X'z(`X(a(`X(r(`X!k(`X!Y(`X'w(`Xv(`X!_(`X%i(`X!g(`X~P!6kO!].tO!k(kX~P!:tO!k.wO~O!Y.yO~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mia#mij#mir#mi!]#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi'z#mi(r#mi(y#mi(z#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#n#mi~P#3cO#n$OO~P#3cOP$[OR#zOr$aO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO[#mia#mij#mi!]#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi'z#mi(r#mi(y#mi(z#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#r#mi~P#6QO#r$QO~P#6QOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO(aVOa#mi!]#mi#x#mi#z#mi#{#mi'z#mi(r#mi(y#mi(z#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#v#mi~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO(aVO(z#}Oa#mi!]#mi#z#mi#{#mi'z#mi(r#mi(y#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#x$UO~P#;VO#x#mi~P#;VO#v$SO~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO(aVO(y#|O(z#}Oa#mi!]#mi#{#mi'z#mi(r#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#z#mi~P#={O#z$WO~P#={OP]XR]X[]Xj]Xr]X!Q]X!S]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X!]]X!^]X~O$O]X~P#@jOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO#x<eO#z<gO#{<hO(aVO(r$YO(y#|O(z#}O~O$O.{O~P#BwO#S$dO#`<nO$Q<nO$O(gX!^(gX~P! uOa'da!]'da'z'da'w'da!k'da!Y'dav'da!_'da%i'da!g'da~P!:tO[#mia#mij#mir#mi!]#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi'z#mi(r#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO(y#mi(z#mi~P#EyOn>]O!Q*OO'y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P#EyO!]/POg(pX~P!1WOg/RO~Oa$Pi!]$Pi'z$Pi'w$Pi!Y$Pi!k$Piv$Pi!_$Pi%i$Pi!g$Pi~P!:tO$]/SO$_/SO~O$]/TO$_/TO~O!g)hO#`/UO!_$cX$Z$cX$]$cX$_$cX$f$cX~O![/VO~O!_)kO$Z/XO$])jO$_)jO$f/YO~O!]<iO!^(fX~P#BwO!^/ZO~O!g)hO$f({X~O$f/]O~Ov/^O~P!&zOx)yO(b)zO(c/aO~O!S/dO~O(y$}On%aa!Q%aa'y%aa(z%aa!]%aa#`%aa~Og%aa$O%aa~P#L{O(z%POn%ca!Q%ca'y%ca(y%ca!]%ca#`%ca~Og%ca$O%ca~P#MnO!]fX!gfX!kfX!k$zX(rfX~P!0SOp%WOPP~P!1uOr*sO!b*qO!c*kO!d*kO!l*bO#[*rO%`*mO(U!lO(VTO(YUO~Os<}O!S/nO![+[O!^*pO(e<|O!^(xP~P$ [O!k/oO~P#/sO!]/pO!g#vO(r'pO!k)OX~O!k/uO~OnoX!QoX'yoX(yoX(zoX~O!g#vO!koX~P$#OOp/wO!S%hO![*^O!_%iO(T%gO!k)OP~O#k/xO~O!Y$zX!]$zX!g%RX~P!0SO!]/yO!Y)PX~P#/sO!g/{O~O!Y/}O~OpkO(T0OO~P.iOh%VOr0TO!g#vO!l%eO(r'pO~O!g+iO~Oa%nO!]0XO'z%nO~O!^0ZO~P!5iO!c0[O!d0[O(U!lO~P#$`Os!nO!S0]O(VTO(YUO(e!mO~O#[0_O~Og%aa!]%aa#`
186%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'
186ka#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'
186ka#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;
186T: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*
186x/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)}
186Q0p+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:aL,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
1860,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:[aq],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&}
186sw%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!}
186#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;
186=`&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:[aB,az,aF,aH,2,3,4,5,6,7,8,9,10,11,12,13,14,aZ,new r$("$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 r$("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=>aV[e]||-1},{term:343,get:e=>aW[e]||-1},{term:95,get:e=>aX[e]||-1}],tokenPrec:15201}),aG=[nz("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),nz("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),nz("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),nz("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),nz("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),nz("try {\n ${}\n} catch (${error}) {\n ${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),nz("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),nz("if (${}) {\n ${}\n} else {\n ${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),nz("class ${name} {\n constructor(${params}) {\n ${}\n }\n}",{label:"class",detail:"definition",type:"keyword"}),nz('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),nz('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],aK=aG.concat([nz("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),nz("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),nz("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),aJ=new j,a0=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function a1(e){return(t,n)=>{let r=t.node.getChild("VariableDefinition");return r&&n(r,e),!0}}let a2=["FunctionDeclaration"],a4={FunctionDeclaration:a1("function"),ClassDeclaration:a1("class"),ClassExpression:()=>!0,EnumDeclaration:a1("constant"),TypeAliasDeclaration:a1("type"),NamespaceDeclaration:a1("namespace"),VariableDefinition(e,t){e.matchContext(a2)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null}
186,a8=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,a6=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function a3(e){let t=eC(e.state).resolveInner(e.pos,-1);if(a6.indexOf(t.name)>-1)return null;let n="VariableName"==t.name||t.to-t.from<20&&a8.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let n=t;n;n=n.parent)a0.has(n.name)&&(r=r.concat(function e(t,n){let r=aJ.get(n);if(r)return r;let a=[],i=!0;function o(e,n){let r=t.sliceString(e.from,e.to);a.push({label:r,type:n})}return n.cursor(l.IncludeAnonymous).iterate(n=>{if(i)i=!1;else if(n.name){let e=a4[n.name];if(e&&e(n,o)||a0.has(n.name))return!1}else if(n.to-n.from>8192){for(let r of e(t,n.node))a.push(r);return!1}}),aJ.set(n,a),a}(e.state.doc,n)));return{options:r,from:n?t.from:e.pos,validFor:a8}}let a5=eD.define({name:"javascript",parser:aY.configure({props:[eq.add({IfStatement:eK({except:/^\s*({|else\b)/}),TryStatement:eK({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:e=>e.baseIndent,SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:eY({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":eK({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}),e0.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":e1,BlockComment:e=>({from:e.from+2,to:e.to-2}),JSXElement(e){let t=e.firstChild;if(!t||"JSXSelfClosingTag"==t.name)return null;let n=e.lastChild;return{from:t.to,to:n.type.isError?e.to:n.from}},"JSXSelfClosingTag JSXOpenTag"(e){var t;let n=null===(t=e.firstChild)||void 0===t?void 0:t.nextSibling,r=e.lastChild;return!n||n.type.isError?null:{from:n.to,to:r.type.isError?e.to:r.from}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),a7={test:e=>/^JSX/.test(e.name),facet:e_({commentTokens:{block:{open:"{/*",close:"*/}"}}})},a9=a5.configure({dialect:"ts"},"typescript"),ie=a5.configure({dialect:"jsx",props:[eE.add(e=>e.isTop?[a7]:void 0)]}),it=a5.configure({dialect:"jsx ts",props:[eE.add(e=>e.isTop?[a7]:void 0)]},"typescript"),ir=e=>({label:e,type:"keyword"}),ia="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(ir),ii=ia.concat(["declare","implements","private","protected","public"].map(ir));function io(e,t,n=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,n));return""}let il="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),is=c.tk.inputHandler.of((e,t,n,r,a)=>{if((il?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!a5.isActiveAt(e.state,t,-1))return!1;let i=a(),{state:o}=i,l=o.changeByRange(e=>{var t;let{head:n}=e,a=eC(o).resolveInner(n-1,-1),i;if("JSXStartTag"==a.name&&(a=a.parent),o.doc.sliceString(n-1,n)!=r||"JSXAttributeValue"==a.name&&a.to>n);else if(">"==r&&"JSXFragmentTag"==a.name)return{range:e,changes:{from:n,insert:"</>"}};else if("/"==r&&"JSXStartCloseTag"==a.name){let e=a.parent,r=e.parent;if(r&&e.from==n-2&&((i=io(o.doc,r.firstChild,n))||(null===(t=r.firstChild)||void 0===t?void 0:t.name)=="JSXFragmentTag")){let e=`${i}>`;return{range:u.jT.cursor(n+e.length,-1),changes:{from:n,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}}(a);if(t&&"JSXOpenTag"==t.name&&!/^\/?>|^<\//.test(o.doc.sliceString(n,n+2))&&(i=io(o.doc,t,n)))return{range:e,changes:{from:n,insert:`</${i}>`}}}return{range:e}});return!l.changes.empty&&(e.dispatch([i,o.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),iu=["_blank","_self","_top","_parent"],ic=["ascii","utf-8","utf-16","latin1","latin1"],id=["get","post","put","delete"],ip=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],im=["true","false"],ih={},ig={a:{attrs:{href:null,ping:null,type:null,media:null,target:iu,hreflang:null}},abbr:ih,address:ih,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:ih,aside:ih,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:ih,base:{attrs:{href:null,target:iu}},bdi:ih,bdo:ih,blockquote:{attrs:{cite:null}},body:ih,br:ih,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:ip,formmethod:id,formnovalidate:["novalidate"],formtarget:iu,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:ih,center:ih,cite:ih,code:ih,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:ih,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:ih,div:ih,dl:ih,dt:ih,em:ih,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:ih,figure:ih,footer:ih,form:{attrs:{action:null,name:null,"accept-charset":ic,autocomplete:["on","off"],enctype:ip,method:id,novalidate:["novalidate"],target:iu}},h1:ih,h2:ih,h3:ih,h4:ih,h5:ih,h6:ih,head:{children:["title","base","link","style","meta","script","noscript","command"]}
vendor: 5,624 bytes, line 186
186,header:ih,hgroup:ih,hr:ih,html:{attrs:{manifest:null}},i:ih,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:ip,formmethod:id,formnovalidate:["novalidate"],formtarget:iu,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:ih,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:ih,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:ih,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:ic,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:ih,noscript:ih,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:ih,param:{attrs:{name:null,value:null}},pre:ih,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:ih,rt:ih,ruby:ih,samp:ih,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:ic}},section:ih,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:ih,source:{attrs:{src:null,type:null,media:null}},span:ih,strong:ih,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:ih,summary:ih,sup:ih,table:ih,tbody:ih,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:ih,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:ih,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:ih,time:{attrs:{datetime:null}},title:ih,tr:ih,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:ih,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:ih},iv={accesskey:null,class:null,contenteditable:im,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:im,autocorrect:im,autocapitalize:im,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":im,"aria-autocomplete":["inline","list","both","none"],"aria-busy":im,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":im,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":im,"aria-hidden":im,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":im,"aria-multiselectable":im,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":im,"aria-relevant":null,"aria-required":im,"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},iy="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".
186split(" ").map(e=>"on"+e);for(let e of iy)iv[e]=null;class ib{constructor(e,t){this.tags={...ig,...e},this.globalAttrs={...iv,...t},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function iO(e,t,n=e.length){if(!t)return"";let r=t.firstChild,a=r&&r.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,n)):""}function iw(e,t=!1){for(;e;e=e.parent)if("Element"==e.name){if(!t)return e;t=!1}return null}function ik(e,t,n){let r=n.tags[iO(e,iw(t))];return(null==r?void 0:r.children)||n.allTags}function ix(e,t){let n=[];for(let r=iw(t);r&&!r.type.isTop;r=iw(r.parent)){let a=iO(e,r);if(a&&"CloseTag"==r.lastChild.name)break;a&&0>n.indexOf(a)&&("EndTag"==t.name||t.from>=r.firstChild.to)&&n.push(a)}return n}ib.default=new ib;let iS=/^[:\-\.\w\u00b7-\uffff]*$/;function i_(e,t,n,r,a){let i=/\s*>/.test(e.sliceDoc(a,a+5))?"":">",o=iw(n,"StartTag"==n.name||"TagName"==n.name);return{from:r,to:a,options:ik(e.doc,o,t).map(e=>({label:e,type:"type"})).concat(ix(e.doc,n).map((e,t)=>({label:"/"+e,apply:"/"+e+i,type:"type",boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function iE(e,t,n,r){let a=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,options:ix(e.doc,t).map((e,t)=>({label:e,apply:e+a,type:"type",boost:99-t})),validFor:iS}}let iA=a5.parser.configure({top:"SingleExpression"}),iT=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,parser:a9.parser},{tag:"script",attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:ie.parser},{tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:it.parser},{tag:"script",attrs:e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type),parser:iA},{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:a5.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:ad.parser}],iD=[{name:"style",parser:ad.parser.configure({top:"Styles"})}].concat(iy.map(e=>({name:e,parser:a5.parser}))),iC=eD.define({name:"html",parser:aI.configure({props:[eq.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,n;for(let n=e.node;;){let e=n.lastChild;if(!e||"Element"!=e.name||e.to!=n.to)break;t=n=e}return t&&!((n=t.lastChild)&&("CloseTag"==n.name||"SelfClosingTag"==n.name))?e.lineIndent(t.from)+e.unit:null}}),e0.add({Element(e){let t=e.firstChild,n=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}}),t_.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),i$=iC.configure({wrap:aR(iT,iD)}),iP=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),iI=c.tk.inputHandler.of((e,t,n,r,a)=>{if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!i$.isActiveAt(e.state,t,-1))return!1;let i=a(),{state:o}=i,l=o.changeByRange(e=>{var t,n,a;let i=o.doc.sliceString(e.from-1,e.to)==r,{head:l}=e,s=eC(o).resolveInner(l,-1),c;if(i&&">"==r&&"EndTag"==s.name){let r=s.parent;if((null===(n=null===(t=r.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)!="CloseTag"&&(c=iO(o.doc,r.parent,l))&&!iP.has(c)){let t=l+(">"===o.doc.sliceString(l,l+1)?1:0);return{range:e,changes:{from:l,to:t,insert:`</${c}>`}}}}else if(i&&"/"==r&&"IncompleteCloseTag"==s.name){let e=s.parent;if(s.from==l-2&&(null===(a=e.lastChild)||void 0===a?void 0:a.name)!="CloseTag"&&(c=iO(o.doc,e,l))&&!iP.has(c)){let e=l+(">"===o.doc.sliceString(l,l+1)?1:0),t=`${c}>`;return{range:u.jT.cursor(l+t.length,-1),changes:{from:l,to:e,insert:t}}}}return{range:e}});return!l.changes.empty&&(e.dispatch([i,o.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),iN=en({String:ek.string,Number:ek.number,"True False":ek.bool,PropertyName:ek.propertyName,Null:ek.null,", :":ek.separator,"[ ]":ek.squareBracket,"{ }":ek.brace}),iU=rH.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:[iN],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}),iM=eD.define({name:"json",parser:iU.configure({props:[eq.add({Object:eK({except:/^\s*\}/}),Array:eK({except:/^\s*\]/})}),e0.add({"Object Array":e1})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}}),iR=null,ij=null,iL=0;function iZ(e,t){var n;let r=e.pos+t;if(ij==e&&iL==r)return iR;for(;9==(n=e.peek(t))||10==n||13==n||32==n;)t++;let a="";for(;;){let n=e.peek(t);if(!(45==n||46==n||58==n||n>=65&&n<=90||95==n||n>=97&&n<=122||n>=161))break;a+=String.fromCharCode(n),t++}return ij=e,iL=r,iR=a||null}function iB(e,t){this.name=e,this.parent=t}let iz=new rQ({start:null,shift:(e,t,n,r)=>1==t?new iB(iZ(r,1)||"",e):e,reduce:(e,t)=>11==t&&e?e.parent:e,reuse(e,t,n,r){let a=t.type.id;return 1==a||13==a?new iB(iZ(r,1)||"",e):e},strict:!1}),iF=new rP((e,t)=>
186{if(60==e.next){if(e.advance(),47==e.next){e.advance();let n=iZ(e,0);if(!n)return e.acceptToken(5);if(t.context&&n==t.context.name)return e.acceptToken(2);for(let r=t.context;r;r=r.parent)if(r.name==n)return e.acceptToken(3,-2);e.acceptToken(4)}else if(33!=e.next&&63!=e.next)return e.acceptToken(1)}},{contextual:!0});function iQ(e,t){return new rP(n=>{let r=0,a=t.charCodeAt(0);t:for(;!(n.next<0);n.advance(),r++)if(n.next==a){for(let e=1;e<t.length;e++)if(n.peek(e)!=t.charCodeAt(e))continue t;break}r&&n.acceptToken(e)})}let iH=iQ(36,"-->"),iq=iQ(37,"?>"),iV=iQ(38,"]]>"),iW=en({Text:ek.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":ek.angleBracket,TagName:ek.tagName,"MismatchedCloseTag/TagName":[ek.tagName,ek.invalid],AttributeName:ek.attributeName,AttributeValue:ek.attributeValue,Is:ek.definitionOperator,"EntityReference CharacterReference":ek.character,Comment:ek.blockComment,ProcessingInst:ek.processingInstruction,DoctypeDecl:ek.documentMeta,Cdata:ek.special(ek.string)}),iX=rH.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:iz,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["o
186penedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"],["isolate",-6,13,18,19,21,22,24,""]],propSources:[iW],skippedNodes:[0],repeatNodeCount:9,tokenData:
vendor: 4,444 bytes, line 186
186"!)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",
186tokenizers:[iF,iH,iq,iV,0,1,2,3,4],topRules:{Document:[0,6]},tokenPrec:0});function iY(e,t){let n=t&&t.getChild("TagName");return n?e.sliceString(n.from,n.to):""}function iG(e,t){let n=t&&t.firstChild;return n&&"OpenTag"==n.name?iY(e,n):""}function iK(e){for(let t=e&&e.parent;t;t=t.parent)if("Element"==t.name)return t;return null}class iJ{constructor(e,t,n){this.attrs=t,this.attrValues=n,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 i0=/^[:\-\.\w\u00b7-\uffff]*$/;function i1(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function i2(e){return"string"==typeof e?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}let i4=eD.define({name:"xml",parser:iX.configure({props:[eq.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}),e0.add({Element(e){let t=e.firstChild,n=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}}),t_.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/$/}});function i8(e,t,n=e.length){if(!t)return"";let r=t.firstChild,a=r&&r.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,n)):""}let i6=c.tk.inputHandler.of((e,t,n,r,a)=>{if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!i4.isActiveAt(e.state,t,-1))return!1;let i=a(),{state:o}=i,l=o.changeByRange(e=>{var t,n,a;let{head:i}=e,l=o.doc.sliceString(i-1,i)==r,s=eC(o).resolveInner(i,-1),c;if(l&&">"==r&&"EndTag"==s.name){let r=s.parent;if((null===(n=null===(t=r.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)!="CloseTag"&&(c=i8(o.doc,r.parent,i))){let t=i+(">"===o.doc.sliceString(i,i+1)?1:0);return{range:e,changes:{from:i,to:t,insert:`</${c}>`}}}}else if(l&&"/"==r&&"StartCloseTag"==s.name){let e=s.parent;if(s.from==i-2&&(null===(a=e.lastChild)||void 0===a?void 0:a.name)!="CloseTag"&&(c=i8(o.doc,e,i))){let e=i+(">"===o.doc.sliceString(i,i+1)?1:0),t=`${c}>`;return{range:u.jT.cursor(i+t.length,-1),changes:{from:i,to:e,insert:t}}}}return{range:e}});return!l.changes.empty&&(e.dispatch([i,o.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});class i3{constructor(e,t,n){this.parent=e,this.depth=t,this.type=n,this.hash=(e?e.hash+e.hash<<8:0)+t+(t<<4)+n}}function i5(e,t){for(let n=0,r=t-e.pos-1;;r--,n++){let t=e.peek(r);if(i9(t)||-1==t)return n}}function i7(e){return 32==e||9==e}function i9(e){return 10==e||13==e}function oe(e){var t;return e<0||i7(t=e)||i9(t)}i3.top=new i3(null,-1,0);let ot=new rQ({start:i3.top,reduce:(e,t)=>3==e.type&&(20==t||34==t)?e.parent:e,shift(e,t,n,r){if(3==t)return new i3(e,i5(r,r.pos),1);if(65==t||5==t)return new i3(e,i5(r,r.pos),2);if(63==t)return e.parent;if(19==t||33==t)return new i3(e,0,3);if(13==t&&4==e.type)return e.parent;if(47==t){let t=/[1-9]/.exec(r.read(r.pos,n.pos));if(t)return new i3(e,e.depth+ +t[0],4)}return e},hash:e=>e.hash});function on(e,t,n=0){return e.peek(n)==t&&e.peek(n+1)==t&&e.peek(n+2)==t&&oe(e.peek(n+3))}let or=new rP((e,t)=>
186{if(-1==e.next&&t.canShift(64))return e.acceptToken(64);let n=e.peek(-1);if((i9(n)||n<0)&&3!=t.context.type){if(on(e,45)){if(!t.canShift(63))return e.acceptToken(1,3);e.acceptToken(63)}if(on(e,46)){if(!t.canShift(63))return e.acceptToken(2,3);e.acceptToken(63)}let n=0;for(;32==e.next;)n++,e.advance();!(n<t.context.depth)&&(n!=t.context.depth||1!=t.context.type||45==e.next&&oe(e.peek(1)))||-1==e.next||i9(e.next)||35==e.next||e.acceptToken(63,-n)}},{contextual:!0}),oa=new rP((e,t)=>{if(3==t.context.type){63==e.next&&(e.advance(),oe(e.next)&&e.acceptToken(7));return}if(45==e.next)e.advance(),oe(e.next)&&e.acceptToken(1==t.context.type&&t.context.depth==i5(e,e.pos-1)?4:3);else if(63==e.next)e.advance(),oe(e.next)&&e.acceptToken(2==t.context.type&&t.context.depth==i5(e,e.pos-1)?6:5);else{let n=e.pos;for(;;)if(i7(e.next)){if(e.pos==n)return;e.advance()}else if(33==e.next)ol(e);else if(38==e.next)os(e);else if(42==e.next){os(e);break}else if(39==e.next||34==e.next){if(ou(e,!0))break;return}else if(91==e.next||123==e.next){if(!function(e){for(let t=[],n=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(!ou(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>n||i9(e.next))return!1;e.advance()}}(e))return;break}else{op(e,!0,!1,0);break}for(;i7(e.next);)e.advance();if(58==e.next){if(e.pos==n&&t.canShift(29))return;oe(e.peek(1))&&e.acceptTokenTo(2==t.context.type&&t.context.depth==i5(e,n)?66:65,n)}}},{contextual:!0});function oi(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function oo(e,t){var n;return 37==e.next?(e.advance(),oi(e.next)&&e.advance(),oi(e.next)&&e.advance(),!0):((n=e.next)>32&&n<127&&34!=n&&37!=n&&44!=n&&60!=n&&62!=n&&92!=n&&94!=n&&96!=n&&123!=n&&124!=n&&125!=n||!!t&&44==e.next)&&(e.advance(),!0)}function ol(e){if(e.advance(),60==e.next){for(e.advance();;)if(!oo(e,!0)){62==e.next&&e.advance();break}}else for(;oo(e,!1););}function os(e){for(e.advance();!oe(e.next)&&"f"!=oc(e.next);)e.advance()}function ou(e,t){let n=e.next,r=!1,a=e.pos;for(e.advance();;){let i=e.next;if(i<0)break;if(e.advance(),i==n){if(39==i){if(39==e.next)e.advance();else break}else break}else if(92==i&&34==n)e.next>=0&&e.advance();else if(i9(i)){if(t)return!1;r=!0}else if(t&&e.pos>=a+1024)return!1}return!r}function oc(e){return e<33?"u":e>125?"s":"iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif"[e-33]}function od(e,t){let n=oc(e);return"u"!=n&&!(t&&"f"==n)}function op(e,t,n,r){if(!("s"==oc(e.next)||(63==e.next||58==e.next||45==e.next)&&od(e.peek(1),n)))return!1;e.advance();let a=e.pos;for(;;){var i;let o=e.next,l=0,s=r+1;for(;i7(i=o)||i9(i);){if(i9(o)){if(t)return!1;s=0}else s++;o=e.peek(++l)}if(!(o>=0&&(58==o?od(e.peek(l+1),n):35==o?32!=e.peek(l-1):od(o,n)))||!n&&s<=r||0==s&&!n&&(on(e,45,l)||on(e,46,l)))break;if(t&&"f"==oc(o))return!1;for(let t=l;t>=0;t--)e.advance();if(t&&e.pos>a+1024)return!1}return!0}let om=new rP((e,t)=>
186{if(33==e.next)ol(e),e.acceptToken(12);else if(38==e.next||42==e.next){let t=38==e.next?10:11;os(e),e.acceptToken(t)}else 39==e.next||34==e.next?(ou(e,!1),e.acceptToken(9)):op(e,!1,3==t.context.type,t.context.depth)&&e.acceptToken(8)}),of=new rP((e,t)=>{let n=4==t.context.type?t.context.depth:-1,r=e.pos;t:for(;;){let a=0,i=e.next;for(;32==i;)i=e.peek(++a);if(!a&&(on(e,45,a)||on(e,46,a))||!i9(i)&&(n<0&&(n=Math.max(t.context.depth+1,a)),a<n))break;for(;;){if(e.next<0)break t;let t=i9(e.next);if(e.advance(),t)continue t;r=e.pos}}e.acceptTokenTo(13,r)}),oh=en({DirectiveName:ek.keyword,DirectiveContent:ek.attributeValue,"DirectiveEnd DocEnd":ek.meta,QuotedLiteral:ek.string,BlockLiteralHeader:ek.special(ek.string),BlockLiteralContent:ek.content,Literal:ek.content,"Key/Literal Key/QuotedLiteral":ek.definition(ek.propertyName),"Anchor Alias":ek.labelName,Tag:ek.typeName,Comment:ek.lineComment,": , -":ek.separator,"?":ek.punctuation,"[ ]":ek.squareBracket,"{ }":ek.brace}),og=rH.deserialize({version:14,states:"5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#CrO*nQdO'#CtOOQO'#Dw'#DwO+]Q`O'#CxO+hQdO'#CwO+rQ`O'#CwOOQO'#Cv'#CvO+wQdO'#CvOOQO'#Cq'#CqO,UQ`O,59[O,^QfO,59[OOQR,59[,59[OOQO'#Cx'#CxO,eQ`O'#DPO,pQdO'#DPOOQO'#Dx'#DxO,zQdO'#DxO-XQ`O,59jO-aQfO,59jOOQR,59j,59jOOQR'#DS'#DSO-hQcO,59mO-sQgO'#DVO.TQ`O'#DVO.YQcO,59pOOQR'#DX'#DXO#|QfO'#DWO.hQcO'#DWOOQR,59v,59vO.yOWO,59vO/OOaO,59vO/WOaO,59vO/cQgO'#D_OOQR,59x,59xO0VQgO'#DaOOQR,59z,59zOOQP,59|,59|O0yOaO,59|O1ROaO,59|O1aOqO,59|OOQP-E7h-E7hO1oQgO,59XOOQP,59X,59XO2PQaO'#DeO2_QgO'#DeO2oQgO'#DkOOQP'#Dk'#DkQ)jQaOOO3PQdO'#CsOOQO,59^,59^O3kQdO'#CuOOQO,59`,59`OOQO,59c,59cO4VQdO,59cO4aQdO'#CzO4kQ`O'#CzOOQO,59b,59bOOQU,5:Q,5:QOOQR1G.v1G.vO4pQ`O1G.vOOQU-E7d-E7dO4xQdO,59kOOQO,59k,59kO5SQdO'#DQO5^Q`O'#DQOOQO,5:d,5:dOOQU,5:R,5:ROOQR1G/U1G/UO5cQ`O1G/UOOQU-E7e-E7eO5kQgO'#DhO5xQcO1G/XOOQR1G/X1G/XOOQR,59q,59qO6TQgO,59qO6eQdO'#DiO6lQgO'#DiO7PQcO1G/[OOQR1G/[1G/[OOQR,59r,59rO#|QfO,59rOOQR1G/b1G/bO7_OWO1G/bO7dOaO1G/bOOQR,59y,59yOOQR,59{,59{OOQP1G/h1G/hO7lOaO1G/hO7tOaO1G/hO8POaO1G/hOOQP1G.s1G.sO8_QgO,5:POOQP,5:P,5:POOQP,5:V,5:VOOQP-E7i-E7iOOQO,59_,59_OOQO,59a,59aOOQO1G.}1G.}OOQO,59f,59fO8oQdO,59fOOQR7+$b7+$bP,XQ`O'#DfOOQO1G/V1G/VOOQO,59l,59lO8yQdO,59lOOQR7+$p7+$pP9TQ`O'#DgOOQR'#DT'#DTOOQR,5:S,5:SOOQR-E7f-E7fOOQR7+$s7+$sOOQR1G/]1G/]O9YQgO'#DYO9jQ`O'#DYOOQR,5:T,5:TO#|QfO'#DZO9oQcO'#DZOOQR-E7g-E7gOOQR7+$v7+$vOOQR1G/^1G/^OOQR7+$|7+$|O:QOWO7+$|OOQP7+%S7+%SO:VOaO7+%SO:_OaO7+%SOOQP1G/k1G/kOOQO1G/Q1G/QOOQO1G/W1G/WOOQR,59t,59tO:jQgO,59tOOQR,59u,59uO#|QfO,59uOOQR<<Hh<<HhOOQP<<Hn<<HnO:zOaO<<HnOOQR1G/`1G/`OOQR1G/a1G/aOOQPAN>YAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!j
186hQ#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:ot,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[oh],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:[or,oa,om,of,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),ov=eD.define({name:"yaml",parser:og.configure({props:[eq.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 n=e.column(t.from,1);if(n==e.lineIndent(t.from,1))return n;if(t.to>e.pos)break}}return null},FlowMapping:eY({closing:"}"}),FlowSequence:eY({closing:"]"})}),e0.add({"FlowMapping FlowSequence":e1,"Item Pair BlockLiteral":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function oy(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var a=n[r];"string"==typeof a?e.setAttribute(r,a):null!=a&&(e[r]=a)}t++}for(;t<arguments.length;t++)!function e(t,n){if("string"==typeof n)t.appendChild(document.createTextNode(n));else if(null==n);else if(null!=n.nodeType)t.appendChild(n);else if(Array.isArray(n))for(var r=0;r<n.length;r++)e(t,n[r]);else throw RangeError("Unsupported child node: "+n)}(e,arguments[t]);return e}ek.meta;class ob{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class oO{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let r=n.facet(oC).markerFilter;r&&(e=r(e,n));let a=e.slice().sort((e,t)=>e.from-t.from||e.to-t.to),i=new u.f_,o=[],l=0,s=n.doc.iter(),d=0,p=n.doc.length;for(let e=0;;){let t,n,r=e==a.length?null:a[e];if(!r&&!o.length)break;if(o.length)t=l,n=o.reduce((e,t)=>Math.min(e,t.to),r&&r.from>t?r.from:1e8);else{if((t=r.from)>p)break;n=r.to,o.push(r),e++}for(;e<a.length;){let r=a[e];if(r.from==t&&(r.to>r.from||r.to==t))o.push(r),e++,n=Math.min(r.to,n);else{n=Math.min(r.from,n);break}}n=Math.min(n,p);let u=!1;if(o.some(e=>e.from==t&&(e.to==n||n==p))&&!(u=t==n)&&n-t<10){let e=t-(d+s.value.length);e>0&&(s.next(e),d=t);for(let e=t;;){if(e>=n){u=!0;break}if(!s.lineBreak&&d+s.value.length>e)break;e=d+s.value.length,d+=s.value.length,s.next()}}let m=function(e){let t="hint",n=1;for(let a of e){var r;let e="error"==(r=a.severity)?4:"warning"==r?3:"info"==r?2:1;e>n&&(n=e,t=a.severity)}return t}(o);if(u)i.add(t,t,c.p.widget({widget:new oN(m),diagnostics:o.slice()}));else{let e=o.reduce((e,t)=>
186t.markClass?e+" "+t.markClass:e,"");i.add(t,n,c.p.mark({class:"cm-lintRange cm-lintRange-"+m+e,diagnostics:o.slice(),inclusiveEnd:o.some(e=>e.to>n)}))}if((l=n)==p)break;for(let e=0;e<o.length;e++)o[e].to<=l&&o.splice(e--,1)}let m=i.finish();return new oO(m,t,ow(m))}}function ow(e,t=null,n=0){let r=null;return e.between(n,1e9,(e,n,{spec:a})=>{if(!(t&&0>a.diagnostics.indexOf(t))){if(r){if(0>a.diagnostics.indexOf(r.diagnostic))return!1;r=new ob(r.from,n,r.diagnostic)}else r=new ob(e,n,t||a.diagnostics[0])}}),r}function ok(e,t){let n=t.pos,r=t.end||n,a=e.state.facet(oC).hideOn(e,n,r);if(null!=a)return a;let i=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(e=>e.is(ox))||e.changes.touchesRange(i.from,Math.max(i.to,r)))}let ox=u.Py.define(),oS=u.Py.define(),o_=u.Py.define(),oE=u.QQ.define({create:()=>new oO(c.p.none,null,null),update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),r=null,a=e.panel;if(e.selected){let a=t.changes.mapPos(e.selected.from,1);r=ow(n,e.selected.diagnostic,a)||ow(n,null,a)}!n.size&&a&&t.state.facet(oC).autoPanel&&(a=null),e=new oO(n,a,r)}for(let n of t.effects)if(n.is(ox)){let r=t.state.facet(oC).autoPanel?n.value.length?oM.open:null:e.panel;e=oO.init(n.value,r,t.state)}else n.is(oS)?e=new oO(e.diagnostics,n.value?oM.open:null,e.selected):n.is(o_)&&(e=new oO(e.diagnostics,e.panel,n.value));return e},provide:e=>[c.mH.from(e,e=>e.panel),c.tk.decorations.from(e,e=>e.diagnostics)]}),oA=c.p.mark({class:"cm-lintRange cm-lintRange-active"}),oT=e=>{let t=e.state.field(oE,!1);return!!t&&!!t.panel&&(e.dispatch({effects:oS.of(!1)}),!0)},oD=c.lg.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(oC);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(oC);t.length&&function(e,t,n){let r=[],a=-1;for(let i of e)i.then(n=>{r.push(n),clearTimeout(a),r.length==e.length?t(r):a=setTimeout(()=>t(r),200)},n)}(t.map(e=>Promise.resolve(e(this.view))),t=>{if(this.view.state.doc==e.doc){var n,r,a;this.view.dispatch((n=this.view.state,r=t.reduce((e,t)=>e.concat(t)),{effects:(a=[ox.of(r)],n.field(oE,!1)?a:a.concat(u.Py.appendConfig.of(oZ)))}))}},e=>{(0,c.OO)(this.view.state,e)})}}update(e){let t=e.state.facet(oC);(e.docChanged||t!=e.startState.facet(oC)||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)}}),oC=u.r$.define({combine:e=>({sources:e.map(e=>e.source).filter(e=>null!=e),...(0,u.BO)(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:o$,tooltipFilter:o$,needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t,hideOn:(e,t)=>e?t?(n,r,a)=>e(n,r,a)||t(n,r,a):e:t,autoPanel:(e,t)=>e||t})})});function o$(e,t){return e?t?(n,r)=>t(e(n,r),r):e:t}function oP(e){let t=[];if(e)r:for(let{name:n}of e){for(let e=0;e<n.length;e++){let r=n[e];if(/[a-zA-Z]/.test(r)&&!t.some(e=>e.toLowerCase()==r.toLowerCase())){t.push(r);continue r}}t.push("")}return t}function oI(e,t,n){var r;let a=n?oP(t.actions):[];return oy("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},oy("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),null===(r=t.actions)||void 0===r?void 0:r.map((n,r)=>{let i=!1,o=r=>{if(r.preventDefault(),i)return;i=!0;let a=ow(e.state.field(oE).diagnostics,t);a&&n.apply(e,a.from,a.to)},{name:l}=n,s=a[r]?l.indexOf(a[r]):-1,u=s<0?l:[l.slice(0,s),oy("u",l.slice(s,s+1)),l.slice(s+1)];return oy("button",{type:"button",class:"cm-diagnosticAction"+(n.markClass?" "+n.markClass:""),onclick:o,onmousedown:o,"aria-label":` Action: ${l}${s<0?"":` (access key "${a[r]})"`}.`},u)}),t.source&&oy("div",{class:"cm-diagnosticSource"},t.source))}class oN extends c.l9{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return oy("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class oU{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=oI(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class oM{constructor(e){this.view=e,this.items=[],this.list=oy("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t=>{if(!t.ctrlKey&&!t.altKey&&!t.metaKey){if(27==t.keyCode)oT(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:n}=this.items[this.selectedIndex],r=oP(n.actions);for(let a=0;a<r.length;
186a++)if(r[a].toUpperCase().charCodeAt(0)==t.keyCode){let t=ow(this.view.state.field(oE).diagnostics,n);t&&n.actions[a].apply(e,t.from,t.to)}}t.preventDefault()}},onclick:e=>{for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)}}),this.dom=oy("div",{class:"cm-panel-lint"},this.list,oy("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>oT(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(oE).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(oE),n=0,r=!1,a=null,i=new Set;for(e.between(0,this.view.state.doc.length,(e,o,{spec:l})=>{for(let e of l.diagnostics){if(i.has(e))continue;i.add(e);let o=-1,l;for(let t=n;t<this.items.length;t++)if(this.items[t].diagnostic==e){o=t;break}o<0?(l=new oU(this.view,e),this.items.splice(n,0,l),r=!0):(l=this.items[o],o>n&&(this.items.splice(n,o-n),r=!0)),t&&l.diagnostic==t.diagnostic?l.dom.hasAttribute("aria-selected")||(l.dom.setAttribute("aria-selected","true"),a=l):l.dom.hasAttribute("aria-selected")&&l.dom.removeAttribute("aria-selected"),n++}});n<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 oU(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),r=!0),a?(this.list.setAttribute("aria-activedescendant",a.id),this.view.requestMeasure({key:this,read:()=>({sel:a.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let n=t.height/this.list.offsetHeight;e.top<t.top?this.list.scrollTop-=(t.top-e.top)/n:e.bottom>t.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/n)}})):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 n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=ow(this.view.state.field(oE).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:o_.of(t)})}static open(e){return new oM(e)}}function oR(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 oj=c.tk.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:oR("#d11")},".cm-lintRange-warning":{backgroundImage:oR("orange")},".cm-lintRange-info":{backgroundImage:oR("#999")},".cm-lintRange-hint":{backgroundImage:oR("#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"}}});c.SJ;let oL=u.Py.define(),oZ=[oE,c.tk.decorations.compute([oE],e=>{let{selected:t,panel:n}=e.field(oE);return t&&n&&t.from!=t.to?c.p.set([oA.range(t.from,t.to)]):c.p.none}),(0,c.bF)(function(e,t,n){let{diagnostics:r}=e.state.field(oE),a,i=-1,o=-1;r.between(t-(n<0?1:0),t+(n>0?1:0),(e,r,{spec:l})=>
186{if(t>=e&&t<=r&&(e==r||(t>e||n>0)&&(t<r||n<0)))return a=l.diagnostics,i=e,o=r,!1});let l=e.state.facet(oC).tooltipFilter;return(a&&l&&(a=l(a,e.state)),a)?{pos:i,end:o,above:e.state.doc.lineAt(i).to<o,create:()=>{var t;return{dom:(t=e,oy("ul",{class:"cm-tooltip-lint"},a.map(e=>oI(t,e,!1))))}}}:null},{hideOn:ok}),oj];var oB=n(72909),oz=n(82589);let oF=(({theme:e,settings:t={},styles:n=[]})=>{let r={".cm-gutters":{}},a={};t.background&&(a.backgroundColor=t.background),t.backgroundImage&&(a.backgroundImage=t.backgroundImage),t.foreground&&(a.color=t.foreground),t.fontSize&&(a.fontSize=t.fontSize),(t.background||t.foreground)&&(r["&"]=a),t.fontFamily&&(r["&.cm-editor .cm-scroller"]={fontFamily:t.fontFamily}),t.gutterBackground&&r[".cm-gutters"]&&(r[".cm-gutters"].backgroundColor=t.gutterBackground),t.gutterForeground&&r[".cm-gutters"]&&(r[".cm-gutters"].color=t.gutterForeground),t.gutterBorder&&r[".cm-gutters"]&&(r[".cm-gutters"].borderRightColor=t.gutterBorder),t.caret&&(r[".cm-content"]={caretColor:t.caret},r[".cm-cursor, .cm-dropCursor"]={borderLeftColor:t.caret});let i={};return t.gutterActiveForeground&&(i.color=t.gutterActiveForeground),t.lineHighlight&&(r[".cm-activeLine"]={backgroundColor:t.lineHighlight},i.backgroundColor=t.lineHighlight),r[".cm-activeLineGutter"]=i,t.selection&&(r["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={background:t.selection+" !important"}),t.selectionMatch&&(r["& .cm-selectionMatch"]={backgroundColor:t.selectionMatch}),[c.tk.theme(r,{dark:"dark"===e}),tp(ts.define(n))]})({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:[ek.standard(ek.tagName),ek.tagName],color:"var(--scalar-color-purple)"},{tag:[ek.comment],color:"var(--scalar-color-3)"},{tag:[ek.className],color:"var(--scalar-color-orange)"},{tag:[ek.variableName,ek.propertyName,ek.attributeName],color:"var(--scalar-color-1)"},{tag:[ek.operator],color:"var(--scalar-color-2)"},{tag:[ek.keyword,ek.typeName,ek.typeOperator],color:"var(--scalar-color-green)"},{tag:[ek.string],color:"var(--scalar-color-blue)"},{tag:[ek.bracket,ek.regexp,ek.meta],color:"var(--scalar-color-3)"},{tag:[ek.number],color:"var(--scalar-color-orange)"},{tag:[ek.name,ek.quote],color:"var(--scalar-color-3)"},{tag:[ek.heading],color:"var(--scalar-color-3)",fontWeight:"bold"},{tag:[ek.emphasis],color:"var(--scalar-color-3)",fontStyle:"italic"},{tag:[ek.deleted],color:"var(--scalar-color-3)",backgroundColor:"transparent"},{tag:[ek.atom,ek.bool,ek.special(ek.variableName)],color:"var(--scalar-color-3)"},{tag:[ek.url,ek.escape,ek.regexp,ek.link],color:"var(--scalar-color-1)"},{tag:ek.link,textDecoration:"underline"},{tag:ek.strikethrough,textDecoration:"line-through"},{tag:ek.invalid,color:"var(--scalar-color-3)"}]}),oQ=new c.Y1({regexp:/(\{[^}]+\})/g,decoration:()=>c.p.mark({attributes:{class:"api-client-url-variable"}})}),oH=()=>c.lg.fromClass(class{variables;constructor(e){this.variables=oQ.createDeco(e)}update(e){this.variables=oQ.updateDeco(e,this.variables)}},{decorations:e=>e.variables,provide:e=>c.tk.atomicRanges.of(t=>t.plugin(e)?.variables||c.p.none)}),oq='<svg 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-linecap="round" stroke-linejoin="round"/></svg>',oV='<svg 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-linecap="round" stroke-linejoin="round"/></svg>';c.tk.EDIT_CONTEXT=!1;let oW=e=>"provider"in e&&!!(0,oB.Tn)(e.provider),oX={key:"Mod-a",run:e=>(e.dispatch({selection:{anchor:0,head:e.state.doc.length},scrollIntoView:!1}),!0)},oY=e=>{let t=(0,oB.iH)(null),n=(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,oz.Fl)(()=>({onChange:e.onChange,onBlur:e.onBlur,onFocus:e.onFocus,disableTabIndent:(0,oB.Tn)(e.disableTabIndent),language:(0,oB.Tn)(e.language),classes:(0,oB.Tn)(e.classes),readOnly:(0,oB.Tn)(e.readOnly),lineNumbers:(0,oB.Tn)(e.lineNumbers),withVariables:(0,oB.Tn)(e.withVariables),forceFoldGutter:(0,oB.Tn)(e.forceFoldGutter),disableEnter:(0,oB.Tn)(e.disableEnter),disableCloseBrackets:(0,oB.Tn)(e.disableCloseBrackets),withoutTheme:(0,oB.Tn)(e.withoutTheme),lint:(0,oB.Tn)(e.lint),additionalExtensions:(0,oB.Tn)(e.extensions),placeholder:(0,oB.Tn)(e.placeholder)}));function a(){if(e.codeMirrorRef.value){let a=oW(e)?(0,oB.Tn)(e.provider):null,i=oK({...r.value,provider:a});t.value=new c.tk({parent:e.codeMirrorRef.value,extensions:i}),oW(e)||n((0,oB.Tn)(e.content))}}return(0,oz.YP)(e.codeMirrorRef,()=>{t.value?.destroy(),a()},{immediate:!0}),(0,oz.Jd)(()=>t.value?.destroy()),(0,oz.YP)(()=>oW(e)?(0,oB.Tn)(e.provider):null,()=>{oW(e)&&(t.value?.destroy(),a())}),(0,oz.YP)(r,()=>{if(!t.value)return;let n=oW(e)?(0,oB.Tn)(e.provider):null,a=oK({...r.value,provider:n});requestAnimationFrame(()=>{t.value?.dispatch({effects:u.Py.reconfigure.of(a)})})},{immediate:!0}),(0,oz.YP)(()=>(0,oB.Tn)(e.content),()=>{oW(e)||n((0,oB.Tn)(e.content))},{immediate:!0}
186),{setCodeMirrorContent:n,codeMirror:t}},oG={html:function(e={}){let t="",n;return!1===e.matchClosingTags&&(t="noMatch"),!0===e.selfClosingTags&&(t=(t?t+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(n=aR((e.nestedLanguages||[]).concat(iT),(e.nestedAttributes||[]).concat(iD))),new eZ(n?iC.configure({wrap:n,dialect:t}):t?i$.configure({dialect:t}):i$,[i$.data.of({autocomplete:function(e){let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new ib(t,n):ib.default;return e=>(function(e,t){let{state:n,pos:r}=t,a=eC(n).resolveInner(r,-1),i=a.resolve(r);for(let e=r,t;i==a&&(t=a.childBefore(e));){let n=t.lastChild;if(!n||!n.type.isError||n.from<n.to)break;i=a=t,e=n.from}if("TagName"==a.name)return a.parent&&/CloseTag$/.test(a.parent.name)?iE(n,a,a.from,r):i_(n,e,a,a.from,r);if("StartTag"==a.name||"IncompleteTag"==a.name)return i_(n,e,a,r,r);if("StartCloseTag"==a.name||"IncompleteCloseTag"==a.name)return iE(n,a,r,r);if("OpenTag"==a.name||"SelfClosingTag"==a.name||"AttributeName"==a.name){var o,l;let t,i,s;return o=a,l="AttributeName"==a.name?a.from:r,s=(i=(t=iw(o))?e.tags[iO(n.doc,t)]:null)&&i.attrs?Object.keys(i.attrs):[],{from:l,to:r,options:(i&&!1===i.globalAttrs?s:s.length?s.concat(e.globalAttrNames):e.globalAttrNames).map(e=>({label:e,type:"property"})),validFor:iS}}return"Is"==a.name||"AttributeValue"==a.name||"UnquotedAttributeValue"==a.name?function(e,t,n,r,a){var i;let o=null===(i=n.parent)||void 0===i?void 0:i.getChild("AttributeName"),l=[],s;if(o){let i=e.sliceDoc(o.from,o.to),u=t.globalAttrs[i];if(!u){let r=iw(n),a=r?t.tags[iO(e.doc,r)]:null;u=(null==a?void 0:a.attrs)&&a.attrs[i]}if(u){let t=e.sliceDoc(r,a).toLowerCase(),n='"',i='"';for(let o of(/^['"]/.test(t)?(s='"'==t[0]?/^[^"]*$/:/^[^']*$/,n="",i=e.sliceDoc(a,a+1)==t[0]?"":t[0],t=t.slice(1),r++):s=/^[^\s<>='"]*$/,u))l.push({label:o,apply:n+o+i,type:"constant"})}}return{from:r,to:a,options:l,validFor:s}}(n,e,a,"Is"==a.name?r:a.from,r):t.explicit&&("Element"==i.name||"Text"==i.name||"Document"==i.name)?function(e,t,n,r){let a=[],i=0;for(let r of ik(e.doc,n,t))a.push({label:"<"+r,type:"type"});for(let t of ix(e.doc,n))a.push({label:"</"+t+">",type:"type",boost:99-i++});return{from:r,to:r,options:a,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(n,e,a,r):null})(r,e)}(e)}),!1!==e.autoCloseTags?iI:[],function(e={}){var t;let n=e.jsx?e.typescript?it:ie:e.typescript?a9:a5,r=e.typescript?aK.concat(ii):aG.concat(ia);return new eZ(n,[a5.data.of({autocomplete:(t=t0(r),e=>{for(let t=eC(e.state).resolveInner(e.pos,-1);t;t=t.parent){if(a6.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return t(e)})}),a5.data.of({autocomplete:a3}),e.jsx?is:[]])}().support,ap().support])},json:function(){return new eZ(iM)},yaml:function(){return new eZ(ov)},css:ap,xml:function(e={}){let t=[i4.data.of({autocomplete:function(e,t){let n=[],r=[],a=Object.create(null);for(let e of t){let t=i1(e);n.push(t),e.global&&r.push(t),e.values&&(a[e.name]=e.values.map(i2))}let i=[],o=[],l=Object.create(null);for(let t of e){let e=r,s=a;t.attributes&&(e=e.concat(t.attributes.map(e=>"string"==typeof e?n.find(t=>t.label==e)||{label:e,type:"property"}:(e.values&&(s==a&&(s=Object.create(s)),s[e.name]=e.values.map(i2)),i1(e)))));let u=new iJ(t,e,s);l[u.name]=u,i.push(u),t.top&&o.push(u)}o.length||(o=i);for(let t=0;t<i.length;t++){let n=e[t],r=i[t];if(n.children)for(let e of n.children)l[e]&&r.children.push(l[e]);else r.children=i}return e=>{var t;let{doc:n}=e.state,s=function(e,t){var n;let r=eC(e).resolveInner(t,-1),a=null;for(let e=r;!a&&e.parent;e=e.parent)("OpenTag"==e.name||"CloseTag"==e.name||"SelfClosingTag"==e.name||"MismatchedCloseTag"==e.name)&&(a=e);if(a&&(a.to>t||a.lastChild.type.isError)){let e=a.parent;if("TagName"==r.name)return"CloseTag"==a.name||"MismatchedCloseTag"==a.name?{type:"closeTag",from:r.from,context:e}:{type:"openTag",from:r.from,context:iK(e)};if("AttributeName"==r.name)return{type:"attrName",from:r.from,context:a};if("AttributeValue"==r.name)return{type:"attrValue",from:r.from,context:a};let n=r==a||"Attribute"==r.name?r.childBefore(t):r;return(null==n?void 0:n.name)=="StartTag"?{type:"openTag",from:t,context:iK(e)}:(null==n?void 0:n.name)=="StartCloseTag"&&n.to<=t?{type:"closeTag",from:t,context:e}:(null==n?void 0:n.name)=="Is"?{type:"attrValue",from:t,context:a}:n?{type:"attrName",from:t,context:a}:null}if("StartCloseTag"==r.name)return{type:"closeTag",from:t,context:r.parent};for(;r.parent&&r.to==t&&!(null===(n=r.lastChild)||void 0===n?void 0:n.type.isError);)r=r.parent;return"Element"==r.name||"Text"==r.name||"Document"==r.name?{type:"tag",from:t,context:"Element"==r.name?r:iK(r)}:null}(e.state,e.pos);if(!s||"tag"==s.type&&!e.explicit)return null;let{type:u,from:c,context:d}=s;
186if("openTag"==u){let e=o,t=iG(n,d);if(t){let n=l[t];e=(null==n?void 0:n.children)||i}return{from:c,options:e.map(e=>e.completion),validFor:i0}}if("closeTag"==u){let r=iG(n,d);return r?{from:c,to:e.pos+(">"==n.sliceString(e.pos,e.pos+1)?1:0),options:[(null===(t=l[r])||void 0===t?void 0:t.closeNameCompletion)||{label:r+">",type:"type"}],validFor:i0}:null}if("attrName"==u){let e=l[iY(n,d)];return{from:c,options:(null==e?void 0:e.attrs)||r,validFor:i0}}if("attrValue"==u){let t,r;let i=(r=(t=d&&d.getChildren("Attribute").find(e=>e.from<=c&&e.to>=c))&&t.getChild("AttributeName"))?n.sliceString(r.from,r.to):"";if(!i)return null;let o=l[iY(n,d)],s=((null==o?void 0:o.attrValues)||a)[i];return s&&s.length?{from:c,to:e.pos+('"'==n.sliceString(e.pos,e.pos+1)?1:0),options:s,validFor:/^"[^"]*"?$/}:null}{if("tag"!=u)return null;let t=iG(n,d),r=l[t],a=[],s=d&&d.lastChild;t&&(!s||"CloseTag"!=s.name||iY(n,s)!=t)&&a.push(r?r.closeCompletion:{label:"</"+t+">",type:"type",boost:2});let p=a.concat(((null==r?void 0:r.children)||(d?i:o)).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))}return{from:c,options:p,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}}}(e.elements||[],e.attributes||[])})];return!1!==e.autoCloseTags&&t.push(i6),new eZ(i4,t)}};function oK({onChange:e,onBlur:t,onFocus:n,provider:r,language:a,classes:i=[],readOnly:o=!1,lineNumbers:l=!1,withVariables:s=!1,forceFoldGutter:d=!1,disableEnter:p=!1,disableCloseBrackets:m=!1,disableTabIndent:f=!1,withoutTheme:h=!1,lint:g=!1,additionalExtensions:v=[],placeholder:y}){let b=[(0,c.AE)(),function(e={}){return[re,n9.of(e),c.tk.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?rn:"historyRedo"==e.inputType?rr:null;return!!n&&(e.preventDefault(),n(t))}})]}(),c.$f.of(rf),tp(th,{fallback:!0}),c.tk.theme({".cm-line":{lineHeight:"22px",padding:"0 2px 0 4px"},".cm-gutterElement":{lineHeight:"22px"},".cm-tooltip":{border:"1px solid #f5c6cb",fontSize:"12px"},".cm-tooltip-lint":{backgroundColor:"#ffffff"},".cm-diagnostic-error":{borderLeft:"0",color:"#dc1b19"},".cm-foldPlaceholder":{background:"var(--scalar-background-1)",border:"none",fontFamily:"var(--scalar-font)"}}),c.tk.updateListener.of(t=>{t.docChanged&&e?.(t.state.doc.toString())}),c.tk.domEventHandlers({blur:(e,n)=>{t?.(n.state.doc.toString(),e)},focus:(e,t)=>{n?.(t.state.doc.toString(),e)}}),c.tk.editorAttributes.of({class:i.join(" ")}),...v];if(r&&b.push(r),h||b.push(oF),o?b.push(c.tk.editable.of(!1)):(b.push(u.yy.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:r}=e.newSelection.main,a=n.lineAt(r);if(r>a.from+200)return e;let i=n.sliceString(a.from,r);if(!t.some(e=>e.test(i)))return e;let{state:o}=e,l=-1,s=[];for(let{head:e}of o.selection.ranges){let t=o.doc.lineAt(e);if(t.from==l)continue;l=t.from;let n=function(e,t){for(let n of(e instanceof u.yy&&(e=new eH(e)),e.state.facet(eB))){let r=n(e,t);if(void 0!==r)return r}let n=eC(e.state);return n.length>=t?function(e,t,n){let r=t.resolveStack(n),a=t.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n);if(a!=r.node){let e=[];for(let t=a;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 eV(r,e,n)}(e,n,t):null}(o,t.from);if(null==n)continue;let r=/^\s*/.exec(t.text)[0],a=eQ(o,n);r!=a&&s.push({from:t.from,to:t.from+r.length,insert:a})}return s.length?[e,{changes:s,sequential:!0}]:e}),tS(),function(e={}){return[nE,ny,nt.of(e),nS,n6,nA]}(),c.$f.of([...n8,oX]),tS()),m||b.push([nK,nV],c.$f.of([...nJ])),f?b.push(c.$f.of([{key:"Tab",run:()=>!1,shift:()=>!1}
186])):b.push(c.$f.of([rO]))),y&&b.push((0,c.W$)(y)),l&&b.push((0,c.Eu)()),d&&b.push(to({markerDOM:e=>{let t=document.createElement("div");return t.classList.add("cm-foldMarker"),t.innerHTML=e?oq:oV,t}})),a&&oG[a]&&(b.push(oG[a]()),d||b.push(to({markerDOM:e=>{let t=document.createElement("div");return t.classList.add("cm-foldMarker"),t.innerHTML=e?oq:oV,t}}))),g&&"json"===a){let e=function(e,t={}){return[oC.of({source:e,config:t}),oD,oZ]}(e=>{let t=[],n=e.state.doc.toString();if(n.trim())try{JSON.parse(n)}catch(n){n instanceof Error&&t.push({from:0,to:e.state.doc.length,severity:"error",message:n.message})}return t});b.push(e)}return s&&b.push(oH()),p?b.push(c.$f.of([{key:"Enter",run:()=>!0},{key:"Ctrl-Enter",mac:"Cmd-Enter",run:()=>!0},{key:"Shift-Enter",run:()=>!0}])):b.push(c.$f.of([{key:"Enter",run:ry}])),b}function oJ(e){let{codeMirror:t,query:n,showDropdown:r,dropdownPosition:a}=e;function i(){return t.value?.state.selection.main.head||0}function o(e){return t.value?.coordsAtPos(e)}function l(){let e=i();requestAnimationFrame(()=>{let t=o(e-n.value.length-2);t&&(a.value={left:t.left,top:Math.max(t.bottom)})})}function s(){let e=i(),s=t.value?.state.doc.sliceString(0,e)||"",u=s.lastIndexOf("{{");u>s.lastIndexOf("}}")?(n.value=s.slice(u+2),r.value=!0,a.value=o(e)||{left:0,top:0},""===n.value&&l()):r.value=!1}return(0,oz.YP)(n,l),(0,oz.YP)(()=>t.value?.state.doc.toString(),s),{handleDropdownSelect:function(e){let a=`{{${e}}}`,o=i(),l=Math.max(0,o-n.value.length-2);t.value?.dispatch({changes:{from:l,to:o,insert:a}}),r.value=!1},updateDropdownVisibility:s}}},5006:function(e,t,n){"use strict";n.d(t,{jS:function(){return eR},cx:function(){return ej},li:function(){return eB}});var r=n(61994);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=e=>{let t=function(){for(var t,n,a=arguments.length,i=Array(a),o=0;o<a;o++)i[o]=arguments[o];return void 0!==(null==e?void 0:null===(t=e.hooks)||void 0===t?void 0:t["cx:done"])?null==e?void 0:e.hooks["cx:done"]((0,r.W)(i)):void 0!==(null==e?void 0:null===(n=e.hooks)||void 0===n?void 0:n.onComplete)?null==e?void 0:e.hooks.onComplete((0,r.W)(i)):(0,r.W)(i)};return{compose:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return e=>{let r=Object.fromEntries(Object.entries(e||{}).filter(e=>{let[t]=e;return!["class","className"].includes(t)}));return t(n.map(e=>e(r)),null==e?void 0:e.class,null==e?void 0:e.className)}},cva:e=>n=>{var r;if((null==e?void 0:e.variants)==null)return t(null==e?void 0:e.base,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:i,defaultVariants:o}=e,l=Object.keys(i).map(e=>{let t=null==n?void 0:n[e],r=null==o?void 0:o[e],l=a(t)||a(r);return i[e][l]}),s={...o,...n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r?e:{...e,[n]:r}},{})},u=null==e?void 0:null===(r=e.compoundVariants)||void 0===r?void 0:r.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e,r=s[t];return Array.isArray(n)?n.includes(r):r===n})?[...e,n,r]:e},[]);return t(null==e?void 0:e.base,l,u,null==n?void 0:n.class,null==n?void 0:n.className)},cx:t}},{compose:o,cva:l,cx:s}=i(),u=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},c=(e,t)=>({classGroupId:e,validator:t}),d=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),p=[],m=e=>{let t=g(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return h(e);let n=e.split("-"),r=""===n[0]&&n.length>1?1:0;return f(n,r,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],a=n[e];return t?a?u(a,t):t:a||p}return n[e]||p}}},f=(e,t,n)=>{if(0==e.length-t)return n.classGroupId;let r=e[t],a=n.nextPart.get(r);if(a){let n=f(e,t+1,a);if(n)return n}let i=n.validators;if(null===i)return;let o=0===t?e.join("-"):e.slice(t).join("-"),l=i.length;for(let e=0;e<l;e++){let t=i[e];if(t.validator(o))return t.classGroupId}},h=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?"arbitrary.."+r:void 0})(),g=e=>{let{theme:t,classGroups:n}=e;return v(n,t)},v=(e,t)=>
186{let n=d();for(let r in e)y(e[r],n,r,t);return n},y=(e,t,n,r)=>{let a=e.length;for(let i=0;i<a;i++)b(e[i],t,n,r)},b=(e,t,n,r)=>{if("string"==typeof e){O(e,t,n);return}if("function"==typeof e){w(e,t,n,r);return}k(e,t,n,r)},O=(e,t,n)=>{(""===e?t:x(t,e)).classGroupId=n},w=(e,t,n,r)=>{if(S(e)){y(e(r),t,n,r);return}null===t.validators&&(t.validators=[]),t.validators.push(c(n,e))},k=(e,t,n,r)=>{let a=Object.entries(e),i=a.length;for(let e=0;e<i;e++){let[i,o]=a[e];y(o,x(t,i),n,r)}},x=(e,t)=>{let n=e,r=t.split("-"),a=r.length;for(let e=0;e<a;e++){let t=r[e],a=n.nextPart.get(t);a||(a=d(),n.nextPart.set(t,a)),n=a}return n},S=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,_=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),a=(a,i)=>{n[a]=i,++t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(a(e,t),t):void 0},set(e,t){e in n?n[e]=t:a(e,t)}}},E=[],A=(e,t,n,r,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:a}),T=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t;let n=[],r=0,a=0,i=0,o=e.length;for(let l=0;l<o;l++){let o=e[l];if(0===r&&0===a){if(":"===o){n.push(e.slice(i,l)),i=l+1;continue}if("/"===o){t=l;continue}}"["===o?r++:"]"===o?r--:"("===o?a++:")"===o&&a--}let l=0===n.length?e:e.slice(i),s=l,u=!1;return l.endsWith("!")?(s=l.slice(0,-1),u=!0):l.startsWith("!")&&(s=l.slice(1),u=!0),A(n,u,s,t&&t>i?t-i:void 0)};if(t){let e=t+":",n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):A(E,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},D=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let a=0;a<e.length;a++){let i=e[a],o="["===i[0],l=t.has(i);o||l?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(i)):r.push(i)}return r.length>0&&(r.sort(),n.push(...r)),n}},C=e=>({cache:_(e.cacheSize),parseClassName:T(e),sortModifiers:D(e),...m(e)}),$=/\s+/,P=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:i}=t,o=[],l=e.trim().split($),s="";for(let e=l.length-1;e>=0;e-=1){let t=l[e],{isExternal:u,modifiers:c,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){s=t+(s.length>0?" "+s:s);continue}let f=!!m,h=r(f?p.substring(0,m):p);if(!h){if(!f||!(h=r(p))){s=t+(s.length>0?" "+s:s);continue}f=!1}let g=0===c.length?"":1===c.length?c[0]:i(c).join(":"),v=d?g+"!":g,y=v+h;if(o.indexOf(y)>-1)continue;o.push(y);let b=a(h,f);for(let e=0;e<b.length;++e){let t=b[e];o.push(v+t)}s=t+(s.length>0?" "+s:s)}return s},I=(...e)=>{let t,n,r=0,a="";for(;r<e.length;)(t=e[r++])&&(n=N(t))&&(a&&(a+=" "),a+=n);return a},N=e=>{let t;if("string"==typeof e)return e;let n="";for(let r=0;r<e.length;r++)e[r]&&(t=N(e[r]))&&(n&&(n+=" "),n+=t);return n},U=(e,...t)=>{let n,r,a,i;let o=e=>{let t=r(e);if(t)return t;let i=P(e,n);return a(e,i),i};return i=l=>(r=(n=C(t.reduce((e,t)=>t(e),e()))).cache.get,a=n.cache.set,i=o,o(l)),(...e)=>i(I(...e))},M=[],R=e=>{let t=t=>t[e]||M;return t.isThemeGetter=!0,t},j=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,L=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Z=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,B=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,z=/\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$/,F=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Q=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,H=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,q=e=>Z.test(e),V=e=>!!e&&!Number.isNaN(Number(e)),W=e=>!!e&&Number.isInteger(Number(e)),X=e=>e.endsWith("%")&&V(e.slice(0,-1)),Y=e=>B.test(e),G=()=>!0,K=e=>z.test(e)&&!F.test(e),J=()=>!1,ee=e=>Q.test(e),et=e=>H.test(e),en=e=>!ea(e)&&!ep(e),er=e=>eO(e,eS,J),ea=e=>j.test(e),ei=e=>eO(e,e_,K),eo=e=>eO(e,eE,V),el=e=>eO(e,eT,G),es=e=>eO(e,eA,J),eu=e=>eO(e,ek,J),ec=e=>eO(e,ex,et),ed=e=>eO(e,eD,ee),ep=e=>L.test(e),em=e=>ew(e,e_),ef=e=>ew(e,eA),eh=e=>ew(e,ek),eg=e=>ew(e,eS),ev=e=>ew(e,ex),ey=e=>ew(e,eD,!0),eb=e=>ew(e,eT,!0),eO=(e,t,n)=>{let r=j.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},ew=(e,t,n=!1)=>{let r=L.exec(e);return!!r&&(r[1]?t(r[1]):n)},ek=e=>"position"===e||"percentage"===e,ex=e=>"image"===e||"url"===e,eS=e=>"length"===e||"size"===e||"bg-size"===e,e_=e=>"length"===e,eE=e=>"number"===e,eA=e=>"family-name"===e,eT=e=>"number"===e||"weight"===e,eD=e=>"shadow"===e,eC=()=>{let e=R("color"),t=R("font"),n=R("text"),r=R("font-weight"),a=R("tracking"),i=R("leading"),o=R("breakpoint"),l=R("container"),s=R("spacing"),u=R("radius"),c=R("shadow"),d=R("inset-shadow"),p=R("text-shadow"),m=R("drop-shadow"),f=R("blur"),h=R("perspective"),g=R("aspect"),v=R("ease"),y=R("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"],w=()=>[...O(),ep,ea],k=()=>["auto","hidden","clip","visible","scroll"],x=()=>["auto","contain","none"],S=()=>[ep,ea,s],_=()=>[q,"full","auto",...S()],E=()=>[W,"none","subgrid",ep,ea],A=()=>["auto",{span:["full",W,ep,ea]},W,ep,ea],T=()=>[W,"auto",ep,ea],D=()=>["auto","min","max","fr",ep,ea],C=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],$=()=>["start","end","center","stretch","center-safe","end-safe"],P=()=>["auto",...S()],I=()=>[q,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],N=()=>[q,"screen","full","dvw","lvw","svw","min","max","fit",...S()],U=()=>[q,"screen","full","lh","dvh","lvh","svh","min","max","fit",...S()],M=()=>[e,ep,ea],j=()=>[...O(),eh,eu,{position:[ep,ea]}],L=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Z=()=>["auto","cover","contain",eg,er,{size:[ep,ea]}],B=()=>[X,em,ei],z=()=>["","none","full",u,ep,ea],F=()=>["",V,em,ei],Q=()=>["solid","dashed","dotted","double"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>[V,X,eh,eu],J=()=>["","none",f,ep,ea],ee=()=>["none",V,ep,ea],et=()=>["none",V,ep,ea],eO=()=>[V,ep,ea],ew=()=>[q,"full",...S()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Y],breakpoint:[Y],color:[G],container:[Y],"drop-shadow":[Y],ease:["in","out","in-out"],font:[en],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Y],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Y],shadow:[Y],spacing:["px",V],text:[Y],"text-shadow":[Y],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",q,ea,ep,g]}
vendor: 6,076 bytes, line 186
186],container:["container"],columns:[{columns:[V,ea,ep,l]}],"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:w()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:x()}],"overscroll-x":[{"overscroll-x":x()}],"overscroll-y":[{"overscroll-y":x()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:_()}],"inset-x":[{"inset-x":_()}],"inset-y":[{"inset-y":_()}],start:[{"inset-s":_(),start:_()}],end:[{"inset-e":_(),end:_()}],"inset-bs":[{"inset-bs":_()}],"inset-be":[{"inset-be":_()}],top:[{top:_()}],right:[{right:_()}],bottom:[{bottom:_()}],left:[{left:_()}],visibility:["visible","invisible","collapse"],z:[{z:[W,"auto",ep,ea]}],basis:[{basis:[q,"full","auto",l,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[V,q,"auto","initial","none",ea]}],grow:[{grow:["",V,ep,ea]}],shrink:[{shrink:["",V,ep,ea]}],order:[{order:[W,"first","last","none",ep,ea]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":D()}],"auto-rows":[{"auto-rows":D()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...C(),"normal"]}],"justify-items":[{"justify-items":[...$(),"normal"]}],"justify-self":[{"justify-self":["auto",...$()]}],"align-content":[{content:["normal",...C()]}],"align-items":[{items:[...$(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...$(),{baseline:["","last"]}]}],"place-content":[{"place-content":C()}],"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:P()}],mx:[{mx:P()}],my:[{my:P()}],ms:[{ms:P()}],me:[{me:P()}],mbs:[{mbs:P()}],mbe:[{mbe:P()}],mt:[{mt:P()}],mr:[{mr:P()}],mb:[{mb:P()}],ml:[{ml:P()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:I()}],"inline-size":[{inline:["auto",...N()]}],"min-inline-size":[{"min-inline":["auto",...N()]}],"max-inline-size":[{"max-inline":["none",...N()]}],"block-size":[{block:["auto",...U()]}],"min-block-size":[{"min-block":["auto",...U()]}],"max-block-size":[{"max-block":["none",...U()]}],w:[{w:[l,"screen",...I()]}],"min-w":[{"min-w":[l,"screen","none",...I()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[o]},...I()]}],h:[{h:["screen","lh",...I()]}],"min-h":[{"min-h":["screen","lh","none",...I()]}],"max-h":[{"max-h":["screen","lh",...I()]}],"font-size":[{text:["base",n,em,ei]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,eb,el]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",X,ea]}],"font-family":[{font:[ef,es,t]}],"font-features":[{"font-features":[ea]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,ep,ea]}],"line-clamp":[{"line-clamp":[V,"none",ep,eo]}],leading:[{leading:[i,...S()]}],"list-image":[{"list-image":["none",ep,ea]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ep,ea]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Q(),"wavy"]}],"text-decoration-thickness":[{decoration:[V,"from-font","auto",ep,ei]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[V,"auto",ep,ea]}],"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",ep,ea]}],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",ep,ea]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:j()}],"bg-repeat":[{bg:L()}],"bg-size":[{bg:Z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},W,ep,ea],radial:["",ep,ea],conic:[W,ep,ea]},ev,ec]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:B()}
186],"gradient-via-pos":[{via:B()}],"gradient-to-pos":[{to:B()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:z()}],"rounded-s":[{"rounded-s":z()}],"rounded-e":[{"rounded-e":z()}],"rounded-t":[{"rounded-t":z()}],"rounded-r":[{"rounded-r":z()}],"rounded-b":[{"rounded-b":z()}],"rounded-l":[{"rounded-l":z()}],"rounded-ss":[{"rounded-ss":z()}],"rounded-se":[{"rounded-se":z()}],"rounded-ee":[{"rounded-ee":z()}],"rounded-es":[{"rounded-es":z()}],"rounded-tl":[{"rounded-tl":z()}],"rounded-tr":[{"rounded-tr":z()}],"rounded-br":[{"rounded-br":z()}],"rounded-bl":[{"rounded-bl":z()}],"border-w":[{border:F()}],"border-w-x":[{"border-x":F()}],"border-w-y":[{"border-y":F()}],"border-w-s":[{"border-s":F()}],"border-w-e":[{"border-e":F()}],"border-w-bs":[{"border-bs":F()}],"border-w-be":[{"border-be":F()}],"border-w-t":[{"border-t":F()}],"border-w-r":[{"border-r":F()}],"border-w-b":[{"border-b":F()}],"border-w-l":[{"border-l":F()}],"divide-x":[{"divide-x":F()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":F()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Q(),"hidden","none"]}],"divide-style":[{divide:[...Q(),"hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-bs":[{"border-bs":M()}],"border-color-be":[{"border-be":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}
vendor: 5,707 bytes, line 186
186],"divide-color":[{divide:M()}],"outline-style":[{outline:[...Q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[V,ep,ea]}],"outline-w":[{outline:["",V,em,ei]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","none",c,ey,ed]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",d,ey,ed]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:F()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[V,ei]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":F()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",p,ey,ed]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[V,ep,ea]}],"mix-blend":[{"mix-blend":[...H(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":H()}],"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":[V]}],"mask-image-linear-from-pos":[{"mask-linear-from":K()}],"mask-image-linear-to-pos":[{"mask-linear-to":K()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":K()}],"mask-image-t-to-pos":[{"mask-t-to":K()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":K()}],"mask-image-r-to-pos":[{"mask-r-to":K()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":K()}],"mask-image-b-to-pos":[{"mask-b-to":K()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":K()}],"mask-image-l-to-pos":[{"mask-l-to":K()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":K()}],"mask-image-x-to-pos":[{"mask-x-to":K()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":K()}],"mask-image-y-to-pos":[{"mask-y-to":K()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[ep,ea]}],"mask-image-radial-from-pos":[{"mask-radial-from":K()}],"mask-image-radial-to-pos":[{"mask-radial-to":K()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"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":[V]}],"mask-image-conic-from-pos":[{"mask-conic-from":K()}],"mask-image-conic-to-pos":[{"mask-conic-to":K()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:j()}],"mask-repeat":[{mask:L()}],"mask-size":[{mask:Z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ep,ea]}],filter:[{filter:["","none",ep,ea]}],blur:[{blur:J()}],brightness:[{brightness:[V,ep,ea]}],contrast:[{contrast:[V,ep,ea]}],"drop-shadow":[{"drop-shadow":["","none",m,ey,ed]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",V,ep,ea]}],"hue-rotate":[{"hue-rotate":[V,ep,ea]}],invert:[{invert:["",V,ep,ea]}],saturate:[{saturate:[V,ep,ea]}],sepia:[{sepia:["",V,ep,ea]}],"backdrop-filter":[{"backdrop-filter":["","none",ep,ea]}],"backdrop-blur":[{"backdrop-blur":J()}],"backdrop-brightness":[{"backdrop-brightness":[V,ep,ea]}],"backdrop-contrast":[{"backdrop-contrast":[V,ep,ea]}],"backdrop-grayscale":[{"backdrop-grayscale":["",V,ep,ea]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[V,ep,ea]}],"backdrop-invert":[{"backdrop-invert":["",V,ep,ea]}],"backdrop-opacity":[{"backdrop-opacity":[V,ep,ea]}],"backdrop-saturate":[{"backdrop-saturate":[V,ep,ea]}],"backdrop-sepia":[{"backdrop-sepia":["",V,ep,ea]}],"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",ep,ea]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[V,"initial",ep,ea]}],ease:[{ease:["linear","initial",v,ep,ea]}],delay:[{delay:[V,ep,ea]}],animate:[{animate:["none",y,ep,ea]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,ep,ea]}],"perspective-origin":[{"perspective-origin":w()}],rotate:[{rotate:ee()}],"rotate-x":[{"rotate-x":ee()}],"rotate-y":[{"rotate-y":ee()}],"rotate-z":[{"rotate-z":ee()}],scale:[{scale:et()}],"scale-x":[{"scale-x":et()}],"scale-y":[{"scale-y":et()}],"scale-z":[{"scale-z":et()}],"scale-3d":["scale-3d"],skew:[{skew:eO()}],"skew-x":[{"skew-x":eO()}],"skew-y":[{"skew-y":eO()}],transform:[{transform:[ep,ea,"","none","gpu","cpu"]}],"transform-origin":[{origin:w()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ew()}],"translate-x":[{"translate-x":ew()}],"translate-y":[{"translate-y":ew()}],"translate-z":[{"translate-z":ew()}],"translate-none":["translate-none"],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}
186],"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",ep,ea]}],"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",ep,ea]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[V,em,ei,eo]}],stroke:[{stroke:["none",...M()]}],"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"]}},e$=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:a={},override:i={}})=>(eP(e,"cacheSize",t),eP(e,"prefix",n),eP(e,"experimentalParseClassName",r),eI(e.theme,i.theme),eI(e.classGroups,i.classGroups),eI(e.conflictingClassGroups,i.conflictingClassGroups),eI(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),eP(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),eN(e.theme,a.theme),eN(e.classGroups,a.classGroups),eN(e.conflictingClassGroups,a.conflictingClassGroups),eN(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),eU(e,a,"orderSensitiveModifiers"),e),eP=(e,t,n)=>{void 0!==n&&(e[t]=n)},eI=(e,t)=>{if(t)for(let n in t)eP(e,n,t[n])},eN=(e,t)=>{if(t)for(let n in t)eU(e,t,n)},eU=(e,t,n)=>{let r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},eM=((e,...t)=>"function"==typeof e?U(eC,e,...t):U(()=>e$(eC(),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:eR,cx:ej,compose:eL}=i({hooks:{onComplete:e=>eM(e)}});var eZ=n(82589);function eB(){let e=(0,eZ.l1)(),t=(0,eZ.Fl)(()=>{let{class:t,style:n,...r}=e;return{class:t||"",style:n,rest:r}});return{cx:function(...e){return{class:ej(...e,t.value.class),style:t.value.style,...t.value.rest}},stylingAttrsCx:function(...e){return{class:ej(...e,t.value.class),style:t.value.style}},otherAttrs:(0,eZ.Fl)(()=>t.value.rest)}}},38025:function(e,t,n){"use strict";n.d(t,{V:function(){return i}});var r=n(13945);let a=e=>void 0===e?"undefined":"string"==typeof e?e:JSON.stringify(e);function i(e={}){let{notify:t=e=>n(e,"info")}=e,{toast:n}=(0,r.e1)();return{copyToClipboard:async function(e){try{let n=a(e);await navigator.clipboard.writeText(n),t("Copied to the clipboard")}catch(e){console.error(e.message),t("Failed to copy to clipboard")}}}}},93626:function(e,t,n){"use strict";n.d(t,{I:function(){return l_}});var r,a,i={};n.r(i),n.d(i,{base64:function(){return eD},base64url:function(){return eC},bigint:function(){return eZ},boolean:function(){return eF},browserEmail:function(){return ek},cidrv4:function(){return eA},cidrv6:function(){return eT},cuid:function(){return ea},cuid2:function(){return ei},date:function(){return eU},datetime:function(){return ej},domain:function(){return eP},duration:function(){return ec},e164:function(){return eI},email:function(){return ev},emoji:function(){return ex},extendedDuration:function(){return ed},guid:function(){return ep},hex:function(){return eW},hostname:function(){return e$},html5Email:function(){return ey}
186,idnEmail:function(){return ew},integer:function(){return eB},ipv4:function(){return eS},ipv6:function(){return e_},ksuid:function(){return es},lowercase:function(){return eq},mac:function(){return eE},md5_base64:function(){return eK},md5_base64url:function(){return eJ},md5_hex:function(){return eG},nanoid:function(){return eu},null:function(){return eQ},number:function(){return ez},rfc5322Email:function(){return eb},sha1_base64:function(){return e1},sha1_base64url:function(){return e2},sha1_hex:function(){return e0},sha256_base64:function(){return e8},sha256_base64url:function(){return e6},sha256_hex:function(){return e4},sha384_base64:function(){return e5},sha384_base64url:function(){return e7},sha384_hex:function(){return e3},sha512_base64:function(){return te},sha512_base64url:function(){return tt},sha512_hex:function(){return e9},string:function(){return eL},time:function(){return eR},ulid:function(){return eo},undefined:function(){return eH},unicodeEmail:function(){return eO},uppercase:function(){return eV},uuid:function(){return em},uuid4:function(){return ef},uuid6:function(){return eh},uuid7:function(){return eg},xid:function(){return el}});var o={};n.r(o),n.d(o,{endsWith:function(){return rM},gt:function(){return ry},gte:function(){return rb},includes:function(){return rN},length:function(){return rC},lowercase:function(){return rP},lt:function(){return rg},lte:function(){return rv},maxLength:function(){return rT},maxSize:function(){return r_},mime:function(){return rj},minLength:function(){return rD},minSize:function(){return rE},multipleOf:function(){return rS},negative:function(){return rw},nonnegative:function(){return rx},nonpositive:function(){return rk},normalize:function(){return rZ},overwrite:function(){return rL},positive:function(){return rO},property:function(){return rR},regex:function(){return r$},size:function(){return rA},slugify:function(){return rQ},startsWith:function(){return rU},toLowerCase:function(){return rz},toUpperCase:function(){return rF},trim:function(){return rB},uppercase:function(){return rI}});var l={};n.r(l),n.d(l,{ZodISODate:function(){return aC},ZodISODateTime:function(){return aT},ZodISODuration:function(){return aN},ZodISOTime:function(){return aP},date:function(){return a$},datetime:function(){return aD},duration:function(){return aU},time:function(){return aI}});var s={};n.r(s),n.d(s,{ZodAny:function(){return i9},ZodArray:function(){return ou},ZodBase64:function(){return iD},ZodBase64URL:function(){return i$},ZodBigInt:function(){return iK},ZodBigIntFormat:function(){return i0},ZodBoolean:function(){return iY},ZodCIDRv4:function(){return i_},ZodCIDRv6:function(){return iA},ZodCUID:function(){return is},ZodCUID2:function(){return ic},ZodCatch:function(){return o8},ZodCodec:function(){return le},ZodCustom:function(){return lp},ZodCustomStringFormat:function(){return iR},ZodDate:function(){return ol},ZodDefault:function(){return oY},ZodDiscriminatedUnion:function(){return oO},ZodE164:function(){return iI},ZodEmail:function(){return a1},ZodEmoji:function(){return ia},ZodEnum:function(){return oN},ZodExactOptional:function(){return oH},ZodFile:function(){return oL},ZodFunction:function(){return lc},ZodGUID:function(){return a4},ZodIPv4:function(){return ib},ZodIPv6:function(){return ix},ZodIntersection:function(){return ok},ZodJWT:function(){return iU},ZodKSUID:function(){return iv},ZodLazy:function(){return lo},ZodLiteral:function(){return oR},ZodMAC:function(){return iw},ZodMap:function(){return oC},ZodNaN:function(){return o3},ZodNanoID:function(){return io},ZodNever:function(){return or},ZodNonOptional:function(){return o0},ZodNull:function(){return i5},ZodNullable:function(){return oV},ZodNumber:function(){return iz},ZodNumberFormat:function(){return iQ},ZodObject:function(){return op},ZodOptional:function(){return oF},ZodPipe:function(){return o7},ZodPrefault:function(){return oK},ZodPromise:function(){return ls},ZodReadonly:function(){return ln},ZodRecord:function(){return oE},ZodSet:function(){return oP},ZodString:function(){return aK},ZodStringFormat:function(){return a0},ZodSuccess:function(){return o2},ZodSymbol:function(){return i4}
186,ZodTemplateLiteral:function(){return la},ZodTransform:function(){return oB},ZodTuple:function(){return oS},ZodType:function(){return aY},ZodULID:function(){return ip},ZodURL:function(){return ie},ZodUUID:function(){return a6},ZodUndefined:function(){return i6},ZodUnion:function(){return og},ZodUnknown:function(){return ot},ZodVoid:function(){return oi},ZodXID:function(){return ih},ZodXor:function(){return oy},_ZodString:function(){return aG},_default:function(){return oG},_function:function(){return ld},any:function(){return oe},array:function(){return oc},base64:function(){return iC},base64url:function(){return iP},bigint:function(){return iJ},boolean:function(){return iG},catch:function(){return o6},check:function(){return lm},cidrv4:function(){return iE},cidrv6:function(){return iT},codec:function(){return lt},cuid:function(){return iu},cuid2:function(){return id},custom:function(){return lf},date:function(){return os},describe:function(){return lv},discriminatedUnion:function(){return ow},e164:function(){return iN},email:function(){return a2},emoji:function(){return ii},enum:function(){return oU},exactOptional:function(){return oq},file:function(){return oZ},float32:function(){return iq},float64:function(){return iV},function:function(){return ld},guid:function(){return a8},hash:function(){return iB},hex:function(){return iZ},hostname:function(){return iL},httpUrl:function(){return ir},instanceof:function(){return lb},int:function(){return iH},int32:function(){return iW},int64:function(){return i1},intersection:function(){return ox},ipv4:function(){return iO},ipv6:function(){return iS},json:function(){return lw},jwt:function(){return iM},keyof:function(){return od},ksuid:function(){return iy},lazy:function(){return ll},literal:function(){return oj},looseObject:function(){return oh},looseRecord:function(){return oD},mac:function(){return ik},map:function(){return o$},meta:function(){return ly},nan:function(){return o5},nanoid:function(){return il},nativeEnum:function(){return oM},never:function(){return oa},nonoptional:function(){return o1},null:function(){return i7},nullable:function(){return oW},nullish:function(){return oX},number:function(){return iF},object:function(){return om},optional:function(){return oQ},partialRecord:function(){return oT},pipe:function(){return o9},prefault:function(){return oJ},preprocess:function(){return lk},promise:function(){return lu},readonly:function(){return lr},record:function(){return oA},refine:function(){return lh},set:function(){return oI},strictObject:function(){return of},string:function(){return aJ},stringFormat:function(){return ij},stringbool:function(){return lO},success:function(){return o4},superRefine:function(){return lg},symbol:function(){return i8},templateLiteral:function(){return li},transform:function(){return oz},tuple:function(){return o_},uint32:function(){return iX},uint64:function(){return i2},ulid:function(){return im},undefined:function(){return i3},union:function(){return ov},unknown:function(){return on},url:function(){return it},uuid:function(){return a3},uuidv4:function(){return a5},uuidv6:function(){return a7},uuidv7:function(){return a9},void:function(){return oo},xid:function(){return ig},xor:function(){return ob}});var u=n(72909),c=n(82589);function d(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,"_zod",{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let a=o.prototype,i=Object.keys(a);for(let e=0;e<i.length;e++){let t=i[e];t in n||(n[t]=a[t].bind(n))}}let a=n?.Parent??Object;class i extends a{}function o(e){var t;let a=n?.Parent?new i:this;for(let n of(r(a,e),(t=a._zod).deferred??(t.deferred=[]),a._zod.deferred))n();return a}return Object.defineProperty(i,"name",{value:e}),Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>!!n?.Parent&&t instanceof n.Parent||t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}Object.freeze({status:"aborted"}),Symbol("zod_brand");
186class p extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class m extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}let f={};function h(e){return e&&Object.assign(f,e),f}function g(e){let t=Object.values(e).filter(e=>"number"==typeof e);return Object.entries(e).filter(([e,n])=>-1===t.indexOf(+e)).map(([e,t])=>t)}function v(e,t="|"){return e.map(e=>R(e)).join(t)}function y(e,t){return"bigint"==typeof t?t.toString():t}function b(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function O(e){return null==e}function w(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}let k=Symbol("evaluating");function x(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==k)return void 0===r&&(r=k,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function S(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function _(...e){let t={};for(let n of e)Object.assign(t,Object.getOwnPropertyDescriptors(n));return Object.defineProperties({},t)}function E(e){return JSON.stringify(e)}let A="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function T(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}let D=b(()=>{if("undefined"!=typeof navigator&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return Function(""),!0}catch(e){return!1}});function C(e){if(!1===T(e))return!1;let t=e.constructor;if(void 0===t||"function"!=typeof t)return!0;let n=t.prototype;return!1!==T(n)&&!1!==Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")}function $(e){return C(e)?{...e}:Array.isArray(e)?[...e]:e}let P=new Set(["string","number","symbol"]),I=new Set(["string","number","bigint","boolean","symbol","undefined"]);function N(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function U(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function M(e){if(!e)return{};if("string"==typeof e)return{error:()=>e};if(e?.message!==void 0){if(e?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");e.error=e.message}return(delete e.message,"string"==typeof e.error)?{...e,error:()=>e.error}:e}function R(e){return"bigint"==typeof e?e.toString()+"n":"string"==typeof e?`"${e}"`:`${e}`}let j={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},L={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Z(e,t=0){if(!0===e.aborted)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function B(e,t){return t.map(t=>(t.path??(t.path=[]),t.path.unshift(e),t))}function z(e){return"string"==typeof e?e:e?.message}function F(e,t,n){let r={...e,path:e.path??[]};if(!e.message){let a=z(e.inst?._zod.def?.error?.(e))??z(t?.error?.(e))??z(n.customError?.(e))??z(n.localeError?.(e))??"Invalid input";r.message=a}return delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function Q(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function H(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}function q(...e){let[t,n,r]=e;return"string"==typeof t?{message:t,code:"custom",input:n,inst:r}:{...t}}let V=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,y,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},W=d("$ZodError",V),X=d("$ZodError",V,{Parent:Error}),Y=e=>(t,n,r,a)=>{let i=r?Object.assign(r,{async:!1}):{async:!1},o=t._zod.run({value:n,issues:[]},i);if(o instanceof Promise)throw new p;if(o.issues.length){let t=new(a?.Err??e)(o.issues.map(e=>F(e,i,h())));throw A(t,a?.callee),t}return o.value},G=Y(X),K=e=>async(t,n,r,a)=>{let i=r?Object.assign(r,{async:!0}):{async:!0},o=t._zod.run({value:n,issues:[]},i);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new(a?.Err??e)(o.issues.map(e=>F(e,i,h())));throw A(t,a?.callee),t}return o.value},J=K(X),ee=e=>(t,n,r)=>{let a=r?{...r,async:!1}:{async:!1},i=t._zod.run({value:n,issues:[]},a);if(i instanceof Promise)throw new p;return i.issues.length?{success:!1,error:new(e??W)(i.issues.map(e=>F(e,a,h())))}:{success:!0,data:i.value}},et=ee(X),en=e=>async(t,n,r)=>{let a=r?Object.assign(r,{async:!0}):{async:!0},i=t._zod.run({value:n,issues:[]},a);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(e=>F(e,a,h())))}:{success:!0,data:i.value}},er=en(X),ea=/^[cC][^\s-]{8,}
186$/,ei=/^[0-9a-z]+$/,eo=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,el=/^[0-9a-vA-V]{20}$/,es=/^[A-Za-z0-9]{27}$/,eu=/^[a-zA-Z0-9_-]{21}$/,ec=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,ed=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,ep=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,em=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,ef=em(4),eh=em(6),eg=em(7),ev=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,ey=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,eb=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,eO=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,ew=eO,ek=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function ex(){return RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")}let eS=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,e_=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,eE=e=>{let t=N(e??":");return RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},eA=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,eT=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,eD=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,eC=/^[A-Za-z0-9_-]*$/,e$=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,eP=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,eI=/^\+[1-9]\d{6,14}$/,eN="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",eU=RegExp(`^${eN}$`);function eM(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return"number"==typeof e.precision?-1===e.precision?`${t}`:0===e.precision?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function eR(e){return RegExp(`^${eM(e)}$`)}function ej(e){let t=eM({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let r=`${t}(?:${n.join("|")})`;return RegExp(`^${eN}T(?:${r})$`)}let eL=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return RegExp(`^${t}$`)},eZ=/^-?\d+n?$/,eB=/^-?\d+$/,ez=/^-?\d+(?:\.\d+)?$/,eF=/^(?:true|false)$/i,eQ=/^null$/i,eH=/^undefined$/i,eq=/^[^A-Z]*$/,eV=/^[^a-z]*$/,eW=/^[0-9a-fA-F]*$/;function eX(e,t){return RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function eY(e){return RegExp(`^[A-Za-z0-9_-]{${e}}$`)}let eG=/^[0-9a-fA-F]{32}$/,eK=eX(22,"=="),eJ=eY(22),e0=/^[0-9a-fA-F]{40}$/,e1=eX(27,"="),e2=eY(27),e4=/^[0-9a-fA-F]{64}$/,e8=eX(43,"="),e6=eY(43),e3=/^[0-9a-fA-F]{96}$/,e5=eX(64,""),e7=eY(64),e9=/^[0-9a-fA-F]{128}$/,te=eX(86,"=="),tt=eY(86),tn=d("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),tr={number:"number",bigint:"bigint",object:"date"},ta=d("$ZodCheckLessThan",(e,t)=>{tn.init(e,t);let n=tr[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:"too_big",maximum:"object"==typeof t.value?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),ti=d("$ZodCheckGreaterThan",(e,t)=>{tn.init(e,t);let n=tr[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:"too_small",minimum:"object"==typeof t.value?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),to=d("$ZodCheckMultipleOf",(e,t)=>{tn.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error("Cannot mix number and bigint in multiple_of check.");("bigint"==typeof n.value?n.value%t.value===BigInt(0):0===function(e,t){let n=(e.toString().split(".")[1]||"").length,r=t.toString(),a=(r.split(".")[1]||"").length;if(0===a&&/\d?e-\d?/.test(r)){let e=r.match(/\d?e-(\d?)/);e?.[1]&&(a=Number.parseInt(e[1]))}let i=n>a?n:a;return Number.parseInt(e.toFixed(i).replace(".",""))%Number.parseInt(t.toFixed(i).replace(".",""))/10**i}(n.value,t.value))||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),tl=d("$ZodCheckNumberFormat",(e,t)=>{tn.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),r=n?"int":"number",[a,i]=j[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=a,r.maximum=i,n&&(r.pattern=eB)}),e._zod.check=o=>{let l=o.value;if(n){if(!Number.isInteger(l)){o.issues.push({expected:r,format:t.format,code:"invalid_type",continue:!1,input:l,inst:e});return}if(!Number.isSafeInteger(l)){l>0?o.issues.push({input:l,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,
vendor: 4,621 bytes, line 186
186continue:!t.abort}):o.issues.push({input:l,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}l<a&&o.issues.push({origin:"number",input:l,code:"too_small",minimum:a,inclusive:!0,inst:e,continue:!t.abort}),l>i&&o.issues.push({origin:"number",input:l,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),ts=d("$ZodCheckBigIntFormat",(e,t)=>{tn.init(e,t);let[n,r]=L[t.format];e._zod.onattach.push(e=>{let a=e._zod.bag;a.format=t.format,a.minimum=n,a.maximum=r}),e._zod.check=a=>{let i=a.value;i<n&&a.issues.push({origin:"bigint",input:i,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),i>r&&a.issues.push({origin:"bigint",input:i,code:"too_big",maximum:r,inclusive:!0,inst:e,continue:!t.abort})}}),tu=d("$ZodCheckMaxSize",(e,t)=>{var n;tn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!O(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;r.size<=t.maximum||n.issues.push({origin:Q(r),code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),tc=d("$ZodCheckMinSize",(e,t)=>{var n;tn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!O(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;r.size>=t.minimum||n.issues.push({origin:Q(r),code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),td=d("$ZodCheckSizeEquals",(e,t)=>{var n;tn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!O(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.size,n.maximum=t.size,n.size=t.size}),e._zod.check=n=>{let r=n.value,a=r.size;if(a===t.size)return;let i=a>t.size;n.issues.push({origin:Q(r),...i?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),tp=d("$ZodCheckMaxLength",(e,t)=>{var n;tn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!O(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let a=H(r);n.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),tm=d("$ZodCheckMinLength",(e,t)=>{var n;tn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!O(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let a=H(r);n.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),tf=d("$ZodCheckLengthEquals",(e,t)=>{var n;tn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!O(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,a=r.length;if(a===t.length)return;let i=H(r),o=a>t.length;n.issues.push({origin:i,...o?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),th=d("$ZodCheckStringFormat",(e,t)=>{var n,r;tn.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??(n.patterns=new Set),n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:"string",code:"invalid_format",format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),tg=d("$ZodCheckRegex",(e,t)=>{th.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),tv=d("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=eq),th.init(e,t)}),ty=d("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=eV),th.init(e,t)}),tb=d("$ZodCheckIncludes",(e,t)=>{tn.init(e,t);let n=N(t.includes),r=new RegExp("number"==typeof t.position?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=n=>
186{n.value.includes(t.includes,t.position)||n.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),tO=d("$ZodCheckStartsWith",(e,t)=>{tn.init(e,t);let n=RegExp(`^${N(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),tw=d("$ZodCheckEndsWith",(e,t)=>{tn.init(e,t);let n=RegExp(`.*${N(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}});function tk(e,t,n){e.issues.length&&t.issues.push(...B(n,e.issues))}let tx=d("$ZodCheckProperty",(e,t)=>{tn.init(e,t),e._zod.check=e=>{let n=t.schema._zod.run({value:e.value[t.property],issues:[]},{});if(n instanceof Promise)return n.then(n=>tk(n,e,t.property));tk(n,e,t.property)}}),tS=d("$ZodCheckMimeType",(e,t)=>{tn.init(e,t);let n=new Set(t.mime);e._zod.onattach.push(e=>{e._zod.bag.mime=t.mime}),e._zod.check=r=>{n.has(r.value.type)||r.issues.push({code:"invalid_value",values:t.mime,input:r.value.type,inst:e,continue:!t.abort})}}),t_=d("$ZodCheckOverwrite",(e,t)=>{tn.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}});class tE{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if("function"==typeof e){e(this,{execution:"sync"}),e(this,{execution:"async"});return}let t=e.split("\n").filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length));for(let e of t.map(e=>e.slice(n)).map(e=>" ".repeat(2*this.indent)+e))this.content.push(e)}compile(){return Function(...this?.args,[...(this?.content??[""]).map(e=>` ${e}`)].join("\n"))}}let tA={major:4,minor:3,patch:6},tT=d("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=tA;let r=[...e._zod.def.checks??[]];for(let t of(e._zod.traits.has("$ZodCheck")&&r.unshift(e),r))for(let n of t._zod.onattach)n(e);if(0===r.length)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r,a=Z(e);for(let i of t){if(i._zod.def.when){if(!i._zod.def.when(e))continue}else if(a)continue;let t=e.issues.length,o=i._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new p;if(r||o instanceof Promise)r=(r??Promise.resolve()).then(async()=>{await o,e.issues.length===t||a||(a=Z(e,t))});else{if(e.issues.length===t)continue;a||(a=Z(e,t))}}return r?r.then(()=>e):e},n=(n,a,i)=>{if(Z(n))return n.aborted=!0,n;let o=t(a,r,i);if(o instanceof Promise){if(!1===i.async)throw new p;return o.then(t=>e._zod.parse(t,i))}return e._zod.parse(o,i)};e._zod.run=(a,i)=>{if(i.skipChecks)return e._zod.parse(a,i);if("backward"===i.direction){let t=e._zod.parse({value:a.value,issues:[]},{...i,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,a,i)):n(t,a,i)}let o=e._zod.parse(a,i);if(o instanceof Promise){if(!1===i.async)throw new p;return o.then(e=>t(e,r,i))}return t(o,r,i)}}x(e,"~standard",()=>({validate:t=>{try{let n=et(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch(n){return er(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:"zod",version:1}))}),tD=d("$ZodString",(e,t)=>{tT.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??eL(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch(e){}return"string"==typeof n.value||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),tC=d("$ZodStringFormat",(e,t)=>{th.init(e,t),tD.init(e,t)}),t$=d("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=ep),tC.init(e,t)}),tP=d("$ZodUUID",(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(void 0===e)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=em(e))}else t.pattern??(t.pattern=em());tC.init(e,t)}),tI=d("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=ev),tC.init(e,t)}),tN=d("$ZodURL",(e,t)=>{tC.init(e,t),e._zod.check=n=>{try{let r=n.value.trim(),a=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(a.hostname)||n.issues.push({code:"invalid_format",format:"url",n
186ote:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(a.protocol.endsWith(":")?a.protocol.slice(0,-1):a.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=a.href:n.value=r;return}catch(r){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),tU=d("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=ex()),tC.init(e,t)}),tM=d("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=eu),tC.init(e,t)}),tR=d("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=ea),tC.init(e,t)}),tj=d("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=ei),tC.init(e,t)}),tL=d("$ZodULID",(e,t)=>{t.pattern??(t.pattern=eo),tC.init(e,t)}),tZ=d("$ZodXID",(e,t)=>{t.pattern??(t.pattern=el),tC.init(e,t)}),tB=d("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=es),tC.init(e,t)}),tz=d("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=ej(t)),tC.init(e,t)}),tF=d("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=eU),tC.init(e,t)}),tQ=d("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=eR(t)),tC.init(e,t)}),tH=d("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=ec),tC.init(e,t)}),tq=d("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=eS),tC.init(e,t),e._zod.bag.format="ipv4"}),tV=d("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=e_),tC.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),tW=d("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=eE(t.delimiter)),tC.init(e,t),e._zod.bag.format="mac"}),tX=d("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=eA),tC.init(e,t)}),tY=d("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=eT),tC.init(e,t),e._zod.check=n=>{let r=n.value.split("/");try{if(2!==r.length)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function tG(e){if(""===e)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}let tK=d("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=eD),tC.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{tG(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}}),tJ=d("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=eC),tC.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{!function(e){if(!eC.test(e))return!1;let t=e.replace(/[-_]/g,e=>"-"===e?"+":"/");return tG(t.padEnd(4*Math.ceil(t.length/4),"="))}(n.value)&&n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),t0=d("$ZodE164",(e,t)=>{t.pattern??(t.pattern=eI),tC.init(e,t)}),t1=d("$ZodJWT",(e,t)=>{tC.init(e,t),e._zod.check=n=>{!function(e,t=null){try{let n=e.split(".");if(3!==n.length)return!1;let[r]=n;if(!r)return!1;let a=JSON.parse(atob(r));if("typ"in a&&a?.typ!=="JWT"||!a.alg||t&&(!("alg"in a)||a.alg!==t))return!1;return!0}catch{return!1}}(n.value,t.alg)&&n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),t2=d("$ZodCustomStringFormat",(e,t)=>{tC.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:"invalid_format",format:t.format,input:n.value,inst:e,continue:!t.abort})}}),t4=d("$ZodNumber",(e,t)=>{tT.init(e,t),e._zod.pattern=e._zod.bag.pattern??ez,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch(e){}let a=n.value;if("number"==typeof a&&!Number.isNaN(a)&&Number.isFinite(a))return n;let i="number"==typeof a?Number.isNaN(a)?"NaN":Number.isFinite(a)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:a,inst:e,...i?{received:i}:{}}),n}}),t8=d("$ZodNumberFormat",(e,t)=>{tl.init(e,t),t4.init(e,t)}),t6=d("$ZodBoolean",(e,t)=>{tT.init(e,t),e._zod.pattern=eF,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch(e){}let a=n.value;return"boolean"==typeof a||n.issues.push({expected:"boolean",code:"invalid_type",input:a,inst:e}),n}}),t3=d("$ZodBigInt",(e,t)=>{tT.init(e,t),e._zod.pattern=eZ,e._zod.parse=(n,r)=>
186{if(t.coerce)try{n.value=BigInt(n.value)}catch(e){}return"bigint"==typeof n.value||n.issues.push({expected:"bigint",code:"invalid_type",input:n.value,inst:e}),n}}),t5=d("$ZodBigIntFormat",(e,t)=>{ts.init(e,t),t3.init(e,t)}),t7=d("$ZodSymbol",(e,t)=>{tT.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return"symbol"==typeof r||t.issues.push({expected:"symbol",code:"invalid_type",input:r,inst:e}),t}}),t9=d("$ZodUndefined",(e,t)=>{tT.init(e,t),e._zod.pattern=eH,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(t,n)=>{let r=t.value;return void 0===r||t.issues.push({expected:"undefined",code:"invalid_type",input:r,inst:e}),t}}),ne=d("$ZodNull",(e,t)=>{tT.init(e,t),e._zod.pattern=eQ,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{let r=t.value;return null===r||t.issues.push({expected:"null",code:"invalid_type",input:r,inst:e}),t}}),nt=d("$ZodAny",(e,t)=>{tT.init(e,t),e._zod.parse=e=>e}),nn=d("$ZodUnknown",(e,t)=>{tT.init(e,t),e._zod.parse=e=>e}),nr=d("$ZodNever",(e,t)=>{tT.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)}),na=d("$ZodVoid",(e,t)=>{tT.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return void 0===r||t.issues.push({expected:"void",code:"invalid_type",input:r,inst:e}),t}}),ni=d("$ZodDate",(e,t)=>{tT.init(e,t),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=new Date(n.value)}catch(e){}let a=n.value,i=a instanceof Date;return i&&!Number.isNaN(a.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:a,...i?{received:"Invalid Date"}:{},inst:e}),n}});function no(e,t,n){e.issues.length&&t.issues.push(...B(n,e.issues)),t.value[n]=e.value}let nl=d("$ZodArray",(e,t)=>{tT.init(e,t),e._zod.parse=(n,r)=>{let a=n.value;if(!Array.isArray(a))return n.issues.push({expected:"array",code:"invalid_type",input:a,inst:e}),n;n.value=Array(a.length);let i=[];for(let e=0;e<a.length;e++){let o=a[e],l=t.element._zod.run({value:o,issues:[]},r);l instanceof Promise?i.push(l.then(t=>no(t,n,e))):no(l,n,e)}return i.length?Promise.all(i).then(()=>n):n}});function ns(e,t,n,r,a){if(e.issues.length){if(a&&!(n in r))return;t.issues.push(...B(n,e.issues))}void 0===e.value?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function nu(e){var t;let n=Object.keys(e.shape);for(let t of n)if(!e.shape?.[t]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${t}": expected a Zod schema`);let r=Object.keys(t=e.shape).filter(e=>"optional"===t[e]._zod.optin&&"optional"===t[e]._zod.optout);return{...e,keys:n,keySet:new Set(n),numKeys:n.length,optionalKeys:new Set(r)}}function nc(e,t,n,r,a,i){let o=[],l=a.keySet,s=a.catchall._zod,u=s.def.type,c="optional"===s.optout;for(let a in t){if(l.has(a))continue;if("never"===u){o.push(a);continue}let i=s.run({value:t[a],issues:[]},r);i instanceof Promise?e.push(i.then(e=>ns(e,n,a,t,c))):ns(i,n,a,t,c)}return(o.length&&n.issues.push({code:"unrecognized_keys",keys:o,input:t,inst:i}),e.length)?Promise.all(e).then(()=>n):n}let nd=d("$ZodObject",(e,t)=>{let n;tT.init(e,t);let r=Object.getOwnPropertyDescriptor(t,"shape");if(!r?.get){let e=t.shape;Object.defineProperty(t,"shape",{get:()=>{let n={...e};return Object.defineProperty(t,"shape",{value:n}),n}})}let a=b(()=>nu(t));x(e._zod,"propValues",()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values)for(let e of(n[t]??(n[t]=new Set),r.values))n[t].add(e)}return n});let i=t.catchall;e._zod.parse=(t,r)=>{n??(n=a.value);let o=t.value;if(!T(o))return t.issues.push({expected:"object",code:"invalid_type",input:o,inst:e}),t;t.value={};let l=[],s=n.shape;for(let e of n.keys){let n=s[e],a="optional"===n._zod.optout,i=n._zod.run({value:o[e],issues:[]},r);i instanceof Promise?l.push(i.then(n=>ns(n,t,e,o,a))):ns(i,t,e,o,a)}return i?nc(l,o,t,r,a.value,e):l.length?Promise.all(l).then(()=>t):t}}),np=d("$ZodObjectJIT",(e,t)=>{let n,r;nd.init(e,t);let a=e._zod.parse,i=b(()=>nu(t)),o=e=>{let t=new tE(["shape","payload","ctx"]),n=i.value,r=e=>{let t=E(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write("const input = payload.value;");let a=Object.create(null),o=0;for(let e of n.keys)a[e]=`key_${o++}`;for(let i of(t.write("const newResult = {};"),n.keys)){let n=a[i],o=E(i),l=e[i],s=l?._zod?.optout==="optional";t.write(`const ${n} = ${r(i)};`),s?t.write(` 187 if (${n}.issues.length) { 188 if (${o} in input) { 189 payload.issues = payload.issues.concat(${n}.issues.map(iss => ({ 190 ...iss, 191 path: iss.path ? [${o}, ...iss.path] : [${o}] 192 }))); 193 } 194 } 195 196 if (${n}.value === undefined) { 197 if (${o} in input) { 198 newResult[${o}] = undefined; 199 } 200 } else { 201 newResult[${o}] = ${n}.value; 202 } 203 204 `):t.write(` 205 if (${n}.issues.length) { 206 payload.issues = payload.issues.concat(${n}.issues.map(iss => ({ 207 ...iss, 208 path: iss.path ? [${o}, ...iss.path] : [${o}] 209 }))); 210 } 211 212 if (${n}.value === undefined) { 213 if (${o} in input) { 214 newResult[${o}] = undefined; 215 } 216 } else { 217 newResult[${o}] = ${n}.value; 218 } 219 220 `)}t.write("payload.value = newResult;"),t.write("return payload;");let l=t.compile();return(t,n)=>l(e,t,n)},l=!f.jitless,s=l&&D.value,u=t.catchall;e._zod.parse=(c,d)=>{r??(r=i.value);let p=c.value;return T(p)?l&&s&&d?.async===!1&&!0!==d.jitless?(n||(n=o(t.shape)),c=n(c,d),u)?nc([],p,c,d,r,e):c:a(c,d):(c.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}
220),c)}});function nm(e,t,n,r){for(let n of e)if(0===n.issues.length)return t.value=n.value,t;let a=e.filter(e=>!Z(e));return 1===a.length?(t.value=a[0].value,a[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>F(e,r,h())))}),t)}let nf=d("$ZodUnion",(e,t)=>{tT.init(e,t),x(e._zod,"optin",()=>t.options.some(e=>"optional"===e._zod.optin)?"optional":void 0),x(e._zod,"optout",()=>t.options.some(e=>"optional"===e._zod.optout)?"optional":void 0),x(e._zod,"values",()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),x(e._zod,"pattern",()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>w(e.source)).join("|")})$`)}});let n=1===t.options.length,r=t.options[0]._zod.run;e._zod.parse=(a,i)=>{if(n)return r(a,i);let o=!1,l=[];for(let e of t.options){let t=e._zod.run({value:a.value,issues:[]},i);if(t instanceof Promise)l.push(t),o=!0;else{if(0===t.issues.length)return t;l.push(t)}}return o?Promise.all(l).then(t=>nm(t,a,e,i)):nm(l,a,e,i)}});function nh(e,t,n,r){let a=e.filter(e=>0===e.issues.length);return 1===a.length?t.value=a[0].value:0===a.length?t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>F(e,r,h())))}):t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:[],inclusive:!1}),t}let ng=d("$ZodXor",(e,t)=>{nf.init(e,t),t.inclusive=!1;let n=1===t.options.length,r=t.options[0]._zod.run;e._zod.parse=(a,i)=>{if(n)return r(a,i);let o=!1,l=[];for(let e of t.options){let t=e._zod.run({value:a.value,issues:[]},i);t instanceof Promise?(l.push(t),o=!0):l.push(t)}return o?Promise.all(l).then(t=>nh(t,a,e,i)):nh(l,a,e,i)}}),nv=d("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,nf.init(e,t);let n=e._zod.parse;x(e._zod,"propValues",()=>{let e={};for(let n of t.options){let r=n._zod.propValues;if(!r||0===Object.keys(r).length)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);for(let[t,n]of Object.entries(r))for(let r of(e[t]||(e[t]=new Set),n))e[t].add(r)}return e});
220let r=b(()=>{let e=t.options,n=new Map;for(let r of e){let e=r._zod.propValues?.[t.discriminator];if(!e||0===e.size)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);for(let t of e){if(n.has(t))throw Error(`Duplicate discriminator value "${String(t)}"`);n.set(t,r)}}return n});e._zod.parse=(a,i)=>{let o=a.value;if(!T(o))return a.issues.push({code:"invalid_type",expected:"object",input:o,inst:e}),a;let l=r.value.get(o?.[t.discriminator]);return l?l._zod.run(a,i):t.unionFallback?n(a,i):(a.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:o,path:[t.discriminator],inst:e}),a)}}),ny=d("$ZodIntersection",(e,t)=>{tT.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,a=t.left._zod.run({value:r,issues:[]},n),i=t.right._zod.run({value:r,issues:[]},n);return a instanceof Promise||i instanceof Promise?Promise.all([a,i]).then(([t,n])=>nb(e,t,n)):nb(e,a,i)}});function nb(e,t,n){let r;let a=new Map;for(let n of t.issues)if("unrecognized_keys"===n.code)for(let e of(r??(r=n),n.keys))a.has(e)||a.set(e,{}),a.get(e).l=!0;else e.issues.push(n);for(let t of n.issues)if("unrecognized_keys"===t.code)for(let e of t.keys)a.has(e)||a.set(e,{}),a.get(e).r=!0;else e.issues.push(t);let i=[...a].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(i.length&&r&&e.issues.push({...r,keys:i}),Z(e))return e;let o=function e(t,n){if(t===n||t instanceof Date&&n instanceof Date&&+t==+n)return{valid:!0,data:t};if(C(t)&&C(n)){let r=Object.keys(n),a=Object.keys(t).filter(e=>-1!==r.indexOf(e)),i={...t,...n};for(let r of a){let a=e(t[r],n[r]);if(!a.valid)return{valid:!1,mergeErrorPath:[r,...a.mergeErrorPath]};i[r]=a.data}return{valid:!0,data:i}}if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return{valid:!1,mergeErrorPath:[]};let r=[];for(let a=0;a<t.length;a++){let i=e(t[a],n[a]);if(!i.valid)return{valid:!1,mergeErrorPath:[a,...i.mergeErrorPath]};r.push(i.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}let nO=d("$ZodTuple",(e,t)=>{tT.init(e,t);let n=t.items;e._zod.parse=(r,a)=>{let i=r.value;if(!Array.isArray(i))return r.issues.push({input:i,inst:e,expected:"tuple",code:"invalid_type"}),r;r.value=[];let o=[],l=[...n].reverse().findIndex(e=>"optional"!==e._zod.optin),s=-1===l?0:n.length-l;if(!t.rest){let t=i.length>n.length,a=i.length<s-1;if(t||a)return r.issues.push({...t?{code:"too_big",maximum:n.length,inclusive:!0}:{code:"too_small",minimum:n.length},input:i,inst:e,origin:"array"}),r}let u=-1;for(let e of n){if(++u>=i.length&&u>=s)continue;let t=e._zod.run({value:i[u],issues:[]},a);t instanceof Promise?o.push(t.then(e=>nw(e,r,u))):nw(t,r,u)}if(t.rest)for(let e of i.slice(n.length)){u++;let n=t.rest._zod.run({value:e,issues:[]},a);n instanceof Promise?o.push(n.then(e=>nw(e,r,u))):nw(n,r,u)}return o.length?Promise.all(o).then(()=>r):r}});function nw(e,t,n){e.issues.length&&t.issues.push(...B(n,e.issues)),t.value[n]=e.value}let nk=d("$ZodRecord",(e,t)=>{tT.init(e,t),e._zod.parse=(n,r)=>{let a=n.value;if(!C(a))return n.issues.push({expected:"record",code:"invalid_type",input:a,inst:e}),n;let i=[],o=t.keyType._zod.values;if(o){let l;n.value={};let s=new Set;for(let e of o)if("string"==typeof e||"number"==typeof e||"symbol"==typeof e){s.add("number"==typeof e?e.toString():e);let o=t.valueType._zod.run({value:a[e],issues:[]},r);o instanceof Promise?i.push(o.then(t=>{t.issues.length&&n.issues.push(...B(e,t.issues)),n.value[e]=t.value})):(o.issues.length&&n.issues.push(...B(e,o.issues)),n.value[e]=o.value)}for(let e in a)s.has(e)||(l=l??[]).push(e);l&&l.length>0&&n.issues.push({code:"unrecognized_keys",input:a,inst:e,keys:l})}else for(let o of(n.value={},Reflect.ownKeys(a))){if("__proto__"===o)continue;let l=t.keyType._zod.run({value:o,issues:[]},r);if(l instanceof Promise)throw Error("Async schemas not supported in object keys currently");if("string"==typeof o&&ez.test(o)&&l.issues.length){let e=t.keyType._zod.run({value:Number(o),issues:[]},r);if(e instanceof Promise)throw Error("Async schemas not supported in object keys currently");0===e.issues.length&&(l=e)}if(l.issues.length){"loose"===t.mode?n.value[o]=a[o]:n.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(e=>
220F(e,r,h())),input:o,path:[o],inst:e});continue}let s=t.valueType._zod.run({value:a[o],issues:[]},r);s instanceof Promise?i.push(s.then(e=>{e.issues.length&&n.issues.push(...B(o,e.issues)),n.value[l.value]=e.value})):(s.issues.length&&n.issues.push(...B(o,s.issues)),n.value[l.value]=s.value)}return i.length?Promise.all(i).then(()=>n):n}}),nx=d("$ZodMap",(e,t)=>{tT.init(e,t),e._zod.parse=(n,r)=>{let a=n.value;if(!(a instanceof Map))return n.issues.push({expected:"map",code:"invalid_type",input:a,inst:e}),n;let i=[];for(let[o,l]of(n.value=new Map,a)){let s=t.keyType._zod.run({value:o,issues:[]},r),u=t.valueType._zod.run({value:l,issues:[]},r);s instanceof Promise||u instanceof Promise?i.push(Promise.all([s,u]).then(([t,i])=>{nS(t,i,n,o,a,e,r)})):nS(s,u,n,o,a,e,r)}return i.length?Promise.all(i).then(()=>n):n}});function nS(e,t,n,r,a,i,o){e.issues.length&&(P.has(typeof r)?n.issues.push(...B(r,e.issues)):n.issues.push({code:"invalid_key",origin:"map",input:a,inst:i,issues:e.issues.map(e=>F(e,o,h()))})),t.issues.length&&(P.has(typeof r)?n.issues.push(...B(r,t.issues)):n.issues.push({origin:"map",code:"invalid_element",input:a,inst:i,key:r,issues:t.issues.map(e=>F(e,o,h()))})),n.value.set(e.value,t.value)}let n_=d("$ZodSet",(e,t)=>{tT.init(e,t),e._zod.parse=(n,r)=>{let a=n.value;if(!(a instanceof Set))return n.issues.push({input:a,inst:e,expected:"set",code:"invalid_type"}),n;let i=[];for(let e of(n.value=new Set,a)){let a=t.valueType._zod.run({value:e,issues:[]},r);a instanceof Promise?i.push(a.then(e=>nE(e,n))):nE(a,n)}return i.length?Promise.all(i).then(()=>n):n}});function nE(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}let nA=d("$ZodEnum",(e,t)=>{tT.init(e,t);let n=g(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>P.has(typeof e)).map(e=>"string"==typeof e?N(e):e.toString()).join("|")})$`),e._zod.parse=(t,a)=>{let i=t.value;return r.has(i)||t.issues.push({code:"invalid_value",values:n,input:i,inst:e}),t}}),nT=d("$ZodLiteral",(e,t)=>{if(tT.init(e,t),0===t.values.length)throw Error("Cannot create literal schema with no valid values");let n=new Set(t.values);e._zod.values=n,e._zod.pattern=RegExp(`^(${t.values.map(e=>"string"==typeof e?N(e):e?N(e.toString()):String(e)).join("|")})$`),e._zod.parse=(r,a)=>{let i=r.value;return n.has(i)||r.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),r}}),nD=d("$ZodFile",(e,t)=>{tT.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return r instanceof File||t.issues.push({expected:"file",code:"invalid_type",input:r,inst:e}),t}}),nC=d("$ZodTransform",(e,t)=>{tT.init(e,t),e._zod.parse=(n,r)=>{if("backward"===r.direction)throw new m(e.constructor.name);let a=t.transform(n.value,n);if(r.async)return(a instanceof Promise?a:Promise.resolve(a)).then(e=>(n.value=e,n));if(a instanceof Promise)throw new p;return n.value=a,n}});function n$(e,t){return e.issues.length&&void 0===t?{issues:[],value:void 0}:e}let nP=d("$ZodOptional",(e,t)=>{tT.init(e,t),e._zod.optin="optional",e._zod.optout="optional",x(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),x(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${w(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if("optional"===t.innerType._zod.optin){let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>n$(t,e.value)):n$(r,e.value)}return void 0===e.value?e:t.innerType._zod.run(e,n)}}),nI=d("$ZodExactOptional",(e,t)=>{nP.init(e,t),x(e._zod,"values",()=>t.innerType._zod.values),x(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),nN=d("$ZodNullable",(e,t)=>{tT.init(e,t),x(e._zod,"optin",()=>t.innerType._zod.optin),x(e._zod,"optout",()=>t.innerType._zod.optout),x(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${w(e.source)}|null)$`):void 0}),x(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>null===e.value?e:t.innerType._zod.run(e,n)}),nU=d("$ZodDefault",(e,t)=>{tT.init(e,t),e._zod.optin="optional",x(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if("backward"===n.direction)return t.innerType._zod.run(e,n);if(void 0===e.value)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>nM(e,t)):nM(r,t)}});function nM(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}let nR=d("$ZodPrefault",(e,t)=>{tT.init(e,t),e._zod.optin="optional",x(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>("backward"===n.direction||void 0===e.value&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),nj=d("$ZodNonOptional",(e,t)=>{tT.init(e,t),x(e._zod,"values",()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>void 0!==e)):void 0}),e._zod.parse=(n,r)=>{let a=t.innerType._zod.run(n,r);return a instanceof Promise?a.then(t=>nL(t,e)):nL(a,e)}});function nL(e,t){return e.issues.length||void 0!==e.value||e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}let nZ=d("$ZodSuccess",(e,t)=>{tT.init(e,t),e._zod.parse=(e,n)=>
220{if("backward"===n.direction)throw new m("ZodSuccess");let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>(e.value=0===t.issues.length,e)):(e.value=0===r.issues.length,e)}}),nB=d("$ZodCatch",(e,t)=>{tT.init(e,t),x(e._zod,"optin",()=>t.innerType._zod.optin),x(e._zod,"optout",()=>t.innerType._zod.optout),x(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if("backward"===n.direction)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>F(e,n,h()))},input:e.value}),e.issues=[]),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>F(e,n,h()))},input:e.value}),e.issues=[]),e)}}),nz=d("$ZodNaN",(e,t)=>{tT.init(e,t),e._zod.parse=(t,n)=>("number"==typeof t.value&&Number.isNaN(t.value)||t.issues.push({input:t.value,inst:e,expected:"nan",code:"invalid_type"}),t)}),nF=d("$ZodPipe",(e,t)=>{tT.init(e,t),x(e._zod,"values",()=>t.in._zod.values),x(e._zod,"optin",()=>t.in._zod.optin),x(e._zod,"optout",()=>t.out._zod.optout),x(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if("backward"===n.direction){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>nQ(e,t.in,n)):nQ(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>nQ(e,t.out,n)):nQ(r,t.out,n)}});function nQ(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}let nH=d("$ZodCodec",(e,t)=>{tT.init(e,t),x(e._zod,"values",()=>t.in._zod.values),x(e._zod,"optin",()=>t.in._zod.optin),x(e._zod,"optout",()=>t.out._zod.optout),x(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if("forward"===(n.direction||"forward")){let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>nq(e,t,n)):nq(r,t,n)}{let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>nq(e,t,n)):nq(r,t,n)}}});function nq(e,t,n){if(e.issues.length)return e.aborted=!0,e;if("forward"===(n.direction||"forward")){let r=t.transform(e.value,e);return r instanceof Promise?r.then(r=>nV(e,r,t.out,n)):nV(e,r,t.out,n)}{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(r=>nV(e,r,t.in,n)):nV(e,r,t.in,n)}}function nV(e,t,n,r){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},r)}let nW=d("$ZodReadonly",(e,t)=>{tT.init(e,t),x(e._zod,"propValues",()=>t.innerType._zod.propValues),x(e._zod,"values",()=>t.innerType._zod.values),x(e._zod,"optin",()=>t.innerType?._zod?.optin),x(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if("backward"===n.direction)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(nX):nX(r)}});function nX(e){return e.value=Object.freeze(e.value),e}let nY=d("$ZodTemplateLiteral",(e,t)=>{tT.init(e,t);let n=[];for(let e of t.parts)if("object"==typeof e&&null!==e){if(!e._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...e._zod.traits].shift()}`);let t=e._zod.pattern instanceof RegExp?e._zod.pattern.source:e._zod.pattern;if(!t)throw Error(`Invalid template literal part: ${e._zod.traits}`);let r=t.startsWith("^")?1:0,a=t.endsWith("$")?t.length-1:t.length;n.push(t.slice(r,a))}else if(null===e||I.has(typeof e))n.push(N(`${e}`));else throw Error(`Invalid template literal part: ${e}`);e._zod.pattern=RegExp(`^${n.join("")}$`),e._zod.parse=(n,r)=>("string"!=typeof n.value?n.issues.push({input:n.value,inst:e,expected:"string",code:"invalid_type"}):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(n.value)||n.issues.push({input:n.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source})),n)}),nG=d("$ZodFunction",(e,t)=>(tT.init(e,t),e._def=t,e._zod.def=t,e.implement=t=>{if("function"!=typeof t)throw Error("implement() must be called with a function");return function(...n){let r=Reflect.apply(t,this,e._def.input?G(e._def.input,n):n);return e._def.output?G(e._def.output,r):r}},e.implementAsync=t=>{if("function"!=typeof t)throw Error("implementAsync() must be called with a function");return async function(...n){let r=e._def.input?await J(e._def.input,n):n,a=await Reflect.apply(t,this,r);return e._def.output?await J(e._def.output,a):a}},e._zod.parse=(t,n)=>("function"!=typeof t.value?t.issues.push({code:"invalid_type",expected:"function",input:t.value,inst:e}):e._def.output&&"promise"===e._def.output._zod.def.type?t.value=e.implementAsync(t.value):t.value=e.implement(t.value),t),e.input=(...t)=>new e.constructor(Array.isArray(t[0])?{type:"function",input:new nO({type:"tuple",items:t[0],rest:t[1]}),output:e._def.output}:{type:"function",input:t[0],output:e._def.output}),e.output=t=>new e.constructor({type:"function",input:e._def.input,output:t}),e)),nK=d("$ZodPromise",(e,t)=>{tT.init(e,t),e._zod.parse=(e,n)=>Promise.resolve(e.value).then(e=>t.innerType._zod.run({value:e,issues:[]},n))}),nJ=d("$ZodLazy",(e,t)=>{tT.init(e,t),x(e._zod,"innerType",()=>t.getter()),x(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),x(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),x(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),x(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),n0=d("$ZodCustom",(e,t)=>{tn.init(e,t),tT.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,a=t.fn(r);if(a instanceof Promise)return a.then(t=>n1(t,n,r,e));n1(a,n,r,e)}});function n1(e,t,n,r){if(!e){let e={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(q(e))}}Symbol("ZodOutput"),Symbol("ZodInput");class n2{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&"object"==typeof n&&"id"in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&"object"==typeof t&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}}(r=globalThis).__zod_globalRegistry??(r.__zod_globalRegistry=new n2);let n4=globalThis.__zod_globalRegistry;function n8(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...M(t)})}function n6(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...M(t)})}function n3(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...M(t)})}function n5(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...M(t)})}function n7(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...M(t)})}function n9(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...M(t)})}function re(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...M(t)})}function rt(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...M(t)})}function rn(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...M(t)})}function rr(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...M(t)})}function ra(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...M(t)})}function ri(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...M(t)})}function ro(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...M(t)})}function rl(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...M(t)})}function rs(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...M(t)})}function ru(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...M(t)})}function rc(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...M(t)})}function rd(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...M(t)})}function rp(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...M(t)})}function rm(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...M(t)})}function rf(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...M(t)})}function rh(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...M(t)})}function rg(e,t){return new ta({check:"less_than",...M(t),value:e,inclusive:!1})}function rv(e,t){return new ta({check:"less_than",...M(t),value:e,inclusive:!0})}function ry(e,t){return new ti({check:"greater_than",...M(t),value:e,inclusive:!1})}function rb(e,t){return new ti({check:"greater_than",...M(t),value:e,inclusive:!0})}function rO(e){return ry(0,e)}function rw(e){return rg(0,e)}function rk(e){return rv(0,e)}function rx(e){return rb(0,e)}function rS(e,t){return new to({check:"multiple_of",...M(t),value:e})}function r_(e,t){return new tu({check:"max_size",...M(t),maximum:e})}function rE(e,t){return new tc({check:"min_size",...M(t),minimum:e})}function rA(e,t){return new td({check:"size_equals",...M(t),size:e})}function rT(e,t){return new tp({check:"max_length",...M(t),maximum:e})}function rD(e,t){return new tm({check:"min_length",...M(t),minimum:e})}function rC(e,t){return new tf({check:"length_equals",...M(t),length:e})}function r$(e,t){return new tg({check:"string_format",format:"regex",...M(t),pattern:e})}function rP(e){return new tv({check:"string_format",format:"lowercase",...M(e)})}
220function rI(e){return new ty({check:"string_format",format:"uppercase",...M(e)})}function rN(e,t){return new tb({check:"string_format",format:"includes",...M(t),includes:e})}function rU(e,t){return new tO({check:"string_format",format:"starts_with",...M(t),prefix:e})}function rM(e,t){return new tw({check:"string_format",format:"ends_with",...M(t),suffix:e})}function rR(e,t,n){return new tx({check:"property",property:e,schema:t,...M(n)})}function rj(e,t){return new tS({check:"mime_type",mime:e,...M(t)})}function rL(e){return new t_({check:"overwrite",tx:e})}function rZ(e){return rL(t=>t.normalize(e))}function rB(){return rL(e=>e.trim())}function rz(){return rL(e=>e.toLowerCase())}function rF(){return rL(e=>e.toUpperCase())}function rQ(){return rL(e=>e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,""))}function rH(e,t,n,r={}){let a=M(r),i={...M(r),check:"string_format",type:"string",format:t,fn:"function"==typeof n?n:e=>n.test(e),...a};return n instanceof RegExp&&(i.pattern=n),new e(i)}function rq(e){let t=e?.target??"draft-2020-12";return"draft-4"===t&&(t="draft-04"),"draft-7"===t&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??n4,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function rV(e,t,n={path:[],schemaPath:[]}){var r;let a=e._zod.def,i=t.seen.get(e);if(i)return i.count++,n.schemaPath.includes(e)&&(i.cycle=n.path),i.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let l=e._zod.toJSONSchema?.();if(l)o.schema=l;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,i=t.processors[a.type];if(!i)throw Error(`[toJSONSchema]: Non-representable type encountered: ${a.type}`);i(e,t,n,r)}let i=e._zod.parent;i&&(o.ref||(o.ref=i),rV(i,t,r),t.seen.get(i).isParent=!0)}let s=t.metadataRegistry.get(e);return s&&Object.assign(o.schema,s),"input"===t.io&&function e(t,n){let r=n??{seen:new Set};if(r.seen.has(t))return!1;r.seen.add(t);let a=t._zod.def;if("transform"===a.type)return!0;if("array"===a.type)return e(a.element,r);if("set"===a.type)return e(a.valueType,r);if("lazy"===a.type)return e(a.getter(),r);if("promise"===a.type||"optional"===a.type||"nonoptional"===a.type||"nullable"===a.type||"readonly"===a.type||"default"===a.type||"prefault"===a.type)return e(a.innerType,r);if("intersection"===a.type)return e(a.left,r)||e(a.right,r);if("record"===a.type||"map"===a.type)return e(a.keyType,r)||e(a.valueType,r);if("pipe"===a.type)return e(a.in,r)||e(a.out,r);if("object"===a.type){for(let t in a.shape)if(e(a.shape[t],r))return!0;return!1}if("union"===a.type){for(let t of a.options)if(e(t,r))return!0;return!1}if("tuple"===a.type){for(let t of a.items)if(e(t,r))return!0;if(a.rest&&e(a.rest,r))return!0}return!1}(e)&&(delete o.schema.examples,delete o.schema.default),"input"===t.io&&o.schema._prefault&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function rW(e,t){let n=e.seen.get(t);if(!n)throw Error("Unprocessed schema. This is a bug in Zod.");let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let a=t=>{let r="draft-2020-12"===e.target?"$defs":"definitions";if(e.external){let n=e.external.registry.get(t[0])?.id,a=e.external.uri??(e=>e);if(n)return{ref:a(n)};let i=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=i,{defId:i,ref:`${a("__shared")}#/${r}/${i}`}}if(t[1]===n)return{ref:"#"};let a=`#/${r}/`,i=t[1].schema.id??`__schema${e.counter++}`;return{defId:i,ref:a+i}},i=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=a(e);t.def={...t.schema},r&&(t.defId=r);let i=t.schema;for(let e in i)delete i[e];i.$ref=n};if("throw"===e.cycles)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join("/")}/<root> 221 222Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){i(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){i(n);continue}}if(e.metadataRegistry.get(n[0])?.id||r.cycle||r.count>1&&"ref"===e.reused){i(n);continue}}}function rX(e,t){let n=e.seen.get(t);if(!n)throw Error("Unprocessed schema. This is a bug in Zod.");let r=t=>{let n=e.seen.get(t);if(null===n.ref)return;let a=n.def??n.schema,i={...a},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),l=n.schema;if(l.$ref&&("draft-07"===e.target||"draft-04"===e.target||"openapi-3.0"===e.target)?(a.allOf=a.allOf??[],a.allOf.push(l)):Object.assign(a,l),Object.assign(a,i),t._zod.parent===o)for(let e in a)"$ref"===e||"allOf"===e||e in i||delete a[e];if(l.$ref&&n.def)for(let e in a)"$ref"!==e&&"allOf"!==e&&e in n.def&&JSON.stringify(a[e])===JSON.stringify(n.def[e])&&delete a[e]}let l=t._zod.parent;if(l&&l!==o){r(l);let t=e.seen.get(l);if(t?.schema.$ref&&(a.$ref=t.schema.$ref,t.def))for(let e in a)"$ref"!==e&&"allOf"!==e&&e in t.def&&JSON.stringify(a[e])===JSON.stringify(t.def[e])&&delete a[e]}e.override({zodSchema:t,jsonSchema:a,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let a={};
222if("draft-2020-12"===e.target?a.$schema="https://json-schema.org/draft/2020-12/schema":"draft-07"===e.target?a.$schema="http://json-schema.org/draft-07/schema#":"draft-04"===e.target?a.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");a.$id=e.external.uri(n)}Object.assign(a,n.def??n.schema);let i=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(i[e.defId]=e.def)}e.external||Object.keys(i).length>0&&("draft-2020-12"===e.target?a.$defs=i:a.definitions=i);try{let n=JSON.parse(JSON.stringify(a));return Object.defineProperty(n,"~standard",{value:{...t["~standard"],jsonSchema:{input:rG(t,"input",e.processors),output:rG(t,"output",e.processors)}},enumerable:!1,writable:!1}),n}catch(e){throw Error("Error converting schema to JSON.")}}let rY=(e,t={})=>n=>{let r=rq({...n,processors:t});return rV(e,r),rW(r,e),rX(r,e)},rG=(e,t,n={})=>r=>{let{libraryOptions:a,target:i}=r??{},o=rq({...a??{},target:i,io:t,processors:n});return rV(e,o),rW(o,e),rX(o,e)},rK={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},rJ=(e,t,n,r)=>{n.type="string";let{minimum:a,maximum:i,format:o,patterns:l,contentEncoding:s}=e._zod.bag;if("number"==typeof a&&(n.minLength=a),"number"==typeof i&&(n.maxLength=i),o&&(n.format=rK[o]??o,""===n.format&&delete n.format,"time"===o&&delete n.format),s&&(n.contentEncoding=s),l&&l.size>0){let e=[...l];1===e.length?n.pattern=e[0].source:e.length>1&&(n.allOf=[...e.map(e=>({..."draft-07"===t.target||"draft-04"===t.target||"openapi-3.0"===t.target?{type:"string"}:{},pattern:e.source}))])}},r0=(e,t,n,r)=>{let{minimum:a,maximum:i,format:o,multipleOf:l,exclusiveMaximum:s,exclusiveMinimum:u}=e._zod.bag;"string"==typeof o&&o.includes("int")?n.type="integer":n.type="number","number"==typeof u&&("draft-04"===t.target||"openapi-3.0"===t.target?(n.minimum=u,n.exclusiveMinimum=!0):n.exclusiveMinimum=u),"number"==typeof a&&(n.minimum=a,"number"==typeof u&&"draft-04"!==t.target&&(u>=a?delete n.minimum:delete n.exclusiveMinimum)),"number"==typeof s&&("draft-04"===t.target||"openapi-3.0"===t.target?(n.maximum=s,n.exclusiveMaximum=!0):n.exclusiveMaximum=s),"number"==typeof i&&(n.maximum=i,"number"==typeof s&&"draft-04"!==t.target&&(s<=i?delete n.maximum:delete n.exclusiveMaximum)),"number"==typeof l&&(n.multipleOf=l)},r1=(e,t,n,r)=>{n.type="boolean"},r2=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("BigInt cannot be represented in JSON Schema")},r4=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Symbols cannot be represented in JSON Schema")},r8=(e,t,n,r)=>{"openapi-3.0"===t.target?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},r6=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Undefined cannot be represented in JSON Schema")},r3=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Void cannot be represented in JSON Schema")},r5=(e,t,n,r)=>{n.not={}},r7=(e,t,n,r)=>{},r9=(e,t,n,r)=>{},ae=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Date cannot be represented in JSON Schema")},at=(e,t,n,r)=>{let a=g(e._zod.def.entries);a.every(e=>"number"==typeof e)&&(n.type="number"),a.every(e=>"string"==typeof e)&&(n.type="string"),n.enum=a},an=(e,t,n,r)=>{let a=e._zod.def,i=[];for(let e of a.values)if(void 0===e){if("throw"===t.unrepresentable)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if("bigint"==typeof e){if("throw"===t.unrepresentable)throw Error("BigInt literals cannot be represented in JSON Schema");i.push(Number(e))}else i.push(e);if(0===i.length);else if(1===i.length){let e=i[0];n.type=null===e?"null":typeof e,"draft-04"===t.target||"openapi-3.0"===t.target?n.enum=[e]:n.const=e}else i.every(e=>"number"==typeof e)&&(n.type="number"),i.every(e=>"string"==typeof e)&&(n.type="string"),i.every(e=>"boolean"==typeof e)&&(n.type="boolean"),i.every(e=>null===e)&&(n.type="null"),n.enum=i},ar=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("NaN cannot be represented in JSON Schema")},aa=(e,t,n,r)=>{let a=e._zod.pattern;if(!a)throw Error("Pattern not found in template literal");n.type="string",n.pattern=a.source},ai=(e,t,n,r)=>{let a={type:"string",format:"binary",contentEncoding:"binary"},{minimum:i,maximum:o,mime:l}=e._zod.bag;void 0!==i&&(a.minLength=i),void 0!==o&&(a.maxLength=o),l?1===l.length?(a.contentMediaType=l[0],Ob
222ject.assign(n,a)):(Object.assign(n,a),n.anyOf=l.map(e=>({contentMediaType:e}))):Object.assign(n,a)},ao=(e,t,n,r)=>{n.type="boolean"},al=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Custom types cannot be represented in JSON Schema")},as=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Function types cannot be represented in JSON Schema")},au=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Transforms cannot be represented in JSON Schema")},ac=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Map cannot be represented in JSON Schema")},ad=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Set cannot be represented in JSON Schema")},ap=(e,t,n,r)=>{let a=e._zod.def,{minimum:i,maximum:o}=e._zod.bag;"number"==typeof i&&(n.minItems=i),"number"==typeof o&&(n.maxItems=o),n.type="array",n.items=rV(a.element,t,{...r,path:[...r.path,"items"]})},am=(e,t,n,r)=>{let a=e._zod.def;n.type="object",n.properties={};let i=a.shape;for(let e in i)n.properties[e]=rV(i[e],t,{...r,path:[...r.path,"properties",e]});let o=new Set([...new Set(Object.keys(i))].filter(e=>{let n=a.shape[e]._zod;return"input"===t.io?void 0===n.optin:void 0===n.optout}));o.size>0&&(n.required=Array.from(o)),a.catchall?._zod.def.type==="never"?n.additionalProperties=!1:a.catchall?a.catchall&&(n.additionalProperties=rV(a.catchall,t,{...r,path:[...r.path,"additionalProperties"]})):"output"===t.io&&(n.additionalProperties=!1)},af=(e,t,n,r)=>{let a=e._zod.def,i=!1===a.inclusive,o=a.options.map((e,n)=>rV(e,t,{...r,path:[...r.path,i?"oneOf":"anyOf",n]}));i?n.oneOf=o:n.anyOf=o},ah=(e,t,n,r)=>{let a=e._zod.def,i=rV(a.left,t,{...r,path:[...r.path,"allOf",0]}),o=rV(a.right,t,{...r,path:[...r.path,"allOf",1]}),l=[..."allOf"in i&&1===Object.keys(i).length?i.allOf:[i],..."allOf"in o&&1===Object.keys(o).length?o.allOf:[o]];n.allOf=l},ag=(e,t,n,r)=>{let a=e._zod.def;n.type="array";let i="draft-2020-12"===t.target?"prefixItems":"items",o="draft-2020-12"===t.target?"items":"openapi-3.0"===t.target?"items":"additionalItems",l=a.items.map((e,n)=>rV(e,t,{...r,path:[...r.path,i,n]})),s=a.rest?rV(a.rest,t,{...r,path:[...r.path,o,..."openapi-3.0"===t.target?[a.items.length]:[]]}):null;"draft-2020-12"===t.target?(n.prefixItems=l,s&&(n.items=s)):"openapi-3.0"===t.target?(n.items={anyOf:l},s&&n.items.anyOf.push(s),n.minItems=l.length,s||(n.maxItems=l.length)):(n.items=l,s&&(n.additionalItems=s));let{minimum:u,maximum:c}=e._zod.bag;"number"==typeof u&&(n.minItems=u),"number"==typeof c&&(n.maxItems=c)},av=(e,t,n,r)=>{let a=e._zod.def;n.type="object";let i=a.keyType,o=i._zod.bag,l=o?.patterns;if("loose"===a.mode&&l&&l.size>0){let e=rV(a.valueType,t,{...r,path:[...r.path,"patternProperties","*"]});for(let t of(n.patternProperties={},l))n.patternProperties[t.source]=e}else("draft-07"===t.target||"draft-2020-12"===t.target)&&(n.propertyNames=rV(a.keyType,t,{...r,path:[...r.path,"propertyNames"]})),n.additionalProperties=rV(a.valueType,t,{...r,path:[...r.path,"additionalProperties"]});let s=i._zod.values;if(s){let e=[...s].filter(e=>"string"==typeof e||"number"==typeof e);e.length>0&&(n.required=e)}},ay=(e,t,n,r)=>{let a=e._zod.def,i=rV(a.innerType,t,r),o=t.seen.get(e);"openapi-3.0"===t.target?(o.ref=a.innerType,n.nullable=!0):n.anyOf=[i,{type:"null"}]},ab=(e,t,n,r)=>{let a=e._zod.def;rV(a.innerType,t,r),t.seen.get(e).ref=a.innerType},aO=(e,t,n,r)=>{let a=e._zod.def;rV(a.innerType,t,r),t.seen.get(e).ref=a.innerType,n.default=JSON.parse(JSON.stringify(a.defaultValue))},aw=(e,t,n,r)=>{let a=e._zod.def;rV(a.innerType,t,r),t.seen.get(e).ref=a.innerType,"input"===t.io&&(n._prefault=JSON.parse(JSON.stringify(a.defaultValue)))},ak=(e,t,n,r)=>{let a;let i=e._zod.def;rV(i.innerType,t,r),t.seen.get(e).ref=i.innerType;try{a=i.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}n.default=a},ax=(e,t,n,r)=>{let a=e._zod.def,i="input"===t.io?"transform"===a.in._zod.def.type?a.out:a.in:a.out;rV(i,t,r),t.seen.get(e).ref=i},aS=(e,t,n,r)=>{let a=e._zod.def;rV(a.innerType,t,r),t.seen.get(e).ref=a.innerType,n.readOnly=!0},a_=(e,t,n,r)=>{let a=e._zod.def;rV(a.innerType,t,r),t.seen.get(e).ref=a.innerType},aE=(e,t,n,r)=>{let a=e._zod.def;rV(a.innerType,t,r),t.seen.get(e).ref=a.innerType},aA=(e,t,n,r)=>{let a=e._zod.innerType;rV(a,t,r),t.seen.get(e).ref=a},aT=d("ZodISODateTime",(e,t)=>{tz.init(e,t),a0.init(e,t)});function aD(e){return new aT({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...M(e)})}let aC=d("ZodISODate",(e,t)=>{tF.init(e,t),a0.init(e,t)});function a$(e){return new aC({type:"string",format:"date",check:"string_format",...M(e)})}let aP=d("ZodISOTime",(e,t)=>{tQ.init(e,t),a0.init(e,t)});function aI(e){return new aP({type:"string",format:"time",check:"string_format",precision:null,...M(e)})}let aN=d("ZodISODuration",(e,t)=>{tH.init(e,t),a0.init(e,t)});function aU(e){return new aN({type:"string",format:"duration",check:"string_format",...M(e)})}let aM=(e,t)=>{W.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>(function(e,t=e=>e.message){let n={_errors:[]},r=e=>{for(let a of e.issues)if("invalid_union"===a.code&&a.errors.length)a.errors.map(e=>r({issues:e}));else if("invalid_key"===a.code)r({issues:a.issues});else if("invalid_element"===a.code)r({issues:a.issues});else if(0===a.path.length)n._errors.push(t(a));else{let e=n,r=0;for(;r<a.path.length;){let n=a.path[r];r===a.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(a))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(e),n})(e,t)},flatten:{value:t=>(function(e,t=e=>e.message){let n={},r=[];for(let a of e.issues)a.path.length>0?(n[a.path[0]]=n[a.path[0]]||[],n[a.path[0]].push(t(a))):r.push(t(a));return{formErrors:r,fieldErrors:n}})(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,y,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,y,2)}},isEmpty:{get:()=>0===e.issues.length}})};d("ZodError",aM);let aR=d("ZodError",aM,{Parent:Error}
222),aj=Y(aR),aL=K(aR),aZ=ee(aR),aB=en(aR),az=(e,t,n)=>{let r=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Y(aR)(e,t,r)},aF=(e,t,n)=>Y(aR)(e,t,n),aQ=async(e,t,n)=>{let r=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return K(aR)(e,t,r)},aH=async(e,t,n)=>K(aR)(e,t,n),aq=(e,t,n)=>{let r=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return ee(aR)(e,t,r)},aV=(e,t,n)=>ee(aR)(e,t,n),aW=async(e,t,n)=>{let r=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return en(aR)(e,t,r)},aX=async(e,t,n)=>en(aR)(e,t,n),aY=d("ZodType",(e,t)=>(tT.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:rG(e,"input"),output:rG(e,"output")}}),e.toJSONSchema=rY(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone(_(t,{checks:[...t.checks??[],...n.map(e=>"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e)]}),{parent:!0}),e.with=e.check,e.clone=(t,n)=>U(e,t,n),e.brand=()=>e,e.register=(t,n)=>(t.add(e,n),e),e.parse=(t,n)=>aj(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>aZ(e,t,n),e.parseAsync=async(t,n)=>aL(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>aB(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>az(e,t,n),e.decode=(t,n)=>aF(e,t,n),e.encodeAsync=async(t,n)=>aQ(e,t,n),e.decodeAsync=async(t,n)=>aH(e,t,n),e.safeEncode=(t,n)=>aq(e,t,n),e.safeDecode=(t,n)=>aV(e,t,n),e.safeEncodeAsync=async(t,n)=>aW(e,t,n),e.safeDecodeAsync=async(t,n)=>aX(e,t,n),e.refine=(t,n)=>e.check(lh(t,n)),e.superRefine=t=>e.check(lg(t)),e.overwrite=t=>e.check(rL(t)),e.optional=()=>oQ(e),e.exactOptional=()=>oq(e),e.nullable=()=>oW(e),e.nullish=()=>oQ(oW(e)),e.nonoptional=t=>o1(e,t),e.array=()=>oc(e),e.or=t=>ov([e,t]),e.and=t=>ox(e,t),e.transform=t=>o9(e,oz(t)),e.default=t=>oG(e,t),e.prefault=t=>oJ(e,t),e.catch=t=>o6(e,t),e.pipe=t=>o9(e,t),e.readonly=()=>lr(e),e.describe=t=>{let n=e.clone();return n4.add(n,{description:t}),n},Object.defineProperty(e,"description",{get:()=>n4.get(e)?.description,configurable:!0}),e.meta=(...t)=>{if(0===t.length)return n4.get(e);let n=e.clone();return n4.add(n,t[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=t=>t(e),e)),aG=d("_ZodString",(e,t)=>{tD.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>rJ(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...t)=>e.check(r$(...t)),e.includes=(...t)=>e.check(rN(...t)),e.startsWith=(...t)=>e.check(rU(...t)),e.endsWith=(...t)=>e.check(rM(...t)),e.min=(...t)=>e.check(rD(...t)),e.max=(...t)=>e.check(rT(...t)),e.length=(...t)=>e.check(rC(...t)),e.nonempty=(...t)=>e.check(rD(1,...t)),e.lowercase=t=>e.check(rP(t)),e.uppercase=t=>e.check(rI(t)),e.trim=()=>e.check(rB()),e.normalize=(...t)=>e.check(rZ(...t)),e.toLowerCase=()=>e.check(rz()),e.toUpperCase=()=>e.check(rF()),e.slugify=()=>e.check(rQ())}),aK=d("ZodString",(e,t)=>{tD.init(e,t),aG.init(e,t),e.email=t=>e.check(n8(a1,t)),e.url=t=>e.check(re(ie,t)),e.jwt=t=>e.check(rh(iU,t)),e.emoji=t=>e.check(rt(ia,t)),e.guid=t=>e.check(n6(a4,t)),e.uuid=t=>e.check(n3(a6,t)),e.uuidv4=t=>e.check(n5(a6,t)),e.uuidv6=t=>e.check(n7(a6,t)),e.uuidv7=t=>e.check(n9(a6,t)),e.nanoid=t=>e.check(rn(io,t)),e.guid=t=>e.check(n6(a4,t)),e.cuid=t=>e.check(rr(is,t)),e.cuid2=t=>e.check(ra(ic,t)),e.ulid=t=>e.check(ri(ip,t)),e.base64=t=>e.check(rp(iD,t)),e.base64url=t=>e.check(rm(i$,t)),e.xid=t=>e.check(ro(ih,t)),e.ksuid=t=>e.check(rl(iv,t)),e.ipv4=t=>e.check(rs(ib,t)),e.ipv6=t=>e.check(ru(ix,t)),e.cidrv4=t=>e.check(rc(i_,t)),e.cidrv6=t=>e.check(rd(iA,t)),e.e164=t=>e.check(rf(iI,t)),e.datetime=t=>e.check(aD(t)),e.date=t=>e.check(a$(t)),e.time=t=>e.check(aI(t)),e.duration=t=>e.check(aU(t))});function aJ(e){return new aK({type:"string",...M(e)})}let a0=d("ZodStringFormat",(e,t)=>{tC.init(e,t),aG.init(e,t)}),a1=d("ZodEmail",(e,t)=>{tI.init(e,t),a0.init(e,t)});function a2(e){return n8(a1,e)}let a4=d("ZodGUID",(e,t)=>{t$.init(e,t),a0.init(e,t)});function a8(e){return n6(a4,e)}let a6=d("ZodUUID",(e,t)=>{tP.init(e,t),a0.init(e,t)});function a3(e){return n3(a6,e)}function a5(e){return n5(a6,e)}function a7(e){return n7(a6,e)}function a9(e){return n9(a6,e)}let ie=d("ZodURL",(e,t)=>{tN.init(e,t),a0.init(e,t)});function it(e){return re(ie,e)}function ir(e){return re(ie,{protocol:/^https?$/,hostname:eP,...M(e)})}let ia=d("ZodEmoji",(e,t)=>{tU.init(e,t),a0.init(e,t)});function ii(e){return rt(ia,e)}let io=d("ZodNanoID",(e,t)=>{tM.init(e,t),a0.init(e,t)});function il(e){return rn(io,e)}let is=d("ZodCUID",(e,t)=>{tR.init(e,t),a0.init(e,t)});function iu(e){return rr(is,e)}let ic=d("ZodCUID2",(e,t)=>{tj.init(e,t),a0.init(e,t)});function id(e){return ra(ic,e)}let ip=d("ZodULID",(e,t)=>{tL.init(e,t),a0.init(e,t)});function im(e){return ri(ip,e)}let ih=d("ZodXID",(e,t)=>{tZ.init(e,t),a0.init(e,t)});function ig(e){return ro(ih,e)}let iv=d("ZodKSUID",(e,t)=>{tB.init(e,t),a0.init(e,t)});function iy(e){return rl(iv,e)}let ib=d("ZodIPv4",(e,t)=>
222{tq.init(e,t),a0.init(e,t)});function iO(e){return rs(ib,e)}let iw=d("ZodMAC",(e,t)=>{tW.init(e,t),a0.init(e,t)});function ik(e){return new iw({type:"string",format:"mac",check:"string_format",abort:!1,...M(e)})}let ix=d("ZodIPv6",(e,t)=>{tV.init(e,t),a0.init(e,t)});function iS(e){return ru(ix,e)}let i_=d("ZodCIDRv4",(e,t)=>{tX.init(e,t),a0.init(e,t)});function iE(e){return rc(i_,e)}let iA=d("ZodCIDRv6",(e,t)=>{tY.init(e,t),a0.init(e,t)});function iT(e){return rd(iA,e)}let iD=d("ZodBase64",(e,t)=>{tK.init(e,t),a0.init(e,t)});function iC(e){return rp(iD,e)}let i$=d("ZodBase64URL",(e,t)=>{tJ.init(e,t),a0.init(e,t)});function iP(e){return rm(i$,e)}let iI=d("ZodE164",(e,t)=>{t0.init(e,t),a0.init(e,t)});function iN(e){return rf(iI,e)}let iU=d("ZodJWT",(e,t)=>{t1.init(e,t),a0.init(e,t)});function iM(e){return rh(iU,e)}let iR=d("ZodCustomStringFormat",(e,t)=>{t2.init(e,t),a0.init(e,t)});function ij(e,t,n={}){return rH(iR,e,t,n)}function iL(e){return rH(iR,"hostname",e$,e)}function iZ(e){return rH(iR,"hex",eW,e)}function iB(e,t){let n=t?.enc??"hex",r=`${e}_${n}`,a=i[r];if(!a)throw Error(`Unrecognized hash format: ${r}`);return rH(iR,r,a,t)}let iz=d("ZodNumber",(e,t)=>{t4.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>r0(e,t,n,r),e.gt=(t,n)=>e.check(ry(t,n)),e.gte=(t,n)=>e.check(rb(t,n)),e.min=(t,n)=>e.check(rb(t,n)),e.lt=(t,n)=>e.check(rg(t,n)),e.lte=(t,n)=>e.check(rv(t,n)),e.max=(t,n)=>e.check(rv(t,n)),e.int=t=>e.check(iH(t)),e.safe=t=>e.check(iH(t)),e.positive=t=>e.check(ry(0,t)),e.nonnegative=t=>e.check(rb(0,t)),e.negative=t=>e.check(rg(0,t)),e.nonpositive=t=>e.check(rv(0,t)),e.multipleOf=(t,n)=>e.check(rS(t,n)),e.step=(t,n)=>e.check(rS(t,n)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function iF(e){return new iz({type:"number",checks:[],...M(e)})}let iQ=d("ZodNumberFormat",(e,t)=>{t8.init(e,t),iz.init(e,t)});function iH(e){return new iQ({type:"number",check:"number_format",abort:!1,format:"safeint",...M(e)})}function iq(e){return new iQ({type:"number",check:"number_format",abort:!1,format:"float32",...M(e)})}function iV(e){return new iQ({type:"number",check:"number_format",abort:!1,format:"float64",...M(e)})}function iW(e){return new iQ({type:"number",check:"number_format",abort:!1,format:"int32",...M(e)})}function iX(e){return new iQ({type:"number",check:"number_format",abort:!1,format:"uint32",...M(e)})}let iY=d("ZodBoolean",(e,t)=>{t6.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>r1(e,t,n,r)});function iG(e){return new iY({type:"boolean",...M(e)})}let iK=d("ZodBigInt",(e,t)=>{t3.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>r2(e,t,n,r),e.gte=(t,n)=>e.check(rb(t,n)),e.min=(t,n)=>e.check(rb(t,n)),e.gt=(t,n)=>e.check(ry(t,n)),e.gte=(t,n)=>e.check(rb(t,n)),e.min=(t,n)=>e.check(rb(t,n)),e.lt=(t,n)=>e.check(rg(t,n)),e.lte=(t,n)=>e.check(rv(t,n)),e.max=(t,n)=>e.check(rv(t,n)),e.positive=t=>e.check(ry(BigInt(0),t)),e.negative=t=>e.check(rg(BigInt(0),t)),e.nonpositive=t=>e.check(rv(BigInt(0),t)),e.nonnegative=t=>e.check(rb(BigInt(0),t)),e.multipleOf=(t,n)=>e.check(rS(t,n));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});function iJ(e){return new iK({type:"bigint",...M(e)})}let i0=d("ZodBigIntFormat",(e,t)=>{t5.init(e,t),iK.init(e,t)});function i1(e){return new i0({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...M(e)})}function i2(e){return new i0({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...M(e)})}let i4=d("ZodSymbol",(e,t)=>{t7.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>r4(e,t,n,r)});function i8(e){return new i4({type:"symbol",...M(e)})}let i6=d("ZodUndefined",(e,t)=>{t9.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>r6(e,t,n,r)});function i3(e){return new i6({type:"undefined",...M(e)})}let i5=d("ZodNull",(e,t)=>{ne.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>r8(e,t,n,r)});function i7(e){return new i5({type:"null",...M(e)})}let i9=d("ZodAny",(e,t)=>{nt.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>r7(e,t,n,r)});function oe(){return new i9({type:"any"})}let ot=d("ZodUnknown",(e,t)=>{nn.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>r9(e,t,n,r)});function on(){return new ot({type:"unknown"})}let or=d("ZodNever",(e,t)=>{nr.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>r5(e,t,n,r)});function oa(e){return new or({type:"never",...M(e)})}let oi=d("ZodVoid",(e,t)=>{na.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>r3(e,t,n,r)});function oo(e){return new oi({type:"void",...M(e)})}let ol=d("ZodDate",(e,t)=>{ni.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ae(e,t,n,r),e.min=(t,n)=>e.check(rb(t,n)),e.max=(t,n)=>e.check(rv(t,n));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function os(e){return new ol({type:"date",...M(e)})}let ou=d("ZodArray",(e,t)=>{nl.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ap(e,t,n,r),e.element=t.element,e.min=(t,n)=>e.check(rD(t,n)),e.nonempty=t=>e.check(rD(1,t)),e.max=(t,n)=>e.check(rT(t,n)),e.length=(t,n)=>e.check(rC(t,n)),e.unwrap=()=>e.element});function oc(e,t){return new ou({type:"array",element:e,...M(t)})}function od(e){return oU(Object.keys(e._zod.def.shape))}let op=d("ZodObject",(e,t)=>{np.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>am(e,t,n,r),x(e,"shape",()=>t.shape),e.keyof=()=>oU(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:on()}),e.loose=()=>e.clone({...e._zod.def,catchall:on()}),e.strict=()=>e.clone({...e._zod.def,catchall:oa()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>(function(e,t){if(!C(t))throw Error("Invalid input to extend: expected a plain object");let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(void 0!==Object.getOwnPropertyDescriptor(n,e))throw Error("Cannot over
222write keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let r=_(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return S(this,"shape",n),n}});return U(e,r)})(e,t),e.safeExtend=t=>(function(e,t){if(!C(t))throw Error("Invalid input to safeExtend: expected a plain object");let n=_(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return S(this,"shape",n),n}});return U(e,n)})(e,t),e.merge=t=>(function(e,t){let n=_(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return S(this,"shape",n),n},get catchall(){return t._zod.def.catchall},checks:[]});return U(e,n)})(e,t),e.pick=t=>(function(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let a=_(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=n.shape[r])}return S(this,"shape",e),e},checks:[]});return U(e,a)})(e,t),e.omit=t=>(function(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let a=_(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return S(this,"shape",r),r},checks:[]});return U(e,a)})(e,t),e.partial=(...t)=>(function(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let a=_(t._zod.def,{get shape(){let r=t._zod.def.shape,a={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: "${t}"`);n[t]&&(a[t]=e?new e({type:"optional",innerType:r[t]}):r[t])}else for(let t in r)a[t]=e?new e({type:"optional",innerType:r[t]}):r[t];return S(this,"shape",a),a},checks:[]});return U(t,a)})(oF,e,t[0]),e.required=(...t)=>(function(e,t,n){let r=_(t._zod.def,{get shape(){let r=t._zod.def.shape,a={...r};if(n)for(let t in n){if(!(t in a))throw Error(`Unrecognized key: "${t}"`);n[t]&&(a[t]=new e({type:"nonoptional",innerType:r[t]}))}else for(let t in r)a[t]=new e({type:"nonoptional",innerType:r[t]});return S(this,"shape",a),a}});return U(t,r)}
222)(o0,e,t[0])});function om(e,t){return new op({type:"object",shape:e??{},...M(t)})}function of(e,t){return new op({type:"object",shape:e,catchall:oa(),...M(t)})}function oh(e,t){return new op({type:"object",shape:e,catchall:on(),...M(t)})}let og=d("ZodUnion",(e,t)=>{nf.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>af(e,t,n,r),e.options=t.options});function ov(e,t){return new og({type:"union",options:e,...M(t)})}let oy=d("ZodXor",(e,t)=>{og.init(e,t),ng.init(e,t),e._zod.processJSONSchema=(t,n,r)=>af(e,t,n,r),e.options=t.options});function ob(e,t){return new oy({type:"union",options:e,inclusive:!1,...M(t)})}let oO=d("ZodDiscriminatedUnion",(e,t)=>{og.init(e,t),nv.init(e,t)});function ow(e,t,n){return new oO({type:"union",options:t,discriminator:e,...M(n)})}let ok=d("ZodIntersection",(e,t)=>{ny.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ah(e,t,n,r)});function ox(e,t){return new ok({type:"intersection",left:e,right:t})}let oS=d("ZodTuple",(e,t)=>{nO.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ag(e,t,n,r),e.rest=t=>e.clone({...e._zod.def,rest:t})});function o_(e,t,n){let r=t instanceof tT,a=r?n:t;return new oS({type:"tuple",items:e,rest:r?t:null,...M(a)})}let oE=d("ZodRecord",(e,t)=>{nk.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>av(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function oA(e,t,n){return new oE({type:"record",keyType:e,valueType:t,...M(n)})}function oT(e,t,n){let r=U(e);return r._zod.values=void 0,new oE({type:"record",keyType:r,valueType:t,...M(n)})}function oD(e,t,n){return new oE({type:"record",keyType:e,valueType:t,mode:"loose",...M(n)})}let oC=d("ZodMap",(e,t)=>{nx.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ac(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...t)=>e.check(rE(...t)),e.nonempty=t=>e.check(rE(1,t)),e.max=(...t)=>e.check(r_(...t)),e.size=(...t)=>e.check(rA(...t))});function o$(e,t,n){return new oC({type:"map",keyType:e,valueType:t,...M(n)})}let oP=d("ZodSet",(e,t)=>{n_.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ad(e,t,n,r),e.min=(...t)=>e.check(rE(...t)),e.nonempty=t=>e.check(rE(1,t)),e.max=(...t)=>e.check(r_(...t)),e.size=(...t)=>e.check(rA(...t))});function oI(e,t){return new oP({type:"set",valueType:e,...M(t)})}let oN=d("ZodEnum",(e,t)=>{nA.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>at(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let a={};for(let r of e)if(n.has(r))a[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new oN({...t,checks:[],...M(r),entries:a})},e.exclude=(e,r)=>{let a={...t.entries};for(let t of e)if(n.has(t))delete a[t];else throw Error(`Key ${t} not found in enum`);return new oN({...t,checks:[],...M(r),entries:a})}});function oU(e,t){return new oN({type:"enum",entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...M(t)})}function oM(e,t){return new oN({type:"enum",entries:e,...M(t)})}let oR=d("ZodLiteral",(e,t)=>{nT.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>an(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if
222(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function oj(e,t){return new oR({type:"literal",values:Array.isArray(e)?e:[e],...M(t)})}let oL=d("ZodFile",(e,t)=>{nD.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ai(e,t,n,r),e.min=(t,n)=>e.check(rE(t,n)),e.max=(t,n)=>e.check(r_(t,n)),e.mime=(t,n)=>e.check(rj(Array.isArray(t)?t:[t],n))});function oZ(e){return new oL({type:"file",...M(e)})}let oB=d("ZodTransform",(e,t)=>{nC.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>au(e,t,n,r),e._zod.parse=(n,r)=>{if("backward"===r.direction)throw new m(e.constructor.name);n.addIssue=r=>{"string"==typeof r?n.issues.push(q(r,n.value,t)):(r.fatal&&(r.continue=!1),r.code??(r.code="custom"),r.input??(r.input=n.value),r.inst??(r.inst=e),n.issues.push(q(r)))};let a=t.transform(n.value,n);return a instanceof Promise?a.then(e=>(n.value=e,n)):(n.value=a,n)}});function oz(e){return new oB({type:"transform",transform:e})}let oF=d("ZodOptional",(e,t)=>{nP.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>aE(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function oQ(e){return new oF({type:"optional",innerType:e})}let oH=d("ZodExactOptional",(e,t)=>{nI.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>aE(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function oq(e){return new oH({type:"optional",innerType:e})}let oV=d("ZodNullable",(e,t)=>{nN.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ay(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function oW(e){return new oV({type:"nullable",innerType:e})}function oX(e){return oQ(oW(e))}let oY=d("ZodDefault",(e,t)=>{nU.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>aO(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function oG(e,t){return new oY({type:"default",innerType:e,get defaultValue(){return"function"==typeof t?t():$(t)}})}let oK=d("ZodPrefault",(e,t)=>{nR.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>aw(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function oJ(e,t){return new oK({type:"prefault",innerType:e,get defaultValue(){return"function"==typeof t?t():$(t)}})}let o0=d("ZodNonOptional",(e,t)=>{nj.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ab(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function o1(e,t){return new o0({type:"nonoptional",innerType:e,...M(t)})}let o2=d("ZodSuccess",(e,t)=>{nZ.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ao(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function o4(e){return new o2({type:"success",innerType:e})}let o8=d("ZodCatch",(e,t)=>{nB.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ak(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function o6(e,t){return new o8({type:"catch",innerType:e,catchValue:"function"==typeof t?t:()=>t})}let o3=d("ZodNaN",(e,t)=>{nz.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ar(e,t,n,r)});function o5(e){return new o3({type:"nan",...M(e)})}let o7=d("ZodPipe",(e,t)=>{nF.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ax(e,t,n,r),e.in=t.in,e.out=t.out});function o9(e,t){return new o7({type:"pipe",in:e,out:t})}let le=d("ZodCodec",(e,t)=>{o7.init(e,t),nH.init(e,t)});function lt(e,t,n){return new le({type:"pipe",in:e,out:t,transform:n.decode,reverseTransform:n.encode})}let ln=d("ZodReadonly",(e,t)=>{nW.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>aS(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function lr(e){return new ln({type:"readonly",innerType:e})}let la=d("ZodTemplateLiteral",(e,t)=>{nY.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>aa(e,t,n,r)});function li(e,t){return new la({type:"template_literal",parts:e,...M(t)})}let lo=d("ZodLazy",(e,t)=>{nJ.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>aA(e,t,n,r),e.unwrap=()=>e._zod.def.getter()});function ll(e){return new lo({type:"lazy",getter:e})}let ls=d("ZodPromise",(e,t)=>{nK.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>a_(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function lu(e){return new ls({type:"promise",innerType:e})}let lc=d("ZodFunction",(e,t)=>{nG.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>as(e,t,n,r)});function ld(e){return new lc({type:"function",input:Array.isArray(e?.input)?o_(e?.input):e?.input??oc(on()),output:e?.output??on()})}let lp=d("ZodCustom",(e,t)=>{n0.init(e,t),aY.init(e,t),e._zod.processJSONSchema=(t,n,r)=>al(e,t,n,r)});function lm(e){let t=new tn({check:"custom"});return t._zod.check=e,t}function lf(e,t){return function(e,t,n){let r=M(n);return r.abort??(r.abort=!0),new e({type:"custom",check:"custom",fn:t,...r})}(lp,e??(()=>!0),t)}function lh(e,t={}){return new lp({type:"custom",check:"custom",fn:e,...M(t)})}function lg(e){return function(e){let t=function(e,t){let n=new tn({check:"custom",...M(void 0)});return n._zod.check=e,n}(n=>(n.addIssue=e=>{"string"==typeof e?n.issues.push(q(e,n.value,t._zod.def)):(e.fatal&&(e.continue=!1),e.code??(e.code="custom"),e.input??(e.input=n.value),e.inst??(e.inst=t),e.continue??(e.continue=!t._zod.def.abort),n.issues.push(q(e)))}
222,e(n.value,n)));return t}(e)}let lv=function(e){let t=new tn({check:"describe"});return t._zod.onattach=[t=>{let n=n4.get(t)??{};n4.add(t,{...n,description:e})}],t._zod.check=()=>{},t},ly=function(e){let t=new tn({check:"meta"});return t._zod.onattach=[t=>{let n=n4.get(t)??{};n4.add(t,{...n,...e})}],t._zod.check=()=>{},t};function lb(e,t={}){let n=new lp({type:"custom",check:"custom",fn:t=>t instanceof e,abort:!0,...M(t)});return n._zod.bag.Class=e,n._zod.check=t=>{t.value instanceof e||t.issues.push({code:"invalid_type",expected:e.name,input:t.value,inst:n,path:[...n._zod.def.path??[]]})},n}let lO=(...e)=>(function(e,t){let n=M(t),r=n.truthy??["true","1","yes","on","y","enabled"],a=n.falsy??["false","0","no","off","n","disabled"];"sensitive"!==n.case&&(r=r.map(e=>"string"==typeof e?e.toLowerCase():e),a=a.map(e=>"string"==typeof e?e.toLowerCase():e));let i=new Set(r),o=new Set(a),l=e.Codec??nH,s=e.Boolean??t6,u=new l({type:"pipe",in:new(e.String??tD)({type:"string",error:n.error}),out:new s({type:"boolean",error:n.error}),transform:(e,t)=>{let r=e;return"sensitive"!==n.case&&(r=r.toLowerCase()),!!i.has(r)||!o.has(r)&&(t.issues.push({code:"invalid_value",expected:"stringbool",values:[...i,...o],input:t.value,inst:u,continue:!1}),{})},reverseTransform:(e,t)=>!0===e?r[0]||"true":a[0]||"false",error:n.error});return u})({Codec:le,Boolean:iY,String:aK},...e);function lw(e){let t=ll(()=>ov([aJ(e),iF(),iG(),i7(),oc(t),oA(aJ(),t)]));return t}function lk(e,t){return o9(oz(e),t)}a||(a={}),h({localeError:(()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}},t={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let e=n[r.expected]??r.expected,t=function(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":if(null===e)return"null";if(Array.isArray(e))return"array";if(e&&Object.getPrototypeOf(e)!==Object.prototype&&"constructor"in e&&e.constructor)return e.constructor.name}return t}(r.input),a=n[t]??t;return`Invalid input: expected ${e}, received ${a}`}case"invalid_value":if(1===r.values.length)return`Invalid input: expected ${R(r.values[0])}`;return`Invalid option: expected one of ${v(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Too big: expected ${r.origin??"value"} to have ${t}${r.maximum.toString()} ${n.unit??"elements"}`;return`Too big: expected ${r.origin??"value"} to be ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Too small: expected ${r.origin} to have ${t}${r.minimum.toString()} ${n.unit}`;return`Too small: expected ${r.origin} to be ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Invalid string: must start with "${r.prefix}"`;if("ends_with"===r.format)return`Invalid string: must end with "${r.suffix}"`;if("includes"===r.format)return`Invalid string: must include "${r.includes}"`;if("regex"===r.format)return`Invalid string: must match pattern ${r.pattern}`;return`Invalid ${t[r.format]??r.format}`;case"not_multiple_of":return`Invalid number: must be a multiple of ${r.divisor}`;case"unrecognized_keys":return`Unrecognized key${r.keys.length>1?"s":""}: ${v(r.keys,", ")}`;case"invalid_key":return`Invalid key in ${r.origin}`;case"invalid_union":default:return"Invalid input";case"invalid_element":return`Invalid value in ${r.origin}`}}})()});let lx=(0,u.iH)("dark"),lS=oU(["dark","light","system"]).optional().catch(void 0);function l_(e={}){let{initialColorMode:t="system",overrideColorMode:n}=e;function r(e){lx.value=e,"undefined"!=typeof window&&window?.localStorage?.setItem("colorMode",lx.value)}function a(){return"undefined"==typeof window?"light":"function"!=typeof window?.matchMedia?"dark":window?.matchMedia("(prefers-color-scheme: dark)")?.matches?"dar
222k":"light"}let i=(0,c.Fl)({get:()=>"system"===lx.value?a():lx.value,set:r}),o=(0,c.Fl)({get:()=>"dark"===i.value,set:e=>r(e?"dark":"light")});function l(e){"undefined"!=typeof document&&"undefined"!=typeof window&&("dark"===(n??("system"===e?a():e))?(document.body.classList.add("dark-mode"),document.body.classList.remove("light-mode")):(document.body.classList.add("light-mode"),document.body.classList.remove("dark-mode")))}let s=lS.parse("undefined"!=typeof window?window?.localStorage?.getItem("colorMode"):"system");lx.value=n??s??t,(0,c.YP)(lx,l,{immediate:!0});let d=()=>"system"===lx.value&&l("system"),p=(0,u.iH)(null);return(0,c.bv)(()=>{"undefined"!=typeof window&&"function"==typeof window?.matchMedia&&(p.value=window.matchMedia("(prefers-color-scheme: dark)"),p.value?.addEventListener("change",d))}),(0,c.Ah)(()=>{p.value?.removeEventListener("change",d)}),{colorMode:(0,c.Fl)({get:()=>lx.value,set:r}),darkLightMode:i,isDarkMode:o,toggleColorMode:function(){lx.value="dark"===i.value?"light":"dark","undefined"!=typeof window&&window?.localStorage?.setItem("colorMode",lx.value)},setColorMode:r,getSystemModePreference:a}}},13945:function(e,t,n){"use strict";n.d(t,{NQ:function(){return Z},e1:function(){return L}});var r=n(82589),a=n(72909),i=n(34280),o=Object.defineProperty,l=(e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,s=(e,t,n)=>l(e,"symbol"!=typeof t?t+"":t,n);!function(e){e&&!(typeof document>"u")&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",t):t());function t(){let t=document.head||document.getElementsByTagName("head")[0];if(!t)return;let n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}("
vendor: 13,512 bytes, line 222
222: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%)}
222");let u=0;class c{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:n,...r}=e,a="number"==typeof e.id||e.id&&(null==(t=e.id)?void 0:t.length)>0?e.id:u++,i=this.toasts.find(e=>e.id===a),o=void 0===e.dismissible||e.dismissible;return i?this.toasts=this.toasts.map(t=>t.id===a?(this.publish({...t,...e,id:a,title:n}),{...t,...e,id:a,dismissible:o,title:n}):t):this.addToast({title:n,...r,dismissible:o,id:a}),a}),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 n;if(!t)return;void 0!==t.loading&&(n=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(),a=void 0!==n,i,o=r.then(async e=>{if(i=["resolve",e],p(e)&&!e.ok){a=!1;let r="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,i="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:n,type:"error",message:r,description:i})}else if(void 0!==t.success){a=!1;let r="function"==typeof t.success?await t.success(e):t.success,i="function"==typeof t.description?await t.description(e):t.description;this.create({id:n,type:"success",message:r,description:i})}}).catch(async e=>{if(i=["reject",e],void 0!==t.error){a=!1;let r="function"==typeof t.error?await t.error(e):t.error,i="function"==typeof t.description?await t.description(e):t.description;this.create({id:n,type:"error",message:r,description:i})}}).finally(()=>{var e;a&&(this.dismiss(n),n=void 0),null==(e=t.finally)||e.call(t)}),l=()=>new Promise((e,t)=>o.then(()=>"reject"===i[0]?t(i[1]):e(i[1])).catch(t));return"string"!=typeof n&&"number"!=typeof n?{unwrap:l}:Object.assign(n,{unwrap:l})}),s(this,"custom",(e,t)=>{let n=(null==t?void 0:t.id)||u++;return this.publish({component:e,id:n,...t}),n}),this.subscribers=[],this.toasts=[]}}let d=new c,p=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,m=Object.assign(function(e,t){let n=(null==t?void 0:t.id)||u++;return d.create({message:e,id:n,type:"default",...t}),n},{success:d.success,info:d.info,warning:d.warning,error:d.error,custom:d.custom,message:d.message,promise:d.promise,dismiss:d.dismiss,loading:d.loading},{getHistory:()=>d.toasts});function f(e){return void 0!==e.label}let h=["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"],g=["aria-label","data-disabled"],v=(0,r.aZ)({__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 n=(0,a.iH)(!1),o=(0,a.iH)(!1),l=(0,a.iH)(!1),s=(0,a.iH)(!1),u=(0,a.iH)(!1),c=(0,a.iH)(0),d=(0,a.iH)(0),p=(0,a.iH)(e.toast.duration||e.duration||4e3),m=(0,a.iH)(null),v=(0,a.iH)(null),y=(0,r.Fl)(()=>0===e.index),b=(0,r.Fl)(()=>e.index+1<=e.visibleToasts),O=(0,r.Fl)(()=>e.toast.type),w=(0,r.Fl)(()=>!1!==e.toast.dismissible),k=(0,r.Fl)(()=>e.toast.class||""),x=(0,r.Fl)(()=>e.descriptionClass||""),S=e.toast.style||{},_=(0,r.Fl)(()=>e.heights.findIndex(t=>t.toastId===e.toast.id)||0),E=(0,r.Fl)(()=>e.toast.closeButton??e.closeButton);(0,r.Fl)(()=>e.toast.duration||e.duration||4e3);let A=(0,a.iH)(0),T=(0,a.iH)(0),D=(0,a.iH)(null),C=(0,r.Fl)(()=>e.position.split("-")),$=(0,r.Fl)(()=>C.value[0]),P=(0,r.Fl)(()=>C.value[1]),I=(0,r.Fl)(()=>"string"!=typeof e.toast.title),N=(0,r.Fl)(()=>"string"!=typeof e.toast.description),U=(0,r.Fl)(()=>
222e.heights.reduce((e,t,n)=>n>=_.value?e:e+t.height,0)),M=function(){let e=(0,a.iH)(!1);return(0,r.m0)(()=>{let t=()=>{e.value=document.hidden};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)}),{isDocumentHidden:e}}(),R=(0,r.Fl)(()=>e.toast.invert||e.invert),j=(0,r.Fl)(()=>"loading"===O.value),L=(0,r.Fl)(()=>_.value*e.gap+U.value||0);function Z(){o.value=!0,c.value=L.value,t("update:heights",e.heights.filter(t=>t.toastId!==e.toast.id)),setTimeout(()=>{t("removeToast",e.toast)},200)}function B(){var t,n;if(j.value||!w.value)return{};Z(),null==(n=(t=e.toast).onDismiss)||n.call(t,e.toast)}function z(e){j.value||!w.value||(m.value=new Date,c.value=L.value,e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(l.value=!0,D.value={x:e.clientX,y:e.clientY}))}function F(){var t,n,r,a,i;if(s.value||!w)return;D.value=null;let o=Number((null==(t=v.value)?void 0:t.style.getPropertyValue("--swipe-amount").replace("px",""))||0),d=new Date().getTime()-(null==(n=m.value)?void 0:n.getTime());if(Math.abs(o)>=20||Math.abs(o)/d>.11){c.value=L.value,null==(a=(r=e.toast).onDismiss)||a.call(r,e.toast),Z(),s.value=!0,u.value=!1;return}null==(i=v.value)||i.style.setProperty("--swipe-amount","0px"),l.value=!1}function Q(e){var t,n;if(!D.value||!w.value)return;let r=e.clientY-D.value.y,a=(null==(t=window.getSelection())?void 0:t.toString().length)>0,i="top"===$.value?Math.min(0,r):Math.max(0,r);Math.abs(i)>0&&(u.value=!0),a||null==(n=v.value)||n.style.setProperty("--swipe-amount",`${i}px`)}return(0,r.bv)(()=>{if(!n.value)return;let r=v.value,a=null==r?void 0:r.style.height;r.style.height="auto";let i=r.getBoundingClientRect().height;r.style.height=a,d.value=i,t("update:heights",e.heights.find(t=>t.toastId===e.toast.id)?e.heights.map(t=>t.toastId===e.toast.id?{...t,height:i}:t):[{toastId:e.toast.id,height:i,position:e.toast.position},...e.heights])}),(0,r.m0)(t=>{let n;e.toast.promise&&"loading"===O.value||e.toast.duration===1/0||"loading"===e.toast.type||(e.expanded||e.interacting||e.pauseWhenPageIsHidden&&M?(()=>{if(T.value<A.value){let e=new Date().getTime()-A.value;p.value=p.value-e}T.value=new Date().getTime()})():p.value!==1/0&&(A.value=new Date().getTime(),n=setTimeout(()=>{var t,n;null==(n=(t=e.toast).onAutoClose)||n.call(t,e.toast),Z()},p.value)),t(()=>{clearTimeout(n)}))}),(0,r.YP)(()=>e.toast.delete,()=>{e.toast.delete&&Z()},{deep:!0}),(0,r.bv)(()=>{if(n.value=!0,v.value){let n=v.value.getBoundingClientRect().height;d.value=n,t("update:heights",[{toastId:e.toast.id,height:n,position:e.toast.position},...e.heights])}}),(0,r.Jd)(()=>{v.value&&t("update:heights",e.heights.filter(t=>t.toastId!==e.toast.id))}),(t,u)=>{var p,m,_,A,T,D,C,U,M,H,q,V,W,X,Y,G,K,J,ee,et,en,er,ea,ei,eo,el,es;return(0,r.wg)(),(0,r.iD)("li",{ref_key:"toastRef",ref:v,"aria-live":t.toast.important?"assertive":"polite","aria-atomic":"true",role:"status",tabindex:"0","data-sonner-toast":"true",class:(0,i.C_)(t.cn(e.class,k.value,null==(p=t.classes)?void 0:p.toast,null==(m=t.toast.classes)?void 0:m.toast,null==(_=t.classes)?void 0:_[O.value],null==(T=null==(A=t.toast)?void 0:A.classes)?void 0:T[O.value])),"data-rich-colors":t.toast.richColors??t.defaultRichColors,"data-styled":!(t.toast.component||null!=(D=t.toast)&&D.unstyled||t.unstyled),"data-mounted":n.value,"data-promise":!!t.toast.promise,"data-removed":o.value,"data-visible":b.value,"data-y-position":$.value,"data-x-position":P.value,"data-index":t.index,"data-front":y.value,"data-swiping":l.value,"data-dismissible":w.value,"data-type":O.value,"data-invert":R.value,"data-swipe-out":s.value,"data-expanded":!!(t.expanded||t.expandByDefault&&n.value),style:(0,i.j5)({"--index":t.index,"--toasts-before":t.index,"--z-index":t.toasts.length-t.index,"--offset":`${o.value?c.value:L.value}px`,"--initial-height":t.expandByDefault?"auto":`${d.value}px`,...t.style,...(0,a.SU)(S)}),onPointerdown:z,onPointerup:F,onPointermove:Q},[E.value&&!t.toast.component?((0,r.wg)(),(0,r.iD)("button",{key:0,"aria-label":t.closeButtonAriaLabel||"Close toast","data-disabled":j.value,"data-close-button":"true",class:(0,i.C_)(t.cn(null==(C=t.classes)?void 0:C.closeButton,null==(M=null==(U=t.toast)?void 0:U.classes)?void 0:M.closeButton)),onClick:B},[null!=(H=t.icons)&&H.close?((0,r.wg)(),(0,r.j4)((0,r.LL)(null==(q=t.icons)?void 0:q.close),{key:0})):(0,r.WI)(t.$slots,"close-icon",{key:1})],10,g)):(0,r.kq)("",!0),t.toast.component?((0,r.wg)(),(0,r.j4)((0,r.LL)(t.toast.component),(0,r.dG)({key:1},t.toast.componentProps,{onCloseToast:B}),null,16)):((0,r.wg)(),(0,r.iD)(r.HY,{key:2},["default"!==O.value||t.toast.icon||t.toast.promise?((0,r.wg)(),(0,r.iD)("div",{key:0,"data-icon":"",class:(0,i.C_)(t.cn(null==(V=t.classes)?void 0:V.icon,null==(X=null==(W=t.toast)?void 0:W.classes)?void 0:X.icon))},[t.toast.icon?((0,r.wg)(),(0,r.j4)((0,r.LL)(t.toast.icon),{key:0})):((0,r.wg)(),(0,r.iD)(r.HY,{key:1},["loading"===O.value?(0,r.WI)(t.$slots,"loading-icon",{key:0}):"success"===O.value?(0,r.WI)(t.$slots,"success-icon",{key:1}):"error"===O.value?(0,r.WI)(t.$slots,"error-icon",{key:2}):"warning"===O.value?(0,r.WI)(t.$slots,"warning-icon",{key:3}):"info"===O.value?(0,r.WI)(t.$slots,"info-icon",{key:4}):(0,r.kq)("",!0)],64))],2)):(0,r.kq)("",!0),(0,r._)("div",{"data-content":"",class:(0,i.C_)(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._)("div",{"data-title":"",class:(0,i.C_)(t.cn(null==(J=t.classes)?void 0:J.title,null==(ee=t.toast.classes)?void 0:ee.title))},[I.value?((0,r.wg)(),(0,r.j4)((0,r.LL)(t.toast.title),(0,i.vs)((0,r.dG)({key:0},t.toast.componentProps)),null,16)):((0,r.wg)(),(0,r.iD)(r.HY,{key:1}
222,[(0,r.Uk)((0,i.zw)(t.toast.title),1)],64))],2),t.toast.description?((0,r.wg)(),(0,r.iD)("div",{key:0,"data-description":"",class:(0,i.C_)(t.cn(t.descriptionClass,x.value,null==(et=t.classes)?void 0:et.description,null==(en=t.toast.classes)?void 0:en.description))},[N.value?((0,r.wg)(),(0,r.j4)((0,r.LL)(t.toast.description),(0,i.vs)((0,r.dG)({key:0},t.toast.componentProps)),null,16)):((0,r.wg)(),(0,r.iD)(r.HY,{key:1},[(0,r.Uk)((0,i.zw)(t.toast.description),1)],64))],2)):(0,r.kq)("",!0)],2),t.toast.cancel?((0,r.wg)(),(0,r.iD)("button",{key:1,style:(0,i.j5)(t.toast.cancelButtonStyle||t.cancelButtonStyle),class:(0,i.C_)(t.cn(null==(er=t.classes)?void 0:er.cancelButton,null==(ea=t.toast.classes)?void 0:ea.cancelButton)),"data-button":"","data-cancel":"",onClick:u[0]||(u[0]=e=>{var n,r;(0,a.SU)(f)(t.toast.cancel)&&w.value&&(null==(r=(n=t.toast.cancel).onClick)||r.call(n,e),Z())})},(0,i.zw)((0,a.SU)(f)(t.toast.cancel)?null==(ei=t.toast.cancel)?void 0:ei.label:t.toast.cancel),7)):(0,r.kq)("",!0),t.toast.action?((0,r.wg)(),(0,r.iD)("button",{key:2,style:(0,i.j5)(t.toast.actionButtonStyle||t.actionButtonStyle),class:(0,i.C_)(t.cn(null==(eo=t.classes)?void 0:eo.actionButton,null==(el=t.toast.classes)?void 0:el.actionButton)),"data-button":"","data-action":"",onClick:u[1]||(u[1]=e=>{var n,r;(0,a.SU)(f)(t.toast.action)&&(e.defaultPrevented||(null==(r=(n=t.toast.action).onClick)||r.call(n,e),e.defaultPrevented||Z()))})},(0,i.zw)((0,a.SU)(f)(t.toast.action)?null==(es=t.toast.action)?void 0:es.label:t.toast.action),7)):(0,r.kq)("",!0)],64))],46,h)}}}),y=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},b={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"},O=y({},[["render",function(e,t){return(0,r.wg)(),(0,r.iD)("svg",b,t[0]||(t[0]=[(0,r._)("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),(0,r._)("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)]))}]]),w=["data-visible"],k={class:"sonner-spinner"},x=(0,r.aZ)({__name:"Loader",props:{visible:{type:Boolean}},setup(e){let t=Array(12).fill(0);return(e,n)=>((0,r.wg)(),(0,r.iD)("div",{class:"sonner-loading-wrapper","data-visible":e.visible},[(0,r._)("div",k,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)((0,a.SU)(t),e=>((0,r.wg)(),(0,r.iD)("div",{key:`spinner-bar-${e}`,class:"sonner-loading-bar"}))),128))])],8,w))}}),S={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},_=y({},[["render",function(e,t){return(0,r.wg)(),(0,r.iD)("svg",S,t[0]||(t[0]=[(0,r._)("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)]))}]]),E={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},A=y({},[["render",function(e,t){return(0,r.wg)(),(0,r.iD)("svg",E,t[0]||(t[0]=[(0,r._)("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)]))}]]),T={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},D=y({},[["render",function(e,t){return(0,r.wg)(),(0,r.iD)("svg",T,t[0]||(t[0]=[(0,r._)("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)]))}]]),C={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},$=y({},[["render",function(e,t){return(0,r.wg)(),(0,r.iD)("svg",C,t[0]||(t[0]=[(0,r._)("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)]))}]]),P=["aria-label"],I=["dir","data-theme","data-rich-colors","data-y-position","data-x-position","data-lifted"],N="32px",U="u">typeof window&&"u">typeof document,M=(0,r.aZ)({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:N},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.l1)(),n=(0,a.iH)([]),o=(0,r.Fl)(()=>(e,t)=>n.value.filter(n=>!n.position&&0===t||n.position===e)),l=(0,r.Fl)(()=>{let t=n.value.filter(e=>e.position).map(e=>e.position);return t.length>0?Array.from(new Set([e.position].concat(t))):[e.position]}),s=(0,a.iH)([]),u=(0,a.iH)(!1),c=(0,a.iH)(!1),p=(0,a.iH)("system"!==e.theme?e.theme:"u">typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
222k":"light"),m=(0,a.iH)(null),f=(0,a.iH)(null),h=(0,a.iH)(!1),g=e.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function y(e){var t;null!=(t=n.value.find(t=>t.id===e.id))&&t.delete||d.dismiss(e.id),n.value=n.value.filter(({id:t})=>t!==e.id)}function b(e){var t,n;h.value&&!(null!=(n=null==(t=e.currentTarget)?void 0:t.contains)&&n.call(t,e.relatedTarget))&&(h.value=!1,f.value&&(f.value.focus({preventScroll:!0}),f.value=null))}function w(e){e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||h.value||(h.value=!0,f.value=e.relatedTarget)}function k(e){e.target&&e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||(c.value=!0)}return(0,r.m0)(e=>{e(d.subscribe(e=>{if(e.dismiss){n.value=n.value.map(t=>t.id===e.id?{...t,delete:!0}:t);return}(0,r.Y3)(()=>{let t=n.value.findIndex(t=>t.id===e.id);-1!==t?n.value=[...n.value.slice(0,t),{...n.value[t],...e},...n.value.slice(t+1)]:n.value=[e,...n.value]})}))}),(0,r.YP)(()=>e.theme,e=>{if("system"!==e){p.value=e;return}if("system"===e&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?p.value="dark":p.value="light"),typeof window>"u")return;let t=window.matchMedia("(prefers-color-scheme: dark)");try{t.addEventListener("change",({matches:e})=>{e?p.value="dark":p.value="light"})}catch{t.addListener(({matches:e})=>{try{e?p.value="dark":p.value="light"}catch(e){console.error(e)}})}}),(0,r.m0)(()=>{m.value&&f.value&&(f.value.focus({preventScroll:!0}),f.value=null,h.value=!1)}),(0,r.m0)(()=>{n.value.length<=1&&(u.value=!1)}),(0,r.m0)(t=>{function n(t){let n=e.hotkey.every(e=>t[e]||t.code===e),r=Array.isArray(m.value)?m.value[0]:m.value;n&&(u.value=!0,null==r||r.focus());let a=document.activeElement===m.value||(null==r?void 0:r.contains(document.activeElement));"Escape"===t.code&&a&&(u.value=!1)}U&&(document.addEventListener("keydown",n),t(()=>{document.removeEventListener("keydown",n)}))}),(d,p)=>((0,r.wg)(),(0,r.iD)("section",{"aria-label":`${d.containerAriaLabel} ${(0,a.SU)(g)}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(l.value,(l,f)=>{var h;return(0,r.wg)(),(0,r.iD)("ol",(0,r.dG)({key:l,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":l.split("-")[0],"data-x-position":l.split("-")[1],"data-lifted":u.value&&n.value.length>1&&!d.expand,style:{"--front-toast-height":`${null==(h=s.value[0])?void 0:h.height}px`,"--offset":"number"==typeof d.offset?`${d.offset}px`:d.offset||N,"--width":"356px","--gap":`${d.gap}px`,...d.style,...(0,a.SU)(t).style}},d.$attrs,{onBlur:b,onFocus:w,onMouseenter:p[1]||(p[1]=()=>u.value=!0),onMousemove:p[2]||(p[2]=()=>u.value=!0),onMouseleave:p[3]||(p[3]=()=>{c.value||(u.value=!1)}),onPointerdown:k,onPointerup:p[4]||(p[4]=()=>c.value=!1)}),[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(o.value(l,f),(e,t)=>{var a,o,m,f,h,g,b,w,k;return(0,r.wg)(),(0,r.j4)(v,{key:e.id,heights:s.value.filter(t=>t.position===e.position),icons:d.icons,index:t,toast:e,defaultRichColors:d.richColors,duration:(null==(a=d.toastOptions)?void 0:a.duration)??d.duration,class:(0,i.C_)((null==(o=d.toastOptions)?void 0:o.class)??""),descriptionClass:null==(m=d.toastOptions)?void 0:m.descriptionClass,invert:d.invert,visibleToasts:d.visibleToasts,closeButton:(null==(f=d.toastOptions)?void 0:f.closeButton)??d.closeButton,interacting:c.value,position:l,style:(0,i.j5)(null==(h=d.toastOptions)?void 0:h.style),unstyled:null==(g=d.toastOptions)?void 0:g.unstyled,classes:null==(b=d.toastOptions)?void 0:b.classes,cancelButtonStyle:null==(w=d.toastOptions)?void 0:w.cancelButtonStyle,actionButtonStyle:null==(k=d.toastOptions)?void 0:k.actionButtonStyle,toasts:n.value.filter(t=>t.position===e.position),expandByDefault:d.expand,gap:d.gap,expanded:u.value,pauseWhenPageIsHidden:d.pauseWhenPageIsHidden,cn:d.cn,"onUpdate:heights":p[0]||(p[0]=e=>{s.value=e}),onRemoveToast:y},{"close-icon":(0,r.w5)(()=>[(0,r.WI)(d.$slots,"close-icon",{},()=>[(0,r.Wm)(O)])]),"loading-icon":(0,r.w5)(()=>[(0,r.WI)(d.$slots,"loading-icon",{},()=>[(0,r.Wm)(x,{visible:"loading"===e.type},null,8,["visible"])])]),"success-icon":(0,r.w5)(()=>[(0,r.WI)(d.$slots,"success-icon",{},()=>[(0,r.Wm)(_)])]),"error-icon":(0,r.w5)(()=>[(0,r.WI)(d.$slots,"error-icon",{},()=>[(0,r.Wm)($)])]),"warning-icon":(0,r.w5)(()=>[(0,r.WI)(d.$slots,"warning-icon",{},()=>[(0,r.Wm)(D)])]),"info-icon":(0,r.w5)(()=>[(0,r.WI)(d.$slots,"info-icon",{},()=>[(0,r.Wm)(A)])]),_: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,I)}),128))],8,P))}});!function(){try{if("undefined"!=typeof document){var e=document.createElement("style");e.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(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();var R={toast:()=>null};function j(e){R.toast=e}function L(){return{initializeToasts:j,toast:(e,t="info",n={timeout:3e3})=>{R.toast(e,t,n)}}}var Z=(0,r.aZ)({__name:"ScalarToasts",setup(e){let t=(0,a.iH)(!1);(0,r.bv)(()=>t.value=!0);let n={success:m.success,error:m.error,warn:m.warning,info:m},{initializeToasts:i}=L();return i((e,t="info",r={})=>{(n[t]||n.info)(e,{duration:r.timeout||3e3,description:r.description})}),(e,n)=>t.value?((0,r.wg)(),(0,r.j4)((0,a.SU)(M),{key:0,class:"scalar-toaster"})):(0,r.kq)("",!0)}})},70402:function(e,t,n){"use strict";n.d(t,{G0:function(){return c},IM:function(){return s},IX:function(){return l},O7:function(){return i},Rx:function(){return r},Ry:function(){return u},Vo:function(){return f},Yj:function(){return o},Z_:function(){return a},i0:function(){return m},jV:function(){return d},jt:function(){return p},ku:function(){return h}});let r=e=>({type:"number",typeName:e?.typeName,typeComment:e?.typeComment}),a=e=>({type:"string",typeName:e?.typeName,typeComment:e?.typeComment}),i=e=>({type:"boolean",typeName:e?.typeName,typeComment:e?.typeComment}),o=e=>({type:"any",typeName:e?.typeName,typeComment:e?.typeComment}),l=(e,t)=>
222({type:"array",items:e,typeName:t?.typeName,typeComment:t?.typeComment}),s=(e,t,n)=>({type:"record",key:e,value:t,typeName:n?.typeName,typeComment:n?.typeComment}),u=(e,t)=>({type:"object",properties:e,typeName:t?.typeName,typeComment:t?.typeComment}),c=(e,t)=>({type:"union",schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),d=(e,t)=>({type:"intersection",schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),p=(e,t)=>({type:"optional",schema:e,typeName:t?.typeName,typeComment:t?.typeComment}),m=e=>({type:"literal",value:e}),f=e=>({type:"lazy",schema:e}),h=(e,t)=>({type:"evaluate",expression:e,schema:t})},53351:function(e,t,n){"use strict";function r(e,t){return t.reduce((e,t)=>{if(null!=e)return e[t]},e)}n.d(t,{r:function(){return t$}});var a,i,o=n(23899),l=n(77067),s=n(11954);let u=(e,t)=>{let n=performance.now(),r=t(),a=performance.now();return console.info(`${e}: ${Math.round(a-n)} ms`),r},c=async(e,t)=>{let n=performance.now(),r=await t(),a=performance.now();return console.info(`${e}: ${Math.round(a-n)} ms`),r};var d=n(73677),p=n(41958);class m extends Error{constructor(e){super(e),this.name="InvalidChangesDetectedError"}}let f=(e,t)=>{let n=(e,t,r,a=0)=>{if(void 0===t[a])throw new m(`Process aborted. Path ${t.join(".")} at depth ${a} is undefined, check diff object`);if(a>=t.length-1){"add"===r.type||"update"===r.type?e[t[a]]=r.changes:Array.isArray(e)?e.splice(Number.parseInt(t[a]),1):delete e[t[a]];return}if(void 0===e[t[a]]||"object"!=typeof e[t[a]])throw new m("Process aborted, check diff object");n(e[t[a]],t,r,a+1)};for(let r of t)n(e,r.path,r);return e},h=(e,t)=>{let n=[],r=(e,t,a=[])=>{if(typeof e!=typeof t){if(void 0===e){n.push({path:a,changes:t,type:"add"});return}if(void 0===t){n.push({path:a,changes:e,type:"delete"});return}n.push({path:a,changes:t,type:"update"});return}if("object"==typeof e&&"object"==typeof t&&null!==e&&null!==t){for(let n of new Set([...Object.keys(e),...Object.keys(t)]))r(e[n],t[n],[...a,n]);return}e!==t&&n.push({path:a,changes:t,type:"update"})};return r(e,t),n};class g{value;children;constructor(e,t){this.value=e,this.children=t}}class v{root;constructor(){this.root=new g(null,{})}addPath(e,t){let n=this.root;for(let t of e)n.children[t]||(n.children[t]=new g(null,{})),n=n.children[t];n.value=t}findMatch(e,t){let n=this.root;for(let r of e){null!==n.value&&t(n.value);let e=n.children[r];if(!e)return;n=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(n)}}let y=(e,t)=>{if(typeof e!=typeof t)return!0;if("object"==typeof e&&"object"==typeof t&&null!==e&&null!==t){for(let n of new Set([...Object.keys(e),...Object.keys(t)]))if(void 0!==e[n]&&void 0!==t[n]&&y(e[n],t[n]))return!0;return!1}return e!==t},b=(e,t)=>{for(let n in t)if(n in e){let r=e[n],a=t[n];"object"==typeof r&&null!==r&&"object"==typeof a&&null!==a&&(e[n]=b(r,a))}else e[n]=t[n];return e},O=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<=e.length;++n)if(e[n]!==t[n])return!1;return!0},w=(e,t)=>{let n=new v;for(let[t,r]of e.entries())n.addPath(r.path,{index:t,changes:r});let r=new Set,a=new Set,i=new Map,o=new Map;for(let[e,l]of t.entries())n.findMatch(l.path,t=>{if("delete"===l.type){if("delete"===t.changes.type)t.changes.path.length>l.path.length?r.add(t.index):a.add(t.index);else{r.add(t.index),a.add(e);let n=o.get(e);void 0!==n?n[0].push(t.changes):o.set(e,[[t.changes],[l]])}}if("add"===l.type||"update"===l.type){if(O(l.path,t.changes.path)&&"delete"!==t.changes.type&&!y(l.changes,t.changes.changes)){r.add(t.index),"object"==typeof l.changes&&b(l.changes,t.changes.changes);return}r.add(t.index),a.add(e);let n=i.get(t.index);void 0!==n?n[1].push(l):i.set(t.index,[[t.changes],[l]])}});let l=[...i.values(),...o.values()];return{diffs:[...e.filter((e,t)=>!r.has(t)),...t.filter((e,t)=>!a.has(t))],conflicts:l}};var k=n(99490);function x(e,t,n=[]){let r={};for(let[a,i]of Object.entries(e)){let e=[...n,a];if(Array.isArray(i)){r[a]=i.map((n,r)=>"object"!=typeof n||Array.isArray(n)||null===n?n:x(n,t,[...e,r.toString()]));continue}if("object"==typeof i&&null!==i){r[a]=x(i,t,e);continue}r[a]=i}return t(r,n)}let S="application/json";function _(e){let t=e["x-example"],n=e["x-examples"];return delete e["x-example"],delete e["x-examples"],{xExample:t,xExamples:n}}function E(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&Object.keys(e).length>0}function A(e){let t=Object.keys(e);if(t.some(t=>{let n=e[t];return n?.example!==void 0||n?.examples!==void 0}))for(let n of t){let t=e[n];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[n]}}
222let T=new Set(["summary","description","value","externalValue"]);function D(e){if("object"!=typeof e||null===e)return!1;let t="value"in e||"externalValue"in e,n=Object.keys(e).every(e=>T.has(e));return t&&n}function C(e){return D(e)?e:{value:e}}let $=/^[a-zA-Z0-9*+.-]+\/[a-zA-Z0-9*+.+-]+$/;function P(e){return $.test(e)}let I=e=>{switch(e){case"application":return"clientCredentials";case"accessCode":return"authorizationCode";case"implicit":return"implicit";case"password":return"password";default:return e}};function N(e){return["type","format","default","items","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf"].reduce((t,n)=>(Object.hasOwn(e,n)&&(t[n]=e[n],delete e[n]),t),{})}function U(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 j&&t in j[e.in]?j[e.in][t]:{}}(e),n=N(e),{xExample:r,xExamples:a}=_(e);if(E(r)?e.examples=Object.entries(r).reduce((e,[t,n])=>(e[t]={value:n},e),{}):E(a)&&(e.examples=Object.entries(a).reduce((e,[t,n])=>(e[t]=C(n),e),{})),delete e.collectionFormat,delete e.default,!e.in)throw Error('Parameter object must have an "in" property');return{schema:n,...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 M(e){if(Object.hasOwn(e,"$ref")&&"string"==typeof e.$ref)return{$ref:e.$ref};let t=N(e);return{...e,schema:t}}let R={ssv:{},pipes:{},multi:{},csv:{style:"simple",explode:!1},tsv:{}},j={header:R,query:{ssv:{style:"spaceDelimited",explode:!1},pipes:{style:"pipeDelimited",explode:!1},multi:{style:"form",explode:!0},csv:{style:"form",explode:!1},tsv:{}},path:R};function L(e,t){let{xExample:n,xExamples:r}=_(e);delete e.name,delete e.in;let{schema:a,...i}=e,o={content:{},...i};if(o.content)for(let e of t){if(o.content[e]={schema:a},E(r)&&e in r){let t=r[e];E(t)&&Object.values(t).every(e=>D(e))?o.content[e].examples=t:E(t)&&Object.values(t).every(e=>"object"==typeof e&&null!==e&&!Array.isArray(e))?o.content[e].examples=Object.entries(t).reduce((e,[t,n])=>(e[t]=C(n),e),{}):o.content[e].examples={default:C(t)}}else E(r)&&!Object.keys(r).some(P)&&(o.content[e].examples=Object.entries(r).reduce((e,[t,n])=>(e[t]=C(n),e),{}));!o.content[e].examples&&E(n)&&e in n&&(o.content[e].example=n[e])}return o}function Z(e,t=["multipart/form-data"]){let n={content:{}},r=t.filter(e=>"multipart/form-data"===e||"application/x-www-form-urlencoded"===e),a=r.length>0?r:["multipart/form-data"];if(n.content)for(let t of a){n.content[t]={schema:{type:"object",properties:{},required:[]}};let r=n.content?.[t];if(r?.schema&&"object"==typeof r.schema&&"properties"in r.schema)for(let t of e)t.name&&r.schema.properties&&(r.schema.properties[t.name]={type:t.type,description:t.description,...t.format?{format:t.format}:{}},t.required&&Array.isArray(r.schema.required)&&r.schema.required.push(t.name))}return n}function B(e,t){let n={parameters:e.filter(e=>!("body"===e.in||"formData"===e.in)).map(e=>U(e))},r=structuredClone(e.find(e=>"body"===e.in)??{});r&&Object.keys(r).length&&(n.requestBody=L(r,t));let a=e.filter(e=>"formData"===e.in);if(a.length>0){let e=Z(a,t);"object"!=typeof n.requestBody?n.requestBody=e:n.requestBody={...n.requestBody,content:{...n.requestBody.content,...e.content}},"object"!=typeof n.requestBody&&(n.requestBody={content:{}})}return n}let z=new Set(["properties","items","allOf","anyOf","oneOf","not","additionalProperties","schema"]),F=(e,t)=>{void 0!==e.type&&!0===e.nullable&&(e.type=[e.type,"null"],delete e.nullable),!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 n=t?.some((e,n)=>"examples"===e&&n>0&&"properties"!==t[n-1]);if(void 0!==e.example&&!n&&((t&&(t.some(e=>z.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),"object"===e.type&&void 0!==e.properties){let n=t?.slice(0,-1);if(n?.some((e,n)=>"content"===e&&t?.[n+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,...a}=e;if("string"===e.type){if("binary"===e.format)return{...a,type:"string",contentMediaType:"application/octet-stream"};if("base64"===e.format)return{...a,type:"string",contentEncoding:"base64"};if("byte"===e.format){let e=t?.slice(0,-1),n=e?.find((e,n)=>t?.[n-1]==="content");return{...a,type:"string",contentEncoding:"base64",contentMediaType:n}}}return void 0!==e["x-webhooks"]&&(e.webhooks=e["x-webhooks"],delete e["x-webhooks"]),e};var Q=n(10851),H=n(52234),q=n(6385),V=n(32658),W=n(91168),X=n(40826),Y=n(67792);let G=function(e){switch(e.errorType){case i.ArrayContains:return"Expected array to contain at least one matching value";case i.ArrayMaxContains:return`Expected array to contain no more than ${e.schema.maxContains} matching values`;case i.ArrayMinContains:return`Expected array to contain at least ${e.schema.minContains} matching values`;case i.ArrayMaxItems:return`Expected array length to be less or equal to ${e.schema.maxItems}`;case i.ArrayMinItems:return`Expected array length to be greater or equal to ${e.schema.minItems}`;case i.ArrayUniqueItems:return"Expected array elements to be unique";case i.Array:return"Expected array";case i.AsyncIterator:return"Expected AsyncIterator";case i.BigIntExclusiveMaximum:return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`;case i.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`;case i.BigIntMaximum:return`Expected bigint to be less or equal to ${e.schema.maximum}`;case i.BigIntMinimum:return`Expected bigint to be greater or equal to ${e.schema.minimum}`;case i.BigIntMultipleOf:return`Expected bigint to be a multiple of ${e.schema.multipleOf}`;case i.BigInt:return"Expected bigint";case i.Boolean:return"Expected boolean";case i.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`;case i.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`;case i.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`;case i.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`;case i.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`;case i.Date:return"Expected Date";case i.Function:return"Expected function";case i.IntegerExclusiveMaximum:return`Expected integer to be less than ${e.schema.exclusiveMaximum}`;case i.IntegerExclusiveMinimum:return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`;case i.IntegerMaximum:return`Expected integer to be less or equal to ${e.schema.maximum}`;case i.IntegerMinimum:return`Expected integer to be greater or equal to ${e.schema.minimum}`;case i.IntegerMultipleOf:return`Expected integer to be a multiple of ${e.schema.multipleOf}`;case i.Integer:return"Expected integer";case i.IntersectUnevaluatedProperties:return"Unexpected property";case i.Intersect:return"Expected all values to match";case i.Iterator:return"Expected Iterator";
222case i.Literal:return`Expected ${"string"==typeof e.schema.const?`'${e.schema.const}'`:e.schema.const}`;case i.Never:return"Never";case i.Not:return"Value should not match";case i.Null:return"Expected null";case i.NumberExclusiveMaximum:return`Expected number to be less than ${e.schema.exclusiveMaximum}`;case i.NumberExclusiveMinimum:return`Expected number to be greater than ${e.schema.exclusiveMinimum}`;case i.NumberMaximum:return`Expected number to be less or equal to ${e.schema.maximum}`;case i.NumberMinimum:return`Expected number to be greater or equal to ${e.schema.minimum}`;case i.NumberMultipleOf:return`Expected number to be a multiple of ${e.schema.multipleOf}`;case i.Number:return"Expected number";case i.Object:return"Expected object";case i.ObjectAdditionalProperties:return"Unexpected property";case i.ObjectMaxProperties:return`Expected object to have no more than ${e.schema.maxProperties} properties`;case i.ObjectMinProperties:return`Expected object to have at least ${e.schema.minProperties} properties`;case i.ObjectRequiredProperty:return"Expected required property";case i.Promise:return"Expected Promise";case i.RegExp:return"Expected string to match regular expression";case i.StringFormatUnknown:return`Unknown format '${e.schema.format}'`;case i.StringFormat:return`Expected string to match '${e.schema.format}' format`;case i.StringMaxLength:return`Expected string length less or equal to ${e.schema.maxLength}`;case i.StringMinLength:return`Expected string length greater or equal to ${e.schema.minLength}`;case i.StringPattern:return`Expected string to match '${e.schema.pattern}'`;case i.String:return"Expected string";case i.Symbol:return"Expected symbol";case i.TupleLength:return`Expected tuple to have ${e.schema.maxItems||0} elements`;case i.Tuple:return"Expected tuple";case i.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${e.schema.maxByteLength}`;case i.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${e.schema.minByteLength}`;case i.Uint8Array:return"Expected Uint8Array";case i.Undefined:return"Expected undefined";case i.Union:return"Expected union value";case i.Void:return"Expected void";case i.Kind:return`Expected kind '${e.schema[Y.hY]}'`;default:return"Unknown error type"}};var K=n(31661),J=n(69926),ee=n(95370),et=n(23873),en=n(30087);(a=i||(i={}))[a.ArrayContains=0]="ArrayContains",a[a.ArrayMaxContains=1]="ArrayMaxContains",a[a.ArrayMaxItems=2]="ArrayMaxItems",a[a.ArrayMinContains=3]="ArrayMinContains",a[a.ArrayMinItems=4]="ArrayMinItems",a[a.ArrayUniqueItems=5]="ArrayUniqueItems",a[a.Array=6]="Array",a[a.AsyncIterator=7]="AsyncIterator",a[a.BigIntExclusiveMaximum=8]="BigIntExclusiveMaximum",a[a.BigIntExclusiveMinimum=9]="BigIntExclusiveMinimum",a[a.BigIntMaximum=10]="BigIntMaximum",a[a.BigIntMinimum=11]="BigIntMinimum",a[a.BigIntMultipleOf=12]="BigIntMultipleOf",a[a.BigInt=13]="BigInt",a[a.Boolean=14]="Boolean",a[a.DateExclusiveMaximumTimestamp=15]="DateExclusiveMaximumTimestamp",a[a.DateExclusiveMinimumTimestamp=16]="DateExclusiveMinimumTimestamp",a[a.DateMaximumTimestamp=17]="DateMaximumTimestamp",a[a.DateMinimumTimestamp=18]="DateMinimumTimestamp",a[a.DateMultipleOfTimestamp=19]="DateMultipleOfTimestamp",a[a.Date=20]="Date",a[a.Function=21]="Function",a[a.IntegerExclusiveMaximum=22]="IntegerExclusiveMaximum",a[a.IntegerExclusiveMinimum=23]="IntegerExclusiveMinimum",a[a.IntegerMaximum=24]="IntegerMaximum",a[a.IntegerMinimum=25]="IntegerMinimum",a[a.IntegerMultipleOf=26]="IntegerMultipleOf",a[a.Integer=27]="Integer",a[a.IntersectUnevaluatedProperties=28]="IntersectUnevaluatedProperties",a[a.Intersect=29]="Intersect",a[a.Iterator=30]="Iterator",a[a.Kind=31]="Kind",a[a.Literal=32]="Literal",a[a.Never=33]="Never",a[a.Not=34]="Not",a[a.Null=35]="Null",a[a.NumberExclusiveMaximum=36]="NumberExclusiveMaximum",a[a.NumberExclusiveMinimum=37]="NumberExclusiveMinimum",a[a.NumberMaximum=38]="NumberMaximum",a[a.NumberMinimum=39]="NumberMinimum",a[a.NumberMultipleOf=40]="NumberMultipleOf",a[a.Number=41]="Number",a[a.ObjectAdditionalProperties=42]="ObjectAdditionalProperties",a[a.ObjectMaxProperties=43]="ObjectMaxProperties",a[a.ObjectMinProperties=44]="Ob
222jectMinProperties",a[a.ObjectRequiredProperty=45]="ObjectRequiredProperty",a[a.Object=46]="Object",a[a.Promise=47]="Promise",a[a.RegExp=48]="RegExp",a[a.StringFormatUnknown=49]="StringFormatUnknown",a[a.StringFormat=50]="StringFormat",a[a.StringMaxLength=51]="StringMaxLength",a[a.StringMinLength=52]="StringMinLength",a[a.StringPattern=53]="StringPattern",a[a.String=54]="String",a[a.Symbol=55]="Symbol",a[a.TupleLength=56]="TupleLength",a[a.Tuple=57]="Tuple",a[a.Uint8ArrayMaxByteLength=58]="Uint8ArrayMaxByteLength",a[a.Uint8ArrayMinByteLength=59]="Uint8ArrayMinByteLength",a[a.Uint8Array=60]="Uint8Array",a[a.Undefined=61]="Undefined",a[a.Union=62]="Union",a[a.Void=63]="Void";class er extends K.B{constructor(e){super("Unknown type"),this.schema=e}}function ea(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function ei(e){return void 0!==e}class eo{constructor(e){this.iterator=e}[Symbol.iterator](){return this.iterator}First(){let e=this.iterator.next();return e.done?void 0:e.value}}function el(e,t,n,r,a=[]){return{type:e,schema:t,path:n,value:r,message:G({errorType:e,path:n,schema:t,value:r,errors:a}),errors:a}}function*es(e,t,n,r){let a=ei(e.$id)?[...t,e]:t;switch(e[Y.hY]){case"Any":return yield*function*(e,t,n,r){}(0,0,0,0);case"Argument":return yield*function*(e,t,n,r){}(0,0,0,0);case"Array":return yield*function*(e,t,n,r){if(!(0,en.Yl)(r))return yield el(i.Array,e,n,r);ei(e.minItems)&&!(r.length>=e.minItems)&&(yield el(i.ArrayMinItems,e,n,r)),ei(e.maxItems)&&!(r.length<=e.maxItems)&&(yield el(i.ArrayMaxItems,e,n,r));for(let a=0;a<r.length;a++)yield*es(e.items,t,`${n}/${a}`,r[a]);if(!0===e.uniqueItems&&!function(){let e=new Set;for(let t of r){let n=(0,ee.k)(t);if(e.has(n))return!1;e.add(n)}return!0}()&&(yield el(i.ArrayUniqueItems,e,n,r)),!(ei(e.contains)||ei(e.minContains)||ei(e.maxContains)))return;let a=ei(e.contains)?e.contains:(0,et.D)(),o=r.reduce((e,r,i)=>!0===es(a,t,`${n}${i}`,r).next().done?e+1:e,0);0===o&&(yield el(i.ArrayContains,e,n,r)),(0,en.qA)(e.minContains)&&o<e.minContains&&(yield el(i.ArrayMinContains,e,n,r)),(0,en.qA)(e.maxContains)&&o>e.maxContains&&(yield el(i.ArrayMaxContains,e,n,r))}(e,a,n,r);case"AsyncIterator":return yield*function*(e,t,n,r){(0,en.GG)(r)||(yield el(i.AsyncIterator,e,n,r))}(e,0,n,r);case"BigInt":return yield*function*(e,t,n,r){if(!(0,en.NT)(r))return yield el(i.BigInt,e,n,r);ei(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield el(i.BigIntExclusiveMaximum,e,n,r)),ei(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield el(i.BigIntExclusiveMinimum,e,n,r)),ei(e.maximum)&&!(r<=e.maximum)&&(yield el(i.BigIntMaximum,e,n,r)),ei(e.minimum)&&!(r>=e.minimum)&&(yield el(i.BigIntMinimum,e,n,r)),ei(e.multipleOf)&&r%e.multipleOf!==BigInt(0)&&(yield el(i.BigIntMultipleOf,e,n,r))}(e,0,n,r);case"Boolean":return yield*function*(e,t,n,r){(0,en.si)(r)||(yield el(i.Boolean,e,n,r))}(e,0,n,r);case"Constructor":return yield*function*(e,t,n,r){yield*es(e.returns,t,n,r.prototype)}(e,a,n,r);case"Date":return yield*function*(e,t,n,r){if(!(0,en.P9)(r))return yield el(i.Date,e,n,r);ei(e.exclusiveMaximumTimestamp)&&!(r.getTime()<e.exclusiveMaximumTimestamp)&&(yield el(i.DateExclusiveMaximumTimestamp,e,n,r)),ei(e.exclusiveMinimumTimestamp)&&!(r.getTime()>e.exclusiveMinimumTimestamp)&&(yield el(i.DateExclusiveMinimumTimestamp,e,n,r)),ei(e.maximumTimestamp)&&!(r.getTime()<=e.maximumTimestamp)&&(yield el(i.DateMaximumTimestamp,e,n,r)),ei(e.minimumTimestamp)&&!(r.getTime()>=e.minimumTimestamp)&&(yield el(i.DateMinimumTimestamp,e,n,r)),ei(e.multipleOfTimestamp)&&r.getTime()%e.multipleOfTimestamp!=0&&(yield el(i.DateMultipleOfTimestamp,e,n,r))}(e,0,n,r);case"Function":return yield*function*(e,t,n,r){(0,en.vC)(r)||(yield el(i.Function,e,n,r))}(e,0,n,r);case"Import":return yield*function*(e,t,n,r){let a=globalThis.Object.values(e.$defs),i=e.$defs[e.$ref];yield*es(i,[...t,...a],n,r)}(e,a,n,r);case"Integer":return yield*function*(e,t,n,r){if(!(0,en.uK)(r))return yield el(i.Integer,e,n,r);ei(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield el(i.IntegerExclusiveMaximum,e,n,r)),ei(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield el(i.IntegerExclusiveMinimum,e,n,r)),ei(e.maximum)&&!(r<=e.maximum)&&(yield el(i.IntegerMaximum,e,n,r)),ei(e.minimum)&&!(r>=e.minimum)&&(yield el(i.IntegerMinimum,e,n,r)),ei(e.multipleOf)&&r%e.multipleOf!=0&&(yield el(i.IntegerMultipleOf,e,n,r))}(e,0,n,r);case"Intersect":return yield*function*(e,t,n,r){let a=!1;for(let i of e.allOf)for(let e of es(i,t,n,r))a=!0,yield e;if(a)return yield el(i.Intersect,e,n,r);if(!1===e.unevaluatedProperties){let t=new RegExp((0,q.X)(e));for(let a of Object.getOwnPropertyNames(r))t.test(a)||(yield el(i.IntersectUnevaluatedProperties,e,`${n}/${a}`,r))}if("object"==typeof e.unevaluatedProperties){let a=new RegExp((0,q.X)(e));for(let i of Object.getOwnPropertyNames(r))if(!a.test(i)){let a=es(e.unevaluatedProperties,t,`${n}/${i}`,r[i]).next();a.done||(yield a.value)}}}(e,a,n,r);case"Iterator":return yield*function*(e,t,n,r){(0,en.l8)(r)||(yield el(i.Iterator,e,n,r))}(e,0,n,r);case"Literal":return yield*function*(e,t,n,r){r!==e.const&&(yield el(i.Literal,e,n,r))}(e,0,n,r);case"Never":return yield*function*(e,t,n,r){yield el(i.Never,e,n,r)}(e,0,n,r);case"Not":return yield*function*(e,t,n,r){!0===es(e.not,t,n,r).next().done&&(yield el(i.Not,e,n,r))}(e,a,n,r);case"Null":return yield*function*(e,t,n,r){(0,en.hG)(r)||(yield el(i.Null,e,n,r))}(e,0,n,r);case"Number":return yield*function*(e,t,n,r){if(!H.Q.IsNumberLike(r))return yield el(i.Number,e,n,r);ei(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield el(i.NumberExclusiveMaximum,e,n,r)),ei(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield el(i.NumberExclusiveMinimum,e,n,r)),ei(e.maximum)&&!(r<=e.maximum)&&(yield el(i.NumberMaximum,e,n,r)),ei(e.minimum)&&!(r>=e.minimum)&&(yield el(i.NumberMinimum,e,n,r)),ei(e.multipleOf)&&r%e.multipleOf!=0&&(yield el(i.NumberMultipleOf,e,n,r))}(e,0,n,r);case"Object":return yield*function*(e,t,n,r){if(!H.Q.IsObjectLike(r))return yield el(i.Object,e,n,r);ei(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)&&(yield el(i.ObjectMinProperties,e,n,r)),ei(e.maxPro
222perties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)&&(yield el(i.ObjectMaxProperties,e,n,r));let a=Array.isArray(e.required)?e.required:[],o=Object.getOwnPropertyNames(e.properties),l=Object.getOwnPropertyNames(r);for(let t of a)l.includes(t)||(yield el(i.ObjectRequiredProperty,e.properties[t],`${n}/${ea(t)}`,void 0));if(!1===e.additionalProperties)for(let t of l)o.includes(t)||(yield el(i.ObjectAdditionalProperties,e,`${n}/${ea(t)}`,r[t]));if("object"==typeof e.additionalProperties)for(let a of l)o.includes(a)||(yield*es(e.additionalProperties,t,`${n}/${ea(a)}`,r[a]));for(let a of o){let o=e.properties[a];e.required&&e.required.includes(a)?(yield*es(o,t,`${n}/${ea(a)}`,r[a]),!(0,X.X)(e)||a in r||(yield el(i.ObjectRequiredProperty,o,`${n}/${ea(a)}`,void 0))):H.Q.IsExactOptionalProperty(r,a)&&(yield*es(o,t,`${n}/${ea(a)}`,r[a]))}}(e,a,n,r);case"Promise":return yield*function*(e,t,n,r){(0,en.cX)(r)||(yield el(i.Promise,e,n,r))}(e,0,n,r);case"Record":return yield*function*(e,t,n,r){if(!H.Q.IsRecordLike(r))return yield el(i.Object,e,n,r);ei(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)&&(yield el(i.ObjectMinProperties,e,n,r)),ei(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)&&(yield el(i.ObjectMaxProperties,e,n,r));let[a,o]=Object.entries(e.patternProperties)[0],l=new RegExp(a);for(let[e,a]of Object.entries(r))l.test(e)&&(yield*es(o,t,`${n}/${ea(e)}`,a));if("object"==typeof e.additionalProperties)for(let[a,i]of Object.entries(r))l.test(a)||(yield*es(e.additionalProperties,t,`${n}/${ea(a)}`,i));if(!1===e.additionalProperties){for(let[t,a]of Object.entries(r))if(!l.test(t))return yield el(i.ObjectAdditionalProperties,e,`${n}/${ea(t)}`,a)}}(e,a,n,r);case"Ref":return yield*function*(e,t,n,r){yield*es((0,J.Hj)(e,t),t,n,r)}(e,a,n,r);case"RegExp":return yield*function*(e,t,n,r){return(0,en.XV)(r)?(ei(e.minLength)&&!(r.length>=e.minLength)&&(yield el(i.StringMinLength,e,n,r)),ei(e.maxLength)&&!(r.length<=e.maxLength)&&(yield el(i.StringMaxLength,e,n,r)),new RegExp(e.source,e.flags).test(r))?void 0:yield el(i.RegExp,e,n,r):yield el(i.String,e,n,r)}(e,0,n,r);case"String":return yield*function*(e,t,n,r){if(!(0,en.XV)(r))return yield el(i.String,e,n,r);ei(e.minLength)&&!(r.length>=e.minLength)&&(yield el(i.StringMinLength,e,n,r)),ei(e.maxLength)&&!(r.length<=e.maxLength)&&(yield el(i.StringMaxLength,e,n,r)),(0,en.XV)(e.pattern)&&!new RegExp(e.pattern).test(r)&&(yield el(i.StringPattern,e,n,r)),(0,en.XV)(e.format)&&(V.BT(e.format)?V.dX(e.format)(r)||(yield el(i.StringFormat,e,n,r)):yield el(i.StringFormatUnknown,e,n,r))}(e,0,n,r);case"Symbol":return yield*function*(e,t,n,r){(0,en.sP)(r)||(yield el(i.Symbol,e,n,r))}(e,0,n,r);case"TemplateLiteral":return yield*function*(e,t,n,r){if(!(0,en.XV)(r))return yield el(i.String,e,n,r);new RegExp(e.pattern).test(r)||(yield el(i.StringPattern,e,n,r))}(e,0,n,r);case"This":return yield*function*(e,t,n,r){yield*es((0,J.Hj)(e,t),t,n,r)}(e,a,n,r);case"Tuple":return yield*function*(e,t,n,r){if(!(0,en.Yl)(r))return yield el(i.Tuple,e,n,r);if(void 0===e.items&&0!==r.length||r.length!==e.maxItems)return yield el(i.TupleLength,e,n,r);if(e.items)for(let a=0;a<e.items.length;a++)yield*es(e.items[a],t,`${n}/${a}`,r[a])}(e,a,n,r);case"Undefined":return yield*function*(e,t,n,r){(0,en.fk)(r)||(yield el(i.Undefined,e,n,r))}(e,0,n,r);case"Union":return yield*function*(e,t,n,r){if((0,Q.J)(e,t,r))return;let a=e.anyOf.map(e=>new eo(es(e,t,n,r)));yield el(i.Union,e,n,r,a)}(e,a,n,r);case"Uint8Array":return yield*function*(e,t,n,r){if(!(0,en.KJ)(r))return yield el(i.Uint8Array,e,n,r);ei(e.maxByteLength)&&!(r.length<=e.maxByteLength)&&(yield el(i.Uint8ArrayMaxByteLength,e,n,r)),ei(e.minByteLength)&&!(r.length>=e.minByteLength)&&(yield el(i.Uint8ArrayMinByteLength,e,n,r))}(e,0,n,r);case"Unknown":return yield*function*(e,t,n,r){}(0,0,0,0);case"Void":return yield*function*(e,t,n,r){H.Q.IsVoidLike(r)||(yield el(i.Void,e,n,r))}(e,0,n,r);default:if(!W.BT(e[Y.hY]))throw new er(e);return yield*function*(e,t,n,r){W.dX(e[Y.hY])(e,r)||(yield el(i.Kind,e,n,r))}(e,0,n,r)}}let eu=e=>{if(null===e||"object"!=typeof e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||null===t},ec=(e,t)=>!!e&&("any"===e.type||("number"===e.type?"number"==typeof t&&!Number.isNaN(t)&&Number.isFinite(t):"string"===e.type?"string"==typeof t:"boolean"===e.type?"boolean"==typeof t:"nullable"===e.type?null===t:"notDefined"===e.type?void 0===t:"array"===e.type?Array.isArray(t)&&t.every(t=>ec(e.items,t)):"record"===e.type?!!eu(t)&&Object.keys(t).every(n=>ec(e.key,n)&&ec(e.value,t[n])):"object"===e.type?!!eu(t)&&Object.keys(e.properties).every(n=>ec(e.properties[n],t[n])):"optional"===e.type?void 0===t||ec(e.schema,t):"union"===e.type?e.schemas.some(e=>ec(e,t)):"intersection"===e.type?0===e.schemas.length||!!eu(t)&&e.schemas.every(e=>
222ec(e,t)):"literal"===e.type?t===e.value:"lazy"===e.type?ec(e.schema(),t):"evaluate"===e.type?ec(e.schema,e.expression(t)):(console.warn("Unknown schema type:",e),!1))),ed=e=>"optional"===e.type?ed(e.schema):"literal"===e.type||"union"===e.type&&e.schemas.length>0&&e.schemas.every(ed),ep=(e,t)=>"object"===e.type?eu(t)?Object.keys(e.properties).reduce((n,r)=>{if(!(r in t))return n;let a=e.properties[r],i=ep(a,t[r]);return ed(a)?n+(i>0?10*i:0):n+(i>0?i:1)},0):0:"array"===e.type?Array.isArray(t)?1:0:"record"===e.type?eu(t)?1:0:"optional"===e.type?void 0===t?1:ep(e.schema,t):"union"===e.type?Math.max(...e.schemas.map(e=>ep(e,t))):"intersection"===e.type?0===e.schemas.length?1:e.schemas.reduce((e,n)=>e+ep(n,t),0):"lazy"===e.type?ep(e.schema(),t):"evaluate"===e.type?ep(e.schema,e.expression(t)):ec(e,t)?1:0,em=(e,t,n=new WeakMap)=>{if(eu(t)&&n.get(t)?.has(e))return t;if(eu(t)){let r=n.get(t)||new Set;r.add(e),n.set(t,r)}if(!e||"any"===e.type)return t;if("number"===e.type)return ec(e,t)?t:0;if("string"===e.type)return ec(e,t)?t:"";if("boolean"===e.type)return!!ec(e,t)&&t;if("nullable"===e.type)return null;if("notDefined"!==e.type){if("optional"===e.type){if(void 0===t)return;return em(e.schema,t,n)}if("array"===e.type)return Array.isArray(t)?t.map(t=>em(e.items,t,n)):[];if("record"===e.type)return eu(t)?Object.fromEntries(Object.entries(t).map(([t,r])=>[t,em(e.value,r,n)])):{};if("object"===e.type){let r=Object.keys(e.properties),a=eu(t)?t:null,i=[];for(let t of r){let r=e.properties[t],o=a?.[t];("optional"!==r.type||void 0!==o)&&i.push([t,em(r,o,n)])}return Object.fromEntries(i)}return"union"===e.type?em(e.schemas.reduce((e,n)=>{let r=ep(n,t);return r>e.score?{schema:n,score:r}:e},{schema:e.schemas[0],score:0}).schema,t,n):"intersection"===e.type?e.schemas.reduce((e,r)=>Object.assign(e,em(r,t,n)),{}
222):"literal"===e.type?e.value:"lazy"===e.type?em(e.schema(),t,n):"evaluate"===e.type?em(e.schema,e.expression(t),n):(console.warn("Unknown schema type:",e),t)}};var ef=n(72909),eh=n(68238),eg=n(90124),ev=n(76790);let ey=ev.Dy.Object({name:ev.Dy.String(),value:ev.Dy.String()}),eb=ev.Dy.Object({url:ev.Dy.String(),method:ev.Dy.String(),httpVersion:ev.Dy.String(),headers:ev.Dy.Array(ey),cookies:ev.Dy.Array(ey),headersSize:ev.Dy.Number(),queryString:ev.Dy.Array(ey),bodySize:ev.Dy.Number(),postData:ev.Dy.Optional(ev.Dy.Union([ev.Dy.Object({mimeType:ev.Dy.String(),text:ev.Dy.String()}),ev.Dy.Object({mimeType:ev.Dy.String(),params:ev.Dy.Array(ev.Dy.Object({name:ev.Dy.String(),value:ev.Dy.Optional(ev.Dy.String())}))})]))}),eO=ev.Dy.Object({status:ev.Dy.Number(),statusText:ev.Dy.String(),headers:ev.Dy.Array(ey),cookies:ev.Dy.Array(ey),httpVersion:ev.Dy.String(),redirectURL:ev.Dy.String(),headersSize:ev.Dy.Number(),bodySize:ev.Dy.Number(),content:ev.Dy.Object({size:ev.Dy.Number(),mimeType:ev.Dy.String(),encoding:ev.Dy.Optional(ev.Dy.String()),text:ev.Dy.Optional(ev.Dy.String())})}),ew=ev.Dy.Object({time:ev.Dy.Number(),timestamp:ev.Dy.Number(),request:eb,response:eO,meta:ev.Dy.Object({example:ev.Dy.String()}),requestMetadata:ev.Dy.Object({variables:ev.Dy.Record(ev.Dy.String(),ev.Dy.String())})}),ek=ev.Dy.Record(ev.Dy.String(),ev.Dy.Record(ev.Dy.String(),ev.Dy.Array(ew))),ex=ev.Dy.Record(ev.Dy.String(),ek);var eS=n(28096),e_=n(91474),eE=n(24725);let eA=({hooks:e})=>{let t=(0,ef.qj)({});return{getHistory:(e,n,r)=>t[e]?.[n]?.[r],addHistory:(n,r,a,i)=>{t[n]||={},t[n][r]||={},t[n][r][a]||=[],t[n][r][a].length>=5&&(t[n][r][a]=(0,e_.O)(t[n][r][a].filter((e,t)=>0!==t),{depth:1})),t[n][r][a].push(i),e?.onHistoryChange?.(n)},clearOperationHistory:(n,r,a)=>{delete t[n]?.[r]?.[a],e?.onHistoryChange?.(n)},clearPathHistory:(n,r)=>{delete t[n]?.[r],e?.onHistoryChange?.(n)},clearDocumentHistory:n=>{delete t[n],e?.onHistoryChange?.(n)},load:n=>{let r=(0,eE.a)(ex,n);(0,eS.v3)(t,r),Object.keys(r).forEach(t=>{e?.onHistoryChange?.(t)})},export:()=>(0,e_.O)(t)}};var eT=n(49884),eD=n(91387),eC=n(68590);let e$=e=>e.fetch?e.fetch:(t,n)=>fetch((0,eC.L)(e.proxyUrl,t.toString()),n);var eP=n(6598),eI=n(10653),eN=n(4763),eU=n(92521),eM=n(15028),eR=n(78698);let ej=(e,t)=>{if(e&&"object"==typeof e&&"$ref"in e&&"string"==typeof e.$ref&&e.$ref.startsWith("#")){let n=(0,eR.x)(e.$ref.slice(1));return ej(r(t.rootNode,n),t)}return e},eL=()=>({type:"lifecycle",onResolveStart:e=>{e.$status="loading"},onResolveError:e=>{e.$status="error"},onResolveSuccess:e=>{delete e.$status}}),eZ=()=>({type:"lifecycle",onAfterNodeProcess:async(e,t)=>{let n=e.externalValue,r=t.resolutionCache;if("string"!=typeof n)return;let a=t.loaders.find(e=>e.validate(n));if(!a)return;r.has(n)||r.set(n,a.exec(n));let i=await r.get(n);i?.ok&&(e.value=i.data)}}),eB=()=>({type:"lifecycle",onBeforeNodeProcess:async(e,t)=>{let{path:n,resolutionCache:r,parentNode:a}=t,i=e.$ref;if("string"!=typeof i||!a||!n.length)return;let o=t.loaders.find(e=>e.validate(i));if(o&&"info"===n[0]){r.has(i)||r.set(i,o.exec(i));let e=await r.get(i);e?.ok&&(a[n.at(-1)]=e.data)}}}),ez=()=>({type:"lifecycle",onBeforeNodeProcess:(e,t)=>{let n=e.$ref,r=t.rootNode["x-ext-urls"];if("string"!=typeof n||"object"!=typeof r||null===r||!(0,eS.Jt)(n))return;let a=n.split("/").at(-1)??"";e.$ref=r[a]??n}}),eF=()=>({type:"lifecycle",onAfterNodeProcess:(e,t)=>{let{path:n}=t;if(3===n.length&&"components"===n[0]&&"securitySchemes"===n[1]){let n=ej(e,t);"object"==typeof n&&null!==n&&"scheme"in n&&"string"==typeof n.scheme&&n.scheme.toLowerCase()!==n.scheme&&(n.scheme=n.scheme.toLowerCase())}}}),eQ=()=>({type:"lifecycle",onBeforeNodeProcess:(e,t)=>{let{path:n}=t;if("string"==typeof e.$ref&&!("components"===n[0]&&"schemas"===n[1])){let t=new Set(["$ref","summary","description","$status"]);Object.keys(e).forEach(n=>{t.has(n)||delete e[n]})}}}),eH=()=>({type:"lifecycle",onBeforeNodeProcess:(e,t)=>{let{path:n}=t;if(2!==n.length||"paths"!==n[0]||"string"!=typeof n[1])return;let r=n[1];for(let n of eU.W){let a=ej(e[n],t);if(!(0,o.K)(a))continue;let i=e=>{let n=ej(e,t);return(0,o.K)(n)&&"name"in n&&"string"==typeof n.name&&"in"in n&&"string"==typeof n.in},l=e=>{let n=ej(e,t);return i(n)&&"path"===n.in},s=("parameters"in a&&Array.isArray(a.parameters)?a.parameters:[]).filter(i),u=new Set(s.map(e=>ej(e,t)).filter(l).map(e=>e.name)),c=("parameters"in e&&Array.isArray(e.parameters)?e.parameters:[]).filter(e=>{let n=ej(e,t);if(!l(n))return!1;let r=!u.has(n.name);return r&&u.add(n.name),r}),d=(0,eM.I)(r,r,[...s,...c],e=>ej(e,t));d.length>0&&(a.parameters=d)}}}),eq=["__scalar_","$status"],eV=()=>({type:"lifecycle",onBeforeNodeProcess:e=>{if((0,o.K)(e))for(let t of eq)t in e&&delete e[t]}});var eW=n(61697),eX=n(70402),eY=n(42317),eG=n(81435),eK=n(21327),eJ=n(64350),e0=n(75427),e1=n(39326),e2=n(93892),e4=n(20173),e8=n(28454),e6=n(83986),e3=n(41193),e5=n(33245),e7=n(33209),e9=n(23517),te=n(60935),tt=n(7977),tn=n(62677),tr=n(43922),ta=n(93722),ti=n(58231),to=n(50229),tl=n(99093),ts=n(6595),tu=n(8879),tc=n(43718),td=n(18005),tp=n(88922),tm=n(20854),tf=n(76038),th=n(51035),tg=n(59899),tv=n(78636),ty=n(29133),tb=n(57251),tO=n(84181),tw=n(1821),tk=n(3277),tx=n(98969);let tS=(0,eX.Ry)({$status:(0,eX.jt)((0,eX.G0)([(0,eX.i0)("loading"),(0,eX.i0)("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,eX.jt)((0,eX.O7)({typeComment:"Indicates whether this reference should be resolved globally across all documents, rather than just within the current document context."}))},{typeName:"ReferenceObjectExtensions"}),t_=(0,eX.Ry)({$ref:(0,eX.Z_)({typeComment:"REQUIRED. The reference identifier. This MUST be in the form of a URI."}),summary:(0,eX.jt)((0,eX.Z_)({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,eX.jt)((0,eX.Z_)({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"}),tE=e=>(0,o.K)(e)&&"$ref"in e?tE(e["$ref-value"]):e;var tA=n(39892);function tT(e){if("url"in e)return(0,p.BO)({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)})}n(83105);let tD=e=>"url"in e?e.url:"path"in e?e.path:void 0,tC=(e=>{let t=(0,eX.Ry)({name:(0,eX.jt)((0,eX.Z_)({typeComment:"The name of the contact."})),url:(0,eX.jt)((0,eX.Z_)({typeComment:"The URI for the contact information. This MUST be in the form of a URI."})),email:(0,eX.jt)((0,eX.Z_)({typeComment:"The email address of the contact person/organization. This MUST be in the form of an email address."}))},{typeName:"ContactObject"}),n=(0,eX.Ry)({name:(0,eX.jt)((0,eX.Z_)({typeComment:"REQUIRED. The license name used for the API."})),identifier:(0,eX.jt)((0,eX.Z_)({typeComment:"An SPDX license expression for the API. The identifier field is mutually exclusive of the url field."})),url:(0,eX.jt)((0,eX.Z_)({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"}),r=(0,eX.jV)([(0,eX.Ry)({title:(0,eX.Z_)({typeComment:"REQUIRED. The title of the API."}),version:(0,eX.Z_)({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,eX.jt)((0,eX.Z_)({typeComment:"A short summary of the API."})),description:(0,eX.jt)((0,eX.Z_)({typeComment:"A description of the API. CommonMark syntax MAY be used for rich text representation."})),termsOfService:(0,eX.jt)((0,eX.Z_)({typeComment:"A URI for the Terms of Service for the API. This MUST be in the form of a URI."})),contact:(0,eX.jt)(t),license:(0,eX.jt)(n)},{typeName:"InfoObject"}),e4.U]),a=(0,eX.Ry)({enum:(0,eX.jt)((0,eX.IX)((0,eX.Z_)(),{typeComment:"An enumeration of str
222ing values to be used if the substitution options are from a limited set. The array MUST NOT be empty."})),default:(0,eX.jt)((0,eX.Z_)({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,eX.jt)((0,eX.Z_)({typeComment:"An optional description for the server variable. CommonMark syntax MAY be used for rich text representation."}))},{typeName:"ServerVariableObject"}),i=(0,eX.Ry)({url:(0,eX.Z_)({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,eX.jt)((0,eX.Z_)({typeComment:"An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation."})),variables:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),a,{typeComment:"A map between a variable name and its value. The value is used for substitution in the server's URL template."}))},{typeName:"ServerObject"}),o=(0,eX.Ry)({url:(0,eX.Z_)({typeComment:"REQUIRED. The URI for the target documentation. This MUST be in the form of a URI."}),description:(0,eX.jt)((0,eX.Z_)({typeComment:"A description of the target documentation. CommonMark syntax MAY be used for rich text representation."}))},{typeName:"ExternalDocumentationObject"}),l=(0,eX.jV)([(0,eX.Ry)({name:(0,eX.Z_)({typeComment:"REQUIRED. The name of the tag."}),description:(0,eX.jt)((0,eX.Z_)({typeComment:"A description for the tag. CommonMark syntax MAY be used for rich text representation."})),externalDocs:(0,eX.jt)(o)},{typeName:"TagObject"}),tk.i,eY.F,eJ.d,tt.n]),s=(0,eX.IM)((0,eX.Z_)(),(0,eX.IX)((0,eX.Z_)()),{typeName:"SecurityRequirementObject",typeComment:"Lists the required security schemes to execute this operation. An empty object ({}) indicates anonymous access is supported."}),u=(0,eX.Ry)({name:(0,eX.jt)((0,eX.Z_)({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,eX.jt)((0,eX.Z_)({typeComment:"The URI of the namespace definition. Value MUST be in the form of a non-relative URI."})),prefix:(0,eX.jt)((0,eX.Z_)({typeComment:"The prefix to be used for the name."})),attribute:(0,eX.jt)((0,eX.O7)({typeComment:"Declares whether the property definition translates to an attribute instead of an element. Default value is false."})),wrapped:(0,eX.jt)((0,eX.O7)({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"}),c=(0,eX.Ry)({propertyName:(0,eX.Z_)({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,eX.jt)((0,eX.IM)((0,eX.Z_)(),(0,eX.Z_)(),{typeComment:"An object to hold mappings between payload values and schema names or URI references."}))},{typeName:"DiscriminatorObject"}),d=[eJ.d,eY.F,tm.r,tp.$,tc._,td.V,tu.D,e6.P],p=(0,eX.Ry)({name:(0,eX.jt)((0,eX.Z_)({typeComment:"Schema name (extension)."})),title:(0,eX.jt)((0,eX.Z_)({typeComment:"A title for the schema."})),description:(0,eX.jt)((0,eX.Z_)({typeComment:"A description of the schema."})),default:(0,eX.jt)((0,eX.Yj)({typeComment:"Default value for the schema."})),enum:(0,eX.jt)((0,eX.IX)((0,eX.Yj)(),{typeComment:"Array of allowed values.",typeName:"JsonSchemaEnum"})),const:(0,eX.jt)((0,eX.Yj)({typeComment:"Constant value that must match exactly."})),contentMediaType:(0,eX.jt)((0,eX.Z_)({typeComment:"Media type for content validation."})),contentEncoding:(0,eX.jt)((0,eX.Z_)({typeComment:"Content encoding."})),contentSchema:(0,eX.jt)(e((0,eX.Vo)(()=>O))),deprecated:(0,eX.jt)((0,eX.O7)({typeComment:"Whether the schema is deprecated."})),discriminator:(0,eX.jt)(c),readOnly:(0,eX.jt)((0,eX.O7)({typeComment:"Whether the schema is read-only."})),writeOnly:(0,eX.jt)((0,eX.O7)({typeComment:"Whether the schema is write-only."})),xml:(0,eX.jt)(u),externalDocs:(0,eX.jt)(o),example:(0,eX.jt)((0,eX.Yj)({typeComment:"A free-form field to include an example of an instance for this schema. Deprecated
222in favor of the JSON Schema examples keyword."})),examples:(0,eX.jt)((0,eX.IX)((0,eX.Yj)(),{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,eX.jt)((0,eX.IX)(e((0,eX.Vo)(()=>O)),{typeName:"SchemaObjectAllOf"})),oneOf:(0,eX.jt)((0,eX.IX)(e((0,eX.Vo)(()=>O)),{typeName:"SchemaObjectOneOf"})),anyOf:(0,eX.jt)((0,eX.IX)(e((0,eX.Vo)(()=>O)),{typeName:"SchemaObjectAnyOf"})),not:(0,eX.jt)(e((0,eX.Vo)(()=>O)))}),m=(0,eX.Ry)({__scalar_:(0,eX.Z_)({typeComment:"Internal marker for schema object disambiguation."})}),f=(0,eX.Ry)({type:(0,eX.G0)([(0,eX.i0)("number"),(0,eX.i0)("integer")]),format:(0,eX.jt)((0,eX.Z_)({typeComment:"Different subtypes."})),multipleOf:(0,eX.jt)((0,eX.Rx)({typeComment:"Number must be a multiple of this value."})),maximum:(0,eX.jt)((0,eX.Rx)({typeComment:"Maximum value (inclusive)."})),exclusiveMaximum:(0,eX.jt)((0,eX.Rx)({typeComment:"Maximum value (exclusive)."})),minimum:(0,eX.jt)((0,eX.Rx)({typeComment:"Minimum value (inclusive)."})),exclusiveMinimum:(0,eX.jt)((0,eX.Rx)({typeComment:"Minimum value (exclusive)."}))},{typeName:"NumberSchemaObject"}),h=(0,eX.Ry)({type:(0,eX.i0)("string"),format:(0,eX.jt)((0,eX.Z_)({typeComment:"Different subtypes."})),maxLength:(0,eX.jt)((0,eX.Rx)({typeComment:"Maximum string length."})),minLength:(0,eX.jt)((0,eX.Rx)({typeComment:"Minimum string length."})),pattern:(0,eX.jt)((0,eX.Z_)({typeComment:"Regular expression pattern."}))},{typeName:"StringSchemaObject"}),g=(0,eX.Ry)({type:(0,eX.i0)("object"),maxProperties:(0,eX.jt)((0,eX.Rx)({typeComment:"Maximum number of properties."})),minProperties:(0,eX.jt)((0,eX.Rx)({typeComment:"Minimum number of properties."})),properties:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>O)),{typeName:"SchemaObjectProperties"})),required:(0,eX.jt)((0,eX.IX)((0,eX.Z_)(),{typeName:"SchemaObjectRequired"})),additionalProperties:(0,eX.jt)((0,eX.G0)([(0,eX.O7)(),e((0,eX.Vo)(()=>O))],{typeName:"SchemaObjectAdditionalProperties"})),patternProperties:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>O)),{typeName:"SchemaObjectPatternProperties"})),propertyNames:(0,eX.jt)(e((0,eX.Vo)(()=>O)))},{typeName:"ObjectSchemaObject"}),v=(0,eX.Ry)({type:(0,eX.i0)("array"),maxItems:(0,eX.jt)((0,eX.Rx)({typeComment:"Maximum number of items in array."})),minItems:(0,eX.jt)((0,eX.Rx)({typeComment:"Minimum number of items in array."})),uniqueItems:(0,eX.jt)((0,eX.O7)({typeComment:"Whether array items must be unique."})),items:(0,eX.jt)(e((0,eX.Vo)(()=>O))),prefixItems:(0,eX.jt)((0,eX.IX)(e((0,eX.Vo)(()=>O)),{typeComment:"Schema for tuple validation."}))},{typeName:"ArraySchemaObject"}),y=(0,eX.G0)([(0,eX.i0)("null"),(0,eX.i0)("boolean"),(0,eX.i0)("string"),(0,eX.i0)("number"),(0,eX.i0)("integer"),(0,eX.i0)("object"),(0,eX.i0)("array")],{typeName:"SchemaObjectMultiTypeKeywords"}),b=(0,eX.Ry)({type:(0,eX.G0)([(0,eX.i0)("null"),(0,eX.i0)("boolean"),(0,eX.IX)(y)],{typeName:"SchemaObjectOtherTypeKeyword"})},{typeName:"MultiTypeSchemaObject"}),O=(0,eX.jV)([p,...d,(0,eX.G0)([m,b,f,h,g,v])],{typeName:"SchemaObject"}),w=(0,eX.Ry)({description:(0,eX.jt)((0,eX.Z_)({typeComment:"A description for security scheme. CommonMark syntax MAY be used for rich text representation."}))}),k=(0,eX.Ry)({...w.properties,type:(0,eX.i0)("apiKey"),name:(0,eX.Z_)({typeComment:"REQUIRED. The name of the header, query or cookie parameter to be used."}),in:(0,eX.G0)([(0,eX.i0)("query"),(0,eX.i0)("header"),(0,eX.i0)("cookie")],{typeComment:'REQUIRED. The location of the API key. Valid values are "query", "header", or "cookie".'})},{typeName:"ApiKeySecuritySchemeObject"}),x=(0,eX.Ry)({...w.properties,type:(0,eX.i0)("http"),scheme:(0,eX.G0)([(0,eX.i0)("basic"),(0,eX.i0)("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,eX.jt)((0,eX.Z_)({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"}),S=[tv.E,tg.r,tb.j,ty.T8,ty.Lw],_=(0,eX.Ry)({refreshUrl:(0,eX.Z_)({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,eX.IM)((0,eX.Z_)(),(0,eX.Z_)(),{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"})}
222,{typeName:"OAuthFlowBaseCore"}),E=(0,eX.jV)([_,...S,(0,eX.Ry)({authorizationUrl:(0,eX.Z_)({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"})]),A=(0,eX.jV)([_,...S,(0,eX.Ry)({tokenUrl:(0,eX.Z_)({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"}),th.r]),T=(0,eX.jV)([_,...S,(0,eX.Ry)({tokenUrl:(0,eX.Z_)({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"}),th.r]),D=(0,eX.jV)([_,...S,(0,eX.Ry)({authorizationUrl:(0,eX.Z_)({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,eX.Z_)({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"}),tO.x,th.r]),C=(0,eX.Ry)({implicit:(0,eX.jt)(E),password:(0,eX.jt)(A),clientCredentials:(0,eX.jt)(T),authorizationCode:(0,eX.jt)(D)},{typeName:"OAuthFlowsObject"}),$=(0,eX.jV)([(0,eX.Ry)({...w.properties,type:(0,eX.i0)("oauth2"),flows:C},{typeName:"OAuth2SecuritySchemeObject"}),tf.D]),P=(0,eX.Ry)({...w.properties,type:(0,eX.i0)("openIdConnect"),openIdConnectUrl:(0,eX.Z_)({typeComment:"REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata."})},{typeName:"OpenIdConnectSecuritySchemeObject"}),I=(0,eX.G0)([k,x,$,P],{typeName:"SecuritySchemeObject"}),N=(0,eX.Ry)({schemas:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e(O),{typeName:"ComponentsSchemas"})),responses:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>V)),{typeName:"ComponentsResponses"})),parameters:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>Q)),{typeName:"ComponentsParameters"})),examples:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>U)),{typeName:"ComponentsExamples"})),requestBodies:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>H)),{typeName:"ComponentsRequestBodies"})),headers:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>L)),{typeName:"ComponentsHeaders"})),securitySchemes:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>I)),{typeName:"ComponentsSecuritySchemes"})),links:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>q)),{typeName:"ComponentsLinks"})),callbacks:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>X)),{typeName:"ComponentsCallbacks"})),pathItems:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),(0,eX.Vo)(()=>G),{typeName:"ComponentsPathItems"}))},{typeName:"ComponentsObject"}),U=(0,eX.jV)([(0,eX.Ry)({summary:(0,eX.jt)((0,eX.Z_)({typeComment:"Short description for the example."})),description:(0,eX.jt)((0,eX.Z_)({typeComment:"Long description for the example. CommonMark syntax MAY be used for rich text representation."})),value:(0,eX.jt)((0,eX.Yj)({typeComment:"Embedded literal example. The value field and externalValue field are mutually exclusive."})),externalValue:(0,eX.jt)((0,eX.Z_)({typeComment:"A URI that identifies the literal example. The value field and externalValue field are mutually exclusive."}))},{typeName:"ExampleObject"}),e3.v]),M=(0,eX.Ry)({description:(0,eX.jt)((0,eX.Z_)({typeComment:"A brief description of the header. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),required:(0,eX.jt)((0,eX.O7)({typeComment:"Determines whether this header is mandatory. The default value is false."})),deprecated:(0,eX.jt)((0,eX.O7)({typeComment:"Specifies that the header is deprecated and SHOULD be transitioned out of usage. Default value is false."}))},{typeName:"HeaderBase"}),R=(0,eX.jV)([M,(0,eX.Ry)({style:(0,eX.jt)((0,eX.Z_)({typeComment:'Describes how the header value will be serialized. The default (and only legal value for headers) is "simple".'})),explode:(0,eX.jt)((0,eX.O7)({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,eX.jt)(e((0,eX.Vo)(()=>O))),example:(0,eX.jt)((0,eX.Yj)()),examples:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>U)),{typeName:"HeaderExamples"}))},{typeName:"HeaderObjectWithSchema"})]),j=(0,eX.jV)([M,(0,eX.Ry)({content:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),(0,eX.Vo)(()=>B),{typeName:"HeaderContent"}))},{typeName:"HeaderObjectWithContent"})]),L=(0,eX.G0)([R,j],{typeName:"HeaderObject"}),Z=(0,eX.Ry)({contentType:(0,eX.jt)((0,eX.Z_)({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
222wildcard media type (e.g. image/*)."})),headers:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>L)),{typeName:"EncodingHeaders"}))},{typeName:"EncodingObject"}),B=(0,eX.Ry)({schema:(0,eX.jt)(e((0,eX.Vo)(()=>O))),example:(0,eX.jt)((0,eX.Yj)({typeComment:"Example of the media type."})),examples:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>U)),{typeName:"MediaTypeExamples"})),encoding:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),Z,{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"}),z=(0,eX.jV)([(0,eX.Ry)({name:(0,eX.Z_)({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,eX.G0)([(0,eX.i0)("query"),(0,eX.i0)("header"),(0,eX.i0)("path"),(0,eX.i0)("cookie")],{typeName:"ParameterLocation",typeComment:'REQUIRED. The location of the parameter. Possible values are "query", "header", "path" or "cookie".'}),description:(0,eX.jt)((0,eX.Z_)({typeComment:"A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),required:(0,eX.jt)((0,eX.O7)({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,eX.jt)((0,eX.O7)({typeComment:"Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false."})),allowEmptyValue:(0,eX.jt)((0,eX.O7)({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,eX.jt)((0,eX.O7)({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,eX.jt)((0,eX.Z_)({typeComment:"Describes how the parameter value will be serialized (depending on the schema type)."})),explode:(0,eX.jt)((0,eX.O7)({typeComment:"When this is true, parameter values of type array or object generate separate parameters for each array item or object property."})),schema:(0,eX.jt)(e((0,eX.Vo)(()=>O))),example:(0,eX.jt)((0,eX.Yj)()),examples:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>U)),{typeName:"ParameterExamples"}))},{typeName:"ParameterObjectWithSchema"}),ts.A,eY.F,eJ.d]),F=(0,eX.jV)([(0,eX.Ry)({name:(0,eX.Z_)({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,eX.G0)([(0,eX.i0)("query"),(0,eX.i0)("header"),(0,eX.i0)("path"),(0,eX.i0)("cookie")],{typeName:"ParameterLocation",typeComment:'REQUIRED. The location of the parameter. Possible values are "query", "header", "path" or "cookie".'}),description:(0,eX.jt)((0,eX.Z_)({typeComment:"A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),required:(0,eX.jt)((0,eX.O7)({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,eX.jt)((0,eX.O7)({typeComment:"Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false."})),allowEmptyValue:(0,eX.jt)((0,eX.O7)({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,eX.jt)((0,eX.O7)({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,eX.jt)((0,eX.IM)((0,eX.Z_)(),(0,eX.Vo)(()=>B),{typeName:"ParameterContent"}))},{typeName:"ParameterObjectWithContent"}),ts.A,eY.F,eJ.d]),Q=(0,eX.G0)([z,F],{typeName:"ParameterObject"}),H=(0,eX.jV)([(0,eX.Ry)({description:(0,eX.jt)((0,eX.Z_)({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,eX.IM)((0,eX.Z_)(),(0,eX.Vo)(()=>B),{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,eX.jt)((0,eX.O7)({typeComment:"Determines if the request body is required in the request. Defaults to false."}))},{typeName:"RequestBodyObject"}),to.W]),q=(0,eX.Ry)({operationRef:(0,eX.jt)((0,eX.Z_)({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,eX.jt)((0,eX.Z_)({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,eX.jt)((0,eX.IM)((0,eX.Z_)(),(0,eX.Yj)(),{typeComment:"A map representing parameters to pass to an operation as specified with operationId or identified via operationRef.",typeName:"LinkParameters"})),requestBody:(0,eX.jt)((0,eX.Yj)({typeComment:"A literal value or {expression} to use as a request body when calling the target operation."})),description:(0,eX.jt)((0,eX.Z_)({typeComment:"A description of the link. CommonMark syntax MAY be used for rich text representation."})),server:(0,eX.jt)(i)},{typeName:"LinkObject"}),V=(0,eX.Ry)({description:(0,eX.Z_)({typeComment:"REQUIRED. A description of the response. CommonMark syntax MAY be used for rich text representation."}),headers:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>L)),{typeName:"ResponseHeaders"})),content:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),(0,eX.Vo)(()=>B),{typeName:"ResponseContent"})),links:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>q)),{typeName:"ResponseLinks"}))},{typeName:"ResponseObject"}),W=(0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>V)),{typeName:"ResponsesObject"}),X=(0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>G)),{typeName:"CallbackObject"}),Y=(0,eX.jV)([(0,eX.Ry)({tags:(0,eX.jt)((0,eX.IX)((0,eX.Z_)(),{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,eX.jt)((0,eX.Z_)({typeComment:"A short summary of what the operation does."})),description:(0,eX.jt)((0,eX.Z_)({typeComment:"A verbose explanation of the operation behavior. CommonMark syntax MAY be used for rich text representation."})),externalDocs:(0,eX.jt)(o),operationId:(0,eX.jt)((0,eX.Z_)({typeComment:"Unique string used to identify the operation. The id MUST be unique among all operations described
222in the API. The operationId value is case-sensitive."})),parameters:(0,eX.jt)((0,eX.IX)(e((0,eX.Vo)(()=>Q)),{typeName:"OperationParameters"})),requestBody:(0,eX.jt)(e((0,eX.Vo)(()=>H))),responses:(0,eX.jt)((0,eX.Vo)(()=>W)),deprecated:(0,eX.jt)((0,eX.O7)({typeComment:"Declares this operation to be deprecated. Consumers SHOULD refrain from usage of the declared operation. Default value is false."})),security:(0,eX.jt)((0,eX.IX)(s,{typeName:"OperationSecurity"})),servers:(0,eX.jt)((0,eX.IX)(i,{typeName:"OperationServers"})),callbacks:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),e((0,eX.Vo)(()=>X)),{typeName:"OperationCallbacks"}))},{typeName:"OperationObject"}),tn.QP,eY.F,eJ.d,tr.oU,tl.m_,ti.l,e5._,e7.c,ta.k,tw.U]),G=(0,eX.Ry)({$ref:(0,eX.jt)((0,eX.Z_)({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,eX.jt)((0,eX.Z_)({typeComment:"An optional string summary, intended to apply to all operations in this path."})),description:(0,eX.jt)((0,eX.Z_)({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,eX.jt)(e((0,eX.Vo)(()=>Y))),put:(0,eX.jt)(e((0,eX.Vo)(()=>Y))),post:(0,eX.jt)(e((0,eX.Vo)(()=>Y))),delete:(0,eX.jt)(e((0,eX.Vo)(()=>Y))),patch:(0,eX.jt)(e((0,eX.Vo)(()=>Y))),connect:(0,eX.jt)(e((0,eX.Vo)(()=>Y))),options:(0,eX.jt)(e((0,eX.Vo)(()=>Y))),head:(0,eX.jt)(e((0,eX.Vo)(()=>Y))),trace:(0,eX.jt)(e((0,eX.Vo)(()=>Y))),servers:(0,eX.jt)((0,eX.IX)(i,{typeName:"PathItemServers"})),parameters:(0,eX.jt)((0,eX.IX)(e((0,eX.Vo)(()=>Q)),{typeName:"PathItemParameters"}))},{typeName:"PathItemObject"}),K=(0,eX.Ry)({"x-original-oas-version":(0,eX.jt)((0,eX.Z_)({typeComment:"Original OpenAPI Specification version of the source document."})),"x-scalar-original-source-url":(0,eX.jt)((0,eX.Z_)({typeComment:"Original document source URL when loading a document from an external source."})),[eW.R.document.navigation]:(0,eX.jt)((0,eX.Yj)({typeComment:"Client navigation tree (TraversedDocument) for this OpenAPI description. Matches TraversedDocumentObjectRef in strict schemas."}))},{typeName:"OpenApiExtensionsPartial"}),J=(0,eX.Ry)({openapi:(0,eX.Z_)({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:r,jsonSchemaDialect:(0,eX.jt)((0,eX.Z_)({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,eX.jt)((0,eX.IX)(i,{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,eX.jt)((0,eX.IM)((0,eX.Z_)(),G,{typeComment:"The available paths and operations for the API.",typeName:"PathsObject"})),webhooks:(0,eX.jt)((0,eX.IM)((0,eX.Z_)(),G,{typeComment:"The incoming webhooks that MAY be received as part of this API and that the API consumer MAY choose to implement.",typeName:"WebhooksObject"})),components:(0,eX.jt)(N),security:(0,eX.jt)((0,eX.IX)(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,eX.jt)((0,eX.IX)(l,{typeComment:"A list of tags used by the OpenAPI Description with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools."})),externalDocs:(0,eX.jt)(o)},{typeName:"OpenApiDocumentCore"});return(0,eX.jV)([J,K,tx.rv,eG.gH,tw.U,eK.e,tt.n,te.zR,e1.Q,e0.K,e9.B,e8.q,e2.F,e7.c,e5._],{typeName:"OpenApiDocument",typeComment:"Root OpenAPI 3.1 document including Scalar workspace extensions (OpenApiExtensionsSchema)."})})(e=>(0,eX.G0)([e,(0,eX.jV)([t_,(0,eX.Ry)({"$ref-value":(0,eX.ku)(tE,e)}),tS])])),t$=e=>
222{let{verbose:t=!1}=e??{},n=(e,n)=>t?u(e,n):n(),a=(e,n)=>t?c(e,n):n(),i={},m=t=>{e?.plugins?.forEach(e=>e.hooks?.onWorkspaceStateChanges?.(t))},g=(0,ef.qj)((0,eD.N9)({...e?.meta,documents:{},get activeDocument(){return g.documents[E()]}},{hooks:{onAfterChange(e){let t=e[0];if("documents"===t){if(e.length<2){console.log("[WARN]: Overriding entire documents object is not supported");return}let t=e[1],n=g.documents[t]??{openapi:"3.1.0",info:{title:"",version:""},"x-scalar-original-document-hash":""},r={type:"documents",documentName:t,value:(0,e_.O)(n),path:e.slice(2)};r.path.length>0&&"x-scalar-is-dirty"!==r.path[0]&&(n["x-scalar-is-dirty"]=!0),m(r);return}if("activeDocument"===t){let t=E(),n=g.documents[t]??{openapi:"3.1.0",info:{title:"",version:""},"x-scalar-original-document-hash":""},r={type:"documents",documentName:t,value:(0,e_.O)(n),path:e.slice(2)};r.path.length>0&&"x-scalar-is-dirty"!==r.path[0]&&(n["x-scalar-is-dirty"]=!0),m(r);return}let{activeDocument:n,documents:r,...a}=g;m({type:"meta",value:(0,e_.O)(a,{depth:1})})}}})),{originalDocuments:v,intermediateDocuments:y,overrides:b}=(0,eD.N9)({originalDocuments:{},intermediateDocuments:{},overrides:{}},{hooks:{onAfterChange(e){let t=e[0];if(!t||e.length<2)return;let n=e[1];"originalDocuments"===t&&m({type:t,documentName:n,value:(0,e_.O)(v[n]??{}),path:e.splice(2)}),"intermediateDocuments"===t&&m({type:t,documentName:n,value:(0,e_.O)(y[n]??{}),path:e.splice(2)}),"overrides"===t&&m({type:t,documentName:n,value:(0,e_.O)(b[n]??{})})}}}),O=eA({hooks:{onHistoryChange:e=>{m({type:"history",documentName:e,value:O.export()[e]??{}})}}}),_=(0,eg.C7)({hooks:{onAuthChange:e=>{m({type:"auth",documentName:e,value:_.export()[e]??{secrets:{},selected:{document:{selectedIndex:0,selectedSchemes:[]},path:{}}}})}}});function E(){return g[eW.R.workspace.activeDocument]??Object.keys(g.documents)[0]??""}function T(e,t,n){let r=y[e];return r?"json"===t?n?JSON.stringify(r):JSON.stringify(r,null,2):eh.ZP.stringify(r):void 0}let D=async e=>{let t=g.documents[e],n=await R(e);return t&&n?(y[e]=n,t["x-scalar-is-dirty"]=!1,!0):(console.warn("Failed to save document, active document is missing"),!1)};async function $(t,r){let{name:o,meta:l}=t,s=n("deepClone",()=>(0,eT.I)(t.document));n("initialize",()=>{!1!==t.initialize&&(v[o]=(0,eT.I)(s),y[o]=(0,eT.I)(s),b[o]=t.overrides??{},i[o]={fetch:t.fetch})});let u=n("upgrade",()=>{var e,t;let n;return e=(0,eT.I)(s),t=0,null!==(n=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=x(t,e=>("string"==typeof e.$ref&&e.$ref.startsWith("#/definitions/")&&(e.$ref=e.$ref.replace(/^#\/definitions\//,"#/components/schemas/")),e))),Object.hasOwn(t=x(t,e=>("file"===e.type&&(e.type="string",e.format="binary"),e)),"parameters")){t=x(t,e=>{if("string"==typeof e.$ref&&e.$ref.startsWith("#/parameters/")){let n=e.$ref.split("/")[2];if(!n)return e;let r=t.parameters&&"object"==typeof t.parameters&&n in t.parameters?t.parameters[n]: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={},n={};for(let[r,a]of Object.entries(t.parameters&&"object"==typeof t.parameters?t.parameters:{}))if(a&&"object"==typeof a){if("$ref"in a){let t=U(a);e[r]=t}else if("in"in a){if("body"===a.in)n[r]=L(a,t.consumes??[S]);else if("formData"===a.in)n[r]=Z([a],t.consumes);else{let t=U(a);e[r]=t}}}Object.keys(e).length>0&&(t.components.parameters=e),Object.keys(n).length>0&&(t.components.requestBodies=n),delete t.parameters}if(Object.hasOwn(t,"responses")&&"object"==typeof t.responses&&null!==t.responses){t=x(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[n,r]of Object.entries(t.responses))if(r&&"object"==typeof r){if("$ref"in r)e[n]=r;else{let a=t.produces??[S];if(r.schema){for(let e of("object"!=typeof r.content&&(r.content={}),a))r.content[e]={schema:r.schema};delete r.schema}if(r.examples&&"object"==typeof r.examples){"object"!=typeof r.content&&(r.content={});let e=a[0]??S;for(let[t,n]of Object.entries(r.examples))if(P(t))"object"!=typeof r.content[t]&&(r.content[t]={}),r.content[t].example=n;else{"object"!=typeof r.content[e]&&(r.content[e]={});let a=r.content[e];"object"!=typeof a.examples&&(a.examples={}),a.examples[t]=C(n)}delete r.examples}r.content&&"object"==typeof r.content&&A(r.content),r.headers&&"object"==typeof r.headers&&(r.headers=Object.entries(r.headers).reduce((e,[t,n])=>n&&"object"==typeof n?{[t]:M(n),...e}:e,{})),e[n]=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 n;let 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=B(r.parameters,t.consumes??[S]);r.parameters=e.parameters,n=e.requestBody}else if(Object.hasOwn(r,e)){let a=r[e];if(n&&(a.requestBody=n),a.parameters){let e=B(a.parameters,a.consumes??t.consumes??[S]);a.parameters=e.parameters,e.requestBody&&(a.requestBody=e.requestBody)}if(delete a.consumes,a.responses){for(let e in a.responses)if(Object.hasOwn(a.responses,e)){let n=a.responses[e];if(n.headers&&"object"==typeof n.headers&&(n.headers=Object.entries(n.headers).reduce((e,[t,n])=>n&&"object"==typeof n?{[t]:M(n),...e}:e,{})),n.schema){let e=t.produces??a.produces??[S];for(let t of("object"!=typeof n.content&&(n.content={}),e))n.content[t]={schema:n.schema};delete n.schema}if(n.examples&&"object"==typeof n.examples){"object"!=typeof n.content&&(n.content={});let e=(t.produces??a.produces??[S])[0]??S;for(let[t,r]of Object.entries(n.examples))if(P(t))"object"!=typeof n.content[t]&&(n.content[t]={}),n.content[t].example=r;else{"object"!=typeof n.content[e]&&(n.content[e]={});let a=n.content[e];"object"!=typeof a.examples&&(a.examples={}),a.examples[t]=C(r)}delete n.examples}n.content&&"object"==typeof n.content&&A(n.content)}}delete a.produces,a.parameters?.length===0&&delete a.parameters}}}if(t.securityDefinitions){for(let[e,n]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 n){if("type"in n&&"oauth2"===n.type){let{flow:r,authorizationUrl:a,tokenUrl:i,scopes:o}=n;t.components&&"object"==typeof t.components&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[e]:{type:"oauth2",flows:{[I(r||"implicit")]:Object.assign({},a&&{authorizationUrl:a},i&&{tokenUrl:i},o&&{scopes:o})}}})}else"type"in n&&"basic"===n.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]:n})}delete t.securityDefinitions}return delete t.consumes,delete t.produces,t}
222(e))&&"string"==typeof n.openapi&&n.openapi.startsWith("3.0")?(n.openapi="3.1.1",n=x(n,F)):n}),c=(0,k.z)({...u,...l,"x-original-oas-version":v[o]?.openapi??v[o]?.swagger,"x-scalar-original-document-hash":t.documentHash,"x-scalar-original-source-url":t.documentSource},{showInternal:!0});if(void 0===c[eW.R.document.navigation]){let r=[(0,p.BO)({fetch:i[o]?.fetch??e?.fetch})];e?.fileLoader&&r.push(e.fileLoader),await a("bundle",async()=>await (0,d.g)((0,k.o)(c),{treeShake:!1,plugins:[...r,eQ(),eZ(),eB(),eF(),eH()],urlMap:!0,origin:t.documentSource}));let l=n("coerceValue",()=>em(tC,(0,eT.I)(c)));n("mergeObjects",()=>(0,eP.P)(c,l))}if(!Q.J(tA.DX,c)){let e=Array.from(function(...e){return new eo(3===e.length?es(e[0],e[1],"",e[2]):es(e[0],[],"",e[1]))}(tA.DX,c));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===c[eW.R.document.navigation]){let e=(0,eN.os)(o,c,r);c[eW.R.document.navigation]=e}g.documents[o]=(0,eI.b)((0,k.z)((0,k.o)(c)),{overrides:(0,e_.O)(b[o])})}async function N(t,n){let{name:r,meta:i}=t,l=e$({fetch:t.fetch??e?.fetch,proxyUrl:g["x-scalar-active-proxy"]??void 0}),u=await a("loadDocument",async()=>await tT({...t,fetch:l,fileLoader:e?.fileLoader}));return await a("addDocument",async()=>u.ok?(0,o.K)(u.data)?(await $({...t,document:u.data,documentSource:tD(t),documentHash:(0,s.b)(u.raw)},n),!0):(console.error(`Failed to load document '${r}': response data is not a valid object`),g.documents[r]={...i,openapi:"3.1.0",info:{title:`Document '${r}' could not be loaded`,version:"unknown"},"x-scalar-original-document-hash":"not-a-hash"},!1):(console.error(`Failed to fetch document '${r}': request was not successful`),g.documents[r]={...i,openapi:"3.1.0",info:{title:`Document '${r}' could not be loaded`,version:"unknown"},"x-scalar-original-document-hash":"not-a-hash"},!1))}let R=async e=>{let t=(0,e_.O)(g.documents[e],{depth:1});if(!t)return null;let n=await (0,d.g)((0,eT.I)(t),{plugins:[ez(),eV()],treeShake:!1,urlMap:!0});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"])delete n[e];return n},j=new Set;return{get workspace(){return g},get history(){return O},get auth(){return _},update(e,t){(0,l.E)(e),Object.assign(g,{[e]:t})},getEditableDocument:R,getOriginalDocument:e=>(0,e_.O)(v[e],{depth:1})||null,getIntermediateDocument:e=>(0,e_.O)(y[e],{depth:1})||null,updateDocument(e,t,n){let r=g.documents["active"===e?E():e];return!!r&&((0,l.E)(t),Object.assign(r,{[t]:n}),!0)},async replaceDocument(e,t){let n=g.documents[e];if(!n)return console.error(`Document '${e}' does not exist in the workspace.`);await $({name:e,document:t,documentSource:n["x-scalar-original-source-url"],documentHash:n["x-scalar-original-document-hash"],meta:{"x-scalar-is-dirty":!0,"x-scalar-navigation":void 0},initialize:!1})},resolve:e=>{let t=g.activeDocument,n=r(t,e);return(0,o.K)(n)?(0,d.g)(n,{root:t,treeShake:!1,plugins:[(0,p.BO)(),eL(),eZ()],urlMap:!0,visitedNodes:j}):(console.error(`Invalid path provided for resolution. Path: [${e.join(", ")}]. Found value of type: ${typeof n}. Expected an object.`),Promise.resolve())},addDocument:N,deleteDocument:e=>{if(!g.documents[e])return;delete g.documents[e],delete v[e],delete y[e],delete b[e],delete i[e],O.clearDocumentHistory(e),_.clearDocumentAuth(e);let t=Object.keys(g.documents);g["x-scalar-active-document"]===e&&(g["x-scalar-active-document"]=t[0]??void 0),m({type:"deleteDocument",documentName:e})},exportDocument:T,exportActiveDocument:(e,t)=>T(E(),e,t),buildSidebar:e=>{let t=g.documents[e];if(!t)return console.error(`Document '${e}' does not exist in the workspace.`),!1;let n=(0,eN.os)(e,t);return t[eW.R.document.navigation]=n,!0},saveDocument:D,promoteIntermediateToOriginal:e=>{let t=y[e];if(!t)return!1;let n=(0,eT.I)((0,e_.O)(t,{depth:1}));return v[e]=n,!0},async revertDocumentChanges(e){let t=g.documents[e],n=y[e];t&&n&&await $({name:e,document:n,documentSource:t["x-scalar-original-source-url"],documentHash:t["x-scalar-original-document-hash"],initialize:!1})},commitDocument(e){console.warn(`Commit operation for document '${e}' is not implemented yet.`)},exportWorkspace(){let{activeDocument:e,documents:t,...n}=(0,e_.O)(g);return{documents:{...Object.fromEntries(Object.entries(t).map(([e,t])=>[e,(0,e_.O)(t)]))},meta:(0,e_.O)(n)??{},originalDocuments:(0,e_.O)(v),intermediateDocuments:(0,e_.O)(y),overrides:(0,e_.O)(b),history:O.export(),auth:_.export()}},loadWorkspace(e){(0,eS.v3)(g.documents,Object.fromEntries(Object.entries(e.documents).map(([t,n])=>[t,(0,eI.b)((0,k.z)(n),{overrides:e.overrides[t]})]))),(0,eS.v3)(v,e.originalDocuments),(0,eS.v3)(y,e.intermediateDocuments),(0,eS.v3)(b,e.overrides),(0,eS.v3)(g,e.meta),O.load(e.history),_.load(e.auth)},importWorkspaceFromSpecification:e=>{let{documents:t,overrides:n,info:r,workspace:a,...i}=e;return(0,eS.v3)(g,i),Promise.all(Object.entries(t??{}).map(([e,t])=>N({url:t.$ref,name:e,overrides:n?.[e]})))},rebaseDocument:async t=>{let{name:n}=t,r=(0,e_.O)(v[n],{depth:1}),l=(0,e_.O)(y[n],{depth:1}),u=g.documents[n]?(0,e_.O)(g.documents[n],{depth:1}):void 0;if(!r||!l||!u)return{ok:!1,type:"CORRUPTED_STATE",message:`Cannot rebase document '${n}': missing original, intermediate, or active document state`};let c=await a("loadDocument",async()=>await tT({...t,fetch:t.fetch??e?.fetch,fileLoader:e?.fileLoader}));if(!c.ok||!(0,o.K)(c.data))return{ok:!1,type:"FETCH_FAILED",message:`Failed to fetch document '${n}
222': request was not successful or returned invalid data`};let d=(0,s.b)(c.raw);if(u["x-scalar-original-document-hash"]===d)return{ok:!1,type:"NO_CHANGES_DETECTED",message:`No changes detected for document '${n}': document hash matches the active document`};let p=c.data;b[n]=t.overrides??{},i[n]={fetch:t.fetch};let m=h(r,p);if(0===m.length)return{ok:!1,type:"NO_CHANGES_DETECTED",message:`No changes detected for document '${n}' after fetching the latest version.`};let O=w(m,h(r,l));return{ok:!0,conflicts:O.conflicts,changes:O.diffs,applyChanges:async e=>{let a=(()=>{if("resolvedConflicts"in e){let t=O.diffs.concat(e.resolvedConflicts);return f((0,eT.I)(r),t)}return e.resolvedDocument})();y[n]=a,v[n]=p;let i=w(h(l,a),h(l,u)),o=i.diffs.concat(i.conflicts.flatMap(e=>e[0])),d=(0,eE.a)(tA.DX,f((0,eT.I)(a),o));await $({...t,document:{...d,[eW.R.document.navigation]:void 0},documentSource:tD(t),documentHash:(0,s.b)(c.raw),initialize:!1})}}}}}},90124:function(e,t,n){"use strict";n.d(t,{DH:function(){return O},T8:function(){return g},C7:function(){return _}});var r=n(77067),a=n(72909),i=n(76790),o=n(42660),l=n(51035),s=n(29133),u=n(70699),c=n(39892);let d=(0,o.q)(i.Dy.Object({type:i.Dy.Literal("apiKey")}),s.i7),p=(0,o.q)(i.Dy.Object({type:i.Dy.Literal("http")}),s.i7,s.Ws),m=(0,o.q)(s.GU,s.i7,s.O9),f=i.Dy.Object({implicit:i.Dy.Optional((0,o.q)(m,s.R7)),password:i.Dy.Optional((0,o.q)(m,s.Ws,s.ov,l.E)),clientCredentials:i.Dy.Optional((0,o.q)(m,s.ov,l.E)),authorizationCode:i.Dy.Optional((0,o.q)(m,s.ov,s.R7,l.E))}),h=(0,o.q)(i.Dy.Object({type:i.Dy.Literal("oauth2")}),f),g=i.Dy.Object({type:i.Dy.Literal("openIdConnect"),implicit:i.Dy.Optional((0,o.q)(u.uW,m,s.R7)),password:i.Dy.Optional((0,o.q)(u.Tf,m,s.Ws,s.ov,l.E)),clientCredentials:i.Dy.Optional((0,o.q)(u.Y7,m,s.ov,l.E)),authorizationCode:i.Dy.Optional((0,o.q)(u.JK,m,s.ov,s.R7,l.E))}),v=i.Dy.Union([d,p,h,g]),y=i.Dy.Record(i.Dy.String(),v),b=i.Dy.Object({selectedIndex:i.Dy.Number(),selectedSchemes:i.Dy.Array(c.i1)}),O=i.Dy.Object({secrets:y,selected:i.Dy.Object({document:i.Dy.Optional(b),path:i.Dy.Optional(i.Dy.Record(i.Dy.String(),i.Dy.Record(i.Dy.String(),i.Dy.Optional(b))))})}),w=i.Dy.Record(i.Dy.String(),O);var k=n(28096),x=n(91474),S=n(24725);let _=({hooks:e}={})=>{let t=(0,a.qj)({});return{clearAuthSelectedSchemas:n=>{let a=t[n.documentName];if(!a)return;if("document"===n.type){delete a.selected.document,e?.onAuthChange?.(n.documentName);return}(0,r.E)(n.method),(0,r.E)(n.path);let i=a.selected.path?.[n.path];i&&(delete i[n.method],e?.onAuthChange?.(n.documentName))},getAuthSecrets:(e,n)=>t[e]?.secrets?.[n],setAuthSecrets:(n,r,a)=>{t[n]||={secrets:{},selected:{document:void 0,path:void 0}},t[n].secrets[r]=(0,S.a)(v,a),e?.onAuthChange?.(n)},clearAuthSecrets:(n,r)=>{delete t[n]?.secrets?.[r],e?.onAuthChange?.(n)},getAuthSelectedSchemas:e=>"document"===e.type?t[e.documentName]?.selected?.document:t[e.documentName]?.selected?.path?.[e.path]?.[e.method],setAuthSelectedSchemas:(n,a)=>{t[n.documentName]||={secrets:{},selected:{document:void 0,path:void 0}};let i=t[n.documentName];"document"===n.type?i.selected.document=a:((0,r.E)(n.path),(0,r.E)(n.method),i.selected.path||={},i.selected.path[n.path]||={},i.selected.path[n.path][n.method]=a),e?.onAuthChange?.(n.documentName)},clearDocumentAuth:n=>{delete t[n],e?.onAuthChange?.(n)},load:n=>{(0,k.v3)(t,(0,S.a)(w,n)),Object.keys(n).forEach(t=>{e?.onAuthChange?.(t)})},export:()=>(0,x.O)(t)}}},90568:function(e,t,n){"use strict";n.d(t,{e3:function(){return i}});var r=n(49183),a=n(91474);let i=(e={})=>{let{debug:t=!1}=e,n=new Map,i=[],o=null,{execute:l}=(0,r.D)({delay:328}),s=e=>{let t=n.get(e)??new Set;return n.set(e,t),t},u=()=>{if(0!==i.length){if(t){if(1===i.length){let e=i[0];e&&console.log(`[EventBus] ${e.message}`,...e.args)}else{for(let{message:e,args:t}of(console.groupCollapsed(`[EventBus] ${i.length} operations`),i))console.log(e,...t);console.groupEnd()}}i.length=0,o=null}},c=(e,...n)=>{t&&(i.push({message:e,args:n}),o&&clearTimeout(o),o=setTimeout(u,500))},d=(e,t)=>{let r=n.get(e);r&&(r.delete(t),c(`Removed listener for "${String(e)}" (${r.size} remaining)`),0===r.size&&n.delete(e))},p=(e,t,r)=>{let i=r?.skipUnpackProxy?t:(0,a.O)(t,{depth:5}),o=n.get(e);if(!o||0===o.size){c(`ð No listeners for "${String(e)}"`);return}for(let n of(c(`Emitting "${String(e)}" to ${o.size} listener(s)`,t),Array.from(o)))try{n(i)}catch(t){console.error(`[EventBus] Error in listener for "${String(e)}":`,t)}};return{on:(e,t)=>{let n=s(e);return n.add(t),c(`Added listener for "${String(e)}" (${n.size} total)`),()=>d(e,t)},off:d,emit:(...e)=>{let[t,n,r]=e;if(!r?.debounceKey){p(t,n,r);return}l(`${t}-${r.debounceKey}`,()=>p(t,n,r))}}}},49884:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});let r=(e,t=new WeakMap)=>{if("object"!=typeof e||null===e)return e;if(t.has(e))return t.get(e);let n=Array.isArray(e)?[]:{};return t.set(e,n),Object.keys(e).forEach(a=>{n[a]=r(e[a],t)}
222),n}},91387:function(e,t,n){"use strict";n.d(t,{N9:function(){return o},S7:function(){return s}});var r=n(23899);let a=Symbol("isDetectChangesProxy"),i=Symbol("detectChangesProxyTarget"),o=(e,t,n={proxyCache:new WeakMap,path:[]})=>{if(!(0,r.K)(e)&&!Array.isArray(e))return e;if(n.proxyCache.has(e))return n.proxyCache.get(e);let s=new Proxy(e,{get(e,r,s){if(r===a)return!0;if(r===i)return e;let u=Reflect.get(e,r,s);return l(u)?u:o(u,t,{...n,path:[...n.path,String(r)]})},set(e,r,a,i){let o=[...n.path,String(r)];t?.hooks?.onBeforeChange?.(o,a);let l=Reflect.set(e,r,a,i);return t?.hooks?.onAfterChange?.(o,a),l},deleteProperty(e,r){let a=[...n.path,String(r)];t?.hooks?.onBeforeChange?.(a);let i=Reflect.deleteProperty(e,r);return t?.hooks?.onAfterChange?.(a),i}});return n.proxyCache.set(e,s),s},l=e=>"object"==typeof e&&null!==e&&!0===e[a],s=e=>"object"!=typeof e||null===e?e:e[a]?e[i]:e},28096:function(e,t,n){"use strict";function r(e){return e.startsWith("#")}n.d(t,{Jt:function(){return r},v3:function(){return a}});let a=(e,t)=>{Object.assign(e,t)}},74275:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});let r=e=>e["$ref-value"],a=(e,t=r)=>"object"==typeof e&&null!==e&&"$ref"in e?t(e):e},6598:function(e,t,n){"use strict";n.d(t,{P:function(){return a}});var r=n(99490);let a=(e,t,n=!1,i=new Set)=>{for(let o in t)if(o in e){let l=e[o],s=t[o],u=n&&(Array.isArray(l)||Array.isArray(s));if("object"!=typeof l||null===l||"object"!=typeof s||null===s||u)try{e[o]=s}catch(e){console.warn(`Issue setting ${o} on object`),console.warn(e)}else{let e=(0,r.o)(l),t=(0,r.o)(s);if(i.has(e)||i.has(t))continue;i.add(e),i.add(t),a(l,s,n,i)}}else e[o]=t[o];return e}},10653:function(e,t,n){"use strict";n.d(t,{ay:function(){return s},b:function(){return o}});var r=n(23899);let a=Symbol("isOverridesProxy"),i=Symbol("getOverridesTarget"),o=(e,t,n={cache:new WeakMap})=>{if(!e||"object"!=typeof e)return e;if(n.cache.has(e))return n.cache.get(e);let{overrides:s}=t??{},u=new Proxy(e,{get(e,t,u){if(t===a)return!0;if(t===i)return e;let c=Reflect.get(e,t,u);return l(c)?c:(0,r.K)(c)?o(c,{overrides:Reflect.get(s??{},t)},n):Reflect.get(s??{},t)??c},set:(e,t,n,r)=>t!==a&&t!==i&&(s&&Reflect.has(s,t)&&s&&"object"==typeof s?(s[t]=n,!0):Reflect.set(e,t,n,r))});return n.cache.set(e,u),u},l=e=>"object"==typeof e&&null!==e&&!0===e[a];function s(e){return"object"==typeof e&&null!==e&&e[a]?e[i]:e}},91474:function(e,t,n){"use strict";n.d(t,{O:function(){return l}});var r=n(99490),a=n(72909),i=n(91387),o=n(10653);let l=(e,{depth:t=0}={})=>{let n=(l,s=0)=>
222{if("object"!=typeof l||null===l)return l;let u=(0,i.S7)((0,a.IU)((0,r.o)((0,o.ay)(l))));return null!==t&&s>=t||(0!==s&&u!==l&&(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;",s,"color: #00bfa5; font-weight: bold;","color: inherit;","color: #03a9f4; font-weight: bold;","color: inherit;",l,e),console.groupCollapsed("%c\uD83D\uDCDC Proxy assignment trace","color: #9c27b0; font-weight: bold;"),console.trace({value:l,raw:u}),console.groupEnd()),Object.entries(u).forEach(([e,t])=>{let r=n(t,s+1);Reflect.set(u,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,u)})),u};return n(e)}},83105:function(e,t,n){"use strict";async function r({defaultValue:e,validation:t,transformation:n,maxRetries:r=5}){let i=n?.(e)??e;return await t(i)?i:a({value:[i,1],validation:t,maxRetries:r,transformation:n})}async function a({value:e,validation:t,maxRetries:n,attempts:r=0,transformation:i}){if(r>=n)return;let o=e.join(" "),l=i?.(o)??o;return await t(l)?l:a({value:[e[0],e[1]+1],validation:t,maxRetries:n,transformation:i,attempts:r+1})}n.d(t,{Z:function(){return e9}});var i=n(74275);let o=e=>void 0!==e&&Object.keys(e).length>0;var l=n(6598),s=n(91474);let u=async(e,t,{selectedRequirements:n,newSchemes:a,meta:i})=>{let o=t?.["x-scalar-navigation"]?.name;if(!o)return;let l=(await Promise.all(a.map(async e=>{let n=await r({defaultValue:e.name,validation:e=>!t.components?.securitySchemes?.[e],maxRetries:100});if(n)return t.components||(t.components={}),t.components.securitySchemes||(t.components.securitySchemes={}),t.components.securitySchemes[n]=e.scheme,{[n]:[]}}))).filter(Boolean),s="document"===i.type?e?.auth.getAuthSelectedSchemas({type:"document",documentName:o}):e?.auth.getAuthSelectedSchemas({type:"operation",documentName:o,path:i.path,method:i.method}),u=[...n,...l],c=()=>s?.selectedIndex?s.selectedIndex>=u.length?u.length-1:s.selectedIndex:0;return"document"===i.type?e?.auth.setAuthSelectedSchemas({type:"document",documentName:o},{selectedIndex:c(),selectedSchemes:u}):e?.auth.setAuthSelectedSchemas({type:"operation",documentName:o,path:i.path,method:i.method},{selectedIndex:c(),selectedSchemes:u})},c=(e,t,{meta:n})=>{let r=t?.["x-scalar-navigation"]?.name;return r?"document"===n.type?e?.auth.clearAuthSelectedSchemas({type:"document",documentName:r}):e?.auth.clearAuthSelectedSchemas({type:"operation",documentName:r,path:n.path,method:n.method}):void 0},d=(e,{payload:t,name:n})=>{let r=(0,i.n)(e?.components?.securitySchemes?.[n]);if(!r){console.error(`Security scheme ${n} not found`);return}return r.type===t.type&&(0,l.P)(r,t),r},p=(e,t,{payload:n,name:r,overwrite:a=!1})=>{let i=t?.["x-scalar-navigation"]?.name;if(!i)return;if(a){e?.auth.setAuthSecrets(i,r,n);return}let o=e?.auth.getAuthSecrets(i,r),u=(0,l.P)((0,s.O)(o,{depth:1})??{},n);e?.auth.setAuthSecrets(i,r,u)},m=(e,t,{name:n})=>{let r=t?.["x-scalar-navigation"]?.name;r&&e?.auth.clearAuthSecrets(r,n)},f=(e,t,{index:n,meta:r})=>{let a=t?.["x-scalar-navigation"]?.name;if(!a||"operation"===r.type&&t?.paths?.[r.path]?.[r.method]===void 0)return;let i="document"===r.type?e?.auth.getAuthSelectedSchemas({type:"document",documentName:a}):e?.auth.getAuthSelectedSchemas({type:"operation",documentName:a,path:r.path,method:r.method});if(!i)return"document"===r.type?e?.auth.setAuthSelectedSchemas({type:"document",documentName:a},{selectedIndex:n,selectedSchemes:[]}):e?.auth.setAuthSelectedSchemas({type:"operation",documentName:a,path:r.path,method:r.method},{selectedIndex:n,selectedSchemes:[]});i.selectedIndex=n},h=(e,t,{id:n,name:r,scopes:a,newScopePayload:l,meta:s})=>{let u=t?.["x-scalar-navigation"]?.name;if(!u)return;let c="document"===s.type?e?.auth.getAuthSelectedSchemas({type:"document",documentName:u}):e?.auth.getAuthSelectedSchemas({type:"operation",documentName:u,path:s.path,method:s.method});if(!c)return;let d=c.selectedSchemes.find(e=>JSON.stringify(Object.keys(e))===JSON.stringify(n));if(o(d)){if(l){let e=(0,i.n)(t.components?.securitySchemes?.[r]),n=e?.flows?.[l?.flowType];if(!n)return;n.scopes||={},n.scopes[l.name]=l.description,d[r]=[...a,l.name];return}d[r]=a}},g=(e,t,{names:n})=>{let r=t?.["x-scalar-navigation"]?.name;if(!r)return;let a=(0,i.n)(t.components?.securitySchemes);if(!a)return;
222n.forEach(e=>{delete a[e]});let o=(e,t)=>Math.max(0,Math.min(e,t-1)),l=e=>((0,s.O)(e,{depth:1})??[]).filter(e=>!n.some(t=>Object.keys(e).includes(t))),u=e?.auth.getAuthSelectedSchemas({type:"document",documentName:r});u&&(u.selectedSchemes=l(u.selectedSchemes),u.selectedIndex=o(u.selectedIndex,u.selectedSchemes.length)),t.security&&(t.security=l(t.security)),Object.entries(t.paths??{}).forEach(([t,n])=>{Object.entries(n).forEach(([n,a])=>{if("object"!=typeof a)return;let s=(0,i.n)(a);"security"in s&&s.security&&(s.security=l(s.security));let u=e?.auth.getAuthSelectedSchemas({type:"operation",documentName:r,path:t,method:n});u&&(u.selectedSchemes=l(u.selectedSchemes),u.selectedIndex=o(u.selectedIndex,u.selectedSchemes.length))})})},v=({document:e,store:t})=>({updateSelectedSecuritySchemes:n=>u(t,e,n),clearSelectedSecuritySchemes:n=>c(t,e,n),updateSecurityScheme:t=>d(e,t),updateSecuritySchemeSecrets:n=>p(t,e,n),clearSecuritySchemeSecrets:n=>m(t,e,n),updateSelectedAuthTab:n=>f(t,e,n),updateSelectedScopes:n=>h(t,e,n),deleteSecurityScheme:n=>g(t,e,n)});var y=n(60935),b=n(24725);let O=(e,{payload:t,index:n})=>{if(!e)return;if(e["x-scalar-cookies"]||(e["x-scalar-cookies"]=[]),void 0!==n){if(n<0||n>=e["x-scalar-cookies"].length)return;let r=(0,b.a)(y.yD,{...e["x-scalar-cookies"][n],...t});return e["x-scalar-cookies"][n]=r,r}let r=(0,b.a)(y.yD,t);return e["x-scalar-cookies"].push(r),r},w=(e,{index:t})=>!!e&&!!e["x-scalar-cookies"]&&!(t<0)&&!(t>=e["x-scalar-cookies"].length)&&(e["x-scalar-cookies"].splice(t,1),!0),k=({collection:e})=>({upsertCookie:t=>O(e,t),deleteCookie:t=>w(e,t)}),x=(e,t)=>{e&&(0,l.P)(e,t)},S=(e,t)=>{e&&(e["x-scalar-watch-mode"]=t)},_=(e,t)=>{e&&((0,l.P)(e.info,t),e["x-scalar-navigation"]&&void 0!==t.title&&(e["x-scalar-navigation"].title=t.title?.trim()||"Untitled Document"))},E=(e,t)=>{e&&e["x-scalar-navigation"]&&(e["x-scalar-icon"]=t,e["x-scalar-navigation"].icon=t)},A=async(e,t)=>{if(e){if(e.workspace.documents[t.name]){t.callback?.(!1);return}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)}},T=(e,t)=>{e&&e.deleteDocument(t.name)},D=({document:e,store:t})=>({updateDocumentExtension:t=>x(e,t),updateDocumentInfo:t=>_(e,t),updateWatchMode:t=>S(e,t),updateDocumentIcon:t=>E(e,t),createEmptyDocument:e=>A(t,e),deleteDocument:e=>T(t,e)});var C=n(81435);let $=(e,t,{environmentName:n,payload:r,oldEnvironmentName:a})=>{if(!t||!e)return;t["x-scalar-environments"]||(t["x-scalar-environments"]={});let i=!t["x-scalar-environments"][a??n],o=(0,b.a)(C.pW,{...(0,s.O)(t["x-scalar-environments"][a??n],{depth:1}),...r});return t["x-scalar-environments"][n]=o,a&&a!==n&&(delete t["x-scalar-environments"][a],e["x-scalar-active-environment"]===a&&(e["x-scalar-active-environment"]=n)),i&&(e["x-scalar-active-environment"]=n),o},P=(e,t,{environmentName:n})=>{t&&e&&delete t["x-scalar-environments"]?.[n]},I=(e,{environmentName:t,variable:n,index:r})=>{if(!e?.["x-scalar-environments"]?.[t]){console.error("Environment not found",t);return}let a=(0,b.a)(C.Lq,n);if(void 0!==r){if(""===a.name){e["x-scalar-environments"][t].variables.splice(r,1);return}e["x-scalar-environments"][t].variables[r]=a}else e["x-scalar-environments"][t].variables.push(a);return a},N=(e,{environmentName:t,index:n})=>{if(!e?.["x-scalar-environments"]?.[t]){console.error("Environment not found",t);return}e["x-scalar-environments"]?.[t]?.variables?.splice(n,1)},U=({workspace:e,collection:t})=>({upsertEnvironment:n=>$(e,t,n),deleteEnvironment:n=>P(e,t,n),upsertEnvironmentVariable:e=>I(t,e),deleteEnvironmentVariable:e=>N(t,e)}),M=(e,t)=>e&&e.workspace.documents[t]||null,R=(e,t,n)=>{let r=(0,i.n)(e?.paths?.[n.path]?.[n.method]);if(!r)return null;let a=(0,i.n)(r.requestBody);return a||(r.requestBody={content:{}},a=(0,i.n)(r.requestBody)),a.content[t]||={},a.content[t].examples||={},a.content[t].examples[n.exampleKey]||={},(0,i.n)(a.content[t].examples?.[n.exampleKey])??null},j=(e,{meta:t,payload:n})=>{if(!e)return;let r=(0,i.n)(e.paths?.[t.path]?.[t.method]);if(!r)return;let a=(0,i.n)(r.requestBody);a||(r.requestBody={content:{}},a=(0,i.n)(r.requestBody)),a["x-scalar-selected-content-type"]||(a["x-scalar-selected-content-type"]={}),a["x-scalar-selected-content-type"][t.exampleKey]=n.contentType},L=(e,{meta:t,payload:n,contentType:r})=>{let a=R(e,r,t);if(!a){console.error("Example not found",t.exampleKey);return}a.value=n},Z=(e,{meta:t,payload:n,contentType:r})=>{let a=R(e,r,t);if(!a){console.error("Example not found",t.exampleKey);return}a.value=(0,s.O)(n,{depth:3})},B=(e,{meta:t,payload:n})=>{let r=(0,i.n)(e?.paths?.[t.path]?.[t.method]);r&&(0,l.P)(r,n)};var z=n(45698);let F=async({requestPayload:e,includeBody:t=!0,httpVersion:n="HTTP/1.1",bodySizeLimit:r=1048576})=>
222{let[a,i]=e,o=Array.from(new URL(a).searchParams.entries()).map(([e,t])=>({name:e,value:t})),l=new Headers(i.headers),s=l.get("content-type")?.split(";")[0]?.trim()??"text/plain",{headers:u,headersSize:c,cookies:d}=V(l),p=await (async()=>{if(t&&null!=i.body){let e=await Q(i.body,s);if(e.size<=r)return e}return{text:"",size:-1}})();return{method:i.method??"GET",url:a,httpVersion:n,headers:u,cookies:d,queryString:o,headersSize:c,bodySize:p.size,postData:"params"in p?{mimeType:s,params:p.params}:{mimeType:s,text:p.text}}},Q=async(e,t)=>{if(e instanceof FormData)return H(e);if(e instanceof URLSearchParams)return q(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}},H=e=>Array.from(e.entries()).reduce((e,[t,n])=>{if(n instanceof File){let r=`@${n.name}`;return e.params.push({name:t,value:r}),e.size+=r.length,e}return e.params.push({name:t,value:n}),e.size+=n.length,e},{params:[],size:0}),q=e=>Array.from(e.entries()).reduce((e,[t,n])=>(e.params.push({name:t,value:n}),e.size+=t.length+n.length,e),{params:[],size:0}),V=e=>Array.from(e.entries()).reduce((e,[t,n])=>{if("cookie"===t.toLowerCase()){let t=W(n);e.cookies.push(...t.cookies)}else e.headers.push({name:t,value:n}),e.headersSize+=t.length+2+n.length+2;return e},{headers:[],headersSize:0,cookies:[]}),W=e=>e.split(";").reduce((e,t)=>{let n=t.trim(),r=n.indexOf("=");if(-1===r)return e;let a=n.substring(0,r).trim(),i=n.substring(r+1).trim();return e.cookies.push({name:a,value:i}),e.size+=a.length+2+i.length+2,e},{cookies:[],size:0}),X=async({response:e,includeBody:t=!0,httpVersion:n="HTTP/1.1",bodySizeLimit:r=1048576})=>{let{headers:a,headersSize:i,cookies:o}=Y(e),l=e.headers.get("location")||"",s=e.headers.get("content-type")??"text/plain",u=await (async()=>{if(t&&e.body){let t=await G(e.clone());if(t.size<=r)return t}return{text:"",size:-1,encoding:void 0}})();return{status:e.status,statusText:e.statusText,httpVersion:n,headers:a,cookies:o,content:{size:u.size,mimeType:s,text:u.text,encoding:u.encoding},redirectURL:l,headersSize:i,bodySize:u.size}},Y=e=>Array.from(e.headers.entries()).reduce((e,[t,n])=>{if(e.headers.push({name:t,value:n}),e.headersSize+=t.length+2+n.length+2,"set-cookie"===t.toLowerCase()){let t=J(n);t&&e.cookies.push(t)}return e},{headers:[],headersSize:0,cookies:[]}),G=async e=>{let t=e.headers.get("content-type");if(!t||!K(t))return{text:"",size:-1,encoding:void 0};try{let t=await e.arrayBuffer(),n=t.byteLength;return{text:new TextDecoder("utf-8").decode(t),size:n,encoding:void 0}}catch{return{text:"",size:-1,encoding:void 0}}},K=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"))},J=e=>{let t=e.split(";");if(0===t.length||!t[0])return null;let n=t[0].trim(),r=n.indexOf("=");return -1===r?null:{name:n.substring(0,r).trim(),value:n.substring(r+1).trim()}},ee=(e,t,n)=>{e.forEach(e=>{let r=(0,i.n)(e);(0,z.A9)(r)||(en((0,i.n)(e),n,!0),"path"===r.in&&(r.examples||={},r.examples[n]={value:t[r.name]??"","x-disabled":!1}))})},et=({harRequest:e,exampleKey:t,baseOperation:n={},pathVariables:r={}})=>{if(n.parameters||(n.parameters=[]),ee(n.parameters,r,t),e.queryString&&e.queryString.length>0)for(let r of e.queryString){let e=er(n.parameters,r.name,"query");!e||(0,z.A9)(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=er(n.parameters,r.name,"header");!e||(0,z.A9)(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=er(n.parameters,r.name,"cookie");!e||(0,z.A9)(e)||(e.examples||={},e.examples[t]={value:r.value,"x-disabled":!1})}if(e.postData){let r;let{mimeType:a,text:o,params:l}=e.postData;n.requestBody||(n.requestBody={content:{}});let s=(0,i.n)(n.requestBody);s.content[a]||(s.content[a]={schema:{type:"object"}});let u=s.content[a];if(!u)return n;if(u.examples||={},l&&l.length>0)for(let e of(r=[],l))r.push({name:e.name,value:e.value,"x-disabled":!1});else r=o;u.examples[t]={value:r,"x-disabled":!1},s["x-scalar-selected-content-type"]||={},s["x-scalar-selected-content-type"][t]=a}return n},en=(e,t,n)=>{!(0,z.A9)(e)&&e.examples?.[t]&&((0,i.n)(e.examples[t])["x-disabled"]=n)},er=(e,t,n)=>{for(let r of e){let e=(0,i.n)(r);if(!(0,z.A9)(e)&&e.in===n&&("header"===n?e.name.toLowerCase()===t.toLowerCase():e.name===t))return e}let r={name:t,in:n,schema:{type:"string"}};return e.push(r),r},ea=async(e,t,{payload:n,meta:r})=>{let a=t?.["x-scalar-navigation"]?.name;if(!t||!a||!n)return;let o=(0,i.n)(t.paths?.[r.path]?.[r.method]);if(!o)return;let l=(o.parameters??[]).reduce((e,t)=>
222{let n=(0,i.n)(t);return(0,z.A9)(n)||"path"===n.in&&(e[n.name]=i.n(n.examples?.[r.exampleKey])?.value??""),e},{}),s=await F({requestPayload:n.requestPayload}),u=await X({response:n.response});e?.history.addHistory(a,r.path,r.method,{response:u,request:s,meta:{example:r.exampleKey},time:n.duration,timestamp:n.timestamp,requestMetadata:{variables:l}})},ei=(e,t,{meta:n,index:r,callback:a})=>{if(!t){console.error("Document not found",n.path,n.method);return}let o=(0,i.n)(t.paths?.[n.path]?.[n.method]);if(!o){console.error("Operation not found",n.path,n.method);return}let l=e?.history.getHistory(t["x-scalar-navigation"]?.name??"",n.path,n.method)?.[r];if(!l){console.error("History item not found",r);return}et({harRequest:l.request,exampleKey:"draft",baseOperation:o,pathVariables:l.requestMetadata.variables}),a("success")};var eo=n(60562),el=n(77067),es=n(21706),eu=n(15028),ec=n(4763),ed=n(95494),ep=n(63462);let em=e=>"document"===e.type||"tag"===e.type||"operation"===e.type,ef=({store:e,entry:t})=>{let n=(0,ep.M)("document",t);if(!n)return null;let r=e.workspace.documents[n.name];return r?"document"===t.type?r:"tag"===t.type?r.tags?.find(e=>e.name===t.name)??null:"operation"===t.type?(0,i.n)(r.paths?.[t.path]?.[t.method])??null:null:null},eh=({store:e,generateId:t,...n})=>{n.entries?.forEach(r=>{if(!em(r.parent))return;let a=ef({store:e,entry:r.parent});if(!a||!("x-scalar-order"in a))return;let i=a["x-scalar-order"],o=i?.indexOf(r.id);if(!Array.isArray(i)||"number"!=typeof o||o<0)return;if("tag"in n){let a=r.id,l=t({type:"tag",parentId:r.parent.id,tag:n.tag});if(i[o]=l,a!==l){let t=ep.M("document",r),i=t?e.workspace.documents[t.name]:null,o=i?.tags?.find(e=>e.name===n.tag.name),s=o?.["x-scalar-order"];if(o&&Array.isArray(s)){let e=`${a}/`,t=`${l}/`;o["x-scalar-order"]=s.map(n=>n.startsWith(e)?t+n.slice(e.length):n)}}return}let l="tag"===r.parent.type&&"name"in a?{tag:a,id:r.parent.id}:void 0;i[o]=t({type:"operation",path:n.path,method:n.method,operation:n.operation,parentId:r.parent.id,parentTag:l})})},eg=(e,t)=>{let n=e?.workspace.documents[t.documentName];if(!n){t.callback?.(!1);return}let{path:r,method:a,operation:o}=t,l=r.startsWith("/")?r:`/${r}`;n.paths||(n.paths={}),n.paths[l]||(n.paths[l]={}),(0,el.E)(l),(0,el.E)(a),n.paths[l][a]=o;let{servers:u}=o,c=(0,s.O)(u?.[0]);for(let e of u??[])n.servers?.some(t=>t.url===e.url)||(n.servers||(n.servers=[]),n.servers.push((0,s.O)(e)));c&&(n["x-scalar-selected-server"]=c.url);let d=o.parameters,p=(0,eu.I)(l,l,d??[],i.n);return(void 0!==d||p.length>0)&&(o.parameters=p),t.callback?.(!0),l},ev=(e,t,{meta:n,payload:r})=>{if(!t||!e)return;let a=t["x-scalar-navigation"]?.name;if(void 0===a)return;let o=(0,i.n)(t.paths?.[n.path]?.[n.method]);if(!o){console.error("Operation not found",{meta:n,document:t});return}Object.assign(o,r),e.buildSidebar(a)},ey=(e,t,{meta:n,payload:{method:r,path:a},blurTargetSelector:o,callback:l})=>{let u=n.method!==r,c=n.path!==a;if(!u&&!c){l("no-change",o);return}let d=u?r:n.method,p=c?a:n.path;if(e?.paths?.[p]?.[d]){l("conflict",o);return}let m=e?.["x-scalar-navigation"];if(!m||!t){console.error("Document or workspace not found",{document:e});return}let f=(0,i.n)(e.paths?.[n.path]?.[n.method]);if(!f){console.error("Operation not found",{meta:n,document:e});return}if(c){let e=(0,es.S)(n.path,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),t=(0,es.S)(p,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e);if(e.length>0||t.length>0){let e=f.parameters??[],t=(0,eu.I)(p,n.path,e,i.n);f.parameters=t}}let{generateId:h}=(0,ed.g)(m.name),g=(0,ec.$2)(m).get(`${n.path}|${n.method}`);g&&eh({store:t,operation:f,generateId:h,method:d,path:p,entries:g}),e.paths||(e.paths={}),e.paths[p]||(e.paths[p]={}),(0,el.E)(p),(0,el.E)(n.path),(0,el.E)(d),e.paths[p][d]=(0,s.O)(f);let v=e.paths[n.path];v&&(0,eo.u)(n.method)&&(delete v[n.method],0===Object.keys(v).length&&delete e.paths[n.path]),t.history.clearOperationHistory(e["x-scalar-navigation"]?.name??"",n.path,n.method),l("success",o)},eb=(e,{meta:t,documentName:n})=>{let r=e?.workspace.documents[n];r&&((0,el.E)(t.path),(0,el.E)(t.method),delete r.paths?.[t.path]?.[t.method],0===Object.keys(r.paths?.[t.path]??{}).length&&delete r.paths?.[t.path])},eO=(e,{meta:{path:t,method:n},documentName:r,exampleName:a})=>{let o=e?.workspace.documents[r];if(!o){console.error("Document not found",{documentName:r});return}let l=(0,i.n)(o.paths?.[t]?.[n]);if(!l){console.error("Operation not found",{path:t,method:n});return}l["x-draft-examples"]??=[];let s=new Set(l["x-draft-examples"]);s.add(a),l["x-draft-examples"]=Array.from(s)},ew=(e,{meta:{path:t,method:n,exampleKey:r},documentName:a})=>{let o=e?.workspace.documents[a];if(!o)return;let l=(0,i.n)(o.paths?.[t]?.[n]);if(!l)return;let s=new Set(l["x-draft-examples"]??[]);s.delete(r),void 0!==l["x-draft-examples"]&&(l["x-draft-examples"]=Array.from(s)),l.parameters?.forEach(e
222=>{let t=i.n(e);"content"in t&&t.content&&Object.values(t.content).forEach(e=>{delete e.examples?.[r]}),"examples"in t&&t.examples&&delete t.examples?.[r]});let u=(0,i.n)(l.requestBody);u&&Object.values(u.content??{}).forEach(e=>{delete e.examples?.[r]})},ek=(e,{meta:{path:t,method:n,exampleKey:r},documentName:a,payload:o})=>{let l=e?.workspace.documents[a];if(!l)return;let u=(0,i.n)(l.paths?.[t]?.[n]);if(!u)return;let c=o.name.trim();if(!c||c===r)return;(0,el.E)(c);let d=[];u.parameters?.forEach(e=>{let t=i.n(e);"examples"in t&&t.examples&&d.push(t.examples),"content"in t&&t.content&&Object.values(t.content).forEach(e=>{e.examples&&d.push(e.examples)})});let p=(0,i.n)(u.requestBody);p&&(Object.values(p.content??{}).forEach(e=>{e.examples&&d.push(e.examples)}),p["x-scalar-selected-content-type"]&&d.push(p["x-scalar-selected-content-type"])),u["x-draft-examples"]?.includes(c)||d.some(e=>Object.hasOwn(e,c))||(u["x-draft-examples"]&&(u["x-draft-examples"]=u["x-draft-examples"].map(e=>e===r?c:e)),d.forEach(e=>{Object.hasOwn(e,r)&&(e[c]=(0,s.O)(e[r]),delete e[r])}))},ex=(e,{meta:t,type:n,payload:r,originalParameter:a})=>{if(a){a.name=r.name,a.examples||(a.examples={}),a.examples[t.exampleKey]||(a.examples[t.exampleKey]={});let e=(0,i.n)(a.examples[t.exampleKey]);e.value=r.value,e["x-disabled"]=r.isDisabled;return}let o=(0,i.n)(e?.paths?.[t.path]?.[t.method]);if(!o){console.error("Operation not found",{meta:t,document:e});return}o.parameters||=[],o.parameters.push({name:r.name,in:n,required:"path"===n,examples:{[t.exampleKey]:{value:r.value,"x-disabled":!1}}})},eS=(e,{type:t,meta:n,payload:r,in:a})=>{if(!e)return;let o=(0,i.n)(e.paths?.[n.path]?.[n.method]);if(!o)return;o["x-scalar-disable-parameters"]||(o["x-scalar-disable-parameters"]={});let l={global:{cookie:"global-cookies"},default:{header:"default-headers"}}[t]?.[a];l&&(o["x-scalar-disable-parameters"][l]||(o["x-scalar-disable-parameters"][l]={}),o["x-scalar-disable-parameters"][l][n.exampleKey]={...o["x-scalar-disable-parameters"][l][n.exampleKey]??{},[n.name]:r.isDisabled??!1})},e_=(e,{meta:t,originalParameter:n})=>{let r=(0,i.n)(e?.paths?.[t.path]?.[t.method]),a=r?.parameters?.findIndex(e=>i.n(e)===n)??-1;if(r&&a>=0){r.parameters=(0,s.O)(r.parameters?.filter((e,t)=>t!==a),{depth:1});return}let o=(0,i.n)(e?.paths?.[t.path]),l=o?.parameters?.findIndex(e=>i.n(e)===n)??-1;o&&l>=0&&(o.parameters=(0,s.O)(o.parameters?.filter((e,t)=>t!==l),{depth:1}))},eE=(e,{meta:t,type:n})=>{if(!e)return;let r=(0,i.n)(e.paths?.[t.path]?.[t.method]);r&&(r.parameters=r.parameters?.filter(e=>i.n(e).in!==n)??[])},eA=({document:e,store:t})=>({createOperation:e=>eg(t,e),updateOperationMeta:n=>ev(t,e,n),updateOperationPathMethod:n=>ey(e,t,n),deleteOperation:e=>eb(t,e),createOperationDraftExample:e=>eO(t,e),deleteOperationExample:e=>ew(t,e),renameOperationExample:e=>ek(t,e),updateOperationExtension:t=>B(e,t),updateOperationExtraParameters:t=>eS(e,t),upsertOperationParameter:t=>ex(e,t),deleteOperationParameter:t=>e_(e,t),deleteAllOperationParameters:t=>eE(e,t),updateOperationRequestBodyContentType:t=>j(e,t),updateOperationRequestBodyExample:t=>L(e,t),updateOperationRequestBodyFormValue:t=>Z(e,t),addResponseToHistory:n=>ea(t,e,n),reloadOperationHistory:n=>ei(t,e,n)});var eT=n(39892);let eD=(e,t)=>e?"document"===t.type?e:(0,i.n)(e.paths?.[t.path]?.[t.method])??null:null,eC=(e,{meta:t})=>{let n=eD(e,t);if(!n){console.error("Target not found",t);return}return n.servers=[],n.servers},e$=(e,{url:t,select:n,meta:r})=>{let a=eD(e,r);if(!a){console.error("Target not found",r);return}let i=(0,b.a)(eT.zB,{url:t});return a.servers||(a.servers=[]),a.servers.push(i),n&&(a["x-scalar-selected-server"]=i.url),i},eP=(e,t)=>{let n={};for(let r of t){let t=e.indexOf(`{${r}}`);-1!==t&&(n[r]=t)}return n},eI=(e,t,n)=>{let r=(0,es.S)(t,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),a=(0,es.S)(e,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),i=eP(t,r),o=eP(e,a),l=new Set,s={};for(let e of a){if(n[e]){s[e]=n[e],l.add(e);continue}let t=o[e],a=r.find(e=>i[e]===t&&!l.has(e));if(a&&n[a]){s[e]=n[a],l.add(a);continue}s[e]={default:""}}return s},eN=(e,{index:t,server:n,meta:r})=>{let a=eD(e,r);if(!a)return;let i=(0,s.O)(a.servers?.[t],{depth:1});if(!i){console.error("Server not found at index:",t);return}let o=i.url,l=(0,b.a)(eT.zB,{...i,...n});if(o&&o!==l.url){let e=l.variables??{};l.variables=eI(l.url,o,e),a["x-scalar-selected-server"]===o&&(a["x-scalar-selected-server"]=l.url)}return a.servers?a.servers[t]=l:a.servers=[l],l},eU=(e,{index:t,meta:n})=>{let r=eD(e,n);if(!r?.servers)return;let a=r.servers[t]?.url;r.servers.splice(t,1),r["x-scalar-selected-server"]===a&&(r["x-scalar-selected-server"]=r.servers[0]?.url??void 0)},eM=(e,{meta:t})=>{let n=eD(e,t);n&&(n.servers=void 0,n["x-scalar-selected-server"]=void 0)},eR=(e,{index:t,key:n,value:r,meta:a})=>
222{let i=eD(e,a),o=i?.servers?.[t]?.variables?.[n];if(!o){console.error("Variable not found",n,t);return}return o.default=r,o},ej=(e,{url:t,meta:n})=>{let r=eD(e,n);return r?""===t?(r["x-scalar-selected-server"]="",""):(r["x-scalar-selected-server"]=r["x-scalar-selected-server"]===t?"":t,r["x-scalar-selected-server"]):void 0},eL=({document:e})=>({initializeServers:t=>eC(e,t),addServer:t=>e$(e,t),updateServer:t=>eN(e,t),deleteServer:t=>eU(e,t),clearServers:t=>eM(e,t),updateServerVariables:t=>eR(e,t),updateSelectedServer:t=>ej(e,t)}),eZ=e=>null!==e&&void 0!==e["x-scalar-tabs"],eB=e=>(0,s.O)(e["x-scalar-tabs"],{depth:1}),ez=e=>e["x-scalar-active-tab"]??0,eF=(e,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"]))},eQ=(e,t)=>{if(!eZ(e))return!1;let n=eB(e),r=n[ez(e)];if(!r)return!1;let a=[...n,{...r}];return e["x-scalar-tabs"]=a,e["x-scalar-active-tab"]=a.length-1,!0},eH=(e,t)=>{if(!eZ(e))return!1;let n="event"in t?t.event.code.startsWith("Digit")?Number.parseInt(t.event.key,10)-1:Number.NaN:t.index,r=ez(e),a=eB(e).filter((e,t)=>t!==n);if(a.length<=0)return!1;e["x-scalar-tabs"]=a;let i=n<r?r-1:Math.min(r,a.length-1);return e["x-scalar-active-tab"]=i,!0},eq=(e,t)=>{if(!eZ(e))return!1;let n=eB(e);return!(n.length<=1)&&(e["x-scalar-tabs"]=n.filter((e,n)=>n===t.index),e["x-scalar-active-tab"]=0,!0)},eV=(e,t)=>{if(!eZ(e))return!1;let n=ez(e);return!(n<=0)&&(e["x-scalar-active-tab"]=n-1,!0)},eW=(e,t)=>{if(!eZ(e))return!1;let n=eB(e),r=ez(e);return!(r>=n.length-1)&&(e["x-scalar-active-tab"]=r+1,!0)},eX=(e,t)=>{if(!eZ(e))return!1;let n=eB(e),r="event"in t?t.event.code.startsWith("Digit")?Number.parseInt(t.event.key,10)-1:Number.NaN:t.index;return!Number.isNaN(r)&&!(r<0)&&!(r>=n.length)&&(e["x-scalar-active-tab"]=r,!0)},eY=(e,t)=>{if(!eZ(e))return!1;let n=eB(e);return!(n.length<=1)&&(e["x-scalar-active-tab"]=n.length-1,!0)},eG=({workspace:e})=>({updateTabs:t=>eF(e,t),addTab:t=>eQ(e,t),closeTab:t=>eH(e,t),closeOtherTabs:t=>eq(e,t),navigatePreviousTab:t=>eV(e,t),navigateNextTab:t=>eW(e,t),focusTab:t=>eX(e,t),focusLastTab:t=>eY(e,t)}),eK=e=>{let t=new Map,n=(e,n)=>{let r=t.get(e);r?r.push(n):t.set(e,[n])},r=(e,t)=>{if(e)for(let a of e)"tag"===a.type?(n(a.name,{...a,parent:t}),r(a.children,{...a,parent:t})):"children"in a&&a.children&&r(a.children,{...a,parent:t})};return r(e.children,e),t},eJ=(e,t)=>{let n=e?.workspace.documents[t.documentName];if(!n){console.error("Document not found",{payload:t,store:e});return}n.tags||(n.tags=[]),n.tags.push({name:t.name})},e0=(e,t)=>{let n=e?.workspace.documents[t.documentName],r=n?.["x-scalar-navigation"];if(!n||!r){console.error("Document not found",{payload:t,store:e});return}let a=t.tag.name,o=t.newName;if(n.tags?.length&&(n.tags=n.tags.map(e=>{let t=(0,s.O)(e);return t.name===a?{...t,name:o}:t})),t.tag.children?.forEach(e=>{if("operation"===e.type){let t=i.n(n.paths?.[e.path]?.[e.method]);if(t&&"tags"in t){let e=s.O(t.tags,{depth:null});t.tags=e?.map(e=>e===a?o:e)}}else if("webhook"===e.type){let t=i.n(n.webhooks?.[e.name]?.[e.method]);if(t&&"tags"in t){let e=s.O(t.tags,{depth:null});t.tags=e?.map(e=>e===a?o:e)}}}),n["x-tagGroups"]){let e=(0,s.O)(n["x-tagGroups"],{depth:null});n["x-tagGroups"]=e.map(e=>({...e,tags:e.tags.map(e=>e===a?o:e)}))}let{generateId:l}=(0,ed.g)(r.name),u=eK(r).get(a);u&&eh({store:e,tag:{name:o},generateId:l,entries:u})},e1=(e,t)=>{let n=e?.workspace.documents[t.documentName];if(!n)return;Object.values(n.paths??{}).forEach(e=>{Object.values(e).forEach(e=>{if("object"!=typeof e||Array.isArray(e))return;let n=(0,i.n)(e);if("tags"in n){let e=(0,s.O)(n.tags,{depth:1});n.tags=e?.filter(e=>e!==t.name)}})}),Object.values(n.webhooks??{}).forEach(e=>{Object.values(e).forEach(e=>{if("object"!=typeof e||Array.isArray(e))return;let n=(0,i.n)(e),r=(0,s.O)(n.tags,{depth:1});n.tags=r?.filter(e=>e!==t.name)})});let r=(0,s.O)(n.tags,{depth:null});n.tags=r?.filter(e=>e.name!==t.name)},e2=({store:e})=>({createTag:t=>eJ(e,t),editTag:t=>e0(e,t),deleteTag:t=>e1(e,t)}),e4=(e,t)=>{e&&(e["x-scalar-active-proxy"]=t)},e8=(e,t)=>
222{e&&(e["x-scalar-color-mode"]=t)},e6=(e,t)=>{e&&(e["x-scalar-theme"]=t)},e3=(e,t)=>{e&&(e["x-scalar-active-environment"]=t??void 0)},e5=(e,t)=>{e&&(e["x-scalar-default-client"]=t)},e7=({workspace:e})=>({updateActiveProxy:t=>e4(e,t),updateColorMode:t=>e8(e,t),updateTheme:t=>e6(e,t),updateSelectedClient:t=>e5(e,t),updateActiveEnvironment:t=>e3(e,t)});function e9(e){let t=t=>({auth:v({store:e,document:t}),cookie:k({collection:t}),document:D({document:t,store:e}),operation:eA({document:t,store:e}),server:eL({document:t}),tag:e2({store:e}),environment:U({workspace:e?.workspace??null,collection:t})}),n=()=>({cookie:k({collection:e?.workspace??null}),tabs:eG({workspace:e?.workspace??null}),workspace:e7({workspace:e?.workspace??null}),environment:U({workspace:e?.workspace??null,collection:e?.workspace??null})});return{workspace:()=>n(),active:()=>t(e?.workspace.activeDocument??null),doc:n=>t(M(e,n))}}},15028:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r=n(21706),a=n(91474);let i=(e,t)=>{let n={};for(let r of t){let t=e.indexOf(`{${r}}`);-1!==t&&(n[r]=t)}return n},o=(e,t,n,o)=>{let l=(0,r.S)(t,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),s=(0,r.S)(e,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),u=i(t,l),c=i(e,s),d=Object.create(null);for(let e of n){let t=o(e);t?.in==="path"&&(d[t.name]=e)}let p=new Set,m=new Set,f=[];for(let e of s){if(d[e]){p.add(e),m.add(d[e]);continue}let t=c[e],n=l.find(e=>u[e]===t&&!p.has(e));if(n&&void 0!==d[n]){let t=d[n];t&&(o(t).name=e,m.add(t)),p.add(n);continue}f.push({in:"path",name:e})}let h=[];for(let e of n){let t=o(e),n=(0,a.O)(e,{depth:1});if(t?.in!=="path"){h.push(n);continue}m.has(e)&&h.push(n)}return h.concat(f)}},95494:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(98144);let a=(e,t)=>{let n=a=>{let i=`${(0,r.o)(e)}`;if("text"===a.type)return t?.generateHeadingSlug?t?.generateHeadingSlug({slug:a.slug}):a.slug?`${i}/description/${a.slug}`:`${i}/`;if("tag"===a.type){let e=a.isGroup?"tag-group":"tag";return t?.generateTagSlug?`${i}/${e}/${t.generateTagSlug(a.tag)}`:`${i}/${e}/${(0,r.o)(a.tag.name??"")}`}if("operation"===a.type){let e=a.parentTag?`${n({type:"tag",tag:a.parentTag.tag,parentId:a.parentTag.id})}/`:`${i}/`;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?`${n({type:"tag",parentId:a.parentTag.id,tag:a.parentTag.tag})}/`:`${i}/`;return t?.generateWebhookSlug?`${e}webhook/${t.generateWebhookSlug({name:a.name,method:a.method?.toUpperCase()})}`:`${e}webhook/${a.method?.toUpperCase()}/${(0,r.o)(a.name)}`}if("model"===a.type){if(!a.name)return`${i}/models`;let e=a.parentTag?`${n({type:"tag",parentId:a.parentTag.id,tag:a.parentTag.tag})}/`:`${i}/`;return t?.generateModelSlug?`${e}model/${t.generateModelSlug({name:a.name})}`:`${e}model/${(0,r.o)(a.name,!0)}`}return"example"===a.type?`${a.parentId}/example/${(0,r.o)(a.name)}`:"document"===a.type?i:(console.warn("[WARNING]: unhandled id generation for navigation item:",a),"unknown-id")};return{hideModels:t?.hideModels??!1,operationsSorter:t?.operationsSorter,tagsSorter:t?.tagsSorter,generateId:n}}},63462:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});let r=(e,t)=>t?t.type===e?t:r(e,t.parent):void 0},4763:function(e,t,n){"use strict";n.d(t,{os:function(){return I},$2:function(){return r},M4:function(){return a.M}});let r=e=>{let t=new Map,n=(e,n)=>{let r=t.get(e);r?r.push(n):t.set(e,[n])},r=(e,t)=>{if(e)for(let a of e)"operation"===a.type?n(`${a.path}|${a.method}`,{...a,parent:t}):"webhook"===a.type?n(`${a.name}|${a.method}`,{...a,parent:t}):"children"in a&&a.children&&r(a.children,{...a,parent:t})};return r(e.children,e),t};var a=n(63462),i=n(91474),o=n(95494);function l(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 s=n(98144);let u=(e,t)=>
222e.map(e=>({...e,slug:t.slug(e.value)})),c=e=>{let t=Math.min(...e.map(e=>e.depth));return t>=1&&t<=6?t:1},d="Introduction",p=(e,t,n)=>({id:e({type:"text",depth:1,slug:"introduction",parentId:t,info:n,value:d}),title:d,type:"text"}),m=({generateId:e,parentId:t,info:n})=>{let r=n.description?.trim();if(!r)return[p(e,t,n)];let a=function(e){let t=new s.Z;return u(function(e){let t=e.split(/\r?\n/),n=[],r=!1,a="",i=0;for(let e=0;e<t.length;e++){let o=t[e]??"",s=o.trimStart();if(r){let e=/^(`{3,}|~{3,})\s*$/.exec(s)?.[1];e&&e[0]===a&&e.length>=i&&(r=!1);continue}{let e=/^(`{3,}|~{3,})/.exec(s)?.[1];if(e){r=!0,a=e.charAt(0),i=e.length;continue}}if(/^(?: {4}|\t)/.test(o))continue;let u=/^(#{1,6})\s+(.+?)(?:\s+#+\s*)?$/.exec(s),c=u?.[1],d=u?.[2];if(c&&d){let e=l(d);e&&n.push({depth:c.length,value:e});continue}let p=t[e+1];if(!p||/^(?: {4}|\t)/.test(p))continue;let m=/^(=+|-+)\s*$/.exec(p.trim())?.[1];if(!m)continue;let f=l(s);f&&(n.push({depth:"="===m[0]?1:2,value:f}),e++)}return n}(e),t)}(r),i=c(a),o=[],d=null,m=null;
222if(!r.startsWith("#")){let r=p(e,t,n);o.push(r),d=r}for(let r of a){if(r.depth!==i&&r.depth!==i+1)continue;let a={id:e({type:"text",depth:r.depth,slug:r.slug,parentId:t,info:n,value:r.value}),title:r.value,type:"text"};r.depth===i?(a.children=[],d?(d.children||(d.children=[]),d.children.push(a)):o.push(a),m=a):m&&m.children?.push(a)}return o};var f=n(60562),h=n(83294),g=n(42542),v=n(74275);let y=e=>{let t=new Set(e["x-draft-examples"]??[]);return e.requestBody&&Object.values((0,v.n)(e.requestBody).content??{}).forEach(e=>{Object.keys(e.examples??{}).forEach(e=>{t.add(e)})}),e.parameters&&e.parameters.forEach(e=>{let n=(0,v.n)(e)??{};"content"in n&&n.content&&Object.values(n.content).forEach(e=>{Object.keys(e.examples??{}).forEach(e=>{t.add(e)})}),"examples"in n&&n.examples&&Object.keys(n.examples??{}).forEach(e=>{t.add(e)})}),Array.from(t)};n(62677),n(43922),n(50229);var b=n(99093);let O=({tagsMap:e,name:t,documentId:n,generateId:r})=>(e.get(t)||e.set(t,{id:r({type:"tag",tag:{name:t},parentId:n}),parentId:n,entries:[],tag:{name:t}}),e.get(t)),w=e=>e.deprecated||e["x-scalar-stability"]===b.Du.Deprecated,k=({ref:e,operation:t,method:n,path:r,generateId:a,parentId:i,parentTag:o})=>{let l=a({type:"operation",operation:t,parentTag:o,method:n,path:r,parentId:i}),s=t.summary?.trim()?t.summary:r,u=w(t),c=y(t).map(e=>({type:"example",id:a({type:"example",parentId:l,name:e}),title:e,name:e}));return{id:l,title:s,path:r,method:n,ref:e,type:"operation",isDeprecated:u,children:c.length?c:void 0}},x=({document:e,tagsMap:t,generateId:n,documentId:r})=>{let a=[];return Object.entries(e.paths??{}).forEach(([e,i])=>{(0,h.Y)(i??{}).filter(e=>(0,f.u)(e)).forEach(o=>{let l=i?.[o],s=(0,v.n)(l);if(!s||s["x-internal"]||s["x-scalar-ignore"]||!(0,f.u)(o))return;let u=`#/paths/${(0,g.Q)(e)}/${o}`;
222s.tags?.length?s.tags.forEach(a=>{let{tag:i,id:l}=O({tagsMap:t,name:a,documentId:r,generateId:n});t.get(a)?.entries.push(k({ref:u,operation:s,method:o,path:e,parentTag:{tag:i,id:l},generateId:n,parentId:l}))}):a.push(k({ref:u,operation:s,method:o,path:e,generateId:n,parentId:r}))})}),{untaggedOperations:a}},S=({ref:e,name:t,generateId:n,parentTag:r,_schema:a,parentId:i})=>{let o=n({name:t,type:"model",parentTag:r,parentId:i,schema:a}),l=(0,v.n)(a);return{id:o,title:l&&"title"in l&&l.title||t,name:t,ref:e,type:"model"}},_=({document:e,tagsMap:t,generateId:n,documentId:r})=>{let a=e.components?.schemas??{},i=[];for(let e in a){let o=(0,v.n)(a[e]);if(o?.["x-internal"]||o?.["x-scalar-ignore"]||!Object.hasOwn(a,e))continue;let l=`#/components/schemas/${e}`;o?.["x-tags"]?o["x-tags"].forEach(a=>{let{tag:i,id:o}=O({tagsMap:t,name:a,documentId:r,generateId:n});t.get(a)?.entries.push(S({ref:l,name:e,generateId:n,parentTag:{tag:i,id:o},parentId:r}))}):i.push(S({ref:l,name:e,generateId:n,_schema:(0,v.n)(a[e]),parentId:r}))}return i};function E(e,t,n){let r=new Map;t.forEach((e,t)=>r.set(e,t));let a=[],i=[];return e.forEach(e=>{let t=r.get(n(e));if(void 0===t){i.push(e);return}a[t]=e}),[...a.filter(e=>void 0!==e),...i]}let A=e=>e?Object.fromEntries(Object.entries(e).filter(([e])=>e.startsWith("x-"))):{},T=({tag:e,generateId:t,children:n,isGroup:r=!1,parentId:a})=>{let o=t({type:"tag",tag:e,parentId:a,isGroup:r}),l=e["x-displayName"]??e.name??"Untitled Tag";return e["x-scalar-order"]=n.map(e=>e.id),{id:o,title:l,name:e.name||l,description:e.description,children:n,isGroup:r,isWebhooks:!1,type:"tag",xKeys:A((0,i.O)(e))}},D=({_keys:e,tagsMap:t,options:{tagsSorter:n,operationsSorter:r,generateId:a},documentId:i,sortOrder:o})=>{let l=e.flatMap(e=>{let{tag:n,entries:o}=O({tagsMap:t,name:e,documentId:i,generateId:a});if(n["x-internal"]||n["x-scalar-ignore"])return[];let l=n["x-scalar-order"];return void 0===l&&("alpha"===r?o.sort((e,t)=>"operation"===e.type&&"operation"===t.type?e.title.localeCompare(t.title):0):"method"===r?o.sort((e,t)=>"operation"===e.type&&"operation"===t.type?e.method.localeCompare(t.method):0):"function"==typeof r&&o.sort((e,t)=>{if(!("operation"===e.type||"webhook"===e.type)||!("operation"===t.type||"webhook"===t.type))return 0;let n="operation"===e.type?e.path:e.name,a="operation"===t.type?t.path:t.name;return r({method:e.method,path:n,ref:e.ref,httpVerb:e.method},{method:t.method,path:a,ref:t.ref,httpVerb:t.method})})),T({tag:n,generateId:a,children:l?E(o,l,e=>e.id):o,parentId:i,isGroup:!1})});return o?E(l,o,e=>e.id):("alpha"===n?l.sort((e,n)=>{let r=O({tagsMap:t,name:e.title,documentId:i,generateId:a}).tag["x-displayName"]||e.title||"Untitled Tag",o=O({tagsMap:t,name:n.title,documentId:i,generateId:a}).tag["x-displayName"]||n.title||"Untitled Tag";return r.localeCompare(o)}):"function"==typeof n&&l.sort((e,r)=>n(O({tagsMap:t,name:e.name,documentId:i,generateId:a}).tag,O({tagsMap:t,name:r.name,documentId:i,generateId:a}).tag)),l)},C=({document:e,tagsMap:t,documentId:n,options:{generateId:r,tagsSorter:a,operationsSorter:i}})=>e["x-tagGroups"]?e["x-tagGroups"].flatMap(e=>{let o=D({_keys:e.tags,tagsMap:t,options:{tagsSorter:a,operationsSorter:i,generateId:r},documentId:n,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:n,isGroup:!0}):[]}):D({_keys:Array.from(t.keys()),tagsMap:t,options:{generateId:r,tagsSorter:a,operationsSorter:i},documentId:n,sortOrder:e["x-scalar-order"]}),$=({ref:e,method:t,name:n,title:r,generateId:a,parentTag:i,webhook:o,isDeprecated:l,parentId:s})=>({id:a({type:"webhook",name:n,method:t,webhook:o,parentTag:i,parentId:s}),title:r,name:n,ref:e,method:t,type:"webhook",isDeprecated:l}),P=({document:e,tagsMap:t,generateId:n,untaggedWebhooksParentId:r,documentId:a})=>{let i=[];return Object.entries(e.webhooks??{}).forEach(([e,o])=>{(0,h.Y)(o??{}).filter(e=>(0,f.u)(e)).forEach(l=>{let s=o?.[l],u=(0,v.n)(s);if(!u||u["x-internal"]||u["x-scalar-ignore"])return;let c=`#/webhooks/${e}/${l}`;u.tags?.length?u.tags.forEach(r=>{let{tag:i,id:o}=O({tagsMap:t,name:r,documentId:a,generateId:n});t.get(r)?.entries.push($({ref:c,method:l,name:e,title:u.summary??e,webhook:u,generateId:n,parentTag:{tag:i,id:o},parentId:o,isDeprecated:w(u)}))}):i.push($({ref:c,method:l,name:e,title:u.summary??e,generateId:n,isDeprecated:w(u),webhook:u,parentId:r}))})}),i},I=(e,t,n)=>{let{hideModels:r,tagsSorter:a,operationsSorter:l,generateId:s}=(0,o.g)(e,n),u=s({type:"document",info:t.info,name:e}),c=new Map(t.tags?.map(e=>[e.name??"Untitled Tag",{id:s({type:"tag",tag:e,parentId:u}),parentId:u,tag:e,entries:[]}])??[]),d=m({generateId:s,parentId:u,info:t.info}),{untaggedOperations:p}=x({document:t,tagsMap:c,generateId:s,documentId:u}),f=s({type:"webhook",name:"",parentId:u}),h=P({document:t,generateId:s,tagsMap:c,untaggedWebhooksParentId:f,documentId:u}),g=C({document:t,tagsMap:c,documentId:u,options:{tagsSorter:a,operationsSorter:l,generateId:s}});if(d.push(...g),d.push(...p),h.length&&d.push({type:"tag",id:f,title:"Webhooks",name:"Webhooks",children:h,isGroup:!1,isWebhooks:!0}),!r&&t.components?.schemas){let e=_({documentId:u,document:t,generateId:s,tagsMap:c});e.length&&d.push({type:"models",id:s({type:"model",parentId:u}),title:"Models",name:"Models",children:e})}let v=t["x-scalar-order"];return v&&d.sort((e,t)=>
222{let n=v.indexOf(e.id),r=v.indexOf(t.id);return(-1===n?Number.POSITIVE_INFINITY:n)-(-1===r?Number.POSITIVE_INFINITY:r)}),t["x-scalar-order"]=(0,i.O)(d.map(e=>e.id)),{id:u,type:"document",title:t.info?.title?.trim()||"Untitled Document",name:e,children:d,icon:t["x-scalar-icon"]}}},86940:function(e,t,n){"use strict";n.d(t,{hz:function(){return tZ},IK:function(){return tL},ni:function(){return tz},Hp:function(){return t6},oR:function(){return np},Xu:function(){return nM},cg:function(){return tF},OS:function(){return Z},js:function(){return nc},ay:function(){return nf},QL:function(){return tj},Ko:function(){return t0},W7:function(){return s},gi:function(){return I},$k:function(){return P},jM:function(){return nU},HJ:function(){return t4},A6:function(){return nh},i5:function(){return nv},Rh:function(){return N},Yg:function(){return nk},XQ:function(){return nN},Fz:function(){return t2},MC:function(){return nI},xr:function(){return ny},rN:function(){return tB},HC:function(){return nP},Nh:function(){return ns},Gr:function(){return tV},Sd:function(){return tJ},w5:function(){return tX},Qk:function(){return tY},SU:function(){return tK},mq:function(){return tW},zx:function(){return tG}});var r=n(74275),a=n(23899),i=n(91474);let o=e=>{let t=new WeakSet,n=new WeakMap,o=e=>{if(!(0,a.K)(e)&&!Array.isArray(e))return e;let l=(0,i.O)(e,{depth:1});if(n.has(l))return n.get(l);if(t.has(l))return"[circular]";if(t.add(l),"$ref"in e){let t=o((0,r.n)(e));return n.set(l,t),t}if(Array.isArray(e)){let t=e.map(o);return n.set(l,t),t}let s=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,o(t)]));return n.set(l,s),s};return o(e)},l=(e,t,n)=>{if(!e&&!t)return;let a=!!e&&Object.keys(e).length>0,i=n||Object.keys(e??{})[0]||"",o=(0,r.n)(e?.[i]);return void 0!==o?o:a&&n||void 0===t?void 0:{value:(0,r.n)(t)}},s=(e,t,n)=>{if("content"in e){let r=e.content?.[n??Object.keys(e.content)[0]??""],a=l(r?.examples,r?.example,t);if(void 0!==a)return a}if("examples"in e||"example"in e){let n=l(e.examples,e.example,t);if(void 0!==n)return n}let a=(0,r.n)(e);if("schema"in a&&a.schema){let e=a.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 u=n(55512),c=n(17104);let d=new Date().toISOString(),p=d.split("T")[0],m=d.split("T")[1].split(".")[0],f={"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"},h=e=>{if(!("propertyNames"in e)||!e.propertyNames)return;let t=c.D.schema(e.propertyNames);if(t&&"enum"in t&&Array.isArray(t.enum)&&t.enum.length>0)return t.enum},g=(e,t=!1,n="")=>"type"in e&&"string"===e.type&&"format"in e&&"binary"===e.format?"@filename":t&&"format"in e&&e.format?f[e.format]??n:n,v=new WeakMap,y=new WeakMap,b=e=>(0,i.O)(e,{depth:1}),O=e=>{if(!e)return;let t=y.get(e);if(t)return t;if("required"in e){let t=e.required;if(Array.isArray(t)&&t.length>0){let n=new Set(t);return y.set(e,n),n}}},w=(e,t,n)=>{if("object"!=typeof t||null===t)return t;let r=b(e),a=v.get(r)??new Map;return a&&a.set(n,t),v.set(r,a),t},k=e=>!!(e.allOf||e.oneOf||e.anyOf),x=(e,t,n,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)||k(e)||"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 a=n??e.title??"",i=O(t);return!(i&&i.has(a))},S=(e,t)=>Array.isArray(e)&&Array.isArray(t)?[...e,...t]:e&&"object"==typeof e&&t&&"object"==typeof t?{...e,...t}:t,_=(e,t)=>
222[...e,t].join("."),E=(e,t,n,r)=>{let a=n?.compositionSelection?.[_(e,t)];if(!("number"!=typeof a||Number.isNaN(a)))return Math.max(0,Math.min(a,r-1))},A=(e,t,n,r,a,i)=>{let o={};if("properties"in e&&e.properties){let a=Object.keys(e.properties),l=a.length;for(let s=0;s<l;s++){let l=a[s],u=c.D.schema(e.properties[l]);if(!u)continue;let d=t?.xml&&"xml"in u?u.xml?.name:void 0,p=P(u,t,{level:n+1,parentSchema:e,name:l,schemaPath:[...i,l],seen:r});void 0!==p&&(o[d??l]=p)}}if("patternProperties"in e&&e.patternProperties)for(let a of Object.keys(e.patternProperties)){let l=c.D.schema(e.patternProperties[a]);l&&(o[a]=P(l,t,{level:n+1,parentSchema:e,name:a,schemaPath:[...i,a],seen:r}))}if("additionalProperties"in e&&e.additionalProperties){let a="boolean"==typeof e.additionalProperties?e.additionalProperties:c.D.schema(e.additionalProperties),l=!0===e.additionalProperties||"object"==typeof e.additionalProperties&&0===Object.keys(e.additionalProperties).length,s="object"==typeof a&&"x-additionalPropertiesName"in a&&"string"==typeof a["x-additionalPropertiesName"]&&a["x-additionalPropertiesName"].trim().length>0,u=s?void 0:h(e),d=s?a["x-additionalPropertiesName"].trim():"additionalProperty",p=l?"anything":"object"==typeof a?P(a,t,{level:n+1,schemaPath:[...i,d],seen:r}):"anything";u&&u.length>0?o[String(u[0])]=p:o[d]=p}let l=e.oneOf?"oneOf":e.anyOf?"anyOf":void 0,s=l?e[l]:void 0;if(l&&s?.length){let e=E(i,l,t,s.length)??0,a=c.D.schema(s[e]);a&&Object.assign(o,P(a,t,{level:n+1,schemaPath:i,seen:r}))}else if(Array.isArray(e.allOf)&&e.allOf.length>0){let a=o;for(let i of e.allOf)a=S(a,P(c.D.schema(i),t,{level:n+1,parentSchema:e,seen:r}));a&&"object"==typeof a&&Object.assign(o,a)}if(t?.xml&&"xml"in e&&e.xml?.name&&0===n){let t={};return t[e.xml.name]=o,w(e,t,a)}return w(e,o,a)},T=(e,t,n,r,a,i)=>{let o="items"in e?c.D.schema(e.items):void 0,l=[...i,"items"],s=o&&"object"==typeof o&&"xml"in o?o.xml?.name:void 0,d=!!(t?.xml&&"xml"in e&&e.xml?.wrapped&&s);if(void 0!==e.example)return w(e,d?{[s]:e.example}:e.example,a);if(o&&"object"==typeof o){if(Array.isArray(o.allOf)&&o.allOf.length>0){let i=o.allOf.filter(u.$),p=c.D.schema(i[0]);if(p&&"object"==typeof p&&"type"in p&&"object"===p.type){let o=P({type:"object",allOf:i},t,{level:n+1,parentSchema:e,schemaPath:l,seen:r});return w(e,d?[{[s]:o}]:[o],a)}let m=i.map(a=>P(c.D.schema(a),t,{level:n+1,parentSchema:e,schemaPath:l,seen:r})).filter(u.$);return w(e,d?m.map(e=>({[s]:e})):m,a)}let i=o.oneOf?"oneOf":o.anyOf?"anyOf":void 0,p=i?o[i]:void 0;if(i&&p&&p.length>0){let o=E(l,i,t,p.length)??0,u=p[o],m=P(c.D.schema(u),t,{level:n+1,parentSchema:e,schemaPath:l,seen:r});return w(e,d?[{[s]:m}]:[m],a)}}let p=o&&"object"==typeof o&&("type"in o&&"object"===o.type||"properties"in o),m=o&&"object"==typeof o&&("type"in o&&"array"===o.type||"items"in o);if(o&&"object"==typeof o&&("type"in o&&o.type||p||m)){let i=P(o,t,{level:n+1,schemaPath:l,seen:r});return w(e,d?[{[s]:i}]:[i],a)}return w(e,[],a)},D=(e,t,n)=>{if("type"in e&&e.type&&!Array.isArray(e.type))switch(e.type){case"string":return g(e,t,n??"");case"boolean":return!0;case"integer":case"number":return"minimum"in e&&"number"==typeof e.minimum?e.minimum:1;case"array":return[]}},C=(e,t,n)=>{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 g(e,t,n??"");case"boolean":return!0;case"integer":case"number":return"minimum"in e&&"number"==typeof e.minimum?e.minimum:1;case"null":return null}}},$=e=>JSON.stringify({emptyString:e?.emptyString,xml:e?.xml,mode:e?.mode,variables:e?.variables,omitEmptyAndOptionalProperties:e?.omitEmptyAndOptionalProperties,compositionSelection:e?.compositionSelection?Object.entries(e.compositionSelection).sort(([e],[t])=>e.localeCompare(t)):void 0}),P=(e,t,{level:n=0,parentSchema:r,name:a,seen:i=new WeakSet,schemaPath:o=[]}={})=>{let l=c.D.schema(e);if(!(0,u.$)(l))return;let s=b(l);if(i.has(s))return;i.add(s);let d=$(t)+(o.length>0?`:path:${o.join(".")}`:""),p=v.get(s)?.get(d);if(void 0!==p)return i.delete(s),p;if(n>10)return i.delete(s),"[Max Depth Exceeded]";let m=!!t?.emptyString;if(x(l,r,a,t)){i.delete(s);return}if("x-variable"in l&&l["x-variable"]){let e=t?.variables?.[l["x-variable"]];if(void 0!==e)return"type"in l&&("number"===l.type||"integer"===l.type)?(i.delete(s),w(l,
222Number(e),d)):(i.delete(s),w(l,e,d))}if(Array.isArray(l.examples)&&l.examples.length>0)return i.delete(s),w(l,l.examples[0],d);if(void 0!==l.example)return i.delete(s),w(l,l.example,d);if(void 0!==l.default)return i.delete(s),w(l,l.default,d);if(void 0!==l.const)return i.delete(s),w(l,l.const,d);if(Array.isArray(l.enum)&&l.enum.length>0)return i.delete(s),w(l,l.enum[0],d);if("properties"in l||"type"in l&&"object"===l.type){let e=A(l,t,n,i,d,o);return i.delete(s),e}if("type"in l&&"array"===l.type||"items"in l){let e=T(l,t,n,i,d,o);return i.delete(s),e}let f=D(l,m,t?.emptyString);if(void 0!==f)return i.delete(s),w(l,f,d);let h=l.oneOf?"oneOf":l.anyOf?"anyOf":void 0,g=h?l[h]:void 0;if(h&&Array.isArray(g)&&g.length>0){let e=E(o,h,t,g.length),r=void 0!==e?g[e]:g.find(e=>{let t=c.D.schema(e);return t&&(!("type"in t)||"null"!==t.type)});if(r){let e=c.D.schema(r);if(e)return i.delete(s),w(l,P(e,t,{level:n+1,schemaPath:o,seen:i}),d)}return i.delete(s),w(l,null,d)}if(Array.isArray(l.allOf)&&l.allOf.length>0){let e;for(let r of l.allOf){let a=P(r,t,{level:n+1,parentSchema:l,schemaPath:o,seen:i});void 0===e?e=a:e&&"object"==typeof e&&a&&"object"==typeof a?e=S(e,a):void 0!==a&&(e=a)}return i.delete(s),w(l,e??null,d)}let y=C(l,m,t?.emptyString);return void 0!==y?(i.delete(s),w(l,y,d)):(i.delete(s),w(l,null,d))},I=(e,t,n,a)=>{let i=e.content?.[t],l=s(e,n,t);if(l)return l;let u=(0,r.n)(i?.schema);if(!u)return null;let c=P(o(u),{mode:"write",compositionSelection:a},{schemaPath:["requestBody"]});return c?{value:c}:null},N=(e,t="default")=>e?.["x-scalar-selected-content-type"]?.[t]??Object.keys(e?.content??{})[0]??null;var U=n(27678),M=n(68590),R=n(31412),j=n(62365);let L=(e,t)=>{if(!e||!t)return!0;try{let n=e.startsWith("http")?e:`http://${e}`,r=new URL(n).hostname,a=t.startsWith(".")&&t===`.${r}`,i=t.startsWith(".")&&r?.endsWith(t);return!t||t===r||i||a}catch{return!1}},Z=({cookie:e,url:t,disabledGlobalCookies:n})=>{if(e.isDisabled||!0===n[e.name.toLowerCase()]||!e.name)return!1;let r=new URL(t,"https://example.com");return(!e.domain||!!L(t,e.domain))&&(!e.path||!!r.pathname.startsWith(e.path))},B=`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: 223 224 - The browser URL must be on the same domain as the server URL. 225 - The connection must be made over HTTPS. 226 `,z=(e,t)=>{let n=e.map(e=>`${e.name}=${e.value}`).join("; ");return t&&n?`${t}; ${n}`:t||n||""},F=({cookies:e,originalCookieHeader:t,url:n,useCustomCookieHeader:r})=>{let a=z(e.filter(e=>Z({url:n,cookie:e,disabledGlobalCookies:{}})),t??void 0);return a?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:j.A5,value:a}):(console.warn(B),{name:"Cookie",value:a}):null},Q={21:"!",24:"$",27:"'",28:"(",29:")","2A":"*","2C":",","2F":"/","3A":":","3B":";",40:"@"},H=e=>e.replace(/%([0-9A-Fa-f]{2})/g,(e,t)=>Q[t.toUpperCase()]??e),q=e=>{try{return decodeURIComponent(e.replaceAll("+","%20"))}catch{return e}},V=(e,t)=>{if(0===t.size)return e;let n=e.indexOf("?");if(-1===n)return e;let r=e.indexOf("#",n),a=e.slice(0,n+1),i=-1===r?e.slice(n+1):e.slice(n+1,r),o=-1===r?"":e.slice(r);if(!i)return e;let l=i.split("&").map(e=>{if(!e)return e;let n=e.indexOf("="),r=-1===n?e:e.slice(0,n),a=q(r);if(!t.has(a)||-1===n)return e;let i=e.slice(n+1);return`${r}=${H(i)}`}).join("&");return`${a}${l}${o}`};var W=n(61365);let X=(e,t)=>{let n=t.envVariables,r=Object.fromEntries(Object.entries(e.path.variables).map(([e,t])=>[e,encodeURIComponent((0,U.BU)(t,n))])),a=(0,U.BU)(e.baseUrl,n),i=(0,U.BU)(e.path.raw,n),o=(0,U.hb)(i,r),l=(0,W.GK)(a,o),s=globalThis.window?.location?.origin,u=new URL(l,s&&"null"!==s?s:"http://localhost:3000"),c=new URLSearchParams;for(let[t,r]of e.query.entries())c.append((0,U.BU)(t,n),(0,U.BU)(r,n));let d=new URLSearchParams;
226for(let[e,n]of t.securityQueryParams.entries())d.append(e,n);return u.search=(0,W.b4)(u.searchParams,c,d).toString(),u.toString()},Y=["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"],G="abcdefghijklmnopqrstuvwxyz0123456789",K=["#e34f26","#3498db","#2ecc71","#9b59b6","#f1c40f","#1abc9c","#e74c3c","#2c3e50","#d35400","#8e44ad","#27ae60","#c0392b","#16a085","#f39c12","#7f8c8d"],J=["HTTP","SQL","TCP","JSON","XML","API","SSL","CSS","HTML","RAM","FTP","SSH","DNS","URL","USB"],ee=["192.168.1.42","10.0.0.134","172.16.254.1","203.0.113.50","198.51.100.23","100.24.56.78","54.239.28.85","13.107.42.14","151.101.1.140","216.58.214.206","93.184.216.34","104.16.249.249","172.217.14.206","185.199.108.153","140.82.121.4"],et=["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"],en=["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"],er=["en","es","fr","de","it","pt","ja","zh","ko","ar","ru","nl","sv","pl","da","fi","nb","tr","hi","th"],ea=["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"],ei=["http","https"],eo=["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"],el=["Emma","Liam","Olivia","Noah","Ava","James","Sophia","Oliver","Isabella","Lucas","Mia","Ethan","Charlotte","Mason","Amelia"],es=["Smith","Johnson","Williams","Brown","Jones","Garcia","Miller","Davis","Rodriguez","Martinez","Hernandez","Lopez","Gonzalez","Wilson","Anderson"],eu=["Mr.","Mrs.","Ms.","Dr.","Prof.","Rev.","Sir","Mx."],ec=["Jr.","Sr.","II","III","IV","PhD","MD","DDS","Esq."],ed=["Marketing","Engineering","Finance","Operations","Human Resources","Sales","Research","Design","Legal","Product","Data","Support","Quality","Security","Communications"],ep=["Senior","Lead","Junior","Principal","Chief","Associate","Global","Regional","Internal","Dynamic","Staff","Executive","National","Strategic","Corporate"],em=["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"],ef=["Full-time","Part-time","Contract","Freelance","Internship","Temporary","Remote","Hybrid","Consultant","Seasonal"],eh=["(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"],eg=["New York","London","Tokyo","Paris","Sydney","Toronto","Berlin","Singapore","Mumbai","S\xe3o Paulo","Amsterdam","Seoul","Dublin","Barcelona","Melbourne"],ev=["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"],ey=["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"],eb=["United States","United Kingdom","Canada","Australia","Germany","France","Japan","Brazil","India","Netherlands","South Korea","Singapore","Ireland","Spain","Sweden"],eO=["US","GB","CA","AU","DE","FR","JP","BR","IN","NL","KR","SG","IE","ES","SE","IT","NO","DK","FI","CH"],ew=["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"],ek=["-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"],ex=["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"],eS=["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
2260/480"],e_="https://loremflickr.com/640/480",eE=Array.from({length:10},(e,t)=>`${e_}/abstract?lock=${t+1}`),eA=Array.from({length:10},(e,t)=>`${e_}/animals?lock=${t+1}`),eT=Array.from({length:10},(e,t)=>`${e_}/business?lock=${t+1}`),eD=Array.from({length:10},(e,t)=>`${e_}/cat?lock=${t+1}`),eC=Array.from({length:10},(e,t)=>`${e_}/city?lock=${t+1}`),e$=Array.from({length:10},(e,t)=>`${e_}/food?lock=${t+1}`),eP=Array.from({length:10},(e,t)=>`${e_}/nightlife?lock=${t+1}`),eI=Array.from({length:10},(e,t)=>`${e_}/fashion?lock=${t+1}`),eN=Array.from({length:10},(e,t)=>`${e_}/people?lock=${t+1}`),eU=Array.from({length:10},(e,t)=>`${e_}/nature?lock=${t+1}`),eM=Array.from({length:10},(e,t)=>`${e_}/sports?lock=${t+1}`),eR=Array.from({length:10},(e,t)=>`${e_}/transport?lock=${t+1}`),ej=["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"],eL=["34042448","34102758","02997566","52631809","75412296","37762776","44117882","13865687","44377086","74440091"],eZ=["Personal Checking","Savings Account","Money Market","Home Loan","Auto Loan","Investment Account","Business Checking","Credit Card","Retirement Fund","College Savings"],eB=["DEUTDEFF","BNPAFRPP","CHASUS33","HSBCGB2L","COBADEFF","SCBLSGSG","ANZBAU3M","CITIUS33","BOFAUS3N","NWBKGB2L"],ez=["GB29NWBK60161331926819","DE89370400440532013000","FR7630006000011234567890189","ES9121000418450200051332","IT60X0542811101000000123456","NL91ABNA0417164300","CH9300762011623852957","BE68539007547034","AT611904300234573201","FI2112345600000785"],eF=["deposit","withdrawal","payment","invoice","transfer"],eQ=["USD","EUR","GBP","JPY","AUD","CAD","CHF","CNY","INR","BRL","SEK","NOK","DKK","SGD","HKD"],eH=["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"],eq=["$","â¬","\xa3","\xa5","A$","C$","CHF","\xa5","â¹","R$"],eV=["1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa","3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy","bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4","1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2","3Kzh9qAqVWQhEsfQz7zEQL1EuSx5tyNLNS","1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF","bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh","3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5","1P5ZEDWTKTFGxQjZphgWPQUpe554WKDfHQ","bc1q42lja79elem0anu8q860g3milve2ycq5t8g3ux"],eW=["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"],eX=["Inc","LLC","Group","Ltd","PLC","Corp"],eY=["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"],eG=["innovative","scalable","seamless","cutting-edge","robust","synergistic","dynamic","holistic","strategic","disruptive","frictionless","proactive","world-class","collaborative","granular"],eK=["leverage","iterate","synergize","monetize","orchestrate","disintermediate","harness","incentivize","optimize","streamline","revolutionize","cultivate","empower","facilitate","aggregate"],eJ=["frameworks","paradigms","synergies","platforms","infrastru
226ctures","bandwidth","channels","communities","convergence","deliverables","e-markets","experiences","initiatives","interfaces","methodologies"],e0=["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"],e1=["Adaptive","Advanced","Automated","Balanced","Business-focused","Centralized","Cloned","Configurable","Cross-group","Customizable","De-engineered","Decentralized","Digitized","Distributed","Enhanced"],e2=["24 hour","actuating","analyzing","asymmetric","asynchronous","background","bandwidth-monitored","bi-directional","bifurcated","bottom-line","clear-thinking","client-driven","client-server","coherent","cohesive"],e4=["ability","access","algorithm","alliance","analyzer","application","approach","architecture","array","attitude","benchmark","budgetary management","capability","capacity","challenge"],e8=["id","name","email","status","created_at","updated_at","description","amount","category","token","avatar","phone","address","comment","title"],e6=["int","varchar","text","boolean","date","timestamp","float","bigint","json","uuid","decimal","enum","blob","char","smallint"],e3=["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"],e5=["InnoDB","MyISAM","MEMORY","CSV","ARCHIVE","FEDERATED","NDB","MERGE","BLACKHOLE","EXAMPLE"],e7=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],e9=["January","February","March","April","May","June","July","August","September","October","November","December"],te=["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"],tt=["com","org","net","io","dev","co","info","app","me","xyz"],tn=["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"],tr=["[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]"],ta=["[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"],ti=["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"],to=["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"],tl=["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"],ts=["application","text","image","audio","video","font","model","multipart","message","chemical"],tu=["pdf","csv","png","json","md","yml","html","txt","xml","sql","tar","gz","wasm","webp"],tc=["report.pdf","photo.jpg","document.docx","spreadsheet.xlsx","presentation.pptx","image.png","video.mp4","audio.mp3","archive.zip","readme.txt"],td=["text","application","image","audio","video"],tp=["pdf","jpg","png","gif","mp3","mp4","doc","xls","ppt","txt","zip","html","css","js","json"],tm=["/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"],tf=["/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"],th=["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"],tg=["Chair","Computer","Keyboard","Mouse","Table","Phone","Shoes","Shirt","Pants","Hat","Bike","Towels","Gloves","Soap","Tuna"],tv=["Refined","Elegant","Rustic","Gorgeous","Practical","Fantastic","Handcrafted","Incredible","Licensed","Sleek","Intelligent","Recycled","Modern","Bespoke","Ergonomic"],ty=["Cotton","Steel","Wooden","Concrete","Rubber","Granite","Plastic","Frozen","Soft","Metal","Bronze","Silk","Leather","Ceramic","Bamboo"],tb=["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"],tO=["Ele
226ctronics","Clothing","Books","Home","Garden","Sports","Toys","Automotive","Grocery","Health","Beauty","Music","Movies","Games","Outdoors"],tw=["server","database","network","protocol","system","algorithm","interface","module","component","function","framework","library","instance","variable","endpoint"],tk=["run","build","deploy","parse","fetch","render","compile","stream","cache","merge","sync","push","pull","test","debug"],tx=["running","building","deploying","parsing","fetching","rendering","compiling","streaming","caching","merging","syncing","pushing","pulling","testing","debugging"],tS=["fast","secure","scalable","robust","dynamic","modular","stable","lightweight","portable","resilient","efficient","responsive","concurrent","stateless","distributed"],t_=["pixel","quantum","cipher","matrix","vector","nexus","pulse","flux","forge","prism","vortex","helix","orbit","spark","nebula"],tE=["lorem","ipsum","dolor","sit","amet","consectetur","adipiscing","elit","sed","do","eiusmod","tempor","incididunt","ut","labore","et","dolore","magna","aliqua","enim"],tA=["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."],tT=["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."],tD=["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"],tC=e=>e[Math.floor(Math.random()*e.length)],t$=(e,t)=>Math.floor(Math.random()*(t-e+1))+e,tP=e=>Array.from({length:e},()=>Math.floor(10*Math.random())).join(""),tI=e=>Array.from({length:e},()=>G[Math.floor(Math.random()*G.length)]).join(""),tN=(e,t,n)=>Array.from({length:t$(t,n)},()=>tC(e)).join(" "),tU=(e,t,n)=>Array.from({length:t$(t,n)},()=>tC(e)).join(" "),tM=(e,t,n)=>Array.from({length:t$(t,n)},()=>tC(e)).join("\n"),tR={$guid:{fn:()=>tC(Y),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:()=>tC(Y),comment:"A random 36-character UUID"},$randomAlphaNumeric:{fn:()=>G[Math.floor(Math.random()*G.length)]??"a",comment:"A random alpha-numeric character"},$randomBoolean:{fn:()=>.5>Math.random()?"true":"false",comment:"A random boolean value"},$randomInt:{fn:()=>t$(0,1e3).toString(),comment:"A random integer between 0 and 1000"},$randomColor:{fn:()=>tC(K),comment:"A random color in hex format"},$randomHexColor:{fn:()=>tC(K),comment:"A random hex value"},$randomAbbreviation:{fn:()=>tC(J),comment:"A random abbreviation"},$randomIP:{fn:()=>tC(ee),comment:"A random IPv4 address"},$randomIPV6:{fn:()=>tC(et),comment:"A random IPv6 address"},$randomMACAddress:{fn:()=>tC(en),comment:"A random MAC address"},$randomPassword:{fn:()=>tI(15),comment:"A random 15-character alpha-numeric password"},$randomLocale:{fn:()=>tC(er),comment:"A random two-letter language code (ISO 639-1)"},$randomUserAgent:{fn:()=>tC(ea),comment:"A random user agent"},$randomProtocol:{fn:()=>tC(ei),comment:"A random internet protocol"},$randomSemver:{fn:()=>tC(eo),comment:"A random semantic version number"},$randomFirstName:{fn:()=>tC(el),comment:"A random first name"},$randomLastName:{fn:()=>tC(es),comment:"A random last name"},$randomFullName:{fn:()=>`${tC(el)} ${tC(es)}`,comment:"A random first and last name"},$randomNamePrefix:{fn:()=>tC(eu),comment:"A random name prefix"},$randomNameSuffix:{fn:()=>tC(ec),comment:"A random name suffix"},$randomJobArea:{fn:()=>tC(ed),comment:"A random job area"},$randomJobDescriptor:{fn:()=>tC(ep),comment:"A random job descriptor"},$randomJobTitle:{fn:()=>tC(em),comment:"A random job title"},$randomJobType:{fn:()=>tC(ef),comment:"A random job type"}
226,$randomPhoneNumber:{fn:()=>tC(eh),comment:"A random ten-digit phone number"},$randomPhoneNumberExt:{fn:()=>`${t$(10,99)}-${tC(eh)}`,comment:"A random phone number prefixed with a two-digit extension (10â99)"},$randomCity:{fn:()=>tC(eg),comment:"A random city name"},$randomStreetName:{fn:()=>tC(ev),comment:"A random street name"},$randomStreetAddress:{fn:()=>tC(ey),comment:"A random street address"},$randomCountry:{fn:()=>tC(eb),comment:"A random country"},$randomCountryCode:{fn:()=>tC(eO),comment:"A random two-letter country code (ISO 3166-1 alpha-2)"},$randomLatitude:{fn:()=>tC(ew),comment:"A random latitude coordinate"},$randomLongitude:{fn:()=>tC(ek),comment:"A random longitude coordinate"},$randomAvatarImage:{fn:()=>tC(ex),comment:"A random avatar image"},$randomImageUrl:{fn:()=>tC(eS),comment:"A URL of a random image"},$randomAbstractImage:{fn:()=>tC(eE),comment:"A URL of a random abstract image"},$randomAnimalsImage:{fn:()=>tC(eA),comment:"A URL of a random animal image"},$randomBusinessImage:{fn:()=>tC(eT),comment:"A URL of a random stock business image"},$randomCatsImage:{fn:()=>tC(eD),comment:"A URL of a random cat image"},$randomCityImage:{fn:()=>tC(eC),comment:"A URL of a random city image"},$randomFoodImage:{fn:()=>tC(e$),comment:"A URL of a random food image"},$randomNightlifeImage:{fn:()=>tC(eP),comment:"A URL of a random nightlife image"},$randomFashionImage:{fn:()=>tC(eI),comment:"A URL of a random fashion image"},$randomPeopleImage:{fn:()=>tC(eN),comment:"A URL of a random image of a person"},$randomNatureImage:{fn:()=>tC(eU),comment:"A URL of a random nature image"},$randomSportsImage:{fn:()=>tC(eM),comment:"A URL of a random sports image"},$randomTransportImage:{fn:()=>tC(eR),comment:"A URL of a random transportation image"},$randomImageDataUri:{fn:()=>tC(ej),comment:"A random image data URI"},$randomBankAccount:{fn:()=>tC(eL),comment:"A random 8-digit bank account number"},$randomBankAccountName:{fn:()=>tC(eZ),comment:"A random bank account name"},$randomCreditCardMask:{fn:()=>`**** **** **** ${tP(4)}`,comment:"A random masked credit card number"},$randomBankAccountBic:{fn:()=>tC(eB),comment:"A random BIC (Bank Identifier Code)"},$randomBankAccountIban:{fn:()=>tC(ez),comment:"A random 15-31 character IBAN (International Bank Account Number)"},$randomTransactionType:{fn:()=>tC(eF),comment:"A random transaction type"},$randomCurrencyCode:{fn:()=>tC(eQ),comment:"A random 3-letter currency code (ISO-4217)"},$randomCurrencyName:{fn:()=>tC(eH),comment:"A random currency name"},$randomCurrencySymbol:{fn:()=>tC(eq),comment:"A random currency symbol"},$randomBitcoin:{fn:()=>tC(eV),comment:"A random bitcoin address"},$randomCompanyName:{fn:()=>tC(eW),comment:"A random company name"},$randomCompanySuffix:{fn:()=>tC(eX),comment:"A random company suffix"},$randomBs:{fn:()=>tC(eY),comment:"A random phrase of business-speak"},$randomBsAdjective:{fn:()=>tC(eG),comment:"A random business-speak adjective"},$randomBsBuzz:{fn:()=>tC(eK),comment:"A random business-speak buzzword"},$randomBsNoun:{fn:()=>tC(eJ),comment:"A random business-speak noun"},$randomCatchPhrase:{fn:()=>tC(e0),comment:"A random catchphrase"},$randomCatchPhraseAdjective:{fn:()=>tC(e1),comment:"A random catchphrase adjective"},$randomCatchPhraseDescriptor:{fn:()=>tC(e2),comment:"A random catchphrase descriptor"},$randomCatchPhraseNoun:{fn:()=>tC(e4),comment:"Randomly generates a catchphrase noun"},$randomDatabaseColumn:{fn:()=>tC(e8),comment:"A random database column name"},$randomDatabaseType:{fn:()=>tC(e6),comment:"A random database type"},$randomDatabaseCollation:{fn:()=>tC(e3),comment:"A random database collation"},$randomDatabaseEngine:{fn:()=>tC(e5),comment:"A random database engine"},$randomDateFuture:{fn:()=>new Date(Date.now()+864e5*t$(1,365)).toISOString(),comment:"A random future datetime"},$randomDatePast:{fn:()=>new Date(Date.now()-864e5*t$(1,365)).toISOString(),comment:"A random past datetime"},$randomDateRecent:{fn:()=>new Date(Date.now()-864e5*t$(1,3)).toISOString(),comment:"A random recent datetime"},$randomWeekday:{fn:()=>tC(e7),comment:"A random weekday"},$randomMonth:{fn:()=>tC(e9),comment:"A random month"},$randomDomainName:{fn:()=>tC(te),comment:"A random domain name"},$randomDomainSuffix:{fn:()=>tC(tt),comment:"A random domain suffix"},$randomDomainWord:{fn:()=>tC(tn),comment:"A random unqualified domain name"},$randomEmail:{fn:()=>tC(tr),comment:"A random email address"},$randomExampleEmail:{fn:()=>tC(ta),comment:"A random email address from an example domain"},$randomUserName:{fn:()=>
226tC(ti),comment:"A random username"},$randomUrl:{fn:()=>tC(to),comment:"A random URL"},$randomFileName:{fn:()=>tC(tl),comment:"A random file name (includes uncommon extensions)"},$randomFileType:{fn:()=>tC(ts),comment:"A random file type (includes uncommon file types)"},$randomFileExt:{fn:()=>tC(tu),comment:"A random file extension (includes uncommon extensions)"},$randomCommonFileName:{fn:()=>tC(tc),comment:"A random file name"},$randomCommonFileType:{fn:()=>tC(td),comment:"A random, common file type"},$randomCommonFileExt:{fn:()=>tC(tp),comment:"A random, common file extension"},$randomFilePath:{fn:()=>tC(tm),comment:"A random file path"},$randomDirectoryPath:{fn:()=>tC(tf),comment:"A random directory path"},$randomMimeType:{fn:()=>tC(th),comment:"A random MIME type"},$randomPrice:{fn:()=>(1e3*Math.random()).toFixed(2),comment:"A random price between 0.00 and 1000.00"},$randomProduct:{fn:()=>tC(tg),comment:"A random product"},$randomProductAdjective:{fn:()=>tC(tv),comment:"A random product adjective"},$randomProductMaterial:{fn:()=>tC(ty),comment:"A random product material"},$randomProductName:{fn:()=>tC(tb),comment:"A random product name"},$randomDepartment:{fn:()=>tC(tO),comment:"A random commerce department"},$randomNoun:{fn:()=>tC(tw),comment:"A random noun"},$randomVerb:{fn:()=>tC(tk),comment:"A random verb"},$randomIngverb:{fn:()=>tC(tx),comment:"A random verb ending in `-ing`"},$randomAdjective:{fn:()=>tC(tS),comment:"A random adjective"},$randomWord:{fn:()=>tC(t_),comment:"A random word"},$randomWords:{fn:()=>tN(t_,2,5),comment:"Some random words"},$randomPhrase:{fn:()=>tC(eY),comment:"A random phrase"},$randomLoremWord:{fn:()=>tC(tE),comment:"A random word of lorem ipsum text"},$randomLoremWords:{fn:()=>tN(tE,3,3),comment:"Some random words of lorem ipsum text"},$randomLoremSentence:{fn:()=>tC(tA),comment:"A random sentence of lorem ipsum text"},$randomLoremSentences:{fn:()=>tU(tA,2,6),comment:"A random 2 to 6 sentences of lorem ipsum text"},$randomLoremParagraph:{fn:()=>tC(tT),comment:"A random paragraph of lorem ipsum text"},$randomLoremParagraphs:{fn:()=>tU(tT,3,3),comment:"3 random paragraphs of lorem ipsum text"},$randomLoremText:{fn:()=>tU(tT,1,3),comment:"A random amount of lorem ipsum text"},$randomLoremSlug:{fn:()=>tC(tD),comment:"A random lorem ipsum URL slug"},$randomLoremLines:{fn:()=>tM(tA,1,5),comment:"1 to 5 random lines of lorem ipsum"}},tj=e=>tR[e].comment,tL=["$guid","$timestamp","$isoTimestamp","$randomUUID","$randomEmail","$randomInt","$randomFirstName","$randomLastName"],tZ=Object.keys(tR),tB=e=>Object.hasOwn(tR,e),tz=(e,t)=>{let n=e=>tB(e)?tR[e].fn()??null:t.envVariables[e]??null,r=new AbortController,a=(()=>{let t=new Headers;return e.headers.forEach((e,r)=>{t.set((0,U.BU)(r,n),(0,U.BU)(e,n))}),t})(),i=(()=>{if(e.body?.mode==="raw")return"string"==typeof e.body.value?(0,U.BU)(e.body.value,n):e.body.value;if(e.body?.mode==="formdata"){let t=new FormData;return e.body.value.forEach(e=>{if("text"===e.type){t.append((0,U.BU)(e.key,n),(0,U.BU)(e.value,n));return}t.append((0,U.BU)(e.key,n),e.value)}),t}return e.body?.mode==="urlencoded"?new URLSearchParams(e.body.value.map(e=>[(0,U.BU)(e.key,n),(0,U.BU)(e.value,n)])):null})(),o=new URLSearchParams,l=[];e.options?.disableSecurity||e.security.forEach(e=>{let t=(0,U.BU)(e.name,n),r=(()=>{let t=(0,U.BU)(e.value,n);return"basic"===e.format?`Basic ${(0,R.cv)(t)}`:"bearer"===e.format?`Bearer ${t}`:t})();if("header"===e.in){a.append(t,r);return}if("query"===e.in){o.append(t,r);return}"cookie"===e.in&&l.push({name:t,value:r,isDisabled:!1})});let s=X(e,{envVariables:n,securityQueryParams:o}),u=(0,M._)(e.proxyUrl,s),c=F({cookies:[...e.cookies,...l].map(e=>({...e,name:(0,U.BU)(e.name,n),value:(0,U.BU)(e.value,n)})),originalCookieHeader:a.get("cookie"),url:s,useCustomCookieHeader:(u||e.options?.isElectron)??!1});c&&a.set(c.name,c.value);let d=V(s,e.allowedReservedQueryParameters??new Set);return{requestPayload:[u?(0,M.L)(e.proxyUrl,d):d,{method:e.method.toUpperCase(),headers:a,body:i,cache:e.cache,signal:r.signal}],controller:r,isUsingProxy:u}},tF=(e,t)=>"content"in t?tQ(e,Object.keys(t.content??{})[0]??""):"schema"in t?tq(e,t.schema):e,tQ=(e,t)=>{if("string"==typeof e&&t.includes("json"))try{return JSON.parse(e)}catch{}return e},tH=new Set(["array","object","boolean","number","integer","null"]),tq=(e,t)=>
226{let n=(0,r.n)(t);if("string"==typeof e&&n&&"type"in n){let t=Array.isArray(n.type)?n.type[0]:n.type;if(t&&tH.has(t))try{return JSON.parse(e)}catch{if("array"===t)return e.split(/,\s?/).filter(e=>""!==e)}}return e},tV=(e,t)=>"string"==typeof e?e:t.includes("json")||"object"==typeof e&&null!==e&&!Array.isArray(e)?JSON.stringify(e):String(e),tW=(e,t)=>{if(Array.isArray(e))return e.join(",");if("object"==typeof e&&null!==e){let n=Object.entries(e);return t?n.map(([e,t])=>`${e}=${t}`).join(","):n.map(([e,t])=>`${e},${t}`).join(",")}return e},tX=(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,tY=(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 n=[];for(let[r,a]of Object.entries(e))"object"!=typeof a||null===a||Array.isArray(a)?n.push(r,null===a?"null":String(a)):n.push(r,...t(a));return n};return t(e).join(",")}return e},tG=e=>Array.isArray(e)?e.join(" "):"object"==typeof e&&null!==e?Object.entries(e).map(([e,t])=>`${e} ${t}`).join(" "):String(e),tK=e=>Array.isArray(e)?e.join("|"):"object"==typeof e&&null!==e?Object.entries(e).flat().join("|"):String(e),tJ=(e,t)=>{let n=[],r=(e,t)=>{for(let[a,i]of Object.entries(e)){let e=`${t}[${a}]`;"object"!=typeof i||null===i||Array.isArray(i)?n.push({key:e,value:String(i)}):r(i,e)}};return"object"!=typeof t||null===t||Array.isArray(t)||r(t,e),n},t0=e=>e.variables.reduce((e,t)=>(e[t.name]="string"==typeof t.value?t.value:t.value.default,e),{});var t1=n(39473);let t2=e=>e?(0,t1.q)(e?.variables??{}).reduce((e,[t,n])=>(n.default&&(e[t]=n.default),e),{}):{},t4=({server:e,path:t,urlParams:n})=>{let r=t2(e);return(0,W.GK)((0,U.bU)(e?.url??"",r),t,n)};var t8=n(19046);let t6=(e,t="")=>{let n=[];return e.forEach(e=>{if("apiKey"===e.type){let r=e.name,a=e["x-scalar-secret-token"]||t;if("header"===e.in)return n.push({in:e.in,name:r,value:a});if("query"===e.in)return n.push({in:"query",name:r,value:a});if("cookie"===e.in)return n.push({in:"cookie",name:r,value:a})}if("http"===e.type){if("basic"===e.scheme){let t=e["x-scalar-secret-username"],r=e["x-scalar-secret-password"],a=`${t}:${r}`;return n.push({in:"header",name:"Authorization",value:":"===a?"username:password":a,format:"basic"})}let r=e["x-scalar-secret-token"];return n.push({in:"header",name:"Authorization",value:r||t,format:"bearer"})}if("oauth2"===e.type){let r=Object.values(e?.flows??{}),a=r.filter(u.$).find(e=>e["x-scalar-secret-token"])?.["x-scalar-secret-token"]??"";return n.push({in:"header",name:"Authorization",value:a||t,format:"bearer"})}if("openIdConnect"===e.type){let r=Object.values(e?.flows??{}),a=r.filter(u.$).find(e=>e["x-scalar-secret-token"])?.["x-scalar-secret-token"]??"";return n.push({in:"header",name:"Authorization",value:a||t,format:"bearer"})}return null}),n},t3=(e,t,n)=>e.content[t]?.encoding?.[n]?.contentType,t5=(e,t="default",n)=>{if(!e)return null;let r=N(e,t);if(!r)return null;let a=I(e,r,t,n);if(!a)return null;if(("multipart/form-data"===r||"application/x-www-form-urlencoded"===r)&&Array.isArray(a.value)){let t=(Array.isArray(a.value)?a.value:[]).filter(e=>!e.isDisabled),n="multipart/form-data"===r?{mode:"formdata",value:[]}:{mode:"urlencoded",value:[]};return t.forEach(({name:t,value:a})=>{if(!t)return;let o="formdata"===n.mode?t3(e,r,t):void 0;if(a instanceof File&&"formdata"===n.mode){let e=(0,i.O)(a),r=o&&o!==e.type?new File([e],e.name,{type:o,lastModified:e.lastModified}):e;return n.value.push({type:"file",key:t,value:r,contentType:o})}if(null!=a){let e="object"==typeof a&&null!==a?JSON.stringify((0,i.O)(a)):String(a);return"formdata"===n.mode&&o?n.value.push({type:"blob",key:t,value:new Blob([e],{type:o}),contentType:o}):n.value.push({type:"text",key:t,value:e})}}),n}if("application/x-www-form-urlencoded"===r&&null!==a.value&&"object"==typeof a.value&&!Array.isArray(a.value)){let e={mode:"urlencoded",value:[]};for(let[t,n]of Object.entries(a.value))if(t&&null!=n){let r="string"==typeof n?n:String(n);e.value.push({key:t,value:r})}return e}let o=null!==a.value&&"object"==typeof a.value?(0,i.O)(a.value):a.value;
226return o instanceof File?{mode:"raw",value:o,contentType:o.type}:"object"==typeof o?{mode:"raw",value:JSON.stringify(o),contentType:"application/json"}:{mode:"raw",value:o}};var t7=n(60935),t9=n(24725);let ne=(e,t)=>{let n=t?.["x-disabled"];return"boolean"==typeof n?n:!e.required&&"path"!==e.in},nt=(e,t)=>"explode"in e&&void 0!==e.explode?e.explode:t,nn=(e=[],t="default")=>{let n={cookies:[],headers:{},pathVariables:{},allowReservedQueryParameters:new Set,urlParams:new URLSearchParams};if(0===e.length)return n;for(let a of e){let e=(0,r.n)(a),i=s(e,t,void 0);if(!i||ne(e,i))continue;let o=tF(i.value,e),l=e.name;switch(e.in){case"header":{if("content-type"===l.toLowerCase()&&"multipart/form-data"===o)break;let t=tW(o,nt(e,!1));if(!(0,u.$)(t))break;let r=String(t);n.headers[l]?n.headers[l]=`${n.headers[l]},${r}`:n.headers[l]=r;break}case"path":{let t=tW(o,nt(e,!1));n.pathVariables[l]=String(t);break}case"query":no(e,l,o,n.urlParams,n.allowReservedQueryParameters);break;case"cookie":nl(l,o,nt(e,!0),n.cookies)}}return n},nr=(e,t)=>"style"in e&&e.style?"deepObject"===e.style?(0,a.K)(t)?"deepObject":"form":e.style:"form",na=e=>"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,ni=(e,t,...n)=>{if(t)for(let t of n)e.add(t)},no=(e,t,n,r,a)=>{let i=!("explode"in e)||void 0===e.explode||e.explode,o=na(e),l=nr(e,n);if("content"in e&&e.content){let i=tV(n,Object.keys(e.content)[0]??"application/json");r.set(t,i),ni(a,o,t);return}
226if("deepObject"===l&&i){for(let e of tJ(t,n))r.append(e.key,e.value),ni(a,o,t);return}if("spaceDelimited"===l){let e=tG(n),i=r.get(t);r.set(t,i?`${i} ${e}`:e),ni(a,o,t);return}if("pipeDelimited"===l){let e=tK(n),i=r.get(t);r.set(t,i?`${i}|${e}`:e),ni(a,o,t);return}let s=tX(n,i);if(Array.isArray(s))for(let e of s){let n=e.key||t;r.append(n,String(e.value)),ni(a,o,t)}else r.append(t,String(s)),ni(a,o,t)},nl=(e,t,n,r)=>{let a=tY(t,n);if(Array.isArray(a))for(let t of a){let n=t.key||e;r.push((0,t9.a)(t7.yD,{name:n,value:String(t.value),path:"/"}))}else r.push((0,t9.a)(t7.yD,{name:e,value:String(a),path:"/"}))},ns=({exampleName:e,globalCookies:t,method:n,operation:a,path:i,proxyUrl:o,server:l,defaultHeaders:s,isElectron:u,selectedSecuritySchemes:c,requestBodyCompositionSelection:d})=>{let p=(0,r.n)(a.requestBody),m=nn(a.parameters??[],e),f=t6(c),h=new Headers({...s,...m.headers}),g=(0,t8.LV)(n)?t5(p,e,d):null;(g?.mode==="formdata"||g?.mode==="urlencoded")&&h.delete("Content-Type");let v=t2(l),y=(0,U.hb)(l?.url??"",v),b=h.get("User-Agent");u&&b&&h.set(j.cv,b);let O=a["x-scalar-disable-parameters"]?.["global-cookies"]?.[e]??{},w=[...t.map(e=>({...e,isDisabled:(e.isDisabled||O[e.name.toLowerCase()])??!1})),...m.cookies],k=h.get("Accept"),x=k?.toLowerCase().includes("text/event-stream")??!1;return x&&(h.set("Cache-Control","no-cache"),h.set("Pragma","no-cache")),{request:{baseUrl:y,proxyUrl:o,path:{variables:m.pathVariables,raw:i},query:m.urlParams,method:n.toUpperCase(),headers:h,body:g,cookies:w,cache:x?"no-store":"default",security:f,options:{isElectron:u},allowedReservedQueryParameters:m.allowReservedQueryParameters}}};var nu=n(81435);let nc=(e,t)=>{if(null===e)return{name:null,environment:(0,t9.a)(nu.pW,{})};let n=e.workspace["x-scalar-active-environment"];if(!n)return{name:null,environment:(0,t9.a)(nu.pW,{})};let r=e.workspace["x-scalar-environments"]?.[n]??{variables:[]},a=t?.["x-scalar-environments"]?.[n]??{variables:[]};return{name:n,environment:(0,t9.a)(nu.pW,{...r,...a,variables:[...r.variables,...a.variables]})}},nd=({method:e,operation:t,exampleName:n,hideDisabledHeaders:a=!1,options:i={isElectron:!1,appVersion:"0.0.0"}})=>{let o=t["x-scalar-disable-parameters"]?.["default-headers"]?.[n]??{},l=new Headers,s=(0,r.n)(t.requestBody);if((0,t8.LV)(e)&&s){let e=s["x-scalar-selected-content-type"]?.[n]??Object.keys(s.content??{})[0];e&&"none"!==e&&l.set("Content-Type",e)}let u=Object.keys(t.responses??{}).find(e=>e.startsWith("2")),c=u?(0,r.n)(t.responses[u]):null,d=Object.keys(c?.content??{}).join(", ")||"*/*";return(l.set("Accept",d),i.isElectron&&i.appVersion&&l.set("User-Agent",`Scalar/${i.appVersion}`),a)?Object.fromEntries(Array.from(l.entries()).filter(([e])=>!0!==o[e.toLowerCase()])):Object.fromEntries(l.entries())},np=(e=[],t=[])=>{let n=new Set(t.flatMap(e=>{let t=(0,r.n)(e);return t?`${t.in}:${t.name}`:[]}));return[...e.filter(e=>{let t=(0,r.n)(e);return!!t&&!n.has(`${t.in}:${t.name}`)}),...t]},nm=e=>"web"===e?"https://proxy.scalar.com":null,nf=(e,t)=>void 0===e?nm(t):e,nh=(e,t)=>"[{}]"===JSON.stringify(t)&&e?.length?e.find(e=>"{}"===JSON.stringify(e))?e:[...e,{}]:t??e??[];var ng=n(83294);let nv=(e,t)=>(0,ng.Y)(t).flatMap(t=>(0,r.n)(e?.[t])||[]),ny=e=>{let t=e.some(e=>Object.keys(e).length>1);return e.some(e=>0===Object.keys(e).length)&&!t},nb=e=>e&&"oauth2"===e.type?e["x-default-scopes"]??[]:[],nO=(e,t)=>
226{let n=!1,a=Object.fromEntries(Object.entries(e).map(([e,a])=>{if(Array.isArray(a)&&a.length>0)return[e,a];let i=(0,r.n)(t[e]),o=i?.type==="oauth2"?i["x-default-scopes"]:void 0;return Array.isArray(o)&&o.length>0?(n=!0,[e,[...o]]):[e,a]}));return n?a:e},nw=(e,t)=>{if(!Array.isArray(e)){let n=(0,r.n)(t[e]);return{[e]:nb(n)}}let n={};for(let a of e)if(Array.isArray(a))for(let e of a){let a=(0,r.n)(t[e]);n[e]=nb(a)}else{let e=(0,r.n)(t[a]);n[a]=nb(e)}return n},nk=(e,t,n=[],r={},a)=>{if(t)return t;if(e)return e;if(ny(n)&&!a)return{selectedIndex:-1,selectedSchemes:[]};if(a)return{selectedIndex:0,selectedSchemes:[nw(a,r)]};let i=n[0];return i?{selectedIndex:0,selectedSchemes:[nO(i,r)]}:{selectedIndex:-1,selectedSchemes:[]}};var nx=n(49884),nS=n(6598),n_=n(39892);let nE={"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"},nA=(e,t,n={})=>Object.fromEntries(e.map(e=>{let r="string"==typeof n[e]?n[e]:void 0,a="string"==typeof t[e]?t[e]:void 0,i="string"==typeof t[nE[e]]?t[nE[e]]:void 0;return[e,"x-scalar-secret-redirect-uri"===e?r??a??i??"":r||a||i||""]})),nT=(e={})=>{let t=e["x-scalar-secret-refresh-token"];return"string"==typeof t?{"x-scalar-secret-refresh-token":t}:{}},nD=(e,t={})=>{let n=t["x-scalar-credentials-location"]??e["x-scalar-credentials-location"];return n?{"x-scalar-credentials-location":n}:{}},nC=(e,t)=>{let n=new Set;return{flows:(0,t1.q)(e??{}).reduce((e,[r,i])=>{if(!(0,a.K)(i))return e;let o=i.selectedScopes;return Array.isArray(o)&&o.forEach(e=>"string"==typeof e&&n.add(e)),"implicit"===r&&(e.implicit={...i,...nA(["x-scalar-secret-client-id","x-scalar-secret-redirect-uri","x-scalar-secret-token","x-scalar-secret-auth-url"],i,t?.implicit),...nT(t?.implicit)}),"password"===r&&(e[r]={...i,...nA(["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"],i,t?.password),...nD(i,t?.password),...nT(t?.password)}),"clientCredentials"===r&&(e[r]={...i,...nA(["x-scalar-secret-client-id","x-scalar-secret-client-secret","x-scalar-secret-token","x-scalar-secret-token-url"],i,t?.clientCredentials),...nD(i,t?.clientCredentials),...nT(t?.clientCredentials)}),"authorizationCode"===r&&(e[r]={...i,...nA(["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"],i,t?.authorizationCode),...nD(i,t?.authorizationCode),...nT(t?.authorizationCode)}),e},{}),selectedScopes:Array.from(n)}},n$=(e,t,n,r)=>{let a=t.getAuthSecrets(r,n);if("apiKey"===e.type){let t=a?.type==="apiKey"?a:void 0;return{...e,"x-scalar-secret-token":t?.["x-scalar-secret-token"]||e.value||""}}if("http"===e.type){let t=a?.type==="http"?a:void 0;return{...e,"x-scalar-secret-token":t?.["x-scalar-secret-token"]||e.token||"","x-scalar-secret-username":t?.["x-scalar-secret-username"]||e.username||"","x-scalar-secret-password":t?.["x-scalar-secret-password"]||e.password||""}}if("oauth2"===e.type){let t=a?.type==="oauth2"?a:void 0,n=nC(e.flows,t),r=Array.from(new Set([...Array.isArray(e["x-default-scopes"])?e["x-default-scopes"].filter(e=>"string"==typeof e):[],...n.selectedScopes]));return{...e,flows:n.flows,"x-default-scopes":r}}if("openIdConnect"===e.type){let t=a?.type==="openIdConnect"?a:void 0,n=nC({implicit:t?.implicit,password:t?.password,clientCredentials:t?.clientCredentials,authorizationCode:t?.authorizationCode},t);return{...e,...(0,t1.q)(n.flows).length?{flows:n.flows}:{}}}return e},nP=(e={},t={},n,a)=>{let i=(0,t1.q)(e).reduce((e,[t,n])=>{let a=(0,nx.I)((0,r.n)(n));return a&&(e[t]=a),e},{}),o=(0,nS.P)(i,t)??{};return(0,t1.q)(o).reduce((e,[t,r])=>{let i={...(0,t9.a)(n_.wF,r),...r};return e[t]=n$(i,n,t,a),e},{})};function nI(e,t={}){return Array.isArray(e)?e.map(e=>(e.url?.startsWith("/")&&(e.url=function(e,t){let{baseServerUrl:n,documentUrl:r}=t;if(n)return(0,W._b)(n,e);if(r){let t=function(e){try{let t=new URL(e),n=t.port?`:${t.port}`:"";return`${t.protocol}//${t.hostname}${n}`}catch{return}}(r);if(t)return(0,W._b)(t,e)}let a=function(){if("undefined"!=typeof window&&"string"==typeof window?.location?.origin)return window.location.origin}();return a?(0,W._b)(a,e):e}(e.url,t)),e)):[]}let nN=(e,t,n,r)=>{let a=null!=n?e?.["x-scalar-selected-server"]:t?.["x-scalar-selected-server"]??e?.["x-scalar-selected-server"];return null==a?r[0]??null:r.find(({url:e})=>e===a)??null},nU=(e,t,n,a={})=>{let{path:i,method:o,exampleName:l}=n,s=e.workspace.documents[t]??a.fallbackDocument??void 0;if(!s)return{ok:!1,error:`Document ${t} not found`};let u=(0,r.n)(s.paths?.[i]);if(!u)return{ok:!1,error:`Path ${i} not found`};let c=(0,r.n)(u[o]);if(!c)return{ok:!1,error:`Method ${o} not found on path ${i}`};let d={...c,parameters:np(u.parameters,c.parameters??[])},p=nc(e,s),m=nI(a.servers??d.servers??s.servers,{baseServerUrl:a.baseServerUrl,documentUrl:s["x-scalar-original-source-url"]}),f=nN(s,d,a.servers??null,m),h=e.auth.getAuthSelectedSchemas({type:"document",documentName:t}),g=e.auth.getAuthSelectedSchemas({type:"operation",documentName:t,path:i??"",method:o??"get"}),v=nP(s.components?.securitySchemes??{},a.authentication?.securitySchemes??{},e.auth,t),y=nh(s.security,d.security),b=nk(h,g,y,v,a.authentication?.preferredSecurityScheme),O=nv(v,b.selectedSchemes[b.selectedIndex]??{}),w=null!=d.servers?{type:"operation",path:i??"",method:o??"get"}:{type:"document"},k=void 0!==g?{type:"operation",path:i??"",method:o??"get"}:{type:"document"},x=nf(e.workspace["x-scalar-active-proxy"],a.layout??"other"),S=nd({method:o,operation:d,exampleName:l,options:{appVersion:a.appVersion??"0.0.0",isElectron:a.isElectron??!1}});return{ok:!0,data:{operation:d,environment:p,cookies:{workspace:e.workspace["x-scalar-cookies"]??[],document:s["x-scalar-cookies"]??[]},headers:{default:S},servers:{list:m,selected:f,meta:w},proxy:{url:x},security:{schemes:v,requirements:y,selected:b,selectedSchemes:O,meta:k}}}};function nM(){let e=[],t=[],n=[],r=[];return{getEnvironment:()=>e,getGlobals:()=>n,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=>{n.length=0,n.push(...e)},getVariables:()=>Object.fromEntries([...n,...t,...e,...r].map(e=>[e.key,e.value]))}}},17104:function(e,t,n){"use strict";n.d(t,{D:function(){return u}});var r=n(76790),a=n(74275),i=n(42660),o=n(24725),l=n(39892);let s=e=>{let{"$ref-value":t,...n}=e;return{...t,...n}},u={schema:e=>{if(void 0===e)return;let t=(0,a.n)(e,s);return(0,o.a)((0,i.q)(l.Rq,r.Dy.Object({$ref:r.Dy.Optional(r.Dy.String())})),t)}}},42660:function(e,t,n){"use strict";n.d(t,{q:function(){return a}});var r=n(76790);let a=(...e)=>r.Dy.Composite(e)},61697:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});let r={document:{navigation:"x-scalar-navigation"},workspace:{colorMode:"x-scalar-color-mode",sidebarWidth:"x-scalar-sidebar-width",defaultClient:"x-scalar-default-client",activeDocument:"x-scalar-active-document",theme:"x-scalar-theme"}}},42317:function(e,t,n){"use strict";n.d(t,{E:function(){return i},F:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-internal":r.Dy.Optional(r.Dy.Boolean())}),o=(0,a.Ry)({"x-internal":(0,a.jt)((0,a.O7)({typeComment:"Extension to mark an entity as internal"}))},{typeName:"XInternal",typeComment:"Extension to mark an entity as internal"})},81435:function(e,t,n){"use strict";n.d(t,{Dg:function(){return u},Lq:function(){return i},gH:function(){return c},pW:function(){return l}});var r=n(76790),a=n(70402);let i=r.Dy.Object({name:r.Dy.String(),value:r.Dy.Union([r.Dy.Object({description:r.Dy.Optional(r.Dy.String()),default:r.Dy.String({default:""})}),r.Dy.String()])}),o=(0,a.Ry)({name:(0,a.Z_)(),value:(0,a.G0)([(0,a.Ry)({description:(0,a.jt)((0,a.Z_)()),default:(0,a.Z_)()}),(0,a.Z_)()])},{typeName:"XScalarEnvVar"}),l=r.Dy.Object({description:r.Dy.Optional(r.Dy.String()),color:r.Dy.String({default:"#FFFFFF"}),variables:r.Dy.Array(i)}),s=(0,a.Ry)({description:(0,a.jt)((0,a.Z_)()),color:(0,a.Z_)({typeComment:"Color for the environment"}),variables:(0,a.IX)(o,{typeComment:"An array of variables"})}
226,{typeName:"XScalarEnvironment",typeComment:"A map of environments by name"}),u=r.Dy.Object({"x-scalar-environments":r.Dy.Optional(r.Dy.Record(r.Dy.String(),l))}),c=(0,a.Ry)({"x-scalar-environments":(0,a.jt)((0,a.IM)((0,a.Z_)(),s))},{typeName:"XScalarEnvironments",typeComment:"A record of environments by name"})},21327:function(e,t,n){"use strict";n.d(t,{J:function(){return i},e:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-scalar-icon":r.Dy.Optional(r.Dy.String())}),o=(0,a.Ry)({"x-scalar-icon":(0,a.jt)((0,a.Z_)())},{typeName:"XScalarIcon",typeComment:"A custom icon representing the collection"})},64350:function(e,t,n){"use strict";n.d(t,{K:function(){return i},d:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-scalar-ignore":r.Dy.Optional(r.Dy.Boolean())}),o=(0,a.Ry)({"x-scalar-ignore":(0,a.jt)((0,a.O7)())},{typeName:"XScalarIgnore",typeComment:"Internal extension to mark an entity as ignored"})},75427:function(e,t,n){"use strict";n.d(t,{K:function(){return o},d:function(){return i}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-scalar-is-dirty":r.Dy.Optional(r.Dy.Boolean())}),o=(0,a.Ry)({"x-scalar-is-dirty":(0,a.jt)((0,a.O7)({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"})},39326:function(e,t,n){"use strict";n.d(t,{K:function(){return i},Q:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-scalar-original-document-hash":r.Dy.String()}),o=(0,a.Ry)({"x-scalar-original-document-hash":(0,a.Z_)({typeComment:"Original input document hash"})},{typeName:"XScalarOriginalDocumentHash",typeComment:"Original input document hash"})},93892:function(e,t,n){"use strict";n.d(t,{F:function(){return s},a:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({namespace:r.Dy.String(),slug:r.Dy.String()}),o=r.Dy.Object({"x-scalar-registry-meta":r.Dy.Optional(i)}),l=(0,a.Ry)({namespace:(0,a.Z_)({typeComment:"The namespace under which this registry meta is scoped."}),slug:(0,a.Z_)({typeComment:"A unique slug identifier for this registry meta within the namespace."})},{typeName:"XScalarRegistryMetaInner",typeComment:"Registry meta namespace and slug"}),s=(0,a.Ry)({"x-scalar-registry-meta":(0,a.jt)(l)},{typeName:"XScalarRegistryMeta",typeComment:"The registry meta for the document"})},20173:function(e,t,n){"use strict";n.d(t,{U:function(){return s},h:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({lang:r.Dy.String(),source:r.Dy.Optional(r.Dy.String()),description:r.Dy.Optional(r.Dy.String())}),o=r.Dy.Object({"x-scalar-sdk-installation":r.Dy.Optional(r.Dy.Array(i))}),l=(0,a.Ry)({lang:(0,a.Z_)(),source:(0,a.jt)((0,a.Z_)()),description:(0,a.jt)((0,a.Z_)())},{typeName:"XScalarSdkInstallationItem",typeComment:"Scalar SDK installation entry"}),s=(0,a.Ry)({"x-scalar-sdk-installation":(0,a.jt)((0,a.IX)(l,{typeComment:"Scalar SDK installation information"}))},{typeName:"XScalarSdkInstallation",typeComment:"Scalar SDK installation information"})},28454:function(e,t,n){"use strict";n.d(t,{q:function(){return o},v:function(){return i}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-scalar-watch-mode":r.Dy.Optional(r.Dy.Boolean())}),o=(0,a.Ry)({"x-scalar-watch-mode":(0,a.jt)((0,a.O7)({typeComment:"Whether the document is in watch mode"}))},{typeName:"XScalarWatchMode",typeComment:"Whether the document is in watch mode"})},83986:function(e,t,n){"use strict";n.d(t,{K:function(){return i},P:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-tags":r.Dy.Optional(r.Dy.Array(r.Dy.String()))}),o=(0,a.Ry)({"x-tags":(0,a.jt)((0,a.IX)((0,a.Z_)()))},{typeName:"XTags",typeComment:"Custom tag ordering or grouping hints for schema objects"})},41193:function(e,t,n){"use strict";n.d(t,{s:function(){return i},v:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-disabled":r.Dy.Optional(r.Dy.Boolean())}),o=(0,a.Ry)({"x-disabled":(0,a.jt)((0,a.O7)())},{typeName:"XDisabled",typeComment:"Whether a parameter example is disabled in the API client"})},33245:function(e,t,n){"use strict";n.d(t,{K:function(){return i},_:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-post-response":r.Dy.Optional(r.Dy.String())}),o=(0,a.Ry)({"x-post-response":(0,a.jt)((0,a.Z_)({typeComment:"Script to run after a response is received"}))},{typeName:"XPostResponse",typeComment:"Post-response script for an operation"})},33209:function(e,t,n){"use strict";n.d(t,{c:function(){return o},w:function(){return i}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-pre-request":r.Dy.Optional(r.Dy.String())}),o=(0,a.Ry)({"x-pre-request":(0,a.jt)((0,a.Z_)())},{typeName:"XPreRequest",typeComment:"Pre-request script to run before the request is sent."})},23517:function(e,t,n){"use strict";n.d(t,{B:function(){return o},X:function(){return i}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-scalar-active-environment":r.Dy.Optional(r.Dy.String())}),o=(0,a.Ry)({"x-scalar-active-environment":(0,a.jt)((0,a.Z_)({typeComment:"The currently selected environment"}))}
226,{typeName:"XScalarActiveEnvironment",typeComment:"The currently selected environment"})},60935:function(e,t,n){"use strict";n.d(t,{qN:function(){return l},yD:function(){return i},zR:function(){return s}});var r=n(76790),a=n(70402);let i=r.Dy.Object({name:r.Dy.String(),value:r.Dy.String(),domain:r.Dy.Optional(r.Dy.String()),path:r.Dy.Optional(r.Dy.String()),isDisabled:r.Dy.Optional(r.Dy.Boolean())}),o=(0,a.Ry)({name:(0,a.Z_)({typeComment:"Defines the cookie name and its value."}),value:(0,a.Z_)({typeComment:"Defines the cookie value."}),domain:(0,a.jt)((0,a.Z_)({typeComment:"Allows this domain and all subdomains."})),path:(0,a.jt)((0,a.Z_)({typeComment:"Restricts this cookie to requests that contain this path."})),isDisabled:(0,a.jt)((0,a.O7)({typeComment:"Indicates if the cookie is disabled."}))},{typeName:"XScalarCookie",typeComment:"A persisted cookie definition for the workspace"}),l=r.Dy.Object({"x-scalar-cookies":r.Dy.Optional(r.Dy.Array(i))}),s=(0,a.Ry)({"x-scalar-cookies":(0,a.jt)((0,a.IX)(o,{typeComment:"Cookies persisted for the workspace"}))},{typeName:"XScalarCookies",typeComment:"Persisted workspace cookies"})},7977:function(e,t,n){"use strict";n.d(t,{l:function(){return i},n:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-scalar-order":r.Dy.Optional(r.Dy.Array(r.Dy.String()))}),o=(0,a.Ry)({"x-scalar-order":(0,a.jt)((0,a.IX)((0,a.Z_)()))},{typeName:"XScalarOrder",typeComment:"Custom order for elements in the Scalar UI"})},62677:function(e,t,n){"use strict";n.d(t,{M:function(){return l},QP:function(){return s}});var r=n(76790),a=n(70402);let i=r.Dy.Object({name:r.Dy.String({description:"The text that displays in the badge",minLength:1}),position:r.Dy.Optional(r.Dy.Union([r.Dy.Literal("before"),r.Dy.Literal("after")],{description:"The position of the badge in relation to the header",default:"after"})),color:r.Dy.Optional(r.Dy.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"}),o=(0,a.Ry)({name:(0,a.Z_)({typeComment:"The text that displays in the badge. This is required for all badges."}),position:(0,a.jt)((0,a.G0)([(0,a.i0)("before"),(0,a.i0)("after")],{typeComment:"The position of the badge in relation to the header"})),color:(0,a.jt)((0,a.Z_)({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"}),l=r.Dy.Object({"x-badges":r.Dy.Optional(r.Dy.Array(i))}),s=(0,a.Ry)({"x-badges":(0,a.jt)((0,a.IX)(o,{typeComment:"Badges displayed for this operation in documentation"}))},{typeName:"XBadges",typeComment:"Badges for an operation in the Scalar UI"})},43922:function(e,t,n){"use strict";n.d(t,{WW:function(){return o},oU:function(){return s}});var r=n(76790),a=n(70402);let i=r.Dy.Object({lang:r.Dy.Optional(r.Dy.String()),label:r.Dy.Optional(r.Dy.String()),source:r.Dy.String()}),o=r.Dy.Object({"x-codeSamples":r.Dy.Optional(r.Dy.Array(i)),"x-code-samples":r.Dy.Optional(r.Dy.Array(i)),"x-custom-examples":r.Dy.Optional(r.Dy.Array(i))}),l=(0,a.Ry)({lang:(0,a.jt)((0,a.Z_)()),label:(0,a.jt)((0,a.Z_)()),source:(0,a.Z_)()},{typeName:"XCodeSample",typeComment:"A single code sample for documentation or examples"}),s=(0,a.Ry)({"x-codeSamples":(0,a.jt)((0,a.IX)(l)),"x-code-samples":(0,a.jt)((0,a.IX)(l)),"x-custom-examples":(0,a.jt)((0,a.IX)(l))},{typeName:"XCodeSamples",typeComment:"Code samples attached to an operation"})},93722:function(e,t,n){"use strict";n.d(t,{f:function(){return i},k:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-draft-examples":r.Dy.Optional(r.Dy.Array(r.Dy.String()))}),o=(0,a.Ry)({"x-draft-examples":(0,a.jt)((0,a.IX)((0,a.Z_)()))},{typeName:"XDraftExamples",typeComment:"Draft example identifiers for an operation"})},58231:function(e,t,n){"use strict";n.d(t,{A:function(){return l},l:function(){return d}});var r=n(76790),a=n(70402);let i=r.Dy.Record(r.Dy.String(),r.Dy.Boolean()),o=r.Dy.Record(r.Dy.String(),i),l=r.Dy.Object({"x-scalar-disable-parameters":r.Dy.Optional(r.Dy.Object({"global-cookie
226s":r.Dy.Optional(o),"global-headers":r.Dy.Optional(o),"default-headers":r.Dy.Optional(o)}))}),s=(0,a.IM)((0,a.Z_)(),(0,a.O7)()),u=(0,a.IM)((0,a.Z_)(),s),c=(0,a.Ry)({"global-cookies":(0,a.jt)(u),"global-headers":(0,a.jt)(u),"default-headers":(0,a.jt)(u)},{typeName:"DisableParametersConfig",typeComment:"Disabled parameter state by category and example"}),d=(0,a.Ry)({"x-scalar-disable-parameters":(0,a.jt)(c)},{typeName:"XScalarDisableParameters",typeComment:"Tracks which parameters are disabled across examples"})},50229:function(e,t,n){"use strict";n.d(t,{W:function(){return o},Z:function(){return i}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-scalar-selected-content-type":r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.String()))}),o=(0,a.Ry)({"x-scalar-selected-content-type":(0,a.jt)((0,a.IM)((0,a.Z_)(),(0,a.Z_)(),{typeComment:"Selected content type per example name"}))},{typeName:"XScalarSelectedContentType",typeComment:"Selected content type per example for request or response bodies"})},99093:function(e,t,n){"use strict";n.d(t,{Du:function(){return i},UA:function(){return o},m_:function(){return l}});var r=n(76790),a=n(70402);let i={Deprecated:"deprecated",Experimental:"experimental",Stable:"stable"},o=r.Dy.Object({"x-scalar-stability":r.Dy.Optional(r.Dy.Union([r.Dy.Literal("deprecated"),r.Dy.Literal("experimental"),r.Dy.Literal("stable")]))}),l=(0,a.Ry)({"x-scalar-stability":(0,a.jt)((0,a.G0)([(0,a.i0)("deprecated"),(0,a.i0)("experimental"),(0,a.i0)("stable")],{typeComment:"Stability level of the operation"}))},{typeName:"XScalarStability",typeComment:"Stability of the operation in the Scalar UI"})},6595:function(e,t,n){"use strict";n.d(t,{A:function(){return o},x:function(){return i}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-global":r.Dy.Optional(r.Dy.Boolean())}),o=(0,a.Ry)({"x-global":(0,a.jt)((0,a.O7)())},{typeName:"XGlobal",typeComment:"When true, the parameter is injected into every request for the workspace"})},8879:function(e,t,n){"use strict";n.d(t,{D:function(){return o},x:function(){return i}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-additionalPropertiesName":r.Dy.Optional(r.Dy.String())}),o=(0,a.Ry)({"x-additionalPropertiesName":(0,a.jt)((0,a.Z_)())},{typeName:"XAdditionalPropertiesName",typeComment:"Display name for additional properties on a schema"})},43718:function(e,t,n){"use strict";n.d(t,{Z:function(){return i},_:function(){return l}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-enumDescriptions":r.Dy.Optional(r.Dy.Union([r.Dy.Record(r.Dy.String(),r.Dy.String()),r.Dy.Array(r.Dy.String())])),"x-enum-descriptions":r.Dy.Optional(r.Dy.Union([r.Dy.Record(r.Dy.String(),r.Dy.String()),r.Dy.Array(r.Dy.String())]))}),o=(0,a.G0)([(0,a.IM)((0,a.Z_)(),(0,a.Z_)()),(0,a.IX)((0,a.Z_)())]),l=(0,a.Ry)({"x-enumDescriptions":(0,a.jt)(o),"x-enum-descriptions":(0,a.jt)(o)},{typeName:"XEnumDescriptions",typeComment:"Descriptions for enum values"})},18005:function(e,t,n){"use strict";n.d(t,{V:function(){return o},W:function(){return i}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-enum-varnames":r.Dy.Optional(r.Dy.Array(r.Dy.String())),"x-enumNames":r.Dy.Optional(r.Dy.Array(r.Dy.String()))}),o=(0,a.Ry)({"x-enum-varnames":(0,a.jt)((0,a.IX)((0,a.Z_)())),"x-enumNames":(0,a.jt)((0,a.IX)((0,a.Z_)()))},{typeName:"XEnumVarNames",typeComment:"Display names for enum values"})},88922:function(e,t,n){"use strict";n.d(t,{$:function(){return o},D:function(){return i}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-examples":r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Unknown()))}),o=(0,a.Ry)({"x-examples":(0,a.jt)((0,a.IM)((0,a.Z_)(),(0,a.Yj)()))},{typeName:"XExamples",typeComment:"Named examples attached to a schema"})},20854:function(e,t,n){"use strict";n.d(t,{p:function(){return i},r:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-variable":r.Dy.Optional(r.Dy.String())}),o=(0,a.Ry)({"x-variable":(0,a.jt)((0,a.Z_)())},{typeName:"XVariable",typeComment:"Variable reference for a schema property"})},76038:function(e,t,n){"use strict";n.d(t,{$:function(){return i},D:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-default-scopes":r.Dy.Optional(r.Dy.Array(r.Dy.String()))}),o=(0,a.Ry)({"x-default-scopes":(0,a.jt)((0,a.IX)((0,a.Z_)()))},{typeName:"XDefaultScopes",typeComment:"Default selected OAuth scopes"})},51035:function(e,t,n){"use strict";n.d(t,{E:function(){return i},r:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-scalar-credentials-location":r.Dy.Optional(r.Dy.Union([r.Dy.Literal("header"),r.Dy.Literal("body")]))}),o=(0,a.Ry)({"x-scalar-credentials-location":(0,a.jt)((0,a.G0)([(0,a.i0)("header"),(0,a.i0)("body")]))},{typeName:"XScalarCredentialsLocation",typeComment:"Where OAuth2 credentials are sent"})},59899:function(e,t,n){"use strict";n.d(t,{_:function(){return i},r:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-scalar-security-body":r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.String()))}),o=(0,a.Ry)({"x-scalar-security-body":(0,a.jt)((0,a.IM)((0,a.Z_)(),(0,a.Z_)()))}
226,{typeName:"XScalarSecurityBody",typeComment:"Additional OAuth token request body parameters"})},78636:function(e,t,n){"use strict";n.d(t,{E:function(){return o},y:function(){return i}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-scalar-security-query":r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.String()))}),o=(0,a.Ry)({"x-scalar-security-query":(0,a.jt)((0,a.IM)((0,a.Z_)(),(0,a.Z_)()))},{typeName:"XScalarSecurityQuery",typeComment:"Additional OAuth authorize query parameters"})},29133:function(e,t,n){"use strict";n.d(t,{FU:function(){return l},GU:function(){return m},Lw:function(){return c},O9:function(){return o},R7:function(){return f},T8:function(){return s},Ws:function(){return d},gG:function(){return u},i7:function(){return i},ov:function(){return p}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-scalar-secret-token":r.Dy.String()});(0,a.Ry)({"x-scalar-secret-token":(0,a.Z_)()},{typeName:"XScalarSecretToken",typeComment:"Persisted OAuth access token (sensitive)"});let o=r.Dy.Object({"x-scalar-secret-refresh-token":r.Dy.Optional(r.Dy.String())});(0,a.Ry)({"x-scalar-secret-refresh-token":(0,a.jt)((0,a.Z_)())},{typeName:"XScalarSecretRefreshToken",typeComment:"Persisted OAuth refresh token (sensitive)"});let l=r.Dy.Object({"x-scalar-secret-auth-url":r.Dy.Optional(r.Dy.String())}),s=(0,a.Ry)({"x-scalar-secret-auth-url":(0,a.jt)((0,a.Z_)())},{typeName:"XScalarAuthUrl",typeComment:"Persisted OAuth authorization URL override"}),u=r.Dy.Object({"x-scalar-secret-token-url":r.Dy.Optional(r.Dy.String())}),c=(0,a.Ry)({"x-scalar-secret-token-url":(0,a.jt)((0,a.Z_)())},{typeName:"XScalarTokenUrl",typeComment:"Persisted OAuth token URL override"}),d=r.Dy.Object({"x-scalar-secret-username":r.Dy.String(),"x-scalar-secret-password":r.Dy.String()});(0,a.Ry)({"x-scalar-secret-username":(0,a.Z_)(),"x-scalar-secret-password":(0,a.Z_)()},{typeName:"XScalarSecretHTTP",typeComment:"Persisted HTTP basic credentials (sensitive)"});let p=r.Dy.Object({"x-scalar-secret-client-secret":r.Dy.String()});(0,a.Ry)({"x-scalar-secret-client-secret":(0,a.Z_)()},{typeName:"XScalarSecretClientSecret",typeComment:"Persisted OAuth client secret (sensitive)"});let m=r.Dy.Object({"x-scalar-secret-client-id":r.Dy.String()});(0,a.Ry)({"x-scalar-secret-client-id":(0,a.Z_)()},{typeName:"XScalarSecretClientId",typeComment:"Persisted OAuth client ID"});let f=r.Dy.Object({"x-scalar-secret-redirect-uri":r.Dy.String()});(0,a.Ry)({"x-scalar-secret-redirect-uri":(0,a.Z_)()},{typeName:"XScalarSecretRedirectUri",typeComment:"Persisted OAuth redirect URI"})},57251:function(e,t,n){"use strict";n.d(t,{N:function(){return i},j:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-tokenName":r.Dy.Optional(r.Dy.String())}),o=(0,a.Ry)({"x-tokenName":(0,a.jt)((0,a.Z_)())},{typeName:"XTokenName",typeComment:"Custom OAuth2 access token field name"})},84181:function(e,t,n){"use strict";n.d(t,{Q:function(){return i},x:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-usePkce":r.Dy.Union([r.Dy.Literal("SHA-256"),r.Dy.Literal("plain"),r.Dy.Literal("no")],{default:"no"})}),o=(0,a.Ry)({"x-usePkce":(0,a.G0)([(0,a.i0)("SHA-256"),(0,a.i0)("plain"),(0,a.i0)("no")],{typeComment:"PKCE mode for the OAuth2 authorization code flow"})},{typeName:"XusePkce",typeComment:"PKCE setting for OAuth2"})},1821:function(e,t,n){"use strict";n.d(t,{N:function(){return i},U:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-scalar-selected-server":r.Dy.Optional(r.Dy.String())}),o=(0,a.Ry)({"x-scalar-selected-server":(0,a.jt)((0,a.Z_)({typeComment:"The URL of the currently selected server"}))},{typeName:"XScalarSelectedServer",typeComment:"The URL of the currently selected server"})},3277:function(e,t,n){"use strict";n.d(t,{Z:function(){return i},i:function(){return o}});var r=n(76790),a=n(70402);let i=r.Dy.Object({"x-displayName":r.Dy.Optional(r.Dy.String())}),o=(0,a.Ry)({"x-displayName":(0,a.jt)((0,a.Z_)())},{typeName:"XDisplayName",typeComment:"Display-friendly name for a tag"})},98969:function(e,t,n){"use strict";n.d(t,{Jm:function(){return u},rv:function(){return c}});var r=n(76790),a=n(70402),i=n(42660),o=n(7977);let l=(0,i.q)(r.Dy.Object({name:r.Dy.String(),tags:r.Dy.Array(r.Dy.String())}),o.l),s=(0,a.jV)([(0,a.Ry)({name:(0,a.Z_)({typeComment:"The group name."}),tags:(0,a.IX)((0,a.Z_)(),{typeComment:"List of tags to include in this group."})},{typeName:"XTagGroupBase"}),o.n],{typeName:"XTagGroup",typeComment:"A tag group with optional custom ordering"}),u=r.Dy.Object({"x-tagGroups":r.Dy.Optional(r.Dy.Array(l))}),c=(0,a.Ry)({"x-tagGroups":(0,a.jt)((0,a.IX)(s,{typeComment:"Tag groups for organizing tags in the UI"}))},{typeName:"XTagGroups",typeComment:"Groups of tags for the OpenAPI document"})},24725:function(e,t,n){"use strict";n.d(t,{a:function(){return w}});var r=n(30087),a=n(31661),i=n(67792),o=n(10851);
226function l(e,t=new WeakMap){if((0,r.Yl)(e))return function(e,t){if(t.has(e))return t.get(e);let n=[];t.set(e,n);for(let r=0;r<e.length;r++)n.push(l(e[r],t));return n}(e,t);if((0,r.P9)(e))return new Date(e.toISOString());if((0,r.Oy)(e))return e.slice();if((0,r.hL)(e))return new Map(l([...e.entries()]));if((0,r.mO)(e))return new Set(l([...e.entries()]));if((0,r.ci)(e))return function(e,t){if(t.has(e))return t.get(e);let n={};for(let r of(t.set(e,n),Object.getOwnPropertyNames(e)))n[r]=l(e[r],t);for(let r of Object.getOwnPropertySymbols(e))n[r]=l(e[r],t);return n}(e,t);if((0,r.fM)(e))return e;throw Error("ValueClone: Unable to clone value")}var s=n(69926),u=n(65515),c=n(57777),d=n(91168);class p extends a.B{constructor(e,t){super(t),this.schema=e}}function m(e){return(0,r.vC)(e)?e():l(e)}function f(e,t){let n=(0,s.yr)(e,t);switch(e[i.hY]){case"Any":case"Record":case"Unknown":return(0,r.BC)(e,"default")?m(e.default):{};case"Argument":return{};case"Array":return function(e,t){if(!0!==e.uniqueItems||(0,r.BC)(e,"default")){if("contains"in e&&!(0,r.BC)(e,"default"))throw new p(e,"Array with the contains constraint requires a default value");return"default"in e?m(e.default):void 0!==e.minItems?Array.from({length:e.minItems}).map(n=>f(e.items,t)):[]}throw new p(e,"Array with the uniqueItems constraint requires a default value")}(e,n);case"AsyncIterator":return(0,r.BC)(e,"default")?m(e.default):async function*(){}();case"BigInt":return(0,r.BC)(e,"default")?m(e.default):BigInt(0);case"Boolean":return!!(0,r.BC)(e,"default")&&m(e.default);case"Constructor":return function(e,t){if((0,r.BC)(e,"default"))return m(e.default);{let n=f(e.returns,t);return"object"!=typeof n||Array.isArray(n)?class{}:class{constructor(){for(let[e,t]of Object.entries(n))this[e]=t}}}}(e,n);case"Date":return(0,r.BC)(e,"default")?m(e.default):void 0!==e.minimumTimestamp?new Date(e.minimumTimestamp):new Date;case"Function":return(0,r.BC)(e,"default")?m(e.default):()=>f(e.returns,n);case"Import":return function(e,t){let n=globalThis.Object.values(e.$defs);return f(e.$defs[e.$ref],[...t,...n])}(e,n);case"Integer":case"Number":return(0,r.BC)(e,"default")?m(e.default):void 0!==e.minimum?e.minimum:0;case"Intersect":return function(e,t){if((0,r.BC)(e,"default"))return m(e.default);{let n=e.allOf.reduce((e,n)=>{let r=f(n,t);return"object"==typeof r?{...e,...r}:r},{});if(!(0,o.J)(e,t,n))throw new p(e,"Intersect produced invalid value. Consider using a default value.");return n}}(e,n);case"Iterator":return(0,r.BC)(e,"default")?m(e.default):function*(){}();case"Literal":return(0,r.BC)(e,"default")?m(e.default):e.const;case"Never":return function(e,t){if((0,r.BC)(e,"default"))return m(e.default);throw new p(e,"Never types cannot be created. Consider using a default value.")}(e,0);case"Not":return function(e,t){if((0,r.BC)(e,"default"))return m(e.default);throw new p(e,"Not types must have a default value")}(e,0);case"Null":return(0,r.BC)(e,"default")?m(e.default):null;case"Object":return function(e,t){if((0,r.BC)(e,"default"))return m(e.default);{let n=new Set(e.required),r={};for(let[a,i]of Object.entries(e.properties))n.has(a)&&(r[a]=f(i,t));return r}}(e,n);case"Promise":return(0,r.BC)(e,"default")?m(e.default):Promise.resolve(f(e.item,n));case"Ref":return(0,r.BC)(e,"default")?m(e.default):f((0,s.Hj)(e,n),n);case"RegExp":return function(e,t){if((0,r.BC)(e,"default"))return m(e.default);throw new p(e,"RegExp types cannot be created. Consider using a default value.")}(e,0);case"String":return function(e,t){if(void 0!==e.pattern){if((0,r.BC)(e,"default"))return m(e.default);throw new p(e,"String types with patterns must specify a default value")}if(void 0!==e.format){if((0,r.BC)(e,"default"))return m(e.default);throw new p(e,"String types with formats must specify a default value")}return(0,r.BC)(e,"default")?m(e.default):void 0!==e.minLength?Array.from({length:e.minLength}).map(()=>" ").join(""):""}(e,0);case"Symbol":return(0,r.BC)(e,"default")?m(e.default):"value"in e?Symbol.for(e.value):Symbol();case"TemplateLiteral":return function(e,t){if((0,r.BC)(e,"default"))return m(e.default);if(!(0,u.S2)(e))throw new p(e,"Can only create template literals that produce a finite variants. Consider using a default value.");return(0,c.fe)(e)[0]}(e,0);case"This":return function(e,t){if(g++>h)throw new p(e,"Cannot create recursive type as it appears possibly infinite. Consider using a default.");return(0,r.BC)(e,"default")?m(e.default):f((0,s.Hj)(e,t),t)}(e,n);case"Tuple":return(0,r.BC)(e,"default")?m(e.default):void 0===e.items?[]:Array.from({length:e.minItems}).map((t,r)=>f(e.items[r],n));case"Undefined":case"Void":return(0,r.BC)(e,"default")?m(e.default):void 0;case"Union":return function(e,t){if((0,r.BC)(e,"default"))return m(e.default);if(0!==e.anyOf.length)return f(e.anyOf[0],t);throw Error("ValueCreate.Union: Cannot create Union with zero variants")}(e,n);case"Uint8Array":return(0,r.BC)(e,"default")?m(e.default):new Uint8Array(void 0!==e.minByteLength?e.minByteLength:0);default:if(!d.BT(e[i.hY]))throw new p(e,"Unknown type");return function(e,t){if((0,r.BC)(e,"default"))return m(e.default);throw Error("User defined types must specify a default value")}(e,0)}}
226let h=512,g=0;function v(...e){return g=0,2===e.length?f(e[0],e[1]):f(e[0],[])}class y extends a.B{constructor(e,t){super(t),this.schema=e}}function b(e,t,n,a){let u=(0,r.XV)(e.$id)?(0,s.yr)(e,t):t;switch(e[i.hY]){case"Array":return function(e,t,n,a){if((0,o.J)(e,t,n))return l(n);let i=(0,r.Yl)(n)?n:v(e,t),s=(0,r.qA)(e.minItems)&&i.length<e.minItems?[...i,...Array.from({length:e.minItems-i.length},()=>null)]:i,u=((0,r.qA)(e.maxItems)&&s.length>e.maxItems?s.slice(0,e.maxItems):s).map(n=>b(e.items,t,n,a));if(!0!==e.uniqueItems)return u;let c=[...new Set(u)];if(!(0,o.J)(e,t,c))throw new y(e,"Array cast produced invalid data due to uniqueItems constraint");return c}(e,u,n,a);case"Constructor":return function(e,t,n,r){if((0,o.J)(e,t,n))return v(e,t);let a=new Set(e.returns.required||[]),i=function(){};for(let[o,l]of Object.entries(e.returns.properties))(a.has(o)||void 0!==n.prototype[o])&&(i.prototype[o]=b(l,t,n.prototype[o],r));return i}(e,u,n,a);case"Import":return function(e,t,n,r){let a=globalThis.Object.values(e.$defs);return b(e.$defs[e.$ref],[...t,...a],n,r)}(e,u,n,a);case"Intersect":return function(e,t,n){if((0,o.J)(e,t,n))return n;let a=v(e,t),i=function e(t,n){return(0,r.ci)(t)&&!(0,r.ci)(n)||!(0,r.ci)(t)&&(0,r.ci)(n)?t:(0,r.ci)(t)&&(0,r.ci)(n)?globalThis.Object.getOwnPropertyNames(t).reduce((r,a)=>{let i=a in n?e(t[a],n[a]):t[a];return{...r,[a]:i}},{}):n}(a,n);return(0,o.J)(e,t,i)?i:a}(e,u,n);case"Never":return function(e,t,n){throw new y(e,"Never types cannot be cast")}(e,0,0);case"Object":return function(e,t,n,r){if(r.has(n))return r.get(n);if((0,o.J)(e,t,n))return n;if(null===n||"object"!=typeof n)return v(e,t);let a=new Set(e.required||[]),i={};for(let[o,l]of(r.set(n,i),Object.entries(e.properties)))(a.has(o)||void 0!==n[o])&&(i[o]=b(l,t,n[o],r));if("object"==typeof e.additionalProperties){let a=Object.getOwnPropertyNames(e.properties);for(let o of Object.getOwnPropertyNames(n))a.includes(o)||(i[o]=b(e.additionalProperties,t,n[o],r))}return i}(e,u,n,a);case"Record":return function(e,t,n,r){if((0,o.J)(e,t,n))return l(n);if(null===n||"object"!=typeof n||Array.isArray(n)||n instanceof Date)return v(e,t);let a=Object.getOwnPropertyNames(e.patternProperties)[0],i=e.patternProperties[a],s={};for(let[e,a]of Object.entries(n))s[e]=b(i,t,a,r);return s}(e,u,n,a);case"Ref":case"This":return b((0,s.Hj)(e,u),u,n,a);case"Tuple":return(0,o.J)(e,u,n)?l(n):(0,r.Yl)(n)?void 0===e.items?[]:e.items.map((e,t)=>b(e,u,n[t],a)):v(e,u);case"Union":return(0,o.J)(e,u,n)?l(n):"default"in e?"function"==typeof n?e.default:l(e.default):O(function(e,t,n){let a=e.anyOf.map(e=>(0,s.Hj)(e,t)),[l,u]=[a[0],0];for(let e of a){let a=function e(t,n,a){if("Object"!==t[i.hY]||"object"!=typeof a||(0,r.hG)(a))return"Union"===t[i.hY]?Math.max(...t.anyOf.map(e=>(0,s.Hj)(e,n)).map(t=>e(t,n,a))):(0,o.J)(t,n,a)?1:0;{let e=Object.getOwnPropertyNames(a);return Object.entries(t.properties).reduce((t,[r,l])=>t+(("Literal"===l[i.hY]&&l.const===a[r]?100:0)+((0,o.J)(l,n,a[r])?10:0)+(e.includes(r)?1:0)),0)}}(e,t,n);a>u&&(l=e,u=a)}return l}(e,u,n),u,n,a);case"Date":case"Symbol":case"Uint8Array":return(0,o.J)(e,t,n)?l(n):v(e,t);default:return(0,o.J)(e,u,n)?n:v(e,u)}}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 w=(e,t)=>O(e,t)},70699:function(e,t,n){"use strict";n.d(t,{JK:function(){return h},Tf:function(){return m},Y7:function(){return f},uW:function(){return p}});var r=n(76790),a=n(42660),i=n(51035),o=n(59899),l=n(78636),s=n(29133),u=n(57251),c=n(84181);let d=(0,a.q)(r.Dy.Object({refreshUrl:r.Dy.String(),scopes:r.Dy.Record(r.Dy.String(),r.Dy.String())}),l.y,o._,u.N,s.FU,s.gG),p=(0,a.q)(d,r.Dy.Object({authorizationUrl:r.Dy.String()})),m=(0,a.q)(d,r.Dy.Object({tokenUrl:r.Dy.String()}),i.E),f=(0,a.q)(d,r.Dy.Object({tokenUrl:r.Dy.String()}),i.E),h=(0,a.q)(d,r.Dy.Object({authorizationUrl:r.Dy.String(),tokenUrl:r.Dy.String()}),c.Q,i.E)},39892:function(e,t,n){"use strict";n.d(t,{DX:function(){return tz},Rq:function(){return tQ},i1:function(){return tF},wF:function(){return tq},zB:function(){return tH}});var r=n(76790),a=n(42660),i=n(61697),o=n(81435),l=n(21327),s=n(75427),u=n(39326),c=n(93892),d=n(28454),p=n(33245),m=n(33209),f=n(23517),h=n(60935),g=n(7977),v=n(1821),y=n(98969),b=n(92521);let O="ComponentsObject",w="SecurityRequirementObject",k="TagObject",x="CallbackObject",S="PathsObject",_="PathItemObject",E="OperationObject",A="SchemaObject",T="EncodingOb
226ject",D="HeaderObject",C="MediaTypeObject",$="ServerObject",P="ExternalDocumentationObject",I="InfoObject",N="ContactObject",U="LicenseObject",M="ResponseObject",R="ResponsesObject",j="ParameterObject",L="ExampleObject",Z="RequestBodyObject",B="SecuritySchemeObject",z="LinkObject",F="XMLObject",Q="DiscriminatorObject",H="OAuthFlowsObject",q="ServerVariableObject",V="TraversedEntryObject",W="TraversedDocumentObject",X=r.Dy.Ref(O),Y=r.Dy.Ref(w),G=r.Dy.Ref(k),K=r.Dy.Ref(x),J=r.Dy.Ref(_),ee=r.Dy.Ref(S),et=r.Dy.Ref(E),en=r.Dy.Ref(A),er=r.Dy.Ref(T),ea=r.Dy.Ref(D),ei=r.Dy.Ref(C),eo=r.Dy.Ref($),el=r.Dy.Ref(P),es=r.Dy.Ref(I),eu=r.Dy.Ref(N),ec=r.Dy.Ref(U),ed=r.Dy.Ref(M),ep=r.Dy.Ref(R),em=r.Dy.Ref(j),ef=r.Dy.Ref(L),eh=r.Dy.Ref(Z),eg=r.Dy.Ref(B),ev=r.Dy.Ref(z),ey=r.Dy.Ref(F),eb=r.Dy.Ref(Q),eO=r.Dy.Ref(H),ew=r.Dy.Ref(q),ek=r.Dy.Ref(V),ex=r.Dy.Ref(W),eS=r.Dy.Object({id:r.Dy.String(),title:r.Dy.String()}),e_=(0,a.q)(eS,r.Dy.Object({type:r.Dy.Literal("document"),name:r.Dy.String(),children:r.Dy.Optional(r.Dy.Array(ek)),icon:r.Dy.Optional(r.Dy.String())})),eE=(0,a.q)(eS,r.Dy.Object({type:r.Dy.Literal("text"),children:r.Dy.Optional(r.Dy.Array(ek))})),eA=(0,a.q)(eS,r.Dy.Object({type:r.Dy.Literal("example"),name:r.Dy.String()})),eT=(0,a.q)(eS,r.Dy.Object({type:r.Dy.Literal("operation"),ref:r.Dy.String(),method:r.Dy.Union(b.W.map(e=>r.Dy.Literal(e))),path:r.Dy.String(),isDeprecated:r.Dy.Optional(r.Dy.Boolean()),children:r.Dy.Optional(r.Dy.Array(ek))})),eD=(0,a.q)(eS,r.Dy.Object({type:r.Dy.Literal("model"),ref:r.Dy.String(),name:r.Dy.String()})),eC=(0,a.q)(eS,r.Dy.Object({type:r.Dy.Literal("webhook"),ref:r.Dy.String(),method:r.Dy.Union(b.W.map(e=>r.Dy.Literal(e))),name:r.Dy.String(),isDeprecated:r.Dy.Optional(r.Dy.Boolean())})),e$=(0,a.q)(eS,r.Dy.Object({type:r.Dy.Literal("tag"),name:r.Dy.String(),description:r.Dy.Optional(r.Dy.String()),children:r.Dy.Optional(r.Dy.Array(ek)),isGroup:r.Dy.Boolean(),isWebhooks:r.Dy.Optional(r.Dy.Boolean()),xKeys:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Unknown()))})),eP=(0,a.q)(eS,r.Dy.Object({type:r.Dy.Literal("models"),name:r.Dy.String(),children:r.Dy.Optional(r.Dy.Array(ek))})),eI=r.Dy.Union([eE,eT,eD,e$,eC,eA,e_,eP]),eN=r.Dy.Object({$status:r.Dy.Optional(r.Dy.Union([r.Dy.Literal("loading"),r.Dy.Literal("error")])),$global:r.Dy.Optional(r.Dy.Boolean())}),eU=(0,a.q)(r.Dy.Object({$ref:r.Dy.String(),summary:r.Dy.Optional(r.Dy.String()),description:r.Dy.Optional(r.Dy.String())}),eN),eM=e=>(0,a.q)(eU,r.Dy.Object({"$ref-value":e})),eR=r.Dy.Record(r.Dy.String(),r.Dy.Union([J,eM(J)])),ej=r.Dy.Record(r.Dy.String(),r.Dy.Union([eg,eM(eg)])),eL=r.Dy.Object({schemas:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Union([en,eM(en)]))),responses:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Union([ed,eM(ed)]))),parameters:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Union([em,eM(em)]))),examples:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Union([ef,eM(ef)]))),requestBodies:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Union([eh,eM(eh)]))),headers:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Union([ea,eM(ea)]))),securitySchemes:r.Dy.Optional(ej),links:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Union([ev,eM(ev)]))),callbacks:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Union([K,eM(K)]))),pathItems:r.Dy.Optional(r.Dy.Record(r.Dy.String(),J))}),eZ=r.Dy.Object({name:r.Dy.Optional(r.Dy.String()),url:r.Dy.Optional(r.Dy.String()),email:r.Dy.Optional(r.Dy.String())}),eB=r.Dy.Object({propertyName:r.Dy.String(),mapping:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.String()))}),ez=r.Dy.Object({contentType:r.Dy.Optional(r.Dy.String()),headers:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Union([ea,eM(ea)])))});var eF=n(41193);let eQ=(0,a.q)(r.Dy.Object({summary:r.Dy.Optional(r.Dy.String()),description:r.Dy.Optional(r.Dy.String()),value:r.Dy.Optional(r.Dy.Any()),externalValue:r.Dy.Optional(r.Dy.String())}),eF.s),eH=r.Dy.Object({url:r.Dy.String(),description:r.Dy.Optional(r.Dy.String())}),eq=r.Dy.Object({description:r.Dy.Optional(r.Dy.String()),required:r.Dy.Optional(r.Dy.Boolean()),deprecated:r.Dy.Optional(r.Dy.Boolean())}),eV=(0,a.q)(eq,r.Dy.Object({style:r.Dy.Optional(r.Dy.String()),explode:r.Dy.Optional(r.Dy.Boolean()),schema:r.Dy.Optional(r.Dy.Union([en,eM(en)])),example:r.Dy.Optional(r.Dy.Any()),examples:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Union([ef,eM(ef)])))})),eW=r.Dy.Union([eV,(0,a.q)(eq,r.Dy.Object({content:r.Dy.Optional(r.Dy.Record(r.Dy.String(),ei))}))]);var eX=n(20173);let eY=(0,a.q)(r.Dy.Object({title:r.Dy.String(),version:r.Dy.String(),summary:r.Dy.Optional(r.Dy.String()),description:r.Dy.Optional(r.Dy.String()),termsOfService:r.Dy.Optional(r.Dy.String()),contact:r.Dy.Optional(eu),license:r.Dy.Optional(ec)}),eX.h),eG=r.Dy.Object({name:r.Dy.Optional(r.Dy.String()),identifier:r.Dy.Optional(r.Dy.String()),url:r.Dy.Optional(r.Dy.String())}),eK=r.Dy.Object({operationRef:r.Dy.Optional(r.Dy.String()),operationId:r.Dy.Optional(r.Dy.String()),parameters:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Any())),requestBody:r.Dy.Optional(r.Dy.Any()),description:r.Dy.Optional(r.Dy.String()),server:r.Dy.Optional(eo)}),eJ=r.Dy.Object({schema:r.Dy.Optional(r.Dy.Union([en,eM(en)])),example:r.Dy.Optional(r.Dy.Any()),examples:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Union([ef,eM(ef)]))),encoding:r.Dy.Optional(r.Dy.Record(r.Dy.String(),er))});var e0=n(70699);let e1=r.Dy.Object({implicit:r.Dy.Optional(e0.uW),password:r.Dy.Optional(e0.Tf),clientCredentials:r.Dy.Optional(e0.Y7),authorizationCode:r.Dy.Optional(e0.JK)});var e2=n(42317),e4=n(64350),e8=n(62677),e6=n(43922),e3=n(93722),e5=n(58231),e7=n(99093);let e9=(0,a.q)(r.Dy.Object({tags:r.Dy.Optional(r.Dy.Array(r.Dy.String())),summary:r.Dy.Optional(r.Dy.String()),description:r.Dy.Optional(r.Dy.String()),externalDocs:r.Dy.Optional(el),operationId:r.Dy.Optional(r.Dy.String()),parameters:r.Dy.Optional(r.Dy.Array(r.Dy.Union([em,eM(em)]))),requestBody:r.Dy.Optional(r.Dy.Union([eh,eM(eh)])),responses:r.Dy.Optional(ep),deprecated:r.Dy.Optional(r.Dy.Boolean()),security:r.Dy.Optional(r.Dy.Array(Y)),servers:r.Dy.Optional(r.Dy.Array(eo)),callbacks:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Union([K,eM(K)])))}),e8.M,e2.E,e4.K,e6.WW,e7.UA,e5.A,p.K,m.w,e3.f,v.N);var te=n(6595);let tt=(0,a.q)(r.Dy.Object({name:r.Dy.String(),in:r.Dy.Union([r.Dy.Literal("query"),r.Dy.Literal("header"),r.Dy.Literal("path"),r.Dy.Literal("cookie")]),description:r.Dy.Optional(r.Dy.String()),required:r.Dy.Optional(r.Dy.Boolean()),deprecated:r.Dy.Optional(r.Dy.Boolean()),allowEmptyValue:r.Dy.Optional(r.Dy.Boolean()),allowReserved:r.Dy.Optional(r.Dy.Boolean())}),te.x,e2.E,e4.K),tn=(0,a.q)(tt,r.Dy.Object({style:r.Dy.Optional(r.Dy.String()),explode:r.Dy.Optional(r.Dy.Boolean()),schema:r.Dy.Optional(r.Dy.Union([en,eM(en)])),example:r.Dy.Optional(r.Dy.Any()),examples:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Union([ef,eM(ef)])))})),tr=(0,a.q)(tt,r.Dy.Object({content:r.Dy.Optional(r.Dy.Record(r.Dy.String(),ei))})),ta=r.Dy.Union([tn,tr]),ti=r.Dy.Object({$ref:r.Dy.Optional(r.Dy.String()),summary:r.Dy.Optional(r.Dy.String()),description:r.Dy.Optional(r.Dy.String()),get:r.Dy.Optional(r.Dy.Union([et,eM(et)])),put:r.Dy.Optional(r.Dy.Union([et,eM(et)])),post:r.Dy.Optional(r.Dy.Union([et,eM(et)])),delete:r.Dy.Optional(r.Dy.Union([et,eM(et)])),patch:r.Dy.Optional(r.Dy.Union([et,eM(et)])),connect:r.Dy.Optional(r.Dy.Union([et,eM(et)])),options:r.Dy.Optional(r.Dy.Union([et,eM(et)])),head:r.Dy.Optional(r.Dy.Union([et,eM(et)])),trace:r.Dy.Optional(r.Dy.Union([et,eM(et)])),servers:r.Dy.Optional(r.Dy.Array(eo)),parameters:r.Dy.Optional(r.Dy.Array(r.Dy.Union([em,eM(em)])))}),to=r.Dy.Record(r.Dy.String(),J);var tl=n(50229);let ts=(0,a.q)(r.Dy.Object({description:r.Dy.Optional(r.Dy.String()),content:r.Dy.Record(r.Dy.String(),ei),required:r.Dy.Optional(r.Dy.Boolean())}),tl.Z),tu=r.Dy.Object({description:r.Dy.String(),headers:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Union([ea,eM(ea)]))),content:r.Dy.Optional(r.Dy.Record(r.Dy.String(),ei)),links:r.Dy.Optional(r.Dy.Record(r.Dy.String(),r.Dy.Union([ev,eM(ev)])))}),tc=r.Dy.Record(r.Dy.String(),r.Dy.Union([ed,eM(ed)]));var td=n(83986),tp=n(8879),tm=n(43718),tf=n(18005),th=n(88922),tg=n(20854);let tv=r.Dy.Union([en,(0,a.q)(eU,r.Dy.Object({"$ref-value":r.Dy.Unknown()}))]),ty=r.Dy.Object({type:r.Dy.Union([r.Dy.Literal("null"),r.Dy.Literal("boolean"),r.Dy.Array(r.Dy.Union([r.Dy.Literal("null"),r.Dy.Literal("boolean"),r.Dy.Literal("string"),r.Dy.Literal("number"),r.Dy.Literal("integer"),r.Dy.Literal("object"),r.Dy.Literal("array")]))])}),tb=(0,a.q)(e4.K,e2.E,tg.p,th.D,tm.Z,tf.W,tp.x,td.K),tO=r.Dy.Object({name:r.Dy.Optional(r.Dy.String()),title:r.Dy.Optional(r.Dy.String()),description:r.Dy.Optional(r.Dy.String()),default:r.Dy.Optional(r.Dy.Unknown()),enum:r.Dy.Optional(r.Dy.Array(r.Dy.Unknown())),const:r.Dy.Optional(r.Dy.Unknown()),contentMediaType:r.Dy.Optional(r.Dy.String()),contentEncoding:r.Dy.Optional(r.Dy.String()),contentSchema:r.Dy.Optional(tv),deprecated:r.Dy.Optional(r.Dy.Boolean()),discriminator:r.Dy.Optional(eb),readOnly:r.Dy.Optional(r.Dy.Boolean()),writeOnly:r.Dy.Optional(r.Dy.Boolean()),xml:r.Dy.Optional(ey),externalDocs:r.Dy.Optional(el),example:r.Dy.Optional(r.Dy.Unknown()),examples:r.Dy.Optional(r.Dy.Array(r.Dy.Unknown())),allOf:r.Dy.Optional(r.Dy.Array(tv)),oneOf:r.Dy.Optional(r.Dy.Array(tv)),anyOf:r.Dy.Optional(r.Dy.Array(tv)),not:r.Dy.Optional(tv)}),tw=r.Dy.Object({type:r.Dy.Union([r.Dy.Literal("number"),r.Dy.Literal("integer")]),format:r.Dy.Optional(r.Dy.String()),multipleOf:r.Dy.Optional(r.Dy.Number()),maximum:r.Dy.Optional(r.Dy.Number()),exclusiveMaximum:r.Dy.Optional(r.Dy.Number({minimum:0})),minimum:r.Dy.Optional(r.Dy.Number()),exclusiveMinimum:r.Dy.Optional(r.Dy.Number({minimum:0}))}),tk=r.Dy.Object({type:r.Dy.Literal("string"),format:r.Dy.Optional(r.Dy.String()),maxLength:r.Dy.Optional(r.Dy.Integer({minimum:0})),minLength:r.Dy.Optional(r.Dy.Integer({minimum:0})),pattern:r.Dy.Optional(r.Dy.String())}),tx=r.Dy.Object({type:r.Dy.Literal("array"),maxItems:r.Dy.Optional(r.Dy.Integer({minimum:0})),minItems:r.Dy.Optional(r.Dy.Integer({minimum:0})),uniqueItems:r.Dy.Optional(r.Dy.Boolean()),items:r.Dy.Optional(tv),prefixItems:r.Dy.Optional(r.Dy.Array(tv))}),tS=r.Dy.Object({type:r.Dy.Literal("object"),maxProperties:r.Dy.Optional(r.Dy.Integer({minimum:0})),minProperties:r.Dy.Optional(r.Dy.Integer({minimum:0})),required:r.Dy.Optional(r.Dy.Array(r.Dy.String())),properties:r.Dy.Optional(r.Dy.Record(r.Dy.String(),tv)),additionalProperties:r.Dy.Optional(r.Dy.Union([r.Dy.Boolean(),tv])),patternProperties:r.Dy.Optional(r.Dy.Record(r.Dy.String(),tv)),propertyNames:r.Dy.Optional(tv)}),t_=r.Dy.Union([(0,a.q)(r.Dy.Object({__scalar_:r.Dy.String()}),tO,tb),(0,a.q)(ty,tO,tb),(0,a.q)(tw,tO,tb),(0,a.q)(tk,tO,tb),(0,a.q)(tS,tO,tb),(0,a.q)(tx,tO,tb)]),tE=r.Dy.Partial(r.Dy.Record(r.Dy.String(),r.Dy.Array(r.Dy.String())));var tA=n(76038);let tT=r.Dy.Object({description:r.Dy.Optional(r.Dy.String())}),tD=(0,a.q)(tT,r.Dy.Object({type:r.Dy.Literal("apiKey"),name:r.Dy.String(),in:r.Dy.Union([r.Dy.Literal("query"),r.Dy.Literal("header"),r.Dy.Literal("cookie")])}
226)),tC=(0,a.q)(tT,r.Dy.Object({type:r.Dy.Literal("http"),scheme:r.Dy.Union([r.Dy.Literal("basic"),r.Dy.Literal("bearer")]),bearerFormat:r.Dy.Optional(r.Dy.String())})),t$=(0,a.q)(tT,r.Dy.Object({type:r.Dy.Literal("oauth2"),flows:eO}),tA.$),tP=(0,a.q)(tT,r.Dy.Object({type:r.Dy.Literal("openIdConnect"),openIdConnectUrl:r.Dy.String()})),tI=r.Dy.Union([tD,tC,t$,tP]),tN=r.Dy.Object({url:r.Dy.String(),description:r.Dy.Optional(r.Dy.String()),variables:r.Dy.Optional(r.Dy.Record(r.Dy.String(),ew))}),tU=r.Dy.Object({enum:r.Dy.Optional(r.Dy.Array(r.Dy.String())),default:r.Dy.Optional(r.Dy.String()),description:r.Dy.Optional(r.Dy.String())});var tM=n(3277);let tR=(0,a.q)(r.Dy.Object({name:r.Dy.String(),description:r.Dy.Optional(r.Dy.String()),externalDocs:r.Dy.Optional(el)}),tM.Z,e2.E,e4.K,g.l),tj=r.Dy.Object({name:r.Dy.Optional(r.Dy.String()),namespace:r.Dy.Optional(r.Dy.String()),prefix:r.Dy.Optional(r.Dy.String()),attribute:r.Dy.Optional(r.Dy.Boolean()),wrapped:r.Dy.Optional(r.Dy.Boolean())}),tL=(0,a.q)(r.Dy.Partial(r.Dy.Object({"x-original-oas-version":r.Dy.String(),"x-scalar-original-source-url":r.Dy.String(),[i.R.document.navigation]:ex})),y.Jm,o.Dg,v.N,l.J,g.l,h.qN,u.K,s.d,f.X,d.v,c.a,m.w,p.K),tZ=(0,a.q)(r.Dy.Object({openapi:r.Dy.String(),info:es,jsonSchemaDialect:r.Dy.Optional(r.Dy.String()),servers:r.Dy.Optional(r.Dy.Array(eo)),paths:r.Dy.Optional(ee),webhooks:r.Dy.Optional(r.Dy.Record(r.Dy.String(),J)),components:r.Dy.Optional(X),security:r.Dy.Optional(r.Dy.Array(Y)),tags:r.Dy.Optional(r.Dy.Array(G)),externalDocs:r.Dy.Optional(el)}),tL),tB=r.Dy.Module({[O]:eL,[w]:tE,[k]:tR,[x]:eR,[_]:ti,[S]:to,[E]:e9,[A]:t_,[T]:ez,[C]:eJ,[D]:eW,[$]:tN,[P]:eH,[I]:eY,[N]:eZ,[U]:eG,[M]:tu,[R]:tc,[j]:ta,[L]:eQ,[Z]:ts,SecuritySchemes:ej,[B]:tI,[z]:eK,[F]:tj,[Q]:eB,[H]:e1,[q]:tU,OpenApiDocument:tZ,TraversedDescriptionObject:eE,TraversedOperationObject:eT,TraversedSchemaObject:eD,TraversedWebhookObject:eC,TraversedTagObject:e$,[V]:eI,[W]:e_}),tz=tB.Import("OpenApiDocument");tB.Import("ComponentsObject");let tF=tB.Import("SecurityRequirementObject");tB.Import("TagObject"),tB.Import("CallbackObject"),tB.Import("PathItemObject"),tB.Import("PathsObject"),tB.Import("OperationObject");let tQ=tB.Import("SchemaObject");tB.Import("EncodingObject"),tB.Import("MediaTypeObject"),tB.Import("HeaderObject");let tH=tB.Import("ServerObject");tB.Import("ExternalDocumentationObject"),tB.Import("InfoObject"),tB.Import("ContactObject"),tB.Import("LicenseObject"),tB.Import("ResponseObject"),tB.Import("ResponsesObject"),tB.Import("ParameterObject"),tB.Import("ExampleObject"),tB.Import("RequestBodyObject"),tB.Import("SecuritySchemes");let tq=tB.Import("SecuritySchemeObject");tB.Import("LinkObject"),tB.Import("XMLObject"),tB.Import("DiscriminatorObject"),tB.Import("OAuthFlowsObject"),tB.Import("ServerVariableObject"),tB.Import("TraversedDescriptionObject"),tB.Import("TraversedEntryObject"),tB.Import("TraversedTagObject"),tB.Import("TraversedOperationObject"),tB.Import("TraversedSchemaObject"),tB.Import("TraversedWebhookObject")},45698:function(e,t,n){"use strict";n.d(t,{A9:function(){return s},HO:function(){return i},fL:function(){return o},nN:function(){return l},w0:function(){return a},w_:function(){return r}});let r=e=>"type"in e&&("object"===e.type||Array.isArray(e.type)&&e.type.includes("object")),a=e=>"type"in e&&("array"===e.type||Array.isArray(e.type)&&e.type.includes("array")),i=e=>"type"in e&&("string"===e.type||Array.isArray(e.type)&&e.type.includes("string")),o=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")),l=e=>void 0!==e&&"type"in e,s=e=>"content"in e&&void 0!==e.content},79402:function(e,t,n){"use strict";n.d(t,{B_:function(){return E},C5:function(){return s},DI:function(){return S},IY:function(){return l},Kn:function(){return d},Vh:function(){return f},ZT:function(){return p},_m:function(){return b},eM:function(){return _},gn:function(){return m},nf:function(){return u},qo:function(){return O},rk:function(){return A},yR:function(){return y}});var r,a,i=n(72909),o=n(82589);function l(e){return!!(0,i.nZ)()&&((0,i.EB)(e),!0)}let s="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&WorkerGlobalScope;let u=e=>null!=e,c=Object.prototype.toString,d=e=>"[object Object]"===c.call(e),p=()=>{},m=s&&(null==(r=null==window?void 0:window.navigator)?void 0:r.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(null==(a=null==window?void 0:window.navigator)?void 0:a.maxTouchPoints)>2&&/iPad|Macintosh/.test(null==window?void 0:window.navigator.userAgent));function f(...e){if(1!==e.length)return(0,i.Vh)(...e);let t=e[0];return"function"==typeof t?(0,i.OT)((0,i.ZM)(()=>({get:t,set:p}))):(0,i.iH)(t)}function h(e,t){return function(...n){return new Promise((r,a)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(a)})}}let g=e=>e();function v(e,t={}){let n,r,a;let o=p,l=e=>{clearTimeout(e),o(),o=p};return s=>{let u=(0,i.Tn)(e),c=(0,i.Tn)(t.maxWait);return(n&&l(n),u<=0||void 0!==c&&c<=0)?(r&&(l(r),r=void 0),Promise.resolve(s())):new Promise((e,i)=>{o=t.rejectOnCancel?i:e,a=s,c&&!r&&(r=setTimeout(()=>{n&&l(n),r=void 0,e(a())},c)),n=setTimeout(()=>{r&&l(r),r=void 0,e(s())},u)})}}function y(e){return e}function b(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{let e=t;t=void 0,e&&await e},n}function O(e){return Array.isArray(e)?e:[e]}function w(e){let t=Object.create(null);return n=>t[n]||(t[n]=e(n))}let k=/\B([A-Z])/g;w(e=>e.replace(k,"-$1").toLowerCase());let x=/-(\w)/g;function S(e,t=200,n={}){return h(v(t,n),e)}function _(e,t,n={}){let r;let{immediate:a=!0,immediateCallback:o=!1}=n,u=(0,i.XI)(!1);function c(){r&&(clearTimeout(r),r=void 0)}function d(){u.value=!1,c()}function p(...n){o&&e(),c(),u.value=!0,r=setTimeout(()=>{u.value=!1,r=void 0,e(...n)},(0,i.Tn)(t))}return a&&(u.value=!0,s&&p()),l(d),{isPending:(0,i.YS)(u),start:p,stop:d}}function E(e,t,n={}){let{debounce:r=0,maxWait:a,...i}=n;return function(e,t,n={}){let{eventFilter:r=g,...a}=n;return(0,o.YP)(e,h(r,t),a)}(e,t,{...i,eventFilter:v(r,{maxWait:a})})}function A(e,t,n){return(0,o.YP)(e,t,{...n,immediate:!0})}w(e=>e.replace(x,(e,t)=>t?t.toUpperCase():""))},5275:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{w:function(){return r}})},10311:function(e,t,n){"use strict";function r(e){let t=[],n=String(e||""),r=n.indexOf(","),a=0,i=!1;for(;!i;){-1===r&&(r=n.length,i=!0);let e=n.slice(a,r).trim();(e||!i)&&t.push(e),a=r+1,r=n.indexOf(",",a)}return t}function a(e,t){let n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}n.d(t,{P:function(){return a},Q:function(){return r}})},76843:function(e,t,n){"use strict";function r(){}n.d(t,{ok:function(){return r}})},53916:function(e,t,n){"use strict";function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===c(e)}n.d(t,{Z:function(){return J}});let a=1/0;function i(e){return"string"==typeof e}function o(e){return"number"==typeof e}function l(e){return"object"==typeof e}function s(e){return null!=e}function u(e){return!e.trim().length}
226function c(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}let d=e=>`Invalid value for key ${e}`,p=e=>`Pattern length exceeds max of ${e}.`,m=e=>`Missing ${e} property in key`,f=e=>`Property 'weight' in key '${e}' must be a positive integer`,h=Object.prototype.hasOwnProperty;class g{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let n=v(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.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 v(e){let t=null,n=null,a=null,o=1,l=null;if(i(e)||r(e))a=e,t=y(e),n=b(e);else{if(!h.call(e,"name"))throw Error(m("name"));let r=e.name;if(a=r,h.call(e,"weight")&&(o=e.weight)<=0)throw Error(f(r));t=y(r),n=b(r),l=e.getFn}return{path:t,id:n,weight:o,src:a,getFn:l}}function y(e){return r(e)?e:e.split(".")}function b(e){return r(e)?e.join("."):e}var O={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,getFn:function(e,t){let n=[],u=!1,d=(e,t,p)=>{if(s(e)){if(t[p]){var m,f;let h=e[t[p]];if(s(h)){if(p===t.length-1&&(i(h)||o(h)||!0===(m=h)||!1===m||l(f=m)&&null!==f&&"[object Boolean]"==c(m)))n.push(null==h?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-a?"-0":t}(h));else if(r(h)){u=!0;for(let e=0,n=h.length;e<n;e+=1)d(h[e],t,p+1)}else t.length&&d(h,t,p+1)}}else n.push(e)}};return d(e,i(t)?t.split("."):t,0),u?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};let w=/[^ ]+/g;class k{constructor({getFn:e=O.getFn,fieldNormWeight:t=O.fieldNormWeight}={}){this.norm=function(e=1,t=3){let n=new Map,r=Math.pow(10,t);return{get(t){let a=t.match(w).length;if(n.has(a))return n.get(a);let i=parseFloat(Math.round(1/Math.pow(a,.5*e)*r)/r);return n.set(a,i),i},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,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(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,i(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){let t=this.size();i(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!s(e)||u(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach((t,a)=>{let o=t.getFn?t.getFn(e):this.getFn(e,t.path);if(s(o)){if(r(o)){let e=[],t=[{nestedArrIndex:-1,value:o}];for(;t.length;){let{nestedArrIndex:n,value:a}=t.pop();if(s(a)){if(i(a)&&!u(a)){let t={v:a,i:n,n:this.norm.get(a)};e.push(t)}else r(a)&&a.forEach((e,n)=>{t.push({nestedArrIndex:n,value:e})})}}n.$[a]=e}else if(i(o)&&!u(o)){let e={v:o,n:this.norm.get(o)};n.$[a]=e}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function x(e,t,{getFn:n=O.getFn,fieldNormWeight:r=O.fieldNormWeight}={}){let a=new k({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(v)),a.setSources(t),a.create(),a}function S(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:a=O.distance,ignoreLocation:i=O.ignoreLocation}={}){let o=t/e.length;if(i)return o;let l=Math.abs(r-n);return a?o+l/a:l?1:o}let _=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\u0A7
2265\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,""):e=>e;class E{constructor(e,{location:t=O.location,threshold:n=O.threshold,distance:r=O.distance,includeMatches:a=O.includeMatches,findAllMatches:i=O.findAllMatches,minMatchCharLength:o=O.minMatchCharLength,isCaseSensitive:l=O.isCaseSensitive,ignoreDiacritics:s=O.ignoreDiacritics,ignoreLocation:u=O.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:i,minMatchCharLength:o,isCaseSensitive:l,ignoreDiacritics:s,ignoreLocation:u},e=l?e:e.toLowerCase(),e=s?_(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;let c=(e,t)=>{this.chunks.push({pattern:e,alphabet:function(e){let t={};for(let n=0,r=e.length;n<r;n+=1){let a=e.charAt(n);t[a]=(t[a]||0)|1<<r-n-1}return t}(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0,t=d%32,n=d-t;for(;e<n;)c(this.pattern.substr(e,32),e),e+=32;if(t){let e=d-32;c(this.pattern.substr(e),e)}}else c(this.pattern,0)}searchIn(e){let{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=n?_(e):e,this.pattern===e){let t={isMatch:!0,score:0};return r&&(t.indices=[[0,e.length-1]]),t}let{location:a,distance:i,threshold:o,findAllMatches:l,minMatchCharLength:s,ignoreLocation:u}=this.options,c=[],d=0,m=!1;this.chunks.forEach(({pattern:t,alphabet:n,startIndex:f})=>{let{isMatch:h,score:g,indices:v}=function(e,t,n,{location:r=O.location,distance:a=O.distance,threshold:i=O.threshold,findAllMatches:o=O.findAllMatches,minMatchCharLength:l=O.minMatchCharLength,includeMatches:s=O.includeMatches,ignoreLocation:u=O.ignoreLocation}={}){let c;if(t.length>32)throw Error(p(32));let d=t.length,m=e.length,f=Math.max(0,Math.min(r,m)),h=i,g=f,v=l>1||s,y=v?Array(m):[];for(;(c=e.indexOf(t,g))>-1;)if(h=Math.min(S(t,{currentLocation:c,expectedLocation:f,distance:a,ignoreLocation:u}),h),g=c+d,v){let e=0;for(;e<d;)y[c+e]=1,e+=1}g=-1;let b=[],w=1,k=d+m,x=1<<d-1;for(let r=0;r<d;r+=1){let i=0,l=k;for(;i<l;)S(t,{errors:r,currentLocation:f+l,expectedLocation:f,distance:a,ignoreLocation:u})<=h?i=l:k=l,l=Math.floor((k-i)/2+i);k=l;let s=Math.max(1,f-l+1),c=o?m:Math.min(f+l,m)+d,p=Array(c+2);p[c+1]=(1<<r)-1;for(let i=c;i>=s;i-=1){let o=i-1,l=n[e.charAt(o)];if(v&&(y[o]=+!!l),p[i]=(p[i+1]<<1|1)&l,r&&(p[i]|=(b[i+1]|b[i])<<1|1|b[i+1]),p[i]&x&&(w=S(t,{errors:r,currentLocation:o,expectedLocation:f,distance:a,ignoreLocation:u}))<=h){if(h=w,(g=o)<=f)break;s=Math.max(1,2*f-g)}}if(S(t,{errors:r+1,currentLocation:f,expectedLocation:f,distance:a,ignoreLocation:u})>h)break;b=p}let _={isMatch:g>=0,score:Math.max(.001,w)};if(v){let e=function(e=[],t=O.minMatchCharLength){let n=[],r=-1,a=-1,i=0;for(let o=e.length;i<o;i+=1){let o=e[i];o&&-1===r?r=i:o||-1===r||((a=i-1)-r+1>=t&&n.push([r,a]),r=-1)}return e[i-1]&&i-r>=t&&n.push([r,i-1]),n}(y,l);e.length?s&&(_.indices=e):_.isMatch=!1}return _}(e,t,n,{location:a+f,distance:i,threshold:o,findAllMatches:l,minMatchCharLength:s,includeMatches:r,ignoreLocation:u});h&&(m=!0),d+=g,h&&v&&(c=[...c,...v])});let f={isMatch:m,score:m?d/this.chunks.length:1};return m&&r&&(f.indices=c),f}}class A{constructor(e){this.pattern=e}static isMultiMatch(e){return T(e,this.multiRegex)}static isSingleMatch(e){return T(e,this.singleRegex)}search(){}}function T(e,t){let n=e.match(t);
226return n?n[1]:null}class D extends A{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){let t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class C extends A{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){let t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class $ extends A{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){let t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class P extends A{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){let t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class I extends A{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){let t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class N extends A{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){let t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class U extends A{constructor(e,{location:t=O.location,threshold:n=O.threshold,distance:r=O.distance,includeMatches:a=O.includeMatches,findAllMatches:i=O.findAllMatches,minMatchCharLength:o=O.minMatchCharLength,isCaseSensitive:l=O.isCaseSensitive,ignoreDiacritics:s=O.ignoreDiacritics,ignoreLocation:u=O.ignoreLocation}={}){super(e),this._bitapSearch=new E(e,{location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:i,minMatchCharLength:o,isCaseSensitive:l,ignoreDiacritics:s,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class M extends A{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0,r=[],a=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+a,r.push([t,n-1]);let i=!!r.length;return{isMatch:i,score:i?0:1,indices:r}}}let R=[D,M,$,P,N,I,C,U],j=R.length,L=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,Z=new Set([U.type,M.type]);
226class B{constructor(e,{isCaseSensitive:t=O.isCaseSensitive,ignoreDiacritics:n=O.ignoreDiacritics,includeMatches:r=O.includeMatches,minMatchCharLength:a=O.minMatchCharLength,ignoreLocation:i=O.ignoreLocation,findAllMatches:o=O.findAllMatches,location:l=O.location,threshold:s=O.threshold,distance:u=O.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r,minMatchCharLength:a,findAllMatches:o,ignoreLocation:i,location:l,threshold:s,distance:u},e=t?e:e.toLowerCase(),e=n?_(e):e,this.pattern=e,this.query=function(e,t={}){return e.split("|").map(e=>{let n=e.trim().split(L).filter(e=>e&&!!e.trim()),r=[];for(let e=0,a=n.length;e<a;e+=1){let a=n[e],i=!1,o=-1;for(;!i&&++o<j;){let e=R[o],n=e.isMultiMatch(a);n&&(r.push(new e(n,t)),i=!0)}if(!i)for(o=-1;++o<j;){let e=R[o],n=e.isSingleMatch(a);if(n){r.push(new e(n,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:n,isCaseSensitive:r,ignoreDiacritics:a}=this.options;e=r?e:e.toLowerCase(),e=a?_(e):e;let i=0,o=[],l=0;for(let r=0,a=t.length;r<a;r+=1){let a=t[r];o.length=0,i=0;for(let t=0,r=a.length;t<r;t+=1){let r=a[t],{isMatch:s,indices:u,score:c}=r.search(e);if(s){if(i+=1,l+=c,n){let e=r.constructor.type;Z.has(e)?o=[...o,...u]:o.push(u)}}else{l=0,i=0,o.length=0;break}}if(i){let e={isMatch:!0,score:l/i};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}}let z=[];function F(e,t){for(let n=0,r=z.length;n<r;n+=1){let r=z[n];if(r.condition(e,t))return new r(e,t)}return new E(e,t)}let Q={AND:"$and",OR:"$or"},H={PATH:"$path",PATTERN:"$val"},q=e=>!!(e[Q.AND]||e[Q.OR]),V=e=>!!e[H.PATH],W=e=>!r(e)&&l(e)&&!q(e),X=e=>({[Q.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Y(e,t,{auto:n=!0}={}){let a=e=>{let o=Object.keys(e),l=V(e);if(!l&&o.length>1&&!q(e))return a(X(e));if(W(e)){let r=l?e[H.PATH]:o[0],a=l?e[H.PATTERN]:e[r];if(!i(a))throw Error(d(r));let s={keyId:b(r),pattern:a};return n&&(s.searcher=F(a,t)),s}let s={children:[],operator:o[0]};return o.forEach(t=>{let n=e[t];r(n)&&n.forEach(e=>{s.children.push(a(e))})}),s};return q(e)||(e=X(e)),a(e)}function G(e,t){let n=e.matches;t.matches=[],s(n)&&n.forEach(e=>{if(!s(e.indices)||!e.indices.length)return;let{indices:n,value:r}=e,a={indices:n,value:r};e.key&&(a.key=e.key.src),e.idx>-1&&(a.refIndex=e.idx),t.matches.push(a)})}function K(e,t){t.score=e.score}class J{constructor(e,t={},n){this.options={...O,...t},this.options.useExtendedSearch,this._keyStore=new g(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof k))throw Error("Incorrect 'index' type");this._myIndex=t||x(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){s(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){let t=[];for(let n=0,r=this._docs.length;n<r;n+=1){let a=this._docs[n];e(a,n)&&(this.removeAt(n),n-=1,r-=1,t.push(a))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){let{includeMatches:n,includeScore:r,shouldSort:a,sortFn:l,ignoreFieldNorm:s}=this.options,u=i(e)?i(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return!function(e,{ignoreFieldNorm:t=O.ignoreFieldNorm}){e.forEach(e=>{let n=1;e.matches.forEach(({key:e,norm:r,score:a})=>{let i=e?e.weight:null;n*=Math.pow(0===a&&i?Number.EPSILON:a,(i||1)*(t?1:r))}),e.score=n})}(u,{ignoreFieldNorm:s}),a&&u.sort(l),o(t)&&t>-1&&(u=u.slice(0,t)),function(e,t,{includeMatches:n=O.includeMatches,includeScore:r=O.includeScore}={}){let a=[];return n&&a.push(G),r&&a.push(K),e.map(e=>{let{idx:n}=e,r={item:t[n],refIndex:n};return a.length&&a.forEach(t=>{t(e,r)}),r})}(u,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){let t=F(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach(({v:e,i:n,n:a})=>{if(!s(e))return;let{isMatch:i,score:o,indices:l}=t.searchIn(e);i&&r.push({item:e,idx:n,matches:[{score:o,value:e,norm:a,indices:l}]})}),r}_searchLogical(e){let t=Y(e,this.options),n=(e,t,r)=>{if(!e.children){let{keyId:n,searcher:a}=e,i=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:a});return i&&i.length?[{idx:r,item:t,matches:i}]:[]}let a=[];for(let i=0,o=e.children.length;i<o;i+=1){let o=n(e.children[i],t,r);if(o.length)a.push(...o);else if(e.operator===Q.AND)return[]}return a},r=this._myIndex.records,a={},i=[];return r.forEach(({$:e,i:r})=>{if(s(e)){let o=n(t,e,r);o.length&&(a[r]||(a[r]={idx:r,item:e,matches:[]},i.push(a[r])),o.forEach(({matches:e})=>{a[r].matches.push(...e)}))}}),i}_searchObjectList(e){let t=F(e,this.options),{keys:n,records:r}=this._myIndex,a=[];return r.forEach(({$:e,i:r})=>{if(!s(e))return;let i=[];
226n.forEach((n,r)=>{i.push(...this._findMatches({key:n,value:e[r],searcher:t}))}),i.length&&a.push({idx:r,item:e,matches:i})}),a}_findMatches({key:e,value:t,searcher:n}){if(!s(t))return[];let a=[];if(r(t))t.forEach(({v:t,i:r,n:i})=>{if(!s(t))return;let{isMatch:o,score:l,indices:u}=n.searchIn(t);o&&a.push({score:l,key:e,value:t,idx:r,norm:i,indices:u})});else{let{v:r,n:i}=t,{isMatch:o,score:l,indices:s}=n.searchIn(r);o&&a.push({score:l,key:e,value:r,norm:i,indices:s})}return a}}J.version="7.1.0",J.createIndex=x,J.parseIndex=function(e,{getFn:t=O.getFn,fieldNormWeight:n=O.fieldNormWeight}={}){let{keys:r,records:a}=e,i=new k({getFn:t,fieldNormWeight:n});return i.setKeys(r),i.setIndexRecords(a),i},J.config=O,J.parseQuery=Y,function(...e){z.push(...e)}(B)},98144:function(e,t,n){"use strict";n.d(t,{Z:function(){return i},o:function(){return o}});let r=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D
2267E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,a=Object.hasOwnProperty;class i{constructor(){this.occurrences,this.reset()}slug(e,t){let n=o(e,!0===t),r=n;for(;a.call(this.occurrences,n);)this.occurrences[r]++,n=r+"-"+this.occurrences[r];return this.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}}function o(e,t){return"string"!=typeof e?"":(t||(e=e.toLowerCase()),e.replace(r,"").replace(/ /g,"-"))}},9852:function(e,t,n){"use strict";n.d(t,{e:function(){return e_}});var r={};n.r(r),n.d(r,{boolean:function(){return d},booleanish:function(){return p},commaOrSpaceSeparated:function(){return v},commaSeparated:function(){return g},number:function(){return f},overloadedBoolean:function(){return m},spaceSeparated:function(){return h}});var a={};n.r(a),n.d(a,{boolean:function(){return X},booleanish:function(){return Y},commaOrSpaceSeparated:function(){return et},commaSeparated:function(){return ee},number:function(){return K},overloadedBoolean:function(){return G},spaceSeparated:function(){return J}});var i=n(76843);class o{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function l(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new o(n,r,t)}function s(e){return e.toLowerCase()}o.prototype.normal={},o.prototype.property={},o.prototype.space=void 0;class u{constructor(e,t){this.attribute=t,this.property=e}}u.prototype.attribute="",u.prototype.booleanish=!1,u.prototype.boolean=!1,u.prototype.commaOrSpaceSeparated=!1,u.prototype.commaSeparated=!1,u.prototype.defined=!1,u.prototype.mustUseProperty=!1,u.prototype.number=!1,u.prototype.overloadedBoolean=!1,u.prototype.property="",u.prototype.spaceSeparated=!1,u.prototype.space=void 0;let c=0,d=y(),p=y(),m=y(),f=y(),h=y(),g=y(),v=y();function y(){return 2**++c}let b=Object.keys(r);class O extends u{constructor(e,t,n,a){var i,o;let l=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++l<b.length;){let e=b[l];
226i=b[l],(o=(n&r[e])===r[e])&&(this[i]=o)}}}function w(e){let t={},n={};for(let[r,a]of Object.entries(e.properties)){let i=new O(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[s(r)]=r,n[s(i.attribute)]=r}return new o(t,n,e.space)}O.prototype.defined=!0;let k=w({properties:{ariaActiveDescendant:null,ariaAtomic:p,ariaAutoComplete:null,ariaBusy:p,ariaChecked:p,ariaColCount:f,ariaColIndex:f,ariaColSpan:f,ariaControls:h,ariaCurrent:null,ariaDescribedBy:h,ariaDetails:null,ariaDisabled:p,ariaDropEffect:h,ariaErrorMessage:null,ariaExpanded:p,ariaFlowTo:h,ariaGrabbed:p,ariaHasPopup:null,ariaHidden:p,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:h,ariaLevel:f,ariaLive:null,ariaModal:p,ariaMultiLine:p,ariaMultiSelectable:p,ariaOrientation:null,ariaOwns:h,ariaPlaceholder:null,ariaPosInSet:f,ariaPressed:p,ariaReadOnly:p,ariaRelevant:null,ariaRequired:p,ariaRoleDescription:h,ariaRowCount:f,ariaRowIndex:f,ariaRowSpan:f,ariaSelected:p,ariaSetSize:f,ariaSort:null,ariaValueMax:f,ariaValueMin:f,ariaValueNow:f,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function x(e,t){return t in e?e[t]:t}function S(e,t){return x(e,t.toLowerCase())}let _=w({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:g,acceptCharset:h,accessKey:h,action:null,allow:null,allowFullScreen:d,allowPaymentRequest:d,allowUserMedia:d,alt:null,as:null,async:d,autoCapitalize:null,autoComplete:h,autoFocus:d,autoPlay:d,blocking:h,capture:null,charSet:null,checked:d,cite:null,className:h,cols:f,colSpan:null,content:null,contentEditable:p,controls:d,controlsList:h,coords:f|g,crossOrigin:null,data:null,dateTime:null,decoding:null,default:d,defer:d,dir:null,dirName:null,disabled:d,download:m,draggable:p,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:d,formTarget:null,headers:h,height:f,hidden:m,high:f,href:null,hrefLang:null,htmlFor:h,httpEquiv:h,id:null,imageSizes:null,imageSrcSet:null,inert:d,inputMode:null,integrity:null,is:null,isMap:d,itemId:null,itemProp:h,itemRef:h,itemScope:d,itemType:h,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:d,low:f,manifest:null,max:null,maxLength:f,media:null,method:null,min:null,minLength:f,multiple:d,muted:d,name:null,nonce:null,noModule:d,noValidate:d,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:d,optimum:f,pattern:null,ping:h,placeholder:null,playsInline:d,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:d,referrerPolicy:null,rel:h,required:d,reversed:d,rows:f,rowSpan:f,sandbox:h,scope:null,scoped:d,seamless:d,selected:d,shadowRootClonable:d,shadowRootDelegatesFocus:d,shadowRootMode:null,shape:null,size:f,sizes:null,slot:null,span:f,spellCheck:p,src:null,
226srcDoc:null,srcLang:null,srcSet:null,start:f,step:null,style:null,tabIndex:f,target:null,title:null,translate:null,type:null,typeMustMatch:d,useMap:null,value:p,width:f,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:h,axis:null,background:null,bgColor:null,border:f,borderColor:null,bottomMargin:f,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:d,declare:d,event:null,face:null,frame:null,frameBorder:null,hSpace:f,leftMargin:f,link:null,longDesc:null,lowSrc:null,marginHeight:f,marginWidth:f,noResize:d,noHref:d,noShade:d,noWrap:d,object:null,profile:null,prompt:null,rev:null,rightMargin:f,rules:null,scheme:null,scrolling:p,standby:null,summary:null,text:null,topMargin:f,valueType:null,version:null,vAlign:null,vLink:null,vSpace:f,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:d,disableRemotePlayback:d,prefix:null,property:null,results:f,security:null,unselectable:null},space:"html",transform:S}),E=w({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
226-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:v,accentHeight:f,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:f,amplitude:f,arabicForm:null,ascent:f,attributeName:null,attributeType:null,azimuth:f,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:f,by:null,calcMode:null,capHeight:f,className:h,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:f,diffuseConstant:f,direction:null,display:null,dur:null,divisor:f,dominantBaseline:null,download:d,dx:null,dy:null,edgeMode:null,editable:null,elevation:f,enableBackground:null,end:null,event:null,exponent:f,externalResourcesRequired:null,fill:null,fillOpacity:f,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:g,g2:g,glyphName:g,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:f,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:f,horizOriginX:f,horizOriginY:f,id:null,ideographic:f,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:f,k:f,k1:f,k2:f,k3:f,k4:f,kernelMatrix:v,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:f,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:f,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
226Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:f,overlineThickness:f,paintOrder:null,panose1:null,path:null,pathLength:f,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:h,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:f,pointsAtY:f,pointsAtZ:f,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:v,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:v,rev:v,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:v,requiredFeatures:v,requiredFonts:v,requiredFormats:v,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:f,specularExponent:f,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:f,strikethroughThickness:f,string:null,stroke:null,strokeDashArray:v,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:f,strokeOpacity:f,strokeWidth:null,style:null,surfaceScale:f,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:v,tabIndex:f,tableValues:null,target:null,targetX:f,targetY:f,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:v,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:f,underlineThickness:f,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:f,values:null,vAlphabetic:f,vMathematical:f,vectorEffect:null,vHanging:f,vIdeographic:f,version:null,vertAdvY:f,vertOriginX:f,vertOriginY:f,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:f,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:x}),A=w({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),T=w({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),D=w({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=l([k,_,A,T,D],"html"),$=l([k,E,A,T,D],"svg");var P=n(10311);let I=/[#.]/g,N=/[A-Z]/g,U=/-[a-z]/g,M=/^data[-\w.:]+$/i;function R(e){return"-"+e.toLowerCase()}function j(e){return e.charAt(1).toUpperCase()}var L=n(92295);function Z(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let o;if(null==n)o={type:"root",children:[]},i.unshift(a);else{let l=(o=function(e,t){let n,r;let a=e||"",i={},o=0;for(;o<a.length;){I.lastIndex=o;let e=I.exec(a),t=a.slice(o,e?e.index:a.length);t&&(n?"#"===n?i.id=t:Array.isArray(i.className)?i.className.push(t):i.className=[t]:r=t,o+=t.length),e&&(n=e[0],o++)}return{type:"element",tagName:r||t||"div",properties:i,children:[]}}(n,t)).tagName.toLowerCase(),c=r?r.get(l):void 0;if(o.tagName=c||l,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;for(let t of Object.keys(e)){let n=e[t];if(n&&"object"==typeof n){if(!Array.isArray(n))return!0;for(let e of n)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=s(t),r=t,a=u;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&M.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(U,j);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!U.test(e)){let n=e.replace(N,R);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=O}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,L.Q)(r):i.commaSeparated?(0,P.Q)(r):i.commaOrSpaceSeparated?(0,L.Q)((0,P.Q)(r).join(" ")):B(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];
226for(let t of a)e.push(B(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,o.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(o.children,e);return"element"===o.type&&"template"===o.tagName&&(o.content={type:"root",children:o.children},o.children=[]),o}}function B(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||s(n)===s(t)))return!0}return n}let z=Z(C,"div"),F=Z($,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);class Q{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function H(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new Q(n,r,t)}function q(e){return e.toLowerCase()}Q.prototype.normal={},Q.prototype.property={},Q.prototype.space=void 0;class V{constructor(e,t){this.attribute=t,this.property=e}}V.prototype.attribute="",V.prototype.booleanish=!1,V.prototype.boolean=!1,V.prototype.commaOrSpaceSeparated=!1,V.prototype.commaSeparated=!1,V.prototype.defined=!1,V.prototype.mustUseProperty=!1,V.prototype.number=!1,V.prototype.overloadedBoolean=!1,V.prototype.property="",V.prototype.spaceSeparated=!1,V.prototype.space=void 0;let W=0,X=en(),Y=en(),G=en(),K=en(),J=en(),ee=en(),et=en();function en(){return 2**++W}let er=Object.keys(a);class ea extends V{constructor(e,t,n,r){var i,o;let l=-1;if(super(e,t),r&&(this.space=r),"number"==typeof n)for(;++l<er.length;){let e=er[l];i=er[l],(o=(n&a[e])===a[e])&&(this[i]=o)}}}function ei(e){let t={},n={};for(let[r,a]of Object.entries(e.properties)){let i=new ea(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[q(r)]=r,n[q(i.attribute)]=r}return new Q(t,n,e.space)}ea.prototype.defined=!0;let eo=ei({properties:{ariaActiveDescendant:null,ariaAtomic:Y,ariaAutoComplete:null,ariaBusy:Y,ariaChecked:Y,ariaColCount:K,ariaColIndex:K,ariaColSpan:K,ariaControls:J,ariaCurrent:null,ariaDescribedBy:J,ariaDetails:null,ariaDisabled:Y,ariaDropEffect:J,ariaErrorMessage:null,ariaExpanded:Y,ariaFlowTo:J,ariaGrabbed:Y,ariaHasPopup:null,ariaHidden:Y,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:J,ariaLevel:K,ariaLive:null,ariaModal:Y,ariaMultiLine:Y,ariaMultiSelectable:Y,ariaOrientation:null,ariaOwns:J,ariaPlaceholder:null,ariaPosInSet:K,ariaPressed:Y,ariaReadOnly:Y,ariaRelevant:null,ariaRequired:Y,ariaRoleDescription:J,ariaRowCount:K,ariaRowIndex:K,ariaRowSpan:K,ariaSelected:Y,ariaSetSize:K,ariaSort:null,ariaValueMax:K,ariaValueMin:K,ariaValueNow:K,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function el(e,t){return t in e?e[t]:t}function es(e,t){return el(e,t.toLowerCase())}let eu=ei({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ee,acceptCharset:J,accessKey:J,action:null,allow:null,allowFullScreen:X,allowPaymentRequest:X,allowUserMedia:X,alt:null,as:null,async:X,autoCapitalize:null,autoComplete:J,autoFocus:X,autoPlay:X,blocking:J,capture:null,charSet:null,checked:X,cite:null,className:J,cols:K,colSpan:null,content:null,contentEditable:Y,controls:X,controlsList:J,coords:K|ee,crossOrigin:null,data:null,dateTime:null,decoding:null,default:X,defer:X,dir:null,dirName:null,disabled:X,download:G,draggable:Y,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:X,formTarget:null,headers:J,height:K,hidden:G,high:K,href:null,hrefLang:null,htmlFor:J,httpEquiv:J,id:null,imageSizes:null,imageSrcSet:null,inert:X,inputMode:null,integrity:null,is:null,isMap:X,itemId:null,itemProp:J,itemRef:J,itemScope:X,itemType:J,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:X,low:K,manifest:null,max:null,maxLength:K,media:null,method:null,min:null,minLength:K,multiple:X,muted:X,name:null,nonce:null,noModule:X,noValidate:X,onAbort:null,onAfterPrint:null,onAuxCl
226ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:X,optimum:K,pattern:null,ping:J,placeholder:null,playsInline:X,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:X,referrerPolicy:null,rel:J,required:X,reversed:X,rows:K,rowSpan:K,sandbox:J,scope:null,scoped:X,seamless:X,selected:X,shadowRootClonable:X,shadowRootDelegatesFocus:X,shadowRootMode:null,shape:null,size:K,sizes:null,slot:null,span:K,spellCheck:Y,src:null,srcDoc:null,srcLang:null,srcSet:null,start:K,step:null,style:null,tabIndex:K,target:null,title:null,translate:null,type:null,typeMustMatch:X,useMap:null,value:Y,width:K,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:J,axis:null,background:null,bgColor:null,border:K,borderColor:null,bottomMargin:K,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:X,declare:X,event:null,face:null,frame:null,frameBorder:null,hSpace:K,leftMargin:K,link:null,longDesc:null,lowSrc:null,marginHeight:K,marginWidth:K,noResize:X,noHref:X,noShade:X,noWrap:X,object:null,profile:null,prompt:null,rev:null,rightMargin:K,rules:null,scheme:null,scrolling:Y,standby:null,summary:null,text:null,topMargin:K,valueType:null,version:null,vAlign:null,vLink:null,vSpace:K,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:X,disableRemotePlayback:X,prefix:null,property:null,results:K,security:null,unselectable:null},space:"html",transform:es}),ec=ei({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav
226-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:et,accentHeight:K,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:K,amplitude:K,arabicForm:null,ascent:K,attributeName:null,attributeType:null,azimuth:K,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:K,by:null,calcMode:null,capHeight:K,className:J,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:K,diffuseConstant:K,direction:null,display:null,dur:null,divisor:K,dominantBaseline:null,download:X,dx:null,dy:null,edgeMode:null,editable:null,elevation:K,enableBackground:null,end:null,event:null,exponent:K,externalResourcesRequired:null,fill:null,fillOpacity:K,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ee,g2:ee,glyphName:ee,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:K,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:K,horizOriginX:K,horizOriginY:K,id:null,ideographic:K,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:K,k:K,k1:K,k2:K,k3:K,k4:K,kernelMatrix:et,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:K,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:K,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
226Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:K,overlineThickness:K,paintOrder:null,panose1:null,path:null,pathLength:K,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:J,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:K,pointsAtY:K,pointsAtZ:K,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:et,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:et,rev:et,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:et,requiredFeatures:et,requiredFonts:et,requiredFormats:et,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:K,specularExponent:K,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:K,strikethroughThickness:K,string:null,stroke:null,strokeDashArray:et,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:K,strokeOpacity:K,strokeWidth:null,style:null,surfaceScale:K,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:et,tabIndex:K,tableValues:null,target:null,targetX:K,targetY:K,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:et,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:K,underlineThickness:K,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:K,values:null,vAlphabetic:K,vMathematical:K,vectorEffect:null,vHanging:K,vIdeographic:K,version:null,vertAdvY:K,vertOriginX:K,vertOriginY:K,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:K,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:el}),ed=ei({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),ep=ei({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:es}),em=ei({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),ef=H([eo,eu,ed,ep,em],"html"),eh=H([eo,ec,ed,ep,em],"svg"),eg=/[A-Z]/g,ev=/-[a-z]/g,ey=/^data[-\w.:]+$/i;function eb(e){return"-"+e.toLowerCase()}function eO(e){return e.charAt(1).toUpperCase()}function ew(e,t){let n=e.indexOf("\r",t),r=e.indexOf("\n",t);return -1===r?n:-1===n||n+1===r?r:n<r?n:r}var ek=n(66701);let ex={}.hasOwnProperty,eS=Object.prototype;function e_(e,t){let n=t||{};return eE({file:n.file||void 0,location:!1,schema:"svg"===n.space?eh:ef,verbose:n.verbose||!1},e)}function eE(e,t){let n;switch(t.nodeName){case"#comment":return n={type:"comment",value:t.data},eT(e,t,n),n;case"#document":case"#document-fragment":{let r="mode"in t&&("quirks"===t.mode||"limited-quirks"===t.mode);if(n={type:"root",children:eA(e,t.childNodes),data:{quirksMode:r}},e.file&&e.location){let t=String(e.file),r=function(e){let t=String(e),n=[];return{toOffset:function(e){if(e&&"number"==typeof e.line&&"number"==typeof e.column&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;n.length<e.line;){let e=n[n.length-1],r=ew(t,e),a=-1===r?t.length+1:r+1;if(e===a)break;n.push(a)}let r=(e.line>1?n[e.line-2]:0)+e.column-1;if(r<n[e.line-1])return r}},toPoint:function(e){if("number"==typeof e&&e>-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=ew(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),o=r.toPoint(t.length);(0,i.ok)(a,"expected `start`"),(0,i.ok)(o,"expected `end`"),n.position={start:a,end:o}}return n}case"#documentType":return eT(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},eT(e,t,n),n;
226default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===ek.t.svg?eh:ef;let r=-1,a={};for(;++r<t.attrs.length;){let e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name;ex.call(eS,n)||(a[n]=e.value)}let i=("svg"===e.schema.space?F:z)(t.tagName,a,eA(e,t.childNodes));if(eT(e,t,i),"template"===i.tagName){let n=t.sourceCodeLocation,r=n&&n.startTag&&eD(n.startTag),a=n&&n.endTag&&eD(n.endTag),o=eE(e,t.content);r&&a&&e.file&&(o.position={start:r.end,end:a.start}),i.content=o}return e.schema=n,i}(e,t)}}function eA(e,t){let n=-1,r=[];for(;++n<t.length;){let a=eE(e,t[n]);r.push(a)}return r}function eT(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){let r=function(e,t,n){let r=eD(n);if("element"===t.type){let a=t.children[t.children.length-1];if(r&&!n.endTag&&a&&a.position&&a.position.end&&(r.end=Object.assign({},a.position.end)),e.verbose){let r;let a={};if(n.attrs)for(r in n.attrs)ex.call(n.attrs,r)&&(a[function(e,t){let n=q(t),r=t,a=V;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&ey.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(ev,eO);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!ev.test(e)){let n=e.replace(eg,eb);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=ea}return new a(r,t)}(e.schema,r).property]=eD(n.attrs[r]));(0,i.ok)(n.startTag,"a start tag should exist");let o=eD(n.startTag),l=n.endTag?eD(n.endTag):void 0,s={opening:o};l&&(s.closing=l),s.properties=a,t.data={position:s}}}return r}(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function eD(e){let t=eC({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=eC({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function eC(e){return e.line&&e.column?e:void 0}},13489:function(e,t,n){"use strict";n.d(t,{Y:function(){return a},k:function(){return r}});let r=function(e,t,n,r,i){let o=a(t);if(null!=n&&("number"!=typeof n||n<0||n===Number.POSITIVE_INFINITY))throw Error("Expected positive finite `index`");if(null!=r&&(!r.type||!r.children))throw Error("Expected valid `parent`");if(null==n!=(null==r))throw Error("Expected both `index` and `parent`");return!!l(e)&&o.call(i,e,n,r)},a=function(e){if(null==e)return o;if("string"==typeof e)return i(function(t){return t.tagName===e});if("object"==typeof e)return function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=a(e[n]);return i(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e);if("function"==typeof e)return i(e);throw Error("Expected function, string, or array as `test`")};function i(e){return function(t,n,r){return!!(l(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function o(e){return!!(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)}function l(e){return null!==e&&"object"==typeof e&&"type"in e&&"tagName"in e}},28711:function(e,t,n){"use strict";n.d(t,{Q:function(){return a}});let r=/[ \t\n\f\r]/g;function a(e){return"object"==typeof e?"text"===e.type&&i(e.value):i(e)}function i(e){return""===e.replace(r,"")}},60638:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});let r=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"]},31412:function(e,t,n){"use strict";let r;n.d(t,{cv:function(){return b},kZ:function(){return f}});var a=n(82957).lW;let i="function"==typeof a;"function"==typeof TextDecoder&&new TextDecoder;let o="function"==typeof TextEncoder?new TextEncoder:void 0,l=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),s=(r={},l.forEach((e,t)=>r[e]=t),r),u=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,c=String.fromCharCode.bind(String);"function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array);let d=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),p="function"==typeof btoa?e=>btoa(e):i?e=>a.from(e,"binary").toString("base64"):e=>{let t,n,r,a,i="",o=e.length%3;for(let o=0;o<e.length;){if((n=e.charCodeAt(o++))>255||(r=e.charCodeAt(o++))>255||(a=e.charCodeAt(o++))>255)throw TypeError("invalid character found");i+=l[(t=n<<16|r<<8|a)>>18&63]+l[t>>12&63]+l[t>>6&63]+l[63&t]}return o?i.slice(0,o-3)+"===".substring(o):i},m=i?e=>a.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(c.apply(null,e.subarray(n,n+4096)));return p(t.join(""))},f=(e,t=!1)=>t?d(m(e)):m(e),h=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?c(192|t>>>6)+c(128|63&t):c(224|t>>>12&15)+c(128|t>>>6&63)+c(128|63&t)}var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return c(240|t>>>18&7)+c(128|t>>>12&63)+c(128|t>>>6&63)+c(128|63&t)},g=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,v=e=>e.replace(g,h),y=i?e=>a.from(e,"utf8").toString("base64"):o?e=>m(o.encode(e)):e=>p(v(e)),b=(e,t=!1)=>t?d(y(e)):y(e);"function"==typeof atob||i||(e=>{let t,n,r;
226if(e=e.replace(/\s+/g,""),!u.test(e))throw TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let a=[];for(let i=0;i<e.length;)t=s[e.charAt(i++)]<<18|s[e.charAt(i++)]<<12|(n=s[e.charAt(i++)])<<6|(r=s[e.charAt(i++)]),64===n?a.push(c(t>>16&255)):64===r?a.push(c(t>>16&255,t>>8&255)):a.push(c(t>>16&255,t>>8&255,255&t));return a.join("")})},96358:function(e,t,n){"use strict";n.d(t,{_b:function(){return eq},WU:function(){return N},P4:function(){return ei},dy:function(){return U},Qc:function(){return tT},Bm:function(){return tD}});var r,a,i,o,l,s,u,c,d,p,m,f,h,g,v,y,b,O,w,k,x,S,_,E,A,T,D,C,$,P,I,N={};n.r(N),n.d(N,{i:function(){return O},F:function(){return z}});var U={};n.r(U),n.d(U,{ATTRS:function(){return A},DOCUMENT_MODE:function(){return T},NS:function(){return E},SPECIAL_ELEMENTS:function(){return ee},TAG_ID:function(){return C},TAG_NAMES:function(){return D},getTagID:function(){return K},hasUnescapedText:function(){return er},isNumberedHeader:function(){return et}});let M=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]);(r=y=y||(y={}))[r.EOF=-1]="EOF",r[r.NULL=0]="NULL",r[r.TABULATION=9]="TABULATION",r[r.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",r[r.LINE_FEED=10]="LINE_FEED",r[r.FORM_FEED=12]="FORM_FEED",r[r.SPACE=32]="SPACE",r[r.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",r[r.QUOTATION_MARK=34]="QUOTATION_MARK",r[r.NUMBER_SIGN=35]="NUMBER_SIGN",r[r.AMPERSAND=38]="AMPERSAND",r[r.APOSTROPHE=39]="APOSTROPHE",r[r.HYPHEN_MINUS=45]="HYPHEN_MINUS",r[r.SOLIDUS=47]="SOLIDUS",r[r.DIGIT_0=48]="DIGIT_0",r[r.DIGIT_9=57]="DIGIT_9",r[r.SEMICOLON=59]="SEMICOLON",r[r.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",r[r.EQUALS_SIGN=61]="EQUALS_SIGN",r[r.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",r[r.QUESTION_MARK=63]="QUESTION_MARK",r[r.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",r[r.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",r[r.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",r[r.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",r[r.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",r[r.GRAVE_ACCENT=96]="GRAVE_ACCENT",r[r.LATIN_SMALL_A=97]="LATIN_SMALL_A",r[r.LATIN_SMALL_F=102]="LATIN_SMALL_F",r[r.LATIN_SMALL_X=120]="LATIN_SMALL_X",r[r.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",r[r.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER";let R={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function j(e){return e>=55296&&e<=57343}function L(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function Z(e){return e>=64976&&e<=65007||M.has(e)}(a=b=b||(b={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctype
226SystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class B{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,y.EOF;return this._err(b.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((32|this.html.charCodeAt(this.pos+t))!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,y.EOF;let n=this.html.charCodeAt(t);return n===y.CARRIAGE_RETURN?y.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,y.EOF;let e=this.html.charCodeAt(this.pos);return e===y.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,y.LINE_FEED):e===y.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,j(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===y.LINE_FEED||e===y.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){L(e)?this._err(b.controlCharacterInInputStream):Z(e)&&this._err(b.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function z(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=O=O||(O={}
226))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var F=new Uint16Array('áµ<\xd5ıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcfligè»\xc6äPè»&ä¦cuteè»\xc1äreve;äÄiyx}rcè»\xc2ä;är;ì\ud835\udd04raveè»\xc0äpha;äacr;äd;æ©Ägp\x9d\xa1on;äf;ì\ud835\udd38plyFunction;æ¡ingè»\xc5ä
Äcs\xbe\xc3r;ì\ud835\udc9cign;æildeè»\xc3ämlè»\xc4äÐaceforsu\xe5\xfb\xfeÄÄĢħĪÄcr\xea\xf2kslash;æÅ¶\xf6\xf8;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ì\ud835\udd05pf;ì\ud835\udd39eve;äc\xf2Ämpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»\xa9䩯cpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»\xc7ärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·\xf2Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ì\ud835\udc9epÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ì\ud835\udd07Äaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ì\ud835\udd3bÆ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegra\xecȹoɴ͹\0\0Í»\xbbÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æe\xe5ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\0\0ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\0Ñ\0ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\0ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ì\ud835\udc9frok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»\xd0äcuteè»\xc9äÆaiyÓÓÓron;ärcè»\xcaä;äot;är;ì\ud835\udd08raveè»\xc8äement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ì\ud835\udd3csilon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»\xcbäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ì\ud835\udd09lledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ì\ud835\udd3dAll;æriertrf;æ±c\xf2רJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ì\ud835\udd0a;æpf;ì\ud835\udd3eeaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ì\ud835\udca2;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
\xf2Ú©rok;ä¦mpÅÛÛownHum\xf0įqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»\xcdäÄiyÜÜrcè»\xceä;äot;ä°r;æraveè»\xccäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lie\xf3ÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ì\ud835\udd40a;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»\xcfäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ì\ud835\udd0dpf;ì\ud835\udd41Ç£ß\0ßr;ì\ud835\udca5rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ì\ud835\udd0epf;ì\ud835\udd42cr;ì\ud835\udca6ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\0à£bleBracket;æ¦nÇà£\0à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ight\xe1ÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ì\ud835\udd0fÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ight\xe1οight\xe1Ïf;ì\ud835\udd43erÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©\xf2à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ì\ud835\udd10nusPlus;æpf;ì\ud835\udd44c\xf2à©¶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«\xebà«eryThi\xeeà«tedÄGL૸à¬reaterGreate\xf2Ù³essLes\xf3à©Line;är;ì\ud835\udd11ÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ì\ud835\udca9ildeè»\xd1ä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»\xd3äÄiyà·à·rcè»\xd4ä;äblac;ä
r;ì\ud835\udd12raveè»\xd2äÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ì\ud835\udd46enCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ì\ud835\udcaaashè»\xd8äiŬื฼deè»\xd5äes;樷mlè»\xd6äerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;
226æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ì\ud835\udd13i;ä¦;ä usMinus;ä±Äipຢàºncareplan\xe5Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ì\ud835\udcab;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ì\ud835\udd14pf;æcr;ì\ud835\udcacØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»\xae䮯cnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r\xbbཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\0á
bleBracket;æ§nÇá\0áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ì\ud835\udd16ortÈDLRUáªá´á¾á
ownArrow\xbbÐeftArrow\xbbà¢ightArrow\xbbà¿pArrow;ægma;ä£allCircle;æpf;ì\ud835\udd4aɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ì\ud835\udcaear;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Th\xe1à¾;æÆ;esááá£ærsetÄ;Eááæqual;æet\xbbáÖHRSacfhiorsá¾ááááá±á¶ááááORNè»\xdeäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ì\ud835\udd17Äeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ì\ud835\udd4bipleDot;æÄctáár;ì\ud835\udcafrok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»\xdaärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»\xdbä;ä£blac;ä
°r;ì\ud835\udd18raveè»\xd9äacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ì\ud835\udd4cÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥own\xe1ϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ì\ud835\udcb0ilde;ä
¨mlè»\xdcäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ì\ud835\udd19pf;ì\ud835\udd4dcr;ì\ud835\udcb1dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;ì\ud835\udd1apf;ì\ud835\udd4ecr;ì\ud835\udcb2Èfiosáááár;ì\ud835\udd1b;äpf;ì\ud835\udd4fcr;ì\ud835\udcb3ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»\xddäÄiyáárc;ä
¶;ä«r;ì\ud835\udd1cpf;ì\ud835\udd50cr;ì\ud835\udcb4ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidt\xe8à«a;är;æ¨pf;æ¤cr;ì\ud835\udcb5௡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»\xe1ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»\xe2ä¢teè»\xb4Ì;ä°ligè»\xe6ä¦Ä;r\xb2áº;ì\ud835\udd1eraveè»\xe0ä ÄepááÄfpáásym;æµ\xe8áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e\xbbásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢\xbb\xb9arr;æ¼Ägpá£á§on;ä
f;ì\ud835\udd52Î;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eáá\xf1áingè»\xe5䥯ctyá¡á¦á¨r;ì\ud835\udcb6;äªmpÄ;eáá¯\xf1Êildeè»\xe3ä£mlè»\xe4ä¤Äciááonin\xf4ɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e\xbbárkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰s\xe9áno\xf5ÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ì\ud835\udd1fgÎcostuvwááá³ááááÆaiuááá\xf0Ý rc;æ¯p\xbbá±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨e\xe5á\xe5áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ì\ud835\udd53Ä;táá¡£om\xbbátie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»\xa6ä¦Èceioá¥á¥á¥á¥ r;ì\ud835\udcb7mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t\xbb᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æ\xeeÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;
226ädilè»\xe7ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»\xb8Æptyv;榲tè\xa2;eá¨á¨®ä¢r\xe4Ʋr;ì\ud835\udd20Æceiᨽá©á©y;äckÄ;má©á©æark\xbbá©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáª\xbbà½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it\xbb᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;q\xc7\xc6Éá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æ\xeeá
eÄmx᫱᫶ent\xbbá«©e\xf3Éǧ᫾\0á¬Ä;dá»á¬ot;æ©n\xf4ÉÆfryá¬á¬á¬;ì\ud835\udd54o\xe4Éè\xa9;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ì\ud835\udcb8ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\0\0áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\0\0á¯re\xe3á³u\xe3áµee;æedge;æenè»\xa4ä¤earrowÄlrᯮ᯳eft\xbbá®ight\xbbᮽe\xe4á¯Äciá°á°onin\xf4Ç·nt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·r\xf2Îar;楥Èglrsá±á±á±á±ger;æ eth;æ¸\xf2á³hÄ;vá±á±æ\xbbà¤Å«á±¡á±§arow;æ¤a\xe3ÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»\xb0ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ì\ud835\udd21arÄlrᲳᲵ\xbbà£\xbbáÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè\xf7;oá³§á³°ntimes;æn\xf8á³·cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ì\ud835\udd55Ê;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedg\xe5\xfanÆadhá®áµáµ§ownarrow\xf3á²arpoonÄlrᵲᵶef\xf4á²´igh\xf4ᲶŢᵿá¶
karo\xf7à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ì\ud835\udcb9;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·r\xf2Щa\xf2ྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´o\xf4á²Äcsá¸á¸uteè»\xe9ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»\xeaäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ì\ud835\udd22Æ;rsá¹á¹á¹æªaveè»\xe8ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et\xbbáºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ì\ud835\udd56Æalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon\xbbá»;äµÈcsuvỪỳá¼á¼£Äioữḱrc\xbbḮɩỹ\0\0á»»\xedÕantÄglá¼á¼tr\xbbá¹ess\xbbṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯o\xf4ÍÄahá½á½;ä·è»\xf0ä°Ämrá½á½lè»\xebä«o;æ¬Æcipὡὤὧl;ä¡s\xf4Õ®ÄeoὬὴctatio\xeeÕnential\xe5չৡá¾\0á¾\0ᾡᾧ\0\0á¿á¿\0á¿\0ῦῪâ\0ââllingdotse\xf1á¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ì\ud835\udd23lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ì\ud835\udd57ÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»\xbdä½;æ
è»\xbcä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»\xbeä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ì\ud835\udcbbà¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlan\xf4Ù¥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ì\ud835\udd24Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox\xbbâ¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ì\ud835\udd58Äciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âpro\xf8âr;楸qÄlqØ¿âles\xf3âi\xedÙ«Äenâ£ârtneqq;ìâ©ï¸\xc5âªÔAabcefkosyâââ±âµâºâââ¯â¨â½r\xf2Î Èilmrâââârs\xf0áf\xbbâ¤il\xf4Ú©Ädrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it\xbbâlip;æ¦con;æ¹r;ì\ud835\udd25sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ì\ud835\udd59bar;æÆcltâ¯â´â¸r;ì\ud835\udcbdas\xe8â´rok;ä§Äbpââull;æhen\xbbá±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»\xedäÆ;
226iyݱâ°âµrcè»\xeeä®;ä¸Äcxâ¼â¿y;äµclè»\xa1ä¡ÄfrÎâ;ì\ud835\udd26raveè»\xecä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââin\xe5Þar\xf4Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§do\xf4âÊ;celpÝââââ¡al;æºÄgrââer\xf3á£\xe3âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ì\ud835\udd5aa;ä¹uestè»\xbfä¿Äciââr;ì\ud835\udcbenÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»\xefä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ì\ud835\udd27ath;ä·pf;ì\ud835\udd5bÇ£â¬\0â±r;ì\ud835\udcbfrcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ì\ud835\udd28reen;ä¸cy;ä
cy;äpf;ì\ud835\udd5ccr;ì\ud835\udcc0à®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼r\xf2à§\xf2Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴ra\xeeà¡bda;ä»gÆ;dlà¢ââ;æ¦\xe5à¢;æª
uoè»\xabä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤\xebâp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼\xecࢰ\xe2â©;
226ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡a\xe9â¶arpoonÄduâ¯â´own\xbbÑp\xbb०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoon\xf3à¾quigarro\xf7â°hreetimes;æÆ;qsâà¦âºlan\xf4বÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââppro\xf8âot;æqÄgqââ
\xf4à¦gt\xf2â\xf4à¦i\xedলÆilrâ࣡âsht;楼;ì\ud835\udd29Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââr\xf2âorne\xf2á´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che\xbbâÈEaesâ»â½ââ;æ¨pÄ;pââæªrox\xbbâÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½r\xebà£gÆlmrâ¿ââeftÄar০âight\xe1à§²apsto;æ¼ight\xe1à§½parrowÄlrâ¥â©ef\xf4âight;æ¬Æaflâ¶â¹â½r;æ¦
;ì\ud835\udd5dus;æ¨imes;樴šââst;æ\xe1áÆ;efââá ænge\xbbâarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âr\xf2ࢨorne\xf2á¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ì\ud835\udcc1mÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹re\xe5â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸\xc5â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»\xafä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se\xbbâ¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»ow\xeeÒef\xf4à¤\xf0áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle\xbbá¦r;ì\ud835\udd2ao;æ§Æcdn⢯⢴â£roè»\xb5äµÈ;acdá¤â¢½â£â£s\xf4á§ir;æ«°otè»\xb7ƵusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«\xf2â\xf0àªÄdp⣩⣮els;æ§f;ì\ud835\udd5eÄct⣸⣽r;ì\ud835\udcc2pos\xbbáÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la\xbbËute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
ro\xf8à¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»\xa0ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸ui\xf6à£Äeiâ©â©ar;椨\xedà®istÄ;sà® à®r;ì\ud835\udd2bÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lan\xf4௢i\xed௪Ä;rà®¶âª\xbbà®·ÆAapâªâªâªr\xf2⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹r\xf2⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro\xf7â«ightarro\xf7âªÆ;qs఻⪺⫪lan\xf4à±Ä;sà±â«´\xbbà°¶i\xedà±Ä;rవ⫾iÄ;eà°à°¥i\xe4à¶Äptâ¬â¬f;ì\ud835\udd5fè\xac;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlle\xecà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³u\xe5ಥÄ;cà²â¸Ä;eà²â½\xf1à²ÈAaitâ®â®â®â®§r\xf2â¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow\xbbâ®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯u\xe5àµ
;ì\ud835\udcc3ortÉâ¬
\0\0â¯ar\xe1âmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯\xe5೸\xe5à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°\xf1à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±\xecà¯ldeè»\xf1ä±\xe7à±iangleÄlrâ±â±eftÄ;eà°â±\xf1à°¦ightÄ;eà³â±¥\xf1à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0â´¸âµâµ ⵥ⵲â¶á¬\0\0â¶â¶«\0â·â·\0â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»\xf3ä³Äiyâ´¼âµ
rÄ;cáªâµè»\xf4ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ì\ud835\udd2cͯ⵹\0\0âµ¼\0â¶n;äaveè»\xf2ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨r\xf2áªÄirâ¶â¶ r;榾oss;榻n\xe5à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ì\ud835\udd60Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨r\xf2áªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f\xbbâ·¿è»\xaaäªè»\xbaäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§\xf2â¸ashè»\xf8ä¸l;æiŬⸯ⸴deè»\xf5äµesÄ;aÇ⸺s;樶mlè»\xf6ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;
226astÐâ¹§â¹²àº
è\xb6;lâ¹â¹®ä¶le\xecÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ì\ud835\udd2dÆimo⺨⺰⺴Ä;vâºâº®ä;äma\xf4à©¶ne;æÆ;tv⺿â»â»ächfork\xbb´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æ\xf6â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»\xb1àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ì\ud835\udd61ndè»\xa3ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷u\xe5à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾ppro\xf8â½urlye\xf1à»\xf1à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨i\xedà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½º\xf0â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴\xefà»»rel;æ°Äciâ¿â¿
r;ì\ud835\udcc5;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ì\ud835\udd2epf;ì\ud835\udd62rime;æcr;ì\ud835\udcc6Æaeo⿸ããtÄei⿾ã
rnion\xf3Ú°nt;æ¨stÄ;eããä¿\xf1á¼\xf4à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããr\xf2á³\xf2Ïail;æ¤ar\xf2á±¥ar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
i\xe3á
®mptyv;榳gÈ;delà¿ããã;æ¦;榥\xe5à¿uoè»\xbbä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤\xebâ\xf0â®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶al\xf3à¼Æabrã§ãªã®r\xf2á¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
\xec࿲\xe2ãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
án\xe5á»ar\xf4ྩt;æÆilrã
©á£ã
®sht;楽;ì\ud835\udd2fÄaoã
·ãrÄduã
½ã
¿\xbbÑ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãa\xe9ãarpoonÄduã»ã¿ow\xeeã
¾p\xbbáeftÄahããrrow\xf3࿪arpoon\xf3Õightarrows;æquigarro\xf7ãhreetimes;æg;äingdotse\xf1á¼²Æahmãããr\xf2࿪a\xf2Õ;æoustÄ;aããæ±che\xbbãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾r\xebáÆaflãããr;æ¦;ì\ud835\udd63us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨ar\xf2ã£Èachqã»ãá¼ã
quo;æºr;ì\ud835\udcc7Äbuã»ãoÄ;rÈÈÆhirããã re\xe5ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
qu\xefâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡u\xe5á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨i\xedá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrãã\xebâ¨Ä;oਸ਼਴tè»\xa7ä§i;ä»war;椩mÄinã©\xf0nu\xf3\xf1t;æ¶rÄ;oã¶âì\ud835\udd30Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãi\xe4á¤ara\xec⹯è»\xadäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲ar\xf2á½Èaeitã¸ãããÄlsã½ãlsetm\xe9ãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ì\ud835\udd64aÄdrãÐesÄ;uããæ it\xbbãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáã\xf1áÆ;esá¨áãetÄ;eá¨ã\xf1á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±\xbbá
¼ar\xf2á
Ècemtã¹ã¾ãã
r;ì\ud835\udcc8tm\xee\xf1i\xecãar\xe6á¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsilo\xeeá» h\xe9⺯s\xbbâ¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦ppro\xf8ãºurlye\xf1á¾\xf1á³Æaesãããppro\xf8ãq\xf1ãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»\xb9ä¹è»\xb2ä²è»\xb3ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨\xebâ®Ä;oਫ਩war;椪ligè»\xdfä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;är\xebà¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ì\ud835\udd31Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®ppro\xf8áim\xbbá¬s\xf0áÄasãºã®\xf0árnè»\xfeä¾Ç¬Ìãâ§esè\xd7;bdãããäÄ;
226aá¤ãr;樱;樰Æepsã¡ã£ã\xe1â©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ì\ud835\udd65rk;æ«\xe1ã¢rime;æ´Æaipããã¤d\xe5áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown\xbbá¶»eftÄ;eâ ã¾\xf1म;æightÄ;eãªã\xf1áot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ì\ud835\udcc9;äcy;ärok;ä
§Äioããx\xf4á·headÄlrãã eftarro\xf7à¡ightarrow\xbbà½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶r\xf2Ïar;楣Äcrãã¢uteè»\xfaäº\xf2á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»\xfbä»;äÆabhã ã ã r\xf2álac;ä
±a\xf2áÄirã ã sht;楾;ì\ud835\udd32raveè»\xf9ä¹Å¡ã §ã ±rÄlr㠬㠮\xbbà¥\xbbálk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær\xbbã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»\xa8ÍÄgp㡢㡦on;ä
³f;ì\ud835\udd66Ìadhlsuá
㡸㡽á²ã¢ã¢ own\xe1á³arpoonÄlrã¢ã¢ef\xf4ã igh\xf4ã ¯iÆ;hlã¢ã¢ã¢ä
\xbbáºon\xbbã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær\xbb㢽op;æng;ä
¯ri;æ¹cr;ì\ud835\udccaÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨\xbbá Äam㣯㣲r\xf2㢨lè»\xfcä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ r\xf2Ï·arÄ;v㤦㤧櫨;æ«©as\xe8Ï¡Änr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦app\xe1âothin\xe7áºÆhirã«â»ã¥op\xf4â¾µÄ;há·ã¥¢\xefãÄiu㥩ã¥gm\xe1ã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦et\xe1ãiangleÄlr㦪㦯eft\xbbथight\xbbáy;ä²ash\xbbá¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨a\xf2á©r;ì\ud835\udd33tr\xe9㦮suÄbp㧯㧱\xbbà´\xbbàµpf;ì\ud835\udd67ro\xf0à»»tr\xe9㦴Äcuã¨ã¨r;ì\ud835\udccbÄbpã¨ã¨nÄEeã¦ã¨\xbb㥾nÄEeã¦ã¨\xbbã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ì\ud835\udd34pf;ì\ud835\udd68Ä;eá¹ã©¦at\xe8á¹cr;ì\ud835\udcccà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátr\xe9ár;ì\ud835\udd35ÄAaãªãªr\xf2Ïr\xf2à§¶;ä¾ÄAa㪡㪤r\xf2θr\xf2à§«a\xf0âis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ì\ud835\udd69im\xe5á²ÄAaã«ã«r\xf2Ïr\xf2à¨Äcqã«á¸r;ì\ud835\udccdÄptáã«r\xe9áÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»\xfdä½;äÄiyã¬ã¬rc;ä
·;änè»\xa5ä¥r;ì\ud835\udd36cy;äpf;ì\ud835\udd6acr;ì\ud835\udcceÄcm㬦㬩y;älè»\xffä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡tr\xe6áa;ä¶r;ì\ud835\udd37cy;ä¶grarr;æpf;ì\ud835\udd6bcr;ì\ud835\udccfÄjnã®
ã®;æj;æ'.split("").map(e=>e.charCodeAt(0))),Q=new Uint16Array("Èaglq \x15\x18\x1bÉ\x0f\0\0\x12p;ä¦os;ä§t;ä¾t;ä¼uot;ä¢".split("").map(e=>e.charCodeAt(0)));let H=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),q=null!==(w=String.fromCodePoint)&&void 0!==w?w:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};function V(e){return e>=k.ZERO&&e<=k.NINE}(o=k||(k={}))[o.NUM=35]="NUM",o[o.SEMI=59]="SEMI",o[o.EQUALS=61]="EQUALS",o[o.ZERO=48]="ZERO",o[o.NINE=57]="NINE",o[o.LOWER_A=97]="LOWER_A",o[o.LOWER_F=102]="LOWER_F",o[o.LOWER_X=120]="LOWER_X",o[o.LOWER_Z=122]="LOWER_Z",o[o.UPPER_A=65]="UPPER_A",o[o.UPPER_F=70]="UPPER_F",o[o.UPPER_Z=90]="UPPER_Z",(l=x||(x={}))[l.VALUE_LENGTH=49152]="VALUE_LENGTH",l[l.BRANCH_LENGTH=16256]="BRANCH_LENGTH",l[l.JUMP_TABLE=127]="JUMP_TABLE",(s=S||(S={}))[s.EntityStart=0]="EntityStart",s[s.NumericStart=1]="NumericStart",s[s.NumericDecimal=2]="NumericDecimal",s[s.NumericHex=3]="NumericHex",s[s.NamedEntity=4]="NamedEntity",(u=_||(_={}))[u.Legacy=0]="Legacy",u[u.Strict=1]="Strict",u[u.Attribute=2]="Attribute";class W{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=S.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=_.Strict}startEntity(e){this.decodeMode=e,this.state=S.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case S.EntityStart:if(e.charCodeAt(t)===k.NUM)return this.state=S.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=S.NamedEntity,this.stateNamedEntity(e,t);case S.NumericStart:return this.stateNumericStart(e,t);case S.NumericDecimal:return this.stateNumericDecimal(e,t);case S.NumericHex:return this.stateNumericHex(e,t);case S.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===k.LOWER_X?(this.state=S.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=S.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let a=n-t;this.result=this.result*Math.pow(r,a)+parseInt(e.substr(t,a),r),this.consumed+=a}}stateNumericHex(e,t){let n=t;for(;t<e.length;){var r;let a=e.charCodeAt(t);if(!V(a)&&(!((r=a)>=k.UPPER_A)||!(r<=k.UPPER_F))&&(!(r>=k.LOWER_A)||!(r<=k.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(a,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(!V(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n,r,a;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===k.SEMI)this.consumed+=1;else if(this.decodeMode===_.Strict)return 0;return this.emitCodePoint((r=this.result)>=55296&&r<=57343||r>1114111?65533:null!==(a=H.get(r))&&void 0!==a?a:r,this.consumed),this.errors&&(e!==k.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],a=(r&x.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let i=e.charCodeAt(t);if(this.treeIndex=Y(n,r,this.treeIndex+Math.max(1,a),i),this.treeIndex<0)return 0===this.result||this.decodeMode===_.Attribute&&(0===a||function(e){var t;return e===k.EQUALS||(t=e)>=k.UPPER_A&&t<=k.UPPER_Z||t>=k.LOWER_A&&t<=k.LOWER_Z||V(t)}(i))?0:this.emitNotTerminatedNamedEntity();if(0!=(a=((r=n[this.treeIndex])&x.VALUE_LENGTH)>>14)){if(i===k.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==_.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&x.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~x.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case S.NamedEntity:return 0!==this.result&&(this.decodeMode!==_.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case S.NumericDecimal:return this.emitNumericEntity(0,2);case S.NumericHex:return this.emitNumericEntity(0,3);case S.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case S.EntityStart:return 0}}}function X(e){let t="",n=new W(e,e=>t+=q(e));return function(e,r){let a=0,i=0;for(;(i=e.indexOf("&",i))>=0;){t+=e.slice(a,i),n.startEntity(r);let o=n.write(e,i+1);if(o<0){a=i+n.end();break}a=i+o,i=0===o?a+1:a}let o=t+e.slice(a);return t="",o}}function Y(e,t,n,r){let a=(t&x.BRANCH_LENGTH)>>7,i=t&x.JUMP_TABLE;if(0===a)return 0!==i&&r===i?n:-1;if(i){let t=r-i;return t<0||t>=a?-1:e[n+t]-1}let o=n,l=o+a-1;for(;o<=l;){let t=o+l>>>1,n=e[t];if(n<r)o=t+1;else{if(!(n>r))return e[t+a];l=t-1}}return -1}X(F),X(Q),(c=E=E||(E={})).HTML="http://www.w3.org/1999/xhtml",c.MATHML="http://www.w3.org/1998/Math/MathML",c.SVG="http://www.w3.org/2000/svg",c.XLINK="http://www.w3.org/1999/xlink",c.XML="http://www.w3.org/XML/1998/namespace",c.XMLNS="http://www.w3.org/2000/xmlns/",(d=A=A||(A={})).TYPE="type",d.ACTION="action",d.ENCODING="encoding",d.PROMPT="prompt",d.NAME="name",d.COLOR="color",d.FACE="face",d.SIZE="size",(p=T=T||(T={})).NO_QUIRKS="no-quirks",p.QUIRKS="quirks",p.LIMITED_QUIRKS="limited-quirks",(m=D=D||(D={})).A="a",m.ADDRESS="address",m.ANNOTATION_XML="annotation-xml",m.APPLET="applet",m.AREA="area",m.ARTICLE="article",m.ASIDE="aside",m.B="b",m.BASE="base",m.BASEFONT="basefont",m.BGSOUND="bgsound",m.BIG="big",m.BLOCKQUOTE="blockquote",m.BODY="body",m.BR="br",m.BUTTON="button",m.CAPTION="caption",m.CENTER="center",m.CODE="code",m.COL="col",m.COLGROUP="colgroup",m.DD="dd",m.DESC="desc",m.DETAILS="details",m.DIALOG="dialog",m.DIR="dir",m.DIV="div",m.DL="dl",m.DT="dt",m.EM="em",m.EMBED="embed",m.FIELDSET="fieldset",m.FIGCAPTION="figcaption",m.FIGURE="figure",m.FONT="font",m.FOOTER="footer",m.FOREIGN_OBJECT="foreignObject",m.FORM="form",m.FRAME="frame",m.FRAMESET="frameset",m.H1="h1",m.H2="h2",m.H3="h3",m.H4="h4",m.H5="h5",m.H6="h6",m.HEAD="head",m.HEADER="header",m.HGROUP="hgroup",m.HR="hr",m.HTML="html",m.I="i",m.IMG="img",m.IMAGE="image",m.INPUT="input",m.IFRAME="iframe",m.KEYGEN="keygen",m.LABEL="label",m.LI="li",m.LINK="link",m.LISTING="listing",m.MAIN="main",m.MALIGNMARK="malignmark",m.MARQUEE="marquee",m.MATH="math",m.MENU="menu",m.META="meta",m.MGLYPH="mglyph",m.MI="mi",m.MO="mo",m.MN="mn",m.MS="ms",m.MTEXT="mtext",m.NAV="nav",m.NOBR="nobr",m.NOFRAMES="noframes",m.NOEMBED="noembed",m.NOSCRIPT="noscript",m.OBJECT="object",m.OL="ol",m.OPTGROUP="optgroup",m.OPTION="option",m.P="p",m.PARAM="param",m.PLAINTEXT="plaintext",m.PRE="pre",m.RB="rb",m.RP="rp",m.RT="rt",m.RTC="rtc",m.RUBY="ruby",m.S="s",m.SCRIPT="script",m.SECTION="section",m.SELECT="select",m.SOURCE="source",m.SMALL="small",m.SPAN="span",m.STRIKE="str
226ike",m.STRONG="strong",m.STYLE="style",m.SUB="sub",m.SUMMARY="summary",m.SUP="sup",m.TABLE="table",m.TBODY="tbody",m.TEMPLATE="template",m.TEXTAREA="textarea",m.TFOOT="tfoot",m.TD="td",m.TH="th",m.THEAD="thead",m.TITLE="title",m.TR="tr",m.TRACK="track",m.TT="tt",m.U="u",m.UL="ul",m.SVG="svg",m.VAR="var",m.WBR="wbr",m.XMP="xmp",(f=C=C||(C={}))[f.UNKNOWN=0]="UNKNOWN",f[f.A=1]="A",f[f.ADDRESS=2]="ADDRESS",f[f.ANNOTATION_XML=3]="ANNOTATION_XML",f[f.APPLET=4]="APPLET",f[f.AREA=5]="AREA",f[f.ARTICLE=6]="ARTICLE",f[f.ASIDE=7]="ASIDE",f[f.B=8]="B",f[f.BASE=9]="BASE",f[f.BASEFONT=10]="BASEFONT",f[f.BGSOUND=11]="BGSOUND",f[f.BIG=12]="BIG",f[f.BLOCKQUOTE=13]="BLOCKQUOTE",f[f.BODY=14]="BODY",f[f.BR=15]="BR",f[f.BUTTON=16]="BUTTON",f[f.CAPTION=17]="CAPTION",f[f.CENTER=18]="CENTER",f[f.CODE=19]="CODE",f[f.COL=20]="COL",f[f.COLGROUP=21]="COLGROUP",f[f.DD=22]="DD",f[f.DESC=23]="DESC",f[f.DETAILS=24]="DETAILS",f[f.DIALOG=25]="DIALOG",f[f.DIR=26]="DIR",f[f.DIV=27]="DIV",f[f.DL=28]="DL",f[f.DT=29]="DT",f[f.EM=30]="EM",f[f.EMBED=31]="EMBED",f[f.FIELDSET=32]="FIELDSET",f[f.FIGCAPTION=33]="FIGCAPTION",f[f.FIGURE=34]="FIGURE",f[f.FONT=35]="FONT",f[f.FOOTER=36]="FOOTER",f[f.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",f[f.FORM=38]="FORM",f[f.FRAME=39]="FRAME",f[f.FRAMESET=40]="FRAMESET",f[f.H1=41]="H1",f[f.H2=42]="H2",f[f.H3=43]="H3",f[f.H4=44]="H4",f[f.H5=45]="H5",f[f.H6=46]="H6",f[f.HEAD=47]="HEAD",f[f.HEADER=48]="HEADER",f[f.HGROUP=49]="HGROUP",f[f.HR=50]="HR",f[f.HTML=51]="HTML",f[f.I=52]="I",f[f.IMG=53]="IMG",f[f.IMAGE=54]="IMAGE",f[f.INPUT=55]="INPUT",f[f.IFRAME=56]="IFRAME",f[f.KEYGEN=57]="KEYGEN",f[f.LABEL=58]="LABEL",f[f.LI=59]="LI",f[f.LINK=60]="LINK",f[f.LISTING=61]="LISTING",f[f.MAIN=62]="MAIN",f[f.MALIGNMARK=63]="MALIGNMARK",f[f.MARQUEE=64]="MARQUEE",f[f.MATH=65]="MATH",f[f.MENU=66]="MENU",f[f.META=67]="META",f[f.MGLYPH=68]="MGLYPH",f[f.MI=69]="MI",f[f.MO=70]="MO",f[f.MN=71]="MN",f[f.MS=72]="MS",f[f.MTEXT=73]="MTEXT",f[f.NAV=74]="NAV",f[f.NOBR=75]="NOBR",f[f.NOFRAMES=76]="NOFRAMES",f[f.NOEMBED=77]="NOEMBED",f[f.NOSCRIPT=78]="NOSCRIPT",f[f.OBJECT=79]="OBJECT",f[f.OL=80]="OL",f[f.OPTGROUP=81]="OPTGROUP",f[f.OPTION=82]="OPTION",f[f.P=83]="P",f[f.PARAM=84]="PARAM",f[f.PLAINTEXT=85]="PLAINTEXT",f[f.PRE=86]="PRE",f[f.RB=87]="RB",f[f.RP=88]="RP",f[f.RT=89]="RT",f[f.RTC=90]="RTC",f[f.RUBY=91]="RUBY",f[f.S=92]="S",f[f.SCRIPT=93]="SCRIPT",f[f.SECTION=94]="SECTION",f[f.SELECT=95]="SELECT",f[f.SOURCE=96]="SOURCE",f[f.SMALL=97]="SMALL",f[f.SPAN=98]="SPAN",f[f.STRIKE=99]="STRIKE",f[f.STRONG=100]="STRONG",f[f.STYLE=101]="STYLE",f[f.SUB=102]="SUB",f[f.SUMMARY=103]="SUMMARY",f[f.SUP=104]="SUP",f[f.TABLE=105]="TABLE",f[f.TBODY=106]="TBODY",f[f.TEMPLATE=107]="TEMPLATE",f[f.TEXTAREA=108]="TEXTAREA",f[f.TFOOT=109]="TFOOT",f[f.TD=110]="TD",f[f.TH=111]="TH",f[f.THEAD=112]="THEAD",f[f.TITLE=113]="TITLE",f[f.TR=114]="TR",f[f.TRACK=115]="TRACK",f[f.TT=116]="TT",f[f.U=117]="U",f[f.UL=118]="UL",f[f.SVG=119]="SVG",f[f.VAR=120]="VAR",f[f.WBR=121]="WBR",f[f.XMP=122]="XMP";let G=new Map([[D.A,C.A],[D.ADDRESS,C.ADDRESS],[D.ANNOTATION_XML,C.ANNOTATION_XML],[D.APPLET,C.APPLET],[D.AREA,C.AREA],[D.ARTICLE,C.ARTICLE],[D.ASIDE,C.ASIDE],[D.B,C.B],[D.BASE,C.BASE],[D.BASEFONT,C.BASEFONT],[D.BGSOUND,C.BGSOUND],[D.BIG,C.BIG],[D.BLOCKQUOTE,C.BLOCKQUOTE],[D.BODY,C.BODY],[D.BR,C.BR],[D.BUTTON,C.BUTTON],[D.CAPTION,C.CAPTION],[D.CENTER,C.CENTER],[D.CODE,C.CODE],[D.COL,C.COL],[D.COLGROUP,C.COLGROUP],[D.DD,C.DD],[D.DESC,C.DESC],[D.DETAILS,C.DETAILS],[D.DIALOG,C.DIALOG],[D.DIR,C.DIR],[D.DIV,C.DIV],[D.DL,C.DL],[D.DT,C.DT],[D.EM,C.EM],[D.EMBED,C.EMBED],[D.FIELDSET,C.FIELDSET],[D.FIGCAPTION,C.FIGCAPTION],[D.FIGURE,C.FIGURE],[D.FONT,C.FONT],[D.FOOTER,C.FOOTER],[D.FOREIGN_OBJECT,C.FOREIGN_OBJECT],[D.FORM,C.FORM],[D.FRAME,C.FRAME],[D.FRAMESET,C.FRAMESET],[D.H1,C.H1],[D.H2,C.H2],[D.H3,C.H3],[D.H4,C.H4],[D.H5,C.H5],[D.H6,C.H6],[D.HEAD,C.HEAD],[D.HEADER,C.HEADER],[D.HGROUP,C.HGROUP],[D.HR,C.HR],[D.HTML,C.HTML],[D.I,C.I],[D.IMG,C.IMG],[D.IMAGE,C.IMAGE],[D.INPUT,C.INPUT],[D.IFRAME,C.IFRAME],[D.KEYGEN,C.KEYGEN],[D.LABEL,C.LABEL],[D.LI,C.LI],[D.LINK,C.LINK],[D.LISTING,C.LISTING],[D.MAIN,C.MAIN],[D.MALIGNMARK,C.MALIGNMARK],[D.MARQUEE,C.MARQUEE],[D.MATH,C.MATH],[D.MENU,C.MENU],[D.META,C.META],[D.MGLYPH,C.MGLYPH],[D.MI,C.MI],[D.MO,C.MO],[D.MN,C.MN],[D.MS,C.MS],[D.MTEXT,C.MTEXT],[D.NAV,C.NAV],[D.NOBR,C.NOBR],[D.NOFRAMES,C.NOFRAMES],[D.NOEMBED,C.NOEMBED],[D.NOSCRIPT,C.NOSCRIPT],[D.OBJECT,C.OBJECT],[D.OL,C.OL],[D.OPTGROUP,C.OPTGROUP],[D.OPTION,C.OPTION],[D.P,C.P],[D.PARAM,C.PARAM],[D.PLAINTEXT,C.PLAINTEXT],[D.PRE,C.PRE],[D.RB,C.RB],[D.RP,C.RP],[D.RT,C.RT],[D.RTC,C.RTC],[D.RUBY,C.RUBY],[D.S,C.S],[D.SCRIPT,C.SCRIPT],[D.SECTION,C.SECTION],[D.SELECT,C.SELECT],[D.SOURCE,C.SOURCE],[D.SMALL,C.SMALL],[D.SPAN,C.SPAN],[D.STRIKE,C.STRIKE],[D.STRONG,C.STRONG],[D.STYLE,C.STYLE],[D.SUB,C.SUB],[D.SUMMARY,C.SUMMARY],[D.SUP,C.SUP],[D.TABLE,C.TABLE],[D.TBODY,C.TBODY],[D.TEMPLATE,C.TEMPLATE],[D.TEXTAREA,C.TEXTAREA],[D.TFOOT,C.TFOOT],[D.TD,C.TD],[D.TH,C.TH],[D.THEAD,C.THEAD],[D.TITLE,C.TITLE],[D.TR,C.TR],[D.TRACK,C.TRACK],[D.TT,C.TT],[D.U,C.U],[D.UL,C.UL],[D.SVG,C.SVG],[D.VAR,C.VAR],[D.WBR,C.WBR],[D.XMP,C.XMP]]);function K(e){var t;return null!==(t=G.get(e))&&void 0!==t?t:C.UNKNOWN}let J=C,ee={[E.HTML]:new Set([J.ADDRESS,J.APPLET,J.AREA,J.ARTICLE,J.ASIDE,J.BASE,J.BASEFONT,J.BGSOUND,J.BLOCKQUOTE,J.BODY,J.BR,J.BUTTON,J.CAPTION,J.CENTER,J.COL,J.COLGROUP,J.DD,J.DETAILS,J.DIR,J.DIV,J.DL,J.DT,J.EMBED,J.FIELDSET,J.FIGCAPTION,J.FIGURE,J.FOOTER,J.FORM,J.FRAME,J.FRAMESET,J.H1,J.H2,J.H3,J.H4,J.H5,J.H6,J.HEAD,J.HEADER,J.HGROUP,J.HR,J.HTML,J.IFRAME,J.IMG,J.INPUT,J.LI,J.LINK,J.LISTING,J.MAIN,J.MARQUEE,J.MENU,J.META,J.NAV,J.NOEMBED,J.NOFRAMES,J.NOSCRIPT,J.OBJECT,J.OL,J.P,J.PARAM,J.PLAINTEXT,J.PRE,J.SCRIPT,J.SECTION,J.SELECT,J.SOURCE,J.STYLE,J.SUMMARY,J.TABLE,J.TBODY,J.TD,J.TEMPLATE,J.TEXTAREA,J.TFOOT,J.TH,J.THEAD,J.TITLE,J.TR,J.TRACK,J.UL,J.WBR,J.XMP]),[E.MATHML]:new Set([J.MI,J.MO,J.MN,J.MS,J.MTEXT,J.ANNOTATION_XML]),[E.SVG]:new Set([J.TITLE,J.FOREIGN_OBJECT,J.DESC]),[E.XLINK]:new Set,[E.XML]:new Set,[E.XMLNS]:new Set};function et(e){return e===J.H1||e===J.H2||e===J.H3||e===J.H4||e===J.H5||e===J.H6}let en=new Set([D.STYLE,D.SCRIPT,D.XMP,D.IFRAME,D.NOEMBED,D.NOFRAMES,D.PLAINTEXT]);function er(e,t){return en.has(e)||t&&e===D.NOSCRIPT}let ea=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(h=$||($={}))[h.DATA=0]="DATA",h[h.RCDATA=1]="RCDATA",h[h.RAWTEXT=2]="RAWTEXT",h[h.SCRIPT_DATA=3]="SCRIPT_DATA",h[h.PLAINTEXT=4]="PLAINTEXT",h[h.TAG_OPEN=5]="TAG_OPEN",h[h.END_TAG_OPEN=6]="END_TAG_OPEN",h[h.TAG_NAME=7]="TAG_NAME",h[h.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",h[h.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",h[h.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",h[h.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",h[h.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",h[h.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",h[h.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",h[h.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",h[h.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",h[h.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",h[h.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",h[h.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",h[h.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",h[h.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",h[h.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",h[h.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",h[h.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",h[h.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",h[h.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",h[h.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",h[h.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",h[h.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",h[h.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",h[h.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",h[h.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",h[h.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",h[h.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",h[h.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",h[h.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",h[h.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",h[h.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",h[h.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",h[h.BOGUS_COMMENT=40]="BOGUS_COMMENT",h[h.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",h[h.COMMENT_START=42]="COMMENT_START",h[h.COMMENT_START_DASH=43]="COMMENT_START_DASH",h[h.COMMENT=44]="COMMENT",h[h.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",h[h.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",h[h.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",h[h.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",h[h.COMMENT_END_DASH=49]="COMMENT_END_DASH",h[h.COMMENT_END=50]="COMMENT_END",h[h.COMMENT_END_BANG=51]="COMMENT_END_BANG",h[h.DOCTYPE=52]="DOCTYPE",h[h.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",h[h.DOCTYPE_NAME=54]="DOCTYPE_NAME",h[h.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",h[h.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",h[h.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",h[h.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",h[h.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",h[h.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",h[h.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",h[h.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",h[h.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",h[h.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",h[h.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",h[h.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",h[h.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",h[h.CDATA_SECTION=68]="CDATA_SECTION",h[h.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",h[h.CDATA_SECTION_END=70]="CDATA_SECTION_END",h[h.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",h[h.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",h[h.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",h[h.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",h[h.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",h[h.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",h[h.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",h[h.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let ei={DATA:$.DATA,RCDATA:$.RCDATA,RAWTEXT:$.RAWTEXT,SCRIPT_DATA:$.SCRIPT_DATA,PLAINTEXT:$.PLAINTEXT,CDATA_SECTION:$.CDATA_SECTION};function eo(e){return e>=y.DIGIT_0&&e<=y.DIGIT_9}function el(e){return e>=y.LATIN_CAPITAL_A&&e<=y.LATIN_CAPITAL_Z}function es(e){return e>=y.LATIN_SMALL_A&&e<=y.LATIN_SMALL_Z||el(e)}function eu(e){return es(e)||eo(e)}function ec(e){return e>=y.LATIN_CAPITAL_A&&e<=y.LATIN_CAPITAL_F}function ed(e){return e>=y.LATIN_SMALL_A&&e<=y.LATIN_SMALL_F}function ep(e){return e===y.SPACE||e===y.LINE_FEED||e===y.TABULATION||e===y.FORM_FEED}function em(e){return ep(e)||e===y.SOLIDUS||e===y.GREATER_THAN_SIGN}class ef{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=$.DATA,this.returnState=$.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new B(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:O.START_TAG,tagName:"",tagID:C.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:O.END_TAG,tagName:"",tagID:C.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:O.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:O.DOCTYPE,name:e,forceQuirks:!1,publicId:null,
226systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;let n=this.currentToken;null===z(n,this.currentAttr.name)?(n.attrs.push(this.currentAttr),n.location&&this.currentLocation&&((null!==(e=(t=n.location).attrs)&&void 0!==e?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(b.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=K(e.tagName),e.type===O.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(b.endTagWithAttributes),e.selfClosing&&this._err(b.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case O.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case O.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case O.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:O.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=ep(e)?O.WHITESPACE_CHARACTER:e===y.NULL?O.NULL_CHARACTER:O.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(O.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=F[0];i>=0&&!((i=Y(F,o,i+1,e))<0);e=this._consume()){n+=1;let l=(o=F[i])&x.VALUE_LENGTH;if(l){var a;let o=(l>>14)-1;if(e!==y.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===y.EQUALS_SIGN||eu(a))?(t=[y.AMPERSAND],i+=o):(t=0===o?[F[i]&~x.VALUE_LENGTH]:1===o?[F[++i]]:[F[++i],F[++i]],n=0,r=e!==y.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(b.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===$.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===$.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===$.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case $.DATA:this._stateData(e);break;case $.RCDATA:this._stateRcdata(e);break;case $.RAWTEXT:this._stateRawtext(e);break;case $.SCRIPT_DATA:this._stateScriptData(e);break;case $.PLAINTEXT:this._statePlaintext(e);break;case $.TAG_OPEN:this._stateTagOpen(e);break;case $.END_TAG_OPEN:this._stateEndTagOpen(e);break;case $.TAG_NAME:this._stateTagName(e);break;case $.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case $.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case $.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case $.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case $.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case $.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case $.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case $.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case $.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case $.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case $.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case $.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case $.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case $.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case $.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case $.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case $.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case $.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscape
vendor: 5,864 bytes, line 226
226Start(e);break;case $.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case $.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case $.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case $.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case $.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case $.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case $.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case $.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case $.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case $.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case $.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case $.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case $.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case $.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case $.BOGUS_COMMENT:this._stateBogusComment(e);break;case $.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case $.COMMENT_START:this._stateCommentStart(e);break;case $.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case $.COMMENT:this._stateComment(e);break;case $.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case $.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case $.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case $.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case $.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case $.COMMENT_END:this._stateCommentEnd(e);break;case $.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case $.DOCTYPE:this._stateDoctype(e);break;case $.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case $.DOCTYPE_NAME:this._stateDoctypeName(e);break;case $.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case $.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case $.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case $.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case $.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case $.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case $.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case $.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case $.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case $.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case $.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case $.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case $.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case $.CDATA_SECTION:this._stateCdataSection(e);break;case $.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case $.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case $.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case $.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case $.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case $.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case $.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case $.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case $.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case $.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case y.LESS_THAN_SIGN:this.state=$.TAG_OPEN;break;case y.AMPERSAND:this.returnState=$.DATA,this.state=$.CHARACTER_REFERENCE;break;case y.NULL:this._err(b.unexpectedNullCharacter),this._emitCodePoint(e);break;case y.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case y.AMPERSAND:this.returnState=$.RCDATA,this.state=$.CHARACTER_REFERENCE;break;case y.LESS_THAN_SIGN:this.state=$.RCDATA_LESS_THAN_SIGN;break;case y.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case y.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case y.LESS_THAN_SIGN:this.state=$.RAWTEXT_LESS_THAN_SIGN;break;case y.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case y.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case y.LESS_THAN_SIGN:this.state=$.SCRIPT_DATA_LESS_THAN_SIGN;break;case y.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case y.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case y.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case y.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(es(e))this._createStartTagToken(),this.state=$.TAG_NAME,this._stateTagName(e);else switch(e){case y.EXCLAMATION_MARK:this.state=$.MARKUP_DECLARATION_OPEN;break;case y.SOLIDUS:this.state=$.END_TAG_OPEN;break;case y.QUESTION_MARK:this._err(b.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=$.BOGUS_COMMENT,this._stateBogusComment(e);break;case y.EOF:this._err(b.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;
vendor: 5,036 bytes, line 226
226default:this._err(b.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=$.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(es(e))this._createEndTagToken(),this.state=$.TAG_NAME,this._stateTagName(e);else switch(e){case y.GREATER_THAN_SIGN:this._err(b.missingEndTagName),this.state=$.DATA;break;case y.EOF:this._err(b.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(b.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=$.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:this.state=$.BEFORE_ATTRIBUTE_NAME;break;case y.SOLIDUS:this.state=$.SELF_CLOSING_START_TAG;break;case y.GREATER_THAN_SIGN:this.state=$.DATA,this.emitCurrentTagToken();break;case y.NULL:this._err(b.unexpectedNullCharacter),t.tagName+="�";break;case y.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(el(e)?e+32:e)}}_stateRcdataLessThanSign(e){e===y.SOLIDUS?this.state=$.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=$.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){es(e)?(this.state=$.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=$.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=$.BEFORE_ATTRIBUTE_NAME,!1;case y.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=$.SELF_CLOSING_START_TAG,!1;case y.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=$.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=$.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===y.SOLIDUS?this.state=$.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=$.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){es(e)?(this.state=$.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=$.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=$.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case y.SOLIDUS:this.state=$.SCRIPT_DATA_END_TAG_OPEN;break;case y.EXCLAMATION_MARK:this.state=$.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=$.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){es(e)?(this.state=$.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=$.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=$.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===y.HYPHEN_MINUS?(this.state=$.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=$.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===y.HYPHEN_MINUS?(this.state=$.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=$.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case y.HYPHEN_MINUS:this.state=$.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case y.LESS_THAN_SIGN:this.state=$.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case y.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case y.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case y.HYPHEN_MINUS:this.state=$.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case y.LESS_THAN_SIGN:this.state=$.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case y.NULL:this._err(b.unexpectedNullCharacter),this.state=$.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case y.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=$.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case y.HYPHEN_MINUS:this._emitChars("-");break;case y.LESS_THAN_SIGN:this.state=$.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case y.GREATER_THAN_SIGN:this.state=$.SCRIPT_DATA,this._emitChars(">");break;case y.NULL:this._err(b.unexpectedNullCharacter),this.state=$.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case y.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=$.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===y.SOLIDUS?this.state=$.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:es(e)?(this._emitChars("<"),this.state=$.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscape
vendor: 20,285 bytes, line 226
226Start(e)):(this._emitChars("<"),this.state=$.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){es(e)?(this.state=$.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=$.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=$.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(R.SCRIPT,!1)&&em(this.preprocessor.peek(R.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<R.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=$.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case y.HYPHEN_MINUS:this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case y.LESS_THAN_SIGN:this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case y.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case y.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case y.HYPHEN_MINUS:this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case y.LESS_THAN_SIGN:this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case y.NULL:this._err(b.unexpectedNullCharacter),this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case y.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case y.HYPHEN_MINUS:this._emitChars("-");break;case y.LESS_THAN_SIGN:this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case y.GREATER_THAN_SIGN:this.state=$.SCRIPT_DATA,this._emitChars(">");break;case y.NULL:this._err(b.unexpectedNullCharacter),this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case y.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===y.SOLIDUS?(this.state=$.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(R.SCRIPT,!1)&&em(this.preprocessor.peek(R.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<R.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=$.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.SOLIDUS:case y.GREATER_THAN_SIGN:case y.EOF:this.state=$.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case y.EQUALS_SIGN:this._err(b.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=$.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=$.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:case y.SOLIDUS:case y.GREATER_THAN_SIGN:case y.EOF:this._leaveAttrName(),this.state=$.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case y.EQUALS_SIGN:this._leaveAttrName(),this.state=$.BEFORE_ATTRIBUTE_VALUE;break;case y.QUOTATION_MARK:case y.APOSTROPHE:case y.LESS_THAN_SIGN:this._err(b.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case y.NULL:this._err(b.unexpectedNullCharacter),this.currentAttr.name+="�";break;default:this.currentAttr.name+=String.fromCodePoint(el(e)?e+32:e)}}_stateAfterAttributeName(e){switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.SOLIDUS:this.state=$.SELF_CLOSING_START_TAG;break;case y.EQUALS_SIGN:this.state=$.BEFORE_ATTRIBUTE_VALUE;break;case y.GREATER_THAN_SIGN:this.state=$.DATA,this.emitCurrentTagToken();break;case y.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=$.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.QUOTATION_MARK:this.state=$.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case y.APOSTROPHE:this.state=$.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case y.GREATER_THAN_SIGN:this._err(b.missingAttributeValue),this.state=$.DATA,this.emitCurrentTagToken();break;default:this.state=$.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case y.QUOTATION_MARK:this.state=$.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case y.AMPERSAND:this.returnState=$.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=$.CHARACTER_REFERENCE;break;case y.NULL:this._err(b.unexpectedNullCharacter),this.currentAttr.value+="�";break;case y.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case y.APOSTROPHE:this.state=$.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case y.AMPERSAND:this.returnState=$.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=$.CHARACTER_REFERENCE;break;case y.NULL:this._err(b.unexpectedNullCharacter),this.currentAttr.value+="�";break;case y.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:this._leaveAttrValue(),this.state=$.BEFORE_ATTRIBUTE_NAME;break;case y.AMPERSAND:this.returnState=$.ATTRIBUTE_VALUE_UNQUOTED,this.state=$.CHARACTER_REFERENCE;break;case y.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=$.DATA,this.emitCurrentTagToken();break;case y.NULL:this._err(b.unexpectedNullCharacter),this.currentAttr.value+="�";break;case y.QUOTATION_MARK:case y.APOSTROPHE:case y.LESS_THAN_SIGN:case y.EQUALS_SIGN:case y.GRAVE_ACCENT:this._err(b.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case y.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:this._leaveAttrValue(),this.state=$.BEFORE_ATTRIBUTE_NAME;break;case y.SOLIDUS:this._leaveAttrValue(),this.state=$.SELF_CLOSING_START_TAG;break;case y.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=$.DATA,this.emitCurrentTagToken();break;case y.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this._err(b.missingWhitespaceBetweenAttributes),this.state=$.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case y.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=$.DATA,this.emitCurrentTagToken();break;case y.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this._err(b.unexpectedSolidusInTag),this.state=$.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case y.GREATER_THAN_SIGN:this.state=$.DATA,this.emitCurrentComment(t);break;case y.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case y.NULL:this._err(b.unexpectedNullCharacter),t.data+="�";break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(R.DASH_DASH,!0)?(this._createCommentToken(R.DASH_DASH.length+1),this.state=$.COMMENT_START):this._consumeSequenceIfMatch(R.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(R.DOCTYPE.length+1),this.state=$.DOCTYPE):this._consumeSequenceIfMatch(R.CDATA_START,!0)?this.inForeignNode?this.state=$.CDATA_SECTION:(this._err(b.cdataInHtmlContent),this._createCommentToken(R.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=$.BOGUS_COMMENT):this._ensureHibernation()||(this._err(b.incorrectlyOpenedComment),this._createCommentToken(2),this.state=$.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case y.HYPHEN_MINUS:this.state=$.COMMENT_START_DASH;break;case y.GREATER_THAN_SIGN:{this._err(b.abruptClosingOfEmptyComment),this.state=$.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=$.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case y.HYPHEN_MINUS:this.state=$.COMMENT_END;break;case y.GREATER_THAN_SIGN:this._err(b.abruptClosingOfEmptyComment),this.state=$.DATA,this.emitCurrentComment(t);break;case y.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=$.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case y.HYPHEN_MINUS:this.state=$.COMMENT_END_DASH;break;case y.LESS_THAN_SIGN:t.data+="<",this.state=$.COMMENT_LESS_THAN_SIGN;break;case y.NULL:this._err(b.unexpectedNullCharacter),t.data+="�";break;case y.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case y.EXCLAMATION_MARK:t.data+="!",this.state=$.COMMENT_LESS_THAN_SIGN_BANG;break;case y.LESS_THAN_SIGN:t.data+="<";break;default:this.state=$.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===y.HYPHEN_MINUS?this.state=$.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=$.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===y.HYPHEN_MINUS?this.state=$.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=$.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==y.GREATER_THAN_SIGN&&e!==y.EOF&&this._err(b.nestedComment),this.state=$.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case y.HYPHEN_MINUS:this.state=$.COMMENT_END;break;case y.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=$.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case y.GREATER_THAN_SIGN:this.state=$.DATA,this.emitCurrentComment(t);break;case y.EXCLAMATION_MARK:this.state=$.COMMENT_END_BANG;break;case y.HYPHEN_MINUS:t.data+="-";break;case y.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=$.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case y.HYPHEN_MINUS:t.data+="--!",this.state=$.COMMENT_END_DASH;break;case y.GREATER_THAN_SIGN:this._err(b.incorrectlyClosedComment),this.state=$.DATA,this.emitCurrentComment(t);break;case y.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=$.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:this.state=$.BEFORE_DOCTYPE_NAME;break;case y.GREATER_THAN_SIGN:this.state=$.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case y.EOF:{this._err(b.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(b.missingWhitespaceBeforeDoctypeName),this.state=$.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(el(e))this._createDoctypeToken(String.fromCharCode(e+32)),this.state=$.DOCTYPE_NAME;else switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.NULL:this._err(b.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=$.DOCTYPE_NAME;break;case y.GREATER_THAN_SIGN:{this._err(b.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=$.DATA;break}case y.EOF:{this._err(b.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=$.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:this.state=$.AFTER_DOCTYPE_NAME;break;case y.GREATER_THAN_SIGN:this.state=$.DATA,this.emitCurrentDoctype(t);break;case y.NULL:this._err(b.unexpectedNullCharacter),t.name+="�";break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(el(e)?e+32:e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.GREATER_THAN_SIGN:this.state=$.DATA,this.emitCurrentDoctype(t);break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(R.PUBLIC,!1)?this.state=$.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(R.SYSTEM,!1)?this.state=$.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(b.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=$.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:this.state=$.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case y.QUOTATION_MARK:this._err(b.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=$.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case y.APOSTROPHE:this._err(b.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=$.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case y.GREATER_THAN_SIGN:this._err(b.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=$.DATA,this.emitCurrentDoctype(t);break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=$.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.QUOTATION_MARK:t.publicId="",this.state=$.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case y.APOSTROPHE:t.publicId="",this.state=$.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case y.GREATER_THAN_SIGN:this._err(b.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=$.DATA,this.emitCurrentDoctype(t);break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=$.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case y.QUOTATION_MARK:this.state=$.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case y.NULL:this._err(b.unexpectedNullCharacter),t.publicId+="�";break;case y.GREATER_THAN_SIGN:this._err(b.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=$.DATA;break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case y.APOSTROPHE:this.state=$.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case y.NULL:this._err(b.unexpectedNullCharacter),t.publicId+="�";break;case y.GREATER_THAN_SIGN:this._err(b.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=$.DATA;break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:this.state=$.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case y.GREATER_THAN_SIGN:this.state=$.DATA,this.emitCurrentDoctype(t);break;case y.QUOTATION_MARK:this._err(b.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=$.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case y.APOSTROPHE:this._err(b.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=$.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=$.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=$.DATA;break;case y.QUOTATION_MARK:t.systemId="",this.state=$.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case y.APOSTROPHE:t.systemId="",this.state=$.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=$.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:this.state=$.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case y.QUOTATION_MARK:this._err(b.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=$.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case y.APOSTROPHE:this._err(b.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=$.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case y.GREATER_THAN_SIGN:this._err(b.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=$.DATA,this.emitCurrentDoctype(t);break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=$.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.QUOTATION_MARK:t.systemId="",this.state=$.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case y.APOSTROPHE:t.systemId="",this.state=$.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case y.GREATER_THAN_SIGN:this._err(b.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=$.DATA,this.emitCurrentDoctype(t);break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=$.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case y.QUOTATION_MARK:this.state=$.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case y.NULL:this._err(b.unexpectedNullCharacter),t.systemId+="�";break;case y.GREATER_THAN_SIGN:this._err(b.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=$.DATA;break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case y.APOSTROPHE:this.state=$.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case y.NULL:this._err(b.unexpectedNullCharacter),t.systemId+="�";break;case y.GREATER_THAN_SIGN:this._err(b.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=$.DATA;break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;
226switch(e){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=$.DATA;break;case y.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=$.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case y.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=$.DATA;break;case y.NULL:this._err(b.unexpectedNullCharacter);break;case y.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case y.RIGHT_SQUARE_BRACKET:this.state=$.CDATA_SECTION_BRACKET;break;case y.EOF:this._err(b.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===y.RIGHT_SQUARE_BRACKET?this.state=$.CDATA_SECTION_END:(this._emitChars("]"),this.state=$.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case y.GREATER_THAN_SIGN:this.state=$.DATA;break;case y.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=$.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(e){e===y.NUMBER_SIGN?this.state=$.NUMERIC_CHARACTER_REFERENCE:eu(e)?(this.state=$.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(e)):(this._flushCodePointConsumedAsCharacterReference(y.AMPERSAND),this._reconsumeInState(this.returnState,e))}_stateNamedCharacterReference(e){let t=this._matchNamedCharacterReference(e);if(this._ensureHibernation());else if(t){for(let e=0;e<t.length;e++)this._flushCodePointConsumedAsCharacterReference(t[e]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(y.AMPERSAND),this.state=$.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(e){eu(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===y.SEMICOLON&&this._err(b.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,e))}_stateNumericCharacterReference(e){this.charRefCode=0,e===y.LATIN_SMALL_X||e===y.LATIN_CAPITAL_X?this.state=$.HEXADEMICAL_CHARACTER_REFERENCE_START:eo(e)?(this.state=$.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(e)):(this._err(b.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(y.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(y.NUMBER_SIGN),this._reconsumeInState(this.returnState,e))}_stateHexademicalCharacterReferenceStart(e){eo(e)||ec(e)||ed(e)?(this.state=$.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(e)):(this._err(b.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(y.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(y.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(e){ec(e)?this.charRefCode=16*this.charRefCode+e-55:ed(e)?this.charRefCode=16*this.charRefCode+e-87:eo(e)?this.charRefCode=16*this.charRefCode+e-48:e===y.SEMICOLON?this.state=$.NUMERIC_CHARACTER_REFERENCE_END:(this._err(b.missingSemicolonAfterCharacterReference),this.state=$.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateDecimalCharacterReference(e){eo(e)?this.charRefCode=10*this.charRefCode+e-48:e===y.SEMICOLON?this.state=$.NUMERIC_CHARACTER_REFERENCE_END:(this._err(b.missingSemicolonAfterCharacterReference),this.state=$.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateNumericCharacterReferenceEnd(e){if(this.charRefCode===y.NULL)this._err(b.nullCharacterReference),this.charRefCode=y.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(b.characterReferenceOutsideUnicodeRange),this.charRefCode=y.REPLACEMENT_CHARACTER;else if(j(this.charRefCode))this._err(b.surrogateCharacterReference),this.charRefCode=y.REPLACEMENT_CHARACTER;else if(Z(this.charRefCode))this._err(b.noncharacterCharacterReference);else if(L(this.charRefCode)||this.charRefCode===y.CARRIAGE_RETURN){this._err(b.controlCharacterReference);let e=ea.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let eh=new Set([C.DD,C.DT,C.LI,C.OPTGROUP,C.OPTION,C.P,C.RB,C.RP,C.RT,C.RTC]),eg=new Set([...eh,C.CAPTION,C.COLGROUP,C.TBODY,C.TD,C.TFOOT,C.TH,C.THEAD,C.TR]),ev=new Map([[C.APPLET,E.HTML],[C.CAPTION,E.HTML],[C.HTML,E.HTML],[C.MARQUEE,E.HTML],[C.OBJECT,E.HTML],[C.TABLE,E.HTML],[C.TD,E.HTML],[C.TEMPLATE,E.HTML],[C.TH,E.HTML],[C.ANNOTATION_XML,E.MATHML],[C.MI,E.MATHML],[C.MN,E.MATHML],[C.MO,E.MATHML],[C.MS,E.MATHML],[C.MTEXT,E.MATHML],[C.DESC,E.SVG],[C.FOREIGN_OBJECT,E.SVG],[C.TITLE,E.SVG]]),ey=[C.H1,C.H2,C.H3,C.H4,C.H5,C.H6],eb=[C.TR,C.TEMPLATE,C.HTML],eO=[C.TBODY,C.TFOOT,C.THEAD,C.TEMPLATE,C.HTML],ew=[C.TABLE,C.TEMPLATE,C.HTML],ek=[C.TD,C.TH];class ex{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=C.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}
226_isInTemplate(){return this.currentTagId===C.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===E.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==E.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(t<0?0:t)}popUntilPopped(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n<0?0:n)}popUntilNumberedHeaderPopped(){this.popUntilPopped(ey,E.HTML)}popUntilTableCellPopped(){this.popUntilPopped(ek,E.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(ew,E.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eO,E.HTML)}clearBackToTableRowContext(){this.clearBackTo(eb,E.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===C.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===C.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===E.HTML)break;if(ev.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(et(t)&&n===E.HTML)break;if(ev.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===E.HTML)break;if((n===C.UL||n===C.OL)&&r===E.HTML||ev.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===E.HTML)break;if(n===C.BUTTON&&r===E.HTML||ev.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===E.HTML){if(n===e)break;if(n===C.TABLE||n===C.TEMPLATE||n===C.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===E.HTML){if(t===C.TBODY||t===C.THEAD||t===C.TFOOT)break;if(t===C.TABLE||t===C.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===E.HTML){if(n===e)break;if(n!==C.OPTION&&n!==C.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;eh.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;eg.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&eg.has(this.currentTagId);)this.pop()}}(g=P=P||(P={}))[g.Marker=0]="Marker",g[g.Element=1]="Element";let eS={type:P.Marker};class e_{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===P.Marker)break;let{element:o}=t;if(this.treeAdapter.getTagName(o)===a&&this.treeAdapter.getNamespaceURI(o)===i){let t=this.treeAdapter.getAttrList(o);t.length===r&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<3)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<3)return;let r=new Map(t.map(e=>[e.name,e.value])),a=0;for(let e=0;e<n.length;e++){let t=n[e];t.attrs.every(e=>
226r.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eS)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:P.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:P.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eS);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===P.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===P.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===P.Element&&t.element===e)}}function eE(e){return{nodeName:"#text",value:e,parentNode:null}}let eA={createDocument:()=>({nodeName:"#document",mode:T.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eA.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eA.isTextNode(n)){n.value+=t;return}}eA.appendChild(e,eE(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eA.isTextNode(r)?r.value+=t:eA.insertBefore(e,eE(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},eT="html",eD=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eC=[...eD,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],e$=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),eP=["
226-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],eI=[...eP,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eN(e,t){return t.some(t=>e.startsWith(t))}let eU={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eM=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eR=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:E.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:E.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:E.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:E.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:E.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:E.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:E.XLINK}
226],["xml:base",{prefix:"xml",name:"base",namespace:E.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:E.XML}],["xml:space",{prefix:"xml",name:"space",namespace:E.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:E.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:E.XMLNS}]]),ej=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eL=new Set([C.B,C.BIG,C.BLOCKQUOTE,C.BODY,C.BR,C.CENTER,C.CODE,C.DD,C.DIV,C.DL,C.DT,C.EM,C.EMBED,C.H1,C.H2,C.H3,C.H4,C.H5,C.H6,C.HEAD,C.HR,C.I,C.IMG,C.LI,C.LISTING,C.MENU,C.META,C.NOBR,C.OL,C.P,C.PRE,C.RUBY,C.S,C.SMALL,C.SPAN,C.STRONG,C.STRIKE,C.SUB,C.SUP,C.TABLE,C.TT,C.U,C.UL,C.VAR]);function eZ(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function eB(e){for(let t=0;t<e.attrs.length;t++){let n=eM.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function ez(e){for(let t=0;t<e.attrs.length;t++){let n=eR.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}(v=I||(I={}))[v.INITIAL=0]="INITIAL",v[v.BEFORE_HTML=1]="BEFORE_HTML",v[v.BEFORE_HEAD=2]="BEFORE_HEAD",v[v.IN_HEAD=3]="IN_HEAD",v[v.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",v[v.AFTER_HEAD=5]="AFTER_HEAD",v[v.IN_BODY=6]="IN_BODY",v[v.TEXT=7]="TEXT",v[v.IN_TABLE=8]="IN_TABLE",v[v.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",v[v.IN_CAPTION=10]="IN_CAPTION",v[v.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",v[v.IN_TABLE_BODY=12]="IN_TABLE_BODY",v[v.IN_ROW=13]="IN_ROW",v[v.IN_CELL=14]="IN_CELL",v[v.IN_SELECT=15]="IN_SELECT",v[v.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",v[v.IN_TEMPLATE=17]="IN_TEMPLATE",v[v.AFTER_BODY=18]="AFTER_BODY",v[v.IN_FRAMESET=19]="IN_FRAMESET",v[v.AFTER_FRAMESET=20]="AFTER_FRAMESET",v[v.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",v[v.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET";let eF={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},eQ=new Set([C.TABLE,C.TBODY,C.TFOOT,C.THEAD,C.TR]),eH={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:eA,onParseError:null};class eq{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=I.INITIAL,this.originalInsertionMode=I.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...eH,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new ef(this.options,this),this.activeFormattingElements=new e_(this.treeAdapter),this.fragmentContextID=n?K(this.treeAdapter.getTagName(n)):C.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new ex(this.document,this.treeAdapter,this)}static parse(e,t){let n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){let n={...eH,...t};null!=e||(e=n.treeAdapter.createElement(D.TEMPLATE,E.HTML,[]));let r=n.treeAdapter.createElement("documentmock",E.HTML,[]),a=new this(n,r,e);return a.fragmentContextID===C.TEMPLATE&&a.tmplInsertionModeStack.unshift(I.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){var r;if(!this.onParseError)return;let a=null!==(r=e.location)&&void 0!==r?r:eF,i={code:t,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:n?a.startLine:a.endLine,endCol:n?a.startCol:a.endCol,endOffset:n?a.startOffset:a.endOffset};this.onParseError(i)}
226onItemPush(e,t,n){var r,a;null===(a=(r=this.treeAdapter).onItemPush)||void 0===a||a.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===E.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,E.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=I.TEXT}switchToPlaintextParsing(){this.insertionMode=I.TEXT,this.originalInsertionMode=I.IN_BODY,this.tokenizer.state=ei.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===D.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===E.HTML)switch(this.fragmentContextID){case C.TITLE:case C.TEXTAREA:this.tokenizer.state=ei.RCDATA;break;case C.STYLE:case C.XMP:case C.IFRAME:case C.NOEMBED:case C.NOFRAMES:case C.NOSCRIPT:this.tokenizer.state=ei.RAWTEXT;break;case C.SCRIPT:this.tokenizer.state=ei.SCRIPT_DATA;break;case C.PLAINTEXT:this.tokenizer.state=ei.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,E.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,E.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(D.HTML,E.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,C.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===O.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==C.SVG||this.treeAdapter.getTagName(t)!==D.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==E.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===C.MGLYPH||e.tagID===C.MALIGNMARK)&&!this._isIntegrationPoint(n,t,E.HTML)))}_processToken(e){switch(e.type){case O.CHARACTER:this.onCharacter(e);break;case O.NULL_CHARACTER:this.onNullCharacter(e);break;case O.COMMENT:this.onComment(e);break;case O.DOCTYPE:this.onDoctype(e);break;case O.START_TAG:this._processStartTag(e);break;case O.END_TAG:this.onEndTag(e);break;case O.EOF:this.onEof(e);break;case O.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===E.HTML)&&function(e,t,n){if(t===E.MATHML&&e===C.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===A.ENCODING){let t=n[e].value.toLowerCase();return t===eU.TEXT_HTML||t===eU.APPLICATION_XML}}return t===E.SVG&&(e===C.FOREIGN_OBJECT||e===C.DESC||e===C.TITLE)}(e,r,a)||(!n||n===E.MATHML)&&r===E.MATHML&&(e===C.MI||e===C.MO||e===C.MN||e===C.MS||e===C.MTEXT)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===P.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=I.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(C.P),this.openElements.popUntilTagNamePopped(C.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case C.TR:this.insertionMode=I.IN_ROW;return;case C.TBODY:case C.THEAD:case C.TFOOT:this.insertionMode=I.IN_TABLE_BODY;return;case C.CAPTION:this.insertionMode=I.IN_CAPTION;return;case C.COLGROUP:this.insertionMode=I.IN_COLUMN_GROUP;return;case C.TABLE:this.insertionMode=I.IN_TABLE;return;case C.BODY:this.insertionMode=I.IN_BODY;return;case C.FRAMESET:this.insertionMode=I.IN_FRAMESET;return;case C.SELECT:this._resetInsertionModeForSelect(e);return;case C.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case C.HTML:this.insertionMode=this.headElement?I.AFTER_HEAD:I.BEFORE_HEAD;return;case C.TD:case C.TH:if(e>0){this.insertionMode=I.IN_CELL;return}break;case C.HEAD:if(e>0){this.insertionMode=I.IN_HEAD;return}}this.insertionMode=I.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===C.TEMPLATE)break;if(e===C.TABLE){this.insertionMode=I.IN_SELECT_IN_TABLE;return}}this.insertionMode=I.IN_SELECT}_isElementCausesFosterParenting(e){return eQ.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case C.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===E.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case C.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return ee[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case I.INITIAL:eY(this,e);break;case I.BEFORE_HTML:eG(this,e);break;case I.BEFORE_HEAD:eK(this,e);break;case I.IN_HEAD:e1(this,e);break;case I.IN_HEAD_NO_SCRIPT:e2(this,e);break;case I.AFTER_HEAD:e4(this,e);break;case I.IN_BODY:case I.IN_CAPTION:case I.IN_CELL:case I.IN_TEMPLATE:e3(this,e);break;case I.TEXT:case I.IN_SELECT:case I.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case I.IN_TABLE:case I.IN_TABLE_BODY:case I.IN_ROW:ti(this,e);break;case I.IN_TABLE_TEXT:tc(this,e);break;case I.IN_COLUMN_GROUP:tf(this,e);break;case I.AFTER_BODY:tx(this,e);break;case I.AFTER_AFTER_BODY:tS(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case I.INITIAL:eY(this,e);break;case I.BEFORE_HTML:eG(this,e);break;case I.BEFORE_HEAD:eK(this,e);break;case I.IN_HEAD:e1(this,e);break;case I.IN_HEAD_NO_SCRIPT:e2(this,e);break;case I.AFTER_HEAD:e4(this,e);break;case I.TEXT:this._insertCharacters(e);break;case I.IN_TABLE:case I.IN_TABLE_BODY:case I.IN_ROW:ti(this,e);break;case I.IN_COLUMN_GROUP:tf(this,e);break;case I.AFTER_BODY:tx(this,e);break;case I.AFTER_AFTER_BODY:tS(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){eW(this,e);return}switch(this.insertionMode){case I.INITIAL:case I.BEFORE_HTML:case I.BEFORE_HEAD:case I.IN_HEAD:case I.IN_HEAD_NO_SCRIPT:case I.AFTER_HEAD:case I.IN_BODY:case I.IN_TABLE:case I.IN_CAPTION:case I.IN_COLUMN_GROUP:case I.IN_TABLE_BODY:case I.IN_ROW:case I.IN_CELL:case I.IN_SELECT:case I.IN_SELECT_IN_TABLE:case I.IN_TEMPLATE:case I.IN_FRAMESET:case I.AFTER_FRAMESET:eW(this,e);break;case I.IN_TABLE_TEXT:td(this,e);break;case I.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case I.AFTER_AFTER_BODY:case I.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case I.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?T.QUIRKS:function(e){if(e.name!==eT)return T.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return T.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),e$.has(n))return T.QUIRKS;let e=null===t?eC:eD;if(eN(n,e))return T.QUIRKS;if(eN(n,e=null===t?eP:eI))return T.LIMITED_QUIRKS}return T.NO_QUIRKS}(t);t.name===eT&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,b.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=I.BEFORE_HTML}(this,e);break;case I.BEFORE_HEAD:case I.IN_HEAD:case I.IN_HEAD_NO_SCRIPT:case I.AFTER_HEAD:this._err(e,b.misplacedDoctype);break;case I.IN_TABLE_TEXT:td(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,b.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID;return t===C.FONT&&e.attrs.some(({name:e})=>e===A.COLOR||e===A.SIZE||e===A.FACE)||eL.has(t)}(t))t_(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===E.MATHML?eZ(t):r===E.SVG&&(function(e){let t=ej.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=K(e.tagName))}(t),eB(t)),ez(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case I.INITIAL:eY(this,e);break;case I.BEFORE_HTML:e.tagID===C.HTML?(this._insertElement(e,E.HTML),this.insertionMode=I.BEFORE_HEAD):eG(this,e);break;case I.BEFORE_HEAD:!function(e,t){switch(t.tagID){case C.HTML:tt(e,t);break;case C.HEAD:e._insertElement(t,E.HTML),e.headElement=e.openElements.current,e.insertionMode=I.IN_HEAD;break;default:eK(e,t)}}(this,e);break;case I.IN_HEAD:eJ(this,e);break;case I.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case C.HTML:tt(e,t);break;case C.BASEFONT:case C.BGSOUND:case C.HEAD:case C.LINK:case C.META:case C.NOFRAMES:case C.STYLE:eJ(e,t);break;case C.NOSCRIPT:e._err(t,b.nestedNoscriptInHead);break;default:e2(e,t)}}(this,e);break;case I.AFTER_HEAD:!function(e,t){switch(t.tagID){case C.HTML:tt(e,t);break;case C.BODY:e._insertElement(t,E.HTML),e.framesetOk=!1,e.insertionMode=I.IN_BODY;break;case C.FRAMESET:e._insertElement(t,E.HTML),e.insertionMode=I.IN_FRAMESET;break;case C.BASE:case C.BASEFONT:case C.BGSOUND:case C.LINK:case C.META:case C.NOFRAMES:case C.SCRIPT:case C.STYLE:case C.TEMPLATE:case C.TITLE:e._err(t,b.abandonedHeadElementChild),e.openElements.push(e.headElement,C.HEAD),eJ(e,t),e.openElements.remove(e.headElement);break;case C.HEAD:e._err(t,b.misplacedStartTagForHeadElement);break;default:e4(e,t)}}(this,e);break;case I.IN_BODY:tt(this,e);break;case I.IN_TABLE:to(this,e);break;case I.IN_TABLE_TEXT:td(this,e);break;case I.IN_CAPTION:!function(e,t){let n=t.tagID;tp.has(n)?e.openElements.hasInTableScope(C.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(C.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=I.IN_TABLE,to(e,t)):tt(e,t)}(this,e);break;case I.IN_COLUMN_GROUP:tm(this,e);break;case I.IN_TABLE_BODY:th(this,e);break;case I.IN_ROW:tv(this,e);break;case I.IN_CELL:!function(e,t){let n=t.tagID;tp.has(n)?(e.openElements.hasInTableScope(C.TD)||e.openElements.hasInTableScope(C.TH))&&(e._closeTableCell(),tv(e,t)):tt(e,t)}(this,e);break;case I.IN_SELECT:tb(this,e);break;case I.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===C.CAPTION||n===C.TABLE||n===C.TBODY||n===C.TFOOT||n===C.THEAD||n===C.TR||n===C.TD||n===C.TH?(e.openElements.popUntilTagNamePopped(C.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tb(e,t)}(this,e);break;case I.IN_TEMPLATE:!function(e,t){switch(t.tagID){case C.BASE:case C.BASEFONT:case C.BGSOUND:case C.LINK:case C.META:case C.NOFRAMES:case C.SCRIPT:case C.STYLE:case C.TEMPLATE:case C.TITLE:eJ(e,t);break;case C.CAPTION:case C.COLGROUP:case C.TBODY:case C.TFOOT:case C.THEAD:e.tmplInsertionModeStack[0]=I.IN_TABLE,e.insertionMode=I.IN_TABLE,to(e,t);break;case C.COL:e.tmplInsertionModeStack[0]=I.IN_COLUMN_GROUP,e.insertionMode=I.IN_COLUMN_GROUP,tm(e,t);break;case C.TR:e.tmplInsertionModeStack[0]=I.IN_TABLE_BODY,e.insertionMode=I.IN_TABLE_BODY,th(e,t);break;case C.TD:case C.TH:e.tmplInsertionModeStack[0]=I.IN_ROW,e.insertionMode=I.IN_ROW,tv(e,t);break;default:e.tmplInsertionModeStack[0]=I.IN_BODY,e.insertionMode=I.IN_BODY,tt(e,t)}}(this,e);break;case I.AFTER_BODY:e.tagID===C.HTML?tt(this,e):tx(this,e);break;case I.IN_FRAMESET:!function(e,t){switch(t.tagID){case C.HTML:tt(e,t);break;case C.FRAMESET:e._insertElement(t,E.HTML);break;case C.FRAME:e._appendElement(t,E.HTML),t.ackSelfClosing=!0;break;case C.NOFRAMES:eJ(e,t)}}(this,e);break;case I.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case C.HTML:tt(e,t);break;case C.NOFRAMES:eJ(e,t)}}(this,e);break;case I.AFTER_AFTER_BODY:e.tagID===C.HTML?tt(this,e):tS(this,e);break;case I.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case C.HTML:tt(e,t);break;case C.NOFRAMES:eJ(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===C.P||t.tagID===C.BR){t_(e),e._endT
226agOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===E.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case I.INITIAL:eY(this,e);break;case I.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===C.HTML||n===C.HEAD||n===C.BODY||n===C.BR)&&eG(e,t)}(this,e);break;case I.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===C.HEAD||n===C.BODY||n===C.HTML||n===C.BR?eK(e,t):e._err(t,b.endTagWithoutMatchingOpenElement)}(this,e);break;case I.IN_HEAD:!function(e,t){switch(t.tagID){case C.HEAD:e.openElements.pop(),e.insertionMode=I.AFTER_HEAD;break;case C.BODY:case C.BR:case C.HTML:e1(e,t);break;case C.TEMPLATE:e0(e,t);break;default:e._err(t,b.endTagWithoutMatchingOpenElement)}}(this,e);break;case I.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case C.NOSCRIPT:e.openElements.pop(),e.insertionMode=I.IN_HEAD;break;case C.BR:e2(e,t);break;default:e._err(t,b.endTagWithoutMatchingOpenElement)}}(this,e);break;case I.AFTER_HEAD:!function(e,t){switch(t.tagID){case C.BODY:case C.HTML:case C.BR:e4(e,t);break;case C.TEMPLATE:e0(e,t);break;default:e._err(t,b.endTagWithoutMatchingOpenElement)}}(this,e);break;case I.IN_BODY:tr(this,e);break;case I.TEXT:e.tagID===C.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case I.IN_TABLE:tl(this,e);break;case I.IN_TABLE_TEXT:td(this,e);break;case I.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case C.CAPTION:case C.TABLE:e.openElements.hasInTableScope(C.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(C.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=I.IN_TABLE,n===C.TABLE&&tl(e,t));break;case C.BODY:case C.COL:case C.COLGROUP:case C.HTML:case C.TBODY:case C.TD:case C.TFOOT:case C.TH:case C.THEAD:case C.TR:break;default:tr(e,t)}}(this,e);break;case I.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case C.COLGROUP:e.openElements.currentTagId===C.COLGROUP&&(e.openElements.pop(),e.insertionMode=I.IN_TABLE);break;case C.TEMPLATE:e0(e,t);break;case C.COL:break;default:tf(e,t)}}(this,e);break;case I.IN_TABLE_BODY:tg(this,e);break;case I.IN_ROW:ty(this,e);break;case I.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case C.TD:case C.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=I.IN_ROW);break;case C.TABLE:case C.TBODY:case C.TFOOT:case C.THEAD:case C.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),ty(e,t));break;case C.BODY:case C.CAPTION:case C.COL:case C.COLGROUP:case C.HTML:break;default:tr(e,t)}}(this,e);break;case I.IN_SELECT:tO(this,e);break;case I.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===C.CAPTION||n===C.TABLE||n===C.TBODY||n===C.TFOOT||n===C.THEAD||n===C.TR||n===C.TD||n===C.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(C.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tO(e,t)}(this,e);break;case I.IN_TEMPLATE:e.tagID===C.TEMPLATE&&e0(this,e);break;case I.AFTER_BODY:tk(this,e);break;case I.IN_FRAMESET:e.tagID!==C.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===C.FRAMESET||(this.insertionMode=I.AFTER_FRAMESET));break;case I.AFTER_FRAMESET:e.tagID===C.HTML&&(this.insertionMode=I.AFTER_AFTER_FRAMESET);break;case I.AFTER_AFTER_BODY:tS(this,e)}}onEof(e){switch(this.insertionMode){case I.INITIAL:eY(this,e);break;case I.BEFORE_HTML:eG(this,e);break;case I.BEFORE_HEAD:eK(this,e);break;case I.IN_HEAD:e1(this,e);break;case I.IN_HEAD_NO_SCRIPT:e2(this,e);break;case I.AFTER_HEAD:e4(this,e);break;case I.IN_BODY:case I.IN_TABLE:case I.IN_CAPTION:case I.IN_COLUMN_GROUP:case I.IN_TABLE_BODY:case I.IN_ROW:case I.IN_CELL:case I.IN_SELECT:case I.IN_SELECT_IN_TABLE:ta(this,e);break;case I.TEXT:this._err(e,b.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case I.IN_TABLE_TEXT:td(this,e);break;case I.IN_TEMPLATE:tw(this,e);break;case I.AFTER_BODY:case I.IN_FRAMESET:case I.AFTER_FRAMESET:case I.AFTER_AFTER_BODY:case I.AFTER_AFTER_FRAMESET:eX(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCo
226deAt(0)===y.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case I.IN_HEAD:case I.IN_HEAD_NO_SCRIPT:case I.AFTER_HEAD:case I.TEXT:case I.IN_COLUMN_GROUP:case I.IN_SELECT:case I.IN_SELECT_IN_TABLE:case I.IN_FRAMESET:case I.AFTER_FRAMESET:this._insertCharacters(e);break;case I.IN_BODY:case I.IN_CAPTION:case I.IN_CELL:case I.IN_TEMPLATE:case I.AFTER_BODY:case I.AFTER_AFTER_BODY:case I.AFTER_AFTER_FRAMESET:e6(this,e);break;case I.IN_TABLE:case I.IN_TABLE_BODY:case I.IN_ROW:ti(this,e);break;case I.IN_TABLE_TEXT:tu(this,e)}}}function eV(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tn(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),l=n&&i>=3;!n||l?(l&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=K(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let a=e.treeAdapter.getNamespaceURI(t);r===C.TEMPLATE&&a===E.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function eW(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function eX(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function eY(e,t){e._err(t,b.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,T.QUIRKS),e.insertionMode=I.BEFORE_HTML,e._processToken(t)}function eG(e,t){e._insertFakeRootElement(),e.insertionMode=I.BEFORE_HEAD,e._processToken(t)}function eK(e,t){e._insertFakeElement(D.HEAD,C.HEAD),e.headElement=e.openElements.current,e.insertionMode=I.IN_HEAD,e._processToken(t)}function eJ(e,t){switch(t.tagID){case C.HTML:tt(e,t);break;case C.BASE:case C.BASEFONT:case C.BGSOUND:case C.LINK:case C.META:e._appendElement(t,E.HTML),t.ackSelfClosing=!0;break;case C.TITLE:e._switchToTextParsing(t,ei.RCDATA);break;case C.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,ei.RAWTEXT):(e._insertElement(t,E.HTML),e.insertionMode=I.IN_HEAD_NO_SCRIPT);break;case C.NOFRAMES:case C.STYLE:e._switchToTextParsing(t,ei.RAWTEXT);break;case C.SCRIPT:e._switchToTextParsing(t,ei.SCRIPT_DATA);break;case C.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=I.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(I.IN_TEMPLATE);break;case C.HEAD:e._err(t,b.misplacedStartTagForHeadElement);break;default:e1(e,t)}}function e0(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==C.TEMPLATE&&e._err(t,b.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(C.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,b.endTagWithoutMatchingOpenElement)}function e1(e,t){e.openElements.pop(),e.insertionMode=I.AFTER_HEAD,e._processToken(t)}function e2(e,t){let n=t.type===O.EOF?b.openElementsLeftAfterEof:b.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=I.IN_HEAD,e._processToken(t)}function e4(e,t){e._insertFakeElement(D.BODY,C.BODY),e.insertionMode=I.IN_BODY,e8(e,t)}function e8(e,t){switch(t.type){case O.CHARACTER:e3(e,t);break;case O.WHITESPACE_CHARACTER:e6(e,t);break;case O.COMMENT:eW(e,t);break;case O.START_TAG:tt(e,t);break;case O.END_TAG:tr(e,t);break;case O.EOF:ta(e,t)}}function e6(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function e3(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function e5(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,E.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function e7(e){let t=z(e,A.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function e9(e,t){e._switchToTextParsing(t,ei.RAWTEXT)}function te(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,E.HTML)}function tt(e,t){switch(t.tagID){case C.I:case C.S:case C.B:case C.U:case C.EM:case C.TT:case C.BIG:case C.CODE:case C.FONT:case C.SMALL:case C.STRIKE:case C.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,E.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case C.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(D.A);n&&(eV(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,E.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case C.H1:case C.H2:case C.H3:case C.H4:case C.H5:case C.H6:e.openElements.hasInButtonScope(C.P)&&e._closePElement(),et(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,E.HTML);break;case C.P:case C.DL:case C.OL:case C.UL:case C.DIV:case C.DIR:case C.NAV:case C.MAIN:case C.MENU:case C.ASIDE:case C.CENTER:case C.FIGURE:case C.FOOTER:case C.HEADER:case C.HGROUP:case C.DIALOG:case C.DETAILS:case C.ADDRESS:case C.ARTICLE:case C.SECTION:case C.SUMMARY:case C.FIELDSET:case C.BLOCKQUOTE:case C.FIGCAPTION:e.openElements.hasInButtonScope(C.P)&&e._closePElement(),e._insertElement(t,E.HTML);break;case C.LI:case C.DD:case C.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===C.LI&&r===C.LI||(n===C.DD||n===C.DT)&&(r===C.DD||r===C.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==C.ADDRESS&&r!==C.DIV&&r!==C.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(C.P)&&e._closePElement(),e._insertElement(t,E.HTML)}(e,t);break;case C.BR:case C.IMG:case C.WBR:case C.AREA:case C.EMBED:case C.KEYGEN:e5(e,t);break;case C.HR:e.openElements.hasInButtonScope(C.P)&&e._closePElement(),e._appendElement(t,E.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case C.RB:case C.RTC:e.openElements.hasInScope(C.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,E.HTML);break;case C.RT:case C.RP:e.openElements.hasInScope(C.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(C.RTC),e._insertElement(t,E.HTML);break;case C.PRE:case C.LISTING:e.openElements.hasInButtonScope(C.P)&&e._closePElement(),e._insertElement(t,E.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case C.XMP:e.openElements.hasInButtonScope(C.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,ei.RAWTEXT);break;case C.SVG:e._reconstructActiveFormattingElements(),eB(t),ez(t),t.selfClosing?e._appendElement(t,E.SVG):e._insertElement(t,E.SVG),t.ackSelfClosing=!0;break;case C.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case C.BASE:case C.LINK:case C.META:case C.STYLE:case C.TITLE:case C.SCRIPT:case C.BGSOUND:case C.BASEFONT:case C.TEMPLATE:eJ(e,t);break;case C.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case C.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(C.P)&&e._closePElement(),e._insertElement(t,E.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case C.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(C.NOBR)&&(eV(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,E.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case C.MATH:e._reconstructActiveFormattingElements(),eZ(t),ez(t),t.selfClosing?e._appendElement(t,E.MATHML):e._insertElement(t,E.MATHML),t.ackSelfClosing=!0;break;case C.TABLE:e.treeAdapter.getDocumentMode(e.document)!==T.QUIRKS&&e.openElements.hasInButtonScope(C.P)&&e._closePElement(),e._insertElement(t,E.HTML),e.framesetOk=!1,e.insertionMode=I.IN_TABLE;break;case C.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,E.HTML),e7(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case C.PARAM:case C.TRACK:case C.SOURCE:e._appendElement(t,E.HTML),t.ackSelfClosing=!0;break;case C.IMAGE:t.tagName=D.IMG,t.tagID=C.IMG,e5(e,t);break;case C.BUTTON:e.openElements.hasInScope(C.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(C.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,E.HTML),e.framesetOk=!1;break;case C.APPLET:case C.OBJECT:case C.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,E.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case C.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,ei.RAWTEXT);break;case C.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,E.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===I.IN_TABLE||e.insertionMode===I.IN_CAPTION||e.insertionMode===I.IN_TABLE_BODY||e.insertionMode===I.IN_ROW||e.insertionMode===I.IN_CELL?I.IN_SELECT_IN_TABLE:I.IN_SELECT;break;case C.OPTION:case C.OPTGROUP:e.openElements.currentTagId===C.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,E.HTML);break;
226case C.NOEMBED:e9(e,t);break;case C.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,E.HTML),e.insertionMode=I.IN_FRAMESET)}(e,t);break;case C.TEXTAREA:e._insertElement(t,E.HTML),e.skipNextNewLine=!0,e.tokenizer.state=ei.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=I.TEXT;break;case C.NOSCRIPT:e.options.scriptingEnabled?e9(e,t):te(e,t);break;case C.PLAINTEXT:e.openElements.hasInButtonScope(C.P)&&e._closePElement(),e._insertElement(t,E.HTML),e.tokenizer.state=ei.PLAINTEXT;break;case C.COL:case C.TH:case C.TD:case C.TR:case C.HEAD:case C.FRAME:case C.TBODY:case C.TFOOT:case C.THEAD:case C.CAPTION:case C.COLGROUP:break;default:te(e,t)}}function tn(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==C.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function tr(e,t){switch(t.tagID){case C.A:case C.B:case C.I:case C.S:case C.U:case C.EM:case C.TT:case C.BIG:case C.CODE:case C.FONT:case C.NOBR:case C.SMALL:case C.STRIKE:case C.STRONG:eV(e,t);break;case C.P:e.openElements.hasInButtonScope(C.P)||e._insertFakeElement(D.P,C.P),e._closePElement();break;case C.DL:case C.UL:case C.OL:case C.DIR:case C.DIV:case C.NAV:case C.PRE:case C.MAIN:case C.MENU:case C.ASIDE:case C.BUTTON:case C.CENTER:case C.FIGURE:case C.FOOTER:case C.HEADER:case C.HGROUP:case C.DIALOG:case C.ADDRESS:case C.ARTICLE:case C.DETAILS:case C.SECTION:case C.SUMMARY:case C.LISTING:case C.FIELDSET:case C.BLOCKQUOTE:case C.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case C.LI:e.openElements.hasInListItemScope(C.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(C.LI),e.openElements.popUntilTagNamePopped(C.LI));break;case C.DD:case C.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case C.H1:case C.H2:case C.H3:case C.H4:case C.H5:case C.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case C.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(D.BR,C.BR),e.openElements.pop(),e.framesetOk=!1;break;case C.BODY:!function(e,t){if(e.openElements.hasInScope(C.BODY)&&(e.insertionMode=I.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case C.HTML:e.openElements.hasInScope(C.BODY)&&(e.insertionMode=I.AFTER_BODY,tk(e,t));break;case C.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(C.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(C.FORM):n&&e.openElements.remove(n))}(e);break;case C.APPLET:case C.OBJECT:case C.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case C.TEMPLATE:e0(e,t);break;default:tn(e,t)}}function ta(e,t){e.tmplInsertionModeStack.length>0?tw(e,t):eX(e,t)}function ti(e,t){if(eQ.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=I.IN_TABLE_TEXT,t.type){case O.CHARACTER:tc(e,t);break;case O.WHITESPACE_CHARACTER:tu(e,t)}else ts(e,t)}function to(e,t){switch(t.tagID){case C.TD:case C.TH:case C.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(D.TBODY,C.TBODY),e.insertionMode=I.IN_TABLE_BODY,th(e,t);break;case C.STYLE:case C.SCRIPT:case C.TEMPLATE:eJ(e,t);break;case C.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(D.COLGROUP,C.COLGROUP),e.insertionMode=I.IN_COLUMN_GROUP,tm(e,t);break;case C.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,E.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case C.TABLE:e.openElements.hasInTableScope(C.TABLE)&&(e.openElements.popUntilTagNamePopped(C.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case C.TBODY:case C.TFOOT:case C.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,E.HTML),e.insertionMode=I.IN_TABLE_BODY;break;case C.INPUT:e7(t)?e._appendElement(t,E.HTML):ts(e,t),t.ackSelfClosing=!0;break;case C.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,E.HTML),e.insertionMode=I.IN_CAPTION;break;case C.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,E.HTML),e.insertionMode=I.IN_COLUMN_GROUP;break;default:ts(e,t)}}function tl(e,t){switch(t.tagID){case C.TABLE:e.openElements.hasInTableScope(C.TABLE)&&(e.openElements.popUntilTagNamePopped(C.TABLE),e._resetInsertionMode());break;case C.TEMPLATE:e0(e,t);break;case C.BODY:case C.CAPTION:case C.COL:case C.COLGROUP:case C.HTML:case C.TBODY:case C.TD:case C.TFOOT:case C.TH:case C.THEAD:case C.TR:break;default:ts(e,t)}}function ts(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e8(e,t),e.fosterParentingEnabled=n}
vendor: 4,969 bytes, line 226
226function tu(e,t){e.pendingCharacterTokens.push(t)}function tc(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function td(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)ts(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}let tp=new Set([C.CAPTION,C.COL,C.COLGROUP,C.TBODY,C.TD,C.TFOOT,C.TH,C.THEAD,C.TR]);function tm(e,t){switch(t.tagID){case C.HTML:tt(e,t);break;case C.COL:e._appendElement(t,E.HTML),t.ackSelfClosing=!0;break;case C.TEMPLATE:eJ(e,t);break;default:tf(e,t)}}function tf(e,t){e.openElements.currentTagId===C.COLGROUP&&(e.openElements.pop(),e.insertionMode=I.IN_TABLE,e._processToken(t))}function th(e,t){switch(t.tagID){case C.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,E.HTML),e.insertionMode=I.IN_ROW;break;case C.TH:case C.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(D.TR,C.TR),e.insertionMode=I.IN_ROW,tv(e,t);break;case C.CAPTION:case C.COL:case C.COLGROUP:case C.TBODY:case C.TFOOT:case C.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE,to(e,t));break;default:to(e,t)}}function tg(e,t){let n=t.tagID;switch(t.tagID){case C.TBODY:case C.TFOOT:case C.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE);break;case C.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE,tl(e,t));break;case C.BODY:case C.CAPTION:case C.COL:case C.COLGROUP:case C.HTML:case C.TD:case C.TH:case C.TR:break;default:tl(e,t)}}function tv(e,t){switch(t.tagID){case C.TH:case C.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,E.HTML),e.insertionMode=I.IN_CELL,e.activeFormattingElements.insertMarker();break;case C.CAPTION:case C.COL:case C.COLGROUP:case C.TBODY:case C.TFOOT:case C.THEAD:case C.TR:e.openElements.hasInTableScope(C.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE_BODY,th(e,t));break;default:to(e,t)}}function ty(e,t){switch(t.tagID){case C.TR:e.openElements.hasInTableScope(C.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE_BODY);break;case C.TABLE:e.openElements.hasInTableScope(C.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE_BODY,tg(e,t));break;case C.TBODY:case C.TFOOT:case C.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(C.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE_BODY,tg(e,t));break;case C.BODY:case C.CAPTION:case C.COL:case C.COLGROUP:case C.HTML:case C.TD:case C.TH:break;default:tl(e,t)}}function tb(e,t){switch(t.tagID){case C.HTML:tt(e,t);break;case C.OPTION:e.openElements.currentTagId===C.OPTION&&e.openElements.pop(),e._insertElement(t,E.HTML);break;case C.OPTGROUP:e.openElements.currentTagId===C.OPTION&&e.openElements.pop(),e.openElements.currentTagId===C.OPTGROUP&&e.openElements.pop(),e._insertElement(t,E.HTML);break;case C.INPUT:case C.KEYGEN:case C.TEXTAREA:case C.SELECT:e.openElements.hasInSelectScope(C.SELECT)&&(e.openElements.popUntilTagNamePopped(C.SELECT),e._resetInsertionMode(),t.tagID!==C.SELECT&&e._processStartTag(t));break;case C.SCRIPT:case C.TEMPLATE:eJ(e,t)}}function tO(e,t){switch(t.tagID){case C.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===C.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===C.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===C.OPTGROUP&&e.openElements.pop();break;case C.OPTION:e.openElements.currentTagId===C.OPTION&&e.openElements.pop();break;case C.SELECT:e.openElements.hasInSelectScope(C.SELECT)&&(e.openElements.popUntilTagNamePopped(C.SELECT),e._resetInsertionMode());break;case C.TEMPLATE:e0(e,t)}}function tw(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(C.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):eX(e,t)}function tk(e,t){var n;if(t.tagID===C.HTML){if(e.fragmentContext||(e.insertionMode=I.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===C.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tx(e,t)}function tx(e,t){e.insertionMode=I.IN_BODY,e8(e,t)}function tS(e,t){e.insertionMode=I.IN_BODY,e8(e,t)}function t_(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==E.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.o
226penElements.current);)e.openElements.pop()}let tE=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function tA(e,t){return function(n){let r;let a=0,i="";for(;r=e.exec(n);)a!==r.index&&(i+=n.substring(a,r.index)),i+=t.get(r[0].charCodeAt(0)),a=r.index+1;return i+n.substring(a)}}function tT(e,t){return eq.parse(e,t)}function tD(e,t,n){"string"==typeof e&&(n=t,t=e,e=null);let r=eq.getFragmentParser(e,n);return r.tokenizer.write(t,!0),r.getFragment()}null!=String.prototype.codePointAt||((e,t)=>(64512&e.charCodeAt(t))==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)),tA(/[&<>'"]/g,tE),tA(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),tA(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),D.AREA,D.BASE,D.BASEFONT,D.BGSOUND,D.BR,D.COL,D.EMBED,D.FRAME,D.HR,D.IMG,D.INPUT,D.KEYGEN,D.LINK,D.META,D.PARAM,D.SOURCE,D.TRACK,D.WBR},72930:function(e,t,n){"use strict";n.d(t,{d:function(){return v},j:function(){return o},k:function(){return l},l:function(){return s},m:function(){return u},n:function(){return c},o:function(){return d},r:function(){return p},t:function(){return i},u:function(){return m},x:function(){return f}});var r=n(7703),a=n(71324);function i(e,t=(0,r.iT)()){return o(e)?e.toDate():e.toDate(t)}function o(e){return e instanceof a.AQ}function l(e){return e instanceof a.oz||o(e)}function s(e){return e instanceof Date?new Date(e.getFullYear(),e.getMonth()+1,0).getDate():e.set({day:100}).day}function u(e,t){return 0>e.compare(t)}function c(e,t){return e.compare(t)>0}function d(e,t){return 0>=e.compare(t)}function p(e,t,n){return e.compare(t)>=0&&d(e,n)}function m(e,t,n){return c(e,t)&&u(e,n)}function f(e,t,n,r){if(void 0===n&&void 0===r)return!0;let a=e.add({days:1});if(null!=r&&r(a)||null!=n&&n(a))return!1;for(;0>a.compare(t);)if(a=a.add({days:1}),null!=r&&r(a)||null!=n&&n(a))return!1;return!0}function h(e,t){let n=[],r=e.add({days:1});for(;0>r.compare(t);)n.push(r),r=r.add({days:1});return n}function g(e){let{dateObj:t,weekStartsOn:n,fixedWeeks:a,locale:i}=e,o=Array.from({length:s(t)},(e,n)=>t.set({day:n+1})),l=(0,r.Nm)(t),u=(0,r.Vf)(t),c=function(e,t,n){let a=(0,r.ji)(e,n);return t>a?e.subtract({days:a+7-t}):t===a?e:e.subtract({days:a-t})}(l,n,i),d=function(e,t,n){let a=(0,r.ji)(e,n),i=0===t?6:t-1;return a===i?e:a>i?e.add({days:7-a+i}):e.add({days:i-a})}(u,n,i),p=h(c.subtract({days:1}),l),m=h(u,d.add({days:1})),f=p.length+o.length+m.length;if(a&&f<42){let e=m[m.length-1];e||(e=(0,r.Vf)(t));let n=Array.from({length:42-f},(t,n)=>e.add({days:n+1}));m.push(...n)}let g=p.concat(o,m),v=function(e,t){let n=[];for(let t=0;t<e.length;t+=7)n.push(e.slice(t,t+7));return n}(g,0);return{value:t,cells:g,rows:v}}function v(e){let{numberOfMonths:t,dateObj:n,...r}=e,a=[];if(!t||1===t)return a.push(g({...r,dateObj:n})),a;a.push(g({...r,dateObj:n}));for(let e=1;e<t;e++){let t=n.add({months:e});a.push(g({...r,dateObj:t}))}return a}},7232:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return ey}});var a={};n.r(a),n.d(a,{boolean:function(){return d},booleanish:function(){return p},commaOrSpaceSeparated:function(){return v},commaSeparated:function(){return g},number:function(){return f},overloadedBoolean:function(){return m},spaceSeparated:function(){return h}});var i=n(60638);class o{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function l(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new o(n,r,t)}function s(e){return e.toLowerCase()}o.prototype.normal={},o.prototype.property={},o.prototype.space=void 0;class u{constructor(e,t){this.attribute=t,this.property=e}}u.prototype.attribute="",u.prototype.booleanish=!1,u.prototype.boolean=!1,u.prototype.commaOrSpaceSeparated=!1,u.prototype.commaSeparated=!1,u.prototype.defined=!1,u.prototype.mustUseProperty=!1,u.prototype.number=!1,u.prototype.overloadedBoolean=!1,u.prototype.property="",u.prototype.spaceSeparated=!1,u.prototype.space=void 0;let c=0,d=y(),p=y(),m=y(),f=y(),h=y(),g=y(),v=y();function y(){return 2**++c}let b=Object.keys(a);class O extends u{constructor(e,t,n,r){var i,o;let l=-1;if(super(e,t),r&&(this.space=r),"number"==typeof n)for(;++l<b.length;){let e=b[l];
226i=b[l],(o=(n&a[e])===a[e])&&(this[i]=o)}}}function w(e){let t={},n={};for(let[r,a]of Object.entries(e.properties)){let i=new O(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[s(r)]=r,n[s(i.attribute)]=r}return new o(t,n,e.space)}O.prototype.defined=!0;let k=w({properties:{ariaActiveDescendant:null,ariaAtomic:p,ariaAutoComplete:null,ariaBusy:p,ariaChecked:p,ariaColCount:f,ariaColIndex:f,ariaColSpan:f,ariaControls:h,ariaCurrent:null,ariaDescribedBy:h,ariaDetails:null,ariaDisabled:p,ariaDropEffect:h,ariaErrorMessage:null,ariaExpanded:p,ariaFlowTo:h,ariaGrabbed:p,ariaHasPopup:null,ariaHidden:p,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:h,ariaLevel:f,ariaLive:null,ariaModal:p,ariaMultiLine:p,ariaMultiSelectable:p,ariaOrientation:null,ariaOwns:h,ariaPlaceholder:null,ariaPosInSet:f,ariaPressed:p,ariaReadOnly:p,ariaRelevant:null,ariaRequired:p,ariaRoleDescription:h,ariaRowCount:f,ariaRowIndex:f,ariaRowSpan:f,ariaSelected:p,ariaSetSize:f,ariaSort:null,ariaValueMax:f,ariaValueMin:f,ariaValueNow:f,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function x(e,t){return t in e?e[t]:t}function S(e,t){return x(e,t.toLowerCase())}let _=w({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:g,acceptCharset:h,accessKey:h,action:null,allow:null,allowFullScreen:d,allowPaymentRequest:d,allowUserMedia:d,alt:null,as:null,async:d,autoCapitalize:null,autoComplete:h,autoFocus:d,autoPlay:d,blocking:h,capture:null,charSet:null,checked:d,cite:null,className:h,cols:f,colSpan:null,content:null,contentEditable:p,controls:d,controlsList:h,coords:f|g,crossOrigin:null,data:null,dateTime:null,decoding:null,default:d,defer:d,dir:null,dirName:null,disabled:d,download:m,draggable:p,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:d,formTarget:null,headers:h,height:f,hidden:m,high:f,href:null,hrefLang:null,htmlFor:h,httpEquiv:h,id:null,imageSizes:null,imageSrcSet:null,inert:d,inputMode:null,integrity:null,is:null,isMap:d,itemId:null,itemProp:h,itemRef:h,itemScope:d,itemType:h,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:d,low:f,manifest:null,max:null,maxLength:f,media:null,method:null,min:null,minLength:f,multiple:d,muted:d,name:null,nonce:null,noModule:d,noValidate:d,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:d,optimum:f,pattern:null,ping:h,placeholder:null,playsInline:d,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:d,referrerPolicy:null,rel:h,required:d,reversed:d,rows:f,rowSpan:f,sandbox:h,scope:null,scoped:d,seamless:d,selected:d,shadowRootClonable:d,shadowRootDelegatesFocus:d,shadowRootMode:null,shape:null,size:f,sizes:null,slot:null,span:f,spellCheck:p,src:null,
226srcDoc:null,srcLang:null,srcSet:null,start:f,step:null,style:null,tabIndex:f,target:null,title:null,translate:null,type:null,typeMustMatch:d,useMap:null,value:p,width:f,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:h,axis:null,background:null,bgColor:null,border:f,borderColor:null,bottomMargin:f,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:d,declare:d,event:null,face:null,frame:null,frameBorder:null,hSpace:f,leftMargin:f,link:null,longDesc:null,lowSrc:null,marginHeight:f,marginWidth:f,noResize:d,noHref:d,noShade:d,noWrap:d,object:null,profile:null,prompt:null,rev:null,rightMargin:f,rules:null,scheme:null,scrolling:p,standby:null,summary:null,text:null,topMargin:f,valueType:null,version:null,vAlign:null,vLink:null,vSpace:f,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:d,disableRemotePlayback:d,prefix:null,property:null,results:f,security:null,unselectable:null},space:"html",transform:S}),E=w({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
226-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:v,accentHeight:f,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:f,amplitude:f,arabicForm:null,ascent:f,attributeName:null,attributeType:null,azimuth:f,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:f,by:null,calcMode:null,capHeight:f,className:h,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:f,diffuseConstant:f,direction:null,display:null,dur:null,divisor:f,dominantBaseline:null,download:d,dx:null,dy:null,edgeMode:null,editable:null,elevation:f,enableBackground:null,end:null,event:null,exponent:f,externalResourcesRequired:null,fill:null,fillOpacity:f,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:g,g2:g,glyphName:g,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:f,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:f,horizOriginX:f,horizOriginY:f,id:null,ideographic:f,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:f,k:f,k1:f,k2:f,k3:f,k4:f,kernelMatrix:v,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:f,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:f,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
226Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:f,overlineThickness:f,paintOrder:null,panose1:null,path:null,pathLength:f,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:h,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:f,pointsAtY:f,pointsAtZ:f,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:v,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:v,rev:v,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:v,requiredFeatures:v,requiredFonts:v,requiredFormats:v,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:f,specularExponent:f,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:f,strikethroughThickness:f,string:null,stroke:null,strokeDashArray:v,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:f,strokeOpacity:f,strokeWidth:null,style:null,surfaceScale:f,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:v,tabIndex:f,tableValues:null,target:null,targetX:f,targetY:f,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:v,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:f,underlineThickness:f,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:f,values:null,vAlphabetic:f,vMathematical:f,vectorEffect:null,vHanging:f,vIdeographic:f,version:null,vertAdvY:f,vertOriginX:f,vertOriginY:f,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:f,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:x}),A=w({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),T=w({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),D=w({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=l([k,_,A,T,D],"html"),$=l([k,E,A,T,D],"svg");var P=n(68336);let I=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","
226sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],N={nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",fnof:"Æ",Alpha:"Î",Beta:"Î",Gamma:"Î",Delta:"Î",Epsilon:"Î",Zeta:"Î",Eta:"Î",Theta:"Î",Iota:"Î",Kappa:"Î",Lambda:"Î",Mu:"Î",Nu:"Î",Xi:"Î",Omicron:"Î",Pi:"Î ",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Î¥",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"Ï",rho:"Ï",sigmaf:"Ï",sigma:"Ï",tau:"Ï",upsilon:"Ï
",phi:"Ï",chi:"Ï",psi:"Ï",omega:"Ï",thetasym:"Ï",upsih:"Ï",piv:"Ï",bull:"â¢",hellip:"â¦",prime:"â²",Prime:"â³",oline:"â¾",frasl:"â",weierp:"â",image:"â",real:"â",trade:"â¢",alefsym:"âµ",larr:"â",uarr:"â",rarr:"â",darr:"â",harr:"â",crarr:"âµ",lArr:"â",uArr:"â",rArr:"â",dArr:"â",hArr:"â",forall:"â",part:"â",exist:"â",empty:"â
",nabla:"â",isin:"â",notin:"â",ni:"â",prod:"â",sum:"â",minus:"â",lowast:"â",radic:"â",prop:"â",infin:"â",ang:"â ",and:"â§",or:"â¨",cap:"â©",cup:"âª",int:"â«",there4:"â´",sim:"â¼",cong:"â
",asymp:"â",ne:"â ",equiv:"â¡",le:"â¤",ge:"â¥",sub:"â",sup:"â",nsub
226:"â",sube:"â",supe:"â",oplus:"â",otimes:"â",perp:"â¥",sdot:"â
",lceil:"â",rceil:"â",lfloor:"â",rfloor:"â",lang:"â©",rang:"âª",loz:"â",spades:"â ",clubs:"â£",hearts:"â¥",diams:"â¦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Å",oelig:"Å",Scaron:"Å ",scaron:"Å¡",Yuml:"Ÿ",circ:"Ë",tilde:"Ë",ensp:"â",emsp:"â",thinsp:"â",zwnj:"â",zwj:"â",lrm:"â",rlm:"â",ndash:"â",mdash:"â",lsquo:"â",rsquo:"â",sbquo:"â",ldquo:"â",rdquo:"â",bdquo:"â",dagger:"â ",Dagger:"â¡",permil:"â°",lsaquo:"â¹",rsaquo:"âº",euro:"â¬"},U=["cent","copy","divide","gt","lt","not","para","times"],M={}.hasOwnProperty,R={};for(r in N)M.call(N,r)&&(R[N[r]]=r);function j(e,t,n){let r,a=function(e,t,n){let r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){let a=String.fromCharCode(e);if(M.call(R,a)){let e=R[a],i="&"+e;return n&&I.includes(e)&&!U.includes(e)&&(!r||t&&61!==t&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){let r=function(e,t,n){let r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);r.length<a.length&&(a=r)}return r&&(!n.useShortestReferences||r.length<a.length)?r:a}function L(e,t){return function(e,t){if(e=e.replace(t.subset?function(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(t.subset):/["&'<>`]/g,n),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,function(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function n(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}(e,Object.assign({format:j},t))}let Z=/^>|^->|<!--|-->|--!>|<!-$/g,B=[">"],z=["<",">"];var F=n(5275),Q=n(10311);let H=/[A-Z]/g,q=/-[a-z]/g,V=/^data[-\w.:]+$/i;function W(e){return"-"+e.toLowerCase()}function X(e){return e.charAt(1).toUpperCase()}var Y=n(92295),G=n(28711);let K=et(1),J=et(-1),ee=[];function et(e){return function(t,n,r){let a=t?t.children:ee,i=(n||0)+e,o=a[i];if(!r)for(;o&&(0,G.Q)(o);)i+=e,o=a[i];return o}}let en={}.hasOwnProperty;function er(e){return function(t,n,r){return en.call(e,t.tagName)&&e[t.tagName](t,n,r)}}let ea=er({body:function(e,t,n){let r=K(n,t);return!r||"comment"!==r.type},caption:ei,colgroup:ei,dd:function(e,t,n){let r=K(n,t);return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},dt:function(e,t,n){let r=K(n,t);return!!(r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName))},head:ei,html:function(e,t,n){let r=K(n,t);return!r||"comment"!==r.type},li:function(e,t,n){let r=K(n,t);return!r||"element"===r.type&&"li"===r.tagName},optgroup:function(e,t,n){let r=K(n,t);return!r||"element"===r.type&&"optgroup"===r.tagName},option:function(e,t,n){let r=K(n,t);return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)},p:function(e,t,n){let r=K(n,t);return r?"element"===r.type&&("address"===r.tagName||"article"===r.tagName||"aside"===r.tagName||"blockquote"===r.tagName||"details"===r.tagName||"div"===r.tagName||"dl"===r.tagName||"fieldset"===r.tagName||"figcaption"===r.tagName||"figure"===r.tagName||"footer"===r.tagName||"form"===r.tagName||"h1"===r.tagName||"h2"===r.tagName||"h3"===r.tagName||"h4"===r.tagName||"h5"===r.tagName||"h6"===r.tagName||"header"===r.tagName||"hgroup"===r.tagName||"hr"===r.tagName||"main"===r.tagName||"menu"===r.tagName||"nav"===r.tagName||"ol"===r.tagName||"p"===r.tagName||"pre"===r.tagName||"section"===r.tagName||"table"===r.tagName||"ul"===r.tagName):!n||!("element"===n.type&&("a"===n.tagName||"audio"===n.tagName||"del"===n.tagName||"ins"===n.tagName||"map"===n.tagName||"noscript"===n.tagName||"video"===n.tagName))},rp:eo,rt:eo,tbody:function(e,t,n){let r=K(n,t);return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},td:el,tfoot:function(e,t,n){return!K(n,t)},th:el,thead:function(e,t,n){let r=K(n,t);return!!(r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName))},tr:function(e,t,n){let r=K(n,t);return!r||"element"===r.type&&"tr"===r.tagName}});
226function ei(e,t,n){let r=K(n,t,!0);return!r||"comment"!==r.type&&!("text"===r.type&&(0,G.Q)(r.value.charAt(0)))}function eo(e,t,n){let r=K(n,t);return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}function el(e,t,n){let r=K(n,t);return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}let es=er({body:function(e){let t=K(e,-1,!0);return!t||"comment"!==t.type&&!("text"===t.type&&(0,G.Q)(t.value.charAt(0)))&&!("element"===t.type&&("meta"===t.tagName||"link"===t.tagName||"script"===t.tagName||"style"===t.tagName||"template"===t.tagName))},colgroup:function(e,t,n){let r=J(n,t),a=K(e,-1,!0);return!(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&ea(r,n.children.indexOf(r),n))&&!!(a&&"element"===a.type&&"col"===a.tagName)},head:function(e){let t=new Set;for(let n of e.children)if("element"===n.type&&("base"===n.tagName||"title"===n.tagName)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||"element"===n.type},html:function(e){let t=K(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,n){let r=J(n,t),a=K(e,-1);return!(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&ea(r,n.children.indexOf(r),n))&&!!(a&&"element"===a.type&&"tr"===a.tagName)}}),eu={name:[[" \n\f\r &/=>".split("")," \n\f\r \"&'/=>`".split("")],["\0 \n\f\r \"&'/<=>".split(""),"\0 \n\f\r \"&'/<=>`".split("")]],unquoted:[[" \n\f\r &>".split(""),"\0 \n\f\r \"&'<=>`".split("")],["\0 \n\f\r \"&'<=>`".split(""),"\0 \n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]},ec=["<","&"];function ed(e,t,n,r){return n&&"element"===n.type&&("script"===n.tagName||"style"===n.tagName)?e.value:L(e.value,Object.assign({},r.settings.characterReferences,{subset:ec}))}let ep=(0,P.z)("type",{invalid:function(e){throw Error("Expected node, not `"+e+"`")},unknown:function(e){throw Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(e,t,n,r){return r.settings.bogusComments?"<?"+L(e.value,Object.assign({},r.settings.characterReferences,{subset:B}))+">":"<!--"+e.value.replace(Z,function(e){return L(e,Object.assign({},r.settings.characterReferences,{subset:z}))})+"-->"},doctype:function(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"},element:function(e,t,n,r){let a;let i=r.schema,o="svg"!==i.space&&r.settings.omitOptionalTags,l="svg"===i.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),c=[];"html"===i.space&&"svg"===e.tagName&&(r.schema=$);let d=function(e,t){let n;let r=[],a=-1;if(t){for(n in t)if(null!==t[n]&&void 0!==t[n]){let a=function(e,t,n){let r;let a=function(e,t){let n=s(t),r=t,a=u;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&V.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(q,X);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!q.test(e)){let n=e.replace(H,W);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=O}return new a(r,t)}(e.schema,t),i=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,o=e.settings.allowDangerousCharacters?0:1,l=e.quote;if(a.overloadedBoolean&&(n===a.attribute||""===n)?n=!0:(a.boolean||a.overloadedBoolean)&&("string"!=typeof n||n===a.attribute||""===n)&&(n=!!n),null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";let c=L(a.attribute,Object.assign({},e.settings.characterReferences,{subset:eu.name[i][o]}));return!0===n?c:(n=Array.isArray(n)?(a.commaSeparated?Q.P:Y.P)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?c:(e.settings.preferUnquoted&&(r=L(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:eu.unquoted[i][o]}))),r!==n&&(e.settings.quoteSmart&&(0,F.w)(n,l)>(0,F.w)(n,e.alternative)&&(l=e.alternative),r=l+L(n,Object.assign({},e.settings.characterReferences,{subset:("'"===l?eu.single:eu.double)[i][o],attribute:!0}))+l),c+(r?"="+r:r))}(e,n,t[n]);a&&r.push(a)}}for(;++a<r.length;){let t=e.settings.tightAttributes?r[a].charAt(r[a].length-1):void 0;a!==r.length-1&&'"'!==t&&"'"!==t&&(r[a]+=" ")}return r.join("")}(r,e.properties),p=r.all("html"===i.space&&"template"===e.tagName?e.content:e);
226return r.schema=i,p&&(l=!1),!d&&o&&es(e,t,n)||(c.push("<",e.tagName,d?" "+d:""),l&&("svg"===i.space||r.settings.closeSelfClosing)&&(a=d.charAt(d.length-1),(!r.settings.tightSelfClosing||"/"===a||a&&'"'!==a&&"'"!==a)&&c.push(" "),c.push("/")),c.push(">")),c.push(p),l||o&&ea(e,t,n)||c.push("</"+e.tagName+">"),c.join("")},raw:function(e,t,n,r){return r.settings.allowDangerousHtml?e.value:ed(e,t,n,r)},root:function(e,t,n,r){return r.all(e)},text:ed}}),em={},ef={},eh=[];function eg(e,t,n){return ep(e,t,n,this)}function ev(e){let t=[],n=e&&e.children||eh,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function ey(e){let t={...this.data("settings"),...e};this.compiler=function(e){return function(e,t){let n=t||em,r=n.quote||'"';if('"'!==r&&"'"!==r)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return({one:eg,all:ev,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||i.z,characterReferences:n.characterReferences||ef,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?$:C,quote:r,alternative:'"'===r?"'":'"'}).one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}(e,t)}}},92295:function(e,t,n){"use strict";function r(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function a(e){return e.join(" ").trim()}n.d(t,{P:function(){return a},Q:function(){return r}})},78206:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});let r="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),a="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class o{constructor(e,t){this.rules=[];let{finish:n}=t||{};function r(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}for(let t in e)!function e(t,a,i,o){let l=[],s=/^@(\w+)\b/.exec(t[0]),u=s&&"keyframes"==s[1];if(s&&null==a)return i.push(t[0]+";");for(let n in a){let o=a[n];if(/&/.test(n))e(n.split(/,\s*/).map(e=>t.map(t=>e.replace(/&/,t))).reduce((e,t)=>e.concat(t)),o,i);else if(o&&"object"==typeof o){if(!s)throw RangeError("The value of a property ("+n+") should be a primitive value.");e(r(n),o,l,u)}else null!=o&&l.push(n.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+o+";")}(l.length||u)&&i.push((!n||s||o?t:t.map(n)).join(", ")+" {"+l.join(" ")+"}")}(r(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=i[r]||1;return i[r]=e+1,"ͼ"+e.toString(36)}static mount(e,t,n){let r=e[a],i=n&&n.nonce;r?i&&r.setNonce(i):r=new s(e,i),r.mount(Array.isArray(t)?t:[t],e)}}let l=new Map;class s{constructor(e,t){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=l.get(n);if(t)return e[a]=t;this.sheet=new r.CSSStyleSheet,l.set(n,this)}else this.styleTag=n.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[a]=this}mount(e,t){let n=this.sheet,r=0,a=0;for(let t=0;t<e.length;t++){let i=e[t],o=this.modules.indexOf(i);if(o<a&&o>-1&&(this.modules.splice(o,1),a--,o=-1),-1==o){if(this.modules.splice(a++,0,i),n)for(let e=0;e<i.rules.length;e++)n.insertRule(i.rules[e],r++)}else{for(;a<o;)r+=this.modules[a++].rules.length;r+=i.rules.length,a++}}if(n)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 n=t.head||t;this.styleTag.parentNode!=n&&n.insertBefore(this.styleTag,n.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}},88308:function(e,t,n){"use strict";function r(e){if(e)throw e}n.d(t,{l:function(){return d}});var a=n(6500),i=n(76843);function o(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var l=n(10760);let s=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},u={}.hasOwnProperty;class c extends s{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);(function a(i,...o){let l=e[++n],s=-1;if(i){r(i);return}for(;++s<t.length;)(null===o[s]||void 0===o[s])&&(o[s]=t[s]);t=o,l?(function(e,t){let n;return function(...t){let i;let o=e.length>t.length;o&&t.push(r);try{i=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(i instanceof Promise?i.then(a,r):i instanceof Error?r(i):a(i))};function r(e,...a){n||(n=!0,t(e,...a))}function a(e){r(null,e)}})(l,a)(...o):r(null,...o)})(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new c,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(a(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(f("data",this.frozen),this.namespace[e]=t,this):u.call(this.namespace,e)&&this.namespace[e]||void 0:e?(f("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();let t=v(e),n=this.parser||this.Parser;return p("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),p("process",this.parser||this.Parser),m("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,a){let o=v(e),l=n.parse(o);function s(e,n){e||!n?a(e):r?r(n):((0,i.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(l,o,function(e,t,r){if(e||!t||!r)return s(e);let a=n.stringify(t,r);"string"==typeof a||a&&"object"==typeof a&&"byteLength"in a&&"byteOffset"in a?r.value=a:r.result=a,s(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),p("processSync",this.parser||this.Parser),m("processSync",this.compiler||this.Compiler),this.process(e,function(e,a){n=!0,r(e),t=a}),g("processSync","process",n),(0,i.ok)(t,"we either bailed on an error or have a tree"),t}
226run(e,t,n){h(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?a(void 0,n):new Promise(a);function a(a,o){(0,i.ok)("function"!=typeof t,"`file` canât be a `done` anymore, we checked");let l=v(t);r.run(e,l,function(t,r,l){let s=r||e;t?o(t):a?a(s):((0,i.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,s,l))})}}runSync(e,t){let n,a=!1;return this.run(e,t,function(e,t){r(e),n=t,a=!0}),g("runSync","run",a),(0,i.ok)(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=v(t),r=this.compiler||this.Compiler;return m("stringify",r),h(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(f("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else if("object"==typeof e)Array.isArray(e)?l(e):i(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(e.plugins),e.settings&&(r.settings=a(!0,r.settings,e.settings))}function l(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)s(e,[]);else if("object"==typeof e){if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else i(e)}else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...l]=t,s=n[i][1];o(s)&&o(r)&&(r=a(!0,s,r)),n[i]=[e,r,...l]}}}}let d=new c().freeze();function p(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function m(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function f(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function h(e){if(!o(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function g(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function v(e){return e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new l.k(e)}},58292:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});let r=function(e){if(null==e)return i;if("function"==typeof e)return a(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=r(e[n]);return a(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):a(function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0});if("string"==typeof e)return a(function(t){return t&&t.type===e});throw Error("Expected function, string, or object as test")};function a(e){return function(t,n,r){var a;return!!(null!==(a=t)&&"object"==typeof a&&"type"in a&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function i(){return!0}},66666:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e?"position"in e||"type"in e?i(e.position):"start"in e||"end"in e?i(e):"line"in e||"column"in e?a(e):"":""}function a(e){return o(e&&e.line)+":"+o(e&&e.column)}function i(e){return a(e&&e.start)+"-"+a(e&&e.end)}function o(e){return e&&"number"==typeof e?e:1}n.d(t,{y:function(){return r}})},76134:function(e,t,n){"use strict";n.d(t,{BK:function(){return i},AM:function(){return o},S4:function(){return l}});var r=n(58292);let a=[],i=!1,o="skip";function l(e,t,n,l){let s;"function"==typeof t&&"function"!=typeof n?(l=n,n=t):s=t;let u=(0,r.O)(s),c=l?-1:1;(function e(r,s,d){let p=r&&"object"==typeof r?r:{};if("string"==typeof p.type){let e="string"==typeof p.tagName?p.tagName:"string"==typeof p.name?p.name:void 0;Object.defineProperty(m,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return m;function m(){var p;let m,f,h,g=a;if((!t||u(r,s,d[d.length-1]||void 0))&&(g=Array.isArray(p=n(r,d))?p:"number"==typeof p?[!0,p]:null==p?a:[p])[0]===i)return g;if("children"in r&&r.children&&r.children&&g[0]!==o)for(f=(l?r.children.length:-1)+c,h=d.concat(r);f>-1&&f<r.children.length;){if((m=e(r.children[f],f,h)())[0]===i)return m;f="number"==typeof m[1]?m[1]:f+c}return g}})(e,void 0,[])()}},46882:function(e,t,n){"use strict";n.d(t,{Vn:function(){return a}});var r=n(76134);function a(e,t,n,a){let i,o,l;"function"==typeof t&&"function"!=typeof n?(o=void 0,l=t,i=n):(o=t,l=n,i=a),(0,r.S4)(e,o,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return l(e,r,n)},i)}},20881:function(e,t,n){"use strict";n.d(t,{$:function(){return a}});var r=n(66666);
226class a extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let a="",i={},o=!1;if(t&&(i="line"in t&&"column"in t?{place:t}:"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?a=e:!i.cause&&e&&(o=!0,a=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let l=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file,this.message=a,this.line=l?l.line:void 0,this.name=(0,r.y)(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}a.prototype.file="",a.prototype.name="",a.prototype.reason="",a.prototype.message="",a.prototype.stack="",a.prototype.column=void 0,a.prototype.line=void 0,a.prototype.ancestors=void 0,a.prototype.cause=void 0,a.prototype.fatal=void 0,a.prototype.place=void 0,a.prototype.ruleId=void 0,a.prototype.source=void 0},10760:function(e,t,n){"use strict";n.d(t,{k:function(){return s}});var r=n(20881);let a={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');i(e);let r=0,a=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1);return a<0?"":e.slice(r,a)}if(t===e)return"";let l=-1,s=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else l<0&&(n=!0,l=o+1),s>-1&&(e.codePointAt(o)===t.codePointAt(s--)?s<0&&(a=o):(s=-1,a=l));return r===a?a=l:a<0&&(a=e.length),e.slice(r,a)},dirname:function(e){let t;if(i(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){let t;i(e);let n=e.length,r=-1,a=0,o=-1,l=0;for(;n--;){let i=e.codePointAt(n);if(47===i){if(t){a=n+1;break}continue}r<0&&(t=!0,r=n+1),46===i?o<0?o=n:1!==l&&(l=1):o>-1&&(l=-1)}return o<0||r<0||0===l||1===l&&o===r-1&&o===a+1?"":e.slice(o,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)i(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){i(e);let t=47===e.codePointAt(0),n=function(e,t){let n,r,a="",i=0,o=-1,l=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.codePointAt(s);else if(47===n)break;else n=47;if(47===n){if(o===s-1||1===l);else if(o!==s-1&&2===l){if(a.length<2||2!==i||46!==a.codePointAt(a.length-1)||46!==a.codePointAt(a.length-2)){if(a.length>2){if((r=a.lastIndexOf("/"))!==a.length-1){r<0?(a="",i=0):i=(a=a.slice(0,r)).length-1-a.lastIndexOf("/"),o=s,l=0;continue}}else if(a.length>0){a="",i=0,o=s,l=0;continue}}t&&(a=a.length>0?a+"/..":"..",i=2)}else a.length>0?a+="/"+e.slice(o+1,s):a=e.slice(o+1,s),i=s-o-1;o=s,l=0}else 46===n&&l>-1?l++:l=-1}return a}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function i(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function o(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let l=["history","path","basename","stem","extname","dirname"];class s{constructor(e){let t,n;t=e?o(e)?{path:e}:"string"==typeof e||e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e?{value:e}:e:{},this.cwd="/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<l.length;){let e=l[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)l.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?a.basename(this.path):void 0}set basename(e){c(e,"basename"),u(e,"basename"),this.path=a.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?a.dirname(this.path):void 0}set dirname(e){d(this.basename,"dirname"),this.path=a.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?a.extname(this.path):void 0}set extname(e){if(u(e,"extname"),d(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");
226if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=a.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){o(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!o(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),c(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?a.basename(this.path,this.extname):void 0}set stem(e){c(e,"stem"),u(e,"stem"),this.path=a.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let a=new r.$(e,t,n);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function u(e,t){if(e&&e.includes(a.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+a.sep+"`")}function c(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function d(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}},89341:function(e,t,n){"use strict";n.d(t,{YG:function(){return u},uY:function(){return a},ue:function(){return r}});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:"'"},a={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},i="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),o="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),l=0;l<10;l++)r[48+l]=r[96+l]=String(l);for(var l=1;l<=24;l++)r[l+111]="F"+l;for(var l=65;l<=90;l++)r[l]=String.fromCharCode(l+32),a[l]=String.fromCharCode(l);for(var s in r)a.hasOwnProperty(s)||(a[s]=r[s]);function u(e){var t=!(i&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||o&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?a: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}},66701:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});let r={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},68238:function(e,t,n){"use strict";let r;n.d(t,{ZP:function(){return ns},parse:function(){return no},stringify:function(){return nl}});var a={};n.r(a),n.d(a,{BOM:function(){return tQ},DOCUMENT:function(){return tH},FLOW_END:function(){return tq},SCALAR:function(){return tV},createScalarToken:function(){return tI},isCollection:function(){return tW},isScalar:function(){return tX},prettyToken:function(){return tY},resolveAsScalar:function(){return tP},setScalarValue:function(){return tN},stringify:function(){return tR},tokenType:function(){return tG},visit:function(){return tF}});var i={};n.r(i),n.d(i,{Alias:function(){return B},CST:function(){return a},Composer:function(){return t$},Document:function(){return to},Lexer:function(){return t8},LineCounter:function(){return t6},Pair:function(){return ey},Parser:function(){return nn},Scalar:function(){return F},Schema:function(){return ti},YAMLError:function(){return ts},YAMLMap:function(){return ek},YAMLParseError:function(){return tu},YAMLSeq:function(){return eS},YAMLWarning:function(){return tc},isAlias:function(){return m},isCollection:function(){return b},isDocument:function(){return f},isMap:function(){return h},isNode:function(){return O},isPair:function(){return g},isScalar:function(){return v},isSeq:function(){return y},parse:function(){return no},parseAllDocuments:function(){return na},parseDocument:function(){return ni},stringify:function(){return nl},visit:function(){return _},visitAsync:function(){return A}});let o=Symbol.for("yaml.alias"),l=Symbol.for("yaml.document"),s=Symbol.for("yaml.map"),u=Symbol.for("yaml.pair"),c=Symbol.for("yaml.scalar"),d=Symbol.for("yaml.seq"),p=Symbol.for("yaml.node.type"),m=e=>!!e&&"object"==typeof e&&e[p]===o,f=e=>!!e&&"object"==typeof e&&e[p]===l,h=e=>!!e&&"object"==typeof e&&e[p]===s,g=e=>!!e&&"object"==typeof e&&e[p]===u,v=e=>!!e&&"object"==typeof e&&e[p]===c,y=e=>!!e&&"object"==typeof e&&e[p]===d;function b(e){if(e&&"object"==typeof e)switch(e[p]){case s:case d:return!0}return!1}function O(e){if(e&&"object"==typeof e)switch(e[p]){case o:case s:case c:case d:return!0}return!1}let w=e=>(v(e)||b(e))&&!!e.anchor,k=Symbol("break visit"),x=Symbol("skip children"),S=Symbol("remove node");function _(e,t){let n=D(t);f(e)?E(null,e.contents,n,Object.freeze([e]))===S&&(e.contents=null):E(null,e,n,Object.freeze([]))}function E(e,t,n,r){let a=C(e,t,n,r);if(O(a)||g(a))return $(e,r,a),E(e,a,n,r);if("symbol"!=typeof a){if(b(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let a=E(e,t.items[e],n,r);if("number"==typeof a)e=a-1;else{if(a===k)return k;a===S&&(t.items.splice(e,1),e-=1)}}}else if(g(t)){r=Object.freeze(r.concat(t));let e=E("key",t.key,n,r);if(e===k)return k;e===S&&(t.key=null);let a=E("value",t.value,n,r);if(a===k)return k;a===S&&(t.value=null)}}return a}
226async function A(e,t){let n=D(t);f(e)?await T(null,e.contents,n,Object.freeze([e]))===S&&(e.contents=null):await T(null,e,n,Object.freeze([]))}async function T(e,t,n,r){let a=await C(e,t,n,r);if(O(a)||g(a))return $(e,r,a),T(e,a,n,r);if("symbol"!=typeof a){if(b(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let a=await T(e,t.items[e],n,r);if("number"==typeof a)e=a-1;else{if(a===k)return k;a===S&&(t.items.splice(e,1),e-=1)}}}else if(g(t)){r=Object.freeze(r.concat(t));let e=await T("key",t.key,n,r);if(e===k)return k;e===S&&(t.key=null);let a=await T("value",t.value,n,r);if(a===k)return k;a===S&&(t.value=null)}}return a}function D(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 C(e,t,n,r){return"function"==typeof n?n(e,t,r):h(t)?n.Map?.(e,t,r):y(t)?n.Seq?.(e,t,r):g(t)?n.Pair?.(e,t,r):v(t)?n.Scalar?.(e,t,r):m(t)?n.Alias?.(e,t,r):void 0}function $(e,t,n){let r=t[t.length-1];if(b(r))r.items[e]=n;else if(g(r))"key"===e?r.key=n:r.value=n;else if(f(r))r.contents=n;else{let e=m(r)?"alias":"scalar";throw Error(`Cannot replace node with ${e} parent`)}}_.BREAK=k,_.SKIP=x,_.REMOVE=S,A.BREAK=k,A.SKIP=x,A.REMOVE=S;let P={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},I=e=>e.replace(/[!,[\]{}]/g,e=>P[e]);class N{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},N.defaultYaml,e),this.tags=Object.assign({},N.defaultTags,t)}clone(){let e=new N(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new N(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:N.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},N.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:N.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},N.defaultTags),this.atNextDocument=!1);let n=e.trim().split(/[ \t]+/),r=n.shift();switch(r){case"%TAG":{if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;let[e,r]=n;return this.tags[e]=r,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1;let[e]=n;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;{let n=/^\d+\.\d+$/.test(e);return t(6,`Unsupported YAML version ${e}`,n),!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 n=e.slice(2,-1);return"!"===n||"!!"===n?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let a=this.tags[n];if(a)try{return a+decodeURIComponent(r)}catch(e){return t(String(e)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+I(e.substring(n.length));return"!"===e[0]?e:`!<${e}>`}toString(e){let t;let n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);if(e&&r.length>0&&O(e.contents)){let n={};_(e.contents,(e,t)=>{O(t)&&t.tag&&(n[t.tag]=!0)}),t=Object.keys(n)}else t=[];for(let[a,i]of r)("!!"!==a||"tag:yaml.org,2002:"!==i)&&(!e||t.some(e=>e.startsWith(i)))&&n.push(`%TAG ${a} ${i}`);return n.join("\n")}}function U(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 _(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function R(e,t){for(let n=1;;++n){let r=`${e}${n}`;if(!t.has(r))return r}}function j(e,t,n,r){if(r&&"object"==typeof r){if(Array.isArray(r))for(let t=0,n=r.length;t<n;++t){let n=r[t],a=j(e,r,String(t),n);void 0===a?delete r[t]:a!==n&&(r[t]=a)}else if(r instanceof Map)for(let t of Array.from(r.keys())){let n=r.get(t),a=j(e,r,t,n);void 0===a?r.delete(t):a!==n&&r.set(t,a)}else if(r instanceof Set)for(let t of Array.from(r)){let n=j(e,r,t,t);void 0===n?r.delete(t):n!==t&&(r.delete(t),r.add(n))}else for(let[t,n]of Object.entries(r)){let a=j(e,r,t,n);void 0===a?delete r[t]:a!==n&&(r[t]=a)}}return e.call(t,n,r)}function L(e,t,n){if(Array.isArray(e))return e.map((e,t)=>L(e,String(t),n));if(e&&"function"==typeof e.toJSON){if(!n||!w(e))return e.toJSON(t,n);let r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};let a=e.toJSON(t,n);return n.onCreate&&n.onCreate(a),a}return"bigint"!=typeof e||n?.keep?e:Number(e)}N.defaultYaml={explicit:!1,version:"1.2"},N.defaultTags={"!!":"tag:yaml.org,2002:"};class Z{constructor(e){Object.defineProperty(this,p,{value:e})}
226clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:a}={}){if(!f(e))throw TypeError("A document argument is required");let i={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},o=L(this,"",i);if("function"==typeof r)for(let{count:e,res:t}of i.anchors.values())r(t,e);return"function"==typeof a?j(a,{"":o},"",o):o}}class B extends Z{constructor(e){super(o),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(e,t){let n,r;for(let a of(t?.aliasResolveCache?n=t.aliasResolveCache:(n=[],_(e,{Node:(e,t)=>{(m(t)||w(t))&&n.push(t)}}),t&&(t.aliasResolveCache=n)),n)){if(a===this)break;a.anchor===this.source&&(r=a)}return r}toJSON(e,t){if(!t)return{source:this.source};let{anchors:n,doc:r,maxAliasCount:a}=t,i=this.resolve(r,t);if(!i)throw ReferenceError(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);let o=n.get(i);if(o||(L(i,null,t),o=n.get(i)),o?.res===void 0)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(a>=0&&(o.count+=1,0===o.aliasCount&&(o.aliasCount=function e(t,n,r){if(m(n)){let e=n.resolve(t),a=r&&e&&r.get(e);return a?a.count*a.aliasCount:0}if(b(n)){let a=0;for(let i of n.items){let n=e(t,i,r);n>a&&(a=n)}return a}return g(n)?Math.max(e(t,n.key,r),e(t,n.value,r)):1}(r,i,n)),o.count*o.aliasCount>a))throw ReferenceError("Excessive alias count indicates a resource exh
226austion attack");return o.res}toString(e,t,n){let r=`*${this.source}`;if(e){if(U(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 z=e=>!e||"function"!=typeof e&&"object"!=typeof e;class F extends Z{constructor(e){super(c),this.value=e}toJSON(e,t){return t?.keep?this.value:L(this.value,e,t)}toString(){return String(this.value)}}function Q(e,t,n){let r;if(f(e)&&(e=e.contents),O(e))return e;if(g(e)){let t=n.schema[s].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:a,onAnchor:i,onTagObj:o,schema:l,sourceObjects:u}=n;if(a&&e&&"object"==typeof e){if(r=u.get(e))return r.anchor??(r.anchor=i(e)),new B(r.anchor);r={anchor:null,node:null},u.set(e,r)}t?.startsWith("!!")&&(t="tag:yaml.org,2002:"+t.slice(2));let c=function(e,t,n){if(t){let e=n.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return n.find(t=>t.identify?.(e)&&!t.format)}(e,t,l.tags);if(!c){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){let t=new F(e);return r&&(r.node=t),t}c=e instanceof Map?l[s]:Symbol.iterator in Object(e)?l[d]:l[s]}o&&(o(c),delete n.onTagObj);let p=c?.createNode?c.createNode(n.schema,e,n):"function"==typeof c?.nodeClass?.from?c.nodeClass.from(n.schema,e,n):new F(e);return t?p.tag=t:c.default||(p.tag=c.tag),r&&(r.node=p),p}function H(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){let n=t[e];if("number"==typeof n&&Number.isInteger(n)&&n>=0){let e=[];e[n]=r,r=e}else r=new Map([[n,r]])}return Q(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}F.BLOCK_FOLDED="BLOCK_FOLDED",F.BLOCK_LITERAL="BLOCK_LITERAL",F.PLAIN="PLAIN",F.QUOTE_DOUBLE="QUOTE_DOUBLE",F.QUOTE_SINGLE="QUOTE_SINGLE";let q=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class V extends Z{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(q(e))this.add(t);else{let[n,...r]=e,a=this.get(n,!0);if(b(a))a.addIn(r,t);else if(void 0===a&&this.schema)this.set(n,H(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}deleteIn(e){let[t,...n]=e;if(0===n.length)return this.delete(t);let r=this.get(t,!0);if(b(r))return r.deleteIn(n);throw Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){let[n,...r]=e,a=this.get(n,!0);return 0===r.length?!t&&v(a)?a.value:a:b(a)?a.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!g(t))return!1;let n=t.value;return null==n||e&&v(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[t,...n]=e;if(0===n.length)return this.has(t);let r=this.get(t,!0);return!!b(r)&&r.hasIn(n)}setIn(e,t){let[n,...r]=e;if(0===r.length)this.set(n,t);else{let e=this.get(n,!0);if(b(e))e.setIn(r,t);else if(void 0===e&&this.schema)this.set(n,H(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}}let W=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function X(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}let Y=(e,t,n)=>e.endsWith("\n")?X(n,t):n.includes("\n")?"\n"+X(n,t):(e.endsWith(" ")?"":" ")+n,G="flow",K="block",J="quoted";function ee(e,t,n="flow",{indentAtStart:r,lineWidth:a=80,minContentWidth:i=20,onFold:o,onOverflow:l}={}){let s,u,c;if(!a||a<0)return e;a<i&&(i=0);let d=Math.max(1+i,1+a-t.length);if(e.length<=d)return e;let p=[],m={},f=a-t.length;"number"==typeof r&&(r>a-Math.max(2,i)?p.push(0):f=a-r);let h=!1,g=-1,v=-1,y=-1;for(n===K&&-1!==(g=et(e,g,t.length))&&(f=g+d);c=e[g+=1];){if(n===J&&"\\"===c){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"===c)n===K&&(g=et(e,g,t.length)),f=g+t.length+d,s=void 0;else{if(" "===c&&u&&" "!==u&&"\n"!==u&&" "!==u){let t=e[g+1];t&&" "!==t&&"\n"!==t&&" "!==t&&(s=g)}if(g>=f){if(s)p.push(s),f=s+d,s=void 0;else if(n===J){for(;" "===u||" "===u;)u=c,c=e[g+=1],h=!0;let t=g>y+1?g-2:v-1;if(m[t])return e;p.push(t),m[t]=!0,f=t+d,s=void 0}else h=!0}}u=c}if(h&&l&&l(),0===p.length)return e;o&&o();let b=e.slice(0,p[0]);for(let r=0;r<p.length;++r){let a=p[r],i=p[r+1]||e.length;0===a?b=` 227${t}${e.slice(0,i)}`:(n===J&&m[a]&&(b+=`${e[a]}\\`),b+=` 228${t}${e.slice(a+1,i)}`)}return b}function et(e,t,n){let r=t,a=t+1,i=e[a];for(;" "===i||" "===i;)if(t<a+n)i=e[++t];else{do i=e[++t];while(i&&"\n"!==i);r=t,i=e[a=t+1]}return r}let en=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}
228),er=e=>/^(%|---|\.\.\.)/m.test(e);function ea(e,t){let n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;let{implicitKey:r}=t,a=t.options.doubleQuotedMinMultiLineLength,i=t.indent||(er(e)?" ":""),o="",l=0;for(let e=0,t=n[e];t;t=n[++e])if(" "===t&&"\\"===n[e+1]&&"n"===n[e+2]&&(o+=n.slice(l,e)+"\\ ",e+=1,l=e,t="\\"),"\\"===t)switch(n[e+1]){case"u":{o+=n.slice(l,e);let t=n.substr(e+2,4);switch(t){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:"00"===t.substr(0,2)?o+="\\x"+t.substr(2):o+=n.substr(e,6)}e+=5,l=e+1}break;case"n":if(r||'"'===n[e+2]||n.length<a)e+=1;else{for(o+=n.slice(l,e)+"\n\n";"\\"===n[e+2]&&"n"===n[e+3]&&'"'!==n[e+4];)o+="\n",e+=2;o+=i," "===n[e+2]&&(o+="\\"),e+=1,l=e+1}break;default:e+=1}return o=l?o+n.slice(l):n,r?o:ee(o,i,J,en(t,!1))}function ei(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return ea(e,t);let n=t.indent||(er(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$& 229${n}`)+"'";return t.implicitKey?r:ee(r,n,G,en(t,!1))}function eo(e,t){let n;let{singleQuote:r}=t.options;if(!1===r)n=ea;else{let t=e.includes('"'),a=e.includes("'");n=t&&!a?ei:a&&!t?ea:r?ei:ea}return n(e,t)}try{r=RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{r=/\n+(?!\n|$)/g}function el({comment:e,type:t,value:n},a,i,o){let l,s,u;let{blockQuote:c,commentString:d,lineWidth:p}=a.options;if(!c||/\n[\t ]+$/.test(n))return eo(n,a);let m=a.indent||(a.forceBlockIndent||er(n)?" ":""),f="literal"===c||"folded"!==c&&t!==F.BLOCK_FOLDED&&(t===F.BLOCK_LITERAL||!function(e,t,n){if(!t||t<0)return!1;let r=t-n,a=e.length;if(a<=r)return!1;for(let t=0,n=0;t<a;++t)if("\n"===e[t]){if(t-n>r)return!0;if(a-(n=t+1)<=r)return!1}return!0}(n,p,m.length));if(!n)return f?"|\n":">\n";for(s=n.length;s>0;--s){let e=n[s-1];if("\n"!==e&&" "!==e&&" "!==e)break}let h=n.substring(s),g=h.indexOf("\n");-1===g?l="-":n===h||g!==h.length-1?(l="+",o&&o()):l="",h&&(n=n.slice(0,-h.length),"\n"===h[h.length-1]&&(h=h.slice(0,-1)),h=h.replace(r,`$&${m}`));let v=!1,y=-1;for(u=0;u<n.length;++u){let e=n[u];if(" "===e)v=!0;else if("\n"===e)y=u;else break}let b=n.substring(0,y<u?y+1:u);b&&(n=n.substring(b.length),b=b.replace(/\n+/g,`$&${m}`));let O=m?"2":"1",w=(v?O:"")+l;if(e&&(w+=" "+d(e.replace(/ ?[\r\n]+/g," ")),i&&i()),!f){let e=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${m}`),r=!1,i=en(a,!0);"folded"!==c&&t!==F.BLOCK_FOLDED&&(i.onOverflow=()=>{r=!0});let o=ee(`${b}${e}${h}`,m,K,i);if(!r)return`>${w} 230${m}${o}`}return n=n.replace(/\n+/g,`$&${m}`),`|${w} 231${m}${b}${n}${h}`}function es(e,t,n,r){let{implicitKey:a,inFlow:i}=t,o="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)}),{type:l}=e;l!==F.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(l=F.QUOTE_DOUBLE);let s=e=>{switch(e){case F.BLOCK_FOLDED:case F.BLOCK_LITERAL:return a||i?eo(o.value,t):el(o,t,n,r);case F.QUOTE_DOUBLE:return ea(o.value,t);case F.QUOTE_SINGLE:return ei(o.value,t);case F.PLAIN:return function(e,t,n,r){let{type:a,value:i}=e,{actualString:o,implicitKey:l,indent:s,indentStep:u,inFlow:c}=t;if(l&&i.includes("\n")||c&&/[[\]{},]/.test(i))return eo(i,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return l||c||!i.includes("\n")?eo(i,t):el(e,t,n,r);if(!l&&!c&&a!==F.PLAIN&&i.includes("\n"))return el(e,t,n,r);if(er(i)){if(""===s)return t.forceBlockIndent=!0,el(e,t,n,r);if(l&&s===u)return eo(i,t)}let d=i.replace(/\n+/g,`$& 232${s}`);if(o){let e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(d),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return eo(i,t)}return l?d:ee(d,s,G,en(t,!1))}(o,t,n,r);default:return null}},u=s(l);if(null===u){let{defaultKeyType:e,defaultStringType:n}=t.options,r=a&&e||n;if(null===(u=s(r)))throw Error(`Unsupported default string type ${r}`)}return u}function eu(e,t){let n;let r=Object.assign({blockQuote:!0,commentString:W,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":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:e,flowCollectionPadding:r.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof r.indent?" ".repeat(r.indent):" ",inFlow:n,options:r}}function ec(e,t,n,r){let a;if(g(e))return e.toString(t,n,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 i=O(e)?e:t.doc.createNode(e,{onTagObj:e=>a=e});a??(a=function(e,t){let n,r;if(t.tag){let n=e.filter(e=>e.tag===t.tag);if(n.length>0)return n.find(e=>e.format===t.format)??n[0]}if(v(t)){n=t.value;let a=e.filter(e=>e.identify?.(n));if(a.length>1){let e=a.filter(e=>e.test);e.length>0&&(a=e)}r=a.find(e=>e.format===t.format)??a.find(e=>!e.format)}else n=t,r=e.find(e=>e.nodeClass&&n instanceof e.nodeClass);if(!r){let e=n?.constructor?.name??(null===n?"null":typeof n);throw Error(`Tag not resolved for ${e} value`)}return r}(t.doc.schema.tags,i));let o=function(e,t,{anchors:n,doc:r}){if(!r.directives)return"";let a=[],i=(v(e)||b(e))&&e.anchor;i&&U(i)&&(n.add(i),a.push(`&${i}`));let o=e.tag??(t.default?null:t.tag);return o&&a.push(r.directives.tagString(o)),a.join(" ")}(i,a,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);let l="function"==typeof a.stringify?a.stringify(i,t,n,r):v(i)?es(i,t,n,r):i.toString(t,n,r);return o?v(i)||"{"===l[0]||"["===l[0]?`${o} ${l}`:`${o} 233${t.indent}${l}
233`:l}function ed(e,t){("debug"===e||"warn"===e)&&console.warn(t)}let ep={identify:e=>"<<"===e||"symbol"==typeof e&&"<<"===e.description,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new F(Symbol("<<")),{addToJSMap:ef}),stringify:()=>"<<"},em=(e,t)=>(ep.identify(t)||v(t)&&(!t.type||t.type===F.PLAIN)&&ep.identify(t.value))&&e?.doc.schema.tags.some(e=>e.tag===ep.tag&&e.default);function ef(e,t,n){if(y(n=e&&m(n)?n.resolve(e.doc):n))for(let r of n.items)eh(e,t,r);else if(Array.isArray(n))for(let r of n)eh(e,t,r);else eh(e,t,n)}function eh(e,t,n){let r=e&&m(n)?n.resolve(e.doc):n;if(!h(r))throw Error("Merge sources must be maps or map aliases");for(let[n,a]of r.toJSON(null,e,Map))t instanceof Map?t.has(n)||t.set(n,a):t instanceof Set?t.add(n):Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{value:a,writable:!0,enumerable:!0,configurable:!0});return t}function eg(e,t,{key:n,value:r}){if(O(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(em(e,n))ef(e,t,r);else{let a=L(n,"",e);if(t instanceof Map)t.set(a,L(r,a,e));else if(t instanceof Set)t.add(a);else{let i=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(O(e)&&n?.doc){let t=eu(n.doc,{});for(let e of(t.anchors=new Set,n.anchors.keys()))t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+'..."'),ed(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,a,e),o=L(r,i,e);i in t?Object.defineProperty(t,i,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[i]=o}}return t}function ev(e,t,n){return new ey(Q(e,void 0,n),Q(t,void 0,n))}class ey{constructor(e,t=null){Object.defineProperty(this,p,{value:u}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return O(t)&&(t=t.clone(e)),O(n)&&(n=n.clone(e)),new ey(t,n)}toJSON(e,t){let n=t?.mapAsMap?new Map:{};return eg(t,n,this)}toString(e,t,n){return e?.doc?function({key:e,value:t},n,r,a){let i,o,l;let{allNullValues:s,doc:u,indent:c,indentStep:d,options:{commentString:p,indentSeq:m,simpleKeys:f}}=n,h=O(e)&&e.comment||null;if(f){if(h)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=!f&&(!e||h&&null==t&&!n.inFlow||b(e)||(v(e)?e.type===F.BLOCK_FOLDED||e.type===F.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!g&&(f||!s),indent:c+d});let w=!1,k=!1,x=ec(e,n,()=>w=!0,()=>k=!0);if(!g&&!n.inFlow&&x.length>1024){if(f)throw Error("With simple keys, single line scalar must not span more than 1024 characters");g=!0}if(n.inFlow){if(s||null==t)return w&&r&&r(),""===x?"?":g?`? ${x}`:x}else if(s&&!f||null==t&&g)return x=`? ${x}`,h&&!w?x+=Y(x,n.indent,p(h)):k&&a&&a(),x;w&&(h=null),g?(h&&(x+=Y(x,n.indent,p(h))),x=`? ${x} 234${c}:`):(x=`${x}:`,h&&(x+=Y(x,n.indent,p(h)))),O(t)?(i=!!t.spaceBefore,o=t.commentBefore,l=t.comment):(i=!1,o=null,l=null,t&&"object"==typeof t&&(t=u.createNode(t))),n.implicitKey=!1,!g&&!h&&v(t)&&(n.indentAtStart=x.length+1),k=!1,!(!m&&d.length>=2&&!n.inFlow&&!g&&y(t))||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let S=!1,_=ec(t,n,()=>S=!0,()=>k=!0),E=" ";if(h||i||o){if(E=i?"\n":"",o){let e=p(o);E+=` 235${X(e,n.indent)}`}""!==_||n.inFlow?E+=` 236${n.indent}`:"\n"===E&&l&&(E="\n\n")}else if(!g&&b(t)){let e=_[0],r=_.indexOf("\n"),a=-1!==r,i=n.inFlow??t.flow??0===t.items.length;if(a||!i){let t=!1;if(a&&("&"===e||"!"===e)){let n=_.indexOf(" ");"&"===e&&-1!==n&&n<r&&"!"===_[n+1]&&(n=_.indexOf(" ",n+1)),(-1===n||r<n)&&(t=!0)}t||(E=` 237${n.indent}`)}}else(""===_||"\n"===_[0])&&(E="");return x+=E+_,n.inFlow?S&&r&&r():l&&!S?x+=Y(x,n.indent,p(l)):k&&a&&a(),x}(this,e,t,n):JSON.stringify(this)}}function eb(e,t,n){return(t.inFlow??e.flow?function({items:e},t,{flowChars:n,itemIndent:r}){let{indent:a,indentStep:i,flowCollectionPadding:o,options:{commentString:l}}=t,s=Object.assign({},t,{indent:r+=i,inFlow:!0,type:null}),u=!1,c=0,d=[];for(let n=0;n<e.length;++n){let a=e[n],i=null;if(O(a))a.spaceBefore&&d.push(""),eO(t,d,a.commentBefore,!1),a.comment&&(i=a.comment);else if(g(a)){let e=O(a.key)?a.key:null;e&&(e.spaceBefore&&d.push(""),eO(t,d,e.commentBefore,!1),e.comment&&(u=!0));let n=O(a.value)?a.value:null;n?(n.comment&&(i=n.comment),n.commentBefore&&(u=!0)):null==a.value&&e?.comment&&(i=e.comment)}i&&(u=!0);let o=ec(a,s,()=>i=null);u||(u=d.length>c||o.includes("\n")),n<e.length-1?o+=",":t.options.trailingComma&&(t.options.lineWidth>0&&(u||(u=d.reduce((e,t)=>
237e+t.length+2,2)+(o.length+2)>t.options.lineWidth)),u&&(o+=",")),i&&(o+=Y(o,r,l(i))),d.push(o),c=d.length}let{start:p,end:m}=n;if(0===d.length)return p+m;if(!u){let e=d.reduce((e,t)=>e+t.length+2,2);u=t.options.lineWidth>0&&e>t.options.lineWidth}if(!u)return`${p}${o}${d.join(" ")}${o}${m}`;{let e=p;for(let t of d)e+=t?` 238${i}${a}${t}`:"\n";return`${e} 239${a}${m}`}}:function({comment:e,items:t},n,{blockItemPrefix:r,flowChars:a,itemIndent:i,onChompKeep:o,onComment:l}){let s;let{indent:u,options:{commentString:c}}=n,d=Object.assign({},n,{indent:i,type:null}),p=!1,m=[];for(let e=0;e<t.length;++e){let a=t[e],o=null;if(O(a))!p&&a.spaceBefore&&m.push(""),eO(n,m,a.commentBefore,p),a.comment&&(o=a.comment);else if(g(a)){let e=O(a.key)?a.key:null;e&&(!p&&e.spaceBefore&&m.push(""),eO(n,m,e.commentBefore,p))}p=!1;let l=ec(a,d,()=>o=null,()=>p=!0);o&&(l+=Y(l,i,c(o))),p&&o&&(p=!1),m.push(r+l)}if(0===m.length)s=a.start+a.end;else{s=m[0];for(let e=1;e<m.length;++e){let t=m[e];s+=t?` 240${u}${t}`:"\n"}}return e?(s+="\n"+X(c(e),u),l&&l()):p&&o&&o(),s})(e,t,n)}function eO({indent:e,options:{commentString:t}},n,r,a){if(r&&a&&(r=r.replace(/^\n+/,"")),r){let a=X(t(r),e);n.push(a.trimStart())}}function ew(e,t){let n=v(t)?t.value:t;for(let r of e)if(g(r)&&(r.key===t||r.key===n||v(r.key)&&r.key.value===n))return r}class ek extends V{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(s,e),this.items=[]}static from(e,t,n){let{keepUndefined:r,replacer:a}=n,i=new this(e),o=(e,o)=>{if("function"==typeof a)o=a.call(t,e,o);else if(Array.isArray(a)&&!a.includes(e))return;(void 0!==o||r)&&i.items.push(ev(e,o,n))};if(t instanceof Map)for(let[e,n]of t)o(e,n);else if(t&&"object"==typeof t)for(let e of Object.keys(t))o(e,t[e]);return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i}add(e,t){let n;n=g(e)?e:e&&"object"==typeof e&&"key"in e?new ey(e.key,e.value):new ey(e,e?.value);let r=ew(this.items,n.key),a=this.schema?.sortMapEntries;if(r){if(!t)throw Error(`Key ${n.key} already set`);v(r.value)&&z(n.value)?r.value.value=n.value:r.value=n.value}else if(a){let e=this.items.findIndex(e=>0>a(n,e));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){let t=ew(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let n=ew(this.items,e),r=n?.value;return(!t&&v(r)?r.value:r)??void 0}has(e){return!!ew(this.items,e)}set(e,t){this.add(new ey(e,t),!0)}toJSON(e,t,n){let r=n?new n:t?.mapAsMap?new Map:{};for(let e of(t?.onCreate&&t.onCreate(r),this.items))eg(t,r,e);return r}toString(e,t,n){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})),eb(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}let ex={collection:"map",default:!0,nodeClass:ek,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(h(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>ek.from(e,t,n)};class eS extends V{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=e_(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){let n=e_(e);if("number"!=typeof n)return;let r=this.items[n];return!t&&v(r)?r.value:r}has(e){let t=e_(e);return"number"==typeof t&&t<this.items.length}set(e,t){let n=e_(e);if("number"!=typeof n)throw Error(`Expected a valid index, not ${e}.`);let r=this.items[n];v(r)&&z(t)?r.value=t:this.items[n]=t}toJSON(e,t){let n=[];t?.onCreate&&t.onCreate(n);let r=0;for(let e of this.items)n.push(L(e,String(r++),t));return n}toString(e,t,n){return e?eb(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:t}):JSON.stringify(this)}static from(e,t,n){let{replacer:r}=n,a=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let i of t){if("function"==typeof r){let n=t instanceof Set?i:String(e++);i=r.call(t,n,i)}a.items.push(Q(i,void 0,n))}}return a}}function e_(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 eE={collection:"seq",default:!0,nodeClass:eS,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>
240(y(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>eS.from(e,t,n)},eA={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,r)=>es(e,t=Object.assign({actualString:!0},t),n,r)},eT={identify:e=>null==e,createNode:()=>new F(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new F(null),stringify:({source:e},t)=>"string"==typeof e&&eT.test.test(e)?e:t.options.nullStr},eD={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new F("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},n)=>e&&eD.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?n.options.trueStr:n.options.falseStr};function eC({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);let a="number"==typeof r?r:Number(r);if(!isFinite(a))return isNaN(a)?".nan":a<0?"-.inf":".inf";let i=Object.is(r,-0)?"-0":JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(i)){let e=i.indexOf(".");e<0&&(e=i.length,i+=".");let n=t-(i.length-e-1);for(;n-- >0;)i+="0"}return i}let e$={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]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:eC},eP={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():eC(e)}},eI={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 F(parseFloat(e)),n=e.indexOf(".");return -1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:eC},eN=e=>"bigint"==typeof e||Number.isInteger(e),eU=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function eM(e,t,n){let{value:r}=e;return eN(r)&&r>=0?n+r.toString(t):eC(e)}let eR={identify:e=>eN(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>eU(e,2,8,n),stringify:e=>eM(e,8,"0o")},ej={identify:eN,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>eU(e,0,10,n),stringify:eC},eL={identify:e=>eN(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>eU(e,2,16,n),stringify:e=>eM(e,16,"0x")},eZ=[ex,eE,eA,eT,eD,eR,ej,eL,e$,eP,eI];function eB(e){return"bigint"==typeof e||Number.isInteger(e)}let ez=({value:e})=>JSON.stringify(e),eF=[ex,eE].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:ez},{identify:e=>null==e,createNode:()=>new F(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:ez},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>"true"===e,stringify:ez},{identify:eB,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>eB(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:ez}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),eQ={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,"")),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}},stringify({comment:e,type:t,value:n},r,a,i){let o;if(!n)return"";if("function"==typeof btoa){let e="";for(let t=0;t<n.length;++t)e+=String.fromCharCode(n[t]);o=btoa(e)}else throw Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=F.BLOCK_LITERAL),t!==F.QUOTE_DOUBLE){let e=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),n=Math.ceil(o.length/e),a=Array(n);for(let t=0,r=0;t<n;++t,r+=e)a[t]=o.substr(r,e);o=a.join(t===F.BLOCK_LITERAL?"\n":" ")}return es({comment:e,type:t,value:o},r,a,i)}};function eH(e,t){if(y(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!g(r)){if(h(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");let e=r.items[0]||new ey(new F(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore} 241${e.key.commentBefore}`:r.commentBefore),r.comment){let t=e.value??e.key;t.comment=t.comment?`${r.comment} 242${t.comment}`:r.comment}r=e}e.items[n]=g(r)?r:new ey(r)}}else t("Expected a sequence for this tag");return e}function eq(e,t,n){let{replacer:r}=n,a=new eS(e);a.tag="tag:yaml.org,2002:pairs";let i=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let o,l;if("function"==typeof r&&(e=r.call(t,String(i++),e)),Array.isArray(e)){if(2===e.length)o=e[0],l=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)l=e[o=t[0]];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else o=e;a.items.push(ev(o,l,n))}return a}let eV={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:eH,createNode:eq};class eW extends eS{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=eW.tag}toJSON(e,t){if(!t)return super.toJSON(e);let n=new Map;for(let e of(t?.onCreate&&t.onCreate(n),this.items)){let r,a;
242if(g(e)?(r=L(e.key,"",t),a=L(e.value,r,t)):r=L(e,"",t),n.has(r))throw Error("Ordered maps must not include duplicate keys");n.set(r,a)}return n}static from(e,t,n){let r=eq(e,t,n),a=new this;return a.items=r.items,a}}eW.tag="tag:yaml.org,2002:omap";let eX={collection:"seq",identify:e=>e instanceof Map,nodeClass:eW,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let n=eH(e,t),r=[];for(let{key:e}of n.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 eW,n)},createNode:(e,t,n)=>eW.from(e,t,n)};function eY({value:e,source:t},n){return t&&(e?eG:eK).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}let eG={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 F(!0),stringify:eY},eK={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 F(!1),stringify:eY},eJ=e=>"bigint"==typeof e||Number.isInteger(e);function e0(e,t,n,{intAsBigInt:r}){let a=e[0];if(("-"===a||"+"===a)&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}let t=BigInt(e);return"-"===a?BigInt(-1)*t:t}let i=parseInt(e,n);return"-"===a?-1*i:i}function e1(e,t,n){let{value:r}=e;if(eJ(r)){let e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return eC(e)}class e2 extends ek{constructor(e){super(e),this.tag=e2.tag}add(e){let t;t=g(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new ey(e.key,null):new ey(e,null),ew(this.items,t.key)||this.items.push(t)}get(e,t){let n=ew(this.items,e);return!t&&g(n)?v(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let n=ew(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new ey(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw Error("Set items must all have null values")}static from(e,t,n){let{replacer:r}=n,a=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof r&&(e=r.call(t,e,e)),a.items.push(ev(e,null,n));return a}}e2.tag="tag:yaml.org,2002:set";let e4={collection:"map",identify:e=>e instanceof Set,nodeClass:e2,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>e2.from(e,t,n),resolve(e,t){if(h(e)){if(e.hasAllNullValues(!0))return Object.assign(new e2,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function e8(e,t){let n=e[0],r="-"===n||"+"===n?e.substring(1):e,a=e=>t?BigInt(e):Number(e),i=r.replace(/_/g,"").split(":").reduce((e,t)=>e*a(60)+a(t),a(0));return"-"===n?a(-1)*i:i}function e6(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return eC(e);let r="";t<0&&(r="-",t*=n(-1));let a=n(60),i=[t%a];return t<60?i.unshift(0):(t=(t-i[0])/a,i.unshift(t%a),t>=60&&(t=(t-i[0])/a,i.unshift(t))),r+i.map(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:n})=>e8(e,n),stringify:e6},e5={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=>e8(e,!1),stringify:e6},e7={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(e7.test);if(!t)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,n,r,a,i,o,l]=t.map(Number),s=Date.UTC(n,r-1,a,i||0,o||0,l||0,t[7]?Number((t[7]+"00").substr(1,3)):0),u=t[8];if(u&&"Z"!==u){let e=e8(u,!1);30>Math.abs(e)&&(e*=60),s-=6e4*e}return new Date(s)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""},e9=[ex,eE,eA,eT,eG,eK,{identify:eJ,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n
242)=>e0(e,2,2,n),stringify:e=>e1(e,2,"0b")},{identify:eJ,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>e0(e,1,8,n),stringify:e=>e1(e,8,"0")},{identify:eJ,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>e0(e,0,10,n),stringify:eC},{identify:eJ,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>e0(e,2,16,n),stringify:e=>e1(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]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:eC},{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():eC(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 F(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){let r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:eC},eQ,ep,eX,eV,e4,e3,e5,e7],te=new Map([["core",eZ],["failsafe",[ex,eE,eA]],["json",eF],["yaml11",e9],["yaml-1.1",e9]]),tt={binary:eQ,bool:eD,float:eI,floatExp:eP,floatNaN:e$,floatTime:e5,int:ej,intHex:eL,intOct:eR,intTime:e3,map:ex,merge:ep,null:eT,omap:eX,pairs:eV,seq:eE,set:e4,timestamp:e7},tn={"tag:yaml.org,2002:binary":eQ,"tag:yaml.org,2002:merge":ep,"tag:yaml.org,2002:omap":eX,"tag:yaml.org,2002:pairs":eV,"tag:yaml.org,2002:set":e4,"tag:yaml.org,2002:timestamp":e7};function tr(e,t,n){let r=te.get(t);if(r&&!e)return n&&!r.includes(ep)?r.concat(ep):r.slice();let a=r;if(!a){if(Array.isArray(e))a=[];else{let e=Array.from(te.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)a=a.concat(t);else"function"==typeof e&&(a=e(a.slice()));return n&&(a=a.concat(ep)),a.reduce((e,t)=>{let n="string"==typeof t?tt[t]:t;if(!n){let e=JSON.stringify(t),n=Object.keys(tt).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown custom tag ${e}; use one of ${n}`)}return e.includes(n)||e.push(n),e},[])}let ta=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class ti{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:a,sortMapEntries:i,toStringDefaults:o}){this.compat=Array.isArray(e)?tr(e,"compat"):e?tr(null,e):null,this.name="string"==typeof a&&a||"core",this.knownTags=r?tn:{},this.tags=tr(t,this.name,n),this.toStringOptions=o??null,Object.defineProperty(this,s,{value:ex}),Object.defineProperty(this,c,{value:eA}),Object.defineProperty(this,d,{value:eE}),this.sortMapEntries="function"==typeof i?i:!0===i?ta:null}clone(){let e=Object.create(ti.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class to{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,p,{value:l});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);let a=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},n);this.options=a;let{version:i}=a;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(i=this.directives.yaml.version)):this.directives=new N({version:i}),this.setSchema(i,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){let e=Object.create(to.prototype,{[p]:{value:l}});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 n=M(this);e.anchor=!t||n.has(t)?R(t||"a",n):t}return new B(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=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)),r=t}else void 0===n&&t&&(n=t,t=void 0);let{aliasDuplicateObjects:a,anchorPrefix:i,flow:o,keepUndefined:l,onTagObj:s,tag:u}=n??{},{onAnchor:c,setAnchors:d,sourceObjects:p}=function(e,t){let n=[],r=new Map,a=null;return{onAnchor:r=>{n.push(r),a??(a=M(e));let i=R(t,a);return a.add(i),i},setAnchors:()=>{for(let e of n){let t=r.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:r}}(this,i||"a"),m={aliasDuplicateObjects:a??!0,keepUndefined:l??!1,onAnchor:c,onTagObj:s,replacer:r,
242schema:this.schema,sourceObjects:p},f=Q(e,u,m);return o&&b(f)&&(f.flow=!0),d(),f}createPair(e,t,n={}){return new ey(this.createNode(e,null,n),this.createNode(t,null,n))}delete(e){return!!tl(this.contents)&&this.contents.delete(e)}deleteIn(e){return q(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 q(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 q(e)?void 0!==this.contents:!!b(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=H(this.schema,[e],t):tl(this.contents)&&this.contents.set(e,t)}setIn(e,t){q(e)?this.contents=t:null==this.contents?this.contents=H(this.schema,Array.from(e),t):tl(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new N({version:"1.1"}),n={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new N({version:e}),n={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=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(n)this.schema=new ti(Object.assign(n,t));else throw Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:a,reviver:i}={}){let o={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},l=L(this.contents,t??"",o);if("function"==typeof a)for(let{count:e,res:t}
242of o.anchors.values())a(t,e);return"function"==typeof i?j(i,{"":l},"",l):l}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 n=[],r=!0===t.directives;if(!1!==t.directives&&e.directives){let t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");let a=eu(e,t),{commentString:i}=a.options;if(e.commentBefore){1!==n.length&&n.unshift("");let t=i(e.commentBefore);n.unshift(X(t,""))}let o=!1,l=null;if(e.contents){if(O(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){let t=i(e.contents.commentBefore);n.push(X(t,""))}a.forceBlockIndent=!!e.comment,l=e.contents.comment}let t=l?void 0:()=>o=!0,s=ec(e.contents,a,()=>l=null,t);l&&(s+=Y(s,"",i(l))),("|"===s[0]||">"===s[0])&&"---"===n[n.length-1]?n[n.length-1]=`--- ${s}`:n.push(s)}else n.push(ec(e.contents,a));if(e.directives?.docEnd){if(e.comment){let t=i(e.comment);t.includes("\n")?(n.push("..."),n.push(X(t,""))):n.push(`... ${t}`)}else n.push("...")}else{let t=e.comment;t&&o&&(t=t.replace(/^\n+/,"")),t&&((!o||l)&&""!==n[n.length-1]&&n.push(""),n.push(X(i(t),"")))}return n.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,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class tu extends ts{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class tc extends ts{constructor(e,t,n){super("YAMLWarning",e,t,n)}}let td=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map(e=>t.linePos(e));let{line:r,col:a}=n.linePos[0];n.message+=` at line ${r}, column ${a}`;let i=a-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&o.length>80){let e=Math.min(i-39,o.length-79);o="â¦"+o.substring(e),i-=e-1}if(o.length>80&&(o=o.substring(0,79)+"â¦"),r>1&&/^ *$/.test(o.substring(0,i))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"â¦\n"),o=n+o}if(/[^ ]/.test(o)){let e=1,t=n.linePos[1];t?.line===r&&t.col>a&&(e=Math.max(1,Math.min(t.col-a,80-i)));let l=" ".repeat(i)+"^".repeat(e);n.message+=`: 243 244${o} 245${l} 246`}};function tp(e,{flow:t,indicator:n,next:r,offset:a,onError:i,parentIndent:o,startOnNewline:l}){let s=!1,u=l,c=l,d="",p="",m=!1,f=!1,h=null,g=null,v=null,y=null,b=null,O=null,w=null;for(let a of e)switch(f&&("space"!==a.type&&"newline"!==a.type&&"comma"!==a.type&&i(a.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),f=!1),h&&(u&&"comment"!==a.type&&"newline"!==a.type&&i(h,"TAB_AS_INDENT","Tabs are not allowed as indentation"),h=null),a.type){case"space":!t&&("doc-start"!==n||r?.type!=="flow-collection")&&a.source.includes(" ")&&(h=a),c=!0;break;case"comment":{c||i(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let e=a.source.substring(1)||" ";d?d+=p+e:d=e,p="",u=!1;break}case"newline":u?d?d+=a.source:O&&"seq-item-ind"===n||(s=!0):p+=a.source,u=!0,m=!0,(g||v)&&(y=a),c=!0;break;case"anchor":g&&i(a,"MULTIPLE_ANCHORS","A node can have at most one anchor"),a.source.endsWith(":")&&i(a.offset+a.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=a,w??(w=a.offset),u=!1,c=!1,f=!0;break;case"tag":v&&i(a,"MULTIPLE_TAGS","A node can have at most one tag"),v=a,w??(w=a.offset),u=!1,c=!1,f=!0;break;case n:(g||v)&&i(a,"BAD_PROP_ORDER",`Anchors and tags must be after the ${a.source} indicator`),O&&i(a,"UNEXPECTED_TOKEN",`Unexpected ${a.source} in ${t??"collection"}`),O=a,u="seq-item-ind"===n||"explicit-key-ind"===n,c=!1;break;case"comma":if(t){b&&i(a,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),b=a,u=!1,c=!1;break}default:i(a,"UNEXPECTED_TOKEN",`Unexpected ${a.type} token`),u=!1,c=!1}let k=e[e.length-1],x=k?k.offset+k.source.length:a;return f&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),h&&(u&&h.indent<=o||r?.type==="block-map"||r?.type==="block-seq")&&i(h,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:b,foun
246d:O,spaceBefore:s,comment:d,hasNewline:m,anchor:g,tag:v,newlineAfterProp:y,end:x,start:w??x}}function tm(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(tm(t.key)||tm(t.value))return!0}return!1;default:return!0}}function tf(e,t,n){if(t?.type==="flow-collection"){let r=t.end[0];r.indent===e&&("]"===r.source||"}"===r.source)&&tm(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function th(e,t,n){let{uniqueKeys:r}=e.options;if(!1===r)return!1;let a="function"==typeof r?r:(e,t)=>e===t||v(e)&&v(t)&&e.value===t.value;return t.some(e=>a(e.key,n))}let tg="All mapping items must start at the same column";function tv(e,t,n,r){let a="";if(e){let i=!1,o="";for(let l of e){let{source:e,type:s}=l;switch(s){case"space":i=!0;break;case"comment":{n&&!i&&r(l,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let t=e.substring(1)||" ";a?a+=o+t:a=t,o="";break}case"newline":a&&(o+=e),i=!0;break;default:r(l,"UNEXPECTED_TOKEN",`Unexpected ${s} at node end`)}t+=e.length}}return{comment:a,offset:t}}let ty="Block collections are not allowed within flow collections",tb=e=>e&&("block-map"===e.type||"block-seq"===e.type);function tO(e,t,n,r,a,i){let o="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,a,i){let o=new(i?.nodeClass??ek)(n.schema);n.atRoot&&(n.atRoot=!1);let l=r.offset,s=null;for(let i of r.items){let{start:u,key:c,sep:d,value:p}=i,m=tp(u,{indicator:"explicit-key-ind",next:c??d?.[0],offset:l,onError:a,parentIndent:r.indent,startOnNewline:!0}),f=!m.found;if(f){if(c&&("block-seq"===c.type?a(l,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in c&&c.indent!==r.indent&&a(l,"BAD_INDENT",tg)),!m.anchor&&!m.tag&&!d){s=m.end,m.comment&&(o.comment?o.comment+="\n"+m.comment:o.comment=m.comment);continue}(m.newlineAfterProp||tm(c))&&a(c??u[u.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else m.found?.indent!==r.indent&&a(l,"BAD_INDENT",tg);n.atKey=!0;let h=m.end,g=c?e(n,c,m,a):t(n,h,u,null,m,a);n.schema.compat&&tf(r.indent,c,a),n.atKey=!1,th(n,o.items,g)&&a(h,"DUPLICATE_KEY","Map keys must be unique");let v=tp(d??[],{indicator:"map-value-ind",next:p,offset:g.range[2],onError:a,parentIndent:r.indent,startOnNewline:!c||"block-scalar"===c.type});if(l=v.end,v.found){f&&(p?.type!=="block-map"||v.hasNewline||a(l,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&m.start<v.found.offset-1024&&a(g.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let s=p?e(n,p,v,a):t(n,l,d,null,v,a);n.schema.compat&&tf(r.indent,p,a),l=s.range[2];let u=new ey(g,s);n.options.keepSourceTokens&&(u.srcToken=i),o.items.push(u)}else{f&&a(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 ey(g);n.options.keepSourceTokens&&(e.srcToken=i),o.items.push(e)}}return s&&s<l&&a(s,"IMPOSSIBLE","Map comment with trailing content"),o.range=[r.offset,l,s??l],o}(e,t,n,r,i):"block-seq"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,a,i){let o=new(i?.nodeClass??eS)(n.schema);n.atRoot&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let l=r.offset,s=null;for(let{start:i,value:u}of r.items){let c=tp(i,{indicator:"seq-item-ind",next:u,offset:l,onError:a,parentIndent:r.indent,startOnNewline:!0});if(!c.found){if(c.anchor||c.tag||u)u?.type==="block-seq"?a(c.end,"BAD_INDENT","All sequence items must start at the same column"):a(l,"MISSING_CHAR","Sequence item without - indicator");else{s=c.end,c.comment&&(o.comment=c.comment);continue}}let d=u?e(n,u,c,a):t(n,c.end,i,null,c,a);n.schema.compat&&tf(r.indent,u,a),l=d.range[2],o.items.push(d)}return o.range=[r.offset,l,s??l],o}(e,t,n,r,i):function({composeNode:e,composeEmptyNode:t},n,r,a,i){let o="{"===r.start.source,l=o?"flow map":"flow sequence",s=new(i?.nodeClass??
246(o?ek:eS))(n.schema);s.flow=!0;let u=n.atRoot;u&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let c=r.offset+r.start.source.length;for(let i=0;i<r.items.length;++i){let u=r.items[i],{start:d,key:p,sep:m,value:f}=u,h=tp(d,{flow:l,indicator:"explicit-key-ind",next:p??m?.[0],offset:c,onError:a,parentIndent:r.indent,startOnNewline:!1});if(!h.found){if(!h.anchor&&!h.tag&&!m&&!f){0===i&&h.comma?a(h.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${l}`):i<r.items.length-1&&a(h.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${l}`),h.comment&&(s.comment?s.comment+="\n"+h.comment:s.comment=h.comment),c=h.end;continue}!o&&n.options.strict&&tm(p)&&a(p,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===i)h.comma&&a(h.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${l}`);else if(h.comma||a(h.start,"MISSING_CHAR",`Missing , between ${l} items`),h.comment){let e="";a:for(let t of d)switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break a;default:break a}if(e){let t=s.items[s.items.length-1];g(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,h.comment=h.comment.substring(e.length+1)}}if(o||m||h.found){n.atKey=!0;let i=h.end,g=p?e(n,p,h,a):t(n,i,d,null,h,a);tb(p)&&a(g.range,"BLOCK_IN_FLOW",ty),n.atKey=!1;let v=tp(m??[],{flow:l,indicator:"map-value-ind",next:f,offset:g.range[2],onError:a,parentIndent:r.indent,startOnNewline:!1});if(v.found){if(!o&&!h.found&&n.options.strict){if(m)for(let e of m){if(e===v.found)break;if("newline"===e.type){a(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}h.start<v.found.offset-1024&&a(v.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else f&&("source"in f&&f.source?.[0]===":"?a(f,"MISSING_CHAR",`Missing space after : in ${l}`):a(v.start,"MISSING_CHAR",`Missing , or : between ${l} items`));let y=f?e(n,f,v,a):v.found?t(n,v.end,m,null,v,a):null;y?tb(f)&&a(y.range,"BLOCK_IN_FLOW",ty):v.comment&&(g.comment?g.comment+="\n"+v.comment:g.comment=v.comment);let b=new ey(g,y);if(n.options.keepSourceTokens&&(b.srcToken=u),o)th(n,s.items,g)&&a(i,"DUPLICATE_KEY","Map keys must be unique"),s.items.push(b);else{let e=new ek(n.schema);e.flow=!0,e.items.push(b);let t=(y??g).range;e.range=[g.range[0],t[1],t[2]],s.items.push(e)}c=y?y.range[2]:v.end}else{let r=f?e(n,f,h,a):t(n,h.end,m,null,h,a);s.items.push(r),c=r.range[2],tb(f)&&a(r.range,"BLOCK_IN_FLOW",ty)}}let d=o?"}":"]",[p,...m]=r.end,f=c;if(p?.source===d)f=p.offset+p.source.length;else{let e=l[0].toUpperCase()+l.substring(1),t=u?`${e} must end with a ${d}`:`${e} in block collection must be sufficiently indented and end with a ${d}`;a(c,u?"MISSING_CHAR":"BAD_INDENT",t),p&&1!==p.source.length&&m.unshift(p)}if(m.length>0){let e=tv(m,f,n.options.strict,a);e.comment&&(s.comment?s.comment+="\n"+e.comment:s.comment=e.comment),s.range=[r.offset,f,e.offset]}else s.range=[r.offset,f,f];return s}(e,t,n,r,i),l=o.constructor;return"!"===a||a===l.tagName?o.tag=l.tagName:a&&(o.tag=a),o}function tw(e,t,n){let r=t.offset,a=function({offset:e,props:t},n,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:a}=t[0],i=a[0],o=0,l="",s=-1;for(let t=1;t<a.length;++t){let n=a[t];if(l||"-"!==n&&"+"!==n){let r=Number(n);!o&&r?o=r:-1===s&&(s=e+t)}else l=n}-1!==s&&r(s,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${a}`);let u=!1,c="",d=a.length;for(let e=1;e<t.length;++e){let a=t[e];switch(a.type){case"space":u=!0;case"newline":d+=a.source.length;break;case"comment":n&&!u&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),d+=a.source.length,c=a.source.substring(1);break;case"error":r(a,"UNEXPECTED_TOKEN",a.message),d+=a.source.length;break;default:{let e=`Unexpected token in block scalar header: ${a.type}`;r(a,"UNEXPECTED_TOKEN",e);let t=a.source;t&&"string"==typeof t&&(d+=t.length)}}}return{mode:i,indent:o,chomp:l,comment:c,length:d}}(t,e.options.strict,n);if(!a)return{value:"",type:null,comment:"",range:[r,r,r]};let i=">"===a.mode?F.BLOCK_FOLDED:F.BLOCK_LITERAL,o=t.source?function(e){let t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),a=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let e=1;e<t.length;e+=2)a.push([t[e],t[e+1]]);return a}(t.source):[],l=o.length;for(let e=o.length-1;e>=0;--e){let t=o[e][1];if(""===t||"\r"===t)l=e;else break}if(0===l){let e="+"===a.chomp&&o.length>0?"\n".repeat(Math.max(1,o.length-1)):"",n=r+a.length;return t.source&&(n+=t.source.length),{value:e,type:i,comment:a.comment,range:[r,n,n]}}let s=t.indent+a.indent,u=t.offset+a.length,c=0;for(let t=0;t<l;++t){let[r,i]=o[t];if(""===i||"\r"===i)0===a.indent&&r.length>s&&(s=r.length);else{r.length<s&&n(u+r.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),0===a.indent&&(s=r.length),c=t,0!==s||e.atRoot||n(u,"BAD_INDENT","Block scalar values in collections must be indented");break}u+=r.length+i.length+1}for(let e=o.length-1;e>=l;--e)o[e][0].length>s&&(l=e+1);let d="",p="",m=!1;for(let e=0;e<c;++e)d+=o[e][0].slice(s)+"\n";for(let e=c;e<l;++e){let[t,r]=o[e];u+=t.length+r.length+1;let l="\r"===r[r.length-1];if(l&&(r=r.slice(0,-1)),r&&t.length<s){let e=a.indent?"explicit indentation indicator":"first line",i=`Block scalar lines must not be less indented than their ${e}`;n(u-r.length-(l?2:1),"BAD_INDENT",i),t=""}i===F.BLOCK_LITERAL?(d+=p+t.slice(s)+r,p="\n"):t.length>s||" "===r[0]?(" "===p?p="\n":m||"\n"!==p||(p="\n\n"),d+=p+t.slice(s)+r,p="\n",m=!0):""===r?"\n"===p?d+="\n":p="\n":(d+=p+r,p=" ",m=!1)}switch(a.chomp){case"-":break;case"+":for(let e=l;e<o.length;++e)d+="\n"+o[e][0].slice(s);"\n"!==d[d.length-1]&&(d+="\n");break;default:d+="\n"}let f=r+a.length+t.source.length;return{value:d,type:i,comment:a.comment,range:[r,f,f]}}
246function tk(e,t,n){let r,a;let{offset:i,type:o,source:l,end:s}=e,u=(e,t,r)=>n(i+e,t,r);switch(o){case"scalar":r=F.PLAIN,a=function(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),tx(e)}(l,u);break;case"single-quoted-scalar":r=F.QUOTE_SINGLE,("'"!==l[l.length-1]||1===l.length)&&u(l.length,"MISSING_CHAR","Missing closing 'quote"),a=tx(l.slice(1,-1)).replace(/''/g,"'");break;case"double-quoted-scalar":r=F.QUOTE_DOUBLE,a=function(e,t){let n="";for(let r=1;r<e.length-1;++r){let a=e[r];if("\r"!==a||"\n"!==e[r+1]){if("\n"===a){let{fold:t,offset:a}=function(e,t){let n="",r=e[t+1];for(;(" "===r||" "===r||"\n"===r||"\r"===r)&&("\r"!==r||"\n"===e[t+2]);)"\n"===r&&(n+="\n"),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}(e,r);n+=t,r=a}else if("\\"===a){let a=e[++r],i=tS[a];if(i)n+=i;else if("\n"===a)for(a=e[r+1];" "===a||" "===a;)a=e[++r+1];else if("\r"===a&&"\n"===e[r+1])for(a=e[++r+1];" "===a||" "===a;)a=e[++r+1];else if("x"===a||"u"===a||"U"===a){let i={x:2,u:4,U:8}[a];n+=function(e,t,n,r){let a=e.substr(t,n),i=a.length===n&&/^[0-9a-fA-F]+$/.test(a)?parseInt(a,16):NaN;if(isNaN(i)){let a=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),a}return String.fromCodePoint(i)}(e,r+1,i,t),r+=i}else{let a=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),n+=a}}else if(" "===a||" "===a){let t=r,i=e[r+1];for(;" "===i||" "===i;)i=e[++r+1];"\n"===i||"\r"===i&&"\n"===e[r+2]||(n+=r>t?e.slice(t,r+1):a)}else n+=a}}return('"'!==e[e.length-1]||1===e.length)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}(l,u);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${o}`),{value:"",type:null,comment:"",range:[i,i+l.length,i+l.length]}}let c=i+l.length,d=tv(s,c,t,n);return{value:a,type:r,comment:d.comment,range:[i,c,d.offset]}}function tx(e){let t,n;try{t=RegExp("(.*?)(?<![ ])[ ]*\r?\n","sy"),n=RegExp("[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?\n","sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let a=r[1],i=" ",o=t.lastIndex;for(n.lastIndex=o;r=n.exec(e);)""===r[1]?"\n"===i?a+=i:i="\n":(a+=i+r[1],i=" "),o=n.lastIndex;let l=/[ \t]*(.*)/sy;return l.lastIndex=o,r=l.exec(e),a+i+(r?.[1]??"")}let tS={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 t_(e,t,n,r){let a,i;let{value:o,type:l,comment:s,range:u}="block-scalar"===t.type?tw(e,t,r):tk(t,e.options.strict,r),d=n?e.directives.tagName(n.source,e=>r(n,"TAG_RESOLVE_FAILED",e)):null;a=e.options.stringKeys&&e.atKey?e.schema[c]:d?function(e,t,n,r,a){if("!"===n)return e[c];let i=[];for(let t of e.tags)if(!t.collection&&t.tag===n){if(!t.default||!t.test)return t;i.push(t)}for(let e of i)if(e.test?.test(t))return e;let o=e.knownTags[n];return o&&!o.collection?(e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(a(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[c])}(e.schema,o,d,n,r):"scalar"===t.type?function({atKey:e,directives:t,schema:n},r,a,i){let o=n.tags.find(t=>(!0===t.default||e&&"key"===t.default)&&t.test?.test(r))||n[c];if(n.compat){let e=n.compat.find(e=>e.default&&e.test?.test(r))??n[c];if(o.tag!==e.tag){let n=t.tagString(o.tag),r=t.tagString(e.tag);i(a,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${n} or ${r}`,!0)}}return o}(e,o,t,r):e.schema[c];try{let l=a.resolve(o,e=>r(n??t,"TAG_RESOLVE_FAILED",e),e.options);i=v(l)?l:new F(l)}catch(e){r(n??t,"TAG_RESOLVE_FAILED",e instanceof Error?e.message:String(e)),i=new F(o)}return i.range=u,i.source=o,l&&(i.type=l),d&&(i.tag=d),a.format&&(i.format=a.format),s&&(i.comment=s),i}let tE={composeNode:tA,composeEmptyNode:tT};function tA(e,t,n,r){let a;let i=e.atKey,{spaceBefore:o,comment:l,anchor:s,tag:u}=n,c=!0;switch(t.type){case"alias":a=function({options:e},{offset:t,source:n,end:r},a){let i=new B(n.substring(1));""===i.source&&a(t,"BAD_ALIAS","Alias cannot be an empty string"),i.source.endsWith(":")&&a(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let o=t+n.length,l=tv(r,o,e.strict,a);return i.range=[t,o,l.offset],l.comment&&(i.comment=l.comment),i}
246(e,t,r),(s||u)&&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":a=t_(e,t,u,r),s&&(a.anchor=s.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{a=function(e,t,n,r,a){let i=r.tag,o=i?t.directives.tagName(i.source,e=>a(i,"TAG_RESOLVE_FAILED",e)):null;if("block-seq"===n.type){let{anchor:e,newlineAfterProp:t}=r,n=e&&i?e.offset>i.offset?e:i:e??i;n&&(!t||t.offset<n.offset)&&a(n,"MISSING_CHAR","Missing newline after block sequence props")}let l="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!i||!o||"!"===o||o===ek.tagName&&"map"===l||o===eS.tagName&&"seq"===l)return tO(e,t,n,a,o);let s=t.schema.tags.find(e=>e.tag===o&&e.collection===l);if(!s){let r=t.schema.knownTags[o];if(r?.collection!==l)return r?a(i,"BAD_COLLECTION_TYPE",`${r.tag} used for ${l} collection, but expects ${r.collection??"scalar"}`,!0):a(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${o}`,!0),tO(e,t,n,a,o);t.schema.tags.push(Object.assign({},r,{default:!1})),s=r}let u=tO(e,t,n,a,o,s),c=s.resolve?.(u,e=>a(i,"TAG_RESOLVE_FAILED",e),t.options)??u,d=O(c)?c:new F(c);return d.range=u.range,d.tag=o,s?.format&&(d.format=s.format),d}(tE,e,t,n,r),s&&(a.anchor=s.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),c=!1}}return a??(a=tT(e,t.offset,void 0,null,n,r)),s&&""===a.anchor&&r(s,"BAD_ALIAS","Anchor cannot be an empty string"),i&&e.options.stringKeys&&(!v(a)||"string"!=typeof a.value||a.tag&&"tag:yaml.org,2002:str"!==a.tag)&&r(u??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),o&&(a.spaceBefore=!0),l&&("scalar"===t.type&&""===t.source?a.comment=l:a.commentBefore=l),e.options.keepSourceTokens&&c&&(a.srcToken=t),a}function tT(e,t,n,r,{spaceBefore:a,comment:i,anchor:o,tag:l,end:s},u){let c=t_(e,{type:"scalar",offset:function(e,t,n){if(t){n??(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];n?.type==="space";)e+=n.source.length,n=t[++r];break}}return e}(t,n,r),indent:-1,source:""},l,u);
246return o&&(c.anchor=o.source.substring(1),""===c.anchor&&u(o,"BAD_ALIAS","Anchor cannot be an empty string")),a&&(c.spaceBefore=!0),i&&(c.comment=i,c.range[2]=s),c}function tD(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:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function tC(e){let t="",n=!1,r=!1;for(let a=0;a<e.length;++a){let i=e[a];switch(i[0]){case"#":t+=(""===t?"":r?"\n\n":"\n")+(i.substring(1)||" "),n=!0,r=!1;break;case"%":e[a+1]?.[0]!=="#"&&(a+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}class t${constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,n,r)=>{let a=tD(e);r?this.warnings.push(new tc(a,t,n)):this.errors.push(new tu(a,t,n))},this.directives=new N({version:e.version||"1.2"}),this.options=e}decorate(e,t){let{comment:n,afterEmptyLine:r}=tC(this.prelude);if(n){let a=e.contents;if(t)e.comment=e.comment?`${e.comment} 247${n}`:n;else if(r||e.directives.docStart||!a)e.commentBefore=n;else if(b(a)&&!a.flow&&a.items.length>0){let e=a.items[0];g(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${n} 248${t}`:n}else{let e=a.commentBefore;a.commentBefore=e?`${n} 249${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:tC(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(let t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,(t,n,r)=>{let a=tD(e);a[0]+=t,this.onError(a,"BAD_DIRECTIVE",n,r)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let t=function(e,t,{offset:n,start:r,value:a,end:i},o){let l=new to(void 0,Object.assign({_directives:t},e)),s={atKey:!1,atRoot:!0,directives:l.directives,options:l.options,schema:l.schema},u=tp(r,{indicator:"doc-start",next:a??i?.[0],offset:n,onError:o,parentIndent:0,startOnNewline:!0});u.found&&(l.directives.docStart=!0,a&&("block-map"===a.type||"block-seq"===a.type)&&!u.hasNewline&&o(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),l.contents=a?tA(s,a,u,o):tT(s,u.end,r,null,u,o);let c=l.contents.range[2],d=tv(i,c,!1,o);return d.comment&&(l.comment=d.comment),l.range=[n,c,d.offset],l}(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,n=new tu(tD(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){this.errors.push(new tu(tD(e),"UNEXPECTED_TOKEN","Unexpected doc-end without preceding document"));break}this.doc.directives.docEnd=!0;let t=tv(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} 250${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new tu(tD(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 tP(e,t=!0,n){if(e){let r=(e,t,r)=>{let a="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(n)n(a,t,r);else throw new tu([a,a+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 tw({options:{strict:t}},e,r)}}return null}function tI(e,t){let{implicitKey:n=!1,indent:r,inFlow:a=!1,offset:i=-1,type:o="PLAIN"}=t,l=es({type:o,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:a,options:{blockQuote:!0,lineWidth:-1}}),s=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(l[0]){case"|":case">":{let e=l.indexOf("\n"),t=l.substring(0,e),n=l.substring(e+1)+"\n",a=[{type:"block-scalar-header",offset:i,indent:r,source:t}];return tU(a,s)||a.push({type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:i,indent:r,props:a,source:n}}case'"':return{type:"double-quoted-scalar",offset:i,indent:r,source:l,end:s};case"'":return{type:"single-quoted-scalar",offset:i,indent:r,source:l,end:s};default:return{type:"scalar",offset:i,indent:r,source:l,end:s}}}function tN(e,t,n={}){let{afterKey:r=!1,implicitKey:a=!1,inFlow:i=!1,type:o}=n,l="indent"in e?e.indent:null;if(r&&"number"==typeof l&&(l+=2),!o)switch(e.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");o=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN"}let s=es({type:o,value:t},{implicitKey:a||null===l,indent:null!==l&&l>0?" ".repeat(l):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(s[0]){case"|":case">":!function(e,t){let n=t.indexOf("\n"),r=t.substring(0,n),a=t.substring(n+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=a}else{let{offset:t}=e,n="indent"in e?e.indent:-1,i=[{type:"block-scalar-header",offset:t,indent:n,source:r}];for(let t of(tU(i,"end"in e?e.end:void 0)||i.push({type:"newline",offset:-1,indent:n,source:"\n"}
250),Object.keys(e)))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:n,props:i,source:a})}}(e,s);break;case'"':tM(e,s,"double-quoted-scalar");break;case"'":tM(e,s,"single-quoted-scalar");break;default:tM(e,s,"scalar")}}function tU(e,t){if(t)for(let n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function tM(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{let r=e.props.slice(1),a=t.length;for(let t of("block-scalar-header"===e.props[0].type&&(a-=e.props[0].source.length),r))t.offset+=a;delete e.props,Object.assign(e,{type:n,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:n,source:t,end:[r]});break}default:{let r="indent"in e?e.indent:-1,a="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:n,indent:r,source:t,end:a})}}}let tR=e=>"type"in e?tj(e):tL(e);function tj(e){switch(e.type){case"block-scalar":{let t="";for(let n of e.props)t+=tj(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(let n of e.items)t+=tL(n);return t}case"flow-collection":{let t=e.start.source;for(let n of e.items)t+=tL(n);for(let n of e.end)t+=n.source;return t}case"document":{let t=tL(e);if(e.end)for(let n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(let n of e.end)t+=n.source;return t}}}function tL({start:e,key:t,sep:n,value:r}){let a="";for(let t of e)a+=t.source;if(t&&(a+=tj(t)),n)for(let e of n)a+=e.source;return r&&(a+=tj(r)),a}let tZ=Symbol("break visit"),tB=Symbol("skip children"),tz=Symbol("remove item");function tF(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),function e(t,n,r){let a=r(n,t);if("symbol"==typeof a)return a;for(let i of["key","value"]){let o=n[i];if(o&&"items"in o){for(let n=0;n<o.items.length;++n){let a=e(Object.freeze(t.concat([[i,n]])),o.items[n],r);if("number"==typeof a)n=a-1;else{if(a===tZ)return tZ;a===tz&&(o.items.splice(n,1),n-=1)}}"function"==typeof a&&"key"===i&&(a=a(n,t))}}return"function"==typeof a?a(n,t):a}(Object.freeze([]),e,t)}tF.BREAK=tZ,tF.SKIP=tB,tF.REMOVE=tz,tF.itemAtPath=(e,t)=>{let n=e;for(let[e,r]of t){let t=n?.[e];if(!t||!("items"in t))return;n=t.items[r]}return n},tF.parentCollection=(e,t)=>{let n=tF.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],a=n?.[r];if(a&&"items"in a)return a;throw Error("Parent collection not found")};let tQ="\uFEFF",tH="\x02",tq="\x18",tV="\x1f",tW=e=>!!e&&"items"in e,tX=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type);function tY(e){switch(e){case tQ:return"<BOM>";case tH:return"<DOC>";case tq:return"<FLOW_END>";case tV:return"<SCALAR>";default:return JSON.stringify(e)}}function tG(e){switch(e){case tQ:return"byte-order-mark";case tH:return"doc-mode";case tq: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";case"%":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 tK(e){switch(e){case void 0:case" ":case"\n":case"\r":case" ":return!0;default:return!1}}let tJ=new Set("0123456789ABCDEFabcdef"),t0=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),t1=new Set(",[]{}"),t2=new Set(" ,[]{}\n\r "),t4=e=>!e||t2.has(e);class t8{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 n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}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];
250if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){let t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"!==t&&!(n>=this.indentNext)&&(t||this.atEnd)?-1:e+n}if("-"===t||"."===t){let t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&tK(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]===tQ&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length,n=e.indexOf("#");for(;-1!==n;){let r=e[n-1];if(" "===r||" "===r){t=n-1;break}n=e.indexOf("#",n+1)}for(;;){let n=e[t-1];if(" "===n||" "===n)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 tH,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)&&tK(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&&!tK(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)&&tK(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}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";case"*":return yield*this.pushUntil(t4),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader())+(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;let n=-1;do(e=yield*this.pushNewline())>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=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!==n&&n<this.indentNext&&"#"!==r[0]||0===n&&(r.startsWith("---")||r.startsWith("..."))&&tK(r[3]))&&!(n===this.indentNext-1&&1===this.flowLevel&&("]"===r[0]||"}"===r[0])))return this.flowLevel=0,yield tq,yield*this.parseLineStart();let a=0;for(;","===r[a];)a+=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0)),this.flowKey=!1;switch(r[a+=yield*this.pushIndicators()]){case void 0:return"flow";case"#":return yield*this.pushCount(r.length-a),"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(t4),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let e=this.charAt(1);if(this.flowKey||tK(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 n=this.buffer.substring(0,t),r=n.indexOf("\n",this.pos);if(-1!==r){for(;-1!==r;){let e=this.continueScalar(r+1);if(-1===e)break;r=n.indexOf("\n",e)}-1!==r&&(t=r-("\r"===n[r-1]?2:1))}if(-1===t){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}
250return 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=>tK(e)||"#"===e)}*parseBlockScalar(){let e,t=this.pos-1,n=0;a:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":n+=1;break;case"\n":t=r,n=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 a}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n: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 a=e;for(;" "===r;)r=this.buffer[--e];if("\n"===r&&e>=this.pos&&e+1+n>a)t=e;else break}return yield tV,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e;let t=this.flowLevel>0,n=this.pos-1,r=this.pos-1;for(;e=this.buffer[++r];)if(":"===e){let e=this.buffer[r+1];if(tK(e)||t&&t1.has(e))break;n=r}else if(tK(e)){let a=this.buffer[r+1];if("\r"===e&&("\n"===a?(r+=1,e="\n",a=this.buffer[r+1]):n=r),"#"===a||t&&t1.has(a))break;if("\n"===e){let e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{if(t&&t1.has(e))break;n=r}return e||this.atEnd?(yield tV,yield*this.pushToIndex(n+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 n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(t4))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{let e=this.flowLevel>0,t=this.charAt(1);if(tK(t)||e&&t1.has(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!tK(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(t0.has(t))t=this.buffer[++e];else if("%"===t&&tJ.has(this.buffer[e+1])&&tJ.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,n=this.pos-1;do t=this.buffer[++n];while(" "===t||e&&" "===t);let r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class t6{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t<n;){let r=t+n>>1;this.lineStarts[r]<e?t=r+1:n=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 n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function t5(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 t7(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 t9(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 ne(e){if(0===e.length)return[];let t=e.length;a: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 a}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function nt(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,t7(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class nn{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 t8,this.onNewLine=e}*parse(e,t=!1){for(let n of(this.onNewLine&&0===this.offset&&this.onNewLine(0),this.lexer.lex(e,t)))yield*this.next(n);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=tG(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()}
250get 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&&nt(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{let n=e.items[e.items.length-1];if(n.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}if(n.sep)n.value=t;else{Object.assign(n,{key:t,sep:[]}),this.onKeyLine=!n.explicitKey;return}break}case"block-seq":{let n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{let n=e.items[e.items.length-1];!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{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 n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===t5(n.start)&&(0===t.indent||n.start.every(e=>"comment"!==e.type||e.indent<t.indent))&&("document"===e.type?e.end=n.start:e.items.push({start:n.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!==t5(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}}*scalar(e){if("map-value-ind"===this.type){let t;let n=ne(t9(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:n,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 n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;r?.type==="comment"?n?.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 n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let n=!this.onKeyLine&&this.indent===e.indent,r=n&&(t.sep||t.explicitKey)&&"seq-item-ind"!==this.type,a=[];if(r&&t.sep&&!t.value){let n=[];for(let r=0;r<t.sep.length;++r){let a=t.sep[r];switch(a.type){case"newline":n.push(r);break;case"space":break;case"comment":a.indent>e.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(a=t.sep.splice(n[1]))}switch(this.type){case"anchor":case"tag":r||t.value?(a.push(this.sourceToken),e.items.push({start:a}),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?(a.push(this.sourceToken),e.items.push({start:a,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,
250sep:[this.sourceToken]});else if(t3(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:null,sep:[this.sourceToken]}]});else if(t7(t.key)&&!t3(t.sep,"newline")){let e=ne(t.start),n=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:n,sep:r}]})}else a.length>0?t.sep=t.sep.concat(a,this.sourceToken):t.sep.push(this.sourceToken)}else if(t3(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=ne(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:a,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 n=this.flowScalar(this.type);r||t.value?(e.items.push({start:a,key:n,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(n):(Object.assign(t,{key:n,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")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else n&&e.items.push({start:a});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 n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;r?.type==="comment"?n?.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 n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(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){this.stack.push(t);return}}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,sep:[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 n=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);n?this.stack.push(n):(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 n=ne(t9(t));nt(e);let r=e.end.splice(1,e.end.length);r.push(this.sourceToken);let a={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=a}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.t
250ype);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=ne(t9(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=ne(t9(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 nr(e){let t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new t6||null,prettyErrors:t}}function na(e,t={}){let{lineCounter:n,prettyErrors:r}=nr(t),a=new nn(n?.addNewLine),i=new t$(t),o=Array.from(i.compose(a.parse(e)));if(r&&n)for(let t of o)t.errors.forEach(td(e,n)),t.warnings.forEac
250h(td(e,n));return o.length>0?o:Object.assign([],{empty:!0},i.streamInfo())}function ni(e,t={}){let{lineCounter:n,prettyErrors:r}=nr(t),a=new nn(n?.addNewLine),i=new t$(t),o=null;for(let t of i.compose(a.parse(e),!0,e.length))if(o){if("silent"!==o.options.logLevel){o.errors.push(new tu(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else o=t;return r&&n&&(o.errors.forEach(td(e,n)),o.warnings.forEach(td(e,n))),o}function no(e,t,n){let r;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t);let a=ni(e,n);if(!a)return null;if(a.warnings.forEach(e=>ed(a.options.logLevel,e)),a.errors.length>0){if("silent"!==a.options.logLevel)throw a.errors[0];a.errors=[]}return a.toJS(Object.assign({reviver:r},n))}function nl(e,t,n){let r=null;if("function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t),"string"==typeof n&&(n=n.length),"number"==typeof n){let e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){let{keepUndefined:e}=n??t??{};if(!e)return}return f(e)&&!r?e.toString(n):new to(e,r,n).toString(n)}var ns=i},68336:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});let r={}.hasOwnProperty;function a(e,t){let n=t||{};function a(t,...n){let i=a.invalid,o=a.handlers;if(t&&r.call(t,e)){let n=String(t[e]);i=r.call(o,n)?o[n]:a.unknown}if(i)return i.call(this,t,...n)}return a.handlers=n.handlers||{},a.invalid=n.invalid,a.unknown=n.unknown,a}}}]);
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.