diff --git a/backend/src/main/resources/static/assets/index-BP8s9Pse.js b/backend/src/main/resources/static/assets/index-BP8s9Pse.js new file mode 100644 index 0000000..0b605f0 --- /dev/null +++ b/backend/src/main/resources/static/assets/index-BP8s9Pse.js @@ -0,0 +1,192 @@ +var jK=Object.defineProperty;var MK=(e,t,r)=>t in e?jK(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ie=(e,t,r)=>(MK(e,typeof t!="symbol"?t+"":t,r),r),DK=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var fp=(e,t,r)=>(DK(e,t,"read from private field"),r?r.call(e):t.get(e)),RE=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)};function M2(e,t){for(var r=0;rn[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(i){if(i.ep)return;i.ep=!0;const s=r(i);fetch(i.href,s)}})();var en=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Tt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function FK(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var nd={},LK=nd.byteLength=qK,BK=nd.toByteArray=KK,UK=nd.fromByteArray=GK,so=[],is=[],VK=typeof Uint8Array<"u"?Uint8Array:Array,IE="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var zu=0,zK=IE.length;zu0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function qK(e){var t=E3(e),r=t[0],n=t[1];return(r+n)*3/4-n}function WK(e,t,r){return(t+r)*3/4-r}function KK(e){var t,r=E3(e),n=r[0],i=r[1],s=new VK(WK(e,n,i)),o=0,l=i>0?n-4:n,c;for(c=0;c>16&255,s[o++]=t>>8&255,s[o++]=t&255;return i===2&&(t=is[e.charCodeAt(c)]<<2|is[e.charCodeAt(c+1)]>>4,s[o++]=t&255),i===1&&(t=is[e.charCodeAt(c)]<<10|is[e.charCodeAt(c+1)]<<4|is[e.charCodeAt(c+2)]>>2,s[o++]=t>>8&255,s[o++]=t&255),s}function HK(e){return so[e>>18&63]+so[e>>12&63]+so[e>>6&63]+so[e&63]}function JK(e,t,r){for(var n,i=[],s=t;sl?l:o+s));return n===1?(t=e[r-1],i.push(so[t>>2]+so[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(so[t>>10]+so[t>>4&63]+so[t<<2&63]+"=")),i.join("")}const YK=M2({__proto__:null,byteLength:LK,default:nd,fromByteArray:UK,toByteArray:BK},[nd]);var yy={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */var XK=yy.read=function(e,t,r,n,i){var s,o,l=i*8-n-1,c=(1<>1,v=-7,y=r?i-1:0,S=r?-1:1,b=e[t+y];for(y+=S,s=b&(1<<-v)-1,b>>=-v,v+=l;v>0;s=s*256+e[t+y],y+=S,v-=8);for(o=s&(1<<-v)-1,s>>=-v,v+=n;v>0;o=o*256+e[t+y],y+=S,v-=8);if(s===0)s=1-h;else{if(s===c)return o?NaN:(b?-1:1)*(1/0);o=o+Math.pow(2,n),s=s-h}return(b?-1:1)*o*Math.pow(2,s-n)},QK=yy.write=function(e,t,r,n,i,s){var o,l,c,h=s*8-i-1,v=(1<>1,S=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:s-1,_=n?1:-1,$=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,o=v):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+y>=1?t+=S/c:t+=S*Math.pow(2,1-y),t*c>=2&&(o++,c/=2),o+y>=v?(l=0,o=v):o+y>=1?(l=(t*c-1)*Math.pow(2,i),o=o+y):(l=t*Math.pow(2,y-1)*Math.pow(2,i),o=0));i>=8;e[r+b]=l&255,b+=_,l/=256,i-=8);for(o=o<0;e[r+b]=o&255,b+=_,o/=256,h-=8);e[r+b-_]|=$*128};const ZK=M2({__proto__:null,default:yy,read:XK,write:QK},[yy]);var S3={exports:{}},Yt={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Ud=Symbol.for("react.element"),eH=Symbol.for("react.portal"),tH=Symbol.for("react.fragment"),rH=Symbol.for("react.strict_mode"),nH=Symbol.for("react.profiler"),iH=Symbol.for("react.provider"),sH=Symbol.for("react.context"),oH=Symbol.for("react.forward_ref"),aH=Symbol.for("react.suspense"),lH=Symbol.for("react.memo"),uH=Symbol.for("react.lazy"),iP=Symbol.iterator;function cH(e){return e===null||typeof e!="object"?null:(e=iP&&e[iP]||e["@@iterator"],typeof e=="function"?e:null)}var w3={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_3=Object.assign,x3={};function Qc(e,t,r){this.props=e,this.context=t,this.refs=x3,this.updater=r||w3}Qc.prototype.isReactComponent={};Qc.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Qc.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function A3(){}A3.prototype=Qc.prototype;function D2(e,t,r){this.props=e,this.context=t,this.refs=x3,this.updater=r||w3}var F2=D2.prototype=new A3;F2.constructor=D2;_3(F2,Qc.prototype);F2.isPureReactComponent=!0;var sP=Array.isArray,O3=Object.prototype.hasOwnProperty,L2={current:null},C3={key:!0,ref:!0,__self:!0,__source:!0};function $3(e,t,r){var n,i={},s=null,o=null;if(t!=null)for(n in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)O3.call(t,n)&&!C3.hasOwnProperty(n)&&(i[n]=t[n]);var l=arguments.length-2;if(l===1)i.children=r;else if(1Math.random().toString(36).substring(7).split("").join("."),gH={INIT:`@@redux/INIT${jE()}`,REPLACE:`@@redux/REPLACE${jE()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${jE()}`},uP=gH;function yH(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function k3(e,t,r){if(typeof e!="function")throw new Error(qn(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(qn(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(qn(1));return r(k3)(e,t)}let n=e,i=t,s=new Map,o=s,l=0,c=!1;function h(){o===s&&(o=new Map,s.forEach((P,x)=>{o.set(x,P)}))}function v(){if(c)throw new Error(qn(3));return i}function y(P){if(typeof P!="function")throw new Error(qn(4));if(c)throw new Error(qn(5));let x=!0;h();const A=l++;return o.set(A,P),function(){if(x){if(c)throw new Error(qn(6));x=!1,h(),o.delete(A),s=null}}}function S(P){if(!yH(P))throw new Error(qn(7));if(typeof P.type>"u")throw new Error(qn(8));if(typeof P.type!="string")throw new Error(qn(17));if(c)throw new Error(qn(9));try{c=!0,i=n(i,P)}finally{c=!1}return(s=o).forEach(A=>{A()}),P}function b(P){if(typeof P!="function")throw new Error(qn(10));n=P,S({type:uP.REPLACE})}function _(){const P=y;return{subscribe(x){if(typeof x!="object"||x===null)throw new Error(qn(11));function A(){const j=x;j.next&&j.next(v())}return A(),{unsubscribe:P(A)}},[lP](){return this}}}return S({type:uP.INIT}),{dispatch:S,subscribe:y,getState:v,replaceReducer:b,[lP]:_}}function cP(e,t){return function(...r){return t(e.apply(this,r))}}function vH(e,t){if(typeof e=="function")return cP(e,t);if(typeof e!="object"||e===null)throw new Error(qn(16));const r={};for(const n in e){const i=e[n];typeof i=="function"&&(r[n]=cP(i,t))}return r}function T3(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function bH(...e){return t=>(r,n)=>{const i=t(r,n);let s=()=>{throw new Error(qn(15))};const o={getState:i.getState,dispatch:(c,...h)=>s(c,...h)},l=e.map(c=>c(o));return s=T3(...l)(i.dispatch),{...i,dispatch:s}}}var P3={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(en,function(){var r=Array.prototype.slice;function n(m,w){w&&(m.prototype=Object.create(w.prototype)),m.prototype.constructor=m}function i(m){return c(m)?m:rt(m)}n(s,i);function s(m){return h(m)?m:Pt(m)}n(o,i);function o(m){return v(m)?m:mt(m)}n(l,i);function l(m){return c(m)&&!y(m)?m:Rt(m)}function c(m){return!!(m&&m[b])}function h(m){return!!(m&&m[_])}function v(m){return!!(m&&m[$])}function y(m){return h(m)||v(m)}function S(m){return!!(m&&m[P])}i.isIterable=c,i.isKeyed=h,i.isIndexed=v,i.isAssociative=y,i.isOrdered=S,i.Keyed=s,i.Indexed=o,i.Set=l;var b="@@__IMMUTABLE_ITERABLE__@@",_="@@__IMMUTABLE_KEYED__@@",$="@@__IMMUTABLE_INDEXED__@@",P="@@__IMMUTABLE_ORDERED__@@",x="delete",A=5,C=1<>>0;if(""+R!==w||R===4294967295)return NaN;w=R}return w<0?L(m)+w:w}function Xe(){return!0}function Ye(m,w,R){return(m===0||R!==void 0&&m<=-R)&&(w===void 0||R!==void 0&&w>=R)}function he(m,w){return ge(m,w,0)}function de(m,w){return ge(m,w,w)}function ge(m,w,R){return m===void 0?R:m<0?Math.max(0,w+m):w===void 0?m:Math.min(w,m)}var pe=0,be=1,ye=2,Le=typeof Symbol=="function"&&Symbol.iterator,se="@@iterator",_e=Le||se;function Z(m){this.next=m}Z.prototype.toString=function(){return"[Iterator]"},Z.KEYS=pe,Z.VALUES=be,Z.ENTRIES=ye,Z.prototype.inspect=Z.prototype.toSource=function(){return this.toString()},Z.prototype[_e]=function(){return this};function V(m,w,R,M){var B=m===0?w:m===1?R:[w,R];return M?M.value=B:M={value:B,done:!1},M}function q(){return{value:void 0,done:!0}}function Ae(m){return!!lt(m)}function Ee(m){return m&&typeof m.next=="function"}function We(m){var w=lt(m);return w&&w.call(m)}function lt(m){var w=m&&(Le&&m[Le]||m[se]);if(typeof w=="function")return w}function ze(m){return m&&typeof m.length=="number"}n(rt,i);function rt(m){return m==null?me():c(m)?m.toSeq():_t(m)}rt.of=function(){return rt(arguments)},rt.prototype.toSeq=function(){return this},rt.prototype.toString=function(){return this.__toString("Seq {","}")},rt.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},rt.prototype.__iterate=function(m,w){return At(this,m,w,!0)},rt.prototype.__iterator=function(m,w){return ut(this,m,w,!0)},n(Pt,rt);function Pt(m){return m==null?me().toKeyedSeq():c(m)?h(m)?m.toSeq():m.fromEntrySeq():Ke(m)}Pt.prototype.toKeyedSeq=function(){return this},n(mt,rt);function mt(m){return m==null?me():c(m)?h(m)?m.entrySeq():m.toIndexedSeq():yt(m)}mt.of=function(){return mt(arguments)},mt.prototype.toIndexedSeq=function(){return this},mt.prototype.toString=function(){return this.__toString("Seq [","]")},mt.prototype.__iterate=function(m,w){return At(this,m,w,!1)},mt.prototype.__iterator=function(m,w){return ut(this,m,w,!1)},n(Rt,rt);function Rt(m){return(m==null?me():c(m)?h(m)?m.entrySeq():m:yt(m)).toSetSeq()}Rt.of=function(){return Rt(arguments)},Rt.prototype.toSetSeq=function(){return this},rt.isSeq=te,rt.Keyed=Pt,rt.Set=Rt,rt.Indexed=mt;var Ur="@@__IMMUTABLE_SEQ__@@";rt.prototype[Ur]=!0,n(K,mt);function K(m){this._array=m,this.size=m.length}K.prototype.get=function(m,w){return this.has(m)?this._array[Fe(this,m)]:w},K.prototype.__iterate=function(m,w){for(var R=this._array,M=R.length-1,B=0;B<=M;B++)if(m(R[w?M-B:B],B,this)===!1)return B+1;return B},K.prototype.__iterator=function(m,w){var R=this._array,M=R.length-1,B=0;return new Z(function(){return B>M?q():V(m,B,R[w?M-B++:B++])})},n(T,Pt);function T(m){var w=Object.keys(m);this._object=m,this._keys=w,this.size=w.length}T.prototype.get=function(m,w){return w!==void 0&&!this.has(m)?w:this._object[m]},T.prototype.has=function(m){return this._object.hasOwnProperty(m)},T.prototype.__iterate=function(m,w){for(var R=this._object,M=this._keys,B=M.length-1,X=0;X<=B;X++){var re=M[w?B-X:X];if(m(R[re],re,this)===!1)return X+1}return X},T.prototype.__iterator=function(m,w){var R=this._object,M=this._keys,B=M.length-1,X=0;return new Z(function(){var re=M[w?B-X:X];return X++>B?q():V(m,re,R[re])})},T.prototype[P]=!0,n(I,mt);function I(m){this._iterable=m,this.size=m.length||m.size}I.prototype.__iterateUncached=function(m,w){if(w)return this.cacheResult().__iterate(m,w);var R=this._iterable,M=We(R),B=0;if(Ee(M))for(var X;!(X=M.next()).done&&m(X.value,B++,this)!==!1;);return B},I.prototype.__iteratorUncached=function(m,w){if(w)return this.cacheResult().__iterator(m,w);var R=this._iterable,M=We(R);if(!Ee(M))return new Z(q);var B=0;return new Z(function(){var X=M.next();return X.done?X:V(m,B++,X.value)})},n(Y,mt);function Y(m){this._iterator=m,this._iteratorCache=[]}Y.prototype.__iterateUncached=function(m,w){if(w)return this.cacheResult().__iterate(m,w);for(var R=this._iterator,M=this._iteratorCache,B=0;B=M.length){var X=R.next();if(X.done)return X;M[B]=X.value}return V(m,B,M[B++])})};function te(m){return!!(m&&m[Ur])}var ue;function me(){return ue||(ue=new K([]))}function Ke(m){var w=Array.isArray(m)?new K(m).fromEntrySeq():Ee(m)?new Y(m).fromEntrySeq():Ae(m)?new I(m).fromEntrySeq():typeof m=="object"?new T(m):void 0;if(!w)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+m);return w}function yt(m){var w=Ct(m);if(!w)throw new TypeError("Expected Array or iterable object of values: "+m);return w}function _t(m){var w=Ct(m)||typeof m=="object"&&new T(m);if(!w)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+m);return w}function Ct(m){return ze(m)?new K(m):Ee(m)?new Y(m):Ae(m)?new I(m):void 0}function At(m,w,R,M){var B=m._cache;if(B){for(var X=B.length-1,re=0;re<=X;re++){var fe=B[R?X-re:re];if(w(fe[1],M?fe[0]:re,m)===!1)return re+1}return re}return m.__iterateUncached(w,R)}function ut(m,w,R,M){var B=m._cache;if(B){var X=B.length-1,re=0;return new Z(function(){var fe=B[R?X-re:re];return re++>X?q():V(w,M?fe[0]:re-1,fe[1])})}return m.__iteratorUncached(w,R)}function nt(m,w){return w?vt(w,m,"",{"":m}):Lt(m)}function vt(m,w,R,M){return Array.isArray(w)?m.call(M,R,mt(w).map(function(B,X){return vt(m,B,X,w)})):Mr(w)?m.call(M,R,Pt(w).map(function(B,X){return vt(m,B,X,w)})):w}function Lt(m){return Array.isArray(m)?mt(m).map(Lt).toList():Mr(m)?Pt(m).map(Lt).toMap():m}function Mr(m){return m&&(m.constructor===Object||m.constructor===void 0)}function zt(m,w){if(m===w||m!==m&&w!==w)return!0;if(!m||!w)return!1;if(typeof m.valueOf=="function"&&typeof w.valueOf=="function"){if(m=m.valueOf(),w=w.valueOf(),m===w||m!==m&&w!==w)return!0;if(!m||!w)return!1}return!!(typeof m.equals=="function"&&typeof w.equals=="function"&&m.equals(w))}function si(m,w){if(m===w)return!0;if(!c(w)||m.size!==void 0&&w.size!==void 0&&m.size!==w.size||m.__hash!==void 0&&w.__hash!==void 0&&m.__hash!==w.__hash||h(m)!==h(w)||v(m)!==v(w)||S(m)!==S(w))return!1;if(m.size===0&&w.size===0)return!0;var R=!y(m);if(S(m)){var M=m.entries();return w.every(function(ke,Ie){var Be=M.next().value;return Be&&zt(Be[1],ke)&&(R||zt(Be[0],Ie))})&&M.next().done}var B=!1;if(m.size===void 0)if(w.size===void 0)typeof m.cacheResult=="function"&&m.cacheResult();else{B=!0;var X=m;m=w,w=X}var re=!0,fe=w.__iterate(function(ke,Ie){if(R?!m.has(ke):B?!zt(ke,m.get(Ie,U)):!zt(m.get(Ie,U),ke))return re=!1,!1});return re&&m.size===fe}n(Xr,mt);function Xr(m,w){if(!(this instanceof Xr))return new Xr(m,w);if(this._value=m,this.size=w===void 0?1/0:Math.max(0,w),this.size===0){if(Oo)return Oo;Oo=this}}Xr.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Xr.prototype.get=function(m,w){return this.has(m)?this._value:w},Xr.prototype.includes=function(m){return zt(this._value,m)},Xr.prototype.slice=function(m,w){var R=this.size;return Ye(m,w,R)?this:new Xr(this._value,de(w,R)-he(m,R))},Xr.prototype.reverse=function(){return this},Xr.prototype.indexOf=function(m){return zt(this._value,m)?0:-1},Xr.prototype.lastIndexOf=function(m){return zt(this._value,m)?this.size:-1},Xr.prototype.__iterate=function(m,w){for(var R=0;R=0&&w=0&&RR?q():V(m,X++,re)})},yr.prototype.equals=function(m){return m instanceof yr?this._start===m._start&&this._end===m._end&&this._step===m._step:si(this,m)};var Fs;n(_i,i);function _i(){throw TypeError("Abstract")}n(tr,_i);function tr(){}n(Vi,_i);function Vi(){}n(xi,_i);function xi(){}_i.Keyed=tr,_i.Indexed=Vi,_i.Set=xi;var Ls=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(w,R){w=w|0,R=R|0;var M=w&65535,B=R&65535;return M*B+((w>>>16)*B+M*(R>>>16)<<16>>>0)|0};function Es(m){return m>>>1&1073741824|m&3221225471}function tn(m){if(m===!1||m===null||m===void 0||typeof m.valueOf=="function"&&(m=m.valueOf(),m===!1||m===null||m===void 0))return 0;if(m===!0)return 1;var w=typeof m;if(w==="number"){if(m!==m||m===1/0)return 0;var R=m|0;for(R!==m&&(R^=m*4294967295);m>4294967295;)m/=4294967295,R^=m;return Es(R)}if(w==="string")return m.length>dl?Ou(m):vr(m);if(typeof m.hashCode=="function")return m.hashCode();if(w==="object")return Bs(m);if(typeof m.toString=="function")return vr(m.toString());throw new Error("Value type "+w+" cannot be hashed.")}function Ou(m){var w=ht[m];return w===void 0&&(w=vr(m),Ss===Vs&&(Ss=0,ht={}),Ss++,ht[m]=w),w}function vr(m){for(var w=0,R=0;R0)switch(m.nodeType){case 1:return m.uniqueID;case 9:return m.documentElement&&m.documentElement.uniqueID}}var Co=typeof WeakMap=="function",kn;Co&&(kn=new WeakMap);var Us=0,oi="__immutablehash__";typeof Symbol=="function"&&(oi=Symbol(oi));var dl=16,Vs=255,Ss=0,ht={};function oe(m){ur(m!==1/0,"Cannot perform this action with an infinite size.")}n(Ne,tr);function Ne(m){return m==null?Ai():ft(m)&&!S(m)?m:Ai().withMutations(function(w){var R=s(m);oe(R.size),R.forEach(function(M,B){return w.set(B,M)})})}Ne.of=function(){var m=r.call(arguments,0);return Ai().withMutations(function(w){for(var R=0;R=m.length)throw new Error("Missing value for key: "+m[R]);w.set(m[R],m[R+1])}})},Ne.prototype.toString=function(){return this.__toString("Map {","}")},Ne.prototype.get=function(m,w){return this._root?this._root.get(0,void 0,m,w):w},Ne.prototype.set=function(m,w){return nm(this,m,w)},Ne.prototype.setIn=function(m,w){return this.updateIn(m,U,function(){return w})},Ne.prototype.remove=function(m){return nm(this,m,U)},Ne.prototype.deleteIn=function(m){return this.updateIn(m,function(){return U})},Ne.prototype.update=function(m,w,R){return arguments.length===1?m(this):this.updateIn([m],w,R)},Ne.prototype.updateIn=function(m,w,R){R||(R=w,w=void 0);var M=om(this,bm(m),w,R);return M===U?void 0:M},Ne.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ai()},Ne.prototype.merge=function(){return Cu(this,void 0,arguments)},Ne.prototype.mergeWith=function(m){var w=r.call(arguments,1);return Cu(this,m,w)},Ne.prototype.mergeIn=function(m){var w=r.call(arguments,1);return this.updateIn(m,Ai(),function(R){return typeof R.merge=="function"?R.merge.apply(R,w):w[w.length-1]})},Ne.prototype.mergeDeep=function(){return Cu(this,sm,arguments)},Ne.prototype.mergeDeepWith=function(m){var w=r.call(arguments,1);return Cu(this,wt(m),w)},Ne.prototype.mergeDeepIn=function(m){var w=r.call(arguments,1);return this.updateIn(m,Ai(),function(R){return typeof R.mergeDeep=="function"?R.mergeDeep.apply(R,w):w[w.length-1]})},Ne.prototype.sort=function(m){return Dr(qs(this,m))},Ne.prototype.sortBy=function(m,w){return Dr(qs(this,w,m))},Ne.prototype.withMutations=function(m){var w=this.asMutable();return m(w),w.wasAltered()?w.__ensureOwner(this.__ownerID):this},Ne.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new f)},Ne.prototype.asImmutable=function(){return this.__ensureOwner()},Ne.prototype.wasAltered=function(){return this.__altered},Ne.prototype.__iterator=function(m,w){return new ga(this,m,w)},Ne.prototype.__iterate=function(m,w){var R=this,M=0;return this._root&&this._root.iterate(function(B){return M++,m(B[1],B[0],R)},w),M},Ne.prototype.__ensureOwner=function(m){return m===this.__ownerID?this:m?Tf(this.size,this._root,m,this.__hash):(this.__ownerID=m,this.__altered=!1,this)};function ft(m){return!!(m&&m[Xt])}Ne.isMap=ft;var Xt="@@__IMMUTABLE_MAP__@@",St=Ne.prototype;St[Xt]=!0,St[x]=St.remove,St.removeIn=St.deleteIn;function _r(m,w){this.ownerID=m,this.entries=w}_r.prototype.get=function(m,w,R,M){for(var B=this.entries,X=0,re=B.length;X=yb)return pb(m,ke,M,B);var ct=m&&m===this.ownerID,jt=ct?ke:ce(ke);return ot?fe?Ie===Be-1?jt.pop():jt[Ie]=jt.pop():jt[Ie]=[M,B]:jt.push([M,B]),ct?(this.entries=jt,this):new _r(m,jt)}};function kr(m,w,R){this.ownerID=m,this.bitmap=w,this.nodes=R}kr.prototype.get=function(m,w,R,M){w===void 0&&(w=tn(R));var B=1<<((m===0?w:w>>>m)&j),X=this.bitmap;return X&B?this.nodes[am(X&B-1)].get(m+A,w,R,M):M},kr.prototype.update=function(m,w,R,M,B,X,re){R===void 0&&(R=tn(M));var fe=(w===0?R:R>>>w)&j,ke=1<=vb)return hb(m,ct,Ie,fe,Ut);if(Be&&!Ut&&ct.length===2&&im(ct[ot^1]))return ct[ot^1];if(Be&&Ut&&ct.length===1&&im(Ut))return Ut;var Ar=m&&m===this.ownerID,ci=Be?Ut?Ie:Ie^ke:Ie|ke,Ji=Be?Ut?lm(ct,ot,Ut,Ar):gb(ct,ot,Ar):mb(ct,ot,Ut,Ar);return Ar?(this.bitmap=ci,this.nodes=Ji,this):new kr(m,ci,Ji)};function Un(m,w,R){this.ownerID=m,this.count=w,this.nodes=R}Un.prototype.get=function(m,w,R,M){w===void 0&&(w=tn(R));var B=(m===0?w:w>>>m)&j,X=this.nodes[B];return X?X.get(m+A,w,R,M):M},Un.prototype.update=function(m,w,R,M,B,X,re){R===void 0&&(R=tn(M));var fe=(w===0?R:R>>>w)&j,ke=B===U,Ie=this.nodes,Be=Ie[fe];if(ke&&!Be)return this;var ot=Pf(Be,m,w+A,R,M,B,X,re);if(ot===Be)return this;var ct=this.count;if(!Be)ct++;else if(!ot&&(ct--,ct>>R)&j,re=(R===0?M:M>>>R)&j,fe,ke=X===re?[Rf(m,w,R+A,M,B)]:(fe=new xr(w,M,B),X>>=1)re[fe]=R&1?w[X++]:void 0;return re[M]=B,new Un(m,X+1,re)}function Cu(m,w,R){for(var M=[],B=0;B>1&1431655765),m=(m&858993459)+(m>>2&858993459),m=m+(m>>4)&252645135,m=m+(m>>8),m=m+(m>>16),m&127}function lm(m,w,R,M){var B=M?m:ce(m);return B[w]=R,B}function mb(m,w,R,M){var B=m.length+1;if(M&&w+1===B)return m[w]=R,m;for(var X=new Array(B),re=0,fe=0;fe0&&M=0&&m>>w&j;if(M>=this.array.length)return new zi([],m);var B=M===0,X;if(w>0){var re=this.array[M];if(X=re&&re.removeBefore(m,w-A,R),X===re&&B)return this}if(B&&!X)return this;var fe=Tn(this,m);if(!B)for(var ke=0;ke>>w&j;if(M>=this.array.length)return this;var B;if(w>0){var X=this.array[M];if(B=X&&X.removeAfter(m,w-A,R),B===X&&M===this.array.length-1)return this}var re=Tn(this,m);return re.array.splice(M+1),B&&(re.array[M]=B),re};var ml={};function If(m,w){var R=m._origin,M=m._capacity,B=yl(M),X=m._tail;return re(m._root,m._level,0);function re(Ie,Be,ot){return Be===0?fe(Ie,ot):ke(Ie,Be,ot)}function fe(Ie,Be){var ot=Be===B?X&&X.array:Ie&&Ie.array,ct=Be>R?0:R-Be,jt=M-Be;return jt>C&&(jt=C),function(){if(ct===jt)return ml;var Ut=w?--jt:ct++;return ot&&ot[Ut]}}function ke(Ie,Be,ot){var ct,jt=Ie&&Ie.array,Ut=ot>R?0:R-ot>>Be,Ar=(M-ot>>Be)+1;return Ar>C&&(Ar=C),function(){do{if(ct){var ci=ct();if(ci!==ml)return ci;ct=null}if(Ut===Ar)return ml;var Ji=w?--Ar:Ut++;ct=re(jt&&jt[Ji],Be-A,ot+(Ji<=m.size||w<0)return m.withMutations(function(re){w<0?qi(re,w).set(0,R):qi(re,0,w+1).set(w,R)});w+=m._origin;var M=m._tail,B=m._root,X=ee(J);return w>=yl(m._capacity)?M=jf(M,m.__ownerID,0,w,R,X):B=jf(B,m.__ownerID,m._level,w,R,X),X.value?m.__ownerID?(m._root=B,m._tail=M,m.__hash=void 0,m.__altered=!0,m):gl(m._origin,m._capacity,m._level,B,M):m}function jf(m,w,R,M,B,X){var re=M>>>R&j,fe=m&&re0){var Ie=m&&m.array[re],Be=jf(Ie,w,R-A,M,B,X);return Be===Ie?m:(ke=Tn(m,w),ke.array[re]=Be,ke)}return fe&&m.array[re]===B?m:(Q(X),ke=Tn(m,w),B===void 0&&re===ke.array.length-1?ke.array.pop():ke.array[re]=B,ke)}function Tn(m,w){return w&&m&&w===m.ownerID?m:new zi(m?m.array.slice():[],w)}function Mf(m,w){if(w>=yl(m._capacity))return m._tail;if(w<1<0;)R=R.array[w>>>M&j],M-=A;return R}}function qi(m,w,R){w!==void 0&&(w=w|0),R!==void 0&&(R=R|0);var M=m.__ownerID||new f,B=m._origin,X=m._capacity,re=B+w,fe=R===void 0?X:R<0?X+R:B+R;if(re===B&&fe===X)return m;if(re>=fe)return m.clear();for(var ke=m._level,Ie=m._root,Be=0;re+Be<0;)Ie=new zi(Ie&&Ie.array.length?[void 0,Ie]:[],M),ke+=A,Be+=1<=1<ot?new zi([],M):jt;if(jt&&ct>ot&&reA;ci-=A){var Ji=ot>>>ci&j;Ar=Ar.array[Ji]=Tn(Ar.array[Ji],M)}Ar.array[ot>>>A&j]=jt}if(fe=ct)re-=ct,fe-=ct,ke=A,Ie=null,Ut=Ut&&Ut.removeBefore(M,0,re);else if(re>B||ct>>ke&j;if(_l!==ct>>>ke&j)break;_l&&(Be+=(1<B&&(Ie=Ie.removeBefore(M,ke,re-Be)),Ie&&ctB&&(B=fe.size),c(re)||(fe=fe.map(function(ke){return nt(ke)})),M.push(fe)}return B>m.size&&(m=m.setSize(B)),hl(m,w,M)}function yl(m){return m>>A<=C&&B.size>=M.size*2?(ke=B.filter(function(Ie,Be){return Ie!==void 0&&X!==Be}),fe=ke.toKeyedSeq().map(function(Ie){return Ie[0]}).flip().toMap(),m.__ownerID&&(fe.__ownerID=ke.__ownerID=m.__ownerID)):(fe=M.remove(w),ke=X===B.size-1?B.pop():B.set(X,void 0))}else if(re){if(R===B.get(X)[1])return m;fe=M,ke=B.set(X,[w,R])}else fe=M.set(w,B.size),ke=B.set(B.size,[w,R]);return m.__ownerID?(m.size=fe.size,m._map=fe,m._list=ke,m.__hash=void 0,m):Df(fe,ke)}n(li,Pt);function li(m,w){this._iter=m,this._useKeys=w,this.size=m.size}li.prototype.get=function(m,w){return this._iter.get(m,w)},li.prototype.has=function(m){return this._iter.has(m)},li.prototype.valueSeq=function(){return this._iter.valueSeq()},li.prototype.reverse=function(){var m=this,w=Bf(this,!0);return this._useKeys||(w.valueSeq=function(){return m._iter.toSeq().reverse()}),w},li.prototype.map=function(m,w){var R=this,M=Lf(this,m,w);return this._useKeys||(M.valueSeq=function(){return R._iter.toSeq().map(m,w)}),M},li.prototype.__iterate=function(m,w){var R=this,M;return this._iter.__iterate(this._useKeys?function(B,X){return m(B,X,R)}:(M=w?Kt(this):0,function(B){return m(B,w?--M:M++,R)}),w)},li.prototype.__iterator=function(m,w){if(this._useKeys)return this._iter.__iterator(m,w);var R=this._iter.__iterator(be,w),M=w?Kt(this):0;return new Z(function(){var B=R.next();return B.done?B:V(m,w?--M:M++,B.value,B)})},li.prototype[P]=!0,n($o,mt);function $o(m){this._iter=m,this.size=m.size}$o.prototype.includes=function(m){return this._iter.includes(m)},$o.prototype.__iterate=function(m,w){var R=this,M=0;return this._iter.__iterate(function(B){return m(B,M++,R)},w)},$o.prototype.__iterator=function(m,w){var R=this._iter.__iterator(be,w),M=0;return new Z(function(){var B=R.next();return B.done?B:V(m,M++,B.value,B)})},n(zs,Rt);function zs(m){this._iter=m,this.size=m.size}zs.prototype.has=function(m){return this._iter.includes(m)},zs.prototype.__iterate=function(m,w){var R=this;return this._iter.__iterate(function(M){return m(M,M,R)},w)},zs.prototype.__iterator=function(m,w){var R=this._iter.__iterator(be,w);return new Z(function(){var M=R.next();return M.done?M:V(m,M.value,M.value,M)})},n(ba,Pt);function ba(m){this._iter=m,this.size=m.size}ba.prototype.entrySeq=function(){return this._iter.toSeq()},ba.prototype.__iterate=function(m,w){var R=this;return this._iter.__iterate(function(M){if(M){Vf(M);var B=c(M);return m(B?M.get(1):M[1],B?M.get(0):M[0],R)}},w)},ba.prototype.__iterator=function(m,w){var R=this._iter.__iterator(be,w);return new Z(function(){for(;;){var M=R.next();if(M.done)return M;var B=M.value;if(B){Vf(B);var X=c(B);return V(m,X?B.get(0):B[0],X?B.get(1):B[1],M)}}})},$o.prototype.cacheResult=li.prototype.cacheResult=zs.prototype.cacheResult=ba.prototype.cacheResult=zf;function Ff(m){var w=Ki(m);return w._iter=m,w.size=m.size,w.flip=function(){return m},w.reverse=function(){var R=m.reverse.apply(this);return R.flip=function(){return m.reverse()},R},w.has=function(R){return m.includes(R)},w.includes=function(R){return m.has(R)},w.cacheResult=zf,w.__iterateUncached=function(R,M){var B=this;return m.__iterate(function(X,re){return R(re,X,B)!==!1},M)},w.__iteratorUncached=function(R,M){if(R===ye){var B=m.__iterator(R,M);return new Z(function(){var X=B.next();if(!X.done){var re=X.value[0];X.value[0]=X.value[1],X.value[1]=re}return X})}return m.__iterator(R===be?pe:be,M)},w}function Lf(m,w,R){var M=Ki(m);return M.size=m.size,M.has=function(B){return m.has(B)},M.get=function(B,X){var re=m.get(B,U);return re===U?X:w.call(R,re,B,m)},M.__iterateUncached=function(B,X){var re=this;return m.__iterate(function(fe,ke,Ie){return B(w.call(R,fe,ke,Ie),ke,re)!==!1},X)},M.__iteratorUncached=function(B,X){var re=m.__iterator(ye,X);return new Z(function(){var fe=re.next();if(fe.done)return fe;var ke=fe.value,Ie=ke[0];return V(B,Ie,w.call(R,ke[1],Ie,m),fe)})},M}function Bf(m,w){var R=Ki(m);return R._iter=m,R.size=m.size,R.reverse=function(){return m},m.flip&&(R.flip=function(){var M=Ff(m);return M.reverse=function(){return m.flip()},M}),R.get=function(M,B){return m.get(w?M:-1-M,B)},R.has=function(M){return m.has(w?M:-1-M)},R.includes=function(M){return m.includes(M)},R.cacheResult=zf,R.__iterate=function(M,B){var X=this;return m.__iterate(function(re,fe){return M(re,fe,X)},!B)},R.__iterator=function(M,B){return m.__iterator(M,!B)},R}function Uf(m,w,R,M){var B=Ki(m);return M&&(B.has=function(X){var re=m.get(X,U);return re!==U&&!!w.call(R,re,X,m)},B.get=function(X,re){var fe=m.get(X,U);return fe!==U&&w.call(R,fe,X,m)?fe:re}),B.__iterateUncached=function(X,re){var fe=this,ke=0;return m.__iterate(function(Ie,Be,ot){if(w.call(R,Ie,Be,ot))return ke++,X(Ie,M?Be:ke-1,fe)},re),ke},B.__iteratorUncached=function(X,re){var fe=m.__iterator(ye,re),ke=0;return new Z(function(){for(;;){var Ie=fe.next();if(Ie.done)return Ie;var Be=Ie.value,ot=Be[0],ct=Be[1];if(w.call(R,ct,ot,m))return V(X,M?ot:ke++,ct,Ie)}})},B}function Sb(m,w,R){var M=Ne().asMutable();return m.__iterate(function(B,X){M.update(w.call(R,B,X,m),0,function(re){return re+1})}),M.asImmutable()}function wb(m,w,R){var M=h(m),B=(S(m)?Dr():Ne()).asMutable();m.__iterate(function(re,fe){B.update(w.call(R,re,fe,m),function(ke){return ke=ke||[],ke.push(M?[fe,re]:re),ke})});var X=ym(m);return B.map(function(re){return cr(m,X(re))})}function Tu(m,w,R,M){var B=m.size;if(w!==void 0&&(w=w|0),R!==void 0&&(R===1/0?R=B:R=R|0),Ye(w,R,B))return m;var X=he(w,B),re=de(R,B);if(X!==X||re!==re)return Tu(m.toSeq().cacheResult(),w,R,M);var fe=re-X,ke;fe===fe&&(ke=fe<0?0:fe);var Ie=Ki(m);return Ie.size=ke===0?ke:m.size&&ke||void 0,!M&&te(m)&&ke>=0&&(Ie.get=function(Be,ot){return Be=Fe(this,Be),Be>=0&&Beke)return q();var Ar=ct.next();return M||Be===be?Ar:Be===pe?V(Be,Ut-1,void 0,Ar):V(Be,Ut-1,Ar.value[1],Ar)})},Ie}function _b(m,w,R){var M=Ki(m);return M.__iterateUncached=function(B,X){var re=this;if(X)return this.cacheResult().__iterate(B,X);var fe=0;return m.__iterate(function(ke,Ie,Be){return w.call(R,ke,Ie,Be)&&++fe&&B(ke,Ie,re)}),fe},M.__iteratorUncached=function(B,X){var re=this;if(X)return this.cacheResult().__iterator(B,X);var fe=m.__iterator(ye,X),ke=!0;return new Z(function(){if(!ke)return q();var Ie=fe.next();if(Ie.done)return Ie;var Be=Ie.value,ot=Be[0],ct=Be[1];return w.call(R,ct,ot,re)?B===ye?Ie:V(B,ot,ct,Ie):(ke=!1,q())})},M}function hm(m,w,R,M){var B=Ki(m);return B.__iterateUncached=function(X,re){var fe=this;if(re)return this.cacheResult().__iterate(X,re);var ke=!0,Ie=0;return m.__iterate(function(Be,ot,ct){if(!(ke&&(ke=w.call(R,Be,ot,ct))))return Ie++,X(Be,M?ot:Ie-1,fe)}),Ie},B.__iteratorUncached=function(X,re){var fe=this;if(re)return this.cacheResult().__iterator(X,re);var ke=m.__iterator(ye,re),Ie=!0,Be=0;return new Z(function(){var ot,ct,jt;do{if(ot=ke.next(),ot.done)return M||X===be?ot:X===pe?V(X,Be++,void 0,ot):V(X,Be++,ot.value[1],ot);var Ut=ot.value;ct=Ut[0],jt=Ut[1],Ie&&(Ie=w.call(R,jt,ct,fe))}while(Ie);return X===ye?ot:V(X,ct,jt,ot)})},B}function Wi(m,w){var R=h(m),M=[m].concat(w).map(function(re){return c(re)?R&&(re=s(re)):re=R?Ke(re):yt(Array.isArray(re)?re:[re]),re}).filter(function(re){return re.size!==0});if(M.length===0)return m;if(M.length===1){var B=M[0];if(B===m||R&&h(B)||v(m)&&v(B))return B}var X=new K(M);return R?X=X.toKeyedSeq():v(m)||(X=X.toSetSeq()),X=X.flatten(!0),X.size=M.reduce(function(re,fe){if(re!==void 0){var ke=fe.size;if(ke!==void 0)return re+ke}},0),X}function mm(m,w,R){var M=Ki(m);return M.__iterateUncached=function(B,X){var re=0,fe=!1;function ke(Ie,Be){var ot=this;Ie.__iterate(function(ct,jt){return(!w||Be0}function Pu(m,w,R){var M=Ki(m);return M.size=new K(R).map(function(B){return B.size}).min(),M.__iterate=function(B,X){for(var re=this.__iterator(be,X),fe,ke=0;!(fe=re.next()).done&&B(fe.value,ke++,this)!==!1;);return ke},M.__iteratorUncached=function(B,X){var re=R.map(function(Ie){return Ie=i(Ie),We(X?Ie.reverse():Ie)}),fe=0,ke=!1;return new Z(function(){var Ie;return ke||(Ie=re.map(function(Be){return Be.next()}),ke=Ie.some(function(Be){return Be.done})),ke?q():V(B,fe++,w.apply(null,Ie.map(function(Be){return Be.value})))})},M}function cr(m,w){return te(m)?w:m.constructor(w)}function Vf(m){if(m!==Object(m))throw new TypeError("Expected [K, V] tuple: "+m)}function Kt(m){return oe(m.size),L(m)}function ym(m){return h(m)?s:v(m)?o:l}function Ki(m){return Object.create((h(m)?Pt:v(m)?mt:Rt).prototype)}function zf(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):rt.prototype.cacheResult.call(this)}function vm(m,w){return m>w?1:m=0;R--)w={value:arguments[R],next:w};return this.__ownerID?(this.size=m,this._head=w,this.__hash=void 0,this.__altered=!0,this):Sl(m,w)},Nr.prototype.pushAll=function(m){if(m=o(m),m.size===0)return this;oe(m.size);var w=this.size,R=this._head;return m.reverse().forEach(function(M){w++,R={value:M,next:R}}),this.__ownerID?(this.size=w,this._head=R,this.__hash=void 0,this.__altered=!0,this):Sl(w,R)},Nr.prototype.pop=function(){return this.slice(1)},Nr.prototype.unshift=function(){return this.push.apply(this,arguments)},Nr.prototype.unshiftAll=function(m){return this.pushAll(m)},Nr.prototype.shift=function(){return this.pop.apply(this,arguments)},Nr.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):wl()},Nr.prototype.slice=function(m,w){if(Ye(m,w,this.size))return this;var R=he(m,this.size),M=de(w,this.size);if(M!==this.size)return Vi.prototype.slice.call(this,m,w);for(var B=this.size-R,X=this._head;R--;)X=X.next;return this.__ownerID?(this.size=B,this._head=X,this.__hash=void 0,this.__altered=!0,this):Sl(B,X)},Nr.prototype.__ensureOwner=function(m){return m===this.__ownerID?this:m?Sl(this.size,this._head,m,this.__hash):(this.__ownerID=m,this.__altered=!1,this)},Nr.prototype.__iterate=function(m,w){if(w)return this.reverse().__iterate(m);for(var R=0,M=this._head;M&&m(M.value,R++,this)!==!1;)M=M.next;return R},Nr.prototype.__iterator=function(m,w){if(w)return this.reverse().__iterator(m);var R=0,M=this._head;return new Z(function(){if(M){var B=M.value;return M=M.next,V(m,R++,B)}return q()})};function Yf(m){return!!(m&&m[Xf])}Nr.isStack=Yf;var Xf="@@__IMMUTABLE_STACK__@@",Ea=Nr.prototype;Ea[Xf]=!0,Ea.withMutations=St.withMutations,Ea.asMutable=St.asMutable,Ea.asImmutable=St.asImmutable,Ea.wasAltered=St.wasAltered;function Sl(m,w,R,M){var B=Object.create(Ea);return B.size=m,B._head=w,B.__ownerID=R,B.__hash=M,B.__altered=!1,B}var Am;function wl(){return Am||(Am=Sl(0))}function Hi(m,w){var R=function(M){m.prototype[M]=w[M]};return Object.keys(w).forEach(R),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(w).forEach(R),m}i.Iterator=Z,Hi(i,{toArray:function(){oe(this.size);var m=new Array(this.size||0);return this.valueSeq().__iterate(function(w,R){m[R]=w}),m},toIndexedSeq:function(){return new $o(this)},toJS:function(){return this.toSeq().map(function(m){return m&&typeof m.toJS=="function"?m.toJS():m}).__toJS()},toJSON:function(){return this.toSeq().map(function(m){return m&&typeof m.toJSON=="function"?m.toJSON():m}).__toJS()},toKeyedSeq:function(){return new li(this,!0)},toMap:function(){return Ne(this.toKeyedSeq())},toObject:function(){oe(this.size);var m={};return this.__iterate(function(w,R){m[R]=w}),m},toOrderedMap:function(){return Dr(this.toKeyedSeq())},toOrderedSet:function(){return Oi(h(this)?this.valueSeq():this)},toSet:function(){return dr(h(this)?this.valueSeq():this)},toSetSeq:function(){return new zs(this)},toSeq:function(){return v(this)?this.toIndexedSeq():h(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Nr(h(this)?this.valueSeq():this)},toList:function(){return br(h(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(m,w){return this.size===0?m+w:m+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+w},concat:function(){var m=r.call(arguments,0);return cr(this,Wi(this,m))},includes:function(m){return this.some(function(w){return zt(w,m)})},entries:function(){return this.__iterator(ye)},every:function(m,w){oe(this.size);var R=!0;return this.__iterate(function(M,B,X){if(!m.call(w,M,B,X))return R=!1,!1}),R},filter:function(m,w){return cr(this,Uf(this,m,w,!0))},find:function(m,w,R){var M=this.findEntry(m,w);return M?M[1]:R},forEach:function(m,w){return oe(this.size),this.__iterate(w?m.bind(w):m)},join:function(m){oe(this.size),m=m!==void 0?""+m:",";var w="",R=!0;return this.__iterate(function(M){R?R=!1:w+=m,w+=M!=null?M.toString():""}),w},keys:function(){return this.__iterator(pe)},map:function(m,w){return cr(this,Lf(this,m,w))},reduce:function(m,w,R){oe(this.size);var M,B;return arguments.length<2?B=!0:M=w,this.__iterate(function(X,re,fe){B?(B=!1,M=X):M=m.call(R,M,X,re,fe)}),M},reduceRight:function(m,w,R){var M=this.toKeyedSeq().reverse();return M.reduce.apply(M,arguments)},reverse:function(){return cr(this,Bf(this,!0))},slice:function(m,w){return cr(this,Tu(this,m,w,!0))},some:function(m,w){return!this.every(Mu(m),w)},sort:function(m){return cr(this,qs(this,m))},values:function(){return this.__iterator(be)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(m,w){return L(m?this.toSeq().filter(m,w):this)},countBy:function(m,w){return Sb(this,m,w)},equals:function(m){return si(this,m)},entrySeq:function(){var m=this;if(m._cache)return new K(m._cache);var w=m.toSeq().map(Om).toIndexedSeq();return w.fromEntrySeq=function(){return m.toSeq()},w},filterNot:function(m,w){return this.filter(Mu(m),w)},findEntry:function(m,w,R){var M=R;return this.__iterate(function(B,X,re){if(m.call(w,B,X,re))return M=[X,B],!1}),M},findKey:function(m,w){var R=this.findEntry(m,w);return R&&R[0]},findLast:function(m,w,R){return this.toKeyedSeq().reverse().find(m,w,R)},findLastEntry:function(m,w,R){return this.toKeyedSeq().reverse().findEntry(m,w,R)},findLastKey:function(m,w){return this.toKeyedSeq().reverse().findKey(m,w)},first:function(){return this.find(Xe)},flatMap:function(m,w){return cr(this,xb(this,m,w))},flatten:function(m){return cr(this,mm(this,m,!0))},fromEntrySeq:function(){return new ba(this)},get:function(m,w){return this.find(function(R,M){return zt(M,m)},void 0,w)},getIn:function(m,w){for(var R=this,M=bm(m),B;!(B=M.next()).done;){var X=B.value;if(R=R&&R.get?R.get(X,U):U,R===U)return w}return R},groupBy:function(m,w){return wb(this,m,w)},has:function(m){return this.get(m,U)!==U},hasIn:function(m){return this.getIn(m,U)!==U},isSubset:function(m){return m=typeof m.includes=="function"?m:i(m),this.every(function(w){return m.includes(w)})},isSuperset:function(m){return m=typeof m.isSubset=="function"?m:i(m),m.isSubset(this)},keyOf:function(m){return this.findKey(function(w){return zt(w,m)})},keySeq:function(){return this.toSeq().map(Qf).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(m){return this.toKeyedSeq().reverse().keyOf(m)},max:function(m){return bl(this,m)},maxBy:function(m,w){return bl(this,w,m)},min:function(m){return bl(this,m?Cm(m):ui)},minBy:function(m,w){return bl(this,w?Cm(w):ui,m)},rest:function(){return this.slice(1)},skip:function(m){return this.slice(Math.max(0,m))},skipLast:function(m){return cr(this,this.toSeq().reverse().skip(m).reverse())},skipWhile:function(m,w){return cr(this,hm(this,m,w,!0))},skipUntil:function(m,w){return this.skipWhile(Mu(m),w)},sortBy:function(m,w){return cr(this,qs(this,w,m))},take:function(m){return this.slice(0,Math.max(0,m))},takeLast:function(m){return cr(this,this.toSeq().reverse().take(m).reverse())},takeWhile:function(m,w){return cr(this,_b(this,m,w))},takeUntil:function(m,w){return this.takeWhile(Mu(m),w)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=km(this))}});var fn=i.prototype;fn[b]=!0,fn[_e]=fn.values,fn.__toJS=fn.toArray,fn.__toStringMapper=$m,fn.inspect=fn.toSource=function(){return this.toString()},fn.chain=fn.flatMap,fn.contains=fn.includes,Hi(s,{flip:function(){return cr(this,Ff(this))},mapEntries:function(m,w){var R=this,M=0;return cr(this,this.toSeq().map(function(B,X){return m.call(w,[X,B],M++,R)}).fromEntrySeq())},mapKeys:function(m,w){var R=this;return cr(this,this.toSeq().flip().map(function(M,B){return m.call(w,M,B,R)}).flip())}});var ju=s.prototype;ju[_]=!0,ju[_e]=fn.entries,ju.__toJS=fn.toObject,ju.__toStringMapper=function(m,w){return JSON.stringify(w)+": "+$m(m)},Hi(o,{toKeyedSeq:function(){return new li(this,!1)},filter:function(m,w){return cr(this,Uf(this,m,w,!1))},findIndex:function(m,w){var R=this.findEntry(m,w);return R?R[0]:-1},indexOf:function(m){var w=this.keyOf(m);return w===void 0?-1:w},lastIndexOf:function(m){var w=this.lastKeyOf(m);return w===void 0?-1:w},reverse:function(){return cr(this,Bf(this,!1))},slice:function(m,w){return cr(this,Tu(this,m,w,!1))},splice:function(m,w){var R=arguments.length;if(w=Math.max(w|0,0),R===0||R===2&&!w)return this;m=he(m,m<0?this.count():this.size);var M=this.slice(0,m);return cr(this,R===1?M:M.concat(ce(arguments,2),this.slice(m+w)))},findLastIndex:function(m,w){var R=this.findLastEntry(m,w);return R?R[0]:-1},first:function(){return this.get(0)},flatten:function(m){return cr(this,mm(this,m,!1))},get:function(m,w){return m=Fe(this,m),m<0||this.size===1/0||this.size!==void 0&&m>this.size?w:this.find(function(R,M){return M===m},void 0,w)},has:function(m){return m=Fe(this,m),m>=0&&(this.size!==void 0?this.size===1/0||mw?-1:0}function km(m){if(m.size===1/0)return 0;var w=S(m),R=h(m),M=w?1:0,B=m.__iterate(R?w?function(X,re){M=31*M+Tm(tn(X),tn(re))|0}:function(X,re){M=M+Tm(tn(X),tn(re))|0}:w?function(X){M=31*M+tn(X)|0}:function(X){M=M+tn(X)|0});return Ab(B,M)}function Ab(m,w){return w=Ls(w,3432918353),w=Ls(w<<15|w>>>-15,461845907),w=Ls(w<<13|w>>>-13,5),w=(w+3864292196|0)^m,w=Ls(w^w>>>16,2246822507),w=Ls(w^w>>>13,3266489909),w=Es(w^w>>>16),w}function Tm(m,w){return m^w+2654435769+(m<<6)+(m>>2)|0}var Ob={Iterable:i,Seq:rt,Collection:_i,Map:Ne,OrderedMap:Dr,List:br,Stack:Nr,Set:dr,OrderedSet:Oi,Record:Vn,Range:yr,Repeat:Xr,is:zt,fromJS:nt};return Ob})})(P3);var ss=P3.exports;const EH=Tt(ss);var U2={},Mw={exports:{}},Fa={},Dw={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(r){return r&&r.type==="@@redux/INIT"?"initialState argument passed to createStore":"previous state received by the reducer"},e.exports=t.default})(Dw,Dw.exports);var R3=Dw.exports,Fw={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=ss,n=o(r),i=R3,s=o(i);function o(l){return l&&l.__esModule?l:{default:l}}t.default=function(l,c,h){var v=Object.keys(c);if(!v.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";var y=(0,s.default)(h);if(n.default.isImmutable?!n.default.isImmutable(l):!n.default.Iterable.isIterable(l))return"The "+y+' is of unexpected type. Expected argument to be an instance of Immutable.Collection or Immutable.Record with the following properties: "'+v.join('", "')+'".';var S=l.toSeq().keySeq().toArray().filter(function(b){return!c.hasOwnProperty(b)});return S.length>0?"Unexpected "+(S.length===1?"property":"properties")+' "'+S.join('", "')+'" found in '+y+'. Expected to find one of the known reducer property names instead: "'+v.join('", "')+'". Unexpected properties will be ignored.':null},e.exports=t.default})(Fw,Fw.exports);var SH=Fw.exports,Lw={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(r,n,i){if(r===void 0)throw new Error('Reducer "'+n+'" returned undefined when handling "'+i.type+'" action. To ignore an action, you must explicitly return the previous state.')},e.exports=t.default})(Lw,Lw.exports);var wH=Lw.exports;Object.defineProperty(Fa,"__esModule",{value:!0});Fa.validateNextState=Fa.getUnexpectedInvocationParameterMessage=Fa.getStateName=void 0;var _H=R3,xH=V2(_H),AH=SH,OH=V2(AH),CH=wH,$H=V2(CH);function V2(e){return e&&e.__esModule?e:{default:e}}Fa.getStateName=xH.default;Fa.getUnexpectedInvocationParameterMessage=OH.default;Fa.validateNextState=$H.default;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=ss,n=s(r),i=Fa;function s(o){return o&&o.__esModule?o:{default:o}}t.default=function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.default.Map,c=Object.keys(o);return function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l(),v=arguments[1];return h.withMutations(function(y){c.forEach(function(S){var b=o[S],_=y.get(S),$=b(_,v);(0,i.validateNextState)($,S,v),y.set(S,$)})})}},e.exports=t.default})(Mw,Mw.exports);var kH=Mw.exports;Object.defineProperty(U2,"__esModule",{value:!0});var I3=U2.combineReducers=void 0,TH=kH,PH=RH(TH);function RH(e){return e&&e.__esModule?e:{default:e}}I3=U2.combineReducers=PH.default;class vy extends Error{constructor(t){super(vy._prepareSuperMessage(t)),Object.defineProperty(this,"name",{value:"NonError",configurable:!0,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(this,vy)}static _prepareSuperMessage(t){try{return JSON.stringify(t)}catch{return String(t)}}}const IH=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],Bw=Symbol(".toJSON called"),NH=e=>{e[Bw]=!0;const t=e.toJSON();return delete e[Bw],t},z2=({from:e,seen:t,to_:r,forceEnumerable:n,maxDepth:i,depth:s})=>{const o=r||(Array.isArray(e)?[]:{});if(t.push(e),s>=i)return o;if(typeof e.toJSON=="function"&&e[Bw]!==!0)return NH(e);for(const[l,c]of Object.entries(e)){if(typeof Buffer=="function"&&Buffer.isBuffer(c)){o[l]="[object Buffer]";continue}if(typeof c!="function"){if(!c||typeof c!="object"){o[l]=c;continue}if(!t.includes(e[l])){s++,o[l]=z2({from:e[l],seen:t.slice(),forceEnumerable:n,maxDepth:i,depth:s});continue}o[l]="[Circular]"}}for(const{property:l,enumerable:c}of IH)typeof e[l]=="string"&&Object.defineProperty(o,l,{value:e[l],enumerable:n?!0:c,configurable:!0,writable:!0});return o},jH=(e,t={})=>{const{maxDepth:r=Number.POSITIVE_INFINITY}=t;return typeof e=="object"&&e!==null?z2({from:e,seen:[],forceEnumerable:!0,maxDepth:r,depth:0}):typeof e=="function"?`[Function: ${e.name||"anonymous"}]`:e},MH=(e,t={})=>{const{maxDepth:r=Number.POSITIVE_INFINITY}=t;if(e instanceof Error)return e;if(typeof e=="object"&&e!==null&&!Array.isArray(e)){const n=new Error;return z2({from:e,seen:[],to_:n,maxDepth:r,depth:0}),n}return new vy(e)};var DH={serializeError:jH,deserializeError:MH};function FH(){this.__data__=[],this.size=0}var LH=FH;function BH(e,t){return e===t||e!==e&&t!==t}var Zc=BH;const UH=Tt(Zc);var VH=Zc;function zH(e,t){for(var r=e.length;r--;)if(VH(e[r][0],t))return r;return-1}var S0=zH,qH=S0,WH=Array.prototype,KH=WH.splice;function HH(e){var t=this.__data__,r=qH(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():KH.call(t,r,1),--this.size,!0}var JH=HH,GH=S0;function YH(e){var t=this.__data__,r=GH(t,e);return r<0?void 0:t[r][1]}var XH=YH,QH=S0;function ZH(e){return QH(this.__data__,e)>-1}var eJ=ZH,tJ=S0;function rJ(e,t){var r=this.__data__,n=tJ(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var nJ=rJ,iJ=LH,sJ=JH,oJ=XH,aJ=eJ,lJ=nJ;function ef(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e<=mX}var G2=gX,yX=Vd,vX=G2;function bX(e){return e!=null&&vX(e.length)&&!yX(e)}var du=bX,EX=du,SX=ri;function wX(e){return SX(e)&&EX(e)}var _X=wX,Ey={exports:{}};function xX(){return!1}var AX=xX;Ey.exports;(function(e,t){var r=ei,n=AX,i=t&&!t.nodeType&&t,s=i&&!0&&e&&!e.nodeType&&e,o=s&&s.exports===i,l=o?r.Buffer:void 0,c=l?l.isBuffer:void 0,h=c||n;e.exports=h})(Ey,Ey.exports);var Wd=Ey.exports,OX=So,CX=J2,$X=ri,kX="[object Object]",TX=Function.prototype,PX=Object.prototype,K3=TX.toString,RX=PX.hasOwnProperty,IX=K3.call(Object);function NX(e){if(!$X(e)||OX(e)!=kX)return!1;var t=CX(e);if(t===null)return!0;var r=RX.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&K3.call(r)==IX}var $0=NX;const jX=Tt($0);var MX=So,DX=G2,FX=ri,LX="[object Arguments]",BX="[object Array]",UX="[object Boolean]",VX="[object Date]",zX="[object Error]",qX="[object Function]",WX="[object Map]",KX="[object Number]",HX="[object Object]",JX="[object RegExp]",GX="[object Set]",YX="[object String]",XX="[object WeakMap]",QX="[object ArrayBuffer]",ZX="[object DataView]",eQ="[object Float32Array]",tQ="[object Float64Array]",rQ="[object Int8Array]",nQ="[object Int16Array]",iQ="[object Int32Array]",sQ="[object Uint8Array]",oQ="[object Uint8ClampedArray]",aQ="[object Uint16Array]",lQ="[object Uint32Array]",Rr={};Rr[eQ]=Rr[tQ]=Rr[rQ]=Rr[nQ]=Rr[iQ]=Rr[sQ]=Rr[oQ]=Rr[aQ]=Rr[lQ]=!0;Rr[LX]=Rr[BX]=Rr[QX]=Rr[UX]=Rr[ZX]=Rr[VX]=Rr[zX]=Rr[qX]=Rr[WX]=Rr[KX]=Rr[HX]=Rr[JX]=Rr[GX]=Rr[YX]=Rr[XX]=!1;function uQ(e){return FX(e)&&DX(e.length)&&!!Rr[MX(e)]}var cQ=uQ;function fQ(e){return function(t){return e(t)}}var Y2=fQ,Sy={exports:{}};Sy.exports;(function(e,t){var r=N3,n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===n,o=s&&r.process,l=function(){try{var c=i&&i.require&&i.require("util").types;return c||o&&o.binding&&o.binding("util")}catch{}}();e.exports=l})(Sy,Sy.exports);var X2=Sy.exports,pQ=cQ,dQ=Y2,SP=X2,wP=SP&&SP.isTypedArray,hQ=wP?dQ(wP):pQ,k0=hQ;function mQ(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var H3=mQ,gQ=K2,yQ=Zc,vQ=Object.prototype,bQ=vQ.hasOwnProperty;function EQ(e,t,r){var n=e[t];(!(bQ.call(e,t)&&yQ(n,r))||r===void 0&&!(t in e))&&gQ(e,t,r)}var T0=EQ,SQ=T0,wQ=K2;function _Q(e,t,r,n){var i=!r;r||(r={});for(var s=-1,o=t.length;++s-1&&e%1==0&&e0){if(++t>=IZ)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Q3=MZ,DZ=RZ,FZ=Q3,LZ=FZ(DZ),Z2=LZ,BZ=Jd,UZ=Y3,VZ=Z2;function zZ(e,t){return VZ(UZ(e,t,BZ),e+"")}var qZ=zZ,WZ=Zc,KZ=du,HZ=Kd,JZ=ti;function GZ(e,t,r){if(!JZ(r))return!1;var n=typeof t;return(n=="number"?KZ(r)&&HZ(t,r.length):n=="string"&&t in r)?WZ(r[t],e):!1}var Z3=GZ,YZ=qZ,XZ=Z3;function QZ(e){return YZ(function(t,r){var n=-1,i=r.length,s=i>1?r[i-1]:void 0,o=i>2?r[2]:void 0;for(s=e.length>3&&typeof s=="function"?(i--,s):void 0,o&&XZ(r[0],r[1],o)&&(s=i<3?void 0:s,i=1),t=Object(t);++n-1}function oee(e){var t=e.replace(eo.ctrlCharactersRegex,"");return t.replace(eo.htmlEntitiesRegex,function(r,n){return String.fromCharCode(n)})}function aee(e){if(!e)return eo.BLANK_URL;var t=oee(e).replace(eo.htmlCtrlEntityRegex,"").replace(eo.ctrlCharactersRegex,"").trim();if(!t)return eo.BLANK_URL;if(see(t))return t;var r=t.match(eo.urlSchemeRegex);if(!r)return t;var n=r[0];return eo.invalidProtocolRegex.test(n)?eo.BLANK_URL:t}eD=eA.sanitizeUrl=aee;function lee(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++ri?0:i+t),r=r>i?i:r,r<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var s=Array(i);++nl))return!1;var h=s.get(e),v=s.get(t);if(h&&v)return h==t&&v==e;var y=-1,S=!0,b=r&zee?new Lee:void 0;for(s.set(e,t),s.set(t,e);++y-1?i[s?t[o]:o]:void 0}}var oie=sie;function aie(e,t,r,n){for(var i=e.length,s=r+(n?1:-1);n?s--:++s=1&&c<=31||c==127||l==0&&c>=48&&c<=57||l==1&&c>=48&&c<=57&&v==45){h+="\\"+c.toString(16)+" ";continue}if(l==0&&o==1&&c==45){h+="\\"+s.charAt(l);continue}if(c>=128||c==45||c==95||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122){h+=s.charAt(l);continue}h+="\\"+s.charAt(l)}return h};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})})(bD);var ose=bD.exports;const ase=Tt(ose);var lse=function(t,r){if(r=r.split(":")[0],t=+t,!t)return!1;switch(r){case"http":case"ws":return t!==80;case"https":case"wss":return t!==443;case"ftp":return t!==21;case"gopher":return t!==70;case"file":return!1}return t!==0},cA={},use=Object.prototype.hasOwnProperty,cse;function QP(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function ZP(e){try{return encodeURIComponent(e)}catch{return null}}function fse(e){for(var t=/([^=?#&]+)=?([^&]*)/g,r={},n;n=t.exec(e);){var i=QP(n[1]),s=QP(n[2]);i===null||s===null||i in r||(r[i]=s)}return r}function pse(e,t){t=t||"";var r=[],n,i;typeof t!="string"&&(t="?");for(i in e)if(use.call(e,i)){if(n=e[i],!n&&(n===null||n===cse||isNaN(n))&&(n=""),i=ZP(i),n=ZP(n),i===null||n===null)continue;r.push(i+"="+n)}return r.length?t+r.join("&"):""}cA.stringify=pse;cA.parse=fse;var ED=lse,R0=cA,dse=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,SD=/[\n\r\t]/g,hse=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,wD=/:\d+$/,mse=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,gse=/^[a-zA-Z]:/;function fA(e){return(e||"").toString().replace(dse,"")}var Kw=[["#","hash"],["?","query"],function(t,r){return uo(r.protocol)?t.replace(/\\/g,"/"):t},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],eR={hash:1,query:1};function _D(e){var t;typeof window<"u"?t=window:typeof en<"u"?t=en:typeof self<"u"?t=self:t={};var r=t.location||{};e=e||r;var n={},i=typeof e,s;if(e.protocol==="blob:")n=new go(unescape(e.pathname),{});else if(i==="string"){n=new go(e,{});for(s in eR)delete n[s]}else if(i==="object"){for(s in e)s in eR||(n[s]=e[s]);n.slashes===void 0&&(n.slashes=hse.test(e.href))}return n}function uo(e){return e==="file:"||e==="ftp:"||e==="http:"||e==="https:"||e==="ws:"||e==="wss:"}function xD(e,t){e=fA(e),e=e.replace(SD,""),t=t||{};var r=mse.exec(e),n=r[1]?r[1].toLowerCase():"",i=!!r[2],s=!!r[3],o=0,l;return i?s?(l=r[2]+r[3]+r[4],o=r[2].length+r[3].length):(l=r[2]+r[4],o=r[2].length):s?(l=r[3]+r[4],o=r[3].length):l=r[4],n==="file:"?o>=2&&(l=l.slice(2)):uo(n)?l=r[4]:n?i&&(l=l.slice(2)):o>=2&&uo(t.protocol)&&(l=r[4]),{protocol:n,slashes:i||uo(n),slashesCount:o,rest:l}}function yse(e,t){if(e==="")return t;for(var r=(t||"/").split("/").slice(0,-1).concat(e.split("/")),n=r.length,i=r[n-1],s=!1,o=0;n--;)r[n]==="."?r.splice(n,1):r[n]===".."?(r.splice(n,1),o++):o&&(n===0&&(s=!0),r.splice(n,1),o--);return s&&r.unshift(""),(i==="."||i==="..")&&r.push(""),r.join("/")}function go(e,t,r){if(e=fA(e),e=e.replace(SD,""),!(this instanceof go))return new go(e,t,r);var n,i,s,o,l,c,h=Kw.slice(),v=typeof t,y=this,S=0;for(v!=="object"&&v!=="string"&&(r=t,t=null),r&&typeof r!="function"&&(r=R0.parse),t=_D(t),i=xD(e||"",t),n=!i.protocol&&!i.slashes,y.slashes=i.slashes||n&&t.slashes,y.protocol=i.protocol||t.protocol||"",e=i.rest,(i.protocol==="file:"&&(i.slashesCount!==2||gse.test(e))||!i.slashes&&(i.protocol||i.slashesCount<2||!uo(y.protocol)))&&(h[3]=[/(.*)/,"pathname"]);Stypeof r=="function")){const r=e.map(n=>typeof n=="function"?`function ${n.name||"unnamed"}()`:typeof n).join(", ");throw new TypeError(`${t}[${r}]`)}}var tR=e=>Array.isArray(e)?e:[e];function Ase(e){const t=Array.isArray(e[0])?e[0]:e;return xse(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function Ose(e,t){const r=[],{length:n}=e;for(let i=0;i{r=eg(),o.resetResultsCount()},o.resultsCount=()=>s,o.resetResultsCount=()=>{s=0},o}function Tse(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let s=0,o=0,l,c={},h=i.pop();typeof h=="object"&&(c=h,h=i.pop()),wse(h,`createSelector expects an output function after the inputs, but received: [${typeof h}]`);const v={...r,...c},{memoize:y,memoizeOptions:S=[],argsMemoize:b=AD,argsMemoizeOptions:_=[],devModeChecks:$={}}=v,P=tR(S),x=tR(_),A=Ase(i),C=y(function(){return s++,h.apply(null,arguments)},...P),j=b(function(){o++;const z=Ose(A,arguments);return l=C.apply(null,z),l},...x);return Object.assign(j,{resultFunc:h,memoizedResultFunc:C,dependencies:A,dependencyRecomputations:()=>o,resetDependencyRecomputations:()=>{o=0},lastResult:()=>l,recomputations:()=>s,resetRecomputations:()=>{s=0},memoize:y,argsMemoize:b})};return Object.assign(n,{withTypes:()=>n}),n}var OD=Tse(AD),Pse=Object.assign((e,t=OD)=>{_se(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const r=Object.keys(e),n=r.map(s=>e[s]);return t(n,(...s)=>s.reduce((o,l,c)=>(o[r[c]]=l,o),{}))},{withTypes:()=>Pse}),CD={exports:{}},Rse="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Ise=Rse,Nse=Ise;function $D(){}function kD(){}kD.resetWarningCache=$D;var jse=function(){function e(n,i,s,o,l,c){if(c!==Nse){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:kD,resetWarningCache:$D};return r.PropTypes=r,r};CD.exports=jse();var Mse=CD.exports;const Dse=Tt(Mse);function Fse(e,t){for(var r=-1,n=e==null?0:e.length;++r0&&r(l)?t>1?MD(l,t-1,r,n,i):Ale(i,l):n||(i[i.length]=l)}return i}var Cle=MD,$le=Cle;function kle(e){var t=e==null?0:e.length;return t?$le(e,1):[]}var Tle=kle,Ple=Tle,Rle=Y3,Ile=Z2;function Nle(e){return Ile(Rle(e,void 0,Ple),e+"")}var DD=Nle,jle=tA,Mle=dA,Dle=yle,Fle=Yd,Lle=of,Ble=Ele,Ule=DD,Vle=RD,zle=1,qle=2,Wle=4,Kle=Ule(function(e,t){var r={};if(e==null)return r;var n=!1;t=jle(t,function(s){return s=Fle(s,e),n||(n=s.length>1),s}),Lle(e,Vle(e),r),n&&(r=Mle(r,zle|qle|Wle,Ble));for(var i=t.length;i--;)Dle(r,t[i]);return r}),Hle=Kle;const Jle=Tt(Hle);/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function FD(e){return typeof e>"u"||e===null}function Gle(e){return typeof e=="object"&&e!==null}function Yle(e){return Array.isArray(e)?e:FD(e)?[]:[e]}function Xle(e,t){var r,n,i,s;if(t)for(s=Object.keys(t),r=0,n=s.length;rl&&(s=" ... ",t=n-l+s.length),r-n>l&&(o=" ...",r=n+l-o.length),{str:s+e.slice(t,r).replace(/\t/g,"→")+o,pos:n-t+s.length}}function BE(e,t){return ln.repeat(" ",t-e.length)+e}function oue(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],i=[],s,o=-1;s=r.exec(e.buffer);)i.push(s.index),n.push(s.index+s[0].length),e.position<=s.index&&o<0&&(o=n.length-2);o<0&&(o=n.length-1);var l="",c,h,v=Math.min(e.line+t.linesAfter,i.length).toString().length,y=t.maxLength-(t.indent+v+3);for(c=1;c<=t.linesBefore&&!(o-c<0);c++)h=LE(e.buffer,n[o-c],i[o-c],e.position-(n[o]-n[o-c]),y),l=ln.repeat(" ",t.indent)+BE((e.line-c+1).toString(),v)+" | "+h.str+` +`+l;for(h=LE(e.buffer,n[o],i[o],e.position,y),l+=ln.repeat(" ",t.indent)+BE((e.line+1).toString(),v)+" | "+h.str+` +`,l+=ln.repeat("-",t.indent+v+3+h.pos)+`^ +`,c=1;c<=t.linesAfter&&!(o+c>=i.length);c++)h=LE(e.buffer,n[o+c],i[o+c],e.position-(n[o]-n[o+c]),y),l+=ln.repeat(" ",t.indent)+BE((e.line+c+1).toString(),v)+" | "+h.str+` +`;return l.replace(/\n$/,"")}var aue=oue,lue=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],uue=["scalar","sequence","mapping"];function cue(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(n){t[String(n)]=r})}),t}function fue(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(lue.indexOf(r)===-1)throw new Hn('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=cue(t.styleAliases||null),uue.indexOf(this.kind)===-1)throw new Hn('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var An=fue;function pR(e,t){var r=[];return e[t].forEach(function(n){var i=r.length;r.forEach(function(s,o){s.tag===n.tag&&s.kind===n.kind&&s.multi===n.multi&&(i=o)}),r[i]=n}),r}function pue(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function n(i){i.multi?(e.multi[i.kind].push(i),e.multi.fallback.push(i)):e[i.kind][i.tag]=e.fallback[i.tag]=i}for(t=0,r=arguments.length;t=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Aue=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Oue(e){return!(e===null||!Aue.test(e)||e[e.length-1]==="_")}function Cue(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:r*parseFloat(t,10)}var $ue=/^[-+]?[0-9]+e/;function kue(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(ln.isNegativeZero(e))return"-0.0";return r=e.toString(10),$ue.test(r)?r.replace("e",".e"):r}function Tue(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||ln.isNegativeZero(e))}var JD=new An("tag:yaml.org,2002:float",{kind:"scalar",resolve:Oue,construct:Cue,predicate:Tue,represent:kue,defaultStyle:"lowercase"}),GD=qD.extend({implicit:[WD,KD,HD,JD]}),YD=GD,XD=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),QD=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function Pue(e){return e===null?!1:XD.exec(e)!==null||QD.exec(e)!==null}function Rue(e){var t,r,n,i,s,o,l,c=0,h=null,v,y,S;if(t=XD.exec(e),t===null&&(t=QD.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(r,n,i));if(s=+t[4],o=+t[5],l=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(v=+t[10],y=+(t[11]||0),h=(v*60+y)*6e4,t[9]==="-"&&(h=-h)),S=new Date(Date.UTC(r,n,i,s,o,l,c)),h&&S.setTime(S.getTime()-h),S}function Iue(e){return e.toISOString()}var ZD=new An("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Pue,construct:Rue,instanceOf:Date,represent:Iue});function Nue(e){return e==="<<"||e===null}var eF=new An("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Nue}),hA=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;function jue(e){if(e===null)return!1;var t,r,n=0,i=e.length,s=hA;for(r=0;r64)){if(t<0)return!1;n+=6}return n%8===0}function Mue(e){var t,r,n=e.replace(/[\r\n=]/g,""),i=n.length,s=hA,o=0,l=[];for(t=0;t>16&255),l.push(o>>8&255),l.push(o&255)),o=o<<6|s.indexOf(n.charAt(t));return r=i%4*6,r===0?(l.push(o>>16&255),l.push(o>>8&255),l.push(o&255)):r===18?(l.push(o>>10&255),l.push(o>>2&255)):r===12&&l.push(o>>4&255),new Uint8Array(l)}function Due(e){var t="",r=0,n,i,s=e.length,o=hA;for(n=0;n>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]),r=(r<<8)+e[n];return i=s%3,i===0?(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]):i===2?(t+=o[r>>10&63],t+=o[r>>4&63],t+=o[r<<2&63],t+=o[64]):i===1&&(t+=o[r>>2&63],t+=o[r<<4&63],t+=o[64],t+=o[64]),t}function Fue(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var tF=new An("tag:yaml.org,2002:binary",{kind:"scalar",resolve:jue,construct:Mue,predicate:Fue,represent:Due}),Lue=Object.prototype.hasOwnProperty,Bue=Object.prototype.toString;function Uue(e){if(e===null)return!0;var t=[],r,n,i,s,o,l=e;for(r=0,n=l.length;r>10)+55296,(e-65536&1023)+56320)}var uF=new Array(256),cF=new Array(256);for(var qu=0;qu<256;qu++)uF[qu]=mR(qu)?1:0,cF[qu]=mR(qu);function nce(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||mA,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function fF(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=aue(r),new Hn(t,r)}function Et(e,t){throw fF(e,t)}function Ay(e,t){e.onWarning&&e.onWarning.call(null,fF(e,t))}var gR={YAML:function(t,r,n){var i,s,o;t.version!==null&&Et(t,"duplication of %YAML directive"),n.length!==1&&Et(t,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),i===null&&Et(t,"ill-formed argument of the YAML directive"),s=parseInt(i[1],10),o=parseInt(i[2],10),s!==1&&Et(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=o<2,o!==1&&o!==2&&Ay(t,"unsupported YAML version of the document")},TAG:function(t,r,n){var i,s;n.length!==2&&Et(t,"TAG directive accepts exactly two arguments"),i=n[0],s=n[1],aF.test(i)||Et(t,"ill-formed tag handle (first argument) of the TAG directive"),Ja.call(t.tagMap,i)&&Et(t,'there is a previously declared suffix for "'+i+'" tag handle'),lF.test(s)||Et(t,"ill-formed tag prefix (second argument) of the TAG directive");try{s=decodeURIComponent(s)}catch{Et(t,"tag prefix is malformed: "+s)}t.tagMap[i]=s}};function La(e,t,r,n){var i,s,o,l;if(t1&&(e.result+=ln.repeat(` +`,t-1))}function ice(e,t,r){var n,i,s,o,l,c,h,v,y=e.kind,S=e.result,b;if(b=e.input.charCodeAt(e.position),di(b)||ic(b)||b===35||b===38||b===42||b===33||b===124||b===62||b===39||b===34||b===37||b===64||b===96||(b===63||b===45)&&(i=e.input.charCodeAt(e.position+1),di(i)||r&&ic(i)))return!1;for(e.kind="scalar",e.result="",s=o=e.position,l=!1;b!==0;){if(b===58){if(i=e.input.charCodeAt(e.position+1),di(i)||r&&ic(i))break}else if(b===35){if(n=e.input.charCodeAt(e.position-1),di(n))break}else{if(e.position===e.lineStart&&I0(e)||r&&ic(b))break;if(co(b))if(c=e.line,h=e.lineStart,v=e.lineIndent,Qr(e,!1,-1),e.lineIndent>=t){l=!0,b=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=c,e.lineStart=h,e.lineIndent=v;break}}l&&(La(e,s,o,!1),yA(e,e.line-c),s=o=e.position,l=!1),Jl(b)||(o=e.position+1),b=e.input.charCodeAt(++e.position)}return La(e,s,o,!1),e.result?!0:(e.kind=y,e.result=S,!1)}function sce(e,t){var r,n,i;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(La(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,i=e.position;else return!0;else co(r)?(La(e,n,i,!0),yA(e,Qr(e,!1,t)),n=i=e.position):e.position===e.lineStart&&I0(e)?Et(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);Et(e,"unexpected end of the stream within a single quoted scalar")}function oce(e,t){var r,n,i,s,o,l;if(l=e.input.charCodeAt(e.position),l!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(l=e.input.charCodeAt(e.position))!==0;){if(l===34)return La(e,r,e.position,!0),e.position++,!0;if(l===92){if(La(e,r,e.position,!0),l=e.input.charCodeAt(++e.position),co(l))Qr(e,!1,t);else if(l<256&&uF[l])e.result+=cF[l],e.position++;else if((o=ece(l))>0){for(i=o,s=0;i>0;i--)l=e.input.charCodeAt(++e.position),(o=Zue(l))>=0?s=(s<<4)+o:Et(e,"expected hexadecimal character");e.result+=rce(s),e.position++}else Et(e,"unknown escape sequence");r=n=e.position}else co(l)?(La(e,r,n,!0),yA(e,Qr(e,!1,t)),r=n=e.position):e.position===e.lineStart&&I0(e)?Et(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}Et(e,"unexpected end of the stream within a double quoted scalar")}function ace(e,t){var r=!0,n,i,s,o=e.tag,l,c=e.anchor,h,v,y,S,b,_=Object.create(null),$,P,x,A;if(A=e.input.charCodeAt(e.position),A===91)v=93,b=!1,l=[];else if(A===123)v=125,b=!0,l={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=l),A=e.input.charCodeAt(++e.position);A!==0;){if(Qr(e,!0,t),A=e.input.charCodeAt(e.position),A===v)return e.position++,e.tag=o,e.anchor=c,e.kind=b?"mapping":"sequence",e.result=l,!0;r?A===44&&Et(e,"expected the node content, but found ','"):Et(e,"missed comma between flow collection entries"),P=$=x=null,y=S=!1,A===63&&(h=e.input.charCodeAt(e.position+1),di(h)&&(y=S=!0,e.position++,Qr(e,!0,t))),n=e.line,i=e.lineStart,s=e.position,Nc(e,t,_y,!1,!0),P=e.tag,$=e.result,Qr(e,!0,t),A=e.input.charCodeAt(e.position),(S||e.line===n)&&A===58&&(y=!0,A=e.input.charCodeAt(++e.position),Qr(e,!0,t),Nc(e,t,_y,!1,!0),x=e.result),b?sc(e,l,_,P,$,x,n,i,s):y?l.push(sc(e,null,_,P,$,x,n,i,s)):l.push($),Qr(e,!0,t),A=e.input.charCodeAt(e.position),A===44?(r=!0,A=e.input.charCodeAt(++e.position)):r=!1}Et(e,"unexpected end of the stream within a flow collection")}function lce(e,t){var r,n,i=UE,s=!1,o=!1,l=t,c=0,h=!1,v,y;if(y=e.input.charCodeAt(e.position),y===124)n=!1;else if(y===62)n=!0;else return!1;for(e.kind="scalar",e.result="";y!==0;)if(y=e.input.charCodeAt(++e.position),y===43||y===45)UE===i?i=y===43?dR:Gue:Et(e,"repeat of a chomping mode identifier");else if((v=tce(y))>=0)v===0?Et(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?Et(e,"repeat of an indentation width identifier"):(l=t+v-1,o=!0);else break;if(Jl(y)){do y=e.input.charCodeAt(++e.position);while(Jl(y));if(y===35)do y=e.input.charCodeAt(++e.position);while(!co(y)&&y!==0)}for(;y!==0;){for(gA(e),e.lineIndent=0,y=e.input.charCodeAt(e.position);(!o||e.lineIndentl&&(l=e.lineIndent),co(y)){c++;continue}if(e.lineIndentt)&&c!==0)Et(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(P&&(o=e.line,l=e.lineStart,c=e.position),Nc(e,t,xy,!0,i)&&(P?_=e.result:$=e.result),P||(sc(e,y,S,b,_,$,o,l,c),b=_=$=null),Qr(e,!0,-1),A=e.input.charCodeAt(e.position)),(e.line===s||e.lineIndent>t)&&A!==0)Et(e,"bad indentation of a mapping entry");else if(e.lineIndentt?c=1:e.lineIndent===t?c=0:e.lineIndentt?c=1:e.lineIndent===t?c=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),y=0,S=e.implicitTypes.length;y"),e.result!==null&&_.kind!==e.kind&&Et(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+_.kind+'", not "'+e.kind+'"'),_.resolve(e.result,e.tag)?(e.result=_.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):Et(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||v}function dce(e){var t=e.position,r,n,i,s=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(Qr(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(s=!0,o=e.input.charCodeAt(++e.position),r=e.position;o!==0&&!di(o);)o=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),i=[],n.length<1&&Et(e,"directive name must not be less than one character in length");o!==0;){for(;Jl(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!co(o));break}if(co(o))break;for(r=e.position;o!==0&&!di(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(r,e.position))}o!==0&&gA(e),Ja.call(gR,n)?gR[n](e,n,i):Ay(e,'unknown document directive "'+n+'"')}if(Qr(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,Qr(e,!0,-1)):s&&Et(e,"directives end mark is expected"),Nc(e,e.lineIndent-1,xy,!1,!0),Qr(e,!0,-1),e.checkLineBreaks&&Xue.test(e.input.slice(t,e.position))&&Ay(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&I0(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Qr(e,!0,-1));return}if(e.position"u"&&(r=t,t=null);var n=pF(e,r);if(typeof t!="function")return n;for(var i=0,s=n.length;i=55296&&r<=56319&&t+1=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}function SF(e){var t=/^\n* /;return t.test(e)}var wF=1,Yw=2,_F=3,xF=4,rc=5;function zce(e,t,r,n,i,s,o,l){var c,h=0,v=null,y=!1,S=!1,b=n!==-1,_=-1,$=Uce(Tp(e,0))&&Vce(Tp(e,e.length-1));if(t||o)for(c=0;c=65536?c+=2:c++){if(h=Tp(e,c),!ad(h))return rc;$=$&&SR(h,v,l),v=h}else{for(c=0;c=65536?c+=2:c++){if(h=Tp(e,c),h===sd)y=!0,b&&(S=S||c-_-1>n&&e[_+1]!==" ",_=c);else if(!ad(h))return rc;$=$&&SR(h,v,l),v=h}S=S||b&&c-_-1>n&&e[_+1]!==" "}return!y&&!S?$&&!o&&!i(e)?wF:s===od?rc:Yw:r>9&&SF(e)?rc:o?s===od?rc:Yw:S?xF:_F}function qce(e,t,r,n,i){e.dump=function(){if(t.length===0)return e.quotingType===od?'""':"''";if(!e.noCompatMode&&(Nce.indexOf(t)!==-1||jce.test(t)))return e.quotingType===od?'"'+t+'"':"'"+t+"'";var s=e.indent*Math.max(1,r),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s),l=n||e.flowLevel>-1&&r>=e.flowLevel;function c(h){return Bce(e,h)}switch(zce(t,l,e.indent,o,c,e.quotingType,e.forceQuotes&&!n,i)){case wF:return t;case Yw:return"'"+t.replace(/'/g,"''")+"'";case _F:return"|"+wR(t,e.indent)+_R(bR(t,s));case xF:return">"+wR(t,e.indent)+_R(bR(Wce(t,o),s));case rc:return'"'+Kce(t)+'"';default:throw new Hn("impossible error: invalid scalar style")}}()}function wR(e,t){var r=SF(e)?String(t):"",n=e[e.length-1]===` +`,i=n&&(e[e.length-2]===` +`||e===` +`),s=i?"+":n?"":"-";return r+s+` +`}function _R(e){return e[e.length-1]===` +`?e.slice(0,-1):e}function Wce(e,t){for(var r=/(\n+)([^\n]*)/g,n=function(){var h=e.indexOf(` +`);return h=h!==-1?h:e.length,r.lastIndex=h,xR(e.slice(0,h),t)}(),i=e[0]===` +`||e[0]===" ",s,o;o=r.exec(e);){var l=o[1],c=o[2];s=c[0]===" ",n+=l+(!i&&!s&&c!==""?` +`:"")+xR(c,t),i=s}return n}function xR(e,t){if(e===""||e[0]===" ")return e;for(var r=/ [^ ]/g,n,i=0,s,o=0,l=0,c="";n=r.exec(e);)l=n.index,l-i>t&&(s=o>i?o:l,c+=` +`+e.slice(i,s),i=s+1),o=l;return c+=` +`,e.length-i>t&&o>i?c+=e.slice(i,o)+` +`+e.slice(o+1):c+=e.slice(i),c.slice(1)}function Kce(e){for(var t="",r=0,n,i=0;i=65536?i+=2:i++)r=Tp(e,i),n=Bn[r],!n&&ad(r)?(t+=e[i],r>=65536&&(t+=e[i+1])):t+=n||Dce(r);return t}function Hce(e,t,r){var n="",i=e.tag,s,o,l;for(s=0,o=r.length;s"u"&&qo(e,t,null,!1,!1))&&(n!==""&&(n+=","+(e.condenseFlow?"":" ")),n+=e.dump);e.tag=i,e.dump="["+n+"]"}function AR(e,t,r,n){var i="",s=e.tag,o,l,c;for(o=0,l=r.length;o"u"&&qo(e,t+1,null,!0,!0,!1,!0))&&((!n||i!=="")&&(i+=Gw(e,t)),e.dump&&sd===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump);e.tag=s,e.dump=i||"[]"}function Jce(e,t,r){var n="",i=e.tag,s=Object.keys(r),o,l,c,h,v;for(o=0,l=s.length;o1024&&(v+="? "),v+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),qo(e,t,h,!1,!1)&&(v+=e.dump,n+=v));e.tag=i,e.dump="{"+n+"}"}function Gce(e,t,r,n){var i="",s=e.tag,o=Object.keys(r),l,c,h,v,y,S;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys=="function")o.sort(e.sortKeys);else if(e.sortKeys)throw new Hn("sortKeys must be a boolean or a function");for(l=0,c=o.length;l1024,y&&(e.dump&&sd===e.dump.charCodeAt(0)?S+="?":S+="? "),S+=e.dump,y&&(S+=Gw(e,t)),qo(e,t+1,v,!0,y)&&(e.dump&&sd===e.dump.charCodeAt(0)?S+=":":S+=": ",S+=e.dump,i+=S));e.tag=s,e.dump=i||"{}"}function OR(e,t,r){var n,i,s,o,l,c;for(i=r?e.explicitTypes:e.implicitTypes,s=0,o=i.length;s tag resolver accepts not "'+c+'" style');e.dump=n}return!0}return!1}function qo(e,t,r,n,i,s,o){e.tag=null,e.dump=r,OR(e,r,!1)||OR(e,r,!0);var l=hF.call(e.dump),c=n,h;n&&(n=e.flowLevel<0||e.flowLevel>t);var v=l==="[object Object]"||l==="[object Array]",y,S;if(v&&(y=e.duplicates.indexOf(r),S=y!==-1),(e.tag!==null&&e.tag!=="?"||S||e.indent!==2&&t>0)&&(i=!1),S&&e.usedDuplicates[y])e.dump="*ref_"+y;else{if(v&&S&&!e.usedDuplicates[y]&&(e.usedDuplicates[y]=!0),l==="[object Object]")n&&Object.keys(e.dump).length!==0?(Gce(e,t,e.dump,i),S&&(e.dump="&ref_"+y+e.dump)):(Jce(e,t,e.dump),S&&(e.dump="&ref_"+y+" "+e.dump));else if(l==="[object Array]")n&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?AR(e,t-1,e.dump,i):AR(e,t,e.dump,i),S&&(e.dump="&ref_"+y+e.dump)):(Hce(e,t,e.dump),S&&(e.dump="&ref_"+y+" "+e.dump));else if(l==="[object String]")e.tag!=="?"&&qce(e,e.dump,t,s,c);else{if(l==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new Hn("unacceptable kind of an object to dump "+l)}e.tag!==null&&e.tag!=="?"&&(h=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?h="!"+h:h.slice(0,18)==="tag:yaml.org,2002:"?h="!!"+h.slice(18):h="!<"+h+">",e.dump=h+" "+e.dump)}return!0}function Yce(e,t){var r=[],n=[],i,s;for(Xw(e,r,n),i=0,s=n.length;i"u"||!("document"in window))return{};var r=function(h,v,y){v=v||999,!y&&y!==0&&(y=9);var S,b=function(U){S=U},_=function(){clearTimeout(S),b(0)},$=function(U){return Math.max(0,h.getTopOf(U)-y)},P=function(U,z,J){if(_(),z===0||z&&z<0||t(h.body))h.toY(U),J&&J();else{var ee=h.getY(),Q=Math.max(0,U)-ee,f=new Date().getTime();z=z||Math.min(Math.abs(Q),v),function ce(){b(setTimeout(function(){var L=Math.min(1,(new Date().getTime()-f)/z),Fe=Math.max(0,Math.floor(ee+Q*(L<.5?2*L*L:L*(4-L*2)-1)));h.toY(Fe),L<1&&h.getHeight()+Fef?x(U,z,J):Q+y>L?P(Q-f+y,z,J):J&&J()},C=function(U,z,J,ee){P(Math.max(0,h.getTopOf(U)-h.getHeight()/2+(J||U.getBoundingClientRect().height/2)),z,ee)},j=function(U,z){return(U===0||U)&&(v=U),(z===0||z)&&(y=z),{defaultDuration:v,edgeOffset:y}};return{setup:j,to:x,toY:P,intoView:A,center:C,stop:_,moving:function(){return!!S},getY:h.getY,getTopOf:h.getTopOf}},n=document.documentElement,i=function(){return window.scrollY||n.scrollTop},s=r({body:document.scrollingElement||document.body,toY:function(h){window.scrollTo(0,h)},getY:i,getHeight:function(){return window.innerHeight||n.clientHeight},getTopOf:function(h){return h.getBoundingClientRect().top+i()-n.offsetTop}});if(s.createScroller=function(h,v,y){return r({body:h,toY:function(S){h.scrollTop=S},getY:function(){return h.scrollTop},getHeight:function(){return Math.min(h.clientHeight,window.innerHeight||n.clientHeight)},getTopOf:function(S){return S.offsetTop}},v,y)},"addEventListener"in window&&!window.noZensmooth&&!t(document.body)){var o="history"in window&&"pushState"in history,l=o&&"scrollRestoration"in history;l&&(history.scrollRestoration="auto"),window.addEventListener("load",function(){l&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(h){h.state&&"zenscrollY"in h.state&&s.toY(h.state.zenscrollY)},!1)),window.location.hash&&setTimeout(function(){var h=s.setup().edgeOffset;if(h){var v=document.getElementById(window.location.href.split("#")[1]);if(v){var y=Math.max(0,s.getTopOf(v)-h),S=s.getY()-y;0<=S&&S<9&&window.scrollTo(0,y)}}},9)},!1);var c=new RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",function(h){for(var v=h.target;v&&v.tagName!=="A";)v=v.parentNode;if(!(!v||h.which!==1||h.shiftKey||h.metaKey||h.ctrlKey||h.altKey)){if(l){var y=history.state&&typeof history.state=="object"?history.state:{};y.zenscrollY=s.getY();try{history.replaceState(y,"")}catch{}}var S=v.getAttribute("href")||"";if(S.indexOf("#")===0&&!c.test(v.className)){var b=0,_=document.getElementById(S.substring(1));if(S!=="#"){if(!_)return;b=s.getTopOf(_)}h.preventDefault();var $=function(){window.location=S},P=s.setup().edgeOffset;P&&(b=Math.max(0,b-P),o&&($=function(){history.pushState({},"",S)})),s.toY(b,null,$)}}},!1)}return s})})(AF);var dfe=AF.exports;const hfe=Tt(dfe);var N0=ss,mfe="<>",j0;{var Zi=function(){invariant(!1,"ImmutablePropTypes type checking code is stripped in production.")};Zi.isRequired=Zi;var es=function(){return Zi};j0={listOf:es,mapOf:es,orderedMapOf:es,setOf:es,orderedSetOf:es,stackOf:es,iterableOf:es,recordOf:es,shape:es,contains:es,mapContains:es,orderedMapContains:es,list:Zi,map:Zi,orderedMap:Zi,set:Zi,orderedSet:Zi,stack:Zi,seq:Zi,record:Zi,iterable:Zi}}j0.iterable.indexed=OF("Indexed",N0.Iterable.isIndexed);j0.iterable.keyed=OF("Keyed",N0.Iterable.isKeyed);function gfe(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":e instanceof N0.Iterable?"Immutable."+e.toSource().split(" ")[0]:t}function yfe(e){function t(n,i,s,o,l,c){for(var h=arguments.length,v=Array(h>6?h-6:0),y=6;y"u"&&VE!==void 0?function(e){return typeof e=="function"||e===VE}:function(e){return typeof e=="function"},wA={},Ffe=ys,Zo=!Ffe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),Lfe=Qd,tg=Function.prototype.call,Za=Lfe?tg.bind(tg):function(){return tg.apply(tg,arguments)},_A={},RF={}.propertyIsEnumerable,IF=Object.getOwnPropertyDescriptor,Bfe=IF&&!RF.call({1:2},1);_A.f=Bfe?function(t){var r=IF(this,t);return!!r&&r.enumerable}:RF;var Zd=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},Ufe=Si,Vfe=ys,zfe=SA,zE=Object,qfe=Ufe("".split),NF=Vfe(function(){return!zE("z").propertyIsEnumerable(0)})?function(e){return zfe(e)==="String"?qfe(e,""):zE(e)}:zE,xA=function(e){return e==null},Wfe=xA,Kfe=TypeError,AA=function(e){if(Wfe(e))throw new Kfe("Can't call method on "+e);return e},Hfe=NF,Jfe=AA,eh=function(e){return Hfe(Jfe(e))},Gfe=vs,wo=function(e){return typeof e=="object"?e!==null:Gfe(e)},th={},qE=th,WE=Di,Yfe=vs,kR=function(e){return Yfe(e)?e:void 0},rh=function(e,t){return arguments.length<2?kR(qE[e])||kR(WE[e]):qE[e]&&qE[e][t]||WE[e]&&WE[e][t]},Xfe=Si,nh=Xfe({}.isPrototypeOf),Qfe=typeof navigator<"u"&&String(navigator.userAgent)||"",jF=Di,KE=Qfe,TR=jF.process,PR=jF.Deno,RR=TR&&TR.versions||PR&&PR.version,IR=RR&&RR.v8,Ps,$y;IR&&(Ps=IR.split("."),$y=Ps[0]>0&&Ps[0]<4?1:+(Ps[0]+Ps[1]));!$y&&KE&&(Ps=KE.match(/Edge\/(\d+)/),(!Ps||Ps[1]>=74)&&(Ps=KE.match(/Chrome\/(\d+)/),Ps&&($y=+Ps[1])));var Zfe=$y,NR=Zfe,epe=ys,tpe=Di,rpe=tpe.String,MF=!!Object.getOwnPropertySymbols&&!epe(function(){var e=Symbol("symbol detection");return!rpe(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&NR&&NR<41}),npe=MF,DF=npe&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ipe=rh,spe=vs,ope=nh,ape=DF,lpe=Object,FF=ape?function(e){return typeof e=="symbol"}:function(e){var t=ipe("Symbol");return spe(t)&&ope(t.prototype,lpe(e))},upe=String,OA=function(e){try{return upe(e)}catch{return"Object"}},cpe=vs,fpe=OA,ppe=TypeError,ih=function(e){if(cpe(e))return e;throw new ppe(fpe(e)+" is not a function")},dpe=ih,hpe=xA,CA=function(e,t){var r=e[t];return hpe(r)?void 0:dpe(r)},HE=Za,JE=vs,GE=wo,mpe=TypeError,gpe=function(e,t){var r,n;if(t==="string"&&JE(r=e.toString)&&!GE(n=HE(r,e))||JE(r=e.valueOf)&&!GE(n=HE(r,e))||t!=="string"&&JE(r=e.toString)&&!GE(n=HE(r,e)))return n;throw new mpe("Can't convert object to primitive value")},LF={exports:{}},jR=Di,ype=Object.defineProperty,vpe=function(e,t){try{ype(jR,e,{value:t,configurable:!0,writable:!0})}catch{jR[e]=t}return t},bpe=Di,Epe=vpe,MR="__core-js_shared__",DR=LF.exports=bpe[MR]||Epe(MR,{});(DR.versions||(DR.versions=[])).push({version:"3.36.0",mode:"pure",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE",source:"https://github.com/zloirock/core-js"});var BF=LF.exports,FR=BF,UF=function(e,t){return FR[e]||(FR[e]=t||{})},Spe=AA,wpe=Object,$A=function(e){return wpe(Spe(e))},_pe=Si,xpe=$A,Ape=_pe({}.hasOwnProperty),_o=Object.hasOwn||function(t,r){return Ape(xpe(t),r)},Ope=Si,Cpe=0,$pe=Math.random(),kpe=Ope(1 .toString),VF=function(e){return"Symbol("+(e===void 0?"":e)+")_"+kpe(++Cpe+$pe,36)},Tpe=Di,Ppe=UF,LR=_o,Rpe=VF,Ipe=MF,Npe=DF,oc=Tpe.Symbol,YE=Ppe("wks"),jpe=Npe?oc.for||oc:oc&&oc.withoutSetter||Rpe,ea=function(e){return LR(YE,e)||(YE[e]=Ipe&&LR(oc,e)?oc[e]:jpe("Symbol."+e)),YE[e]},Mpe=Za,BR=wo,UR=FF,Dpe=CA,Fpe=gpe,Lpe=ea,Bpe=TypeError,Upe=Lpe("toPrimitive"),Vpe=function(e,t){if(!BR(e)||UR(e))return e;var r=Dpe(e,Upe),n;if(r){if(t===void 0&&(t="default"),n=Mpe(r,e,t),!BR(n)||UR(n))return n;throw new Bpe("Can't convert object to primitive value")}return t===void 0&&(t="number"),Fpe(e,t)},zpe=Vpe,qpe=FF,zF=function(e){var t=zpe(e,"string");return qpe(t)?t:t+""},Wpe=Di,VR=wo,Zw=Wpe.document,Kpe=VR(Zw)&&VR(Zw.createElement),qF=function(e){return Kpe?Zw.createElement(e):{}},Hpe=Zo,Jpe=ys,Gpe=qF,WF=!Hpe&&!Jpe(function(){return Object.defineProperty(Gpe("div"),"a",{get:function(){return 7}}).a!==7}),Ype=Zo,Xpe=Za,Qpe=_A,Zpe=Zd,ede=eh,tde=zF,rde=_o,nde=WF,zR=Object.getOwnPropertyDescriptor;wA.f=Ype?zR:function(t,r){if(t=ede(t),r=tde(r),nde)try{return zR(t,r)}catch{}if(rde(t,r))return Zpe(!Xpe(Qpe.f,t,r),t[r])};var ide=ys,sde=vs,ode=/#|\.prototype\./,sh=function(e,t){var r=lde[ade(e)];return r===cde?!0:r===ude?!1:sde(t)?ide(t):!!t},ade=sh.normalize=function(e){return String(e).replace(ode,".").toLowerCase()},lde=sh.data={},ude=sh.NATIVE="N",cde=sh.POLYFILL="P",fde=sh,qR=PF,pde=ih,dde=Qd,hde=qR(qR.bind),KF=function(e,t){return pde(e),t===void 0?e:dde?hde(e,t):function(){return e.apply(t,arguments)}},mu={},mde=Zo,gde=ys,HF=mde&&gde(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),yde=wo,vde=String,bde=TypeError,el=function(e){if(yde(e))return e;throw new bde(vde(e)+" is not an object")},Ede=Zo,Sde=WF,wde=HF,rg=el,WR=zF,_de=TypeError,XE=Object.defineProperty,xde=Object.getOwnPropertyDescriptor,QE="enumerable",ZE="configurable",eS="writable";mu.f=Ede?wde?function(t,r,n){if(rg(t),r=WR(r),rg(n),typeof t=="function"&&r==="prototype"&&"value"in n&&eS in n&&!n[eS]){var i=xde(t,r);i&&i[eS]&&(t[r]=n.value,n={configurable:ZE in n?n[ZE]:i[ZE],enumerable:QE in n?n[QE]:i[QE],writable:!1})}return XE(t,r,n)}:XE:function(t,r,n){if(rg(t),r=WR(r),rg(n),Sde)try{return XE(t,r,n)}catch{}if("get"in n||"set"in n)throw new _de("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var Ade=Zo,Ode=mu,Cde=Zd,tl=Ade?function(e,t,r){return Ode.f(e,t,Cde(1,r))}:function(e,t,r){return e[t]=r,e},hp=Di,$de=EA,kde=PF,Tde=vs,Pde=wA.f,Rde=fde,Wu=th,Ide=KF,Ku=tl,KR=_o,Nde=function(e){var t=function(r,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,i)}return $de(e,this,arguments)};return t.prototype=e.prototype,t},cf=function(e,t){var r=e.target,n=e.global,i=e.stat,s=e.proto,o=n?hp:i?hp[r]:hp[r]&&hp[r].prototype,l=n?Wu:Wu[r]||Ku(Wu,r,{})[r],c=l.prototype,h,v,y,S,b,_,$,P,x;for(S in t)h=Rde(n?S:r+(i?".":"#")+S,e.forced),v=!h&&o&&KR(o,S),_=l[S],v&&(e.dontCallGetSet?(x=Pde(o,S),$=x&&x.value):$=o[S]),b=v&&$?$:t[S],!(!h&&!s&&typeof _==typeof b)&&(e.bind&&v?P=Ide(b,hp):e.wrap&&v?P=Nde(b):s&&Tde(b)?P=kde(b):P=b,(e.sham||b&&b.sham||_&&_.sham)&&Ku(P,"sham",!0),Ku(l,S,P),s&&(y=r+"Prototype",KR(Wu,y)||Ku(Wu,y,{}),Ku(Wu[y],S,b),e.real&&c&&(h||!c[S])&&Ku(c,S,b)))},jde=Math.ceil,Mde=Math.floor,Dde=Math.trunc||function(t){var r=+t;return(r>0?Mde:jde)(r)},Fde=Dde,kA=function(e){var t=+e;return t!==t||t===0?0:Fde(t)},Lde=kA,Bde=Math.max,Ude=Math.min,Vde=function(e,t){var r=Lde(e);return r<0?Bde(r+t,0):Ude(r,t)},zde=kA,qde=Math.min,Wde=function(e){var t=zde(e);return t>0?qde(t,9007199254740991):0},Kde=Wde,JF=function(e){return Kde(e.length)},Hde=eh,Jde=Vde,Gde=JF,HR=function(e){return function(t,r,n){var i=Hde(t),s=Gde(i);if(s===0)return!e&&-1;var o=Jde(n,s),l;if(e&&r!==r){for(;s>o;)if(l=i[o++],l!==l)return!0}else for(;s>o;o++)if((e||o in i)&&i[o]===r)return e||o||0;return!e&&-1}},Yde={includes:HR(!0),indexOf:HR(!1)},TA={},Xde=Si,tS=_o,Qde=eh,Zde=Yde.indexOf,ehe=TA,JR=Xde([].push),GF=function(e,t){var r=Qde(e),n=0,i=[],s;for(s in r)!tS(ehe,s)&&tS(r,s)&&JR(i,s);for(;t.length>n;)tS(r,s=t[n++])&&(~Zde(i,s)||JR(i,s));return i},PA=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],the=GF,rhe=PA,YF=Object.keys||function(t){return the(t,rhe)},RA={};RA.f=Object.getOwnPropertySymbols;var GR=Zo,nhe=Si,ihe=Za,she=ys,rS=YF,ohe=RA,ahe=_A,lhe=$A,uhe=NF,Hu=Object.assign,YR=Object.defineProperty,che=nhe([].concat),fhe=!Hu||she(function(){if(GR&&Hu({b:1},Hu(YR({},"a",{enumerable:!0,get:function(){YR(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(i){t[i]=i}),Hu({},e)[r]!==7||rS(Hu({},t)).join("")!==n})?function(t,r){for(var n=lhe(t),i=arguments.length,s=1,o=ohe.f,l=ahe.f;i>s;)for(var c=uhe(arguments[s++]),h=o?che(rS(c),o(c)):rS(c),v=h.length,y=0,S;v>y;)S=h[y++],(!GR||ihe(l,c,S))&&(n[S]=c[S]);return n}:Hu,phe=cf,XR=fhe;phe({target:"Object",stat:!0,arity:2,forced:Object.assign!==XR},{assign:XR});var dhe=th,hhe=dhe.Object.assign,mhe=hhe,ghe=mhe,yhe=ghe,vhe=yhe,bhe=vhe,Ehe=bhe,She=Ehe;const QR=Tt(She);var whe=Si,_he=whe([].slice),XF=Si,xhe=ih,Ahe=wo,Ohe=_o,ZR=_he,Che=Qd,QF=Function,$he=XF([].concat),khe=XF([].join),nS={},The=function(e,t,r){if(!Ohe(nS,t)){for(var n=[],i=0;i"u"){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var y=tI[t.format]||tI.default;window.clipboardData.setData(y,e)}else v.clipboardData.clearData(),v.clipboardData.setData(t.format,e);t.onCopy&&(v.preventDefault(),t.onCopy(v.clipboardData))}),document.body.appendChild(l),s.selectNodeContents(l),o.addRange(s);var h=document.execCommand("copy");if(!h)throw new Error("copy command was unsuccessful");c=!0}catch(v){r&&console.error("unable to copy using execCommand: ",v),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(y){r&&console.error("unable to copy using clipboardData: ",y),r&&console.error("falling back to prompt"),n=Qhe("message"in t?t.message:Xhe),window.prompt(n,e)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(s):o.removeAllRanges()),l&&document.body.removeChild(l),i()}return c}var eme=Zhe;function t_(e){"@babel/helpers - typeof";return t_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t_(e)}Object.defineProperty(M0,"__esModule",{value:!0});M0.CopyToClipboard=void 0;var ng=ZF(xn),tme=ZF(eme),rme=["text","onCopy","options","children"];function ZF(e){return e&&e.__esModule?e:{default:e}}function rI(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function nI(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ime(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,s;for(s=0;s=0)&&(r[i]=e[i]);return r}function sme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iI(e,t){for(var r=0;r"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ky(e){return ky=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ky(e)}function IA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var tL=function(e){ame(r,e);var t=lme(r);function r(){var n;sme(this,r);for(var i=arguments.length,s=new Array(i),o=0;o=0)&&(r[i]=e[i]);return r}function hme(e,t){if(e==null)return{};var r=dme(e,t),n,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function i_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var sS={};function _me(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return sS[t]||(sS[t]=wme(e)),sS[t]}function xme(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(s){return s!=="token"}),i=_me(n);return i.reduce(function(s,o){return ac(ac({},s),r[o])},t)}function oI(e){return e.join(" ")}function Ame(e,t){var r=0;return function(n){return r+=1,n.map(function(i,s){return nL({node:i,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(s)})})}}function nL(e){var t=e.node,r=e.stylesheet,n=e.style,i=n===void 0?{}:n,s=e.useInlineStyles,o=e.key,l=t.properties,c=t.type,h=t.tagName,v=t.value;if(c==="text")return v;if(h){var y=Ame(r,s),S;if(!s)S=ac(ac({},l),{},{className:oI(l.className)});else{var b=Object.keys(r).reduce(function(x,A){return A.split(".").forEach(function(C){x.includes(C)||x.push(C)}),x},[]),_=l.className&&l.className.includes("token")?["token"]:[],$=l.className&&_.concat(l.className.filter(function(x){return!b.includes(x)}));S=ac(ac({},l),{},{className:oI($)||void 0,style:xme(l.className,Object.assign({},l.style,i),r)})}var P=y(t.children);return ls.createElement(h,s_({key:o},S),P)}}const Ome=function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1};var Cme=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function aI(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function no(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n2&&arguments[2]!==void 0?arguments[2]:[];return qg({children:U,lineNumber:z,lineNumberStyle:l,largestLineNumber:o,showInlineLineNumbers:i,lineProps:r,className:J,showLineNumbers:n,wrapLongLines:c})}function $(U,z){if(n&&z&&i){var J=sL(l,z,o);U.unshift(iL(z,J))}return U}function P(U,z){var J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||J.length>0?_(U,z,J):$(U,z)}for(var x=function(){var z=v[b],J=z.children[0].value,ee=kme(J);if(ee){var Q=J.split(` +`);Q.forEach(function(f,ce){var L=n&&y.length+s,Fe={type:"text",value:"".concat(f,` +`)};if(ce===0){var Xe=v.slice(S+1,b).concat(qg({children:[Fe],className:z.properties.className})),Ye=P(Xe,L);y.push(Ye)}else if(ce===Q.length-1){var he=v[b+1]&&v[b+1].children&&v[b+1].children[0],de={type:"text",value:"".concat(f)};if(he){var ge=qg({children:[de],className:z.properties.className});v.splice(b+1,0,ge)}else{var pe=[de],be=P(pe,L,z.properties.className);y.push(be)}}else{var ye=[Fe],Le=P(ye,L,z.properties.className);y.push(Le)}}),S=b}b++};b/g,">").replace(/"/g,""").replace(/'/g,"'")}function Na(e,...t){const r=Object.create(null);for(const n in e)r[n]=e[n];return t.forEach(function(n){for(const i in n)r[i]=n[i]}),r}const Fme="",uI=e=>!!e.kind;class Lme{constructor(t,r){this.buffer="",this.classPrefix=r.classPrefix,t.walk(this)}addText(t){this.buffer+=Sc(t)}openNode(t){if(!uI(t))return;let r=t.kind;t.sublanguage||(r=`${this.classPrefix}${r}`),this.span(r)}closeNode(t){uI(t)&&(this.buffer+=Fme)}value(){return this.buffer}span(t){this.buffer+=``}}class jA{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const r={kind:t,children:[]};this.add(r),this.stack.push(r)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,r){return typeof r=="string"?t.addText(r):r.children&&(t.openNode(r),r.children.forEach(n=>this._walk(t,n)),t.closeNode(r)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(r=>typeof r=="string")?t.children=[t.children.join("")]:t.children.forEach(r=>{jA._collapse(r)}))}}class Bme extends jA{constructor(t){super(),this.options=t}addKeyword(t,r){t!==""&&(this.openNode(r),this.addText(t),this.closeNode())}addText(t){t!==""&&this.add(t)}addSublanguage(t,r){const n=t.root;n.kind=r,n.sublanguage=!0,this.add(n)}toHTML(){return new Lme(this,this.options).value()}finalize(){return!0}}function Ume(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function cd(e){return e?typeof e=="string"?e:e.source:null}function Vme(...e){return e.map(r=>cd(r)).join("")}function zme(...e){return"("+e.map(r=>cd(r)).join("|")+")"}function qme(e){return new RegExp(e.toString()+"|").exec("").length-1}function Wme(e,t){const r=e&&e.exec(t);return r&&r.index===0}const Kme=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Hme(e,t="|"){let r=0;return e.map(n=>{r+=1;const i=r;let s=cd(n),o="";for(;s.length>0;){const l=Kme.exec(s);if(!l){o+=s;break}o+=s.substring(0,l.index),s=s.substring(l.index+l[0].length),l[0][0]==="\\"&&l[1]?o+="\\"+String(Number(l[1])+i):(o+=l[0],l[0]==="("&&r++)}return o}).map(n=>`(${n})`).join(t)}const Jme=/\b\B/,uL="[a-zA-Z]\\w*",MA="[a-zA-Z_]\\w*",DA="\\b\\d+(\\.\\d+)?",cL="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",fL="\\b(0b[01]+)",Gme="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Yme=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=Vme(t,/.*\b/,e.binary,/\b.*/)),Na({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(r,n)=>{r.index!==0&&n.ignoreMatch()}},e)},fd={begin:"\\\\[\\s\\S]",relevance:0},Xme={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[fd]},Qme={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[fd]},pL={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/},D0=function(e,t,r={}){const n=Na({className:"comment",begin:e,end:t,contains:[]},r);return n.contains.push(pL),n.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),n},Zme=D0("//","$"),ege=D0("/\\*","\\*/"),tge=D0("#","$"),rge={className:"number",begin:DA,relevance:0},nge={className:"number",begin:cL,relevance:0},ige={className:"number",begin:fL,relevance:0},sge={className:"number",begin:DA+"(%|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},oge={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[fd,{begin:/\[/,end:/\]/,relevance:0,contains:[fd]}]}]},age={className:"title",begin:uL,relevance:0},lge={className:"title",begin:MA,relevance:0},uge={begin:"\\.\\s*"+MA,relevance:0},cge=function(e){return Object.assign(e,{"on:begin":(t,r)=>{r.data._beginMatch=t[1]},"on:end":(t,r)=>{r.data._beginMatch!==t[1]&&r.ignoreMatch()}})};var ig=Object.freeze({__proto__:null,MATCH_NOTHING_RE:Jme,IDENT_RE:uL,UNDERSCORE_IDENT_RE:MA,NUMBER_RE:DA,C_NUMBER_RE:cL,BINARY_NUMBER_RE:fL,RE_STARTERS_RE:Gme,SHEBANG:Yme,BACKSLASH_ESCAPE:fd,APOS_STRING_MODE:Xme,QUOTE_STRING_MODE:Qme,PHRASAL_WORDS_MODE:pL,COMMENT:D0,C_LINE_COMMENT_MODE:Zme,C_BLOCK_COMMENT_MODE:ege,HASH_COMMENT_MODE:tge,NUMBER_MODE:rge,C_NUMBER_MODE:nge,BINARY_NUMBER_MODE:ige,CSS_NUMBER_MODE:sge,REGEXP_MODE:oge,TITLE_MODE:age,UNDERSCORE_TITLE_MODE:lge,METHOD_GUARD:uge,END_SAME_AS_BEGIN:cge});function fge(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function pge(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=fge,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function dge(e,t){Array.isArray(e.illegal)&&(e.illegal=zme(...e.illegal))}function hge(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function mge(e,t){e.relevance===void 0&&(e.relevance=1)}const gge=["of","and","for","in","not","or","if","then","parent","list","value"],yge="keyword";function dL(e,t,r=yge){const n={};return typeof e=="string"?i(r,e.split(" ")):Array.isArray(e)?i(r,e):Object.keys(e).forEach(function(s){Object.assign(n,dL(e[s],t,s))}),n;function i(s,o){t&&(o=o.map(l=>l.toLowerCase())),o.forEach(function(l){const c=l.split("|");n[c[0]]=[s,vge(c[0],c[1])]})}}function vge(e,t){return t?Number(t):bge(e)?0:1}function bge(e){return gge.includes(e.toLowerCase())}function Ege(e,{plugins:t}){function r(l,c){return new RegExp(cd(l),"m"+(e.case_insensitive?"i":"")+(c?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(c,h){h.position=this.position++,this.matchIndexes[this.matchAt]=h,this.regexes.push([h,c]),this.matchAt+=qme(c)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const c=this.regexes.map(h=>h[1]);this.matcherRe=r(Hme(c),!0),this.lastIndex=0}exec(c){this.matcherRe.lastIndex=this.lastIndex;const h=this.matcherRe.exec(c);if(!h)return null;const v=h.findIndex((S,b)=>b>0&&S!==void 0),y=this.matchIndexes[v];return h.splice(0,v),Object.assign(h,y)}}class i{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(c){if(this.multiRegexes[c])return this.multiRegexes[c];const h=new n;return this.rules.slice(c).forEach(([v,y])=>h.addRule(v,y)),h.compile(),this.multiRegexes[c]=h,h}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(c,h){this.rules.push([c,h]),h.type==="begin"&&this.count++}exec(c){const h=this.getMatcher(this.regexIndex);h.lastIndex=this.lastIndex;let v=h.exec(c);if(this.resumingScanAtSamePosition()&&!(v&&v.index===this.lastIndex)){const y=this.getMatcher(0);y.lastIndex=this.lastIndex+1,v=y.exec(c)}return v&&(this.regexIndex+=v.position+1,this.regexIndex===this.count&&this.considerAll()),v}}function s(l){const c=new i;return l.contains.forEach(h=>c.addRule(h.begin,{rule:h,type:"begin"})),l.terminatorEnd&&c.addRule(l.terminatorEnd,{type:"end"}),l.illegal&&c.addRule(l.illegal,{type:"illegal"}),c}function o(l,c){const h=l;if(l.isCompiled)return h;[hge].forEach(y=>y(l,c)),e.compilerExtensions.forEach(y=>y(l,c)),l.__beforeBegin=null,[pge,dge,mge].forEach(y=>y(l,c)),l.isCompiled=!0;let v=null;if(typeof l.keywords=="object"&&(v=l.keywords.$pattern,delete l.keywords.$pattern),l.keywords&&(l.keywords=dL(l.keywords,e.case_insensitive)),l.lexemes&&v)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return v=v||l.lexemes||/\w+/,h.keywordPatternRe=r(v,!0),c&&(l.begin||(l.begin=/\B|\b/),h.beginRe=r(l.begin),l.endSameAsBegin&&(l.end=l.begin),!l.end&&!l.endsWithParent&&(l.end=/\B|\b/),l.end&&(h.endRe=r(l.end)),h.terminatorEnd=cd(l.end)||"",l.endsWithParent&&c.terminatorEnd&&(h.terminatorEnd+=(l.end?"|":"")+c.terminatorEnd)),l.illegal&&(h.illegalRe=r(l.illegal)),l.contains||(l.contains=[]),l.contains=[].concat(...l.contains.map(function(y){return Sge(y==="self"?l:y)})),l.contains.forEach(function(y){o(y,h)}),l.starts&&o(l.starts,c),h.matcher=s(h),h}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=Na(e.classNameAliases||{}),o(e)}function hL(e){return e?e.endsWithParent||hL(e.starts):!1}function Sge(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Na(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:hL(e)?Na(e,{starts:e.starts?Na(e.starts):null}):Object.isFrozen(e)?Na(e):e}var wge="10.7.3";function _ge(e){return!!(e||e==="")}function xge(e){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,Sc(this.code);let n={};return this.autoDetect?(n=e.highlightAuto(this.code),this.detectedLanguage=n.language):(n=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),n.value},autoDetect(){return!this.language||_ge(this.autodetect)},ignoreIllegals(){return!0}},render(n){return n("pre",{},[n("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(n){n.component("highlightjs",t)}}}}const Age={"after:highlightElement":({el:e,result:t,text:r})=>{const n=cI(e);if(!n.length)return;const i=document.createElement("div");i.innerHTML=t.value,t.value=Oge(n,cI(i),r)}};function o_(e){return e.nodeName.toLowerCase()}function cI(e){const t=[];return function r(n,i){for(let s=n.firstChild;s;s=s.nextSibling)s.nodeType===3?i+=s.nodeValue.length:s.nodeType===1&&(t.push({event:"start",offset:i,node:s}),i=r(s,i),o_(s).match(/br|hr|img|input/)||t.push({event:"stop",offset:i,node:s}));return i}(e,0),t}function Oge(e,t,r){let n=0,i="";const s=[];function o(){return!e.length||!t.length?e.length?e:t:e[0].offset!==t[0].offset?e[0].offset"}function c(v){i+=""}function h(v){(v.event==="start"?l:c)(v.node)}for(;e.length||t.length;){let v=o();if(i+=Sc(r.substring(n,v[0].offset)),n=v[0].offset,v===e){s.reverse().forEach(c);do h(v.splice(0,1)[0]),v=o();while(v===e&&v.length&&v[0].offset===n);s.reverse().forEach(l)}else v[0].event==="start"?s.push(v[0].node):s.pop(),h(v.splice(0,1)[0])}return i+Sc(r.substr(n))}const fI={},oS=e=>{console.error(e)},pI=(e,...t)=>{console.log(`WARN: ${e}`,...t)},ts=(e,t)=>{fI[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),fI[`${e}/${t}`]=!0)},aS=Sc,dI=Na,hI=Symbol("nomatch"),Cge=function(e){const t=Object.create(null),r=Object.create(null),n=[];let i=!0;const s=/(^(<[^>]+>|\t|)+|\n)/gm,o="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]};let c={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:Bme};function h(se){return c.noHighlightRe.test(se)}function v(se){let _e=se.className+" ";_e+=se.parentNode?se.parentNode.className:"";const Z=c.languageDetectRe.exec(_e);if(Z){const V=Ye(Z[1]);return V||(pI(o.replace("{}",Z[1])),pI("Falling back to no-highlight mode for this block.",se)),V?Z[1]:"no-highlight"}return _e.split(/\s+/).find(V=>h(V)||Ye(V))}function y(se,_e,Z,V){let q="",Ae="";typeof _e=="object"?(q=se,Z=_e.ignoreIllegals,Ae=_e.language,V=void 0):(ts("10.7.0","highlight(lang, code, ...args) has been deprecated."),ts("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),Ae=se,q=_e);const Ee={code:q,language:Ae};be("before:highlight",Ee);const We=Ee.result?Ee.result:S(Ee.language,Ee.code,Z,V);return We.code=Ee.code,be("after:highlight",We),We}function S(se,_e,Z,V){function q(ut,nt){const vt=T.case_insensitive?nt[0].toLowerCase():nt[0];return Object.prototype.hasOwnProperty.call(ut.keywords,vt)&&ut.keywords[vt]}function Ae(){if(!te.keywords){me.addText(Ke);return}let ut=0;te.keywordPatternRe.lastIndex=0;let nt=te.keywordPatternRe.exec(Ke),vt="";for(;nt;){vt+=Ke.substring(ut,nt.index);const Lt=q(te,nt);if(Lt){const[Mr,zt]=Lt;if(me.addText(vt),vt="",yt+=zt,Mr.startsWith("_"))vt+=nt[0];else{const si=T.classNameAliases[Mr]||Mr;me.addKeyword(nt[0],si)}}else vt+=nt[0];ut=te.keywordPatternRe.lastIndex,nt=te.keywordPatternRe.exec(Ke)}vt+=Ke.substr(ut),me.addText(vt)}function Ee(){if(Ke==="")return;let ut=null;if(typeof te.subLanguage=="string"){if(!t[te.subLanguage]){me.addText(Ke);return}ut=S(te.subLanguage,Ke,!0,ue[te.subLanguage]),ue[te.subLanguage]=ut.top}else ut=_(Ke,te.subLanguage.length?te.subLanguage:null);te.relevance>0&&(yt+=ut.relevance),me.addSublanguage(ut.emitter,ut.language)}function We(){te.subLanguage!=null?Ee():Ae(),Ke=""}function lt(ut){return ut.className&&me.openNode(T.classNameAliases[ut.className]||ut.className),te=Object.create(ut,{parent:{value:te}}),te}function ze(ut,nt,vt){let Lt=Wme(ut.endRe,vt);if(Lt){if(ut["on:end"]){const Mr=new lI(ut);ut["on:end"](nt,Mr),Mr.isMatchIgnored&&(Lt=!1)}if(Lt){for(;ut.endsParent&&ut.parent;)ut=ut.parent;return ut}}if(ut.endsWithParent)return ze(ut.parent,nt,vt)}function rt(ut){return te.matcher.regexIndex===0?(Ke+=ut[0],1):(At=!0,0)}function Pt(ut){const nt=ut[0],vt=ut.rule,Lt=new lI(vt),Mr=[vt.__beforeBegin,vt["on:begin"]];for(const zt of Mr)if(zt&&(zt(ut,Lt),Lt.isMatchIgnored))return rt(nt);return vt&&vt.endSameAsBegin&&(vt.endRe=Ume(nt)),vt.skip?Ke+=nt:(vt.excludeBegin&&(Ke+=nt),We(),!vt.returnBegin&&!vt.excludeBegin&&(Ke=nt)),lt(vt),vt.returnBegin?0:nt.length}function mt(ut){const nt=ut[0],vt=_e.substr(ut.index),Lt=ze(te,ut,vt);if(!Lt)return hI;const Mr=te;Mr.skip?Ke+=nt:(Mr.returnEnd||Mr.excludeEnd||(Ke+=nt),We(),Mr.excludeEnd&&(Ke=nt));do te.className&&me.closeNode(),!te.skip&&!te.subLanguage&&(yt+=te.relevance),te=te.parent;while(te!==Lt.parent);return Lt.starts&&(Lt.endSameAsBegin&&(Lt.starts.endRe=Lt.endRe),lt(Lt.starts)),Mr.returnEnd?0:nt.length}function Rt(){const ut=[];for(let nt=te;nt!==T;nt=nt.parent)nt.className&&ut.unshift(nt.className);ut.forEach(nt=>me.openNode(nt))}let Ur={};function K(ut,nt){const vt=nt&&nt[0];if(Ke+=ut,vt==null)return We(),0;if(Ur.type==="begin"&&nt.type==="end"&&Ur.index===nt.index&&vt===""){if(Ke+=_e.slice(nt.index,nt.index+1),!i){const Lt=new Error("0 width match regex");throw Lt.languageName=se,Lt.badRule=Ur.rule,Lt}return 1}if(Ur=nt,nt.type==="begin")return Pt(nt);if(nt.type==="illegal"&&!Z){const Lt=new Error('Illegal lexeme "'+vt+'" for mode "'+(te.className||"")+'"');throw Lt.mode=te,Lt}else if(nt.type==="end"){const Lt=mt(nt);if(Lt!==hI)return Lt}if(nt.type==="illegal"&&vt==="")return 1;if(Ct>1e5&&Ct>nt.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Ke+=vt,vt.length}const T=Ye(se);if(!T)throw oS(o.replace("{}",se)),new Error('Unknown language: "'+se+'"');const I=Ege(T,{plugins:n});let Y="",te=V||I;const ue={},me=new c.__emitter(c);Rt();let Ke="",yt=0,_t=0,Ct=0,At=!1;try{for(te.matcher.considerAll();;){Ct++,At?At=!1:te.matcher.considerAll(),te.matcher.lastIndex=_t;const ut=te.matcher.exec(_e);if(!ut)break;const nt=_e.substring(_t,ut.index),vt=K(nt,ut);_t=ut.index+vt}return K(_e.substr(_t)),me.closeAllNodes(),me.finalize(),Y=me.toHTML(),{relevance:Math.floor(yt),value:Y,language:se,illegal:!1,emitter:me,top:te}}catch(ut){if(ut.message&&ut.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:ut.message,context:_e.slice(_t-100,_t+100),mode:ut.mode},sofar:Y,relevance:0,value:aS(_e),emitter:me};if(i)return{illegal:!1,relevance:0,value:aS(_e),emitter:me,language:se,top:te,errorRaised:ut};throw ut}}function b(se){const _e={relevance:0,emitter:new c.__emitter(c),value:aS(se),illegal:!1,top:l};return _e.emitter.addText(se),_e}function _(se,_e){_e=_e||c.languages||Object.keys(t);const Z=b(se),V=_e.filter(Ye).filter(de).map(lt=>S(lt,se,!1));V.unshift(Z);const q=V.sort((lt,ze)=>{if(lt.relevance!==ze.relevance)return ze.relevance-lt.relevance;if(lt.language&&ze.language){if(Ye(lt.language).supersetOf===ze.language)return 1;if(Ye(ze.language).supersetOf===lt.language)return-1}return 0}),[Ae,Ee]=q,We=Ae;return We.second_best=Ee,We}function $(se){return c.tabReplace||c.useBR?se.replace(s,_e=>_e===` +`?c.useBR?"
":_e:c.tabReplace?_e.replace(/\t/g,c.tabReplace):_e):se}function P(se,_e,Z){const V=_e?r[_e]:Z;se.classList.add("hljs"),V&&se.classList.add(V)}const x={"before:highlightElement":({el:se})=>{c.useBR&&(se.innerHTML=se.innerHTML.replace(/\n/g,"").replace(//g,` +`))},"after:highlightElement":({result:se})=>{c.useBR&&(se.value=se.value.replace(/\n/g,"
"))}},A=/^(<[^>]+>|\t)+/gm,C={"after:highlightElement":({result:se})=>{c.tabReplace&&(se.value=se.value.replace(A,_e=>_e.replace(/\t/g,c.tabReplace)))}};function j(se){let _e=null;const Z=v(se);if(h(Z))return;be("before:highlightElement",{el:se,language:Z}),_e=se;const V=_e.textContent,q=Z?y(V,{language:Z,ignoreIllegals:!0}):_(V);be("after:highlightElement",{el:se,result:q,text:V}),se.innerHTML=q.value,P(se,Z,q.language),se.result={language:q.language,re:q.relevance,relavance:q.relevance},q.second_best&&(se.second_best={language:q.second_best.language,re:q.second_best.relevance,relavance:q.second_best.relevance})}function U(se){se.useBR&&(ts("10.3.0","'useBR' will be removed entirely in v11.0"),ts("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),c=dI(c,se)}const z=()=>{if(z.called)return;z.called=!0,ts("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(j)};function J(){ts("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),ee=!0}let ee=!1;function Q(){if(document.readyState==="loading"){ee=!0;return}document.querySelectorAll("pre code").forEach(j)}function f(){ee&&Q()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",f,!1);function ce(se,_e){let Z=null;try{Z=_e(e)}catch(V){if(oS("Language definition for '{}' could not be registered.".replace("{}",se)),i)oS(V);else throw V;Z=l}Z.name||(Z.name=se),t[se]=Z,Z.rawDefinition=_e.bind(null,e),Z.aliases&&he(Z.aliases,{languageName:se})}function L(se){delete t[se];for(const _e of Object.keys(r))r[_e]===se&&delete r[_e]}function Fe(){return Object.keys(t)}function Xe(se){ts("10.4.0","requireLanguage will be removed entirely in v11."),ts("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const _e=Ye(se);if(_e)return _e;throw new Error("The '{}' language is required, but not loaded.".replace("{}",se))}function Ye(se){return se=(se||"").toLowerCase(),t[se]||t[r[se]]}function he(se,{languageName:_e}){typeof se=="string"&&(se=[se]),se.forEach(Z=>{r[Z.toLowerCase()]=_e})}function de(se){const _e=Ye(se);return _e&&!_e.disableAutodetect}function ge(se){se["before:highlightBlock"]&&!se["before:highlightElement"]&&(se["before:highlightElement"]=_e=>{se["before:highlightBlock"](Object.assign({block:_e.el},_e))}),se["after:highlightBlock"]&&!se["after:highlightElement"]&&(se["after:highlightElement"]=_e=>{se["after:highlightBlock"](Object.assign({block:_e.el},_e))})}function pe(se){ge(se),n.push(se)}function be(se,_e){const Z=se;n.forEach(function(V){V[Z]&&V[Z](_e)})}function ye(se){return ts("10.2.0","fixMarkup will be removed entirely in v11.0"),ts("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),$(se)}function Le(se){return ts("10.7.0","highlightBlock will be removed entirely in v12.0"),ts("10.7.0","Please use highlightElement now."),j(se)}Object.assign(e,{highlight:y,highlightAuto:_,highlightAll:Q,fixMarkup:ye,highlightElement:j,highlightBlock:Le,configure:U,initHighlighting:z,initHighlightingOnLoad:J,registerLanguage:ce,unregisterLanguage:L,listLanguages:Fe,getLanguage:Ye,registerAliases:he,requireLanguage:Xe,autoDetection:de,inherit:dI,addPlugin:pe,vuePlugin:xge(e).VuePlugin}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=wge;for(const se in ig)typeof ig[se]=="object"&&lL(ig[se]);return Object.assign(e,ig),e.addPlugin(x),e.addPlugin(Age),e.addPlugin(C),e};var $ge=Cge({}),kge=$ge,mL={exports:{}};(function(e){(function(){var t;t=e.exports=i,t.format=i,t.vsprintf=n,typeof console<"u"&&typeof console.log=="function"&&(t.printf=r);function r(){console.log(i.apply(null,arguments))}function n(s,o){return i.apply(null,[s].concat(o))}function i(s){for(var o=1,l=[].slice.call(arguments),c=0,h=s.length,v="",y,S=!1,b,_,$=!1,P,x=function(){return l[o++]},A=function(){for(var C="";/\d/.test(s[c]);)C+=s[c++],y=s[c];return C.length>0?parseInt(C):null};cl.relevance&&(l=c),c.relevance>o.relevance&&(l=o,o=c));return l.language&&(o.secondBest=l),o}function jge(e,t){oo.registerLanguage(e,t)}function Mge(){return oo.listLanguages()}function Dge(e,t){var r=e,n;t&&(r={},r[e]=t);for(n in r)oo.registerAliases(r[n],{languageName:n})}function ta(e){this.options=e,this.rootNode={children:[]},this.stack=[this.rootNode]}function Fge(e,t){this.openNode(t),this.addText(e),this.closeNode()}function Lge(e,t){var r=this.stack,n=r[r.length-1],i=e.rootNode.children,s=t?{type:"element",tagName:"span",properties:{className:[t]},children:i}:i;n.children=n.children.concat(s)}function Bge(e){var t=this.stack,r,n;e!==""&&(r=t[t.length-1],n=r.children[r.children.length-1],n&&n.type==="text"?n.value+=e:r.children.push({type:"text",value:e}))}function Uge(e){var t=this.stack,r=this.options.classPrefix+e,n=t[t.length-1],i={type:"element",tagName:"span",properties:{className:[r]},children:[]};n.children.push(i),t.push(i)}function Vge(){this.stack.pop()}function zge(){return""}function yL(){}var vL=Mme(gu,{});vL.registerLanguage=gu.registerLanguage;const qge=vL,mI="[A-Za-z$_][0-9A-Za-z$_]*",Wge=["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"],Kge=["true","false","null","undefined","NaN","Infinity"],Hge=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],Jge=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Gge=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Yge=["arguments","this","super","console","window","document","localStorage","module","global"],Xge=[].concat(Gge,Yge,Hge,Jge);function Qge(e){return e?typeof e=="string"?e:e.source:null}function gI(e){return a_("(?=",e,")")}function a_(...e){return e.map(r=>Qge(r)).join("")}function Zge(e){const t=(j,{after:U})=>{const z="",end:""},i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(j,U)=>{const z=j[0].length+j.index,J=j.input[z];if(J==="<"){U.ignoreMatch();return}J===">"&&(t(j,{after:z})||U.ignoreMatch())}},s={$pattern:mI,keyword:Wge,literal:Kge,built_in:Xge},o="[0-9](_?[0-9])*",l=`\\.(${o})`,c="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",h={className:"number",variants:[{begin:`(\\b(${c})((${l})|\\.)?|(${l}))[eE][+-]?(${o})\\b`},{begin:`\\b(${c})\\b((${l})\\b|\\.)?|(${l})\\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},v={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},y={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,v],subLanguage:"xml"}},S={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,v],subLanguage:"css"}},b={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,v]},$={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},P=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,y,S,b,h,e.REGEXP_MODE];v.contains=P.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(P)});const x=[].concat($,v.contains),A=x.concat([{begin:/\(/,end:/\)/,keywords:s,contains:["self"].concat(x)}]),C={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:A};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:A},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,y,S,b,$,h,{begin:a_(/[{,\n]\s*/,gI(a_(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,r+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:r+gI("\\s*:"),relevance:0}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[$,e.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:A}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:n.begin,end:n.end},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:s,contains:["self",e.inherit(e.TITLE_MODE,{begin:r}),C],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[C,e.inherit(e.TITLE_MODE,{begin:r})]},{variants:[{begin:"\\."+r},{begin:"\\$"+r}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:r}),"self",C]},{begin:"(get|set)\\s+(?="+r+"\\()",end:/\{/,keywords:"get set",contains:[e.inherit(e.TITLE_MODE,{begin:r}),{begin:/\(\)/},C]},{begin:/\$[(.]/}]}}var eye=Zge;const tye=Tt(eye);function rye(e){const t={literal:"true false null"},r=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],n=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],i={end:",",endsWithParent:!0,excludeEnd:!0,contains:n,keywords:t},s={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n"},e.inherit(i,{begin:/:/})].concat(r),illegal:"\\S"},o={begin:"\\[",end:"\\]",contains:[e.inherit(i)],illegal:"\\S"};return n.push(s,o),r.forEach(function(l){n.push(l)}),{name:"JSON",contains:n,keywords:t,illegal:"\\S"}}var nye=rye;const iye=Tt(nye);function bL(e){return e?typeof e=="string"?e:e.source:null}function yI(e){return Ul("(?=",e,")")}function sye(e){return Ul("(",e,")?")}function Ul(...e){return e.map(r=>bL(r)).join("")}function oye(...e){return"("+e.map(r=>bL(r)).join("|")+")"}function aye(e){const t=Ul(/[A-Z_]/,sye(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),r=/[A-Za-z0-9._:-]+/,n={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=e.inherit(i,{begin:/\(/,end:/\)/}),o=e.inherit(e.APOS_STRING_MODE,{className:"meta-string"}),l=e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),c={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[i,l,o,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[i,s,l,o]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},n,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:Ul(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:t,relevance:0,starts:c}]},{className:"tag",begin:Ul(/<\//,yI(Ul(t,/>/))),contains:[{className:"name",begin:t,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}var lye=aye;const uye=Tt(lye);function cye(e){return e?typeof e=="string"?e:e.source:null}function fye(...e){return e.map(r=>cye(r)).join("")}function pye(e){const t={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[t]}]};Object.assign(t,{className:"variable",variants:[{begin:fye(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const n={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t,n]};n.contains.push(s);const o={className:"",begin:/\\"/},l={className:"string",begin:/'/,end:/'/},c={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,t]},h=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],v=e.SHEBANG({binary:`(${h.join("|")})`,relevance:10}),y={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._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",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 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"},contains:[v,e.SHEBANG(),y,c,e.HASH_COMMENT_MODE,i,s,o,l,t]}}var dye=pye;const hye=Tt(dye);function mye(e){var t="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",n={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},s={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},o=e.inherit(s,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l="[0-9]{4}(-[0-9][0-9]){0,2}",c="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",h="(\\.[0-9]*)?",v="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",y={className:"number",begin:"\\b"+l+c+h+v+"\\b"},S={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},b={begin:/\{/,end:/\}/,contains:[S],illegal:"\\n",relevance:0},_={begin:"\\[",end:"\\]",contains:[S],illegal:"\\n",relevance:0},$=[n,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{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}},y,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},b,_,s],P=[...$];return P.pop(),P.push(o),S.contains=P,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:$}}var gye=mye;const yye=Tt(gye);function vye(e){return e?typeof e=="string"?e:e.source:null}function bye(...e){return e.map(r=>vye(r)).join("")}function Eye(e){const t="HTTP/(2|1\\.[01])",n={className:"attribute",begin:bye("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},i=[n,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+t+" \\d{3})",end:/$/,contains:[{className:"meta",begin:t},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},{begin:"(?=^[A-Z]+ (.*?) "+t+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:t},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},e.inherit(n,{relevance:0})]}}var Sye=Eye;const wye=Tt(Sye);function _ye(e){const t=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],r="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|Update|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",n="-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",i={$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"},s=/\w[\w\d]*((-)[\w\d]+)*/,o={begin:"`[\\s\\S]",relevance:0},l={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},c={className:"literal",begin:/\$(null|true|false)\b/},h={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[o,l,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},v={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},y={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},S=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[y]}),b={className:"built_in",variants:[{begin:"(".concat(r,")+(-)[\\w\\d]+")}]},_={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},$={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:s,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[l]}]},P={begin:/using\s/,end:/$/,returnBegin:!0,contains:[h,v,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},x={variants:[{className:"operator",begin:"(".concat(n,")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},A={className:"selector-tag",begin:/@\B/,relevance:0},C={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(i.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},j=[C,S,o,e.NUMBER_MODE,h,v,b,l,c,A],U={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",j,{begin:"("+t.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return C.contains.unshift(U),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:i,contains:j.concat(_,$,P,x,U)}}var xye=_ye;const Aye=Tt(xye),Oye={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#333",color:"white"},"hljs-name":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-code":{fontStyle:"italic",color:"#888"},"hljs-emphasis":{fontStyle:"italic"},"hljs-tag":{color:"#62c8f3"},"hljs-variable":{color:"#ade5fc"},"hljs-template-variable":{color:"#ade5fc"},"hljs-selector-id":{color:"#ade5fc"},"hljs-selector-class":{color:"#ade5fc"},"hljs-string":{color:"#a2fca2"},"hljs-bullet":{color:"#d36363"},"hljs-type":{color:"#ffa"},"hljs-title":{color:"#ffa"},"hljs-section":{color:"#ffa"},"hljs-attribute":{color:"#ffa"},"hljs-quote":{color:"#ffa"},"hljs-built_in":{color:"#ffa"},"hljs-builtin-name":{color:"#ffa"},"hljs-number":{color:"#d36363"},"hljs-symbol":{color:"#d36363"},"hljs-keyword":{color:"#fcc28c"},"hljs-selector-tag":{color:"#fcc28c"},"hljs-literal":{color:"#fcc28c"},"hljs-comment":{color:"#888"},"hljs-deletion":{color:"#333",backgroundColor:"#fc9b9b"},"hljs-regexp":{color:"#c6b4f0"},"hljs-link":{color:"#c6b4f0"},"hljs-meta":{color:"#fc9b9b"},"hljs-addition":{backgroundColor:"#a2fca2",color:"#333"}},Cye={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#222",color:"#aaa"},"hljs-subst":{color:"#aaa"},"hljs-section":{color:"#fff",fontWeight:"bold"},"hljs-comment":{color:"#444"},"hljs-quote":{color:"#444"},"hljs-meta":{color:"#444"},"hljs-string":{color:"#ffcc33"},"hljs-symbol":{color:"#ffcc33"},"hljs-bullet":{color:"#ffcc33"},"hljs-regexp":{color:"#ffcc33"},"hljs-number":{color:"#00cc66"},"hljs-addition":{color:"#00cc66"},"hljs-built_in":{color:"#32aaee"},"hljs-builtin-name":{color:"#32aaee"},"hljs-literal":{color:"#32aaee"},"hljs-type":{color:"#32aaee"},"hljs-template-variable":{color:"#32aaee"},"hljs-attribute":{color:"#32aaee"},"hljs-link":{color:"#32aaee"},"hljs-keyword":{color:"#6644aa"},"hljs-selector-tag":{color:"#6644aa"},"hljs-name":{color:"#6644aa"},"hljs-selector-id":{color:"#6644aa"},"hljs-selector-class":{color:"#6644aa"},"hljs-title":{color:"#bb1166"},"hljs-variable":{color:"#bb1166"},"hljs-deletion":{color:"#bb1166"},"hljs-template-tag":{color:"#bb1166"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}},$ye={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#272822",color:"#ddd"},"hljs-tag":{color:"#f92672"},"hljs-keyword":{color:"#f92672",fontWeight:"bold"},"hljs-selector-tag":{color:"#f92672",fontWeight:"bold"},"hljs-literal":{color:"#f92672",fontWeight:"bold"},"hljs-strong":{color:"#f92672"},"hljs-name":{color:"#f92672"},"hljs-code":{color:"#66d9ef"},"hljs-class .hljs-title":{color:"white"},"hljs-attribute":{color:"#bf79db"},"hljs-symbol":{color:"#bf79db"},"hljs-regexp":{color:"#bf79db"},"hljs-link":{color:"#bf79db"},"hljs-string":{color:"#a6e22e"},"hljs-bullet":{color:"#a6e22e"},"hljs-subst":{color:"#a6e22e"},"hljs-title":{color:"#a6e22e",fontWeight:"bold"},"hljs-section":{color:"#a6e22e",fontWeight:"bold"},"hljs-emphasis":{color:"#a6e22e"},"hljs-type":{color:"#a6e22e",fontWeight:"bold"},"hljs-built_in":{color:"#a6e22e"},"hljs-builtin-name":{color:"#a6e22e"},"hljs-selector-attr":{color:"#a6e22e"},"hljs-selector-pseudo":{color:"#a6e22e"},"hljs-addition":{color:"#a6e22e"},"hljs-variable":{color:"#a6e22e"},"hljs-template-tag":{color:"#a6e22e"},"hljs-template-variable":{color:"#a6e22e"},"hljs-comment":{color:"#75715e"},"hljs-quote":{color:"#75715e"},"hljs-deletion":{color:"#75715e"},"hljs-meta":{color:"#75715e"},"hljs-doctag":{fontWeight:"bold"},"hljs-selector-id":{fontWeight:"bold"}},kye={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#2E3440",color:"#D8DEE9"},"hljs-subst":{color:"#D8DEE9"},"hljs-selector-tag":{color:"#81A1C1"},"hljs-selector-id":{color:"#8FBCBB",fontWeight:"bold"},"hljs-selector-class":{color:"#8FBCBB"},"hljs-selector-attr":{color:"#8FBCBB"},"hljs-selector-pseudo":{color:"#88C0D0"},"hljs-addition":{backgroundColor:"rgba(163, 190, 140, 0.5)"},"hljs-deletion":{backgroundColor:"rgba(191, 97, 106, 0.5)"},"hljs-built_in":{color:"#8FBCBB"},"hljs-type":{color:"#8FBCBB"},"hljs-class":{color:"#8FBCBB"},"hljs-function":{color:"#88C0D0"},"hljs-function > .hljs-title":{color:"#88C0D0"},"hljs-keyword":{color:"#81A1C1"},"hljs-literal":{color:"#81A1C1"},"hljs-symbol":{color:"#81A1C1"},"hljs-number":{color:"#B48EAD"},"hljs-regexp":{color:"#EBCB8B"},"hljs-string":{color:"#A3BE8C"},"hljs-title":{color:"#8FBCBB"},"hljs-params":{color:"#D8DEE9"},"hljs-bullet":{color:"#81A1C1"},"hljs-code":{color:"#8FBCBB"},"hljs-emphasis":{fontStyle:"italic"},"hljs-formula":{color:"#8FBCBB"},"hljs-strong":{fontWeight:"bold"},"hljs-link:hover":{textDecoration:"underline"},"hljs-quote":{color:"#4C566A"},"hljs-comment":{color:"#4C566A"},"hljs-doctag":{color:"#8FBCBB"},"hljs-meta":{color:"#5E81AC"},"hljs-meta-keyword":{color:"#5E81AC"},"hljs-meta-string":{color:"#A3BE8C"},"hljs-attr":{color:"#8FBCBB"},"hljs-attribute":{color:"#D8DEE9"},"hljs-builtin-name":{color:"#81A1C1"},"hljs-name":{color:"#81A1C1"},"hljs-section":{color:"#88C0D0"},"hljs-tag":{color:"#81A1C1"},"hljs-variable":{color:"#D8DEE9"},"hljs-template-variable":{color:"#D8DEE9"},"hljs-template-tag":{color:"#5E81AC"},"abnf .hljs-attribute":{color:"#88C0D0"},"abnf .hljs-symbol":{color:"#EBCB8B"},"apache .hljs-attribute":{color:"#88C0D0"},"apache .hljs-section":{color:"#81A1C1"},"arduino .hljs-built_in":{color:"#88C0D0"},"aspectj .hljs-meta":{color:"#D08770"},"aspectj > .hljs-title":{color:"#88C0D0"},"bnf .hljs-attribute":{color:"#8FBCBB"},"clojure .hljs-name":{color:"#88C0D0"},"clojure .hljs-symbol":{color:"#EBCB8B"},"coq .hljs-built_in":{color:"#88C0D0"},"cpp .hljs-meta-string":{color:"#8FBCBB"},"css .hljs-built_in":{color:"#88C0D0"},"css .hljs-keyword":{color:"#D08770"},"diff .hljs-meta":{color:"#8FBCBB"},"ebnf .hljs-attribute":{color:"#8FBCBB"},"glsl .hljs-built_in":{color:"#88C0D0"},"groovy .hljs-meta:not(:first-child)":{color:"#D08770"},"haxe .hljs-meta":{color:"#D08770"},"java .hljs-meta":{color:"#D08770"},"ldif .hljs-attribute":{color:"#8FBCBB"},"lisp .hljs-name":{color:"#88C0D0"},"lua .hljs-built_in":{color:"#88C0D0"},"moonscript .hljs-built_in":{color:"#88C0D0"},"nginx .hljs-attribute":{color:"#88C0D0"},"nginx .hljs-section":{color:"#5E81AC"},"pf .hljs-built_in":{color:"#88C0D0"},"processing .hljs-built_in":{color:"#88C0D0"},"scss .hljs-keyword":{color:"#81A1C1"},"stylus .hljs-keyword":{color:"#81A1C1"},"swift .hljs-meta":{color:"#D08770"},"vim .hljs-built_in":{color:"#88C0D0",fontStyle:"italic"},"yaml .hljs-meta":{color:"#D08770"}},Tye={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282b2e",color:"#e0e2e4"},"hljs-keyword":{color:"#93c763",fontWeight:"bold"},"hljs-selector-tag":{color:"#93c763",fontWeight:"bold"},"hljs-literal":{color:"#93c763",fontWeight:"bold"},"hljs-selector-id":{color:"#93c763"},"hljs-number":{color:"#ffcd22"},"hljs-attribute":{color:"#668bb0"},"hljs-code":{color:"white"},"hljs-class .hljs-title":{color:"white"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-regexp":{color:"#d39745"},"hljs-link":{color:"#d39745"},"hljs-meta":{color:"#557182"},"hljs-tag":{color:"#8cbbad"},"hljs-name":{color:"#8cbbad",fontWeight:"bold"},"hljs-bullet":{color:"#8cbbad"},"hljs-subst":{color:"#8cbbad"},"hljs-emphasis":{color:"#8cbbad"},"hljs-type":{color:"#8cbbad",fontWeight:"bold"},"hljs-built_in":{color:"#8cbbad"},"hljs-selector-attr":{color:"#8cbbad"},"hljs-selector-pseudo":{color:"#8cbbad"},"hljs-addition":{color:"#8cbbad"},"hljs-variable":{color:"#8cbbad"},"hljs-template-tag":{color:"#8cbbad"},"hljs-template-variable":{color:"#8cbbad"},"hljs-string":{color:"#ec7600"},"hljs-symbol":{color:"#ec7600"},"hljs-comment":{color:"#818e96"},"hljs-quote":{color:"#818e96"},"hljs-deletion":{color:"#818e96"},"hljs-selector-class":{color:"#A082BD"},"hljs-doctag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"}},Pye={"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-params":{color:"#de935f"},"hljs-meta":{color:"#de935f"},"hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-keyword":{color:"#b294bb"},"hljs-selector-tag":{color:"#b294bb"},hljs:{display:"block",overflowX:"auto",background:"#1d1f21",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}},Rye={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#000",background:"#fff"},"hljs-subst":{fontWeight:"normal",color:"#000"},"hljs-title":{fontWeight:"normal",color:"#000"},"hljs-comment":{color:"#808080",fontStyle:"italic"},"hljs-quote":{color:"#808080",fontStyle:"italic"},"hljs-meta":{color:"#808000"},"hljs-tag":{background:"#efefef"},"hljs-section":{fontWeight:"bold",color:"#000080"},"hljs-name":{fontWeight:"bold",color:"#000080"},"hljs-literal":{fontWeight:"bold",color:"#000080"},"hljs-keyword":{fontWeight:"bold",color:"#000080"},"hljs-selector-tag":{fontWeight:"bold",color:"#000080"},"hljs-type":{fontWeight:"bold",color:"#000080"},"hljs-selector-id":{fontWeight:"bold",color:"#000080"},"hljs-selector-class":{fontWeight:"bold",color:"#000080"},"hljs-attribute":{fontWeight:"bold",color:"#0000ff"},"hljs-number":{fontWeight:"normal",color:"#0000ff"},"hljs-regexp":{fontWeight:"normal",color:"#0000ff"},"hljs-link":{fontWeight:"normal",color:"#0000ff"},"hljs-string":{color:"#008000",fontWeight:"bold"},"hljs-symbol":{color:"#000",background:"#d0eded",fontStyle:"italic"},"hljs-bullet":{color:"#000",background:"#d0eded",fontStyle:"italic"},"hljs-formula":{color:"#000",background:"#d0eded",fontStyle:"italic"},"hljs-doctag":{textDecoration:"underline"},"hljs-variable":{color:"#660e7a"},"hljs-template-variable":{color:"#660e7a"},"hljs-addition":{background:"#baeeba"},"hljs-deletion":{background:"#ffc8bd"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};var FA={exports:{}},EL={},F0={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7},ra={};const lr=F0,LA=()=>[{type:lr.RANGE,from:48,to:57}],SL=()=>[{type:lr.CHAR,value:95},{type:lr.RANGE,from:97,to:122},{type:lr.RANGE,from:65,to:90}].concat(LA()),wL=()=>[{type:lr.CHAR,value:9},{type:lr.CHAR,value:10},{type:lr.CHAR,value:11},{type:lr.CHAR,value:12},{type:lr.CHAR,value:13},{type:lr.CHAR,value:32},{type:lr.CHAR,value:160},{type:lr.CHAR,value:5760},{type:lr.RANGE,from:8192,to:8202},{type:lr.CHAR,value:8232},{type:lr.CHAR,value:8233},{type:lr.CHAR,value:8239},{type:lr.CHAR,value:8287},{type:lr.CHAR,value:12288},{type:lr.CHAR,value:65279}],Iye=()=>[{type:lr.CHAR,value:10},{type:lr.CHAR,value:13},{type:lr.CHAR,value:8232},{type:lr.CHAR,value:8233}];ra.words=()=>({type:lr.SET,set:SL(),not:!1});ra.notWords=()=>({type:lr.SET,set:SL(),not:!0});ra.ints=()=>({type:lr.SET,set:LA(),not:!1});ra.notInts=()=>({type:lr.SET,set:LA(),not:!0});ra.whitespace=()=>({type:lr.SET,set:wL(),not:!1});ra.notWhitespace=()=>({type:lr.SET,set:wL(),not:!0});ra.anyChar=()=>({type:lr.SET,set:Iye(),not:!0});(function(e){const t=F0,r=ra,n="@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?",i={0:0,t:9,n:10,v:11,f:12,r:13};e.strToChars=function(s){var o=/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g;return s=s.replace(o,function(l,c,h,v,y,S,b,_){if(h)return l;var $=c?8:v?parseInt(v,16):y?parseInt(y,16):S?parseInt(S,8):b?n.indexOf(b):i[_],P=String.fromCharCode($);return/[[\]{}^$.|?*+()]/.test(P)&&(P="\\"+P),P}),s},e.tokenizeClass=(s,o)=>{for(var l=[],c=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?([^])/g,h,v;(h=c.exec(s))!=null;)if(h[1])l.push(r.words());else if(h[2])l.push(r.ints());else if(h[3])l.push(r.whitespace());else if(h[4])l.push(r.notWords());else if(h[5])l.push(r.notInts());else if(h[6])l.push(r.notWhitespace());else if(h[7])l.push({type:t.RANGE,from:(h[8]||h[9]).charCodeAt(0),to:h[10].charCodeAt(0)});else if(v=h[12])l.push({type:t.CHAR,value:v.charCodeAt(0)});else return[l,c.lastIndex];e.error(o,"Unterminated character class")},e.error=(s,o)=>{throw new SyntaxError("Invalid regular expression: /"+s+"/: "+o)}})(EL);var oh={};const L0=F0;oh.wordBoundary=()=>({type:L0.POSITION,value:"b"});oh.nonWordBoundary=()=>({type:L0.POSITION,value:"B"});oh.begin=()=>({type:L0.POSITION,value:"^"});oh.end=()=>({type:L0.POSITION,value:"$"});const Ju=EL,ns=F0,Pl=ra,sg=oh;FA.exports=e=>{var t=0,r,n,i={type:ns.ROOT,stack:[]},s=i,o=i.stack,l=[],c=x=>{Ju.error(e,`Nothing to repeat at column ${x-1}`)},h=Ju.strToChars(e);for(r=h.length;tt.high)}touches(t){return!(this.high+1t.high)}add(t){return new ao(Math.min(this.low,t.low),Math.max(this.high,t.high))}subtract(t){return t.low<=this.low&&t.high>=this.high?[]:t.low>this.low&&t.hight+r.length,0)}add(t,r){var n=i=>{for(var s=0;s{for(var s=0;s{for(var o=0;o{for(var n=r.low;n<=r.high;)t.push(n),n++;return t},[])}subranges(){return this.ranges.map(t=>({low:t.low,high:t.high,length:1+t.high-t.low}))}};var Mye=jye;const Kg=Nye,mp=Mye,Rl=Kg.types;var Dye=class Rp{constructor(t,r){if(this._setDefaults(t),t instanceof RegExp)this.ignoreCase=t.ignoreCase,this.multiline=t.multiline,t=t.source;else if(typeof t=="string")this.ignoreCase=r&&r.indexOf("i")!==-1,this.multiline=r&&r.indexOf("m")!==-1;else throw new Error("Expected a regexp or string");this.tokens=Kg(t)}_setDefaults(t){this.max=t.max!=null?t.max:Rp.prototype.max!=null?Rp.prototype.max:100,this.defaultRange=t.defaultRange?t.defaultRange:this.defaultRange.clone(),t.randInt&&(this.randInt=t.randInt)}gen(){return this._gen(this.tokens,[])}_gen(t,r){var n,i,s,o,l;switch(t.type){case Rl.ROOT:case Rl.GROUP:if(t.followedBy||t.notFollowedBy)return"";for(t.remember&&t.groupNumber===void 0&&(t.groupNumber=r.push(null)-1),n=t.options?this._randSelect(t.options):t.stack,i="",o=0,l=n.length;o=t||J<0||y&&ee>=s}function x(){var z=lS();if(P(z))return A(z);l=setTimeout(x,$(z))}function A(z){return l=void 0,S&&n?b(z):(n=i=void 0,o)}function C(){l!==void 0&&clearTimeout(l),h=0,n=c=i=l=void 0}function j(){return l===void 0?o:A(lS())}function U(){var z=lS(),J=P(z);if(n=arguments,i=this,c=z,J){if(l===void 0)return _(c);if(y)return clearTimeout(l),l=setTimeout(x,t),b(c)}return l===void 0&&(l=setTimeout(x,t)),o}return U.cancel=C,U.flush=j,U}var hve=dve;const mve=Tt(hve);var gve=T0,yve=Yd,vve=Kd,bI=ti,bve=hu;function Eve(e,t,r,n){if(!bI(e))return e;t=yve(t,e);for(var i=-1,s=t.length,o=s-1,l=e;l!=null&&++i2?q-2:1,Ee&&Ee<=q?Ae:cS(Ae,q)):Ae}},mixin:function(Z){return function(V){var q=this;if(!j(q))return Z(q,Object(V));var Ae=[];return x(z(V),function(Ee){j(V[Ee])&&Ae.push([Ee,q.prototype[Ee]])}),Z(q,Object(V)),x(Ae,function(Ee){var We=Ee[1];j(We)?q.prototype[Ee[0]]=We:delete q.prototype[Ee[0]]}),q}},nthArg:function(Z){return function(V){var q=V<0?1:ee(V)+1;return P(Z(V),q)}},rearg:function(Z){return function(V,q){var Ae=q?q.length:0;return P(Z(V,q),Ae)}},runInContext:function(Z){return function(V){return l_(e,Z(V),n)}}};function L(Z,V){if(o.cap){var q=nn.iterateeRearg[Z];if(q)return be(V,q);var Ae=!i&&nn.iterateeAry[Z];if(Ae)return pe(V,Ae)}return V}function Fe(Z,V,q){return c||o.curry&&q>1?P(V,q):V}function Xe(Z,V,q){if(o.fixed&&(h||!nn.skipFixed[Z])){var Ae=nn.methodSpread[Z],Ee=Ae&&Ae.start;return Ee===void 0?b(V,q):$ve(V,Ee)}return V}function Ye(Z,V,q){return o.rearg&&q>1&&(v||!nn.skipRearg[Z])?J(V,nn.methodRearg[Z]||nn.aryRearg[q]):V}function he(Z,V){V=Q(V);for(var q=-1,Ae=V.length,Ee=Ae-1,We=$(Object(Z)),lt=We;lt!=null&&++q1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(j0e,`{ +/* [wrapped with `+t+`] */ +`)}var D0e=M0e;function F0e(e){return e!==e}var L0e=F0e;function B0e(e,t,r){for(var n=r-1,i=e.length;++n-1}var G0e=J0e,Y0e=pA,X0e=G0e,Q0e=1,Z0e=2,e1e=8,t1e=16,r1e=32,n1e=64,i1e=128,s1e=256,o1e=512,a1e=[["ary",i1e],["bind",Q0e],["bindKey",Z0e],["curry",e1e],["curryRight",t1e],["flip",o1e],["partial",r1e],["partialRight",n1e],["rearg",s1e]];function l1e(e,t){return Y0e(a1e,function(r){var n="_."+r[0];t&r[1]&&!X0e(e,n)&&e.push(n)}),e.sort()}var u1e=l1e,c1e=N0e,f1e=D0e,p1e=Z2,d1e=u1e;function h1e(e,t,r){var n=t+"";return p1e(e,f1e(n,d1e(c1e(n),r)))}var NL=h1e,m1e=C0e,g1e=IL,y1e=NL,v1e=1,b1e=2,E1e=4,S1e=8,$I=32,kI=64;function w1e(e,t,r,n,i,s,o,l,c,h){var v=t&S1e,y=v?o:void 0,S=v?void 0:o,b=v?s:void 0,_=v?void 0:s;t|=v?$I:kI,t&=~(v?kI:$I),t&E1e||(t&=~(v1e|b1e));var $=[e,t,i,b,y,_,S,l,c,h],P=r.apply(void 0,$);return m1e(e)&&g1e(P,$),P.placeholder=n,y1e(P,e,t)}var jL=w1e;function _1e(e){var t=e;return t.placeholder}var ML=_1e,x1e=zd,A1e=Kd,O1e=Math.min;function C1e(e,t){for(var r=e.length,n=O1e(t.length,r),i=x1e(e);n--;){var s=t[n];e[n]=A1e(s,r)?i[s]:void 0}return e}var $1e=C1e,TI="__lodash_placeholder__";function k1e(e,t){for(var r=-1,n=e.length,i=0,s=[];++r1&&A.reverse(),v&&c=48&&n<=57){t++;continue}return!1}return!0}function Ml(e){return e.indexOf("/")===-1&&e.indexOf("~")===-1?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function BL(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function p_(e){if(e===void 0)return!0;if(e){if(Array.isArray(e)){for(var t=0,r=e.length;t0&&c[v-1]=="constructor"))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(r&&S===void 0&&(h[b]===void 0?S=c.slice(0,v).join("/"):v==y-1&&(S=t.path),S!==void 0&&_(t,0,e,S)),v++,Array.isArray(h)){if(b==="-")b=h.length;else{if(r&&!f_(b))throw new zr("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",s,t,e);f_(b)&&(b=~~b)}if(v>=y){if(r&&t.op==="add"&&b>h.length)throw new zr("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",s,t,e);var o=xEe[t.op].call(t,h,b,e);if(o.test===!1)throw new zr("Test operation failed","TEST_OPERATION_FAILED",s,t,e);return o}}else if(v>=y){var o=lc[t.op].call(t,h,b,e);if(o.test===!1)throw new zr("Test operation failed","TEST_OPERATION_FAILED",s,t,e);return o}if(h=h[b],r&&v0)throw new zr('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",t,e,r);if((e.op==="move"||e.op==="copy")&&typeof e.from!="string")throw new zr("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",t,e,r);if((e.op==="add"||e.op==="replace"||e.op==="test")&&e.value===void 0)throw new zr("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",t,e,r);if((e.op==="add"||e.op==="replace"||e.op==="test")&&p_(e.value))throw new zr("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",t,e,r);if(r){if(e.op=="add"){var i=e.path.split("/").length,s=n.split("/").length;if(i!==s+1&&i!==s)throw new zr("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",t,e,r)}else if(e.op==="replace"||e.op==="remove"||e.op==="_get"){if(e.path!==n)throw new zr("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",t,e,r)}else if(e.op==="move"||e.op==="copy"){var o={op:"_get",path:e.from,value:void 0},l=VL([o],r);if(l&&l.name==="OPERATION_PATH_UNRESOLVABLE")throw new zr("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",t,e,r)}}}else throw new zr("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",t,e,r)}function VL(e,t,r){try{if(!Array.isArray(e))throw new zr("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(t)Pa(Ti(t),Ti(e),r||!0);else{r=r||Iy;for(var n=0;n0&&(e.patches=[],e.callback&&e.callback(n)),n}function KA(e,t,r,n,i){if(t!==e){typeof t.toJSON=="function"&&(t=t.toJSON());for(var s=c_(t),o=c_(e),l=!1,c=o.length-1;c>=0;c--){var h=o[c],v=e[h];if(u_(t,h)&&!(t[h]===void 0&&v!==void 0&&Array.isArray(t)===!1)){var y=t[h];typeof v=="object"&&v!=null&&typeof y=="object"&&y!=null&&Array.isArray(v)===Array.isArray(y)?KA(v,y,r,n+"/"+Ml(h),i):v!==y&&(i&&r.push({op:"test",path:n+"/"+Ml(h),value:Ti(v)}),r.push({op:"replace",path:n+"/"+Ml(h),value:Ti(y)}))}else Array.isArray(e)===Array.isArray(t)?(i&&r.push({op:"test",path:n+"/"+Ml(h),value:Ti(v)}),r.push({op:"remove",path:n+"/"+Ml(h)}),l=!0):(i&&r.push({op:"test",path:n,value:e}),r.push({op:"replace",path:n,value:t}))}if(!(!l&&s.length==o.length))for(var c=0;c(i.push({op:"add",path:`/${VI(s)}`,value:t.value[s]}),i),[]);Pa(e,n)}else if(t.op==="replace"&&t.path===""){let{value:n}=t;r.allowMetaPatches&&t.meta&&Ny(t)&&(Array.isArray(t.value)||Yl(t.value))&&(n={...n,...t.meta}),e=n}else if(Pa(e,[t]),r.allowMetaPatches&&t.meta&&Ny(t)&&(Array.isArray(t.value)||Yl(t.value))){const i={...gS(e,t.path),...t.meta};Pa(e,[Hg(t.path,i)])}return e}function VI(e){return Array.isArray(e)?e.length<1?"":`/${e.map(t=>(t+"").replace(/~/g,"~0").replace(/\//g,"~1")).join("/")}`:e}function QEe(e,t){return{op:"add",path:e,value:t}}function Hg(e,t,r){return{op:"replace",path:e,value:t,meta:r}}function ZEe(e){return{op:"remove",path:e}}function eSe(e,t){return{type:"mutation",op:"merge",path:e,value:t}}function tSe(e,t){return{type:"mutation",op:"mergeDeep",path:e,value:t}}function rSe(e,t){return{type:"context",path:e,value:t}}function nSe(e,t){try{return qL(e,m_,t)}catch(r){return r}}function iSe(e,t){try{return qL(e,h_,t)}catch(r){return r}}function qL(e,t,r){const n=e.filter(Ny).map(o=>t(o.value,r,o.path))||[],i=ah(n);return KL(i)}function h_(e,t,r){return r=r||[],Array.isArray(e)?e.map((n,i)=>h_(n,t,r.concat(i))):Yl(e)?Object.keys(e).map(n=>h_(e[n],t,r.concat(n))):t(e,r[r.length-1],r)}function m_(e,t,r){r=r||[];let n=[];if(r.length>0){const i=t(e,r[r.length-1],r);i&&(n=n.concat(i))}if(Array.isArray(e)){const i=e.map((s,o)=>m_(s,t,r.concat(o)));i&&(n=n.concat(i))}else if(Yl(e)){const i=Object.keys(e).map(s=>m_(e[s],t,r.concat(s)));i&&(n=n.concat(i))}return n=ah(n),n}function sSe(e,t){if(!Array.isArray(t))return!1;for(let r=0,n=t.length;rtypeof n<"u"&&r?r[n]:r,e)}function aSe(e){return KL(ah(WL(e)))}function WL(e){return Array.isArray(e)?e:[e]}function ah(e){return[].concat(...e.map(t=>Array.isArray(t)?ah(t):t))}function KL(e){return e.filter(t=>typeof t<"u")}function Yl(e){return e&&typeof e=="object"}function lSe(e){return Yl(e)&&HL(e.then)}function HL(e){return e&&typeof e=="function"}function uSe(e){return e instanceof Error}function JL(e){if(U0(e)){const{op:t}=e;return t==="add"||t==="remove"||t==="replace"}return!1}function cSe(e){return Object.prototype.toString.call(e)==="[object GeneratorFunction]"}function GL(e){return JL(e)||U0(e)&&e.type==="mutation"}function Ny(e){return GL(e)&&(e.op==="add"||e.op==="replace"||e.op==="merge"||e.op==="mergeDeep")}function fSe(e){return U0(e)&&e.type==="context"}function U0(e){return e&&typeof e=="object"}function gS(e,t){try{return pd(e,t)}catch(r){return console.error(r),{}}}var YL={exports:{}};(function(e){(function(){var t,r,n,i,s,o="properties",l="deepProperties",c="propertyDescriptors",h="staticProperties",v="staticDeepProperties",y="staticPropertyDescriptors",S="configuration",b="deepConfiguration",_="deepProps",$="deepStatics",P="deepConf",x="initializers",A="methods",C="composers",j="compose";function U(pe){return Object.getOwnPropertyNames(pe).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(pe):[])}function z(pe,be){return Array.prototype.slice.call(arguments,2).reduce(pe,be)}var J=z.bind(0,function(be,ye){if(ye)for(var Le=U(ye),se=0;se=arguments.length)?c=t[o]:(c=arguments[i],i+=1),n[o]=c,Pr(c)?l=!0:s-=1,o+=1}return!l&&s<=0?r.apply(this,n):V0(Math.max(0,s),JA(e,n,r))}}var Sr=It(function(t,r){return t===1?hr(r):V0(t,JA(t,[],r))});function wi(e){return function t(r,n,i){switch(arguments.length){case 0:return t;case 1:return Pr(r)?t:It(function(s,o){return e(r,s,o)});case 2:return Pr(r)&&Pr(n)?t:Pr(r)?It(function(s,o){return e(s,n,o)}):Pr(n)?It(function(s,o){return e(r,s,o)}):hr(function(s){return e(r,n,s)});default:return Pr(r)&&Pr(n)&&Pr(i)?t:Pr(r)&&Pr(n)?It(function(s,o){return e(s,o,i)}):Pr(r)&&Pr(i)?It(function(s,o){return e(s,n,o)}):Pr(n)&&Pr(i)?It(function(s,o){return e(r,s,o)}):Pr(r)?hr(function(s){return e(s,n,i)}):Pr(n)?hr(function(s){return e(r,s,i)}):Pr(i)?hr(function(s){return e(r,n,s)}):e(r,n,i)}}}const lh=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function mSe(e){return e!=null&&typeof e["@@transducer/step"]=="function"}function il(e,t,r){return function(){if(arguments.length===0)return r();var n=arguments[arguments.length-1];if(!lh(n)){for(var i=0;i=0;)r=WI[n],us(r,t)&&!wSe(i,r)&&(i[i.length]=r),n-=1;return i}),_Se=hr(function(t){return t===null?"Null":t===void 0?"Undefined":Object.prototype.toString.call(t).slice(8,-1)});const ds=_Se;function HI(e,t,r,n){var i=zI(e),s=zI(t);function o(l,c){return YA(l,c,r.slice(),n.slice())}return!jy(function(l,c){return!jy(o,c,l)},s,i)}function YA(e,t,r,n){if(Bp(e,t))return!0;var i=ds(e);if(i!==ds(t))return!1;if(typeof e["fantasy-land/equals"]=="function"||typeof t["fantasy-land/equals"]=="function")return typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t)&&typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e);if(typeof e.equals=="function"||typeof t.equals=="function")return typeof e.equals=="function"&&e.equals(t)&&typeof t.equals=="function"&&t.equals(e);switch(i){case"Arguments":case"Array":case"Object":if(typeof e.constructor=="function"&&bSe(e.constructor)==="Promise")return e===t;break;case"Boolean":case"Number":case"String":if(!(typeof e==typeof t&&Bp(e.valueOf(),t.valueOf())))return!1;break;case"Date":if(!Bp(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(!(e.source===t.source&&e.global===t.global&&e.ignoreCase===t.ignoreCase&&e.multiline===t.multiline&&e.sticky===t.sticky&&e.unicode===t.unicode))return!1;break}for(var s=r.length-1;s>=0;){if(r[s]===e)return n[s]===t;s-=1}switch(i){case"Map":return e.size!==t.size?!1:HI(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size!==t.size?!1:HI(e.values(),t.values(),r.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var o=Ga(e);if(o.length!==Ga(t).length)return!1;var l=r.concat([e]),c=n.concat([t]);for(s=o.length-1;s>=0;){var h=o[s];if(!(us(h,t)&&YA(t[h],e[h],l,c)))return!1;s-=1}return!0}var ia=It(function(t,r){return YA(t,r,[],[])});function xSe(e,t,r){var n,i;if(typeof e.indexOf=="function")switch(typeof t){case"number":if(t===0){for(n=1/t;r=0}function Up(e,t){for(var r=0,n=t.length,i=Array(n);r":ZL(o,l)},n=function(s,o){return Up(function(l){return yS(l)+": "+r(s[l])},o.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Up(r,e).join(", ")+"))";case"[object Array]":return"["+Up(r,e).concat(n(e,PSe(function(s){return/^\d+$/.test(s)},Ga(e)))).join(", ")+"]";case"[object Boolean]":return typeof e=="object"?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):yS(ASe(e)))+")";case"[object Map]":return"new Map("+r(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return typeof e=="object"?"new Number("+r(e.valueOf())+")":1/e===-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+r(Array.from(e).sort())+")";case"[object String]":return typeof e=="object"?"new String("+r(e.valueOf())+")":yS(e);case"[object Undefined]":return"undefined";default:if(typeof e.toString=="function"){var i=e.toString();if(i!=="[object Object]")return i}return"{"+n(e,Ga(e)).join(", ")+"}"}}var Mc=hr(function(t){return ZL(t,[])}),RSe=It(function(t,r){if(t===r)return r;function n(c,h){if(c>h!=h>c)return h>c?h:c}var i=n(t,r);if(i!==void 0)return i;var s=n(typeof t,typeof r);if(s!==void 0)return s===typeof t?t:r;var o=Mc(t),l=n(o,Mc(r));return l!==void 0&&l===o?t:r});const XA=RSe;var ISe=function(){function e(t,r){this.xf=r,this.f=t}return e.prototype["@@transducer/init"]=Ii.init,e.prototype["@@transducer/result"]=Ii.result,e.prototype["@@transducer/step"]=function(t,r){return this.xf["@@transducer/step"](t,this.f(r))},e}(),NSe=function(t){return function(r){return new ISe(t,r)}};const jSe=NSe;var ch=It(il(["fantasy-land/map","map"],jSe,function(t,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return Sr(r.length,function(){return t.call(this,r.apply(this,arguments))});case"[object Object]":return uh(function(n,i){return n[i]=t(r[i]),n},{},Ga(r));default:return Up(t,r)}}));const q0=Number.isInteger||function(t){return t<<0===t};function QA(e){return Object.prototype.toString.call(e)==="[object String]"}var W0=It(function(t,r){var n=t<0?r.length+t:t;return QA(r)?r.charAt(n):r[n]}),fh=It(function(t,r){if(r!=null)return q0(t)?W0(t,r):r[t]}),ZA=It(function(t,r){return ch(fh(t),r)}),MSe=hr(function(t){return lh(t)?!0:!t||typeof t!="object"||QA(t)?!1:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),JI=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function eB(e,t,r){return function(i,s,o){if(MSe(o))return e(i,s,o);if(o==null)return s;if(typeof o["fantasy-land/reduce"]=="function")return t(i,s,o,"fantasy-land/reduce");if(o[JI]!=null)return r(i,s,o[JI]());if(typeof o.next=="function")return r(i,s,o);if(typeof o.reduce=="function")return t(i,s,o,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function DSe(e,t,r){for(var n=0,i=r.length;n1){var s=!Fy(n)&&us(i,n)&&typeof n[i]=="object"?n[i]:q0(t[1])?[]:{};r=e(Array.prototype.slice.call(t,1),r,s)}return ZSe(i,r,n)});function tO(e){var t=Object.prototype.toString.call(e);return t==="[object Function]"||t==="[object AsyncFunction]"||t==="[object GeneratorFunction]"||t==="[object AsyncGeneratorFunction]"}var rwe=It(function(t,r){var n=Sr(t,r);return Sr(t,function(){return uh(GSe,ch(n,arguments[0]),Array.prototype.slice.call(arguments,1))})}),rO=hr(function(t){return rwe(t.length,t)}),vu=It(function(t,r){return tO(t)?function(){return t.apply(this,arguments)&&r.apply(this,arguments)}:rO(zSe)(t,r)});function rB(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}function nO(e,t,r){if(r||(r=new iwe),nwe(e))return e;var n=function(s){var o=r.get(e);if(o)return o;r.set(e,s);for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&(s[l]=t?nO(e[l],!0,r):e[l]);return s};switch(ds(e)){case"Object":return n(Object.create(Object.getPrototypeOf(e)));case"Array":return n([]);case"Date":return new Date(e.valueOf());case"RegExp":return rB(e);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return e.slice();default:return e}}function nwe(e){var t=typeof e;return e==null||t!="object"&&t!="function"}var iwe=function(){function e(){this.map={},this.length=0}return e.prototype.set=function(t,r){const n=this.hash(t);let i=this.map[n];i||(this.map[n]=i=[]),i.push([t,r]),this.length+=1},e.prototype.hash=function(t){let r=[];for(var n in t)r.push(Object.prototype.toString.call(t[n]));return r.join()},e.prototype.get=function(t){if(this.length<=180){for(const i in this.map){const s=this.map[i];for(let o=0;o=0&&this.i>=this.n?z0(n):n},e}();function wwe(e){return function(t){return new Swe(e,t)}}var _we=It(il(["take"],wwe,function(t,r){return dh(0,t<0?1/0:t,r)}));function xwe(e,t){for(var r=t.length-1;r>=0&&e(t[r]);)r-=1;return dh(0,r+1,t)}var Awe=function(){function e(t,r){this.f=t,this.retained=[],this.xf=r}return e.prototype["@@transducer/init"]=Ii.init,e.prototype["@@transducer/result"]=function(t){return this.retained=null,this.xf["@@transducer/result"](t)},e.prototype["@@transducer/step"]=function(t,r){return this.f(r)?this.retain(t,r):this.flush(t,r)},e.prototype.flush=function(t,r){return t=eO(this.xf,t,this.retained),this.retained=[],this.xf["@@transducer/step"](t,r)},e.prototype.retain=function(t,r){return this.retained.push(r),t},e}();function Owe(e){return function(t){return new Awe(e,t)}}var Cwe=It(il([],Owe,xwe)),K0=W0(-1),$we=function(){function e(t,r){this.xf=r,this.f=t}return e.prototype["@@transducer/init"]=Ii.init,e.prototype["@@transducer/result"]=Ii.result,e.prototype["@@transducer/step"]=function(t,r){if(this.f){if(this.f(r))return t;this.f=null}return this.xf["@@transducer/step"](t,r)},e}();function kwe(e){return function(t){return new $we(e,t)}}var Twe=It(il(["dropWhile"],kwe,function(t,r){for(var n=0,i=r.length;ne.length)&&(t=e.length);for(var r=0,n=new Array(t);rt.length}),txe=bn(n_e(exe),cwe,fh("length")),rxe=sO(function(e,t,r){var n=r.apply(void 0,G_e(e));return d_e(n)?r_e(n):t}),nxe=function(t){var r=txe(t);return Sr(r,function(){for(var n=arguments.length,i=new Array(n),s=0;s1)for(var r=1;rH0(s_e(/^win/),["platform"],Uy),pO=e=>{try{const t=new URL(e);return dxe(":",t.protocol)}catch{return}};bn(pO,cB);const yxe=e=>{const t=e.lastIndexOf(".");return t>=0?e.substring(t).toLowerCase():""},Vp=e=>{if(Uy.browser)return!1;const t=pO(e);return oa(t)||t==="file"||/^[a-zA-Z]$/.test(t)},_c=e=>{const t=pO(e);return t==="http"||t==="https"},_B=(e,t)=>{const r=[/%23/g,"#",/%24/g,"$",/%26/g,"&",/%2C/g,",",/%40/g,"@"],n=y_(!1,"keepFileProtocol",t),i=y_(fO,"isWindows",t);let s=decodeURI(e);for(let l=0;l{const t=[/\?/g,"%3F",/#/g,"%23"];let r=e;fO()&&(r=r.replace(/\\/g,"/")),r=encodeURI(r);for(let n=0;n{const t=e.indexOf("#");return t!==-1?e.substring(t):"#"},qr=e=>{const t=e.indexOf("#");let r=e;return t>=0&&(r=e.substring(0,t)),r},w_=()=>{if(Uy.browser)return qr(globalThis.location.href);const e=Uy.cwd(),t=K0(e);return["/","\\"].includes(t)?e:e+(fO()?"\\":"/")},gn=(e,t)=>{const r=new URL(t,new URL(e,"resolve://"));if(r.protocol==="resolve:"){const{pathname:n,search:i,hash:s}=r;return n+i+s}return r.toString()},gh=e=>{if(Vp(e))return vxe(_B(e));try{return new URL(e).toString()}catch{return encodeURI(decodeURI(e)).replace(/%5B/g,"[").replace(/%5D/g,"]")}},on=e=>Vp(e)?_B(e):decodeURI(e),bxe=Vt({props:{uri:null,mediaType:"text/plain",data:null,parseResult:null},init({uri:e=this.uri,mediaType:t=this.mediaType,data:r=this.data,parseResult:n=this.parseResult}={}){this.uri=e,this.mediaType=t,this.data=r,this.parseResult=n},methods:{get extension(){return bu(this.uri)?yxe(this.uri):""},toString(){return typeof this.data=="string"?this.data:this.data instanceof ArrayBuffer||["ArrayBuffer"].includes(ds(this.data))||ArrayBuffer.isView(this.data)?new TextDecoder("utf-8").decode(this.data):String(this.data)}}}),nu=bxe,Exe={parse:{mediaType:"text/plain",parsers:[],parserOpts:{}},resolve:{baseURI:"",resolvers:[],resolverOpts:{},strategies:[],external:!0,maxDepth:1/0},dereference:{strategies:[],refSet:null,maxDepth:1/0},bundle:{strategies:[],refSet:null,maxDepth:1/0}},Sxe=Exe,wxe=qwe(Gn(["resolve","baseURI"]),twe(["resolve","baseURI"])),_xe=e=>mB(e)?w_():e,xxe=(e,t)=>{const r=sB(e,t);return Xwe(wxe,_xe,r)};var Axe=UF,Oxe=VF,QI=Axe("keys"),dO=function(e){return QI[e]||(QI[e]=Oxe(e))},Cxe=ys,$xe=!Cxe(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),kxe=_o,Txe=vs,Pxe=$A,Rxe=dO,Ixe=$xe,ZI=Rxe("IE_PROTO"),__=Object,Nxe=__.prototype,hO=Ixe?__.getPrototypeOf:function(e){var t=Pxe(e);if(kxe(t,ZI))return t[ZI];var r=t.constructor;return Txe(r)&&t instanceof r?r.prototype:t instanceof __?Nxe:null},jxe=Si,Mxe=ih,Dxe=function(e,t,r){try{return jxe(Mxe(Object.getOwnPropertyDescriptor(e,t)[r]))}catch{}},Fxe=wo,Lxe=function(e){return Fxe(e)||e===null},Bxe=Lxe,Uxe=String,Vxe=TypeError,zxe=function(e){if(Bxe(e))return e;throw new Vxe("Can't set "+Uxe(e)+" as a prototype")},qxe=Dxe,Wxe=el,Kxe=zxe,mO=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=qxe(Object.prototype,"__proto__","set"),r(t,[]),e=t instanceof Array}catch{}return function(i,s){return Wxe(i),Kxe(s),e?r(i,s):i.__proto__=s,i}}():void 0),AB={},Hxe=GF,Jxe=PA,Gxe=Jxe.concat("length","prototype");AB.f=Object.getOwnPropertyNames||function(t){return Hxe(t,Gxe)};var Yxe=rh,Xxe=Si,Qxe=AB,Zxe=RA,e2e=el,t2e=Xxe([].concat),r2e=Yxe("Reflect","ownKeys")||function(t){var r=Qxe.f(e2e(t)),n=Zxe.f;return n?t2e(r,n(t)):r},eN=_o,n2e=r2e,i2e=wA,s2e=mu,OB=function(e,t,r){for(var n=n2e(t),i=s2e.f,s=i2e.f,o=0;oo;)l2e.f(t,l=i[o++],n[l]);return t};var p2e=rh,d2e=p2e("document","documentElement"),h2e=el,m2e=CB,tN=PA,g2e=TA,y2e=d2e,v2e=qF,b2e=dO,rN=">",nN="<",x_="prototype",A_="script",$B=b2e("IE_PROTO"),vS=function(){},kB=function(e){return nN+A_+rN+e+nN+"/"+A_+rN},iN=function(e){e.write(kB("")),e.close();var t=e.parentWindow.Object;return e=null,t},E2e=function(){var e=v2e("iframe"),t="java"+A_+":",r;return e.style.display="none",y2e.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(kB("document.F=Object")),r.close(),r.F},og,Gg=function(){try{og=new ActiveXObject("htmlfile")}catch{}Gg=typeof document<"u"?document.domain&&og?iN(og):E2e():iN(og);for(var e=tN.length;e--;)delete Gg[x_][tN[e]];return Gg()};g2e[$B]=!0;var gO=Object.create||function(t,r){var n;return t!==null?(vS[x_]=h2e(t),n=new vS,vS[x_]=null,n[$B]=t):n=Gg(),r===void 0?n:m2e.f(n,r)},S2e=wo,w2e=tl,TB=function(e,t){S2e(t)&&"cause"in t&&w2e(e,"cause",t.cause)},_2e=Si,PB=Error,x2e=_2e("".replace),A2e=function(e){return String(new PB(e).stack)}("zxcasd"),RB=/\n\s*at [^:]*:[^\n]*/,O2e=RB.test(A2e),C2e=function(e,t){if(O2e&&typeof e=="string"&&!PB.prepareStackTrace)for(;t--;)e=x2e(e,RB,"");return e},$2e=ys,k2e=Zd,T2e=!$2e(function(){var e=new Error("a");return"stack"in e?(Object.defineProperty(e,"stack",k2e(1,7)),e.stack!==7):!0}),P2e=tl,R2e=C2e,I2e=T2e,sN=Error.captureStackTrace,IB=function(e,t,r,n){I2e&&(sN?sN(e,t):P2e(e,"stack",R2e(r,n)))},pf={},N2e=ea,j2e=pf,M2e=N2e("iterator"),D2e=Array.prototype,F2e=function(e){return e!==void 0&&(j2e.Array===e||D2e[M2e]===e)},L2e=ea,B2e=L2e("toStringTag"),NB={};NB[B2e]="z";var yO=String(NB)==="[object z]",U2e=yO,V2e=vs,Yg=SA,z2e=ea,q2e=z2e("toStringTag"),W2e=Object,K2e=Yg(function(){return arguments}())==="Arguments",H2e=function(e,t){try{return e[t]}catch{}},vO=U2e?Yg:function(e){var t,r,n;return e===void 0?"Undefined":e===null?"Null":typeof(r=H2e(t=W2e(e),q2e))=="string"?r:K2e?Yg(t):(n=Yg(t))==="Object"&&V2e(t.callee)?"Arguments":n},J2e=vO,oN=CA,G2e=xA,Y2e=pf,X2e=ea,Q2e=X2e("iterator"),jB=function(e){if(!G2e(e))return oN(e,Q2e)||oN(e,"@@iterator")||Y2e[J2e(e)]},Z2e=Za,eAe=ih,tAe=el,rAe=OA,nAe=jB,iAe=TypeError,sAe=function(e,t){var r=arguments.length<2?nAe(e):t;if(eAe(r))return tAe(Z2e(r,e));throw new iAe(rAe(e)+" is not iterable")},oAe=Za,aN=el,aAe=CA,lAe=function(e,t,r){var n,i;aN(e);try{if(n=aAe(e,"return"),!n){if(t==="throw")throw r;return r}n=oAe(n,e)}catch(s){i=!0,n=s}if(t==="throw")throw r;if(i)throw n;return aN(n),r},uAe=KF,cAe=Za,fAe=el,pAe=OA,dAe=F2e,hAe=JF,lN=nh,mAe=sAe,gAe=jB,uN=lAe,yAe=TypeError,Xg=function(e,t){this.stopped=e,this.result=t},cN=Xg.prototype,vAe=function(e,t,r){var n=r&&r.that,i=!!(r&&r.AS_ENTRIES),s=!!(r&&r.IS_RECORD),o=!!(r&&r.IS_ITERATOR),l=!!(r&&r.INTERRUPTED),c=uAe(t,n),h,v,y,S,b,_,$,P=function(A){return h&&uN(h,"normal",A),new Xg(!0,A)},x=function(A){return i?(fAe(A),l?c(A[0],A[1],P):c(A[0],A[1])):l?c(A,P):c(A)};if(s)h=e.iterator;else if(o)h=e;else{if(v=gAe(e),!v)throw new yAe(pAe(e)+" is not iterable");if(dAe(v)){for(y=0,S=hAe(e);S>y;y++)if(b=x(e[y]),b&&lN(cN,b))return b;return new Xg(!1)}h=mAe(e,v)}for(_=s?e.next:h.next;!($=cAe(_,h)).done;){try{b=x($.value)}catch(A){uN(h,"throw",A)}if(typeof b=="object"&&b&&lN(cN,b))return b}return new Xg(!1)},bAe=vO,EAe=String,bO=function(e){if(bAe(e)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return EAe(e)},SAe=bO,MB=function(e,t){return e===void 0?arguments.length<2?"":t:SAe(e)},wAe=cf,_Ae=nh,xAe=hO,Vy=mO,AAe=OB,DB=gO,bS=tl,ES=Zd,OAe=TB,CAe=IB,$Ae=vAe,kAe=MB,TAe=ea,PAe=TAe("toStringTag"),zy=Error,RAe=[].push,Fc=function(t,r){var n=_Ae(SS,this),i;Vy?i=Vy(new zy,n?xAe(this):SS):(i=n?this:DB(SS),bS(i,PAe,"Error")),r!==void 0&&bS(i,"message",kAe(r)),CAe(i,Fc,i.stack,1),arguments.length>2&&OAe(i,arguments[2]);var s=[];return $Ae(t,RAe,{that:s}),bS(i,"errors",s),i};Vy?Vy(Fc,zy):AAe(Fc,zy,{name:!0});var SS=Fc.prototype=DB(zy.prototype,{constructor:ES(1,Fc),message:ES(1,""),name:ES(1,"AggregateError")});wAe({global:!0,constructor:!0,arity:2},{AggregateError:Fc});var IAe=mu.f,NAe=function(e,t,r){r in e||IAe(e,r,{configurable:!0,get:function(){return t[r]},set:function(n){t[r]=n}})},jAe=vs,MAe=wo,fN=mO,DAe=function(e,t,r){var n,i;return fN&&jAe(n=t.constructor)&&n!==r&&MAe(i=n.prototype)&&i!==r.prototype&&fN(e,i),e},pN=rh,FAe=tl,LAe=nh,dN=mO,hN=OB,mN=NAe,BAe=DAe,UAe=MB,VAe=TB,zAe=IB,qAe=Zo,FB=function(e,t,r,n){var i="stackTraceLimit",s=n?2:1,o=e.split("."),l=o[o.length-1],c=pN.apply(null,o);if(c){var h=c.prototype;if(!r)return c;var v=pN("Error"),y=t(function(S,b){var _=UAe(n?b:S,void 0),$=n?new c(S):new c;return _!==void 0&&FAe($,"message",_),zAe($,y,$.stack,2),this&&LAe(h,this)&&BAe($,this,y),arguments.length>s&&VAe($,arguments[s]),$});return y.prototype=h,l!=="Error"?dN?dN(y,v):hN(y,v,{name:!0}):qAe&&i in c&&(mN(y,c,i),mN(y,c,"prepareStackTrace")),hN(y,c),y}},LB=cf,WAe=Di,xo=EA,BB=FB,O_="WebAssembly",gN=WAe[O_],qy=new Error("e",{cause:7}).cause!==7,Eu=function(e,t){var r={};r[e]=BB(e,t,qy),LB({global:!0,constructor:!0,arity:1,forced:qy},r)},EO=function(e,t){if(gN&&gN[e]){var r={};r[e]=BB(O_+"."+e,t,qy),LB({target:O_,stat:!0,constructor:!0,arity:1,forced:qy},r)}};Eu("Error",function(e){return function(r){return xo(e,this,arguments)}});Eu("EvalError",function(e){return function(r){return xo(e,this,arguments)}});Eu("RangeError",function(e){return function(r){return xo(e,this,arguments)}});Eu("ReferenceError",function(e){return function(r){return xo(e,this,arguments)}});Eu("SyntaxError",function(e){return function(r){return xo(e,this,arguments)}});Eu("TypeError",function(e){return function(r){return xo(e,this,arguments)}});Eu("URIError",function(e){return function(r){return xo(e,this,arguments)}});EO("CompileError",function(e){return function(r){return xo(e,this,arguments)}});EO("LinkError",function(e){return function(r){return xo(e,this,arguments)}});EO("RuntimeError",function(e){return function(r){return xo(e,this,arguments)}});var KAe=cf,HAe=rh,JAe=EA,yN=ys,GAe=FB,SO="AggregateError",vN=HAe(SO),bN=!yN(function(){return vN([1]).errors[0]!==1})&&yN(function(){return vN([1],SO,{cause:7}).cause!==7});KAe({global:!0,constructor:!0,arity:2,forced:bN},{AggregateError:GAe(SO,function(e){return function(r,n){return JAe(e,this,arguments)}},bN,!0)});var YAe=Di,XAe=vs,EN=YAe.WeakMap,QAe=XAe(EN)&&/native code/.test(String(EN)),ZAe=QAe,UB=Di,eOe=wo,tOe=tl,wS=_o,_S=BF,rOe=dO,nOe=TA,SN="Object already initialized",C_=UB.TypeError,iOe=UB.WeakMap,Wy,md,Ky,sOe=function(e){return Ky(e)?md(e):Wy(e,{})},oOe=function(e){return function(t){var r;if(!eOe(t)||(r=md(t)).type!==e)throw new C_("Incompatible receiver, "+e+" required");return r}};if(ZAe||_S.state){var Gs=_S.state||(_S.state=new iOe);Gs.get=Gs.get,Gs.has=Gs.has,Gs.set=Gs.set,Wy=function(e,t){if(Gs.has(e))throw new C_(SN);return t.facade=e,Gs.set(e,t),t},md=function(e){return Gs.get(e)||{}},Ky=function(e){return Gs.has(e)}}else{var Gu=rOe("state");nOe[Gu]=!0,Wy=function(e,t){if(wS(e,Gu))throw new C_(SN);return t.facade=e,tOe(e,Gu,t),t},md=function(e){return wS(e,Gu)?e[Gu]:{}},Ky=function(e){return wS(e,Gu)}}var VB={set:Wy,get:md,has:Ky,enforce:sOe,getterFor:oOe},$_=Zo,aOe=_o,zB=Function.prototype,lOe=$_&&Object.getOwnPropertyDescriptor,wO=aOe(zB,"name"),uOe=wO&&(function(){}).name==="something",cOe=wO&&(!$_||$_&&lOe(zB,"name").configurable),fOe={EXISTS:wO,PROPER:uOe,CONFIGURABLE:cOe},pOe=tl,qB=function(e,t,r,n){return n&&n.enumerable?e[t]=r:pOe(e,t,r),e},dOe=ys,hOe=vs,mOe=wo,gOe=gO,wN=hO,yOe=qB,vOe=ea,k_=vOe("iterator"),WB=!1,Bo,xS,AS;[].keys&&(AS=[].keys(),"next"in AS?(xS=wN(wN(AS)),xS!==Object.prototype&&(Bo=xS)):WB=!0);var bOe=!mOe(Bo)||dOe(function(){var e={};return Bo[k_].call(e)!==e});bOe?Bo={}:Bo=gOe(Bo);hOe(Bo[k_])||yOe(Bo,k_,function(){return this});var KB={IteratorPrototype:Bo,BUGGY_SAFARI_ITERATORS:WB},EOe=yO,SOe=vO,wOe=EOe?{}.toString:function(){return"[object "+SOe(this)+"]"},_Oe=yO,xOe=mu.f,AOe=tl,OOe=_o,COe=wOe,$Oe=ea,_N=$Oe("toStringTag"),_O=function(e,t,r,n){var i=r?e:e&&e.prototype;i&&(OOe(i,_N)||xOe(i,_N,{configurable:!0,value:t}),n&&!_Oe&&AOe(i,"toString",COe))},kOe=KB.IteratorPrototype,TOe=gO,POe=Zd,ROe=_O,IOe=pf,NOe=function(){return this},jOe=function(e,t,r,n){var i=t+" Iterator";return e.prototype=TOe(kOe,{next:POe(+!n,r)}),ROe(e,i,!1,!0),IOe[i]=NOe,e},MOe=cf,DOe=Za,HB=fOe,FOe=jOe,LOe=hO,BOe=_O,xN=qB,UOe=ea,AN=pf,JB=KB,VOe=HB.PROPER;HB.CONFIGURABLE;JB.IteratorPrototype;var ag=JB.BUGGY_SAFARI_ITERATORS,OS=UOe("iterator"),ON="keys",lg="values",CN="entries",zOe=function(){return this},GB=function(e,t,r,n,i,s,o){FOe(r,t,n);var l=function(x){if(x===i&&S)return S;if(!ag&&x&&x in v)return v[x];switch(x){case ON:return function(){return new r(this,x)};case lg:return function(){return new r(this,x)};case CN:return function(){return new r(this,x)}}return function(){return new r(this)}},c=t+" Iterator",h=!1,v=e.prototype,y=v[OS]||v["@@iterator"]||i&&v[i],S=!ag&&y||l(i),b=t==="Array"&&v.entries||y,_,$,P;if(b&&(_=LOe(b.call(new e)),_!==Object.prototype&&_.next&&(BOe(_,c,!0,!0),AN[c]=zOe)),VOe&&i===lg&&y&&y.name!==lg&&(h=!0,S=function(){return DOe(y,this)}),i)if($={values:l(lg),keys:s?S:l(ON),entries:l(CN)},o)for(P in $)(ag||h||!(P in v))&&xN(v,P,$[P]);else MOe({target:t,proto:!0,forced:ag||h},$);return o&&v[OS]!==S&&xN(v,OS,S,{name:i}),AN[t]=S,$},YB=function(e,t){return{value:e,done:t}},qOe=eh,$N=pf,XB=VB;mu.f;var WOe=GB,ug=YB,QB="Array Iterator",KOe=XB.set,HOe=XB.getterFor(QB);WOe(Array,"Array",function(e,t){KOe(this,{type:QB,target:qOe(e),index:0,kind:t})},function(){var e=HOe(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,ug(void 0,!0);switch(e.kind){case"keys":return ug(r,!1);case"values":return ug(t[r],!1)}return ug([r,t[r]],!1)},"values");$N.Arguments=$N.Array;var xO=Si,JOe=kA,GOe=bO,YOe=AA,XOe=xO("".charAt),kN=xO("".charCodeAt),QOe=xO("".slice),TN=function(e){return function(t,r){var n=GOe(YOe(t)),i=JOe(r),s=n.length,o,l;return i<0||i>=s?e?"":void 0:(o=kN(n,i),o<55296||o>56319||i+1===s||(l=kN(n,i+1))<56320||l>57343?e?XOe(n,i):o:e?QOe(n,i,i+2):(o-55296<<10)+(l-56320)+65536)}},ZOe={codeAt:TN(!1),charAt:TN(!0)},eCe=ZOe.charAt,tCe=bO,ZB=VB,rCe=GB,PN=YB,e6="String Iterator",nCe=ZB.set,iCe=ZB.getterFor(e6);rCe(String,"String",function(e){nCe(this,{type:e6,string:tCe(e),index:0})},function(){var t=iCe(this),r=t.string,n=t.index,i;return n>=r.length?PN(void 0,!0):(i=eCe(r,n),t.index+=i.length,PN(i,!1))});var sCe=th,oCe=sCe.AggregateError,aCe={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},lCe=aCe,uCe=Di,cCe=_O,RN=pf;for(var CS in lCe)cCe(uCe[CS],CS),RN[CS]=RN.Array;var fCe=oCe,pCe=fCe,dCe=pCe,hCe=dCe,mCe=hCe,gCe=mCe,yCe=gCe,vCe=yCe;const bCe=Tt(vCe);class ECe extends bCe{constructor(t,r,n){if(super(t,r,n),this.name=this.constructor.name,typeof r=="string"&&(this.message=r),typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(r).stack,n!=null&&typeof n=="object"&&Object.hasOwn(n,"cause")&&!("cause"in this)){const{cause:i}=n;this.cause=i,i instanceof Error&&"stack"in i&&(this.stack=`${this.stack} +CAUSE: ${i.stack}`)}}}class SCe extends Error{static[Symbol.hasInstance](t){return super[Symbol.hasInstance](t)||Function.prototype[Symbol.hasInstance].call(ECe,t)}constructor(t,r){if(super(t,r),this.name=this.constructor.name,typeof t=="string"&&(this.message=t),typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,r!=null&&typeof r=="object"&&Object.hasOwn(r,"cause")&&!("cause"in this)){const{cause:n}=r;this.cause=n,n instanceof Error&&"stack"in n&&(this.stack=`${this.stack} +CAUSE: ${n.stack}`)}}}const Kr=SCe;class wCe extends Kr{constructor(t,r){if(super(t,r),r!=null&&typeof r=="object"){const{cause:n,...i}=r;Object.assign(this,i)}}}const yh=wCe;class wn extends Kr{}class _Ce extends wn{}const fo=_Ce;class xCe extends Kr{constructor(r,n){super(r,{cause:n.cause});ie(this,"plugin");this.plugin=n.plugin}}const AO=async(e,t,r)=>{const n=await Promise.all(r.map(By([e],[t])));return r.filter((i,s)=>n[s])},OO=async(e,t,r)=>{let n;for(const i of r)try{const s=await i[e].call(i,...t);return{plugin:i,result:s}}catch(s){n=new xCe("Error while running plugin",{cause:s,plugin:i})}return Promise.reject(n)};class T_ extends Kr{}class CO extends Kr{}class ACe extends CO{}const t6=ACe;class OCe extends t6{}const r6=OCe,CCe=async(e,t)=>{const r=t.resolve.resolvers.map(i=>{const s=Object.create(i);return Object.assign(s,t.resolve.resolverOpts)}),n=await AO("canRead",e,r);if(hh(n))throw new r6(e.uri);try{const{result:i}=await OO("read",[e],n);return i}catch(i){throw new CO(`Error while reading file "${e.uri}"`,{cause:i})}},$Ce=async(e,t)=>{const r=t.parse.parsers.map(i=>{const s=Object.create(i);return Object.assign(s,t.parse.parserOpts)}),n=await AO("canParse",e,r);if(hh(n))throw new r6(e.uri);try{const{plugin:i,result:s}=await OO("parse",[e],n);return!i.allowEmpty&&s.isEmpty?Promise.reject(new T_(`Error while parsing file "${e.uri}". File is empty.`)):s}catch(i){throw new T_(`Error while parsing file "${e.uri}"`,{cause:i})}},n6=async(e,t)=>{const r=nu({uri:gh(qr(e)),mediaType:t.parse.mediaType}),n=await CCe(r,t);return $Ce(nu({...r,data:n}),t)};function kCe(e){return e===null}var TCe=kCe,PCe=So,RCe=ri,ICe="[object Number]";function NCe(e){return typeof e=="number"||RCe(e)&&PCe(e)==ICe}var jCe=NCe,MCe=So,DCe=ri,FCe="[object Boolean]";function LCe(e){return e===!0||e===!1||DCe(e)&&MCe(e)==FCe}var BCe=LCe;let UCe=class{constructor(t){this.namespace=t||new this.Namespace}serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${t}\` is not an Element instance`);const r={element:t.element};t._meta&&t._meta.length>0&&(r.meta=this.serialiseObject(t.meta)),t._attributes&&t._attributes.length>0&&(r.attributes=this.serialiseObject(t.attributes));const n=this.serialiseContent(t.content);return n!==void 0&&(r.content=n),r}deserialise(t){if(!t.element)throw new Error("Given value is not an object containing an element name");const r=this.namespace.getElementClass(t.element),n=new r;n.element!==t.element&&(n.element=t.element),t.meta&&this.deserialiseObject(t.meta,n.meta),t.attributes&&this.deserialiseObject(t.attributes,n.attributes);const i=this.deserialiseContent(t.content);return(i!==void 0||n.content===null)&&(n.content=i),n}serialiseContent(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const r={key:this.serialise(t.key)};return t.value&&(r.value=this.serialise(t.value)),r}return t&&t.map?t.length===0?void 0:t.map(this.serialise,this):t}deserialiseContent(t){if(t){if(t.element)return this.deserialise(t);if(t.key){const r=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(r.value=this.deserialise(t.value)),r}if(t.map)return t.map(this.deserialise,this)}return t}serialiseObject(t){const r={};if(t.forEach((n,i)=>{n&&(r[i.toValue()]=this.serialise(n))}),Object.keys(r).length!==0)return r}deserialiseObject(t,r){Object.keys(t).forEach(n=>{r.set(n,this.deserialise(t[n]))})}};var VCe=UCe,zCe=oA;function qCe(e,t){return zCe(e,t)}var WCe=qCe;let KCe=class i6{constructor(t,r){this.key=t,this.value=r}clone(){const t=new i6;return this.key&&(t.key=this.key.clone()),this.value&&(t.value=this.value.clone()),t}};var Y0=KCe,HCe="Expected a function";function JCe(e){if(typeof e!="function")throw new TypeError(HCe);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var X0=JCe;const GCe=X0;function $S(e){return typeof e=="string"?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}let s6=class P_{constructor(t){this.elements=t||[]}toValue(){return this.elements.map(t=>t.toValue())}map(t,r){return this.elements.map(t,r)}flatMap(t,r){return this.map(t,r).reduce((n,i)=>n.concat(i),[])}compactMap(t,r){const n=[];return this.forEach(i=>{const s=t.bind(r)(i);s&&n.push(s)}),n}filter(t,r){return t=$S(t),new P_(this.elements.filter(t,r))}reject(t,r){return t=$S(t),new P_(this.elements.filter(GCe(t),r))}find(t,r){return t=$S(t),this.elements.find(t,r)}forEach(t,r){this.elements.forEach(t,r)}reduce(t,r){return this.elements.reduce(t,r)}includes(t){return this.elements.some(r=>r.equals(t))}shift(){return this.elements.shift()}unshift(t){this.elements.unshift(this.refract(t))}push(t){return this.elements.push(this.refract(t)),this}add(t){this.push(t)}get(t){return this.elements[t]}getValue(t){const r=this.elements[t];if(r)return r.toValue()}get length(){return this.elements.length}get isEmpty(){return this.elements.length===0}get first(){return this.elements[0]}};typeof Symbol<"u"&&(s6.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()});var Q0=s6;const YCe=WCe,cg=Y0,_a=Q0;let XCe=class Qg{constructor(t,r,n){r&&(this.meta=r),n&&(this.attributes=n),this.content=t}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach(t=>{t.parent=this,t.freeze()},this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const t=new this.constructor;return t.element=this.element,this.meta.length&&(t._meta=this.meta.clone()),this.attributes.length&&(t._attributes=this.attributes.clone()),this.content?this.content.clone?t.content=this.content.clone():Array.isArray(this.content)?t.content=this.content.map(r=>r.clone()):t.content=this.content:t.content=this.content,t}toValue(){return this.content instanceof Qg?this.content.toValue():this.content instanceof cg?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map(t=>t.toValue(),this):this.content}toRef(t){if(this.id.toValue()==="")throw Error("Cannot create reference to an element that does not contain an ID");const r=new this.RefElement(this.id.toValue());return t&&(r.path=t),r}findRecursive(...t){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const r=t.pop();let n=new _a;const i=(o,l)=>(o.push(l),o),s=(o,l)=>{l.element===r&&o.push(l);const c=l.findRecursive(r);return c&&c.reduce(i,o),l.content instanceof cg&&(l.content.key&&s(o,l.content.key),l.content.value&&s(o,l.content.value)),o};return this.content&&(this.content.element&&s(n,this.content),Array.isArray(this.content)&&this.content.reduce(s,n)),t.isEmpty||(n=n.filter(o=>{let l=o.parents.map(c=>c.element);for(const c in t){const h=t[c],v=l.indexOf(h);if(v!==-1)l=l.splice(0,v);else return!1}return!0})),n}set(t){return this.content=t,this}equals(t){return YCe(this.toValue(),t)}getMetaProperty(t,r){if(!this.meta.hasKey(t)){if(this.isFrozen){const n=this.refract(r);return n.freeze(),n}this.meta.set(t,r)}return this.meta.get(t)}setMetaProperty(t,r){this.meta.set(t,r)}get element(){return this._storedElement||"element"}set element(t){this._storedElement=t}get content(){return this._content}set content(t){if(t instanceof Qg)this._content=t;else if(t instanceof _a)this.content=t.elements;else if(typeof t=="string"||typeof t=="number"||typeof t=="boolean"||t==="null"||t==null)this._content=t;else if(t instanceof cg)this._content=t;else if(Array.isArray(t))this._content=t.map(this.refract);else if(typeof t=="object")this._content=Object.keys(t).map(r=>new this.MemberElement(r,t[r]));else throw new Error("Cannot set content to given value")}get meta(){if(!this._meta){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._meta=new this.ObjectElement}return this._meta}set meta(t){t instanceof this.ObjectElement?this._meta=t:this.meta.set(t||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._attributes=new this.ObjectElement}return this._attributes}set attributes(t){t instanceof this.ObjectElement?this._attributes=t:this.attributes.set(t||{})}get id(){return this.getMetaProperty("id","")}set id(t){this.setMetaProperty("id",t)}get classes(){return this.getMetaProperty("classes",[])}set classes(t){this.setMetaProperty("classes",t)}get title(){return this.getMetaProperty("title","")}set title(t){this.setMetaProperty("title",t)}get description(){return this.getMetaProperty("description","")}set description(t){this.setMetaProperty("description",t)}get links(){return this.getMetaProperty("links",[])}set links(t){this.setMetaProperty("links",t)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:t}=this;const r=new _a;for(;t;)r.push(t),t=t.parent;return r}get children(){if(Array.isArray(this.content))return new _a(this.content);if(this.content instanceof cg){const t=new _a([this.content.key]);return this.content.value&&t.push(this.content.value),t}return this.content instanceof Qg?new _a([this.content]):new _a}get recursiveChildren(){const t=new _a;return this.children.forEach(r=>{t.push(r),r.recursiveChildren.forEach(n=>{t.push(n)})}),t}};var ua=XCe;const QCe=ua;let ZCe=class extends QCe{constructor(t,r,n){super(t||null,r,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}};var e$e=ZCe;const t$e=ua;var r$e=class extends t$e{constructor(t,r,n){super(t,r,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}};const n$e=ua;var i$e=class extends n$e{constructor(t,r,n){super(t,r,n),this.element="number"}primitive(){return"number"}};const s$e=ua;var o$e=class extends s$e{constructor(t,r,n){super(t,r,n),this.element="boolean"}primitive(){return"boolean"}};const a$e=X0,l$e=ua,IN=Q0;let gd=class extends l$e{constructor(t,r,n){super(t||[],r,n),this.element="array"}primitive(){return"array"}get(t){return this.content[t]}getValue(t){const r=this.get(t);if(r)return r.toValue()}getIndex(t){return this.content[t]}set(t,r){return this.content[t]=this.refract(r),this}remove(t){const r=this.content.splice(t,1);return r.length?r[0]:null}map(t,r){return this.content.map(t,r)}flatMap(t,r){return this.map(t,r).reduce((n,i)=>n.concat(i),[])}compactMap(t,r){const n=[];return this.forEach(i=>{const s=t.bind(r)(i);s&&n.push(s)}),n}filter(t,r){return new IN(this.content.filter(t,r))}reject(t,r){return this.filter(a$e(t),r)}reduce(t,r){let n,i;r!==void 0?(n=0,i=this.refract(r)):(n=1,i=this.primitive()==="object"?this.first.value:this.first);for(let s=n;s{t.bind(r)(n,this.refract(i))})}shift(){return this.content.shift()}unshift(t){this.content.unshift(this.refract(t))}push(t){return this.content.push(this.refract(t)),this}add(t){this.push(t)}findElements(t,r){const n=r||{},i=!!n.recursive,s=n.results===void 0?[]:n.results;return this.forEach((o,l,c)=>{i&&o.findElements!==void 0&&o.findElements(t,{results:s,recursive:i}),t(o,l,c)&&s.push(o)}),s}find(t){return new IN(this.findElements(t,{recursive:!0}))}findByElement(t){return this.find(r=>r.element===t)}findByClass(t){return this.find(r=>r.classes.includes(t))}getById(t){return this.find(r=>r.id.toValue()===t).first}includes(t){return this.content.some(r=>r.equals(t))}contains(t){return this.includes(t)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(t){return new this.constructor(this.content.concat(t.content))}"fantasy-land/concat"(t){return this.concat(t)}"fantasy-land/map"(t){return new this.constructor(this.map(t))}"fantasy-land/chain"(t){return this.map(r=>t(r),this).reduce((r,n)=>r.concat(n),this.empty())}"fantasy-land/filter"(t){return new this.constructor(this.content.filter(t))}"fantasy-land/reduce"(t,r){return this.content.reduce(t,r)}get length(){return this.content.length}get isEmpty(){return this.content.length===0}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}};gd.empty=function(){return new this};gd["fantasy-land/empty"]=gd.empty;typeof Symbol<"u"&&(gd.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()});var o6=gd;const u$e=Y0,c$e=ua;var a6=class extends c$e{constructor(t,r,n,i){super(new u$e,n,i),this.element="member",this.key=t,this.value=r}get key(){return this.content.key}set key(t){this.content.key=this.refract(t)}get value(){return this.content.value}set value(t){this.content.value=this.refract(t)}};const f$e=X0,p$e=Q0;let d$e=class l6 extends p$e{map(t,r){return this.elements.map(n=>t.bind(r)(n.value,n.key,n))}filter(t,r){return new l6(this.elements.filter(n=>t.bind(r)(n.value,n.key,n)))}reject(t,r){return this.filter(f$e(t.bind(r)))}forEach(t,r){return this.elements.forEach((n,i)=>{t.bind(r)(n.value,n.key,n,i)})}keys(){return this.map((t,r)=>r.toValue())}values(){return this.map(t=>t.toValue())}};var u6=d$e;const h$e=X0,m$e=ti,g$e=o6,y$e=a6,v$e=u6;let b$e=class extends g$e{constructor(t,r,n){super(t||[],r,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce((t,r)=>(t[r.key.toValue()]=r.value?r.value.toValue():void 0,t),{})}get(t){const r=this.getMember(t);if(r)return r.value}getMember(t){if(t!==void 0)return this.content.find(r=>r.key.toValue()===t)}remove(t){let r=null;return this.content=this.content.filter(n=>n.key.toValue()===t?(r=n,!1):!0),r}getKey(t){const r=this.getMember(t);if(r)return r.key}set(t,r){if(m$e(t))return Object.keys(t).forEach(s=>{this.set(s,t[s])}),this;const n=t,i=this.getMember(n);return i?i.value=r:this.content.push(new y$e(n,r)),this}keys(){return this.content.map(t=>t.key.toValue())}values(){return this.content.map(t=>t.value.toValue())}hasKey(t){return this.content.some(r=>r.key.equals(t))}items(){return this.content.map(t=>[t.key.toValue(),t.value.toValue()])}map(t,r){return this.content.map(n=>t.bind(r)(n.value,n.key,n))}compactMap(t,r){const n=[];return this.forEach((i,s,o)=>{const l=t.bind(r)(i,s,o);l&&n.push(l)}),n}filter(t,r){return new v$e(this.content).filter(t,r)}reject(t,r){return this.filter(h$e(t),r)}forEach(t,r){return this.content.forEach(n=>t.bind(r)(n.value,n.key,n))}};var E$e=b$e;const S$e=ua;var w$e=class extends S$e{constructor(t,r,n){super(t||[],r,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(t){this.attributes.set("relation",t)}get href(){return this.attributes.get("href")}set href(t){this.attributes.set("href",t)}};const _$e=ua;var x$e=class extends _$e{constructor(t,r,n){super(t||[],r,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(t){this.attributes.set("path",t)}};const df=ua,c6=e$e,f6=r$e,p6=i$e,d6=o$e,h6=o6,m6=a6,$O=E$e,A$e=w$e,g6=x$e,y6=Q0,O$e=u6,C$e=Y0;function Z0(e){return e instanceof df?e:typeof e=="string"?new f6(e):typeof e=="number"?new p6(e):typeof e=="boolean"?new d6(e):e===null?new c6:Array.isArray(e)?new h6(e.map(Z0)):typeof e=="object"?new $O(e):e}df.prototype.ObjectElement=$O;df.prototype.RefElement=g6;df.prototype.MemberElement=m6;df.prototype.refract=Z0;y6.prototype.refract=Z0;var v6={Element:df,NullElement:c6,StringElement:f6,NumberElement:p6,BooleanElement:d6,ArrayElement:h6,MemberElement:m6,ObjectElement:$O,LinkElement:A$e,RefElement:g6,refract:Z0,ArraySlice:y6,ObjectSlice:O$e,KeyValuePair:C$e};const $$e=TCe,k$e=_L,T$e=jCe,P$e=BCe,R$e=ti,b6=VCe,Sn=v6;let E6=class{constructor(t){this.elementMap={},this.elementDetection=[],this.Element=Sn.Element,this.KeyValuePair=Sn.KeyValuePair,(!t||!t.noDefault)&&this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(t){return t.namespace&&t.namespace({base:this}),t.load&&t.load({base:this}),this}useDefault(){return this.register("null",Sn.NullElement).register("string",Sn.StringElement).register("number",Sn.NumberElement).register("boolean",Sn.BooleanElement).register("array",Sn.ArrayElement).register("object",Sn.ObjectElement).register("member",Sn.MemberElement).register("ref",Sn.RefElement).register("link",Sn.LinkElement),this.detect($$e,Sn.NullElement,!1).detect(k$e,Sn.StringElement,!1).detect(T$e,Sn.NumberElement,!1).detect(P$e,Sn.BooleanElement,!1).detect(Array.isArray,Sn.ArrayElement,!1).detect(R$e,Sn.ObjectElement,!1),this}register(t,r){return this._elements=void 0,this.elementMap[t]=r,this}unregister(t){return this._elements=void 0,delete this.elementMap[t],this}detect(t,r,n){return(n===void 0?!0:n)?this.elementDetection.unshift([t,r]):this.elementDetection.push([t,r]),this}toElement(t){if(t instanceof this.Element)return t;let r;for(let n=0;n{const r=t[0].toUpperCase()+t.substr(1);this._elements[r]=this.elementMap[t]})),this._elements}get serialiser(){return new b6(this)}};b6.prototype.Namespace=E6;var I$e=E6;const N$e=I$e,Fi=v6;var j$e=N$e,xc=Y0,yd=Fi.ArraySlice,Hy=Fi.ObjectSlice,M$e=Fi.Element,Wo=Fi.StringElement,R_=Fi.NumberElement,Ko=Fi.BooleanElement,I_=Fi.NullElement,mr=Fi.ArrayElement,et=Fi.ObjectElement,vh=Fi.MemberElement,N_=Fi.RefElement,j_=Fi.LinkElement,kO=Fi.refract;class Jy extends Wo{constructor(t,r,n){super(t,r,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(t){this.attributes.set("code",t)}}class Gy extends Wo{constructor(t,r,n){super(t,r,n),this.element="comment"}}class js extends mr{constructor(t,r,n){super(t,r,n),this.element="parseResult"}get api(){return this.children.filter(t=>t.classes.contains("api")).first}get results(){return this.children.filter(t=>t.classes.contains("result"))}get result(){return this.results.first}get annotations(){return this.children.filter(t=>t.element==="annotation")}get warnings(){return this.children.filter(t=>t.element==="annotation"&&t.classes.contains("warning"))}get errors(){return this.children.filter(t=>t.element==="annotation"&&t.classes.contains("error"))}get isEmpty(){return this.children.reject(t=>t.element==="annotation").isEmpty}replaceResult(t){const{result:r}=this;if(oa(r))return!1;const n=this.content.findIndex(i=>i===r);return n===-1?!1:(this.content[n]=t,!0)}}class Yy extends mr{constructor(t,r,n){super(t,r,n),this.element="sourceMap"}get positionStart(){return this.children.filter(t=>t.classes.contains("position")).get(0)}get positionEnd(){return this.children.filter(t=>t.classes.contains("position")).get(1)}set position(t){if(typeof t>"u")return;const r=new mr([t.start.row,t.start.column,t.start.char]),n=new mr([t.end.row,t.end.column,t.end.char]);r.classes.push("position"),n.classes.push("position"),this.push(r).push(n)}}const D$e=(e,t)=>typeof t=="object"&&t!==null&&e in t&&typeof t[e]=="function",F$e=e=>typeof e=="object"&&e!=null&&"_storedElement"in e&&typeof e._storedElement=="string"&&"_content"in e,L$e=(e,t)=>typeof t=="object"&&t!==null&&"primitive"in t?typeof t.primitive=="function"&&t.primitive()===e:!1,B$e=(e,t)=>typeof t=="object"&&t!==null&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof mr)&&t.classes.includes(e),Aa=(e,t)=>typeof t=="object"&&t!==null&&"element"in t&&t.element===e,at=e=>e({hasMethod:D$e,hasBasicElementProps:F$e,primitiveEq:L$e,isElementType:Aa,hasClass:B$e}),un=at(({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof M$e||e(r)&&t(void 0,r)),Ft=at(({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof Wo||e(r)&&t("string",r)),TO=at(({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof R_||e(r)&&t("number",r)),PO=at(({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof I_||e(r)&&t("null",r)),bh=at(({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof Ko||e(r)&&t("boolean",r)),Zt=at(({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof et||e(n)&&t("object",n)&&r("keys",n)&&r("values",n)&&r("items",n)),Ni=at(({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof mr&&!(n instanceof et)||e(n)&&t("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n)),mi=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof vh||e(n)&&t("member",n)&&r(void 0,n)),S6=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof j_||e(n)&&t("link",n)&&r(void 0,n)),w6=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof N_||e(n)&&t("ref",n)&&r(void 0,n)),U$e=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Jy||e(n)&&t("annotation",n)&&r("array",n)),V$e=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Gy||e(n)&&t("comment",n)&&r("string",n)),_6=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof js||e(n)&&t("parseResult",n)&&r("array",n)),x6=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Yy||e(n)&&t("sourceMap",n)&&r("array",n)),Uo=e=>Aa("object",e)||Aa("array",e)||Aa("boolean",e)||Aa("number",e)||Aa("string",e)||Aa("null",e)||Aa("member",e),Eh=e=>x6(e.meta.get("sourceMap")),z$e=(e,t)=>{if(e.length===0)return!0;const r=t.attributes.get("symbols");return Ni(r)?GA(G0(r.toValue()),e):!1},Ac=(e,t)=>e.length===0?!0:GA(G0(t.classes.toValue()),e),q$e=Object.freeze(Object.defineProperty({__proto__:null,hasElementSourceMap:Eh,includesClasses:Ac,includesSymbols:z$e,isAnnotationElement:U$e,isArrayElement:Ni,isBooleanElement:bh,isCommentElement:V$e,isElement:un,isLinkElement:S6,isMemberElement:mi,isNullElement:PO,isNumberElement:TO,isObjectElement:Zt,isParseResultElement:_6,isPrimitiveElement:Uo,isRefElement:w6,isSourceMapElement:x6,isStringElement:Ft},Symbol.toStringTag,{value:"Module"}));class A6 extends j$e{constructor(){super(),this.register("annotation",Jy),this.register("comment",Gy),this.register("parseResult",js),this.register("sourceMap",Yy)}}const O6=new A6,hf=e=>{const t=new A6;return Ly(e)&&t.use(e),t},W$e=()=>({predicates:{...q$e},namespace:O6}),C6=W$e,RO=(e,t,r)=>{const n=e[t];if(n!=null){if(!r&&typeof n=="function")return n;const i=r?n.leave:n.enter;if(typeof i=="function")return i}else{const i=r?e.leave:e.enter;if(i!=null){if(typeof i=="function")return i;const s=i[t];if(typeof s=="function")return s}}return null},qt={},e1=e=>e==null?void 0:e.type,$6=e=>typeof e1(e)=="string",IO=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),k6=(e,{visitFnGetter:t=RO,nodeTypeGetter:r=e1,breakSymbol:n=qt,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,exposeEdits:o=!1}={})=>{const l=Symbol("skip"),c=new Array(e.length).fill(l);return{enter(h,...v){let y=h,S=!1;for(let b=0;b{const S=r||{};let b,_=Array.isArray(e),$=[e],P=-1,x,A=[],C=e;const j=[],U=[];do{P+=1;const J=P===$.length;let ee;const Q=J&&A.length!==0;if(J){if(ee=U.length===0?void 0:j.pop(),C=x,x=U.pop(),Q)if(_){C=C.slice();let ce=0;for(const[L,Fe]of A){const Xe=L-ce;Fe===s?(C.splice(Xe,1),ce+=1):C[Xe]=Fe}}else{C=v(C);for(const[ce,L]of A)C[ce]=L}P=b.index,$=b.keys,A=b.edits,_=b.inArray,b=b.prev}else if(x!==s&&x!==void 0){if(ee=_?P:$[P],C=x[ee],C===s||C===void 0)continue;j.push(ee)}let f;if(!Array.isArray(C)){if(!h(C))throw new yh(`Invalid AST Node: ${String(C)}`,{node:C});if(y&&U.includes(C)){j.pop();continue}const ce=l(t,c(C),J);if(ce){for(const[L,Fe]of Object.entries(n))t[L]=Fe;f=ce.call(t,C,ee,x,j,U)}if(f===i)break;if(f===o){if(!J){j.pop();continue}}else if(f!==void 0&&(A.push([ee,f]),!J))if(h(f))C=f;else{j.pop();continue}}if(f===void 0&&Q&&A.push([ee,C]),!J){var z;b={inArray:_,index:P,keys:$,edits:A,prev:b},_=Array.isArray(C),$=_?C:(z=S[c(C)])!==null&&z!==void 0?z:[],P=-1,A=[],x!==s&&x!==void 0&&U.push(x),x=C}}while(b!==void 0);return A.length!==0?A[A.length-1][1]:e};NO[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=null,state:n={},breakSymbol:i=qt,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:l=RO,nodeTypeGetter:c=e1,nodePredicate:h=$6,nodeCloneFn:v=IO,detectCycles:y=!0}={})=>{const S=r||{};let b,_=Array.isArray(e),$=[e],P=-1,x,A=[],C=e;const j=[],U=[];do{P+=1;const J=P===$.length;let ee;const Q=J&&A.length!==0;if(J){if(ee=U.length===0?void 0:j.pop(),C=x,x=U.pop(),Q)if(_){C=C.slice();let ce=0;for(const[L,Fe]of A){const Xe=L-ce;Fe===s?(C.splice(Xe,1),ce+=1):C[Xe]=Fe}}else{C=v(C);for(const[ce,L]of A)C[ce]=L}P=b.index,$=b.keys,A=b.edits,_=b.inArray,b=b.prev}else if(x!==s&&x!==void 0){if(ee=_?P:$[P],C=x[ee],C===s||C===void 0)continue;j.push(ee)}let f;if(!Array.isArray(C)){if(!h(C))throw new yh(`Invalid AST Node: ${String(C)}`,{node:C});if(y&&U.includes(C)){j.pop();continue}const ce=l(t,c(C),J);if(ce){for(const[L,Fe]of Object.entries(n))t[L]=Fe;f=await ce.call(t,C,ee,x,j,U)}if(f===i)break;if(f===o){if(!J){j.pop();continue}}else if(f!==void 0&&(A.push([ee,f]),!J))if(h(f))C=f;else{j.pop();continue}}if(f===void 0&&Q&&A.push([ee,C]),!J){var z;b={inArray:_,index:P,keys:$,edits:A,prev:b},_=Array.isArray(C),$=_?C:(z=S[c(C)])!==null&&z!==void 0?z:[],P=-1,A=[],x!==s&&x!==void 0&&U.push(x),x=C}}while(b!==void 0);return A.length!==0?A[A.length-1][1]:e};class T6 extends yh{constructor(r,n){super(r,n);ie(this,"value");typeof n<"u"&&(this.value=n.value)}}class K$e extends T6{}const H$e=K$e;class J$e extends T6{}const G$e=J$e,Ge=(e,t={})=>{const{visited:r=new WeakMap}=t,n={...t,visited:r};if(r.has(e))return r.get(e);if(e instanceof xc){const{key:i,value:s}=e,o=un(i)?Ge(i,n):i,l=un(s)?Ge(s,n):s,c=new xc(o,l);return r.set(e,c),c}if(e instanceof Hy){const i=l=>Ge(l,n),s=[...e].map(i),o=new Hy(s);return r.set(e,o),o}if(e instanceof yd){const i=l=>Ge(l,n),s=[...e].map(i),o=new yd(s);return r.set(e,o),o}if(un(e)){const i=Kn(e);if(r.set(e,i),e.content)if(un(e.content))i.content=Ge(e.content,n);else if(e.content instanceof xc)i.content=Ge(e.content,n);else if(Array.isArray(e.content)){const s=o=>Ge(o,n);i.content=e.content.map(s)}else i.content=e.content;else i.content=e.content;return i}throw new H$e("Value provided to cloneDeep function couldn't be cloned",{value:e})};Ge.safe=e=>{try{return Ge(e)}catch{return e}};const P6=e=>{const{key:t,value:r}=e;return new xc(t,r)},Y$e=e=>{const t=[...e];return new yd(t)},X$e=e=>{const t=[...e];return new Hy(t)},R6=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=Ge(e.meta)),e.attributes.length>0&&(t._attributes=Ge(e.attributes)),un(e.content)){const r=e.content;t.content=R6(r)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof xc?t.content=P6(e.content):t.content=e.content;return t},Kn=e=>{if(e instanceof xc)return P6(e);if(e instanceof Hy)return X$e(e);if(e instanceof yd)return Y$e(e);if(un(e))return R6(e);throw new G$e("Value provided to cloneShallow function couldn't be cloned",{value:e})};Kn.safe=e=>{try{return Kn(e)}catch{return e}};const mf=e=>Zt(e)?"ObjectElement":Ni(e)?"ArrayElement":mi(e)?"MemberElement":Ft(e)?"StringElement":bh(e)?"BooleanElement":TO(e)?"NumberElement":PO(e)?"NullElement":S6(e)?"LinkElement":w6(e)?"RefElement":void 0,I6=e=>un(e)?Kn(e):IO(e),N6=bn(mf,bu),gf={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};class j6{constructor({predicate:t=HA,returnOnTrue:r,returnOnFalse:n}={}){ie(this,"result");ie(this,"predicate");ie(this,"returnOnTrue");ie(this,"returnOnFalse");this.result=[],this.predicate=t,this.returnOnTrue=r,this.returnOnFalse=n}enter(t){return this.predicate(t)?(this.result.push(t),this.returnOnTrue):this.returnOnFalse}}const $n=(e,t,{keyMap:r=gf,...n}={})=>NO(e,t,{keyMap:r,nodeTypeGetter:mf,nodePredicate:N6,nodeCloneFn:I6,...n});$n[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=gf,...n}={})=>NO[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:r,nodeTypeGetter:mf,nodePredicate:N6,nodeCloneFn:I6,...n});const Q$e={toolboxCreator:C6,visitorOptions:{nodeTypeGetter:mf,exposeEdits:!0}},Sh=(e,t,r={})=>{if(t.length===0)return e;const n=sB(Q$e,r),{toolboxCreator:i,visitorOptions:s}=n,o=i(),l=t.map(v=>v(o)),c=k6(l.map(y_({},"visitor")),{...s});l.forEach(By(["pre"],[]));const h=$n(e,c,s);return l.forEach(By(["post"],[])),h};var M6={exports:{}};(function(e){var t=(()=>{var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(j,U,z)=>U in j?r(j,U,{enumerable:!0,configurable:!0,writable:!0,value:z}):j[U]=z,h=(j,U)=>{for(var z in U||(U={}))o.call(U,z)&&c(j,z,U[z]);if(s)for(var z of s(U))l.call(U,z)&&c(j,z,U[z]);return j},v=(j,U)=>{for(var z in U)r(j,z,{get:U[z],enumerable:!0})},y=(j,U,z,J)=>{if(U&&typeof U=="object"||typeof U=="function")for(let ee of i(U))!o.call(j,ee)&&ee!==z&&r(j,ee,{get:()=>U[ee],enumerable:!(J=n(U,ee))||J.enumerable});return j},S=j=>y(r({},"__esModule",{value:!0}),j),b=(j,U,z)=>(c(j,typeof U!="symbol"?U+"":U,z),z),_={};v(_,{DEFAULT_OPTIONS:()=>x,DEFAULT_UUID_LENGTH:()=>P,default:()=>C});var $="5.0.3",P=6,x={dictionary:"alphanum",shuffle:!0,debug:!1,length:P,counter:0},A=class{constructor(U={}){b(this,"counter"),b(this,"debug"),b(this,"dict"),b(this,"version"),b(this,"dictIndex",0),b(this,"dictRange",[]),b(this,"lowerBound",0),b(this,"upperBound",0),b(this,"dictLength",0),b(this,"uuidLength"),b(this,"_digit_first_ascii",48),b(this,"_digit_last_ascii",58),b(this,"_alpha_lower_first_ascii",97),b(this,"_alpha_lower_last_ascii",123),b(this,"_hex_last_ascii",103),b(this,"_alpha_upper_first_ascii",65),b(this,"_alpha_upper_last_ascii",91),b(this,"_number_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii]}),b(this,"_alpha_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),b(this,"_alpha_lower_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),b(this,"_alpha_upper_dict_ranges",{upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),b(this,"_alphanum_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),b(this,"_alphanum_lower_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),b(this,"_alphanum_upper_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),b(this,"_hex_dict_ranges",{decDigits:[this._digit_first_ascii,this._digit_last_ascii],alphaDigits:[this._alpha_lower_first_ascii,this._hex_last_ascii]}),b(this,"_dict_ranges",{_number_dict_ranges:this._number_dict_ranges,_alpha_dict_ranges:this._alpha_dict_ranges,_alpha_lower_dict_ranges:this._alpha_lower_dict_ranges,_alpha_upper_dict_ranges:this._alpha_upper_dict_ranges,_alphanum_dict_ranges:this._alphanum_dict_ranges,_alphanum_lower_dict_ranges:this._alphanum_lower_dict_ranges,_alphanum_upper_dict_ranges:this._alphanum_upper_dict_ranges,_hex_dict_ranges:this._hex_dict_ranges}),b(this,"log",(...ce)=>{const L=[...ce];if(L[0]=`[short-unique-id] ${ce[0]}`,this.debug===!0&&typeof console<"u"&&console!==null)return console.log(...L)}),b(this,"setDictionary",(ce,L)=>{let Fe;if(ce&&Array.isArray(ce)&&ce.length>1)Fe=ce;else{Fe=[];let Xe;this.dictIndex=Xe=0;const Ye=`_${ce}_dict_ranges`,he=this._dict_ranges[Ye];Object.keys(he).forEach(de=>{const ge=de;for(this.dictRange=he[ge],this.lowerBound=this.dictRange[0],this.upperBound=this.dictRange[1],this.dictIndex=Xe=this.lowerBound;this.lowerBound<=this.upperBound?Xethis.upperBound;this.dictIndex=this.lowerBound<=this.upperBound?Xe+=1:Xe-=1)Fe.push(String.fromCharCode(this.dictIndex))})}L&&(Fe=Fe.sort(()=>Math.random()-.5)),this.dict=Fe,this.dictLength=this.dict.length,this.setCounter(0)}),b(this,"seq",()=>this.sequentialUUID()),b(this,"sequentialUUID",()=>{let ce,L,Fe="";ce=this.counter;do L=ce%this.dictLength,ce=Math.trunc(ce/this.dictLength),Fe+=this.dict[L];while(ce!==0);return this.counter+=1,Fe}),b(this,"rnd",(ce=this.uuidLength||P)=>this.randomUUID(ce)),b(this,"randomUUID",(ce=this.uuidLength||P)=>{let L,Fe,Xe;if(ce===null||typeof ce>"u"||ce<1)throw new Error("Invalid UUID Length Provided");for(L="",Xe=0;Xethis.formattedUUID(ce,L)),b(this,"formattedUUID",(ce,L)=>{const Fe={$r:this.randomUUID,$s:this.sequentialUUID,$t:this.stamp};return ce.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,Ye=>{const he=Ye.slice(0,2),de=parseInt(Ye.slice(2),10);return he==="$s"?Fe[he]().padStart(de,"0"):he==="$t"&&L?Fe[he](de,L):Fe[he](de)})}),b(this,"availableUUIDs",(ce=this.uuidLength)=>parseFloat(Math.pow([...new Set(this.dict)].length,ce).toFixed(0))),b(this,"approxMaxBeforeCollision",(ce=this.availableUUIDs(this.uuidLength))=>parseFloat(Math.sqrt(Math.PI/2*ce).toFixed(20))),b(this,"collisionProbability",(ce=this.availableUUIDs(this.uuidLength),L=this.uuidLength)=>parseFloat((this.approxMaxBeforeCollision(ce)/this.availableUUIDs(L)).toFixed(20))),b(this,"uniqueness",(ce=this.availableUUIDs(this.uuidLength))=>{const L=parseFloat((1-this.approxMaxBeforeCollision(ce)/ce).toFixed(20));return L>1?1:L<0?0:L}),b(this,"getVersion",()=>this.version),b(this,"stamp",(ce,L)=>{const Fe=Math.floor(+(L||new Date)/1e3).toString(16);if(typeof ce=="number"&&ce===0)return Fe;if(typeof ce!="number"||ce<10)throw new Error(["Param finalLength must be a number greater than or equal to 10,","or 0 if you want the raw hexadecimal timestamp"].join(` +`));const Xe=ce-9,Ye=Math.round(Math.random()*(Xe>15?15:Xe)),he=this.randomUUID(Xe);return`${he.substring(0,Ye)}${Fe}${he.substring(Ye)}${Ye.toString(16)}`}),b(this,"parseStamp",(ce,L)=>{if(L&&!/t0|t[1-9]\d{1,}/.test(L))throw new Error("Cannot extract date from a formated UUID with no timestamp in the format");const Fe=L?L.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,Ye=>{const he={$r:pe=>[...Array(pe)].map(()=>"r").join(""),$s:pe=>[...Array(pe)].map(()=>"s").join(""),$t:pe=>[...Array(pe)].map(()=>"t").join("")},de=Ye.slice(0,2),ge=parseInt(Ye.slice(2),10);return he[de](ge)}).replace(/^(.*?)(t{8,})(.*)$/g,(Ye,he,de)=>ce.substring(he.length,he.length+de.length)):ce;if(Fe.length===8)return new Date(parseInt(Fe,16)*1e3);if(Fe.length<10)throw new Error("Stamp length invalid");const Xe=parseInt(Fe.substring(Fe.length-1),16);return new Date(parseInt(Fe.substring(Xe,Xe+8),16)*1e3)}),b(this,"setCounter",ce=>{this.counter=ce});const z=h(h({},x),U);this.counter=0,this.debug=!1,this.dict=[],this.version=$;const{dictionary:J,shuffle:ee,length:Q,counter:f}=z;return this.uuidLength=Q,this.setDictionary(J,ee),this.setCounter(f),this.debug=z.debug,this.log(this.dict),this.log(`Generator instantiated with Dictionary Size ${this.dictLength} and counter set to ${this.counter}`),this.log=this.log.bind(this),this.setDictionary=this.setDictionary.bind(this),this.setCounter=this.setCounter.bind(this),this.seq=this.seq.bind(this),this.sequentialUUID=this.sequentialUUID.bind(this),this.rnd=this.rnd.bind(this),this.randomUUID=this.randomUUID.bind(this),this.fmt=this.fmt.bind(this),this.formattedUUID=this.formattedUUID.bind(this),this.availableUUIDs=this.availableUUIDs.bind(this),this.approxMaxBeforeCollision=this.approxMaxBeforeCollision.bind(this),this.collisionProbability=this.collisionProbability.bind(this),this.uniqueness=this.uniqueness.bind(this),this.getVersion=this.getVersion.bind(this),this.stamp=this.stamp.bind(this),this.parseStamp=this.parseStamp.bind(this),this}};b(A,"default",A);var C=A;return S(_)})();e.exports=t.default,typeof window<"u"&&(t=t.default)})(M6);var Z$e=M6.exports;const eke=Tt(Z$e);class tke extends yh{constructor(r,n){super(r,n);ie(this,"value");typeof n<"u"&&(this.value=n.value)}}const rke=tke,jO=Vt({props:{uuid:null,length:null,identityMap:null},init({length:e=6}={}){this.length=6,this.uuid=new eke({length:e}),this.identityMap=new WeakMap},methods:{identify(e){if(!un(e))throw new rke("Cannot not identify the element. `element` is neither structurally compatible nor a subclass of an Element class.",{value:e});if(e.meta.hasKey("id")&&Ft(e.meta.get("id"))&&!e.meta.get("id").equals(""))return e.id;if(this.identityMap.has(e))return this.identityMap.get(e);const t=new Wo(this.generateId());return this.identityMap.set(e,t),t},forget(e){return this.identityMap.has(e)?(this.identityMap.delete(e),!0):!1},generateId(){return this.uuid.randomUUID()}}});jO({length:6});class nke extends Array{constructor(){super(...arguments);ie(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new fo("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new fo("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new fo("latest method in MediaTypes class is not yet implemented.")}}const ike=(e,{Type:t,plugins:r=[]})=>{const n=new t(e);return un(e)&&(e.meta.length>0&&(n.meta=Ge(e.meta)),e.attributes.length>0&&(n.attributes=Ge(e.attributes))),Sh(n,r,{toolboxCreator:C6,visitorOptions:{nodeTypeGetter:mf}})},bs=e=>(t,r={})=>ike(t,{...r,Type:e});et.refract=bs(et);mr.refract=bs(mr);Wo.refract=bs(Wo);Ko.refract=bs(Ko);I_.refract=bs(I_);R_.refract=bs(R_);j_.refract=bs(j_);N_.refract=bs(N_);Jy.refract=bs(Jy);Gy.refract=bs(Gy);js.refract=bs(js);Yy.refract=bs(Yy);const ske=(e,t)=>{const r=new j6({predicate:e});return $n(t,r),new yd(r.result)},D6=(e,t)=>{const r=new j6({predicate:e,returnOnTrue:qt});return $n(t,r),aB(void 0,[0],r.result)},F6=e=>typeof(e==null?void 0:e.type)=="string"?e.type:mf(e),L6={EphemeralObject:["content"],EphemeralArray:["content"],...gf},B6=(e,t,{keyMap:r=L6,...n}={})=>$n(e,t,{keyMap:r,nodeTypeGetter:F6,nodePredicate:na,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});B6[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=L6,...r}={})=>$n[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:F6,nodePredicate:na,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});class oke{constructor(t){ie(this,"type","EphemeralArray");ie(this,"content",[]);ie(this,"reference");this.content=t,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}}class ake{constructor(t){ie(this,"type","EphemeralObject");ie(this,"content",[]);ie(this,"reference");this.content=t,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}}let lke=class{constructor(){ie(this,"ObjectElement",{enter:t=>{if(this.references.has(t))return this.references.get(t).toReference();const r=new ake(t.content);return this.references.set(t,r),r}});ie(this,"EphemeralObject",{leave:t=>t.toObject()});ie(this,"MemberElement",{enter:t=>[t.key,t.value]});ie(this,"ArrayElement",{enter:t=>{if(this.references.has(t))return this.references.get(t).toReference();const r=new oke(t.content);return this.references.set(t,r),r}});ie(this,"EphemeralArray",{leave:t=>t.toArray()});ie(this,"references",new WeakMap)}BooleanElement(t){return t.toValue()}NumberElement(t){return t.toValue()}StringElement(t){return t.toValue()}NullElement(){return null}};const De=e=>un(e)?Ft(e)||TO(e)||bh(e)||PO(e)?e.toValue():B6(e,new lke):e,Zg=(e,t=new WeakMap)=>(mi(e)?(t.set(e.key,e),Zg(e.key,t),t.set(e.value,e),Zg(e.value,t)):e.children.forEach(r=>{t.set(r,e),Zg(r,t)}),t),uke=(e,t,r)=>{const n=r.get(e);mi(n)&&(n.key===e&&(n.key=t,r.delete(e),r.set(t,n)),n.value===e&&(n.value=t,r.delete(e),r.set(t,n)))},cke=(e,t,r)=>{const n=r.get(e);Zt(n)&&(n.content=n.map((i,s,o)=>o===e?(r.delete(e),r.set(t,n),t):o))},fke=(e,t,r)=>{const n=r.get(e);Ni(n)&&(n.content=n.map(i=>i===e?(r.delete(e),r.set(t,n),t):i))};class pke{constructor({element:t}){ie(this,"element");ie(this,"edges");this.element=t}transclude(t,r){var n;if(t===this.element)return r;if(t===r)return this.element;this.edges=(n=this.edges)!==null&&n!==void 0?n:Zg(this.element);const i=this.edges.get(t);if(!oa(i))return Zt(i)?cke(t,r,this.edges):Ni(i)?fke(t,r,this.edges):mi(i)&&uke(t,r,this.edges),this.element}}const dke=(e,t,r)=>new pke({element:r}).transclude(e,t),t1=(e,t)=>{const r=ru(e,t);return Kwe(n=>{if(Ly(n)&&Vl("$ref",n)&&e_e(bu,"$ref",n)){const i=Gn(["$ref"],n),s=cO("#/",i);return Gn(s.split("/"),r)}return Ly(n)?t1(n,r):n},e)},hke=(e,t=O6)=>{if(bu(e))try{return t.fromRefract(JSON.parse(e))}catch{}return Ly(e)&&Vl("element",e)?t.fromRefract(e):t.toElement(e)},U6=hke,Xy=e=>{const t=e.meta.length>0?Ge(e.meta):void 0,r=e.attributes.length>0?Ge(e.attributes):void 0;return new e.constructor(void 0,t,r)},Qy=(e,t)=>t.clone&&t.isMergeableElement(e)?yo(Xy(e),e,t):e,mke=(e,t)=>{if(typeof t.customMerge!="function")return yo;const r=t.customMerge(e,t);return typeof r=="function"?r:yo},gke=e=>typeof e.customMetaMerge!="function"?t=>Ge(t):e.customMetaMerge,yke=e=>typeof e.customAttributesMerge!="function"?t=>Ge(t):e.customAttributesMerge,vke=(e,t,r)=>e.concat(t)["fantasy-land/map"](n=>Qy(n,r)),bke=(e,t,r)=>{const n=Zt(e)?Xy(e):Xy(t);return Zt(e)&&e.forEach((i,s,o)=>{const l=Kn(o);l.value=Qy(i,r),n.content.push(l)}),t.forEach((i,s,o)=>{const l=De(s);let c;if(Zt(e)&&e.hasKey(l)&&r.isMergeableElement(i)){const h=e.get(l);c=Kn(o),c.value=mke(s,r)(h,i)}else c=Kn(o),c.value=Qy(i,r);n.remove(l),n.content.push(c)}),n},fg={clone:!0,isMergeableElement:e=>Zt(e)||Ni(e),arrayElementMerge:vke,objectElementMerge:bke,customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0};function yo(e,t,r){var n,i,s;const o={...fg,...r};o.isMergeableElement=(n=o.isMergeableElement)!==null&&n!==void 0?n:fg.isMergeableElement,o.arrayElementMerge=(i=o.arrayElementMerge)!==null&&i!==void 0?i:fg.arrayElementMerge,o.objectElementMerge=(s=o.objectElementMerge)!==null&&s!==void 0?s:fg.objectElementMerge;const l=Ni(t),c=Ni(e);if(!(l===c))return Qy(t,o);const v=l&&typeof o.arrayElementMerge=="function"?o.arrayElementMerge(e,t,o):o.objectElementMerge(e,t,o);return v.meta=gke(o)(e.meta,t.meta),v.attributes=yke(o)(e.attributes,t.attributes),v}yo.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.");return e.length===0?new et:e.reduce((r,n)=>yo(r,n,t),Xy(e[0]))};class MO extends Kr{}class Eke extends MO{}const Ske=Eke,wke=async(e,t)=>{let r=e,n=!1;if(!_6(e)){const o=Kn(e);o.classes.push("result"),r=new js([o]),n=!0}const i=nu({uri:t.resolve.baseURI,parseResult:r,mediaType:t.parse.mediaType}),s=await AO("canDereference",i,t.dereference.strategies);if(hh(s))throw new Ske(i.uri);try{const{result:o}=await OO("dereference",[i,t],s);return n?o.get(0):o}catch(o){throw new MO(`Error while dereferencing file "${i.uri}"`,{cause:o})}},wh=Vt({props:{name:"",allowEmpty:!0,sourceMap:!1,fileExtensions:[],mediaTypes:[]},init({allowEmpty:e=this.allowEmpty,sourceMap:t=this.sourceMap,fileExtensions:r=this.fileExtensions,mediaTypes:n=this.mediaTypes}={}){this.allowEmpty=e,this.sourceMap=t,this.fileExtensions=r,this.mediaTypes=n},methods:{async canParse(){throw new fo("canParse method in Parser stamp is not yet implemented.")},async parse(){throw new fo("parse method in Parser stamp is not yet implemented.")}}}),_ke=Vt({props:{name:null},methods:{canRead(){return!1},async read(){throw new fo("read method in Resolver stamp is not yet implemented.")}}}),xke=_ke,Ake=Vt(xke,{props:{timeout:5e3,redirects:5,withCredentials:!1},init({timeout:e=this.timeout,redirects:t=this.redirects,withCredentials:r=this.withCredentials}={}){this.timeout=e,this.redirects=t,this.withCredentials=r},methods:{canRead(e){return _c(e.uri)},async read(){throw new fo("read method in HttpResolver stamp is not yet implemented.")},getHttpClient(){throw new fo("getHttpClient method in HttpResolver stamp is not yet implemented.")}}}),Oke=Vt({props:{name:null},methods:{canResolve(){return!1},async resolve(){throw new fo("resolve method in ResolveStrategy stamp is not yet implemented.")}}}),Cke=Oke,$ke=Vt({props:{name:null},methods:{canDereference(){return!1},async dereference(){throw new fo("dereference method in DereferenceStrategy stamp is not yet implemented.")}}}),kke=$ke;class kS extends Array{includesCycle(t){return this.filter(r=>r.has(t)).length>1}includes(t,r){return t instanceof Set?super.includes(t,r):this.some(n=>n.has(t))}findItem(t){for(const r of this)for(const n of r)if(un(n)&&t(n))return n}}const yf=Vt({props:{uri:"",value:null,depth:0,refSet:null,errors:[]},init({depth:e=this.depth,refSet:t=this.refSet,uri:r=this.uri,value:n=this.value}={}){this.uri=r,this.value=n,this.depth=e,this.refSet=t,this.errors=[]}}),Tke=Vt({props:{rootRef:null,refs:[],circular:!1},init({refs:e=[]}={}){this.refs=[],e.forEach(t=>this.add(t))},methods:{get size(){return this.refs.length},add(e){return this.has(e)||(this.refs.push(e),this.rootRef=this.rootRef===null?e:this.rootRef,e.refSet=this),this},merge(e){for(const t of e.values())this.add(t);return this},has(e){const t=bu(e)?e:e.uri;return cB(this.find(J0(t,"uri")))},find(e){return this.refs.find(e)},*values(){yield*this.refs},clean(){this.refs.forEach(e=>{e.refSet=null}),this.refs=[]}}}),r1=Tke;class V6 extends Kr{}class Pke extends V6{}const Rke=Pke;class Ike extends Kr{}class Nke extends Ike{}const vd=Nke;class jke extends V6{constructor(t){super(`Invalid JSON Schema $anchor "${t}".`)}}const Mke=jke;class Dke extends MO{}const Vo=Dke;class Fke extends CO{}const z6=Fke;class Lke extends T_{}const Ho=Lke,Bke=async(e,t={})=>{const r=xxe(Sxe,t);return wke(e,r)},{fetch:Uke,Response:Vke,Headers:zke,Request:qke,FormData:Wke,File:Kke,Blob:Hke}=globalThis;typeof globalThis.fetch>"u"&&(globalThis.fetch=Uke);typeof globalThis.Headers>"u"&&(globalThis.Headers=zke);typeof globalThis.Request>"u"&&(globalThis.Request=qke);typeof globalThis.Response>"u"&&(globalThis.Response=Vke);typeof globalThis.FormData>"u"&&(globalThis.FormData=Wke);typeof globalThis.File>"u"&&(globalThis.File=Kke);typeof globalThis.Blob>"u"&&(globalThis.Blob=Hke);function DO(e,t){function r(...n){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,[this.message]=n,t&&t.apply(this,n)}return r.prototype=new Error,r.prototype.name=e,r.prototype.constructor=r,r}function vf(e){return Object.prototype.toString.call(e)}function Jke(e){return vf(e)==="[object Date]"}function Gke(e){return vf(e)==="[object RegExp]"}function Yke(e){return vf(e)==="[object Error]"}function Xke(e){return vf(e)==="[object Boolean]"}function Qke(e){return vf(e)==="[object Number]"}function Zke(e){return vf(e)==="[object String]"}var q6=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};function n1(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r-1&&oTe.indexOf(r)===-1||aTe.indexOf(n)>-1||lTe.some(i=>n.indexOf(i)>-1)}function uTe(e,t,{specmap:r,getBaseUrlForNodePath:n=s=>r.getContext([...t,...s]).baseDoc,targetKeys:i=["$ref","$$ref"]}={}){const s=[];return nTe(e).forEach(function(){if(i.includes(this.key)&&typeof this.node=="string"){const l=this.path,c=t.concat(this.path),h=M_(this.node,n(l));s.push(r.replace(c,h))}}),s}function M_(e,t){const[r,n]=e.split("#"),i=t??"",s=r??"";let o;if(_c(i))o=gn(i,s);else{const l=gn(Zy,i),h=gn(l,s).replace(Zy,"");o=s.startsWith("/")?h:h.substring(1)}return n?`${o}#${n}`:o}const cTe=/^([a-z]+:\/\/|\/\/)/i,Lc=DO("JSONRefError",function(t,r,n){this.originalError=n,Object.assign(this,r||{})}),Do={},jN=new WeakMap,fTe=[e=>e[0]==="paths"&&e[3]==="responses"&&e[5]==="examples",e=>e[0]==="paths"&&e[3]==="responses"&&e[5]==="content"&&e[7]==="example",e=>e[0]==="paths"&&e[3]==="responses"&&e[5]==="content"&&e[7]==="examples"&&e[9]==="value",e=>e[0]==="paths"&&e[3]==="requestBody"&&e[4]==="content"&&e[6]==="example",e=>e[0]==="paths"&&e[3]==="requestBody"&&e[4]==="content"&&e[6]==="examples"&&e[8]==="value",e=>e[0]==="paths"&&e[2]==="parameters"&&e[4]==="example",e=>e[0]==="paths"&&e[3]==="parameters"&&e[5]==="example",e=>e[0]==="paths"&&e[2]==="parameters"&&e[4]==="examples"&&e[6]==="value",e=>e[0]==="paths"&&e[3]==="parameters"&&e[5]==="examples"&&e[7]==="value",e=>e[0]==="paths"&&e[2]==="parameters"&&e[4]==="content"&&e[6]==="example",e=>e[0]==="paths"&&e[2]==="parameters"&&e[4]==="content"&&e[6]==="examples"&&e[8]==="value",e=>e[0]==="paths"&&e[3]==="parameters"&&e[4]==="content"&&e[7]==="example",e=>e[0]==="paths"&&e[3]==="parameters"&&e[5]==="content"&&e[7]==="examples"&&e[9]==="value"],pTe=e=>fTe.some(t=>t(e)),dTe={key:"$ref",plugin:(e,t,r,n)=>{const i=n.getInstance(),s=r.slice(0,-1);if(G6(s)||pTe(s))return;const{baseDoc:o}=n.getContext(r);if(typeof e!="string")return new Lc("$ref: must be a string (JSON-Ref)",{$ref:e,baseDoc:o,fullPath:r});const l=X6(e),c=l[0],h=l[1]||"";let v;try{v=o||c?Y6(c,o):null}catch($){return D_($,{pointer:h,$ref:e,basePath:v,fullPath:r})}let y,S;if(vTe(h,v,s,n)&&!i.useCircularStructures){const $=M_(e,v);return e===$?null:ar.replace(r,$)}if(v==null?(S=LO(h),y=n.get(S),typeof y>"u"&&(y=new Lc(`Could not resolve reference: ${e}`,{pointer:h,$ref:e,baseDoc:o,fullPath:r}))):(y=Q6(v,h),y.__value!=null?y=y.__value:y=y.catch($=>{throw D_($,{pointer:h,$ref:e,baseDoc:o,fullPath:r})})),y instanceof Error)return[ar.remove(r),y];const b=M_(e,v),_=ar.replace(s,y,{$$ref:b});if(v&&v!==o)return[_,ar.context(s,{baseDoc:v})];try{if(!bTe(n.state,_)||i.useCircularStructures)return _}catch{return null}}},FO=Object.assign(dTe,{docCache:Do,absoluteify:Y6,clearCache:hTe,JSONRefError:Lc,wrapError:D_,getDoc:Z6,split:X6,extractFromDoc:Q6,fetchJSON:mTe,extract:F_,jsonPointerToArray:LO,unescapeJsonPointerToken:e8});function Y6(e,t){if(!cTe.test(e)){if(!t)throw new Lc(`Tried to resolve a relative URL, without having a basePath. path: '${e}' basePath: '${t}'`);return gn(t,e)}return e}function D_(e,t){let r;return e&&e.response&&e.response.body?r=`${e.response.body.code} ${e.response.body.message}`:r=e.message,new Lc(`Could not resolve reference: ${r}`,t,e)}function X6(e){return(e+"").split("#")}function Q6(e,t){const r=Do[e];if(r&&!ar.isPromise(r))try{const n=F_(t,r);return Object.assign(Promise.resolve(n),{__value:n})}catch(n){return Promise.reject(n)}return Z6(e).then(n=>F_(t,n))}function hTe(e){typeof e<"u"?delete Do[e]:Object.keys(Do).forEach(t=>{delete Do[t]})}function Z6(e){const t=Do[e];return t?ar.isPromise(t)?t:Promise.resolve(t):(Do[e]=FO.fetchJSON(e).then(r=>(Do[e]=r,r)),Do[e])}function mTe(e){return fetch(e,{headers:{Accept:J6},loadSpec:!0}).then(t=>t.text()).then(t=>tu.load(t))}function F_(e,t){const r=LO(e);if(r.length<1)return t;const n=ar.getIn(t,r);if(typeof n>"u")throw new Lc(`Could not resolve pointer: ${e} does not exist in document`,{pointer:e});return n}function LO(e){if(typeof e!="string")throw new TypeError(`Expected a string, got a ${typeof e}`);return e[0]==="/"&&(e=e.substr(1)),e===""?[]:e.split("/").map(e8)}function e8(e){return typeof e!="string"?e:new URLSearchParams(`=${e.replace(/~1/g,"/").replace(/~0/g,"~")}`).get("")}function t8(e){return new URLSearchParams([["",e.replace(/~/g,"~0").replace(/\//g,"~1")]]).toString().slice(1)}function gTe(e){return e.length===0?"":`/${e.map(t8).join("/")}`}const yTe=e=>!e||e==="/"||e==="#";function TS(e,t){if(yTe(t))return!0;const r=e.charAt(t.length),n=t.slice(-1);return e.indexOf(t)===0&&(!r||r==="/"||r==="#")&&n!=="#"}function vTe(e,t,r,n){let i=jN.get(n);i||(i={},jN.set(n,i));const s=gTe(r),o=`${t||""}#${e}`,l=s.replace(/allOf\/\d+\/?/g,""),c=n.contextTree.get([]).baseDoc;if(t===c&&TS(l,e))return!0;let h="";if(r.some(y=>(h=`${h}/${t8(y)}`,i[h]&&i[h].some(S=>TS(S,o)||TS(o,S)))))return!0;i[l]=(i[l]||[]).concat(o)}function bTe(e,t){const r=[e];return t.path.reduce((i,s)=>(r.push(i[s]),i[s]),e),n(t.value);function n(i){return ar.isObject(i)&&(r.indexOf(i)>=0||Object.keys(i).some(s=>n(i[s])))}}const ETe={key:"allOf",plugin:(e,t,r,n,i)=>{if(i.meta&&i.meta.$$ref)return;const s=r.slice(0,-1);if(G6(s))return;if(!Array.isArray(e)){const h=new TypeError("allOf must be an array");return h.fullPath=r,h}let o=!1,l=i.value;if(s.forEach(h=>{l&&(l=l[h])}),l={...l},Object.keys(l).length===0)return;delete l.allOf;const c=[];return c.push(n.replace(s,{})),e.forEach((h,v)=>{if(!n.isObject(h)){if(o)return null;o=!0;const b=new TypeError("Elements in allOf must be objects");return b.fullPath=r,c.push(b)}c.push(n.mergeDeep(s,h));const y=r.slice(0,-1),S=uTe(h,y,{getBaseUrlForNodePath:b=>n.getContext([...r,v,...b]).baseDoc,specmap:n});c.push(...S)}),l.example&&c.push(n.remove([].concat(s,"example"))),c.push(n.mergeDeep(s,l)),l.$$ref||c.push(n.remove([].concat(s,"$$ref"))),c}},STe={key:"parameters",plugin:(e,t,r,n)=>{if(Array.isArray(e)&&e.length){const i=Object.assign([],e),s=r.slice(0,-1),o={...ar.getIn(n.spec,s)};for(let l=0;l{const i={...e};for(const o in e)try{i[o].default=n.modelPropertyMacro(i[o])}catch(l){const c=new Error(l);return c.fullPath=r,c}return ar.replace(r,i)}};class _Te{constructor(t){this.root=PS(t||{})}set(t,r){const n=this.getParent(t,!0);if(!n){ev(this.root,r,null);return}const i=t[t.length-1],{children:s}=n;if(s[i]){ev(s[i],r,n);return}s[i]=PS(r,n)}get(t){if(t=t||[],t.length<1)return this.root.value;let r=this.root,n,i;for(let s=0;s{if(!n)return n;const{children:s}=n;return!s[i]&&r&&(s[i]=PS(null,n)),s[i]},this.root)}}function PS(e,t){return ev({children:{}},e,t)}function ev(e,t,r){return e.value=t||{},e.protoValue=r?{...r.protoValue,...e.value}:e.value,Object.keys(e.children).forEach(n=>{const i=e.children[n];e.children[n]=ev(i,i.value,e)}),e}const MN=100,xTe=3e3,DN=()=>{};class ATe{static getPluginName(t){return t.pluginName}static getPatchesOfType(t,r){return t.filter(r)}constructor(t){Object.assign(this,{spec:"",debugLevel:"info",plugins:[],pluginHistory:{},errors:[],mutations:[],promisedPatches:[],state:{},patches:[],context:{},contextTree:new _Te,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:Object.assign(Object.create(this),ar,{getInstance:()=>this}),allowMetaPatches:!1},t),this.get=this._get.bind(this),this.getContext=this._getContext.bind(this),this.hasRun=this._hasRun.bind(this),this.wrappedPlugins=this.plugins.map(this.wrapPlugin.bind(this)).filter(ar.isFunction),this.patches.push(ar.add([],this.spec)),this.patches.push(ar.context([],this.context)),this.updatePatches(this.patches)}debug(t,...r){this.debugLevel===t&&console.log(...r)}verbose(t,...r){this.debugLevel==="verbose"&&console.log(`[${t}] `,...r)}wrapPlugin(t,r){const{pathDiscriminator:n}=this;let i=null,s;return t[this.pluginProp]?(i=t,s=t[this.pluginProp]):ar.isFunction(t)?s=t:ar.isObject(t)&&(s=o(t)),Object.assign(s.bind(i),{pluginName:t.name||r,isGenerator:ar.isGenerator(s)});function o(l){const c=(h,v)=>Array.isArray(h)?h.every((y,S)=>y===v[S]):!0;return function*(v,y){const S={};for(const[_,$]of v.filter(ar.isAdditiveMutation).entries())if(_this.getMutationsForPlugin(t).length>0)}nextPromisedPatch(){if(this.promisedPatches.length>0)return Promise.race(this.promisedPatches.map(t=>t.value))}getPluginHistory(t){const r=this.constructor.getPluginName(t);return this.pluginHistory[r]||[]}getPluginRunCount(t){return this.getPluginHistory(t).length}getPluginHistoryTip(t){const r=this.getPluginHistory(t);return r&&r[r.length-1]||{}}getPluginMutationIndex(t){const r=this.getPluginHistoryTip(t).mutationIndex;return typeof r!="number"?-1:r}updatePluginHistory(t,r){const n=this.constructor.getPluginName(t);this.pluginHistory[n]=this.pluginHistory[n]||[],this.pluginHistory[n].push(r)}updatePatches(t){ar.normalizeArray(t).forEach(r=>{if(r instanceof Error){this.errors.push(r);return}try{if(!ar.isObject(r)){this.debug("updatePatches","Got a non-object patch",r);return}if(this.showDebug&&this.allPatches.push(r),ar.isPromise(r.value)){this.promisedPatches.push(r),this.promisedPatchThen(r);return}if(ar.isContextPatch(r)){this.setContext(r.path,r.value);return}ar.isMutation(r)&&this.updateMutations(r)}catch(n){console.error(n),this.errors.push(n)}})}updateMutations(t){typeof t.value=="object"&&!Array.isArray(t.value)&&this.allowMetaPatches&&(t.value={...t.value});const r=ar.applyPatch(this.state,t,{allowMetaPatches:this.allowMetaPatches});r&&(this.mutations.push(t),this.state=r)}removePromisedPatch(t){const r=this.promisedPatches.indexOf(t);if(r<0){this.debug("Tried to remove a promisedPatch that isn't there!");return}this.promisedPatches.splice(r,1)}promisedPatchThen(t){return t.value=t.value.then(r=>{const n={...t,value:r};this.removePromisedPatch(t),this.updatePatches(n)}).catch(r=>{this.removePromisedPatch(t),this.updatePatches(r)}),t.value}getMutations(t,r){return t=t||0,typeof r!="number"&&(r=this.mutations.length),this.mutations.slice(t,r)}getCurrentMutations(){return this.getMutationsForPlugin(this.getCurrentPlugin())}getMutationsForPlugin(t){const r=this.getPluginMutationIndex(t);return this.getMutations(r+1)}getCurrentPlugin(){return this.currentPlugin}getLib(){return this.libMethods}_get(t){return ar.getIn(this.state,t)}_getContext(t){return this.contextTree.get(t)}setContext(t,r){return this.contextTree.set(t,r)}_hasRun(t){return this.getPluginRunCount(this.getCurrentPlugin())>(t||0)}dispatch(){const t=this,r=this.nextPlugin();if(!r){const s=this.nextPromisedPatch();if(s)return s.then(()=>this.dispatch()).catch(()=>this.dispatch());const o={spec:this.state,errors:this.errors};return this.showDebug&&(o.patches=this.allPatches),Promise.resolve(o)}if(t.pluginCount=t.pluginCount||new WeakMap,t.pluginCount.set(r,(t.pluginCount.get(r)||0)+1),t.pluginCount[r]>MN)return Promise.resolve({spec:t.state,errors:t.errors.concat(new Error(`We've reached a hard limit of ${MN} plugin runs`))});if(r!==this.currentPlugin&&this.promisedPatches.length){const s=this.promisedPatches.map(o=>o.value);return Promise.all(s.map(o=>o.then(DN,DN))).then(()=>this.dispatch())}return n();function n(){t.currentPlugin=r;const s=t.getCurrentMutations(),o=t.mutations.length-1;try{if(r.isGenerator)for(const l of r(s,t.getLib()))i(l);else{const l=r(s,t.getLib());i(l)}}catch(l){console.error(l),i([Object.assign(Object.create(l),{plugin:r})])}finally{t.updatePluginHistory(r,{mutationIndex:o})}return t.dispatch()}function i(s){s&&(s=ar.fullyNormalizeArray(s),t.updatePatches(s,r))}}}function OTe(e){return new ATe(e).dispatch()}const Yu={refs:FO,allOf:ETe,parameters:STe,properties:wTe},r8=e=>e.replace(/\W/gi,"_");function CTe(e,t,{v2OperationIdCompatibilityMode:r}={}){if(r){let n=`${t.toLowerCase()}_${e}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return n=n||`${e.substring(1)}_${t}`,n.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${t.toLowerCase()}${r8(e)}`}function o1(e,t,r="",{v2OperationIdCompatibilityMode:n}={}){return!e||typeof e!="object"?null:(e.operationId||"").replace(/\s/g,"").length?r8(e.operationId):CTe(t,r,{v2OperationIdCompatibilityMode:n})}function a1(e){const{spec:t}=e,{paths:r}=t,n={};if(!r||t.$$normalized)return e;for(const i in r){const s=r[i];if(s==null||!["object","function"].includes(typeof s))continue;const o=s.parameters;for(const l in s){const c=s[l];if(c==null||!["object","function"].includes(typeof c))continue;const h=o1(c,i,l);if(h){n[h]?n[h].push(c):n[h]=[c];const v=n[h];if(v.length>1)v.forEach((y,S)=>{y.__originalOperationId=y.__originalOperationId||y.operationId,y.operationId=`${h}${S+1}`});else if(typeof c.operationId<"u"){const y=v[0];y.__originalOperationId=y.__originalOperationId||c.operationId,y.operationId=h}}if(l!=="parameters"){const v=[],y={};for(const S in t)(S==="produces"||S==="consumes"||S==="security")&&(y[S]=t[S],v.push(y));if(o&&(y.parameters=o,v.push(y)),v.length){for(const S of v)for(const b in S)if(!c[b])c[b]=S[b];else if(b==="parameters")for(const _ of S[b])c[b].some(P=>P.name&&P.name===_.name||P.$ref&&P.$ref===_.$ref||P.$$ref&&P.$$ref===_.$$ref||P===_)||c[b].push(_)}}}}return t.$$normalized=!0,e}function n8(e,t={}){const{requestInterceptor:r,responseInterceptor:n}=t,i=e.withCredentials?"include":"same-origin";return s=>e({url:s,loadSpec:!0,requestInterceptor:r,responseInterceptor:n,headers:{Accept:J6},credentials:i}).then(o=>o.body)}var $Te=Error,kTe=EvalError,TTe=RangeError,PTe=ReferenceError,i8=SyntaxError,_h=TypeError,RTe=URIError,ITe=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var s=Object.getOwnPropertySymbols(t);if(s.length!==1||s[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,r);if(o.value!==i||o.enumerable!==!0)return!1}return!0},FN=typeof Symbol<"u"&&Symbol,NTe=ITe,jTe=function(){return typeof FN!="function"||typeof Symbol!="function"||typeof FN("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:NTe()},RS={__proto__:null,foo:{}},MTe=Object,DTe=function(){return{__proto__:RS}.foo===RS.foo&&!(RS instanceof MTe)},FTe="Function.prototype.bind called on incompatible ",LTe=Object.prototype.toString,BTe=Math.max,UTe="[object Function]",LN=function(t,r){for(var n=[],i=0;i"u"||!hn?Gt:hn(Uint8Array),Ql={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Gt:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Gt:ArrayBuffer,"%ArrayIteratorPrototype%":Xu&&hn?hn([][Symbol.iterator]()):Gt,"%AsyncFromSyncIteratorPrototype%":Gt,"%AsyncFunction%":nc,"%AsyncGenerator%":nc,"%AsyncGeneratorFunction%":nc,"%AsyncIteratorPrototype%":nc,"%Atomics%":typeof Atomics>"u"?Gt:Atomics,"%BigInt%":typeof BigInt>"u"?Gt:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Gt:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Gt:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Gt:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":YTe,"%eval%":eval,"%EvalError%":XTe,"%Float32Array%":typeof Float32Array>"u"?Gt:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Gt:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Gt:FinalizationRegistry,"%Function%":s8,"%GeneratorFunction%":nc,"%Int8Array%":typeof Int8Array>"u"?Gt:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Gt:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Gt:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Xu&&hn?hn(hn([][Symbol.iterator]())):Gt,"%JSON%":typeof JSON=="object"?JSON:Gt,"%Map%":typeof Map>"u"?Gt:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Xu||!hn?Gt:hn(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Gt:Promise,"%Proxy%":typeof Proxy>"u"?Gt:Proxy,"%RangeError%":QTe,"%ReferenceError%":ZTe,"%Reflect%":typeof Reflect>"u"?Gt:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Gt:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Xu||!hn?Gt:hn(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Gt:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Xu&&hn?hn(""[Symbol.iterator]()):Gt,"%Symbol%":Xu?Symbol:Gt,"%SyntaxError%":Bc,"%ThrowTypeError%":tPe,"%TypedArray%":nPe,"%TypeError%":Oc,"%Uint8Array%":typeof Uint8Array>"u"?Gt:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Gt:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Gt:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Gt:Uint32Array,"%URIError%":ePe,"%WeakMap%":typeof WeakMap>"u"?Gt:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Gt:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Gt:WeakSet};if(hn)try{null.error}catch(e){var iPe=hn(hn(e));Ql["%Error.prototype%"]=iPe}var sPe=function e(t){var r;if(t==="%AsyncFunction%")r=IS("async function () {}");else if(t==="%GeneratorFunction%")r=IS("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=IS("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&hn&&(r=hn(i.prototype))}return Ql[t]=r,r},BN={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},xh=BO,tv=GTe,oPe=xh.call(Function.call,Array.prototype.concat),aPe=xh.call(Function.apply,Array.prototype.splice),UN=xh.call(Function.call,String.prototype.replace),rv=xh.call(Function.call,String.prototype.slice),lPe=xh.call(Function.call,RegExp.prototype.exec),uPe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,cPe=/\\(\\)?/g,fPe=function(t){var r=rv(t,0,1),n=rv(t,-1);if(r==="%"&&n!=="%")throw new Bc("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Bc("invalid intrinsic syntax, expected opening `%`");var i=[];return UN(t,uPe,function(s,o,l,c){i[i.length]=l?UN(c,cPe,"$1"):o||s}),i},pPe=function(t,r){var n=t,i;if(tv(BN,n)&&(i=BN[n],n="%"+i[0]+"%"),tv(Ql,n)){var s=Ql[n];if(s===nc&&(s=sPe(n)),typeof s>"u"&&!r)throw new Oc("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:s}}throw new Bc("intrinsic "+t+" does not exist!")},bf=function(t,r){if(typeof t!="string"||t.length===0)throw new Oc("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Oc('"allowMissing" argument must be a boolean');if(lPe(/^%?[^%]*%?$/,t)===null)throw new Bc("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=fPe(t),i=n.length>0?n[0]:"",s=pPe("%"+i+"%",r),o=s.name,l=s.value,c=!1,h=s.alias;h&&(i=h[0],aPe(n,oPe([0,1],h)));for(var v=1,y=!0;v=n.length){var $=Xl(l,S);y=!!$,y&&"get"in $&&!("originalValue"in $.get)?l=$.get:l=l[S]}else y=tv(l,S),l=l[S];y&&!c&&(Ql[o]=l)}}return l},o8={exports:{}},jS,VN;function UO(){if(VN)return jS;VN=1;var e=bf,t=e("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return jS=t,jS}var dPe=bf,ey=dPe("%Object.getOwnPropertyDescriptor%",!0);if(ey)try{ey([],"length")}catch{ey=null}var a8=ey,zN=UO(),hPe=i8,Qu=_h,qN=a8,mPe=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new Qu("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Qu("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Qu("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Qu("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Qu("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Qu("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,l=arguments.length>6?arguments[6]:!1,c=!!qN&&qN(t,r);if(zN)zN(t,r,{configurable:o===null&&c?c.configurable:!o,enumerable:i===null&&c?c.enumerable:!i,value:n,writable:s===null&&c?c.writable:!s});else if(l||!i&&!s&&!o)t[r]=n;else throw new hPe("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},L_=UO(),l8=function(){return!!L_};l8.hasArrayLengthDefineBug=function(){if(!L_)return null;try{return L_([],"length",{value:1}).length!==1}catch{return!0}};var gPe=l8,yPe=bf,WN=mPe,vPe=gPe(),KN=a8,HN=_h,bPe=yPe("%Math.floor%"),EPe=function(t,r){if(typeof t!="function")throw new HN("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||bPe(r)!==r)throw new HN("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,s=!0;if("length"in t&&KN){var o=KN(t,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(s=!1)}return(i||s||!n)&&(vPe?WN(t,"length",r,!0,!0):WN(t,"length",r)),t};(function(e){var t=BO,r=bf,n=EPe,i=_h,s=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),l=r("%Reflect.apply%",!0)||t.call(o,s),c=UO(),h=r("%Math.max%");e.exports=function(S){if(typeof S!="function")throw new i("a function is required");var b=l(t,o,arguments);return n(b,1+h(0,S.length-(arguments.length-1)),!0)};var v=function(){return l(t,s,arguments)};c?c(e.exports,"apply",{value:v}):e.exports.apply=v})(o8);var SPe=o8.exports,u8=bf,c8=SPe,wPe=c8(u8("String.prototype.indexOf")),_Pe=function(t,r){var n=u8(t,!!r);return typeof n=="function"&&wPe(t,".prototype.")>-1?c8(n):n};const xPe={},APe=Object.freeze(Object.defineProperty({__proto__:null,default:xPe},Symbol.toStringTag,{value:"Module"})),OPe=FK(APe);var VO=typeof Map=="function"&&Map.prototype,MS=Object.getOwnPropertyDescriptor&&VO?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,nv=VO&&MS&&typeof MS.get=="function"?MS.get:null,JN=VO&&Map.prototype.forEach,zO=typeof Set=="function"&&Set.prototype,DS=Object.getOwnPropertyDescriptor&&zO?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,iv=zO&&DS&&typeof DS.get=="function"?DS.get:null,GN=zO&&Set.prototype.forEach,CPe=typeof WeakMap=="function"&&WeakMap.prototype,zp=CPe?WeakMap.prototype.has:null,$Pe=typeof WeakSet=="function"&&WeakSet.prototype,qp=$Pe?WeakSet.prototype.has:null,kPe=typeof WeakRef=="function"&&WeakRef.prototype,YN=kPe?WeakRef.prototype.deref:null,TPe=Boolean.prototype.valueOf,PPe=Object.prototype.toString,RPe=Function.prototype.toString,IPe=String.prototype.match,qO=String.prototype.slice,ja=String.prototype.replace,NPe=String.prototype.toUpperCase,XN=String.prototype.toLowerCase,f8=RegExp.prototype.test,QN=Array.prototype.concat,io=Array.prototype.join,jPe=Array.prototype.slice,ZN=Math.floor,B_=typeof BigInt=="function"?BigInt.prototype.valueOf:null,FS=Object.getOwnPropertySymbols,U_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Uc=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Fn=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Uc||!0)?Symbol.toStringTag:null,p8=Object.prototype.propertyIsEnumerable,ej=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function tj(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||f8.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-ZN(-e):ZN(e);if(n!==e){var i=String(n),s=qO.call(t,i.length+1);return ja.call(i,r,"$&_")+"."+ja.call(ja.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ja.call(t,r,"$&_")}var V_=OPe,rj=V_.custom,nj=h8(rj)?rj:null,MPe=function e(t,r,n,i){var s=r||{};if(Ca(s,"quoteStyle")&&s.quoteStyle!=="single"&&s.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Ca(s,"maxStringLength")&&(typeof s.maxStringLength=="number"?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=Ca(s,"customInspect")?s.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Ca(s,"indent")&&s.indent!==null&&s.indent!==" "&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Ca(s,"numericSeparator")&&typeof s.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=s.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return g8(t,s);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var c=String(t);return l?tj(t,c):c}if(typeof t=="bigint"){var h=String(t)+"n";return l?tj(t,h):h}var v=typeof s.depth>"u"?5:s.depth;if(typeof n>"u"&&(n=0),n>=v&&v>0&&typeof t=="object")return z_(t)?"[Array]":"[Object]";var y=eRe(s,n);if(typeof i>"u")i=[];else if(m8(i,t)>=0)return"[Circular]";function S(Fe,Xe,Ye){if(Xe&&(i=jPe.call(i),i.push(Xe)),Ye){var he={depth:s.depth};return Ca(s,"quoteStyle")&&(he.quoteStyle=s.quoteStyle),e(Fe,he,n+1,i)}return e(Fe,s,n+1,i)}if(typeof t=="function"&&!ij(t)){var b=WPe(t),_=pg(t,S);return"[Function"+(b?": "+b:" (anonymous)")+"]"+(_.length>0?" { "+io.call(_,", ")+" }":"")}if(h8(t)){var $=Uc?ja.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):U_.call(t);return typeof t=="object"&&!Uc?vp($):$}if(XPe(t)){for(var P="<"+XN.call(String(t.nodeName)),x=t.attributes||[],A=0;A",P}if(z_(t)){if(t.length===0)return"[]";var C=pg(t,S);return y&&!ZPe(C)?"["+q_(C,y)+"]":"[ "+io.call(C,", ")+" ]"}if(LPe(t)){var j=pg(t,S);return!("cause"in Error.prototype)&&"cause"in t&&!p8.call(t,"cause")?"{ ["+String(t)+"] "+io.call(QN.call("[cause]: "+S(t.cause),j),", ")+" }":j.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+io.call(j,", ")+" }"}if(typeof t=="object"&&o){if(nj&&typeof t[nj]=="function"&&V_)return V_(t,{depth:v-n});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(KPe(t)){var U=[];return JN&&JN.call(t,function(Fe,Xe){U.push(S(Xe,t,!0)+" => "+S(Fe,t))}),sj("Map",nv.call(t),U,y)}if(GPe(t)){var z=[];return GN&&GN.call(t,function(Fe){z.push(S(Fe,t))}),sj("Set",iv.call(t),z,y)}if(HPe(t))return LS("WeakMap");if(YPe(t))return LS("WeakSet");if(JPe(t))return LS("WeakRef");if(UPe(t))return vp(S(Number(t)));if(zPe(t))return vp(S(B_.call(t)));if(VPe(t))return vp(TPe.call(t));if(BPe(t))return vp(S(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(t===en)return"{ [object globalThis] }";if(!FPe(t)&&!ij(t)){var J=pg(t,S),ee=ej?ej(t)===Object.prototype:t instanceof Object||t.constructor===Object,Q=t instanceof Object?"":"null prototype",f=!ee&&Fn&&Object(t)===t&&Fn in t?qO.call(sl(t),8,-1):Q?"Object":"",ce=ee||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",L=ce+(f||Q?"["+io.call(QN.call([],f||[],Q||[]),": ")+"] ":"");return J.length===0?L+"{}":y?L+"{"+q_(J,y)+"}":L+"{ "+io.call(J,", ")+" }"}return String(t)};function d8(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function DPe(e){return ja.call(String(e),/"/g,""")}function z_(e){return sl(e)==="[object Array]"&&(!Fn||!(typeof e=="object"&&Fn in e))}function FPe(e){return sl(e)==="[object Date]"&&(!Fn||!(typeof e=="object"&&Fn in e))}function ij(e){return sl(e)==="[object RegExp]"&&(!Fn||!(typeof e=="object"&&Fn in e))}function LPe(e){return sl(e)==="[object Error]"&&(!Fn||!(typeof e=="object"&&Fn in e))}function BPe(e){return sl(e)==="[object String]"&&(!Fn||!(typeof e=="object"&&Fn in e))}function UPe(e){return sl(e)==="[object Number]"&&(!Fn||!(typeof e=="object"&&Fn in e))}function VPe(e){return sl(e)==="[object Boolean]"&&(!Fn||!(typeof e=="object"&&Fn in e))}function h8(e){if(Uc)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!U_)return!1;try{return U_.call(e),!0}catch{}return!1}function zPe(e){if(!e||typeof e!="object"||!B_)return!1;try{return B_.call(e),!0}catch{}return!1}var qPe=Object.prototype.hasOwnProperty||function(e){return e in this};function Ca(e,t){return qPe.call(e,t)}function sl(e){return PPe.call(e)}function WPe(e){if(e.name)return e.name;var t=IPe.call(RPe.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function m8(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return g8(qO.call(e,0,t.maxStringLength),t)+n}var i=ja.call(ja.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,QPe);return d8(i,"single",t)}function QPe(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+NPe.call(t.toString(16))}function vp(e){return"Object("+e+")"}function LS(e){return e+" { ? }"}function sj(e,t,r,n){var i=n?q_(r,n):io.call(r,", ");return e+" ("+t+") {"+i+"}"}function ZPe(e){for(var t=0;t=0)return!1;return!0}function eRe(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=io.call(Array(e.indent+1)," ");else return null;return{base:r,prev:io.call(Array(t+1),r)}}function q_(e,t){if(e.length===0)return"";var r=` +`+t.prev+t.base;return r+io.call(e,","+r)+` +`+t.prev}function pg(e,t){var r=z_(e),n=[];if(r){n.length=e.length;for(var i=0;i1;){var r=t.pop(),n=r.obj[r.prop];if(zl(n)){for(var i=[],s=0;s=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||s===mRe.RFC1738&&(h===40||h===41)){l+=o.charAt(c);continue}if(h<128){l=l+Ys[h];continue}if(h<2048){l=l+(Ys[192|h>>6]+Ys[128|h&63]);continue}if(h<55296||h>=57344){l=l+(Ys[224|h>>12]+Ys[128|h>>6&63]+Ys[128|h&63]);continue}c+=1,h=65536+((h&1023)<<10|o.charCodeAt(c)&1023),l+=Ys[240|h>>18]+Ys[128|h>>12&63]+Ys[128|h>>6&63]+Ys[128|h&63]}return l},SRe=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],i=0;i"u"&&(C=0)}if(typeof c=="function"?x=c(r,x):x instanceof Date?x=y(x):n==="comma"&&No(x)&&(x=ty.maybeMap(x,function(he){return he instanceof Date?y(he):he})),x===null){if(s)return l&&!_?l(r,Nn.encoder,$,"key",S):r;x=""}if(kRe(x)||ty.isBuffer(x)){if(l){var z=_?r:l(r,Nn.encoder,$,"key",S);return[b(z)+"="+b(l(x,Nn.encoder,$,"value",S))]}return[b(r)+"="+b(String(x))]}var J=[];if(typeof x>"u")return J;var ee;if(n==="comma"&&No(x))_&&l&&(x=ty.maybeMap(x,l)),ee=[{value:x.length>0?x.join(",")||null:void 0}];else if(No(c))ee=c;else{var Q=Object.keys(x);ee=h?Q.sort(h):Q}for(var f=i&&No(x)&&x.length===1?r+"[]":r,ce=0;ce"u"?Nn.allowDots:!!t.allowDots,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Nn.charsetSentinel,delimiter:typeof t.delimiter>"u"?Nn.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Nn.encode,encoder:typeof t.encoder=="function"?t.encoder:Nn.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Nn.encodeValuesOnly,filter:s,format:n,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Nn.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Nn.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Nn.strictNullHandling}},RRe=function(e,t){var r=e,n=PRe(t),i,s;typeof n.filter=="function"?(s=n.filter,r=s("",r)):No(n.filter)&&(s=n.filter,i=s);var o=[];if(typeof r!="object"||r===null)return"";var l;t&&t.arrayFormat in oj?l=t.arrayFormat:t&&"indices"in t?l=t.indices?"indices":"repeat":l="indices";var c=oj[l];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var h=c==="comma"&&t&&t.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var v=E8(),y=0;y0?_+b:""},Vc=b8,W_=Object.prototype.hasOwnProperty,IRe=Array.isArray,dn={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Vc.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},NRe=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},w8=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},jRe="utf8=%26%2310003%3B",MRe="utf8=%E2%9C%93",DRe=function(t,r){var n={__proto__:null},i=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,s=r.parameterLimit===1/0?void 0:r.parameterLimit,o=i.split(r.delimiter,s),l=-1,c,h=r.charset;if(r.charsetSentinel)for(c=0;c-1&&(_=IRe(_)?[_]:_),W_.call(n,b)?n[b]=Vc.combine(n[b],_):n[b]=_}return n},FRe=function(e,t,r,n){for(var i=n?t:w8(t,r),s=e.length-1;s>=0;--s){var o,l=e[s];if(l==="[]"&&r.parseArrays)o=[].concat(i);else{o=r.plainObjects?Object.create(null):{};var c=l.charAt(0)==="["&&l.charAt(l.length-1)==="]"?l.slice(1,-1):l,h=parseInt(c,10);!r.parseArrays&&c===""?o={0:i}:!isNaN(h)&&l!==c&&String(h)===c&&h>=0&&r.parseArrays&&h<=r.arrayLimit?(o=[],o[h]=i):c!=="__proto__"&&(o[c]=i)}i=o}return i},LRe=function(t,r,n,i){if(t){var s=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,l=/(\[[^[\]]*])/g,c=n.depth>0&&o.exec(s),h=c?s.slice(0,c.index):s,v=[];if(h){if(!n.plainObjects&&W_.call(Object.prototype,h)&&!n.allowPrototypes)return;v.push(h)}for(var y=0;n.depth>0&&(c=l.exec(s))!==null&&y"u"?dn.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?dn.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:dn.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:dn.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:dn.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:dn.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:dn.comma,decoder:typeof t.decoder=="function"?t.decoder:dn.decoder,delimiter:typeof t.delimiter=="string"||Vc.isRegExp(t.delimiter)?t.delimiter:dn.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:dn.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:dn.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:dn.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:dn.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:dn.strictNullHandling}},URe=function(e,t){var r=BRe(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?DRe(e,r):e,i=r.plainObjects?Object.create(null):{},s=Object.keys(n),o=0;o":/?#[]@!$&'()*+,;=".indexOf(e)>-1,HRe=e=>/^[a-z0-9\-._~]+$/i.test(e);function zc(e,{escape:t}={},r){return typeof e=="number"&&(e=e.toString()),typeof e!="string"||!e.length||!t?e:r?JSON.parse(e):[...e].map(n=>{if(HRe(n)||KRe(n)&&t==="unsafe")return n;const i=new TextEncoder;return Array.from(i.encode(n)).map(o=>`0${o.toString(16).toUpperCase()}`.slice(-2)).map(o=>`%${o}`).join("")}).join("")}function HO(e){const{value:t}=e;return Array.isArray(t)?JRe(e):typeof t=="object"?GRe(e):YRe(e)}function JRe({key:e,value:t,style:r,explode:n,escape:i}){const s=o=>zc(o,{escape:i});if(r==="simple")return t.map(o=>s(o)).join(",");if(r==="label")return`.${t.map(o=>s(o)).join(".")}`;if(r==="matrix")return t.map(o=>s(o)).reduce((o,l)=>!o||n?`${o||""};${e}=${l}`:`${o},${l}`,"");if(r==="form"){const o=n?`&${e}=`:",";return t.map(l=>s(l)).join(o)}if(r==="spaceDelimited"){const o=n?`${e}=`:"";return t.map(l=>s(l)).join(` ${o}`)}if(r==="pipeDelimited"){const o=n?`${e}=`:"";return t.map(l=>s(l)).join(`|${o}`)}}function GRe({key:e,value:t,style:r,explode:n,escape:i}){const s=l=>zc(l,{escape:i}),o=Object.keys(t);if(r==="simple")return o.reduce((l,c)=>{const h=s(t[c]),v=n?"=":",";return`${l?`${l},`:""}${c}${v}${h}`},"");if(r==="label")return o.reduce((l,c)=>{const h=s(t[c]),v=n?"=":".";return`${l?`${l}.`:"."}${c}${v}${h}`},"");if(r==="matrix"&&n)return o.reduce((l,c)=>{const h=s(t[c]);return`${l?`${l};`:";"}${c}=${h}`},"");if(r==="matrix")return o.reduce((l,c)=>{const h=s(t[c]);return`${l?`${l},`:`;${e}=`}${c},${h}`},"");if(r==="form")return o.reduce((l,c)=>{const h=s(t[c]);return`${l?`${l}${n?"&":","}`:""}${c}${n?"=":","}${h}`},"")}function YRe({key:e,value:t,style:r,escape:n}){const i=s=>zc(s,{escape:n});if(r==="simple")return i(t);if(r==="label")return`.${i(t)}`;if(r==="matrix")return`;${e}=${i(t)}`;if(r==="form"||r==="deepObject")return i(t)}const H_={serializeRes:_8,mergeInQueryOrForm:O8};async function l1(e,t={}){typeof e=="object"&&(t=e,e=t.url),t.headers=t.headers||{},H_.mergeInQueryOrForm(t),t.headers&&Object.keys(t.headers).forEach(i=>{const s=t.headers[i];typeof s=="string"&&(t.headers[i]=s.replace(/\n+/g," "))}),t.requestInterceptor&&(t=await t.requestInterceptor(t)||t);const r=t.headers["content-type"]||t.headers["Content-Type"];/multipart\/form-data/i.test(r)&&(delete t.headers["content-type"],delete t.headers["Content-Type"]);let n;try{n=await(t.userFetch||fetch)(t.url,t),n=await H_.serializeRes(n,e,t),t.responseInterceptor&&(n=await t.responseInterceptor(n)||n)}catch(i){if(!n)throw i;const s=new Error(n.statusText||`response status is ${n.status}`);throw s.status=n.status,s.statusCode=n.status,s.responseError=i,s}if(!n.ok){const i=new Error(n.statusText||`response status is ${n.status}`);throw i.status=n.status,i.statusCode=n.status,i.response=n,i}return n}const XRe=(e="")=>/(json|xml|yaml|text)\b/.test(e);function QRe(e,t){return t&&(t.indexOf("application/json")===0||t.indexOf("+json")>0)?JSON.parse(e):tu.load(e)}function _8(e,t,{loadSpec:r=!1}={}){const n={ok:e.ok,url:e.url||t,status:e.status,statusText:e.statusText,headers:eIe(e.headers)},i=n.headers["content-type"],s=r||XRe(i);return(s?e.text:e.blob||e.buffer).call(e).then(l=>{if(n.text=l,n.data=l,s)try{const c=QRe(l,i);n.body=c,n.obj=c}catch(c){n.parseError=c}return n})}function ZRe(e){return e.includes(", ")?e.split(", "):e}function eIe(e={}){return typeof e.entries!="function"?{}:Array.from(e.entries()).reduce((t,[r,n])=>(t[r]=ZRe(n),t),{})}function JO(e,t){return!t&&typeof navigator<"u"&&(t=navigator),t&&t.product==="ReactNative"?!!(e&&typeof e=="object"&&typeof e.uri=="string"):typeof File<"u"&&e instanceof File||typeof Blob<"u"&&e instanceof Blob||ArrayBuffer.isView(e)?!0:e!==null&&typeof e=="object"&&typeof e.pipe=="function"}function x8(e,t){return Array.isArray(e)&&e.some(r=>JO(r,t))}const tIe={form:",",spaceDelimited:"%20",pipeDelimited:"|"},rIe={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};class J_ extends File{constructor(t,r="",n={}){super([t],r,n),this.data=t}valueOf(){return this.data}toString(){return this.valueOf()}}function A8(e,t,r=!1){const{collectionFormat:n,allowEmptyValue:i,serializationOption:s,encoding:o}=t,l=typeof t=="object"&&!Array.isArray(t)?t.value:t,c=r?v=>v.toString():v=>encodeURIComponent(v),h=c(e);if(typeof l>"u"&&i)return[[h,""]];if(JO(l)||x8(l))return[[h,l]];if(s)return lj(e,l,r,s);if(o){if([typeof o.style,typeof o.explode,typeof o.allowReserved].some(v=>v!=="undefined")){const{style:v,explode:y,allowReserved:S}=o;return lj(e,l,r,{style:v,explode:y,allowReserved:S})}if(typeof o.contentType=="string"){if(o.contentType.startsWith("application/json")){const S=typeof l=="string"?l:JSON.stringify(l),b=c(S),_=new J_(b,"blob",{type:o.contentType});return[[h,_]]}const v=c(String(l)),y=new J_(v,"blob",{type:o.contentType});return[[h,y]]}return typeof l!="object"?[[h,c(l)]]:Array.isArray(l)&&l.every(v=>typeof v!="object")?[[h,l.map(c).join(",")]]:[[h,c(JSON.stringify(l))]]}return typeof l!="object"?[[h,c(l)]]:Array.isArray(l)?n==="multi"?[[h,l.map(c)]]:[[h,l.map(c).join(rIe[n||"csv"])]]:[[h,""]]}function lj(e,t,r,n){const i=n.style||"form",s=typeof n.explode>"u"?i==="form":n.explode,o=r?!1:n&&n.allowReserved?"unsafe":"reserved",l=h=>zc(h,{escape:o}),c=r?h=>h:h=>zc(h,{escape:o});return typeof t!="object"?[[c(e),l(t)]]:Array.isArray(t)?s?[[c(e),t.map(l)]]:[[c(e),t.map(l).join(tIe[i])]]:i==="deepObject"?Object.keys(t).map(h=>[c(`${e}[${h}]`),l(t[h])]):s?Object.keys(t).map(h=>[c(h),l(t[h])]):[[c(e),Object.keys(t).map(h=>[`${c(h)},${l(t[h])}`]).join(",")]]}function nIe(e){return Object.entries(e).reduce((t,[r,n])=>{for(const[i,s]of A8(r,n,!0))if(Array.isArray(s))for(const o of s)if(ArrayBuffer.isView(o)){const l=new Blob([o]);t.append(i,l)}else t.append(i,o);else if(ArrayBuffer.isView(s)){const o=new Blob([s]);t.append(i,o)}else t.append(i,s);return t},new FormData)}function uj(e){const t=Object.keys(e).reduce((r,n)=>{for(const[i,s]of A8(n,e[n]))s instanceof J_?r[i]=s.valueOf():r[i]=s;return r},{});return K_.stringify(t,{encode:!1,indices:!1})||""}function O8(e={}){const{url:t="",query:r,form:n}=e,i=(...s)=>{const o=s.filter(l=>l).join("&");return o?`?${o}`:""};if(n){const s=Object.keys(n).some(l=>{const{value:c}=n[l];return JO(c)||x8(c)}),o=e.headers["content-type"]||e.headers["Content-Type"];if(s||/multipart\/form-data/i.test(o)){const l=nIe(e.form);e.formdata=l,e.body=l}else e.body=uj(n);delete e.form}if(r){const[s,o]=t.split("?");let l="";if(o){const h=K_.parse(o);Object.keys(r).forEach(y=>delete h[y]),l=K_.stringify(h,{encode:!0})}const c=i(l,uj(r));e.url=s+c,delete e.query}return e}function iIe(e,t,r){return r=r||(n=>n),t=t||(n=>n),n=>(typeof n=="string"&&(n={url:n}),H_.mergeInQueryOrForm(n),n=t(n),r(e(n)))}const GO=e=>{var t,r;const{baseDoc:n,url:i}=e,s=(t=n??i)!==null&&t!==void 0?t:"";return typeof((r=globalThis.document)===null||r===void 0?void 0:r.baseURI)=="string"?String(new URL(s,globalThis.document.baseURI)):s},C8=e=>{const{fetch:t,http:r}=e;return t||r||l1};async function YO(e){const{spec:t,mode:r,allowMetaPatches:n=!0,pathDiscriminator:i,modelPropertyMacro:s,parameterMacro:o,requestInterceptor:l,responseInterceptor:c,skipNormalization:h,useCircularStructures:v}=e,y=GO(e),S=C8(e);return b(t);function b(_){y&&(Yu.refs.docCache[y]=_),Yu.refs.fetchJSON=n8(S,{requestInterceptor:l,responseInterceptor:c});const $=[Yu.refs];return typeof o=="function"&&$.push(Yu.parameters),typeof s=="function"&&$.push(Yu.properties),r!=="strict"&&$.push(Yu.allOf),OTe({spec:_,context:{baseDoc:y},plugins:$,allowMetaPatches:n,pathDiscriminator:i,parameterMacro:o,modelPropertyMacro:s,useCircularStructures:v}).then(h?async P=>P:a1)}}const $8={name:"generic",match(){return!0},normalize({spec:e}){const{spec:t}=a1({spec:e});return t},async resolve(e){return YO(e)}};async function sIe(e){return YO(e)}const oIe=e=>{try{const{swagger:t}=e;return t==="2.0"}catch{return!1}},k8=e=>{try{const{openapi:t}=e;return typeof t=="string"&&/^3\.0\.([0123])(?:-rc[012])?$/.test(t)}catch{return!1}},T8=e=>{try{const{openapi:t}=e;return typeof t=="string"&&/^3\.1\.(?:[1-9]\d*|0)$/.test(t)}catch{return!1}},P8=e=>k8(e)||T8(e),R8={name:"openapi-2",match({spec:e}){return oIe(e)},normalize({spec:e}){const{spec:t}=a1({spec:e});return t},async resolve(e){return sIe(e)}};async function aIe(e){return YO(e)}const I8={name:"openapi-3-0",match({spec:e}){return k8(e)},normalize({spec:e}){const{spec:t}=a1({spec:e});return t},async resolve(e){return aIe(e)}};class XO extends yh{}class lIe extends XO{constructor(r,n){super(r,n);ie(this,"pointer");typeof n<"u"&&(this.pointer=n.pointer)}}const G_=lIe;class uIe extends XO{constructor(r,n){super(r,n);ie(this,"tokens");typeof n<"u"&&(this.tokens=[...n.tokens])}}const cIe=uIe;class fIe extends XO{constructor(r,n){super(r,n);ie(this,"pointer");ie(this,"tokens");ie(this,"failedToken");ie(this,"failedTokenPosition");ie(this,"element");typeof n<"u"&&(this.pointer=n.pointer,Array.isArray(n.tokens)&&(this.tokens=[...n.tokens]),this.failedToken=n.failedToken,this.failedTokenPosition=n.failedTokenPosition,this.element=n.element)}}const Ip=fIe,pIe=bn(Dc(/~/g,"~0"),Dc(/\//g,"~1"),encodeURIComponent),dIe=pIe,hIe=e=>{try{return decodeURIComponent(e)}catch{return e}},mIe=bn(Dc(/~1/g,"/"),Dc(/~0/g,"~"),hIe),gIe=mIe,yIe=e=>{if(mB(e))return[];if(!uB("/",e))throw new G_(`Invalid JSON Pointer "${e}". JSON Pointers must begin with "/"`,{pointer:e});try{const t=bn(lO("/"),ch(gIe))(e);return nB(t)}catch(t){throw new G_(`JSON Pointer parsing of "${e}" encountered an error.`,{pointer:e,cause:t})}},vIe=e=>{const t=e.indexOf("#");return t!==-1?e.substring(t):"#"},Mn=e=>{const t=vIe(e);return cO("#",t)},bIe=e=>{try{return e.length===0?"":`/${e.map(dIe).join("/")}`}catch(t){throw new cIe("JSON Pointer compilation of tokens encountered an error.",{tokens:e,cause:t})}},EIe=bIe,SIe=(e,t)=>{let r;try{r=yIe(e)}catch(n){throw new Ip(`JSON Pointer evaluation failed while parsing the pointer "${e}".`,{pointer:e,element:Ge(t),cause:n})}return r.reduce((n,i,s)=>{if(Zt(n)){if(!n.hasKey(i))throw new Ip(`JSON Pointer evaluation failed while evaluating token "${i}" against an ObjectElement`,{pointer:e,tokens:r,failedToken:i,failedTokenPosition:s,element:Ge(n)});return n.get(i)}if(Ni(n)){if(!(i in n.content)||!q_e(Number(i)))throw new Ip(`JSON Pointer evaluation failed while evaluating token "${i}" against an ArrayElement`,{pointer:e,tokens:r,failedToken:i,failedTokenPosition:s,element:Ge(n)});return n.get(Number(i))}throw new Ip(`JSON Pointer evaluation failed while evaluating token "${i}" against an unexpected Element`,{pointer:e,tokens:r,failedToken:i,failedTokenPosition:s,element:Ge(n)})},t)},Jn=SIe;class QO extends nke{filterByFormat(t="generic"){const r=t==="generic"?"openapi;version":t;return this.filter(n=>n.includes(r))}findBy(t="3.1.0",r="generic"){const n=r==="generic"?`vnd.oai.openapi;version=${t}`:`vnd.oai.openapi+${r};version=${t}`;return this.find(s=>s.includes(n))||this.unknownMediaType}latest(t="generic"){return K0(this.filterByFormat(t))}}const iu=new QO("application/vnd.oai.openapi;version=3.1.0","application/vnd.oai.openapi+json;version=3.1.0","application/vnd.oai.openapi+yaml;version=3.1.0");let Ah=class extends et{constructor(t,r,n){super(t,r,n),this.element="callback"}},Oh=class extends et{constructor(t,r,n){super(t,r,n),this.element="components"}get schemas(){return this.get("schemas")}set schemas(t){this.set("schemas",t)}get responses(){return this.get("responses")}set responses(t){this.set("responses",t)}get parameters(){return this.get("parameters")}set parameters(t){this.set("parameters",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get requestBodies(){return this.get("requestBodies")}set requestBodies(t){this.set("requestBodies",t)}get headers(){return this.get("headers")}set headers(t){this.set("headers",t)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(t){this.set("securitySchemes",t)}get links(){return this.get("links")}set links(t){this.set("links",t)}get callbacks(){return this.get("callbacks")}set callbacks(t){this.set("callbacks",t)}},Ch=class extends et{constructor(t,r,n){super(t,r,n),this.element="contact"}get name(){return this.get("name")}set name(t){this.set("name",t)}get url(){return this.get("url")}set url(t){this.set("url",t)}get email(){return this.get("email")}set email(t){this.set("email",t)}},u1=class extends et{constructor(t,r,n){super(t,r,n),this.element="discriminator"}get propertyName(){return this.get("propertyName")}set propertyName(t){this.set("propertyName",t)}get mapping(){return this.get("mapping")}set mapping(t){this.set("mapping",t)}},c1=class extends et{constructor(t,r,n){super(t,r,n),this.element="encoding"}get contentType(){return this.get("contentType")}set contentType(t){this.set("contentType",t)}get headers(){return this.get("headers")}set headers(t){this.set("headers",t)}get style(){return this.get("style")}set style(t){this.set("style",t)}get explode(){return this.get("explode")}set explode(t){this.set("explode",t)}get allowedReserved(){return this.get("allowedReserved")}set allowedReserved(t){this.set("allowedReserved",t)}},$h=class extends et{constructor(t,r,n){super(t,r,n),this.element="example"}get summary(){return this.get("summary")}set summary(t){this.set("summary",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get value(){return this.get("value")}set value(t){this.set("value",t)}get externalValue(){return this.get("externalValue")}set externalValue(t){this.set("externalValue",t)}},kh=class extends et{constructor(t,r,n){super(t,r,n),this.element="externalDocumentation"}get description(){return this.get("description")}set description(t){this.set("description",t)}get url(){return this.get("url")}set url(t){this.set("url",t)}},Sf=class extends et{constructor(t,r,n){super(t,r,n),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new Ko(!1)}set required(t){this.set("required",t)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Ko(!1)}set deprecated(t){this.set("deprecated",t)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(t){this.set("allowEmptyValue",t)}get style(){return this.get("style")}set style(t){this.set("style",t)}get explode(){return this.get("explode")}set explode(t){this.set("explode",t)}get allowReserved(){return this.get("allowReserved")}set allowReserved(t){this.set("allowReserved",t)}get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get contentProp(){return this.get("content")}set contentProp(t){this.set("content",t)}};Object.defineProperty(Sf.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});let Th=class extends et{constructor(t,r,n){super(t,r,n),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(t){this.set("title",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get termsOfService(){return this.get("termsOfService")}set termsOfService(t){this.set("termsOfService",t)}get contact(){return this.get("contact")}set contact(t){this.set("contact",t)}get license(){return this.get("license")}set license(t){this.set("license",t)}get version(){return this.get("version")}set version(t){this.set("version",t)}},Ph=class extends et{constructor(t,r,n){super(t,r,n),this.element="license"}get name(){return this.get("name")}set name(t){this.set("name",t)}get url(){return this.get("url")}set url(t){this.set("url",t)}},Rh=class extends et{constructor(t,r,n){super(t,r,n),this.element="link"}get operationRef(){return this.get("operationRef")}set operationRef(t){this.set("operationRef",t)}get operationId(){return this.get("operationId")}set operationId(t){this.set("operationId",t)}get operation(){if(Ft(this.operationRef)){var t;return(t=this.operationRef)===null||t===void 0?void 0:t.meta.get("operation")}if(Ft(this.operationId)){var r;return(r=this.operationId)===null||r===void 0?void 0:r.meta.get("operation")}}set operation(t){this.set("operation",t)}get parameters(){return this.get("parameters")}set parameters(t){this.set("parameters",t)}get requestBody(){return this.get("requestBody")}set requestBody(t){this.set("requestBody",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get server(){return this.get("server")}set server(t){this.set("server",t)}},Ih=class extends et{constructor(t,r,n){super(t,r,n),this.element="mediaType"}get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get encoding(){return this.get("encoding")}set encoding(t){this.set("encoding",t)}},f1=class extends et{constructor(t,r,n){super(t,r,n),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(t){this.set("authorizationUrl",t)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(t){this.set("tokenUrl",t)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(t){this.set("refreshUrl",t)}get scopes(){return this.get("scopes")}set scopes(t){this.set("scopes",t)}},p1=class extends et{constructor(t,r,n){super(t,r,n),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(t){this.set("implicit",t)}get password(){return this.get("password")}set password(t){this.set("password",t)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(t){this.set("clientCredentials",t)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(t){this.set("authorizationCode",t)}},Nh=class extends Wo{constructor(t,r,n){super(t,r,n),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}};class d1 extends et{constructor(t,r,n){super(t,r,n),this.element="openApi3_0",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(t){this.set("openapi",t)}get info(){return this.get("info")}set info(t){this.set("info",t)}get servers(){return this.get("servers")}set servers(t){this.set("servers",t)}get paths(){return this.get("paths")}set paths(t){this.set("paths",t)}get components(){return this.get("components")}set components(t){this.set("components",t)}get security(){return this.get("security")}set security(t){this.set("security",t)}get tags(){return this.get("tags")}set tags(t){this.set("tags",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}}let jh=class extends et{constructor(t,r,n){super(t,r,n),this.element="operation"}get tags(){return this.get("tags")}set tags(t){this.set("tags",t)}get summary(){return this.get("summary")}set summary(t){this.set("summary",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}set externalDocs(t){this.set("externalDocs",t)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(t){this.set("operationId",t)}get parameters(){return this.get("parameters")}set parameters(t){this.set("parameters",t)}get requestBody(){return this.get("requestBody")}set requestBody(t){this.set("requestBody",t)}get responses(){return this.get("responses")}set responses(t){this.set("responses",t)}get callbacks(){return this.get("callbacks")}set callbacks(t){this.set("callbacks",t)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Ko(!1)}set deprecated(t){this.set("deprecated",t)}get security(){return this.get("security")}set security(t){this.set("security",t)}get servers(){return this.get("severs")}set servers(t){this.set("servers",t)}},wf=class extends et{constructor(t,r,n){super(t,r,n),this.element="parameter"}get name(){return this.get("name")}set name(t){this.set("name",t)}get in(){return this.get("in")}set in(t){this.set("in",t)}get required(){return this.hasKey("required")?this.get("required"):new Ko(!1)}set required(t){this.set("required",t)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Ko(!1)}set deprecated(t){this.set("deprecated",t)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(t){this.set("allowEmptyValue",t)}get style(){return this.get("style")}set style(t){this.set("style",t)}get explode(){return this.get("explode")}set explode(t){this.set("explode",t)}get allowReserved(){return this.get("allowReserved")}set allowReserved(t){this.set("allowReserved",t)}get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get contentProp(){return this.get("content")}set contentProp(t){this.set("content",t)}};Object.defineProperty(wf.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});let Mh=class extends et{constructor(t,r,n){super(t,r,n),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(t){this.set("$ref",t)}get summary(){return this.get("summary")}set summary(t){this.set("summary",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get GET(){return this.get("get")}set GET(t){this.set("GET",t)}get PUT(){return this.get("put")}set PUT(t){this.set("PUT",t)}get POST(){return this.get("post")}set POST(t){this.set("POST",t)}get DELETE(){return this.get("delete")}set DELETE(t){this.set("DELETE",t)}get OPTIONS(){return this.get("options")}set OPTIONS(t){this.set("OPTIONS",t)}get HEAD(){return this.get("head")}set HEAD(t){this.set("HEAD",t)}get PATCH(){return this.get("patch")}set PATCH(t){this.set("PATCH",t)}get TRACE(){return this.get("trace")}set TRACE(t){this.set("TRACE",t)}get servers(){return this.get("servers")}set servers(t){this.set("servers",t)}get parameters(){return this.get("parameters")}set parameters(t){this.set("parameters",t)}},Dh=class extends et{constructor(t,r,n){super(t,r,n),this.element="paths"}},Fh=class extends et{constructor(t,r,n){super(t,r,n),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(t){this.set("$ref",t)}},Lh=class extends et{constructor(t,r,n){super(t,r,n),this.element="requestBody"}get description(){return this.get("description")}set description(t){this.set("description",t)}get contentProp(){return this.get("content")}set contentProp(t){this.set("content",t)}get required(){return this.hasKey("required")?this.get("required"):new Ko(!1)}set required(t){this.set("required",t)}},Bh=class extends et{constructor(t,r,n){super(t,r,n),this.element="response"}get description(){return this.get("description")}set description(t){this.set("description",t)}get headers(){return this.get("headers")}set headers(t){this.set("headers",t)}get contentProp(){return this.get("content")}set contentProp(t){this.set("content",t)}get links(){return this.get("links")}set links(t){this.set("links",t)}},Uh=class extends et{constructor(t,r,n){super(t,r,n),this.element="responses"}get default(){return this.get("default")}set default(t){this.set("default",t)}};class Vh extends et{constructor(t,r,n){super(t,r,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(t){this.set("id",t)}get $schema(){return this.get("$schema")}set $schema(t){this.set("$schema",t)}get multipleOf(){return this.get("multipleOf")}set multipleOf(t){this.set("multipleOf",t)}get maximum(){return this.get("maximum")}set maximum(t){this.set("maximum",t)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(t){this.set("exclusiveMaximum",t)}get minimum(){return this.get("minimum")}set minimum(t){this.set("minimum",t)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(t){this.set("exclusiveMinimum",t)}get maxLength(){return this.get("maxLength")}set maxLength(t){this.set("maxLength",t)}get minLength(){return this.get("minLength")}set minLength(t){this.set("minLength",t)}get pattern(){return this.get("pattern")}set pattern(t){this.set("pattern",t)}get additionalItems(){return this.get("additionalItems")}set additionalItems(t){this.set("additionalItems",t)}get items(){return this.get("items")}set items(t){this.set("items",t)}get maxItems(){return this.get("maxItems")}set maxItems(t){this.set("maxItems",t)}get minItems(){return this.get("minItems")}set minItems(t){this.set("minItems",t)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(t){this.set("uniqueItems",t)}get maxProperties(){return this.get("maxProperties")}set maxProperties(t){this.set("maxProperties",t)}get minProperties(){return this.get("minProperties")}set minProperties(t){this.set("minProperties",t)}get required(){return this.get("required")}set required(t){this.set("required",t)}get properties(){return this.get("properties")}set properties(t){this.set("properties",t)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(t){this.set("additionalProperties",t)}get patternProperties(){return this.get("patternProperties")}set patternProperties(t){this.set("patternProperties",t)}get dependencies(){return this.get("dependencies")}set dependencies(t){this.set("dependencies",t)}get enum(){return this.get("enum")}set enum(t){this.set("enum",t)}get type(){return this.get("type")}set type(t){this.set("type",t)}get allOf(){return this.get("allOf")}set allOf(t){this.set("allOf",t)}get anyOf(){return this.get("anyOf")}set anyOf(t){this.set("anyOf",t)}get oneOf(){return this.get("oneOf")}set oneOf(t){this.set("oneOf",t)}get not(){return this.get("not")}set not(t){this.set("not",t)}get definitions(){return this.get("definitions")}set definitions(t){this.set("definitions",t)}get title(){return this.get("title")}set title(t){this.set("title",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get default(){return this.get("default")}set default(t){this.set("default",t)}get format(){return this.get("format")}set format(t){this.set("format",t)}get base(){return this.get("base")}set base(t){this.set("base",t)}get links(){return this.get("links")}set links(t){this.set("links",t)}get media(){return this.get("media")}set media(t){this.set("media",t)}get readOnly(){return this.get("readOnly")}set readOnly(t){this.set("readOnly",t)}}class h1 extends et{constructor(t,r,n){super(t,r,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(t){this.set("$ref",t)}}class m1 extends et{constructor(t,r,n){super(t,r,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(t){this.set("binaryEncoding",t)}get type(){return this.get("type")}set type(t){this.set("type",t)}}class g1 extends et{constructor(t,r,n){super(t,r,n),this.element="linkDescription"}get href(){return this.get("href")}set href(t){this.set("href",t)}get rel(){return this.get("rel")}set rel(t){this.set("rel",t)}get title(){return this.get("title")}set title(t){this.set("title",t)}get targetSchema(){return this.get("targetSchema")}set targetSchema(t){this.set("targetSchema",t)}get mediaType(){return this.get("mediaType")}set mediaType(t){this.set("mediaType",t)}get method(){return this.get("method")}set method(t){this.set("method",t)}get encType(){return this.get("encType")}set encType(t){this.set("encType",t)}get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}}const wIe={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Vh),t.register("jSONReference",h1),t.register("media",m1),t.register("linkDescription",g1),t}},_Ie=wIe,xIe=e=>{if(un(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},AIe={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...gf},OIe=Vt({props:{element:null},methods:{copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=yo(t.meta,e.meta),Eh(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=yo(t.attributes,e.attributes))}}}),N8=OIe,CIe=Vt(N8,{methods:{enter(e){return this.element=Ge(e),qt}}}),Nt=CIe,$Ie=Vt(N8,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return lB(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Gn(["visitors",...e,"fixedFields"],this.specObj);return typeof t=="object"&&t!==null?Object.keys(t):[]},retrieveVisitor(e){return H0(aa,["visitors",...e],this.specObj)?Gn(["visitors",...e],this.specObj):Gn(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const r=this.retrievePassingOptions(),n=this.retrieveVisitor(e),i={...r,...t};return new n(i)},toRefractedElement(e,t,r={}){const n=this.retrieveVisitorInstance(e,r),i=Object.getPrototypeOf(n);return oa(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===i?Ge(t):($n(t,n,r),n.element)}}}),ol=$Ie,kIe=Vt(ol,{props:{specPath:yB,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t);return e.forEach((n,i,s)=>{if(Ft(i)&&r.includes(De(i))&&!this.ignoredFields.includes(De(i))){const o=this.toRefractedElement([...t,"fixedFields",De(i)],n),l=new vh(Ge(i),o);this.copyMetaAndAttributes(s,l),l.classes.push("fixed-field"),this.element.content.push(l)}else this.ignoredFields.includes(De(i))||this.element.content.push(Ge(s))}),this.copyMetaAndAttributes(e,this.element),qt}}}),bd=kIe,TIe=Vt(bd,Nt,{props:{specPath:Ot(["document","objects","JSONSchema"])},init(){this.element=new Vh}}),PIe=TIe,RIe=Nt,IIe=RIe,NIe=Nt,jIe=NIe,MIe=Nt,DIe=MIe,FIe=Nt,LIe=FIe,BIe=Nt,UIe=BIe,VIe=Nt,zIe=VIe,qIe=Nt,WIe=qIe,KIe=Nt,HIe=KIe,JIe=Nt,GIe=JIe,YIe=Nt,XIe=YIe,QIe=Vt({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),ca=QIe,vo=e=>Zt(e)&&e.hasKey("$ref"),ZIe=Vt(ol,ca,Nt,{methods:{ObjectElement(e){const t=vo(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),qt},ArrayElement(e){return this.element=new mr,this.element.classes.push("json-schema-items"),e.forEach(t=>{const r=vo(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(r,t);this.element.push(n)}),this.copyMetaAndAttributes(e,this.element),qt}}}),eNe=ZIe,tNe=Nt,rNe=tNe,nNe=Nt,iNe=nNe,sNe=Nt,oNe=sNe,aNe=Nt,lNe=aNe,uNe=Nt,cNe=uNe,fNe=Vt(Nt,{methods:{ArrayElement(e){return this.element=Ge(e),this.element.classes.push("json-schema-required"),qt}}}),pNe=fNe,dNe=Vt(ol,{props:{fieldPatternPredicate:HA,specPath:yB,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach((t,r,n)=>{if(!this.ignoredFields.includes(De(r))&&this.fieldPatternPredicate(De(r))){const i=this.specPath(t),s=this.toRefractedElement(i,t),o=new vh(Ge(r),s);this.copyMetaAndAttributes(n,o),o.classes.push("patterned-field"),this.element.content.push(o)}else this.ignoredFields.includes(De(r))||this.element.content.push(Ge(n))}),this.copyMetaAndAttributes(e,this.element),qt}}}),hNe=dNe,mNe=Vt(hNe,{props:{fieldPatternPredicate:uO}}),y1=mNe,gNe=Vt(y1,ca,Nt,{props:{specPath:e=>vo(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new et,this.element.classes.push("json-schema-properties")}}),yNe=gNe,vNe=Vt(y1,ca,Nt,{props:{specPath:e=>vo(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new et,this.element.classes.push("json-schema-patternProperties")}}),bNe=vNe,ENe=Vt(y1,ca,Nt,{props:{specPath:e=>vo(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new et,this.element.classes.push("json-schema-dependencies")}}),SNe=ENe,wNe=Vt(Nt,{methods:{ArrayElement(e){return this.element=Ge(e),this.element.classes.push("json-schema-enum"),qt}}}),_Ne=wNe,xNe=Vt(Nt,{methods:{StringElement(e){return this.element=Ge(e),this.element.classes.push("json-schema-type"),qt},ArrayElement(e){return this.element=Ge(e),this.element.classes.push("json-schema-type"),qt}}}),ANe=xNe,ONe=Vt(ol,ca,Nt,{init(){this.element=new mr,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach(t=>{const r=vo(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(r,t);this.element.push(n)}),this.copyMetaAndAttributes(e,this.element),qt}}}),CNe=ONe,$Ne=Vt(ol,ca,Nt,{init(){this.element=new mr,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach(t=>{const r=vo(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(r,t);this.element.push(n)}),this.copyMetaAndAttributes(e,this.element),qt}}}),kNe=$Ne,TNe=Vt(ol,ca,Nt,{init(){this.element=new mr,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach(t=>{const r=vo(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(r,t);this.element.push(n)}),this.copyMetaAndAttributes(e,this.element),qt}}}),PNe=TNe,RNe=Vt(y1,ca,Nt,{props:{specPath:e=>vo(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new et,this.element.classes.push("json-schema-definitions")}}),INe=RNe,NNe=Nt,jNe=NNe,MNe=Nt,DNe=MNe,FNe=Nt,LNe=FNe,BNe=Nt,UNe=BNe,VNe=Nt,zNe=VNe,qNe=Vt(ol,ca,Nt,{init(){this.element=new mr,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach(t=>{const r=this.toRefractedElement(["document","objects","LinkDescription"],t);this.element.push(r)}),this.copyMetaAndAttributes(e,this.element),qt}}}),WNe=qNe,KNe=Nt,HNe=KNe,JNe=Vt(bd,Nt,{props:{specPath:Ot(["document","objects","JSONReference"])},init(){this.element=new h1},methods:{ObjectElement(e){const t=bd.compose.methods.ObjectElement.call(this,e);return Ft(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),GNe=JNe,YNe=Vt(Nt,{methods:{StringElement(e){return this.element=Ge(e),this.element.classes.push("reference-value"),qt}}}),XNe=YNe,QNe=Vt(ol,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map(({predicate:n,specPath:i})=>oO(n,Ot(i),mh)),r=vB(t)(e);return this.element=this.toRefractedElement(r,e),qt}}}),ZNe=QNe,eje=Vt(ZNe,{props:{alternator:[{predicate:vo,specPath:["document","objects","JSONReference"]},{predicate:na,specPath:["document","objects","JSONSchema"]}]}}),Zu=eje,tje=Vt(bd,Nt,{props:{specPath:Ot(["document","objects","Media"])},init(){this.element=new m1}}),rje=tje,nje=Nt,ije=nje,sje=Nt,oje=sje,aje=Vt(bd,Nt,{props:{specPath:Ot(["document","objects","LinkDescription"])},init(){this.element=new g1}}),lje=aje,uje=Nt,cje=uje,fje=Nt,pje=fje,dje=Nt,hje=dje,mje=Nt,gje=mje,yje=Nt,vje=yje,bje=Nt,Eje=bje,fa={visitors:{value:Nt,JSONSchemaOrJSONReferenceVisitor:Zu,document:{objects:{JSONSchema:{$visitor:PIe,fixedFields:{id:IIe,$schema:jIe,multipleOf:DIe,maximum:LIe,exclusiveMaximum:UIe,minimum:zIe,exclusiveMinimum:WIe,maxLength:HIe,minLength:GIe,pattern:XIe,additionalItems:Zu,items:eNe,maxItems:rNe,minItems:iNe,uniqueItems:oNe,maxProperties:lNe,minProperties:cNe,required:pNe,properties:yNe,additionalProperties:Zu,patternProperties:bNe,dependencies:SNe,enum:_Ne,type:ANe,allOf:CNe,anyOf:kNe,oneOf:PNe,not:Zu,definitions:INe,title:jNe,description:DNe,default:LNe,format:UNe,base:zNe,links:WNe,media:{$ref:"#/visitors/document/objects/Media"},readOnly:HNe}},JSONReference:{$visitor:GNe,fixedFields:{$ref:XNe}},Media:{$visitor:rje,fixedFields:{binaryEncoding:ije,type:oje}},LinkDescription:{$visitor:lje,fixedFields:{href:cje,rel:pje,title:hje,targetSchema:Zu,mediaType:gje,method:vje,encType:Eje,schema:Zu}}}}}},Sje=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Vh||e(n)&&t("JSONSchemaDraft4",n)&&r("object",n)),wje=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof h1||e(n)&&t("JSONReference",n)&&r("object",n)),_je=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof m1||e(n)&&t("media",n)&&r("object",n)),xje=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof g1||e(n)&&t("linkDescription",n)&&r("object",n)),Aje=Object.freeze(Object.defineProperty({__proto__:null,isJSONReferenceElement:wje,isJSONSchemaElement:Sje,isLinkDescriptionElement:xje,isMediaElement:_je},Symbol.toStringTag,{value:"Module"})),Oje=()=>{const e=hf(_Ie);return{predicates:{...Aje,isStringElement:Ft},namespace:e}},Cje=Oje,$je=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=fa}={})=>{const i=kO(e),s=t1(n),o=By(t,[],s);return $n(i,o,{state:{specObj:s}}),Sh(o.element,r,{toolboxCreator:Cje,visitorOptions:{keyMap:AIe,nodeTypeGetter:xIe}})},v1=e=>(t,r={})=>$je(t,{specPath:e,...r});Vh.refract=v1(["visitors","document","objects","JSONSchema","$visitor"]);h1.refract=v1(["visitors","document","objects","JSONReference","$visitor"]);m1.refract=v1(["visitors","document","objects","Media","$visitor"]);g1.refract=v1(["visitors","document","objects","LinkDescription","$visitor"]);let b1=class extends Vh{constructor(t,r,n){super(t,r,n),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new wn("idProp getter in Schema class is not not supported.")}set idProp(t){throw new wn("idProp setter in Schema class is not not supported.")}get $schema(){throw new wn("$schema getter in Schema class is not not supported.")}set $schema(t){throw new wn("$schema setter in Schema class is not not supported.")}get additionalItems(){return this.get("additionalItems")}set additionalItems(t){this.set("additionalItems",t)}get items(){return this.get("items")}set items(t){this.set("items",t)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(t){this.set("additionalProperties",t)}get patternProperties(){throw new wn("patternProperties getter in Schema class is not not supported.")}set patternProperties(t){throw new wn("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new wn("dependencies getter in Schema class is not not supported.")}set dependencies(t){throw new wn("dependencies setter in Schema class is not not supported.")}get type(){return this.get("type")}set type(t){this.set("type",t)}get not(){return this.get("not")}set not(t){this.set("not",t)}get definitions(){throw new wn("definitions getter in Schema class is not not supported.")}set definitions(t){throw new wn("definitions setter in Schema class is not not supported.")}get base(){throw new wn("base getter in Schema class is not not supported.")}set base(t){throw new wn("base setter in Schema class is not not supported.")}get links(){throw new wn("links getter in Schema class is not not supported.")}set links(t){throw new wn("links setter in Schema class is not not supported.")}get media(){throw new wn("media getter in Schema class is not not supported.")}set media(t){throw new wn("media setter in Schema class is not not supported.")}get nullable(){return this.get("nullable")}set nullable(t){this.set("nullable",t)}get discriminator(){return this.get("discriminator")}set discriminator(t){this.set("discriminator",t)}get writeOnly(){return this.get("writeOnly")}set writeOnly(t){this.set("writeOnly",t)}get xml(){return this.get("xml")}set xml(t){this.set("xml",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}get deprecated(){return this.get("deprecated")}set deprecated(t){this.set("deprecated",t)}},zh=class extends et{constructor(t,r,n){super(t,r,n),this.element="securityRequirement"}},qh=class extends et{constructor(t,r,n){super(t,r,n),this.element="securityScheme"}get type(){return this.get("type")}set type(t){this.set("type",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get name(){return this.get("name")}set name(t){this.set("name",t)}get in(){return this.get("in")}set in(t){this.set("in",t)}get scheme(){return this.get("scheme")}set scheme(t){this.set("scheme",t)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(t){this.set("bearerFormat",t)}get flows(){return this.get("flows")}set flows(t){this.set("flows",t)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(t){this.set("openIdConnectUrl",t)}},Wh=class extends et{constructor(t,r,n){super(t,r,n),this.element="server"}get url(){return this.get("url")}set url(t){this.set("url",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get variables(){return this.get("variables")}set variables(t){this.set("variables",t)}},Kh=class extends et{constructor(t,r,n){super(t,r,n),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(t){this.set("enum",t)}get default(){return this.get("default")}set default(t){this.set("default",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}},E1=class extends et{constructor(t,r,n){super(t,r,n),this.element="tag"}get name(){return this.get("name")}set name(t){this.set("name",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}},S1=class extends et{constructor(t,r,n){super(t,r,n),this.element="xml"}get name(){return this.get("name")}set name(t){this.set("name",t)}get namespace(){return this.get("namespace")}set namespace(t){this.set("namespace",t)}get prefix(){return this.get("prefix")}set prefix(t){this.set("prefix",t)}get attribute(){return this.get("attribute")}set attribute(t){this.set("attribute",t)}get wrapped(){return this.get("wrapped")}set wrapped(t){this.set("wrapped",t)}};const kje={namespace:e=>{const{base:t}=e;return t.register("callback",Ah),t.register("components",Oh),t.register("contact",Ch),t.register("discriminator",u1),t.register("encoding",c1),t.register("example",$h),t.register("externalDocumentation",kh),t.register("header",Sf),t.register("info",Th),t.register("license",Ph),t.register("link",Rh),t.register("mediaType",Ih),t.register("oAuthFlow",f1),t.register("oAuthFlows",p1),t.register("openapi",Nh),t.register("openApi3_0",d1),t.register("operation",jh),t.register("parameter",wf),t.register("pathItem",Mh),t.register("paths",Dh),t.register("reference",Fh),t.register("requestBody",Lh),t.register("response",Bh),t.register("responses",Uh),t.register("schema",b1),t.register("securityRequirement",zh),t.register("securityScheme",qh),t.register("server",Wh),t.register("serverVariable",Kh),t.register("tag",E1),t.register("xml",S1),t}},Tje=kje,Fv=class Fv extends mr{constructor(t,r,n){super(t,r,n),this.classes.push(Fv.primaryClass)}};ie(Fv,"primaryClass","servers");let Ed=Fv;const Lv=class Lv extends mr{constructor(t,r,n){super(t,r,n),this.classes.push(Lv.primaryClass)}};ie(Lv,"primaryClass","security");let Y_=Lv;const Bv=class Bv extends mr{constructor(t,r,n){super(t,r,n),this.classes.push(Bv.primaryClass)}};ie(Bv,"primaryClass","tags");let X_=Bv;const Uv=class Uv extends et{constructor(t,r,n){super(t,r,n),this.classes.push(Uv.primaryClass)}};ie(Uv,"primaryClass","server-variables");let Q_=Uv;const Vv=class Vv extends et{constructor(t,r,n){super(t,r,n),this.classes.push(Vv.primaryClass)}};ie(Vv,"primaryClass","components-schemas");let sv=Vv;const zv=class zv extends et{constructor(t,r,n){super(t,r,n),this.classes.push(zv.primaryClass)}};ie(zv,"primaryClass","components-responses");let Z_=zv;const qv=class qv extends et{constructor(t,r,n){super(t,r,n),this.classes.push(qv.primaryClass),this.classes.push("parameters")}};ie(qv,"primaryClass","components-parameters");let ex=qv;const Wv=class Wv extends et{constructor(t,r,n){super(t,r,n),this.classes.push(Wv.primaryClass),this.classes.push("examples")}};ie(Wv,"primaryClass","components-examples");let tx=Wv;const Kv=class Kv extends et{constructor(t,r,n){super(t,r,n),this.classes.push(Kv.primaryClass)}};ie(Kv,"primaryClass","components-request-bodies");let rx=Kv;const Hv=class Hv extends et{constructor(t,r,n){super(t,r,n),this.classes.push(Hv.primaryClass)}};ie(Hv,"primaryClass","components-headers");let nx=Hv;const Jv=class Jv extends et{constructor(t,r,n){super(t,r,n),this.classes.push(Jv.primaryClass)}};ie(Jv,"primaryClass","components-security-schemes");let ix=Jv;const Gv=class Gv extends et{constructor(t,r,n){super(t,r,n),this.classes.push(Gv.primaryClass)}};ie(Gv,"primaryClass","components-links");let sx=Gv;const Yv=class Yv extends et{constructor(t,r,n){super(t,r,n),this.classes.push(Yv.primaryClass)}};ie(Yv,"primaryClass","components-callbacks");let ox=Yv;const Xv=class Xv extends mr{constructor(t,r,n){super(t,r,n),this.classes.push(Xv.primaryClass),this.classes.push("servers")}};ie(Xv,"primaryClass","path-item-servers");let ov=Xv;const Qv=class Qv extends mr{constructor(t,r,n){super(t,r,n),this.classes.push(Qv.primaryClass),this.classes.push("parameters")}};ie(Qv,"primaryClass","path-item-parameters");let ax=Qv;const Zv=class Zv extends mr{constructor(t,r,n){super(t,r,n),this.classes.push(Zv.primaryClass),this.classes.push("parameters")}};ie(Zv,"primaryClass","operation-parameters");let av=Zv;const e0=class e0 extends et{constructor(t,r,n){super(t,r,n),this.classes.push(e0.primaryClass),this.classes.push("examples")}};ie(e0,"primaryClass","parameter-examples");let lx=e0;const t0=class t0 extends et{constructor(t,r,n){super(t,r,n),this.classes.push(t0.primaryClass),this.classes.push("content")}};ie(t0,"primaryClass","parameter-content");let ux=t0;const r0=class r0 extends mr{constructor(t,r,n){super(t,r,n),this.classes.push(r0.primaryClass)}};ie(r0,"primaryClass","operation-tags");let cx=r0;const n0=class n0 extends et{constructor(t,r,n){super(t,r,n),this.classes.push(n0.primaryClass)}};ie(n0,"primaryClass","operation-callbacks");let fx=n0;const i0=class i0 extends mr{constructor(t,r,n){super(t,r,n),this.classes.push(i0.primaryClass),this.classes.push("security")}};ie(i0,"primaryClass","operation-security");let lv=i0;const s0=class s0 extends mr{constructor(t,r,n){super(t,r,n),this.classes.push(s0.primaryClass),this.classes.push("servers")}};ie(s0,"primaryClass","operation-servers");let uv=s0;const o0=class o0 extends et{constructor(t,r,n){super(t,r,n),this.classes.push(o0.primaryClass),this.classes.push("content")}};ie(o0,"primaryClass","request-body-content");let px=o0;const a0=class a0 extends et{constructor(t,r,n){super(t,r,n),this.classes.push(a0.primaryClass),this.classes.push("examples")}};ie(a0,"primaryClass","media-type-examples");let dx=a0;const l0=class l0 extends et{constructor(t,r,n){super(t,r,n),this.classes.push(l0.primaryClass)}};ie(l0,"primaryClass","media-type-encoding");let hx=l0;const u0=class u0 extends et{constructor(t,r,n){super(t,r,n),this.classes.push(u0.primaryClass)}};ie(u0,"primaryClass","encoding-headers");let mx=u0;const c0=class c0 extends et{constructor(t,r,n){super(t,r,n),this.classes.push(c0.primaryClass)}};ie(c0,"primaryClass","response-headers");let gx=c0;const f0=class f0 extends et{constructor(t,r,n){super(t,r,n),this.classes.push(f0.primaryClass),this.classes.push("content")}};ie(f0,"primaryClass","response-content");let yx=f0;const p0=class p0 extends et{constructor(t,r,n){super(t,r,n),this.classes.push(p0.primaryClass)}};ie(p0,"primaryClass","response-links");let vx=p0;const d0=class d0 extends et{constructor(t,r,n){super(t,r,n),this.classes.push(d0.primaryClass)}};ie(d0,"primaryClass","discriminator-mapping");let bx=d0;const h0=class h0 extends et{constructor(t,r,n){super(t,r,n),this.classes.push(h0.primaryClass)}};ie(h0,"primaryClass","oauth-flow-scopes");let Ex=h0;const m0=class m0 extends et{constructor(t,r,n){super(t,r,n),this.classes.push(m0.primaryClass)}};ie(m0,"primaryClass","link-parameters");let Sx=m0;const g0=class g0 extends et{constructor(t,r,n){super(t,r,n),this.classes.push(g0.primaryClass),this.classes.push("examples")}};ie(g0,"primaryClass","header-examples");let wx=g0;const y0=class y0 extends et{constructor(t,r,n){super(t,r,n),this.classes.push(y0.primaryClass),this.classes.push("content")}};ie(y0,"primaryClass","header-content");let _x=y0;const Pje=e=>{if(un(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Rje={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_0Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...gf},j8=(e,t,r=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let i of r)delete n[i];Object.defineProperties(e,n)},Sd=(e,t=[e])=>{const r=Object.getPrototypeOf(e);return r===null?t:Sd(r,[...t,r])},Ije=(...e)=>{if(e.length===0)return;let t;const r=e.map(n=>Sd(n));for(;r.every(n=>n.length>0);){const n=r.map(s=>s.pop()),i=n[0];if(n.every(s=>s===i))t=i;else break}return t},cj=(e,t,r=[])=>{var n;const i=(n=Ije(...e))!==null&&n!==void 0?n:Object.prototype,s=Object.create(i),o=Sd(i);for(let l of e){let c=Sd(l);for(let h=c.length-1;h>=0;h--){let v=c[h];o.indexOf(v)===-1&&(j8(s,v,["constructor",...r]),o.push(v))}}return s.constructor=t,s},xx=e=>e.filter((t,r)=>e.indexOf(t)==r),M8=new WeakMap,Nje=e=>M8.get(e),jje=(e,t)=>M8.set(e,t),fj=(e,t)=>{var r,n;const i=xx([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),s={};for(let o of i)s[o]=xx([...(r=e==null?void 0:e[o])!==null&&r!==void 0?r:[],...(n=t==null?void 0:t[o])!==null&&n!==void 0?n:[]]);return s},pj=(e,t)=>{var r,n,i,s;return{property:fj((r=e==null?void 0:e.property)!==null&&r!==void 0?r:{},(n=t==null?void 0:t.property)!==null&&n!==void 0?n:{}),method:fj((i=e==null?void 0:e.method)!==null&&i!==void 0?i:{},(s=t==null?void 0:t.method)!==null&&s!==void 0?s:{})}},Mje=(e,t)=>{var r,n,i,s,o,l;return{class:xx([...(r=e==null?void 0:e.class)!==null&&r!==void 0?r:[],...(n=t==null?void 0:t.class)!==null&&n!==void 0?n:[]]),static:pj((i=e==null?void 0:e.static)!==null&&i!==void 0?i:{},(s=t==null?void 0:t.static)!==null&&s!==void 0?s:{}),instance:pj((o=e==null?void 0:e.instance)!==null&&o!==void 0?o:{},(l=t==null?void 0:t.instance)!==null&&l!==void 0?l:{})}},Dje=new Map,Fje=(...e)=>{var t;const r=new Set,n=new Set([...e]);for(;n.size>0;)for(let i of n){const s=Sd(i.prototype).map(h=>h.constructor),o=(t=Nje(i))!==null&&t!==void 0?t:[],c=[...s,...o].filter(h=>!r.has(h));for(let h of c)n.add(h);r.add(i),n.delete(i)}return[...r]},Lje=(...e)=>{const t=Fje(...e).map(r=>Dje.get(r)).filter(r=>!!r);return t.length==0?{}:t.length==1?t[0]:t.reduce((r,n)=>Mje(r,n))};function st(...e){var t,r,n;const i=e.map(l=>l.prototype);function s(...l){for(const c of e)j8(this,new c(...l))}s.prototype=cj(i,s),Object.setPrototypeOf(s,cj(e,null,["prototype"]));let o=s;{const l=Lje(...e);for(let c of(t=l==null?void 0:l.class)!==null&&t!==void 0?t:[]){const h=c(o);h&&(o=h)}dj((r=l==null?void 0:l.static)!==null&&r!==void 0?r:{},o),dj((n=l==null?void 0:l.instance)!==null&&n!==void 0?n:{},o.prototype)}return jje(o,e),o}const dj=(e,t)=>{const r=e.property,n=e.method;if(r)for(let i in r)for(let s of r[i])s(t,i);if(n)for(let i in n)for(let s of n[i])s(t,i,Object.getOwnPropertyDescriptor(t,i))};class D8{constructor(t={}){ie(this,"element");Object.assign(this,t)}copyMetaAndAttributes(t,r){(t.meta.length>0||r.meta.length>0)&&(r.meta=yo(r.meta,t.meta),Eh(t)&&r.meta.set("sourceMap",t.meta.get("sourceMap"))),(t.attributes.length>0||t.meta.length>0)&&(r.attributes=yo(r.attributes,t.attributes))}}class Bje extends D8{enter(t){return this.element=Ge(t),qt}}const Je=Bje;class ni extends D8{constructor({specObj:r,passingOptionsNames:n,openApiGenericElement:i,openApiSemanticElement:s,...o}){super({...o});ie(this,"specObj");ie(this,"passingOptionsNames",["specObj","openApiGenericElement","openApiSemanticElement"]);ie(this,"openApiGenericElement");ie(this,"openApiSemanticElement");this.specObj=r,this.openApiGenericElement=i,this.openApiSemanticElement=s,Array.isArray(n)&&(this.passingOptionsNames=n)}retrievePassingOptions(){return lB(this.passingOptionsNames,this)}retrieveFixedFields(r){const n=Gn(["visitors",...r,"fixedFields"],this.specObj);return typeof n=="object"&&n!==null?Object.keys(n):[]}retrieveVisitor(r){return H0(aa,["visitors",...r],this.specObj)?Gn(["visitors",...r],this.specObj):Gn(["visitors",...r,"$visitor"],this.specObj)}retrieveVisitorInstance(r,n={}){const i=this.retrievePassingOptions(),s=this.retrieveVisitor(r),o={...i,...n};return new s(o)}toRefractedElement(r,n,i={}){const s=this.retrieveVisitorInstance(r,i);return s instanceof Je&&(s==null?void 0:s.constructor)===Je?Ge(n):($n(n,s,i),s.element)}}const wr=e=>Zt(e)&&e.hasKey("$ref"),Uje=Zt,Vje=Zt,F8=e=>Ft(e.key)&&uB("x-",De(e.key));class Bt extends ni{constructor({specPath:r,ignoredFields:n,canSupportSpecificationExtensions:i,specificationExtensionPredicate:s,...o}){super({...o});ie(this,"specPath");ie(this,"ignoredFields");ie(this,"canSupportSpecificationExtensions",!0);ie(this,"specificationExtensionPredicate",F8);this.specPath=r,this.ignoredFields=n||[],typeof i=="boolean"&&(this.canSupportSpecificationExtensions=i),typeof s=="function"&&(this.specificationExtensionPredicate=s)}ObjectElement(r){const n=this.specPath(r),i=this.retrieveFixedFields(n);return r.forEach((s,o,l)=>{if(Ft(o)&&i.includes(De(o))&&!this.ignoredFields.includes(De(o))){const c=this.toRefractedElement([...n,"fixedFields",De(o)],s),h=new vh(Ge(o),c);this.copyMetaAndAttributes(l,h),h.classes.push("fixed-field"),this.element.content.push(h)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(l)){const c=this.toRefractedElement(["document","extension"],l);this.element.content.push(c)}else this.ignoredFields.includes(De(o))||this.element.content.push(Ge(l))}),this.copyMetaAndAttributes(r,this.element),qt}}class zje extends st(Bt,Je){constructor(t){super(t),this.element=new d1,this.specPath=Ot(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){return Bt.prototype.ObjectElement.call(this,t)}}const qje=zje;class Wje extends st(ni,Je){StringElement(t){const r=new Nh(De(t));return this.copyMetaAndAttributes(t,r),this.element=r,qt}}const Kje=Wje;class Hje extends ni{MemberElement(t){return this.element=Ge(t),this.element.classes.push("specification-extension"),qt}}const Jje=Hje;let Gje=class extends st(Bt,Je){constructor(t){super(t),this.element=new Th,this.specPath=Ot(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}};const Yje=Gje;class Xje extends Je{StringElement(t){const r=super.enter(t);return this.element.classes.push("api-version"),this.element.classes.push("version"),r}}const Qje=Xje;let Zje=class extends st(Bt,Je){constructor(t){super(t),this.element=new Ch,this.specPath=Ot(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}};const eMe=Zje;let tMe=class extends st(Bt,Je){constructor(t){super(t),this.element=new Ph,this.specPath=Ot(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}};const rMe=tMe;let nMe=class extends st(Bt,Je){constructor(t){super(t),this.element=new Rh,this.specPath=Ot(["document","objects","Link"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=Bt.prototype.ObjectElement.call(this,t);return(Ft(this.element.operationId)||Ft(this.element.operationRef))&&this.element.classes.push("reference-element"),r}};const iMe=nMe;class sMe extends Je{StringElement(t){const r=super.enter(t);return this.element.classes.push("reference-value"),r}}const oMe=sMe;class aMe extends Je{StringElement(t){const r=super.enter(t);return this.element.classes.push("reference-value"),r}}const lMe=aMe;class qc extends ni{constructor({specPath:r,ignoredFields:n,fieldPatternPredicate:i,canSupportSpecificationExtensions:s,specificationExtensionPredicate:o,...l}){super({...l});ie(this,"specPath");ie(this,"ignoredFields");ie(this,"fieldPatternPredicate",HA);ie(this,"canSupportSpecificationExtensions",!1);ie(this,"specificationExtensionPredicate",F8);this.specPath=r,this.ignoredFields=n||[],typeof i=="function"&&(this.fieldPatternPredicate=i),typeof s=="boolean"&&(this.canSupportSpecificationExtensions=s),typeof o=="function"&&(this.specificationExtensionPredicate=o)}ObjectElement(r){return r.forEach((n,i,s)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const o=this.toRefractedElement(["document","extension"],s);this.element.content.push(o)}else if(!this.ignoredFields.includes(De(i))&&this.fieldPatternPredicate(De(i))){const o=this.specPath(n),l=this.toRefractedElement(o,n),c=new vh(Ge(i),l);this.copyMetaAndAttributes(s,c),c.classes.push("patterned-field"),this.element.content.push(c)}else this.ignoredFields.includes(De(i))||this.element.content.push(Ge(s))}),this.copyMetaAndAttributes(r,this.element),qt}}class Dt extends qc{constructor(t){super(t),this.fieldPatternPredicate=uO}}let uMe=class extends st(Dt,Je){constructor(t){super(t),this.element=new Sx,this.specPath=Ot(["value"])}};const cMe=uMe;let fMe=class extends st(Bt,Je){constructor(t){super(t),this.element=new Wh,this.specPath=Ot(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}};const pMe=fMe;class dMe extends Je{StringElement(t){const r=super.enter(t);return this.element.classes.push("server-url"),r}}const hMe=dMe;let mMe=class extends st(ni,Je){constructor(t){super(t),this.element=new Ed}ArrayElement(t){return t.forEach(r=>{const n=Uje(r)?["document","objects","Server"]:["value"],i=this.toRefractedElement(n,r);this.element.push(i)}),this.copyMetaAndAttributes(t,this.element),qt}};const ZO=mMe;let gMe=class extends st(Bt,Je){constructor(t){super(t),this.element=new Kh,this.specPath=Ot(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}};const yMe=gMe;class vMe extends st(Dt,Je){constructor(t){super(t),this.element=new Q_,this.specPath=Ot(["document","objects","ServerVariable"])}}const bMe=vMe;let EMe=class extends st(Bt,Je){constructor(t){super(t),this.element=new Ih,this.specPath=Ot(["document","objects","MediaType"]),this.canSupportSpecificationExtensions=!0}};const SMe=EMe;class bo extends ni{constructor({alternator:r,...n}){super({...n});ie(this,"alternator");this.alternator=r||[]}enter(r){const n=this.alternator.map(({predicate:s,specPath:o})=>oO(s,Ot(o),mh)),i=vB(n)(r);return this.element=this.toRefractedElement(i,r),qt}}const wMe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ah||e(n)&&t("callback",n)&&r("object",n)),_Me=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Oh||e(n)&&t("components",n)&&r("object",n)),xMe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ch||e(n)&&t("contact",n)&&r("object",n)),AMe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof $h||e(n)&&t("example",n)&&r("object",n)),OMe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof kh||e(n)&&t("externalDocumentation",n)&&r("object",n)),_f=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Sf||e(n)&&t("header",n)&&r("object",n)),CMe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Th||e(n)&&t("info",n)&&r("object",n)),$Me=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ph||e(n)&&t("license",n)&&r("object",n)),kMe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Rh||e(n)&&t("link",n)&&r("object",n)),TMe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Nh||e(n)&&t("openapi",n)&&r("string",n)),PMe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:n})=>i=>i instanceof d1||e(i)&&t("openApi3_0",i)&&r("object",i)&&n("api",i)),L8=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof jh||e(n)&&t("operation",n)&&r("object",n)),RMe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof wf||e(n)&&t("parameter",n)&&r("object",n)),eC=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Mh||e(n)&&t("pathItem",n)&&r("object",n)),IMe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Dh||e(n)&&t("paths",n)&&r("object",n)),gr=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Fh||e(n)&&t("reference",n)&&r("object",n)),NMe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Lh||e(n)&&t("requestBody",n)&&r("object",n)),w1=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Bh||e(n)&&t("response",n)&&r("object",n)),jMe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Uh||e(n)&&t("responses",n)&&r("object",n)),MMe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof b1||e(n)&&t("schema",n)&&r("object",n)),DMe=e=>bh(e)&&e.classes.includes("boolean-json-schema"),FMe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof zh||e(n)&&t("securityRequirement",n)&&r("object",n)),LMe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof qh||e(n)&&t("securityScheme",n)&&r("object",n)),BMe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Wh||e(n)&&t("server",n)&&r("object",n)),UMe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Kh||e(n)&&t("serverVariable",n)&&r("object",n)),_1=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ih||e(n)&&t("mediaType",n)&&r("object",n)),B8=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:n})=>i=>i instanceof Ed||e(i)&&t("array",i)&&r("array",i)&&n("servers",i)),VMe=Object.freeze(Object.defineProperty({__proto__:null,isBooleanJsonSchemaElement:DMe,isCallbackElement:wMe,isComponentsElement:_Me,isContactElement:xMe,isExampleElement:AMe,isExternalDocumentationElement:OMe,isHeaderElement:_f,isInfoElement:CMe,isLicenseElement:$Me,isLinkElement:kMe,isMediaTypeElement:_1,isOpenApi3_0Element:PMe,isOpenapiElement:TMe,isOperationElement:L8,isParameterElement:RMe,isPathItemElement:eC,isPathsElement:IMe,isReferenceElement:gr,isRequestBodyElement:NMe,isResponseElement:w1,isResponsesElement:jMe,isSchemaElement:MMe,isSecurityRequirementElement:FMe,isSecuritySchemeElement:LMe,isServerElement:BMe,isServerVariableElement:UMe,isServersElement:B8},Symbol.toStringTag,{value:"Module"}));let zMe=class extends st(bo,Je){constructor(t){super(t),this.alternator=[{predicate:wr,specPath:["document","objects","Reference"]},{predicate:na,specPath:["document","objects","Schema"]}]}ObjectElement(t){const r=bo.prototype.enter.call(this,t);return gr(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}};const qMe=zMe;let tC=class extends st(Dt,Je){constructor(t){super(t),this.element=new et,this.element.classes.push("examples"),this.specPath=r=>wr(r)?["document","objects","Reference"]:["document","objects","Example"],this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=Dt.prototype.ObjectElement.call(this,t);return this.element.filter(gr).forEach(n=>{n.setMetaProperty("referenced-element","example")}),r}},WMe=class extends tC{constructor(t){super(t),this.element=new dx}};const KMe=WMe;let HMe=class extends st(Dt,Je){constructor(t){super(t),this.element=new hx,this.specPath=Ot(["document","objects","Encoding"])}};const JMe=HMe;let GMe=class extends st(Dt,Je){constructor(t){super(t),this.element=new zh,this.specPath=Ot(["value"])}};const YMe=GMe;let XMe=class extends st(ni,Je){constructor(t){super(t),this.element=new Y_}ArrayElement(t){return t.forEach(r=>{if(Zt(r)){const n=this.toRefractedElement(["document","objects","SecurityRequirement"],r);this.element.push(n)}else this.element.push(Ge(r))}),this.copyMetaAndAttributes(t,this.element),qt}};const QMe=XMe;let ZMe=class extends st(Bt,Je){constructor(t){super(t),this.element=new Oh,this.specPath=Ot(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}};const e3e=ZMe;let t3e=class extends st(Bt,Je){constructor(t){super(t),this.element=new E1,this.specPath=Ot(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}};const r3e=t3e;let n3e=class extends st(Bt,Je){constructor(t){super(t),this.element=new Fh,this.specPath=Ot(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(t){const r=Bt.prototype.ObjectElement.call(this,t);return Ft(this.element.$ref)&&this.element.classes.push("reference-element"),r}};const i3e=n3e;let s3e=class extends Je{StringElement(t){const r=super.enter(t);return this.element.classes.push("reference-value"),r}};const o3e=s3e;let a3e=class extends st(Bt,Je){constructor(t){super(t),this.element=new wf,this.specPath=Ot(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=Bt.prototype.ObjectElement.call(this,t);return Zt(this.element.contentProp)&&this.element.contentProp.filter(_1).forEach((n,i)=>{n.setMetaProperty("media-type",De(i))}),r}};const l3e=a3e;let u3e=class extends st(bo,Je){constructor(t){super(t),this.alternator=[{predicate:wr,specPath:["document","objects","Reference"]},{predicate:na,specPath:["document","objects","Schema"]}]}ObjectElement(t){const r=bo.prototype.enter.call(this,t);return gr(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}};const c3e=u3e;let f3e=class extends st(Bt,Je){constructor(t){super(t),this.element=new Sf,this.specPath=Ot(["document","objects","Header"]),this.canSupportSpecificationExtensions=!0}};const p3e=f3e;let d3e=class extends st(bo,Je){constructor(t){super(t),this.alternator=[{predicate:wr,specPath:["document","objects","Reference"]},{predicate:na,specPath:["document","objects","Schema"]}]}ObjectElement(t){const r=bo.prototype.enter.call(this,t);return gr(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}};const h3e=d3e;let m3e=class extends tC{constructor(t){super(t),this.element=new wx}};const g3e=m3e;let x1=class extends st(Dt,Je){constructor(t){super(t),this.element=new et,this.element.classes.push("content"),this.specPath=Ot(["document","objects","MediaType"])}},y3e=class extends x1{constructor(t){super(t),this.element=new _x}};const v3e=y3e;let b3e=class extends st(Bt,Je){constructor(t){super(t),this.element=new b1,this.specPath=Ot(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}};const E3e=b3e,{allOf:hj}=fa.visitors.document.objects.JSONSchema.fixedFields,S3e=hj.compose({methods:{ArrayElement(e){const t=hj.compose.methods.ArrayElement.call(this,e);return this.element.filter(gr).forEach(r=>{r.setMetaProperty("referenced-element","schema")}),t}}}),w3e=S3e,{anyOf:mj}=fa.visitors.document.objects.JSONSchema.fixedFields,_3e=mj.compose({methods:{ArrayElement(e){const t=mj.compose.methods.ArrayElement.call(this,e);return this.element.filter(gr).forEach(r=>{r.setMetaProperty("referenced-element","schema")}),t}}}),x3e=_3e,{oneOf:gj}=fa.visitors.document.objects.JSONSchema.fixedFields,A3e=gj.compose({methods:{ArrayElement(e){const t=gj.compose.methods.ArrayElement.call(this,e);return this.element.filter(gr).forEach(r=>{r.setMetaProperty("referenced-element","schema")}),t}}}),O3e=A3e,{items:yj}=fa.visitors.document.objects.JSONSchema.fixedFields,C3e=yj.compose({methods:{ObjectElement(e){const t=yj.compose.methods.ObjectElement.call(this,e);return gr(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){return this.element=Ge(e),qt}}}),$3e=C3e,{properties:vj}=fa.visitors.document.objects.JSONSchema.fixedFields,k3e=vj.compose({methods:{ObjectElement(e){const t=vj.compose.methods.ObjectElement.call(this,e);return this.element.filter(gr).forEach(r=>{r.setMetaProperty("referenced-element","schema")}),t}}}),T3e=k3e,{type:P3e}=fa.visitors.document.objects.JSONSchema.fixedFields,R3e=P3e.compose({methods:{ArrayElement(e){return this.element=Ge(e),qt}}}),I3e=R3e,{JSONSchemaOrJSONReferenceVisitor:bj}=fa.visitors,N3e=bj.compose({methods:{ObjectElement(e){const t=bj.compose.methods.enter.call(this,e);return gr(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Ej=N3e;let j3e=class extends st(Bt,Je){constructor(t){super(t),this.element=new u1,this.specPath=Ot(["document","objects","Discriminator"]),this.canSupportSpecificationExtensions=!1}};const M3e=j3e;class D3e extends st(Dt,Je){constructor(t){super(t),this.element=new bx,this.specPath=Ot(["value"])}}const F3e=D3e;let L3e=class extends st(Bt,Je){constructor(t){super(t),this.element=new S1,this.specPath=Ot(["document","objects","XML"]),this.canSupportSpecificationExtensions=!0}};const B3e=L3e;let U3e=class extends tC{constructor(t){super(t),this.element=new lx}};const V3e=U3e;let z3e=class extends x1{constructor(t){super(t),this.element=new ux}};const q3e=z3e;let W3e=class extends st(Dt,Je){constructor(t){super(t),this.element=new sv,this.specPath=r=>wr(r)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(t){const r=Dt.prototype.ObjectElement.call(this,t);return this.element.filter(gr).forEach(n=>{n.setMetaProperty("referenced-element","schema")}),r}};const K3e=W3e;let H3e=class extends st(Dt,Je){constructor(t){super(t),this.element=new Z_,this.specPath=r=>wr(r)?["document","objects","Reference"]:["document","objects","Response"]}ObjectElement(t){const r=Dt.prototype.ObjectElement.call(this,t);return this.element.filter(gr).forEach(n=>{n.setMetaProperty("referenced-element","response")}),this.element.filter(w1).forEach((n,i)=>{n.setMetaProperty("http-status-code",De(i))}),r}};const J3e=H3e;let G3e=class extends st(Dt,Je){constructor(t){super(t),this.element=new ex,this.specPath=r=>wr(r)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(t){const r=Dt.prototype.ObjectElement.call(this,t);return this.element.filter(gr).forEach(n=>{n.setMetaProperty("referenced-element","parameter")}),r}};const Y3e=G3e;let X3e=class extends st(Dt,Je){constructor(t){super(t),this.element=new tx,this.specPath=r=>wr(r)?["document","objects","Reference"]:["document","objects","Example"]}ObjectElement(t){const r=Dt.prototype.ObjectElement.call(this,t);return this.element.filter(gr).forEach(n=>{n.setMetaProperty("referenced-element","example")}),r}};const Q3e=X3e;class Z3e extends st(Dt,Je){constructor(t){super(t),this.element=new rx,this.specPath=r=>wr(r)?["document","objects","Reference"]:["document","objects","RequestBody"]}ObjectElement(t){const r=Dt.prototype.ObjectElement.call(this,t);return this.element.filter(gr).forEach(n=>{n.setMetaProperty("referenced-element","requestBody")}),r}}const eDe=Z3e;let tDe=class extends st(Dt,Je){constructor(t){super(t),this.element=new nx,this.specPath=r=>wr(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(t){const r=Dt.prototype.ObjectElement.call(this,t);return this.element.filter(gr).forEach(n=>{n.setMetaProperty("referenced-element","header")}),this.element.filter(_f).forEach((n,i)=>{n.setMetaProperty("header-name",De(i))}),r}};const rDe=tDe;class nDe extends st(Dt,Je){constructor(t){super(t),this.element=new ix,this.specPath=r=>wr(r)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(t){const r=Dt.prototype.ObjectElement.call(this,t);return this.element.filter(gr).forEach(n=>{n.setMetaProperty("referenced-element","securityScheme")}),r}}const iDe=nDe;let sDe=class extends st(Dt,Je){constructor(t){super(t),this.element=new sx,this.specPath=r=>wr(r)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(t){const r=Dt.prototype.ObjectElement.call(this,t);return this.element.filter(gr).forEach(n=>{n.setMetaProperty("referenced-element","link")}),r}};const oDe=sDe;let aDe=class extends st(Dt,Je){constructor(t){super(t),this.element=new ox,this.specPath=r=>wr(r)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(t){const r=Dt.prototype.ObjectElement.call(this,t);return this.element.filter(gr).forEach(n=>{n.setMetaProperty("referenced-element","callback")}),r}};const lDe=aDe;let uDe=class extends st(Bt,Je){constructor(t){super(t),this.element=new $h,this.specPath=Ot(["document","objects","Example"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=Bt.prototype.ObjectElement.call(this,t);return Ft(this.element.externalValue)&&this.element.classes.push("reference-element"),r}};const cDe=uDe;class fDe extends Je{StringElement(t){const r=super.enter(t);return this.element.classes.push("reference-value"),r}}const pDe=fDe;let dDe=class extends st(Bt,Je){constructor(t){super(t),this.element=new kh,this.specPath=Ot(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}};const hDe=dDe;let mDe=class extends st(Bt,Je){constructor(t){super(t),this.element=new c1,this.specPath=Ot(["document","objects","Encoding"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=Bt.prototype.ObjectElement.call(this,t);return Zt(this.element.headers)&&this.element.headers.filter(_f).forEach((n,i)=>{n.setMetaProperty("header-name",De(i))}),r}};const gDe=mDe;let yDe=class extends st(Dt,Je){constructor(t){super(t),this.element=new mx,this.specPath=r=>wr(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(t){const r=Dt.prototype.ObjectElement.call(this,t);return this.element.filter(gr).forEach(n=>{n.setMetaProperty("referenced-element","header")}),this.element.forEach((n,i)=>{if(!_f(n))return;const s=De(i);n.setMetaProperty("headerName",s)}),r}};const vDe=yDe;let bDe=class extends st(qc,Je){constructor(t){super(t),this.element=new Dh,this.specPath=Ot(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=na}ObjectElement(t){const r=qc.prototype.ObjectElement.call(this,t);return this.element.filter(eC).forEach((n,i)=>{i.classes.push("openapi-path-template"),i.classes.push("path-template"),n.setMetaProperty("path",Ge(i))}),r}};const EDe=bDe;let SDe=class extends st(Bt,Je){constructor(t){super(t),this.element=new Lh,this.specPath=Ot(["document","objects","RequestBody"])}ObjectElement(t){const r=Bt.prototype.ObjectElement.call(this,t);return Zt(this.element.contentProp)&&this.element.contentProp.filter(_1).forEach((n,i)=>{n.setMetaProperty("media-type",De(i))}),r}};const wDe=SDe;let _De=class extends x1{constructor(t){super(t),this.element=new px}};const xDe=_De;let ADe=class extends st(qc,Je){constructor(t){super(t),this.element=new Ah,this.specPath=Ot(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=r=>/{(?[^}]{1,2083})}/.test(String(r))}ObjectElement(t){const r=Dt.prototype.ObjectElement.call(this,t);return this.element.filter(eC).forEach((n,i)=>{n.setMetaProperty("runtime-expression",De(i))}),r}};const ODe=ADe;let CDe=class extends st(Bt,Je){constructor(t){super(t),this.element=new Bh,this.specPath=Ot(["document","objects","Response"])}ObjectElement(t){const r=Bt.prototype.ObjectElement.call(this,t);return Zt(this.element.contentProp)&&this.element.contentProp.filter(_1).forEach((n,i)=>{n.setMetaProperty("media-type",De(i))}),Zt(this.element.headers)&&this.element.headers.filter(_f).forEach((n,i)=>{n.setMetaProperty("header-name",De(i))}),r}};const $De=CDe;class kDe extends st(Dt,Je){constructor(t){super(t),this.element=new gx,this.specPath=r=>wr(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(t){const r=Dt.prototype.ObjectElement.call(this,t);return this.element.filter(gr).forEach(n=>{n.setMetaProperty("referenced-element","header")}),this.element.forEach((n,i)=>{if(!_f(n))return;const s=De(i);n.setMetaProperty("header-name",s)}),r}}const TDe=kDe;class PDe extends x1{constructor(t){super(t),this.element=new yx}}const RDe=PDe;class IDe extends st(Dt,Je){constructor(t){super(t),this.element=new vx,this.specPath=r=>wr(r)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(t){const r=Dt.prototype.ObjectElement.call(this,t);return this.element.filter(gr).forEach(n=>{n.setMetaProperty("referenced-element","link")}),r}}const NDe=IDe;class Sj extends st(Bt,qc){constructor({specPathFixedFields:r,specPathPatternedFields:n,...i}){super({...i});ie(this,"specPathFixedFields");ie(this,"specPathPatternedFields");this.specPathFixedFields=r,this.specPathPatternedFields=n}ObjectElement(r){const{specPath:n,ignoredFields:i}=this;try{this.specPath=this.specPathFixedFields;const s=this.retrieveFixedFields(this.specPath(r));this.ignoredFields=[...i,...Ewe(r.keys(),s)],Bt.prototype.ObjectElement.call(this,r),this.specPath=this.specPathPatternedFields,this.ignoredFields=s,qc.prototype.ObjectElement.call(this,r)}catch(s){throw this.specPath=n,s}return qt}}let jDe=class extends st(Sj,Je){constructor(t){super(t),this.element=new Uh,this.specPathFixedFields=Ot(["document","objects","Responses"]),this.canSupportSpecificationExtensions=!0,this.specPathPatternedFields=r=>wr(r)?["document","objects","Reference"]:["document","objects","Response"],this.fieldPatternPredicate=r=>new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${t_e(100,600).join("|")})$`).test(String(r))}ObjectElement(t){const r=Sj.prototype.ObjectElement.call(this,t);return this.element.filter(gr).forEach(n=>{n.setMetaProperty("referenced-element","response")}),this.element.filter(w1).forEach((n,i)=>{const s=Ge(i);this.fieldPatternPredicate(De(s))&&n.setMetaProperty("http-status-code",s)}),r}};const MDe=jDe;class DDe extends st(bo,Je){constructor(t){super(t),this.alternator=[{predicate:wr,specPath:["document","objects","Reference"]},{predicate:na,specPath:["document","objects","Response"]}]}ObjectElement(t){const r=bo.prototype.enter.call(this,t);return gr(this.element)?this.element.setMetaProperty("referenced-element","response"):w1(this.element)&&this.element.setMetaProperty("http-status-code","default"),r}}const FDe=DDe;let LDe=class extends st(Bt,Je){constructor(t){super(t),this.element=new jh,this.specPath=Ot(["document","objects","Operation"])}};const BDe=LDe;let UDe=class extends Je{constructor(t){super(t),this.element=new cx}ArrayElement(t){return this.element=this.element.concat(Ge(t)),qt}};const VDe=UDe;let U8=class extends st(ni,Je){constructor(t){super(t),this.element=new mr,this.element.classes.push("parameters")}ArrayElement(t){return t.forEach(r=>{const n=wr(r)?["document","objects","Reference"]:["document","objects","Parameter"],i=this.toRefractedElement(n,r);gr(i)&&i.setMetaProperty("referenced-element","parameter"),this.element.push(i)}),this.copyMetaAndAttributes(t,this.element),qt}},zDe=class extends U8{constructor(t){super(t),this.element=new av}};const qDe=zDe;let WDe=class extends bo{constructor(t){super(t),this.alternator=[{predicate:wr,specPath:["document","objects","Reference"]},{predicate:na,specPath:["document","objects","RequestBody"]}]}ObjectElement(t){const r=bo.prototype.enter.call(this,t);return gr(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),r}};const KDe=WDe;class HDe extends st(Dt,Je){constructor(r){super(r);ie(this,"specPath");this.element=new fx,this.specPath=n=>wr(n)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(r){const n=Dt.prototype.ObjectElement.call(this,r);return this.element.filter(gr).forEach(i=>{i.setMetaProperty("referenced-element","callback")}),n}}const JDe=HDe;class GDe extends st(ni,Je){constructor(t){super(t),this.element=new lv}ArrayElement(t){return t.forEach(r=>{const n=Zt(r)?["document","objects","SecurityRequirement"]:["value"],i=this.toRefractedElement(n,r);this.element.push(i)}),this.copyMetaAndAttributes(t,this.element),qt}}const YDe=GDe;let XDe=class extends ZO{constructor(t){super(t),this.element=new uv}};const QDe=XDe;let ZDe=class extends st(Bt,Je){constructor(t){super(t),this.element=new Mh,this.specPath=Ot(["document","objects","PathItem"])}ObjectElement(t){const r=Bt.prototype.ObjectElement.call(this,t);return this.element.filter(L8).forEach((n,i)=>{const s=Ge(i);s.content=De(s).toUpperCase(),n.setMetaProperty("http-method",s)}),Ft(this.element.$ref)&&this.element.classes.push("reference-element"),r}};const eFe=ZDe;class tFe extends Je{StringElement(t){const r=super.enter(t);return this.element.classes.push("reference-value"),r}}const rFe=tFe;class nFe extends ZO{constructor(t){super(t),this.element=new ov}}const iFe=nFe;class sFe extends U8{constructor(t){super(t),this.element=new ax}}const oFe=sFe;let aFe=class extends st(Bt,Je){constructor(t){super(t),this.element=new qh,this.specPath=Ot(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}};const lFe=aFe;let uFe=class extends st(Bt,Je){constructor(t){super(t),this.element=new p1,this.specPath=Ot(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}};const cFe=uFe;let fFe=class extends st(Bt,Je){constructor(t){super(t),this.element=new f1,this.specPath=Ot(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}};const pFe=fFe;class dFe extends st(Dt,Je){constructor(t){super(t),this.element=new Ex,this.specPath=Ot(["value"])}}const hFe=dFe;class mFe extends st(ni,Je){constructor(t){super(t),this.element=new X_}ArrayElement(t){return t.forEach(r=>{const n=Vje(r)?["document","objects","Tag"]:["value"],i=this.toRefractedElement(n,r);this.element.push(i)}),this.copyMetaAndAttributes(t,this.element),qt}}const gFe=mFe,{fixedFields:sn}=fa.visitors.document.objects.JSONSchema,yFe={visitors:{value:Je,document:{objects:{OpenApi:{$visitor:qje,fixedFields:{openapi:Kje,info:{$ref:"#/visitors/document/objects/Info"},servers:ZO,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:QMe,tags:gFe,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:Yje,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:Qje}},Contact:{$visitor:eMe,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:rMe,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Server:{$visitor:pMe,fixedFields:{url:hMe,description:{$ref:"#/visitors/value"},variables:bMe}},ServerVariable:{$visitor:yMe,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},Components:{$visitor:e3e,fixedFields:{schemas:K3e,responses:J3e,parameters:Y3e,examples:Q3e,requestBodies:eDe,headers:rDe,securitySchemes:iDe,links:oDe,callbacks:lDe}},Paths:{$visitor:EDe},PathItem:{$visitor:eFe,fixedFields:{$ref:rFe,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:iFe,parameters:oFe}},Operation:{$visitor:BDe,fixedFields:{tags:VDe,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:{$ref:"#/visitors/value"},parameters:qDe,requestBody:KDe,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:JDe,deprecated:{$ref:"#/visitors/value"},security:YDe,servers:QDe}},ExternalDocumentation:{$visitor:hDe,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Parameter:{$visitor:l3e,fixedFields:{name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},allowEmptyValue:{$ref:"#/visitors/value"},style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"},schema:c3e,example:{$ref:"#/visitors/value"},examples:V3e,content:q3e}},RequestBody:{$visitor:wDe,fixedFields:{description:{$ref:"#/visitors/value"},content:xDe,required:{$ref:"#/visitors/value"}}},MediaType:{$visitor:SMe,fixedFields:{schema:qMe,example:{$ref:"#/visitors/value"},examples:KMe,encoding:JMe}},Encoding:{$visitor:gDe,fixedFields:{contentType:{$ref:"#/visitors/value"},headers:vDe,style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"}}},Responses:{$visitor:MDe,fixedFields:{default:FDe}},Response:{$visitor:$De,fixedFields:{description:{$ref:"#/visitors/value"},headers:TDe,content:RDe,links:NDe}},Callback:{$visitor:ODe},Example:{$visitor:cDe,fixedFields:{summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},value:{$ref:"#/visitors/value"},externalValue:pDe}},Link:{$visitor:iMe,fixedFields:{operationRef:oMe,operationId:lMe,parameters:cMe,requestBody:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:p3e,fixedFields:{description:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},allowEmptyValue:{$ref:"#/visitors/value"},style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"},schema:h3e,example:{$ref:"#/visitors/value"},examples:g3e,content:v3e}},Tag:{$visitor:r3e,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:i3e,fixedFields:{$ref:o3e}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Schema:{$visitor:E3e,fixedFields:{title:sn.title,multipleOf:sn.multipleOf,maximum:sn.maximum,exclusiveMaximum:sn.exclusiveMaximum,minimum:sn.minimum,exclusiveMinimum:sn.exclusiveMinimum,maxLength:sn.maxLength,minLength:sn.minLength,pattern:sn.pattern,maxItems:sn.maxItems,minItems:sn.minItems,uniqueItems:sn.uniqueItems,maxProperties:sn.maxProperties,minProperties:sn.minProperties,required:sn.required,enum:sn.enum,type:I3e,allOf:w3e,anyOf:x3e,oneOf:O3e,not:Ej,items:$3e,properties:T3e,additionalProperties:Ej,description:sn.description,format:sn.format,default:sn.default,nullable:{$ref:"#/visitors/value"},discriminator:{$ref:"#/visitors/document/objects/Discriminator"},writeOnly:{$ref:"#/visitors/value"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"}}},Discriminator:{$visitor:M3e,fixedFields:{propertyName:{$ref:"#/visitors/value"},mapping:F3e}},XML:{$visitor:B3e,fixedFields:{name:{$ref:"#/visitors/value"},namespace:{$ref:"#/visitors/value"},prefix:{$ref:"#/visitors/value"},attribute:{$ref:"#/visitors/value"},wrapped:{$ref:"#/visitors/value"}}},SecurityScheme:{$visitor:lFe,fixedFields:{type:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},scheme:{$ref:"#/visitors/value"},bearerFormat:{$ref:"#/visitors/value"},flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:{$ref:"#/visitors/value"}}},OAuthFlows:{$visitor:cFe,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:pFe,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:hFe}},SecurityRequirement:{$visitor:YMe}},extension:{$visitor:Jje}}}},$e=yFe,vFe=()=>{const e=hf(Tje);return{predicates:{...VMe,isElement:un,isStringElement:Ft,isArrayElement:Ni,isObjectElement:Zt,isMemberElement:mi,includesClasses:Ac,hasElementSourceMap:Eh},namespace:e}},bFe=vFe,EFe=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=kO(e),i=t1($e),s=Gn(t,i),o=new s({specObj:i});return $n(n,o),Sh(o.element,r,{toolboxCreator:bFe,visitorOptions:{keyMap:Rje,nodeTypeGetter:Pje}})},ir=e=>(t,r={})=>EFe(t,{specPath:e,...r});Ah.refract=ir(["visitors","document","objects","Callback","$visitor"]);Oh.refract=ir(["visitors","document","objects","Components","$visitor"]);Ch.refract=ir(["visitors","document","objects","Contact","$visitor"]);$h.refract=ir(["visitors","document","objects","Example","$visitor"]);u1.refract=ir(["visitors","document","objects","Discriminator","$visitor"]);c1.refract=ir(["visitors","document","objects","Encoding","$visitor"]);kh.refract=ir(["visitors","document","objects","ExternalDocumentation","$visitor"]);Sf.refract=ir(["visitors","document","objects","Header","$visitor"]);Th.refract=ir(["visitors","document","objects","Info","$visitor"]);Ph.refract=ir(["visitors","document","objects","License","$visitor"]);Rh.refract=ir(["visitors","document","objects","Link","$visitor"]);Ih.refract=ir(["visitors","document","objects","MediaType","$visitor"]);f1.refract=ir(["visitors","document","objects","OAuthFlow","$visitor"]);p1.refract=ir(["visitors","document","objects","OAuthFlows","$visitor"]);Nh.refract=ir(["visitors","document","objects","OpenApi","fixedFields","openapi"]);d1.refract=ir(["visitors","document","objects","OpenApi","$visitor"]);jh.refract=ir(["visitors","document","objects","Operation","$visitor"]);wf.refract=ir(["visitors","document","objects","Parameter","$visitor"]);Mh.refract=ir(["visitors","document","objects","PathItem","$visitor"]);Dh.refract=ir(["visitors","document","objects","Paths","$visitor"]);Fh.refract=ir(["visitors","document","objects","Reference","$visitor"]);Lh.refract=ir(["visitors","document","objects","RequestBody","$visitor"]);Bh.refract=ir(["visitors","document","objects","Response","$visitor"]);Uh.refract=ir(["visitors","document","objects","Responses","$visitor"]);b1.refract=ir(["visitors","document","objects","Schema","$visitor"]);zh.refract=ir(["visitors","document","objects","SecurityRequirement","$visitor"]);qh.refract=ir(["visitors","document","objects","SecurityScheme","$visitor"]);Wh.refract=ir(["visitors","document","objects","Server","$visitor"]);Kh.refract=ir(["visitors","document","objects","ServerVariable","$visitor"]);E1.refract=ir(["visitors","document","objects","Tag","$visitor"]);S1.refract=ir(["visitors","document","objects","XML","$visitor"]);class A1 extends Ah{}class O1 extends Oh{get pathItems(){return this.get("pathItems")}set pathItems(t){this.set("pathItems",t)}}class C1 extends Ch{}class rC extends u1{}class nC extends c1{}class $1 extends $h{}class k1 extends kh{}class T1 extends Sf{get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}}class P1 extends Th{get license(){return this.get("license")}set license(t){this.set("license",t)}get summary(){return this.get("summary")}set summary(t){this.set("summary",t)}}const v0=class v0 extends Wo{constructor(t,r,n){super(t,r,n),this.element="jsonSchemaDialect"}};ie(v0,"default",new v0("https://spec.openapis.org/oas/3.1/dialect/base"));let su=v0;class R1 extends Ph{get identifier(){return this.get("identifier")}set identifier(t){this.set("identifier",t)}}class I1 extends Rh{}class N1 extends Ih{get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}}class iC extends f1{}class sC extends p1{}class oC extends Nh{}class SFe extends et{constructor(t,r,n){super(t,r,n),this.element="openApi3_1",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(t){this.set("openapi",t)}get info(){return this.get("info")}set info(t){this.set("info",t)}get jsonSchemaDialect(){return this.get("jsonSchemaDialect")}set jsonSchemaDialect(t){this.set("jsonSchemaDialect",t)}get servers(){return this.get("servers")}set servers(t){this.set("servers",t)}get paths(){return this.get("paths")}set paths(t){this.set("paths",t)}get components(){return this.get("components")}set components(t){this.set("components",t)}get security(){return this.get("security")}set security(t){this.set("security",t)}get tags(){return this.get("tags")}set tags(t){this.set("tags",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}get webhooks(){return this.get("webhooks")}set webhooks(t){this.set("webhooks",t)}}const al=SFe;class Hh extends jh{get requestBody(){return this.get("requestBody")}set requestBody(t){this.set("requestBody",t)}}class j1 extends wf{get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}}class po extends Mh{get GET(){return this.get("get")}set GET(t){this.set("GET",t)}get PUT(){return this.get("put")}set PUT(t){this.set("PUT",t)}get POST(){return this.get("post")}set POST(t){this.set("POST",t)}get DELETE(){return this.get("delete")}set DELETE(t){this.set("DELETE",t)}get OPTIONS(){return this.get("options")}set OPTIONS(t){this.set("OPTIONS",t)}get HEAD(){return this.get("head")}set HEAD(t){this.set("HEAD",t)}get PATCH(){return this.get("patch")}set PATCH(t){this.set("PATCH",t)}get TRACE(){return this.get("trace")}set TRACE(t){this.set("TRACE",t)}}class M1 extends Dh{}class Eo extends Fh{}Object.defineProperty(Eo.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});Object.defineProperty(Eo.prototype,"summary",{get(){return this.get("summary")},set(e){this.set("summary",e)},enumerable:!0});class D1 extends Lh{}let F1=class extends Bh{};class L1 extends Uh{}class wFe extends et{constructor(t,r,n){super(t,r,n),this.element="schema"}get $schema(){return this.get("$schema")}set $schema(t){this.set("$schema",t)}get $vocabulary(){return this.get("$vocabulary")}set $vocabulary(t){this.set("$vocabulary",t)}get $id(){return this.get("$id")}set $id(t){this.set("$id",t)}get $anchor(){return this.get("$anchor")}set $anchor(t){this.set("$anchor",t)}get $dynamicAnchor(){return this.get("$dynamicAnchor")}set $dynamicAnchor(t){this.set("$dynamicAnchor",t)}get $dynamicRef(){return this.get("$dynamicRef")}set $dynamicRef(t){this.set("$dynamicRef",t)}get $ref(){return this.get("$ref")}set $ref(t){this.set("$ref",t)}get $defs(){return this.get("$defs")}set $defs(t){this.set("$defs",t)}get $comment(){return this.get("$comment")}set $comment(t){this.set("$comment",t)}get allOf(){return this.get("allOf")}set allOf(t){this.set("allOf",t)}get anyOf(){return this.get("anyOf")}set anyOf(t){this.set("anyOf",t)}get oneOf(){return this.get("oneOf")}set oneOf(t){this.set("oneOf",t)}get not(){return this.get("not")}set not(t){this.set("not",t)}get if(){return this.get("if")}set if(t){this.set("if",t)}get then(){return this.get("then")}set then(t){this.set("then",t)}get else(){return this.get("else")}set else(t){this.set("else",t)}get dependentSchemas(){return this.get("dependentSchemas")}set dependentSchemas(t){this.set("dependentSchemas",t)}get prefixItems(){return this.get("prefixItems")}set prefixItems(t){this.set("prefixItems",t)}get items(){return this.get("items")}set items(t){this.set("items",t)}get containsProp(){return this.get("contains")}set containsProp(t){this.set("contains",t)}get properties(){return this.get("properties")}set properties(t){this.set("properties",t)}get patternProperties(){return this.get("patternProperties")}set patternProperties(t){this.set("patternProperties",t)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(t){this.set("additionalProperties",t)}get propertyNames(){return this.get("propertyNames")}set propertyNames(t){this.set("propertyNames",t)}get unevaluatedItems(){return this.get("unevaluatedItems")}set unevaluatedItems(t){this.set("unevaluatedItems",t)}get unevaluatedProperties(){return this.get("unevaluatedProperties")}set unevaluatedProperties(t){this.set("unevaluatedProperties",t)}get type(){return this.get("type")}set type(t){this.set("type",t)}get enum(){return this.get("enum")}set enum(t){this.set("enum",t)}get const(){return this.get("const")}set const(t){this.set("const",t)}get multipleOf(){return this.get("multipleOf")}set multipleOf(t){this.set("multipleOf",t)}get maximum(){return this.get("maximum")}set maximum(t){this.set("maximum",t)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(t){this.set("exclusiveMaximum",t)}get minimum(){return this.get("minimum")}set minimum(t){this.set("minimum",t)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(t){this.set("exclusiveMinimum",t)}get maxLength(){return this.get("maxLength")}set maxLength(t){this.set("maxLength",t)}get minLength(){return this.get("minLength")}set minLength(t){this.set("minLength",t)}get pattern(){return this.get("pattern")}set pattern(t){this.set("pattern",t)}get maxItems(){return this.get("maxItems")}set maxItems(t){this.set("maxItems",t)}get minItems(){return this.get("minItems")}set minItems(t){this.set("minItems",t)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(t){this.set("uniqueItems",t)}get maxContains(){return this.get("maxContains")}set maxContains(t){this.set("maxContains",t)}get minContains(){return this.get("minContains")}set minContains(t){this.set("minContains",t)}get maxProperties(){return this.get("maxProperties")}set maxProperties(t){this.set("maxProperties",t)}get minProperties(){return this.get("minProperties")}set minProperties(t){this.set("minProperties",t)}get required(){return this.get("required")}set required(t){this.set("required",t)}get dependentRequired(){return this.get("dependentRequired")}set dependentRequired(t){this.set("dependentRequired",t)}get title(){return this.get("title")}set title(t){this.set("title",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get default(){return this.get("default")}set default(t){this.set("default",t)}get deprecated(){return this.get("deprecated")}set deprecated(t){this.set("deprecated",t)}get readOnly(){return this.get("readOnly")}set readOnly(t){this.set("readOnly",t)}get writeOnly(){return this.get("writeOnly")}set writeOnly(t){this.set("writeOnly",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get format(){return this.get("format")}set format(t){this.set("format",t)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(t){this.set("contentEncoding",t)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(t){this.set("contentMediaType",t)}get contentSchema(){return this.get("contentSchema")}set contentSchema(t){this.set("contentSchema",t)}get discriminator(){return this.get("discriminator")}set discriminator(t){this.set("discriminator",t)}get xml(){return this.get("xml")}set xml(t){this.set("xml",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}}const Jo=wFe;class B1 extends zh{}class U1 extends qh{}class V1 extends Wh{}class z1 extends Kh{}class aC extends E1{}class lC extends S1{}const _Fe={namespace:e=>{const{base:t}=e;return t.register("callback",A1),t.register("components",O1),t.register("contact",C1),t.register("discriminator",rC),t.register("encoding",nC),t.register("example",$1),t.register("externalDocumentation",k1),t.register("header",T1),t.register("info",P1),t.register("jsonSchemaDialect",su),t.register("license",R1),t.register("link",I1),t.register("mediaType",N1),t.register("oAuthFlow",iC),t.register("oAuthFlows",sC),t.register("openapi",oC),t.register("openApi3_1",al),t.register("operation",Hh),t.register("parameter",j1),t.register("pathItem",po),t.register("paths",M1),t.register("reference",Eo),t.register("requestBody",D1),t.register("response",F1),t.register("responses",L1),t.register("schema",Jo),t.register("securityRequirement",B1),t.register("securityScheme",U1),t.register("server",V1),t.register("serverVariable",z1),t.register("tag",aC),t.register("xml",lC),t}},q1=_Fe,b0=class b0 extends et{constructor(t,r,n){super(t,r,n),this.classes.push(b0.primaryClass)}};ie(b0,"primaryClass","components-path-items");let Ax=b0;const E0=class E0 extends et{constructor(t,r,n){super(t,r,n),this.classes.push(E0.primaryClass)}};ie(E0,"primaryClass","webhooks");let Ox=E0;const Yn=e=>{if(un(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},gi={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_1Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...gf},xFe=()=>({predicates:e})=>{const t=(n,i)=>!e.isParameterElement(n)||!e.isParameterElement(i)||!e.isStringElement(n.name)||!e.isStringElement(n.in)||!e.isStringElement(i.name)||!e.isStringElement(i.in)?!1:De(n.name)===De(i.name)&&De(n.in)===De(i.in),r=[];return{visitor:{PathItemElement:{enter(n,i,s,o,l){if(l.some(e.isComponentsElement))return;const{parameters:c}=n;e.isArrayElement(c)?r.push([...c.content]):r.push([])},leave(){r.pop()}},OperationElement:{leave(n){const i=K0(r);if(!Array.isArray(i)||i.length===0)return;const s=aB([],["parameters","content"],n),o=u_e(t,[...s,...i]);n.parameters=new av(o)}}}}},AFe=()=>({predicates:e})=>{let t;return{visitor:{OpenApi3_1Element:{enter(r){e.isArrayElement(r.security)&&(t=r.security)},leave(){t=void 0}},OperationElement:{leave(r,n,i,s,o){if(o.some(e.isComponentsElement))return;if(typeof r.security>"u"&&typeof t<"u"){var h;r.security=new lv((h=t)===null||h===void 0?void 0:h.content)}}}}}},OFe=()=>({predicates:e,namespace:t})=>({visitor:{OpenApi3_1Element(r){const n=typeof r.servers>"u",i=e.isArrayElement(r.servers),s=i&&r.servers.length===0,o=t.elements.Server.refract({url:"/"});n||!i?r.servers=new Ed([o]):i&&s&&r.servers.push(o)},PathItemElement(r,n,i,s,o){if(o.some(e.isComponentsElement)||!o.some(e.isOpenApi3_1Element))return;const l=o.find(e.isOpenApi3_1Element),c=typeof r.servers>"u",h=e.isArrayElement(r.servers),v=h&&r.servers.length===0;if(e.isOpenApi3_1Element(l)){var y;const S=(y=l.servers)===null||y===void 0?void 0:y.content,b=S??[];c||!h?r.servers=new ov(b):h&&v&&b.forEach(_=>{r.servers.push(_)})}},OperationElement(r,n,i,s,o){if(o.some(e.isComponentsElement)||!o.some(e.isOpenApi3_1Element))return;const l=[...o].reverse().find(e.isPathItemElement),c=typeof r.servers>"u",h=e.isArrayElement(r.servers),v=h&&r.servers.length===0;if(e.isPathItemElement(l)){var y;const S=(y=l.servers)===null||y===void 0?void 0:y.content,b=S??[];c||!h?r.servers=new uv(b):h&&v&&b.forEach(_=>{r.servers.push(_)})}}}}),Cx=e=>e.replace(/\s/g,""),$x=e=>e.replace(/\W/gi,"_"),CFe=(e,t)=>{const r=$x(Cx(t.toLowerCase())),n=$x(Cx(e));return`${r}${n}`},$Fe=(e,t,r)=>{const n=Cx(e);return n.length>0?$x(n):CFe(t,r)},kFe=({operationIdNormalizer:e=$Fe}={})=>({predicates:t,namespace:r})=>{const n=[],i=[],s=[];return{visitor:{OpenApi3_1Element:{leave(){const o=Dwe(l=>De(l.operationId),i);Object.entries(o).forEach(([l,c])=>{Array.isArray(c)&&(c.length<=1||c.forEach((h,v)=>{const y=`${l}${v+1}`;h.operationId=new r.elements.String(y)}))}),s.forEach(l=>{if(typeof l.operationId>"u")return;const c=String(De(l.operationId)),h=i.find(v=>De(v.meta.get("originalOperationId"))===c);typeof h>"u"||(l.operationId=Ge.safe(h.operationId),l.meta.set("originalOperationId",c),l.set("__originalOperationId",c))}),i.length=0,s.length=0}},PathItemElement:{enter(o){const l=ru("path",De(o.meta.get("path")));n.push(l)},leave(){n.pop()}},OperationElement:{enter(o){if(typeof o.operationId>"u")return;const l=String(De(o.operationId)),c=K0(n),h=ru("method",De(o.meta.get("http-method"))),v=e(l,c,h);l!==v&&(o.operationId=new r.elements.String(v),o.set("__originalOperationId",l),o.meta.set("originalOperationId",l),i.push(o))}},LinkElement:{leave(o){t.isLinkElement(o)&&(typeof o.operationId>"u"||s.push(o))}}}}},TFe=()=>({predicates:e})=>({visitor:{ParameterElement:{leave(t,r,n,i,s){var o,l;if(!s.some(e.isComponentsElement)&&!(typeof t.schema>"u"||!e.isSchemaElement(t.schema))&&!(typeof((o=t.schema)===null||o===void 0?void 0:o.example)>"u"&&typeof((l=t.schema)===null||l===void 0?void 0:l.examples)>"u")){if(typeof t.examples<"u"&&e.isObjectElement(t.examples)){const c=t.examples.map(h=>Ge.safe(h.value));typeof t.schema.examples<"u"&&t.schema.set("examples",c),typeof t.schema.example<"u"&&t.schema.set("example",c);return}typeof t.example<"u"&&(typeof t.schema.examples<"u"&&t.schema.set("examples",[Ge(t.example)]),typeof t.schema.example<"u"&&t.schema.set("example",Ge(t.example)))}}}}}),PFe=()=>({predicates:e})=>({visitor:{HeaderElement:{leave(t,r,n,i,s){var o,l;if(!s.some(e.isComponentsElement)&&!(typeof t.schema>"u"||!e.isSchemaElement(t.schema))&&!(typeof((o=t.schema)===null||o===void 0?void 0:o.example)>"u"&&typeof((l=t.schema)===null||l===void 0?void 0:l.examples)>"u")){if(typeof t.examples<"u"&&e.isObjectElement(t.examples)){const c=t.examples.map(h=>Ge.safe(h.value));typeof t.schema.examples<"u"&&t.schema.set("examples",c),typeof t.schema.example<"u"&&t.schema.set("example",c);return}typeof t.example<"u"&&(typeof t.schema.examples<"u"&&t.schema.set("examples",[Ge(t.example)]),typeof t.schema.example<"u"&&t.schema.set("example",Ge(t.example)))}}}}}),RFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof A1||e(n)&&t("callback",n)&&r("object",n)),IFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof O1||e(n)&&t("components",n)&&r("object",n)),NFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof C1||e(n)&&t("contact",n)&&r("object",n)),jFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof $1||e(n)&&t("example",n)&&r("object",n)),MFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof k1||e(n)&&t("externalDocumentation",n)&&r("object",n)),DFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof T1||e(n)&&t("header",n)&&r("object",n)),FFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof P1||e(n)&&t("info",n)&&r("object",n)),V8=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof su||e(n)&&t("jsonSchemaDialect",n)&&r("string",n)),LFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof R1||e(n)&&t("license",n)&&r("object",n)),BFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof I1||e(n)&&t("link",n)&&r("object",n)),UFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof oC||e(n)&&t("openapi",n)&&r("string",n)),uC=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:n})=>i=>i instanceof al||e(i)&&t("openApi3_1",i)&&r("object",i)&&n("api",i)),z8=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Hh||e(n)&&t("operation",n)&&r("object",n)),VFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof j1||e(n)&&t("parameter",n)&&r("object",n)),W1=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof po||e(n)&&t("pathItem",n)&&r("object",n)),q8=e=>{if(!W1(e)||!Ft(e.$ref))return!1;const t=De(e.$ref);return typeof t=="string"&&t.length>0&&!t.startsWith("#")},zFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof M1||e(n)&&t("paths",n)&&r("object",n)),xf=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Eo||e(n)&&t("reference",n)&&r("object",n)),W8=e=>{if(!xf(e)||!Ft(e.$ref))return!1;const t=De(e.$ref);return typeof t=="string"&&t.length>0&&!t.startsWith("#")},qFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof D1||e(n)&&t("requestBody",n)&&r("object",n)),WFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof F1||e(n)&&t("response",n)&&r("object",n)),KFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof L1||e(n)&&t("responses",n)&&r("object",n)),Af=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Jo||e(n)&&t("schema",n)&&r("object",n)),cC=e=>bh(e)&&e.classes.includes("boolean-json-schema"),HFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof B1||e(n)&&t("securityRequirement",n)&&r("object",n)),JFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof U1||e(n)&&t("securityScheme",n)&&r("object",n)),GFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof V1||e(n)&&t("server",n)&&r("object",n)),YFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof z1||e(n)&&t("serverVariable",n)&&r("object",n)),XFe=at(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof N1||e(n)&&t("mediaType",n)&&r("object",n)),QFe=Object.freeze(Object.defineProperty({__proto__:null,isBooleanJsonSchemaElement:cC,isCallbackElement:RFe,isComponentsElement:IFe,isContactElement:NFe,isExampleElement:jFe,isExternalDocumentationElement:MFe,isHeaderElement:DFe,isInfoElement:FFe,isJsonSchemaDialectElement:V8,isLicenseElement:LFe,isLinkElement:BFe,isMediaTypeElement:XFe,isOpenApi3_1Element:uC,isOpenapiElement:UFe,isOperationElement:z8,isParameterElement:VFe,isPathItemElement:W1,isPathItemElementExternal:q8,isPathsElement:zFe,isReferenceElement:xf,isReferenceElementExternal:W8,isRequestBodyElement:qFe,isResponseElement:WFe,isResponsesElement:KFe,isSchemaElement:Af,isSecurityRequirementElement:HFe,isSecuritySchemeElement:JFe,isServerElement:GFe,isServerVariableElement:YFe},Symbol.toStringTag,{value:"Module"})),ZFe=()=>{const e=hf(q1);return{predicates:{...QFe,isElement:un,isStringElement:Ft,isArrayElement:Ni,isObjectElement:Zt,isMemberElement:mi,isServersElement:B8,includesClasses:Ac,hasElementSourceMap:Eh},namespace:e}},K8=ZFe;class eLe extends st(Bt,Je){constructor(t){super(t),this.element=new al,this.specPath=Ot(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0,this.openApiSemanticElement=this.element}ObjectElement(t){return this.openApiGenericElement=t,Bt.prototype.ObjectElement.call(this,t)}}const tLe=eLe,{visitors:{document:{objects:{Info:{$visitor:rLe}}}}}=$e;class nLe extends rLe{constructor(t){super(t),this.element=new P1}}const iLe=nLe,{visitors:{document:{objects:{Contact:{$visitor:sLe}}}}}=$e;class oLe extends sLe{constructor(t){super(t),this.element=new C1}}const aLe=oLe,{visitors:{document:{objects:{License:{$visitor:lLe}}}}}=$e;class uLe extends lLe{constructor(t){super(t),this.element=new R1}}const cLe=uLe,{visitors:{document:{objects:{Link:{$visitor:fLe}}}}}=$e;class pLe extends fLe{constructor(t){super(t),this.element=new I1}}const dLe=pLe;class hLe extends st(ni,Je){StringElement(t){const r=new su(De(t));return this.copyMetaAndAttributes(t,r),this.element=r,qt}}const mLe=hLe,{visitors:{document:{objects:{Server:{$visitor:gLe}}}}}=$e;class yLe extends gLe{constructor(t){super(t),this.element=new V1}}const vLe=yLe,{visitors:{document:{objects:{ServerVariable:{$visitor:bLe}}}}}=$e;class ELe extends bLe{constructor(t){super(t),this.element=new z1}}const SLe=ELe,{visitors:{document:{objects:{MediaType:{$visitor:wLe}}}}}=$e;class _Le extends wLe{constructor(t){super(t),this.element=new N1}}const xLe=_Le,{visitors:{document:{objects:{SecurityRequirement:{$visitor:ALe}}}}}=$e;class OLe extends ALe{constructor(t){super(t),this.element=new B1}}const CLe=OLe,{visitors:{document:{objects:{Components:{$visitor:$Le}}}}}=$e;class kLe extends $Le{constructor(t){super(t),this.element=new O1}}const TLe=kLe,{visitors:{document:{objects:{Tag:{$visitor:PLe}}}}}=$e;class RLe extends PLe{constructor(t){super(t),this.element=new aC}}const ILe=RLe,{visitors:{document:{objects:{Reference:{$visitor:NLe}}}}}=$e;class jLe extends NLe{constructor(t){super(t),this.element=new Eo}}const MLe=jLe,{visitors:{document:{objects:{Parameter:{$visitor:DLe}}}}}=$e;class FLe extends DLe{constructor(t){super(t),this.element=new j1}}const LLe=FLe,{visitors:{document:{objects:{Header:{$visitor:BLe}}}}}=$e;class ULe extends BLe{constructor(t){super(t),this.element=new T1}}const VLe=ULe;class pa{constructor({parent:t}){ie(this,"parent");this.parent=t}}class zLe extends st(Bt,pa,Je){constructor(t){super(t),this.element=new Jo,this.specPath=Ot(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0,this.jsonSchemaDefaultDialect=su.default,this.passingOptionsNames.push("parent")}ObjectElement(t){this.handle$schema(t),this.handle$id(t),this.parent=this.element;const r=Bt.prototype.ObjectElement.call(this,t);return Ft(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),r}BooleanElement(t){const r=super.enter(t);return this.element.classes.push("boolean-json-schema"),r}getJsonSchemaDialect(){let t;return this.openApiSemanticElement!==void 0&&V8(this.openApiSemanticElement.jsonSchemaDialect)?t=De(this.openApiSemanticElement.jsonSchemaDialect):this.openApiGenericElement!==void 0&&Ft(this.openApiGenericElement.get("jsonSchemaDialect"))?t=De(this.openApiGenericElement.get("jsonSchemaDialect")):t=De(this.jsonSchemaDefaultDialect),t}handle$schema(t){if(oa(this.parent)&&!Ft(t.get("$schema")))this.element.setMetaProperty("inherited$schema",this.getJsonSchemaDialect());else if(Af(this.parent)&&!Ft(t.get("$schema"))){const r=ru(De(this.parent.meta.get("inherited$schema")),De(this.parent.$schema));this.element.setMetaProperty("inherited$schema",r)}}handle$id(t){const r=this.parent!==void 0?Ge(this.parent.getMetaProperty("inherited$id",[])):new mr,n=De(t.get("$id"));uO(n)&&r.push(n),this.element.setMetaProperty("inherited$id",r)}}const qLe=zLe;class WLe extends Je{ObjectElement(t){const r=super.enter(t);return this.element.classes.push("json-schema-$vocabulary"),r}}const KLe=WLe;class HLe extends Je{StringElement(t){const r=super.enter(t);return this.element.classes.push("reference-value"),r}}const JLe=HLe;class GLe extends st(Dt,pa,Je){constructor(t){super(t),this.element=new et,this.element.classes.push("json-schema-$defs"),this.specPath=Ot(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const YLe=GLe;let XLe=class extends st(ni,pa,Je){constructor(t){super(t),this.element=new mr,this.element.classes.push("json-schema-allOf"),this.passingOptionsNames.push("parent")}ArrayElement(t){return t.forEach(r=>{if(Zt(r)){const n=this.toRefractedElement(["document","objects","Schema"],r);this.element.push(n)}else{const n=Ge(r);this.element.push(n)}}),this.copyMetaAndAttributes(t,this.element),qt}};const QLe=XLe;class ZLe extends st(ni,pa,Je){constructor(t){super(t),this.element=new mr,this.element.classes.push("json-schema-anyOf"),this.passingOptionsNames.push("parent")}ArrayElement(t){return t.forEach(r=>{if(Zt(r)){const n=this.toRefractedElement(["document","objects","Schema"],r);this.element.push(n)}else{const n=Ge(r);this.element.push(n)}}),this.copyMetaAndAttributes(t,this.element),qt}}const eBe=ZLe;class tBe extends st(ni,pa,Je){constructor(t){super(t),this.element=new mr,this.element.classes.push("json-schema-oneOf"),this.passingOptionsNames.push("parent")}ArrayElement(t){return t.forEach(r=>{if(Zt(r)){const n=this.toRefractedElement(["document","objects","Schema"],r);this.element.push(n)}else{const n=Ge(r);this.element.push(n)}}),this.copyMetaAndAttributes(t,this.element),qt}}const rBe=tBe;class nBe extends st(Dt,pa,Je){constructor(t){super(t),this.element=new et,this.element.classes.push("json-schema-dependentSchemas"),this.specPath=Ot(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const iBe=nBe;class sBe extends st(ni,pa,Je){constructor(t){super(t),this.element=new mr,this.element.classes.push("json-schema-prefixItems"),this.passingOptionsNames.push("parent")}ArrayElement(t){return t.forEach(r=>{if(Zt(r)){const n=this.toRefractedElement(["document","objects","Schema"],r);this.element.push(n)}else{const n=Ge(r);this.element.push(n)}}),this.copyMetaAndAttributes(t,this.element),qt}}const oBe=sBe;class aBe extends st(Dt,pa,Je){constructor(t){super(t),this.element=new et,this.element.classes.push("json-schema-properties"),this.specPath=Ot(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const lBe=aBe;class uBe extends st(Dt,pa,Je){constructor(t){super(t),this.element=new et,this.element.classes.push("json-schema-patternProperties"),this.specPath=Ot(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const cBe=uBe;class fBe extends Je{StringElement(t){const r=super.enter(t);return this.element.classes.push("json-schema-type"),r}ArrayElement(t){const r=super.enter(t);return this.element.classes.push("json-schema-type"),r}}const pBe=fBe;class dBe extends Je{ArrayElement(t){const r=super.enter(t);return this.element.classes.push("json-schema-enum"),r}}const hBe=dBe;class mBe extends Je{ObjectElement(t){const r=super.enter(t);return this.element.classes.push("json-schema-dependentRequired"),r}}const gBe=mBe;class yBe extends Je{ArrayElement(t){const r=super.enter(t);return this.element.classes.push("json-schema-examples"),r}}const vBe=yBe,{visitors:{document:{objects:{Discriminator:{$visitor:bBe}}}}}=$e;class EBe extends bBe{constructor(t){super(t),this.element=new rC,this.canSupportSpecificationExtensions=!0}}const SBe=EBe,{visitors:{document:{objects:{XML:{$visitor:wBe}}}}}=$e;class _Be extends wBe{constructor(t){super(t),this.element=new lC}}const xBe=_Be;class ABe extends st(Dt,Je){constructor(t){super(t),this.element=new sv,this.specPath=Ot(["document","objects","Schema"])}}const OBe=ABe;class CBe extends st(Dt,Je){constructor(t){super(t),this.element=new Ax,this.specPath=r=>wr(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(t){const r=Dt.prototype.ObjectElement.call(this,t);return this.element.filter(xf).forEach(n=>{n.setMetaProperty("referenced-element","pathItem")}),r}}const $Be=CBe,{visitors:{document:{objects:{Example:{$visitor:kBe}}}}}=$e;class TBe extends kBe{constructor(t){super(t),this.element=new $1}}const PBe=TBe,{visitors:{document:{objects:{ExternalDocumentation:{$visitor:RBe}}}}}=$e;class IBe extends RBe{constructor(t){super(t),this.element=new k1}}const NBe=IBe,{visitors:{document:{objects:{Encoding:{$visitor:jBe}}}}}=$e;class MBe extends jBe{constructor(t){super(t),this.element=new nC}}const DBe=MBe,{visitors:{document:{objects:{Paths:{$visitor:FBe}}}}}=$e;class LBe extends FBe{constructor(t){super(t),this.element=new M1}}const BBe=LBe,{visitors:{document:{objects:{RequestBody:{$visitor:UBe}}}}}=$e;class VBe extends UBe{constructor(t){super(t),this.element=new D1}}const zBe=VBe,{visitors:{document:{objects:{Callback:{$visitor:wj}}}}}=$e;class qBe extends wj{constructor(t){super(t),this.element=new A1,this.specPath=r=>wr(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(t){const r=wj.prototype.ObjectElement.call(this,t);return this.element.filter(xf).forEach(n=>{n.setMetaProperty("referenced-element","pathItem")}),r}}const WBe=qBe,{visitors:{document:{objects:{Response:{$visitor:KBe}}}}}=$e;class HBe extends KBe{constructor(t){super(t),this.element=new F1}}const JBe=HBe,{visitors:{document:{objects:{Responses:{$visitor:GBe}}}}}=$e;class YBe extends GBe{constructor(t){super(t),this.element=new L1}}const XBe=YBe,{visitors:{document:{objects:{Operation:{$visitor:QBe}}}}}=$e;class ZBe extends QBe{constructor(t){super(t),this.element=new Hh}}const e6e=ZBe,{visitors:{document:{objects:{PathItem:{$visitor:t6e}}}}}=$e;class r6e extends t6e{constructor(t){super(t),this.element=new po}}const n6e=r6e,{visitors:{document:{objects:{SecurityScheme:{$visitor:i6e}}}}}=$e;class s6e extends i6e{constructor(t){super(t),this.element=new U1}}const o6e=s6e,{visitors:{document:{objects:{OAuthFlows:{$visitor:a6e}}}}}=$e;class l6e extends a6e{constructor(t){super(t),this.element=new sC}}const u6e=l6e,{visitors:{document:{objects:{OAuthFlow:{$visitor:c6e}}}}}=$e;class f6e extends c6e{constructor(t){super(t),this.element=new iC}}const p6e=f6e;class d6e extends st(Dt,Je){constructor(t){super(t),this.element=new Ox,this.specPath=r=>wr(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(t){const r=Dt.prototype.ObjectElement.call(this,t);return this.element.filter(xf).forEach(n=>{n.setMetaProperty("referenced-element","pathItem")}),this.element.filter(W1).forEach((n,i)=>{n.setMetaProperty("webhook-name",De(i))}),r}}const h6e=d6e,m6e={visitors:{value:$e.visitors.value,document:{objects:{OpenApi:{$visitor:tLe,fixedFields:{openapi:$e.visitors.document.objects.OpenApi.fixedFields.openapi,info:{$ref:"#/visitors/document/objects/Info"},jsonSchemaDialect:mLe,servers:$e.visitors.document.objects.OpenApi.fixedFields.servers,paths:{$ref:"#/visitors/document/objects/Paths"},webhooks:h6e,components:{$ref:"#/visitors/document/objects/Components"},security:$e.visitors.document.objects.OpenApi.fixedFields.security,tags:$e.visitors.document.objects.OpenApi.fixedFields.tags,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:iLe,fixedFields:{title:$e.visitors.document.objects.Info.fixedFields.title,description:$e.visitors.document.objects.Info.fixedFields.description,summary:{$ref:"#/visitors/value"},termsOfService:$e.visitors.document.objects.Info.fixedFields.termsOfService,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:$e.visitors.document.objects.Info.fixedFields.version}},Contact:{$visitor:aLe,fixedFields:{name:$e.visitors.document.objects.Contact.fixedFields.name,url:$e.visitors.document.objects.Contact.fixedFields.url,email:$e.visitors.document.objects.Contact.fixedFields.email}},License:{$visitor:cLe,fixedFields:{name:$e.visitors.document.objects.License.fixedFields.name,identifier:{$ref:"#/visitors/value"},url:$e.visitors.document.objects.License.fixedFields.url}},Server:{$visitor:vLe,fixedFields:{url:$e.visitors.document.objects.Server.fixedFields.url,description:$e.visitors.document.objects.Server.fixedFields.description,variables:$e.visitors.document.objects.Server.fixedFields.variables}},ServerVariable:{$visitor:SLe,fixedFields:{enum:$e.visitors.document.objects.ServerVariable.fixedFields.enum,default:$e.visitors.document.objects.ServerVariable.fixedFields.default,description:$e.visitors.document.objects.ServerVariable.fixedFields.description}},Components:{$visitor:TLe,fixedFields:{schemas:OBe,responses:$e.visitors.document.objects.Components.fixedFields.responses,parameters:$e.visitors.document.objects.Components.fixedFields.parameters,examples:$e.visitors.document.objects.Components.fixedFields.examples,requestBodies:$e.visitors.document.objects.Components.fixedFields.requestBodies,headers:$e.visitors.document.objects.Components.fixedFields.headers,securitySchemes:$e.visitors.document.objects.Components.fixedFields.securitySchemes,links:$e.visitors.document.objects.Components.fixedFields.links,callbacks:$e.visitors.document.objects.Components.fixedFields.callbacks,pathItems:$Be}},Paths:{$visitor:BBe},PathItem:{$visitor:n6e,fixedFields:{$ref:$e.visitors.document.objects.PathItem.fixedFields.$ref,summary:$e.visitors.document.objects.PathItem.fixedFields.summary,description:$e.visitors.document.objects.PathItem.fixedFields.description,get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:$e.visitors.document.objects.PathItem.fixedFields.servers,parameters:$e.visitors.document.objects.PathItem.fixedFields.parameters}},Operation:{$visitor:e6e,fixedFields:{tags:$e.visitors.document.objects.Operation.fixedFields.tags,summary:$e.visitors.document.objects.Operation.fixedFields.summary,description:$e.visitors.document.objects.Operation.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:$e.visitors.document.objects.Operation.fixedFields.operationId,parameters:$e.visitors.document.objects.Operation.fixedFields.parameters,requestBody:$e.visitors.document.objects.Operation.fixedFields.requestBody,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:$e.visitors.document.objects.Operation.fixedFields.callbacks,deprecated:$e.visitors.document.objects.Operation.fixedFields.deprecated,security:$e.visitors.document.objects.Operation.fixedFields.security,servers:$e.visitors.document.objects.Operation.fixedFields.servers}},ExternalDocumentation:{$visitor:NBe,fixedFields:{description:$e.visitors.document.objects.ExternalDocumentation.fixedFields.description,url:$e.visitors.document.objects.ExternalDocumentation.fixedFields.url}},Parameter:{$visitor:LLe,fixedFields:{name:$e.visitors.document.objects.Parameter.fixedFields.name,in:$e.visitors.document.objects.Parameter.fixedFields.in,description:$e.visitors.document.objects.Parameter.fixedFields.description,required:$e.visitors.document.objects.Parameter.fixedFields.required,deprecated:$e.visitors.document.objects.Parameter.fixedFields.deprecated,allowEmptyValue:$e.visitors.document.objects.Parameter.fixedFields.allowEmptyValue,style:$e.visitors.document.objects.Parameter.fixedFields.style,explode:$e.visitors.document.objects.Parameter.fixedFields.explode,allowReserved:$e.visitors.document.objects.Parameter.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:$e.visitors.document.objects.Parameter.fixedFields.example,examples:$e.visitors.document.objects.Parameter.fixedFields.examples,content:$e.visitors.document.objects.Parameter.fixedFields.content}},RequestBody:{$visitor:zBe,fixedFields:{description:$e.visitors.document.objects.RequestBody.fixedFields.description,content:$e.visitors.document.objects.RequestBody.fixedFields.content,required:$e.visitors.document.objects.RequestBody.fixedFields.required}},MediaType:{$visitor:xLe,fixedFields:{schema:{$ref:"#/visitors/document/objects/Schema"},example:$e.visitors.document.objects.MediaType.fixedFields.example,examples:$e.visitors.document.objects.MediaType.fixedFields.examples,encoding:$e.visitors.document.objects.MediaType.fixedFields.encoding}},Encoding:{$visitor:DBe,fixedFields:{contentType:$e.visitors.document.objects.Encoding.fixedFields.contentType,headers:$e.visitors.document.objects.Encoding.fixedFields.headers,style:$e.visitors.document.objects.Encoding.fixedFields.style,explode:$e.visitors.document.objects.Encoding.fixedFields.explode,allowReserved:$e.visitors.document.objects.Encoding.fixedFields.allowReserved}},Responses:{$visitor:XBe,fixedFields:{default:$e.visitors.document.objects.Responses.fixedFields.default}},Response:{$visitor:JBe,fixedFields:{description:$e.visitors.document.objects.Response.fixedFields.description,headers:$e.visitors.document.objects.Response.fixedFields.headers,content:$e.visitors.document.objects.Response.fixedFields.content,links:$e.visitors.document.objects.Response.fixedFields.links}},Callback:{$visitor:WBe},Example:{$visitor:PBe,fixedFields:{summary:$e.visitors.document.objects.Example.fixedFields.summary,description:$e.visitors.document.objects.Example.fixedFields.description,value:$e.visitors.document.objects.Example.fixedFields.value,externalValue:$e.visitors.document.objects.Example.fixedFields.externalValue}},Link:{$visitor:dLe,fixedFields:{operationRef:$e.visitors.document.objects.Link.fixedFields.operationRef,operationId:$e.visitors.document.objects.Link.fixedFields.operationId,parameters:$e.visitors.document.objects.Link.fixedFields.parameters,requestBody:$e.visitors.document.objects.Link.fixedFields.requestBody,description:$e.visitors.document.objects.Link.fixedFields.description,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:VLe,fixedFields:{description:$e.visitors.document.objects.Header.fixedFields.description,required:$e.visitors.document.objects.Header.fixedFields.required,deprecated:$e.visitors.document.objects.Header.fixedFields.deprecated,allowEmptyValue:$e.visitors.document.objects.Header.fixedFields.allowEmptyValue,style:$e.visitors.document.objects.Header.fixedFields.style,explode:$e.visitors.document.objects.Header.fixedFields.explode,allowReserved:$e.visitors.document.objects.Header.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:$e.visitors.document.objects.Header.fixedFields.example,examples:$e.visitors.document.objects.Header.fixedFields.examples,content:$e.visitors.document.objects.Header.fixedFields.content}},Tag:{$visitor:ILe,fixedFields:{name:$e.visitors.document.objects.Tag.fixedFields.name,description:$e.visitors.document.objects.Tag.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:MLe,fixedFields:{$ref:$e.visitors.document.objects.Reference.fixedFields.$ref,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},Schema:{$visitor:qLe,fixedFields:{$schema:{$ref:"#/visitors/value"},$vocabulary:KLe,$id:{$ref:"#/visitors/value"},$anchor:{$ref:"#/visitors/value"},$dynamicAnchor:{$ref:"#/visitors/value"},$dynamicRef:{$ref:"#/visitors/value"},$ref:JLe,$defs:YLe,$comment:{$ref:"#/visitors/value"},allOf:QLe,anyOf:eBe,oneOf:rBe,not:{$ref:"#/visitors/document/objects/Schema"},if:{$ref:"#/visitors/document/objects/Schema"},then:{$ref:"#/visitors/document/objects/Schema"},else:{$ref:"#/visitors/document/objects/Schema"},dependentSchemas:iBe,prefixItems:oBe,items:{$ref:"#/visitors/document/objects/Schema"},contains:{$ref:"#/visitors/document/objects/Schema"},properties:lBe,patternProperties:cBe,additionalProperties:{$ref:"#/visitors/document/objects/Schema"},propertyNames:{$ref:"#/visitors/document/objects/Schema"},unevaluatedItems:{$ref:"#/visitors/document/objects/Schema"},unevaluatedProperties:{$ref:"#/visitors/document/objects/Schema"},type:pBe,enum:hBe,const:{$ref:"#/visitors/value"},multipleOf:{$ref:"#/visitors/value"},maximum:{$ref:"#/visitors/value"},exclusiveMaximum:{$ref:"#/visitors/value"},minimum:{$ref:"#/visitors/value"},exclusiveMinimum:{$ref:"#/visitors/value"},maxLength:{$ref:"#/visitors/value"},minLength:{$ref:"#/visitors/value"},pattern:{$ref:"#/visitors/value"},maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxContains:{$ref:"#/visitors/value"},minContains:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},dependentRequired:gBe,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},readOnly:{$ref:"#/visitors/value"},writeOnly:{$ref:"#/visitors/value"},examples:vBe,format:{$ref:"#/visitors/value"},contentEncoding:{$ref:"#/visitors/value"},contentMediaType:{$ref:"#/visitors/value"},contentSchema:{$ref:"#/visitors/document/objects/Schema"},discriminator:{$ref:"#/visitors/document/objects/Discriminator"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:{$ref:"#/visitors/value"}}},Discriminator:{$visitor:SBe,fixedFields:{propertyName:$e.visitors.document.objects.Discriminator.fixedFields.propertyName,mapping:$e.visitors.document.objects.Discriminator.fixedFields.mapping}},XML:{$visitor:xBe,fixedFields:{name:$e.visitors.document.objects.XML.fixedFields.name,namespace:$e.visitors.document.objects.XML.fixedFields.namespace,prefix:$e.visitors.document.objects.XML.fixedFields.prefix,attribute:$e.visitors.document.objects.XML.fixedFields.attribute,wrapped:$e.visitors.document.objects.XML.fixedFields.wrapped}},SecurityScheme:{$visitor:o6e,fixedFields:{type:$e.visitors.document.objects.SecurityScheme.fixedFields.type,description:$e.visitors.document.objects.SecurityScheme.fixedFields.description,name:$e.visitors.document.objects.SecurityScheme.fixedFields.name,in:$e.visitors.document.objects.SecurityScheme.fixedFields.in,scheme:$e.visitors.document.objects.SecurityScheme.fixedFields.scheme,bearerFormat:$e.visitors.document.objects.SecurityScheme.fixedFields.bearerFormat,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:$e.visitors.document.objects.SecurityScheme.fixedFields.openIdConnectUrl}},OAuthFlows:{$visitor:u6e,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:p6e,fixedFields:{authorizationUrl:$e.visitors.document.objects.OAuthFlow.fixedFields.authorizationUrl,tokenUrl:$e.visitors.document.objects.OAuthFlow.fixedFields.tokenUrl,refreshUrl:$e.visitors.document.objects.OAuthFlow.fixedFields.refreshUrl,scopes:$e.visitors.document.objects.OAuthFlow.fixedFields.scopes}},SecurityRequirement:{$visitor:CLe}},extension:{$visitor:$e.visitors.document.extension.$visitor}}}},g6e=m6e,y6e=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=kO(e),i=t1(g6e),s=Gn(t,i),o=new s({specObj:i});return $n(n,o),Sh(o.element,r,{toolboxCreator:K8,visitorOptions:{keyMap:gi,nodeTypeGetter:Yn}})},er=e=>(t,r={})=>y6e(t,{specPath:e,...r});A1.refract=er(["visitors","document","objects","Callback","$visitor"]);O1.refract=er(["visitors","document","objects","Components","$visitor"]);C1.refract=er(["visitors","document","objects","Contact","$visitor"]);$1.refract=er(["visitors","document","objects","Example","$visitor"]);rC.refract=er(["visitors","document","objects","Discriminator","$visitor"]);nC.refract=er(["visitors","document","objects","Encoding","$visitor"]);k1.refract=er(["visitors","document","objects","ExternalDocumentation","$visitor"]);T1.refract=er(["visitors","document","objects","Header","$visitor"]);P1.refract=er(["visitors","document","objects","Info","$visitor"]);su.refract=er(["visitors","document","objects","OpenApi","fixedFields","jsonSchemaDialect"]);R1.refract=er(["visitors","document","objects","License","$visitor"]);I1.refract=er(["visitors","document","objects","Link","$visitor"]);N1.refract=er(["visitors","document","objects","MediaType","$visitor"]);iC.refract=er(["visitors","document","objects","OAuthFlow","$visitor"]);sC.refract=er(["visitors","document","objects","OAuthFlows","$visitor"]);oC.refract=er(["visitors","document","objects","OpenApi","fixedFields","openapi"]);al.refract=er(["visitors","document","objects","OpenApi","$visitor"]);Hh.refract=er(["visitors","document","objects","Operation","$visitor"]);j1.refract=er(["visitors","document","objects","Parameter","$visitor"]);po.refract=er(["visitors","document","objects","PathItem","$visitor"]);M1.refract=er(["visitors","document","objects","Paths","$visitor"]);Eo.refract=er(["visitors","document","objects","Reference","$visitor"]);D1.refract=er(["visitors","document","objects","RequestBody","$visitor"]);F1.refract=er(["visitors","document","objects","Response","$visitor"]);L1.refract=er(["visitors","document","objects","Responses","$visitor"]);Jo.refract=er(["visitors","document","objects","Schema","$visitor"]);B1.refract=er(["visitors","document","objects","SecurityRequirement","$visitor"]);U1.refract=er(["visitors","document","objects","SecurityScheme","$visitor"]);V1.refract=er(["visitors","document","objects","Server","$visitor"]);z1.refract=er(["visitors","document","objects","ServerVariable","$visitor"]);aC.refract=er(["visitors","document","objects","Tag","$visitor"]);lC.refract=er(["visitors","document","objects","XML","$visitor"]);const v6e=Vt(wh,{props:{name:"binary"},methods:{async canParse(e){return this.fileExtensions.length===0?!0:this.fileExtensions.includes(e.extension)},async parse(e){try{const t=unescape(encodeURIComponent(e.toString())),r=btoa(t),n=new js;if(r.length!==0){const i=new Wo(r);i.classes.push("result"),n.push(i)}return n}catch(t){throw new Ho(`Error parsing "${e.uri}"`,{cause:t})}}}}),Jh=e=>/^[A-Za-z_][A-Za-z_0-9.-]*$/.test(e),Ya=e=>{const t=xB(e);return cO("#",t)},b6e=e=>{if(!Jh(e))throw new Mke(e);return e},K1=(e,t)=>{const r=b6e(e),n=D6(i=>Af(i)&&De(i.$anchor)===r,t);if(oa(n))throw new Rke(`Evaluation failed on token: "${r}"`);return n},cv=(e,t)=>{if(typeof t.$ref>"u")return;const r=xB(De(t.$ref)),n=De(t.meta.get("inherited$id"));return`${yu((s,o)=>gn(s,gh(qr(o))),e,[...n,De(t.$ref)])}${r==="#"?"":r}`},E6e=(e,t)=>{if(typeof t.$id>"u")return;const r=De(t.meta.get("inherited$id"));return yu((n,i)=>gn(n,gh(qr(i))),e,[...r,De(t.$id)])},Kp=e=>{if(Kp.cache.has(e))return Kp.cache.get(e);const t=Jo.refract(e);return Kp.cache.set(e,t),t};Kp.cache=new WeakMap;const cs=e=>Uo(e)?Kp(e):e,Gh=(e,t)=>{const{cache:r}=Gh,n=qr(e),i=c=>Af(c)&&typeof c.$id<"u";if(!r.has(t)){const c=ske(i,t);r.set(t,Array.from(c))}const s=r.get(t).find(c=>E6e(n,c)===n);if(oa(s))throw new vd(`Evaluation failed on URI: "${e}"`);let o,l;return Jh(Ya(e))?(o=K1,l=Ya(e)):(o=Jn,l=Mn(e)),o(l,s)};Gh.cache=new WeakMap;const zS=$n[Symbol.for("nodejs.util.promisify.custom")],ry=Vt({props:{indirections:[],namespace:null,reference:null,crawledElements:null,crawlingMap:null,visited:null,options:null},init({reference:e,namespace:t,indirections:r=[],visited:n=new WeakSet,options:i}){this.indirections=r,this.namespace=t,this.reference=e,this.crawledElements=[],this.crawlingMap={},this.visited=n,this.options=i},methods:{toBaseURI(e){return gn(this.reference.uri,gh(qr(e)))},async toReference(e){if(this.reference.depth>=this.options.resolve.maxDepth)throw new z6(`Maximum resolution depth of ${this.options.resolve.maxDepth} has been exceeded by file "${this.reference.uri}"`);const t=this.toBaseURI(e),{refSet:r}=this.reference;if(r.has(t))return r.find(J0(t,"uri"));const n=await n6(on(t),{...this.options,parse:{...this.options.parse,mediaType:"text/plain"}}),i=yf({uri:t,value:n,depth:this.reference.depth+1});return r.add(i),i},ReferenceElement(e){const t=De(e.$ref),r=this.toBaseURI(t);if(!this.options.resolve.external&&qr(this.reference.uri)!==r)return!1;Vl(r,this.crawlingMap)||(this.crawlingMap[r]=this.toReference(t)),this.crawledElements.push(e)},PathItemElement(e){if(!Ft(e.$ref))return;const t=De(e.$ref),r=this.toBaseURI(t);!this.options.resolve.external&&qr(this.reference.uri)!==r||(Vl(r,this.crawlingMap)||(this.crawlingMap[r]=this.toReference(t)),this.crawledElements.push(e))},LinkElement(e){if(!Ft(e.operationRef)&&!Ft(e.operationId))return;const t=De(e.operationRef),r=this.toBaseURI(t),n=qr(this.reference.uri)!==r;if(!(!this.options.resolve.external&&n)){if(Ft(e.operationRef)&&Ft(e.operationId))throw new Kr("LinkElement operationRef and operationId are mutually exclusive.");n&&(Vl(r,this.crawlingMap)||(this.crawlingMap[r]=this.toReference(t)))}},ExampleElement(e){if(!Ft(e.externalValue))return;if(e.hasKey("value")&&Ft(e.externalValue))throw new Kr("ExampleElement value and externalValue fields are mutually exclusive.");const t=De(e.externalValue),r=this.toBaseURI(t);!this.options.resolve.external&&qr(this.reference.uri)!==r||Vl(r,this.crawlingMap)||(this.crawlingMap[r]=this.toReference(t))},async SchemaElement(e){if(this.visited.has(e))return!1;if(!Ft(e.$ref)){this.visited.add(e);return}const t=await this.toReference(on(this.reference.uri));let{uri:r}=t;const n=cv(r,e),i=qr(n),s=nu({uri:i}),o=g_(h=>h.canRead(s),this.options.resolve.resolvers),l=!o,c=h=>qr(this.reference.uri)!==h;if(!Vl(i,this.crawlingMap))try{if(o||l)this.crawlingMap[i]=t;else{if(r=this.toBaseURI(De(n)),!this.options.resolve.external&&c(r)){this.visited.add(e);return}this.crawlingMap[i]=this.toReference(on(n))}}catch(h){if(l&&h instanceof vd){if(r=this.toBaseURI(on(n)),!this.options.resolve.external&&c(r)){this.visited.add(e);return}this.crawlingMap[i]=this.toReference(on(n))}else throw h}this.crawledElements.push(e)},async crawlReferenceElement(e){const t=await this.toReference(De(e.$ref));this.indirections.push(e);const r=Mn(De(e.$ref));let n=Jn(r,t.value.result);if(Uo(n)){const s=De(e.meta.get("referenced-element"));wr(n)?(n=Eo.refract(n),n.setMetaProperty("referenced-element",s)):n=this.namespace.getElementClass(s).refract(n)}if(this.indirections.includes(n))throw new Kr("Recursive Reference Object detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Vo(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);const i=ry({reference:t,namespace:this.namespace,indirections:[...this.indirections],options:this.options});await zS(n,i,{keyMap:gi,nodeTypeGetter:Yn}),await i.crawl(),this.indirections.pop()},async crawlPathItemElement(e){const t=await this.toReference(De(e.$ref));this.indirections.push(e);const r=Mn(De(e.$ref));let n=Jn(r,t.value.result);if(Uo(n)&&(n=po.refract(n)),this.indirections.includes(n))throw new Kr("Recursive Path Item Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Vo(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);const i=ry({reference:t,namespace:this.namespace,indirections:[...this.indirections],options:this.options});await zS(n,i,{keyMap:gi,nodeTypeGetter:Yn}),await i.crawl(),this.indirections.pop()},async crawlSchemaElement(e){let t=await this.toReference(on(this.reference.uri)),{uri:r}=t;const n=cv(r,e),i=qr(n),s=nu({uri:i}),o=g_(y=>y.canRead(s),this.options.resolve.resolvers),l=!o,c=y=>qr(this.reference.uri)!==y;this.indirections.push(e);let h;try{if(o||l)h=Gh(n,cs(t.value.result));else{if(r=this.toBaseURI(De(n)),!this.options.resolve.external&&c(r))return;t=await this.toReference(on(n));const y=Mn(n);h=cs(Jn(y,t.value.result))}}catch(y){if(l&&y instanceof vd)if(Jh(Ya(n))){if(r=this.toBaseURI(De(n)),!this.options.resolve.external&&c(r))return;t=await this.toReference(on(n));const S=Ya(n);h=K1(S,cs(t.value.result))}else{if(r=this.toBaseURI(De(n)),!this.options.resolve.external&&c(r))return;t=await this.toReference(on(n));const S=Mn(n);h=cs(Jn(S,t.value.result))}else throw y}if(this.visited.add(e),this.indirections.includes(h))throw new Kr("Recursive Schema Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Vo(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);const v=ry({reference:t,namespace:this.namespace,indirections:[...this.indirections],options:this.options,visited:this.visited});await zS(h,v,{keyMap:gi,nodeTypeGetter:Yn}),await v.crawl(),this.indirections.pop()},async crawl(){await bn(QSe,J_e)(this.crawlingMap),this.crawlingMap=null;for(const e of this.crawledElements)xf(e)?await this.crawlReferenceElement(e):Af(e)?await this.crawlSchemaElement(e):W1(e)&&await this.crawlPathItemElement(e)}}}),S6e=$n[Symbol.for("nodejs.util.promisify.custom")],w6e=Vt(Cke,{init(){this.name="openapi-3-1"},methods:{canResolve(e){var t;return e.mediaType!=="text/plain"?iu.includes(e.mediaType):uC((t=e.parseResult)===null||t===void 0?void 0:t.result)},async resolve(e,t){const r=hf(q1),n=yf({uri:e.uri,value:e.parseResult}),i=ry({reference:n,namespace:r,options:t}),s=r1();return s.add(n),await S6e(s.rootRef.value,i,{keyMap:gi,nodeTypeGetter:Yn}),await i.crawl(),s}}}),H8=e=>{if(!Zt(e)||e.hasKey("$$normalized"))return e;const t=[kFe({operationIdNormalizer:(n,i,s)=>o1({operationId:n},i,s,{v2OperationIdCompatibilityMode:!1})}),xFe(),AFe(),OFe(),TFe(),PFe()],r=Sh(e,t,{toolboxCreator:K8,visitorOptions:{keyMap:gi,nodeTypeGetter:Yn}});return r.set("$$normalized",!0),r},Hp=e=>t=>{if(t!=null&&t.$$normalized)return t;if(Hp.cache.has(t))return Hp.cache.get(t);const r=al.refract(t),n=e(r),i=De(n);return Hp.cache.set(t,i),i};Hp.cache=new WeakMap;const{AbortController:_6e,AbortSignal:x6e}=globalThis;typeof globalThis.AbortController>"u"&&(globalThis.AbortController=_6e);typeof globalThis.AbortSignal>"u"&&(globalThis.AbortSignal=x6e);const A6e=Ake.compose({props:{name:"http-swagger-client",swaggerHTTPClient:l1,swaggerHTTPClientConfig:{}},init({swaggerHTTPClient:e=this.swaggerHTTPClient}={}){this.swaggerHTTPClient=e},methods:{getHttpClient(){return this.swaggerHTTPClient},async read(e){const t=this.getHttpClient(),r=new AbortController,{signal:n}=r,i=setTimeout(()=>{r.abort()},this.timeout),s=this.getHttpClient().withCredentials||this.withCredentials?"include":"same-origin",o=this.redirects===0?"error":"follow",l=this.redirects>0?this.redirects:void 0;try{return(await t({url:e.uri,signal:n,userFetch:async(h,v)=>{let y=await fetch(h,v);try{y.headers.delete("Content-Type")}catch{y=new Response(y.body,{...y,headers:new Headers(y.headers)}),y.headers.delete("Content-Type")}return y},credentials:s,redirect:o,follow:l,...this.swaggerHTTPClientConfig})).text.arrayBuffer()}catch(c){throw new t6(`Error downloading "${e.uri}"`,{cause:c})}finally{clearTimeout(i)}}}}),O6e=wh.compose({props:{name:"json-swagger-client",fileExtensions:[".json"],mediaTypes:["application/json"]},methods:{async canParse(e){const t=this.fileExtensions.length===0?!0:this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType);if(!t)return!1;if(r)return!0;if(!r)try{return JSON.parse(e.toString()),!0}catch{return!1}return!1},async parse(e){if(this.sourceMap)throw new Ho("json-swagger-client parser plugin doesn't support sourceMaps option");const t=new js,r=e.toString();if(this.allowEmpty&&r.trim()==="")return t;try{const n=U6(JSON.parse(r));return n.classes.push("result"),t.push(n),t}catch(n){throw new Ho(`Error parsing "${e.uri}"`,{cause:n})}}}}),C6e=wh.compose({props:{name:"yaml-1-2-swagger-client",fileExtensions:[".yaml",".yml"],mediaTypes:["text/yaml","application/yaml"]},methods:{async canParse(e){const t=this.fileExtensions.length===0?!0:this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType);if(!t)return!1;if(r)return!0;if(!r)try{return tu.load(e.toString(),{schema:ld}),!0}catch{return!1}return!1},async parse(e){if(this.sourceMap)throw new Ho("yaml-1-2-swagger-client parser plugin doesn't support sourceMaps option");const t=new js,r=e.toString();try{const n=tu.load(r,{schema:ld});if(this.allowEmpty&&typeof n>"u")return t;const i=U6(n);return i.classes.push("result"),t.push(i),t}catch(n){throw new Ho(`Error parsing "${e.uri}"`,{cause:n})}}}}),$6e=wh.compose({props:{name:"openapi-json-3-1-swagger-client",fileExtensions:[".json"],mediaTypes:new QO(...iu.filterByFormat("generic"),...iu.filterByFormat("json")),detectionRegExp:/"openapi"\s*:\s*"(?3\.1\.(?:[1-9]\d*|0))"/},methods:{async canParse(e){const t=this.fileExtensions.length===0?!0:this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType);if(!t)return!1;if(r)return!0;if(!r)try{const n=e.toString();return JSON.parse(n),this.detectionRegExp.test(n)}catch{return!1}return!1},async parse(e){if(this.sourceMap)throw new Ho("openapi-json-3-1-swagger-client parser plugin doesn't support sourceMaps option");const t=new js,r=e.toString();if(this.allowEmpty&&r.trim()==="")return t;try{const n=JSON.parse(r),i=al.refract(n,this.refractorOpts);return i.classes.push("result"),t.push(i),t}catch(n){throw new Ho(`Error parsing "${e.uri}"`,{cause:n})}}}}),k6e=wh.compose({props:{name:"openapi-yaml-3-1-swagger-client",fileExtensions:[".yaml",".yml"],mediaTypes:new QO(...iu.filterByFormat("generic"),...iu.filterByFormat("yaml")),detectionRegExp:/(?^(["']?)openapi\2\s*:\s*(["']?)(?3\.1\.(?:[1-9]\d*|0))\3(?:\s+|$))|(?"openapi"\s*:\s*"(?3\.1\.(?:[1-9]\d*|0))")/m},methods:{async canParse(e){const t=this.fileExtensions.length===0?!0:this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType);if(!t)return!1;if(r)return!0;if(!r)try{const n=e.toString();return tu.load(n),this.detectionRegExp.test(n)}catch{return!1}return!1},async parse(e){if(this.sourceMap)throw new Ho("openapi-yaml-3-1-swagger-client parser plugin doesn't support sourceMaps option");const t=new js,r=e.toString();try{const n=tu.load(r,{schema:ld});if(this.allowEmpty&&typeof n>"u")return t;const i=al.refract(n,this.refractorOpts);return i.classes.push("result"),t.push(i),t}catch(n){throw new Ho(`Error parsing "${e.uri}"`,{cause:n})}}}}),qS=$n[Symbol.for("nodejs.util.promisify.custom")],Oa=jO(),WS=e=>t=>t.meta.hasKey("ref-referencing-element-id")&&t.meta.get("ref-referencing-element-id").equals(De(Oa.identify(e))),Cc=Vt({props:{indirections:null,namespace:null,reference:null,options:null,ancestors:null,refractCache:null},init({indirections:e=[],reference:t,namespace:r,options:n,ancestors:i=new kS,refractCache:s=new Map}){this.indirections=e,this.namespace=r,this.reference=t,this.options=n,this.ancestors=new kS(...i),this.refractCache=s},methods:{toBaseURI(e){return gn(this.reference.uri,gh(qr(e)))},async toReference(e){if(this.reference.depth>=this.options.resolve.maxDepth)throw new z6(`Maximum resolution depth of ${this.options.resolve.maxDepth} has been exceeded by file "${this.reference.uri}"`);const t=this.toBaseURI(e),{refSet:r}=this.reference;if(r.has(t))return r.find(J0(t,"uri"));const n=await n6(on(t),{...this.options,parse:{...this.options.parse,mediaType:"text/plain"}}),i=yf({uri:t,value:n,depth:this.reference.depth+1});return r.add(i),i},toAncestorLineage(e){const t=new Set(e.filter(un));return[new kS(...this.ancestors,t),t]},async ReferenceElement(e,t,r,n,i){const[s,o]=this.toAncestorLineage([...i,r]);if(s.includesCycle(e))return!1;const l=this.toBaseURI(De(e.$ref));if(!this.options.resolve.external&&qr(this.reference.uri)!==l)return!1;const c=await this.toReference(De(e.$ref)),h=gn(l,De(e.$ref));this.indirections.push(e);const v=Mn(h);let y=Jn(v,c.value.result);if(Uo(y)){const $=De(e.meta.get("referenced-element")),P=`${$}-${De(Oa.identify(y))}`;this.refractCache.has(P)?y=this.refractCache.get(P):wr(y)?(y=Eo.refract(y),y.setMetaProperty("referenced-element",$),this.refractCache.set(P,y)):(y=this.namespace.getElementClass($).refract(y),this.refractCache.set(P,y))}if(this.indirections.includes(y))throw new Kr("Recursive Reference Object detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Vo(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);o.add(e);const S=Cc({reference:c,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:s,refractCache:this.refractCache});y=await qS(y,S,{keyMap:gi,nodeTypeGetter:Yn}),o.delete(e),this.indirections.pop();const b=$=>{const P=Kn($);return P.setMetaProperty("ref-fields",{$ref:De(e.$ref),description:De(e.description),summary:De(e.summary)}),P.setMetaProperty("ref-origin",c.uri),P.setMetaProperty("ref-referencing-element-id",Ge(Oa.identify(e))),Zt($)&&(e.hasKey("description")&&"description"in $&&(P.remove("description"),P.set("description",e.get("description"))),e.hasKey("summary")&&"summary"in $&&(P.remove("summary"),P.set("summary",e.get("summary")))),P};if(s.includes(e)||s.includes(y)){var _;const $=(_=s.findItem(WS(e)))!==null&&_!==void 0?_:b(y);return mi(r)?r.value=$:Array.isArray(r)&&(r[t]=$),!1}return b(y)},async PathItemElement(e,t,r,n,i){const[s,o]=this.toAncestorLineage([...i,r]);if(!Ft(e.$ref))return;if(s.includesCycle(e))return!1;const l=this.toBaseURI(De(e.$ref));if(!this.options.resolve.external&&qr(this.reference.uri)!==l)return;const c=await this.toReference(De(e.$ref)),h=gn(l,De(e.$ref));this.indirections.push(e);const v=Mn(h);let y=Jn(v,c.value.result);if(Uo(y)){const $=`pathItem-${De(Oa.identify(y))}`;this.refractCache.has($)?y=this.refractCache.get($):(y=po.refract(y),this.refractCache.set($,y))}if(this.indirections.includes(y))throw new Kr("Recursive Path Item Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Vo(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);o.add(e);const S=Cc({reference:c,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:s,refractCache:this.refractCache});y=await qS(y,S,{keyMap:gi,nodeTypeGetter:Yn}),o.delete(e),this.indirections.pop();const b=$=>{const P=new po([...$.content],Ge($.meta),Ge($.attributes));return e.forEach((x,A,C)=>{P.remove(De(A)),P.content.push(C)}),P.remove("$ref"),P.setMetaProperty("ref-fields",{$ref:De(e.$ref)}),P.setMetaProperty("ref-origin",c.uri),P.setMetaProperty("ref-referencing-element-id",Ge(Oa.identify(e))),P};if(s.includes(e)||s.includes(y)){var _;const $=(_=s.findItem(WS(e)))!==null&&_!==void 0?_:b(y);return mi(r)?r.value=$:Array.isArray(r)&&(r[t]=$),!1}return b(y)},async LinkElement(e){if(!Ft(e.operationRef)&&!Ft(e.operationId))return;if(Ft(e.operationRef)&&Ft(e.operationId))throw new Kr("LinkElement operationRef and operationId fields are mutually exclusive.");let t;if(Ft(e.operationRef)){var r;const i=Mn(De(e.operationRef)),s=this.toBaseURI(De(e.operationRef));if(!this.options.resolve.external&&qr(this.reference.uri)!==s)return;const o=await this.toReference(De(e.operationRef));if(t=Jn(i,o.value.result),Uo(t)){const c=`operation-${De(Oa.identify(t))}`;this.refractCache.has(c)?t=this.refractCache.get(c):(t=Hh.refract(t),this.refractCache.set(c,t))}t=Kn(t),t.setMetaProperty("ref-origin",o.uri);const l=Kn(e);return(r=l.operationRef)===null||r===void 0||r.meta.set("operation",t),l}if(Ft(e.operationId)){var n;const i=De(e.operationId),s=await this.toReference(on(this.reference.uri));if(t=D6(l=>z8(l)&&un(l.operationId)&&l.operationId.equals(i),s.value.result),oa(t))throw new Kr(`OperationElement(operationId=${i}) not found.`);const o=Kn(e);return(n=o.operationId)===null||n===void 0||n.meta.set("operation",t),o}},async ExampleElement(e,t,r,n,i){const[s]=this.toAncestorLineage([...i,r]);if(!Ft(e.externalValue))return;if(s.includesCycle(e))return!1;if(e.hasKey("value")&&Ft(e.externalValue))throw new Kr("ExampleElement value and externalValue fields are mutually exclusive.");const o=this.toBaseURI(De(e.externalValue));if(!this.options.resolve.external&&qr(this.reference.uri)!==o)return;const l=await this.toReference(De(e.externalValue)),c=Kn(l.value.result);c.setMetaProperty("ref-origin",l.uri);const h=Kn(e);return h.value=c,h},async SchemaElement(e,t,r,n,i){const[s,o]=this.toAncestorLineage([...i,r]);if(!Ft(e.$ref))return;if(s.includesCycle(e))return!1;let l=await this.toReference(on(this.reference.uri)),{uri:c}=l;const h=cv(c,e),v=qr(h),y=nu({uri:v}),S=g_(C=>C.canRead(y),this.options.resolve.resolvers),b=!S,_=C=>qr(this.reference.uri)!==C;this.indirections.push(e);let $;try{if(S||b)$=Gh(h,cs(l.value.result));else{if(c=this.toBaseURI(De(h)),!this.options.resolve.external&&_(c))return;l=await this.toReference(on(h));const C=Mn(h);$=cs(Jn(C,l.value.result))}}catch(C){if(b&&C instanceof vd)if(Jh(Ya(h))){if(c=this.toBaseURI(De(h)),!this.options.resolve.external&&_(c))return;l=await this.toReference(on(h));const j=Ya(h);$=K1(j,cs(l.value.result))}else{if(c=this.toBaseURI(De(h)),!this.options.resolve.external&&_(c))return;l=await this.toReference(on(h));const j=Mn(h);$=cs(Jn(j,l.value.result))}else throw C}if(this.indirections.includes($))throw new Kr("Recursive Schema Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Vo(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);o.add(e);const P=Cc({reference:l,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:s});if($=await qS($,P,{keyMap:gi,nodeTypeGetter:Yn}),o.delete(e),this.indirections.pop(),cC($)){const C=Ge($);return C.setMetaProperty("ref-fields",{$ref:De(e.$ref)}),C.setMetaProperty("ref-origin",l.uri),C.setMetaProperty("ref-referencing-element-id",Ge(Oa.identify(e))),C}const x=C=>{const j=new Jo([...C.content],Ge(C.meta),Ge(C.attributes));return e.forEach((U,z,J)=>{j.remove(De(z)),j.content.push(J)}),j.remove("$ref"),j.setMetaProperty("ref-fields",{$ref:De(e.$ref)}),j.setMetaProperty("ref-origin",l.uri),j.setMetaProperty("ref-referencing-element-id",Ge(Oa.identify(e))),j};if(s.includes(e)||s.includes($)){var A;const C=(A=s.findItem(WS(e)))!==null&&A!==void 0?A:x($);return mi(r)?r.value=C:Array.isArray(r)&&(r[t]=C),!1}return x($)}}}),T6e=$n[Symbol.for("nodejs.util.promisify.custom")],P6e=Vt(kke,{init(){this.name="openapi-3-1"},methods:{canDereference(e){var t;return e.mediaType!=="text/plain"?iu.includes(e.mediaType):uC((t=e.parseResult)===null||t===void 0?void 0:t.result)},async dereference(e,t){const r=hf(q1),n=ru(r1(),t.dereference.refSet);let i;n.has(e.uri)?i=n.find(J0(e.uri,"uri")):(i=yf({uri:e.uri,value:e.parseResult}),n.add(i));const s=Cc({reference:i,namespace:r,options:t}),o=await T6e(n.rootRef.value,s,{keyMap:gi,nodeTypeGetter:Yn});return t.dereference.refSet===null&&n.clean(),o}}}),J8=P6e,R6e=e=>e.slice(2),ks=e=>{const t=R6e(e);return t.reduce((r,n,i)=>{if(mi(n)){const s=String(De(n.key));r.push(s)}else if(Ni(t[i-2])){const s=t[i-2].content.indexOf(n);r.push(s)}return r},[])},mg=e=>{if(e.cause==null)return e;let{cause:t}=e;for(;t.cause!=null;)t=t.cause;return t},I6e=DO("SchemaRefError",function(t,r,n){this.originalError=n,Object.assign(this,r||{})}),{wrapError:KS}=FO,HS=$n[Symbol.for("nodejs.util.promisify.custom")],Np=jO(),JS=e=>t=>t.meta.hasKey("ref-referencing-element-id")&&t.meta.get("ref-referencing-element-id").equals(De(Np.identify(e))),ny=Cc.compose({props:{useCircularStructures:!0,allowMetaPatches:!1,basePath:null},init({allowMetaPatches:e=this.allowMetaPatches,useCircularStructures:t=this.useCircularStructures,basePath:r=this.basePath}){this.allowMetaPatches=e,this.useCircularStructures=t,this.basePath=r},methods:{async ReferenceElement(e,t,r,n,i){try{var s;const[v,y]=this.toAncestorLineage([...i,r]);if(Ac(["cycle"],e.$ref)||v.includesCycle(e)||!this.options.resolve.external&&W8(e))return!1;const S=await this.toReference(De(e.$ref)),{uri:b}=S,_=gn(b,De(e.$ref));this.indirections.push(e);const $=Mn(_);let P=Jn($,S.value.result);if(Uo(P)){const C=De(e.meta.get("referenced-element"));wr(P)?(P=Eo.refract(P),P.setMetaProperty("referenced-element",C)):P=this.namespace.getElementClass(C).refract(P)}if(this.indirections.includes(P))throw new Kr("Recursive JSON Pointer detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Vo(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(!this.useCircularStructures&&v.includes(P)){if(_c(b)||Vp(b)){const j=new Eo({$ref:_},Ge(e.meta),Ge(e.attributes));return j.get("$ref").classes.push("cycle"),j}return!1}y.add(e);const x=ny({reference:S,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:v,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:(s=this.basePath)!==null&&s!==void 0?s:[...ks([...i,r,e]),"$ref"]});P=await HS(P,x,{keyMap:gi,nodeTypeGetter:Yn}),y.delete(e),this.indirections.pop();const A=C=>{const j=Kn(C);if(j.setMetaProperty("ref-fields",{$ref:De(e.$ref),description:De(e.description),summary:De(e.summary)}),j.setMetaProperty("ref-origin",S.uri),j.setMetaProperty("ref-referencing-element-id",Ge(Np.identify(e))),Zt(C)&&(e.hasKey("description")&&"description"in C&&(j.remove("description"),j.set("description",e.get("description"))),e.hasKey("summary")&&"summary"in C&&(j.remove("summary"),j.set("summary",e.get("summary")))),this.allowMetaPatches&&Zt(j)&&!j.hasKey("$$ref")){const U=gn(b,_);j.set("$$ref",U)}return j};if(v.includes(e)||v.includes(P)){var o;const C=(o=v.findItem(JS(e)))!==null&&o!==void 0?o:A(P);return mi(r)?r.value=C:Array.isArray(r)&&(r[t]=C),!1}return A(P)}catch(v){var l,c,h;const y=mg(v),S=KS(y,{baseDoc:this.reference.uri,$ref:De(e.$ref),pointer:Mn(De(e.$ref)),fullPath:(l=this.basePath)!==null&&l!==void 0?l:[...ks([...i,r,e]),"$ref"]});(c=this.options.dereference.dereferenceOpts)===null||c===void 0||(c=c.errors)===null||c===void 0||(h=c.push)===null||h===void 0||h.call(c,S);return}},async PathItemElement(e,t,r,n,i){try{var s;const[v,y]=this.toAncestorLineage([...i,r]);if(!Ft(e.$ref))return;if(Ac(["cycle"],e.$ref)||v.includesCycle(e))return!1;if(!this.options.resolve.external&&q8(e))return;const S=await this.toReference(De(e.$ref)),{uri:b}=S,_=gn(b,De(e.$ref));this.indirections.push(e);const $=Mn(_);let P=Jn($,S.value.result);if(Uo(P)&&(P=po.refract(P)),this.indirections.includes(P))throw new Kr("Recursive JSON Pointer detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Vo(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(!this.useCircularStructures&&v.includes(P)){if(_c(b)||Vp(b)){const j=new po({$ref:_},Ge(e.meta),Ge(e.attributes));return j.get("$ref").classes.push("cycle"),j}return!1}y.add(e);const x=ny({reference:S,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:v,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:(s=this.basePath)!==null&&s!==void 0?s:[...ks([...i,r,e]),"$ref"]});P=await HS(P,x,{keyMap:gi,nodeTypeGetter:Yn}),y.delete(e),this.indirections.pop();const A=C=>{const j=new po([...C.content],Ge(C.meta),Ge(C.attributes));if(e.forEach((U,z,J)=>{j.remove(De(z)),j.content.push(J)}),j.remove("$ref"),j.setMetaProperty("ref-fields",{$ref:De(e.$ref)}),j.setMetaProperty("ref-origin",S.uri),j.setMetaProperty("ref-referencing-element-id",Ge(Np.identify(e))),this.allowMetaPatches&&typeof j.get("$$ref")>"u"){const U=gn(b,_);j.set("$$ref",U)}return j};if(v.includes(e)||v.includes(P)){var o;const C=(o=v.findItem(JS(e)))!==null&&o!==void 0?o:A(P);return mi(r)?r.value=C:Array.isArray(r)&&(r[t]=C),!1}return A(P)}catch(v){var l,c,h;const y=mg(v),S=KS(y,{baseDoc:this.reference.uri,$ref:De(e.$ref),pointer:Mn(De(e.$ref)),fullPath:(l=this.basePath)!==null&&l!==void 0?l:[...ks([...i,r,e]),"$ref"]});(c=this.options.dereference.dereferenceOpts)===null||c===void 0||(c=c.errors)===null||c===void 0||(h=c.push)===null||h===void 0||h.call(c,S);return}},async SchemaElement(e,t,r,n,i){try{var s;const[v,y]=this.toAncestorLineage([...i,r]);if(!Ft(e.$ref))return;if(Ac(["cycle"],e.$ref)||v.includesCycle(e))return!1;let S=await this.toReference(on(this.reference.uri)),{uri:b}=S;const _=cv(b,e),$=qr(_),P=nu({uri:$}),x=!this.options.resolve.resolvers.some(J=>J.canRead(P)),A=!x,C=A&&b!==$;if(!this.options.resolve.external&&C)return;this.indirections.push(e);let j;try{if(x||A)j=Gh(_,cs(S.value.result));else{S=await this.toReference(on(_)),b=S.uri;const J=Mn(_);j=cs(Jn(J,S.value.result))}}catch(J){if(A&&J instanceof vd)if(Jh(Ya(_))){S=await this.toReference(on(_)),b=S.uri;const ee=Ya(_);j=K1(ee,cs(S.value.result))}else{S=await this.toReference(on(_)),b=S.uri;const ee=Mn(_);j=cs(Jn(ee,S.value.result))}else throw J}if(this.indirections.includes(j))throw new Kr("Recursive Schema Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Vo(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(!this.useCircularStructures&&v.includes(j)){if(_c(b)||Vp(b)){const ee=gn(b,_),Q=new Jo({$ref:ee},Ge(e.meta),Ge(e.attributes));return Q.get("$ref").classes.push("cycle"),Q}return!1}y.add(e);const U=ny({reference:S,namespace:this.namespace,indirections:[...this.indirections],options:this.options,useCircularStructures:this.useCircularStructures,allowMetaPatches:this.allowMetaPatches,ancestors:v,basePath:(s=this.basePath)!==null&&s!==void 0?s:[...ks([...i,r,e]),"$ref"]});if(j=await HS(j,U,{keyMap:gi,nodeTypeGetter:Yn}),y.delete(e),this.indirections.pop(),cC(j)){const J=Ge(j);return J.setMetaProperty("ref-fields",{$ref:De(e.$ref)}),J.setMetaProperty("ref-origin",S.uri),J.setMetaProperty("ref-referencing-element-id",Ge(Np.identify(e))),J}const z=J=>{const ee=new Jo([...J.content],Ge(J.meta),Ge(J.attributes));if(e.forEach((Q,f,ce)=>{ee.remove(De(f)),ee.content.push(ce)}),ee.remove("$ref"),ee.setMetaProperty("ref-fields",{$ref:De(e.$ref)}),ee.setMetaProperty("ref-origin",S.uri),ee.setMetaProperty("ref-referencing-element-id",Ge(Np.identify(e))),this.allowMetaPatches&&typeof ee.get("$$ref")>"u"){const Q=gn(b,_);ee.set("$$ref",Q)}return ee};if(v.includes(e)||v.includes(j)){var o;const J=(o=v.findItem(JS(e)))!==null&&o!==void 0?o:z(j);return mi(r)?r.value=J:Array.isArray(r)&&(r[t]=J),!1}return z(j)}catch(v){var l,c,h;const y=mg(v),S=new I6e(`Could not resolve reference: ${y.message}`,{baseDoc:this.reference.uri,$ref:De(e.$ref),fullPath:(l=this.basePath)!==null&&l!==void 0?l:[...ks([...i,r,e]),"$ref"]},y);(c=this.options.dereference.dereferenceOpts)===null||c===void 0||(c=c.errors)===null||c===void 0||(h=c.push)===null||h===void 0||h.call(c,S);return}},async LinkElement(){},async ExampleElement(e,t,r,n,i){try{return await Cc.compose.methods.ExampleElement.call(this,e,t,r,n,i)}catch(c){var s,o,l;const h=mg(c),v=KS(h,{baseDoc:this.reference.uri,externalValue:De(e.externalValue),fullPath:(s=this.basePath)!==null&&s!==void 0?s:[...ks([...i,r,e]),"externalValue"]});(o=this.options.dereference.dereferenceOpts)===null||o===void 0||(o=o.errors)===null||o===void 0||(l=o.push)===null||l===void 0||l.call(o,v);return}}}}),fC=J8.compose.bind(),N6e=fC({init({parameterMacro:e,options:t}){this.parameterMacro=e,this.options=t},props:{parameterMacro:null,options:null,macroOperation:null,OperationElement:{enter(e){this.macroOperation=e},leave(){this.macroOperation=null}},ParameterElement:{leave(e,t,r,n,i){const s=this.macroOperation===null?null:De(this.macroOperation),o=De(e);try{const h=this.parameterMacro(s,o);e.set("default",h)}catch(h){var l,c;const v=new Error(h,{cause:h});v.fullPath=ks([...i,r]),(l=this.options.dereference.dereferenceOpts)===null||l===void 0||(l=l.errors)===null||l===void 0||(c=l.push)===null||c===void 0||c.call(l,v)}}}}}),j6e=fC({init({modelPropertyMacro:e,options:t}){this.modelPropertyMacro=e,this.options=t},props:{modelPropertyMacro:null,options:null,SchemaElement:{leave(e,t,r,n,i){typeof e.properties>"u"||Zt(e.properties)&&e.properties.forEach(s=>{if(Zt(s))try{const c=this.modelPropertyMacro(De(s));s.set("default",c)}catch(c){var o,l;const h=new Error(c,{cause:c});h.fullPath=[...ks([...i,r,e]),"properties"],(o=this.options.dereference.dereferenceOpts)===null||o===void 0||(o=o.errors)===null||o===void 0||(l=o.push)===null||l===void 0||l.call(o,h)}})}}}}),M6e=fC({init({options:e}){this.options=e},props:{options:null,SchemaElement:{leave(e,t,r,n,i){if(typeof e.allOf>"u")return;if(!Ni(e.allOf)){var s,o;const y=new TypeError("allOf must be an array");y.fullPath=[...ks([...i,r,e]),"allOf"],(s=this.options.dereference.dereferenceOpts)===null||s===void 0||(s=s.errors)===null||s===void 0||(o=s.push)===null||o===void 0||o.call(s,y);return}if(e.allOf.isEmpty)return new Jo(e.content.filter(y=>De(y.key)!=="allOf"),Ge(e.meta),Ge(e.attributes));if(!e.allOf.content.every(Af)){var c,h;const y=new TypeError("Elements in allOf must be objects");y.fullPath=[...ks([...i,r,e]),"allOf"],(c=this.options.dereference.dereferenceOpts)===null||c===void 0||(c=c.errors)===null||c===void 0||(h=c.push)===null||h===void 0||h.call(c,y);return}const v=yo.all([...e.allOf.content,e]);if(e.hasKey("$$ref")||v.remove("$$ref"),e.hasKey("example")){const y=v.getMember("example");y.value=e.get("example")}if(e.hasKey("examples")){const y=v.getMember("examples");y.value=e.get("examples")}return v.remove("allOf"),v}}}}),D6e=$n[Symbol.for("nodejs.util.promisify.custom")],F6e=J8.compose({props:{useCircularStructures:!0,allowMetaPatches:!1,parameterMacro:null,modelPropertyMacro:null,mode:"non-strict",ancestors:null},init({useCircularStructures:e=this.useCircularStructures,allowMetaPatches:t=this.allowMetaPatches,parameterMacro:r=this.parameterMacro,modelPropertyMacro:n=this.modelPropertyMacro,mode:i=this.mode,ancestors:s=[]}={}){this.name="openapi-3-1-swagger-client",this.useCircularStructures=e,this.allowMetaPatches=t,this.parameterMacro=r,this.modelPropertyMacro=n,this.mode=i,this.ancestors=[...s]},methods:{async dereference(e,t){var r;const n=[],i=hf(q1),s=(r=t.dereference.refSet)!==null&&r!==void 0?r:r1();let o;s.has(e.uri)?o=s.find(v=>v.uri===e.uri):(o=yf({uri:e.uri,value:e.parseResult}),s.add(o));const l=ny({reference:o,namespace:i,options:t,useCircularStructures:this.useCircularStructures,allowMetaPatches:this.allowMetaPatches,ancestors:this.ancestors});if(n.push(l),typeof this.parameterMacro=="function"){const v=N6e({parameterMacro:this.parameterMacro,options:t});n.push(v)}if(typeof this.modelPropertyMacro=="function"){const v=j6e({modelPropertyMacro:this.modelPropertyMacro,options:t});n.push(v)}if(this.mode!=="strict"){const v=M6e({options:t});n.push(v)}const c=k6(n,{nodeTypeGetter:Yn}),h=await D6e(s.rootRef.value,c,{keyMap:gi,nodeTypeGetter:Yn});return t.dereference.refSet===null&&s.clean(),h}}}),pC=async e=>{const{spec:t,timeout:r,redirects:n,requestInterceptor:i,responseInterceptor:s,pathDiscriminator:o=[],allowMetaPatches:l=!1,useCircularStructures:c=!1,skipNormalization:h=!1,parameterMacro:v=null,modelPropertyMacro:y=null,mode:S="non-strict"}=e;try{const{cache:b}=pC,_=_c(w_())?w_():Zy,$=GO(e),P=gn(_,$);let x;b.has(t)?x=b.get(t):(x=al.refract(t),x.classes.push("result"),b.set(t,x));const A=new js([x]),C=EIe(o),j=C===""?"":`#${C}`,U=Jn(C,x),z=yf({uri:P,value:A}),J=r1({refs:[z]});C!==""&&(J.rootRef=null);const ee=[new Set([U])],Q=[],f=await Bke(U,{resolve:{baseURI:`${P}${j}`,resolvers:[A6e({timeout:r||1e4,redirects:n||10})],resolverOpts:{swaggerHTTPClientConfig:{requestInterceptor:i,responseInterceptor:s}},strategies:[w6e()]},parse:{mediaType:iu.latest(),parsers:[$6e({allowEmpty:!1,sourceMap:!1}),k6e({allowEmpty:!1,sourceMap:!1}),O6e({allowEmpty:!1,sourceMap:!1}),C6e({allowEmpty:!1,sourceMap:!1}),v6e({allowEmpty:!1,sourceMap:!1})]},dereference:{maxDepth:100,strategies:[F6e({allowMetaPatches:l,useCircularStructures:c,parameterMacro:v,modelPropertyMacro:y,mode:S,ancestors:ee})],refSet:J,dereferenceOpts:{errors:Q}}}),ce=dke(U,f,x),L=h?ce:H8(ce);return{spec:De(L),errors:Q}}catch(b){if(b instanceof G_||b instanceof Ip)return{spec:null,errors:[]};throw b}};pC.cache=new WeakMap;const L6e={name:"openapi-3-1-apidom",match({spec:e}){return T8(e)},normalize({spec:e}){return Hp(H8)(e)},async resolve(e){return pC(e)}},B6e=async e=>{const{spec:t,requestInterceptor:r,responseInterceptor:n}=e,i=GO(e),s=C8(e),o=t||await n8(s,{requestInterceptor:r,responseInterceptor:n})(i),l={...e,spec:o};return e.strategies.find(h=>h.match(l)).resolve(l)},G8=e=>async t=>{const r={...e,...t};return B6e(r)},U6e=G8({strategies:[I8,R8,$8]});var dC={};/*! + * cookie + * Copyright(c) 2012-2014 Roman Shtylman + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */dC.parse=z6e;dC.serialize=q6e;var V6e=Object.prototype.toString,gg=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function z6e(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var r={},n=t||{},i=n.decode||W6e,s=0;s + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */function _j(e){return Object.prototype.toString.call(e)==="[object Object]"}function Y8(e){var t,r;return _j(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(_j(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}const G6e={body:Y6e,header:Q6e,query:e8e,path:Z6e,formData:X6e};function Y6e({req:e,value:t}){e.body=t}function X6e({req:e,value:t,parameter:r}){(t||r.allowEmptyValue)&&(e.form=e.form||{},e.form[r.name]={value:t,allowEmptyValue:r.allowEmptyValue,collectionFormat:r.collectionFormat})}function Q6e({req:e,parameter:t,value:r}){e.headers=e.headers||{},typeof r<"u"&&(e.headers[t.name]=r)}function Z6e({req:e,value:t,parameter:r}){e.url=e.url.split(`{${r.name}}`).join(encodeURIComponent(t))}function e8e({req:e,value:t,parameter:r}){if(e.query=e.query||{},t===!1&&r.type==="boolean"&&(t="false"),t===0&&["number","integer"].indexOf(r.type)>-1&&(t="0"),t)e.query[r.name]={collectionFormat:r.collectionFormat,value:t};else if(r.allowEmptyValue&&t!==void 0){const n=r.name;e.query[n]=e.query[n]||{},e.query[n].allowEmptyValue=!0}}function H1(e,t){return t.includes("application/json")?typeof e=="string"?e:JSON.stringify(e):e.toString()}function t8e({req:e,value:t,parameter:r}){const{name:n,style:i,explode:s,content:o}=r;if(o){const c=Object.keys(o)[0];e.url=e.url.split(`{${n}}`).join(zc(H1(t,c),{escape:!0}));return}const l=HO({key:r.name,value:t,style:i||"simple",explode:s||!1,escape:!0});e.url=e.url.split(`{${n}}`).join(l)}function r8e({req:e,value:t,parameter:r}){if(e.query=e.query||{},r.content){const n=Object.keys(r.content)[0],i=H1(t,n);if(i)e.query[r.name]=i;else if(r.allowEmptyValue&&t!==void 0){const s=r.name;e.query[s]=e.query[s]||{},e.query[s].allowEmptyValue=!0}return}if(t===!1&&(t="false"),t===0&&(t="0"),t){const{style:n,explode:i,allowReserved:s}=r;e.query[r.name]={value:t,serializationOption:{style:n,explode:i,allowReserved:s}}}else if(r.allowEmptyValue&&t!==void 0){const n=r.name;e.query[n]=e.query[n]||{},e.query[n].allowEmptyValue=!0}}const n8e=["accept","authorization","content-type"];function i8e({req:e,parameter:t,value:r}){if(e.headers=e.headers||{},!(n8e.indexOf(t.name.toLowerCase())>-1)){if(t.content){const n=Object.keys(t.content)[0];e.headers[t.name]=H1(r,n);return}r!==void 0&&!(Array.isArray(r)&&r.length===0)&&(e.headers[t.name]=HO({key:t.name,value:r,style:t.style||"simple",explode:typeof t.explode>"u"?!1:t.explode,escape:!1}))}}function s8e({req:e,parameter:t,value:r}){e.headers=e.headers||{};const n=typeof r;if(t.content){const i=Object.keys(t.content)[0];e.headers.Cookie=`${t.name}=${H1(r,i)}`;return}if(r!==void 0&&!(Array.isArray(r)&&r.length===0)){const i=n==="object"&&!Array.isArray(r)&&t.explode?"":`${t.name}=`;e.headers.Cookie=i+HO({key:t.name,value:r,escape:!1,style:t.style||"form",explode:typeof t.explode>"u"?!1:t.explode})}}const o8e=Object.freeze(Object.defineProperty({__proto__:null,cookie:s8e,header:i8e,path:t8e,query:r8e},Symbol.toStringTag,{value:"Module"})),a8e=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,{btoa:X8}=a8e;function l8e(e,t){const{operation:r,requestBody:n,securities:i,spec:s,attachContentTypeForEmptyPayload:o}=e;let{requestContentType:l}=e;t=u8e({request:t,securities:i,operation:r,spec:s});const c=r.requestBody||{},h=Object.keys(c.content||{}),v=l&&h.indexOf(l)>-1;if(n||o){if(l&&v)t.headers["Content-Type"]=l;else if(!l){const b=h[0];b&&(t.headers["Content-Type"]=b,l=b)}}else l&&v&&(t.headers["Content-Type"]=l);if(!e.responseContentType&&r.responses){const b=Object.entries(r.responses).filter(([_,$])=>{const P=parseInt(_,10);return P>=200&&P<300&&Y8($.content)}).reduce((_,[,$])=>_.concat(Object.keys($.content)),[]);b.length>0&&(t.headers.accept=b.join(", "))}if(n)if(l){if(h.indexOf(l)>-1)if(l==="application/x-www-form-urlencoded"||l==="multipart/form-data")if(typeof n=="object"){var y,S;const b=(y=(S=c.content[l])===null||S===void 0?void 0:S.encoding)!==null&&y!==void 0?y:{};t.form={},Object.keys(n).forEach(_=>{t.form[_]={value:n[_],encoding:b[_]||{}}})}else t.form=n;else t.body=n}else t.body=n;return t}function u8e({request:e,securities:t={},operation:r={},spec:n}){var i;const s={...e},{authorized:o={}}=t,l=r.security||n.security||[],c=o&&!!Object.keys(o).length,h=(n==null||(i=n.components)===null||i===void 0?void 0:i.securitySchemes)||{};return s.headers=s.headers||{},s.query=s.query||{},!Object.keys(t).length||!c||!l||Array.isArray(r.security)&&!r.security.length?e:(l.forEach(v=>{Object.keys(v).forEach(y=>{const S=o[y],b=h[y];if(!S)return;const _=S.value||S,{type:$}=b;if(S){if($==="apiKey")b.in==="query"&&(s.query[b.name]=_),b.in==="header"&&(s.headers[b.name]=_),b.in==="cookie"&&(s.cookies[b.name]=_);else if($==="http"){if(/^basic$/i.test(b.scheme)){const P=_.username||"",x=_.password||"",A=X8(`${P}:${x}`);s.headers.Authorization=`Basic ${A}`}/^bearer$/i.test(b.scheme)&&(s.headers.Authorization=`Bearer ${_}`)}else if($==="oauth2"||$==="openIdConnect"){const P=S.token||{},x=b["x-tokenName"]||"access_token",A=P[x];let C=P.token_type;(!C||C.toLowerCase()==="bearer")&&(C="Bearer"),s.headers.Authorization=`${C} ${A}`}}})}),s)}function c8e(e,t){const{spec:r,operation:n,securities:i,requestContentType:s,responseContentType:o,attachContentTypeForEmptyPayload:l}=e;if(t=f8e({request:t,securities:i,operation:n,spec:r}),t.body||t.form||l)s?t.headers["Content-Type"]=s:Array.isArray(n.consumes)?[t.headers["Content-Type"]]=n.consumes:Array.isArray(r.consumes)?[t.headers["Content-Type"]]=r.consumes:n.parameters&&n.parameters.filter(c=>c.type==="file").length?t.headers["Content-Type"]="multipart/form-data":n.parameters&&n.parameters.filter(c=>c.in==="formData").length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(s){const c=n.parameters&&n.parameters.filter(v=>v.in==="body").length>0,h=n.parameters&&n.parameters.filter(v=>v.in==="formData").length>0;(c||h)&&(t.headers["Content-Type"]=s)}return!o&&Array.isArray(n.produces)&&n.produces.length>0&&(t.headers.accept=n.produces.join(", ")),t}function f8e({request:e,securities:t={},operation:r={},spec:n}){const i={...e},{authorized:s={},specSecurity:o=[]}=t,l=r.security||o,c=s&&!!Object.keys(s).length,h=n.securityDefinitions;return i.headers=i.headers||{},i.query=i.query||{},!Object.keys(t).length||!c||!l||Array.isArray(r.security)&&!r.security.length?e:(l.forEach(v=>{Object.keys(v).forEach(y=>{const S=s[y];if(!S)return;const{token:b}=S,_=S.value||S,$=h[y],{type:P}=$,x=$["x-tokenName"]||"access_token",A=b&&b[x];let C=b&&b.token_type;if(S)if(P==="apiKey"){const j=$.in==="query"?"query":"headers";i[j]=i[j]||{},i[j][$.name]=_}else if(P==="basic")if(_.header)i.headers.authorization=_.header;else{const j=_.username||"",U=_.password||"";_.base64=X8(`${j}:${U}`),i.headers.authorization=`Basic ${_.base64}`}else P==="oauth2"&&A&&(C=!C||C.toLowerCase()==="bearer"?"Bearer":C,i.headers.authorization=`${C} ${A}`)})}),i)}function p8e(e,t,r){if(!e||typeof e!="object"||!e.paths||typeof e.paths!="object")return null;const{paths:n}=e;for(const i in n)for(const s in n[i]){if(s.toUpperCase()==="PARAMETERS")continue;const o=n[i][s];if(!o||typeof o!="object")continue;const l={spec:e,pathName:i,method:s.toUpperCase(),operation:o},c=t(l);if(r&&c)return l}}function d8e(e,t){return p8e(e,t,!0)||null}function Q8(e,t){return`${t.toLowerCase()}-${e}`}function h8e(e,t){return!e||!e.paths?null:d8e(e,({pathName:r,method:n,operation:i})=>{if(!i||typeof i!="object")return!1;const s=i.operationId,o=o1(i,r,n),l=Q8(r,n);return[o,l,s].some(c=>c&&c===t)})}const xj=e=>Array.isArray(e)?e:[],iy=e=>{try{return new URL(e)}catch{const t=new URL(e,Zy),r=String(e).startsWith("/")?t.pathname:t.pathname.substring(1);return{hash:t.hash,host:"",hostname:"",href:"",origin:"",password:"",pathname:r,port:"",protocol:"",search:t.search,searchParams:t.searchParams}}},m8e=DO("OperationNotFoundError",function(t,r,n){this.originalError=n,Object.assign(this,r||{})}),g8e=(e,t)=>t.filter(r=>r.name===e),y8e=e=>{const t={};e.forEach(n=>{t[n.in]||(t[n.in]={}),t[n.in][n.name]=n});const r=[];return Object.keys(t).forEach(n=>{Object.keys(t[n]).forEach(i=>{r.push(t[n][i])})}),r},v8e={buildRequest:Z8};function b8e({http:e,fetch:t,spec:r,operationId:n,pathName:i,method:s,parameters:o,securities:l,...c}){const h=e||t||l1;i&&s&&!n&&(n=Q8(i,s));const v=v8e.buildRequest({spec:r,operationId:n,parameters:o,securities:l,http:h,...c});return v.body&&(Y8(v.body)||Array.isArray(v.body))&&(v.body=JSON.stringify(v.body)),h(v)}function Z8(e){const{spec:t,operationId:r,responseContentType:n,scheme:i,requestInterceptor:s,responseInterceptor:o,contextUrl:l,userFetch:c,server:h,serverVariables:v,http:y,signal:S}=e;let{parameters:b,parameterBuilders:_}=e;const $=P8(t);_||($?_=o8e:_=G6e);let x={url:"",credentials:y&&y.withCredentials?"include":"same-origin",headers:{},cookies:{}};S&&(x.signal=S),s&&(x.requestInterceptor=s),o&&(x.responseInterceptor=o),c&&(x.userFetch=c);const A=h8e(t,r);if(!A)throw new m8e(`Operation ${r} not found`);const{operation:C={},method:j,pathName:U}=A;if(x.url+=E8e({spec:t,scheme:i,contextUrl:l,server:h,serverVariables:v,pathName:U,method:j}),!r)return delete x.cookies,x;x.url+=U,x.method=`${j}`.toUpperCase(),b=b||{};const z=t.paths[U]||{};n&&(x.headers.accept=n);const J=y8e([].concat(xj(C.parameters)).concat(xj(z.parameters)));J.forEach(Q=>{const f=_[Q.in];let ce;if(Q.in==="body"&&Q.schema&&Q.schema.properties&&(ce=b),ce=Q&&Q.name&&b[Q.name],typeof ce>"u"?ce=Q&&Q.name&&b[`${Q.in}.${Q.name}`]:g8e(Q.name,J).length>1&&console.warn(`Parameter '${Q.name}' is ambiguous because the defined spec has more than one parameter with the name: '${Q.name}' and the passed-in parameter values did not define an 'in' value.`),ce!==null){if(typeof Q.default<"u"&&typeof ce>"u"&&(ce=Q.default),typeof ce>"u"&&Q.required&&!Q.allowEmptyValue)throw new Error(`Required parameter ${Q.name} is not provided`);if($&&Q.schema&&Q.schema.type==="object"&&typeof ce=="string")try{ce=JSON.parse(ce)}catch{throw new Error("Could not parse object parameter value string as JSON")}f&&f({req:x,parameter:Q,value:ce,operation:C,spec:t})}});const ee={...e,operation:C};if($?x=l8e(ee,x):x=c8e(ee,x),x.cookies&&Object.keys(x.cookies).length){const Q=Object.keys(x.cookies).reduce((f,ce)=>{const L=x.cookies[ce],Fe=f?"&":"",Xe=dC.serialize(ce,L);return f+Fe+Xe},"");x.headers.Cookie=Q}return x.cookies&&delete x.cookies,O8(x),x}const kx=e=>e?e.replace(/\W/g,""):null;function E8e(e){return P8(e.spec)?S8e(e):x8e(e)}const GS=e=>Array.isArray(e)&&e.length>0;function S8e({spec:e,pathName:t,method:r,server:n,contextUrl:i,serverVariables:s={}}){var o,l;let c=[],h="",v;const y=e==null||(o=e.paths)===null||o===void 0||(o=o[t])===null||o===void 0||(o=o[(r||"").toLowerCase()])===null||o===void 0?void 0:o.servers,S=e==null||(l=e.paths)===null||l===void 0||(l=l[t])===null||l===void 0?void 0:l.servers,b=e==null?void 0:e.servers;return c=GS(y)?y:GS(S)?S:GS(b)?b:[iTe],n&&(v=c.find(_=>_.url===n),v&&(h=n)),h||([v]=c,h=v.url),h.includes("{")&&_8e(h).forEach($=>{if(v.variables&&v.variables[$]){const P=v.variables[$],x=s[$]||P.default,A=new RegExp(`{${$}}`,"g");h=h.replace(A,x)}}),w8e(h,i)}function w8e(e="",t=""){const r=iy(e&&t?gn(t,e):e),n=iy(t),i=kx(r.protocol)||kx(n.protocol),s=r.host||n.host,o=r.pathname;let l;return i&&s?l=`${i}://${s+o}`:l=o,l[l.length-1]==="/"?l.slice(0,-1):l}function _8e(e){const t=[],r=/{([^}]+)}/g;let n;for(;n=r.exec(e);)t.push(n[1]);return t}function x8e({spec:e,scheme:t,contextUrl:r=""}){const n=iy(r),i=Array.isArray(e.schemes)?e.schemes[0]:null,s=t||i||kx(n.protocol)||"http",o=e.host||n.host||"",l=e.basePath||"";let c;return s&&o?c=`${s}://${o+l}`:c=l,c[c.length-1]==="/"?c.slice(0,-1):c}const A8e=async(e,t,r={})=>{const{returnEntireTree:n,baseDoc:i,requestInterceptor:s,responseInterceptor:o,parameterMacro:l,modelPropertyMacro:c,useCircularStructures:h,strategies:v}=r,y={spec:e,pathDiscriminator:t,baseDoc:i,requestInterceptor:s,responseInterceptor:o,parameterMacro:l,modelPropertyMacro:c,useCircularStructures:h,strategies:v},b=v.find($=>$.match(y)).normalize(y),_=await U6e({...y,spec:b,allowMetaPatches:!0,skipNormalization:!0});return!n&&Array.isArray(t)&&t.length&&(_.spec=t.reduce(($,P)=>$==null?void 0:$[P],_.spec)||null),_},O8e=e=>async(t,r,n={})=>{const i={...e,...n};return A8e(t,r,i)};var e4={exports:{}},Li={},t4={exports:{}},r4={};/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */(function(e){function t(ge,pe){var be=ge.length;ge.push(pe);e:for(;0>>1,Le=ge[ye];if(0>>1;yei(Z,be))Vi(q,Z)?(ge[ye]=q,ge[V]=be,ye=V):(ge[ye]=Z,ge[_e]=be,ye=_e);else if(Vi(q,be))ge[ye]=q,ge[V]=be,ye=V;else break e}}return pe}function i(ge,pe){var be=ge.sortIndex-pe.sortIndex;return be!==0?be:ge.id-pe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var c=[],h=[],v=1,y=null,S=3,b=!1,_=!1,$=!1,P=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,A=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(ge){for(var pe=r(h);pe!==null;){if(pe.callback===null)n(h);else if(pe.startTime<=ge)n(h),pe.sortIndex=pe.expirationTime,t(c,pe);else break;pe=r(h)}}function j(ge){if($=!1,C(ge),!_)if(r(c)!==null)_=!0,he(U);else{var pe=r(h);pe!==null&&de(j,pe.startTime-ge)}}function U(ge,pe){_=!1,$&&($=!1,x(ee),ee=-1),b=!0;var be=S;try{for(C(pe),y=r(c);y!==null&&(!(y.expirationTime>pe)||ge&&!ce());){var ye=y.callback;if(typeof ye=="function"){y.callback=null,S=y.priorityLevel;var Le=ye(y.expirationTime<=pe);pe=e.unstable_now(),typeof Le=="function"?y.callback=Le:y===r(c)&&n(c),C(pe)}else n(c);y=r(c)}if(y!==null)var se=!0;else{var _e=r(h);_e!==null&&de(j,_e.startTime-pe),se=!1}return se}finally{y=null,S=be,b=!1}}var z=!1,J=null,ee=-1,Q=5,f=-1;function ce(){return!(e.unstable_now()-fge||125ye?(ge.sortIndex=be,t(h,ge),r(c)===null&&ge===r(h)&&($?(x(ee),ee=-1):$=!0,de(j,be-ye))):(ge.sortIndex=Le,t(c,ge),_||b||(_=!0,he(U))),ge},e.unstable_shouldYield=ce,e.unstable_wrapCallback=function(ge){var pe=S;return function(){var be=S;S=pe;try{return ge.apply(this,arguments)}finally{S=be}}}})(r4);t4.exports=r4;var C8e=t4.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var n4=xn,ji=C8e;function He(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Tx=Object.prototype.hasOwnProperty,$8e=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Aj={},Oj={};function k8e(e){return Tx.call(Oj,e)?!0:Tx.call(Aj,e)?!1:$8e.test(e)?Oj[e]=!0:(Aj[e]=!0,!1)}function T8e(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function P8e(e,t,r,n){if(t===null||typeof t>"u"||T8e(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ii(e,t,r,n,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var Cn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Cn[e]=new ii(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Cn[t]=new ii(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Cn[e]=new ii(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Cn[e]=new ii(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Cn[e]=new ii(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Cn[e]=new ii(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Cn[e]=new ii(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Cn[e]=new ii(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Cn[e]=new ii(e,5,!1,e.toLowerCase(),null,!1,!1)});var hC=/[\-:]([a-z])/g;function mC(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(hC,mC);Cn[t]=new ii(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(hC,mC);Cn[t]=new ii(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(hC,mC);Cn[t]=new ii(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Cn[e]=new ii(e,1,!1,e.toLowerCase(),null,!1,!1)});Cn.xlinkHref=new ii("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Cn[e]=new ii(e,1,!1,e.toLowerCase(),null,!0,!0)});function gC(e,t,r,n){var i=Cn.hasOwnProperty(t)?Cn[t]:null;(i!==null?i.type!==0:n||!(2l||i[o]!==s[l]){var c=` +`+i[o].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=o&&0<=l);break}}}finally{XS=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?jp(e):""}function R8e(e){switch(e.tag){case 5:return jp(e.type);case 16:return jp("Lazy");case 13:return jp("Suspense");case 19:return jp("SuspenseList");case 0:case 2:case 15:return e=QS(e.type,!1),e;case 11:return e=QS(e.type.render,!1),e;case 1:return e=QS(e.type,!0),e;default:return""}}function Nx(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case cc:return"Fragment";case uc:return"Portal";case Px:return"Profiler";case yC:return"StrictMode";case Rx:return"Suspense";case Ix:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case o4:return(e.displayName||"Context")+".Consumer";case s4:return(e._context.displayName||"Context")+".Provider";case vC:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case bC:return t=e.displayName||null,t!==null?t:Nx(e.type)||"Memo";case $a:t=e._payload,e=e._init;try{return Nx(e(t))}catch{}}return null}function I8e(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Nx(t);case 8:return t===yC?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Xa(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function l4(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function N8e(e){var t=l4(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,s=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){n=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(o){n=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vg(e){e._valueTracker||(e._valueTracker=N8e(e))}function u4(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=l4(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function fv(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function jx(e,t){var r=t.checked;return Br({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function $j(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Xa(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function c4(e,t){t=t.checked,t!=null&&gC(e,"checked",t,!1)}function Mx(e,t){c4(e,t);var r=Xa(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Dx(e,t.type,r):t.hasOwnProperty("defaultValue")&&Dx(e,t.type,Xa(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function kj(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Dx(e,t,r){(t!=="number"||fv(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Mp=Array.isArray;function $c(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=bg.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function _d(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Jp={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},j8e=["Webkit","ms","Moz","O"];Object.keys(Jp).forEach(function(e){j8e.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Jp[t]=Jp[e]})});function h4(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Jp.hasOwnProperty(e)&&Jp[e]?(""+t).trim():t+"px"}function m4(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=h4(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var M8e=Br({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Bx(e,t){if(t){if(M8e[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(He(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(He(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(He(61))}if(t.style!=null&&typeof t.style!="object")throw Error(He(62))}}function Ux(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Vx=null;function EC(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zx=null,kc=null,Tc=null;function Rj(e){if(e=Qh(e)){if(typeof zx!="function")throw Error(He(280));var t=e.stateNode;t&&(t=Q1(t),zx(e.stateNode,e.type,t))}}function g4(e){kc?Tc?Tc.push(e):Tc=[e]:kc=e}function y4(){if(kc){var e=kc,t=Tc;if(Tc=kc=null,Rj(e),t)for(e=0;e>>=0,e===0?32:31-(H8e(e)/J8e|0)|0}var Eg=64,Sg=4194304;function Dp(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function mv(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,i=e.suspendedLanes,s=e.pingedLanes,o=r&268435455;if(o!==0){var l=o&~i;l!==0?n=Dp(l):(s&=o,s!==0&&(n=Dp(s)))}else o=r&~i,o!==0?n=Dp(o):s!==0&&(n=Dp(s));if(n===0)return 0;if(t!==0&&t!==n&&!(t&i)&&(i=n&-n,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function Yh(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Is(t),e[t]=r}function Q8e(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=Yp),Uj=" ",Vj=!1;function D4(e,t){switch(e){case"keyup":return O4e.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function F4(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var fc=!1;function $4e(e,t){switch(e){case"compositionend":return F4(t);case"keypress":return t.which!==32?null:(Vj=!0,Uj);case"textInput":return e=t.data,e===Uj&&Vj?null:e;default:return null}}function k4e(e,t){if(fc)return e==="compositionend"||!$C&&D4(e,t)?(e=j4(),oy=AC=Ma=null,fc=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Kj(r)}}function V4(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?V4(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function z4(){for(var e=window,t=fv();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=fv(e.document)}return t}function kC(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function F4e(e){var t=z4(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&V4(r.ownerDocument.documentElement,r)){if(n!==null&&kC(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=r.textContent.length,s=Math.min(n.start,i);n=n.end===void 0?s:Math.min(n.end,i),!e.extend&&s>n&&(i=n,n=s,s=i),i=Hj(r,s);var o=Hj(r,n);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>n?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,pc=null,Gx=null,Qp=null,Yx=!1;function Jj(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Yx||pc==null||pc!==fv(n)||(n=pc,"selectionStart"in n&&kC(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Qp&&kd(Qp,n)||(Qp=n,n=vv(Gx,"onSelect"),0mc||(e.current=r2[mc],r2[mc]=null,mc--)}function $r(e,t){mc++,r2[mc]=e.current,e.current=t}var Qa={},Ln=ul(Qa),yi=ul(!1),ou=Qa;function Kc(e,t){var r=e.type.contextTypes;if(!r)return Qa;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in r)i[s]=t[s];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function vi(e){return e=e.childContextTypes,e!=null}function Ev(){Ir(yi),Ir(Ln)}function tM(e,t,r){if(Ln.current!==Qa)throw Error(He(168));$r(Ln,t),$r(yi,r)}function Q4(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in t))throw Error(He(108,I8e(e)||"Unknown",i));return Br({},r,n)}function Sv(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Qa,ou=Ln.current,$r(Ln,e),$r(yi,yi.current),!0}function rM(e,t,r){var n=e.stateNode;if(!n)throw Error(He(169));r?(e=Q4(e,t,ou),n.__reactInternalMemoizedMergedChildContext=e,Ir(yi),Ir(Ln),$r(Ln,e)):Ir(yi),$r(yi,r)}var jo=null,Z1=!1,pw=!1;function Z4(e){jo===null?jo=[e]:jo.push(e)}function Y4e(e){Z1=!0,Z4(e)}function cl(){if(!pw&&jo!==null){pw=!0;var e=0,t=pr;try{var r=jo;for(pr=1;e>=o,i-=o,Fo=1<<32-Is(t)+i|r<ee?(Q=J,J=null):Q=J.sibling;var f=S(x,J,C[ee],j);if(f===null){J===null&&(J=Q);break}e&&J&&f.alternate===null&&t(x,J),A=s(f,A,ee),z===null?U=f:z.sibling=f,z=f,J=Q}if(ee===C.length)return r(x,J),jr&&Dl(x,ee),U;if(J===null){for(;eeee?(Q=J,J=null):Q=J.sibling;var ce=S(x,J,f.value,j);if(ce===null){J===null&&(J=Q);break}e&&J&&ce.alternate===null&&t(x,J),A=s(ce,A,ee),z===null?U=ce:z.sibling=ce,z=ce,J=Q}if(f.done)return r(x,J),jr&&Dl(x,ee),U;if(J===null){for(;!f.done;ee++,f=C.next())f=y(x,f.value,j),f!==null&&(A=s(f,A,ee),z===null?U=f:z.sibling=f,z=f);return jr&&Dl(x,ee),U}for(J=n(x,J);!f.done;ee++,f=C.next())f=b(J,x,ee,f.value,j),f!==null&&(e&&f.alternate!==null&&J.delete(f.key===null?ee:f.key),A=s(f,A,ee),z===null?U=f:z.sibling=f,z=f);return e&&J.forEach(function(L){return t(x,L)}),jr&&Dl(x,ee),U}function P(x,A,C,j){if(typeof C=="object"&&C!==null&&C.type===cc&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case yg:e:{for(var U=C.key,z=A;z!==null;){if(z.key===U){if(U=C.type,U===cc){if(z.tag===7){r(x,z.sibling),A=i(z,C.props.children),A.return=x,x=A;break e}}else if(z.elementType===U||typeof U=="object"&&U!==null&&U.$$typeof===$a&&uM(U)===z.type){r(x,z.sibling),A=i(z,C.props),A.ref=xp(x,z,C),A.return=x,x=A;break e}r(x,z);break}else t(x,z);z=z.sibling}C.type===cc?(A=eu(C.props.children,x.mode,j,C.key),A.return=x,x=A):(j=hy(C.type,C.key,C.props,null,x.mode,j),j.ref=xp(x,A,C),j.return=x,x=j)}return o(x);case uc:e:{for(z=C.key;A!==null;){if(A.key===z)if(A.tag===4&&A.stateNode.containerInfo===C.containerInfo&&A.stateNode.implementation===C.implementation){r(x,A.sibling),A=i(A,C.children||[]),A.return=x,x=A;break e}else{r(x,A);break}else t(x,A);A=A.sibling}A=Ew(C,x.mode,j),A.return=x,x=A}return o(x);case $a:return z=C._init,P(x,A,z(C._payload),j)}if(Mp(C))return _(x,A,C,j);if(bp(C))return $(x,A,C,j);$g(x,C)}return typeof C=="string"&&C!==""||typeof C=="number"?(C=""+C,A!==null&&A.tag===6?(r(x,A.sibling),A=i(A,C),A.return=x,x=A):(r(x,A),A=bw(C,x.mode,j),A.return=x,x=A),o(x)):r(x,A)}return P}var Jc=a9(!0),l9=a9(!1),Zh={},mo=ul(Zh),Id=ul(Zh),Nd=ul(Zh);function Hl(e){if(e===Zh)throw Error(He(174));return e}function FC(e,t){switch($r(Nd,t),$r(Id,e),$r(mo,Zh),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Lx(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Lx(t,e)}Ir(mo),$r(mo,t)}function Gc(){Ir(mo),Ir(Id),Ir(Nd)}function u9(e){Hl(Nd.current);var t=Hl(mo.current),r=Lx(t,e.type);t!==r&&($r(Id,e),$r(mo,r))}function LC(e){Id.current===e&&(Ir(mo),Ir(Id))}var Fr=ul(0);function Cv(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var dw=[];function BC(){for(var e=0;er?r:4,e(!0);var n=hw.transition;hw.transition={};try{e(!1),t()}finally{pr=r,hw.transition=n}}function A9(){return gs().memoizedState}function e9e(e,t,r){var n=Ka(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},O9(e))C9(t,r);else if(r=n9(e,t,r,n),r!==null){var i=Xn();Ns(r,e,n,i),$9(r,t,n)}}function t9e(e,t,r){var n=Ka(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(O9(e))C9(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,l=s(o,r);if(i.hasEagerState=!0,i.eagerState=l,Ms(l,o)){var c=t.interleaved;c===null?(i.next=i,MC(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}finally{}r=n9(e,t,i,n),r!==null&&(i=Xn(),Ns(r,e,n,i),$9(r,t,n))}}function O9(e){var t=e.alternate;return e===Lr||t!==null&&t===Lr}function C9(e,t){Zp=$v=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function $9(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,wC(e,r)}}var kv={readContext:ms,useCallback:Rn,useContext:Rn,useEffect:Rn,useImperativeHandle:Rn,useInsertionEffect:Rn,useLayoutEffect:Rn,useMemo:Rn,useReducer:Rn,useRef:Rn,useState:Rn,useDebugValue:Rn,useDeferredValue:Rn,useTransition:Rn,useMutableSource:Rn,useSyncExternalStore:Rn,useId:Rn,unstable_isNewReconciler:!1},r9e={readContext:ms,useCallback:function(e,t){return Zs().memoizedState=[e,t===void 0?null:t],e},useContext:ms,useEffect:fM,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,cy(4194308,4,E9.bind(null,t,e),r)},useLayoutEffect:function(e,t){return cy(4194308,4,e,t)},useInsertionEffect:function(e,t){return cy(4,2,e,t)},useMemo:function(e,t){var r=Zs();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Zs();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=e9e.bind(null,Lr,e),[n.memoizedState,e]},useRef:function(e){var t=Zs();return e={current:e},t.memoizedState=e},useState:cM,useDebugValue:WC,useDeferredValue:function(e){return Zs().memoizedState=e},useTransition:function(){var e=cM(!1),t=e[0];return e=Z4e.bind(null,e[1]),Zs().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=Lr,i=Zs();if(jr){if(r===void 0)throw Error(He(407));r=r()}else{if(r=t(),yn===null)throw Error(He(349));lu&30||p9(n,t,r)}i.memoizedState=r;var s={value:r,getSnapshot:t};return i.queue=s,fM(h9.bind(null,n,s,e),[e]),n.flags|=2048,Dd(9,d9.bind(null,n,s,r,t),void 0,null),r},useId:function(){var e=Zs(),t=yn.identifierPrefix;if(jr){var r=Lo,n=Fo;r=(n&~(1<<32-Is(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=jd++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=o.createElement(r,{is:n.is}):(e=o.createElement(r),r==="select"&&(o=e,n.multiple?o.multiple=!0:n.size&&(o.size=n.size))):e=o.createElementNS(e,r),e[lo]=t,e[Rd]=n,D9(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ux(r,n),r){case"dialog":Tr("cancel",e),Tr("close",e),i=n;break;case"iframe":case"object":case"embed":Tr("load",e),i=n;break;case"video":case"audio":for(i=0;iXc&&(t.flags|=128,n=!0,Ap(s,!1),t.lanes=4194304)}else{if(!n)if(e=Cv(o),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Ap(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!jr)return In(t),null}else 2*Gr()-s.renderingStartTime>Xc&&r!==1073741824&&(t.flags|=128,n=!0,Ap(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(r=s.last,r!==null?r.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Gr(),t.sibling=null,r=Fr.current,$r(Fr,n?r&1|2:r&1),t):(In(t),null);case 22:case 23:return XC(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?ki&1073741824&&(In(t),t.subtreeFlags&6&&(t.flags|=8192)):In(t),null;case 24:return null;case 25:return null}throw Error(He(156,t.tag))}function c9e(e,t){switch(PC(t),t.tag){case 1:return vi(t.type)&&Ev(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Gc(),Ir(yi),Ir(Ln),BC(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return LC(t),null;case 13:if(Ir(Fr),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(He(340));Hc()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ir(Fr),null;case 4:return Gc(),null;case 10:return jC(t.type._context),null;case 22:case 23:return XC(),null;case 24:return null;default:return null}}var Tg=!1,Dn=!1,f9e=typeof WeakSet=="function"?WeakSet:Set,pt=null;function bc(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Wr(e,t,n)}else r.current=null}function h2(e,t,r){try{r()}catch(n){Wr(e,t,n)}}var EM=!1;function p9e(e,t){if(Xx=gv,e=z4(),kC(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,s=n.focusNode;n=n.focusOffset;try{r.nodeType,s.nodeType}catch{r=null;break e}var o=0,l=-1,c=-1,h=0,v=0,y=e,S=null;t:for(;;){for(var b;y!==r||i!==0&&y.nodeType!==3||(l=o+i),y!==s||n!==0&&y.nodeType!==3||(c=o+n),y.nodeType===3&&(o+=y.nodeValue.length),(b=y.firstChild)!==null;)S=y,y=b;for(;;){if(y===e)break t;if(S===r&&++h===i&&(l=o),S===s&&++v===n&&(c=o),(b=y.nextSibling)!==null)break;y=S,S=y.parentNode}y=b}r=l===-1||c===-1?null:{start:l,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(Qx={focusedElem:e,selectionRange:r},gv=!1,pt=t;pt!==null;)if(t=pt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,pt=e;else for(;pt!==null;){t=pt;try{var _=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(_!==null){var $=_.memoizedProps,P=_.memoizedState,x=t.stateNode,A=x.getSnapshotBeforeUpdate(t.elementType===t.type?$:$s(t.type,$),P);x.__reactInternalSnapshotBeforeUpdate=A}break;case 3:var C=t.stateNode.containerInfo;C.nodeType===1?C.textContent="":C.nodeType===9&&C.documentElement&&C.removeChild(C.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(He(163))}}catch(j){Wr(t,t.return,j)}if(e=t.sibling,e!==null){e.return=t.return,pt=e;break}pt=t.return}return _=EM,EM=!1,_}function ed(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&h2(t,r,s)}i=i.next}while(i!==n)}}function rb(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function m2(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function B9(e){var t=e.alternate;t!==null&&(e.alternate=null,B9(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[lo],delete t[Rd],delete t[t2],delete t[J4e],delete t[G4e])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function U9(e){return e.tag===5||e.tag===3||e.tag===4}function SM(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||U9(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function g2(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=bv));else if(n!==4&&(e=e.child,e!==null))for(g2(e,t,r),e=e.sibling;e!==null;)g2(e,t,r),e=e.sibling}function y2(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(y2(e,t,r),e=e.sibling;e!==null;)y2(e,t,r),e=e.sibling}var _n=null,Ts=!1;function xa(e,t,r){for(r=r.child;r!==null;)V9(e,t,r),r=r.sibling}function V9(e,t,r){if(ho&&typeof ho.onCommitFiberUnmount=="function")try{ho.onCommitFiberUnmount(J1,r)}catch{}switch(r.tag){case 5:Dn||bc(r,t);case 6:var n=_n,i=Ts;_n=null,xa(e,t,r),_n=n,Ts=i,_n!==null&&(Ts?(e=_n,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):_n.removeChild(r.stateNode));break;case 18:_n!==null&&(Ts?(e=_n,r=r.stateNode,e.nodeType===8?fw(e.parentNode,r):e.nodeType===1&&fw(e,r),Cd(e)):fw(_n,r.stateNode));break;case 4:n=_n,i=Ts,_n=r.stateNode.containerInfo,Ts=!0,xa(e,t,r),_n=n,Ts=i;break;case 0:case 11:case 14:case 15:if(!Dn&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&h2(r,t,o),i=i.next}while(i!==n)}xa(e,t,r);break;case 1:if(!Dn&&(bc(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(l){Wr(r,t,l)}xa(e,t,r);break;case 21:xa(e,t,r);break;case 22:r.mode&1?(Dn=(n=Dn)||r.memoizedState!==null,xa(e,t,r),Dn=n):xa(e,t,r);break;default:xa(e,t,r)}}function wM(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new f9e),t.forEach(function(n){var i=S9e.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function Os(e,t){var r=t.deletions;if(r!==null)for(var n=0;ni&&(i=o),n&=~s}if(n=i,n=Gr()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*h9e(n/1960))-n,10e?16:e,Da===null)var n=!1;else{if(e=Da,Da=null,Rv=0,Qt&6)throw Error(He(331));var i=Qt;for(Qt|=4,pt=e.current;pt!==null;){var s=pt,o=s.child;if(pt.flags&16){var l=s.deletions;if(l!==null){for(var c=0;cGr()-GC?Zl(e,0):JC|=r),bi(e,t)}function Y9(e,t){t===0&&(e.mode&1?(t=Sg,Sg<<=1,!(Sg&130023424)&&(Sg=4194304)):t=1);var r=Xn();e=Xo(e,t),e!==null&&(Yh(e,t,r),bi(e,r))}function E9e(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Y9(e,r)}function S9e(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(He(314))}n!==null&&n.delete(t),Y9(e,r)}var X9;X9=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||yi.current)hi=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return hi=!1,l9e(e,t,r);hi=!!(e.flags&131072)}else hi=!1,jr&&t.flags&1048576&&e9(t,_v,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;fy(e,t),e=t.pendingProps;var i=Kc(t,Ln.current);Rc(t,r),i=VC(null,t,n,e,i,r);var s=zC();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,vi(n)?(s=!0,Sv(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,DC(t),i.updater=eb,t.stateNode=i,i._reactInternals=t,a2(t,n,e,r),t=c2(null,t,n,!0,s,r)):(t.tag=0,jr&&s&&TC(t),Wn(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(fy(e,t),e=t.pendingProps,i=n._init,n=i(n._payload),t.type=n,i=t.tag=_9e(n),e=$s(n,e),i){case 0:t=u2(null,t,n,e,r);break e;case 1:t=yM(null,t,n,e,r);break e;case 11:t=mM(null,t,n,e,r);break e;case 14:t=gM(null,t,n,$s(n.type,e),r);break e}throw Error(He(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:$s(n,i),u2(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:$s(n,i),yM(e,t,n,i,r);case 3:e:{if(N9(t),e===null)throw Error(He(387));n=t.pendingProps,s=t.memoizedState,i=s.element,i9(e,t),Ov(t,n,null,r);var o=t.memoizedState;if(n=o.element,s.isDehydrated)if(s={element:n,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=Yc(Error(He(423)),t),t=vM(e,t,n,r,i);break e}else if(n!==i){i=Yc(Error(He(424)),t),t=vM(e,t,n,r,i);break e}else for(Pi=za(t.stateNode.containerInfo.firstChild),Ri=t,jr=!0,Rs=null,r=l9(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Hc(),n===i){t=Qo(e,t,r);break e}Wn(e,t,n,r)}t=t.child}return t;case 5:return u9(t),e===null&&i2(t),n=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,Zx(n,i)?o=null:s!==null&&Zx(n,s)&&(t.flags|=32),I9(e,t),Wn(e,t,o,r),t.child;case 6:return e===null&&i2(t),null;case 13:return j9(e,t,r);case 4:return FC(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Jc(t,null,n,r):Wn(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:$s(n,i),mM(e,t,n,i,r);case 7:return Wn(e,t,t.pendingProps,r),t.child;case 8:return Wn(e,t,t.pendingProps.children,r),t.child;case 12:return Wn(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,$r(xv,n._currentValue),n._currentValue=o,s!==null)if(Ms(s.value,o)){if(s.children===i.children&&!yi.current){t=Qo(e,t,r);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){o=s.child;for(var c=l.firstContext;c!==null;){if(c.context===n){if(s.tag===1){c=zo(-1,r&-r),c.tag=2;var h=s.updateQueue;if(h!==null){h=h.shared;var v=h.pending;v===null?c.next=c:(c.next=v.next,v.next=c),h.pending=c}}s.lanes|=r,c=s.alternate,c!==null&&(c.lanes|=r),s2(s.return,r,t),l.lanes|=r;break}c=c.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(He(341));o.lanes|=r,l=o.alternate,l!==null&&(l.lanes|=r),s2(o,r,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Wn(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,Rc(t,r),i=ms(i),n=n(i),t.flags|=1,Wn(e,t,n,r),t.child;case 14:return n=t.type,i=$s(n,t.pendingProps),i=$s(n.type,i),gM(e,t,n,i,r);case 15:return P9(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:$s(n,i),fy(e,t),t.tag=1,vi(n)?(e=!0,Sv(t)):e=!1,Rc(t,r),o9(t,n,i),a2(t,n,i,r),c2(null,t,n,!0,e,r);case 19:return M9(e,t,r);case 22:return R9(e,t,r)}throw Error(He(156,t.tag))};function Q9(e,t){return x4(e,t)}function w9e(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function fs(e,t,r,n){return new w9e(e,t,r,n)}function ZC(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _9e(e){if(typeof e=="function")return ZC(e)?1:0;if(e!=null){if(e=e.$$typeof,e===vC)return 11;if(e===bC)return 14}return 2}function Ha(e,t){var r=e.alternate;return r===null?(r=fs(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function hy(e,t,r,n,i,s){var o=2;if(n=e,typeof e=="function")ZC(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case cc:return eu(r.children,i,s,t);case yC:o=8,i|=8;break;case Px:return e=fs(12,r,t,i|2),e.elementType=Px,e.lanes=s,e;case Rx:return e=fs(13,r,t,i),e.elementType=Rx,e.lanes=s,e;case Ix:return e=fs(19,r,t,i),e.elementType=Ix,e.lanes=s,e;case a4:return ib(r,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case s4:o=10;break e;case o4:o=9;break e;case vC:o=11;break e;case bC:o=14;break e;case $a:o=16,n=null;break e}throw Error(He(130,e==null?e:typeof e,""))}return t=fs(o,r,t,i),t.elementType=e,t.type=n,t.lanes=s,t}function eu(e,t,r,n){return e=fs(7,e,n,t),e.lanes=r,e}function ib(e,t,r,n){return e=fs(22,e,n,t),e.elementType=a4,e.lanes=r,e.stateNode={isHidden:!1},e}function bw(e,t,r){return e=fs(6,e,null,t),e.lanes=r,e}function Ew(e,t,r){return t=fs(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function x9e(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ew(0),this.expirationTimes=ew(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ew(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function e$(e,t,r,n,i,s,o,l,c){return e=new x9e(e,t,r,l,c),t===1?(t=1,s===!0&&(t|=8)):t=0,s=fs(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},DC(s),e}function A9e(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(rU)}catch(e){console.error(e)}}rU(),e4.exports=Li;var T9e=e4.exports;const P9e=Tt(T9e);var R9e={};/** + * @license React + * use-sync-external-store-with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var em=xn;function I9e(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var N9e=typeof Object.is=="function"?Object.is:I9e,j9e=em.useSyncExternalStore,M9e=em.useRef,D9e=em.useEffect,F9e=em.useMemo,L9e=em.useDebugValue;R9e.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var s=M9e(null);if(s.current===null){var o={hasValue:!1,value:null};s.current=o}else o=s.current;s=F9e(function(){function c(b){if(!h){if(h=!0,v=b,b=n(b),i!==void 0&&o.hasValue){var _=o.value;if(i(_,b))return y=_}return y=b}if(_=y,N9e(v,b))return _;var $=n(b);return i!==void 0&&i(_,$)?_:(v=b,y=$)}var h=!1,v,y,S=r===void 0?null:r;return[function(){return c(t())},S===null?void 0:function(){return c(S())}]},[t,r,n,i]);var l=j9e(e,s[0],s[1]);return D9e(function(){o.hasValue=!0,o.value=l},[l]),L9e(l),l};var nr="default"in aP?ls:aP,TM=Symbol.for("react-redux-context"),PM=typeof globalThis<"u"?globalThis:{};function B9e(){if(!nr.createContext)return{};const e=PM[TM]??(PM[TM]=new Map);let t=e.get(nr.createContext);return t||(t=nr.createContext(null),e.set(nr.createContext,t)),t}var nU=B9e(),U9e=()=>{throw new Error("uSES not initialized!")},V9e=Symbol.for("react.element"),z9e=Symbol.for("react.portal"),q9e=Symbol.for("react.fragment"),W9e=Symbol.for("react.strict_mode"),K9e=Symbol.for("react.profiler"),H9e=Symbol.for("react.provider"),J9e=Symbol.for("react.context"),G9e=Symbol.for("react.server_context"),iU=Symbol.for("react.forward_ref"),Y9e=Symbol.for("react.suspense"),X9e=Symbol.for("react.suspense_list"),i$=Symbol.for("react.memo"),Q9e=Symbol.for("react.lazy"),Z9e=iU,eUe=i$;function tUe(e){if(typeof e=="object"&&e!==null){const t=e.$$typeof;switch(t){case V9e:{const r=e.type;switch(r){case q9e:case K9e:case W9e:case Y9e:case X9e:return r;default:{const n=r&&r.$$typeof;switch(n){case G9e:case J9e:case iU:case Q9e:case i$:case H9e:return n;default:return t}}}}case z9e:return t}}}function rUe(e){return tUe(e)===i$}function nUe(e,t,r,n,{areStatesEqual:i,areOwnPropsEqual:s,areStatePropsEqual:o}){let l=!1,c,h,v,y,S;function b(A,C){return c=A,h=C,v=e(c,h),y=t(n,h),S=r(v,y,h),l=!0,S}function _(){return v=e(c,h),t.dependsOnOwnProps&&(y=t(n,h)),S=r(v,y,h),S}function $(){return e.dependsOnOwnProps&&(v=e(c,h)),t.dependsOnOwnProps&&(y=t(n,h)),S=r(v,y,h),S}function P(){const A=e(c,h),C=!o(A,v);return v=A,C&&(S=r(v,y,h)),S}function x(A,C){const j=!s(C,h),U=!i(A,c,C,h);return c=A,h=C,j&&U?_():j?$():U?P():S}return function(C,j){return l?x(C,j):b(C,j)}}function iUe(e,{initMapStateToProps:t,initMapDispatchToProps:r,initMergeProps:n,...i}){const s=t(e,i),o=r(e,i),l=n(e,i);return nUe(s,o,l,e,i)}function sUe(e,t){const r={};for(const n in e){const i=e[n];typeof i=="function"&&(r[n]=(...s)=>t(i(...s)))}return r}function w2(e){return function(r){const n=e(r);function i(){return n}return i.dependsOnOwnProps=!1,i}}function RM(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function sU(e,t){return function(n,{displayName:i}){const s=function(l,c){return s.dependsOnOwnProps?s.mapToProps(l,c):s.mapToProps(l,void 0)};return s.dependsOnOwnProps=!0,s.mapToProps=function(l,c){s.mapToProps=e,s.dependsOnOwnProps=RM(e);let h=s(l,c);return typeof h=="function"&&(s.mapToProps=h,s.dependsOnOwnProps=RM(h),h=s(l,c)),h},s}}function s$(e,t){return(r,n)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${n.wrappedComponentName}.`)}}function oUe(e){return e&&typeof e=="object"?w2(t=>sUe(e,t)):e?typeof e=="function"?sU(e):s$(e,"mapDispatchToProps"):w2(t=>({dispatch:t}))}function aUe(e){return e?typeof e=="function"?sU(e):s$(e,"mapStateToProps"):w2(()=>({}))}function lUe(e,t,r){return{...r,...e,...t}}function uUe(e){return function(r,{displayName:n,areMergedPropsEqual:i}){let s=!1,o;return function(c,h,v){const y=e(c,h,v);return s?i(y,o)||(o=y):(s=!0,o=y),o}}}function cUe(e){return e?typeof e=="function"?uUe(e):s$(e,"mergeProps"):()=>lUe}function fUe(e){e()}function pUe(){let e=null,t=null;return{clear(){e=null,t=null},notify(){fUe(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){const r=[];let n=e;for(;n;)r.push(n),n=n.next;return r},subscribe(r){let n=!0;const i=t={callback:r,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!n||e===null||(n=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var IM={notify(){},get:()=>[]};function oU(e,t){let r,n=IM,i=0,s=!1;function o($){v();const P=n.subscribe($);let x=!1;return()=>{x||(x=!0,P(),y())}}function l(){n.notify()}function c(){_.onStateChange&&_.onStateChange()}function h(){return s}function v(){i++,r||(r=t?t.addNestedSub(c):e.subscribe(c),n=pUe())}function y(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=IM)}function S(){s||(s=!0,v())}function b(){s&&(s=!1,y())}const _={addNestedSub:o,notifyNestedSubs:l,handleChangeWrapper:c,isSubscribed:h,trySubscribe:S,tryUnsubscribe:b,getListeners:()=>n};return _}var dUe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",jv=dUe?nr.useLayoutEffect:nr.useEffect;function NM(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Sw(e,t){if(NM(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let i=0;i{lU=e},_Ue=[null,null];function xUe(e,t,r){jv(()=>e(...t),r)}function AUe(e,t,r,n,i,s){e.current=n,r.current=!1,i.current&&(i.current=null,s())}function OUe(e,t,r,n,i,s,o,l,c,h,v){if(!e)return()=>{};let y=!1,S=null;const b=()=>{if(y||!l.current)return;const $=t.getState();let P,x;try{P=n($,i.current)}catch(A){x=A,S=A}x||(S=null),P===s.current?o.current||h():(s.current=P,c.current=P,o.current=!0,v())};return r.onStateChange=b,r.trySubscribe(),b(),()=>{if(y=!0,r.tryUnsubscribe(),r.onStateChange=null,S)throw S}}function CUe(e,t){return e===t}function $Ue(e,t,r,{pure:n,areStatesEqual:i=CUe,areOwnPropsEqual:s=Sw,areStatePropsEqual:o=Sw,areMergedPropsEqual:l=Sw,forwardRef:c=!1,context:h=nU}={}){const v=h,y=aUe(e),S=oUe(t),b=cUe(r),_=!!e;return P=>{const x=P.displayName||P.name||"Component",A=`Connect(${x})`,C={shouldHandleStateChanges:_,displayName:A,wrappedComponentName:x,WrappedComponent:P,initMapStateToProps:y,initMapDispatchToProps:S,initMergeProps:b,areStatesEqual:i,areStatePropsEqual:o,areOwnPropsEqual:s,areMergedPropsEqual:l};function j(J){const[ee,Q,f]=nr.useMemo(()=>{const{reactReduxForwardedRef:ze,...rt}=J;return[J.context,ze,rt]},[J]),ce=nr.useMemo(()=>{let ze=v;return ee!=null&&ee.Consumer,ze},[ee,v]),L=nr.useContext(ce),Fe=!!J.store&&!!J.store.getState&&!!J.store.dispatch,Xe=!!L&&!!L.store,Ye=Fe?J.store:L.store,he=Xe?L.getServerState:Ye.getState,de=nr.useMemo(()=>iUe(Ye.dispatch,C),[Ye]),[ge,pe]=nr.useMemo(()=>{if(!_)return _Ue;const ze=oU(Ye,Fe?void 0:L.subscription),rt=ze.notifyNestedSubs.bind(ze);return[ze,rt]},[Ye,Fe,L]),be=nr.useMemo(()=>Fe?L:{...L,subscription:ge},[Fe,L,ge]),ye=nr.useRef(),Le=nr.useRef(f),se=nr.useRef(),_e=nr.useRef(!1);nr.useRef(!1);const Z=nr.useRef(!1),V=nr.useRef();jv(()=>(Z.current=!0,()=>{Z.current=!1}),[]);const q=nr.useMemo(()=>()=>se.current&&f===Le.current?se.current:de(Ye.getState(),f),[Ye,f]),Ae=nr.useMemo(()=>rt=>ge?OUe(_,Ye,ge,de,Le,ye,_e,Z,se,pe,rt):()=>{},[ge]);xUe(AUe,[Le,ye,_e,f,se,pe]);let Ee;try{Ee=lU(Ae,q,he?()=>de(he(),f):q)}catch(ze){throw V.current&&(ze.message+=` +The error may be correlated with this previous error: +${V.current.stack} + +`),ze}jv(()=>{V.current=void 0,se.current=void 0,ye.current=Ee});const We=nr.useMemo(()=>nr.createElement(P,{...Ee,ref:Q}),[Q,P,Ee]);return nr.useMemo(()=>_?nr.createElement(ce.Provider,{value:be},We):We,[ce,We,be])}const z=nr.memo(j);if(z.WrappedComponent=P,z.displayName=j.displayName=A,c){const ee=nr.forwardRef(function(f,ce){return nr.createElement(z,{...f,reactReduxForwardedRef:ce})});return ee.displayName=A,ee.WrappedComponent=P,_2(ee,P)}return _2(z,P)}}var kUe=$Ue;function TUe({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:s="once"}){const o=nr.useMemo(()=>{const h=oU(e);return{store:e,subscription:h,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:s}},[e,n,i,s]),l=nr.useMemo(()=>e.getState(),[e]);jv(()=>{const{subscription:h}=o;return h.onStateChange=h.notifyNestedSubs,h.trySubscribe(),l!==e.getState()&&h.notifyNestedSubs(),()=>{h.tryUnsubscribe(),h.onStateChange=void 0}},[o,l]);const c=t||nU;return nr.createElement(c.Provider,{value:o},r)}var PUe=TUe;wUe(xn.useSyncExternalStore);function RUe(e,t,r){for(var n=-1,i=e.length,s=t.length,o={};++n"u"&&l.setAttribute("target","_blank"),document.body.appendChild(l),l.click(),setTimeout(function(){document.body.removeChild(l),window.URL.revokeObjectURL(o)},200)}};const VUe=Tt(UUe);/*! + * repeat-string + * + * Copyright (c) 2014-2015, Jon Schlinkert. + * Licensed under the MIT License. + */var Ro="",ww,zUe=qUe;function qUe(e,t){if(typeof e!="string")throw new TypeError("expected a string");if(t===1)return e;if(t===2)return e+e;var r=e.length*t;if(ww!==e||typeof ww>"u")ww=e,Ro="";else if(Ro.length>=r)return Ro.substr(0,r);for(;r>Ro.length&&t>1;)t&1&&(Ro+=e),t>>=1,e+=e;return Ro+=e,Ro=Ro.substr(0,r),Ro}var WUe=zUe,KUe=function(t){return t.split(/(<\/?[^>]+>)/g).filter(function(r){return r.trim()!==""})},HUe=function(t){return/<[^>!]+>/.test(t)},cU=function(t){return/<\/+[^>]+>/.test(t)},fU=function(t){return/<[^>]+\/>/.test(t)},JUe=function(t){return HUe(t)&&!cU(t)&&!fU(t)},GUe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.indentor,n=t.textNodesOnSameLine,i=0,s=[];r=r||" ";var o=YUe(e).map(function(l,c,h){var v=l.value,y=l.type;y==="ClosingTag"&&i--;var S=WUe(r,i),b=S+v;if(y==="OpeningTag"&&i++,n){var _=h[c-1],$=h[c-2];y==="ClosingTag"&&_.type==="Text"&&$.type==="OpeningTag"&&(b=""+S+$.value+_.value+v,s.push(c-2,c-1))}return b});return s.forEach(function(l){return o[l]=null}),o.filter(function(l){return!!l}).join(` +`)};function YUe(e){var t=KUe(e);return t.map(function(r){return{value:r,type:XUe(r)}})}function XUe(e){return cU(e)?"ClosingTag":JUe(e)?"OpeningTag":fU(e)?"SelfClosingTag":"Text"}const QUe=Tt(GUe);var ZUe=P0;function e5e(e){return ZUe(e).toLowerCase()}var t5e=e5e;const r5e=Tt(t5e);function my(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?my=function(t){return typeof t}:my=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},my(e)}function n5e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FM(e,t){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=d5e(t,r),i=e||Object.keys(o5e({},r,{},t));return i.every(n)}function d5e(e,t){return function(r){if(typeof r=="string")return ss.is(t[r],e[r]);if(Array.isArray(r))return ss.is(UM(t,r),UM(e,r));throw new TypeError("Invalid key: expected Array or string: "+r)}}var h5e=function(e){a5e(t,e);function t(){return n5e(this,t),u5e(this,x2(t).apply(this,arguments))}return i5e(t,[{key:"shouldComponentUpdate",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return!VM(this.updateOnProps,this.props,n,"updateOnProps")||!VM(this.updateOnStates,this.state,i,"updateOnStates")}}]),t}(ls.Component),Ig;function pU(e){return Ig=Ig||document.createElement("textarea"),Ig.innerHTML="&"+e+";",Ig.value}var m5e=Object.prototype.hasOwnProperty;function g5e(e,t){return e?m5e.call(e,t):!1}function dU(e){var t=[].slice.call(arguments,1);return t.forEach(function(r){if(r){if(typeof r!="object")throw new TypeError(r+"must be object");Object.keys(r).forEach(function(n){e[n]=r[n]})}}),e}var y5e=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function Ld(e){return e.indexOf("\\")<0?e:e.replace(y5e,"$1")}function hU(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function O2(e){if(e>65535){e-=65536;var t=55296+(e>>10),r=56320+(e&1023);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var v5e=/&([a-z#][a-z0-9]{1,31});/gi,b5e=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function E5e(e,t){var r=0,n=pU(t);return t!==n?n:t.charCodeAt(0)===35&&b5e.test(t)&&(r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10),hU(r))?O2(r):e}function fu(e){return e.indexOf("&")<0?e:e.replace(v5e,E5e)}var S5e=/[&<>"]/,w5e=/[&<>"]/g,_5e={"&":"&","<":"<",">":">",'"':"""};function x5e(e){return _5e[e]}function Ei(e){return S5e.test(e)?e.replace(w5e,x5e):e}var dt={};dt.blockquote_open=function(){return`
+`};dt.blockquote_close=function(e,t){return"
"+_u(e,t)};dt.code=function(e,t){return e[t].block?"
"+Ei(e[t].content)+"
"+_u(e,t):""+Ei(e[t].content)+""};dt.fence=function(e,t,r,n,i){var s=e[t],o="",l=r.langPrefix,c="",h,v,y;if(s.params){if(h=s.params.split(/\s+/g),v=h.join(" "),g5e(i.rules.fence_custom,h[0]))return i.rules.fence_custom[h[0]](e,t,r,n,i);c=Ei(fu(Ld(v))),o=' class="'+l+c+'"'}return r.highlight?y=r.highlight.apply(r.highlight,[s.content].concat(h))||Ei(s.content):y=Ei(s.content),"
"+y+"
"+_u(e,t)};dt.fence_custom={};dt.heading_open=function(e,t){return""};dt.heading_close=function(e,t){return" +`};dt.hr=function(e,t,r){return(r.xhtmlOut?"
":"
")+_u(e,t)};dt.bullet_list_open=function(){return`
    +`};dt.bullet_list_close=function(e,t){return"
"+_u(e,t)};dt.list_item_open=function(){return"
  • "};dt.list_item_close=function(){return`
  • +`};dt.ordered_list_open=function(e,t){var r=e[t],n=r.order>1?' start="'+r.order+'"':"";return" +`};dt.ordered_list_close=function(e,t){return""+_u(e,t)};dt.paragraph_open=function(e,t){return e[t].tight?"":"

    "};dt.paragraph_close=function(e,t){var r=!(e[t].tight&&t&&e[t-1].type==="inline"&&!e[t-1].content);return(e[t].tight?"":"

    ")+(r?_u(e,t):"")};dt.link_open=function(e,t,r){var n=e[t].title?' title="'+Ei(fu(e[t].title))+'"':"",i=r.linkTarget?' target="'+r.linkTarget+'"':"";return'"};dt.link_close=function(){return""};dt.image=function(e,t,r){var n=' src="'+Ei(e[t].src)+'"',i=e[t].title?' title="'+Ei(fu(e[t].title))+'"':"",s=' alt="'+(e[t].alt?Ei(fu(Ld(e[t].alt))):"")+'"',o=r.xhtmlOut?" /":"";return""};dt.table_open=function(){return` +`};dt.table_close=function(){return`
    +`};dt.thead_open=function(){return` +`};dt.thead_close=function(){return` +`};dt.tbody_open=function(){return` +`};dt.tbody_close=function(){return` +`};dt.tr_open=function(){return""};dt.tr_close=function(){return` +`};dt.th_open=function(e,t){var r=e[t];return""};dt.th_close=function(){return""};dt.td_open=function(e,t){var r=e[t];return""};dt.td_close=function(){return""};dt.strong_open=function(){return""};dt.strong_close=function(){return""};dt.em_open=function(){return""};dt.em_close=function(){return""};dt.del_open=function(){return""};dt.del_close=function(){return""};dt.ins_open=function(){return""};dt.ins_close=function(){return""};dt.mark_open=function(){return""};dt.mark_close=function(){return""};dt.sub=function(e,t){return""+Ei(e[t].content)+""};dt.sup=function(e,t){return""+Ei(e[t].content)+""};dt.hardbreak=function(e,t,r){return r.xhtmlOut?`
    +`:`
    +`};dt.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?`
    +`:`
    +`:` +`};dt.text=function(e,t){return Ei(e[t].content)};dt.htmlblock=function(e,t){return e[t].content};dt.htmltag=function(e,t){return e[t].content};dt.abbr_open=function(e,t){return''};dt.abbr_close=function(){return""};dt.footnote_ref=function(e,t){var r=Number(e[t].id+1).toString(),n="fnref"+r;return e[t].subId>0&&(n+=":"+e[t].subId),'['+r+"]"};dt.footnote_block_open=function(e,t,r){var n=r.xhtmlOut?`
    +`:`
    +`;return n+`
    +
      +`};dt.footnote_block_close=function(){return`
    +
    +`};dt.footnote_open=function(e,t){var r=Number(e[t].id+1).toString();return'
  • '};dt.footnote_close=function(){return`
  • +`};dt.footnote_anchor=function(e,t){var r=Number(e[t].id+1).toString(),n="fnref"+r;return e[t].subId>0&&(n+=":"+e[t].subId),' '};dt.dl_open=function(){return`
    +`};dt.dt_open=function(){return"
    "};dt.dd_open=function(){return"
    "};dt.dl_close=function(){return`
    +`};dt.dt_close=function(){return` +`};dt.dd_close=function(){return` +`};function mU(e,t){return++t>=e.length-2?t:e[t].type==="paragraph_open"&&e[t].tight&&e[t+1].type==="inline"&&e[t+1].content.length===0&&e[t+2].type==="paragraph_close"&&e[t+2].tight?mU(e,t+2):t}var _u=dt.getBreak=function(t,r){return r=mU(t,r),r"u"&&(n.abbreviations[":"+c]=h),o)}function C5e(e){var t=e.tokens,r,n,i,s;if(!e.inlineMode){for(r=1,n=t.length-1;r1)||r===41&&(n--,n<0))break;t++}return s===t||(i=Ld(e.src.slice(s,t)),!e.parser.validateLink(i))?!1:(e.linkContent=i,e.pos=t,!0)}function yU(e,t){var r,n=t,i=e.posMax,s=e.src.charCodeAt(t);if(s!==34&&s!==39&&s!==40)return!1;for(t++,s===40&&(s=41);t"u"&&(n.references[S]={title:y,href:v}),o)}function k5e(e){var t=e.tokens,r,n,i,s;if(e.env.references=e.env.references||{},!e.inlineMode){for(r=1,n=t.length-1;r0?o[t].count:1,n=0;n=0;t--)if(s=i[t],s.type==="text"){for(c=0,o=s.content,v.lastIndex=0,h=s.level,l=[];y=v.exec(o);)v.lastIndex>c&&l.push({type:"text",content:o.slice(c,y.index+y[1].length),level:h}),l.push({type:"abbr_open",title:e.env.abbreviations[":"+y[2]],level:h++}),l.push({type:"text",content:y[2],level:h}),l.push({type:"abbr_close",level:--h}),c=v.lastIndex-y[3].length;l.length&&(c=0;s--)if(e.tokens[s].type==="inline")for(i=e.tokens[s].children,t=i.length-1;t>=0;t--)r=i[t],r.type==="text"&&(n=r.content,n=M5e(n),I5e.test(n)&&(n=n.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/mg,"$1—$2").replace(/(^|\s)--(\s|$)/mg,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/mg,"$1–$2")),r.content=n)}}var F5e=/['"]/,qM=/['"]/g,L5e=/[-\s()\[\]]/,WM="’";function KM(e,t){return t<0||t>=e.length?!1:!L5e.test(e[t])}function tc(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function B5e(e){var t,r,n,i,s,o,l,c,h,v,y,S,b,_,$,P,x;if(e.options.typographer){for(x=[],$=e.tokens.length-1;$>=0;$--)if(e.tokens[$].type==="inline"){for(P=e.tokens[$].children,x.length=0,t=0;t=0&&!(x[b].level<=l);b--);x.length=b+1,n=r.content,s=0,o=n.length;e:for(;s=0&&(v=x[b],!(x[b].level=this.eMarks[t]};Au.prototype.skipEmptyLines=function(t){for(var r=this.lineMax;tn;)if(r!==this.src.charCodeAt(--t))return t+1;return t};Au.prototype.getLines=function(t,r,n,i){var s,o,l,c,h,v=t;if(t>=r)return"";if(v+1===r)return o=this.bMarks[v]+Math.min(this.tShift[v],n),l=i?this.eMarks[v]+1:this.eMarks[v],this.src.slice(o,l);for(c=new Array(r-t),s=0;vn&&(h=n),h<0&&(h=0),o=this.bMarks[v]+h,v+1=4){n++,i=n;continue}break}return e.line=n,e.tokens.push({type:"code",content:e.getLines(t,i,4+e.blkIndent,!0),block:!0,lines:[t,e.line],level:e.level}),!0}function V5e(e,t,r,n){var i,s,o,l,c,h=!1,v=e.bMarks[t]+e.tShift[t],y=e.eMarks[t];if(v+3>y||(i=e.src.charCodeAt(v),i!==126&&i!==96)||(c=v,v=e.skipChars(v,i),s=v-c,s<3)||(o=e.src.slice(v,y).trim(),o.indexOf("`")>=0))return!1;if(n)return!0;for(l=t;l++,!(l>=r||(v=c=e.bMarks[l]+e.tShift[l],y=e.eMarks[l],v=4)&&(v=e.skipChars(v,i),!(v-cP||e.src.charCodeAt($++)!==62||e.level>=e.options.maxNesting)return!1;if(n)return!0;for(e.src.charCodeAt($)===32&&$++,c=e.blkIndent,e.blkIndent=0,l=[e.bMarks[t]],e.bMarks[t]=$,$=$=P,o=[e.tShift[t]],e.tShift[t]=$-e.bMarks[t],y=e.parser.ruler.getRules("blockquote"),i=t+1;i=P));i++){if(e.src.charCodeAt($++)===62){e.src.charCodeAt($)===32&&$++,l.push(e.bMarks[i]),e.bMarks[i]=$,$=$=P,o.push(e.tShift[i]),e.tShift[i]=$-e.bMarks[i];continue}if(s)break;for(_=!1,S=0,b=y.length;Sc||(i=e.src.charCodeAt(l++),i!==42&&i!==45&&i!==95))return!1;for(s=1;l=i||(r=e.src.charCodeAt(n++),r!==42&&r!==45&&r!==43)||n=i||(r=e.src.charCodeAt(n++),r<48||r>57))return-1;for(;;){if(n>=i)return-1;if(r=e.src.charCodeAt(n++),!(r>=48&&r<=57)){if(r===41||r===46)break;return-1}}return n=0)P=!0;else if((y=HM(e,t))>=0)P=!1;else return!1;if(e.level>=e.options.maxNesting)return!1;if($=e.src.charCodeAt(y-1),n)return!0;for(A=e.tokens.length,P?(v=e.bMarks[t]+e.tShift[t],_=Number(e.src.substr(v,y-v-1)),e.tokens.push({type:"ordered_list_open",order:_,lines:j=[t,0],level:e.level++})):e.tokens.push({type:"bullet_list_open",lines:j=[t,0],level:e.level++}),i=t,C=!1,J=e.parser.ruler.getRules("list");i=S?b=1:b=x-y,b>4&&(b=1),b<1&&(b=1),s=y-e.bMarks[i]+b,e.tokens.push({type:"list_item_open",lines:U=[t,0],level:e.level++}),l=e.blkIndent,c=e.tight,o=e.tShift[t],h=e.parentType,e.tShift[t]=x-e.bMarks[t],e.blkIndent=s,e.tight=!0,e.parentType="list",e.parser.tokenize(e,t,r,!0),(!e.tight||C)&&(z=!1),C=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=l,e.tShift[t]=o,e.tight=c,e.parentType=h,e.tokens.push({type:"list_item_close",level:--e.level}),i=t=e.line,U[1]=i,x=e.bMarks[t],!(i>=r||e.isEmpty(i)||e.tShift[i]v||e.src.charCodeAt(h)!==91||e.src.charCodeAt(h+1)!==94||e.level>=e.options.maxNesting)return!1;for(l=h+2;l=v||e.src.charCodeAt(++l)!==58?!1:(n||(l++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),c=e.src.slice(h+2,l-2),e.env.footnotes.refs[":"+c]=-1,e.tokens.push({type:"footnote_reference_open",label:c,level:e.level++}),i=e.bMarks[t],s=e.tShift[t],o=e.parentType,e.tShift[t]=e.skipSpaces(l)-l,e.bMarks[t]=l,e.blkIndent+=4,e.parentType="footnote",e.tShift[t]=c||(i=e.src.charCodeAt(l),i!==35||l>=c))return!1;for(s=1,i=e.src.charCodeAt(++l);i===35&&l6||ll&&e.src.charCodeAt(o-1)===32&&(c=o),e.line=t+1,e.tokens.push({type:"heading_open",hLevel:s,lines:[t,e.line],level:e.level}),l=r||e.tShift[o]3||(i=e.bMarks[o]+e.tShift[o],s=e.eMarks[o],i>=s)||(n=e.src.charCodeAt(i),n!==45&&n!==61)||(i=e.skipChars(i,n),i=e.skipSpaces(i),i]/,X5e=/^<\/([a-zA-Z]{1,15})[\s>]/;function Q5e(e){var t=e|32;return t>=97&&t<=122}function Z5e(e,t,r,n){var i,s,o,l=e.bMarks[t],c=e.eMarks[t],h=e.tShift[t];if(l+=h,!e.options.html||h>3||l+2>=c||e.src.charCodeAt(l)!==60)return!1;if(i=e.src.charCodeAt(l+1),i===33||i===63){if(n)return!0}else if(i===47||Q5e(i)){if(i===47){if(s=e.src.slice(l,c).match(X5e),!s)return!1}else if(s=e.src.slice(l,c).match(Y5e),!s)return!1;if(EU[s[1].toLowerCase()]!==!0)return!1;if(n)return!0}else return!1;for(o=t+1;or||(c=t+1,e.tShift[c]=e.eMarks[c])||(i=e.src.charCodeAt(o),i!==124&&i!==45&&i!==58)||(s=Aw(e,t+1),!/^[-:| ]+$/.test(s))||(h=s.split("|"),h<=2))return!1;for(y=[],l=0;l=s||(n=e.src.charCodeAt(i++),n!==126&&n!==58)||(r=e.skipSpaces(i),i===r)||r>=s?-1:r}function tVe(e,t){var r,n,i=e.level+2;for(r=t+2,n=e.tokens.length-2;r=0;if(v=t+1,e.isEmpty(v)&&++v>r||e.tShift[v]=e.options.maxNesting)return!1;h=e.tokens.length,e.tokens.push({type:"dl_open",lines:c=[t,0],level:e.level++}),o=t,s=v;e:for(;;){for(x=!0,P=!1,e.tokens.push({type:"dt_open",lines:[o,o],level:e.level++}),e.tokens.push({type:"inline",content:e.getLines(o,o+1,e.blkIndent,!1).trim(),level:e.level+1,lines:[o,o],children:[]}),e.tokens.push({type:"dt_close",level:--e.level});;){if(e.tokens.push({type:"dd_open",lines:l=[v,0],level:e.level++}),$=e.tight,S=e.ddIndent,y=e.blkIndent,_=e.tShift[s],b=e.parentType,e.blkIndent=e.ddIndent=e.tShift[s]+2,e.tShift[s]=i-e.bMarks[s],e.tight=!0,e.parentType="deflist",e.parser.tokenize(e,s,r,!0),(!e.tight||P)&&(x=!1),P=e.line-s>1&&e.isEmpty(e.line-1),e.tShift[s]=_,e.tight=$,e.parentType=b,e.blkIndent=y,e.ddIndent=S,e.tokens.push({type:"dd_close",level:--e.level}),l[1]=v=e.line,v>=r||e.tShift[v]=r||(o=v,e.isEmpty(o))||e.tShift[o]=r)||(e.isEmpty(s)&&s++,s>=r)||e.tShift[s]3)){for(i=!1,s=0,o=c.length;s=r||e.tShift[s]=0&&(e=e.replace(iVe,function(l,c){var h;return e.charCodeAt(c)===10?(s=c+1,o=0,l):(h=" ".slice((c-s-o)%4),o=c-s+1,h)})),i=new Au(e,this,t,r,n),this.tokenize(i,i.line,i.lineMax)};function aVe(e){switch(e){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}function lVe(e,t){for(var r=e.pos;r=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){for(var s=r-2;s>=0;s--)if(e.pending.charCodeAt(s)!==32){e.pending=e.pending.substring(0,s+1);break}e.push({type:"hardbreak",level:e.level})}else e.pending=e.pending.slice(0,-1),e.push({type:"softbreak",level:e.level});else e.push({type:"softbreak",level:e.level});for(i++;i?@[]^_`{|}~-".split("").forEach(function(e){l$[e.charCodeAt(0)]=1});function cVe(e,t){var r,n=e.pos,i=e.posMax;if(e.src.charCodeAt(n)!==92)return!1;if(n++,n=s||e.src.charCodeAt(o+1)!==126||e.level>=e.options.maxNesting||(l=o>0?e.src.charCodeAt(o-1):-1,c=e.src.charCodeAt(o+2),l===126)||c===126||c===32||c===10)return!1;for(n=o+2;no+3)return e.pos+=n-o,t||(e.pending+=e.src.slice(o,n)),!0;for(e.pos=o+2,i=1;e.pos+1=s||e.src.charCodeAt(o+1)!==43||e.level>=e.options.maxNesting||(l=o>0?e.src.charCodeAt(o-1):-1,c=e.src.charCodeAt(o+2),l===43)||c===43||c===32||c===10)return!1;for(n=o+2;n=s||e.src.charCodeAt(o+1)!==61||e.level>=e.options.maxNesting||(l=o>0?e.src.charCodeAt(o-1):-1,c=e.src.charCodeAt(o+2),l===61)||c===61||c===32||c===10)return!1;for(n=o+2;n=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function XM(e,t){var r=t,n,i,s,o=!0,l=!0,c=e.posMax,h=e.src.charCodeAt(t);for(n=t>0?e.src.charCodeAt(t-1):-1;r=c&&(o=!1),s=r-t,s>=4?o=l=!1:(i=r=e.options.maxNesting)return!1;for(e.pos=v+r,l=[r];e.pos?@[\]^_`{|}~-])/g;function yVe(e,t){var r,n,i=e.posMax,s=e.pos;if(e.src.charCodeAt(s)!==126||t||s+2>=i||e.level>=e.options.maxNesting)return!1;for(e.pos=s+1;e.pos?@[\]^_`{|}~-])/g;function bVe(e,t){var r,n,i=e.posMax,s=e.pos;if(e.src.charCodeAt(s)!==94||t||s+2>=i||e.level>=e.options.maxNesting)return!1;for(e.pos=s+1;e.pos=e.options.maxNesting||(r=b+1,n=Bd(e,b),n<0))return!1;if(l=n+1,l=S)return!1;for(b=l,gU(e,l)?(s=e.linkContent,l=e.pos):s="",b=l;l=S||e.src.charCodeAt(l)!==41)return e.pos=y,!1;l++}else{if(e.linkLevel>0)return!1;for(;l=0?i=e.src.slice(b,l++):l=b-1),i||(typeof i>"u"&&(l=n+1),i=e.src.slice(r,n)),c=e.env.references[vU(i)],!c)return e.pos=y,!1;s=c.href,o=c.title}return t||(e.pos=r,e.posMax=n,v?e.push({type:"image",src:s,title:o,alt:e.src.substr(r,n-r),level:e.level}):(e.push({type:"link_open",href:s,title:o,level:e.level++}),e.linkLevel++,e.parser.tokenize(e),e.linkLevel--,e.push({type:"link_close",level:--e.level}))),e.pos=l,e.posMax=S,!0}function SVe(e,t){var r,n,i,s,o=e.posMax,l=e.pos;return l+2>=o||e.src.charCodeAt(l)!==94||e.src.charCodeAt(l+1)!==91||e.level>=e.options.maxNesting||(r=l+2,n=Bd(e,l+1),n<0)?!1:(t||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),i=e.env.footnotes.list.length,e.pos=r,e.posMax=n,e.push({type:"footnote_ref",id:i,level:e.level}),e.linkLevel++,s=e.tokens.length,e.parser.tokenize(e),e.env.footnotes.list[i]={tokens:e.tokens.splice(s)},e.linkLevel--),e.pos=n+1,e.posMax=o,!0)}function wVe(e,t){var r,n,i,s,o=e.posMax,l=e.pos;if(l+3>o||!e.env.footnotes||!e.env.footnotes.refs||e.src.charCodeAt(l)!==91||e.src.charCodeAt(l+1)!==94||e.level>=e.options.maxNesting)return!1;for(n=l+2;n=o||(n++,r=e.src.slice(l+2,n-1),typeof e.env.footnotes.refs[":"+r]>"u")?!1:(t||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[":"+r]<0?(i=e.env.footnotes.list.length,e.env.footnotes.list[i]={label:r,count:0},e.env.footnotes.refs[":"+r]=i):i=e.env.footnotes.refs[":"+r],s=e.env.footnotes.list[i].count,e.env.footnotes.list[i].count++,e.push({type:"footnote_ref",id:i,subId:s,level:e.level})),e.pos=n,e.posMax=o,!0)}var _Ve=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"],xVe=/^<([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])?)*)>/,AVe=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function OVe(e,t){var r,n,i,s,o,l=e.pos;return e.src.charCodeAt(l)!==60||(r=e.src.slice(l),r.indexOf(">")<0)?!1:(n=r.match(AVe),n?_Ve.indexOf(n[1].toLowerCase())<0||(s=n[0].slice(1,-1),o=C2(s),!e.parser.validateLink(s))?!1:(t||(e.push({type:"link_open",href:o,level:e.level}),e.push({type:"text",content:s,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=n[0].length,!0):(i=r.match(xVe),i?(s=i[0].slice(1,-1),o=C2("mailto:"+s),e.parser.validateLink(o)?(t||(e.push({type:"link_open",href:o,level:e.level}),e.push({type:"text",content:s,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=i[0].length,!0):!1):!1))}function ub(e,t){return e=e.source,t=t||"",function r(n,i){return n?(i=i.source||i,e=e.replace(n,i),r):new RegExp(e,t)}}var CVe=/[a-zA-Z_:][a-zA-Z0-9:._-]*/,$Ve=/[^"'=<>`\x00-\x20]+/,kVe=/'[^']*'/,TVe=/"[^"]*"/,PVe=ub(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",$Ve)("single_quoted",kVe)("double_quoted",TVe)(),RVe=ub(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",CVe)("attr_value",PVe)(),IVe=ub(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",RVe)(),NVe=/<\/[A-Za-z][A-Za-z0-9]*\s*>/,jVe=/|/,MVe=/<[?].*?[?]>/,DVe=/]*>/,FVe=//,LVe=ub(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",IVe)("close_tag",NVe)("comment",jVe)("processing",MVe)("declaration",DVe)("cdata",FVe)();function BVe(e){var t=e|32;return t>=97&&t<=122}function UVe(e,t){var r,n,i,s=e.pos;return!e.options.html||(i=e.posMax,e.src.charCodeAt(s)!==60||s+2>=i)||(r=e.src.charCodeAt(s+1),r!==33&&r!==63&&r!==47&&!BVe(r))||(n=e.src.slice(s).match(LVe),!n)?!1:(t||e.push({type:"htmltag",content:e.src.slice(s,s+n[0].length),level:e.level}),e.pos+=n[0].length,!0)}var VVe=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,zVe=/^&([a-z][a-z0-9]{1,31});/i;function qVe(e,t){var r,n,i,s=e.pos,o=e.posMax;if(e.src.charCodeAt(s)!==38)return!1;if(s+10){e.pos=s;return}for(i=0;i=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};cb.prototype.parse=function(e,t,r,n){var i=new xu(e,this,t,r,n);this.tokenize(i)};function WVe(e){var t=["vbscript","javascript","file","data"],r=e.trim().toLowerCase();return r=fu(r),!(r.indexOf(":")!==-1&&t.indexOf(r.split(":")[0])!==-1)}var KVe={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","smartquotes","references","abbr2","footnote_tail"]},block:{rules:["blockquote","code","fences","footnote","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","footnote_ref","htmltag","links","newline","text"]}}},HVe={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},JVe={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}},GVe={default:KVe,full:HVe,commonmark:JVe};function SU(e,t,r){this.src=t,this.env=r,this.options=e.options,this.tokens=[],this.inlineMode=!1,this.inline=e.inline,this.block=e.block,this.renderer=e.renderer,this.typographer=e.typographer}function fl(e,t){typeof e!="string"&&(t=e,e="default"),t&&t.linkify!=null&&console.warn(`linkify option is removed. Use linkify plugin instead: + +import Remarkable from 'remarkable'; +import linkify from 'remarkable/linkify'; +new Remarkable().use(linkify) +`),this.inline=new cb,this.block=new a$,this.core=new bU,this.renderer=new o$,this.ruler=new Ui,this.options={},this.configure(GVe[e]),this.set(t||{})}fl.prototype.set=function(e){dU(this.options,e)};fl.prototype.configure=function(e){var t=this;if(!e)throw new Error("Wrong `remarkable` preset, check name/content");e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enable(e.components[r].rules,!0)})};fl.prototype.use=function(e,t){return e(this,t),this};fl.prototype.parse=function(e,t){var r=new SU(this,e,t);return this.core.process(r),r.tokens};fl.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};fl.prototype.parseInline=function(e,t){var r=new SU(this,e,t);return r.inlineMode=!0,this.core.process(r),r.tokens};fl.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var YVe="3.16.2";function XVe(e,t){for(var r in t)t.hasOwnProperty(r)&&e[r]===void 0&&(e[r]=t[r]);return e}function QVe(e,t,r){var n;return e.length>t&&(r==null?(r="…",n=3):n=r.length,e=e.substring(0,t-n)+r),e}function QM(e,t){if(Array.prototype.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r=0;r--)t(e[r])===!0&&e.splice(r,1)}function ZVe(e,t){if(!t.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var r=[],n=0,i;i=t.exec(e);)r.push(e.substring(n,i.index)),r.push(i[0]),n=i.index+i[0].length;return r.push(e.substring(n)),r}function u$(e){throw new Error("Unhandled case for value: '".concat(e,"'"))}var $2=function(){function e(t){t===void 0&&(t={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=t.tagName||"",this.attrs=t.attrs||{},this.innerHTML=t.innerHtml||t.innerHTML||""}return e.prototype.setTagName=function(t){return this.tagName=t,this},e.prototype.getTagName=function(){return this.tagName||""},e.prototype.setAttr=function(t,r){var n=this.getAttrs();return n[t]=r,this},e.prototype.getAttr=function(t){return this.getAttrs()[t]},e.prototype.setAttrs=function(t){return Object.assign(this.getAttrs(),t),this},e.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},e.prototype.setClass=function(t){return this.setAttr("class",t)},e.prototype.addClass=function(t){for(var r=this.getClass(),n=this.whitespaceRegex,i=r?r.split(n):[],s=t.split(n),o;o=s.shift();)QM(i,o)===-1&&i.push(o);return this.getAttrs().class=i.join(" "),this},e.prototype.removeClass=function(t){for(var r=this.getClass(),n=this.whitespaceRegex,i=r?r.split(n):[],s=t.split(n),o;i.length&&(o=s.shift());){var l=QM(i,o);l!==-1&&i.splice(l,1)}return this.getAttrs().class=i.join(" "),this},e.prototype.getClass=function(){return this.getAttrs().class||""},e.prototype.hasClass=function(t){return(" "+this.getClass()+" ").indexOf(" "+t+" ")!==-1},e.prototype.setInnerHTML=function(t){return this.innerHTML=t,this},e.prototype.setInnerHtml=function(t){return this.setInnerHTML(t)},e.prototype.getInnerHTML=function(){return this.innerHTML||""},e.prototype.getInnerHtml=function(){return this.getInnerHTML()},e.prototype.toAnchorString=function(){var t=this.getTagName(),r=this.buildAttrsStr();return r=r?" "+r:"",["<",t,r,">",this.getInnerHtml(),""].join("")},e.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var t=this.getAttrs(),r=[];for(var n in t)t.hasOwnProperty(n)&&r.push(n+'="'+t[n]+'"');return r.join(" ")},e}();function e7e(e,t,r){var n,i;r==null?(r="…",i=3,n=8):(i=r.length,n=r.length);var s=function(A){var C={},j=A,U=j.match(/^([a-z]+):\/\//i);return U&&(C.scheme=U[1],j=j.substr(U[0].length)),U=j.match(/^(.*?)(?=(\?|#|\/|$))/i),U&&(C.host=U[1],j=j.substr(U[0].length)),U=j.match(/^\/(.*?)(?=(\?|#|$))/i),U&&(C.path=U[1],j=j.substr(U[0].length)),U=j.match(/^\?(.*?)(?=(#|$))/i),U&&(C.query=U[1],j=j.substr(U[0].length)),U=j.match(/^#(.*?)$/i),U&&(C.fragment=U[1]),C},o=function(A){var C="";return A.scheme&&A.host&&(C+=A.scheme+"://"),A.host&&(C+=A.host),A.path&&(C+="/"+A.path),A.query&&(C+="?"+A.query),A.fragment&&(C+="#"+A.fragment),C},l=function(A,C){var j=C/2,U=Math.ceil(j),z=-1*Math.floor(j),J="";return z<0&&(J=A.substr(z)),A.substr(0,U)+r+J};if(e.length<=t)return e;var c=t-i,h=s(e);if(h.query){var v=h.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);v&&(h.query=h.query.substr(0,v[1].length),e=o(h))}if(e.length<=t||(h.host&&(h.host=h.host.replace(/^www\./,""),e=o(h)),e.length<=t))return e;var y="";if(h.host&&(y+=h.host),y.length>=c)return h.host.length==t?(h.host.substr(0,t-i)+r).substr(0,c+n):l(y,c).substr(0,c+n);var S="";if(h.path&&(S+="/"+h.path),h.query&&(S+="?"+h.query),S)if((y+S).length>=c){if((y+S).length==t)return(y+S).substr(0,t);var b=c-y.length;return(y+l(S,b)).substr(0,c+n)}else y+=S;if(h.fragment){var _="#"+h.fragment;if((y+_).length>=c){if((y+_).length==t)return(y+_).substr(0,t);var $=c-y.length;return(y+l(_,$)).substr(0,c+n)}else y+=_}if(h.scheme&&h.host){var P=h.scheme+"://";if((y+P).length0&&(x=y.substr(-1*Math.floor(c/2))),(y.substr(0,Math.ceil(c/2))+r+x).substr(0,c+n)}function t7e(e,t,r){if(e.length<=t)return e;var n,i;r==null?(r="…",n=8,i=3):(n=r.length,i=r.length);var s=t-i,o="";return s>0&&(o=e.substr(-1*Math.floor(s/2))),(e.substr(0,Math.ceil(s/2))+r+o).substr(0,s+n)}function r7e(e,t,r){return QVe(e,t,r)}var ZM=function(){function e(t){t===void 0&&(t={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=t.newWindow||!1,this.truncate=t.truncate||{},this.className=t.className||""}return e.prototype.build=function(t){return new $2({tagName:"a",attrs:this.createAttrs(t),innerHtml:this.processAnchorText(t.getAnchorText())})},e.prototype.createAttrs=function(t){var r={href:t.getAnchorHref()},n=this.createCssClass(t);return n&&(r.class=n),this.newWindow&&(r.target="_blank",r.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length-1},e.isValidUriScheme=function(t){var r=t.match(this.uriSchemeRegex),n=r&&r[0].toLowerCase();return n!=="javascript:"&&n!=="vbscript:"},e.urlMatchDoesNotHaveProtocolOrDot=function(t,r){return!!t&&(!r||!this.hasFullProtocolRegex.test(r))&&t.indexOf(".")===-1},e.urlMatchDoesNotHaveAtLeastOneWordChar=function(t,r){return t&&r?!this.hasFullProtocolRegex.test(r)&&!this.hasWordCharAfterProtocolRegex.test(t):!1},e.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,e.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,e.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+CU+"]"),e.ipRegex=/[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?(:[0-9]*)?\/?$/,e}(),h7e=function(){var e=/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/,t=/(?:www\.)/,r=new RegExp("[/?#](?:["+Hr+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^✓]*["+Hr+"\\-+&@#/%=~_()|'$*\\[\\]{}✓])?");return new RegExp(["(?:","(",e.source,kw(2),")","|","(","(//)?",t.source,kw(6),")","|","(","(//)?",kw(10)+"\\.",kU.source,"(?![-"+l7e+"])",")",")","(?::[0-9]+)?","(?:"+r.source+")?"].join(""),"gi")}(),m7e=new RegExp("["+Hr+"]"),r3=function(e){Ao(t,e);function t(r){var n=e.call(this,r)||this;return n.stripPrefix={scheme:!0,www:!0},n.stripTrailingSlash=!0,n.decodePercentEncoding=!0,n.matcherRegex=h7e,n.wordCharRegExp=m7e,n.stripPrefix=r.stripPrefix,n.stripTrailingSlash=r.stripTrailingSlash,n.decodePercentEncoding=r.decodePercentEncoding,n}return t.prototype.parseMatches=function(r){for(var n=this.matcherRegex,i=this.stripPrefix,s=this.stripTrailingSlash,o=this.decodePercentEncoding,l=this.tagBuilder,c=[],h,v=function(){var S=h[0],b=h[1],_=h[4],$=h[5],P=h[9],x=h.index,A=$||P,C=r.charAt(x-1);if(!d7e.isValid(S,b)||x>0&&C==="@"||x>0&&A&&y.wordCharRegExp.test(C))return"continue";if(/\?$/.test(S)&&(S=S.substr(0,S.length-1)),y.matchHasUnbalancedClosingParen(S))S=S.substr(0,S.length-1);else{var j=y.matchHasInvalidCharAfterTld(S,b);j>-1&&(S=S.substr(0,j))}var U=["http://","https://"].find(function(Q){return!!b&&b.indexOf(Q)!==-1});if(U){var z=S.indexOf(U);S=S.substr(z),b=b.substr(z),x=x+z}var J=b?"scheme":_?"www":"tld",ee=!!b;c.push(new OU({tagBuilder:l,matchedText:S,offset:x,urlMatchType:J,url:S,protocolUrlMatch:ee,protocolRelativeMatch:!!A,stripPrefix:i,stripTrailingSlash:s,decodePercentEncoding:o}))},y=this;(h=n.exec(r))!==null;)v();return c},t.prototype.matchHasUnbalancedClosingParen=function(r){var n=r.charAt(r.length-1),i;if(n===")")i="(";else if(n==="]")i="[";else if(n==="}")i="{";else return!1;for(var s=0,o=0,l=r.length-1;o-1&&l-c<=140){var P=r.slice(c,l),x=new _U({tagBuilder:n,matchedText:P,offset:c,serviceName:i,hashtag:P.slice(1)});s.push(x)}}},t}(kf),g7e=["twitter","facebook","instagram","tiktok"],y7e=/(?:(?:(?:(\+)?\d{1,3}[-\040.]?)?\(?\d{3}\)?[-\040.]?\d{3}[-\040.]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-\040.]?(?:\d[-\040.]?){6,12}\d+))([,;]+[0-9]+#?)*/,v7e=/(0([1-9]{1}-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/,b7e=new RegExp("".concat(y7e.source,"|").concat(v7e.source),"g"),s3=function(e){Ao(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.matcherRegex=b7e,r}return t.prototype.parseMatches=function(r){for(var n=this.matcherRegex,i=this.tagBuilder,s=[],o;(o=n.exec(r))!==null;){var l=o[0],c=l.replace(/[^0-9,;#]/g,""),h=!!(o[1]||o[2]),v=o.index==0?"":r.substr(o.index-1,1),y=r.substr(o.index+l.length,1),S=!v.match(/\d/)&&!y.match(/\d/);this.testMatch(o[3])&&this.testMatch(l)&&S&&s.push(new AU({tagBuilder:i,matchedText:l,offset:o.index,number:c,plusSign:h}))}return s},t.prototype.testMatch=function(r){return i7e.test(r)},t}(kf),E7e=new RegExp("@[_".concat(Hr,"]{1,50}(?![_").concat(Hr,"])"),"g"),S7e=new RegExp("@[_.".concat(Hr,"]{1,30}(?![_").concat(Hr,"])"),"g"),w7e=new RegExp("@[-_.".concat(Hr,"]{1,50}(?![-_").concat(Hr,"])"),"g"),_7e=new RegExp("@[_.".concat(Hr,"]{1,23}[_").concat(Hr,"](?![_").concat(Hr,"])"),"g"),x7e=new RegExp("[^"+Hr+"]"),o3=function(e){Ao(t,e);function t(r){var n=e.call(this,r)||this;return n.serviceName="twitter",n.matcherRegexes={twitter:E7e,instagram:S7e,soundcloud:w7e,tiktok:_7e},n.nonWordCharRegex=x7e,n.serviceName=r.serviceName,n}return t.prototype.parseMatches=function(r){var n=this.serviceName,i=this.matcherRegexes[this.serviceName],s=this.nonWordCharRegex,o=this.tagBuilder,l=[],c;if(!i)return l;for(;(c=i.exec(r))!==null;){var h=c.index,v=r.charAt(h-1);if(h===0||s.test(v)){var y=c[0].replace(/\.+$/g,""),S=y.slice(1);l.push(new xU({tagBuilder:o,matchedText:y,offset:h,serviceName:n,mention:S}))}}return l},t}(kf);function A7e(e,t){for(var r=t.onOpenTag,n=t.onCloseTag,i=t.onText,s=t.onComment,o=t.onDoctype,l=new Qs,c=0,h=e.length,v=0,y=0,S=l;c"?(S=new Qs(Vr(Vr({},S),{name:se()})),ye()):!Cw.test(Z)&&!n7e.test(Z)&&Z!==":"&&pe()}function x(Z){Z===">"?pe():Cw.test(Z)?v=3:pe()}function A(Z){Nl.test(Z)||(Z==="/"?v=12:Z===">"?ye():Z==="<"?be():Z==="="||$w.test(Z)||s7e.test(Z)?pe():v=5)}function C(Z){Nl.test(Z)?v=6:Z==="/"?v=12:Z==="="?v=7:Z===">"?ye():Z==="<"?be():$w.test(Z)&&pe()}function j(Z){Nl.test(Z)||(Z==="/"?v=12:Z==="="?v=7:Z===">"?ye():Z==="<"?be():$w.test(Z)?pe():v=5)}function U(Z){Nl.test(Z)||(Z==='"'?v=8:Z==="'"?v=9:/[>=`]/.test(Z)?pe():Z==="<"?be():v=10)}function z(Z){Z==='"'&&(v=11)}function J(Z){Z==="'"&&(v=11)}function ee(Z){Nl.test(Z)?v=4:Z===">"?ye():Z==="<"&&be()}function Q(Z){Nl.test(Z)?v=4:Z==="/"?v=12:Z===">"?ye():Z==="<"?be():(v=4,_e())}function f(Z){Z===">"?(S=new Qs(Vr(Vr({},S),{isClosing:!0})),ye()):v=4}function ce(Z){e.substr(c,2)==="--"?(c+=2,S=new Qs(Vr(Vr({},S),{type:"comment"})),v=14):e.substr(c,7).toUpperCase()==="DOCTYPE"?(c+=7,S=new Qs(Vr(Vr({},S),{type:"doctype"})),v=20):pe()}function L(Z){Z==="-"?v=15:Z===">"?pe():v=16}function Fe(Z){Z==="-"?v=18:Z===">"?pe():v=16}function Xe(Z){Z==="-"&&(v=17)}function Ye(Z){Z==="-"?v=18:v=16}function he(Z){Z===">"?ye():Z==="!"?v=19:Z==="-"||(v=16)}function de(Z){Z==="-"?v=17:Z===">"?ye():v=16}function ge(Z){Z===">"?ye():Z==="<"&&be()}function pe(){v=0,S=l}function be(){v=1,S=new Qs({idx:c})}function ye(){var Z=e.slice(y,S.idx);Z&&i(Z,y),S.type==="comment"?s(S.idx):S.type==="doctype"?o(S.idx):(S.isOpening&&r(S.name,S.idx),S.isClosing&&n(S.name,S.idx)),pe(),y=c+1}function Le(){var Z=e.slice(y,c);i(Z,y),y=c+1}function se(){var Z=S.idx+(S.isClosing?2:1);return e.slice(Z,c).toLowerCase()}function _e(){c--}}var Qs=function(){function e(t){t===void 0&&(t={}),this.idx=t.idx!==void 0?t.idx:-1,this.type=t.type||"tag",this.name=t.name||"",this.isOpening=!!t.isOpening,this.isClosing=!!t.isClosing}return e}(),O7e=function(){function e(t){t===void 0&&(t={}),this.version=e.version,this.urls={},this.email=!0,this.phone=!0,this.hashtag=!1,this.mention=!1,this.newWindow=!0,this.stripPrefix={scheme:!0,www:!0},this.stripTrailingSlash=!0,this.decodePercentEncoding=!0,this.truncate={length:0,location:"end"},this.className="",this.replaceFn=null,this.context=void 0,this.sanitizeHtml=!1,this.matchers=null,this.tagBuilder=null,this.urls=this.normalizeUrlsCfg(t.urls),this.email=typeof t.email=="boolean"?t.email:this.email,this.phone=typeof t.phone=="boolean"?t.phone:this.phone,this.hashtag=t.hashtag||this.hashtag,this.mention=t.mention||this.mention,this.newWindow=typeof t.newWindow=="boolean"?t.newWindow:this.newWindow,this.stripPrefix=this.normalizeStripPrefixCfg(t.stripPrefix),this.stripTrailingSlash=typeof t.stripTrailingSlash=="boolean"?t.stripTrailingSlash:this.stripTrailingSlash,this.decodePercentEncoding=typeof t.decodePercentEncoding=="boolean"?t.decodePercentEncoding:this.decodePercentEncoding,this.sanitizeHtml=t.sanitizeHtml||!1;var r=this.mention;if(r!==!1&&["twitter","instagram","soundcloud","tiktok"].indexOf(r)===-1)throw new Error("invalid `mention` cfg '".concat(r,"' - see docs"));var n=this.hashtag;if(n!==!1&&g7e.indexOf(n)===-1)throw new Error("invalid `hashtag` cfg '".concat(n,"' - see docs"));this.truncate=this.normalizeTruncateCfg(t.truncate),this.className=t.className||this.className,this.replaceFn=t.replaceFn||this.replaceFn,this.context=t.context||this}return e.link=function(t,r){var n=new e(r);return n.link(t)},e.parse=function(t,r){var n=new e(r);return n.parse(t)},e.prototype.normalizeUrlsCfg=function(t){return t==null&&(t=!0),typeof t=="boolean"?{schemeMatches:t,wwwMatches:t,tldMatches:t}:{schemeMatches:typeof t.schemeMatches=="boolean"?t.schemeMatches:!0,wwwMatches:typeof t.wwwMatches=="boolean"?t.wwwMatches:!0,tldMatches:typeof t.tldMatches=="boolean"?t.tldMatches:!0}},e.prototype.normalizeStripPrefixCfg=function(t){return t==null&&(t=!0),typeof t=="boolean"?{scheme:t,www:t}:{scheme:typeof t.scheme=="boolean"?t.scheme:!0,www:typeof t.www=="boolean"?t.www:!0}},e.prototype.normalizeTruncateCfg=function(t){return typeof t=="number"?{length:t,location:"end"}:XVe(t||{},{length:Number.POSITIVE_INFINITY,location:"end"})},e.prototype.parse=function(t){var r=this,n=["a","style","script"],i=0,s=[];return A7e(t,{onOpenTag:function(o){n.indexOf(o)>=0&&i++},onText:function(o,l){if(i===0){var c=/( | |<|<|>|>|"|"|')/gi,h=ZVe(o,c),v=l;h.forEach(function(y,S){if(S%2===0){var b=r.parseText(y,v);s.push.apply(s,b)}v+=y.length})}},onCloseTag:function(o){n.indexOf(o)>=0&&(i=Math.max(i-1,0))},onComment:function(o){},onDoctype:function(o){}}),s=this.compactMatches(s),s=this.removeUnwantedMatches(s),s},e.prototype.compactMatches=function(t){t.sort(function(c,h){return c.getOffset()-h.getOffset()});for(var r=0;rs?r:r+1;t.splice(l,1);continue}if(t[r+1].getOffset()/g,">"));for(var r=this.parse(t),n=[],i=0,s=0,o=r.length;s\s]/i.test(e)}function k7e(e){return/^<\/a\s*>/i.test(e)}function T7e(){var e=[],t=new O7e({stripPrefix:!1,url:!0,email:!0,replaceFn:function(r){switch(r.getType()){case"url":e.push({text:r.matchedText,url:r.getUrl()});break;case"email":e.push({text:r.matchedText,url:"mailto:"+r.getEmail().replace(/^mailto:/i,"")});break}return!1}});return{links:e,autolinker:t}}function P7e(e){var t,r,n,i,s,o,l,c,h,v,y,S=e.tokens,b=null,_,$;for(r=0,n=S.length;r=0;t--){if(s=i[t],s.type==="link_close"){for(t--;i[t].level!==s.level&&i[t].type!=="link_open";)t--;continue}if(s.type==="htmltag"&&($7e(s.content)&&y>0&&y--,k7e(s.content)&&y++),!(y>0)&&s.type==="text"&&C7e.test(s.content)){if(b||(b=T7e(),_=b.links,$=b.autolinker),o=s.content,_.length=0,$.link(o),!_.length)continue;for(l=[],v=s.level,c=0;c<_.length;c++)e.inline.validateLink(_[c].url)&&(h=o.indexOf(_[c].text),h&&l.push({type:"text",content:o.slice(0,h),level:v}),l.push({type:"link_open",href:_[c].url,title:"",level:v++}),l.push({type:"text",content:_[c].text,level:v}),l.push({type:"link_close",level:--v}),o=o.slice(h+_[c].text.length));o.length&&l.push({type:"text",content:o,level:v}),S[r].children=i=[].concat(i.slice(0,t),l,i.slice(t+1))}}}function R7e(e){e.core.ruler.push("linkify",P7e)}/*! @license DOMPurify 3.0.9 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.9/LICENSE */const{entries:TU,setPrototypeOf:a3,isFrozen:I7e,getPrototypeOf:N7e,getOwnPropertyDescriptor:j7e}=Object;let{freeze:Qn,seal:Ds,create:PU}=Object,{apply:T2,construct:P2}=typeof Reflect<"u"&&Reflect;Qn||(Qn=function(t){return t});Ds||(Ds=function(t){return t});T2||(T2=function(t,r,n){return t.apply(r,n)});P2||(P2=function(t,r){return new t(...r)});const Fg=Mi(Array.prototype.forEach),l3=Mi(Array.prototype.pop),Cp=Mi(Array.prototype.push),gy=Mi(String.prototype.toLowerCase),Tw=Mi(String.prototype.toString),M7e=Mi(String.prototype.match),$p=Mi(String.prototype.replace),D7e=Mi(String.prototype.indexOf),F7e=Mi(String.prototype.trim),Cs=Mi(Object.prototype.hasOwnProperty),$i=Mi(RegExp.prototype.test),kp=L7e(TypeError);function Mi(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i2&&arguments[2]!==void 0?arguments[2]:gy;a3&&a3(e,null);let n=t.length;for(;n--;){let i=t[n];if(typeof i=="string"){const s=r(i);s!==i&&(I7e(t)||(t[n]=s),i=s)}e[i]=!0}return e}function B7e(e){for(let t=0;t/gm),W7e=Ds(/\${[\w\W]*}/gm),K7e=Ds(/^data-[\-\w.\u00B7-\uFFFF]/),H7e=Ds(/^aria-[\-\w]+$/),RU=Ds(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J7e=Ds(/^(?:\w+script|data):/i),G7e=Ds(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),IU=Ds(/^html$/i);var d3=Object.freeze({__proto__:null,MUSTACHE_EXPR:z7e,ERB_EXPR:q7e,TMPLIT_EXPR:W7e,DATA_ATTR:K7e,ARIA_ATTR:H7e,IS_ALLOWED_URI:RU,IS_SCRIPT_OR_DATA:J7e,ATTR_WHITESPACE:G7e,DOCTYPE_NAME:IU});const Y7e=function(){return typeof window>"u"?null:window},X7e=function(t,r){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let n=null;const i="data-tt-policy-suffix";r&&r.hasAttribute(i)&&(n=r.getAttribute(i));const s="dompurify"+(n?"#"+n:"");try{return t.createPolicy(s,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}};function NU(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Y7e();const t=ht=>NU(ht);if(t.version="3.0.9",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;let{document:r}=e;const n=r,i=n.currentScript,{DocumentFragment:s,HTMLTemplateElement:o,Node:l,Element:c,NodeFilter:h,NamedNodeMap:v=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:y,DOMParser:S,trustedTypes:b}=e,_=c.prototype,$=Lg(_,"cloneNode"),P=Lg(_,"nextSibling"),x=Lg(_,"childNodes"),A=Lg(_,"parentNode");if(typeof o=="function"){const ht=r.createElement("template");ht.content&&ht.content.ownerDocument&&(r=ht.content.ownerDocument)}let C,j="";const{implementation:U,createNodeIterator:z,createDocumentFragment:J,getElementsByTagName:ee}=r,{importNode:Q}=n;let f={};t.isSupported=typeof TU=="function"&&typeof A=="function"&&U&&U.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:ce,ERB_EXPR:L,TMPLIT_EXPR:Fe,DATA_ATTR:Xe,ARIA_ATTR:Ye,IS_SCRIPT_OR_DATA:he,ATTR_WHITESPACE:de}=d3;let{IS_ALLOWED_URI:ge}=d3,pe=null;const be=Ht({},[...u3,...Pw,...Rw,...Iw,...c3]);let ye=null;const Le=Ht({},[...f3,...Nw,...p3,...Bg]);let se=Object.seal(PU(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),_e=null,Z=null,V=!0,q=!0,Ae=!1,Ee=!0,We=!1,lt=!1,ze=!1,rt=!1,Pt=!1,mt=!1,Rt=!1,Ur=!0,K=!1;const T="user-content-";let I=!0,Y=!1,te={},ue=null;const me=Ht({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ke=null;const yt=Ht({},["audio","video","img","source","image","track"]);let _t=null;const Ct=Ht({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),At="http://www.w3.org/1998/Math/MathML",ut="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml";let vt=nt,Lt=!1,Mr=null;const zt=Ht({},[At,ut,nt],Tw);let si=null;const Xr=["application/xhtml+xml","text/html"],Oo="text/html";let ur=null,yr=null;const Fs=r.createElement("form"),_i=function(oe){return oe instanceof RegExp||oe instanceof Function},tr=function(){let oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(yr&&yr===oe)){if((!oe||typeof oe!="object")&&(oe={}),oe=Ll(oe),si=Xr.indexOf(oe.PARSER_MEDIA_TYPE)===-1?Oo:oe.PARSER_MEDIA_TYPE,ur=si==="application/xhtml+xml"?Tw:gy,pe=Cs(oe,"ALLOWED_TAGS")?Ht({},oe.ALLOWED_TAGS,ur):be,ye=Cs(oe,"ALLOWED_ATTR")?Ht({},oe.ALLOWED_ATTR,ur):Le,Mr=Cs(oe,"ALLOWED_NAMESPACES")?Ht({},oe.ALLOWED_NAMESPACES,Tw):zt,_t=Cs(oe,"ADD_URI_SAFE_ATTR")?Ht(Ll(Ct),oe.ADD_URI_SAFE_ATTR,ur):Ct,Ke=Cs(oe,"ADD_DATA_URI_TAGS")?Ht(Ll(yt),oe.ADD_DATA_URI_TAGS,ur):yt,ue=Cs(oe,"FORBID_CONTENTS")?Ht({},oe.FORBID_CONTENTS,ur):me,_e=Cs(oe,"FORBID_TAGS")?Ht({},oe.FORBID_TAGS,ur):{},Z=Cs(oe,"FORBID_ATTR")?Ht({},oe.FORBID_ATTR,ur):{},te=Cs(oe,"USE_PROFILES")?oe.USE_PROFILES:!1,V=oe.ALLOW_ARIA_ATTR!==!1,q=oe.ALLOW_DATA_ATTR!==!1,Ae=oe.ALLOW_UNKNOWN_PROTOCOLS||!1,Ee=oe.ALLOW_SELF_CLOSE_IN_ATTR!==!1,We=oe.SAFE_FOR_TEMPLATES||!1,lt=oe.WHOLE_DOCUMENT||!1,Pt=oe.RETURN_DOM||!1,mt=oe.RETURN_DOM_FRAGMENT||!1,Rt=oe.RETURN_TRUSTED_TYPE||!1,rt=oe.FORCE_BODY||!1,Ur=oe.SANITIZE_DOM!==!1,K=oe.SANITIZE_NAMED_PROPS||!1,I=oe.KEEP_CONTENT!==!1,Y=oe.IN_PLACE||!1,ge=oe.ALLOWED_URI_REGEXP||RU,vt=oe.NAMESPACE||nt,se=oe.CUSTOM_ELEMENT_HANDLING||{},oe.CUSTOM_ELEMENT_HANDLING&&_i(oe.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(se.tagNameCheck=oe.CUSTOM_ELEMENT_HANDLING.tagNameCheck),oe.CUSTOM_ELEMENT_HANDLING&&_i(oe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(se.attributeNameCheck=oe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),oe.CUSTOM_ELEMENT_HANDLING&&typeof oe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(se.allowCustomizedBuiltInElements=oe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),We&&(q=!1),mt&&(Pt=!0),te&&(pe=Ht({},c3),ye=[],te.html===!0&&(Ht(pe,u3),Ht(ye,f3)),te.svg===!0&&(Ht(pe,Pw),Ht(ye,Nw),Ht(ye,Bg)),te.svgFilters===!0&&(Ht(pe,Rw),Ht(ye,Nw),Ht(ye,Bg)),te.mathMl===!0&&(Ht(pe,Iw),Ht(ye,p3),Ht(ye,Bg))),oe.ADD_TAGS&&(pe===be&&(pe=Ll(pe)),Ht(pe,oe.ADD_TAGS,ur)),oe.ADD_ATTR&&(ye===Le&&(ye=Ll(ye)),Ht(ye,oe.ADD_ATTR,ur)),oe.ADD_URI_SAFE_ATTR&&Ht(_t,oe.ADD_URI_SAFE_ATTR,ur),oe.FORBID_CONTENTS&&(ue===me&&(ue=Ll(ue)),Ht(ue,oe.FORBID_CONTENTS,ur)),I&&(pe["#text"]=!0),lt&&Ht(pe,["html","head","body"]),pe.table&&(Ht(pe,["tbody"]),delete _e.tbody),oe.TRUSTED_TYPES_POLICY){if(typeof oe.TRUSTED_TYPES_POLICY.createHTML!="function")throw kp('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof oe.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw kp('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');C=oe.TRUSTED_TYPES_POLICY,j=C.createHTML("")}else C===void 0&&(C=X7e(b,i)),C!==null&&typeof j=="string"&&(j=C.createHTML(""));Qn&&Qn(oe),yr=oe}},Vi=Ht({},["mi","mo","mn","ms","mtext"]),xi=Ht({},["foreignobject","desc","title","annotation-xml"]),Ls=Ht({},["title","style","font","a","script"]),Es=Ht({},[...Pw,...Rw,...U7e]),tn=Ht({},[...Iw,...V7e]),Ou=function(oe){let Ne=A(oe);(!Ne||!Ne.tagName)&&(Ne={namespaceURI:vt,tagName:"template"});const ft=gy(oe.tagName),Xt=gy(Ne.tagName);return Mr[oe.namespaceURI]?oe.namespaceURI===ut?Ne.namespaceURI===nt?ft==="svg":Ne.namespaceURI===At?ft==="svg"&&(Xt==="annotation-xml"||Vi[Xt]):!!Es[ft]:oe.namespaceURI===At?Ne.namespaceURI===nt?ft==="math":Ne.namespaceURI===ut?ft==="math"&&xi[Xt]:!!tn[ft]:oe.namespaceURI===nt?Ne.namespaceURI===ut&&!xi[Xt]||Ne.namespaceURI===At&&!Vi[Xt]?!1:!tn[ft]&&(Ls[ft]||!Es[ft]):!!(si==="application/xhtml+xml"&&Mr[oe.namespaceURI]):!1},vr=function(oe){Cp(t.removed,{element:oe});try{oe.parentNode.removeChild(oe)}catch{oe.remove()}},Bs=function(oe,Ne){try{Cp(t.removed,{attribute:Ne.getAttributeNode(oe),from:Ne})}catch{Cp(t.removed,{attribute:null,from:Ne})}if(Ne.removeAttribute(oe),oe==="is"&&!ye[oe])if(Pt||mt)try{vr(Ne)}catch{}else try{Ne.setAttribute(oe,"")}catch{}},ha=function(oe){let Ne=null,ft=null;if(rt)oe=""+oe;else{const _r=M7e(oe,/^[\r\n\t ]+/);ft=_r&&_r[0]}si==="application/xhtml+xml"&&vt===nt&&(oe=''+oe+"");const Xt=C?C.createHTML(oe):oe;if(vt===nt)try{Ne=new S().parseFromString(Xt,si)}catch{}if(!Ne||!Ne.documentElement){Ne=U.createDocument(vt,"template",null);try{Ne.documentElement.innerHTML=Lt?j:Xt}catch{}}const St=Ne.body||Ne.documentElement;return oe&&ft&&St.insertBefore(r.createTextNode(ft),St.childNodes[0]||null),vt===nt?ee.call(Ne,lt?"html":"body")[0]:lt?Ne.documentElement:St},ma=function(oe){return z.call(oe.ownerDocument||oe,oe,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT,null)},pl=function(oe){return oe instanceof y&&(typeof oe.nodeName!="string"||typeof oe.textContent!="string"||typeof oe.removeChild!="function"||!(oe.attributes instanceof v)||typeof oe.removeAttribute!="function"||typeof oe.setAttribute!="function"||typeof oe.namespaceURI!="string"||typeof oe.insertBefore!="function"||typeof oe.hasChildNodes!="function")},Co=function(oe){return typeof l=="function"&&oe instanceof l},kn=function(oe,Ne,ft){f[oe]&&Fg(f[oe],Xt=>{Xt.call(t,Ne,ft,yr)})},Us=function(oe){let Ne=null;if(kn("beforeSanitizeElements",oe,null),pl(oe))return vr(oe),!0;const ft=ur(oe.nodeName);if(kn("uponSanitizeElement",oe,{tagName:ft,allowedTags:pe}),oe.hasChildNodes()&&!Co(oe.firstElementChild)&&$i(/<[/\w]/g,oe.innerHTML)&&$i(/<[/\w]/g,oe.textContent))return vr(oe),!0;if(!pe[ft]||_e[ft]){if(!_e[ft]&&dl(ft)&&(se.tagNameCheck instanceof RegExp&&$i(se.tagNameCheck,ft)||se.tagNameCheck instanceof Function&&se.tagNameCheck(ft)))return!1;if(I&&!ue[ft]){const Xt=A(oe)||oe.parentNode,St=x(oe)||oe.childNodes;if(St&&Xt){const _r=St.length;for(let kr=_r-1;kr>=0;--kr)Xt.insertBefore($(St[kr],!0),P(oe))}}return vr(oe),!0}return oe instanceof c&&!Ou(oe)||(ft==="noscript"||ft==="noembed"||ft==="noframes")&&$i(/<\/no(script|embed|frames)/i,oe.innerHTML)?(vr(oe),!0):(We&&oe.nodeType===3&&(Ne=oe.textContent,Fg([ce,L,Fe],Xt=>{Ne=$p(Ne,Xt," ")}),oe.textContent!==Ne&&(Cp(t.removed,{element:oe.cloneNode()}),oe.textContent=Ne)),kn("afterSanitizeElements",oe,null),!1)},oi=function(oe,Ne,ft){if(Ur&&(Ne==="id"||Ne==="name")&&(ft in r||ft in Fs))return!1;if(!(q&&!Z[Ne]&&$i(Xe,Ne))){if(!(V&&$i(Ye,Ne))){if(!ye[Ne]||Z[Ne]){if(!(dl(oe)&&(se.tagNameCheck instanceof RegExp&&$i(se.tagNameCheck,oe)||se.tagNameCheck instanceof Function&&se.tagNameCheck(oe))&&(se.attributeNameCheck instanceof RegExp&&$i(se.attributeNameCheck,Ne)||se.attributeNameCheck instanceof Function&&se.attributeNameCheck(Ne))||Ne==="is"&&se.allowCustomizedBuiltInElements&&(se.tagNameCheck instanceof RegExp&&$i(se.tagNameCheck,ft)||se.tagNameCheck instanceof Function&&se.tagNameCheck(ft))))return!1}else if(!_t[Ne]){if(!$i(ge,$p(ft,de,""))){if(!((Ne==="src"||Ne==="xlink:href"||Ne==="href")&&oe!=="script"&&D7e(ft,"data:")===0&&Ke[oe])){if(!(Ae&&!$i(he,$p(ft,de,"")))){if(ft)return!1}}}}}}return!0},dl=function(oe){return oe!=="annotation-xml"&&oe.indexOf("-")>0},Vs=function(oe){kn("beforeSanitizeAttributes",oe,null);const{attributes:Ne}=oe;if(!Ne)return;const ft={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ye};let Xt=Ne.length;for(;Xt--;){const St=Ne[Xt],{name:_r,namespaceURI:kr,value:Un}=St,ai=ur(_r);let xr=_r==="value"?Un:F7e(Un);if(ft.attrName=ai,ft.attrValue=xr,ft.keepAttr=!0,ft.forceKeepAttr=void 0,kn("uponSanitizeAttribute",oe,ft),xr=ft.attrValue,ft.forceKeepAttr||(Bs(_r,oe),!ft.keepAttr))continue;if(!Ee&&$i(/\/>/i,xr)){Bs(_r,oe);continue}We&&Fg([ce,L,Fe],ya=>{xr=$p(xr,ya," ")});const ga=ur(oe.nodeName);if(oi(ga,ai,xr)){if(K&&(ai==="id"||ai==="name")&&(Bs(_r,oe),xr=T+xr),C&&typeof b=="object"&&typeof b.getAttributeType=="function"&&!kr)switch(b.getAttributeType(ga,ai)){case"TrustedHTML":{xr=C.createHTML(xr);break}case"TrustedScriptURL":{xr=C.createScriptURL(xr);break}}try{kr?oe.setAttributeNS(kr,_r,xr):oe.setAttribute(_r,xr),l3(t.removed)}catch{}}}kn("afterSanitizeAttributes",oe,null)},Ss=function ht(oe){let Ne=null;const ft=ma(oe);for(kn("beforeSanitizeShadowDOM",oe,null);Ne=ft.nextNode();)kn("uponSanitizeShadowNode",Ne,null),!Us(Ne)&&(Ne.content instanceof s&&ht(Ne.content),Vs(Ne));kn("afterSanitizeShadowDOM",oe,null)};return t.sanitize=function(ht){let oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ne=null,ft=null,Xt=null,St=null;if(Lt=!ht,Lt&&(ht=""),typeof ht!="string"&&!Co(ht))if(typeof ht.toString=="function"){if(ht=ht.toString(),typeof ht!="string")throw kp("dirty is not a string, aborting")}else throw kp("toString is not a function");if(!t.isSupported)return ht;if(ze||tr(oe),t.removed=[],typeof ht=="string"&&(Y=!1),Y){if(ht.nodeName){const Un=ur(ht.nodeName);if(!pe[Un]||_e[Un])throw kp("root node is forbidden and cannot be sanitized in-place")}}else if(ht instanceof l)Ne=ha(""),ft=Ne.ownerDocument.importNode(ht,!0),ft.nodeType===1&&ft.nodeName==="BODY"||ft.nodeName==="HTML"?Ne=ft:Ne.appendChild(ft);else{if(!Pt&&!We&&!lt&&ht.indexOf("<")===-1)return C&&Rt?C.createHTML(ht):ht;if(Ne=ha(ht),!Ne)return Pt?null:Rt?j:""}Ne&&rt&&vr(Ne.firstChild);const _r=ma(Y?ht:Ne);for(;Xt=_r.nextNode();)Us(Xt)||(Xt.content instanceof s&&Ss(Xt.content),Vs(Xt));if(Y)return ht;if(Pt){if(mt)for(St=J.call(Ne.ownerDocument);Ne.firstChild;)St.appendChild(Ne.firstChild);else St=Ne;return(ye.shadowroot||ye.shadowrootmode)&&(St=Q.call(n,St,!0)),St}let kr=lt?Ne.outerHTML:Ne.innerHTML;return lt&&pe["!doctype"]&&Ne.ownerDocument&&Ne.ownerDocument.doctype&&Ne.ownerDocument.doctype.name&&$i(IU,Ne.ownerDocument.doctype.name)&&(kr=" +`+kr),We&&Fg([ce,L,Fe],Un=>{kr=$p(kr,Un," ")}),C&&Rt?C.createHTML(kr):kr},t.setConfig=function(){let ht=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};tr(ht),ze=!0},t.clearConfig=function(){yr=null,ze=!1},t.isValidAttribute=function(ht,oe,Ne){yr||tr({});const ft=ur(ht),Xt=ur(oe);return oi(ft,Xt,Ne)},t.addHook=function(ht,oe){typeof oe=="function"&&(f[ht]=f[ht]||[],Cp(f[ht],oe))},t.removeHook=function(ht){if(f[ht])return l3(f[ht])},t.removeHooks=function(ht){f[ht]&&(f[ht]=[])},t.removeAllHooks=function(){f={}},t}var Q7e=NU(),fb={},Z7e="Expected a function",h3=NaN,eze="[object Symbol]",tze=/^\s+|\s+$/g,rze=/^[-+]0x[0-9a-f]+$/i,nze=/^0b[01]+$/i,ize=/^0o[0-7]+$/i,sze=parseInt,oze=typeof en=="object"&&en&&en.Object===Object&&en,aze=typeof self=="object"&&self&&self.Object===Object&&self,lze=oze||aze||Function("return this")(),uze=Object.prototype,cze=uze.toString,fze=Math.max,pze=Math.min,jw=function(){return lze.Date.now()};function dze(e,t,r){var n,i,s,o,l,c,h=0,v=!1,y=!1,S=!0;if(typeof e!="function")throw new TypeError(Z7e);t=m3(t)||0,R2(r)&&(v=!!r.leading,y="maxWait"in r,s=y?fze(m3(r.maxWait)||0,t):s,S="trailing"in r?!!r.trailing:S);function b(z){var J=n,ee=i;return n=i=void 0,h=z,o=e.apply(ee,J),o}function _(z){return h=z,l=setTimeout(x,t),v?b(z):o}function $(z){var J=z-c,ee=z-h,Q=t-J;return y?pze(Q,s-ee):Q}function P(z){var J=z-c,ee=z-h;return c===void 0||J>=t||J<0||y&&ee>=s}function x(){var z=jw();if(P(z))return A(z);l=setTimeout(x,$(z))}function A(z){return l=void 0,S&&n?b(z):(n=i=void 0,o)}function C(){l!==void 0&&clearTimeout(l),h=0,n=c=i=l=void 0}function j(){return l===void 0?o:A(jw())}function U(){var z=jw(),J=P(z);if(n=arguments,i=this,c=z,J){if(l===void 0)return _(c);if(y)return l=setTimeout(x,t),b(c)}return l===void 0&&(l=setTimeout(x,t)),o}return U.cancel=C,U.flush=j,U}function R2(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function hze(e){return!!e&&typeof e=="object"}function mze(e){return typeof e=="symbol"||hze(e)&&cze.call(e)==eze}function m3(e){if(typeof e=="number")return e;if(mze(e))return h3;if(R2(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=R2(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(tze,"");var r=nze.test(e);return r||ize.test(e)?sze(e.slice(2),r?2:8):rze.test(e)?h3:+e}var gze=dze;function I2(e){"@babel/helpers - typeof";return I2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},I2(e)}Object.defineProperty(fb,"__esModule",{value:!0});fb.DebounceInput=void 0;var g3=jU(xn),yze=jU(gze),vze=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"];function jU(e){return e&&e.__esModule?e:{default:e}}function bze(e,t){if(e==null)return{};var r=Eze(e,t),n,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Eze(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,s;for(s=0;s=0)&&(r[i]=e[i]);return r}function y3(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function rs(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Dv(e){return Dv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dv(e)}function Ta(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var MU=function(e){_ze(r,e);var t=xze(r);function r(n){var i;Sze(this,r),i=t.call(this,n),Ta(Bl(i),"onChange",function(o){o.persist();var l=i.state.value,c=i.props.minLength;i.setState({value:o.target.value},function(){var h=i.state.value;if(h.length>=c){i.notify(o);return}l.length>h.length&&i.notify(rs(rs({},o),{},{target:rs(rs({},o.target),{},{value:""})}))})}),Ta(Bl(i),"onKeyDown",function(o){o.key==="Enter"&&i.forceNotify(o);var l=i.props.onKeyDown;l&&(o.persist(),l(o))}),Ta(Bl(i),"onBlur",function(o){i.forceNotify(o);var l=i.props.onBlur;l&&(o.persist(),l(o))}),Ta(Bl(i),"createNotifier",function(o){if(o<0)i.notify=function(){return null};else if(o===0)i.notify=i.doNotify;else{var l=(0,yze.default)(function(c){i.isDebouncing=!1,i.doNotify(c)},o);i.notify=function(c){i.isDebouncing=!0,l(c)},i.flush=function(){return l.flush()},i.cancel=function(){i.isDebouncing=!1,l.cancel()}}}),Ta(Bl(i),"doNotify",function(){var o=i.props.onChange;o.apply(void 0,arguments)}),Ta(Bl(i),"forceNotify",function(o){var l=i.props.debounceTimeout;if(!(!i.isDebouncing&&l>0)){i.cancel&&i.cancel();var c=i.state.value,h=i.props.minLength;c.length>=h?i.doNotify(o):i.doNotify(rs(rs({},o),{},{target:rs(rs({},o.target),{},{value:c})}))}}),i.isDebouncing=!1,i.state={value:typeof n.value>"u"||n.value===null?"":n.value};var s=i.props.debounceTimeout;return i.createNotifier(s),i}return wze(r,[{key:"componentDidUpdate",value:function(i){if(!this.isDebouncing){var s=this.props,o=s.value,l=s.debounceTimeout,c=i.debounceTimeout,h=i.value,v=this.state.value;typeof o<"u"&&h!==o&&v!==o&&this.setState({value:o}),l!==c&&this.createNotifier(l)}}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var i=this.props,s=i.element;i.onChange,i.value,i.minLength,i.debounceTimeout;var o=i.forceNotifyByEnter,l=i.forceNotifyOnBlur,c=i.onKeyDown,h=i.onBlur,v=i.inputRef,y=bze(i,vze),S=this.state.value,b;o?b={onKeyDown:this.onKeyDown}:c?b={onKeyDown:c}:b={};var _;l?_={onBlur:this.onBlur}:h?_={onBlur:h}:_={};var $=v?{ref:v}:{};return g3.default.createElement(s,rs(rs(rs(rs({},y),{},{onChange:this.onChange,value:S},b),_),$))}}]),r}(g3.default.PureComponent);fb.DebounceInput=MU;Ta(MU,"defaultProps",{element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0});var Cze=fb,j2=Cze.DebounceInput;j2.DebounceInput=j2;var $ze=j2;const kze=Tt($ze);/*! For license information please see swagger-ui-es-bundle-core.js.LICENSE.txt */var Tze={287:function(e,t,r){const n=r(987),i=r(362),s=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=c,t.SlowBuffer=function(T){return+T!=T&&(T=0),c.alloc(+T)},t.INSPECT_MAX_BYTES=50;const o=2147483647;function l(K){if(K>o)throw new RangeError('The value "'+K+'" is invalid for option "size"');const T=new Uint8Array(K);return Object.setPrototypeOf(T,c.prototype),T}function c(K,T,I){if(typeof K=="number"){if(typeof T=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(K)}return h(K,T,I)}function h(K,T,I){if(typeof K=="string")return function(me,Ke){if(typeof Ke=="string"&&Ke!==""||(Ke="utf8"),!c.isEncoding(Ke))throw new TypeError("Unknown encoding: "+Ke);const yt=0|$(me,Ke);let _t=l(yt);const Ct=_t.write(me,Ke);return Ct!==yt&&(_t=_t.slice(0,Ct)),_t}(K,T);if(ArrayBuffer.isView(K))return function(me){if(rt(me,Uint8Array)){const Ke=new Uint8Array(me);return b(Ke.buffer,Ke.byteOffset,Ke.byteLength)}return S(me)}(K);if(K==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K);if(rt(K,ArrayBuffer)||K&&rt(K.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(rt(K,SharedArrayBuffer)||K&&rt(K.buffer,SharedArrayBuffer)))return b(K,T,I);if(typeof K=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Y=K.valueOf&&K.valueOf();if(Y!=null&&Y!==K)return c.from(Y,T,I);const te=function(me){if(c.isBuffer(me)){const Ke=0|_(me.length),yt=l(Ke);return yt.length===0||me.copy(yt,0,0,Ke),yt}if(me.length!==void 0)return typeof me.length!="number"||Pt(me.length)?l(0):S(me);if(me.type==="Buffer"&&Array.isArray(me.data))return S(me.data)}(K);if(te)return te;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof K[Symbol.toPrimitive]=="function")return c.from(K[Symbol.toPrimitive]("string"),T,I);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K)}function v(K){if(typeof K!="number")throw new TypeError('"size" argument must be of type number');if(K<0)throw new RangeError('The value "'+K+'" is invalid for option "size"')}function y(K){return v(K),l(K<0?0:0|_(K))}function S(K){const T=K.length<0?0:0|_(K.length),I=l(T);for(let Y=0;Y=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|K}function $(K,T){if(c.isBuffer(K))return K.length;if(ArrayBuffer.isView(K)||rt(K,ArrayBuffer))return K.byteLength;if(typeof K!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof K);const I=K.length,Y=arguments.length>2&&arguments[2]===!0;if(!Y&&I===0)return 0;let te=!1;for(;;)switch(T){case"ascii":case"latin1":case"binary":return I;case"utf8":case"utf-8":return We(K).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*I;case"hex":return I>>>1;case"base64":return lt(K).length;default:if(te)return Y?-1:We(K).length;T=(""+T).toLowerCase(),te=!0}}function P(K,T,I){let Y=!1;if((T===void 0||T<0)&&(T=0),T>this.length||((I===void 0||I>this.length)&&(I=this.length),I<=0)||(I>>>=0)<=(T>>>=0))return"";for(K||(K="utf8");;)switch(K){case"hex":return Xe(this,T,I);case"utf8":case"utf-8":return f(this,T,I);case"ascii":return L(this,T,I);case"latin1":case"binary":return Fe(this,T,I);case"base64":return Q(this,T,I);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ye(this,T,I);default:if(Y)throw new TypeError("Unknown encoding: "+K);K=(K+"").toLowerCase(),Y=!0}}function x(K,T,I){const Y=K[T];K[T]=K[I],K[I]=Y}function A(K,T,I,Y,te){if(K.length===0)return-1;if(typeof I=="string"?(Y=I,I=0):I>2147483647?I=2147483647:I<-2147483648&&(I=-2147483648),Pt(I=+I)&&(I=te?0:K.length-1),I<0&&(I=K.length+I),I>=K.length){if(te)return-1;I=K.length-1}else if(I<0){if(!te)return-1;I=0}if(typeof T=="string"&&(T=c.from(T,Y)),c.isBuffer(T))return T.length===0?-1:C(K,T,I,Y,te);if(typeof T=="number")return T&=255,typeof Uint8Array.prototype.indexOf=="function"?te?Uint8Array.prototype.indexOf.call(K,T,I):Uint8Array.prototype.lastIndexOf.call(K,T,I):C(K,[T],I,Y,te);throw new TypeError("val must be string, number or Buffer")}function C(K,T,I,Y,te){let ue,me=1,Ke=K.length,yt=T.length;if(Y!==void 0&&((Y=String(Y).toLowerCase())==="ucs2"||Y==="ucs-2"||Y==="utf16le"||Y==="utf-16le")){if(K.length<2||T.length<2)return-1;me=2,Ke/=2,yt/=2,I/=2}function _t(Ct,At){return me===1?Ct[At]:Ct.readUInt16BE(At*me)}if(te){let Ct=-1;for(ue=I;ueKe&&(I=Ke-yt),ue=I;ue>=0;ue--){let Ct=!0;for(let At=0;Atte&&(Y=te):Y=te;const ue=T.length;let me;for(Y>ue/2&&(Y=ue/2),me=0;me>8,_t=Ke%256,Ct.push(_t),Ct.push(yt);return Ct}(T,K.length-I),K,I,Y)}function Q(K,T,I){return T===0&&I===K.length?n.fromByteArray(K):n.fromByteArray(K.slice(T,I))}function f(K,T,I){I=Math.min(K.length,I);const Y=[];let te=T;for(;te239?4:ue>223?3:ue>191?2:1;if(te+Ke<=I){let yt,_t,Ct,At;switch(Ke){case 1:ue<128&&(me=ue);break;case 2:yt=K[te+1],(192&yt)==128&&(At=(31&ue)<<6|63&yt,At>127&&(me=At));break;case 3:yt=K[te+1],_t=K[te+2],(192&yt)==128&&(192&_t)==128&&(At=(15&ue)<<12|(63&yt)<<6|63&_t,At>2047&&(At<55296||At>57343)&&(me=At));break;case 4:yt=K[te+1],_t=K[te+2],Ct=K[te+3],(192&yt)==128&&(192&_t)==128&&(192&Ct)==128&&(At=(15&ue)<<18|(63&yt)<<12|(63&_t)<<6|63&Ct,At>65535&&At<1114112&&(me=At))}}me===null?(me=65533,Ke=1):me>65535&&(me-=65536,Y.push(me>>>10&1023|55296),me=56320|1023&me),Y.push(me),te+=Ke}return function(me){const Ke=me.length;if(Ke<=ce)return String.fromCharCode.apply(String,me);let yt="",_t=0;for(;_t"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(K,T,I){return h(K,T,I)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(K,T,I){return function(te,ue,me){return v(te),te<=0?l(te):ue!==void 0?typeof me=="string"?l(te).fill(ue,me):l(te).fill(ue):l(te)}(K,T,I)},c.allocUnsafe=function(K){return y(K)},c.allocUnsafeSlow=function(K){return y(K)},c.isBuffer=function(T){return T!=null&&T._isBuffer===!0&&T!==c.prototype},c.compare=function(T,I){if(rt(T,Uint8Array)&&(T=c.from(T,T.offset,T.byteLength)),rt(I,Uint8Array)&&(I=c.from(I,I.offset,I.byteLength)),!c.isBuffer(T)||!c.isBuffer(I))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(T===I)return 0;let Y=T.length,te=I.length;for(let ue=0,me=Math.min(Y,te);uete.length?(c.isBuffer(me)||(me=c.from(me)),me.copy(te,ue)):Uint8Array.prototype.set.call(te,me,ue);else{if(!c.isBuffer(me))throw new TypeError('"list" argument must be an Array of Buffers');me.copy(te,ue)}ue+=me.length}return te},c.byteLength=$,c.prototype._isBuffer=!0,c.prototype.swap16=function(){const T=this.length;if(T%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let I=0;II&&(T+=" ... "),""},s&&(c.prototype[s]=c.prototype.inspect),c.prototype.compare=function(T,I,Y,te,ue){if(rt(T,Uint8Array)&&(T=c.from(T,T.offset,T.byteLength)),!c.isBuffer(T))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof T);if(I===void 0&&(I=0),Y===void 0&&(Y=T?T.length:0),te===void 0&&(te=0),ue===void 0&&(ue=this.length),I<0||Y>T.length||te<0||ue>this.length)throw new RangeError("out of range index");if(te>=ue&&I>=Y)return 0;if(te>=ue)return-1;if(I>=Y)return 1;if(this===T)return 0;let me=(ue>>>=0)-(te>>>=0),Ke=(Y>>>=0)-(I>>>=0);const yt=Math.min(me,Ke),_t=this.slice(te,ue),Ct=T.slice(I,Y);for(let At=0;At>>=0,isFinite(Y)?(Y>>>=0,te===void 0&&(te="utf8")):(te=Y,Y=void 0)}const ue=this.length-I;if((Y===void 0||Y>ue)&&(Y=ue),T.length>0&&(Y<0||I<0)||I>this.length)throw new RangeError("Attempt to write outside buffer bounds");te||(te="utf8");let me=!1;for(;;)switch(te){case"hex":return j(this,T,I,Y);case"utf8":case"utf-8":return U(this,T,I,Y);case"ascii":case"latin1":case"binary":return z(this,T,I,Y);case"base64":return J(this,T,I,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ee(this,T,I,Y);default:if(me)throw new TypeError("Unknown encoding: "+te);te=(""+te).toLowerCase(),me=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const ce=4096;function L(K,T,I){let Y="";I=Math.min(K.length,I);for(let te=T;teY)&&(I=Y);let te="";for(let ue=T;ueI)throw new RangeError("Trying to access beyond buffer length")}function de(K,T,I,Y,te,ue){if(!c.isBuffer(K))throw new TypeError('"buffer" argument must be a Buffer instance');if(T>te||TK.length)throw new RangeError("Index out of range")}function ge(K,T,I,Y,te){V(T,Y,te,K,I,7);let ue=Number(T&BigInt(4294967295));K[I++]=ue,ue>>=8,K[I++]=ue,ue>>=8,K[I++]=ue,ue>>=8,K[I++]=ue;let me=Number(T>>BigInt(32)&BigInt(4294967295));return K[I++]=me,me>>=8,K[I++]=me,me>>=8,K[I++]=me,me>>=8,K[I++]=me,I}function pe(K,T,I,Y,te){V(T,Y,te,K,I,7);let ue=Number(T&BigInt(4294967295));K[I+7]=ue,ue>>=8,K[I+6]=ue,ue>>=8,K[I+5]=ue,ue>>=8,K[I+4]=ue;let me=Number(T>>BigInt(32)&BigInt(4294967295));return K[I+3]=me,me>>=8,K[I+2]=me,me>>=8,K[I+1]=me,me>>=8,K[I]=me,I+8}function be(K,T,I,Y,te,ue){if(I+Y>K.length)throw new RangeError("Index out of range");if(I<0)throw new RangeError("Index out of range")}function ye(K,T,I,Y,te){return T=+T,I>>>=0,te||be(K,0,I,4),i.write(K,T,I,Y,23,4),I+4}function Le(K,T,I,Y,te){return T=+T,I>>>=0,te||be(K,0,I,8),i.write(K,T,I,Y,52,8),I+8}c.prototype.slice=function(T,I){const Y=this.length;(T=~~T)<0?(T+=Y)<0&&(T=0):T>Y&&(T=Y),(I=I===void 0?Y:~~I)<0?(I+=Y)<0&&(I=0):I>Y&&(I=Y),I>>=0,I>>>=0,Y||he(T,I,this.length);let te=this[T],ue=1,me=0;for(;++me>>=0,I>>>=0,Y||he(T,I,this.length);let te=this[T+--I],ue=1;for(;I>0&&(ue*=256);)te+=this[T+--I]*ue;return te},c.prototype.readUint8=c.prototype.readUInt8=function(T,I){return T>>>=0,I||he(T,1,this.length),this[T]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(T,I){return T>>>=0,I||he(T,2,this.length),this[T]|this[T+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(T,I){return T>>>=0,I||he(T,2,this.length),this[T]<<8|this[T+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(T,I){return T>>>=0,I||he(T,4,this.length),(this[T]|this[T+1]<<8|this[T+2]<<16)+16777216*this[T+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(T,I){return T>>>=0,I||he(T,4,this.length),16777216*this[T]+(this[T+1]<<16|this[T+2]<<8|this[T+3])},c.prototype.readBigUInt64LE=Rt(function(T){q(T>>>=0,"offset");const I=this[T],Y=this[T+7];I!==void 0&&Y!==void 0||Ae(T,this.length-8);const te=I+256*this[++T]+65536*this[++T]+this[++T]*2**24,ue=this[++T]+256*this[++T]+65536*this[++T]+Y*2**24;return BigInt(te)+(BigInt(ue)<>>=0,"offset");const I=this[T],Y=this[T+7];I!==void 0&&Y!==void 0||Ae(T,this.length-8);const te=I*2**24+65536*this[++T]+256*this[++T]+this[++T],ue=this[++T]*2**24+65536*this[++T]+256*this[++T]+Y;return(BigInt(te)<>>=0,I>>>=0,Y||he(T,I,this.length);let te=this[T],ue=1,me=0;for(;++me=ue&&(te-=Math.pow(2,8*I)),te},c.prototype.readIntBE=function(T,I,Y){T>>>=0,I>>>=0,Y||he(T,I,this.length);let te=I,ue=1,me=this[T+--te];for(;te>0&&(ue*=256);)me+=this[T+--te]*ue;return ue*=128,me>=ue&&(me-=Math.pow(2,8*I)),me},c.prototype.readInt8=function(T,I){return T>>>=0,I||he(T,1,this.length),128&this[T]?-1*(255-this[T]+1):this[T]},c.prototype.readInt16LE=function(T,I){T>>>=0,I||he(T,2,this.length);const Y=this[T]|this[T+1]<<8;return 32768&Y?4294901760|Y:Y},c.prototype.readInt16BE=function(T,I){T>>>=0,I||he(T,2,this.length);const Y=this[T+1]|this[T]<<8;return 32768&Y?4294901760|Y:Y},c.prototype.readInt32LE=function(T,I){return T>>>=0,I||he(T,4,this.length),this[T]|this[T+1]<<8|this[T+2]<<16|this[T+3]<<24},c.prototype.readInt32BE=function(T,I){return T>>>=0,I||he(T,4,this.length),this[T]<<24|this[T+1]<<16|this[T+2]<<8|this[T+3]},c.prototype.readBigInt64LE=Rt(function(T){q(T>>>=0,"offset");const I=this[T],Y=this[T+7];I!==void 0&&Y!==void 0||Ae(T,this.length-8);const te=this[T+4]+256*this[T+5]+65536*this[T+6]+(Y<<24);return(BigInt(te)<>>=0,"offset");const I=this[T],Y=this[T+7];I!==void 0&&Y!==void 0||Ae(T,this.length-8);const te=(I<<24)+65536*this[++T]+256*this[++T]+this[++T];return(BigInt(te)<>>=0,I||he(T,4,this.length),i.read(this,T,!0,23,4)},c.prototype.readFloatBE=function(T,I){return T>>>=0,I||he(T,4,this.length),i.read(this,T,!1,23,4)},c.prototype.readDoubleLE=function(T,I){return T>>>=0,I||he(T,8,this.length),i.read(this,T,!0,52,8)},c.prototype.readDoubleBE=function(T,I){return T>>>=0,I||he(T,8,this.length),i.read(this,T,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(T,I,Y,te){T=+T,I>>>=0,Y>>>=0,!te&&de(this,T,I,Y,Math.pow(2,8*Y)-1,0);let ue=1,me=0;for(this[I]=255&T;++me>>=0,Y>>>=0,!te&&de(this,T,I,Y,Math.pow(2,8*Y)-1,0);let ue=Y-1,me=1;for(this[I+ue]=255&T;--ue>=0&&(me*=256);)this[I+ue]=T/me&255;return I+Y},c.prototype.writeUint8=c.prototype.writeUInt8=function(T,I,Y){return T=+T,I>>>=0,Y||de(this,T,I,1,255,0),this[I]=255&T,I+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(T,I,Y){return T=+T,I>>>=0,Y||de(this,T,I,2,65535,0),this[I]=255&T,this[I+1]=T>>>8,I+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(T,I,Y){return T=+T,I>>>=0,Y||de(this,T,I,2,65535,0),this[I]=T>>>8,this[I+1]=255&T,I+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(T,I,Y){return T=+T,I>>>=0,Y||de(this,T,I,4,4294967295,0),this[I+3]=T>>>24,this[I+2]=T>>>16,this[I+1]=T>>>8,this[I]=255&T,I+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(T,I,Y){return T=+T,I>>>=0,Y||de(this,T,I,4,4294967295,0),this[I]=T>>>24,this[I+1]=T>>>16,this[I+2]=T>>>8,this[I+3]=255&T,I+4},c.prototype.writeBigUInt64LE=Rt(function(T,I=0){return ge(this,T,I,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeBigUInt64BE=Rt(function(T,I=0){return pe(this,T,I,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeIntLE=function(T,I,Y,te){if(T=+T,I>>>=0,!te){const yt=Math.pow(2,8*Y-1);de(this,T,I,Y,yt-1,-yt)}let ue=0,me=1,Ke=0;for(this[I]=255&T;++ue>0)-Ke&255;return I+Y},c.prototype.writeIntBE=function(T,I,Y,te){if(T=+T,I>>>=0,!te){const yt=Math.pow(2,8*Y-1);de(this,T,I,Y,yt-1,-yt)}let ue=Y-1,me=1,Ke=0;for(this[I+ue]=255&T;--ue>=0&&(me*=256);)T<0&&Ke===0&&this[I+ue+1]!==0&&(Ke=1),this[I+ue]=(T/me>>0)-Ke&255;return I+Y},c.prototype.writeInt8=function(T,I,Y){return T=+T,I>>>=0,Y||de(this,T,I,1,127,-128),T<0&&(T=255+T+1),this[I]=255&T,I+1},c.prototype.writeInt16LE=function(T,I,Y){return T=+T,I>>>=0,Y||de(this,T,I,2,32767,-32768),this[I]=255&T,this[I+1]=T>>>8,I+2},c.prototype.writeInt16BE=function(T,I,Y){return T=+T,I>>>=0,Y||de(this,T,I,2,32767,-32768),this[I]=T>>>8,this[I+1]=255&T,I+2},c.prototype.writeInt32LE=function(T,I,Y){return T=+T,I>>>=0,Y||de(this,T,I,4,2147483647,-2147483648),this[I]=255&T,this[I+1]=T>>>8,this[I+2]=T>>>16,this[I+3]=T>>>24,I+4},c.prototype.writeInt32BE=function(T,I,Y){return T=+T,I>>>=0,Y||de(this,T,I,4,2147483647,-2147483648),T<0&&(T=4294967295+T+1),this[I]=T>>>24,this[I+1]=T>>>16,this[I+2]=T>>>8,this[I+3]=255&T,I+4},c.prototype.writeBigInt64LE=Rt(function(T,I=0){return ge(this,T,I,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeBigInt64BE=Rt(function(T,I=0){return pe(this,T,I,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeFloatLE=function(T,I,Y){return ye(this,T,I,!0,Y)},c.prototype.writeFloatBE=function(T,I,Y){return ye(this,T,I,!1,Y)},c.prototype.writeDoubleLE=function(T,I,Y){return Le(this,T,I,!0,Y)},c.prototype.writeDoubleBE=function(T,I,Y){return Le(this,T,I,!1,Y)},c.prototype.copy=function(T,I,Y,te){if(!c.isBuffer(T))throw new TypeError("argument should be a Buffer");if(Y||(Y=0),te||te===0||(te=this.length),I>=T.length&&(I=T.length),I||(I=0),te>0&&te=this.length)throw new RangeError("Index out of range");if(te<0)throw new RangeError("sourceEnd out of bounds");te>this.length&&(te=this.length),T.length-I>>=0,Y=Y===void 0?this.length:Y>>>0,T||(T=0),typeof T=="number")for(ue=I;ue=Y+4;I-=3)T=`_${K.slice(I-3,I)}${T}`;return`${K.slice(0,I)}${T}`}function V(K,T,I,Y,te,ue){if(K>I||K3?T===0||T===BigInt(0)?`>= 0${me} and < 2${me} ** ${8*(ue+1)}${me}`:`>= -(2${me} ** ${8*(ue+1)-1}${me}) and < 2 ** ${8*(ue+1)-1}${me}`:`>= ${T}${me} and <= ${I}${me}`,new se.ERR_OUT_OF_RANGE("value",Ke,K)}(function(Ke,yt,_t){q(yt,"offset"),Ke[yt]!==void 0&&Ke[yt+_t]!==void 0||Ae(yt,Ke.length-(_t+1))})(Y,te,ue)}function q(K,T){if(typeof K!="number")throw new se.ERR_INVALID_ARG_TYPE(T,"number",K)}function Ae(K,T,I){throw Math.floor(K)!==K?(q(K,I),new se.ERR_OUT_OF_RANGE(I||"offset","an integer",K)):T<0?new se.ERR_BUFFER_OUT_OF_BOUNDS:new se.ERR_OUT_OF_RANGE(I||"offset",`>= ${I?1:0} and <= ${T}`,K)}_e("ERR_BUFFER_OUT_OF_BOUNDS",function(K){return K?`${K} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),_e("ERR_INVALID_ARG_TYPE",function(K,T){return`The "${K}" argument must be of type number. Received type ${typeof T}`},TypeError),_e("ERR_OUT_OF_RANGE",function(K,T,I){let Y=`The value of "${K}" is out of range.`,te=I;return Number.isInteger(I)&&Math.abs(I)>2**32?te=Z(String(I)):typeof I=="bigint"&&(te=String(I),(I>BigInt(2)**BigInt(32)||I<-(BigInt(2)**BigInt(32)))&&(te=Z(te)),te+="n"),Y+=` It must be ${T}. Received ${te}`,Y},RangeError);const Ee=/[^+/0-9A-Za-z-_]/g;function We(K,T){let I;T=T||1/0;const Y=K.length;let te=null;const ue=[];for(let me=0;me55295&&I<57344){if(!te){if(I>56319){(T-=3)>-1&&ue.push(239,191,189);continue}if(me+1===Y){(T-=3)>-1&&ue.push(239,191,189);continue}te=I;continue}if(I<56320){(T-=3)>-1&&ue.push(239,191,189),te=I;continue}I=65536+(te-55296<<10|I-56320)}else te&&(T-=3)>-1&&ue.push(239,191,189);if(te=null,I<128){if((T-=1)<0)break;ue.push(I)}else if(I<2048){if((T-=2)<0)break;ue.push(I>>6|192,63&I|128)}else if(I<65536){if((T-=3)<0)break;ue.push(I>>12|224,I>>6&63|128,63&I|128)}else{if(!(I<1114112))throw new Error("Invalid code point");if((T-=4)<0)break;ue.push(I>>18|240,I>>12&63|128,I>>6&63|128,63&I|128)}}return ue}function lt(K){return n.toByteArray(function(I){if((I=(I=I.split("=")[0]).trim().replace(Ee,"")).length<2)return"";for(;I.length%4!=0;)I+="=";return I}(K))}function ze(K,T,I,Y){let te;for(te=0;te=T.length||te>=K.length);++te)T[te+I]=K[te];return te}function rt(K,T){return K instanceof T||K!=null&&K.constructor!=null&&K.constructor.name!=null&&K.constructor.name===T.name}function Pt(K){return K!=K}const mt=function(){const K="0123456789abcdef",T=new Array(256);for(let I=0;I<16;++I){const Y=16*I;for(let te=0;te<16;++te)T[Y+te]=K[I]+K[te]}return T}();function Rt(K){return typeof BigInt>"u"?Ur:K}function Ur(){throw new Error("BigInt not supported")}},919:function(e,t,r){var n=r(287).Buffer;function i(h){return h instanceof n||h instanceof Date||h instanceof RegExp}function s(h){if(h instanceof n){var v=n.alloc?n.alloc(h.length):new n(h.length);return h.copy(v),v}if(h instanceof Date)return new Date(h.getTime());if(h instanceof RegExp)return new RegExp(h);throw new Error("Unexpected situation")}function o(h){var v=[];return h.forEach(function(y,S){typeof y=="object"&&y!==null?Array.isArray(y)?v[S]=o(y):i(y)?v[S]=s(y):v[S]=c({},y):v[S]=y}),v}function l(h,v){return v==="__proto__"?void 0:h[v]}var c=e.exports=function(){if(arguments.length<1||typeof arguments[0]!="object")return!1;if(arguments.length<2)return arguments[0];var h,v,y=arguments[0];return Array.prototype.slice.call(arguments,1).forEach(function(S){typeof S!="object"||S===null||Array.isArray(S)||Object.keys(S).forEach(function(b){return v=l(y,b),(h=l(S,b))===y?void 0:typeof h!="object"||h===null?void(y[b]=h):Array.isArray(h)?void(y[b]=o(h)):i(h)?void(y[b]=s(h)):typeof v!="object"||v===null||Array.isArray(v)?void(y[b]=c({},h)):void(y[b]=c(v,h))})}),y}},7:function(e){var t,r=typeof Reflect=="object"?Reflect:null,n=r&&typeof r.apply=="function"?r.apply:function(x,A,C){return Function.prototype.apply.call(x,A,C)};t=r&&typeof r.ownKeys=="function"?r.ownKeys:Object.getOwnPropertySymbols?function(x){return Object.getOwnPropertyNames(x).concat(Object.getOwnPropertySymbols(x))}:function(x){return Object.getOwnPropertyNames(x)};var i=Number.isNaN||function(x){return x!=x};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(x,A){return new Promise(function(C,j){function U(J){x.removeListener(A,z),j(J)}function z(){typeof x.removeListener=="function"&&x.removeListener("error",U),C([].slice.call(arguments))}$(x,A,z,{once:!0}),A!=="error"&&function(ee,Q,f){typeof ee.on=="function"&&$(ee,"error",Q,f)}(x,U,{once:!0})})},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var o=10;function l(P){if(typeof P!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof P)}function c(P){return P._maxListeners===void 0?s.defaultMaxListeners:P._maxListeners}function h(P,x,A,C){var j,U,z;if(l(A),(U=P._events)===void 0?(U=P._events=Object.create(null),P._eventsCount=0):(U.newListener!==void 0&&(P.emit("newListener",x,A.listener?A.listener:A),U=P._events),z=U[x]),z===void 0)z=U[x]=A,++P._eventsCount;else if(typeof z=="function"?z=U[x]=C?[A,z]:[z,A]:C?z.unshift(A):z.push(A),(j=c(P))>0&&z.length>j&&!z.warned){z.warned=!0;var J=new Error("Possible EventEmitter memory leak detected. "+z.length+" "+String(x)+" listeners added. Use emitter.setMaxListeners() to increase limit");J.name="MaxListenersExceededWarning",J.emitter=P,J.type=x,J.count=z.length,function(Q){console&&console.warn&&console.warn(Q)}(J)}return P}function v(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function y(P,x,A){var C={fired:!1,wrapFn:void 0,target:P,type:x,listener:A},j=v.bind(C);return j.listener=A,C.wrapFn=j,j}function S(P,x,A){var C=P._events;if(C===void 0)return[];var j=C[x];return j===void 0?[]:typeof j=="function"?A?[j.listener||j]:[j]:A?function(z){for(var J=new Array(z.length),ee=0;ee0&&(z=A[0]),z instanceof Error)throw z;var J=new Error("Unhandled error."+(z?" ("+z.message+")":""));throw J.context=z,J}var ee=U[x];if(ee===void 0)return!1;if(typeof ee=="function")n(ee,this,A);else{var Q=ee.length,f=_(ee,Q);for(C=0;C=0;z--)if(C[z]===A||C[z].listener===A){J=C[z].listener,U=z;break}if(U<0)return this;U===0?C.shift():function(Q,f){for(;f+1=0;j--)this.removeListener(x,A[j]);return this},s.prototype.listeners=function(x){return S(this,x,!0)},s.prototype.rawListeners=function(x){return S(this,x,!1)},s.listenerCount=function(P,x){return typeof P.listenerCount=="function"?P.listenerCount(x):b.call(P,x)},s.prototype.listenerCount=b,s.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},698:function(e){typeof Object.create=="function"?e.exports=function(r,n){n&&(r.super_=n,r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(r,n){if(n){r.super_=n;var i=function(){};i.prototype=n.prototype,r.prototype=new i,r.prototype.constructor=r}}},606:function(e){var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o($){if(t===setTimeout)return setTimeout($,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout($,0);try{return t($,0)}catch{try{return t.call(null,$,0)}catch{return t.call(this,$,0)}}}(function(){try{t=typeof setTimeout=="function"?setTimeout:i}catch{t=i}try{r=typeof clearTimeout=="function"?clearTimeout:s}catch{r=s}})();var l,c=[],h=!1,v=-1;function y(){h&&l&&(h=!1,l.length?c=l.concat(c):v=-1,c.length&&S())}function S(){if(!h){var $=o(y);h=!0;for(var P=c.length;P;){for(l=c,c=[];++v1)for(var x=1;xs)throw new RangeError("requested too many random bytes");var y=o.allocUnsafe(h);if(h>0)if(h>i)for(var S=0;S2?"one of ".concat(s," ").concat(i.slice(0,o-1).join(", "),", or ")+i[o-1]:o===2?"one of ".concat(s," ").concat(i[0]," or ").concat(i[1]):"of ".concat(s," ").concat(i[0])}return"of ".concat(s," ").concat(String(i))}r("ERR_INVALID_OPT_VALUE",function(i,s){return'The value "'+s+'" is invalid for option "'+i+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(i,s,o){var l,c;if(typeof s=="string"&&function(y,S,b){return y.substr(!b||b<0?0:+b,S.length)===S}(s,"not ")?(l="must not be",s=s.replace(/^not /,"")):l="must be",function(y,S,b){return(b===void 0||b>y.length)&&(b=y.length),y.substring(b-S.length,b)===S}(i," argument"))c="The ".concat(i," ").concat(l," ").concat(n(s,"type"));else{var h=function(y,S,b){return typeof b!="number"&&(b=0),!(b+S.length>y.length)&&y.indexOf(S,b)!==-1}(i,".")?"property":"argument";c='The "'.concat(i,'" ').concat(h," ").concat(l," ").concat(n(s,"type"))}return c+=". Received type ".concat(typeof o)},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(i){return"The "+i+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(i){return"Cannot call "+i+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(i){return"Unknown encoding: "+i},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.F=t},382:function(e,t,r){var n=r(606),i=Object.keys||function(b){var _=[];for(var $ in b)_.push($);return _};e.exports=v;var s=r(412),o=r(708);r(698)(v,s);for(var l=i(o.prototype),c=0;c0)if(typeof q=="string"||ze.objectMode||Object.getPrototypeOf(q)===l.prototype||(q=function(Pt){return l.from(Pt)}(q)),Ee)ze.endEmitted?z(V,new U):ce(V,ze,q,!0);else if(ze.ended)z(V,new C);else{if(ze.destroyed)return!1;ze.reading=!1,ze.decoder&&!Ae?(q=ze.decoder.write(q),ze.objectMode||q.length!==0?ce(V,ze,q,!1):he(V,ze)):ce(V,ze,q,!1)}else Ee||(ze.reading=!1,he(V,ze));return!ze.ended&&(ze.lengthq.highWaterMark&&(q.highWaterMark=function(Ee){return Ee>=L?Ee=L:(Ee--,Ee|=Ee>>>1,Ee|=Ee>>>2,Ee|=Ee>>>4,Ee|=Ee>>>8,Ee|=Ee>>>16,Ee++),Ee}(V)),V<=q.length?V:q.ended?q.length:(q.needReadable=!0,0))}function Xe(V){var q=V._readableState;h("emitReadable",q.needReadable,q.emittedReadable),q.needReadable=!1,q.emittedReadable||(h("emitReadable",q.flowing),q.emittedReadable=!0,i.nextTick(Ye,V))}function Ye(V){var q=V._readableState;h("emitReadable_",q.destroyed,q.length,q.ended),q.destroyed||!q.length&&!q.ended||(V.emit("readable"),q.emittedReadable=!1),q.needReadable=!q.flowing&&!q.ended&&q.length<=q.highWaterMark,ye(V)}function he(V,q){q.readingMore||(q.readingMore=!0,i.nextTick(de,V,q))}function de(V,q){for(;!q.reading&&!q.ended&&(q.length0,q.resumeScheduled&&!q.paused?q.flowing=!0:V.listenerCount("data")>0&&V.resume()}function pe(V){h("readable nexttick read 0"),V.read(0)}function be(V,q){h("resume",q.reading),q.reading||V.read(0),q.resumeScheduled=!1,V.emit("resume"),ye(V),q.flowing&&!q.reading&&V.read(0)}function ye(V){var q=V._readableState;for(h("flow",q.flowing);q.flowing&&V.read()!==null;);}function Le(V,q){return q.length===0?null:(q.objectMode?Ae=q.buffer.shift():!V||V>=q.length?(Ae=q.decoder?q.buffer.join(""):q.buffer.length===1?q.buffer.first():q.buffer.concat(q.length),q.buffer.clear()):Ae=q.buffer.consume(V,q.decoder),Ae);var Ae}function se(V){var q=V._readableState;h("endReadable",q.endEmitted),q.endEmitted||(q.ended=!0,i.nextTick(_e,q,V))}function _e(V,q){if(h("endReadableNT",V.endEmitted,V.length),!V.endEmitted&&V.length===0&&(V.endEmitted=!0,q.readable=!1,q.emit("end"),V.autoDestroy)){var Ae=q._writableState;(!Ae||Ae.autoDestroy&&Ae.finished)&&q.destroy()}}function Z(V,q){for(var Ae=0,Ee=V.length;Ae=q.highWaterMark:q.length>0)||q.ended))return h("read: emitReadable",q.length,q.ended),q.length===0&&q.ended?se(this):Xe(this),null;if((V=Fe(V,q))===0&&q.ended)return q.length===0&&se(this),null;var Ee,We=q.needReadable;return h("need readable",We),(q.length===0||q.length-V0?Le(V,q):null)===null?(q.needReadable=q.length<=q.highWaterMark,V=0):(q.length-=V,q.awaitDrain=0),q.length===0&&(q.ended||(q.needReadable=!0),Ae!==V&&q.ended&&se(this)),Ee!==null&&this.emit("data",Ee),Ee},Q.prototype._read=function(V){z(this,new j("_read()"))},Q.prototype.pipe=function(V,q){var Ae=this,Ee=this._readableState;switch(Ee.pipesCount){case 0:Ee.pipes=V;break;case 1:Ee.pipes=[Ee.pipes,V];break;default:Ee.pipes.push(V)}Ee.pipesCount+=1,h("pipe count=%d opts=%j",Ee.pipesCount,q);var We=(!q||q.end!==!1)&&V!==i.stdout&&V!==i.stderr?ze:T;function lt(I,Y){h("onunpipe"),I===Ae&&Y&&Y.hasUnpiped===!1&&(Y.hasUnpiped=!0,function(){h("cleanup"),V.removeListener("close",Ur),V.removeListener("finish",K),V.removeListener("drain",rt),V.removeListener("error",Rt),V.removeListener("unpipe",lt),Ae.removeListener("end",ze),Ae.removeListener("end",T),Ae.removeListener("data",mt),Pt=!0,!Ee.awaitDrain||V._writableState&&!V._writableState.needDrain||rt()}())}function ze(){h("onend"),V.end()}Ee.endEmitted?i.nextTick(We):Ae.once("end",We),V.on("unpipe",lt);var rt=function(Y){return function(){var ue=Y._readableState;h("pipeOnDrain",ue.awaitDrain),ue.awaitDrain&&ue.awaitDrain--,ue.awaitDrain===0&&s(Y,"data")&&(ue.flowing=!0,ye(Y))}}(Ae);V.on("drain",rt);var Pt=!1;function mt(I){h("ondata");var Y=V.write(I);h("dest.write",Y),Y===!1&&((Ee.pipesCount===1&&Ee.pipes===V||Ee.pipesCount>1&&Z(Ee.pipes,V)!==-1)&&!Pt&&(h("false write response, pause",Ee.awaitDrain),Ee.awaitDrain++),Ae.pause())}function Rt(I){h("onerror",I),T(),V.removeListener("error",Rt),s(V,"error")===0&&z(V,I)}function Ur(){V.removeListener("finish",K),T()}function K(){h("onfinish"),V.removeListener("close",Ur),T()}function T(){h("unpipe"),Ae.unpipe(V)}return Ae.on("data",mt),function(Y,te,ue){if(typeof Y.prependListener=="function")return Y.prependListener(te,ue);Y._events&&Y._events[te]?Array.isArray(Y._events[te])?Y._events[te].unshift(ue):Y._events[te]=[ue,Y._events[te]]:Y.on(te,ue)}(V,"error",Rt),V.once("close",Ur),V.once("finish",K),V.emit("pipe",Ae),Ee.flowing||(h("pipe resume"),Ae.resume()),V},Q.prototype.unpipe=function(V){var q=this._readableState,Ae={hasUnpiped:!1};if(q.pipesCount===0)return this;if(q.pipesCount===1)return V&&V!==q.pipes||(V||(V=q.pipes),q.pipes=null,q.pipesCount=0,q.flowing=!1,V&&V.emit("unpipe",this,Ae)),this;if(!V){var Ee=q.pipes,We=q.pipesCount;q.pipes=null,q.pipesCount=0,q.flowing=!1;for(var lt=0;lt0,Ee.flowing!==!1&&this.resume()):V==="readable"&&(Ee.endEmitted||Ee.readableListening||(Ee.readableListening=Ee.needReadable=!0,Ee.flowing=!1,Ee.emittedReadable=!1,h("on readable",Ee.length,Ee.reading),Ee.length?Xe(this):Ee.reading||i.nextTick(pe,this))),Ae},Q.prototype.addListener=Q.prototype.on,Q.prototype.removeListener=function(V,q){var Ae=o.prototype.removeListener.call(this,V,q);return V==="readable"&&i.nextTick(ge,this),Ae},Q.prototype.removeAllListeners=function(V){var q=o.prototype.removeAllListeners.apply(this,arguments);return V!=="readable"&&V!==void 0||i.nextTick(ge,this),q},Q.prototype.resume=function(){var V=this._readableState;return V.flowing||(h("resume"),V.flowing=!V.readableListening,function(Ae,Ee){Ee.resumeScheduled||(Ee.resumeScheduled=!0,i.nextTick(be,Ae,Ee))}(this,V)),V.paused=!1,this},Q.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},Q.prototype.wrap=function(V){var q=this,Ae=this._readableState,Ee=!1;for(var We in V.on("end",function(){if(h("wrapped end"),Ae.decoder&&!Ae.ended){var ze=Ae.decoder.end();ze&&ze.length&&q.push(ze)}q.push(null)}),V.on("data",function(ze){h("wrapped data"),Ae.decoder&&(ze=Ae.decoder.write(ze)),Ae.objectMode&&ze==null||(Ae.objectMode||ze&&ze.length)&&(q.push(ze)||(Ee=!0,V.pause()))}),V)this[We]===void 0&&typeof V[We]=="function"&&(this[We]=function(rt){return function(){return V[rt].apply(V,arguments)}}(We));for(var lt=0;lt-1))throw new U(de);return this._writableState.defaultEncoding=de,this},Object.defineProperty(Q.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Q.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Q.prototype._write=function(he,de,ge){ge(new $("_write()"))},Q.prototype._writev=null,Q.prototype.end=function(he,de,ge){var pe=this._writableState;return typeof he=="function"?(ge=he,he=null,de=null):typeof de=="function"&&(ge=de,de=null),he!=null&&this.write(he,de),pe.corked&&(pe.corked=1,this.uncork()),pe.ending||function(ye,Le,se){Le.ending=!0,Ye(ye,Le),se&&(Le.finished?i.nextTick(se):ye.once("finish",se)),Le.ended=!0,ye.writable=!1}(this,pe,ge),this},Object.defineProperty(Q.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(Q.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(de){this._writableState&&(this._writableState.destroyed=de)}}),Q.prototype.destroy=y.destroy,Q.prototype._undestroy=y.undestroy,Q.prototype._destroy=function(he,de){de(he)}},955:function(e,t,r){var n,i=r(606);function s(C,j,U){return(j=function(J){var ee=function(f,ce){if(typeof f!="object"||f===null)return f;var L=f[Symbol.toPrimitive];if(L!==void 0){var Fe=L.call(f,ce||"default");if(typeof Fe!="object")return Fe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ce==="string"?String:Number)(f)}(J,"string");return typeof ee=="symbol"?ee:String(ee)}(j))in C?Object.defineProperty(C,j,{value:U,enumerable:!0,configurable:!0,writable:!0}):C[j]=U,C}var o=r(238),l=Symbol("lastResolve"),c=Symbol("lastReject"),h=Symbol("error"),v=Symbol("ended"),y=Symbol("lastPromise"),S=Symbol("handlePromise"),b=Symbol("stream");function _(C,j){return{value:C,done:j}}function $(C){var j=C[l];if(j!==null){var U=C[b].read();U!==null&&(C[y]=null,C[l]=null,C[c]=null,j(_(U,!1)))}}function P(C){i.nextTick($,C)}var x=Object.getPrototypeOf(function(){}),A=Object.setPrototypeOf((s(n={get stream(){return this[b]},next:function(){var j=this,U=this[h];if(U!==null)return Promise.reject(U);if(this[v])return Promise.resolve(_(void 0,!0));if(this[b].destroyed)return new Promise(function(Q,f){i.nextTick(function(){j[h]?f(j[h]):Q(_(void 0,!0))})});var z,J=this[y];if(J)z=new Promise(function(f,ce){return function(L,Fe){f.then(function(){ce[v]?L(_(void 0,!0)):ce[S](L,Fe)},Fe)}}(J,this));else{var ee=this[b].read();if(ee!==null)return Promise.resolve(_(ee,!1));z=new Promise(this[S])}return this[y]=z,z}},Symbol.asyncIterator,function(){return this}),s(n,"return",function(){var j=this;return new Promise(function(U,z){j[b].destroy(null,function(J){J?z(J):U(_(void 0,!0))})})}),n),x);e.exports=function(j){var U,z=Object.create(A,(s(U={},b,{value:j,writable:!0}),s(U,l,{value:null,writable:!0}),s(U,c,{value:null,writable:!0}),s(U,h,{value:null,writable:!0}),s(U,v,{value:j._readableState.endEmitted,writable:!0}),s(U,S,{value:function(ee,Q){var f=z[b].read();f?(z[y]=null,z[l]=null,z[c]=null,ee(_(f,!1))):(z[l]=ee,z[c]=Q)},writable:!0}),U));return z[y]=null,o(j,function(J){if(J&&J.code!=="ERR_STREAM_PREMATURE_CLOSE"){var ee=z[c];return ee!==null&&(z[y]=null,z[l]=null,z[c]=null,ee(J)),void(z[h]=J)}var Q=z[l];Q!==null&&(z[y]=null,z[l]=null,z[c]=null,Q(_(void 0,!0))),z[v]=!0}),j.on("readable",P.bind(null,z)),z}},726:function(e,t,r){function n(y,S){var b=Object.keys(y);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(y);S&&(_=_.filter(function($){return Object.getOwnPropertyDescriptor(y,$).enumerable})),b.push.apply(b,_)}return b}function i(y){for(var S=1;S0?this.tail.next=_:this.head=_,this.tail=_,++this.length}},{key:"unshift",value:function(b){var _={data:b,next:this.head};this.length===0&&(this.tail=_),this.head=_,++this.length}},{key:"shift",value:function(){if(this.length!==0){var b=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,b}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(b){if(this.length===0)return"";for(var _=this.head,$=""+_.data;_=_.next;)$+=b+_.data;return $}},{key:"concat",value:function(b){if(this.length===0)return c.alloc(0);for(var _,$,P,x=c.allocUnsafe(b>>>0),A=this.head,C=0;A;)_=A.data,$=x,P=C,c.prototype.copy.call(_,$,P),C+=A.data.length,A=A.next;return x}},{key:"consume",value:function(b,_){var $;return bx.length?x.length:b;if(A===x.length?P+=x:P+=x.slice(0,b),(b-=A)===0){A===x.length?(++$,_.next?this.head=_.next:this.head=this.tail=null):(this.head=_,_.data=x.slice(A));break}++$}return this.length-=$,P}},{key:"_getBuffer",value:function(b){var _=c.allocUnsafe(b),$=this.head,P=1;for($.data.copy(_),b-=$.data.length;$=$.next;){var x=$.data,A=b>x.length?x.length:b;if(x.copy(_,_.length-b,0,A),(b-=A)===0){A===x.length?(++P,$.next?this.head=$.next:this.head=this.tail=null):(this.head=$,$.data=x.slice(A));break}++P}return this.length-=P,_}},{key:v,value:function(b,_){return h(this,i(i({},_),{},{depth:0,customInspect:!1}))}}]),y}()},896:function(e,t,r){var n=r(606);function i(l,c){o(l,c),s(l)}function s(l){l._writableState&&!l._writableState.emitClose||l._readableState&&!l._readableState.emitClose||l.emit("close")}function o(l,c){l.emit("error",c)}e.exports={destroy:function(c,h){var v=this,y=this._readableState&&this._readableState.destroyed,S=this._writableState&&this._writableState.destroyed;return y||S?(h?h(c):c&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(o,this,c)):n.nextTick(o,this,c)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(c||null,function(b){!h&&b?v._writableState?v._writableState.errorEmitted?n.nextTick(s,v):(v._writableState.errorEmitted=!0,n.nextTick(i,v,b)):n.nextTick(i,v,b):h?(n.nextTick(s,v),h(b)):n.nextTick(s,v)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(c,h){var v=c._readableState,y=c._writableState;v&&v.autoDestroy||y&&y.autoDestroy?c.destroy(h):c.emit("error",h)}}},238:function(e,t,r){var n=r(48).F.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function s(o,l,c){if(typeof l=="function")return s(o,null,l);l||(l={}),c=function(j){var U=!1;return function(){if(!U){U=!0;for(var z=arguments.length,J=new Array(z),ee=0;ee0,function(j){_||(_=j),j&&P.forEach(c),C||(P.forEach(c),$(_))})});return S.reduce(h)}},291:function(e,t,r){var n=r(48).F.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(s,o,l,c){var h=function(y,S,b){return y.highWaterMark!=null?y.highWaterMark:S?y[b]:null}(o,c,l);if(h!=null){if(!isFinite(h)||Math.floor(h)!==h||h<0)throw new n(c?l:"highWaterMark",h);return Math.floor(h)}return s.objectMode?16:16384}}},345:function(e,t,r){e.exports=r(7).EventEmitter},861:function(e,t,r){var n=r(287),i=n.Buffer;function s(l,c){for(var h in l)c[h]=l[h]}function o(l,c,h){return i(l,c,h)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=o),o.prototype=Object.create(i.prototype),s(i,o),o.from=function(l,c,h){if(typeof l=="number")throw new TypeError("Argument must not be a number");return i(l,c,h)},o.alloc=function(l,c,h){if(typeof l!="number")throw new TypeError("Argument must be a number");var v=i(l);return c!==void 0?typeof h=="string"?v.fill(c,h):v.fill(c):v.fill(0),v},o.allocUnsafe=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return i(l)},o.allocUnsafeSlow=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(l)}},392:function(e,t,r){var n=r(861).Buffer;function i(s,o){this._block=n.alloc(s),this._finalSize=o,this._blockSize=s,this._len=0}i.prototype.update=function(s,o){typeof s=="string"&&(o=o||"utf8",s=n.from(s,o));for(var l=this._block,c=this._blockSize,h=s.length,v=this._len,y=0;y=this._finalSize&&(this._update(this._block),this._block.fill(0));var l=8*this._len;if(l<=4294967295)this._block.writeUInt32BE(l,this._blockSize-4);else{var c=(4294967295&l)>>>0,h=(l-c)/4294967296;this._block.writeUInt32BE(h,this._blockSize-8),this._block.writeUInt32BE(c,this._blockSize-4)}this._update(this._block);var v=this._hash();return s?v.toString(s):v},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},802:function(e,t,r){var n=e.exports=function(s){s=s.toLowerCase();var o=n[s];if(!o)throw new Error(s+" is not supported (we accept pull requests)");return new o};n.sha=r(816),n.sha1=r(737),n.sha224=r(710),n.sha256=r(107),n.sha384=r(827),n.sha512=r(890)},816:function(e,t,r){var n=r(698),i=r(392),s=r(861).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function c(){this.init(),this._w=l,i.call(this,64,56)}function h(y){return y<<30|y>>>2}function v(y,S,b,_){return y===0?S&b|~S&_:y===2?S&b|S&_|b&_:S^b^_}n(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(y){for(var S,b=this._w,_=0|this._a,$=0|this._b,P=0|this._c,x=0|this._d,A=0|this._e,C=0;C<16;++C)b[C]=y.readInt32BE(4*C);for(;C<80;++C)b[C]=b[C-3]^b[C-8]^b[C-14]^b[C-16];for(var j=0;j<80;++j){var U=~~(j/20),z=0|((S=_)<<5|S>>>27)+v(U,$,P,x)+A+b[j]+o[U];A=x,x=P,P=h($),$=_,_=z}this._a=_+this._a|0,this._b=$+this._b|0,this._c=P+this._c|0,this._d=x+this._d|0,this._e=A+this._e|0},c.prototype._hash=function(){var y=s.allocUnsafe(20);return y.writeInt32BE(0|this._a,0),y.writeInt32BE(0|this._b,4),y.writeInt32BE(0|this._c,8),y.writeInt32BE(0|this._d,12),y.writeInt32BE(0|this._e,16),y},e.exports=c},737:function(e,t,r){var n=r(698),i=r(392),s=r(861).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function c(){this.init(),this._w=l,i.call(this,64,56)}function h(S){return S<<5|S>>>27}function v(S){return S<<30|S>>>2}function y(S,b,_,$){return S===0?b&_|~b&$:S===2?b&_|b&$|_&$:b^_^$}n(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(S){for(var b,_=this._w,$=0|this._a,P=0|this._b,x=0|this._c,A=0|this._d,C=0|this._e,j=0;j<16;++j)_[j]=S.readInt32BE(4*j);for(;j<80;++j)_[j]=(b=_[j-3]^_[j-8]^_[j-14]^_[j-16])<<1|b>>>31;for(var U=0;U<80;++U){var z=~~(U/20),J=h($)+y(z,P,x,A)+C+_[U]+o[z]|0;C=A,A=x,x=v(P),P=$,$=J}this._a=$+this._a|0,this._b=P+this._b|0,this._c=x+this._c|0,this._d=A+this._d|0,this._e=C+this._e|0},c.prototype._hash=function(){var S=s.allocUnsafe(20);return S.writeInt32BE(0|this._a,0),S.writeInt32BE(0|this._b,4),S.writeInt32BE(0|this._c,8),S.writeInt32BE(0|this._d,12),S.writeInt32BE(0|this._e,16),S},e.exports=c},710:function(e,t,r){var n=r(698),i=r(107),s=r(392),o=r(861).Buffer,l=new Array(64);function c(){this.init(),this._w=l,s.call(this,64,56)}n(c,i),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var h=o.allocUnsafe(28);return h.writeInt32BE(this._a,0),h.writeInt32BE(this._b,4),h.writeInt32BE(this._c,8),h.writeInt32BE(this._d,12),h.writeInt32BE(this._e,16),h.writeInt32BE(this._f,20),h.writeInt32BE(this._g,24),h},e.exports=c},107:function(e,t,r){var n=r(698),i=r(392),s=r(861).Buffer,o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],l=new Array(64);function c(){this.init(),this._w=l,i.call(this,64,56)}function h(_,$,P){return P^_&($^P)}function v(_,$,P){return _&$|P&(_|$)}function y(_){return(_>>>2|_<<30)^(_>>>13|_<<19)^(_>>>22|_<<10)}function S(_){return(_>>>6|_<<26)^(_>>>11|_<<21)^(_>>>25|_<<7)}function b(_){return(_>>>7|_<<25)^(_>>>18|_<<14)^_>>>3}n(c,i),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(_){for(var $,P=this._w,x=0|this._a,A=0|this._b,C=0|this._c,j=0|this._d,U=0|this._e,z=0|this._f,J=0|this._g,ee=0|this._h,Q=0;Q<16;++Q)P[Q]=_.readInt32BE(4*Q);for(;Q<64;++Q)P[Q]=0|((($=P[Q-2])>>>17|$<<15)^($>>>19|$<<13)^$>>>10)+P[Q-7]+b(P[Q-15])+P[Q-16];for(var f=0;f<64;++f){var ce=ee+S(U)+h(U,z,J)+o[f]+P[f]|0,L=y(x)+v(x,A,C)|0;ee=J,J=z,z=U,U=j+ce|0,j=C,C=A,A=x,x=ce+L|0}this._a=x+this._a|0,this._b=A+this._b|0,this._c=C+this._c|0,this._d=j+this._d|0,this._e=U+this._e|0,this._f=z+this._f|0,this._g=J+this._g|0,this._h=ee+this._h|0},c.prototype._hash=function(){var _=s.allocUnsafe(32);return _.writeInt32BE(this._a,0),_.writeInt32BE(this._b,4),_.writeInt32BE(this._c,8),_.writeInt32BE(this._d,12),_.writeInt32BE(this._e,16),_.writeInt32BE(this._f,20),_.writeInt32BE(this._g,24),_.writeInt32BE(this._h,28),_},e.exports=c},827:function(e,t,r){var n=r(698),i=r(890),s=r(392),o=r(861).Buffer,l=new Array(160);function c(){this.init(),this._w=l,s.call(this,128,112)}n(c,i),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var h=o.allocUnsafe(48);function v(y,S,b){h.writeInt32BE(y,b),h.writeInt32BE(S,b+4)}return v(this._ah,this._al,0),v(this._bh,this._bl,8),v(this._ch,this._cl,16),v(this._dh,this._dl,24),v(this._eh,this._el,32),v(this._fh,this._fl,40),h},e.exports=c},890:function(e,t,r){var n=r(698),i=r(392),s=r(861).Buffer,o=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],l=new Array(160);function c(){this.init(),this._w=l,i.call(this,128,112)}function h(A,C,j){return j^A&(C^j)}function v(A,C,j){return A&C|j&(A|C)}function y(A,C){return(A>>>28|C<<4)^(C>>>2|A<<30)^(C>>>7|A<<25)}function S(A,C){return(A>>>14|C<<18)^(A>>>18|C<<14)^(C>>>9|A<<23)}function b(A,C){return(A>>>1|C<<31)^(A>>>8|C<<24)^A>>>7}function _(A,C){return(A>>>1|C<<31)^(A>>>8|C<<24)^(A>>>7|C<<25)}function $(A,C){return(A>>>19|C<<13)^(C>>>29|A<<3)^A>>>6}function P(A,C){return(A>>>19|C<<13)^(C>>>29|A<<3)^(A>>>6|C<<26)}function x(A,C){return A>>>0>>0?1:0}n(c,i),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(A){for(var C=this._w,j=0|this._ah,U=0|this._bh,z=0|this._ch,J=0|this._dh,ee=0|this._eh,Q=0|this._fh,f=0|this._gh,ce=0|this._hh,L=0|this._al,Fe=0|this._bl,Xe=0|this._cl,Ye=0|this._dl,he=0|this._el,de=0|this._fl,ge=0|this._gl,pe=0|this._hl,be=0;be<32;be+=2)C[be]=A.readInt32BE(4*be),C[be+1]=A.readInt32BE(4*be+4);for(;be<160;be+=2){var ye=C[be-30],Le=C[be-30+1],se=b(ye,Le),_e=_(Le,ye),Z=$(ye=C[be-4],Le=C[be-4+1]),V=P(Le,ye),q=C[be-14],Ae=C[be-14+1],Ee=C[be-32],We=C[be-32+1],lt=_e+Ae|0,ze=se+q+x(lt,_e)|0;ze=(ze=ze+Z+x(lt=lt+V|0,V)|0)+Ee+x(lt=lt+We|0,We)|0,C[be]=ze,C[be+1]=lt}for(var rt=0;rt<160;rt+=2){ze=C[rt],lt=C[rt+1];var Pt=v(j,U,z),mt=v(L,Fe,Xe),Rt=y(j,L),Ur=y(L,j),K=S(ee,he),T=S(he,ee),I=o[rt],Y=o[rt+1],te=h(ee,Q,f),ue=h(he,de,ge),me=pe+T|0,Ke=ce+K+x(me,pe)|0;Ke=(Ke=(Ke=Ke+te+x(me=me+ue|0,ue)|0)+I+x(me=me+Y|0,Y)|0)+ze+x(me=me+lt|0,lt)|0;var yt=Ur+mt|0,_t=Rt+Pt+x(yt,Ur)|0;ce=f,pe=ge,f=Q,ge=de,Q=ee,de=he,ee=J+Ke+x(he=Ye+me|0,Ye)|0,J=z,Ye=Xe,z=U,Xe=Fe,U=j,Fe=L,j=Ke+_t+x(L=me+yt|0,me)|0}this._al=this._al+L|0,this._bl=this._bl+Fe|0,this._cl=this._cl+Xe|0,this._dl=this._dl+Ye|0,this._el=this._el+he|0,this._fl=this._fl+de|0,this._gl=this._gl+ge|0,this._hl=this._hl+pe|0,this._ah=this._ah+j+x(this._al,L)|0,this._bh=this._bh+U+x(this._bl,Fe)|0,this._ch=this._ch+z+x(this._cl,Xe)|0,this._dh=this._dh+J+x(this._dl,Ye)|0,this._eh=this._eh+ee+x(this._el,he)|0,this._fh=this._fh+Q+x(this._fl,de)|0,this._gh=this._gh+f+x(this._gl,ge)|0,this._hh=this._hh+ce+x(this._hl,pe)|0},c.prototype._hash=function(){var A=s.allocUnsafe(64);function C(j,U,z){A.writeInt32BE(j,z),A.writeInt32BE(U,z+4)}return C(this._ah,this._al,0),C(this._bh,this._bl,8),C(this._ch,this._cl,16),C(this._dh,this._dl,24),C(this._eh,this._el,32),C(this._fh,this._fl,40),C(this._gh,this._gl,48),C(this._hh,this._hl,56),A},e.exports=c},310:function(e,t,r){e.exports=i;var n=r(7).EventEmitter;function i(){n.call(this)}r(698)(i,n),i.Readable=r(412),i.Writable=r(708),i.Duplex=r(382),i.Transform=r(610),i.PassThrough=r(600),i.finished=r(238),i.pipeline=r(758),i.Stream=i,i.prototype.pipe=function(s,o){var l=this;function c($){s.writable&&s.write($)===!1&&l.pause&&l.pause()}function h(){l.readable&&l.resume&&l.resume()}l.on("data",c),s.on("drain",h),s._isStdio||o&&o.end===!1||(l.on("end",y),l.on("close",S));var v=!1;function y(){v||(v=!0,s.end())}function S(){v||(v=!0,typeof s.destroy=="function"&&s.destroy())}function b($){if(_(),n.listenerCount(this,"error")===0)throw $}function _(){l.removeListener("data",c),s.removeListener("drain",h),l.removeListener("end",y),l.removeListener("close",S),l.removeListener("error",b),s.removeListener("error",b),l.removeListener("end",_),l.removeListener("close",_),s.removeListener("close",_)}return l.on("error",b),s.on("error",b),l.on("end",_),l.on("close",_),s.on("close",_),s.emit("pipe",l),s}},141:function(e,t,r){var n=r(861).Buffer,i=n.isEncoding||function(_){switch((_=""+_)&&_.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function s(_){var $;switch(this.encoding=function(x){var A=function(j){if(!j)return"utf8";for(var U;;)switch(j){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return j;default:if(U)return;j=(""+j).toLowerCase(),U=!0}}(x);if(typeof A!="string"&&(n.isEncoding===i||!i(x)))throw new Error("Unknown encoding: "+x);return A||x}(_),this.encoding){case"utf16le":this.text=c,this.end=h,$=4;break;case"utf8":this.fillLast=l,$=4;break;case"base64":this.text=v,this.end=y,$=3;break;default:return this.write=S,void(this.end=b)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe($)}function o(_){return _<=127?0:_>>5==6?2:_>>4==14?3:_>>3==30?4:_>>6==2?-1:-2}function l(_){var $=this.lastTotal-this.lastNeed,P=function(A,C,j){if((192&C[0])!=128)return A.lastNeed=0,"�";if(A.lastNeed>1&&C.length>1){if((192&C[1])!=128)return A.lastNeed=1,"�";if(A.lastNeed>2&&C.length>2&&(192&C[2])!=128)return A.lastNeed=2,"�"}}(this,_);return P!==void 0?P:this.lastNeed<=_.length?(_.copy(this.lastChar,$,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(_.copy(this.lastChar,$,0,_.length),void(this.lastNeed-=_.length))}function c(_,$){if((_.length-$)%2==0){var P=_.toString("utf16le",$);if(P){var x=P.charCodeAt(P.length-1);if(x>=55296&&x<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=_[_.length-2],this.lastChar[1]=_[_.length-1],P.slice(0,-1)}return P}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=_[_.length-1],_.toString("utf16le",$,_.length-1)}function h(_){var $=_&&_.length?this.write(_):"";if(this.lastNeed){var P=this.lastTotal-this.lastNeed;return $+this.lastChar.toString("utf16le",0,P)}return $}function v(_,$){var P=(_.length-$)%3;return P===0?_.toString("base64",$):(this.lastNeed=3-P,this.lastTotal=3,P===1?this.lastChar[0]=_[_.length-1]:(this.lastChar[0]=_[_.length-2],this.lastChar[1]=_[_.length-1]),_.toString("base64",$,_.length-P))}function y(_){var $=_&&_.length?this.write(_):"";return this.lastNeed?$+this.lastChar.toString("base64",0,3-this.lastNeed):$}function S(_){return _.toString(this.encoding)}function b(_){return _&&_.length?this.write(_):""}t.I=s,s.prototype.write=function(_){if(_.length===0)return"";var $,P;if(this.lastNeed){if(($=this.fillLast(_))===void 0)return"";P=this.lastNeed,this.lastNeed=0}else P=0;return P<_.length?$?$+this.text(_,P):this.text(_,P):$||""},s.prototype.end=function($){var P=$&&$.length?this.write($):"";return this.lastNeed?P+"�":P},s.prototype.text=function($,P){var x=function(j,U,z){var J=U.length-1;if(J=0?(ee>0&&(j.lastNeed=ee-1),ee):--J=0?(ee>0&&(j.lastNeed=ee-2),ee):--J=0?(ee>0&&(ee===2?ee=0:j.lastNeed=ee-3),ee):0))}(this,$,P);if(!this.lastNeed)return $.toString("utf8",P);this.lastTotal=x;var A=$.length-(x-this.lastNeed);return $.copy(this.lastChar,0,A),$.toString("utf8",P,A)},s.prototype.fillLast=function(_){if(this.lastNeed<=_.length)return _.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);_.copy(this.lastChar,this.lastTotal-this.lastNeed,0,_.length),this.lastNeed-=_.length}},643:function(e,t,r){function n(i){try{if(!r.g.localStorage)return!1}catch{return!1}var s=r.g.localStorage[i];return s!=null&&String(s).toLowerCase()==="true"}e.exports=function(s,o){if(n("noDeprecation"))return s;var l=!1;return function(){if(!l){if(n("throwDeprecation"))throw new Error(o);n("traceDeprecation")?console.trace(o):console.warn(o),l=!0}return s.apply(this,arguments)}}},499:function(e){var t={"&":"&",'"':""","'":"'","<":"<",">":">"};e.exports=function(n){return n&&n.replace?n.replace(/([&"<>'])/g,function(i,s){return t[s]}):n}},123:function(e,t,r){var n=r(606),i=r(499),s=r(310).Stream;function o(c,h,v){var y,S=function(C,j){return new Array(j||0).join(C||"")}(h,v=v||0),b=c;if(typeof c=="object"&&(b=c[y=Object.keys(c)[0]])&&b._elem)return b._elem.name=y,b._elem.icount=v,b._elem.indent=h,b._elem.indents=S,b._elem.interrupt=b,b._elem;var _,$=[],P=[];function x(A){Object.keys(A).forEach(function(C){$.push(function(U,z){return U+'="'+i(z)+'"'}(C,A[C]))})}switch(typeof b){case"object":if(b===null)break;b._attr&&x(b._attr),b._cdata&&P.push(("/g,"]]]]>")+"]]>"),b.forEach&&(_=!1,P.push(""),b.forEach(function(A){typeof A=="object"?Object.keys(A)[0]=="_attr"?x(A._attr):P.push(o(A,h,v+1)):(P.pop(),_=!0,P.push(i(A)))}),_||P.push(""));break;default:P.push(i(b))}return{name:y,interrupt:!1,attributes:$,content:P,icount:v,indents:S,indent:h}}function l(c,h,v){if(typeof h!="object")return c(!1,h);var y=h.interrupt?1:h.content.length;function S(){for(;h.content.length;){var _=h.content.shift();if(_!==void 0){if(b(_))return;l(c,_)}}c(!1,(y>1?h.indents:"")+(h.name?"":"")+(h.indent&&!v?` +`:"")),v&&v()}function b(_){return!!_.interrupt&&(_.interrupt.append=c,_.interrupt.end=S,_.interrupt=!1,c(!0),!0)}if(c(!1,h.indents+(h.name?"<"+h.name:"")+(h.attributes.length?" "+h.attributes.join(" "):"")+(y?h.name?">":"":h.name?"/>":"")+(h.indent&&y>1?` +`:"")),!y)return c(!1,h.indent?` +`:"");b(h)||S()}e.exports=function(h,v){typeof v!="object"&&(v={indent:v});var y=v.stream?new s:null,S="",b=!1,_=v.indent?v.indent===!0?" ":v.indent:"",$=!0;function P(j){$?n.nextTick(j):j()}function x(j,U){if(U!==void 0&&(S+=U),j&&!b&&(y=y||new s,b=!0),j&&b){var z=S;P(function(){y.emit("data",z)}),S=""}}function A(j,U){l(x,o(j,_,_?1:0),U)}function C(){if(y){var j=S;P(function(){y.emit("data",j),y.emit("end"),y.readable=!1,y.emit("close")})}}return P(function(){$=!1}),v.declaration&&function(U){var z={version:"1.0",encoding:U.encoding||"UTF-8"};U.standalone&&(z.standalone=U.standalone),A({"?xml":{_attr:z}}),S=S.replace("/>","?>")}(v.declaration),h&&h.forEach?h.forEach(function(j,U){var z;U+1===h.length&&(z=C),A(j,z)}):A(h,C),y?(y.readable=!0,y):S},e.exports.element=e.exports.Element=function(){var h={_elem:o(Array.prototype.slice.call(arguments)),push:function(v){if(!this.append)throw new Error("not assigned to a parent!");var y=this,S=this._elem.indent;l(this.append,o(v,S,this._elem.icount+(S?1:0)),function(){y.append(!0)})},close:function(v){v!==void 0&&this.push(v),this.end&&this.end()}};return h}},987:function(e){e.exports=YK},362:function(e){e.exports=ZK},340:function(){},838:function(){}},b3={};function Ce(e){var t=b3[e];if(t!==void 0)return t.exports;var r=b3[e]={exports:{}};return Tze[e](r,r.exports,Ce),r.exports}Ce.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return Ce.d(t,{a:t}),t},Ce.d=function(e,t){for(var r in t)Ce.o(t,r)&&!Ce.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},Ce.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),Ce.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},Ce.r=function(e){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var DU={};(function(){var lp,rP,up,nP;Ce.d(DU,{A:function(){return PK}});var e={};Ce.r(e),Ce.d(e,{CLEAR:function(){return ye},CLEAR_BY:function(){return Le},NEW_AUTH_ERR:function(){return be},NEW_SPEC_ERR:function(){return ge},NEW_SPEC_ERR_BATCH:function(){return pe},NEW_THROWN_ERR:function(){return he},NEW_THROWN_ERR_BATCH:function(){return de},clear:function(){return Ae},clearBy:function(){return Ee},newAuthErr:function(){return q},newSpecErr:function(){return Z},newSpecErrBatch:function(){return V},newThrownErr:function(){return se},newThrownErrBatch:function(){return _e}});var t={};Ce.r(t),Ce.d(t,{AUTHORIZE:function(){return oe},AUTHORIZE_OAUTH2:function(){return Xt},CONFIGURE_AUTH:function(){return _r},LOGOUT:function(){return Ne},PRE_AUTHORIZE_OAUTH2:function(){return ft},RESTORE_AUTHORIZATION:function(){return kr},SHOW_AUTH_POPUP:function(){return ht},VALIDATE:function(){return St},authPopup:function(){return Cu},authorize:function(){return ai},authorizeAccessCodeWithBasicAuthentication:function(){return im},authorizeAccessCodeWithFormParams:function(){return Pf},authorizeApplication:function(){return nm},authorizeOauth2:function(){return Tf},authorizeOauth2WithPersistOption:function(){return rm},authorizePassword:function(){return Ai},authorizeRequest:function(){return Rf},authorizeWithPersistOption:function(){return xr},configureAuth:function(){return pb},logout:function(){return ga},logoutWithPersistOption:function(){return ya},persistAuthorizationIfNeeded:function(){return hb},preAuthorizeImplicit:function(){return tm},restoreAuthorization:function(){return db},showDefinitions:function(){return Un}});var r={};Ce.r(r),Ce.d(r,{authorized:function(){return gb},definitionsForRequirements:function(){return mb},definitionsToAuthorize:function(){return am},getConfigs:function(){return vb},getDefinitionsByNames:function(){return lm},isAuthorized:function(){return yb},shownDefinitions:function(){return om}});var n={};Ce.r(n),Ce.d(n,{TOGGLE_CONFIGS:function(){return va},UPDATE_CONFIGS:function(){return qi},loaded:function(){return fm},toggle:function(){return Dr},update:function(){return yl}});var i={};Ce.r(i),Ce.d(i,{downloadConfig:function(){return Df},getConfigByUrl:function(){return pm}});var s={};Ce.r(s),Ce.d(s,{get:function(){return ku}});var o={};Ce.r(o),Ce.d(o,{transform:function(){return hm}});var l={};Ce.r(l),Ce.d(l,{transform:function(){return mm}});var c={};Ce.r(c),Ce.d(c,{allErrors:function(){return bl},lastError:function(){return gm}});var h={};Ce.r(h),Ce.d(h,{SHOW:function(){return dr},UPDATE_FILTER:function(){return qf},UPDATE_LAYOUT:function(){return Ru},UPDATE_MODE:function(){return Wf},changeMode:function(){return Hf},show:function(){return zn},updateFilter:function(){return Em},updateLayout:function(){return Kf}});var v={};Ce.r(v),Ce.d(v,{current:function(){return wm},currentFilter:function(){return Jf},isShown:function(){return Oi},showSummary:function(){return Iu},whatMode:function(){return _m}});var y={};Ce.r(y),Ce.d(y,{taggedOperations:function(){return xm}});var S={};Ce.r(S),Ce.d(S,{requestSnippetGenerator_curl_bash:function(){return fn},requestSnippetGenerator_curl_cmd:function(){return ju},requestSnippetGenerator_curl_powershell:function(){return Hi}});var b={};Ce.r(b),Ce.d(b,{getActiveLanguage:function(){return Cm},getDefaultExpanded:function(){return $m},getGenerators:function(){return Om},getSnippetGenerators:function(){return Mu}});var _={};Ce.r(_),Ce.d(_,{allowTryItOutFor:function(){return y5},basePath:function(){return c5},canExecuteScheme:function(){return A5},consumes:function(){return O$},consumesOptionsFor:function(){return x5},contentTypeValues:function(){return w5},currentProducesFor:function(){return D$},definitions:function(){return u5},externalDocs:function(){return n5},findDefinition:function(){return l5},getOAS3RequiredRequestBodyContentType:function(){return C5},getParameter:function(){return b5},hasHost:function(){return E5},host:function(){return f5},info:function(){return w$},isMediaTypeSchemaPropertiesEqual:function(){return $5},isOAS3:function(){return r5},lastError:function(){return GU},mutatedRequestFor:function(){return g5},mutatedRequests:function(){return I$},operationScheme:function(){return F$},operationWithMeta:function(){return j$},operations:function(){return A$},operationsWithRootInherited:function(){return $$},operationsWithTags:function(){return T$},parameterInclusionSettingFor:function(){return N$},parameterValues:function(){return M$},parameterWithMeta:function(){return v5},parameterWithMetaByIdentity:function(){return Rb},parametersIncludeIn:function(){return S5},parametersIncludeType:function(){return Ib},paths:function(){return x$},produces:function(){return C$},producesOptionsFor:function(){return _5},requestFor:function(){return m5},requests:function(){return R$},responseFor:function(){return h5},responses:function(){return P$},schemes:function(){return p5},security:function(){return o5},securityDefinitions:function(){return a5},semver:function(){return i5},spec:function(){return fi},specJS:function(){return ZU},specJson:function(){return Tb},specJsonWithResolvedSubtrees:function(){return ws},specResolved:function(){return e5},specResolvedSubtree:function(){return t5},specSource:function(){return QU},specStr:function(){return XU},tagDetails:function(){return k$},taggedOperations:function(){return d5},tags:function(){return Pb},url:function(){return YU},validOperationMethods:function(){return s5},validateBeforeExecute:function(){return O5},validationErrors:function(){return L$},version:function(){return _$}});var $={};Ce.r($),Ce.d($,{CLEAR_REQUEST:function(){return zb},CLEAR_RESPONSE:function(){return Vb},CLEAR_VALIDATE_PARAMS:function(){return qb},LOG_REQUEST:function(){return U$},SET_MUTATED_REQUEST:function(){return Ub},SET_REQUEST:function(){return Bb},SET_RESPONSE:function(){return Lb},SET_SCHEME:function(){return Kb},UPDATE_EMPTY_PARAM_INCLUSION:function(){return Db},UPDATE_JSON:function(){return Mb},UPDATE_OPERATION_META_VALUE:function(){return Nm},UPDATE_PARAM:function(){return Im},UPDATE_RESOLVED:function(){return Wb},UPDATE_RESOLVED_SUBTREE:function(){return jm},UPDATE_SPEC:function(){return Nb},UPDATE_URL:function(){return jb},VALIDATE_PARAMS:function(){return Fb},changeConsumesValue:function(){return G5},changeParam:function(){return V5},changeParamByIdentity:function(){return z5},changeProducesValue:function(){return Y5},clearRequest:function(){return iV},clearResponse:function(){return nV},clearValidateParams:function(){return J5},execute:function(){return rV},executeRequest:function(){return tV},invalidateResolvedSubtreeCache:function(){return W5},logRequest:function(){return eV},parseToJson:function(){return F5},requestResolvedSubtree:function(){return U5},resolveSpec:function(){return L5},setMutatedRequest:function(){return Z5},setRequest:function(){return Q5},setResponse:function(){return X5},setScheme:function(){return sV},updateEmptyParamInclusion:function(){return H5},updateJsonSpec:function(){return D5},updateResolved:function(){return j5},updateResolvedSubtree:function(){return q5},updateSpec:function(){return N5},updateUrl:function(){return M5},validateParams:function(){return K5}});var P={};Ce.r(P),Ce.d(P,{executeRequest:function(){return uV},updateJsonSpec:function(){return lV},updateSpec:function(){return aV},validateParams:function(){return cV}});var x={};Ce.r(x),Ce.d(x,{Button:function(){return Ok},Col:function(){return l7},Collapse:function(){return Tk},Container:function(){return a7},Input:function(){return f7},Link:function(){return $k},Row:function(){return u7},Select:function(){return Ck},TextArea:function(){return c7}});var A={};Ce.r(A),Ce.d(A,{JsonSchemaArrayItemFile:function(){return aE},JsonSchemaArrayItemText:function(){return oE},JsonSchemaForm:function(){return Mk},JsonSchema_array:function(){return Fk},JsonSchema_boolean:function(){return Lk},JsonSchema_object:function(){return Bk},JsonSchema_string:function(){return Dk}});var C={};Ce.r(C),Ce.d(C,{basePath:function(){return iz},consumes:function(){return sz},definitions:function(){return Z7},findDefinition:function(){return Q7},hasHost:function(){return ez},host:function(){return nz},produces:function(){return oz},schemes:function(){return az},securityDefinitions:function(){return tz},validOperationMethods:function(){return rz}});var j={};Ce.r(j),Ce.d(j,{definitionsToAuthorize:function(){return lz}});var U={};Ce.r(U),Ce.d(U,{callbacksOperations:function(){return mz},findSchema:function(){return hz},isOAS3:function(){return pz},isOAS30:function(){return fz},isSwagger2:function(){return cz},servers:function(){return dz}});var z={};Ce.r(z),Ce.d(z,{CLEAR_REQUEST_BODY_VALIDATE_ERROR:function(){return Bm},CLEAR_REQUEST_BODY_VALUE:function(){return bE},SET_REQUEST_BODY_VALIDATE_ERROR:function(){return vE},UPDATE_ACTIVE_EXAMPLES_MEMBER:function(){return hE},UPDATE_REQUEST_BODY_INCLUSION:function(){return dE},UPDATE_REQUEST_BODY_VALUE:function(){return fE},UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG:function(){return pE},UPDATE_REQUEST_CONTENT_TYPE:function(){return mE},UPDATE_RESPONSE_CONTENT_TYPE:function(){return gE},UPDATE_SELECTED_SERVER:function(){return cE},UPDATE_SERVER_VARIABLE_VALUE:function(){return yE},clearRequestBodyValidateError:function(){return Vz},clearRequestBodyValue:function(){return qz},initRequestBodyValidateError:function(){return zz},setActiveExamplesMember:function(){return Dz},setRequestBodyInclusion:function(){return Mz},setRequestBodyValidateError:function(){return Uz},setRequestBodyValue:function(){return Nz},setRequestContentType:function(){return Fz},setResponseContentType:function(){return Lz},setRetainRequestBodyValueFlag:function(){return jz},setSelectedServer:function(){return Iz},setServerVariableValue:function(){return Bz}});var J={};Ce.r(J),Ce.d(J,{activeExamplesMember:function(){return Qz},hasUserEditedBody:function(){return Gz},requestBodyErrors:function(){return Xz},requestBodyInclusionSetting:function(){return Yz},requestBodyValue:function(){return Kz},requestContentType:function(){return Zz},responseContentType:function(){return eq},selectDefaultRequestBodyValue:function(){return Jz},selectedServer:function(){return Wz},serverEffectiveValue:function(){return nq},serverVariableValue:function(){return tq},serverVariables:function(){return rq},shouldRetainRequestBodyValue:function(){return Hz},validOperationMethods:function(){return oq},validateBeforeExecute:function(){return iq},validateShallowRequired:function(){return sq}});var ee=Ce(919),Q=Ce.n(ee),f=function(a){var u={};return Ce.d(u,a),u}({Component:function(){return xn.Component},PureComponent:function(){return xn.PureComponent},createContext:function(){return xn.createContext},createElement:function(){return xn.createElement},default:function(){return ls},forwardRef:function(){return xn.forwardRef},useCallback:function(){return xn.useCallback},useContext:function(){return xn.useContext},useEffect:function(){return xn.useEffect},useRef:function(){return xn.useRef},useState:function(){return xn.useState}}),ce=function(a){var u={};return Ce.d(u,a),u}({applyMiddleware:function(){return bH},bindActionCreators:function(){return vH},compose:function(){return T3},createStore:function(){return k3}}),L=function(a){var u={};return Ce.d(u,a),u}({List:function(){return ss.List},Map:function(){return ss.Map},OrderedMap:function(){return ss.OrderedMap},Seq:function(){return ss.Seq},Set:function(){return ss.Set},default:function(){return EH},fromJS:function(){return ss.fromJS}}),Fe=function(a){var u={};return Ce.d(u,a),u}({combineReducers:function(){return I3}}),Xe=function(a){var u={};return Ce.d(u,a),u}({serializeError:function(){return DH.serializeError}}),Ye=function(a){var u={};return Ce.d(u,a),u}({default:function(){return iee}});const he="err_new_thrown_err",de="err_new_thrown_err_batch",ge="err_new_spec_err",pe="err_new_spec_err_batch",be="err_new_auth_err",ye="err_clear",Le="err_clear_by";function se(a){return{type:he,payload:(0,Xe.serializeError)(a)}}function _e(a){return{type:de,payload:a}}function Z(a){return{type:ge,payload:a}}function V(a){return{type:pe,payload:a}}function q(a){return{type:be,payload:a}}function Ae(a={}){return{type:ye,payload:a}}function Ee(a=()=>!0){return{type:Le,payload:a}}var We=function(){var u={location:{},history:{},open:()=>{},close:()=>{},File:function(){},FormData:function(){}};if(typeof window>"u")return u;try{u=window;for(var p of["File","Blob","FormData"])p in window&&(u[p]=window[p])}catch(d){console.error(d)}return u}(),lt=function(a){var u={};return Ce.d(u,a),u}({sanitizeUrl:function(){return eD}}),ze=(function(a){var u={};Ce.d(u,a)}({}),function(a){var u={};Ce.d(u,a)}({}),function(a){var u={};return Ce.d(u,a),u}({default:function(){return Oee}})),rt=function(a){var u={};return Ce.d(u,a),u}({default:function(){return Fie}}),Pt=function(a){var u={};return Ce.d(u,a),u}({default:function(){return sse}}),mt=function(a){var u={};return Ce.d(u,a),u}({default:function(){return UH}}),Rt=function(a){var u={};return Ce.d(u,a),u}({default:function(){return WJ}}),Ur=function(a){var u={};return Ce.d(u,a),u}({default:function(){return ase}}),K=Ce(209),T=Ce.n(K),I=Ce(802),Y=Ce.n(I);const te=L.default.Set.of("type","format","items","default","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf");function ue(a,{isOAS3:u}={}){if(!L.default.Map.isMap(a))return{schema:L.default.Map(),parameterContentMediaType:null};if(!u)return a.get("in")==="body"?{schema:a.get("schema",L.default.Map()),parameterContentMediaType:null}:{schema:a.filter((p,d)=>te.includes(d)),parameterContentMediaType:null};if(a.get("content")){const p=a.get("content",L.default.Map({})).keySeq().first();return{schema:a.getIn(["content",p,"schema"],L.default.Map()),parameterContentMediaType:p}}return{schema:a.get("schema")?a.get("schema",L.default.Map()):L.default.Map(),parameterContentMediaType:null}}var me=Ce(287).Buffer;const Ke="default",yt=a=>L.default.Iterable.isIterable(a);function _t(a){return nt(a)?yt(a)?a.toJS():a:{}}function Ct(a){if(yt(a)||a instanceof We.File||!nt(a))return a;if(Array.isArray(a))return L.default.Seq(a).map(Ct).toList();if((0,Rt.default)(a.entries)){const u=function(d){if(!(0,Rt.default)(d.entries))return d;const g={},E="_**[]",O={};for(let k of d.entries())g[k[0]]||O[k[0]]&&O[k[0]].containsMultiple?(O[k[0]]||(O[k[0]]={containsMultiple:!0,length:1},g[`${k[0]}${E}${O[k[0]].length}`]=g[k[0]],delete g[k[0]]),O[k[0]].length+=1,g[`${k[0]}${E}${O[k[0]].length}`]=k[1]):g[k[0]]=k[1];return g}(a);return L.default.OrderedMap(u).map(Ct)}return L.default.OrderedMap(a).map(Ct)}function At(a){return Array.isArray(a)?a:[a]}function ut(a){return typeof a=="function"}function nt(a){return!!a&&typeof a=="object"}function vt(a){return typeof a=="function"}function Lt(a){return Array.isArray(a)}const Mr=ze.default;function zt(a,u){return Object.keys(a).reduce((p,d)=>(p[d]=u(a[d],d),p),{})}function si(a,u){return Object.keys(a).reduce((p,d)=>{let g=u(a[d],d);return g&&typeof g=="object"&&Object.assign(p,g),p},{})}function Xr(a){return({dispatch:u,getState:p})=>d=>g=>typeof g=="function"?g(a()):d(g)}function Oo(a,u,p,d,g){if(!u)return[];let E=[],O=u.get("nullable"),k=u.get("required"),N=u.get("maximum"),D=u.get("minimum"),F=u.get("type"),W=u.get("format"),G=u.get("maxLength"),H=u.get("minLength"),ne=u.get("uniqueItems"),le=u.get("maxItems"),ae=u.get("minItems"),Re=u.get("pattern");const Oe=p||k===!0,Me=a!=null;if(O&&a===null||!F||!(Oe||Me&&F==="array"||!(!Oe&&!Me)))return[];let ve=F==="string"&&a,Se=F==="array"&&Array.isArray(a)&&a.length,Ue=F==="array"&&L.default.List.isList(a)&&a.count();const xe=[ve,Se,Ue,F==="array"&&typeof a=="string"&&a,F==="file"&&a instanceof We.File,F==="boolean"&&(a||a===!1),F==="number"&&(a||a===0),F==="integer"&&(a||a===0),F==="object"&&typeof a=="object"&&a!==null,F==="object"&&typeof a=="string"&&a].some(Te=>!!Te);if(Oe&&!xe&&!d)return E.push("Required field is not provided"),E;if(F==="object"&&(g===null||g==="application/json")){let Te=a;if(typeof a=="string")try{Te=JSON.parse(a)}catch{return E.push("Parameter string value must be valid JSON"),E}u&&u.has("required")&&vt(k.isList)&&k.isList()&&k.forEach(Pe=>{Te[Pe]===void 0&&E.push({propKey:Pe,error:"Required property not found"})}),u&&u.has("properties")&&u.get("properties").forEach((Pe,je)=>{const Ze=Oo(Te[je],Pe,!1,d,g);E.push(...Ze.map(it=>({propKey:je,error:it})))})}if(Re){let Te=((Pe,je)=>{if(!new RegExp(je).test(Pe))return"Value must follow pattern "+je})(a,Re);Te&&E.push(Te)}if(ae&&F==="array"){let Te=((Pe,je)=>{if(!Pe&&je>=1||Pe&&Pe.length{if(Pe&&Pe.length>je)return`Array must not contain more then ${je} item${je===1?"":"s"}`})(a,le);Te&&E.push({needRemove:!0,error:Te})}if(ne&&F==="array"){let Te=((Pe,je)=>{if(Pe&&(je==="true"||je===!0)){const Ze=(0,L.fromJS)(Pe),it=Ze.toSet();if(Pe.length>it.size){let we=(0,L.Set)();if(Ze.forEach((Ve,tt)=>{Ze.filter(Mt=>vt(Mt.equals)?Mt.equals(Ve):Mt===Ve).size>1&&(we=we.add(tt))}),we.size!==0)return we.map(Ve=>({index:Ve,error:"No duplicates allowed."})).toArray()}}})(a,ne);Te&&E.push(...Te)}if(G||G===0){let Te=((Pe,je)=>{if(Pe.length>je)return`Value must be no longer than ${je} character${je!==1?"s":""}`})(a,G);Te&&E.push(Te)}if(H){let Te=((Pe,je)=>{if(Pe.length{if(Pe>je)return`Value must be less than ${je}`})(a,N);Te&&E.push(Te)}if(D||D===0){let Te=((Pe,je)=>{if(Pe{if(isNaN(Date.parse(Pe)))return"Value must be a DateTime"})(a):W==="uuid"?(Pe=>{if(Pe=Pe.toString().toLowerCase(),!/^[{(]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[)}]?$/.test(Pe))return"Value must be a Guid"})(a):(Pe=>{if(Pe&&typeof Pe!="string")return"Value must be a string"})(a),!Te)return E;E.push(Te)}else if(F==="boolean"){let Te=(Pe=>{if(Pe!=="true"&&Pe!=="false"&&Pe!==!0&&Pe!==!1)return"Value must be a boolean"})(a);if(!Te)return E;E.push(Te)}else if(F==="number"){let Te=(Pe=>{if(!/^-?\d+(\.?\d+)?$/.test(Pe))return"Value must be a number"})(a);if(!Te)return E;E.push(Te)}else if(F==="integer"){let Te=(Pe=>{if(!/^-?\d+$/.test(Pe))return"Value must be an integer"})(a);if(!Te)return E;E.push(Te)}else if(F==="array"){if(!Se&&!Ue)return E;a&&a.forEach((Te,Pe)=>{const je=Oo(Te,u.get("items"),!1,d,g);E.push(...je.map(Ze=>({index:Pe,error:Ze})))})}else if(F==="file"){let Te=(Pe=>{if(Pe&&!(Pe instanceof We.File))return"Value must be a file"})(a);if(!Te)return E;E.push(Te)}return E}const ur=a=>{let u;return u=a instanceof me?a:me.from(a.toString(),"utf-8"),u.toString("base64")},yr={operationsSorter:{alpha:(a,u)=>a.get("path").localeCompare(u.get("path")),method:(a,u)=>a.get("method").localeCompare(u.get("method"))},tagsSorter:{alpha:(a,u)=>a.localeCompare(u)}},Fs=a=>{let u=[];for(let p in a){let d=a[p];d!==void 0&&d!==""&&u.push([p,"=",encodeURIComponent(d).replace(/%20/g,"+")].join(""))}return u.join("&")},_i=(a,u,p)=>!!(0,rt.default)(p,d=>(0,mt.default)(a[d],u[d]));function tr(a){return typeof a!="string"||a===""?"":(0,lt.sanitizeUrl)(a)}function Vi(a){return!(!a||a.indexOf("localhost")>=0||a.indexOf("127.0.0.1")>=0||a==="none")}const xi=a=>typeof a=="string"||a instanceof String?a.trim().replace(/\s/g,"%20"):"",Ls=a=>(0,Ur.default)(xi(a).replace(/%20/g,"_")),Es=a=>a.filter((u,p)=>/^x-/.test(p)),tn=a=>a.filter((u,p)=>/^pattern|maxLength|minLength|maximum|minimum/.test(p));function Ou(a,u,p=()=>!0){if(typeof a!="object"||Array.isArray(a)||a===null||!u)return a;const d=Object.assign({},a);return Object.keys(d).forEach(g=>{g===u&&p(d[g],g)?delete d[g]:d[g]=Ou(d[g],u,p)}),d}function vr(a){if(typeof a=="string")return a;if(a&&a.toJS&&(a=a.toJS()),typeof a=="object"&&a!==null)try{return JSON.stringify(a,null,2)}catch{return String(a)}return a==null?"":a.toString()}function Bs(a,{returnAll:u=!1,allowHashes:p=!0}={}){if(!L.default.Map.isMap(a))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input");const d=a.get("name"),g=a.get("in");let E=[];return a&&a.hashCode&&g&&d&&p&&E.push(`${g}.${d}.hash-${a.hashCode()}`),g&&d&&E.push(`${g}.${d}`),E.push(d),u?E:E[0]||""}function ha(a,u){return Bs(a,{returnAll:!0}).map(p=>u[p]).filter(p=>p!==void 0)[0]}function ma(a){return a.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}const pl=a=>!a||!(!yt(a)||!a.isEmpty()),Co=a=>a;class kn{constructor(u={}){Q()(this,{state:{},plugins:[],pluginsOptions:{},system:{configs:{},fn:{},components:{},rootInjects:{},statePlugins:{}},boundSystem:{},toolbox:{}},u),this.getSystem=this._getSystem.bind(this),this.store=function(d,g,E){return function(k,N,D){let F=[Xr(D)];const W=We.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||ce.compose;return(0,ce.createStore)(k,N,W((0,ce.applyMiddleware)(...F)))}(d,g,E)}(Co,(0,L.fromJS)(this.state),this.getSystem),this.buildSystem(!1),this.register(this.plugins)}getStore(){return this.store}register(u,p=!0){var d=Us(u,this.getSystem(),this.pluginsOptions);dl(this.system,d),p&&this.buildSystem(),oi.call(this.system,u,this.getSystem())&&this.buildSystem()}buildSystem(u=!0){let p=this.getStore().dispatch,d=this.getStore().getState;this.boundSystem=Object.assign({},this.getRootInjects(),this.getWrappedAndBoundActions(p),this.getWrappedAndBoundSelectors(d,this.getSystem),this.getStateThunks(d),this.getFn(),this.getConfigs()),u&&this.rebuildReducer()}_getSystem(){return this.boundSystem}getRootInjects(){return Object.assign({getSystem:this.getSystem,getStore:this.getStore.bind(this),getComponents:this.getComponents.bind(this),getState:this.getStore().getState,getConfigs:this._getConfigs.bind(this),Im:L.default,React:f.default},this.system.rootInjects||{})}_getConfigs(){return this.system.configs}getConfigs(){return{configs:this.system.configs}}setConfigs(u){this.system.configs=u}rebuildReducer(){this.store.replaceReducer(function(p){return function(g){let E=Object.keys(g).reduce((O,k)=>(O[k]=function(D){return(F=new L.Map,W)=>{if(!D)return F;let G=D[W.type];if(G){const H=Vs(G)(F,W);return H===null?F:H}return F}}(g[k]),O),{});return Object.keys(E).length?(0,Fe.combineReducers)(E):Co}(zt(p,d=>d.reducers))}(this.system.statePlugins))}getType(u){let p=u[0].toUpperCase()+u.slice(1);return si(this.system.statePlugins,(d,g)=>{let E=d[u];if(E)return{[g+p]:E}})}getSelectors(){return this.getType("selectors")}getActions(){return zt(this.getType("actions"),u=>si(u,(p,d)=>{if(ut(p))return{[d]:p}}))}getWrappedAndBoundActions(u){return zt(this.getBoundActions(u),(p,d)=>{let g=this.system.statePlugins[d.slice(0,-7)].wrapActions;return g?zt(p,(E,O)=>{let k=g[O];return k?(Array.isArray(k)||(k=[k]),k.reduce((N,D)=>{let F=(...W)=>D(N,this.getSystem())(...W);if(!ut(F))throw new TypeError("wrapActions needs to return a function that returns a new function (ie the wrapped action)");return Vs(F)},E||Function.prototype)):E}):p})}getWrappedAndBoundSelectors(u,p){return zt(this.getBoundSelectors(u,p),(d,g)=>{let E=[g.slice(0,-9)],O=this.system.statePlugins[E].wrapSelectors;return O?zt(d,(k,N)=>{let D=O[N];return D?(Array.isArray(D)||(D=[D]),D.reduce((F,W)=>{let G=(...H)=>W(F,this.getSystem())(u().getIn(E),...H);if(!ut(G))throw new TypeError("wrapSelector needs to return a function that returns a new function (ie the wrapped action)");return G},k||Function.prototype)):k}):d})}getStates(u){return Object.keys(this.system.statePlugins).reduce((p,d)=>(p[d]=u.get(d),p),{})}getStateThunks(u){return Object.keys(this.system.statePlugins).reduce((p,d)=>(p[d]=()=>u().get(d),p),{})}getFn(){return{fn:this.system.fn}}getComponents(u){const p=this.system.components[u];return Array.isArray(p)?p.reduce((d,g)=>g(d,this.getSystem())):u!==void 0?this.system.components[u]:this.system.components}getBoundSelectors(u,p){return zt(this.getSelectors(),(d,g)=>{let E=[g.slice(0,-9)];return zt(d,O=>(...k)=>{let N=Vs(O).apply(null,[u().getIn(E),...k]);return typeof N=="function"&&(N=Vs(N)(p())),N})})}getBoundActions(u){u=u||this.getStore().dispatch;const p=this.getActions(),d=g=>typeof g!="function"?zt(g,E=>d(E)):(...E)=>{var O=null;try{O=g(...E)}catch(k){O={type:he,error:!0,payload:(0,Xe.serializeError)(k)}}finally{return O}};return zt(p,g=>(0,ce.bindActionCreators)(d(g),u))}getMapStateToProps(){return()=>Object.assign({},this.getSystem())}getMapDispatchToProps(u){return p=>Q()({},this.getWrappedAndBoundActions(p),this.getFn(),u)}}function Us(a,u,p){if(nt(a)&&!Lt(a))return(0,Ye.default)({},a);if(vt(a))return Us(a(u),u,p);if(Lt(a)){const d=p.pluginLoadType==="chain"?u.getComponents():{};return a.map(g=>Us(g,u,p)).reduce(dl,d)}return{}}function oi(a,u,{hasLoaded:p}={}){let d=p;return nt(a)&&!Lt(a)&&typeof a.afterLoad=="function"&&(d=!0,Vs(a.afterLoad).call(this,u)),vt(a)?oi.call(this,a(u),u,{hasLoaded:d}):Lt(a)?a.map(g=>oi.call(this,g,u,{hasLoaded:d})):d}function dl(a={},u={}){if(!nt(a))return{};if(!nt(u))return a;u.wrapComponents&&(zt(u.wrapComponents,(d,g)=>{const E=a.components&&a.components[g];E&&Array.isArray(E)?(a.components[g]=E.concat([d]),delete u.wrapComponents[g]):E&&(a.components[g]=[E,d],delete u.wrapComponents[g])}),Object.keys(u.wrapComponents).length||delete u.wrapComponents);const{statePlugins:p}=a;if(nt(p))for(let d in p){const g=p[d];if(!nt(g))continue;const{wrapActions:E,wrapSelectors:O}=g;if(nt(E))for(let k in E){let N=E[k];Array.isArray(N)||(N=[N],E[k]=N),u&&u.statePlugins&&u.statePlugins[d]&&u.statePlugins[d].wrapActions&&u.statePlugins[d].wrapActions[k]&&(u.statePlugins[d].wrapActions[k]=E[k].concat(u.statePlugins[d].wrapActions[k]))}if(nt(O))for(let k in O){let N=O[k];Array.isArray(N)||(N=[N],O[k]=N),u&&u.statePlugins&&u.statePlugins[d]&&u.statePlugins[d].wrapSelectors&&u.statePlugins[d].wrapSelectors[k]&&(u.statePlugins[d].wrapSelectors[k]=O[k].concat(u.statePlugins[d].wrapSelectors[k]))}}return Q()(a,u)}function Vs(a,{logErrors:u=!0}={}){return typeof a!="function"?a:function(...p){try{return a.call(this,...p)}catch(d){return u&&console.error(d),null}}}var Ss=function(a){var u={};return Ce.d(u,a),u}({default:function(){return Sse}});const ht="show_popup",oe="authorize",Ne="logout",ft="pre_authorize_oauth2",Xt="authorize_oauth2",St="validate",_r="configure_auth",kr="restore_authorization";function Un(a){return{type:ht,payload:a}}function ai(a){return{type:oe,payload:a}}const xr=a=>({authActions:u})=>{u.authorize(a),u.persistAuthorizationIfNeeded()};function ga(a){return{type:Ne,payload:a}}const ya=a=>({authActions:u})=>{u.logout(a),u.persistAuthorizationIfNeeded()},tm=a=>({authActions:u,errActions:p})=>{let{auth:d,token:g,isValid:E}=a,{schema:O,name:k}=d,N=O.get("flow");delete We.swaggerUIRedirectOauth2,N==="accessCode"||E||p.newAuthErr({authId:k,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),g.error?p.newAuthErr({authId:k,source:"auth",level:"error",message:JSON.stringify(g)}):u.authorizeOauth2WithPersistOption({auth:d,token:g})};function Tf(a){return{type:Xt,payload:a}}const rm=a=>({authActions:u})=>{u.authorizeOauth2(a),u.persistAuthorizationIfNeeded()},Ai=a=>({authActions:u})=>{let{schema:p,name:d,username:g,password:E,passwordType:O,clientId:k,clientSecret:N}=a,D={grant_type:"password",scope:a.scopes.join(" "),username:g,password:E},F={};switch(O){case"request-body":(function(G,H,ne){H&&Object.assign(G,{client_id:H}),ne&&Object.assign(G,{client_secret:ne})})(D,k,N);break;case"basic":F.Authorization="Basic "+ur(k+":"+N);break;default:console.warn(`Warning: invalid passwordType ${O} was passed, not including client id and secret`)}return u.authorizeRequest({body:Fs(D),url:p.get("tokenUrl"),name:d,headers:F,query:{},auth:a})},nm=a=>({authActions:u})=>{let{schema:p,scopes:d,name:g,clientId:E,clientSecret:O}=a,k={Authorization:"Basic "+ur(E+":"+O)},N={grant_type:"client_credentials",scope:d.join(" ")};return u.authorizeRequest({body:Fs(N),name:g,url:p.get("tokenUrl"),auth:a,headers:k})},Pf=({auth:a,redirectUrl:u})=>({authActions:p})=>{let{schema:d,name:g,clientId:E,clientSecret:O,codeVerifier:k}=a,N={grant_type:"authorization_code",code:a.code,client_id:E,client_secret:O,redirect_uri:u,code_verifier:k};return p.authorizeRequest({body:Fs(N),name:g,url:d.get("tokenUrl"),auth:a})},im=({auth:a,redirectUrl:u})=>({authActions:p})=>{let{schema:d,name:g,clientId:E,clientSecret:O,codeVerifier:k}=a,N={Authorization:"Basic "+ur(E+":"+O)},D={grant_type:"authorization_code",code:a.code,client_id:E,redirect_uri:u,code_verifier:k};return p.authorizeRequest({body:Fs(D),name:g,url:d.get("tokenUrl"),auth:a,headers:N})},Rf=a=>({fn:u,getConfigs:p,authActions:d,errActions:g,oas3Selectors:E,specSelectors:O,authSelectors:k})=>{let N,{body:D,query:F={},headers:W={},name:G,url:H,auth:ne}=a,{additionalQueryStringParams:le}=k.getConfigs()||{};if(O.isOAS3()){let Oe=E.serverEffectiveValue(E.selectedServer());N=(0,Ss.default)(H,Oe,!0)}else N=(0,Ss.default)(H,O.url(),!0);typeof le=="object"&&(N.query=Object.assign({},N.query,le));const ae=N.toString();let Re=Object.assign({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},W);u.fetch({url:ae,method:"post",headers:Re,query:F,body:D,requestInterceptor:p().requestInterceptor,responseInterceptor:p().responseInterceptor}).then(function(Oe){let Me=JSON.parse(Oe.data),ve=Me&&(Me.error||""),Se=Me&&(Me.parseError||"");Oe.ok?ve||Se?g.newAuthErr({authId:G,level:"error",source:"auth",message:JSON.stringify(Me)}):d.authorizeOauth2WithPersistOption({auth:ne,token:Me}):g.newAuthErr({authId:G,level:"error",source:"auth",message:Oe.statusText})}).catch(Oe=>{let Me=new Error(Oe).message;if(Oe.response&&Oe.response.data){const ve=Oe.response.data;try{const Se=typeof ve=="string"?JSON.parse(ve):ve;Se.error&&(Me+=`, error: ${Se.error}`),Se.error_description&&(Me+=`, description: ${Se.error_description}`)}catch{}}g.newAuthErr({authId:G,level:"error",source:"auth",message:Me})})};function pb(a){return{type:_r,payload:a}}function db(a){return{type:kr,payload:a}}const hb=()=>({authSelectors:a,getConfigs:u})=>{if(!u().persistAuthorization)return;const p=a.authorized().toJS();localStorage.setItem("authorized",JSON.stringify(p))},Cu=(a,u)=>()=>{We.swaggerUIRedirectOauth2=u,We.open(a)};var sm={[ht]:(a,{payload:u})=>a.set("showDefinitions",u),[oe]:(a,{payload:u})=>{let p=(0,L.fromJS)(u),d=a.get("authorized")||(0,L.Map)();return p.entrySeq().forEach(([g,E])=>{if(!vt(E.getIn))return a.set("authorized",d);let O=E.getIn(["schema","type"]);if(O==="apiKey"||O==="http")d=d.set(g,E);else if(O==="basic"){let k=E.getIn(["value","username"]),N=E.getIn(["value","password"]);d=d.setIn([g,"value"],{username:k,header:"Basic "+ur(k+":"+N)}),d=d.setIn([g,"schema"],E.get("schema"))}}),a.set("authorized",d)},[Xt]:(a,{payload:u})=>{let p,{auth:d,token:g}=u;d.token=Object.assign({},g),p=(0,L.fromJS)(d);let E=a.get("authorized")||(0,L.Map)();return E=E.set(p.get("name"),p),a.set("authorized",E)},[Ne]:(a,{payload:u})=>{let p=a.get("authorized").withMutations(d=>{u.forEach(g=>{d.delete(g)})});return a.set("authorized",p)},[_r]:(a,{payload:u})=>a.set("configs",u),[kr]:(a,{payload:u})=>a.set("authorized",(0,L.fromJS)(u.authorized))},wt=function(a){var u={};return Ce.d(u,a),u}({createSelector:function(){return OD}});const hl=a=>a,om=(0,wt.createSelector)(hl,a=>a.get("showDefinitions")),am=(0,wt.createSelector)(hl,()=>({specSelectors:a})=>{let u=a.securityDefinitions()||(0,L.Map)({}),p=(0,L.List)();return u.entrySeq().forEach(([d,g])=>{let E=(0,L.Map)();E=E.set(d,g),p=p.push(E)}),p}),lm=(a,u)=>({specSelectors:p})=>{console.warn("WARNING: getDefinitionsByNames is deprecated and will be removed in the next major version.");let d=p.securityDefinitions(),g=(0,L.List)();return u.valueSeq().forEach(E=>{let O=(0,L.Map)();E.entrySeq().forEach(([k,N])=>{let D,F=d.get(k);F.get("type")==="oauth2"&&N.size&&(D=F.get("scopes"),D.keySeq().forEach(W=>{N.contains(W)||(D=D.delete(W))}),F=F.set("allowedScopes",D)),O=O.set(k,F)}),g=g.push(O)}),g},mb=(a,u=(0,L.List)())=>({authSelectors:p})=>{const d=p.definitionsToAuthorize()||(0,L.List)();let g=(0,L.List)();return d.forEach(E=>{let O=u.find(k=>k.get(E.keySeq().first()));O&&(E.forEach((k,N)=>{if(k.get("type")==="oauth2"){const D=O.get(N);let F=k.get("scopes");L.List.isList(D)&&L.Map.isMap(F)&&(F.keySeq().forEach(W=>{D.contains(W)||(F=F.delete(W))}),E=E.set(N,k.set("scopes",F)))}}),g=g.push(E))}),g},gb=(0,wt.createSelector)(hl,a=>a.get("authorized")||(0,L.Map)()),yb=(a,u)=>({authSelectors:p})=>{let d=p.authorized();return L.List.isList(u)?!!u.toJS().filter(g=>Object.keys(g).map(E=>!!d.get(E)).indexOf(!1)===-1).length:null},vb=(0,wt.createSelector)(hl,a=>a.get("configs")),bb=(a,{authSelectors:u,specSelectors:p})=>({path:d,method:g,operation:E,extras:O})=>{let k={authorized:u.authorized()&&u.authorized().toJS(),definitions:p.securityDefinitions()&&p.securityDefinitions().toJS(),specSecurity:p.security()&&p.security().toJS()};return a({path:d,method:g,operation:E,securities:k,...O})},br=(a,u)=>p=>{const{getConfigs:d,authActions:g}=u,E=d();if(a(p),E.persistAuthorization){const O=localStorage.getItem("authorized");O&&g.restoreAuthorization({authorized:JSON.parse(O)})}},um=(a,u)=>p=>{if(a(p),u.getConfigs().persistAuthorization)try{const[{schema:d,value:g}]=Object.values(p),E=d.get("type")==="apiKey",O=d.get("in")==="cookie";E&&O&&(document.cookie=`${d.get("name")}=${g}; SameSite=None; Secure`)}catch(d){console.error("Error persisting cookie based apiKey in document.cookie.",d)}},cm=(a,u)=>p=>{const d=u.getConfigs(),g=u.authSelectors.authorized();try{d.persistAuthorization&&Array.isArray(p)&&p.forEach(E=>{const O=g.get(E,{}),k=O.getIn(["schema","type"])==="apiKey",N=O.getIn(["schema","in"])==="cookie";if(k&&N){const D=O.getIn(["schema","name"]);document.cookie=`${D}=; Max-Age=-99999999`}})}catch(E){console.error("Error deleting cookie based apiKey from document.cookie.",E)}a(p)};var sr=function(a){var u={};return Ce.d(u,a),u}({default:function(){return Dse}}),zi=function(a){var u={};return Ce.d(u,a),u}({default:function(){return Jle}});class ml extends f.default.Component{mapStateToProps(u,p){return{state:u,ownProps:(0,zi.default)(p,Object.keys(p.getSystem()))}}render(){const{getComponent:u,ownProps:p}=this.props,d=u("LockIcon");return f.default.createElement(d,p)}}var If=ml;class gl extends f.default.Component{mapStateToProps(u,p){return{state:u,ownProps:(0,zi.default)(p,Object.keys(p.getSystem()))}}render(){const{getComponent:u,ownProps:p}=this.props,d=u("UnlockIcon");return f.default.createElement(d,p)}}var Nf=gl;function $u(){return{afterLoad(a){this.rootInjects=this.rootInjects||{},this.rootInjects.initOAuth=a.authActions.configureAuth,this.rootInjects.preauthorizeApiKey=jf.bind(null,a),this.rootInjects.preauthorizeBasic=Eb.bind(null,a)},components:{LockAuthIcon:If,UnlockAuthIcon:Nf,LockAuthOperationIcon:If,UnlockAuthOperationIcon:Nf},statePlugins:{auth:{reducers:sm,actions:t,selectors:r,wrapActions:{authorize:um,logout:cm}},configs:{wrapActions:{loaded:br}},spec:{wrapActions:{execute:bb}}}}}function Eb(a,u,p,d){const{authActions:{authorize:g},specSelectors:{specJson:E,isOAS3:O}}=a,k=O()?["components","securitySchemes"]:["securityDefinitions"],N=E().getIn([...k,u]);return N?g({[u]:{value:{username:p,password:d},schema:N.toJS()}}):null}function jf(a,u,p){const{authActions:{authorize:d},specSelectors:{specJson:g,isOAS3:E}}=a,O=E()?["components","securitySchemes"]:["securityDefinitions"],k=g().getIn([...O,u]);return k?d({[u]:{value:p,schema:k.toJS()}}):null}var Tn=function(a){var u={};return Ce.d(u,a),u}({JSON_SCHEMA:function(){return ld},default:function(){return tu}});const Mf=(a,u)=>{try{return Tn.default.load(a)}catch(p){return u&&u.errActions.newThrownErr(new Error(p)),{}}},qi="configs_update",va="configs_toggle";function yl(a,u){return{type:qi,payload:{[a]:u}}}function Dr(a){return{type:va,payload:a}}const fm=()=>()=>{},Df=a=>u=>{const{fn:{fetch:p}}=u;return p(a)},pm=(a,u)=>({specActions:p})=>{if(a)return p.downloadConfig(a).then(d,d);function d(g){g instanceof Error||g.status>=400?(p.updateLoadingStatus("failedConfig"),p.updateLoadingStatus("failedConfig"),p.updateUrl(""),console.error(g.statusText+" "+a.url),u(null)):u(Mf(g.text))}},ku=(a,u)=>a.getIn(Array.isArray(u)?u:[u]);var dm={[qi]:(a,u)=>a.merge((0,L.fromJS)(u.payload)),[va]:(a,u)=>{const p=u.payload,d=a.get(p);return a.set(p,!d)}};const li={getLocalConfig:()=>Mf(`--- +url: "https://petstore.swagger.io/v2/swagger.json" +dom_id: "#swagger-ui" +validatorUrl: "https://validator.swagger.io/validator" +`)};function $o(){return{statePlugins:{spec:{actions:i,selectors:li},configs:{reducers:dm,actions:n,selectors:s}}}}const zs=a=>a?history.pushState(null,null,`#${a}`):window.location.hash="";var ba=function(a){var u={};return Ce.d(u,a),u}({default:function(){return hfe}});const Ff="layout_scroll_to",Lf="layout_clear_scroll";var Bf={fn:{getScrollParent:function(u,p){const d=document.documentElement;let g=getComputedStyle(u);const E=g.position==="absolute",O=p?/(auto|scroll|hidden)/:/(auto|scroll)/;if(g.position==="fixed")return d;for(let k=u;k=k.parentElement;)if(g=getComputedStyle(k),(!E||g.position!=="static")&&O.test(g.overflow+g.overflowY+g.overflowX))return k;return d}},statePlugins:{layout:{actions:{scrollToElement:(a,u)=>p=>{try{u=u||p.fn.getScrollParent(a),ba.default.createScroller(u).to(a)}catch(d){console.error(d)}},scrollTo:a=>({type:Ff,payload:Array.isArray(a)?a:[a]}),clearScrollTo:()=>({type:Lf}),readyToScroll:(a,u)=>p=>{const d=p.layoutSelectors.getScrollToKey();L.default.is(d,(0,L.fromJS)(a))&&(p.layoutActions.scrollToElement(u),p.layoutActions.clearScrollTo())},parseDeepLinkHash:a=>({layoutActions:u,layoutSelectors:p,getConfigs:d})=>{if(d().deepLinking&&a){let g=a.slice(1);g[0]==="!"&&(g=g.slice(1)),g[0]==="/"&&(g=g.slice(1));const E=g.split("/").map(F=>F||""),O=p.isShownKeyFromUrlHashArray(E),[k,N="",D=""]=O;if(k==="operations"){const F=p.isShownKeyFromUrlHashArray([N]);N.indexOf("_")>-1&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),u.show(F.map(W=>W.replace(/_/g," ")),!0)),u.show(F,!0)}(N.indexOf("_")>-1||D.indexOf("_")>-1)&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),u.show(O.map(F=>F.replace(/_/g," ")),!0)),u.show(O,!0),u.scrollTo(O)}}},selectors:{getScrollToKey:a=>a.get("scrollToKey"),isShownKeyFromUrlHashArray(a,u){const[p,d]=u;return d?["operations",p,d]:p?["operations-tag",p]:[]},urlHashArrayFromIsShownKey(a,u){let[p,d,g]=u;return p=="operations"?[d,g]:p=="operations-tag"?[d]:[]}},reducers:{[Ff]:(a,u)=>a.set("scrollToKey",L.default.fromJS(u.payload)),[Lf]:a=>a.delete("scrollToKey")},wrapActions:{show:(a,{getConfigs:u,layoutSelectors:p})=>(...d)=>{if(a(...d),u().deepLinking)try{let[g,E]=d;g=Array.isArray(g)?g:[g];const O=p.urlHashArrayFromIsShownKey(g);if(!O.length)return;const[k,N]=O;if(!E)return zs("/");O.length===2?zs(xi(`/${encodeURIComponent(k)}/${encodeURIComponent(N)}`)):O.length===1&&zs(xi(`/${encodeURIComponent(k)}`))}catch(g){console.error(g)}}}}}},Uf=function(a){var u={};return Ce.d(u,a),u}({default:function(){return Efe}}),Sb=(a,u)=>class extends f.default.Component{constructor(){super(...arguments);ie(this,"onLoad",g=>{const{operation:E}=this.props,{tag:O,operationId:k}=E.toObject();let{isShownKey:N}=E.toObject();N=N||["operations",O,k],u.layoutActions.readyToScroll(N,g)})}render(){return f.default.createElement("span",{ref:this.onLoad},f.default.createElement(a,this.props))}},wb=(a,u)=>class extends f.default.Component{constructor(){super(...arguments);ie(this,"onLoad",g=>{const{tag:E}=this.props,O=["operations-tag",E];u.layoutActions.readyToScroll(O,g)})}render(){return f.default.createElement("span",{ref:this.onLoad},f.default.createElement(a,this.props))}};function Tu(){return[Bf,{statePlugins:{configs:{wrapActions:{loaded:(a,u)=>(...p)=>{a(...p);const d=decodeURIComponent(window.location.hash);u.layoutActions.parseDeepLinkHash(d)}}}},wrapComponents:{operation:Sb,OperationTag:wb}}]}var _b=function(a){var u={};return Ce.d(u,a),u}({default:function(){return Tfe}});function hm(a){return a.map(u=>{let p="is not of a type(s)",d=u.get("message").indexOf(p);if(d>-1){let g=u.get("message").slice(d+19).split(",");return u.set("message",u.get("message").slice(0,d)+function(O){return O.reduce((k,N,D,F)=>D===F.length-1&&F.length>1?k+"or "+N:F[D+1]&&F.length>2?k+N+", ":F[D+1]?k+N+" ":k+N,"should be a")}(g))}return u})}var Wi=function(a){var u={};return Ce.d(u,a),u}({default:function(){return dne}});function mm(a,{jsSpec:u}){return a}const xb=[o,l];function vl(a){let u={jsSpec:{}};return(0,_b.default)(xb,(d,g)=>{try{return g.transform(d,u).filter(E=>!!E)}catch(E){return console.error("Transformer error:",E),d}},a).filter(d=>!!d).map(d=>(!d.get("line")&&d.get("path"),d))}let qs={line:0,level:"error",message:"Unknown error"};const bl=(0,wt.createSelector)(a=>a,a=>a.get("errors",(0,L.List)())),gm=(0,wt.createSelector)(bl,a=>a.last());function Pu(a){return{statePlugins:{err:{reducers:{[he]:(u,{payload:p})=>{let d=Object.assign(qs,p,{type:"thrown"});return u.update("errors",g=>(g||(0,L.List)()).push((0,L.fromJS)(d))).update("errors",g=>vl(g))},[de]:(u,{payload:p})=>(p=p.map(d=>(0,L.fromJS)(Object.assign(qs,d,{type:"thrown"}))),u.update("errors",d=>(d||(0,L.List)()).concat((0,L.fromJS)(p))).update("errors",d=>vl(d))),[ge]:(u,{payload:p})=>{let d=(0,L.fromJS)(p);return d=d.set("type","spec"),u.update("errors",g=>(g||(0,L.List)()).push((0,L.fromJS)(d)).sortBy(E=>E.get("line"))).update("errors",g=>vl(g))},[pe]:(u,{payload:p})=>(p=p.map(d=>(0,L.fromJS)(Object.assign(qs,d,{type:"spec"}))),u.update("errors",d=>(d||(0,L.List)()).concat((0,L.fromJS)(p))).update("errors",d=>vl(d))),[be]:(u,{payload:p})=>{let d=(0,L.fromJS)(Object.assign({},p));return d=d.set("type","auth"),u.update("errors",g=>(g||(0,L.List)()).push((0,L.fromJS)(d))).update("errors",g=>vl(g))},[ye]:(u,{payload:p})=>{if(!p||!u.get("errors"))return u;let d=u.get("errors").filter(g=>g.keySeq().every(E=>{const O=g.get(E),k=p[E];return!k||O!==k}));return u.merge({errors:d})},[Le]:(u,{payload:p})=>{if(!p||typeof p!="function")return u;let d=u.get("errors").filter(g=>p(g));return u.merge({errors:d})}},actions:e,selectors:c}}}}function cr(a,u){return a.filter((p,d)=>d.indexOf(u)!==-1)}function Vf(){return{fn:{opsFilter:cr}}}var Kt=function(a){var u={};return Ce.d(u,a),u}({default:function(){return e_}}),ym=({className:a=null,width:u=20,height:p=20,...d})=>f.default.createElement("svg",(0,Kt.default)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:a,width:u,height:p,"aria-hidden":"true",focusable:"false"},d),f.default.createElement("path",{d:"M 17.418 14.908 C 17.69 15.176 18.127 15.176 18.397 14.908 C 18.667 14.64 18.668 14.207 18.397 13.939 L 10.489 6.109 C 10.219 5.841 9.782 5.841 9.51 6.109 L 1.602 13.939 C 1.332 14.207 1.332 14.64 1.602 14.908 C 1.873 15.176 2.311 15.176 2.581 14.908 L 10 7.767 L 17.418 14.908 Z"})),Ki=({className:a=null,width:u=20,height:p=20,...d})=>f.default.createElement("svg",(0,Kt.default)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:a,width:u,height:p,"aria-hidden":"true",focusable:"false"},d),f.default.createElement("path",{d:"M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"})),zf=({className:a=null,width:u=20,height:p=20,...d})=>f.default.createElement("svg",(0,Kt.default)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:a,width:u,height:p,"aria-hidden":"true",focusable:"false"},d),f.default.createElement("path",{d:"M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"})),vm=({className:a=null,width:u=20,height:p=20,...d})=>f.default.createElement("svg",(0,Kt.default)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:a,width:u,height:p,"aria-hidden":"true",focusable:"false"},d),f.default.createElement("path",{d:"M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z"})),bm=({className:a=null,width:u=15,height:p=16,...d})=>f.default.createElement("svg",(0,Kt.default)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 16",className:a,width:u,height:p,"aria-hidden":"true",focusable:"false"},d),f.default.createElement("g",{transform:"translate(2, -1)"},f.default.createElement("path",{fill:"#ffffff",fillRule:"evenodd",d:"M2 13h4v1H2v-1zm5-6H2v1h5V7zm2 3V8l-3 3 3 3v-2h5v-2H9zM4.5 9H2v1h2.5V9zM2 12h2.5v-1H2v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V6H1v9h10v-2zM2 5h8c0-.55-.45-1-1-1H8c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H3c-.55 0-1 .45-1 1z"}))),Vn=({className:a=null,width:u=20,height:p=20,...d})=>f.default.createElement("svg",(0,Kt.default)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:a,width:u,height:p,"aria-hidden":"true",focusable:"false"},d),f.default.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"})),rn=({className:a=null,width:u=20,height:p=20,...d})=>f.default.createElement("svg",(0,Kt.default)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:a,width:u,height:p,"aria-hidden":"true",focusable:"false"},d),f.default.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"})),El=()=>({components:{ArrowUpIcon:ym,ArrowDownIcon:Ki,ArrowIcon:zf,CloseIcon:vm,CopyIcon:bm,LockIcon:Vn,UnlockIcon:rn}});const Ru="layout_update_layout",qf="layout_update_filter",Wf="layout_update_mode",dr="layout_show";function Kf(a){return{type:Ru,payload:a}}function Em(a){return{type:qf,payload:a}}function zn(a,u=!0){return a=At(a),{type:dr,payload:{thing:a,shown:u}}}function Hf(a,u=""){return a=At(a),{type:Wf,payload:{thing:a,mode:u}}}var Sm={[Ru]:(a,u)=>a.set("layout",u.payload),[qf]:(a,u)=>a.set("filter",u.payload),[dr]:(a,u)=>{const p=u.payload.shown,d=(0,L.fromJS)(u.payload.thing);return a.update("shown",(0,L.fromJS)({}),g=>g.set(d,p))},[Wf]:(a,u)=>{let p=u.payload.thing,d=u.payload.mode;return a.setIn(["modes"].concat(p),(d||"")+"")}};const wm=a=>a.get("layout"),Jf=a=>a.get("filter"),Oi=(a,u,p)=>(u=At(u),a.get("shown",(0,L.fromJS)({})).get((0,L.fromJS)(u),p)),_m=(a,u,p="")=>(u=At(u),a.getIn(["modes",...u],p)),Iu=(0,wt.createSelector)(a=>a,a=>!Oi(a,"editor")),xm=(a,u)=>(p,...d)=>{let g=a(p,...d);const{fn:E,layoutSelectors:O,getConfigs:k}=u.getSystem(),N=k(),{maxDisplayedTags:D}=N;let F=O.currentFilter();return F&&F!==!0&&F!=="true"&&F!=="false"&&(g=E.opsFilter(g,F)),D&&!isNaN(D)&&D>=0&&(g=g.slice(0,D)),g};function Gf(){return{statePlugins:{layout:{reducers:Sm,actions:h,selectors:v},spec:{wrapSelectors:y}}}}function Nu({configs:a}){const u={debug:0,info:1,log:2,warn:3,error:4},p=O=>u[O]||-1;let{logLevel:d}=a,g=p(d);function E(O,...k){p(O)>=g&&console[O](...k)}return E.warn=E.bind(null,"warn"),E.error=E.bind(null,"error"),E.info=E.bind(null,"info"),E.debug=E.bind(null,"debug"),{rootInjects:{log:E}}}let Nr=!1;function Yf(){return{statePlugins:{spec:{wrapActions:{updateSpec:a=>(...u)=>(Nr=!0,a(...u)),updateJsonSpec:(a,u)=>(...p)=>{const d=u.getConfigs().onComplete;return Nr&&typeof d=="function"&&(setTimeout(d,0),Nr=!1),a(...p)}}}}}}const Xf=a=>{const u="_**[]";return a.indexOf(u)<0?a:a.split(u)[0].trim()},Ea=a=>a==="-d "||/^[_\/-]/g.test(a)?a:"'"+a.replace(/'/g,"'\\''")+"'",Sl=a=>(a=a.replace(/\^/g,"^^").replace(/\\"/g,'\\\\"').replace(/"/g,'""').replace(/\n/g,`^ +`))==="-d "?a.replace(/-d /g,`-d ^ +`):/^[_\/-]/g.test(a)?a:'"'+a+'"',Am=a=>a==="-d "?a:/\n/.test(a)?`@" +`+a.replace(/"/g,'\\"').replace(/`/g,"``").replace(/\$/,"`$")+` +"@`:/^[_\/-]/g.test(a)?a:"'"+a.replace(/"/g,'""').replace(/'/g,"''")+"'",wl=(a,u,p,d="")=>{let g=!1,E="";const O=(...G)=>E+=" "+G.map(u).join(" "),k=(...G)=>E+=G.map(u).join(" "),N=()=>E+=` ${p}`,D=(G=1)=>E+=" ".repeat(G);let F=a.get("headers");if(E+="curl"+d,a.has("curlOptions")&&O(...a.get("curlOptions")),O("-X",a.get("method")),N(),D(),k(`${a.get("url")}`),F&&F.size)for(let G of a.get("headers").entries()){N(),D();let[H,ne]=G;k("-H",`${H}: ${ne}`),g=g||/^content-type$/i.test(H)&&/^multipart\/form-data$/i.test(ne)}const W=a.get("body");if(W)if(g&&["POST","PUT","PATCH"].includes(a.get("method")))for(let[G,H]of W.entrySeq()){let ne=Xf(G);N(),D(),k("-F"),H instanceof We.File&&typeof H.valueOf()=="string"?O(`${ne}=${H.data}${H.type?`;type=${H.type}`:""}`):H instanceof We.File?O(`${ne}=@${H.name}${H.type?`;type=${H.type}`:""}`):O(`${ne}=${H}`)}else if(W instanceof We.File)N(),D(),k(`--data-binary '@${W.name}'`);else{N(),D(),k("-d ");let G=W;L.Map.isMap(G)?k(function(ne){let le=[];for(let[ae,Re]of ne.get("body").entrySeq()){let Oe=Xf(ae);Re instanceof We.File?le.push(` "${Oe}": { + "name": "${Re.name}"${Re.type?`, + "type": "${Re.type}"`:""} + }`):le.push(` "${Oe}": ${JSON.stringify(Re,null,2).replace(/(\r\n|\r|\n)/g,` + `)}`)}return`{ +${le.join(`, +`)} +}`}(a)):(typeof G!="string"&&(G=JSON.stringify(G)),k(G))}else W||a.get("method")!=="POST"||(N(),D(),k("-d ''"));return E},Hi=a=>wl(a,Am,"`\n",".exe"),fn=a=>wl(a,Ea,`\\ +`),ju=a=>wl(a,Sl,`^ +`),Qf=a=>a||(0,L.Map)(),Om=(0,wt.createSelector)(Qf,a=>{const u=a.get("languages"),p=a.get("generators",(0,L.Map)());return!u||u.isEmpty()?p:p.filter((d,g)=>u.includes(g))}),Mu=a=>({fn:u})=>Om(a).map((p,d)=>{const g=(E=>u[`requestSnippetGenerator_${E}`])(d);return typeof g!="function"?null:p.set("fn",g)}).filter(p=>p),Cm=(0,wt.createSelector)(Qf,a=>a.get("activeLanguage")),$m=(0,wt.createSelector)(Qf,a=>a.get("defaultExpanded"));var Du=function(a){var u={};return Ce.d(u,a),u}({CopyToClipboard:function(){return pme.CopyToClipboard}}),ui=function(a){var u={};return Ce.d(u,a),u}({default:function(){return qge}}),km=function(a){var u={};return Ce.d(u,a),u}({default:function(){return tye}}),Ab=function(a){var u={};return Ce.d(u,a),u}({default:function(){return iye}}),Tm=function(a){var u={};return Ce.d(u,a),u}({default:function(){return uye}}),Ob=function(a){var u={};return Ce.d(u,a),u}({default:function(){return hye}}),m=function(a){var u={};return Ce.d(u,a),u}({default:function(){return yye}}),w=function(a){var u={};return Ce.d(u,a),u}({default:function(){return wye}}),R=function(a){var u={};return Ce.d(u,a),u}({default:function(){return Aye}}),M=function(a){var u={};return Ce.d(u,a),u}({default:function(){return Oye}}),B=function(a){var u={};return Ce.d(u,a),u}({default:function(){return Cye}}),X=function(a){var u={};return Ce.d(u,a),u}({default:function(){return $ye}}),re=function(a){var u={};return Ce.d(u,a),u}({default:function(){return kye}}),fe=function(a){var u={};return Ce.d(u,a),u}({default:function(){return Tye}}),ke=function(a){var u={};return Ce.d(u,a),u}({default:function(){return Pye}}),Ie=function(a){var u={};return Ce.d(u,a),u}({default:function(){return Rye}});ui.default.registerLanguage("json",Ab.default),ui.default.registerLanguage("js",km.default),ui.default.registerLanguage("xml",Tm.default),ui.default.registerLanguage("yaml",m.default),ui.default.registerLanguage("http",w.default),ui.default.registerLanguage("bash",Ob.default),ui.default.registerLanguage("powershell",R.default),ui.default.registerLanguage("javascript",km.default);const Be={agate:M.default,arta:B.default,monokai:X.default,nord:re.default,obsidian:fe.default,"tomorrow-night":ke.default,idea:Ie.default},ot=Object.keys(Be),ct=a=>ot.includes(a)?Be[a]:(console.warn(`Request style '${a}' is not available, returning default instead`),M.default),jt={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(250, 250, 250)",paddingBottom:"0",paddingTop:"0",border:"1px solid rgb(51, 51, 51)",borderRadius:"4px 4px 0 0",boxShadow:"none",borderBottom:"none"},Ut={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(51, 51, 51)",boxShadow:"none",border:"1px solid rgb(51, 51, 51)",paddingBottom:"0",paddingTop:"0",borderRadius:"4px 4px 0 0",marginTop:"-5px",marginRight:"-5px",marginLeft:"-5px",zIndex:"9999",borderBottom:"none"};var Ar=({request:a,requestSnippetsSelectors:u,getConfigs:p,getComponent:d})=>{var ve;const g=(0,Rt.default)(p)?p():null,E=(0,Wi.default)(g,"syntaxHighlight")!==!1&&(0,Wi.default)(g,"syntaxHighlight.activated",!0),O=(0,f.useRef)(null),k=d("ArrowUpIcon"),N=d("ArrowDownIcon"),[D,F]=(0,f.useState)((ve=u.getSnippetGenerators())==null?void 0:ve.keySeq().first()),[W,G]=(0,f.useState)(u==null?void 0:u.getDefaultExpanded());(0,f.useEffect)(()=>{},[]),(0,f.useEffect)(()=>{const Se=Array.from(O.current.childNodes).filter(Ue=>{var xe;return!!Ue.nodeType&&((xe=Ue.classList)==null?void 0:xe.contains("curl-command"))});return Se.forEach(Ue=>Ue.addEventListener("mousewheel",Oe,{passive:!1})),()=>{Se.forEach(Ue=>Ue.removeEventListener("mousewheel",Oe))}},[a]);const H=u.getSnippetGenerators(),ne=H.get(D),le=ne.get("fn")(a),ae=()=>{G(!W)},Re=Se=>Se===D?Ut:jt,Oe=Se=>{const{target:Ue,deltaY:xe}=Se,{scrollHeight:Te,offsetHeight:Pe,scrollTop:je}=Ue;Te>Pe&&(je===0&&xe<0||Pe+je>=Te&&xe>0)&&Se.preventDefault()},Me=E?f.default.createElement(ui.default,{language:ne.get("syntax"),className:"curl microlight",style:ct((0,Wi.default)(g,"syntaxHighlight.theme"))},le):f.default.createElement("textarea",{readOnly:!0,className:"curl",value:le});return f.default.createElement("div",{className:"request-snippets",ref:O},f.default.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"15px"}},f.default.createElement("h4",{onClick:()=>ae(),style:{cursor:"pointer"}},"Snippets"),f.default.createElement("button",{onClick:()=>ae(),style:{border:"none",background:"none"},title:W?"Collapse operation":"Expand operation"},W?f.default.createElement(N,{className:"arrow",width:"10",height:"10"}):f.default.createElement(k,{className:"arrow",width:"10",height:"10"}))),W&&f.default.createElement("div",{className:"curl-command"},f.default.createElement("div",{style:{paddingLeft:"15px",paddingRight:"10px",width:"100%",display:"flex"}},H.entrySeq().map(([Se,Ue])=>f.default.createElement("div",{style:Re(Se),className:"btn",key:Se,onClick:()=>(xe=>{D!==xe&&F(xe)})(Se)},f.default.createElement("h4",{style:Se===D?{color:"white"}:{}},Ue.get("title"))))),f.default.createElement("div",{className:"copy-to-clipboard"},f.default.createElement(Du.CopyToClipboard,{text:le},f.default.createElement("button",null))),f.default.createElement("div",null,Me)))},ci=()=>({components:{RequestSnippets:Ar},fn:S,statePlugins:{requestSnippets:{selectors:b}}}),Ji=Ce(123),_l=Ce.n(Ji),c$=function(a){var u={};return Ce.d(u,a),u}({default:function(){return Fye}}),Ws=function(a){var u={};return Ce.d(u,a),u}({default:function(){return Zye}});const Cb=a=>u=>Array.isArray(a)&&Array.isArray(u)&&a.length===u.length&&a.every((p,d)=>p===u[d]),FU=(...a)=>a;class LU extends Map{delete(u){const p=Array.from(this.keys()).find(Cb(u));return super.delete(p)}get(u){const p=Array.from(this.keys()).find(Cb(u));return super.get(p)}has(u){return Array.from(this.keys()).findIndex(Cb(u))!==-1}}var Zf=(a,u=FU)=>{const{Cache:p}=ze.default;ze.default.Cache=LU;const d=(0,ze.default)(a,u);return ze.default.Cache=p,d};const f$={string:a=>a.pattern?(u=>{try{return new c$.default(u).gen()}catch{return"string"}})(a.pattern):"string",string_email:()=>"user@example.com","string_date-time":()=>new Date().toISOString(),string_date:()=>new Date().toISOString().substring(0,10),string_uuid:()=>"3fa85f64-5717-4562-b3fc-2c963f66afa6",string_hostname:()=>"example.com",string_ipv4:()=>"198.51.100.42",string_ipv6:()=>"2001:0db8:5b96:0000:0000:426f:8e17:642a",number:()=>0,number_float:()=>0,integer:()=>0,boolean:a=>typeof a.default!="boolean"||a.default},p$=a=>{a=_t(a);let{type:u,format:p}=a,d=f$[`${u}_${p}`]||f$[u];return vt(d)?d(a):"Unknown Type: "+a.type},BU=a=>Ou(a,"$$ref",u=>typeof u=="string"&&u.indexOf("#")>-1),d$=["maxProperties","minProperties"],h$=["minItems","maxItems"],m$=["minimum","maximum","exclusiveMinimum","exclusiveMaximum"],UU=["minLength","maxLength"],Pm=(a,u,p={})=>{if(["example","default","enum","xml","type",...d$,...h$,...m$,...UU].forEach(d=>(g=>{u[g]===void 0&&a[g]!==void 0&&(u[g]=a[g])})(d)),a.required!==void 0&&Array.isArray(a.required)&&(u.required!==void 0&&u.required.length||(u.required=[]),a.required.forEach(d=>{u.required.includes(d)||u.required.push(d)})),a.properties){u.properties||(u.properties={});let d=_t(a.properties);for(let g in d)Object.prototype.hasOwnProperty.call(d,g)&&(d[g]&&d[g].deprecated||d[g]&&d[g].readOnly&&!p.includeReadOnly||d[g]&&d[g].writeOnly&&!p.includeWriteOnly||u.properties[g]||(u.properties[g]=d[g],!a.required&&Array.isArray(a.required)&&a.required.indexOf(g)!==-1&&(u.required?u.required.push(g):u.required=[g])))}return a.items&&(u.items||(u.items={}),u.items=Pm(a.items,u.items,p)),u},Gi=(a,u={},p=void 0,d=!1)=>{a&&vt(a.toJS)&&(a=a.toJS());let g=p!==void 0||a&&a.example!==void 0||a&&a.default!==void 0;const E=!g&&a&&a.oneOf&&a.oneOf.length>0,O=!g&&a&&a.anyOf&&a.anyOf.length>0;if(!g&&(E||O)){const we=_t(E?a.oneOf[0]:a.anyOf[0]);if(Pm(we,a,u),!a.xml&&we.xml&&(a.xml=we.xml),a.example!==void 0&&we.example!==void 0)g=!0;else if(we.properties){a.properties||(a.properties={});let Ve=_t(we.properties);for(let tt in Ve)Object.prototype.hasOwnProperty.call(Ve,tt)&&(Ve[tt]&&Ve[tt].deprecated||Ve[tt]&&Ve[tt].readOnly&&!u.includeReadOnly||Ve[tt]&&Ve[tt].writeOnly&&!u.includeWriteOnly||a.properties[tt]||(a.properties[tt]=Ve[tt],!we.required&&Array.isArray(we.required)&&we.required.indexOf(tt)!==-1&&(a.required?a.required.push(tt):a.required=[tt])))}}const k={};let{xml:N,type:D,example:F,properties:W,additionalProperties:G,items:H}=a||{},{includeReadOnly:ne,includeWriteOnly:le}=u;N=N||{};let ae,{name:Re,prefix:Oe,namespace:Me}=N,ve={};d&&(Re=Re||"notagname",ae=(Oe?Oe+":":"")+Re,Me)&&(k[Oe?"xmlns:"+Oe:"xmlns"]=Me),d&&(ve[ae]=[]);const Se=we=>we.some(Ve=>Object.prototype.hasOwnProperty.call(a,Ve));a&&!D&&(W||G||Se(d$)?D="object":H||Se(h$)?D="array":Se(m$)?(D="number",a.type="number"):g||a.enum||(D="string",a.type="string"));const Ue=we=>{if((a==null?void 0:a.maxItems)!=null&&(we=we.slice(0,a==null?void 0:a.maxItems)),(a==null?void 0:a.minItems)!=null){let Ve=0;for(;we.length<(a==null?void 0:a.minItems);)we.push(we[Ve++%we.length])}return we},xe=_t(W);let Te,Pe=0;const je=()=>a&&a.maxProperties!==null&&a.maxProperties!==void 0&&Pe>=a.maxProperties,Ze=we=>!a||a.maxProperties===null||a.maxProperties===void 0||!je()&&(!(Ve=>!(a&&a.required&&a.required.length&&a.required.includes(Ve)))(we)||a.maxProperties-Pe-(()=>{if(!a||!a.required)return 0;let Ve=0;return d?a.required.forEach(tt=>Ve+=ve[tt]===void 0?0:1):a.required.forEach(tt=>{var Mt;return Ve+=((Mt=ve[ae])==null?void 0:Mt.find(rr=>rr[tt]!==void 0))===void 0?0:1}),a.required.length-Ve})()>0);if(Te=d?(we,Ve=void 0)=>{if(a&&xe[we]){if(xe[we].xml=xe[we].xml||{},xe[we].xml.attribute){const Mt=Array.isArray(xe[we].enum)?xe[we].enum[0]:void 0,rr=xe[we].example,Jt=xe[we].default;return void(k[xe[we].xml.name||we]=rr!==void 0?rr:Jt!==void 0?Jt:Mt!==void 0?Mt:p$(xe[we]))}xe[we].xml.name=xe[we].xml.name||we}else xe[we]||G===!1||(xe[we]={xml:{name:we}});let tt=Gi(a&&xe[we]||void 0,u,Ve,d);Ze(we)&&(Pe++,Array.isArray(tt)?ve[ae]=ve[ae].concat(tt):ve[ae].push(tt))}:(we,Ve)=>{if(Ze(we)){if(Object.prototype.hasOwnProperty.call(a,"discriminator")&&a.discriminator&&Object.prototype.hasOwnProperty.call(a.discriminator,"mapping")&&a.discriminator.mapping&&Object.prototype.hasOwnProperty.call(a,"$$ref")&&a.$$ref&&a.discriminator.propertyName===we){for(let tt in a.discriminator.mapping)if(a.$$ref.search(a.discriminator.mapping[tt])!==-1){ve[we]=tt;break}}else ve[we]=Gi(xe[we],u,Ve,d);Pe++}},g){let we;if(we=BU(p!==void 0?p:F!==void 0?F:a.default),!d){if(typeof we=="number"&&D==="string")return`${we}`;if(typeof we!="string"||D==="string")return we;try{return JSON.parse(we)}catch{return we}}if(a||(D=Array.isArray(we)?"array":typeof we),D==="array"){if(!Array.isArray(we)){if(typeof we=="string")return we;we=[we]}const Ve=a?a.items:void 0;Ve&&(Ve.xml=Ve.xml||N||{},Ve.xml.name=Ve.xml.name||N.name);let tt=we.map(Mt=>Gi(Ve,u,Mt,d));return tt=Ue(tt),N.wrapped?(ve[ae]=tt,(0,Ws.default)(k)||ve[ae].push({_attr:k})):ve=tt,ve}if(D==="object"){if(typeof we=="string")return we;for(let Ve in we)Object.prototype.hasOwnProperty.call(we,Ve)&&(a&&xe[Ve]&&xe[Ve].readOnly&&!ne||a&&xe[Ve]&&xe[Ve].writeOnly&&!le||(a&&xe[Ve]&&xe[Ve].xml&&xe[Ve].xml.attribute?k[xe[Ve].xml.name||Ve]=we[Ve]:Te(Ve,we[Ve])));return(0,Ws.default)(k)||ve[ae].push({_attr:k}),ve}return ve[ae]=(0,Ws.default)(k)?we:[{_attr:k},we],ve}if(D==="object"){for(let we in xe)Object.prototype.hasOwnProperty.call(xe,we)&&(xe[we]&&xe[we].deprecated||xe[we]&&xe[we].readOnly&&!ne||xe[we]&&xe[we].writeOnly&&!le||Te(we));if(d&&k&&ve[ae].push({_attr:k}),je())return ve;if(G===!0)d?ve[ae].push({additionalProp:"Anything can be here"}):ve.additionalProp1={},Pe++;else if(G){const we=_t(G),Ve=Gi(we,u,void 0,d);if(d&&we.xml&&we.xml.name&&we.xml.name!=="notagname")ve[ae].push(Ve);else{const tt=a.minProperties!==null&&a.minProperties!==void 0&&PeGi(Pm(H,Ve,u),u,void 0,d));else if(Array.isArray(H.oneOf))we=H.oneOf.map(Ve=>Gi(Pm(H,Ve,u),u,void 0,d));else{if(!(!d||d&&N.wrapped))return Gi(H,u,void 0,d);we=[Gi(H,u,void 0,d)]}return we=Ue(we),d&&N.wrapped?(ve[ae]=we,(0,Ws.default)(k)||ve[ae].push({_attr:k}),ve):we}let it;if(a&&Array.isArray(a.enum))it=At(a.enum)[0];else{if(!a)return;if(it=p$(a),typeof it=="number"){let we=a.minimum;we!=null&&(a.exclusiveMinimum&&we++,it=we);let Ve=a.maximum;Ve!=null&&(a.exclusiveMaximum&&Ve--,it=Ve)}if(typeof it=="string"&&(a.maxLength!==null&&a.maxLength!==void 0&&(it=it.slice(0,a.maxLength)),a.minLength!==null&&a.minLength!==void 0)){let we=0;for(;it.length(a.schema&&(a=a.schema),a.properties&&(a.type="object"),a),$b=(a,u,p)=>{const d=Gi(a,u,p,!0);if(d)return typeof d=="string"?d:_l()(d,{declaration:!0,indent:" "})},kb=(a,u,p)=>Gi(a,u,p,!1),y$=(a,u,p)=>[a,JSON.stringify(u),JSON.stringify(p)],v$=Zf($b,y$),b$=Zf(kb,y$),VU=[{when:/json/,shouldStringifyTypes:["string"]}],zU=["object"];var qU=a=>(u,p,d,g)=>{const{fn:E}=a(),O=E.memoizedSampleFromSchema(u,p,g),k=typeof O,N=VU.reduce((D,F)=>F.when.test(d)?[...D,...F.shouldStringifyTypes]:D,zU);return(0,Pt.default)(N,D=>D===k)?JSON.stringify(O,null,2):O},WU=a=>(u,p,d,g)=>{const{fn:E}=a(),O=E.getJsonSampleSchema(u,p,d,g);let k;try{k=Tn.default.dump(Tn.default.load(O),{lineWidth:-1},{schema:Tn.JSON_SCHEMA}),k[k.length-1]===` +`&&(k=k.slice(0,k.length-1))}catch(N){return console.error(N),"error: could not generate yaml example"}return k.replace(/\t/g," ")},KU=a=>(u,p,d)=>{const{fn:g}=a();if(u&&!u.xml&&(u.xml={}),u&&!u.xml.name){if(!u.$$ref&&(u.type||u.items||u.properties||u.additionalProperties))return` +`;if(u.$$ref){let E=u.$$ref.match(/\S*\/(\S+)$/);u.xml.name=E[1]}}return g.memoizedCreateXMLExample(u,p,d)},HU=a=>(u,p="",d={},g=void 0)=>{const{fn:E}=a();return typeof(u==null?void 0:u.toJS)=="function"&&(u=u.toJS()),typeof(g==null?void 0:g.toJS)=="function"&&(g=g.toJS()),/xml/.test(p)?E.getXmlSampleSchema(u,d,g):/(yaml|yml)/.test(p)?E.getYamlSampleSchema(u,d,p,g):E.getJsonSampleSchema(u,d,p,g)},E$=({getSystem:a})=>{const u=qU(a),p=WU(a),d=KU(a),g=HU(a);return{fn:{jsonSchema5:{inferSchema:g$,sampleFromSchema:kb,sampleFromSchemaGeneric:Gi,createXMLExample:$b,memoizedSampleFromSchema:b$,memoizedCreateXMLExample:v$,getJsonSampleSchema:u,getYamlSampleSchema:p,getXmlSampleSchema:d,getSampleSchema:g},inferSchema:g$,sampleFromSchema:kb,sampleFromSchemaGeneric:Gi,createXMLExample:$b,memoizedSampleFromSchema:b$,memoizedCreateXMLExample:v$,getJsonSampleSchema:u,getYamlSampleSchema:p,getXmlSampleSchema:d,getSampleSchema:g}}},Rm=function(a){var u={};return Ce.d(u,a),u}({default:function(){return $Z}});const JU=["get","put","post","delete","options","head","patch","trace"],Ks=a=>a||(0,L.Map)(),GU=(0,wt.createSelector)(Ks,a=>a.get("lastError")),YU=(0,wt.createSelector)(Ks,a=>a.get("url")),XU=(0,wt.createSelector)(Ks,a=>a.get("spec")||""),QU=(0,wt.createSelector)(Ks,a=>a.get("specSource")||"not-editor"),Tb=(0,wt.createSelector)(Ks,a=>a.get("json",(0,L.Map)())),ZU=(0,wt.createSelector)(Tb,a=>a.toJS()),e5=(0,wt.createSelector)(Ks,a=>a.get("resolved",(0,L.Map)())),t5=(a,u)=>a.getIn(["resolvedSubtrees",...u],void 0),S$=(a,u)=>L.Map.isMap(a)&&L.Map.isMap(u)?u.get("$$ref")?u:(0,L.OrderedMap)().mergeWith(S$,a,u):u,ws=(0,wt.createSelector)(Ks,a=>(0,L.OrderedMap)().mergeWith(S$,a.get("json"),a.get("resolvedSubtrees"))),fi=a=>Tb(a),r5=(0,wt.createSelector)(fi,()=>!1),w$=(0,wt.createSelector)(fi,a=>B$(a&&a.get("info"))),n5=(0,wt.createSelector)(fi,a=>B$(a&&a.get("externalDocs"))),_$=(0,wt.createSelector)(w$,a=>a&&a.get("version")),i5=(0,wt.createSelector)(_$,a=>/v?([0-9]*)\.([0-9]*)\.([0-9]*)/i.exec(a).slice(1)),x$=(0,wt.createSelector)(ws,a=>a.get("paths")),s5=(0,Rm.default)(["get","put","post","delete","options","head","patch"]),A$=(0,wt.createSelector)(x$,a=>{if(!a||a.size<1)return(0,L.List)();let u=(0,L.List)();return a&&a.forEach?(a.forEach((p,d)=>{if(!p||!p.forEach)return{};p.forEach((g,E)=>{JU.indexOf(E)<0||(u=u.push((0,L.fromJS)({path:d,method:E,operation:g,id:`${E}-${d}`})))})}),u):(0,L.List)()}),O$=(0,wt.createSelector)(fi,a=>(0,L.Set)(a.get("consumes"))),C$=(0,wt.createSelector)(fi,a=>(0,L.Set)(a.get("produces"))),o5=(0,wt.createSelector)(fi,a=>a.get("security",(0,L.List)())),a5=(0,wt.createSelector)(fi,a=>a.get("securityDefinitions")),l5=(a,u)=>{const p=a.getIn(["resolvedSubtrees","definitions",u],null),d=a.getIn(["json","definitions",u],null);return p||d||null},u5=(0,wt.createSelector)(fi,a=>{const u=a.get("definitions");return L.Map.isMap(u)?u:(0,L.Map)()}),c5=(0,wt.createSelector)(fi,a=>a.get("basePath")),f5=(0,wt.createSelector)(fi,a=>a.get("host")),p5=(0,wt.createSelector)(fi,a=>a.get("schemes",(0,L.Map)())),$$=(0,wt.createSelector)([A$,O$,C$],(a,u,p)=>a.map(d=>d.update("operation",g=>g?L.Map.isMap(g)?g.withMutations(E=>(E.get("consumes")||E.update("consumes",O=>(0,L.Set)(O).merge(u)),E.get("produces")||E.update("produces",O=>(0,L.Set)(O).merge(p)),E)):void 0:(0,L.Map)()))),Pb=(0,wt.createSelector)(fi,a=>{const u=a.get("tags",(0,L.List)());return L.List.isList(u)?u.filter(p=>L.Map.isMap(p)):(0,L.List)()}),k$=(a,u)=>(Pb(a)||(0,L.List)()).filter(L.Map.isMap).find(p=>p.get("name")===u,(0,L.Map)()),T$=(0,wt.createSelector)($$,Pb,(a,u)=>a.reduce((p,d)=>{let g=(0,L.Set)(d.getIn(["operation","tags"]));return g.count()<1?p.update("default",(0,L.List)(),E=>E.push(d)):g.reduce((E,O)=>E.update(O,(0,L.List)(),k=>k.push(d)),p)},u.reduce((p,d)=>p.set(d.get("name"),(0,L.List)()),(0,L.OrderedMap)()))),d5=a=>({getConfigs:u})=>{let{tagsSorter:p,operationsSorter:d}=u();return T$(a).sortBy((g,E)=>E,(g,E)=>{let O=typeof p=="function"?p:yr.tagsSorter[p];return O?O(g,E):null}).map((g,E)=>{let O=typeof d=="function"?d:yr.operationsSorter[d],k=O?g.sort(O):g;return(0,L.Map)({tagDetails:k$(a,E),operations:k})})},P$=(0,wt.createSelector)(Ks,a=>a.get("responses",(0,L.Map)())),R$=(0,wt.createSelector)(Ks,a=>a.get("requests",(0,L.Map)())),I$=(0,wt.createSelector)(Ks,a=>a.get("mutatedRequests",(0,L.Map)())),h5=(a,u,p)=>P$(a).getIn([u,p],null),m5=(a,u,p)=>R$(a).getIn([u,p],null),g5=(a,u,p)=>I$(a).getIn([u,p],null),y5=()=>!0,Rb=(a,u,p)=>{const d=ws(a).getIn(["paths",...u,"parameters"],(0,L.OrderedMap)()),g=a.getIn(["meta","paths",...u,"parameters"],(0,L.OrderedMap)());return d.map(E=>{const O=g.get(`${p.get("in")}.${p.get("name")}`),k=g.get(`${p.get("in")}.${p.get("name")}.hash-${p.hashCode()}`);return(0,L.OrderedMap)().merge(E,O,k)}).find(E=>E.get("in")===p.get("in")&&E.get("name")===p.get("name"),(0,L.OrderedMap)())},N$=(a,u,p,d)=>{const g=`${d}.${p}`;return a.getIn(["meta","paths",...u,"parameter_inclusions",g],!1)},v5=(a,u,p,d)=>{const g=ws(a).getIn(["paths",...u,"parameters"],(0,L.OrderedMap)()).find(E=>E.get("in")===d&&E.get("name")===p,(0,L.OrderedMap)());return Rb(a,u,g)},j$=(a,u,p)=>{const d=ws(a).getIn(["paths",u,p],(0,L.OrderedMap)()),g=a.getIn(["meta","paths",u,p],(0,L.OrderedMap)()),E=d.get("parameters",(0,L.List)()).map(O=>Rb(a,[u,p],O));return(0,L.OrderedMap)().merge(d,g).set("parameters",E)};function b5(a,u,p,d){return u=u||[],a.getIn(["meta","paths",...u,"parameters"],(0,L.fromJS)([])).find(g=>L.Map.isMap(g)&&g.get("name")===p&&g.get("in")===d)||(0,L.Map)()}const E5=(0,wt.createSelector)(fi,a=>{const u=a.get("host");return typeof u=="string"&&u.length>0&&u[0]!=="/"});function M$(a,u,p){return u=u||[],j$(a,...u).get("parameters",(0,L.List)()).reduce((d,g)=>{let E=p&&g.get("in")==="body"?g.get("value_xml"):g.get("value");return L.List.isList(E)&&(E=E.filter(O=>O!=="")),d.set(Bs(g,{allowHashes:!1}),E)},(0,L.fromJS)({}))}function S5(a,u=""){if(L.List.isList(a))return a.some(p=>L.Map.isMap(p)&&p.get("in")===u)}function Ib(a,u=""){if(L.List.isList(a))return a.some(p=>L.Map.isMap(p)&&p.get("type")===u)}function w5(a,u){u=u||[];let p=ws(a).getIn(["paths",...u],(0,L.fromJS)({})),d=a.getIn(["meta","paths",...u],(0,L.fromJS)({})),g=D$(a,u);const E=p.get("parameters")||new L.List,O=d.get("consumes_value")?d.get("consumes_value"):Ib(E,"file")?"multipart/form-data":Ib(E,"formData")?"application/x-www-form-urlencoded":void 0;return(0,L.fromJS)({requestContentType:O,responseContentType:g})}function D$(a,u){u=u||[];const p=ws(a).getIn(["paths",...u],null);if(p===null)return;const d=a.getIn(["meta","paths",...u,"produces_value"],null),g=p.getIn(["produces",0],null);return d||g||"application/json"}function _5(a,u){u=u||[];const p=ws(a),d=p.getIn(["paths",...u],null);if(d===null)return;const[g]=u,E=d.get("produces",null),O=p.getIn(["paths",g,"produces"],null),k=p.getIn(["produces"],null);return E||O||k}function x5(a,u){u=u||[];const p=ws(a),d=p.getIn(["paths",...u],null);if(d===null)return;const[g]=u,E=d.get("consumes",null),O=p.getIn(["paths",g,"consumes"],null),k=p.getIn(["consumes"],null);return E||O||k}const F$=(a,u,p)=>{let d=a.get("url").match(/^([a-z][a-z0-9+\-.]*):/),g=Array.isArray(d)?d[1]:null;return a.getIn(["scheme",u,p])||a.getIn(["scheme","_defaultScheme"])||g||""},A5=(a,u,p)=>["http","https"].indexOf(F$(a,u,p))>-1,L$=(a,u)=>{u=u||[];let p=a.getIn(["meta","paths",...u,"parameters"],(0,L.fromJS)([]));const d=[];return p.forEach(g=>{let E=g.get("errors");E&&E.count()&&E.forEach(O=>d.push(O))}),d},O5=(a,u)=>L$(a,u).length===0,C5=(a,u)=>{let p={requestBody:!1,requestContentType:{}},d=a.getIn(["resolvedSubtrees","paths",...u,"requestBody"],(0,L.fromJS)([]));return d.size<1||(d.getIn(["required"])&&(p.requestBody=d.getIn(["required"])),d.getIn(["content"]).entrySeq().forEach(g=>{const E=g[0];if(g[1].getIn(["schema","required"])){const O=g[1].getIn(["schema","required"]).toJS();p.requestContentType[E]=O}})),p},$5=(a,u,p,d)=>{if((p||d)&&p===d)return!0;let g=a.getIn(["resolvedSubtrees","paths",...u,"requestBody","content"],(0,L.fromJS)([]));if(g.size<2||!p||!d)return!1;let E=g.getIn([p,"schema","properties"],(0,L.fromJS)([])),O=g.getIn([d,"schema","properties"],(0,L.fromJS)([]));return!!E.equals(O)};function B$(a){return L.Map.isMap(a)?a:new L.Map}var k5=function(a){var u={};return Ce.d(u,a),u}({default:function(){return sve}}),T5=function(a){var u={};return Ce.d(u,a),u}({default:function(){return mve}}),P5=function(a){var u={};return Ce.d(u,a),u}({default:function(){return xve}}),R5=function(a){var u={};return Ce.d(u,a),u}({default:function(){return EEe}});const Nb="spec_update_spec",jb="spec_update_url",Mb="spec_update_json",Im="spec_update_param",Db="spec_update_empty_param_inclusion",Fb="spec_validate_param",Lb="spec_set_response",Bb="spec_set_request",Ub="spec_set_mutated_request",U$="spec_log_request",Vb="spec_clear_response",zb="spec_clear_request",qb="spec_clear_validate_param",Nm="spec_update_operation_meta_value",Wb="spec_update_resolved",jm="spec_update_resolved_subtree",Kb="set_scheme",I5=a=>(0,k5.default)(a)?a:"";function N5(a){const u=I5(a).replace(/\t/g," ");if(typeof a=="string")return{type:Nb,payload:u}}function j5(a){return{type:Wb,payload:a}}function M5(a){return{type:jb,payload:a}}function D5(a){return{type:Mb,payload:a}}const F5=a=>({specActions:u,specSelectors:p,errActions:d})=>{let{specStr:g}=p,E=null;try{a=a||g(),d.clear({source:"parser"}),E=Tn.default.load(a,{schema:Tn.JSON_SCHEMA})}catch(O){return console.error(O),d.newSpecErr({source:"parser",level:"error",message:O.reason,line:O.mark&&O.mark.line?O.mark.line+1:void 0})}return E&&typeof E=="object"?u.updateJsonSpec(E):{}};let V$=!1;const L5=(a,u)=>({specActions:p,specSelectors:d,errActions:g,fn:{fetch:E,resolve:O,AST:k={}},getConfigs:N})=>{V$||(console.warn("specActions.resolveSpec is deprecated since v3.10.0 and will be removed in v4.0.0; use requestResolvedSubtree instead!"),V$=!0);const{modelPropertyMacro:D,parameterMacro:F,requestInterceptor:W,responseInterceptor:G}=N();a===void 0&&(a=d.specJson()),u===void 0&&(u=d.url());let H=k.getLineNumberForPath?k.getLineNumberForPath:()=>{},ne=d.specStr();return O({fetch:E,spec:a,baseDoc:String(new URL(u,document.baseURI)),modelPropertyMacro:D,parameterMacro:F,requestInterceptor:W,responseInterceptor:G}).then(({spec:le,errors:ae})=>{if(g.clear({type:"thrown"}),Array.isArray(ae)&&ae.length>0){let Re=ae.map(Oe=>(console.error(Oe),Oe.line=Oe.fullPath?H(ne,Oe.fullPath):null,Oe.path=Oe.fullPath?Oe.fullPath.join("."):null,Oe.level="error",Oe.type="thrown",Oe.source="resolver",Object.defineProperty(Oe,"message",{enumerable:!0,value:Oe.message}),Oe));g.newThrownErrBatch(Re)}return p.updateResolved(le)})};let Mm=[];const B5=(0,T5.default)(()=>{const a=Mm.reduce((u,{path:p,system:d})=>(u.has(d)||u.set(d,[]),u.get(d).push(p),u),new Map);Mm=[],a.forEach(async(u,p)=>{if(!p)return void console.error("debResolveSubtrees: don't have a system to operate on, aborting.");if(!p.fn.resolveSubtree)return void console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing.");const{errActions:d,errSelectors:g,fn:{resolveSubtree:E,fetch:O,AST:k={}},specSelectors:N,specActions:D}=p,F=k.getLineNumberForPath??(0,Rm.default)(void 0),W=N.specStr(),{modelPropertyMacro:G,parameterMacro:H,requestInterceptor:ne,responseInterceptor:le}=p.getConfigs();try{const ae=await u.reduce(async(Re,Oe)=>{let{resultMap:Me,specWithCurrentSubtrees:ve}=await Re;const{errors:Se,spec:Ue}=await E(ve,Oe,{baseDoc:String(new URL(N.url(),document.baseURI)),modelPropertyMacro:G,parameterMacro:H,requestInterceptor:ne,responseInterceptor:le});if(g.allErrors().size&&d.clearBy(xe=>xe.get("type")!=="thrown"||xe.get("source")!=="resolver"||!xe.get("fullPath").every((Te,Pe)=>Te===Oe[Pe]||Oe[Pe]===void 0)),Array.isArray(Se)&&Se.length>0){let xe=Se.map(Te=>(Te.line=Te.fullPath?F(W,Te.fullPath):null,Te.path=Te.fullPath?Te.fullPath.join("."):null,Te.level="error",Te.type="thrown",Te.source="resolver",Object.defineProperty(Te,"message",{enumerable:!0,value:Te.message}),Te));d.newThrownErrBatch(xe)}return Ue&&N.isOAS3()&&Oe[0]==="components"&&Oe[1]==="securitySchemes"&&await Promise.all(Object.values(Ue).filter(xe=>xe.type==="openIdConnect").map(async xe=>{const Te={url:xe.openIdConnectUrl,requestInterceptor:ne,responseInterceptor:le};try{const Pe=await O(Te);Pe instanceof Error||Pe.status>=400?console.error(Pe.statusText+" "+Te.url):xe.openIdConnectData=JSON.parse(Pe.text)}catch(Pe){console.error(Pe)}})),(0,P5.default)(Me,Oe,Ue),ve=(0,R5.default)(Oe,Ue,ve),{resultMap:Me,specWithCurrentSubtrees:ve}},Promise.resolve({resultMap:(N.specResolvedSubtree([])||(0,L.Map)()).toJS(),specWithCurrentSubtrees:N.specJS()}));D.updateResolvedSubtree([],ae.resultMap)}catch(ae){console.error(ae)}})},35),U5=a=>u=>{Mm.find(({path:p,system:d})=>d===u&&p.toString()===a.toString())||(Mm.push({path:a,system:u}),B5())};function V5(a,u,p,d,g){return{type:Im,payload:{path:a,value:d,paramName:u,paramIn:p,isXml:g}}}function z5(a,u,p,d){return{type:Im,payload:{path:a,param:u,value:p,isXml:d}}}const q5=(a,u)=>({type:jm,payload:{path:a,value:u}}),W5=()=>({type:jm,payload:{path:[],value:(0,L.Map)()}}),K5=(a,u)=>({type:Fb,payload:{pathMethod:a,isOAS3:u}}),H5=(a,u,p,d)=>({type:Db,payload:{pathMethod:a,paramName:u,paramIn:p,includeEmptyValue:d}});function J5(a){return{type:qb,payload:{pathMethod:a}}}function G5(a,u){return{type:Nm,payload:{path:a,value:u,key:"consumes_value"}}}function Y5(a,u){return{type:Nm,payload:{path:a,value:u,key:"produces_value"}}}const X5=(a,u,p)=>({payload:{path:a,method:u,res:p},type:Lb}),Q5=(a,u,p)=>({payload:{path:a,method:u,req:p},type:Bb}),Z5=(a,u,p)=>({payload:{path:a,method:u,req:p},type:Ub}),eV=a=>({payload:a,type:U$}),tV=a=>({fn:u,specActions:p,specSelectors:d,getConfigs:g,oas3Selectors:E})=>{let{pathName:O,method:k,operation:N}=a,{requestInterceptor:D,responseInterceptor:F}=g(),W=N.toJS();if(N&&N.get("parameters")&&N.get("parameters").filter(ne=>ne&&ne.get("allowEmptyValue")===!0).forEach(ne=>{if(d.parameterInclusionSettingFor([O,k],ne.get("name"),ne.get("in"))){a.parameters=a.parameters||{};const le=ha(ne,a.parameters);(!le||le&&le.size===0)&&(a.parameters[ne.get("name")]="")}}),a.contextUrl=(0,Ss.default)(d.url()).toString(),W&&W.operationId?a.operationId=W.operationId:W&&O&&k&&(a.operationId=u.opId(W,O,k)),d.isOAS3()){const ne=`${O}:${k}`;a.server=E.selectedServer(ne)||E.selectedServer();const le=E.serverVariables({server:a.server,namespace:ne}).toJS(),ae=E.serverVariables({server:a.server}).toJS();a.serverVariables=Object.keys(le).length?le:ae,a.requestContentType=E.requestContentType(O,k),a.responseContentType=E.responseContentType(O,k)||"*/*";const Re=E.requestBodyValue(O,k),Oe=E.requestBodyInclusionSetting(O,k);Re&&Re.toJS?a.requestBody=Re.map(Me=>L.Map.isMap(Me)?Me.get("value"):Me).filter((Me,ve)=>(Array.isArray(Me)?Me.length!==0:!pl(Me))||Oe.get(ve)).toJS():a.requestBody=Re}let G=Object.assign({},a);G=u.buildRequest(G),p.setRequest(a.pathName,a.method,G),a.requestInterceptor=async ne=>{let le=await D.apply(void 0,[ne]),ae=Object.assign({},le);return p.setMutatedRequest(a.pathName,a.method,ae),le},a.responseInterceptor=F;const H=Date.now();return u.execute(a).then(ne=>{ne.duration=Date.now()-H,p.setResponse(a.pathName,a.method,ne)}).catch(ne=>{ne.message==="Failed to fetch"&&(ne.name="",ne.message=`**Failed to fetch.** +**Possible Reasons:** + - CORS + - Network Failure + - URL scheme must be "http" or "https" for CORS request.`),p.setResponse(a.pathName,a.method,{error:!0,err:ne})})},rV=({path:a,method:u,...p}={})=>d=>{let{fn:{fetch:g},specSelectors:E,specActions:O}=d,k=E.specJsonWithResolvedSubtrees().toJS(),N=E.operationScheme(a,u),{requestContentType:D,responseContentType:F}=E.contentTypeValues([a,u]).toJS(),W=/xml/i.test(D),G=E.parameterValues([a,u],W).toJS();return O.executeRequest({...p,fetch:g,spec:k,pathName:a,method:u,parameters:G,requestContentType:D,scheme:N,responseContentType:F})};function nV(a,u){return{type:Vb,payload:{path:a,method:u}}}function iV(a,u){return{type:zb,payload:{path:a,method:u}}}function sV(a,u,p){return{type:Kb,payload:{scheme:a,path:u,method:p}}}var oV={[Nb]:(a,u)=>typeof u.payload=="string"?a.set("spec",u.payload):a,[jb]:(a,u)=>a.set("url",u.payload+""),[Mb]:(a,u)=>a.set("json",Ct(u.payload)),[Wb]:(a,u)=>a.setIn(["resolved"],Ct(u.payload)),[jm]:(a,u)=>{const{value:p,path:d}=u.payload;return a.setIn(["resolvedSubtrees",...d],Ct(p))},[Im]:(a,{payload:u})=>{let{path:p,paramName:d,paramIn:g,param:E,value:O,isXml:k}=u,N=E?Bs(E):`${g}.${d}`;const D=k?"value_xml":"value";return a.setIn(["meta","paths",...p,"parameters",N,D],(0,L.fromJS)(O))},[Db]:(a,{payload:u})=>{let{pathMethod:p,paramName:d,paramIn:g,includeEmptyValue:E}=u;if(!d||!g)return console.warn("Warning: UPDATE_EMPTY_PARAM_INCLUSION could not generate a paramKey."),a;const O=`${g}.${d}`;return a.setIn(["meta","paths",...p,"parameter_inclusions",O],E)},[Fb]:(a,{payload:{pathMethod:u,isOAS3:p}})=>{const d=ws(a).getIn(["paths",...u]),g=M$(a,u).toJS();return a.updateIn(["meta","paths",...u,"parameters"],(0,L.fromJS)({}),E=>d.get("parameters",(0,L.List)()).reduce((O,k)=>{const N=ha(k,g),D=N$(a,u,k.get("name"),k.get("in")),F=((W,G,{isOAS3:H=!1,bypassRequiredCheck:ne=!1}={})=>{let le=W.get("required"),{schema:ae,parameterContentMediaType:Re}=ue(W,{isOAS3:H});return Oo(G,ae,le,ne,Re)})(k,N,{bypassRequiredCheck:D,isOAS3:p});return O.setIn([Bs(k),"errors"],(0,L.fromJS)(F))},E))},[qb]:(a,{payload:{pathMethod:u}})=>a.updateIn(["meta","paths",...u,"parameters"],(0,L.fromJS)([]),p=>p.map(d=>d.set("errors",(0,L.fromJS)([])))),[Lb]:(a,{payload:{res:u,path:p,method:d}})=>{let g;g=u.error?Object.assign({error:!0,name:u.err.name,message:u.err.message,statusCode:u.err.statusCode},u.err.response):u,g.headers=g.headers||{};let E=a.setIn(["responses",p,d],Ct(g));return We.Blob&&g.data instanceof We.Blob&&(E=E.setIn(["responses",p,d,"text"],g.data)),E},[Bb]:(a,{payload:{req:u,path:p,method:d}})=>a.setIn(["requests",p,d],Ct(u)),[Ub]:(a,{payload:{req:u,path:p,method:d}})=>a.setIn(["mutatedRequests",p,d],Ct(u)),[Nm]:(a,{payload:{path:u,value:p,key:d}})=>{let g=["paths",...u],E=["meta","paths",...u];return a.getIn(["json",...g])||a.getIn(["resolved",...g])||a.getIn(["resolvedSubtrees",...g])?a.setIn([...E,d],(0,L.fromJS)(p)):a},[Vb]:(a,{payload:{path:u,method:p}})=>a.deleteIn(["responses",u,p]),[zb]:(a,{payload:{path:u,method:p}})=>a.deleteIn(["requests",u,p]),[Kb]:(a,{payload:{scheme:u,path:p,method:d}})=>p&&d?a.setIn(["scheme",p,d],u):p||d?void 0:a.setIn(["scheme","_defaultScheme"],u)};const aV=(a,{specActions:u})=>(...p)=>{a(...p),u.parseToJson(...p)},lV=(a,{specActions:u})=>(...p)=>{a(...p),u.invalidateResolvedSubtreeCache();const[d]=p,g=(0,Wi.default)(d,["paths"])||{};Object.keys(g).forEach(E=>{(0,Wi.default)(g,[E]).$ref&&u.requestResolvedSubtree(["paths",E])}),u.requestResolvedSubtree(["components","securitySchemes"])},uV=(a,{specActions:u})=>p=>(u.logRequest(p),a(p)),cV=(a,{specSelectors:u})=>p=>a(p,u.isOAS3());var z$=()=>({statePlugins:{spec:{wrapActions:{...P},reducers:{...oV},actions:{...$},selectors:{..._}}}}),q$=function(a){var u={};return Ce.d(u,a),u}({default:function(){return $8}}),W$=function(a){var u={};return Ce.d(u,a),u}({default:function(){return R8}}),K$=function(a){var u={};return Ce.d(u,a),u}({default:function(){return I8}}),H$=function(a){var u={};return Ce.d(u,a),u}({default:function(){return L6e}}),fV=function(a){var u={};return Ce.d(u,a),u}({makeResolve:function(){return G8}}),J$=function(a){var u={};return Ce.d(u,a),u}({buildRequest:function(){return Z8},execute:function(){return b8e}}),Hb=function(a){var u={};return Ce.d(u,a),u}({default:function(){return l1},makeHttp:function(){return iIe},serializeRes:function(){return _8}}),pV=function(a){var u={};return Ce.d(u,a),u}({makeResolveSubtree:function(){return O8e}}),G$=function(a){var u={};return Ce.d(u,a),u}({opId:function(){return o1}});const dV=(a,u)=>(...p)=>{a(...p);const d=u.getConfigs().withCredentials;d!==void 0&&(u.fn.fetch.withCredentials=typeof d=="string"?d==="true":!!d)};function Y$({configs:a,getConfigs:u}){return{fn:{fetch:(0,Hb.makeHttp)(Hb.default,a.preFetch,a.postFetch),buildRequest:J$.buildRequest,execute:J$.execute,resolve:(0,fV.makeResolve)({strategies:[H$.default,K$.default,W$.default,q$.default]}),resolveSubtree:async(p,d,g={})=>{const E=u(),O={modelPropertyMacro:E.modelPropertyMacro,parameterMacro:E.parameterMacro,requestInterceptor:E.requestInterceptor,responseInterceptor:E.responseInterceptor,strategies:[H$.default,K$.default,W$.default,q$.default]};return(0,pV.makeResolveSubtree)(O)(p,d,g)},serializeRes:Hb.serializeRes,opId:G$.opId},statePlugins:{configs:{wrapActions:{loaded:dV}}}}}function X$(){return{fn:{shallowEqualKeys:_i}}}var Q$=function(a){var u={};return Ce.d(u,a),u}({default:function(){return P9e}}),Z$=function(a){var u={};return Ce.d(u,a),u}({Provider:function(){return PUe},connect:function(){return kUe}}),ek=function(a){var u={};return Ce.d(u,a),u}({default:function(){return _Z}});const hV=a=>u=>{const{fn:p}=a();class d extends f.Component{render(){return f.default.createElement(u,(0,Kt.default)({},a(),this.props,this.context))}}return d.displayName=`WithSystem(${p.getDisplayName(u)})`,d},mV=(a,u)=>p=>{const{fn:d}=a();class g extends f.Component{render(){return f.default.createElement(Z$.Provider,{store:u},f.default.createElement(p,(0,Kt.default)({},this.props,this.context)))}}return g.displayName=`WithRoot(${d.getDisplayName(p)})`,g},tk=(a,u,p)=>(0,ce.compose)(p?mV(a,p):ek.default,(0,Z$.connect)((d,g)=>{var k;const E={...g,...a()};return(((k=u.prototype)==null?void 0:k.mapStateToProps)||(N=>({state:N})))(d,E)}),hV(a))(u),rk=(a,u,p,d)=>{for(const g in u){const E=u[g];typeof E=="function"&&E(p[g],d[g],a())}},gV=(a,u,p)=>(d,g)=>{const{fn:E}=a(),O=p(d,"root");class k extends f.Component{constructor(D,F){super(D,F),rk(a,g,D,{})}UNSAFE_componentWillReceiveProps(D){rk(a,g,D,this.props)}render(){const D=(0,zi.default)(this.props,g?Object.keys(g):[]);return f.default.createElement(O,D)}}return k.displayName=`WithMappedContainer(${E.getDisplayName(O)})`,k},yV=(a,u,p,d)=>g=>{const E=p(a,u,d)("App","root"),{createRoot:O}=Q$.default;O(g).render(f.default.createElement(E,null))},Jb=(a,u,p)=>(d,g,E={})=>{if(typeof d!="string")throw new TypeError("Need a string, to fetch a component. Was given a "+typeof d);const O=p(d);return O?g?g==="root"?tk(a,O,u()):tk(a,O):O:(E.failSilently||a().log.warn("Could not find component:",d),null)},vV=a=>a.displayName||a.name||"Component";var nk=({getComponents:a,getStore:u,getSystem:p})=>{const d=(g=Jb(p,u,a),Mr(g,(...O)=>JSON.stringify(O)));var g;const E=(O=>Zf(O,(...k)=>k))(gV(p,0,d));return{rootInjects:{getComponent:d,makeMappedContainer:E,render:yV(p,u,Jb,a)},fn:{getDisplayName:vV}}},ik=({React:a,getSystem:u,getStore:p,getComponents:d})=>{const g={},E=parseInt(a==null?void 0:a.version,10);return E>=16&&E<18&&(g.render=((O,k,N,D)=>F=>{const W=N(O,k,D)("App","root");Q$.default.render(f.default.createElement(W,null),F)})(u,p,Jb,d)),{rootInjects:g}};function sk(a){let{fn:u}=a;const p={download:g=>({errActions:E,specSelectors:O,specActions:k,getConfigs:N})=>{let{fetch:D}=u;const F=N();function W(G){if(G instanceof Error||G.status>=400)return k.updateLoadingStatus("failed"),E.newThrownErr(Object.assign(new Error((G.message||G.statusText)+" "+g),{source:"fetch"})),void(!G.status&&G instanceof Error&&function(){try{let ne;if("URL"in We?ne=new URL(g):(ne=document.createElement("a"),ne.href=g),ne.protocol!=="https:"&&We.location.protocol==="https:"){const le=Object.assign(new Error(`Possible mixed-content issue? The page was loaded over https:// but a ${ne.protocol}// URL was specified. Check that you are not attempting to load mixed content.`),{source:"fetch"});return void E.newThrownErr(le)}if(ne.origin!==We.location.origin){const le=Object.assign(new Error(`Possible cross-origin (CORS) issue? The URL origin (${ne.origin}) does not match the page (${We.location.origin}). Check the server returns the correct 'Access-Control-Allow-*' headers.`),{source:"fetch"});E.newThrownErr(le)}}catch{return}}());k.updateLoadingStatus("success"),k.updateSpec(G.text),O.url()!==g&&k.updateUrl(g)}g=g||O.url(),k.updateLoadingStatus("loading"),E.clear({source:"fetch"}),D({url:g,loadSpec:!0,requestInterceptor:F.requestInterceptor||(G=>G),responseInterceptor:F.responseInterceptor||(G=>G),credentials:"same-origin",headers:{Accept:"application/json,*/*"}}).then(W,W)},updateLoadingStatus:g=>{let E=[null,"loading","failed","success","failedConfig"];return E.indexOf(g)===-1&&console.error(`Error: ${g} is not one of ${JSON.stringify(E)}`),{type:"spec_update_loading_status",payload:g}}};let d={loadingStatus:(0,wt.createSelector)(g=>g||(0,L.Map)(),g=>g.get("loadingStatus")||null)};return{statePlugins:{spec:{actions:p,reducers:{spec_update_loading_status:(g,E)=>typeof E.payload=="string"?g.set("loadingStatus",E.payload):g},selectors:d}}}}var bV=function(a){var u={};return Ce.d(u,a),u}({default:function(){return FUe}});const ok=console.error,EV=a=>u=>{const{getComponent:p,fn:d}=a(),g=p("ErrorBoundary"),E=d.getDisplayName(u);class O extends f.Component{render(){return f.default.createElement(g,{targetName:E,getComponent:p,fn:d},f.default.createElement(u,(0,Kt.default)({},this.props,this.context)))}}var k;return O.displayName=`WithErrorBoundary(${E})`,(k=u).prototype&&k.prototype.isReactComponent&&(O.prototype.mapStateToProps=u.prototype.mapStateToProps),O};var ak=({name:a})=>f.default.createElement("div",{className:"fallback"},"😱 ",f.default.createElement("i",null,"Could not render ",a==="t"?"this component":a,", see the console."));class lk extends f.Component{static getDerivedStateFromError(u){return{hasError:!0,error:u}}constructor(...u){super(...u),this.state={hasError:!1,error:null}}componentDidCatch(u,p){this.props.fn.componentDidCatch(u,p)}render(){const{getComponent:u,targetName:p,children:d}=this.props;if(this.state.hasError){const g=u("Fallback");return f.default.createElement(g,{name:p})}return d}}ie(lk,"defaultProps",{targetName:"this component",getComponent:()=>ak,fn:{componentDidCatch:ok},children:null});var SV=lk,uk=({componentList:a=[],fullOverride:u=!1}={})=>({getSystem:p})=>{const d=u?a:["App","BaseLayout","VersionPragmaFilter","InfoContainer","ServersContainer","SchemesContainer","AuthorizeBtnContainer","FilterContainer","Operations","OperationContainer","parameters","responses","OperationServers","Models","ModelWrapper",...a],g=(0,bV.default)(d,Array(d.length).fill((E,{fn:O})=>O.withErrorBoundary(E)));return{fn:{componentDidCatch:ok,withErrorBoundary:EV(p)},components:{ErrorBoundary:SV,Fallback:ak},wrapComponents:g}};class wV extends f.default.Component{getLayout(){const{getComponent:u,layoutSelectors:p}=this.props,d=p.current();return u(d,!0)||(()=>f.default.createElement("h1",null,' No layout defined for "',d,'" '))}render(){const u=this.getLayout();return f.default.createElement(u,null)}}var _V=wV;class xV extends f.default.Component{constructor(){super(...arguments);ie(this,"close",()=>{let{authActions:p}=this.props;p.showDefinitions(!1)})}render(){let{authSelectors:p,authActions:d,getComponent:g,errSelectors:E,specSelectors:O,fn:{AST:k={}}}=this.props,N=p.shownDefinitions();const D=g("auths"),F=g("CloseIcon");return f.default.createElement("div",{className:"dialog-ux"},f.default.createElement("div",{className:"backdrop-ux"}),f.default.createElement("div",{className:"modal-ux"},f.default.createElement("div",{className:"modal-dialog-ux"},f.default.createElement("div",{className:"modal-ux-inner"},f.default.createElement("div",{className:"modal-ux-header"},f.default.createElement("h3",null,"Available authorizations"),f.default.createElement("button",{type:"button",className:"close-modal",onClick:this.close},f.default.createElement(F,null))),f.default.createElement("div",{className:"modal-ux-content"},N.valueSeq().map((W,G)=>f.default.createElement(D,{key:G,AST:k,definitions:W,getComponent:g,errSelectors:E,authSelectors:p,authActions:d,specSelectors:O})))))))}}class AV extends f.default.Component{render(){let{isAuthorized:u,showPopup:p,onClick:d,getComponent:g}=this.props;const E=g("authorizationPopup",!0),O=g("LockAuthIcon",!0),k=g("UnlockAuthIcon",!0);return f.default.createElement("div",{className:"auth-wrapper"},f.default.createElement("button",{className:u?"btn authorize locked":"btn authorize unlocked",onClick:d},f.default.createElement("span",null,"Authorize"),u?f.default.createElement(O,null):f.default.createElement(k,null)),p&&f.default.createElement(E,null))}}class OV extends f.default.Component{render(){const{authActions:u,authSelectors:p,specSelectors:d,getComponent:g}=this.props,E=d.securityDefinitions(),O=p.definitionsToAuthorize(),k=g("authorizeBtn");return E?f.default.createElement(k,{onClick:()=>u.showDefinitions(O),isAuthorized:!!p.authorized().size,showPopup:!!p.shownDefinitions(),getComponent:g}):null}}class CV extends f.default.Component{constructor(){super(...arguments);ie(this,"onClick",p=>{p.stopPropagation();let{onClick:d}=this.props;d&&d()})}render(){let{isAuthorized:p,getComponent:d}=this.props;const g=d("LockAuthOperationIcon",!0),E=d("UnlockAuthOperationIcon",!0);return f.default.createElement("button",{className:"authorization__btn","aria-label":p?"authorization button locked":"authorization button unlocked",onClick:this.onClick},p?f.default.createElement(g,{className:"locked"}):f.default.createElement(E,{className:"unlocked"}))}}class $V extends f.default.Component{constructor(p,d){super(p,d);ie(this,"onAuthChange",p=>{let{name:d}=p;this.setState({[d]:p})});ie(this,"submitAuth",p=>{p.preventDefault();let{authActions:d}=this.props;d.authorizeWithPersistOption(this.state)});ie(this,"logoutClick",p=>{p.preventDefault();let{authActions:d,definitions:g}=this.props,E=g.map((O,k)=>k).toArray();this.setState(E.reduce((O,k)=>(O[k]="",O),{})),d.logoutWithPersistOption(E)});ie(this,"close",p=>{p.preventDefault();let{authActions:d}=this.props;d.showDefinitions(!1)});this.state={}}render(){let{definitions:p,getComponent:d,authSelectors:g,errSelectors:E}=this.props;const O=d("AuthItem"),k=d("oauth2",!0),N=d("Button");let D=g.authorized(),F=p.filter((H,ne)=>!!D.get(ne)),W=p.filter(H=>H.get("type")!=="oauth2"),G=p.filter(H=>H.get("type")==="oauth2");return f.default.createElement("div",{className:"auth-container"},!!W.size&&f.default.createElement("form",{onSubmit:this.submitAuth},W.map((H,ne)=>f.default.createElement(O,{key:ne,schema:H,name:ne,getComponent:d,onAuthChange:this.onAuthChange,authorized:D,errSelectors:E})).toArray(),f.default.createElement("div",{className:"auth-btn-wrapper"},W.size===F.size?f.default.createElement(N,{className:"btn modal-btn auth",onClick:this.logoutClick,"aria-label":"Remove authorization"},"Logout"):f.default.createElement(N,{type:"submit",className:"btn modal-btn auth authorize","aria-label":"Apply credentials"},"Authorize"),f.default.createElement(N,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),G&&G.size?f.default.createElement("div",null,f.default.createElement("div",{className:"scope-def"},f.default.createElement("p",null,"Scopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes."),f.default.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),p.filter(H=>H.get("type")==="oauth2").map((H,ne)=>f.default.createElement("div",{key:ne},f.default.createElement(k,{authorized:D,schema:H,name:ne}))).toArray()):null)}}class kV extends f.default.Component{render(){let{schema:u,name:p,getComponent:d,onAuthChange:g,authorized:E,errSelectors:O}=this.props;const k=d("apiKeyAuth"),N=d("basicAuth");let D;const F=u.get("type");switch(F){case"apiKey":D=f.default.createElement(k,{key:p,schema:u,name:p,errSelectors:O,authorized:E,getComponent:d,onChange:g});break;case"basic":D=f.default.createElement(N,{key:p,schema:u,name:p,errSelectors:O,authorized:E,getComponent:d,onChange:g});break;default:D=f.default.createElement("div",{key:p},"Unknown security definition type ",F)}return f.default.createElement("div",{key:`${p}-jump`},D)}}class TV extends f.default.Component{render(){let{error:u}=this.props,p=u.get("level"),d=u.get("message"),g=u.get("source");return f.default.createElement("div",{className:"errors"},f.default.createElement("b",null,g," ",p),f.default.createElement("span",null,d))}}class PV extends f.default.Component{constructor(p,d){super(p,d);ie(this,"onChange",p=>{let{onChange:d}=this.props,g=p.target.value,E=Object.assign({},this.state,{value:g});this.setState(E),d(E)});let{name:g,schema:E}=this.props,O=this.getValue();this.state={name:g,schema:E,value:O}}getValue(){let{name:p,authorized:d}=this.props;return d&&d.getIn([p,"value"])}render(){let{schema:p,getComponent:d,errSelectors:g,name:E}=this.props;const O=d("Input"),k=d("Row"),N=d("Col"),D=d("authError"),F=d("Markdown",!0),W=d("JumpToPath",!0);let G=this.getValue(),H=g.allErrors().filter(ne=>ne.get("authId")===E);return f.default.createElement("div",null,f.default.createElement("h4",null,f.default.createElement("code",null,E||p.get("name"))," (apiKey)",f.default.createElement(W,{path:["securityDefinitions",E]})),G&&f.default.createElement("h6",null,"Authorized"),f.default.createElement(k,null,f.default.createElement(F,{source:p.get("description")})),f.default.createElement(k,null,f.default.createElement("p",null,"Name: ",f.default.createElement("code",null,p.get("name")))),f.default.createElement(k,null,f.default.createElement("p",null,"In: ",f.default.createElement("code",null,p.get("in")))),f.default.createElement(k,null,f.default.createElement("label",{htmlFor:"api_key_value"},"Value:"),G?f.default.createElement("code",null," ****** "):f.default.createElement(N,null,f.default.createElement(O,{id:"api_key_value",type:"text",onChange:this.onChange,autoFocus:!0}))),H.valueSeq().map((ne,le)=>f.default.createElement(D,{error:ne,key:le})))}}class RV extends f.default.Component{constructor(p,d){super(p,d);ie(this,"onChange",p=>{let{onChange:d}=this.props,{value:g,name:E}=p.target,O=this.state.value;O[E]=g,this.setState({value:O}),d(this.state)});let{schema:g,name:E}=this.props,O=this.getValue().username;this.state={name:E,schema:g,value:O?{username:O}:{}}}getValue(){let{authorized:p,name:d}=this.props;return p&&p.getIn([d,"value"])||{}}render(){let{schema:p,getComponent:d,name:g,errSelectors:E}=this.props;const O=d("Input"),k=d("Row"),N=d("Col"),D=d("authError"),F=d("JumpToPath",!0),W=d("Markdown",!0);let G=this.getValue().username,H=E.allErrors().filter(ne=>ne.get("authId")===g);return f.default.createElement("div",null,f.default.createElement("h4",null,"Basic authorization",f.default.createElement(F,{path:["securityDefinitions",g]})),G&&f.default.createElement("h6",null,"Authorized"),f.default.createElement(k,null,f.default.createElement(W,{source:p.get("description")})),f.default.createElement(k,null,f.default.createElement("label",{htmlFor:"auth_username"},"Username:"),G?f.default.createElement("code",null," ",G," "):f.default.createElement(N,null,f.default.createElement(O,{id:"auth_username",type:"text",required:"required",name:"username",onChange:this.onChange,autoFocus:!0}))),f.default.createElement(k,null,f.default.createElement("label",{htmlFor:"auth_password"},"Password:"),G?f.default.createElement("code",null," ****** "):f.default.createElement(N,null,f.default.createElement(O,{id:"auth_password",autoComplete:"new-password",name:"password",type:"password",onChange:this.onChange}))),H.valueSeq().map((ne,le)=>f.default.createElement(D,{error:ne,key:le})))}}function IV(a){const{example:u,showValue:p,getComponent:d,getConfigs:g}=a,E=d("Markdown",!0),O=d("highlightCode");return u?f.default.createElement("div",{className:"example"},u.get("description")?f.default.createElement("section",{className:"example__section"},f.default.createElement("div",{className:"example__section-header"},"Example Description"),f.default.createElement("p",null,f.default.createElement(E,{source:u.get("description")}))):null,p&&u.has("value")?f.default.createElement("section",{className:"example__section"},f.default.createElement("div",{className:"example__section-header"},"Example Value"),f.default.createElement(O,{getConfigs:g,value:vr(u.get("value"))})):null):null}class ck extends f.default.PureComponent{constructor(){super(...arguments);ie(this,"_onSelect",(p,{isSyntheticChange:d=!1}={})=>{typeof this.props.onSelect=="function"&&this.props.onSelect(p,{isSyntheticChange:d})});ie(this,"_onDomSelect",p=>{if(typeof this.props.onSelect=="function"){const d=p.target.selectedOptions[0].getAttribute("value");this._onSelect(d,{isSyntheticChange:!1})}});ie(this,"getCurrentExample",()=>{const{examples:p,currentExampleKey:d}=this.props,g=p.get(d),E=p.keySeq().first(),O=p.get(E);return g||O||Map({})})}componentDidMount(){const{onSelect:p,examples:d}=this.props;if(typeof p=="function"){const g=d.first(),E=d.keyOf(g);this._onSelect(E,{isSyntheticChange:!0})}}UNSAFE_componentWillReceiveProps(p){const{currentExampleKey:d,examples:g}=p;if(g!==this.props.examples&&!g.has(d)){const E=g.first(),O=g.keyOf(E);this._onSelect(O,{isSyntheticChange:!0})}}render(){const{examples:p,currentExampleKey:d,isValueModified:g,isModifiedValueAvailable:E,showLabels:O}=this.props;return f.default.createElement("div",{className:"examples-select"},O?f.default.createElement("span",{className:"examples-select__section-label"},"Examples: "):null,f.default.createElement("select",{className:"examples-select-element",onChange:this._onDomSelect,value:E&&g?"__MODIFIED__VALUE__":d||""},E?f.default.createElement("option",{value:"__MODIFIED__VALUE__"},"[Modified value]"):null,p.map((k,N)=>f.default.createElement("option",{key:N,value:N},k.get("summary")||N)).valueSeq()))}}ie(ck,"defaultProps",{examples:L.default.Map({}),onSelect:(...p)=>console.log("DEBUG: ExamplesSelect was not given an onSelect callback",...p),currentExampleKey:null,showLabels:!0});const Gb=a=>L.List.isList(a)?a:vr(a);class fk extends f.default.PureComponent{constructor(p){super(p);ie(this,"_getStateForCurrentNamespace",()=>{const{currentNamespace:p}=this.props;return(this.state[p]||(0,L.Map)()).toObject()});ie(this,"_setStateForCurrentNamespace",p=>{const{currentNamespace:d}=this.props;return this._setStateForNamespace(d,p)});ie(this,"_setStateForNamespace",(p,d)=>{const g=(this.state[p]||(0,L.Map)()).mergeDeep(d);return this.setState({[p]:g})});ie(this,"_isCurrentUserInputSameAsExampleValue",()=>{const{currentUserInputValue:p}=this.props;return this._getCurrentExampleValue()===p});ie(this,"_getValueForExample",(p,d)=>{const{examples:g}=d||this.props;return Gb((g||(0,L.Map)({})).getIn([p,"value"]))});ie(this,"_getCurrentExampleValue",p=>{const{currentKey:d}=p||this.props;return this._getValueForExample(d,p||this.props)});ie(this,"_onExamplesSelect",(p,{isSyntheticChange:d}={},...g)=>{const{onSelect:E,updateValue:O,currentUserInputValue:k,userHasEditedBody:N}=this.props,{lastUserEditedValue:D}=this._getStateForCurrentNamespace(),F=this._getValueForExample(p);if(p==="__MODIFIED__VALUE__")return O(Gb(D)),this._setStateForCurrentNamespace({isModifiedValueSelected:!0});typeof E=="function"&&E(p,{isSyntheticChange:d},...g),this._setStateForCurrentNamespace({lastDownstreamValue:F,isModifiedValueSelected:d&&N||!!k&&k!==F}),d||typeof O=="function"&&O(Gb(F))});const d=this._getCurrentExampleValue();this.state={[p.currentNamespace]:(0,L.Map)({lastUserEditedValue:this.props.currentUserInputValue,lastDownstreamValue:d,isModifiedValueSelected:this.props.userHasEditedBody||this.props.currentUserInputValue!==d})}}componentWillUnmount(){this.props.setRetainRequestBodyValueFlag(!1)}UNSAFE_componentWillReceiveProps(p){const{currentUserInputValue:d,examples:g,onSelect:E,userHasEditedBody:O}=p,{lastUserEditedValue:k,lastDownstreamValue:N}=this._getStateForCurrentNamespace(),D=this._getValueForExample(p.currentKey,p),F=g.filter(W=>W.get("value")===d||vr(W.get("value"))===d);if(F.size){let W;W=F.has(p.currentKey)?p.currentKey:F.keySeq().first(),E(W,{isSyntheticChange:!0})}else d!==this.props.currentUserInputValue&&d!==k&&d!==N&&(this.props.setRetainRequestBodyValueFlag(!0),this._setStateForNamespace(p.currentNamespace,{lastUserEditedValue:p.currentUserInputValue,isModifiedValueSelected:O||d!==D}))}render(){const{currentUserInputValue:p,examples:d,currentKey:g,getComponent:E,userHasEditedBody:O}=this.props,{lastDownstreamValue:k,lastUserEditedValue:N,isModifiedValueSelected:D}=this._getStateForCurrentNamespace(),F=E("ExamplesSelect");return f.default.createElement(F,{examples:d,currentExampleKey:g,onSelect:this._onExamplesSelect,isModifiedValueAvailable:!!N&&N!==k,isValueModified:p!==void 0&&D&&p!==this._getCurrentExampleValue()||O})}}ie(fk,"defaultProps",{userHasEditedBody:!1,examples:(0,L.Map)({}),currentNamespace:"__DEFAULT__NAMESPACE__",setRetainRequestBodyValueFlag:()=>{},onSelect:(...p)=>console.log("ExamplesSelectValueRetainer: no `onSelect` function was provided",...p),updateValue:(...p)=>console.log("ExamplesSelectValueRetainer: no `updateValue` function was provided",...p)});function NV({auth:a,authActions:u,errActions:p,configs:d,authConfigs:g={},currentServer:E}){let{schema:O,scopes:k,name:N,clientId:D}=a,F=O.get("flow"),W=[];switch(F){case"password":return void u.authorizePassword(a);case"application":case"clientCredentials":case"client_credentials":return void u.authorizeApplication(a);case"accessCode":case"authorizationCode":case"authorization_code":W.push("response_type=code");break;case"implicit":W.push("response_type=token")}typeof D=="string"&&W.push("client_id="+encodeURIComponent(D));let G=d.oauth2RedirectUrl;if(G===void 0)return void p.newAuthErr({authId:N,source:"validation",level:"error",message:"oauth2RedirectUrl configuration is not passed. Oauth2 authorization cannot be performed."});W.push("redirect_uri="+encodeURIComponent(G));let H=[];if(Array.isArray(k)?H=k:L.default.List.isList(k)&&(H=k.toArray()),H.length>0){let ve=g.scopeSeparator||" ";W.push("scope="+encodeURIComponent(H.join(ve)))}let ne=ur(new Date);if(W.push("state="+encodeURIComponent(ne)),g.realm!==void 0&&W.push("realm="+encodeURIComponent(g.realm)),(F==="authorizationCode"||F==="authorization_code"||F==="accessCode")&&g.usePkceWithAuthorizationCodeGrant){const ve=function(){return ma(T()(32).toString("base64"))}(),Se=function(xe){return ma(Y()("sha256").update(xe).digest("base64"))}(ve);W.push("code_challenge="+Se),W.push("code_challenge_method=S256"),a.codeVerifier=ve}let{additionalQueryStringParams:le}=g;for(let ve in le)le[ve]!==void 0&&W.push([ve,le[ve]].map(encodeURIComponent).join("="));const ae=O.get("authorizationUrl");let Re;Re=E?(0,Ss.default)(tr(ae),E,!0).toString():tr(ae);let Oe,Me=[Re,W.join("&")].join(ae.indexOf("?")===-1?"?":"&");Oe=F==="implicit"?u.preAuthorizeImplicit:g.useBasicAuthenticationWithAccessCodeGrant?u.authorizeAccessCodeWithBasicAuthentication:u.authorizeAccessCodeWithFormParams,u.authPopup(Me,{auth:a,state:ne,redirectUrl:G,callback:Oe,errCb:p.newAuthErr})}class jV extends f.default.Component{constructor(p,d){super(p,d);ie(this,"close",p=>{p.preventDefault();let{authActions:d}=this.props;d.showDefinitions(!1)});ie(this,"authorize",()=>{let{authActions:p,errActions:d,getConfigs:g,authSelectors:E,oas3Selectors:O}=this.props,k=g(),N=E.getConfigs();d.clear({authId:name,type:"auth",source:"auth"}),NV({auth:this.state,currentServer:O.serverEffectiveValue(O.selectedServer()),authActions:p,errActions:d,configs:k,authConfigs:N})});ie(this,"onScopeChange",p=>{let{target:d}=p,{checked:g}=d,E=d.dataset.value;if(g&&this.state.scopes.indexOf(E)===-1){let O=this.state.scopes.concat([E]);this.setState({scopes:O})}else!g&&this.state.scopes.indexOf(E)>-1&&this.setState({scopes:this.state.scopes.filter(O=>O!==E)})});ie(this,"onInputChange",p=>{let{target:{dataset:{name:d},value:g}}=p,E={[d]:g};this.setState(E)});ie(this,"selectScopes",p=>{p.target.dataset.all?this.setState({scopes:Array.from((this.props.schema.get("allowedScopes")||this.props.schema.get("scopes")).keys())}):this.setState({scopes:[]})});ie(this,"logout",p=>{p.preventDefault();let{authActions:d,errActions:g,name:E}=this.props;g.clear({authId:E,type:"auth",source:"auth"}),d.logoutWithPersistOption([E])});let{name:g,schema:E,authorized:O,authSelectors:k}=this.props,N=O&&O.get(g),D=k.getConfigs()||{},F=N&&N.get("username")||"",W=N&&N.get("clientId")||D.clientId||"",G=N&&N.get("clientSecret")||D.clientSecret||"",H=N&&N.get("passwordType")||"basic",ne=N&&N.get("scopes")||D.scopes||[];typeof ne=="string"&&(ne=ne.split(D.scopeSeparator||" ")),this.state={appName:D.appName,name:g,schema:E,scopes:ne,clientId:W,clientSecret:G,username:F,password:"",passwordType:H}}render(){let{schema:p,getComponent:d,authSelectors:g,errSelectors:E,name:O,specSelectors:k}=this.props;const N=d("Input"),D=d("Row"),F=d("Col"),W=d("Button"),G=d("authError"),H=d("JumpToPath",!0),ne=d("Markdown",!0),le=d("InitializedInput"),{isOAS3:ae}=k;let Re=ae()?p.get("openIdConnectUrl"):null;const Oe="implicit",Me="password",ve=ae()?Re?"authorization_code":"authorizationCode":"accessCode",Se=ae()?Re?"client_credentials":"clientCredentials":"application";let Ue=!!(g.getConfigs()||{}).usePkceWithAuthorizationCodeGrant,xe=p.get("flow"),Te=xe===ve&&Ue?xe+" with PKCE":xe,Pe=p.get("allowedScopes")||p.get("scopes"),je=!!g.authorized().get(O),Ze=E.allErrors().filter(Ve=>Ve.get("authId")===O),it=!Ze.filter(Ve=>Ve.get("source")==="validation").size,we=p.get("description");return f.default.createElement("div",null,f.default.createElement("h4",null,O," (OAuth2, ",Te,") ",f.default.createElement(H,{path:["securityDefinitions",O]})),this.state.appName?f.default.createElement("h5",null,"Application: ",this.state.appName," "):null,we&&f.default.createElement(ne,{source:p.get("description")}),je&&f.default.createElement("h6",null,"Authorized"),Re&&f.default.createElement("p",null,"OpenID Connect URL: ",f.default.createElement("code",null,Re)),(xe===Oe||xe===ve)&&f.default.createElement("p",null,"Authorization URL: ",f.default.createElement("code",null,p.get("authorizationUrl"))),(xe===Me||xe===ve||xe===Se)&&f.default.createElement("p",null,"Token URL:",f.default.createElement("code",null," ",p.get("tokenUrl"))),f.default.createElement("p",{className:"flow"},"Flow: ",f.default.createElement("code",null,Te)),xe!==Me?null:f.default.createElement(D,null,f.default.createElement(D,null,f.default.createElement("label",{htmlFor:"oauth_username"},"username:"),je?f.default.createElement("code",null," ",this.state.username," "):f.default.createElement(F,{tablet:10,desktop:10},f.default.createElement("input",{id:"oauth_username",type:"text","data-name":"username",onChange:this.onInputChange,autoFocus:!0}))),f.default.createElement(D,null,f.default.createElement("label",{htmlFor:"oauth_password"},"password:"),je?f.default.createElement("code",null," ****** "):f.default.createElement(F,{tablet:10,desktop:10},f.default.createElement("input",{id:"oauth_password",type:"password","data-name":"password",onChange:this.onInputChange}))),f.default.createElement(D,null,f.default.createElement("label",{htmlFor:"password_type"},"Client credentials location:"),je?f.default.createElement("code",null," ",this.state.passwordType," "):f.default.createElement(F,{tablet:10,desktop:10},f.default.createElement("select",{id:"password_type","data-name":"passwordType",onChange:this.onInputChange},f.default.createElement("option",{value:"basic"},"Authorization header"),f.default.createElement("option",{value:"request-body"},"Request body"))))),(xe===Se||xe===Oe||xe===ve||xe===Me)&&(!je||je&&this.state.clientId)&&f.default.createElement(D,null,f.default.createElement("label",{htmlFor:`client_id_${xe}`},"client_id:"),je?f.default.createElement("code",null," ****** "):f.default.createElement(F,{tablet:10,desktop:10},f.default.createElement(le,{id:`client_id_${xe}`,type:"text",required:xe===Me,initialValue:this.state.clientId,"data-name":"clientId",onChange:this.onInputChange}))),(xe===Se||xe===ve||xe===Me)&&f.default.createElement(D,null,f.default.createElement("label",{htmlFor:`client_secret_${xe}`},"client_secret:"),je?f.default.createElement("code",null," ****** "):f.default.createElement(F,{tablet:10,desktop:10},f.default.createElement(le,{id:`client_secret_${xe}`,initialValue:this.state.clientSecret,type:"password","data-name":"clientSecret",onChange:this.onInputChange}))),!je&&Pe&&Pe.size?f.default.createElement("div",{className:"scopes"},f.default.createElement("h2",null,"Scopes:",f.default.createElement("a",{onClick:this.selectScopes,"data-all":!0},"select all"),f.default.createElement("a",{onClick:this.selectScopes},"select none")),Pe.map((Ve,tt)=>f.default.createElement(D,{key:tt},f.default.createElement("div",{className:"checkbox"},f.default.createElement(N,{"data-value":tt,id:`${tt}-${xe}-checkbox-${this.state.name}`,disabled:je,checked:this.state.scopes.includes(tt),type:"checkbox",onChange:this.onScopeChange}),f.default.createElement("label",{htmlFor:`${tt}-${xe}-checkbox-${this.state.name}`},f.default.createElement("span",{className:"item"}),f.default.createElement("div",{className:"text"},f.default.createElement("p",{className:"name"},tt),f.default.createElement("p",{className:"description"},Ve)))))).toArray()):null,Ze.valueSeq().map((Ve,tt)=>f.default.createElement(G,{error:Ve,key:tt})),f.default.createElement("div",{className:"auth-btn-wrapper"},it&&(je?f.default.createElement(W,{className:"btn modal-btn auth authorize",onClick:this.logout,"aria-label":"Remove authorization"},"Logout"):f.default.createElement(W,{className:"btn modal-btn auth authorize",onClick:this.authorize,"aria-label":"Apply given OAuth2 credentials"},"Authorize")),f.default.createElement(W,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close")))}}class MV extends f.Component{constructor(){super(...arguments);ie(this,"onClick",()=>{let{specActions:p,path:d,method:g}=this.props;p.clearResponse(d,g),p.clearRequest(d,g)})}render(){return f.default.createElement("button",{className:"btn btn-clear opblock-control__btn",onClick:this.onClick},"Clear")}}const DV=({headers:a})=>f.default.createElement("div",null,f.default.createElement("h5",null,"Response headers"),f.default.createElement("pre",{className:"microlight"},a)),FV=({duration:a})=>f.default.createElement("div",null,f.default.createElement("h5",null,"Request duration"),f.default.createElement("pre",{className:"microlight"},a," ms"));class LV extends f.default.Component{shouldComponentUpdate(u){return this.props.response!==u.response||this.props.path!==u.path||this.props.method!==u.method||this.props.displayRequestDuration!==u.displayRequestDuration}render(){const{response:u,getComponent:p,getConfigs:d,displayRequestDuration:g,specSelectors:E,path:O,method:k}=this.props,{showMutatedRequest:N,requestSnippetsEnabled:D}=d(),F=N?E.mutatedRequestFor(O,k):E.requestFor(O,k),W=u.get("status"),G=F.get("url"),H=u.get("headers").toJS(),ne=u.get("notDocumented"),le=u.get("error"),ae=u.get("text"),Re=u.get("duration"),Oe=Object.keys(H),Me=H["content-type"]||H["Content-Type"],ve=p("responseBody"),Se=Oe.map(je=>{var Ze=Array.isArray(H[je])?H[je].join():H[je];return f.default.createElement("span",{className:"headerline",key:je}," ",je,": ",Ze," ")}),Ue=Se.length!==0,xe=p("Markdown",!0),Te=p("RequestSnippets",!0),Pe=p("curl");return f.default.createElement("div",null,F&&(D===!0||D==="true"?f.default.createElement(Te,{request:F}):f.default.createElement(Pe,{request:F,getConfigs:d})),G&&f.default.createElement("div",null,f.default.createElement("div",{className:"request-url"},f.default.createElement("h4",null,"Request URL"),f.default.createElement("pre",{className:"microlight"},G))),f.default.createElement("h4",null,"Server response"),f.default.createElement("table",{className:"responses-table live-responses-table"},f.default.createElement("thead",null,f.default.createElement("tr",{className:"responses-header"},f.default.createElement("td",{className:"col_header response-col_status"},"Code"),f.default.createElement("td",{className:"col_header response-col_description"},"Details"))),f.default.createElement("tbody",null,f.default.createElement("tr",{className:"response"},f.default.createElement("td",{className:"response-col_status"},W,ne?f.default.createElement("div",{className:"response-undocumented"},f.default.createElement("i",null," Undocumented ")):null),f.default.createElement("td",{className:"response-col_description"},le?f.default.createElement(xe,{source:`${u.get("name")!==""?`${u.get("name")}: `:""}${u.get("message")}`}):null,ae?f.default.createElement(ve,{content:ae,contentType:Me,url:G,headers:H,getConfigs:d,getComponent:p}):null,Ue?f.default.createElement(DV,{headers:Se}):null,g&&Re?f.default.createElement(FV,{duration:Re}):null)))))}}class pk extends f.default.Component{constructor(p,d){super(p,d);ie(this,"getDefinitionUrl",()=>{let{specSelectors:p}=this.props;return new Ss.default(p.url(),We.location).toString()});let{getConfigs:g}=p,{validatorUrl:E}=g();this.state={url:this.getDefinitionUrl(),validatorUrl:E===void 0?"https://validator.swagger.io/validator":E}}UNSAFE_componentWillReceiveProps(p){let{getConfigs:d}=p,{validatorUrl:g}=d();this.setState({url:this.getDefinitionUrl(),validatorUrl:g===void 0?"https://validator.swagger.io/validator":g})}render(){let{getConfigs:p}=this.props,{spec:d}=p(),g=tr(this.state.validatorUrl);return typeof d=="object"&&Object.keys(d).length?null:this.state.url&&Vi(this.state.validatorUrl)&&Vi(this.state.url)?f.default.createElement("span",{className:"float-right"},f.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:`${g}/debug?url=${encodeURIComponent(this.state.url)}`},f.default.createElement(BV,{src:`${g}?url=${encodeURIComponent(this.state.url)}`,alt:"Online validator badge"}))):null}}class BV extends f.default.Component{constructor(u){super(u),this.state={loaded:!1,error:!1}}componentDidMount(){const u=new Image;u.onload=()=>{this.setState({loaded:!0})},u.onerror=()=>{this.setState({error:!0})},u.src=this.props.src}UNSAFE_componentWillReceiveProps(u){if(u.src!==this.props.src){const p=new Image;p.onload=()=>{this.setState({loaded:!0})},p.onerror=()=>{this.setState({error:!0})},p.src=u.src}}render(){return this.state.error?f.default.createElement("img",{alt:"Error"}):this.state.loaded?f.default.createElement("img",{src:this.props.src,alt:this.props.alt}):null}}class UV extends f.default.Component{constructor(){super(...arguments);ie(this,"renderOperationTag",(p,d)=>{const{specSelectors:g,getComponent:E,oas3Selectors:O,layoutSelectors:k,layoutActions:N,getConfigs:D}=this.props,F=g.validOperationMethods(),W=E("OperationContainer",!0),G=E("OperationTag"),H=p.get("operations");return f.default.createElement(G,{key:"operation-"+d,tagObj:p,tag:d,oas3Selectors:O,layoutSelectors:k,layoutActions:N,getConfigs:D,getComponent:E,specUrl:g.url()},f.default.createElement("div",{className:"operation-tag-content"},H.map(ne=>{const le=ne.get("path"),ae=ne.get("method"),Re=L.default.List(["paths",le,ae]);return F.indexOf(ae)===-1?null:f.default.createElement(W,{key:`${le}-${ae}`,specPath:Re,op:ne,path:le,method:ae,tag:d})}).toArray()))})}render(){let{specSelectors:p}=this.props;const d=p.taggedOperations();return d.size===0?f.default.createElement("h3",null," No operations defined in spec!"):f.default.createElement("div",null,d.map(this.renderOperationTag).toArray(),d.size<1?f.default.createElement("h3",null," No operations defined in spec! "):null)}}function Yb(a){return a.match(/^(?:[a-z]+:)?\/\//i)}function VV(a,u){return a?Yb(a)?function(d){return d.match(/^\/\//i)?`${window.location.protocol}${d}`:d}(a):new URL(a,u).href:u}function _s(a,u,{selectedServer:p=""}={}){try{return function(g,E,{selectedServer:O=""}={}){if(!g)return;if(Yb(g))return g;const k=VV(O,E);return Yb(k)?new URL(g,k).href:new URL(g,window.location.href).href}(a,u,{selectedServer:p})}catch{return}}class dk extends f.default.Component{render(){const{tagObj:u,tag:p,children:d,oas3Selectors:g,layoutSelectors:E,layoutActions:O,getConfigs:k,getComponent:N,specUrl:D}=this.props;let{docExpansion:F,deepLinking:W}=k();const G=W&&W!=="false",H=N("Collapse"),ne=N("Markdown",!0),le=N("DeepLink"),ae=N("Link"),Re=N("ArrowUpIcon"),Oe=N("ArrowDownIcon");let Me,ve=u.getIn(["tagDetails","description"],null),Se=u.getIn(["tagDetails","externalDocs","description"]),Ue=u.getIn(["tagDetails","externalDocs","url"]);Me=vt(g)&&vt(g.selectedServer)?_s(Ue,D,{selectedServer:g.selectedServer()}):Ue;let xe=["operations-tag",p],Te=E.isShown(xe,F==="full"||F==="list");return f.default.createElement("div",{className:Te?"opblock-tag-section is-open":"opblock-tag-section"},f.default.createElement("h3",{onClick:()=>O.show(xe,!Te),className:ve?"opblock-tag":"opblock-tag no-desc",id:xe.map(Pe=>Ls(Pe)).join("-"),"data-tag":p,"data-is-open":Te},f.default.createElement(le,{enabled:G,isShown:Te,path:xi(p),text:p}),ve?f.default.createElement("small",null,f.default.createElement(ne,{source:ve})):f.default.createElement("small",null),Me?f.default.createElement("div",{className:"info__externaldocs"},f.default.createElement("small",null,f.default.createElement(ae,{href:tr(Me),onClick:Pe=>Pe.stopPropagation(),target:"_blank"},Se||Me))):null,f.default.createElement("button",{"aria-expanded":Te,className:"expand-operation",title:Te?"Collapse operation":"Expand operation",onClick:()=>O.show(xe,!Te)},Te?f.default.createElement(Re,{className:"arrow"}):f.default.createElement(Oe,{className:"arrow"}))),f.default.createElement(H,{isOpened:Te},d))}}ie(dk,"defaultProps",{tagObj:L.default.fromJS({}),tag:""});var hk;function Xb(){return Xb=Object.assign?Object.assign.bind():function(a){for(var u=1;uf.createElement("svg",Xb({xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"rolling-load_svg__lds-rolling",preserveAspectRatio:"xMidYMid",style:{backgroundImage:"none",backgroundPosition:"initial initial",backgroundRepeat:"initial initial"},viewBox:"0 0 100 100"},a),hk||(hk=f.createElement("circle",{cx:50,cy:50,r:35,fill:"none",stroke:"#555",strokeDasharray:"164.93361431346415 56.97787143782138",strokeWidth:10},f.createElement("animateTransform",{attributeName:"transform",begin:"0s",calcMode:"linear",dur:"1s",keyTimes:"0;1",repeatCount:"indefinite",type:"rotate",values:"0 50 50;360 50 50"}))));class gk extends f.PureComponent{render(){let{specPath:u,response:p,request:d,toggleShown:g,onTryoutClick:E,onResetClick:O,onCancelClick:k,onExecute:N,fn:D,getComponent:F,getConfigs:W,specActions:G,specSelectors:H,authActions:ne,authSelectors:le,oas3Actions:ae,oas3Selectors:Re}=this.props,Oe=this.props.operation,{deprecated:Me,isShown:ve,path:Se,method:Ue,op:xe,tag:Te,operationId:Pe,allowTryItOut:je,displayRequestDuration:Ze,tryItOutEnabled:it,executeInProgress:we}=Oe.toJS(),{description:Ve,externalDocs:tt,schemes:Mt}=xe;const rr=tt?_s(tt.url,H.url(),{selectedServer:Re.selectedServer()}):"";let Jt=Oe.getIn(["op"]),fr=Jt.get("responses"),qe=function(wa,Qi){if(!L.default.Iterable.isIterable(wa))return L.default.List();let kl=wa.getIn(Array.isArray(Qi)?Qi:[Qi]);return L.default.List.isList(kl)?kl:L.default.List()}(Jt,["parameters"]),gt=H.operationScheme(Se,Ue),xt=["operations",Te,Pe],Wt=Es(Jt);const $t=F("responses"),kt=F("parameters"),bt=F("execute"),or=F("clear"),Jr=F("Collapse"),pn=F("Markdown",!0),Xi=F("schemes"),Po=F("OperationServers"),Ci=F("OperationExt"),Ol=F("OperationSummary"),Cl=F("Link"),{showExtensions:cp}=W();if(fr&&p&&p.size>0){let Pn=!fr.get(String(p.get("status")))&&!fr.get("default");p=p.set("notDocumented",Pn)}let Vu=[Se,Ue];const $l=H.validationErrors([Se,Ue]);return f.default.createElement("div",{className:Me?"opblock opblock-deprecated":ve?`opblock opblock-${Ue} is-open`:`opblock opblock-${Ue}`,id:Ls(xt.join("-"))},f.default.createElement(Ol,{operationProps:Oe,isShown:ve,toggleShown:g,getComponent:F,authActions:ne,authSelectors:le,specPath:u}),f.default.createElement(Jr,{isOpened:ve},f.default.createElement("div",{className:"opblock-body"},Jt&&Jt.size||Jt===null?null:f.default.createElement(mk,{height:"32px",width:"32px",className:"opblock-loading-animation"}),Me&&f.default.createElement("h4",{className:"opblock-title_normal"}," Warning: Deprecated"),Ve&&f.default.createElement("div",{className:"opblock-description-wrapper"},f.default.createElement("div",{className:"opblock-description"},f.default.createElement(pn,{source:Ve}))),rr?f.default.createElement("div",{className:"opblock-external-docs-wrapper"},f.default.createElement("h4",{className:"opblock-title_normal"},"Find more details"),f.default.createElement("div",{className:"opblock-external-docs"},tt.description&&f.default.createElement("span",{className:"opblock-external-docs__description"},f.default.createElement(pn,{source:tt.description})),f.default.createElement(Cl,{target:"_blank",className:"opblock-external-docs__link",href:tr(rr)},rr))):null,Jt&&Jt.size?f.default.createElement(kt,{parameters:qe,specPath:u.push("parameters"),operation:Jt,onChangeKey:Vu,onTryoutClick:E,onResetClick:O,onCancelClick:k,tryItOutEnabled:it,allowTryItOut:je,fn:D,getComponent:F,specActions:G,specSelectors:H,pathMethod:[Se,Ue],getConfigs:W,oas3Actions:ae,oas3Selectors:Re}):null,it?f.default.createElement(Po,{getComponent:F,path:Se,method:Ue,operationServers:Jt.get("servers"),pathServers:H.paths().getIn([Se,"servers"]),getSelectedServer:Re.selectedServer,setSelectedServer:ae.setSelectedServer,setServerVariableValue:ae.setServerVariableValue,getServerVariable:Re.serverVariableValue,getEffectiveServerValue:Re.serverEffectiveValue}):null,it&&je&&Mt&&Mt.size?f.default.createElement("div",{className:"opblock-schemes"},f.default.createElement(Xi,{schemes:Mt,path:Se,method:Ue,specActions:G,currentScheme:gt})):null,!it||!je||$l.length<=0?null:f.default.createElement("div",{className:"validation-errors errors-wrapper"},"Please correct the following validation errors and try again.",f.default.createElement("ul",null,$l.map((Pn,wa)=>f.default.createElement("li",{key:wa}," ",Pn," ")))),f.default.createElement("div",{className:it&&p&&je?"btn-group":"execute-wrapper"},it&&je?f.default.createElement(bt,{operation:Jt,specActions:G,specSelectors:H,oas3Selectors:Re,oas3Actions:ae,path:Se,method:Ue,onExecute:N,disabled:we}):null,it&&p&&je?f.default.createElement(or,{specActions:G,path:Se,method:Ue}):null),we?f.default.createElement("div",{className:"loading-container"},f.default.createElement("div",{className:"loading"})):null,fr?f.default.createElement($t,{responses:fr,request:d,tryItOutResponse:p,getComponent:F,getConfigs:W,specSelectors:H,oas3Actions:ae,oas3Selectors:Re,specActions:G,produces:H.producesOptionsFor([Se,Ue]),producesValue:H.currentProducesFor([Se,Ue]),specPath:u.push("responses"),path:Se,method:Ue,displayRequestDuration:Ze,fn:D}):null,cp&&Wt.size?f.default.createElement(Ci,{extensions:Wt,getComponent:F}):null)))}}ie(gk,"defaultProps",{operation:null,response:null,request:null,specPath:(0,L.List)(),summary:""});class yk extends f.PureComponent{constructor(p,d){super(p,d);ie(this,"toggleShown",()=>{let{layoutActions:p,tag:d,operationId:g,isShown:E}=this.props;const O=this.getResolvedSubtree();E||O!==void 0||this.requestResolvedSubtree(),p.show(["operations",d,g],!E)});ie(this,"onCancelClick",()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})});ie(this,"onTryoutClick",()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})});ie(this,"onResetClick",p=>{const d=this.props.oas3Selectors.selectDefaultRequestBodyValue(...p);this.props.oas3Actions.setRequestBodyValue({value:d,pathMethod:p})});ie(this,"onExecute",()=>{this.setState({executeInProgress:!0})});ie(this,"getResolvedSubtree",()=>{const{specSelectors:p,path:d,method:g,specPath:E}=this.props;return E?p.specResolvedSubtree(E.toJS()):p.specResolvedSubtree(["paths",d,g])});ie(this,"requestResolvedSubtree",()=>{const{specActions:p,path:d,method:g,specPath:E}=this.props;return E?p.requestResolvedSubtree(E.toJS()):p.requestResolvedSubtree(["paths",d,g])});const{tryItOutEnabled:g}=p.getConfigs();this.state={tryItOutEnabled:g===!0||g==="true",executeInProgress:!1}}mapStateToProps(p,d){const{op:g,layoutSelectors:E,getConfigs:O}=d,{docExpansion:k,deepLinking:N,displayOperationId:D,displayRequestDuration:F,supportedSubmitMethods:W}=O(),G=E.showSummary(),H=g.getIn(["operation","__originalOperationId"])||g.getIn(["operation","operationId"])||(0,G$.opId)(g.get("operation"),d.path,d.method)||g.get("id"),ne=["operations",d.tag,H],le=N&&N!=="false",ae=W.indexOf(d.method)>=0&&(d.allowTryItOut===void 0?d.specSelectors.allowTryItOutFor(d.path,d.method):d.allowTryItOut),Re=g.getIn(["operation","security"])||d.specSelectors.security();return{operationId:H,isDeepLinkingEnabled:le,showSummary:G,displayOperationId:D,displayRequestDuration:F,allowTryItOut:ae,security:Re,isAuthorized:d.authSelectors.isAuthorized(Re),isShown:E.isShown(ne,k==="full"),jumpToKey:`paths.${d.path}.${d.method}`,response:d.specSelectors.responseFor(d.path,d.method),request:d.specSelectors.requestFor(d.path,d.method)}}componentDidMount(){const{isShown:p}=this.props,d=this.getResolvedSubtree();p&&d===void 0&&this.requestResolvedSubtree()}UNSAFE_componentWillReceiveProps(p){const{response:d,isShown:g}=p,E=this.getResolvedSubtree();d!==this.props.response&&this.setState({executeInProgress:!1}),g&&E===void 0&&this.requestResolvedSubtree()}render(){let{op:p,tag:d,path:g,method:E,security:O,isAuthorized:k,operationId:N,showSummary:D,isShown:F,jumpToKey:W,allowTryItOut:G,response:H,request:ne,displayOperationId:le,displayRequestDuration:ae,isDeepLinkingEnabled:Re,specPath:Oe,specSelectors:Me,specActions:ve,getComponent:Se,getConfigs:Ue,layoutSelectors:xe,layoutActions:Te,authActions:Pe,authSelectors:je,oas3Actions:Ze,oas3Selectors:it,fn:we}=this.props;const Ve=Se("operation"),tt=this.getResolvedSubtree()||(0,L.Map)(),Mt=(0,L.fromJS)({op:tt,tag:d,path:g,summary:p.getIn(["operation","summary"])||"",deprecated:tt.get("deprecated")||p.getIn(["operation","deprecated"])||!1,method:E,security:O,isAuthorized:k,operationId:N,originalOperationId:tt.getIn(["operation","__originalOperationId"]),showSummary:D,isShown:F,jumpToKey:W,allowTryItOut:G,request:ne,displayOperationId:le,displayRequestDuration:ae,isDeepLinkingEnabled:Re,executeInProgress:this.state.executeInProgress,tryItOutEnabled:this.state.tryItOutEnabled});return f.default.createElement(Ve,{operation:Mt,response:H,request:ne,isShown:F,toggleShown:this.toggleShown,onTryoutClick:this.onTryoutClick,onResetClick:this.onResetClick,onCancelClick:this.onCancelClick,onExecute:this.onExecute,specPath:Oe,specActions:ve,specSelectors:Me,oas3Actions:Ze,oas3Selectors:it,layoutActions:Te,layoutSelectors:xe,authActions:Pe,authSelectors:je,getComponent:Se,getConfigs:Ue,fn:we})}}ie(yk,"defaultProps",{showSummary:!0,response:null,allowTryItOut:!0,displayOperationId:!1,displayRequestDuration:!1});var zV=function(a){var u={};return Ce.d(u,a),u}({default:function(){return Eee}});class vk extends f.PureComponent{render(){let{isShown:u,toggleShown:p,getComponent:d,authActions:g,authSelectors:E,operationProps:O,specPath:k}=this.props,{summary:N,isAuthorized:D,method:F,op:W,showSummary:G,path:H,operationId:ne,originalOperationId:le,displayOperationId:ae}=O.toJS(),{summary:Re}=W,Oe=O.get("security");const Me=d("authorizeOperationBtn",!0),ve=d("OperationSummaryMethod"),Se=d("OperationSummaryPath"),Ue=d("JumpToPath",!0),xe=d("CopyToClipboardBtn",!0),Te=d("ArrowUpIcon"),Pe=d("ArrowDownIcon"),je=Oe&&!!Oe.count(),Ze=je&&Oe.size===1&&Oe.first().isEmpty(),it=!je||Ze;return f.default.createElement("div",{className:`opblock-summary opblock-summary-${F}`},f.default.createElement("button",{"aria-expanded":u,className:"opblock-summary-control",onClick:p},f.default.createElement(ve,{method:F}),f.default.createElement("div",{className:"opblock-summary-path-description-wrapper"},f.default.createElement(Se,{getComponent:d,operationProps:O,specPath:k}),G?f.default.createElement("div",{className:"opblock-summary-description"},(0,zV.default)(Re||N)):null),ae&&(le||ne)?f.default.createElement("span",{className:"opblock-summary-operation-id"},le||ne):null),f.default.createElement(xe,{textToCopy:`${k.get(1)}`}),it?null:f.default.createElement(Me,{isAuthorized:D,onClick:()=>{const we=E.definitionsForRequirements(Oe);g.showDefinitions(we)}}),f.default.createElement(Ue,{path:k}),f.default.createElement("button",{"aria-label":`${F} ${H.replace(/\//g,"​/")}`,className:"opblock-control-arrow","aria-expanded":u,tabIndex:"-1",onClick:p},u?f.default.createElement(Te,{className:"arrow"}):f.default.createElement(Pe,{className:"arrow"})))}}ie(vk,"defaultProps",{operationProps:null,specPath:(0,L.List)(),summary:""});class bk extends f.PureComponent{render(){let{method:u}=this.props;return f.default.createElement("span",{className:"opblock-summary-method"},u.toUpperCase())}}ie(bk,"defaultProps",{operationProps:null});class qV extends f.PureComponent{render(){let{getComponent:u,operationProps:p}=this.props,{deprecated:d,isShown:g,path:E,tag:O,operationId:k,isDeepLinkingEnabled:N}=p.toJS();const D=E.split(/(?=\/)/g);for(let W=1;W{let p=u("OperationExtRow");return f.default.createElement("div",{className:"opblock-section"},f.default.createElement("div",{className:"opblock-section-header"},f.default.createElement("h4",null,"Extensions")),f.default.createElement("div",{className:"table-container"},f.default.createElement("table",null,f.default.createElement("thead",null,f.default.createElement("tr",null,f.default.createElement("td",{className:"col_header"},"Field"),f.default.createElement("td",{className:"col_header"},"Value"))),f.default.createElement("tbody",null,a.entrySeq().map(([d,g])=>f.default.createElement(p,{key:`${d}-${g}`,xKey:d,xVal:g}))))))},KV=({xKey:a,xVal:u})=>{const p=u?u.toJS?u.toJS():u:null;return f.default.createElement("tr",null,f.default.createElement("td",null,a),f.default.createElement("td",null,JSON.stringify(p)))},Er=function(a){var u={};return Ce.d(u,a),u}({default:function(){return BUe}}),HV=function(a){var u={};return Ce.d(u,a),u}({default:function(){return VUe}}),JV=({value:a,fileName:u="response.txt",className:p,downloadable:d,getConfigs:g,canCopy:E,language:O})=>{const k=(0,Rt.default)(g)?g():null,N=(0,Wi.default)(k,"syntaxHighlight")!==!1&&(0,Wi.default)(k,"syntaxHighlight.activated",!0),D=(0,f.useRef)(null);(0,f.useEffect)(()=>{const W=Array.from(D.current.childNodes).filter(G=>!!G.nodeType&&G.classList.contains("microlight"));return W.forEach(G=>G.addEventListener("mousewheel",F,{passive:!1})),()=>{W.forEach(G=>G.removeEventListener("mousewheel",F))}},[a,p,O]);const F=W=>{const{target:G,deltaY:H}=W,{scrollHeight:ne,offsetHeight:le,scrollTop:ae}=G;ne>le&&(ae===0&&H<0||le+ae>=ne&&H>0)&&W.preventDefault()};return f.default.createElement("div",{className:"highlight-code",ref:D},E&&f.default.createElement("div",{className:"copy-to-clipboard"},f.default.createElement(Du.CopyToClipboard,{text:a},f.default.createElement("button",null))),d?f.default.createElement("button",{className:"download-contents",onClick:()=>{(0,HV.default)(a,u)}},"Download"):null,N?f.default.createElement(ui.default,{language:O,className:(0,Er.default)(p,"microlight"),style:ct((0,Wi.default)(k,"syntaxHighlight.theme","agate"))},a):f.default.createElement("pre",{className:(0,Er.default)(p,"microlight")},a))};function Qb(a,u="_"){return a.replace(/[^\w-]/g,u)}const Gm=class Gm extends f.default.Component{constructor(){super(...arguments);ie(this,"onChangeProducesWrapper",p=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],p));ie(this,"onResponseContentTypeChange",({controlsAcceptHeader:p,value:d})=>{const{oas3Actions:g,path:E,method:O}=this.props;p&&g.setResponseContentType({value:d,path:E,method:O})})}render(){let{responses:p,tryItOutResponse:d,getComponent:g,getConfigs:E,specSelectors:O,fn:k,producesValue:N,displayRequestDuration:D,specPath:F,path:W,method:G,oas3Selectors:H,oas3Actions:ne}=this.props,le=function(Te){let Pe=Te.keySeq();return Pe.contains(Ke)?Ke:Pe.filter(je=>(je+"")[0]==="2").sort().first()}(p);const ae=g("contentType"),Re=g("liveResponse"),Oe=g("response");let Me=this.props.produces&&this.props.produces.size?this.props.produces:Gm.defaultProps.produces;const ve=O.isOAS3()?function(Te){if(!L.default.OrderedMap.isOrderedMap(Te)||!Te.size)return null;const Pe=Te.find((it,we)=>we.startsWith("2")&&Object.keys(it.get("content")||{}).length>0),je=Te.get("default")||L.default.OrderedMap(),Ze=(je.get("content")||L.default.OrderedMap()).keySeq().toJS().length?je:null;return Pe||Ze}(p):null,Se=Qb(`${G}${W}_responses`),Ue=`${Se}_select`;return f.default.createElement("div",{className:"responses-wrapper"},f.default.createElement("div",{className:"opblock-section-header"},f.default.createElement("h4",null,"Responses"),O.isOAS3()?null:f.default.createElement("label",{htmlFor:Ue},f.default.createElement("span",null,"Response content type"),f.default.createElement(ae,{value:N,ariaControls:Se,ariaLabel:"Response content type",className:"execute-content-type",contentTypes:Me,controlId:Ue,onChange:this.onChangeProducesWrapper}))),f.default.createElement("div",{className:"responses-inner"},d?f.default.createElement("div",null,f.default.createElement(Re,{response:d,getComponent:g,getConfigs:E,specSelectors:O,path:this.props.path,method:this.props.method,displayRequestDuration:D}),f.default.createElement("h4",null,"Responses")):null,f.default.createElement("table",{"aria-live":"polite",className:"responses-table",id:Se,role:"region"},f.default.createElement("thead",null,f.default.createElement("tr",{className:"responses-header"},f.default.createElement("td",{className:"col_header response-col_status"},"Code"),f.default.createElement("td",{className:"col_header response-col_description"},"Description"),O.isOAS3()?f.default.createElement("td",{className:"col col_header response-col_links"},"Links"):null)),f.default.createElement("tbody",null,p.entrySeq().map(([xe,Te])=>{let Pe=d&&d.get("status")==xe?"response_current":"";return f.default.createElement(Oe,{key:xe,path:W,method:G,specPath:F.push(xe),isDefault:le===xe,fn:k,className:Pe,code:xe,response:Te,specSelectors:O,controlsAcceptHeader:Te===ve,onContentTypeChange:this.onResponseContentTypeChange,contentType:N,getConfigs:E,activeExamplesKey:H.activeExamplesMember(W,G,"responses",xe),oas3Actions:ne,getComponent:g})}).toArray()))))}};ie(Gm,"defaultProps",{tryItOutResponse:null,produces:(0,L.fromJS)(["application/json"]),displayRequestDuration:!1});let Zb=Gm;function Dm(a){return function(p){try{return!!JSON.parse(p)}catch{return null}}(a)?"json":null}class Ek extends f.default.Component{constructor(p,d){super(p,d);ie(this,"_onContentTypeChange",p=>{const{onContentTypeChange:d,controlsAcceptHeader:g}=this.props;this.setState({responseContentType:p}),d({value:p,controlsAcceptHeader:g})});ie(this,"getTargetExamplesKey",()=>{const{response:p,contentType:d,activeExamplesKey:g}=this.props,E=this.state.responseContentType||d,O=p.getIn(["content",E],(0,L.Map)({})).get("examples",null).keySeq().first();return g||O});this.state={responseContentType:""}}render(){var kt;let{path:p,method:d,code:g,response:E,className:O,specPath:k,fn:N,getComponent:D,getConfigs:F,specSelectors:W,contentType:G,controlsAcceptHeader:H,oas3Actions:ne}=this.props,{inferSchema:le,getSampleSchema:ae}=N,Re=W.isOAS3();const{showExtensions:Oe}=F();let Me=Oe?Es(E):null,ve=E.get("headers"),Se=E.get("links");const Ue=D("ResponseExtension"),xe=D("headers"),Te=D("highlightCode"),Pe=D("modelExample"),je=D("Markdown",!0),Ze=D("operationLink"),it=D("contentType"),we=D("ExamplesSelect"),Ve=D("Example");var tt,Mt;const rr=this.state.responseContentType||G,Jt=E.getIn(["content",rr],(0,L.Map)({})),fr=Jt.get("examples",null);if(Re){const bt=Jt.get("schema");tt=bt?le(bt.toJS()):null,Mt=bt?(0,L.List)(["content",this.state.responseContentType,"schema"]):k}else tt=E.get("schema"),Mt=E.has("schema")?k.push("schema"):k;let qe,gt,xt=!1,Wt={includeReadOnly:!0};if(Re)if(gt=(kt=Jt.get("schema"))==null?void 0:kt.toJS(),fr){const bt=this.getTargetExamplesKey(),or=Jr=>Jr.get("value");qe=or(fr.get(bt,(0,L.Map)({}))),qe===void 0&&(qe=or(fr.values().next().value)),xt=!0}else Jt.get("example")!==void 0&&(qe=Jt.get("example"),xt=!0);else{gt=tt,Wt={...Wt,includeWriteOnly:!0};const bt=E.getIn(["examples",rr]);bt&&(qe=bt,xt=!0)}let $t=((bt,or,Jr)=>{if(bt!=null){let pn=null;return Dm(bt)&&(pn="json"),f.default.createElement("div",null,f.default.createElement(or,{className:"example",getConfigs:Jr,language:pn,value:vr(bt)}))}return null})(ae(gt,rr,Wt,xt?qe:void 0),Te,F);return f.default.createElement("tr",{className:"response "+(O||""),"data-code":g},f.default.createElement("td",{className:"response-col_status"},g),f.default.createElement("td",{className:"response-col_description"},f.default.createElement("div",{className:"response-col_description__inner"},f.default.createElement(je,{source:E.get("description")})),Oe&&Me.size?Me.entrySeq().map(([bt,or])=>f.default.createElement(Ue,{key:`${bt}-${or}`,xKey:bt,xVal:or})):null,Re&&E.get("content")?f.default.createElement("section",{className:"response-controls"},f.default.createElement("div",{className:(0,Er.default)("response-control-media-type",{"response-control-media-type--accept-controller":H})},f.default.createElement("small",{className:"response-control-media-type__title"},"Media type"),f.default.createElement(it,{value:this.state.responseContentType,contentTypes:E.get("content")?E.get("content").keySeq():(0,L.Seq)(),onChange:this._onContentTypeChange,ariaLabel:"Media Type"}),H?f.default.createElement("small",{className:"response-control-media-type__accept-message"},"Controls ",f.default.createElement("code",null,"Accept")," header."):null),fr?f.default.createElement("div",{className:"response-control-examples"},f.default.createElement("small",{className:"response-control-examples__title"},"Examples"),f.default.createElement(we,{examples:fr,currentExampleKey:this.getTargetExamplesKey(),onSelect:bt=>ne.setActiveExamplesMember({name:bt,pathMethod:[p,d],contextType:"responses",contextName:g}),showLabels:!1})):null):null,$t||tt?f.default.createElement(Pe,{specPath:Mt,getComponent:D,getConfigs:F,specSelectors:W,schema:Ct(tt),example:$t,includeReadOnly:!0}):null,Re&&fr?f.default.createElement(Ve,{example:fr.get(this.getTargetExamplesKey(),(0,L.Map)({})),getComponent:D,getConfigs:F,omitValue:!0}):null,ve?f.default.createElement(xe,{headers:ve,getComponent:D}):null),Re?f.default.createElement("td",{className:"response-col_links"},Se?Se.toSeq().entrySeq().map(([bt,or])=>f.default.createElement(Ze,{key:bt,name:bt,link:or,getComponent:D})):f.default.createElement("i",null,"No links")):null)}}ie(Ek,"defaultProps",{response:(0,L.fromJS)({}),onContentTypeChange:()=>{}});var GV=({xKey:a,xVal:u})=>f.default.createElement("div",{className:"response__extension"},a,": ",String(u)),YV=function(a){var u={};return Ce.d(u,a),u}({default:function(){return QUe}}),Sk=function(a){var u={};return Ce.d(u,a),u}({default:function(){return r5e}});class XV extends f.default.PureComponent{constructor(){super(...arguments);ie(this,"state",{parsedContent:null});ie(this,"updateParsedContent",p=>{const{content:d}=this.props;if(p!==d)if(d&&d instanceof Blob){var g=new FileReader;g.onload=()=>{this.setState({parsedContent:g.result})},g.readAsText(d)}else this.setState({parsedContent:d.toString()})})}componentDidMount(){this.updateParsedContent(null)}componentDidUpdate(p){this.updateParsedContent(p.content)}render(){let{content:p,contentType:d,url:g,headers:E={},getConfigs:O,getComponent:k}=this.props;const{parsedContent:N}=this.state,D=k("highlightCode"),F="response_"+new Date().getTime();let W,G;if(g=g||"",(/^application\/octet-stream/i.test(d)||E["Content-Disposition"]&&/attachment/i.test(E["Content-Disposition"])||E["content-disposition"]&&/attachment/i.test(E["content-disposition"])||E["Content-Description"]&&/File Transfer/i.test(E["Content-Description"])||E["content-description"]&&/File Transfer/i.test(E["content-description"]))&&(p.size>0||p.length>0))if("Blob"in window){let H=d||"text/html",ne=p instanceof Blob?p:new Blob([p],{type:H}),le=window.URL.createObjectURL(ne),ae=[H,g.substr(g.lastIndexOf("/")+1),le].join(":"),Re=E["content-disposition"]||E["Content-Disposition"];if(Re!==void 0){let Oe=function(ve){let Se;if([/filename\*=[^']+'\w*'"([^"]+)";?/i,/filename\*=[^']+'\w*'([^;]+);?/i,/filename="([^;]*);?"/i,/filename=([^;]*);?/i].some(Ue=>(Se=Ue.exec(ve),Se!==null)),Se!==null&&Se.length>1)try{return decodeURIComponent(Se[1])}catch(Ue){console.error(Ue)}return null}(Re);Oe!==null&&(ae=Oe)}G=We.navigator&&We.navigator.msSaveOrOpenBlob?f.default.createElement("div",null,f.default.createElement("a",{href:le,onClick:()=>We.navigator.msSaveOrOpenBlob(ne,ae)},"Download file")):f.default.createElement("div",null,f.default.createElement("a",{href:le,download:ae},"Download file"))}else G=f.default.createElement("pre",{className:"microlight"},"Download headers detected but your browser does not support downloading binary via XHR (Blob).");else if(/json/i.test(d)){let H=null;Dm(p)&&(H="json");try{W=JSON.stringify(JSON.parse(p),null," ")}catch{W=`can't parse JSON. Raw result: + +`+p}G=f.default.createElement(D,{language:H,downloadable:!0,fileName:`${F}.json`,value:W,getConfigs:O,canCopy:!0})}else/xml/i.test(d)?(W=(0,YV.default)(p,{textNodesOnSameLine:!0,indentor:" "}),G=f.default.createElement(D,{downloadable:!0,fileName:`${F}.xml`,value:W,getConfigs:O,canCopy:!0})):G=(0,Sk.default)(d)==="text/html"||/text\/plain/.test(d)?f.default.createElement(D,{downloadable:!0,fileName:`${F}.html`,value:p,getConfigs:O,canCopy:!0}):(0,Sk.default)(d)==="text/csv"||/text\/csv/.test(d)?f.default.createElement(D,{downloadable:!0,fileName:`${F}.csv`,value:p,getConfigs:O,canCopy:!0}):/^image\//i.test(d)?d.includes("svg")?f.default.createElement("div",null," ",p," "):f.default.createElement("img",{src:window.URL.createObjectURL(p)}):/^audio\//i.test(d)?f.default.createElement("pre",{className:"microlight"},f.default.createElement("audio",{controls:!0,key:g},f.default.createElement("source",{src:g,type:d}))):typeof p=="string"?f.default.createElement(D,{downloadable:!0,fileName:`${F}.txt`,value:p,getConfigs:O,canCopy:!0}):p.size>0?N?f.default.createElement("div",null,f.default.createElement("p",{className:"i"},"Unrecognized response type; displaying content as text."),f.default.createElement(D,{downloadable:!0,fileName:`${F}.txt`,value:N,getConfigs:O,canCopy:!0})):f.default.createElement("p",{className:"i"},"Unrecognized response type; unable to display."):null;return G?f.default.createElement("div",null,f.default.createElement("h5",null,"Response body"),G):null}}class wk extends f.Component{constructor(p){super(p);ie(this,"onChange",(p,d,g)=>{let{specActions:{changeParamByIdentity:E},onChangeKey:O}=this.props;E(O,p,d,g)});ie(this,"onChangeConsumesWrapper",p=>{let{specActions:{changeConsumesValue:d},onChangeKey:g}=this.props;d(g,p)});ie(this,"toggleTab",p=>p==="parameters"?this.setState({parametersVisible:!0,callbackVisible:!1}):p==="callbacks"?this.setState({callbackVisible:!0,parametersVisible:!1}):void 0);ie(this,"onChangeMediaType",({value:p,pathMethod:d})=>{let{specActions:g,oas3Selectors:E,oas3Actions:O}=this.props;const k=E.hasUserEditedBody(...d),N=E.shouldRetainRequestBodyValue(...d);O.setRequestContentType({value:p,pathMethod:d}),O.initRequestBodyValidateError({pathMethod:d}),k||(N||O.setRequestBodyValue({value:void 0,pathMethod:d}),g.clearResponse(...d),g.clearRequest(...d),g.clearValidateParams(d))});this.state={callbackVisible:!1,parametersVisible:!0}}render(){let{onTryoutClick:p,onResetClick:d,parameters:g,allowTryItOut:E,tryItOutEnabled:O,specPath:k,fn:N,getComponent:D,getConfigs:F,specSelectors:W,specActions:G,pathMethod:H,oas3Actions:ne,oas3Selectors:le,operation:ae}=this.props;const Re=D("parameterRow"),Oe=D("TryItOutButton"),Me=D("contentType"),ve=D("Callbacks",!0),Se=D("RequestBody",!0),Ue=O&&E,xe=W.isOAS3(),Te=`${Qb(`${H[1]}${H[0]}_requests`)}_select`,Pe=ae.get("requestBody"),je=Object.values(g.reduce((Ze,it)=>{const we=it.get("in");return Ze[we]??(Ze[we]=[]),Ze[we].push(it),Ze},{})).reduce((Ze,it)=>Ze.concat(it),[]);return f.default.createElement("div",{className:"opblock-section"},f.default.createElement("div",{className:"opblock-section-header"},xe?f.default.createElement("div",{className:"tab-header"},f.default.createElement("div",{onClick:()=>this.toggleTab("parameters"),className:`tab-item ${this.state.parametersVisible&&"active"}`},f.default.createElement("h4",{className:"opblock-title"},f.default.createElement("span",null,"Parameters"))),ae.get("callbacks")?f.default.createElement("div",{onClick:()=>this.toggleTab("callbacks"),className:`tab-item ${this.state.callbackVisible&&"active"}`},f.default.createElement("h4",{className:"opblock-title"},f.default.createElement("span",null,"Callbacks"))):null):f.default.createElement("div",{className:"tab-header"},f.default.createElement("h4",{className:"opblock-title"},"Parameters")),E?f.default.createElement(Oe,{isOAS3:W.isOAS3(),hasUserEditedBody:le.hasUserEditedBody(...H),enabled:O,onCancelClick:this.props.onCancelClick,onTryoutClick:p,onResetClick:()=>d(H)}):null),this.state.parametersVisible?f.default.createElement("div",{className:"parameters-container"},je.length?f.default.createElement("div",{className:"table-container"},f.default.createElement("table",{className:"parameters"},f.default.createElement("thead",null,f.default.createElement("tr",null,f.default.createElement("th",{className:"col_header parameters-col_name"},"Name"),f.default.createElement("th",{className:"col_header parameters-col_description"},"Description"))),f.default.createElement("tbody",null,je.map((Ze,it)=>f.default.createElement(Re,{fn:N,specPath:k.push(it.toString()),getComponent:D,getConfigs:F,rawParam:Ze,param:W.parameterWithMetaByIdentity(H,Ze),key:`${Ze.get("in")}.${Ze.get("name")}`,onChange:this.onChange,onChangeConsumes:this.onChangeConsumesWrapper,specSelectors:W,specActions:G,oas3Actions:ne,oas3Selectors:le,pathMethod:H,isExecute:Ue}))))):f.default.createElement("div",{className:"opblock-description-wrapper"},f.default.createElement("p",null,"No parameters"))):null,this.state.callbackVisible?f.default.createElement("div",{className:"callbacks-container opblock-description-wrapper"},f.default.createElement(ve,{callbacks:(0,L.Map)(ae.get("callbacks")),specPath:k.slice(0,-1).push("callbacks")})):null,xe&&Pe&&this.state.parametersVisible&&f.default.createElement("div",{className:"opblock-section opblock-section-request-body"},f.default.createElement("div",{className:"opblock-section-header"},f.default.createElement("h4",{className:`opblock-title parameter__name ${Pe.get("required")&&"required"}`},"Request body"),f.default.createElement("label",{id:Te},f.default.createElement(Me,{value:le.requestContentType(...H),contentTypes:Pe.get("content",(0,L.List)()).keySeq(),onChange:Ze=>{this.onChangeMediaType({value:Ze,pathMethod:H})},className:"body-param-content-type",ariaLabel:"Request content type",controlId:Te}))),f.default.createElement("div",{className:"opblock-description-wrapper"},f.default.createElement(Se,{setRetainRequestBodyValueFlag:Ze=>ne.setRetainRequestBodyValueFlag({value:Ze,pathMethod:H}),userHasEditedBody:le.hasUserEditedBody(...H),specPath:k.slice(0,-1).push("requestBody"),requestBody:Pe,requestBodyValue:le.requestBodyValue(...H),requestBodyInclusionSetting:le.requestBodyInclusionSetting(...H),requestBodyErrors:le.requestBodyErrors(...H),isExecute:Ue,getConfigs:F,activeExamplesKey:le.activeExamplesMember(...H,"requestBody","requestBody"),updateActiveExamplesKey:Ze=>{this.props.oas3Actions.setActiveExamplesMember({name:Ze,pathMethod:this.props.pathMethod,contextType:"requestBody",contextName:"requestBody"})},onChange:(Ze,it)=>{if(it){const we=le.requestBodyValue(...H),Ve=L.Map.isMap(we)?we:(0,L.Map)();return ne.setRequestBodyValue({pathMethod:H,value:Ve.setIn(it,Ze)})}ne.setRequestBodyValue({value:Ze,pathMethod:H})},onChangeIncludeEmpty:(Ze,it)=>{ne.setRequestBodyInclusion({pathMethod:H,value:it,name:Ze})},contentType:le.requestContentType(...H)}))))}}ie(wk,"defaultProps",{onTryoutClick:Function.prototype,onCancelClick:Function.prototype,tryItOutEnabled:!1,allowTryItOut:!0,onChangeKey:[],specPath:[]});var QV=({xKey:a,xVal:u})=>f.default.createElement("div",{className:"parameter__extension"},a,": ",String(u));const ZV={onChange:()=>{},isIncludedOptions:{}};class _k extends f.Component{constructor(){super(...arguments);ie(this,"onCheckboxChange",p=>{const{onChange:d}=this.props;d(p.target.checked)})}componentDidMount(){const{isIncludedOptions:p,onChange:d}=this.props,{shouldDispatchInit:g,defaultValue:E}=p;g&&d(E)}render(){let{isIncluded:p,isDisabled:d}=this.props;return f.default.createElement("div",null,f.default.createElement("label",{htmlFor:"include_empty_value",className:(0,Er.default)("parameter__empty_value_toggle",{disabled:d})},f.default.createElement("input",{id:"include_empty_value",type:"checkbox",disabled:d,checked:!d&&p,onChange:this.onCheckboxChange}),"Send empty value"))}}ie(_k,"defaultProps",ZV);class e7 extends f.Component{constructor(p,d){super(p,d);ie(this,"onChangeWrapper",(p,d=!1)=>{let g,{onChange:E,rawParam:O}=this.props;return g=p===""||p&&p.size===0?null:p,E(O,g,d)});ie(this,"_onExampleSelect",p=>{this.props.oas3Actions.setActiveExamplesMember({name:p,pathMethod:this.props.pathMethod,contextType:"parameters",contextName:this.getParamKey()})});ie(this,"onChangeIncludeEmpty",p=>{let{specActions:d,param:g,pathMethod:E}=this.props;const O=g.get("name"),k=g.get("in");return d.updateEmptyParamInclusion(E,O,k,p)});ie(this,"setDefaultValue",()=>{let{specSelectors:p,pathMethod:d,rawParam:g,oas3Selectors:E,fn:O}=this.props;const k=p.parameterWithMetaByIdentity(d,g)||(0,L.Map)(),{schema:N}=ue(k,{isOAS3:p.isOAS3()}),D=k.get("content",(0,L.Map)()).keySeq().first(),F=N?O.getSampleSchema(N.toJS(),D,{includeWriteOnly:!0}):null;if(k&&k.get("value")===void 0&&k.get("in")!=="body"){let W;if(p.isSwagger2())W=k.get("x-example")!==void 0?k.get("x-example"):k.getIn(["schema","example"])!==void 0?k.getIn(["schema","example"]):N&&N.getIn(["default"]);else if(p.isOAS3()){const G=E.activeExamplesMember(...d,"parameters",this.getParamKey());W=k.getIn(["examples",G,"value"])!==void 0?k.getIn(["examples",G,"value"]):k.getIn(["content",D,"example"])!==void 0?k.getIn(["content",D,"example"]):k.get("example")!==void 0?k.get("example"):(N&&N.get("example"))!==void 0?N&&N.get("example"):(N&&N.get("default"))!==void 0?N&&N.get("default"):k.get("default")}W===void 0||L.List.isList(W)||(W=vr(W)),W!==void 0?this.onChangeWrapper(W):N&&N.get("type")==="object"&&F&&!k.get("examples")&&this.onChangeWrapper(L.List.isList(F)?F:vr(F))}});this.setDefaultValue()}UNSAFE_componentWillReceiveProps(p){let d,{specSelectors:g,pathMethod:E,rawParam:O}=p,k=g.isOAS3(),N=g.parameterWithMetaByIdentity(E,O)||new L.Map;if(N=N.isEmpty()?O:N,k){let{schema:W}=ue(N,{isOAS3:k});d=W?W.get("enum"):void 0}else d=N?N.get("enum"):void 0;let D,F=N?N.get("value"):void 0;F!==void 0?D=F:O.get("required")&&d&&d.size&&(D=d.first()),D!==void 0&&D!==F&&this.onChangeWrapper(function(G){return typeof G=="number"?G.toString():G}(D)),this.setDefaultValue()}getParamKey(){const{param:p}=this.props;return p?`${p.get("name")}-${p.get("in")}`:null}render(){let{param:p,rawParam:d,getComponent:g,getConfigs:E,isExecute:O,fn:k,onChangeConsumes:N,specSelectors:D,pathMethod:F,specPath:W,oas3Selectors:G}=this.props,H=D.isOAS3();const{showExtensions:ne,showCommonExtensions:le}=E();if(p||(p=d),!d)return null;const ae=g("JsonSchemaForm"),Re=g("ParamBody");let Oe=p.get("in"),Me=Oe!=="body"?null:f.default.createElement(Re,{getComponent:g,getConfigs:E,fn:k,param:p,consumes:D.consumesOptionsFor(F),consumesValue:D.contentTypeValues(F).get("requestContentType"),onChange:this.onChangeWrapper,onChangeConsumes:N,isExecute:O,specSelectors:D,pathMethod:F});const ve=g("modelExample"),Se=g("Markdown",!0),Ue=g("ParameterExt"),xe=g("ParameterIncludeEmpty"),Te=g("ExamplesSelectValueRetainer"),Pe=g("Example");let je,Ze,it,we,{schema:Ve}=ue(p,{isOAS3:H}),tt=D.parameterWithMetaByIdentity(F,d)||(0,L.Map)(),Mt=Ve?Ve.get("format"):null,rr=Ve?Ve.get("type"):null,Jt=Ve?Ve.getIn(["items","type"]):null,fr=Oe==="formData",qe="FormData"in We,gt=p.get("required"),xt=tt?tt.get("value"):"",Wt=le?tn(Ve):null,$t=ne?Es(p):null,kt=!1;return p!==void 0&&Ve&&(je=Ve.get("items")),je!==void 0?(Ze=je.get("enum"),it=je.get("default")):Ve&&(Ze=Ve.get("enum")),Ze&&Ze.size&&Ze.size>0&&(kt=!0),p!==void 0&&(Ve&&(it=Ve.get("default")),it===void 0&&(it=p.get("default")),we=p.get("example"),we===void 0&&(we=p.get("x-example"))),f.default.createElement("tr",{"data-param-name":p.get("name"),"data-param-in":p.get("in")},f.default.createElement("td",{className:"parameters-col_name"},f.default.createElement("div",{className:gt?"parameter__name required":"parameter__name"},p.get("name"),gt?f.default.createElement("span",null," *"):null),f.default.createElement("div",{className:"parameter__type"},rr,Jt&&`[${Jt}]`,Mt&&f.default.createElement("span",{className:"prop-format"},"($",Mt,")")),f.default.createElement("div",{className:"parameter__deprecated"},H&&p.get("deprecated")?"deprecated":null),f.default.createElement("div",{className:"parameter__in"},"(",p.get("in"),")"),le&&Wt.size?Wt.entrySeq().map(([bt,or])=>f.default.createElement(Ue,{key:`${bt}-${or}`,xKey:bt,xVal:or})):null,ne&&$t.size?$t.entrySeq().map(([bt,or])=>f.default.createElement(Ue,{key:`${bt}-${or}`,xKey:bt,xVal:or})):null),f.default.createElement("td",{className:"parameters-col_description"},p.get("description")?f.default.createElement(Se,{source:p.get("description")}):null,!Me&&O||!kt?null:f.default.createElement(Se,{className:"parameter__enum",source:"Available values : "+Ze.map(function(bt){return bt}).toArray().join(", ")}),!Me&&O||it===void 0?null:f.default.createElement(Se,{className:"parameter__default",source:"Default value : "+it}),!Me&&O||we===void 0?null:f.default.createElement(Se,{source:"Example : "+we}),fr&&!qe&&f.default.createElement("div",null,"Error: your browser does not support FormData"),H&&p.get("examples")?f.default.createElement("section",{className:"parameter-controls"},f.default.createElement(Te,{examples:p.get("examples"),onSelect:this._onExampleSelect,updateValue:this.onChangeWrapper,getComponent:g,defaultToFirstExample:!0,currentKey:G.activeExamplesMember(...F,"parameters",this.getParamKey()),currentUserInputValue:xt})):null,Me?null:f.default.createElement(ae,{fn:k,getComponent:g,value:xt,required:gt,disabled:!O,description:p.get("name"),onChange:this.onChangeWrapper,errors:tt.get("errors"),schema:Ve}),Me&&Ve?f.default.createElement(ve,{getComponent:g,specPath:W.push("schema"),getConfigs:E,isExecute:O,specSelectors:D,schema:Ve,example:Me,includeWriteOnly:!0}):null,!Me&&O&&p.get("allowEmptyValue")?f.default.createElement(xe,{onChange:this.onChangeIncludeEmpty,isIncluded:D.parameterInclusionSettingFor(F,p.get("name"),p.get("in")),isDisabled:!pl(xt)}):null,H&&p.get("examples")?f.default.createElement(Pe,{example:p.getIn(["examples",G.activeExamplesMember(...F,"parameters",this.getParamKey())]),getComponent:g,getConfigs:E}):null))}}class t7 extends f.Component{constructor(){super(...arguments);ie(this,"handleValidateParameters",()=>{let{specSelectors:p,specActions:d,path:g,method:E}=this.props;return d.validateParams([g,E]),p.validateBeforeExecute([g,E])});ie(this,"handleValidateRequestBody",()=>{let{path:p,method:d,specSelectors:g,oas3Selectors:E,oas3Actions:O}=this.props,k={missingBodyValue:!1,missingRequiredKeys:[]};O.clearRequestBodyValidateError({path:p,method:d});let N=g.getOAS3RequiredRequestBodyContentType([p,d]),D=E.requestBodyValue(p,d),F=E.validateBeforeExecute([p,d]),W=E.requestContentType(p,d);if(!F)return k.missingBodyValue=!0,O.setRequestBodyValidateError({path:p,method:d,validationErrors:k}),!1;if(!N)return!0;let G=E.validateShallowRequired({oas3RequiredRequestBodyContentType:N,oas3RequestContentType:W,oas3RequestBodyValue:D});return!G||G.length<1||(G.forEach(H=>{k.missingRequiredKeys.push(H)}),O.setRequestBodyValidateError({path:p,method:d,validationErrors:k}),!1)});ie(this,"handleValidationResultPass",()=>{let{specActions:p,operation:d,path:g,method:E}=this.props;this.props.onExecute&&this.props.onExecute(),p.execute({operation:d,path:g,method:E})});ie(this,"handleValidationResultFail",()=>{let{specActions:p,path:d,method:g}=this.props;p.clearValidateParams([d,g]),setTimeout(()=>{p.validateParams([d,g])},40)});ie(this,"handleValidationResult",p=>{p?this.handleValidationResultPass():this.handleValidationResultFail()});ie(this,"onClick",()=>{let p=this.handleValidateParameters(),d=this.handleValidateRequestBody(),g=p&&d;this.handleValidationResult(g)});ie(this,"onChangeProducesWrapper",p=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],p))}render(){const{disabled:p}=this.props;return f.default.createElement("button",{className:"btn execute opblock-control__btn",onClick:this.onClick,disabled:p},"Execute")}}class r7 extends f.default.Component{render(){let{headers:u,getComponent:p}=this.props;const d=p("Property"),g=p("Markdown",!0);return u&&u.size?f.default.createElement("div",{className:"headers-wrapper"},f.default.createElement("h4",{className:"headers__title"},"Headers:"),f.default.createElement("table",{className:"headers"},f.default.createElement("thead",null,f.default.createElement("tr",{className:"header-row"},f.default.createElement("th",{className:"header-col"},"Name"),f.default.createElement("th",{className:"header-col"},"Description"),f.default.createElement("th",{className:"header-col"},"Type"))),f.default.createElement("tbody",null,u.entrySeq().map(([E,O])=>{if(!L.default.Map.isMap(O))return null;const k=O.get("description"),N=O.getIn(["schema"])?O.getIn(["schema","type"]):O.getIn(["type"]),D=O.getIn(["schema","example"]);return f.default.createElement("tr",{key:E},f.default.createElement("td",{className:"header-col"},E),f.default.createElement("td",{className:"header-col"},k?f.default.createElement(g,{source:k}):null),f.default.createElement("td",{className:"header-col"},N," ",D?f.default.createElement(d,{propKey:"Example",propVal:D,propClass:"header-example"}):null))}).toArray()))):null}}class n7 extends f.default.Component{render(){let{editorActions:u,errSelectors:p,layoutSelectors:d,layoutActions:g,getComponent:E}=this.props;const O=E("Collapse");if(u&&u.jumpToLine)var k=u.jumpToLine;let N=p.allErrors().filter(W=>W.get("type")==="thrown"||W.get("level")==="error");if(!N||N.count()<1)return null;let D=d.isShown(["errorPane"],!0),F=N.sortBy(W=>W.get("line"));return f.default.createElement("pre",{className:"errors-wrapper"},f.default.createElement("hgroup",{className:"error"},f.default.createElement("h4",{className:"errors__title"},"Errors"),f.default.createElement("button",{className:"btn errors__clear-btn",onClick:()=>g.show(["errorPane"],!D)},D?"Hide":"Show")),f.default.createElement(O,{isOpened:D,animated:!0},f.default.createElement("div",{className:"errors"},F.map((W,G)=>{let H=W.get("type");return H==="thrown"||H==="auth"?f.default.createElement(i7,{key:G,error:W.get("error")||W,jumpToLine:k}):H==="spec"?f.default.createElement(s7,{key:G,error:W,jumpToLine:k}):void 0}))))}}const i7=({error:a,jumpToLine:u})=>{if(!a)return null;let p=a.get("line");return f.default.createElement("div",{className:"error-wrapper"},a?f.default.createElement("div",null,f.default.createElement("h4",null,a.get("source")&&a.get("level")?xk(a.get("source"))+" "+a.get("level"):"",a.get("path")?f.default.createElement("small",null," at ",a.get("path")):null),f.default.createElement("span",{className:"message thrown"},a.get("message")),f.default.createElement("div",{className:"error-line"},p&&u?f.default.createElement("a",{onClick:u.bind(null,p)},"Jump to line ",p):null)):null)},s7=({error:a,jumpToLine:u=null})=>{let p=null;return a.get("path")?p=L.List.isList(a.get("path"))?f.default.createElement("small",null,"at ",a.get("path").join(".")):f.default.createElement("small",null,"at ",a.get("path")):a.get("line")&&!u&&(p=f.default.createElement("small",null,"on line ",a.get("line"))),f.default.createElement("div",{className:"error-wrapper"},a?f.default.createElement("div",null,f.default.createElement("h4",null,xk(a.get("source"))+" "+a.get("level")," ",p),f.default.createElement("span",{className:"message"},a.get("message")),f.default.createElement("div",{className:"error-line"},u?f.default.createElement("a",{onClick:u.bind(null,a.get("line"))},"Jump to line ",a.get("line")):null)):null)};function xk(a){return(a||"").split(" ").map(u=>u[0].toUpperCase()+u.slice(1)).join(" ")}const o7=()=>{};class Ak extends f.default.Component{constructor(){super(...arguments);ie(this,"onChangeWrapper",p=>this.props.onChange(p.target.value))}componentDidMount(){this.props.contentTypes&&this.props.onChange(this.props.contentTypes.first())}UNSAFE_componentWillReceiveProps(p){p.contentTypes&&p.contentTypes.size&&(p.contentTypes.includes(p.value)||p.onChange(p.contentTypes.first()))}render(){let{ariaControls:p,ariaLabel:d,className:g,contentTypes:E,controlId:O,value:k}=this.props;return E&&E.size?f.default.createElement("div",{className:"content-type-wrapper "+(g||"")},f.default.createElement("select",{"aria-controls":p,"aria-label":d,className:"content-type",id:O,onChange:this.onChangeWrapper,value:k||""},E.map(N=>f.default.createElement("option",{key:N,value:N},N)).toArray())):null}}ie(Ak,"defaultProps",{onChange:o7,value:null,contentTypes:(0,L.fromJS)(["application/json"])});function ep(...a){return a.filter(u=>!!u).join(" ").trim()}class a7 extends f.default.Component{render(){let{fullscreen:u,full:p,...d}=this.props;if(u)return f.default.createElement("section",d);let g="swagger-container"+(p?"-full":"");return f.default.createElement("section",(0,Kt.default)({},d,{className:ep(d.className,g)}))}}const eE={mobile:"",tablet:"-tablet",desktop:"-desktop",large:"-hd"};class l7 extends f.default.Component{render(){const{hide:u,keepContents:p,mobile:d,tablet:g,desktop:E,large:O,...k}=this.props;if(u&&!p)return f.default.createElement("span",null);let N=[];for(let F in eE){if(!Object.prototype.hasOwnProperty.call(eE,F))continue;let W=eE[F];if(F in this.props){let G=this.props[F];if(G<1){N.push("none"+W);continue}N.push("block"+W),N.push("col-"+G+W)}}u&&N.push("hidden");let D=ep(k.className,...N);return f.default.createElement("section",(0,Kt.default)({},k,{className:D}))}}class u7 extends f.default.Component{render(){return f.default.createElement("div",(0,Kt.default)({},this.props,{className:ep(this.props.className,"wrapper")}))}}class Ok extends f.default.Component{render(){return f.default.createElement("button",(0,Kt.default)({},this.props,{className:ep(this.props.className,"button")}))}}ie(Ok,"defaultProps",{className:""});const c7=a=>f.default.createElement("textarea",a),f7=a=>f.default.createElement("input",a);class Ck extends f.default.Component{constructor(p,d){let g;super(p,d);ie(this,"onChange",p=>{let d,{onChange:g,multiple:E}=this.props,O=[].slice.call(p.target.options);d=E?O.filter(function(k){return k.selected}).map(function(k){return k.value}):p.target.value,this.setState({value:d}),g&&g(d)});g=p.value?p.value:p.multiple?[""]:"",this.state={value:g}}UNSAFE_componentWillReceiveProps(p){p.value!==this.props.value&&this.setState({value:p.value})}render(){var k,N;let{allowedValues:p,multiple:d,allowEmptyValue:g,disabled:E}=this.props,O=((N=(k=this.state.value)==null?void 0:k.toJS)==null?void 0:N.call(k))||this.state.value;return f.default.createElement("select",{className:this.props.className,multiple:d,value:O,onChange:this.onChange,disabled:E},g?f.default.createElement("option",{value:""},"--"):null,p.map(function(D,F){return f.default.createElement("option",{key:F,value:String(D)},String(D))}))}}ie(Ck,"defaultProps",{multiple:!1,allowEmptyValue:!0});class $k extends f.default.Component{render(){return f.default.createElement("a",(0,Kt.default)({},this.props,{rel:"noopener noreferrer",className:ep(this.props.className,"link")}))}}const kk=({children:a})=>f.default.createElement("div",{className:"no-margin"}," ",a," ");class Tk extends f.default.Component{renderNotAnimated(){return this.props.isOpened?f.default.createElement(kk,null,this.props.children):f.default.createElement("noscript",null)}render(){let{animated:u,isOpened:p,children:d}=this.props;return u?(d=p?d:null,f.default.createElement(kk,null,d)):this.renderNotAnimated()}}ie(Tk,"defaultProps",{isOpened:!1,animated:!1});class p7 extends f.default.Component{constructor(...u){super(...u),this.setTagShown=this._setTagShown.bind(this)}_setTagShown(u,p){this.props.layoutActions.show(u,p)}showOp(u,p){let{layoutActions:d}=this.props;d.show(u,p)}render(){let{specSelectors:u,layoutSelectors:p,layoutActions:d,getComponent:g}=this.props,E=u.taggedOperations();const O=g("Collapse");return f.default.createElement("div",null,f.default.createElement("h4",{className:"overview-title"},"Overview"),E.map((k,N)=>{let D=k.get("operations"),F=["overview-tags",N],W=p.isShown(F,!0);return f.default.createElement("div",{key:"overview-"+N},f.default.createElement("h4",{onClick:()=>d.show(F,!W),className:"link overview-tag"}," ",W?"-":"+",N),f.default.createElement(O,{isOpened:W,animated:!0},D.map(G=>{let{path:H,method:ne,id:le}=G.toObject(),ae="operations",Re=le,Oe=p.isShown([ae,Re]);return f.default.createElement(d7,{key:le,path:H,method:ne,id:H+"-"+ne,shown:Oe,showOpId:Re,showOpIdPrefix:ae,href:`#operation-${Re}`,onClick:d.show})}).toArray()))}).toArray(),E.size<1&&f.default.createElement("h3",null," No operations defined in spec! "))}}class d7 extends f.default.Component{constructor(u){super(u),this.onClick=this._onClick.bind(this)}_onClick(){let{showOpId:u,showOpIdPrefix:p,onClick:d,shown:g}=this.props;d([p,u],!g)}render(){let{id:u,method:p,shown:d,href:g}=this.props;return f.default.createElement($k,{href:g,onClick:this.onClick,className:"block opblock-link "+(d?"shown":"")},f.default.createElement("div",null,f.default.createElement("small",{className:`bold-label-${p}`},p.toUpperCase()),f.default.createElement("span",{className:"bold-label"},u)))}}class h7 extends f.default.Component{componentDidMount(){this.props.initialValue&&(this.inputRef.value=this.props.initialValue)}render(){const{value:u,defaultValue:p,initialValue:d,...g}=this.props;return f.default.createElement("input",(0,Kt.default)({},g,{ref:E=>this.inputRef=E}))}}class m7 extends f.default.Component{render(){const{host:u,basePath:p}=this.props;return f.default.createElement("pre",{className:"base-url"},"[ Base URL: ",u,p," ]")}}class g7 extends f.default.PureComponent{render(){const{url:u,getComponent:p}=this.props,d=p("Link");return f.default.createElement(d,{target:"_blank",href:tr(u)},f.default.createElement("span",{className:"url"}," ",u))}}class y7 extends f.default.Component{render(){const{info:u,url:p,host:d,basePath:g,getComponent:E,externalDocs:O,selectedServer:k,url:N}=this.props,D=u.get("version"),F=u.get("description"),W=u.get("title"),G=_s(u.get("termsOfService"),N,{selectedServer:k}),H=u.get("contact"),ne=u.get("license"),le=_s(O&&O.get("url"),N,{selectedServer:k}),ae=O&&O.get("description"),Re=E("Markdown",!0),Oe=E("Link"),Me=E("VersionStamp"),ve=E("OpenAPIVersion"),Se=E("InfoUrl"),Ue=E("InfoBasePath"),xe=E("License"),Te=E("Contact");return f.default.createElement("div",{className:"info"},f.default.createElement("hgroup",{className:"main"},f.default.createElement("h2",{className:"title"},W,f.default.createElement("span",null,D&&f.default.createElement(Me,{version:D}),f.default.createElement(ve,{oasVersion:"2.0"}))),d||g?f.default.createElement(Ue,{host:d,basePath:g}):null,p&&f.default.createElement(Se,{getComponent:E,url:p})),f.default.createElement("div",{className:"description"},f.default.createElement(Re,{source:F})),G&&f.default.createElement("div",{className:"info__tos"},f.default.createElement(Oe,{target:"_blank",href:tr(G)},"Terms of service")),(H==null?void 0:H.size)>0&&f.default.createElement(Te,{getComponent:E,data:H,selectedServer:k,url:p}),(ne==null?void 0:ne.size)>0&&f.default.createElement(xe,{getComponent:E,license:ne,selectedServer:k,url:p}),le?f.default.createElement(Oe,{className:"info__extdocs",target:"_blank",href:tr(le)},ae||le):null)}}var v7=y7;class b7 extends f.default.Component{render(){const{specSelectors:u,getComponent:p,oas3Selectors:d}=this.props,g=u.info(),E=u.url(),O=u.basePath(),k=u.host(),N=u.externalDocs(),D=d.selectedServer(),F=p("info");return f.default.createElement("div",null,g&&g.count()?f.default.createElement(F,{info:g,url:E,host:k,basePath:O,externalDocs:N,getComponent:p,selectedServer:D}):null)}}class E7 extends f.default.Component{render(){const{data:u,getComponent:p,selectedServer:d,url:g}=this.props,E=u.get("name","the developer"),O=_s(u.get("url"),g,{selectedServer:d}),k=u.get("email"),N=p("Link");return f.default.createElement("div",{className:"info__contact"},O&&f.default.createElement("div",null,f.default.createElement(N,{href:tr(O),target:"_blank"},E," - Website")),k&&f.default.createElement(N,{href:tr(`mailto:${k}`)},O?`Send email to ${E}`:`Contact ${E}`))}}var S7=E7;class w7 extends f.default.Component{render(){const{license:u,getComponent:p,selectedServer:d,url:g}=this.props,E=u.get("name","License"),O=_s(u.get("url"),g,{selectedServer:d}),k=p("Link");return f.default.createElement("div",{className:"info__license"},O?f.default.createElement("div",{className:"info__license__url"},f.default.createElement(k,{target:"_blank",href:tr(O)},E)):f.default.createElement("span",null,E))}}var _7=w7;class x7 extends f.default.Component{render(){return null}}class A7 extends f.default.Component{render(){let{getComponent:u}=this.props;const p=u("CopyIcon");return f.default.createElement("div",{className:"view-line-link copy-to-clipboard",title:"Copy to clipboard"},f.default.createElement(Du.CopyToClipboard,{text:this.props.textToCopy},f.default.createElement(p,null)))}}class O7 extends f.default.Component{render(){return f.default.createElement("div",{className:"footer"})}}class C7 extends f.default.Component{constructor(){super(...arguments);ie(this,"onFilterChange",p=>{const{target:{value:d}}=p;this.props.layoutActions.updateFilter(d)})}render(){const{specSelectors:p,layoutSelectors:d,getComponent:g}=this.props,E=g("Col"),O=p.loadingStatus()==="loading",k=p.loadingStatus()==="failed",N=d.currentFilter(),D=["operation-filter-input"];return k&&D.push("failed"),O&&D.push("loading"),f.default.createElement("div",null,N===null||N===!1||N==="false"?null:f.default.createElement("div",{className:"filter-container"},f.default.createElement(E,{className:"filter wrapper",mobile:12},f.default.createElement("input",{className:D.join(" "),placeholder:"Filter by tag",type:"text",onChange:this.onFilterChange,value:N===!0||N==="true"?"":N,disabled:O}))))}}const tE=Function.prototype,Ym=class Ym extends f.PureComponent{constructor(p,d){super(p,d);ie(this,"updateValues",p=>{let{param:d,isExecute:g,consumesValue:E=""}=p,O=/xml/i.test(E),k=/json/i.test(E),N=O?d.get("value_xml"):d.get("value");if(N!==void 0){let D=!N&&k?"{}":N;this.setState({value:D}),this.onChange(D,{isXml:O,isEditBox:g})}else O?this.onChange(this.sample("xml"),{isXml:O,isEditBox:g}):this.onChange(this.sample(),{isEditBox:g})});ie(this,"sample",p=>{let{param:d,fn:g}=this.props,E=g.inferSchema(d.toJS());return g.getSampleSchema(E,p,{includeWriteOnly:!0})});ie(this,"onChange",(p,{isEditBox:d,isXml:g})=>{this.setState({value:p,isEditBox:d}),this._onChange(p,g)});ie(this,"_onChange",(p,d)=>{(this.props.onChange||tE)(p,d)});ie(this,"handleOnChange",p=>{const{consumesValue:d}=this.props,g=/xml/i.test(d),E=p.target.value;this.onChange(E,{isXml:g,isEditBox:this.state.isEditBox})});ie(this,"toggleIsEditBox",()=>this.setState(p=>({isEditBox:!p.isEditBox})));this.state={isEditBox:!1,value:""}}componentDidMount(){this.updateValues.call(this,this.props)}UNSAFE_componentWillReceiveProps(p){this.updateValues.call(this,p)}render(){let{onChangeConsumes:p,param:d,isExecute:g,specSelectors:E,pathMethod:O,getConfigs:k,getComponent:N}=this.props;const D=N("Button"),F=N("TextArea"),W=N("highlightCode"),G=N("contentType");let H=(E?E.parameterWithMetaByIdentity(O,d):d).get("errors",(0,L.List)()),ne=E.contentTypeValues(O).get("requestContentType"),le=this.props.consumes&&this.props.consumes.size?this.props.consumes:Ym.defaultProp.consumes,{value:ae,isEditBox:Re}=this.state,Oe=null;Dm(ae)&&(Oe="json");const Me=`${Qb(`${O[1]}${O[0]}_parameters`)}_select`;return f.default.createElement("div",{className:"body-param","data-param-name":d.get("name"),"data-param-in":d.get("in")},Re&&g?f.default.createElement(F,{className:"body-param__text"+(H.count()?" invalid":""),value:ae,onChange:this.handleOnChange}):ae&&f.default.createElement(W,{className:"body-param__example",language:Oe,getConfigs:k,value:ae}),f.default.createElement("div",{className:"body-param-options"},g?f.default.createElement("div",{className:"body-param-edit"},f.default.createElement(D,{className:Re?"btn cancel body-param__example-edit":"btn edit body-param__example-edit",onClick:this.toggleIsEditBox},Re?"Cancel":"Edit")):null,f.default.createElement("label",{htmlFor:Me},f.default.createElement("span",null,"Parameter content type"),f.default.createElement(G,{value:ne,contentTypes:le,onChange:p,className:"body-param-content-type",ariaLabel:"Parameter content type",controlId:Me}))))}};ie(Ym,"defaultProp",{consumes:(0,L.fromJS)(["application/json"]),param:(0,L.fromJS)({}),onChange:tE,onChangeConsumes:tE});let rE=Ym;class $7 extends f.default.Component{render(){let{request:u,getConfigs:p}=this.props,d=fn(u);const g=p(),E=(0,Wi.default)(g,"syntaxHighlight.activated")?f.default.createElement(ui.default,{language:"bash",className:"curl microlight",style:ct((0,Wi.default)(g,"syntaxHighlight.theme"))},d):f.default.createElement("textarea",{readOnly:!0,className:"curl",value:d});return f.default.createElement("div",{className:"curl-command"},f.default.createElement("h4",null,"Curl"),f.default.createElement("div",{className:"copy-to-clipboard"},f.default.createElement(Du.CopyToClipboard,{text:d},f.default.createElement("button",null))),f.default.createElement("div",null,E))}}class k7 extends f.default.Component{constructor(){super(...arguments);ie(this,"onChange",p=>{this.setScheme(p.target.value)});ie(this,"setScheme",p=>{let{path:d,method:g,specActions:E}=this.props;E.setScheme(p,d,g)})}UNSAFE_componentWillMount(){let{schemes:p}=this.props;this.setScheme(p.first())}UNSAFE_componentWillReceiveProps(p){this.props.currentScheme&&p.schemes.includes(this.props.currentScheme)||this.setScheme(p.schemes.first())}render(){let{schemes:p,currentScheme:d}=this.props;return f.default.createElement("label",{htmlFor:"schemes"},f.default.createElement("span",{className:"schemes-title"},"Schemes"),f.default.createElement("select",{onChange:this.onChange,value:d,id:"schemes"},p.valueSeq().map(g=>f.default.createElement("option",{value:g,key:g},g)).toArray()))}}class T7 extends f.default.Component{render(){const{specActions:u,specSelectors:p,getComponent:d}=this.props,g=p.operationScheme(),E=p.schemes(),O=d("schemes");return E&&E.size?f.default.createElement(O,{currentScheme:g,schemes:E,specActions:u}):null}}const Xm=class Xm extends f.Component{constructor(p,d){super(p,d);ie(this,"toggleCollapsed",()=>{this.props.onToggle&&this.props.onToggle(this.props.modelName,!this.state.expanded),this.setState({expanded:!this.state.expanded})});ie(this,"onLoad",p=>{if(p&&this.props.layoutSelectors){const d=this.props.layoutSelectors.getScrollToKey();L.default.is(d,this.props.specPath)&&this.toggleCollapsed(),this.props.layoutActions.readyToScroll(this.props.specPath,p.parentElement)}});let{expanded:g,collapsedContent:E}=this.props;this.state={expanded:g,collapsedContent:E||Xm.defaultProps.collapsedContent}}componentDidMount(){const{hideSelfOnExpand:p,expanded:d,modelName:g}=this.props;p&&d&&this.props.onToggle(g,d)}UNSAFE_componentWillReceiveProps(p){this.props.expanded!==p.expanded&&this.setState({expanded:p.expanded})}render(){const{title:p,classes:d}=this.props;return this.state.expanded&&this.props.hideSelfOnExpand?f.default.createElement("span",{className:d||""},this.props.children):f.default.createElement("span",{className:d||"",ref:this.onLoad},f.default.createElement("button",{"aria-expanded":this.state.expanded,className:"model-box-control",onClick:this.toggleCollapsed},p&&f.default.createElement("span",{className:"pointer"},p),f.default.createElement("span",{className:"model-toggle"+(this.state.expanded?"":" collapsed")}),!this.state.expanded&&f.default.createElement("span",null,this.state.collapsedContent)),this.state.expanded&&this.props.children)}};ie(Xm,"defaultProps",{collapsedContent:"{...}",expanded:!1,title:null,onToggle:()=>{},hideSelfOnExpand:!1,specPath:L.default.List([])});let nE=Xm;class P7 extends f.default.Component{constructor(p,d){super(p,d);ie(this,"activeTab",p=>{let{target:{dataset:{name:d}}}=p;this.setState({activeTab:d})});let{getConfigs:g,isExecute:E}=this.props,{defaultModelRendering:O}=g(),k=O;O!=="example"&&O!=="model"&&(k="example"),E&&(k="example"),this.state={activeTab:k}}UNSAFE_componentWillReceiveProps(p){p.isExecute&&!this.props.isExecute&&this.props.example&&this.setState({activeTab:"example"})}render(){let{getComponent:p,specSelectors:d,schema:g,example:E,isExecute:O,getConfigs:k,specPath:N,includeReadOnly:D,includeWriteOnly:F}=this.props,{defaultModelExpandDepth:W}=k();const G=p("ModelWrapper"),H=p("highlightCode"),ne=T()(5).toString("base64"),le=T()(5).toString("base64"),ae=T()(5).toString("base64"),Re=T()(5).toString("base64");let Oe=d.isOAS3();return f.default.createElement("div",{className:"model-example"},f.default.createElement("ul",{className:"tab",role:"tablist"},f.default.createElement("li",{className:(0,Er.default)("tabitem",{active:this.state.activeTab==="example"}),role:"presentation"},f.default.createElement("button",{"aria-controls":le,"aria-selected":this.state.activeTab==="example",className:"tablinks","data-name":"example",id:ne,onClick:this.activeTab,role:"tab"},O?"Edit Value":"Example Value")),g&&f.default.createElement("li",{className:(0,Er.default)("tabitem",{active:this.state.activeTab==="model"}),role:"presentation"},f.default.createElement("button",{"aria-controls":Re,"aria-selected":this.state.activeTab==="model",className:(0,Er.default)("tablinks",{inactive:O}),"data-name":"model",id:ae,onClick:this.activeTab,role:"tab"},Oe?"Schema":"Model"))),this.state.activeTab==="example"&&f.default.createElement("div",{"aria-hidden":this.state.activeTab!=="example","aria-labelledby":ne,"data-name":"examplePanel",id:le,role:"tabpanel",tabIndex:"0"},E||f.default.createElement(H,{value:"(no example available)",getConfigs:k})),this.state.activeTab==="model"&&f.default.createElement("div",{"aria-hidden":this.state.activeTab==="example","aria-labelledby":ae,"data-name":"modelPanel",id:Re,role:"tabpanel",tabIndex:"0"},f.default.createElement(G,{schema:g,getComponent:p,getConfigs:k,specSelectors:d,expandDepth:W,specPath:N,includeReadOnly:D,includeWriteOnly:F})))}}class R7 extends f.Component{constructor(){super(...arguments);ie(this,"onToggle",(p,d)=>{this.props.layoutActions&&this.props.layoutActions.show(this.props.fullPath,d)})}render(){let{getComponent:p,getConfigs:d}=this.props;const g=p("Model");let E;return this.props.layoutSelectors&&(E=this.props.layoutSelectors.isShown(this.props.fullPath)),f.default.createElement("div",{className:"model-box"},f.default.createElement(g,(0,Kt.default)({},this.props,{getConfigs:d,expanded:E,depth:1,onToggle:this.onToggle,expandDepth:this.props.expandDepth||0})))}}var I7=function(a){var u={};return Ce.d(u,a),u}({default:function(){return h5e}});const Pk=a=>{const u=a.replace(/~1/g,"/").replace(/~0/g,"~");try{return decodeURIComponent(u)}catch{return u}};class iE extends I7.default{constructor(){super(...arguments);ie(this,"getModelName",p=>p.indexOf("#/definitions/")!==-1?Pk(p.replace(/^.*#\/definitions\//,"")):p.indexOf("#/components/schemas/")!==-1?Pk(p.replace(/^.*#\/components\/schemas\//,"")):void 0);ie(this,"getRefSchema",p=>{let{specSelectors:d}=this.props;return d.findDefinition(p)})}render(){let{getComponent:p,getConfigs:d,specSelectors:g,schema:E,required:O,name:k,isRef:N,specPath:D,displayName:F,includeReadOnly:W,includeWriteOnly:G}=this.props;const H=p("ObjectModel"),ne=p("ArrayModel"),le=p("PrimitiveModel");let ae="object",Re=E&&E.get("$$ref"),Oe=E&&E.get("$ref");if(!k&&Re&&(k=this.getModelName(Re)),Oe){k=this.getModelName(Oe);const ve=this.getRefSchema(k);L.Map.isMap(ve)?(E=ve.set("$$ref",Oe),Re=Oe):(E=null,k=Oe)}if(!E)return f.default.createElement("span",{className:"model model-title"},f.default.createElement("span",{className:"model-title__text"},F||k),!Oe&&f.default.createElement(mk,{height:"20px",width:"20px"}));const Me=g.isOAS3()&&E.get("deprecated");switch(N=N!==void 0?N:!!Re,ae=E&&E.get("type")||ae,ae){case"object":return f.default.createElement(H,(0,Kt.default)({className:"object"},this.props,{specPath:D,getConfigs:d,schema:E,name:k,deprecated:Me,isRef:N,includeReadOnly:W,includeWriteOnly:G}));case"array":return f.default.createElement(ne,(0,Kt.default)({className:"array"},this.props,{getConfigs:d,schema:E,name:k,deprecated:Me,required:O,includeReadOnly:W,includeWriteOnly:G}));default:return f.default.createElement(le,(0,Kt.default)({},this.props,{getComponent:p,getConfigs:d,schema:E,name:k,deprecated:Me,required:O}))}}}ie(iE,"propTypes",{schema:Uf.default.map.isRequired,getComponent:sr.default.func.isRequired,getConfigs:sr.default.func.isRequired,specSelectors:sr.default.object.isRequired,name:sr.default.string,displayName:sr.default.string,isRef:sr.default.bool,required:sr.default.bool,expandDepth:sr.default.number,depth:sr.default.number,specPath:Uf.default.list.isRequired,includeReadOnly:sr.default.bool,includeWriteOnly:sr.default.bool});class N7 extends f.Component{constructor(){super(...arguments);ie(this,"getSchemaBasePath",()=>this.props.specSelectors.isOAS3()?["components","schemas"]:["definitions"]);ie(this,"getCollapsedContent",()=>" ");ie(this,"handleToggle",(p,d)=>{const{layoutActions:g}=this.props;g.show([...this.getSchemaBasePath(),p],d),d&&this.props.specActions.requestResolvedSubtree([...this.getSchemaBasePath(),p])});ie(this,"onLoadModels",p=>{p&&this.props.layoutActions.readyToScroll(this.getSchemaBasePath(),p)});ie(this,"onLoadModel",p=>{if(p){const d=p.getAttribute("data-name");this.props.layoutActions.readyToScroll([...this.getSchemaBasePath(),d],p)}})}render(){let{specSelectors:p,getComponent:d,layoutSelectors:g,layoutActions:E,getConfigs:O}=this.props,k=p.definitions(),{docExpansion:N,defaultModelsExpandDepth:D}=O();if(!k.size||D<0)return null;const F=this.getSchemaBasePath();let W=g.isShown(F,D>0&&N!=="none");const G=p.isOAS3(),H=d("ModelWrapper"),ne=d("Collapse"),le=d("ModelCollapse"),ae=d("JumpToPath",!0),Re=d("ArrowUpIcon"),Oe=d("ArrowDownIcon");return f.default.createElement("section",{className:W?"models is-open":"models",ref:this.onLoadModels},f.default.createElement("h4",null,f.default.createElement("button",{"aria-expanded":W,className:"models-control",onClick:()=>E.show(F,!W)},f.default.createElement("span",null,G?"Schemas":"Models"),W?f.default.createElement(Re,null):f.default.createElement(Oe,null))),f.default.createElement(ne,{isOpened:W},k.entrySeq().map(([Me])=>{const ve=[...F,Me],Se=L.default.List(ve),Ue=p.specResolvedSubtree(ve),xe=p.specJson().getIn(ve),Te=L.Map.isMap(Ue)?Ue:L.default.Map(),Pe=L.Map.isMap(xe)?xe:L.default.Map(),je=Te.get("title")||Pe.get("title")||Me,Ze=g.isShown(ve,!1);Ze&&Te.size===0&&Pe.size>0&&this.props.specActions.requestResolvedSubtree(ve);const it=f.default.createElement(H,{name:Me,expandDepth:D,schema:Te||L.default.Map(),displayName:je,fullPath:ve,specPath:Se,getComponent:d,specSelectors:p,getConfigs:O,layoutSelectors:g,layoutActions:E,includeReadOnly:!0,includeWriteOnly:!0}),we=f.default.createElement("span",{className:"model-box"},f.default.createElement("span",{className:"model model-title"},je));return f.default.createElement("div",{id:`model-${Me}`,className:"model-container",key:`models-section-${Me}`,"data-name":Me,ref:this.onLoadModel},f.default.createElement("span",{className:"models-jump-to-path"},f.default.createElement(ae,{specPath:Se})),f.default.createElement(le,{classes:"model-box",collapsedContent:this.getCollapsedContent(Me),onToggle:this.handleToggle,title:we,displayName:je,modelName:Me,specPath:Se,layoutSelectors:g,layoutActions:E,hideSelfOnExpand:!0,expanded:D>0&&Ze},it))}).toArray()))}}var j7=({value:a,getComponent:u})=>{let p=u("ModelCollapse"),d=f.default.createElement("span",null,"Array [ ",a.count()," ]");return f.default.createElement("span",{className:"prop-enum"},"Enum:",f.default.createElement("br",null),f.default.createElement(p,{collapsedContent:d},"[ ",a.join(", ")," ]"))};class M7 extends f.Component{render(){let{schema:u,name:p,displayName:d,isRef:g,getComponent:E,getConfigs:O,depth:k,onToggle:N,expanded:D,specPath:F,...W}=this.props,{specSelectors:G,expandDepth:H,includeReadOnly:ne,includeWriteOnly:le}=W;const{isOAS3:ae}=G;if(!u)return null;const{showExtensions:Re}=O();let Oe=u.get("description"),Me=u.get("properties"),ve=u.get("additionalProperties"),Se=u.get("title")||d||p,Ue=u.get("required"),xe=u.filter(($t,kt)=>["maxProperties","minProperties","nullable","example"].indexOf(kt)!==-1),Te=u.get("deprecated"),Pe=u.getIn(["externalDocs","url"]),je=u.getIn(["externalDocs","description"]);const Ze=E("JumpToPath",!0),it=E("Markdown",!0),we=E("Model"),Ve=E("ModelCollapse"),tt=E("Property"),Mt=E("Link"),rr=()=>f.default.createElement("span",{className:"model-jump-to-path"},f.default.createElement(Ze,{specPath:F})),Jt=f.default.createElement("span",null,f.default.createElement("span",null,"{"),"...",f.default.createElement("span",null,"}"),g?f.default.createElement(rr,null):""),fr=G.isOAS3()?u.get("allOf"):null,qe=G.isOAS3()?u.get("anyOf"):null,gt=G.isOAS3()?u.get("oneOf"):null,xt=G.isOAS3()?u.get("not"):null,Wt=Se&&f.default.createElement("span",{className:"model-title"},g&&u.get("$$ref")&&f.default.createElement("span",{className:"model-hint"},u.get("$$ref")),f.default.createElement("span",{className:"model-title__text"},Se));return f.default.createElement("span",{className:"model"},f.default.createElement(Ve,{modelName:p,title:Wt,onToggle:N,expanded:!!D||k<=H,collapsedContent:Jt},f.default.createElement("span",{className:"brace-open object"},"{"),g?f.default.createElement(rr,null):null,f.default.createElement("span",{className:"inner-object"},f.default.createElement("table",{className:"model"},f.default.createElement("tbody",null,Oe?f.default.createElement("tr",{className:"description"},f.default.createElement("td",null,"description:"),f.default.createElement("td",null,f.default.createElement(it,{source:Oe}))):null,Pe&&f.default.createElement("tr",{className:"external-docs"},f.default.createElement("td",null,"externalDocs:"),f.default.createElement("td",null,f.default.createElement(Mt,{target:"_blank",href:tr(Pe)},je||Pe))),Te?f.default.createElement("tr",{className:"property"},f.default.createElement("td",null,"deprecated:"),f.default.createElement("td",null,"true")):null,Me&&Me.size?Me.entrySeq().filter(([,$t])=>(!$t.get("readOnly")||ne)&&(!$t.get("writeOnly")||le)).map(([$t,kt])=>{let bt=ae()&&kt.get("deprecated"),or=L.List.isList(Ue)&&Ue.contains($t),Jr=["property-row"];return bt&&Jr.push("deprecated"),or&&Jr.push("required"),f.default.createElement("tr",{key:$t,className:Jr.join(" ")},f.default.createElement("td",null,$t,or&&f.default.createElement("span",{className:"star"},"*")),f.default.createElement("td",null,f.default.createElement(we,(0,Kt.default)({key:`object-${p}-${$t}_${kt}`},W,{required:or,getComponent:E,specPath:F.push("properties",$t),getConfigs:O,schema:kt,depth:k+1}))))}).toArray():null,Re?f.default.createElement("tr",null,f.default.createElement("td",null," ")):null,Re?u.entrySeq().map(([$t,kt])=>{if($t.slice(0,2)!=="x-")return;const bt=kt?kt.toJS?kt.toJS():kt:null;return f.default.createElement("tr",{key:$t,className:"extension"},f.default.createElement("td",null,$t),f.default.createElement("td",null,JSON.stringify(bt)))}).toArray():null,ve&&ve.size?f.default.createElement("tr",null,f.default.createElement("td",null,"< * >:"),f.default.createElement("td",null,f.default.createElement(we,(0,Kt.default)({},W,{required:!1,getComponent:E,specPath:F.push("additionalProperties"),getConfigs:O,schema:ve,depth:k+1})))):null,fr?f.default.createElement("tr",null,f.default.createElement("td",null,"allOf ->"),f.default.createElement("td",null,fr.map(($t,kt)=>f.default.createElement("div",{key:kt},f.default.createElement(we,(0,Kt.default)({},W,{required:!1,getComponent:E,specPath:F.push("allOf",kt),getConfigs:O,schema:$t,depth:k+1})))))):null,qe?f.default.createElement("tr",null,f.default.createElement("td",null,"anyOf ->"),f.default.createElement("td",null,qe.map(($t,kt)=>f.default.createElement("div",{key:kt},f.default.createElement(we,(0,Kt.default)({},W,{required:!1,getComponent:E,specPath:F.push("anyOf",kt),getConfigs:O,schema:$t,depth:k+1})))))):null,gt?f.default.createElement("tr",null,f.default.createElement("td",null,"oneOf ->"),f.default.createElement("td",null,gt.map(($t,kt)=>f.default.createElement("div",{key:kt},f.default.createElement(we,(0,Kt.default)({},W,{required:!1,getComponent:E,specPath:F.push("oneOf",kt),getConfigs:O,schema:$t,depth:k+1})))))):null,xt?f.default.createElement("tr",null,f.default.createElement("td",null,"not ->"),f.default.createElement("td",null,f.default.createElement("div",null,f.default.createElement(we,(0,Kt.default)({},W,{required:!1,getComponent:E,specPath:F.push("not"),getConfigs:O,schema:xt,depth:k+1}))))):null))),f.default.createElement("span",{className:"brace-close"},"}")),xe.size?xe.entrySeq().map(([$t,kt])=>f.default.createElement(tt,{key:`${$t}-${kt}`,propKey:$t,propVal:kt,propClass:"property"})):null)}}class D7 extends f.Component{render(){let{getComponent:u,getConfigs:p,schema:d,depth:g,expandDepth:E,name:O,displayName:k,specPath:N}=this.props,D=d.get("description"),F=d.get("items"),W=d.get("title")||k||O,G=d.filter((Se,Ue)=>["type","items","description","$$ref","externalDocs"].indexOf(Ue)===-1),H=d.getIn(["externalDocs","url"]),ne=d.getIn(["externalDocs","description"]);const le=u("Markdown",!0),ae=u("ModelCollapse"),Re=u("Model"),Oe=u("Property"),Me=u("Link"),ve=W&&f.default.createElement("span",{className:"model-title"},f.default.createElement("span",{className:"model-title__text"},W));return f.default.createElement("span",{className:"model"},f.default.createElement(ae,{title:ve,expanded:g<=E,collapsedContent:"[...]"},"[",G.size?G.entrySeq().map(([Se,Ue])=>f.default.createElement(Oe,{key:`${Se}-${Ue}`,propKey:Se,propVal:Ue,propClass:"property"})):null,D?f.default.createElement(le,{source:D}):G.size?f.default.createElement("div",{className:"markdown"}):null,H&&f.default.createElement("div",{className:"external-docs"},f.default.createElement(Me,{target:"_blank",href:tr(H)},ne||H)),f.default.createElement("span",null,f.default.createElement(Re,(0,Kt.default)({},this.props,{getConfigs:p,specPath:N.push("items"),name:null,schema:F,required:!1,depth:g+1}))),"]"))}}const Fm="property primitive";class F7 extends f.Component{render(){let{schema:u,getComponent:p,getConfigs:d,name:g,displayName:E,depth:O,expandDepth:k}=this.props;const{showExtensions:N}=d();if(!u||!u.get)return f.default.createElement("div",null);let D=u.get("type"),F=u.get("format"),W=u.get("xml"),G=u.get("enum"),H=u.get("title")||E||g,ne=u.get("description"),le=Es(u),ae=u.filter((Pe,je)=>["enum","type","format","description","$$ref","externalDocs"].indexOf(je)===-1).filterNot((Pe,je)=>le.has(je)),Re=u.getIn(["externalDocs","url"]),Oe=u.getIn(["externalDocs","description"]);const Me=p("Markdown",!0),ve=p("EnumModel"),Se=p("Property"),Ue=p("ModelCollapse"),xe=p("Link"),Te=H&&f.default.createElement("span",{className:"model-title"},f.default.createElement("span",{className:"model-title__text"},H));return f.default.createElement("span",{className:"model"},f.default.createElement(Ue,{title:Te,expanded:O<=k,collapsedContent:"[...]",hideSelfOnExpand:k!==O},f.default.createElement("span",{className:"prop"},g&&O>1&&f.default.createElement("span",{className:"prop-name"},H),f.default.createElement("span",{className:"prop-type"},D),F&&f.default.createElement("span",{className:"prop-format"},"($",F,")"),ae.size?ae.entrySeq().map(([Pe,je])=>f.default.createElement(Se,{key:`${Pe}-${je}`,propKey:Pe,propVal:je,propClass:Fm})):null,N&&le.size?le.entrySeq().map(([Pe,je])=>f.default.createElement(Se,{key:`${Pe}-${je}`,propKey:Pe,propVal:je,propClass:Fm})):null,ne?f.default.createElement(Me,{source:ne}):null,Re&&f.default.createElement("div",{className:"external-docs"},f.default.createElement(xe,{target:"_blank",href:tr(Re)},Oe||Re)),W&&W.size?f.default.createElement("span",null,f.default.createElement("br",null),f.default.createElement("span",{className:Fm},"xml:"),W.entrySeq().map(([Pe,je])=>f.default.createElement("span",{key:`${Pe}-${je}`,className:Fm},f.default.createElement("br",null),"   ",Pe,": ",String(je))).toArray()):null,G&&f.default.createElement(ve,{value:G,getComponent:p}))))}}var L7=({propKey:a,propVal:u,propClass:p})=>f.default.createElement("span",{className:p},f.default.createElement("br",null),a,": ",String(u));class Rk extends f.default.Component{render(){const{onTryoutClick:u,onCancelClick:p,onResetClick:d,enabled:g,hasUserEditedBody:E,isOAS3:O}=this.props,k=O&&E;return f.default.createElement("div",{className:k?"try-out btn-group":"try-out"},g?f.default.createElement("button",{className:"btn try-out__btn cancel",onClick:p},"Cancel"):f.default.createElement("button",{className:"btn try-out__btn",onClick:u},"Try it out "),k&&f.default.createElement("button",{className:"btn try-out__btn reset",onClick:d},"Reset"))}}ie(Rk,"defaultProps",{onTryoutClick:Function.prototype,onCancelClick:Function.prototype,onResetClick:Function.prototype,enabled:!1,hasUserEditedBody:!1,isOAS3:!1});class Ik extends f.default.PureComponent{render(){const{bypass:u,isSwagger2:p,isOAS3:d,alsoShow:g}=this.props;return u?f.default.createElement("div",null,this.props.children):p&&d?f.default.createElement("div",{className:"version-pragma"},g,f.default.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},f.default.createElement("div",null,f.default.createElement("h3",null,"Unable to render this definition"),f.default.createElement("p",null,f.default.createElement("code",null,"swagger")," and ",f.default.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),f.default.createElement("p",null,"Supported version fields are ",f.default.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",f.default.createElement("code",null,"openapi: 3.0.n")," (for example, ",f.default.createElement("code",null,"openapi: 3.0.0"),").")))):p||d?f.default.createElement("div",null,this.props.children):f.default.createElement("div",{className:"version-pragma"},g,f.default.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},f.default.createElement("div",null,f.default.createElement("h3",null,"Unable to render this definition"),f.default.createElement("p",null,"The provided definition does not specify a valid version field."),f.default.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",f.default.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",f.default.createElement("code",null,"openapi: 3.0.n")," (for example, ",f.default.createElement("code",null,"openapi: 3.0.0"),")."))))}}ie(Ik,"defaultProps",{alsoShow:null,children:null,bypass:!1});var B7=({version:a})=>f.default.createElement("small",null,f.default.createElement("pre",{className:"version"}," ",a," ")),U7=({oasVersion:a})=>f.default.createElement("small",{className:"version-stamp"},f.default.createElement("pre",{className:"version"},"OAS ",a)),V7=({enabled:a,path:u,text:p})=>f.default.createElement("a",{className:"nostyle",onClick:a?d=>d.preventDefault():null,href:a?`#/${u}`:null},f.default.createElement("span",null,p)),z7=()=>f.default.createElement("div",null,f.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"svg-assets"},f.default.createElement("defs",null,f.default.createElement("symbol",{viewBox:"0 0 20 20",id:"unlocked"},f.default.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"})),f.default.createElement("symbol",{viewBox:"0 0 20 20",id:"locked"},f.default.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"})),f.default.createElement("symbol",{viewBox:"0 0 20 20",id:"close"},f.default.createElement("path",{d:"M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z"})),f.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow"},f.default.createElement("path",{d:"M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"})),f.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-down"},f.default.createElement("path",{d:"M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"})),f.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-up"},f.default.createElement("path",{d:"M 17.418 14.908 C 17.69 15.176 18.127 15.176 18.397 14.908 C 18.667 14.64 18.668 14.207 18.397 13.939 L 10.489 6.109 C 10.219 5.841 9.782 5.841 9.51 6.109 L 1.602 13.939 C 1.332 14.207 1.332 14.64 1.602 14.908 C 1.873 15.176 2.311 15.176 2.581 14.908 L 10 7.767 L 17.418 14.908 Z"})),f.default.createElement("symbol",{viewBox:"0 0 24 24",id:"jump-to"},f.default.createElement("path",{d:"M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"})),f.default.createElement("symbol",{viewBox:"0 0 24 24",id:"expand"},f.default.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"})),f.default.createElement("symbol",{viewBox:"0 0 15 16",id:"copy"},f.default.createElement("g",{transform:"translate(2, -1)"},f.default.createElement("path",{fill:"#ffffff",fillRule:"evenodd",d:"M2 13h4v1H2v-1zm5-6H2v1h5V7zm2 3V8l-3 3 3 3v-2h5v-2H9zM4.5 9H2v1h2.5V9zM2 12h2.5v-1H2v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V6H1v9h10v-2zM2 5h8c0-.55-.45-1-1-1H8c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H3c-.55 0-1 .45-1 1z"})))))),Nk=function(a){var u={};return Ce.d(u,a),u}({Remarkable:function(){return fl}}),q7=function(a){var u={};return Ce.d(u,a),u}({linkify:function(){return R7e}}),sE=function(a){var u={};return Ce.d(u,a),u}({default:function(){return Q7e}});sE.default.addHook&&sE.default.addHook("beforeSanitizeElements",function(a){return a.href&&a.setAttribute("rel","noopener noreferrer"),a});var W7=function({source:u,className:p="",getConfigs:d=()=>({useUnsafeMarkdown:!1})}){if(typeof u!="string")return null;const g=new Nk.Remarkable({html:!0,typographer:!0,breaks:!0,linkTarget:"_blank"}).use(q7.linkify);g.core.ruler.disable(["replacements","smartquotes"]);const{useUnsafeMarkdown:E}=d(),O=g.render(u),k=tp(O,{useUnsafeMarkdown:E});return u&&O&&k?f.default.createElement("div",{className:(0,Er.default)(p,"markdown"),dangerouslySetInnerHTML:{__html:k}}):null};function tp(a,{useUnsafeMarkdown:u=!1}={}){const p=u,d=u?[]:["style","class"];return u&&!tp.hasWarnedAboutDeprecation&&(console.warn("useUnsafeMarkdown display configuration parameter is deprecated since >3.26.0 and will be removed in v4.0.0."),tp.hasWarnedAboutDeprecation=!0),sE.default.sanitize(a,{ADD_ATTR:["target"],FORBID_TAGS:["style","form"],ALLOW_DATA_ATTR:p,FORBID_ATTR:d})}tp.hasWarnedAboutDeprecation=!1;class K7 extends f.default.Component{render(){const{errSelectors:u,specSelectors:p,getComponent:d}=this.props,g=d("SvgAssets"),E=d("InfoContainer",!0),O=d("VersionPragmaFilter"),k=d("operations",!0),N=d("Models",!0),D=d("Webhooks",!0),F=d("Row"),W=d("Col"),G=d("errors",!0),H=d("ServersContainer",!0),ne=d("SchemesContainer",!0),le=d("AuthorizeBtnContainer",!0),ae=d("FilterContainer",!0),Re=p.isSwagger2(),Oe=p.isOAS3(),Me=p.isOAS31(),ve=!p.specStr(),Se=p.loadingStatus();let Ue=null;if(Se==="loading"&&(Ue=f.default.createElement("div",{className:"info"},f.default.createElement("div",{className:"loading-container"},f.default.createElement("div",{className:"loading"})))),Se==="failed"&&(Ue=f.default.createElement("div",{className:"info"},f.default.createElement("div",{className:"loading-container"},f.default.createElement("h4",{className:"title"},"Failed to load API definition."),f.default.createElement(G,null)))),Se==="failedConfig"){const it=u.lastError(),we=it?it.get("message"):"";Ue=f.default.createElement("div",{className:"info failed-config"},f.default.createElement("div",{className:"loading-container"},f.default.createElement("h4",{className:"title"},"Failed to load remote configuration."),f.default.createElement("p",null,we)))}if(!Ue&&ve&&(Ue=f.default.createElement("h4",null,"No API definition provided.")),Ue)return f.default.createElement("div",{className:"swagger-ui"},f.default.createElement("div",{className:"loading-container"},Ue));const xe=p.servers(),Te=p.schemes(),Pe=xe&&xe.size,je=Te&&Te.size,Ze=!!p.securityDefinitions();return f.default.createElement("div",{className:"swagger-ui"},f.default.createElement(g,null),f.default.createElement(O,{isSwagger2:Re,isOAS3:Oe,alsoShow:f.default.createElement(G,null)},f.default.createElement(G,null),f.default.createElement(F,{className:"information-container"},f.default.createElement(W,{mobile:12},f.default.createElement(E,null))),Pe||je||Ze?f.default.createElement("div",{className:"scheme-container"},f.default.createElement(W,{className:"schemes wrapper",mobile:12},Pe||je?f.default.createElement("div",{className:"schemes-server-container"},Pe?f.default.createElement(H,null):null,je?f.default.createElement(ne,null):null):null,Ze?f.default.createElement(le,null):null)):null,f.default.createElement(ae,null),f.default.createElement(F,null,f.default.createElement(W,{mobile:12,desktop:12},f.default.createElement(k,null))),Me&&f.default.createElement(F,{className:"webhooks-container"},f.default.createElement(W,{mobile:12,desktop:12},f.default.createElement(D,null))),f.default.createElement(F,null,f.default.createElement(W,{mobile:12,desktop:12},f.default.createElement(N,null)))))}}var H7=()=>({components:{App:_V,authorizationPopup:xV,authorizeBtn:AV,AuthorizeBtnContainer:OV,authorizeOperationBtn:CV,auths:$V,AuthItem:kV,authError:TV,oauth2:jV,apiKeyAuth:PV,basicAuth:RV,clear:MV,liveResponse:LV,InitializedInput:h7,info:v7,InfoContainer:b7,InfoUrl:g7,InfoBasePath:m7,Contact:S7,License:_7,JumpToPath:x7,CopyToClipboardBtn:A7,onlineValidatorBadge:pk,operations:UV,operation:gk,OperationSummary:vk,OperationSummaryMethod:bk,OperationSummaryPath:qV,highlightCode:JV,responses:Zb,response:Ek,ResponseExtension:GV,responseBody:XV,parameters:wk,parameterRow:e7,execute:t7,headers:r7,errors:n7,contentType:Ak,overview:p7,footer:O7,FilterContainer:C7,ParamBody:rE,curl:$7,schemes:k7,SchemesContainer:T7,modelExample:P7,ModelWrapper:R7,ModelCollapse:nE,Model:iE,Models:N7,EnumModel:j7,ObjectModel:M7,ArrayModel:D7,PrimitiveModel:F7,Property:L7,TryItOutButton:Rk,Markdown:W7,BaseLayout:K7,VersionPragmaFilter:Ik,VersionStamp:B7,OperationExt:WV,OperationExtRow:KV,ParameterExt:QV,ParameterIncludeEmpty:_k,OperationTag:dk,OperationContainer:yk,OpenAPIVersion:U7,DeepLink:V7,SvgAssets:z7,Example:IV,ExamplesSelect:ck,ExamplesSelectValueRetainer:fk}}),J7=()=>({components:{...x}}),jk=function(a){var u={};return Ce.d(u,a),u}({default:function(){return kze}});const xl={value:"",onChange:()=>{},schema:{},keyName:"",required:!1,errors:(0,L.List)()};class Mk extends f.Component{componentDidMount(){const{dispatchInitialValue:u,value:p,onChange:d}=this.props;u?d(p):u===!1&&d("")}render(){let{schema:u,errors:p,value:d,onChange:g,getComponent:E,fn:O,disabled:k}=this.props;const N=u&&u.get?u.get("format"):null,D=u&&u.get?u.get("type"):null;let F=G=>E(G,!1,{failSilently:!0}),W=D?F(N?`JsonSchema_${D}_${N}`:`JsonSchema_${D}`):E("JsonSchema_string");return W||(W=E("JsonSchema_string")),f.default.createElement(W,(0,Kt.default)({},this.props,{errors:p,fn:O,getComponent:E,value:d,onChange:g,schema:u,disabled:k}))}}ie(Mk,"defaultProps",xl);class Dk extends f.Component{constructor(){super(...arguments);ie(this,"onChange",p=>{const d=this.props.schema&&this.props.schema.get("type")==="file"?p.target.files[0]:p.target.value;this.props.onChange(d,this.props.keyName)});ie(this,"onEnumChange",p=>this.props.onChange(p))}render(){let{getComponent:p,value:d,schema:g,errors:E,required:O,description:k,disabled:N}=this.props;const D=g&&g.get?g.get("enum"):null,F=g&&g.get?g.get("format"):null,W=g&&g.get?g.get("type"):null,G=g&&g.get?g.get("in"):null;if(d||(d=""),E=E.toJS?E.toJS():[],D){const le=p("Select");return f.default.createElement(le,{className:E.length?"invalid":"",title:E.length?E:"",allowedValues:[...D],value:d,allowEmptyValue:!O,disabled:N,onChange:this.onEnumChange})}const H=N||G&&G==="formData"&&!("FormData"in window),ne=p("Input");return W&&W==="file"?f.default.createElement(ne,{type:"file",className:E.length?"invalid":"",title:E.length?E:"",onChange:this.onChange,disabled:H}):f.default.createElement(jk.default,{type:F&&F==="password"?"password":"text",className:E.length?"invalid":"",title:E.length?E:"",value:d,minLength:0,debounceTimeout:350,placeholder:k,onChange:this.onChange,disabled:H})}}ie(Dk,"defaultProps",xl);class Fk extends f.PureComponent{constructor(p,d){super(p,d);ie(this,"onChange",()=>{this.props.onChange(this.state.value)});ie(this,"onItemChange",(p,d)=>{this.setState(({value:g})=>({value:g.set(d,p)}),this.onChange)});ie(this,"removeItem",p=>{this.setState(({value:d})=>({value:d.delete(p)}),this.onChange)});ie(this,"addItem",()=>{const{fn:p}=this.props;let d=lE(this.state.value);this.setState(()=>({value:d.push(p.getSampleSchema(this.state.schema.get("items"),!1,{includeWriteOnly:!0}))}),this.onChange)});ie(this,"onEnumChange",p=>{this.setState(()=>({value:p}),this.onChange)});this.state={value:lE(p.value),schema:p.schema}}UNSAFE_componentWillReceiveProps(p){const d=lE(p.value);d!==this.state.value&&this.setState({value:d}),p.schema!==this.state.schema&&this.setState({schema:p.schema})}render(){let{getComponent:p,required:d,schema:g,errors:E,fn:O,disabled:k}=this.props;E=E.toJS?E.toJS():Array.isArray(E)?E:[];const N=E.filter(ve=>typeof ve=="string"),D=E.filter(ve=>ve.needRemove!==void 0).map(ve=>ve.error),F=this.state.value,W=!!(F&&F.count&&F.count()>0),G=g.getIn(["items","enum"]),H=g.getIn(["items","type"]),ne=g.getIn(["items","format"]),le=g.get("items");let ae,Re=!1,Oe=H==="file"||H==="string"&&ne==="binary";if(H&&ne?ae=p(`JsonSchema_${H}_${ne}`):H!=="boolean"&&H!=="array"&&H!=="object"||(ae=p(`JsonSchema_${H}`)),ae||Oe||(Re=!0),G){const ve=p("Select");return f.default.createElement(ve,{className:E.length?"invalid":"",title:E.length?E:"",multiple:!0,value:F,disabled:k,allowedValues:G,allowEmptyValue:!d,onChange:this.onEnumChange})}const Me=p("Button");return f.default.createElement("div",{className:"json-schema-array"},W?F.map((ve,Se)=>{const Ue=(0,L.fromJS)([...E.filter(xe=>xe.index===Se).map(xe=>xe.error)]);return f.default.createElement("div",{key:Se,className:"json-schema-form-item"},Oe?f.default.createElement(aE,{value:ve,onChange:xe=>this.onItemChange(xe,Se),disabled:k,errors:Ue,getComponent:p}):Re?f.default.createElement(oE,{value:ve,onChange:xe=>this.onItemChange(xe,Se),disabled:k,errors:Ue}):f.default.createElement(ae,(0,Kt.default)({},this.props,{value:ve,onChange:xe=>this.onItemChange(xe,Se),disabled:k,errors:Ue,schema:le,getComponent:p,fn:O})),k?null:f.default.createElement(Me,{className:`btn btn-sm json-schema-form-item-remove ${D.length?"invalid":null}`,title:D.length?D:"",onClick:()=>this.removeItem(Se)}," - "))}):null,k?null:f.default.createElement(Me,{className:`btn btn-sm json-schema-form-item-add ${N.length?"invalid":null}`,title:N.length?N:"",onClick:this.addItem},"Add ",H?`${H} `:"","item"))}}ie(Fk,"defaultProps",xl);class oE extends f.Component{constructor(){super(...arguments);ie(this,"onChange",p=>{const d=p.target.value;this.props.onChange(d,this.props.keyName)})}render(){let{value:p,errors:d,description:g,disabled:E}=this.props;return p||(p=""),d=d.toJS?d.toJS():[],f.default.createElement(jk.default,{type:"text",className:d.length?"invalid":"",title:d.length?d:"",value:p,minLength:0,debounceTimeout:350,placeholder:g,onChange:this.onChange,disabled:E})}}ie(oE,"defaultProps",xl);class aE extends f.Component{constructor(){super(...arguments);ie(this,"onFileChange",p=>{const d=p.target.files[0];this.props.onChange(d,this.props.keyName)})}render(){let{getComponent:p,errors:d,disabled:g}=this.props;const E=p("Input"),O=g||!("FormData"in window);return f.default.createElement(E,{type:"file",className:d.length?"invalid":"",title:d.length?d:"",onChange:this.onFileChange,disabled:O})}}ie(aE,"defaultProps",xl);class Lk extends f.Component{constructor(){super(...arguments);ie(this,"onEnumChange",p=>this.props.onChange(p))}render(){let{getComponent:p,value:d,errors:g,schema:E,required:O,disabled:k}=this.props;g=g.toJS?g.toJS():[];let N=E&&E.get?E.get("enum"):null,D=!N||!O,F=!N&&["true","false"];const W=p("Select");return f.default.createElement(W,{className:g.length?"invalid":"",title:g.length?g:"",value:String(d),disabled:k,allowedValues:N?[...N]:F,allowEmptyValue:D,onChange:this.onEnumChange})}}ie(Lk,"defaultProps",xl);const G7=a=>a.map(u=>{const p=u.propKey!==void 0?u.propKey:u.index;let d=typeof u=="string"?u:typeof u.error=="string"?u.error:null;if(!p&&d)return d;let g=u.error,E=`/${u.propKey}`;for(;typeof g=="object";){const O=g.propKey!==void 0?g.propKey:g.index;if(O===void 0||(E+=`/${O}`,!g.error))break;g=g.error}return`${E}: ${g}`});class Bk extends f.PureComponent{constructor(){super();ie(this,"onChange",p=>{this.props.onChange(p)});ie(this,"handleOnChange",p=>{const d=p.target.value;this.onChange(d)})}render(){let{getComponent:p,value:d,errors:g,disabled:E}=this.props;const O=p("TextArea");return g=g.toJS?g.toJS():Array.isArray(g)?g:[],f.default.createElement("div",null,f.default.createElement(O,{className:(0,Er.default)({invalid:g.length}),title:g.length?G7(g).join(", "):"",value:vr(d),disabled:E,onChange:this.handleOnChange}))}}ie(Bk,"defaultProps",xl);function lE(a){return L.List.isList(a)?a:Array.isArray(a)?(0,L.fromJS)(a):(0,L.List)()}var Y7=()=>({components:{...A}}),Uk=()=>[$o,X$,Nu,nk,ik,z$,Pu,El,Gf,E$,H7,J7,Y$,Y7,$u,sk,Tu,Vf,Yf,ci,uk()];const X7=(0,L.Map)();function rp(a){return(u,p)=>(...d)=>{if(p.getSystem().specSelectors.isOAS3()){const g=a(...d);return typeof g=="function"?g(p):g}return u(...d)}}const np=rp((0,Rm.default)(null)),Q7=rp((a,u)=>p=>p.getSystem().specSelectors.findSchema(u)),Z7=rp(()=>a=>{const u=a.getSystem().specSelectors.specJson().getIn(["components","schemas"]);return L.Map.isMap(u)?u:X7}),ez=rp(()=>a=>a.getSystem().specSelectors.specJson().hasIn(["servers",0])),tz=rp((0,wt.createSelector)(ws,a=>a.getIn(["components","securitySchemes"])||null)),rz=(a,u)=>(p,...d)=>u.specSelectors.isOAS3()?u.oas3Selectors.validOperationMethods():a(...d),nz=np,iz=np,sz=np,oz=np,az=np,lz=function(u){return(p,d)=>(...g)=>{if(d.getSystem().specSelectors.isOAS3()){let E=d.getState().getIn(["spec","resolvedSubtrees","components","securitySchemes"]);return u(d,E,...g)}return p(...g)}}((0,wt.createSelector)(a=>a,({specSelectors:a})=>a.securityDefinitions(),(a,u)=>{let p=(0,L.List)();return u&&u.entrySeq().forEach(([d,g])=>{const E=g.get("type");if(E==="oauth2"&&g.get("flows").entrySeq().forEach(([O,k])=>{let N=(0,L.fromJS)({flow:O,authorizationUrl:k.get("authorizationUrl"),tokenUrl:k.get("tokenUrl"),scopes:k.get("scopes"),type:g.get("type"),description:g.get("description")});p=p.push(new L.Map({[d]:N.filter(D=>D!==void 0)}))}),E!=="http"&&E!=="apiKey"||(p=p.push(new L.Map({[d]:g}))),E==="openIdConnect"&&g.get("openIdConnectData")){let O=g.get("openIdConnectData");(O.get("grant_types_supported")||["authorization_code","implicit"]).forEach(k=>{let N=O.get("scopes_supported")&&O.get("scopes_supported").reduce((F,W)=>F.set(W,""),new L.Map),D=(0,L.fromJS)({flow:k,authorizationUrl:O.get("authorization_endpoint"),tokenUrl:O.get("token_endpoint"),scopes:N,type:"oauth2",openIdConnectUrl:g.get("openIdConnectUrl")});p=p.push(new L.Map({[d]:D.filter(F=>F!==void 0)}))})}}),p}));function ip(a){return(u,p)=>d=>{var g;return typeof((g=p.specSelectors)==null?void 0:g.isOAS3)=="function"?p.specSelectors.isOAS3()?f.default.createElement(a,(0,Kt.default)({},d,p,{Ori:u})):f.default.createElement(u,d):(console.warn("OAS3 wrapper: couldn't get spec"),null)}}const uz=(0,L.Map)(),cz=()=>a=>function(p){const d=p.get("swagger");return typeof d=="string"&&d==="2.0"}(a.getSystem().specSelectors.specJson()),fz=()=>a=>function(p){const d=p.get("openapi");return typeof d=="string"&&/^3\.0\.([0123])(?:-rc[012])?$/.test(d)}(a.getSystem().specSelectors.specJson()),pz=()=>a=>a.getSystem().specSelectors.isOAS30();function Vk(a){return(u,...p)=>d=>{if(d.specSelectors.isOAS3()){const g=a(u,...p);return typeof g=="function"?g(d):g}return null}}const dz=Vk(()=>a=>a.specSelectors.specJson().get("servers",uz)),hz=(a,u)=>{const p=a.getIn(["resolvedSubtrees","components","schemas",u],null),d=a.getIn(["json","components","schemas",u],null);return p||d||null},mz=Vk((a,{callbacks:u,specPath:p})=>d=>{const g=d.specSelectors.validOperationMethods();return L.Map.isMap(u)?u.reduce((E,O,k)=>{if(!L.Map.isMap(O))return E;const N=O.reduce((D,F,W)=>{if(!L.Map.isMap(F))return D;const G=F.entrySeq().filter(([H])=>g.includes(H)).map(([H,ne])=>({operation:(0,L.Map)({operation:ne}),method:H,path:W,callbackName:k,specPath:p.concat([k,W,H])}));return D.concat(G)},(0,L.List)());return E.concat(N)},(0,L.List)()).groupBy(E=>E.callbackName).map(E=>E.toArray()).toObject():{}});var gz=({callbacks:a,specPath:u,specSelectors:p,getComponent:d})=>{const g=p.callbacksOperations({callbacks:a,specPath:u}),E=Object.keys(g),O=d("OperationContainer",!0);return E.length===0?f.default.createElement("span",null,"No callbacks"):f.default.createElement("div",null,E.map(k=>f.default.createElement("div",{key:`${k}`},f.default.createElement("h2",null,k),g[k].map(N=>f.default.createElement(O,{key:`${k}-${N.path}-${N.method}`,op:N.operation,tag:"callbacks",method:N.method,path:N.path,specPath:N.specPath,allowTryItOut:!1})))))};const Lm=(a,u,p,d)=>{const g=a.getIn(["content",u])??(0,L.OrderedMap)(),E=g.get("schema",(0,L.OrderedMap)()).toJS(),O=g.get("examples")!==void 0,k=g.get("example"),N=O?g.getIn(["examples",p,"value"]):k;return vr(d.getSampleSchema(E,u,{includeWriteOnly:!0},N))};var yz=({userHasEditedBody:a,requestBody:u,requestBodyValue:p,requestBodyInclusionSetting:d,requestBodyErrors:g,getComponent:E,getConfigs:O,specSelectors:k,fn:N,contentType:D,isExecute:F,specPath:W,onChange:G,onChangeIncludeEmpty:H,activeExamplesKey:ne,updateActiveExamplesKey:le,setRetainRequestBodyValueFlag:ae})=>{const Re=xt=>{G(xt.target.files[0])},Oe=xt=>{let Wt={key:xt,shouldDispatchInit:!1,defaultValue:!0};return d.get(xt,"no value")==="no value"&&(Wt.shouldDispatchInit=!0),Wt},Me=E("Markdown",!0),ve=E("modelExample"),Se=E("RequestBodyEditor"),Ue=E("highlightCode"),xe=E("ExamplesSelectValueRetainer"),Te=E("Example"),Pe=E("ParameterIncludeEmpty"),{showCommonExtensions:je}=O(),Ze=(u==null?void 0:u.get("description"))??null,it=(u==null?void 0:u.get("content"))??new L.OrderedMap;D=D||it.keySeq().first()||"";const we=it.get(D)??(0,L.OrderedMap)(),Ve=we.get("schema",(0,L.OrderedMap)()),tt=we.get("examples",null),Mt=tt==null?void 0:tt.map((xt,Wt)=>{const $t=xt==null?void 0:xt.get("value",null);return $t&&(xt=xt.set("value",Lm(u,D,Wt,N),$t)),xt});if(g=L.List.isList(g)?g:(0,L.List)(),!we.size)return null;const rr=we.getIn(["schema","type"])==="object",Jt=we.getIn(["schema","format"])==="binary",fr=we.getIn(["schema","format"])==="base64";if(D==="application/octet-stream"||D.indexOf("image/")===0||D.indexOf("audio/")===0||D.indexOf("video/")===0||Jt||fr){const xt=E("Input");return F?f.default.createElement(xt,{type:"file",onChange:Re}):f.default.createElement("i",null,"Example values are not available for ",f.default.createElement("code",null,D)," media types.")}if(rr&&(D==="application/x-www-form-urlencoded"||D.indexOf("multipart/")===0)&&Ve.get("properties",(0,L.OrderedMap)()).size>0){const xt=E("JsonSchemaForm"),Wt=E("ParameterExt"),$t=Ve.get("properties",(0,L.OrderedMap)());return p=L.Map.isMap(p)?p:(0,L.OrderedMap)(),f.default.createElement("div",{className:"table-container"},Ze&&f.default.createElement(Me,{source:Ze}),f.default.createElement("table",null,f.default.createElement("tbody",null,L.Map.isMap($t)&&$t.entrySeq().map(([kt,bt])=>{if(bt.get("readOnly"))return;let or=je?tn(bt):null;const Jr=Ve.get("required",(0,L.List)()).includes(kt),pn=bt.get("type"),Xi=bt.get("format"),Po=bt.get("description"),Ci=p.getIn([kt,"value"]),Ol=p.getIn([kt,"errors"])||g,Cl=d.get(kt)||!1,cp=bt.has("default")||bt.has("example")||bt.hasIn(["items","example"])||bt.hasIn(["items","default"]),Vu=bt.has("enum")&&(bt.get("enum").size===1||Jr),$l=cp||Vu;let Pn="";pn!=="array"||$l||(Pn=[]),(pn==="object"||$l)&&(Pn=N.getSampleSchema(bt,!1,{includeWriteOnly:!0})),typeof Pn!="string"&&pn==="object"&&(Pn=vr(Pn)),typeof Pn=="string"&&pn==="array"&&(Pn=JSON.parse(Pn));const wa=pn==="string"&&(Xi==="binary"||Xi==="base64");return f.default.createElement("tr",{key:kt,className:"parameters","data-property-name":kt},f.default.createElement("td",{className:"parameters-col_name"},f.default.createElement("div",{className:Jr?"parameter__name required":"parameter__name"},kt,Jr?f.default.createElement("span",null," *"):null),f.default.createElement("div",{className:"parameter__type"},pn,Xi&&f.default.createElement("span",{className:"prop-format"},"($",Xi,")"),je&&or.size?or.entrySeq().map(([Qi,kl])=>f.default.createElement(Wt,{key:`${Qi}-${kl}`,xKey:Qi,xVal:kl})):null),f.default.createElement("div",{className:"parameter__deprecated"},bt.get("deprecated")?"deprecated":null)),f.default.createElement("td",{className:"parameters-col_description"},f.default.createElement(Me,{source:Po}),F?f.default.createElement("div",null,f.default.createElement(xt,{fn:N,dispatchInitialValue:!wa,schema:bt,description:kt,getComponent:E,value:Ci===void 0?Pn:Ci,required:Jr,errors:Ol,onChange:Qi=>{G(Qi,[kt])}}),Jr?null:f.default.createElement(Pe,{onChange:Qi=>H(kt,Qi),isIncluded:Cl,isIncludedOptions:Oe(kt),isDisabled:Array.isArray(Ci)?Ci.length!==0:!pl(Ci)})):null))}))))}const qe=Lm(u,D,ne,N);let gt=null;return Dm(qe)&&(gt="json"),f.default.createElement("div",null,Ze&&f.default.createElement(Me,{source:Ze}),Mt?f.default.createElement(xe,{userHasEditedBody:a,examples:Mt,currentKey:ne,currentUserInputValue:p,onSelect:xt=>{le(xt)},updateValue:G,defaultToFirstExample:!0,getComponent:E,setRetainRequestBodyValueFlag:ae}):null,F?f.default.createElement("div",null,f.default.createElement(Se,{value:p,errors:g,defaultValue:qe,onChange:G,getComponent:E})):f.default.createElement(ve,{getComponent:E,getConfigs:O,specSelectors:k,expandDepth:1,isExecute:F,schema:we.get("schema"),specPath:W.push("content",D),example:f.default.createElement(Ue,{className:"body-param__example",getConfigs:O,language:gt,value:vr(p)||qe}),includeWriteOnly:!0}),Mt?f.default.createElement(Te,{example:Mt.get(ne),getComponent:E,getConfigs:O}):null)};class vz extends f.Component{render(){const{link:u,name:p,getComponent:d}=this.props,g=d("Markdown",!0);let E=u.get("operationId")||u.get("operationRef"),O=u.get("parameters")&&u.get("parameters").toJS(),k=u.get("description");return f.default.createElement("div",{className:"operation-link"},f.default.createElement("div",{className:"description"},f.default.createElement("b",null,f.default.createElement("code",null,p)),k?f.default.createElement(g,{source:k}):null),f.default.createElement("pre",null,"Operation `",E,"`",f.default.createElement("br",null),f.default.createElement("br",null),"Parameters ",function(D,F){return typeof F!="string"?"":F.split(` +`).map((W,G)=>G>0?Array(D+1).join(" ")+W:W).join(` +`)}(0,JSON.stringify(O,null,2))||"{}",f.default.createElement("br",null)))}}var bz=vz,Ez=({servers:a,currentServer:u,setSelectedServer:p,setServerVariableValue:d,getServerVariable:g,getEffectiveServerValue:E})=>{const O=(a.find(F=>F.get("url")===u)||(0,L.OrderedMap)()).get("variables")||(0,L.OrderedMap)(),k=O.size!==0;(0,f.useEffect)(()=>{var F;u||p((F=a.first())==null?void 0:F.get("url"))},[]),(0,f.useEffect)(()=>{const F=a.find(W=>W.get("url")===u);if(!F)return void p(a.first().get("url"));(F.get("variables")||(0,L.OrderedMap)()).map((W,G)=>{d({server:u,key:G,val:W.get("default")||""})})},[u,a]);const N=(0,f.useCallback)(F=>{p(F.target.value)},[p]),D=(0,f.useCallback)(F=>{const W=F.target.getAttribute("data-variable"),G=F.target.value;d({server:u,key:W,val:G})},[d,u]);return f.default.createElement("div",{className:"servers"},f.default.createElement("label",{htmlFor:"servers"},f.default.createElement("select",{onChange:N,value:u,id:"servers"},a.valueSeq().map(F=>f.default.createElement("option",{value:F.get("url"),key:F.get("url")},F.get("url"),F.get("description")&&` - ${F.get("description")}`)).toArray())),k&&f.default.createElement("div",null,f.default.createElement("div",{className:"computed-url"},"Computed URL:",f.default.createElement("code",null,E(u))),f.default.createElement("h4",null,"Server variables"),f.default.createElement("table",null,f.default.createElement("tbody",null,O.entrySeq().map(([F,W])=>f.default.createElement("tr",{key:F},f.default.createElement("td",null,F),f.default.createElement("td",null,W.get("enum")?f.default.createElement("select",{"data-variable":F,onChange:D},W.get("enum").map(G=>f.default.createElement("option",{selected:G===g(u,F),key:G,value:G},G))):f.default.createElement("input",{type:"text",value:g(u,F)||"",onChange:D,"data-variable":F}))))))))};class Sz extends f.default.Component{render(){const{specSelectors:u,oas3Selectors:p,oas3Actions:d,getComponent:g}=this.props,E=u.servers(),O=g("Servers");return E&&E.size?f.default.createElement("div",null,f.default.createElement("span",{className:"servers-title"},"Servers"),f.default.createElement(O,{servers:E,currentServer:p.selectedServer(),setSelectedServer:d.setSelectedServer,setServerVariableValue:d.setServerVariableValue,getServerVariable:p.serverVariableValue,getEffectiveServerValue:p.serverEffectiveValue})):null}}const wz=Function.prototype;class zk extends f.PureComponent{constructor(p,d){super(p,d);ie(this,"applyDefaultValue",p=>{const{onChange:d,defaultValue:g}=p||this.props;return this.setState({value:g}),d(g)});ie(this,"onChange",p=>{this.props.onChange(vr(p))});ie(this,"onDomChange",p=>{const d=p.target.value;this.setState({value:d},()=>this.onChange(d))});this.state={value:vr(p.value)||p.defaultValue},p.onChange(p.value)}UNSAFE_componentWillReceiveProps(p){this.props.value!==p.value&&p.value!==this.state.value&&this.setState({value:vr(p.value)}),!p.value&&p.defaultValue&&this.state.value&&this.applyDefaultValue(p)}render(){let{getComponent:p,errors:d}=this.props,{value:g}=this.state,E=d.size>0;const O=p("TextArea");return f.default.createElement("div",{className:"body-param"},f.default.createElement(O,{className:(0,Er.default)("body-param__text",{invalid:E}),title:d.size?d.join(", "):"",value:g,onChange:this.onDomChange}))}}ie(zk,"defaultProps",{onChange:wz,userHasEditedBody:!1});class _z extends f.default.Component{constructor(p,d){super(p,d);ie(this,"onChange",p=>{let{onChange:d}=this.props,{value:g,name:E}=p.target,O=Object.assign({},this.state.value);E?O[E]=g:O=g,this.setState({value:O},()=>d(this.state))});let{name:g,schema:E}=this.props,O=this.getValue();this.state={name:g,schema:E,value:O}}getValue(){let{name:p,authorized:d}=this.props;return d&&d.getIn([p,"value"])}render(){let{schema:p,getComponent:d,errSelectors:g,name:E}=this.props;const O=d("Input"),k=d("Row"),N=d("Col"),D=d("authError"),F=d("Markdown",!0),W=d("JumpToPath",!0),G=(p.get("scheme")||"").toLowerCase();let H=this.getValue(),ne=g.allErrors().filter(le=>le.get("authId")===E);if(G==="basic"){let le=H?H.get("username"):null;return f.default.createElement("div",null,f.default.createElement("h4",null,f.default.createElement("code",null,E||p.get("name")),"  (http, Basic)",f.default.createElement(W,{path:["securityDefinitions",E]})),le&&f.default.createElement("h6",null,"Authorized"),f.default.createElement(k,null,f.default.createElement(F,{source:p.get("description")})),f.default.createElement(k,null,f.default.createElement("label",{htmlFor:"auth-basic-username"},"Username:"),le?f.default.createElement("code",null," ",le," "):f.default.createElement(N,null,f.default.createElement(O,{id:"auth-basic-username",type:"text",required:"required",name:"username","aria-label":"auth-basic-username",onChange:this.onChange,autoFocus:!0}))),f.default.createElement(k,null,f.default.createElement("label",{htmlFor:"auth-basic-password"},"Password:"),le?f.default.createElement("code",null," ****** "):f.default.createElement(N,null,f.default.createElement(O,{id:"auth-basic-password",autoComplete:"new-password",name:"password",type:"password","aria-label":"auth-basic-password",onChange:this.onChange}))),ne.valueSeq().map((ae,Re)=>f.default.createElement(D,{error:ae,key:Re})))}return G==="bearer"?f.default.createElement("div",null,f.default.createElement("h4",null,f.default.createElement("code",null,E||p.get("name")),"  (http, Bearer)",f.default.createElement(W,{path:["securityDefinitions",E]})),H&&f.default.createElement("h6",null,"Authorized"),f.default.createElement(k,null,f.default.createElement(F,{source:p.get("description")})),f.default.createElement(k,null,f.default.createElement("label",{htmlFor:"auth-bearer-value"},"Value:"),H?f.default.createElement("code",null," ****** "):f.default.createElement(N,null,f.default.createElement(O,{id:"auth-bearer-value",type:"text","aria-label":"auth-bearer-value",onChange:this.onChange,autoFocus:!0}))),ne.valueSeq().map((le,ae)=>f.default.createElement(D,{error:le,key:ae}))):f.default.createElement("div",null,f.default.createElement("em",null,f.default.createElement("b",null,E)," HTTP authentication: unsupported scheme ",`'${G}'`))}}class xz extends f.default.Component{constructor(){super(...arguments);ie(this,"setSelectedServer",p=>{const{path:d,method:g}=this.props;return this.forceUpdate(),this.props.setSelectedServer(p,`${d}:${g}`)});ie(this,"setServerVariableValue",p=>{const{path:d,method:g}=this.props;return this.forceUpdate(),this.props.setServerVariableValue({...p,namespace:`${d}:${g}`})});ie(this,"getSelectedServer",()=>{const{path:p,method:d}=this.props;return this.props.getSelectedServer(`${p}:${d}`)});ie(this,"getServerVariable",(p,d)=>{const{path:g,method:E}=this.props;return this.props.getServerVariable({namespace:`${g}:${E}`,server:p},d)});ie(this,"getEffectiveServerValue",p=>{const{path:d,method:g}=this.props;return this.props.getEffectiveServerValue({server:p,namespace:`${d}:${g}`})})}render(){const{operationServers:p,pathServers:d,getComponent:g}=this.props;if(!p&&!d)return null;const E=g("Servers"),O=p||d,k=p?"operation":"path";return f.default.createElement("div",{className:"opblock-section operation-servers"},f.default.createElement("div",{className:"opblock-section-header"},f.default.createElement("div",{className:"tab-header"},f.default.createElement("h4",{className:"opblock-title"},"Servers"))),f.default.createElement("div",{className:"opblock-description-wrapper"},f.default.createElement("h4",{className:"message"},"These ",k,"-level options override the global server options."),f.default.createElement(E,{servers:O,currentServer:this.getSelectedServer(),setSelectedServer:this.setSelectedServer,setServerVariableValue:this.setServerVariableValue,getServerVariable:this.getServerVariable,getEffectiveServerValue:this.getEffectiveServerValue})))}}var Az={Callbacks:gz,HttpAuth:_z,RequestBody:yz,Servers:Ez,ServersContainer:Sz,RequestBodyEditor:zk,OperationServers:xz,operationLink:bz};const uE=new Nk.Remarkable("commonmark");uE.block.ruler.enable(["table"]),uE.set({linkTarget:"_blank"});var Oz=ip(({source:a,className:u="",getConfigs:p=()=>({useUnsafeMarkdown:!1})})=>{if(typeof a!="string")return null;if(a){const{useUnsafeMarkdown:d}=p(),g=tp(uE.render(a),{useUnsafeMarkdown:d});let E;return typeof g=="string"&&(E=g.trim()),f.default.createElement("div",{dangerouslySetInnerHTML:{__html:E},className:(0,Er.default)(u,"renderedMarkdown")})}return null}),Cz=ip(({Ori:a,...u})=>{const{schema:p,getComponent:d,errSelectors:g,authorized:E,onAuthChange:O,name:k}=u,N=d("HttpAuth");return p.get("type")==="http"?f.default.createElement(N,{key:k,schema:p,name:k,errSelectors:g,authorized:E,getComponent:d,onChange:O}):f.default.createElement(a,u)}),$z=ip(pk);class kz extends f.Component{render(){let{getConfigs:u,schema:p}=this.props,d=["model-box"],g=null;return p.get("deprecated")===!0&&(d.push("deprecated"),g=f.default.createElement("span",{className:"model-deprecated-warning"},"Deprecated:")),f.default.createElement("div",{className:d.join(" ")},g,f.default.createElement(iE,(0,Kt.default)({},this.props,{getConfigs:u,depth:1,expandDepth:this.props.expandDepth||0})))}}var Tz=ip(kz),Pz=ip(({Ori:a,...u})=>{const{schema:p,getComponent:d,errors:g,onChange:E}=u,O=p&&p.get?p.get("format"):null,k=p&&p.get?p.get("type"):null,N=d("Input");return k&&k==="string"&&O&&(O==="binary"||O==="base64")?f.default.createElement(N,{type:"file",className:g.length?"invalid":"",title:g.length?g:"",onChange:D=>{E(D.target.files[0])},disabled:a.isDisabled}):f.default.createElement(a,u)}),Rz={Markdown:Oz,AuthItem:Cz,OpenAPIVersion:function(u){return(p,d)=>g=>{var E;return typeof((E=d.specSelectors)==null?void 0:E.isOAS30)=="function"?d.specSelectors.isOAS30()?f.default.createElement(u,(0,Kt.default)({},g,d,{Ori:p})):f.default.createElement(p,g):(console.warn("OAS30 wrapper: couldn't get spec"),null)}}(a=>{const{Ori:u}=a;return f.default.createElement(u,{oasVersion:"3.0"})}),JsonSchema_string:Pz,model:Tz,onlineValidatorBadge:$z};const cE="oas3_set_servers",fE="oas3_set_request_body_value",pE="oas3_set_request_body_retain_flag",dE="oas3_set_request_body_inclusion",hE="oas3_set_active_examples_member",mE="oas3_set_request_content_type",gE="oas3_set_response_content_type",yE="oas3_set_server_variable_value",vE="oas3_set_request_body_validate_error",Bm="oas3_clear_request_body_validate_error",bE="oas3_clear_request_body_value";function Iz(a,u){return{type:cE,payload:{selectedServerUrl:a,namespace:u}}}function Nz({value:a,pathMethod:u}){return{type:fE,payload:{value:a,pathMethod:u}}}const jz=({value:a,pathMethod:u})=>({type:pE,payload:{value:a,pathMethod:u}});function Mz({value:a,pathMethod:u,name:p}){return{type:dE,payload:{value:a,pathMethod:u,name:p}}}function Dz({name:a,pathMethod:u,contextType:p,contextName:d}){return{type:hE,payload:{name:a,pathMethod:u,contextType:p,contextName:d}}}function Fz({value:a,pathMethod:u}){return{type:mE,payload:{value:a,pathMethod:u}}}function Lz({value:a,path:u,method:p}){return{type:gE,payload:{value:a,path:u,method:p}}}function Bz({server:a,namespace:u,key:p,val:d}){return{type:yE,payload:{server:a,namespace:u,key:p,val:d}}}const Uz=({path:a,method:u,validationErrors:p})=>({type:vE,payload:{path:a,method:u,validationErrors:p}}),Vz=({path:a,method:u})=>({type:Bm,payload:{path:a,method:u}}),zz=({pathMethod:a})=>({type:Bm,payload:{path:a[0],method:a[1]}}),qz=({pathMethod:a})=>({type:bE,payload:{pathMethod:a}}),Yi=a=>(u,...p)=>d=>{if(d.getSystem().specSelectors.isOAS3()){const g=a(u,...p);return typeof g=="function"?g(d):g}return null},Wz=Yi((a,u)=>{const p=u?[u,"selectedServer"]:["selectedServer"];return a.getIn(p)||""}),Kz=Yi((a,u,p)=>a.getIn(["requestData",u,p,"bodyValue"])||null),Hz=Yi((a,u,p)=>a.getIn(["requestData",u,p,"retainBodyValue"])||!1),Jz=(a,u,p)=>d=>{const{oas3Selectors:g,specSelectors:E,fn:O}=d.getSystem();if(E.isOAS3()){const k=g.requestContentType(u,p);if(k)return Lm(E.specResolvedSubtree(["paths",u,p,"requestBody"]),k,g.activeExamplesMember(u,p,"requestBody","requestBody"),O)}return null},Gz=Yi((a,u,p)=>d=>{const{oas3Selectors:g,specSelectors:E,fn:O}=d;let k=!1;const N=g.requestContentType(u,p);let D=g.requestBodyValue(u,p);const F=E.specResolvedSubtree(["paths",u,p,"requestBody"]);if(!F)return!1;if(L.Map.isMap(D)&&(D=vr(D.mapEntries(W=>L.Map.isMap(W[1])?[W[0],W[1].get("value")]:W).toJS())),L.List.isList(D)&&(D=vr(D)),N){const W=Lm(F,N,g.activeExamplesMember(u,p,"requestBody","requestBody"),O);k=!!D&&D!==W}return k}),Yz=Yi((a,u,p)=>a.getIn(["requestData",u,p,"bodyInclusion"])||(0,L.Map)()),Xz=Yi((a,u,p)=>a.getIn(["requestData",u,p,"errors"])||null),Qz=Yi((a,u,p,d,g)=>a.getIn(["examples",u,p,d,g,"activeExample"])||null),Zz=Yi((a,u,p)=>a.getIn(["requestData",u,p,"requestContentType"])||null),eq=Yi((a,u,p)=>a.getIn(["requestData",u,p,"responseContentType"])||null),tq=Yi((a,u,p)=>{let d;if(typeof u!="string"){const{server:g,namespace:E}=u;d=E?[E,"serverVariableValues",g,p]:["serverVariableValues",g,p]}else d=["serverVariableValues",u,p];return a.getIn(d)||null}),rq=Yi((a,u)=>{let p;if(typeof u!="string"){const{server:d,namespace:g}=u;p=g?[g,"serverVariableValues",d]:["serverVariableValues",d]}else p=["serverVariableValues",u];return a.getIn(p)||(0,L.OrderedMap)()}),nq=Yi((a,u)=>{var p,d;if(typeof u!="string"){const{server:E,namespace:O}=u;d=E,p=O?a.getIn([O,"serverVariableValues",d]):a.getIn(["serverVariableValues",d])}else d=u,p=a.getIn(["serverVariableValues",d]);p=p||(0,L.OrderedMap)();let g=d;return p.map((E,O)=>{g=g.replace(new RegExp(`{${O}}`,"g"),E)}),g}),iq=function(u){return(...p)=>d=>{const g=d.getSystem().specSelectors.specJson();let E=[...p][1]||[];return!g.getIn(["paths",...E,"requestBody","required"])||u(...p)}}((a,u)=>((p,d)=>(d=d||[],!!p.getIn(["requestData",...d,"bodyValue"])))(a,u)),sq=(a,{oas3RequiredRequestBodyContentType:u,oas3RequestContentType:p,oas3RequestBodyValue:d})=>{let g=[];if(!L.Map.isMap(d))return g;let E=[];return Object.keys(u.requestContentType).forEach(O=>{O===p&&u.requestContentType[O].forEach(k=>{E.indexOf(k)<0&&E.push(k)})}),E.forEach(O=>{d.getIn([O,"value"])||g.push(O)}),g},oq=(0,Rm.default)(["get","put","post","delete","options","head","patch","trace"]);var aq={[cE]:(a,{payload:{selectedServerUrl:u,namespace:p}})=>{const d=p?[p,"selectedServer"]:["selectedServer"];return a.setIn(d,u)},[fE]:(a,{payload:{value:u,pathMethod:p}})=>{let[d,g]=p;if(!L.Map.isMap(u))return a.setIn(["requestData",d,g,"bodyValue"],u);let E,O=a.getIn(["requestData",d,g,"bodyValue"])||(0,L.Map)();L.Map.isMap(O)||(O=(0,L.Map)());const[...k]=u.keys();return k.forEach(N=>{let D=u.getIn([N]);O.has(N)&&L.Map.isMap(D)||(E=O.setIn([N,"value"],D))}),a.setIn(["requestData",d,g,"bodyValue"],E)},[pE]:(a,{payload:{value:u,pathMethod:p}})=>{let[d,g]=p;return a.setIn(["requestData",d,g,"retainBodyValue"],u)},[dE]:(a,{payload:{value:u,pathMethod:p,name:d}})=>{let[g,E]=p;return a.setIn(["requestData",g,E,"bodyInclusion",d],u)},[hE]:(a,{payload:{name:u,pathMethod:p,contextType:d,contextName:g}})=>{let[E,O]=p;return a.setIn(["examples",E,O,d,g,"activeExample"],u)},[mE]:(a,{payload:{value:u,pathMethod:p}})=>{let[d,g]=p;return a.setIn(["requestData",d,g,"requestContentType"],u)},[gE]:(a,{payload:{value:u,path:p,method:d}})=>a.setIn(["requestData",p,d,"responseContentType"],u),[yE]:(a,{payload:{server:u,namespace:p,key:d,val:g}})=>{const E=p?[p,"serverVariableValues",u,d]:["serverVariableValues",u,d];return a.setIn(E,g)},[vE]:(a,{payload:{path:u,method:p,validationErrors:d}})=>{let g=[];if(g.push("Required field is not provided"),d.missingBodyValue)return a.setIn(["requestData",u,p,"errors"],(0,L.fromJS)(g));if(d.missingRequiredKeys&&d.missingRequiredKeys.length>0){const{missingRequiredKeys:E}=d;return a.updateIn(["requestData",u,p,"bodyValue"],(0,L.fromJS)({}),O=>E.reduce((k,N)=>k.setIn([N,"errors"],(0,L.fromJS)(g)),O))}return console.warn("unexpected result: SET_REQUEST_BODY_VALIDATE_ERROR"),a},[Bm]:(a,{payload:{path:u,method:p}})=>{const d=a.getIn(["requestData",u,p,"bodyValue"]);if(!L.Map.isMap(d))return a.setIn(["requestData",u,p,"errors"],(0,L.fromJS)([]));const[...g]=d.keys();return g?a.updateIn(["requestData",u,p,"bodyValue"],(0,L.fromJS)({}),E=>g.reduce((O,k)=>O.setIn([k,"errors"],(0,L.fromJS)([])),E)):a},[bE]:(a,{payload:{pathMethod:u}})=>{let[p,d]=u;const g=a.getIn(["requestData",p,d,"bodyValue"]);return g?L.Map.isMap(g)?a.setIn(["requestData",p,d,"bodyValue"],(0,L.Map)()):a.setIn(["requestData",p,d,"bodyValue"],""):a}};function EE(){return{components:Az,wrapComponents:Rz,statePlugins:{spec:{wrapSelectors:C,selectors:U},auth:{wrapSelectors:j},oas3:{actions:{...z},reducers:aq,selectors:{...J}}}}}var lq=({specSelectors:a,getComponent:u})=>{const p=a.selectWebhooksOperations(),d=Object.keys(p),g=u("OperationContainer",!0);return d.length===0?null:f.default.createElement("div",{className:"webhooks"},f.default.createElement("h2",null,"Webhooks"),d.map(E=>f.default.createElement("div",{key:`${E}-webhook`},p[E].map(O=>f.default.createElement(g,{key:`${E}-${O.method}-webhook`,op:O.operation,tag:"webhooks",method:O.method,path:E,specPath:O.specPath,allowTryItOut:!1})))))},uq=({getComponent:a,specSelectors:u})=>{const p=u.selectLicenseNameField(),d=u.selectLicenseUrl(),g=a("Link");return f.default.createElement("div",{className:"info__license"},d?f.default.createElement("div",{className:"info__license__url"},f.default.createElement(g,{target:"_blank",href:tr(d)},p)):f.default.createElement("span",null,p))},cq=({getComponent:a,specSelectors:u})=>{const p=u.selectContactNameField(),d=u.selectContactUrl(),g=u.selectContactEmailField(),E=a("Link");return f.default.createElement("div",{className:"info__contact"},d&&f.default.createElement("div",null,f.default.createElement(E,{href:tr(d),target:"_blank"},p," - Website")),g&&f.default.createElement(E,{href:tr(`mailto:${g}`)},d?`Send email to ${p}`:`Contact ${p}`))},fq=({getComponent:a,specSelectors:u})=>{const p=u.version(),d=u.url(),g=u.basePath(),E=u.host(),O=u.selectInfoSummaryField(),k=u.selectInfoDescriptionField(),N=u.selectInfoTitleField(),D=u.selectInfoTermsOfServiceUrl(),F=u.selectExternalDocsUrl(),W=u.selectExternalDocsDescriptionField(),G=u.contact(),H=u.license(),ne=a("Markdown",!0),le=a("Link"),ae=a("VersionStamp"),Re=a("OpenAPIVersion"),Oe=a("InfoUrl"),Me=a("InfoBasePath"),ve=a("License",!0),Se=a("Contact",!0),Ue=a("JsonSchemaDialect",!0);return f.default.createElement("div",{className:"info"},f.default.createElement("hgroup",{className:"main"},f.default.createElement("h2",{className:"title"},N,f.default.createElement("span",null,p&&f.default.createElement(ae,{version:p}),f.default.createElement(Re,{oasVersion:"3.1"}))),(E||g)&&f.default.createElement(Me,{host:E,basePath:g}),d&&f.default.createElement(Oe,{getComponent:a,url:d})),O&&f.default.createElement("p",{className:"info__summary"},O),f.default.createElement("div",{className:"info__description description"},f.default.createElement(ne,{source:k})),D&&f.default.createElement("div",{className:"info__tos"},f.default.createElement(le,{target:"_blank",href:tr(D)},"Terms of service")),G.size>0&&f.default.createElement(Se,null),H.size>0&&f.default.createElement(ve,null),F&&f.default.createElement(le,{className:"info__extdocs",target:"_blank",href:tr(F)},W||F),f.default.createElement(Ue,null))},pq=({getComponent:a,specSelectors:u})=>{const p=u.selectJsonSchemaDialectField(),d=u.selectJsonSchemaDialectDefault(),g=a("Link");return f.default.createElement(f.default.Fragment,null,p&&p===d&&f.default.createElement("p",{className:"info__jsonschemadialect"},"JSON Schema dialect:"," ",f.default.createElement(g,{target:"_blank",href:tr(p)},p)),p&&p!==d&&f.default.createElement("div",{className:"error-wrapper"},f.default.createElement("div",{className:"no-margin"},f.default.createElement("div",{className:"errors"},f.default.createElement("div",{className:"errors-wrapper"},f.default.createElement("h4",{className:"center"},"Warning"),f.default.createElement("p",{className:"message"},f.default.createElement("strong",null,"OpenAPI.jsonSchemaDialect")," field contains a value different from the default value of"," ",f.default.createElement(g,{target:"_blank",href:d},d),". Values different from the default one are currently not supported. Please either omit the field or provide it with the default value."))))))},dq=({bypass:a,isSwagger2:u,isOAS3:p,isOAS31:d,alsoShow:g,children:E})=>a?f.default.createElement("div",null,E):u&&(p||d)?f.default.createElement("div",{className:"version-pragma"},g,f.default.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},f.default.createElement("div",null,f.default.createElement("h3",null,"Unable to render this definition"),f.default.createElement("p",null,f.default.createElement("code",null,"swagger")," and ",f.default.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),f.default.createElement("p",null,"Supported version fields are ",f.default.createElement("code",null,'swagger: "2.0"')," and those that match ",f.default.createElement("code",null,"openapi: 3.x.y")," (for example,"," ",f.default.createElement("code",null,"openapi: 3.1.0"),").")))):u||p||d?f.default.createElement("div",null,E):f.default.createElement("div",{className:"version-pragma"},g,f.default.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},f.default.createElement("div",null,f.default.createElement("h3",null,"Unable to render this definition"),f.default.createElement("p",null,"The provided definition does not specify a valid version field."),f.default.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",f.default.createElement("code",null,'swagger: "2.0"')," and those that match ",f.default.createElement("code",null,"openapi: 3.x.y")," (for example,"," ",f.default.createElement("code",null,"openapi: 3.1.0"),")."))));const hq=a=>typeof a=="string"&&a.includes("#/components/schemas/")?(u=>{const p=u.replace(/~1/g,"/").replace(/~0/g,"~");try{return decodeURIComponent(p)}catch{return p}})(a.replace(/^.*#\/components\/schemas\//,"")):null;var mq=(0,f.forwardRef)(({schema:a,getComponent:u,onToggle:p=()=>{}},d)=>{const g=u("JSONSchema202012"),E=hq(a.get("$$ref")),O=(0,f.useCallback)((k,N)=>{p(E,N)},[E,p]);return f.default.createElement(g,{name:E,schema:a.toJS(),ref:d,onExpand:O})}),gq=({specActions:a,specSelectors:u,layoutSelectors:p,layoutActions:d,getComponent:g,getConfigs:E})=>{const O=u.selectSchemas(),k=Object.keys(O).length>0,N=["components","schemas"],{docExpansion:D,defaultModelsExpandDepth:F}=E(),W=F>0&&D!=="none",G=p.isShown(N,W),H=g("Collapse"),ne=g("JSONSchema202012"),le=g("ArrowUpIcon"),ae=g("ArrowDownIcon");(0,f.useEffect)(()=>{const Se=G&&F>1,Ue=u.specResolvedSubtree(N)!=null;Se&&!Ue&&a.requestResolvedSubtree(N)},[G,F]);const Re=(0,f.useCallback)(()=>{d.show(N,!G)},[G]),Oe=(0,f.useCallback)(Se=>{Se!==null&&d.readyToScroll(N,Se)},[]),Me=Se=>Ue=>{Ue!==null&&d.readyToScroll([...N,Se],Ue)},ve=Se=>(Ue,xe)=>{if(xe){const Te=[...N,Se];u.specResolvedSubtree(Te)!=null||a.requestResolvedSubtree([...N,Se])}};return!k||F<0?null:f.default.createElement("section",{className:(0,Er.default)("models",{"is-open":G}),ref:Oe},f.default.createElement("h4",null,f.default.createElement("button",{"aria-expanded":G,className:"models-control",onClick:Re},f.default.createElement("span",null,"Schemas"),G?f.default.createElement(le,null):f.default.createElement(ae,null))),f.default.createElement(H,{isOpened:G},Object.entries(O).map(([Se,Ue])=>f.default.createElement(ne,{key:Se,ref:Me(Se),schema:Ue,name:Se,onExpand:ve(Se)}))))},yq=({schema:a,getComponent:u})=>{const p=u("JumpToPath",!0);return f.default.createElement("div",null,f.default.createElement("h4",null,a.get("name")," (mutualTLS)"," ",f.default.createElement(p,{path:["securityDefinitions",a.get("name")]})),f.default.createElement("p",null,"Mutual TLS is required by this API/Operation. Certificates are managed via your Operating System and/or your browser."),f.default.createElement("p",null,a.get("description")))};class vq extends f.default.Component{constructor(p,d){super(p,d);ie(this,"onAuthChange",p=>{let{name:d}=p;this.setState({[d]:p})});ie(this,"submitAuth",p=>{p.preventDefault();let{authActions:d}=this.props;d.authorizeWithPersistOption(this.state)});ie(this,"logoutClick",p=>{p.preventDefault();let{authActions:d,definitions:g}=this.props,E=g.map((O,k)=>k).toArray();this.setState(E.reduce((O,k)=>(O[k]="",O),{})),d.logoutWithPersistOption(E)});ie(this,"close",p=>{p.preventDefault();let{authActions:d}=this.props;d.showDefinitions(!1)});this.state={}}render(){let{definitions:p,getComponent:d,authSelectors:g,errSelectors:E}=this.props;const O=d("AuthItem"),k=d("oauth2",!0),N=d("Button"),D=g.authorized(),F=p.filter((ne,le)=>!!D.get(le)),W=p.filter(ne=>ne.get("type")!=="oauth2"&&ne.get("type")!=="mutualTLS"),G=p.filter(ne=>ne.get("type")==="oauth2"),H=p.filter(ne=>ne.get("type")==="mutualTLS");return f.default.createElement("div",{className:"auth-container"},W.size>0&&f.default.createElement("form",{onSubmit:this.submitAuth},W.map((ne,le)=>f.default.createElement(O,{key:le,schema:ne,name:le,getComponent:d,onAuthChange:this.onAuthChange,authorized:D,errSelectors:E})).toArray(),f.default.createElement("div",{className:"auth-btn-wrapper"},W.size===F.size?f.default.createElement(N,{className:"btn modal-btn auth",onClick:this.logoutClick,"aria-label":"Remove authorization"},"Logout"):f.default.createElement(N,{type:"submit",className:"btn modal-btn auth authorize","aria-label":"Apply credentials"},"Authorize"),f.default.createElement(N,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),G.size>0?f.default.createElement("div",null,f.default.createElement("div",{className:"scope-def"},f.default.createElement("p",null,"Scopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes."),f.default.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),p.filter(ne=>ne.get("type")==="oauth2").map((ne,le)=>f.default.createElement("div",{key:le},f.default.createElement(k,{authorized:D,schema:ne,name:le}))).toArray()):null,H.size>0&&f.default.createElement("div",null,H.map((ne,le)=>f.default.createElement(O,{key:le,schema:ne,name:le,getComponent:d,onAuthChange:this.onAuthChange,authorized:D,errSelectors:E})).toArray()))}}var bq=vq;const qk=a=>{const u=a.get("openapi");return typeof u=="string"&&/^3\.1\.(?:[1-9]\d*|0)$/.test(u)},Wk=a=>(u,...p)=>d=>{if(d.getSystem().specSelectors.isOAS31()){const g=a(u,...p);return typeof g=="function"?g(d):g}return null},Kk=a=>(u,p)=>(d,...g)=>{if(p.getSystem().specSelectors.isOAS31()){const E=a(d,...g);return typeof E=="function"?E(u,p):E}return u(...g)},Hk=a=>(u,...p)=>d=>{const g=a(u,d,...p);return typeof g=="function"?g(d):g},Hs=a=>(u,p)=>d=>p.specSelectors.isOAS31()?f.default.createElement(a,(0,Kt.default)({},d,{originalComponent:u,getSystem:p.getSystem})):f.default.createElement(u,d);var Eq=Hs(({getSystem:a})=>{const u=a().getComponent("OAS31License",!0);return f.default.createElement(u,null)}),Sq=Hs(({getSystem:a})=>{const u=a().getComponent("OAS31Contact",!0);return f.default.createElement(u,null)}),wq=Hs(({getSystem:a})=>{const u=a().getComponent("OAS31Info",!0);return f.default.createElement(u,null)}),_q=Hs(({getSystem:a,...u})=>{const p=a(),{getComponent:d,fn:g,getConfigs:E}=p,O=E(),k=d("OAS31Model"),N=d("JSONSchema202012"),D=d("JSONSchema202012Keyword$schema"),F=d("JSONSchema202012Keyword$vocabulary"),W=d("JSONSchema202012Keyword$id"),G=d("JSONSchema202012Keyword$anchor"),H=d("JSONSchema202012Keyword$dynamicAnchor"),ne=d("JSONSchema202012Keyword$ref"),le=d("JSONSchema202012Keyword$dynamicRef"),ae=d("JSONSchema202012Keyword$defs"),Re=d("JSONSchema202012Keyword$comment"),Oe=d("JSONSchema202012KeywordAllOf"),Me=d("JSONSchema202012KeywordAnyOf"),ve=d("JSONSchema202012KeywordOneOf"),Se=d("JSONSchema202012KeywordNot"),Ue=d("JSONSchema202012KeywordIf"),xe=d("JSONSchema202012KeywordThen"),Te=d("JSONSchema202012KeywordElse"),Pe=d("JSONSchema202012KeywordDependentSchemas"),je=d("JSONSchema202012KeywordPrefixItems"),Ze=d("JSONSchema202012KeywordItems"),it=d("JSONSchema202012KeywordContains"),we=d("JSONSchema202012KeywordProperties"),Ve=d("JSONSchema202012KeywordPatternProperties"),tt=d("JSONSchema202012KeywordAdditionalProperties"),Mt=d("JSONSchema202012KeywordPropertyNames"),rr=d("JSONSchema202012KeywordUnevaluatedItems"),Jt=d("JSONSchema202012KeywordUnevaluatedProperties"),fr=d("JSONSchema202012KeywordType"),qe=d("JSONSchema202012KeywordEnum"),gt=d("JSONSchema202012KeywordConst"),xt=d("JSONSchema202012KeywordConstraint"),Wt=d("JSONSchema202012KeywordDependentRequired"),$t=d("JSONSchema202012KeywordContentSchema"),kt=d("JSONSchema202012KeywordTitle"),bt=d("JSONSchema202012KeywordDescription"),or=d("JSONSchema202012KeywordDefault"),Jr=d("JSONSchema202012KeywordDeprecated"),pn=d("JSONSchema202012KeywordReadOnly"),Xi=d("JSONSchema202012KeywordWriteOnly"),Po=d("JSONSchema202012Accordion"),Ci=d("JSONSchema202012ExpandDeepButton"),Ol=d("JSONSchema202012ChevronRightIcon"),Cl=d("withJSONSchema202012Context")(k,{config:{default$schema:"https://spec.openapis.org/oas/3.1/dialect/base",defaultExpandedLevels:O.defaultModelExpandDepth,includeReadOnly:!!u.includeReadOnly,includeWriteOnly:!!u.includeWriteOnly},components:{JSONSchema:N,Keyword$schema:D,Keyword$vocabulary:F,Keyword$id:W,Keyword$anchor:G,Keyword$dynamicAnchor:H,Keyword$ref:ne,Keyword$dynamicRef:le,Keyword$defs:ae,Keyword$comment:Re,KeywordAllOf:Oe,KeywordAnyOf:Me,KeywordOneOf:ve,KeywordNot:Se,KeywordIf:Ue,KeywordThen:xe,KeywordElse:Te,KeywordDependentSchemas:Pe,KeywordPrefixItems:je,KeywordItems:Ze,KeywordContains:it,KeywordProperties:we,KeywordPatternProperties:Ve,KeywordAdditionalProperties:tt,KeywordPropertyNames:Mt,KeywordUnevaluatedItems:rr,KeywordUnevaluatedProperties:Jt,KeywordType:fr,KeywordEnum:qe,KeywordConst:gt,KeywordConstraint:xt,KeywordDependentRequired:Wt,KeywordContentSchema:$t,KeywordTitle:kt,KeywordDescription:bt,KeywordDefault:or,KeywordDeprecated:Jr,KeywordReadOnly:pn,KeywordWriteOnly:Xi,Accordion:Po,ExpandDeepButton:Ci,ChevronRightIcon:Ol},fn:{upperFirst:g.upperFirst,isExpandable:g.jsonSchema202012.isExpandable,getProperties:g.jsonSchema202012.getProperties}});return f.default.createElement(Cl,u)});const Fu=Hs(({getSystem:a})=>{const{getComponent:u,fn:p,getConfigs:d}=a(),g=d();if(Fu.ModelsWithJSONSchemaContext)return f.default.createElement(Fu.ModelsWithJSONSchemaContext,null);const E=u("OAS31Models",!0),O=u("JSONSchema202012"),k=u("JSONSchema202012Keyword$schema"),N=u("JSONSchema202012Keyword$vocabulary"),D=u("JSONSchema202012Keyword$id"),F=u("JSONSchema202012Keyword$anchor"),W=u("JSONSchema202012Keyword$dynamicAnchor"),G=u("JSONSchema202012Keyword$ref"),H=u("JSONSchema202012Keyword$dynamicRef"),ne=u("JSONSchema202012Keyword$defs"),le=u("JSONSchema202012Keyword$comment"),ae=u("JSONSchema202012KeywordAllOf"),Re=u("JSONSchema202012KeywordAnyOf"),Oe=u("JSONSchema202012KeywordOneOf"),Me=u("JSONSchema202012KeywordNot"),ve=u("JSONSchema202012KeywordIf"),Se=u("JSONSchema202012KeywordThen"),Ue=u("JSONSchema202012KeywordElse"),xe=u("JSONSchema202012KeywordDependentSchemas"),Te=u("JSONSchema202012KeywordPrefixItems"),Pe=u("JSONSchema202012KeywordItems"),je=u("JSONSchema202012KeywordContains"),Ze=u("JSONSchema202012KeywordProperties"),it=u("JSONSchema202012KeywordPatternProperties"),we=u("JSONSchema202012KeywordAdditionalProperties"),Ve=u("JSONSchema202012KeywordPropertyNames"),tt=u("JSONSchema202012KeywordUnevaluatedItems"),Mt=u("JSONSchema202012KeywordUnevaluatedProperties"),rr=u("JSONSchema202012KeywordType"),Jt=u("JSONSchema202012KeywordEnum"),fr=u("JSONSchema202012KeywordConst"),qe=u("JSONSchema202012KeywordConstraint"),gt=u("JSONSchema202012KeywordDependentRequired"),xt=u("JSONSchema202012KeywordContentSchema"),Wt=u("JSONSchema202012KeywordTitle"),$t=u("JSONSchema202012KeywordDescription"),kt=u("JSONSchema202012KeywordDefault"),bt=u("JSONSchema202012KeywordDeprecated"),or=u("JSONSchema202012KeywordReadOnly"),Jr=u("JSONSchema202012KeywordWriteOnly"),pn=u("JSONSchema202012Accordion"),Xi=u("JSONSchema202012ExpandDeepButton"),Po=u("JSONSchema202012ChevronRightIcon"),Ci=u("withJSONSchema202012Context");return Fu.ModelsWithJSONSchemaContext=Ci(E,{config:{default$schema:"https://spec.openapis.org/oas/3.1/dialect/base",defaultExpandedLevels:g.defaultModelsExpandDepth-1,includeReadOnly:!0,includeWriteOnly:!0},components:{JSONSchema:O,Keyword$schema:k,Keyword$vocabulary:N,Keyword$id:D,Keyword$anchor:F,Keyword$dynamicAnchor:W,Keyword$ref:G,Keyword$dynamicRef:H,Keyword$defs:ne,Keyword$comment:le,KeywordAllOf:ae,KeywordAnyOf:Re,KeywordOneOf:Oe,KeywordNot:Me,KeywordIf:ve,KeywordThen:Se,KeywordElse:Ue,KeywordDependentSchemas:xe,KeywordPrefixItems:Te,KeywordItems:Pe,KeywordContains:je,KeywordProperties:Ze,KeywordPatternProperties:it,KeywordAdditionalProperties:we,KeywordPropertyNames:Ve,KeywordUnevaluatedItems:tt,KeywordUnevaluatedProperties:Mt,KeywordType:rr,KeywordEnum:Jt,KeywordConst:fr,KeywordConstraint:qe,KeywordDependentRequired:gt,KeywordContentSchema:xt,KeywordTitle:Wt,KeywordDescription:$t,KeywordDefault:kt,KeywordDeprecated:bt,KeywordReadOnly:or,KeywordWriteOnly:Jr,Accordion:pn,ExpandDeepButton:Xi,ChevronRightIcon:Po},fn:{upperFirst:p.upperFirst,isExpandable:p.jsonSchema202012.isExpandable,getProperties:p.jsonSchema202012.getProperties}}),f.default.createElement(Fu.ModelsWithJSONSchemaContext,null)});Fu.ModelsWithJSONSchemaContext=null;var xq=Fu,Aq=(a,u)=>p=>{const d=u.specSelectors.isOAS31(),g=u.getComponent("OAS31VersionPragmaFilter");return f.default.createElement(g,(0,Kt.default)({isOAS31:d},p))},Oq=Hs(({originalComponent:a,...u})=>{const{getComponent:p,schema:d}=u,g=p("MutualTLSAuth",!0);return d.get("type")==="mutualTLS"?f.default.createElement(g,{schema:d}):f.default.createElement(a,u)}),Cq=Hs(({getSystem:a,...u})=>{const p=a().getComponent("OAS31Auths",!0);return f.default.createElement(p,u)});const SE=(0,L.Map)(),$q=(0,wt.createSelector)((a,u)=>u.specSelectors.specJson(),qk),kq=()=>a=>{const u=a.specSelectors.specJson().get("webhooks");return L.Map.isMap(u)?u:SE},Tq=(0,wt.createSelector)([(a,u)=>u.specSelectors.webhooks(),(a,u)=>u.specSelectors.validOperationMethods(),(a,u)=>u.specSelectors.specResolvedSubtree(["webhooks"])],(a,u)=>a.reduce((p,d,g)=>{if(!L.Map.isMap(d))return p;const E=d.entrySeq().filter(([O])=>u.includes(O)).map(([O,k])=>({operation:(0,L.Map)({operation:k}),method:O,path:g,specPath:(0,L.List)(["webhooks",g,O])}));return p.concat(E)},(0,L.List)()).groupBy(p=>p.path).map(p=>p.toArray()).toObject()),Pq=()=>a=>{const u=a.specSelectors.info().get("license");return L.Map.isMap(u)?u:SE},Rq=()=>a=>a.specSelectors.license().get("name","License"),Iq=()=>a=>a.specSelectors.license().get("url"),Nq=(0,wt.createSelector)([(a,u)=>u.specSelectors.url(),(a,u)=>u.oas3Selectors.selectedServer(),(a,u)=>u.specSelectors.selectLicenseUrlField()],(a,u,p)=>{if(p)return _s(p,a,{selectedServer:u})}),jq=()=>a=>a.specSelectors.license().get("identifier"),Mq=()=>a=>{const u=a.specSelectors.info().get("contact");return L.Map.isMap(u)?u:SE},Dq=()=>a=>a.specSelectors.contact().get("name","the developer"),Fq=()=>a=>a.specSelectors.contact().get("email"),Lq=()=>a=>a.specSelectors.contact().get("url"),Bq=(0,wt.createSelector)([(a,u)=>u.specSelectors.url(),(a,u)=>u.oas3Selectors.selectedServer(),(a,u)=>u.specSelectors.selectContactUrlField()],(a,u,p)=>{if(p)return _s(p,a,{selectedServer:u})}),Uq=()=>a=>a.specSelectors.info().get("title"),Vq=()=>a=>a.specSelectors.info().get("summary"),zq=()=>a=>a.specSelectors.info().get("description"),qq=()=>a=>a.specSelectors.info().get("termsOfService"),Wq=(0,wt.createSelector)([(a,u)=>u.specSelectors.url(),(a,u)=>u.oas3Selectors.selectedServer(),(a,u)=>u.specSelectors.selectInfoTermsOfServiceField()],(a,u,p)=>{if(p)return _s(p,a,{selectedServer:u})}),Kq=()=>a=>a.specSelectors.externalDocs().get("description"),Hq=()=>a=>a.specSelectors.externalDocs().get("url"),Jq=(0,wt.createSelector)([(a,u)=>u.specSelectors.url(),(a,u)=>u.oas3Selectors.selectedServer(),(a,u)=>u.specSelectors.selectExternalDocsUrlField()],(a,u,p)=>{if(p)return _s(p,a,{selectedServer:u})}),Gq=()=>a=>a.specSelectors.specJson().get("jsonSchemaDialect"),Yq=()=>"https://spec.openapis.org/oas/3.1/dialect/base",Xq=(0,wt.createSelector)((a,u)=>u.specSelectors.definitions(),(a,u)=>u.specSelectors.specResolvedSubtree(["components","schemas"]),(a,u)=>L.Map.isMap(a)?L.Map.isMap(u)?Object.entries(a.toJS()).reduce((p,[d,g])=>{const E=u.get(d);return p[d]=(E==null?void 0:E.toJS())||g,p},{}):a.toJS():{}),Qq=(a,u)=>(p,...d)=>u.specSelectors.isOAS31()||a(...d),Zq=Kk(()=>(a,u)=>u.oas31Selectors.selectLicenseUrl()),eW=Kk(()=>(a,u)=>{const p=u.specSelectors.securityDefinitions();let d=a();return p&&p.entrySeq().forEach(([g,E])=>{E.get("type")==="mutualTLS"&&(d=d.push(new L.Map({[g]:E})))}),d}),tW=(0,wt.createSelector)([(a,u)=>u.specSelectors.url(),(a,u)=>u.oas3Selectors.selectedServer(),(a,u)=>u.specSelectors.selectLicenseUrlField(),(a,u)=>u.specSelectors.selectLicenseIdentifierField()],(a,u,p,d)=>p?_s(p,a,{selectedServer:u}):d?`https://spdx.org/licenses/${d}.html`:void 0);var rW=({schema:a,getSystem:u})=>{const{fn:p}=u(),{hasKeyword:d,stringify:g}=p.jsonSchema202012.useFn();return d(a,"example")?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--example"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Example"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--const"},g(a.example))):null},nW=({schema:a,getSystem:u})=>{const p=(a==null?void 0:a.xml)||{},{fn:d,getComponent:g}=u(),{useIsExpandedDeeply:E,useComponent:O}=d.jsonSchema202012,k=E(),N=!!(p.name||p.namespace||p.prefix),[D,F]=(0,f.useState)(k),[W,G]=(0,f.useState)(!1),H=O("Accordion"),ne=O("ExpandDeepButton"),le=g("JSONSchema202012DeepExpansionContext")(),ae=(0,f.useCallback)(()=>{F(Oe=>!Oe)},[]),Re=(0,f.useCallback)((Oe,Me)=>{F(Me),G(Me)},[]);return Object.keys(p).length===0?null:f.default.createElement(le.Provider,{value:W},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--xml"},N?f.default.createElement(f.default.Fragment,null,f.default.createElement(H,{expanded:D,onChange:ae},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"XML")),f.default.createElement(ne,{expanded:D,onClick:Re})):f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"XML"),p.attribute===!0&&f.default.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"attribute"),p.wrapped===!0&&f.default.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"wrapped"),f.default.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),f.default.createElement("ul",{className:(0,Er.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!D})},D&&f.default.createElement(f.default.Fragment,null,p.name&&f.default.createElement("li",{className:"json-schema-2020-12-property"},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"name"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},p.name))),p.namespace&&f.default.createElement("li",{className:"json-schema-2020-12-property"},f.default.createElement("div",{className:"json-schema-2020-12-keyword"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"namespace"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},p.namespace))),p.prefix&&f.default.createElement("li",{className:"json-schema-2020-12-property"},f.default.createElement("div",{className:"json-schema-2020-12-keyword"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"prefix"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},p.prefix)))))))},iW=({discriminator:a})=>{const u=(a==null?void 0:a.mapping)||{};return Object.keys(u).length===0?null:Object.entries(u).map(([p,d])=>f.default.createElement("div",{key:`${p}-${d}`,className:"json-schema-2020-12-keyword"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},p),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},d)))},sW=({schema:a,getSystem:u})=>{const p=(a==null?void 0:a.discriminator)||{},{fn:d,getComponent:g}=u(),{useIsExpandedDeeply:E,useComponent:O}=d.jsonSchema202012,k=E(),N=!!p.mapping,[D,F]=(0,f.useState)(k),[W,G]=(0,f.useState)(!1),H=O("Accordion"),ne=O("ExpandDeepButton"),le=g("JSONSchema202012DeepExpansionContext")(),ae=(0,f.useCallback)(()=>{F(Oe=>!Oe)},[]),Re=(0,f.useCallback)((Oe,Me)=>{F(Me),G(Me)},[]);return Object.keys(p).length===0?null:f.default.createElement(le.Provider,{value:W},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--discriminator"},N?f.default.createElement(f.default.Fragment,null,f.default.createElement(H,{expanded:D,onChange:ae},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Discriminator")),f.default.createElement(ne,{expanded:D,onClick:Re})):f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Discriminator"),p.propertyName&&f.default.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},p.propertyName),f.default.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),f.default.createElement("ul",{className:(0,Er.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!D})},D&&f.default.createElement("li",{className:"json-schema-2020-12-property"},f.default.createElement(iW,{discriminator:p})))))},oW=({schema:a,getSystem:u})=>{const p=(a==null?void 0:a.externalDocs)||{},{fn:d,getComponent:g}=u(),{useIsExpandedDeeply:E,useComponent:O}=d.jsonSchema202012,k=E(),N=!(!p.description&&!p.url),[D,F]=(0,f.useState)(k),[W,G]=(0,f.useState)(!1),H=O("Accordion"),ne=O("ExpandDeepButton"),le=g("JSONSchema202012KeywordDescription"),ae=g("Link"),Re=g("JSONSchema202012DeepExpansionContext")(),Oe=(0,f.useCallback)(()=>{F(ve=>!ve)},[]),Me=(0,f.useCallback)((ve,Se)=>{F(Se),G(Se)},[]);return Object.keys(p).length===0?null:f.default.createElement(Re.Provider,{value:W},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--externalDocs"},N?f.default.createElement(f.default.Fragment,null,f.default.createElement(H,{expanded:D,onChange:Oe},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"External documentation")),f.default.createElement(ne,{expanded:D,onClick:Me})):f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"External documentation"),f.default.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),f.default.createElement("ul",{className:(0,Er.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!D})},D&&f.default.createElement(f.default.Fragment,null,p.description&&f.default.createElement("li",{className:"json-schema-2020-12-property"},f.default.createElement(le,{schema:p,getSystem:u})),p.url&&f.default.createElement("li",{className:"json-schema-2020-12-property"},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"url"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},f.default.createElement(ae,{target:"_blank",href:tr(p.url)},p.url))))))))},aW=({schema:a,getSystem:u})=>{if(!(a!=null&&a.description))return null;const{getComponent:p}=u(),d=p("Markdown");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},f.default.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"},f.default.createElement(d,{source:a.description})))},lW=Hs(aW),uW=Hs(({schema:a,getSystem:u,originalComponent:p})=>{const{getComponent:d}=u(),g=d("JSONSchema202012KeywordDiscriminator"),E=d("JSONSchema202012KeywordXml"),O=d("JSONSchema202012KeywordExample"),k=d("JSONSchema202012KeywordExternalDocs");return f.default.createElement(f.default.Fragment,null,f.default.createElement(p,{schema:a}),f.default.createElement(g,{schema:a,getSystem:u}),f.default.createElement(E,{schema:a,getSystem:u}),f.default.createElement(k,{schema:a,getSystem:u}),f.default.createElement(O,{schema:a,getSystem:u}))}),cW=({schema:a,getSystem:u})=>{const{fn:p}=u(),{useComponent:d}=p.jsonSchema202012,{getDependentRequired:g,getProperties:E}=p.jsonSchema202012.useFn(),O=p.jsonSchema202012.useConfig(),k=Array.isArray(a==null?void 0:a.required)?a.required:[],N=d("JSONSchema"),D=E(a,O);return Object.keys(D).length===0?null:f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},f.default.createElement("ul",null,Object.entries(D).map(([F,W])=>{const G=k.includes(F),H=g(F,a);return f.default.createElement("li",{key:F,className:(0,Er.default)("json-schema-2020-12-property",{"json-schema-2020-12-property--required":G})},f.default.createElement(N,{name:F,schema:W,dependentRequired:H}))})))},fW=Hs(cW);const pW=(a,{includeReadOnly:u,includeWriteOnly:p})=>{if(!(a!=null&&a.properties))return{};const d=Object.entries(a.properties).filter(([,g])=>((g==null?void 0:g.readOnly)!==!0||u)&&((g==null?void 0:g.writeOnly)!==!0||p));return Object.fromEntries(d)};var dW=function({fn:u,getSystem:p}){if(u.jsonSchema202012){const d=((g,E)=>{const{fn:O}=E();if(typeof g!="function")return null;const{hasKeyword:k}=O.jsonSchema202012;return N=>g(N)||k(N,"example")||(N==null?void 0:N.xml)||(N==null?void 0:N.discriminator)||(N==null?void 0:N.externalDocs)})(u.jsonSchema202012.isExpandable,p);Object.assign(this.fn.jsonSchema202012,{isExpandable:d,getProperties:pW})}if(typeof u.sampleFromSchema=="function"&&u.jsonSchema202012){const d=((g,E)=>{const{fn:O,specSelectors:k}=E;return Object.fromEntries(Object.entries(g).map(([N,D])=>{const F=O[N];return[N,(...W)=>k.isOAS31()?D(...W):typeof F=="function"?F(...W):void 0]}))})({sampleFromSchema:u.jsonSchema202012.sampleFromSchema,sampleFromSchemaGeneric:u.jsonSchema202012.sampleFromSchemaGeneric,createXMLExample:u.jsonSchema202012.createXMLExample,memoizedSampleFromSchema:u.jsonSchema202012.memoizedSampleFromSchema,memoizedCreateXMLExample:u.jsonSchema202012.memoizedCreateXMLExample},p());Object.assign(this.fn,d)}},hW=({fn:a})=>{const u=a.createSystemSelector||Hk,p=a.createOnlyOAS31Selector||Wk;return{afterLoad:dW,fn:{isOAS31:qk,createSystemSelector:Hk,createOnlyOAS31Selector:Wk},components:{Webhooks:lq,JsonSchemaDialect:pq,MutualTLSAuth:yq,OAS31Info:fq,OAS31License:uq,OAS31Contact:cq,OAS31VersionPragmaFilter:dq,OAS31Model:mq,OAS31Models:gq,OAS31Auths:bq,JSONSchema202012KeywordExample:rW,JSONSchema202012KeywordXml:nW,JSONSchema202012KeywordDiscriminator:sW,JSONSchema202012KeywordExternalDocs:oW},wrapComponents:{InfoContainer:wq,License:Eq,Contact:Sq,VersionPragmaFilter:Aq,Model:_q,Models:xq,AuthItem:Oq,auths:Cq,JSONSchema202012KeywordDescription:lW,JSONSchema202012KeywordDefault:uW,JSONSchema202012KeywordProperties:fW},statePlugins:{auth:{wrapSelectors:{definitionsToAuthorize:eW}},spec:{selectors:{isOAS31:u($q),license:Pq,selectLicenseNameField:Rq,selectLicenseUrlField:Iq,selectLicenseIdentifierField:p(jq),selectLicenseUrl:u(Nq),contact:Mq,selectContactNameField:Dq,selectContactEmailField:Fq,selectContactUrlField:Lq,selectContactUrl:u(Bq),selectInfoTitleField:Uq,selectInfoSummaryField:p(Vq),selectInfoDescriptionField:zq,selectInfoTermsOfServiceField:qq,selectInfoTermsOfServiceUrl:u(Wq),selectExternalDocsDescriptionField:Kq,selectExternalDocsUrlField:Hq,selectExternalDocsUrl:u(Jq),webhooks:p(kq),selectWebhooksOperations:p(u(Tq)),selectJsonSchemaDialectField:Gq,selectJsonSchemaDialectDefault:Yq,selectSchemas:u(Xq)},wrapSelectors:{isOAS3:Qq,selectLicenseUrl:Zq}},oas31:{selectors:{selectLicenseUrl:p(u(tW))}}}}};const mW=sr.default.object,gW=sr.default.bool,Lu=(sr.default.oneOfType([mW,gW]),(0,f.createContext)(null));Lu.displayName="JSONSchemaContext";const wE=(0,f.createContext)(0);wE.displayName="JSONSchemaLevelContext";const Js=(0,f.createContext)(!1);Js.displayName="JSONSchemaDeepExpansionContext";const _E=(0,f.createContext)(new Set),Jk=()=>{const{config:a}=(0,f.useContext)(Lu);return a},Qe=a=>{const{components:u}=(0,f.useContext)(Lu);return u[a]||null},Or=(a=void 0)=>{const{fn:u}=(0,f.useContext)(Lu);return a!==void 0?u[a]:u},xE=()=>{const a=(0,f.useContext)(wE);return[a,a+1]},Sa=()=>{const[a]=xE(),{defaultExpandedLevels:u}=Jk();return u-a>0},ko=()=>(0,f.useContext)(Js),Gk=(a=void 0)=>{if(a===void 0)return(0,f.useContext)(_E);const u=(0,f.useContext)(_E);return new Set([...u,a])};var Yk=(0,f.forwardRef)(({schema:a,name:u="",dependentRequired:p=[],onExpand:d=()=>{}},g)=>{const E=Or(),O=Sa(),k=ko(),[N,D]=(0,f.useState)(O||k),[F,W]=(0,f.useState)(k),[G,H]=xE(),ne=(()=>{const[As]=xE();return As>0})(),le=E.isExpandable(a)||p.length>0,ae=(As=>Gk().has(As))(a),Re=Gk(a),Oe=E.stringifyConstraints(a),Me=Qe("Accordion"),ve=Qe("Keyword$schema"),Se=Qe("Keyword$vocabulary"),Ue=Qe("Keyword$id"),xe=Qe("Keyword$anchor"),Te=Qe("Keyword$dynamicAnchor"),Pe=Qe("Keyword$ref"),je=Qe("Keyword$dynamicRef"),Ze=Qe("Keyword$defs"),it=Qe("Keyword$comment"),we=Qe("KeywordAllOf"),Ve=Qe("KeywordAnyOf"),tt=Qe("KeywordOneOf"),Mt=Qe("KeywordNot"),rr=Qe("KeywordIf"),Jt=Qe("KeywordThen"),fr=Qe("KeywordElse"),qe=Qe("KeywordDependentSchemas"),gt=Qe("KeywordPrefixItems"),xt=Qe("KeywordItems"),Wt=Qe("KeywordContains"),$t=Qe("KeywordProperties"),kt=Qe("KeywordPatternProperties"),bt=Qe("KeywordAdditionalProperties"),or=Qe("KeywordPropertyNames"),Jr=Qe("KeywordUnevaluatedItems"),pn=Qe("KeywordUnevaluatedProperties"),Xi=Qe("KeywordType"),Po=Qe("KeywordEnum"),Ci=Qe("KeywordConst"),Ol=Qe("KeywordConstraint"),Cl=Qe("KeywordDependentRequired"),cp=Qe("KeywordContentSchema"),Vu=Qe("KeywordTitle"),$l=Qe("KeywordDescription"),Pn=Qe("KeywordDefault"),wa=Qe("KeywordDeprecated"),Qi=Qe("KeywordReadOnly"),kl=Qe("KeywordWriteOnly"),RK=Qe("ExpandDeepButton");(0,f.useEffect)(()=>{W(k)},[k]),(0,f.useEffect)(()=>{W(F)},[F]);const IK=(0,f.useCallback)((As,Tl)=>{D(Tl),!Tl&&W(!1),d(As,Tl,!1)},[d]),NK=(0,f.useCallback)((As,Tl)=>{D(Tl),W(Tl),d(As,Tl,!0)},[d]);return f.default.createElement(wE.Provider,{value:H},f.default.createElement(Js.Provider,{value:F},f.default.createElement(_E.Provider,{value:Re},f.default.createElement("article",{ref:g,"data-json-schema-level":G,className:(0,Er.default)("json-schema-2020-12",{"json-schema-2020-12--embedded":ne,"json-schema-2020-12--circular":ae})},f.default.createElement("div",{className:"json-schema-2020-12-head"},le&&!ae?f.default.createElement(f.default.Fragment,null,f.default.createElement(Me,{expanded:N,onChange:IK},f.default.createElement(Vu,{title:u,schema:a})),f.default.createElement(RK,{expanded:N,onClick:NK})):f.default.createElement(Vu,{title:u,schema:a}),f.default.createElement(wa,{schema:a}),f.default.createElement(Qi,{schema:a}),f.default.createElement(kl,{schema:a}),f.default.createElement(Xi,{schema:a,isCircular:ae}),Oe.length>0&&Oe.map(As=>f.default.createElement(Ol,{key:`${As.scope}-${As.value}`,constraint:As}))),f.default.createElement("div",{className:(0,Er.default)("json-schema-2020-12-body",{"json-schema-2020-12-body--collapsed":!N})},N&&f.default.createElement(f.default.Fragment,null,f.default.createElement($l,{schema:a}),!ae&&le&&f.default.createElement(f.default.Fragment,null,f.default.createElement($t,{schema:a}),f.default.createElement(kt,{schema:a}),f.default.createElement(bt,{schema:a}),f.default.createElement(pn,{schema:a}),f.default.createElement(or,{schema:a}),f.default.createElement(we,{schema:a}),f.default.createElement(Ve,{schema:a}),f.default.createElement(tt,{schema:a}),f.default.createElement(Mt,{schema:a}),f.default.createElement(rr,{schema:a}),f.default.createElement(Jt,{schema:a}),f.default.createElement(fr,{schema:a}),f.default.createElement(qe,{schema:a}),f.default.createElement(gt,{schema:a}),f.default.createElement(xt,{schema:a}),f.default.createElement(Jr,{schema:a}),f.default.createElement(Wt,{schema:a}),f.default.createElement(cp,{schema:a})),f.default.createElement(Po,{schema:a}),f.default.createElement(Ci,{schema:a}),f.default.createElement(Cl,{schema:a,dependentRequired:p}),f.default.createElement(Pn,{schema:a}),f.default.createElement(ve,{schema:a}),f.default.createElement(Se,{schema:a}),f.default.createElement(Ue,{schema:a}),f.default.createElement(xe,{schema:a}),f.default.createElement(Te,{schema:a}),f.default.createElement(Pe,{schema:a}),!ae&&le&&f.default.createElement(Ze,{schema:a}),f.default.createElement(je,{schema:a}),f.default.createElement(it,{schema:a})))))))}),Xk=({schema:a})=>a!=null&&a.$schema?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$schema"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$schema"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},a.$schema)):null,Qk=({schema:a})=>{const u=Sa(),p=ko(),[d,g]=(0,f.useState)(u||p),E=Qe("Accordion"),O=(0,f.useCallback)(()=>{g(k=>!k)},[]);return a!=null&&a.$vocabulary?typeof a.$vocabulary!="object"?null:f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$vocabulary"},f.default.createElement(E,{expanded:d,onChange:O},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$vocabulary")),f.default.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),f.default.createElement("ul",null,d&&Object.entries(a.$vocabulary).map(([k,N])=>f.default.createElement("li",{key:k,className:(0,Er.default)("json-schema-2020-12-$vocabulary-uri",{"json-schema-2020-12-$vocabulary-uri--disabled":!N})},f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},k))))):null},Zk=({schema:a})=>a!=null&&a.$id?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$id"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$id"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},a.$id)):null,eT=({schema:a})=>a!=null&&a.$anchor?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$anchor"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$anchor"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},a.$anchor)):null,tT=({schema:a})=>a!=null&&a.$dynamicAnchor?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$dynamicAnchor"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$dynamicAnchor"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},a.$dynamicAnchor)):null,rT=({schema:a})=>a!=null&&a.$ref?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$ref"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$ref"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},a.$ref)):null,nT=({schema:a})=>a!=null&&a.$dynamicRef?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$dynamicRef"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$dynamicRef"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},a.$dynamicRef)):null,iT=({schema:a})=>{const u=(a==null?void 0:a.$defs)||{},p=Sa(),d=ko(),[g,E]=(0,f.useState)(p||d),[O,k]=(0,f.useState)(!1),N=Qe("Accordion"),D=Qe("ExpandDeepButton"),F=Qe("JSONSchema"),W=(0,f.useCallback)(()=>{E(H=>!H)},[]),G=(0,f.useCallback)((H,ne)=>{E(ne),k(ne)},[]);return Object.keys(u).length===0?null:f.default.createElement(Js.Provider,{value:O},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$defs"},f.default.createElement(N,{expanded:g,onChange:W},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$defs")),f.default.createElement(D,{expanded:g,onClick:G}),f.default.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),f.default.createElement("ul",{className:(0,Er.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!g})},g&&f.default.createElement(f.default.Fragment,null,Object.entries(u).map(([H,ne])=>f.default.createElement("li",{key:H,className:"json-schema-2020-12-property"},f.default.createElement(F,{name:H,schema:ne})))))))},sT=({schema:a})=>a!=null&&a.$comment?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$comment"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$comment"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},a.$comment)):null,oT=({schema:a})=>{const u=(a==null?void 0:a.allOf)||[],p=Or(),d=Sa(),g=ko(),[E,O]=(0,f.useState)(d||g),[k,N]=(0,f.useState)(!1),D=Qe("Accordion"),F=Qe("ExpandDeepButton"),W=Qe("JSONSchema"),G=Qe("KeywordType"),H=(0,f.useCallback)(()=>{O(le=>!le)},[]),ne=(0,f.useCallback)((le,ae)=>{O(ae),N(ae)},[]);return Array.isArray(u)&&u.length!==0?f.default.createElement(Js.Provider,{value:k},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--allOf"},f.default.createElement(D,{expanded:E,onChange:H},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"All of")),f.default.createElement(F,{expanded:E,onClick:ne}),f.default.createElement(G,{schema:{allOf:u}}),f.default.createElement("ul",{className:(0,Er.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!E})},E&&f.default.createElement(f.default.Fragment,null,u.map((le,ae)=>f.default.createElement("li",{key:`#${ae}`,className:"json-schema-2020-12-property"},f.default.createElement(W,{name:`#${ae} ${p.getTitle(le)}`,schema:le}))))))):null},aT=({schema:a})=>{const u=(a==null?void 0:a.anyOf)||[],p=Or(),d=Sa(),g=ko(),[E,O]=(0,f.useState)(d||g),[k,N]=(0,f.useState)(!1),D=Qe("Accordion"),F=Qe("ExpandDeepButton"),W=Qe("JSONSchema"),G=Qe("KeywordType"),H=(0,f.useCallback)(()=>{O(le=>!le)},[]),ne=(0,f.useCallback)((le,ae)=>{O(ae),N(ae)},[]);return Array.isArray(u)&&u.length!==0?f.default.createElement(Js.Provider,{value:k},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--anyOf"},f.default.createElement(D,{expanded:E,onChange:H},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Any of")),f.default.createElement(F,{expanded:E,onClick:ne}),f.default.createElement(G,{schema:{anyOf:u}}),f.default.createElement("ul",{className:(0,Er.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!E})},E&&f.default.createElement(f.default.Fragment,null,u.map((le,ae)=>f.default.createElement("li",{key:`#${ae}`,className:"json-schema-2020-12-property"},f.default.createElement(W,{name:`#${ae} ${p.getTitle(le)}`,schema:le}))))))):null},lT=({schema:a})=>{const u=(a==null?void 0:a.oneOf)||[],p=Or(),d=Sa(),g=ko(),[E,O]=(0,f.useState)(d||g),[k,N]=(0,f.useState)(!1),D=Qe("Accordion"),F=Qe("ExpandDeepButton"),W=Qe("JSONSchema"),G=Qe("KeywordType"),H=(0,f.useCallback)(()=>{O(le=>!le)},[]),ne=(0,f.useCallback)((le,ae)=>{O(ae),N(ae)},[]);return Array.isArray(u)&&u.length!==0?f.default.createElement(Js.Provider,{value:k},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--oneOf"},f.default.createElement(D,{expanded:E,onChange:H},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"One of")),f.default.createElement(F,{expanded:E,onClick:ne}),f.default.createElement(G,{schema:{oneOf:u}}),f.default.createElement("ul",{className:(0,Er.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!E})},E&&f.default.createElement(f.default.Fragment,null,u.map((le,ae)=>f.default.createElement("li",{key:`#${ae}`,className:"json-schema-2020-12-property"},f.default.createElement(W,{name:`#${ae} ${p.getTitle(le)}`,schema:le}))))))):null},uT=({schema:a})=>{const u=Or(),p=Qe("JSONSchema");if(!u.hasKeyword(a,"not"))return null;const d=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Not");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--not"},f.default.createElement(p,{name:d,schema:a.not}))},cT=({schema:a})=>{const u=Or(),p=Qe("JSONSchema");if(!u.hasKeyword(a,"if"))return null;const d=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"If");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--if"},f.default.createElement(p,{name:d,schema:a.if}))},fT=({schema:a})=>{const u=Or(),p=Qe("JSONSchema");if(!u.hasKeyword(a,"then"))return null;const d=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Then");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--then"},f.default.createElement(p,{name:d,schema:a.then}))},pT=({schema:a})=>{const u=Or(),p=Qe("JSONSchema");if(!u.hasKeyword(a,"else"))return null;const d=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Else");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--if"},f.default.createElement(p,{name:d,schema:a.else}))},dT=({schema:a})=>{const u=(a==null?void 0:a.dependentSchemas)||[],p=Sa(),d=ko(),[g,E]=(0,f.useState)(p||d),[O,k]=(0,f.useState)(!1),N=Qe("Accordion"),D=Qe("ExpandDeepButton"),F=Qe("JSONSchema"),W=(0,f.useCallback)(()=>{E(H=>!H)},[]),G=(0,f.useCallback)((H,ne)=>{E(ne),k(ne)},[]);return typeof u!="object"||Object.keys(u).length===0?null:f.default.createElement(Js.Provider,{value:O},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentSchemas"},f.default.createElement(N,{expanded:g,onChange:W},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Dependent schemas")),f.default.createElement(D,{expanded:g,onClick:G}),f.default.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),f.default.createElement("ul",{className:(0,Er.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!g})},g&&f.default.createElement(f.default.Fragment,null,Object.entries(u).map(([H,ne])=>f.default.createElement("li",{key:H,className:"json-schema-2020-12-property"},f.default.createElement(F,{name:H,schema:ne})))))))},hT=({schema:a})=>{const u=(a==null?void 0:a.prefixItems)||[],p=Or(),d=Sa(),g=ko(),[E,O]=(0,f.useState)(d||g),[k,N]=(0,f.useState)(!1),D=Qe("Accordion"),F=Qe("ExpandDeepButton"),W=Qe("JSONSchema"),G=Qe("KeywordType"),H=(0,f.useCallback)(()=>{O(le=>!le)},[]),ne=(0,f.useCallback)((le,ae)=>{O(ae),N(ae)},[]);return Array.isArray(u)&&u.length!==0?f.default.createElement(Js.Provider,{value:k},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--prefixItems"},f.default.createElement(D,{expanded:E,onChange:H},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Prefix items")),f.default.createElement(F,{expanded:E,onClick:ne}),f.default.createElement(G,{schema:{prefixItems:u}}),f.default.createElement("ul",{className:(0,Er.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!E})},E&&f.default.createElement(f.default.Fragment,null,u.map((le,ae)=>f.default.createElement("li",{key:`#${ae}`,className:"json-schema-2020-12-property"},f.default.createElement(W,{name:`#${ae} ${p.getTitle(le)}`,schema:le}))))))):null},mT=({schema:a})=>{const u=Or(),p=Qe("JSONSchema");if(!u.hasKeyword(a,"items"))return null;const d=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Items");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--items"},f.default.createElement(p,{name:d,schema:a.items}))},gT=({schema:a})=>{const u=Or(),p=Qe("JSONSchema");if(!u.hasKeyword(a,"contains"))return null;const d=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Contains");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--contains"},f.default.createElement(p,{name:d,schema:a.contains}))},yT=({schema:a})=>{const u=Or(),p=(a==null?void 0:a.properties)||{},d=Array.isArray(a==null?void 0:a.required)?a.required:[],g=Qe("JSONSchema");return Object.keys(p).length===0?null:f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},f.default.createElement("ul",null,Object.entries(p).map(([E,O])=>{const k=d.includes(E),N=u.getDependentRequired(E,a);return f.default.createElement("li",{key:E,className:(0,Er.default)("json-schema-2020-12-property",{"json-schema-2020-12-property--required":k})},f.default.createElement(g,{name:E,schema:O,dependentRequired:N}))})))},vT=({schema:a})=>{const u=(a==null?void 0:a.patternProperties)||{},p=Qe("JSONSchema");return Object.keys(u).length===0?null:f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--patternProperties"},f.default.createElement("ul",null,Object.entries(u).map(([d,g])=>f.default.createElement("li",{key:d,className:"json-schema-2020-12-property"},f.default.createElement(p,{name:d,schema:g})))))},bT=({schema:a})=>{const u=Or(),{additionalProperties:p}=a,d=Qe("JSONSchema");if(!u.hasKeyword(a,"additionalProperties"))return null;const g=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Additional properties");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--additionalProperties"},p===!0?f.default.createElement(f.default.Fragment,null,g,f.default.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"allowed")):p===!1?f.default.createElement(f.default.Fragment,null,g,f.default.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"forbidden")):f.default.createElement(d,{name:g,schema:p}))},ET=({schema:a})=>{const u=Or(),{propertyNames:p}=a,d=Qe("JSONSchema"),g=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Property names");return u.hasKeyword(a,"propertyNames")?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--propertyNames"},f.default.createElement(d,{name:g,schema:p})):null},ST=({schema:a})=>{const u=Or(),{unevaluatedItems:p}=a,d=Qe("JSONSchema");if(!u.hasKeyword(a,"unevaluatedItems"))return null;const g=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Unevaluated items");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedItems"},f.default.createElement(d,{name:g,schema:p}))},wT=({schema:a})=>{const u=Or(),{unevaluatedProperties:p}=a,d=Qe("JSONSchema");if(!u.hasKeyword(a,"unevaluatedProperties"))return null;const g=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Unevaluated properties");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedProperties"},f.default.createElement(d,{name:g,schema:p}))},_T=({schema:a,isCircular:u=!1})=>{const p=Or().getType(a),d=u?" [circular]":"";return f.default.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},`${p}${d}`)},xT=({schema:a})=>{const u=Or();return Array.isArray(a==null?void 0:a.enum)?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--enum"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Allowed values"),f.default.createElement("ul",null,a.enum.map(p=>{const d=u.stringify(p);return f.default.createElement("li",{key:d},f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--const"},d))}))):null},AT=({schema:a})=>{const u=Or();return u.hasKeyword(a,"const")?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--const"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Const"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--const"},u.stringify(a.const))):null};const yW=({constraint:a})=>f.default.createElement("span",{className:`json-schema-2020-12__constraint json-schema-2020-12__constraint--${a.scope}`},a.value);var OT=f.default.memo(yW),CT=({dependentRequired:a})=>a.length===0?null:f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentRequired"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Required when defined"),f.default.createElement("ul",null,a.map(u=>f.default.createElement("li",{key:u},f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--warning"},u))))),$T=({schema:a})=>{const u=Or(),p=Qe("JSONSchema");if(!u.hasKeyword(a,"contentSchema"))return null;const d=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Content schema");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--contentSchema"},f.default.createElement(p,{name:d,schema:a.contentSchema}))},kT=({title:a="",schema:u})=>{const p=Or();return a||p.getTitle(u)?f.default.createElement("div",{className:"json-schema-2020-12__title"},a||p.getTitle(u)):null},TT=({schema:a})=>a!=null&&a.description?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},f.default.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"},a.description)):null,PT=({schema:a})=>{const u=Or();return u.hasKeyword(a,"default")?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--default"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Default"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--const"},u.stringify(a.default))):null},RT=({schema:a})=>(a==null?void 0:a.deprecated)!==!0?null:f.default.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--warning"},"deprecated"),IT=({schema:a})=>(a==null?void 0:a.readOnly)!==!0?null:f.default.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"read-only"),NT=({schema:a})=>(a==null?void 0:a.writeOnly)!==!0?null:f.default.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"write-only"),jT=({expanded:a=!1,children:u,onChange:p})=>{const d=Qe("ChevronRightIcon"),g=(0,f.useCallback)(E=>{p(E,!a)},[a,p]);return f.default.createElement("button",{type:"button",className:"json-schema-2020-12-accordion",onClick:g},f.default.createElement("div",{className:"json-schema-2020-12-accordion__children"},u),f.default.createElement("span",{className:(0,Er.default)("json-schema-2020-12-accordion__icon",{"json-schema-2020-12-accordion__icon--expanded":a,"json-schema-2020-12-accordion__icon--collapsed":!a})},f.default.createElement(d,null)))},MT=({expanded:a,onClick:u})=>{const p=(0,f.useCallback)(d=>{u(d,!a)},[a,u]);return f.default.createElement("button",{type:"button",className:"json-schema-2020-12-expand-deep-button",onClick:p},a?"Collapse all":"Expand all")},DT=()=>f.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},f.default.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}));const FT=a=>typeof a=="string"?`${a.charAt(0).toUpperCase()}${a.slice(1)}`:a,vW=a=>{const u=Or();return a!=null&&a.title?u.upperFirst(a.title):a!=null&&a.$anchor?u.upperFirst(a.$anchor):a!=null&&a.$id?a.$id:""},Bu=(a,u=new WeakSet)=>{const p=Or();if(a==null)return"any";if(p.isBooleanJSONSchema(a))return a?"any":"never";if(typeof a!="object"||u.has(a))return"any";u.add(a);const{type:d,prefixItems:g,items:E}=a,O=()=>{if(Array.isArray(g)){const D=g.map(W=>Bu(W,u)),F=E?Bu(E,u):"any";return`array<[${D.join(", ")}], ${F}>`}return E?`array<${Bu(E,u)}>`:"array"};if(a.not&&Bu(a.not)==="any")return"never";const k=(D,F)=>Array.isArray(a[D])?`(${a[D].map(W=>Bu(W,u)).join(F)})`:null,N=[Array.isArray(d)?d.map(D=>D==="array"?O():D).join(" | "):d==="array"?O():["null","boolean","object","array","number","integer","string"].includes(d)?d:(()=>{if(Object.hasOwn(a,"prefixItems")||Object.hasOwn(a,"items")||Object.hasOwn(a,"contains"))return O();if(Object.hasOwn(a,"properties")||Object.hasOwn(a,"additionalProperties")||Object.hasOwn(a,"patternProperties"))return"object";if(["int32","int64"].includes(a.format))return"integer";if(["float","double"].includes(a.format))return"number";if(Object.hasOwn(a,"minimum")||Object.hasOwn(a,"maximum")||Object.hasOwn(a,"exclusiveMinimum")||Object.hasOwn(a,"exclusiveMaximum")||Object.hasOwn(a,"multipleOf"))return"number | integer";if(Object.hasOwn(a,"pattern")||Object.hasOwn(a,"format")||Object.hasOwn(a,"minLength")||Object.hasOwn(a,"maxLength"))return"string";if(a.const!==void 0){if(a.const===null)return"null";if(typeof a.const=="boolean")return"boolean";if(typeof a.const=="number")return Number.isInteger(a.const)?"integer":"number";if(typeof a.const=="string")return"string";if(Array.isArray(a.const))return"array";if(typeof a.const=="object")return"object"}return null})(),k("oneOf"," | "),k("anyOf"," | "),k("allOf"," & ")].filter(Boolean).join(" | ");return u.delete(a),N||"any"},bW=a=>typeof a=="boolean",LT=(a,u)=>a!==null&&typeof a=="object"&&Object.hasOwn(a,u),BT=a=>{const u=Or();return(a==null?void 0:a.$schema)||(a==null?void 0:a.$vocabulary)||(a==null?void 0:a.$id)||(a==null?void 0:a.$anchor)||(a==null?void 0:a.$dynamicAnchor)||(a==null?void 0:a.$ref)||(a==null?void 0:a.$dynamicRef)||(a==null?void 0:a.$defs)||(a==null?void 0:a.$comment)||(a==null?void 0:a.allOf)||(a==null?void 0:a.anyOf)||(a==null?void 0:a.oneOf)||u.hasKeyword(a,"not")||u.hasKeyword(a,"if")||u.hasKeyword(a,"then")||u.hasKeyword(a,"else")||(a==null?void 0:a.dependentSchemas)||(a==null?void 0:a.prefixItems)||u.hasKeyword(a,"items")||u.hasKeyword(a,"contains")||(a==null?void 0:a.properties)||(a==null?void 0:a.patternProperties)||u.hasKeyword(a,"additionalProperties")||u.hasKeyword(a,"propertyNames")||u.hasKeyword(a,"unevaluatedItems")||u.hasKeyword(a,"unevaluatedProperties")||(a==null?void 0:a.description)||(a==null?void 0:a.enum)||u.hasKeyword(a,"const")||u.hasKeyword(a,"contentSchema")||u.hasKeyword(a,"default")},UT=a=>a===null||["number","bigint","boolean"].includes(typeof a)?String(a):Array.isArray(a)?`[${a.map(UT).join(", ")}]`:JSON.stringify(a),Um=(a,u,p)=>{const d=typeof u=="number",g=typeof p=="number";return d&&g?u===p?`${u} ${a}`:`[${u}, ${p}] ${a}`:d?`>= ${u} ${a}`:g?`<= ${p} ${a}`:null},EW=a=>{const u=[],p=(N=>{if(typeof(N==null?void 0:N.multipleOf)!="number"||N.multipleOf<=0||N.multipleOf===1)return null;const{multipleOf:D}=N;if(Number.isInteger(D))return`multiple of ${D}`;const F=10**D.toString().split(".")[1].length;return`multiple of ${D*F}/${F}`})(a);p!==null&&u.push({scope:"number",value:p});const d=(N=>{const D=N==null?void 0:N.minimum,F=N==null?void 0:N.maximum,W=N==null?void 0:N.exclusiveMinimum,G=N==null?void 0:N.exclusiveMaximum,H=typeof D=="number",ne=typeof F=="number",le=typeof W=="number",ae=typeof G=="number",Re=le&&(!H||DG);return(H||le)&&(ne||ae)?`${Re?"(":"["}${Re?W:D}, ${Oe?G:F}${Oe?")":"]"}`:H||le?`${Re?">":"≥"} ${Re?W:D}`:ne||ae?`${Oe?"<":"≤"} ${Oe?G:F}`:null})(a);d!==null&&u.push({scope:"number",value:d}),a!=null&&a.format&&u.push({scope:"string",value:a.format});const g=Um("characters",a==null?void 0:a.minLength,a==null?void 0:a.maxLength);g!==null&&u.push({scope:"string",value:g}),a!=null&&a.pattern&&u.push({scope:"string",value:`matches ${a==null?void 0:a.pattern}`}),a!=null&&a.contentMediaType&&u.push({scope:"string",value:`media type: ${a.contentMediaType}`}),a!=null&&a.contentEncoding&&u.push({scope:"string",value:`encoding: ${a.contentEncoding}`});const E=Um(a!=null&&a.hasUniqueItems?"unique items":"items",a==null?void 0:a.minItems,a==null?void 0:a.maxItems);E!==null&&u.push({scope:"array",value:E});const O=Um("contained items",a==null?void 0:a.minContains,a==null?void 0:a.maxContains);O!==null&&u.push({scope:"array",value:O});const k=Um("properties",a==null?void 0:a.minProperties,a==null?void 0:a.maxProperties);return k!==null&&u.push({scope:"object",value:k}),u},SW=(a,u)=>u!=null&&u.dependentRequired?Array.from(Object.entries(u.dependentRequired).reduce((p,[d,g])=>(Array.isArray(g)&&g.includes(a)&&p.add(d),p),new Set)):[],wW=(a,u={})=>{const p={components:{JSONSchema:Yk,Keyword$schema:Xk,Keyword$vocabulary:Qk,Keyword$id:Zk,Keyword$anchor:eT,Keyword$dynamicAnchor:tT,Keyword$ref:rT,Keyword$dynamicRef:nT,Keyword$defs:iT,Keyword$comment:sT,KeywordAllOf:oT,KeywordAnyOf:aT,KeywordOneOf:lT,KeywordNot:uT,KeywordIf:cT,KeywordThen:fT,KeywordElse:pT,KeywordDependentSchemas:dT,KeywordPrefixItems:hT,KeywordItems:mT,KeywordContains:gT,KeywordProperties:yT,KeywordPatternProperties:vT,KeywordAdditionalProperties:bT,KeywordPropertyNames:ET,KeywordUnevaluatedItems:ST,KeywordUnevaluatedProperties:wT,KeywordType:_T,KeywordEnum:xT,KeywordConst:AT,KeywordConstraint:OT,KeywordDependentRequired:CT,KeywordContentSchema:$T,KeywordTitle:kT,KeywordDescription:TT,KeywordDefault:PT,KeywordDeprecated:RT,KeywordReadOnly:IT,KeywordWriteOnly:NT,Accordion:jT,ExpandDeepButton:MT,ChevronRightIcon:DT,...u.components},config:{default$schema:"https://json-schema.org/draft/2020-12/schema",defaultExpandedLevels:0,...u.config},fn:{upperFirst:FT,getTitle:vW,getType:Bu,isBooleanJSONSchema:bW,hasKeyword:LT,isExpandable:BT,stringify:UT,stringifyConstraints:EW,getDependentRequired:SW,...u.fn}},d=g=>f.default.createElement(Lu.Provider,{value:p},f.default.createElement(a,g));return d.contexts={JSONSchemaContext:Lu},d.displayName=a.displayName,d};var VT=()=>({components:{JSONSchema202012:Yk,JSONSchema202012Keyword$schema:Xk,JSONSchema202012Keyword$vocabulary:Qk,JSONSchema202012Keyword$id:Zk,JSONSchema202012Keyword$anchor:eT,JSONSchema202012Keyword$dynamicAnchor:tT,JSONSchema202012Keyword$ref:rT,JSONSchema202012Keyword$dynamicRef:nT,JSONSchema202012Keyword$defs:iT,JSONSchema202012Keyword$comment:sT,JSONSchema202012KeywordAllOf:oT,JSONSchema202012KeywordAnyOf:aT,JSONSchema202012KeywordOneOf:lT,JSONSchema202012KeywordNot:uT,JSONSchema202012KeywordIf:cT,JSONSchema202012KeywordThen:fT,JSONSchema202012KeywordElse:pT,JSONSchema202012KeywordDependentSchemas:dT,JSONSchema202012KeywordPrefixItems:hT,JSONSchema202012KeywordItems:mT,JSONSchema202012KeywordContains:gT,JSONSchema202012KeywordProperties:yT,JSONSchema202012KeywordPatternProperties:vT,JSONSchema202012KeywordAdditionalProperties:bT,JSONSchema202012KeywordPropertyNames:ET,JSONSchema202012KeywordUnevaluatedItems:ST,JSONSchema202012KeywordUnevaluatedProperties:wT,JSONSchema202012KeywordType:_T,JSONSchema202012KeywordEnum:xT,JSONSchema202012KeywordConst:AT,JSONSchema202012KeywordConstraint:OT,JSONSchema202012KeywordDependentRequired:CT,JSONSchema202012KeywordContentSchema:$T,JSONSchema202012KeywordTitle:kT,JSONSchema202012KeywordDescription:TT,JSONSchema202012KeywordDefault:PT,JSONSchema202012KeywordDeprecated:RT,JSONSchema202012KeywordReadOnly:IT,JSONSchema202012KeywordWriteOnly:NT,JSONSchema202012Accordion:jT,JSONSchema202012ExpandDeepButton:MT,JSONSchema202012ChevronRightIcon:DT,withJSONSchema202012Context:wW,JSONSchema202012DeepExpansionContext:()=>Js},fn:{upperFirst:FT,jsonSchema202012:{isExpandable:BT,hasKeyword:LT,useFn:Or,useConfig:Jk,useComponent:Qe,useIsExpandedDeeply:ko}}}),zT=function(a){var u={};return Ce.d(u,a),u}({default:function(){return jX}}),_W=(a,{sample:u})=>((p,d={})=>{const{minItems:g,maxItems:E,uniqueItems:O}=d,{contains:k,minContains:N,maxContains:D}=d;let F=[...p];if(k!=null&&typeof k=="object"&&Number.isInteger(N)&&N>1){const W=F.at(0);for(let G=1;G0&&(F=p.slice(0,E)),Number.isInteger(g)&&g>0)for(let W=0;F.length{throw new Error("Not implemented")};const Vm=a=>T()(a),zm=a=>a.at(0),Al=a=>typeof a=="boolean",xs=a=>(0,zT.default)(a),To=a=>Al(a)||xs(a);var AW=()=>"user@example.com",OW=()=>"실례@example.com",CW=()=>"example.com",$W=()=>"실례.com",kW=()=>"198.51.100.42",TW=()=>"2001:0db8:5b96:0000:0000:426f:8e17:642a",PW=()=>"https://example.com/",RW=()=>"path/index.html",IW=()=>"https://실례.com/",NW=()=>"path/실례.html",jW=()=>"3fa85f64-5717-4562-b3fc-2c963f66afa6",MW=()=>"https://example.com/dictionary/{term:1}/{term}",DW=()=>"/a/b/c",FW=()=>"1/0",LW=()=>new Date().toISOString(),BW=()=>new Date().toISOString().substring(0,10),UW=()=>new Date().toISOString().substring(11),VW=()=>"P3D",zW=()=>"********",qW=()=>"^[a-z]+$",AE=class{constructor(){ie(this,"data",{})}register(u,p){this.data[u]=p}unregister(u){u===void 0?this.data={}:delete this.data[u]}get(u){return this.data[u]}};const OE=new AE;var qm=(a,u)=>typeof u=="function"?OE.register(a,u):u===null?OE.unregister(a):OE.get(a),WW=Ce(287).Buffer,KW=a=>WW.from(a).toString("ascii"),HW=Ce(287).Buffer,JW=a=>HW.from(a).toString("utf8"),GW=Ce(287).Buffer,YW=a=>GW.from(a).toString("binary"),XW=a=>{let u="";for(let p=0;p=33&&d<=60||d>=62&&d<=126||d===9||d===32)u+=a.charAt(p);else if(d===13||d===10)u+=`\r +`;else if(d>126){const g=unescape(encodeURIComponent(a.charAt(p)));for(let E=0;EQW.from(a).toString("hex"),eK=Ce(287).Buffer,tK=a=>{const u=eK.from(a).toString("utf8"),p="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";let d=0,g="",E=0,O=0;for(let k=0;k=5;)g+=p.charAt(E>>>O-5&31),O-=5;O>0&&(g+=p.charAt(E<<5-O&31),d=(8-8*u.length%5)%5);for(let k=0;krK.from(a).toString("base64"),iK=Ce(287).Buffer,sK=a=>iK.from(a).toString("base64url");const Wm=new(rP=class extends AE{constructor(){super(...arguments);RE(this,lp,{"7bit":KW,"8bit":JW,binary:YW,"quoted-printable":XW,base16:ZW,base32:tK,base64:nK,base64url:sK});ie(this,"data",{...fp(this,lp)})}get defaults(){return{...fp(this,lp)}}},lp=new WeakMap,rP),qT=(a,u)=>typeof u=="function"?Wm.register(a,u):u===null?Wm.unregister(a):Wm.get(a);qT.getDefaults=()=>Wm.defaults;var WT=qT,oK={"text/plain":()=>"string","text/css":()=>".selector { border: 1px solid red }","text/csv":()=>"value1,value2,value3","text/html":()=>"

    content

    ","text/calendar":()=>"BEGIN:VCALENDAR","text/javascript":()=>"console.dir('Hello world!');","text/xml":()=>'John Doe',"text/*":()=>"string"},aK={"image/*":()=>Vm(25).toString("binary")},lK={"audio/*":()=>Vm(25).toString("binary")},uK={"video/*":()=>Vm(25).toString("binary")},cK={"application/json":()=>'{"key":"value"}',"application/ld+json":()=>'{"name": "John Doe"}',"application/x-httpd-php":()=>"Hello World!

    '; ?>","application/rtf":()=>String.raw`{\rtf1\adeflang1025\ansi\ansicpg1252\uc1`,"application/x-sh":()=>'echo "Hello World!"',"application/xhtml+xml":()=>"

    content

    ","application/*":()=>Vm(25).toString("binary")};const Uu=new(nP=class extends AE{constructor(){super(...arguments);RE(this,up,{...oK,...aK,...lK,...uK,...cK});ie(this,"data",{...fp(this,up)})}get defaults(){return{...fp(this,up)}}},up=new WeakMap,nP),KT=(a,u)=>{if(typeof u=="function")return Uu.register(a,u);if(u===null)return Uu.unregister(a);const p=a.split(";").at(0),d=`${p.split("/").at(0)}/*`;return Uu.get(a)||Uu.get(p)||Uu.get(d)};KT.getDefaults=()=>Uu.defaults;var HT=KT,fK=(a,{sample:u}={})=>{const{contentEncoding:p,contentMediaType:d,contentSchema:g}=a,{pattern:E,format:O}=a,k=WT(p)||ek.default;let N;if(typeof E=="string")N=(D=>{try{return new c$.default(D).gen()}catch{return"string"}})(E);else if(typeof O=="string")N=(D=>{const{format:F}=D,W=qm(F);if(typeof W=="function")return W(D);switch(F){case"email":return AW();case"idn-email":return OW();case"hostname":return CW();case"idn-hostname":return $W();case"ipv4":return kW();case"ipv6":return TW();case"uri":return PW();case"uri-reference":return RW();case"iri":return IW();case"iri-reference":return NW();case"uuid":return jW();case"uri-template":return MW();case"json-pointer":return DW();case"relative-json-pointer":return FW();case"date-time":return LW();case"date":return BW();case"time":return UW();case"duration":return VW();case"password":return zW();case"regex":return qW()}return"string"})(a);else if(To(g)&&typeof d=="string"&&u!==void 0)N=Array.isArray(u)||typeof u=="object"?JSON.stringify(u):String(u);else if(typeof d=="string"){const D=HT(d);typeof D=="function"&&(N=D(a))}else N="string";return k(((D,F={})=>{const{maxLength:W,minLength:G}=F;let H=D;if(Number.isInteger(W)&&W>0&&(H=H.slice(0,W)),Number.isInteger(G)&&G>0){let ne=0;for(;H.length.1,dK=()=>.1,hK=a=>{const{format:u}=a;let p;return p=typeof u=="string"?(d=>{const{format:g}=d,E=qm(g);if(typeof E=="function")return E(d);switch(g){case"float":return pK();case"double":return dK()}return 0})(a):0,((d,g={})=>{const{minimum:E,maximum:O,exclusiveMinimum:k,exclusiveMaximum:N}=g,{multipleOf:D}=g,F=Number.isInteger(d)?1:Number.EPSILON;let W=typeof E=="number"?E:null,G=typeof O=="number"?O:null,H=d;if(typeof k=="number"&&(W=W!==null?Math.max(W,k+F):k+F),typeof N=="number"&&(G=G!==null?Math.min(G,N-F):N-F),H=W>G&&d||W||G||H,typeof D=="number"&&D>0){const ne=H%D;H=ne===0?H:H+D-ne}return H})(p,a)},mK=()=>2**30>>>0,gK=()=>2**53-1,yK=a=>{const{format:u}=a;return typeof u=="string"?(p=>{const{format:d}=p,g=qm(d);if(typeof g=="function")return g(p);switch(d){case"int32":return mK();case"int64":return gK()}return 0})(a):0},vK=a=>typeof a.default!="boolean"||a.default,Km=new Proxy({array:_W,object:xW,string:fK,number:hK,integer:yK,boolean:vK,null:()=>null},{get:(a,u)=>typeof u=="string"&&Object.hasOwn(a,u)?a[u]:()=>`Unknown Type: ${u}`});const JT=["array","object","number","integer","string","boolean","null"],sp=a=>{if(!xs(a))return!1;const{examples:u,example:p,default:d}=a;return!!(Array.isArray(u)&&u.length>=1)||d!==void 0||p!==void 0},CE=a=>{if(!xs(a))return null;const{examples:u,example:p,default:d}=a;return Array.isArray(u)&&u.length>=1?u.at(0):d!==void 0?d:p!==void 0?p:void 0},Hm={array:["items","prefixItems","contains","maxContains","minContains","maxItems","minItems","uniqueItems","unevaluatedItems"],object:["properties","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","required","dependentSchemas","dependentRequired","unevaluatedProperties"],string:["pattern","format","minLength","maxLength","contentEncoding","contentMediaType","contentSchema"],integer:["minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf"]};Hm.number=Hm.integer;const $E="string",GT=a=>a===void 0?null:a===null?"null":Array.isArray(a)?"array":Number.isInteger(a)?"integer":typeof a,kE=a=>{if(Array.isArray(a)&&a.length>=1){if(a.includes("array"))return"array";if(a.includes("object"))return"object";{const u=zm(a);if(JT.includes(u))return u}}return JT.includes(a)?a:null},TE=(a,u=new WeakSet)=>{if(!xs(a)||u.has(a))return $E;u.add(a);let{type:p,const:d}=a;if(p=kE(p),typeof p!="string"){const g=Object.keys(Hm);e:for(let E=0;E{if(Array.isArray(a[D])){const F=a[D].map(W=>TE(W,u));return kE(F)}return null},E=g("allOf"),O=g("anyOf"),k=g("oneOf"),N=a.not?TE(a.not,u):null;(E||O||k||N)&&(p=kE([E,O,k,N].filter(Boolean)))}if(typeof p!="string"&&sp(a)){const g=CE(a),E=GT(g);p=typeof E=="string"?E:p}return u.delete(a),p||$E},YT=a=>TE(a),PE=a=>Al(a)?(u=>u===!1?{not:{}}:{})(a):xs(a)?a:{},op=(a,u,p={})=>{if(Al(a)&&a===!0)return!0;if(Al(a)&&a===!1)return!1;if(Al(u)&&u===!0)return!0;if(Al(u)&&u===!1)return!1;if(!To(a))return u;if(!To(u))return a;const d={...u,...a};if(u.type&&a.type&&Array.isArray(u.type)&&typeof u.type=="string"){const g=At(u.type).concat(a.type);d.type=Array.from(new Set(g))}if(Array.isArray(u.required)&&Array.isArray(a.required)&&(d.required=[...new Set([...a.required,...u.required])]),u.properties&&a.properties){const g=new Set([...Object.keys(u.properties),...Object.keys(a.properties)]);d.properties={};for(const E of g){const O=u.properties[E]||{},k=a.properties[E]||{};O.readOnly&&!p.includeReadOnly||O.writeOnly&&!p.includeWriteOnly?d.required=(d.required||[]).filter(N=>N!==E):d.properties[E]=op(k,O,p)}}return To(u.items)&&To(a.items)&&(d.items=op(a.items,u.items,p)),To(u.contains)&&To(a.contains)&&(d.contains=op(a.contains,u.contains,p)),To(u.contentSchema)&&To(a.contentSchema)&&(d.contentSchema=op(a.contentSchema,u.contentSchema,p)),d};var ap=op;const En=(a,u={},p=void 0,d=!1)=>{var Ze,it,we,Ve,tt,Mt,rr,Jt,fr;typeof(a==null?void 0:a.toJS)=="function"&&(a=a.toJS()),a=PE(a);let g=p!==void 0||sp(a);const E=!g&&Array.isArray(a.oneOf)&&a.oneOf.length>0,O=!g&&Array.isArray(a.anyOf)&&a.anyOf.length>0;if(!g&&(E||O)){const qe=PE(zm(E?a.oneOf:a.anyOf));!(a=ap(a,qe,u)).xml&&qe.xml&&(a.xml=qe.xml),sp(a)&&sp(qe)&&(g=!0)}const k={};let{xml:N,properties:D,additionalProperties:F,items:W,contains:G}=a||{},H=YT(a),{includeReadOnly:ne,includeWriteOnly:le}=u;N=N||{};let ae,{name:Re,prefix:Oe,namespace:Me}=N,ve={};Object.hasOwn(a,"type")||(a.type=H),d&&(Re=Re||"notagname",ae=(Oe?`${Oe}:`:"")+Re,Me)&&(k[Oe?`xmlns:${Oe}`:"xmlns"]=Me),d&&(ve[ae]=[]);const Se=_t(D);let Ue,xe=0;const Te=()=>Number.isInteger(a.maxProperties)&&a.maxProperties>0&&xe>=a.maxProperties,Pe=qe=>!(Number.isInteger(a.maxProperties)&&a.maxProperties>0)||!Te()&&(!(gt=>!Array.isArray(a.required)||a.required.length===0||!a.required.includes(gt))(qe)||a.maxProperties-xe-(()=>{if(!Array.isArray(a.required)||a.required.length===0)return 0;let gt=0;return d?a.required.forEach(xt=>gt+=ve[xt]===void 0?0:1):a.required.forEach(xt=>{var Wt;gt+=((Wt=ve[ae])==null?void 0:Wt.find($t=>$t[xt]!==void 0))===void 0?0:1}),a.required.length-gt})()>0);if(Ue=d?(qe,gt=void 0)=>{if(a&&Se[qe]){if(Se[qe].xml=Se[qe].xml||{},Se[qe].xml.attribute){const Wt=Array.isArray(Se[qe].enum)?zm(Se[qe].enum):void 0;if(sp(Se[qe]))k[Se[qe].xml.name||qe]=CE(Se[qe]);else if(Wt!==void 0)k[Se[qe].xml.name||qe]=Wt;else{const $t=PE(Se[qe]),kt=YT($t),bt=Se[qe].xml.name||qe;k[bt]=Km[kt]($t)}return}Se[qe].xml.name=Se[qe].xml.name||qe}else Se[qe]||F===!1||(Se[qe]={xml:{name:qe}});let xt=En(Se[qe],u,gt,d);Pe(qe)&&(xe++,Array.isArray(xt)?ve[ae]=ve[ae].concat(xt):ve[ae].push(xt))}:(qe,gt)=>{var xt;if(Pe(qe)){if((0,zT.default)((xt=a.discriminator)==null?void 0:xt.mapping)&&a.discriminator.propertyName===qe&&typeof a.$$ref=="string"){for(const Wt in a.discriminator.mapping)if(a.$$ref.search(a.discriminator.mapping[Wt])!==-1){ve[qe]=Wt;break}}else ve[qe]=En(Se[qe],u,gt,d);xe++}},g){let qe;if(qe=p!==void 0?p:CE(a),!d){if(typeof qe=="number"&&H==="string")return`${qe}`;if(typeof qe!="string"||H==="string")return qe;try{return JSON.parse(qe)}catch{return qe}}if(H==="array"){if(!Array.isArray(qe)){if(typeof qe=="string")return qe;qe=[qe]}let gt=[];return xs(W)&&(W.xml=W.xml||N||{},W.xml.name=W.xml.name||N.name,gt=qe.map(xt=>En(W,u,xt,d))),xs(G)&&(G.xml=G.xml||N||{},G.xml.name=G.xml.name||N.name,gt=[En(G,u,void 0,d),...gt]),gt=Km.array(a,{sample:gt}),N.wrapped?(ve[ae]=gt,(0,Ws.default)(k)||ve[ae].push({_attr:k})):ve=gt,ve}if(H==="object"){if(typeof qe=="string")return qe;for(const gt in qe)Object.hasOwn(qe,gt)&&((Ze=Se[gt])!=null&&Ze.readOnly&&!ne||(it=Se[gt])!=null&&it.writeOnly&&!le||((Ve=(we=Se[gt])==null?void 0:we.xml)!=null&&Ve.attribute?k[Se[gt].xml.name||gt]=qe[gt]:Ue(gt,qe[gt])));return(0,Ws.default)(k)||ve[ae].push({_attr:k}),ve}return ve[ae]=(0,Ws.default)(k)?qe:[{_attr:k},qe],ve}if(H==="array"){let qe=[];if(xs(G))if(d&&(G.xml=G.xml||a.xml||{},G.xml.name=G.xml.name||N.name),Array.isArray(G.anyOf))qe.push(...G.anyOf.map(gt=>En(ap(gt,G,u),u,void 0,d)));else if(Array.isArray(G.oneOf))qe.push(...G.oneOf.map(gt=>En(ap(gt,G,u),u,void 0,d)));else{if(!(!d||d&&N.wrapped))return En(G,u,void 0,d);qe.push(En(G,u,void 0,d))}if(xs(W))if(d&&(W.xml=W.xml||a.xml||{},W.xml.name=W.xml.name||N.name),Array.isArray(W.anyOf))qe.push(...W.anyOf.map(gt=>En(ap(gt,W,u),u,void 0,d)));else if(Array.isArray(W.oneOf))qe.push(...W.oneOf.map(gt=>En(ap(gt,W,u),u,void 0,d)));else{if(!(!d||d&&N.wrapped))return En(W,u,void 0,d);qe.push(En(W,u,void 0,d))}return qe=Km.array(a,{sample:qe}),d&&N.wrapped?(ve[ae]=qe,(0,Ws.default)(k)||ve[ae].push({_attr:k}),ve):qe}if(H==="object"){for(let qe in Se)Object.hasOwn(Se,qe)&&((tt=Se[qe])!=null&&tt.deprecated||(Mt=Se[qe])!=null&&Mt.readOnly&&!ne||(rr=Se[qe])!=null&&rr.writeOnly&&!le||Ue(qe));if(d&&k&&ve[ae].push({_attr:k}),Te())return ve;if(Al(F)&&F)d?ve[ae].push({additionalProp:"Anything can be here"}):ve.additionalProp1={},xe++;else if(xs(F)){const qe=F,gt=En(qe,u,void 0,d);if(d&&typeof((Jt=qe==null?void 0:qe.xml)==null?void 0:Jt.name)=="string"&&((fr=qe==null?void 0:qe.xml)==null?void 0:fr.name)!=="notagname")ve[ae].push(gt);else{const xt=Number.isInteger(a.minProperties)&&a.minProperties>0&&xe{const d=En(a,u,p,!0);if(d)return typeof d=="string"?d:_l()(d,{declaration:!0,indent:" "})},QT=(a,u,p)=>En(a,u,p,!1),ZT=(a,u,p)=>[a,JSON.stringify(u),JSON.stringify(p)],bK=Zf(XT,ZT),EK=Zf(QT,ZT),SK=[{when:/json/,shouldStringifyTypes:["string"]}],wK=["object"];var _K=a=>(u,p,d,g)=>{const{fn:E}=a(),O=E.jsonSchema202012.memoizedSampleFromSchema(u,p,g),k=typeof O,N=SK.reduce((D,F)=>F.when.test(d)?[...D,...F.shouldStringifyTypes]:D,wK);return(0,Pt.default)(N,D=>D===k)?JSON.stringify(O,null,2):O},xK=a=>(u,p,d,g)=>{const{fn:E}=a(),O=E.jsonSchema202012.getJsonSampleSchema(u,p,d,g);let k;try{k=Tn.default.dump(Tn.default.load(O),{lineWidth:-1},{schema:Tn.JSON_SCHEMA}),k[k.length-1]===` +`&&(k=k.slice(0,k.length-1))}catch(N){return console.error(N),"error: could not generate yaml example"}return k.replace(/\t/g," ")},AK=a=>(u,p,d)=>{const{fn:g}=a();if(u&&!u.xml&&(u.xml={}),u&&!u.xml.name){if(!u.$$ref&&(u.type||u.items||u.properties||u.additionalProperties))return` +`;if(u.$$ref){let E=u.$$ref.match(/\S*\/(\S+)$/);u.xml.name=E[1]}}return g.jsonSchema202012.memoizedCreateXMLExample(u,p,d)},OK=a=>(u,p="",d={},g=void 0)=>{const{fn:E}=a();return typeof(u==null?void 0:u.toJS)=="function"&&(u=u.toJS()),typeof(g==null?void 0:g.toJS)=="function"&&(g=g.toJS()),/xml/.test(p)?E.jsonSchema202012.getXmlSampleSchema(u,d,g):/(yaml|yml)/.test(p)?E.jsonSchema202012.getYamlSampleSchema(u,d,p,g):E.jsonSchema202012.getJsonSampleSchema(u,d,p,g)},eP=({getSystem:a})=>{const u=_K(a),p=xK(a),d=AK(a),g=OK(a);return{fn:{jsonSchema202012:{sampleFromSchema:QT,sampleFromSchemaGeneric:En,sampleEncoderAPI:WT,sampleFormatAPI:qm,sampleMediaTypeAPI:HT,createXMLExample:XT,memoizedSampleFromSchema:EK,memoizedCreateXMLExample:bK,getJsonSampleSchema:u,getYamlSampleSchema:p,getXmlSampleSchema:d,getSampleSchema:g}}}};function tP(){return[Uk,EE,VT,eP,hW]}const{GIT_DIRTY:CK,GIT_COMMIT:$K,PACKAGE_VERSION:kK,BUILD_TIME:TK}={PACKAGE_VERSION:"5.11.8",GIT_COMMIT:"g925ff51d",GIT_DIRTY:!0,BUILD_TIME:"Fri, 23 Feb 2024 11:44:58 GMT"};function Jm(a){We.versions=We.versions||{},We.versions.swaggerUi={version:kK,gitRevision:$K,gitDirty:CK,buildTimestamp:TK};const u={dom_id:null,domNode:null,spec:{},url:"",urls:null,layout:"BaseLayout",docExpansion:"list",maxDisplayedTags:null,filter:null,validatorUrl:"https://validator.swagger.io/validator",oauth2RedirectUrl:`${window.location.protocol}//${window.location.host}${window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/"))}/oauth2-redirect.html`,persistAuthorization:!1,configs:{},custom:{},displayOperationId:!1,displayRequestDuration:!1,deepLinking:!1,tryItOutEnabled:!1,requestInterceptor:W=>W,responseInterceptor:W=>W,showMutatedRequest:!0,defaultModelRendering:"example",defaultModelExpandDepth:1,defaultModelsExpandDepth:1,showExtensions:!1,showCommonExtensions:!1,withCredentials:void 0,requestSnippetsEnabled:!1,requestSnippets:{generators:{curl_bash:{title:"cURL (bash)",syntax:"bash"},curl_powershell:{title:"cURL (PowerShell)",syntax:"powershell"},curl_cmd:{title:"cURL (CMD)",syntax:"bash"}},defaultExpanded:!0,languages:null},supportedSubmitMethods:["get","put","post","delete","options","head","patch","trace"],queryConfigEnabled:!1,presets:[tP],plugins:[],pluginsOptions:{pluginLoadType:"legacy"},initialState:{},fn:{},components:{},syntaxHighlight:{activated:!0,theme:"agate"}};let p=a.queryConfigEnabled?(()=>{let W={},G=We.location.search;if(!G)return{};if(G!=""){let H=G.substr(1).split("&");for(let ne in H)Object.prototype.hasOwnProperty.call(H,ne)&&(ne=H[ne].split("="),W[decodeURIComponent(ne[0])]=ne[1]&&decodeURIComponent(ne[1])||"")}return W})():{};const d=a.domNode;delete a.domNode;const g=Q()({},u,a,p),E={system:{configs:g.configs},plugins:g.presets,pluginsOptions:g.pluginsOptions,state:Q()({layout:{layout:g.layout,filter:g.filter},spec:{spec:"",url:g.url},requestSnippets:g.requestSnippets},g.initialState)};if(g.initialState)for(var O in g.initialState)Object.prototype.hasOwnProperty.call(g.initialState,O)&&g.initialState[O]===void 0&&delete E.state[O];var k=new kn(E);k.register([g.plugins,()=>({fn:g.fn,components:g.components,state:g.state})]);var N=k.getSystem();const D=W=>{let G=N.specSelectors.getLocalConfig?N.specSelectors.getLocalConfig():{},H=Q()({},G,g,W||{},p);if(d&&(H.domNode=d),k.setConfigs(H),N.configsActions.loaded(),W!==null&&(!p.url&&typeof H.spec=="object"&&Object.keys(H.spec).length?(N.specActions.updateUrl(""),N.specActions.updateLoadingStatus("success"),N.specActions.updateSpec(JSON.stringify(H.spec))):N.specActions.download&&H.url&&!H.urls&&(N.specActions.updateUrl(H.url),N.specActions.download(H.url))),H.domNode)N.render(H.domNode,"App");else if(H.dom_id){let ne=document.querySelector(H.dom_id);N.render(ne,"App")}else H.dom_id===null||H.domNode===null||console.error("Skipped rendering: no `dom_id` or `domNode` was specified");return N},F=p.config||g.configUrl;return F&&N.specActions&&N.specActions.getConfigByUrl?(N.specActions.getConfigByUrl({url:F,loadRemoteConfig:!0,requestInterceptor:g.requestInterceptor,responseInterceptor:g.responseInterceptor},D),N):D()}Jm.System=kn,Jm.presets={base:Uk,apis:tP},Jm.plugins={Auth:$u,Configs:$o,DeepLining:Tu,Err:Pu,Filter:Vf,Icons:El,JSONSchema5Samples:E$,JSONSchema202012:VT,JSONSchema202012Samples:eP,Layout:Gf,Logs:Nu,OpenAPI30:EE,OpenAPI31:EE,OnComplete:Yf,RequestSnippets:ci,Spec:z$,SwaggerClient:Y$,Util:X$,View:nk,ViewLegacy:ik,DownloadUrl:sk,SafeRender:uk};var PK=Jm})();var Pze=DU.A;Pze({url:"/openapi.yaml",dom_id:"#app"}); diff --git a/backend/src/main/resources/static/assets/index-rZb_qAw7.css b/backend/src/main/resources/static/assets/index-rZb_qAw7.css new file mode 100644 index 0000000..b44a56d --- /dev/null +++ b/backend/src/main/resources/static/assets/index-rZb_qAw7.css @@ -0,0 +1 @@ +.swagger-ui{color:#3b4151;font-family:sans-serif}.swagger-ui html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}.swagger-ui body{margin:0}.swagger-ui article,.swagger-ui aside,.swagger-ui footer,.swagger-ui header,.swagger-ui nav,.swagger-ui section{display:block}.swagger-ui h1{font-size:2em;margin:.67em 0}.swagger-ui figcaption,.swagger-ui figure,.swagger-ui main{display:block}.swagger-ui figure{margin:1em 40px}.swagger-ui hr{box-sizing:content-box;height:0;overflow:visible}.swagger-ui pre{font-family:monospace,monospace;font-size:1em}.swagger-ui a{background-color:transparent;-webkit-text-decoration-skip:objects}.swagger-ui abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.swagger-ui b,.swagger-ui strong{font-weight:inherit;font-weight:bolder}.swagger-ui code,.swagger-ui kbd,.swagger-ui samp{font-family:monospace,monospace;font-size:1em}.swagger-ui dfn{font-style:italic}.swagger-ui mark{background-color:#ff0;color:#000}.swagger-ui small{font-size:80%}.swagger-ui sub,.swagger-ui sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.swagger-ui sub{bottom:-.25em}.swagger-ui sup{top:-.5em}.swagger-ui audio,.swagger-ui video{display:inline-block}.swagger-ui audio:not([controls]){display:none;height:0}.swagger-ui img{border-style:none}.swagger-ui svg:not(:root){overflow:hidden}.swagger-ui button,.swagger-ui input,.swagger-ui optgroup,.swagger-ui select,.swagger-ui textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}.swagger-ui button,.swagger-ui input{overflow:visible}.swagger-ui button,.swagger-ui select{text-transform:none}.swagger-ui [type=reset],.swagger-ui [type=submit],.swagger-ui button,.swagger-ui html [type=button]{-webkit-appearance:button}.swagger-ui [type=button]::-moz-focus-inner,.swagger-ui [type=reset]::-moz-focus-inner,.swagger-ui [type=submit]::-moz-focus-inner,.swagger-ui button::-moz-focus-inner{border-style:none;padding:0}.swagger-ui [type=button]:-moz-focusring,.swagger-ui [type=reset]:-moz-focusring,.swagger-ui [type=submit]:-moz-focusring,.swagger-ui button:-moz-focusring{outline:1px dotted ButtonText}.swagger-ui fieldset{padding:.35em .75em .625em}.swagger-ui legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}.swagger-ui progress{display:inline-block;vertical-align:baseline}.swagger-ui textarea{overflow:auto}.swagger-ui [type=checkbox],.swagger-ui [type=radio]{box-sizing:border-box;padding:0}.swagger-ui [type=number]::-webkit-inner-spin-button,.swagger-ui [type=number]::-webkit-outer-spin-button{height:auto}.swagger-ui [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.swagger-ui [type=search]::-webkit-search-cancel-button,.swagger-ui [type=search]::-webkit-search-decoration{-webkit-appearance:none}.swagger-ui ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.swagger-ui details,.swagger-ui menu{display:block}.swagger-ui summary{display:list-item}.swagger-ui canvas{display:inline-block}.swagger-ui [hidden],.swagger-ui template{display:none}.swagger-ui .debug *{outline:1px solid gold}.swagger-ui .debug-white *{outline:1px solid #fff}.swagger-ui .debug-black *{outline:1px solid #000}.swagger-ui .debug-grid{background:transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTRDOTY4N0U2N0VFMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTRDOTY4N0Q2N0VFMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3NjY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3NzY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PsBS+GMAAAAjSURBVHjaYvz//z8DLsD4gcGXiYEAGBIKGBne//fFpwAgwAB98AaF2pjlUQAAAABJRU5ErkJggg==) repeat 0 0}.swagger-ui .debug-grid-16{background:transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODYyRjhERDU2N0YyMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODYyRjhERDQ2N0YyMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3QTY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3QjY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvCS01IAAABMSURBVHjaYmR4/5+BFPBfAMFm/MBgx8RAGWCn1AAmSg34Q6kBDKMGMDCwICeMIemF/5QawEipAWwUhwEjMDvbAWlWkvVBwu8vQIABAEwBCph8U6c0AAAAAElFTkSuQmCC) repeat 0 0}.swagger-ui .debug-grid-8-solid{background:#fff url(data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAAAAD/4QMxaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzExMSA3OS4xNTgzMjUsIDIwMTUvMDkvMTAtMDE6MTA6MjAgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE1IChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkIxMjI0OTczNjdCMzExRTZCMkJDRTI0MDgxMDAyMTcxIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkIxMjI0OTc0NjdCMzExRTZCMkJDRTI0MDgxMDAyMTcxIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QjEyMjQ5NzE2N0IzMTFFNkIyQkNFMjQwODEwMDIxNzEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QjEyMjQ5NzI2N0IzMTFFNkIyQkNFMjQwODEwMDIxNzEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAbGhopHSlBJiZBQi8vL0JHPz4+P0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHAR0pKTQmND8oKD9HPzU/R0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0f/wAARCAAIAAgDASIAAhEBAxEB/8QAWQABAQAAAAAAAAAAAAAAAAAAAAYBAQEAAAAAAAAAAAAAAAAAAAIEEAEBAAMBAAAAAAAAAAAAAAABADECA0ERAAEDBQAAAAAAAAAAAAAAAAARITFBUWESIv/aAAwDAQACEQMRAD8AoOnTV1QTD7JJshP3vSM3P//Z) repeat 0 0}.swagger-ui .debug-grid-16-solid{background:#fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzY3MkJEN0U2N0M1MTFFNkIyQkNFMjQwODEwMDIxNzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzY3MkJEN0Y2N0M1MTFFNkIyQkNFMjQwODEwMDIxNzEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3QzY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3RDY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pve6J3kAAAAzSURBVHjaYvz//z8D0UDsMwMjSRoYP5Gq4SPNbRjVMEQ1fCRDg+in/6+J1AJUxsgAEGAA31BAJMS0GYEAAAAASUVORK5CYII=) repeat 0 0}.swagger-ui .border-box,.swagger-ui a,.swagger-ui article,.swagger-ui body,.swagger-ui code,.swagger-ui dd,.swagger-ui div,.swagger-ui dl,.swagger-ui dt,.swagger-ui fieldset,.swagger-ui footer,.swagger-ui form,.swagger-ui h1,.swagger-ui h2,.swagger-ui h3,.swagger-ui h4,.swagger-ui h5,.swagger-ui h6,.swagger-ui header,.swagger-ui html,.swagger-ui input[type=email],.swagger-ui input[type=number],.swagger-ui input[type=password],.swagger-ui input[type=tel],.swagger-ui input[type=text],.swagger-ui input[type=url],.swagger-ui legend,.swagger-ui li,.swagger-ui main,.swagger-ui ol,.swagger-ui p,.swagger-ui pre,.swagger-ui section,.swagger-ui table,.swagger-ui td,.swagger-ui textarea,.swagger-ui th,.swagger-ui tr,.swagger-ui ul{box-sizing:border-box}.swagger-ui .aspect-ratio{height:0;position:relative}.swagger-ui .aspect-ratio--16x9{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1{padding-bottom:100%}.swagger-ui .aspect-ratio--object{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:100}@media screen and (min-width:30em){.swagger-ui .aspect-ratio-ns{height:0;position:relative}.swagger-ui .aspect-ratio--16x9-ns{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16-ns{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3-ns{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4-ns{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4-ns{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6-ns{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5-ns{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8-ns{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5-ns{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7-ns{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1-ns{padding-bottom:100%}.swagger-ui .aspect-ratio--object-ns{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:100}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .aspect-ratio-m{height:0;position:relative}.swagger-ui .aspect-ratio--16x9-m{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16-m{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3-m{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4-m{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4-m{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6-m{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5-m{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8-m{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5-m{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7-m{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1-m{padding-bottom:100%}.swagger-ui .aspect-ratio--object-m{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:100}}@media screen and (min-width:60em){.swagger-ui .aspect-ratio-l{height:0;position:relative}.swagger-ui .aspect-ratio--16x9-l{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16-l{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3-l{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4-l{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4-l{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6-l{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5-l{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8-l{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5-l{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7-l{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1-l{padding-bottom:100%}.swagger-ui .aspect-ratio--object-l{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:100}}.swagger-ui img{max-width:100%}.swagger-ui .cover{background-size:cover!important}.swagger-ui .contain{background-size:contain!important}@media screen and (min-width:30em){.swagger-ui .cover-ns{background-size:cover!important}.swagger-ui .contain-ns{background-size:contain!important}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .cover-m{background-size:cover!important}.swagger-ui .contain-m{background-size:contain!important}}@media screen and (min-width:60em){.swagger-ui .cover-l{background-size:cover!important}.swagger-ui .contain-l{background-size:contain!important}}.swagger-ui .bg-center{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left{background-position:0;background-repeat:no-repeat}@media screen and (min-width:30em){.swagger-ui .bg-center-ns{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top-ns{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right-ns{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom-ns{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left-ns{background-position:0;background-repeat:no-repeat}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .bg-center-m{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top-m{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right-m{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom-m{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left-m{background-position:0;background-repeat:no-repeat}}@media screen and (min-width:60em){.swagger-ui .bg-center-l{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top-l{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right-l{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom-l{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left-l{background-position:0;background-repeat:no-repeat}}.swagger-ui .outline{outline:1px solid}.swagger-ui .outline-transparent{outline:1px solid transparent}.swagger-ui .outline-0{outline:0}@media screen and (min-width:30em){.swagger-ui .outline-ns{outline:1px solid}.swagger-ui .outline-transparent-ns{outline:1px solid transparent}.swagger-ui .outline-0-ns{outline:0}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .outline-m{outline:1px solid}.swagger-ui .outline-transparent-m{outline:1px solid transparent}.swagger-ui .outline-0-m{outline:0}}@media screen and (min-width:60em){.swagger-ui .outline-l{outline:1px solid}.swagger-ui .outline-transparent-l{outline:1px solid transparent}.swagger-ui .outline-0-l{outline:0}}.swagger-ui .ba{border-style:solid;border-width:1px}.swagger-ui .bt{border-top-style:solid;border-top-width:1px}.swagger-ui .br{border-right-style:solid;border-right-width:1px}.swagger-ui .bb{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl{border-left-style:solid;border-left-width:1px}.swagger-ui .bn{border-style:none;border-width:0}@media screen and (min-width:30em){.swagger-ui .ba-ns{border-style:solid;border-width:1px}.swagger-ui .bt-ns{border-top-style:solid;border-top-width:1px}.swagger-ui .br-ns{border-right-style:solid;border-right-width:1px}.swagger-ui .bb-ns{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl-ns{border-left-style:solid;border-left-width:1px}.swagger-ui .bn-ns{border-style:none;border-width:0}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .ba-m{border-style:solid;border-width:1px}.swagger-ui .bt-m{border-top-style:solid;border-top-width:1px}.swagger-ui .br-m{border-right-style:solid;border-right-width:1px}.swagger-ui .bb-m{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl-m{border-left-style:solid;border-left-width:1px}.swagger-ui .bn-m{border-style:none;border-width:0}}@media screen and (min-width:60em){.swagger-ui .ba-l{border-style:solid;border-width:1px}.swagger-ui .bt-l{border-top-style:solid;border-top-width:1px}.swagger-ui .br-l{border-right-style:solid;border-right-width:1px}.swagger-ui .bb-l{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl-l{border-left-style:solid;border-left-width:1px}.swagger-ui .bn-l{border-style:none;border-width:0}}.swagger-ui .b--black{border-color:#000}.swagger-ui .b--near-black{border-color:#111}.swagger-ui .b--dark-gray{border-color:#333}.swagger-ui .b--mid-gray{border-color:#555}.swagger-ui .b--gray{border-color:#777}.swagger-ui .b--silver{border-color:#999}.swagger-ui .b--light-silver{border-color:#aaa}.swagger-ui .b--moon-gray{border-color:#ccc}.swagger-ui .b--light-gray{border-color:#eee}.swagger-ui .b--near-white{border-color:#f4f4f4}.swagger-ui .b--white{border-color:#fff}.swagger-ui .b--white-90{border-color:#ffffffe6}.swagger-ui .b--white-80{border-color:#fffc}.swagger-ui .b--white-70{border-color:#ffffffb3}.swagger-ui .b--white-60{border-color:#fff9}.swagger-ui .b--white-50{border-color:#ffffff80}.swagger-ui .b--white-40{border-color:#fff6}.swagger-ui .b--white-30{border-color:#ffffff4d}.swagger-ui .b--white-20{border-color:#fff3}.swagger-ui .b--white-10{border-color:#ffffff1a}.swagger-ui .b--white-05{border-color:#ffffff0d}.swagger-ui .b--white-025{border-color:#ffffff06}.swagger-ui .b--white-0125{border-color:#ffffff03}.swagger-ui .b--black-90{border-color:#000000e6}.swagger-ui .b--black-80{border-color:#000c}.swagger-ui .b--black-70{border-color:#000000b3}.swagger-ui .b--black-60{border-color:#0009}.swagger-ui .b--black-50{border-color:#00000080}.swagger-ui .b--black-40{border-color:#0006}.swagger-ui .b--black-30{border-color:#0000004d}.swagger-ui .b--black-20{border-color:#0003}.swagger-ui .b--black-10{border-color:#0000001a}.swagger-ui .b--black-05{border-color:#0000000d}.swagger-ui .b--black-025{border-color:#00000006}.swagger-ui .b--black-0125{border-color:#00000003}.swagger-ui .b--dark-red{border-color:#e7040f}.swagger-ui .b--red{border-color:#ff4136}.swagger-ui .b--light-red{border-color:#ff725c}.swagger-ui .b--orange{border-color:#ff6300}.swagger-ui .b--gold{border-color:#ffb700}.swagger-ui .b--yellow{border-color:gold}.swagger-ui .b--light-yellow{border-color:#fbf1a9}.swagger-ui .b--purple{border-color:#5e2ca5}.swagger-ui .b--light-purple{border-color:#a463f2}.swagger-ui .b--dark-pink{border-color:#d5008f}.swagger-ui .b--hot-pink{border-color:#ff41b4}.swagger-ui .b--pink{border-color:#ff80cc}.swagger-ui .b--light-pink{border-color:#ffa3d7}.swagger-ui .b--dark-green{border-color:#137752}.swagger-ui .b--green{border-color:#19a974}.swagger-ui .b--light-green{border-color:#9eebcf}.swagger-ui .b--navy{border-color:#001b44}.swagger-ui .b--dark-blue{border-color:#00449e}.swagger-ui .b--blue{border-color:#357edd}.swagger-ui .b--light-blue{border-color:#96ccff}.swagger-ui .b--lightest-blue{border-color:#cdecff}.swagger-ui .b--washed-blue{border-color:#f6fffe}.swagger-ui .b--washed-green{border-color:#e8fdf5}.swagger-ui .b--washed-yellow{border-color:#fffceb}.swagger-ui .b--washed-red{border-color:#ffdfdf}.swagger-ui .b--transparent{border-color:transparent}.swagger-ui .b--inherit{border-color:inherit}.swagger-ui .br0{border-radius:0}.swagger-ui .br1{border-radius:.125rem}.swagger-ui .br2{border-radius:.25rem}.swagger-ui .br3{border-radius:.5rem}.swagger-ui .br4{border-radius:1rem}.swagger-ui .br-100{border-radius:100%}.swagger-ui .br-pill{border-radius:9999px}.swagger-ui .br--bottom{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left{border-bottom-right-radius:0;border-top-right-radius:0}@media screen and (min-width:30em){.swagger-ui .br0-ns{border-radius:0}.swagger-ui .br1-ns{border-radius:.125rem}.swagger-ui .br2-ns{border-radius:.25rem}.swagger-ui .br3-ns{border-radius:.5rem}.swagger-ui .br4-ns{border-radius:1rem}.swagger-ui .br-100-ns{border-radius:100%}.swagger-ui .br-pill-ns{border-radius:9999px}.swagger-ui .br--bottom-ns{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top-ns{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right-ns{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left-ns{border-bottom-right-radius:0;border-top-right-radius:0}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .br0-m{border-radius:0}.swagger-ui .br1-m{border-radius:.125rem}.swagger-ui .br2-m{border-radius:.25rem}.swagger-ui .br3-m{border-radius:.5rem}.swagger-ui .br4-m{border-radius:1rem}.swagger-ui .br-100-m{border-radius:100%}.swagger-ui .br-pill-m{border-radius:9999px}.swagger-ui .br--bottom-m{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top-m{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right-m{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left-m{border-bottom-right-radius:0;border-top-right-radius:0}}@media screen and (min-width:60em){.swagger-ui .br0-l{border-radius:0}.swagger-ui .br1-l{border-radius:.125rem}.swagger-ui .br2-l{border-radius:.25rem}.swagger-ui .br3-l{border-radius:.5rem}.swagger-ui .br4-l{border-radius:1rem}.swagger-ui .br-100-l{border-radius:100%}.swagger-ui .br-pill-l{border-radius:9999px}.swagger-ui .br--bottom-l{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top-l{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right-l{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left-l{border-bottom-right-radius:0;border-top-right-radius:0}}.swagger-ui .b--dotted{border-style:dotted}.swagger-ui .b--dashed{border-style:dashed}.swagger-ui .b--solid{border-style:solid}.swagger-ui .b--none{border-style:none}@media screen and (min-width:30em){.swagger-ui .b--dotted-ns{border-style:dotted}.swagger-ui .b--dashed-ns{border-style:dashed}.swagger-ui .b--solid-ns{border-style:solid}.swagger-ui .b--none-ns{border-style:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .b--dotted-m{border-style:dotted}.swagger-ui .b--dashed-m{border-style:dashed}.swagger-ui .b--solid-m{border-style:solid}.swagger-ui .b--none-m{border-style:none}}@media screen and (min-width:60em){.swagger-ui .b--dotted-l{border-style:dotted}.swagger-ui .b--dashed-l{border-style:dashed}.swagger-ui .b--solid-l{border-style:solid}.swagger-ui .b--none-l{border-style:none}}.swagger-ui .bw0{border-width:0}.swagger-ui .bw1{border-width:.125rem}.swagger-ui .bw2{border-width:.25rem}.swagger-ui .bw3{border-width:.5rem}.swagger-ui .bw4{border-width:1rem}.swagger-ui .bw5{border-width:2rem}.swagger-ui .bt-0{border-top-width:0}.swagger-ui .br-0{border-right-width:0}.swagger-ui .bb-0{border-bottom-width:0}.swagger-ui .bl-0{border-left-width:0}@media screen and (min-width:30em){.swagger-ui .bw0-ns{border-width:0}.swagger-ui .bw1-ns{border-width:.125rem}.swagger-ui .bw2-ns{border-width:.25rem}.swagger-ui .bw3-ns{border-width:.5rem}.swagger-ui .bw4-ns{border-width:1rem}.swagger-ui .bw5-ns{border-width:2rem}.swagger-ui .bt-0-ns{border-top-width:0}.swagger-ui .br-0-ns{border-right-width:0}.swagger-ui .bb-0-ns{border-bottom-width:0}.swagger-ui .bl-0-ns{border-left-width:0}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .bw0-m{border-width:0}.swagger-ui .bw1-m{border-width:.125rem}.swagger-ui .bw2-m{border-width:.25rem}.swagger-ui .bw3-m{border-width:.5rem}.swagger-ui .bw4-m{border-width:1rem}.swagger-ui .bw5-m{border-width:2rem}.swagger-ui .bt-0-m{border-top-width:0}.swagger-ui .br-0-m{border-right-width:0}.swagger-ui .bb-0-m{border-bottom-width:0}.swagger-ui .bl-0-m{border-left-width:0}}@media screen and (min-width:60em){.swagger-ui .bw0-l{border-width:0}.swagger-ui .bw1-l{border-width:.125rem}.swagger-ui .bw2-l{border-width:.25rem}.swagger-ui .bw3-l{border-width:.5rem}.swagger-ui .bw4-l{border-width:1rem}.swagger-ui .bw5-l{border-width:2rem}.swagger-ui .bt-0-l{border-top-width:0}.swagger-ui .br-0-l{border-right-width:0}.swagger-ui .bb-0-l{border-bottom-width:0}.swagger-ui .bl-0-l{border-left-width:0}}.swagger-ui .shadow-1{box-shadow:0 0 4px 2px #0003}.swagger-ui .shadow-2{box-shadow:0 0 8px 2px #0003}.swagger-ui .shadow-3{box-shadow:2px 2px 4px 2px #0003}.swagger-ui .shadow-4{box-shadow:2px 2px 8px #0003}.swagger-ui .shadow-5{box-shadow:4px 4px 8px #0003}@media screen and (min-width:30em){.swagger-ui .shadow-1-ns{box-shadow:0 0 4px 2px #0003}.swagger-ui .shadow-2-ns{box-shadow:0 0 8px 2px #0003}.swagger-ui .shadow-3-ns{box-shadow:2px 2px 4px 2px #0003}.swagger-ui .shadow-4-ns{box-shadow:2px 2px 8px #0003}.swagger-ui .shadow-5-ns{box-shadow:4px 4px 8px #0003}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .shadow-1-m{box-shadow:0 0 4px 2px #0003}.swagger-ui .shadow-2-m{box-shadow:0 0 8px 2px #0003}.swagger-ui .shadow-3-m{box-shadow:2px 2px 4px 2px #0003}.swagger-ui .shadow-4-m{box-shadow:2px 2px 8px #0003}.swagger-ui .shadow-5-m{box-shadow:4px 4px 8px #0003}}@media screen and (min-width:60em){.swagger-ui .shadow-1-l{box-shadow:0 0 4px 2px #0003}.swagger-ui .shadow-2-l{box-shadow:0 0 8px 2px #0003}.swagger-ui .shadow-3-l{box-shadow:2px 2px 4px 2px #0003}.swagger-ui .shadow-4-l{box-shadow:2px 2px 8px #0003}.swagger-ui .shadow-5-l{box-shadow:4px 4px 8px #0003}}.swagger-ui .pre{overflow-x:auto;overflow-y:hidden;overflow:scroll}.swagger-ui .top-0{top:0}.swagger-ui .right-0{right:0}.swagger-ui .bottom-0{bottom:0}.swagger-ui .left-0{left:0}.swagger-ui .top-1{top:1rem}.swagger-ui .right-1{right:1rem}.swagger-ui .bottom-1{bottom:1rem}.swagger-ui .left-1{left:1rem}.swagger-ui .top-2{top:2rem}.swagger-ui .right-2{right:2rem}.swagger-ui .bottom-2{bottom:2rem}.swagger-ui .left-2{left:2rem}.swagger-ui .top--1{top:-1rem}.swagger-ui .right--1{right:-1rem}.swagger-ui .bottom--1{bottom:-1rem}.swagger-ui .left--1{left:-1rem}.swagger-ui .top--2{top:-2rem}.swagger-ui .right--2{right:-2rem}.swagger-ui .bottom--2{bottom:-2rem}.swagger-ui .left--2{left:-2rem}.swagger-ui .absolute--fill{bottom:0;left:0;right:0;top:0}@media screen and (min-width:30em){.swagger-ui .top-0-ns{top:0}.swagger-ui .left-0-ns{left:0}.swagger-ui .right-0-ns{right:0}.swagger-ui .bottom-0-ns{bottom:0}.swagger-ui .top-1-ns{top:1rem}.swagger-ui .left-1-ns{left:1rem}.swagger-ui .right-1-ns{right:1rem}.swagger-ui .bottom-1-ns{bottom:1rem}.swagger-ui .top-2-ns{top:2rem}.swagger-ui .left-2-ns{left:2rem}.swagger-ui .right-2-ns{right:2rem}.swagger-ui .bottom-2-ns{bottom:2rem}.swagger-ui .top--1-ns{top:-1rem}.swagger-ui .right--1-ns{right:-1rem}.swagger-ui .bottom--1-ns{bottom:-1rem}.swagger-ui .left--1-ns{left:-1rem}.swagger-ui .top--2-ns{top:-2rem}.swagger-ui .right--2-ns{right:-2rem}.swagger-ui .bottom--2-ns{bottom:-2rem}.swagger-ui .left--2-ns{left:-2rem}.swagger-ui .absolute--fill-ns{bottom:0;left:0;right:0;top:0}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .top-0-m{top:0}.swagger-ui .left-0-m{left:0}.swagger-ui .right-0-m{right:0}.swagger-ui .bottom-0-m{bottom:0}.swagger-ui .top-1-m{top:1rem}.swagger-ui .left-1-m{left:1rem}.swagger-ui .right-1-m{right:1rem}.swagger-ui .bottom-1-m{bottom:1rem}.swagger-ui .top-2-m{top:2rem}.swagger-ui .left-2-m{left:2rem}.swagger-ui .right-2-m{right:2rem}.swagger-ui .bottom-2-m{bottom:2rem}.swagger-ui .top--1-m{top:-1rem}.swagger-ui .right--1-m{right:-1rem}.swagger-ui .bottom--1-m{bottom:-1rem}.swagger-ui .left--1-m{left:-1rem}.swagger-ui .top--2-m{top:-2rem}.swagger-ui .right--2-m{right:-2rem}.swagger-ui .bottom--2-m{bottom:-2rem}.swagger-ui .left--2-m{left:-2rem}.swagger-ui .absolute--fill-m{bottom:0;left:0;right:0;top:0}}@media screen and (min-width:60em){.swagger-ui .top-0-l{top:0}.swagger-ui .left-0-l{left:0}.swagger-ui .right-0-l{right:0}.swagger-ui .bottom-0-l{bottom:0}.swagger-ui .top-1-l{top:1rem}.swagger-ui .left-1-l{left:1rem}.swagger-ui .right-1-l{right:1rem}.swagger-ui .bottom-1-l{bottom:1rem}.swagger-ui .top-2-l{top:2rem}.swagger-ui .left-2-l{left:2rem}.swagger-ui .right-2-l{right:2rem}.swagger-ui .bottom-2-l{bottom:2rem}.swagger-ui .top--1-l{top:-1rem}.swagger-ui .right--1-l{right:-1rem}.swagger-ui .bottom--1-l{bottom:-1rem}.swagger-ui .left--1-l{left:-1rem}.swagger-ui .top--2-l{top:-2rem}.swagger-ui .right--2-l{right:-2rem}.swagger-ui .bottom--2-l{bottom:-2rem}.swagger-ui .left--2-l{left:-2rem}.swagger-ui .absolute--fill-l{bottom:0;left:0;right:0;top:0}}.swagger-ui .cf:after,.swagger-ui .cf:before{content:" ";display:table}.swagger-ui .cf:after{clear:both}.swagger-ui .cf{zoom:1}.swagger-ui .cl{clear:left}.swagger-ui .cr{clear:right}.swagger-ui .cb{clear:both}.swagger-ui .cn{clear:none}@media screen and (min-width:30em){.swagger-ui .cl-ns{clear:left}.swagger-ui .cr-ns{clear:right}.swagger-ui .cb-ns{clear:both}.swagger-ui .cn-ns{clear:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .cl-m{clear:left}.swagger-ui .cr-m{clear:right}.swagger-ui .cb-m{clear:both}.swagger-ui .cn-m{clear:none}}@media screen and (min-width:60em){.swagger-ui .cl-l{clear:left}.swagger-ui .cr-l{clear:right}.swagger-ui .cb-l{clear:both}.swagger-ui .cn-l{clear:none}}.swagger-ui .flex{display:flex}.swagger-ui .inline-flex{display:inline-flex}.swagger-ui .flex-auto{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none{flex:none}.swagger-ui .flex-column{flex-direction:column}.swagger-ui .flex-row{flex-direction:row}.swagger-ui .flex-wrap{flex-wrap:wrap}.swagger-ui .flex-nowrap{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse{flex-direction:column-reverse}.swagger-ui .flex-row-reverse{flex-direction:row-reverse}.swagger-ui .items-start{align-items:flex-start}.swagger-ui .items-end{align-items:flex-end}.swagger-ui .items-center{align-items:center}.swagger-ui .items-baseline{align-items:baseline}.swagger-ui .items-stretch{align-items:stretch}.swagger-ui .self-start{align-self:flex-start}.swagger-ui .self-end{align-self:flex-end}.swagger-ui .self-center{align-self:center}.swagger-ui .self-baseline{align-self:baseline}.swagger-ui .self-stretch{align-self:stretch}.swagger-ui .justify-start{justify-content:flex-start}.swagger-ui .justify-end{justify-content:flex-end}.swagger-ui .justify-center{justify-content:center}.swagger-ui .justify-between{justify-content:space-between}.swagger-ui .justify-around{justify-content:space-around}.swagger-ui .content-start{align-content:flex-start}.swagger-ui .content-end{align-content:flex-end}.swagger-ui .content-center{align-content:center}.swagger-ui .content-between{align-content:space-between}.swagger-ui .content-around{align-content:space-around}.swagger-ui .content-stretch{align-content:stretch}.swagger-ui .order-0{order:0}.swagger-ui .order-1{order:1}.swagger-ui .order-2{order:2}.swagger-ui .order-3{order:3}.swagger-ui .order-4{order:4}.swagger-ui .order-5{order:5}.swagger-ui .order-6{order:6}.swagger-ui .order-7{order:7}.swagger-ui .order-8{order:8}.swagger-ui .order-last{order:99999}.swagger-ui .flex-grow-0{flex-grow:0}.swagger-ui .flex-grow-1{flex-grow:1}.swagger-ui .flex-shrink-0{flex-shrink:0}.swagger-ui .flex-shrink-1{flex-shrink:1}@media screen and (min-width:30em){.swagger-ui .flex-ns{display:flex}.swagger-ui .inline-flex-ns{display:inline-flex}.swagger-ui .flex-auto-ns{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none-ns{flex:none}.swagger-ui .flex-column-ns{flex-direction:column}.swagger-ui .flex-row-ns{flex-direction:row}.swagger-ui .flex-wrap-ns{flex-wrap:wrap}.swagger-ui .flex-nowrap-ns{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse-ns{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse-ns{flex-direction:column-reverse}.swagger-ui .flex-row-reverse-ns{flex-direction:row-reverse}.swagger-ui .items-start-ns{align-items:flex-start}.swagger-ui .items-end-ns{align-items:flex-end}.swagger-ui .items-center-ns{align-items:center}.swagger-ui .items-baseline-ns{align-items:baseline}.swagger-ui .items-stretch-ns{align-items:stretch}.swagger-ui .self-start-ns{align-self:flex-start}.swagger-ui .self-end-ns{align-self:flex-end}.swagger-ui .self-center-ns{align-self:center}.swagger-ui .self-baseline-ns{align-self:baseline}.swagger-ui .self-stretch-ns{align-self:stretch}.swagger-ui .justify-start-ns{justify-content:flex-start}.swagger-ui .justify-end-ns{justify-content:flex-end}.swagger-ui .justify-center-ns{justify-content:center}.swagger-ui .justify-between-ns{justify-content:space-between}.swagger-ui .justify-around-ns{justify-content:space-around}.swagger-ui .content-start-ns{align-content:flex-start}.swagger-ui .content-end-ns{align-content:flex-end}.swagger-ui .content-center-ns{align-content:center}.swagger-ui .content-between-ns{align-content:space-between}.swagger-ui .content-around-ns{align-content:space-around}.swagger-ui .content-stretch-ns{align-content:stretch}.swagger-ui .order-0-ns{order:0}.swagger-ui .order-1-ns{order:1}.swagger-ui .order-2-ns{order:2}.swagger-ui .order-3-ns{order:3}.swagger-ui .order-4-ns{order:4}.swagger-ui .order-5-ns{order:5}.swagger-ui .order-6-ns{order:6}.swagger-ui .order-7-ns{order:7}.swagger-ui .order-8-ns{order:8}.swagger-ui .order-last-ns{order:99999}.swagger-ui .flex-grow-0-ns{flex-grow:0}.swagger-ui .flex-grow-1-ns{flex-grow:1}.swagger-ui .flex-shrink-0-ns{flex-shrink:0}.swagger-ui .flex-shrink-1-ns{flex-shrink:1}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .flex-m{display:flex}.swagger-ui .inline-flex-m{display:inline-flex}.swagger-ui .flex-auto-m{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none-m{flex:none}.swagger-ui .flex-column-m{flex-direction:column}.swagger-ui .flex-row-m{flex-direction:row}.swagger-ui .flex-wrap-m{flex-wrap:wrap}.swagger-ui .flex-nowrap-m{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse-m{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse-m{flex-direction:column-reverse}.swagger-ui .flex-row-reverse-m{flex-direction:row-reverse}.swagger-ui .items-start-m{align-items:flex-start}.swagger-ui .items-end-m{align-items:flex-end}.swagger-ui .items-center-m{align-items:center}.swagger-ui .items-baseline-m{align-items:baseline}.swagger-ui .items-stretch-m{align-items:stretch}.swagger-ui .self-start-m{align-self:flex-start}.swagger-ui .self-end-m{align-self:flex-end}.swagger-ui .self-center-m{align-self:center}.swagger-ui .self-baseline-m{align-self:baseline}.swagger-ui .self-stretch-m{align-self:stretch}.swagger-ui .justify-start-m{justify-content:flex-start}.swagger-ui .justify-end-m{justify-content:flex-end}.swagger-ui .justify-center-m{justify-content:center}.swagger-ui .justify-between-m{justify-content:space-between}.swagger-ui .justify-around-m{justify-content:space-around}.swagger-ui .content-start-m{align-content:flex-start}.swagger-ui .content-end-m{align-content:flex-end}.swagger-ui .content-center-m{align-content:center}.swagger-ui .content-between-m{align-content:space-between}.swagger-ui .content-around-m{align-content:space-around}.swagger-ui .content-stretch-m{align-content:stretch}.swagger-ui .order-0-m{order:0}.swagger-ui .order-1-m{order:1}.swagger-ui .order-2-m{order:2}.swagger-ui .order-3-m{order:3}.swagger-ui .order-4-m{order:4}.swagger-ui .order-5-m{order:5}.swagger-ui .order-6-m{order:6}.swagger-ui .order-7-m{order:7}.swagger-ui .order-8-m{order:8}.swagger-ui .order-last-m{order:99999}.swagger-ui .flex-grow-0-m{flex-grow:0}.swagger-ui .flex-grow-1-m{flex-grow:1}.swagger-ui .flex-shrink-0-m{flex-shrink:0}.swagger-ui .flex-shrink-1-m{flex-shrink:1}}@media screen and (min-width:60em){.swagger-ui .flex-l{display:flex}.swagger-ui .inline-flex-l{display:inline-flex}.swagger-ui .flex-auto-l{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none-l{flex:none}.swagger-ui .flex-column-l{flex-direction:column}.swagger-ui .flex-row-l{flex-direction:row}.swagger-ui .flex-wrap-l{flex-wrap:wrap}.swagger-ui .flex-nowrap-l{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse-l{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse-l{flex-direction:column-reverse}.swagger-ui .flex-row-reverse-l{flex-direction:row-reverse}.swagger-ui .items-start-l{align-items:flex-start}.swagger-ui .items-end-l{align-items:flex-end}.swagger-ui .items-center-l{align-items:center}.swagger-ui .items-baseline-l{align-items:baseline}.swagger-ui .items-stretch-l{align-items:stretch}.swagger-ui .self-start-l{align-self:flex-start}.swagger-ui .self-end-l{align-self:flex-end}.swagger-ui .self-center-l{align-self:center}.swagger-ui .self-baseline-l{align-self:baseline}.swagger-ui .self-stretch-l{align-self:stretch}.swagger-ui .justify-start-l{justify-content:flex-start}.swagger-ui .justify-end-l{justify-content:flex-end}.swagger-ui .justify-center-l{justify-content:center}.swagger-ui .justify-between-l{justify-content:space-between}.swagger-ui .justify-around-l{justify-content:space-around}.swagger-ui .content-start-l{align-content:flex-start}.swagger-ui .content-end-l{align-content:flex-end}.swagger-ui .content-center-l{align-content:center}.swagger-ui .content-between-l{align-content:space-between}.swagger-ui .content-around-l{align-content:space-around}.swagger-ui .content-stretch-l{align-content:stretch}.swagger-ui .order-0-l{order:0}.swagger-ui .order-1-l{order:1}.swagger-ui .order-2-l{order:2}.swagger-ui .order-3-l{order:3}.swagger-ui .order-4-l{order:4}.swagger-ui .order-5-l{order:5}.swagger-ui .order-6-l{order:6}.swagger-ui .order-7-l{order:7}.swagger-ui .order-8-l{order:8}.swagger-ui .order-last-l{order:99999}.swagger-ui .flex-grow-0-l{flex-grow:0}.swagger-ui .flex-grow-1-l{flex-grow:1}.swagger-ui .flex-shrink-0-l{flex-shrink:0}.swagger-ui .flex-shrink-1-l{flex-shrink:1}}.swagger-ui .dn{display:none}.swagger-ui .di{display:inline}.swagger-ui .db{display:block}.swagger-ui .dib{display:inline-block}.swagger-ui .dit{display:inline-table}.swagger-ui .dt{display:table}.swagger-ui .dtc{display:table-cell}.swagger-ui .dt-row{display:table-row}.swagger-ui .dt-row-group{display:table-row-group}.swagger-ui .dt-column{display:table-column}.swagger-ui .dt-column-group{display:table-column-group}.swagger-ui .dt--fixed{table-layout:fixed;width:100%}@media screen and (min-width:30em){.swagger-ui .dn-ns{display:none}.swagger-ui .di-ns{display:inline}.swagger-ui .db-ns{display:block}.swagger-ui .dib-ns{display:inline-block}.swagger-ui .dit-ns{display:inline-table}.swagger-ui .dt-ns{display:table}.swagger-ui .dtc-ns{display:table-cell}.swagger-ui .dt-row-ns{display:table-row}.swagger-ui .dt-row-group-ns{display:table-row-group}.swagger-ui .dt-column-ns{display:table-column}.swagger-ui .dt-column-group-ns{display:table-column-group}.swagger-ui .dt--fixed-ns{table-layout:fixed;width:100%}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .dn-m{display:none}.swagger-ui .di-m{display:inline}.swagger-ui .db-m{display:block}.swagger-ui .dib-m{display:inline-block}.swagger-ui .dit-m{display:inline-table}.swagger-ui .dt-m{display:table}.swagger-ui .dtc-m{display:table-cell}.swagger-ui .dt-row-m{display:table-row}.swagger-ui .dt-row-group-m{display:table-row-group}.swagger-ui .dt-column-m{display:table-column}.swagger-ui .dt-column-group-m{display:table-column-group}.swagger-ui .dt--fixed-m{table-layout:fixed;width:100%}}@media screen and (min-width:60em){.swagger-ui .dn-l{display:none}.swagger-ui .di-l{display:inline}.swagger-ui .db-l{display:block}.swagger-ui .dib-l{display:inline-block}.swagger-ui .dit-l{display:inline-table}.swagger-ui .dt-l{display:table}.swagger-ui .dtc-l{display:table-cell}.swagger-ui .dt-row-l{display:table-row}.swagger-ui .dt-row-group-l{display:table-row-group}.swagger-ui .dt-column-l{display:table-column}.swagger-ui .dt-column-group-l{display:table-column-group}.swagger-ui .dt--fixed-l{table-layout:fixed;width:100%}}.swagger-ui .fl{_display:inline;float:left}.swagger-ui .fr{_display:inline;float:right}.swagger-ui .fn{float:none}@media screen and (min-width:30em){.swagger-ui .fl-ns{_display:inline;float:left}.swagger-ui .fr-ns{_display:inline;float:right}.swagger-ui .fn-ns{float:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .fl-m{_display:inline;float:left}.swagger-ui .fr-m{_display:inline;float:right}.swagger-ui .fn-m{float:none}}@media screen and (min-width:60em){.swagger-ui .fl-l{_display:inline;float:left}.swagger-ui .fr-l{_display:inline;float:right}.swagger-ui .fn-l{float:none}}.swagger-ui .sans-serif{font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica,helvetica neue,ubuntu,roboto,noto,segoe ui,arial,sans-serif}.swagger-ui .serif{font-family:georgia,serif}.swagger-ui .system-sans-serif{font-family:sans-serif}.swagger-ui .system-serif{font-family:serif}.swagger-ui .code,.swagger-ui code{font-family:Consolas,monaco,monospace}.swagger-ui .courier{font-family:Courier Next,courier,monospace}.swagger-ui .helvetica{font-family:helvetica neue,helvetica,sans-serif}.swagger-ui .avenir{font-family:avenir next,avenir,sans-serif}.swagger-ui .athelas{font-family:athelas,georgia,serif}.swagger-ui .georgia{font-family:georgia,serif}.swagger-ui .times{font-family:times,serif}.swagger-ui .bodoni{font-family:Bodoni MT,serif}.swagger-ui .calisto{font-family:Calisto MT,serif}.swagger-ui .garamond{font-family:garamond,serif}.swagger-ui .baskerville{font-family:baskerville,serif}.swagger-ui .i{font-style:italic}.swagger-ui .fs-normal{font-style:normal}@media screen and (min-width:30em){.swagger-ui .i-ns{font-style:italic}.swagger-ui .fs-normal-ns{font-style:normal}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .i-m{font-style:italic}.swagger-ui .fs-normal-m{font-style:normal}}@media screen and (min-width:60em){.swagger-ui .i-l{font-style:italic}.swagger-ui .fs-normal-l{font-style:normal}}.swagger-ui .normal{font-weight:400}.swagger-ui .b{font-weight:700}.swagger-ui .fw1{font-weight:100}.swagger-ui .fw2{font-weight:200}.swagger-ui .fw3{font-weight:300}.swagger-ui .fw4{font-weight:400}.swagger-ui .fw5{font-weight:500}.swagger-ui .fw6{font-weight:600}.swagger-ui .fw7{font-weight:700}.swagger-ui .fw8{font-weight:800}.swagger-ui .fw9{font-weight:900}@media screen and (min-width:30em){.swagger-ui .normal-ns{font-weight:400}.swagger-ui .b-ns{font-weight:700}.swagger-ui .fw1-ns{font-weight:100}.swagger-ui .fw2-ns{font-weight:200}.swagger-ui .fw3-ns{font-weight:300}.swagger-ui .fw4-ns{font-weight:400}.swagger-ui .fw5-ns{font-weight:500}.swagger-ui .fw6-ns{font-weight:600}.swagger-ui .fw7-ns{font-weight:700}.swagger-ui .fw8-ns{font-weight:800}.swagger-ui .fw9-ns{font-weight:900}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .normal-m{font-weight:400}.swagger-ui .b-m{font-weight:700}.swagger-ui .fw1-m{font-weight:100}.swagger-ui .fw2-m{font-weight:200}.swagger-ui .fw3-m{font-weight:300}.swagger-ui .fw4-m{font-weight:400}.swagger-ui .fw5-m{font-weight:500}.swagger-ui .fw6-m{font-weight:600}.swagger-ui .fw7-m{font-weight:700}.swagger-ui .fw8-m{font-weight:800}.swagger-ui .fw9-m{font-weight:900}}@media screen and (min-width:60em){.swagger-ui .normal-l{font-weight:400}.swagger-ui .b-l{font-weight:700}.swagger-ui .fw1-l{font-weight:100}.swagger-ui .fw2-l{font-weight:200}.swagger-ui .fw3-l{font-weight:300}.swagger-ui .fw4-l{font-weight:400}.swagger-ui .fw5-l{font-weight:500}.swagger-ui .fw6-l{font-weight:600}.swagger-ui .fw7-l{font-weight:700}.swagger-ui .fw8-l{font-weight:800}.swagger-ui .fw9-l{font-weight:900}}.swagger-ui .input-reset{-webkit-appearance:none;-moz-appearance:none}.swagger-ui .button-reset::-moz-focus-inner,.swagger-ui .input-reset::-moz-focus-inner{border:0;padding:0}.swagger-ui .h1{height:1rem}.swagger-ui .h2{height:2rem}.swagger-ui .h3{height:4rem}.swagger-ui .h4{height:8rem}.swagger-ui .h5{height:16rem}.swagger-ui .h-25{height:25%}.swagger-ui .h-50{height:50%}.swagger-ui .h-75{height:75%}.swagger-ui .h-100{height:100%}.swagger-ui .min-h-100{min-height:100%}.swagger-ui .vh-25{height:25vh}.swagger-ui .vh-50{height:50vh}.swagger-ui .vh-75{height:75vh}.swagger-ui .vh-100{height:100vh}.swagger-ui .min-vh-100{min-height:100vh}.swagger-ui .h-auto{height:auto}.swagger-ui .h-inherit{height:inherit}@media screen and (min-width:30em){.swagger-ui .h1-ns{height:1rem}.swagger-ui .h2-ns{height:2rem}.swagger-ui .h3-ns{height:4rem}.swagger-ui .h4-ns{height:8rem}.swagger-ui .h5-ns{height:16rem}.swagger-ui .h-25-ns{height:25%}.swagger-ui .h-50-ns{height:50%}.swagger-ui .h-75-ns{height:75%}.swagger-ui .h-100-ns{height:100%}.swagger-ui .min-h-100-ns{min-height:100%}.swagger-ui .vh-25-ns{height:25vh}.swagger-ui .vh-50-ns{height:50vh}.swagger-ui .vh-75-ns{height:75vh}.swagger-ui .vh-100-ns{height:100vh}.swagger-ui .min-vh-100-ns{min-height:100vh}.swagger-ui .h-auto-ns{height:auto}.swagger-ui .h-inherit-ns{height:inherit}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .h1-m{height:1rem}.swagger-ui .h2-m{height:2rem}.swagger-ui .h3-m{height:4rem}.swagger-ui .h4-m{height:8rem}.swagger-ui .h5-m{height:16rem}.swagger-ui .h-25-m{height:25%}.swagger-ui .h-50-m{height:50%}.swagger-ui .h-75-m{height:75%}.swagger-ui .h-100-m{height:100%}.swagger-ui .min-h-100-m{min-height:100%}.swagger-ui .vh-25-m{height:25vh}.swagger-ui .vh-50-m{height:50vh}.swagger-ui .vh-75-m{height:75vh}.swagger-ui .vh-100-m{height:100vh}.swagger-ui .min-vh-100-m{min-height:100vh}.swagger-ui .h-auto-m{height:auto}.swagger-ui .h-inherit-m{height:inherit}}@media screen and (min-width:60em){.swagger-ui .h1-l{height:1rem}.swagger-ui .h2-l{height:2rem}.swagger-ui .h3-l{height:4rem}.swagger-ui .h4-l{height:8rem}.swagger-ui .h5-l{height:16rem}.swagger-ui .h-25-l{height:25%}.swagger-ui .h-50-l{height:50%}.swagger-ui .h-75-l{height:75%}.swagger-ui .h-100-l{height:100%}.swagger-ui .min-h-100-l{min-height:100%}.swagger-ui .vh-25-l{height:25vh}.swagger-ui .vh-50-l{height:50vh}.swagger-ui .vh-75-l{height:75vh}.swagger-ui .vh-100-l{height:100vh}.swagger-ui .min-vh-100-l{min-height:100vh}.swagger-ui .h-auto-l{height:auto}.swagger-ui .h-inherit-l{height:inherit}}.swagger-ui .tracked{letter-spacing:.1em}.swagger-ui .tracked-tight{letter-spacing:-.05em}.swagger-ui .tracked-mega{letter-spacing:.25em}@media screen and (min-width:30em){.swagger-ui .tracked-ns{letter-spacing:.1em}.swagger-ui .tracked-tight-ns{letter-spacing:-.05em}.swagger-ui .tracked-mega-ns{letter-spacing:.25em}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .tracked-m{letter-spacing:.1em}.swagger-ui .tracked-tight-m{letter-spacing:-.05em}.swagger-ui .tracked-mega-m{letter-spacing:.25em}}@media screen and (min-width:60em){.swagger-ui .tracked-l{letter-spacing:.1em}.swagger-ui .tracked-tight-l{letter-spacing:-.05em}.swagger-ui .tracked-mega-l{letter-spacing:.25em}}.swagger-ui .lh-solid{line-height:1}.swagger-ui .lh-title{line-height:1.25}.swagger-ui .lh-copy{line-height:1.5}@media screen and (min-width:30em){.swagger-ui .lh-solid-ns{line-height:1}.swagger-ui .lh-title-ns{line-height:1.25}.swagger-ui .lh-copy-ns{line-height:1.5}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .lh-solid-m{line-height:1}.swagger-ui .lh-title-m{line-height:1.25}.swagger-ui .lh-copy-m{line-height:1.5}}@media screen and (min-width:60em){.swagger-ui .lh-solid-l{line-height:1}.swagger-ui .lh-title-l{line-height:1.25}.swagger-ui .lh-copy-l{line-height:1.5}}.swagger-ui .link{-webkit-text-decoration:none;text-decoration:none}.swagger-ui .link,.swagger-ui .link:active,.swagger-ui .link:focus,.swagger-ui .link:hover,.swagger-ui .link:link,.swagger-ui .link:visited{transition:color .15s ease-in}.swagger-ui .link:focus{outline:1px dotted currentColor}.swagger-ui .list{list-style-type:none}.swagger-ui .mw-100{max-width:100%}.swagger-ui .mw1{max-width:1rem}.swagger-ui .mw2{max-width:2rem}.swagger-ui .mw3{max-width:4rem}.swagger-ui .mw4{max-width:8rem}.swagger-ui .mw5{max-width:16rem}.swagger-ui .mw6{max-width:32rem}.swagger-ui .mw7{max-width:48rem}.swagger-ui .mw8{max-width:64rem}.swagger-ui .mw9{max-width:96rem}.swagger-ui .mw-none{max-width:none}@media screen and (min-width:30em){.swagger-ui .mw-100-ns{max-width:100%}.swagger-ui .mw1-ns{max-width:1rem}.swagger-ui .mw2-ns{max-width:2rem}.swagger-ui .mw3-ns{max-width:4rem}.swagger-ui .mw4-ns{max-width:8rem}.swagger-ui .mw5-ns{max-width:16rem}.swagger-ui .mw6-ns{max-width:32rem}.swagger-ui .mw7-ns{max-width:48rem}.swagger-ui .mw8-ns{max-width:64rem}.swagger-ui .mw9-ns{max-width:96rem}.swagger-ui .mw-none-ns{max-width:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .mw-100-m{max-width:100%}.swagger-ui .mw1-m{max-width:1rem}.swagger-ui .mw2-m{max-width:2rem}.swagger-ui .mw3-m{max-width:4rem}.swagger-ui .mw4-m{max-width:8rem}.swagger-ui .mw5-m{max-width:16rem}.swagger-ui .mw6-m{max-width:32rem}.swagger-ui .mw7-m{max-width:48rem}.swagger-ui .mw8-m{max-width:64rem}.swagger-ui .mw9-m{max-width:96rem}.swagger-ui .mw-none-m{max-width:none}}@media screen and (min-width:60em){.swagger-ui .mw-100-l{max-width:100%}.swagger-ui .mw1-l{max-width:1rem}.swagger-ui .mw2-l{max-width:2rem}.swagger-ui .mw3-l{max-width:4rem}.swagger-ui .mw4-l{max-width:8rem}.swagger-ui .mw5-l{max-width:16rem}.swagger-ui .mw6-l{max-width:32rem}.swagger-ui .mw7-l{max-width:48rem}.swagger-ui .mw8-l{max-width:64rem}.swagger-ui .mw9-l{max-width:96rem}.swagger-ui .mw-none-l{max-width:none}}.swagger-ui .w1{width:1rem}.swagger-ui .w2{width:2rem}.swagger-ui .w3{width:4rem}.swagger-ui .w4{width:8rem}.swagger-ui .w5{width:16rem}.swagger-ui .w-10{width:10%}.swagger-ui .w-20{width:20%}.swagger-ui .w-25{width:25%}.swagger-ui .w-30{width:30%}.swagger-ui .w-33{width:33%}.swagger-ui .w-34{width:34%}.swagger-ui .w-40{width:40%}.swagger-ui .w-50{width:50%}.swagger-ui .w-60{width:60%}.swagger-ui .w-70{width:70%}.swagger-ui .w-75{width:75%}.swagger-ui .w-80{width:80%}.swagger-ui .w-90{width:90%}.swagger-ui .w-100{width:100%}.swagger-ui .w-third{width:33.3333333333%}.swagger-ui .w-two-thirds{width:66.6666666667%}.swagger-ui .w-auto{width:auto}@media screen and (min-width:30em){.swagger-ui .w1-ns{width:1rem}.swagger-ui .w2-ns{width:2rem}.swagger-ui .w3-ns{width:4rem}.swagger-ui .w4-ns{width:8rem}.swagger-ui .w5-ns{width:16rem}.swagger-ui .w-10-ns{width:10%}.swagger-ui .w-20-ns{width:20%}.swagger-ui .w-25-ns{width:25%}.swagger-ui .w-30-ns{width:30%}.swagger-ui .w-33-ns{width:33%}.swagger-ui .w-34-ns{width:34%}.swagger-ui .w-40-ns{width:40%}.swagger-ui .w-50-ns{width:50%}.swagger-ui .w-60-ns{width:60%}.swagger-ui .w-70-ns{width:70%}.swagger-ui .w-75-ns{width:75%}.swagger-ui .w-80-ns{width:80%}.swagger-ui .w-90-ns{width:90%}.swagger-ui .w-100-ns{width:100%}.swagger-ui .w-third-ns{width:33.3333333333%}.swagger-ui .w-two-thirds-ns{width:66.6666666667%}.swagger-ui .w-auto-ns{width:auto}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .w1-m{width:1rem}.swagger-ui .w2-m{width:2rem}.swagger-ui .w3-m{width:4rem}.swagger-ui .w4-m{width:8rem}.swagger-ui .w5-m{width:16rem}.swagger-ui .w-10-m{width:10%}.swagger-ui .w-20-m{width:20%}.swagger-ui .w-25-m{width:25%}.swagger-ui .w-30-m{width:30%}.swagger-ui .w-33-m{width:33%}.swagger-ui .w-34-m{width:34%}.swagger-ui .w-40-m{width:40%}.swagger-ui .w-50-m{width:50%}.swagger-ui .w-60-m{width:60%}.swagger-ui .w-70-m{width:70%}.swagger-ui .w-75-m{width:75%}.swagger-ui .w-80-m{width:80%}.swagger-ui .w-90-m{width:90%}.swagger-ui .w-100-m{width:100%}.swagger-ui .w-third-m{width:33.3333333333%}.swagger-ui .w-two-thirds-m{width:66.6666666667%}.swagger-ui .w-auto-m{width:auto}}@media screen and (min-width:60em){.swagger-ui .w1-l{width:1rem}.swagger-ui .w2-l{width:2rem}.swagger-ui .w3-l{width:4rem}.swagger-ui .w4-l{width:8rem}.swagger-ui .w5-l{width:16rem}.swagger-ui .w-10-l{width:10%}.swagger-ui .w-20-l{width:20%}.swagger-ui .w-25-l{width:25%}.swagger-ui .w-30-l{width:30%}.swagger-ui .w-33-l{width:33%}.swagger-ui .w-34-l{width:34%}.swagger-ui .w-40-l{width:40%}.swagger-ui .w-50-l{width:50%}.swagger-ui .w-60-l{width:60%}.swagger-ui .w-70-l{width:70%}.swagger-ui .w-75-l{width:75%}.swagger-ui .w-80-l{width:80%}.swagger-ui .w-90-l{width:90%}.swagger-ui .w-100-l{width:100%}.swagger-ui .w-third-l{width:33.3333333333%}.swagger-ui .w-two-thirds-l{width:66.6666666667%}.swagger-ui .w-auto-l{width:auto}}.swagger-ui .overflow-visible{overflow:visible}.swagger-ui .overflow-hidden{overflow:hidden}.swagger-ui .overflow-scroll{overflow:scroll}.swagger-ui .overflow-auto{overflow:auto}.swagger-ui .overflow-x-visible{overflow-x:visible}.swagger-ui .overflow-x-hidden{overflow-x:hidden}.swagger-ui .overflow-x-scroll{overflow-x:scroll}.swagger-ui .overflow-x-auto{overflow-x:auto}.swagger-ui .overflow-y-visible{overflow-y:visible}.swagger-ui .overflow-y-hidden{overflow-y:hidden}.swagger-ui .overflow-y-scroll{overflow-y:scroll}.swagger-ui .overflow-y-auto{overflow-y:auto}@media screen and (min-width:30em){.swagger-ui .overflow-visible-ns{overflow:visible}.swagger-ui .overflow-hidden-ns{overflow:hidden}.swagger-ui .overflow-scroll-ns{overflow:scroll}.swagger-ui .overflow-auto-ns{overflow:auto}.swagger-ui .overflow-x-visible-ns{overflow-x:visible}.swagger-ui .overflow-x-hidden-ns{overflow-x:hidden}.swagger-ui .overflow-x-scroll-ns{overflow-x:scroll}.swagger-ui .overflow-x-auto-ns{overflow-x:auto}.swagger-ui .overflow-y-visible-ns{overflow-y:visible}.swagger-ui .overflow-y-hidden-ns{overflow-y:hidden}.swagger-ui .overflow-y-scroll-ns{overflow-y:scroll}.swagger-ui .overflow-y-auto-ns{overflow-y:auto}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .overflow-visible-m{overflow:visible}.swagger-ui .overflow-hidden-m{overflow:hidden}.swagger-ui .overflow-scroll-m{overflow:scroll}.swagger-ui .overflow-auto-m{overflow:auto}.swagger-ui .overflow-x-visible-m{overflow-x:visible}.swagger-ui .overflow-x-hidden-m{overflow-x:hidden}.swagger-ui .overflow-x-scroll-m{overflow-x:scroll}.swagger-ui .overflow-x-auto-m{overflow-x:auto}.swagger-ui .overflow-y-visible-m{overflow-y:visible}.swagger-ui .overflow-y-hidden-m{overflow-y:hidden}.swagger-ui .overflow-y-scroll-m{overflow-y:scroll}.swagger-ui .overflow-y-auto-m{overflow-y:auto}}@media screen and (min-width:60em){.swagger-ui .overflow-visible-l{overflow:visible}.swagger-ui .overflow-hidden-l{overflow:hidden}.swagger-ui .overflow-scroll-l{overflow:scroll}.swagger-ui .overflow-auto-l{overflow:auto}.swagger-ui .overflow-x-visible-l{overflow-x:visible}.swagger-ui .overflow-x-hidden-l{overflow-x:hidden}.swagger-ui .overflow-x-scroll-l{overflow-x:scroll}.swagger-ui .overflow-x-auto-l{overflow-x:auto}.swagger-ui .overflow-y-visible-l{overflow-y:visible}.swagger-ui .overflow-y-hidden-l{overflow-y:hidden}.swagger-ui .overflow-y-scroll-l{overflow-y:scroll}.swagger-ui .overflow-y-auto-l{overflow-y:auto}}.swagger-ui .static{position:static}.swagger-ui .relative{position:relative}.swagger-ui .absolute{position:absolute}.swagger-ui .fixed{position:fixed}@media screen and (min-width:30em){.swagger-ui .static-ns{position:static}.swagger-ui .relative-ns{position:relative}.swagger-ui .absolute-ns{position:absolute}.swagger-ui .fixed-ns{position:fixed}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .static-m{position:static}.swagger-ui .relative-m{position:relative}.swagger-ui .absolute-m{position:absolute}.swagger-ui .fixed-m{position:fixed}}@media screen and (min-width:60em){.swagger-ui .static-l{position:static}.swagger-ui .relative-l{position:relative}.swagger-ui .absolute-l{position:absolute}.swagger-ui .fixed-l{position:fixed}}.swagger-ui .o-100{opacity:1}.swagger-ui .o-90{opacity:.9}.swagger-ui .o-80{opacity:.8}.swagger-ui .o-70{opacity:.7}.swagger-ui .o-60{opacity:.6}.swagger-ui .o-50{opacity:.5}.swagger-ui .o-40{opacity:.4}.swagger-ui .o-30{opacity:.3}.swagger-ui .o-20{opacity:.2}.swagger-ui .o-10{opacity:.1}.swagger-ui .o-05{opacity:.05}.swagger-ui .o-025{opacity:.025}.swagger-ui .o-0{opacity:0}.swagger-ui .rotate-45{transform:rotate(45deg)}.swagger-ui .rotate-90{transform:rotate(90deg)}.swagger-ui .rotate-135{transform:rotate(135deg)}.swagger-ui .rotate-180{transform:rotate(180deg)}.swagger-ui .rotate-225{transform:rotate(225deg)}.swagger-ui .rotate-270{transform:rotate(270deg)}.swagger-ui .rotate-315{transform:rotate(315deg)}@media screen and (min-width:30em){.swagger-ui .rotate-45-ns{transform:rotate(45deg)}.swagger-ui .rotate-90-ns{transform:rotate(90deg)}.swagger-ui .rotate-135-ns{transform:rotate(135deg)}.swagger-ui .rotate-180-ns{transform:rotate(180deg)}.swagger-ui .rotate-225-ns{transform:rotate(225deg)}.swagger-ui .rotate-270-ns{transform:rotate(270deg)}.swagger-ui .rotate-315-ns{transform:rotate(315deg)}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .rotate-45-m{transform:rotate(45deg)}.swagger-ui .rotate-90-m{transform:rotate(90deg)}.swagger-ui .rotate-135-m{transform:rotate(135deg)}.swagger-ui .rotate-180-m{transform:rotate(180deg)}.swagger-ui .rotate-225-m{transform:rotate(225deg)}.swagger-ui .rotate-270-m{transform:rotate(270deg)}.swagger-ui .rotate-315-m{transform:rotate(315deg)}}@media screen and (min-width:60em){.swagger-ui .rotate-45-l{transform:rotate(45deg)}.swagger-ui .rotate-90-l{transform:rotate(90deg)}.swagger-ui .rotate-135-l{transform:rotate(135deg)}.swagger-ui .rotate-180-l{transform:rotate(180deg)}.swagger-ui .rotate-225-l{transform:rotate(225deg)}.swagger-ui .rotate-270-l{transform:rotate(270deg)}.swagger-ui .rotate-315-l{transform:rotate(315deg)}}.swagger-ui .black-90{color:#000000e6}.swagger-ui .black-80{color:#000c}.swagger-ui .black-70{color:#000000b3}.swagger-ui .black-60{color:#0009}.swagger-ui .black-50{color:#00000080}.swagger-ui .black-40{color:#0006}.swagger-ui .black-30{color:#0000004d}.swagger-ui .black-20{color:#0003}.swagger-ui .black-10{color:#0000001a}.swagger-ui .black-05{color:#0000000d}.swagger-ui .white-90{color:#ffffffe6}.swagger-ui .white-80{color:#fffc}.swagger-ui .white-70{color:#ffffffb3}.swagger-ui .white-60{color:#fff9}.swagger-ui .white-50{color:#ffffff80}.swagger-ui .white-40{color:#fff6}.swagger-ui .white-30{color:#ffffff4d}.swagger-ui .white-20{color:#fff3}.swagger-ui .white-10{color:#ffffff1a}.swagger-ui .black{color:#000}.swagger-ui .near-black{color:#111}.swagger-ui .dark-gray{color:#333}.swagger-ui .mid-gray{color:#555}.swagger-ui .gray{color:#777}.swagger-ui .silver{color:#999}.swagger-ui .light-silver{color:#aaa}.swagger-ui .moon-gray{color:#ccc}.swagger-ui .light-gray{color:#eee}.swagger-ui .near-white{color:#f4f4f4}.swagger-ui .white{color:#fff}.swagger-ui .dark-red{color:#e7040f}.swagger-ui .red{color:#ff4136}.swagger-ui .light-red{color:#ff725c}.swagger-ui .orange{color:#ff6300}.swagger-ui .gold{color:#ffb700}.swagger-ui .yellow{color:gold}.swagger-ui .light-yellow{color:#fbf1a9}.swagger-ui .purple{color:#5e2ca5}.swagger-ui .light-purple{color:#a463f2}.swagger-ui .dark-pink{color:#d5008f}.swagger-ui .hot-pink{color:#ff41b4}.swagger-ui .pink{color:#ff80cc}.swagger-ui .light-pink{color:#ffa3d7}.swagger-ui .dark-green{color:#137752}.swagger-ui .green{color:#19a974}.swagger-ui .light-green{color:#9eebcf}.swagger-ui .navy{color:#001b44}.swagger-ui .dark-blue{color:#00449e}.swagger-ui .blue{color:#357edd}.swagger-ui .light-blue{color:#96ccff}.swagger-ui .lightest-blue{color:#cdecff}.swagger-ui .washed-blue{color:#f6fffe}.swagger-ui .washed-green{color:#e8fdf5}.swagger-ui .washed-yellow{color:#fffceb}.swagger-ui .washed-red{color:#ffdfdf}.swagger-ui .color-inherit{color:inherit}.swagger-ui .bg-black-90{background-color:#000000e6}.swagger-ui .bg-black-80{background-color:#000c}.swagger-ui .bg-black-70{background-color:#000000b3}.swagger-ui .bg-black-60{background-color:#0009}.swagger-ui .bg-black-50{background-color:#00000080}.swagger-ui .bg-black-40{background-color:#0006}.swagger-ui .bg-black-30{background-color:#0000004d}.swagger-ui .bg-black-20{background-color:#0003}.swagger-ui .bg-black-10{background-color:#0000001a}.swagger-ui .bg-black-05{background-color:#0000000d}.swagger-ui .bg-white-90{background-color:#ffffffe6}.swagger-ui .bg-white-80{background-color:#fffc}.swagger-ui .bg-white-70{background-color:#ffffffb3}.swagger-ui .bg-white-60{background-color:#fff9}.swagger-ui .bg-white-50{background-color:#ffffff80}.swagger-ui .bg-white-40{background-color:#fff6}.swagger-ui .bg-white-30{background-color:#ffffff4d}.swagger-ui .bg-white-20{background-color:#fff3}.swagger-ui .bg-white-10{background-color:#ffffff1a}.swagger-ui .bg-black{background-color:#000}.swagger-ui .bg-near-black{background-color:#111}.swagger-ui .bg-dark-gray{background-color:#333}.swagger-ui .bg-mid-gray{background-color:#555}.swagger-ui .bg-gray{background-color:#777}.swagger-ui .bg-silver{background-color:#999}.swagger-ui .bg-light-silver{background-color:#aaa}.swagger-ui .bg-moon-gray{background-color:#ccc}.swagger-ui .bg-light-gray{background-color:#eee}.swagger-ui .bg-near-white{background-color:#f4f4f4}.swagger-ui .bg-white{background-color:#fff}.swagger-ui .bg-transparent{background-color:transparent}.swagger-ui .bg-dark-red{background-color:#e7040f}.swagger-ui .bg-red{background-color:#ff4136}.swagger-ui .bg-light-red{background-color:#ff725c}.swagger-ui .bg-orange{background-color:#ff6300}.swagger-ui .bg-gold{background-color:#ffb700}.swagger-ui .bg-yellow{background-color:gold}.swagger-ui .bg-light-yellow{background-color:#fbf1a9}.swagger-ui .bg-purple{background-color:#5e2ca5}.swagger-ui .bg-light-purple{background-color:#a463f2}.swagger-ui .bg-dark-pink{background-color:#d5008f}.swagger-ui .bg-hot-pink{background-color:#ff41b4}.swagger-ui .bg-pink{background-color:#ff80cc}.swagger-ui .bg-light-pink{background-color:#ffa3d7}.swagger-ui .bg-dark-green{background-color:#137752}.swagger-ui .bg-green{background-color:#19a974}.swagger-ui .bg-light-green{background-color:#9eebcf}.swagger-ui .bg-navy{background-color:#001b44}.swagger-ui .bg-dark-blue{background-color:#00449e}.swagger-ui .bg-blue{background-color:#357edd}.swagger-ui .bg-light-blue{background-color:#96ccff}.swagger-ui .bg-lightest-blue{background-color:#cdecff}.swagger-ui .bg-washed-blue{background-color:#f6fffe}.swagger-ui .bg-washed-green{background-color:#e8fdf5}.swagger-ui .bg-washed-yellow{background-color:#fffceb}.swagger-ui .bg-washed-red{background-color:#ffdfdf}.swagger-ui .bg-inherit{background-color:inherit}.swagger-ui .hover-black:focus,.swagger-ui .hover-black:hover{color:#000}.swagger-ui .hover-near-black:focus,.swagger-ui .hover-near-black:hover{color:#111}.swagger-ui .hover-dark-gray:focus,.swagger-ui .hover-dark-gray:hover{color:#333}.swagger-ui .hover-mid-gray:focus,.swagger-ui .hover-mid-gray:hover{color:#555}.swagger-ui .hover-gray:focus,.swagger-ui .hover-gray:hover{color:#777}.swagger-ui .hover-silver:focus,.swagger-ui .hover-silver:hover{color:#999}.swagger-ui .hover-light-silver:focus,.swagger-ui .hover-light-silver:hover{color:#aaa}.swagger-ui .hover-moon-gray:focus,.swagger-ui .hover-moon-gray:hover{color:#ccc}.swagger-ui .hover-light-gray:focus,.swagger-ui .hover-light-gray:hover{color:#eee}.swagger-ui .hover-near-white:focus,.swagger-ui .hover-near-white:hover{color:#f4f4f4}.swagger-ui .hover-white:focus,.swagger-ui .hover-white:hover{color:#fff}.swagger-ui .hover-black-90:focus,.swagger-ui .hover-black-90:hover{color:#000000e6}.swagger-ui .hover-black-80:focus,.swagger-ui .hover-black-80:hover{color:#000c}.swagger-ui .hover-black-70:focus,.swagger-ui .hover-black-70:hover{color:#000000b3}.swagger-ui .hover-black-60:focus,.swagger-ui .hover-black-60:hover{color:#0009}.swagger-ui .hover-black-50:focus,.swagger-ui .hover-black-50:hover{color:#00000080}.swagger-ui .hover-black-40:focus,.swagger-ui .hover-black-40:hover{color:#0006}.swagger-ui .hover-black-30:focus,.swagger-ui .hover-black-30:hover{color:#0000004d}.swagger-ui .hover-black-20:focus,.swagger-ui .hover-black-20:hover{color:#0003}.swagger-ui .hover-black-10:focus,.swagger-ui .hover-black-10:hover{color:#0000001a}.swagger-ui .hover-white-90:focus,.swagger-ui .hover-white-90:hover{color:#ffffffe6}.swagger-ui .hover-white-80:focus,.swagger-ui .hover-white-80:hover{color:#fffc}.swagger-ui .hover-white-70:focus,.swagger-ui .hover-white-70:hover{color:#ffffffb3}.swagger-ui .hover-white-60:focus,.swagger-ui .hover-white-60:hover{color:#fff9}.swagger-ui .hover-white-50:focus,.swagger-ui .hover-white-50:hover{color:#ffffff80}.swagger-ui .hover-white-40:focus,.swagger-ui .hover-white-40:hover{color:#fff6}.swagger-ui .hover-white-30:focus,.swagger-ui .hover-white-30:hover{color:#ffffff4d}.swagger-ui .hover-white-20:focus,.swagger-ui .hover-white-20:hover{color:#fff3}.swagger-ui .hover-white-10:focus,.swagger-ui .hover-white-10:hover{color:#ffffff1a}.swagger-ui .hover-inherit:focus,.swagger-ui .hover-inherit:hover{color:inherit}.swagger-ui .hover-bg-black:focus,.swagger-ui .hover-bg-black:hover{background-color:#000}.swagger-ui .hover-bg-near-black:focus,.swagger-ui .hover-bg-near-black:hover{background-color:#111}.swagger-ui .hover-bg-dark-gray:focus,.swagger-ui .hover-bg-dark-gray:hover{background-color:#333}.swagger-ui .hover-bg-mid-gray:focus,.swagger-ui .hover-bg-mid-gray:hover{background-color:#555}.swagger-ui .hover-bg-gray:focus,.swagger-ui .hover-bg-gray:hover{background-color:#777}.swagger-ui .hover-bg-silver:focus,.swagger-ui .hover-bg-silver:hover{background-color:#999}.swagger-ui .hover-bg-light-silver:focus,.swagger-ui .hover-bg-light-silver:hover{background-color:#aaa}.swagger-ui .hover-bg-moon-gray:focus,.swagger-ui .hover-bg-moon-gray:hover{background-color:#ccc}.swagger-ui .hover-bg-light-gray:focus,.swagger-ui .hover-bg-light-gray:hover{background-color:#eee}.swagger-ui .hover-bg-near-white:focus,.swagger-ui .hover-bg-near-white:hover{background-color:#f4f4f4}.swagger-ui .hover-bg-white:focus,.swagger-ui .hover-bg-white:hover{background-color:#fff}.swagger-ui .hover-bg-transparent:focus,.swagger-ui .hover-bg-transparent:hover{background-color:transparent}.swagger-ui .hover-bg-black-90:focus,.swagger-ui .hover-bg-black-90:hover{background-color:#000000e6}.swagger-ui .hover-bg-black-80:focus,.swagger-ui .hover-bg-black-80:hover{background-color:#000c}.swagger-ui .hover-bg-black-70:focus,.swagger-ui .hover-bg-black-70:hover{background-color:#000000b3}.swagger-ui .hover-bg-black-60:focus,.swagger-ui .hover-bg-black-60:hover{background-color:#0009}.swagger-ui .hover-bg-black-50:focus,.swagger-ui .hover-bg-black-50:hover{background-color:#00000080}.swagger-ui .hover-bg-black-40:focus,.swagger-ui .hover-bg-black-40:hover{background-color:#0006}.swagger-ui .hover-bg-black-30:focus,.swagger-ui .hover-bg-black-30:hover{background-color:#0000004d}.swagger-ui .hover-bg-black-20:focus,.swagger-ui .hover-bg-black-20:hover{background-color:#0003}.swagger-ui .hover-bg-black-10:focus,.swagger-ui .hover-bg-black-10:hover{background-color:#0000001a}.swagger-ui .hover-bg-white-90:focus,.swagger-ui .hover-bg-white-90:hover{background-color:#ffffffe6}.swagger-ui .hover-bg-white-80:focus,.swagger-ui .hover-bg-white-80:hover{background-color:#fffc}.swagger-ui .hover-bg-white-70:focus,.swagger-ui .hover-bg-white-70:hover{background-color:#ffffffb3}.swagger-ui .hover-bg-white-60:focus,.swagger-ui .hover-bg-white-60:hover{background-color:#fff9}.swagger-ui .hover-bg-white-50:focus,.swagger-ui .hover-bg-white-50:hover{background-color:#ffffff80}.swagger-ui .hover-bg-white-40:focus,.swagger-ui .hover-bg-white-40:hover{background-color:#fff6}.swagger-ui .hover-bg-white-30:focus,.swagger-ui .hover-bg-white-30:hover{background-color:#ffffff4d}.swagger-ui .hover-bg-white-20:focus,.swagger-ui .hover-bg-white-20:hover{background-color:#fff3}.swagger-ui .hover-bg-white-10:focus,.swagger-ui .hover-bg-white-10:hover{background-color:#ffffff1a}.swagger-ui .hover-dark-red:focus,.swagger-ui .hover-dark-red:hover{color:#e7040f}.swagger-ui .hover-red:focus,.swagger-ui .hover-red:hover{color:#ff4136}.swagger-ui .hover-light-red:focus,.swagger-ui .hover-light-red:hover{color:#ff725c}.swagger-ui .hover-orange:focus,.swagger-ui .hover-orange:hover{color:#ff6300}.swagger-ui .hover-gold:focus,.swagger-ui .hover-gold:hover{color:#ffb700}.swagger-ui .hover-yellow:focus,.swagger-ui .hover-yellow:hover{color:gold}.swagger-ui .hover-light-yellow:focus,.swagger-ui .hover-light-yellow:hover{color:#fbf1a9}.swagger-ui .hover-purple:focus,.swagger-ui .hover-purple:hover{color:#5e2ca5}.swagger-ui .hover-light-purple:focus,.swagger-ui .hover-light-purple:hover{color:#a463f2}.swagger-ui .hover-dark-pink:focus,.swagger-ui .hover-dark-pink:hover{color:#d5008f}.swagger-ui .hover-hot-pink:focus,.swagger-ui .hover-hot-pink:hover{color:#ff41b4}.swagger-ui .hover-pink:focus,.swagger-ui .hover-pink:hover{color:#ff80cc}.swagger-ui .hover-light-pink:focus,.swagger-ui .hover-light-pink:hover{color:#ffa3d7}.swagger-ui .hover-dark-green:focus,.swagger-ui .hover-dark-green:hover{color:#137752}.swagger-ui .hover-green:focus,.swagger-ui .hover-green:hover{color:#19a974}.swagger-ui .hover-light-green:focus,.swagger-ui .hover-light-green:hover{color:#9eebcf}.swagger-ui .hover-navy:focus,.swagger-ui .hover-navy:hover{color:#001b44}.swagger-ui .hover-dark-blue:focus,.swagger-ui .hover-dark-blue:hover{color:#00449e}.swagger-ui .hover-blue:focus,.swagger-ui .hover-blue:hover{color:#357edd}.swagger-ui .hover-light-blue:focus,.swagger-ui .hover-light-blue:hover{color:#96ccff}.swagger-ui .hover-lightest-blue:focus,.swagger-ui .hover-lightest-blue:hover{color:#cdecff}.swagger-ui .hover-washed-blue:focus,.swagger-ui .hover-washed-blue:hover{color:#f6fffe}.swagger-ui .hover-washed-green:focus,.swagger-ui .hover-washed-green:hover{color:#e8fdf5}.swagger-ui .hover-washed-yellow:focus,.swagger-ui .hover-washed-yellow:hover{color:#fffceb}.swagger-ui .hover-washed-red:focus,.swagger-ui .hover-washed-red:hover{color:#ffdfdf}.swagger-ui .hover-bg-dark-red:focus,.swagger-ui .hover-bg-dark-red:hover{background-color:#e7040f}.swagger-ui .hover-bg-red:focus,.swagger-ui .hover-bg-red:hover{background-color:#ff4136}.swagger-ui .hover-bg-light-red:focus,.swagger-ui .hover-bg-light-red:hover{background-color:#ff725c}.swagger-ui .hover-bg-orange:focus,.swagger-ui .hover-bg-orange:hover{background-color:#ff6300}.swagger-ui .hover-bg-gold:focus,.swagger-ui .hover-bg-gold:hover{background-color:#ffb700}.swagger-ui .hover-bg-yellow:focus,.swagger-ui .hover-bg-yellow:hover{background-color:gold}.swagger-ui .hover-bg-light-yellow:focus,.swagger-ui .hover-bg-light-yellow:hover{background-color:#fbf1a9}.swagger-ui .hover-bg-purple:focus,.swagger-ui .hover-bg-purple:hover{background-color:#5e2ca5}.swagger-ui .hover-bg-light-purple:focus,.swagger-ui .hover-bg-light-purple:hover{background-color:#a463f2}.swagger-ui .hover-bg-dark-pink:focus,.swagger-ui .hover-bg-dark-pink:hover{background-color:#d5008f}.swagger-ui .hover-bg-hot-pink:focus,.swagger-ui .hover-bg-hot-pink:hover{background-color:#ff41b4}.swagger-ui .hover-bg-pink:focus,.swagger-ui .hover-bg-pink:hover{background-color:#ff80cc}.swagger-ui .hover-bg-light-pink:focus,.swagger-ui .hover-bg-light-pink:hover{background-color:#ffa3d7}.swagger-ui .hover-bg-dark-green:focus,.swagger-ui .hover-bg-dark-green:hover{background-color:#137752}.swagger-ui .hover-bg-green:focus,.swagger-ui .hover-bg-green:hover{background-color:#19a974}.swagger-ui .hover-bg-light-green:focus,.swagger-ui .hover-bg-light-green:hover{background-color:#9eebcf}.swagger-ui .hover-bg-navy:focus,.swagger-ui .hover-bg-navy:hover{background-color:#001b44}.swagger-ui .hover-bg-dark-blue:focus,.swagger-ui .hover-bg-dark-blue:hover{background-color:#00449e}.swagger-ui .hover-bg-blue:focus,.swagger-ui .hover-bg-blue:hover{background-color:#357edd}.swagger-ui .hover-bg-light-blue:focus,.swagger-ui .hover-bg-light-blue:hover{background-color:#96ccff}.swagger-ui .hover-bg-lightest-blue:focus,.swagger-ui .hover-bg-lightest-blue:hover{background-color:#cdecff}.swagger-ui .hover-bg-washed-blue:focus,.swagger-ui .hover-bg-washed-blue:hover{background-color:#f6fffe}.swagger-ui .hover-bg-washed-green:focus,.swagger-ui .hover-bg-washed-green:hover{background-color:#e8fdf5}.swagger-ui .hover-bg-washed-yellow:focus,.swagger-ui .hover-bg-washed-yellow:hover{background-color:#fffceb}.swagger-ui .hover-bg-washed-red:focus,.swagger-ui .hover-bg-washed-red:hover{background-color:#ffdfdf}.swagger-ui .hover-bg-inherit:focus,.swagger-ui .hover-bg-inherit:hover{background-color:inherit}.swagger-ui .pa0{padding:0}.swagger-ui .pa1{padding:.25rem}.swagger-ui .pa2{padding:.5rem}.swagger-ui .pa3{padding:1rem}.swagger-ui .pa4{padding:2rem}.swagger-ui .pa5{padding:4rem}.swagger-ui .pa6{padding:8rem}.swagger-ui .pa7{padding:16rem}.swagger-ui .pl0{padding-left:0}.swagger-ui .pl1{padding-left:.25rem}.swagger-ui .pl2{padding-left:.5rem}.swagger-ui .pl3{padding-left:1rem}.swagger-ui .pl4{padding-left:2rem}.swagger-ui .pl5{padding-left:4rem}.swagger-ui .pl6{padding-left:8rem}.swagger-ui .pl7{padding-left:16rem}.swagger-ui .pr0{padding-right:0}.swagger-ui .pr1{padding-right:.25rem}.swagger-ui .pr2{padding-right:.5rem}.swagger-ui .pr3{padding-right:1rem}.swagger-ui .pr4{padding-right:2rem}.swagger-ui .pr5{padding-right:4rem}.swagger-ui .pr6{padding-right:8rem}.swagger-ui .pr7{padding-right:16rem}.swagger-ui .pb0{padding-bottom:0}.swagger-ui .pb1{padding-bottom:.25rem}.swagger-ui .pb2{padding-bottom:.5rem}.swagger-ui .pb3{padding-bottom:1rem}.swagger-ui .pb4{padding-bottom:2rem}.swagger-ui .pb5{padding-bottom:4rem}.swagger-ui .pb6{padding-bottom:8rem}.swagger-ui .pb7{padding-bottom:16rem}.swagger-ui .pt0{padding-top:0}.swagger-ui .pt1{padding-top:.25rem}.swagger-ui .pt2{padding-top:.5rem}.swagger-ui .pt3{padding-top:1rem}.swagger-ui .pt4{padding-top:2rem}.swagger-ui .pt5{padding-top:4rem}.swagger-ui .pt6{padding-top:8rem}.swagger-ui .pt7{padding-top:16rem}.swagger-ui .pv0{padding-bottom:0;padding-top:0}.swagger-ui .pv1{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0{padding-left:0;padding-right:0}.swagger-ui .ph1{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0{margin:0}.swagger-ui .ma1{margin:.25rem}.swagger-ui .ma2{margin:.5rem}.swagger-ui .ma3{margin:1rem}.swagger-ui .ma4{margin:2rem}.swagger-ui .ma5{margin:4rem}.swagger-ui .ma6{margin:8rem}.swagger-ui .ma7{margin:16rem}.swagger-ui .ml0{margin-left:0}.swagger-ui .ml1{margin-left:.25rem}.swagger-ui .ml2{margin-left:.5rem}.swagger-ui .ml3{margin-left:1rem}.swagger-ui .ml4{margin-left:2rem}.swagger-ui .ml5{margin-left:4rem}.swagger-ui .ml6{margin-left:8rem}.swagger-ui .ml7{margin-left:16rem}.swagger-ui .mr0{margin-right:0}.swagger-ui .mr1{margin-right:.25rem}.swagger-ui .mr2{margin-right:.5rem}.swagger-ui .mr3{margin-right:1rem}.swagger-ui .mr4{margin-right:2rem}.swagger-ui .mr5{margin-right:4rem}.swagger-ui .mr6{margin-right:8rem}.swagger-ui .mr7{margin-right:16rem}.swagger-ui .mb0{margin-bottom:0}.swagger-ui .mb1{margin-bottom:.25rem}.swagger-ui .mb2{margin-bottom:.5rem}.swagger-ui .mb3{margin-bottom:1rem}.swagger-ui .mb4{margin-bottom:2rem}.swagger-ui .mb5{margin-bottom:4rem}.swagger-ui .mb6{margin-bottom:8rem}.swagger-ui .mb7{margin-bottom:16rem}.swagger-ui .mt0{margin-top:0}.swagger-ui .mt1{margin-top:.25rem}.swagger-ui .mt2{margin-top:.5rem}.swagger-ui .mt3{margin-top:1rem}.swagger-ui .mt4{margin-top:2rem}.swagger-ui .mt5{margin-top:4rem}.swagger-ui .mt6{margin-top:8rem}.swagger-ui .mt7{margin-top:16rem}.swagger-ui .mv0{margin-bottom:0;margin-top:0}.swagger-ui .mv1{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0{margin-left:0;margin-right:0}.swagger-ui .mh1{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7{margin-left:16rem;margin-right:16rem}@media screen and (min-width:30em){.swagger-ui .pa0-ns{padding:0}.swagger-ui .pa1-ns{padding:.25rem}.swagger-ui .pa2-ns{padding:.5rem}.swagger-ui .pa3-ns{padding:1rem}.swagger-ui .pa4-ns{padding:2rem}.swagger-ui .pa5-ns{padding:4rem}.swagger-ui .pa6-ns{padding:8rem}.swagger-ui .pa7-ns{padding:16rem}.swagger-ui .pl0-ns{padding-left:0}.swagger-ui .pl1-ns{padding-left:.25rem}.swagger-ui .pl2-ns{padding-left:.5rem}.swagger-ui .pl3-ns{padding-left:1rem}.swagger-ui .pl4-ns{padding-left:2rem}.swagger-ui .pl5-ns{padding-left:4rem}.swagger-ui .pl6-ns{padding-left:8rem}.swagger-ui .pl7-ns{padding-left:16rem}.swagger-ui .pr0-ns{padding-right:0}.swagger-ui .pr1-ns{padding-right:.25rem}.swagger-ui .pr2-ns{padding-right:.5rem}.swagger-ui .pr3-ns{padding-right:1rem}.swagger-ui .pr4-ns{padding-right:2rem}.swagger-ui .pr5-ns{padding-right:4rem}.swagger-ui .pr6-ns{padding-right:8rem}.swagger-ui .pr7-ns{padding-right:16rem}.swagger-ui .pb0-ns{padding-bottom:0}.swagger-ui .pb1-ns{padding-bottom:.25rem}.swagger-ui .pb2-ns{padding-bottom:.5rem}.swagger-ui .pb3-ns{padding-bottom:1rem}.swagger-ui .pb4-ns{padding-bottom:2rem}.swagger-ui .pb5-ns{padding-bottom:4rem}.swagger-ui .pb6-ns{padding-bottom:8rem}.swagger-ui .pb7-ns{padding-bottom:16rem}.swagger-ui .pt0-ns{padding-top:0}.swagger-ui .pt1-ns{padding-top:.25rem}.swagger-ui .pt2-ns{padding-top:.5rem}.swagger-ui .pt3-ns{padding-top:1rem}.swagger-ui .pt4-ns{padding-top:2rem}.swagger-ui .pt5-ns{padding-top:4rem}.swagger-ui .pt6-ns{padding-top:8rem}.swagger-ui .pt7-ns{padding-top:16rem}.swagger-ui .pv0-ns{padding-bottom:0;padding-top:0}.swagger-ui .pv1-ns{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2-ns{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3-ns{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4-ns{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5-ns{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6-ns{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7-ns{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0-ns{padding-left:0;padding-right:0}.swagger-ui .ph1-ns{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2-ns{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3-ns{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4-ns{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5-ns{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6-ns{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7-ns{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0-ns{margin:0}.swagger-ui .ma1-ns{margin:.25rem}.swagger-ui .ma2-ns{margin:.5rem}.swagger-ui .ma3-ns{margin:1rem}.swagger-ui .ma4-ns{margin:2rem}.swagger-ui .ma5-ns{margin:4rem}.swagger-ui .ma6-ns{margin:8rem}.swagger-ui .ma7-ns{margin:16rem}.swagger-ui .ml0-ns{margin-left:0}.swagger-ui .ml1-ns{margin-left:.25rem}.swagger-ui .ml2-ns{margin-left:.5rem}.swagger-ui .ml3-ns{margin-left:1rem}.swagger-ui .ml4-ns{margin-left:2rem}.swagger-ui .ml5-ns{margin-left:4rem}.swagger-ui .ml6-ns{margin-left:8rem}.swagger-ui .ml7-ns{margin-left:16rem}.swagger-ui .mr0-ns{margin-right:0}.swagger-ui .mr1-ns{margin-right:.25rem}.swagger-ui .mr2-ns{margin-right:.5rem}.swagger-ui .mr3-ns{margin-right:1rem}.swagger-ui .mr4-ns{margin-right:2rem}.swagger-ui .mr5-ns{margin-right:4rem}.swagger-ui .mr6-ns{margin-right:8rem}.swagger-ui .mr7-ns{margin-right:16rem}.swagger-ui .mb0-ns{margin-bottom:0}.swagger-ui .mb1-ns{margin-bottom:.25rem}.swagger-ui .mb2-ns{margin-bottom:.5rem}.swagger-ui .mb3-ns{margin-bottom:1rem}.swagger-ui .mb4-ns{margin-bottom:2rem}.swagger-ui .mb5-ns{margin-bottom:4rem}.swagger-ui .mb6-ns{margin-bottom:8rem}.swagger-ui .mb7-ns{margin-bottom:16rem}.swagger-ui .mt0-ns{margin-top:0}.swagger-ui .mt1-ns{margin-top:.25rem}.swagger-ui .mt2-ns{margin-top:.5rem}.swagger-ui .mt3-ns{margin-top:1rem}.swagger-ui .mt4-ns{margin-top:2rem}.swagger-ui .mt5-ns{margin-top:4rem}.swagger-ui .mt6-ns{margin-top:8rem}.swagger-ui .mt7-ns{margin-top:16rem}.swagger-ui .mv0-ns{margin-bottom:0;margin-top:0}.swagger-ui .mv1-ns{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2-ns{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3-ns{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4-ns{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5-ns{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6-ns{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7-ns{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0-ns{margin-left:0;margin-right:0}.swagger-ui .mh1-ns{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2-ns{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3-ns{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4-ns{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5-ns{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6-ns{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7-ns{margin-left:16rem;margin-right:16rem}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .pa0-m{padding:0}.swagger-ui .pa1-m{padding:.25rem}.swagger-ui .pa2-m{padding:.5rem}.swagger-ui .pa3-m{padding:1rem}.swagger-ui .pa4-m{padding:2rem}.swagger-ui .pa5-m{padding:4rem}.swagger-ui .pa6-m{padding:8rem}.swagger-ui .pa7-m{padding:16rem}.swagger-ui .pl0-m{padding-left:0}.swagger-ui .pl1-m{padding-left:.25rem}.swagger-ui .pl2-m{padding-left:.5rem}.swagger-ui .pl3-m{padding-left:1rem}.swagger-ui .pl4-m{padding-left:2rem}.swagger-ui .pl5-m{padding-left:4rem}.swagger-ui .pl6-m{padding-left:8rem}.swagger-ui .pl7-m{padding-left:16rem}.swagger-ui .pr0-m{padding-right:0}.swagger-ui .pr1-m{padding-right:.25rem}.swagger-ui .pr2-m{padding-right:.5rem}.swagger-ui .pr3-m{padding-right:1rem}.swagger-ui .pr4-m{padding-right:2rem}.swagger-ui .pr5-m{padding-right:4rem}.swagger-ui .pr6-m{padding-right:8rem}.swagger-ui .pr7-m{padding-right:16rem}.swagger-ui .pb0-m{padding-bottom:0}.swagger-ui .pb1-m{padding-bottom:.25rem}.swagger-ui .pb2-m{padding-bottom:.5rem}.swagger-ui .pb3-m{padding-bottom:1rem}.swagger-ui .pb4-m{padding-bottom:2rem}.swagger-ui .pb5-m{padding-bottom:4rem}.swagger-ui .pb6-m{padding-bottom:8rem}.swagger-ui .pb7-m{padding-bottom:16rem}.swagger-ui .pt0-m{padding-top:0}.swagger-ui .pt1-m{padding-top:.25rem}.swagger-ui .pt2-m{padding-top:.5rem}.swagger-ui .pt3-m{padding-top:1rem}.swagger-ui .pt4-m{padding-top:2rem}.swagger-ui .pt5-m{padding-top:4rem}.swagger-ui .pt6-m{padding-top:8rem}.swagger-ui .pt7-m{padding-top:16rem}.swagger-ui .pv0-m{padding-bottom:0;padding-top:0}.swagger-ui .pv1-m{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2-m{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3-m{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4-m{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5-m{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6-m{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7-m{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0-m{padding-left:0;padding-right:0}.swagger-ui .ph1-m{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2-m{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3-m{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4-m{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5-m{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6-m{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7-m{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0-m{margin:0}.swagger-ui .ma1-m{margin:.25rem}.swagger-ui .ma2-m{margin:.5rem}.swagger-ui .ma3-m{margin:1rem}.swagger-ui .ma4-m{margin:2rem}.swagger-ui .ma5-m{margin:4rem}.swagger-ui .ma6-m{margin:8rem}.swagger-ui .ma7-m{margin:16rem}.swagger-ui .ml0-m{margin-left:0}.swagger-ui .ml1-m{margin-left:.25rem}.swagger-ui .ml2-m{margin-left:.5rem}.swagger-ui .ml3-m{margin-left:1rem}.swagger-ui .ml4-m{margin-left:2rem}.swagger-ui .ml5-m{margin-left:4rem}.swagger-ui .ml6-m{margin-left:8rem}.swagger-ui .ml7-m{margin-left:16rem}.swagger-ui .mr0-m{margin-right:0}.swagger-ui .mr1-m{margin-right:.25rem}.swagger-ui .mr2-m{margin-right:.5rem}.swagger-ui .mr3-m{margin-right:1rem}.swagger-ui .mr4-m{margin-right:2rem}.swagger-ui .mr5-m{margin-right:4rem}.swagger-ui .mr6-m{margin-right:8rem}.swagger-ui .mr7-m{margin-right:16rem}.swagger-ui .mb0-m{margin-bottom:0}.swagger-ui .mb1-m{margin-bottom:.25rem}.swagger-ui .mb2-m{margin-bottom:.5rem}.swagger-ui .mb3-m{margin-bottom:1rem}.swagger-ui .mb4-m{margin-bottom:2rem}.swagger-ui .mb5-m{margin-bottom:4rem}.swagger-ui .mb6-m{margin-bottom:8rem}.swagger-ui .mb7-m{margin-bottom:16rem}.swagger-ui .mt0-m{margin-top:0}.swagger-ui .mt1-m{margin-top:.25rem}.swagger-ui .mt2-m{margin-top:.5rem}.swagger-ui .mt3-m{margin-top:1rem}.swagger-ui .mt4-m{margin-top:2rem}.swagger-ui .mt5-m{margin-top:4rem}.swagger-ui .mt6-m{margin-top:8rem}.swagger-ui .mt7-m{margin-top:16rem}.swagger-ui .mv0-m{margin-bottom:0;margin-top:0}.swagger-ui .mv1-m{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2-m{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3-m{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4-m{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5-m{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6-m{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7-m{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0-m{margin-left:0;margin-right:0}.swagger-ui .mh1-m{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2-m{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3-m{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4-m{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5-m{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6-m{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7-m{margin-left:16rem;margin-right:16rem}}@media screen and (min-width:60em){.swagger-ui .pa0-l{padding:0}.swagger-ui .pa1-l{padding:.25rem}.swagger-ui .pa2-l{padding:.5rem}.swagger-ui .pa3-l{padding:1rem}.swagger-ui .pa4-l{padding:2rem}.swagger-ui .pa5-l{padding:4rem}.swagger-ui .pa6-l{padding:8rem}.swagger-ui .pa7-l{padding:16rem}.swagger-ui .pl0-l{padding-left:0}.swagger-ui .pl1-l{padding-left:.25rem}.swagger-ui .pl2-l{padding-left:.5rem}.swagger-ui .pl3-l{padding-left:1rem}.swagger-ui .pl4-l{padding-left:2rem}.swagger-ui .pl5-l{padding-left:4rem}.swagger-ui .pl6-l{padding-left:8rem}.swagger-ui .pl7-l{padding-left:16rem}.swagger-ui .pr0-l{padding-right:0}.swagger-ui .pr1-l{padding-right:.25rem}.swagger-ui .pr2-l{padding-right:.5rem}.swagger-ui .pr3-l{padding-right:1rem}.swagger-ui .pr4-l{padding-right:2rem}.swagger-ui .pr5-l{padding-right:4rem}.swagger-ui .pr6-l{padding-right:8rem}.swagger-ui .pr7-l{padding-right:16rem}.swagger-ui .pb0-l{padding-bottom:0}.swagger-ui .pb1-l{padding-bottom:.25rem}.swagger-ui .pb2-l{padding-bottom:.5rem}.swagger-ui .pb3-l{padding-bottom:1rem}.swagger-ui .pb4-l{padding-bottom:2rem}.swagger-ui .pb5-l{padding-bottom:4rem}.swagger-ui .pb6-l{padding-bottom:8rem}.swagger-ui .pb7-l{padding-bottom:16rem}.swagger-ui .pt0-l{padding-top:0}.swagger-ui .pt1-l{padding-top:.25rem}.swagger-ui .pt2-l{padding-top:.5rem}.swagger-ui .pt3-l{padding-top:1rem}.swagger-ui .pt4-l{padding-top:2rem}.swagger-ui .pt5-l{padding-top:4rem}.swagger-ui .pt6-l{padding-top:8rem}.swagger-ui .pt7-l{padding-top:16rem}.swagger-ui .pv0-l{padding-bottom:0;padding-top:0}.swagger-ui .pv1-l{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2-l{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3-l{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4-l{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5-l{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6-l{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7-l{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0-l{padding-left:0;padding-right:0}.swagger-ui .ph1-l{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2-l{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3-l{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4-l{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5-l{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6-l{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7-l{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0-l{margin:0}.swagger-ui .ma1-l{margin:.25rem}.swagger-ui .ma2-l{margin:.5rem}.swagger-ui .ma3-l{margin:1rem}.swagger-ui .ma4-l{margin:2rem}.swagger-ui .ma5-l{margin:4rem}.swagger-ui .ma6-l{margin:8rem}.swagger-ui .ma7-l{margin:16rem}.swagger-ui .ml0-l{margin-left:0}.swagger-ui .ml1-l{margin-left:.25rem}.swagger-ui .ml2-l{margin-left:.5rem}.swagger-ui .ml3-l{margin-left:1rem}.swagger-ui .ml4-l{margin-left:2rem}.swagger-ui .ml5-l{margin-left:4rem}.swagger-ui .ml6-l{margin-left:8rem}.swagger-ui .ml7-l{margin-left:16rem}.swagger-ui .mr0-l{margin-right:0}.swagger-ui .mr1-l{margin-right:.25rem}.swagger-ui .mr2-l{margin-right:.5rem}.swagger-ui .mr3-l{margin-right:1rem}.swagger-ui .mr4-l{margin-right:2rem}.swagger-ui .mr5-l{margin-right:4rem}.swagger-ui .mr6-l{margin-right:8rem}.swagger-ui .mr7-l{margin-right:16rem}.swagger-ui .mb0-l{margin-bottom:0}.swagger-ui .mb1-l{margin-bottom:.25rem}.swagger-ui .mb2-l{margin-bottom:.5rem}.swagger-ui .mb3-l{margin-bottom:1rem}.swagger-ui .mb4-l{margin-bottom:2rem}.swagger-ui .mb5-l{margin-bottom:4rem}.swagger-ui .mb6-l{margin-bottom:8rem}.swagger-ui .mb7-l{margin-bottom:16rem}.swagger-ui .mt0-l{margin-top:0}.swagger-ui .mt1-l{margin-top:.25rem}.swagger-ui .mt2-l{margin-top:.5rem}.swagger-ui .mt3-l{margin-top:1rem}.swagger-ui .mt4-l{margin-top:2rem}.swagger-ui .mt5-l{margin-top:4rem}.swagger-ui .mt6-l{margin-top:8rem}.swagger-ui .mt7-l{margin-top:16rem}.swagger-ui .mv0-l{margin-bottom:0;margin-top:0}.swagger-ui .mv1-l{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2-l{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3-l{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4-l{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5-l{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6-l{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7-l{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0-l{margin-left:0;margin-right:0}.swagger-ui .mh1-l{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2-l{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3-l{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4-l{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5-l{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6-l{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7-l{margin-left:16rem;margin-right:16rem}}.swagger-ui .na1{margin:-.25rem}.swagger-ui .na2{margin:-.5rem}.swagger-ui .na3{margin:-1rem}.swagger-ui .na4{margin:-2rem}.swagger-ui .na5{margin:-4rem}.swagger-ui .na6{margin:-8rem}.swagger-ui .na7{margin:-16rem}.swagger-ui .nl1{margin-left:-.25rem}.swagger-ui .nl2{margin-left:-.5rem}.swagger-ui .nl3{margin-left:-1rem}.swagger-ui .nl4{margin-left:-2rem}.swagger-ui .nl5{margin-left:-4rem}.swagger-ui .nl6{margin-left:-8rem}.swagger-ui .nl7{margin-left:-16rem}.swagger-ui .nr1{margin-right:-.25rem}.swagger-ui .nr2{margin-right:-.5rem}.swagger-ui .nr3{margin-right:-1rem}.swagger-ui .nr4{margin-right:-2rem}.swagger-ui .nr5{margin-right:-4rem}.swagger-ui .nr6{margin-right:-8rem}.swagger-ui .nr7{margin-right:-16rem}.swagger-ui .nb1{margin-bottom:-.25rem}.swagger-ui .nb2{margin-bottom:-.5rem}.swagger-ui .nb3{margin-bottom:-1rem}.swagger-ui .nb4{margin-bottom:-2rem}.swagger-ui .nb5{margin-bottom:-4rem}.swagger-ui .nb6{margin-bottom:-8rem}.swagger-ui .nb7{margin-bottom:-16rem}.swagger-ui .nt1{margin-top:-.25rem}.swagger-ui .nt2{margin-top:-.5rem}.swagger-ui .nt3{margin-top:-1rem}.swagger-ui .nt4{margin-top:-2rem}.swagger-ui .nt5{margin-top:-4rem}.swagger-ui .nt6{margin-top:-8rem}.swagger-ui .nt7{margin-top:-16rem}@media screen and (min-width:30em){.swagger-ui .na1-ns{margin:-.25rem}.swagger-ui .na2-ns{margin:-.5rem}.swagger-ui .na3-ns{margin:-1rem}.swagger-ui .na4-ns{margin:-2rem}.swagger-ui .na5-ns{margin:-4rem}.swagger-ui .na6-ns{margin:-8rem}.swagger-ui .na7-ns{margin:-16rem}.swagger-ui .nl1-ns{margin-left:-.25rem}.swagger-ui .nl2-ns{margin-left:-.5rem}.swagger-ui .nl3-ns{margin-left:-1rem}.swagger-ui .nl4-ns{margin-left:-2rem}.swagger-ui .nl5-ns{margin-left:-4rem}.swagger-ui .nl6-ns{margin-left:-8rem}.swagger-ui .nl7-ns{margin-left:-16rem}.swagger-ui .nr1-ns{margin-right:-.25rem}.swagger-ui .nr2-ns{margin-right:-.5rem}.swagger-ui .nr3-ns{margin-right:-1rem}.swagger-ui .nr4-ns{margin-right:-2rem}.swagger-ui .nr5-ns{margin-right:-4rem}.swagger-ui .nr6-ns{margin-right:-8rem}.swagger-ui .nr7-ns{margin-right:-16rem}.swagger-ui .nb1-ns{margin-bottom:-.25rem}.swagger-ui .nb2-ns{margin-bottom:-.5rem}.swagger-ui .nb3-ns{margin-bottom:-1rem}.swagger-ui .nb4-ns{margin-bottom:-2rem}.swagger-ui .nb5-ns{margin-bottom:-4rem}.swagger-ui .nb6-ns{margin-bottom:-8rem}.swagger-ui .nb7-ns{margin-bottom:-16rem}.swagger-ui .nt1-ns{margin-top:-.25rem}.swagger-ui .nt2-ns{margin-top:-.5rem}.swagger-ui .nt3-ns{margin-top:-1rem}.swagger-ui .nt4-ns{margin-top:-2rem}.swagger-ui .nt5-ns{margin-top:-4rem}.swagger-ui .nt6-ns{margin-top:-8rem}.swagger-ui .nt7-ns{margin-top:-16rem}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .na1-m{margin:-.25rem}.swagger-ui .na2-m{margin:-.5rem}.swagger-ui .na3-m{margin:-1rem}.swagger-ui .na4-m{margin:-2rem}.swagger-ui .na5-m{margin:-4rem}.swagger-ui .na6-m{margin:-8rem}.swagger-ui .na7-m{margin:-16rem}.swagger-ui .nl1-m{margin-left:-.25rem}.swagger-ui .nl2-m{margin-left:-.5rem}.swagger-ui .nl3-m{margin-left:-1rem}.swagger-ui .nl4-m{margin-left:-2rem}.swagger-ui .nl5-m{margin-left:-4rem}.swagger-ui .nl6-m{margin-left:-8rem}.swagger-ui .nl7-m{margin-left:-16rem}.swagger-ui .nr1-m{margin-right:-.25rem}.swagger-ui .nr2-m{margin-right:-.5rem}.swagger-ui .nr3-m{margin-right:-1rem}.swagger-ui .nr4-m{margin-right:-2rem}.swagger-ui .nr5-m{margin-right:-4rem}.swagger-ui .nr6-m{margin-right:-8rem}.swagger-ui .nr7-m{margin-right:-16rem}.swagger-ui .nb1-m{margin-bottom:-.25rem}.swagger-ui .nb2-m{margin-bottom:-.5rem}.swagger-ui .nb3-m{margin-bottom:-1rem}.swagger-ui .nb4-m{margin-bottom:-2rem}.swagger-ui .nb5-m{margin-bottom:-4rem}.swagger-ui .nb6-m{margin-bottom:-8rem}.swagger-ui .nb7-m{margin-bottom:-16rem}.swagger-ui .nt1-m{margin-top:-.25rem}.swagger-ui .nt2-m{margin-top:-.5rem}.swagger-ui .nt3-m{margin-top:-1rem}.swagger-ui .nt4-m{margin-top:-2rem}.swagger-ui .nt5-m{margin-top:-4rem}.swagger-ui .nt6-m{margin-top:-8rem}.swagger-ui .nt7-m{margin-top:-16rem}}@media screen and (min-width:60em){.swagger-ui .na1-l{margin:-.25rem}.swagger-ui .na2-l{margin:-.5rem}.swagger-ui .na3-l{margin:-1rem}.swagger-ui .na4-l{margin:-2rem}.swagger-ui .na5-l{margin:-4rem}.swagger-ui .na6-l{margin:-8rem}.swagger-ui .na7-l{margin:-16rem}.swagger-ui .nl1-l{margin-left:-.25rem}.swagger-ui .nl2-l{margin-left:-.5rem}.swagger-ui .nl3-l{margin-left:-1rem}.swagger-ui .nl4-l{margin-left:-2rem}.swagger-ui .nl5-l{margin-left:-4rem}.swagger-ui .nl6-l{margin-left:-8rem}.swagger-ui .nl7-l{margin-left:-16rem}.swagger-ui .nr1-l{margin-right:-.25rem}.swagger-ui .nr2-l{margin-right:-.5rem}.swagger-ui .nr3-l{margin-right:-1rem}.swagger-ui .nr4-l{margin-right:-2rem}.swagger-ui .nr5-l{margin-right:-4rem}.swagger-ui .nr6-l{margin-right:-8rem}.swagger-ui .nr7-l{margin-right:-16rem}.swagger-ui .nb1-l{margin-bottom:-.25rem}.swagger-ui .nb2-l{margin-bottom:-.5rem}.swagger-ui .nb3-l{margin-bottom:-1rem}.swagger-ui .nb4-l{margin-bottom:-2rem}.swagger-ui .nb5-l{margin-bottom:-4rem}.swagger-ui .nb6-l{margin-bottom:-8rem}.swagger-ui .nb7-l{margin-bottom:-16rem}.swagger-ui .nt1-l{margin-top:-.25rem}.swagger-ui .nt2-l{margin-top:-.5rem}.swagger-ui .nt3-l{margin-top:-1rem}.swagger-ui .nt4-l{margin-top:-2rem}.swagger-ui .nt5-l{margin-top:-4rem}.swagger-ui .nt6-l{margin-top:-8rem}.swagger-ui .nt7-l{margin-top:-16rem}}.swagger-ui .collapse{border-collapse:collapse;border-spacing:0}.swagger-ui .striped--light-silver:nth-child(odd){background-color:#aaa}.swagger-ui .striped--moon-gray:nth-child(odd){background-color:#ccc}.swagger-ui .striped--light-gray:nth-child(odd){background-color:#eee}.swagger-ui .striped--near-white:nth-child(odd){background-color:#f4f4f4}.swagger-ui .stripe-light:nth-child(odd){background-color:#ffffff1a}.swagger-ui .stripe-dark:nth-child(odd){background-color:#0000001a}.swagger-ui .strike{-webkit-text-decoration:line-through;text-decoration:line-through}.swagger-ui .underline{-webkit-text-decoration:underline;text-decoration:underline}.swagger-ui .no-underline{-webkit-text-decoration:none;text-decoration:none}@media screen and (min-width:30em){.swagger-ui .strike-ns{-webkit-text-decoration:line-through;text-decoration:line-through}.swagger-ui .underline-ns{-webkit-text-decoration:underline;text-decoration:underline}.swagger-ui .no-underline-ns{-webkit-text-decoration:none;text-decoration:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .strike-m{-webkit-text-decoration:line-through;text-decoration:line-through}.swagger-ui .underline-m{-webkit-text-decoration:underline;text-decoration:underline}.swagger-ui .no-underline-m{-webkit-text-decoration:none;text-decoration:none}}@media screen and (min-width:60em){.swagger-ui .strike-l{-webkit-text-decoration:line-through;text-decoration:line-through}.swagger-ui .underline-l{-webkit-text-decoration:underline;text-decoration:underline}.swagger-ui .no-underline-l{-webkit-text-decoration:none;text-decoration:none}}.swagger-ui .tl{text-align:left}.swagger-ui .tr{text-align:right}.swagger-ui .tc{text-align:center}.swagger-ui .tj{text-align:justify}@media screen and (min-width:30em){.swagger-ui .tl-ns{text-align:left}.swagger-ui .tr-ns{text-align:right}.swagger-ui .tc-ns{text-align:center}.swagger-ui .tj-ns{text-align:justify}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .tl-m{text-align:left}.swagger-ui .tr-m{text-align:right}.swagger-ui .tc-m{text-align:center}.swagger-ui .tj-m{text-align:justify}}@media screen and (min-width:60em){.swagger-ui .tl-l{text-align:left}.swagger-ui .tr-l{text-align:right}.swagger-ui .tc-l{text-align:center}.swagger-ui .tj-l{text-align:justify}}.swagger-ui .ttc{text-transform:capitalize}.swagger-ui .ttl{text-transform:lowercase}.swagger-ui .ttu{text-transform:uppercase}.swagger-ui .ttn{text-transform:none}@media screen and (min-width:30em){.swagger-ui .ttc-ns{text-transform:capitalize}.swagger-ui .ttl-ns{text-transform:lowercase}.swagger-ui .ttu-ns{text-transform:uppercase}.swagger-ui .ttn-ns{text-transform:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .ttc-m{text-transform:capitalize}.swagger-ui .ttl-m{text-transform:lowercase}.swagger-ui .ttu-m{text-transform:uppercase}.swagger-ui .ttn-m{text-transform:none}}@media screen and (min-width:60em){.swagger-ui .ttc-l{text-transform:capitalize}.swagger-ui .ttl-l{text-transform:lowercase}.swagger-ui .ttu-l{text-transform:uppercase}.swagger-ui .ttn-l{text-transform:none}}.swagger-ui .f-6,.swagger-ui .f-headline{font-size:6rem}.swagger-ui .f-5,.swagger-ui .f-subheadline{font-size:5rem}.swagger-ui .f1{font-size:3rem}.swagger-ui .f2{font-size:2.25rem}.swagger-ui .f3{font-size:1.5rem}.swagger-ui .f4{font-size:1.25rem}.swagger-ui .f5{font-size:1rem}.swagger-ui .f6{font-size:.875rem}.swagger-ui .f7{font-size:.75rem}@media screen and (min-width:30em){.swagger-ui .f-6-ns,.swagger-ui .f-headline-ns{font-size:6rem}.swagger-ui .f-5-ns,.swagger-ui .f-subheadline-ns{font-size:5rem}.swagger-ui .f1-ns{font-size:3rem}.swagger-ui .f2-ns{font-size:2.25rem}.swagger-ui .f3-ns{font-size:1.5rem}.swagger-ui .f4-ns{font-size:1.25rem}.swagger-ui .f5-ns{font-size:1rem}.swagger-ui .f6-ns{font-size:.875rem}.swagger-ui .f7-ns{font-size:.75rem}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .f-6-m,.swagger-ui .f-headline-m{font-size:6rem}.swagger-ui .f-5-m,.swagger-ui .f-subheadline-m{font-size:5rem}.swagger-ui .f1-m{font-size:3rem}.swagger-ui .f2-m{font-size:2.25rem}.swagger-ui .f3-m{font-size:1.5rem}.swagger-ui .f4-m{font-size:1.25rem}.swagger-ui .f5-m{font-size:1rem}.swagger-ui .f6-m{font-size:.875rem}.swagger-ui .f7-m{font-size:.75rem}}@media screen and (min-width:60em){.swagger-ui .f-6-l,.swagger-ui .f-headline-l{font-size:6rem}.swagger-ui .f-5-l,.swagger-ui .f-subheadline-l{font-size:5rem}.swagger-ui .f1-l{font-size:3rem}.swagger-ui .f2-l{font-size:2.25rem}.swagger-ui .f3-l{font-size:1.5rem}.swagger-ui .f4-l{font-size:1.25rem}.swagger-ui .f5-l{font-size:1rem}.swagger-ui .f6-l{font-size:.875rem}.swagger-ui .f7-l{font-size:.75rem}}.swagger-ui .measure{max-width:30em}.swagger-ui .measure-wide{max-width:34em}.swagger-ui .measure-narrow{max-width:20em}.swagger-ui .indent{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (min-width:30em){.swagger-ui .measure-ns{max-width:30em}.swagger-ui .measure-wide-ns{max-width:34em}.swagger-ui .measure-narrow-ns{max-width:20em}.swagger-ui .indent-ns{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps-ns{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate-ns{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .measure-m{max-width:30em}.swagger-ui .measure-wide-m{max-width:34em}.swagger-ui .measure-narrow-m{max-width:20em}.swagger-ui .indent-m{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps-m{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate-m{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media screen and (min-width:60em){.swagger-ui .measure-l{max-width:30em}.swagger-ui .measure-wide-l{max-width:34em}.swagger-ui .measure-narrow-l{max-width:20em}.swagger-ui .indent-l{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps-l{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate-l{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.swagger-ui .overflow-container{overflow-y:scroll}.swagger-ui .center{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto{margin-right:auto}.swagger-ui .ml-auto{margin-left:auto}@media screen and (min-width:30em){.swagger-ui .center-ns{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto-ns{margin-right:auto}.swagger-ui .ml-auto-ns{margin-left:auto}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .center-m{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto-m{margin-right:auto}.swagger-ui .ml-auto-m{margin-left:auto}}@media screen and (min-width:60em){.swagger-ui .center-l{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto-l{margin-right:auto}.swagger-ui .ml-auto-l{margin-left:auto}}.swagger-ui .clip{position:fixed!important;_position:absolute!important;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px)}@media screen and (min-width:30em){.swagger-ui .clip-ns{position:fixed!important;_position:absolute!important;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px)}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .clip-m{position:fixed!important;_position:absolute!important;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px)}}@media screen and (min-width:60em){.swagger-ui .clip-l{position:fixed!important;_position:absolute!important;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px)}}.swagger-ui .ws-normal{white-space:normal}.swagger-ui .nowrap{white-space:nowrap}.swagger-ui .pre{white-space:pre}@media screen and (min-width:30em){.swagger-ui .ws-normal-ns{white-space:normal}.swagger-ui .nowrap-ns{white-space:nowrap}.swagger-ui .pre-ns{white-space:pre}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .ws-normal-m{white-space:normal}.swagger-ui .nowrap-m{white-space:nowrap}.swagger-ui .pre-m{white-space:pre}}@media screen and (min-width:60em){.swagger-ui .ws-normal-l{white-space:normal}.swagger-ui .nowrap-l{white-space:nowrap}.swagger-ui .pre-l{white-space:pre}}.swagger-ui .v-base{vertical-align:baseline}.swagger-ui .v-mid{vertical-align:middle}.swagger-ui .v-top{vertical-align:top}.swagger-ui .v-btm{vertical-align:bottom}@media screen and (min-width:30em){.swagger-ui .v-base-ns{vertical-align:baseline}.swagger-ui .v-mid-ns{vertical-align:middle}.swagger-ui .v-top-ns{vertical-align:top}.swagger-ui .v-btm-ns{vertical-align:bottom}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .v-base-m{vertical-align:baseline}.swagger-ui .v-mid-m{vertical-align:middle}.swagger-ui .v-top-m{vertical-align:top}.swagger-ui .v-btm-m{vertical-align:bottom}}@media screen and (min-width:60em){.swagger-ui .v-base-l{vertical-align:baseline}.swagger-ui .v-mid-l{vertical-align:middle}.swagger-ui .v-top-l{vertical-align:top}.swagger-ui .v-btm-l{vertical-align:bottom}}.swagger-ui .dim{opacity:1;transition:opacity .15s ease-in}.swagger-ui .dim:focus,.swagger-ui .dim:hover{opacity:.5;transition:opacity .15s ease-in}.swagger-ui .dim:active{opacity:.8;transition:opacity .15s ease-out}.swagger-ui .glow{transition:opacity .15s ease-in}.swagger-ui .glow:focus,.swagger-ui .glow:hover{opacity:1;transition:opacity .15s ease-in}.swagger-ui .hide-child .child{opacity:0;transition:opacity .15s ease-in}.swagger-ui .hide-child:active .child,.swagger-ui .hide-child:focus .child,.swagger-ui .hide-child:hover .child{opacity:1;transition:opacity .15s ease-in}.swagger-ui .underline-hover:focus,.swagger-ui .underline-hover:hover{-webkit-text-decoration:underline;text-decoration:underline}.swagger-ui .grow{-moz-osx-font-smoothing:grayscale;backface-visibility:hidden;transform:translateZ(0);transition:transform .25s ease-out}.swagger-ui .grow:focus,.swagger-ui .grow:hover{transform:scale(1.05)}.swagger-ui .grow:active{transform:scale(.9)}.swagger-ui .grow-large{-moz-osx-font-smoothing:grayscale;backface-visibility:hidden;transform:translateZ(0);transition:transform .25s ease-in-out}.swagger-ui .grow-large:focus,.swagger-ui .grow-large:hover{transform:scale(1.2)}.swagger-ui .grow-large:active{transform:scale(.95)}.swagger-ui .pointer:hover{cursor:pointer}.swagger-ui .shadow-hover{cursor:pointer;position:relative;transition:all .5s cubic-bezier(.165,.84,.44,1)}.swagger-ui .shadow-hover:after{border-radius:inherit;box-shadow:0 0 16px 2px #0003;content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .5s cubic-bezier(.165,.84,.44,1);width:100%;z-index:-1}.swagger-ui .shadow-hover:focus:after,.swagger-ui .shadow-hover:hover:after{opacity:1}.swagger-ui .bg-animate,.swagger-ui .bg-animate:focus,.swagger-ui .bg-animate:hover{transition:background-color .15s ease-in-out}.swagger-ui .z-0{z-index:0}.swagger-ui .z-1{z-index:1}.swagger-ui .z-2{z-index:2}.swagger-ui .z-3{z-index:3}.swagger-ui .z-4{z-index:4}.swagger-ui .z-5{z-index:5}.swagger-ui .z-999{z-index:999}.swagger-ui .z-9999{z-index:9999}.swagger-ui .z-max{z-index:2147483647}.swagger-ui .z-inherit{z-index:inherit}.swagger-ui .z-initial,.swagger-ui .z-unset{z-index:auto}.swagger-ui .nested-copy-line-height ol,.swagger-ui .nested-copy-line-height p,.swagger-ui .nested-copy-line-height ul{line-height:1.5}.swagger-ui .nested-headline-line-height h1,.swagger-ui .nested-headline-line-height h2,.swagger-ui .nested-headline-line-height h3,.swagger-ui .nested-headline-line-height h4,.swagger-ui .nested-headline-line-height h5,.swagger-ui .nested-headline-line-height h6{line-height:1.25}.swagger-ui .nested-list-reset ol,.swagger-ui .nested-list-reset ul{list-style-type:none;margin-left:0;padding-left:0}.swagger-ui .nested-copy-indent p+p{margin-bottom:0;margin-top:0;text-indent:.1em}.swagger-ui .nested-copy-seperator p+p{margin-top:1.5em}.swagger-ui .nested-img img{display:block;max-width:100%;width:100%}.swagger-ui .nested-links a{color:#357edd;transition:color .15s ease-in}.swagger-ui .nested-links a:focus,.swagger-ui .nested-links a:hover{color:#96ccff;transition:color .15s ease-in}.swagger-ui .wrapper{box-sizing:border-box;margin:0 auto;max-width:1460px;padding:0 20px;width:100%}.swagger-ui .opblock-tag-section{display:flex;flex-direction:column}.swagger-ui .try-out.btn-group{display:flex;flex:.1 2 auto;padding:0}.swagger-ui .try-out__btn{margin-left:1.25rem}.swagger-ui .opblock-tag{align-items:center;border-bottom:1px solid rgba(59,65,81,.3);cursor:pointer;display:flex;padding:10px 20px 10px 10px;transition:all .2s}.swagger-ui .opblock-tag:hover{background:#00000005}.swagger-ui .opblock-tag{color:#3b4151;font-family:sans-serif;font-size:24px;margin:0 0 5px}.swagger-ui .opblock-tag.no-desc span{flex:1}.swagger-ui .opblock-tag svg{transition:all .4s}.swagger-ui .opblock-tag small{color:#3b4151;flex:2;font-family:sans-serif;font-size:14px;font-weight:400;padding:0 10px}.swagger-ui .opblock-tag>div{flex:1 1 150px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:640px){.swagger-ui .opblock-tag small,.swagger-ui .opblock-tag>div{flex:1}}.swagger-ui .opblock-tag .info__externaldocs{text-align:right}.swagger-ui .parameter__type{color:#3b4151;font-family:monospace;font-size:12px;font-weight:600;padding:5px 0}.swagger-ui .parameter-controls{margin-top:.75em}.swagger-ui .examples__title{display:block;font-size:1.1em;font-weight:700;margin-bottom:.75em}.swagger-ui .examples__section{margin-top:1.5em}.swagger-ui .examples__section-header{font-size:.9rem;font-weight:700;margin-bottom:.5rem}.swagger-ui .examples-select{display:inline-block;margin-bottom:.75em}.swagger-ui .examples-select .examples-select-element{width:100%}.swagger-ui .examples-select__section-label{font-size:.9rem;font-weight:700;margin-right:.5rem}.swagger-ui .example__section{margin-top:1.5em}.swagger-ui .example__section-header{font-size:.9rem;font-weight:700;margin-bottom:.5rem}.swagger-ui .view-line-link{cursor:pointer;margin:0 5px;position:relative;top:3px;transition:all .5s;width:20px}.swagger-ui .opblock{border:1px solid #000;border-radius:4px;box-shadow:0 0 3px #00000030;margin:0 0 15px}.swagger-ui .opblock .tab-header{display:flex;flex:1}.swagger-ui .opblock .tab-header .tab-item{cursor:pointer;padding:0 40px}.swagger-ui .opblock .tab-header .tab-item:first-of-type{padding:0 40px 0 0}.swagger-ui .opblock .tab-header .tab-item.active h4 span{position:relative}.swagger-ui .opblock .tab-header .tab-item.active h4 span:after{background:gray;bottom:-15px;content:"";height:4px;left:50%;position:absolute;transform:translate(-50%);width:120%}.swagger-ui .opblock.is-open .opblock-summary{border-bottom:1px solid #000}.swagger-ui .opblock .opblock-section-header{align-items:center;background:#fffc;box-shadow:0 1px 2px #0000001a;display:flex;min-height:50px;padding:8px 20px}.swagger-ui .opblock .opblock-section-header>label{align-items:center;color:#3b4151;display:flex;font-family:sans-serif;font-size:12px;font-weight:700;margin:0 0 0 auto}.swagger-ui .opblock .opblock-section-header>label>span{padding:0 10px 0 0}.swagger-ui .opblock .opblock-section-header h4{color:#3b4151;flex:1;font-family:sans-serif;font-size:14px;margin:0}.swagger-ui .opblock .opblock-summary-method{background:#000;border-radius:3px;color:#fff;font-family:sans-serif;font-size:14px;font-weight:700;min-width:80px;padding:6px 0;text-align:center;text-shadow:0 1px 0 rgba(0,0,0,.1)}@media (max-width:768px){.swagger-ui .opblock .opblock-summary-method{font-size:12px}}.swagger-ui .opblock .opblock-summary-operation-id,.swagger-ui .opblock .opblock-summary-path,.swagger-ui .opblock .opblock-summary-path__deprecated{align-items:center;color:#3b4151;display:flex;font-family:monospace;font-size:16px;font-weight:600;word-break:break-word}@media (max-width:768px){.swagger-ui .opblock .opblock-summary-operation-id,.swagger-ui .opblock .opblock-summary-path,.swagger-ui .opblock .opblock-summary-path__deprecated{font-size:12px}}.swagger-ui .opblock .opblock-summary-path{flex-shrink:1}@media (max-width:640px){.swagger-ui .opblock .opblock-summary-path{max-width:100%}}.swagger-ui .opblock .opblock-summary-path__deprecated{-webkit-text-decoration:line-through;text-decoration:line-through}.swagger-ui .opblock .opblock-summary-operation-id{font-size:14px}.swagger-ui .opblock .opblock-summary-description{color:#3b4151;font-family:sans-serif;font-size:13px;word-break:break-word}.swagger-ui .opblock .opblock-summary-path-description-wrapper{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:0 10px;padding:0 10px;width:100%}@media (max-width:550px){.swagger-ui .opblock .opblock-summary-path-description-wrapper{align-items:flex-start;flex-direction:column}}.swagger-ui .opblock .opblock-summary{align-items:center;cursor:pointer;display:flex;padding:5px}.swagger-ui .opblock .opblock-summary .view-line-link{cursor:pointer;margin:0;position:relative;top:2px;transition:all .5s;width:0}.swagger-ui .opblock .opblock-summary:hover .view-line-link{margin:0 5px;width:18px}.swagger-ui .opblock .opblock-summary:hover .view-line-link.copy-to-clipboard{width:24px}.swagger-ui .opblock.opblock-post{background:#49cc901a;border-color:#49cc90}.swagger-ui .opblock.opblock-post .opblock-summary-method{background:#49cc90}.swagger-ui .opblock.opblock-post .opblock-summary{border-color:#49cc90}.swagger-ui .opblock.opblock-post .tab-header .tab-item.active h4 span:after{background:#49cc90}.swagger-ui .opblock.opblock-put{background:#fca1301a;border-color:#fca130}.swagger-ui .opblock.opblock-put .opblock-summary-method{background:#fca130}.swagger-ui .opblock.opblock-put .opblock-summary{border-color:#fca130}.swagger-ui .opblock.opblock-put .tab-header .tab-item.active h4 span:after{background:#fca130}.swagger-ui .opblock.opblock-delete{background:#f93e3e1a;border-color:#f93e3e}.swagger-ui .opblock.opblock-delete .opblock-summary-method{background:#f93e3e}.swagger-ui .opblock.opblock-delete .opblock-summary{border-color:#f93e3e}.swagger-ui .opblock.opblock-delete .tab-header .tab-item.active h4 span:after{background:#f93e3e}.swagger-ui .opblock.opblock-get{background:#61affe1a;border-color:#61affe}.swagger-ui .opblock.opblock-get .opblock-summary-method{background:#61affe}.swagger-ui .opblock.opblock-get .opblock-summary{border-color:#61affe}.swagger-ui .opblock.opblock-get .tab-header .tab-item.active h4 span:after{background:#61affe}.swagger-ui .opblock.opblock-patch{background:#50e3c21a;border-color:#50e3c2}.swagger-ui .opblock.opblock-patch .opblock-summary-method{background:#50e3c2}.swagger-ui .opblock.opblock-patch .opblock-summary{border-color:#50e3c2}.swagger-ui .opblock.opblock-patch .tab-header .tab-item.active h4 span:after{background:#50e3c2}.swagger-ui .opblock.opblock-head{background:#9012fe1a;border-color:#9012fe}.swagger-ui .opblock.opblock-head .opblock-summary-method{background:#9012fe}.swagger-ui .opblock.opblock-head .opblock-summary{border-color:#9012fe}.swagger-ui .opblock.opblock-head .tab-header .tab-item.active h4 span:after{background:#9012fe}.swagger-ui .opblock.opblock-options{background:#0d5aa71a;border-color:#0d5aa7}.swagger-ui .opblock.opblock-options .opblock-summary-method{background:#0d5aa7}.swagger-ui .opblock.opblock-options .opblock-summary{border-color:#0d5aa7}.swagger-ui .opblock.opblock-options .tab-header .tab-item.active h4 span:after{background:#0d5aa7}.swagger-ui .opblock.opblock-deprecated{background:#ebebeb1a;border-color:#ebebeb;opacity:.6}.swagger-ui .opblock.opblock-deprecated .opblock-summary-method{background:#ebebeb}.swagger-ui .opblock.opblock-deprecated .opblock-summary{border-color:#ebebeb}.swagger-ui .opblock.opblock-deprecated .tab-header .tab-item.active h4 span:after{background:#ebebeb}.swagger-ui .opblock .opblock-schemes{padding:8px 20px}.swagger-ui .opblock .opblock-schemes .schemes-title{padding:0 10px 0 0}.swagger-ui .filter .operation-filter-input{border:2px solid #d8dde7;margin:20px 0;padding:10px;width:100%}.swagger-ui .download-url-wrapper .failed,.swagger-ui .filter .failed{color:red}.swagger-ui .download-url-wrapper .loading,.swagger-ui .filter .loading{color:#aaa}.swagger-ui .model-example{margin-top:1em}.swagger-ui .tab{display:flex;list-style:none;padding:0}.swagger-ui .tab li{color:#3b4151;cursor:pointer;font-family:sans-serif;font-size:12px;min-width:60px;padding:0}.swagger-ui .tab li:first-of-type{padding-left:0;padding-right:12px;position:relative}.swagger-ui .tab li:first-of-type:after{background:#0003;content:"";height:100%;position:absolute;right:6px;top:0;width:1px}.swagger-ui .tab li.active{font-weight:700}.swagger-ui .tab li button.tablinks{background:none;border:0;color:inherit;font-family:inherit;font-weight:inherit;padding:0}.swagger-ui .opblock-description-wrapper,.swagger-ui .opblock-external-docs-wrapper,.swagger-ui .opblock-title_normal{color:#3b4151;font-family:sans-serif;font-size:12px;margin:0 0 5px;padding:15px 20px}.swagger-ui .opblock-description-wrapper h4,.swagger-ui .opblock-external-docs-wrapper h4,.swagger-ui .opblock-title_normal h4{color:#3b4151;font-family:sans-serif;font-size:12px;margin:0 0 5px}.swagger-ui .opblock-description-wrapper p,.swagger-ui .opblock-external-docs-wrapper p,.swagger-ui .opblock-title_normal p{color:#3b4151;font-family:sans-serif;font-size:14px;margin:0}.swagger-ui .opblock-external-docs-wrapper h4{padding-left:0}.swagger-ui .execute-wrapper{padding:20px;text-align:right}.swagger-ui .execute-wrapper .btn{padding:8px 40px;width:100%}.swagger-ui .body-param-options{display:flex;flex-direction:column}.swagger-ui .body-param-options .body-param-edit{padding:10px 0}.swagger-ui .body-param-options label{padding:8px 0}.swagger-ui .body-param-options label select{margin:3px 0 0}.swagger-ui .responses-inner{padding:20px}.swagger-ui .responses-inner h4,.swagger-ui .responses-inner h5{color:#3b4151;font-family:sans-serif;font-size:12px;margin:10px 0 5px}.swagger-ui .responses-inner .curl{white-space:normal}.swagger-ui .response-col_status{color:#3b4151;font-family:sans-serif;font-size:14px}.swagger-ui .response-col_status .response-undocumented{color:#909090;font-family:monospace;font-size:11px;font-weight:600}.swagger-ui .response-col_links{color:#3b4151;font-family:sans-serif;font-size:14px;max-width:40em;padding-left:2em}.swagger-ui .response-col_links .response-undocumented{color:#909090;font-family:monospace;font-size:11px;font-weight:600}.swagger-ui .response-col_links .operation-link{margin-bottom:1.5em}.swagger-ui .response-col_links .operation-link .description{margin-bottom:.5em}.swagger-ui .opblock-body .opblock-loading-animation{display:block;margin:3em auto}.swagger-ui .opblock-body pre.microlight{background:#333;border-radius:4px;font-size:12px;-webkit-hyphens:auto;hyphens:auto;margin:0;padding:10px;white-space:pre-wrap;word-break:break-all;word-break:break-word;word-wrap:break-word;color:#fff;font-family:monospace;font-weight:600}.swagger-ui .opblock-body pre.microlight .headerline{display:block}.swagger-ui .highlight-code{position:relative}.swagger-ui .highlight-code>.microlight{max-height:400px;min-height:6em;overflow-y:auto}.swagger-ui .highlight-code>.microlight code{white-space:pre-wrap!important;word-break:break-all}.swagger-ui .curl-command{position:relative}.swagger-ui .download-contents{align-items:center;background:#7d8293;border:none;border-radius:4px;bottom:10px;color:#fff;display:flex;font-family:sans-serif;font-size:14px;font-weight:600;height:30px;justify-content:center;padding:5px;position:absolute;right:10px;text-align:center}.swagger-ui .scheme-container{background:#fff;box-shadow:0 1px 2px #00000026;margin:0 0 20px;padding:30px 0}.swagger-ui .scheme-container .schemes{align-items:flex-end;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between}.swagger-ui .scheme-container .schemes>.schemes-server-container{display:flex;flex-wrap:wrap;gap:10px}.swagger-ui .scheme-container .schemes>.schemes-server-container>label{color:#3b4151;display:flex;flex-direction:column;font-family:sans-serif;font-size:12px;font-weight:700;margin:-20px 15px 0 0}.swagger-ui .scheme-container .schemes>.schemes-server-container>label select{min-width:130px;text-transform:uppercase}.swagger-ui .scheme-container .schemes:not(:has(.schemes-server-container)){justify-content:flex-end}.swagger-ui .scheme-container .schemes .auth-wrapper{flex:none;justify-content:start}.swagger-ui .scheme-container .schemes .auth-wrapper .authorize{display:flex;flex-wrap:nowrap;margin:0;padding-right:20px}.swagger-ui .loading-container{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-top:1em;min-height:1px;padding:40px 0 60px}.swagger-ui .loading-container .loading{position:relative}.swagger-ui .loading-container .loading:after{color:#3b4151;content:"loading";font-family:sans-serif;font-size:10px;font-weight:700;left:50%;position:absolute;text-transform:uppercase;top:50%;transform:translate(-50%,-50%)}.swagger-ui .loading-container .loading:before{animation:rotation 1s linear infinite,opacity .5s;backface-visibility:hidden;border:2px solid rgba(85,85,85,.1);border-radius:100%;border-top-color:#0009;content:"";display:block;height:60px;left:50%;margin:-30px;opacity:1;position:absolute;top:50%;width:60px}@keyframes rotation{to{transform:rotate(1turn)}}.swagger-ui .response-controls{display:flex;padding-top:1em}.swagger-ui .response-control-media-type{margin-right:1em}.swagger-ui .response-control-media-type--accept-controller select{border-color:green}.swagger-ui .response-control-media-type__accept-message{color:green;font-size:.7em}.swagger-ui .response-control-examples__title,.swagger-ui .response-control-media-type__title{display:block;font-size:.7em;margin-bottom:.2em}@keyframes blinker{50%{opacity:0}}.swagger-ui .hidden{display:none}.swagger-ui .no-margin{border:none;height:auto;margin:0;padding:0}.swagger-ui .float-right{float:right}.swagger-ui .svg-assets{height:0;position:absolute;width:0}.swagger-ui section h3{color:#3b4151;font-family:sans-serif}.swagger-ui a.nostyle{display:inline}.swagger-ui a.nostyle,.swagger-ui a.nostyle:visited{color:inherit;cursor:pointer;text-decoration:inherit}.swagger-ui .fallback{color:#aaa;padding:1em}.swagger-ui .version-pragma{height:100%;padding:5em 0}.swagger-ui .version-pragma__message{display:flex;font-size:1.2em;height:100%;justify-content:center;line-height:1.5em;padding:0 .6em;text-align:center}.swagger-ui .version-pragma__message>div{flex:1;max-width:55ch}.swagger-ui .version-pragma__message code{background-color:#dedede;padding:4px 4px 2px;white-space:pre}.swagger-ui .opblock-link{font-weight:400}.swagger-ui .opblock-link.shown{font-weight:700}.swagger-ui span.token-string{color:#555}.swagger-ui span.token-not-formatted{color:#555;font-weight:700}.swagger-ui .btn{background:transparent;border:2px solid gray;border-radius:4px;box-shadow:0 1px 2px #0000001a;color:#3b4151;font-family:sans-serif;font-size:14px;font-weight:700;padding:5px 23px;transition:all .3s}.swagger-ui .btn.btn-sm{font-size:12px;padding:4px 23px}.swagger-ui .btn[disabled]{cursor:not-allowed;opacity:.3}.swagger-ui .btn:hover{box-shadow:0 0 5px #0000004d}.swagger-ui .btn.cancel{background-color:transparent;border-color:#ff6060;color:#ff6060;font-family:sans-serif}.swagger-ui .btn.authorize{background-color:transparent;border-color:#49cc90;color:#49cc90;display:inline;line-height:1}.swagger-ui .btn.authorize span{float:left;padding:4px 20px 0 0}.swagger-ui .btn.authorize svg{fill:#49cc90}.swagger-ui .btn.execute{background-color:#4990e2;border-color:#4990e2;color:#fff}.swagger-ui .btn-group{display:flex;padding:30px}.swagger-ui .btn-group .btn{flex:1}.swagger-ui .btn-group .btn:first-child{border-radius:4px 0 0 4px}.swagger-ui .btn-group .btn:last-child{border-radius:0 4px 4px 0}.swagger-ui .authorization__btn{background:none;border:none;padding:0 0 0 10px}.swagger-ui .authorization__btn .locked{opacity:1}.swagger-ui .authorization__btn .unlocked{opacity:.4}.swagger-ui .model-box-control,.swagger-ui .models-control,.swagger-ui .opblock-summary-control{all:inherit;border-bottom:0;cursor:pointer;flex:1;padding:0}.swagger-ui .model-box-control:focus,.swagger-ui .models-control:focus,.swagger-ui .opblock-summary-control:focus{outline:auto}.swagger-ui .expand-methods,.swagger-ui .expand-operation{background:none;border:none}.swagger-ui .expand-methods svg,.swagger-ui .expand-operation svg{height:20px;width:20px}.swagger-ui .expand-methods{padding:0 10px}.swagger-ui .expand-methods:hover svg{fill:#404040}.swagger-ui .expand-methods svg{transition:all .3s;fill:#707070}.swagger-ui button{cursor:pointer}.swagger-ui button.invalid{animation:shake .4s 1;background:#feebeb;border-color:#f93e3e}.swagger-ui .copy-to-clipboard{align-items:center;background:#7d8293;border:none;border-radius:4px;bottom:10px;display:flex;height:30px;justify-content:center;position:absolute;right:100px;width:30px}.swagger-ui .copy-to-clipboard button{background:url('data:image/svg+xml;charset=utf-8,') 50% no-repeat;border:none;flex-grow:1;flex-shrink:1;height:25px}.swagger-ui .copy-to-clipboard:active{background:#5e626f}.swagger-ui .opblock-control-arrow{background:none;border:none;text-align:center}.swagger-ui .curl-command .copy-to-clipboard{bottom:5px;height:20px;right:10px;width:20px}.swagger-ui .curl-command .copy-to-clipboard button{height:18px}.swagger-ui .opblock .opblock-summary .view-line-link.copy-to-clipboard{height:26px;position:static}.swagger-ui select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#f7f7f7 url('data:image/svg+xml;charset=utf-8,') right 10px center no-repeat;background-size:20px;border:2px solid #41444e;border-radius:4px;box-shadow:0 1px 2px #00000040;color:#3b4151;font-family:sans-serif;font-size:14px;font-weight:700;padding:5px 40px 5px 10px}.swagger-ui select[multiple]{background:#f7f7f7;margin:5px 0;padding:5px}.swagger-ui select.invalid{animation:shake .4s 1;background:#feebeb;border-color:#f93e3e}.swagger-ui .opblock-body select{min-width:230px}@media (max-width:768px){.swagger-ui .opblock-body select{min-width:180px}}@media (max-width:640px){.swagger-ui .opblock-body select{min-width:100%;width:100%}}.swagger-ui label{color:#3b4151;font-family:sans-serif;font-size:12px;font-weight:700;margin:0 0 5px}.swagger-ui input[type=email],.swagger-ui input[type=file],.swagger-ui input[type=password],.swagger-ui input[type=search],.swagger-ui input[type=text]{line-height:1}@media (max-width:768px){.swagger-ui input[type=email],.swagger-ui input[type=file],.swagger-ui input[type=password],.swagger-ui input[type=search],.swagger-ui input[type=text]{max-width:175px}}.swagger-ui input[type=email],.swagger-ui input[type=file],.swagger-ui input[type=password],.swagger-ui input[type=search],.swagger-ui input[type=text],.swagger-ui textarea{background:#fff;border:1px solid #d9d9d9;border-radius:4px;margin:5px 0;min-width:100px;padding:8px 10px}.swagger-ui input[type=email].invalid,.swagger-ui input[type=file].invalid,.swagger-ui input[type=password].invalid,.swagger-ui input[type=search].invalid,.swagger-ui input[type=text].invalid,.swagger-ui textarea.invalid{animation:shake .4s 1;background:#feebeb;border-color:#f93e3e}.swagger-ui input[disabled],.swagger-ui select[disabled],.swagger-ui textarea[disabled]{background-color:#fafafa;color:#888;cursor:not-allowed}.swagger-ui select[disabled]{border-color:#888}.swagger-ui textarea[disabled]{background-color:#41444e;color:#fff}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}.swagger-ui textarea{background:#fffc;border:none;border-radius:4px;color:#3b4151;font-family:monospace;font-size:12px;font-weight:600;min-height:280px;outline:none;padding:10px;width:100%}.swagger-ui textarea:focus{border:2px solid #61affe}.swagger-ui textarea.curl{background:#41444e;border-radius:4px;color:#fff;font-family:monospace;font-size:12px;font-weight:600;margin:0;min-height:100px;padding:10px;resize:none}.swagger-ui .checkbox{color:#303030;padding:5px 0 10px;transition:opacity .5s}.swagger-ui .checkbox label{display:flex}.swagger-ui .checkbox p{color:#3b4151;font-family:monospace;font-style:italic;font-weight:400!important;font-weight:600;margin:0!important}.swagger-ui .checkbox input[type=checkbox]{display:none}.swagger-ui .checkbox input[type=checkbox]+label>.item{background:#e8e8e8;border-radius:1px;box-shadow:0 0 0 2px #e8e8e8;cursor:pointer;display:inline-block;flex:none;height:16px;margin:0 8px 0 0;padding:5px;position:relative;top:3px;width:16px}.swagger-ui .checkbox input[type=checkbox]+label>.item:active{transform:scale(.9)}.swagger-ui .checkbox input[type=checkbox]:checked+label>.item{background:#e8e8e8 url('data:image/svg+xml;charset=utf-8,') 50% no-repeat}.swagger-ui .dialog-ux{bottom:0;left:0;position:fixed;right:0;top:0;z-index:9999}.swagger-ui .dialog-ux .backdrop-ux{background:#000c;bottom:0;left:0;position:fixed;right:0;top:0}.swagger-ui .dialog-ux .modal-ux{background:#fff;border:1px solid #ebebeb;border-radius:4px;box-shadow:0 10px 30px #0003;left:50%;max-width:650px;min-width:300px;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:9999}.swagger-ui .dialog-ux .modal-ux-content{max-height:540px;overflow-y:auto;padding:20px}.swagger-ui .dialog-ux .modal-ux-content p{color:#41444e;color:#3b4151;font-family:sans-serif;font-size:12px;margin:0 0 5px}.swagger-ui .dialog-ux .modal-ux-content h4{color:#3b4151;font-family:sans-serif;font-size:18px;font-weight:600;margin:15px 0 0}.swagger-ui .dialog-ux .modal-ux-header{align-items:center;border-bottom:1px solid #ebebeb;display:flex;padding:12px 0}.swagger-ui .dialog-ux .modal-ux-header .close-modal{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;padding:0 10px}.swagger-ui .dialog-ux .modal-ux-header h3{color:#3b4151;flex:1;font-family:sans-serif;font-size:20px;font-weight:600;margin:0;padding:0 20px}.swagger-ui .model{color:#3b4151;font-family:monospace;font-size:12px;font-weight:300;font-weight:600}.swagger-ui .model .deprecated span,.swagger-ui .model .deprecated td{color:#a0a0a0!important}.swagger-ui .model .deprecated>td:first-of-type{-webkit-text-decoration:line-through;text-decoration:line-through}.swagger-ui .model-toggle{cursor:pointer;display:inline-block;font-size:10px;margin:auto .3em;position:relative;top:6px;transform:rotate(90deg);transform-origin:50% 50%;transition:transform .15s ease-in}.swagger-ui .model-toggle.collapsed{transform:rotate(0)}.swagger-ui .model-toggle:after{background:url('data:image/svg+xml;charset=utf-8,') 50% no-repeat;background-size:100%;content:"";display:block;height:20px;width:20px}.swagger-ui .model-jump-to-path{cursor:pointer;position:relative}.swagger-ui .model-jump-to-path .view-line-link{cursor:pointer;position:absolute;top:-.4em}.swagger-ui .model-title{position:relative}.swagger-ui .model-title:hover .model-hint{visibility:visible}.swagger-ui .model-hint{background:#000000b3;border-radius:4px;color:#ebebeb;padding:.1em .5em;position:absolute;top:-1.8em;visibility:hidden;white-space:nowrap}.swagger-ui .model p{margin:0 0 1em}.swagger-ui .model .property{color:#999;font-style:italic}.swagger-ui .model .property.primitive{color:#6b6b6b}.swagger-ui .model .external-docs,.swagger-ui table.model tr.description{color:#666;font-weight:400}.swagger-ui table.model tr.description td:first-child,.swagger-ui table.model tr.property-row.required td:first-child{font-weight:700}.swagger-ui table.model tr.property-row td{vertical-align:top}.swagger-ui table.model tr.property-row td:first-child{padding-right:.2em}.swagger-ui table.model tr.property-row .star{color:red}.swagger-ui table.model tr.extension{color:#777}.swagger-ui table.model tr.extension td:last-child{vertical-align:top}.swagger-ui table.model tr.external-docs td:first-child{font-weight:700}.swagger-ui table.model tr .renderedMarkdown p:first-child{margin-top:0}.swagger-ui section.models{border:1px solid rgba(59,65,81,.3);border-radius:4px;margin:30px 0}.swagger-ui section.models .pointer{cursor:pointer}.swagger-ui section.models.is-open{padding:0 0 20px}.swagger-ui section.models.is-open h4{border-bottom:1px solid rgba(59,65,81,.3);margin:0 0 5px}.swagger-ui section.models h4{align-items:center;color:#606060;cursor:pointer;display:flex;font-family:sans-serif;font-size:16px;margin:0;padding:10px 20px 10px 10px;transition:all .2s}.swagger-ui section.models h4 svg{transition:all .4s}.swagger-ui section.models h4 span{flex:1}.swagger-ui section.models h4:hover{background:#00000005}.swagger-ui section.models h5{color:#707070;font-family:sans-serif;font-size:16px;margin:0 0 10px}.swagger-ui section.models .model-jump-to-path{position:relative;top:5px}.swagger-ui section.models .model-container{background:#0000000d;border-radius:4px;margin:0 20px 15px;position:relative;transition:all .5s}.swagger-ui section.models .model-container:hover{background:#00000012}.swagger-ui section.models .model-container:first-of-type{margin:20px}.swagger-ui section.models .model-container:last-of-type{margin:0 20px}.swagger-ui section.models .model-container .models-jump-to-path{opacity:.65;position:absolute;right:5px;top:8px}.swagger-ui section.models .model-box{background:none}.swagger-ui .model-box{background:#0000001a;border-radius:4px;display:inline-block;padding:10px}.swagger-ui .model-box .model-jump-to-path{position:relative;top:4px}.swagger-ui .model-box.deprecated{opacity:.5}.swagger-ui .model-title{color:#505050;font-family:sans-serif;font-size:16px}.swagger-ui .model-title img{bottom:0;margin-left:1em;position:relative}.swagger-ui .model-deprecated-warning{color:#f93e3e;font-family:sans-serif;font-size:16px;font-weight:600;margin-right:1em}.swagger-ui span>span.model .brace-close{padding:0 0 0 10px}.swagger-ui .prop-name{display:inline-block;margin-right:1em}.swagger-ui .prop-type{color:#55a}.swagger-ui .prop-enum{display:block}.swagger-ui .prop-format{color:#606060}.swagger-ui .servers>label{color:#3b4151;font-family:sans-serif;font-size:12px;margin:-20px 15px 0 0}.swagger-ui .servers>label select{max-width:100%;min-width:130px;width:100%}.swagger-ui .servers h4.message{padding-bottom:2em}.swagger-ui .servers table tr{width:30em}.swagger-ui .servers table td{display:inline-block;max-width:15em;padding-bottom:10px;padding-top:10px;vertical-align:middle}.swagger-ui .servers table td:first-of-type{padding-right:1em}.swagger-ui .servers table td input{height:100%;width:100%}.swagger-ui .servers .computed-url{margin:2em 0}.swagger-ui .servers .computed-url code{display:inline-block;font-size:16px;margin:0 1em;padding:4px}.swagger-ui .servers-title{font-size:12px;font-weight:700}.swagger-ui .operation-servers h4.message{margin-bottom:2em}.swagger-ui table{border-collapse:collapse;padding:0 10px;width:100%}.swagger-ui table.model tbody tr td{padding:0;vertical-align:top}.swagger-ui table.model tbody tr td:first-of-type{padding:0 0 0 2em;width:174px}.swagger-ui table.headers td{color:#3b4151;font-family:monospace;font-size:12px;font-weight:300;font-weight:600;vertical-align:middle}.swagger-ui table.headers .header-example{color:#999;font-style:italic}.swagger-ui table tbody tr td{padding:10px 0 0;vertical-align:top}.swagger-ui table tbody tr td:first-of-type{min-width:6em;padding:10px 0}.swagger-ui table thead tr td,.swagger-ui table thead tr th{border-bottom:1px solid rgba(59,65,81,.2);color:#3b4151;font-family:sans-serif;font-size:12px;font-weight:700;padding:12px 0;text-align:left}.swagger-ui .parameters-col_description{margin-bottom:2em;width:99%}.swagger-ui .parameters-col_description input{max-width:340px;width:100%}.swagger-ui .parameters-col_description select{border-width:1px}.swagger-ui .parameters-col_description .markdown p,.swagger-ui .parameters-col_description .renderedMarkdown p{margin:0}.swagger-ui .parameter__name{color:#3b4151;font-family:sans-serif;font-size:16px;font-weight:400;margin-right:.75em}.swagger-ui .parameter__name.required{font-weight:700}.swagger-ui .parameter__name.required span{color:red}.swagger-ui .parameter__name.required:after{color:#f009;content:"required";font-size:10px;padding:5px;position:relative;top:-6px}.swagger-ui .parameter__extension,.swagger-ui .parameter__in{color:gray;font-family:monospace;font-size:12px;font-style:italic;font-weight:600}.swagger-ui .parameter__deprecated{color:red;font-family:monospace;font-size:12px;font-style:italic;font-weight:600}.swagger-ui .parameter__empty_value_toggle{display:block;font-size:13px;padding-bottom:12px;padding-top:5px}.swagger-ui .parameter__empty_value_toggle input{margin-right:7px;width:auto}.swagger-ui .parameter__empty_value_toggle.disabled{opacity:.7}.swagger-ui .table-container{padding:20px}.swagger-ui .response-col_description{width:99%}.swagger-ui .response-col_description .markdown p,.swagger-ui .response-col_description .renderedMarkdown p{margin:0}.swagger-ui .response-col_links{min-width:6em}.swagger-ui .response__extension{color:gray;font-family:monospace;font-size:12px;font-style:italic;font-weight:600}.swagger-ui .topbar{background-color:#1b1b1b;padding:10px 0}.swagger-ui .topbar .topbar-wrapper{align-items:center;display:flex;flex-wrap:wrap;gap:10px}@media (max-width:550px){.swagger-ui .topbar .topbar-wrapper{align-items:start;flex-direction:column}}.swagger-ui .topbar a{align-items:center;color:#fff;display:flex;flex:1;font-family:sans-serif;font-size:1.5em;font-weight:700;max-width:300px;-webkit-text-decoration:none;text-decoration:none}.swagger-ui .topbar a span{margin:0;padding:0 10px}.swagger-ui .topbar .download-url-wrapper{display:flex;flex:3;justify-content:flex-end}.swagger-ui .topbar .download-url-wrapper input[type=text]{border:2px solid #62a03f;border-radius:4px 0 0 4px;margin:0;max-width:100%;outline:none;width:100%}.swagger-ui .topbar .download-url-wrapper .select-label{align-items:center;color:#f0f0f0;display:flex;margin:0;max-width:600px;width:100%}.swagger-ui .topbar .download-url-wrapper .select-label span{flex:1;font-size:16px;padding:0 10px 0 0;text-align:right}.swagger-ui .topbar .download-url-wrapper .select-label select{border:2px solid #62a03f;box-shadow:none;flex:2;outline:none;width:100%}.swagger-ui .topbar .download-url-wrapper .download-url-button{background:#62a03f;border:none;border-radius:0 4px 4px 0;color:#fff;font-family:sans-serif;font-size:16px;font-weight:700;padding:4px 30px}@media (max-width:550px){.swagger-ui .topbar .download-url-wrapper{width:100%}}.swagger-ui .info{margin:50px 0}.swagger-ui .info.failed-config{margin-left:auto;margin-right:auto;max-width:880px;text-align:center}.swagger-ui .info hgroup.main{margin:0 0 20px}.swagger-ui .info hgroup.main a{font-size:12px}.swagger-ui .info pre{font-size:14px}.swagger-ui .info li,.swagger-ui .info p,.swagger-ui .info table{color:#3b4151;font-family:sans-serif;font-size:14px}.swagger-ui .info h1,.swagger-ui .info h2,.swagger-ui .info h3,.swagger-ui .info h4,.swagger-ui .info h5{color:#3b4151;font-family:sans-serif}.swagger-ui .info a{color:#4990e2;font-family:sans-serif;font-size:14px;transition:all .4s}.swagger-ui .info a:hover{color:#1f69c0}.swagger-ui .info>div{margin:0 0 5px}.swagger-ui .info .base-url{color:#3b4151;font-family:monospace;font-size:12px;font-weight:300!important;font-weight:600;margin:0}.swagger-ui .info .title{color:#3b4151;font-family:sans-serif;font-size:36px;margin:0}.swagger-ui .info .title small{background:#7d8492;border-radius:57px;display:inline-block;font-size:10px;margin:0 0 0 5px;padding:2px 4px;position:relative;top:-5px;vertical-align:super}.swagger-ui .info .title small.version-stamp{background-color:#89bf04}.swagger-ui .info .title small pre{color:#fff;font-family:sans-serif;margin:0;padding:0}.swagger-ui .auth-btn-wrapper{display:flex;justify-content:center;padding:10px 0}.swagger-ui .auth-btn-wrapper .btn-done{margin-right:1em}.swagger-ui .auth-wrapper{display:flex;flex:1;justify-content:flex-end}.swagger-ui .auth-wrapper .authorize{margin-left:10px;margin-right:10px;padding-right:20px}.swagger-ui .auth-container{border-bottom:1px solid #ebebeb;margin:0 0 10px;padding:10px 20px}.swagger-ui .auth-container:last-of-type{border:0;margin:0;padding:10px 20px}.swagger-ui .auth-container h4{margin:5px 0 15px!important}.swagger-ui .auth-container .wrapper{margin:0;padding:0}.swagger-ui .auth-container input[type=password],.swagger-ui .auth-container input[type=text]{min-width:230px}.swagger-ui .auth-container .errors{background-color:#fee;border-radius:4px;color:red;color:#3b4151;font-family:monospace;font-size:12px;font-weight:600;margin:1em;padding:10px}.swagger-ui .auth-container .errors b{margin-right:1em;text-transform:capitalize}.swagger-ui .scopes h2{color:#3b4151;font-family:sans-serif;font-size:14px}.swagger-ui .scopes h2 a{color:#4990e2;cursor:pointer;font-size:12px;padding-left:10px;-webkit-text-decoration:underline;text-decoration:underline}.swagger-ui .scope-def{padding:0 0 20px}.swagger-ui .errors-wrapper{animation:scaleUp .5s;background:#f93e3e1a;border:2px solid #f93e3e;border-radius:4px;margin:20px;padding:10px 20px}.swagger-ui .errors-wrapper .error-wrapper{margin:0 0 10px}.swagger-ui .errors-wrapper .errors h4{color:#3b4151;font-family:monospace;font-size:14px;font-weight:600;margin:0}.swagger-ui .errors-wrapper .errors small{color:#606060}.swagger-ui .errors-wrapper .errors .message{white-space:pre-line}.swagger-ui .errors-wrapper .errors .message.thrown{max-width:100%}.swagger-ui .errors-wrapper .errors .error-line{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.swagger-ui .errors-wrapper hgroup{align-items:center;display:flex}.swagger-ui .errors-wrapper hgroup h4{color:#3b4151;flex:1;font-family:sans-serif;font-size:20px;margin:0}@keyframes scaleUp{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.swagger-ui .Resizer.vertical.disabled{display:none}.swagger-ui .markdown p,.swagger-ui .markdown pre,.swagger-ui .renderedMarkdown p,.swagger-ui .renderedMarkdown pre{margin:1em auto;word-break:break-all;word-break:break-word}.swagger-ui .markdown pre,.swagger-ui .renderedMarkdown pre{background:none;color:#000;font-weight:400;padding:0;white-space:pre-wrap}.swagger-ui .markdown code,.swagger-ui .renderedMarkdown code{background:#0000000d;border-radius:4px;color:#9012fe;font-family:monospace;font-size:14px;font-weight:600;padding:5px 7px}.swagger-ui .markdown pre>code,.swagger-ui .renderedMarkdown pre>code{display:block}.swagger-ui .json-schema-2020-12{background-color:#0000000d;border-radius:4px;margin:0 20px 15px;padding:12px 0 12px 20px}.swagger-ui .json-schema-2020-12:first-of-type{margin:20px}.swagger-ui .json-schema-2020-12:last-of-type{margin:0 20px}.swagger-ui .json-schema-2020-12--embedded{background-color:inherit;padding-bottom:0;padding-left:inherit;padding-right:inherit;padding-top:0}.swagger-ui .json-schema-2020-12-body{border-left:1px dashed rgba(0,0,0,.1);margin:2px 0}.swagger-ui .json-schema-2020-12-body--collapsed{display:none}.swagger-ui .json-schema-2020-12-accordion{border:none;outline:none;padding-left:0}.swagger-ui .json-schema-2020-12-accordion__children{display:inline-block}.swagger-ui .json-schema-2020-12-accordion__icon{display:inline-block;height:18px;vertical-align:bottom;width:18px}.swagger-ui .json-schema-2020-12-accordion__icon--expanded{transform:rotate(-90deg);transform-origin:50% 50%;transition:transform .15s ease-in}.swagger-ui .json-schema-2020-12-accordion__icon--collapsed{transform:rotate(0);transform-origin:50% 50%;transition:transform .15s ease-in}.swagger-ui .json-schema-2020-12-accordion__icon svg{height:20px;width:20px}.swagger-ui .json-schema-2020-12-expand-deep-button{border:none;color:#505050;color:#afaeae;font-family:sans-serif;font-size:12px;padding-right:0}.swagger-ui .json-schema-2020-12-keyword{margin:5px 0}.swagger-ui .json-schema-2020-12-keyword__children{border-left:1px dashed rgba(0,0,0,.1);margin:0 0 0 20px;padding:0}.swagger-ui .json-schema-2020-12-keyword__children--collapsed{display:none}.swagger-ui .json-schema-2020-12-keyword__name{font-size:12px;font-weight:700;margin-left:20px}.swagger-ui .json-schema-2020-12-keyword__name--primary{color:#3b4151;font-style:normal}.swagger-ui .json-schema-2020-12-keyword__name--secondary{color:#6b6b6b;font-style:italic}.swagger-ui .json-schema-2020-12-keyword__value{color:#6b6b6b;font-size:12px;font-style:italic;font-weight:400}.swagger-ui .json-schema-2020-12-keyword__value--primary{color:#3b4151;font-style:normal}.swagger-ui .json-schema-2020-12-keyword__value--secondary{color:#6b6b6b;font-style:italic}.swagger-ui .json-schema-2020-12-keyword__value--const,.swagger-ui .json-schema-2020-12-keyword__value--warning{border:1px dashed #6b6b6b;border-radius:4px;color:#3b4151;color:#6b6b6b;display:inline-block;font-family:monospace;font-style:normal;font-weight:600;line-height:1.5;margin-left:10px;padding:1px 4px}.swagger-ui .json-schema-2020-12-keyword__value--warning{border:1px dashed red;color:red}.swagger-ui .json-schema-2020-12-keyword__name--secondary+.json-schema-2020-12-keyword__value--secondary:before{content:"="}.swagger-ui .json-schema-2020-12__attribute{color:#3b4151;font-family:monospace;font-size:12px;padding-left:10px;text-transform:lowercase}.swagger-ui .json-schema-2020-12__attribute--primary{color:#55a}.swagger-ui .json-schema-2020-12__attribute--muted{color:gray}.swagger-ui .json-schema-2020-12__attribute--warning{color:red}.swagger-ui .json-schema-2020-12-keyword--\$vocabulary ul{border-left:1px dashed rgba(0,0,0,.1);margin:0 0 0 20px}.swagger-ui .json-schema-2020-12-\$vocabulary-uri{margin-left:35px}.swagger-ui .json-schema-2020-12-\$vocabulary-uri--disabled{-webkit-text-decoration:line-through;text-decoration:line-through}.swagger-ui .json-schema-2020-12-keyword--description{color:#6b6b6b;font-size:12px;margin-left:20px}.swagger-ui .json-schema-2020-12-keyword--description p{margin:0}.swagger-ui .json-schema-2020-12__title{color:#505050;display:inline-block;font-family:sans-serif;font-size:12px;font-weight:700;line-height:normal}.swagger-ui .json-schema-2020-12__title .json-schema-2020-12-keyword__name{margin:0}.swagger-ui .json-schema-2020-12-property{margin:7px 0}.swagger-ui .json-schema-2020-12-property .json-schema-2020-12__title{color:#3b4151;font-family:monospace;font-size:12px;font-weight:600;vertical-align:middle}.swagger-ui .json-schema-2020-12-keyword--properties>ul{border:none;margin:0;padding:0}.swagger-ui .json-schema-2020-12-property{list-style-type:none}.swagger-ui .json-schema-2020-12-property--required>.json-schema-2020-12:first-of-type>.json-schema-2020-12-head .json-schema-2020-12__title:after{color:red;content:"*";font-weight:700}.swagger-ui .json-schema-2020-12-keyword--patternProperties ul{border:none;margin:0;padding:0}.swagger-ui .json-schema-2020-12-keyword--patternProperties .json-schema-2020-12__title:first-of-type:after,.swagger-ui .json-schema-2020-12-keyword--patternProperties .json-schema-2020-12__title:first-of-type:before{color:#55a;content:"/"}.swagger-ui .json-schema-2020-12-keyword--enum>ul{display:inline-block;margin:0;padding:0}.swagger-ui .json-schema-2020-12-keyword--enum>ul li{display:inline;list-style-type:none}.swagger-ui .json-schema-2020-12__constraint{background-color:#805ad5;border-radius:4px;color:#3b4151;color:#fff;font-family:monospace;font-weight:600;line-height:1.5;margin-left:10px;padding:1px 3px}.swagger-ui .json-schema-2020-12__constraint--string{background-color:#d69e2e;color:#fff}.swagger-ui .json-schema-2020-12-keyword--dependentRequired>ul{display:inline-block;margin:0;padding:0}.swagger-ui .json-schema-2020-12-keyword--dependentRequired>ul li{display:inline;list-style-type:none}.swagger-ui .model-box .json-schema-2020-12:not(.json-schema-2020-12--embedded)>.json-schema-2020-12-head .json-schema-2020-12__title:first-of-type{font-size:16px}.swagger-ui .model-box>.json-schema-2020-12{margin:0}.swagger-ui .model-box .json-schema-2020-12{background-color:transparent;padding:0}.swagger-ui .model-box .json-schema-2020-12-accordion,.swagger-ui .model-box .json-schema-2020-12-expand-deep-button{background-color:transparent}.swagger-ui .models .json-schema-2020-12:not(.json-schema-2020-12--embedded)>.json-schema-2020-12-head .json-schema-2020-12__title:first-of-type{font-size:16px} diff --git a/backend/src/main/resources/static/index.html b/backend/src/main/resources/static/index.html new file mode 100644 index 0000000..af30440 --- /dev/null +++ b/backend/src/main/resources/static/index.html @@ -0,0 +1,12 @@ + + + + + Clyde's api + + + + +
    + + diff --git a/backend/src/main/resources/static/openapi.yaml b/backend/src/main/resources/static/openapi.yaml new file mode 100644 index 0000000..4354257 --- /dev/null +++ b/backend/src/main/resources/static/openapi.yaml @@ -0,0 +1,1897 @@ +openapi: 3.0.0 +info: + title: ClydeAPI + description: + This is the Clyde's api documentation.
    + Each endpoints are organised by endpoints **AND** by extensions making it easier to navigate. + version: 0.0.1 + +servers: + - url: https://clyde.herisson.ovh/api + description: default api point for clyde's service + +tags: + - name: default + - name: General + description: General endpoints + - name: Ext (scientific articles) + description: Scientifics articles extension's endpoints + - name: Ext (Schedule) + description: Schedule extension's endpoints + - name: Ext (Student Registration) + description: Student Registration's endpoints + - name: Ext (Messaging) + description: Messaging extension's endpoints + +paths: + /ping: + get: + summary: Check the API status + responses: + default: + description: pong + content: + text/plain: + schema: + type: string + example: pong + # Messaging + + /forum: + get: + summary: get list of available forum + security: + - bearer: [] + tags: + - Ext (Messaging) + - Forum + responses: + '200': + description: OK + content: + application/json: + schema: + type: array + items: + type: object + required: + - id + - name + - owner + properties: + id: + type: integer + name: + type: string + owner: + type: integer + description: user id of the teacher + '401': + $ref: '#/components/responses/UnauthorizedError' + post: + summary: Create a new forum + security: + - bearer: [] + tags: + - Ext (Messaging) + - Forum + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + name: + type: string + courseId: + type: integer + responses: + '201': + description: User created + '401': + $ref: '#/components/responses/UnauthorizedError' + /forum/{forumId}: + parameters: + - name: forumId + in: path + description: Id of the forum + required: true + schema: + type: integer + get: + summary: get informations about a forum + tags: + - Ext (Messaging) + - Forum + responses: + '200': + description: OK + content: + application/json: + schema: + type: array + items: + type: object + required: + - id + - name + - owner + properties: + id: + type: integer + name: + type: string + owner: + type: integer + description: user id of the teacher + topics: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + autor: + type: integer + description: user Id + registered: + description: List of registered user only if have the authorisation to view + type: array + items: + type: integer + description: userId + '401': + $ref: '#/components/responses/UnauthorizedError' + delete: + summary: remove the forum + security: + - bearer: [] + tags: + - Ext (Messaging) + - Forum + responses: + '201': + description: Forum deleted + '401': + $ref: '#/components/responses/UnauthorizedError' + /forum/{forumId}/topic: + parameters: + - name: forumId + in: path + description: Id of the forum + required: true + schema: + type: integer + get: + summary: list topics of a forum + tags: + - Ext (Messaging) + - Forum + responses: + '200': + description: OK + content: + application/json: + schema: + type: array + items: + type: object + required: + - id + - name + - author + properties: + id: + type: integer + name: + type: string + author: + type: integer + description: user id of the author + '401': + $ref: '#/components/responses/UnauthorizedError' + post: + summary: create a new topic in the forum + tags: + - Ext (Messaging) + - Forum + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + subject: + type: string + content: + type: integer + responses: + '201': + description: post created + '401': + $ref: '#/components/responses/UnauthorizedError' + /forum/{forumId}/topic/{topicId}: + parameters: + - name: forumId + in: path + description: Id of the forum + required: true + schema: + type: integer + - name: topicId + in: path + description: Id of the topic + required: true + schema: + type: integer + get: + summary: get info about a topic + tags: + - Ext (Messaging) + - Forum + responses: + '200': + description: OK + content: + application/json: + schema: + type: object + required: + - id + - name + - author + - locked + properties: + id: + type: integer + name: + type: string + author: + type: integer + description: user id of the author + locked: + type: boolean + description: define if the topic is locked to new responses or not + '401': + $ref: '#/components/responses/UnauthorizedError' + delete: + summary: delete a topic + security: + - bearer: [] + tags: + - Ext (Messaging) + - Forum + responses: + '201': + description: Topic deleted + '401': + $ref: '#/components/responses/UnauthorizedError' + /forum/{forumId}/topic/{topicId}/response: + parameters: + - name: forumId + in: path + description: Id of the forum + required: true + schema: + type: integer + - name: topicId + in: path + description: Id of the topic + required: true + schema: + type: integer + get: + summary: list responses of a topic + tags: + - Ext (Messaging) + - Forum + responses: + '200': + description: OK + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + author: + type: integer + description: user id of the author + content: + type: string + '401': + $ref: '#/components/responses/UnauthorizedError' + post: + summary: create a new response + tags: + - Ext (Messaging) + - Forum + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + content: + type: integer + responses: + '201': + description: Message posted + '401': + $ref: '#/components/responses/UnauthorizedError' + /forum/{forumId}/topic/{topicId}/response/{responseId}: + parameters: + - name: forumId + in: path + description: Id of the forum + required: true + schema: + type: integer + - name: topicId + in: path + description: Id of the topic + required: true + schema: + type: integer + - name: responseId + in: path + description: Id of the response + required: true + schema: + type: integer + get: + summary: get info on a response + tags: + - Ext (Messaging) + - Forum + responses: + '200': + description: OK + content: + application/json: + schema: + type: object + required: + - id + - author + - content + properties: + id: + type: integer + author: + type: string + content: + type: integer + '401': + $ref: '#/components/responses/UnauthorizedError' + delete: + summary: delete a response + tags: + - Ext (Messaging) + - Forum + responses: + '201': + description: Message deleted + '401': + $ref: '#/components/responses/UnauthorizedError' + + /discussion: + get: + summary: get list of available discussions + tags: + - Ext (Messaging) + - discussion + responses: + '201': + description: OK + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + users: + type: array + items: + type: integer + '401': + $ref: '#/components/responses/UnauthorizedError' + post: + summary: create a new discussion + tags: + - Ext (Messaging) + - discussion + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + name: + type: string + users: + type: array + description: id of users + items: + type: integer + responses: + '201': + description: Discussion created + '401': + $ref: '#/components/responses/UnauthorizedError' + /discussion/{id}: + parameters: + - name: id + in: path + description: Id of the discussion + required: true + schema: + type: integer + get: + summary: get info on a discussion + tags: + - Ext (Messaging) + - discussion + responses: + '200': + description: OK + content: + application/json: + schema: + type: object + required: + - id + - name + - users + properties: + id: + type: integer + name: + type: string + users: + type: integer + description: user ids of participants + '401': + $ref: '#/components/responses/UnauthorizedError' + /discussion/{id}/msg: + parameters: + - name: id + in: path + description: Id of the discussion + required: true + schema: + type: integer + get: + summary: list messages in a discussion + tags: + - Ext (Messaging) + - discussion + responses: + '200': + description: Ok + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + datetime: + type: integer + author: + type: integer + content: + type: string + '401': + $ref: '#/components/responses/UnauthorizedError' + post: + summary: post a new message in a discussion + tags: + - Ext (Messaging) + - discussion + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: string + description: message content + responses: + '201': + description: Message sent + '401': + $ref: '#/components/responses/UnauthorizedError' + /discussion/{id}/msg/{msgId}: + parameters: + - name: id + in: path + description: Id of the discussion + required: true + schema: + type: integer + - name: msgId + in: path + description: Id of the message + required: true + schema: + type: integer + get: + summary: get info about message + tags: + - Ext (Messaging) + - discussion + responses: + '200': + description: Ok + content: + application/json: + schema: + type: object + properties: + id: + type: integer + datetime: + type: integer + author: + type: integer + content: + type: string + '401': + $ref: '#/components/responses/UnauthorizedError' + delete: + summary: delete a message + security: + - bearer: [] + tags: + - Ext (Messaging) + - discussion + responses: + '201': + description: Message deleted + '401': + $ref: '#/components/responses/UnauthorizedError' + + + /appointment: + get: + summary: list appointments + tags: + - Ext (Messaging) + - appointment + parameters: + - name: type + in: query + required: false + schema: + type: string + enum: [open, closed] + responses: + '200': + description: Ok + content: + text/calendar: + schema: + type: string + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + teacher: + type: integer + student: + type: integer + date: + type: integer + status: + type: string + '401': + $ref: '#/components/responses/UnauthorizedError' + post: + summary: create a new appointment + tags: + - Ext (Messaging) + - appointment + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + content: + type: integer + datetime: + type: integer + to: + type: integer + description: user id of the person to request to + responses: + '201': + description: Appointment created + '401': + $ref: '#/components/responses/UnauthorizedError' + /appointment/{id}: + parameters: + - name: id + in: path + description: Id of the appointment + required: true + schema: + type: integer + get: + summary: get info on an appointment + tags: + - Ext (Messaging) + - appointment + responses: + '200': + description: Ok + content: + text/calendar: + schema: + type: string + application/json: + schema: + type: object + properties: + id: + type: integer + teacher: + type: integer + student: + type: integer + date: + type: integer + status: + type: string + '401': + $ref: '#/components/responses/UnauthorizedError' + post: + summary: Accept, decline or propose a new schedule for the appointment + tags: + - Ext (Messaging) + - appointment + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + action: + type: string + enum: [accept, refuse, propose] + data: + type: object + description: context dependant response (can be null) + responses: + '201': + description: Done + '401': + $ref: '#/components/responses/UnauthorizedError' + +# general + /users: + get: + summary: list all users + tags: + - General + - SI + security: + - bearer: [] + parameters: + - in: query + name: type + required: false + schema: + $ref: '#/components/schemas/Roles' + responses: + '200': + description: OK + content: + application/json: + schema: + type: array + items: + $ref: "#/components/schemas/User" + '401': + $ref: '#/components/responses/UnauthorizedError' + + /user: + get: + summary: get informations about yourself + tags: + - General + - Users + security: + - bearer: [] + responses: + '200': + description: Ok + content: + application/json: + schema: + $ref: "#/components/schemas/User" + '401': + $ref: '#/components/responses/UnauthorizedError' + post: + summary: Create user + tags: + - General + - Users + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + LastName: + type: string + FirstName: + type: string + Email: + type: string + Address: + $ref: "#/components/schemas/Address" + BirthDate: + type: string + description: Follow the iso 8601 ("YYYY-MM-DD") + Role: + $ref: "#/components/schemas/Roles" + example: + { + "LastName": "Doe" , + "FirstName": "John", + "Email": "John.Doe@example.com", + "Address": { + "Address": "Rue de Tournais 42", + "Country": "BE"}, + "BirthDate": "1941-02-22", + "Role": "student" + } + responses: + '201': + description: User created + '401': + $ref: '#/components/responses/UnauthorizedError' + patch: + summary: Change informations about yourself + tags: + - General + - Users + security: + - bearer: [] + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/User' + responses: + '201': + description: Successfully changed. + '401': + $ref: '#/components/responses/UnauthorizedError' + /user/{RegNo}: + parameters: + - name: RegNo + in: path + description: Regestration number of the user (unique id) + required: true + schema: + type: integer + get: + summary: Get user's informations + tags: + - General + - Admin + responses: + '200': + description: User found + content: + application/json: + schema: + $ref: "#/components/schemas/User" + patch: + summary: Alter user's informations + tags: + - General + - Admin + - Secretariat + - Ext (scientific articles) + security: + - bearer: [] + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/User' + responses: + '201': + description: Successfully changed + '401': + $ref: '#/components/responses/UnauthorizedError' + /course: + post: + summary: Create new course + tags: + - General + - Courses + - Secretariat + security: + - bearer: [] + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + name: + type: string + courses: + type: array + items: + type: string + responses: + '201': + description: course created + '401': + $ref: '#/components/responses/UnauthorizedError' + /courses/{id}: + parameters: + - name: id + in: path + required: true + schema: + type: integer + get: + summary: see courses informations + tags: + - General + - Courses + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Course' + + delete: + summary: delete a course + tags: + - General + - Courses + - Secretariat + security: + - bearer: [] + responses: + '201': + description: Success + '401': + $ref: '#/components/responses/UnauthorizedError' + patch: + summary: Change course options + tags: + - General + - Secretariat + - Courses + security: + - bearer: [] + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + name: + type: string + credits: + type: integer + faculty: + type: string + teachers: + type: integer + description: Teacher's identifier + assistants: + type: array + items: + $ref: '#/components/schemas/User' + example: + { + "name": "Math pour l'info", + "credits": 11, + "faculty": "science", + "Teacher": , + "Assistants": [ ] + } + responses: + '201': + description: Course modified + '401': + $ref: '#/components/responses/UnauthorizedError' + + /cursus: + post: + summary: Create a cursus + tags: + - General + - Cursus + security: + - bearer: [] + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + name: + type: string + courses: + type: array + items: + type: integer + description: id of courses + example: + { + "name": "Bac1", + [] + } + responses: + '201': + description: Cursus created + '401': + $ref: '#/components/responses/UnauthorizedError' + /cursus/{id}: + get: + summary: See Cursus's informations + tags: + - General + - Cursus + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Cursus' + parameters: + - name: id + in: path + required: true + schema: + type: integer + delete: + summary: Delete cursus + tags: + - General + - Cursus + security: + - bearer: [] + responses: + '201': + description: Success + '401': + $ref: '#/components/responses/UnauthorizedError' + patch: + summary: Modify cursus + tags: + - General + - Cursus + security: + - bearer: [] + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + name: + type: string + credits: + type: integer + faculty: + type: string + teachers: + $ref: '#/components/schemas/User' + assistants: + type: array + items: + $ref: '#/components/schemas/User' + example: + { + "name": "Math pour l'info", + "credits": 11, + "faculty": "science", + "Teacher": , + "Assistants": [ ] + } + responses: + '201': + description: Cursus modified + '401': + $ref: '#/components/responses/UnauthorizedError' + + /Requests/{type}: + get: + summary: Give an array of every requests of the specified type + tags : + - Requests + - SI + - Ext (Student Registration) + responses : + '200': + description : OK + content : + application/json : + schema : + type : array + items : + allOf: + - type : object + properties : + id : + type : integer + - oneOf : + - $ref : '#/components/schemas/RRRequest' + - $ref : '#/components/schemas/SSRequest' + - $ref : '#/components/schemas/UnRegRequest' + - $ref : '#/components/schemas/ExempRequest' + - $ref : '#/components/schemas/RegRequest' + discriminator: + propertyName : type + parameters: + - name: type + in: path + description: type of the request + required: true + schema: + type: integer + + post : + summary: create a request + tags : + - Requests + - Guest + - Student + - Ext (Student Registration) + security: + - bearer: [] + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + oneOf: + - $ref : '#/components/schemas/RRRequest' + - $ref : '#/components/schemas/SSRequest' + - $ref : '#/components/schemas/UnRegRequest' + - $ref : '#/components/schemas/ExempRequest' + - $ref : '#/components/schemas/RegRequest' + discriminator: + propertyName : type + responses: + '201': + description: New request created + '401': + $ref : '#/components/responses/UnauthorizedError' + + /Requests/{type}/{id}: + parameters: + - name: type + in: path + description: type of the request + required: true + schema: + type: integer + + - name : id + in : path + description: id of the selected Request + required : true + schema : + type : integer + + get : + summary : Get all the data composing a request + tags : + - Requests + - SI + - Teacher + - Ext (Student Registration) + responses : + '200': + description : OK + content : + application/json : + schema : + allOf: + - type : object + properties : + id : + type : integer + - oneOf : + - $ref : '#/components/schemas/RRRequest' + - $ref : '#/components/schemas/SSRequest' + - $ref : '#/components/schemas/UnRegRequest' + - $ref : '#/components/schemas/ExempRequest' + - $ref : '#/components/schemas/RegRequest' + discriminator: + propertyName : type + + patch: + summary: Change the state of request + tags: + - Requests + - SI + - Teacher + - Ext (Student Registration) + security: + - bearer: [] + requestBody: + required : true + content: + application/x-www-form-urlencoded: + schema: + oneOf : + - $ref : '#/components/schemas/RRRequest' + - $ref : '#/components/schemas/SSRequest' + - $ref : '#/components/schemas/UnRegRequest' + - $ref : '#/components/schemas/ExempRequest' + - $ref : '#/components/schemas/RegRequest' + discriminator: + propertyName : type + responses: + '201': + description: State modified + '401': + $ref: '#/components/responses/UnauthorizedError' + + /lesson: + post: + summary: create a new lesson + tags: + - Secretariat + - Lesson + - Ext (Schedule) + security: + - bearer: [] + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + date: + type: string + description: Follow the iso 8601 ("YYYY-MM-DD") + CourseId: + type: integer + duration: + type: number + classroom: + type: string + responses: + '201': + description: Lesson created + '401': + $ref: '#/components/responses/UnauthorizedError' + /lesson/{id}: + parameters: + - name: id + in: path + required: true + schema: + type: integer + get: + summary : See lesson's informations + tags: + - Users + - Lesson + - Ext (Schedule) + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Lesson' + patch: + summary : Modify Lesson + tags: + - Secretariat + - Lesson + - Ext (Schedule) + security: + - bearer: [] + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + date: + type: string + description: Follow the iso 8601 ("YYYY-MM-DD") + IDcourse: + type: integer + duration: + type: number + classroom: + type: string + responses: + '201': + description: Lesson modified + '401': + $ref: '#/components/responses/UnauthorizedError' + + delete: + summary: Delete lesson + tags: + - Lesson + - Secretariat + - Ext (Schedule) + security: + - bearer: [] + responses: + '201': + description: Success + '401': + $ref: '#/components/responses/UnauthorizedError' + /scheduleRequest: + post: + summary: Create a new request + tags: + - Teacher + - ScheduleRequest + - Ext (Schedule) + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + requestType: + type: string + lessonId: + type: integer + newDate: + type: string + description: Follow the iso 8601 ("YYYY-MM-DD") + newClassroom: + type: string + newCourseId: + type: integer + responses: + '201': + description: Request created + '401': + $ref: '#/components/responses/UnauthorizedError' + + /scheduleRequest/{id}: + parameters: + - name: id + in: path + required: true + schema: + type: integer + get: + summary : See request information + tags: + - Teacher + - Secretariat + - ScheduleRequest + - Ext (Schedule) + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/ScheduleRequest' + patch: + summary : Modify request + tags: + - Teacher + - ScheduleRequest + - Ext (Schedule) + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + newDate: + type: string + newClassroom: + type: string + newCourseId: + type: integer + responses: + '201': + description: Request modified + delete: + summary: Delete request + tags: + - Teacher + - Secretariat + - ScheduleRequest + - Ext (Schedule) + responses: + '201': + description: Success + + /display: + post: + summary: Create a new display + tags: + - Display + - Ext (Schedule) + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + timeMode: + type: string + displayMode: + type: string + userId: + type: integer + responses: + '201': + description: display created + + /display/{id}: + parameters: + - name: id + in: path + required: true + schema: + type: integer + get: + summary : See display information + tags: + - Users + - Display + - Ext (Schedule) + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Display' + patch: + summary : Modify display + tags: + - Users + - Display + - Ext (Schedule) + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + timeMode: + type: string + displayMode: + type: string + responses: + '201': + description: Display modified + # Extension publication scientifique + + /article: + post: + summary: create an article + tags: + - Ext (scientific articles) + - Researcher + security: + - bearer : [] + responses: + "201" : + description: OK + '401': + $ref: '#/components/responses/UnauthorizedError' + requestBody: + required : true + content: + application/json: + schema: + type: object + properties: + pdf: + type: string + description : the B64 version encoding of the pdf file + access: + type: string + summary: + type: string + language: + type: string + title: + type: string + date: + type: string + description: Follow the iso 8601 ("YYYY-MM-DD") + views: + type: integer + example: + { + "access": "private", + "pdf": " *the b64 encoding of the pdf* ", + "summary": "looks in details about graph's second theorem", + "language": "english", + "title": "graph's second theorem study", + "date":"2023-02-01", + "views": 420, + "authors" : [] + } + /article/{id}: + parameters: + - name: id + in: path + required: true + schema: + type: integer + get: + summary: get a certain article + tags: + - Users + - Ext (scientific articles) + security: + - bearer: [] + responses: + "201": + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Article' + '401': + $ref: '#/components/responses/UnauthorizedError' + + patch: + summary: modify an article + tags: + - Researcher + - Ext (scientific articles) + security: + - bearer : [] + responses: + "201": + description: article modifié + '401': + $ref: '#/components/responses/UnauthorizedError' + requestBody: + required : true + content: + application/json: + schema: + type: object + properties: + pdf: + type: string + description : the B64 version encoding of the pdf file + access: + type: string + summary: + type: string + language: + type: string + title: + type: string + date: + type: string + description: Follow the iso 8601 ("YYYY-MM-DD") + views: + type: integer + example: + { + "access": "public", + "pdf": " *the new b64 encoding of the pdf* ", + "summary": "looks in details about the duck's algorithm problem", + "language": "english", + "title": "duck's algorithm problem solving", + "date":"2023-02-01", + "views": 10, + "authors" : [] + } + + + delete: + summary: delete own article + tags: + - Researcher + - Ext (scientific articles) + security: + - bearer: [] + responses: + '201': + description: OK + '401': + $ref: '#/components/responses/UnauthorizedError' + + /DisplayArticle: + parameters: + - in: query + name: author + required: false + schema: + type: string + - in: query + name: access + required: false + schema: + type: string + enum: [public, restricted, private] + - in: query + name: name + required: false + schema: + type: string + + get: + summary: get a list of article's data + tags: + - Users + - Guest + - Ext (scientific articles) + responses: + '200': + description: OK + content: + application/json: + schema: + type: array + items: + $ref: "#/components/schemas/DisplayArticle" + +components: + securitySchemes: + bearer: + type: http + scheme: bearer + schemas: + User: + type: object + properties: + regNo: + type: integer + photo: + type: object + lastName: + type: string + firstName: + type: string + email: + type: string + address: + $ref: "#/components/schemas/Address" + birthDate: + type: string + description: Follow the iso 8601 ("YYYY-MM-DD") + role: + $ref: '#/components/schemas/Roles' + example: + { + "regNo": 42, + "lastName": "Doe" , + "firstName": "John", + "email": "John.Doe@example.com", + "address": { + "address": "Rue de Tournais 42", + "country": "BE"}, + "birthDate": "1941-02-22", + "role": "student" + } + Address: + type: object + properties: + address: + type: string + country: + type: string + description: Follow the ISO-3166-1 alpha-2 standard. + example: + { + "address": "Rue de Tournais 42", + "country": "BE" + } + Course: + type: object + properties: + id: + type: integer + name: + type: string + credits: + type: integer + faculty: + type: string + teachers: + type: integer + description: user's id + assistants: + type: array + items: + type: integer + description: user's id + example: + { + "id": 42, + "name": "Math pour l'info", + "credits": 11, + "faculty": "science", + "Teacher": 42, + "Assistants": [ ] + } + Cursus: + type: object + properties: + id: + type: integer + name: + type: string + courses: + type: array + items: + type: string + example: + { + "id": 42, + "courses": ['Math', 'Info'] + } + Roles: + type: string + enum: [teacher, student, secretary] + + RegRequest: + type : object + properties: + Name : + type: string + Firstname : + type : string + Address : + $ref: "#/components/schemas/Address" + Email: + type : string + BirthDate: + type : string + description: Follow the iso 8601 ("YYYY-MM-DD") + Cursus: + type : integer + description : ID of a specific cursus + Photo: + type : string + description: Path of the picture that the user uploaded + + IdentityCard: + type : string + description: Path of the picture of the user's identity card + Degree: + type : string + description: Path of the pdf containing the user's degree + Certificate: + type : string + description: Path of the pdf containing the user's admission certificate (optionnal) + ForeignerCertificate: + type : string + description: Path of the pdf containing the user's foreigner certificate (optionnal) + State: + type : string + + + RRRequest: + type : object + properties : + RegNo : + type : integer + NewCursusid : + type : integer + State : + type : string + + + SSRequest: + type : object + properties : + RegNo : + type : integer + Amount : + type : integer + Document : + type : string + description : justification document for a scholarship + + UnRegRequest : + type : object + properties : + RegNo : + type : integer + State : + type : string + + ExempRequest : + type : object + properties : + RegNo : + type : integer + Courseid : + type : integer + State : + type : string + + Article: + type: object + properties: + articleId: + type: integer + access : + type : string + pdf : + type : string + description : file location + summary: + type : string + language: + type : string + title : + type : string + date: + type : string + views : + type : integer + authors: + type: array + items: + $ref: '#/components/schemas/User' + description: first user is the author, the remaining users are co-authors + example: + { + "articleId": 42, + "access": "private", + "pdf": "/articles/42", + "summary": "looks in details about graph's second theorem", + "language": "english", + "title": "graph's second theorem study", + "date":"2023-02-01", + "views": 420, + "authors" : [] + } + DisplayArticle: + type: object + properties: + articleId: + type: integer + access: + type: string + summary: + type: string + title: + type: string + author: + type: string + items: + $ref: '#/components/schemas/User' + example: + { + "articleId": 42, + "access": "private", + "summary": "looks in details about graph's second theorem", + "title": "graph's second theorem study", + "author" : "john doe" + } + Lesson : + type: object + properties: + id: + type: integer + date: + type: string + description: Follow the iso 8601 ("YYYY-MM-DD") + duration: + type: number + description: duration of a course in hours + classroom: + type: string + courseId: + type: integer + example: + { + "id": 12, + "date": "2023-12-01", + "duration": 1.5, + "classroom": "AMPHI01", + "courseId": 12 + } + ScheduleRequest: + type: object + properties: + id: + type: integer + requestType: + type: string + lessonId: + type: integer + teacherId: + type: integer + newDate: + type: string + description: Follow the iso 8601 ("YYYY-MM-DD") + newClassroom: + type: string + newCourseId: + type: integer + example: + { + "id": 12, + "requestType": "moveLesson", + "lessonId": 52, + "teacherId": 12, + "newDate": "2023-12-20", + "newClassroom":, + "newCourseId":, + } + + Display: + type: object + properties: + id: + type: integer + timeMode: + type: string + description: Define the period displayed on the schedule (week,month,quadrimester..) + displayMode: + type: string + userId: + type: integer + description: Id of the user who owns this display + example: + { + "id": 12, + "timeMode": "month", + "displayMode": "grid", + "UserId": 12 + } + + responses: + UnauthorizedError: + description: Unauthorized access or missing bearer