Files
FileShare/server/web/dist/assets/OpenApiView-DRBb-4nZ.js
T
SKYMirror 00a8c16ab7 26.9:上下行带宽限速 + 品牌更新 + 产品修复
亮点
- 26.9 带宽限速(upload_rate/download_rate,字节/秒,0=不限速;管理端立即生效)
  - middleware/bandwidth.go 时间窗对齐 sleep 算法 + 单元测试(400KB@100KB/s 4.00s 精度)
  - 下载:serveFile 包裹 storage.ReadCloser(统一覆盖 local/webdav/s3 代理下载)
  - 上传:UploadBandwidthMiddleware 包裹 Request.Body(shareFile/chunk/presign proxy)
  - S3 预签名直传不可服务端限速——UI/文档明示
  - 后台 SettingsView 增加 MB/s 友好输入;i18n zh-CN/en-US 双语
- 26.9 文档:新增 docs/api/13-bandwidth.md 专题;10-config 指针;00-overview changelog
  与限流表带宽行;openapi.yaml 三处 schema + description 更新
- README.md / web/README.md / server/README.md / deploy/README.md 全部覆盖

品牌(26.9 收尾)
- 文件快递柜 → 文件快传(前端/后端默认值/文档/产物/运行 KV)
- 「复制取件码」按钮删除;取件码块点击即复制(保持原尺寸)
- 「复制链接」→「复制链接和提取码」(一并复制链接和提取码)

产品修复(26.9)
- 文本分享 Content-Type text/plain + urlencoded body:前端显式声明 urlencoded 头根治;
  后端 bindJSONOrForm 兜底兼容 text/plain + JSON/urlencoded 嗅探
- Docker 部署文档校对到 26.9 现状(热切换 + 端口/卷/健康检查)
2026-09-06 10:20:04 +08:00

268 lines
1.4 MiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{d as jU,u as PU,I as NU,ax as Xw,z as TU,A as IU,j as rA,b as Lc,t as Km,f as Gm,e as MU,c as RU,g as DU,h as nA,o as aA,_ as FU}from"./index-QLbKGtH7.js";import{P as LU}from"./PageShell-D1DY7qw8.js";import{g as $U}from"./swagger-CqkleIqs.js";import{e as oA}from"./docsSource-sXvNoXdF.js";import"./SiteNav.vue_vue_type_script_setup_true_lang-8XmHL8P7.js";var Qw={exports:{}};var iA;function BU(){return iA||(iA=1,(()=>{var eE={67526(w,N){N.byteLength=function(_){var T=m(_),I=T[0],j=T[1];return 3*(I+j)/4-j},N.toByteArray=function(_){var T,I,j=m(_),M=j[0],z=j[1],K=new v((function(te,ie,se){return 3*(ie+se)/4-se})(0,M,z)),Y=0,B=z>0?M-4:M;for(I=0;I<B;I+=4)T=h[_.charCodeAt(I)]<<18|h[_.charCodeAt(I+1)]<<12|h[_.charCodeAt(I+2)]<<6|h[_.charCodeAt(I+3)],K[Y++]=T>>16&255,K[Y++]=T>>8&255,K[Y++]=255&T;return z===2&&(T=h[_.charCodeAt(I)]<<2|h[_.charCodeAt(I+1)]>>4,K[Y++]=255&T),z===1&&(T=h[_.charCodeAt(I)]<<10|h[_.charCodeAt(I+1)]<<4|h[_.charCodeAt(I+2)]>>2,K[Y++]=T>>8&255,K[Y++]=255&T),K},N.fromByteArray=function(_){for(var T,I=_.length,j=I%3,M=[],z=16383,K=0,Y=I-j;K<Y;K+=z)M.push(g(_,K,K+z>Y?Y:K+z));return j===1?(T=_[I-1],M.push(s[T>>2]+s[T<<4&63]+"==")):j===2&&(T=(_[I-2]<<8)+_[I-1],M.push(s[T>>10]+s[T>>4&63]+s[T<<2&63]+"=")),M.join("")};for(var s=[],h=[],v=typeof Uint8Array<"u"?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0;y<64;++y)s[y]=f[y],h[f.charCodeAt(y)]=y;function m(S){var _=S.length;if(_%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var T=S.indexOf("=");return T===-1&&(T=_),[T,T===_?0:4-T%4]}function g(S,_,T){for(var I,j,M=[],z=_;z<T;z+=3)I=(S[z]<<16&16711680)+(S[z+1]<<8&65280)+(255&S[z+2]),M.push(s[(j=I)>>18&63]+s[j>>12&63]+s[j>>6&63]+s[63&j]);return M.join("")}h[45]=62,h[95]=63},48287(w,N,s){const h=s(67526),v=s(251),f=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;N.Buffer=g,N.SlowBuffer=function(U){return+U!=U&&(U=0),g.alloc(+U)},N.INSPECT_MAX_BYTES=50;const y=2147483647;function m(pe){if(pe>y)throw new RangeError('The value "'+pe+'" is invalid for option "size"');const U=new Uint8Array(pe);return Object.setPrototypeOf(U,g.prototype),U}function g(pe,U,Z){if(typeof pe=="number"){if(typeof U=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return T(pe)}return S(pe,U,Z)}function S(pe,U,Z){if(typeof pe=="string")return(function(Fe,St){if(typeof St=="string"&&St!==""||(St="utf8"),!g.isEncoding(St))throw new TypeError("Unknown encoding: "+St);const Bt=0|z(Fe,St);let Qe=m(Bt);const $t=Qe.write(Fe,St);return $t!==Bt&&(Qe=Qe.slice(0,$t)),Qe})(pe,U);if(ArrayBuffer.isView(pe))return(function(Fe){if(Gt(Fe,Uint8Array)){const St=new Uint8Array(Fe);return j(St.buffer,St.byteOffset,St.byteLength)}return I(Fe)})(pe);if(pe==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof pe);if(Gt(pe,ArrayBuffer)||pe&&Gt(pe.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Gt(pe,SharedArrayBuffer)||pe&&Gt(pe.buffer,SharedArrayBuffer)))return j(pe,U,Z);if(typeof pe=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const ne=pe.valueOf&&pe.valueOf();if(ne!=null&&ne!==pe)return g.from(ne,U,Z);const ye=(function(Fe){if(g.isBuffer(Fe)){const St=0|M(Fe.length),Bt=m(St);return Bt.length===0||Fe.copy(Bt,0,0,St),Bt}if(Fe.length!==void 0)return typeof Fe.length!="number"||Sr(Fe.length)?m(0):I(Fe);if(Fe.type==="Buffer"&&Array.isArray(Fe.data))return I(Fe.data)})(pe);if(ye)return ye;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof pe[Symbol.toPrimitive]=="function")return g.from(pe[Symbol.toPrimitive]("string"),U,Z);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof pe)}function _(pe){if(typeof pe!="number")throw new TypeError('"size" argument must be of type number');if(pe<0)throw new RangeError('The value "'+pe+'" is invalid for option "size"')}function T(pe){return _(pe),m(pe<0?0:0|M(pe))}function I(pe){const U=pe.length<0?0:0|M(pe.length),Z=m(U);for(let ne=0;ne<U;ne+=1)Z[ne]=255&pe[ne];return Z}function j(pe,U,Z){if(U<0||pe.byteLength<U)throw new RangeError('"offset" is outside of buffer bounds');if(pe.byteLength<U+(Z||0))throw new RangeError('"length" is outside of buffer bounds');let ne;return ne=U===void 0&&Z===void 0?new Uint8Array(pe):Z===void 0?new Uint8Array(pe,U):new Uint8Array(pe,U,Z),Object.setPrototypeOf(ne,g.prototype),ne}function M(pe){if(pe>=y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+y.toString(16)+" bytes");return 0|pe}function z(pe,U){if(g.isBuffer(pe))return pe.length;if(ArrayBuffer.isView(pe)||Gt(pe,ArrayBuffer))return pe.byteLength;if(typeof pe!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof pe);const Z=pe.length,ne=arguments.length>2&&arguments[2]===!0;if(!ne&&Z===0)return 0;let ye=!1;for(;;)switch(U){case"ascii":case"latin1":case"binary":return Z;case"utf8":case"utf-8":return ur(pe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Z;case"hex":return Z>>>1;case"base64":return ar(pe).length;default:if(ye)return ne?-1:ur(pe).length;U=(""+U).toLowerCase(),ye=!0}}function K(pe,U,Z){let ne=!1;if((U===void 0||U<0)&&(U=0),U>this.length||((Z===void 0||Z>this.length)&&(Z=this.length),Z<=0)||(Z>>>=0)<=(U>>>=0))return"";for(pe||(pe="utf8");;)switch(pe){case"hex":return nt(this,U,Z);case"utf8":case"utf-8":return ke(this,U,Z);case"ascii":return He(this,U,Z);case"latin1":case"binary":return qe(this,U,Z);case"base64":return ge(this,U,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gt(this,U,Z);default:if(ne)throw new TypeError("Unknown encoding: "+pe);pe=(pe+"").toLowerCase(),ne=!0}}function Y(pe,U,Z){const ne=pe[U];pe[U]=pe[Z],pe[Z]=ne}function B(pe,U,Z,ne,ye){if(pe.length===0)return-1;if(typeof Z=="string"?(ne=Z,Z=0):Z>2147483647?Z=2147483647:Z<-2147483648&&(Z=-2147483648),Sr(Z=+Z)&&(Z=ye?0:pe.length-1),Z<0&&(Z=pe.length+Z),Z>=pe.length){if(ye)return-1;Z=pe.length-1}else if(Z<0){if(!ye)return-1;Z=0}if(typeof U=="string"&&(U=g.from(U,ne)),g.isBuffer(U))return U.length===0?-1:X(pe,U,Z,ne,ye);if(typeof U=="number")return U&=255,typeof Uint8Array.prototype.indexOf=="function"?ye?Uint8Array.prototype.indexOf.call(pe,U,Z):Uint8Array.prototype.lastIndexOf.call(pe,U,Z):X(pe,[U],Z,ne,ye);throw new TypeError("val must be string, number or Buffer")}function X(pe,U,Z,ne,ye){let Ee,Fe=1,St=pe.length,Bt=U.length;if(ne!==void 0&&((ne=String(ne).toLowerCase())==="ucs2"||ne==="ucs-2"||ne==="utf16le"||ne==="utf-16le")){if(pe.length<2||U.length<2)return-1;Fe=2,St/=2,Bt/=2,Z/=2}function Qe($t,Pt){return Fe===1?$t[Pt]:$t.readUInt16BE(Pt*Fe)}if(ye){let $t=-1;for(Ee=Z;Ee<St;Ee++)if(Qe(pe,Ee)===Qe(U,$t===-1?0:Ee-$t)){if($t===-1&&($t=Ee),Ee-$t+1===Bt)return $t*Fe}else $t!==-1&&(Ee-=Ee-$t),$t=-1}else for(Z+Bt>St&&(Z=St-Bt),Ee=Z;Ee>=0;Ee--){let $t=!0;for(let Pt=0;Pt<Bt;Pt++)if(Qe(pe,Ee+Pt)!==Qe(U,Pt)){$t=!1;break}if($t)return Ee}return-1}function te(pe,U,Z,ne){Z=Number(Z)||0;const ye=pe.length-Z;ne?(ne=Number(ne))>ye&&(ne=ye):ne=ye;const Ee=U.length;let Fe;for(ne>Ee/2&&(ne=Ee/2),Fe=0;Fe<ne;++Fe){const St=parseInt(U.substr(2*Fe,2),16);if(Sr(St))return Fe;pe[Z+Fe]=St}return Fe}function ie(pe,U,Z,ne){return Tt(ur(U,pe.length-Z),pe,Z,ne)}function se(pe,U,Z,ne){return Tt((function(Ee){const Fe=[];for(let St=0;St<Ee.length;++St)Fe.push(255&Ee.charCodeAt(St));return Fe})(U),pe,Z,ne)}function Te(pe,U,Z,ne){return Tt(ar(U),pe,Z,ne)}function he(pe,U,Z,ne){return Tt((function(Ee,Fe){let St,Bt,Qe;const $t=[];for(let Pt=0;Pt<Ee.length&&!((Fe-=2)<0);++Pt)St=Ee.charCodeAt(Pt),Bt=St>>8,Qe=St%256,$t.push(Qe),$t.push(Bt);return $t})(U,pe.length-Z),pe,Z,ne)}function ge(pe,U,Z){return U===0&&Z===pe.length?h.fromByteArray(pe):h.fromByteArray(pe.slice(U,Z))}function ke(pe,U,Z){Z=Math.min(pe.length,Z);const ne=[];let ye=U;for(;ye<Z;){const Ee=pe[ye];let Fe=null,St=Ee>239?4:Ee>223?3:Ee>191?2:1;if(ye+St<=Z){let Bt,Qe,$t,Pt;switch(St){case 1:Ee<128&&(Fe=Ee);break;case 2:Bt=pe[ye+1],(192&Bt)==128&&(Pt=(31&Ee)<<6|63&Bt,Pt>127&&(Fe=Pt));break;case 3:Bt=pe[ye+1],Qe=pe[ye+2],(192&Bt)==128&&(192&Qe)==128&&(Pt=(15&Ee)<<12|(63&Bt)<<6|63&Qe,Pt>2047&&(Pt<55296||Pt>57343)&&(Fe=Pt));break;case 4:Bt=pe[ye+1],Qe=pe[ye+2],$t=pe[ye+3],(192&Bt)==128&&(192&Qe)==128&&(192&$t)==128&&(Pt=(15&Ee)<<18|(63&Bt)<<12|(63&Qe)<<6|63&$t,Pt>65535&&Pt<1114112&&(Fe=Pt))}}Fe===null?(Fe=65533,St=1):Fe>65535&&(Fe-=65536,ne.push(Fe>>>10&1023|55296),Fe=56320|1023&Fe),ne.push(Fe),ye+=St}return(function(Fe){const St=Fe.length;if(St<=Ve)return String.fromCharCode.apply(String,Fe);let Bt="",Qe=0;for(;Qe<St;)Bt+=String.fromCharCode.apply(String,Fe.slice(Qe,Qe+=Ve));return Bt})(ne)}N.kMaxLength=y,g.TYPED_ARRAY_SUPPORT=(function(){try{const U=new Uint8Array(1),Z={foo:function(){return 42}};return Object.setPrototypeOf(Z,Uint8Array.prototype),Object.setPrototypeOf(U,Z),U.foo()===42}catch{return!1}})(),g.TYPED_ARRAY_SUPPORT||typeof console>"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(g.prototype,"parent",{enumerable:!0,get:function(){if(g.isBuffer(this))return this.buffer}}),Object.defineProperty(g.prototype,"offset",{enumerable:!0,get:function(){if(g.isBuffer(this))return this.byteOffset}}),g.poolSize=8192,g.from=function(pe,U,Z){return S(pe,U,Z)},Object.setPrototypeOf(g.prototype,Uint8Array.prototype),Object.setPrototypeOf(g,Uint8Array),g.alloc=function(pe,U,Z){return(function(ye,Ee,Fe){return _(ye),ye<=0?m(ye):Ee!==void 0?typeof Fe=="string"?m(ye).fill(Ee,Fe):m(ye).fill(Ee):m(ye)})(pe,U,Z)},g.allocUnsafe=function(pe){return T(pe)},g.allocUnsafeSlow=function(pe){return T(pe)},g.isBuffer=function(U){return U!=null&&U._isBuffer===!0&&U!==g.prototype},g.compare=function(U,Z){if(Gt(U,Uint8Array)&&(U=g.from(U,U.offset,U.byteLength)),Gt(Z,Uint8Array)&&(Z=g.from(Z,Z.offset,Z.byteLength)),!g.isBuffer(U)||!g.isBuffer(Z))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(U===Z)return 0;let ne=U.length,ye=Z.length;for(let Ee=0,Fe=Math.min(ne,ye);Ee<Fe;++Ee)if(U[Ee]!==Z[Ee]){ne=U[Ee],ye=Z[Ee];break}return ne<ye?-1:ye<ne?1:0},g.isEncoding=function(U){switch(String(U).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},g.concat=function(U,Z){if(!Array.isArray(U))throw new TypeError('"list" argument must be an Array of Buffers');if(U.length===0)return g.alloc(0);let ne;if(Z===void 0)for(Z=0,ne=0;ne<U.length;++ne)Z+=U[ne].length;const ye=g.allocUnsafe(Z);let Ee=0;for(ne=0;ne<U.length;++ne){let Fe=U[ne];if(Gt(Fe,Uint8Array))Ee+Fe.length>ye.length?(g.isBuffer(Fe)||(Fe=g.from(Fe)),Fe.copy(ye,Ee)):Uint8Array.prototype.set.call(ye,Fe,Ee);else{if(!g.isBuffer(Fe))throw new TypeError('"list" argument must be an Array of Buffers');Fe.copy(ye,Ee)}Ee+=Fe.length}return ye},g.byteLength=z,g.prototype._isBuffer=!0,g.prototype.swap16=function(){const U=this.length;if(U%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let Z=0;Z<U;Z+=2)Y(this,Z,Z+1);return this},g.prototype.swap32=function(){const U=this.length;if(U%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let Z=0;Z<U;Z+=4)Y(this,Z,Z+3),Y(this,Z+1,Z+2);return this},g.prototype.swap64=function(){const U=this.length;if(U%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let Z=0;Z<U;Z+=8)Y(this,Z,Z+7),Y(this,Z+1,Z+6),Y(this,Z+2,Z+5),Y(this,Z+3,Z+4);return this},g.prototype.toString=function(){const U=this.length;return U===0?"":arguments.length===0?ke(this,0,U):K.apply(this,arguments)},g.prototype.toLocaleString=g.prototype.toString,g.prototype.equals=function(U){if(!g.isBuffer(U))throw new TypeError("Argument must be a Buffer");return this===U||g.compare(this,U)===0},g.prototype.inspect=function(){let U="";const Z=N.INSPECT_MAX_BYTES;return U=this.toString("hex",0,Z).replace(/(.{2})/g,"$1 ").trim(),this.length>Z&&(U+=" ... "),"<Buffer "+U+">"},f&&(g.prototype[f]=g.prototype.inspect),g.prototype.compare=function(U,Z,ne,ye,Ee){if(Gt(U,Uint8Array)&&(U=g.from(U,U.offset,U.byteLength)),!g.isBuffer(U))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof U);if(Z===void 0&&(Z=0),ne===void 0&&(ne=U?U.length:0),ye===void 0&&(ye=0),Ee===void 0&&(Ee=this.length),Z<0||ne>U.length||ye<0||Ee>this.length)throw new RangeError("out of range index");if(ye>=Ee&&Z>=ne)return 0;if(ye>=Ee)return-1;if(Z>=ne)return 1;if(this===U)return 0;let Fe=(Ee>>>=0)-(ye>>>=0),St=(ne>>>=0)-(Z>>>=0);const Bt=Math.min(Fe,St),Qe=this.slice(ye,Ee),$t=U.slice(Z,ne);for(let Pt=0;Pt<Bt;++Pt)if(Qe[Pt]!==$t[Pt]){Fe=Qe[Pt],St=$t[Pt];break}return Fe<St?-1:St<Fe?1:0},g.prototype.includes=function(U,Z,ne){return this.indexOf(U,Z,ne)!==-1},g.prototype.indexOf=function(U,Z,ne){return B(this,U,Z,ne,!0)},g.prototype.lastIndexOf=function(U,Z,ne){return B(this,U,Z,ne,!1)},g.prototype.write=function(U,Z,ne,ye){if(Z===void 0)ye="utf8",ne=this.length,Z=0;else if(ne===void 0&&typeof Z=="string")ye=Z,ne=this.length,Z=0;else{if(!isFinite(Z))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");Z>>>=0,isFinite(ne)?(ne>>>=0,ye===void 0&&(ye="utf8")):(ye=ne,ne=void 0)}const Ee=this.length-Z;if((ne===void 0||ne>Ee)&&(ne=Ee),U.length>0&&(ne<0||Z<0)||Z>this.length)throw new RangeError("Attempt to write outside buffer bounds");ye||(ye="utf8");let Fe=!1;for(;;)switch(ye){case"hex":return te(this,U,Z,ne);case"utf8":case"utf-8":return ie(this,U,Z,ne);case"ascii":case"latin1":case"binary":return se(this,U,Z,ne);case"base64":return Te(this,U,Z,ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,U,Z,ne);default:if(Fe)throw new TypeError("Unknown encoding: "+ye);ye=(""+ye).toLowerCase(),Fe=!0}},g.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const Ve=4096;function He(pe,U,Z){let ne="";Z=Math.min(pe.length,Z);for(let ye=U;ye<Z;++ye)ne+=String.fromCharCode(127&pe[ye]);return ne}function qe(pe,U,Z){let ne="";Z=Math.min(pe.length,Z);for(let ye=U;ye<Z;++ye)ne+=String.fromCharCode(pe[ye]);return ne}function nt(pe,U,Z){const ne=pe.length;(!U||U<0)&&(U=0),(!Z||Z<0||Z>ne)&&(Z=ne);let ye="";for(let Ee=U;Ee<Z;++Ee)ye+=kt[pe[Ee]];return ye}function gt(pe,U,Z){const ne=pe.slice(U,Z);let ye="";for(let Ee=0;Ee<ne.length-1;Ee+=2)ye+=String.fromCharCode(ne[Ee]+256*ne[Ee+1]);return ye}function Re(pe,U,Z){if(pe%1!=0||pe<0)throw new RangeError("offset is not uint");if(pe+U>Z)throw new RangeError("Trying to access beyond buffer length")}function u(pe,U,Z,ne,ye,Ee){if(!g.isBuffer(pe))throw new TypeError('"buffer" argument must be a Buffer instance');if(U>ye||U<Ee)throw new RangeError('"value" argument is out of bounds');if(Z+ne>pe.length)throw new RangeError("Index out of range")}function at(pe,U,Z,ne,ye){H(U,ne,ye,pe,Z,7);let Ee=Number(U&BigInt(4294967295));pe[Z++]=Ee,Ee>>=8,pe[Z++]=Ee,Ee>>=8,pe[Z++]=Ee,Ee>>=8,pe[Z++]=Ee;let Fe=Number(U>>BigInt(32)&BigInt(4294967295));return pe[Z++]=Fe,Fe>>=8,pe[Z++]=Fe,Fe>>=8,pe[Z++]=Fe,Fe>>=8,pe[Z++]=Fe,Z}function Xe(pe,U,Z,ne,ye){H(U,ne,ye,pe,Z,7);let Ee=Number(U&BigInt(4294967295));pe[Z+7]=Ee,Ee>>=8,pe[Z+6]=Ee,Ee>>=8,pe[Z+5]=Ee,Ee>>=8,pe[Z+4]=Ee;let Fe=Number(U>>BigInt(32)&BigInt(4294967295));return pe[Z+3]=Fe,Fe>>=8,pe[Z+2]=Fe,Fe>>=8,pe[Z+1]=Fe,Fe>>=8,pe[Z]=Fe,Z+8}function Se(pe,U,Z,ne,ye,Ee){if(Z+ne>pe.length)throw new RangeError("Index out of range");if(Z<0)throw new RangeError("Index out of range")}function De(pe,U,Z,ne,ye){return U=+U,Z>>>=0,ye||Se(pe,0,Z,4),v.write(pe,U,Z,ne,23,4),Z+4}function Ke(pe,U,Z,ne,ye){return U=+U,Z>>>=0,ye||Se(pe,0,Z,8),v.write(pe,U,Z,ne,52,8),Z+8}g.prototype.slice=function(U,Z){const ne=this.length;(U=~~U)<0?(U+=ne)<0&&(U=0):U>ne&&(U=ne),(Z=Z===void 0?ne:~~Z)<0?(Z+=ne)<0&&(Z=0):Z>ne&&(Z=ne),Z<U&&(Z=U);const ye=this.subarray(U,Z);return Object.setPrototypeOf(ye,g.prototype),ye},g.prototype.readUintLE=g.prototype.readUIntLE=function(U,Z,ne){U>>>=0,Z>>>=0,ne||Re(U,Z,this.length);let ye=this[U],Ee=1,Fe=0;for(;++Fe<Z&&(Ee*=256);)ye+=this[U+Fe]*Ee;return ye},g.prototype.readUintBE=g.prototype.readUIntBE=function(U,Z,ne){U>>>=0,Z>>>=0,ne||Re(U,Z,this.length);let ye=this[U+--Z],Ee=1;for(;Z>0&&(Ee*=256);)ye+=this[U+--Z]*Ee;return ye},g.prototype.readUint8=g.prototype.readUInt8=function(U,Z){return U>>>=0,Z||Re(U,1,this.length),this[U]},g.prototype.readUint16LE=g.prototype.readUInt16LE=function(U,Z){return U>>>=0,Z||Re(U,2,this.length),this[U]|this[U+1]<<8},g.prototype.readUint16BE=g.prototype.readUInt16BE=function(U,Z){return U>>>=0,Z||Re(U,2,this.length),this[U]<<8|this[U+1]},g.prototype.readUint32LE=g.prototype.readUInt32LE=function(U,Z){return U>>>=0,Z||Re(U,4,this.length),(this[U]|this[U+1]<<8|this[U+2]<<16)+16777216*this[U+3]},g.prototype.readUint32BE=g.prototype.readUInt32BE=function(U,Z){return U>>>=0,Z||Re(U,4,this.length),16777216*this[U]+(this[U+1]<<16|this[U+2]<<8|this[U+3])},g.prototype.readBigUInt64LE=yt((function(U){we(U>>>=0,"offset");const Z=this[U],ne=this[U+7];Z!==void 0&&ne!==void 0||ct(U,this.length-8);const ye=Z+256*this[++U]+65536*this[++U]+this[++U]*2**24,Ee=this[++U]+256*this[++U]+65536*this[++U]+ne*2**24;return BigInt(ye)+(BigInt(Ee)<<BigInt(32))})),g.prototype.readBigUInt64BE=yt((function(U){we(U>>>=0,"offset");const Z=this[U],ne=this[U+7];Z!==void 0&&ne!==void 0||ct(U,this.length-8);const ye=Z*2**24+65536*this[++U]+256*this[++U]+this[++U],Ee=this[++U]*2**24+65536*this[++U]+256*this[++U]+ne;return(BigInt(ye)<<BigInt(32))+BigInt(Ee)})),g.prototype.readIntLE=function(U,Z,ne){U>>>=0,Z>>>=0,ne||Re(U,Z,this.length);let ye=this[U],Ee=1,Fe=0;for(;++Fe<Z&&(Ee*=256);)ye+=this[U+Fe]*Ee;return Ee*=128,ye>=Ee&&(ye-=Math.pow(2,8*Z)),ye},g.prototype.readIntBE=function(U,Z,ne){U>>>=0,Z>>>=0,ne||Re(U,Z,this.length);let ye=Z,Ee=1,Fe=this[U+--ye];for(;ye>0&&(Ee*=256);)Fe+=this[U+--ye]*Ee;return Ee*=128,Fe>=Ee&&(Fe-=Math.pow(2,8*Z)),Fe},g.prototype.readInt8=function(U,Z){return U>>>=0,Z||Re(U,1,this.length),128&this[U]?-1*(255-this[U]+1):this[U]},g.prototype.readInt16LE=function(U,Z){U>>>=0,Z||Re(U,2,this.length);const ne=this[U]|this[U+1]<<8;return 32768&ne?4294901760|ne:ne},g.prototype.readInt16BE=function(U,Z){U>>>=0,Z||Re(U,2,this.length);const ne=this[U+1]|this[U]<<8;return 32768&ne?4294901760|ne:ne},g.prototype.readInt32LE=function(U,Z){return U>>>=0,Z||Re(U,4,this.length),this[U]|this[U+1]<<8|this[U+2]<<16|this[U+3]<<24},g.prototype.readInt32BE=function(U,Z){return U>>>=0,Z||Re(U,4,this.length),this[U]<<24|this[U+1]<<16|this[U+2]<<8|this[U+3]},g.prototype.readBigInt64LE=yt((function(U){we(U>>>=0,"offset");const Z=this[U],ne=this[U+7];Z!==void 0&&ne!==void 0||ct(U,this.length-8);const ye=this[U+4]+256*this[U+5]+65536*this[U+6]+(ne<<24);return(BigInt(ye)<<BigInt(32))+BigInt(Z+256*this[++U]+65536*this[++U]+this[++U]*16777216)})),g.prototype.readBigInt64BE=yt((function(U){we(U>>>=0,"offset");const Z=this[U],ne=this[U+7];Z!==void 0&&ne!==void 0||ct(U,this.length-8);const ye=(Z<<24)+65536*this[++U]+256*this[++U]+this[++U];return(BigInt(ye)<<BigInt(32))+BigInt(this[++U]*16777216+65536*this[++U]+256*this[++U]+ne)})),g.prototype.readFloatLE=function(U,Z){return U>>>=0,Z||Re(U,4,this.length),v.read(this,U,!0,23,4)},g.prototype.readFloatBE=function(U,Z){return U>>>=0,Z||Re(U,4,this.length),v.read(this,U,!1,23,4)},g.prototype.readDoubleLE=function(U,Z){return U>>>=0,Z||Re(U,8,this.length),v.read(this,U,!0,52,8)},g.prototype.readDoubleBE=function(U,Z){return U>>>=0,Z||Re(U,8,this.length),v.read(this,U,!1,52,8)},g.prototype.writeUintLE=g.prototype.writeUIntLE=function(U,Z,ne,ye){U=+U,Z>>>=0,ne>>>=0,!ye&&u(this,U,Z,ne,Math.pow(2,8*ne)-1,0);let Ee=1,Fe=0;for(this[Z]=255&U;++Fe<ne&&(Ee*=256);)this[Z+Fe]=U/Ee&255;return Z+ne},g.prototype.writeUintBE=g.prototype.writeUIntBE=function(U,Z,ne,ye){U=+U,Z>>>=0,ne>>>=0,!ye&&u(this,U,Z,ne,Math.pow(2,8*ne)-1,0);let Ee=ne-1,Fe=1;for(this[Z+Ee]=255&U;--Ee>=0&&(Fe*=256);)this[Z+Ee]=U/Fe&255;return Z+ne},g.prototype.writeUint8=g.prototype.writeUInt8=function(U,Z,ne){return U=+U,Z>>>=0,ne||u(this,U,Z,1,255,0),this[Z]=255&U,Z+1},g.prototype.writeUint16LE=g.prototype.writeUInt16LE=function(U,Z,ne){return U=+U,Z>>>=0,ne||u(this,U,Z,2,65535,0),this[Z]=255&U,this[Z+1]=U>>>8,Z+2},g.prototype.writeUint16BE=g.prototype.writeUInt16BE=function(U,Z,ne){return U=+U,Z>>>=0,ne||u(this,U,Z,2,65535,0),this[Z]=U>>>8,this[Z+1]=255&U,Z+2},g.prototype.writeUint32LE=g.prototype.writeUInt32LE=function(U,Z,ne){return U=+U,Z>>>=0,ne||u(this,U,Z,4,4294967295,0),this[Z+3]=U>>>24,this[Z+2]=U>>>16,this[Z+1]=U>>>8,this[Z]=255&U,Z+4},g.prototype.writeUint32BE=g.prototype.writeUInt32BE=function(U,Z,ne){return U=+U,Z>>>=0,ne||u(this,U,Z,4,4294967295,0),this[Z]=U>>>24,this[Z+1]=U>>>16,this[Z+2]=U>>>8,this[Z+3]=255&U,Z+4},g.prototype.writeBigUInt64LE=yt((function(U,Z=0){return at(this,U,Z,BigInt(0),BigInt("0xffffffffffffffff"))})),g.prototype.writeBigUInt64BE=yt((function(U,Z=0){return Xe(this,U,Z,BigInt(0),BigInt("0xffffffffffffffff"))})),g.prototype.writeIntLE=function(U,Z,ne,ye){if(U=+U,Z>>>=0,!ye){const Bt=Math.pow(2,8*ne-1);u(this,U,Z,ne,Bt-1,-Bt)}let Ee=0,Fe=1,St=0;for(this[Z]=255&U;++Ee<ne&&(Fe*=256);)U<0&&St===0&&this[Z+Ee-1]!==0&&(St=1),this[Z+Ee]=(U/Fe|0)-St&255;return Z+ne},g.prototype.writeIntBE=function(U,Z,ne,ye){if(U=+U,Z>>>=0,!ye){const Bt=Math.pow(2,8*ne-1);u(this,U,Z,ne,Bt-1,-Bt)}let Ee=ne-1,Fe=1,St=0;for(this[Z+Ee]=255&U;--Ee>=0&&(Fe*=256);)U<0&&St===0&&this[Z+Ee+1]!==0&&(St=1),this[Z+Ee]=(U/Fe|0)-St&255;return Z+ne},g.prototype.writeInt8=function(U,Z,ne){return U=+U,Z>>>=0,ne||u(this,U,Z,1,127,-128),U<0&&(U=255+U+1),this[Z]=255&U,Z+1},g.prototype.writeInt16LE=function(U,Z,ne){return U=+U,Z>>>=0,ne||u(this,U,Z,2,32767,-32768),this[Z]=255&U,this[Z+1]=U>>>8,Z+2},g.prototype.writeInt16BE=function(U,Z,ne){return U=+U,Z>>>=0,ne||u(this,U,Z,2,32767,-32768),this[Z]=U>>>8,this[Z+1]=255&U,Z+2},g.prototype.writeInt32LE=function(U,Z,ne){return U=+U,Z>>>=0,ne||u(this,U,Z,4,2147483647,-2147483648),this[Z]=255&U,this[Z+1]=U>>>8,this[Z+2]=U>>>16,this[Z+3]=U>>>24,Z+4},g.prototype.writeInt32BE=function(U,Z,ne){return U=+U,Z>>>=0,ne||u(this,U,Z,4,2147483647,-2147483648),U<0&&(U=4294967295+U+1),this[Z]=U>>>24,this[Z+1]=U>>>16,this[Z+2]=U>>>8,this[Z+3]=255&U,Z+4},g.prototype.writeBigInt64LE=yt((function(U,Z=0){return at(this,U,Z,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),g.prototype.writeBigInt64BE=yt((function(U,Z=0){return Xe(this,U,Z,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),g.prototype.writeFloatLE=function(U,Z,ne){return De(this,U,Z,!0,ne)},g.prototype.writeFloatBE=function(U,Z,ne){return De(this,U,Z,!1,ne)},g.prototype.writeDoubleLE=function(U,Z,ne){return Ke(this,U,Z,!0,ne)},g.prototype.writeDoubleBE=function(U,Z,ne){return Ke(this,U,Z,!1,ne)},g.prototype.copy=function(U,Z,ne,ye){if(!g.isBuffer(U))throw new TypeError("argument should be a Buffer");if(ne||(ne=0),ye||ye===0||(ye=this.length),Z>=U.length&&(Z=U.length),Z||(Z=0),ye>0&&ye<ne&&(ye=ne),ye===ne||U.length===0||this.length===0)return 0;if(Z<0)throw new RangeError("targetStart out of bounds");if(ne<0||ne>=this.length)throw new RangeError("Index out of range");if(ye<0)throw new RangeError("sourceEnd out of bounds");ye>this.length&&(ye=this.length),U.length-Z<ye-ne&&(ye=U.length-Z+ne);const Ee=ye-ne;return this===U&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(Z,ne,ye):Uint8Array.prototype.set.call(U,this.subarray(ne,ye),Z),Ee},g.prototype.fill=function(U,Z,ne,ye){if(typeof U=="string"){if(typeof Z=="string"?(ye=Z,Z=0,ne=this.length):typeof ne=="string"&&(ye=ne,ne=this.length),ye!==void 0&&typeof ye!="string")throw new TypeError("encoding must be a string");if(typeof ye=="string"&&!g.isEncoding(ye))throw new TypeError("Unknown encoding: "+ye);if(U.length===1){const Fe=U.charCodeAt(0);(ye==="utf8"&&Fe<128||ye==="latin1")&&(U=Fe)}}else typeof U=="number"?U&=255:typeof U=="boolean"&&(U=Number(U));if(Z<0||this.length<Z||this.length<ne)throw new RangeError("Out of range index");if(ne<=Z)return this;let Ee;if(Z>>>=0,ne=ne===void 0?this.length:ne>>>0,U||(U=0),typeof U=="number")for(Ee=Z;Ee<ne;++Ee)this[Ee]=U;else{const Fe=g.isBuffer(U)?U:g.from(U,ye),St=Fe.length;if(St===0)throw new TypeError('The value "'+U+'" is invalid for argument "value"');for(Ee=0;Ee<ne-Z;++Ee)this[Ee+Z]=Fe[Ee%St]}return this};const ft={};function Nt(pe,U,Z){ft[pe]=class extends Z{constructor(){super(),Object.defineProperty(this,"message",{value:U.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${pe}]`,this.stack,delete this.name}get code(){return pe}set code(ye){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:ye,writable:!0})}toString(){return`${this.name} [${pe}]: ${this.message}`}}}function Wt(pe){let U="",Z=pe.length;const ne=pe[0]==="-"?1:0;for(;Z>=ne+4;Z-=3)U=`_${pe.slice(Z-3,Z)}${U}`;return`${pe.slice(0,Z)}${U}`}function H(pe,U,Z,ne,ye,Ee){if(pe>Z||pe<U){const Fe=typeof U=="bigint"?"n":"";let St;throw St=U===0||U===BigInt(0)?`>= 0${Fe} and < 2${Fe} ** ${8*(Ee+1)}${Fe}`:`>= -(2${Fe} ** ${8*(Ee+1)-1}${Fe}) and < 2 ** ${8*(Ee+1)-1}${Fe}`,new ft.ERR_OUT_OF_RANGE("value",St,pe)}(function(St,Bt,Qe){we(Bt,"offset"),St[Bt]!==void 0&&St[Bt+Qe]!==void 0||ct(Bt,St.length-(Qe+1))})(ne,ye,Ee)}function we(pe,U){if(typeof pe!="number")throw new ft.ERR_INVALID_ARG_TYPE(U,"number",pe)}function ct(pe,U,Z){throw Math.floor(pe)!==pe?(we(pe,Z),new ft.ERR_OUT_OF_RANGE("offset","an integer",pe)):U<0?new ft.ERR_BUFFER_OUT_OF_BOUNDS:new ft.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${U}`,pe)}Nt("ERR_BUFFER_OUT_OF_BOUNDS",(function(pe){return pe?`${pe} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),Nt("ERR_INVALID_ARG_TYPE",(function(pe,U){return`The "${pe}" argument must be of type number. Received type ${typeof U}`}),TypeError),Nt("ERR_OUT_OF_RANGE",(function(pe,U,Z){let ne=`The value of "${pe}" is out of range.`,ye=Z;return Number.isInteger(Z)&&Math.abs(Z)>4294967296?ye=Wt(String(Z)):typeof Z=="bigint"&&(ye=String(Z),(Z>BigInt(2)**BigInt(32)||Z<-(BigInt(2)**BigInt(32)))&&(ye=Wt(ye)),ye+="n"),ne+=` It must be ${U}. Received ${ye}`,ne}),RangeError);const mt=/[^+/0-9A-Za-z-_]/g;function ur(pe,U){let Z;U=U||1/0;const ne=pe.length;let ye=null;const Ee=[];for(let Fe=0;Fe<ne;++Fe){if(Z=pe.charCodeAt(Fe),Z>55295&&Z<57344){if(!ye){if(Z>56319){(U-=3)>-1&&Ee.push(239,191,189);continue}if(Fe+1===ne){(U-=3)>-1&&Ee.push(239,191,189);continue}ye=Z;continue}if(Z<56320){(U-=3)>-1&&Ee.push(239,191,189),ye=Z;continue}Z=65536+(ye-55296<<10|Z-56320)}else ye&&(U-=3)>-1&&Ee.push(239,191,189);if(ye=null,Z<128){if((U-=1)<0)break;Ee.push(Z)}else if(Z<2048){if((U-=2)<0)break;Ee.push(Z>>6|192,63&Z|128)}else if(Z<65536){if((U-=3)<0)break;Ee.push(Z>>12|224,Z>>6&63|128,63&Z|128)}else{if(!(Z<1114112))throw new Error("Invalid code point");if((U-=4)<0)break;Ee.push(Z>>18|240,Z>>12&63|128,Z>>6&63|128,63&Z|128)}}return Ee}function ar(pe){return h.toByteArray((function(Z){if((Z=(Z=Z.split("=")[0]).trim().replace(mt,"")).length<2)return"";for(;Z.length%4!=0;)Z+="=";return Z})(pe))}function Tt(pe,U,Z,ne){let ye;for(ye=0;ye<ne&&!(ye+Z>=U.length||ye>=pe.length);++ye)U[ye+Z]=pe[ye];return ye}function Gt(pe,U){return pe instanceof U||pe!=null&&pe.constructor!=null&&pe.constructor.name!=null&&pe.constructor.name===U.name}function Sr(pe){return pe!=pe}const kt=(function(){const pe="0123456789abcdef",U=new Array(256);for(let Z=0;Z<16;++Z){const ne=16*Z;for(let ye=0;ye<16;++ye)U[ne+ye]=pe[Z]+pe[ye]}return U})();function yt(pe){return typeof BigInt>"u"?Zt:pe}function Zt(){throw new Error("BigInt not supported")}},13144(w,N,s){var h=s(66743),v=s(11002),f=s(10076),y=s(47119);w.exports=y||h.call(f,v)},12205(w,N,s){var h=s(66743),v=s(11002),f=s(13144);w.exports=function(){return f(h,v,arguments)}},11002(w){w.exports=Function.prototype.apply},10076(w){w.exports=Function.prototype.call},73126(w,N,s){var h=s(66743),v=s(69675),f=s(10076),y=s(13144);w.exports=function(g){if(g.length<1||typeof g[0]!="function")throw new v("a function is required");return y(h,f,g)}},47119(w){w.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply},10487(w,N,s){var h=s(96897),v=s(30655),f=s(73126),y=s(12205);w.exports=function(g){var S=f(arguments),_=g.length-(arguments.length-1);return h(S,1+(_>0?_:0),!0)},v?v(w.exports,"apply",{value:y}):w.exports.apply=y},36556(w,N,s){var h=s(70453),v=s(73126),f=v([h("%String.prototype.indexOf%")]);w.exports=function(m,g){var S=h(m,!!g);return typeof S=="function"&&f(m,".prototype.")>-1?v([S]):S}},17965(w,N,s){var h=s(16426),v={"text/plain":"Text","text/html":"Url",default:"Text"};w.exports=function(y,m){var g,S,_,T,I,j,M=!1;m||(m={}),g=m.debug||!1;try{if(_=h(),T=document.createRange(),I=document.getSelection(),(j=document.createElement("span")).textContent=y,j.ariaHidden="true",j.style.all="unset",j.style.position="fixed",j.style.top=0,j.style.clip="rect(0, 0, 0, 0)",j.style.whiteSpace="pre",j.style.webkitUserSelect="text",j.style.MozUserSelect="text",j.style.msUserSelect="text",j.style.userSelect="text",j.addEventListener("copy",(function(z){if(z.stopPropagation(),m.format)if(z.preventDefault(),z.clipboardData===void 0){g&&console.warn("unable to use e.clipboardData"),g&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var K=v[m.format]||v.default;window.clipboardData.setData(K,y)}else z.clipboardData.clearData(),z.clipboardData.setData(m.format,y);m.onCopy&&(z.preventDefault(),m.onCopy(z.clipboardData))})),document.body.appendChild(j),T.selectNodeContents(j),I.addRange(T),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");M=!0}catch(z){g&&console.error("unable to copy using execCommand: ",z),g&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(m.format||"text",y),m.onCopy&&m.onCopy(window.clipboardData),M=!0}catch(K){g&&console.error("unable to copy using clipboardData: ",K),g&&console.error("falling back to prompt"),S=(function(B){var X=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return B.replace(/#{\s*key\s*}/g,X)})("message"in m?m.message:"Copy to clipboard: #{key}, Enter"),window.prompt(S,y)}}finally{I&&(typeof I.removeRange=="function"?I.removeRange(T):I.removeAllRanges()),j&&document.body.removeChild(j),_()}return M}},2205(w,N,s){var h;h=s.g!==void 0?s.g:this,w.exports=(function(v){if(v.CSS&&v.CSS.escape)return v.CSS.escape;var f=function(y){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var m,g=String(y),S=g.length,_=-1,T="",I=g.charCodeAt(0);++_<S;)(m=g.charCodeAt(_))!=0?T+=m>=1&&m<=31||m==127||_==0&&m>=48&&m<=57||_==1&&m>=48&&m<=57&&I==45?"\\"+m.toString(16)+" ":_==0&&S==1&&m==45||!(m>=128||m==45||m==95||m>=48&&m<=57||m>=65&&m<=90||m>=97&&m<=122)?"\\"+g.charAt(_):g.charAt(_):T+="";return T};return v.CSS||(v.CSS={}),v.CSS.escape=f,f})(h)},81919(w,N,s){var h=s(48287).Buffer;function v(S){return S instanceof h||S instanceof Date||S instanceof RegExp}function f(S){if(S instanceof h){var _=h.alloc?h.alloc(S.length):new h(S.length);return S.copy(_),_}if(S instanceof Date)return new Date(S.getTime());if(S instanceof RegExp)return new RegExp(S);throw new Error("Unexpected situation")}function y(S){var _=[];return S.forEach((function(T,I){typeof T=="object"&&T!==null?Array.isArray(T)?_[I]=y(T):v(T)?_[I]=f(T):_[I]=g({},T):_[I]=T})),_}function m(S,_){return _==="__proto__"?void 0:S[_]}var g=w.exports=function(){if(arguments.length<1||typeof arguments[0]!="object")return!1;if(arguments.length<2)return arguments[0];var S,_,T=arguments[0];return Array.prototype.slice.call(arguments,1).forEach((function(I){typeof I!="object"||I===null||Array.isArray(I)||Object.keys(I).forEach((function(j){return _=m(T,j),(S=m(I,j))===T?void 0:typeof S!="object"||S===null?void(T[j]=S):Array.isArray(S)?void(T[j]=y(S)):v(S)?void(T[j]=f(S)):typeof _!="object"||_===null||Array.isArray(_)?void(T[j]=g({},S)):void(T[j]=g(_,S))}))})),T}},14744(w){var N=function(T){return(function(j){return!!j&&typeof j=="object"})(T)&&!(function(j){var M=Object.prototype.toString.call(j);return M==="[object RegExp]"||M==="[object Date]"||(function(K){return K.$$typeof===s})(j)})(T)},s=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.element"):60103;function h(_,T){return T.clone!==!1&&T.isMergeableObject(_)?g((function(j){return Array.isArray(j)?[]:{}})(_),_,T):_}function v(_,T,I){return _.concat(T).map((function(j){return h(j,I)}))}function f(_){return Object.keys(_).concat((function(I){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(I).filter((function(j){return Object.propertyIsEnumerable.call(I,j)})):[]})(_))}function y(_,T){try{return T in _}catch{return!1}}function m(_,T,I){var j={};return I.isMergeableObject(_)&&f(_).forEach((function(M){j[M]=h(_[M],I)})),f(T).forEach((function(M){(function(K,Y){return y(K,Y)&&!(Object.hasOwnProperty.call(K,Y)&&Object.propertyIsEnumerable.call(K,Y))})(_,M)||(y(_,M)&&I.isMergeableObject(T[M])?j[M]=(function(K,Y){if(!Y.customMerge)return g;var B=Y.customMerge(K);return typeof B=="function"?B:g})(M,I)(_[M],T[M],I):j[M]=h(T[M],I))})),j}function g(_,T,I){(I=I||{}).arrayMerge=I.arrayMerge||v,I.isMergeableObject=I.isMergeableObject||N,I.cloneUnlessOtherwiseSpecified=h;var j=Array.isArray(T);return j===Array.isArray(_)?j?I.arrayMerge(_,T,I):m(_,T,I):h(T,I)}g.all=function(T,I){if(!Array.isArray(T))throw new Error("first argument should be an array");return T.reduce((function(j,M){return g(j,M,I)}),{})};var S=g;w.exports=S},30041(w,N,s){var h=s(30655),v=s(58068),f=s(69675),y=s(75795);w.exports=function(g,S,_){if(!g||typeof g!="object"&&typeof g!="function")throw new f("`obj` must be an object or a function`");if(typeof S!="string"&&typeof S!="symbol")throw new f("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new f("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new f("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new f("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new f("`loose`, if provided, must be a boolean");var T=arguments.length>3?arguments[3]:null,I=arguments.length>4?arguments[4]:null,j=arguments.length>5?arguments[5]:null,M=arguments.length>6&&arguments[6],z=!!y&&y(g,S);if(h)h(g,S,{configurable:j===null&&z?z.configurable:!j,enumerable:T===null&&z?z.enumerable:!T,value:_,writable:I===null&&z?z.writable:!I});else{if(!M&&(T||I||j))throw new v("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");g[S]=_}}},78004(w){class N{constructor(v,f){this.low=v,this.high=f,this.length=1+f-v}overlaps(v){return!(this.high<v.low||this.low>v.high)}touches(v){return!(this.high+1<v.low||this.low-1>v.high)}add(v){return new N(Math.min(this.low,v.low),Math.max(this.high,v.high))}subtract(v){return v.low<=this.low&&v.high>=this.high?[]:v.low>this.low&&v.high<this.high?[new N(this.low,v.low-1),new N(v.high+1,this.high)]:v.low<=this.low?[new N(v.high+1,this.high)]:[new N(this.low,v.low-1)]}toString(){return this.low==this.high?this.low.toString():this.low+"-"+this.high}}class s{constructor(v,f){this.ranges=[],this.length=0,v!=null&&this.add(v,f)}_update_length(){this.length=this.ranges.reduce(((v,f)=>v+f.length),0)}add(v,f){var y=m=>{for(var g=0;g<this.ranges.length&&!m.touches(this.ranges[g]);)g++;for(var S=this.ranges.slice(0,g);g<this.ranges.length&&m.touches(this.ranges[g]);)m=m.add(this.ranges[g]),g++;S.push(m),this.ranges=S.concat(this.ranges.slice(g)),this._update_length()};return v instanceof s?v.ranges.forEach(y):(f==null&&(f=v),y(new N(v,f))),this}subtract(v,f){var y=m=>{for(var g=0;g<this.ranges.length&&!m.overlaps(this.ranges[g]);)g++;for(var S=this.ranges.slice(0,g);g<this.ranges.length&&m.overlaps(this.ranges[g]);)S=S.concat(this.ranges[g].subtract(m)),g++;this.ranges=S.concat(this.ranges.slice(g)),this._update_length()};return v instanceof s?v.ranges.forEach(y):(f==null&&(f=v),y(new N(v,f))),this}intersect(v,f){var y=[],m=g=>{for(var S=0;S<this.ranges.length&&!g.overlaps(this.ranges[S]);)S++;for(;S<this.ranges.length&&g.overlaps(this.ranges[S]);){var _=Math.max(this.ranges[S].low,g.low),T=Math.min(this.ranges[S].high,g.high);y.push(new N(_,T)),S++}};return v instanceof s?v.ranges.forEach(m):(f==null&&(f=v),m(new N(v,f))),this.ranges=y,this._update_length(),this}index(v){for(var f=0;f<this.ranges.length&&this.ranges[f].length<=v;)v-=this.ranges[f].length,f++;return this.ranges[f].low+v}toString(){return"[ "+this.ranges.join(", ")+" ]"}clone(){return new s(this)}numbers(){return this.ranges.reduce(((v,f)=>{for(var y=f.low;y<=f.high;)v.push(y),y++;return v}),[])}subranges(){return this.ranges.map((v=>({low:v.low,high:v.high,length:1+v.high-v.low})))}}w.exports=s},7176(w,N,s){var h,v=s(73126),f=s(75795);try{h=[].__proto__===Array.prototype}catch(S){if(!S||typeof S!="object"||!("code"in S)||S.code!=="ERR_PROTO_ACCESS")throw S}var y=!!h&&f&&f(Object.prototype,"__proto__"),m=Object,g=m.getPrototypeOf;w.exports=y&&typeof y.get=="function"?v([y.get]):typeof g=="function"&&function(_){return g(_==null?_:m(_))}},30655(w){var N=Object.defineProperty||!1;if(N)try{N({},"a",{value:1})}catch{N=!1}w.exports=N},41237(w){w.exports=EvalError},69383(w){w.exports=Error},79290(w){w.exports=RangeError},79538(w){w.exports=ReferenceError},58068(w){w.exports=SyntaxError},69675(w){w.exports=TypeError},35345(w){w.exports=URIError},79612(w){w.exports=Object},37007(w){var N,s=typeof Reflect=="object"?Reflect:null,h=s&&typeof s.apply=="function"?s.apply:function(Y,B,X){return Function.prototype.apply.call(Y,B,X)};N=s&&typeof s.ownKeys=="function"?s.ownKeys:Object.getOwnPropertySymbols?function(Y){return Object.getOwnPropertyNames(Y).concat(Object.getOwnPropertySymbols(Y))}:function(Y){return Object.getOwnPropertyNames(Y)};var v=Number.isNaN||function(Y){return Y!=Y};function f(){f.init.call(this)}w.exports=f,w.exports.once=function(Y,B){return new Promise((function(X,te){function ie(Te){Y.removeListener(B,se),te(Te)}function se(){typeof Y.removeListener=="function"&&Y.removeListener("error",ie),X([].slice.call(arguments))}z(Y,B,se,{once:!0}),B!=="error"&&(function(he,ge,ke){typeof he.on=="function"&&z(he,"error",ge,ke)})(Y,ie,{once:!0})}))},f.EventEmitter=f,f.prototype._events=void 0,f.prototype._eventsCount=0,f.prototype._maxListeners=void 0;var y=10;function m(K){if(typeof K!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof K)}function g(K){return K._maxListeners===void 0?f.defaultMaxListeners:K._maxListeners}function S(K,Y,B,X){var te,ie,se;if(m(B),(ie=K._events)===void 0?(ie=K._events=Object.create(null),K._eventsCount=0):(ie.newListener!==void 0&&(K.emit("newListener",Y,B.listener?B.listener:B),ie=K._events),se=ie[Y]),se===void 0)se=ie[Y]=B,++K._eventsCount;else if(typeof se=="function"?se=ie[Y]=X?[B,se]:[se,B]:X?se.unshift(B):se.push(B),(te=g(K))>0&&se.length>te&&!se.warned){se.warned=!0;var Te=new Error("Possible EventEmitter memory leak detected. "+se.length+" "+String(Y)+" listeners added. Use emitter.setMaxListeners() to increase limit");Te.name="MaxListenersExceededWarning",Te.emitter=K,Te.type=Y,Te.count=se.length,(function(ge){console&&console.warn&&console.warn(ge)})(Te)}return K}function _(){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 T(K,Y,B){var X={fired:!1,wrapFn:void 0,target:K,type:Y,listener:B},te=_.bind(X);return te.listener=B,X.wrapFn=te,te}function I(K,Y,B){var X=K._events;if(X===void 0)return[];var te=X[Y];return te===void 0?[]:typeof te=="function"?B?[te.listener||te]:[te]:B?(function(se){for(var Te=new Array(se.length),he=0;he<Te.length;++he)Te[he]=se[he].listener||se[he];return Te})(te):M(te,te.length)}function j(K){var Y=this._events;if(Y!==void 0){var B=Y[K];if(typeof B=="function")return 1;if(B!==void 0)return B.length}return 0}function M(K,Y){for(var B=new Array(Y),X=0;X<Y;++X)B[X]=K[X];return B}function z(K,Y,B,X){if(typeof K.on=="function")X.once?K.once(Y,B):K.on(Y,B);else{if(typeof K.addEventListener!="function")throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof K);K.addEventListener(Y,(function te(ie){X.once&&K.removeEventListener(Y,te),B(ie)}))}}Object.defineProperty(f,"defaultMaxListeners",{enumerable:!0,get:function(){return y},set:function(K){if(typeof K!="number"||K<0||v(K))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+K+".");y=K}}),f.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},f.prototype.setMaxListeners=function(Y){if(typeof Y!="number"||Y<0||v(Y))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Y+".");return this._maxListeners=Y,this},f.prototype.getMaxListeners=function(){return g(this)},f.prototype.emit=function(Y){for(var B=[],X=1;X<arguments.length;X++)B.push(arguments[X]);var te=Y==="error",ie=this._events;if(ie!==void 0)te=te&&ie.error===void 0;else if(!te)return!1;if(te){var se;if(B.length>0&&(se=B[0]),se instanceof Error)throw se;var Te=new Error("Unhandled error."+(se?" ("+se.message+")":""));throw Te.context=se,Te}var he=ie[Y];if(he===void 0)return!1;if(typeof he=="function")h(he,this,B);else{var ge=he.length,ke=M(he,ge);for(X=0;X<ge;++X)h(ke[X],this,B)}return!0},f.prototype.addListener=function(Y,B){return S(this,Y,B,!1)},f.prototype.on=f.prototype.addListener,f.prototype.prependListener=function(Y,B){return S(this,Y,B,!0)},f.prototype.once=function(Y,B){return m(B),this.on(Y,T(this,Y,B)),this},f.prototype.prependOnceListener=function(Y,B){return m(B),this.prependListener(Y,T(this,Y,B)),this},f.prototype.removeListener=function(Y,B){var X,te,ie,se,Te;if(m(B),(te=this._events)===void 0)return this;if((X=te[Y])===void 0)return this;if(X===B||X.listener===B)--this._eventsCount==0?this._events=Object.create(null):(delete te[Y],te.removeListener&&this.emit("removeListener",Y,X.listener||B));else if(typeof X!="function"){for(ie=-1,se=X.length-1;se>=0;se--)if(X[se]===B||X[se].listener===B){Te=X[se].listener,ie=se;break}if(ie<0)return this;ie===0?X.shift():(function(ge,ke){for(;ke+1<ge.length;ke++)ge[ke]=ge[ke+1];ge.pop()})(X,ie),X.length===1&&(te[Y]=X[0]),te.removeListener!==void 0&&this.emit("removeListener",Y,Te||B)}return this},f.prototype.off=f.prototype.removeListener,f.prototype.removeAllListeners=function(Y){var B,X,te;if((X=this._events)===void 0)return this;if(X.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):X[Y]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete X[Y]),this;if(arguments.length===0){var ie,se=Object.keys(X);for(te=0;te<se.length;++te)(ie=se[te])!=="removeListener"&&this.removeAllListeners(ie);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(B=X[Y])=="function")this.removeListener(Y,B);else if(B!==void 0)for(te=B.length-1;te>=0;te--)this.removeListener(Y,B[te]);return this},f.prototype.listeners=function(Y){return I(this,Y,!0)},f.prototype.rawListeners=function(Y){return I(this,Y,!1)},f.listenerCount=function(K,Y){return typeof K.listenerCount=="function"?K.listenerCount(Y):j.call(K,Y)},f.prototype.listenerCount=j,f.prototype.eventNames=function(){return this._eventsCount>0?N(this._events):[]}},85587(w,N,s){var h=s(26311),v=f(Error);function f(y){return m.displayName=y.displayName||y.name,m;function m(g){return g&&(g=h.apply(null,arguments)),new y(g)}}w.exports=v,v.eval=f(EvalError),v.range=f(RangeError),v.reference=f(ReferenceError),v.syntax=f(SyntaxError),v.type=f(TypeError),v.uri=f(URIError),v.create=f},82682(w,N,s){var h=s(69600),v=Object.prototype.toString,f=Object.prototype.hasOwnProperty;w.exports=function(m,g,S){if(!h(g))throw new TypeError("iterator must be a function");var _;arguments.length>=3&&(_=S),(function(I){return v.call(I)==="[object Array]"})(m)?(function(I,j,M){for(var z=0,K=I.length;z<K;z++)f.call(I,z)&&(M==null?j(I[z],z,I):j.call(M,I[z],z,I))})(m,g,_):typeof m=="string"?(function(I,j,M){for(var z=0,K=I.length;z<K;z++)M==null?j(I.charAt(z),z,I):j.call(M,I.charAt(z),z,I)})(m,g,_):(function(I,j,M){for(var z in I)f.call(I,z)&&(M==null?j(I[z],z,I):j.call(M,I[z],z,I))})(m,g,_)}},26311(w){(function(){var N;function s(h){for(var v,f,y,m,g=1,S=[].slice.call(arguments),_=0,T=h.length,I="",j=!1,M=!1,z=function(){return S[g++]},K=function(){for(var Y="";/\d/.test(h[_]);)Y+=h[_++],v=h[_];return Y.length>0?parseInt(Y):null};_<T;++_)if(v=h[_],j)switch(j=!1,v=="."?(M=!1,v=h[++_]):v=="0"&&h[_+1]=="."?(M=!0,v=h[_+=2]):M=!0,m=K(),v){case"b":I+=parseInt(z(),10).toString(2);break;case"c":I+=typeof(f=z())=="string"||f instanceof String?f:String.fromCharCode(parseInt(f,10));break;case"d":I+=parseInt(z(),10);break;case"f":y=String(parseFloat(z()).toFixed(m||6)),I+=M?y:y.replace(/^0/,"");break;case"j":I+=JSON.stringify(z());break;case"o":I+="0"+parseInt(z(),10).toString(8);break;case"s":I+=z();break;case"x":I+="0x"+parseInt(z(),10).toString(16);break;case"X":I+="0x"+parseInt(z(),10).toString(16).toUpperCase();break;default:I+=v}else v==="%"?j=!0:I+=v;return I}(N=w.exports=s).format=s,N.vsprintf=function(v,f){return s.apply(null,[v].concat(f))},typeof console<"u"&&typeof console.log=="function"&&(N.printf=function(){console.log(s.apply(null,arguments))})})()},89353(w){var N=Object.prototype.toString,s=Math.max,h=function(f,y){for(var m=[],g=0;g<f.length;g+=1)m[g]=f[g];for(var S=0;S<y.length;S+=1)m[S+f.length]=y[S];return m};w.exports=function(f){var y=this;if(typeof y!="function"||N.apply(y)!=="[object Function]")throw new TypeError("Function.prototype.bind called on incompatible "+y);for(var m,g=(function(M,z){for(var K=[],Y=z,B=0;Y<M.length;Y+=1,B+=1)K[B]=M[Y];return K})(arguments,1),S=s(0,y.length-g.length),_=[],T=0;T<S;T++)_[T]="$"+T;if(m=Function("binder","return function ("+(function(j,M){for(var z="",K=0;K<j.length;K+=1)z+=j[K],K+1<j.length&&(z+=M);return z})(_,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof m){var j=y.apply(this,h(g,arguments));return Object(j)===j?j:this}return y.apply(f,h(g,arguments))})),y.prototype){var I=function(){};I.prototype=y.prototype,m.prototype=new I,I.prototype=null}return m}},66743(w,N,s){var h=s(89353);w.exports=Function.prototype.bind||h},70453(w,N,s){var h,v=s(79612),f=s(69383),y=s(41237),m=s(79290),g=s(79538),S=s(58068),_=s(69675),T=s(35345),I=s(71514),j=s(58968),M=s(6188),z=s(68002),K=s(75880),Y=s(70414),B=s(73093),X=Function,te=function(ar){try{return X('"use strict"; return ('+ar+").constructor;")()}catch{}},ie=s(75795),se=s(30655),Te=function(){throw new _},he=ie?(function(){try{return Te}catch{try{return ie(arguments,"callee").get}catch{return Te}}})():Te,ge=s(64039)(),ke=s(93628),Ve=s(71064),He=s(48648),qe=s(11002),nt=s(10076),gt={},Re=typeof Uint8Array<"u"&&ke?ke(Uint8Array):h,u={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?h:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?h:ArrayBuffer,"%ArrayIteratorPrototype%":ge&&ke?ke([][Symbol.iterator]()):h,"%AsyncFromSyncIteratorPrototype%":h,"%AsyncFunction%":gt,"%AsyncGenerator%":gt,"%AsyncGeneratorFunction%":gt,"%AsyncIteratorPrototype%":gt,"%Atomics%":typeof Atomics>"u"?h:Atomics,"%BigInt%":typeof BigInt>"u"?h:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?h:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?h:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?h:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":f,"%eval%":eval,"%EvalError%":y,"%Float32Array%":typeof Float32Array>"u"?h:Float32Array,"%Float64Array%":typeof Float64Array>"u"?h:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?h:FinalizationRegistry,"%Function%":X,"%GeneratorFunction%":gt,"%Int8Array%":typeof Int8Array>"u"?h:Int8Array,"%Int16Array%":typeof Int16Array>"u"?h:Int16Array,"%Int32Array%":typeof Int32Array>"u"?h:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ge&&ke?ke(ke([][Symbol.iterator]())):h,"%JSON%":typeof JSON=="object"?JSON:h,"%Map%":typeof Map>"u"?h:Map,"%MapIteratorPrototype%":typeof Map<"u"&&ge&&ke?ke(new Map()[Symbol.iterator]()):h,"%Math%":Math,"%Number%":Number,"%Object%":v,"%Object.getOwnPropertyDescriptor%":ie,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?h:Promise,"%Proxy%":typeof Proxy>"u"?h:Proxy,"%RangeError%":m,"%ReferenceError%":g,"%Reflect%":typeof Reflect>"u"?h:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?h:Set,"%SetIteratorPrototype%":typeof Set<"u"&&ge&&ke?ke(new Set()[Symbol.iterator]()):h,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?h:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ge&&ke?ke(""[Symbol.iterator]()):h,"%Symbol%":ge?Symbol:h,"%SyntaxError%":S,"%ThrowTypeError%":he,"%TypedArray%":Re,"%TypeError%":_,"%Uint8Array%":typeof Uint8Array>"u"?h:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?h:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?h:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?h:Uint32Array,"%URIError%":T,"%WeakMap%":typeof WeakMap>"u"?h:WeakMap,"%WeakRef%":typeof WeakRef>"u"?h:WeakRef,"%WeakSet%":typeof WeakSet>"u"?h:WeakSet,"%Function.prototype.call%":nt,"%Function.prototype.apply%":qe,"%Object.defineProperty%":se,"%Object.getPrototypeOf%":Ve,"%Math.abs%":I,"%Math.floor%":j,"%Math.max%":M,"%Math.min%":z,"%Math.pow%":K,"%Math.round%":Y,"%Math.sign%":B,"%Reflect.getPrototypeOf%":He};if(ke)try{null.error}catch(ar){var at=ke(ke(ar));u["%Error.prototype%"]=at}var Xe=function ar(Tt){var Gt;if(Tt==="%AsyncFunction%")Gt=te("async function () {}");else if(Tt==="%GeneratorFunction%")Gt=te("function* () {}");else if(Tt==="%AsyncGeneratorFunction%")Gt=te("async function* () {}");else if(Tt==="%AsyncGenerator%"){var Sr=ar("%AsyncGeneratorFunction%");Sr&&(Gt=Sr.prototype)}else if(Tt==="%AsyncIteratorPrototype%"){var kt=ar("%AsyncGenerator%");kt&&ke&&(Gt=ke(kt.prototype))}return u[Tt]=Gt,Gt},Se={__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"]},De=s(66743),Ke=s(9957),ft=De.call(nt,Array.prototype.concat),Nt=De.call(qe,Array.prototype.splice),Wt=De.call(nt,String.prototype.replace),H=De.call(nt,String.prototype.slice),we=De.call(nt,RegExp.prototype.exec),ct=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,mt=/\\(\\)?/g,ur=function(Tt,Gt){var Sr,kt=Tt;if(Ke(Se,kt)&&(kt="%"+(Sr=Se[kt])[0]+"%"),Ke(u,kt)){var yt=u[kt];if(yt===gt&&(yt=Xe(kt)),yt===void 0&&!Gt)throw new _("intrinsic "+Tt+" exists, but is not available. Please file an issue!");return{alias:Sr,name:kt,value:yt}}throw new S("intrinsic "+Tt+" does not exist!")};w.exports=function(Tt,Gt){if(typeof Tt!="string"||Tt.length===0)throw new _("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Gt!="boolean")throw new _('"allowMissing" argument must be a boolean');if(we(/^%?[^%]*%?$/,Tt)===null)throw new S("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Sr=(function($t){var Pt=H($t,0,1),rn=H($t,-1);if(Pt==="%"&&rn!=="%")throw new S("invalid intrinsic syntax, expected closing `%`");if(rn==="%"&&Pt!=="%")throw new S("invalid intrinsic syntax, expected opening `%`");var kr=[];return Wt($t,ct,(function(An,Wr,Jn,Ea){kr[kr.length]=Jn?Wt(Ea,mt,"$1"):Wr||An})),kr})(Tt),kt=Sr.length>0?Sr[0]:"",yt=ur("%"+kt+"%",Gt),Zt=yt.name,pe=yt.value,U=!1,Z=yt.alias;Z&&(kt=Z[0],Nt(Sr,ft([0,1],Z)));for(var ne=1,ye=!0;ne<Sr.length;ne+=1){var Ee=Sr[ne],Fe=H(Ee,0,1),St=H(Ee,-1);if((Fe==='"'||Fe==="'"||Fe==="`"||St==='"'||St==="'"||St==="`")&&Fe!==St)throw new S("property names with quotes must have matching quotes");if(Ee!=="constructor"&&ye||(U=!0),Ke(u,Zt="%"+(kt+="."+Ee)+"%"))pe=u[Zt];else if(pe!=null){if(!(Ee in pe)){if(!Gt)throw new _("base intrinsic for "+Tt+" exists, but the property is not available.");return}if(ie&&ne+1>=Sr.length){var Bt=ie(pe,Ee);pe=(ye=!!Bt)&&"get"in Bt&&!("originalValue"in Bt.get)?Bt.get:pe[Ee]}else ye=Ke(pe,Ee),pe=pe[Ee];ye&&!U&&(u[Zt]=pe)}}return pe}},71064(w,N,s){var h=s(79612);w.exports=h.getPrototypeOf||null},48648(w){w.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null},93628(w,N,s){var h=s(48648),v=s(71064),f=s(7176);w.exports=h?function(m){return h(m)}:v?function(m){if(!m||typeof m!="object"&&typeof m!="function")throw new TypeError("getProto: not an object");return v(m)}:f?function(m){return f(m)}:null},6549(w){w.exports=Object.getOwnPropertyDescriptor},75795(w,N,s){var h=s(6549);if(h)try{h([],"length")}catch{h=null}w.exports=h},30592(w,N,s){var h=s(30655),v=function(){return!!h};v.hasArrayLengthDefineBug=function(){if(!h)return null;try{return h([],"length",{value:1}).length!==1}catch{return!0}},w.exports=v},64039(w,N,s){var h=typeof Symbol<"u"&&Symbol,v=s(41333);w.exports=function(){return typeof h=="function"&&typeof Symbol=="function"&&typeof h("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&v()}},41333(w){w.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var s={},h=Symbol("test"),v=Object(h);if(typeof h=="string"||Object.prototype.toString.call(h)!=="[object Symbol]"||Object.prototype.toString.call(v)!=="[object Symbol]")return!1;for(var f in s[h]=42,s)return!1;if(typeof Object.keys=="function"&&Object.keys(s).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(s).length!==0)return!1;var y=Object.getOwnPropertySymbols(s);if(y.length!==1||y[0]!==h||!Object.prototype.propertyIsEnumerable.call(s,h))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var m=Object.getOwnPropertyDescriptor(s,h);if(m.value!==42||m.enumerable!==!0)return!1}return!0}},49092(w,N,s){var h=s(41333);w.exports=function(){return h()&&!!Symbol.toStringTag}},9957(w,N,s){var h=Function.prototype.call,v=Object.prototype.hasOwnProperty,f=s(66743);w.exports=f.call(h,v)},45981(w){function N(ne){return ne instanceof Map?ne.clear=ne.delete=ne.set=function(){throw new Error("map is read-only")}:ne instanceof Set&&(ne.add=ne.clear=ne.delete=function(){throw new Error("set is read-only")}),Object.freeze(ne),Object.getOwnPropertyNames(ne).forEach((function(ye){var Ee=ne[ye];typeof Ee!="object"||Object.isFrozen(Ee)||N(Ee)})),ne}var s=N,h=N;s.default=h;class v{constructor(ye){ye.data===void 0&&(ye.data={}),this.data=ye.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function f(ne){return ne.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function y(ne,...ye){const Ee=Object.create(null);for(const Fe in ne)Ee[Fe]=ne[Fe];return ye.forEach((function(Fe){for(const St in Fe)Ee[St]=Fe[St]})),Ee}const m=ne=>!!ne.kind;class g{constructor(ye,Ee){this.buffer="",this.classPrefix=Ee.classPrefix,ye.walk(this)}addText(ye){this.buffer+=f(ye)}openNode(ye){if(!m(ye))return;let Ee=ye.kind;ye.sublanguage||(Ee=`${this.classPrefix}${Ee}`),this.span(Ee)}closeNode(ye){m(ye)&&(this.buffer+="</span>")}value(){return this.buffer}span(ye){this.buffer+=`<span class="${ye}">`}}class S{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(ye){this.top.children.push(ye)}openNode(ye){const Ee={kind:ye,children:[]};this.add(Ee),this.stack.push(Ee)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(ye){return this.constructor._walk(ye,this.rootNode)}static _walk(ye,Ee){return typeof Ee=="string"?ye.addText(Ee):Ee.children&&(ye.openNode(Ee),Ee.children.forEach((Fe=>this._walk(ye,Fe))),ye.closeNode(Ee)),ye}static _collapse(ye){typeof ye!="string"&&ye.children&&(ye.children.every((Ee=>typeof Ee=="string"))?ye.children=[ye.children.join("")]:ye.children.forEach((Ee=>{S._collapse(Ee)})))}}class _ extends S{constructor(ye){super(),this.options=ye}addKeyword(ye,Ee){ye!==""&&(this.openNode(Ee),this.addText(ye),this.closeNode())}addText(ye){ye!==""&&this.add(ye)}addSublanguage(ye,Ee){const Fe=ye.root;Fe.kind=Ee,Fe.sublanguage=!0,this.add(Fe)}toHTML(){return new g(this,this.options).value()}finalize(){return!0}}function T(ne){return ne?typeof ne=="string"?ne:ne.source:null}const I=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,j="[a-zA-Z]\\w*",M="[a-zA-Z_]\\w*",z="\\b\\d+(\\.\\d+)?",K="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Y="\\b(0b[01]+)",B={begin:"\\\\[\\s\\S]",relevance:0},X={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[B]},te={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[B]},ie={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/},se=function(ne,ye,Ee={}){const Fe=y({className:"comment",begin:ne,end:ye,contains:[]},Ee);return Fe.contains.push(ie),Fe.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),Fe},Te=se("//","$"),he=se("/\\*","\\*/"),ge=se("#","$"),ke={className:"number",begin:z,relevance:0},Ve={className:"number",begin:K,relevance:0},He={className:"number",begin:Y,relevance:0},qe={className:"number",begin:z+"(%|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},nt={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[B,{begin:/\[/,end:/\]/,relevance:0,contains:[B]}]}]},gt={className:"title",begin:j,relevance:0},Re={className:"title",begin:M,relevance:0},u={begin:"\\.\\s*"+M,relevance:0};var at=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:j,UNDERSCORE_IDENT_RE:M,NUMBER_RE:z,C_NUMBER_RE:K,BINARY_NUMBER_RE:Y,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(ne={})=>{const ye=/^#![ ]*\//;return ne.binary&&(ne.begin=(function(...Fe){return Fe.map((St=>T(St))).join("")})(ye,/.*\b/,ne.binary,/\b.*/)),y({className:"meta",begin:ye,end:/$/,relevance:0,"on:begin":(Ee,Fe)=>{Ee.index!==0&&Fe.ignoreMatch()}},ne)},BACKSLASH_ESCAPE:B,APOS_STRING_MODE:X,QUOTE_STRING_MODE:te,PHRASAL_WORDS_MODE:ie,COMMENT:se,C_LINE_COMMENT_MODE:Te,C_BLOCK_COMMENT_MODE:he,HASH_COMMENT_MODE:ge,NUMBER_MODE:ke,C_NUMBER_MODE:Ve,BINARY_NUMBER_MODE:He,CSS_NUMBER_MODE:qe,REGEXP_MODE:nt,TITLE_MODE:gt,UNDERSCORE_TITLE_MODE:Re,METHOD_GUARD:u,END_SAME_AS_BEGIN:function(ne){return Object.assign(ne,{"on:begin":(ye,Ee)=>{Ee.data._beginMatch=ye[1]},"on:end":(ye,Ee)=>{Ee.data._beginMatch!==ye[1]&&Ee.ignoreMatch()}})}});function Xe(ne,ye){ne.input[ne.index-1]==="."&&ye.ignoreMatch()}function Se(ne,ye){ye&&ne.beginKeywords&&(ne.begin="\\b("+ne.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",ne.__beforeBegin=Xe,ne.keywords=ne.keywords||ne.beginKeywords,delete ne.beginKeywords,ne.relevance===void 0&&(ne.relevance=0))}function De(ne,ye){Array.isArray(ne.illegal)&&(ne.illegal=(function(...Fe){return"("+Fe.map((St=>T(St))).join("|")+")"})(...ne.illegal))}function Ke(ne,ye){if(ne.match){if(ne.begin||ne.end)throw new Error("begin & end are not supported with match");ne.begin=ne.match,delete ne.match}}function ft(ne,ye){ne.relevance===void 0&&(ne.relevance=1)}const Nt=["of","and","for","in","not","or","if","then","parent","list","value"];function Wt(ne,ye,Ee="keyword"){const Fe={};return typeof ne=="string"?St(Ee,ne.split(" ")):Array.isArray(ne)?St(Ee,ne):Object.keys(ne).forEach((function(Bt){Object.assign(Fe,Wt(ne[Bt],ye,Bt))})),Fe;function St(Bt,Qe){ye&&(Qe=Qe.map(($t=>$t.toLowerCase()))),Qe.forEach((function($t){const Pt=$t.split("|");Fe[Pt[0]]=[Bt,H(Pt[0],Pt[1])]}))}}function H(ne,ye){return ye?Number(ye):(function(Fe){return Nt.includes(Fe.toLowerCase())})(ne)?0:1}function we(ne,{plugins:ye}){function Ee(Bt,Qe){return new RegExp(T(Bt),"m"+(ne.case_insensitive?"i":"")+(Qe?"g":""))}class Fe{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Qe,$t){$t.position=this.position++,this.matchIndexes[this.matchAt]=$t,this.regexes.push([$t,Qe]),this.matchAt+=(function(rn){return new RegExp(rn.toString()+"|").exec("").length-1})(Qe)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const Qe=this.regexes.map(($t=>$t[1]));this.matcherRe=Ee((function(Pt,rn="|"){let kr=0;return Pt.map((An=>{kr+=1;const Wr=kr;let Jn=T(An),Ea="";for(;Jn.length>0;){const Zn=I.exec(Jn);if(!Zn){Ea+=Jn;break}Ea+=Jn.substring(0,Zn.index),Jn=Jn.substring(Zn.index+Zn[0].length),Zn[0][0]==="\\"&&Zn[1]?Ea+="\\"+String(Number(Zn[1])+Wr):(Ea+=Zn[0],Zn[0]==="("&&kr++)}return Ea})).map((An=>`(${An})`)).join(rn)})(Qe),!0),this.lastIndex=0}exec(Qe){this.matcherRe.lastIndex=this.lastIndex;const $t=this.matcherRe.exec(Qe);if(!$t)return null;const Pt=$t.findIndex(((kr,An)=>An>0&&kr!==void 0)),rn=this.matchIndexes[Pt];return $t.splice(0,Pt),Object.assign($t,rn)}}class St{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Qe){if(this.multiRegexes[Qe])return this.multiRegexes[Qe];const $t=new Fe;return this.rules.slice(Qe).forEach((([Pt,rn])=>$t.addRule(Pt,rn))),$t.compile(),this.multiRegexes[Qe]=$t,$t}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(Qe,$t){this.rules.push([Qe,$t]),$t.type==="begin"&&this.count++}exec(Qe){const $t=this.getMatcher(this.regexIndex);$t.lastIndex=this.lastIndex;let Pt=$t.exec(Qe);if(this.resumingScanAtSamePosition()&&!(Pt&&Pt.index===this.lastIndex)){const rn=this.getMatcher(0);rn.lastIndex=this.lastIndex+1,Pt=rn.exec(Qe)}return Pt&&(this.regexIndex+=Pt.position+1,this.regexIndex===this.count&&this.considerAll()),Pt}}if(ne.compilerExtensions||(ne.compilerExtensions=[]),ne.contains&&ne.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return ne.classNameAliases=y(ne.classNameAliases||{}),(function Bt(Qe,$t){const Pt=Qe;if(Qe.isCompiled)return Pt;[Ke].forEach((kr=>kr(Qe,$t))),ne.compilerExtensions.forEach((kr=>kr(Qe,$t))),Qe.__beforeBegin=null,[Se,De,ft].forEach((kr=>kr(Qe,$t))),Qe.isCompiled=!0;let rn=null;if(typeof Qe.keywords=="object"&&(rn=Qe.keywords.$pattern,delete Qe.keywords.$pattern),Qe.keywords&&(Qe.keywords=Wt(Qe.keywords,ne.case_insensitive)),Qe.lexemes&&rn)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return rn=rn||Qe.lexemes||/\w+/,Pt.keywordPatternRe=Ee(rn,!0),$t&&(Qe.begin||(Qe.begin=/\B|\b/),Pt.beginRe=Ee(Qe.begin),Qe.endSameAsBegin&&(Qe.end=Qe.begin),Qe.end||Qe.endsWithParent||(Qe.end=/\B|\b/),Qe.end&&(Pt.endRe=Ee(Qe.end)),Pt.terminatorEnd=T(Qe.end)||"",Qe.endsWithParent&&$t.terminatorEnd&&(Pt.terminatorEnd+=(Qe.end?"|":"")+$t.terminatorEnd)),Qe.illegal&&(Pt.illegalRe=Ee(Qe.illegal)),Qe.contains||(Qe.contains=[]),Qe.contains=[].concat(...Qe.contains.map((function(kr){return(function(Wr){return Wr.variants&&!Wr.cachedVariants&&(Wr.cachedVariants=Wr.variants.map((function(Jn){return y(Wr,{variants:null},Jn)}))),Wr.cachedVariants?Wr.cachedVariants:ct(Wr)?y(Wr,{starts:Wr.starts?y(Wr.starts):null}):Object.isFrozen(Wr)?y(Wr):Wr})(kr==="self"?Qe:kr)}))),Qe.contains.forEach((function(kr){Bt(kr,Pt)})),Qe.starts&&Bt(Qe.starts,$t),Pt.matcher=(function(An){const Wr=new St;return An.contains.forEach((Jn=>Wr.addRule(Jn.begin,{rule:Jn,type:"begin"}))),An.terminatorEnd&&Wr.addRule(An.terminatorEnd,{type:"end"}),An.illegal&&Wr.addRule(An.illegal,{type:"illegal"}),Wr})(Pt),Pt})(ne)}function ct(ne){return!!ne&&(ne.endsWithParent||ct(ne.starts))}function mt(ne){const ye={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!ne.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,f(this.code);let Ee={};return this.autoDetect?(Ee=ne.highlightAuto(this.code),this.detectedLanguage=Ee.language):(Ee=ne.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),Ee.value},autoDetect(){return!this.language||(function(Fe){return!!(Fe||Fe==="")})(this.autodetect)},ignoreIllegals:()=>!0},render(Ee){return Ee("pre",{},[Ee("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:ye,VuePlugin:{install(Ee){Ee.component("highlightjs",ye)}}}}const ur={"after:highlightElement":({el:ne,result:ye,text:Ee})=>{const Fe=Tt(ne);if(!Fe.length)return;const St=document.createElement("div");St.innerHTML=ye.value,ye.value=(function(Qe,$t,Pt){let rn=0,kr="";const An=[];function Wr(){return Qe.length&&$t.length?Qe[0].offset!==$t[0].offset?Qe[0].offset<$t[0].offset?Qe:$t:$t[0].event==="start"?Qe:$t:Qe.length?Qe:$t}function Jn(un){function ti(Oo){return" "+Oo.nodeName+'="'+f(Oo.value)+'"'}kr+="<"+ar(un)+[].map.call(un.attributes,ti).join("")+">"}function Ea(un){kr+="</"+ar(un)+">"}function Zn(un){(un.event==="start"?Jn:Ea)(un.node)}for(;Qe.length||$t.length;){let un=Wr();if(kr+=f(Pt.substring(rn,un[0].offset)),rn=un[0].offset,un===Qe){An.reverse().forEach(Ea);do Zn(un.splice(0,1)[0]),un=Wr();while(un===Qe&&un.length&&un[0].offset===rn);An.reverse().forEach(Jn)}else un[0].event==="start"?An.push(un[0].node):An.pop(),Zn(un.splice(0,1)[0])}return kr+f(Pt.substr(rn))})(Fe,Tt(St),Ee)}};function ar(ne){return ne.nodeName.toLowerCase()}function Tt(ne){const ye=[];return(function Ee(Fe,St){for(let Bt=Fe.firstChild;Bt;Bt=Bt.nextSibling)Bt.nodeType===3?St+=Bt.nodeValue.length:Bt.nodeType===1&&(ye.push({event:"start",offset:St,node:Bt}),St=Ee(Bt,St),ar(Bt).match(/br|hr|img|input/)||ye.push({event:"stop",offset:St,node:Bt}));return St})(ne,0),ye}const Gt={},Sr=ne=>{console.error(ne)},kt=(ne,...ye)=>{console.log(`WARN: ${ne}`,...ye)},yt=(ne,ye)=>{Gt[`${ne}/${ye}`]||(console.log(`Deprecated as of ${ne}. ${ye}`),Gt[`${ne}/${ye}`]=!0)},Zt=f,pe=y,U=Symbol("nomatch");var Z=(function(ne){const ye=Object.create(null),Ee=Object.create(null),Fe=[];let St=!0;const Bt=/(^(<[^>]+>|\t|)+|\n)/gm,Qe="Could not find the language '{}', did you forget to load/include a language module?",$t={disableAutodetect:!0,name:"Plain text",contains:[]};let Pt={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:_};function rn(sr){return Pt.noHighlightRe.test(sr)}function kr(sr,br,tn,Cr){let Mr="",Nn="";typeof br=="object"?(Mr=sr,tn=br.ignoreIllegals,Nn=br.language,Cr=void 0):(yt("10.7.0","highlight(lang, code, ...args) has been deprecated."),yt("10.7.0",`Please use highlight(code, options) instead.
https://github.com/highlightjs/highlight.js/issues/2277`),Nn=sr,Mr=br);const nn={code:Mr,language:Nn};ds("before:highlight",nn);const fn=nn.result?nn.result:An(nn.language,nn.code,tn,Cr);return fn.code=nn.code,ds("after:highlight",fn),fn}function An(sr,br,tn,Cr){function Mr(Yt,gr){const mr=ea.case_insensitive?gr[0].toLowerCase():gr[0];return Object.prototype.hasOwnProperty.call(Yt.keywords,mr)&&Yt.keywords[mr]}function Nn(){Rr.subLanguage!=null?(function(){if(xn==="")return;let gr=null;if(typeof Rr.subLanguage=="string"){if(!ye[Rr.subLanguage])return void Nr.addText(xn);gr=An(Rr.subLanguage,xn,!0,ko[Rr.subLanguage]),ko[Rr.subLanguage]=gr.top}else gr=Wr(xn,Rr.subLanguage.length?Rr.subLanguage:null);Rr.relevance>0&&(fi+=gr.relevance),Nr.addSublanguage(gr.emitter,gr.language)})():(function(){if(!Rr.keywords)return void Nr.addText(xn);let gr=0;Rr.keywordPatternRe.lastIndex=0;let mr=Rr.keywordPatternRe.exec(xn),Vr="";for(;mr;){Vr+=xn.substring(gr,mr.index);const Gr=Mr(Rr,mr);if(Gr){const[sa,Sa]=Gr;if(Nr.addText(Vr),Vr="",fi+=Sa,sa.startsWith("_"))Vr+=mr[0];else{const Ja=ea.classNameAliases[sa]||sa;Nr.addKeyword(mr[0],Ja)}}else Vr+=mr[0];gr=Rr.keywordPatternRe.lastIndex,mr=Rr.keywordPatternRe.exec(xn)}Vr+=xn.substr(gr),Nr.addText(Vr)})(),xn=""}function nn(Yt){return Yt.className&&Nr.openNode(ea.classNameAliases[Yt.className]||Yt.className),Rr=Object.create(Yt,{parent:{value:Rr}}),Rr}function fn(Yt,gr,mr){let Vr=(function(sa,Sa){const Ja=sa&&sa.exec(Sa);return Ja&&Ja.index===0})(Yt.endRe,mr);if(Vr){if(Yt["on:end"]){const Gr=new v(Yt);Yt["on:end"](gr,Gr),Gr.isMatchIgnored&&(Vr=!1)}if(Vr){for(;Yt.endsParent&&Yt.parent;)Yt=Yt.parent;return Yt}}if(Yt.endsWithParent)return fn(Yt.parent,gr,mr)}function Ln(Yt){return Rr.matcher.regexIndex===0?(xn+=Yt[0],1):(ms=!0,0)}function Hr(Yt){const gr=Yt[0],mr=Yt.rule,Vr=new v(mr),Gr=[mr.__beforeBegin,mr["on:begin"]];for(const sa of Gr)if(sa&&(sa(Yt,Vr),Vr.isMatchIgnored))return Ln(gr);return mr&&mr.endSameAsBegin&&(mr.endRe=(function(Sa){return new RegExp(Sa.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")})(gr)),mr.skip?xn+=gr:(mr.excludeBegin&&(xn+=gr),Nn(),mr.returnBegin||mr.excludeBegin||(xn=gr)),nn(mr),mr.returnBegin?0:gr.length}function ia(Yt){const gr=Yt[0],mr=br.substr(Yt.index),Vr=fn(Rr,Yt,mr);if(!Vr)return U;const Gr=Rr;Gr.skip?xn+=gr:(Gr.returnEnd||Gr.excludeEnd||(xn+=gr),Nn(),Gr.excludeEnd&&(xn=gr));do Rr.className&&Nr.closeNode(),Rr.skip||Rr.subLanguage||(fi+=Rr.relevance),Rr=Rr.parent;while(Rr!==Vr.parent);return Vr.starts&&(Vr.endSameAsBegin&&(Vr.starts.endRe=Vr.endRe),nn(Vr.starts)),Gr.returnEnd?0:gr.length}let za={};function fs(Yt,gr){const mr=gr&&gr[0];if(xn+=Yt,mr==null)return Nn(),0;if(za.type==="begin"&&gr.type==="end"&&za.index===gr.index&&mr===""){if(xn+=br.slice(gr.index,gr.index+1),!St){const Vr=new Error("0 width match regex");throw Vr.languageName=sr,Vr.badRule=za.rule,Vr}return 1}if(za=gr,gr.type==="begin")return Hr(gr);if(gr.type==="illegal"&&!tn){const Vr=new Error('Illegal lexeme "'+mr+'" for mode "'+(Rr.className||"<unnamed>")+'"');throw Vr.mode=Rr,Vr}if(gr.type==="end"){const Vr=ia(gr);if(Vr!==U)return Vr}if(gr.type==="illegal"&&mr==="")return 1;if(Jo>1e5&&Jo>3*gr.index)throw new Error("potential infinite loop, way more iterations than matches");return xn+=mr,mr.length}const ea=Fn(sr);if(!ea)throw Sr(Qe.replace("{}",sr)),new Error('Unknown language: "'+sr+'"');const di=we(ea,{plugins:Fe});let Va="",Rr=Cr||di;const ko={},Nr=new Pt.__emitter(Pt);(function(){const gr=[];for(let mr=Rr;mr!==ea;mr=mr.parent)mr.className&&gr.unshift(mr.className);gr.forEach((mr=>Nr.openNode(mr)))})();let xn="",fi=0,ta=0,Jo=0,ms=!1;try{for(Rr.matcher.considerAll();;){Jo++,ms?ms=!1:Rr.matcher.considerAll(),Rr.matcher.lastIndex=ta;const Yt=Rr.matcher.exec(br);if(!Yt)break;const gr=fs(br.substring(ta,Yt.index),Yt);ta=Yt.index+gr}return fs(br.substr(ta)),Nr.closeAllNodes(),Nr.finalize(),Va=Nr.toHTML(),{relevance:Math.floor(fi),value:Va,language:sr,illegal:!1,emitter:Nr,top:Rr}}catch(Yt){if(Yt.message&&Yt.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:Yt.message,context:br.slice(ta-100,ta+100),mode:Yt.mode},sofar:Va,relevance:0,value:Zt(br),emitter:Nr};if(St)return{illegal:!1,relevance:0,value:Zt(br),emitter:Nr,language:sr,top:Rr,errorRaised:Yt};throw Yt}}function Wr(sr,br){br=br||Pt.languages||Object.keys(ye);const tn=(function(Hr){const ia={relevance:0,emitter:new Pt.__emitter(Pt),value:Zt(Hr),illegal:!1,top:$t};return ia.emitter.addText(Hr),ia})(sr),Cr=br.filter(Fn).filter(Vo).map((Ln=>An(Ln,sr,!1)));Cr.unshift(tn);const Mr=Cr.sort(((Ln,Hr)=>{if(Ln.relevance!==Hr.relevance)return Hr.relevance-Ln.relevance;if(Ln.language&&Hr.language){if(Fn(Ln.language).supersetOf===Hr.language)return 1;if(Fn(Hr.language).supersetOf===Ln.language)return-1}return 0})),[Nn,nn]=Mr,fn=Nn;return fn.second_best=nn,fn}const Jn={"before:highlightElement":({el:sr})=>{Pt.useBR&&(sr.innerHTML=sr.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
`))},"after:highlightElement":({result:sr})=>{Pt.useBR&&(sr.value=sr.value.replace(/\n/g,"<br>"))}},Ea=/^(<[^>]+>|\t)+/gm,Zn={"after:highlightElement":({result:sr})=>{Pt.tabReplace&&(sr.value=sr.value.replace(Ea,(br=>br.replace(/\t/g,Pt.tabReplace))))}};function un(sr){let br=null;const tn=(function(nn){let fn=nn.className+" ";fn+=nn.parentNode?nn.parentNode.className:"";const Ln=Pt.languageDetectRe.exec(fn);if(Ln){const Hr=Fn(Ln[1]);return Hr||(kt(Qe.replace("{}",Ln[1])),kt("Falling back to no-highlight mode for this block.",nn)),Hr?Ln[1]:"no-highlight"}return fn.split(/\s+/).find((Hr=>rn(Hr)||Fn(Hr)))})(sr);if(rn(tn))return;ds("before:highlightElement",{el:sr,language:tn}),br=sr;const Cr=br.textContent,Mr=tn?kr(Cr,{language:tn,ignoreIllegals:!0}):Wr(Cr);ds("after:highlightElement",{el:sr,result:Mr,text:Cr}),sr.innerHTML=Mr.value,(function(nn,fn,Ln){const Hr=fn?Ee[fn]:Ln;nn.classList.add("hljs"),Hr&&nn.classList.add(Hr)})(sr,tn,Mr.language),sr.result={language:Mr.language,re:Mr.relevance,relavance:Mr.relevance},Mr.second_best&&(sr.second_best={language:Mr.second_best.language,re:Mr.second_best.relevance,relavance:Mr.second_best.relevance})}const ti=()=>{ti.called||(ti.called=!0,yt("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(un))};let Oo=!1;function Li(){if(document.readyState==="loading")return void(Oo=!0);document.querySelectorAll("pre code").forEach(un)}function Fn(sr){return sr=(sr||"").toLowerCase(),ye[sr]||ye[Ee[sr]]}function zo(sr,{languageName:br}){typeof sr=="string"&&(sr=[sr]),sr.forEach((tn=>{Ee[tn.toLowerCase()]=br}))}function Vo(sr){const br=Fn(sr);return br&&!br.disableAutodetect}function ds(sr,br){const tn=sr;Fe.forEach((function(Cr){Cr[tn]&&Cr[tn](br)}))}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){Oo&&Li()}),!1),Object.assign(ne,{highlight:kr,highlightAuto:Wr,highlightAll:Li,fixMarkup:function(br){return yt("10.2.0","fixMarkup will be removed entirely in v11.0"),yt("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),(function(Cr){return Pt.tabReplace||Pt.useBR?Cr.replace(Bt,(Mr=>Mr===`
`?Pt.useBR?"<br>":Mr:Pt.tabReplace?Mr.replace(/\t/g,Pt.tabReplace):Mr)):Cr})(br)},highlightElement:un,highlightBlock:function(br){return yt("10.7.0","highlightBlock will be removed entirely in v12.0"),yt("10.7.0","Please use highlightElement now."),un(br)},configure:function(br){br.useBR&&(yt("10.3.0","'useBR' will be removed entirely in v11.0"),yt("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),Pt=pe(Pt,br)},initHighlighting:ti,initHighlightingOnLoad:function(){yt("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),Oo=!0},registerLanguage:function(br,tn){let Cr=null;try{Cr=tn(ne)}catch(Mr){if(Sr("Language definition for '{}' could not be registered.".replace("{}",br)),!St)throw Mr;Sr(Mr),Cr=$t}Cr.name||(Cr.name=br),ye[br]=Cr,Cr.rawDefinition=tn.bind(null,ne),Cr.aliases&&zo(Cr.aliases,{languageName:br})},unregisterLanguage:function(br){delete ye[br];for(const tn of Object.keys(Ee))Ee[tn]===br&&delete Ee[tn]},listLanguages:function(){return Object.keys(ye)},getLanguage:Fn,registerAliases:zo,requireLanguage:function(br){yt("10.4.0","requireLanguage will be removed entirely in v11."),yt("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const tn=Fn(br);if(tn)return tn;throw new Error("The '{}' language is required, but not loaded.".replace("{}",br))},autoDetection:Vo,inherit:pe,addPlugin:function(br){(function(Cr){Cr["before:highlightBlock"]&&!Cr["before:highlightElement"]&&(Cr["before:highlightElement"]=Mr=>{Cr["before:highlightBlock"](Object.assign({block:Mr.el},Mr))}),Cr["after:highlightBlock"]&&!Cr["after:highlightElement"]&&(Cr["after:highlightElement"]=Mr=>{Cr["after:highlightBlock"](Object.assign({block:Mr.el},Mr))})})(br),Fe.push(br)},vuePlugin:mt(ne).VuePlugin}),ne.debugMode=function(){St=!1},ne.safeMode=function(){St=!0},ne.versionString="10.7.3";for(const sr in at)typeof at[sr]=="object"&&s(at[sr]);return Object.assign(ne,at),ne.addPlugin(Jn),ne.addPlugin(ur),ne.addPlugin(Zn),ne})({});w.exports=Z},35344(w){function N(...s){return s.map((h=>(function(f){return f?typeof f=="string"?f:f.source:null})(h))).join("")}w.exports=function(h){const v={},f={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[v]}]};Object.assign(v,{className:"variable",variants:[{begin:N(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},f]});const y={className:"subst",begin:/\$\(/,end:/\)/,contains:[h.BACKSLASH_ESCAPE]},m={begin:/<<-?\s*(?=\w+)/,starts:{contains:[h.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},g={className:"string",begin:/"/,end:/"/,contains:[h.BACKSLASH_ESCAPE,v,y]};y.contains.push(g);const S={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},h.NUMBER_MODE,v]},_=h.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),T={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[h.inherit(h.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:[_,h.SHEBANG(),T,S,h.HASH_COMMENT_MODE,m,g,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},v]}}},73402(w){function N(...s){return s.map((h=>(function(f){return f?typeof f=="string"?f:f.source:null})(h))).join("")}w.exports=function(h){const v="HTTP/(2|1\\.[01])",f={className:"attribute",begin:N("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},y=[f,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+v+" \\d{3})",end:/$/,contains:[{className:"meta",begin:v},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:y}},{begin:"(?=^[A-Z]+ (.*?) "+v+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:v},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:y}},h.inherit(f,{relevance:0})]}}},95089(w){const N="[A-Za-z$_][0-9A-Za-z$_]*",s=["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"],h=["true","false","null","undefined","NaN","Infinity"],v=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["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"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function f(m){return y("(?=",m,")")}function y(...m){return m.map((g=>(function(_){return _?typeof _=="string"?_:_.source:null})(g))).join("")}w.exports=function(g){const S=N,_="<>",T="</>",I={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Ve,He)=>{const qe=Ve[0].length+Ve.index,nt=Ve.input[qe];nt!=="<"?nt===">"&&(((gt,{after:Re})=>{const u="</"+gt[0].slice(1);return gt.input.indexOf(u,Re)!==-1})(Ve,{after:qe})||He.ignoreMatch()):He.ignoreMatch()}},j={$pattern:N,keyword:s,literal:h,built_in:v},M="[0-9](_?[0-9])*",z=`\\.(${M})`,K="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",Y={className:"number",variants:[{begin:`(\\b(${K})((${z})|\\.)?|(${z}))[eE][+-]?(${M})\\b`},{begin:`\\b(${K})\\b((${z})\\b|\\.)?|(${z})\\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},B={className:"subst",begin:"\\$\\{",end:"\\}",keywords:j,contains:[]},X={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[g.BACKSLASH_ESCAPE,B],subLanguage:"xml"}},te={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[g.BACKSLASH_ESCAPE,B],subLanguage:"css"}},ie={className:"string",begin:"`",end:"`",contains:[g.BACKSLASH_ESCAPE,B]},se={className:"comment",variants:[g.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:S+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),g.C_BLOCK_COMMENT_MODE,g.C_LINE_COMMENT_MODE]},Te=[g.APOS_STRING_MODE,g.QUOTE_STRING_MODE,X,te,ie,Y,g.REGEXP_MODE];B.contains=Te.concat({begin:/\{/,end:/\}/,keywords:j,contains:["self"].concat(Te)});const he=[].concat(se,B.contains),ge=he.concat([{begin:/\(/,end:/\)/,keywords:j,contains:["self"].concat(he)}]),ke={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:j,contains:ge};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:j,exports:{PARAMS_CONTAINS:ge},illegal:/#(?![$_A-z])/,contains:[g.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},g.APOS_STRING_MODE,g.QUOTE_STRING_MODE,X,te,ie,se,Y,{begin:y(/[{,\n]\s*/,f(y(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,S+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:S+f("\\s*:"),relevance:0}]},{begin:"("+g.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[se,g.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+g.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:g.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:j,contains:ge}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:_,end:T},{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:j,contains:["self",g.inherit(g.TITLE_MODE,{begin:S}),ke],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:g.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[ke,g.inherit(g.TITLE_MODE,{begin:S})]},{variants:[{begin:"\\."+S},{begin:"\\$"+S}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},g.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[g.inherit(g.TITLE_MODE,{begin:S}),"self",ke]},{begin:"(get|set)\\s+(?="+S+"\\()",end:/\{/,keywords:"get set",contains:[g.inherit(g.TITLE_MODE,{begin:S}),{begin:/\(\)/},ke]},{begin:/\$[(.]/}]}}},65772(w){w.exports=function(s){const h={literal:"true false null"},v=[s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE],f=[s.QUOTE_STRING_MODE,s.C_NUMBER_MODE],y={end:",",endsWithParent:!0,excludeEnd:!0,contains:f,keywords:h},m={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[s.BACKSLASH_ESCAPE],illegal:"\\n"},s.inherit(y,{begin:/:/})].concat(v),illegal:"\\S"},g={begin:"\\[",end:"\\]",contains:[s.inherit(y)],illegal:"\\S"};return f.push(m,g),v.forEach((function(S){f.push(S)})),{name:"JSON",contains:f,keywords:h,illegal:"\\S"}}},26571(w){w.exports=function(s){const h={$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"},v={begin:"`[\\s\\S]",relevance:0},f={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},y={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[v,f,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},m={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},g=s.inherit(s.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),S={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|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",")+(-)[\\w\\d]+")}]},_={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[s.TITLE_MODE]},T={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[f]}]},I={begin:/using\s/,end:/$/,returnBegin:!0,contains:[y,m,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},j={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},M={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(h.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},s.inherit(s.TITLE_MODE,{endsParent:!0})]},z=[M,g,v,s.NUMBER_MODE,y,m,S,f,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],K={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",z,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return M.contains.unshift(K),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:h,contains:z.concat(_,T,I,j,K)}}},17285(w){function N(f){return f?typeof f=="string"?f:f.source:null}function s(f){return h("(?=",f,")")}function h(...f){return f.map((y=>N(y))).join("")}function v(...f){return"("+f.map((y=>N(y))).join("|")+")"}w.exports=function(y){const m=h(/[A-Z_]/,(function(z){return h("(",z,")?")})(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),g={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},S={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},_=y.inherit(S,{begin:/\(/,end:/\)/}),T=y.inherit(y.APOS_STRING_MODE,{className:"meta-string"}),I=y.inherit(y.QUOTE_STRING_MODE,{className:"meta-string"}),j={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[A-Za-z0-9._:-]+/,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[g]},{begin:/'/,end:/'/,contains:[g]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[S,I,T,_,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[S,_,I,T]}]}]},y.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},g,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[j],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[j],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:h(/</,s(h(m,v(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:m,relevance:0,starts:j}]},{className:"tag",begin:h(/<\//,s(h(m,/>/))),contains:[{className:"name",begin:m,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},17533(w){w.exports=function(s){var h="true false yes no null",v="[\\w#;/?:@&=+$,.~*'()[\\]]+",f={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[s.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},y=s.inherit(f,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),m={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},g={end:",",endsWithParent:!0,excludeEnd:!0,keywords:h,relevance:0},S={begin:/\{/,end:/\}/,contains:[g],illegal:"\\n",relevance:0},_={begin:"\\[",end:"\\]",contains:[g],illegal:"\\n",relevance:0},T=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},{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+!"+v},{className:"type",begin:"!<"+v+">"},{className:"type",begin:"!"+v},{className:"type",begin:"!!"+v},{className:"meta",begin:"&"+s.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+s.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},s.HASH_COMMENT_MODE,{beginKeywords:h,keywords:{literal:h}},m,{className:"number",begin:s.C_NUMBER_RE+"\\b",relevance:0},S,_,f],I=[...T];return I.pop(),I.push(y),g.contains=I,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:T}}},251(w,N){N.read=function(s,h,v,f,y){var m,g,S=8*y-f-1,_=(1<<S)-1,T=_>>1,I=-7,j=v?y-1:0,M=v?-1:1,z=s[h+j];for(j+=M,m=z&(1<<-I)-1,z>>=-I,I+=S;I>0;m=256*m+s[h+j],j+=M,I-=8);for(g=m&(1<<-I)-1,m>>=-I,I+=f;I>0;g=256*g+s[h+j],j+=M,I-=8);if(m===0)m=1-T;else{if(m===_)return g?NaN:1/0*(z?-1:1);g+=Math.pow(2,f),m-=T}return(z?-1:1)*g*Math.pow(2,m-f)},N.write=function(s,h,v,f,y,m){var g,S,_,T=8*m-y-1,I=(1<<T)-1,j=I>>1,M=y===23?Math.pow(2,-24)-Math.pow(2,-77):0,z=f?0:m-1,K=f?1:-1,Y=h<0||h===0&&1/h<0?1:0;for(h=Math.abs(h),isNaN(h)||h===1/0?(S=isNaN(h)?1:0,g=I):(g=Math.floor(Math.log(h)/Math.LN2),h*(_=Math.pow(2,-g))<1&&(g--,_*=2),(h+=g+j>=1?M/_:M*Math.pow(2,1-j))*_>=2&&(g++,_/=2),g+j>=I?(S=0,g=I):g+j>=1?(S=(h*_-1)*Math.pow(2,y),g+=j):(S=h*Math.pow(2,j-1)*Math.pow(2,y),g=0));y>=8;s[v+z]=255&S,z+=K,S/=256,y-=8);for(g=g<<y|S,T+=y;T>0;s[v+z]=255&g,z+=K,g/=256,T-=8);s[v+z-K]|=128*Y}},49568(w,N,s){s.r(N),s.d(N,{Collection:()=>he,Iterable:()=>ip,List:()=>Wo,Map:()=>vi,OrderedMap:()=>Ra,OrderedSet:()=>Da,PairSorting:()=>cc,Range:()=>zi,Record:()=>jn,Repeat:()=>vl,Seq:()=>ar,Set:()=>No,Stack:()=>ul,default:()=>sp,fromJS:()=>Zc,get:()=>Ia,getIn:()=>lc,has:()=>Wa,hasIn:()=>ml,hash:()=>kr,is:()=>Qe,isAssociative:()=>Te,isCollection:()=>B,isImmutable:()=>Re,isIndexed:()=>se,isKeyed:()=>te,isList:()=>Bi,isMap:()=>Fe,isOrdered:()=>at,isOrderedMap:()=>St,isOrderedSet:()=>pl,isPlainObject:()=>sa,isRecord:()=>gt,isSeq:()=>qe,isSet:()=>Ui,isStack:()=>cl,isValueObject:()=>Bt,merge:()=>nc,mergeDeep:()=>Ku,mergeDeepWith:()=>$c,mergeWith:()=>Hu,remove:()=>gs,removeIn:()=>Zl,set:()=>ys,setIn:()=>Wu,update:()=>Ao,updateIn:()=>lo,version:()=>tu});var h="delete",v=32,f=31,y={};function m(A){A&&(A.value=!0)}function g(){}function S(A){return A.size===void 0&&(A.size=A.__iterate(T)),A.size}function _(A,O){if(typeof O!="number"){var D=O>>>0;if(""+D!==O||D===4294967295)return NaN;O=D}return O<0?S(A)+O:O}function T(){return!0}function I(A,O,D){return(A===0&&!K(A)||D!==void 0&&A<=-D)&&(O===void 0||D!==void 0&&O>=D)}function j(A,O){return z(A,O,0)}function M(A,O){return z(A,O,O)}function z(A,O,D){return A===void 0?D:K(A)?O===1/0?O:0|Math.max(0,O+A):O===void 0||O===A?A:0|Math.min(O,A)}function K(A){return A<0||A===0&&1/A==-1/0}var Y="@@__IMMUTABLE_ITERABLE__@@";function B(A){return!!(A&&A[Y])}var X="@@__IMMUTABLE_KEYED__@@";function te(A){return!!(A&&A[X])}var ie="@@__IMMUTABLE_INDEXED__@@";function se(A){return!!(A&&A[ie])}function Te(A){return te(A)||se(A)}var he=function(O){return B(O)?O:ar(O)},ge=(function(A){function O(D){return te(D)?D:Tt(D)}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O})(he),ke=(function(A){function O(D){return se(D)?D:Gt(D)}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O})(he),Ve=(function(A){function O(D){return B(D)&&!Te(D)?D:Sr(D)}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O})(he);he.Keyed=ge,he.Indexed=ke,he.Set=Ve;var He="@@__IMMUTABLE_SEQ__@@";function qe(A){return!!(A&&A[He])}var nt="@@__IMMUTABLE_RECORD__@@";function gt(A){return!!(A&&A[nt])}function Re(A){return B(A)||gt(A)}var u="@@__IMMUTABLE_ORDERED__@@";function at(A){return!!(A&&A[u])}var Xe=typeof Symbol=="function"&&Symbol.iterator,Se="@@iterator",De=Xe||Se,Ke=function(O){this.next=O};function ft(A,O,D,F){var q=A===0?O:A===1?D:[O,D];return F?F.value=q:F={value:q,done:!1},F}function Nt(){return{value:void 0,done:!0}}function Wt(A){return!!Array.isArray(A)||!!ct(A)}function H(A){return A&&typeof A.next=="function"}function we(A){var O=ct(A);return O&&O.call(A)}function ct(A){var O=A&&(Xe&&A[Xe]||A[Se]);if(typeof O=="function")return O}Ke.prototype.toString=function(){return"[Iterator]"},Ke.KEYS=0,Ke.VALUES=1,Ke.ENTRIES=2,Ke.prototype.inspect=Ke.prototype.toSource=function(){return this.toString()},Ke.prototype[De]=function(){return this};var mt=Object.prototype.hasOwnProperty;function ur(A){return!(!Array.isArray(A)&&typeof A!="string")||A&&typeof A=="object"&&Number.isInteger(A.length)&&A.length>=0&&(A.length===0?Object.keys(A).length===1:A.hasOwnProperty(A.length-1))}var ar=(function(A){function O(D){return D==null?U():Re(D)?D.toSeq():(function(q){var ae=ye(q);if(ae)return(function(fe){var Pe=ct(fe);return Pe&&Pe===fe.entries})(q)?ae.fromEntrySeq():(function(fe){var Pe=ct(fe);return Pe&&Pe===fe.keys})(q)?ae.toSetSeq():ae;if(typeof q=="object")return new yt(q);throw new TypeError("Expected Array or collection object of values, or keyed object: "+q)})(D)}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.prototype.toSeq=function(){return this},O.prototype.toString=function(){return this.__toString("Seq {","}")},O.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},O.prototype.__iterate=function(F,q){var ae=this._cache;if(ae){for(var oe=ae.length,fe=0;fe!==oe;){var Pe=ae[q?oe-++fe:fe++];if(F(Pe[1],Pe[0],this)===!1)break}return fe}return this.__iterateUncached(F,q)},O.prototype.__iterator=function(F,q){var ae=this._cache;if(ae){var oe=ae.length,fe=0;return new Ke((function(){if(fe===oe)return{value:void 0,done:!0};var Pe=ae[q?oe-++fe:fe++];return ft(F,Pe[0],Pe[1])}))}return this.__iteratorUncached(F,q)},O})(he),Tt=(function(A){function O(D){return D==null?U().toKeyedSeq():B(D)?te(D)?D.toSeq():D.fromEntrySeq():gt(D)?D.toSeq():Z(D)}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.prototype.toKeyedSeq=function(){return this},O})(ar),Gt=(function(A){function O(D){return D==null?U():B(D)?te(D)?D.entrySeq():D.toIndexedSeq():gt(D)?D.toSeq().entrySeq():ne(D)}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.of=function(){return O(arguments)},O.prototype.toIndexedSeq=function(){return this},O.prototype.toString=function(){return this.__toString("Seq [","]")},O})(ar),Sr=(function(A){function O(D){return(B(D)&&!Te(D)?D:Gt(D)).toSetSeq()}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.of=function(){return O(arguments)},O.prototype.toSetSeq=function(){return this},O})(ar);ar.isSeq=qe,ar.Keyed=Tt,ar.Set=Sr,ar.Indexed=Gt,ar.prototype[He]=!0;var kt=(function(A){function O(D){this._array=D,this.size=D.length}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.prototype.get=function(F,q){return this.has(F)?this._array[_(this,F)]:q},O.prototype.__iterate=function(F,q){for(var ae=this._array,oe=ae.length,fe=0;fe!==oe;){var Pe=q?oe-++fe:fe++;if(F(ae[Pe],Pe,this)===!1)break}return fe},O.prototype.__iterator=function(F,q){var ae=this._array,oe=ae.length,fe=0;return new Ke((function(){if(fe===oe)return{value:void 0,done:!0};var Pe=q?oe-++fe:fe++;return ft(F,Pe,ae[Pe])}))},O})(Gt),yt=(function(A){function O(D){var F=Object.keys(D).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(D):[]);this._object=D,this._keys=F,this.size=F.length}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.prototype.get=function(F,q){return q===void 0||this.has(F)?this._object[F]:q},O.prototype.has=function(F){return mt.call(this._object,F)},O.prototype.__iterate=function(F,q){for(var ae=this._object,oe=this._keys,fe=oe.length,Pe=0;Pe!==fe;){var ze=oe[q?fe-++Pe:Pe++];if(F(ae[ze],ze,this)===!1)break}return Pe},O.prototype.__iterator=function(F,q){var ae=this._object,oe=this._keys,fe=oe.length,Pe=0;return new Ke((function(){if(Pe===fe)return{value:void 0,done:!0};var ze=oe[q?fe-++Pe:Pe++];return ft(F,ze,ae[ze])}))},O})(Tt);yt.prototype[u]=!0;var Zt,pe=(function(A){function O(D){this._collection=D,this.size=D.length||D.size}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.prototype.__iterateUncached=function(F,q){if(q)return this.cacheResult().__iterate(F,q);var ae=we(this._collection),oe=0;if(H(ae))for(var fe;!(fe=ae.next()).done&&F(fe.value,oe++,this)!==!1;);return oe},O.prototype.__iteratorUncached=function(F,q){if(q)return this.cacheResult().__iterator(F,q);var ae=we(this._collection);if(!H(ae))return new Ke(Nt);var oe=0;return new Ke((function(){var fe=ae.next();return fe.done?fe:ft(F,oe++,fe.value)}))},O})(Gt);function U(){return Zt||(Zt=new kt([]))}function Z(A){var O=ye(A);if(O)return O.fromEntrySeq();if(typeof A=="object")return new yt(A);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+A)}function ne(A){var O=ye(A);if(O)return O;throw new TypeError("Expected Array or collection object of values: "+A)}function ye(A){return ur(A)?new kt(A):Wt(A)?new pe(A):void 0}var Ee="@@__IMMUTABLE_MAP__@@";function Fe(A){return!!(A&&A[Ee])}function St(A){return Fe(A)&&at(A)}function Bt(A){return!!(A&&typeof A.equals=="function"&&typeof A.hashCode=="function")}function Qe(A,O){if(A===O||A!=A&&O!=O)return!0;if(!A||!O)return!1;if(typeof A.valueOf=="function"&&typeof O.valueOf=="function"){if((A=A.valueOf())===(O=O.valueOf())||A!=A&&O!=O)return!0;if(!A||!O)return!1}return!!(Bt(A)&&Bt(O)&&A.equals(O))}var $t=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(O,D){var F=65535&(O|=0),q=65535&(D|=0);return F*q+((O>>>16)*q+F*(D>>>16)<<16>>>0)|0};function Pt(A){return A>>>1&1073741824|3221225471&A}var rn=Object.prototype.valueOf;function kr(A){if(A==null)return An(A);if(typeof A.hashCode=="function")return Pt(A.hashCode(A));var O=(function(F){return F.valueOf!==rn&&typeof F.valueOf=="function"?F.valueOf(F):F})(A);if(O==null)return An(O);switch(typeof O){case"boolean":return O?1108378657:1108378656;case"number":return(function(F){if(F!=F||F===1/0)return 0;var q=0|F;for(q!==F&&(q^=4294967295*F);F>4294967295;)q^=F/=4294967295;return Pt(q)})(O);case"string":return O.length>ds?(function(F){var q=tn[F];return q===void 0&&(q=Wr(F),br===sr&&(br=0,tn={}),br++,tn[F]=q),q})(O):Wr(O);case"object":case"function":return(function(F){var q;if(Li&&(q=Oo.get(F))!==void 0||(q=F[Vo])!==void 0||!un&&((q=F.propertyIsEnumerable&&F.propertyIsEnumerable[Vo])!==void 0||(q=(function(oe){if(oe&&oe.nodeType>0)switch(oe.nodeType){case 1:return oe.uniqueID;case 9:return oe.documentElement&&oe.documentElement.uniqueID}})(F))!==void 0))return q;if(q=ti(),Li)Oo.set(F,q);else{if(Zn!==void 0&&Zn(F)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(un)Object.defineProperty(F,Vo,{enumerable:!1,configurable:!1,writable:!1,value:q});else if(F.propertyIsEnumerable!==void 0&&F.propertyIsEnumerable===F.constructor.prototype.propertyIsEnumerable)F.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},F.propertyIsEnumerable[Vo]=q;else{if(F.nodeType===void 0)throw new Error("Unable to set a non-enumerable property on object.");F[Vo]=q}}return q})(O);case"symbol":return(function(F){var q=Fn[F];return q!==void 0||(q=ti(),Fn[F]=q),q})(O);default:if(typeof O.toString=="function")return Wr(O.toString());throw new Error("Value type "+typeof O+" cannot be hashed.")}}function An(A){return A===null?1108378658:1108378659}function Wr(A){for(var O=0,D=0;D<A.length;D++)O=31*O+A.charCodeAt(D)|0;return Pt(O)}var Jn=(1048576*Math.random()|1)%1048576||40503;function Ea(A){if(typeof A!="string")return kr(A);for(var O=0,D=0;D<A.length;D++)O=Jn*O+A.charCodeAt(D)|0;return O}var Zn=Object.isExtensible,un=(function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}})();function ti(){var A=++zo;return 1073741824&zo&&(zo=0),A}var Oo,Li=typeof WeakMap=="function";Li&&(Oo=new WeakMap);var Fn=Object.create(null),zo=0,Vo="__immutablehash__";typeof Symbol=="function"&&(Vo=Symbol(Vo));var ds=16,sr=255,br=0,tn={},Cr=(function(A){function O(D,F){this._iter=D,this._useKeys=F,this.size=D.size}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.prototype.get=function(F,q){return this._iter.get(F,q)},O.prototype.has=function(F){return this._iter.has(F)},O.prototype.valueSeq=function(){return this._iter.valueSeq()},O.prototype.reverse=function(){var F=this,q=Hr(this,!0);return this._useKeys||(q.valueSeq=function(){return F._iter.toSeq().reverse()}),q},O.prototype.map=function(F,q){var ae=this,oe=Ln(this,F,q);return this._useKeys||(oe.valueSeq=function(){return ae._iter.toSeq().map(F,q)}),oe},O.prototype.__iterate=function(F,q){var ae=this;return this._iter.__iterate((function(oe,fe){return F(oe,fe,ae)}),q)},O.prototype.__iterator=function(F,q){return this._iter.__iterator(F,q)},O})(Tt);Cr.prototype[u]=!0;var Mr=(function(A){function O(D){this._iter=D,this.size=D.size}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.prototype.includes=function(F){return this._iter.includes(F)},O.prototype.__iterate=function(F,q){var ae=this,oe=0;return q&&S(this),this._iter.__iterate((function(fe){return F(fe,q?ae.size-++oe:oe++,ae)}),q)},O.prototype.__iterator=function(F,q){var ae=this,oe=this._iter.__iterator(1,q),fe=0;return q&&S(this),new Ke((function(){var Pe=oe.next();return Pe.done?Pe:ft(F,q?ae.size-++fe:fe++,Pe.value,Pe)}))},O})(Gt),Nn=(function(A){function O(D){this._iter=D,this.size=D.size}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.prototype.has=function(F){return this._iter.includes(F)},O.prototype.__iterate=function(F,q){var ae=this;return this._iter.__iterate((function(oe){return F(oe,oe,ae)}),q)},O.prototype.__iterator=function(F,q){var ae=this._iter.__iterator(1,q);return new Ke((function(){var oe=ae.next();return oe.done?oe:ft(F,oe.value,oe.value,oe)}))},O})(Sr),nn=(function(A){function O(D){this._iter=D,this.size=D.size}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.prototype.entrySeq=function(){return this._iter.toSeq()},O.prototype.__iterate=function(F,q){var ae=this;return this._iter.__iterate((function(oe){if(oe){xn(oe);var fe=B(oe);return F(fe?oe.get(1):oe[1],fe?oe.get(0):oe[0],ae)}}),q)},O.prototype.__iterator=function(F,q){var ae=this._iter.__iterator(1,q);return new Ke((function(){for(;;){var oe=ae.next();if(oe.done)return oe;var fe=oe.value;if(fe){xn(fe);var Pe=B(fe);return ft(F,Pe?fe.get(0):fe[0],Pe?fe.get(1):fe[1],oe)}}}))},O})(Tt);function fn(A){var O=ta(A);return O._iter=A,O.size=A.size,O.flip=function(){return A},O.reverse=function(){var D=A.reverse.apply(this);return D.flip=function(){return A.reverse()},D},O.has=function(D){return A.includes(D)},O.includes=function(D){return A.has(D)},O.cacheResult=Jo,O.__iterateUncached=function(D,F){var q=this;return A.__iterate((function(ae,oe){return D(oe,ae,q)!==!1}),F)},O.__iteratorUncached=function(D,F){if(D===2){var q=A.__iterator(D,F);return new Ke((function(){var ae=q.next();if(!ae.done){var oe=ae.value[0];ae.value[0]=ae.value[1],ae.value[1]=oe}return ae}))}return A.__iterator(D===1?0:1,F)},O}function Ln(A,O,D){var F=ta(A);return F.size=A.size,F.has=function(q){return A.has(q)},F.get=function(q,ae){var oe=A.get(q,y);return oe===y?ae:O.call(D,oe,q,A)},F.__iterateUncached=function(q,ae){var oe=this;return A.__iterate((function(fe,Pe,ze){return q(O.call(D,fe,Pe,ze),Pe,oe)!==!1}),ae)},F.__iteratorUncached=function(q,ae){var oe=A.__iterator(2,ae);return new Ke((function(){var fe=oe.next();if(fe.done)return fe;var Pe=fe.value,ze=Pe[0];return ft(q,ze,O.call(D,Pe[1],ze,A),fe)}))},F}function Hr(A,O){var D=this,F=ta(A);return F._iter=A,F.size=A.size,F.reverse=function(){return A},A.flip&&(F.flip=function(){var q=fn(A);return q.reverse=function(){return A.flip()},q}),F.get=function(q,ae){return A.get(O?q:-1-q,ae)},F.has=function(q){return A.has(O?q:-1-q)},F.includes=function(q){return A.includes(q)},F.cacheResult=Jo,F.__iterate=function(q,ae){var oe=this,fe=0;return ae&&S(A),A.__iterate((function(Pe,ze){return q(Pe,O?ze:ae?oe.size-++fe:fe++,oe)}),!ae)},F.__iterator=function(q,ae){var oe=0;ae&&S(A);var fe=A.__iterator(2,!ae);return new Ke((function(){var Pe=fe.next();if(Pe.done)return Pe;var ze=Pe.value;return ft(q,O?ze[0]:ae?D.size-++oe:oe++,ze[1],Pe)}))},F}function ia(A,O,D,F){var q=ta(A);return F&&(q.has=function(ae){var oe=A.get(ae,y);return oe!==y&&!!O.call(D,oe,ae,A)},q.get=function(ae,oe){var fe=A.get(ae,y);return fe!==y&&O.call(D,fe,ae,A)?fe:oe}),q.__iterateUncached=function(ae,oe){var fe=this,Pe=0;return A.__iterate((function(ze,tt,At){if(O.call(D,ze,tt,At))return Pe++,ae(ze,F?tt:Pe-1,fe)}),oe),Pe},q.__iteratorUncached=function(ae,oe){var fe=A.__iterator(2,oe),Pe=0;return new Ke((function(){for(;;){var ze=fe.next();if(ze.done)return ze;var tt=ze.value,At=tt[0],Rt=tt[1];if(O.call(D,Rt,At,A))return ft(ae,F?At:Pe++,Rt,ze)}}))},q}function za(A,O,D,F){var q=A.size;if(I(O,D,q))return A;if(q===void 0&&(O<0||D<0))return za(A.toSeq().cacheResult(),O,D,F);var ae,oe=j(O,q),fe=M(D,q)-oe;fe==fe&&(ae=fe<0?0:fe);var Pe=ta(A);return Pe.size=ae===0?ae:A.size&&ae||void 0,!F&&qe(A)&&ae>=0&&(Pe.get=function(ze,tt){return(ze=_(this,ze))>=0&&ze<ae?A.get(ze+oe,tt):tt}),Pe.__iterateUncached=function(ze,tt){var At=this;if(ae===0)return 0;if(tt)return this.cacheResult().__iterate(ze,tt);var Rt=0,lr=!0,vr=0;return A.__iterate((function(Ar,_n){if(!lr||!(lr=Rt++<oe))return vr++,ze(Ar,F?_n:vr-1,At)!==!1&&vr!==ae})),vr},Pe.__iteratorUncached=function(ze,tt){if(ae!==0&&tt)return this.cacheResult().__iterator(ze,tt);if(ae===0)return new Ke(Nt);var At=A.__iterator(ze,tt),Rt=0,lr=0;return new Ke((function(){for(;Rt++<oe;)At.next();if(++lr>ae)return{value:void 0,done:!0};var vr=At.next();return F||ze===1||vr.done?vr:ft(ze,lr-1,ze===0?void 0:vr.value[1],vr)}))},Pe}function fs(A,O,D,F){var q=ta(A);return q.__iterateUncached=function(ae,oe){var fe=this;if(oe)return this.cacheResult().__iterate(ae,oe);var Pe=!0,ze=0;return A.__iterate((function(tt,At,Rt){if(!Pe||!(Pe=O.call(D,tt,At,Rt)))return ze++,ae(tt,F?At:ze-1,fe)})),ze},q.__iteratorUncached=function(ae,oe){var fe=this;if(oe)return this.cacheResult().__iterator(ae,oe);var Pe=A.__iterator(2,oe),ze=!0,tt=0;return new Ke((function(){var At,Rt,lr;do{if((At=Pe.next()).done)return F||ae===1?At:ft(ae,tt++,ae===0?void 0:At.value[1],At);var vr=At.value;Rt=vr[0],lr=vr[1],ze&&(ze=O.call(D,lr,Rt,fe))}while(ze);return ae===2?At:ft(ae,Rt,lr,At)}))},q}function ea(A,O,D){var F=ta(A);return F.__iterateUncached=function(q,ae){if(ae)return this.cacheResult().__iterate(q,ae);var oe=0,fe=!1;return(function Pe(ze,tt){ze.__iterate((function(At,Rt){return(!O||tt<O)&&B(At)?Pe(At,tt+1):(oe++,q(At,D?Rt:oe-1,F)===!1&&(fe=!0)),!fe}),ae)})(A,0),oe},F.__iteratorUncached=function(q,ae){if(ae)return this.cacheResult().__iterator(q,ae);var oe=A.__iterator(q,ae),fe=[],Pe=0;return new Ke((function(){for(;oe;){var ze=oe.next();if(ze.done===!1){var tt=ze.value;if(q===2&&(tt=tt[1]),O&&!(fe.length<O)||!B(tt))return D?ze:ft(q,Pe++,tt,ze);fe.push(oe),oe=tt.__iterator(q,ae)}else oe=fe.pop()}return{value:void 0,done:!0}}))},F}function di(A,O,D){O||(O=ms);var F=te(A),q=0,ae=A.toSeq().map((function(oe,fe){return[fe,oe,q++,D?D(oe,fe,A):oe]})).valueSeq().toArray();return ae.sort((function(oe,fe){return O(oe[3],fe[3])||oe[2]-fe[2]})).forEach(F?function(oe,fe){ae[fe].length=2}:function(oe,fe){ae[fe]=oe[1]}),F?Tt(ae):se(A)?Gt(ae):Sr(ae)}function Va(A,O,D){if(O||(O=ms),D){var F=A.toSeq().map((function(q,ae){return[q,D(q,ae,A)]})).reduce((function(q,ae){return Rr(O,q[1],ae[1])?ae:q}));return F&&F[0]}return A.reduce((function(q,ae){return Rr(O,q,ae)?ae:q}))}function Rr(A,O,D){var F=A(D,O);return F===0&&D!==O&&(D==null||D!=D)||F>0}function ko(A,O,D,F){var q=ta(A),ae=new kt(D).map((function(oe){return oe.size}));return q.size=F?ae.max():ae.min(),q.__iterate=function(oe,fe){for(var Pe,ze=this.__iterator(1,fe),tt=0;!(Pe=ze.next()).done&&oe(Pe.value,tt++,this)!==!1;);return tt},q.__iteratorUncached=function(oe,fe){var Pe=D.map((function(At){return At=he(At),we(fe?At.reverse():At)})),ze=0,tt=!1;return new Ke((function(){var At;return tt||(At=Pe.map((function(Rt){return Rt.next()})),tt=F?At.every((function(Rt){return Rt.done})):At.some((function(Rt){return Rt.done}))),tt?{value:void 0,done:!0}:ft(oe,ze++,O.apply(null,At.map((function(Rt){return Rt.value}))))}))},q}function Nr(A,O){return A===O?A:qe(A)?O:A.constructor(O)}function xn(A){if(A!==Object(A))throw new TypeError("Expected [K, V] tuple: "+A)}function fi(A){return te(A)?ge:se(A)?ke:Ve}function ta(A){return Object.create((te(A)?Tt:se(A)?Gt:Sr).prototype)}function Jo(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):ar.prototype.cacheResult.call(this)}function ms(A,O){return A===void 0&&O===void 0?0:A===void 0?1:O===void 0?-1:A>O?1:A<O?-1:0}function Yt(A,O){O=O||0;for(var D=Math.max(0,A.length-O),F=new Array(D),q=0;q<D;q++)F[q]=A[q+O];return F}function gr(A,O){if(!A)throw new Error(O)}function mr(A){gr(A!==1/0,"Cannot perform this action with an infinite size.")}function Vr(A){if(ur(A)&&typeof A!="string")return A;if(at(A))return A.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+A)}Mr.prototype.cacheResult=Cr.prototype.cacheResult=Nn.prototype.cacheResult=nn.prototype.cacheResult=Jo;var Gr=Object.prototype.toString;function sa(A){if(!A||typeof A!="object"||Gr.call(A)!=="[object Object]")return!1;var O=Object.getPrototypeOf(A);if(O===null)return!0;for(var D=O,F=Object.getPrototypeOf(O);F!==null;)D=F,F=Object.getPrototypeOf(D);return D===O}function Sa(A){return typeof A=="object"&&(Re(A)||Array.isArray(A)||sa(A))}function Ja(A){try{return typeof A=="string"?JSON.stringify(A):String(A)}catch{return JSON.stringify(A)}}function Wa(A,O){return Re(A)?A.has(O):Sa(A)&&mt.call(A,O)}function Ia(A,O,D){return Re(A)?A.get(O,D):Wa(A,O)?typeof A.get=="function"?A.get(O):A[O]:D}function Yl(A){return typeof A=="string"&&(A==="__proto__"||A==="constructor")}function Xl(A){if(Array.isArray(A))return Yt(A);var O={};for(var D in A)Yl(D)||mt.call(A,D)&&(O[D]=A[D]);return O}function gs(A,O){if(!Sa(A))throw new TypeError("Cannot update non-data-structure value: "+A);if(Re(A)){if(!A.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+A);return A.remove(O)}if(!mt.call(A,O))return A;var D=Xl(A);return Array.isArray(D)?D.splice(O,1):delete D[O],D}function ys(A,O,D){if(Yl(O))return A;if(!Sa(A))throw new TypeError("Cannot update non-data-structure value: "+A);if(Re(A)){if(!A.set)throw new TypeError("Cannot update immutable value without .set() method: "+A);return A.set(O,D)}if(mt.call(A,O)&&D===A[O])return A;var F=Xl(A);return F[O]=D,F}function lo(A,O,D,F){F||(F=D,D=void 0);var q=mi(Re(A),A,Vr(O),0,D,F);return q===y?D:q}function mi(A,O,D,F,q,ae){var oe=O===y;if(F===D.length){var fe=oe?q:O,Pe=ae(fe);return Pe===fe?O:Pe}if(!oe&&!Sa(O))throw new TypeError("Cannot update within non-data-structure value in path ["+D.slice(0,F).map(Ja)+"]: "+O);var ze=D[F],tt=oe?y:Ia(O,ze,y),At=mi(tt===y?A:Re(tt),tt,D,F+1,q,ae);return At===tt?O:At===y?gs(O,ze):ys(oe?A?co():{}:O,ze,At)}function Wu(A,O,D){return lo(A,O,y,(function(){return D}))}function Ql(A,O){return Wu(this,A,O)}function Zl(A,O){return lo(A,O,(function(){return y}))}function ec(A){return Zl(this,A)}function Ao(A,O,D,F){return lo(A,[O],D,F)}function vs(A,O,D){return arguments.length===1?A(this):Ao(this,A,O,D)}function an(A,O,D){return lo(this,A,O,D)}function tc(){for(var A=[],O=arguments.length;O--;)A[O]=arguments[O];return Zs(this,A)}function rc(A){for(var O=[],D=arguments.length-1;D-- >0;)O[D]=arguments[D+1];if(typeof A!="function")throw new TypeError("Invalid merger function: "+A);return Zs(this,O,A)}function Zs(A,O,D){for(var F=[],q=0;q<O.length;q++){var ae=ge(O[q]);ae.size!==0&&F.push(ae)}return F.length===0?A:A.toSeq().size!==0||A.__ownerID||F.length!==1?A.withMutations((function(oe){for(var fe=D?function(ze,tt){Ao(oe,tt,y,(function(At){return At===y?ze:D(At,ze,tt)}))}:function(ze,tt){oe.set(tt,ze)},Pe=0;Pe<F.length;Pe++)F[Pe].forEach(fe)})):A.constructor(F[0])}function nc(A){for(var O=[],D=arguments.length-1;D-- >0;)O[D]=arguments[D+1];return Co(A,O)}function Hu(A,O){for(var D=[],F=arguments.length-2;F-- >0;)D[F]=arguments[F+2];return Co(O,D,A)}function Ku(A){for(var O=[],D=arguments.length-1;D-- >0;)O[D]=arguments[D+1];return $i(A,O)}function $c(A,O){for(var D=[],F=arguments.length-2;F-- >0;)D[F]=arguments[F+2];return $i(O,D,A)}function $i(A,O,D){return Co(A,O,(function(q){function ae(oe,fe,Pe){return Sa(oe)&&Sa(fe)&&(function(tt,At){var Rt=ar(tt),lr=ar(At);return se(Rt)===se(lr)&&te(Rt)===te(lr)})(oe,fe)?Co(oe,[fe],ae):q?q(oe,fe,Pe):fe}return ae})(D))}function Co(A,O,D){if(!Sa(A))throw new TypeError("Cannot merge into non-data-structure value: "+A);if(Re(A))return typeof D=="function"&&A.mergeWith?A.mergeWith.apply(A,[D].concat(O)):A.merge?A.merge.apply(A,O):A.concat.apply(A,O);for(var F=Array.isArray(A),q=A,ae=F?ke:ge,oe=F?function(Pe){q===A&&(q=Xl(q)),q.push(Pe)}:function(Pe,ze){if(!Yl(ze)){var tt=mt.call(q,ze),At=tt&&D?D(q[ze],Pe,ze):Pe;tt&&At===q[ze]||(q===A&&(q=Xl(q)),q[ze]=At)}},fe=0;fe<O.length;fe++)ae(O[fe]).forEach(oe);return q}function gi(){for(var A=[],O=arguments.length;O--;)A[O]=arguments[O];return $i(this,A)}function yi(A){for(var O=[],D=arguments.length-1;D-- >0;)O[D]=arguments[D+1];return $i(this,O,A)}function bs(A){for(var O=[],D=arguments.length-1;D-- >0;)O[D]=arguments[D+1];return lo(this,A,co(),(function(F){return Co(F,O)}))}function ws(A){for(var O=[],D=arguments.length-1;D-- >0;)O[D]=arguments[D+1];return lo(this,A,co(),(function(F){return $i(F,O)}))}function jo(A){var O=this.asMutable();return A(O),O.wasAltered()?O.__ensureOwner(this.__ownerID):this}function ac(){return this.__ownerID?this:this.__ensureOwner(new g)}function el(){return this.__ensureOwner()}function Es(){return this.__altered}var vi=(function(A){function O(D){return D==null?co():Fe(D)&&!at(D)?D:co().withMutations((function(F){var q=A(D);mr(q.size),q.forEach((function(ae,oe){return F.set(oe,ae)}))}))}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.of=function(){for(var F=[],q=arguments.length;q--;)F[q]=arguments[q];return co().withMutations((function(ae){for(var oe=0;oe<F.length;oe+=2){if(oe+1>=F.length)throw new Error("Missing value for key: "+F[oe]);ae.set(F[oe],F[oe+1])}}))},O.prototype.toString=function(){return this.__toString("Map {","}")},O.prototype.get=function(F,q){return this._root?this._root.get(0,void 0,F,q):q},O.prototype.set=function(F,q){return nl(this,F,q)},O.prototype.remove=function(F){return nl(this,F,y)},O.prototype.deleteAll=function(F){var q=he(F);return q.size===0?this:this.withMutations((function(ae){q.forEach((function(oe){return ae.remove(oe)}))}))},O.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):co()},O.prototype.sort=function(F){return Ra(di(this,F))},O.prototype.sortBy=function(F,q){return Ra(di(this,q,F))},O.prototype.map=function(F,q){var ae=this;return this.withMutations((function(oe){oe.forEach((function(fe,Pe){oe.set(Pe,F.call(q,fe,Pe,ae))}))}))},O.prototype.__iterator=function(F,q){return new jd(this,F,q)},O.prototype.__iterate=function(F,q){var ae=this,oe=0;return this._root&&this._root.iterate((function(fe){return oe++,F(fe[1],fe[0],ae)}),q),oe},O.prototype.__ensureOwner=function(F){return F===this.__ownerID?this:F?yr(this.size,this._root,F,this.__hash):this.size===0?co():(this.__ownerID=F,this.__altered=!1,this)},O})(ge);vi.isMap=Fe;var bn=vi.prototype;bn[Ee]=!0,bn[h]=bn.remove,bn.removeAll=bn.deleteAll,bn.setIn=Ql,bn.removeIn=bn.deleteIn=ec,bn.update=vs,bn.updateIn=an,bn.merge=bn.concat=tc,bn.mergeWith=rc,bn.mergeDeep=gi,bn.mergeDeepWith=yi,bn.mergeIn=bs,bn.mergeDeepIn=ws,bn.withMutations=jo,bn.wasAltered=Es,bn.asImmutable=el,bn["@@transducer/init"]=bn.asMutable=ac,bn["@@transducer/step"]=function(A,O){return A.set(O[0],O[1])},bn["@@transducer/result"]=function(A){return A.asImmutable()};var tl=function(O,D){this.ownerID=O,this.entries=D};tl.prototype.get=function(O,D,F,q){for(var ae=this.entries,oe=0,fe=ae.length;oe<fe;oe++)if(Qe(F,ae[oe][0]))return ae[oe][1];return q},tl.prototype.update=function(O,D,F,q,ae,oe,fe){for(var Pe=ae===y,ze=this.entries,tt=0,At=ze.length;tt<At&&!Qe(q,ze[tt][0]);tt++);var Rt=tt<At;if(Rt?ze[tt][1]===ae:Pe)return this;if(m(fe),(Pe||!Rt)&&m(oe),!Pe||ze.length!==1){if(!Rt&&!Pe&&ze.length>=zc)return(function(_n,ya,Fa,ai){_n||(_n=new g);for(var Tn=new Ma(_n,kr(Fa),[Fa,ai]),Hn=0;Hn<ya.length;Hn++){var na=ya[Hn];Tn=Tn.update(_n,0,void 0,na[0],na[1])}return Tn})(O,ze,q,ae);var lr=O&&O===this.ownerID,vr=lr?ze:Yt(ze);return Rt?Pe?tt===At-1?vr.pop():vr[tt]=vr.pop():vr[tt]=[q,ae]:vr.push([q,ae]),lr?(this.entries=vr,this):new tl(O,vr)}};var rl=function(O,D,F){this.ownerID=O,this.bitmap=D,this.nodes=F};rl.prototype.get=function(O,D,F,q){D===void 0&&(D=kr(F));var ae=1<<((O===0?D:D>>>O)&f),oe=this.bitmap;return oe&ae?this.nodes[Gu(oe&ae-1)].get(O+5,D,F,q):q},rl.prototype.update=function(O,D,F,q,ae,oe,fe){F===void 0&&(F=kr(q));var Pe=(D===0?F:F>>>D)&f,ze=1<<Pe,tt=this.bitmap,At=!!(tt&ze);if(!At&&ae===y)return this;var Rt=Gu(tt&ze-1),lr=this.nodes,vr=At?lr[Rt]:void 0,Ar=wi(vr,O,D+5,F,q,ae,oe,fe);if(Ar===vr)return this;if(!At&&Ar&&lr.length>=rh)return(function(Tn,Hn,na,aa,Bn){for(var Ga=0,Ya=new Array(v),po=0;na!==0;po++,na>>>=1)Ya[po]=1&na?Hn[Ga++]:void 0;return Ya[aa]=Bn,new bi(Tn,Ga+1,Ya)})(O,lr,tt,Pe,Ar);if(At&&!Ar&&lr.length===2&&Uc(lr[1^Rt]))return lr[1^Rt];if(At&&Ar&&lr.length===1&&Uc(Ar))return Ar;var _n=O&&O===this.ownerID,ya=At?Ar?tt:tt^ze:tt|ze,Fa=At?Ar?ic(lr,Rt,Ar,_n):(function(Tn,Hn,na){var aa=Tn.length-1;if(na&&Hn===aa)return Tn.pop(),Tn;for(var Bn=new Array(aa),Ga=0,Ya=0;Ya<aa;Ya++)Ya===Hn&&(Ga=1),Bn[Ya]=Tn[Ya+Ga];return Bn})(lr,Rt,_n):(function(Tn,Hn,na,aa){var Bn=Tn.length+1;if(aa&&Hn+1===Bn)return Tn[Hn]=na,Tn;for(var Ga=new Array(Bn),Ya=0,po=0;po<Bn;po++)po===Hn?(Ga[po]=na,Ya=-1):Ga[po]=Tn[po+Ya];return Ga})(lr,Rt,Ar,_n);return _n?(this.bitmap=ya,this.nodes=Fa,this):new rl(O,ya,Fa)};var bi=function(O,D,F){this.ownerID=O,this.count=D,this.nodes=F};bi.prototype.get=function(O,D,F,q){D===void 0&&(D=kr(F));var ae=(O===0?D:D>>>O)&f,oe=this.nodes[ae];return oe?oe.get(O+5,D,F,q):q},bi.prototype.update=function(O,D,F,q,ae,oe,fe){F===void 0&&(F=kr(q));var Pe=(D===0?F:F>>>D)&f,ze=ae===y,tt=this.nodes,At=tt[Pe];if(ze&&!At)return this;var Rt=wi(At,O,D+5,F,q,ae,oe,fe);if(Rt===At)return this;var lr=this.count;if(At){if(!Rt&&--lr<uo)return(function(ya,Fa,ai,Tn){for(var Hn=0,na=0,aa=new Array(ai),Bn=0,Ga=1,Ya=Fa.length;Bn<Ya;Bn++,Ga<<=1){var po=Fa[Bn];po!==void 0&&Bn!==Tn&&(Hn|=Ga,aa[na++]=po)}return new rl(ya,Hn,aa)})(O,tt,lr,Pe)}else lr++;var vr=O&&O===this.ownerID,Ar=ic(tt,Pe,Rt,vr);return vr?(this.count=lr,this.nodes=Ar,this):new bi(O,lr,Ar)};var Po=function(O,D,F){this.ownerID=O,this.keyHash=D,this.entries=F,this._index=void 0};Po.prototype._positionOf=function(O,D){var F=this.entries,q=this._index;if(q===void 0&&D&&F.length>=Yu&&(q=this._buildIndex()),q!==void 0){var ae=q[Ea(O)];if(ae!==void 0)for(var oe=0;oe<ae.length;oe++){var fe=ae[oe];if(Qe(O,F[fe][0]))return fe}return-1}for(var Pe=0,ze=F.length;Pe<ze;Pe++)if(Qe(O,F[Pe][0]))return Pe;return-1},Po.prototype._buildIndex=function(){for(var O=Object.create(null),D=this.entries,F=0,q=D.length;F<q;F++){var ae=Ea(D[F][0]),oe=O[ae];oe!==void 0?oe.push(F):O[ae]=[F]}return this._index=O,O},Po.prototype.get=function(O,D,F,q){var ae=this._positionOf(F,!0);return ae===-1?q:this.entries[ae][1]},Po.prototype.update=function(O,D,F,q,ae,oe,fe){F===void 0&&(F=kr(q));var Pe=ae===y;if(F!==this.keyHash)return Pe?this:(m(fe),m(oe),al(this,O,D,F,[q,ae]));var ze=this.entries,tt=ze.length,At=O&&O===this.ownerID,Rt=this._positionOf(q,At),lr=Rt===-1?tt:Rt,vr=Rt!==-1;if(vr?ze[lr][1]===ae:Pe)return this;if(m(fe),(Pe||!vr)&&m(oe),Pe&&tt===2)return new Ma(O,this.keyHash,ze[1^lr]);var Ar=At?ze:Yt(ze);if(vr)Pe?(lr===tt-1?Ar.pop():Ar[lr]=Ar.pop(),At&&(this._index=void 0)):Ar[lr]=[q,ae];else if(Ar.push([q,ae]),At&&this._index!==void 0){var _n=Ea(q),ya=this._index[_n];ya!==void 0?ya.push(tt):this._index[_n]=[tt]}return At?(this.entries=Ar,this):new Po(O,this.keyHash,Ar)};var Ma=function(O,D,F){this.ownerID=O,this.keyHash=D,this.entry=F};Ma.prototype.get=function(O,D,F,q){return Qe(F,this.entry[0])?this.entry[1]:q},Ma.prototype.update=function(O,D,F,q,ae,oe,fe){var Pe=ae===y,ze=Qe(q,this.entry[0]);return(ze?ae===this.entry[1]:Pe)?this:(m(fe),Pe?void m(oe):ze?O&&O===this.ownerID?(this.entry[1]=ae,this):new Ma(O,this.keyHash,[q,ae]):(m(oe),al(this,O,D,kr(q),[q,ae])))},tl.prototype.iterate=Po.prototype.iterate=function(A,O){for(var D=this.entries,F=0,q=D.length-1;F<=q;F++)if(A(D[O?q-F:F])===!1)return!1},rl.prototype.iterate=bi.prototype.iterate=function(A,O){for(var D=this.nodes,F=0,q=D.length-1;F<=q;F++){var ae=D[O?q-F:F];if(ae&&ae.iterate(A,O)===!1)return!1}},Ma.prototype.iterate=function(A,O){return A(this.entry)};var oc,jd=(function(A){function O(D,F,q){this._type=F,this._reverse=q,this._stack=D._root&&qc(D._root)}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.prototype.next=function(){for(var F=this._type,q=this._stack;q;){var ae=q.node,oe=q.index++,fe=void 0;if(ae.entry){if(oe===0)return Bc(F,ae.entry)}else if(ae.entries){if(oe<=(fe=ae.entries.length-1))return Bc(F,ae.entries[this._reverse?fe-oe:oe])}else if(oe<=(fe=ae.nodes.length-1)){var Pe=ae.nodes[this._reverse?fe-oe:oe];if(Pe){if(Pe.entry)return Bc(F,Pe.entry);q=this._stack=qc(Pe,q)}continue}q=this._stack=this._stack.__prev}return{value:void 0,done:!0}},O})(Ke);function Bc(A,O){return ft(A,O[0],O[1])}function qc(A,O){return{node:A,index:0,__prev:O}}function yr(A,O,D,F){var q=Object.create(bn);return q.size=A,q._root=O,q.__ownerID=D,q.__hash=F,q.__altered=!1,q}function co(){return oc||(oc=yr(0))}function nl(A,O,D){var F,q;if(A._root){var ae={value:!1},oe={value:!1};if(F=wi(A._root,A.__ownerID,0,void 0,O,D,ae,oe),!oe.value)return A;q=A.size+(ae.value?D===y?-1:1:0)}else{if(D===y)return A;q=1,F=new tl(A.__ownerID,[[O,D]])}return A.__ownerID?(A.size=q,A._root=F,A.__hash=void 0,A.__altered=!0,A):F?yr(q,F):co()}function wi(A,O,D,F,q,ae,oe,fe){return A?A.update(O,D,F,q,ae,oe,fe):ae===y?A:(m(fe),m(oe),new Ma(O,F,[q,ae]))}function Uc(A){return A.constructor===Ma||A.constructor===Po}function al(A,O,D,F,q){if(A.keyHash===F)return new Po(O,F,[A.entry,q]);var ae,oe=(D===0?A.keyHash:A.keyHash>>>D)&f,fe=(D===0?F:F>>>D)&f,Pe=oe===fe?[al(A,O,D+5,F,q)]:(ae=new Ma(O,F,q),oe<fe?[A,ae]:[ae,A]);return new rl(O,1<<oe|1<<fe,Pe)}function Gu(A){return A=(A=(858993459&(A-=A>>1&1431655765))+(A>>2&858993459))+(A>>4)&252645135,A+=A>>8,127&(A+=A>>16)}function ic(A,O,D,F){var q=F?A:Yt(A);return q[O]=D,q}var zc=8,rh=16,uo=8,Yu=16,Vc="@@__IMMUTABLE_LIST__@@";function Bi(A){return!!(A&&A[Vc])}var Wo=(function(A){function O(D){var F=Ss();if(D==null)return F;if(Bi(D))return D;var q=A(D),ae=q.size;return ae===0?F:(mr(ae),ae>0&&ae<v?ol(0,ae,5,null,new Ha(q.toArray())):F.withMutations((function(oe){oe.setSize(ae),q.forEach((function(fe,Pe){return oe.set(Pe,fe)}))})))}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.of=function(){return this(arguments)},O.prototype.toString=function(){return this.__toString("List [","]")},O.prototype.get=function(F,q){if((F=_(this,F))>=0&&F<this.size){var ae=ah(this,F+=this._origin);return ae&&ae.array[F&f]}return q},O.prototype.set=function(F,q){return(function(oe,fe,Pe){if(fe=_(oe,fe),fe!=fe)return oe;if(fe>=oe.size||fe<0)return oe.withMutations((function(Rt){fe<0?ri(Rt,fe).set(0,Pe):ri(Rt,0,fe+1).set(fe,Pe)}));fe+=oe._origin;var ze=oe._tail,tt=oe._root,At={value:!1};return fe>=sl(oe._capacity)?ze=Qu(ze,oe.__ownerID,0,fe,Pe,At):tt=Qu(tt,oe.__ownerID,oe._level,fe,Pe,At),At.value?oe.__ownerID?(oe._root=tt,oe._tail=ze,oe.__hash=void 0,oe.__altered=!0,oe):ol(oe._origin,oe._capacity,oe._level,tt,ze):oe})(this,F,q)},O.prototype.remove=function(F){return this.has(F)?F===0?this.shift():F===this.size-1?this.pop():this.splice(F,1):this},O.prototype.insert=function(F,q){return this.splice(F,0,q)},O.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):Ss()},O.prototype.push=function(){var F=arguments,q=this.size;return this.withMutations((function(ae){ri(ae,0,q+F.length);for(var oe=0;oe<F.length;oe++)ae.set(q+oe,F[oe])}))},O.prototype.pop=function(){return ri(this,0,-1)},O.prototype.unshift=function(){var F=arguments;return this.withMutations((function(q){ri(q,-F.length);for(var ae=0;ae<F.length;ae++)q.set(ae,F[ae])}))},O.prototype.shift=function(){return ri(this,1)},O.prototype.concat=function(){for(var F=arguments,q=[],ae=0;ae<arguments.length;ae++){var oe=F[ae],fe=A(typeof oe!="string"&&Wt(oe)?oe:[oe]);fe.size!==0&&q.push(fe)}return q.length===0?this:this.size!==0||this.__ownerID||q.length!==1?this.withMutations((function(Pe){q.forEach((function(ze){return ze.forEach((function(tt){return Pe.push(tt)}))}))})):this.constructor(q[0])},O.prototype.setSize=function(F){return ri(this,0,F)},O.prototype.map=function(F,q){var ae=this;return this.withMutations((function(oe){for(var fe=0;fe<ae.size;fe++)oe.set(fe,F.call(q,oe.get(fe),fe,ae))}))},O.prototype.slice=function(F,q){var ae=this.size;return I(F,q,ae)?this:ri(this,j(F,ae),M(q,ae))},O.prototype.__iterator=function(F,q){var ae=q?this.size:0,oe=Xu(this,q);return new Ke((function(){var fe=oe();return fe===Ei?{value:void 0,done:!0}:ft(F,q?--ae:ae++,fe)}))},O.prototype.__iterate=function(F,q){for(var ae,oe=q?this.size:0,fe=Xu(this,q);(ae=fe())!==Ei&&F(ae,q?--oe:oe++,this)!==!1;);return oe},O.prototype.__ensureOwner=function(F){return F===this.__ownerID?this:F?ol(this._origin,this._capacity,this._level,this._root,this._tail,F,this.__hash):this.size===0?Ss():(this.__ownerID=F,this.__altered=!1,this)},O})(ke);Wo.isList=Bi;var $n=Wo.prototype;$n[Vc]=!0,$n[h]=$n.remove,$n.merge=$n.concat,$n.setIn=Ql,$n.deleteIn=$n.removeIn=ec,$n.update=vs,$n.updateIn=an,$n.mergeIn=bs,$n.mergeDeepIn=ws,$n.withMutations=jo,$n.wasAltered=Es,$n.asImmutable=el,$n["@@transducer/init"]=$n.asMutable=ac,$n["@@transducer/step"]=function(A,O){return A.push(O)},$n["@@transducer/result"]=function(A){return A.asImmutable()};var Ha=function(O,D){this.array=O,this.ownerID=D};Ha.prototype.removeBefore=function(O,D,F){if(F===D?1<<D:this.array.length===0)return this;var q=F>>>D&f;if(q>=this.array.length)return new Ha([],O);var ae,oe=q===0;if(D>0){var fe=this.array[q];if((ae=fe&&fe.removeBefore(O,D-5,F))===fe&&oe)return this}if(oe&&!ae)return this;var Pe=il(this,O);if(!oe)for(var ze=0;ze<q;ze++)Pe.array[ze]=void 0;return ae&&(Pe.array[q]=ae),Pe},Ha.prototype.removeAfter=function(O,D,F){if(F===(D?1<<D:0)||this.array.length===0)return this;var q,ae=F-1>>>D&f;if(ae>=this.array.length)return this;if(D>0){var oe=this.array[ae];if((q=oe&&oe.removeAfter(O,D-5,F))===oe&&ae===this.array.length-1)return this}var fe=il(this,O);return fe.array.splice(ae+1),q&&(fe.array[ae]=q),fe};var nh,Ei={};function Xu(A,O){var D=A._origin,F=A._capacity,q=sl(F),ae=A._tail;return oe(A._root,A._level,0);function oe(fe,Pe,ze){return Pe===0?(function(At,Rt){var lr=Rt===q?ae&&ae.array:At&&At.array,vr=Rt>D?0:D-Rt,Ar=F-Rt;return Ar>v&&(Ar=v),function(){if(vr===Ar)return Ei;var _n=O?--Ar:vr++;return lr&&lr[_n]}})(fe,ze):(function(At,Rt,lr){var vr,Ar=At&&At.array,_n=lr>D?0:D-lr>>Rt,ya=1+(F-lr>>Rt);return ya>v&&(ya=v),function(){for(;;){if(vr){var Fa=vr();if(Fa!==Ei)return Fa;vr=null}if(_n===ya)return Ei;var ai=O?--ya:_n++;vr=oe(Ar&&Ar[ai],Rt-5,lr+(ai<<Rt))}}})(fe,Pe,ze)}}function ol(A,O,D,F,q,ae,oe){var fe=Object.create($n);return fe.size=O-A,fe._origin=A,fe._capacity=O,fe._level=D,fe._root=F,fe._tail=q,fe.__ownerID=ae,fe.__hash=oe,fe.__altered=!1,fe}function Ss(){return nh||(nh=ol(0,0,5))}function Qu(A,O,D,F,q,ae){var oe,fe=F>>>D&f,Pe=A&&fe<A.array.length;if(!Pe&&q===void 0)return A;if(D>0){var ze=A&&A.array[fe],tt=Qu(ze,O,D-5,F,q,ae);return tt===ze?A:((oe=il(A,O)).array[fe]=tt,oe)}return Pe&&A.array[fe]===q?A:(ae&&m(ae),oe=il(A,O),q===void 0&&fe===oe.array.length-1?oe.array.pop():oe.array[fe]=q,oe)}function il(A,O){return O&&A&&O===A.ownerID?A:new Ha(A?A.array.slice():[],O)}function ah(A,O){if(O>=sl(A._capacity))return A._tail;if(O<1<<A._level+5){for(var D=A._root,F=A._level;D&&F>0;)D=D.array[O>>>F&f],F-=5;return D}}function ri(A,O,D){(function(Tn,Hn,na){var aa=Tn._origin+(Hn===void 0?0:Hn),Bn=na===void 0?Tn._capacity:na<0?Tn._capacity+na:Tn._origin+na;if(Number.isFinite(Bn)&&Bn>sc||Number.isFinite(aa)&&aa<-sc||Number.isFinite(Bn)&&Number.isFinite(aa)&&Bn-aa>sc)throw new RangeError("Invalid List size: a List cannot hold more than "+sc+" (2 ** 30) values.")})(A,O,D),O!==void 0&&(O|=0),D!==void 0&&(D|=0);var F=A.__ownerID||new g,q=A._origin,ae=A._capacity,oe=q+O,fe=D===void 0?ae:D<0?ae+D:q+D;if(oe===q&&fe===ae)return A;if(oe>=fe)return A.clear();for(var Pe=A._level,ze=A._root,tt=0;oe+tt<0;)ze=new Ha(ze&&ze.array.length?[void 0,ze]:[],F),tt+=Jc(Pe+=5);tt&&(oe+=tt,q+=tt,fe+=tt,ae+=tt);for(var At=sl(ae),Rt=sl(fe);Rt>=Jc(Pe+5);)ze=new Ha(ze&&ze.array.length?[ze]:[],F),Pe+=5;var lr=A._tail,vr=Rt<At?ah(A,fe-1):Rt>At?new Ha([],F):lr;if(lr&&Rt>At&&oe<ae&&lr.array.length){for(var Ar=ze=il(ze,F),_n=Pe;_n>5;_n-=5){var ya=At>>>_n&f;Ar=Ar.array[ya]=il(Ar.array[ya],F)}Ar.array[At>>>5&f]=lr}if(fe<ae&&(vr=vr&&vr.removeAfter(F,0,fe)),oe>=Rt)oe-=Rt,fe-=Rt,Pe=5,ze=null,vr=vr&&vr.removeBefore(F,0,oe);else if(oe>q||Rt<At){for(tt=0;ze;){var Fa=oe>>>Pe&f;if(Fa!==Rt>>>Pe&f)break;Fa&&(tt+=(1<<Pe)*Fa),Pe-=5,ze=ze.array[Fa]}ze&&oe>q&&(ze=ze.removeBefore(F,Pe,oe-tt)),ze&&Rt<At&&(ze=ze.removeAfter(F,Pe,Rt-tt)),tt&&(oe-=tt,fe-=tt)}return A.__ownerID?(A.size=fe-oe,A._origin=oe,A._capacity=fe,A._level=Pe,A._root=ze,A._tail=vr,A.__hash=void 0,A.__altered=!0,A):ol(oe,fe,Pe,ze,vr)}function sl(A){return A<v?0:A-1>>>5<<5}var sc=Math.pow(2,30);function Jc(A){return A<31?1<<A:Math.pow(2,A)}var Zu,Ra=(function(A){function O(D){return D==null?ll():St(D)?D:ll().withMutations((function(F){var q=ge(D);mr(q.size),q.forEach((function(ae,oe){return F.set(oe,ae)}))}))}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.of=function(){return this(arguments)},O.prototype.toString=function(){return this.__toString("OrderedMap {","}")},O.prototype.get=function(F,q){var ae=this._map.get(F);return ae!==void 0?this._list.get(ae)[1]:q},O.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):ll()},O.prototype.set=function(F,q){return Hc(this,F,q)},O.prototype.remove=function(F){return Hc(this,F,y)},O.prototype.__iterate=function(F,q){var ae=this;return this._list.__iterate((function(oe){return oe&&F(oe[1],oe[0],ae)}),q)},O.prototype.__iterator=function(F,q){return this._list.fromEntrySeq().__iterator(F,q)},O.prototype.__ensureOwner=function(F){if(F===this.__ownerID)return this;var q=this._map.__ensureOwner(F),ae=this._list.__ensureOwner(F);return F?Wc(q,ae,F,this.__hash):this.size===0?ll():(this.__ownerID=F,this.__altered=!1,this._map=q,this._list=ae,this)},O})(vi);function Wc(A,O,D,F){var q=Object.create(Ra.prototype);return q.size=A?A.size:0,q._map=A,q._list=O,q.__ownerID=D,q.__hash=F,q.__altered=!1,q}function ll(){return Zu||(Zu=Wc(co(),Ss()))}function Hc(A,O,D){var F,q,ae=A._map,oe=A._list,fe=ae.get(O),Pe=fe!==void 0;if(D===y){if(!Pe)return A;oe.size>=v&&oe.size>=2*ae.size?(F=(q=oe.filter((function(ze,tt){return ze!==void 0&&fe!==tt}))).toKeyedSeq().map((function(ze){return ze[0]})).flip().toMap(),A.__ownerID&&(F.__ownerID=q.__ownerID=A.__ownerID)):(F=ae.remove(O),q=fe===oe.size-1?oe.pop():oe.set(fe,void 0))}else if(Pe){if(D===oe.get(fe)[1])return A;F=ae,q=oe.set(fe,[O,D])}else F=ae.set(O,oe.size),q=oe.set(oe.size,[O,D]);return A.__ownerID?(A.size=F.size,A._map=F,A._list=q,A.__hash=void 0,A.__altered=!0,A):Wc(F,q)}Ra.isOrderedMap=St,Ra.prototype[u]=!0,Ra.prototype[h]=Ra.prototype.remove;var ep="@@__IMMUTABLE_STACK__@@";function cl(A){return!!(A&&A[ep])}var ul=(function(A){function O(D){return D==null?Si():cl(D)?D:Si().pushAll(D)}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.of=function(){return this(arguments)},O.prototype.toString=function(){return this.__toString("Stack [","]")},O.prototype.get=function(F,q){var ae=this._head;for(F=_(this,F);ae&&F--;)ae=ae.next;return ae?ae.value:q},O.prototype.peek=function(){return this._head&&this._head.value},O.prototype.push=function(){var F=arguments;if(arguments.length===0)return this;for(var q=this.size+arguments.length,ae=this._head,oe=arguments.length-1;oe>=0;oe--)ae={value:F[oe],next:ae};return this.__ownerID?(this.size=q,this._head=ae,this.__hash=void 0,this.__altered=!0,this):qi(q,ae)},O.prototype.pushAll=function(F){if((F=A(F)).size===0)return this;if(this.size===0&&cl(F))return F;mr(F.size);var q=this.size,ae=this._head;return F.__iterate((function(oe){q++,ae={value:oe,next:ae}}),!0),this.__ownerID?(this.size=q,this._head=ae,this.__hash=void 0,this.__altered=!0,this):qi(q,ae)},O.prototype.pop=function(){return this.slice(1)},O.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):Si()},O.prototype.slice=function(F,q){if(I(F,q,this.size))return this;var ae=j(F,this.size);if(M(q,this.size)!==this.size)return A.prototype.slice.call(this,F,q);for(var oe=this.size-ae,fe=this._head;ae--;)fe=fe.next;return this.__ownerID?(this.size=oe,this._head=fe,this.__hash=void 0,this.__altered=!0,this):qi(oe,fe)},O.prototype.__ensureOwner=function(F){return F===this.__ownerID?this:F?qi(this.size,this._head,F,this.__hash):this.size===0?Si():(this.__ownerID=F,this.__altered=!1,this)},O.prototype.__iterate=function(F,q){var ae=this;if(q)return new kt(this.toArray()).__iterate((function(Pe,ze){return F(Pe,ze,ae)}),q);for(var oe=0,fe=this._head;fe&&F(fe.value,oe++,this)!==!1;)fe=fe.next;return oe},O.prototype.__iterator=function(F,q){if(q)return new kt(this.toArray()).__iterator(F,q);var ae=0,oe=this._head;return new Ke((function(){if(oe){var fe=oe.value;return oe=oe.next,ft(F,ae++,fe)}return{value:void 0,done:!0}}))},O})(ke);ul.isStack=cl;var tp,xa=ul.prototype;function qi(A,O,D,F){var q=Object.create(xa);return q.size=A,q._head=O,q.__ownerID=D,q.__hash=F,q.__altered=!1,q}function Si(){return tp||(tp=qi(0))}xa[ep]=!0,xa.shift=xa.pop,xa.unshift=xa.push,xa.unshiftAll=xa.pushAll,xa.withMutations=jo,xa.wasAltered=Es,xa.asImmutable=el,xa["@@transducer/init"]=xa.asMutable=ac,xa["@@transducer/step"]=function(A,O){return A.unshift(O)},xa["@@transducer/result"]=function(A){return A.asImmutable()};var rp="@@__IMMUTABLE_SET__@@";function Ui(A){return!!(A&&A[rp])}function pl(A){return Ui(A)&&at(A)}function hl(A,O){if(A===O)return!0;if(!B(O)||A.size!==void 0&&O.size!==void 0&&A.size!==O.size||A.__hash!==void 0&&O.__hash!==void 0&&A.__hash!==O.__hash||te(A)!==te(O)||se(A)!==se(O)||at(A)!==at(O))return!1;if(A.size===0&&O.size===0)return!0;var D=!Te(A);if(at(A)){var F=A.entries();return O.every((function(Pe,ze){var tt=F.next().value;return tt&&Qe(tt[1],Pe)&&(D||Qe(tt[0],ze))}))&&F.next().done}var q=!1;if(A.size===void 0)if(O.size===void 0)typeof A.cacheResult=="function"&&A.cacheResult();else{q=!0;var ae=A;A=O,O=ae}var oe=!0,fe=O.__iterate((function(Pe,ze){if(D?!A.has(Pe):q?!Qe(Pe,A.get(ze,y)):!Qe(A.get(ze,y),Pe))return oe=!1,!1}));return oe&&A.size===fe}function xi(A,O){var D=function(F){A.prototype[F]=O[F]};return Object.keys(O).forEach(D),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(O).forEach(D),A}function xs(A){if(!A||typeof A!="object")return A;if(!B(A)){if(!Sa(A))return A;A=ar(A)}if(te(A)){var O={};return A.__iterate((function(F,q){Yl(q)||(O[q]=xs(F))})),O}var D=[];return A.__iterate((function(F){D.push(xs(F))})),D}var No=(function(A){function O(D){return D==null?ni():Ui(D)&&!at(D)?D:ni().withMutations((function(F){var q=A(D);mr(q.size),q.forEach((function(ae){return F.add(ae)}))}))}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.of=function(){return this(arguments)},O.fromKeys=function(F){return this(ge(F).keySeq())},O.intersect=function(F){return(F=he(F).toArray()).length?ra.intersect.apply(O(F.pop()),F):ni()},O.union=function(F){return(F=he(F).toArray()).length?ra.union.apply(O(F.pop()),F):ni()},O.prototype.toString=function(){return this.__toString("Set {","}")},O.prototype.has=function(F){return this._map.has(F)},O.prototype.add=function(F){return dl(this,this._map.set(F,F))},O.prototype.remove=function(F){return dl(this,this._map.remove(F))},O.prototype.clear=function(){return dl(this,this._map.clear())},O.prototype.map=function(F,q){var ae=this,oe=!1,fe=dl(this,this._map.mapEntries((function(Pe){var ze=Pe[1],tt=F.call(q,ze,ze,ae);return tt!==ze&&(oe=!0),[tt,tt]}),q));return oe?fe:this},O.prototype.union=function(){for(var F=[],q=arguments.length;q--;)F[q]=arguments[q];return(F=F.filter((function(ae){return ae.size!==0}))).length===0?this:this.size!==0||this.__ownerID||F.length!==1?this.withMutations((function(ae){for(var oe=0;oe<F.length;oe++)typeof F[oe]=="string"?ae.add(F[oe]):A(F[oe]).forEach((function(fe){return ae.add(fe)}))})):this.constructor(F[0])},O.prototype.intersect=function(){for(var F=[],q=arguments.length;q--;)F[q]=arguments[q];if(F.length===0)return this;F=F.map((function(oe){return A(oe)}));var ae=[];return this.forEach((function(oe){F.every((function(fe){return fe.includes(oe)}))||ae.push(oe)})),this.withMutations((function(oe){ae.forEach((function(fe){oe.remove(fe)}))}))},O.prototype.subtract=function(){for(var F=[],q=arguments.length;q--;)F[q]=arguments[q];if(F.length===0)return this;F=F.map((function(oe){return A(oe)}));var ae=[];return this.forEach((function(oe){F.some((function(fe){return fe.includes(oe)}))&&ae.push(oe)})),this.withMutations((function(oe){ae.forEach((function(fe){oe.remove(fe)}))}))},O.prototype.sort=function(F){return Da(di(this,F))},O.prototype.sortBy=function(F,q){return Da(di(this,q,F))},O.prototype.wasAltered=function(){return this._map.wasAltered()},O.prototype.__iterate=function(F,q){var ae=this;return this._map.__iterate((function(oe){return F(oe,oe,ae)}),q)},O.prototype.__iterator=function(F,q){return this._map.__iterator(F,q)},O.prototype.__ensureOwner=function(F){if(F===this.__ownerID)return this;var q=this._map.__ensureOwner(F);return F?this.__make(q,F):this.size===0?this.__empty():(this.__ownerID=F,this._map=q,this)},O})(Ve);No.isSet=Ui;var Kc,ra=No.prototype;function dl(A,O){return A.__ownerID?(A.size=O.size,A._map=O,A):O===A._map?A:O.size===0?A.__empty():A.__make(O)}function fl(A,O){var D=Object.create(ra);return D.size=A?A.size:0,D._map=A,D.__ownerID=O,D}function ni(){return Kc||(Kc=fl(co()))}ra[rp]=!0,ra[h]=ra.remove,ra.merge=ra.concat=ra.union,ra.withMutations=jo,ra.asImmutable=el,ra["@@transducer/init"]=ra.asMutable=ac,ra["@@transducer/step"]=function(A,O){return A.add(O)},ra["@@transducer/result"]=function(A){return A.asImmutable()},ra.__empty=ni,ra.__make=fl;var Gc,zi=(function(A){function O(D,F,q){if(!(this instanceof O))return new O(D,F,q);if(gr(q!==0,"Cannot step a Range by 0"),D=D||0,F===void 0&&(F=1/0),q=q===void 0?1:Math.abs(q),F<D&&(q=-q),this._start=D,this._end=F,this._step=q,this.size=Math.max(0,Math.ceil((F-D)/q-1)+1),this.size===0){if(Gc)return Gc;Gc=this}}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.prototype.toString=function(){return this.size===0?"Range []":"Range [ "+this._start+"..."+this._end+(this._step!==1?" by "+this._step:"")+" ]"},O.prototype.get=function(F,q){return this.has(F)?this._start+_(this,F)*this._step:q},O.prototype.includes=function(F){var q=(F-this._start)/this._step;return q>=0&&q<this.size&&q===Math.floor(q)},O.prototype.slice=function(F,q){return I(F,q,this.size)?this:(F=j(F,this.size),(q=M(q,this.size))<=F?new O(0,0):new O(this.get(F,this._end),this.get(q,this._end),this._step))},O.prototype.indexOf=function(F){var q=F-this._start;if(q%this._step==0){var ae=q/this._step;if(ae>=0&&ae<this.size)return ae}return-1},O.prototype.lastIndexOf=function(F){return this.indexOf(F)},O.prototype.__iterate=function(F,q){for(var ae=this.size,oe=this._step,fe=q?this._start+(ae-1)*oe:this._start,Pe=0;Pe!==ae&&F(fe,q?ae-++Pe:Pe++,this)!==!1;)fe+=q?-oe:oe;return Pe},O.prototype.__iterator=function(F,q){var ae=this.size,oe=this._step,fe=q?this._start+(ae-1)*oe:this._start,Pe=0;return new Ke((function(){if(Pe===ae)return{value:void 0,done:!0};var ze=fe;return fe+=q?-oe:oe,ft(F,q?ae-++Pe:Pe++,ze)}))},O.prototype.equals=function(F){return F instanceof O?this._start===F._start&&this._end===F._end&&this._step===F._step:hl(this,F)},O})(Gt);function lc(A,O,D){for(var F=Vr(O),q=0;q!==F.length;)if((A=Ia(A,F[q++],y))===y)return D;return A}function Yc(A,O){return lc(this,A,O)}function ml(A,O){return lc(A,O,y)!==y}function gl(){mr(this.size);var A={};return this.__iterate((function(O,D){Yl(D)||(A[D]=O)})),A}he.isIterable=B,he.isKeyed=te,he.isIndexed=se,he.isAssociative=Te,he.isOrdered=at,he.Iterator=Ke,xi(he,{toArray:function(){mr(this.size);var O=new Array(this.size||0),D=te(this),F=0;return this.__iterate((function(q,ae){O[F++]=D?[ae,q]:q})),O},toIndexedSeq:function(){return new Mr(this)},toJS:function(){return xs(this)},toKeyedSeq:function(){return new Cr(this,!0)},toMap:function(){return vi(this.toKeyedSeq())},toObject:gl,toOrderedMap:function(){return Ra(this.toKeyedSeq())},toOrderedSet:function(){return Da(te(this)?this.valueSeq():this)},toSet:function(){return No(te(this)?this.valueSeq():this)},toSetSeq:function(){return new Nn(this)},toSeq:function(){return se(this)?this.toIndexedSeq():te(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return ul(te(this)?this.valueSeq():this)},toList:function(){return Wo(te(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(O,D){return this.size===0?O+D:O+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+D},concat:function(){for(var O=[],D=arguments.length;D--;)O[D]=arguments[D];return Nr(this,(function(q,ae){var oe=te(q),fe=[q].concat(ae).map((function(tt){return B(tt)?oe&&(tt=ge(tt)):tt=oe?Z(tt):ne(Array.isArray(tt)?tt:[tt]),tt})).filter((function(tt){return tt.size!==0}));if(fe.length===0)return q;if(fe.length===1){var Pe=fe[0];if(Pe===q||oe&&te(Pe)||se(q)&&se(Pe))return Pe}var ze=new kt(fe);return oe?ze=ze.toKeyedSeq():se(q)||(ze=ze.toSetSeq()),(ze=ze.flatten(!0)).size=fe.reduce((function(tt,At){if(tt!==void 0){var Rt=At.size;if(Rt!==void 0)return tt+Rt}}),0),ze})(this,O))},includes:function(O){return this.some((function(D){return Qe(D,O)}))},entries:function(){return this.__iterator(2)},every:function(O,D){mr(this.size);var F=!0;return this.__iterate((function(q,ae,oe){if(!O.call(D,q,ae,oe))return F=!1,!1})),F},filter:function(O,D){return Nr(this,ia(this,O,D,!0))},partition:function(O,D){return(function(q,ae,oe){var fe=te(q),Pe=[[],[]];q.__iterate((function(tt,At){Pe[ae.call(oe,tt,At,q)?1:0].push(fe?[At,tt]:tt)}));var ze=fi(q);return Pe.map((function(tt){return Nr(q,ze(tt))}))})(this,O,D)},find:function(O,D,F){var q=this.findEntry(O,D);return q?q[1]:F},forEach:function(O,D){return mr(this.size),this.__iterate(D?O.bind(D):O)},join:function(O){mr(this.size),O=O!==void 0?""+O:",";var D="",F=!0;return this.__iterate((function(q){F?F=!1:D+=O,D+=q!=null?q.toString():""})),D},keys:function(){return this.__iterator(0)},map:function(O,D){return Nr(this,Ln(this,O,D))},reduce:function(O,D,F){return np(this,O,D,F,arguments.length<2,!1)},reduceRight:function(O,D,F){return np(this,O,D,F,arguments.length<2,!0)},reverse:function(){return Nr(this,Hr(this,!0))},slice:function(O,D){return Nr(this,za(this,O,D,!0))},some:function(O,D){mr(this.size);var F=!1;return this.__iterate((function(q,ae,oe){if(O.call(D,q,ae,oe))return F=!0,!1})),F},sort:function(O){return Nr(this,di(this,O))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some((function(){return!0}))},count:function(O,D){return S(O?this.toSeq().filter(O,D):this)},countBy:function(O,D){return(function(q,ae,oe){var fe=vi().asMutable();return q.__iterate((function(Pe,ze){fe.update(ae.call(oe,Pe,ze,q),0,(function(tt){return tt+1}))})),fe.asImmutable()})(this,O,D)},equals:function(O){return hl(this,O)},entrySeq:function(){var O=this;if(O._cache)return new kt(O._cache);var D=O.toSeq().map(oh).toIndexedSeq();return D.fromEntrySeq=function(){return O.toSeq()},D},filterNot:function(O,D){return this.filter(Ka(O),D)},findEntry:function(O,D,F){var q=F;return this.__iterate((function(ae,oe,fe){if(O.call(D,ae,oe,fe))return q=[oe,ae],!1})),q},findKey:function(O,D){var F=this.findEntry(O,D);return F&&F[0]},findLast:function(O,D,F){return this.toKeyedSeq().reverse().find(O,D,F)},findLastEntry:function(O,D,F){return this.toKeyedSeq().reverse().findEntry(O,D,F)},findLastKey:function(O,D){return this.toKeyedSeq().reverse().findKey(O,D)},first:function(O){return this.find(T,null,O)},flatMap:function(O,D){return Nr(this,(function(q,ae,oe){var fe=fi(q);return q.toSeq().map((function(Pe,ze){return fe(ae.call(oe,Pe,ze,q))})).flatten(!0)})(this,O,D))},flatten:function(O){return Nr(this,ea(this,O,!0))},fromEntrySeq:function(){return new nn(this)},get:function(O,D){return this.find((function(F,q){return Qe(q,O)}),void 0,D)},getIn:Yc,groupBy:function(O,D){return(function(q,ae,oe){var fe=te(q),Pe=(at(q)?Ra():vi()).asMutable();q.__iterate((function(tt,At){Pe.update(ae.call(oe,tt,At,q),(function(Rt){return(Rt=Rt||[]).push(fe?[At,tt]:tt),Rt}))}));var ze=fi(q);return Pe.map((function(tt){return Nr(q,ze(tt))})).asImmutable()})(this,O,D)},has:function(O){return this.get(O,y)!==y},hasIn:function(O){return ml(this,O)},isSubset:function(O){return O=typeof O.includes=="function"?O:he(O),this.every((function(D){return O.includes(D)}))},isSuperset:function(O){return(O=typeof O.isSubset=="function"?O:he(O)).isSubset(this)},keyOf:function(O){return this.findKey((function(D){return Qe(D,O)}))},keySeq:function(){return this.toSeq().map(ap).toIndexedSeq()},last:function(O){return this.toSeq().reverse().first(O)},lastKeyOf:function(O){return this.toKeyedSeq().reverse().keyOf(O)},max:function(O){return Va(this,O)},maxBy:function(O,D){return Va(this,D,O)},min:function(O){return Va(this,O?_s(O):ca)},minBy:function(O,D){return Va(this,D?_s(D):ca,O)},rest:function(){return this.slice(1)},skip:function(O){return O===0?this:this.slice(Math.max(0,O))},skipLast:function(O){return O===0?this:this.slice(0,-Math.max(0,O))},skipWhile:function(O,D){return Nr(this,fs(this,O,D,!0))},skipUntil:function(O,D){return this.skipWhile(Ka(O),D)},sortBy:function(O,D){return Nr(this,di(this,D,O))},take:function(O){return this.slice(0,Math.max(0,O))},takeLast:function(O){return this.slice(-Math.max(0,O))},takeWhile:function(O,D){return Nr(this,(function(q,ae,oe){var fe=ta(q);return fe.__iterateUncached=function(Pe,ze){var tt=this;if(ze)return this.cacheResult().__iterate(Pe,ze);var At=0;return q.__iterate((function(Rt,lr,vr){return ae.call(oe,Rt,lr,vr)&&++At&&Pe(Rt,lr,tt)})),At},fe.__iteratorUncached=function(Pe,ze){var tt=this;if(ze)return this.cacheResult().__iterator(Pe,ze);var At=q.__iterator(2,ze),Rt=!0;return new Ke((function(){if(!Rt)return{value:void 0,done:!0};var lr=At.next();if(lr.done)return lr;var vr=lr.value,Ar=vr[0],_n=vr[1];return ae.call(oe,_n,Ar,tt)?Pe===2?lr:ft(Pe,Ar,_n,lr):(Rt=!1,{value:void 0,done:!0})}))},fe})(this,O,D))},takeUntil:function(O,D){return this.takeWhile(Ka(O),D)},update:function(O){return O(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=(function(D){if(D.size===1/0)return 0;var F=at(D),q=te(D),ae=F?1:0;return(function(fe,Pe){return Pe=$t(Pe,3432918353),Pe=$t(Pe<<15|Pe>>>-15,461845907),Pe=$t(Pe<<13|Pe>>>-13,5),Pe=Pe+3864292196^fe,Pe=$t(Pe^Pe>>>16,2246822507),Pe=$t(Pe^Pe>>>13,3266489909),Pe=Pt(Pe^Pe>>>16),Pe})(D.__iterate(q?F?function(oe,fe){ae=31*ae+yl(kr(oe),kr(fe))|0}:function(oe,fe){ae=ae+yl(kr(oe),kr(fe))|0}:F?function(oe){ae=31*ae+kr(oe)|0}:function(oe){ae=ae+kr(oe)|0}),ae)})(this))}});var la=he.prototype;la[Y]=!0,la[De]=la.values,la.toJSON=la.toArray,la.__toStringMapper=Ja,la.inspect=la.toSource=function(){return this.toString()},la.chain=la.flatMap,la.contains=la.includes,xi(ge,{flip:function(){return Nr(this,fn(this))},mapEntries:function(O,D){var F=this,q=0;return Nr(this,this.toSeq().map((function(ae,oe){return O.call(D,[oe,ae],q++,F)})).fromEntrySeq())},mapKeys:function(O,D){var F=this;return Nr(this,this.toSeq().flip().map((function(q,ae){return O.call(D,q,ae,F)})).flip())}});var Vi=ge.prototype;Vi[X]=!0,Vi[De]=la.entries,Vi.toJSON=gl,Vi.__toStringMapper=function(A,O){return Ja(O)+": "+Ja(A)},xi(ke,{toKeyedSeq:function(){return new Cr(this,!1)},filter:function(O,D){return Nr(this,ia(this,O,D,!1))},findIndex:function(O,D){var F=this.findEntry(O,D);return F?F[0]:-1},indexOf:function(O){var D=this.keyOf(O);return D===void 0?-1:D},lastIndexOf:function(O){var D=this.lastKeyOf(O);return D===void 0?-1:D},reverse:function(){return Nr(this,Hr(this,!1))},slice:function(O,D){return Nr(this,za(this,O,D,!1))},splice:function(O,D){var F=arguments.length;if(D=Math.max(D||0,0),F===0||F===2&&!D)return this;O=j(O,O<0?this.count():this.size);var q=this.slice(0,O);return Nr(this,F===1?q:q.concat(Yt(arguments,2),this.slice(O+D)))},findLastIndex:function(O,D){var F=this.findLastEntry(O,D);return F?F[0]:-1},first:function(O){return this.get(0,O)},flatten:function(O){return Nr(this,ea(this,O,!1))},get:function(O,D){return(O=_(this,O))<0||this.size===1/0||this.size!==void 0&&O>this.size?D:this.find((function(F,q){return q===O}),void 0,D)},has:function(O){return(O=_(this,O))>=0&&(this.size!==void 0?this.size===1/0||O<this.size:this.indexOf(O)!==-1)},interpose:function(O){return Nr(this,(function(F,q){var ae=ta(F);return ae.size=F.size&&2*F.size-1,ae.__iterateUncached=function(oe,fe){var Pe=this,ze=0;return F.__iterate((function(tt){return(!ze||oe(q,ze++,Pe)!==!1)&&oe(tt,ze++,Pe)!==!1}),fe),ze},ae.__iteratorUncached=function(oe,fe){var Pe,ze=F.__iterator(1,fe),tt=0;return new Ke((function(){return(!Pe||tt%2)&&(Pe=ze.next()).done?Pe:tt%2?ft(oe,tt++,q):ft(oe,tt++,Pe.value,Pe)}))},ae})(this,O))},interleave:function(){var O=[this].concat(Yt(arguments)),D=ko(this.toSeq(),Gt.of,O),F=D.flatten(!0);return D.size&&(F.size=D.size*O.length),Nr(this,F)},keySeq:function(){return zi(0,this.size)},last:function(O){return this.get(-1,O)},skipWhile:function(O,D){return Nr(this,fs(this,O,D,!1))},zip:function(){return Nr(this,ko(this,Xc,[this].concat(Yt(arguments))))},zipAll:function(){return Nr(this,ko(this,Xc,[this].concat(Yt(arguments)),!0))},zipWith:function(O){var D=Yt(arguments);return D[0]=this,Nr(this,ko(this,O,D))}});var Ji=ke.prototype;Ji[ie]=!0,Ji[u]=!0,xi(Ve,{get:function(O,D){return this.has(O)?O:D},includes:function(O){return this.has(O)},keySeq:function(){return this.valueSeq()}});var Wi=Ve.prototype;function np(A,O,D,F,q,ae){return mr(A.size),A.__iterate((function(oe,fe,Pe){q?(q=!1,D=oe):D=O.call(F,D,oe,fe,Pe)}),ae),D}function ap(A,O){return O}function oh(A,O){return[O,A]}function Ka(A){return function(){return!A.apply(this,arguments)}}function _s(A){return function(){return-A.apply(this,arguments)}}function Xc(){return Yt(arguments)}function ca(A,O){return A<O?1:A>O?-1:0}function yl(A,O){return A^O+2654435769+(A<<6)+(A>>2)}Wi.has=la.includes,Wi.contains=Wi.includes,Wi.keys=Wi.values,xi(Tt,Vi),xi(Gt,Ji),xi(Sr,Wi);var Da=(function(A){function O(D){return D==null?_i():pl(D)?D:_i().withMutations((function(F){var q=Ve(D);mr(q.size),q.forEach((function(ae){return F.add(ae)}))}))}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.of=function(){return this(arguments)},O.fromKeys=function(F){return this(ge(F).keySeq())},O.prototype.toString=function(){return this.__toString("OrderedSet {","}")},O})(No);Da.isOrderedSet=pl;var Hi,Ho=Da.prototype;function _a(A,O){var D=Object.create(Ho);return D.size=A?A.size:0,D._map=A,D.__ownerID=O,D}function _i(){return Hi||(Hi=_a(ll()))}Ho[u]=!0,Ho.zip=Ji.zip,Ho.zipWith=Ji.zipWith,Ho.zipAll=Ji.zipAll,Ho.__empty=_i,Ho.__make=_a;var cc={LeftThenRight:-1,RightThenLeft:1},jn=function(O,D){var F;(function(fe){if(gt(fe))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(Re(fe))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(fe===null||typeof fe!="object")throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")})(O);var q=function(fe){var Pe=this;if(fe instanceof q)return fe;if(!(this instanceof q))return new q(fe);if(!F){F=!0;var ze=Object.keys(O),tt=ae._indices={};ae._name=D,ae._keys=ze,ae._defaultValues=O;for(var At=0;At<ze.length;At++){var Rt=ze[At];tt[Rt]=At,ae[Rt]?typeof console=="object"&&console.warn&&console.warn("Cannot define "+Os(this)+' with property "'+Rt+'" since that property name is part of the Record API.'):Qc(ae,Rt)}}return this.__ownerID=void 0,this._values=Wo().withMutations((function(lr){lr.setSize(Pe._keys.length),ge(fe).forEach((function(vr,Ar){lr.set(Pe._indices[Ar],vr===Pe._defaultValues[Ar]?void 0:vr)}))})),this},ae=q.prototype=Object.create(mn);return ae.constructor=q,D&&(q.displayName=D),q};jn.prototype.toString=function(){for(var O,D=Os(this)+" { ",F=this._keys,q=0,ae=F.length;q!==ae;q++)D+=(q?", ":"")+(O=F[q])+": "+Ja(this.get(O));return D+" }"},jn.prototype.equals=function(O){return this===O||gt(O)&&To(this).equals(To(O))},jn.prototype.hashCode=function(){return To(this).hashCode()},jn.prototype.has=function(O){return this._indices.hasOwnProperty(O)},jn.prototype.get=function(O,D){if(!this.has(O))return D;var F=this._indices[O],q=this._values.get(F);return q===void 0?this._defaultValues[O]:q},jn.prototype.set=function(O,D){if(this.has(O)){var F=this._values.set(this._indices[O],D===this._defaultValues[O]?void 0:D);if(F!==this._values&&!this.__ownerID)return uc(this,F)}return this},jn.prototype.remove=function(O){return this.set(O)},jn.prototype.clear=function(){var O=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:uc(this,O)},jn.prototype.wasAltered=function(){return this._values.wasAltered()},jn.prototype.toSeq=function(){return To(this)},jn.prototype.toJS=function(){return xs(this)},jn.prototype.entries=function(){return this.__iterator(2)},jn.prototype.__iterator=function(O,D){return To(this).__iterator(O,D)},jn.prototype.__iterate=function(O,D){return To(this).__iterate(O,D)},jn.prototype.__ensureOwner=function(O){if(O===this.__ownerID)return this;var D=this._values.__ensureOwner(O);return O?uc(this,D,O):(this.__ownerID=O,this._values=D,this)},jn.isRecord=gt,jn.getDescriptiveName=Os;var mn=jn.prototype;function uc(A,O,D){var F=Object.create(Object.getPrototypeOf(A));return F._values=O,F.__ownerID=D,F}function Os(A){return A.constructor.displayName||A.constructor.name||"Record"}function To(A){return Z(A._keys.map((function(O){return[O,A.get(O)]})))}function Qc(A,O){try{Object.defineProperty(A,O,{get:function(){return this.get(O)},set:function(D){gr(this.__ownerID,"Cannot set on an immutable record."),this.set(O,D)}})}catch{}}mn[nt]=!0,mn[h]=mn.remove,mn.deleteIn=mn.removeIn=ec,mn.getIn=Yc,mn.hasIn=la.hasIn,mn.merge=tc,mn.mergeWith=rc,mn.mergeIn=bs,mn.mergeDeep=gi,mn.mergeDeepWith=yi,mn.mergeDeepIn=ws,mn.setIn=Ql,mn.update=vs,mn.updateIn=an,mn.withMutations=jo,mn.asMutable=ac,mn.asImmutable=el,mn[De]=mn.entries,mn.toJSON=mn.toObject=la.toObject,mn.inspect=mn.toSource=function(){return this.toString()};var pc,vl=(function(A){function O(D,F){if(!(this instanceof O))return new O(D,F);if(this._value=D,this.size=F===void 0?1/0:Math.max(0,F),this.size===0){if(pc)return pc;pc=this}}return A&&(O.__proto__=A),O.prototype=Object.create(A&&A.prototype),O.prototype.constructor=O,O.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},O.prototype.get=function(F,q){return this.has(F)?this._value:q},O.prototype.includes=function(F){return Qe(this._value,F)},O.prototype.slice=function(F,q){var ae=this.size;return I(F,q,ae)?this:new O(this._value,M(q,ae)-j(F,ae))},O.prototype.reverse=function(){return this},O.prototype.indexOf=function(F){return Qe(this._value,F)?0:-1},O.prototype.lastIndexOf=function(F){return Qe(this._value,F)?this.size:-1},O.prototype.__iterate=function(F,q){for(var ae=this.size,oe=0;oe!==ae&&F(this._value,q?ae-++oe:oe++,this)!==!1;);return oe},O.prototype.__iterator=function(F,q){var ae=this,oe=this.size,fe=0;return new Ke((function(){return fe===oe?{value:void 0,done:!0}:ft(F,q?oe-++fe:fe++,ae._value)}))},O.prototype.equals=function(F){return F instanceof O?Qe(this._value,F._value):hl(this,F)},O})(Gt);function Zc(A,O){return eu([],O||op,A,"",O&&O.length>2?[]:void 0,{"":A})}function eu(A,O,D,F,q,ae){if(typeof D!="string"&&!Re(D)&&(ur(D)||Wt(D)||sa(D))){if(~A.indexOf(D))throw new TypeError("Cannot convert circular structure to Immutable");A.push(D),q&&F!==""&&q.push(F);var oe=O.call(ae,F,ar(D).map((function(fe,Pe){return eu(A,O,fe,Pe,q,D)})),q&&q.slice());return A.pop(),q&&q.pop(),oe}return D}function op(A,O){return se(O)?O.toList():te(O)?O.toMap():O.toSet()}var tu="4.3.9",ip=he;const sp={version:tu,Collection:he,Iterable:he,Seq:ar,Map:vi,OrderedMap:Ra,List:Wo,Stack:ul,Set:No,OrderedSet:Da,PairSorting:cc,Record:jn,Range:zi,Repeat:vl,is:Qe,fromJS:Zc,hash:kr,isImmutable:Re,isCollection:B,isKeyed:te,isIndexed:se,isAssociative:Te,isOrdered:at,isValueObject:Bt,isPlainObject:sa,isSeq:qe,isList:Bi,isMap:Fe,isOrderedMap:St,isStack:cl,isSet:Ui,isOrderedSet:pl,isRecord:gt,get:Ia,getIn:lc,has:Wa,hasIn:ml,merge:nc,mergeDeep:Ku,mergeWith:Hu,mergeDeepWith:$c,remove:gs,removeIn:Zl,set:ys,setIn:Wu,update:Ao,updateIn:lo}},56698(w){typeof Object.create=="function"?w.exports=function(s,h){h&&(s.super_=h,s.prototype=Object.create(h.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}))}:w.exports=function(s,h){if(h){s.super_=h;var v=function(){};v.prototype=h.prototype,s.prototype=new v,s.prototype.constructor=s}}},69600(w){var N,s,h=Function.prototype.toString,v=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof v=="function"&&typeof Object.defineProperty=="function")try{N=Object.defineProperty({},"length",{get:function(){throw s}}),s={},v((function(){throw 42}),null,N)}catch(j){j!==s&&(v=null)}else v=null;var f=/^\s*class\b/,y=function(M){try{var z=h.call(M);return f.test(z)}catch{return!1}},m=function(M){try{return!y(M)&&(h.call(M),!0)}catch{return!1}},g=Object.prototype.toString,S=typeof Symbol=="function"&&!!Symbol.toStringTag,_=!(0 in[,]),T=function(){return!1};if(typeof document=="object"){var I=document.all;g.call(I)===g.call(document.all)&&(T=function(M){if((_||!M)&&(M===void 0||typeof M=="object"))try{var z=g.call(M);return(z==="[object HTMLAllCollection]"||z==="[object HTML document.all class]"||z==="[object HTMLCollection]"||z==="[object Object]")&&M("")==null}catch{}return!1})}w.exports=v?function(M){if(T(M))return!0;if(!M||typeof M!="function"&&typeof M!="object")return!1;try{v(M,null,N)}catch(z){if(z!==s)return!1}return!y(M)&&m(M)}:function(M){if(T(M))return!0;if(!M||typeof M!="function"&&typeof M!="object")return!1;if(S)return m(M);if(y(M))return!1;var z=g.call(M);return!(z!=="[object Function]"&&z!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(z))&&m(M)}},35680(w,N,s){var h=s(25767);w.exports=function(f){return!!h(f)}},64634(w){var N={}.toString;w.exports=Array.isArray||function(s){return N.call(s)=="[object Array]"}},5419(w){w.exports=function(N,s,h,v){var f=new Blob(v!==void 0?[v,N]:[N],{type:h||"application/octet-stream"});if(window.navigator.msSaveBlob!==void 0)window.navigator.msSaveBlob(f,s);else{var y=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(f):window.webkitURL.createObjectURL(f),m=document.createElement("a");m.style.display="none",m.href=y,m.setAttribute("download",s),m.download===void 0&&m.setAttribute("target","_blank"),document.body.appendChild(m),m.click(),setTimeout((function(){document.body.removeChild(m),window.URL.revokeObjectURL(y)}),200)}}},20181(w,N,s){var h=/^\s+|\s+$/g,v=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,y=/^0o[0-7]+$/i,m=parseInt,g=typeof s.g=="object"&&s.g&&s.g.Object===Object&&s.g,S=typeof self=="object"&&self&&self.Object===Object&&self,_=g||S||Function("return this")(),T=Object.prototype.toString,I=Math.max,j=Math.min,M=function(){return _.Date.now()};function z(Y){var B=typeof Y;return!!Y&&(B=="object"||B=="function")}function K(Y){if(typeof Y=="number")return Y;if((function(ie){return typeof ie=="symbol"||(function(Te){return!!Te&&typeof Te=="object"})(ie)&&T.call(ie)=="[object Symbol]"})(Y))return NaN;if(z(Y)){var B=typeof Y.valueOf=="function"?Y.valueOf():Y;Y=z(B)?B+"":B}if(typeof Y!="string")return Y===0?Y:+Y;Y=Y.replace(h,"");var X=f.test(Y);return X||y.test(Y)?m(Y.slice(2),X?2:8):v.test(Y)?NaN:+Y}w.exports=function(B,X,te){var ie,se,Te,he,ge,ke,Ve=0,He=!1,qe=!1,nt=!0;if(typeof B!="function")throw new TypeError("Expected a function");function gt(Se){var De=ie,Ke=se;return ie=se=void 0,Ve=Se,he=B.apply(Ke,De)}function Re(Se){var De=Se-ke;return ke===void 0||De>=X||De<0||qe&&Se-Ve>=Te}function u(){var Se=M();if(Re(Se))return at(Se);ge=setTimeout(u,(function(Ke){var ft=X-(Ke-ke);return qe?j(ft,Te-(Ke-Ve)):ft})(Se))}function at(Se){return ge=void 0,nt&&ie?gt(Se):(ie=se=void 0,he)}function Xe(){var Se=M(),De=Re(Se);if(ie=arguments,se=this,ke=Se,De){if(ge===void 0)return(function(ft){return Ve=ft,ge=setTimeout(u,X),He?gt(ft):he})(ke);if(qe)return ge=setTimeout(u,X),gt(ke)}return ge===void 0&&(ge=setTimeout(u,X)),he}return X=K(X)||0,z(te)&&(He=!!te.leading,Te=(qe="maxWait"in te)?I(K(te.maxWait)||0,X):Te,nt="trailing"in te?!!te.trailing:nt),Xe.cancel=function(){ge!==void 0&&clearTimeout(ge),Ve=0,ie=ke=se=ge=void 0},Xe.flush=function(){return ge===void 0?he:at(M())},Xe}},55580(w,N,s){var h=s(56110)(s(9325),"DataView");w.exports=h},21549(w,N,s){var h=s(22032),v=s(63862),f=s(66721),y=s(12749),m=s(35749);function g(S){var _=-1,T=S==null?0:S.length;for(this.clear();++_<T;){var I=S[_];this.set(I[0],I[1])}}g.prototype.clear=h,g.prototype.delete=v,g.prototype.get=f,g.prototype.has=y,g.prototype.set=m,w.exports=g},30980(w,N,s){var h=s(39344),v=s(94033);function f(y){this.__wrapped__=y,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}f.prototype=h(v.prototype),f.prototype.constructor=f,w.exports=f},80079(w,N,s){var h=s(63702),v=s(70080),f=s(24739),y=s(48655),m=s(31175);function g(S){var _=-1,T=S==null?0:S.length;for(this.clear();++_<T;){var I=S[_];this.set(I[0],I[1])}}g.prototype.clear=h,g.prototype.delete=v,g.prototype.get=f,g.prototype.has=y,g.prototype.set=m,w.exports=g},56017(w,N,s){var h=s(39344),v=s(94033);function f(y,m){this.__wrapped__=y,this.__actions__=[],this.__chain__=!!m,this.__index__=0,this.__values__=void 0}f.prototype=h(v.prototype),f.prototype.constructor=f,w.exports=f},68223(w,N,s){var h=s(56110)(s(9325),"Map");w.exports=h},53661(w,N,s){var h=s(63040),v=s(17670),f=s(90289),y=s(4509),m=s(72949);function g(S){var _=-1,T=S==null?0:S.length;for(this.clear();++_<T;){var I=S[_];this.set(I[0],I[1])}}g.prototype.clear=h,g.prototype.delete=v,g.prototype.get=f,g.prototype.has=y,g.prototype.set=m,w.exports=g},32804(w,N,s){var h=s(56110)(s(9325),"Promise");w.exports=h},76545(w,N,s){var h=s(56110)(s(9325),"Set");w.exports=h},38859(w,N,s){var h=s(53661),v=s(31380),f=s(51459);function y(m){var g=-1,S=m==null?0:m.length;for(this.__data__=new h;++g<S;)this.add(m[g])}y.prototype.add=y.prototype.push=v,y.prototype.has=f,w.exports=y},37217(w,N,s){var h=s(80079),v=s(51420),f=s(90938),y=s(63605),m=s(29817),g=s(80945);function S(_){var T=this.__data__=new h(_);this.size=T.size}S.prototype.clear=v,S.prototype.delete=f,S.prototype.get=y,S.prototype.has=m,S.prototype.set=g,w.exports=S},51873(w,N,s){var h=s(9325).Symbol;w.exports=h},37828(w,N,s){var h=s(9325).Uint8Array;w.exports=h},28303(w,N,s){var h=s(56110)(s(9325),"WeakMap");w.exports=h},91033(w){w.exports=function(s,h,v){switch(v.length){case 0:return s.call(h);case 1:return s.call(h,v[0]);case 2:return s.call(h,v[0],v[1]);case 3:return s.call(h,v[0],v[1],v[2])}return s.apply(h,v)}},83729(w){w.exports=function(s,h){for(var v=-1,f=s==null?0:s.length;++v<f&&h(s[v],v,s)!==!1;);return s}},79770(w){w.exports=function(s,h){for(var v=-1,f=s==null?0:s.length,y=0,m=[];++v<f;){var g=s[v];h(g,v,s)&&(m[y++]=g)}return m}},15325(w,N,s){var h=s(96131);w.exports=function(f,y){return!!(f!=null&&f.length)&&h(f,y,0)>-1}},70695(w,N,s){var h=s(78096),v=s(72428),f=s(56449),y=s(3656),m=s(30361),g=s(37167),S=Object.prototype.hasOwnProperty;w.exports=function(T,I){var j=f(T),M=!j&&v(T),z=!j&&!M&&y(T),K=!j&&!M&&!z&&g(T),Y=j||M||z||K,B=Y?h(T.length,String):[],X=B.length;for(var te in T)!I&&!S.call(T,te)||Y&&(te=="length"||z&&(te=="offset"||te=="parent")||K&&(te=="buffer"||te=="byteLength"||te=="byteOffset")||m(te,X))||B.push(te);return B}},34932(w){w.exports=function(s,h){for(var v=-1,f=s==null?0:s.length,y=Array(f);++v<f;)y[v]=h(s[v],v,s);return y}},14528(w){w.exports=function(s,h){for(var v=-1,f=h.length,y=s.length;++v<f;)s[y+v]=h[v];return s}},40882(w){w.exports=function(s,h,v,f){var y=-1,m=s==null?0:s.length;for(f&&m&&(v=s[++y]);++y<m;)v=h(v,s[y],y,s);return v}},14248(w){w.exports=function(s,h){for(var v=-1,f=s==null?0:s.length;++v<f;)if(h(s[v],v,s))return!0;return!1}},61074(w){w.exports=function(s){return s.split("")}},1733(w){var N=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;w.exports=function(h){return h.match(N)||[]}},87805(w,N,s){var h=s(43360),v=s(75288);w.exports=function(y,m,g){(g!==void 0&&!v(y[m],g)||g===void 0&&!(m in y))&&h(y,m,g)}},16547(w,N,s){var h=s(43360),v=s(75288),f=Object.prototype.hasOwnProperty;w.exports=function(m,g,S){var _=m[g];f.call(m,g)&&v(_,S)&&(S!==void 0||g in m)||h(m,g,S)}},26025(w,N,s){var h=s(75288);w.exports=function(f,y){for(var m=f.length;m--;)if(h(f[m][0],y))return m;return-1}},74733(w,N,s){var h=s(21791),v=s(95950);w.exports=function(y,m){return y&&h(m,v(m),y)}},43838(w,N,s){var h=s(21791),v=s(37241);w.exports=function(y,m){return y&&h(m,v(m),y)}},43360(w,N,s){var h=s(93243);w.exports=function(f,y,m){y=="__proto__"&&h?h(f,y,{configurable:!0,enumerable:!0,value:m,writable:!0}):f[y]=m}},9999(w,N,s){var h=s(37217),v=s(83729),f=s(16547),y=s(74733),m=s(43838),g=s(93290),S=s(23007),_=s(92271),T=s(48948),I=s(50002),j=s(83349),M=s(5861),z=s(76189),K=s(77199),Y=s(35529),B=s(56449),X=s(3656),te=s(87730),ie=s(23805),se=s(38440),Te=s(95950),he=s(37241),ge="[object Arguments]",ke="[object Function]",Ve="[object Object]",He={};He[ge]=He["[object Array]"]=He["[object ArrayBuffer]"]=He["[object DataView]"]=He["[object Boolean]"]=He["[object Date]"]=He["[object Float32Array]"]=He["[object Float64Array]"]=He["[object Int8Array]"]=He["[object Int16Array]"]=He["[object Int32Array]"]=He["[object Map]"]=He["[object Number]"]=He[Ve]=He["[object RegExp]"]=He["[object Set]"]=He["[object String]"]=He["[object Symbol]"]=He["[object Uint8Array]"]=He["[object Uint8ClampedArray]"]=He["[object Uint16Array]"]=He["[object Uint32Array]"]=!0,He["[object Error]"]=He[ke]=He["[object WeakMap]"]=!1,w.exports=function qe(nt,gt,Re,u,at,Xe){var Se,De=1&gt,Ke=2&gt,ft=4&gt;if(Re&&(Se=at?Re(nt,u,at,Xe):Re(nt)),Se!==void 0)return Se;if(!ie(nt))return nt;var Nt=B(nt);if(Nt){if(Se=z(nt),!De)return S(nt,Se)}else{var Wt=M(nt),H=Wt==ke||Wt=="[object GeneratorFunction]";if(X(nt))return g(nt,De);if(Wt==Ve||Wt==ge||H&&!at){if(Se=Ke||H?{}:Y(nt),!De)return Ke?T(nt,m(Se,nt)):_(nt,y(Se,nt))}else{if(!He[Wt])return at?nt:{};Se=K(nt,Wt,De)}}Xe||(Xe=new h);var we=Xe.get(nt);if(we)return we;Xe.set(nt,Se),se(nt)?nt.forEach((function(mt){Se.add(qe(mt,gt,Re,mt,nt,Xe))})):te(nt)&&nt.forEach((function(mt,ur){Se.set(ur,qe(mt,gt,Re,ur,nt,Xe))}));var ct=Nt?void 0:(ft?Ke?j:I:Ke?he:Te)(nt);return v(ct||nt,(function(mt,ur){ct&&(mt=nt[ur=mt]),f(Se,ur,qe(mt,gt,Re,ur,nt,Xe))})),Se}},39344(w,N,s){var h=s(23805),v=Object.create,f=(function(){function y(){}return function(m){if(!h(m))return{};if(v)return v(m);y.prototype=m;var g=new y;return y.prototype=void 0,g}})();w.exports=f},80909(w,N,s){var h=s(30641),v=s(38329)(h);w.exports=v},2523(w){w.exports=function(s,h,v,f){for(var y=s.length,m=v+(f?1:-1);f?m--:++m<y;)if(h(s[m],m,s))return m;return-1}},83120(w,N,s){var h=s(14528),v=s(45891);w.exports=function f(y,m,g,S,_){var T=-1,I=y.length;for(g||(g=v),_||(_=[]);++T<I;){var j=y[T];m>0&&g(j)?m>1?f(j,m-1,g,S,_):h(_,j):S||(_[_.length]=j)}return _}},86649(w,N,s){var h=s(83221)();w.exports=h},30641(w,N,s){var h=s(86649),v=s(95950);w.exports=function(y,m){return y&&h(y,m,v)}},47422(w,N,s){var h=s(31769),v=s(77797);w.exports=function(y,m){for(var g=0,S=(m=h(m,y)).length;y!=null&&g<S;)y=y[v(m[g++])];return g&&g==S?y:void 0}},82199(w,N,s){var h=s(14528),v=s(56449);w.exports=function(y,m,g){var S=m(y);return v(y)?S:h(S,g(y))}},72552(w,N,s){var h=s(51873),v=s(659),f=s(59350),y=h?h.toStringTag:void 0;w.exports=function(g){return g==null?g===void 0?"[object Undefined]":"[object Null]":y&&y in Object(g)?v(g):f(g)}},20426(w){var N=Object.prototype.hasOwnProperty;w.exports=function(h,v){return h!=null&&N.call(h,v)}},28077(w){w.exports=function(s,h){return s!=null&&h in Object(s)}},96131(w,N,s){var h=s(2523),v=s(85463),f=s(76959);w.exports=function(m,g,S){return g==g?f(m,g,S):h(m,v,S)}},27534(w,N,s){var h=s(72552),v=s(40346);w.exports=function(y){return v(y)&&h(y)=="[object Arguments]"}},60270(w,N,s){var h=s(87068),v=s(40346);w.exports=function f(y,m,g,S,_){return y===m||(y==null||m==null||!v(y)&&!v(m)?y!=y&&m!=m:h(y,m,g,S,f,_))}},87068(w,N,s){var h=s(37217),v=s(25911),f=s(21986),y=s(50689),m=s(5861),g=s(56449),S=s(3656),_=s(37167),T="[object Arguments]",I="[object Array]",j="[object Object]",M=Object.prototype.hasOwnProperty;w.exports=function(K,Y,B,X,te,ie){var se=g(K),Te=g(Y),he=se?I:m(K),ge=Te?I:m(Y),ke=(he=he==T?j:he)==j,Ve=(ge=ge==T?j:ge)==j,He=he==ge;if(He&&S(K)){if(!S(Y))return!1;se=!0,ke=!1}if(He&&!ke)return ie||(ie=new h),se||_(K)?v(K,Y,B,X,te,ie):f(K,Y,he,B,X,te,ie);if(!(1&B)){var qe=ke&&M.call(K,"__wrapped__"),nt=Ve&&M.call(Y,"__wrapped__");if(qe||nt){var gt=qe?K.value():K,Re=nt?Y.value():Y;return ie||(ie=new h),te(gt,Re,B,X,ie)}}return!!He&&(ie||(ie=new h),y(K,Y,B,X,te,ie))}},29172(w,N,s){var h=s(5861),v=s(40346);w.exports=function(y){return v(y)&&h(y)=="[object Map]"}},41799(w,N,s){var h=s(37217),v=s(60270);w.exports=function(y,m,g,S){var _=g.length,T=_,I=!S;if(y==null)return!T;for(y=Object(y);_--;){var j=g[_];if(I&&j[2]?j[1]!==y[j[0]]:!(j[0]in y))return!1}for(;++_<T;){var M=(j=g[_])[0],z=y[M],K=j[1];if(I&&j[2]){if(z===void 0&&!(M in y))return!1}else{var Y=new h;if(S)var B=S(z,K,M,y,m,Y);if(!(B===void 0?v(K,z,3,S,Y):B))return!1}}return!0}},85463(w){w.exports=function(s){return s!=s}},45083(w,N,s){var h=s(1882),v=s(87296),f=s(23805),y=s(47473),m=/^\[object .+?Constructor\]$/,g=Function.prototype,S=Object.prototype,_=g.toString,T=S.hasOwnProperty,I=RegExp("^"+_.call(T).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");w.exports=function(M){return!(!f(M)||v(M))&&(h(M)?I:m).test(y(M))}},16038(w,N,s){var h=s(5861),v=s(40346);w.exports=function(y){return v(y)&&h(y)=="[object Set]"}},4901(w,N,s){var h=s(72552),v=s(30294),f=s(40346),y={};y["[object Float32Array]"]=y["[object Float64Array]"]=y["[object Int8Array]"]=y["[object Int16Array]"]=y["[object Int32Array]"]=y["[object Uint8Array]"]=y["[object Uint8ClampedArray]"]=y["[object Uint16Array]"]=y["[object Uint32Array]"]=!0,y["[object Arguments]"]=y["[object Array]"]=y["[object ArrayBuffer]"]=y["[object Boolean]"]=y["[object DataView]"]=y["[object Date]"]=y["[object Error]"]=y["[object Function]"]=y["[object Map]"]=y["[object Number]"]=y["[object Object]"]=y["[object RegExp]"]=y["[object Set]"]=y["[object String]"]=y["[object WeakMap]"]=!1,w.exports=function(g){return f(g)&&v(g.length)&&!!y[h(g)]}},15389(w,N,s){var h=s(93663),v=s(87978),f=s(83488),y=s(56449),m=s(50583);w.exports=function(S){return typeof S=="function"?S:S==null?f:typeof S=="object"?y(S)?v(S[0],S[1]):h(S):m(S)}},88984(w,N,s){var h=s(55527),v=s(3650),f=Object.prototype.hasOwnProperty;w.exports=function(m){if(!h(m))return v(m);var g=[];for(var S in Object(m))f.call(m,S)&&S!="constructor"&&g.push(S);return g}},72903(w,N,s){var h=s(23805),v=s(55527),f=s(90181),y=Object.prototype.hasOwnProperty;w.exports=function(g){if(!h(g))return f(g);var S=v(g),_=[];for(var T in g)(T!="constructor"||!S&&y.call(g,T))&&_.push(T);return _}},94033(w){w.exports=function(){}},93663(w,N,s){var h=s(41799),v=s(10776),f=s(67197);w.exports=function(m){var g=v(m);return g.length==1&&g[0][2]?f(g[0][0],g[0][1]):function(S){return S===m||h(S,m,g)}}},87978(w,N,s){var h=s(60270),v=s(58156),f=s(80631),y=s(28586),m=s(30756),g=s(67197),S=s(77797);w.exports=function(T,I){return y(T)&&m(I)?g(S(T),I):function(j){var M=v(j,T);return M===void 0&&M===I?f(j,T):h(I,M,3)}}},85250(w,N,s){var h=s(37217),v=s(87805),f=s(86649),y=s(42824),m=s(23805),g=s(37241),S=s(14974);w.exports=function _(T,I,j,M,z){T!==I&&f(I,(function(K,Y){if(z||(z=new h),m(K))y(T,I,Y,j,_,M,z);else{var B=M?M(S(T,Y),K,Y+"",T,I,z):void 0;B===void 0&&(B=K),v(T,Y,B)}}),g)}},42824(w,N,s){var h=s(87805),v=s(93290),f=s(71961),y=s(23007),m=s(35529),g=s(72428),S=s(56449),_=s(83693),T=s(3656),I=s(1882),j=s(23805),M=s(11331),z=s(37167),K=s(14974),Y=s(69884);w.exports=function(X,te,ie,se,Te,he,ge){var ke=K(X,ie),Ve=K(te,ie),He=ge.get(Ve);if(He)h(X,ie,He);else{var qe=he?he(ke,Ve,ie+"",X,te,ge):void 0,nt=qe===void 0;if(nt){var gt=S(Ve),Re=!gt&&T(Ve),u=!gt&&!Re&&z(Ve);qe=Ve,gt||Re||u?S(ke)?qe=ke:_(ke)?qe=y(ke):Re?(nt=!1,qe=v(Ve,!0)):u?(nt=!1,qe=f(Ve,!0)):qe=[]:M(Ve)||g(Ve)?(qe=ke,g(ke)?qe=Y(ke):j(ke)&&!I(ke)||(qe=m(Ve))):nt=!1}nt&&(ge.set(Ve,qe),Te(qe,Ve,se,he,ge),ge.delete(Ve)),h(X,ie,qe)}}},47237(w){w.exports=function(s){return function(h){return h?.[s]}}},17255(w,N,s){var h=s(47422);w.exports=function(f){return function(y){return h(y,f)}}},54552(w){w.exports=function(s){return function(h){return s?.[h]}}},85558(w){w.exports=function(s,h,v,f,y){return y(s,(function(m,g,S){v=f?(f=!1,m):h(v,m,g,S)})),v}},69302(w,N,s){var h=s(83488),v=s(56757),f=s(32865);w.exports=function(m,g){return f(v(m,g,h),m+"")}},73170(w,N,s){var h=s(16547),v=s(31769),f=s(30361),y=s(23805),m=s(77797);w.exports=function(S,_,T,I){if(!y(S))return S;for(var j=-1,M=(_=v(_,S)).length,z=M-1,K=S;K!=null&&++j<M;){var Y=m(_[j]),B=T;if(Y==="__proto__"||Y==="constructor"||Y==="prototype")return S;if(j!=z){var X=K[Y];(B=I?I(X,Y,K):void 0)===void 0&&(B=y(X)?X:f(_[j+1])?[]:{})}h(K,Y,B),K=K[Y]}return S}},68882(w,N,s){var h=s(83488),v=s(48152),f=v?function(y,m){return v.set(y,m),y}:h;w.exports=f},19570(w,N,s){var h=s(37334),v=s(93243),f=s(83488),y=v?function(m,g){return v(m,"toString",{configurable:!0,enumerable:!1,value:h(g),writable:!0})}:f;w.exports=y},25160(w){w.exports=function(s,h,v){var f=-1,y=s.length;h<0&&(h=-h>y?0:y+h),(v=v>y?y:v)<0&&(v+=y),y=h>v?0:v-h>>>0,h>>>=0;for(var m=Array(y);++f<y;)m[f]=s[f+h];return m}},90916(w,N,s){var h=s(80909);w.exports=function(f,y){var m;return h(f,(function(g,S,_){return!(m=y(g,S,_))})),!!m}},78096(w){w.exports=function(s,h){for(var v=-1,f=Array(s);++v<s;)f[v]=h(v);return f}},77556(w,N,s){var h=s(51873),v=s(34932),f=s(56449),y=s(44394),m=h?h.prototype:void 0,g=m?m.toString:void 0;w.exports=function S(_){if(typeof _=="string")return _;if(f(_))return v(_,S)+"";if(y(_))return g?g.call(_):"";var T=_+"";return T=="0"&&1/_==-1/0?"-0":T}},54128(w,N,s){var h=s(31800),v=/^\s+/;w.exports=function(y){return y&&y.slice(0,h(y)+1).replace(v,"")}},27301(w){w.exports=function(s){return function(h){return s(h)}}},19931(w,N,s){var h=s(31769),v=s(68090),f=s(68969),y=s(77797),m=Object.prototype.hasOwnProperty;w.exports=function(S,_){var T=-1,I=(_=h(_,S)).length;if(!I)return!0;for(;++T<I;){var j=y(_[T]);if(j==="__proto__"&&!m.call(S,"__proto__")||(j==="constructor"||j==="prototype")&&T<I-1)return!1}var M=f(S,_);return M==null||delete M[y(v(_))]}},51234(w){w.exports=function(s,h,v){for(var f=-1,y=s.length,m=h.length,g={};++f<y;){var S=f<m?h[f]:void 0;v(g,s[f],S)}return g}},19219(w){w.exports=function(s,h){return s.has(h)}},31769(w,N,s){var h=s(56449),v=s(28586),f=s(61802),y=s(13222);w.exports=function(g,S){return h(g)?g:v(g,S)?[g]:f(y(g))}},28754(w,N,s){var h=s(25160);w.exports=function(f,y,m){var g=f.length;return m=m===void 0?g:m,!y&&m>=g?f:h(f,y,m)}},49653(w,N,s){var h=s(37828);w.exports=function(f){var y=new f.constructor(f.byteLength);return new h(y).set(new h(f)),y}},93290(w,N,s){w=s.nmd(w);var h=s(9325),v=N&&!N.nodeType&&N,f=v&&w&&!w.nodeType&&w,y=f&&f.exports===v?h.Buffer:void 0,m=y?y.allocUnsafe:void 0;w.exports=function(S,_){if(_)return S.slice();var T=S.length,I=m?m(T):new S.constructor(T);return S.copy(I),I}},76169(w,N,s){var h=s(49653);w.exports=function(f,y){var m=y?h(f.buffer):f.buffer;return new f.constructor(m,f.byteOffset,f.byteLength)}},73201(w){var N=/\w*$/;w.exports=function(h){var v=new h.constructor(h.source,N.exec(h));return v.lastIndex=h.lastIndex,v}},93736(w,N,s){var h=s(51873),v=h?h.prototype:void 0,f=v?v.valueOf:void 0;w.exports=function(m){return f?Object(f.call(m)):{}}},71961(w,N,s){var h=s(49653);w.exports=function(f,y){var m=y?h(f.buffer):f.buffer;return new f.constructor(m,f.byteOffset,f.length)}},91596(w){var N=Math.max;w.exports=function(h,v,f,y){for(var m=-1,g=h.length,S=f.length,_=-1,T=v.length,I=N(g-S,0),j=Array(T+I),M=!y;++_<T;)j[_]=v[_];for(;++m<S;)(M||m<g)&&(j[f[m]]=h[m]);for(;I--;)j[_++]=h[m++];return j}},53320(w){var N=Math.max;w.exports=function(h,v,f,y){for(var m=-1,g=h.length,S=-1,_=f.length,T=-1,I=v.length,j=N(g-_,0),M=Array(j+I),z=!y;++m<j;)M[m]=h[m];for(var K=m;++T<I;)M[K+T]=v[T];for(;++S<_;)(z||m<g)&&(M[K+f[S]]=h[m++]);return M}},23007(w){w.exports=function(s,h){var v=-1,f=s.length;for(h||(h=Array(f));++v<f;)h[v]=s[v];return h}},21791(w,N,s){var h=s(16547),v=s(43360);w.exports=function(y,m,g,S){var _=!g;g||(g={});for(var T=-1,I=m.length;++T<I;){var j=m[T],M=S?S(g[j],y[j],j,g,y):void 0;M===void 0&&(M=y[j]),_?v(g,j,M):h(g,j,M)}return g}},92271(w,N,s){var h=s(21791),v=s(4664);w.exports=function(y,m){return h(y,v(y),m)}},48948(w,N,s){var h=s(21791),v=s(86375);w.exports=function(y,m){return h(y,v(y),m)}},55481(w,N,s){var h=s(9325)["__core-js_shared__"];w.exports=h},58523(w){w.exports=function(s,h){for(var v=s.length,f=0;v--;)s[v]===h&&++f;return f}},20999(w,N,s){var h=s(69302),v=s(36800);w.exports=function(y){return h((function(m,g){var S=-1,_=g.length,T=_>1?g[_-1]:void 0,I=_>2?g[2]:void 0;for(T=y.length>3&&typeof T=="function"?(_--,T):void 0,I&&v(g[0],g[1],I)&&(T=_<3?void 0:T,_=1),m=Object(m);++S<_;){var j=g[S];j&&y(m,j,S,T)}return m}))}},38329(w,N,s){var h=s(64894);w.exports=function(f,y){return function(m,g){if(m==null)return m;if(!h(m))return f(m,g);for(var S=m.length,_=y?S:-1,T=Object(m);(y?_--:++_<S)&&g(T[_],_,T)!==!1;);return m}}},83221(w){w.exports=function(s){return function(h,v,f){for(var y=-1,m=Object(h),g=f(h),S=g.length;S--;){var _=g[s?S:++y];if(v(m[_],_,m)===!1)break}return h}}},11842(w,N,s){var h=s(82819),v=s(9325);w.exports=function(y,m,g){var S=1&m,_=h(y);return function T(){return(this&&this!==v&&this instanceof T?_:y).apply(S?g:this,arguments)}}},12507(w,N,s){var h=s(28754),v=s(49698),f=s(63912),y=s(13222);w.exports=function(g){return function(S){S=y(S);var _=v(S)?f(S):void 0,T=_?_[0]:S.charAt(0),I=_?h(_,1).join(""):S.slice(1);return T[g]()+I}}},45539(w,N,s){var h=s(40882),v=s(50828),f=s(66645),y=RegExp("[']","g");w.exports=function(g){return function(S){return h(f(v(S).replace(y,"")),g,"")}}},82819(w,N,s){var h=s(39344),v=s(23805);w.exports=function(y){return function(){var m=arguments;switch(m.length){case 0:return new y;case 1:return new y(m[0]);case 2:return new y(m[0],m[1]);case 3:return new y(m[0],m[1],m[2]);case 4:return new y(m[0],m[1],m[2],m[3]);case 5:return new y(m[0],m[1],m[2],m[3],m[4]);case 6:return new y(m[0],m[1],m[2],m[3],m[4],m[5]);case 7:return new y(m[0],m[1],m[2],m[3],m[4],m[5],m[6])}var g=h(y.prototype),S=y.apply(g,m);return v(S)?S:g}}},77078(w,N,s){var h=s(91033),v=s(82819),f=s(37471),y=s(18073),m=s(11287),g=s(36306),S=s(9325);w.exports=function(T,I,j){var M=v(T);return function z(){for(var K=arguments.length,Y=Array(K),B=K,X=m(z);B--;)Y[B]=arguments[B];var te=K<3&&Y[0]!==X&&Y[K-1]!==X?[]:g(Y,X);return(K-=te.length)<j?y(T,I,f,z.placeholder,void 0,Y,te,void 0,void 0,j-K):h(this&&this!==S&&this instanceof z?M:T,this,Y)}}},62006(w,N,s){var h=s(15389),v=s(64894),f=s(95950);w.exports=function(m){return function(g,S,_){var T=Object(g);if(!v(g)){var I=h(S,3);g=f(g),S=function(M){return I(T[M],M,T)}}var j=m(g,S,_);return j>-1?T[I?g[j]:j]:void 0}}},37471(w,N,s){var h=s(91596),v=s(53320),f=s(58523),y=s(82819),m=s(18073),g=s(11287),S=s(68294),_=s(36306),T=s(9325);w.exports=function I(j,M,z,K,Y,B,X,te,ie,se){var Te=128&M,he=1&M,ge=2&M,ke=24&M,Ve=512&M,He=ge?void 0:y(j);return function qe(){for(var nt=arguments.length,gt=Array(nt),Re=nt;Re--;)gt[Re]=arguments[Re];if(ke)var u=g(qe),at=f(gt,u);if(K&&(gt=h(gt,K,Y,ke)),B&&(gt=v(gt,B,X,ke)),nt-=at,ke&&nt<se){var Xe=_(gt,u);return m(j,M,I,qe.placeholder,z,gt,Xe,te,ie,se-nt)}var Se=he?z:this,De=ge?Se[j]:j;return nt=gt.length,te?gt=S(gt,te):Ve&&nt>1&&gt.reverse(),Te&&ie<nt&&(gt.length=ie),this&&this!==T&&this instanceof qe&&(De=He||y(De)),De.apply(Se,gt)}}},24168(w,N,s){var h=s(91033),v=s(82819),f=s(9325);w.exports=function(m,g,S,_){var T=1&g,I=v(m);return function j(){for(var M=-1,z=arguments.length,K=-1,Y=_.length,B=Array(Y+z),X=this&&this!==f&&this instanceof j?I:m;++K<Y;)B[K]=_[K];for(;z--;)B[K++]=arguments[++M];return h(X,T?S:this,B)}}},18073(w,N,s){var h=s(85087),v=s(54641),f=s(70981);w.exports=function(m,g,S,_,T,I,j,M,z,K){var Y=8&g;g|=Y?32:64,4&(g&=~(Y?64:32))||(g&=-4);var B=[m,g,T,Y?I:void 0,Y?j:void 0,Y?void 0:I,Y?void 0:j,M,z,K],X=S.apply(void 0,B);return h(m)&&v(X,B),X.placeholder=_,f(X,m,g)}},66977(w,N,s){var h=s(68882),v=s(11842),f=s(77078),y=s(37471),m=s(24168),g=s(37381),S=s(3209),_=s(54641),T=s(70981),I=s(61489),j=Math.max;w.exports=function(z,K,Y,B,X,te,ie,se){var Te=2&K;if(!Te&&typeof z!="function")throw new TypeError("Expected a function");var he=B?B.length:0;if(he||(K&=-97,B=X=void 0),ie=ie===void 0?ie:j(I(ie),0),se=se===void 0?se:I(se),he-=X?X.length:0,64&K){var ge=B,ke=X;B=X=void 0}var Ve=Te?void 0:g(z),He=[z,K,Y,B,X,ge,ke,te,ie,se];if(Ve&&S(He,Ve),z=He[0],K=He[1],Y=He[2],B=He[3],X=He[4],!(se=He[9]=He[9]===void 0?Te?0:z.length:j(He[9]-he,0))&&24&K&&(K&=-25),K&&K!=1)qe=K==8||K==16?f(z,K,se):K!=32&&K!=33||X.length?y.apply(void 0,He):m(z,K,Y,B);else var qe=v(z,K,Y);return T((Ve?h:_)(qe,He),z,K)}},53138(w,N,s){var h=s(11331);w.exports=function(f){return h(f)?void 0:f}},24647(w,N,s){var h=s(54552)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});w.exports=h},93243(w,N,s){var h=s(56110),v=(function(){try{var f=h(Object,"defineProperty");return f({},"",{}),f}catch{}})();w.exports=v},25911(w,N,s){var h=s(38859),v=s(14248),f=s(19219);w.exports=function(m,g,S,_,T,I){var j=1&S,M=m.length,z=g.length;if(M!=z&&!(j&&z>M))return!1;var K=I.get(m),Y=I.get(g);if(K&&Y)return K==g&&Y==m;var B=-1,X=!0,te=2&S?new h:void 0;for(I.set(m,g),I.set(g,m);++B<M;){var ie=m[B],se=g[B];if(_)var Te=j?_(se,ie,B,g,m,I):_(ie,se,B,m,g,I);if(Te!==void 0){if(Te)continue;X=!1;break}if(te){if(!v(g,(function(he,ge){if(!f(te,ge)&&(ie===he||T(ie,he,S,_,I)))return te.push(ge)}))){X=!1;break}}else if(ie!==se&&!T(ie,se,S,_,I)){X=!1;break}}return I.delete(m),I.delete(g),X}},21986(w,N,s){var h=s(51873),v=s(37828),f=s(75288),y=s(25911),m=s(20317),g=s(84247),S=h?h.prototype:void 0,_=S?S.valueOf:void 0;w.exports=function(I,j,M,z,K,Y,B){switch(M){case"[object DataView]":if(I.byteLength!=j.byteLength||I.byteOffset!=j.byteOffset)return!1;I=I.buffer,j=j.buffer;case"[object ArrayBuffer]":return!(I.byteLength!=j.byteLength||!Y(new v(I),new v(j)));case"[object Boolean]":case"[object Date]":case"[object Number]":return f(+I,+j);case"[object Error]":return I.name==j.name&&I.message==j.message;case"[object RegExp]":case"[object String]":return I==j+"";case"[object Map]":var X=m;case"[object Set]":var te=1&z;if(X||(X=g),I.size!=j.size&&!te)return!1;var ie=B.get(I);if(ie)return ie==j;z|=2,B.set(I,j);var se=y(X(I),X(j),z,K,Y,B);return B.delete(I),se;case"[object Symbol]":if(_)return _.call(I)==_.call(j)}return!1}},50689(w,N,s){var h=s(50002),v=Object.prototype.hasOwnProperty;w.exports=function(y,m,g,S,_,T){var I=1&g,j=h(y),M=j.length;if(M!=h(m).length&&!I)return!1;for(var z=M;z--;){var K=j[z];if(!(I?K in m:v.call(m,K)))return!1}var Y=T.get(y),B=T.get(m);if(Y&&B)return Y==m&&B==y;var X=!0;T.set(y,m),T.set(m,y);for(var te=I;++z<M;){var ie=y[K=j[z]],se=m[K];if(S)var Te=I?S(se,ie,K,m,y,T):S(ie,se,K,y,m,T);if(!(Te===void 0?ie===se||_(ie,se,g,S,T):Te)){X=!1;break}te||(te=K=="constructor")}if(X&&!te){var he=y.constructor,ge=m.constructor;he==ge||!("constructor"in y)||!("constructor"in m)||typeof he=="function"&&he instanceof he&&typeof ge=="function"&&ge instanceof ge||(X=!1)}return T.delete(y),T.delete(m),X}},38816(w,N,s){var h=s(35970),v=s(56757),f=s(32865);w.exports=function(m){return f(v(m,void 0,h),m+"")}},34840(w,N,s){var h=typeof s.g=="object"&&s.g&&s.g.Object===Object&&s.g;w.exports=h},50002(w,N,s){var h=s(82199),v=s(4664),f=s(95950);w.exports=function(m){return h(m,f,v)}},83349(w,N,s){var h=s(82199),v=s(86375),f=s(37241);w.exports=function(m){return h(m,f,v)}},37381(w,N,s){var h=s(48152),v=s(63950),f=h?function(y){return h.get(y)}:v;w.exports=f},62284(w,N,s){var h=s(84629),v=Object.prototype.hasOwnProperty;w.exports=function(y){for(var m=y.name+"",g=h[m],S=v.call(h,m)?g.length:0;S--;){var _=g[S],T=_.func;if(T==null||T==y)return _.name}return m}},11287(w){w.exports=function(s){return s.placeholder}},12651(w,N,s){var h=s(74218);w.exports=function(f,y){var m=f.__data__;return h(y)?m[typeof y=="string"?"string":"hash"]:m.map}},10776(w,N,s){var h=s(30756),v=s(95950);w.exports=function(y){for(var m=v(y),g=m.length;g--;){var S=m[g],_=y[S];m[g]=[S,_,h(_)]}return m}},56110(w,N,s){var h=s(45083),v=s(10392);w.exports=function(y,m){var g=v(y,m);return h(g)?g:void 0}},28879(w,N,s){var h=s(74335)(Object.getPrototypeOf,Object);w.exports=h},659(w,N,s){var h=s(51873),v=Object.prototype,f=v.hasOwnProperty,y=v.toString,m=h?h.toStringTag:void 0;w.exports=function(S){var _=f.call(S,m),T=S[m];try{S[m]=void 0;var I=!0}catch{}var j=y.call(S);return I&&(_?S[m]=T:delete S[m]),j}},4664(w,N,s){var h=s(79770),v=s(63345),f=Object.prototype.propertyIsEnumerable,y=Object.getOwnPropertySymbols,m=y?function(g){return g==null?[]:(g=Object(g),h(y(g),(function(S){return f.call(g,S)})))}:v;w.exports=m},86375(w,N,s){var h=s(14528),v=s(28879),f=s(4664),y=s(63345),m=Object.getOwnPropertySymbols?function(g){for(var S=[];g;)h(S,f(g)),g=v(g);return S}:y;w.exports=m},5861(w,N,s){var h=s(55580),v=s(68223),f=s(32804),y=s(76545),m=s(28303),g=s(72552),S=s(47473),_="[object Map]",T="[object Promise]",I="[object Set]",j="[object WeakMap]",M="[object DataView]",z=S(h),K=S(v),Y=S(f),B=S(y),X=S(m),te=g;(h&&te(new h(new ArrayBuffer(1)))!=M||v&&te(new v)!=_||f&&te(f.resolve())!=T||y&&te(new y)!=I||m&&te(new m)!=j)&&(te=function(ie){var se=g(ie),Te=se=="[object Object]"?ie.constructor:void 0,he=Te?S(Te):"";if(he)switch(he){case z:return M;case K:return _;case Y:return T;case B:return I;case X:return j}return se}),w.exports=te},10392(w){w.exports=function(s,h){return s?.[h]}},75251(w){var N=/\{\n\/\* \[wrapped with (.+)\] \*/,s=/,? & /;w.exports=function(v){var f=v.match(N);return f?f[1].split(s):[]}},49326(w,N,s){var h=s(31769),v=s(72428),f=s(56449),y=s(30361),m=s(30294),g=s(77797);w.exports=function(_,T,I){for(var j=-1,M=(T=h(T,_)).length,z=!1;++j<M;){var K=g(T[j]);if(!(z=_!=null&&I(_,K)))break;_=_[K]}return z||++j!=M?z:!!(M=_==null?0:_.length)&&m(M)&&y(K,M)&&(f(_)||v(_))}},49698(w){var N=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");w.exports=function(h){return N.test(h)}},45434(w){var N=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;w.exports=function(h){return N.test(h)}},22032(w,N,s){var h=s(81042);w.exports=function(){this.__data__=h?h(null):{},this.size=0}},63862(w){w.exports=function(s){var h=this.has(s)&&delete this.__data__[s];return this.size-=h?1:0,h}},66721(w,N,s){var h=s(81042),v=Object.prototype.hasOwnProperty;w.exports=function(y){var m=this.__data__;if(h){var g=m[y];return g==="__lodash_hash_undefined__"?void 0:g}return v.call(m,y)?m[y]:void 0}},12749(w,N,s){var h=s(81042),v=Object.prototype.hasOwnProperty;w.exports=function(y){var m=this.__data__;return h?m[y]!==void 0:v.call(m,y)}},35749(w,N,s){var h=s(81042);w.exports=function(f,y){var m=this.__data__;return this.size+=this.has(f)?0:1,m[f]=h&&y===void 0?"__lodash_hash_undefined__":y,this}},76189(w){var N=Object.prototype.hasOwnProperty;w.exports=function(h){var v=h.length,f=new h.constructor(v);return v&&typeof h[0]=="string"&&N.call(h,"index")&&(f.index=h.index,f.input=h.input),f}},77199(w,N,s){var h=s(49653),v=s(76169),f=s(73201),y=s(93736),m=s(71961);w.exports=function(S,_,T){var I=S.constructor;switch(_){case"[object ArrayBuffer]":return h(S);case"[object Boolean]":case"[object Date]":return new I(+S);case"[object DataView]":return v(S,T);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return m(S,T);case"[object Map]":case"[object Set]":return new I;case"[object Number]":case"[object String]":return new I(S);case"[object RegExp]":return f(S);case"[object Symbol]":return y(S)}}},35529(w,N,s){var h=s(39344),v=s(28879),f=s(55527);w.exports=function(m){return typeof m.constructor!="function"||f(m)?{}:h(v(m))}},62060(w){var N=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;w.exports=function(h,v){var f=v.length;if(!f)return h;var y=f-1;return v[y]=(f>1?"& ":"")+v[y],v=v.join(f>2?", ":" "),h.replace(N,`{
/* [wrapped with `+v+`] */
`)}},45891(w,N,s){var h=s(51873),v=s(72428),f=s(56449),y=h?h.isConcatSpreadable:void 0;w.exports=function(g){return f(g)||v(g)||!!(y&&g&&g[y])}},30361(w){var N=/^(?:0|[1-9]\d*)$/;w.exports=function(h,v){var f=typeof h;return!!(v=v??9007199254740991)&&(f=="number"||f!="symbol"&&N.test(h))&&h>-1&&h%1==0&&h<v}},36800(w,N,s){var h=s(75288),v=s(64894),f=s(30361),y=s(23805);w.exports=function(g,S,_){if(!y(_))return!1;var T=typeof S;return!!(T=="number"?v(_)&&f(S,_.length):T=="string"&&S in _)&&h(_[S],g)}},28586(w,N,s){var h=s(56449),v=s(44394),f=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,y=/^\w*$/;w.exports=function(g,S){if(h(g))return!1;var _=typeof g;return!(_!="number"&&_!="symbol"&&_!="boolean"&&g!=null&&!v(g))||y.test(g)||!f.test(g)||S!=null&&g in Object(S)}},74218(w){w.exports=function(s){var h=typeof s;return h=="string"||h=="number"||h=="symbol"||h=="boolean"?s!=="__proto__":s===null}},85087(w,N,s){var h=s(30980),v=s(37381),f=s(62284),y=s(53758);w.exports=function(g){var S=f(g),_=y[S];if(typeof _!="function"||!(S in h.prototype))return!1;if(g===_)return!0;var T=v(_);return!!T&&g===T[0]}},87296(w,N,s){var h,v=s(55481),f=(h=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||""))?"Symbol(src)_1."+h:"";w.exports=function(m){return!!f&&f in m}},55527(w){var N=Object.prototype;w.exports=function(h){var v=h&&h.constructor;return h===(typeof v=="function"&&v.prototype||N)}},30756(w,N,s){var h=s(23805);w.exports=function(f){return f==f&&!h(f)}},63702(w){w.exports=function(){this.__data__=[],this.size=0}},70080(w,N,s){var h=s(26025),v=Array.prototype.splice;w.exports=function(y){var m=this.__data__,g=h(m,y);return!(g<0)&&(g==m.length-1?m.pop():v.call(m,g,1),--this.size,!0)}},24739(w,N,s){var h=s(26025);w.exports=function(f){var y=this.__data__,m=h(y,f);return m<0?void 0:y[m][1]}},48655(w,N,s){var h=s(26025);w.exports=function(f){return h(this.__data__,f)>-1}},31175(w,N,s){var h=s(26025);w.exports=function(f,y){var m=this.__data__,g=h(m,f);return g<0?(++this.size,m.push([f,y])):m[g][1]=y,this}},63040(w,N,s){var h=s(21549),v=s(80079),f=s(68223);w.exports=function(){this.size=0,this.__data__={hash:new h,map:new(f||v),string:new h}}},17670(w,N,s){var h=s(12651);w.exports=function(f){var y=h(this,f).delete(f);return this.size-=y?1:0,y}},90289(w,N,s){var h=s(12651);w.exports=function(f){return h(this,f).get(f)}},4509(w,N,s){var h=s(12651);w.exports=function(f){return h(this,f).has(f)}},72949(w,N,s){var h=s(12651);w.exports=function(f,y){var m=h(this,f),g=m.size;return m.set(f,y),this.size+=m.size==g?0:1,this}},20317(w){w.exports=function(s){var h=-1,v=Array(s.size);return s.forEach((function(f,y){v[++h]=[y,f]})),v}},67197(w){w.exports=function(s,h){return function(v){return v!=null&&v[s]===h&&(h!==void 0||s in Object(v))}}},62224(w,N,s){var h=s(50104);w.exports=function(f){var y=h(f,(function(g){return m.size===500&&m.clear(),g})),m=y.cache;return y}},3209(w,N,s){var h=s(91596),v=s(53320),f=s(36306),y="__lodash_placeholder__",m=128,g=Math.min;w.exports=function(_,T){var I=_[1],j=T[1],M=I|j,z=M<131,K=j==m&&I==8||j==m&&I==256&&_[7].length<=T[8]||j==384&&T[7].length<=T[8]&&I==8;if(!z&&!K)return _;1&j&&(_[2]=T[2],M|=1&I?0:4);var Y=T[3];if(Y){var B=_[3];_[3]=B?h(B,Y,T[4]):Y,_[4]=B?f(_[3],y):T[4]}return(Y=T[5])&&(B=_[5],_[5]=B?v(B,Y,T[6]):Y,_[6]=B?f(_[5],y):T[6]),(Y=T[7])&&(_[7]=Y),j&m&&(_[8]=_[8]==null?T[8]:g(_[8],T[8])),_[9]==null&&(_[9]=T[9]),_[0]=T[0],_[1]=M,_}},48152(w,N,s){var h=s(28303),v=h&&new h;w.exports=v},81042(w,N,s){var h=s(56110)(Object,"create");w.exports=h},3650(w,N,s){var h=s(74335)(Object.keys,Object);w.exports=h},90181(w){w.exports=function(s){var h=[];if(s!=null)for(var v in Object(s))h.push(v);return h}},86009(w,N,s){w=s.nmd(w);var h=s(34840),v=N&&!N.nodeType&&N,f=v&&w&&!w.nodeType&&w,y=f&&f.exports===v&&h.process,m=(function(){try{var g=f&&f.require&&f.require("util").types;return g||y&&y.binding&&y.binding("util")}catch{}})();w.exports=m},59350(w){var N=Object.prototype.toString;w.exports=function(h){return N.call(h)}},74335(w){w.exports=function(s,h){return function(v){return s(h(v))}}},56757(w,N,s){var h=s(91033),v=Math.max;w.exports=function(y,m,g){return m=v(m===void 0?y.length-1:m,0),function(){for(var S=arguments,_=-1,T=v(S.length-m,0),I=Array(T);++_<T;)I[_]=S[m+_];_=-1;for(var j=Array(m+1);++_<m;)j[_]=S[_];return j[m]=g(I),h(y,this,j)}}},68969(w,N,s){var h=s(47422),v=s(25160);w.exports=function(y,m){return m.length<2?y:h(y,v(m,0,-1))}},84629(w){w.exports={}},68294(w,N,s){var h=s(23007),v=s(30361),f=Math.min;w.exports=function(m,g){for(var S=m.length,_=f(g.length,S),T=h(m);_--;){var I=g[_];m[_]=v(I,S)?T[I]:void 0}return m}},36306(w){var N="__lodash_placeholder__";w.exports=function(h,v){for(var f=-1,y=h.length,m=0,g=[];++f<y;){var S=h[f];S!==v&&S!==N||(h[f]=N,g[m++]=f)}return g}},9325(w,N,s){var h=s(34840),v=typeof self=="object"&&self&&self.Object===Object&&self,f=h||v||Function("return this")();w.exports=f},14974(w){w.exports=function(s,h){if((h!=="constructor"||typeof s[h]!="function")&&h!="__proto__")return s[h]}},31380(w){w.exports=function(s){return this.__data__.set(s,"__lodash_hash_undefined__"),this}},51459(w){w.exports=function(s){return this.__data__.has(s)}},54641(w,N,s){var h=s(68882),v=s(51811)(h);w.exports=v},84247(w){w.exports=function(s){var h=-1,v=Array(s.size);return s.forEach((function(f){v[++h]=f})),v}},32865(w,N,s){var h=s(19570),v=s(51811)(h);w.exports=v},70981(w,N,s){var h=s(75251),v=s(62060),f=s(32865),y=s(75948);w.exports=function(g,S,_){var T=S+"";return f(g,v(T,y(h(T),_)))}},51811(w){var N=Date.now;w.exports=function(h){var v=0,f=0;return function(){var y=N(),m=16-(y-f);if(f=y,m>0){if(++v>=800)return arguments[0]}else v=0;return h.apply(void 0,arguments)}}},51420(w,N,s){var h=s(80079);w.exports=function(){this.__data__=new h,this.size=0}},90938(w){w.exports=function(s){var h=this.__data__,v=h.delete(s);return this.size=h.size,v}},63605(w){w.exports=function(s){return this.__data__.get(s)}},29817(w){w.exports=function(s){return this.__data__.has(s)}},80945(w,N,s){var h=s(80079),v=s(68223),f=s(53661);w.exports=function(m,g){var S=this.__data__;if(S instanceof h){var _=S.__data__;if(!v||_.length<199)return _.push([m,g]),this.size=++S.size,this;S=this.__data__=new f(_)}return S.set(m,g),this.size=S.size,this}},76959(w){w.exports=function(s,h,v){for(var f=v-1,y=s.length;++f<y;)if(s[f]===h)return f;return-1}},63912(w,N,s){var h=s(61074),v=s(49698),f=s(42054);w.exports=function(m){return v(m)?f(m):h(m)}},61802(w,N,s){var h=s(62224),v=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,y=h((function(m){var g=[];return m.charCodeAt(0)===46&&g.push(""),m.replace(v,(function(S,_,T,I){g.push(T?I.replace(f,"$1"):_||S)})),g}));w.exports=y},77797(w,N,s){var h=s(44394);w.exports=function(f){if(typeof f=="string"||h(f))return f;var y=f+"";return y=="0"&&1/f==-1/0?"-0":y}},47473(w){var N=Function.prototype.toString;w.exports=function(h){if(h!=null){try{return N.call(h)}catch{}try{return h+""}catch{}}return""}},31800(w){var N=/\s/;w.exports=function(h){for(var v=h.length;v--&&N.test(h.charAt(v)););return v}},42054(w){var N="\\ud800-\\udfff",s="["+N+"]",h="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",v="\\ud83c[\\udffb-\\udfff]",f="[^"+N+"]",y="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",g="(?:"+h+"|"+v+")?",S="[\\ufe0e\\ufe0f]?",_=S+g+("(?:\\u200d(?:"+[f,y,m].join("|")+")"+S+g+")*"),T="(?:"+[f+h+"?",h,y,m,s].join("|")+")",I=RegExp(v+"(?="+v+")|"+T+_,"g");w.exports=function(M){return M.match(I)||[]}},22225(w){var N="\\ud800-\\udfff",s="\\u2700-\\u27bf",h="a-z\\xdf-\\xf6\\xf8-\\xff",v="A-Z\\xc0-\\xd6\\xd8-\\xde",f="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",y="["+f+"]",m="\\d+",g="["+s+"]",S="["+h+"]",_="[^"+N+f+m+s+h+v+"]",T="(?:\\ud83c[\\udde6-\\uddff]){2}",I="[\\ud800-\\udbff][\\udc00-\\udfff]",j="["+v+"]",M="(?:"+S+"|"+_+")",z="(?:"+j+"|"+_+")",K="(?:['](?:d|ll|m|re|s|t|ve))?",Y="(?:['](?:D|LL|M|RE|S|T|VE))?",B="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",X="[\\ufe0e\\ufe0f]?",te=X+B+("(?:\\u200d(?:"+["[^"+N+"]",T,I].join("|")+")"+X+B+")*"),ie="(?:"+[g,T,I].join("|")+")"+te,se=RegExp([j+"?"+S+"+"+K+"(?="+[y,j,"$"].join("|")+")",z+"+"+Y+"(?="+[y,j+M,"$"].join("|")+")",j+"?"+M+"+"+K,j+"+"+Y,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",m,ie].join("|"),"g");w.exports=function(he){return he.match(se)||[]}},75948(w,N,s){var h=s(83729),v=s(15325),f=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];w.exports=function(m,g){return h(f,(function(S){var _="_."+S[0];g&S[1]&&!v(m,_)&&m.push(_)})),m.sort()}},80257(w,N,s){var h=s(30980),v=s(56017),f=s(23007);w.exports=function(m){if(m instanceof h)return m.clone();var g=new v(m.__wrapped__,m.__chain__);return g.__actions__=f(m.__actions__),g.__index__=m.__index__,g.__values__=m.__values__,g}},64626(w,N,s){var h=s(66977);w.exports=function(f,y,m){return y=m?void 0:y,y=f&&y==null?f.length:y,h(f,128,void 0,void 0,void 0,void 0,y)}},84058(w,N,s){var h=s(14792),v=s(45539)((function(f,y,m){return y=y.toLowerCase(),f+(m?h(y):y)}));w.exports=v},14792(w,N,s){var h=s(13222),v=s(55808);w.exports=function(y){return v(h(y).toLowerCase())}},32629(w,N,s){var h=s(9999);w.exports=function(f){return h(f,4)}},37334(w){w.exports=function(s){return function(){return s}}},49747(w,N,s){var h=s(66977);function v(f,y,m){var g=h(f,8,void 0,void 0,void 0,void 0,void 0,y=m?void 0:y);return g.placeholder=v.placeholder,g}v.placeholder={},w.exports=v},38221(w,N,s){var h=s(23805),v=s(10124),f=s(99374),y=Math.max,m=Math.min;w.exports=function(S,_,T){var I,j,M,z,K,Y,B=0,X=!1,te=!1,ie=!0;if(typeof S!="function")throw new TypeError("Expected a function");function se(Ve){var He=I,qe=j;return I=j=void 0,B=Ve,z=S.apply(qe,He)}function Te(Ve){var He=Ve-Y;return Y===void 0||He>=_||He<0||te&&Ve-B>=M}function he(){var Ve=v();if(Te(Ve))return ge(Ve);K=setTimeout(he,(function(qe){var nt=_-(qe-Y);return te?m(nt,M-(qe-B)):nt})(Ve))}function ge(Ve){return K=void 0,ie&&I?se(Ve):(I=j=void 0,z)}function ke(){var Ve=v(),He=Te(Ve);if(I=arguments,j=this,Y=Ve,He){if(K===void 0)return(function(nt){return B=nt,K=setTimeout(he,_),X?se(nt):z})(Y);if(te)return clearTimeout(K),K=setTimeout(he,_),se(Y)}return K===void 0&&(K=setTimeout(he,_)),z}return _=f(_)||0,h(T)&&(X=!!T.leading,M=(te="maxWait"in T)?y(f(T.maxWait)||0,_):M,ie="trailing"in T?!!T.trailing:ie),ke.cancel=function(){K!==void 0&&clearTimeout(K),B=0,I=Y=j=K=void 0},ke.flush=function(){return K===void 0?z:ge(v())},ke}},50828(w,N,s){var h=s(24647),v=s(13222),f=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,y=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");w.exports=function(g){return(g=v(g))&&g.replace(f,h).replace(y,"")}},75288(w){w.exports=function(s,h){return s===h||s!=s&&h!=h}},60680(w,N,s){var h=s(13222),v=/[\\^$.*+?()[\]{}|]/g,f=RegExp(v.source);w.exports=function(m){return(m=h(m))&&f.test(m)?m.replace(v,"\\$&"):m}},7309(w,N,s){var h=s(62006)(s(24713));w.exports=h},24713(w,N,s){var h=s(2523),v=s(15389),f=s(61489),y=Math.max;w.exports=function(g,S,_){var T=g==null?0:g.length;if(!T)return-1;var I=_==null?0:f(_);return I<0&&(I=y(T+I,0)),h(g,v(S,3),I)}},35970(w,N,s){var h=s(83120);w.exports=function(f){return f!=null&&f.length?h(f,1):[]}},73424(w,N,s){var h=s(16962),v=s(2874),f=Array.prototype.push;function y(S,_){return _==2?function(T,I){return S(T,I)}:function(T){return S(T)}}function m(S){for(var _=S?S.length:0,T=Array(_);_--;)T[_]=S[_];return T}function g(S,_){return function(){var T=arguments.length;if(T){for(var I=Array(T);T--;)I[T]=arguments[T];var j=I[0]=_.apply(void 0,I);return S.apply(void 0,I),j}}}w.exports=function S(_,T,I,j){var M=typeof T=="function",z=T===Object(T);if(z&&(j=I,I=T,T=void 0),I==null)throw new TypeError;j||(j={});var K=!("cap"in j)||j.cap,Y=!("curry"in j)||j.curry,B=!("fixed"in j)||j.fixed,X=!("immutable"in j)||j.immutable,te=!("rearg"in j)||j.rearg,ie=M?I:v,se="curry"in j&&j.curry,Te="fixed"in j&&j.fixed,he="rearg"in j&&j.rearg,ge=M?I.runInContext():void 0,ke=M?I:{ary:_.ary,assign:_.assign,clone:_.clone,curry:_.curry,forEach:_.forEach,isArray:_.isArray,isError:_.isError,isFunction:_.isFunction,isWeakMap:_.isWeakMap,iteratee:_.iteratee,keys:_.keys,rearg:_.rearg,toInteger:_.toInteger,toPath:_.toPath},Ve=ke.ary,He=ke.assign,qe=ke.clone,nt=ke.curry,gt=ke.forEach,Re=ke.isArray,u=ke.isError,at=ke.isFunction,Xe=ke.isWeakMap,Se=ke.keys,De=ke.rearg,Ke=ke.toInteger,ft=ke.toPath,Nt=Se(h.aryMethod),Wt={castArray:function(kt){return function(){var yt=arguments[0];return Re(yt)?kt(m(yt)):kt.apply(void 0,arguments)}},iteratee:function(kt){return function(){var yt=arguments[1],Zt=kt(arguments[0],yt),pe=Zt.length;return K&&typeof yt=="number"?(yt=yt>2?yt-2:1,pe&&pe<=yt?Zt:y(Zt,yt)):Zt}},mixin:function(kt){return function(yt){var Zt=this;if(!at(Zt))return kt(Zt,Object(yt));var pe=[];return gt(Se(yt),(function(U){at(yt[U])&&pe.push([U,Zt.prototype[U]])})),kt(Zt,Object(yt)),gt(pe,(function(U){var Z=U[1];at(Z)?Zt.prototype[U[0]]=Z:delete Zt.prototype[U[0]]})),Zt}},nthArg:function(kt){return function(yt){var Zt=yt<0?1:Ke(yt)+1;return nt(kt(yt),Zt)}},rearg:function(kt){return function(yt,Zt){var pe=Zt?Zt.length:0;return nt(kt(yt,Zt),pe)}},runInContext:function(kt){return function(yt){return S(_,kt(yt),j)}}};function H(kt,yt){if(K){var Zt=h.iterateeRearg[kt];if(Zt)return(function(Z,ne){return ar(Z,(function(ye){var Ee=ne.length;return(function(St,Bt){return Bt==2?function(Qe,$t){return St.apply(void 0,arguments)}:function(Qe){return St.apply(void 0,arguments)}})(De(y(ye,Ee),ne),Ee)}))})(yt,Zt);var pe=!M&&h.iterateeAry[kt];if(pe)return(function(Z,ne){return ar(Z,(function(ye){return typeof ye=="function"?y(ye,ne):ye}))})(yt,pe)}return yt}function we(kt,yt,Zt){if(B&&(Te||!h.skipFixed[kt])){var pe=h.methodSpread[kt],U=pe&&pe.start;return U===void 0?Ve(yt,Zt):(function(ne,ye){return function(){for(var Ee=arguments.length,Fe=Ee-1,St=Array(Ee);Ee--;)St[Ee]=arguments[Ee];var Bt=St[ye],Qe=St.slice(0,ye);return Bt&&f.apply(Qe,Bt),ye!=Fe&&f.apply(Qe,St.slice(ye+1)),ne.apply(this,Qe)}})(yt,U)}return yt}function ct(kt,yt,Zt){return te&&Zt>1&&(he||!h.skipRearg[kt])?De(yt,h.methodRearg[kt]||h.aryRearg[Zt]):yt}function mt(kt,yt){for(var Zt=-1,pe=(yt=ft(yt)).length,U=pe-1,Z=qe(Object(kt)),ne=Z;ne!=null&&++Zt<pe;){var ye=yt[Zt],Ee=ne[ye];Ee==null||at(Ee)||u(Ee)||Xe(Ee)||(ne[ye]=qe(Zt==U?Ee:Object(Ee))),ne=ne[ye]}return Z}function ur(kt,yt){var Zt=h.aliasToReal[kt]||kt,pe=h.remap[Zt]||Zt,U=j;return function(Z){var ne=M?ge:ke,ye=M?ge[pe]:yt,Ee=He(He({},U),Z);return S(ne,Zt,ye,Ee)}}function ar(kt,yt){return function(){var Zt=arguments.length;if(!Zt)return kt();for(var pe=Array(Zt);Zt--;)pe[Zt]=arguments[Zt];var U=te?0:Zt-1;return pe[U]=yt(pe[U]),kt.apply(void 0,pe)}}function Tt(kt,yt,Zt){var pe,U=h.aliasToReal[kt]||kt,Z=yt,ne=Wt[U];return ne?Z=ne(yt):X&&(h.mutate.array[U]?Z=g(yt,m):h.mutate.object[U]?Z=g(yt,(function(Ee){return function(Fe){return Ee({},Fe)}})(yt)):h.mutate.set[U]&&(Z=g(yt,mt))),gt(Nt,(function(ye){return gt(h.aryMethod[ye],(function(Ee){if(U==Ee){var Fe=h.methodSpread[U],St=Fe&&Fe.afterRearg;return pe=St?we(U,ct(U,Z,ye),ye):ct(U,we(U,Z,ye),ye),pe=(function(Qe,$t,Pt){return se||Y&&Pt>1?nt($t,Pt):$t})(0,pe=H(U,pe),ye),!1}})),!pe})),pe||(pe=Z),pe==yt&&(pe=se?nt(pe,1):function(){return yt.apply(this,arguments)}),pe.convert=ur(U,yt),pe.placeholder=yt.placeholder=Zt,pe}if(!z)return Tt(T,I,ie);var Gt=I,Sr=[];return gt(Nt,(function(kt){gt(h.aryMethod[kt],(function(yt){var Zt=Gt[h.remap[yt]||yt];Zt&&Sr.push([yt,Tt(yt,Zt,Gt)])}))})),gt(Se(Gt),(function(kt){var yt=Gt[kt];if(typeof yt=="function"){for(var Zt=Sr.length;Zt--;)if(Sr[Zt][0]==kt)return;yt.convert=ur(kt,yt),Sr.push([kt,yt])}})),gt(Sr,(function(kt){Gt[kt[0]]=kt[1]})),Gt.convert=function(yt){return Gt.runInContext.convert(yt)(void 0)},Gt.placeholder=Gt,gt(Se(Gt),(function(kt){gt(h.realToAlias[kt]||[],(function(yt){Gt[yt]=Gt[kt]}))})),Gt}},16962(w,N){N.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},N.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},N.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},N.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},N.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},N.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},N.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},N.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},N.realToAlias=(function(){var s=Object.prototype.hasOwnProperty,h=N.aliasToReal,v={};for(var f in h){var y=h[f];s.call(v,y)?v[y].push(f):v[y]=[f]}return v})(),N.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},N.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},N.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},47934(w,N,s){w.exports={ary:s(64626),assign:s(74733),clone:s(32629),curry:s(49747),forEach:s(83729),isArray:s(56449),isError:s(23546),isFunction:s(1882),isWeakMap:s(47886),iteratee:s(33855),keys:s(88984),rearg:s(84195),toInteger:s(61489),toPath:s(42072)}},56367(w,N,s){w.exports=s(77731)},79920(w,N,s){var h=s(73424),v=s(47934);w.exports=function(y,m,g){return h(v,y,m,g)}},2874(w){w.exports={}},77731(w,N,s){var h=s(79920)("set",s(63560));h.placeholder=s(2874),w.exports=h},58156(w,N,s){var h=s(47422);w.exports=function(f,y,m){var g=f==null?void 0:h(f,y);return g===void 0?m:g}},61448(w,N,s){var h=s(20426),v=s(49326);w.exports=function(y,m){return y!=null&&v(y,m,h)}},80631(w,N,s){var h=s(28077),v=s(49326);w.exports=function(y,m){return y!=null&&v(y,m,h)}},83488(w){w.exports=function(s){return s}},72428(w,N,s){var h=s(27534),v=s(40346),f=Object.prototype,y=f.hasOwnProperty,m=f.propertyIsEnumerable,g=h((function(){return arguments})())?h:function(S){return v(S)&&y.call(S,"callee")&&!m.call(S,"callee")};w.exports=g},56449(w){var N=Array.isArray;w.exports=N},64894(w,N,s){var h=s(1882),v=s(30294);w.exports=function(y){return y!=null&&v(y.length)&&!h(y)}},83693(w,N,s){var h=s(64894),v=s(40346);w.exports=function(y){return v(y)&&h(y)}},53812(w,N,s){var h=s(72552),v=s(40346);w.exports=function(y){return y===!0||y===!1||v(y)&&h(y)=="[object Boolean]"}},3656(w,N,s){w=s.nmd(w);var h=s(9325),v=s(89935),f=N&&!N.nodeType&&N,y=f&&w&&!w.nodeType&&w,m=y&&y.exports===f?h.Buffer:void 0,g=(m?m.isBuffer:void 0)||v;w.exports=g},62193(w,N,s){var h=s(88984),v=s(5861),f=s(72428),y=s(56449),m=s(64894),g=s(3656),S=s(55527),_=s(37167),T=Object.prototype.hasOwnProperty;w.exports=function(j){if(j==null)return!0;if(m(j)&&(y(j)||typeof j=="string"||typeof j.splice=="function"||g(j)||_(j)||f(j)))return!j.length;var M=v(j);if(M=="[object Map]"||M=="[object Set]")return!j.size;if(S(j))return!h(j).length;for(var z in j)if(T.call(j,z))return!1;return!0}},2404(w,N,s){var h=s(60270);w.exports=function(f,y){return h(f,y)}},23546(w,N,s){var h=s(72552),v=s(40346),f=s(11331);w.exports=function(m){if(!v(m))return!1;var g=h(m);return g=="[object Error]"||g=="[object DOMException]"||typeof m.message=="string"&&typeof m.name=="string"&&!f(m)}},1882(w,N,s){var h=s(72552),v=s(23805);w.exports=function(y){if(!v(y))return!1;var m=h(y);return m=="[object Function]"||m=="[object GeneratorFunction]"||m=="[object AsyncFunction]"||m=="[object Proxy]"}},30294(w){w.exports=function(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=9007199254740991}},87730(w,N,s){var h=s(29172),v=s(27301),f=s(86009),y=f&&f.isMap,m=y?v(y):h;w.exports=m},5187(w){w.exports=function(s){return s===null}},98023(w,N,s){var h=s(72552),v=s(40346);w.exports=function(y){return typeof y=="number"||v(y)&&h(y)=="[object Number]"}},23805(w){w.exports=function(s){var h=typeof s;return s!=null&&(h=="object"||h=="function")}},40346(w){w.exports=function(s){return s!=null&&typeof s=="object"}},11331(w,N,s){var h=s(72552),v=s(28879),f=s(40346),y=Function.prototype,m=Object.prototype,g=y.toString,S=m.hasOwnProperty,_=g.call(Object);w.exports=function(I){if(!f(I)||h(I)!="[object Object]")return!1;var j=v(I);if(j===null)return!0;var M=S.call(j,"constructor")&&j.constructor;return typeof M=="function"&&M instanceof M&&g.call(M)==_}},38440(w,N,s){var h=s(16038),v=s(27301),f=s(86009),y=f&&f.isSet,m=y?v(y):h;w.exports=m},85015(w,N,s){var h=s(72552),v=s(56449),f=s(40346);w.exports=function(m){return typeof m=="string"||!v(m)&&f(m)&&h(m)=="[object String]"}},44394(w,N,s){var h=s(72552),v=s(40346);w.exports=function(y){return typeof y=="symbol"||v(y)&&h(y)=="[object Symbol]"}},37167(w,N,s){var h=s(4901),v=s(27301),f=s(86009),y=f&&f.isTypedArray,m=y?v(y):h;w.exports=m},47886(w,N,s){var h=s(5861),v=s(40346);w.exports=function(y){return v(y)&&h(y)=="[object WeakMap]"}},33855(w,N,s){var h=s(9999),v=s(15389);w.exports=function(y){return v(typeof y=="function"?y:h(y,1))}},95950(w,N,s){var h=s(70695),v=s(88984),f=s(64894);w.exports=function(m){return f(m)?h(m):v(m)}},37241(w,N,s){var h=s(70695),v=s(72903),f=s(64894);w.exports=function(m){return f(m)?h(m,!0):v(m)}},68090(w){w.exports=function(s){var h=s==null?0:s.length;return h?s[h-1]:void 0}},50104(w,N,s){var h=s(53661);function v(f,y){if(typeof f!="function"||y!=null&&typeof y!="function")throw new TypeError("Expected a function");var m=function(){var g=arguments,S=y?y.apply(this,g):g[0],_=m.cache;if(_.has(S))return _.get(S);var T=f.apply(this,g);return m.cache=_.set(S,T)||_,T};return m.cache=new(v.Cache||h),m}v.Cache=h,w.exports=v},55364(w,N,s){var h=s(85250),v=s(20999)((function(f,y,m){h(f,y,m)}));w.exports=v},6048(w){w.exports=function(s){if(typeof s!="function")throw new TypeError("Expected a function");return function(){var h=arguments;switch(h.length){case 0:return!s.call(this);case 1:return!s.call(this,h[0]);case 2:return!s.call(this,h[0],h[1]);case 3:return!s.call(this,h[0],h[1],h[2])}return!s.apply(this,h)}}},63950(w){w.exports=function(){}},10124(w,N,s){var h=s(9325);w.exports=function(){return h.Date.now()}},90179(w,N,s){var h=s(34932),v=s(9999),f=s(19931),y=s(31769),m=s(21791),g=s(53138),S=s(38816),_=s(83349),T=S((function(I,j){var M={};if(I==null)return M;var z=!1;j=h(j,(function(Y){return Y=y(Y,I),z||(z=Y.length>1),Y})),m(I,_(I),M),z&&(M=v(M,7,g));for(var K=j.length;K--;)f(M,j[K]);return M}));w.exports=T},50583(w,N,s){var h=s(47237),v=s(17255),f=s(28586),y=s(77797);w.exports=function(g){return f(g)?h(y(g)):v(g)}},84195(w,N,s){var h=s(66977),v=s(38816),f=v((function(y,m){return h(y,256,void 0,void 0,void 0,m)}));w.exports=f},40860(w,N,s){var h=s(40882),v=s(80909),f=s(15389),y=s(85558),m=s(56449);w.exports=function(S,_,T){var I=m(S)?h:y,j=arguments.length<3;return I(S,f(_,4),T,j,v)}},63560(w,N,s){var h=s(73170);w.exports=function(f,y,m){return f==null?f:h(f,y,m)}},42426(w,N,s){var h=s(14248),v=s(15389),f=s(90916),y=s(56449),m=s(36800);w.exports=function(S,_,T){var I=y(S)?h:f;return T&&m(S,_,T)&&(_=void 0),I(S,v(_,3))}},63345(w){w.exports=function(){return[]}},89935(w){w.exports=function(){return!1}},17400(w,N,s){var h=s(99374),v=1/0;w.exports=function(y){return y?(y=h(y))===v||y===-1/0?17976931348623157e292*(y<0?-1:1):y==y?y:0:y===0?y:0}},61489(w,N,s){var h=s(17400);w.exports=function(f){var y=h(f),m=y%1;return y==y?m?y-m:y:0}},80218(w,N,s){var h=s(13222);w.exports=function(f){return h(f).toLowerCase()}},99374(w,N,s){var h=s(54128),v=s(23805),f=s(44394),y=/^[-+]0x[0-9a-f]+$/i,m=/^0b[01]+$/i,g=/^0o[0-7]+$/i,S=parseInt;w.exports=function(T){if(typeof T=="number")return T;if(f(T))return NaN;if(v(T)){var I=typeof T.valueOf=="function"?T.valueOf():T;T=v(I)?I+"":I}if(typeof T!="string")return T===0?T:+T;T=h(T);var j=m.test(T);return j||g.test(T)?S(T.slice(2),j?2:8):y.test(T)?NaN:+T}},42072(w,N,s){var h=s(34932),v=s(23007),f=s(56449),y=s(44394),m=s(61802),g=s(77797),S=s(13222);w.exports=function(T){return f(T)?h(T,g):y(T)?[T]:v(m(S(T)))}},69884(w,N,s){var h=s(21791),v=s(37241);w.exports=function(y){return h(y,v(y))}},13222(w,N,s){var h=s(77556);w.exports=function(f){return f==null?"":h(f)}},55808(w,N,s){var h=s(12507)("toUpperCase");w.exports=h},66645(w,N,s){var h=s(1733),v=s(45434),f=s(13222),y=s(22225);w.exports=function(g,S,_){return g=f(g),(S=_?void 0:S)===void 0?v(g)?y(g):h(g):g.match(S)||[]}},53758(w,N,s){var h=s(30980),v=s(56017),f=s(94033),y=s(56449),m=s(40346),g=s(80257),S=Object.prototype.hasOwnProperty;function _(T){if(m(T)&&!y(T)&&!(T instanceof h)){if(T instanceof v)return T;if(S.call(T,"__wrapped__"))return g(T)}return new v(T)}_.prototype=f.prototype,_.prototype.constructor=_,w.exports=_},47248(w,N,s){var h=s(16547),v=s(51234);w.exports=function(y,m){return v(y||[],m||[],h)}},43768(w,N,s){var h=s(45981),v=s(85587);N.highlight=y,N.highlightAuto=function(_,T){var I,j,M,z,K=T||{},Y=K.subset||h.listLanguages();K.prefix;var B=Y.length,X=-1;if(typeof _!="string")throw v("Expected `string` for value, got `%s`",_);for(j={relevance:0,language:null,value:[]},I={relevance:0,language:null,value:[]};++X<B;)z=Y[X],h.getLanguage(z)&&((M=y(z,_,T)).language=z,M.relevance>j.relevance&&(j=M),M.relevance>I.relevance&&(j=I,I=M));return j.language&&(I.secondBest=j),I},N.registerLanguage=function(_,T){h.registerLanguage(_,T)},N.listLanguages=function(){return h.listLanguages()},N.registerAlias=function(_,T){var I,j=_;T&&((j={})[_]=T);for(I in j)h.registerAliases(j[I],{languageName:I})},m.prototype.addText=function(_){var T,I,j=this.stack;_!==""&&(T=j[j.length-1],(I=T.children[T.children.length-1])&&I.type==="text"?I.value+=_:T.children.push({type:"text",value:_}))},m.prototype.addKeyword=function(_,T){this.openNode(T),this.addText(_),this.closeNode()},m.prototype.addSublanguage=function(_,T){var I=this.stack,j=I[I.length-1],M=_.rootNode.children,z=T?{type:"element",tagName:"span",properties:{className:[T]},children:M}:M;j.children=j.children.concat(z)},m.prototype.openNode=function(_){var T=this.stack,I=this.options.classPrefix+_,j=T[T.length-1],M={type:"element",tagName:"span",properties:{className:[I]},children:[]};j.children.push(M),T.push(M)},m.prototype.closeNode=function(){this.stack.pop()},m.prototype.closeAllNodes=g,m.prototype.finalize=g,m.prototype.toHTML=function(){return""};var f="hljs-";function y(S,_,T){var I,j=h.configure({}),M=(T||{}).prefix;if(typeof S!="string")throw v("Expected `string` for name, got `%s`",S);if(!h.getLanguage(S))throw v("Unknown language: `%s` is not registered",S);if(typeof _!="string")throw v("Expected `string` for value, got `%s`",_);if(M==null&&(M=f),h.configure({__emitter:m,classPrefix:M}),I=h.highlight(_,{language:S,ignoreIllegals:!0}),h.configure(j||{}),I.errorRaised)throw I.errorRaised;return{relevance:I.relevance,language:I.language,value:I.emitter.rootNode.children}}function m(S){this.options=S,this.rootNode={children:[]},this.stack=[this.rootNode]}function g(){}},71514(w){w.exports=Math.abs},58968(w){w.exports=Math.floor},94459(w){w.exports=Number.isNaN||function(s){return s!=s}},6188(w){w.exports=Math.max},68002(w){w.exports=Math.min},75880(w){w.exports=Math.pow},70414(w){w.exports=Math.round},73093(w,N,s){var h=s(94459);w.exports=function(f){return h(f)||f===0?f:f<0?-1:1}},92340(w,N,s){const h=s(6048);function v(y){return typeof y=="string"?m=>m.element===y:y.constructor&&y.extend?m=>m instanceof y:y}class f{constructor(m){this.elements=m||[]}toValue(){return this.elements.map((m=>m.toValue()))}map(m,g){return this.elements.map(m,g)}flatMap(m,g){return this.map(m,g).reduce(((S,_)=>S.concat(_)),[])}compactMap(m,g){const S=[];return this.forEach((_=>{const T=m.bind(g)(_);T&&S.push(T)})),S}filter(m,g){return m=v(m),new f(this.elements.filter(m,g))}reject(m,g){return m=v(m),new f(this.elements.filter(h(m),g))}find(m,g){return m=v(m),this.elements.find(m,g)}forEach(m,g){this.elements.forEach(m,g)}reduce(m,g){return this.elements.reduce(m,g)}includes(m){return this.elements.some((g=>g.equals(m)))}shift(){return this.elements.shift()}unshift(m){this.elements.unshift(this.refract(m))}push(m){return this.elements.push(this.refract(m)),this}add(m){this.push(m)}get(m){return this.elements[m]}getValue(m){const g=this.elements[m];if(g)return g.toValue()}get length(){return this.elements.length}get isEmpty(){return this.elements.length===0}get first(){return this.elements[0]}}typeof Symbol<"u"&&(f.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),w.exports=f},55973(w){class N{constructor(h,v){this.key=h,this.value=v}clone(){const h=new N;return this.key&&(h.key=this.key.clone()),this.value&&(h.value=this.value.clone()),h}}w.exports=N},3110(w,N,s){const h=s(5187),v=s(85015),f=s(98023),y=s(53812),m=s(23805),g=s(85105),S=s(86804);class _{constructor(I){this.elementMap={},this.elementDetection=[],this.Element=S.Element,this.KeyValuePair=S.KeyValuePair,I&&I.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(I){return I.namespace&&I.namespace({base:this}),I.load&&I.load({base:this}),this}useDefault(){return this.register("null",S.NullElement).register("string",S.StringElement).register("number",S.NumberElement).register("boolean",S.BooleanElement).register("array",S.ArrayElement).register("object",S.ObjectElement).register("member",S.MemberElement).register("ref",S.RefElement).register("link",S.LinkElement),this.detect(h,S.NullElement,!1).detect(v,S.StringElement,!1).detect(f,S.NumberElement,!1).detect(y,S.BooleanElement,!1).detect(Array.isArray,S.ArrayElement,!1).detect(m,S.ObjectElement,!1),this}register(I,j){return this._elements=void 0,this.elementMap[I]=j,this}unregister(I){return this._elements=void 0,delete this.elementMap[I],this}detect(I,j,M){return M===void 0||M?this.elementDetection.unshift([I,j]):this.elementDetection.push([I,j]),this}toElement(I){if(I instanceof this.Element)return I;let j;for(let M=0;M<this.elementDetection.length;M+=1){const z=this.elementDetection[M][0],K=this.elementDetection[M][1];if(z(I)){j=new K(I);break}}return j}getElementClass(I){const j=this.elementMap[I];return j===void 0?this.Element:j}fromRefract(I){return this.serialiser.deserialise(I)}toRefract(I){return this.serialiser.serialise(I)}get elements(){return this._elements===void 0&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((I=>{const j=I[0].toUpperCase()+I.substr(1);this._elements[j]=this.elementMap[I]}))),this._elements}get serialiser(){return new g(this)}}g.prototype.Namespace=_,w.exports=_},10866(w,N,s){const h=s(6048),v=s(92340);class f extends v{map(m,g){return this.elements.map((S=>m.bind(g)(S.value,S.key,S)))}filter(m,g){return new f(this.elements.filter((S=>m.bind(g)(S.value,S.key,S))))}reject(m,g){return this.filter(h(m.bind(g)))}forEach(m,g){return this.elements.forEach(((S,_)=>{m.bind(g)(S.value,S.key,S,_)}))}keys(){return this.map(((m,g)=>g.toValue()))}values(){return this.map((m=>m.toValue()))}}w.exports=f},86804(w,N,s){const h=s(10316),v=s(41067),f=s(71167),y=s(40239),m=s(12242),g=s(6233),S=s(87726),_=s(61045),T=s(86303),I=s(14540),j=s(92340),M=s(10866),z=s(55973);function K(Y){return Y instanceof h?Y:typeof Y=="string"?new f(Y):typeof Y=="number"?new y(Y):typeof Y=="boolean"?new m(Y):Y===null?new v:Array.isArray(Y)?new g(Y.map(K)):typeof Y=="object"?new _(Y):Y}h.prototype.ObjectElement=_,h.prototype.RefElement=I,h.prototype.MemberElement=S,h.prototype.refract=K,j.prototype.refract=K,w.exports={Element:h,NullElement:v,StringElement:f,NumberElement:y,BooleanElement:m,ArrayElement:g,MemberElement:S,ObjectElement:_,LinkElement:T,RefElement:I,refract:K,ArraySlice:j,ObjectSlice:M,KeyValuePair:z}},86303(w,N,s){const h=s(10316);w.exports=class extends h{constructor(f,y,m){super(f||[],y,m),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(f){this.attributes.set("relation",f)}get href(){return this.attributes.get("href")}set href(f){this.attributes.set("href",f)}}},14540(w,N,s){const h=s(10316);w.exports=class extends h{constructor(f,y,m){super(f||[],y,m),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(f){this.attributes.set("path",f)}}},34035(w,N,s){const h=s(3110),v=s(86804);N.g$=h,N.KeyValuePair=s(55973),N.G6=v.ArraySlice,N.ot=v.ObjectSlice,N.Hg=v.Element,N.Om=v.StringElement,N.kT=v.NumberElement,N.bd=v.BooleanElement,N.Os=v.NullElement,N.wE=v.ArrayElement,N.Sh=v.ObjectElement,N.Pr=v.MemberElement,N.sI=v.RefElement,N.Ft=v.LinkElement,N.e=v.refract,s(85105),s(75147)},6233(w,N,s){const h=s(6048),v=s(10316),f=s(92340);class y extends v{constructor(g,S,_){super(g||[],S,_),this.element="array"}primitive(){return"array"}get(g){return this.content[g]}getValue(g){const S=this.get(g);if(S)return S.toValue()}getIndex(g){return this.content[g]}set(g,S){return this.content[g]=this.refract(S),this}remove(g){const S=this.content.splice(g,1);return S.length?S[0]:null}map(g,S){return this.content.map(g,S)}flatMap(g,S){return this.map(g,S).reduce(((_,T)=>_.concat(T)),[])}compactMap(g,S){const _=[];return this.forEach((T=>{const I=g.bind(S)(T);I&&_.push(I)})),_}filter(g,S){return new f(this.content.filter(g,S))}reject(g,S){return this.filter(h(g),S)}reduce(g,S){let _,T;S!==void 0?(_=0,T=this.refract(S)):(_=1,T=this.primitive()==="object"?this.first.value:this.first);for(let I=_;I<this.length;I+=1){const j=this.content[I];T=this.primitive()==="object"?this.refract(g(T,j.value,j.key,j,this)):this.refract(g(T,j,I,this))}return T}forEach(g,S){this.content.forEach(((_,T)=>{g.bind(S)(_,this.refract(T))}))}shift(){return this.content.shift()}unshift(g){this.content.unshift(this.refract(g))}push(g){return this.content.push(this.refract(g)),this}add(g){this.push(g)}findElements(g,S){const _=S||{},T=!!_.recursive,I=_.results===void 0?[]:_.results;return this.forEach(((j,M,z)=>{T&&j.findElements!==void 0&&j.findElements(g,{results:I,recursive:T}),g(j,M,z)&&I.push(j)})),I}find(g){return new f(this.findElements(g,{recursive:!0}))}findByElement(g){return this.find((S=>S.element===g))}findByClass(g){return this.find((S=>S.classes.includes(g)))}getById(g){return this.find((S=>S.id.toValue()===g)).first}includes(g){return this.content.some((S=>S.equals(g)))}contains(g){return this.includes(g)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(g){return new this.constructor(this.content.concat(g.content))}"fantasy-land/concat"(g){return this.concat(g)}"fantasy-land/map"(g){return new this.constructor(this.map(g))}"fantasy-land/chain"(g){return this.map((S=>g(S)),this).reduce(((S,_)=>S.concat(_)),this.empty())}"fantasy-land/filter"(g){return new this.constructor(this.content.filter(g))}"fantasy-land/reduce"(g,S){return this.content.reduce(g,S)}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)}}y.empty=function(){return new this},y["fantasy-land/empty"]=y.empty,typeof Symbol<"u"&&(y.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),w.exports=y},12242(w,N,s){const h=s(10316);w.exports=class extends h{constructor(f,y,m){super(f,y,m),this.element="boolean"}primitive(){return"boolean"}}},10316(w,N,s){const h=s(2404),v=s(55973),f=s(92340);class y{constructor(g,S,_){S&&(this.meta=S),_&&(this.attributes=_),this.content=g}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((g=>{g.parent=this,g.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const g=new this.constructor;return g.element=this.element,this.meta.length&&(g._meta=this.meta.clone()),this.attributes.length&&(g._attributes=this.attributes.clone()),this.content?this.content.clone?g.content=this.content.clone():Array.isArray(this.content)?g.content=this.content.map((S=>S.clone())):g.content=this.content:g.content=this.content,g}toValue(){return this.content instanceof y?this.content.toValue():this.content instanceof v?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((g=>g.toValue()),this):this.content}toRef(g){if(this.id.toValue()==="")throw Error("Cannot create reference to an element that does not contain an ID");const S=new this.RefElement(this.id.toValue());return g&&(S.path=g),S}findRecursive(...g){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 S=g.pop();let _=new f;const T=(j,M)=>(j.push(M),j),I=(j,M)=>{M.element===S&&j.push(M);const z=M.findRecursive(S);return z&&z.reduce(T,j),M.content instanceof v&&(M.content.key&&I(j,M.content.key),M.content.value&&I(j,M.content.value)),j};return this.content&&(this.content.element&&I(_,this.content),Array.isArray(this.content)&&this.content.reduce(I,_)),g.isEmpty||(_=_.filter((j=>{let M=j.parents.map((z=>z.element));for(const z in g){const K=g[z],Y=M.indexOf(K);if(Y===-1)return!1;M=M.splice(0,Y)}return!0}))),_}set(g){return this.content=g,this}equals(g){return h(this.toValue(),g)}getMetaProperty(g,S){if(!this.meta.hasKey(g)){if(this.isFrozen){const _=this.refract(S);return _.freeze(),_}this.meta.set(g,S)}return this.meta.get(g)}setMetaProperty(g,S){this.meta.set(g,S)}get element(){return this._storedElement||"element"}set element(g){this._storedElement=g}get content(){return this._content}set content(g){if(g instanceof y)this._content=g;else if(g instanceof f)this.content=g.elements;else if(typeof g=="string"||typeof g=="number"||typeof g=="boolean"||g==="null"||g==null)this._content=g;else if(g instanceof v)this._content=g;else if(Array.isArray(g))this._content=g.map(this.refract);else{if(typeof g!="object")throw new Error("Cannot set content to given value");this._content=Object.keys(g).map((S=>new this.MemberElement(S,g[S])))}}get meta(){if(!this._meta){if(this.isFrozen){const g=new this.ObjectElement;return g.freeze(),g}this._meta=new this.ObjectElement}return this._meta}set meta(g){g instanceof this.ObjectElement?this._meta=g:this.meta.set(g||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const g=new this.ObjectElement;return g.freeze(),g}this._attributes=new this.ObjectElement}return this._attributes}set attributes(g){g instanceof this.ObjectElement?this._attributes=g:this.attributes.set(g||{})}get id(){return this.getMetaProperty("id","")}set id(g){this.setMetaProperty("id",g)}get classes(){return this.getMetaProperty("classes",[])}set classes(g){this.setMetaProperty("classes",g)}get title(){return this.getMetaProperty("title","")}set title(g){this.setMetaProperty("title",g)}get description(){return this.getMetaProperty("description","")}set description(g){this.setMetaProperty("description",g)}get links(){return this.getMetaProperty("links",[])}set links(g){this.setMetaProperty("links",g)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:g}=this;const S=new f;for(;g;)S.push(g),g=g.parent;return S}get children(){if(Array.isArray(this.content))return new f(this.content);if(this.content instanceof v){const g=new f([this.content.key]);return this.content.value&&g.push(this.content.value),g}return this.content instanceof y?new f([this.content]):new f}get recursiveChildren(){const g=new f;return this.children.forEach((S=>{g.push(S),S.recursiveChildren.forEach((_=>{g.push(_)}))})),g}}w.exports=y},87726(w,N,s){const h=s(55973),v=s(10316);w.exports=class extends v{constructor(y,m,g,S){super(new h,g,S),this.element="member",this.key=y,this.value=m}get key(){return this.content.key}set key(y){this.content.key=this.refract(y)}get value(){return this.content.value}set value(y){this.content.value=this.refract(y)}}},41067(w,N,s){const h=s(10316);w.exports=class extends h{constructor(f,y,m){super(f||null,y,m),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},40239(w,N,s){const h=s(10316);w.exports=class extends h{constructor(f,y,m){super(f,y,m),this.element="number"}primitive(){return"number"}}},61045(w,N,s){const h=s(6048),v=s(23805),f=s(6233),y=s(87726),m=s(10866);w.exports=class extends f{constructor(S,_,T){super(S||[],_,T),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((S,_)=>(S[_.key.toValue()]=_.value?_.value.toValue():void 0,S)),{})}get(S){const _=this.getMember(S);if(_)return _.value}getMember(S){if(S!==void 0)return this.content.find((_=>_.key.toValue()===S))}remove(S){let _=null;return this.content=this.content.filter((T=>T.key.toValue()!==S||(_=T,!1))),_}getKey(S){const _=this.getMember(S);if(_)return _.key}set(S,_){if(v(S))return Object.keys(S).forEach((j=>{this.set(j,S[j])})),this;const T=S,I=this.getMember(T);return I?I.value=_:this.content.push(new y(T,_)),this}keys(){return this.content.map((S=>S.key.toValue()))}values(){return this.content.map((S=>S.value.toValue()))}hasKey(S){return this.content.some((_=>_.key.equals(S)))}items(){return this.content.map((S=>[S.key.toValue(),S.value.toValue()]))}map(S,_){return this.content.map((T=>S.bind(_)(T.value,T.key,T)))}compactMap(S,_){const T=[];return this.forEach(((I,j,M)=>{const z=S.bind(_)(I,j,M);z&&T.push(z)})),T}filter(S,_){return new m(this.content).filter(S,_)}reject(S,_){return this.filter(h(S),_)}forEach(S,_){return this.content.forEach((T=>S.bind(_)(T.value,T.key,T)))}}},71167(w,N,s){const h=s(10316);w.exports=class extends h{constructor(f,y,m){super(f,y,m),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},75147(w,N,s){const h=s(85105);w.exports=class extends h{serialise(f){if(!(f instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${f}\` is not an Element instance`);let y;f._attributes&&f.attributes.get("variable")&&(y=f.attributes.get("variable"));const m={element:f.element};f._meta&&f._meta.length>0&&(m.meta=this.serialiseObject(f.meta));const g=f.element==="enum"||f.attributes.keys().indexOf("enumerations")!==-1;if(g){const S=this.enumSerialiseAttributes(f);S&&(m.attributes=S)}else if(f._attributes&&f._attributes.length>0){let{attributes:S}=f;S.get("metadata")&&(S=S.clone(),S.set("meta",S.get("metadata")),S.remove("metadata")),f.element==="member"&&y&&(S=S.clone(),S.remove("variable")),S.length>0&&(m.attributes=this.serialiseObject(S))}if(g)m.content=this.enumSerialiseContent(f,m);else if(this[`${f.element}SerialiseContent`])m.content=this[`${f.element}SerialiseContent`](f,m);else if(f.content!==void 0){let S;y&&f.content.key?(S=f.content.clone(),S.key.attributes.set("variable",y),S=this.serialiseContent(S)):S=this.serialiseContent(f.content),this.shouldSerialiseContent(f,S)&&(m.content=S)}else this.shouldSerialiseContent(f,f.content)&&f instanceof this.namespace.elements.Array&&(m.content=[]);return m}shouldSerialiseContent(f,y){return f.element==="parseResult"||f.element==="httpRequest"||f.element==="httpResponse"||f.element==="category"||f.element==="link"||y!==void 0&&(!Array.isArray(y)||y.length!==0)}refSerialiseContent(f,y){return delete y.attributes,{href:f.toValue(),path:f.path.toValue()}}sourceMapSerialiseContent(f){return f.toValue()}dataStructureSerialiseContent(f){return[this.serialiseContent(f.content)]}enumSerialiseAttributes(f){const y=f.attributes.clone(),m=y.remove("enumerations")||new this.namespace.elements.Array([]),g=y.get("default");let S=y.get("samples")||new this.namespace.elements.Array([]);if(g&&g.content&&(g.content.attributes&&g.content.attributes.remove("typeAttributes"),y.set("default",new this.namespace.elements.Array([g.content]))),S.forEach((_=>{_.content&&_.content.element&&_.content.attributes.remove("typeAttributes")})),f.content&&m.length!==0&&S.unshift(f.content),S=S.map((_=>_ instanceof this.namespace.elements.Array?[_]:new this.namespace.elements.Array([_.content]))),S.length&&y.set("samples",S),y.length>0)return this.serialiseObject(y)}enumSerialiseContent(f){if(f._attributes){const y=f.attributes.get("enumerations");if(y&&y.length>0)return y.content.map((m=>{const g=m.clone();return g.attributes.remove("typeAttributes"),this.serialise(g)}))}if(f.content){const y=f.content.clone();return y.attributes.remove("typeAttributes"),[this.serialise(y)]}return[]}deserialise(f){if(typeof f=="string")return new this.namespace.elements.String(f);if(typeof f=="number")return new this.namespace.elements.Number(f);if(typeof f=="boolean")return new this.namespace.elements.Boolean(f);if(f===null)return new this.namespace.elements.Null;if(Array.isArray(f))return new this.namespace.elements.Array(f.map(this.deserialise,this));const y=this.namespace.getElementClass(f.element),m=new y;m.element!==f.element&&(m.element=f.element),f.meta&&this.deserialiseObject(f.meta,m.meta),f.attributes&&this.deserialiseObject(f.attributes,m.attributes);const g=this.deserialiseContent(f.content);if(g===void 0&&m.content!==null||(m.content=g),m.element==="enum"){m.content&&m.attributes.set("enumerations",m.content);let S=m.attributes.get("samples");if(m.attributes.remove("samples"),S){const T=S;S=new this.namespace.elements.Array,T.forEach((j=>{j.forEach((M=>{const z=new y(M);z.element=m.element,S.push(z)}))}));const I=S.shift();m.content=I?I.content:void 0,m.attributes.set("samples",S)}else m.content=void 0;let _=m.attributes.get("default");if(_&&_.length>0){_=_.get(0);const T=new y(_);T.element=m.element,m.attributes.set("default",T)}}else if(m.element==="dataStructure"&&Array.isArray(m.content))[m.content]=m.content;else if(m.element==="category"){const S=m.attributes.get("meta");S&&(m.attributes.set("metadata",S),m.attributes.remove("meta"))}else m.element==="member"&&m.key&&m.key._attributes&&m.key._attributes.getValue("variable")&&(m.attributes.set("variable",m.key.attributes.get("variable")),m.key.attributes.remove("variable"));return m}serialiseContent(f){if(f instanceof this.namespace.elements.Element)return this.serialise(f);if(f instanceof this.namespace.KeyValuePair){const y={key:this.serialise(f.key)};return f.value&&(y.value=this.serialise(f.value)),y}return f&&f.map?f.map(this.serialise,this):f}deserialiseContent(f){if(f){if(f.element)return this.deserialise(f);if(f.key){const y=new this.namespace.KeyValuePair(this.deserialise(f.key));return f.value&&(y.value=this.deserialise(f.value)),y}if(f.map)return f.map(this.deserialise,this)}return f}shouldRefract(f){return!!(f._attributes&&f.attributes.keys().length||f._meta&&f.meta.keys().length)||f.element!=="enum"&&(f.element!==f.primitive()||f.element==="member")}convertKeyToRefract(f,y){return this.shouldRefract(y)?this.serialise(y):y.element==="enum"?this.serialiseEnum(y):y.element==="array"?y.map((m=>this.shouldRefract(m)||f==="default"?this.serialise(m):m.element==="array"||m.element==="object"||m.element==="enum"?m.children.map((g=>this.serialise(g))):m.toValue())):y.element==="object"?(y.content||[]).map(this.serialise,this):y.toValue()}serialiseEnum(f){return f.children.map((y=>this.serialise(y)))}serialiseObject(f){const y={};return f.forEach(((m,g)=>{if(m){const S=g.toValue();y[S]=this.convertKeyToRefract(S,m)}})),y}deserialiseObject(f,y){Object.keys(f).forEach((m=>{y.set(m,this.deserialise(f[m]))}))}}},85105(w){w.exports=class{constructor(s){this.namespace=s||new this.Namespace}serialise(s){if(!(s instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${s}\` is not an Element instance`);const h={element:s.element};s._meta&&s._meta.length>0&&(h.meta=this.serialiseObject(s.meta)),s._attributes&&s._attributes.length>0&&(h.attributes=this.serialiseObject(s.attributes));const v=this.serialiseContent(s.content);return v!==void 0&&(h.content=v),h}deserialise(s){if(!s.element)throw new Error("Given value is not an object containing an element name");const h=new(this.namespace.getElementClass(s.element));h.element!==s.element&&(h.element=s.element),s.meta&&this.deserialiseObject(s.meta,h.meta),s.attributes&&this.deserialiseObject(s.attributes,h.attributes);const v=this.deserialiseContent(s.content);return v===void 0&&h.content!==null||(h.content=v),h}serialiseContent(s){if(s instanceof this.namespace.elements.Element)return this.serialise(s);if(s instanceof this.namespace.KeyValuePair){const h={key:this.serialise(s.key)};return s.value&&(h.value=this.serialise(s.value)),h}return s&&s.map?s.length===0?void 0:s.map(this.serialise,this):s}deserialiseContent(s){if(s){if(s.element)return this.deserialise(s);if(s.key){const h=new this.namespace.KeyValuePair(this.deserialise(s.key));return s.value&&(h.value=this.deserialise(s.value)),h}if(s.map)return s.map(this.deserialise,this)}return s}serialiseObject(s){const h={};if(s.forEach(((v,f)=>{v&&(h[f.toValue()]=this.serialise(v))})),Object.keys(h).length!==0)return h}deserialiseObject(s,h){Object.keys(s).forEach((v=>{h.set(v,this.deserialise(s[v]))}))}}},76578(w){w.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},65606(w){var N,s,h=w.exports={};function v(){throw new Error("setTimeout has not been defined")}function f(){throw new Error("clearTimeout has not been defined")}function y(z){if(N===setTimeout)return setTimeout(z,0);if((N===v||!N)&&setTimeout)return N=setTimeout,setTimeout(z,0);try{return N(z,0)}catch{try{return N.call(null,z,0)}catch{return N.call(this,z,0)}}}(function(){try{N=typeof setTimeout=="function"?setTimeout:v}catch{N=v}try{s=typeof clearTimeout=="function"?clearTimeout:f}catch{s=f}})();var m,g=[],S=!1,_=-1;function T(){S&&m&&(S=!1,m.length?g=m.concat(g):_=-1,g.length&&I())}function I(){if(!S){var z=y(T);S=!0;for(var K=g.length;K;){for(m=g,g=[];++_<K;)m&&m[_].run();_=-1,K=g.length}m=null,S=!1,(function(B){if(s===clearTimeout)return clearTimeout(B);if((s===f||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(B);try{return s(B)}catch{try{return s.call(null,B)}catch{return s.call(this,B)}}})(z)}}function j(z,K){this.fun=z,this.array=K}function M(){}h.nextTick=function(z){var K=new Array(arguments.length-1);if(arguments.length>1)for(var Y=1;Y<arguments.length;Y++)K[Y-1]=arguments[Y];g.push(new j(z,K)),g.length!==1||S||y(I)},j.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=M,h.addListener=M,h.once=M,h.off=M,h.removeListener=M,h.removeAllListeners=M,h.emit=M,h.prependListener=M,h.prependOnceListener=M,h.listeners=function(z){return[]},h.binding=function(z){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(z){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},2694(w,N,s){var h=s(6925);function v(){}function f(){}f.resetWarningCache=v,w.exports=function(){function y(S,_,T,I,j,M){if(M!==h){var z=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 z.name="Invariant Violation",z}}function m(){return y}y.isRequired=y;var g={array:y,bigint:y,bool:y,func:y,number:y,object:y,string:y,symbol:y,any:y,arrayOf:m,element:y,elementType:y,instanceOf:m,node:y,objectOf:m,oneOf:m,oneOfType:m,shape:m,exact:m,checkPropTypes:f,resetWarningCache:v};return g.PropTypes=g,g}},5556(w,N,s){w.exports=s(2694)()},6925(w){w.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},73992(w,N){var s=Object.prototype.hasOwnProperty;function h(f){try{return decodeURIComponent(f.replace(/\+/g," "))}catch{return null}}function v(f){try{return encodeURIComponent(f)}catch{return null}}N.stringify=function(y,m){m=m||"";var g,S,_=[];for(S in typeof m!="string"&&(m="?"),y)if(s.call(y,S)){if((g=y[S])||g!=null&&!isNaN(g)||(g=""),S=v(S),g=v(g),S===null||g===null)continue;_.push(S+"="+g)}return _.length?m+_.join("&"):""},N.parse=function(y){for(var m,g=/([^=?#&]+)=?([^&]*)/g,S={};m=g.exec(y);){var _=h(m[1]),T=h(m[2]);_===null||T===null||_ in S||(S[_]=T)}return S}},41859(w,N,s){const h=s(27096),v=s(78004),f=h.types;w.exports=class Ym{constructor(m,g){if(this._setDefaults(m),m instanceof RegExp)this.ignoreCase=m.ignoreCase,this.multiline=m.multiline,m=m.source;else{if(typeof m!="string")throw new Error("Expected a regexp or string");this.ignoreCase=g&&g.indexOf("i")!==-1,this.multiline=g&&g.indexOf("m")!==-1}this.tokens=h(m)}_setDefaults(m){this.max=m.max!=null?m.max:Ym.prototype.max!=null?Ym.prototype.max:100,this.defaultRange=m.defaultRange?m.defaultRange:this.defaultRange.clone(),m.randInt&&(this.randInt=m.randInt)}gen(){return this._gen(this.tokens,[])}_gen(m,g){var S,_,T,I,j;switch(m.type){case f.ROOT:case f.GROUP:if(m.followedBy||m.notFollowedBy)return"";for(m.remember&&m.groupNumber===void 0&&(m.groupNumber=g.push(null)-1),_="",I=0,j=(S=m.options?this._randSelect(m.options):m.stack).length;I<j;I++)_+=this._gen(S[I],g);return m.remember&&(g[m.groupNumber]=_),_;case f.POSITION:return"";case f.SET:var M=this._expand(m);return M.length?String.fromCharCode(this._randSelect(M)):"";case f.REPETITION:for(T=this.randInt(m.min,m.max===1/0?m.min+this.max:m.max),_="",I=0;I<T;I++)_+=this._gen(m.value,g);return _;case f.REFERENCE:return g[m.value-1]||"";case f.CHAR:var z=this.ignoreCase&&this._randBool()?this._toOtherCase(m.value):m.value;return String.fromCharCode(z)}}_toOtherCase(m){return m+(97<=m&&m<=122?-32:65<=m&&m<=90?32:0)}_randBool(){return!this.randInt(0,1)}_randSelect(m){return m instanceof v?m.index(this.randInt(0,m.length-1)):m[this.randInt(0,m.length-1)]}_expand(m){if(m.type===h.types.CHAR)return new v(m.value);if(m.type===h.types.RANGE)return new v(m.from,m.to);{let g=new v;for(let S=0;S<m.set.length;S++){let _=this._expand(m.set[S]);if(g.add(_),this.ignoreCase)for(let T=0;T<_.length;T++){let I=_.index(T),j=this._toOtherCase(I);I!==j&&g.add(j)}}return m.not?this.defaultRange.clone().subtract(g):this.defaultRange.clone().intersect(g)}}randInt(m,g){return m+Math.floor(Math.random()*(1+g-m))}get defaultRange(){return this._range=this._range||new v(32,126)}set defaultRange(m){this._range=m}static randexp(m,g){var S;return typeof m=="string"&&(m=new RegExp(m,g)),m._randexp===void 0?(S=new Ym(m,g),m._randexp=S):(S=m._randexp)._setDefaults(m),S.gen()}static sugar(){RegExp.prototype.gen=function(){return Ym.randexp(this)}}}},53209(w,N,s){var h=s(65606),v=65536,f=4294967295,y=s(92861).Buffer,m=s.g.crypto||s.g.msCrypto;m&&m.getRandomValues?w.exports=function(S,_){if(S>f)throw new RangeError("requested too many random bytes");var T=y.allocUnsafe(S);if(S>0)if(S>v)for(var I=0;I<S;I+=v)m.getRandomValues(T.slice(I,I+v));else m.getRandomValues(T);return typeof _=="function"?h.nextTick((function(){_(null,T)})):T}:w.exports=function(){throw new Error(`Secure random number generation is not supported by this browser.
Use Chrome, Firefox or Internet Explorer 11`)}},25264(w,N,s){Object.defineProperty(N,"__esModule",{value:!0}),N.CopyToClipboard=void 0;var h=y(s(17965)),v=y(s(96540)),f=["text","onCopy","options","children"];function y(B){return B&&B.__esModule?B:{default:B}}function m(B){return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},m(B)}function g(B,X){var te=Object.keys(B);if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols(B);X&&(ie=ie.filter((function(se){return Object.getOwnPropertyDescriptor(B,se).enumerable}))),te.push.apply(te,ie)}return te}function S(B){for(var X=1;X<arguments.length;X++){var te=arguments[X]!=null?arguments[X]:{};X%2?g(Object(te),!0).forEach((function(ie){z(B,ie,te[ie])})):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(te)):g(Object(te)).forEach((function(ie){Object.defineProperty(B,ie,Object.getOwnPropertyDescriptor(te,ie))}))}return B}function _(B,X){for(var te=0;te<X.length;te++){var ie=X[te];ie.enumerable=ie.enumerable||!1,ie.configurable=!0,"value"in ie&&(ie.writable=!0),Object.defineProperty(B,K(ie.key),ie)}}function T(B,X,te){return X=j(X),(function(se,Te){if(Te&&(m(Te)=="object"||typeof Te=="function"))return Te;if(Te!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(function(ge){if(ge===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ge})(se)})(B,I()?Reflect.construct(X,te||[],j(B).constructor):X.apply(B,te))}function I(){try{var B=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(I=function(){return!!B})()}function j(B){return j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(X){return X.__proto__||Object.getPrototypeOf(X)},j(B)}function M(B,X){return M=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(te,ie){return te.__proto__=ie,te},M(B,X)}function z(B,X,te){return(X=K(X))in B?Object.defineProperty(B,X,{value:te,enumerable:!0,configurable:!0,writable:!0}):B[X]=te,B}function K(B){var X=(function(ie,se){if(m(ie)!="object"||!ie)return ie;var Te=ie[Symbol.toPrimitive];if(Te!==void 0){var he=Te.call(ie,se);if(m(he)!="object")return he;throw new TypeError("@@toPrimitive must return a primitive value.")}return(se==="string"?String:Number)(ie)})(B,"string");return m(X)=="symbol"?X:X+""}var Y=N.CopyToClipboard=(function(B){function X(){var te;(function(ge,ke){if(!(ge instanceof ke))throw new TypeError("Cannot call a class as a function")})(this,X);for(var ie=arguments.length,se=new Array(ie),Te=0;Te<ie;Te++)se[Te]=arguments[Te];return z(te=T(this,X,[].concat(se)),"onClick",(function(he){var ge=te.props,ke=ge.text,Ve=ge.onCopy,He=ge.children,qe=ge.options,nt=v.default.Children.only(He),gt=(0,h.default)(ke,qe);Ve&&Ve(ke,gt),nt!=null&&nt.props&&typeof nt.props.onClick=="function"&&nt.props.onClick(he)})),te}return(function(ie,se){if(typeof se!="function"&&se!==null)throw new TypeError("Super expression must either be null or a function");ie.prototype=Object.create(se&&se.prototype,{constructor:{value:ie,writable:!0,configurable:!0}}),Object.defineProperty(ie,"prototype",{writable:!1}),se&&M(ie,se)})(X,B),(function(ie,se,Te){return se&&_(ie.prototype,se),Object.defineProperty(ie,"prototype",{writable:!1}),ie})(X,[{key:"render",value:function(){var ie=this.props,se=(ie.text,ie.onCopy,ie.options,ie.children),Te=(function(ke,Ve){if(ke==null)return{};var He,qe,nt=(function(u,at){if(u==null)return{};var Xe={};for(var Se in u)if({}.hasOwnProperty.call(u,Se)){if(at.indexOf(Se)!==-1)continue;Xe[Se]=u[Se]}return Xe})(ke,Ve);if(Object.getOwnPropertySymbols){var gt=Object.getOwnPropertySymbols(ke);for(qe=0;qe<gt.length;qe++)He=gt[qe],Ve.indexOf(He)===-1&&{}.propertyIsEnumerable.call(ke,He)&&(nt[He]=ke[He])}return nt})(ie,f),he=v.default.Children.only(se);return v.default.cloneElement(he,S(S({},Te),{},{onClick:this.onClick}))}}])})(v.default.PureComponent);z(Y,"defaultProps",{onCopy:void 0,options:void 0})},59399(w,N,s){var h=s(25264).CopyToClipboard;h.CopyToClipboard=h,w.exports=h},81214(w,N,s){function h(B){return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},h(B)}Object.defineProperty(N,"__esModule",{value:!0}),N.DebounceInput=void 0;var v=m(s(96540)),f=m(s(20181)),y=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"];function m(B){return B&&B.__esModule?B:{default:B}}function g(B,X){if(B==null)return{};var te,ie,se=(function(ge,ke){if(ge==null)return{};var Ve,He,qe={},nt=Object.keys(ge);for(He=0;He<nt.length;He++)Ve=nt[He],ke.indexOf(Ve)>=0||(qe[Ve]=ge[Ve]);return qe})(B,X);if(Object.getOwnPropertySymbols){var Te=Object.getOwnPropertySymbols(B);for(ie=0;ie<Te.length;ie++)te=Te[ie],X.indexOf(te)>=0||Object.prototype.propertyIsEnumerable.call(B,te)&&(se[te]=B[te])}return se}function S(B,X){var te=Object.keys(B);if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols(B);X&&(ie=ie.filter((function(se){return Object.getOwnPropertyDescriptor(B,se).enumerable}))),te.push.apply(te,ie)}return te}function _(B){for(var X=1;X<arguments.length;X++){var te=arguments[X]!=null?arguments[X]:{};X%2?S(Object(te),!0).forEach((function(ie){K(B,ie,te[ie])})):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(te)):S(Object(te)).forEach((function(ie){Object.defineProperty(B,ie,Object.getOwnPropertyDescriptor(te,ie))}))}return B}function T(B,X){for(var te=0;te<X.length;te++){var ie=X[te];ie.enumerable=ie.enumerable||!1,ie.configurable=!0,"value"in ie&&(ie.writable=!0),Object.defineProperty(B,ie.key,ie)}}function I(B,X){return I=Object.setPrototypeOf||function(ie,se){return ie.__proto__=se,ie},I(B,X)}function j(B){var X=(function(){if(typeof Reflect>"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}})();return function(){var ie,se=z(B);if(X){var Te=z(this).constructor;ie=Reflect.construct(se,arguments,Te)}else ie=se.apply(this,arguments);return(function(ge,ke){if(ke&&(h(ke)==="object"||typeof ke=="function"))return ke;if(ke!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return M(ge)})(this,ie)}}function M(B){if(B===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return B}function z(B){return z=Object.setPrototypeOf?Object.getPrototypeOf:function(te){return te.__proto__||Object.getPrototypeOf(te)},z(B)}function K(B,X,te){return X in B?Object.defineProperty(B,X,{value:te,enumerable:!0,configurable:!0,writable:!0}):B[X]=te,B}var Y=(function(B){(function(se,Te){if(typeof Te!="function"&&Te!==null)throw new TypeError("Super expression must either be null or a function");se.prototype=Object.create(Te&&Te.prototype,{constructor:{value:se,writable:!0,configurable:!0}}),Object.defineProperty(se,"prototype",{writable:!1}),Te&&I(se,Te)})(te,B);var X=j(te);function te(ie){var se;(function(ge,ke){if(!(ge instanceof ke))throw new TypeError("Cannot call a class as a function")})(this,te),K(M(se=X.call(this,ie)),"onChange",(function(he){he.persist();var ge=se.state.value,ke=se.props.minLength;se.setState({value:he.target.value},(function(){var Ve=se.state.value;Ve.length>=ke?se.notify(he):ge.length>Ve.length&&se.notify(_(_({},he),{},{target:_(_({},he.target),{},{value:""})}))}))})),K(M(se),"onKeyDown",(function(he){he.key==="Enter"&&se.forceNotify(he);var ge=se.props.onKeyDown;ge&&(he.persist(),ge(he))})),K(M(se),"onBlur",(function(he){se.forceNotify(he);var ge=se.props.onBlur;ge&&(he.persist(),ge(he))})),K(M(se),"createNotifier",(function(he){if(he<0)se.notify=function(){return null};else if(he===0)se.notify=se.doNotify;else{var ge=(0,f.default)((function(ke){se.isDebouncing=!1,se.doNotify(ke)}),he);se.notify=function(ke){se.isDebouncing=!0,ge(ke)},se.flush=function(){return ge.flush()},se.cancel=function(){se.isDebouncing=!1,ge.cancel()}}})),K(M(se),"doNotify",(function(){se.props.onChange.apply(void 0,arguments)})),K(M(se),"forceNotify",(function(he){var ge=se.props.debounceTimeout;if(se.isDebouncing||!(ge>0)){se.cancel&&se.cancel();var ke=se.state.value,Ve=se.props.minLength;ke.length>=Ve?se.doNotify(he):se.doNotify(_(_({},he),{},{target:_(_({},he.target),{},{value:ke})}))}})),se.isDebouncing=!1,se.state={value:ie.value===void 0||ie.value===null?"":ie.value};var Te=se.props.debounceTimeout;return se.createNotifier(Te),se}return(function(se,Te,he){return Te&&T(se.prototype,Te),Object.defineProperty(se,"prototype",{writable:!1}),se})(te,[{key:"componentDidUpdate",value:function(se){if(!this.isDebouncing){var Te=this.props,he=Te.value,ge=Te.debounceTimeout,ke=se.debounceTimeout,Ve=se.value,He=this.state.value;he!==void 0&&Ve!==he&&He!==he&&this.setState({value:he}),ge!==ke&&this.createNotifier(ge)}}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var se,Te,he=this.props,ge=he.element,ke=(he.onChange,he.value,he.minLength,he.debounceTimeout,he.forceNotifyByEnter),Ve=he.forceNotifyOnBlur,He=he.onKeyDown,qe=he.onBlur,nt=he.inputRef,gt=g(he,y),Re=this.state.value;se=ke?{onKeyDown:this.onKeyDown}:He?{onKeyDown:He}:{},Te=Ve?{onBlur:this.onBlur}:qe?{onBlur:qe}:{};var u=nt?{ref:nt}:{};return v.default.createElement(ge,_(_(_(_({},gt),{},{onChange:this.onChange,value:Re},se),Te),u))}}]),te})(v.default.PureComponent);N.DebounceInput=Y,K(Y,"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})},24677(w,N,s){var h=s(81214).DebounceInput;h.DebounceInput=h,w.exports=h},22551(w,N,s){var h=s(96540),v=s(69982);function f(i){for(var l="https://reactjs.org/docs/error-decoder.html?invariant="+i,b=1;b<arguments.length;b++)l+="&args[]="+encodeURIComponent(arguments[b]);return"Minified React error #"+i+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y=new Set,m={};function g(i,l){S(i,l),S(i+"Capture",l)}function S(i,l){for(m[i]=l,i=0;i<l.length;i++)y.add(l[i])}var _=!(typeof window>"u"||window.document===void 0||window.document.createElement===void 0),T=Object.prototype.hasOwnProperty,I=/^[: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]*$/,j={},M={};function z(i,l,b,C,$,ee,ue){this.acceptsBooleans=l===2||l===3||l===4,this.attributeName=C,this.attributeNamespace=$,this.mustUseProperty=b,this.propertyName=i,this.type=l,this.sanitizeURL=ee,this.removeEmptyString=ue}var K={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(i){K[i]=new z(i,0,!1,i,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(i){var l=i[0];K[l]=new z(l,1,!1,i[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(i){K[i]=new z(i,2,!1,i.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(i){K[i]=new z(i,2,!1,i,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(i){K[i]=new z(i,3,!1,i.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(i){K[i]=new z(i,3,!0,i,null,!1,!1)})),["capture","download"].forEach((function(i){K[i]=new z(i,4,!1,i,null,!1,!1)})),["cols","rows","size","span"].forEach((function(i){K[i]=new z(i,6,!1,i,null,!1,!1)})),["rowSpan","start"].forEach((function(i){K[i]=new z(i,5,!1,i.toLowerCase(),null,!1,!1)}));var Y=/[\-:]([a-z])/g;function B(i){return i[1].toUpperCase()}function X(i,l,b,C){var $=K.hasOwnProperty(l)?K[l]:null;($!==null?$.type!==0:C||!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&((function(ue,Ce,Me,Ue){if(Ce==null||(function(st,lt,vt,Lt){if(vt!==null&&vt.type===0)return!1;switch(typeof lt){case"function":case"symbol":return!0;case"boolean":return!Lt&&(vt!==null?!vt.acceptsBooleans:(st=st.toLowerCase().slice(0,5))!=="data-"&&st!=="aria-");default:return!1}})(ue,Ce,Me,Ue))return!0;if(Ue)return!1;if(Me!==null)switch(Me.type){case 3:return!Ce;case 4:return Ce===!1;case 5:return isNaN(Ce);case 6:return isNaN(Ce)||1>Ce}return!1})(l,b,$,C)&&(b=null),C||$===null?(function(ue){return!!T.call(M,ue)||!T.call(j,ue)&&(I.test(ue)?M[ue]=!0:(j[ue]=!0,!1))})(l)&&(b===null?i.removeAttribute(l):i.setAttribute(l,""+b)):$.mustUseProperty?i[$.propertyName]=b===null?$.type!==3&&"":b:(l=$.attributeName,C=$.attributeNamespace,b===null?i.removeAttribute(l):(b=($=$.type)===3||$===4&&b===!0?"":""+b,C?i.setAttributeNS(C,l,b):i.setAttribute(l,b))))}"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(i){var l=i.replace(Y,B);K[l]=new z(l,1,!1,i,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(i){var l=i.replace(Y,B);K[l]=new z(l,1,!1,i,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(i){var l=i.replace(Y,B);K[l]=new z(l,1,!1,i,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(i){K[i]=new z(i,1,!1,i.toLowerCase(),null,!1,!1)})),K.xlinkHref=new z("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(i){K[i]=new z(i,1,!1,i.toLowerCase(),null,!0,!0)}));var te=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ie=Symbol.for("react.element"),se=Symbol.for("react.portal"),Te=Symbol.for("react.fragment"),he=Symbol.for("react.strict_mode"),ge=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),Ve=Symbol.for("react.context"),He=Symbol.for("react.forward_ref"),qe=Symbol.for("react.suspense"),nt=Symbol.for("react.suspense_list"),gt=Symbol.for("react.memo"),Re=Symbol.for("react.lazy"),u=Symbol.for("react.offscreen"),at=Symbol.iterator;function Xe(i){return i===null||typeof i!="object"?null:typeof(i=at&&i[at]||i["@@iterator"])=="function"?i:null}var Se,De=Object.assign;function Ke(i){if(Se===void 0)try{throw Error()}catch(b){var l=b.stack.trim().match(/\n( *(at )?)/);Se=l&&l[1]||""}return`
`+Se+i}var ft=!1;function Nt(i,l){if(!i||ft)return"";ft=!0;var b=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(l)if(l=function(){throw Error()},Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(l,[])}catch(Ue){var C=Ue}Reflect.construct(i,[],l)}else{try{l.call()}catch(Ue){C=Ue}i.call(l.prototype)}else{try{throw Error()}catch(Ue){C=Ue}i()}}catch(Ue){if(Ue&&C&&typeof Ue.stack=="string"){for(var $=Ue.stack.split(`
`),ee=C.stack.split(`
`),ue=$.length-1,Ce=ee.length-1;1<=ue&&0<=Ce&&$[ue]!==ee[Ce];)Ce--;for(;1<=ue&&0<=Ce;ue--,Ce--)if($[ue]!==ee[Ce]){if(ue!==1||Ce!==1)do if(ue--,0>--Ce||$[ue]!==ee[Ce]){var Me=`
`+$[ue].replace(" at new "," at ");return i.displayName&&Me.includes("<anonymous>")&&(Me=Me.replace("<anonymous>",i.displayName)),Me}while(1<=ue&&0<=Ce);break}}}finally{ft=!1,Error.prepareStackTrace=b}return(i=i?i.displayName||i.name:"")?Ke(i):""}function Wt(i){switch(i.tag){case 5:return Ke(i.type);case 16:return Ke("Lazy");case 13:return Ke("Suspense");case 19:return Ke("SuspenseList");case 0:case 2:case 15:return i=Nt(i.type,!1);case 11:return i=Nt(i.type.render,!1);case 1:return i=Nt(i.type,!0);default:return""}}function H(i){if(i==null)return null;if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case Te:return"Fragment";case se:return"Portal";case ge:return"Profiler";case he:return"StrictMode";case qe:return"Suspense";case nt:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case Ve:return(i.displayName||"Context")+".Consumer";case ke:return(i._context.displayName||"Context")+".Provider";case He:var l=i.render;return(i=i.displayName)||(i=(i=l.displayName||l.name||"")!==""?"ForwardRef("+i+")":"ForwardRef"),i;case gt:return(l=i.displayName||null)!==null?l:H(i.type)||"Memo";case Re:l=i._payload,i=i._init;try{return H(i(l))}catch{}}return null}function we(i){var l=i.type;switch(i.tag){case 24:return"Cache";case 9:return(l.displayName||"Context")+".Consumer";case 10:return(l._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return i=(i=l.render).displayName||i.name||"",l.displayName||(i!==""?"ForwardRef("+i+")":"ForwardRef");case 7:return"Fragment";case 5:return l;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return H(l);case 8:return l===he?"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 l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l}return null}function ct(i){switch(typeof i){case"boolean":case"number":case"string":case"undefined":case"object":return i;default:return""}}function mt(i){var l=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function ur(i){i._valueTracker||(i._valueTracker=(function(b){var C=mt(b)?"checked":"value",$=Object.getOwnPropertyDescriptor(b.constructor.prototype,C),ee=""+b[C];if(!b.hasOwnProperty(C)&&$!==void 0&&typeof $.get=="function"&&typeof $.set=="function"){var ue=$.get,Ce=$.set;return Object.defineProperty(b,C,{configurable:!0,get:function(){return ue.call(this)},set:function(Me){ee=""+Me,Ce.call(this,Me)}}),Object.defineProperty(b,C,{enumerable:$.enumerable}),{getValue:function(){return ee},setValue:function(Me){ee=""+Me},stopTracking:function(){b._valueTracker=null,delete b[C]}}}})(i))}function ar(i){if(!i)return!1;var l=i._valueTracker;if(!l)return!0;var b=l.getValue(),C="";return i&&(C=mt(i)?i.checked?"true":"false":i.value),(i=C)!==b&&(l.setValue(i),!0)}function Tt(i){if((i=i||(typeof document<"u"?document:void 0))===void 0)return null;try{return i.activeElement||i.body}catch{return i.body}}function Gt(i,l){var b=l.checked;return De({},l,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:b??i._wrapperState.initialChecked})}function Sr(i,l){var b=l.defaultValue==null?"":l.defaultValue,C=l.checked!=null?l.checked:l.defaultChecked;b=ct(l.value!=null?l.value:b),i._wrapperState={initialChecked:C,initialValue:b,controlled:l.type==="checkbox"||l.type==="radio"?l.checked!=null:l.value!=null}}function kt(i,l){(l=l.checked)!=null&&X(i,"checked",l,!1)}function yt(i,l){kt(i,l);var b=ct(l.value),C=l.type;if(b!=null)C==="number"?(b===0&&i.value===""||i.value!=b)&&(i.value=""+b):i.value!==""+b&&(i.value=""+b);else if(C==="submit"||C==="reset")return void i.removeAttribute("value");l.hasOwnProperty("value")?pe(i,l.type,b):l.hasOwnProperty("defaultValue")&&pe(i,l.type,ct(l.defaultValue)),l.checked==null&&l.defaultChecked!=null&&(i.defaultChecked=!!l.defaultChecked)}function Zt(i,l,b){if(l.hasOwnProperty("value")||l.hasOwnProperty("defaultValue")){var C=l.type;if(!(C!=="submit"&&C!=="reset"||l.value!==void 0&&l.value!==null))return;l=""+i._wrapperState.initialValue,b||l===i.value||(i.value=l),i.defaultValue=l}(b=i.name)!==""&&(i.name=""),i.defaultChecked=!!i._wrapperState.initialChecked,b!==""&&(i.name=b)}function pe(i,l,b){l==="number"&&Tt(i.ownerDocument)===i||(b==null?i.defaultValue=""+i._wrapperState.initialValue:i.defaultValue!==""+b&&(i.defaultValue=""+b))}var U=Array.isArray;function Z(i,l,b,C){if(i=i.options,l){l={};for(var $=0;$<b.length;$++)l["$"+b[$]]=!0;for(b=0;b<i.length;b++)$=l.hasOwnProperty("$"+i[b].value),i[b].selected!==$&&(i[b].selected=$),$&&C&&(i[b].defaultSelected=!0)}else{for(b=""+ct(b),l=null,$=0;$<i.length;$++){if(i[$].value===b)return i[$].selected=!0,void(C&&(i[$].defaultSelected=!0));l!==null||i[$].disabled||(l=i[$])}l!==null&&(l.selected=!0)}}function ne(i,l){if(l.dangerouslySetInnerHTML!=null)throw Error(f(91));return De({},l,{value:void 0,defaultValue:void 0,children:""+i._wrapperState.initialValue})}function ye(i,l){var b=l.value;if(b==null){if(b=l.children,l=l.defaultValue,b!=null){if(l!=null)throw Error(f(92));if(U(b)){if(1<b.length)throw Error(f(93));b=b[0]}l=b}l==null&&(l=""),b=l}i._wrapperState={initialValue:ct(b)}}function Ee(i,l){var b=ct(l.value),C=ct(l.defaultValue);b!=null&&((b=""+b)!==i.value&&(i.value=b),l.defaultValue==null&&i.defaultValue!==b&&(i.defaultValue=b)),C!=null&&(i.defaultValue=""+C)}function Fe(i){var l=i.textContent;l===i._wrapperState.initialValue&&l!==""&&l!==null&&(i.value=l)}function St(i){switch(i){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Bt(i,l){return i==null||i==="http://www.w3.org/1999/xhtml"?St(l):i==="http://www.w3.org/2000/svg"&&l==="foreignObject"?"http://www.w3.org/1999/xhtml":i}var Qe,$t,Pt=($t=function(i,l){if(i.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in i)i.innerHTML=l;else{for((Qe=Qe||document.createElement("div")).innerHTML="<svg>"+l.valueOf().toString()+"</svg>",l=Qe.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;l.firstChild;)i.appendChild(l.firstChild)}},typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,l,b,C){MSApp.execUnsafeLocalFunction((function(){return $t(i,l)}))}:$t);function rn(i,l){if(l){var b=i.firstChild;if(b&&b===i.lastChild&&b.nodeType===3)return void(b.nodeValue=l)}i.textContent=l}var kr={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},An=["Webkit","ms","Moz","O"];function Wr(i,l,b){return l==null||typeof l=="boolean"||l===""?"":b||typeof l!="number"||l===0||kr.hasOwnProperty(i)&&kr[i]?(""+l).trim():l+"px"}function Jn(i,l){for(var b in i=i.style,l)if(l.hasOwnProperty(b)){var C=b.indexOf("--")===0,$=Wr(b,l[b],C);b==="float"&&(b="cssFloat"),C?i.setProperty(b,$):i[b]=$}}Object.keys(kr).forEach((function(i){An.forEach((function(l){l=l+i.charAt(0).toUpperCase()+i.substring(1),kr[l]=kr[i]}))}));var Ea=De({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 Zn(i,l){if(l){if(Ea[i]&&(l.children!=null||l.dangerouslySetInnerHTML!=null))throw Error(f(137,i));if(l.dangerouslySetInnerHTML!=null){if(l.children!=null)throw Error(f(60));if(typeof l.dangerouslySetInnerHTML!="object"||!("__html"in l.dangerouslySetInnerHTML))throw Error(f(61))}if(l.style!=null&&typeof l.style!="object")throw Error(f(62))}}function un(i,l){if(i.indexOf("-")===-1)return typeof l.is=="string";switch(i){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 ti=null;function Oo(i){return(i=i.target||i.srcElement||window).correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var Li=null,Fn=null,zo=null;function Vo(i){if(i=cp(i)){if(typeof Li!="function")throw Error(f(280));var l=i.stateNode;l&&(l=up(l),Li(i.stateNode,i.type,l))}}function ds(i){Fn?zo?zo.push(i):zo=[i]:Fn=i}function sr(){if(Fn){var i=Fn,l=zo;if(zo=Fn=null,Vo(i),l)for(i=0;i<l.length;i++)Vo(l[i])}}function br(i,l){return i(l)}function tn(){}var Cr=!1;function Mr(i,l,b){if(Cr)return i(l,b);Cr=!0;try{return br(i,l,b)}finally{Cr=!1,(Fn!==null||zo!==null)&&(tn(),sr())}}function Nn(i,l){var b=i.stateNode;if(b===null)return null;var C=up(b);if(C===null)return null;b=C[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(C=!C.disabled)||(C=!((i=i.type)==="button"||i==="input"||i==="select"||i==="textarea")),i=!C;break e;default:i=!1}if(i)return null;if(b&&typeof b!="function")throw Error(f(231,l,typeof b));return b}var nn=!1;if(_)try{var fn={};Object.defineProperty(fn,"passive",{get:function(){nn=!0}}),window.addEventListener("test",fn,fn),window.removeEventListener("test",fn,fn)}catch{nn=!1}function Ln(i,l,b,C,$,ee,ue,Ce,Me){var Ue=Array.prototype.slice.call(arguments,3);try{l.apply(b,Ue)}catch(ot){this.onError(ot)}}var Hr=!1,ia=null,za=!1,fs=null,ea={onError:function(i){Hr=!0,ia=i}};function di(i,l,b,C,$,ee,ue,Ce,Me){Hr=!1,ia=null,Ln.apply(ea,arguments)}function Va(i){var l=i,b=i;if(i.alternate)for(;l.return;)l=l.return;else{i=l;do 4098&(l=i).flags&&(b=l.return),i=l.return;while(i)}return l.tag===3?b:null}function Rr(i){if(i.tag===13){var l=i.memoizedState;if(l===null&&(i=i.alternate)!==null&&(l=i.memoizedState),l!==null)return l.dehydrated}return null}function ko(i){if(Va(i)!==i)throw Error(f(188))}function Nr(i){return(i=(function(b){var C=b.alternate;if(!C){if((C=Va(b))===null)throw Error(f(188));return C!==b?null:b}for(var $=b,ee=C;;){var ue=$.return;if(ue===null)break;var Ce=ue.alternate;if(Ce===null){if((ee=ue.return)!==null){$=ee;continue}break}if(ue.child===Ce.child){for(Ce=ue.child;Ce;){if(Ce===$)return ko(ue),b;if(Ce===ee)return ko(ue),C;Ce=Ce.sibling}throw Error(f(188))}if($.return!==ee.return)$=ue,ee=Ce;else{for(var Me=!1,Ue=ue.child;Ue;){if(Ue===$){Me=!0,$=ue,ee=Ce;break}if(Ue===ee){Me=!0,ee=ue,$=Ce;break}Ue=Ue.sibling}if(!Me){for(Ue=Ce.child;Ue;){if(Ue===$){Me=!0,$=Ce,ee=ue;break}if(Ue===ee){Me=!0,ee=Ce,$=ue;break}Ue=Ue.sibling}if(!Me)throw Error(f(189))}}if($.alternate!==ee)throw Error(f(190))}if($.tag!==3)throw Error(f(188));return $.stateNode.current===$?b:C})(i))!==null?xn(i):null}function xn(i){if(i.tag===5||i.tag===6)return i;for(i=i.child;i!==null;){var l=xn(i);if(l!==null)return l;i=i.sibling}return null}var fi=v.unstable_scheduleCallback,ta=v.unstable_cancelCallback,Jo=v.unstable_shouldYield,ms=v.unstable_requestPaint,Yt=v.unstable_now,gr=v.unstable_getCurrentPriorityLevel,mr=v.unstable_ImmediatePriority,Vr=v.unstable_UserBlockingPriority,Gr=v.unstable_NormalPriority,sa=v.unstable_LowPriority,Sa=v.unstable_IdlePriority,Ja=null,Wa=null,Ia=Math.clz32?Math.clz32:function(l){return l>>>=0,l===0?32:31-(Yl(l)/Xl|0)|0},Yl=Math.log,Xl=Math.LN2,gs=64,ys=4194304;function lo(i){switch(i&-i){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 4194240&i;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&i;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return i}}function mi(i,l){var b=i.pendingLanes;if(b===0)return 0;var C=0,$=i.suspendedLanes,ee=i.pingedLanes,ue=268435455&b;if(ue!==0){var Ce=ue&~$;Ce!==0?C=lo(Ce):(ee&=ue)!==0&&(C=lo(ee))}else(ue=b&~$)!==0?C=lo(ue):ee!==0&&(C=lo(ee));if(C===0)return 0;if(l!==0&&l!==C&&!(l&$)&&(($=C&-C)>=(ee=l&-l)||$===16&&4194240&ee))return l;if(4&C&&(C|=16&b),(l=i.entangledLanes)!==0)for(i=i.entanglements,l&=C;0<l;)$=1<<(b=31-Ia(l)),C|=i[b],l&=~$;return C}function Wu(i,l){switch(i){case 1:case 2:case 4:return l+250;case 8:case 16:case 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 l+5e3;default:return-1}}function Ql(i){return(i=-1073741825&i.pendingLanes)!==0?i:1073741824&i?1073741824:0}function Zl(){var i=gs;return!(4194240&(gs<<=1))&&(gs=64),i}function ec(i){for(var l=[],b=0;31>b;b++)l.push(i);return l}function Ao(i,l,b){i.pendingLanes|=l,l!==536870912&&(i.suspendedLanes=0,i.pingedLanes=0),(i=i.eventTimes)[l=31-Ia(l)]=b}function vs(i,l){var b=i.entangledLanes|=l;for(i=i.entanglements;b;){var C=31-Ia(b),$=1<<C;$&l|i[C]&l&&(i[C]|=l),b&=~$}}var an=0;function tc(i){return 1<(i&=-i)?4<i?268435455&i?16:536870912:4:1}var rc,Zs,nc,Hu,Ku,$c=!1,$i=[],Co=null,gi=null,yi=null,bs=new Map,ws=new Map,jo=[],ac="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function el(i,l){switch(i){case"focusin":case"focusout":Co=null;break;case"dragenter":case"dragleave":gi=null;break;case"mouseover":case"mouseout":yi=null;break;case"pointerover":case"pointerout":bs.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":ws.delete(l.pointerId)}}function Es(i,l,b,C,$,ee){return i===null||i.nativeEvent!==ee?(i={blockedOn:l,domEventName:b,eventSystemFlags:C,nativeEvent:ee,targetContainers:[$]},l!==null&&(l=cp(l))!==null&&Zs(l),i):(i.eventSystemFlags|=C,l=i.targetContainers,$!==null&&l.indexOf($)===-1&&l.push($),i)}function vi(i){var l=El(i.target);if(l!==null){var b=Va(l);if(b!==null){if((l=b.tag)===13){if((l=Rr(b))!==null)return i.blockedOn=l,void Ku(i.priority,(function(){nc(b)}))}else if(l===3&&b.stateNode.current.memoizedState.isDehydrated)return void(i.blockedOn=b.tag===3?b.stateNode.containerInfo:null)}}i.blockedOn=null}function bn(i){if(i.blockedOn!==null)return!1;for(var l=i.targetContainers;0<l.length;){var b=co(i.domEventName,i.eventSystemFlags,l[0],i.nativeEvent);if(b!==null)return(l=cp(b))!==null&&Zs(l),i.blockedOn=b,!1;var C=new(b=i.nativeEvent).constructor(b.type,b);ti=C,b.target.dispatchEvent(C),ti=null,l.shift()}return!0}function tl(i,l,b){bn(i)&&b.delete(l)}function rl(){$c=!1,Co!==null&&bn(Co)&&(Co=null),gi!==null&&bn(gi)&&(gi=null),yi!==null&&bn(yi)&&(yi=null),bs.forEach(tl),ws.forEach(tl)}function bi(i,l){i.blockedOn===l&&(i.blockedOn=null,$c||($c=!0,v.unstable_scheduleCallback(v.unstable_NormalPriority,rl)))}function Po(i){function l($){return bi($,i)}if(0<$i.length){bi($i[0],i);for(var b=1;b<$i.length;b++){var C=$i[b];C.blockedOn===i&&(C.blockedOn=null)}}for(Co!==null&&bi(Co,i),gi!==null&&bi(gi,i),yi!==null&&bi(yi,i),bs.forEach(l),ws.forEach(l),b=0;b<jo.length;b++)(C=jo[b]).blockedOn===i&&(C.blockedOn=null);for(;0<jo.length&&(b=jo[0]).blockedOn===null;)vi(b),b.blockedOn===null&&jo.shift()}var Ma=te.ReactCurrentBatchConfig,oc=!0;function jd(i,l,b,C){var $=an,ee=Ma.transition;Ma.transition=null;try{an=1,qc(i,l,b,C)}finally{an=$,Ma.transition=ee}}function Bc(i,l,b,C){var $=an,ee=Ma.transition;Ma.transition=null;try{an=4,qc(i,l,b,C)}finally{an=$,Ma.transition=ee}}function qc(i,l,b,C){if(oc){var $=co(i,l,b,C);if($===null)Rt(i,l,C,yr,b),el(i,C);else if((function(Ce,Me,Ue,ot,st){switch(Me){case"focusin":return Co=Es(Co,Ce,Me,Ue,ot,st),!0;case"dragenter":return gi=Es(gi,Ce,Me,Ue,ot,st),!0;case"mouseover":return yi=Es(yi,Ce,Me,Ue,ot,st),!0;case"pointerover":var lt=st.pointerId;return bs.set(lt,Es(bs.get(lt)||null,Ce,Me,Ue,ot,st)),!0;case"gotpointercapture":return lt=st.pointerId,ws.set(lt,Es(ws.get(lt)||null,Ce,Me,Ue,ot,st)),!0}return!1})($,i,l,b,C))C.stopPropagation();else if(el(i,C),4&l&&-1<ac.indexOf(i)){for(;$!==null;){var ee=cp($);if(ee!==null&&rc(ee),(ee=co(i,l,b,C))===null&&Rt(i,l,C,yr,b),ee===$)break;$=ee}$!==null&&C.stopPropagation()}else Rt(i,l,C,null,b)}}var yr=null;function co(i,l,b,C){if(yr=null,(i=El(i=Oo(C)))!==null)if((l=Va(i))===null)i=null;else if((b=l.tag)===13){if((i=Rr(l))!==null)return i;i=null}else if(b===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;i=null}else l!==i&&(i=null);return yr=i,null}function nl(i){switch(i){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(gr()){case mr:return 1;case Vr:return 4;case Gr:case sa:return 16;case Sa:return 536870912;default:return 16}default:return 16}}var wi=null,Uc=null,al=null;function Gu(){if(al)return al;var i,l,b=Uc,C=b.length,$="value"in wi?wi.value:wi.textContent,ee=$.length;for(i=0;i<C&&b[i]===$[i];i++);var ue=C-i;for(l=1;l<=ue&&b[C-l]===$[ee-l];l++);return al=$.slice(i,1<l?1-l:void 0)}function ic(i){var l=i.keyCode;return"charCode"in i?(i=i.charCode)===0&&l===13&&(i=13):i=l,i===10&&(i=13),32<=i||i===13?i:0}function zc(){return!0}function rh(){return!1}function uo(i){function l(b,C,$,ee,ue){for(var Ce in this._reactName=b,this._targetInst=$,this.type=C,this.nativeEvent=ee,this.target=ue,this.currentTarget=null,i)i.hasOwnProperty(Ce)&&(b=i[Ce],this[Ce]=b?b(ee):ee[Ce]);return this.isDefaultPrevented=(ee.defaultPrevented!=null?ee.defaultPrevented:ee.returnValue===!1)?zc:rh,this.isPropagationStopped=rh,this}return De(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var b=this.nativeEvent;b&&(b.preventDefault?b.preventDefault():typeof b.returnValue!="unknown"&&(b.returnValue=!1),this.isDefaultPrevented=zc)},stopPropagation:function(){var b=this.nativeEvent;b&&(b.stopPropagation?b.stopPropagation():typeof b.cancelBubble!="unknown"&&(b.cancelBubble=!0),this.isPropagationStopped=zc)},persist:function(){},isPersistent:zc}),l}var Yu,Vc,Bi,Wo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$n=uo(Wo),Ha=De({},Wo,{view:0,detail:0}),nh=uo(Ha),Ei=De({},Ha,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ra,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==Bi&&(Bi&&i.type==="mousemove"?(Yu=i.screenX-Bi.screenX,Vc=i.screenY-Bi.screenY):Vc=Yu=0,Bi=i),Yu)},movementY:function(i){return"movementY"in i?i.movementY:Vc}}),Xu=uo(Ei),ol=uo(De({},Ei,{dataTransfer:0})),Ss=uo(De({},Ha,{relatedTarget:0})),Qu=uo(De({},Wo,{animationName:0,elapsedTime:0,pseudoElement:0})),il=De({},Wo,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),ah=uo(il),ri=uo(De({},Wo,{data:0})),sl={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},sc={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Jc={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Zu(i){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(i):!!(i=Jc[i])&&!!l[i]}function Ra(){return Zu}var Wc=De({},Ha,{key:function(i){if(i.key){var l=sl[i.key]||i.key;if(l!=="Unidentified")return l}return i.type==="keypress"?(i=ic(i))===13?"Enter":String.fromCharCode(i):i.type==="keydown"||i.type==="keyup"?sc[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ra,charCode:function(i){return i.type==="keypress"?ic(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?ic(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),ll=uo(Wc),Hc=uo(De({},Ei,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),ep=uo(De({},Ha,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ra})),cl=uo(De({},Wo,{propertyName:0,elapsedTime:0,pseudoElement:0})),ul=De({},Ei,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),tp=uo(ul),xa=[9,13,27,32],qi=_&&"CompositionEvent"in window,Si=null;_&&"documentMode"in document&&(Si=document.documentMode);var rp=_&&"TextEvent"in window&&!Si,Ui=_&&(!qi||Si&&8<Si&&11>=Si),pl=" ",hl=!1;function xi(i,l){switch(i){case"keyup":return xa.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xs(i){return typeof(i=i.detail)=="object"&&"data"in i?i.data:null}var No=!1,Kc={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ra(i){var l=i&&i.nodeName&&i.nodeName.toLowerCase();return l==="input"?!!Kc[i.type]:l==="textarea"}function dl(i,l,b,C){ds(C),0<(l=vr(l,"onChange")).length&&(b=new $n("onChange","change",null,b,C),i.push({event:b,listeners:l}))}var fl=null,ni=null;function Gc(i){oe(i,0)}function zi(i){if(ar(ru(i)))return i}function lc(i,l){if(i==="change")return l}var Yc=!1;if(_){var ml;if(_){var gl="oninput"in document;if(!gl){var la=document.createElement("div");la.setAttribute("oninput","return;"),gl=typeof la.oninput=="function"}ml=gl}else ml=!1;Yc=ml&&(!document.documentMode||9<document.documentMode)}function Vi(){fl&&(fl.detachEvent("onpropertychange",Ji),ni=fl=null)}function Ji(i){if(i.propertyName==="value"&&zi(ni)){var l=[];dl(l,ni,i,Oo(i)),Mr(Gc,l)}}function Wi(i,l,b){i==="focusin"?(Vi(),ni=b,(fl=l).attachEvent("onpropertychange",Ji)):i==="focusout"&&Vi()}function np(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return zi(ni)}function ap(i,l){if(i==="click")return zi(l)}function oh(i,l){if(i==="input"||i==="change")return zi(l)}var Ka=typeof Object.is=="function"?Object.is:function(l,b){return l===b&&(l!==0||1/l==1/b)||l!=l&&b!=b};function _s(i,l){if(Ka(i,l))return!0;if(typeof i!="object"||i===null||typeof l!="object"||l===null)return!1;var b=Object.keys(i),C=Object.keys(l);if(b.length!==C.length)return!1;for(C=0;C<b.length;C++){var $=b[C];if(!T.call(l,$)||!Ka(i[$],l[$]))return!1}return!0}function Xc(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function ca(i,l){var b,C=Xc(i);for(i=0;C;){if(C.nodeType===3){if(b=i+C.textContent.length,i<=l&&b>=l)return{node:C,offset:l-i};i=b}e:{for(;C;){if(C.nextSibling){C=C.nextSibling;break e}C=C.parentNode}C=void 0}C=Xc(C)}}function yl(i,l){return!(!i||!l)&&(i===l||(!i||i.nodeType!==3)&&(l&&l.nodeType===3?yl(i,l.parentNode):"contains"in i?i.contains(l):!!i.compareDocumentPosition&&!!(16&i.compareDocumentPosition(l))))}function Da(){for(var i=window,l=Tt();l instanceof i.HTMLIFrameElement;){try{var b=typeof l.contentWindow.location.href=="string"}catch{b=!1}if(!b)break;l=Tt((i=l.contentWindow).document)}return l}function Hi(i){var l=i&&i.nodeName&&i.nodeName.toLowerCase();return l&&(l==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||l==="textarea"||i.contentEditable==="true")}function Ho(i){var l=Da(),b=i.focusedElem,C=i.selectionRange;if(l!==b&&b&&b.ownerDocument&&yl(b.ownerDocument.documentElement,b)){if(C!==null&&Hi(b)){if(l=C.start,(i=C.end)===void 0&&(i=l),"selectionStart"in b)b.selectionStart=l,b.selectionEnd=Math.min(i,b.value.length);else if((i=(l=b.ownerDocument||document)&&l.defaultView||window).getSelection){i=i.getSelection();var $=b.textContent.length,ee=Math.min(C.start,$);C=C.end===void 0?ee:Math.min(C.end,$),!i.extend&&ee>C&&($=C,C=ee,ee=$),$=ca(b,ee);var ue=ca(b,C);$&&ue&&(i.rangeCount!==1||i.anchorNode!==$.node||i.anchorOffset!==$.offset||i.focusNode!==ue.node||i.focusOffset!==ue.offset)&&((l=l.createRange()).setStart($.node,$.offset),i.removeAllRanges(),ee>C?(i.addRange(l),i.extend(ue.node,ue.offset)):(l.setEnd(ue.node,ue.offset),i.addRange(l)))}}for(l=[],i=b;i=i.parentNode;)i.nodeType===1&&l.push({element:i,left:i.scrollLeft,top:i.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<l.length;b++)(i=l[b]).element.scrollLeft=i.left,i.element.scrollTop=i.top}}var _a=_&&"documentMode"in document&&11>=document.documentMode,_i=null,cc=null,jn=null,mn=!1;function uc(i,l,b){var C=b.window===b?b.document:b.nodeType===9?b:b.ownerDocument;mn||_i==null||_i!==Tt(C)||("selectionStart"in(C=_i)&&Hi(C)?C={start:C.selectionStart,end:C.selectionEnd}:C={anchorNode:(C=(C.ownerDocument&&C.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:C.anchorOffset,focusNode:C.focusNode,focusOffset:C.focusOffset},jn&&_s(jn,C)||(jn=C,0<(C=vr(cc,"onSelect")).length&&(l=new $n("onSelect","select",null,l,b),i.push({event:l,listeners:C}),l.target=_i)))}function Os(i,l){var b={};return b[i.toLowerCase()]=l.toLowerCase(),b["Webkit"+i]="webkit"+l,b["Moz"+i]="moz"+l,b}var To={animationend:Os("Animation","AnimationEnd"),animationiteration:Os("Animation","AnimationIteration"),animationstart:Os("Animation","AnimationStart"),transitionend:Os("Transition","TransitionEnd")},Qc={},pc={};function vl(i){if(Qc[i])return Qc[i];if(!To[i])return i;var l,b=To[i];for(l in b)if(b.hasOwnProperty(l)&&l in pc)return Qc[i]=b[l];return i}_&&(pc=document.createElement("div").style,"AnimationEvent"in window||(delete To.animationend.animation,delete To.animationiteration.animation,delete To.animationstart.animation),"TransitionEvent"in window||delete To.transitionend.transition);var Zc=vl("animationend"),eu=vl("animationiteration"),op=vl("animationstart"),tu=vl("transitionend"),ip=new Map,sp="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function A(i,l){ip.set(i,l),g(l,[i])}for(var O=0;O<sp.length;O++){var D=sp[O];A(D.toLowerCase(),"on"+(D[0].toUpperCase()+D.slice(1)))}A(Zc,"onAnimationEnd"),A(eu,"onAnimationIteration"),A(op,"onAnimationStart"),A("dblclick","onDoubleClick"),A("focusin","onFocus"),A("focusout","onBlur"),A(tu,"onTransitionEnd"),S("onMouseEnter",["mouseout","mouseover"]),S("onMouseLeave",["mouseout","mouseover"]),S("onPointerEnter",["pointerout","pointerover"]),S("onPointerLeave",["pointerout","pointerover"]),g("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),g("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),g("onBeforeInput",["compositionend","keypress","textInput","paste"]),g("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),g("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),g("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var F="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),q=new Set("cancel close invalid load scroll toggle".split(" ").concat(F));function ae(i,l,b){var C=i.type||"unknown-event";i.currentTarget=b,(function(ee,ue,Ce,Me,Ue,ot,st,lt,vt){if(di.apply(this,arguments),Hr){if(!Hr)throw Error(f(198));var Lt=ia;Hr=!1,ia=null,za||(za=!0,fs=Lt)}})(C,l,void 0,i),i.currentTarget=null}function oe(i,l){l=!!(4&l);for(var b=0;b<i.length;b++){var C=i[b],$=C.event;C=C.listeners;e:{var ee=void 0;if(l)for(var ue=C.length-1;0<=ue;ue--){var Ce=C[ue],Me=Ce.instance,Ue=Ce.currentTarget;if(Ce=Ce.listener,Me!==ee&&$.isPropagationStopped())break e;ae($,Ce,Ue),ee=Me}else for(ue=0;ue<C.length;ue++){if(Me=(Ce=C[ue]).instance,Ue=Ce.currentTarget,Ce=Ce.listener,Me!==ee&&$.isPropagationStopped())break e;ae($,Ce,Ue),ee=Me}}}if(za)throw i=fs,za=!1,fs=null,i}function fe(i,l){var b=l[ih];b===void 0&&(b=l[ih]=new Set);var C=i+"__bubble";b.has(C)||(At(l,i,2,!1),b.add(C))}function Pe(i,l,b){var C=0;l&&(C|=4),At(b,i,C,l)}var ze="_reactListening"+Math.random().toString(36).slice(2);function tt(i){if(!i[ze]){i[ze]=!0,y.forEach((function(b){b!=="selectionchange"&&(q.has(b)||Pe(b,!1,i),Pe(b,!0,i))}));var l=i.nodeType===9?i:i.ownerDocument;l===null||l[ze]||(l[ze]=!0,Pe("selectionchange",!1,l))}}function At(i,l,b,C){switch(nl(l)){case 1:var $=jd;break;case 4:$=Bc;break;default:$=qc}b=$.bind(null,l,b,i),$=void 0,!nn||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||($=!0),C?$!==void 0?i.addEventListener(l,b,{capture:!0,passive:$}):i.addEventListener(l,b,!0):$!==void 0?i.addEventListener(l,b,{passive:$}):i.addEventListener(l,b,!1)}function Rt(i,l,b,C,$){var ee=C;if(!(1&l||2&l||C===null))e:for(;;){if(C===null)return;var ue=C.tag;if(ue===3||ue===4){var Ce=C.stateNode.containerInfo;if(Ce===$||Ce.nodeType===8&&Ce.parentNode===$)break;if(ue===4)for(ue=C.return;ue!==null;){var Me=ue.tag;if((Me===3||Me===4)&&((Me=ue.stateNode.containerInfo)===$||Me.nodeType===8&&Me.parentNode===$))return;ue=ue.return}for(;Ce!==null;){if((ue=El(Ce))===null)return;if((Me=ue.tag)===5||Me===6){C=ee=ue;continue e}Ce=Ce.parentNode}}C=C.return}Mr((function(){var Ue=ee,ot=Oo(b),st=[];e:{var lt=ip.get(i);if(lt!==void 0){var vt=$n,Lt=i;switch(i){case"keypress":if(ic(b)===0)break e;case"keydown":case"keyup":vt=ll;break;case"focusin":Lt="focus",vt=Ss;break;case"focusout":Lt="blur",vt=Ss;break;case"beforeblur":case"afterblur":vt=Ss;break;case"click":if(b.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":vt=Xu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":vt=ol;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":vt=ep;break;case Zc:case eu:case op:vt=Qu;break;case tu:vt=cl;break;case"scroll":vt=nh;break;case"wheel":vt=tp;break;case"copy":case"cut":case"paste":vt=ah;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":vt=Hc}var xt=!!(4&l),Ze=!xt&&i==="scroll",Le=xt?lt!==null?lt+"Capture":null:lt;xt=[];for(var rt,wt=Ue;wt!==null;){var nr=(rt=wt).stateNode;if(rt.tag===5&&nr!==null&&(rt=nr,Le!==null&&(nr=Nn(wt,Le))!=null&&xt.push(lr(wt,nr,rt))),Ze)break;wt=wt.return}0<xt.length&&(lt=new vt(lt,Lt,null,b,ot),st.push({event:lt,listeners:xt}))}}if(!(7&l)){if(vt=i==="mouseout"||i==="pointerout",(!(lt=i==="mouseover"||i==="pointerover")||b===ti||!(Lt=b.relatedTarget||b.fromElement)||!El(Lt)&&!Lt[Gi])&&(vt||lt)&&(lt=ot.window===ot?ot:(lt=ot.ownerDocument)?lt.defaultView||lt.parentWindow:window,vt?(vt=Ue,(Lt=(Lt=b.relatedTarget||b.toElement)?El(Lt):null)!==null&&(Lt!==(Ze=Va(Lt))||Lt.tag!==5&&Lt.tag!==6)&&(Lt=null)):(vt=null,Lt=Ue),vt!==Lt)){if(xt=Xu,nr="onMouseLeave",Le="onMouseEnter",wt="mouse",i!=="pointerout"&&i!=="pointerover"||(xt=Hc,nr="onPointerLeave",Le="onPointerEnter",wt="pointer"),Ze=vt==null?lt:ru(vt),rt=Lt==null?lt:ru(Lt),(lt=new xt(nr,wt+"leave",vt,b,ot)).target=Ze,lt.relatedTarget=rt,nr=null,El(ot)===Ue&&((xt=new xt(Le,wt+"enter",Lt,b,ot)).target=rt,xt.relatedTarget=Ze,nr=xt),Ze=nr,vt&&Lt)e:{for(Le=Lt,wt=0,rt=xt=vt;rt;rt=Ar(rt))wt++;for(rt=0,nr=Le;nr;nr=Ar(nr))rt++;for(;0<wt-rt;)xt=Ar(xt),wt--;for(;0<rt-wt;)Le=Ar(Le),rt--;for(;wt--;){if(xt===Le||Le!==null&&xt===Le.alternate)break e;xt=Ar(xt),Le=Ar(Le)}xt=null}else xt=null;vt!==null&&_n(st,lt,vt,xt,!1),Lt!==null&&Ze!==null&&_n(st,Ze,Lt,xt,!0)}if((vt=(lt=Ue?ru(Ue):window).nodeName&&lt.nodeName.toLowerCase())==="select"||vt==="input"&&lt.type==="file")var Fr=lc;else if(ra(lt))if(Yc)Fr=oh;else{Fr=np;var Mt=Wi}else(vt=lt.nodeName)&&vt.toLowerCase()==="input"&&(lt.type==="checkbox"||lt.type==="radio")&&(Fr=ap);switch(Fr&&(Fr=Fr(i,Ue))?dl(st,Fr,b,ot):(Mt&&Mt(i,lt,Ue),i==="focusout"&&(Mt=lt._wrapperState)&&Mt.controlled&&lt.type==="number"&&pe(lt,"number",lt.value)),Mt=Ue?ru(Ue):window,i){case"focusin":(ra(Mt)||Mt.contentEditable==="true")&&(_i=Mt,cc=Ue,jn=null);break;case"focusout":jn=cc=_i=null;break;case"mousedown":mn=!0;break;case"contextmenu":case"mouseup":case"dragend":mn=!1,uc(st,b,ot);break;case"selectionchange":if(_a)break;case"keydown":case"keyup":uc(st,b,ot)}var xr;if(qi)e:{switch(i){case"compositionstart":var Qr="onCompositionStart";break e;case"compositionend":Qr="onCompositionEnd";break e;case"compositionupdate":Qr="onCompositionUpdate";break e}Qr=void 0}else No?xi(i,b)&&(Qr="onCompositionEnd"):i==="keydown"&&b.keyCode===229&&(Qr="onCompositionStart");Qr&&(Ui&&b.locale!=="ko"&&(No||Qr!=="onCompositionStart"?Qr==="onCompositionEnd"&&No&&(xr=Gu()):(Uc="value"in(wi=ot)?wi.value:wi.textContent,No=!0)),0<(Mt=vr(Ue,Qr)).length&&(Qr=new ri(Qr,i,null,b,ot),st.push({event:Qr,listeners:Mt}),(xr||(xr=xs(b))!==null)&&(Qr.data=xr))),(xr=rp?(function(wr,_r){switch(wr){case"compositionend":return xs(_r);case"keypress":return _r.which!==32?null:(hl=!0,pl);case"textInput":return(wr=_r.data)===pl&&hl?null:wr;default:return null}})(i,b):(function(wr,_r){if(No)return wr==="compositionend"||!qi&&xi(wr,_r)?(wr=Gu(),al=Uc=wi=null,No=!1,wr):null;switch(wr){case"paste":default:return null;case"keypress":if(!(_r.ctrlKey||_r.altKey||_r.metaKey)||_r.ctrlKey&&_r.altKey){if(_r.char&&1<_r.char.length)return _r.char;if(_r.which)return String.fromCharCode(_r.which)}return null;case"compositionend":return Ui&&_r.locale!=="ko"?null:_r.data}})(i,b))&&0<(Ue=vr(Ue,"onBeforeInput")).length&&(ot=new ri("onBeforeInput","beforeinput",null,b,ot),st.push({event:ot,listeners:Ue}),ot.data=xr)}oe(st,l)}))}function lr(i,l,b){return{instance:i,listener:l,currentTarget:b}}function vr(i,l){for(var b=l+"Capture",C=[];i!==null;){var $=i,ee=$.stateNode;$.tag===5&&ee!==null&&($=ee,(ee=Nn(i,b))!=null&&C.unshift(lr(i,ee,$)),(ee=Nn(i,l))!=null&&C.push(lr(i,ee,$))),i=i.return}return C}function Ar(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5);return i||null}function _n(i,l,b,C,$){for(var ee=l._reactName,ue=[];b!==null&&b!==C;){var Ce=b,Me=Ce.alternate,Ue=Ce.stateNode;if(Me!==null&&Me===C)break;Ce.tag===5&&Ue!==null&&(Ce=Ue,$?(Me=Nn(b,ee))!=null&&ue.unshift(lr(b,Me,Ce)):$||(Me=Nn(b,ee))!=null&&ue.push(lr(b,Me,Ce))),b=b.return}ue.length!==0&&i.push({event:l,listeners:ue})}var ya=/\r\n?/g,Fa=/\u0000|\uFFFD/g;function ai(i){return(typeof i=="string"?i:""+i).replace(ya,`
`).replace(Fa,"")}function Tn(i,l,b){if(l=ai(l),ai(i)!==l&&b)throw Error(f(425))}function Hn(){}var na=null,aa=null;function Bn(i,l){return i==="textarea"||i==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var Ga=typeof setTimeout=="function"?setTimeout:void 0,Ya=typeof clearTimeout=="function"?clearTimeout:void 0,po=typeof Promise=="function"?Promise:void 0,n0=typeof queueMicrotask=="function"?queueMicrotask:po!==void 0?function(i){return po.resolve(null).then(i).catch(a0)}:Ga;function a0(i){setTimeout((function(){throw i}))}function Pd(i,l){var b=l,C=0;do{var $=b.nextSibling;if(i.removeChild(b),$&&$.nodeType===8)if((b=$.data)==="/$"){if(C===0)return i.removeChild($),void Po(l);C--}else b!=="$"&&b!=="$?"&&b!=="$!"||C++;b=$}while(b);Po(l)}function bl(i){for(;i!=null;i=i.nextSibling){var l=i.nodeType;if(l===1||l===3)break;if(l===8){if((l=i.data)==="$"||l==="$!"||l==="$?")break;if(l==="/$")return null}}return i}function Nd(i){i=i.previousSibling;for(var l=0;i;){if(i.nodeType===8){var b=i.data;if(b==="$"||b==="$!"||b==="$?"){if(l===0)return i;l--}else b==="/$"&&l++}i=i.previousSibling}return null}var wl=Math.random().toString(36).slice(2),Ki="__reactFiber$"+wl,lp="__reactProps$"+wl,Gi="__reactContainer$"+wl,ih="__reactEvents$"+wl,o0="__reactListeners$"+wl,i0="__reactHandles$"+wl;function El(i){var l=i[Ki];if(l)return l;for(var b=i.parentNode;b;){if(l=b[Gi]||b[Ki]){if(b=l.alternate,l.child!==null||b!==null&&b.child!==null)for(i=Nd(i);i!==null;){if(b=i[Ki])return b;i=Nd(i)}return l}b=(i=b).parentNode}return null}function cp(i){return!(i=i[Ki]||i[Gi])||i.tag!==5&&i.tag!==6&&i.tag!==13&&i.tag!==3?null:i}function ru(i){if(i.tag===5||i.tag===6)return i.stateNode;throw Error(f(33))}function up(i){return i[lp]||null}var Td=[],nu=-1;function Sl(i){return{current:i}}function qn(i){0>nu||(i.current=Td[nu],Td[nu]=null,nu--)}function Cn(i,l){nu++,Td[nu]=i.current,i.current=l}var xl={},Xa=Sl(xl),Oa=Sl(!1),ks=xl;function hc(i,l){var b=i.type.contextTypes;if(!b)return xl;var C=i.stateNode;if(C&&C.__reactInternalMemoizedUnmaskedChildContext===l)return C.__reactInternalMemoizedMaskedChildContext;var $,ee={};for($ in b)ee[$]=l[$];return C&&((i=i.stateNode).__reactInternalMemoizedUnmaskedChildContext=l,i.__reactInternalMemoizedMaskedChildContext=ee),ee}function Ko(i){return(i=i.childContextTypes)!=null}function sh(){qn(Oa),qn(Xa)}function Xm(i,l,b){if(Xa.current!==xl)throw Error(f(168));Cn(Xa,l),Cn(Oa,b)}function Id(i,l,b){var C=i.stateNode;if(l=l.childContextTypes,typeof C.getChildContext!="function")return b;for(var $ in C=C.getChildContext())if(!($ in l))throw Error(f(108,we(i)||"Unknown",$));return De({},b,C)}function lh(i){return i=(i=i.stateNode)&&i.__reactInternalMemoizedMergedChildContext||xl,ks=Xa.current,Cn(Xa,i),Cn(Oa,Oa.current),!0}function Yr(i,l,b){var C=i.stateNode;if(!C)throw Error(f(169));b?(i=Id(i,l,ks),C.__reactInternalMemoizedMergedChildContext=i,qn(Oa),qn(Xa),Cn(Xa,i)):qn(Oa),Cn(Oa,b)}var As=null,ch=!1,Md=!1;function Qm(i){As===null?As=[i]:As.push(i)}function _l(){if(!Md&&As!==null){Md=!0;var i=0,l=an;try{var b=As;for(an=1;i<b.length;i++){var C=b[i];do C=C(!0);while(C!==null)}As=null,ch=!1}catch($){throw As!==null&&(As=As.slice(i+1)),fi(mr,_l),$}finally{an=l,Md=!1}}return null}var au=[],ou=0,pp=null,iu=0,Io=[],Mo=0,Cs=null,Yi=1,js="";function dc(i,l){au[ou++]=iu,au[ou++]=pp,pp=i,iu=l}function Zm(i,l,b){Io[Mo++]=Yi,Io[Mo++]=js,Io[Mo++]=Cs,Cs=i;var C=Yi;i=js;var $=32-Ia(C)-1;C&=~(1<<$),b+=1;var ee=32-Ia(l)+$;if(30<ee){var ue=$-$%5;ee=(C&(1<<ue)-1).toString(32),C>>=ue,$-=ue,Yi=1<<32-Ia(l)+$|b<<$|C,js=ee+i}else Yi=1<<ee|b<<$|C,js=i}function Rd(i){i.return!==null&&(dc(i,1),Zm(i,1,0))}function Dd(i){for(;i===pp;)pp=au[--ou],au[ou]=null,iu=au[--ou],au[ou]=null;for(;i===Cs;)Cs=Io[--Mo],Io[Mo]=null,js=Io[--Mo],Io[Mo]=null,Yi=Io[--Mo],Io[Mo]=null}var Go=null,Ro=null,Un=!1,Oi=null;function eg(i,l){var b=Bo(5,null,null,0);b.elementType="DELETED",b.stateNode=l,b.return=i,(l=i.deletions)===null?(i.deletions=[b],i.flags|=16):l.push(b)}function Fd(i,l){switch(i.tag){case 5:var b=i.type;return(l=l.nodeType!==1||b.toLowerCase()!==l.nodeName.toLowerCase()?null:l)!==null&&(i.stateNode=l,Go=i,Ro=bl(l.firstChild),!0);case 6:return(l=i.pendingProps===""||l.nodeType!==3?null:l)!==null&&(i.stateNode=l,Go=i,Ro=null,!0);case 13:return(l=l.nodeType!==8?null:l)!==null&&(b=Cs!==null?{id:Yi,overflow:js}:null,i.memoizedState={dehydrated:l,treeContext:b,retryLane:1073741824},(b=Bo(18,null,null,0)).stateNode=l,b.return=i,i.child=b,Go=i,Ro=null,!0);default:return!1}}function uh(i){return!(!(1&i.mode)||128&i.flags)}function hp(i){if(Un){var l=Ro;if(l){var b=l;if(!Fd(i,l)){if(uh(i))throw Error(f(418));l=bl(b.nextSibling);var C=Go;l&&Fd(i,l)?eg(C,b):(i.flags=-4097&i.flags|2,Un=!1,Go=i)}}else{if(uh(i))throw Error(f(418));i.flags=-4097&i.flags|2,Un=!1,Go=i}}}function Ld(i){for(i=i.return;i!==null&&i.tag!==5&&i.tag!==3&&i.tag!==13;)i=i.return;Go=i}function dp(i){if(i!==Go)return!1;if(!Un)return Ld(i),Un=!0,!1;var l;if((l=i.tag!==3)&&!(l=i.tag!==5)&&(l=(l=i.type)!=="head"&&l!=="body"&&!Bn(i.type,i.memoizedProps)),l&&(l=Ro)){if(uh(i))throw tg(),Error(f(418));for(;l;)eg(i,l),l=bl(l.nextSibling)}if(Ld(i),i.tag===13){if(!(i=(i=i.memoizedState)!==null?i.dehydrated:null))throw Error(f(317));e:{for(i=i.nextSibling,l=0;i;){if(i.nodeType===8){var b=i.data;if(b==="/$"){if(l===0){Ro=bl(i.nextSibling);break e}l--}else b!=="$"&&b!=="$!"&&b!=="$?"||l++}i=i.nextSibling}Ro=null}}else Ro=Go?bl(i.stateNode.nextSibling):null;return!0}function tg(){for(var i=Ro;i;)i=bl(i.nextSibling)}function su(){Ro=Go=null,Un=!1}function $d(i){Oi===null?Oi=[i]:Oi.push(i)}var Bd=te.ReactCurrentBatchConfig;function fp(i,l,b){if((i=b.ref)!==null&&typeof i!="function"&&typeof i!="object"){if(b._owner){if(b=b._owner){if(b.tag!==1)throw Error(f(309));var C=b.stateNode}if(!C)throw Error(f(147,i));var $=C,ee=""+i;return l!==null&&l.ref!==null&&typeof l.ref=="function"&&l.ref._stringRef===ee?l.ref:(l=function(ue){var Ce=$.refs;ue===null?delete Ce[ee]:Ce[ee]=ue},l._stringRef=ee,l)}if(typeof i!="string")throw Error(f(284));if(!b._owner)throw Error(f(290,i))}return i}function mp(i,l){throw i=Object.prototype.toString.call(l),Error(f(31,i==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":i))}function rg(i){return(0,i._init)(i._payload)}function ph(i){function l(Ze,Le){if(i){var rt=Ze.deletions;rt===null?(Ze.deletions=[Le],Ze.flags|=16):rt.push(Le)}}function b(Ze,Le){if(!i)return null;for(;Le!==null;)l(Ze,Le),Le=Le.sibling;return null}function C(Ze,Le){for(Ze=new Map;Le!==null;)Le.key!==null?Ze.set(Le.key,Le):Ze.set(Le.index,Le),Le=Le.sibling;return Ze}function $(Ze,Le){return(Ze=pa(Ze,Le)).index=0,Ze.sibling=null,Ze}function ee(Ze,Le,rt){return Ze.index=rt,i?(rt=Ze.alternate)!==null?(rt=rt.index)<Le?(Ze.flags|=2,Le):rt:(Ze.flags|=2,Le):(Ze.flags|=1048576,Le)}function ue(Ze){return i&&Ze.alternate===null&&(Ze.flags|=2),Ze}function Ce(Ze,Le,rt,wt){return Le===null||Le.tag!==6?((Le=Tp(rt,Ze.mode,wt)).return=Ze,Le):((Le=$(Le,rt)).return=Ze,Le)}function Me(Ze,Le,rt,wt){var nr=rt.type;return nr===Te?ot(Ze,Le,rt.props.children,wt,rt.key):Le!==null&&(Le.elementType===nr||typeof nr=="object"&&nr!==null&&nr.$$typeof===Re&&rg(nr)===Le.type)?((wt=$(Le,rt.props)).ref=fp(Ze,Le,rt),wt.return=Ze,wt):((wt=ku(rt.type,rt.key,rt.props,null,Ze.mode,wt)).ref=fp(Ze,Le,rt),wt.return=Ze,wt)}function Ue(Ze,Le,rt,wt){return Le===null||Le.tag!==4||Le.stateNode.containerInfo!==rt.containerInfo||Le.stateNode.implementation!==rt.implementation?((Le=qh(rt,Ze.mode,wt)).return=Ze,Le):((Le=$(Le,rt.children||[])).return=Ze,Le)}function ot(Ze,Le,rt,wt,nr){return Le===null||Le.tag!==7?((Le=Xo(rt,Ze.mode,wt,nr)).return=Ze,Le):((Le=$(Le,rt)).return=Ze,Le)}function st(Ze,Le,rt){if(typeof Le=="string"&&Le!==""||typeof Le=="number")return(Le=Tp(""+Le,Ze.mode,rt)).return=Ze,Le;if(typeof Le=="object"&&Le!==null){switch(Le.$$typeof){case ie:return(rt=ku(Le.type,Le.key,Le.props,null,Ze.mode,rt)).ref=fp(Ze,null,Le),rt.return=Ze,rt;case se:return(Le=qh(Le,Ze.mode,rt)).return=Ze,Le;case Re:return st(Ze,(0,Le._init)(Le._payload),rt)}if(U(Le)||Xe(Le))return(Le=Xo(Le,Ze.mode,rt,null)).return=Ze,Le;mp(Ze,Le)}return null}function lt(Ze,Le,rt,wt){var nr=Le!==null?Le.key:null;if(typeof rt=="string"&&rt!==""||typeof rt=="number")return nr!==null?null:Ce(Ze,Le,""+rt,wt);if(typeof rt=="object"&&rt!==null){switch(rt.$$typeof){case ie:return rt.key===nr?Me(Ze,Le,rt,wt):null;case se:return rt.key===nr?Ue(Ze,Le,rt,wt):null;case Re:return lt(Ze,Le,(nr=rt._init)(rt._payload),wt)}if(U(rt)||Xe(rt))return nr!==null?null:ot(Ze,Le,rt,wt,null);mp(Ze,rt)}return null}function vt(Ze,Le,rt,wt,nr){if(typeof wt=="string"&&wt!==""||typeof wt=="number")return Ce(Le,Ze=Ze.get(rt)||null,""+wt,nr);if(typeof wt=="object"&&wt!==null){switch(wt.$$typeof){case ie:return Me(Le,Ze=Ze.get(wt.key===null?rt:wt.key)||null,wt,nr);case se:return Ue(Le,Ze=Ze.get(wt.key===null?rt:wt.key)||null,wt,nr);case Re:return vt(Ze,Le,rt,(0,wt._init)(wt._payload),nr)}if(U(wt)||Xe(wt))return ot(Le,Ze=Ze.get(rt)||null,wt,nr,null);mp(Le,wt)}return null}function Lt(Ze,Le,rt,wt){for(var nr=null,Fr=null,Mt=Le,xr=Le=0,Qr=null;Mt!==null&&xr<rt.length;xr++){Mt.index>xr?(Qr=Mt,Mt=null):Qr=Mt.sibling;var sn=lt(Ze,Mt,rt[xr],wt);if(sn===null){Mt===null&&(Mt=Qr);break}i&&Mt&&sn.alternate===null&&l(Ze,Mt),Le=ee(sn,Le,xr),Fr===null?nr=sn:Fr.sibling=sn,Fr=sn,Mt=Qr}if(xr===rt.length)return b(Ze,Mt),Un&&dc(Ze,xr),nr;if(Mt===null){for(;xr<rt.length;xr++)(Mt=st(Ze,rt[xr],wt))!==null&&(Le=ee(Mt,Le,xr),Fr===null?nr=Mt:Fr.sibling=Mt,Fr=Mt);return Un&&dc(Ze,xr),nr}for(Mt=C(Ze,Mt);xr<rt.length;xr++)(Qr=vt(Mt,Ze,xr,rt[xr],wt))!==null&&(i&&Qr.alternate!==null&&Mt.delete(Qr.key===null?xr:Qr.key),Le=ee(Qr,Le,xr),Fr===null?nr=Qr:Fr.sibling=Qr,Fr=Qr);return i&&Mt.forEach((function(wr){return l(Ze,wr)})),Un&&dc(Ze,xr),nr}function xt(Ze,Le,rt,wt){var nr=Xe(rt);if(typeof nr!="function")throw Error(f(150));if((rt=nr.call(rt))==null)throw Error(f(151));for(var Fr=nr=null,Mt=Le,xr=Le=0,Qr=null,sn=rt.next();Mt!==null&&!sn.done;xr++,sn=rt.next()){Mt.index>xr?(Qr=Mt,Mt=null):Qr=Mt.sibling;var wr=lt(Ze,Mt,sn.value,wt);if(wr===null){Mt===null&&(Mt=Qr);break}i&&Mt&&wr.alternate===null&&l(Ze,Mt),Le=ee(wr,Le,xr),Fr===null?nr=wr:Fr.sibling=wr,Fr=wr,Mt=Qr}if(sn.done)return b(Ze,Mt),Un&&dc(Ze,xr),nr;if(Mt===null){for(;!sn.done;xr++,sn=rt.next())(sn=st(Ze,sn.value,wt))!==null&&(Le=ee(sn,Le,xr),Fr===null?nr=sn:Fr.sibling=sn,Fr=sn);return Un&&dc(Ze,xr),nr}for(Mt=C(Ze,Mt);!sn.done;xr++,sn=rt.next())(sn=vt(Mt,Ze,xr,sn.value,wt))!==null&&(i&&sn.alternate!==null&&Mt.delete(sn.key===null?xr:sn.key),Le=ee(sn,Le,xr),Fr===null?nr=sn:Fr.sibling=sn,Fr=sn);return i&&Mt.forEach((function(_r){return l(Ze,_r)})),Un&&dc(Ze,xr),nr}return function Ze(Le,rt,wt,nr){if(typeof wt=="object"&&wt!==null&&wt.type===Te&&wt.key===null&&(wt=wt.props.children),typeof wt=="object"&&wt!==null){switch(wt.$$typeof){case ie:e:{for(var Fr=wt.key,Mt=rt;Mt!==null;){if(Mt.key===Fr){if((Fr=wt.type)===Te){if(Mt.tag===7){b(Le,Mt.sibling),(rt=$(Mt,wt.props.children)).return=Le,Le=rt;break e}}else if(Mt.elementType===Fr||typeof Fr=="object"&&Fr!==null&&Fr.$$typeof===Re&&rg(Fr)===Mt.type){b(Le,Mt.sibling),(rt=$(Mt,wt.props)).ref=fp(Le,Mt,wt),rt.return=Le,Le=rt;break e}b(Le,Mt);break}l(Le,Mt),Mt=Mt.sibling}wt.type===Te?((rt=Xo(wt.props.children,Le.mode,nr,wt.key)).return=Le,Le=rt):((nr=ku(wt.type,wt.key,wt.props,null,Le.mode,nr)).ref=fp(Le,rt,wt),nr.return=Le,Le=nr)}return ue(Le);case se:e:{for(Mt=wt.key;rt!==null;){if(rt.key===Mt){if(rt.tag===4&&rt.stateNode.containerInfo===wt.containerInfo&&rt.stateNode.implementation===wt.implementation){b(Le,rt.sibling),(rt=$(rt,wt.children||[])).return=Le,Le=rt;break e}b(Le,rt);break}l(Le,rt),rt=rt.sibling}(rt=qh(wt,Le.mode,nr)).return=Le,Le=rt}return ue(Le);case Re:return Ze(Le,rt,(Mt=wt._init)(wt._payload),nr)}if(U(wt))return Lt(Le,rt,wt,nr);if(Xe(wt))return xt(Le,rt,wt,nr);mp(Le,wt)}return typeof wt=="string"&&wt!==""||typeof wt=="number"?(wt=""+wt,rt!==null&&rt.tag===6?(b(Le,rt.sibling),(rt=$(rt,wt)).return=Le,Le=rt):(b(Le,rt),(rt=Tp(wt,Le.mode,nr)).return=Le,Le=rt),ue(Le)):b(Le,rt)}}var fc=ph(!0),ng=ph(!1),hh=Sl(null),dh=null,lu=null,Xr=null;function cu(){Xr=lu=dh=null}function uu(i){var l=hh.current;qn(hh),i._currentValue=l}function qd(i,l,b){for(;i!==null;){var C=i.alternate;if((i.childLanes&l)!==l?(i.childLanes|=l,C!==null&&(C.childLanes|=l)):C!==null&&(C.childLanes&l)!==l&&(C.childLanes|=l),i===b)break;i=i.return}}function pu(i,l){dh=i,Xr=lu=null,(i=i.dependencies)!==null&&i.firstContext!==null&&(i.lanes&l&&(Do=!0),i.firstContext=null)}function oi(i){var l=i._currentValue;if(Xr!==i)if(i={context:i,memoizedValue:l,next:null},lu===null){if(dh===null)throw Error(f(308));lu=i,dh.dependencies={lanes:0,firstContext:i}}else lu=lu.next=i;return l}var Ol=null;function gp(i){Ol===null?Ol=[i]:Ol.push(i)}function ag(i,l,b,C){var $=l.interleaved;return $===null?(b.next=b,gp(l)):(b.next=$.next,$.next=b),l.interleaved=b,Ps(i,C)}function Ps(i,l){i.lanes|=l;var b=i.alternate;for(b!==null&&(b.lanes|=l),b=i,i=i.return;i!==null;)i.childLanes|=l,(b=i.alternate)!==null&&(b.childLanes|=l),b=i,i=i.return;return b.tag===3?b.stateNode:null}var kl=!1;function yp(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function og(i,l){i=i.updateQueue,l.updateQueue===i&&(l.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects})}function Ns(i,l){return{eventTime:i,lane:l,tag:0,payload:null,callback:null,next:null}}function Ts(i,l,b){var C=i.updateQueue;if(C===null)return null;if(C=C.shared,2&pn){var $=C.pending;return $===null?l.next=l:(l.next=$.next,$.next=l),C.pending=l,Ps(i,b)}return($=C.interleaved)===null?(l.next=l,gp(C)):(l.next=$.next,$.next=l),C.interleaved=l,Ps(i,b)}function hu(i,l,b){if((l=l.updateQueue)!==null&&(l=l.shared,4194240&b)){var C=l.lanes;b|=C&=i.pendingLanes,l.lanes=b,vs(i,b)}}function fh(i,l){var b=i.updateQueue,C=i.alternate;if(C!==null&&b===(C=C.updateQueue)){var $=null,ee=null;if((b=b.firstBaseUpdate)!==null){do{var ue={eventTime:b.eventTime,lane:b.lane,tag:b.tag,payload:b.payload,callback:b.callback,next:null};ee===null?$=ee=ue:ee=ee.next=ue,b=b.next}while(b!==null);ee===null?$=ee=l:ee=ee.next=l}else $=ee=l;return b={baseState:C.baseState,firstBaseUpdate:$,lastBaseUpdate:ee,shared:C.shared,effects:C.effects},void(i.updateQueue=b)}(i=b.lastBaseUpdate)===null?b.firstBaseUpdate=l:i.next=l,b.lastBaseUpdate=l}function mh(i,l,b,C){var $=i.updateQueue;kl=!1;var ee=$.firstBaseUpdate,ue=$.lastBaseUpdate,Ce=$.shared.pending;if(Ce!==null){$.shared.pending=null;var Me=Ce,Ue=Me.next;Me.next=null,ue===null?ee=Ue:ue.next=Ue,ue=Me;var ot=i.alternate;ot!==null&&(Ce=(ot=ot.updateQueue).lastBaseUpdate)!==ue&&(Ce===null?ot.firstBaseUpdate=Ue:Ce.next=Ue,ot.lastBaseUpdate=Me)}if(ee!==null){var st=$.baseState;for(ue=0,ot=Ue=Me=null,Ce=ee;;){var lt=Ce.lane,vt=Ce.eventTime;if((C&lt)===lt){ot!==null&&(ot=ot.next={eventTime:vt,lane:0,tag:Ce.tag,payload:Ce.payload,callback:Ce.callback,next:null});e:{var Lt=i,xt=Ce;switch(lt=l,vt=b,xt.tag){case 1:if(typeof(Lt=xt.payload)=="function"){st=Lt.call(vt,st,lt);break e}st=Lt;break e;case 3:Lt.flags=-65537&Lt.flags|128;case 0:if((lt=typeof(Lt=xt.payload)=="function"?Lt.call(vt,st,lt):Lt)==null)break e;st=De({},st,lt);break e;case 2:kl=!0}}Ce.callback!==null&&Ce.lane!==0&&(i.flags|=64,(lt=$.effects)===null?$.effects=[Ce]:lt.push(Ce))}else vt={eventTime:vt,lane:lt,tag:Ce.tag,payload:Ce.payload,callback:Ce.callback,next:null},ot===null?(Ue=ot=vt,Me=st):ot=ot.next=vt,ue|=lt;if((Ce=Ce.next)===null){if((Ce=$.shared.pending)===null)break;Ce=(lt=Ce).next,lt.next=null,$.lastBaseUpdate=lt,$.shared.pending=null}}if(ot===null&&(Me=st),$.baseState=Me,$.firstBaseUpdate=Ue,$.lastBaseUpdate=ot,(l=$.shared.interleaved)!==null){$=l;do ue|=$.lane,$=$.next;while($!==l)}else ee===null&&($.shared.lanes=0);Ds|=ue,i.lanes=ue,i.memoizedState=st}}function Ud(i,l,b){if(i=l.effects,l.effects=null,i!==null)for(l=0;l<i.length;l++){var C=i[l],$=C.callback;if($!==null){if(C.callback=null,C=b,typeof $!="function")throw Error(f(191,$));$.call(C)}}}var vp={},ki=Sl(vp),du=Sl(vp),bp=Sl(vp);function Al(i){if(i===vp)throw Error(f(174));return i}function zd(i,l){switch(Cn(bp,l),Cn(du,i),Cn(ki,vp),i=l.nodeType){case 9:case 11:l=(l=l.documentElement)?l.namespaceURI:Bt(null,"");break;default:l=Bt(l=(i=i===8?l.parentNode:l).namespaceURI||null,i=i.tagName)}qn(ki),Cn(ki,l)}function va(){qn(ki),qn(du),qn(bp)}function gh(i){Al(bp.current);var l=Al(ki.current),b=Bt(l,i.type);l!==b&&(Cn(du,i),Cn(ki,b))}function yh(i){du.current===i&&(qn(ki),qn(du))}var Wn=Sl(0);function vh(i){for(var l=i;l!==null;){if(l.tag===13){var b=l.memoizedState;if(b!==null&&((b=b.dehydrated)===null||b.data==="$?"||b.data==="$!"))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if(128&l.flags)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===i)break;for(;l.sibling===null;){if(l.return===null||l.return===i)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Vd=[];function Jd(){for(var i=0;i<Vd.length;i++)Vd[i]._workInProgressVersionPrimary=null;Vd.length=0}var fu=te.ReactCurrentDispatcher,Wd=te.ReactCurrentBatchConfig,ba=0,Dr=null,ka=null,Aa=null,mc=!1,wp=!1,Ep=0,s0=0;function Qa(){throw Error(f(321))}function bh(i,l){if(l===null)return!1;for(var b=0;b<l.length&&b<i.length;b++)if(!Ka(i[b],l[b]))return!1;return!0}function Is(i,l,b,C,$,ee){if(ba=ee,Dr=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,fu.current=i===null||i.memoizedState===null?tf:rf,i=b(C,$),wp){ee=0;do{if(wp=!1,Ep=0,25<=ee)throw Error(f(301));ee+=1,Aa=ka=null,l.updateQueue=null,fu.current=yg,i=b(C,$)}while(wp)}if(fu.current=_p,l=ka!==null&&ka.next!==null,ba=0,Aa=ka=Dr=null,mc=!1,l)throw Error(f(300));return i}function Hd(){var i=Ep!==0;return Ep=0,i}function Xi(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Aa===null?Dr.memoizedState=Aa=i:Aa=Aa.next=i,Aa}function ii(){if(ka===null){var i=Dr.alternate;i=i!==null?i.memoizedState:null}else i=ka.next;var l=Aa===null?Dr.memoizedState:Aa.next;if(l!==null)Aa=l,ka=i;else{if(i===null)throw Error(f(310));i={memoizedState:(ka=i).memoizedState,baseState:ka.baseState,baseQueue:ka.baseQueue,queue:ka.queue,next:null},Aa===null?Dr.memoizedState=Aa=i:Aa=Aa.next=i}return Aa}function mu(i,l){return typeof l=="function"?l(i):l}function wh(i){var l=ii(),b=l.queue;if(b===null)throw Error(f(311));b.lastRenderedReducer=i;var C=ka,$=C.baseQueue,ee=b.pending;if(ee!==null){if($!==null){var ue=$.next;$.next=ee.next,ee.next=ue}C.baseQueue=$=ee,b.pending=null}if($!==null){ee=$.next,C=C.baseState;var Ce=ue=null,Me=null,Ue=ee;do{var ot=Ue.lane;if((ba&ot)===ot)Me!==null&&(Me=Me.next={lane:0,action:Ue.action,hasEagerState:Ue.hasEagerState,eagerState:Ue.eagerState,next:null}),C=Ue.hasEagerState?Ue.eagerState:i(C,Ue.action);else{var st={lane:ot,action:Ue.action,hasEagerState:Ue.hasEagerState,eagerState:Ue.eagerState,next:null};Me===null?(Ce=Me=st,ue=C):Me=Me.next=st,Dr.lanes|=ot,Ds|=ot}Ue=Ue.next}while(Ue!==null&&Ue!==ee);Me===null?ue=C:Me.next=Ce,Ka(C,l.memoizedState)||(Do=!0),l.memoizedState=C,l.baseState=ue,l.baseQueue=Me,b.lastRenderedState=C}if((i=b.interleaved)!==null){$=i;do ee=$.lane,Dr.lanes|=ee,Ds|=ee,$=$.next;while($!==i)}else $===null&&(b.lanes=0);return[l.memoizedState,b.dispatch]}function Kd(i){var l=ii(),b=l.queue;if(b===null)throw Error(f(311));b.lastRenderedReducer=i;var C=b.dispatch,$=b.pending,ee=l.memoizedState;if($!==null){b.pending=null;var ue=$=$.next;do ee=i(ee,ue.action),ue=ue.next;while(ue!==$);Ka(ee,l.memoizedState)||(Do=!0),l.memoizedState=ee,l.baseQueue===null&&(l.baseState=ee),b.lastRenderedState=ee}return[ee,C]}function ig(){}function sg(i,l){var b=Dr,C=ii(),$=l(),ee=!Ka(C.memoizedState,$);if(ee&&(C.memoizedState=$,Do=!0),C=C.queue,xh(cg.bind(null,b,C,i),[i]),C.getSnapshot!==l||ee||Aa!==null&&1&Aa.memoizedState.tag){if(b.flags|=2048,Sp(9,lg.bind(null,b,C,$,l),void 0,null),Ca===null)throw Error(f(349));30&ba||Eh(b,l,$)}return $}function Eh(i,l,b){i.flags|=16384,i={getSnapshot:l,value:b},(l=Dr.updateQueue)===null?(l={lastEffect:null,stores:null},Dr.updateQueue=l,l.stores=[i]):(b=l.stores)===null?l.stores=[i]:b.push(i)}function lg(i,l,b,C){l.value=b,l.getSnapshot=C,Ai(l)&&ug(i)}function cg(i,l,b){return b((function(){Ai(l)&&ug(i)}))}function Ai(i){var l=i.getSnapshot;i=i.value;try{var b=l();return!Ka(i,b)}catch{return!0}}function ug(i){var l=Ps(i,1);l!==null&&Lo(l,i,1,-1)}function Gd(i){var l=Xi();return typeof i=="function"&&(i=i()),l.memoizedState=l.baseState=i,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:mu,lastRenderedState:i},l.queue=i,i=i.dispatch=mg.bind(null,Dr,i),[l.memoizedState,i]}function Sp(i,l,b,C){return i={tag:i,create:l,destroy:b,deps:C,next:null},(l=Dr.updateQueue)===null?(l={lastEffect:null,stores:null},Dr.updateQueue=l,l.lastEffect=i.next=i):(b=l.lastEffect)===null?l.lastEffect=i.next=i:(C=b.next,b.next=i,i.next=C,l.lastEffect=i),i}function Yd(){return ii().memoizedState}function Sh(i,l,b,C){var $=Xi();Dr.flags|=i,$.memoizedState=Sp(1|l,b,void 0,C===void 0?null:C)}function xp(i,l,b,C){var $=ii();C=C===void 0?null:C;var ee=void 0;if(ka!==null){var ue=ka.memoizedState;if(ee=ue.destroy,C!==null&&bh(C,ue.deps))return void($.memoizedState=Sp(l,b,ee,C))}Dr.flags|=i,$.memoizedState=Sp(1|l,b,ee,C)}function pg(i,l){return Sh(8390656,8,i,l)}function xh(i,l){return xp(2048,8,i,l)}function hg(i,l){return xp(4,2,i,l)}function Ci(i,l){return xp(4,4,i,l)}function _h(i,l){return typeof l=="function"?(i=i(),l(i),function(){l(null)}):l!=null?(i=i(),l.current=i,function(){l.current=null}):void 0}function dg(i,l,b){return b=b!=null?b.concat([i]):null,xp(4,4,_h.bind(null,l,i),b)}function Xd(){}function gu(i,l){var b=ii();l=l===void 0?null:l;var C=b.memoizedState;return C!==null&&l!==null&&bh(l,C[1])?C[0]:(b.memoizedState=[i,l],i)}function Qd(i,l){var b=ii();l=l===void 0?null:l;var C=b.memoizedState;return C!==null&&l!==null&&bh(l,C[1])?C[0]:(i=i(),b.memoizedState=[i,l],i)}function Zd(i,l,b){return 21&ba?(Ka(b,l)||(b=Zl(),Dr.lanes|=b,Ds|=b,i.baseState=!0),l):(i.baseState&&(i.baseState=!1,Do=!0),i.memoizedState=b)}function l0(i,l){var b=an;an=b!==0&&4>b?b:4,i(!0);var C=Wd.transition;Wd.transition={};try{i(!1),l()}finally{an=b,Wd.transition=C}}function ef(){return ii().memoizedState}function fg(i,l,b){var C=Tl(i);b={lane:C,action:b,hasEagerState:!1,eagerState:null,next:null},gg(i)?gc(l,b):(b=ag(i,l,b,C))!==null&&(Lo(b,i,C,to()),Yo(b,l,C))}function mg(i,l,b){var C=Tl(i),$={lane:C,action:b,hasEagerState:!1,eagerState:null,next:null};if(gg(i))gc(l,$);else{var ee=i.alternate;if(i.lanes===0&&(ee===null||ee.lanes===0)&&(ee=l.lastRenderedReducer)!==null)try{var ue=l.lastRenderedState,Ce=ee(ue,b);if($.hasEagerState=!0,$.eagerState=Ce,Ka(Ce,ue)){var Me=l.interleaved;return Me===null?($.next=$,gp(l)):($.next=Me.next,Me.next=$),void(l.interleaved=$)}}catch{}(b=ag(i,l,$,C))!==null&&(Lo(b,i,C,$=to()),Yo(b,l,C))}}function gg(i){var l=i.alternate;return i===Dr||l!==null&&l===Dr}function gc(i,l){wp=mc=!0;var b=i.pending;b===null?l.next=l:(l.next=b.next,b.next=l),i.pending=l}function Yo(i,l,b){if(4194240&b){var C=l.lanes;b|=C&=i.pendingLanes,l.lanes=b,vs(i,b)}}var _p={readContext:oi,useCallback:Qa,useContext:Qa,useEffect:Qa,useImperativeHandle:Qa,useInsertionEffect:Qa,useLayoutEffect:Qa,useMemo:Qa,useReducer:Qa,useRef:Qa,useState:Qa,useDebugValue:Qa,useDeferredValue:Qa,useTransition:Qa,useMutableSource:Qa,useSyncExternalStore:Qa,useId:Qa,unstable_isNewReconciler:!1},tf={readContext:oi,useCallback:function(i,l){return Xi().memoizedState=[i,l===void 0?null:l],i},useContext:oi,useEffect:pg,useImperativeHandle:function(i,l,b){return b=b!=null?b.concat([i]):null,Sh(4194308,4,_h.bind(null,l,i),b)},useLayoutEffect:function(i,l){return Sh(4194308,4,i,l)},useInsertionEffect:function(i,l){return Sh(4,2,i,l)},useMemo:function(i,l){var b=Xi();return l=l===void 0?null:l,i=i(),b.memoizedState=[i,l],i},useReducer:function(i,l,b){var C=Xi();return l=b!==void 0?b(l):l,C.memoizedState=C.baseState=l,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:l},C.queue=i,i=i.dispatch=fg.bind(null,Dr,i),[C.memoizedState,i]},useRef:function(i){return i={current:i},Xi().memoizedState=i},useState:Gd,useDebugValue:Xd,useDeferredValue:function(i){return Xi().memoizedState=i},useTransition:function(){var i=Gd(!1),l=i[0];return i=l0.bind(null,i[1]),Xi().memoizedState=i,[l,i]},useMutableSource:function(){},useSyncExternalStore:function(i,l,b){var C=Dr,$=Xi();if(Un){if(b===void 0)throw Error(f(407));b=b()}else{if(b=l(),Ca===null)throw Error(f(349));30&ba||Eh(C,l,b)}$.memoizedState=b;var ee={value:b,getSnapshot:l};return $.queue=ee,pg(cg.bind(null,C,ee,i),[i]),C.flags|=2048,Sp(9,lg.bind(null,C,ee,b,l),void 0,null),b},useId:function(){var i=Xi(),l=Ca.identifierPrefix;if(Un){var b=js;l=":"+l+"R"+(b=(Yi&~(1<<32-Ia(Yi)-1)).toString(32)+b),0<(b=Ep++)&&(l+="H"+b.toString(32)),l+=":"}else l=":"+l+"r"+(b=s0++).toString(32)+":";return i.memoizedState=l},unstable_isNewReconciler:!1},rf={readContext:oi,useCallback:gu,useContext:oi,useEffect:xh,useImperativeHandle:dg,useInsertionEffect:hg,useLayoutEffect:Ci,useMemo:Qd,useReducer:wh,useRef:Yd,useState:function(){return wh(mu)},useDebugValue:Xd,useDeferredValue:function(i){return Zd(ii(),ka.memoizedState,i)},useTransition:function(){return[wh(mu)[0],ii().memoizedState]},useMutableSource:ig,useSyncExternalStore:sg,useId:ef,unstable_isNewReconciler:!1},yg={readContext:oi,useCallback:gu,useContext:oi,useEffect:xh,useImperativeHandle:dg,useInsertionEffect:hg,useLayoutEffect:Ci,useMemo:Qd,useReducer:Kd,useRef:Yd,useState:function(){return Kd(mu)},useDebugValue:Xd,useDeferredValue:function(i){var l=ii();return ka===null?l.memoizedState=i:Zd(l,ka.memoizedState,i)},useTransition:function(){return[Kd(mu)[0],ii().memoizedState]},useMutableSource:ig,useSyncExternalStore:sg,useId:ef,unstable_isNewReconciler:!1};function si(i,l){if(i&&i.defaultProps){for(var b in l=De({},l),i=i.defaultProps)l[b]===void 0&&(l[b]=i[b]);return l}return l}function Oh(i,l,b,C){b=(b=b(C,l=i.memoizedState))==null?l:De({},l,b),i.memoizedState=b,i.lanes===0&&(i.updateQueue.baseState=b)}var kh={isMounted:function(i){return!!(i=i._reactInternals)&&Va(i)===i},enqueueSetState:function(i,l,b){i=i._reactInternals;var C=to(),$=Tl(i),ee=Ns(C,$);ee.payload=l,b!=null&&(ee.callback=b),(l=Ts(i,ee,$))!==null&&(Lo(l,i,$,C),hu(l,i,$))},enqueueReplaceState:function(i,l,b){i=i._reactInternals;var C=to(),$=Tl(i),ee=Ns(C,$);ee.tag=1,ee.payload=l,b!=null&&(ee.callback=b),(l=Ts(i,ee,$))!==null&&(Lo(l,i,$,C),hu(l,i,$))},enqueueForceUpdate:function(i,l){i=i._reactInternals;var b=to(),C=Tl(i),$=Ns(b,C);$.tag=2,l!=null&&($.callback=l),(l=Ts(i,$,C))!==null&&(Lo(l,i,C,b),hu(l,i,C))}};function vg(i,l,b,C,$,ee,ue){return typeof(i=i.stateNode).shouldComponentUpdate=="function"?i.shouldComponentUpdate(C,ee,ue):!l.prototype||!l.prototype.isPureReactComponent||!_s(b,C)||!_s($,ee)}function bg(i,l,b){var C=!1,$=xl,ee=l.contextType;return typeof ee=="object"&&ee!==null?ee=oi(ee):($=Ko(l)?ks:Xa.current,ee=(C=(C=l.contextTypes)!=null)?hc(i,$):xl),l=new l(b,ee),i.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,l.updater=kh,i.stateNode=l,l._reactInternals=i,C&&((i=i.stateNode).__reactInternalMemoizedUnmaskedChildContext=$,i.__reactInternalMemoizedMaskedChildContext=ee),l}function wg(i,l,b,C){i=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(b,C),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(b,C),l.state!==i&&kh.enqueueReplaceState(l,l.state,null)}function nf(i,l,b,C){var $=i.stateNode;$.props=b,$.state=i.memoizedState,$.refs={},yp(i);var ee=l.contextType;typeof ee=="object"&&ee!==null?$.context=oi(ee):(ee=Ko(l)?ks:Xa.current,$.context=hc(i,ee)),$.state=i.memoizedState,typeof(ee=l.getDerivedStateFromProps)=="function"&&(Oh(i,l,ee,b),$.state=i.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof $.getSnapshotBeforeUpdate=="function"||typeof $.UNSAFE_componentWillMount!="function"&&typeof $.componentWillMount!="function"||(l=$.state,typeof $.componentWillMount=="function"&&$.componentWillMount(),typeof $.UNSAFE_componentWillMount=="function"&&$.UNSAFE_componentWillMount(),l!==$.state&&kh.enqueueReplaceState($,$.state,null),mh(i,b,$,C),$.state=i.memoizedState),typeof $.componentDidMount=="function"&&(i.flags|=4194308)}function yu(i,l){try{var b="",C=l;do b+=Wt(C),C=C.return;while(C);var $=b}catch(ee){$=`
Error generating stack: `+ee.message+`
`+ee.stack}return{value:i,source:l,stack:$,digest:null}}function af(i,l,b){return{value:i,source:null,stack:b??null,digest:l??null}}function Ah(i,l){try{console.error(l.value)}catch(b){setTimeout((function(){throw b}))}}var c0=typeof WeakMap=="function"?WeakMap:Map;function vu(i,l,b){(b=Ns(-1,b)).tag=3,b.payload={element:null};var C=l.value;return b.callback=function(){bc||(bc=!0,Cp=C),Ah(0,l)},b}function Eg(i,l,b){(b=Ns(-1,b)).tag=3;var C=i.type.getDerivedStateFromError;if(typeof C=="function"){var $=l.value;b.payload=function(){return C($)},b.callback=function(){Ah(0,l)}}var ee=i.stateNode;return ee!==null&&typeof ee.componentDidCatch=="function"&&(b.callback=function(){Ah(0,l),typeof C!="function"&&(Pi===null?Pi=new Set([this]):Pi.add(this));var ue=l.stack;this.componentDidCatch(l.value,{componentStack:ue!==null?ue:""})}),b}function ji(i,l,b){var C=i.pingCache;if(C===null){C=i.pingCache=new c0;var $=new Set;C.set(l,$)}else($=C.get(l))===void 0&&($=new Set,C.set(l,$));$.has(b)||($.add(b),i=f0.bind(null,i,l,b),l.then(i,i))}function Sg(i){do{var l;if((l=i.tag===13)&&(l=(l=i.memoizedState)===null||l.dehydrated!==null),l)return i;i=i.return}while(i!==null);return null}function xg(i,l,b,C,$){return 1&i.mode?(i.flags|=65536,i.lanes=$,i):(i===l?i.flags|=65536:(i.flags|=128,b.flags|=131072,b.flags&=-52805,b.tag===1&&(b.alternate===null?b.tag=17:((l=Ns(-1,1)).tag=2,Ts(b,l,1))),b.lanes|=1),i)}var u0=te.ReactCurrentOwner,Do=!1;function Za(i,l,b,C){l.child=i===null?ng(l,null,b,C):fc(l,i.child,b,C)}function _g(i,l,b,C,$){b=b.render;var ee=l.ref;return pu(l,$),C=Is(i,l,b,C,ee,$),b=Hd(),i===null||Do?(Un&&b&&Rd(l),l.flags|=1,Za(i,l,C,$),l.child):(l.updateQueue=i.updateQueue,l.flags&=-2053,i.lanes&=~$,Ms(i,l,$))}function Og(i,l,b,C,$){if(i===null){var ee=b.type;return typeof ee!="function"||Pp(ee)||ee.defaultProps!==void 0||b.compare!==null||b.defaultProps!==void 0?((i=ku(b.type,null,C,l,l.mode,$)).ref=l.ref,i.return=l,l.child=i):(l.tag=15,l.type=ee,kg(i,l,ee,C,$))}if(ee=i.child,!(i.lanes&$)){var ue=ee.memoizedProps;if((b=(b=b.compare)!==null?b:_s)(ue,C)&&i.ref===l.ref)return Ms(i,l,$)}return l.flags|=1,(i=pa(ee,C)).ref=l.ref,i.return=l,l.child=i}function kg(i,l,b,C,$){if(i!==null){var ee=i.memoizedProps;if(_s(ee,C)&&i.ref===l.ref){if(Do=!1,l.pendingProps=C=ee,!(i.lanes&$))return l.lanes=i.lanes,Ms(i,l,$);131072&i.flags&&(Do=!0)}}return eo(i,l,b,C,$)}function of(i,l,b){var C=l.pendingProps,$=C.children,ee=i!==null?i.memoizedState:null;if(C.mode==="hidden")if(1&l.mode){if(!(1073741824&b))return i=ee!==null?ee.baseLanes|b:b,l.lanes=l.childLanes=1073741824,l.memoizedState={baseLanes:i,cachePool:null,transitions:null},l.updateQueue=null,Cn(jl,fo),fo|=i,null;l.memoizedState={baseLanes:0,cachePool:null,transitions:null},C=ee!==null?ee.baseLanes:b,Cn(jl,fo),fo|=C}else l.memoizedState={baseLanes:0,cachePool:null,transitions:null},Cn(jl,fo),fo|=b;else ee!==null?(C=ee.baseLanes|b,l.memoizedState=null):C=b,Cn(jl,fo),fo|=C;return Za(i,l,$,b),l.child}function li(i,l){var b=l.ref;(i===null&&b!==null||i!==null&&i.ref!==b)&&(l.flags|=512,l.flags|=2097152)}function eo(i,l,b,C,$){var ee=Ko(b)?ks:Xa.current;return ee=hc(l,ee),pu(l,$),b=Is(i,l,b,C,ee,$),C=Hd(),i===null||Do?(Un&&C&&Rd(l),l.flags|=1,Za(i,l,b,$),l.child):(l.updateQueue=i.updateQueue,l.flags&=-2053,i.lanes&=~$,Ms(i,l,$))}function Ag(i,l,b,C,$){if(Ko(b)){var ee=!0;lh(l)}else ee=!1;if(pu(l,$),l.stateNode===null)Th(i,l),bg(l,b,C),nf(l,b,C,$),C=!0;else if(i===null){var ue=l.stateNode,Ce=l.memoizedProps;ue.props=Ce;var Me=ue.context,Ue=b.contextType;typeof Ue=="object"&&Ue!==null?Ue=oi(Ue):Ue=hc(l,Ue=Ko(b)?ks:Xa.current);var ot=b.getDerivedStateFromProps,st=typeof ot=="function"||typeof ue.getSnapshotBeforeUpdate=="function";st||typeof ue.UNSAFE_componentWillReceiveProps!="function"&&typeof ue.componentWillReceiveProps!="function"||(Ce!==C||Me!==Ue)&&wg(l,ue,C,Ue),kl=!1;var lt=l.memoizedState;ue.state=lt,mh(l,C,ue,$),Me=l.memoizedState,Ce!==C||lt!==Me||Oa.current||kl?(typeof ot=="function"&&(Oh(l,b,ot,C),Me=l.memoizedState),(Ce=kl||vg(l,b,Ce,C,lt,Me,Ue))?(st||typeof ue.UNSAFE_componentWillMount!="function"&&typeof ue.componentWillMount!="function"||(typeof ue.componentWillMount=="function"&&ue.componentWillMount(),typeof ue.UNSAFE_componentWillMount=="function"&&ue.UNSAFE_componentWillMount()),typeof ue.componentDidMount=="function"&&(l.flags|=4194308)):(typeof ue.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=C,l.memoizedState=Me),ue.props=C,ue.state=Me,ue.context=Ue,C=Ce):(typeof ue.componentDidMount=="function"&&(l.flags|=4194308),C=!1)}else{ue=l.stateNode,og(i,l),Ce=l.memoizedProps,Ue=l.type===l.elementType?Ce:si(l.type,Ce),ue.props=Ue,st=l.pendingProps,lt=ue.context,typeof(Me=b.contextType)=="object"&&Me!==null?Me=oi(Me):Me=hc(l,Me=Ko(b)?ks:Xa.current);var vt=b.getDerivedStateFromProps;(ot=typeof vt=="function"||typeof ue.getSnapshotBeforeUpdate=="function")||typeof ue.UNSAFE_componentWillReceiveProps!="function"&&typeof ue.componentWillReceiveProps!="function"||(Ce!==st||lt!==Me)&&wg(l,ue,C,Me),kl=!1,lt=l.memoizedState,ue.state=lt,mh(l,C,ue,$);var Lt=l.memoizedState;Ce!==st||lt!==Lt||Oa.current||kl?(typeof vt=="function"&&(Oh(l,b,vt,C),Lt=l.memoizedState),(Ue=kl||vg(l,b,Ue,C,lt,Lt,Me)||!1)?(ot||typeof ue.UNSAFE_componentWillUpdate!="function"&&typeof ue.componentWillUpdate!="function"||(typeof ue.componentWillUpdate=="function"&&ue.componentWillUpdate(C,Lt,Me),typeof ue.UNSAFE_componentWillUpdate=="function"&&ue.UNSAFE_componentWillUpdate(C,Lt,Me)),typeof ue.componentDidUpdate=="function"&&(l.flags|=4),typeof ue.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof ue.componentDidUpdate!="function"||Ce===i.memoizedProps&&lt===i.memoizedState||(l.flags|=4),typeof ue.getSnapshotBeforeUpdate!="function"||Ce===i.memoizedProps&&lt===i.memoizedState||(l.flags|=1024),l.memoizedProps=C,l.memoizedState=Lt),ue.props=C,ue.state=Lt,ue.context=Me,C=Ue):(typeof ue.componentDidUpdate!="function"||Ce===i.memoizedProps&&lt===i.memoizedState||(l.flags|=4),typeof ue.getSnapshotBeforeUpdate!="function"||Ce===i.memoizedProps&&lt===i.memoizedState||(l.flags|=1024),C=!1)}return Ch(i,l,b,C,ee,$)}function Ch(i,l,b,C,$,ee){li(i,l);var ue=!!(128&l.flags);if(!C&&!ue)return $&&Yr(l,b,!1),Ms(i,l,ee);C=l.stateNode,u0.current=l;var Ce=ue&&typeof b.getDerivedStateFromError!="function"?null:C.render();return l.flags|=1,i!==null&&ue?(l.child=fc(l,i.child,null,ee),l.child=fc(l,null,Ce,ee)):Za(i,l,Ce,ee),l.memoizedState=C.state,$&&Yr(l,b,!0),l.child}function Cg(i){var l=i.stateNode;l.pendingContext?Xm(0,l.pendingContext,l.pendingContext!==l.context):l.context&&Xm(0,l.context,!1),zd(i,l.containerInfo)}function sf(i,l,b,C,$){return su(),$d($),l.flags|=256,Za(i,l,b,C),l.child}var jg,lf,Pg,jh={dehydrated:null,treeContext:null,retryLane:0};function Ph(i){return{baseLanes:i,cachePool:null,transitions:null}}function cf(i,l,b){var C,$=l.pendingProps,ee=Wn.current,ue=!1,Ce=!!(128&l.flags);if((C=Ce)||(C=(i===null||i.memoizedState!==null)&&!!(2&ee)),C?(ue=!0,l.flags&=-129):i!==null&&i.memoizedState===null||(ee|=1),Cn(Wn,1&ee),i===null)return hp(l),(i=l.memoizedState)!==null&&(i=i.dehydrated)!==null?(1&l.mode?i.data==="$!"?l.lanes=8:l.lanes=1073741824:l.lanes=1,null):(Ce=$.children,i=$.fallback,ue?($=l.mode,ue=l.child,Ce={mode:"hidden",children:Ce},1&$||ue===null?ue=Np(Ce,$,0,null):(ue.childLanes=0,ue.pendingProps=Ce),i=Xo(i,$,b,null),ue.return=l,i.return=l,ue.sibling=i,l.child=ue,l.child.memoizedState=Ph(b),l.memoizedState=jh,i):uf(l,Ce));if((ee=i.memoizedState)!==null&&(C=ee.dehydrated)!==null)return(function(ot,st,lt,vt,Lt,xt,Ze){if(lt)return 256&st.flags?(st.flags&=-257,Nh(ot,st,Ze,vt=af(Error(f(422))))):st.memoizedState!==null?(st.child=ot.child,st.flags|=128,null):(xt=vt.fallback,Lt=st.mode,vt=Np({mode:"visible",children:vt.children},Lt,0,null),(xt=Xo(xt,Lt,Ze,null)).flags|=2,vt.return=st,xt.return=st,vt.sibling=xt,st.child=vt,1&st.mode&&fc(st,ot.child,null,Ze),st.child.memoizedState=Ph(Ze),st.memoizedState=jh,xt);if(!(1&st.mode))return Nh(ot,st,Ze,null);if(Lt.data==="$!"){if(vt=Lt.nextSibling&&Lt.nextSibling.dataset)var Le=vt.dgst;return vt=Le,Nh(ot,st,Ze,vt=af(xt=Error(f(419)),vt,void 0))}if(Le=!!(Ze&ot.childLanes),Do||Le){if((vt=Ca)!==null){switch(Ze&-Ze){case 4:Lt=2;break;case 16:Lt=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:Lt=32;break;case 536870912:Lt=268435456;break;default:Lt=0}(Lt=Lt&(vt.suspendedLanes|Ze)?0:Lt)!==0&&Lt!==xt.retryLane&&(xt.retryLane=Lt,Ps(ot,Lt),Lo(vt,ot,Lt,-1))}return xf(),Nh(ot,st,Ze,vt=af(Error(f(421))))}return Lt.data==="$?"?(st.flags|=128,st.child=ot.child,st=m0.bind(null,ot),Lt._reactRetry=st,null):(ot=xt.treeContext,Ro=bl(Lt.nextSibling),Go=st,Un=!0,Oi=null,ot!==null&&(Io[Mo++]=Yi,Io[Mo++]=js,Io[Mo++]=Cs,Yi=ot.id,js=ot.overflow,Cs=st),st=uf(st,vt.children),st.flags|=4096,st)})(i,l,Ce,$,C,ee,b);if(ue){ue=$.fallback,Ce=l.mode,C=(ee=i.child).sibling;var Me={mode:"hidden",children:$.children};return 1&Ce||l.child===ee?($=pa(ee,Me)).subtreeFlags=14680064&ee.subtreeFlags:(($=l.child).childLanes=0,$.pendingProps=Me,l.deletions=null),C!==null?ue=pa(C,ue):(ue=Xo(ue,Ce,b,null)).flags|=2,ue.return=l,$.return=l,$.sibling=ue,l.child=$,$=ue,ue=l.child,Ce=(Ce=i.child.memoizedState)===null?Ph(b):{baseLanes:Ce.baseLanes|b,cachePool:null,transitions:Ce.transitions},ue.memoizedState=Ce,ue.childLanes=i.childLanes&~b,l.memoizedState=jh,$}return i=(ue=i.child).sibling,$=pa(ue,{mode:"visible",children:$.children}),!(1&l.mode)&&($.lanes=b),$.return=l,$.sibling=null,i!==null&&((b=l.deletions)===null?(l.deletions=[i],l.flags|=16):b.push(i)),l.child=$,l.memoizedState=null,$}function uf(i,l){return(l=Np({mode:"visible",children:l},i.mode,0,null)).return=i,i.child=l}function Nh(i,l,b,C){return C!==null&&$d(C),fc(l,i.child,null,b),(i=uf(l,l.pendingProps.children)).flags|=2,l.memoizedState=null,i}function Ng(i,l,b){i.lanes|=l;var C=i.alternate;C!==null&&(C.lanes|=l),qd(i.return,l,b)}function pf(i,l,b,C,$){var ee=i.memoizedState;ee===null?i.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:C,tail:b,tailMode:$}:(ee.isBackwards=l,ee.rendering=null,ee.renderingStartTime=0,ee.last=C,ee.tail=b,ee.tailMode=$)}function Tg(i,l,b){var C=l.pendingProps,$=C.revealOrder,ee=C.tail;if(Za(i,l,C.children,b),2&(C=Wn.current))C=1&C|2,l.flags|=128;else{if(i!==null&&128&i.flags)e:for(i=l.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&Ng(i,b,l);else if(i.tag===19)Ng(i,b,l);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===l)break e;for(;i.sibling===null;){if(i.return===null||i.return===l)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}C&=1}if(Cn(Wn,C),1&l.mode)switch($){case"forwards":for(b=l.child,$=null;b!==null;)(i=b.alternate)!==null&&vh(i)===null&&($=b),b=b.sibling;(b=$)===null?($=l.child,l.child=null):($=b.sibling,b.sibling=null),pf(l,!1,$,b,ee);break;case"backwards":for(b=null,$=l.child,l.child=null;$!==null;){if((i=$.alternate)!==null&&vh(i)===null){l.child=$;break}i=$.sibling,$.sibling=b,b=$,$=i}pf(l,!0,b,null,ee);break;case"together":pf(l,!1,null,null,void 0);break;default:l.memoizedState=null}else l.memoizedState=null;return l.child}function Th(i,l){!(1&l.mode)&&i!==null&&(i.alternate=null,l.alternate=null,l.flags|=2)}function Ms(i,l,b){if(i!==null&&(l.dependencies=i.dependencies),Ds|=l.lanes,!(b&l.childLanes))return null;if(i!==null&&l.child!==i.child)throw Error(f(153));if(l.child!==null){for(b=pa(i=l.child,i.pendingProps),l.child=b,b.return=l;i.sibling!==null;)i=i.sibling,(b=b.sibling=pa(i,i.pendingProps)).return=l;b.sibling=null}return l.child}function bu(i,l){if(!Un)switch(i.tailMode){case"hidden":l=i.tail;for(var b=null;l!==null;)l.alternate!==null&&(b=l),l=l.sibling;b===null?i.tail=null:b.sibling=null;break;case"collapsed":b=i.tail;for(var C=null;b!==null;)b.alternate!==null&&(C=b),b=b.sibling;C===null?l||i.tail===null?i.tail=null:i.tail.sibling=null:C.sibling=null}}function La(i){var l=i.alternate!==null&&i.alternate.child===i.child,b=0,C=0;if(l)for(var $=i.child;$!==null;)b|=$.lanes|$.childLanes,C|=14680064&$.subtreeFlags,C|=14680064&$.flags,$.return=i,$=$.sibling;else for($=i.child;$!==null;)b|=$.lanes|$.childLanes,C|=$.subtreeFlags,C|=$.flags,$.return=i,$=$.sibling;return i.subtreeFlags|=C,i.childLanes=b,l}function Ig(i,l,b){var C=l.pendingProps;switch(Dd(l),l.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return La(l),null;case 1:case 17:return Ko(l.type)&&sh(),La(l),null;case 3:return C=l.stateNode,va(),qn(Oa),qn(Xa),Jd(),C.pendingContext&&(C.context=C.pendingContext,C.pendingContext=null),i!==null&&i.child!==null||(dp(l)?l.flags|=4:i===null||i.memoizedState.isDehydrated&&!(256&l.flags)||(l.flags|=1024,Oi!==null&&(wf(Oi),Oi=null))),La(l),null;case 5:yh(l);var $=Al(bp.current);if(b=l.type,i!==null&&l.stateNode!=null)lf(i,l,b,C),i.ref!==l.ref&&(l.flags|=512,l.flags|=2097152);else{if(!C){if(l.stateNode===null)throw Error(f(166));return La(l),null}if(i=Al(ki.current),dp(l)){C=l.stateNode,b=l.type;var ee=l.memoizedProps;switch(C[Ki]=l,C[lp]=ee,i=!!(1&l.mode),b){case"dialog":fe("cancel",C),fe("close",C);break;case"iframe":case"object":case"embed":fe("load",C);break;case"video":case"audio":for($=0;$<F.length;$++)fe(F[$],C);break;case"source":fe("error",C);break;case"img":case"image":case"link":fe("error",C),fe("load",C);break;case"details":fe("toggle",C);break;case"input":Sr(C,ee),fe("invalid",C);break;case"select":C._wrapperState={wasMultiple:!!ee.multiple},fe("invalid",C);break;case"textarea":ye(C,ee),fe("invalid",C)}for(var ue in Zn(b,ee),$=null,ee)if(ee.hasOwnProperty(ue)){var Ce=ee[ue];ue==="children"?typeof Ce=="string"?C.textContent!==Ce&&(ee.suppressHydrationWarning!==!0&&Tn(C.textContent,Ce,i),$=["children",Ce]):typeof Ce=="number"&&C.textContent!==""+Ce&&(ee.suppressHydrationWarning!==!0&&Tn(C.textContent,Ce,i),$=["children",""+Ce]):m.hasOwnProperty(ue)&&Ce!=null&&ue==="onScroll"&&fe("scroll",C)}switch(b){case"input":ur(C),Zt(C,ee,!0);break;case"textarea":ur(C),Fe(C);break;case"select":case"option":break;default:typeof ee.onClick=="function"&&(C.onclick=Hn)}C=$,l.updateQueue=C,C!==null&&(l.flags|=4)}else{ue=$.nodeType===9?$:$.ownerDocument,i==="http://www.w3.org/1999/xhtml"&&(i=St(b)),i==="http://www.w3.org/1999/xhtml"?b==="script"?((i=ue.createElement("div")).innerHTML="<script><\/script>",i=i.removeChild(i.firstChild)):typeof C.is=="string"?i=ue.createElement(b,{is:C.is}):(i=ue.createElement(b),b==="select"&&(ue=i,C.multiple?ue.multiple=!0:C.size&&(ue.size=C.size))):i=ue.createElementNS(i,b),i[Ki]=l,i[lp]=C,jg(i,l),l.stateNode=i;e:{switch(ue=un(b,C),b){case"dialog":fe("cancel",i),fe("close",i),$=C;break;case"iframe":case"object":case"embed":fe("load",i),$=C;break;case"video":case"audio":for($=0;$<F.length;$++)fe(F[$],i);$=C;break;case"source":fe("error",i),$=C;break;case"img":case"image":case"link":fe("error",i),fe("load",i),$=C;break;case"details":fe("toggle",i),$=C;break;case"input":Sr(i,C),$=Gt(i,C),fe("invalid",i);break;case"option":default:$=C;break;case"select":i._wrapperState={wasMultiple:!!C.multiple},$=De({},C,{value:void 0}),fe("invalid",i);break;case"textarea":ye(i,C),$=ne(i,C),fe("invalid",i)}for(ee in Zn(b,$),Ce=$)if(Ce.hasOwnProperty(ee)){var Me=Ce[ee];ee==="style"?Jn(i,Me):ee==="dangerouslySetInnerHTML"?(Me=Me?Me.__html:void 0)!=null&&Pt(i,Me):ee==="children"?typeof Me=="string"?(b!=="textarea"||Me!=="")&&rn(i,Me):typeof Me=="number"&&rn(i,""+Me):ee!=="suppressContentEditableWarning"&&ee!=="suppressHydrationWarning"&&ee!=="autoFocus"&&(m.hasOwnProperty(ee)?Me!=null&&ee==="onScroll"&&fe("scroll",i):Me!=null&&X(i,ee,Me,ue))}switch(b){case"input":ur(i),Zt(i,C,!1);break;case"textarea":ur(i),Fe(i);break;case"option":C.value!=null&&i.setAttribute("value",""+ct(C.value));break;case"select":i.multiple=!!C.multiple,(ee=C.value)!=null?Z(i,!!C.multiple,ee,!1):C.defaultValue!=null&&Z(i,!!C.multiple,C.defaultValue,!0);break;default:typeof $.onClick=="function"&&(i.onclick=Hn)}switch(b){case"button":case"input":case"select":case"textarea":C=!!C.autoFocus;break e;case"img":C=!0;break e;default:C=!1}}C&&(l.flags|=4)}l.ref!==null&&(l.flags|=512,l.flags|=2097152)}return La(l),null;case 6:if(i&&l.stateNode!=null)Pg(0,l,i.memoizedProps,C);else{if(typeof C!="string"&&l.stateNode===null)throw Error(f(166));if(b=Al(bp.current),Al(ki.current),dp(l)){if(C=l.stateNode,b=l.memoizedProps,C[Ki]=l,(ee=C.nodeValue!==b)&&(i=Go)!==null)switch(i.tag){case 3:Tn(C.nodeValue,b,!!(1&i.mode));break;case 5:i.memoizedProps.suppressHydrationWarning!==!0&&Tn(C.nodeValue,b,!!(1&i.mode))}ee&&(l.flags|=4)}else(C=(b.nodeType===9?b:b.ownerDocument).createTextNode(C))[Ki]=l,l.stateNode=C}return La(l),null;case 13:if(qn(Wn),C=l.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(Un&&Ro!==null&&1&l.mode&&!(128&l.flags))tg(),su(),l.flags|=98560,ee=!1;else if(ee=dp(l),C!==null&&C.dehydrated!==null){if(i===null){if(!ee)throw Error(f(318));if(!(ee=(ee=l.memoizedState)!==null?ee.dehydrated:null))throw Error(f(317));ee[Ki]=l}else su(),!(128&l.flags)&&(l.memoizedState=null),l.flags|=4;La(l),ee=!1}else Oi!==null&&(wf(Oi),Oi=null),ee=!0;if(!ee)return 65536&l.flags?l:null}return 128&l.flags?(l.lanes=b,l):((C=C!==null)!=(i!==null&&i.memoizedState!==null)&&C&&(l.child.flags|=8192,1&l.mode&&(i===null||1&Wn.current?Kn===0&&(Kn=3):xf())),l.updateQueue!==null&&(l.flags|=4),La(l),null);case 4:return va(),i===null&&tt(l.stateNode.containerInfo),La(l),null;case 10:return uu(l.type._context),La(l),null;case 19:if(qn(Wn),(ee=l.memoizedState)===null)return La(l),null;if(C=!!(128&l.flags),(ue=ee.rendering)===null)if(C)bu(ee,!1);else{if(Kn!==0||i!==null&&128&i.flags)for(i=l.child;i!==null;){if((ue=vh(i))!==null){for(l.flags|=128,bu(ee,!1),(C=ue.updateQueue)!==null&&(l.updateQueue=C,l.flags|=4),l.subtreeFlags=0,C=b,b=l.child;b!==null;)i=C,(ee=b).flags&=14680066,(ue=ee.alternate)===null?(ee.childLanes=0,ee.lanes=i,ee.child=null,ee.subtreeFlags=0,ee.memoizedProps=null,ee.memoizedState=null,ee.updateQueue=null,ee.dependencies=null,ee.stateNode=null):(ee.childLanes=ue.childLanes,ee.lanes=ue.lanes,ee.child=ue.child,ee.subtreeFlags=0,ee.deletions=null,ee.memoizedProps=ue.memoizedProps,ee.memoizedState=ue.memoizedState,ee.updateQueue=ue.updateQueue,ee.type=ue.type,i=ue.dependencies,ee.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),b=b.sibling;return Cn(Wn,1&Wn.current|2),l.child}i=i.sibling}ee.tail!==null&&Yt()>Pl&&(l.flags|=128,C=!0,bu(ee,!1),l.lanes=4194304)}else{if(!C)if((i=vh(ue))!==null){if(l.flags|=128,C=!0,(b=i.updateQueue)!==null&&(l.updateQueue=b,l.flags|=4),bu(ee,!0),ee.tail===null&&ee.tailMode==="hidden"&&!ue.alternate&&!Un)return La(l),null}else 2*Yt()-ee.renderingStartTime>Pl&&b!==1073741824&&(l.flags|=128,C=!0,bu(ee,!1),l.lanes=4194304);ee.isBackwards?(ue.sibling=l.child,l.child=ue):((b=ee.last)!==null?b.sibling=ue:l.child=ue,ee.last=ue)}return ee.tail!==null?(l=ee.tail,ee.rendering=l,ee.tail=l.sibling,ee.renderingStartTime=Yt(),l.sibling=null,b=Wn.current,Cn(Wn,C?1&b|2:1&b),l):(La(l),null);case 22:case 23:return Sf(),C=l.memoizedState!==null,i!==null&&i.memoizedState!==null!==C&&(l.flags|=8192),C&&1&l.mode?1073741824&fo&&(La(l),6&l.subtreeFlags&&(l.flags|=8192)):La(l),null;case 24:case 25:return null}throw Error(f(156,l.tag))}function Mg(i,l){switch(Dd(l),l.tag){case 1:return Ko(l.type)&&sh(),65536&(i=l.flags)?(l.flags=-65537&i|128,l):null;case 3:return va(),qn(Oa),qn(Xa),Jd(),65536&(i=l.flags)&&!(128&i)?(l.flags=-65537&i|128,l):null;case 5:return yh(l),null;case 13:if(qn(Wn),(i=l.memoizedState)!==null&&i.dehydrated!==null){if(l.alternate===null)throw Error(f(340));su()}return 65536&(i=l.flags)?(l.flags=-65537&i|128,l):null;case 19:return qn(Wn),null;case 4:return va(),null;case 10:return uu(l.type._context),null;case 22:case 23:return Sf(),null;default:return null}}jg=function(i,l){for(var b=l.child;b!==null;){if(b.tag===5||b.tag===6)i.appendChild(b.stateNode);else if(b.tag!==4&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===l)break;for(;b.sibling===null;){if(b.return===null||b.return===l)return;b=b.return}b.sibling.return=b.return,b=b.sibling}},lf=function(i,l,b,C){var $=i.memoizedProps;if($!==C){i=l.stateNode,Al(ki.current);var ee,ue=null;switch(b){case"input":$=Gt(i,$),C=Gt(i,C),ue=[];break;case"select":$=De({},$,{value:void 0}),C=De({},C,{value:void 0}),ue=[];break;case"textarea":$=ne(i,$),C=ne(i,C),ue=[];break;default:typeof $.onClick!="function"&&typeof C.onClick=="function"&&(i.onclick=Hn)}for(Ue in Zn(b,C),b=null,$)if(!C.hasOwnProperty(Ue)&&$.hasOwnProperty(Ue)&&$[Ue]!=null)if(Ue==="style"){var Ce=$[Ue];for(ee in Ce)Ce.hasOwnProperty(ee)&&(b||(b={}),b[ee]="")}else Ue!=="dangerouslySetInnerHTML"&&Ue!=="children"&&Ue!=="suppressContentEditableWarning"&&Ue!=="suppressHydrationWarning"&&Ue!=="autoFocus"&&(m.hasOwnProperty(Ue)?ue||(ue=[]):(ue=ue||[]).push(Ue,null));for(Ue in C){var Me=C[Ue];if(Ce=$?.[Ue],C.hasOwnProperty(Ue)&&Me!==Ce&&(Me!=null||Ce!=null))if(Ue==="style")if(Ce){for(ee in Ce)!Ce.hasOwnProperty(ee)||Me&&Me.hasOwnProperty(ee)||(b||(b={}),b[ee]="");for(ee in Me)Me.hasOwnProperty(ee)&&Ce[ee]!==Me[ee]&&(b||(b={}),b[ee]=Me[ee])}else b||(ue||(ue=[]),ue.push(Ue,b)),b=Me;else Ue==="dangerouslySetInnerHTML"?(Me=Me?Me.__html:void 0,Ce=Ce?Ce.__html:void 0,Me!=null&&Ce!==Me&&(ue=ue||[]).push(Ue,Me)):Ue==="children"?typeof Me!="string"&&typeof Me!="number"||(ue=ue||[]).push(Ue,""+Me):Ue!=="suppressContentEditableWarning"&&Ue!=="suppressHydrationWarning"&&(m.hasOwnProperty(Ue)?(Me!=null&&Ue==="onScroll"&&fe("scroll",i),ue||Ce===Me||(ue=[])):(ue=ue||[]).push(Ue,Me))}b&&(ue=ue||[]).push("style",b);var Ue=ue;(l.updateQueue=Ue)&&(l.flags|=4)}},Pg=function(i,l,b,C){b!==C&&(l.flags|=4)};var Ih=!1,$a=!1,Rg=typeof WeakSet=="function"?WeakSet:Set,cr=null;function wu(i,l){var b=i.ref;if(b!==null)if(typeof b=="function")try{b(null)}catch(C){Gn(i,l,C)}else b.current=null}function Dg(i,l,b){try{b()}catch(C){Gn(i,l,C)}}var Fg=!1;function Op(i,l,b){var C=l.updateQueue;if((C=C!==null?C.lastEffect:null)!==null){var $=C=C.next;do{if(($.tag&i)===i){var ee=$.destroy;$.destroy=void 0,ee!==void 0&&Dg(l,b,ee)}$=$.next}while($!==C)}}function Eu(i,l){if((l=(l=l.updateQueue)!==null?l.lastEffect:null)!==null){var b=l=l.next;do{if((b.tag&i)===i){var C=b.create;b.destroy=C()}b=b.next}while(b!==l)}}function Mh(i){var l=i.ref;if(l!==null){var b=i.stateNode;i.tag,i=b,typeof l=="function"?l(i):l.current=i}}function Lg(i){var l=i.alternate;l!==null&&(i.alternate=null,Lg(l)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(l=i.stateNode)!==null&&(delete l[Ki],delete l[lp],delete l[ih],delete l[o0],delete l[i0]),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}function hf(i){return i.tag===5||i.tag===3||i.tag===4}function $g(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||hf(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(2&i.flags||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(2&i.flags))return i.stateNode}}function df(i,l,b){var C=i.tag;if(C===5||C===6)i=i.stateNode,l?b.nodeType===8?b.parentNode.insertBefore(i,l):b.insertBefore(i,l):(b.nodeType===8?(l=b.parentNode).insertBefore(i,b):(l=b).appendChild(i),(b=b._reactRootContainer)!=null||l.onclick!==null||(l.onclick=Hn));else if(C!==4&&(i=i.child)!==null)for(df(i,l,b),i=i.sibling;i!==null;)df(i,l,b),i=i.sibling}function Rh(i,l,b){var C=i.tag;if(C===5||C===6)i=i.stateNode,l?b.insertBefore(i,l):b.appendChild(i);else if(C!==4&&(i=i.child)!==null)for(Rh(i,l,b),i=i.sibling;i!==null;)Rh(i,l,b),i=i.sibling}var ho=null,ci=!1;function Cl(i,l,b){for(b=b.child;b!==null;)ff(i,l,b),b=b.sibling}function ff(i,l,b){if(Wa&&typeof Wa.onCommitFiberUnmount=="function")try{Wa.onCommitFiberUnmount(Ja,b)}catch{}switch(b.tag){case 5:$a||wu(b,l);case 6:var C=ho,$=ci;ho=null,Cl(i,l,b),ci=$,(ho=C)!==null&&(ci?(i=ho,b=b.stateNode,i.nodeType===8?i.parentNode.removeChild(b):i.removeChild(b)):ho.removeChild(b.stateNode));break;case 18:ho!==null&&(ci?(i=ho,b=b.stateNode,i.nodeType===8?Pd(i.parentNode,b):i.nodeType===1&&Pd(i,b),Po(i)):Pd(ho,b.stateNode));break;case 4:C=ho,$=ci,ho=b.stateNode.containerInfo,ci=!0,Cl(i,l,b),ho=C,ci=$;break;case 0:case 11:case 14:case 15:if(!$a&&(C=b.updateQueue)!==null&&(C=C.lastEffect)!==null){$=C=C.next;do{var ee=$,ue=ee.destroy;ee=ee.tag,ue!==void 0&&(2&ee||4&ee)&&Dg(b,l,ue),$=$.next}while($!==C)}Cl(i,l,b);break;case 1:if(!$a&&(wu(b,l),typeof(C=b.stateNode).componentWillUnmount=="function"))try{C.props=b.memoizedProps,C.state=b.memoizedState,C.componentWillUnmount()}catch(Ce){Gn(b,l,Ce)}Cl(i,l,b);break;case 21:Cl(i,l,b);break;case 22:1&b.mode?($a=(C=$a)||b.memoizedState!==null,Cl(i,l,b),$a=C):Cl(i,l,b);break;default:Cl(i,l,b)}}function Bg(i){var l=i.updateQueue;if(l!==null){i.updateQueue=null;var b=i.stateNode;b===null&&(b=i.stateNode=new Rg),l.forEach((function(C){var $=ey.bind(null,i,C);b.has(C)||(b.add(C),C.then($,$))}))}}function Qi(i,l){var b=l.deletions;if(b!==null)for(var C=0;C<b.length;C++){var $=b[C];try{var ee=i,ue=l,Ce=ue;e:for(;Ce!==null;){switch(Ce.tag){case 5:ho=Ce.stateNode,ci=!1;break e;case 3:case 4:ho=Ce.stateNode.containerInfo,ci=!0;break e}Ce=Ce.return}if(ho===null)throw Error(f(160));ff(ee,ue,$),ho=null,ci=!1;var Me=$.alternate;Me!==null&&(Me.return=null),$.return=null}catch(Ue){Gn($,l,Ue)}}if(12854&l.subtreeFlags)for(l=l.child;l!==null;)mf(l,i),l=l.sibling}function mf(i,l){var b=i.alternate,C=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:if(Qi(l,i),Rs(i),4&C){try{Op(3,i,i.return),Eu(3,i)}catch(xt){Gn(i,i.return,xt)}try{Op(5,i,i.return)}catch(xt){Gn(i,i.return,xt)}}break;case 1:Qi(l,i),Rs(i),512&C&&b!==null&&wu(b,b.return);break;case 5:if(Qi(l,i),Rs(i),512&C&&b!==null&&wu(b,b.return),32&i.flags){var $=i.stateNode;try{rn($,"")}catch(xt){Gn(i,i.return,xt)}}if(4&C&&($=i.stateNode)!=null){var ee=i.memoizedProps,ue=b!==null?b.memoizedProps:ee,Ce=i.type,Me=i.updateQueue;if(i.updateQueue=null,Me!==null)try{Ce==="input"&&ee.type==="radio"&&ee.name!=null&&kt($,ee),un(Ce,ue);var Ue=un(Ce,ee);for(ue=0;ue<Me.length;ue+=2){var ot=Me[ue],st=Me[ue+1];ot==="style"?Jn($,st):ot==="dangerouslySetInnerHTML"?Pt($,st):ot==="children"?rn($,st):X($,ot,st,Ue)}switch(Ce){case"input":yt($,ee);break;case"textarea":Ee($,ee);break;case"select":var lt=$._wrapperState.wasMultiple;$._wrapperState.wasMultiple=!!ee.multiple;var vt=ee.value;vt!=null?Z($,!!ee.multiple,vt,!1):lt!==!!ee.multiple&&(ee.defaultValue!=null?Z($,!!ee.multiple,ee.defaultValue,!0):Z($,!!ee.multiple,ee.multiple?[]:"",!1))}$[lp]=ee}catch(xt){Gn(i,i.return,xt)}}break;case 6:if(Qi(l,i),Rs(i),4&C){if(i.stateNode===null)throw Error(f(162));$=i.stateNode,ee=i.memoizedProps;try{$.nodeValue=ee}catch(xt){Gn(i,i.return,xt)}}break;case 3:if(Qi(l,i),Rs(i),4&C&&b!==null&&b.memoizedState.isDehydrated)try{Po(l.containerInfo)}catch(xt){Gn(i,i.return,xt)}break;case 4:default:Qi(l,i),Rs(i);break;case 13:Qi(l,i),Rs(i),8192&($=i.child).flags&&(ee=$.memoizedState!==null,$.stateNode.isHidden=ee,!ee||$.alternate!==null&&$.alternate.memoizedState!==null||(Ap=Yt())),4&C&&Bg(i);break;case 22:if(ot=b!==null&&b.memoizedState!==null,1&i.mode?($a=(Ue=$a)||ot,Qi(l,i),$a=Ue):Qi(l,i),Rs(i),8192&C){if(Ue=i.memoizedState!==null,(i.stateNode.isHidden=Ue)&&!ot&&1&i.mode)for(cr=i,ot=i.child;ot!==null;){for(st=cr=ot;cr!==null;){switch(vt=(lt=cr).child,lt.tag){case 0:case 11:case 14:case 15:Op(4,lt,lt.return);break;case 1:wu(lt,lt.return);var Lt=lt.stateNode;if(typeof Lt.componentWillUnmount=="function"){C=lt,b=lt.return;try{l=C,Lt.props=l.memoizedProps,Lt.state=l.memoizedState,Lt.componentWillUnmount()}catch(xt){Gn(C,b,xt)}}break;case 5:wu(lt,lt.return);break;case 22:if(lt.memoizedState!==null){Vg(st);continue}}vt!==null?(vt.return=lt,cr=vt):Vg(st)}ot=ot.sibling}e:for(ot=null,st=i;;){if(st.tag===5){if(ot===null){ot=st;try{$=st.stateNode,Ue?typeof(ee=$.style).setProperty=="function"?ee.setProperty("display","none","important"):ee.display="none":(Ce=st.stateNode,ue=(Me=st.memoizedProps.style)!=null&&Me.hasOwnProperty("display")?Me.display:null,Ce.style.display=Wr("display",ue))}catch(xt){Gn(i,i.return,xt)}}}else if(st.tag===6){if(ot===null)try{st.stateNode.nodeValue=Ue?"":st.memoizedProps}catch(xt){Gn(i,i.return,xt)}}else if((st.tag!==22&&st.tag!==23||st.memoizedState===null||st===i)&&st.child!==null){st.child.return=st,st=st.child;continue}if(st===i)break e;for(;st.sibling===null;){if(st.return===null||st.return===i)break e;ot===st&&(ot=null),st=st.return}ot===st&&(ot=null),st.sibling.return=st.return,st=st.sibling}}break;case 19:Qi(l,i),Rs(i),4&C&&Bg(i);case 21:}}function Rs(i){var l=i.flags;if(2&l){try{e:{for(var b=i.return;b!==null;){if(hf(b)){var C=b;break e}b=b.return}throw Error(f(160))}switch(C.tag){case 5:var $=C.stateNode;32&C.flags&&(rn($,""),C.flags&=-33),Rh(i,$g(i),$);break;case 3:case 4:var ee=C.stateNode.containerInfo;df(i,$g(i),ee);break;default:throw Error(f(161))}}catch(ue){Gn(i,i.return,ue)}i.flags&=-3}4096&l&&(i.flags&=-4097)}function qg(i,l,b){cr=i,Ug(i)}function Ug(i,l,b){for(var C=!!(1&i.mode);cr!==null;){var $=cr,ee=$.child;if($.tag===22&&C){var ue=$.memoizedState!==null||Ih;if(!ue){var Ce=$.alternate,Me=Ce!==null&&Ce.memoizedState!==null||$a;Ce=Ih;var Ue=$a;if(Ih=ue,($a=Me)&&!Ue)for(cr=$;cr!==null;)Me=(ue=cr).child,ue.tag===22&&ue.memoizedState!==null?gf($):Me!==null?(Me.return=ue,cr=Me):gf($);for(;ee!==null;)cr=ee,Ug(ee),ee=ee.sibling;cr=$,Ih=Ce,$a=Ue}zg(i)}else 8772&$.subtreeFlags&&ee!==null?(ee.return=$,cr=ee):zg(i)}}function zg(i){for(;cr!==null;){var l=cr;if(8772&l.flags){var b=l.alternate;try{if(8772&l.flags)switch(l.tag){case 0:case 11:case 15:$a||Eu(5,l);break;case 1:var C=l.stateNode;if(4&l.flags&&!$a)if(b===null)C.componentDidMount();else{var $=l.elementType===l.type?b.memoizedProps:si(l.type,b.memoizedProps);C.componentDidUpdate($,b.memoizedState,C.__reactInternalSnapshotBeforeUpdate)}var ee=l.updateQueue;ee!==null&&Ud(l,ee,C);break;case 3:var ue=l.updateQueue;if(ue!==null){if(b=null,l.child!==null)switch(l.child.tag){case 5:case 1:b=l.child.stateNode}Ud(l,ue,b)}break;case 5:var Ce=l.stateNode;if(b===null&&4&l.flags){b=Ce;var Me=l.memoizedProps;switch(l.type){case"button":case"input":case"select":case"textarea":Me.autoFocus&&b.focus();break;case"img":Me.src&&(b.src=Me.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(l.memoizedState===null){var Ue=l.alternate;if(Ue!==null){var ot=Ue.memoizedState;if(ot!==null){var st=ot.dehydrated;st!==null&&Po(st)}}}break;default:throw Error(f(163))}$a||512&l.flags&&Mh(l)}catch(lt){Gn(l,l.return,lt)}}if(l===i){cr=null;break}if((b=l.sibling)!==null){b.return=l.return,cr=b;break}cr=l.return}}function Vg(i){for(;cr!==null;){var l=cr;if(l===i){cr=null;break}var b=l.sibling;if(b!==null){b.return=l.return,cr=b;break}cr=l.return}}function gf(i){for(;cr!==null;){var l=cr;try{switch(l.tag){case 0:case 11:case 15:var b=l.return;try{Eu(4,l)}catch(Me){Gn(l,b,Me)}break;case 1:var C=l.stateNode;if(typeof C.componentDidMount=="function"){var $=l.return;try{C.componentDidMount()}catch(Me){Gn(l,$,Me)}}var ee=l.return;try{Mh(l)}catch(Me){Gn(l,ee,Me)}break;case 5:var ue=l.return;try{Mh(l)}catch(Me){Gn(l,ue,Me)}}}catch(Me){Gn(l,l.return,Me)}if(l===i){cr=null;break}var Ce=l.sibling;if(Ce!==null){Ce.return=l.return,cr=Ce;break}cr=l.return}}var Jg,p0=Math.ceil,Dh=te.ReactCurrentDispatcher,yf=te.ReactCurrentOwner,ui=te.ReactCurrentBatchConfig,pn=0,Ca=null,ua=null,wa=0,fo=0,jl=Sl(0),Kn=0,yc=null,Ds=0,Su=0,kp=0,vc=null,Fo=null,Ap=0,Pl=1/0,Zi=null,bc=!1,Cp=null,Pi=null,xu=!1,Nl=null,Fh=0,jp=0,vf=null,Lh=-1,$h=0;function to(){return 6&pn?Yt():Lh!==-1?Lh:Lh=Yt()}function Tl(i){return 1&i.mode?2&pn&&wa!==0?wa&-wa:Bd.transition!==null?($h===0&&($h=Zl()),$h):(i=an)!==0?i:i=(i=window.event)===void 0?16:nl(i.type):1}function Lo(i,l,b,C){if(50<jp)throw jp=0,vf=null,Error(f(185));Ao(i,b,C),2&pn&&i===Ca||(i===Ca&&(!(2&pn)&&(Su|=b),Kn===4&&Il(i,wa)),$o(i,C),b===1&&pn===0&&!(1&l.mode)&&(Pl=Yt()+500,ch&&_l()))}function $o(i,l){var b=i.callbackNode;(function(ee,ue){for(var Ce=ee.suspendedLanes,Me=ee.pingedLanes,Ue=ee.expirationTimes,ot=ee.pendingLanes;0<ot;){var st=31-Ia(ot),lt=1<<st,vt=Ue[st];vt===-1?lt&Ce&&!(lt&Me)||(Ue[st]=Wu(lt,ue)):vt<=ue&&(ee.expiredLanes|=lt),ot&=~lt}})(i,l);var C=mi(i,i===Ca?wa:0);if(C===0)b!==null&&ta(b),i.callbackNode=null,i.callbackPriority=0;else if(l=C&-C,i.callbackPriority!==l){if(b!=null&&ta(b),l===1)i.tag===0?(function(ee){ch=!0,Qm(ee)})(Hg.bind(null,i)):Qm(Hg.bind(null,i)),n0((function(){!(6&pn)&&_l()})),b=null;else{switch(tc(C)){case 1:b=mr;break;case 4:b=Vr;break;case 16:default:b=Gr;break;case 536870912:b=Sa}b=ty(b,Wg.bind(null,i))}i.callbackPriority=l,i.callbackNode=b}}function Wg(i,l){if(Lh=-1,$h=0,6&pn)throw Error(f(327));var b=i.callbackNode;if(Ou()&&i.callbackNode!==b)return null;var C=mi(i,i===Ca?wa:0);if(C===0)return null;if(30&C||C&i.expiredLanes||l)l=Bh(i,C);else{l=C;var $=pn;pn|=2;var ee=Gg();for(Ca===i&&wa===l||(Zi=null,Pl=Yt()+500,Ec(i,l));;)try{d0();break}catch(Ce){Kg(i,Ce)}cu(),Dh.current=ee,pn=$,ua!==null?l=0:(Ca=null,wa=0,l=Kn)}if(l!==0){if(l===2&&($=Ql(i))!==0&&(C=$,l=bf(i,$)),l===1)throw b=yc,Ec(i,0),Il(i,C),$o(i,Yt()),b;if(l===6)Il(i,C);else{if($=i.current.alternate,!(30&C||(function(Me){for(var Ue=Me;;){if(16384&Ue.flags){var ot=Ue.updateQueue;if(ot!==null&&(ot=ot.stores)!==null)for(var st=0;st<ot.length;st++){var lt=ot[st],vt=lt.getSnapshot;lt=lt.value;try{if(!Ka(vt(),lt))return!1}catch{return!1}}}if(ot=Ue.child,16384&Ue.subtreeFlags&&ot!==null)ot.return=Ue,Ue=ot;else{if(Ue===Me)break;for(;Ue.sibling===null;){if(Ue.return===null||Ue.return===Me)return!0;Ue=Ue.return}Ue.sibling.return=Ue.return,Ue=Ue.sibling}}return!0})($)||(l=Bh(i,C),l===2&&(ee=Ql(i),ee!==0&&(C=ee,l=bf(i,ee))),l!==1)))throw b=yc,Ec(i,0),Il(i,C),$o(i,Yt()),b;switch(i.finishedWork=$,i.finishedLanes=C,l){case 0:case 1:throw Error(f(345));case 2:case 5:_u(i,Fo,Zi);break;case 3:if(Il(i,C),(130023424&C)===C&&10<(l=Ap+500-Yt())){if(mi(i,0)!==0)break;if((($=i.suspendedLanes)&C)!==C){to(),i.pingedLanes|=i.suspendedLanes&$;break}i.timeoutHandle=Ga(_u.bind(null,i,Fo,Zi),l);break}_u(i,Fo,Zi);break;case 4:if(Il(i,C),(4194240&C)===C)break;for(l=i.eventTimes,$=-1;0<C;){var ue=31-Ia(C);ee=1<<ue,(ue=l[ue])>$&&($=ue),C&=~ee}if(C=$,10<(C=(120>(C=Yt()-C)?120:480>C?480:1080>C?1080:1920>C?1920:3e3>C?3e3:4320>C?4320:1960*p0(C/1960))-C)){i.timeoutHandle=Ga(_u.bind(null,i,Fo,Zi),C);break}_u(i,Fo,Zi);break;default:throw Error(f(329))}}}return $o(i,Yt()),i.callbackNode===b?Wg.bind(null,i):null}function bf(i,l){var b=vc;return i.current.memoizedState.isDehydrated&&(Ec(i,l).flags|=256),(i=Bh(i,l))!==2&&(l=Fo,Fo=b,l!==null&&wf(l)),i}function wf(i){Fo===null?Fo=i:Fo.push.apply(Fo,i)}function Il(i,l){for(l&=~kp,l&=~Su,i.suspendedLanes|=l,i.pingedLanes&=~l,i=i.expirationTimes;0<l;){var b=31-Ia(l),C=1<<b;i[b]=-1,l&=~C}}function Hg(i){if(6&pn)throw Error(f(327));Ou();var l=mi(i,0);if(!(1&l))return $o(i,Yt()),null;var b=Bh(i,l);if(i.tag!==0&&b===2){var C=Ql(i);C!==0&&(l=C,b=bf(i,C))}if(b===1)throw b=yc,Ec(i,0),Il(i,l),$o(i,Yt()),b;if(b===6)throw Error(f(345));return i.finishedWork=i.current.alternate,i.finishedLanes=l,_u(i,Fo,Zi),$o(i,Yt()),null}function Ef(i,l){var b=pn;pn|=1;try{return i(l)}finally{(pn=b)===0&&(Pl=Yt()+500,ch&&_l())}}function wc(i){Nl!==null&&Nl.tag===0&&!(6&pn)&&Ou();var l=pn;pn|=1;var b=ui.transition,C=an;try{if(ui.transition=null,an=1,i)return i()}finally{an=C,ui.transition=b,!(6&(pn=l))&&_l()}}function Sf(){fo=jl.current,qn(jl)}function Ec(i,l){i.finishedWork=null,i.finishedLanes=0;var b=i.timeoutHandle;if(b!==-1&&(i.timeoutHandle=-1,Ya(b)),ua!==null)for(b=ua.return;b!==null;){var C=b;switch(Dd(C),C.tag){case 1:(C=C.type.childContextTypes)!=null&&sh();break;case 3:va(),qn(Oa),qn(Xa),Jd();break;case 5:yh(C);break;case 4:va();break;case 13:case 19:qn(Wn);break;case 10:uu(C.type._context);break;case 22:case 23:Sf()}b=b.return}if(Ca=i,ua=i=pa(i.current,null),wa=fo=l,Kn=0,yc=null,kp=Su=Ds=0,Fo=vc=null,Ol!==null){for(l=0;l<Ol.length;l++)if((C=(b=Ol[l]).interleaved)!==null){b.interleaved=null;var $=C.next,ee=b.pending;if(ee!==null){var ue=ee.next;ee.next=$,C.next=ue}b.pending=C}Ol=null}return i}function Kg(i,l){for(;;){var b=ua;try{if(cu(),fu.current=_p,mc){for(var C=Dr.memoizedState;C!==null;){var $=C.queue;$!==null&&($.pending=null),C=C.next}mc=!1}if(ba=0,Aa=ka=Dr=null,wp=!1,Ep=0,yf.current=null,b===null||b.return===null){Kn=1,yc=l,ua=null;break}e:{var ee=i,ue=b.return,Ce=b,Me=l;if(l=wa,Ce.flags|=32768,Me!==null&&typeof Me=="object"&&typeof Me.then=="function"){var Ue=Me,ot=Ce,st=ot.tag;if(!(1&ot.mode||st!==0&&st!==11&&st!==15)){var lt=ot.alternate;lt?(ot.updateQueue=lt.updateQueue,ot.memoizedState=lt.memoizedState,ot.lanes=lt.lanes):(ot.updateQueue=null,ot.memoizedState=null)}var vt=Sg(ue);if(vt!==null){vt.flags&=-257,xg(vt,ue,Ce,0,l),1&vt.mode&&ji(ee,Ue,l),Me=Ue;var Lt=(l=vt).updateQueue;if(Lt===null){var xt=new Set;xt.add(Me),l.updateQueue=xt}else Lt.add(Me);break e}if(!(1&l)){ji(ee,Ue,l),xf();break e}Me=Error(f(426))}else if(Un&&1&Ce.mode){var Ze=Sg(ue);if(Ze!==null){!(65536&Ze.flags)&&(Ze.flags|=256),xg(Ze,ue,Ce,0,l),$d(yu(Me,Ce));break e}}ee=Me=yu(Me,Ce),Kn!==4&&(Kn=2),vc===null?vc=[ee]:vc.push(ee),ee=ue;do{switch(ee.tag){case 3:ee.flags|=65536,l&=-l,ee.lanes|=l,fh(ee,vu(0,Me,l));break e;case 1:Ce=Me;var Le=ee.type,rt=ee.stateNode;if(!(128&ee.flags||typeof Le.getDerivedStateFromError!="function"&&(rt===null||typeof rt.componentDidCatch!="function"||Pi!==null&&Pi.has(rt)))){ee.flags|=65536,l&=-l,ee.lanes|=l,fh(ee,Eg(ee,Ce,l));break e}}ee=ee.return}while(ee!==null)}Xg(b)}catch(wt){l=wt,ua===b&&b!==null&&(ua=b=b.return);continue}break}}function Gg(){var i=Dh.current;return Dh.current=_p,i===null?_p:i}function xf(){Kn!==0&&Kn!==3&&Kn!==2||(Kn=4),Ca===null||!(268435455&Ds)&&!(268435455&Su)||Il(Ca,wa)}function Bh(i,l){var b=pn;pn|=2;var C=Gg();for(Ca===i&&wa===l||(Zi=null,Ec(i,l));;)try{h0();break}catch($){Kg(i,$)}if(cu(),pn=b,Dh.current=C,ua!==null)throw Error(f(261));return Ca=null,wa=0,Kn}function h0(){for(;ua!==null;)Yg(ua)}function d0(){for(;ua!==null&&!Jo();)Yg(ua)}function Yg(i){var l=Jg(i.alternate,i,fo);i.memoizedProps=i.pendingProps,l===null?Xg(i):ua=l,yf.current=null}function Xg(i){var l=i;do{var b=l.alternate;if(i=l.return,32768&l.flags){if((b=Mg(b,l))!==null)return b.flags&=32767,void(ua=b);if(i===null)return Kn=6,void(ua=null);i.flags|=32768,i.subtreeFlags=0,i.deletions=null}else if((b=Ig(b,l,fo))!==null)return void(ua=b);if((l=l.sibling)!==null)return void(ua=l);ua=l=i}while(l!==null);Kn===0&&(Kn=5)}function _u(i,l,b){var C=an,$=ui.transition;try{ui.transition=null,an=1,(function(ue,Ce,Me,Ue){do Ou();while(Nl!==null);if(6&pn)throw Error(f(327));Me=ue.finishedWork;var ot=ue.finishedLanes;if(Me===null)return null;if(ue.finishedWork=null,ue.finishedLanes=0,Me===ue.current)throw Error(f(177));ue.callbackNode=null,ue.callbackPriority=0;var st=Me.lanes|Me.childLanes;if((function(xt,Ze){var Le=xt.pendingLanes&~Ze;xt.pendingLanes=Ze,xt.suspendedLanes=0,xt.pingedLanes=0,xt.expiredLanes&=Ze,xt.mutableReadLanes&=Ze,xt.entangledLanes&=Ze,Ze=xt.entanglements;var rt=xt.eventTimes;for(xt=xt.expirationTimes;0<Le;){var wt=31-Ia(Le),nr=1<<wt;Ze[wt]=0,rt[wt]=-1,xt[wt]=-1,Le&=~nr}})(ue,st),ue===Ca&&(ua=Ca=null,wa=0),!(2064&Me.subtreeFlags)&&!(2064&Me.flags)||xu||(xu=!0,ty(Gr,(function(){return Ou(),null}))),st=!!(15990&Me.flags),!!(15990&Me.subtreeFlags)||st){st=ui.transition,ui.transition=null;var lt=an;an=1;var vt=pn;pn|=4,yf.current=null,(function(xt,Ze){if(na=oc,Hi(xt=Da())){if("selectionStart"in xt)var Le={start:xt.selectionStart,end:xt.selectionEnd};else e:{var rt=(Le=(Le=xt.ownerDocument)&&Le.defaultView||window).getSelection&&Le.getSelection();if(rt&&rt.rangeCount!==0){Le=rt.anchorNode;var wt=rt.anchorOffset,nr=rt.focusNode;rt=rt.focusOffset;try{Le.nodeType,nr.nodeType}catch{Le=null;break e}var Fr=0,Mt=-1,xr=-1,Qr=0,sn=0,wr=xt,_r=null;t:for(;;){for(var Tr;wr!==Le||wt!==0&&wr.nodeType!==3||(Mt=Fr+wt),wr!==nr||rt!==0&&wr.nodeType!==3||(xr=Fr+rt),wr.nodeType===3&&(Fr+=wr.nodeValue.length),(Tr=wr.firstChild)!==null;)_r=wr,wr=Tr;for(;;){if(wr===xt)break t;if(_r===Le&&++Qr===wt&&(Mt=Fr),_r===nr&&++sn===rt&&(xr=Fr),(Tr=wr.nextSibling)!==null)break;_r=(wr=_r).parentNode}wr=Tr}Le=Mt===-1||xr===-1?null:{start:Mt,end:xr}}else Le=null}Le=Le||{start:0,end:0}}else Le=null;for(aa={focusedElem:xt,selectionRange:Le},oc=!1,cr=Ze;cr!==null;)if(xt=(Ze=cr).child,1028&Ze.subtreeFlags&&xt!==null)xt.return=Ze,cr=xt;else for(;cr!==null;){Ze=cr;try{var ha=Ze.alternate;if(1024&Ze.flags)switch(Ze.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(ha!==null){var Dl=ha.memoizedProps,Of=ha.memoizedState,iy=Ze.stateNode,sy=iy.getSnapshotBeforeUpdate(Ze.elementType===Ze.type?Dl:si(Ze.type,Dl),Of);iy.__reactInternalSnapshotBeforeUpdate=sy}break;case 3:var _c=Ze.stateNode.containerInfo;_c.nodeType===1?_c.textContent="":_c.nodeType===9&&_c.documentElement&&_c.removeChild(_c.documentElement);break;default:throw Error(f(163))}}catch(ly){Gn(Ze,Ze.return,ly)}if((xt=Ze.sibling)!==null){xt.return=Ze.return,cr=xt;break}cr=Ze.return}return ha=Fg,Fg=!1,ha})(ue,Me),mf(Me,ue),Ho(aa),oc=!!na,aa=na=null,ue.current=Me,qg(Me,ue,ot),ms(),pn=vt,an=lt,ui.transition=st}else ue.current=Me;if(xu&&(xu=!1,Nl=ue,Fh=ot),st=ue.pendingLanes,st===0&&(Pi=null),(function(xt){if(Wa&&typeof Wa.onCommitFiberRoot=="function")try{Wa.onCommitFiberRoot(Ja,xt,void 0,!(128&~xt.current.flags))}catch{}})(Me.stateNode),$o(ue,Yt()),Ce!==null)for(Ue=ue.onRecoverableError,Me=0;Me<Ce.length;Me++)ot=Ce[Me],Ue(ot.value,{componentStack:ot.stack,digest:ot.digest});if(bc)throw bc=!1,ue=Cp,Cp=null,ue;return 1&Fh&&ue.tag!==0&&Ou(),st=ue.pendingLanes,1&st?ue===vf?jp++:(jp=0,vf=ue):jp=0,_l(),null})(i,l,b,C)}finally{ui.transition=$,an=C}return null}function Ou(){if(Nl!==null){var i=tc(Fh),l=ui.transition,b=an;try{if(ui.transition=null,an=16>i?16:i,Nl===null)var C=!1;else{if(i=Nl,Nl=null,Fh=0,6&pn)throw Error(f(331));var $=pn;for(pn|=4,cr=i.current;cr!==null;){var ee=cr,ue=ee.child;if(16&cr.flags){var Ce=ee.deletions;if(Ce!==null){for(var Me=0;Me<Ce.length;Me++){var Ue=Ce[Me];for(cr=Ue;cr!==null;){var ot=cr;switch(ot.tag){case 0:case 11:case 15:Op(8,ot,ee)}var st=ot.child;if(st!==null)st.return=ot,cr=st;else for(;cr!==null;){var lt=(ot=cr).sibling,vt=ot.return;if(Lg(ot),ot===Ue){cr=null;break}if(lt!==null){lt.return=vt,cr=lt;break}cr=vt}}}var Lt=ee.alternate;if(Lt!==null){var xt=Lt.child;if(xt!==null){Lt.child=null;do{var Ze=xt.sibling;xt.sibling=null,xt=Ze}while(xt!==null)}}cr=ee}}if(2064&ee.subtreeFlags&&ue!==null)ue.return=ee,cr=ue;else e:for(;cr!==null;){if(2048&(ee=cr).flags)switch(ee.tag){case 0:case 11:case 15:Op(9,ee,ee.return)}var Le=ee.sibling;if(Le!==null){Le.return=ee.return,cr=Le;break e}cr=ee.return}}var rt=i.current;for(cr=rt;cr!==null;){var wt=(ue=cr).child;if(2064&ue.subtreeFlags&&wt!==null)wt.return=ue,cr=wt;else e:for(ue=rt;cr!==null;){if(2048&(Ce=cr).flags)try{switch(Ce.tag){case 0:case 11:case 15:Eu(9,Ce)}}catch(Fr){Gn(Ce,Ce.return,Fr)}if(Ce===ue){cr=null;break e}var nr=Ce.sibling;if(nr!==null){nr.return=Ce.return,cr=nr;break e}cr=Ce.return}}if(pn=$,_l(),Wa&&typeof Wa.onPostCommitFiberRoot=="function")try{Wa.onPostCommitFiberRoot(Ja,i)}catch{}C=!0}return C}finally{an=b,ui.transition=l}}return!1}function Qg(i,l,b){i=Ts(i,l=vu(0,l=yu(b,l),1),1),l=to(),i!==null&&(Ao(i,1,l),$o(i,l))}function Gn(i,l,b){if(i.tag===3)Qg(i,i,b);else for(;l!==null;){if(l.tag===3){Qg(l,i,b);break}if(l.tag===1){var C=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof C.componentDidCatch=="function"&&(Pi===null||!Pi.has(C))){l=Ts(l,i=Eg(l,i=yu(b,i),1),1),i=to(),l!==null&&(Ao(l,1,i),$o(l,i));break}}l=l.return}}function f0(i,l,b){var C=i.pingCache;C!==null&&C.delete(l),l=to(),i.pingedLanes|=i.suspendedLanes&b,Ca===i&&(wa&b)===b&&(Kn===4||Kn===3&&(130023424&wa)===wa&&500>Yt()-Ap?Ec(i,0):kp|=b),$o(i,l)}function Zg(i,l){l===0&&(1&i.mode?(l=ys,!(130023424&(ys<<=1))&&(ys=4194304)):l=1);var b=to();(i=Ps(i,l))!==null&&(Ao(i,l,b),$o(i,b))}function m0(i){var l=i.memoizedState,b=0;l!==null&&(b=l.retryLane),Zg(i,b)}function ey(i,l){var b=0;switch(i.tag){case 13:var C=i.stateNode,$=i.memoizedState;$!==null&&(b=$.retryLane);break;case 19:C=i.stateNode;break;default:throw Error(f(314))}C!==null&&C.delete(l),Zg(i,b)}function ty(i,l){return fi(i,l)}function g0(i,l,b,C){this.tag=i,this.key=b,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=C,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bo(i,l,b,C){return new g0(i,l,b,C)}function Pp(i){return!(!(i=i.prototype)||!i.isReactComponent)}function pa(i,l){var b=i.alternate;return b===null?((b=Bo(i.tag,l,i.key,i.mode)).elementType=i.elementType,b.type=i.type,b.stateNode=i.stateNode,b.alternate=i,i.alternate=b):(b.pendingProps=l,b.type=i.type,b.flags=0,b.subtreeFlags=0,b.deletions=null),b.flags=14680064&i.flags,b.childLanes=i.childLanes,b.lanes=i.lanes,b.child=i.child,b.memoizedProps=i.memoizedProps,b.memoizedState=i.memoizedState,b.updateQueue=i.updateQueue,l=i.dependencies,b.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},b.sibling=i.sibling,b.index=i.index,b.ref=i.ref,b}function ku(i,l,b,C,$,ee){var ue=2;if(C=i,typeof i=="function")Pp(i)&&(ue=1);else if(typeof i=="string")ue=5;else e:switch(i){case Te:return Xo(b.children,$,ee,l);case he:ue=8,$|=8;break;case ge:return(i=Bo(12,b,l,2|$)).elementType=ge,i.lanes=ee,i;case qe:return(i=Bo(13,b,l,$)).elementType=qe,i.lanes=ee,i;case nt:return(i=Bo(19,b,l,$)).elementType=nt,i.lanes=ee,i;case u:return Np(b,$,ee,l);default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case ke:ue=10;break e;case Ve:ue=9;break e;case He:ue=11;break e;case gt:ue=14;break e;case Re:ue=16,C=null;break e}throw Error(f(130,i==null?i:typeof i,""))}return(l=Bo(ue,b,l,$)).elementType=i,l.type=C,l.lanes=ee,l}function Xo(i,l,b,C){return(i=Bo(7,i,C,l)).lanes=b,i}function Np(i,l,b,C){return(i=Bo(22,i,C,l)).elementType=u,i.lanes=b,i.stateNode={isHidden:!1},i}function Tp(i,l,b){return(i=Bo(6,i,null,l)).lanes=b,i}function qh(i,l,b){return(l=Bo(4,i.children!==null?i.children:[],i.key,l)).lanes=b,l.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},l}function ry(i,l,b,C,$){this.tag=l,this.containerInfo=i,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ec(0),this.expirationTimes=ec(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ec(0),this.identifierPrefix=C,this.onRecoverableError=$,this.mutableSourceEagerHydrationData=null}function zn(i,l,b,C,$,ee,ue,Ce,Me){return i=new ry(i,l,b,Ce,Me),l===1?(l=1,ee===!0&&(l|=8)):l=0,ee=Bo(3,null,null,l),i.current=ee,ee.stateNode=i,ee.memoizedState={element:C,isDehydrated:b,cache:null,transitions:null,pendingSuspenseBoundaries:null},yp(ee),i}function ny(i){if(!i)return xl;e:{if(Va(i=i._reactInternals)!==i||i.tag!==1)throw Error(f(170));var l=i;do{switch(l.tag){case 3:l=l.stateNode.context;break e;case 1:if(Ko(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break e}}l=l.return}while(l!==null);throw Error(f(171))}if(i.tag===1){var b=i.type;if(Ko(b))return Id(i,b,l)}return l}function Sc(i,l,b,C,$,ee,ue,Ce,Me){return(i=zn(b,C,!0,i,0,ee,0,Ce,Me)).context=ny(null),b=i.current,(ee=Ns(C=to(),$=Tl(b))).callback=l??null,Ts(b,ee,$),i.current.lanes=$,Ao(i,$,C),$o(i,C),i}function Uh(i,l,b,C){var $=l.current,ee=to(),ue=Tl($);return b=ny(b),l.context===null?l.context=b:l.pendingContext=b,(l=Ns(ee,ue)).payload={element:i},(C=C===void 0?null:C)!==null&&(l.callback=C),(i=Ts($,l,ue))!==null&&(Lo(i,$,ue,ee),hu(i,$,ue)),ue}function Ml(i){return(i=i.current).child?(i.child.tag,i.child.stateNode):null}function Rl(i,l){if((i=i.memoizedState)!==null&&i.dehydrated!==null){var b=i.retryLane;i.retryLane=b!==0&&b<l?b:l}}function es(i,l){Rl(i,l),(i=i.alternate)&&Rl(i,l)}Jg=function(i,l,b){if(i!==null)if(i.memoizedProps!==l.pendingProps||Oa.current)Do=!0;else{if(!(i.lanes&b||128&l.flags))return Do=!1,(function(lt,vt,Lt){switch(vt.tag){case 3:Cg(vt),su();break;case 5:gh(vt);break;case 1:Ko(vt.type)&&lh(vt);break;case 4:zd(vt,vt.stateNode.containerInfo);break;case 10:var xt=vt.type._context,Ze=vt.memoizedProps.value;Cn(hh,xt._currentValue),xt._currentValue=Ze;break;case 13:if((xt=vt.memoizedState)!==null)return xt.dehydrated!==null?(Cn(Wn,1&Wn.current),vt.flags|=128,null):Lt&vt.child.childLanes?cf(lt,vt,Lt):(Cn(Wn,1&Wn.current),(lt=Ms(lt,vt,Lt))!==null?lt.sibling:null);Cn(Wn,1&Wn.current);break;case 19:if(xt=!!(Lt&vt.childLanes),128&lt.flags){if(xt)return Tg(lt,vt,Lt);vt.flags|=128}if((Ze=vt.memoizedState)!==null&&(Ze.rendering=null,Ze.tail=null,Ze.lastEffect=null),Cn(Wn,Wn.current),xt)break;return null;case 22:case 23:return vt.lanes=0,of(lt,vt,Lt)}return Ms(lt,vt,Lt)})(i,l,b);Do=!!(131072&i.flags)}else Do=!1,Un&&1048576&l.flags&&Zm(l,iu,l.index);switch(l.lanes=0,l.tag){case 2:var C=l.type;Th(i,l),i=l.pendingProps;var $=hc(l,Xa.current);pu(l,b),$=Is(null,l,C,i,$,b);var ee=Hd();return l.flags|=1,typeof $=="object"&&$!==null&&typeof $.render=="function"&&$.$$typeof===void 0?(l.tag=1,l.memoizedState=null,l.updateQueue=null,Ko(C)?(ee=!0,lh(l)):ee=!1,l.memoizedState=$.state!==null&&$.state!==void 0?$.state:null,yp(l),$.updater=kh,l.stateNode=$,$._reactInternals=l,nf(l,C,i,b),l=Ch(null,l,C,!0,ee,b)):(l.tag=0,Un&&ee&&Rd(l),Za(null,l,$,b),l=l.child),l;case 16:C=l.elementType;e:{switch(Th(i,l),i=l.pendingProps,C=($=C._init)(C._payload),l.type=C,$=l.tag=(function(lt){if(typeof lt=="function")return Pp(lt)?1:0;if(lt!=null){if((lt=lt.$$typeof)===He)return 11;if(lt===gt)return 14}return 2})(C),i=si(C,i),$){case 0:l=eo(null,l,C,i,b);break e;case 1:l=Ag(null,l,C,i,b);break e;case 11:l=_g(null,l,C,i,b);break e;case 14:l=Og(null,l,C,si(C.type,i),b);break e}throw Error(f(306,C,""))}return l;case 0:return C=l.type,$=l.pendingProps,eo(i,l,C,$=l.elementType===C?$:si(C,$),b);case 1:return C=l.type,$=l.pendingProps,Ag(i,l,C,$=l.elementType===C?$:si(C,$),b);case 3:e:{if(Cg(l),i===null)throw Error(f(387));C=l.pendingProps,$=(ee=l.memoizedState).element,og(i,l),mh(l,C,null,b);var ue=l.memoizedState;if(C=ue.element,ee.isDehydrated){if(ee={element:C,isDehydrated:!1,cache:ue.cache,pendingSuspenseBoundaries:ue.pendingSuspenseBoundaries,transitions:ue.transitions},l.updateQueue.baseState=ee,l.memoizedState=ee,256&l.flags){l=sf(i,l,C,b,$=yu(Error(f(423)),l));break e}if(C!==$){l=sf(i,l,C,b,$=yu(Error(f(424)),l));break e}for(Ro=bl(l.stateNode.containerInfo.firstChild),Go=l,Un=!0,Oi=null,b=ng(l,null,C,b),l.child=b;b;)b.flags=-3&b.flags|4096,b=b.sibling}else{if(su(),C===$){l=Ms(i,l,b);break e}Za(i,l,C,b)}l=l.child}return l;case 5:return gh(l),i===null&&hp(l),C=l.type,$=l.pendingProps,ee=i!==null?i.memoizedProps:null,ue=$.children,Bn(C,$)?ue=null:ee!==null&&Bn(C,ee)&&(l.flags|=32),li(i,l),Za(i,l,ue,b),l.child;case 6:return i===null&&hp(l),null;case 13:return cf(i,l,b);case 4:return zd(l,l.stateNode.containerInfo),C=l.pendingProps,i===null?l.child=fc(l,null,C,b):Za(i,l,C,b),l.child;case 11:return C=l.type,$=l.pendingProps,_g(i,l,C,$=l.elementType===C?$:si(C,$),b);case 7:return Za(i,l,l.pendingProps,b),l.child;case 8:case 12:return Za(i,l,l.pendingProps.children,b),l.child;case 10:e:{if(C=l.type._context,$=l.pendingProps,ee=l.memoizedProps,ue=$.value,Cn(hh,C._currentValue),C._currentValue=ue,ee!==null)if(Ka(ee.value,ue)){if(ee.children===$.children&&!Oa.current){l=Ms(i,l,b);break e}}else for((ee=l.child)!==null&&(ee.return=l);ee!==null;){var Ce=ee.dependencies;if(Ce!==null){ue=ee.child;for(var Me=Ce.firstContext;Me!==null;){if(Me.context===C){if(ee.tag===1){(Me=Ns(-1,b&-b)).tag=2;var Ue=ee.updateQueue;if(Ue!==null){var ot=(Ue=Ue.shared).pending;ot===null?Me.next=Me:(Me.next=ot.next,ot.next=Me),Ue.pending=Me}}ee.lanes|=b,(Me=ee.alternate)!==null&&(Me.lanes|=b),qd(ee.return,b,l),Ce.lanes|=b;break}Me=Me.next}}else if(ee.tag===10)ue=ee.type===l.type?null:ee.child;else if(ee.tag===18){if((ue=ee.return)===null)throw Error(f(341));ue.lanes|=b,(Ce=ue.alternate)!==null&&(Ce.lanes|=b),qd(ue,b,l),ue=ee.sibling}else ue=ee.child;if(ue!==null)ue.return=ee;else for(ue=ee;ue!==null;){if(ue===l){ue=null;break}if((ee=ue.sibling)!==null){ee.return=ue.return,ue=ee;break}ue=ue.return}ee=ue}Za(i,l,$.children,b),l=l.child}return l;case 9:return $=l.type,C=l.pendingProps.children,pu(l,b),C=C($=oi($)),l.flags|=1,Za(i,l,C,b),l.child;case 14:return $=si(C=l.type,l.pendingProps),Og(i,l,C,$=si(C.type,$),b);case 15:return kg(i,l,l.type,l.pendingProps,b);case 17:return C=l.type,$=l.pendingProps,$=l.elementType===C?$:si(C,$),Th(i,l),l.tag=1,Ko(C)?(i=!0,lh(l)):i=!1,pu(l,b),bg(l,C,$),nf(l,C,$,b),Ch(null,l,C,!0,i,b);case 19:return Tg(i,l,b);case 22:return of(i,l,b)}throw Error(f(156,l.tag))};var ay=typeof reportError=="function"?reportError:function(i){console.error(i)};function Au(i){this._internalRoot=i}function Ip(i){this._internalRoot=i}function xc(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function Cu(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11&&(i.nodeType!==8||i.nodeValue!==" react-mount-point-unstable "))}function oy(){}function zh(i,l,b,C,$){var ee=b._reactRootContainer;if(ee){var ue=ee;if(typeof $=="function"){var Ce=$;$=function(){var Me=Ml(ue);Ce.call(Me)}}Uh(l,ue,i,$)}else ue=(function(Ue,ot,st,lt,vt){if(vt){if(typeof lt=="function"){var Lt=lt;lt=function(){var rt=Ml(xt);Lt.call(rt)}}var xt=Sc(ot,lt,Ue,0,null,!1,0,"",oy);return Ue._reactRootContainer=xt,Ue[Gi]=xt.current,tt(Ue.nodeType===8?Ue.parentNode:Ue),wc(),xt}for(;vt=Ue.lastChild;)Ue.removeChild(vt);if(typeof lt=="function"){var Ze=lt;lt=function(){var rt=Ml(Le);Ze.call(rt)}}var Le=zn(Ue,0,!1,null,0,!1,0,"",oy);return Ue._reactRootContainer=Le,Ue[Gi]=Le.current,tt(Ue.nodeType===8?Ue.parentNode:Ue),wc((function(){Uh(ot,Le,st,lt)})),Le})(b,l,i,$,C);return Ml(ue)}Ip.prototype.render=Au.prototype.render=function(i){var l=this._internalRoot;if(l===null)throw Error(f(409));Uh(i,l,null,null)},Ip.prototype.unmount=Au.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var l=i.containerInfo;wc((function(){Uh(null,i,null,null)})),l[Gi]=null}},Ip.prototype.unstable_scheduleHydration=function(i){if(i){var l=Hu();i={blockedOn:null,target:i,priority:l};for(var b=0;b<jo.length&&l!==0&&l<jo[b].priority;b++);jo.splice(b,0,i),b===0&&vi(i)}},rc=function(i){switch(i.tag){case 3:var l=i.stateNode;if(l.current.memoizedState.isDehydrated){var b=lo(l.pendingLanes);b!==0&&(vs(l,1|b),$o(l,Yt()),!(6&pn)&&(Pl=Yt()+500,_l()))}break;case 13:wc((function(){var C=Ps(i,1);if(C!==null){var $=to();Lo(C,i,1,$)}})),es(i,1)}},Zs=function(i){if(i.tag===13){var l=Ps(i,134217728);l!==null&&Lo(l,i,134217728,to()),es(i,134217728)}},nc=function(i){if(i.tag===13){var l=Tl(i),b=Ps(i,l);b!==null&&Lo(b,i,l,to()),es(i,l)}},Hu=function(){return an},Ku=function(i,l){var b=an;try{return an=i,l()}finally{an=b}},Li=function(i,l,b){switch(l){case"input":if(yt(i,b),l=b.name,b.type==="radio"&&l!=null){for(b=i;b.parentNode;)b=b.parentNode;for(b=b.querySelectorAll("input[name="+JSON.stringify(""+l)+'][type="radio"]'),l=0;l<b.length;l++){var C=b[l];if(C!==i&&C.form===i.form){var $=up(C);if(!$)throw Error(f(90));ar(C),yt(C,$)}}}break;case"textarea":Ee(i,b);break;case"select":(l=b.value)!=null&&Z(i,!!b.multiple,l,!1)}},br=Ef,tn=wc;var y0={usingClientEntryPoint:!1,Events:[cp,ru,up,ds,sr,Ef]},Mp={findFiberByHostInstance:El,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},_f={bundleType:Mp.bundleType,version:Mp.version,rendererPackageName:Mp.rendererPackageName,rendererConfig:Mp.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:te.ReactCurrentDispatcher,findHostInstanceByFiber:function(i){return(i=Nr(i))===null?null:i.stateNode},findFiberByHostInstance:Mp.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ju=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ju.isDisabled&&ju.supportsFiber)try{Ja=ju.inject(_f),Wa=ju}catch{}}N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=y0,N.createPortal=function(i,l){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!xc(l))throw Error(f(200));return(function($,ee,ue){var Ce=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:se,key:Ce==null?null:""+Ce,children:$,containerInfo:ee,implementation:ue}})(i,l,null,b)},N.createRoot=function(i,l){if(!xc(i))throw Error(f(299));var b=!1,C="",$=ay;return l!=null&&(l.unstable_strictMode===!0&&(b=!0),l.identifierPrefix!==void 0&&(C=l.identifierPrefix),l.onRecoverableError!==void 0&&($=l.onRecoverableError)),l=zn(i,1,!1,null,0,b,0,C,$),i[Gi]=l.current,tt(i.nodeType===8?i.parentNode:i),new Au(l)},N.findDOMNode=function(i){if(i==null)return null;if(i.nodeType===1)return i;var l=i._reactInternals;if(l===void 0)throw typeof i.render=="function"?Error(f(188)):(i=Object.keys(i).join(","),Error(f(268,i)));return i=(i=Nr(l))===null?null:i.stateNode},N.flushSync=function(i){return wc(i)},N.hydrate=function(i,l,b){if(!Cu(l))throw Error(f(200));return zh(null,i,l,!0,b)},N.hydrateRoot=function(i,l,b){if(!xc(i))throw Error(f(405));var C=b!=null&&b.hydratedSources||null,$=!1,ee="",ue=ay;if(b!=null&&(b.unstable_strictMode===!0&&($=!0),b.identifierPrefix!==void 0&&(ee=b.identifierPrefix),b.onRecoverableError!==void 0&&(ue=b.onRecoverableError)),l=Sc(l,null,i,1,b??null,$,0,ee,ue),i[Gi]=l.current,tt(i),C)for(i=0;i<C.length;i++)$=($=(b=C[i])._getVersion)(b._source),l.mutableSourceEagerHydrationData==null?l.mutableSourceEagerHydrationData=[b,$]:l.mutableSourceEagerHydrationData.push(b,$);return new Ip(l)},N.render=function(i,l,b){if(!Cu(l))throw Error(f(200));return zh(null,i,l,!1,b)},N.unmountComponentAtNode=function(i){if(!Cu(i))throw Error(f(40));return!!i._reactRootContainer&&(wc((function(){zh(null,null,i,!1,(function(){i._reactRootContainer=null,i[Gi]=null}))})),!0)},N.unstable_batchedUpdates=Ef,N.unstable_renderSubtreeIntoContainer=function(i,l,b,C){if(!Cu(b))throw Error(f(200));if(i==null||i._reactInternals===void 0)throw Error(f(38));return zh(i,l,b,!1,C)},N.version="18.3.1-next-f1338f8080-20240426"},40961(w,N,s){(function h(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE=="function")try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(h)}catch(v){console.error(v)}})(),w.exports=s(22551)},2209(w,N,s){var h,v=s(49568),f=function(){invariant(!1,"ImmutablePropTypes type checking code is stripped in production.")};f.isRequired=f;var y=function(){return f};function m(_){var T=typeof _;return Array.isArray(_)?"array":_ instanceof RegExp?"object":_ instanceof v.Iterable?"Immutable."+_.toSource().split(" ")[0]:T}function g(_){function T(j,M,z,K,Y,B){for(var X=arguments.length,te=Array(X>6?X-6:0),ie=6;ie<X;ie++)te[ie-6]=arguments[ie];return B=B||z,K=K||"<<anonymous>>",M[z]!=null?_.apply(void 0,[M,z,K,Y,B].concat(te)):j?new Error("Required "+Y+" `"+B+"` was not specified in `"+K+"`."):void 0}var I=T.bind(null,!1);return I.isRequired=T.bind(null,!0),I}function S(_,T){return(function(j,M){return g((function(K,Y,B,X,te){var ie=K[Y];if(!M(ie)){var se=m(ie);return new Error("Invalid "+X+" `"+te+"` of type `"+se+"` supplied to `"+B+"`, expected `"+j+"`.")}return null}))})("Iterable."+_,(function(I){return v.Iterable.isIterable(I)&&T(I)}))}(h={listOf:y,mapOf:y,orderedMapOf:y,setOf:y,orderedSetOf:y,stackOf:y,iterableOf:y,recordOf:y,shape:y,contains:y,mapContains:y,orderedMapContains:y,list:f,map:f,orderedMap:f,set:f,orderedSet:f,stack:f,seq:f,record:f,iterable:f}).iterable.indexed=S("Indexed",v.Iterable.isIndexed),h.iterable.keyed=S("Keyed",v.Iterable.isKeyed),w.exports=h},15287(w,N){var s=Symbol.for("react.element"),h=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),g=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),T=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),j=Symbol.iterator,M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},z=Object.assign,K={};function Y(Se,De,Ke){this.props=Se,this.context=De,this.refs=K,this.updater=Ke||M}function B(){}function X(Se,De,Ke){this.props=Se,this.context=De,this.refs=K,this.updater=Ke||M}Y.prototype.isReactComponent={},Y.prototype.setState=function(Se,De){if(typeof Se!="object"&&typeof Se!="function"&&Se!=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,Se,De,"setState")},Y.prototype.forceUpdate=function(Se){this.updater.enqueueForceUpdate(this,Se,"forceUpdate")},B.prototype=Y.prototype;var te=X.prototype=new B;te.constructor=X,z(te,Y.prototype),te.isPureReactComponent=!0;var ie=Array.isArray,se=Object.prototype.hasOwnProperty,Te={current:null},he={key:!0,ref:!0,__self:!0,__source:!0};function ge(Se,De,Ke){var ft,Nt={},Wt=null,H=null;if(De!=null)for(ft in De.ref!==void 0&&(H=De.ref),De.key!==void 0&&(Wt=""+De.key),De)se.call(De,ft)&&!he.hasOwnProperty(ft)&&(Nt[ft]=De[ft]);var we=arguments.length-2;if(we===1)Nt.children=Ke;else if(1<we){for(var ct=Array(we),mt=0;mt<we;mt++)ct[mt]=arguments[mt+2];Nt.children=ct}if(Se&&Se.defaultProps)for(ft in we=Se.defaultProps)Nt[ft]===void 0&&(Nt[ft]=we[ft]);return{$$typeof:s,type:Se,key:Wt,ref:H,props:Nt,_owner:Te.current}}function ke(Se){return typeof Se=="object"&&Se!==null&&Se.$$typeof===s}var Ve=/\/+/g;function He(Se,De){return typeof Se=="object"&&Se!==null&&Se.key!=null?(function(ft){var Nt={"=":"=0",":":"=2"};return"$"+ft.replace(/[=:]/g,(function(Wt){return Nt[Wt]}))})(""+Se.key):De.toString(36)}function qe(Se,De,Ke,ft,Nt){var Wt=typeof Se;Wt!=="undefined"&&Wt!=="boolean"||(Se=null);var H=!1;if(Se===null)H=!0;else switch(Wt){case"string":case"number":H=!0;break;case"object":switch(Se.$$typeof){case s:case h:H=!0}}if(H)return Nt=Nt(H=Se),Se=ft===""?"."+He(H,0):ft,ie(Nt)?(Ke="",Se!=null&&(Ke=Se.replace(Ve,"$&/")+"/"),qe(Nt,De,Ke,"",(function(mt){return mt}))):Nt!=null&&(ke(Nt)&&(Nt=(function(ur,ar){return{$$typeof:s,type:ur.type,key:ar,ref:ur.ref,props:ur.props,_owner:ur._owner}})(Nt,Ke+(!Nt.key||H&&H.key===Nt.key?"":(""+Nt.key).replace(Ve,"$&/")+"/")+Se)),De.push(Nt)),1;if(H=0,ft=ft===""?".":ft+":",ie(Se))for(var we=0;we<Se.length;we++){var ct=ft+He(Wt=Se[we],we);H+=qe(Wt,De,Ke,ct,Nt)}else if(ct=(function(ur){return ur===null||typeof ur!="object"?null:typeof(ur=j&&ur[j]||ur["@@iterator"])=="function"?ur:null})(Se),typeof ct=="function")for(Se=ct.call(Se),we=0;!(Wt=Se.next()).done;)H+=qe(Wt=Wt.value,De,Ke,ct=ft+He(Wt,we++),Nt);else if(Wt==="object")throw De=String(Se),Error("Objects are not valid as a React child (found: "+(De==="[object Object]"?"object with keys {"+Object.keys(Se).join(", ")+"}":De)+"). If you meant to render a collection of children, use an array instead.");return H}function nt(Se,De,Ke){if(Se==null)return Se;var ft=[],Nt=0;return qe(Se,ft,"","",(function(Wt){return De.call(Ke,Wt,Nt++)})),ft}function gt(Se){if(Se._status===-1){var De=Se._result;(De=De()).then((function(Ke){Se._status!==0&&Se._status!==-1||(Se._status=1,Se._result=Ke)}),(function(Ke){Se._status!==0&&Se._status!==-1||(Se._status=2,Se._result=Ke)})),Se._status===-1&&(Se._status=0,Se._result=De)}if(Se._status===1)return Se._result.default;throw Se._result}var Re={current:null},u={transition:null},at={ReactCurrentDispatcher:Re,ReactCurrentBatchConfig:u,ReactCurrentOwner:Te};function Xe(){throw Error("act(...) is not supported in production builds of React.")}N.Children={map:nt,forEach:function(Se,De,Ke){nt(Se,(function(){De.apply(this,arguments)}),Ke)},count:function(Se){var De=0;return nt(Se,(function(){De++})),De},toArray:function(Se){return nt(Se,(function(De){return De}))||[]},only:function(Se){if(!ke(Se))throw Error("React.Children.only expected to receive a single React element child.");return Se}},N.Component=Y,N.Fragment=v,N.Profiler=y,N.PureComponent=X,N.StrictMode=f,N.Suspense=_,N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=at,N.act=Xe,N.cloneElement=function(Se,De,Ke){if(Se==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+Se+".");var ft=z({},Se.props),Nt=Se.key,Wt=Se.ref,H=Se._owner;if(De!=null){if(De.ref!==void 0&&(Wt=De.ref,H=Te.current),De.key!==void 0&&(Nt=""+De.key),Se.type&&Se.type.defaultProps)var we=Se.type.defaultProps;for(ct in De)se.call(De,ct)&&!he.hasOwnProperty(ct)&&(ft[ct]=De[ct]===void 0&&we!==void 0?we[ct]:De[ct])}var ct=arguments.length-2;if(ct===1)ft.children=Ke;else if(1<ct){we=Array(ct);for(var mt=0;mt<ct;mt++)we[mt]=arguments[mt+2];ft.children=we}return{$$typeof:s,type:Se.type,key:Nt,ref:Wt,props:ft,_owner:H}},N.createContext=function(Se){return(Se={$$typeof:g,_currentValue:Se,_currentValue2:Se,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:m,_context:Se},Se.Consumer=Se},N.createElement=ge,N.createFactory=function(Se){var De=ge.bind(null,Se);return De.type=Se,De},N.createRef=function(){return{current:null}},N.forwardRef=function(Se){return{$$typeof:S,render:Se}},N.isValidElement=ke,N.lazy=function(Se){return{$$typeof:I,_payload:{_status:-1,_result:Se},_init:gt}},N.memo=function(Se,De){return{$$typeof:T,type:Se,compare:De===void 0?null:De}},N.startTransition=function(Se){var De=u.transition;u.transition={};try{Se()}finally{u.transition=De}},N.unstable_act=Xe,N.useCallback=function(Se,De){return Re.current.useCallback(Se,De)},N.useContext=function(Se){return Re.current.useContext(Se)},N.useDebugValue=function(){},N.useDeferredValue=function(Se){return Re.current.useDeferredValue(Se)},N.useEffect=function(Se,De){return Re.current.useEffect(Se,De)},N.useId=function(){return Re.current.useId()},N.useImperativeHandle=function(Se,De,Ke){return Re.current.useImperativeHandle(Se,De,Ke)},N.useInsertionEffect=function(Se,De){return Re.current.useInsertionEffect(Se,De)},N.useLayoutEffect=function(Se,De){return Re.current.useLayoutEffect(Se,De)},N.useMemo=function(Se,De){return Re.current.useMemo(Se,De)},N.useReducer=function(Se,De,Ke){return Re.current.useReducer(Se,De,Ke)},N.useRef=function(Se){return Re.current.useRef(Se)},N.useState=function(Se){return Re.current.useState(Se)},N.useSyncExternalStore=function(Se,De,Ke){return Re.current.useSyncExternalStore(Se,De,Ke)},N.useTransition=function(){return Re.current.useTransition()},N.version="18.3.1"},96540(w,N,s){w.exports=s(15287)},86048(w){var N={};function s(v,f,y){y||(y=Error);var m=(function(g){function S(_,T,I){return g.call(this,(function(M,z,K){return typeof f=="string"?f:f(M,z,K)})(_,T,I))||this}return(function(T,I){T.prototype=Object.create(I.prototype),T.prototype.constructor=T,T.__proto__=I})(S,g),S})(y);m.prototype.name=y.name,m.prototype.code=v,N[v]=m}function h(v,f){if(Array.isArray(v)){var y=v.length;return v=v.map((function(m){return String(m)})),y>2?"one of ".concat(f," ").concat(v.slice(0,y-1).join(", "),", or ")+v[y-1]:y===2?"one of ".concat(f," ").concat(v[0]," or ").concat(v[1]):"of ".concat(f," ").concat(v[0])}return"of ".concat(f," ").concat(String(v))}s("ERR_INVALID_OPT_VALUE",(function(v,f){return'The value "'+f+'" is invalid for option "'+v+'"'}),TypeError),s("ERR_INVALID_ARG_TYPE",(function(v,f,y){var m,g;if(typeof f=="string"&&(function(T,I,j){return T.substr(0,I.length)===I})(f,"not ")?(m="must not be",f=f.replace(/^not /,"")):m="must be",(function(T,I,j){return(j===void 0||j>T.length)&&(j=T.length),T.substring(j-I.length,j)===I})(v," argument"))g="The ".concat(v," ").concat(m," ").concat(h(f,"type"));else{var S=(function(T,I,j){return typeof j!="number"&&(j=0),!(j+I.length>T.length)&&T.indexOf(I,j)!==-1})(v,".")?"property":"argument";g='The "'.concat(v,'" ').concat(S," ").concat(m," ").concat(h(f,"type"))}return g+=". Received type ".concat(typeof y)}),TypeError),s("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),s("ERR_METHOD_NOT_IMPLEMENTED",(function(v){return"The "+v+" method is not implemented"})),s("ERR_STREAM_PREMATURE_CLOSE","Premature close"),s("ERR_STREAM_DESTROYED",(function(v){return"Cannot call "+v+" after a stream was destroyed"})),s("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),s("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),s("ERR_STREAM_WRITE_AFTER_END","write after end"),s("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),s("ERR_UNKNOWN_ENCODING",(function(v){return"Unknown encoding: "+v}),TypeError),s("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),w.exports.F=N},25382(w,N,s){var h=s(65606),v=Object.keys||function(j){var M=[];for(var z in j)M.push(z);return M};w.exports=_;var f=s(45412),y=s(16708);s(56698)(_,f);for(var m=v(y.prototype),g=0;g<m.length;g++){var S=m[g];_.prototype[S]||(_.prototype[S]=y.prototype[S])}function _(j){if(!(this instanceof _))return new _(j);f.call(this,j),y.call(this,j),this.allowHalfOpen=!0,j&&(j.readable===!1&&(this.readable=!1),j.writable===!1&&(this.writable=!1),j.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",T)))}function T(){this._writableState.ended||h.nextTick(I,this)}function I(j){j.end()}Object.defineProperty(_.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(_.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(_.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(_.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(M){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=M,this._writableState.destroyed=M)}})},63600(w,N,s){w.exports=v;var h=s(74610);function v(f){if(!(this instanceof v))return new v(f);h.call(this,f)}s(56698)(v,h),v.prototype._transform=function(f,y,m){m(null,f)}},45412(w,N,s){var h,v=s(65606);w.exports=ge,ge.ReadableState=he,s(37007).EventEmitter;var f=function(we,ct){return we.listeners(ct).length},y=s(40345),m=s(48287).Buffer,g=(s.g!==void 0?s.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},S,_=s(79838);S=_&&_.debuglog?_.debuglog("stream"):function(){};var T,I,j,M=s(80345),z=s(75896),K=s(65291).getHighWaterMark,Y=s(86048).F,B=Y.ERR_INVALID_ARG_TYPE,X=Y.ERR_STREAM_PUSH_AFTER_EOF,te=Y.ERR_METHOD_NOT_IMPLEMENTED,ie=Y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;s(56698)(ge,y);var se=z.errorOrDestroy,Te=["error","close","destroy","pause","resume"];function he(H,we,ct){h=h||s(25382),H=H||{},typeof ct!="boolean"&&(ct=we instanceof h),this.objectMode=!!H.objectMode,ct&&(this.objectMode=this.objectMode||!!H.readableObjectMode),this.highWaterMark=K(this,H,"readableHighWaterMark",ct),this.buffer=new M,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=H.emitClose!==!1,this.autoDestroy=!!H.autoDestroy,this.destroyed=!1,this.defaultEncoding=H.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,H.encoding&&(T||(T=s(83141).I),this.decoder=new T(H.encoding),this.encoding=H.encoding)}function ge(H){if(h=h||s(25382),!(this instanceof ge))return new ge(H);var we=this instanceof h;this._readableState=new he(H,this,we),this.readable=!0,H&&(typeof H.read=="function"&&(this._read=H.read),typeof H.destroy=="function"&&(this._destroy=H.destroy)),y.call(this)}function ke(H,we,ct,mt,ur){S("readableAddChunk",we);var ar,Tt=H._readableState;if(we===null)Tt.reading=!1,(function(Sr,kt){if(S("onEofChunk"),!kt.ended){if(kt.decoder){var yt=kt.decoder.end();yt&&yt.length&&(kt.buffer.push(yt),kt.length+=kt.objectMode?1:yt.length)}kt.ended=!0,kt.sync?nt(Sr):(kt.needReadable=!1,kt.emittedReadable||(kt.emittedReadable=!0,gt(Sr)))}})(H,Tt);else if(ur||(ar=(function(Sr,kt){var yt;return(function(pe){return m.isBuffer(pe)||pe instanceof g})(kt)||typeof kt=="string"||kt===void 0||Sr.objectMode||(yt=new B("chunk",["string","Buffer","Uint8Array"],kt)),yt})(Tt,we)),ar)se(H,ar);else if(Tt.objectMode||we&&we.length>0)if(typeof we=="string"||Tt.objectMode||Object.getPrototypeOf(we)===m.prototype||(we=(function(Sr){return m.from(Sr)})(we)),mt)Tt.endEmitted?se(H,new ie):Ve(H,Tt,we,!0);else if(Tt.ended)se(H,new X);else{if(Tt.destroyed)return!1;Tt.reading=!1,Tt.decoder&&!ct?(we=Tt.decoder.write(we),Tt.objectMode||we.length!==0?Ve(H,Tt,we,!1):Re(H,Tt)):Ve(H,Tt,we,!1)}else mt||(Tt.reading=!1,Re(H,Tt));return!Tt.ended&&(Tt.length<Tt.highWaterMark||Tt.length===0)}function Ve(H,we,ct,mt){we.flowing&&we.length===0&&!we.sync?(we.awaitDrain=0,H.emit("data",ct)):(we.length+=we.objectMode?1:ct.length,mt?we.buffer.unshift(ct):we.buffer.push(ct),we.needReadable&&nt(H)),Re(H,we)}Object.defineProperty(ge.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(we){this._readableState&&(this._readableState.destroyed=we)}}),ge.prototype.destroy=z.destroy,ge.prototype._undestroy=z.undestroy,ge.prototype._destroy=function(H,we){we(H)},ge.prototype.push=function(H,we){var ct,mt=this._readableState;return mt.objectMode?ct=!0:typeof H=="string"&&((we=we||mt.defaultEncoding)!==mt.encoding&&(H=m.from(H,we),we=""),ct=!0),ke(this,H,we,!1,ct)},ge.prototype.unshift=function(H){return ke(this,H,null,!0,!1)},ge.prototype.isPaused=function(){return this._readableState.flowing===!1},ge.prototype.setEncoding=function(H){T||(T=s(83141).I);var we=new T(H);this._readableState.decoder=we,this._readableState.encoding=this._readableState.decoder.encoding;for(var ct=this._readableState.buffer.head,mt="";ct!==null;)mt+=we.write(ct.data),ct=ct.next;return this._readableState.buffer.clear(),mt!==""&&this._readableState.buffer.push(mt),this._readableState.length=mt.length,this};var He=1073741824;function qe(H,we){return H<=0||we.length===0&&we.ended?0:we.objectMode?1:H!=H?we.flowing&&we.length?we.buffer.head.data.length:we.length:(H>we.highWaterMark&&(we.highWaterMark=(function(mt){return mt>=He?mt=He:(mt--,mt|=mt>>>1,mt|=mt>>>2,mt|=mt>>>4,mt|=mt>>>8,mt|=mt>>>16,mt++),mt})(H)),H<=we.length?H:we.ended?we.length:(we.needReadable=!0,0))}function nt(H){var we=H._readableState;S("emitReadable",we.needReadable,we.emittedReadable),we.needReadable=!1,we.emittedReadable||(S("emitReadable",we.flowing),we.emittedReadable=!0,v.nextTick(gt,H))}function gt(H){var we=H._readableState;S("emitReadable_",we.destroyed,we.length,we.ended),we.destroyed||!we.length&&!we.ended||(H.emit("readable"),we.emittedReadable=!1),we.needReadable=!we.flowing&&!we.ended&&we.length<=we.highWaterMark,De(H)}function Re(H,we){we.readingMore||(we.readingMore=!0,v.nextTick(u,H,we))}function u(H,we){for(;!we.reading&&!we.ended&&(we.length<we.highWaterMark||we.flowing&&we.length===0);){var ct=we.length;if(S("maybeReadMore read 0"),H.read(0),ct===we.length)break}we.readingMore=!1}function at(H){var we=H._readableState;we.readableListening=H.listenerCount("readable")>0,we.resumeScheduled&&!we.paused?we.flowing=!0:H.listenerCount("data")>0&&H.resume()}function Xe(H){S("readable nexttick read 0"),H.read(0)}function Se(H,we){S("resume",we.reading),we.reading||H.read(0),we.resumeScheduled=!1,H.emit("resume"),De(H),we.flowing&&!we.reading&&H.read(0)}function De(H){var we=H._readableState;for(S("flow",we.flowing);we.flowing&&H.read()!==null;);}function Ke(H,we){return we.length===0?null:(we.objectMode?ct=we.buffer.shift():!H||H>=we.length?(ct=we.decoder?we.buffer.join(""):we.buffer.length===1?we.buffer.first():we.buffer.concat(we.length),we.buffer.clear()):ct=we.buffer.consume(H,we.decoder),ct);var ct}function ft(H){var we=H._readableState;S("endReadable",we.endEmitted),we.endEmitted||(we.ended=!0,v.nextTick(Nt,we,H))}function Nt(H,we){if(S("endReadableNT",H.endEmitted,H.length),!H.endEmitted&&H.length===0&&(H.endEmitted=!0,we.readable=!1,we.emit("end"),H.autoDestroy)){var ct=we._writableState;(!ct||ct.autoDestroy&&ct.finished)&&we.destroy()}}function Wt(H,we){for(var ct=0,mt=H.length;ct<mt;ct++)if(H[ct]===we)return ct;return-1}ge.prototype.read=function(H){S("read",H),H=parseInt(H,10);var we=this._readableState,ct=H;if(H!==0&&(we.emittedReadable=!1),H===0&&we.needReadable&&((we.highWaterMark!==0?we.length>=we.highWaterMark:we.length>0)||we.ended))return S("read: emitReadable",we.length,we.ended),we.length===0&&we.ended?ft(this):nt(this),null;if((H=qe(H,we))===0&&we.ended)return we.length===0&&ft(this),null;var mt,ur=we.needReadable;return S("need readable",ur),(we.length===0||we.length-H<we.highWaterMark)&&S("length less than watermark",ur=!0),we.ended||we.reading?S("reading or ended",ur=!1):ur&&(S("do read"),we.reading=!0,we.sync=!0,we.length===0&&(we.needReadable=!0),this._read(we.highWaterMark),we.sync=!1,we.reading||(H=qe(ct,we))),(mt=H>0?Ke(H,we):null)===null?(we.needReadable=we.length<=we.highWaterMark,H=0):(we.length-=H,we.awaitDrain=0),we.length===0&&(we.ended||(we.needReadable=!0),ct!==H&&we.ended&&ft(this)),mt!==null&&this.emit("data",mt),mt},ge.prototype._read=function(H){se(this,new te("_read()"))},ge.prototype.pipe=function(H,we){var ct=this,mt=this._readableState;switch(mt.pipesCount){case 0:mt.pipes=H;break;case 1:mt.pipes=[mt.pipes,H];break;default:mt.pipes.push(H)}mt.pipesCount+=1,S("pipe count=%d opts=%j",mt.pipesCount,we);var ur=(!we||we.end!==!1)&&H!==v.stdout&&H!==v.stderr?Tt:U;function ar(Z,ne){S("onunpipe"),Z===ct&&ne&&ne.hasUnpiped===!1&&(ne.hasUnpiped=!0,(function(){S("cleanup"),H.removeListener("close",Zt),H.removeListener("finish",pe),H.removeListener("drain",Gt),H.removeListener("error",yt),H.removeListener("unpipe",ar),ct.removeListener("end",Tt),ct.removeListener("end",U),ct.removeListener("data",kt),Sr=!0,!mt.awaitDrain||H._writableState&&!H._writableState.needDrain||Gt()})())}function Tt(){S("onend"),H.end()}mt.endEmitted?v.nextTick(ur):ct.once("end",ur),H.on("unpipe",ar);var Gt=(function(ne){return function(){var Ee=ne._readableState;S("pipeOnDrain",Ee.awaitDrain),Ee.awaitDrain&&Ee.awaitDrain--,Ee.awaitDrain===0&&f(ne,"data")&&(Ee.flowing=!0,De(ne))}})(ct);H.on("drain",Gt);var Sr=!1;function kt(Z){S("ondata");var ne=H.write(Z);S("dest.write",ne),ne===!1&&((mt.pipesCount===1&&mt.pipes===H||mt.pipesCount>1&&Wt(mt.pipes,H)!==-1)&&!Sr&&(S("false write response, pause",mt.awaitDrain),mt.awaitDrain++),ct.pause())}function yt(Z){S("onerror",Z),U(),H.removeListener("error",yt),f(H,"error")===0&&se(H,Z)}function Zt(){H.removeListener("finish",pe),U()}function pe(){S("onfinish"),H.removeListener("close",Zt),U()}function U(){S("unpipe"),ct.unpipe(H)}return ct.on("data",kt),(function(ne,ye,Ee){if(typeof ne.prependListener=="function")return ne.prependListener(ye,Ee);ne._events&&ne._events[ye]?Array.isArray(ne._events[ye])?ne._events[ye].unshift(Ee):ne._events[ye]=[Ee,ne._events[ye]]:ne.on(ye,Ee)})(H,"error",yt),H.once("close",Zt),H.once("finish",pe),H.emit("pipe",ct),mt.flowing||(S("pipe resume"),ct.resume()),H},ge.prototype.unpipe=function(H){var we=this._readableState,ct={hasUnpiped:!1};if(we.pipesCount===0)return this;if(we.pipesCount===1)return H&&H!==we.pipes||(H||(H=we.pipes),we.pipes=null,we.pipesCount=0,we.flowing=!1,H&&H.emit("unpipe",this,ct)),this;if(!H){var mt=we.pipes,ur=we.pipesCount;we.pipes=null,we.pipesCount=0,we.flowing=!1;for(var ar=0;ar<ur;ar++)mt[ar].emit("unpipe",this,{hasUnpiped:!1});return this}var Tt=Wt(we.pipes,H);return Tt===-1||(we.pipes.splice(Tt,1),we.pipesCount-=1,we.pipesCount===1&&(we.pipes=we.pipes[0]),H.emit("unpipe",this,ct)),this},ge.prototype.on=function(H,we){var ct=y.prototype.on.call(this,H,we),mt=this._readableState;return H==="data"?(mt.readableListening=this.listenerCount("readable")>0,mt.flowing!==!1&&this.resume()):H==="readable"&&(mt.endEmitted||mt.readableListening||(mt.readableListening=mt.needReadable=!0,mt.flowing=!1,mt.emittedReadable=!1,S("on readable",mt.length,mt.reading),mt.length?nt(this):mt.reading||v.nextTick(Xe,this))),ct},ge.prototype.addListener=ge.prototype.on,ge.prototype.removeListener=function(H,we){var ct=y.prototype.removeListener.call(this,H,we);return H==="readable"&&v.nextTick(at,this),ct},ge.prototype.removeAllListeners=function(H){var we=y.prototype.removeAllListeners.apply(this,arguments);return H!=="readable"&&H!==void 0||v.nextTick(at,this),we},ge.prototype.resume=function(){var H=this._readableState;return H.flowing||(S("resume"),H.flowing=!H.readableListening,(function(ct,mt){mt.resumeScheduled||(mt.resumeScheduled=!0,v.nextTick(Se,ct,mt))})(this,H)),H.paused=!1,this},ge.prototype.pause=function(){return S("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(S("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},ge.prototype.wrap=function(H){var we=this,ct=this._readableState,mt=!1;for(var ur in H.on("end",(function(){if(S("wrapped end"),ct.decoder&&!ct.ended){var Tt=ct.decoder.end();Tt&&Tt.length&&we.push(Tt)}we.push(null)})),H.on("data",(function(Tt){S("wrapped data"),ct.decoder&&(Tt=ct.decoder.write(Tt)),ct.objectMode&&Tt==null||(ct.objectMode||Tt&&Tt.length)&&(we.push(Tt)||(mt=!0,H.pause()))})),H)this[ur]===void 0&&typeof H[ur]=="function"&&(this[ur]=(function(Gt){return function(){return H[Gt].apply(H,arguments)}})(ur));for(var ar=0;ar<Te.length;ar++)H.on(Te[ar],this.emit.bind(this,Te[ar]));return this._read=function(Tt){S("wrapped _read",Tt),mt&&(mt=!1,H.resume())},this},typeof Symbol=="function"&&(ge.prototype[Symbol.asyncIterator]=function(){return I===void 0&&(I=s(2955)),I(this)}),Object.defineProperty(ge.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(ge.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(ge.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(we){this._readableState&&(this._readableState.flowing=we)}}),ge._fromList=Ke,Object.defineProperty(ge.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol=="function"&&(ge.from=function(H,we){return j===void 0&&(j=s(55157)),j(ge,H,we)})},74610(w,N,s){w.exports=_;var h=s(86048).F,v=h.ERR_METHOD_NOT_IMPLEMENTED,f=h.ERR_MULTIPLE_CALLBACK,y=h.ERR_TRANSFORM_ALREADY_TRANSFORMING,m=h.ERR_TRANSFORM_WITH_LENGTH_0,g=s(25382);function S(j,M){var z=this._transformState;z.transforming=!1;var K=z.writecb;if(K===null)return this.emit("error",new f);z.writechunk=null,z.writecb=null,M!=null&&this.push(M),K(j);var Y=this._readableState;Y.reading=!1,(Y.needReadable||Y.length<Y.highWaterMark)&&this._read(Y.highWaterMark)}function _(j){if(!(this instanceof _))return new _(j);g.call(this,j),this._transformState={afterTransform:S.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,j&&(typeof j.transform=="function"&&(this._transform=j.transform),typeof j.flush=="function"&&(this._flush=j.flush)),this.on("prefinish",T)}function T(){var j=this;typeof this._flush!="function"||this._readableState.destroyed?I(this,null,null):this._flush((function(M,z){I(j,M,z)}))}function I(j,M,z){if(M)return j.emit("error",M);if(z!=null&&j.push(z),j._writableState.length)throw new m;if(j._transformState.transforming)throw new y;return j.push(null)}s(56698)(_,g),_.prototype.push=function(j,M){return this._transformState.needTransform=!1,g.prototype.push.call(this,j,M)},_.prototype._transform=function(j,M,z){z(new v("_transform()"))},_.prototype._write=function(j,M,z){var K=this._transformState;if(K.writecb=z,K.writechunk=j,K.writeencoding=M,!K.transforming){var Y=this._readableState;(K.needTransform||Y.needReadable||Y.length<Y.highWaterMark)&&this._read(Y.highWaterMark)}},_.prototype._read=function(j){var M=this._transformState;M.writechunk===null||M.transforming?M.needTransform=!0:(M.transforming=!0,this._transform(M.writechunk,M.writeencoding,M.afterTransform))},_.prototype._destroy=function(j,M){g.prototype._destroy.call(this,j,(function(z){M(z)}))}},16708(w,N,s){var h,v=s(65606);function f(Re){var u=this;this.next=null,this.entry=null,this.finish=function(){(function(Xe,Se,De){var Ke=Xe.entry;for(Xe.entry=null;Ke;){var ft=Ke.callback;Se.pendingcb--,ft(De),Ke=Ke.next}Se.corkedRequestsFree.next=Xe})(u,Re)}}w.exports=ge,ge.WritableState=he;var y={deprecate:s(94643)},m=s(40345),g=s(48287).Buffer,S=(s.g!==void 0?s.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},_,T=s(75896),I=s(65291).getHighWaterMark,j=s(86048).F,M=j.ERR_INVALID_ARG_TYPE,z=j.ERR_METHOD_NOT_IMPLEMENTED,K=j.ERR_MULTIPLE_CALLBACK,Y=j.ERR_STREAM_CANNOT_PIPE,B=j.ERR_STREAM_DESTROYED,X=j.ERR_STREAM_NULL_VALUES,te=j.ERR_STREAM_WRITE_AFTER_END,ie=j.ERR_UNKNOWN_ENCODING,se=T.errorOrDestroy;function Te(){}function he(Re,u,at){h=h||s(25382),Re=Re||{},typeof at!="boolean"&&(at=u instanceof h),this.objectMode=!!Re.objectMode,at&&(this.objectMode=this.objectMode||!!Re.writableObjectMode),this.highWaterMark=I(this,Re,"writableHighWaterMark",at),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Xe=Re.decodeStrings===!1;this.decodeStrings=!Xe,this.defaultEncoding=Re.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Se){(function(Ke,ft){var Nt=Ke._writableState,Wt=Nt.sync,H=Nt.writecb;if(typeof H!="function")throw new K;if((function(mt){mt.writing=!1,mt.writecb=null,mt.length-=mt.writelen,mt.writelen=0})(Nt),ft)(function(mt,ur,ar,Tt,Gt){--ur.pendingcb,ar?(v.nextTick(Gt,Tt),v.nextTick(gt,mt,ur),mt._writableState.errorEmitted=!0,se(mt,Tt)):(Gt(Tt),mt._writableState.errorEmitted=!0,se(mt,Tt),gt(mt,ur))})(Ke,Nt,Wt,ft,H);else{var we=qe(Nt)||Ke.destroyed;we||Nt.corked||Nt.bufferProcessing||!Nt.bufferedRequest||He(Ke,Nt),Wt?v.nextTick(Ve,Ke,Nt,we,H):Ve(Ke,Nt,we,H)}})(u,Se)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Re.emitClose!==!1,this.autoDestroy=!!Re.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new f(this)}function ge(Re){var u=this instanceof(h=h||s(25382));if(!u&&!_.call(ge,this))return new ge(Re);this._writableState=new he(Re,this,u),this.writable=!0,Re&&(typeof Re.write=="function"&&(this._write=Re.write),typeof Re.writev=="function"&&(this._writev=Re.writev),typeof Re.destroy=="function"&&(this._destroy=Re.destroy),typeof Re.final=="function"&&(this._final=Re.final)),m.call(this)}function ke(Re,u,at,Xe,Se,De,Ke){u.writelen=Xe,u.writecb=Ke,u.writing=!0,u.sync=!0,u.destroyed?u.onwrite(new B("write")):at?Re._writev(Se,u.onwrite):Re._write(Se,De,u.onwrite),u.sync=!1}function Ve(Re,u,at,Xe){at||(function(De,Ke){Ke.length===0&&Ke.needDrain&&(Ke.needDrain=!1,De.emit("drain"))})(Re,u),u.pendingcb--,Xe(),gt(Re,u)}function He(Re,u){u.bufferProcessing=!0;var at=u.bufferedRequest;if(Re._writev&&at&&at.next){var Xe=u.bufferedRequestCount,Se=new Array(Xe),De=u.corkedRequestsFree;De.entry=at;for(var Ke=0,ft=!0;at;)Se[Ke]=at,at.isBuf||(ft=!1),at=at.next,Ke+=1;Se.allBuffers=ft,ke(Re,u,!0,u.length,Se,"",De.finish),u.pendingcb++,u.lastBufferedRequest=null,De.next?(u.corkedRequestsFree=De.next,De.next=null):u.corkedRequestsFree=new f(u),u.bufferedRequestCount=0}else{for(;at;){var Nt=at.chunk,Wt=at.encoding,H=at.callback;if(ke(Re,u,!1,u.objectMode?1:Nt.length,Nt,Wt,H),at=at.next,u.bufferedRequestCount--,u.writing)break}at===null&&(u.lastBufferedRequest=null)}u.bufferedRequest=at,u.bufferProcessing=!1}function qe(Re){return Re.ending&&Re.length===0&&Re.bufferedRequest===null&&!Re.finished&&!Re.writing}function nt(Re,u){Re._final((function(at){u.pendingcb--,at&&se(Re,at),u.prefinished=!0,Re.emit("prefinish"),gt(Re,u)}))}function gt(Re,u){var at=qe(u);if(at&&((function(De,Ke){Ke.prefinished||Ke.finalCalled||(typeof De._final!="function"||Ke.destroyed?(Ke.prefinished=!0,De.emit("prefinish")):(Ke.pendingcb++,Ke.finalCalled=!0,v.nextTick(nt,De,Ke)))})(Re,u),u.pendingcb===0&&(u.finished=!0,Re.emit("finish"),u.autoDestroy))){var Xe=Re._readableState;(!Xe||Xe.autoDestroy&&Xe.endEmitted)&&Re.destroy()}return at}s(56698)(ge,m),he.prototype.getBuffer=function(){for(var u=this.bufferedRequest,at=[];u;)at.push(u),u=u.next;return at},(function(){try{Object.defineProperty(he.prototype,"buffer",{get:y.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(_=Function.prototype[Symbol.hasInstance],Object.defineProperty(ge,Symbol.hasInstance,{value:function(u){return!!_.call(this,u)||this===ge&&u&&u._writableState instanceof he}})):_=function(u){return u instanceof this},ge.prototype.pipe=function(){se(this,new Y)},ge.prototype.write=function(Re,u,at){var Xe=this._writableState,Se=!1,De=!Xe.objectMode&&(function(ft){return g.isBuffer(ft)||ft instanceof S})(Re);return De&&!g.isBuffer(Re)&&(Re=(function(ft){return g.from(ft)})(Re)),typeof u=="function"&&(at=u,u=null),De?u="buffer":u||(u=Xe.defaultEncoding),typeof at!="function"&&(at=Te),Xe.ending?(function(ft,Nt){var Wt=new te;se(ft,Wt),v.nextTick(Nt,Wt)})(this,at):(De||(function(ft,Nt,Wt,H){var we;return Wt===null?we=new X:typeof Wt=="string"||Nt.objectMode||(we=new M("chunk",["string","Buffer"],Wt)),!we||(se(ft,we),v.nextTick(H,we),!1)})(this,Xe,Re,at))&&(Xe.pendingcb++,Se=(function(ft,Nt,Wt,H,we,ct){if(!Wt){var mt=(function(Sr,kt,yt){return Sr.objectMode||Sr.decodeStrings===!1||typeof kt!="string"||(kt=g.from(kt,yt)),kt})(Nt,H,we);H!==mt&&(Wt=!0,we="buffer",H=mt)}var ur=Nt.objectMode?1:H.length;Nt.length+=ur;var ar=Nt.length<Nt.highWaterMark;if(ar||(Nt.needDrain=!0),Nt.writing||Nt.corked){var Tt=Nt.lastBufferedRequest;Nt.lastBufferedRequest={chunk:H,encoding:we,isBuf:Wt,callback:ct,next:null},Tt?Tt.next=Nt.lastBufferedRequest:Nt.bufferedRequest=Nt.lastBufferedRequest,Nt.bufferedRequestCount+=1}else ke(ft,Nt,!1,ur,H,we,ct);return ar})(this,Xe,De,Re,u,at)),Se},ge.prototype.cork=function(){this._writableState.corked++},ge.prototype.uncork=function(){var Re=this._writableState;Re.corked&&(Re.corked--,Re.writing||Re.corked||Re.bufferProcessing||!Re.bufferedRequest||He(this,Re))},ge.prototype.setDefaultEncoding=function(u){if(typeof u=="string"&&(u=u.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((u+"").toLowerCase())>-1))throw new ie(u);return this._writableState.defaultEncoding=u,this},Object.defineProperty(ge.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(ge.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),ge.prototype._write=function(Re,u,at){at(new z("_write()"))},ge.prototype._writev=null,ge.prototype.end=function(Re,u,at){var Xe=this._writableState;return typeof Re=="function"?(at=Re,Re=null,u=null):typeof u=="function"&&(at=u,u=null),Re!=null&&this.write(Re,u),Xe.corked&&(Xe.corked=1,this.uncork()),Xe.ending||(function(De,Ke,ft){Ke.ending=!0,gt(De,Ke),ft&&(Ke.finished?v.nextTick(ft):De.once("finish",ft)),Ke.ended=!0,De.writable=!1})(this,Xe,at),this},Object.defineProperty(ge.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(ge.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(u){this._writableState&&(this._writableState.destroyed=u)}}),ge.prototype.destroy=T.destroy,ge.prototype._undestroy=T.undestroy,ge.prototype._destroy=function(Re,u){u(Re)}},2955(w,N,s){var h,v=s(65606);function f(X,te,ie){return(te=(function(Te){var he=(function(ke,Ve){if(typeof ke!="object"||ke===null)return ke;var He=ke[Symbol.toPrimitive];if(He!==void 0){var qe=He.call(ke,Ve);if(typeof qe!="object")return qe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Ve==="string"?String:Number)(ke)})(Te,"string");return typeof he=="symbol"?he:String(he)})(te))in X?Object.defineProperty(X,te,{value:ie,enumerable:!0,configurable:!0,writable:!0}):X[te]=ie,X}var y=s(86238),m=Symbol("lastResolve"),g=Symbol("lastReject"),S=Symbol("error"),_=Symbol("ended"),T=Symbol("lastPromise"),I=Symbol("handlePromise"),j=Symbol("stream");function M(X,te){return{value:X,done:te}}function z(X){var te=X[m];if(te!==null){var ie=X[j].read();ie!==null&&(X[T]=null,X[m]=null,X[g]=null,te(M(ie,!1)))}}function K(X){v.nextTick(z,X)}var Y=Object.getPrototypeOf((function(){})),B=Object.setPrototypeOf((f(h={get stream(){return this[j]},next:function(){var te=this,ie=this[S];if(ie!==null)return Promise.reject(ie);if(this[_])return Promise.resolve(M(void 0,!0));if(this[j].destroyed)return new Promise((function(ge,ke){v.nextTick((function(){te[S]?ke(te[S]):ge(M(void 0,!0))}))}));var se,Te=this[T];if(Te)se=new Promise((function(ke,Ve){return function(He,qe){ke.then((function(){Ve[_]?He(M(void 0,!0)):Ve[I](He,qe)}),qe)}})(Te,this));else{var he=this[j].read();if(he!==null)return Promise.resolve(M(he,!1));se=new Promise(this[I])}return this[T]=se,se}},Symbol.asyncIterator,(function(){return this})),f(h,"return",(function(){var te=this;return new Promise((function(ie,se){te[j].destroy(null,(function(Te){Te?se(Te):ie(M(void 0,!0))}))}))})),h),Y);w.exports=function(te){var ie,se=Object.create(B,(f(ie={},j,{value:te,writable:!0}),f(ie,m,{value:null,writable:!0}),f(ie,g,{value:null,writable:!0}),f(ie,S,{value:null,writable:!0}),f(ie,_,{value:te._readableState.endEmitted,writable:!0}),f(ie,I,{value:function(he,ge){var ke=se[j].read();ke?(se[T]=null,se[m]=null,se[g]=null,he(M(ke,!1))):(se[m]=he,se[g]=ge)},writable:!0}),ie));return se[T]=null,y(te,(function(Te){if(Te&&Te.code!=="ERR_STREAM_PREMATURE_CLOSE"){var he=se[g];return he!==null&&(se[T]=null,se[m]=null,se[g]=null,he(Te)),void(se[S]=Te)}var ge=se[m];ge!==null&&(se[T]=null,se[m]=null,se[g]=null,ge(M(void 0,!0))),se[_]=!0})),te.on("readable",K.bind(null,se)),se}},80345(w,N,s){function h(T,I){var j=Object.keys(T);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(T);I&&(M=M.filter((function(z){return Object.getOwnPropertyDescriptor(T,z).enumerable}))),j.push.apply(j,M)}return j}function v(T){for(var I=1;I<arguments.length;I++){var j=arguments[I]!=null?arguments[I]:{};I%2?h(Object(j),!0).forEach((function(M){f(T,M,j[M])})):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(j)):h(Object(j)).forEach((function(M){Object.defineProperty(T,M,Object.getOwnPropertyDescriptor(j,M))}))}return T}function f(T,I,j){return(I=m(I))in T?Object.defineProperty(T,I,{value:j,enumerable:!0,configurable:!0,writable:!0}):T[I]=j,T}function y(T,I){for(var j=0;j<I.length;j++){var M=I[j];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(T,m(M.key),M)}}function m(T){var I=(function(M,z){if(typeof M!="object"||M===null)return M;var K=M[Symbol.toPrimitive];if(K!==void 0){var Y=K.call(M,z);if(typeof Y!="object")return Y;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)})(T,"string");return typeof I=="symbol"?I:String(I)}var g=s(48287).Buffer,S=s(15340).inspect,_=S&&S.custom||"inspect";w.exports=(function(){function T(){(function(j,M){if(!(j instanceof M))throw new TypeError("Cannot call a class as a function")})(this,T),this.head=null,this.tail=null,this.length=0}return(function(j,M,z){return M&&y(j.prototype,M),Object.defineProperty(j,"prototype",{writable:!1}),j})(T,[{key:"push",value:function(j){var M={data:j,next:null};this.length>0?this.tail.next=M:this.head=M,this.tail=M,++this.length}},{key:"unshift",value:function(j){var M={data:j,next:this.head};this.length===0&&(this.tail=M),this.head=M,++this.length}},{key:"shift",value:function(){if(this.length!==0){var j=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,j}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(j){if(this.length===0)return"";for(var M=this.head,z=""+M.data;M=M.next;)z+=j+M.data;return z}},{key:"concat",value:function(j){if(this.length===0)return g.alloc(0);for(var M,z,K,Y=g.allocUnsafe(j>>>0),B=this.head,X=0;B;)M=B.data,z=Y,K=X,g.prototype.copy.call(M,z,K),X+=B.data.length,B=B.next;return Y}},{key:"consume",value:function(j,M){var z;return j<this.head.data.length?(z=this.head.data.slice(0,j),this.head.data=this.head.data.slice(j)):z=j===this.head.data.length?this.shift():M?this._getString(j):this._getBuffer(j),z}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(j){var M=this.head,z=1,K=M.data;for(j-=K.length;M=M.next;){var Y=M.data,B=j>Y.length?Y.length:j;if(B===Y.length?K+=Y:K+=Y.slice(0,j),(j-=B)===0){B===Y.length?(++z,M.next?this.head=M.next:this.head=this.tail=null):(this.head=M,M.data=Y.slice(B));break}++z}return this.length-=z,K}},{key:"_getBuffer",value:function(j){var M=g.allocUnsafe(j),z=this.head,K=1;for(z.data.copy(M),j-=z.data.length;z=z.next;){var Y=z.data,B=j>Y.length?Y.length:j;if(Y.copy(M,M.length-j,0,B),(j-=B)===0){B===Y.length?(++K,z.next?this.head=z.next:this.head=this.tail=null):(this.head=z,z.data=Y.slice(B));break}++K}return this.length-=K,M}},{key:_,value:function(j,M){return S(this,v(v({},M),{},{depth:0,customInspect:!1}))}}]),T})()},75896(w,N,s){var h=s(65606);function v(m,g){y(m,g),f(m)}function f(m){m._writableState&&!m._writableState.emitClose||m._readableState&&!m._readableState.emitClose||m.emit("close")}function y(m,g){m.emit("error",g)}w.exports={destroy:function(g,S){var _=this,T=this._readableState&&this._readableState.destroyed,I=this._writableState&&this._writableState.destroyed;return T||I?(S?S(g):g&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,h.nextTick(y,this,g)):h.nextTick(y,this,g)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(g||null,(function(j){!S&&j?_._writableState?_._writableState.errorEmitted?h.nextTick(f,_):(_._writableState.errorEmitted=!0,h.nextTick(v,_,j)):h.nextTick(v,_,j):S?(h.nextTick(f,_),S(j)):h.nextTick(f,_)})),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(g,S){var _=g._readableState,T=g._writableState;_&&_.autoDestroy||T&&T.autoDestroy?g.destroy(S):g.emit("error",S)}}},86238(w,N,s){var h=s(86048).F.ERR_STREAM_PREMATURE_CLOSE;function v(){}w.exports=function f(y,m,g){if(typeof m=="function")return f(y,null,m);m||(m={}),g=(function(te){var ie=!1;return function(){if(!ie){ie=!0;for(var se=arguments.length,Te=new Array(se),he=0;he<se;he++)Te[he]=arguments[he];te.apply(this,Te)}}})(g||v);var S=m.readable||m.readable!==!1&&y.readable,_=m.writable||m.writable!==!1&&y.writable,T=function(){y.writable||j()},I=y._writableState&&y._writableState.finished,j=function(){_=!1,I=!0,S||g.call(y)},M=y._readableState&&y._readableState.endEmitted,z=function(){S=!1,M=!0,_||g.call(y)},K=function(te){g.call(y,te)},Y=function(){var te;return S&&!M?(y._readableState&&y._readableState.ended||(te=new h),g.call(y,te)):_&&!I?(y._writableState&&y._writableState.ended||(te=new h),g.call(y,te)):void 0},B=function(){y.req.on("finish",j)};return(function(te){return te.setHeader&&typeof te.abort=="function"})(y)?(y.on("complete",j),y.on("abort",Y),y.req?B():y.on("request",B)):_&&!y._writableState&&(y.on("end",T),y.on("close",T)),y.on("end",z),y.on("finish",j),m.error!==!1&&y.on("error",K),y.on("close",Y),function(){y.removeListener("complete",j),y.removeListener("abort",Y),y.removeListener("request",B),y.req&&y.req.removeListener("finish",j),y.removeListener("end",T),y.removeListener("close",T),y.removeListener("finish",j),y.removeListener("end",z),y.removeListener("error",K),y.removeListener("close",Y)}}},55157(w){w.exports=function(){throw new Error("Readable.from is not available in the browser")}},57758(w,N,s){var h,v=s(86048).F,f=v.ERR_MISSING_ARGS,y=v.ERR_STREAM_DESTROYED;function m(_){if(_)throw _}function g(_){_()}function S(_,T){return _.pipe(T)}w.exports=function(){for(var T=arguments.length,I=new Array(T),j=0;j<T;j++)I[j]=arguments[j];var M,z=(function(B){return B.length?typeof B[B.length-1]!="function"?m:B.pop():m})(I);if(Array.isArray(I[0])&&(I=I[0]),I.length<2)throw new f("streams");var K=I.map((function(Y,B){var X=B<I.length-1;return(function(ie,se,Te,he){he=(function(He){var qe=!1;return function(){qe||(qe=!0,He.apply(void 0,arguments))}})(he);var ge=!1;ie.on("close",(function(){ge=!0})),h===void 0&&(h=s(86238)),h(ie,{readable:se,writable:Te},(function(Ve){if(Ve)return he(Ve);ge=!0,he()}));var ke=!1;return function(Ve){if(!ge&&!ke)return ke=!0,(function(qe){return qe.setHeader&&typeof qe.abort=="function"})(ie)?ie.abort():typeof ie.destroy=="function"?ie.destroy():void he(Ve||new y("pipe"))}})(Y,X,B>0,(function(te){M||(M=te),te&&K.forEach(g),X||(K.forEach(g),z(M))}))}));return I.reduce(S)}},65291(w,N,s){var h=s(86048).F.ERR_INVALID_OPT_VALUE;w.exports={getHighWaterMark:function(f,y,m,g){var S=(function(T,I,j){return T.highWaterMark!=null?T.highWaterMark:I?T[j]:null})(y,g,m);if(S!=null){if(!isFinite(S)||Math.floor(S)!==S||S<0)throw new h(g?m:"highWaterMark",S);return Math.floor(S)}return f.objectMode?16:16384}}},40345(w,N,s){w.exports=s(37007).EventEmitter},84977(w,N,s){Object.defineProperty(N,"__esModule",{value:!0});var h=(function(y){return y&&y.__esModule?y:{default:y}})(s(49568)),v=s(55674);N.default=function(f){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h.default.Map,m=Object.keys(f);return function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y(),S=arguments[1];return g.withMutations((function(_){m.forEach((function(T){var I=(0,f[T])(_.get(T),S);(0,v.validateNextState)(I,T,S),_.set(T,I)}))}))}},w.exports=N.default},89593(w,N,s){N.H=void 0;var h=(function(f){return f&&f.__esModule?f:{default:f}})(s(84977));N.H=h.default},48590(w,N){Object.defineProperty(N,"__esModule",{value:!0}),N.default=function(s){return s&&s.type==="@@redux/INIT"?"initialState argument passed to createStore":"previous state received by the reducer"},w.exports=N.default},82261(w,N,s){Object.defineProperty(N,"__esModule",{value:!0});var h=f(s(49568)),v=f(s(48590));function f(y){return y&&y.__esModule?y:{default:y}}N.default=function(y,m,g){var S=Object.keys(m);if(!S.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";var _=(0,v.default)(g);if(h.default.isImmutable?!h.default.isImmutable(y):!h.default.Iterable.isIterable(y))return"The "+_+' is of unexpected type. Expected argument to be an instance of Immutable.Collection or Immutable.Record with the following properties: "'+S.join('", "')+'".';var T=y.toSeq().keySeq().toArray().filter((function(I){return!m.hasOwnProperty(I)}));return T.length>0?"Unexpected "+(T.length===1?"property":"properties")+' "'+T.join('", "')+'" found in '+_+'. Expected to find one of the known reducer property names instead: "'+S.join('", "')+'". Unexpected properties will be ignored.':null},w.exports=N.default},55674(w,N,s){Object.defineProperty(N,"__esModule",{value:!0}),N.validateNextState=N.getUnexpectedInvocationParameterMessage=N.getStateName=void 0;var h=y(s(48590)),v=y(s(82261)),f=y(s(27374));function y(m){return m&&m.__esModule?m:{default:m}}N.getStateName=h.default,N.getUnexpectedInvocationParameterMessage=v.default,N.validateNextState=f.default},27374(w,N){Object.defineProperty(N,"__esModule",{value:!0}),N.default=function(s,h,v){if(s===void 0)throw new Error('Reducer "'+h+'" returned undefined when handling "'+v.type+'" action. To ignore an action, you must explicitly return the previous state.')},w.exports=N.default},75208(w){var N,s="";w.exports=function(v,f){if(typeof v!="string")throw new TypeError("expected a string");if(f===1)return v;if(f===2)return v+v;var y=v.length*f;if(N!==v||N===void 0)N=v,s="";else if(s.length>=y)return s.substr(0,y);for(;y>s.length&&f>1;)1&f&&(s+=v),f>>=1,v+=v;return s=(s+=v).substr(0,y)}},92063(w){w.exports=function(s,h){if(h=h.split(":")[0],!(s=+s))return!1;switch(h){case"http":case"ws":return s!==80;case"https":case"wss":return s!==443;case"ftp":return s!==21;case"gopher":return s!==70;case"file":return!1}return s!==0}},27096(w,N,s){const h=s(87586),v=s(6205),f=s(10023),y=s(8048);w.exports=m=>{var g,S,_=0,T={type:v.ROOT,stack:[]},I=T,j=T.stack,M=[],z=he=>{h.error(m,"Nothing to repeat at column "+(he-1))},K=h.strToChars(m);for(g=K.length;_<g;)switch(S=K[_++]){case"\\":switch(S=K[_++]){case"b":j.push(y.wordBoundary());break;case"B":j.push(y.nonWordBoundary());break;case"w":j.push(f.words());break;case"W":j.push(f.notWords());break;case"d":j.push(f.ints());break;case"D":j.push(f.notInts());break;case"s":j.push(f.whitespace());break;case"S":j.push(f.notWhitespace());break;default:/\d/.test(S)?j.push({type:v.REFERENCE,value:parseInt(S,10)}):j.push({type:v.CHAR,value:S.charCodeAt(0)})}break;case"^":j.push(y.begin());break;case"$":j.push(y.end());break;case"[":var Y;K[_]==="^"?(Y=!0,_++):Y=!1;var B=h.tokenizeClass(K.slice(_),m);_+=B[1],j.push({type:v.SET,set:B[0],not:Y});break;case".":j.push(f.anyChar());break;case"(":var X={type:v.GROUP,stack:[],remember:!0};(S=K[_])==="?"&&(S=K[_+1],_+=2,S==="="?X.followedBy=!0:S==="!"?X.notFollowedBy=!0:S!==":"&&h.error(m,`Invalid group, character '${S}' after '?' at column `+(_-1)),X.remember=!1),j.push(X),M.push(I),I=X,j=X.stack;break;case")":M.length===0&&h.error(m,"Unmatched ) at column "+(_-1)),j=(I=M.pop()).options?I.options[I.options.length-1]:I.stack;break;case"|":I.options||(I.options=[I.stack],delete I.stack);var te=[];I.options.push(te),j=te;break;case"{":var ie,se,Te=/^(\d+)(,(\d+)?)?\}/.exec(K.slice(_));Te!==null?(j.length===0&&z(_),ie=parseInt(Te[1],10),se=Te[2]?Te[3]?parseInt(Te[3],10):1/0:ie,_+=Te[0].length,j.push({type:v.REPETITION,min:ie,max:se,value:j.pop()})):j.push({type:v.CHAR,value:123});break;case"?":j.length===0&&z(_),j.push({type:v.REPETITION,min:0,max:1,value:j.pop()});break;case"+":j.length===0&&z(_),j.push({type:v.REPETITION,min:1,max:1/0,value:j.pop()});break;case"*":j.length===0&&z(_),j.push({type:v.REPETITION,min:0,max:1/0,value:j.pop()});break;default:j.push({type:v.CHAR,value:S.charCodeAt(0)})}return M.length!==0&&h.error(m,"Unterminated group"),T},w.exports.types=v},8048(w,N,s){const h=s(6205);N.wordBoundary=()=>({type:h.POSITION,value:"b"}),N.nonWordBoundary=()=>({type:h.POSITION,value:"B"}),N.begin=()=>({type:h.POSITION,value:"^"}),N.end=()=>({type:h.POSITION,value:"$"})},10023(w,N,s){const h=s(6205),v=()=>[{type:h.RANGE,from:48,to:57}],f=()=>[{type:h.CHAR,value:95},{type:h.RANGE,from:97,to:122},{type:h.RANGE,from:65,to:90}].concat(v()),y=()=>[{type:h.CHAR,value:9},{type:h.CHAR,value:10},{type:h.CHAR,value:11},{type:h.CHAR,value:12},{type:h.CHAR,value:13},{type:h.CHAR,value:32},{type:h.CHAR,value:160},{type:h.CHAR,value:5760},{type:h.RANGE,from:8192,to:8202},{type:h.CHAR,value:8232},{type:h.CHAR,value:8233},{type:h.CHAR,value:8239},{type:h.CHAR,value:8287},{type:h.CHAR,value:12288},{type:h.CHAR,value:65279}];N.words=()=>({type:h.SET,set:f(),not:!1}),N.notWords=()=>({type:h.SET,set:f(),not:!0}),N.ints=()=>({type:h.SET,set:v(),not:!1}),N.notInts=()=>({type:h.SET,set:v(),not:!0}),N.whitespace=()=>({type:h.SET,set:y(),not:!1}),N.notWhitespace=()=>({type:h.SET,set:y(),not:!0}),N.anyChar=()=>({type:h.SET,set:[{type:h.CHAR,value:10},{type:h.CHAR,value:13},{type:h.CHAR,value:8232},{type:h.CHAR,value:8233}],not:!0})},6205(w){w.exports={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7}},87586(w,N,s){const h=s(6205),v=s(10023),f={0:0,t:9,n:10,v:11,f:12,r:13};N.strToChars=function(y){return y=y.replace(/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g,(function(m,g,S,_,T,I,j,M){if(S)return m;var z=g?8:_?parseInt(_,16):T?parseInt(T,16):I?parseInt(I,8):j?"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?".indexOf(j):f[M],K=String.fromCharCode(z);return/[[\]{}^$.|?*+()]/.test(K)&&(K="\\"+K),K}))},N.tokenizeClass=(y,m)=>{for(var g,S,_=[],T=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?([^])/g;(g=T.exec(y))!=null;)if(g[1])_.push(v.words());else if(g[2])_.push(v.ints());else if(g[3])_.push(v.whitespace());else if(g[4])_.push(v.notWords());else if(g[5])_.push(v.notInts());else if(g[6])_.push(v.notWhitespace());else if(g[7])_.push({type:h.RANGE,from:(g[8]||g[9]).charCodeAt(0),to:g[10].charCodeAt(0)});else{if(!(S=g[12]))return[_,T.lastIndex];_.push({type:h.CHAR,value:S.charCodeAt(0)})}N.error(m,"Unterminated character class")},N.error=(y,m)=>{throw new SyntaxError("Invalid regular expression: /"+y+"/: "+m)}},92861(w,N,s){var h=s(48287),v=h.Buffer;function f(m,g){for(var S in m)g[S]=m[S]}function y(m,g,S){return v(m,g,S)}v.from&&v.alloc&&v.allocUnsafe&&v.allocUnsafeSlow?w.exports=h:(f(h,N),N.Buffer=y),y.prototype=Object.create(v.prototype),f(v,y),y.from=function(m,g,S){if(typeof m=="number")throw new TypeError("Argument must not be a number");return v(m,g,S)},y.alloc=function(m,g,S){if(typeof m!="number")throw new TypeError("Argument must be a number");var _=v(m);return g!==void 0?typeof S=="string"?_.fill(g,S):_.fill(g):_.fill(0),_},y.allocUnsafe=function(m){if(typeof m!="number")throw new TypeError("Argument must be a number");return v(m)},y.allocUnsafeSlow=function(m){if(typeof m!="number")throw new TypeError("Argument must be a number");return h.SlowBuffer(m)}},29844(w,N){function s(Xe,Se){var De=Xe.length;Xe.push(Se);e:for(;0<De;){var Ke=De-1>>>1,ft=Xe[Ke];if(!(0<f(ft,Se)))break e;Xe[Ke]=Se,Xe[De]=ft,De=Ke}}function h(Xe){return Xe.length===0?null:Xe[0]}function v(Xe){if(Xe.length===0)return null;var Se=Xe[0],De=Xe.pop();if(De!==Se){Xe[0]=De;e:for(var Ke=0,ft=Xe.length,Nt=ft>>>1;Ke<Nt;){var Wt=2*(Ke+1)-1,H=Xe[Wt],we=Wt+1,ct=Xe[we];if(0>f(H,De))we<ft&&0>f(ct,H)?(Xe[Ke]=ct,Xe[we]=De,Ke=we):(Xe[Ke]=H,Xe[Wt]=De,Ke=Wt);else{if(!(we<ft&&0>f(ct,De)))break e;Xe[Ke]=ct,Xe[we]=De,Ke=we}}}return Se}function f(Xe,Se){var De=Xe.sortIndex-Se.sortIndex;return De!==0?De:Xe.id-Se.id}if(typeof performance=="object"&&typeof performance.now=="function"){var y=performance;N.unstable_now=function(){return y.now()}}else{var m=Date,g=m.now();N.unstable_now=function(){return m.now()-g}}var S=[],_=[],T=1,I=null,j=3,M=!1,z=!1,K=!1,Y=typeof setTimeout=="function"?setTimeout:null,B=typeof clearTimeout=="function"?clearTimeout:null,X=typeof setImmediate<"u"?setImmediate:null;function te(Xe){for(var Se=h(_);Se!==null;){if(Se.callback===null)v(_);else{if(!(Se.startTime<=Xe))break;v(_),Se.sortIndex=Se.expirationTime,s(S,Se)}Se=h(_)}}function ie(Xe){if(K=!1,te(Xe),!z)if(h(S)!==null)z=!0,u(se);else{var Se=h(_);Se!==null&&at(ie,Se.startTime-Xe)}}function se(Xe,Se){z=!1,K&&(K=!1,B(ke),ke=-1),M=!0;var De=j;try{for(te(Se),I=h(S);I!==null&&(!(I.expirationTime>Se)||Xe&&!qe());){var Ke=I.callback;if(typeof Ke=="function"){I.callback=null,j=I.priorityLevel;var ft=Ke(I.expirationTime<=Se);Se=N.unstable_now(),typeof ft=="function"?I.callback=ft:I===h(S)&&v(S),te(Se)}else v(S);I=h(S)}if(I!==null)var Nt=!0;else{var Wt=h(_);Wt!==null&&at(ie,Wt.startTime-Se),Nt=!1}return Nt}finally{I=null,j=De,M=!1}}typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var Te,he=!1,ge=null,ke=-1,Ve=5,He=-1;function qe(){return!(N.unstable_now()-He<Ve)}function nt(){if(ge!==null){var Xe=N.unstable_now();He=Xe;var Se=!0;try{Se=ge(!0,Xe)}finally{Se?Te():(he=!1,ge=null)}}else he=!1}if(typeof X=="function")Te=function(){X(nt)};else if(typeof MessageChannel<"u"){var gt=new MessageChannel,Re=gt.port2;gt.port1.onmessage=nt,Te=function(){Re.postMessage(null)}}else Te=function(){Y(nt,0)};function u(Xe){ge=Xe,he||(he=!0,Te())}function at(Xe,Se){ke=Y((function(){Xe(N.unstable_now())}),Se)}N.unstable_IdlePriority=5,N.unstable_ImmediatePriority=1,N.unstable_LowPriority=4,N.unstable_NormalPriority=3,N.unstable_Profiling=null,N.unstable_UserBlockingPriority=2,N.unstable_cancelCallback=function(Xe){Xe.callback=null},N.unstable_continueExecution=function(){z||M||(z=!0,u(se))},N.unstable_forceFrameRate=function(Xe){0>Xe||125<Xe?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ve=0<Xe?Math.floor(1e3/Xe):5},N.unstable_getCurrentPriorityLevel=function(){return j},N.unstable_getFirstCallbackNode=function(){return h(S)},N.unstable_next=function(Xe){switch(j){case 1:case 2:case 3:var Se=3;break;default:Se=j}var De=j;j=Se;try{return Xe()}finally{j=De}},N.unstable_pauseExecution=function(){},N.unstable_requestPaint=function(){},N.unstable_runWithPriority=function(Xe,Se){switch(Xe){case 1:case 2:case 3:case 4:case 5:break;default:Xe=3}var De=j;j=Xe;try{return Se()}finally{j=De}},N.unstable_scheduleCallback=function(Xe,Se,De){var Ke=N.unstable_now();switch(typeof De=="object"&&De!==null?De=typeof(De=De.delay)=="number"&&0<De?Ke+De:Ke:De=Ke,Xe){case 1:var ft=-1;break;case 2:ft=250;break;case 5:ft=1073741823;break;case 4:ft=1e4;break;default:ft=5e3}return Xe={id:T++,callback:Se,priorityLevel:Xe,startTime:De,expirationTime:ft=De+ft,sortIndex:-1},De>Ke?(Xe.sortIndex=De,s(_,Xe),h(S)===null&&Xe===h(_)&&(K?(B(ke),ke=-1):K=!0,at(ie,De-Ke))):(Xe.sortIndex=ft,s(S,Xe),z||M||(z=!0,u(se))),Xe},N.unstable_shouldYield=qe,N.unstable_wrapCallback=function(Xe){var Se=j;return function(){var De=j;j=Se;try{return Xe.apply(this,arguments)}finally{j=De}}}},69982(w,N,s){w.exports=s(29844)},20334(w,N,s){var h=s(48287).Buffer;class v extends Error{constructor(S){super(v._prepareSuperMessage(S)),Object.defineProperty(this,"name",{value:"NonError",configurable:!0,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(this,v)}static _prepareSuperMessage(S){try{return JSON.stringify(S)}catch{return String(S)}}}const f=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],y=Symbol(".toJSON called"),m=({from:g,seen:S,to_:_,forceEnumerable:T,maxDepth:I,depth:j})=>{const M=_||(Array.isArray(g)?[]:{});if(S.push(g),j>=I)return M;if(typeof g.toJSON=="function"&&g[y]!==!0)return(z=>{z[y]=!0;const K=z.toJSON();return delete z[y],K})(g);for(const[z,K]of Object.entries(g))typeof h=="function"&&h.isBuffer(K)?M[z]="[object Buffer]":typeof K!="function"&&(K&&typeof K=="object"?S.includes(g[z])?M[z]="[Circular]":(j++,M[z]=m({from:g[z],seen:S.slice(),forceEnumerable:T,maxDepth:I,depth:j})):M[z]=K);for(const{property:z,enumerable:K}of f)typeof g[z]=="string"&&Object.defineProperty(M,z,{value:g[z],enumerable:!!T||K,configurable:!0,writable:!0});return M};w.exports={serializeError:(g,S={})=>{const{maxDepth:_=Number.POSITIVE_INFINITY}=S;return typeof g=="object"&&g!==null?m({from:g,seen:[],forceEnumerable:!0,maxDepth:_,depth:0}):typeof g=="function"?`[Function: ${g.name||"anonymous"}]`:g},deserializeError:(g,S={})=>{const{maxDepth:_=Number.POSITIVE_INFINITY}=S;if(g instanceof Error)return g;if(typeof g=="object"&&g!==null&&!Array.isArray(g)){const T=new Error;return m({from:g,seen:[],to_:T,maxDepth:_,depth:0}),T}return new v(g)}}},96897(w,N,s){var h=s(70453),v=s(30041),f=s(30592)(),y=s(75795),m=s(69675),g=h("%Math.floor%");w.exports=function(_,T){if(typeof _!="function")throw new m("`fn` is not a function");if(typeof T!="number"||T<0||T>4294967295||g(T)!==T)throw new m("`length` must be a positive 32-bit integer");var I=arguments.length>2&&!!arguments[2],j=!0,M=!0;if("length"in _&&y){var z=y(_,"length");z&&!z.configurable&&(j=!1),z&&!z.writable&&(M=!1)}return(j||M||!I)&&(f?v(_,"length",T,!0,!0):v(_,"length",T)),_}},90392(w,N,s){var h=s(92861).Buffer,v=s(15377);function f(y,m){this._block=h.alloc(y),this._finalSize=m,this._blockSize=y,this._len=0}f.prototype.update=function(y,m){y=v(y,m||"utf8");for(var g=this._block,S=this._blockSize,_=y.length,T=this._len,I=0;I<_;){for(var j=T%S,M=Math.min(_-I,S-j),z=0;z<M;z++)g[j+z]=y[I+z];I+=M,(T+=M)%S==0&&this._update(g)}return this._len+=_,this},f.prototype.digest=function(y){var m=this._len%this._blockSize;this._block[m]=128,this._block.fill(0,m+1),m>=this._finalSize&&(this._update(this._block),this._block.fill(0));var g=8*this._len;if(g<=4294967295)this._block.writeUInt32BE(g,this._blockSize-4);else{var S=(4294967295&g)>>>0,_=(g-S)/4294967296;this._block.writeUInt32BE(_,this._blockSize-8),this._block.writeUInt32BE(S,this._blockSize-4)}this._update(this._block);var T=this._hash();return y?T.toString(y):T},f.prototype._update=function(){throw new Error("_update must be implemented by subclass")},w.exports=f},62802(w,N,s){w.exports=function(v){var f=v.toLowerCase(),y=w.exports[f];if(!y)throw new Error(f+" is not supported (we accept pull requests)");return new y},w.exports.sha=s(27816),w.exports.sha1=s(63737),w.exports.sha224=s(26710),w.exports.sha256=s(24107),w.exports.sha384=s(32827),w.exports.sha512=s(82890)},27816(w,N,s){var h=s(56698),v=s(90392),f=s(92861).Buffer,y=[1518500249,1859775393,-1894007588,-899497514],m=new Array(80);function g(){this.init(),this._w=m,v.call(this,64,56)}function S(T){return T<<30|T>>>2}function _(T,I,j,M){return T===0?I&j|~I&M:T===2?I&j|I&M|j&M:I^j^M}h(g,v),g.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},g.prototype._update=function(T){for(var I,j=this._w,M=0|this._a,z=0|this._b,K=0|this._c,Y=0|this._d,B=0|this._e,X=0;X<16;++X)j[X]=T.readInt32BE(4*X);for(;X<80;++X)j[X]=j[X-3]^j[X-8]^j[X-14]^j[X-16];for(var te=0;te<80;++te){var ie=~~(te/20),se=0|((I=M)<<5|I>>>27)+_(ie,z,K,Y)+B+j[te]+y[ie];B=Y,Y=K,K=S(z),z=M,M=se}this._a=M+this._a|0,this._b=z+this._b|0,this._c=K+this._c|0,this._d=Y+this._d|0,this._e=B+this._e|0},g.prototype._hash=function(){var T=f.allocUnsafe(20);return T.writeInt32BE(0|this._a,0),T.writeInt32BE(0|this._b,4),T.writeInt32BE(0|this._c,8),T.writeInt32BE(0|this._d,12),T.writeInt32BE(0|this._e,16),T},w.exports=g},63737(w,N,s){var h=s(56698),v=s(90392),f=s(92861).Buffer,y=[1518500249,1859775393,-1894007588,-899497514],m=new Array(80);function g(){this.init(),this._w=m,v.call(this,64,56)}function S(I){return I<<5|I>>>27}function _(I){return I<<30|I>>>2}function T(I,j,M,z){return I===0?j&M|~j&z:I===2?j&M|j&z|M&z:j^M^z}h(g,v),g.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},g.prototype._update=function(I){for(var j,M=this._w,z=0|this._a,K=0|this._b,Y=0|this._c,B=0|this._d,X=0|this._e,te=0;te<16;++te)M[te]=I.readInt32BE(4*te);for(;te<80;++te)M[te]=(j=M[te-3]^M[te-8]^M[te-14]^M[te-16])<<1|j>>>31;for(var ie=0;ie<80;++ie){var se=~~(ie/20),Te=S(z)+T(se,K,Y,B)+X+M[ie]+y[se]|0;X=B,B=Y,Y=_(K),K=z,z=Te}this._a=z+this._a|0,this._b=K+this._b|0,this._c=Y+this._c|0,this._d=B+this._d|0,this._e=X+this._e|0},g.prototype._hash=function(){var I=f.allocUnsafe(20);return I.writeInt32BE(0|this._a,0),I.writeInt32BE(0|this._b,4),I.writeInt32BE(0|this._c,8),I.writeInt32BE(0|this._d,12),I.writeInt32BE(0|this._e,16),I},w.exports=g},26710(w,N,s){var h=s(56698),v=s(24107),f=s(90392),y=s(92861).Buffer,m=new Array(64);function g(){this.init(),this._w=m,f.call(this,64,56)}h(g,v),g.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},g.prototype._hash=function(){var S=y.allocUnsafe(28);return S.writeInt32BE(this._a,0),S.writeInt32BE(this._b,4),S.writeInt32BE(this._c,8),S.writeInt32BE(this._d,12),S.writeInt32BE(this._e,16),S.writeInt32BE(this._f,20),S.writeInt32BE(this._g,24),S},w.exports=g},24107(w,N,s){var h=s(56698),v=s(90392),f=s(92861).Buffer,y=[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],m=new Array(64);function g(){this.init(),this._w=m,v.call(this,64,56)}function S(M,z,K){return K^M&(z^K)}function _(M,z,K){return M&z|K&(M|z)}function T(M){return(M>>>2|M<<30)^(M>>>13|M<<19)^(M>>>22|M<<10)}function I(M){return(M>>>6|M<<26)^(M>>>11|M<<21)^(M>>>25|M<<7)}function j(M){return(M>>>7|M<<25)^(M>>>18|M<<14)^M>>>3}h(g,v),g.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},g.prototype._update=function(M){for(var z,K=this._w,Y=0|this._a,B=0|this._b,X=0|this._c,te=0|this._d,ie=0|this._e,se=0|this._f,Te=0|this._g,he=0|this._h,ge=0;ge<16;++ge)K[ge]=M.readInt32BE(4*ge);for(;ge<64;++ge)K[ge]=0|(((z=K[ge-2])>>>17|z<<15)^(z>>>19|z<<13)^z>>>10)+K[ge-7]+j(K[ge-15])+K[ge-16];for(var ke=0;ke<64;++ke){var Ve=he+I(ie)+S(ie,se,Te)+y[ke]+K[ke]|0,He=T(Y)+_(Y,B,X)|0;he=Te,Te=se,se=ie,ie=te+Ve|0,te=X,X=B,B=Y,Y=Ve+He|0}this._a=Y+this._a|0,this._b=B+this._b|0,this._c=X+this._c|0,this._d=te+this._d|0,this._e=ie+this._e|0,this._f=se+this._f|0,this._g=Te+this._g|0,this._h=he+this._h|0},g.prototype._hash=function(){var M=f.allocUnsafe(32);return M.writeInt32BE(this._a,0),M.writeInt32BE(this._b,4),M.writeInt32BE(this._c,8),M.writeInt32BE(this._d,12),M.writeInt32BE(this._e,16),M.writeInt32BE(this._f,20),M.writeInt32BE(this._g,24),M.writeInt32BE(this._h,28),M},w.exports=g},32827(w,N,s){var h=s(56698),v=s(82890),f=s(90392),y=s(92861).Buffer,m=new Array(160);function g(){this.init(),this._w=m,f.call(this,128,112)}h(g,v),g.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},g.prototype._hash=function(){var S=y.allocUnsafe(48);function _(T,I,j){S.writeInt32BE(T,j),S.writeInt32BE(I,j+4)}return _(this._ah,this._al,0),_(this._bh,this._bl,8),_(this._ch,this._cl,16),_(this._dh,this._dl,24),_(this._eh,this._el,32),_(this._fh,this._fl,40),S},w.exports=g},82890(w,N,s){var h=s(56698),v=s(90392),f=s(92861).Buffer,y=[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],m=new Array(160);function g(){this.init(),this._w=m,v.call(this,128,112)}function S(B,X,te){return te^B&(X^te)}function _(B,X,te){return B&X|te&(B|X)}function T(B,X){return(B>>>28|X<<4)^(X>>>2|B<<30)^(X>>>7|B<<25)}function I(B,X){return(B>>>14|X<<18)^(B>>>18|X<<14)^(X>>>9|B<<23)}function j(B,X){return(B>>>1|X<<31)^(B>>>8|X<<24)^B>>>7}function M(B,X){return(B>>>1|X<<31)^(B>>>8|X<<24)^(B>>>7|X<<25)}function z(B,X){return(B>>>19|X<<13)^(X>>>29|B<<3)^B>>>6}function K(B,X){return(B>>>19|X<<13)^(X>>>29|B<<3)^(B>>>6|X<<26)}function Y(B,X){return B>>>0<X>>>0?1:0}h(g,v),g.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},g.prototype._update=function(B){for(var X=this._w,te=0|this._ah,ie=0|this._bh,se=0|this._ch,Te=0|this._dh,he=0|this._eh,ge=0|this._fh,ke=0|this._gh,Ve=0|this._hh,He=0|this._al,qe=0|this._bl,nt=0|this._cl,gt=0|this._dl,Re=0|this._el,u=0|this._fl,at=0|this._gl,Xe=0|this._hl,Se=0;Se<32;Se+=2)X[Se]=B.readInt32BE(4*Se),X[Se+1]=B.readInt32BE(4*Se+4);for(;Se<160;Se+=2){var De=X[Se-30],Ke=X[Se-30+1],ft=j(De,Ke),Nt=M(Ke,De),Wt=z(De=X[Se-4],Ke=X[Se-4+1]),H=K(Ke,De),we=X[Se-14],ct=X[Se-14+1],mt=X[Se-32],ur=X[Se-32+1],ar=Nt+ct|0,Tt=ft+we+Y(ar,Nt)|0;Tt=(Tt=Tt+Wt+Y(ar=ar+H|0,H)|0)+mt+Y(ar=ar+ur|0,ur)|0,X[Se]=Tt,X[Se+1]=ar}for(var Gt=0;Gt<160;Gt+=2){Tt=X[Gt],ar=X[Gt+1];var Sr=_(te,ie,se),kt=_(He,qe,nt),yt=T(te,He),Zt=T(He,te),pe=I(he,Re),U=I(Re,he),Z=y[Gt],ne=y[Gt+1],ye=S(he,ge,ke),Ee=S(Re,u,at),Fe=Xe+U|0,St=Ve+pe+Y(Fe,Xe)|0;St=(St=(St=St+ye+Y(Fe=Fe+Ee|0,Ee)|0)+Z+Y(Fe=Fe+ne|0,ne)|0)+Tt+Y(Fe=Fe+ar|0,ar)|0;var Bt=Zt+kt|0,Qe=yt+Sr+Y(Bt,Zt)|0;Ve=ke,Xe=at,ke=ge,at=u,ge=he,u=Re,he=Te+St+Y(Re=gt+Fe|0,gt)|0,Te=se,gt=nt,se=ie,nt=qe,ie=te,qe=He,te=St+Qe+Y(He=Fe+Bt|0,Fe)|0}this._al=this._al+He|0,this._bl=this._bl+qe|0,this._cl=this._cl+nt|0,this._dl=this._dl+gt|0,this._el=this._el+Re|0,this._fl=this._fl+u|0,this._gl=this._gl+at|0,this._hl=this._hl+Xe|0,this._ah=this._ah+te+Y(this._al,He)|0,this._bh=this._bh+ie+Y(this._bl,qe)|0,this._ch=this._ch+se+Y(this._cl,nt)|0,this._dh=this._dh+Te+Y(this._dl,gt)|0,this._eh=this._eh+he+Y(this._el,Re)|0,this._fh=this._fh+ge+Y(this._fl,u)|0,this._gh=this._gh+ke+Y(this._gl,at)|0,this._hh=this._hh+Ve+Y(this._hl,Xe)|0},g.prototype._hash=function(){var B=f.allocUnsafe(64);function X(te,ie,se){B.writeInt32BE(te,se),B.writeInt32BE(ie,se+4)}return X(this._ah,this._al,0),X(this._bh,this._bl,8),X(this._ch,this._cl,16),X(this._dh,this._dl,24),X(this._eh,this._el,32),X(this._fh,this._fl,40),X(this._gh,this._gl,48),X(this._hh,this._hl,56),B},w.exports=g},8068(w){var N=(()=>{var s=Object.defineProperty,h=Object.getOwnPropertyDescriptor,v=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,g=(Y,B,X)=>B in Y?s(Y,B,{enumerable:!0,configurable:!0,writable:!0,value:X}):Y[B]=X,S=(Y,B)=>{for(var X in B||(B={}))y.call(B,X)&&g(Y,X,B[X]);if(f)for(var X of f(B))m.call(B,X)&&g(Y,X,B[X]);return Y},_=(Y,B,X)=>g(Y,typeof B!="symbol"?B+"":B,X),T={};((Y,B)=>{for(var X in B)s(Y,X,{get:B[X],enumerable:!0})})(T,{DEFAULT_OPTIONS:()=>j,DEFAULT_UUID_LENGTH:()=>I,default:()=>K});var I=6,j={dictionary:"alphanum",shuffle:!0,debug:!1,length:I,counter:0},M=class{constructor(B={}){_(this,"counter"),_(this,"debug"),_(this,"dict"),_(this,"version"),_(this,"dictIndex",0),_(this,"dictRange",[]),_(this,"lowerBound",0),_(this,"upperBound",0),_(this,"dictLength",0),_(this,"uuidLength"),_(this,"_digit_first_ascii",48),_(this,"_digit_last_ascii",58),_(this,"_alpha_lower_first_ascii",97),_(this,"_alpha_lower_last_ascii",123),_(this,"_hex_last_ascii",103),_(this,"_alpha_upper_first_ascii",65),_(this,"_alpha_upper_last_ascii",91),_(this,"_number_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii]}),_(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]}),_(this,"_alpha_lower_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),_(this,"_alpha_upper_dict_ranges",{upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),_(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]}),_(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]}),_(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]}),_(this,"_hex_dict_ranges",{decDigits:[this._digit_first_ascii,this._digit_last_ascii],alphaDigits:[this._alpha_lower_first_ascii,this._hex_last_ascii]}),_(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}),_(this,"log",((...he)=>{const ge=[...he];ge[0]="[short-unique-id] ".concat(he[0]),this.debug!==!0||typeof console>"u"||console===null||console.log(...ge)})),_(this,"_normalizeDictionary",((he,ge)=>{let ke;if(he&&Array.isArray(he)&&he.length>1)ke=he;else{ke=[],this.dictIndex=0;const Ve="_".concat(he,"_dict_ranges"),He=this._dict_ranges[Ve];let qe=0;for(const[,gt]of Object.entries(He)){const[Re,u]=gt;qe+=Math.abs(u-Re)}ke=new Array(qe);let nt=0;for(const[,gt]of Object.entries(He)){this.dictRange=gt,this.lowerBound=this.dictRange[0],this.upperBound=this.dictRange[1];const Re=this.lowerBound<=this.upperBound,u=this.lowerBound,at=this.upperBound;if(Re)for(let Xe=u;Xe<at;Xe++)ke[nt++]=String.fromCharCode(Xe),this.dictIndex=Xe;else for(let Xe=u;Xe>at;Xe--)ke[nt++]=String.fromCharCode(Xe),this.dictIndex=Xe}ke.length=nt}if(ge)for(let Ve=ke.length-1;Ve>0;Ve--){const He=Math.floor(Math.random()*(Ve+1));[ke[Ve],ke[He]]=[ke[He],ke[Ve]]}return ke})),_(this,"setDictionary",((he,ge)=>{this.dict=this._normalizeDictionary(he,ge),this.dictLength=this.dict.length,this.setCounter(0)})),_(this,"seq",(()=>this.sequentialUUID())),_(this,"sequentialUUID",(()=>{const he=this.dictLength,ge=this.dict;let ke=this.counter;const Ve=[];do{const qe=ke%he;ke=Math.trunc(ke/he),Ve.push(ge[qe])}while(ke!==0);const He=Ve.join("");return this.counter+=1,He})),_(this,"rnd",((he=this.uuidLength||I)=>this.randomUUID(he))),_(this,"randomUUID",((he=this.uuidLength||I)=>{if(he==null||he<1)throw new Error("Invalid UUID Length Provided");const ge=new Array(he),ke=this.dictLength,Ve=this.dict;for(let He=0;He<he;He++){const qe=Math.floor(Math.random()*ke);ge[He]=Ve[qe]}return ge.join("")})),_(this,"fmt",((he,ge)=>this.formattedUUID(he,ge))),_(this,"formattedUUID",((he,ge)=>{const ke={$r:this.randomUUID,$s:this.sequentialUUID,$t:this.stamp};return he.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,(Ve=>{const He=Ve.slice(0,2),qe=Number.parseInt(Ve.slice(2),10);return He==="$s"?ke[He]().padStart(qe,"0"):He==="$t"&&ge?ke[He](qe,ge):ke[He](qe)}))})),_(this,"availableUUIDs",((he=this.uuidLength)=>Number.parseFloat(([...new Set(this.dict)].length**he).toFixed(0)))),_(this,"_collisionCache",new Map),_(this,"approxMaxBeforeCollision",((he=this.availableUUIDs(this.uuidLength))=>{const ge=he,ke=this._collisionCache.get(ge);if(ke!==void 0)return ke;const Ve=Number.parseFloat(Math.sqrt(Math.PI/2*he).toFixed(20));return this._collisionCache.set(ge,Ve),Ve})),_(this,"collisionProbability",((he=this.availableUUIDs(this.uuidLength),ge=this.uuidLength)=>Number.parseFloat((this.approxMaxBeforeCollision(he)/this.availableUUIDs(ge)).toFixed(20)))),_(this,"uniqueness",((he=this.availableUUIDs(this.uuidLength))=>{const ge=Number.parseFloat((1-this.approxMaxBeforeCollision(he)/he).toFixed(20));return ge>1?1:ge<0?0:ge})),_(this,"getVersion",(()=>this.version)),_(this,"stamp",((he,ge)=>{const ke=Math.floor(+(ge||new Date)/1e3).toString(16);if(typeof he=="number"&&he===0)return ke;if(typeof he!="number"||he<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 Ve=he-9,He=Math.round(Math.random()*(Ve>15?15:Ve)),qe=this.randomUUID(Ve);return"".concat(qe.substring(0,He)).concat(ke).concat(qe.substring(He)).concat(He.toString(16))})),_(this,"parseStamp",((he,ge)=>{if(ge&&!/t0|t[1-9]\d{1,}/.test(ge))throw new Error("Cannot extract date from a formated UUID with no timestamp in the format");const ke=ge?ge.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,(He=>{const qe={$r:Re=>[...Array(Re)].map((()=>"r")).join(""),$s:Re=>[...Array(Re)].map((()=>"s")).join(""),$t:Re=>[...Array(Re)].map((()=>"t")).join("")},nt=He.slice(0,2),gt=Number.parseInt(He.slice(2),10);return qe[nt](gt)})).replace(/^(.*?)(t{8,})(.*)$/g,((He,qe,nt)=>he.substring(qe.length,qe.length+nt.length))):he;if(ke.length===8)return new Date(1e3*Number.parseInt(ke,16));if(ke.length<10)throw new Error("Stamp length invalid");const Ve=Number.parseInt(ke.substring(ke.length-1),16);return new Date(1e3*Number.parseInt(ke.substring(Ve,Ve+8),16))})),_(this,"setCounter",(he=>{this.counter=he})),_(this,"validate",((he,ge)=>{const ke=ge?this._normalizeDictionary(ge):this.dict;return he.split("").every((Ve=>ke.includes(Ve)))}));const X=S(S({},j),B);this.counter=0,this.debug=!1,this.dict=[],this.version="5.3.2";const{dictionary:te,shuffle:ie,length:se,counter:Te}=X;this.uuidLength=se,this.setDictionary(te,ie),this.setCounter(Te),this.debug=X.debug,this.log(this.dict),this.log("Generator instantiated with Dictionary Size ".concat(this.dictLength," and counter set to ").concat(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)}};_(M,"default",M);var z,K=M;return z=T,((Y,B,X,te)=>{if(B&&typeof B=="object"||typeof B=="function")for(let ie of v(B))y.call(Y,ie)||ie===X||s(Y,ie,{get:()=>B[ie],enumerable:!(te=h(B,ie))||te.enumerable});return Y})(s({},"__esModule",{value:!0}),z)})();w.exports=N.default,typeof window<"u"&&(N=N.default)},88310(w,N,s){w.exports=v;var h=s(37007).EventEmitter;function v(){h.call(this)}s(56698)(v,h),v.Readable=s(45412),v.Writable=s(16708),v.Duplex=s(25382),v.Transform=s(74610),v.PassThrough=s(63600),v.finished=s(86238),v.pipeline=s(57758),v.Stream=v,v.prototype.pipe=function(f,y){var m=this;function g(z){f.writable&&f.write(z)===!1&&m.pause&&m.pause()}function S(){m.readable&&m.resume&&m.resume()}m.on("data",g),f.on("drain",S),f._isStdio||y&&y.end===!1||(m.on("end",T),m.on("close",I));var _=!1;function T(){_||(_=!0,f.end())}function I(){_||(_=!0,typeof f.destroy=="function"&&f.destroy())}function j(z){if(M(),h.listenerCount(this,"error")===0)throw z}function M(){m.removeListener("data",g),f.removeListener("drain",S),m.removeListener("end",T),m.removeListener("close",I),m.removeListener("error",j),f.removeListener("error",j),m.removeListener("end",M),m.removeListener("close",M),f.removeListener("close",M)}return m.on("error",j),f.on("error",j),m.on("end",M),m.on("close",M),f.on("close",M),f.emit("pipe",m),f}},83141(w,N,s){var h=s(92861).Buffer,v=h.isEncoding||function(M){switch((M=""+M)&&M.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 f(M){var z;switch(this.encoding=(function(Y){var B=(function(te){if(!te)return"utf8";for(var ie;;)switch(te){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 te;default:if(ie)return;te=(""+te).toLowerCase(),ie=!0}})(Y);if(typeof B!="string"&&(h.isEncoding===v||!v(Y)))throw new Error("Unknown encoding: "+Y);return B||Y})(M),this.encoding){case"utf16le":this.text=g,this.end=S,z=4;break;case"utf8":this.fillLast=m,z=4;break;case"base64":this.text=_,this.end=T,z=3;break;default:return this.write=I,void(this.end=j)}this.lastNeed=0,this.lastTotal=0,this.lastChar=h.allocUnsafe(z)}function y(M){return M<=127?0:M>>5==6?2:M>>4==14?3:M>>3==30?4:M>>6==2?-1:-2}function m(M){var z=this.lastTotal-this.lastNeed,K=(function(B,X,te){if((192&X[0])!=128)return B.lastNeed=0,"";if(B.lastNeed>1&&X.length>1){if((192&X[1])!=128)return B.lastNeed=1,"";if(B.lastNeed>2&&X.length>2&&(192&X[2])!=128)return B.lastNeed=2,""}})(this,M);return K!==void 0?K:this.lastNeed<=M.length?(M.copy(this.lastChar,z,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(M.copy(this.lastChar,z,0,M.length),void(this.lastNeed-=M.length))}function g(M,z){if((M.length-z)%2==0){var K=M.toString("utf16le",z);if(K){var Y=K.charCodeAt(K.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=M[M.length-2],this.lastChar[1]=M[M.length-1],K.slice(0,-1)}return K}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=M[M.length-1],M.toString("utf16le",z,M.length-1)}function S(M){var z=M&&M.length?this.write(M):"";if(this.lastNeed){var K=this.lastTotal-this.lastNeed;return z+this.lastChar.toString("utf16le",0,K)}return z}function _(M,z){var K=(M.length-z)%3;return K===0?M.toString("base64",z):(this.lastNeed=3-K,this.lastTotal=3,K===1?this.lastChar[0]=M[M.length-1]:(this.lastChar[0]=M[M.length-2],this.lastChar[1]=M[M.length-1]),M.toString("base64",z,M.length-K))}function T(M){var z=M&&M.length?this.write(M):"";return this.lastNeed?z+this.lastChar.toString("base64",0,3-this.lastNeed):z}function I(M){return M.toString(this.encoding)}function j(M){return M&&M.length?this.write(M):""}N.I=f,f.prototype.write=function(M){if(M.length===0)return"";var z,K;if(this.lastNeed){if((z=this.fillLast(M))===void 0)return"";K=this.lastNeed,this.lastNeed=0}else K=0;return K<M.length?z?z+this.text(M,K):this.text(M,K):z||""},f.prototype.end=function(z){var K=z&&z.length?this.write(z):"";return this.lastNeed?K+"":K},f.prototype.text=function(z,K){var Y=(function(te,ie,se){var Te=ie.length-1;if(Te<se)return 0;var he=y(ie[Te]);return he>=0?(he>0&&(te.lastNeed=he-1),he):--Te<se||he===-2?0:(he=y(ie[Te]),he>=0?(he>0&&(te.lastNeed=he-2),he):--Te<se||he===-2?0:(he=y(ie[Te]),he>=0?(he>0&&(he===2?he=0:te.lastNeed=he-3),he):0))})(this,z,K);if(!this.lastNeed)return z.toString("utf8",K);this.lastTotal=Y;var B=z.length-(Y-this.lastNeed);return z.copy(this.lastChar,0,B),z.toString("utf8",K,B)},f.prototype.fillLast=function(M){if(this.lastNeed<=M.length)return M.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);M.copy(this.lastChar,this.lastTotal-this.lastNeed,0,M.length),this.lastNeed-=M.length}},15377(w,N,s){var h=s(92861).Buffer,v=s(64634),f=s(74372),y=ArrayBuffer.isView||function(T){try{return f(T),!0}catch{return!1}},m=typeof Uint8Array<"u",g=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",S=g&&(h.prototype instanceof Uint8Array||h.TYPED_ARRAY_SUPPORT);w.exports=function(T,I){if(T instanceof h)return T;if(typeof T=="string")return h.from(T,I);if(g&&y(T)){if(T.byteLength===0)return h.alloc(0);if(S){var j=h.from(T.buffer,T.byteOffset,T.byteLength);if(j.byteLength===T.byteLength)return j}var M=T instanceof Uint8Array?T:new Uint8Array(T.buffer,T.byteOffset,T.byteLength),z=h.from(M);if(z.length===T.byteLength)return z}if(m&&T instanceof Uint8Array)return h.from(T);var K=v(T);if(K)for(var Y=0;Y<T.length;Y+=1){var B=T[Y];if(typeof B!="number"||B<0||B>255||~~B!==B)throw new RangeError("Array items must be numbers in the range 0-255.")}if(K||h.isBuffer(T)&&T.constructor&&typeof T.constructor.isBuffer=="function"&&T.constructor.isBuffer(T))return h.from(T);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}},16426(w){w.exports=function(){var N=document.getSelection();if(!N.rangeCount)return function(){};for(var s=document.activeElement,h=[],v=0;v<N.rangeCount;v++)h.push(N.getRangeAt(v));switch(s.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":s.blur();break;default:s=null}return N.removeAllRanges(),function(){N.type==="Caret"&&N.removeAllRanges(),N.rangeCount||h.forEach((function(f){N.addRange(f)})),s&&s.focus()}}},74372(w,N,s){var h=s(69675),v=s(36556)("TypedArray.prototype.buffer",!0),f=s(35680);w.exports=v||function(m){if(!f(m))throw new h("Not a Typed Array");return m.buffer}},61160(w,N,s){var h=s(92063),v=s(73992),f=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,y=/[\n\r\t]/g,m=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,g=/:\d+$/,S=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_=/^[a-zA-Z]:/;function T(B){return(B||"").toString().replace(f,"")}var I=[["#","hash"],["?","query"],function(X,te){return z(te.protocol)?X.replace(/\\/g,"/"):X},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],j={hash:1,query:1};function M(B){var X,te=(typeof window<"u"?window:s.g!==void 0?s.g:typeof self<"u"?self:{}).location||{},ie={},se=typeof(B=B||te);if(B.protocol==="blob:")ie=new Y(unescape(B.pathname),{});else if(se==="string")for(X in ie=new Y(B,{}),j)delete ie[X];else if(se==="object"){for(X in B)X in j||(ie[X]=B[X]);ie.slashes===void 0&&(ie.slashes=m.test(B.href))}return ie}function z(B){return B==="file:"||B==="ftp:"||B==="http:"||B==="https:"||B==="ws:"||B==="wss:"}function K(B,X){B=(B=T(B)).replace(y,""),X=X||{};var te,ie=S.exec(B),se=ie[1]?ie[1].toLowerCase():"",Te=!!ie[2],he=!!ie[3],ge=0;return Te?he?(te=ie[2]+ie[3]+ie[4],ge=ie[2].length+ie[3].length):(te=ie[2]+ie[4],ge=ie[2].length):he?(te=ie[3]+ie[4],ge=ie[3].length):te=ie[4],se==="file:"?ge>=2&&(te=te.slice(2)):z(se)?te=ie[4]:se?Te&&(te=te.slice(2)):ge>=2&&z(X.protocol)&&(te=ie[4]),{protocol:se,slashes:Te||z(se),slashesCount:ge,rest:te}}function Y(B,X,te){if(B=(B=T(B)).replace(y,""),!(this instanceof Y))return new Y(B,X,te);var ie,se,Te,he,ge,ke,Ve=I.slice(),He=typeof X,qe=this,nt=0;for(He!=="object"&&He!=="string"&&(te=X,X=null),te&&typeof te!="function"&&(te=v.parse),ie=!(se=K(B||"",X=M(X))).protocol&&!se.slashes,qe.slashes=se.slashes||ie&&X.slashes,qe.protocol=se.protocol||X.protocol||"",B=se.rest,(se.protocol==="file:"&&(se.slashesCount!==2||_.test(B))||!se.slashes&&(se.protocol||se.slashesCount<2||!z(qe.protocol)))&&(Ve[3]=[/(.*)/,"pathname"]);nt<Ve.length;nt++)typeof(he=Ve[nt])!="function"?(Te=he[0],ke=he[1],Te!=Te?qe[ke]=B:typeof Te=="string"?~(ge=Te==="@"?B.lastIndexOf(Te):B.indexOf(Te))&&(typeof he[2]=="number"?(qe[ke]=B.slice(0,ge),B=B.slice(ge+he[2])):(qe[ke]=B.slice(ge),B=B.slice(0,ge))):(ge=Te.exec(B))&&(qe[ke]=ge[1],B=B.slice(0,ge.index)),qe[ke]=qe[ke]||ie&&he[3]&&X[ke]||"",he[4]&&(qe[ke]=qe[ke].toLowerCase())):B=he(B,qe);te&&(qe.query=te(qe.query)),ie&&X.slashes&&qe.pathname.charAt(0)!=="/"&&(qe.pathname!==""||X.pathname!=="")&&(qe.pathname=(function(Re,u){if(Re==="")return u;for(var at=(u||"/").split("/").slice(0,-1).concat(Re.split("/")),Xe=at.length,Se=at[Xe-1],De=!1,Ke=0;Xe--;)at[Xe]==="."?at.splice(Xe,1):at[Xe]===".."?(at.splice(Xe,1),Ke++):Ke&&(Xe===0&&(De=!0),at.splice(Xe,1),Ke--);return De&&at.unshift(""),Se!=="."&&Se!==".."||at.push(""),at.join("/")})(qe.pathname,X.pathname)),qe.pathname.charAt(0)!=="/"&&z(qe.protocol)&&(qe.pathname="/"+qe.pathname),h(qe.port,qe.protocol)||(qe.host=qe.hostname,qe.port=""),qe.username=qe.password="",qe.auth&&(~(ge=qe.auth.indexOf(":"))?(qe.username=qe.auth.slice(0,ge),qe.username=encodeURIComponent(decodeURIComponent(qe.username)),qe.password=qe.auth.slice(ge+1),qe.password=encodeURIComponent(decodeURIComponent(qe.password))):qe.username=encodeURIComponent(decodeURIComponent(qe.auth)),qe.auth=qe.password?qe.username+":"+qe.password:qe.username),qe.origin=qe.protocol!=="file:"&&z(qe.protocol)&&qe.host?qe.protocol+"//"+qe.host:"null",qe.href=qe.toString()}Y.prototype={set:function(X,te,ie){var se=this;switch(X){case"query":typeof te=="string"&&te.length&&(te=(ie||v.parse)(te)),se[X]=te;break;case"port":se[X]=te,h(te,se.protocol)?te&&(se.host=se.hostname+":"+te):(se.host=se.hostname,se[X]="");break;case"hostname":se[X]=te,se.port&&(te+=":"+se.port),se.host=te;break;case"host":se[X]=te,g.test(te)?(te=te.split(":"),se.port=te.pop(),se.hostname=te.join(":")):(se.hostname=te,se.port="");break;case"protocol":se.protocol=te.toLowerCase(),se.slashes=!ie;break;case"pathname":case"hash":if(te){var Te=X==="pathname"?"/":"#";se[X]=te.charAt(0)!==Te?Te+te:te}else se[X]=te;break;case"username":case"password":se[X]=encodeURIComponent(te);break;case"auth":var he=te.indexOf(":");~he?(se.username=te.slice(0,he),se.username=encodeURIComponent(decodeURIComponent(se.username)),se.password=te.slice(he+1),se.password=encodeURIComponent(decodeURIComponent(se.password))):se.username=encodeURIComponent(decodeURIComponent(te))}for(var ge=0;ge<I.length;ge++){var ke=I[ge];ke[4]&&(se[ke[1]]=se[ke[1]].toLowerCase())}return se.auth=se.password?se.username+":"+se.password:se.username,se.origin=se.protocol!=="file:"&&z(se.protocol)&&se.host?se.protocol+"//"+se.host:"null",se.href=se.toString(),se},toString:function(X){X&&typeof X=="function"||(X=v.stringify);var te,ie=this,se=ie.host,Te=ie.protocol;Te&&Te.charAt(Te.length-1)!==":"&&(Te+=":");var he=Te+(ie.protocol&&ie.slashes||z(ie.protocol)?"//":"");return ie.username?(he+=ie.username,ie.password&&(he+=":"+ie.password),he+="@"):ie.password?(he+=":"+ie.password,he+="@"):ie.protocol!=="file:"&&z(ie.protocol)&&!se&&ie.pathname!=="/"&&(he+="@"),(se[se.length-1]===":"||g.test(ie.hostname)&&!ie.port)&&(se+=":"),he+=se+ie.pathname,(te=typeof ie.query=="object"?X(ie.query):ie.query)&&(he+=te.charAt(0)!=="?"?"?"+te:te),ie.hash&&(he+=ie.hash),he}},Y.extractProtocol=K,Y.location=M,Y.trimLeft=T,Y.qs=v,w.exports=Y},85160(w,N,s){var h=s(96540);h.useSyncExternalStore,h.useRef,h.useEffect,h.useMemo,h.useDebugValue},78418(w,N,s){s(85160)},94643(w,N,s){function h(v){try{if(!s.g.localStorage)return!1}catch{return!1}var f=s.g.localStorage[v];return f!=null&&String(f).toLowerCase()==="true"}w.exports=function(f,y){if(h("noDeprecation"))return f;var m=!1;return function(){if(!m){if(h("throwDeprecation"))throw new Error(y);h("traceDeprecation")?console.trace(y):console.warn(y),m=!0}return f.apply(this,arguments)}}},25767(w,N,s){var h=s(82682),v=s(39209),f=s(10487),y=s(36556),m=s(75795),g=y("Object.prototype.toString"),S=s(49092)(),_=typeof globalThis>"u"?s.g:globalThis,T=v(),I=y("String.prototype.slice"),j=Object.getPrototypeOf,M=y("Array.prototype.indexOf",!0)||function(Y,B){for(var X=0;X<Y.length;X+=1)if(Y[X]===B)return X;return-1},z={__proto__:null};h(T,S&&m&&j?function(K){var Y=new _[K];if(Symbol.toStringTag in Y){var B=j(Y),X=m(B,Symbol.toStringTag);if(!X){var te=j(B);X=m(te,Symbol.toStringTag)}z["$"+K]=f(X.get)}}:function(K){var Y=new _[K],B=Y.slice||Y.set;B&&(z["$"+K]=f(B))}),w.exports=function(Y){if(!Y||typeof Y!="object")return!1;if(!S){var B=I(g(Y),8,-1);return M(T,B)>-1?B:B==="Object"&&(function(te){var ie=!1;return h(z,(function(se,Te){if(!ie)try{se(te),ie=I(Te,1)}catch{}})),ie})(Y)}return m?(function(te){var ie=!1;return h(z,(function(se,Te){if(!ie)try{"$"+se(te)===Te&&(ie=I(Te,1))}catch{}})),ie})(Y):null}},26657(w,N,s){var h=s(75208),v=function(g){return/<\/+[^>]+>/.test(g)},f=function(g){return/<[^>]+\/>/.test(g)};function y(m){return v(m)?"ClosingTag":(function(S){return(function(T){return/<[^>!]+>/.test(T)})(S)&&!v(S)&&!f(S)})(m)?"OpeningTag":f(m)?"SelfClosingTag":"Text"}w.exports=function(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},S=g.indentor,_=g.textNodesOnSameLine,T=0,I=[];S=S||" ";var j=(function(z){return(function(Y){return Y.split(/(<\/?[^>]+>)/g).filter((function(B){return B.trim()!==""}))})(z).map((function(K){return{value:K,type:y(K)}}))})(m).map((function(M,z,K){var Y=M.value,B=M.type;B==="ClosingTag"&&T--;var X=h(S,T),te=X+Y;if(B==="OpeningTag"&&T++,_){var ie=K[z-1],se=K[z-2];B==="ClosingTag"&&ie.type==="Text"&&se.type==="OpeningTag"&&(te=""+X+se.value+ie.value+Y,I.push(z-2,z-1))}return te}));return I.forEach((function(M){return j[M]=null})),j.filter((function(M){return!!M})).join(`
`)}},31499(w){var N={"&":"&amp;",'"':"&quot;","'":"&apos;","<":"&lt;",">":"&gt;"};w.exports=function(h){return h&&h.replace?h.replace(/([&"<>'])/g,(function(v,f){return N[f]})):h}},19123(w,N,s){var h=s(65606),v=s(31499),f=s(88310).Stream;function y(g,S,_){var T,I=(function(X,te){return new Array(te||0).join(X||"")})(S,_=_||0),j=g;if(typeof g=="object"&&(j=g[T=Object.keys(g)[0]])&&j._elem)return j._elem.name=T,j._elem.icount=_,j._elem.indent=S,j._elem.indents=I,j._elem.interrupt=j,j._elem;var M,z=[],K=[];function Y(B){Object.keys(B).forEach((function(X){z.push((function(ie,se){return ie+'="'+v(se)+'"'})(X,B[X]))}))}switch(typeof j){case"object":if(j===null)break;j._attr&&Y(j._attr),j._cdata&&K.push(("<![CDATA["+j._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),j.forEach&&(M=!1,K.push(""),j.forEach((function(B){typeof B=="object"?Object.keys(B)[0]=="_attr"?Y(B._attr):K.push(y(B,S,_+1)):(K.pop(),M=!0,K.push(v(B)))})),M||K.push(""));break;default:K.push(v(j))}return{name:T,interrupt:!1,attributes:z,content:K,icount:_,indents:I,indent:S}}function m(g,S,_){if(typeof S!="object")return g(!1,S);var T=S.interrupt?1:S.content.length;function I(){for(;S.content.length;){var M=S.content.shift();if(M!==void 0){if(j(M))return;m(g,M)}}g(!1,(T>1?S.indents:"")+(S.name?"</"+S.name+">":"")+(S.indent&&!_?`
`:"")),_&&_()}function j(M){return!!M.interrupt&&(M.interrupt.append=g,M.interrupt.end=I,M.interrupt=!1,g(!0),!0)}if(g(!1,S.indents+(S.name?"<"+S.name:"")+(S.attributes.length?" "+S.attributes.join(" "):"")+(T?S.name?">":"":S.name?"/>":"")+(S.indent&&T>1?`
`:"")),!T)return g(!1,S.indent?`
`:"");j(S)||I()}w.exports=function(S,_){typeof _!="object"&&(_={indent:_});var T=_.stream?new f:null,I="",j=!1,M=_.indent?_.indent===!0?" ":_.indent:"",z=!0;function K(te){z?h.nextTick(te):te()}function Y(te,ie){if(ie!==void 0&&(I+=ie),te&&!j&&(T=T||new f,j=!0),te&&j){var se=I;K((function(){T.emit("data",se)})),I=""}}function B(te,ie){m(Y,y(te,M,M?1:0),ie)}function X(){if(T){var te=I;K((function(){T.emit("data",te),T.emit("end"),T.readable=!1,T.emit("close")}))}}return K((function(){z=!1})),_.declaration&&(function(ie){var se={version:"1.0",encoding:ie.encoding||"UTF-8"};ie.standalone&&(se.standalone=ie.standalone),B({"?xml":{_attr:se}}),I=I.replace("/>","?>")})(_.declaration),S&&S.forEach?S.forEach((function(te,ie){var se;ie+1===S.length&&(se=X),B(te,se)})):B(S,X),T?(T.readable=!0,T):I},w.exports.element=w.exports.Element=function(){var S={_elem:y(Array.prototype.slice.call(arguments)),push:function(_){if(!this.append)throw new Error("not assigned to a parent!");var T=this,I=this._elem.indent;m(this.append,y(_,I,this._elem.icount+(I?1:0)),(function(){T.append(!0)}))},close:function(_){_!==void 0&&this.push(_),this.end&&this.end()}};return S}},86215(w,N){var s,h,v;h=[],s=(function(){var f=function(j){return j&&"getComputedStyle"in window&&window.getComputedStyle(j)["scroll-behavior"]==="smooth"};if(typeof window>"u"||!("document"in window))return{};var y=function(j,M,z){var K;M=M||999,z||z===0||(z=9);var Y=function(he){K=he},B=function(){clearTimeout(K),Y(0)},X=function(he){return Math.max(0,j.getTopOf(he)-z)},te=function(he,ge,ke){if(B(),ge===0||ge&&ge<0||f(j.body))j.toY(he),ke&&ke();else{var Ve=j.getY(),He=Math.max(0,he)-Ve,qe=new Date().getTime();ge=ge||Math.min(Math.abs(He),M),(function nt(){Y(setTimeout((function(){var gt=Math.min(1,(new Date().getTime()-qe)/ge),Re=Math.max(0,Math.floor(Ve+He*(gt<.5?2*gt*gt:gt*(4-2*gt)-1)));j.toY(Re),gt<1&&j.getHeight()+Re<j.body.scrollHeight?nt():(setTimeout(B,99),ke&&ke())}),9))})()}},ie=function(he,ge,ke){te(X(he),ge,ke)},se=function(he,ge,ke){var Ve=he.getBoundingClientRect().height,He=j.getTopOf(he)+Ve,qe=j.getHeight(),nt=j.getY(),gt=nt+qe;X(he)<nt||Ve+z>qe?ie(he,ge,ke):He+z>gt?te(He-qe+z,ge,ke):ke&&ke()},Te=function(he,ge,ke,Ve){te(Math.max(0,j.getTopOf(he)-j.getHeight()/2+(ke||he.getBoundingClientRect().height/2)),ge,Ve)};return{setup:function(he,ge){return(he===0||he)&&(M=he),(ge===0||ge)&&(z=ge),{defaultDuration:M,edgeOffset:z}},to:ie,toY:te,intoView:se,center:Te,stop:B,moving:function(){return!!K},getY:j.getY,getTopOf:j.getTopOf}},m=document.documentElement,g=function(){return window.scrollY||m.scrollTop},S=y({body:document.scrollingElement||document.body,toY:function(j){window.scrollTo(0,j)},getY:g,getHeight:function(){return window.innerHeight||m.clientHeight},getTopOf:function(j){return j.getBoundingClientRect().top+g()-m.offsetTop}});if(S.createScroller=function(j,M,z){return y({body:j,toY:function(K){j.scrollTop=K},getY:function(){return j.scrollTop},getHeight:function(){return Math.min(j.clientHeight,window.innerHeight||m.clientHeight)},getTopOf:function(K){return K.offsetTop}},M,z)},"addEventListener"in window&&!window.noZensmooth&&!f(document.body)){var _="history"in window&&"pushState"in history,T=_&&"scrollRestoration"in history;T&&(history.scrollRestoration="auto"),window.addEventListener("load",(function(){T&&(setTimeout((function(){history.scrollRestoration="manual"}),9),window.addEventListener("popstate",(function(j){j.state&&"zenscrollY"in j.state&&S.toY(j.state.zenscrollY)}),!1)),window.location.hash&&setTimeout((function(){var j=S.setup().edgeOffset;if(j){var M=document.getElementById(window.location.href.split("#")[1]);if(M){var z=Math.max(0,S.getTopOf(M)-j),K=S.getY()-z;0<=K&&K<9&&window.scrollTo(0,z)}}}),9)}),!1);var I=new RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",(function(j){for(var M=j.target;M&&M.tagName!=="A";)M=M.parentNode;if(!(!M||j.which!==1||j.shiftKey||j.metaKey||j.ctrlKey||j.altKey)){if(T){var z=history.state&&typeof history.state=="object"?history.state:{};z.zenscrollY=S.getY();try{history.replaceState(z,"")}catch{}}var K=M.getAttribute("href")||"";if(K.indexOf("#")===0&&!I.test(M.className)){var Y=0,B=document.getElementById(K.substring(1));if(K!=="#"){if(!B)return;Y=S.getTopOf(B)}j.preventDefault();var X=function(){window.location=K},te=S.setup().edgeOffset;te&&(Y=Math.max(0,Y-te),_&&(X=function(){history.pushState({},"",K)})),S.toY(Y,null,X)}}}),!1)}return S})(),(v=typeof s=="function"?s.apply(N,h):s)===void 0||(w.exports=v)},15340(){},79838(){},8628(w,N,s){w.exports=s(76343)},48675(w,N,s){w.exports=s(20850)},7666(w,N,s){var h=s(84851),v=s(953);function f(){var y;return w.exports=f=h?v(y=h).call(y):function(m){for(var g=1;g<arguments.length;g++){var S=arguments[g];for(var _ in S)({}).hasOwnProperty.call(S,_)&&(m[_]=S[_])}return m},w.exports.__esModule=!0,w.exports.default=w.exports,f.apply(null,arguments)}w.exports=f,w.exports.__esModule=!0,w.exports.default=w.exports},39209(w,N,s){var h=s(76578),v=typeof globalThis>"u"?s.g:globalThis;w.exports=function(){for(var y=[],m=0;m<h.length;m++)typeof v[h[m]]=="function"&&(y[y.length]=h[m]);return y}},46942(w,N){var s;(function(){var h={}.hasOwnProperty;function v(){for(var m="",g=0;g<arguments.length;g++){var S=arguments[g];S&&(m=y(m,f(S)))}return m}function f(m){if(typeof m=="string"||typeof m=="number")return m;if(typeof m!="object")return"";if(Array.isArray(m))return v.apply(null,m);if(m.toString!==Object.prototype.toString&&!m.toString.toString().includes("[native code]"))return m.toString();var g="";for(var S in m)h.call(m,S)&&m[S]&&(g=y(g,S));return g}function y(m,g){return g?m?m+" "+g:m+g:m}w.exports?(v.default=v,w.exports=v):(s=(function(){return v}).apply(N,[]))===void 0||(w.exports=s)})()},68623(w,N,s){var h=s(694);w.exports=h},93700(w,N,s){var h=s(19709);w.exports=h},462(w,N,s){var h=s(40975);w.exports=h},37257(w,N,s){s(96605),s(64502),s(36371),s(99363),s(7057);var h=s(92046);w.exports=h.AggregateError},11362(w,N,s){s(19748);var h=s(61747);w.exports=h("Array","includes")},32567(w,N,s){s(79307);var h=s(61747);w.exports=h("Function","bind")},23034(w,N,s){var h=s(88280),v=s(32567),f=Function.prototype;w.exports=function(y){var m=y.bind;return y===f||h(f,y)&&m===f.bind?v:m}},36880(w,N,s){var h=s(88280),v=s(11362),f=s(44378),y=Array.prototype,m=String.prototype;w.exports=function(g){var S=g.includes;return g===y||h(y,g)&&S===y.includes?v:typeof g=="string"||g===m||h(m,g)&&S===m.includes?f:S}},9748(w,N,s){s(71340);var h=s(92046);w.exports=h.Object.assign},44378(w,N,s){s(19770);var h=s(61747);w.exports=h("String","includes")},20850(w,N,s){w.exports=s(46076)},953(w,N,s){w.exports=s(53375)},84851(w,N,s){w.exports=s(85401)},46076(w,N,s){s(91599);var h=s(68623);w.exports=h},53375(w,N,s){var h=s(93700);w.exports=h},85401(w,N,s){var h=s(462);w.exports=h},82159(w,N,s){var h=s(62250),v=s(4640),f=TypeError;w.exports=function(y){if(h(y))return y;throw new f(v(y)+" is not a function")}},10043(w,N,s){var h=s(54018),v=String,f=TypeError;w.exports=function(y){if(h(y))return y;throw new f("Can't set "+v(y)+" as a prototype")}},42156(w){w.exports=function(){}},36624(w,N,s){var h=s(46285),v=String,f=TypeError;w.exports=function(y){if(h(y))return y;throw new f(v(y)+" is not an object")}},74436(w,N,s){var h=s(4993),v=s(34849),f=s(20575),y=function(m){return function(g,S,_){var T=h(g),I=f(T);if(I===0)return!m&&-1;var j,M=v(_,I);if(m&&S!=S){for(;I>M;)if((j=T[M++])!=j)return!0}else for(;I>M;M++)if((m||M in T)&&T[M]===S)return m||M||0;return!m&&-1}};w.exports={includes:y(!0),indexOf:y(!1)}},93427(w,N,s){var h=s(1907);w.exports=h([].slice)},45807(w,N,s){var h=s(1907),v=h({}.toString),f=h("".slice);w.exports=function(y){return f(v(y),8,-1)}},73948(w,N,s){var h=s(52623),v=s(62250),f=s(45807),y=s(76264)("toStringTag"),m=Object,g=f((function(){return arguments})())==="Arguments";w.exports=h?f:function(S){var _,T,I;return S===void 0?"Undefined":S===null?"Null":typeof(T=(function(j,M){try{return j[M]}catch{}})(_=m(S),y))=="string"?T:g?f(_):(I=f(_))==="Object"&&v(_.callee)?"Arguments":I}},19595(w,N,s){var h=s(49724),v=s(11042),f=s(13846),y=s(74284);w.exports=function(m,g,S){for(var _=v(g),T=y.f,I=f.f,j=0;j<_.length;j++){var M=_[j];h(m,M)||S&&h(S,M)||T(m,M,I(g,M))}}},25735(w,N,s){var h=s(76264)("match");w.exports=function(v){var f=/./;try{"/./"[v](f)}catch{try{return f[h]=!1,"/./"[v](f)}catch{}}return!1}},57382(w,N,s){var h=s(98828);w.exports=!h((function(){function v(){}return v.prototype.constructor=null,Object.getPrototypeOf(new v)!==v.prototype}))},59550(w){w.exports=function(N,s){return{value:N,done:s}}},61626(w,N,s){var h=s(39447),v=s(74284),f=s(75817);w.exports=h?function(y,m,g){return v.f(y,m,f(1,g))}:function(y,m,g){return y[m]=g,y}},75817(w){w.exports=function(N,s){return{enumerable:!(1&N),configurable:!(2&N),writable:!(4&N),value:s}}},68055(w,N,s){var h=s(61626);w.exports=function(v,f,y,m){return m&&m.enumerable?v[f]=y:h(v,f,y),v}},2532(w,N,s){var h=s(45951),v=Object.defineProperty;w.exports=function(f,y){try{v(h,f,{value:y,configurable:!0,writable:!0})}catch{h[f]=y}return y}},39447(w,N,s){var h=s(98828);w.exports=!h((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}))},49552(w,N,s){var h=s(45951),v=s(46285),f=h.document,y=v(f)&&v(f.createElement);w.exports=function(m){return y?f.createElement(m):{}}},19287(w){w.exports={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}},80376(w){w.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},96794(w,N,s){var h=s(45951).navigator,v=h&&h.userAgent;w.exports=v?String(v):""},20798(w,N,s){var h,v,f=s(45951),y=s(96794),m=f.process,g=f.Deno,S=m&&m.versions||g&&g.version,_=S&&S.v8;_&&(v=(h=_.split("."))[0]>0&&h[0]<4?1:+(h[0]+h[1])),!v&&y&&(!(h=y.match(/Edge\/(\d+)/))||h[1]>=74)&&(h=y.match(/Chrome\/(\d+)/))&&(v=+h[1]),w.exports=v},85762(w,N,s){var h=s(1907),v=Error,f=h("".replace),y=String(new v("zxcasd").stack),m=/\n\s*at [^:]*:[^\n]*/,g=m.test(y);w.exports=function(S,_){if(g&&typeof S=="string"&&!v.prepareStackTrace)for(;_--;)S=f(S,m,"");return S}},85884(w,N,s){var h=s(61626),v=s(85762),f=s(23888),y=Error.captureStackTrace;w.exports=function(m,g,S,_){f&&(y?y(m,g):h(m,"stack",v(S,_)))}},23888(w,N,s){var h=s(98828),v=s(75817);w.exports=!h((function(){var f=new Error("a");return!("stack"in f)||(Object.defineProperty(f,"stack",v(1,7)),f.stack!==7)}))},11091(w,N,s){var h=s(45951),v=s(76024),f=s(92361),y=s(62250),m=s(13846).f,g=s(7463),S=s(92046),_=s(28311),T=s(61626),I=s(49724);s(36128);var j=function(M){var z=function(K,Y,B){if(this instanceof z){switch(arguments.length){case 0:return new M;case 1:return new M(K);case 2:return new M(K,Y)}return new M(K,Y,B)}return v(M,this,arguments)};return z.prototype=M.prototype,z};w.exports=function(M,z){var K,Y,B,X,te,ie,se,Te,he,ge=M.target,ke=M.global,Ve=M.stat,He=M.proto,qe=ke?h:Ve?h[ge]:h[ge]&&h[ge].prototype,nt=ke?S:S[ge]||T(S,ge,{})[ge],gt=nt.prototype;for(X in z)Y=!(K=g(ke?X:ge+(Ve?".":"#")+X,M.forced))&&qe&&I(qe,X),ie=nt[X],Y&&(se=M.dontCallGetSet?(he=m(qe,X))&&he.value:qe[X]),te=Y&&se?se:z[X],(K||He||typeof ie!=typeof te)&&(Te=M.bind&&Y?_(te,h):M.wrap&&Y?j(te):He&&y(te)?f(te):te,(M.sham||te&&te.sham||ie&&ie.sham)&&T(Te,"sham",!0),T(nt,X,Te),He&&(I(S,B=ge+"Prototype")||T(S,B,{}),T(S[B],X,te),M.real&&gt&&(K||!gt[X])&&T(gt,X,te)))}},98828(w){w.exports=function(N){try{return!!N()}catch{return!0}}},76024(w,N,s){var h=s(41505),v=Function.prototype,f=v.apply,y=v.call;w.exports=typeof Reflect=="object"&&Reflect.apply||(h?y.bind(f):function(){return y.apply(f,arguments)})},28311(w,N,s){var h=s(92361),v=s(82159),f=s(41505),y=h(h.bind);w.exports=function(m,g){return v(m),g===void 0?m:f?y(m,g):function(){return m.apply(g,arguments)}}},41505(w,N,s){var h=s(98828);w.exports=!h((function(){var v=(function(){}).bind();return typeof v!="function"||v.hasOwnProperty("prototype")}))},44673(w,N,s){var h=s(1907),v=s(82159),f=s(46285),y=s(49724),m=s(93427),g=s(41505),S=Function,_=h([].concat),T=h([].join),I={};w.exports=g?S.bind:function(M){var z=v(this),K=z.prototype,Y=m(arguments,1),B=function(){var te=_(Y,m(arguments));return this instanceof B?(function(ie,se,Te){if(!y(I,se)){for(var he=[],ge=0;ge<se;ge++)he[ge]="a["+ge+"]";I[se]=S("C,a","return new C("+T(he,",")+")")}return I[se](ie,Te)})(z,te.length,te):z.apply(M,te)};return f(K)&&(B.prototype=K),B}},13930(w,N,s){var h=s(41505),v=Function.prototype.call;w.exports=h?v.bind(v):function(){return v.apply(v,arguments)}},36833(w,N,s){var h=s(39447),v=s(49724),f=Function.prototype,y=h&&Object.getOwnPropertyDescriptor,m=v(f,"name"),g=m&&(function(){}).name==="something",S=m&&(!h||h&&y(f,"name").configurable);w.exports={EXISTS:m,PROPER:g,CONFIGURABLE:S}},51871(w,N,s){var h=s(1907),v=s(82159);w.exports=function(f,y,m){try{return h(v(Object.getOwnPropertyDescriptor(f,y)[m]))}catch{}}},92361(w,N,s){var h=s(45807),v=s(1907);w.exports=function(f){if(h(f)==="Function")return v(f)}},1907(w,N,s){var h=s(41505),v=Function.prototype,f=v.call,y=h&&v.bind.bind(f,f);w.exports=h?y:function(m){return function(){return f.apply(m,arguments)}}},61747(w,N,s){var h=s(45951),v=s(92046);w.exports=function(f,y){var m=v[f+"Prototype"],g=m&&m[y];if(g)return g;var S=h[f],_=S&&S.prototype;return _&&_[y]}},85582(w,N,s){var h=s(92046),v=s(45951),f=s(62250),y=function(m){return f(m)?m:void 0};w.exports=function(m,g){return arguments.length<2?y(h[m])||y(v[m]):h[m]&&h[m][g]||v[m]&&v[m][g]}},73448(w,N,s){var h=s(73948),v=s(29367),f=s(87136),y=s(93742),m=s(76264)("iterator");w.exports=function(g){if(!f(g))return v(g,m)||v(g,"@@iterator")||y[h(g)]}},10300(w,N,s){var h=s(13930),v=s(82159),f=s(36624),y=s(4640),m=s(73448),g=TypeError;w.exports=function(S,_){var T=arguments.length<2?m(S):_;if(v(T))return f(h(T,S));throw new g(y(S)+" is not iterable")}},29367(w,N,s){var h=s(82159),v=s(87136);w.exports=function(f,y){var m=f[y];return v(m)?void 0:h(m)}},45951(w,N,s){var h=function(v){return v&&v.Math===Math&&v};w.exports=h(typeof globalThis=="object"&&globalThis)||h(typeof window=="object"&&window)||h(typeof self=="object"&&self)||h(typeof s.g=="object"&&s.g)||h(typeof this=="object"&&this)||(function(){return this})()||Function("return this")()},49724(w,N,s){var h=s(1907),v=s(39298),f=h({}.hasOwnProperty);w.exports=Object.hasOwn||function(m,g){return f(v(m),g)}},38530(w){w.exports={}},62416(w,N,s){var h=s(85582);w.exports=h("document","documentElement")},73648(w,N,s){var h=s(39447),v=s(98828),f=s(49552);w.exports=!h&&!v((function(){return Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a!==7}))},16946(w,N,s){var h=s(1907),v=s(98828),f=s(45807),y=Object,m=h("".split);w.exports=v((function(){return!y("z").propertyIsEnumerable(0)}))?function(g){return f(g)==="String"?m(g,""):y(g)}:y},34084(w,N,s){var h=s(62250),v=s(46285),f=s(79192);w.exports=function(y,m,g){var S,_;return f&&h(S=m.constructor)&&S!==g&&v(_=S.prototype)&&_!==g.prototype&&f(y,_),y}},39259(w,N,s){var h=s(46285),v=s(61626);w.exports=function(f,y){h(y)&&"cause"in y&&v(f,"cause",y.cause)}},64932(w,N,s){var h,v,f,y=s(40551),m=s(45951),g=s(46285),S=s(61626),_=s(49724),T=s(36128),I=s(92522),j=s(38530),M="Object already initialized",z=m.TypeError,K=m.WeakMap;if(y||T.state){var Y=T.state||(T.state=new K);Y.get=Y.get,Y.has=Y.has,Y.set=Y.set,h=function(X,te){if(Y.has(X))throw new z(M);return te.facade=X,Y.set(X,te),te},v=function(X){return Y.get(X)||{}},f=function(X){return Y.has(X)}}else{var B=I("state");j[B]=!0,h=function(X,te){if(_(X,B))throw new z(M);return te.facade=X,S(X,B,te),te},v=function(X){return _(X,B)?X[B]:{}},f=function(X){return _(X,B)}}w.exports={set:h,get:v,has:f,enforce:function(X){return f(X)?v(X):h(X,{})},getterFor:function(X){return function(te){var ie;if(!g(te)||(ie=v(te)).type!==X)throw new z("Incompatible receiver, "+X+" required");return ie}}}},37812(w,N,s){var h=s(76264),v=s(93742),f=h("iterator"),y=Array.prototype;w.exports=function(m){return m!==void 0&&(v.Array===m||y[f]===m)}},62250(w){var N=typeof document=="object"&&document.all;w.exports=N===void 0&&N!==void 0?function(s){return typeof s=="function"||s===N}:function(s){return typeof s=="function"}},7463(w,N,s){var h=s(98828),v=s(62250),f=/#|\.prototype\./,y=function(T,I){var j=g[m(T)];return j===_||j!==S&&(v(I)?h(I):!!I)},m=y.normalize=function(T){return String(T).replace(f,".").toLowerCase()},g=y.data={},S=y.NATIVE="N",_=y.POLYFILL="P";w.exports=y},87136(w){w.exports=function(N){return N==null}},46285(w,N,s){var h=s(62250);w.exports=function(v){return typeof v=="object"?v!==null:h(v)}},54018(w,N,s){var h=s(46285);w.exports=function(v){return h(v)||v===null}},7376(w){w.exports=!0},72087(w,N,s){var h=s(46285),v=s(45807),f=s(76264)("match");w.exports=function(y){var m;return h(y)&&((m=y[f])!==void 0?!!m:v(y)==="RegExp")}},25594(w,N,s){var h=s(85582),v=s(62250),f=s(88280),y=s(51175),m=Object;w.exports=y?function(g){return typeof g=="symbol"}:function(g){var S=h("Symbol");return v(S)&&f(S.prototype,m(g))}},24823(w,N,s){var h=s(28311),v=s(13930),f=s(36624),y=s(4640),m=s(37812),g=s(20575),S=s(88280),_=s(10300),T=s(73448),I=s(40154),j=TypeError,M=function(K,Y){this.stopped=K,this.result=Y},z=M.prototype;w.exports=function(K,Y,B){var X,te,ie,se,Te,he,ge,ke=B&&B.that,Ve=!(!B||!B.AS_ENTRIES),He=!(!B||!B.IS_RECORD),qe=!(!B||!B.IS_ITERATOR),nt=!(!B||!B.INTERRUPTED),gt=h(Y,ke),Re=function(at){return X&&I(X,"normal",at),new M(!0,at)},u=function(at){return Ve?(f(at),nt?gt(at[0],at[1],Re):gt(at[0],at[1])):nt?gt(at,Re):gt(at)};if(He)X=K.iterator;else if(qe)X=K;else{if(!(te=T(K)))throw new j(y(K)+" is not iterable");if(m(te)){for(ie=0,se=g(K);se>ie;ie++)if((Te=u(K[ie]))&&S(z,Te))return Te;return new M(!1)}X=_(K,te)}for(he=He?K.next:X.next;!(ge=v(he,X)).done;){try{Te=u(ge.value)}catch(at){I(X,"throw",at)}if(typeof Te=="object"&&Te&&S(z,Te))return Te}return new M(!1)}},40154(w,N,s){var h=s(13930),v=s(36624),f=s(29367);w.exports=function(y,m,g){var S,_;v(y);try{if(!(S=f(y,"return"))){if(m==="throw")throw g;return g}S=h(S,y)}catch(T){_=!0,S=T}if(m==="throw")throw g;if(_)throw S;return v(S),g}},47181(w,N,s){var h=s(95116).IteratorPrototype,v=s(58075),f=s(75817),y=s(14840),m=s(93742),g=function(){return this};w.exports=function(S,_,T,I){var j=_+" Iterator";return S.prototype=v(h,{next:f(+!I,T)}),y(S,j,!1,!0),m[j]=g,S}},60183(w,N,s){var h=s(11091),v=s(13930),f=s(7376),y=s(36833),m=s(62250),g=s(47181),S=s(15972),_=s(79192),T=s(14840),I=s(61626),j=s(68055),M=s(76264),z=s(93742),K=s(95116),Y=y.PROPER,B=y.CONFIGURABLE,X=K.IteratorPrototype,te=K.BUGGY_SAFARI_ITERATORS,ie=M("iterator"),se="keys",Te="values",he="entries",ge=function(){return this};w.exports=function(ke,Ve,He,qe,nt,gt,Re){g(He,Ve,qe);var u,at,Xe,Se=function(we){if(we===nt&&Wt)return Wt;if(!te&&we&&we in ft)return ft[we];switch(we){case se:return function(){return new He(this,we)};case Te:return function(){return new He(this,we)};case he:return function(){return new He(this,we)}}return function(){return new He(this)}},De=Ve+" Iterator",Ke=!1,ft=ke.prototype,Nt=ft[ie]||ft["@@iterator"]||nt&&ft[nt],Wt=!te&&Nt||Se(nt),H=Ve==="Array"&&ft.entries||Nt;if(H&&(u=S(H.call(new ke)))!==Object.prototype&&u.next&&(f||S(u)===X||(_?_(u,X):m(u[ie])||j(u,ie,ge)),T(u,De,!0,!0),f&&(z[De]=ge)),Y&&nt===Te&&Nt&&Nt.name!==Te&&(!f&&B?I(ft,"name",Te):(Ke=!0,Wt=function(){return v(Nt,this)})),nt)if(at={values:Se(Te),keys:gt?Wt:Se(se),entries:Se(he)},Re)for(Xe in at)(te||Ke||!(Xe in ft))&&j(ft,Xe,at[Xe]);else h({target:Ve,proto:!0,forced:te||Ke},at);return f&&!Re||ft[ie]===Wt||j(ft,ie,Wt,{name:nt}),z[Ve]=Wt,at}},95116(w,N,s){var h,v,f,y=s(98828),m=s(62250),g=s(46285),S=s(58075),_=s(15972),T=s(68055),I=s(76264),j=s(7376),M=I("iterator"),z=!1;[].keys&&("next"in(f=[].keys())?(v=_(_(f)))!==Object.prototype&&(h=v):z=!0),!g(h)||y((function(){var K={};return h[M].call(K)!==K}))?h={}:j&&(h=S(h)),m(h[M])||T(h,M,(function(){return this})),w.exports={IteratorPrototype:h,BUGGY_SAFARI_ITERATORS:z}},93742(w){w.exports={}},20575(w,N,s){var h=s(3121);w.exports=function(v){return h(v.length)}},41176(w){var N=Math.ceil,s=Math.floor;w.exports=Math.trunc||function(v){var f=+v;return(f>0?s:N)(f)}},32096(w,N,s){var h=s(90160);w.exports=function(v,f){return v===void 0?arguments.length<2?"":f:h(v)}},12074(w,N,s){var h=s(72087),v=TypeError;w.exports=function(f){if(h(f))throw new v("The method doesn't accept regular expressions");return f}},29538(w,N,s){var h=s(39447),v=s(1907),f=s(13930),y=s(98828),m=s(2875),g=s(87170),S=s(22574),_=s(39298),T=s(16946),I=Object.assign,j=Object.defineProperty,M=v([].concat);w.exports=!I||y((function(){if(h&&I({b:1},I(j({},"a",{enumerable:!0,get:function(){j(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var z={},K={},Y=Symbol("assign detection"),B="abcdefghijklmnopqrst";return z[Y]=7,B.split("").forEach((function(X){K[X]=X})),I({},z)[Y]!==7||m(I({},K)).join("")!==B}))?function(K,Y){for(var B=_(K),X=arguments.length,te=1,ie=g.f,se=S.f;X>te;)for(var Te,he=T(arguments[te++]),ge=ie?M(m(he),ie(he)):m(he),ke=ge.length,Ve=0;ke>Ve;)Te=ge[Ve++],h&&!f(se,he,Te)||(B[Te]=he[Te]);return B}:I},58075(w,N,s){var h,v=s(36624),f=s(42220),y=s(80376),m=s(38530),g=s(62416),S=s(49552),_=s(92522),T="prototype",I="script",j=_("IE_PROTO"),M=function(){},z=function(B){return"<"+I+">"+B+"</"+I+">"},K=function(B){B.write(z("")),B.close();var X=B.parentWindow.Object;return B=null,X},Y=function(){try{h=new ActiveXObject("htmlfile")}catch{}var B,X,te;Y=typeof document<"u"?document.domain&&h?K(h):(X=S("iframe"),te="java"+I+":",X.style.display="none",g.appendChild(X),X.src=String(te),(B=X.contentWindow.document).open(),B.write(z("document.F=Object")),B.close(),B.F):K(h);for(var ie=y.length;ie--;)delete Y[T][y[ie]];return Y()};m[j]=!0,w.exports=Object.create||function(X,te){var ie;return X!==null?(M[T]=v(X),ie=new M,M[T]=null,ie[j]=X):ie=Y(),te===void 0?ie:f.f(ie,te)}},42220(w,N,s){var h=s(39447),v=s(58661),f=s(74284),y=s(36624),m=s(4993),g=s(2875);N.f=h&&!v?Object.defineProperties:function(_,T){y(_);for(var I,j=m(T),M=g(T),z=M.length,K=0;z>K;)f.f(_,I=M[K++],j[I]);return _}},74284(w,N,s){var h=s(39447),v=s(73648),f=s(58661),y=s(36624),m=s(70470),g=TypeError,S=Object.defineProperty,_=Object.getOwnPropertyDescriptor,T="enumerable",I="configurable",j="writable";N.f=h?f?function(z,K,Y){if(y(z),K=m(K),y(Y),typeof z=="function"&&K==="prototype"&&"value"in Y&&j in Y&&!Y[j]){var B=_(z,K);B&&B[j]&&(z[K]=Y.value,Y={configurable:I in Y?Y[I]:B[I],enumerable:T in Y?Y[T]:B[T],writable:!1})}return S(z,K,Y)}:S:function(z,K,Y){if(y(z),K=m(K),y(Y),v)try{return S(z,K,Y)}catch{}if("get"in Y||"set"in Y)throw new g("Accessors not supported");return"value"in Y&&(z[K]=Y.value),z}},13846(w,N,s){var h=s(39447),v=s(13930),f=s(22574),y=s(75817),m=s(4993),g=s(70470),S=s(49724),_=s(73648),T=Object.getOwnPropertyDescriptor;N.f=h?T:function(j,M){if(j=m(j),M=g(M),_)try{return T(j,M)}catch{}if(S(j,M))return y(!v(f.f,j,M),j[M])}},24443(w,N,s){var h=s(23045),v=s(80376).concat("length","prototype");N.f=Object.getOwnPropertyNames||function(y){return h(y,v)}},87170(w,N){N.f=Object.getOwnPropertySymbols},15972(w,N,s){var h=s(49724),v=s(62250),f=s(39298),y=s(92522),m=s(57382),g=y("IE_PROTO"),S=Object,_=S.prototype;w.exports=m?S.getPrototypeOf:function(T){var I=f(T);if(h(I,g))return I[g];var j=I.constructor;return v(j)&&I instanceof j?j.prototype:I instanceof S?_:null}},88280(w,N,s){var h=s(1907);w.exports=h({}.isPrototypeOf)},23045(w,N,s){var h=s(1907),v=s(49724),f=s(4993),y=s(74436).indexOf,m=s(38530),g=h([].push);w.exports=function(S,_){var T,I=f(S),j=0,M=[];for(T in I)!v(m,T)&&v(I,T)&&g(M,T);for(;_.length>j;)v(I,T=_[j++])&&(~y(M,T)||g(M,T));return M}},2875(w,N,s){var h=s(23045),v=s(80376);w.exports=Object.keys||function(y){return h(y,v)}},22574(w,N){var s={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,v=h&&!s.call({1:2},1);N.f=v?function(y){var m=h(this,y);return!!m&&m.enumerable}:s},79192(w,N,s){var h=s(51871),v=s(46285),f=s(74239),y=s(10043);w.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var m,g=!1,S={};try{(m=h(Object.prototype,"__proto__","set"))(S,[]),g=S instanceof Array}catch{}return function(T,I){return f(T),y(I),v(T)&&(g?m(T,I):T.__proto__=I),T}})():void 0)},54878(w,N,s){var h=s(52623),v=s(73948);w.exports=h?{}.toString:function(){return"[object "+v(this)+"]"}},60581(w,N,s){var h=s(13930),v=s(62250),f=s(46285),y=TypeError;w.exports=function(m,g){var S,_;if(g==="string"&&v(S=m.toString)&&!f(_=h(S,m))||v(S=m.valueOf)&&!f(_=h(S,m))||g!=="string"&&v(S=m.toString)&&!f(_=h(S,m)))return _;throw new y("Can't convert object to primitive value")}},11042(w,N,s){var h=s(85582),v=s(1907),f=s(24443),y=s(87170),m=s(36624),g=v([].concat);w.exports=h("Reflect","ownKeys")||function(_){var T=f.f(m(_)),I=y.f;return I?g(T,I(_)):T}},92046(w){w.exports={}},54829(w,N,s){var h=s(74284).f;w.exports=function(v,f,y){y in v||h(v,y,{configurable:!0,get:function(){return f[y]},set:function(m){f[y]=m}})}},74239(w,N,s){var h=s(87136),v=TypeError;w.exports=function(f){if(h(f))throw new v("Can't call method on "+f);return f}},14840(w,N,s){var h=s(52623),v=s(74284).f,f=s(61626),y=s(49724),m=s(54878),g=s(76264)("toStringTag");w.exports=function(S,_,T,I){var j=T?S:S&&S.prototype;j&&(y(j,g)||v(j,g,{configurable:!0,value:_}),I&&!h&&f(j,"toString",m))}},92522(w,N,s){var h=s(85816),v=s(6499),f=h("keys");w.exports=function(y){return f[y]||(f[y]=v(y))}},36128(w,N,s){var h=s(7376),v=s(45951),f=s(2532),y="__core-js_shared__",m=w.exports=v[y]||f(y,{});(m.versions||(m.versions=[])).push({version:"3.40.0",mode:h?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"})},85816(w,N,s){var h=s(36128);w.exports=function(v,f){return h[v]||(h[v]=f||{})}},11470(w,N,s){var h=s(1907),v=s(65482),f=s(90160),y=s(74239),m=h("".charAt),g=h("".charCodeAt),S=h("".slice),_=function(T){return function(I,j){var M,z,K=f(y(I)),Y=v(j),B=K.length;return Y<0||Y>=B?T?"":void 0:(M=g(K,Y))<55296||M>56319||Y+1===B||(z=g(K,Y+1))<56320||z>57343?T?m(K,Y):M:T?S(K,Y,Y+2):z-56320+(M-55296<<10)+65536}};w.exports={codeAt:_(!1),charAt:_(!0)}},19846(w,N,s){var h=s(20798),v=s(98828),f=s(45951).String;w.exports=!!Object.getOwnPropertySymbols&&!v((function(){var y=Symbol("symbol detection");return!f(y)||!(Object(y)instanceof Symbol)||!Symbol.sham&&h&&h<41}))},34849(w,N,s){var h=s(65482),v=Math.max,f=Math.min;w.exports=function(y,m){var g=h(y);return g<0?v(g+m,0):f(g,m)}},4993(w,N,s){var h=s(16946),v=s(74239);w.exports=function(f){return h(v(f))}},65482(w,N,s){var h=s(41176);w.exports=function(v){var f=+v;return f!=f||f===0?0:h(f)}},3121(w,N,s){var h=s(65482),v=Math.min;w.exports=function(f){var y=h(f);return y>0?v(y,9007199254740991):0}},39298(w,N,s){var h=s(74239),v=Object;w.exports=function(f){return v(h(f))}},46028(w,N,s){var h=s(13930),v=s(46285),f=s(25594),y=s(29367),m=s(60581),g=s(76264),S=TypeError,_=g("toPrimitive");w.exports=function(T,I){if(!v(T)||f(T))return T;var j,M=y(T,_);if(M){if(I===void 0&&(I="default"),j=h(M,T,I),!v(j)||f(j))return j;throw new S("Can't convert object to primitive value")}return I===void 0&&(I="number"),m(T,I)}},70470(w,N,s){var h=s(46028),v=s(25594);w.exports=function(f){var y=h(f,"string");return v(y)?y:y+""}},52623(w,N,s){var h={};h[s(76264)("toStringTag")]="z",w.exports=String(h)==="[object z]"},90160(w,N,s){var h=s(73948),v=String;w.exports=function(f){if(h(f)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return v(f)}},4640(w){var N=String;w.exports=function(s){try{return N(s)}catch{return"Object"}}},6499(w,N,s){var h=s(1907),v=0,f=Math.random(),y=h(1 .toString);w.exports=function(m){return"Symbol("+(m===void 0?"":m)+")_"+y(++v+f,36)}},51175(w,N,s){var h=s(19846);w.exports=h&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},58661(w,N,s){var h=s(39447),v=s(98828);w.exports=h&&v((function(){return Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype!==42}))},40551(w,N,s){var h=s(45951),v=s(62250),f=h.WeakMap;w.exports=v(f)&&/native code/.test(String(f))},76264(w,N,s){var h=s(45951),v=s(85816),f=s(49724),y=s(6499),m=s(19846),g=s(51175),S=h.Symbol,_=v("wks"),T=g?S.for||S:S&&S.withoutSetter||y;w.exports=function(I){return f(_,I)||(_[I]=m&&f(S,I)?S[I]:T("Symbol."+I)),_[I]}},19358(w,N,s){var h=s(85582),v=s(49724),f=s(61626),y=s(88280),m=s(79192),g=s(19595),S=s(54829),_=s(34084),T=s(32096),I=s(39259),j=s(85884),M=s(39447),z=s(7376);w.exports=function(K,Y,B,X){var te="stackTraceLimit",ie=X?2:1,se=K.split("."),Te=se[se.length-1],he=h.apply(null,se);if(he){var ge=he.prototype;if(!z&&v(ge,"cause")&&delete ge.cause,!B)return he;var ke=h("Error"),Ve=Y((function(He,qe){var nt=T(X?qe:He,void 0),gt=X?new he(He):new he;return nt!==void 0&&f(gt,"message",nt),j(gt,Ve,gt.stack,2),this&&y(ge,this)&&_(gt,this,Ve),arguments.length>ie&&I(gt,arguments[ie]),gt}));if(Ve.prototype=ge,Te!=="Error"?m?m(Ve,ke):g(Ve,ke,{name:!0}):M&&te in he&&(S(Ve,he,te),S(Ve,he,"prepareStackTrace")),g(Ve,he),!z)try{ge.name!==Te&&f(ge,"name",Te),ge.constructor=Ve}catch{}return Ve}}},36371(w,N,s){var h=s(11091),v=s(85582),f=s(76024),y=s(98828),m=s(19358),g="AggregateError",S=v(g),_=!y((function(){return S([1]).errors[0]!==1}))&&y((function(){return S([1],g,{cause:7}).cause!==7}));h({global:!0,constructor:!0,arity:2,forced:_},{AggregateError:m(g,(function(T){return function(j,M){return f(T,this,arguments)}}),_,!0)})},82048(w,N,s){var h=s(11091),v=s(88280),f=s(15972),y=s(79192),m=s(19595),g=s(58075),S=s(61626),_=s(75817),T=s(39259),I=s(85884),j=s(24823),M=s(32096),z=s(76264)("toStringTag"),K=Error,Y=[].push,B=function(ie,se){var Te,he=v(X,this);y?Te=y(new K,he?f(this):X):(Te=he?this:g(X),S(Te,z,"Error")),se!==void 0&&S(Te,"message",M(se)),I(Te,B,Te.stack,1),arguments.length>2&&T(Te,arguments[2]);var ge=[];return j(ie,Y,{that:ge}),S(Te,"errors",ge),Te};y?y(B,K):m(B,K,{name:!0});var X=B.prototype=g(K.prototype,{constructor:_(1,B),message:_(1,""),name:_(1,"AggregateError")});h({global:!0,constructor:!0,arity:2},{AggregateError:B})},64502(w,N,s){s(82048)},19748(w,N,s){var h=s(11091),v=s(74436).includes,f=s(98828),y=s(42156);h({target:"Array",proto:!0,forced:f((function(){return!Array(1).includes()}))},{includes:function(g){return v(this,g,arguments.length>1?arguments[1]:void 0)}}),y("includes")},99363(w,N,s){var h=s(4993),v=s(42156),f=s(93742),y=s(64932),m=s(74284).f,g=s(60183),S=s(59550),_=s(7376),T=s(39447),I="Array Iterator",j=y.set,M=y.getterFor(I);w.exports=g(Array,"Array",(function(K,Y){j(this,{type:I,target:h(K),index:0,kind:Y})}),(function(){var K=M(this),Y=K.target,B=K.index++;if(!Y||B>=Y.length)return K.target=null,S(void 0,!0);switch(K.kind){case"keys":return S(B,!1);case"values":return S(Y[B],!1)}return S([B,Y[B]],!1)}),"values");var z=f.Arguments=f.Array;if(v("keys"),v("values"),v("entries"),!_&&T&&z.name!=="values")try{m(z,"name",{value:"values"})}catch{}},96605(w,N,s){var h=s(11091),v=s(45951),f=s(76024),y=s(19358),m="WebAssembly",g=v[m],S=new Error("e",{cause:7}).cause!==7,_=function(I,j){var M={};M[I]=y(I,j,S),h({global:!0,constructor:!0,arity:1,forced:S},M)},T=function(I,j){if(g&&g[I]){var M={};M[I]=y(m+"."+I,j,S),h({target:m,stat:!0,constructor:!0,arity:1,forced:S},M)}};_("Error",(function(I){return function(M){return f(I,this,arguments)}})),_("EvalError",(function(I){return function(M){return f(I,this,arguments)}})),_("RangeError",(function(I){return function(M){return f(I,this,arguments)}})),_("ReferenceError",(function(I){return function(M){return f(I,this,arguments)}})),_("SyntaxError",(function(I){return function(M){return f(I,this,arguments)}})),_("TypeError",(function(I){return function(M){return f(I,this,arguments)}})),_("URIError",(function(I){return function(M){return f(I,this,arguments)}})),T("CompileError",(function(I){return function(M){return f(I,this,arguments)}})),T("LinkError",(function(I){return function(M){return f(I,this,arguments)}})),T("RuntimeError",(function(I){return function(M){return f(I,this,arguments)}}))},79307(w,N,s){var h=s(11091),v=s(44673);h({target:"Function",proto:!0,forced:Function.bind!==v},{bind:v})},71340(w,N,s){var h=s(11091),v=s(29538);h({target:"Object",stat:!0,arity:2,forced:Object.assign!==v},{assign:v})},19770(w,N,s){var h=s(11091),v=s(1907),f=s(12074),y=s(74239),m=s(90160),g=s(25735),S=v("".indexOf);h({target:"String",proto:!0,forced:!g("includes")},{includes:function(T){return!!~S(m(y(this)),m(f(T)),arguments.length>1?arguments[1]:void 0)}})},7057(w,N,s){var h=s(11470).charAt,v=s(90160),f=s(64932),y=s(60183),m=s(59550),g="String Iterator",S=f.set,_=f.getterFor(g);y(String,"String",(function(T){S(this,{type:g,string:v(T),index:0})}),(function(){var I,j=_(this),M=j.string,z=j.index;return z>=M.length?m(void 0,!0):(I=h(M,z),j.index+=I.length,m(I,!1))}))},91599(w,N,s){s(64502)},12560(w,N,s){s(99363);var h=s(19287),v=s(45951),f=s(14840),y=s(93742);for(var m in h)f(v[m],m),y[m]=y.Array},694(w,N,s){s(91599);var h=s(37257);s(12560),w.exports=h},19709(w,N,s){var h=s(23034);w.exports=h},76343(w,N,s){var h=s(36880);w.exports=h},40975(w,N,s){var h=s(9748);w.exports=h}},hs={};function Be(w){var N=hs[w];if(N!==void 0)return N.exports;var s=hs[w]={id:w,loaded:!1,exports:{}};return eE[w].call(s.exports,s,s.exports,Be),s.loaded=!0,s.exports}Be.n=w=>{var N=w&&w.__esModule?()=>w.default:()=>w;return Be.d(N,{a:N}),N},Be.d=(w,N)=>{for(var s in N)Be.o(N,s)&&!Be.o(w,s)&&Object.defineProperty(w,s,{enumerable:!0,get:N[s]})},Be.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}})(),Be.o=(w,N)=>Object.prototype.hasOwnProperty.call(w,N),Be.r=w=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(w,"__esModule",{value:!0})},Be.nmd=w=>(w.paths=[],w.children||(w.children=[]),w);var Cd={};(()=>{Be.d(Cd,{default:()=>bU});var w={};Be.r(w),Be.d(w,{CLEAR:()=>pe,CLEAR_BY:()=>U,NEW_AUTH_ERR:()=>Zt,NEW_SPEC_ERR:()=>kt,NEW_SPEC_ERR_BATCH:()=>yt,NEW_THROWN_ERR:()=>Gt,NEW_THROWN_ERR_BATCH:()=>Sr,clear:()=>St,clearBy:()=>Bt,newAuthErr:()=>Fe,newSpecErr:()=>ye,newSpecErrBatch:()=>Ee,newThrownErr:()=>Z,newThrownErrBatch:()=>ne});var N={};Be.r(N),Be.d(N,{AUTHORIZE:()=>an,AUTHORIZE_OAUTH2:()=>rc,CONFIGURE_AUTH:()=>Zs,LOGOUT:()=>tc,RESTORE_AUTHORIZATION:()=>nc,SHOW_AUTH_POPUP:()=>vs,authPopup:()=>rl,authorize:()=>Ku,authorizeAccessCodeWithBasicAuthentication:()=>el,authorizeAccessCodeWithFormParams:()=>ac,authorizeApplication:()=>jo,authorizeOauth2:()=>yi,authorizeOauth2WithPersistOption:()=>bs,authorizePassword:()=>ws,authorizeRequest:()=>Es,authorizeWithPersistOption:()=>$c,configureAuth:()=>vi,logout:()=>$i,logoutWithPersistOption:()=>Co,persistAuthorizationIfNeeded:()=>tl,preAuthorizeImplicit:()=>gi,restoreAuthorization:()=>bn,showDefinitions:()=>Hu});var s={};Be.r(s),Be.d(s,{authorized:()=>zc,definitionsForRequirements:()=>ic,definitionsToAuthorize:()=>Uc,getConfigs:()=>uo,getDefinitionsByNames:()=>Gu,isAuthorized:()=>rh,selectAuthPath:()=>al,shownDefinitions:()=>wi});var h={};Be.r(h),Be.d(h,{TOGGLE_CONFIGS:()=>Bn,UPDATE_CONFIGS:()=>aa,downloadConfig:()=>n0,getConfigByUrl:()=>a0,loaded:()=>po,toggle:()=>Ya,update:()=>Ga});var v={};Be.r(v),Be.d(v,{get:()=>Pd});var f={};Be.r(f),Be.d(f,{transform:()=>Sl});var y={};Be.r(y),Be.d(y,{transform:()=>xl});var m={};Be.r(m),Be.d(m,{allErrors:()=>hc,lastError:()=>Ko});var g={};Be.r(g),Be.d(g,{SHOW:()=>Cs,UPDATE_FILTER:()=>Io,UPDATE_LAYOUT:()=>iu,UPDATE_MODE:()=>Mo,changeMode:()=>Zm,show:()=>dc,updateFilter:()=>js,updateLayout:()=>Yi});var S={};Be.r(S),Be.d(S,{current:()=>Dd,currentFilter:()=>Go,isShown:()=>Ro,showSummary:()=>Oi,whatMode:()=>Un});var _={};Be.r(_),Be.d(_,{taggedOperations:()=>eg});var T={};Be.r(T),Be.d(T,{getActiveLanguage:()=>hh,getDefaultExpanded:()=>dh,getGenerators:()=>fc,getSnippetGenerators:()=>ng});var I={};Be.r(I),Be.d(I,{JsonSchemaArrayItemFile:()=>wh,JsonSchemaArrayItemText:()=>mu,JsonSchemaForm:()=>Hd,JsonSchema_array:()=>ii,JsonSchema_boolean:()=>Kd,JsonSchema_object:()=>sg,JsonSchema_string:()=>Xi});var j={};Be.r(j),Be.d(j,{allowTryItOutFor:()=>Op,basePath:()=>Tg,canExecuteScheme:()=>Rs,consumes:()=>Ph,consumesOptionsFor:()=>Qi,contentTypeValues:()=>Cl,currentProducesFor:()=>ff,definitions:()=>pf,externalDocs:()=>Cg,findDefinition:()=>Ng,getOAS3RequiredRequestBodyContentType:()=>zg,getParameter:()=>$g,hasHost:()=>df,host:()=>Th,info:()=>Ch,isMediaTypeSchemaPropertiesEqual:()=>Vg,isOAS3:()=>Ag,lastError:()=>Sg,mutatedRequestFor:()=>Fg,mutatedRequests:()=>cr,operationScheme:()=>mf,operationWithMeta:()=>hf,operations:()=>jh,operationsWithRootInherited:()=>bu,operationsWithTags:()=>Mg,parameterInclusionSettingFor:()=>Mh,parameterValues:()=>Rh,parameterWithMeta:()=>Lg,parameterWithMetaByIdentity:()=>Eu,parametersIncludeIn:()=>ho,parametersIncludeType:()=>ci,paths:()=>lf,produces:()=>cf,producesOptionsFor:()=>Bg,requestFor:()=>Dg,requests:()=>Rg,responseFor:()=>wu,responses:()=>$a,schemes:()=>Ms,security:()=>uf,securityDefinitions:()=>Nh,semver:()=>jg,spec:()=>eo,specJS:()=>_g,specJson:()=>Za,specJsonWithResolvedSubtrees:()=>li,specResolved:()=>Og,specResolvedSubtree:()=>kg,specSource:()=>Do,specStr:()=>u0,tagDetails:()=>Ig,taggedOperations:()=>Ih,tags:()=>La,url:()=>xg,validOperationMethods:()=>Pg,validateBeforeExecute:()=>Ug,validationErrors:()=>qg,version:()=>sf});var M={};Be.r(M),Be.d(M,{CLEAR_REQUEST:()=>Pl,CLEAR_RESPONSE:()=>Ap,CLEAR_VALIDATE_PARAMS:()=>Zi,LOG_REQUEST:()=>Fo,SET_MUTATED_REQUEST:()=>vc,SET_REQUEST:()=>kp,SET_RESPONSE:()=>Su,SET_SCHEME:()=>xu,UPDATE_EMPTY_PARAM_INCLUSION:()=>yc,UPDATE_JSON:()=>jl,UPDATE_OPERATION_META_VALUE:()=>bc,UPDATE_PARAM:()=>Kn,UPDATE_RESOLVED:()=>Cp,UPDATE_RESOLVED_SUBTREE:()=>Pi,UPDATE_SPEC:()=>wa,UPDATE_URL:()=>fo,VALIDATE_PARAMS:()=>Ds,changeConsumesValue:()=>Ec,changeParam:()=>bf,changeParamByIdentity:()=>wf,changeProducesValue:()=>Kg,clearRequest:()=>_u,clearResponse:()=>Xg,clearValidateParams:()=>Sf,execute:()=>Yg,executeRequest:()=>d0,invalidateResolvedSubtreeCache:()=>Hg,logRequest:()=>h0,parseToJson:()=>$h,requestResolvedSubtree:()=>Wg,resolveSpec:()=>Tl,setMutatedRequest:()=>Bh,setRequest:()=>xf,setResponse:()=>Gg,setScheme:()=>Ou,updateEmptyParamInclusion:()=>wc,updateJsonSpec:()=>Lh,updateResolved:()=>jp,updateResolvedSubtree:()=>Il,updateSpec:()=>Fh,updateUrl:()=>vf,validateParams:()=>Ef});var z={};Be.r(z),Be.d(z,{executeRequest:()=>Zg,updateJsonSpec:()=>f0,updateSpec:()=>Gn,validateParams:()=>m0});var K={};Be.r(K),Be.d(K,{JsonPatchError:()=>zn,_areEquals:()=>xc,applyOperation:()=>Rl,applyPatch:()=>es,applyReducer:()=>ay,deepClone:()=>ny,getValueByPointer:()=>Ml,validate:()=>Ip,validator:()=>Au});var Y={};Be.r(Y),Be.d(Y,{compare:()=>i,generate:()=>_f,observe:()=>Mp,unobserve:()=>y0});var B={};Be.r(B),Be.d(B,{hasElementSourceMap:()=>Gh,includesClasses:()=>Yh,includesSymbols:()=>FC,isAnnotationElement:()=>RC,isArrayElement:()=>vo,isBooleanElement:()=>Ff,isCommentElement:()=>DC,isElement:()=>da,isLinkElement:()=>aS,isMemberElement:()=>Bs,isNullElement:()=>tb,isNumberElement:()=>eb,isObjectElement:()=>hn,isParseResultElement:()=>iS,isPrimitiveElement:()=>$p,isRefElement:()=>oS,isStringElement:()=>Ir});var X={};Be.r(X),Be.d(X,{isJSONReferenceElement:()=>cb,isJSONSchemaElement:()=>LS,isLinkDescriptionElement:()=>p3,isMediaElement:()=>$S});var te={};Be.r(te),Be.d(te,{isBooleanJsonSchemaElement:()=>sN,isCallbackElement:()=>WP,isComponentsElement:()=>HP,isContactElement:()=>KP,isDiscriminatorElement:()=>hN,isExampleElement:()=>GP,isExternalDocumentationElement:()=>YP,isHeaderElement:()=>ad,isInfoElement:()=>XP,isLicenseElement:()=>QP,isLinkElement:()=>ZP,isMediaTypeElement:()=>Jy,isOpenApi3_0Element:()=>tN,isOpenapiElement:()=>eN,isOperationElement:()=>HS,isParameterElement:()=>rN,isPathItemElement:()=>gb,isPathsElement:()=>nN,isReferenceElement:()=>Mn,isRequestBodyElement:()=>aN,isResponseElement:()=>Vy,isResponsesElement:()=>oN,isSchemaElement:()=>iN,isSecurityRequirementElement:()=>lN,isSecuritySchemeElement:()=>cN,isServerElement:()=>uN,isServerVariableElement:()=>pN,isServersElement:()=>KS});var ie={};Be.r(ie),Be.d(ie,{isJSONReferenceElement:()=>cb,isJSONSchemaElement:()=>y4,isLinkDescriptionElement:()=>v4,isMediaElement:()=>$S});var se={};Be.r(se),Be.d(se,{isJSONReferenceElement:()=>cb,isJSONSchemaElement:()=>_4,isLinkDescriptionElement:()=>O4});var Te={};Be.r(Te),Be.d(Te,{isJSONSchemaElement:()=>z4,isLinkDescriptionElement:()=>V4});var he={};Be.r(he),Be.d(he,{isJSONSchemaElement:()=>Q4,isLinkDescriptionElement:()=>Z4});var ge={};Be.r(ge),Be.d(ge,{isBooleanJsonSchemaElement:()=>a1,isCallbackElement:()=>MI,isComponentsElement:()=>RI,isContactElement:()=>DI,isExampleElement:()=>FI,isExternalDocumentationElement:()=>LI,isHeaderElement:()=>$I,isInfoElement:()=>BI,isJsonSchemaDialectElement:()=>A2,isLicenseElement:()=>qI,isLinkElement:()=>UI,isMediaTypeElement:()=>t5,isOpenApi3_1Element:()=>C2,isOpenapiElement:()=>zI,isOperationElement:()=>j2,isParameterElement:()=>VI,isPathItemElement:()=>zp,isPathItemElementExternal:()=>JI,isPathsElement:()=>WI,isReferenceElement:()=>Vp,isReferenceElementExternal:()=>HI,isRequestBodyElement:()=>KI,isResponseElement:()=>GI,isResponsesElement:()=>YI,isSchemaElement:()=>Vs,isSecurityRequirementElement:()=>XI,isSecuritySchemeElement:()=>QI,isServerElement:()=>ZI,isServerVariableElement:()=>e5});var ke={};Be.r(ke),Be.d(ke,{cookie:()=>HM,header:()=>WM,path:()=>zM,query:()=>VM});var Ve={};Be.r(Ve),Be.d(Ve,{Button:()=>C7,Col:()=>k7,Collapse:()=>T7,Container:()=>O7,Input:()=>P7,Link:()=>t_,Row:()=>A7,Select:()=>N7,TextArea:()=>j7});var He={};Be.r(He),Be.d(He,{basePath:()=>XF,consumes:()=>QF,definitions:()=>WF,findDefinition:()=>JF,hasHost:()=>HF,host:()=>YF,produces:()=>ZF,schemes:()=>eL,securityDefinitions:()=>KF,validOperationMethods:()=>GF});var qe={};Be.r(qe),Be.d(qe,{definitionsToAuthorize:()=>tL});var nt={};Be.r(nt),Be.d(nt,{callbacksOperations:()=>lL,findSchema:()=>sL,isOAS3:()=>oL,isOAS30:()=>aL,isSwagger2:()=>nL,servers:()=>iL});var gt={};Be.r(gt),Be.d(gt,{CLEAR_REQUEST_BODY_VALIDATE_ERROR:()=>Fv,CLEAR_REQUEST_BODY_VALUE:()=>kw,SET_REQUEST_BODY_VALIDATE_ERROR:()=>Ow,UPDATE_ACTIVE_EXAMPLES_MEMBER:()=>Ew,UPDATE_REQUEST_BODY_INCLUSION:()=>ww,UPDATE_REQUEST_BODY_VALUE:()=>vw,UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG:()=>bw,UPDATE_REQUEST_CONTENT_TYPE:()=>Sw,UPDATE_RESPONSE_CONTENT_TYPE:()=>xw,UPDATE_SELECTED_SERVER:()=>yw,UPDATE_SERVER_VARIABLE_VALUE:()=>_w,clearRequestBodyValidateError:()=>DL,clearRequestBodyValue:()=>LL,initRequestBodyValidateError:()=>FL,setActiveExamplesMember:()=>NL,setRequestBodyInclusion:()=>PL,setRequestBodyValidateError:()=>RL,setRequestBodyValue:()=>CL,setRequestContentType:()=>TL,setResponseContentType:()=>IL,setRetainRequestBodyValueFlag:()=>jL,setSelectedServer:()=>AL,setServerVariableValue:()=>ML});var Re={};Be.r(Re),Be.d(Re,{activeExamplesMember:()=>KL,hasUserEditedBody:()=>JL,requestBodyErrors:()=>HL,requestBodyInclusionSetting:()=>WL,requestBodyValue:()=>UL,requestContentType:()=>GL,responseContentType:()=>YL,selectDefaultRequestBodyValue:()=>VL,selectedServer:()=>qL,serverEffectiveValue:()=>ZL,serverVariableValue:()=>XL,serverVariables:()=>QL,shouldRetainRequestBodyValue:()=>zL,validOperationMethods:()=>r$,validateBeforeExecute:()=>e$,validateShallowRequired:()=>t$});var u=Be(96540);function at(t){return`Minified Redux error #${t}; visit https://redux.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}var Xe=typeof Symbol=="function"&&Symbol.observable||"@@observable",Se=()=>Math.random().toString(36).substring(7).split("").join("."),De={INIT:`@@redux/INIT${Se()}`,REPLACE:`@@redux/REPLACE${Se()}`};function Ke(t){if(typeof t!="object"||t===null)return!1;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||Object.getPrototypeOf(t)===null}function ft(t,e,r){if(typeof t!="function")throw new Error(at(2));if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(at(0));if(typeof e=="function"&&r===void 0&&(r=e,e=void 0),r!==void 0){if(typeof r!="function")throw new Error(at(1));return r(ft)(t,e)}let n=t,a=e,o=new Map,p=o,c=0,d=!1;function E(){p===o&&(p=new Map,o.forEach(((R,L)=>{p.set(L,R)})))}function x(){if(d)throw new Error(at(3));return a}function k(R){if(typeof R!="function")throw new Error(at(4));if(d)throw new Error(at(5));let L=!0;E();const V=c++;return p.set(V,R),function(){if(L){if(d)throw new Error(at(6));L=!1,E(),p.delete(V),o=null}}}function P(R){if(!Ke(R))throw new Error(at(7));if(R.type===void 0)throw new Error(at(8));if(typeof R.type!="string")throw new Error(at(17));if(d)throw new Error(at(9));try{d=!0,a=n(a,R)}finally{d=!1}return(o=p).forEach((L=>{L()})),R}return P({type:De.INIT}),{dispatch:P,subscribe:k,getState:x,replaceReducer:function(L){if(typeof L!="function")throw new Error(at(10));n=L,P({type:De.REPLACE})},[Xe]:function(){const L=k;return{subscribe(V){if(typeof V!="object"||V===null)throw new Error(at(11));function Q(){const J=V;J.next&&J.next(x())}return Q(),{unsubscribe:L(Q)}},[Xe](){return this}}}}}function Nt(t,e){return function(...r){return e(t.apply(this,r))}}function Wt(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce(((e,r)=>(...n)=>e(r(...n))))}var H=Be(49568),we=Be(81919),ct=Be.n(we),mt=Be(89593),ur=Be(20334),ar=Be(55364),Tt=Be.n(ar);const Gt="err_new_thrown_err",Sr="err_new_thrown_err_batch",kt="err_new_spec_err",yt="err_new_spec_err_batch",Zt="err_new_auth_err",pe="err_clear",U="err_clear_by";function Z(t){return{type:Gt,payload:(0,ur.serializeError)(t)}}function ne(t){return{type:Sr,payload:t}}function ye(t){return{type:kt,payload:t}}function Ee(t){return{type:yt,payload:t}}function Fe(t){return{type:Zt,payload:t}}function St(t={}){return{type:pe,payload:t}}function Bt(t=()=>!0){return{type:U,payload:t}}const Qe=(function(){var e={location:{},history:{},open:()=>{},close:()=>{},File:function(){},FormData:function(){}};if(typeof window>"u")return e;try{e=window;for(var r of["File","Blob","FormData"])r in window&&(e[r]=window[r])}catch(n){console.error(n)}return e})();Be(84058),Be(55808);var $t=Be(50104),Pt=Be.n($t),rn=Be(7309),kr=Be.n(rn),An=Be(42426),Wr=Be.n(An),Jn=Be(75288),Ea=Be.n(Jn),Zn=Be(1882),un=Be.n(Zn),ti=Be(2205),Oo=Be.n(ti),Li=Be(53209),Fn=Be.n(Li),zo=Be(62802),Vo=Be.n(zo);const ds=H.default.Set.of("type","format","items","default","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf");function sr(t,{isOAS3:e}={}){if(!H.default.Map.isMap(t))return{schema:H.default.Map(),parameterContentMediaType:null};if(!e)return t.get("in")==="body"?{schema:t.get("schema",H.default.Map()),parameterContentMediaType:null}:{schema:t.filter(((r,n)=>ds.includes(n))),parameterContentMediaType:null};if(t.get("content")){const r=t.get("content",H.default.Map({})).keySeq().first();return{schema:t.getIn(["content",r,"schema"],H.default.Map()),parameterContentMediaType:r}}return{schema:t.get("schema")?t.get("schema",H.default.Map()):H.default.Map(),parameterContentMediaType:null}}var br=Be(48287).Buffer;const tn="default",Cr=t=>H.default.Iterable.isIterable(t),Mr=t=>Cr(t)?t.toJS():t;function Nn(t){return Hr(t)?Mr(t):{}}function nn(t){if(Cr(t)||t instanceof Qe.File||!Hr(t))return t;if(Array.isArray(t))return H.default.Seq(t).map(nn).toList();if(un()(t.entries)){const e=(function(n){if(!un()(n.entries))return n;const a={},o="_**[]",p={};for(let c of n.entries())a[c[0]]||p[c[0]]&&p[c[0]].containsMultiple?(p[c[0]]||(p[c[0]]={containsMultiple:!0,length:1},a[`${c[0]}${o}${p[c[0]].length}`]=a[c[0]],delete a[c[0]]),p[c[0]].length+=1,a[`${c[0]}${o}${p[c[0]].length}`]=c[1]):a[c[0]]=c[1];return a})(t);return H.default.OrderedMap(e).map(nn)}return H.default.OrderedMap(t).map(nn)}function fn(t){return Array.isArray(t)?t:[t]}function Ln(t){return typeof t=="function"}function Hr(t){return!!t&&typeof t=="object"}function ia(t){return typeof t=="function"}function za(t){return Array.isArray(t)}const fs=Pt();function ea(t,e){return Object.keys(t).reduce(((r,n)=>(r[n]=e(t[n],n),r)),{})}function di(t,e){return Object.keys(t).reduce(((r,n)=>{let a=e(t[n],n);return a&&typeof a=="object"&&Object.assign(r,a),r}),{})}function Va(t){return({dispatch:e,getState:r})=>n=>a=>typeof a=="function"?a(t()):n(a)}function Rr(t,e,r,n,a,o){if(!e)return[];let p=[],c=e.get("nullable"),d=e.get("required"),E=e.get("maximum"),x=e.get("minimum"),k=e.get("type"),P=e.get("format"),R=e.get("maxLength"),L=e.get("minLength"),V=e.get("uniqueItems"),Q=e.get("maxItems"),J=e.get("minItems"),re=e.get("pattern");const me=r||d===!0,le=t!=null,ve=me||le&&k==="array"||!(!me&&!le),be=c&&t===null;if(me&&!le&&!be&&!n&&!k)return p.push("Required field is not provided"),p;if(be||!k||!ve)return[];let ce=k==="string"&&t,_e=k==="array"&&Array.isArray(t)&&t.length,Ae=k==="array"&&H.default.List.isList(t)&&t.count(),xe=k==="array"&&typeof t=="string"&&t;const Oe=[ce,_e,Ae,k==="file"&&t instanceof Qe.File,k==="boolean"&&(t||t===!1),k==="number"&&(t||t===0),k==="integer"&&(t||t===0),k==="object"&&typeof t=="object"&&t!==null,k==="object"&&typeof t=="string"&&t],je=(o?Oe:Oe.concat(xe)).some((G=>!!G));if(me&&!je&&!n)return p.push("Required field is not provided"),p;if(k==="object"&&(a===null||a==="application/json")){let G=t;if(typeof t=="string")try{G=JSON.parse(t)}catch{return p.push("Parameter string value must be valid JSON"),p}e&&e.has("required")&&ia(d.isList)&&d.isList()&&d.forEach((de=>{G[de]===void 0&&p.push({propKey:de,error:"Required property not found"})})),e&&e.has("properties")&&e.get("properties").forEach(((de,Ne)=>{const Ye=Rr(G[Ne],de,!1,n,a,o);p.push(...Ye.map((ht=>({propKey:Ne,error:ht}))))}))}if(re){let G=((de,Ne)=>{if(!new RegExp(Ne).test(de))return"Value must follow pattern "+Ne})(t,re);G&&p.push(G)}if(J&&k==="array"){let G=((de,Ne)=>{if(!de&&Ne>=1||de&&de.length<Ne)return`Array must contain at least ${Ne} item${Ne===1?"":"s"}`})(t,J);G&&p.push(G)}if(Q&&k==="array"){let G=((de,Ne)=>{if(de&&de.length>Ne)return`Array must not contain more then ${Ne} item${Ne===1?"":"s"}`})(t,Q);G&&p.push({needRemove:!0,error:G})}if(V&&k==="array"){let G=((de,Ne)=>{if(de&&(Ne==="true"||Ne===!0)){const Ye=(0,H.fromJS)(de),ht=Ye.toSet();if(de.length>ht.size){let Ct=(0,H.Set)();if(Ye.forEach(((_t,qt)=>{Ye.filter((It=>ia(It.equals)?It.equals(_t):It===_t)).size>1&&(Ct=Ct.add(qt))})),Ct.size!==0)return Ct.map((_t=>({index:_t,error:"No duplicates allowed."}))).toArray()}}})(t,V);G&&p.push(...G)}if(R||R===0){let G=((de,Ne)=>{if(de.length>Ne)return`Value must be no longer than ${Ne} character${Ne!==1?"s":""}`})(t,R);G&&p.push(G)}if(L){let G=((de,Ne)=>{if(de.length<Ne)return`Value must be at least ${Ne} character${Ne!==1?"s":""}`})(t,L);G&&p.push(G)}if(E||E===0){let G=((de,Ne)=>{if(de>Ne)return`Value must be less than or equal to ${Ne}`})(t,E);G&&p.push(G)}if(x||x===0){let G=((de,Ne)=>{if(de<Ne)return`Value must be greater than or equal to ${Ne}`})(t,x);G&&p.push(G)}if(k==="string"){let G;if(G=P==="date-time"?(de=>{if(isNaN(Date.parse(de)))return"Value must be a DateTime"})(t):P==="uuid"?(de=>{if(de=de.toString().toLowerCase(),!/^[{(]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[)}]?$/.test(de))return"Value must be a Guid"})(t):(de=>{if(de&&typeof de!="string")return"Value must be a string"})(t),!G)return p;p.push(G)}else if(k==="boolean"){let G=(de=>{if(de!=="true"&&de!=="false"&&de!==!0&&de!==!1)return"Value must be a boolean"})(t);if(!G)return p;p.push(G)}else if(k==="number"){let G=(de=>{if(!/^-?\d+(\.?\d+)?$/.test(de))return"Value must be a number"})(t);if(!G)return p;p.push(G)}else if(k==="integer"){let G=(de=>{if(!/^-?\d+$/.test(de))return"Value must be an integer"})(t);if(!G)return p;p.push(G)}else if(k==="array"){if(!_e&&!Ae)return p;t&&t.forEach(((G,de)=>{const Ne=Rr(G,e.get("items"),!1,n,a,o);p.push(...Ne.map((Ye=>({index:de,error:Ye}))))}))}else if(k==="file"){let G=(de=>{if(de&&!(de instanceof Qe.File))return"Value must be a file"})(t);if(!G)return p;p.push(G)}return p}const ko=t=>{let e;return e=t instanceof br?t:br.from(t.toString(),"utf-8"),e.toString("base64")},Nr={operationsSorter:{alpha:(t,e)=>t.get("path").localeCompare(e.get("path")),method:(t,e)=>t.get("method").localeCompare(e.get("method"))},tagsSorter:{alpha:(t,e)=>t.localeCompare(e)}},xn=t=>{let e=[];for(let r in t){let n=t[r];n!==void 0&&n!==""&&e.push([r,"=",encodeURIComponent(n).replace(/%20/g,"+")].join(""))}return e.join("&")},fi=(t,e,r)=>!!kr()(r,(n=>Ea()(t[n],e[n])));function ta(t){return!(!t||t.indexOf("localhost")>=0||t.indexOf("127.0.0.1")>=0||t==="none")}const Jo=t=>typeof t=="string"||t instanceof String?t.trim().replace(/\s/g,"%20"):"",ms=t=>Oo()(Jo(t).replace(/%20/g,"_")),Yt=t=>/^x-/.test(t),gr=t=>H.Map.isMap(t)?t.filter(((e,r)=>Yt(r))):Object.keys(t).filter((e=>Yt(e))),mr=t=>t.filter(((e,r)=>/^pattern|maxLength|minLength|maximum|minimum/.test(r)));function Vr(t,e,r=()=>!0){if(typeof t!="object"||Array.isArray(t)||t===null||!e)return t;const n=Object.assign({},t);return Object.keys(n).forEach((a=>{a===e&&r(n[a],a)?delete n[a]:n[a]=Vr(n[a],e,r)})),n}function Gr(t){if(typeof t=="string")return t;if(t&&t.toJS&&(t=t.toJS()),typeof t=="object"&&t!==null)try{return JSON.stringify(t,null,2)}catch{return String(t)}return t==null?"":t.toString()}function sa(t,{returnAll:e=!1,allowHashes:r=!0}={}){if(!H.default.Map.isMap(t))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input");const n=t.get("name"),a=t.get("in");let o=[];return t&&t.hashCode&&a&&n&&r&&o.push(`${a}.${n}.hash-${t.hashCode()}`),a&&n&&o.push(`${a}.${n}`),o.push(n),e?o:o[0]||""}function Sa(t,e){return sa(t,{returnAll:!0}).map((r=>e[r])).filter((r=>r!==void 0))[0]}function Ja(t){return t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}const Wa=t=>!t||!(!Cr(t)||!t.isEmpty()),Ia=t=>t;function Yl(t,e,r){let n=[Va(r)];return ft(t,e,(Qe.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||Wt)((function(...o){return p=>(c,d)=>{const E=p(c,d);let x=()=>{throw new Error(at(15))};const k={getState:E.getState,dispatch:(R,...L)=>x(R,...L)},P=o.map((R=>R(k)));return x=Wt(...P)(E.dispatch),{...E,dispatch:x}}})(...n)))}class Xl{constructor(e={}){ct()(this,{state:{},plugins:[],system:{configs:{},fn:{},components:{},rootInjects:{},statePlugins:{}},boundSystem:{},toolbox:{}},e),this.getSystem=this._getSystem.bind(this),this.store=(function(n,a,o){return Yl(n,a,o)})(Ia,(0,H.fromJS)(this.state),this.getSystem),this.buildSystem(!1),this.register(this.plugins)}getStore(){return this.store}register(e,r=!0){var n=gs(e,this.getSystem());lo(this.system,n),r&&this.buildSystem(),ys.call(this.system,e,this.getSystem())&&this.buildSystem()}buildSystem(e=!0){let r=this.getStore().dispatch,n=this.getStore().getState;this.boundSystem=Object.assign({},this.getRootInjects(),this.getWrappedAndBoundActions(r),this.getWrappedAndBoundSelectors(n,this.getSystem),this.getStateThunks(n),this.getFn(),this.getConfigs()),e&&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:H.default,React:u},this.system.rootInjects||{})}_getConfigs(){return this.system.configs}getConfigs(){return{configs:this.system.configs}}setConfigs(e){this.system.configs=e}rebuildReducer(){this.store.replaceReducer((function(r,n){return(function(o,p){let c=Object.keys(o).reduce(((d,E)=>(d[E]=(function(k,P){return(R=new H.Map,L)=>{if(!k)return R;let V=k[L.type];if(V){const Q=mi(V,P)(R,L);return Q===null?R:Q}return R}})(o[E],p),d)),{});return Object.keys(c).length?(0,mt.H)(c):Ia})(ea(r,(a=>a.reducers)),n)})(this.system.statePlugins,this.getSystem))}getType(e){let r=e[0].toUpperCase()+e.slice(1);return di(this.system.statePlugins,((n,a)=>{let o=n[e];if(o)return{[a+r]:o}}))}getSelectors(){return this.getType("selectors")}getActions(){return ea(this.getType("actions"),(e=>di(e,((r,n)=>{if(Ln(r))return{[n]:r}}))))}getWrappedAndBoundActions(e){return ea(this.getBoundActions(e),((r,n)=>{let a=this.system.statePlugins[n.slice(0,-7)].wrapActions;return a?ea(r,((o,p)=>{let c=a[p];return c?(Array.isArray(c)||(c=[c]),c.reduce(((d,E)=>{let x=(...k)=>E(d,this.getSystem())(...k);if(!Ln(x))throw new TypeError("wrapActions needs to return a function that returns a new function (ie the wrapped action)");return mi(x,this.getSystem)}),o||Function.prototype)):o})):r}))}getWrappedAndBoundSelectors(e,r){return ea(this.getBoundSelectors(e,r),((n,a)=>{let o=[a.slice(0,-9)],p=this.system.statePlugins[o].wrapSelectors;return p?ea(n,((c,d)=>{let E=p[d];return E?(Array.isArray(E)||(E=[E]),E.reduce(((x,k)=>{let P=(...R)=>k(x,this.getSystem())(e().getIn(o),...R);if(!Ln(P))throw new TypeError("wrapSelector needs to return a function that returns a new function (ie the wrapped action)");return P}),c||Function.prototype)):c})):n}))}getStates(e){return Object.keys(this.system.statePlugins).reduce(((r,n)=>(r[n]=e.get(n),r)),{})}getStateThunks(e){return Object.keys(this.system.statePlugins).reduce(((r,n)=>(r[n]=()=>e().get(n),r)),{})}getFn(){return{fn:this.system.fn}}getComponents(e){const r=this.system.components[e];return Array.isArray(r)?r.reduce(((n,a)=>a(n,this.getSystem()))):e!==void 0?this.system.components[e]:this.system.components}getBoundSelectors(e,r){return ea(this.getSelectors(),((n,a)=>{let o=[a.slice(0,-9)];return ea(n,(p=>(...c)=>{let d=mi(p,this.getSystem).apply(null,[e().getIn(o),...c]);return typeof d=="function"&&(d=mi(d,this.getSystem)(r())),d}))}))}getBoundActions(e){e=e||this.getStore().dispatch;const r=this.getActions(),n=a=>typeof a!="function"?ea(a,(o=>n(o))):(...o)=>{var p=null;try{p=a(...o)}catch(c){p={type:Gt,error:!0,payload:(0,ur.serializeError)(c)}}finally{return p}};return ea(r,(a=>(function(p,c){if(typeof p=="function")return Nt(p,c);if(typeof p!="object"||p===null)throw new Error(at(16));const d={};for(const E in p){const x=p[E];typeof x=="function"&&(d[E]=Nt(x,c))}return d})(n(a),e)))}getMapStateToProps(){return()=>Object.assign({},this.getSystem())}getMapDispatchToProps(e){return r=>ct()({},this.getWrappedAndBoundActions(r),this.getFn(),e)}}function gs(t,e){return Hr(t)&&!za(t)?Tt()({},t):ia(t)?gs(t(e),e):za(t)?t.map((r=>gs(r,e))).reduce(lo,{components:e.getComponents()}):{}}function ys(t,e,{hasLoaded:r}={}){let n=r;return Hr(t)&&!za(t)&&typeof t.afterLoad=="function"&&(n=!0,mi(t.afterLoad,e.getSystem).call(this,e)),ia(t)?ys.call(this,t(e),e,{hasLoaded:n}):za(t)?t.map((a=>ys.call(this,a,e,{hasLoaded:n}))):n}function lo(t={},e={}){if(!Hr(t))return{};if(!Hr(e))return t;e.wrapComponents&&(ea(e.wrapComponents,((n,a)=>{const o=t.components&&t.components[a];o&&Array.isArray(o)?(t.components[a]=o.concat([n]),delete e.wrapComponents[a]):o&&(t.components[a]=[o,n],delete e.wrapComponents[a])})),Object.keys(e.wrapComponents).length||delete e.wrapComponents);const{statePlugins:r}=t;if(Hr(r))for(let n in r){const a=r[n];if(!Hr(a))continue;const{wrapActions:o,wrapSelectors:p}=a;if(Hr(o))for(let c in o){let d=o[c];Array.isArray(d)||(d=[d],o[c]=d),e&&e.statePlugins&&e.statePlugins[n]&&e.statePlugins[n].wrapActions&&e.statePlugins[n].wrapActions[c]&&(e.statePlugins[n].wrapActions[c]=o[c].concat(e.statePlugins[n].wrapActions[c]))}if(Hr(p))for(let c in p){let d=p[c];Array.isArray(d)||(d=[d],p[c]=d),e&&e.statePlugins&&e.statePlugins[n]&&e.statePlugins[n].wrapSelectors&&e.statePlugins[n].wrapSelectors[c]&&(e.statePlugins[n].wrapSelectors[c]=p[c].concat(e.statePlugins[n].wrapSelectors[c]))}}return ct()(t,e)}function mi(t,e,{logErrors:r=!0}={}){return typeof t!="function"?t:function(...n){try{return t.call(this,...n)}catch(a){if(r){const{uncaughtExceptionHandler:o}=e().getConfigs();typeof o=="function"?o(a):console.error(a)}return null}}}const Wu=t=>{t.preventDefault();const e=t.currentTarget.closest(".swagger-ui")?.querySelector("#operations");e&&(e.focus(),e.scrollIntoView())},Ql=()=>u.createElement("a",{href:"#operations",className:"swagger-ui__skip-link",onClick:Wu},"Skip to operations"),Zl=()=>({components:{SkipToOperations:Ql}});var ec=Be(61160),Ao=Be.n(ec);const vs="show_popup",an="authorize",tc="logout",rc="authorize_oauth2",Zs="configure_auth",nc="restore_authorization";function Hu(t){return{type:vs,payload:t}}function Ku(t){return{type:an,payload:t}}const $c=t=>({authActions:e})=>{e.authorize(t),e.persistAuthorizationIfNeeded()};function $i(t){return{type:tc,payload:t}}const Co=t=>({authActions:e})=>{e.logout(t),e.persistAuthorizationIfNeeded()},gi=t=>({authActions:e,errActions:r})=>{let{auth:n,token:a,isValid:o}=t,{schema:p,name:c}=n,d=p.get("flow");delete Qe.swaggerUIRedirectOauth2,d==="accessCode"||o||r.newAuthErr({authId:c,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),a.error?r.newAuthErr({authId:c,source:"auth",level:"error",message:JSON.stringify(a)}):e.authorizeOauth2WithPersistOption({auth:n,token:a})};function yi(t){return{type:rc,payload:t}}const bs=t=>({authActions:e})=>{e.authorizeOauth2(t),e.persistAuthorizationIfNeeded()},ws=t=>({authActions:e})=>{let{schema:r,name:n,username:a,password:o,passwordType:p,clientId:c,clientSecret:d}=t,E={grant_type:"password",scope:t.scopes.join(" "),username:a,password:o},x={};switch(p){case"request-body":(function(P,R,L){R&&Object.assign(P,{client_id:R}),L&&Object.assign(P,{client_secret:L})})(E,c,d);break;case"basic":x.Authorization="Basic "+ko(c+":"+d);break;default:console.warn(`Warning: invalid passwordType ${p} was passed, not including client id and secret`)}return e.authorizeRequest({body:xn(E),url:r.get("tokenUrl"),name:n,headers:x,query:{},auth:t})},jo=t=>({authActions:e})=>{let{schema:r,scopes:n,name:a,clientId:o,clientSecret:p}=t,c={Authorization:"Basic "+ko(o+":"+p)},d={grant_type:"client_credentials",scope:n.join(" ")};return e.authorizeRequest({body:xn(d),name:a,url:r.get("tokenUrl"),auth:t,headers:c})},ac=({auth:t,redirectUrl:e})=>({authActions:r})=>{let{schema:n,name:a,clientId:o,clientSecret:p,codeVerifier:c}=t,d={grant_type:"authorization_code",code:t.code,client_id:o,client_secret:p,redirect_uri:e,code_verifier:c};return r.authorizeRequest({body:xn(d),name:a,url:n.get("tokenUrl"),auth:t})},el=({auth:t,redirectUrl:e})=>({authActions:r})=>{let{schema:n,name:a,clientId:o,clientSecret:p,codeVerifier:c}=t,d={Authorization:"Basic "+ko(o+":"+p)},E={grant_type:"authorization_code",code:t.code,client_id:o,redirect_uri:e,code_verifier:c};return r.authorizeRequest({body:xn(E),name:a,url:n.get("tokenUrl"),auth:t,headers:d})},Es=t=>({fn:e,getConfigs:r,authActions:n,errActions:a,oas3Selectors:o,specSelectors:p,authSelectors:c})=>{let d,{body:E,query:x={},headers:k={},name:P,url:R,auth:L}=t,{additionalQueryStringParams:V}=c.getConfigs()||{};if(p.isOAS3()){let re=o.serverEffectiveValue(o.selectedServer());d=Ao()(R,re,!0)}else d=Ao()(R,p.url(),!0);typeof V=="object"&&(d.query=Object.assign({},d.query,V));const Q=d.toString();let J=Object.assign({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},k);e.fetch({url:Q,method:"post",headers:J,query:x,body:E,requestInterceptor:r().requestInterceptor,responseInterceptor:r().responseInterceptor}).then((function(re){let me=JSON.parse(re.data),le=me&&(me.error||""),ve=me&&(me.parseError||"");re.ok?le||ve?a.newAuthErr({authId:P,level:"error",source:"auth",message:JSON.stringify(me)}):n.authorizeOauth2WithPersistOption({auth:L,token:me}):a.newAuthErr({authId:P,level:"error",source:"auth",message:re.statusText})})).catch((re=>{let me=new Error(re).message;if(re.response&&re.response.data){const le=re.response.data;try{const ve=typeof le=="string"?JSON.parse(le):le;ve.error&&(me+=`, error: ${ve.error}`),ve.error_description&&(me+=`, description: ${ve.error_description}`)}catch{}}a.newAuthErr({authId:P,level:"error",source:"auth",message:me})}))};function vi(t){return{type:Zs,payload:t}}function bn(t){return{type:nc,payload:t}}const tl=()=>({authSelectors:t,getConfigs:e})=>{if(!e().persistAuthorization)return;const r=t.authorized().toJS();localStorage.setItem("authorized",JSON.stringify(r))},rl=(t,e)=>()=>{Qe.swaggerUIRedirectOauth2=e,Qe.open(t)},bi={[vs]:(t,{payload:e})=>t.set("showDefinitions",e),[an]:(t,{payload:e})=>{let r=(0,H.fromJS)(e),n=t.get("authorized")||(0,H.Map)();return r.entrySeq().forEach((([a,o])=>{if(!ia(o.getIn))return t.set("authorized",n);let p=o.getIn(["schema","type"]);if(p==="apiKey"||p==="http")n=n.set(a,o);else if(p==="basic"){let c=o.getIn(["value","username"]),d=o.getIn(["value","password"]);n=n.setIn([a,"value"],{username:c,header:"Basic "+ko(c+":"+d)}),n=n.setIn([a,"schema"],o.get("schema"))}})),t.set("authorized",n)},[rc]:(t,{payload:e})=>{let r,{auth:n,token:a}=e;n.token=Object.assign({},a),r=(0,H.fromJS)(n);let o=t.get("authorized")||(0,H.Map)();return o=o.set(r.get("name"),r),t.set("authorized",o)},[tc]:(t,{payload:e})=>{let r=t.get("authorized").withMutations((n=>{e.forEach((a=>{n.delete(a)}))}));return t.set("authorized",r)},[Zs]:(t,{payload:e})=>t.set("configs",e),[nc]:(t,{payload:e})=>t.set("authorized",(0,H.fromJS)(e.authorized))};function Po(t,e="expected a function, instead received "+typeof t){if(typeof t!="function")throw new TypeError(e)}var Ma=t=>Array.isArray(t)?t:[t];function oc(t){const e=Array.isArray(t[0])?t[0]:t;return(function(n,a="expected all items to be functions, instead received the following types: "){if(!n.every((o=>typeof o=="function"))){const o=n.map((p=>typeof p=="function"?`function ${p.name||"unnamed"}()`:typeof p)).join(", ");throw new TypeError(`${a}[${o}]`)}})(e,"createSelector expects all input-selectors to be functions, but received the following types: "),e}var jd=typeof WeakRef<"u"?WeakRef:class{constructor(t){this.value=t}deref(){return this.value}};function Bc(t,e={}){let r={s:0,v:void 0,o:null,p:null};const{resultEqualityCheck:n}=e;let a,o=0;function p(){let c=r;const{length:d}=arguments;for(let k=0,P=d;k<P;k++){const R=arguments[k];if(typeof R=="function"||typeof R=="object"&&R!==null){let L=c.o;L===null&&(c.o=L=new WeakMap);const V=L.get(R);V===void 0?(c={s:0,v:void 0,o:null,p:null},L.set(R,c)):c=V}else{let L=c.p;L===null&&(c.p=L=new Map);const V=L.get(R);V===void 0?(c={s:0,v:void 0,o:null,p:null},L.set(R,c)):c=V}}const E=c;let x;if(c.s===1)x=c.v;else if(x=t.apply(null,arguments),o++,n){const k=a?.deref?.()??a;k!=null&&n(k,x)&&(x=k,o!==0&&o--),a=typeof x=="object"&&x!==null||typeof x=="function"?new jd(x):x}return E.s=1,E.v=x,x}return p.clearCache=()=>{r={s:0,v:void 0,o:null,p:null},p.resetResultsCount()},p.resultsCount=()=>o,p.resetResultsCount=()=>{o=0},p}function qc(t,...e){const r=typeof t=="function"?{memoize:t,memoizeOptions:e}:t,n=(...a)=>{let o,p=0,c=0,d={},E=a.pop();typeof E=="object"&&(d=E,E=a.pop()),Po(E,`createSelector expects an output function after the inputs, but received: [${typeof E}]`);const x={...r,...d},{memoize:k,memoizeOptions:P=[],argsMemoize:R=Bc,argsMemoizeOptions:L=[]}=x,V=Ma(P),Q=Ma(L),J=oc(a),re=k((function(){return p++,E.apply(null,arguments)}),...V),me=R((function(){c++;const ve=(function(ce,_e){const Ae=[],{length:xe}=ce;for(let Oe=0;Oe<xe;Oe++)Ae.push(ce[Oe].apply(null,_e));return Ae})(J,arguments);return o=re.apply(null,ve),o}),...Q);return Object.assign(me,{resultFunc:E,memoizedResultFunc:re,dependencies:J,dependencyRecomputations:()=>c,resetDependencyRecomputations:()=>{c=0},lastResult:()=>o,recomputations:()=>p,resetRecomputations:()=>{p=0},memoize:k,argsMemoize:R})};return Object.assign(n,{withTypes:()=>n}),n}var yr=qc(Bc),co=Object.assign(((t,e=yr)=>{(function(a,o="expected an object, instead received "+typeof a){if(typeof a!="object")throw new TypeError(o)})(t,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof t);const r=Object.keys(t);return e(r.map((n=>t[n])),((...n)=>n.reduce(((a,o,p)=>(a[r[p]]=o,a)),{})))}),{withTypes:()=>co});const nl=t=>t,wi=yr(nl,(t=>t.get("showDefinitions"))),Uc=yr(nl,(()=>({specSelectors:t})=>{let e=t.securityDefinitions()||(0,H.Map)({}),r=(0,H.List)();return e.entrySeq().forEach((([n,a])=>{let o=(0,H.Map)();o=o.set(n,a),r=r.push(o)})),r})),al=(t,e)=>({specSelectors:r})=>(0,H.List)(r.isOAS3()?["components","securitySchemes",e]:["securityDefinitions",e]),Gu=(t,e)=>({specSelectors:r})=>{console.warn("WARNING: getDefinitionsByNames is deprecated and will be removed in the next major version.");let n=r.securityDefinitions(),a=(0,H.List)();return e.valueSeq().forEach((o=>{let p=(0,H.Map)();o.entrySeq().forEach((([c,d])=>{let E,x=n.get(c);x.get("type")==="oauth2"&&d.size&&(E=x.get("scopes"),E.keySeq().forEach((k=>{d.contains(k)||(E=E.delete(k))})),x=x.set("allowedScopes",E)),p=p.set(c,x)})),a=a.push(p)})),a},ic=(t,e=(0,H.List)())=>({authSelectors:r})=>{const n=r.definitionsToAuthorize()||(0,H.List)();let a=(0,H.List)();return n.forEach((o=>{let p=e.find((c=>c.get(o.keySeq().first())));p&&(o.forEach(((c,d)=>{if(c.get("type")==="oauth2"){const E=p.get(d);let x=c.get("scopes");H.List.isList(E)&&H.Map.isMap(x)&&(x.keySeq().forEach((k=>{E.contains(k)||(x=x.delete(k))})),o=o.set(d,c.set("scopes",x)))}})),a=a.push(o))})),a},zc=yr(nl,(t=>t.get("authorized")||(0,H.Map)())),rh=(t,e)=>({authSelectors:r})=>{let n=r.authorized();return H.List.isList(e)?!!e.toJS().filter((a=>Object.keys(a).map((o=>!!n.get(o))).indexOf(!1)===-1)).length:null},uo=yr(nl,(t=>t.get("configs"))),Yu=(t,{authSelectors:e,specSelectors:r})=>({path:n,method:a,operation:o,extras:p})=>{let c={authorized:e.authorized()&&e.authorized().toJS(),definitions:r.securityDefinitions()&&r.securityDefinitions().toJS(),specSecurity:r.security()&&r.security().toJS()};return t({path:n,method:a,operation:o,securities:c,...p})},Vc=(t,e)=>r=>{const{getConfigs:n,authActions:a}=e,o=n();if(t(r),o.persistAuthorization){const p=localStorage.getItem("authorized");p&&a.restoreAuthorization({authorized:JSON.parse(p)})}},Bi=(t,e)=>r=>{if(t(r),e.getConfigs().persistAuthorization)try{const[{schema:n,value:a}]=Object.values(r),o=(0,H.fromJS)(n),p=o.get("type")==="apiKey",c=o.get("in")==="cookie";p&&c&&(document.cookie=`${o.get("name")}=${a}; SameSite=None; Secure`)}catch(n){console.error("Error persisting cookie based apiKey in document.cookie.",n)}},Wo=(t,e)=>r=>{const n=e.getConfigs(),a=e.authSelectors.authorized();try{n.persistAuthorization&&Array.isArray(r)&&r.forEach((o=>{const p=a.get(o,{}),c=p.getIn(["schema","type"])==="apiKey",d=p.getIn(["schema","in"])==="cookie";if(c&&d){const E=p.getIn(["schema","name"]);document.cookie=`${E}=; Max-Age=-99999999`}}))}catch(o){console.error("Error deleting cookie based apiKey from document.cookie.",o)}t(r)};var $n=Be(90179),Ha=Be.n($n);class nh extends u.Component{mapStateToProps(e,r){return{state:e,ownProps:Ha()(r,Object.keys(r.getSystem()))}}render(){const{getComponent:e,ownProps:r}=this.props,n=e("LockIcon");return u.createElement(n,r)}}const Ei=nh;class Xu extends u.Component{mapStateToProps(e,r){return{state:e,ownProps:Ha()(r,Object.keys(r.getSystem()))}}render(){const{getComponent:e,ownProps:r}=this.props,n=e("UnlockIcon");return u.createElement(n,r)}}const ol=Xu;function Ss(){return{afterLoad(t){this.rootInjects=this.rootInjects||{},this.rootInjects.initOAuth=t.authActions.configureAuth,this.rootInjects.preauthorizeApiKey=il.bind(null,t),this.rootInjects.preauthorizeBasic=Qu.bind(null,t)},components:{LockAuthIcon:Ei,UnlockAuthIcon:ol,LockAuthOperationIcon:Ei,UnlockAuthOperationIcon:ol},statePlugins:{auth:{reducers:bi,actions:N,selectors:s,wrapActions:{authorize:Bi,logout:Wo}},configs:{wrapActions:{loaded:Vc}},spec:{wrapActions:{execute:Yu}}}}}function Qu(t,e,r,n){const{authActions:{authorize:a},specSelectors:{specJson:o,isOAS3:p}}=t,c=p()?["components","securitySchemes"]:["securityDefinitions"],d=o().getIn([...c,e]);return d?a({[e]:{value:{username:r,password:n},schema:d.toJS()}}):null}function il(t,e,r){const{authActions:{authorize:n},specSelectors:{specJson:a,isOAS3:o}}=t,p=o()?["components","securitySchemes"]:["securityDefinitions"],c=a().getIn([...p,e]);return c?n({[e]:{value:r,schema:c.toJS()}}):null}function ah(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ri,sl,sc,Jc,Zu,Ra,Wc,ll,Hc,ep,cl,ul,tp,xa,qi,Si,rp,Ui,pl,hl,xi,xs,No,Kc,ra,dl,fl,ni,Gc,zi,lc,Yc,ml,gl,la,Vi,Ji,Wi,np,ap,oh,Ka,_s,Xc,ca={},yl={},Da={};function Hi(){if(ri)return Da;function t(e){return e==null}return ri=1,Da.isNothing=t,Da.isObject=function(r){return typeof r=="object"&&r!==null},Da.toArray=function(r){return Array.isArray(r)?r:t(r)?[]:[r]},Da.repeat=function(r,n){let a="";for(let o=0;o<n;o+=1)a+=r;return a},Da.isNegativeZero=function(r){return r===0&&Number.NEGATIVE_INFINITY===1/r},Da.extend=function(r,n){if(n){const a=Object.keys(n);for(let o=0,p=a.length;o<p;o+=1){const c=a[o];r[c]=n[c]}}return r},Da}function Ho(){if(sc)return sl;function t(r,n){let a="";const o=r.reason||"(unknown reason)";return r.mark?(r.mark.name&&(a+='in "'+r.mark.name+'" '),a+="("+(r.mark.line+1)+":"+(r.mark.column+1)+")",!n&&r.mark.snippet&&(a+=`
`+r.mark.snippet),o+" "+a):o}function e(r,n){Error.call(this),this.name="YAMLException",this.reason=r,this.mark=n,this.message=t(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return sc=1,e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.prototype.toString=function(n){return this.name+": "+t(this,n)},sl=e}function _a(){if(Wc)return Ra;Wc=1;const t=Ho(),e=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],r=["scalar","sequence","mapping"];return Ra=function(a,o){if(o=o||{},Object.keys(o).forEach((function(p){if(e.indexOf(p)===-1)throw new t('Unknown option "'+p+'" is met in definition of "'+a+'" YAML type.')})),this.options=o,this.tag=a,this.kind=o.kind||null,this.resolve=o.resolve||function(){return!0},this.construct=o.construct||function(p){return p},this.instanceOf=o.instanceOf||null,this.predicate=o.predicate||null,this.represent=o.represent||null,this.representName=o.representName||null,this.defaultStyle=o.defaultStyle||null,this.multi=o.multi||!1,this.styleAliases=(function(c){const d={};return c!==null&&Object.keys(c).forEach((function(E){c[E].forEach((function(x){d[String(x)]=E}))})),d})(o.styleAliases||null),r.indexOf(this.kind)===-1)throw new t('Unknown kind "'+this.kind+'" is specified for "'+a+'" YAML type.')},Ra}function _i(){if(Hc)return ll;Hc=1;const t=Ho(),e=_a();function r(a,o){const p=[];return a[o].forEach((function(c){let d=p.length;p.forEach((function(E,x){E.tag===c.tag&&E.kind===c.kind&&E.multi===c.multi&&(d=x)})),p[d]=c})),p}function n(a){return this.extend(a)}return n.prototype.extend=function(o){let p=[],c=[];if(o instanceof e)c.push(o);else if(Array.isArray(o))c=c.concat(o);else{if(!o||!Array.isArray(o.implicit)&&!Array.isArray(o.explicit))throw new t("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");o.implicit&&(p=p.concat(o.implicit)),o.explicit&&(c=c.concat(o.explicit))}p.forEach((function(E){if(!(E instanceof e))throw new t("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(E.loadKind&&E.loadKind!=="scalar")throw new t("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(E.multi)throw new t("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),c.forEach((function(E){if(!(E instanceof e))throw new t("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));const d=Object.create(n.prototype);return d.implicit=(this.implicit||[]).concat(p),d.explicit=(this.explicit||[]).concat(c),d.compiledImplicit=r(d,"implicit"),d.compiledExplicit=r(d,"explicit"),d.compiledTypeMap=(function(){const x={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function k(P){P.multi?(x.multi[P.kind].push(P),x.multi.fallback.push(P)):x[P.kind][P.tag]=x.fallback[P.tag]=P}for(let P=0,R=arguments.length;P<R;P+=1)arguments[P].forEach(k);return x})(d.compiledImplicit,d.compiledExplicit),d},ll=n}function cc(){if(cl)return ep;cl=1;const t=_a();return ep=new t("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}})}function jn(){if(tp)return ul;tp=1;const t=_a();return ul=new t("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}})}function mn(){if(qi)return xa;qi=1;const t=_a();return xa=new t("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}})}function uc(){if(rp)return Si;rp=1;const t=_i();return Si=new t({explicit:[cc(),jn(),mn()]})}function Os(){if(pl)return Ui;pl=1;const t=_a();return Ui=new t("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(r){if(r===null)return!0;const n=r.length;return n===1&&r==="~"||n===4&&(r==="null"||r==="Null"||r==="NULL")},construct:function(){return null},predicate:function(r){return r===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),Ui}function To(){if(xi)return hl;xi=1;const t=_a();return hl=new t("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(r){if(r===null)return!1;const n=r.length;return n===4&&(r==="true"||r==="True"||r==="TRUE")||n===5&&(r==="false"||r==="False"||r==="FALSE")},construct:function(r){return r==="true"||r==="True"||r==="TRUE"},predicate:function(r){return Object.prototype.toString.call(r)==="[object Boolean]"},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"}),hl}function Qc(){if(No)return xs;No=1;const t=Hi(),e=_a();function r(o){return o>=48&&o<=55}function n(o){return o>=48&&o<=57}function a(o){let p=o,c=1,d=p[0];if(d!=="-"&&d!=="+"||(d==="-"&&(c=-1),p=p.slice(1),d=p[0]),p==="0")return 0;if(d==="0"){if(p[1]==="b")return c*parseInt(p.slice(2),2);if(p[1]==="x")return c*parseInt(p.slice(2),16);if(p[1]==="o")return c*parseInt(p.slice(2),8)}return c*parseInt(p,10)}return xs=new e("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(p){if(p===null)return!1;const c=p.length;let d=0,E=!1;if(!c)return!1;let x=p[d];if(x!=="-"&&x!=="+"||(x=p[++d]),x==="0"){if(d+1===c)return!0;if(x=p[++d],x==="b"){for(d++;d<c;d++){if(x=p[d],x!=="0"&&x!=="1")return!1;E=!0}return E&&isFinite(a(p))}if(x==="x"){for(d++;d<c;d++){if(!((k=p.charCodeAt(d))>=48&&k<=57||k>=65&&k<=70||k>=97&&k<=102))return!1;E=!0}return E&&isFinite(a(p))}if(x==="o"){for(d++;d<c;d++){if(!r(p.charCodeAt(d)))return!1;E=!0}return E&&isFinite(a(p))}}for(var k;d<c;d++){if(!n(p.charCodeAt(d)))return!1;E=!0}return!!E&&isFinite(a(p))},construct:function(p){return a(p)},predicate:function(p){return Object.prototype.toString.call(p)==="[object Number]"&&p%1==0&&!t.isNegativeZero(p)},represent:{binary:function(o){return o>=0?"0b"+o.toString(2):"-0b"+o.toString(2).slice(1)},octal:function(o){return o>=0?"0o"+o.toString(8):"-0o"+o.toString(8).slice(1)},decimal:function(o){return o.toString(10)},hexadecimal:function(o){return o>=0?"0x"+o.toString(16).toUpperCase():"-0x"+o.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),xs}function pc(){if(ra)return Kc;ra=1;const t=Hi(),e=_a(),r=new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),n=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),a=/^[-+]?[0-9]+e/;return Kc=new e("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(p){return p!==null&&!!r.test(p)&&(!!isFinite(parseFloat(p,10))||n.test(p))},construct:function(p){let c=p.toLowerCase();const d=c[0]==="-"?-1:1;return"+-".indexOf(c[0])>=0&&(c=c.slice(1)),c===".inf"?d===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:c===".nan"?NaN:d*parseFloat(c,10)},predicate:function(p){return Object.prototype.toString.call(p)==="[object Number]"&&(p%1!=0||t.isNegativeZero(p))},represent:function(p,c){if(isNaN(p))switch(c){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===p)switch(c){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===p)switch(c){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(t.isNegativeZero(p))return"-0.0";const d=p.toString(10);return a.test(d)?d.replace("e",".e"):d},defaultStyle:"lowercase"}),Kc}function vl(){return fl?dl:(fl=1,dl=uc().extend({implicit:[Os(),To(),Qc(),pc()]}))}function Zc(){return Gc?ni:(Gc=1,ni=vl())}function eu(){if(lc)return zi;lc=1;const t=_a(),e=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),r=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]))?))?$");return zi=new t("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(a){return a!==null&&(e.exec(a)!==null||r.exec(a)!==null)},construct:function(a){let o=0,p=null,c=e.exec(a);if(c===null&&(c=r.exec(a)),c===null)throw new Error("Date resolve error");const d=+c[1],E=+c[2]-1,x=+c[3];if(!c[4])return new Date(Date.UTC(d,E,x));const k=+c[4],P=+c[5],R=+c[6];if(c[7]){for(o=c[7].slice(0,3);o.length<3;)o+="0";o=+o}c[9]&&(p=6e4*(60*+c[10]+ +(c[11]||0)),c[9]==="-"&&(p=-p));const L=new Date(Date.UTC(d,E,x,k,P,R,o));return p&&L.setTime(L.getTime()-p),L},instanceOf:Date,represent:function(a){return a.toISOString()}}),zi}function op(){if(ml)return Yc;ml=1;const t=_a();return Yc=new t("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(r){return r==="<<"||r===null}})}function tu(){if(la)return gl;la=1;const t=_a(),e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;return gl=new t("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(n){if(n===null)return!1;let a=0;const o=n.length,p=e;for(let c=0;c<o;c++){const d=p.indexOf(n.charAt(c));if(!(d>64)){if(d<0)return!1;a+=6}}return a%8==0},construct:function(n){const a=n.replace(/[\r\n=]/g,""),o=a.length,p=e;let c=0;const d=[];for(let x=0;x<o;x++)x%4==0&&x&&(d.push(c>>16&255),d.push(c>>8&255),d.push(255&c)),c=c<<6|p.indexOf(a.charAt(x));const E=o%4*6;return E===0?(d.push(c>>16&255),d.push(c>>8&255),d.push(255&c)):E===18?(d.push(c>>10&255),d.push(c>>2&255)):E===12&&d.push(c>>4&255),new Uint8Array(d)},predicate:function(n){return Object.prototype.toString.call(n)==="[object Uint8Array]"},represent:function(n){let a="",o=0;const p=n.length,c=e;for(let E=0;E<p;E++)E%3==0&&E&&(a+=c[o>>18&63],a+=c[o>>12&63],a+=c[o>>6&63],a+=c[63&o]),o=(o<<8)+n[E];const d=p%3;return d===0?(a+=c[o>>18&63],a+=c[o>>12&63],a+=c[o>>6&63],a+=c[63&o]):d===2?(a+=c[o>>10&63],a+=c[o>>4&63],a+=c[o<<2&63],a+=c[64]):d===1&&(a+=c[o>>2&63],a+=c[o<<4&63],a+=c[64],a+=c[64]),a}}),gl}function ip(){if(Ji)return Vi;Ji=1;const t=_a(),e=Object.prototype.hasOwnProperty,r=Object.prototype.toString;return Vi=new t("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(a){if(a===null)return!0;const o={},p=a;for(let c=0,d=p.length;c<d;c+=1){const E=p[c];let x,k=!1;if(r.call(E)!=="[object Object]")return!1;for(x in E)if(e.call(E,x)){if(k)return!1;k=!0}if(!k||e.call(o,x))return!1;Object.defineProperty(o,x,{value:!0})}return!0},construct:function(a){return a!==null?a:[]}}),Vi}function sp(){if(np)return Wi;np=1;const t=_a(),e=Object.prototype.toString;return Wi=new t("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(n){if(n===null)return!0;const a=n,o=new Array(a.length);for(let p=0,c=a.length;p<c;p+=1){const d=a[p];if(e.call(d)!=="[object Object]")return!1;const E=Object.keys(d);if(E.length!==1)return!1;o[p]=[E[0],d[E[0]]]}return!0},construct:function(n){if(n===null)return[];const a=n,o=new Array(a.length);for(let p=0,c=a.length;p<c;p+=1){const d=a[p],E=Object.keys(d);o[p]=[E[0],d[E[0]]]}return o}}),Wi}function A(){if(oh)return ap;oh=1;const t=_a(),e=Object.prototype.hasOwnProperty;return ap=new t("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(n){if(n===null)return!0;const a=n;for(const o in a)if(e.call(a,o)&&a[o]!==null)return!1;return!0},construct:function(n){return n!==null?n:{}}}),ap}function O(){return _s?Ka:(_s=1,Ka=Zc().extend({implicit:[eu(),op()],explicit:[tu(),ip(),sp(),A()]}))}function D(){if(Xc)return yl;Xc=1;const t=Hi(),e=Ho(),r=(function(){if(Zu)return Jc;Zu=1;const $e=Hi();function Je(it,bt,ut,Xt,zt){let tr="",Er="";const dr=Math.floor(zt/2)-1;return Xt-bt>dr&&(tr=" ... ",bt=Xt-dr+tr.length),ut-Xt>dr&&(Er=" ...",ut=Xt+dr-Er.length),{str:tr+it.slice(bt,ut).replace(/\t/g,"→")+Er,pos:Xt-bt+tr.length}}function Ft(it,bt){return $e.repeat(" ",bt-it.length)+it}return Jc=function(bt,ut){if(ut=Object.create(ut||null),!bt.buffer)return null;ut.maxLength||(ut.maxLength=79),typeof ut.indent!="number"&&(ut.indent=1),typeof ut.linesBefore!="number"&&(ut.linesBefore=3),typeof ut.linesAfter!="number"&&(ut.linesAfter=2);const Xt=/\r?\n|\r|\0/g,zt=[0],tr=[];let Er,dr=-1;for(;Er=Xt.exec(bt.buffer);)tr.push(Er.index),zt.push(Er.index+Er[0].length),bt.position<=Er.index&&dr<0&&(dr=zt.length-2);dr<0&&(dr=zt.length-1);let qr="";const en=Math.min(bt.line+ut.linesAfter,tr.length).toString().length,kn=ut.maxLength-(ut.indent+en+3);for(let jt=1;jt<=ut.linesBefore&&!(dr-jt<0);jt++){const We=Je(bt.buffer,zt[dr-jt],tr[dr-jt],bt.position-(zt[dr]-zt[dr-jt]),kn);qr=$e.repeat(" ",ut.indent)+Ft((bt.line-jt+1).toString(),en)+" | "+We.str+`
`+qr}const ln=Je(bt.buffer,zt[dr],tr[dr],bt.position,kn);qr+=$e.repeat(" ",ut.indent)+Ft((bt.line+1).toString(),en)+" | "+ln.str+`
`,qr+=$e.repeat("-",ut.indent+en+3+ln.pos)+`^
`;for(let jt=1;jt<=ut.linesAfter&&!(dr+jt>=tr.length);jt++){const We=Je(bt.buffer,zt[dr+jt],tr[dr+jt],bt.position-(zt[dr]-zt[dr+jt]),kn);qr+=$e.repeat(" ",ut.indent)+Ft((bt.line+jt+1).toString(),en)+" | "+We.str+`
`}return qr.replace(/\n$/,"")},Jc})(),n=O(),a=Object.prototype.hasOwnProperty,o=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/[\x85\u2028\u2029]/,c=/[,\[\]{}]/,d=/^(?:!|!!|![0-9A-Za-z-]+!)$/,E=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function x(W){return Object.prototype.toString.call(W)}function k(W){return W===10||W===13}function P(W){return W===9||W===32}function R(W){return W===9||W===32||W===10||W===13}function L(W){return W===44||W===91||W===93||W===123||W===125}function V(W){if(W>=48&&W<=57)return W-48;const $e=32|W;return $e>=97&&$e<=102?$e-97+10:-1}function Q(W){switch(W){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:case 9:return" ";case 110:return`
`;case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"\x1B";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"…";case 95:return" ";case 76:return"\u2028";case 80:return"\u2029";default:return""}}function J(W){return W<=65535?String.fromCharCode(W):String.fromCharCode(55296+(W-65536>>10),56320+(W-65536&1023))}function re(W,$e,Je){$e==="__proto__"?Object.defineProperty(W,$e,{configurable:!0,enumerable:!0,writable:!0,value:Je}):W[$e]=Je}const me=new Array(256),le=new Array(256);for(let W=0;W<256;W++)me[W]=Q(W)?1:0,le[W]=Q(W);function ve(W,$e){this.input=W,this.filename=$e.filename||null,this.schema=$e.schema||n,this.onWarning=$e.onWarning||null,this.legacy=$e.legacy||!1,this.json=$e.json||!1,this.listener=$e.listener||null,this.maxDepth=typeof $e.maxDepth=="number"?$e.maxDepth:100,this.maxTotalMergeKeys=typeof $e.maxTotalMergeKeys=="number"?$e.maxTotalMergeKeys:1e4,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=W.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}function be(W,$e){const Je={name:W.filename,buffer:W.input.slice(0,-1),position:W.position,line:W.line,column:W.position-W.lineStart};return Je.snippet=r(Je),new e($e,Je)}function ce(W,$e){throw be(W,$e)}function _e(W,$e){W.onWarning&&W.onWarning.call(null,be(W,$e))}function Ae(W,$e,Je){const Ft=W.anchorMapTransactions;if(Ft.length!==0){const it=Ft[Ft.length-1];a.call(it,$e)||(it[$e]={existed:a.call(W.anchorMap,$e),value:W.anchorMap[$e]})}W.anchorMap[$e]=Je}function xe(W){return{position:W.position,line:W.line,lineStart:W.lineStart,lineIndent:W.lineIndent,firstTabInLine:W.firstTabInLine,tag:W.tag,anchor:W.anchor,kind:W.kind,result:W.result}}function Oe(W,$e){W.position=$e.position,W.line=$e.line,W.lineStart=$e.lineStart,W.lineIndent=$e.lineIndent,W.firstTabInLine=$e.firstTabInLine,W.tag=$e.tag,W.anchor=$e.anchor,W.kind=$e.kind,W.result=$e.result}const je={YAML:function($e,Je,Ft){$e.version!==null&&ce($e,"duplication of %YAML directive"),Ft.length!==1&&ce($e,"YAML directive accepts exactly one argument");const it=/^([0-9]+)\.([0-9]+)$/.exec(Ft[0]);it===null&&ce($e,"ill-formed argument of the YAML directive");const bt=parseInt(it[1],10),ut=parseInt(it[2],10);bt!==1&&ce($e,"unacceptable YAML version of the document"),$e.version=Ft[0],$e.checkLineBreaks=ut<2,ut!==1&&ut!==2&&_e($e,"unsupported YAML version of the document")},TAG:function($e,Je,Ft){let it;Ft.length!==2&&ce($e,"TAG directive accepts exactly two arguments");const bt=Ft[0];it=Ft[1],d.test(bt)||ce($e,"ill-formed tag handle (first argument) of the TAG directive"),a.call($e.tagMap,bt)&&ce($e,'there is a previously declared suffix for "'+bt+'" tag handle'),E.test(it)||ce($e,"ill-formed tag prefix (second argument) of the TAG directive");try{it=decodeURIComponent(it)}catch{ce($e,"tag prefix is malformed: "+it)}$e.tagMap[bt]=it}};function G(W,$e,Je,Ft){if($e<Je){const it=W.input.slice($e,Je);if(Ft)for(let bt=0,ut=it.length;bt<ut;bt+=1){const Xt=it.charCodeAt(bt);Xt===9||Xt>=32&&Xt<=1114111||ce(W,"expected valid JSON character")}else o.test(it)&&ce(W,"the stream contains non-printable characters");W.result+=it}}function de(W,$e,Je,Ft){t.isObject(Je)||ce(W,"cannot merge mappings; the provided source object is unacceptable");const it=Object.keys(Je);for(let bt=0,ut=it.length;bt<ut;bt+=1){const Xt=it[bt];W.maxTotalMergeKeys!==-1&&++W.totalMergeKeys>W.maxTotalMergeKeys&&ce(W,"merge keys exceeded maxTotalMergeKeys ("+W.maxTotalMergeKeys+")"),a.call($e,Xt)||(re($e,Xt,Je[Xt]),Ft[Xt]=!0)}}function Ne(W,$e,Je,Ft,it,bt,ut,Xt,zt){if(Array.isArray(it))for(let tr=0,Er=(it=Array.prototype.slice.call(it)).length;tr<Er;tr+=1)Array.isArray(it[tr])&&ce(W,"nested arrays are not supported inside keys"),typeof it=="object"&&x(it[tr])==="[object Object]"&&(it[tr]="[object Object]");if(typeof it=="object"&&x(it)==="[object Object]"&&(it="[object Object]"),it=String(it),$e===null&&($e={}),Ft==="tag:yaml.org,2002:merge")if(Array.isArray(bt))for(let tr=0,Er=bt.length;tr<Er;tr+=1)de(W,$e,bt[tr],Je);else de(W,$e,bt,Je);else W.json||a.call(Je,it)||!a.call($e,it)||(W.line=ut||W.line,W.lineStart=Xt||W.lineStart,W.position=zt||W.position,ce(W,"duplicated mapping key")),re($e,it,bt),delete Je[it];return $e}function Ye(W){const $e=W.input.charCodeAt(W.position);$e===10?W.position++:$e===13?(W.position++,W.input.charCodeAt(W.position)===10&&W.position++):ce(W,"a line break is expected"),W.line+=1,W.lineStart=W.position,W.firstTabInLine=-1}function ht(W,$e,Je){let Ft=0,it=W.input.charCodeAt(W.position);for(;it!==0;){for(;P(it);)it===9&&W.firstTabInLine===-1&&(W.firstTabInLine=W.position),it=W.input.charCodeAt(++W.position);if($e&&it===35)do it=W.input.charCodeAt(++W.position);while(it!==10&&it!==13&&it!==0);if(!k(it))break;for(Ye(W),it=W.input.charCodeAt(W.position),Ft++,W.lineIndent=0;it===32;)W.lineIndent++,it=W.input.charCodeAt(++W.position)}return Je!==-1&&Ft!==0&&W.lineIndent<Je&&_e(W,"deficient indentation"),Ft}function Ct(W){let $e=W.position,Je=W.input.charCodeAt($e);return!(Je!==45&&Je!==46||Je!==W.input.charCodeAt($e+1)||Je!==W.input.charCodeAt($e+2)||($e+=3,Je=W.input.charCodeAt($e),Je!==0&&!R(Je)))}function _t(W,$e){$e===1?W.result+=" ":$e>1&&(W.result+=t.repeat(`
`,$e-1))}function qt(W,$e){const Je=W.tag,Ft=W.anchor,it=[];let bt=!1;if(W.firstTabInLine!==-1)return!1;W.anchor!==null&&Ae(W,W.anchor,it);let ut=W.input.charCodeAt(W.position);for(;ut!==0&&(W.firstTabInLine!==-1&&(W.position=W.firstTabInLine,ce(W,"tab characters must not be used in indentation")),ut===45)&&R(W.input.charCodeAt(W.position+1));){if(bt=!0,W.position++,ht(W,!0,-1)&&W.lineIndent<=$e){it.push(null),ut=W.input.charCodeAt(W.position);continue}const Xt=W.line;if(or(W,$e,3,!1,!0),it.push(W.result),ht(W,!0,-1),ut=W.input.charCodeAt(W.position),(W.line===Xt||W.lineIndent>$e)&&ut!==0)ce(W,"bad indentation of a sequence entry");else if(W.lineIndent<$e)break}return!!bt&&(W.tag=Je,W.anchor=Ft,W.kind="sequence",W.result=it,!0)}function It(W,$e,Je){let Ft,it,bt,ut;const Xt=W.tag,zt=W.anchor,tr={},Er=Object.create(null);let dr=null,qr=null,en=null,kn=!1,ln=!1;if(W.firstTabInLine!==-1)return!1;W.anchor!==null&&Ae(W,W.anchor,tr);let jt=W.input.charCodeAt(W.position);for(;jt!==0;){kn||W.firstTabInLine===-1||(W.position=W.firstTabInLine,ce(W,"tab characters must not be used in indentation"));const We=W.input.charCodeAt(W.position+1),Kr=W.line;if(jt!==63&&jt!==58||!R(We)){if(it=W.line,bt=W.lineStart,ut=W.position,!or(W,Je,2,!1,!0))break;if(W.line===Kr){for(jt=W.input.charCodeAt(W.position);P(jt);)jt=W.input.charCodeAt(++W.position);if(jt===58)jt=W.input.charCodeAt(++W.position),R(jt)||ce(W,"a whitespace character is expected after the key-value separator within a block mapping"),kn&&(Ne(W,tr,Er,dr,qr,null,it,bt,ut),dr=qr=en=null),ln=!0,kn=!1,Ft=!1,dr=W.tag,qr=W.result;else{if(!ln)return W.tag=Xt,W.anchor=zt,!0;ce(W,"can not read an implicit mapping pair; a colon is missed")}}else{if(!ln)return W.tag=Xt,W.anchor=zt,!0;ce(W,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else jt===63?(kn&&(Ne(W,tr,Er,dr,qr,null,it,bt,ut),dr=qr=en=null),ln=!0,kn=!0,Ft=!0):kn?(kn=!1,Ft=!0):ce(W,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),W.position+=1,jt=We;if((W.line===Kr||W.lineIndent>$e)&&(kn&&(it=W.line,bt=W.lineStart,ut=W.position),or(W,$e,4,!0,Ft)&&(kn?qr=W.result:en=W.result),kn||(Ne(W,tr,Er,dr,qr,en,it,bt,ut),dr=qr=en=null),ht(W,!0,-1),jt=W.input.charCodeAt(W.position)),(W.line===Kr||W.lineIndent>$e)&&jt!==0)ce(W,"bad indentation of a mapping entry");else if(W.lineIndent<$e)break}return kn&&Ne(W,tr,Er,dr,qr,null,it,bt,ut),ln&&(W.tag=Xt,W.anchor=zt,W.kind="mapping",W.result=tr),ln}function Ot(W){let $e,Je,Ft=!1,it=!1,bt=W.input.charCodeAt(W.position);if(bt!==33)return!1;W.tag!==null&&ce(W,"duplication of a tag property"),bt=W.input.charCodeAt(++W.position),bt===60?(Ft=!0,bt=W.input.charCodeAt(++W.position)):bt===33?(it=!0,$e="!!",bt=W.input.charCodeAt(++W.position)):$e="!";let ut=W.position;if(Ft){do bt=W.input.charCodeAt(++W.position);while(bt!==0&&bt!==62);W.position<W.length?(Je=W.input.slice(ut,W.position),bt=W.input.charCodeAt(++W.position)):ce(W,"unexpected end of the stream within a verbatim tag")}else{for(;bt!==0&&!R(bt);)bt===33&&(it?ce(W,"tag suffix cannot contain exclamation marks"):($e=W.input.slice(ut-1,W.position+1),d.test($e)||ce(W,"named tag handle cannot contain such characters"),it=!0,ut=W.position+1)),bt=W.input.charCodeAt(++W.position);Je=W.input.slice(ut,W.position),c.test(Je)&&ce(W,"tag suffix cannot contain flow indicator characters")}Je&&!E.test(Je)&&ce(W,"tag name cannot contain such characters: "+Je);try{Je=decodeURIComponent(Je)}catch{ce(W,"tag name is malformed: "+Je)}return Ft?W.tag=Je:a.call(W.tagMap,$e)?W.tag=W.tagMap[$e]+Je:$e==="!"?W.tag="!"+Je:$e==="!!"?W.tag="tag:yaml.org,2002:"+Je:ce(W,'undeclared tag handle "'+$e+'"'),!0}function et(W){let $e=W.input.charCodeAt(W.position);if($e!==38)return!1;W.anchor!==null&&ce(W,"duplication of an anchor property"),$e=W.input.charCodeAt(++W.position);const Je=W.position;for(;$e!==0&&!R($e)&&!L($e);)$e=W.input.charCodeAt(++W.position);return W.position===Je&&ce(W,"name of an anchor node must contain at least one character"),W.anchor=W.input.slice(Je,W.position),!0}function Dt(W,$e,Je,Ft){const it=xe(W);return(function(ut){ut.anchorMapTransactions.push(Object.create(null))})(W),Oe(W,$e),W.tag=null,W.anchor=null,W.kind=null,W.result=null,It(W,Je,Ft)&&W.kind==="mapping"?((function(ut){const Xt=ut.anchorMapTransactions.pop(),zt=ut.anchorMapTransactions;if(zt.length===0)return;const tr=zt[zt.length-1],Er=Object.keys(Xt);for(let dr=0,qr=Er.length;dr<qr;dr+=1){const en=Er[dr];a.call(tr,en)||(tr[en]=Xt[en])}})(W),!0):((function(ut){const Xt=ut.anchorMapTransactions.pop(),zt=Object.keys(Xt);for(let tr=zt.length-1;tr>=0;tr-=1){const Er=Xt[zt[tr]];Er.existed?ut.anchorMap[zt[tr]]=Er.value:delete ut.anchorMap[zt[tr]]}})(W),Oe(W,it),!1)}function or(W,$e,Je,Ft,it){let bt,ut,Xt,zt,tr,Er=1,dr=!1,qr=!1,en=null;W.depth>=W.maxDepth&&ce(W,"nesting exceeded maxDepth ("+W.maxDepth+")"),W.depth+=1,W.listener!==null&&W.listener("open",W),W.tag=null,W.anchor=null,W.kind=null,W.result=null;const kn=bt=ut=Je===4||Je===3;if(Ft&&ht(W,!0,-1)&&(dr=!0,W.lineIndent>$e?Er=1:W.lineIndent===$e?Er=0:W.lineIndent<$e&&(Er=-1)),Er===1)for(;;){const ln=W.input.charCodeAt(W.position),jt=xe(W);if(dr&&(ln===33&&W.tag!==null||ln===38&&W.anchor!==null)||!Ot(W)&&!et(W))break;en===null&&(en=jt),ht(W,!0,-1)?(dr=!0,ut=kn,W.lineIndent>$e?Er=1:W.lineIndent===$e?Er=0:W.lineIndent<$e&&(Er=-1)):ut=!1}if(ut&&(ut=dr||it),Er===1||Je===4)if(zt=Je===1||Je===2?$e:$e+1,tr=W.position-W.lineStart,Er===1)if(ut&&(qt(W,tr)||It(W,tr,zt))||(function(jt,We){let Kr,Lr,zr,yn=!0;const En=jt.tag;let Pn;const Ua=jt.anchor;let Dn,Di,vn,cn;const hi=Object.create(null);let Hl,Xs,Zo,so=jt.input.charCodeAt(jt.position);if(so===91)Dn=93,cn=!1,Pn=[];else{if(so!==123)return!1;Dn=125,cn=!0,Pn={}}for(jt.anchor!==null&&Ae(jt,jt.anchor,Pn),so=jt.input.charCodeAt(++jt.position);so!==0;){if(ht(jt,!0,We),so=jt.input.charCodeAt(jt.position),so===Dn)return jt.position++,jt.tag=En,jt.anchor=Ua,jt.kind=cn?"mapping":"sequence",jt.result=Pn,!0;yn?so===44&&ce(jt,"expected the node content, but found ','"):ce(jt,"missed comma between flow collection entries"),Xs=Hl=Zo=null,Di=vn=!1,so===63&&R(jt.input.charCodeAt(jt.position+1))&&(Di=vn=!0,jt.position++,ht(jt,!0,We)),Kr=jt.line,Lr=jt.lineStart,zr=jt.position,or(jt,We,1,!1,!0),Xs=jt.tag,Hl=jt.result,ht(jt,!0,We),so=jt.input.charCodeAt(jt.position),!vn&&jt.line!==Kr||so!==58||(Di=!0,so=jt.input.charCodeAt(++jt.position),ht(jt,!0,We),or(jt,We,1,!1,!0),Zo=jt.result),cn?Ne(jt,Pn,hi,Xs,Hl,Zo,Kr,Lr,zr):Di?Pn.push(Ne(jt,null,hi,Xs,Hl,Zo,Kr,Lr,zr)):Pn.push(Hl),ht(jt,!0,We),so=jt.input.charCodeAt(jt.position),so===44?(yn=!0,so=jt.input.charCodeAt(++jt.position)):yn=!1}ce(jt,"unexpected end of the stream within a flow collection")})(W,zt))qr=!0;else{const ln=W.input.charCodeAt(W.position);en!==null&&kn&&!ut&&ln!==124&&ln!==62&&Dt(W,en,en.position-en.lineStart,zt)||bt&&(function(We,Kr){let Lr,zr,yn=1,En=!1,Pn=!1,Ua=Kr,Dn=0,Di=!1,vn=We.input.charCodeAt(We.position);if(vn===124)Lr=!1;else{if(vn!==62)return!1;Lr=!0}for(We.kind="scalar",We.result="";vn!==0;)if(vn=We.input.charCodeAt(++We.position),vn===43||vn===45)yn===1?yn=vn===43?3:2:ce(We,"repeat of a chomping mode identifier");else{if(!((zr=(cn=vn)>=48&&cn<=57?cn-48:-1)>=0))break;zr===0?ce(We,"bad explicit indentation width of a block scalar; it cannot be less than one"):Pn?ce(We,"repeat of an indentation width identifier"):(Ua=Kr+zr-1,Pn=!0)}var cn;if(P(vn)){do vn=We.input.charCodeAt(++We.position);while(P(vn));if(vn===35)do vn=We.input.charCodeAt(++We.position);while(!k(vn)&&vn!==0)}for(;vn!==0;){for(Ye(We),We.lineIndent=0,vn=We.input.charCodeAt(We.position);(!Pn||We.lineIndent<Ua)&&vn===32;)We.lineIndent++,vn=We.input.charCodeAt(++We.position);if(!Pn&&We.lineIndent>Ua&&(Ua=We.lineIndent),k(vn)){Dn++;continue}if(Pn||Ua!==0||ce(We,"missing indentation for block scalar"),We.lineIndent<Ua){yn===3?We.result+=t.repeat(`
`,En?1+Dn:Dn):yn===1&&En&&(We.result+=`
`);break}Lr?P(vn)?(Di=!0,We.result+=t.repeat(`
`,En?1+Dn:Dn)):Di?(Di=!1,We.result+=t.repeat(`
`,Dn+1)):Dn===0?En&&(We.result+=" "):We.result+=t.repeat(`
`,Dn):We.result+=t.repeat(`
`,En?1+Dn:Dn),En=!0,Pn=!0,Dn=0;const hi=We.position;for(;!k(vn)&&vn!==0;)vn=We.input.charCodeAt(++We.position);G(We,hi,We.position,!1)}return!0})(W,zt)||(function(We,Kr){let Lr,zr,yn=We.input.charCodeAt(We.position);if(yn!==39)return!1;for(We.kind="scalar",We.result="",We.position++,Lr=zr=We.position;(yn=We.input.charCodeAt(We.position))!==0;)if(yn===39){if(G(We,Lr,We.position,!0),yn=We.input.charCodeAt(++We.position),yn!==39)return!0;Lr=We.position,We.position++,zr=We.position}else k(yn)?(G(We,Lr,zr,!0),_t(We,ht(We,!1,Kr)),Lr=zr=We.position):We.position===We.lineStart&&Ct(We)?ce(We,"unexpected end of the document within a single quoted scalar"):(We.position++,P(yn)||(zr=We.position));ce(We,"unexpected end of the stream within a single quoted scalar")})(W,zt)||(function(We,Kr){let Lr,zr,yn,En=We.input.charCodeAt(We.position);if(En!==34)return!1;for(We.kind="scalar",We.result="",We.position++,Lr=zr=We.position;(En=We.input.charCodeAt(We.position))!==0;){if(En===34)return G(We,Lr,We.position,!0),We.position++,!0;if(En===92){if(G(We,Lr,We.position,!0),En=We.input.charCodeAt(++We.position),k(En))ht(We,!1,Kr);else if(En<256&&me[En])We.result+=le[En],We.position++;else if((yn=(Pn=En)===120?2:Pn===117?4:Pn===85?8:0)>0){let Ua=yn,Dn=0;for(;Ua>0;Ua--)En=We.input.charCodeAt(++We.position),(yn=V(En))>=0?Dn=(Dn<<4)+yn:ce(We,"expected hexadecimal character");We.result+=J(Dn),We.position++}else ce(We,"unknown escape sequence");Lr=zr=We.position}else k(En)?(G(We,Lr,zr,!0),_t(We,ht(We,!1,Kr)),Lr=zr=We.position):We.position===We.lineStart&&Ct(We)?ce(We,"unexpected end of the document within a double quoted scalar"):(We.position++,P(En)||(zr=We.position))}var Pn;ce(We,"unexpected end of the stream within a double quoted scalar")})(W,zt)?qr=!0:(function(We){let Kr=We.input.charCodeAt(We.position);if(Kr!==42)return!1;Kr=We.input.charCodeAt(++We.position);const Lr=We.position;for(;Kr!==0&&!R(Kr)&&!L(Kr);)Kr=We.input.charCodeAt(++We.position);We.position===Lr&&ce(We,"name of an alias node must contain at least one character");const zr=We.input.slice(Lr,We.position);return a.call(We.anchorMap,zr)||ce(We,'unidentified alias "'+zr+'"'),We.result=We.anchorMap[zr],ht(We,!0,-1),!0})(W)?(qr=!0,W.tag===null&&W.anchor===null||ce(W,"alias node should not have any properties")):(function(We,Kr,Lr){let zr,yn,En,Pn,Ua,Dn;const Di=We.kind,vn=We.result;let cn=We.input.charCodeAt(We.position);if(R(cn)||L(cn)||cn===35||cn===38||cn===42||cn===33||cn===124||cn===62||cn===39||cn===34||cn===37||cn===64||cn===96)return!1;if(cn===63||cn===45){const hi=We.input.charCodeAt(We.position+1);if(R(hi)||Lr&&L(hi))return!1}for(We.kind="scalar",We.result="",zr=yn=We.position,En=!1;cn!==0;){if(cn===58){const hi=We.input.charCodeAt(We.position+1);if(R(hi)||Lr&&L(hi))break}else if(cn===35){if(R(We.input.charCodeAt(We.position-1)))break}else{if(We.position===We.lineStart&&Ct(We)||Lr&&L(cn))break;if(k(cn)){if(Pn=We.line,Ua=We.lineStart,Dn=We.lineIndent,ht(We,!1,-1),We.lineIndent>=Kr){En=!0,cn=We.input.charCodeAt(We.position);continue}We.position=yn,We.line=Pn,We.lineStart=Ua,We.lineIndent=Dn;break}}En&&(G(We,zr,yn,!1),_t(We,We.line-Pn),zr=yn=We.position,En=!1),P(cn)||(yn=We.position+1),cn=We.input.charCodeAt(++We.position)}return G(We,zr,yn,!1),!!We.result||(We.kind=Di,We.result=vn,!1)})(W,zt,Je===1)&&(qr=!0,W.tag===null&&(W.tag="?")),W.anchor!==null&&Ae(W,W.anchor,W.result)}else Er===0&&(qr=ut&&qt(W,tr));if(W.tag===null)W.anchor!==null&&Ae(W,W.anchor,W.result);else if(W.tag==="?"){W.result!==null&&W.kind!=="scalar"&&ce(W,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+W.kind+'"');for(let ln=0,jt=W.implicitTypes.length;ln<jt;ln+=1)if(Xt=W.implicitTypes[ln],Xt.resolve(W.result)){W.result=Xt.construct(W.result),W.tag=Xt.tag,W.anchor!==null&&Ae(W,W.anchor,W.result);break}}else if(W.tag!=="!"){if(a.call(W.typeMap[W.kind||"fallback"],W.tag))Xt=W.typeMap[W.kind||"fallback"][W.tag];else{Xt=null;const ln=W.typeMap.multi[W.kind||"fallback"];for(let jt=0,We=ln.length;jt<We;jt+=1)if(W.tag.slice(0,ln[jt].tag.length)===ln[jt].tag){Xt=ln[jt];break}}Xt||ce(W,"unknown tag !<"+W.tag+">"),W.result!==null&&Xt.kind!==W.kind&&ce(W,"unacceptable node kind for !<"+W.tag+'> tag; it should be "'+Xt.kind+'", not "'+W.kind+'"'),Xt.resolve(W.result,W.tag)?(W.result=Xt.construct(W.result,W.tag),W.anchor!==null&&Ae(W,W.anchor,W.result)):ce(W,"cannot resolve a node with !<"+W.tag+"> explicit tag")}return W.listener!==null&&W.listener("close",W),W.depth-=1,W.tag!==null||W.anchor!==null||qr}function Ut(W){const $e=W.position;let Je,Ft=!1;for(W.version=null,W.checkLineBreaks=W.legacy,W.tagMap=Object.create(null),W.anchorMap=Object.create(null);(Je=W.input.charCodeAt(W.position))!==0&&(ht(W,!0,-1),Je=W.input.charCodeAt(W.position),!(W.lineIndent>0||Je!==37));){Ft=!0,Je=W.input.charCodeAt(++W.position);let it=W.position;for(;Je!==0&&!R(Je);)Je=W.input.charCodeAt(++W.position);const bt=W.input.slice(it,W.position),ut=[];for(bt.length<1&&ce(W,"directive name must not be less than one character in length");Je!==0;){for(;P(Je);)Je=W.input.charCodeAt(++W.position);if(Je===35){do Je=W.input.charCodeAt(++W.position);while(Je!==0&&!k(Je));break}if(k(Je))break;for(it=W.position;Je!==0&&!R(Je);)Je=W.input.charCodeAt(++W.position);ut.push(W.input.slice(it,W.position))}Je!==0&&Ye(W),a.call(je,bt)?je[bt](W,bt,ut):_e(W,'unknown document directive "'+bt+'"')}ht(W,!0,-1),W.lineIndent===0&&W.input.charCodeAt(W.position)===45&&W.input.charCodeAt(W.position+1)===45&&W.input.charCodeAt(W.position+2)===45?(W.position+=3,ht(W,!0,-1)):Ft&&ce(W,"directives end mark is expected"),or(W,W.lineIndent-1,4,!1,!0),ht(W,!0,-1),W.checkLineBreaks&&p.test(W.input.slice($e,W.position))&&_e(W,"non-ASCII line breaks are interpreted as content"),W.documents.push(W.result),W.position===W.lineStart&&Ct(W)?W.input.charCodeAt(W.position)===46&&(W.position+=3,ht(W,!0,-1)):W.position<W.length-1&&ce(W,"end of the stream or a document separator is expected")}function pr(W,$e){$e=$e||{},(W=String(W)).length!==0&&(W.charCodeAt(W.length-1)!==10&&W.charCodeAt(W.length-1)!==13&&(W+=`
`),W.charCodeAt(0)===65279&&(W=W.slice(1)));const Je=new ve(W,$e),Ft=W.indexOf("\0");for(Ft!==-1&&(Je.position=Ft,ce(Je,"null byte is not allowed in input")),Je.input+="\0";Je.input.charCodeAt(Je.position)===32;)Je.lineIndent+=1,Je.position+=1;for(;Je.position<Je.length-1;)Ut(Je);return Je.documents}return yl.loadAll=function($e,Je,Ft){Je!==null&&typeof Je=="object"&&Ft===void 0&&(Ft=Je,Je=null);const it=pr($e,Ft);if(typeof Je!="function")return it;for(let bt=0,ut=it.length;bt<ut;bt+=1)Je(it[bt])},yl.load=function($e,Je){const Ft=pr($e,Je);if(Ft.length!==0){if(Ft.length===1)return Ft[0];throw new e("expected a single document in the stream, but found more")}},yl}var F,q,ae={};function oe(){if(F)return ae;F=1;const t=Hi(),e=Ho(),r=O(),n=Object.prototype.toString,a=Object.prototype.hasOwnProperty,o=65279,p={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},c=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],d=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function E(G){let de,Ne;const Ye=G.toString(16).toUpperCase();if(G<=255)de="x",Ne=2;else if(G<=65535)de="u",Ne=4;else{if(!(G<=4294967295))throw new e("code point within a string may not be greater than 0xFFFFFFFF");de="U",Ne=8}return"\\"+de+t.repeat("0",Ne-Ye.length)+Ye}function x(G){this.schema=G.schema||r,this.indent=Math.max(1,G.indent||2),this.noArrayIndent=G.noArrayIndent||!1,this.skipInvalid=G.skipInvalid||!1,this.flowLevel=t.isNothing(G.flowLevel)?-1:G.flowLevel,this.styleMap=(function(Ne,Ye){if(Ye===null)return{};const ht={},Ct=Object.keys(Ye);for(let _t=0,qt=Ct.length;_t<qt;_t+=1){let It=Ct[_t],Ot=String(Ye[It]);It.slice(0,2)==="!!"&&(It="tag:yaml.org,2002:"+It.slice(2));const et=Ne.compiledTypeMap.fallback[It];et&&a.call(et.styleAliases,Ot)&&(Ot=et.styleAliases[Ot]),ht[It]=Ot}return ht})(this.schema,G.styles||null),this.sortKeys=G.sortKeys||!1,this.lineWidth=G.lineWidth||80,this.noRefs=G.noRefs||!1,this.noCompatMode=G.noCompatMode||!1,this.condenseFlow=G.condenseFlow||!1,this.quotingType=G.quotingType==='"'?2:1,this.forceQuotes=G.forceQuotes||!1,this.replacer=typeof G.replacer=="function"?G.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function k(G,de){const Ne=t.repeat(" ",de);let Ye=0,ht="";const Ct=G.length;for(;Ye<Ct;){let _t;const qt=G.indexOf(`
`,Ye);qt===-1?(_t=G.slice(Ye),Ye=Ct):(_t=G.slice(Ye,qt+1),Ye=qt+1),_t.length&&_t!==`
`&&(ht+=Ne),ht+=_t}return ht}function P(G,de){return`
`+t.repeat(" ",G.indent*de)}function R(G){return G===32||G===9}function L(G){return G>=32&&G<=126||G>=161&&G<=55295&&G!==8232&&G!==8233||G>=57344&&G<=65533&&G!==o||G>=65536&&G<=1114111}function V(G){return L(G)&&G!==o&&G!==13&&G!==10}function Q(G,de,Ne){const Ye=V(G),ht=Ye&&!R(G);return(Ne?Ye:Ye&&G!==44&&G!==91&&G!==93&&G!==123&&G!==125)&&G!==35&&!(de===58&&!ht)||V(de)&&!R(de)&&G===35||de===58&&ht}function J(G,de){const Ne=G.charCodeAt(de);let Ye;return Ne>=55296&&Ne<=56319&&de+1<G.length&&(Ye=G.charCodeAt(de+1),Ye>=56320&&Ye<=57343)?1024*(Ne-55296)+Ye-56320+65536:Ne}function re(G){return/^\n* /.test(G)}function me(G,de,Ne,Ye,ht,Ct,_t,qt){let It,Ot=0,et=null,Dt=!1,or=!1;const Ut=Ye!==-1;let pr=-1,W=(function(Je){return L(Je)&&Je!==o&&!R(Je)&&Je!==45&&Je!==63&&Je!==58&&Je!==44&&Je!==91&&Je!==93&&Je!==123&&Je!==125&&Je!==35&&Je!==38&&Je!==42&&Je!==33&&Je!==124&&Je!==61&&Je!==62&&Je!==39&&Je!==34&&Je!==37&&Je!==64&&Je!==96})(J(G,0))&&(function(Je){return!R(Je)&&Je!==58})(J(G,G.length-1));if(de||_t)for(It=0;It<G.length;Ot>=65536?It+=2:It++){if(Ot=J(G,It),!L(Ot))return 5;W=W&&Q(Ot,et,qt),et=Ot}else{for(It=0;It<G.length;Ot>=65536?It+=2:It++){if(Ot=J(G,It),Ot===10)Dt=!0,Ut&&(or=or||It-pr-1>Ye&&G[pr+1]!==" ",pr=It);else if(!L(Ot))return 5;W=W&&Q(Ot,et,qt),et=Ot}or=or||Ut&&It-pr-1>Ye&&G[pr+1]!==" "}return Dt||or?Ne>9&&re(G)?5:_t?Ct===2?5:2:or?4:3:!W||_t||ht(G)?Ct===2?5:2:1}function le(G,de,Ne,Ye,ht){G.dump=(function(){if(de.length===0)return G.quotingType===2?'""':"''";if(!G.noCompatMode&&(c.indexOf(de)!==-1||d.test(de)))return G.quotingType===2?'"'+de+'"':"'"+de+"'";const Ct=G.indent*Math.max(1,Ne),_t=G.lineWidth===-1?-1:Math.max(Math.min(G.lineWidth,40),G.lineWidth-Ct),qt=Ye||G.flowLevel>-1&&Ne>=G.flowLevel;switch(me(de,qt,G.indent,_t,(function(Ot){return(function(Dt,or){for(let Ut=0,pr=Dt.implicitTypes.length;Ut<pr;Ut+=1)if(Dt.implicitTypes[Ut].resolve(or))return!0;return!1})(G,Ot)}),G.quotingType,G.forceQuotes&&!Ye,ht)){case 1:return de;case 2:return"'"+de.replace(/'/g,"''")+"'";case 3:return"|"+ve(de,G.indent)+be(k(de,Ct));case 4:return">"+ve(de,G.indent)+be(k((function(Ot,et){const Dt=/(\n+)([^\n]*)/g;let or,Ut,pr=(function(){let $e=Ot.indexOf(`
`);return $e=$e!==-1?$e:Ot.length,Dt.lastIndex=$e,ce(Ot.slice(0,$e),et)})(),W=Ot[0]===`
`||Ot[0]===" ";for(;Ut=Dt.exec(Ot);){const $e=Ut[1],Je=Ut[2];or=Je[0]===" ",pr+=$e+(W||or||Je===""?"":`
`)+ce(Je,et),W=or}return pr})(de,_t),Ct));case 5:return'"'+(function(Ot){let et="",Dt=0;for(let or=0;or<Ot.length;Dt>=65536?or+=2:or++){Dt=J(Ot,or);const Ut=p[Dt];!Ut&&L(Dt)?(et+=Ot[or],Dt>=65536&&(et+=Ot[or+1])):et+=Ut||E(Dt)}return et})(de)+'"';default:throw new e("impossible error: invalid scalar style")}})()}function ve(G,de){const Ne=re(G)?String(de):"",Ye=G[G.length-1]===`
`;return Ne+(Ye&&(G[G.length-2]===`
`||G===`
`)?"+":Ye?"":"-")+`
`}function be(G){return G[G.length-1]===`
`?G.slice(0,-1):G}function ce(G,de){if(G===""||G[0]===" ")return G;const Ne=/ [^ ]/g;let Ye,ht,Ct=0,_t=0,qt=0,It="";for(;Ye=Ne.exec(G);)qt=Ye.index,qt-Ct>de&&(ht=_t>Ct?_t:qt,It+=`
`+G.slice(Ct,ht),Ct=ht+1),_t=qt;return It+=`
`,G.length-Ct>de&&_t>Ct?It+=G.slice(Ct,_t)+`
`+G.slice(_t+1):It+=G.slice(Ct),It.slice(1)}function _e(G,de,Ne,Ye){let ht="";const Ct=G.tag;for(let _t=0,qt=Ne.length;_t<qt;_t+=1){let It=Ne[_t];G.replacer&&(It=G.replacer.call(Ne,String(_t),It)),(xe(G,de+1,It,!0,!0,!1,!0)||It===void 0&&xe(G,de+1,null,!0,!0,!1,!0))&&(Ye&&ht===""||(ht+=P(G,de)),G.dump&&G.dump.charCodeAt(0)===10?ht+="-":ht+="- ",ht+=G.dump)}G.tag=Ct,G.dump=ht||"[]"}function Ae(G,de,Ne){const Ye=Ne?G.explicitTypes:G.implicitTypes;for(let ht=0,Ct=Ye.length;ht<Ct;ht+=1){const _t=Ye[ht];if((_t.instanceOf||_t.predicate)&&(!_t.instanceOf||typeof de=="object"&&de instanceof _t.instanceOf)&&(!_t.predicate||_t.predicate(de))){if(Ne?_t.multi&&_t.representName?G.tag=_t.representName(de):G.tag=_t.tag:G.tag="?",_t.represent){const qt=G.styleMap[_t.tag]||_t.defaultStyle;let It;if(n.call(_t.represent)==="[object Function]")It=_t.represent(de,qt);else{if(!a.call(_t.represent,qt))throw new e("!<"+_t.tag+'> tag resolver accepts not "'+qt+'" style');It=_t.represent[qt](de,qt)}G.dump=It}return!0}}return!1}function xe(G,de,Ne,Ye,ht,Ct,_t){G.tag=null,G.dump=Ne,Ae(G,Ne,!1)||Ae(G,Ne,!0);const qt=n.call(G.dump),It=Ye;Ye&&(Ye=G.flowLevel<0||G.flowLevel>de);const Ot=qt==="[object Object]"||qt==="[object Array]";let et,Dt;if(Ot&&(et=G.duplicates.indexOf(Ne),Dt=et!==-1),(G.tag!==null&&G.tag!=="?"||Dt||G.indent!==2&&de>0)&&(ht=!1),Dt&&G.usedDuplicates[et])G.dump="*ref_"+et;else{if(Ot&&Dt&&!G.usedDuplicates[et]&&(G.usedDuplicates[et]=!0),qt==="[object Object]")Ye&&Object.keys(G.dump).length!==0?((function(Ut,pr,W,$e){let Je="";const Ft=Ut.tag,it=Object.keys(W);if(Ut.sortKeys===!0)it.sort();else if(typeof Ut.sortKeys=="function")it.sort(Ut.sortKeys);else if(Ut.sortKeys)throw new e("sortKeys must be a boolean or a function");for(let bt=0,ut=it.length;bt<ut;bt+=1){let Xt="";$e&&Je===""||(Xt+=P(Ut,pr));const zt=it[bt];let tr=W[zt];if(Ut.replacer&&(tr=Ut.replacer.call(W,zt,tr)),!xe(Ut,pr+1,zt,!0,!0,!0))continue;const Er=Ut.tag!==null&&Ut.tag!=="?"||Ut.dump&&Ut.dump.length>1024;Er&&(Ut.dump&&Ut.dump.charCodeAt(0)===10?Xt+="?":Xt+="? "),Xt+=Ut.dump,Er&&(Xt+=P(Ut,pr)),xe(Ut,pr+1,tr,!0,Er)&&(Ut.dump&&Ut.dump.charCodeAt(0)===10?Xt+=":":Xt+=": ",Xt+=Ut.dump,Je+=Xt)}Ut.tag=Ft,Ut.dump=Je||"{}"})(G,de,G.dump,ht),Dt&&(G.dump="&ref_"+et+G.dump)):((function(Ut,pr,W){let $e="";const Je=Ut.tag,Ft=Object.keys(W);for(let it=0,bt=Ft.length;it<bt;it+=1){let ut="";$e!==""&&(ut+=", "),Ut.condenseFlow&&(ut+='"');const Xt=Ft[it];let zt=W[Xt];Ut.replacer&&(zt=Ut.replacer.call(W,Xt,zt)),xe(Ut,pr,Xt,!1,!1)&&(Ut.dump.length>1024&&(ut+="? "),ut+=Ut.dump+(Ut.condenseFlow?'"':"")+":"+(Ut.condenseFlow?"":" "),xe(Ut,pr,zt,!1,!1)&&(ut+=Ut.dump,$e+=ut))}Ut.tag=Je,Ut.dump="{"+$e+"}"})(G,de,G.dump),Dt&&(G.dump="&ref_"+et+" "+G.dump));else if(qt==="[object Array]")Ye&&G.dump.length!==0?(G.noArrayIndent&&!_t&&de>0?_e(G,de-1,G.dump,ht):_e(G,de,G.dump,ht),Dt&&(G.dump="&ref_"+et+G.dump)):((function(Ut,pr,W){let $e="";const Je=Ut.tag;for(let Ft=0,it=W.length;Ft<it;Ft+=1){let bt=W[Ft];Ut.replacer&&(bt=Ut.replacer.call(W,String(Ft),bt)),(xe(Ut,pr,bt,!1,!1)||bt===void 0&&xe(Ut,pr,null,!1,!1))&&($e!==""&&($e+=","+(Ut.condenseFlow?"":" ")),$e+=Ut.dump)}Ut.tag=Je,Ut.dump="["+$e+"]"})(G,de,G.dump),Dt&&(G.dump="&ref_"+et+" "+G.dump));else{if(qt!=="[object String]"){if(qt==="[object Undefined]"||G.skipInvalid)return!1;throw new e("unacceptable kind of an object to dump "+qt)}G.tag!=="?"&&le(G,G.dump,de,Ct,It)}if(G.tag!==null&&G.tag!=="?"){let or=encodeURI(G.tag[0]==="!"?G.tag.slice(1):G.tag).replace(/!/g,"%21");or=G.tag[0]==="!"?"!"+or:or.slice(0,18)==="tag:yaml.org,2002:"?"!!"+or.slice(18):"!<"+or+">",G.dump=or+" "+G.dump}}return!0}function Oe(G,de){const Ne=[],Ye=[];je(G,Ne,Ye);const ht=Ye.length;for(let Ct=0;Ct<ht;Ct+=1)de.duplicates.push(Ne[Ye[Ct]]);de.usedDuplicates=new Array(ht)}function je(G,de,Ne){if(G!==null&&typeof G=="object"){const Ye=de.indexOf(G);if(Ye!==-1)Ne.indexOf(Ye)===-1&&Ne.push(Ye);else if(de.push(G),Array.isArray(G))for(let ht=0,Ct=G.length;ht<Ct;ht+=1)je(G[ht],de,Ne);else{const ht=Object.keys(G);for(let Ct=0,_t=ht.length;Ct<_t;Ct+=1)je(G[ht[Ct]],de,Ne)}}}return ae.dump=function(de,Ne){const Ye=new x(Ne=Ne||{});Ye.noRefs||Oe(de,Ye);let ht=de;return Ye.replacer&&(ht=Ye.replacer.call({"":ht},"",ht)),xe(Ye,0,ht,!0,!0)?Ye.dump+`
`:""},ae}var fe=(function(){if(q)return ca;q=1;const e=D(),r=oe();function n(a,o){return function(){throw new Error("Function yaml."+a+" is removed in js-yaml 4. Use yaml."+o+" instead, which is now safe by default.")}}return ca.Type=_a(),ca.Schema=_i(),ca.FAILSAFE_SCHEMA=uc(),ca.JSON_SCHEMA=vl(),ca.CORE_SCHEMA=Zc(),ca.DEFAULT_SCHEMA=O(),ca.load=e.load,ca.loadAll=e.loadAll,ca.dump=r.dump,ca.YAMLException=Ho(),ca.types={binary:tu(),float:pc(),map:mn(),null:Os(),pairs:sp(),set:A(),timestamp:eu(),bool:To(),int:Qc(),merge:op(),omap:ip(),seq:jn(),str:cc()},ca.safeLoad=n("safeLoad","load"),ca.safeLoadAll=n("safeLoadAll","loadAll"),ca.safeDump=n("safeDump","dump"),ca})();const Pe=ah(fe),{Type:ze,Schema:tt,FAILSAFE_SCHEMA:At,JSON_SCHEMA:Rt,CORE_SCHEMA:lr,DEFAULT_SCHEMA:vr,load:Ar,loadAll:_n,dump:ya,YAMLException:Fa,types:ai,safeLoad:Tn,safeLoadAll:Hn,safeDump:na}=Pe,aa="configs_update",Bn="configs_toggle";function Ga(t,e){return{type:aa,payload:{[t]:e}}}function Ya(t){return{type:Bn,payload:t}}const po=()=>()=>{},n0=t=>e=>{const{fn:{fetch:r}}=e;return r(t)},a0=(t,e)=>r=>{const{specActions:n,configsActions:a}=r;if(t)return a.downloadConfig(t).then(o,o);function o(p){p instanceof Error||p.status>=400?(n.updateLoadingStatus("failedConfig"),n.updateLoadingStatus("failedConfig"),n.updateUrl(""),console.error(p.statusText+" "+t.url),e(null)):e(((c,d)=>{try{return Pe.load(c)}catch(E){return d&&d.errActions.newThrownErr(new Error(E)),{}}})(p.text,r))}},Pd=(t,e)=>t.getIn(Array.isArray(e)?e:[e]),bl={[aa]:(t,e)=>t.merge((0,H.fromJS)(e.payload)),[Bn]:(t,e)=>{const r=e.payload,n=t.get(r);return t.set(r,!n)}};function Nd(){return{statePlugins:{configs:{reducers:bl,actions:h,selectors:v}}}}const wl=t=>t?history.pushState(null,null,`#${t}`):window.location.hash="";var Ki=Be(86215),lp=Be.n(Ki);const Gi="layout_scroll_to",ih="layout_clear_scroll",o0={fn:{getScrollParent:function(e,r){const n=document.documentElement;let a=getComputedStyle(e);const o=a.position==="absolute",p=r?/(auto|scroll|hidden)/:/(auto|scroll)/;if(a.position==="fixed")return n;for(let c=e;c=c.parentElement;)if(a=getComputedStyle(c),(!o||a.position!=="static")&&p.test(a.overflow+a.overflowY+a.overflowX))return c;return n}},statePlugins:{layout:{actions:{scrollToElement:(t,e)=>r=>{try{e=e||r.fn.getScrollParent(t),lp().createScroller(e).to(t)}catch(n){console.error(n)}},scrollTo:t=>({type:Gi,payload:Array.isArray(t)?t:[t]}),clearScrollTo:()=>({type:ih}),readyToScroll:(t,e)=>r=>{const n=r.layoutSelectors.getScrollToKey();H.default.is(n,(0,H.fromJS)(t))&&(r.layoutActions.scrollToElement(e),r.layoutActions.clearScrollTo())},parseDeepLinkHash:t=>({layoutActions:e,layoutSelectors:r,getConfigs:n})=>{if(n().deepLinking&&t){let a=t.slice(1);a[0]==="!"&&(a=a.slice(1)),a[0]==="/"&&(a=a.slice(1));const o=a.split("/").map((x=>x||"")),p=r.isShownKeyFromUrlHashArray(o),[c,d="",E=""]=p;if(c==="operations"){const x=r.isShownKeyFromUrlHashArray([d]);d.indexOf("_")>-1&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),e.show(x.map((k=>k.replace(/_/g," "))),!0)),e.show(x,!0)}(d.indexOf("_")>-1||E.indexOf("_")>-1)&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),e.show(p.map((x=>x.replace(/_/g," "))),!0)),e.show(p,!0),e.scrollTo(p)}}},selectors:{getScrollToKey:t=>t.get("scrollToKey"),isShownKeyFromUrlHashArray(t,e){const[r,n]=e;return n?["operations",r,n]:r?["operations-tag",r]:[]},urlHashArrayFromIsShownKey(t,e){let[r,n,a]=e;return r=="operations"?[n,a]:r=="operations-tag"?[n]:[]}},reducers:{[Gi]:(t,e)=>t.set("scrollToKey",H.default.fromJS(e.payload)),[ih]:t=>t.delete("scrollToKey")},wrapActions:{show:(t,{getConfigs:e,layoutSelectors:r})=>(...n)=>{if(t(...n),e().deepLinking)try{let[a,o]=n;a=Array.isArray(a)?a:[a];const p=r.urlHashArrayFromIsShownKey(a);if(!p.length)return;const[c,d]=p;if(!o)return wl("/");p.length===2?wl(Jo(`/${encodeURIComponent(c)}/${encodeURIComponent(d)}`)):p.length===1&&wl(Jo(`/${encodeURIComponent(c)}`))}catch(a){console.error(a)}}}}}};var i0=Be(2209),El=Be.n(i0);const cp=(t,e)=>class extends u.Component{onLoad=n=>{const{operation:a}=this.props,{tag:o,operationId:p}=a.toObject();let{isShownKey:c}=a.toObject();c=c||["operations",o,p],e.layoutActions.readyToScroll(c,n)};render(){return u.createElement("span",{ref:this.onLoad},u.createElement(t,this.props))}},ru=(t,e)=>class extends u.Component{onLoad=n=>{const{tag:a}=this.props,o=["operations-tag",a];e.layoutActions.readyToScroll(o,n)};render(){return u.createElement("span",{ref:this.onLoad},u.createElement(t,this.props))}};function up(){return[o0,{statePlugins:{configs:{wrapActions:{loaded:(t,e)=>(...r)=>{t(...r);const n=decodeURIComponent(window.location.hash);e.layoutActions.parseDeepLinkHash(n)}}}},wrapComponents:{operation:cp,OperationTag:ru}}]}var Td=Be(40860),nu=Be.n(Td);function Sl(t){return t.map((e=>{let r="is not of a type(s)",n=e.get("message").indexOf(r);if(n>-1){let a=e.get("message").slice(n+19).split(",");return e.set("message",e.get("message").slice(0,n)+(function(p){return p.reduce(((c,d,E,x)=>E===x.length-1&&x.length>1?c+"or "+d:x[E+1]&&x.length>2?c+d+", ":x[E+1]?c+d+" ":c+d),"should be a")})(a))}return e}))}var qn=Be(58156),Cn=Be.n(qn);function xl(t,{jsSpec:e}){return t}const Xa=[f,y];function Oa(t){let e={jsSpec:{}};return nu()(Xa,((n,a)=>{try{return a.transform(n,e).filter((o=>!!o))}catch(o){return console.error("Transformer error:",o),n}}),t).filter((n=>!!n)).map((n=>(!n.get("line")&&n.get("path"),n)))}let ks={line:0,level:"error",message:"Unknown error"};const hc=yr((t=>t),(t=>t.get("errors",(0,H.List)()))),Ko=yr(hc,(t=>t.last()));function sh(t){return{statePlugins:{err:{reducers:{[Gt]:(e,{payload:r})=>{let n=Object.assign(ks,r,{type:"thrown"});return e.update("errors",(a=>(a||(0,H.List)()).push((0,H.fromJS)(n)))).update("errors",(a=>Oa(a)))},[Sr]:(e,{payload:r})=>(r=r.map((n=>(0,H.fromJS)(Object.assign(ks,n,{type:"thrown"})))),e.update("errors",(n=>(n||(0,H.List)()).concat((0,H.fromJS)(r)))).update("errors",(n=>Oa(n)))),[kt]:(e,{payload:r})=>{let n=(0,H.fromJS)(r);return n=n.set("type","spec"),e.update("errors",(a=>(a||(0,H.List)()).push((0,H.fromJS)(n)).sortBy((o=>o.get("line"))))).update("errors",(a=>Oa(a)))},[yt]:(e,{payload:r})=>(r=r.map((n=>(0,H.fromJS)(Object.assign(ks,n,{type:"spec"})))),e.update("errors",(n=>(n||(0,H.List)()).concat((0,H.fromJS)(r)))).update("errors",(n=>Oa(n)))),[Zt]:(e,{payload:r})=>{let n=(0,H.fromJS)(Object.assign({},r));return n=n.set("type","auth"),e.update("errors",(a=>(a||(0,H.List)()).push((0,H.fromJS)(n)))).update("errors",(a=>Oa(a)))},[pe]:(e,{payload:r})=>{if(!r||!e.get("errors"))return e;let n=e.get("errors").filter((a=>a.keySeq().every((o=>{const p=a.get(o),c=r[o];return!c||p!==c}))));return e.merge({errors:n})},[U]:(e,{payload:r})=>{if(!r||typeof r!="function")return e;let n=e.get("errors").filter((a=>r(a)));return e.merge({errors:n})}},actions:w,selectors:m}}}}function Xm(t,e){return t.filter(((r,n)=>n.indexOf(e)!==-1))}function Id(){return{fn:{opsFilter:Xm}}}var lh=Be(7666),Yr=Be.n(lh);const As=({className:t=null,width:e=20,height:r=20,...n})=>u.createElement("svg",Yr()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),u.createElement("path",{fill:"currentColor",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"})),ch=({className:t=null,width:e=20,height:r=20,...n})=>u.createElement("svg",Yr()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),u.createElement("path",{fill:"currentColor",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"})),Md=({className:t=null,width:e=20,height:r=20,...n})=>u.createElement("svg",Yr()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),u.createElement("path",{fill:"currentColor",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"})),Qm=({className:t=null,width:e=20,height:r=20,...n})=>u.createElement("svg",Yr()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),u.createElement("path",{fill:"currentColor",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"})),_l=({className:t=null,width:e=15,height:r=16,...n})=>u.createElement("svg",Yr()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 16",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),u.createElement("g",{transform:"translate(2, -1)"},u.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"}))),au=({className:t=null,width:e=20,height:r=20,...n})=>u.createElement("svg",Yr()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),u.createElement("path",{fill:"currentColor",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"})),ou=({className:t=null,width:e=20,height:r=20,...n})=>u.createElement("svg",Yr()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),u.createElement("path",{fill:"currentColor",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"})),pp=()=>({components:{ArrowUpIcon:As,ArrowDownIcon:ch,ArrowIcon:Md,CloseIcon:Qm,CopyIcon:_l,LockIcon:au,UnlockIcon:ou}}),iu="layout_update_layout",Io="layout_update_filter",Mo="layout_update_mode",Cs="layout_show";function Yi(t){return{type:iu,payload:t}}function js(t){return{type:Io,payload:t}}function dc(t,e=!0){return t=fn(t),{type:Cs,payload:{thing:t,shown:e}}}function Zm(t,e=""){return t=fn(t),{type:Mo,payload:{thing:t,mode:e}}}const Rd={[iu]:(t,e)=>t.set("layout",e.payload),[Io]:(t,e)=>t.set("filter",e.payload),[Cs]:(t,e)=>{const r=e.payload.shown,n=(0,H.fromJS)(e.payload.thing);return t.update("shown",(0,H.fromJS)({}),(a=>a.set(n,r)))},[Mo]:(t,e)=>{let r=e.payload.thing,n=e.payload.mode;return t.setIn(["modes"].concat(r),(n||"")+"")}},Dd=t=>t.get("layout"),Go=t=>t.get("filter"),Ro=(t,e,r)=>(e=fn(e),t.get("shown",(0,H.fromJS)({})).get((0,H.fromJS)(e),r)),Un=(t,e,r="")=>(e=fn(e),t.getIn(["modes",...e],r)),Oi=yr((t=>t),(t=>!Ro(t,"editor"))),eg=(t,e)=>(r,...n)=>{let a=t(r,...n);const{fn:o,layoutSelectors:p,getConfigs:c}=e.getSystem(),d=c(),{maxDisplayedTags:E}=d;let x=p.currentFilter();return x&&x!==!0&&(a=o.opsFilter(a,x)),E>=0&&(a=a.slice(0,E)),a};function Fd(){return{statePlugins:{layout:{reducers:Rd,actions:g,selectors:S},spec:{wrapSelectors:_}}}}function uh({configs:t}){const e={debug:0,info:1,log:2,warn:3,error:4},r=p=>e[p]||-1;let{logLevel:n}=t,a=r(n);function o(p,...c){r(p)>=a&&console[p](...c)}return o.warn=o.bind(null,"warn"),o.error=o.bind(null,"error"),o.info=o.bind(null,"info"),o.debug=o.bind(null,"debug"),{rootInjects:{log:o}}}let hp=!1;function Ld(){return{statePlugins:{spec:{wrapActions:{updateSpec:t=>(...e)=>(hp=!0,t(...e)),updateJsonSpec:(t,e)=>(...r)=>{const n=e.getConfigs().onComplete;return hp&&typeof n=="function"&&(setTimeout(n,0),hp=!1),t(...r)}}}}}}const dp=t=>{const e="_**[]";return t.indexOf(e)<0?t:t.split(e)[0].trim()},tg=t=>t==="-d "||/^[_\/-]/g.test(t)?t:"'"+t.replace(/'/g,"'\\''")+"'",su=t=>(t=t.replace(/\^/g,"^^").replace(/\\"/g,'\\\\"').replace(/"/g,'""').replace(/\n/g,`^
`))==="-d "?t.replace(/-d /g,`-d ^
`):/^[_\/-]/g.test(t)?t:'"'+t+'"',$d=t=>t==="-d "?t:/\n/.test(t)?`@"
${t.replace(/`/g,"``").replace(/\$/g,"`$")}
"@`:/^[_\/-]/.test(t)?t:`'${t.replace(/'/g,"''")}'`,Bd=(t,e,r,n="")=>{let a=!1,o="";const p=(...R)=>o+=" "+R.map(e).join(" "),c=(...R)=>o+=R.map(e).join(" "),d=()=>o+=` ${r}`,E=(R=1)=>o+=" ".repeat(R);let x=t.get("headers");o+="curl"+n;const k=t.get("curlOptions");if(H.List.isList(k)&&!k.isEmpty()&&p(...t.get("curlOptions")),p("-X",t.get("method")),d(),E(),c(`${t.get("url")}`),x&&x.size)for(let R of t.get("headers").entries()){d(),E();let[L,V]=R;c("-H",`${L}: ${V}`),a=a||/^content-type$/i.test(L)&&/^multipart\/form-data$/i.test(V)}const P=t.get("body");if(P)if(a&&["POST","PUT","PATCH"].includes(t.get("method")))for(let[R,L]of P.entrySeq()){let V=dp(R);d(),E(),c("-F"),L instanceof Qe.File&&typeof L.valueOf()=="string"?p(`${V}=${L.data}${L.type?`;type=${L.type}`:""}`):L instanceof Qe.File?p(`${V}=@${L.name}${L.type?`;type=${L.type}`:""}`):p(`${V}=${L}`)}else if(P instanceof Qe.File)d(),E(),c(`--data-binary '@${P.name}'`);else{d(),E(),c("-d ");let R=P;H.Map.isMap(R)?c((function(V){let Q=[];for(let[J,re]of V.get("body").entrySeq()){let me=dp(J);re instanceof Qe.File?Q.push(` "${me}": {
"name": "${re.name}"${re.type?`,
"type": "${re.type}"`:""}
}`):Q.push(` "${me}": ${JSON.stringify(re,null,2).replace(/(\r\n|\r|\n)/g,`
`)}`)}return`{
${Q.join(`,
`)}
}`})(t)):(typeof R!="string"&&(R=JSON.stringify(R)),c(R))}else P||t.get("method")!=="POST"||(d(),E(),c("-d ''"));return o},fp=t=>Bd(t,$d,"`\n",".exe"),mp=t=>Bd(t,tg,`\\
`),rg=t=>Bd(t,su,`^
`),ph=t=>t||(0,H.Map)(),fc=yr(ph,(t=>{const e=t.get("languages"),r=t.get("generators",(0,H.Map)());return!e||e.isEmpty()?r:r.filter(((n,a)=>e.includes(a)))})),ng=t=>({fn:e})=>fc(t).map(((r,n)=>{const a=(o=>e[`requestSnippetGenerator_${o}`])(n);return typeof a!="function"?null:r.set("fn",a)})).filter((r=>r)),hh=yr(ph,(t=>t.get("activeLanguage"))),dh=yr(ph,(t=>t.get("defaultExpanded")));var lu=Be(46942),Xr=Be.n(lu),cu=Be(59399);const uu="Copy request snippet to clipboard",qd={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"},pu={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"},oi=({request:t,requestSnippetsSelectors:e,getComponent:r})=>{const n=(0,u.useRef)(null),a=r("ArrowUpIcon"),o=r("ArrowDownIcon"),p=r("SyntaxHighlighter",!0),[c,d]=(0,u.useState)(e.getSnippetGenerators()?.keySeq().first()),[E,x]=(0,u.useState)(e?.getDefaultExpanded()),k=e.getSnippetGenerators(),P=k.get(c),R=P.get("fn")(t),L=()=>{x(!E)},V=J=>J===c?pu:qd,Q=J=>{const{target:re,deltaY:me}=J,{scrollHeight:le,offsetHeight:ve,scrollTop:be}=re;le>ve&&(be===0&&me<0||ve+be>=le&&me>0)&&J.preventDefault()};return(0,u.useEffect)((()=>{}),[]),(0,u.useEffect)((()=>{const J=Array.from(n.current.childNodes).filter((re=>!!re.nodeType&&re.classList?.contains("curl-command")));return J.forEach((re=>re.addEventListener("mousewheel",Q,{passive:!1}))),()=>{J.forEach((re=>re.removeEventListener("mousewheel",Q)))}}),[t]),u.createElement("div",{className:"request-snippets",ref:n},u.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"15px"}},u.createElement("h4",{onClick:()=>L(),style:{cursor:"pointer"}},"Snippets"),u.createElement("button",{onClick:()=>L(),style:{border:"none",background:"none"},title:E?"Collapse operation":"Expand operation"},E?u.createElement(o,{className:"arrow",width:"10",height:"10"}):u.createElement(a,{className:"arrow",width:"10",height:"10"}))),E&&u.createElement("div",{className:"curl-command"},u.createElement("div",{style:{paddingLeft:"15px",paddingRight:"10px",width:"100%",display:"flex"}},k.entrySeq().map((([J,re])=>u.createElement("div",{className:Xr()("btn",{active:J===c}),style:V(J),key:J,onClick:()=>(me=>{c!==me&&d(me)})(J)},u.createElement("h4",{style:J===c?{color:"white"}:{}},re.get("title")))))),u.createElement("div",{className:"copy-to-clipboard",title:uu,"aria-label":uu},u.createElement(cu.CopyToClipboard,{text:R},u.createElement("button",{"aria-label":uu,title:uu,type:"button"}))),u.createElement("div",null,u.createElement(p,{language:P.get("syntax"),className:"curl microlight",renderPlainText:({children:J,PlainTextViewer:re})=>u.createElement(re,{className:"curl"},J)},R))))},Ol=()=>({components:{RequestSnippets:oi},fn:{requestSnippetGenerator_curl_bash:mp,requestSnippetGenerator_curl_cmd:rg,requestSnippetGenerator_curl_powershell:fp},statePlugins:{requestSnippets:{selectors:T}}});class gp extends u.Component{static defaultProps={collapsedContent:"{...}",expanded:!1,title:null,onToggle:()=>{},hideSelfOnExpand:!1,specPath:H.default.List([])};constructor(e,r){super(e,r);let{expanded:n,collapsedContent:a}=this.props;this.state={expanded:n,collapsedContent:a||gp.defaultProps.collapsedContent}}componentDidMount(){const{hideSelfOnExpand:e,expanded:r,modelName:n}=this.props;e&&r&&this.props.onToggle(n,r)}UNSAFE_componentWillReceiveProps(e){this.props.expanded!==e.expanded&&this.setState({expanded:e.expanded})}toggleCollapsed=()=>{this.props.onToggle&&this.props.onToggle(this.props.modelName,!this.state.expanded),this.setState({expanded:!this.state.expanded})};onLoad=e=>{if(e&&this.props.layoutSelectors){const r=this.props.layoutSelectors.getScrollToKey();H.default.is(r,this.props.specPath)&&this.toggleCollapsed(),this.props.layoutActions.readyToScroll(this.props.specPath,e.parentElement)}};render(){const{title:e,classes:r}=this.props;return this.state.expanded&&this.props.hideSelfOnExpand?u.createElement("span",{className:r||""},this.props.children):u.createElement("span",{className:r||"",ref:this.onLoad},u.createElement("button",{"aria-expanded":this.state.expanded,className:"model-box-control",onClick:this.toggleCollapsed},e&&u.createElement("span",{className:"pointer"},e),u.createElement("span",{className:"model-toggle"+(this.state.expanded?"":" collapsed")}),!this.state.expanded&&u.createElement("span",null,this.state.collapsedContent)),this.state.expanded&&this.props.children)}}const ag=({initialTab:t,isExecute:e,schema:r,example:n})=>{const a=(0,u.useMemo)((()=>({example:"example",model:"model"})),[]),o=(0,u.useMemo)((()=>Object.keys(a)),[a]).includes(t)&&r&&!e?t:a.example,p=(x=>{const k=(0,u.useRef)();return(0,u.useEffect)((()=>{k.current=x})),k.current})(e),[c,d]=(0,u.useState)(o),E=(0,u.useCallback)((x=>{d(x.target.dataset.name)}),[]);return(0,u.useEffect)((()=>{p&&!e&&n&&d(a.example)}),[p,e,n]),{activeTab:c,onTabChange:E,tabs:a}},Ps=({schema:t,example:e,isExecute:r=!1,specPath:n,includeWriteOnly:a=!1,includeReadOnly:o=!1,getComponent:p,getConfigs:c,specSelectors:d})=>{const{defaultModelRendering:E,defaultModelExpandDepth:x}=c(),k=p("ModelWrapper"),P=p("HighlightCode",!0),R=Fn()(5).toString("base64"),L=Fn()(5).toString("base64"),V=Fn()(5).toString("base64"),Q=Fn()(5).toString("base64"),J=d.isOAS3(),{activeTab:re,tabs:me,onTabChange:le}=ag({initialTab:E,isExecute:r,schema:t,example:e});return u.createElement("div",{className:"model-example"},u.createElement("ul",{className:"tab",role:"tablist"},u.createElement("li",{className:Xr()("tabitem",{active:re===me.example}),role:"presentation"},u.createElement("button",{"aria-controls":L,"aria-selected":re===me.example,className:"tablinks","data-name":"example",id:R,onClick:le,role:"tab"},r?"Edit Value":"Example Value")),t&&u.createElement("li",{className:Xr()("tabitem",{active:re===me.model}),role:"presentation"},u.createElement("button",{"aria-controls":Q,"aria-selected":re===me.model,className:Xr()("tablinks",{inactive:r}),"data-name":"model",id:V,onClick:le,role:"tab"},J?"Schema":"Model"))),re===me.example&&u.createElement("div",{"aria-hidden":re!==me.example,"aria-labelledby":R,"data-name":"examplePanel",id:L,role:"tabpanel",tabIndex:"0"},e||u.createElement(P,null,"(no example available")),re===me.model&&u.createElement("div",{className:"model-container","aria-hidden":re===me.example,"aria-labelledby":V,"data-name":"modelPanel",id:Q,role:"tabpanel",tabIndex:"0"},u.createElement(k,{schema:t,getComponent:p,getConfigs:c,specSelectors:d,expandDepth:x,specPath:n,includeReadOnly:o,includeWriteOnly:a})))};class kl extends u.Component{onToggle=(e,r)=>{this.props.layoutActions&&this.props.layoutActions.show(this.props.fullPath,r)};render(){let{getComponent:e,getConfigs:r}=this.props;const n=e("Model");let a;return this.props.layoutSelectors&&(a=this.props.layoutSelectors.isShown(this.props.fullPath)),u.createElement("div",{className:"model-box"},u.createElement(n,Yr()({},this.props,{getConfigs:r,expanded:a,depth:1,onToggle:this.onToggle,expandDepth:this.props.expandDepth||0})))}}function yp(t){return yp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yp(t)}function og(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ns(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ts(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),r.push.apply(r,n)}return r}function hu(t){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(t)}function fh(t,e){return fh=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},fh(t,e)}function mh(t,e){return!e||typeof e!="object"&&typeof e!="function"?(function(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n})(t):e}var Ud={};function vp(t,e,r){return(function(a){return a==null})(t)?r:(function(a){return a!==null&&yp(a)==="object"&&typeof a.get=="function"&&typeof a.has=="function"})(t)?t.has(e)?t.get(e):r:hasOwnProperty.call(t,e)?t[e]:r}function ki(t,e,r){for(var n=0;n!==e.length;)if((t=vp(t,e[n++],Ud))===Ud)return r;return t}function du(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=(function(p,c){return function(d){if(typeof d=="string")return(0,H.is)(c[d],p[d]);if(Array.isArray(d))return(0,H.is)(ki(c,d),ki(p,d));throw new TypeError("Invalid key: expected Array or string: "+d)}})(e,r),a=t||Object.keys((function(p){for(var c=1;c<arguments.length;c++){var d=arguments[c]!=null?arguments[c]:{};c%2?Ts(d,!0).forEach((function(E){Ns(p,E,d[E])})):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(d)):Ts(d).forEach((function(E){Object.defineProperty(p,E,Object.getOwnPropertyDescriptor(d,E))}))}return p})({},r,{},e));return a.every(n)}const bp=(function(t){function e(){return(function(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")})(this,e),mh(this,hu(e).apply(this,arguments))}return(function(n,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(a&&a.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),a&&fh(n,a)})(e,t),(function(n,a,o){return a&&og(n.prototype,a),n})(e,[{key:"shouldComponentUpdate",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return!du(this.updateOnProps,this.props,n,"updateOnProps")||!du(this.updateOnStates,this.state,a,"updateOnStates")}}]),e})(u.Component);var Al,zd=Be(5556),va=Be.n(zd);function gh(){return gh=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},gh.apply(null,arguments)}const yh=t=>u.createElement("svg",gh({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"},t),Al||(Al=u.createElement("circle",{cx:50,cy:50,r:35,fill:"none",stroke:"#555",strokeDasharray:"164.93361431346415 56.97787143782138",strokeWidth:10},u.createElement("animateTransform",{attributeName:"transform",begin:"0s",calcMode:"linear",dur:"1s",keyTimes:"0;1",repeatCount:"indefinite",type:"rotate",values:"0 50 50;360 50 50"})))),Wn=t=>{const e=t.replace(/~1/g,"/").replace(/~0/g,"~");try{return decodeURIComponent(e)}catch{return e}};class vh extends bp{static propTypes={schema:El().map.isRequired,getComponent:va().func.isRequired,getConfigs:va().func.isRequired,specSelectors:va().object.isRequired,name:va().string,displayName:va().string,isRef:va().bool,required:va().bool,expandDepth:va().number,depth:va().number,specPath:El().list.isRequired,includeReadOnly:va().bool,includeWriteOnly:va().bool};getModelName=e=>e.indexOf("#/definitions/")!==-1?Wn(e.replace(/^.*#\/definitions\//,"")):e.indexOf("#/components/schemas/")!==-1?Wn(e.replace(/^.*#\/components\/schemas\//,"")):void 0;getRefSchema=e=>{let{specSelectors:r}=this.props;return r.findDefinition(e)};render(){let{getComponent:e,getConfigs:r,specSelectors:n,schema:a,required:o,name:p,isRef:c,specPath:d,displayName:E,includeReadOnly:x,includeWriteOnly:k}=this.props;const P=e("ObjectModel"),R=e("ArrayModel"),L=e("PrimitiveModel");let V="object",Q=a&&a.get("$$ref"),J=a&&a.get("$ref");if(!p&&Q&&(p=this.getModelName(Q)),J){const me=this.getModelName(J),le=this.getRefSchema(me);H.Map.isMap(le)?(a=le.mergeDeep(a),Q||(a=a.set("$$ref",J),Q=J)):H.Map.isMap(a)&&a.size===1&&(a=null,p=J)}if(!a)return u.createElement("strong",{className:"model model-title"},u.createElement("span",{className:"model-title__text"},E||p),!J&&u.createElement(yh,{height:"20px",width:"20px"}));const re=n.isOAS3()&&a.get("deprecated");switch(c=c!==void 0?c:!!Q,V=a&&a.get("type")||V,V){case"object":return u.createElement(P,Yr()({className:"object"},this.props,{specPath:d,getConfigs:r,schema:a,name:p,deprecated:re,isRef:c,includeReadOnly:x,includeWriteOnly:k}));case"array":return u.createElement(R,Yr()({className:"array"},this.props,{getConfigs:r,schema:a,name:p,deprecated:re,required:o,includeReadOnly:x,includeWriteOnly:k}));default:return u.createElement(L,Yr()({},this.props,{getComponent:e,getConfigs:r,schema:a,name:p,deprecated:re,required:o}))}}}class Vd extends u.Component{getSchemaBasePath=()=>this.props.specSelectors.isOAS3()?["components","schemas"]:["definitions"];getCollapsedContent=()=>" ";handleToggle=(e,r)=>{const{layoutActions:n}=this.props;n.show([...this.getSchemaBasePath(),e],r),r&&this.props.specActions.requestResolvedSubtree([...this.getSchemaBasePath(),e])};onLoadModels=e=>{e&&this.props.layoutActions.readyToScroll(this.getSchemaBasePath(),e)};onLoadModel=e=>{if(e){const r=e.getAttribute("data-name");this.props.layoutActions.readyToScroll([...this.getSchemaBasePath(),r],e)}};render(){let{specSelectors:e,getComponent:r,layoutSelectors:n,layoutActions:a,getConfigs:o}=this.props,p=e.definitions(),{docExpansion:c,defaultModelsExpandDepth:d}=o();if(!p.size||d<0)return null;const E=this.getSchemaBasePath();let x=n.isShown(E,d>0&&c!=="none");const k=e.isOAS3(),P=r("ModelWrapper"),R=r("Collapse"),L=r("ModelCollapse"),V=r("JumpToPath",!0),Q=r("ArrowUpIcon"),J=r("ArrowDownIcon");return u.createElement("section",{className:x?"models is-open":"models",ref:this.onLoadModels},u.createElement("h4",null,u.createElement("button",{"aria-expanded":x,className:"models-control",onClick:()=>a.show(E,!x)},u.createElement("span",null,k?"Schemas":"Models"),x?u.createElement(Q,null):u.createElement(J,null))),u.createElement(R,{isOpened:x},p.entrySeq().map((([re])=>{const me=[...E,re],le=H.default.List(me),ve=e.specResolvedSubtree(me),be=e.specJson().getIn(me),ce=H.Map.isMap(ve)?ve:H.default.Map(),_e=H.Map.isMap(be)?be:H.default.Map(),Ae=ce.get("title")||_e.get("title")||re,xe=n.isShown(me,!1);xe&&ce.size===0&&_e.size>0&&this.props.specActions.requestResolvedSubtree(me);const Oe=u.createElement(P,{name:re,expandDepth:d,schema:ce||H.default.Map(),displayName:Ae,fullPath:me,specPath:le,getComponent:r,specSelectors:e,getConfigs:o,layoutSelectors:n,layoutActions:a,includeReadOnly:!0,includeWriteOnly:!0}),je=u.createElement("span",{className:"model-box"},u.createElement("strong",{className:"model model-title"},Ae));return u.createElement("div",{id:`model-${re}`,className:"model-container",key:`models-section-${re}`,"data-name":re,ref:this.onLoadModel},u.createElement("span",{className:"models-jump-to-path"},u.createElement(V,{path:le})),u.createElement(L,{classes:"model-box",collapsedContent:this.getCollapsedContent(re),onToggle:this.handleToggle,title:je,displayName:Ae,modelName:re,specPath:le,layoutSelectors:n,layoutActions:a,hideSelfOnExpand:!0,expanded:d>0&&xe},Oe))})).toArray()))}}const Jd=({value:t,getComponent:e})=>{let r=e("ModelCollapse"),n=u.createElement("span",null,"Array [ ",t.count()," ]");return u.createElement("span",{className:"prop-enum"},"Enum:",u.createElement("br",null),u.createElement(r,{collapsedContent:n},"[ ",t.map(String).join(", ")," ]"))};function fu(t){return t.match(/^(?:[a-z]+:)?\/\//i)}function Wd(t,e){return t?fu(t)?(function(n){return n.match(/^\/\//i)?`${window.location.protocol}${n}`:n})(t):new URL(t,e).href:e}function ba(t,e,{selectedServer:r=""}={}){try{return(function(a,o,{selectedServer:p=""}={}){if(!a)return;if(fu(a))return a;const c=Wd(p,o);return fu(c)?new URL(a,c).href:new URL(a,window.location.href).href})(t,e,{selectedServer:r})}catch{return}}function Dr(t){if(typeof t!="string"||t.trim()==="")return"";const e=t.trim(),r="about:blank";try{const n=`https://base${String(Math.random()).slice(2)}`,a=new URL(e,n),o=a.protocol.slice(0,-1);return["javascript","data","vbscript"].includes(o.toLowerCase())?r:a.origin===n?e.startsWith("/")?`${a.pathname}${a.search}${a.hash}`:e.startsWith("./")||e.startsWith("../")?`${e.match(/^(\.\.?\/)+/)[0]}${a.pathname.substring(1)}${a.search}${a.hash}`:`${a.pathname.substring(1)}${a.search}${a.hash}`:String(a)}catch{return r}}class ka extends u.Component{render(){let{schema:e,name:r,displayName:n,isRef:a,getComponent:o,getConfigs:p,depth:c,onToggle:d,expanded:E,specPath:x,...k}=this.props,{specSelectors:P,expandDepth:R,includeReadOnly:L,includeWriteOnly:V}=k;const{isOAS3:Q}=P,J=c>2||c===2&&x.last()!=="items";if(!e)return null;const{showExtensions:re}=p(),me=re?gr(e):(0,H.List)();let le=e.get("description"),ve=e.get("properties"),be=e.get("additionalProperties"),ce=e.get("title")||n||r,_e=e.get("required"),Ae=e.filter(((pr,W)=>["maxProperties","minProperties","nullable","example"].indexOf(W)!==-1)),xe=e.get("deprecated"),Oe=e.getIn(["externalDocs","url"]),je=e.getIn(["externalDocs","description"]);const G=o("JumpToPath",!0),de=o("Markdown",!0),Ne=o("Model"),Ye=o("ModelCollapse"),ht=o("Property"),Ct=o("Link"),_t=o("ModelExtensions"),qt=()=>u.createElement("span",{className:"model-jump-to-path"},u.createElement(G,{path:x})),It=u.createElement("span",null,u.createElement("span",null,"{"),"...",u.createElement("span",null,"}"),a?u.createElement(qt,null):""),Ot=P.isOAS3()?e.get("allOf"):null,et=P.isOAS3()?e.get("anyOf"):null,Dt=P.isOAS3()?e.get("oneOf"):null,or=P.isOAS3()?e.get("not"):null,Ut=ce&&u.createElement("strong",{className:"model-title"},a&&e.get("$$ref")&&u.createElement("span",{className:Xr()("model-hint",{"model-hint--embedded":J})},e.get("$$ref")),u.createElement("span",{className:"model-title__text"},ce));return u.createElement("span",{className:"model"},u.createElement(Ye,{modelName:r,title:Ut,onToggle:d,expanded:!!E||c<=R,collapsedContent:It},u.createElement("span",{className:"brace-open object"},"{"),a?u.createElement(qt,null):null,u.createElement("span",{className:"inner-object"},u.createElement("table",{className:"model"},u.createElement("tbody",null,le?u.createElement("tr",{className:"description"},u.createElement("td",null,"description:"),u.createElement("td",null,u.createElement(de,{source:le}))):null,Oe&&u.createElement("tr",{className:"external-docs"},u.createElement("td",null,"externalDocs:"),u.createElement("td",null,u.createElement(Ct,{target:"_blank",href:Dr(Oe)},je||Oe))),xe?u.createElement("tr",{className:"property"},u.createElement("td",null,"deprecated:"),u.createElement("td",null,"true")):null,ve&&ve.size?ve.entrySeq().filter((([,pr])=>(!pr.get("readOnly")||L)&&(!pr.get("writeOnly")||V))).map((([pr,W])=>{let $e=Q()&&W.get("deprecated"),Je=H.List.isList(_e)&&_e.contains(pr),Ft=["property-row"];return $e&&Ft.push("deprecated"),Je&&Ft.push("required"),u.createElement("tr",{key:pr,className:Ft.join(" ")},u.createElement("td",null,pr,Je&&u.createElement("span",{className:"star"},"*")),u.createElement("td",null,u.createElement(Ne,Yr()({key:`object-${r}-${pr}_${W}`},k,{required:Je,getComponent:o,specPath:x.push("properties",pr),getConfigs:p,schema:W,depth:c+1}))))})).toArray():null,me.size===0?null:u.createElement(u.Fragment,null,u.createElement("tr",null,u.createElement("td",null," ")),u.createElement(_t,{extensions:me,propClass:"extension"})),be&&be.size?u.createElement("tr",null,u.createElement("td",null,"< * >:"),u.createElement("td",null,u.createElement(Ne,Yr()({},k,{required:!1,getComponent:o,specPath:x.push("additionalProperties"),getConfigs:p,schema:be,depth:c+1})))):null,Ot?u.createElement("tr",null,u.createElement("td",null,"allOf ->"),u.createElement("td",null,Ot.map(((pr,W)=>u.createElement("div",{key:W},u.createElement(Ne,Yr()({},k,{required:!1,getComponent:o,specPath:x.push("allOf",W),getConfigs:p,schema:pr,depth:c+1}))))))):null,et?u.createElement("tr",null,u.createElement("td",null,"anyOf ->"),u.createElement("td",null,et.map(((pr,W)=>u.createElement("div",{key:W},u.createElement(Ne,Yr()({},k,{required:!1,getComponent:o,specPath:x.push("anyOf",W),getConfigs:p,schema:pr,depth:c+1}))))))):null,Dt?u.createElement("tr",null,u.createElement("td",null,"oneOf ->"),u.createElement("td",null,Dt.map(((pr,W)=>u.createElement("div",{key:W},u.createElement(Ne,Yr()({},k,{required:!1,getComponent:o,specPath:x.push("oneOf",W),getConfigs:p,schema:pr,depth:c+1}))))))):null,or?u.createElement("tr",null,u.createElement("td",null,"not ->"),u.createElement("td",null,u.createElement("div",null,u.createElement(Ne,Yr()({},k,{required:!1,getComponent:o,specPath:x.push("not"),getConfigs:p,schema:or,depth:c+1}))))):null))),u.createElement("span",{className:"brace-close"},"}")),Ae.size?Ae.entrySeq().map((([pr,W])=>u.createElement(ht,{key:`${pr}-${W}`,propKey:pr,propVal:W,propClass:"property"}))):null)}}class Aa extends u.Component{render(){let{getComponent:e,getConfigs:r,schema:n,depth:a,expandDepth:o,name:p,displayName:c,specPath:d}=this.props,E=n.get("description"),x=n.get("items"),k=n.get("title")||c||p,P=n.filter(((ve,be)=>["type","items","description","$$ref","externalDocs"].indexOf(be)===-1)),R=n.getIn(["externalDocs","url"]),L=n.getIn(["externalDocs","description"]);const V=e("Markdown",!0),Q=e("ModelCollapse"),J=e("Model"),re=e("Property"),me=e("Link"),le=k&&u.createElement("strong",{className:"model-title"},u.createElement("span",{className:"model-title__text"},k));return u.createElement("span",{className:"model"},u.createElement(Q,{title:le,expanded:a<=o,collapsedContent:"[...]"},"[",P.size?P.entrySeq().map((([ve,be])=>u.createElement(re,{key:`${ve}-${be}`,propKey:ve,propVal:be,propClass:"property"}))):null,E?u.createElement(V,{source:E}):P.size?u.createElement("div",{className:"markdown"}):null,R&&u.createElement("div",{className:"external-docs"},u.createElement(me,{target:"_blank",href:Dr(R)},L||R)),u.createElement("span",null,u.createElement(J,Yr()({},this.props,{getConfigs:r,specPath:d.push("items"),name:null,schema:x,required:!1,depth:a+1}))),"]"))}}const mc="property primitive";class wp extends u.Component{render(){let{schema:e,getComponent:r,getConfigs:n,name:a,displayName:o,depth:p,expandDepth:c}=this.props;const{showExtensions:d}=n();if(!e||!e.get)return u.createElement("div",null);let E=e.get("type"),x=e.get("format"),k=e.get("xml"),P=e.get("enum"),R=e.get("title")||o||a,L=e.get("description");const V=gr(e);let Q=e.filter(((xe,Oe)=>["enum","type","format","description","$$ref","externalDocs"].indexOf(Oe)===-1)).filterNot(((xe,Oe)=>V.has(Oe))),J=e.getIn(["externalDocs","url"]),re=e.getIn(["externalDocs","description"]);const me=r("Markdown",!0),le=r("EnumModel"),ve=r("Property"),be=r("ModelCollapse"),ce=r("Link"),_e=r("ModelExtensions"),Ae=R&&u.createElement("strong",{className:"model-title"},u.createElement("span",{className:"model-title__text"},R));return u.createElement("span",{className:"model"},u.createElement(be,{title:Ae,expanded:p<=c,collapsedContent:"[...]"},u.createElement("span",{className:"prop"},a&&p>1&&u.createElement("span",{className:"prop-name"},R),u.createElement("span",{className:"prop-type"},E),x&&u.createElement("span",{className:"prop-format"},"($",x,")"),Q.size?Q.entrySeq().map((([xe,Oe])=>u.createElement(ve,{key:`${xe}-${Oe}`,propKey:xe,propVal:Oe,propClass:mc}))):null,d&&V.size>0?u.createElement(_e,{extensions:V,propClass:`${mc} extension`}):null,L?u.createElement(me,{source:L}):null,J&&u.createElement("div",{className:"external-docs"},u.createElement(ce,{target:"_blank",href:Dr(J)},re||J)),k&&k.size?u.createElement("span",null,u.createElement("br",null),u.createElement("span",{className:mc},"xml:"),k.entrySeq().map((([xe,Oe])=>u.createElement("span",{key:`${xe}-${Oe}`,className:mc},u.createElement("br",null),"   ",xe,": ",String(Oe)))).toArray()):null,P&&u.createElement(le,{value:P,getComponent:r}))))}}class Ep extends u.Component{UNSAFE_componentWillMount(){let{schemes:e}=this.props;this.setScheme(e.first())}UNSAFE_componentWillReceiveProps(e){this.props.currentScheme&&e.schemes.includes(this.props.currentScheme)||this.setScheme(e.schemes.first())}onChange=e=>{this.setScheme(e.target.value)};setScheme=e=>{let{path:r,method:n,specActions:a}=this.props;a.setScheme(e,r,n)};render(){let{schemes:e,currentScheme:r}=this.props;return u.createElement("label",{htmlFor:"schemes"},u.createElement("span",{className:"schemes-title"},"Schemes"),u.createElement("select",{onChange:this.onChange,value:r,id:"schemes"},e.valueSeq().map((n=>u.createElement("option",{value:n,key:n},n))).toArray()))}}class s0 extends u.Component{render(){const{specActions:e,specSelectors:r,getComponent:n}=this.props,a=r.operationScheme(),o=r.schemes(),p=n("schemes");return o&&o.size?u.createElement(p,{currentScheme:a,schemes:o,specActions:e}):null}}var Qa=Be(24677),bh=Be.n(Qa);const Is={value:"",onChange:()=>{},schema:{},keyName:"",required:!1,errors:(0,H.List)()};class Hd extends u.Component{static defaultProps=Is;componentDidMount(){const{dispatchInitialValue:e,value:r,onChange:n}=this.props;e?n(r):e===!1&&n("")}render(){let{schema:e,errors:r,value:n,onChange:a,getComponent:o,fn:p,disabled:c}=this.props;const d=e&&e.get?e.get("format"):null,E=e&&e.get?e.get("type"):null,x=p.getSchemaObjectType(e),k=p.isFileUploadIntended(e);let P=L=>o(L,!1,{failSilently:!0}),R=E?P(d?`JsonSchema_${E}_${d}`:`JsonSchema_${E}`):o("JsonSchema_string");return k||!H.List.isList(E)||x!=="array"&&x!=="object"||(R=o("JsonSchema_object")),R||(R=o("JsonSchema_string")),u.createElement(R,Yr()({},this.props,{errors:r,fn:p,getComponent:o,value:n,onChange:a,schema:e,disabled:c}))}}class Xi extends u.Component{static defaultProps=Is;onChange=e=>{const r=this.props.schema&&this.props.schema.get("type")==="file"?e.target.files[0]:e.target.value;this.props.onChange(r,this.props.keyName)};onEnumChange=e=>this.props.onChange(e);render(){let{getComponent:e,value:r,schema:n,errors:a,required:o,description:p,disabled:c}=this.props;const d=n&&n.get?n.get("enum"):null,E=n&&n.get?n.get("format"):null,x=n&&n.get?n.get("type"):null,k=n&&n.get?n.get("in"):null;if(r?(Cr(r)||typeof r=="object")&&(r=Gr(r)):r="",a=a.toJS?a.toJS():[],d){const L=e("Select");return u.createElement(L,{className:a.length?"invalid":"",title:a.length?a:"",allowedValues:[...d],value:r,allowEmptyValue:!o,disabled:c,onChange:this.onEnumChange})}const P=c||k&&k==="formData"&&!("FormData"in window),R=e("Input");return x&&x==="file"?u.createElement(R,{type:"file",className:a.length?"invalid":"",title:a.length?a:"",onChange:this.onChange,disabled:P}):u.createElement(bh(),{type:E&&E==="password"?"password":"text",className:a.length?"invalid":"",title:a.length?a:"",value:r,minLength:0,debounceTimeout:350,placeholder:p,onChange:this.onChange,disabled:P})}}class ii extends u.PureComponent{static defaultProps=Is;constructor(e,r){super(e,r),this.state={value:Eh(e.value),schema:e.schema}}UNSAFE_componentWillReceiveProps(e){const r=Eh(e.value);r!==this.state.value&&this.setState({value:r}),e.schema!==this.state.schema&&this.setState({schema:e.schema})}onChange=()=>{this.props.onChange(this.state.value)};onItemChange=(e,r)=>{this.setState((({value:n})=>({value:n.set(r,e)})),this.onChange)};removeItem=e=>{this.setState((({value:r})=>({value:r.delete(e)})),this.onChange)};addItem=()=>{const{fn:e}=this.props;let r=Eh(this.state.value);this.setState((()=>({value:r.push(e.getSampleSchema(this.state.schema.get("items"),!1,{includeWriteOnly:!0}))})),this.onChange)};onEnumChange=e=>{this.setState((()=>({value:e})),this.onChange)};render(){let{getComponent:e,required:r,schema:n,errors:a,fn:o,disabled:p}=this.props;a=a.toJS?a.toJS():Array.isArray(a)?a:[];const c=a.filter((ve=>typeof ve=="string")),d=a.filter((ve=>ve.needRemove!==void 0)).map((ve=>ve.error)),E=this.state.value,x=!!(E&&E.count&&E.count()>0),k=n.getIn(["items","enum"]),P=n.get("items"),R=o.getSchemaObjectType(P),L=o.getSchemaObjectTypeLabel(P),V=n.getIn(["items","format"]),Q=n.get("items");let J,re=!1,me=R==="file"||R==="string"&&V==="binary";if(R&&V?J=e(`JsonSchema_${R}_${V}`):R!=="boolean"&&R!=="array"&&R!=="object"||(J=e(`JsonSchema_${R}`)),!H.List.isList(P?.get("type"))||R!=="array"&&R!=="object"||(J=e("JsonSchema_object")),J||me||(re=!0),k){const ve=e("Select");return u.createElement(ve,{className:a.length?"invalid":"",title:a.length?a:"",multiple:!0,value:E,disabled:p,allowedValues:k,allowEmptyValue:!r,onChange:this.onEnumChange})}const le=e("Button");return u.createElement("div",{className:"json-schema-array"},x?E.map(((ve,be)=>{const ce=(0,H.fromJS)([...a.filter((_e=>_e.index===be)).map((_e=>_e.error))]);return u.createElement("div",{key:be,className:"json-schema-form-item"},me?u.createElement(wh,{value:ve,onChange:_e=>this.onItemChange(_e,be),disabled:p,errors:ce,getComponent:e}):re?u.createElement(mu,{value:ve,onChange:_e=>this.onItemChange(_e,be),disabled:p,errors:ce}):u.createElement(J,Yr()({},this.props,{value:ve,onChange:_e=>this.onItemChange(_e,be),disabled:p,errors:ce,schema:Q,getComponent:e,fn:o})),p?null:u.createElement(le,{className:`btn btn-sm json-schema-form-item-remove ${d.length?"invalid":null}`,title:d.length?d:"",onClick:()=>this.removeItem(be)}," - "))})):null,p?null:u.createElement(le,{className:`btn btn-sm json-schema-form-item-add ${c.length?"invalid":null}`,title:c.length?c:"",onClick:this.addItem},"Add ",L," item"))}}class mu extends u.Component{static defaultProps=Is;onChange=e=>{const r=e.target.value;this.props.onChange(r,this.props.keyName)};render(){let{value:e,errors:r,description:n,disabled:a}=this.props;return e?(Cr(e)||typeof e=="object")&&(e=Gr(e)):e="",r=r.toJS?r.toJS():[],u.createElement(bh(),{type:"text",className:r.length?"invalid":"",title:r.length?r:"",value:e,minLength:0,debounceTimeout:350,placeholder:n,onChange:this.onChange,disabled:a})}}class wh extends u.Component{static defaultProps=Is;onFileChange=e=>{const r=e.target.files[0];this.props.onChange(r,this.props.keyName)};render(){let{getComponent:e,errors:r,disabled:n}=this.props;const a=e("Input"),o=n||!("FormData"in window);return u.createElement(a,{type:"file",className:r.length?"invalid":"",title:r.length?r:"",onChange:this.onFileChange,disabled:o})}}class Kd extends u.Component{static defaultProps=Is;onEnumChange=e=>this.props.onChange(e);render(){let{getComponent:e,value:r,errors:n,schema:a,required:o,disabled:p}=this.props;n=n.toJS?n.toJS():[];let c=a&&a.get?a.get("enum"):null,d=!c||!o,E=!c&&["true","false"];const x=e("Select");return u.createElement(x,{className:n.length?"invalid":"",title:n.length?n:"",value:String(r),disabled:p,allowedValues:c?[...c]:E,allowEmptyValue:d,onChange:this.onEnumChange})}}const ig=t=>t.map((e=>{const r=e.propKey!==void 0?e.propKey:e.index;let n=typeof e=="string"?e:typeof e.error=="string"?e.error:null;if(!r&&n)return n;let a=e.error,o=`/${e.propKey}`;for(;typeof a=="object";){const p=a.propKey!==void 0?a.propKey:a.index;if(p===void 0||(o+=`/${p}`,!a.error))break;a=a.error}return`${o}: ${a}`}));class sg extends u.PureComponent{constructor(){super()}static defaultProps=Is;onChange=e=>{this.props.onChange(e)};handleOnChange=e=>{const r=e.target.value;this.onChange(r)};render(){let{getComponent:e,value:r,errors:n,disabled:a}=this.props;const o=e("TextArea");return n=n.toJS?n.toJS():Array.isArray(n)?n:[],u.createElement("div",null,u.createElement(o,{className:Xr()({invalid:n.length}),title:n.length?ig(n).join(", "):"",value:Gr(r),disabled:a,onChange:this.handleOnChange}))}}function Eh(t){return H.List.isList(t)?t:Array.isArray(t)?(0,H.fromJS)(t):(0,H.List)()}const lg=({extensions:t,propClass:e=""})=>t.entrySeq().map((([r,n])=>{const a=Mr(n)??null;return u.createElement("tr",{key:r,className:e},u.createElement("td",null,r),u.createElement("td",null,JSON.stringify(a)))})).toArray();var cg=Be(11331),Ai=Be.n(cg);const ug=(t,e)=>{const r=H.Map.isMap(t);if(!r&&!Ai()(t))return!1;const n=r?t.get("type"):t.type;return e===n||Array.isArray(e)&&e.includes(n)},Gd=(t,e=new WeakSet)=>{if(t==null||e.has(t))return"any";e.add(t);const{type:r,items:n}=t;return Object.hasOwn(t,"items")?n?`array<${Gd(n,e)}>`:"array<any>":r},Sp=t=>Gd(Mr(t)),Yd=()=>({components:{modelExample:Ps,ModelWrapper:kl,ModelCollapse:gp,Model:vh,Models:Vd,EnumModel:Jd,ObjectModel:ka,ArrayModel:Aa,PrimitiveModel:wp,ModelExtensions:lg,schemes:Ep,SchemesContainer:s0,...I},fn:{hasSchemaType:ug,getSchemaObjectTypeLabel:Sp}});var Sh=Be(19123),xp=Be.n(Sh),pg=Be(41859),xh=Be.n(pg),hg=Be(62193),Ci=Be.n(hg);const _h=t=>e=>Array.isArray(t)&&Array.isArray(e)&&t.length===e.length&&t.every(((r,n)=>r===e[n])),dg=(...t)=>t;class Xd extends Map{delete(e){const r=Array.from(this.keys()).find(_h(e));return super.delete(r)}get(e){const r=Array.from(this.keys()).find(_h(e));return super.get(r)}has(e){return Array.from(this.keys()).findIndex(_h(e))!==-1}}const gu=(t,e=dg)=>{const{Cache:r}=Pt();Pt().Cache=Xd;const n=Pt()(t,e);return Pt().Cache=r,n},Qd={string:t=>t.pattern?(e=>{try{const r=new RegExp("(?<=(?<!\\\\)\\{)(\\d{3,})(?=\\})|(?<=(?<!\\\\)\\{\\d*,)(\\d{3,})(?=\\})|(?<=(?<!\\\\)\\{)(\\d{3,})(?=,\\d*\\})","g"),n=e.replace(r,"100"),a=new(xh())(n);return a.max=100,a.gen()}catch{return"string"}})(t.pattern):"string",string_email:()=>"user@example.com","string_date-time":()=>new Date().toISOString(),string_date:()=>new Date().toISOString().substring(0,10),string_time:()=>new Date().toISOString().substring(11),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:t=>typeof t.default!="boolean"||t.default},Zd=t=>{t=Nn(t);let{type:e,format:r}=t,n=Qd[`${e}_${r}`]||Qd[e];return ia(n)?n(t):"Unknown Type: "+t.type},l0=t=>Vr(t,"$$ref",(e=>typeof e=="string"&&e.indexOf("#")>-1)),ef=["maxProperties","minProperties"],fg=["minItems","maxItems"],mg=["minimum","maximum","exclusiveMinimum","exclusiveMaximum"],gg=["minLength","maxLength"],gc=(t,e,r={})=>{const n={...t};if(["example","default","enum","xml","type",...ef,...fg,...mg,...gg].forEach((a=>(o=>{n[o]===void 0&&e[o]!==void 0&&(n[o]=e[o])})(a))),e.required!==void 0&&Array.isArray(e.required)&&(n.required!==void 0&&n.required.length||(n.required=[]),e.required.forEach((a=>{n.required.includes(a)||n.required.push(a)}))),e.properties){n.properties||(n.properties={});let a=Nn(e.properties);for(let o in a)Object.prototype.hasOwnProperty.call(a,o)&&(a[o]&&a[o].deprecated||a[o]&&a[o].readOnly&&!r.includeReadOnly||a[o]&&a[o].writeOnly&&!r.includeWriteOnly||n.properties[o]||(n.properties[o]=a[o],!e.required&&Array.isArray(e.required)&&e.required.indexOf(o)!==-1&&(n.required?n.required.push(o):n.required=[o])))}return e.items&&(n.items||(n.items={}),n.items=gc(n.items,e.items,r)),n},Yo=(t,e={},r=void 0,n=!1)=>{t&&ia(t.toJS)&&(t=t.toJS());let a=r!==void 0||t&&t.example!==void 0||t&&t.default!==void 0;const o=!a&&t&&t.oneOf&&t.oneOf.length>0,p=!a&&t&&t.anyOf&&t.anyOf.length>0;if(!a&&(o||p)){const G=Nn(o?t.oneOf[0]:t.anyOf[0]);if(!(t=gc(t,G,e)).xml&&G.xml&&(t.xml=G.xml),t.example!==void 0&&G.example!==void 0)a=!0;else if(G.properties){t.properties||(t.properties={});let de=Nn(G.properties);for(let Ne in de)Object.prototype.hasOwnProperty.call(de,Ne)&&(de[Ne]&&de[Ne].deprecated||de[Ne]&&de[Ne].readOnly&&!e.includeReadOnly||de[Ne]&&de[Ne].writeOnly&&!e.includeWriteOnly||t.properties[Ne]||(t.properties[Ne]=de[Ne],!G.required&&Array.isArray(G.required)&&G.required.indexOf(Ne)!==-1&&(t.required?t.required.push(Ne):t.required=[Ne])))}}const c={};let{xml:d,type:E,example:x,properties:k,additionalProperties:P,items:R}=t||{},{includeReadOnly:L,includeWriteOnly:V}=e;d=d||{};let Q,{name:J,prefix:re,namespace:me}=d,le={};n&&(J=J||"notagname",Q=(re?re+":":"")+J,me)&&(c[re?"xmlns:"+re:"xmlns"]=me),n&&(le[Q]=[]);const ve=G=>G.some((de=>Object.prototype.hasOwnProperty.call(t,de)));t&&!E&&(k||P||ve(ef)?E="object":R||ve(fg)?E="array":ve(mg)?(E="number",t.type="number"):a||t.enum||(E="string",t.type="string"));const be=G=>{if(t?.maxItems!=null&&(G=G.slice(0,t?.maxItems)),t?.minItems!=null){let de=0;for(;G.length<t?.minItems;)G.push(G[de++%G.length])}return G},ce=Nn(k);let _e,Ae=0;const xe=()=>t&&t.maxProperties!==null&&t.maxProperties!==void 0&&Ae>=t.maxProperties,Oe=G=>!t||t.maxProperties===null||t.maxProperties===void 0||!xe()&&(!(de=>!(t&&t.required&&t.required.length&&t.required.includes(de)))(G)||t.maxProperties-Ae-(()=>{if(!t||!t.required)return 0;let de=0;return n?t.required.forEach((Ne=>de+=le[Ne]===void 0?0:1)):t.required.forEach((Ne=>de+=le[Q]?.find((Ye=>Ye[Ne]!==void 0))===void 0?0:1)),t.required.length-de})()>0);if(_e=n?(G,de=void 0)=>{if(t&&ce[G]){if(ce[G].xml=ce[G].xml||{},ce[G].xml.attribute){const Ye=Array.isArray(ce[G].enum)?ce[G].enum[0]:void 0,ht=ce[G].example,Ct=ce[G].default;return void(c[ce[G].xml.name||G]=ht!==void 0?ht:Ct!==void 0?Ct:Ye!==void 0?Ye:Zd(ce[G]))}ce[G].xml.name=ce[G].xml.name||G}else ce[G]||P===!1||(ce[G]={xml:{name:G}});let Ne=Yo(t&&ce[G]||void 0,e,de,n);Oe(G)&&(Ae++,Array.isArray(Ne)?le[Q]=le[Q].concat(Ne):le[Q].push(Ne))}:(G,de)=>{if(Oe(G)){if(Object.prototype.hasOwnProperty.call(t,"discriminator")&&t.discriminator&&Object.prototype.hasOwnProperty.call(t.discriminator,"mapping")&&t.discriminator.mapping&&Object.prototype.hasOwnProperty.call(t,"$$ref")&&t.$$ref&&t.discriminator.propertyName===G){for(let Ne in t.discriminator.mapping)if(t.$$ref.search(t.discriminator.mapping[Ne])!==-1){le[G]=Ne;break}}else le[G]=Yo(ce[G],e,de,n);Ae++}},a){let G;if(G=l0(r!==void 0?r:x!==void 0?x:t.default),!n){if(typeof G=="number"&&E==="string")return`${G}`;if(typeof G!="string"||E==="string")return G;try{return JSON.parse(G)}catch{return G}}if(t||(E=Array.isArray(G)?"array":typeof G),E==="array"){if(!Array.isArray(G)){if(typeof G=="string")return G;G=[G]}const de=t?t.items:void 0;de&&(de.xml=de.xml||d||{},de.xml.name=de.xml.name||d.name);let Ne=G.map((Ye=>Yo(de,e,Ye,n)));return Ne=be(Ne),d.wrapped?(le[Q]=Ne,Ci()(c)||le[Q].push({_attr:c})):le=Ne,le}if(E==="object"){if(typeof G=="string")return G;for(let de in G)Object.prototype.hasOwnProperty.call(G,de)&&(t&&ce[de]&&ce[de].readOnly&&!L||t&&ce[de]&&ce[de].writeOnly&&!V||(t&&ce[de]&&ce[de].xml&&ce[de].xml.attribute?c[ce[de].xml.name||de]=G[de]:_e(de,G[de])));return Ci()(c)||le[Q].push({_attr:c}),le}return le[Q]=Ci()(c)?G:[{_attr:c},G],le}if(E==="object"){for(let G in ce)Object.prototype.hasOwnProperty.call(ce,G)&&(ce[G]&&ce[G].deprecated||ce[G]&&ce[G].readOnly&&!L||ce[G]&&ce[G].writeOnly&&!V||_e(G));if(n&&c&&le[Q].push({_attr:c}),xe())return le;if(P===!0)n?le[Q].push({additionalProp:"Anything can be here"}):le.additionalProp1={},Ae++;else if(P){const G=Nn(P),de=Yo(G,e,void 0,n);if(n&&G.xml&&G.xml.name&&G.xml.name!=="notagname")le[Q].push(de);else{const Ne=G["x-additionalPropertiesName"]||"additionalProp",Ye=t.minProperties!==null&&t.minProperties!==void 0&&Ae<t.minProperties?t.minProperties-Ae:3;for(let ht=1;ht<=Ye;ht++){if(xe())return le;if(n){const Ct={};Ct[Ne+ht]=de.notagname,le[Q].push(Ct)}else le[Ne+ht]=de;Ae++}}}return le}if(E==="array"){if(!R)return;let G;if(n&&(R.xml=R.xml||t?.xml||{},R.xml.name=R.xml.name||d.name),Array.isArray(R.anyOf))G=R.anyOf.map((de=>Yo(gc(de,R,e),e,void 0,n)));else if(Array.isArray(R.oneOf))G=R.oneOf.map((de=>Yo(gc(de,R,e),e,void 0,n)));else{if(!(!n||n&&d.wrapped))return Yo(R,e,void 0,n);G=[Yo(R,e,void 0,n)]}return G=be(G),n&&d.wrapped?(le[Q]=G,Ci()(c)||le[Q].push({_attr:c}),le):G}let je;if(t&&Array.isArray(t.enum))je=fn(t.enum)[0];else{if(!t)return;if(je=Zd(t),typeof je=="number"){let G=t.minimum;G!=null&&(t.exclusiveMinimum&&G++,je=G);let de=t.maximum;de!=null&&(t.exclusiveMaximum&&de--,je=de)}if(typeof je=="string"&&(t.maxLength!==null&&t.maxLength!==void 0&&(je=je.slice(0,t.maxLength)),t.minLength!==null&&t.minLength!==void 0)){let G=0;for(;je.length<t.minLength;)je+=je[G++%je.length]}}if(E!=="file")return n?(le[Q]=Ci()(c)?je:[{_attr:c},je],le):je},_p=t=>(t.schema&&(t=t.schema),t.properties&&(t.type="object"),t),tf=(t,e,r)=>{const n=Yo(t,e,r,!0);if(n)return typeof n=="string"?n:xp()(n,{declaration:!0,indent:" "})},rf=(t,e,r)=>Yo(t,e,r,!1),yg=(t,e,r)=>[t,JSON.stringify(e),JSON.stringify(r)],si=gu(tf,yg),Oh=gu(rf,yg),kh=t=>Mr(t)?.type??"string",vg=[{when:/json/,shouldStringifyTypes:["string"]}],bg=["object"],wg=t=>(e,r,n,a)=>{const{fn:o}=t(),p=o.memoizedSampleFromSchema(e,r,a),c=typeof p,d=vg.reduce(((E,x)=>x.when.test(n)?[...E,...x.shouldStringifyTypes]:E),bg);return Wr()(d,(E=>E===c))?JSON.stringify(p,null,2):p},nf=t=>(e,r,n,a)=>{const{fn:o}=t(),p=o.getJsonSampleSchema(e,r,n,a);let c;try{c=Pe.dump(Pe.load(p),{lineWidth:-1},{schema:Rt}),c[c.length-1]===`
`&&(c=c.slice(0,c.length-1))}catch(d){return console.error(d),"error: could not generate yaml example"}return c.replace(/\t/g," ")},yu=t=>(e,r,n)=>{const{fn:a}=t();if(e&&!e.xml&&(e.xml={}),e&&!e.xml.name){if(!e.$$ref&&(e.type||e.items||e.properties||e.additionalProperties))return`<?xml version="1.0" encoding="UTF-8"?>
<!-- XML example cannot be generated; root element name is undefined -->`;if(e.$$ref){let o=e.$$ref.match(/\S*\/(\S+)$/);e.xml.name=o[1]}}return a.memoizedCreateXMLExample(e,r,n)},af=t=>(e,r="",n={},a=void 0)=>{const{fn:o}=t();return typeof a?.toJS=="function"&&(a=a.toJS()),/xml/.test(r)?(typeof e?.toJS=="function"&&(e=e.toJS()),o.getXmlSampleSchema(e,n,a)):/(yaml|yml)/.test(r)?o.getYamlSampleSchema(e,n,r,a):o.getJsonSampleSchema(e,n,r,a)},Ah=({getSystem:t})=>{const e=wg(t),r=nf(t),n=yu(t),a=af(t);return{fn:{jsonSchema5:{inferSchema:_p,sampleFromSchema:rf,sampleFromSchemaGeneric:Yo,createXMLExample:tf,memoizedSampleFromSchema:Oh,memoizedCreateXMLExample:si,getJsonSampleSchema:e,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:a,mergeJsonSchema:gc},inferSchema:_p,sampleFromSchema:rf,sampleFromSchemaGeneric:Yo,createXMLExample:tf,memoizedSampleFromSchema:Oh,memoizedCreateXMLExample:si,getJsonSampleSchema:e,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:a,mergeJsonSchema:gc,getSchemaObjectType:kh}}};var c0=Be(37334),vu=Be.n(c0);const Eg=["get","put","post","delete","options","head","patch","trace","query"],ji=t=>t||(0,H.Map)(),Sg=yr(ji,(t=>t.get("lastError"))),xg=yr(ji,(t=>t.get("url"))),u0=yr(ji,(t=>t.get("spec")||"")),Do=yr(ji,(t=>t.get("specSource")||"not-editor")),Za=yr(ji,(t=>t.get("json",(0,H.Map)()))),_g=yr(Za,(t=>t.toJS())),Og=yr(ji,(t=>t.get("resolved",(0,H.Map)()))),kg=(t,e)=>t.getIn(["resolvedSubtrees",...e],void 0),of=(t,e)=>H.Map.isMap(t)&&H.Map.isMap(e)?e.get("$$ref")?e:(0,H.OrderedMap)().mergeWith(of,t,e):e,li=yr(ji,(t=>(0,H.OrderedMap)().mergeWith(of,t.get("json"),t.get("resolvedSubtrees")))),eo=t=>Za(t),Ag=yr(eo,(()=>!1)),Ch=yr(eo,(t=>gf(t&&t.get("info")))),Cg=yr(eo,(t=>gf(t&&t.get("externalDocs")))),sf=yr(Ch,(t=>t&&t.get("version"))),jg=yr(sf,(t=>/v?([0-9]*)\.([0-9]*)\.([0-9]*)/i.exec(t).slice(1))),lf=yr(li,(t=>t.get("paths"))),Pg=vu()(["get","put","post","delete","options","head","patch"]),jh=yr(lf,(t=>{let e=(0,H.List)();return!H.Map.isMap(t)||t.isEmpty()||t.forEach(((r,n)=>{if(!r||!r.forEach)return{};r.forEach(((a,o)=>{Eg.indexOf(o)<0||(e=e.push((0,H.fromJS)({path:n,method:o,operation:a,id:`${o}-${n}`,specPath:["paths",n,o]})))}))})),e})),Ph=yr(eo,(t=>(0,H.Set)(t.get("consumes")))),cf=yr(eo,(t=>(0,H.Set)(t.get("produces")))),uf=yr(eo,(t=>t.get("security",(0,H.List)()))),Nh=yr(eo,(t=>t.get("securityDefinitions"))),Ng=(t,e)=>{const r=t.getIn(["resolvedSubtrees","definitions",e],null),n=t.getIn(["json","definitions",e],null);return r||n||null},pf=yr(eo,(t=>{const e=t.get("definitions");return H.Map.isMap(e)?e:(0,H.Map)()})),Tg=yr(eo,(t=>t.get("basePath"))),Th=yr(eo,(t=>t.get("host"))),Ms=yr(eo,(t=>t.get("schemes",(0,H.Map)()))),bu=yr([jh,Ph,cf],((t,e,r)=>t.map((n=>n.update("operation",(a=>H.Map.isMap(a)?a.withMutations((o=>(o.get("consumes")||o.update("consumes",(p=>(0,H.Set)(p).merge(e))),o.get("produces")||o.update("produces",(p=>(0,H.Set)(p).merge(r))),o))):(0,H.Map)())))))),La=yr(eo,(t=>{const e=t.get("tags",(0,H.List)());return H.List.isList(e)?e.filter((r=>H.Map.isMap(r))):(0,H.List)()})),Ig=(t,e)=>(La(t)||(0,H.List)()).filter(H.Map.isMap).find((r=>r.get("name")===e),(0,H.Map)()),Mg=yr(bu,La,((t,e)=>t.reduce(((r,n)=>{let a=(0,H.Set)(n.getIn(["operation","tags"]));return a.count()<1?r.update("default",(0,H.List)(),(o=>o.push(n))):a.reduce(((o,p)=>o.update(p,(0,H.List)(),(c=>c.push(n)))),r)}),e.reduce(((r,n)=>r.set(n.get("name"),(0,H.List)())),(0,H.OrderedMap)())))),Ih=t=>({getConfigs:e})=>{let{tagsSorter:r,operationsSorter:n}=e();return Mg(t).sortBy(((a,o)=>o),((a,o)=>{let p=typeof r=="function"?r:Nr.tagsSorter[r];return p?p(a,o):null})).map(((a,o)=>{let p=typeof n=="function"?n:Nr.operationsSorter[n],c=p?a.sort(p):a;return(0,H.Map)({tagDetails:Ig(t,o),operations:c})}))},$a=yr(ji,(t=>t.get("responses",(0,H.Map)()))),Rg=yr(ji,(t=>t.get("requests",(0,H.Map)()))),cr=yr(ji,(t=>t.get("mutatedRequests",(0,H.Map)()))),wu=(t,e,r)=>$a(t).getIn([e,r],null),Dg=(t,e,r)=>Rg(t).getIn([e,r],null),Fg=(t,e,r)=>cr(t).getIn([e,r],null),Op=()=>!0,Eu=(t,e,r)=>{const n=li(t).getIn(["paths",...e,"parameters"],(0,H.OrderedMap)()),a=t.getIn(["meta","paths",...e,"parameters"],(0,H.OrderedMap)());return n.map((o=>{const p=a.get(`${r.get("in")}.${r.get("name")}`),c=a.get(`${r.get("in")}.${r.get("name")}.hash-${r.hashCode()}`);return(0,H.OrderedMap)().merge(o,p,c)})).find((o=>o.get("in")===r.get("in")&&o.get("name")===r.get("name")),(0,H.OrderedMap)())},Mh=(t,e,r,n)=>{const a=`${n}.${r}`;return t.getIn(["meta","paths",...e,"parameter_inclusions",a],!1)},Lg=(t,e,r,n)=>{const a=li(t).getIn(["paths",...e,"parameters"],(0,H.OrderedMap)()).find((o=>o.get("in")===n&&o.get("name")===r),(0,H.OrderedMap)());return Eu(t,e,a)},hf=(t,e,r)=>{const n=li(t).getIn(["paths",e,r],(0,H.OrderedMap)()),a=t.getIn(["meta","paths",e,r],(0,H.OrderedMap)()),o=n.get("parameters",(0,H.List)()).map((p=>Eu(t,[e,r],p)));return(0,H.OrderedMap)().merge(n,a).set("parameters",o)};function $g(t,e,r,n){return e=e||[],t.getIn(["meta","paths",...e,"parameters"],(0,H.fromJS)([])).find((a=>H.Map.isMap(a)&&a.get("name")===r&&a.get("in")===n))||(0,H.Map)()}const df=yr(eo,(t=>{const e=t.get("host");return typeof e=="string"&&e.length>0&&e[0]!=="/"}));function Rh(t,e,r){return e=e||[],hf(t,...e).get("parameters",(0,H.List)()).reduce(((n,a)=>{let o=r&&a.get("in")==="body"?a.get("value_xml"):a.get("value");return H.List.isList(o)&&(o=o.filter((p=>p!==""))),n.set(sa(a,{allowHashes:!1}),o)}),(0,H.fromJS)({}))}function ho(t,e=""){if(H.List.isList(t))return t.some((r=>H.Map.isMap(r)&&r.get("in")===e))}function ci(t,e=""){if(H.List.isList(t))return t.some((r=>H.Map.isMap(r)&&r.get("type")===e))}function Cl(t,e){e=e||[];let r=li(t).getIn(["paths",...e],(0,H.fromJS)({})),n=t.getIn(["meta","paths",...e],(0,H.fromJS)({})),a=ff(t,e);const o=r.get("parameters")||new H.List,p=n.get("consumes_value")?n.get("consumes_value"):ci(o,"file")?"multipart/form-data":ci(o,"formData")?"application/x-www-form-urlencoded":void 0;return(0,H.fromJS)({requestContentType:p,responseContentType:a})}function ff(t,e){e=e||[];const r=li(t).getIn(["paths",...e],null);if(r===null)return;const n=t.getIn(["meta","paths",...e,"produces_value"],null),a=r.getIn(["produces",0],null);return n||a||"application/json"}function Bg(t,e){e=e||[];const r=li(t),n=r.getIn(["paths",...e],null);if(n===null)return;const[a]=e,o=n.get("produces",null),p=r.getIn(["paths",a,"produces"],null),c=r.getIn(["produces"],null);return o||p||c}function Qi(t,e){e=e||[];const r=li(t),n=r.getIn(["paths",...e],null);if(n===null)return;const[a]=e,o=n.get("consumes",null),p=r.getIn(["paths",a,"consumes"],null),c=r.getIn(["consumes"],null);return o||p||c}const mf=(t,e,r)=>{let n=t.get("url").match(/^([a-z][a-z0-9+\-.]*):/),a=Array.isArray(n)?n[1]:null;return t.getIn(["scheme",e,r])||t.getIn(["scheme","_defaultScheme"])||a||""},Rs=(t,e,r)=>["http","https"].indexOf(mf(t,e,r))>-1,qg=(t,e)=>{e=e||[];const r=t.getIn(["meta","paths",...e,"parameters"],(0,H.fromJS)([])),n=[];if(r.length===0)return n;const a=(o,p=[])=>{const c=(d,E)=>{const x=[...E,d.get("propKey")||d.get("index")];return H.Map.isMap(d.get("error"))?a(d.get("error"),x):{error:d.get("error"),path:x}};return H.List.isList(o)?o.map((d=>H.Map.isMap(d)?c(d,p):{error:d,path:p})):c(o,p)};return r.forEach(((o,p)=>{const c=p.split(".").slice(1,-1).join("."),d=o.get("errors");d&&d.count()&&a(d).forEach((({error:E,path:x})=>{n.push(((k,P,R)=>`For '${R}'${(P=P.reduce(((L,V)=>typeof V=="number"?`${L}[${V}]`:L?`${L}.${V}`:V),""))?` at path '${P}'`:""}: ${k}.`)(E,x,c))}))})),n},Ug=(t,e)=>qg(t,e).length===0,zg=(t,e)=>{let r={requestBody:!1,requestContentType:{}},n=t.getIn(["resolvedSubtrees","paths",...e,"requestBody"],(0,H.fromJS)([]));if(n.size<1)return r;n.getIn(["required"])&&(r.requestBody=n.getIn(["required"]));const a=n.getIn(["content"]);return a&&a.entrySeq().forEach((o=>{const p=o[0];if(o[1].getIn(["schema","required"])){const c=o[1].getIn(["schema","required"]).toJS();r.requestContentType[p]=c}})),r},Vg=(t,e,r,n)=>{if((r||n)&&r===n)return!0;let a=t.getIn(["resolvedSubtrees","paths",...e,"requestBody","content"],(0,H.fromJS)([]));if(a.size<2||!r||!n)return!1;let o=a.getIn([r,"schema","properties"],(0,H.fromJS)([])),p=a.getIn([n,"schema","properties"],(0,H.fromJS)([]));return!!o.equals(p)};function gf(t){return H.Map.isMap(t)?t:new H.Map}var Jg=Be(85015),p0=Be.n(Jg),Dh=Be(38221),yf=Be.n(Dh),ui=Be(63560),pn=Be.n(ui),Ca=Be(56367),ua=Be.n(Ca);const wa="spec_update_spec",fo="spec_update_url",jl="spec_update_json",Kn="spec_update_param",yc="spec_update_empty_param_inclusion",Ds="spec_validate_param",Su="spec_set_response",kp="spec_set_request",vc="spec_set_mutated_request",Fo="spec_log_request",Ap="spec_clear_response",Pl="spec_clear_request",Zi="spec_clear_validate_param",bc="spec_update_operation_meta_value",Cp="spec_update_resolved",Pi="spec_update_resolved_subtree",xu="set_scheme",Nl=t=>p0()(t)?t:"";function Fh(t){const e=Nl(t).replace(/\t/g," ");if(typeof t=="string")return{type:wa,payload:e}}function jp(t){return{type:Cp,payload:t}}function vf(t){return{type:fo,payload:t}}function Lh(t){return{type:jl,payload:t}}const $h=t=>({specActions:e,specSelectors:r,errActions:n})=>{let{specStr:a}=r,o=null;try{t=t||a(),n.clear({source:"parser"}),o=Pe.load(t,{schema:Rt})}catch(p){return console.error(p),n.newSpecErr({source:"parser",level:"error",message:p.reason,line:p.mark&&p.mark.line?p.mark.line+1:void 0})}return o&&typeof o=="object"?e.updateJsonSpec(o):e.updateJsonSpec({})};let to=!1;const Tl=(t,e)=>({specActions:r,specSelectors:n,errActions:a,fn:{fetch:o,resolve:p,AST:c={}},getConfigs:d})=>{to||(console.warn("specActions.resolveSpec is deprecated since v3.10.0 and will be removed in v4.0.0; use requestResolvedSubtree instead!"),to=!0);const{modelPropertyMacro:E,parameterMacro:x,requestInterceptor:k,responseInterceptor:P}=d();t===void 0&&(t=n.specJson()),e===void 0&&(e=n.url());let R=c.getLineNumberForPath?c.getLineNumberForPath:()=>{},L=n.specStr();return p({fetch:o,spec:t,baseDoc:String(new URL(e,document.baseURI)),modelPropertyMacro:E,parameterMacro:x,requestInterceptor:k,responseInterceptor:P}).then((({spec:V,errors:Q})=>{if(a.clear({type:"thrown"}),Array.isArray(Q)&&Q.length>0){let J=Q.map((re=>(console.error(re),re.line=re.fullPath?R(L,re.fullPath):null,re.path=re.fullPath?re.fullPath.join("."):null,re.level="error",re.type="thrown",re.source="resolver",Object.defineProperty(re,"message",{enumerable:!0,value:re.message}),re)));a.newThrownErrBatch(J)}return r.updateResolved(V)}))};let Lo=[];const $o=yf()((()=>{const t=Lo.reduce(((e,{path:r,system:n})=>(e.has(n)||e.set(n,[]),e.get(n).push(r),e)),new Map);Lo=[],t.forEach((async(e,r)=>{if(!r)return void console.error("debResolveSubtrees: don't have a system to operate on, aborting.");if(!r.fn.resolveSubtree)return void console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing.");const{errActions:n,errSelectors:a,fn:{resolveSubtree:o,fetch:p,AST:c={}},specSelectors:d,specActions:E}=r,x=c.getLineNumberForPath??vu()(void 0),k=d.specStr(),{modelPropertyMacro:P,parameterMacro:R,requestInterceptor:L,responseInterceptor:V}=r.getConfigs();try{const Q=await e.reduce((async(J,re)=>{let{resultMap:me,specWithCurrentSubtrees:le}=await J;const{errors:ve,spec:be}=await o(le,re,{baseDoc:String(new URL(d.url(),document.baseURI)),modelPropertyMacro:P,parameterMacro:R,requestInterceptor:L,responseInterceptor:V});if(a.allErrors().size&&n.clearBy((ce=>ce.get("type")!=="thrown"||ce.get("source")!=="resolver"||!ce.get("fullPath")?.every(((_e,Ae)=>_e===re[Ae]||re[Ae]===void 0)))),Array.isArray(ve)&&ve.length>0){let ce=ve.map((_e=>(_e.line=_e.fullPath?x(k,_e.fullPath):null,_e.path=_e.fullPath?_e.fullPath.join("."):null,_e.level="error",_e.type="thrown",_e.source="resolver",Object.defineProperty(_e,"message",{enumerable:!0,value:_e.message}),_e)));n.newThrownErrBatch(ce)}return be&&d.isOAS3()&&re[0]==="components"&&re[1]==="securitySchemes"&&await Promise.all(Object.values(be).filter((ce=>ce?.type==="openIdConnect")).map((async ce=>{const _e={url:ce.openIdConnectUrl,requestInterceptor:L,responseInterceptor:V};try{const Ae=await p(_e);Ae instanceof Error||Ae.status>=400?console.error(Ae.statusText+" "+_e.url):ce.openIdConnectData=JSON.parse(Ae.text)}catch(Ae){console.error(Ae)}}))),pn()(me,re,be),le=ua()(re,be,le),{resultMap:me,specWithCurrentSubtrees:le}}),Promise.resolve({resultMap:(d.specResolvedSubtree([])||(0,H.Map)()).toJS(),specWithCurrentSubtrees:d.specJS()}));E.updateResolvedSubtree([],Q.resultMap)}catch(Q){console.error(Q)}}))}),35),Wg=t=>e=>{Lo.find((({path:r,system:n})=>n===e&&r.toString()===t.toString()))||(Lo.push({path:t,system:e}),$o())};function bf(t,e,r,n,a){return{type:Kn,payload:{path:t,value:n,paramName:e,paramIn:r,isXml:a}}}function wf(t,e,r,n){return{type:Kn,payload:{path:t,param:e,value:r,isXml:n}}}const Il=(t,e)=>({type:Pi,payload:{path:t,value:e}}),Hg=()=>({type:Pi,payload:{path:[],value:(0,H.Map)()}}),Ef=(t,e)=>({type:Ds,payload:{pathMethod:t,isOAS3:e}}),wc=(t,e,r,n)=>({type:yc,payload:{pathMethod:t,paramName:e,paramIn:r,includeEmptyValue:n}});function Sf(t){return{type:Zi,payload:{pathMethod:t}}}function Ec(t,e){return{type:bc,payload:{path:t,value:e,key:"consumes_value"}}}function Kg(t,e){return{type:bc,payload:{path:t,value:e,key:"produces_value"}}}const Gg=(t,e,r)=>({payload:{path:t,method:e,res:r},type:Su}),xf=(t,e,r)=>({payload:{path:t,method:e,req:r},type:kp}),Bh=(t,e,r)=>({payload:{path:t,method:e,req:r},type:vc}),h0=t=>({payload:t,type:Fo}),d0=t=>({fn:e,specActions:r,specSelectors:n,getConfigs:a,oas3Selectors:o})=>{let{pathName:p,method:c,operation:d}=t,{requestInterceptor:E,responseInterceptor:x}=a(),k=d.toJS();if(d&&d.get("parameters")&&d.get("parameters").filter((L=>L&&L.get("allowEmptyValue")===!0)).forEach((L=>{if(n.parameterInclusionSettingFor([p,c],L.get("name"),L.get("in"))){t.parameters=t.parameters||{};const V=Sa(L,t.parameters);(!V||V&&V.size===0)&&(t.parameters[L.get("name")]="")}})),t.contextUrl=Ao()(n.url()).toString(),k&&k.operationId?t.operationId=k.operationId:k&&p&&c&&(t.operationId=e.opId(k,p,c)),n.isOAS3()){const L=`${p}:${c}`;t.server=o.selectedServer(L)||o.selectedServer();const V=o.serverVariables({server:t.server,namespace:L}).toJS(),Q=o.serverVariables({server:t.server}).toJS();t.serverVariables=Object.keys(V).length?V:Q,t.requestContentType=o.requestContentType(p,c),t.responseContentType=o.responseContentType(p,c)||"*/*";const J=o.requestBodyValue(p,c),re=o.requestBodyInclusionSetting(p,c);J&&J.toJS?t.requestBody=J.map((me=>H.Map.isMap(me)?me.get("value"):me)).filter(((me,le)=>(Array.isArray(me)?me.length!==0:!Wa(me))||re.get(le))).toJS():t.requestBody=J}let P=Object.assign({},t);P=e.buildRequest(P),r.setRequest(t.pathName,t.method,P),t.requestInterceptor=async L=>{let V=await E.apply(void 0,[L]),Q=Object.assign({},V);return r.setMutatedRequest(t.pathName,t.method,Q),V},t.responseInterceptor=x;const R=Date.now();return e.execute(t).then((L=>{L.duration=Date.now()-R,r.setResponse(t.pathName,t.method,L)})).catch((L=>{L.message==="Failed to fetch"&&(L.name="",L.message=`**Failed to fetch.**
**Possible Reasons:**
- CORS
- Network Failure
- URL scheme must be "http" or "https" for CORS request.`),r.setResponse(t.pathName,t.method,{error:!0,err:L})}))},Yg=({path:t,method:e,...r}={})=>n=>{let{fn:{fetch:a},specSelectors:o,specActions:p}=n,c=o.specJsonWithResolvedSubtrees().toJS(),d=o.operationScheme(t,e),{requestContentType:E,responseContentType:x}=o.contentTypeValues([t,e]).toJS(),k=/xml/i.test(E),P=o.parameterValues([t,e],k).toJS();return p.executeRequest({...r,fetch:a,spec:c,pathName:t,method:e,parameters:P,requestContentType:E,scheme:d,responseContentType:x})};function Xg(t,e){return{type:Ap,payload:{path:t,method:e}}}function _u(t,e){return{type:Pl,payload:{path:t,method:e}}}function Ou(t,e,r){return{type:xu,payload:{scheme:t,path:e,method:r}}}const Qg={[wa]:(t,e)=>typeof e.payload=="string"?t.set("spec",e.payload):t,[fo]:(t,e)=>t.set("url",e.payload+""),[jl]:(t,e)=>t.set("json",nn(e.payload)),[Cp]:(t,e)=>t.setIn(["resolved"],nn(e.payload)),[Pi]:(t,e)=>{const{value:r,path:n}=e.payload;return t.setIn(["resolvedSubtrees",...n],nn(r))},[Kn]:(t,{payload:e})=>{let{path:r,paramName:n,paramIn:a,param:o,value:p,isXml:c}=e,d=o?sa(o):`${a}.${n}`;const E=c?"value_xml":"value";return t.setIn(["meta","paths",...r,"parameters",d,E],(0,H.fromJS)(p))},[yc]:(t,{payload:e})=>{let{pathMethod:r,paramName:n,paramIn:a,includeEmptyValue:o}=e;if(!n||!a)return console.warn("Warning: UPDATE_EMPTY_PARAM_INCLUSION could not generate a paramKey."),t;const p=`${a}.${n}`;return t.setIn(["meta","paths",...r,"parameter_inclusions",p],o)},[Ds]:(t,{payload:{pathMethod:e,isOAS3:r}})=>{const n=li(t).getIn(["paths",...e]),a=Rh(t,e).toJS();return t.updateIn(["meta","paths",...e,"parameters"],(0,H.fromJS)({}),(o=>n.get("parameters",(0,H.List)()).reduce(((p,c)=>{const d=Sa(c,a),E=Mh(t,e,c.get("name"),c.get("in")),x=((k,P,{isOAS3:R=!1,bypassRequiredCheck:L=!1}={})=>{let V=k.get("required"),{schema:Q,parameterContentMediaType:J}=sr(k,{isOAS3:R});return Rr(P,Q,V,L,J,R)})(c,d,{bypassRequiredCheck:E,isOAS3:r});return p.setIn([sa(c),"errors"],(0,H.fromJS)(x))}),o)))},[Zi]:(t,{payload:{pathMethod:e}})=>t.updateIn(["meta","paths",...e,"parameters"],(0,H.fromJS)([]),(r=>r.map((n=>n.set("errors",(0,H.fromJS)([])))))),[Su]:(t,{payload:{res:e,path:r,method:n}})=>{let a;a=e.error?Object.assign({error:!0,name:e.err.name,message:e.err.message,statusCode:e.err.statusCode},e.err.response):e,a.headers=a.headers||{};let o=t.setIn(["responses",r,n],nn(a));return Qe.Blob&&a.data instanceof Qe.Blob&&(o=o.setIn(["responses",r,n,"text"],a.data)),o},[kp]:(t,{payload:{req:e,path:r,method:n}})=>t.setIn(["requests",r,n],nn(e)),[vc]:(t,{payload:{req:e,path:r,method:n}})=>t.setIn(["mutatedRequests",r,n],nn(e)),[bc]:(t,{payload:{path:e,value:r,key:n}})=>{let a=["paths",...e],o=["meta","paths",...e];return t.getIn(["json",...a])||t.getIn(["resolved",...a])||t.getIn(["resolvedSubtrees",...a])?t.setIn([...o,n],(0,H.fromJS)(r)):t},[Ap]:(t,{payload:{path:e,method:r}})=>t.deleteIn(["responses",e,r]),[Pl]:(t,{payload:{path:e,method:r}})=>t.deleteIn(["requests",e,r]),[xu]:(t,{payload:{scheme:e,path:r,method:n}})=>r&&n?t.setIn(["scheme",r,n],e):r||n?void 0:t.setIn(["scheme","_defaultScheme"],e)},Gn=(t,{specActions:e})=>(...r)=>{t(...r),e.parseToJson(...r)},f0=(t,{specActions:e})=>(...r)=>{t(...r),e.invalidateResolvedSubtreeCache();const[n]=r,a=Cn()(n,["paths"])||{};Object.keys(a).forEach((o=>{const p=Cn()(a,[o]);Ai()(p)&&p.$ref&&e.requestResolvedSubtree(["paths",o])})),e.requestResolvedSubtree(["components","securitySchemes"])},Zg=(t,{specActions:e})=>r=>(e.logRequest(r),t(r)),m0=(t,{specSelectors:e})=>r=>t(r,e.isOAS3()),ey=()=>({statePlugins:{spec:{wrapActions:{...z},reducers:{...Qg},actions:{...M},selectors:{...j}}}});var ty=(function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var o in a)a.hasOwnProperty(o)&&(n[o]=a[o])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}})(),g0=Object.prototype.hasOwnProperty;function Bo(t,e){return g0.call(t,e)}function Pp(t){if(Array.isArray(t)){for(var e=new Array(t.length),r=0;r<e.length;r++)e[r]=""+r;return e}if(Object.keys)return Object.keys(t);var n=[];for(var a in t)Bo(t,a)&&n.push(a);return n}function pa(t){switch(typeof t){case"object":return JSON.parse(JSON.stringify(t));case"undefined":return null;default:return t}}function ku(t){for(var e,r=0,n=t.length;r<n;){if(!((e=t.charCodeAt(r))>=48&&e<=57))return!1;r++}return!0}function Xo(t){return t.indexOf("/")===-1&&t.indexOf("~")===-1?t:t.replace(/~/g,"~0").replace(/\//g,"~1")}function Np(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}function Tp(t){if(t===void 0)return!0;if(t){if(Array.isArray(t)){for(var e=0,r=t.length;e<r;e++)if(Tp(t[e]))return!0}else if(typeof t=="object"){for(var n=Pp(t),a=n.length,o=0;o<a;o++)if(Tp(t[n[o]]))return!0}}return!1}function qh(t,e){var r=[t];for(var n in e){var a=typeof e[n]=="object"?JSON.stringify(e[n],null,2):e[n];a!==void 0&&r.push(n+": "+a)}return r.join(`
`)}var ry=(function(t){function e(r,n,a,o,p){var c=this.constructor,d=t.call(this,qh(r,{name:n,index:a,operation:o,tree:p}))||this;return d.name=n,d.index=a,d.operation=o,d.tree=p,Object.setPrototypeOf(d,c.prototype),d.message=qh(r,{name:n,index:a,operation:o,tree:p}),d}return ty(e,t),e})(Error),zn=ry,ny=pa,Sc={add:function(t,e,r){return t[e]=this.value,{newDocument:r}},remove:function(t,e,r){var n=t[e];return delete t[e],{newDocument:r,removed:n}},replace:function(t,e,r){var n=t[e];return t[e]=this.value,{newDocument:r,removed:n}},move:function(t,e,r){var n=Ml(r,this.path);n&&(n=pa(n));var a=Rl(r,{op:"remove",path:this.from}).removed;return Rl(r,{op:"add",path:this.path,value:a}),{newDocument:r,removed:n}},copy:function(t,e,r){var n=Ml(r,this.from);return Rl(r,{op:"add",path:this.path,value:pa(n)}),{newDocument:r}},test:function(t,e,r){return{newDocument:r,test:xc(t[e],this.value)}},_get:function(t,e,r){return this.value=t[e],{newDocument:r}}},Uh={add:function(t,e,r){return ku(e)?t.splice(e,0,this.value):t[e]=this.value,{newDocument:r,index:e}},remove:function(t,e,r){return{newDocument:r,removed:t.splice(e,1)[0]}},replace:function(t,e,r){var n=t[e];return t[e]=this.value,{newDocument:r,removed:n}},move:Sc.move,copy:Sc.copy,test:Sc.test,_get:Sc._get};function Ml(t,e){if(e=="")return t;var r={op:"_get",path:e};return Rl(t,r),r.value}function Rl(t,e,r,n,a,o){if(r===void 0&&(r=!1),n===void 0&&(n=!0),a===void 0&&(a=!0),o===void 0&&(o=0),r&&(typeof r=="function"?r(e,0,t,e.path):Au(e,0)),e.path===""){var p={newDocument:t};if(e.op==="add")return p.newDocument=e.value,p;if(e.op==="replace")return p.newDocument=e.value,p.removed=t,p;if(e.op==="move"||e.op==="copy")return p.newDocument=Ml(t,e.from),e.op==="move"&&(p.removed=t),p;if(e.op==="test"){if(p.test=xc(t,e.value),p.test===!1)throw new zn("Test operation failed","TEST_OPERATION_FAILED",o,e,t);return p.newDocument=t,p}if(e.op==="remove")return p.removed=t,p.newDocument=null,p;if(e.op==="_get")return e.value=t,p;if(r)throw new zn("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",o,e,t);return p}n||(t=pa(t));var c=(e.path||"").split("/"),d=t,E=1,x=c.length,k=void 0,P=void 0,R=void 0;for(R=typeof r=="function"?r:Au;;){if((P=c[E])&&P.indexOf("~")!=-1&&(P=Np(P)),a&&(P=="__proto__"||P=="prototype"&&E>0&&c[E-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&&k===void 0&&(d[P]===void 0?k=c.slice(0,E).join("/"):E==x-1&&(k=e.path),k!==void 0&&R(e,0,t,k)),E++,Array.isArray(d)){if(P==="-")P=d.length;else{if(r&&!ku(P))throw new zn("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",o,e,t);ku(P)&&(P=~~P)}if(E>=x){if(r&&e.op==="add"&&P>d.length)throw new zn("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",o,e,t);if((p=Uh[e.op].call(e,d,P,t)).test===!1)throw new zn("Test operation failed","TEST_OPERATION_FAILED",o,e,t);return p}}else if(E>=x){if((p=Sc[e.op].call(e,d,P,t)).test===!1)throw new zn("Test operation failed","TEST_OPERATION_FAILED",o,e,t);return p}if(d=d[P],r&&E<x&&(!d||typeof d!="object"))throw new zn("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",o,e,t)}}function es(t,e,r,n,a){if(n===void 0&&(n=!0),a===void 0&&(a=!0),r&&!Array.isArray(e))throw new zn("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");n||(t=pa(t));for(var o=new Array(e.length),p=0,c=e.length;p<c;p++)o[p]=Rl(t,e[p],r,!0,a,p),t=o[p].newDocument;return o.newDocument=t,o}function ay(t,e,r){var n=Rl(t,e);if(n.test===!1)throw new zn("Test operation failed","TEST_OPERATION_FAILED",r,e,t);return n.newDocument}function Au(t,e,r,n){if(typeof t!="object"||t===null||Array.isArray(t))throw new zn("Operation is not an object","OPERATION_NOT_AN_OBJECT",e,t,r);if(!Sc[t.op])throw new zn("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",e,t,r);if(typeof t.path!="string")throw new zn("Operation `path` property is not a string","OPERATION_PATH_INVALID",e,t,r);if(t.path.indexOf("/")!==0&&t.path.length>0)throw new zn('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",e,t,r);if((t.op==="move"||t.op==="copy")&&typeof t.from!="string")throw new zn("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",e,t,r);if((t.op==="add"||t.op==="replace"||t.op==="test")&&t.value===void 0)throw new zn("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",e,t,r);if((t.op==="add"||t.op==="replace"||t.op==="test")&&Tp(t.value))throw new zn("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",e,t,r);if(r){if(t.op=="add"){var a=t.path.split("/").length,o=n.split("/").length;if(a!==o+1&&a!==o)throw new zn("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",e,t,r)}else if(t.op==="replace"||t.op==="remove"||t.op==="_get"){if(t.path!==n)throw new zn("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",e,t,r)}else if(t.op==="move"||t.op==="copy"){var p=Ip([{op:"_get",path:t.from,value:void 0}],r);if(p&&p.name==="OPERATION_PATH_UNRESOLVABLE")throw new zn("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",e,t,r)}}}function Ip(t,e,r){try{if(!Array.isArray(t))throw new zn("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(e)es(pa(e),pa(t),r||!0);else{r=r||Au;for(var n=0;n<t.length;n++)r(t[n],n,e,void 0)}}catch(a){if(a instanceof zn)return a;throw a}}function xc(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){var r,n,a,o=Array.isArray(t),p=Array.isArray(e);if(o&&p){if((n=t.length)!=e.length)return!1;for(r=n;r--!=0;)if(!xc(t[r],e[r]))return!1;return!0}if(o!=p)return!1;var c=Object.keys(t);if((n=c.length)!==Object.keys(e).length)return!1;for(r=n;r--!=0;)if(!e.hasOwnProperty(c[r]))return!1;for(r=n;r--!=0;)if(!xc(t[a=c[r]],e[a]))return!1;return!0}return t!=t&&e!=e}var Cu=new WeakMap,oy=function(e){this.observers=new Map,this.obj=e},zh=function(e,r){this.callback=e,this.observer=r};function y0(t,e){e.unobserve()}function Mp(t,e){var r,n=(function(d){return Cu.get(d)})(t);if(n){var a=(function(d,E){return d.observers.get(E)})(n,e);r=a&&a.observer}else n=new oy(t),Cu.set(t,n);if(r)return r;if(r={},n.value=pa(t),e){r.callback=e,r.next=null;var o=function(){_f(r)},p=function(){clearTimeout(r.next),r.next=setTimeout(o)};typeof window<"u"&&(window.addEventListener("mouseup",p),window.addEventListener("keyup",p),window.addEventListener("mousedown",p),window.addEventListener("keydown",p),window.addEventListener("change",p))}return r.patches=[],r.object=t,r.unobserve=function(){_f(r),clearTimeout(r.next),(function(d,E){d.observers.delete(E.callback)})(n,r),typeof window<"u"&&(window.removeEventListener("mouseup",p),window.removeEventListener("keyup",p),window.removeEventListener("mousedown",p),window.removeEventListener("keydown",p),window.removeEventListener("change",p))},n.observers.set(e,new zh(e,r)),r}function _f(t,e){e===void 0&&(e=!1);var r=Cu.get(t.object);ju(r.value,t.object,t.patches,"",e),t.patches.length&&es(r.value,t.patches);var n=t.patches;return n.length>0&&(t.patches=[],t.callback&&t.callback(n)),n}function ju(t,e,r,n,a){if(e!==t){typeof e.toJSON=="function"&&(e=e.toJSON());for(var o=Pp(e),p=Pp(t),c=!1,d=p.length-1;d>=0;d--){var E=t[k=p[d]];if(!Bo(e,k)||e[k]===void 0&&E!==void 0&&Array.isArray(e)===!1)Array.isArray(t)===Array.isArray(e)?(a&&r.push({op:"test",path:n+"/"+Xo(k),value:pa(E)}),r.push({op:"remove",path:n+"/"+Xo(k)}),c=!0):(a&&r.push({op:"test",path:n,value:t}),r.push({op:"replace",path:n,value:e}));else{var x=e[k];typeof E=="object"&&E!=null&&typeof x=="object"&&x!=null&&Array.isArray(E)===Array.isArray(x)?ju(E,x,r,n+"/"+Xo(k),a):E!==x&&(a&&r.push({op:"test",path:n+"/"+Xo(k),value:pa(E)}),r.push({op:"replace",path:n+"/"+Xo(k),value:pa(x)}))}}if(c||o.length!=p.length)for(d=0;d<o.length;d++){var k;Bo(t,k=o[d])||e[k]===void 0||r.push({op:"add",path:n+"/"+Xo(k),value:pa(e[k])})}}}function i(t,e,r){r===void 0&&(r=!1);var n=[];return ju(t,e,n,"",r),n}Object.assign({},K,Y,{JsonPatchError:ry,deepClone:pa,escapePathComponent:Xo,unescapePathComponent:Np});var l=Be(14744),b=Be.n(l);const C={add:function(e,r){return{op:"add",path:e,value:r}},replace:ee,remove:function(e){return{op:"remove",path:e}},merge:function(e,r){return{type:"mutation",op:"merge",path:e,value:r}},mergeDeep:function(e,r){return{type:"mutation",op:"mergeDeep",path:e,value:r}},context:function(e,r){return{type:"context",path:e,value:r}},getIn:function(e,r){return r.reduce(((n,a)=>a!==void 0&&n?n[a]:n),e)},applyPatch:function(e,r,n){if(n=n||{},(r={...r,path:r.path&&$(r.path)}).op==="merge"){const a=rt(e,r.path);Object.assign(a,r.value),es(e,[ee(r.path,a)])}else if(r.op==="mergeDeep"){const a=rt(e,r.path),o=b()(a,r.value,{customMerge:p=>{if(p==="enum")return(c,d)=>Array.isArray(c)&&Array.isArray(d)?[...new Set([...c,...d])]:b()(c,d)}});e=es(e,[ee(r.path,o)]).newDocument}else if(r.op==="add"&&r.path===""&&lt(r.value))es(e,Object.keys(r.value).reduce(((a,o)=>(a.push({op:"add",path:`/${$(o)}`,value:r.value[o]}),a)),[]));else if(r.op==="replace"&&r.path===""){let{value:a}=r;n.allowMetaPatches&&r.meta&&Ze(r)&&(Array.isArray(r.value)||lt(r.value))&&(a={...a,...r.meta}),e=a}else if(es(e,[r]),n.allowMetaPatches&&r.meta&&Ze(r)&&(Array.isArray(r.value)||lt(r.value))){const a={...rt(e,r.path),...r.meta};es(e,[ee(r.path,a)])}return e},parentPathMatch:function(e,r){if(!Array.isArray(r))return!1;for(let n=0,a=r.length;n<a;n+=1)if(r[n]!==e[n])return!1;return!0},flatten:ot,fullyNormalizeArray:function(e){return st(ot(Ue(e)))},normalizeArray:Ue,isPromise:function(e){return lt(e)&&vt(e.then)},forEachNew:function(e,r){try{return ue(e,Me,r)}catch(n){return n}},forEachNewPrimitive:function(e,r){try{return ue(e,Ce,r)}catch(n){return n}},isJsonPatch:Lt,isContextPatch:function(e){return Le(e)&&e.type==="context"},isPatch:Le,isMutation:xt,isAdditiveMutation:Ze,isGenerator:function(e){return Object.prototype.toString.call(e)==="[object GeneratorFunction]"},isFunction:vt,isObject:lt,isError:function(e){return e instanceof Error}};function $(t){return Array.isArray(t)?t.length<1?"":`/${t.map((e=>(e+"").replace(/~/g,"~0").replace(/\//g,"~1"))).join("/")}`:t}function ee(t,e,r){return{op:"replace",path:t,value:e,meta:r}}function ue(t,e,r){return st(ot(t.filter(Ze).map((n=>e(n.value,r,n.path)))||[]))}function Ce(t,e,r){return r=r||[],Array.isArray(t)?t.map(((n,a)=>Ce(n,e,r.concat(a)))):lt(t)?Object.keys(t).map((n=>Ce(t[n],e,r.concat(n)))):e(t,r[r.length-1],r)}function Me(t,e,r){let n=[];if((r=r||[]).length>0){const a=e(t,r[r.length-1],r);a&&(n=n.concat(a))}if(Array.isArray(t)){const a=t.map(((o,p)=>Me(o,e,r.concat(p))));a&&(n=n.concat(a))}else if(lt(t)){const a=Object.keys(t).map((o=>Me(t[o],e,r.concat(o))));a&&(n=n.concat(a))}return n=ot(n),n}function Ue(t){return Array.isArray(t)?t:[t]}function ot(t){return[].concat(...t.map((e=>Array.isArray(e)?ot(e):e)))}function st(t){return t.filter((e=>e!==void 0))}function lt(t){return t&&typeof t=="object"}function vt(t){return t&&typeof t=="function"}function Lt(t){if(Le(t)){const{op:e}=t;return e==="add"||e==="remove"||e==="replace"}return!1}function xt(t){return Lt(t)||Le(t)&&t.type==="mutation"}function Ze(t){return xt(t)&&(t.op==="add"||t.op==="replace"||t.op==="merge"||t.op==="mergeDeep")}function Le(t){return t&&typeof t=="object"}function rt(t,e){try{return Ml(t,e)}catch(r){return console.error(r),{}}}var wt=Be(48675);const nr=class extends wt{constructor(e,r,n){if(super(e,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:a}=n;this.cause=a,a instanceof Error&&"stack"in a&&(this.stack=`${this.stack}
CAUSE: ${a.stack}`)}}};class Fr extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(nr,e)}constructor(e,r){if(super(e,r),this.name=this.constructor.name,typeof e=="string"&&(this.message=e),typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).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 Mt=Fr,xr=class extends Mt{constructor(e,r){if(super(e,r),r!=null&&typeof r=="object"){const{cause:n,...a}=r;Object.assign(this,a)}}};function Qr(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(r){return e.apply(this,arguments)};case 2:return function(r,n){return e.apply(this,arguments)};case 3:return function(r,n,a){return e.apply(this,arguments)};case 4:return function(r,n,a,o){return e.apply(this,arguments)};case 5:return function(r,n,a,o,p){return e.apply(this,arguments)};case 6:return function(r,n,a,o,p,c){return e.apply(this,arguments)};case 7:return function(r,n,a,o,p,c,d){return e.apply(this,arguments)};case 8:return function(r,n,a,o,p,c,d,E){return e.apply(this,arguments)};case 9:return function(r,n,a,o,p,c,d,E,x){return e.apply(this,arguments)};case 10:return function(r,n,a,o,p,c,d,E,x,k){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function sn(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function wr(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function _r(t){return function e(r){return arguments.length===0||wr(r)?e:t.apply(this,arguments)}}function Tr(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return wr(r)?e:_r((function(a){return t(r,a)}));default:return wr(r)&&wr(n)?e:wr(r)?_r((function(a){return t(a,n)})):wr(n)?_r((function(a){return t(r,a)})):t(r,n)}}}function ha(t){return function e(r,n,a){switch(arguments.length){case 0:return e;case 1:return wr(r)?e:Tr((function(o,p){return t(r,o,p)}));case 2:return wr(r)&&wr(n)?e:wr(r)?Tr((function(o,p){return t(o,n,p)})):wr(n)?Tr((function(o,p){return t(r,o,p)})):_r((function(o){return t(r,n,o)}));default:return wr(r)&&wr(n)&&wr(a)?e:wr(r)&&wr(n)?Tr((function(o,p){return t(o,p,a)})):wr(r)&&wr(a)?Tr((function(o,p){return t(o,n,p)})):wr(n)&&wr(a)?Tr((function(o,p){return t(r,o,p)})):wr(r)?_r((function(o){return t(o,n,a)})):wr(n)?_r((function(o){return t(r,o,a)})):wr(a)?_r((function(o){return t(r,n,o)})):t(r,n,a)}}}const Dl=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function Of(t){return Object.prototype.toString.call(t)==="[object String]"}const iy=_r((function(e){return!!Dl(e)||!!e&&typeof e=="object"&&!Of(e)&&(e.length===0||e.length>0&&e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1))}));var sy=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function _c(t,e,r){return function(a,o,p){if(iy(p))return t(a,o,p);if(p==null)return o;if(typeof p["fantasy-land/reduce"]=="function")return e(a,o,p,"fantasy-land/reduce");if(p[sy]!=null)return r(a,o,p[sy]());if(typeof p.next=="function")return r(a,o,p);if(typeof p.reduce=="function")return e(a,o,p,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ly(t,e,r){for(var n=0,a=r.length;n<a;){if((e=t["@@transducer/step"](e,r[n]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}const tE=Tr((function(e,r){return Qr(e.length,(function(){return e.apply(r,arguments)}))}));function sA(t,e,r){for(var n=r.next();!n.done;){if((e=t["@@transducer/step"](e,n.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function lA(t,e,r,n){return t["@@transducer/result"](r[n](tE(t["@@transducer/step"],t),e))}const v0=_c(ly,lA,sA);var cA=(function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,r){return this.f(e,r)},t})();function rE(t){return new cA(t)}var uA=ha((function(t,e,r){return v0(typeof t=="function"?rE(t):t,e,r)}));const Vh=uA;function b0(t,e){return function(){var r=arguments.length;if(r===0)return e();var n=arguments[r-1];return Dl(n)||typeof n[t]!="function"?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}var pA=ha(b0("slice",(function(e,r,n){return Array.prototype.slice.call(n,e,r)})));const kf=pA,hA=_r(b0("tail",kf(1,1/0)));function mo(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return Qr(arguments[0].length,Vh(sn,arguments[0],hA(arguments)))}const Jh=Tr((function(e,r){return r==null||r!=r?e:r})),Wh=Number.isInteger||function(e){return(e|0)===e};function cy(t,e){var r=t<0?e.length+t:t;return Of(e)?e.charAt(r):e[r]}const Af=Tr((function(e,r){if(r!=null)return Wh(e)?cy(e,r):r[e]})),uy=ha((function(e,r,n){return Jh(e,Af(r,n))}));var dA=_r((function(t){return cy(-1,t)}));const py=dA;function w0(t,e,r){return function(){for(var n=[],a=0,o=t,p=0,c=!1;p<e.length||a<arguments.length;){var d;p<e.length&&(!wr(e[p])||a>=arguments.length)?d=e[p]:(d=arguments[a],a+=1),n[p]=d,wr(d)?c=!0:o-=1,p+=1}return!c&&o<=0?r.apply(this,n):Qr(Math.max(0,o),w0(t,n,r))}}const ja=Tr((function(e,r){return e===1?_r(r):Qr(e,w0(e,[],r))})),E0=_r((function(e){return ja(e.length,e)}));function S0(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function nE(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function hy(t,e,r){for(var n=0,a=r.length;n<a;){if(t(e,r[n]))return!0;n+=1}return!1}function ts(t,e){return Object.prototype.hasOwnProperty.call(e,t)}const Cf=typeof Object.is=="function"?Object.is:function(e,r){return e===r?e!==0||1/e==1/r:e!=e&&r!=r};var aE=Object.prototype.toString;const oE=(function(){return aE.call(arguments)==="[object Arguments]"?function(e){return aE.call(e)==="[object Arguments]"}:function(e){return ts("callee",e)}})();var fA=!{toString:null}.propertyIsEnumerable("toString"),iE=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],sE=(function(){return arguments.propertyIsEnumerable("length")})(),mA=function(e,r){for(var n=0;n<e.length;){if(e[n]===r)return!0;n+=1}return!1},gA=_r(typeof Object.keys!="function"||sE?(function(e){if(Object(e)!==e)return[];var r,n,a=[],o=sE&&oE(e);for(r in e)!ts(r,e)||o&&r==="length"||(a[a.length]=r);if(fA)for(n=iE.length-1;n>=0;)ts(r=iE[n],e)&&!mA(a,r)&&(a[a.length]=r),n-=1;return a}):(function(e){return Object(e)!==e?[]:Object.keys(e)}));const Rp=gA,Fs=_r((function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function lE(t,e,r,n){var a=nE(t);function o(p,c){return x0(p,c,r.slice(),n.slice())}return!hy((function(p,c){return!hy(o,c,p)}),nE(e),a)}function x0(t,e,r,n){if(Cf(t,e))return!0;var a=Fs(t);if(a!==Fs(e))return!1;if(typeof t["fantasy-land/equals"]=="function"||typeof e["fantasy-land/equals"]=="function")return typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e)&&typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t);if(typeof t.equals=="function"||typeof e.equals=="function")return typeof t.equals=="function"&&t.equals(e)&&typeof e.equals=="function"&&e.equals(t);switch(a){case"Arguments":case"Array":case"Object":if(typeof t.constructor=="function"&&(function(k){var P=String(k).match(/^function (\w*)/);return P==null?"":P[1]})(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!Cf(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!Cf(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var o=r.length-1;o>=0;){if(r[o]===t)return n[o]===e;o-=1}switch(a){case"Map":return t.size===e.size&&lE(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&lE(t.values(),e.values(),r.concat([t]),n.concat([e]));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 p=Rp(t);if(p.length!==Rp(e).length)return!1;var c=r.concat([t]),d=n.concat([e]);for(o=p.length-1;o>=0;){var E=p[o];if(!ts(E,e)||!x0(e[E],t[E],c,d))return!1;o-=1}return!0}const Pu=Tr((function(e,r){return x0(e,r,[],[])}));function dy(t,e){return(function(n,a,o){var p,c;if(typeof n.indexOf=="function")switch(typeof a){case"number":if(a===0){for(p=1/a;o<n.length;){if((c=n[o])===0&&1/c===p)return o;o+=1}return-1}if(a!=a){for(;o<n.length;){if(typeof(c=n[o])=="number"&&c!=c)return o;o+=1}return-1}return n.indexOf(a,o);case"string":case"boolean":case"function":case"undefined":return n.indexOf(a,o);case"object":if(a===null)return n.indexOf(a,o)}for(;o<n.length;){if(Pu(n[o],a))return o;o+=1}return-1})(e,t,0)>=0}function fy(t,e){for(var r=0,n=e.length,a=Array(n);r<n;)a[r]=t(e[r]),r+=1;return a}function _0(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var jf=function(e){return(e<10?"0":"")+e};const yA=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+jf(e.getUTCMonth()+1)+"-"+jf(e.getUTCDate())+"T"+jf(e.getUTCHours())+":"+jf(e.getUTCMinutes())+":"+jf(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function cE(t){return function(){return!t.apply(this,arguments)}}function Pf(t,e,r){for(var n=0,a=r.length;n<a;)e=t(e,r[n]),n+=1;return e}function Nu(t,e,r){return function(){if(arguments.length===0)return r();var n=arguments[arguments.length-1];if(!Dl(n)){for(var a=0;a<t.length;){if(typeof n[t[a]]=="function")return n[t[a]].apply(n,Array.prototype.slice.call(arguments,0,-1));a+=1}if((function(p){return p!=null&&typeof p["@@transducer/step"]=="function"})(n))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}function my(t){return Object.prototype.toString.call(t)==="[object Object]"}const Tu=function(){return this.xf["@@transducer/init"]()},Nf=function(t){return this.xf["@@transducer/result"](t)};var vA=(function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=Tu,t.prototype["@@transducer/result"]=Nf,t.prototype["@@transducer/step"]=function(e,r){return this.f(r)?this.xf["@@transducer/step"](e,r):e},t})();function bA(t){return function(e){return new vA(t,e)}}var wA=Tr(Nu(["fantasy-land/filter","filter"],bA,(function(t,e){return my(e)?Pf((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},Rp(e)):(function(n,a){for(var o=0,p=a.length,c=[];o<p;)n(a[o])&&(c[c.length]=a[o]),o+=1;return c})(t,e)})));const EA=wA,SA=Tr((function(e,r){return EA(cE(e),r)}));function uE(t,e){var r=function(p){var c=e.concat([t]);return dy(p,c)?"<Circular>":uE(p,c)},n=function(o,p){return fy((function(c){return _0(c)+": "+r(o[c])}),p.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+fy(r,t).join(", ")+"))";case"[object Array]":return"["+fy(r,t).concat(n(t,SA((function(o){return/^\d+$/.test(o)}),Rp(t)))).join(", ")+"]";case"[object Boolean]":return typeof t=="object"?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):_0(yA(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return typeof t=="object"?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return typeof t=="object"?"new String("+r(t.valueOf())+")":_0(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var a=t.toString();if(a!=="[object Object]")return a}return"{"+n(t,Rp(t)).join(", ")+"}"}}const Tf=_r((function(e){return uE(e,[])})),O0=Tr((function(e,r){return ja(e+1,(function(){var n=arguments[e];if(n!=null&&S0(n[r]))return n[r].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Tf(n)+' does not have a method named "'+r+'"')}))})),pE=O0(1,"split");function xA(t,e){for(var r=e.length-1;r>=0&&t(e[r]);)r-=1;return kf(0,r+1,e)}var _A=(function(){function t(e,r){this.f=e,this.retained=[],this.xf=r}return t.prototype["@@transducer/init"]=Tu,t.prototype["@@transducer/result"]=function(e){return this.retained=null,this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,r){return this.f(r)?this.retain(e,r):this.flush(e,r)},t.prototype.flush=function(e,r){return e=v0(this.xf,e,this.retained),this.retained=[],this.xf["@@transducer/step"](e,r)},t.prototype.retain=function(e,r){return this.retained.push(r),e},t})();function OA(t){return function(e){return new _A(t,e)}}const kA=Tr(Nu([],OA,xA)),hE=O0(1,"join"),gy=_r((function(e){return ja(e.length,(function(r,n){var a=Array.prototype.slice.call(arguments,0);return a[0]=n,a[1]=r,e.apply(this,a)}))}))(Tr(dy)),AA=E0((function(t,e){return mo(pE(""),kA(gy(t)),hE(""))(e)}));function CA(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function jA(t,e,r,n){return r[n](t,e)}const PA=_c(Pf,jA,CA);var NA=(function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=Tu,t.prototype["@@transducer/result"]=Nf,t.prototype["@@transducer/step"]=function(e,r){return this.xf["@@transducer/step"](e,this.f(r))},t})();const yy=Tr(Nu(["fantasy-land/map","map"],(function(e){return function(r){return new NA(e,r)}}),(function(e,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return ja(r.length,(function(){return e.call(this,r.apply(this,arguments))}));case"[object Object]":return Pf((function(n,a){return n[a]=e(r[a]),n}),{},Rp(r));default:return fy(e,r)}}))),TA=Tr((function(e,r){return typeof r["fantasy-land/ap"]=="function"?r["fantasy-land/ap"](e):typeof e.ap=="function"?e.ap(r):typeof e=="function"?function(n){return e(n)(r(n))}:PA((function(n,a){return(function(p,c){var d;c=c||[];var E=(p=p||[]).length,x=c.length,k=[];for(d=0;d<E;)k[k.length]=p[d],d+=1;for(d=0;d<x;)k[k.length]=c[d],d+=1;return k})(n,yy(a,r))}),[],e)})),IA=Tr((function(e,r){var n=ja(e,r);return ja(e,(function(){return Pf(TA,yy(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))})),k0=_r((function(e){return IA(e.length,e)})),If=k0(_r((function(e){return!e}))),jr=_r((function(e){return function(){return e}})),vy=jr(void 0),Iu=Pu(vy()),dE=If(Iu),fE=Tr((function(e,r){if(e===r)return r;function n(d,E){if(d>E!=E>d)return E>d?E:d}var a=n(e,r);if(a!==void 0)return a;var o=n(typeof e,typeof r);if(o!==void 0)return o===typeof e?e:r;var p=Tf(e),c=n(p,Tf(r));return c!==void 0&&c===p?e:r}));var MA=Tr((function(e,r){return yy(Af(e),r)}));const mE=MA,RA=_r((function(e){return ja(Vh(fE,0,mE("length",e)),(function(){for(var r=0,n=e.length;r<n;){if(e[r].apply(this,arguments))return!0;r+=1}return!1}))}));var gE=function(t,e){switch(arguments.length){case 0:return gE;case 1:return function r(n){return arguments.length===0?r:Cf(t,n)};default:return Cf(t,e)}};const Dp=gE,DA=ja(1,mo(Fs,Dp("GeneratorFunction"))),FA=ja(1,mo(Fs,Dp("AsyncFunction"))),Fp=RA([mo(Fs,Dp("Function")),DA,FA]);var LA=ha((function(e,r,n){return n.replace(e,r)}));const yE=LA,$A=ja(1,mo(Fs,Dp("RegExp"))),BA=ha((function(e,r,n){return e(n)?r(n):n})),Lp=ja(1,mo(Fs,Dp("String"))),qA=BA(Lp,yE(/[.*+?^${}()|[\]\\-]/g,"\\$&"));var vE=function(e,r){if(typeof e!="string"&&!(e instanceof String))throw TypeError("`".concat(r,"` must be a string"))},UA=ja(3,function(e,r,n){(function(p,c,d){if(d==null||p==null||c==null)throw TypeError("Input values must not be `null` or `undefined`")})(e,r,n),vE(n,"str"),vE(r,"replaceValue"),(function(p){if(!(typeof p=="string"||p instanceof String||p instanceof RegExp))throw TypeError("`searchValue` must be a string or an regexp")})(e);var a=new RegExp($A(e)?e:qA(e),"g");return yE(a,r,n)}),zA=O0(2,"replaceAll");const VA=Fp(String.prototype.replaceAll)?zA:UA,A0=()=>{var t,e;return/^win/.test((t=(e=globalThis.process)===null||e===void 0?void 0:e.platform)!==null&&t!==void 0?t:"")},C0=t=>{try{const e=new URL(t);return AA(":",e.protocol)}catch{return}},bE=(mo(C0,dE),t=>{if(globalThis.window!==void 0)return!1;const e=C0(t);return Iu(e)||e==="file"||/^[a-zA-Z]$/.test(e)}),j0=t=>{const e=C0(t);return e==="http"||e==="https"},wE=(t,e)=>{const r=[/%23/g,"#",/%24/g,"$",/%26/g,"&",/%2C/g,",",/%40/g,"@"],n=uy(!1,"keepFileProtocol",e),a=uy(A0,"isWindows",e);let o=decodeURI(t);for(let c=0;c<r.length;c+=2)o=o.replace(r[c],r[c+1]);let p=o.substring(0,7).toLowerCase()==="file://";return p&&(o=o[7]==="/"?o.substring(8):o.substring(7),a()&&o[1]==="/"&&(o=`${o[0]}:${o.substring(1)}`),n?o=`file:///${o}`:(p=!1,o=a()?o:`/${o}`)),a()&&!p&&(o=VA("/","\\",o),o.substring(1,3)===":\\"&&(o=o[0].toUpperCase()+o.substring(1))),o},EE=t=>{const e=t.indexOf("#");return e!==-1?t.substring(e):"#"},In=t=>{const e=t.indexOf("#");let r=t;return e>=0&&(r=t.substring(0,e)),r},P0=()=>{var t,e;if(globalThis.window!==void 0)return In(globalThis.location.href);const r=(t=(e=globalThis.process)===null||e===void 0?void 0:e.cwd())!==null&&t!==void 0?t:"/",n=py(r);return["/","\\"].includes(n)?r:r+(A0()?"\\":"/")},go=(t,e)=>{const r=new URL(e,new URL(t,"resolve://"));if(r.protocol==="resolve:"){const{pathname:n,search:a,hash:o}=r;return n+a+o}return r.toString()},by=t=>{if(bE(t))return(e=>{const r=[/\?/g,"%3F",/#/g,"%23"];let n=e;A0()&&(n=n.replace(/\\/g,"/")),n=encodeURI(n);for(let a=0;a<r.length;a+=2)n=n.replace(r[a],r[a+1]);return n})(wE(t));try{return new URL(t).toString()}catch{return encodeURI(decodeURI(t)).replace(/%5B/g,"[").replace(/%5D/g,"]")}},Fl=t=>bE(t)?wE(t):decodeURI(t);var JA=Be(8628),Yn=Be.n(JA);const SE=t=>Object.prototype.toString.call(t),N0=t=>ArrayBuffer.isView(t)&&!(t instanceof DataView),xE=Array.isArray,_E=t=>{const e=SE(t);return e==="[object Boolean]"||e==="[object Number]"||e==="[object String]"},WA=Object.getOwnPropertyDescriptor,HA=Object.prototype.propertyIsEnumerable,KA=Object.getOwnPropertySymbols,wy=Object.prototype.hasOwnProperty,OE=t=>t==="__proto__"||t==="constructor"||t==="prototype";function Ey(t,e,r){e==="__proto__"?Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!0,configurable:!0}):t[e]=r}function kE(t,e){if(e!==void 0&&t>e)throw new RangeError(`neotraverse: maximum traversal depth (${e}) exceeded`)}function T0(t){const e=Object.keys(t),r=KA(t);for(let n=0;n<r.length;n++)HA.call(t,r[n])&&e.push(r[n]);return e}function GA(t,e){var r;return!(!((r=WA(t,e))===null||r===void 0)&&r.writable)}function AE(t,e){if(typeof t=="object"&&t!==null){let r;if(xE(t))r=[];else{if(N0(t))return t.slice();if(_E(t))return Object(t);{const a=SE(t);r=a==="[object Date]"&&typeof t.getTime=="function"?new Date(t.getTime()):a==="[object RegExp]"&&typeof t.source=="string"?new RegExp(t):a==="[object Error]"?{message:t.message}:Object.create(Object.getPrototypeOf(t))}}const n=e.includeSymbols?T0:Object.keys;for(const a of n(t))Ey(r,a,t[a]);return r}return t}const CE={includeSymbols:!1,immutable:!1};function jE(t,e,r=CE){const n=[],a=[];let o=!0;const p=r.includeSymbols?T0:Object.keys,c=!!r.immutable,d=r.maxDepth;return(function E(x){kE(n.length,d);const k=c?AE(x,r):x,P={};let R=!0;const L={node:k,node_:x,path:n.slice(),parent:a[a.length-1],parents:a,key:n[n.length-1],isRoot:n.length===0,level:n.length,circular:void 0,isLeaf:!1,notLeaf:!0,notRoot:!0,isFirst:!1,isLast:!1,update:function(re,me=!1){L.isRoot||Ey(L.parent.node,L.key,re),L.node=re,me&&(R=!1)},delete:function(re){delete L.parent.node[L.key],re&&(R=!1)},remove:function(re){xE(L.parent.node)?L.parent.node.splice(L.key,1):delete L.parent.node[L.key],re&&(R=!1)},keys:null,before:function(re){P.before=re},after:function(re){P.after=re},pre:function(re){P.pre=re},post:function(re){P.post=re},stop:function(){o=!1},block:function(){R=!1}};if(!o)return L;function V(){if(typeof L.node=="object"&&L.node!==null){L.keys&&L.node_===L.node||(L.keys=p(L.node)),L.isLeaf=L.keys.length===0;for(let re=0;re<a.length;re++)if(a[re].node_===x){L.circular=a[re];break}}else L.isLeaf=!0,L.keys=null;L.notLeaf=!L.isLeaf,L.notRoot=!L.isRoot}V();const Q=e.call(L,L.node);if(Q!==void 0&&L.update&&L.update(Q),P.before&&P.before.call(L,L.node),!R)return L;if(typeof L.node=="object"&&L.node!==null&&!L.circular){var J;a.push(L),V();const re=(J=L.keys)!==null&&J!==void 0?J:[];for(let me=0;me<re.length;me++){const le=re[me];n.push(le),P.pre&&P.pre.call(L,L.node[le],le);const ve=E(L.node[le]);c&&wy.call(L.node,le)&&!GA(L.node,le)&&Ey(L.node,le,ve.node),ve.isLast=me===re.length-1,ve.isFirst=me===0,P.post&&P.post.call(L,ve),n.pop()}a.pop()}return P.after&&P.after.call(L,L.node),L})(t).node}var Ll=class{constructor(t,e=CE){this._value=t,this._options=e}get(t){let e=this._value;for(let r=0;e&&r<t.length;r++){const n=t[r];if(!wy.call(e,n)||!this._options.includeSymbols&&typeof n=="symbol")return;e=e[n]}return e}has(t){let e=this._value;for(let r=0;e&&r<t.length;r++){const n=t[r];if(!wy.call(e,n)||!this._options.includeSymbols&&typeof n=="symbol")return!1;e=e[n]}return!0}set(t,e){let r=this._value,n=0;for(n=0;n<t.length-1;n++){const a=t[n];if(OE(a))return e;wy.call(r,a)||(r[a]={}),r=r[a]}return OE(t[n])||(r[t[n]]=e),e}map(t){return jE(this._value,t,{immutable:!0,includeSymbols:!!this._options.includeSymbols,maxDepth:this._options.maxDepth})}forEach(t){return this._value=jE(this._value,t,this._options),this._value}reduce(t,e){const r=arguments.length===1;let n=r?this._value:e;return this.forEach((function(a){this.isRoot&&r||(n=t.call(this,n,a))})),n}paths(){const t=[];return this.forEach((function(){t.push(this.path)})),t}nodes(){const t=[];return this.forEach((function(){t.push(this.node)})),t}clone(){const t=[],e=[],r=this._options,n=r.maxDepth;return N0(this._value)?this._value.slice():(function a(o){kE(t.length,n);for(let p=0;p<t.length;p++)if(t[p]===o)return e[p];if(typeof o=="object"&&o!==null){const p=AE(o,r);if(N0(o)||_E(o))return p;t.push(o),e.push(p);const c=r.includeSymbols?T0:Object.keys;for(const d of c(o))Ey(p,d,a(o[d]));return t.pop(),e.pop(),p}return o})(this._value)}};const $l=(t,e)=>new Ll(t,e);$l.get=(t,e,r)=>new Ll(t,r).get(e),$l.set=(t,e,r,n)=>new Ll(t,n).set(e,r),$l.has=(t,e,r)=>new Ll(t,r).has(e),$l.map=(t,e,r)=>new Ll(t,r).map(e),$l.forEach=(t,e,r)=>new Ll(t,r).forEach(e),$l.reduce=(t,e,r,n)=>new Ll(t,n).reduce(e,r),$l.paths=(t,e)=>new Ll(t,e).paths(),$l.nodes=(t,e)=>new Ll(t,e).nodes(),$l.clone=(t,e)=>new Ll(t,e).clone();const PE="application/json, application/yaml",Sy="https://swagger.io",YA=Object.freeze({url:"/"}),NE=3e3,XA=["properties"],QA=["properties"],ZA=["definitions","parameters","responses","securityDefinitions","components/schemas","components/responses","components/parameters","components/securitySchemes"],eC=["schema/example","items/example"];function TE(t){const e=t[t.length-1],r=t[t.length-2],n=t.join("/");return XA.indexOf(e)>-1&&QA.indexOf(r)===-1||ZA.indexOf(n)>-1||eC.some((a=>n.indexOf(a)>-1))}function I0(t,e){const[r,n]=t.split("#"),a=e??"",o=r??"";let p;if(j0(a))p=go(a,o);else{const c=go(Sy,a),d=go(c,o).replace(Sy,"");p=o.startsWith("/")?d:d.substring(1)}return n?`${p}#${n}`:p}const tC=/^([a-z]+:\/\/|\/\/)/i;class Hh extends xr{}const Oc={},IE=new WeakMap,rC=[t=>t[0]==="paths"&&t[3]==="responses"&&t[5]==="examples",t=>t[0]==="paths"&&t[3]==="responses"&&t[5]==="content"&&t[7]==="example",t=>t[0]==="paths"&&t[3]==="responses"&&t[5]==="content"&&t[7]==="examples"&&t[9]==="value",t=>t[0]==="paths"&&t[3]==="requestBody"&&t[4]==="content"&&t[6]==="example",t=>t[0]==="paths"&&t[3]==="requestBody"&&t[4]==="content"&&t[6]==="examples"&&t[8]==="value",t=>t[0]==="paths"&&t[2]==="parameters"&&t[4]==="example",t=>t[0]==="paths"&&t[3]==="parameters"&&t[5]==="example",t=>t[0]==="paths"&&t[2]==="parameters"&&t[4]==="examples"&&t[6]==="value",t=>t[0]==="paths"&&t[3]==="parameters"&&t[5]==="examples"&&t[7]==="value",t=>t[0]==="paths"&&t[2]==="parameters"&&t[4]==="content"&&t[6]==="example",t=>t[0]==="paths"&&t[2]==="parameters"&&t[4]==="content"&&t[6]==="examples"&&t[8]==="value",t=>t[0]==="paths"&&t[3]==="parameters"&&t[4]==="content"&&t[7]==="example",t=>t[0]==="paths"&&t[3]==="parameters"&&t[5]==="content"&&t[7]==="examples"&&t[9]==="value"],nC={key:"$ref",plugin:(t,e,r,n)=>{const a=n.getInstance(),o=r.slice(0,-1);if(TE(o)||(V=>rC.some((Q=>Q(V))))(o))return;const{baseDoc:p}=n.getContext(r);if(typeof t!="string")return new Hh("$ref: must be a string (JSON-Ref)",{$ref:t,baseDoc:p,fullPath:r});const c=FE(t),d=c[0],E=c[1]||"";let x,k,P;try{x=p||d?DE(d,p):null}catch(V){return M0(V,{pointer:E,$ref:t,basePath:x,fullPath:r})}if((function(Q,J,re,me){let le=IE.get(me);le||(le={},IE.set(me,le));const ve=(function(je){return je.length===0?"":`/${je.map(qE).join("/")}`})(re),be=`${J||"<specmap-base>"}#${Q}`,ce=ve.replace(/allOf\/\d+\/?/g,""),_e=me.contextTree.get([]).baseDoc;if(J===_e&&F0(ce,Q))return!0;let Ae="";if(re.some((Oe=>(Ae=`${Ae}/${qE(Oe)}`,le[Ae]&&le[Ae].some((je=>F0(je,be)||F0(be,je)))))))return!0;le[ce]=(le[ce]||[]).concat(be)})(E,x,o,n)&&!a.useCircularStructures){const V=I0(t,x);return t===V?null:C.replace(r,V)}if(x==null?(P=D0(E),k=n.get(P),k===void 0&&(k=new Hh(`Could not resolve reference: ${t}`,{pointer:E,$ref:t,baseDoc:p,fullPath:r}))):(k=LE(x,E),k=k.__value!=null?k.__value:k.catch((V=>{throw M0(V,{pointer:E,$ref:t,baseDoc:p,fullPath:r})}))),k instanceof Error)return[C.remove(r),k];const R=I0(t,x),L=C.replace(o,k,{$$ref:R});if(x&&x!==p)return[L,C.context(o,{baseDoc:x})];try{if(!(function(Q,J){const re=[Q];return J.path.reduce(((le,ve)=>(re.push(le[ve]),le[ve])),Q),me(J.value);function me(le){return C.isObject(le)&&(re.indexOf(le)>=0||Object.keys(le).some((ve=>me(le[ve]))))}})(n.state,L)||a.useCircularStructures)return L}catch{return null}}},ME=Object.assign(nC,{docCache:Oc,absoluteify:DE,clearCache:function(e){e!==void 0?delete Oc[e]:Object.keys(Oc).forEach((r=>{delete Oc[r]}))},JSONRefError:Hh,wrapError:M0,getDoc:$E,split:FE,extractFromDoc:LE,fetchJSON:function(e){return fetch(e,{headers:{Accept:PE},loadSpec:!0}).then((r=>r.text())).then((r=>Pe.load(r)))},extract:R0,jsonPointerToArray:D0,unescapeJsonPointerToken:BE}),RE=ME;function DE(t,e){if(!tC.test(t)){if(!e)throw new Hh(`Tried to resolve a relative URL, without having a basePath. path: '${t}' basePath: '${e}'`);return go(e,t)}return t}function M0(t,e){let r;return r=t&&t.response&&t.response.body?`${t.response.body.code} ${t.response.body.message}`:t.message,new Hh(`Could not resolve reference: ${r}`,{...e,cause:t})}function FE(t){return(t+"").split("#")}function LE(t,e){const r=Oc[t];if(r&&!C.isPromise(r))try{const n=R0(e,r);return Object.assign(Promise.resolve(n),{__value:n})}catch(n){return Promise.reject(n)}return $E(t).then((n=>R0(e,n)))}function $E(t){const e=Oc[t];return e?C.isPromise(e)?e:Promise.resolve(e):(Oc[t]=ME.fetchJSON(t).then((r=>(Oc[t]=r,r))),Oc[t])}function R0(t,e){const r=D0(t);if(r.length<1)return e;const n=C.getIn(e,r);if(n===void 0)throw new Hh(`Could not resolve pointer: ${t} does not exist in document`,{pointer:t});return n}function D0(t){if(typeof t!="string")throw new TypeError("Expected a string, got a "+typeof t);return t[0]==="/"&&(t=t.substr(1)),t===""?[]:t.split("/").map(BE)}function BE(t){return typeof t!="string"?t:new URLSearchParams(`=${t.replace(/~1/g,"/").replace(/~0/g,"~")}`).get("")}function qE(t){return new URLSearchParams([["",t.replace(/~/g,"~0").replace(/\//g,"~1")]]).toString().slice(1)}const aC=t=>!t||t==="/"||t==="#";function F0(t,e){if(aC(e))return!0;const r=t.charAt(e.length),n=e.slice(-1);return t.indexOf(e)===0&&(!r||r==="/"||r==="#")&&n!=="#"}const oC={key:"allOf",plugin:(t,e,r,n,a)=>{if(a.meta&&a.meta.$$ref)return;const o=r.slice(0,-1);if(TE(o))return;if(!Array.isArray(t)){const E=new TypeError("allOf must be an array");return E.fullPath=r,E}let p=!1,c=a.value;if(o.forEach((E=>{c&&(c=c[E])})),c={...c},Object.keys(c).length===0)return;delete c.allOf;const d=[];return d.push(n.replace(o,{})),t.forEach(((E,x)=>{if(!n.isObject(E)){if(p)return null;p=!0;const P=new TypeError("Elements in allOf must be objects");return P.fullPath=r,d.push(P)}d.push(n.mergeDeep(o,E));const k=(function(R,L,{specmap:V,getBaseUrlForNodePath:Q=re=>V.getContext([...L,...re]).baseDoc,targetKeys:J=["$ref","$$ref"]}={}){const re=[];return $l(R).forEach((function(){if(Yn()(J).call(J,this.key)&&typeof this.node=="string"){const le=this.path,ve=L.concat(this.path),be=I0(this.node,Q(le));re.push(V.replace(ve,be))}})),re})(E,r.slice(0,-1),{getBaseUrlForNodePath:P=>n.getContext([...r,x,...P]).baseDoc,specmap:n});d.push(...k)})),c.example&&d.push(n.remove([].concat(o,"example"))),d.push(n.mergeDeep(o,c)),c.$$ref||d.push(n.remove([].concat(o,"$$ref"))),d}},iC={key:"parameters",plugin:(t,e,r,n)=>{if(Array.isArray(t)&&t.length){const a=Object.assign([],t),o=r.slice(0,-1),p={...C.getIn(n.spec,o)};for(let c=0;c<t.length;c+=1){const d=t[c];try{a[c].default=n.parameterMacro(p,d)}catch(E){const x=new Error(E);return x.fullPath=r,x}}return C.replace(r,a)}return C.replace(r,t)}},sC={key:"properties",plugin:(t,e,r,n)=>{const a={...t};for(const o in t)try{a[o].default=n.modelPropertyMacro(a[o])}catch(p){const c=new Error(p);return c.fullPath=r,c}return C.replace(r,a)}};class lC{constructor(e){this.root=L0(e||{})}set(e,r){const n=this.getParent(e,!0);if(!n)return void xy(this.root,r,null);const a=e[e.length-1],{children:o}=n;o[a]?xy(o[a],r,n):o[a]=L0(r,n)}get(e){if((e=e||[]).length<1)return this.root.value;let r,n,a=this.root;for(let o=0;o<e.length&&(n=e[o],r=a.children,r[n]);o+=1)a=r[n];return a&&a.protoValue}getParent(e,r){return!e||e.length<1?null:e.length<2?this.root:e.slice(0,-1).reduce(((n,a)=>{if(!n)return n;const{children:o}=n;return!o[a]&&r&&(o[a]=L0(null,n)),o[a]}),this.root)}}function L0(t,e){return xy({children:{}},t,e)}function xy(t,e,r){return t.value=e||{},t.protoValue=r?{...r.protoValue,...t.value}:t.value,Object.keys(t.children).forEach((n=>{const a=t.children[n];t.children[n]=xy(a,a.value,t)})),t}const UE=()=>{};class cC{static getPluginName(e){return e.pluginName}static getPatchesOfType(e,r){return e.filter(r)}constructor(e){Object.assign(this,{spec:"",debugLevel:"info",plugins:[],pluginHistory:{},errors:[],mutations:[],promisedPatches:[],state:{},patches:[],context:{},contextTree:new lC,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:Object.assign(Object.create(this),C,{getInstance:()=>this}),allowMetaPatches:!1},e),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(C.isFunction),this.patches.push(C.add([],this.spec)),this.patches.push(C.context([],this.context)),this.updatePatches(this.patches)}debug(e,...r){this.debugLevel===e&&console.log(...r)}verbose(e,...r){this.debugLevel==="verbose"&&console.log(`[${e}] `,...r)}wrapPlugin(e,r){const{pathDiscriminator:n}=this;let a,o=null;return e[this.pluginProp]?(o=e,a=e[this.pluginProp]):C.isFunction(e)?a=e:C.isObject(e)&&(a=(function(c){const d=(E,x)=>!Array.isArray(E)||E.every(((k,P)=>k===x[P]));return function*(x,k){const P={};for(const[L,V]of x.filter(C.isAdditiveMutation).entries()){if(!(L<NE))return;yield*R(V.value,V.path,V)}function*R(L,V,Q){if(C.isObject(L)){const J=V.length-1,re=V[J],me=V.indexOf("properties"),le=re==="properties"&&J===me,ve=k.allowMetaPatches&&P[L.$$ref];for(const be of Object.keys(L)){const ce=L[be],_e=V.concat(be),Ae=C.isObject(ce),xe=L.$$ref;if(ve||Ae&&(k.allowMetaPatches&&xe&&d(n,_e)&&(P[xe]=!0),yield*R(ce,_e,Q)),!le&&be===c.key){const Oe=d(n,V);n&&!Oe||(yield c.plugin(ce,be,_e,k,Q))}}}else c.key===V[V.length-1]&&(yield c.plugin(L,c.key,V,k))}}})(e)),Object.assign(a.bind(o),{pluginName:e.name||r,isGenerator:C.isGenerator(a)})}nextPlugin(){return this.wrappedPlugins.find((e=>this.getMutationsForPlugin(e).length>0))}nextPromisedPatch(){if(this.promisedPatches.length>0)return Promise.race(this.promisedPatches.map((e=>e.value)))}getPluginHistory(e){const r=this.constructor.getPluginName(e);return this.pluginHistory[r]||[]}getPluginRunCount(e){return this.getPluginHistory(e).length}getPluginHistoryTip(e){const r=this.getPluginHistory(e);return r&&r[r.length-1]||{}}getPluginMutationIndex(e){const r=this.getPluginHistoryTip(e).mutationIndex;return typeof r!="number"?-1:r}updatePluginHistory(e,r){const n=this.constructor.getPluginName(e);this.pluginHistory[n]=this.pluginHistory[n]||[],this.pluginHistory[n].push(r)}updatePatches(e){C.normalizeArray(e).forEach((r=>{if(r instanceof Error)this.errors.push(r);else try{if(!C.isObject(r))return void this.debug("updatePatches","Got a non-object patch",r);if(this.showDebug&&this.allPatches.push(r),C.isPromise(r.value))return this.promisedPatches.push(r),void this.promisedPatchThen(r);if(C.isContextPatch(r))return void this.setContext(r.path,r.value);C.isMutation(r)&&this.updateMutations(r)}catch(n){console.error(n),this.errors.push(n)}}))}updateMutations(e){typeof e.value=="object"&&!Array.isArray(e.value)&&this.allowMetaPatches&&(e.value={...e.value});const r=C.applyPatch(this.state,e,{allowMetaPatches:this.allowMetaPatches});r&&(this.mutations.push(e),this.state=r)}removePromisedPatch(e){const r=this.promisedPatches.indexOf(e);r<0?this.debug("Tried to remove a promisedPatch that isn't there!"):this.promisedPatches.splice(r,1)}promisedPatchThen(e){return e.value=e.value.then((r=>{const n={...e,value:r};this.removePromisedPatch(e),this.updatePatches(n)})).catch((r=>{this.removePromisedPatch(e),this.updatePatches(r)})),e.value}getMutations(e,r){return e=e||0,typeof r!="number"&&(r=this.mutations.length),this.mutations.slice(e,r)}getCurrentMutations(){return this.getMutationsForPlugin(this.getCurrentPlugin())}getMutationsForPlugin(e){const r=this.getPluginMutationIndex(e);return this.getMutations(r+1)}getCurrentPlugin(){return this.currentPlugin}getLib(){return this.libMethods}_get(e){return C.getIn(this.state,e)}_getContext(e){return this.contextTree.get(e)}setContext(e,r){return this.contextTree.set(e,r)}_hasRun(e){return this.getPluginRunCount(this.getCurrentPlugin())>(e||0)}dispatch(){const e=this,r=this.nextPlugin();if(!r){const a=this.nextPromisedPatch();if(a)return a.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(e.pluginCount=e.pluginCount||new WeakMap,e.pluginCount.set(r,(e.pluginCount.get(r)||0)+1),e.pluginCount[r]>100)return Promise.resolve({spec:e.state,errors:e.errors.concat(new Error("We've reached a hard limit of 100 plugin runs"))});if(r!==this.currentPlugin&&this.promisedPatches.length){const a=this.promisedPatches.map((o=>o.value));return Promise.all(a.map((o=>o.then(UE,UE)))).then((()=>this.dispatch()))}return(function(){e.currentPlugin=r;const o=e.getCurrentMutations(),p=e.mutations.length-1;try{if(r.isGenerator)for(const c of r(o,e.getLib()))n(c);else n(r(o,e.getLib()))}catch(c){console.error(c),n([Object.assign(Object.create(c),{plugin:r})])}finally{e.updatePluginHistory(r,{mutationIndex:p})}return e.dispatch()})();function n(a){a&&(a=C.fullyNormalizeArray(a),e.updatePatches(a,r))}}}const Kh={refs:RE,allOf:oC,parameters:iC,properties:sC};function zE(t,e={}){const{requestInterceptor:r,responseInterceptor:n}=e,a=t.withCredentials?"include":"same-origin";return o=>t({url:o,loadSpec:!0,requestInterceptor:r,responseInterceptor:n,headers:{Accept:PE},credentials:a}).then((p=>p.body))}function $0(t,e){return e||typeof navigator>"u"||(e=navigator),e&&e.product==="ReactNative"?!(!t||typeof t!="object"||typeof t.uri!="string"):typeof File<"u"&&t instanceof File||typeof Blob<"u"&&t instanceof Blob||!!ArrayBuffer.isView(t)||t!==null&&typeof t=="object"&&typeof t.pipe=="function"}function VE(t,e){return Array.isArray(t)&&t.some((r=>$0(r,e)))}class B0 extends File{constructor(e,r="",n={}){super([e],r,n),this.data=e}valueOf(){return this.data}toString(){return this.valueOf()}}const uC=t=>":/?#[]@!$&'()*+,;=".indexOf(t)>-1,pC=t=>/^[a-z0-9\-._~]+$/i.test(t);function JE(t,e="reserved"){return[...t].map((r=>{if(pC(r)||uC(r)&&e==="unsafe")return r;const n=new TextEncoder;return Array.from(n.encode(r)).map((a=>`0${a.toString(16).toUpperCase()}`.slice(-2))).map((a=>`%${a}`)).join("")})).join("")}function q0(t){const{value:e}=t;return Array.isArray(e)?(function({key:n,value:a,style:o,explode:p,escape:c}){if(o==="simple")return a.map((d=>yo(d,c))).join(",");if(o==="label")return`.${a.map((d=>yo(d,c))).join(".")}`;if(o==="matrix")return a.map((d=>yo(d,c))).reduce(((d,E)=>!d||p?`${d||""};${n}=${E}`:`${d},${E}`),"");if(o==="form"){const d=p?`&${n}=`:",";return a.map((E=>yo(E,c))).join(d)}if(o==="spaceDelimited"){const d=p?`${n}=`:"";return a.map((E=>yo(E,c))).join(` ${d}`)}if(o==="pipeDelimited"){const d=p?`${n}=`:"";return a.map((E=>yo(E,c))).join(`|${d}`)}})(t):typeof e=="object"?(function({key:n,value:a,style:o,explode:p,escape:c}){const d=Object.keys(a);if(o==="simple")return d.reduce(((E,x)=>{const k=yo(a[x],c);return`${E?`${E},`:""}${x}${p?"=":","}${k}`}),"");if(o==="label")return d.reduce(((E,x)=>{const k=yo(a[x],c);return`${E?`${E}.`:"."}${x}${p?"=":"."}${k}`}),"");if(o==="matrix"&&p)return d.reduce(((E,x)=>`${E?`${E};`:";"}${x}=${yo(a[x],c)}`),"");if(o==="matrix")return d.reduce(((E,x)=>{const k=yo(a[x],c);return`${E?`${E},`:`;${n}=`}${x},${k}`}),"");if(o==="form")return d.reduce(((E,x)=>{const k=yo(a[x],c);return`${E?`${E}${p?"&":","}`:""}${x}${p?"=":","}${k}`}),"")})(t):(function({key:n,value:a,style:o,escape:p}){if(o==="simple")return yo(a,p);if(o==="label")return`.${yo(a,p)}`;if(o==="matrix")return`;${n}=${yo(a,p)}`;if(o==="form"||o==="deepObject")return yo(a,p)})(t)}function yo(t,e=!1){return Array.isArray(t)||t!==null&&typeof t=="object"?t=JSON.stringify(t):typeof t!="number"&&typeof t!="boolean"||(t=String(t)),e&&typeof t=="string"&&t.length>0?JE(t,e):t??""}const hC={form:",",spaceDelimited:"%20",pipeDelimited:"|"},dC={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function WE(t,e,r=!1){const{collectionFormat:n,allowEmptyValue:a,serializationOption:o,encoding:p}=e,c=typeof e!="object"||Array.isArray(e)?e:e.value,d=r?x=>x.toString():x=>encodeURIComponent(x),E=d(t);if(c===void 0&&a)return[[E,""]];if($0(c)||VE(c))return[[E,c]];if(o)return HE(t,c,r,o);if(p){if([typeof p.style,typeof p.explode,typeof p.allowReserved].some((x=>x!=="undefined"))){const{style:x,explode:k,allowReserved:P}=p;return HE(t,c,r,{style:x,explode:k,allowReserved:P})}if(typeof p.contentType=="string"){if(p.contentType.startsWith("application/json")){const k=d(typeof c=="string"?c:JSON.stringify(c));return[[E,new B0(k,"blob",{type:p.contentType})]]}const x=d(String(c));return[[E,new B0(x,"blob",{type:p.contentType})]]}return typeof c!="object"?[[E,d(c)]]:Array.isArray(c)&&c.every((x=>typeof x!="object"))?[[E,c.map(d).join(",")]]:[[E,d(JSON.stringify(c))]]}return typeof c!="object"?[[E,d(c)]]:Array.isArray(c)?n==="multi"?[[E,c.map(d)]]:[[E,c.map(d).join(dC[n||"csv"])]]:[[E,""]]}function HE(t,e,r,n){const a=n.style||"form",o=n.explode===void 0?a==="form":n.explode,p=!r&&(n&&n.allowReserved?"unsafe":"reserved"),c=E=>yo(E,p),d=r?E=>E:E=>c(E);return typeof e!="object"?[[d(t),c(e)]]:Array.isArray(e)?o?[[d(t),e.map(c)]]:[[d(t),e.map(c).join(hC[a])]]:a==="deepObject"?Object.keys(e).map((E=>[d(`${t}[${E}]`),c(e[E])])):o?Object.keys(e).map((E=>[d(E),c(e[E])])):[[d(t),Object.keys(e).map((E=>[`${d(E)},${c(e[E])}`])).join(",")]]}function KE(t){return((e,{encode:r=!0}={})=>{const n=(p,c,d)=>(Array.isArray(d)?d.reduce(((E,x)=>n(p,c,x)),p):d instanceof Date?p.append(c,d.toISOString()):typeof d=="object"?Object.entries(d).reduce(((E,[x,k])=>n(p,`${c}[${x}]`,k)),p):p.append(c,d),p),a=Object.entries(e).reduce(((p,[c,d])=>n(p,c,d)),new URLSearchParams),o=String(a);return r?o:decodeURIComponent(o)})(Object.keys(t).reduce(((e,r)=>{for(const[n,a]of WE(r,t[r]))e[n]=a instanceof B0?a.valueOf():a;return e}),{}),{encode:!1})}function U0(t={}){const{url:e="",query:r,form:n}=t;if(n){const a=Object.keys(n).some((p=>{const{value:c}=n[p];return $0(c)||VE(c)})),o=t.headers["content-type"]||t.headers["Content-Type"];if(a||/multipart\/form-data/i.test(o)){const p=(function(d){return Object.entries(d).reduce(((E,[x,k])=>{for(const[P,R]of WE(x,k,!0))if(Array.isArray(R))for(const L of R)if(ArrayBuffer.isView(L)){const V=new Blob([L]);E.append(P,V)}else E.append(P,L);else if(ArrayBuffer.isView(R)){const L=new Blob([R]);E.append(P,L)}else E.append(P,R);return E}),new FormData)})(t.form);t.formdata=p,t.body=p}else t.body=KE(n);delete t.form}if(r){const[a,o]=e.split("?");let p="";if(o){const d=new URLSearchParams(o);Object.keys(r).forEach((E=>d.delete(E))),p=String(d)}const c=((...d)=>{const E=d.filter((x=>x)).join("&");return E?`?${E}`:""})(p,KE(r));t.url=a+c,delete t.query}return t}function fC(t={}){return typeof t.entries!="function"?{}:Array.from(t.entries()).reduce(((e,[r,n])=>(e[r]=(function(o){return Yn()(o).call(o,", ")?o.split(", "):o})(n),e)),{})}function GE(t,e,{loadSpec:r=!1}={}){const n={ok:t.ok,url:t.url||e,status:t.status,statusText:t.statusText,headers:fC(t.headers)},a=n.headers["content-type"],o=r||((p="")=>/(json|xml|yaml|text)\b/.test(p))(a);return(o?t.text:t.blob||t.buffer).call(t).then((p=>{if(n.text=p,n.data=p,o)try{const c=(function(E,x){if(x){if(x.indexOf("application/json")===0||x.indexOf("+json")>0)return JSON.parse(E);if(x.indexOf("application/xml")===0||x.indexOf("+xml")>0)return E}return Pe.load(E)})(p,a);n.body=c,n.obj=c}catch(c){n.parseError=c}return n}))}async function Mf(t,e={}){typeof t=="object"&&(t=(e=t).url),e.headers=e.headers||{},(e=U0(e)).headers&&Object.keys(e.headers).forEach((a=>{const o=e.headers[a];typeof o=="string"&&(e.headers[a]=o.replace(/\n+/g," "))})),e.requestInterceptor&&(e=await e.requestInterceptor(e)||e);const r=e.headers["content-type"]||e.headers["Content-Type"];let n;/multipart\/form-data/i.test(r)&&(delete e.headers["content-type"],delete e.headers["Content-Type"]);try{n=await(e.userFetch||fetch)(e.url,e),n=await GE(n,t,e),e.responseInterceptor&&(n=await e.responseInterceptor(n)||n)}catch(a){if(!n)throw a;const o=new Error(n.statusText||`response status is ${n.status}`);throw o.status=n.status,o.statusCode=n.status,o.responseError=a,o}if(!n.ok){const a=new Error(n.statusText||`response status is ${n.status}`);throw a.status=n.status,a.statusCode=n.status,a.response=n,a}return n}const z0=t=>{const{baseDoc:e,url:r}=t,n=e??r??"";return typeof globalThis.document?.baseURI=="string"?String(new URL(n,globalThis.document.baseURI)):n},YE=t=>{const{fetch:e,http:r}=t;return e||r||Mf};async function V0(t){const{spec:e,mode:r,allowMetaPatches:n=!0,pathDiscriminator:a,modelPropertyMacro:o,parameterMacro:p,requestInterceptor:c,responseInterceptor:d,skipNormalization:E=!1,useCircularStructures:x,strategies:k}=t,P=z0(t),R=YE(t),L=k.find((V=>V.match(e)));return(async function(Q){P&&(Kh.refs.docCache[P]=Q),Kh.refs.fetchJSON=zE(R,{requestInterceptor:c,responseInterceptor:d});const J=[Kh.refs];typeof p=="function"&&J.push(Kh.parameters),typeof o=="function"&&J.push(Kh.properties),r!=="strict"&&J.push(Kh.allOf);const re=await(function(le){return new cC(le).dispatch()})({spec:Q,context:{baseDoc:P},plugins:J,allowMetaPatches:n,pathDiscriminator:a,parameterMacro:p,modelPropertyMacro:o,useCircularStructures:x});return E||(re.spec=L.normalize(re.spec)),re})(e)}function J0(t,e){for(var r=e,n=0;n<t.length;n+=1){if(r==null)return;var a=t[n];r=Wh(a)?cy(a,r):r[a]}return r}const W0=ha((function(e,r,n){return e(J0(r,n))})),mC=Tr((function(e,r){return e&&r})),Rf=Tr((function(e,r){return S0(e)?function(){return e.apply(this,arguments)&&r.apply(this,arguments)}:k0(mC)(e,r)})),XE=Pu(null),QE=If(XE);function H0(t){return H0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},H0(t)}const ZE=function(e){return H0(e)==="object"},gC=ja(1,Rf(QE,ZE));var yC=mo(Fs,Dp("Object")),vC=mo(Tf,Pu(Tf(Object))),bC=W0(Rf(Fp,vC),["constructor"]),wC=ja(1,(function(t){if(!gC(t)||!yC(t))return!1;var e=Object.getPrototypeOf(t);return!!XE(e)||bC(e)}));const Ls=wC,eS=t=>t.replace(/\W/gi,"_"),EC=new Set(["connect","delete","get","head","options","patch","post","put","query","trace"]);function Df(t,e,r="",{v2OperationIdCompatibilityMode:n}={}){return!t||typeof t!="object"?null:(t.operationId||"").replace(/\s/g,"").length?eS(t.operationId):(function(o,p,{v2OperationIdCompatibilityMode:c}={}){if(c){let d=`${p.toLowerCase()}_${o}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return d=d||`${o.substring(1)}_${p}`,d.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${EC.has(p.toLowerCase())?p.toLowerCase():p}${eS(o)}`})(e,r,{v2OperationIdCompatibilityMode:n})}function K0(t){const{spec:e}=t,{paths:r}=e,n={};if(!r||e.$$normalized)return t;for(const p in r){var a;const c=r[p];if(c==null||!Yn()(a=["object","function"]).call(a,typeof c))continue;const d=c.parameters;for(const E in c){var o;const x=c[E];if(x==null||!Yn()(o=["object","function"]).call(o,typeof x))continue;const k=Df(x,p,E);if(k){n[k]?n[k].push(x):n[k]=[x];const P=n[k];if(P.length>1)P.forEach(((R,L)=>{R.__originalOperationId=R.__originalOperationId||R.operationId,R.operationId=`${k}${L+1}`}));else if(x.operationId!==void 0){const R=P[0];R.__originalOperationId=R.__originalOperationId||x.operationId,R.operationId=k}}if(E!=="parameters"){const P=[],R={};for(const L in e)L!=="produces"&&L!=="consumes"&&L!=="security"||(R[L]=e[L],P.push(R));if(d&&(R.parameters=d,P.push(R)),P.length)for(const L of P)for(const V in L)if(Array.isArray(x[V])){if(V==="parameters")for(const Q of L[V])x[V].some((J=>!(!Ls(J)&&!Ls(Q))&&(J===Q||["name","$ref","$$ref"].some((re=>typeof J[re]=="string"&&typeof Q[re]=="string"&&J[re]===Q[re])))))||x[V].push(Q)}else x[V]=L[V]}}}return e.$$normalized=!0,t}const SC={name:"generic",match:()=>!0,normalize(t){const{spec:e}=K0({spec:t});return e},resolve:async t=>V0(t)},G0=SC,tS=t=>{try{const{openapi:e}=t;return typeof e=="string"&&/^3\.0\.(?:[1-9]\d*|0)$/.test(e)}catch{return!1}},Y0=t=>{try{const{openapi:e}=t;return typeof e=="string"&&/^3\.1\.(?:[1-9]\d*|0)$/.test(e)}catch{return!1}},rS=t=>{try{const{openapi:e}=t;return typeof e=="string"&&/^3\.2\.(?:[1-9]\d*|0)$/.test(e)}catch{return!1}},nS=t=>tS(t)||Y0(t)||rS(t),xC={name:"openapi-2",match:t=>(e=>{try{const{swagger:r}=e;return r==="2.0"}catch{return!1}})(t),normalize(t){const{spec:e}=K0({spec:t});return e},resolve:async t=>(async function(r){return V0(r)})(t)},X0=xC,_C={name:"openapi-3-0",match:t=>tS(t),normalize(t){const{spec:e}=K0({spec:t});return e},resolve:async t=>(async function(r){return V0(r)})(t)},Q0=_C;var Ge=Be(34035);function _y(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}var OC=(function(){function t(e,r){this.xf=r,this.f=e,this.all=!0}return t.prototype["@@transducer/init"]=Tu,t.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,r){return this.f(r)||(this.all=!1,e=_y(this.xf["@@transducer/step"](e,!1))),e},t})();function kC(t){return function(e){return new OC(t,e)}}var AC=Tr(Nu(["all"],kC,(function(e,r){for(var n=0;n<r.length;){if(!e(r[n]))return!1;n+=1}return!0})));const Z0=AC;class CC extends Ge.Om{constructor(e,r,n){super(e,r,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const Oy=CC;class jC extends Ge.Om{constructor(e,r,n){super(e,r,n),this.element="comment"}}const ky=jC;class PC extends Ge.wE{constructor(e,r,n){super(e,r,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>e.element==="annotation"))}get warnings(){return this.children.filter((e=>e.element==="annotation"&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>e.element==="annotation"&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>e.element==="annotation")).isEmpty}replaceResult(e){const{result:r}=this;if(Iu(r))return!1;const n=this.content.findIndex((a=>a===r));return n!==-1&&(this.content[n]=e,!0)}}const $s=PC,NC=(t,e)=>typeof e=="object"&&e!==null&&t in e&&typeof e[t]=="function",TC=t=>typeof t=="object"&&t!=null&&"_storedElement"in t&&typeof t._storedElement=="string"&&"_content"in t,IC=(t,e)=>typeof e=="object"&&e!==null&&"primitive"in e&&typeof e.primitive=="function"&&e.primitive()===t,MC=(t,e)=>typeof e=="object"&&e!==null&&"classes"in e&&(Array.isArray(e.classes)||e.classes instanceof Ge.wE)&&e.classes.includes(t),Mu=(t,e)=>typeof e=="object"&&e!==null&&"element"in e&&e.element===t,Qt=t=>t({hasMethod:NC,hasBasicElementProps:TC,primitiveEq:IC,isElementType:Mu,hasClass:MC}),da=Qt((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Ge.Hg||t(r)&&e(void 0,r))),Ir=Qt((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Ge.Om||t(r)&&e("string",r))),eb=Qt((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Ge.kT||t(r)&&e("number",r))),tb=Qt((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Ge.Os||t(r)&&e("null",r))),Ff=Qt((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Ge.bd||t(r)&&e("boolean",r))),hn=Qt((({hasBasicElementProps:t,primitiveEq:e,hasMethod:r})=>n=>n instanceof Ge.Sh||t(n)&&e("object",n)&&r("keys",n)&&r("values",n)&&r("items",n))),vo=Qt((({hasBasicElementProps:t,primitiveEq:e,hasMethod:r})=>n=>n instanceof Ge.wE&&!(n instanceof Ge.Sh)||t(n)&&e("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n))),Bs=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ge.Pr||t(n)&&e("member",n)&&r(void 0,n))),aS=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ge.Ft||t(n)&&e("link",n)&&r(void 0,n))),oS=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ge.sI||t(n)&&e("ref",n)&&r(void 0,n))),RC=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Oy||t(n)&&e("annotation",n)&&r("array",n))),DC=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ky||t(n)&&e("comment",n)&&r("string",n))),iS=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof $s||t(n)&&e("parseResult",n)&&r("array",n))),$p=t=>Mu("object",t)||Mu("array",t)||Mu("boolean",t)||Mu("number",t)||Mu("string",t)||Mu("null",t)||Mu("member",t),Gh=t=>!!da(t)&&Number.isInteger(t.startPositionRow)&&Number.isInteger(t.startPositionColumn)&&Number.isInteger(t.startIndex)&&Number.isInteger(t.endPositionRow)&&Number.isInteger(t.endPositionColumn)&&Number.isInteger(t.endIndex),FC=(t,e)=>{if(t.length===0)return!0;const r=e.attributes.get("symbols");return!!vo(r)&&Z0(gy(r.toValue()),t)},Yh=(t,e)=>t.length===0||Z0(gy(e.classes.toValue()),t),kc=function(){return!0},rb=function(){return!1},Ay=(t,e,r)=>{const n=t[e];if(n!=null){if(!r&&typeof n=="function")return n;const a=r?n.leave:n.enter;if(typeof a=="function")return a}else{const a=r?t.leave:t.enter;if(a!=null){if(typeof a=="function")return a;const o=a[e];if(typeof o=="function")return o}}return null},on={},Lf=t=>t?.type,sS=t=>typeof Lf(t)=="string",nb=t=>Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),Cy=(t,{visitFnGetter:e=Ay,nodeTypeGetter:r=Lf,breakSymbol:n=on,deleteNodeSymbol:a=null,skipVisitingNodeSymbol:o=!1,exposeEdits:p=!1}={})=>{const c=Symbol("skip"),d=new Array(t.length).fill(c);return{enter(E,x,k,P,R,L){let V=E,Q=!1;const J={...L,replaceWith(re,me){L.replaceWith(re,me),V=re}};for(let re=0;re<t.length;re+=1)if(d[re]===c){const me=e(t[re],r(V),!1);if(typeof me=="function"){const le=me.call(t[re],V,x,k,P,R,J);if(typeof le?.then=="function")throw new xr("Async visitor not supported in sync mode",{visitor:t[re],visitFn:me});if(le===o)d[re]=V;else if(le===n)d[re]=n;else{if(le===a)return le;if(le!==void 0){if(!p)return le;V=le,Q=!0}}}}return Q?V:void 0},leave(E,x,k,P,R,L){let V=E;const Q={...L,replaceWith(J,re){L.replaceWith(J,re),V=J}};for(let J=0;J<t.length;J+=1)if(d[J]===c){const re=e(t[J],r(V),!0);if(typeof re=="function"){const me=re.call(t[J],V,x,k,P,R,Q);if(typeof me?.then=="function")throw new xr("Async visitor not supported in sync mode",{visitor:t[J],visitFn:re});if(me===n)d[J]=n;else if(me!==void 0&&me!==o)return me}}else d[J]===V&&(d[J]=c)}}};Cy[Symbol.for("nodejs.util.promisify.custom")]=(t,{visitFnGetter:e=Ay,nodeTypeGetter:r=Lf,breakSymbol:n=on,deleteNodeSymbol:a=null,skipVisitingNodeSymbol:o=!1,exposeEdits:p=!1}={})=>{const c=Symbol("skip"),d=new Array(t.length).fill(c);return{async enter(E,x,k,P,R,L){let V=E,Q=!1;const J={...L,replaceWith(re,me){L.replaceWith(re,me),V=re}};for(let re=0;re<t.length;re+=1)if(d[re]===c){const me=e(t[re],r(V),!1);if(typeof me=="function"){const le=await me.call(t[re],V,x,k,P,R,J);if(le===o)d[re]=V;else if(le===n)d[re]=n;else{if(le===a)return le;if(le!==void 0){if(!p)return le;V=le,Q=!0}}}}return Q?V:void 0},async leave(E,x,k,P,R,L){let V=E;const Q={...L,replaceWith(J,re){L.replaceWith(J,re),V=J}};for(let J=0;J<t.length;J+=1)if(d[J]===c){const re=e(t[J],r(V),!0);if(typeof re=="function"){const me=await re.call(t[J],V,x,k,P,R,Q);if(me===n)d[J]=n;else if(me!==void 0&&me!==o)return me}}else d[J]===V&&(d[J]=c)}}};const ab=(t,e,{keyMap:r=null,state:n={},breakSymbol:a=on,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:p=!1,visitFnGetter:c=Ay,nodeTypeGetter:d=Lf,nodePredicate:E=sS,nodeCloneFn:x=nb,detectCycles:k=!0,detectCyclesCallback:P=null}={})=>{const R=r||{};let L,V,Q=Array.isArray(t),J=[t],re=-1,me=[],le=t;const ve=[],be=[];do{re+=1;const Ae=re===J.length;let xe;const Oe=Ae&&me.length!==0;if(Ae){if(xe=be.length===0?void 0:ve.pop(),le=V,V=be.pop(),Oe)if(Q){le=le.slice();let G=0;for(const[de,Ne]of me){const Ye=de-G;Ne===o?(le.splice(Ye,1),G+=1):le[Ye]=Ne}}else{le=x(le);for(const[G,de]of me)le[G]=de}re=L.index,J=L.keys,me=L.edits,Q=L.inArray,L=L.prev}else if(V!==o&&V!==void 0){if(xe=Q?re:J[re],le=V[xe],le===o||le===void 0)continue;ve.push(xe)}let je;if(!Array.isArray(le)){var ce;if(!E(le))throw new xr(`Invalid AST Node: ${String(le)}`,{node:le});if(k&&be.includes(le)){typeof P=="function"&&P(le,xe,V,ve,be),ve.pop();continue}const G=c(e,d(le),Ae);if(G){for(const[Ne,Ye]of Object.entries(n))e[Ne]=Ye;const de={replaceWith(Ne,Ye){typeof Ye=="function"?Ye(Ne,le,xe,V,ve,be):V&&(V[xe]=Ne),Ae||(le=Ne)}};je=G.call(e,le,xe,V,ve,be,de)}if(typeof((ce=je)===null||ce===void 0?void 0:ce.then)=="function")throw new xr("Async visitor not supported in sync mode",{visitor:e,visitFn:G});if(je===a)break;if(je===p){if(!Ae){ve.pop();continue}}else if(je!==void 0&&(me.push([xe,je]),!Ae)){if(!E(je)){ve.pop();continue}le=je}}var _e;je===void 0&&Oe&&me.push([xe,le]),!Ae&&(L={inArray:Q,index:re,keys:J,edits:me,prev:L},Q=Array.isArray(le),J=Q?le:(_e=R[d(le)])!==null&&_e!==void 0?_e:[],re=-1,me=[],V!==o&&V!==void 0&&be.push(V),V=le)}while(L!==void 0);return me.length!==0?me[me.length-1][1]:t};ab[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=null,state:n={},breakSymbol:a=on,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:p=!1,visitFnGetter:c=Ay,nodeTypeGetter:d=Lf,nodePredicate:E=sS,nodeCloneFn:x=nb,detectCycles:k=!0,detectCyclesCallback:P=null}={})=>{const R=r||{};let L,V,Q=Array.isArray(t),J=[t],re=-1,me=[],le=t;const ve=[],be=[];do{re+=1;const _e=re===J.length;let Ae;const xe=_e&&me.length!==0;if(_e){if(Ae=be.length===0?void 0:ve.pop(),le=V,V=be.pop(),xe)if(Q){le=le.slice();let je=0;for(const[G,de]of me){const Ne=G-je;de===o?(le.splice(Ne,1),je+=1):le[Ne]=de}}else{le=x(le);for(const[je,G]of me)le[je]=G}re=L.index,J=L.keys,me=L.edits,Q=L.inArray,L=L.prev}else if(V!==o&&V!==void 0){if(Ae=Q?re:J[re],le=V[Ae],le===o||le===void 0)continue;ve.push(Ae)}let Oe;if(!Array.isArray(le)){if(!E(le))throw new xr(`Invalid AST Node: ${String(le)}`,{node:le});if(k&&be.includes(le)){typeof P=="function"&&P(le,Ae,V,ve,be),ve.pop();continue}const je=c(e,d(le),_e);if(je){for(const[de,Ne]of Object.entries(n))e[de]=Ne;const G={replaceWith(de,Ne){typeof Ne=="function"?Ne(de,le,Ae,V,ve,be):V&&(V[Ae]=de),_e||(le=de)}};Oe=await je.call(e,le,Ae,V,ve,be,G)}if(Oe===a)break;if(Oe===p){if(!_e){ve.pop();continue}}else if(Oe!==void 0&&(me.push([Ae,Oe]),!_e)){if(!E(Oe)){ve.pop();continue}le=Oe}}var ce;Oe===void 0&&xe&&me.push([Ae,le]),!_e&&(L={inArray:Q,index:re,keys:J,edits:me,prev:L},Q=Array.isArray(le),J=Q?le:(ce=R[d(le)])!==null&&ce!==void 0?ce:[],re=-1,me=[],V!==o&&V!==void 0&&be.push(V),V=le)}while(L!==void 0);return me.length!==0?me[me.length-1][1]:t};const lS=class extends xr{value;constructor(e,r){super(e,r),r!==void 0&&(this.value=r.value)}},LC=class extends lS{},$C=class extends lS{},BC=Tr((function(e,r){return Pf((function(n,a){return n[a]=e(r[a],a,r),n}),{},Rp(r))})),jy=_r((function(e){return e==null}));var qC=Tr((function(e,r){if(e.length===0||jy(r))return!1;for(var n=r,a=0;a<e.length;){if(jy(n)||!ts(e[a],n))return!1;n=n[e[a]],a+=1}return!0}));const UC=qC;var zC=Tr((function(e,r){return UC([e],r)}));const $f=zC,VC=ha((function(e,r,n){return e(Af(r,n))})),ro=Tr(J0);var JC=(function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=Tu,t.prototype["@@transducer/result"]=Nf,t.prototype["@@transducer/step"]=function(e,r){if(this.f){if(this.f(r))return e;this.f=null}return this.xf["@@transducer/step"](e,r)},t})();function WC(t){return function(e){return new JC(t,e)}}const HC=Tr(Nu(["dropWhile"],WC,(function(e,r){for(var n=0,a=r.length;n<a&&e(r[n]);)n+=1;return kf(n,1/0,r)}))),cS=E0((function(t,e){return mo(pE(""),HC(gy(t)),hE(""))(e)})),Ru=(t,e)=>{const r=Jh(t,e);return BC((n=>{if(Ls(n)&&$f("$ref",n)&&VC(Lp,"$ref",n)){const a=ro(["$ref"],n),o=cS("#/",a);return ro(o.split("/"),r)}return Ls(n)?Ru(n,r):n}),t)},ob=(t,e)=>(t.startPositionRow=e?.startPositionRow,t.startPositionColumn=e?.startPositionColumn,t.startIndex=e?.startIndex,t.endPositionRow=e?.endPositionRow,t.endPositionColumn=e?.endPositionColumn,t.endIndex=e?.endIndex,t),hr=(t,e={})=>{const{visited:r=new WeakMap}=e,n={...e,visited:r};if(r.has(t))return r.get(t);if(t instanceof Ge.KeyValuePair){const{key:a,value:o}=t,p=da(a)?hr(a,n):a,c=da(o)?hr(o,n):o,d=new Ge.KeyValuePair(p,c);return r.set(t,d),d}if(t instanceof Ge.ot){const a=c=>hr(c,n),o=[...t].map(a),p=new Ge.ot(o);return r.set(t,p),p}if(t instanceof Ge.G6){const a=c=>hr(c,n),o=[...t].map(a),p=new Ge.G6(o);return r.set(t,p),p}if(da(t)){const a=no(t);if(r.set(t,a),t.content)if(da(t.content))a.content=hr(t.content,n);else if(t.content instanceof Ge.KeyValuePair)a.content=hr(t.content,n);else if(Array.isArray(t.content)){const o=p=>hr(p,n);a.content=t.content.map(o)}else a.content=t.content;else a.content=t.content;return a}throw new LC("Value provided to cloneDeep function couldn't be cloned",{value:t})};hr.safe=t=>{try{return hr(t)}catch{return t}};const uS=t=>{const{key:e,value:r}=t;return new Ge.KeyValuePair(e,r)},pS=t=>{const e=new t.constructor;if(e.element=t.element,Gh(t)&&ob(e,t),t.meta.length>0&&(e._meta=hr(t.meta)),t.attributes.length>0&&(e._attributes=hr(t.attributes)),da(t.content)){const r=t.content;e.content=pS(r)}else Array.isArray(t.content)?e.content=[...t.content]:t.content instanceof Ge.KeyValuePair?e.content=uS(t.content):e.content=t.content;return e},no=t=>{if(t instanceof Ge.KeyValuePair)return uS(t);if(t instanceof Ge.ot)return(e=>{const r=[...e];return new Ge.ot(r)})(t);if(t instanceof Ge.G6)return(e=>{const r=[...e];return new Ge.G6(r)})(t);if(da(t))return pS(t);throw new $C("Value provided to cloneShallow function couldn't be cloned",{value:t})};no.safe=t=>{try{return no(t)}catch{return t}};const Xh=t=>hn(t)?"ObjectElement":vo(t)?"ArrayElement":Bs(t)?"MemberElement":Ir(t)?"StringElement":Ff(t)?"BooleanElement":eb(t)?"NumberElement":tb(t)?"NullElement":aS(t)?"LinkElement":oS(t)?"RefElement":void 0,hS=t=>da(t)?no(t):nb(t),dS=mo(Xh,Lp),Bl={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"]};class fS{result;predicate;returnOnTrue;returnOnFalse;constructor({predicate:e=rb,returnOnTrue:r,returnOnFalse:n}={}){this.result=[],this.predicate=e,this.returnOnTrue=r,this.returnOnFalse=n}enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}const Pa=(t,e,{keyMap:r=Bl,...n}={})=>ab(t,e,{keyMap:r,nodeTypeGetter:Xh,nodePredicate:dS,nodeCloneFn:hS,...n});Pa[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=Bl,...n}={})=>ab[Symbol.for("nodejs.util.promisify.custom")](t,e,{keyMap:r,nodeTypeGetter:Xh,nodePredicate:dS,nodeCloneFn:hS,...n});const mS=t=>typeof t?.type=="string"?t.type:Xh(t),gS={EphemeralObject:["content"],EphemeralArray:["content"],...Bl},yS=(t,e,{keyMap:r=gS,...n}={})=>Pa(t,e,{keyMap:r,nodeTypeGetter:mS,nodePredicate:kc,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});yS[Symbol.for("nodejs.util.promisify.custom")]=async(t,{keyMap:e=gS,...r}={})=>Pa[Symbol.for("nodejs.util.promisify.custom")](t,visitor,{keyMap:e,nodeTypeGetter:mS,nodePredicate:kc,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});const KC=class{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}},GC=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}};class YC{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const r=new GC(e.content);return this.references.set(e,r),r}};EphemeralObject={leave:e=>e.toObject()};MemberElement={enter:e=>[e.key,e.value]};ArrayElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const r=new KC(e.content);return this.references.set(e,r),r}};EphemeralArray={leave:e=>e.toArray()};references=new WeakMap;BooleanElement(e){return e.toValue()}NumberElement(e){return e.toValue()}StringElement(e){return e.toValue()}NullElement(){return null}RefElement(e,...r){var n;const a=r[3];return((n=a[a.length-1])===null||n===void 0?void 0:n.type)==="EphemeralObject"?Symbol.for("delete-node"):String(e.toValue())}LinkElement(e){return Ir(e.href)?e.href.toValue():""}}const Et=t=>da(t)?Ir(t)||eb(t)||Ff(t)||tb(t)?t.toValue():yS(t,new YC):t,XC=ha((function(e,r,n){var a,o={};for(a in n=n||{},r=r||{})ts(a,r)&&(o[a]=ts(a,n)?e(a,r[a],n[a]):r[a]);for(a in n)ts(a,n)&&!ts(a,o)&&(o[a]=n[a]);return o})),QC=ha((function t(e,r,n){return XC((function(a,o,p){return my(o)&&my(p)?t(e,o,p):e(a,o,p)}),r,n)})),Py=Tr((function(e,r){return QC((function(n,a,o){return o}),e,r)})),ZC=kf(0,-1),ej=Tr((function(e,r){return e.apply(this,r)})),tj=If(Fp);var rj=_r((function(e){return e!=null&&typeof e["fantasy-land/empty"]=="function"?e["fantasy-land/empty"]():e!=null&&e.constructor!=null&&typeof e.constructor["fantasy-land/empty"]=="function"?e.constructor["fantasy-land/empty"]():e!=null&&typeof e.empty=="function"?e.empty():e!=null&&e.constructor!=null&&typeof e.constructor.empty=="function"?e.constructor.empty():Dl(e)?[]:Of(e)?"":my(e)?{}:oE(e)?(function(){return arguments})():(function(n){var a=Object.prototype.toString.call(n);return a==="[object Uint8ClampedArray]"||a==="[object Int8Array]"||a==="[object Uint8Array]"||a==="[object Int16Array]"||a==="[object Uint16Array]"||a==="[object Int32Array]"||a==="[object Uint32Array]"||a==="[object Float32Array]"||a==="[object Float64Array]"||a==="[object BigInt64Array]"||a==="[object BigUint64Array]"})(e)?e.constructor.from(""):void 0}));const nj=rj,Bf=_r((function(e){return e!=null&&Pu(e,nj(e))})),vS=ja(1,Fp(Array.isArray)?Array.isArray:mo(Fs,Dp("Array"))),aj=Rf(vS,Bf);var oj=ja(3,(function(t,e,r){var n=ro(t,r),a=ro(ZC(t),r);if(!tj(n)&&!aj(t)){var o=tE(n,a);return ej(o,e)}}));const qf=oj;class bS extends Ge.g${constructor(){super(),this.register("annotation",Oy),this.register("comment",ky),this.register("parseResult",$s)}}const ij=new bS,Ac=t=>{const e=new bS;return Ls(t)&&e.use(t),e},wS=ij,ES=()=>({predicates:{...B},namespace:wS}),SS={toolboxCreator:ES,visitorOptions:{nodeTypeGetter:Xh,exposeEdits:!0}},ql=(t,e,r={})=>{if(e.length===0)return t;const n=Py(SS,r),{toolboxCreator:a,visitorOptions:o}=n,p=a(),c=e.map((x=>x(p))),d=Cy(c.map(uy({},"visitor")),{...o});c.forEach(qf(["pre"],[]));const E=Pa(t,d,o);return c.forEach(qf(["post"],[])),E};ql[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,r={})=>{if(e.length===0)return t;const n=Py(SS,r),{toolboxCreator:a,visitorOptions:o}=n,p=a(),c=e.map((P=>P(p))),d=Cy[Symbol.for("nodejs.util.promisify.custom")],E=Pa[Symbol.for("nodejs.util.promisify.custom")],x=d(c.map(uy({},"visitor")),{...o});await Promise.allSettled(c.map(qf(["pre"],[])));const k=await E(t,x,o);return await Promise.allSettled(c.map(qf(["post"],[]))),k};const sj=(t,{Type:e,plugins:r=[]})=>{const n=new e(t);return da(t)&&(t.meta.length>0&&(n.meta=hr(t.meta)),t.attributes.length>0&&(n.attributes=hr(t.attributes))),ql(n,r,{toolboxCreator:ES,visitorOptions:{nodeTypeGetter:Xh}})},qs=t=>(e,r={})=>sj(e,{...r,Type:t});Ge.Sh.refract=qs(Ge.Sh),Ge.wE.refract=qs(Ge.wE),Ge.Om.refract=qs(Ge.Om),Ge.bd.refract=qs(Ge.bd),Ge.Os.refract=qs(Ge.Os),Ge.kT.refract=qs(Ge.kT),Ge.Ft.refract=qs(Ge.Ft),Ge.sI.refract=qs(Ge.sI),Oy.refract=qs(Oy),ky.refract=qs(ky),$s.refract=qs($s);const Ny=(t,e=new WeakMap)=>(Bs(t)?(e.set(t.key,t),Ny(t.key,e),e.set(t.value,t),Ny(t.value,e)):t.children.forEach((r=>{e.set(r,t),Ny(r,e)})),e),lj=class{element;edges;constructor({element:e}){this.element=e}transclude(e,r){var n;if(e===this.element)return r;if(e===r)return this.element;this.edges=(n=this.edges)!==null&&n!==void 0?n:Ny(this.element);const a=this.edges.get(e);return Iu(a)?void 0:(hn(a)?((o,p,c)=>{const d=c.get(o);hn(d)&&(d.content=d.map(((E,x,k)=>k===o?(c.delete(o),c.set(p,d),p):k)))})(e,r,this.edges):vo(a)?((o,p,c)=>{const d=c.get(o);vo(d)&&(d.content=d.map((E=>E===o?(c.delete(o),c.set(p,d),p):E)))})(e,r,this.edges):Bs(a)&&((o,p,c)=>{const d=c.get(o);Bs(d)&&(d.key===o&&(d.key=p,c.delete(o),c.set(p,d)),d.value===o&&(d.value=p,c.delete(o),c.set(p,d)))})(e,r,this.edges),this.element)}},rs=t=>{const e=t.indexOf("#");return(r=>{try{const n=r.startsWith("#")?r.slice(1):r;return decodeURIComponent(n)}catch{return r}})(e===-1?"#":t.substring(e))},ns=function(){const e=Br,r=Ni,n=this,a="parser.js: Parser(): ";n.ast=void 0,n.stats=void 0,n.trace=void 0,n.callbacks=[];let o,p,c,d,E,x,k,P=0,R=0,L=0,V=0,Q=0,J=new function(){this.state=e.ACTIVE,this.phraseLength=0,this.refresh=()=>{this.state=e.ACTIVE,this.phraseLength=0}};n.parse=(ve,be,ce,_e)=>{const Ae=`${a}parse(): `;P=0,R=0,L=0,V=0,Q=0,o=void 0,p=void 0,c=void 0,d=void 0,J.refresh(),E=void 0,x=void 0,k=void 0,d=r.stringToChars(ce),o=ve.rules,p=ve.udts;const xe=be.toLowerCase();let Oe;for(const G in o)if(o.hasOwnProperty(G)&&xe===o[G].lower){Oe=o[G].index;break}if(Oe===void 0)throw new Error(`${Ae}start rule name '${startRule}' not recognized`);(()=>{const G=`${a}initializeCallbacks(): `;let de,Ne;for(E=[],x=[],de=0;de<o.length;de+=1)E[de]=void 0;for(de=0;de<p.length;de+=1)x[de]=void 0;const Ye=[];for(de=0;de<o.length;de+=1)Ye.push(o[de].lower);for(de=0;de<p.length;de+=1)Ye.push(p[de].lower);for(const ht in n.callbacks)if(n.callbacks.hasOwnProperty(ht)){if(de=Ye.indexOf(ht.toLowerCase()),de<0)throw new Error(`${G}syntax callback '${ht}' not a rule or udt name`);if(Ne=n.callbacks[ht]?n.callbacks[ht]:void 0,typeof Ne!="function"&&Ne!==void 0)throw new Error(`${G}syntax callback[${ht}] must be function reference or falsy)`);de<o.length?E[de]=Ne:x[de-o.length]=Ne}})(),n.trace&&n.trace.init(o,p,d),n.stats&&n.stats.init(o,p),n.ast&&n.ast.init(o,p,d),k=_e,c=[{type:e.RNM,index:Oe}],le(0,0),c=void 0;let je=!1;switch(J.state){case e.ACTIVE:throw new Error(`${Ae}final state should never be 'ACTIVE'`);case e.NOMATCH:je=!1;break;case e.EMPTY:case e.MATCH:je=J.phraseLength===d.length;break;default:throw new Error("unrecognized state")}return{success:je,state:J.state,stateName:e.idName(J.state),length:d.length,matched:J.phraseLength,maxMatched:Q,maxTreeDepth:L,nodeHits:V}};const re=(ve,be,ce,_e)=>{if(be.phraseLength>ce){let Ae=`${a}opRNM(${ve.name}): callback function error: `;throw Ae+=`sysData.phraseLength: ${be.phraseLength}`,Ae+=` must be <= remaining chars: ${ce}`,new Error(Ae)}switch(be.state){case e.ACTIVE:if(!_e)throw new Error(`${a}opRNM(${ve.name}): callback function return error. ACTIVE state not allowed.`);break;case e.EMPTY:be.phraseLength=0;break;case e.MATCH:be.phraseLength===0&&(be.state=e.EMPTY);break;case e.NOMATCH:be.phraseLength=0;break;default:throw new Error(`${a}opRNM(${ve.name}): callback function return error. Unrecognized return state: ${be.state}`)}},me=(ve,be)=>{let ce,_e,Ae;const xe=c[ve],Oe=p[xe.index];J.UdtIndex=Oe.index,P||(Ae=n.ast&&n.ast.udtDefined(xe.index),Ae&&(_e=o.length+xe.index,ce=n.ast.getLength(),n.ast.down(_e,Oe.name)));const je=d.length-be;x[xe.index](J,d,be,k),((G,de,Ne)=>{if(de.phraseLength>Ne){let Ye=`${a}opUDT(${G.name}): callback function error: `;throw Ye+=`sysData.phraseLength: ${de.phraseLength}`,Ye+=` must be <= remaining chars: ${Ne}`,new Error(Ye)}switch(de.state){case e.ACTIVE:throw new Error(`${a}opUDT(${G.name}) ACTIVE state return not allowed.`);case e.EMPTY:if(!G.empty)throw new Error(`${a}opUDT(${G.name}) may not return EMPTY.`);de.phraseLength=0;break;case e.MATCH:if(de.phraseLength===0){if(!G.empty)throw new Error(`${a}opUDT(${G.name}) may not return EMPTY.`);de.state=e.EMPTY}break;case e.NOMATCH:de.phraseLength=0;break;default:throw new Error(`${a}opUDT(${G.name}): callback function return error. Unrecognized return state: ${de.state}`)}})(Oe,J,je),P||Ae&&(J.state===e.NOMATCH?n.ast.setLength(ce):n.ast.up(_e,Oe.name,be,J.phraseLength))},le=(ve,be)=>{const ce=`${a}opExecute(): `,_e=c[ve];switch(V+=1,R>L&&(L=R),R+=1,J.refresh(),n.trace&&n.trace.down(_e,be),_e.type){case e.ALT:((Ae,xe)=>{const Oe=c[Ae];for(let je=0;je<Oe.children.length&&(le(Oe.children[je],xe),J.state===e.NOMATCH);je+=1);})(ve,be);break;case e.CAT:((Ae,xe)=>{let Oe,je,G,de;const Ne=c[Ae];n.ast&&(je=n.ast.getLength()),Oe=!0,G=xe,de=0;for(let Ye=0;Ye<Ne.children.length;Ye+=1){if(le(Ne.children[Ye],G),J.state===e.NOMATCH){Oe=!1;break}G+=J.phraseLength,de+=J.phraseLength}Oe?(J.state=de===0?e.EMPTY:e.MATCH,J.phraseLength=de):(J.state=e.NOMATCH,J.phraseLength=0,n.ast&&n.ast.setLength(je))})(ve,be);break;case e.REP:((Ae,xe)=>{let Oe,je,G,de;const Ne=c[Ae];if(Ne.max===0)return J.state=e.EMPTY,void(J.phraseLength=0);for(je=xe,G=0,de=0,n.ast&&(Oe=n.ast.getLength());!(je>=d.length)&&(le(Ae+1,je),J.state!==e.NOMATCH)&&J.state!==e.EMPTY&&(de+=1,G+=J.phraseLength,je+=J.phraseLength,de!==Ne.max););J.state===e.EMPTY||de>=Ne.min?(J.state=G===0?e.EMPTY:e.MATCH,J.phraseLength=G):(J.state=e.NOMATCH,J.phraseLength=0,n.ast&&n.ast.setLength(Oe))})(ve,be);break;case e.RNM:((Ae,xe)=>{let Oe,je,G;const de=c[Ae],Ne=o[de.index],Ye=E[Ne.index];if(P||(je=n.ast&&n.ast.ruleDefined(de.index),je&&(Oe=n.ast.getLength(),n.ast.down(de.index,o[de.index].name))),Ye){const ht=d.length-xe;Ye(J,d,xe,k),re(Ne,J,ht,!0),J.state===e.ACTIVE&&(G=c,c=Ne.opcodes,le(0,xe),c=G,Ye(J,d,xe,k),re(Ne,J,ht,!1))}else G=c,c=Ne.opcodes,le(0,xe),c=G;P||je&&(J.state===e.NOMATCH?n.ast.setLength(Oe):n.ast.up(de.index,Ne.name,xe,J.phraseLength))})(ve,be);break;case e.TRG:((Ae,xe)=>{const Oe=c[Ae];J.state=e.NOMATCH,xe<d.length&&Oe.min<=d[xe]&&d[xe]<=Oe.max&&(J.state=e.MATCH,J.phraseLength=1)})(ve,be);break;case e.TBS:((Ae,xe)=>{const Oe=c[Ae],je=Oe.string.length;if(J.state=e.NOMATCH,xe+je<=d.length){for(let G=0;G<je;G+=1)if(d[xe+G]!==Oe.string[G])return;J.state=e.MATCH,J.phraseLength=je}})(ve,be);break;case e.TLS:((Ae,xe)=>{let Oe;const je=c[Ae];J.state=e.NOMATCH;const G=je.string.length;if(G!==0){if(xe+G<=d.length){for(let de=0;de<G;de+=1)if(Oe=d[xe+de],Oe>=65&&Oe<=90&&(Oe+=32),Oe!==je.string[de])return;J.state=e.MATCH,J.phraseLength=G}}else J.state=e.EMPTY})(ve,be);break;case e.UDT:me(ve,be);break;case e.AND:((Ae,xe)=>{switch(P+=1,le(Ae+1,xe),P-=1,J.phraseLength=0,J.state){case e.EMPTY:case e.MATCH:J.state=e.EMPTY;break;case e.NOMATCH:J.state=e.NOMATCH;break;default:throw new Error(`opAND: invalid state ${J.state}`)}})(ve,be);break;case e.NOT:((Ae,xe)=>{switch(P+=1,le(Ae+1,xe),P-=1,J.phraseLength=0,J.state){case e.EMPTY:case e.MATCH:J.state=e.NOMATCH;break;case e.NOMATCH:J.state=e.EMPTY;break;default:throw new Error(`opNOT: invalid state ${J.state}`)}})(ve,be);break;default:throw new Error(`${ce}unrecognized operator`)}P||be+J.phraseLength>Q&&(Q=be+J.phraseLength),n.stats&&n.stats.collect(_e,J),n.trace&&n.trace.up(_e,J.state,be,J.phraseLength),R-=1}},ib=function(){const e=Br,r=Ni,n=this;let a,o,p,c=0;const d=[],E=[],x=[];function k(P){let R="";for(;P-- >0;)R+=" ";return R}n.callbacks=[],n.init=(P,R,L)=>{let V;E.length=0,x.length=0,c=0,a=P,o=R,p=L;const Q=[];for(V=0;V<a.length;V+=1)Q.push(a[V].lower);for(V=0;V<o.length;V+=1)Q.push(o[V].lower);for(c=a.length+o.length,V=0;V<c;V+=1)d[V]=void 0;for(const J in n.callbacks)if(n.callbacks.hasOwnProperty(J)){const re=J.toLowerCase();if(V=Q.indexOf(re),V<0)throw new Error(`parser.js: Ast()): init: node '${J}' not a rule or udt name`);d[V]=n.callbacks[J]}},n.ruleDefined=P=>!!d[P],n.udtDefined=P=>!!d[a.length+P],n.down=(P,R)=>{const L=x.length;return E.push(L),x.push({name:R,thisIndex:L,thatIndex:void 0,state:e.SEM_PRE,callbackIndex:P,phraseIndex:void 0,phraseLength:void 0,stack:E.length}),L},n.up=(P,R,L,V)=>{const Q=x.length,J=E.pop();return x.push({name:R,thisIndex:Q,thatIndex:J,state:e.SEM_POST,callbackIndex:P,phraseIndex:L,phraseLength:V,stack:E.length}),x[J].thatIndex=Q,x[J].phraseIndex=L,x[J].phraseLength=V,Q},n.translate=P=>{let R,L;for(let V=0;V<x.length;V+=1)L=x[V],R=d[L.callbackIndex],R&&(L.state===e.SEM_PRE?R(e.SEM_PRE,p,L.phraseIndex,L.phraseLength,P):R&&R(e.SEM_POST,p,L.phraseIndex,L.phraseLength,P))},n.setLength=P=>{x.length=P,E.length=P>0?x[P-1].stack:0},n.getLength=()=>x.length,n.toXml=()=>{let P="",R=0;return P+=`<?xml version="1.0" encoding="utf-8"?>
`,P+=`<root nodes="${x.length/2}" characters="${p.length}">
`,P+=`<!-- input string -->
`,P+=k(R+2),P+=r.charsToString(p),P+=`
`,x.forEach((L=>{L.state===e.SEM_PRE?(R+=1,P+=k(R),P+=`<node name="${L.name}" index="${L.phraseIndex}" length="${L.phraseLength}">
`,P+=k(R+2),P+=r.charsToString(p,L.phraseIndex,L.phraseLength),P+=`
`):(P+=k(R),P+=`</node><!-- name="${L.name}" -->
`,R-=1)})),P+=`</root>
`,P}},cj=function(){const e=Br,r=Ni,n="parser.js: Trace(): ";let a,o,p,c="",d=0;const E=this,x=P=>{let R="",L=0;if(P>=0)for(;P--;)L+=1,L===5?(R+="|",L=0):R+=".";return R};E.init=(P,R,L)=>{o=P,p=R,a=L};const k=P=>{let R;switch(P.type){case e.ALT:R="ALT";break;case e.CAT:R="CAT";break;case e.REP:R=P.max===1/0?`REP(${P.min},inf)`:`REP(${P.min},${P.max})`;break;case e.RNM:R=`RNM(${o[P.index].name})`;break;case e.TRG:R=`TRG(${P.min},${P.max})`;break;case e.TBS:R=P.string.length>6?`TBS(${r.charsToString(P.string,0,3)}...)`:`TBS(${r.charsToString(P.string,0,6)})`;break;case e.TLS:R=P.string.length>6?`TLS(${r.charsToString(P.string,0,3)}...)`:`TLS(${r.charsToString(P.string,0,6)})`;break;case e.UDT:R=`UDT(${p[P.index].name})`;break;case e.AND:R="AND";break;case e.NOT:R="NOT";break;default:throw new Error(`${n}Trace: opName: unrecognized opcode`)}return R};E.down=(P,R)=>{const L=x(d),V=Math.min(100,a.length-R);let Q=r.charsToString(a,R,V);V<a.length-R&&(Q+="..."),Q=`${L}|-|[${k(P)}]${Q}
`,c+=Q,d+=1},E.up=(P,R,L,V)=>{const Q=`${n}trace.up: `;d-=1;const J=x(d);let re,me,le;switch(R){case e.EMPTY:le="|E|",me="''";break;case e.MATCH:le="|M|",re=Math.min(100,V),me=re<V?`'${r.charsToString(a,L,re)}...'`:`'${r.charsToString(a,L,re)}'`;break;case e.NOMATCH:le="|N|",me="";break;default:throw new Error(`${Q} unrecognized state`)}me=`${J}${le}[${k(P)}]${me}
`,c+=me},E.displayTrace=()=>c},uj=function(){const e=Br;let r,n,a;const o=[],p=[],c=[];this.init=(V,Q)=>{r=V,n=Q,R()},this.collect=(V,Q)=>{L(a,Q.state,Q.phraseLength),L(o[V.type],Q.state,Q.phraseLength),V.type===e.RNM&&L(p[V.index],Q.state,Q.phraseLength),V.type===e.UDT&&L(c[V.index],Q.state,Q.phraseLength)},this.displayStats=()=>{let V="";const Q={match:0,empty:0,nomatch:0,total:0},J=(re,me,le,ve,be)=>(Q.match+=me,Q.empty+=le,Q.nomatch+=ve,Q.total+=be,`${re} | ${d(me)} | ${d(le)} | ${d(ve)} | ${d(be)} |
`);return V+=` OPERATOR STATS
`,V+=` | MATCH | EMPTY | NOMATCH | TOTAL |
`,V+=J(" ALT",o[e.ALT].match,o[e.ALT].empty,o[e.ALT].nomatch,o[e.ALT].total),V+=J(" CAT",o[e.CAT].match,o[e.CAT].empty,o[e.CAT].nomatch,o[e.CAT].total),V+=J(" REP",o[e.REP].match,o[e.REP].empty,o[e.REP].nomatch,o[e.REP].total),V+=J(" RNM",o[e.RNM].match,o[e.RNM].empty,o[e.RNM].nomatch,o[e.RNM].total),V+=J(" TRG",o[e.TRG].match,o[e.TRG].empty,o[e.TRG].nomatch,o[e.TRG].total),V+=J(" TBS",o[e.TBS].match,o[e.TBS].empty,o[e.TBS].nomatch,o[e.TBS].total),V+=J(" TLS",o[e.TLS].match,o[e.TLS].empty,o[e.TLS].nomatch,o[e.TLS].total),V+=J(" UDT",o[e.UDT].match,o[e.UDT].empty,o[e.UDT].nomatch,o[e.UDT].total),V+=J(" AND",o[e.AND].match,o[e.AND].empty,o[e.AND].nomatch,o[e.AND].total),V+=J(" NOT",o[e.NOT].match,o[e.NOT].empty,o[e.NOT].nomatch,o[e.NOT].total),V+=J("TOTAL",Q.match,Q.empty,Q.nomatch,Q.total),V},this.displayHits=V=>{let Q="";const J=(re,me,le,ve,be)=>(a.match+=re,a.empty+=me,a.nomatch+=le,a.total+=ve,`| ${d(re)} | ${d(me)} | ${d(le)} | ${d(ve)} | ${be}
`);typeof V=="string"&&V.toLowerCase()[0]==="a"?(p.sort(E),c.sort(E),Q+=` RULES/UDTS ALPHABETICALLY
`):typeof V=="string"&&V.toLowerCase()[0]==="i"?(p.sort(k),c.sort(k),Q+=` RULES/UDTS BY INDEX
`):(p.sort(x),c.sort(x),Q+=` RULES/UDTS BY HIT COUNT
`),Q+=`| MATCH | EMPTY | NOMATCH | TOTAL | NAME
`;for(let re=0;re<p.length;re+=1){let me=p[re];me.total&&(Q+=J(me.match,me.empty,me.nomatch,me.total,me.name))}for(let re=0;re<c.length;re+=1){let me=c[re];me.total&&(Q+=J(me.match,me.empty,me.nomatch,me.total,me.name))}return Q};const d=V=>V<10?` ${V}`:V<100?` ${V}`:V<1e3?` ${V}`:V<1e4?` ${V}`:V<1e5?` ${V}`:V<1e6?` ${V}`:`${V}`,E=(V,Q)=>V.lower<Q.lower?-1:V.lower>Q.lower?1:0,x=(V,Q)=>V.total<Q.total?1:V.total>Q.total?-1:E(V,Q),k=(V,Q)=>V.index<Q.index?-1:V.index>Q.index?1:0,P=function(){this.empty=0,this.match=0,this.nomatch=0,this.total=0},R=()=>{o.length=0,a=new P,o[e.ALT]=new P,o[e.CAT]=new P,o[e.REP]=new P,o[e.RNM]=new P,o[e.TRG]=new P,o[e.TBS]=new P,o[e.TLS]=new P,o[e.UDT]=new P,o[e.AND]=new P,o[e.NOT]=new P,p.length=0;for(let V=0;V<r.length;V+=1)p.push({empty:0,match:0,nomatch:0,total:0,name:r[V].name,lower:r[V].lower,index:r[V].index});if(n.length>0){c.length=0;for(let V=0;V<n.length;V+=1)c.push({empty:0,match:0,nomatch:0,total:0,name:n[V].name,lower:n[V].lower,index:n[V].index})}},L=(V,Q)=>{switch(V.total+=1,Q){case e.EMPTY:V.empty+=1;break;case e.MATCH:V.match+=1;break;case e.NOMATCH:V.nomatch+=1;break;default:throw new Error(`parser.js: Stats(): collect(): incStat(): unrecognized state: ${Q}`)}}},Ni={stringToChars:t=>[...t].map((e=>e.codePointAt(0))),charsToString:(t,e,r)=>{let n=t;for(;!(e===void 0||e<0);){if(r===void 0){n=t.slice(e);break}if(r<=0)return"";n=t.slice(e,e+r);break}return String.fromCodePoint(...n)}},Br={ALT:1,CAT:2,REP:3,RNM:4,TRG:5,TBS:6,TLS:7,UDT:11,AND:12,NOT:13,ACTIVE:100,MATCH:101,EMPTY:102,NOMATCH:103,SEM_PRE:200,SEM_POST:201,SEM_OK:300,idName:t=>{switch(t){case Br.ALT:return"ALT";case Br.CAT:return"CAT";case Br.REP:return"REP";case Br.RNM:return"RNM";case Br.TRG:return"TRG";case Br.TBS:return"TBS";case Br.TLS:return"TLS";case Br.UDT:return"UDT";case Br.AND:return"AND";case Br.NOT:return"NOT";case Br.ACTIVE:return"ACTIVE";case Br.EMPTY:return"EMPTY";case Br.MATCH:return"MATCH";case Br.NOMATCH:return"NOMATCH";case Br.SEM_PRE:return"SEM_PRE";case Br.SEM_POST:return"SEM_POST";case Br.SEM_OK:return"SEM_OK";default:return"UNRECOGNIZED STATE"}}};function Uf(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"json-pointer",lower:"json-pointer",index:0,isBkr:!1},this.rules[1]={name:"reference-token",lower:"reference-token",index:1,isBkr:!1},this.rules[2]={name:"unescaped",lower:"unescaped",index:2,isBkr:!1},this.rules[3]={name:"escaped",lower:"escaped",index:3,isBkr:!1},this.rules[4]={name:"array-location",lower:"array-location",index:4,isBkr:!1},this.rules[5]={name:"array-index",lower:"array-index",index:5,isBkr:!1},this.rules[6]={name:"array-dash",lower:"array-dash",index:6,isBkr:!1},this.rules[7]={name:"slash",lower:"slash",index:7,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:3,min:0,max:1/0},this.rules[0].opcodes[1]={type:2,children:[2,3]},this.rules[0].opcodes[2]={type:4,index:7},this.rules[0].opcodes[3]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:3,min:0,max:1/0},this.rules[1].opcodes[1]={type:1,children:[2,3]},this.rules[1].opcodes[2]={type:4,index:2},this.rules[1].opcodes[3]={type:4,index:3},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:1,children:[1,2,3]},this.rules[2].opcodes[1]={type:5,min:0,max:46},this.rules[2].opcodes[2]={type:5,min:48,max:125},this.rules[2].opcodes[3]={type:5,min:127,max:1114111},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:2,children:[1,2]},this.rules[3].opcodes[1]={type:7,string:[126]},this.rules[3].opcodes[2]={type:1,children:[3,4]},this.rules[3].opcodes[3]={type:7,string:[48]},this.rules[3].opcodes[4]={type:7,string:[49]},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:1,children:[1,2]},this.rules[4].opcodes[1]={type:4,index:5},this.rules[4].opcodes[2]={type:4,index:6},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:1,children:[1,2]},this.rules[5].opcodes[1]={type:6,string:[48]},this.rules[5].opcodes[2]={type:2,children:[3,4]},this.rules[5].opcodes[3]={type:5,min:49,max:57},this.rules[5].opcodes[4]={type:3,min:0,max:1/0},this.rules[5].opcodes[5]={type:5,min:48,max:57},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:7,string:[45]},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:7,string:[47]},this.toString=function(){return`; JavaScript Object Notation (JSON) Pointer ABNF syntax
; https://datatracker.ietf.org/doc/html/rfc6901
json-pointer = *( slash reference-token ) ; MODIFICATION: surrogate text rule used
reference-token = *( unescaped / escaped )
unescaped = %x00-2E / %x30-7D / %x7F-10FFFF
; %x2F ('/') and %x7E ('~') are excluded from 'unescaped'
escaped = "~" ( "0" / "1" )
; representing '~' and '/', respectively
; https://datatracker.ietf.org/doc/html/rfc6901#section-4
array-location = array-index / array-dash
array-index = %x30 / ( %x31-39 *(%x30-39) )
; "0", or digits without a leading "0"
array-dash = "-"
; Surrogate named rules
slash = "/"
`}}class pj extends Error{constructor(e,r=void 0){if(super(e,r),this.name=this.constructor.name,typeof e=="string"&&(this.message=e),typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,r!=null&&typeof r=="object"&&Object.prototype.hasOwnProperty.call(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}`)}if(r!=null&&typeof r=="object"){const{cause:n,...a}=r;Object.assign(this,a)}}}const Du=pj,xS=class extends Du{},sb=t=>(e,r,n,a,o)=>{if(typeof o!="object"||o===null||Array.isArray(o))throw new xS("parser's user data must be an object");if(e===Br.SEM_PRE){const p={type:t,text:Ni.charsToString(r,n,a),start:n,length:a,children:[]};o.stack.length>0?o.stack[o.stack.length-1].children.push(p):o.root=p,o.stack.push(p)}e===Br.SEM_POST&&o.stack.pop()},hj=class extends ib{constructor(){super(),this.callbacks["json-pointer"]=sb("json-pointer"),this.callbacks["reference-token"]=sb("reference-token"),this.callbacks.slash=sb("text")}getTree(){const e={stack:[],root:null};return this.translate(e),delete e.stack,e}},dj=t=>{if(typeof t!="string")throw new TypeError("Reference token must be a string");return t.replace(/~1/g,"/").replace(/~0/g,"~")},fj=class extends hj{getTree(){const{root:e}=super.getTree();return e.children.filter((({type:r})=>r==="reference-token")).map((({text:r})=>dj(r)))}},mj=class extends Array{toString(){return this.map((e=>`"${String(e)}"`)).join(", ")}},gj=class extends cj{inferExpectations(){const e=this.displayTrace().split(`
`),r=new Set;let n=-1;for(let a=0;a<e.length;a++){const o=e[a];if(o.includes("M|")){const p=o.match(/]'(.*)'$/);p&&p[1]&&(n=a)}if(a>n){const p=o.match(/N\|\[TLS\(([^)]+)\)]/);p&&r.add(p[1])}}return new mj(...r)}},yj=new Uf,vj=(t,{translator:e=new fj,stats:r=!1,trace:n=!1}={})=>{if(typeof t!="string")throw new TypeError("JSON Pointer must be a string");try{const a=new ns;e&&(a.ast=e),r&&(a.stats=new uj),n&&(a.trace=new gj);const o=a.parse(yj,"json-pointer",t);return{result:o,tree:o.success&&e?a.ast.getTree():void 0,stats:a.stats,trace:a.trace}}catch(a){throw new xS("Unexpected error during JSON Pointer parsing",{cause:a,jsonPointer:t})}};new Uf,new ns,new Uf,new ns;const bj=new Uf,wj=new ns,Ej=t=>{if(typeof t!="string")return!1;try{return wj.parse(bj,"array-index",t).success}catch{return!1}},Sj=new Uf,xj=new ns,_j=t=>{if(typeof t!="string")return!1;try{return xj.parse(Sj,"array-dash",t).success}catch{return!1}},Oj=t=>{if(typeof t!="string"&&typeof t!="number")throw new TypeError("Reference token must be a string or number");return String(t).replace(/~/g,"~0").replace(/\//g,"~1")},kj=class extends Du{},_S=t=>{if(!Array.isArray(t))throw new TypeError("Reference tokens must be a list of strings or numbers");try{return t.length===0?"":`/${t.map((e=>{if(typeof e!="string"&&typeof e!="number")throw new TypeError("Reference token must be a string or number");return Oj(String(e))})).join("/")}`}catch(e){throw new kj("Unexpected error during JSON Pointer compilation",{cause:e,referenceTokens:t})}},Aj=class{#e;#t;#r;constructor(e,r={}){this.#e=e,this.#e.steps=[],this.#e.failed=!1,this.#e.failedAt=-1,this.#e.message=`JSON Pointer "${r.jsonPointer}" was successfully evaluated against the provided value`,this.#e.context={...r,realm:r.realm.name},this.#t=[],this.#r=r.realm}step({referenceToken:e,input:r,output:n,success:a=!0,reason:o}){const p=this.#t.length;this.#t.push(e);const c={referenceToken:e,referenceTokenPosition:p,input:r,inputType:this.#r.isObject(r)?"object":this.#r.isArray(r)?"array":"unrecognized",output:n,success:a};o&&(c.reason=o),this.#e.steps.push(c),a||(this.#e.failed=!0,this.#e.failedAt=p,this.#e.message=o)}},OS=class{name="";isArray(e){throw new Du("Realm.isArray(node) must be implemented in a subclass")}isObject(e){throw new Du("Realm.isObject(node) must be implemented in a subclass")}sizeOf(e){throw new Du("Realm.sizeOf(node) must be implemented in a subclass")}has(e,r){throw new Du("Realm.has(node) must be implemented in a subclass")}evaluate(e,r){throw new Du("Realm.evaluate(node) must be implemented in a subclass")}},Bp=class extends Du{},Qh=class extends Bp{},Cj=class extends OS{name="json";isArray(e){return Array.isArray(e)}isObject(e){return typeof e=="object"&&e!==null&&!this.isArray(e)}sizeOf(e){return this.isArray(e)?e.length:this.isObject(e)?Object.keys(e).length:0}has(e,r){if(this.isArray(e)){const n=Number(r),a=n>>>0;if(n!==a)throw new Qh(`Invalid array index "${r}": index must be an unsinged 32-bit integer`,{referenceToken:r,currentValue:e,realm:this.name});return a<this.sizeOf(e)&&Object.prototype.hasOwnProperty.call(e,n)}return!!this.isObject(e)&&Object.prototype.hasOwnProperty.call(e,r)}evaluate(e,r){return this.isArray(e)?e[Number(r)]:e[r]}},jj=class extends Bp{},kS=class extends Bp{},Pj=(t,e,{strictArrays:r=!0,strictObjects:n=!0,realm:a=new Cj,trace:o=!0}={})=>{const{result:p,tree:c,trace:d}=vj(e,{trace:!!o}),E=typeof o=="object"&&o!==null?new Aj(o,{jsonPointer:e,referenceTokens:c,strictArrays:r,strictObjects:n,realm:a,value:t}):null;try{let x;if(!p.success){let k=`Invalid JSON Pointer: "${e}". Syntax error at position ${p.maxMatched}`;throw k+=d?`, expected ${d.inferExpectations()}`:"",new Bp(k,{jsonPointer:e,currentValue:t,realm:a.name})}return c.reduce(((k,P,R)=>{if(a.isArray(k)){if(_j(P)){if(r)throw new Qh(`Invalid array index "-" at position ${R} in "${e}". The "-" token always refers to a nonexistent element during evaluation`,{jsonPointer:e,referenceTokens:c,referenceToken:P,referenceTokenPosition:R,currentValue:k,realm:a.name});return x=a.evaluate(k,String(a.sizeOf(k))),E?.step({referenceToken:P,input:k,output:x}),x}if(!Ej(P))throw new Qh(`Invalid array index "${P}" at position ${R} in "${e}": index MUST be "0", or digits without a leading "0"`,{jsonPointer:e,referenceTokens:c,referenceToken:P,referenceTokenPosition:R,currentValue:k,realm:a.name});const L=Number(P);if(!Number.isSafeInteger(L))throw new Qh(`Invalid array index "${P}" at position ${R} in "${e}": index must be a safe integer`,{jsonPointer:e,referenceTokens:c,referenceToken:P,referenceTokenPosition:R,currentValue:k,realm:a.name});if(!a.has(k,P)&&r)throw new Qh(`Invalid array index "${P}" at position ${R} in "${e}": index not found in array`,{jsonPointer:e,referenceTokens:c,referenceToken:P,referenceTokenPosition:R,currentValue:k,realm:a.name});return x=a.evaluate(k,P),E?.step({referenceToken:P,input:k,output:x}),x}if(a.isObject(k)){if(!a.has(k,P)&&n)throw new kS(`Invalid object key "${P}" at position ${R} in "${e}": key not found in object`,{jsonPointer:e,referenceTokens:c,referenceToken:P,referenceTokenPosition:R,currentValue:k,realm:a.name});return x=a.evaluate(k,P),E?.step({referenceToken:P,input:k,output:x}),x}throw new jj(`Invalid reference token "${P}" at position ${R} in "${e}": cannot be applied to a non-object/non-array value`,{jsonPointer:e,referenceTokens:c,referenceToken:P,referenceTokenPosition:R,currentValue:k,realm:a.name})}),t)}catch(x){throw E?.step({referenceToken:x.referenceToken,input:x.currentValue,success:!1,reason:x.message}),x instanceof Bp?x:new Bp("Unexpected error during JSON Pointer evaluation",{cause:x,jsonPointer:e,referenceTokens:c})}},Nj=class extends OS{name="apidom";isArray(e){return vo(e)}isObject(e){return hn(e)}sizeOf(e){return this.isArray(e)||this.isObject(e)?e.length:0}has(e,r){if(this.isArray(e)){const n=Number(r),a=n>>>0;if(n!==a)throw new Qh(`Invalid array index "${r}": index must be an unsinged 32-bit integer`,{referenceToken:r,currentValue:e,realm:this.name});return a<this.sizeOf(e)}if(this.isObject(e)){const n=e.keys(),a=new Set(n);if(n.length!==a.size)throw new kS(`Object key "${r}" is not unique — JSON Pointer requires unique member names`,{referenceToken:r,currentValue:e,realm:this.name});return e.hasKey(r)}return!1}evaluate(e,r){return this.isArray(e)?e.get(Number(r)):e.get(r)}},Us=(t,e,r={})=>Pj(t,e,{...r,realm:new Nj});class Tj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="callback"}}const zf=Tj;class Ij extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get requestBodies(){return this.get("requestBodies")}set requestBodies(e){this.set("requestBodies",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}}const Vf=Ij;class Mj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}}const Jf=Mj;class Rj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="discriminator"}get propertyName(){return this.get("propertyName")}set propertyName(e){this.set("propertyName",e)}get mapping(){return this.get("mapping")}set mapping(e){this.set("mapping",e)}}const Wf=Rj;class Dj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="encoding"}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowedReserved(){return this.get("allowedReserved")}set allowedReserved(e){this.set("allowedReserved",e)}}const Ty=Dj;class Fj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="example"}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get value(){return this.get("value")}set value(e){this.set("value",e)}get externalValue(){return this.get("externalValue")}set externalValue(e){this.set("externalValue",e)}}const Hf=Fj;class Lj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Kf=Lj;class AS extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new Ge.bd(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Ge.bd(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(AS.prototype,"description",{get(){return this.get("description")},set(t){this.set("description",t)},enumerable:!0});const Gf=AS;class $j extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}}const Yf=$j;class Bj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Xf=Bj;class qj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="link"}get operationRef(){return this.get("operationRef")}set operationRef(e){this.set("operationRef",e)}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get operation(){var e,r;return Ir(this.operationRef)?(e=this.operationRef)===null||e===void 0?void 0:e.meta.get("operation"):Ir(this.operationId)?(r=this.operationId)===null||r===void 0?void 0:r.meta.get("operation"):void 0}set operation(e){this.set("operation",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get server(){return this.get("server")}set server(e){this.set("server",e)}}const Qf=qj;class Uj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="mediaType"}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get encoding(){return this.get("encoding")}set encoding(e){this.set("encoding",e)}}const Zf=Uj;class zj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}}const Iy=zj;class Vj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}}const My=Vj;class Jj extends Ge.Om{constructor(e,r,n){super(e,r,n),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const em=Jj;class Wj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="openApi3_0",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const Ry=Wj;class Hj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="operation"}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}set externalDocs(e){this.set("externalDocs",e)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Ge.bd(!1)}set deprecated(e){this.set("deprecated",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get servers(){return this.get("severs")}set servers(e){this.set("servers",e)}}const tm=Hj;class CS extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="parameter"}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get required(){return this.hasKey("required")?this.get("required"):new Ge.bd(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Ge.bd(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(CS.prototype,"description",{get(){return this.get("description")},set(t){this.set("description",t)},enumerable:!0});const rm=CS;class Kj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}}const nm=Kj;class Gj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="paths"}}const am=Gj;class Yj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const om=Yj;class Xj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="requestBody"}get description(){return this.get("description")}set description(e){this.set("description",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get required(){return this.hasKey("required")?this.get("required"):new Ge.bd(!1)}set required(e){this.set("required",e)}}const im=Xj;class Qj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="response"}get description(){return this.get("description")}set description(e){this.set("description",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}}const sm=Qj;class Zj extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}}const lm=Zj,Zr=class extends Mt{};class e3 extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Zh=e3;class t3 extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const ed=t3;class r3 extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const cm=r3;class n3 extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const um=n3,Dy=t=>{const e=t.meta.length>0?hr(t.meta):void 0,r=t.attributes.length>0?hr(t.attributes):void 0;return new t.constructor(void 0,e,r)},Fy=(t,e)=>e.clone&&e.isMergeableElement(t)?td(Dy(t),t,e):t,Ly={clone:!0,isMergeableElement:t=>hn(t)||vo(t),arrayElementMerge:(t,e,r)=>t.concat(e)["fantasy-land/map"]((n=>Fy(n,r))),objectElementMerge:(t,e,r)=>{const n=hn(t)?Dy(t):Dy(e);return hn(t)&&t.forEach(((a,o,p)=>{const c=no(p);c.value=Fy(a,r),n.content.push(c)})),e.forEach(((a,o,p)=>{const c=Et(o);let d;if(hn(t)&&t.hasKey(c)&&r.isMergeableElement(a)){const E=t.get(c);d=no(p),d.value=((x,k)=>{if(typeof k.customMerge!="function")return td;const P=k.customMerge(x,k);return typeof P=="function"?P:td})(o,r)(E,a,r)}else d=no(p),d.value=Fy(a,r);n.remove(c),n.content.push(d)})),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0},td=(t,e,r)=>{var n,a,o;const p={...Ly,...r};p.isMergeableElement=(n=p.isMergeableElement)!==null&&n!==void 0?n:Ly.isMergeableElement,p.arrayElementMerge=(a=p.arrayElementMerge)!==null&&a!==void 0?a:Ly.arrayElementMerge,p.objectElementMerge=(o=p.objectElementMerge)!==null&&o!==void 0?o:Ly.objectElementMerge;const c=vo(e);if(c!==vo(t))return Fy(e,p);const d=c&&typeof p.arrayElementMerge=="function"?p.arrayElementMerge(t,e,p):p.objectElementMerge(t,e,p);return d.meta=(E=>typeof E.customMetaMerge!="function"?x=>hr(x):E.customMetaMerge)(p)(t.meta,e.meta),d.attributes=(E=>typeof E.customAttributesMerge!="function"?x=>hr(x):E.customAttributesMerge)(p)(t.attributes,e.attributes),d};td.all=(t,e)=>{if(!Array.isArray(t))throw new TypeError("First argument of deepmerge should be an array.");return t.length===0?new Ge.Sh:t.reduce(((r,n)=>td(r,n,e)),Dy(t[0]))};const qp=td,jS=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,r){(e.meta.length>0||r.meta.length>0)&&(r.meta=qp(r.meta,e.meta)),Gh(e)&&ob(r,e),(e.attributes.length>0||e.meta.length>0)&&(r.attributes=qp(r.attributes,e.attributes))}},gn=class extends jS{enter(e){return this.element=hr(e),on}},PS=(t,e,r=[])=>{const n=Object.getOwnPropertyDescriptors(e);for(let a of r)delete n[a];Object.defineProperties(t,n)},pm=(t,e=[t])=>{const r=Object.getPrototypeOf(t);return r===null?e:pm(r,[...e,r])},NS=(t,e,r=[])=>{var n;const a=(n=((...c)=>{if(c.length===0)return;let d;const E=c.map((x=>pm(x)));for(;E.every((x=>x.length>0));){const x=E.map((P=>P.pop())),k=x[0];if(!x.every((P=>P===k)))break;d=k}return d})(...t))!==null&&n!==void 0?n:Object.prototype,o=Object.create(a),p=pm(a);for(let c of t){let d=pm(c);for(let E=d.length-1;E>=0;E--){let x=d[E];p.indexOf(x)===-1&&(PS(o,x,["constructor",...r]),p.push(x))}}return o.constructor=e,o},lb=t=>t.filter(((e,r)=>t.indexOf(e)==r)),TS=new WeakMap,a3=t=>TS.get(t),IS=(t,e)=>{var r,n;const a=lb([...Object.getOwnPropertyNames(t),...Object.getOwnPropertyNames(e)]),o={};for(let p of a)o[p]=lb([...(r=t?.[p])!==null&&r!==void 0?r:[],...(n=e?.[p])!==null&&n!==void 0?n:[]]);return o},MS=(t,e)=>{var r,n,a,o;return{property:IS((r=t?.property)!==null&&r!==void 0?r:{},(n=e?.property)!==null&&n!==void 0?n:{}),method:IS((a=t?.method)!==null&&a!==void 0?a:{},(o=e?.method)!==null&&o!==void 0?o:{})}},o3=(t,e)=>{var r,n,a,o,p,c;return{class:lb([...(r=t?.class)!==null&&r!==void 0?r:[],...(n=e?.class)!==null&&n!==void 0?n:[]]),static:MS((a=t?.static)!==null&&a!==void 0?a:{},(o=e?.static)!==null&&o!==void 0?o:{}),instance:MS((p=t?.instance)!==null&&p!==void 0?p:{},(c=e?.instance)!==null&&c!==void 0?c:{})}},i3=new Map,s3=(...t)=>{const e=((...r)=>{var n;const a=new Set,o=new Set([...r]);for(;o.size>0;)for(let p of o){const c=pm(p.prototype).map((E=>E.constructor)),d=[...c,...(n=a3(p))!==null&&n!==void 0?n:[]].filter((E=>!a.has(E)));for(let E of d)o.add(E);a.add(p),o.delete(p)}return[...a]})(...t).map((r=>i3.get(r))).filter((r=>!!r));return e.length==0?{}:e.length==1?e[0]:e.reduce(((r,n)=>o3(r,n)))};function Vt(...t){var e,r,n;const a=t.map((E=>E.prototype));function o(...E){for(const x of t)PS(this,new x(...E))}o.prototype=NS(a,o),Object.setPrototypeOf(o,NS(t,null,["prototype"]));let p=o;{const E=s3(...t);for(let x of(e=E?.class)!==null&&e!==void 0?e:[]){const k=x(p);k&&(p=k)}RS((r=E?.static)!==null&&r!==void 0?r:{},p),RS((n=E?.instance)!==null&&n!==void 0?n:{},p.prototype)}var c,d;return c=p,d=t,TS.set(c,d),p}const RS=(t,e)=>{const r=t.property,n=t.method;if(r)for(let a in r)for(let o of r[a])o(e,a);if(n)for(let a in n)for(let o of n[a])o(e,a,Object.getOwnPropertyDescriptor(e,a))},l3=_r((function(e){return ja(Vh(fE,0,mE("length",e)),(function(){for(var r=0,n=e.length;r<n;){if(!e[r].apply(this,arguments))return!1;r+=1}return!0}))})),DS=_r((function(e){return!Bf(e)})),c3=Tr((function(e,r){return e||r}));var u3=If(ja(1,Rf(QE,Tr((function(e,r){return S0(e)?function(){return e.apply(this,arguments)||r.apply(this,arguments)}:k0(c3)(e,r)}))(ZE,Fp))));const $y=l3([Lp,u3,DS]),FS=Tr((function(e,r){for(var n={},a=0;a<e.length;)e[a]in r&&(n[e[a]]=r[e[a]]),a+=1;return n})),Ti=class extends jS{specObj;passingOptionsNames=["specObj","parent"];constructor({specObj:e,...r}){super({...r}),this.specObj=e}retrievePassingOptions(){return FS(this.passingOptionsNames,this)}retrieveFixedFields(e){const r=ro(["visitors",...e,"fixedFields"],this.specObj);return typeof r=="object"&&r!==null?Object.keys(r):[]}retrieveVisitor(e){return W0(Fp,["visitors",...e],this.specObj)?ro(["visitors",...e],this.specObj):ro(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,r={}){const n=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...n,...r})}toRefractedElement(e,r,n={}){const a=this.retrieveVisitorInstance(e,n);return a instanceof gn&&a?.constructor===gn?hr(r):(Pa(r,a,n),a.element)}},Up=class extends Ti{specPath;ignoredFields;constructor({specPath:e,ignoredFields:r,...n}){super({...n}),this.specPath=e,this.ignoredFields=r||[]}ObjectElement(e){const r=this.specPath(e),n=this.retrieveFixedFields(r);return e.forEach(((a,o,p)=>{if(Ir(o)&&n.includes(Et(o))&&!this.ignoredFields.includes(Et(o))){const c=this.toRefractedElement([...r,"fixedFields",Et(o)],a),d=new Ge.Pr(hr(o),c);this.copyMetaAndAttributes(p,d),d.classes.push("fixed-field"),this.element.content.push(d)}else this.ignoredFields.includes(Et(o))||this.element.content.push(hr(p))})),this.copyMetaAndAttributes(e,this.element),on}},Na=class{parent;constructor({parent:e}){this.parent=e}},LS=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Zh||t(n)&&e("JSONSchemaDraft4",n)&&r("object",n))),cb=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ed||t(n)&&e("JSONReference",n)&&r("object",n))),$S=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof cm||t(n)&&e("media",n)&&r("object",n))),p3=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof um||t(n)&&e("linkDescription",n)&&r("object",n)));class h3 extends Vt(Up,Na,gn){constructor(e){super(e),this.element=new Zh,this.specPath=jr(["document","objects","JSONSchema"])}get defaultDialectIdentifier(){return"http://json-schema.org/draft-04/schema#"}ObjectElement(e){return this.handleDialectIdentifier(e),this.handleSchemaIdentifier(e),this.parent=this.element,Up.prototype.ObjectElement.call(this,e)}handleDialectIdentifier(e){if(Iu(this.parent)&&!Ir(e.get("$schema")))this.element.setMetaProperty("inheritedDialectIdentifier",this.defaultDialectIdentifier);else if(LS(this.parent)&&!Ir(e.get("$schema"))){const r=Jh(Et(this.parent.meta.get("inheritedDialectIdentifier")),Et(this.parent.$schema));this.element.setMetaProperty("inheritedDialectIdentifier",r)}}handleSchemaIdentifier(e,r="id"){const n=this.parent!==void 0?hr(this.parent.getMetaProperty("ancestorsSchemaIdentifiers",[])):new Ge.wE,a=Et(e.get(r));$y(a)&&n.push(a),this.element.setMetaProperty("ancestorsSchemaIdentifiers",n)}}const BS=h3,Ul=t=>hn(t)&&t.hasKey("$ref");class d3 extends Vt(Ti,Na,gn){ObjectElement(e){const r=Ul(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(r,e),on}ArrayElement(e){return this.element=new Ge.wE,this.element.classes.push("json-schema-items"),e.forEach((r=>{const n=Ul(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],a=this.toRefractedElement(n,r);this.element.push(a)})),this.copyMetaAndAttributes(e,this.element),on}}const qS=d3,f3=class extends gn{ArrayElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-required"),r}},m3=class extends Ti{specPath;ignoredFields;fieldPatternPredicate=rb;constructor({specPath:e,ignoredFields:r,fieldPatternPredicate:n,...a}){super({...a}),this.specPath=e,this.ignoredFields=r||[],typeof n=="function"&&(this.fieldPatternPredicate=n)}ObjectElement(e){return e.forEach(((r,n,a)=>{if(!this.ignoredFields.includes(Et(n))&&this.fieldPatternPredicate(Et(n))){const o=this.specPath(r),p=this.toRefractedElement(o,r),c=new Ge.Pr(hr(n),p);this.copyMetaAndAttributes(a,c),c.classes.push("patterned-field"),this.element.content.push(c)}else this.ignoredFields.includes(Et(n))||this.element.content.push(hr(a))})),this.copyMetaAndAttributes(e,this.element),on}},Fu=class extends m3{constructor(e){super(e),this.fieldPatternPredicate=$y}};class g3 extends Vt(Fu,Na,gn){constructor(e){super(e),this.element=new Ge.Sh,this.element.classes.push("json-schema-properties"),this.specPath=r=>Ul(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const y3=g3;class v3 extends Vt(Fu,Na,gn){constructor(e){super(e),this.element=new Ge.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=r=>Ul(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const b3=v3;class w3 extends Vt(Fu,Na,gn){constructor(e){super(e),this.element=new Ge.Sh,this.element.classes.push("json-schema-dependencies"),this.specPath=r=>Ul(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const E3=w3,S3=class extends gn{ArrayElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-enum"),r}},x3=class extends gn{StringElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-type"),r}ArrayElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-type"),r}};class _3 extends Vt(Ti,Na,gn){constructor(e){super(e),this.element=new Ge.wE,this.element.classes.push("json-schema-allOf")}ArrayElement(e){return e.forEach((r=>{const n=Ul(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],a=this.toRefractedElement(n,r);this.element.push(a)})),this.copyMetaAndAttributes(e,this.element),on}}const O3=_3;class k3 extends Vt(Ti,Na,gn){constructor(e){super(e),this.element=new Ge.wE,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){return e.forEach((r=>{const n=Ul(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],a=this.toRefractedElement(n,r);this.element.push(a)})),this.copyMetaAndAttributes(e,this.element),on}}const A3=k3;class C3 extends Vt(Ti,Na,gn){constructor(e){super(e),this.element=new Ge.wE,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){return e.forEach((r=>{const n=Ul(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],a=this.toRefractedElement(n,r);this.element.push(a)})),this.copyMetaAndAttributes(e,this.element),on}}const j3=C3;class P3 extends Vt(Fu,Na,gn){constructor(e){super(e),this.element=new Ge.Sh,this.element.classes.push("json-schema-definitions"),this.specPath=r=>Ul(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const N3=P3;class T3 extends Vt(Ti,Na,gn){constructor(e){super(e),this.element=new Ge.wE,this.element.classes.push("json-schema-links")}ArrayElement(e){return e.forEach((r=>{const n=this.toRefractedElement(["document","objects","LinkDescription"],r);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),on}}const I3=T3;class M3 extends Vt(Up,gn){constructor(e){super(e),this.element=new ed,this.specPath=jr(["document","objects","JSONReference"])}ObjectElement(e){const r=Up.prototype.ObjectElement.call(this,e);return Ir(this.element.$ref)&&this.element.classes.push("reference-element"),r}}const R3=M3,D3=class extends gn{StringElement(e){const r=this.enter(e);return this.element.classes.push("reference-value"),r}},ub=ha((function(e,r,n){return ja(Math.max(e.length,r.length,n.length),(function(){return e.apply(this,arguments)?r.apply(this,arguments):n.apply(this,arguments)}))})),F3=_r((function(e){return function(r,n){return e(r,n)?-1:e(n,r)?1:0}}));var L3=Tr((function(e,r){return Array.prototype.slice.call(r,0).sort(e)}));const $3=L3;var B3=_r((function(t){return cy(0,t)}));const q3=B3,U3=_r(_y),z3=If(jy),V3=Rf(vS,DS);function J3(t){return(function(r){if(Array.isArray(r))return pb(r)})(t)||(function(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)})(t)||(function(r,n){if(r){if(typeof r=="string")return pb(r,n);var a={}.toString.call(r).slice(8,-1);return a==="Object"&&r.constructor&&(a=r.constructor.name),a==="Map"||a==="Set"?Array.from(r):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?pb(r,n):void 0}})(t)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function pb(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var W3=mo($3(F3((function(t,e){return t.length>e.length}))),q3,Af("length")),H3=E0((function(t,e,r){var n=r.apply(void 0,J3(t));return z3(n)?U3(n):e}));const US=ub(V3,(function(e){var r=W3(e);return ja(r,(function(){for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return Vh(H3(a),void 0,e)}))}),vy),K3=class extends Ti{alternator;constructor({alternator:e,...r}){super({...r}),this.alternator=e}enter(e){const r=this.alternator.map((({predicate:a,specPath:o})=>ub(a,jr(o),vy))),n=US(r)(e);return this.element=this.toRefractedElement(n,e),on}},rd=class extends K3{constructor(e){super(e),this.alternator=[{predicate:Ul,specPath:["document","objects","JSONReference"]},{predicate:kc,specPath:["document","objects","JSONSchema"]}]}};class G3 extends Vt(Up,gn){constructor(e){super(e),this.element=new cm,this.specPath=jr(["document","objects","Media"])}}const Y3=G3;class X3 extends Vt(Up,gn){constructor(e){super(e),this.element=new um,this.specPath=jr(["document","objects","LinkDescription"])}}const zS=X3,bo={visitors:{value:gn,JSONSchemaOrJSONReferenceVisitor:rd,document:{objects:{JSONSchema:{$visitor:BS,fixedFields:{id:{$ref:"#/visitors/value"},$schema:{$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"},additionalItems:rd,items:qS,maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:f3,properties:y3,additionalProperties:rd,patternProperties:b3,dependencies:E3,enum:S3,type:x3,allOf:O3,anyOf:A3,oneOf:j3,not:rd,definitions:N3,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:I3,media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{$visitor:R3,fixedFields:{$ref:D3}},Media:{$visitor:Y3,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"},type:{$ref:"#/visitors/value"}}},LinkDescription:{$visitor:zS,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:rd,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:rd}}}}}},hm=t=>{if(da(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},Q3={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Bl},Z3={namespace:t=>{const{base:e}=t;return e.register("jSONSchemaDraft4",Zh),e.register("jSONReference",ed),e.register("media",cm),e.register("linkDescription",um),e}},eP=Z3,tP=()=>{const t=Ac(eP);return{predicates:{...X,isStringElement:Ir},namespace:t}},rP=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=bo}={})=>{const a=(0,Ge.e)(t),o=Ru(n),p=new(ro(e,o))({specObj:o});return Pa(a,p),ql(p.element,r,{toolboxCreator:tP,visitorOptions:{keyMap:Q3,nodeTypeGetter:hm}})},By=t=>(e,r={})=>rP(e,{specPath:t,...r});Zh.refract=By(["visitors","document","objects","JSONSchema","$visitor"]),ed.refract=By(["visitors","document","objects","JSONReference","$visitor"]),cm.refract=By(["visitors","document","objects","Media","$visitor"]),um.refract=By(["visitors","document","objects","LinkDescription","$visitor"]);const qy=class extends Zh{constructor(e,r,n){super(e,r,n),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new Zr("idProp getter in Schema class is not not supported.")}set idProp(e){throw new Zr("idProp setter in Schema class is not not supported.")}get $schema(){throw new Zr("$schema getter in Schema class is not not supported.")}set $schema(e){throw new Zr("$schema setter in Schema class is not not supported.")}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){throw new Zr("patternProperties getter in Schema class is not not supported.")}set patternProperties(e){throw new Zr("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new Zr("dependencies getter in Schema class is not not supported.")}set dependencies(e){throw new Zr("dependencies setter in Schema class is not not supported.")}get type(){return this.get("type")}set type(e){this.set("type",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){throw new Zr("definitions getter in Schema class is not not supported.")}set definitions(e){throw new Zr("definitions setter in Schema class is not not supported.")}get base(){throw new Zr("base getter in Schema class is not not supported.")}set base(e){throw new Zr("base setter in Schema class is not not supported.")}get links(){throw new Zr("links getter in Schema class is not not supported.")}set links(e){throw new Zr("links setter in Schema class is not not supported.")}get media(){throw new Zr("media getter in Schema class is not not supported.")}set media(e){throw new Zr("media setter in Schema class is not not supported.")}get nullable(){return this.get("nullable")}set nullable(e){this.set("nullable",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}};class nP extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="securityRequirement"}}const dm=nP;class aP extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}}const fm=aP;class oP extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get variables(){return this.get("variables")}set variables(e){this.set("variables",e)}}const mm=oP;class iP extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}}const gm=iP;class sP extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const Uy=sP;class lP extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="xml"}get name(){return this.get("name")}set name(e){this.set("name",e)}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get prefix(){return this.get("prefix")}set prefix(e){this.set("prefix",e)}get attribute(){return this.get("attribute")}set attribute(e){this.set("attribute",e)}get wrapped(){return this.get("wrapped")}set wrapped(e){this.set("wrapped",e)}}const zy=lP,VS=class{element;constructor(e={}){Object.assign(this,e)}copyMetaAndAttributes(e,r){(e.meta.length>0||r.meta.length>0)&&(r.meta=qp(r.meta,e.meta)),Gh(e)&&ob(r,e),(e.attributes.length>0||e.meta.length>0)&&(r.attributes=qp(r.attributes,e.attributes))}},er=class extends VS{enter(e){return this.element=hr(e),on}},zs=class extends VS{specObj;passingOptionsNames=["specObj","openApiGenericElement","openApiSemanticElement"];openApiGenericElement;openApiSemanticElement;constructor({specObj:e,passingOptionsNames:r,openApiGenericElement:n,openApiSemanticElement:a,...o}){super({...o}),this.specObj=e,this.openApiGenericElement=n,this.openApiSemanticElement=a,Array.isArray(r)&&(this.passingOptionsNames=r)}retrievePassingOptions(){return FS(this.passingOptionsNames,this)}retrieveFixedFields(e){const r=ro(["visitors",...e,"fixedFields"],this.specObj);return typeof r=="object"&&r!==null?Object.keys(r):[]}retrieveVisitor(e){return W0(Fp,["visitors",...e],this.specObj)?ro(["visitors",...e],this.specObj):ro(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,r={}){const n=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...n,...r})}toRefractedElement(e,r,n={}){const a=this.retrieveVisitorInstance(e,n);return a instanceof er&&a?.constructor===er?hr(r):(Pa(r,a,n),a.element)}};var cP=(function(){function t(e,r){this.xf=r,this.n=e,this.i=0}return t.prototype["@@transducer/init"]=Tu,t.prototype["@@transducer/result"]=Nf,t.prototype["@@transducer/step"]=function(e,r){this.i+=1;var n=this.n===0?e:this.xf["@@transducer/step"](e,r);return this.n>=0&&this.i>=this.n?_y(n):n},t})();function uP(t){return function(e){return new cP(t,e)}}const pP=Tr(Nu(["take"],uP,(function(e,r){return kf(0,e<0?1/0:e,r)})));var hP=Tr((function(t,e){return Pu(pP(t.length,e),t)}));const dP=hP,Vn=t=>hn(t)&&t.hasKey("$ref"),fP=hn,mP=hn,JS=t=>Ir(t.key)&&dP("x-",Et(t.key)),Jr=class extends zs{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=JS;constructor({specPath:e,ignoredFields:r,canSupportSpecificationExtensions:n,specificationExtensionPredicate:a,...o}){super({...o}),this.specPath=e,this.ignoredFields=r||[],typeof n=="boolean"&&(this.canSupportSpecificationExtensions=n),typeof a=="function"&&(this.specificationExtensionPredicate=a)}ObjectElement(e){const r=this.specPath(e),n=this.retrieveFixedFields(r);return e.forEach(((a,o,p)=>{if(Ir(o)&&n.includes(Et(o))&&!this.ignoredFields.includes(Et(o))){const c=this.toRefractedElement([...r,"fixedFields",Et(o)],a),d=new Ge.Pr(hr(o),c);this.copyMetaAndAttributes(p,d),d.classes.push("fixed-field"),this.element.content.push(d)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(p)){const c=this.toRefractedElement(["document","extension"],p);this.element.content.push(c)}else this.ignoredFields.includes(Et(o))||this.element.content.push(hr(p))})),this.copyMetaAndAttributes(e,this.element),on}};class gP extends Vt(Jr,er){constructor(e){super(e),this.element=new Ry,this.specPath=jr(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return Jr.prototype.ObjectElement.call(this,e)}}const yP=gP;class vP extends Vt(zs,er){StringElement(e){const r=new em(Et(e));return this.copyMetaAndAttributes(e,r),this.element=r,on}}const bP=vP,wP=class extends zs{MemberElement(e){return this.element=hr(e),this.element.classes.push("specification-extension"),on}};class EP extends Vt(Jr,er){constructor(e){super(e),this.element=new Yf,this.specPath=jr(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}}const SP=EP,xP=class extends er{StringElement(e){const r=super.enter(e);return this.element.classes.push("api-version"),this.element.classes.push("version"),r}};class _P extends Vt(Jr,er){constructor(e){super(e),this.element=new Jf,this.specPath=jr(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}}const OP=_P;class kP extends Vt(Jr,er){constructor(e){super(e),this.element=new Xf,this.specPath=jr(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}}const AP=kP;class CP extends Vt(Jr,er){constructor(e){super(e),this.element=new Qf,this.specPath=jr(["document","objects","Link"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=Jr.prototype.ObjectElement.call(this,e);return(Ir(this.element.operationId)||Ir(this.element.operationRef))&&this.element.classes.push("reference-element"),r}}const jP=CP,PP=class extends er{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}},NP=class extends er{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}},nd=class extends zs{specPath;ignoredFields;fieldPatternPredicate=rb;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=JS;constructor({specPath:e,ignoredFields:r,fieldPatternPredicate:n,canSupportSpecificationExtensions:a,specificationExtensionPredicate:o,...p}){super({...p}),this.specPath=e,this.ignoredFields=r||[],typeof n=="function"&&(this.fieldPatternPredicate=n),typeof a=="boolean"&&(this.canSupportSpecificationExtensions=a),typeof o=="function"&&(this.specificationExtensionPredicate=o)}ObjectElement(e){return e.forEach(((r,n,a)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(a)){const o=this.toRefractedElement(["document","extension"],a);this.element.content.push(o)}else if(!this.ignoredFields.includes(Et(n))&&this.fieldPatternPredicate(Et(n))){const o=this.specPath(r),p=this.toRefractedElement(o,r),c=new Ge.Pr(hr(n),p);this.copyMetaAndAttributes(a,c),c.classes.push("patterned-field"),this.element.content.push(c)}else this.ignoredFields.includes(Et(n))||this.element.content.push(hr(a))})),this.copyMetaAndAttributes(e,this.element),on}},Ur=class extends nd{constructor(e){super(e),this.fieldPatternPredicate=$y}};class hb extends Ge.Sh{static primaryClass="link-parameters";constructor(e,r,n){super(e,r,n),this.classes.push(hb.primaryClass)}}const TP=hb;class IP extends Vt(Ur,er){constructor(e){super(e),this.element=new TP,this.specPath=jr(["value"])}}const MP=IP;class RP extends Vt(Jr,er){constructor(e){super(e),this.element=new mm,this.specPath=jr(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}}const DP=RP,FP=class extends er{StringElement(e){const r=super.enter(e);return this.element.classes.push("server-url"),r}};class db extends Ge.wE{static primaryClass="servers";constructor(e,r,n){super(e,r,n),this.classes.push(db.primaryClass)}}const WS=db;class LP extends Vt(zs,er){constructor(e){super(e),this.element=new WS}ArrayElement(e){return e.forEach((r=>{const n=fP(r)?["document","objects","Server"]:["value"],a=this.toRefractedElement(n,r);this.element.push(a)})),this.copyMetaAndAttributes(e,this.element),on}}const fb=LP;class $P extends Vt(Jr,er){constructor(e){super(e),this.element=new gm,this.specPath=jr(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}}const BP=$P;class mb extends Ge.Sh{static primaryClass="server-variables";constructor(e,r,n){super(e,r,n),this.classes.push(mb.primaryClass)}}const qP=mb;class UP extends Vt(Ur,er){constructor(e){super(e),this.element=new qP,this.specPath=jr(["document","objects","ServerVariable"])}}const zP=UP;class VP extends Vt(Jr,er){constructor(e){super(e),this.element=new Zf,this.specPath=jr(["document","objects","MediaType"]),this.canSupportSpecificationExtensions=!0}}const JP=VP,zl=class extends zs{alternator;constructor({alternator:e,...r}){super({...r}),this.alternator=e||[]}enter(e){const r=this.alternator.map((({predicate:a,specPath:o})=>ub(a,jr(o),vy))),n=US(r)(e);return this.element=this.toRefractedElement(n,e),on}},WP=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof zf||t(n)&&e("callback",n)&&r("object",n))),HP=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Vf||t(n)&&e("components",n)&&r("object",n))),KP=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Jf||t(n)&&e("contact",n)&&r("object",n))),GP=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Hf||t(n)&&e("example",n)&&r("object",n))),YP=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Kf||t(n)&&e("externalDocumentation",n)&&r("object",n))),ad=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Gf||t(n)&&e("header",n)&&r("object",n))),XP=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Yf||t(n)&&e("info",n)&&r("object",n))),QP=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Xf||t(n)&&e("license",n)&&r("object",n))),ZP=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Qf||t(n)&&e("link",n)&&r("object",n))),eN=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof em||t(n)&&e("openapi",n)&&r("string",n))),tN=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r,hasClass:n})=>a=>a instanceof Ry||t(a)&&e("openApi3_0",a)&&r("object",a)&&n("api",a))),HS=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof tm||t(n)&&e("operation",n)&&r("object",n))),rN=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof rm||t(n)&&e("parameter",n)&&r("object",n))),gb=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof nm||t(n)&&e("pathItem",n)&&r("object",n))),nN=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof am||t(n)&&e("paths",n)&&r("object",n))),Mn=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof om||t(n)&&e("reference",n)&&r("object",n))),aN=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof im||t(n)&&e("requestBody",n)&&r("object",n))),Vy=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof sm||t(n)&&e("response",n)&&r("object",n))),oN=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof lm||t(n)&&e("responses",n)&&r("object",n))),iN=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof qy||t(n)&&e("schema",n)&&r("object",n))),sN=t=>Ff(t)&&t.classes.includes("boolean-json-schema"),lN=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof dm||t(n)&&e("securityRequirement",n)&&r("object",n))),cN=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof fm||t(n)&&e("securityScheme",n)&&r("object",n))),uN=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof mm||t(n)&&e("server",n)&&r("object",n))),pN=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof gm||t(n)&&e("serverVariable",n)&&r("object",n))),Jy=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Zf||t(n)&&e("mediaType",n)&&r("object",n))),KS=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r,hasClass:n})=>a=>a instanceof WS||t(a)&&e("array",a)&&r("array",a)&&n("servers",a))),hN=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Wf||t(n)&&e("discriminator",n)&&r("object",n)));class dN extends Vt(zl,er){constructor(e){super(e),this.alternator=[{predicate:Vn,specPath:["document","objects","Reference"]},{predicate:kc,specPath:["document","objects","Schema"]}]}ObjectElement(e){const r=zl.prototype.enter.call(this,e);return Mn(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}}const fN=dN;class mN extends Vt(Ur,er){constructor(e){super(e),this.element=new Ge.Sh,this.element.classes.push("examples"),this.specPath=r=>Vn(r)?["document","objects","Reference"]:["document","objects","Example"],this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","example")})),r}}const yb=mN;class vb extends Ge.Sh{static primaryClass="media-type-examples";constructor(e,r,n){super(e,r,n),this.classes.push(vb.primaryClass),this.classes.push("examples")}}const gN=vb,yN=class extends yb{constructor(e){super(e),this.element=new gN}};class bb extends Ge.Sh{static primaryClass="media-type-encoding";constructor(e,r,n){super(e,r,n),this.classes.push(bb.primaryClass)}}const vN=bb;class bN extends Vt(Ur,er){constructor(e){super(e),this.element=new vN,this.specPath=jr(["document","objects","Encoding"])}}const wN=bN;class EN extends Vt(Ur,er){constructor(e){super(e),this.element=new dm,this.specPath=jr(["value"])}}const SN=EN;class wb extends Ge.wE{static primaryClass="security";constructor(e,r,n){super(e,r,n),this.classes.push(wb.primaryClass)}}const xN=wb;class _N extends Vt(zs,er){constructor(e){super(e),this.element=new xN}ArrayElement(e){return e.forEach((r=>{if(hn(r)){const n=this.toRefractedElement(["document","objects","SecurityRequirement"],r);this.element.push(n)}else this.element.push(hr(r))})),this.copyMetaAndAttributes(e,this.element),on}}const ON=_N;class kN extends Vt(Jr,er){constructor(e){super(e),this.element=new Vf,this.specPath=jr(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}}const AN=kN;class CN extends Vt(Jr,er){constructor(e){super(e),this.element=new Uy,this.specPath=jr(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}const jN=CN;class PN extends Vt(Jr,er){constructor(e){super(e),this.element=new om,this.specPath=jr(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){const r=Jr.prototype.ObjectElement.call(this,e);return Ir(this.element.$ref)&&this.element.classes.push("reference-element"),r}}const NN=PN,TN=class extends er{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}};class IN extends Vt(Jr,er){constructor(e){super(e),this.element=new rm,this.specPath=jr(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=Jr.prototype.ObjectElement.call(this,e);return hn(this.element.contentProp)&&this.element.contentProp.filter(Jy).forEach(((n,a)=>{n.setMetaProperty("media-type",Et(a))})),r}}const MN=IN;class RN extends Vt(zl,er){constructor(e){super(e),this.alternator=[{predicate:Vn,specPath:["document","objects","Reference"]},{predicate:kc,specPath:["document","objects","Schema"]}]}ObjectElement(e){const r=zl.prototype.enter.call(this,e);return Mn(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}}const DN=RN;class FN extends Vt(Jr,er){constructor(e){super(e),this.element=new Gf,this.specPath=jr(["document","objects","Header"]),this.canSupportSpecificationExtensions=!0}}const LN=FN;class $N extends Vt(zl,er){constructor(e){super(e),this.alternator=[{predicate:Vn,specPath:["document","objects","Reference"]},{predicate:kc,specPath:["document","objects","Schema"]}]}ObjectElement(e){const r=zl.prototype.enter.call(this,e);return Mn(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}}const BN=$N;class Eb extends Ge.Sh{static primaryClass="header-examples";constructor(e,r,n){super(e,r,n),this.classes.push(Eb.primaryClass),this.classes.push("examples")}}const qN=Eb,UN=class extends yb{constructor(e){super(e),this.element=new qN}};class zN extends Vt(Ur,er){constructor(e){super(e),this.element=new Ge.Sh,this.element.classes.push("content"),this.specPath=jr(["document","objects","MediaType"])}}const Wy=zN;class Sb extends Ge.Sh{static primaryClass="header-content";constructor(e,r,n){super(e,r,n),this.classes.push(Sb.primaryClass),this.classes.push("content")}}const VN=Sb,JN=class extends Wy{constructor(e){super(e),this.element=new VN}};class WN extends Vt(Jr,er){constructor(e){super(e),this.element=new qy,this.specPath=jr(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}}const HN=WN,GS=bo.visitors.document.objects.JSONSchema.fixedFields.allOf,KN=class extends GS{ArrayElement(e){const r=GS.prototype.ArrayElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","schema")})),r}},YS=bo.visitors.document.objects.JSONSchema.fixedFields.anyOf,GN=class extends YS{ArrayElement(e){const r=YS.prototype.ArrayElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","schema")})),r}},XS=bo.visitors.document.objects.JSONSchema.fixedFields.oneOf,YN=class extends XS{ArrayElement(e){const r=XS.prototype.ArrayElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","schema")})),r}},QS=bo.visitors.document.objects.JSONSchema.fixedFields.items,XN=class extends QS{ObjectElement(e){const r=QS.prototype.ObjectElement.call(this,e);return Mn(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}ArrayElement(e){return this.enter(e)}},ZS=bo.visitors.document.objects.JSONSchema.fixedFields.properties,QN=class extends ZS{ObjectElement(e){const r=ZS.prototype.ObjectElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","schema")})),r}},ZN=bo.visitors.document.objects.JSONSchema.fixedFields.type,eT=class extends ZN{ArrayElement(e){return this.enter(e)}},e2=bo.visitors.JSONSchemaOrJSONReferenceVisitor,t2=class extends e2{ObjectElement(e){const r=e2.prototype.enter.call(this,e);return Mn(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}};class tT extends Vt(Jr,er){constructor(e){super(e),this.element=new Wf,this.specPath=jr(["document","objects","Discriminator"]),this.canSupportSpecificationExtensions=!1}}const rT=tT;class xb extends Ge.Sh{static primaryClass="discriminator-mapping";constructor(e,r,n){super(e,r,n),this.classes.push(xb.primaryClass)}}const nT=xb;class aT extends Vt(Ur,er){constructor(e){super(e),this.element=new nT,this.specPath=jr(["value"])}}const oT=aT;class iT extends Vt(Jr,er){constructor(e){super(e),this.element=new zy,this.specPath=jr(["document","objects","XML"]),this.canSupportSpecificationExtensions=!0}}const sT=iT;class _b extends Ge.Sh{static primaryClass="parameter-examples";constructor(e,r,n){super(e,r,n),this.classes.push(_b.primaryClass),this.classes.push("examples")}}const lT=_b,cT=class extends yb{constructor(e){super(e),this.element=new lT}};class Ob extends Ge.Sh{static primaryClass="parameter-content";constructor(e,r,n){super(e,r,n),this.classes.push(Ob.primaryClass),this.classes.push("content")}}const uT=Ob,pT=class extends Wy{constructor(e){super(e),this.element=new uT}};class kb extends Ge.Sh{static primaryClass="components-schemas";constructor(e,r,n){super(e,r,n),this.classes.push(kb.primaryClass)}}const r2=kb;class hT extends Vt(Ur,er){constructor(e){super(e),this.element=new r2,this.specPath=r=>Vn(r)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","schema")})),r}}const dT=hT;class Ab extends Ge.Sh{static primaryClass="components-responses";constructor(e,r,n){super(e,r,n),this.classes.push(Ab.primaryClass)}}const fT=Ab;class mT extends Vt(Ur,er){constructor(e){super(e),this.element=new fT,this.specPath=r=>Vn(r)?["document","objects","Reference"]:["document","objects","Response"]}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","response")})),this.element.filter(Vy).forEach(((n,a)=>{n.setMetaProperty("http-status-code",Et(a))})),r}}const gT=mT;class Cb extends Ge.Sh{static primaryClass="components-parameters";constructor(e,r,n){super(e,r,n),this.classes.push(Cb.primaryClass),this.classes.push("parameters")}}const yT=Cb;class vT extends Vt(Ur,er){constructor(e){super(e),this.element=new yT,this.specPath=r=>Vn(r)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","parameter")})),r}}const bT=vT;class jb extends Ge.Sh{static primaryClass="components-examples";constructor(e,r,n){super(e,r,n),this.classes.push(jb.primaryClass),this.classes.push("examples")}}const wT=jb;class ET extends Vt(Ur,er){constructor(e){super(e),this.element=new wT,this.specPath=r=>Vn(r)?["document","objects","Reference"]:["document","objects","Example"]}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","example")})),r}}const ST=ET;class Pb extends Ge.Sh{static primaryClass="components-request-bodies";constructor(e,r,n){super(e,r,n),this.classes.push(Pb.primaryClass)}}const xT=Pb;class _T extends Vt(Ur,er){constructor(e){super(e),this.element=new xT,this.specPath=r=>Vn(r)?["document","objects","Reference"]:["document","objects","RequestBody"]}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","requestBody")})),r}}const OT=_T;class Nb extends Ge.Sh{static primaryClass="components-headers";constructor(e,r,n){super(e,r,n),this.classes.push(Nb.primaryClass)}}const kT=Nb;class AT extends Vt(Ur,er){constructor(e){super(e),this.element=new kT,this.specPath=r=>Vn(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","header")})),this.element.filter(ad).forEach(((n,a)=>{n.setMetaProperty("header-name",Et(a))})),r}}const CT=AT;class Tb extends Ge.Sh{static primaryClass="components-security-schemes";constructor(e,r,n){super(e,r,n),this.classes.push(Tb.primaryClass)}}const jT=Tb;class PT extends Vt(Ur,er){constructor(e){super(e),this.element=new jT,this.specPath=r=>Vn(r)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","securityScheme")})),r}}const NT=PT;class Ib extends Ge.Sh{static primaryClass="components-links";constructor(e,r,n){super(e,r,n),this.classes.push(Ib.primaryClass)}}const TT=Ib;class IT extends Vt(Ur,er){constructor(e){super(e),this.element=new TT,this.specPath=r=>Vn(r)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","link")})),r}}const MT=IT;class Mb extends Ge.Sh{static primaryClass="components-callbacks";constructor(e,r,n){super(e,r,n),this.classes.push(Mb.primaryClass)}}const RT=Mb;class DT extends Vt(Ur,er){constructor(e){super(e),this.element=new RT,this.specPath=r=>Vn(r)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","callback")})),r}}const FT=DT;class LT extends Vt(Jr,er){constructor(e){super(e),this.element=new Hf,this.specPath=jr(["document","objects","Example"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=Jr.prototype.ObjectElement.call(this,e);return Ir(this.element.externalValue)&&this.element.classes.push("reference-element"),r}}const $T=LT,BT=class extends er{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}};class qT extends Vt(Jr,er){constructor(e){super(e),this.element=new Kf,this.specPath=jr(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}}const UT=qT;class zT extends Vt(Jr,er){constructor(e){super(e),this.element=new Ty,this.specPath=jr(["document","objects","Encoding"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=Jr.prototype.ObjectElement.call(this,e);return hn(this.element.headers)&&this.element.headers.filter(ad).forEach(((n,a)=>{n.setMetaProperty("header-name",Et(a))})),r}}const VT=zT;class Rb extends Ge.Sh{static primaryClass="encoding-headers";constructor(e,r,n){super(e,r,n),this.classes.push(Rb.primaryClass)}}const JT=Rb;class WT extends Vt(Ur,er){constructor(e){super(e),this.element=new JT,this.specPath=r=>Vn(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","header")})),this.element.forEach(((n,a)=>{if(!ad(n))return;const o=Et(a);n.setMetaProperty("headerName",o)})),r}}const HT=WT;class KT extends Vt(nd,er){constructor(e){super(e),this.element=new am,this.specPath=jr(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=kc}ObjectElement(e){const r=nd.prototype.ObjectElement.call(this,e);return this.element.filter(gb).forEach(((n,a)=>{a.classes.push("openapi-path-template"),a.classes.push("path-template"),n.setMetaProperty("path",hr(a))})),r}}const GT=KT;class YT extends Vt(Jr,er){constructor(e){super(e),this.element=new im,this.specPath=jr(["document","objects","RequestBody"])}ObjectElement(e){const r=Jr.prototype.ObjectElement.call(this,e);return hn(this.element.contentProp)&&this.element.contentProp.filter(Jy).forEach(((n,a)=>{n.setMetaProperty("media-type",Et(a))})),r}}const XT=YT;class Db extends Ge.Sh{static primaryClass="request-body-content";constructor(e,r,n){super(e,r,n),this.classes.push(Db.primaryClass),this.classes.push("content")}}const QT=Db,ZT=class extends Wy{constructor(e){super(e),this.element=new QT}};class e6 extends Vt(nd,er){constructor(e){super(e),this.element=new zf,this.specPath=jr(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=r=>/{(?<expression>[^}]{1,2083})}/.test(String(r))}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(gb).forEach(((n,a)=>{n.setMetaProperty("runtime-expression",Et(a))})),r}}const t6=e6;class r6 extends Vt(Jr,er){constructor(e){super(e),this.element=new sm,this.specPath=jr(["document","objects","Response"])}ObjectElement(e){const r=Jr.prototype.ObjectElement.call(this,e);return hn(this.element.contentProp)&&this.element.contentProp.filter(Jy).forEach(((n,a)=>{n.setMetaProperty("media-type",Et(a))})),hn(this.element.headers)&&this.element.headers.filter(ad).forEach(((n,a)=>{n.setMetaProperty("header-name",Et(a))})),r}}const n6=r6;class Fb extends Ge.Sh{static primaryClass="response-headers";constructor(e,r,n){super(e,r,n),this.classes.push(Fb.primaryClass)}}const a6=Fb;class o6 extends Vt(Ur,er){constructor(e){super(e),this.element=new a6,this.specPath=r=>Vn(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","header")})),this.element.forEach(((n,a)=>{if(!ad(n))return;const o=Et(a);n.setMetaProperty("header-name",o)})),r}}const i6=o6;class Lb extends Ge.Sh{static primaryClass="response-content";constructor(e,r,n){super(e,r,n),this.classes.push(Lb.primaryClass),this.classes.push("content")}}const s6=Lb,l6=class extends Wy{constructor(e){super(e),this.element=new s6}};class $b extends Ge.Sh{static primaryClass="response-links";constructor(e,r,n){super(e,r,n),this.classes.push($b.primaryClass)}}const c6=$b;class u6 extends Vt(Ur,er){constructor(e){super(e),this.element=new c6,this.specPath=r=>Vn(r)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","link")})),r}}const p6=u6;function n2(t){return Object.prototype.toString.call(t)==="[object Number]"}var h6=Tr((function(e,r){if(!n2(e)||!n2(r))throw new TypeError("Both arguments to range must be numbers");for(var n=Array(e<r?r-e:0),a=e<0?r+Math.abs(e):r-e,o=0;o<a;)n[o]=o+e,o+=1;return n}));const d6=h6;function a2(t,e,r){var n,a=typeof t;switch(a){case"string":case"number":return t===0&&1/t==-1/0?!!r._items["-0"]||(e&&(r._items["-0"]=!0),!1):r._nativeSet!==null?e?(n=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===n):r._nativeSet.has(t):a in r._items?t in r._items[a]||(e&&(r._items[a][t]=!0),!1):(e&&(r._items[a]={},r._items[a][t]=!0),!1);case"boolean":if(a in r._items){var o=t?1:0;return!!r._items[a][o]||(e&&(r._items[a][o]=!0),!1)}return e&&(r._items[a]=t?[!1,!0]:[!0,!1]),!1;case"function":return r._nativeSet!==null?e?(n=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===n):r._nativeSet.has(t):a in r._items?!!dy(t,r._items[a])||(e&&r._items[a].push(t),!1):(e&&(r._items[a]=[t]),!1);case"undefined":return!!r._items[a]||(e&&(r._items[a]=!0),!1);case"object":if(t===null)return!!r._items.null||(e&&(r._items.null=!0),!1);default:return(a=Object.prototype.toString.call(t))in r._items?!!dy(t,r._items[a])||(e&&r._items[a].push(t),!1):(e&&(r._items[a]=[t]),!1)}}const f6=(function(){function t(){this._nativeSet=typeof Set=="function"?new Set:null,this._items={}}return t.prototype.add=function(e){return!a2(e,!0,this)},t.prototype.has=function(e){return a2(e,!1,this)},t})();var m6=Tr((function(e,r){for(var n=[],a=0,o=e.length,p=r.length,c=new f6,d=0;d<p;d+=1)c.add(r[d]);for(;a<o;)c.add(e[a])&&(n[n.length]=e[a]),a+=1;return n}));const g6=m6;class y6 extends Vt(Jr,nd){specPathFixedFields;specPathPatternedFields;constructor({specPathFixedFields:e,specPathPatternedFields:r,...n}){super({...n}),this.specPathFixedFields=e,this.specPathPatternedFields=r}ObjectElement(e){const{specPath:r,ignoredFields:n}=this;try{this.specPath=this.specPathFixedFields;const a=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...n,...g6(e.keys(),a)],Jr.prototype.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=a,nd.prototype.ObjectElement.call(this,e)}catch(a){throw this.specPath=r,a}return on}}const o2=y6;class v6 extends Vt(o2,er){constructor(e){super(e),this.element=new lm,this.specPathFixedFields=jr(["document","objects","Responses"]),this.canSupportSpecificationExtensions=!0,this.specPathPatternedFields=r=>Vn(r)?["document","objects","Reference"]:["document","objects","Response"],this.fieldPatternPredicate=r=>new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${d6(100,600).join("|")})$`).test(String(r))}ObjectElement(e){const r=o2.prototype.ObjectElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","response")})),this.element.filter(Vy).forEach(((n,a)=>{const o=hr(a);this.fieldPatternPredicate(Et(o))&&n.setMetaProperty("http-status-code",o)})),r}}const b6=v6;class w6 extends Vt(zl,er){constructor(e){super(e),this.alternator=[{predicate:Vn,specPath:["document","objects","Reference"]},{predicate:kc,specPath:["document","objects","Response"]}]}ObjectElement(e){const r=zl.prototype.enter.call(this,e);return Mn(this.element)?this.element.setMetaProperty("referenced-element","response"):Vy(this.element)&&this.element.setMetaProperty("http-status-code","default"),r}}const E6=w6;class S6 extends Vt(Jr,er){constructor(e){super(e),this.element=new tm,this.specPath=jr(["document","objects","Operation"])}}const x6=S6;class Bb extends Ge.wE{static primaryClass="operation-tags";constructor(e,r,n){super(e,r,n),this.classes.push(Bb.primaryClass)}}const _6=Bb,O6=class extends er{constructor(e){super(e),this.element=new _6}ArrayElement(e){return this.element=this.element.concat(hr(e)),on}};class qb extends Ge.wE{static primaryClass="operation-parameters";constructor(e,r,n){super(e,r,n),this.classes.push(qb.primaryClass),this.classes.push("parameters")}}const i2=qb;class k6 extends Vt(zs,er){constructor(e){super(e),this.element=new Ge.wE,this.element.classes.push("parameters")}ArrayElement(e){return e.forEach((r=>{const n=Vn(r)?["document","objects","Reference"]:["document","objects","Parameter"],a=this.toRefractedElement(n,r);Mn(a)&&a.setMetaProperty("referenced-element","parameter"),this.element.push(a)})),this.copyMetaAndAttributes(e,this.element),on}}const s2=k6,A6=class extends s2{constructor(e){super(e),this.element=new i2}},C6=class extends zl{constructor(e){super(e),this.alternator=[{predicate:Vn,specPath:["document","objects","Reference"]},{predicate:kc,specPath:["document","objects","RequestBody"]}]}ObjectElement(e){const r=zl.prototype.enter.call(this,e);return Mn(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),r}};class Ub extends Ge.Sh{static primaryClass="operation-callbacks";constructor(e,r,n){super(e,r,n),this.classes.push(Ub.primaryClass)}}const j6=Ub;class P6 extends Vt(Ur,er){specPath;constructor(e){super(e),this.element=new j6,this.specPath=r=>Vn(r)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(Mn).forEach((n=>{n.setMetaProperty("referenced-element","callback")})),r}}const N6=P6;class zb extends Ge.wE{static primaryClass="operation-security";constructor(e,r,n){super(e,r,n),this.classes.push(zb.primaryClass),this.classes.push("security")}}const l2=zb;class T6 extends Vt(zs,er){constructor(e){super(e),this.element=new l2}ArrayElement(e){return e.forEach((r=>{const n=hn(r)?["document","objects","SecurityRequirement"]:["value"],a=this.toRefractedElement(n,r);this.element.push(a)})),this.copyMetaAndAttributes(e,this.element),on}}const I6=T6;class Vb extends Ge.wE{static primaryClass="operation-servers";constructor(e,r,n){super(e,r,n),this.classes.push(Vb.primaryClass),this.classes.push("servers")}}const M6=Vb,R6=class extends fb{constructor(e){super(e),this.element=new M6}};class D6 extends Vt(Jr,er){constructor(e){super(e),this.element=new nm,this.specPath=jr(["document","objects","PathItem"])}ObjectElement(e){const r=Jr.prototype.ObjectElement.call(this,e);return this.element.filter(HS).forEach(((n,a)=>{const o=hr(a);o.content=Et(o).toUpperCase(),n.setMetaProperty("http-method",o)})),Ir(this.element.$ref)&&this.element.classes.push("reference-element"),r}}const F6=D6,L6=class extends er{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}};class Jb extends Ge.wE{static primaryClass="path-item-servers";constructor(e,r,n){super(e,r,n),this.classes.push(Jb.primaryClass),this.classes.push("servers")}}const $6=Jb,B6=class extends fb{constructor(e){super(e),this.element=new $6}};class Wb extends Ge.wE{static primaryClass="path-item-parameters";constructor(e,r,n){super(e,r,n),this.classes.push(Wb.primaryClass),this.classes.push("parameters")}}const q6=Wb,U6=class extends s2{constructor(e){super(e),this.element=new q6}};class z6 extends Vt(Jr,er){constructor(e){super(e),this.element=new fm,this.specPath=jr(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}}const V6=z6;class J6 extends Vt(Jr,er){constructor(e){super(e),this.element=new My,this.specPath=jr(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}}const W6=J6;class H6 extends Vt(Jr,er){constructor(e){super(e),this.element=new Iy,this.specPath=jr(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}}const K6=H6;class Hb extends Ge.Sh{static primaryClass="oauth-flow-scopes";constructor(e,r,n){super(e,r,n),this.classes.push(Hb.primaryClass)}}const G6=Hb;class Y6 extends Vt(Ur,er){constructor(e){super(e),this.element=new G6,this.specPath=jr(["value"])}}const X6=Y6;class Kb extends Ge.wE{static primaryClass="tags";constructor(e,r,n){super(e,r,n),this.classes.push(Kb.primaryClass)}}const Q6=Kb;class Z6 extends Vt(zs,er){constructor(e){super(e),this.element=new Q6}ArrayElement(e){return e.forEach((r=>{const n=mP(r)?["document","objects","Tag"]:["value"],a=this.toRefractedElement(n,r);this.element.push(a)})),this.copyMetaAndAttributes(e,this.element),on}}const e4=Z6,{fixedFields:Ba}=bo.visitors.document.objects.JSONSchema,pt={visitors:{value:er,document:{objects:{OpenApi:{$visitor:yP,fixedFields:{openapi:bP,info:{$ref:"#/visitors/document/objects/Info"},servers:fb,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:ON,tags:e4,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:SP,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:xP}},Contact:{$visitor:OP,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:AP,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Server:{$visitor:DP,fixedFields:{url:FP,description:{$ref:"#/visitors/value"},variables:zP}},ServerVariable:{$visitor:BP,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},Components:{$visitor:AN,fixedFields:{schemas:dT,responses:gT,parameters:bT,examples:ST,requestBodies:OT,headers:CT,securitySchemes:NT,links:MT,callbacks:FT}},Paths:{$visitor:GT},PathItem:{$visitor:F6,fixedFields:{$ref:L6,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:B6,parameters:U6}},Operation:{$visitor:x6,fixedFields:{tags:O6,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:{$ref:"#/visitors/value"},parameters:A6,requestBody:C6,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:N6,deprecated:{$ref:"#/visitors/value"},security:I6,servers:R6}},ExternalDocumentation:{$visitor:UT,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Parameter:{$visitor:MN,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:DN,example:{$ref:"#/visitors/value"},examples:cT,content:pT}},RequestBody:{$visitor:XT,fixedFields:{description:{$ref:"#/visitors/value"},content:ZT,required:{$ref:"#/visitors/value"}}},MediaType:{$visitor:JP,fixedFields:{schema:fN,example:{$ref:"#/visitors/value"},examples:yN,encoding:wN}},Encoding:{$visitor:VT,fixedFields:{contentType:{$ref:"#/visitors/value"},headers:HT,style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"}}},Responses:{$visitor:b6,fixedFields:{default:E6}},Response:{$visitor:n6,fixedFields:{description:{$ref:"#/visitors/value"},headers:i6,content:l6,links:p6}},Callback:{$visitor:t6},Example:{$visitor:$T,fixedFields:{summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},value:{$ref:"#/visitors/value"},externalValue:BT}},Link:{$visitor:jP,fixedFields:{operationRef:PP,operationId:NP,parameters:MP,requestBody:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:LN,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:BN,example:{$ref:"#/visitors/value"},examples:UN,content:JN}},Tag:{$visitor:jN,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:NN,fixedFields:{$ref:TN}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Schema:{$visitor:HN,fixedFields:{title:Ba.title,multipleOf:Ba.multipleOf,maximum:Ba.maximum,exclusiveMaximum:Ba.exclusiveMaximum,minimum:Ba.minimum,exclusiveMinimum:Ba.exclusiveMinimum,maxLength:Ba.maxLength,minLength:Ba.minLength,pattern:Ba.pattern,maxItems:Ba.maxItems,minItems:Ba.minItems,uniqueItems:Ba.uniqueItems,maxProperties:Ba.maxProperties,minProperties:Ba.minProperties,required:Ba.required,enum:Ba.enum,type:eT,allOf:KN,anyOf:GN,oneOf:YN,not:t2,items:XN,properties:QN,additionalProperties:t2,description:Ba.description,format:Ba.format,default:Ba.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:rT,fixedFields:{propertyName:{$ref:"#/visitors/value"},mapping:oT}},XML:{$visitor:sT,fixedFields:{name:{$ref:"#/visitors/value"},namespace:{$ref:"#/visitors/value"},prefix:{$ref:"#/visitors/value"},attribute:{$ref:"#/visitors/value"},wrapped:{$ref:"#/visitors/value"}}},SecurityScheme:{$visitor:V6,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:W6,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:K6,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:X6}},SecurityRequirement:{$visitor:SN}},extension:{$visitor:wP}}}},t4=t=>{if(da(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},r4={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"],...Bl},n4={namespace:t=>{const{base:e}=t;return e.register("callback",zf),e.register("components",Vf),e.register("contact",Jf),e.register("discriminator",Wf),e.register("encoding",Ty),e.register("example",Hf),e.register("externalDocumentation",Kf),e.register("header",Gf),e.register("info",Yf),e.register("license",Xf),e.register("link",Qf),e.register("mediaType",Zf),e.register("oAuthFlow",Iy),e.register("oAuthFlows",My),e.register("openapi",em),e.register("openApi3_0",Ry),e.register("operation",tm),e.register("parameter",rm),e.register("pathItem",nm),e.register("paths",am),e.register("reference",om),e.register("requestBody",im),e.register("response",sm),e.register("responses",lm),e.register("schema",qy),e.register("securityRequirement",dm),e.register("securityScheme",fm),e.register("server",mm),e.register("serverVariable",gm),e.register("tag",Uy),e.register("xml",zy),e}},a4=n4,o4=()=>{const t=Ac(a4);return{predicates:{...te,isElement:da,isStringElement:Ir,isArrayElement:vo,isObjectElement:hn,isMemberElement:Bs,includesClasses:Yh,hasElementSourceMap:Gh},namespace:t}},i4=(t,{specPath:e=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=(0,Ge.e)(t),a=Ru(pt),o=new(ro(e,a))({specObj:a});return Pa(n,o),ql(o.element,r,{toolboxCreator:o4,visitorOptions:{keyMap:r4,nodeTypeGetter:t4}})},On=t=>(e,r={})=>i4(e,{specPath:t,...r});zf.refract=On(["visitors","document","objects","Callback","$visitor"]),Vf.refract=On(["visitors","document","objects","Components","$visitor"]),Jf.refract=On(["visitors","document","objects","Contact","$visitor"]),Hf.refract=On(["visitors","document","objects","Example","$visitor"]),Wf.refract=On(["visitors","document","objects","Discriminator","$visitor"]),Ty.refract=On(["visitors","document","objects","Encoding","$visitor"]),Kf.refract=On(["visitors","document","objects","ExternalDocumentation","$visitor"]),Gf.refract=On(["visitors","document","objects","Header","$visitor"]),Yf.refract=On(["visitors","document","objects","Info","$visitor"]),Xf.refract=On(["visitors","document","objects","License","$visitor"]),Qf.refract=On(["visitors","document","objects","Link","$visitor"]),Zf.refract=On(["visitors","document","objects","MediaType","$visitor"]),Iy.refract=On(["visitors","document","objects","OAuthFlow","$visitor"]),My.refract=On(["visitors","document","objects","OAuthFlows","$visitor"]),em.refract=On(["visitors","document","objects","OpenApi","fixedFields","openapi"]),Ry.refract=On(["visitors","document","objects","OpenApi","$visitor"]),tm.refract=On(["visitors","document","objects","Operation","$visitor"]),rm.refract=On(["visitors","document","objects","Parameter","$visitor"]),nm.refract=On(["visitors","document","objects","PathItem","$visitor"]),am.refract=On(["visitors","document","objects","Paths","$visitor"]),om.refract=On(["visitors","document","objects","Reference","$visitor"]),im.refract=On(["visitors","document","objects","RequestBody","$visitor"]),sm.refract=On(["visitors","document","objects","Response","$visitor"]),lm.refract=On(["visitors","document","objects","Responses","$visitor"]),qy.refract=On(["visitors","document","objects","Schema","$visitor"]),dm.refract=On(["visitors","document","objects","SecurityRequirement","$visitor"]),fm.refract=On(["visitors","document","objects","SecurityScheme","$visitor"]),mm.refract=On(["visitors","document","objects","Server","$visitor"]),gm.refract=On(["visitors","document","objects","ServerVariable","$visitor"]),Uy.refract=On(["visitors","document","objects","Tag","$visitor"]),zy.refract=On(["visitors","document","objects","XML","$visitor"]);const Hy=class extends zf{},Ky=class extends Vf{get pathItems(){return this.get("pathItems")}set pathItems(e){this.set("pathItems",e)}},Gy=class extends Jf{},Gb=class extends Wf{},Yb=class extends Ty{},Yy=class extends Hf{},Xy=class extends Kf{},Qy=class extends Gf{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},Zy=class extends Yf{get license(){return this.get("license")}set license(e){this.set("license",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}};class Xb extends Ge.Om{static default=new Xb("https://spec.openapis.org/oas/3.1/dialect/base");constructor(e,r,n){super(e,r,n),this.element="jsonSchemaDialect"}}const ym=Xb,ev=class extends Xf{get identifier(){return this.get("identifier")}set identifier(e){this.set("identifier",e)}},tv=class extends Qf{},rv=class extends Zf{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},Qb=class extends Iy{},Zb=class extends My{},e1=class extends em{};class s4 extends Ge.Sh{constructor(e,r,n){super(e,r,n),this.element="openApi3_1",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get jsonSchemaDialect(){return this.get("jsonSchemaDialect")}set jsonSchemaDialect(e){this.set("jsonSchemaDialect",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get webhooks(){return this.get("webhooks")}set webhooks(e){this.set("webhooks",e)}}const Lu=s4,vm=class extends tm{get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}},nv=class extends rm{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},$u=class extends nm{get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}},av=class extends am{};class t1 extends om{}Object.defineProperty(t1.prototype,"description",{get(){return this.get("description")},set(t){this.set("description",t)},enumerable:!0}),Object.defineProperty(t1.prototype,"summary",{get(){return this.get("summary")},set(t){this.set("summary",t)},enumerable:!0});const od=t1,ov=class extends im{},iv=class extends sm{},sv=class extends lm{},bm=class extends Zh{constructor(e,r,n){super(e,r,n),this.element="JSONSchemaDraft6"}get idProp(){throw new Zr("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Zr("id keyword from Core vocabulary has been renamed to $id.")}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}},wm=class extends um{get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get schema(){throw new Zr("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Zr("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get method(){throw new Zr("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Zr("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Zr("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Zr("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}};var l4=ha((function t(e,r,n){if(e.length===0)return r;var a=e[0];if(e.length>1){var o=!jy(n)&&ts(a,n)&&typeof n[a]=="object"?n[a]:Wh(e[1])?[]:{};r=t(Array.prototype.slice.call(e,1),r,o)}return(function(c,d,E){if(Wh(c)&&Dl(E)){var x=[].concat(E);return x[c]=d,x}var k={};for(var P in E)k[P]=E[P];return k[c]=d,k})(a,r,n)}));const Kt=l4;var c4=ha((function(e,r,n){var a=Array.prototype.slice.call(n,0);return a.splice(e,r),a}));const u4=c4;var p4=ha((function(e,r,n){return Kt([e],r,n)}));const h4=p4;var d4=Tr((function t(e,r){if(r==null)return r;switch(e.length){case 0:return r;case 1:return(function(p,c){if(c==null)return c;if(Wh(p)&&Dl(c))return u4(p,1,c);var d={};for(var E in c)d[E]=c[E];return delete d[p],d})(e[0],r);default:var n=e[0],a=Array.prototype.slice.call(e,1);return r[n]==null?(function(p,c){if(Wh(p)&&Dl(c))return[].concat(c);var d={};for(var E in c)d[E]=c[E];return d})(n,r):h4(n,t(a,r[n]),r)}}));const Ii=d4,c2=class extends BS{constructor(e){super(e),this.element=new bm}get defaultDialectIdentifier(){return"http://json-schema.org/draft-06/schema#"}BooleanElement(e){const r=this.enter(e);return this.element.classes.push("boolean-json-schema"),r}handleSchemaIdentifier(e,r="$id"){return super.handleSchemaIdentifier(e,r)}},f4=class extends qS{BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),on}},m4=class extends gn{ArrayElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-examples"),r}},u2=class extends zS{constructor(e){super(e),this.element=new wm}},wo=mo(Kt(["visitors","document","objects","JSONSchema","$visitor"],c2),Ii(["visitors","document","objects","JSONSchema","fixedFields","id"]),Kt(["visitors","document","objects","JSONSchema","fixedFields","$id"],bo.visitors.value),Kt(["visitors","document","objects","JSONSchema","fixedFields","contains"],bo.visitors.JSONSchemaOrJSONReferenceVisitor),Kt(["visitors","document","objects","JSONSchema","fixedFields","items"],f4),Kt(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],bo.visitors.JSONSchemaOrJSONReferenceVisitor),Kt(["visitors","document","objects","JSONSchema","fixedFields","const"],bo.visitors.value),Kt(["visitors","document","objects","JSONSchema","fixedFields","examples"],m4),Kt(["visitors","document","objects","LinkDescription","$visitor"],u2),Kt(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],bo.visitors.JSONSchemaOrJSONReferenceVisitor),Ii(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Kt(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],bo.visitors.JSONSchemaOrJSONReferenceVisitor),Ii(["visitors","document","objects","LinkDescription","fixedFields","method"]),Ii(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Kt(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],bo.visitors.value))(bo),g4={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Bl},y4=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof bm||t(n)&&e("JSONSchemaDraft6",n)&&r("object",n))),v4=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof wm||t(n)&&e("linkDescription",n)&&r("object",n))),b4={namespace:t=>{const{base:e}=t;return e.register("jSONSchemaDraft6",bm),e.register("jSONReference",ed),e.register("media",cm),e.register("linkDescription",wm),e}},w4=b4,E4=()=>{const t=Ac(w4);return{predicates:{...ie,isStringElement:Ir},namespace:t}},S4=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=wo}={})=>{const a=(0,Ge.e)(t),o=Ru(n),p=new(ro(e,o))({specObj:o});return Pa(a,p),ql(p.element,r,{toolboxCreator:E4,visitorOptions:{keyMap:g4,nodeTypeGetter:hm}})},p2=t=>(e,r={})=>S4(e,{specPath:t,...r});bm.refract=p2(["visitors","document","objects","JSONSchema","$visitor"]),wm.refract=p2(["visitors","document","objects","LinkDescription","$visitor"]);const Em=class extends bm{constructor(e,r,n){super(e,r,n),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get media(){throw new Zr('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new Zr('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}},Sm=class extends wm{get anchor(){return this.get("anchor")}set anchor(e){this.set("anchor",e)}get anchorPointer(){return this.get("anchorPointer")}set anchorPointer(e){this.set("anchorPointer",e)}get templatePointers(){return this.get("templatePointers")}set templatePointers(e){this.set("templatePointers",e)}get templateRequired(){return this.get("templateRequired")}set templateRequired(e){this.set("templateRequired",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){throw new Zr("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new Zr("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}get targetMediaType(){return this.get("targetMediaType")}set targetMediaType(e){this.set("targetMediaType",e)}get targetHints(){return this.get("targetHints")}set targetHints(e){this.set("targetHints",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get headerSchema(){return this.get("headerSchema")}set headerSchema(e){this.set("headerSchema",e)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get submissionEncType(){throw new Zr("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new Zr("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}},h2=class extends c2{constructor(e){super(e),this.element=new Em}get defaultDialectIdentifier(){return"http://json-schema.org/draft-07/schema#"}},d2=class extends u2{constructor(e){super(e),this.element=new Sm}},Bu=mo(Kt(["visitors","document","objects","JSONSchema","$visitor"],h2),Kt(["visitors","document","objects","JSONSchema","fixedFields","$comment"],wo.visitors.value),Kt(["visitors","document","objects","JSONSchema","fixedFields","if"],wo.visitors.JSONSchemaOrJSONReferenceVisitor),Kt(["visitors","document","objects","JSONSchema","fixedFields","then"],wo.visitors.JSONSchemaOrJSONReferenceVisitor),Kt(["visitors","document","objects","JSONSchema","fixedFields","else"],wo.visitors.JSONSchemaOrJSONReferenceVisitor),Ii(["visitors","document","objects","JSONSchema","fixedFields","media"]),Kt(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],wo.visitors.value),Kt(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],wo.visitors.value),Kt(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],wo.visitors.value),Kt(["visitors","document","objects","LinkDescription","$visitor"],d2),Kt(["visitors","document","objects","LinkDescription","fixedFields","anchor"],wo.visitors.value),Kt(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],wo.visitors.value),Ii(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Kt(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],wo.visitors.value),Kt(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],wo.visitors.value),Kt(["visitors","document","objects","LinkDescription","fixedFields","description"],wo.visitors.value),Kt(["visitors","document","objects","LinkDescription","fixedFields","$comment"],wo.visitors.value),Kt(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],wo.visitors.JSONSchemaOrJSONReferenceVisitor),Ii(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Kt(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],wo.visitors.value))(wo),x4={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...Bl},_4=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Em||t(n)&&e("JSONSchemaDraft7",n)&&r("object",n))),O4=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Sm||t(n)&&e("linkDescription",n)&&r("object",n))),k4={namespace:t=>{const{base:e}=t;return e.register("jSONSchemaDraft7",Em),e.register("jSONReference",ed),e.register("linkDescription",Sm),e}},A4=k4,C4=()=>{const t=Ac(A4);return{predicates:{...se,isStringElement:Ir},namespace:t}},j4=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Bu}={})=>{const a=(0,Ge.e)(t),o=Ru(n),p=new(ro(e,o))({specObj:o});return Pa(a,p),ql(p.element,r,{toolboxCreator:C4,visitorOptions:{keyMap:x4,nodeTypeGetter:hm}})},f2=t=>(e,r={})=>j4(e,{specPath:t,...r});Em.refract=f2(["visitors","document","objects","JSONSchema","$visitor"]),Sm.refract=f2(["visitors","document","objects","LinkDescription","$visitor"]);const xm=class extends Em{constructor(e,r,n){super(e,r,n),this.element="JSONSchema201909"}get $vocabulary(){return this.get("$vocabulary")}set $vocabulary(e){this.set("$vocabulary",e)}get $anchor(){return this.get("$anchor")}set $anchor(e){this.set("$anchor",e)}get $recursiveAnchor(){return this.get("$recursiveAnchor")}set $recursiveAnchor(e){this.set("$recursiveAnchor",e)}get $recursiveRef(){return this.get("$recursiveRef")}set $recursiveRef(e){this.set("$recursiveRef",e)}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get $defs(){return this.get("$defs")}set $defs(e){this.set("$defs",e)}get definitions(){throw new Zr("definitions keyword from Validation vocabulary has been renamed to $defs.")}set definitions(e){throw new Zr("definitions keyword from Validation vocabulary has been renamed to $defs.")}get not(){return this.get("not")}set not(e){this.set("not",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get dependentSchemas(){return this.get("dependentSchemas")}set dependentSchemas(e){this.set("dependentSchemas",e)}get dependencies(){throw new Zr("dependencies keyword from Validation vocabulary has been renamed to dependentSchemas.")}set dependencies(e){throw new Zr("dependencies keyword from Validation vocabulary has been renamed to dependentSchemas.")}get items(){return this.get("items")}set items(e){this.set("items",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get unevaluatedItems(){return this.get("unevaluatedItems")}set unevaluatedItems(e){this.set("unevaluatedItems",e)}get unevaluatedProperties(){return this.get("unevaluatedProperties")}set unevaluatedProperties(e){this.set("unevaluatedProperties",e)}get maxContains(){return this.get("maxContains")}set maxContains(e){this.set("maxContains",e)}get minContains(){return this.get("minContains")}set minContains(e){this.set("minContains",e)}get dependentRequired(){return this.get("dependentRequired")}set dependentRequired(e){this.set("dependentRequired",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}get contentSchema(){return this.get("contentSchema")}set contentSchema(e){this.set("contentSchema",e)}},_m=class extends Sm{get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get headerSchema(){return this.get("headerSchema")}set headerSchema(e){this.set("headerSchema",e)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}},Eo=class extends h2{constructor(e){super(e),this.element=new xm}get defaultDialectIdentifier(){return"https://json-schema.org/draft/2019-09/schema"}ObjectElement(e){this.handleDialectIdentifier(e),this.handleSchemaIdentifier(e),this.parent=this.element;const r=Up.prototype.ObjectElement.call(this,e);return Ir(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),r}},P4=class extends gn{ObjectElement(e){const r=super.enter(e);return this.element.classes.push("json-schema-$vocabulary"),r}},N4=class extends gn{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}};class T4 extends Vt(Fu,Na,gn){constructor(e){super(e),this.element=new Ge.Sh,this.element.classes.push("json-schema-$defs"),this.specPath=jr(["document","objects","JSONSchema"])}}const m2=T4;class I4 extends Vt(Ti,Na,gn){constructor(e){super(e),this.element=new Ge.wE,this.element.classes.push("json-schema-allOf")}ArrayElement(e){return e.forEach((r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),on}}const g2=I4;class M4 extends Vt(Ti,Na,gn){constructor(e){super(e),this.element=new Ge.wE,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){return e.forEach((r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),on}}const y2=M4;class R4 extends Vt(Ti,Na,gn){constructor(e){super(e),this.element=new Ge.wE,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){return e.forEach((r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),on}}const v2=R4;class D4 extends Vt(Fu,Na,gn){constructor(e){super(e),this.element=new Ge.Sh,this.element.classes.push("json-schema-dependentSchemas"),this.specPath=jr(["document","objects","JSONSchema"])}}const b2=D4;class F4 extends Vt(Ti,Na,gn){ObjectElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),on}ArrayElement(e){return this.element=new Ge.wE,this.element.classes.push("json-schema-items"),e.forEach((r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),on}BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),on}}const L4=F4;class $4 extends Vt(Fu,Na,gn){constructor(e){super(e),this.element=new Ge.Sh,this.element.classes.push("json-schema-properties"),this.specPath=jr(["document","objects","JSONSchema"])}}const w2=$4;class B4 extends Vt(Fu,Na,gn){constructor(e){super(e),this.element=new Ge.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=jr(["document","objects","JSONSchema"])}}const E2=B4,q4=class extends gn{ObjectElement(e){const r=super.enter(e);return this.element.classes.push("json-schema-dependentRequired"),r}},S2=class extends d2{constructor(e){super(e),this.element=new _m}},lv=mo(Kt(["visitors","document","objects","JSONSchema","$visitor"],Eo),Kt(["visitors","document","objects","JSONSchema","fixedFields","$vocabulary"],P4),Kt(["visitors","document","objects","JSONSchema","fixedFields","$anchor"],Bu.visitors.value),Kt(["visitors","document","objects","JSONSchema","fixedFields","$recursiveAnchor"],Bu.visitors.value),Kt(["visitors","document","objects","JSONSchema","fixedFields","$recursiveRef"],Bu.visitors.value),Ii(["visitors","document","objects","JSONReference","$visitor"]),Kt(["visitors","document","objects","JSONSchema","fixedFields","$ref"],N4),Ii(["visitors","document","objects","JSONSchema","fixedFields","definitions"]),Kt(["visitors","document","objects","JSONSchema","fixedFields","$defs"],m2),Kt(["visitors","document","objects","JSONSchema","fixedFields","allOf"],g2),Kt(["visitors","document","objects","JSONSchema","fixedFields","anyOf"],y2),Kt(["visitors","document","objects","JSONSchema","fixedFields","oneOf"],v2),Kt(["visitors","document","objects","JSONSchema","fixedFields","not"],Eo),Kt(["visitors","document","objects","JSONSchema","fixedFields","if"],Eo),Kt(["visitors","document","objects","JSONSchema","fixedFields","then"],Eo),Kt(["visitors","document","objects","JSONSchema","fixedFields","else"],Eo),Ii(["visitors","document","objects","JSONSchema","fixedFields","dependencies"]),Kt(["visitors","document","objects","JSONSchema","fixedFields","dependentSchemas"],b2),Kt(["visitors","document","objects","JSONSchema","fixedFields","items"],L4),Kt(["visitors","document","objects","JSONSchema","fixedFields","contains"],Eo),Kt(["visitors","document","objects","JSONSchema","fixedFields","properties"],w2),Kt(["visitors","document","objects","JSONSchema","fixedFields","patternProperties"],E2),Kt(["visitors","document","objects","JSONSchema","fixedFields","additionalProperties"],Eo),Kt(["visitors","document","objects","JSONSchema","fixedFields","additionalItems"],Eo),Kt(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Eo),Kt(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedItems"],Eo),Kt(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedProperties"],Eo),Kt(["visitors","document","objects","JSONSchema","fixedFields","maxContains"],Bu.visitors.value),Kt(["visitors","document","objects","JSONSchema","fixedFields","minContains"],Bu.visitors.value),Kt(["visitors","document","objects","JSONSchema","fixedFields","dependentRequired"],q4),Kt(["visitors","document","objects","JSONSchema","fixedFields","deprecated"],Bu.visitors.value),Kt(["visitors","document","objects","JSONSchema","fixedFields","contentSchema"],Eo),Kt(["visitors","document","objects","LinkDescription","$visitor"],S2),Kt(["visitors","document","objects","LinkDescription","fixedFields","targetSchema"],Eo),Kt(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Eo),Kt(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],Eo),Kt(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Eo))(Bu),U4={JSONSchema201909Element:["content"],LinkDescriptionElement:["content"],...Bl},z4=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof xm||t(n)&&e("JSONSchema201909",n)&&r("object",n))),V4=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof _m||t(n)&&e("linkDescription",n)&&r("object",n))),J4={namespace:t=>{const{base:e}=t;return e.register("jSONSchema201909",xm),e.register("linkDescription",_m),e}},W4=J4,H4=()=>{const t=Ac(W4);return{predicates:{...Te,isStringElement:Ir},namespace:t}},K4=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=lv}={})=>{const a=(0,Ge.e)(t),o=Ru(n),p=new(ro(e,o))({specObj:o});return Pa(a,p),ql(p.element,r,{toolboxCreator:H4,visitorOptions:{keyMap:U4,nodeTypeGetter:hm}})},x2=t=>(e,r={})=>K4(e,{specPath:t,...r});xm.refract=x2(["visitors","document","objects","JSONSchema","$visitor"]),_m.refract=x2(["visitors","document","objects","LinkDescription","$visitor"]);const Om=class extends xm{constructor(e,r,n){super(e,r,n),this.element="JSONSchema202012"}get $dynamicAnchor(){return this.get("$dynamicAnchor")}set $dynamicAnchor(e){this.set("$dynamicAnchor",e)}get $recursiveAnchor(){throw new Zr("$recursiveAnchor keyword from Core vocabulary has been renamed to $dynamicAnchor.")}set $recursiveAnchor(e){throw new Zr("$recursiveAnchor keyword from Core vocabulary has been renamed to $dynamicAnchor.")}get $dynamicRef(){return this.get("$dynamicRef")}set $dynamicRef(e){this.set("$dynamicRef",e)}get $recursiveRef(){throw new Zr("$recursiveRef keyword from Core vocabulary has been renamed to $dynamicRef.")}set $recursiveRef(e){throw new Zr("$recursiveRef keyword from Core vocabulary has been renamed to $dynamicRef.")}get prefixItems(){return this.get("prefixItems")}set prefixItems(e){this.set("prefixItems",e)}},cv=class extends _m{get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get headerSchema(){return this.get("headerSchema")}set headerSchema(e){this.set("headerSchema",e)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}},qa=class extends Eo{constructor(e){super(e),this.element=new Om}get defaultDialectIdentifier(){return"https://json-schema.org/draft/2020-12/schema"}};class G4 extends Vt(Ti,Na,gn){constructor(e){super(e),this.element=new Ge.wE,this.element.classes.push("json-schema-prefixItems")}ArrayElement(e){return e.forEach((r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),on}}const _2=G4,Y4=class extends S2{constructor(e){super(e),this.element=new cv}},O2=mo(Kt(["visitors","document","objects","JSONSchema","$visitor"],qa),Ii(["visitors","document","objects","JSONSchema","fixedFields","$recursiveAnchor"]),Kt(["visitors","document","objects","JSONSchema","fixedFields","$dynamicAnchor"],lv.visitors.value),Ii(["visitors","document","objects","JSONSchema","fixedFields","$recursiveRef"]),Kt(["visitors","document","objects","JSONSchema","fixedFields","$dynamicRef"],lv.visitors.value),Kt(["visitors","document","objects","JSONSchema","fixedFields","not"],qa),Kt(["visitors","document","objects","JSONSchema","fixedFields","if"],qa),Kt(["visitors","document","objects","JSONSchema","fixedFields","then"],qa),Kt(["visitors","document","objects","JSONSchema","fixedFields","else"],qa),Kt(["visitors","document","objects","JSONSchema","fixedFields","prefixItems"],_2),Kt(["visitors","document","objects","JSONSchema","fixedFields","items"],qa),Kt(["visitors","document","objects","JSONSchema","fixedFields","contains"],qa),Kt(["visitors","document","objects","JSONSchema","fixedFields","additionalProperties"],qa),Ii(["visitors","document","objects","JSONSchema","fixedFields","additionalItems"]),Kt(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],qa),Kt(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedItems"],qa),Kt(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedProperties"],qa),Kt(["visitors","document","objects","JSONSchema","fixedFields","contentSchema"],qa),Kt(["visitors","document","objects","LinkDescription","$visitor"],Y4),Kt(["visitors","document","objects","LinkDescription","fixedFields","targetSchema"],qa),Kt(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],qa),Kt(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],qa),Kt(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],qa))(lv),X4={JSONSchema202012Element:["content"],LinkDescriptionElement:["content"],...Bl},Q4=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Om||t(n)&&e("JSONSchema202012",n)&&r("object",n))),Z4=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof cv||t(n)&&e("linkDescription",n)&&r("object",n))),eI={namespace:t=>{const{base:e}=t;return e.register("jSONSchema202012",Om),e.register("linkDescription",cv),e}},tI=eI,rI=()=>{const t=Ac(tI);return{predicates:{...he,isStringElement:Ir},namespace:t}},nI=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=O2}={})=>{const a=(0,Ge.e)(t),o=Ru(n),p=new(ro(e,o))({specObj:o});return Pa(a,p),ql(p.element,r,{toolboxCreator:rI,visitorOptions:{keyMap:X4,nodeTypeGetter:hm}})},k2=t=>(e,r={})=>nI(e,{specPath:t,...r});Om.refract=k2(["visitors","document","objects","JSONSchema","$visitor"]),cv.refract=k2(["visitors","document","objects","LinkDescription","$visitor"]);const qu=class extends Om{constructor(e,r,n){super(e,r,n),this.element="schema"}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}},uv=class extends dm{},pv=class extends fm{},hv=class extends mm{},dv=class extends gm{},r1=class extends Uy{},n1=class extends zy{};class aI extends Vt(Jr,er){constructor(e){super(e),this.element=new Lu,this.specPath=jr(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0,this.openApiSemanticElement=this.element}ObjectElement(e){return this.openApiGenericElement=e,Jr.prototype.ObjectElement.call(this,e)}}const oI=aI,iI=pt.visitors.document.objects.Info.$visitor,sI=class extends iI{constructor(e){super(e),this.element=new Zy}},lI=pt.visitors.document.objects.Contact.$visitor,cI=class extends lI{constructor(e){super(e),this.element=new Gy}},uI=pt.visitors.document.objects.License.$visitor,pI=class extends uI{constructor(e){super(e),this.element=new ev}},hI=pt.visitors.document.objects.Link.$visitor,dI=class extends hI{constructor(e){super(e),this.element=new tv}};class fI extends Vt(zs,er){StringElement(e){const r=new ym(Et(e));return this.copyMetaAndAttributes(e,r),this.element=r,on}}const mI=fI,gI=pt.visitors.document.objects.Server.$visitor,yI=class extends gI{constructor(e){super(e),this.element=new hv}},vI=pt.visitors.document.objects.ServerVariable.$visitor,bI=class extends vI{constructor(e){super(e),this.element=new dv}},wI=pt.visitors.document.objects.MediaType.$visitor,EI=class extends wI{constructor(e){super(e),this.element=new rv}},SI=pt.visitors.document.objects.SecurityRequirement.$visitor,xI=class extends SI{constructor(e){super(e),this.element=new uv}},_I=pt.visitors.document.objects.Components.$visitor,OI=class extends _I{constructor(e){super(e),this.element=new Ky}},kI=pt.visitors.document.objects.Tag.$visitor,AI=class extends kI{constructor(e){super(e),this.element=new r1}},CI=pt.visitors.document.objects.Reference.$visitor,jI=class extends CI{constructor(e){super(e),this.element=new od}},PI=pt.visitors.document.objects.Parameter.$visitor,NI=class extends PI{constructor(e){super(e),this.element=new nv}},TI=pt.visitors.document.objects.Header.$visitor,II=class extends TI{constructor(e){super(e),this.element=new Qy}},MI=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Hy||t(n)&&e("callback",n)&&r("object",n))),RI=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ky||t(n)&&e("components",n)&&r("object",n))),DI=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Gy||t(n)&&e("contact",n)&&r("object",n))),FI=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Yy||t(n)&&e("example",n)&&r("object",n))),LI=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Xy||t(n)&&e("externalDocumentation",n)&&r("object",n))),$I=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Qy||t(n)&&e("header",n)&&r("object",n))),BI=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Zy||t(n)&&e("info",n)&&r("object",n))),A2=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ym||t(n)&&e("jsonSchemaDialect",n)&&r("string",n))),qI=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ev||t(n)&&e("license",n)&&r("object",n))),UI=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof tv||t(n)&&e("link",n)&&r("object",n))),zI=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof e1||t(n)&&e("openapi",n)&&r("string",n))),C2=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r,hasClass:n})=>a=>a instanceof Lu||t(a)&&e("openApi3_1",a)&&r("object",a)&&n("api",a))),j2=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof vm||t(n)&&e("operation",n)&&r("object",n))),VI=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof nv||t(n)&&e("parameter",n)&&r("object",n))),zp=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof $u||t(n)&&e("pathItem",n)&&r("object",n))),JI=t=>{if(!zp(t)||!Ir(t.$ref))return!1;const e=Et(t.$ref);return typeof e=="string"&&e.length>0&&!e.startsWith("#")},WI=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof av||t(n)&&e("paths",n)&&r("object",n))),Vp=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof od||t(n)&&e("reference",n)&&r("object",n))),HI=t=>{if(!Vp(t)||!Ir(t.$ref))return!1;const e=Et(t.$ref);return typeof e=="string"&&e.length>0&&!e.startsWith("#")},KI=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ov||t(n)&&e("requestBody",n)&&r("object",n))),GI=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof iv||t(n)&&e("response",n)&&r("object",n))),YI=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof sv||t(n)&&e("responses",n)&&r("object",n))),Vs=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof qu||t(n)&&e("schema",n)&&r("object",n))),a1=t=>Ff(t)&&t.classes.includes("boolean-json-schema"),XI=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof uv||t(n)&&e("securityRequirement",n)&&r("object",n))),QI=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof pv||t(n)&&e("securityScheme",n)&&r("object",n))),ZI=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof hv||t(n)&&e("server",n)&&r("object",n))),e5=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof dv||t(n)&&e("serverVariable",n)&&r("object",n))),t5=Qt((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof rv||t(n)&&e("mediaType",n)&&r("object",n)));class r5 extends Vt(Jr,Na,er){constructor(e){super(e),this.element=new qu,this.specPath=jr(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0,this.jsonSchemaDefaultDialect=ym.default,this.passingOptionsNames.push("parent")}ObjectElement(e){this.handleDialectIdentifier(e),this.handleSchemaIdentifier(e),this.parent=this.element;const r=Jr.prototype.ObjectElement.call(this,e);return Ir(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),r}BooleanElement(e){return qa.prototype.BooleanElement.call(this,e)}get defaultDialectIdentifier(){let e;return e=this.openApiSemanticElement!==void 0&&A2(this.openApiSemanticElement.jsonSchemaDialect)?Et(this.openApiSemanticElement.jsonSchemaDialect):this.openApiGenericElement!==void 0&&Ir(this.openApiGenericElement.get("jsonSchemaDialect"))?Et(this.openApiGenericElement.get("jsonSchemaDialect")):Et(this.jsonSchemaDefaultDialect),e}handleDialectIdentifier(e){return qa.prototype.handleDialectIdentifier.call(this,e)}handleSchemaIdentifier(e){return qa.prototype.handleSchemaIdentifier.call(this,e)}}const n5=r5,a5=class extends m2{constructor(e){super(e),this.passingOptionsNames.push("parent")}},o5=class extends g2{constructor(e){super(e),this.passingOptionsNames.push("parent")}},i5=class extends y2{constructor(e){super(e),this.passingOptionsNames.push("parent")}},s5=class extends v2{constructor(e){super(e),this.passingOptionsNames.push("parent")}},l5=class extends b2{constructor(e){super(e),this.passingOptionsNames.push("parent")}},c5=class extends _2{constructor(e){super(e),this.passingOptionsNames.push("parent")}},u5=class extends w2{constructor(e){super(e),this.passingOptionsNames.push("parent")}},p5=class extends E2{constructor(e){super(e),this.passingOptionsNames.push("parent")}},h5=pt.visitors.document.objects.Discriminator.$visitor,d5=class extends h5{constructor(e){super(e),this.element=new Gb,this.canSupportSpecificationExtensions=!0}},f5=pt.visitors.document.objects.XML.$visitor,m5=class extends f5{constructor(e){super(e),this.element=new n1}};class g5 extends Vt(Ur,er){constructor(e){super(e),this.element=new r2,this.specPath=jr(["document","objects","Schema"])}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(Vs).forEach(((n,a)=>{n.setMetaProperty("schemaName",Et(a))})),r}}const y5=g5;class o1 extends Ge.Sh{static primaryClass="components-path-items";constructor(e,r,n){super(e,r,n),this.classes.push(o1.primaryClass)}}const v5=o1;class b5 extends Vt(Ur,er){constructor(e){super(e),this.element=new v5,this.specPath=r=>Vn(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(Vp).forEach((n=>{n.setMetaProperty("referenced-element","pathItem")})),r}}const w5=b5,E5=pt.visitors.document.objects.Example.$visitor,S5=class extends E5{constructor(e){super(e),this.element=new Yy}},x5=pt.visitors.document.objects.ExternalDocumentation.$visitor,_5=class extends x5{constructor(e){super(e),this.element=new Xy}},O5=pt.visitors.document.objects.Encoding.$visitor,k5=class extends O5{constructor(e){super(e),this.element=new Yb}},A5=pt.visitors.document.objects.Paths.$visitor,C5=class extends A5{constructor(e){super(e),this.element=new av}},j5=pt.visitors.document.objects.RequestBody.$visitor,P5=class extends j5{constructor(e){super(e),this.element=new ov}},P2=pt.visitors.document.objects.Callback.$visitor,N5=class extends P2{constructor(e){super(e),this.element=new Hy,this.specPath=r=>Vn(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const r=P2.prototype.ObjectElement.call(this,e);return this.element.filter(Vp).forEach((n=>{n.setMetaProperty("referenced-element","pathItem")})),r}},T5=pt.visitors.document.objects.Response.$visitor,I5=class extends T5{constructor(e){super(e),this.element=new iv}},M5=pt.visitors.document.objects.Responses.$visitor,R5=class extends M5{constructor(e){super(e),this.element=new sv}},D5=pt.visitors.document.objects.Operation.$visitor,F5=class extends D5{constructor(e){super(e),this.element=new vm}},L5=pt.visitors.document.objects.PathItem.$visitor,$5=class extends L5{constructor(e){super(e),this.element=new $u}},B5=pt.visitors.document.objects.SecurityScheme.$visitor,q5=class extends B5{constructor(e){super(e),this.element=new pv}},U5=pt.visitors.document.objects.OAuthFlows.$visitor,z5=class extends U5{constructor(e){super(e),this.element=new Zb}},V5=pt.visitors.document.objects.OAuthFlow.$visitor,J5=class extends V5{constructor(e){super(e),this.element=new Qb}};class i1 extends Ge.Sh{static primaryClass="webhooks";constructor(e,r,n){super(e,r,n),this.classes.push(i1.primaryClass)}}const W5=i1;class H5 extends Vt(Ur,er){constructor(e){super(e),this.element=new W5,this.specPath=r=>Vn(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const r=Ur.prototype.ObjectElement.call(this,e);return this.element.filter(Vp).forEach((n=>{n.setMetaProperty("referenced-element","pathItem")})),this.element.filter(zp).forEach(((n,a)=>{n.setMetaProperty("webhook-name",Et(a))})),r}}const K5=H5,{JSONSchema:G5,LinkDescription:Y5}=O2.visitors.document.objects,X5={visitors:{value:pt.visitors.value,document:{objects:{OpenApi:{$visitor:oI,fixedFields:{openapi:pt.visitors.document.objects.OpenApi.fixedFields.openapi,info:{$ref:"#/visitors/document/objects/Info"},jsonSchemaDialect:mI,servers:pt.visitors.document.objects.OpenApi.fixedFields.servers,paths:{$ref:"#/visitors/document/objects/Paths"},webhooks:K5,components:{$ref:"#/visitors/document/objects/Components"},security:pt.visitors.document.objects.OpenApi.fixedFields.security,tags:pt.visitors.document.objects.OpenApi.fixedFields.tags,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:sI,fixedFields:{title:pt.visitors.document.objects.Info.fixedFields.title,description:pt.visitors.document.objects.Info.fixedFields.description,summary:{$ref:"#/visitors/value"},termsOfService:pt.visitors.document.objects.Info.fixedFields.termsOfService,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:pt.visitors.document.objects.Info.fixedFields.version}},Contact:{$visitor:cI,fixedFields:{name:pt.visitors.document.objects.Contact.fixedFields.name,url:pt.visitors.document.objects.Contact.fixedFields.url,email:pt.visitors.document.objects.Contact.fixedFields.email}},License:{$visitor:pI,fixedFields:{name:pt.visitors.document.objects.License.fixedFields.name,identifier:{$ref:"#/visitors/value"},url:pt.visitors.document.objects.License.fixedFields.url}},Server:{$visitor:yI,fixedFields:{url:pt.visitors.document.objects.Server.fixedFields.url,description:pt.visitors.document.objects.Server.fixedFields.description,variables:pt.visitors.document.objects.Server.fixedFields.variables}},ServerVariable:{$visitor:bI,fixedFields:{enum:pt.visitors.document.objects.ServerVariable.fixedFields.enum,default:pt.visitors.document.objects.ServerVariable.fixedFields.default,description:pt.visitors.document.objects.ServerVariable.fixedFields.description}},Components:{$visitor:OI,fixedFields:{schemas:y5,responses:pt.visitors.document.objects.Components.fixedFields.responses,parameters:pt.visitors.document.objects.Components.fixedFields.parameters,examples:pt.visitors.document.objects.Components.fixedFields.examples,requestBodies:pt.visitors.document.objects.Components.fixedFields.requestBodies,headers:pt.visitors.document.objects.Components.fixedFields.headers,securitySchemes:pt.visitors.document.objects.Components.fixedFields.securitySchemes,links:pt.visitors.document.objects.Components.fixedFields.links,callbacks:pt.visitors.document.objects.Components.fixedFields.callbacks,pathItems:w5}},Paths:{$visitor:C5},PathItem:{$visitor:$5,fixedFields:{$ref:pt.visitors.document.objects.PathItem.fixedFields.$ref,summary:pt.visitors.document.objects.PathItem.fixedFields.summary,description:pt.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:pt.visitors.document.objects.PathItem.fixedFields.servers,parameters:pt.visitors.document.objects.PathItem.fixedFields.parameters}},Operation:{$visitor:F5,fixedFields:{tags:pt.visitors.document.objects.Operation.fixedFields.tags,summary:pt.visitors.document.objects.Operation.fixedFields.summary,description:pt.visitors.document.objects.Operation.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:pt.visitors.document.objects.Operation.fixedFields.operationId,parameters:pt.visitors.document.objects.Operation.fixedFields.parameters,requestBody:pt.visitors.document.objects.Operation.fixedFields.requestBody,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:pt.visitors.document.objects.Operation.fixedFields.callbacks,deprecated:pt.visitors.document.objects.Operation.fixedFields.deprecated,security:pt.visitors.document.objects.Operation.fixedFields.security,servers:pt.visitors.document.objects.Operation.fixedFields.servers}},ExternalDocumentation:{$visitor:_5,fixedFields:{description:pt.visitors.document.objects.ExternalDocumentation.fixedFields.description,url:pt.visitors.document.objects.ExternalDocumentation.fixedFields.url}},Parameter:{$visitor:NI,fixedFields:{name:pt.visitors.document.objects.Parameter.fixedFields.name,in:pt.visitors.document.objects.Parameter.fixedFields.in,description:pt.visitors.document.objects.Parameter.fixedFields.description,required:pt.visitors.document.objects.Parameter.fixedFields.required,deprecated:pt.visitors.document.objects.Parameter.fixedFields.deprecated,allowEmptyValue:pt.visitors.document.objects.Parameter.fixedFields.allowEmptyValue,style:pt.visitors.document.objects.Parameter.fixedFields.style,explode:pt.visitors.document.objects.Parameter.fixedFields.explode,allowReserved:pt.visitors.document.objects.Parameter.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:pt.visitors.document.objects.Parameter.fixedFields.example,examples:pt.visitors.document.objects.Parameter.fixedFields.examples,content:pt.visitors.document.objects.Parameter.fixedFields.content}},RequestBody:{$visitor:P5,fixedFields:{description:pt.visitors.document.objects.RequestBody.fixedFields.description,content:pt.visitors.document.objects.RequestBody.fixedFields.content,required:pt.visitors.document.objects.RequestBody.fixedFields.required}},MediaType:{$visitor:EI,fixedFields:{schema:{$ref:"#/visitors/document/objects/Schema"},example:pt.visitors.document.objects.MediaType.fixedFields.example,examples:pt.visitors.document.objects.MediaType.fixedFields.examples,encoding:pt.visitors.document.objects.MediaType.fixedFields.encoding}},Encoding:{$visitor:k5,fixedFields:{contentType:pt.visitors.document.objects.Encoding.fixedFields.contentType,headers:pt.visitors.document.objects.Encoding.fixedFields.headers,style:pt.visitors.document.objects.Encoding.fixedFields.style,explode:pt.visitors.document.objects.Encoding.fixedFields.explode,allowReserved:pt.visitors.document.objects.Encoding.fixedFields.allowReserved}},Responses:{$visitor:R5,fixedFields:{default:pt.visitors.document.objects.Responses.fixedFields.default}},Response:{$visitor:I5,fixedFields:{description:pt.visitors.document.objects.Response.fixedFields.description,headers:pt.visitors.document.objects.Response.fixedFields.headers,content:pt.visitors.document.objects.Response.fixedFields.content,links:pt.visitors.document.objects.Response.fixedFields.links}},Callback:{$visitor:N5},Example:{$visitor:S5,fixedFields:{summary:pt.visitors.document.objects.Example.fixedFields.summary,description:pt.visitors.document.objects.Example.fixedFields.description,value:pt.visitors.document.objects.Example.fixedFields.value,externalValue:pt.visitors.document.objects.Example.fixedFields.externalValue}},Link:{$visitor:dI,fixedFields:{operationRef:pt.visitors.document.objects.Link.fixedFields.operationRef,operationId:pt.visitors.document.objects.Link.fixedFields.operationId,parameters:pt.visitors.document.objects.Link.fixedFields.parameters,requestBody:pt.visitors.document.objects.Link.fixedFields.requestBody,description:pt.visitors.document.objects.Link.fixedFields.description,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:II,fixedFields:{description:pt.visitors.document.objects.Header.fixedFields.description,required:pt.visitors.document.objects.Header.fixedFields.required,deprecated:pt.visitors.document.objects.Header.fixedFields.deprecated,allowEmptyValue:pt.visitors.document.objects.Header.fixedFields.allowEmptyValue,style:pt.visitors.document.objects.Header.fixedFields.style,explode:pt.visitors.document.objects.Header.fixedFields.explode,allowReserved:pt.visitors.document.objects.Header.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:pt.visitors.document.objects.Header.fixedFields.example,examples:pt.visitors.document.objects.Header.fixedFields.examples,content:pt.visitors.document.objects.Header.fixedFields.content}},Tag:{$visitor:AI,fixedFields:{name:pt.visitors.document.objects.Tag.fixedFields.name,description:pt.visitors.document.objects.Tag.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:jI,fixedFields:{$ref:pt.visitors.document.objects.Reference.fixedFields.$ref,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},LinkDescription:{...Y5},Schema:{$visitor:n5,fixedFields:{...G5.fixedFields,$defs:a5,allOf:o5,anyOf:i5,oneOf:s5,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:l5,prefixItems:c5,items:{$ref:"#/visitors/document/objects/Schema"},contains:{$ref:"#/visitors/document/objects/Schema"},properties:u5,patternProperties:p5,additionalProperties:{$ref:"#/visitors/document/objects/Schema"},propertyNames:{$ref:"#/visitors/document/objects/Schema"},unevaluatedItems:{$ref:"#/visitors/document/objects/Schema"},unevaluatedProperties:{$ref:"#/visitors/document/objects/Schema"},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:d5,fixedFields:{propertyName:pt.visitors.document.objects.Discriminator.fixedFields.propertyName,mapping:pt.visitors.document.objects.Discriminator.fixedFields.mapping}},XML:{$visitor:m5,fixedFields:{name:pt.visitors.document.objects.XML.fixedFields.name,namespace:pt.visitors.document.objects.XML.fixedFields.namespace,prefix:pt.visitors.document.objects.XML.fixedFields.prefix,attribute:pt.visitors.document.objects.XML.fixedFields.attribute,wrapped:pt.visitors.document.objects.XML.fixedFields.wrapped}},SecurityScheme:{$visitor:q5,fixedFields:{type:pt.visitors.document.objects.SecurityScheme.fixedFields.type,description:pt.visitors.document.objects.SecurityScheme.fixedFields.description,name:pt.visitors.document.objects.SecurityScheme.fixedFields.name,in:pt.visitors.document.objects.SecurityScheme.fixedFields.in,scheme:pt.visitors.document.objects.SecurityScheme.fixedFields.scheme,bearerFormat:pt.visitors.document.objects.SecurityScheme.fixedFields.bearerFormat,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:pt.visitors.document.objects.SecurityScheme.fixedFields.openIdConnectUrl}},OAuthFlows:{$visitor:z5,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:J5,fixedFields:{authorizationUrl:pt.visitors.document.objects.OAuthFlow.fixedFields.authorizationUrl,tokenUrl:pt.visitors.document.objects.OAuthFlow.fixedFields.tokenUrl,refreshUrl:pt.visitors.document.objects.OAuthFlow.fixedFields.refreshUrl,scopes:pt.visitors.document.objects.OAuthFlow.fixedFields.scopes}},SecurityRequirement:{$visitor:xI}},extension:{$visitor:pt.visitors.document.extension.$visitor}}}},as=t=>{if(da(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},Js={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"],...Bl},Q5={namespace:t=>{const{base:e}=t;return e.register("callback",Hy),e.register("components",Ky),e.register("contact",Gy),e.register("discriminator",Gb),e.register("encoding",Yb),e.register("example",Yy),e.register("externalDocumentation",Xy),e.register("header",Qy),e.register("info",Zy),e.register("jsonSchemaDialect",ym),e.register("license",ev),e.register("link",tv),e.register("mediaType",rv),e.register("oAuthFlow",Qb),e.register("oAuthFlows",Zb),e.register("openapi",e1),e.register("openApi3_1",Lu),e.register("operation",vm),e.register("parameter",nv),e.register("pathItem",$u),e.register("paths",av),e.register("reference",od),e.register("requestBody",ov),e.register("response",iv),e.register("responses",sv),e.register("schema",qu),e.register("securityRequirement",uv),e.register("securityScheme",pv),e.register("server",hv),e.register("serverVariable",dv),e.register("tag",r1),e.register("xml",n1),e}},s1=Q5,Z5=t=>{const e=t.reduce(((r,n,a)=>{if(Bs(n)){const o=String(Et(n.key));r.push(o)}else if(vo(t[a-2])){const o=String(t[a-2].content.indexOf(n));r.push(o)}return r}),[]);return _S(e)},N2=()=>{const t=Ac(s1);return{predicates:{...ge,isElement:da,isStringElement:Ir,isArrayElement:vo,isObjectElement:hn,isMemberElement:Bs,isServersElement:KS,includesClasses:Yh,hasElementSourceMap:Gh},ancestorLineageToJSONPointer:Z5,namespace:t}},e8=(t,{specPath:e=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=(0,Ge.e)(t),a=Ru(X5),o=new(ro(e,a))({specObj:a});return Pa(n,o),ql(o.element,r,{toolboxCreator:N2,visitorOptions:{keyMap:Js,nodeTypeGetter:as}})},wn=t=>(e,r={})=>e8(e,{specPath:t,...r});Hy.refract=wn(["visitors","document","objects","Callback","$visitor"]),Ky.refract=wn(["visitors","document","objects","Components","$visitor"]),Gy.refract=wn(["visitors","document","objects","Contact","$visitor"]),Yy.refract=wn(["visitors","document","objects","Example","$visitor"]),Gb.refract=wn(["visitors","document","objects","Discriminator","$visitor"]),Yb.refract=wn(["visitors","document","objects","Encoding","$visitor"]),Xy.refract=wn(["visitors","document","objects","ExternalDocumentation","$visitor"]),Qy.refract=wn(["visitors","document","objects","Header","$visitor"]),Zy.refract=wn(["visitors","document","objects","Info","$visitor"]),ym.refract=wn(["visitors","document","objects","OpenApi","fixedFields","jsonSchemaDialect"]),ev.refract=wn(["visitors","document","objects","License","$visitor"]),tv.refract=wn(["visitors","document","objects","Link","$visitor"]),rv.refract=wn(["visitors","document","objects","MediaType","$visitor"]),Qb.refract=wn(["visitors","document","objects","OAuthFlow","$visitor"]),Zb.refract=wn(["visitors","document","objects","OAuthFlows","$visitor"]),e1.refract=wn(["visitors","document","objects","OpenApi","fixedFields","openapi"]),Lu.refract=wn(["visitors","document","objects","OpenApi","$visitor"]),vm.refract=wn(["visitors","document","objects","Operation","$visitor"]),nv.refract=wn(["visitors","document","objects","Parameter","$visitor"]),$u.refract=wn(["visitors","document","objects","PathItem","$visitor"]),av.refract=wn(["visitors","document","objects","Paths","$visitor"]),od.refract=wn(["visitors","document","objects","Reference","$visitor"]),ov.refract=wn(["visitors","document","objects","RequestBody","$visitor"]),iv.refract=wn(["visitors","document","objects","Response","$visitor"]),sv.refract=wn(["visitors","document","objects","Responses","$visitor"]),qu.refract=wn(["visitors","document","objects","Schema","$visitor"]),uv.refract=wn(["visitors","document","objects","SecurityRequirement","$visitor"]),pv.refract=wn(["visitors","document","objects","SecurityScheme","$visitor"]),hv.refract=wn(["visitors","document","objects","Server","$visitor"]),dv.refract=wn(["visitors","document","objects","ServerVariable","$visitor"]),r1.refract=wn(["visitors","document","objects","Tag","$visitor"]),n1.refract=wn(["visitors","document","objects","XML","$visitor"]);const l1=class extends Zr{},t8=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new l1("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new l1("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new l1("latest method in MediaTypes class is not yet implemented.")}};class c1 extends t8{filterByFormat(e="generic"){const r=e==="generic"?"openapi;version":e;return this.filter((n=>n.includes(r)))}findBy(e="3.1.0",r="generic"){const n=r==="generic"?`vnd.oai.openapi;version=${e}`:`vnd.oai.openapi+${r};version=${e}`;return this.find((a=>a.includes(n)))||this.unknownMediaType}latest(e="generic"){return py(this.filterByFormat(e))}}const id=new c1("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"),Cc=class{uri;depth;value;refSet;errors;constructor({uri:e,depth:r=0,refSet:n,value:a}){this.uri=e,this.value=a,this.depth=r,this.refSet=n,this.errors=[]}},sd=class{rootRef;refs;circular;constructor({refs:e=[],circular:r=!1}={}){this.refs=[],this.circular=r,e.forEach(this.add.bind(this))}get size(){return this.refs.length}add(e){return this.has(e)||(this.refs.push(e),this.rootRef=this.rootRef===void 0?e:this.rootRef,e.refSet=this),this}merge(e){for(const r of e.values())this.add(r);return this}has(e){const r=Lp(e)?e:e.uri;return dE(this.find((n=>n.uri===r)))}find(e){return this.refs.find(e)}*values(){yield*this.refs}clean(){this.refs.forEach((e=>{e.refSet=void 0})),this.rootRef=void 0,this.refs.length=0}};function r8(t){return t}const T2=_r(r8),I2={parse:{mediaType:"text/plain",parsers:[],parserOpts:{}},resolve:{baseURI:"",resolvers:[],resolverOpts:{},strategies:[],strategyOpts:{},internal:!0,external:!0,maxDepth:1/0},dereference:{strategies:[],strategyOpts:{},refSet:null,maxDepth:1/0,circular:"ignore",circularReplacer:T2,immutable:!0,dereferenceOpts:{}},bundle:{strategies:[],refSet:null,maxDepth:1/0}},n8=Tr((function(e,r){return function(n){return function(a){return yy((function(o){return r(o,a)}),n(e(a)))}}}));var M2=function(t){return{value:t,map:function(e){return M2(e(t))}}},a8=ha((function(e,r,n){return e((function(a){return M2(r(a))}))(n).value}));const o8=a8,i8=Pu(""),s8=n8(ro(["resolve","baseURI"]),Kt(["resolve","baseURI"])),l8=t=>i8(t)?P0():t,R2=(t,e)=>{const r=Py(t,e);return o8(s8,l8,r)},ld=class{uri;mediaType;data;parseResult;constructor({uri:e,mediaType:r="text/plain",data:n,parseResult:a}){this.uri=e,this.mediaType=r,this.data=n,this.parseResult=a}get extension(){return Lp(this.uri)?(e=>{const r=e.lastIndexOf(".");return r>=0?e.substring(r).toLowerCase():""})(this.uri):""}toString(){return typeof this.data=="string"?this.data:this.data instanceof ArrayBuffer||["ArrayBuffer"].includes(Fs(this.data))||ArrayBuffer.isView(this.data)?new TextDecoder("utf-8").decode(this.data):String(this.data)}},c8=class extends Mt{plugin;constructor(e,r){super(e,{cause:r.cause}),this.plugin=r.plugin}},u1=async(t,e,r)=>{const n=await Promise.all(r.map(qf([t],e)));return r.filter(((a,o)=>n[o]))},p1=async(t,e,r)=>{let n;for(const a of r)try{const o=await a[t].call(a,...e);return{plugin:a,result:o}}catch(o){n=new c8("Error while running plugin",{cause:o,plugin:a})}return Promise.reject(n)},h1=class extends Mt{},D2=class extends h1{},u8=async(t,e)=>{let r=t,n=!1;if(!iS(t)){const p=no(t);p.classes.push("result"),r=new $s([p]),n=!0}const a=new ld({uri:e.resolve.baseURI,parseResult:r,mediaType:e.parse.mediaType}),o=await u1("canDereference",[a,e],e.dereference.strategies);if(Bf(o))throw new D2(a.uri);try{const{result:p}=await p1("dereference",[a,e],o);return n?p.get(0):p}catch(p){throw new h1(`Error while dereferencing file "${a.uri}"`,{cause:p})}},d1=class extends Mt{},jc=class extends d1{},km=class{name;allowEmpty;sourceMap;fileExtensions;mediaTypes;constructor({name:e,allowEmpty:r=!0,sourceMap:n=!1,fileExtensions:a=[],mediaTypes:o=[]}){this.name=e,this.allowEmpty=r,this.sourceMap=n,this.fileExtensions=a,this.mediaTypes=o}},p8=class extends km{constructor(e){super({...e??{},name:"binary"})}canParse(e){return this.fileExtensions.length===0||this.fileExtensions.includes(e.extension)}parse(e){try{const r=unescape(encodeURIComponent(e.toString())),n=btoa(r),a=new $s;if(n.length!==0){const o=new Ge.Om(n);o.classes.push("result"),a.push(o)}return a}catch(r){throw new jc(`Error parsing "${e.uri}"`,{cause:r})}}},h8=class{name;constructor({name:e}){this.name=e}},d8=class extends h8{constructor(e){super({...e??{},name:"openapi-3-1"})}canResolve(e,r){const n=r.dereference.strategies.find((a=>a.name==="openapi-3-1"));return n!==void 0&&n.canDereference(e,r)}async resolve(e,r){const n=r.dereference.strategies.find((p=>p.name==="openapi-3-1"));if(n===void 0)throw new D2('"openapi-3-1" dereference strategy is not available.');const a=new sd,o=R2(r,{resolve:{internal:!1},dereference:{refSet:a}});return await n.dereference(e,o),a}},f8=class{name;constructor({name:e}){this.name=e}},m8=class extends f8{timeout;redirects;withCredentials;constructor(e){const{name:r="http-resolver",timeout:n=5e3,redirects:a=5,withCredentials:o=!1}=e??{};super({name:r}),this.timeout=n,this.redirects=a,this.withCredentials=o}canRead(e){return j0(e.uri)}},fv=class extends Mt{},F2=class extends fv{},{AbortController:g8,AbortSignal:y8}=globalThis;globalThis.AbortController===void 0&&(globalThis.AbortController=g8),globalThis.AbortSignal===void 0&&(globalThis.AbortSignal=y8);const v8=class extends m8{swaggerHTTPClient=Mf;swaggerHTTPClientConfig;constructor({swaggerHTTPClient:e=Mf,swaggerHTTPClientConfig:r={},...n}={}){super({...n,name:"http-swagger-client"}),this.swaggerHTTPClient=e,this.swaggerHTTPClientConfig=r}getHttpClient(){return this.swaggerHTTPClient}async read(e){const r=this.getHttpClient(),n=new AbortController,{signal:a}=n,o=setTimeout((()=>{n.abort()}),this.timeout),p=this.getHttpClient().withCredentials||this.withCredentials?"include":"same-origin",c=this.redirects===0?"error":"follow",d=this.redirects>0?this.redirects:void 0;try{return(await r({url:e.uri,signal:a,userFetch:async(E,x)=>{let k=await fetch(E,x);try{k.headers.delete("Content-Type")}catch{k=new Response(k.body,{...k,headers:new Headers(k.headers)}),k.headers.delete("Content-Type")}return k},credentials:p,redirect:c,follow:d,...this.swaggerHTTPClientConfig})).text.arrayBuffer()}catch(E){throw new F2(`Error downloading "${e.uri}"`,{cause:E})}finally{clearTimeout(o)}}},L2=(t,e=wS)=>{if(Lp(t))try{return e.fromRefract(JSON.parse(t))}catch{}return Ls(t)&&$f("element",t)?e.fromRefract(t):e.toElement(t)},b8=class extends km{constructor(e={}){super({name:"json-swagger-client",mediaTypes:["application/json"],...e})}async canParse(e){var r,n;const a=this.fileExtensions.length===0||Yn()(r=this.fileExtensions).call(r,e.extension),o=Yn()(n=this.mediaTypes).call(n,e.mediaType);if(!a)return!1;if(o)return!0;if(!o)try{return JSON.parse(e.toString()),!0}catch{return!1}return!1}async parse(e){if(this.sourceMap)throw new jc("json-swagger-client parser plugin doesn't support sourceMaps option");const r=new $s,n=e.toString();if(this.allowEmpty&&n.trim()==="")return r;try{const a=L2(JSON.parse(n));return a.classes.push("result"),r.push(a),r}catch(a){throw new jc(`Error parsing "${e.uri}"`,{cause:a})}}},w8=class extends km{constructor(e={}){super({name:"yaml-1-2-swagger-client",mediaTypes:["text/yaml","application/yaml"],...e})}async canParse(e){var r,n;const a=this.fileExtensions.length===0||Yn()(r=this.fileExtensions).call(r,e.extension),o=Yn()(n=this.mediaTypes).call(n,e.mediaType);if(!a)return!1;if(o)return!0;if(!o)try{return Pe.load(e.toString(),{schema:Rt}),!0}catch{return!1}return!1}async parse(e){if(this.sourceMap)throw new jc("yaml-1-2-swagger-client parser plugin doesn't support sourceMaps option");const r=new $s,n=e.toString();try{const a=Pe.load(n,{schema:Rt});if(this.allowEmpty&&a===void 0)return r;const o=L2(a);return o.classes.push("result"),r.push(o),r}catch(a){throw new jc(`Error parsing "${e.uri}"`,{cause:a})}}},E8=class extends km{detectionRegExp=/"openapi"\s*:\s*"(?<version_json>3\.1\.(?:[1-9]\d*|0))"/;constructor(e={}){super({name:"openapi-json-3-1-swagger-client",mediaTypes:new c1(...id.filterByFormat("generic"),...id.filterByFormat("json")),...e})}async canParse(e){var r,n;const a=this.fileExtensions.length===0||Yn()(r=this.fileExtensions).call(r,e.extension),o=Yn()(n=this.mediaTypes).call(n,e.mediaType);if(!a)return!1;if(o)return!0;if(!o)try{const p=e.toString();return JSON.parse(p),this.detectionRegExp.test(p)}catch{return!1}return!1}async parse(e){if(this.sourceMap)throw new jc("openapi-json-3-1-swagger-client parser plugin doesn't support sourceMaps option");const r=new $s,n=e.toString();if(this.allowEmpty&&n.trim()==="")return r;try{const a=JSON.parse(n),o=Lu.refract(a,this.refractorOpts);return o.classes.push("result"),r.push(o),r}catch(a){throw new jc(`Error parsing "${e.uri}"`,{cause:a})}}},S8=class extends km{detectionRegExp=/(?<YAML>^(["']?)openapi\2\s*:\s*(["']?)(?<version_yaml>3\.1\.(?:[1-9]\d*|0))\3(?:\s+|$))|(?<JSON>"openapi"\s*:\s*"(?<version_json>3\.1\.(?:[1-9]\d*|0))")/m;constructor(e={}){super({name:"openapi-yaml-3-1-swagger-client",mediaTypes:new c1(...id.filterByFormat("generic"),...id.filterByFormat("yaml")),...e})}async canParse(e){var r,n;const a=this.fileExtensions.length===0||Yn()(r=this.fileExtensions).call(r,e.extension),o=Yn()(n=this.mediaTypes).call(n,e.mediaType);if(!a)return!1;if(o)return!0;if(!o)try{const p=e.toString();return Pe.load(p),this.detectionRegExp.test(p)}catch{return!1}return!1}async parse(e){if(this.sourceMap)throw new jc("openapi-yaml-3-1-swagger-client parser plugin doesn't support sourceMaps option");const r=new $s,n=e.toString();try{const a=Pe.load(n,{schema:Rt});if(this.allowEmpty&&a===void 0)return r;const o=Lu.refract(a,this.refractorOpts);return o.classes.push("result"),r.push(o),r}catch(a){throw new jc(`Error parsing "${e.uri}"`,{cause:a})}}},$2=ha((function(e,r,n){return Pu(e,Af(r,n))})),x8=class{name;constructor({name:e}){this.name=e}},_8=Tr((function(e,r){return Z0(cE(e),r)}));var O8=Be(8068);const k8=class extends xr{value;constructor(e,r){super(e,r),r!==void 0&&(this.value=r.value)}};class f1{uuid;identityMap;constructor({length:e=6}={}){this.uuid=new O8({length:e}),this.identityMap=new WeakMap}identify(e){if(!da(e))throw new k8("Cannot not identify the element. `element` is neither structurally compatible nor a subclass of an Element class.",{value:e});if(e.meta.hasKey("id")&&Ir(e.meta.get("id"))&&!e.meta.get("id").equals(""))return e.id;if(this.identityMap.has(e))return this.identityMap.get(e);const r=new Ge.Om(this.generateId());return this.identityMap.set(e,r),r}forget(e){return!!this.identityMap.has(e)&&(this.identityMap.delete(e),!0)}generateId(){return this.uuid.randomUUID()}}new f1;const B2=ha((function(e,r,n){return Jh(e,J0(r,n))})),q2=(t,e)=>{const r=new fS({predicate:t,returnOnTrue:on});return Pa(e,r),B2(void 0,[0],r.result)},U2=class extends Mt{},A8=class extends U2{},C8=class extends U2{constructor(e){super(`Invalid JSON Schema $anchor "${e}".`)}},mv=t=>/^[A-Za-z_][A-Za-z_0-9.-]*$/.test(t),cd=t=>{const e=EE(t);return cS("#",e)},m1=(t,e)=>{const r=(a=>{if(!mv(a))throw new C8(a);return a})(t),n=q2((a=>Vs(a)&&Et(a.$anchor)===r),e);if(Iu(n))throw new A8(`Evaluation failed on token: "${r}"`);return n},j8=(t,e)=>{const r=new fS({predicate:t});return Pa(e,r),new Ge.G6(r.result)},P8=class extends Mt{},g1=class extends P8{},z2=(t,e)=>{if(e.$ref===void 0)return;const r=EE(Et(e.$ref)),n=Et(e.meta.get("ancestorsSchemaIdentifiers"));return`${Vh(((o,p)=>go(o,by(In(p)))),t,[...n,Et(e.$ref)])}${r==="#"?"":r}`},Am=t=>{if(Am.cache.has(t))return Am.cache.get(t);const e=qu.refract(t);return Am.cache.set(t,e),e};Am.cache=new WeakMap;const qo=t=>$p(t)?Am(t):t,gv=(t,e)=>{const{cache:r}=gv,n=In(t),a=p=>Vs(p)&&p.$id!==void 0;if(!r.has(e)){const p=j8(a,e);r.set(e,Array.from(p))}const o=r.get(e).find((p=>((d,E)=>{if(E.$id===void 0)return;const x=Et(E.meta.get("ancestorsSchemaIdentifiers"));return Vh(((k,P)=>go(k,by(In(P)))),d,x)})(n,p)===n));if(Iu(o))throw new g1(`Evaluation failed on URI: "${t}"`);return mv(cd(t))?m1(cd(t),o):Us(o,rs(t))};gv.cache=new WeakMap;const ud=class extends h1{},N8=class extends fv{},V2=class extends F2{},J2="apidom-file-cache",W2=async({cacheKey:t,result:e,error:r,cacheTTL:n})=>{if(n!==0)try{const a={cachedResult:e,cachedError:r,timestamp:Date.now()},o=await caches.open(J2),p=new Response(JSON.stringify(a),{headers:{"Content-Type":"application/json"}});await o.put(t,p)}catch{console.error("CacheStorage is not available")}},T8=async(t,e)=>{const{cacheTTL:r=0}=e.resolve.resolverOpts,n=`read_${t.uri}`,{cachedResult:a,cachedError:o}=await(async({cacheKey:k,cacheTTL:P})=>{if(P===0)return{cachedResult:null,cachedError:null};try{const R=await caches.open(J2),L=await R.match(k);if(L){const{cachedResult:V,cachedError:Q,timestamp:J}=await L.json();if(Date.now()-J<P)return{cachedResult:V,cachedError:Q};await R.delete(k)}}catch{return console.log("There was an error parsing the response"),{cachedResult:null,cachedError:null}}return{cachedResult:null,cachedError:null}})({cacheKey:n,cacheTTL:r});if(a!==null)return a;if(o!==null)throw new fv(`Error while reading file "${t.uri}"`,{cause:o});const p=e.resolve.resolvers.map((k=>{const P=Object.create(k);return Object.assign(P,e.resolve.resolverOpts)})),c=await u1("canRead",[t,e],p);if(Bf(c))throw new V2(t.uri);try{const{result:k}=await p1("read",[t],c),P=new ld({...t,data:k}).toString();return await W2({cacheKey:n,result:P,error:null,cacheTTL:r}),k}catch(k){var d,E,x;throw await W2({cacheKey:n,result:null,error:(d=(E=k==null||(x=k.cause)===null||x===void 0?void 0:x.cause)!==null&&E!==void 0?E:k?.cause)!==null&&d!==void 0?d:k,cacheTTL:r}),new fv(`Error while reading file "${t.uri}"`,{cause:k})}},I8=async(t,e)=>{const r=new ld({uri:by(In(t)),mediaType:e.parse.mediaType}),n=await T8(r,e);return(async(a,o)=>{const p=o.parse.parsers.map((d=>{const E=Object.create(d);return Object.assign(E,o.parse.parserOpts)})),c=await u1("canParse",[a,o],p);if(Bf(c))throw new V2(a.uri);try{const{plugin:d,result:E}=await p1("parse",[a,o],c);return!d.allowEmpty&&E.isEmpty?Promise.reject(new d1(`Error while parsing file "${a.uri}". File is empty.`)):E}catch(d){throw new d1(`Error while parsing file "${a.uri}"`,{cause:d})}})(new ld({...r,data:n}),e)};class y1 extends Array{includesCycle(e){return this.filter((r=>r.has(e))).length>1}includes(e,r){return e instanceof Set?super.includes(e,r):this.some((n=>n.has(e)))}findItem(e){for(const r of this)for(const n of r)if(da(n)&&e(n))return n}}const yv=Pa[Symbol.for("nodejs.util.promisify.custom")],So=new f1,os=(t,e,r,n)=>{Bs(n)?n.value=t:Array.isArray(n)&&(n[r]=t)};class pd{indirections;namespace;reference;options;ancestors;refractCache;allOfDiscriminatorMapping;errorContext;errorPropagationCache=new Map;pendingPropagations=[];constructor({reference:e,namespace:r,options:n,indirections:a=[],ancestors:o=new y1,refractCache:p=new Map,allOfDiscriminatorMapping:c=new Map,errorContext:d=[],errorPropagationCache:E=new Map,pendingPropagations:x=[]}){this.indirections=a,this.namespace=r,this.reference=e,this.options=n,this.ancestors=new y1(...o),this.refractCache=p,this.allOfDiscriminatorMapping=c,this.errorContext=d,this.errorPropagationCache=E,this.pendingPropagations=x}popErrorContext(e){if(this.errorContext[this.errorContext.length-1]===e)this.errorContext.pop();else for(let r=this.errorContext.length-1;r>=0;r-=1)if(this.errorContext[r]===e){this.errorContext.splice(r,1);break}}runPropagationPass(){let e=!1;return this.pendingPropagations.forEach((({referencingElement:r,referencedElement:n})=>{const a=this.errorPropagationCache.get(n);Array.isArray(a)&&a.length>0&&a.forEach((o=>{const p=this.errorPropagationCache.get(r);var c;p!=null&&p.includes(o)||((c=this.options.dereference.dereferenceOpts)===null||c===void 0||c.errors.push({error:o,refEl:r}),p?p.push(o):this.errorPropagationCache.set(r,[o]),e=!0)}))})),e}propagateErrors(){for(;this.runPropagationPass(););this.pendingPropagations.length=0}handleDereferenceError(e,r,n){var a;if((a=this.options.dereference.dereferenceOpts)===null||a===void 0||!a.continueOnError)throw e;{var o,p,c;const{directAncestors:x,isExternalReference:k=!1}=n??{},P=(o=(p=this.options.dereference.dereferenceOpts)===null||p===void 0?void 0:p.skipNestedExternal)!==null&&o!==void 0&&o,R=k&&P;if(x&&!R){for(const V of x){const Q=this.errorPropagationCache.get(V);Q?Q.push(e):this.errorPropagationCache.set(V,[e])}const L=[...x].find((V=>hn(V)&&V.getMetaProperty("ref-referencing-element")));var d;L&&((d=this.options.dereference.dereferenceOpts)===null||d===void 0||d.errors.push({error:e,refEl:L.getMetaProperty("ref-referencing-element")}))}if((c=this.options.dereference.dereferenceOpts)===null||c===void 0||c.errors.push({error:e,refEl:r}),!R){const L=new Set(this.errorContext);L.delete(r),this.popErrorContext(r);for(const V of L){var E;(E=this.options.dereference.dereferenceOpts)===null||E===void 0||E.errors.push({error:e,refEl:V})}}}}getNestedVisitorOptions(e){var r,n;return{...this.options,resolve:{...this.options.resolve,external:((r=this.options.dereference)===null||r===void 0||(r=r.dereferenceOpts)===null||r===void 0||!r.skipNestedExternal||!Et(e.get("$ref")).startsWith("#"))&&this.options.resolve.external},dereference:{...this.options.dereference,dereferenceOpts:{...(n=this.options.dereference)===null||n===void 0?void 0:n.dereferenceOpts,continueOnError:!1}}}}toBaseURI(e){return go(this.reference.uri,by(In(e)))}async toReference(e){if(this.reference.depth>=this.options.resolve.maxDepth)throw new N8(`Maximum resolution depth of ${this.options.resolve.maxDepth} has been exceeded by file "${this.reference.uri}"`);const r=this.toBaseURI(e),{refSet:n}=this.reference;if(n.has(r))return n.find($2(r,"uri"));const a=await I8(Fl(r),{...this.options,parse:{...this.options.parse,mediaType:"text/plain"}}),o=new Cc({uri:r,value:hr(a),depth:this.reference.depth+1});if(n.add(o),this.options.dereference.immutable){const p=new Cc({uri:`immutable://${r}`,value:a,depth:this.reference.depth+1});n.add(p)}return o}toAncestorLineage(e){const r=new Set(e.filter(da));return[new y1(...this.ancestors,r),r]}OpenApi3_1Element={leave:(e,r,n,a,o,p)=>{var c,d;if((c=this.options.dereference.dereferenceOpts)!==null&&c!==void 0&&c.continueOnError&&this.propagateErrors(),(d=this.options.dereference.strategyOpts["openapi-3-1"])===null||d===void 0||!d.dereferenceDiscriminatorMapping)return;const E=no(e);return E.setMetaProperty("allOfDiscriminatorMapping",Object.fromEntries(this.allOfDiscriminatorMapping)),p.replaceWith(E,os),n?void 0:E}};async ReferenceElement(e,r,n,a,o,p){var c,d;if(this.indirections.includes(e))return!1;const[E,x]=this.toAncestorLineage([...o,n]),k=this.toBaseURI(Et(e.$ref)),P=In(this.reference.uri)===k,R=!P;if(!this.options.resolve.internal&&P||!this.options.resolve.external&&R)return!1;let L;try{L=await this.toReference(Et(e.$ref))}catch(ce){return this.handleDereferenceError(ce,e,{directAncestors:x,isExternalReference:R})}const V=go(k,Et(e.$ref));this.indirections.push(e);const Q=rs(V);let J;try{J=Us(L.value.result,Q)}catch(ce){return this.indirections.pop(),this.handleDereferenceError(ce,e,{directAncestors:x,isExternalReference:R})}if(J.id=So.identify(J),$p(J)){const ce=Et(e.meta.get("referenced-element")),_e=`${ce}-${Et(So.identify(J))}`;this.refractCache.has(_e)?J=this.refractCache.get(_e):Vn(J)?(J=od.refract(J),J.setMetaProperty("referenced-element",ce),this.refractCache.set(_e,J)):(J=this.namespace.getElementClass(ce).refract(J),this.refractCache.set(_e,J))}if(e===J){const ce=new Mt("Recursive Reference Object detected");return this.indirections.pop(),this.handleDereferenceError(ce,e,{directAncestors:x,isExternalReference:R})}if(this.indirections.length>this.options.dereference.maxDepth){const ce=new ud(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);return this.indirections.pop(),this.handleDereferenceError(ce,e,{directAncestors:x,isExternalReference:R})}if(E.includes(J)){if(L.refSet.circular=!0,this.options.dereference.circular==="error"){const ce=new Mt("Circular reference detected");return this.indirections.pop(),this.handleDereferenceError(ce,e,{directAncestors:x,isExternalReference:R})}if(this.options.dereference.circular==="replace"){var re,me;const ce=new Ge.sI(J.id,{type:"reference",uri:L.uri,$ref:Et(e.$ref)}),_e=((re=(me=this.options.dereference.strategyOpts["openapi-3-1"])===null||me===void 0?void 0:me.circularReplacer)!==null&&re!==void 0?re:this.options.dereference.circularReplacer)(ce);return p.replaceWith(_e,os),!n&&_e}}const le=In(L.refSet.rootRef.uri)!==L.uri,ve=["error","replace"].includes(this.options.dereference.circular);if((R||le||Vp(J)||ve)&&!E.includesCycle(J)){x.add(e),this.errorContext.push(e);const ce=new pd({reference:L,namespace:this.namespace,indirections:[...this.indirections],options:this.getNestedVisitorOptions(e),refractCache:this.refractCache,ancestors:E,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping,errorContext:this.errorContext,errorPropagationCache:this.errorPropagationCache,pendingPropagations:this.pendingPropagations});try{J=await yv(J,ce,{keyMap:Js,nodeTypeGetter:as})}catch(_e){return this.indirections.pop(),this.handleDereferenceError(_e,e,{directAncestors:x,isExternalReference:R})}x.delete(e),this.popErrorContext(e)}(c=this.options.dereference.dereferenceOpts)!==null&&c!==void 0&&c.continueOnError&&this.pendingPropagations.push({referencingElement:e,referencedElement:J}),this.indirections.pop();const be=no(J);return be.setMetaProperty("id",So.generateId()),be.setMetaProperty("ref-fields",{$ref:Et(e.$ref),description:Et(e.description),summary:Et(e.summary)}),be.setMetaProperty("ref-origin",L.uri),be.setMetaProperty("ref-referencing-element-id",hr(So.identify(e))),(d=this.options.dereference.dereferenceOpts)!==null&&d!==void 0&&d.continueOnError&&be.setMetaProperty("ref-referencing-element",e),hn(J)&&hn(be)&&(e.hasKey("description")&&"description"in J&&(be.remove("description"),be.set("description",e.get("description"))),e.hasKey("summary")&&"summary"in J&&(be.remove("summary"),be.set("summary",e.get("summary")))),p.replaceWith(be,os),!n&&be}async PathItemElement(e,r,n,a,o,p){var c;if(!Ir(e.$ref))return;if(this.indirections.includes(e))return!1;const[d,E]=this.toAncestorLineage([...o,n]),x=this.toBaseURI(Et(e.$ref)),k=In(this.reference.uri)===x,P=!k;if(!this.options.resolve.internal&&k||!this.options.resolve.external&&P)return;let R;try{R=await this.toReference(Et(e.$ref))}catch(be){return this.handleDereferenceError(be,e,{directAncestors:E,isExternalReference:P})}const L=go(x,Et(e.$ref));this.indirections.push(e);const V=rs(L);let Q;try{Q=Us(R.value.result,V)}catch(be){return this.indirections.pop(),this.handleDereferenceError(be,e,{directAncestors:E,isExternalReference:P})}if(Q.id=So.identify(Q),$p(Q)){const be=`path-item-${Et(So.identify(Q))}`;this.refractCache.has(be)?Q=this.refractCache.get(be):(Q=$u.refract(Q),this.refractCache.set(be,Q))}if(e===Q){const be=new Mt("Recursive Path Item Object reference detected");return this.indirections.pop(),this.handleDereferenceError(be,e,{directAncestors:E,isExternalReference:P})}if(this.indirections.length>this.options.dereference.maxDepth){const be=new ud(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);return this.indirections.pop(),this.handleDereferenceError(be,e,{directAncestors:E,isExternalReference:P})}if(d.includes(Q)){if(R.refSet.circular=!0,this.options.dereference.circular==="error"){const be=new Mt("Circular reference detected");return this.indirections.pop(),this.handleDereferenceError(be,e,{directAncestors:E,isExternalReference:P})}if(this.options.dereference.circular==="replace"){var J,re;const be=new Ge.sI(Q.id,{type:"path-item",uri:R.uri,$ref:Et(e.$ref)}),ce=((J=(re=this.options.dereference.strategyOpts["openapi-3-1"])===null||re===void 0?void 0:re.circularReplacer)!==null&&J!==void 0?J:this.options.dereference.circularReplacer)(be);return p.replaceWith(ce,os),!n&&ce}}const me=In(R.refSet.rootRef.uri)!==R.uri,le=["error","replace"].includes(this.options.dereference.circular);if((P||me||zp(Q)&&Ir(Q.$ref)||le)&&!d.includesCycle(Q)){E.add(e),this.errorContext.push(e);const be=new pd({reference:R,namespace:this.namespace,indirections:[...this.indirections],options:this.getNestedVisitorOptions(e),refractCache:this.refractCache,ancestors:d,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping,errorContext:this.errorContext,errorPropagationCache:this.errorPropagationCache,pendingPropagations:this.pendingPropagations});try{Q=await yv(Q,be,{keyMap:Js,nodeTypeGetter:as})}catch(ce){return this.indirections.pop(),this.handleDereferenceError(ce,e,{directAncestors:E,isExternalReference:P})}E.delete(e),this.popErrorContext(e)}if((c=this.options.dereference.dereferenceOpts)!==null&&c!==void 0&&c.continueOnError&&this.pendingPropagations.push({referencingElement:e,referencedElement:Q}),this.indirections.pop(),zp(Q)){var ve;const be=new $u([...Q.content],hr(Q.meta),hr(Q.attributes));be.setMetaProperty("id",So.generateId()),e.forEach(((ce,_e,Ae)=>{be.remove(Et(_e)),be.content.push(Ae)})),be.remove("$ref"),be.setMetaProperty("ref-fields",{$ref:Et(e.$ref)}),be.setMetaProperty("ref-origin",R.uri),be.setMetaProperty("ref-referencing-element-id",hr(So.identify(e))),(ve=this.options.dereference.dereferenceOpts)!==null&&ve!==void 0&&ve.continueOnError&&be.setMetaProperty("ref-referencing-element",e),Q=be}return p.replaceWith(Q,os),n?void 0:Q}async LinkElement(e,r,n,a,o,p){if(!Ir(e.operationRef)&&!Ir(e.operationId))return;if(Ir(e.operationRef)&&Ir(e.operationId)){const x=new Mt("LinkElement operationRef and operationId fields are mutually exclusive.");return this.handleDereferenceError(x,e)}let c;if(Ir(e.operationRef)){var d;const x=rs(Et(e.operationRef)),k=this.toBaseURI(Et(e.operationRef)),P=In(this.reference.uri)===k,R=!P;if(!this.options.resolve.internal&&P||!this.options.resolve.external&&R)return;let L;try{L=await this.toReference(Et(e.operationRef)),c=Us(L.value.result,x)}catch(Q){return this.handleDereferenceError(Q,e,{isExternalReference:R})}if($p(c)){const Q=`operation-${Et(So.identify(c))}`;this.refractCache.has(Q)?c=this.refractCache.get(Q):(c=vm.refract(c),this.refractCache.set(Q,c))}c=no(c),c.setMetaProperty("ref-origin",L.uri);const V=no(e);return(d=V.operationRef)===null||d===void 0||d.meta.set("operation",c),p.replaceWith(V,os),n?void 0:V}if(Ir(e.operationId)){var E;const x=Et(e.operationId);let k;try{k=await this.toReference(Fl(this.reference.uri))}catch(R){return this.handleDereferenceError(R,e)}if(c=q2((R=>j2(R)&&da(R.operationId)&&R.operationId.equals(x)),k.value.result),Iu(c)){const R=new Mt(`OperationElement(operationId=${x}) not found.`);return this.handleDereferenceError(R,e)}const P=no(e);return(E=P.operationId)===null||E===void 0||E.meta.set("operation",c),p.replaceWith(P,os),n?void 0:P}}async ExampleElement(e,r,n,a,o,p){if(!Ir(e.externalValue))return;if(e.hasKey("value")&&Ir(e.externalValue)){const R=new Mt("ExampleElement value and externalValue fields are mutually exclusive.");return this.handleDereferenceError(R,e)}const c=this.toBaseURI(Et(e.externalValue)),d=In(this.reference.uri)===c,E=!d;if(!this.options.resolve.internal&&d||!this.options.resolve.external&&E)return;let x;try{x=await this.toReference(Et(e.externalValue))}catch(R){return this.handleDereferenceError(R,e,{isExternalReference:E})}const k=no(x.value.result);k.setMetaProperty("ref-origin",x.uri);const P=no(e);return P.value=k,p.replaceWith(P,os),n?void 0:P}async MemberElement(e,r,n,a,o,p){var c;const d=o[o.length-1];if(!hn(d)||!d.classes.contains("discriminator-mapping"))return;if((c=this.options.dereference.strategyOpts["openapi-3-1"])===null||c===void 0||!c.dereferenceDiscriminatorMapping||!Ir(e.key)||!Ir(e.value)||this.indirections.includes(e))return!1;this.indirections.push(e);const[E,x]=this.toAncestorLineage([...o,n]),k=[...x].findLast(Vs),P=hr(k.getMetaProperty("ancestorsSchemaIdentifiers")),R=Et(e.value),L=/^[a-zA-Z0-9\\.\\-_]+$/.test(R)?`#/components/schemas/${R}`:R,V=new qu({$ref:L});V.setMetaProperty("ancestorsSchemaIdentifiers",P),x.add(V);const Q=new pd({reference:this.reference,namespace:this.namespace,indirections:[...this.indirections],options:this.getNestedVisitorOptions(V),refractCache:this.refractCache,ancestors:E,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping});let J;try{J=await yv(V,Q,{keyMap:Js,nodeTypeGetter:as})}catch(me){const le=!L.startsWith("#");return this.handleDereferenceError(me,V,{directAncestors:x,isExternalReference:le})}x.delete(V),this.indirections.pop();const re=no(e);return re.value.setMetaProperty("ref-schema",J),p.replaceWith(re,os),n?void 0:re}async SchemaElement(e,r,n,a,o,p){var c;if(!Ir(e.$ref))return;if(this.indirections.includes(e))return!1;const[d,E]=this.toAncestorLineage([...o,n]);let x;try{x=await this.toReference(Fl(this.reference.uri))}catch(je){return this.handleDereferenceError(je,e,{directAncestors:E})}let{uri:k}=x;const P=z2(k,e),R=In(P),L=new ld({uri:R}),V=_8((je=>je.canRead(L)),this.options.resolve.resolvers),Q=!V;let J,re=In(this.reference.uri)===P,me=!re;this.indirections.push(e);try{if(V||Q){k=this.toBaseURI(P);const je=P,G=qo(x.value.result);if(J=gv(je,G),J=qo(J),J.id=So.identify(J),!this.options.resolve.internal&&re||!this.options.resolve.external&&me)return}else{if(k=this.toBaseURI(P),re=In(this.reference.uri)===k,me=!re,!this.options.resolve.internal&&re||!this.options.resolve.external&&me)return;x=await this.toReference(Fl(P));const je=rs(P),G=qo(x.value.result);J=Us(G,je),J=qo(J),J.id=So.identify(J)}}catch(je){if(!(Q&&je instanceof g1))return this.indirections.pop(),this.handleDereferenceError(je,e,{directAncestors:E,isExternalReference:me});if(mv(cd(P))){if(re=In(this.reference.uri)===k,me=!re,!this.options.resolve.internal&&re||!this.options.resolve.external&&me)return;try{x=await this.toReference(Fl(P))}catch(Ne){return this.indirections.pop(),this.handleDereferenceError(Ne,e,{directAncestors:E,isExternalReference:me})}const G=cd(P),de=qo(x.value.result);try{J=m1(G,de)}catch(Ne){return this.indirections.pop(),this.handleDereferenceError(Ne,e,{directAncestors:E,isExternalReference:me})}J=qo(J),J.id=So.identify(J)}else{if(k=this.toBaseURI(P),re=In(this.reference.uri)===k,me=!re,!this.options.resolve.internal&&re||!this.options.resolve.external&&me)return;try{x=await this.toReference(Fl(P))}catch(Ne){return this.indirections.pop(),this.handleDereferenceError(Ne,e,{directAncestors:E,isExternalReference:me})}const G=rs(P),de=qo(x.value.result);try{J=Us(de,G)}catch(Ne){return this.indirections.pop(),this.handleDereferenceError(Ne,e,{directAncestors:E,isExternalReference:me})}J=qo(J),J.id=So.identify(J)}}if(e===J){const je=new Mt("Recursive Schema Object reference detected");return this.indirections.pop(),this.handleDereferenceError(je,e,{directAncestors:E,isExternalReference:me})}if(this.indirections.length>this.options.dereference.maxDepth){const je=new ud(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);return this.indirections.pop(),this.handleDereferenceError(je,e,{directAncestors:E,isExternalReference:me})}if(d.includes(J)){if(x.refSet.circular=!0,this.options.dereference.circular==="error"){const je=new Mt("Circular reference detected");return this.indirections.pop(),this.handleDereferenceError(je,e,{directAncestors:E,isExternalReference:me})}if(this.options.dereference.circular==="replace"){var le,ve;const je=new Ge.sI(J.id,{type:"json-schema",uri:x.uri,$ref:Et(e.$ref)}),G=((le=(ve=this.options.dereference.strategyOpts["openapi-3-1"])===null||ve===void 0?void 0:ve.circularReplacer)!==null&&le!==void 0?le:this.options.dereference.circularReplacer)(je);return p.replaceWith(G,os),!n&&G}}const be=In(x.refSet.rootRef.uri)!==x.uri,ce=["error","replace"].includes(this.options.dereference.circular);if((me||be||Vs(J)&&Ir(J.$ref)||ce)&&!d.includesCycle(J)){E.add(e),this.errorContext.push(e);const je=new pd({reference:x,namespace:this.namespace,indirections:[...this.indirections],options:this.getNestedVisitorOptions(e),refractCache:this.refractCache,ancestors:d,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping,errorContext:this.errorContext,errorPropagationCache:this.errorPropagationCache,pendingPropagations:this.pendingPropagations});try{J=await yv(J,je,{keyMap:Js,nodeTypeGetter:as})}catch(G){return this.indirections.pop(),this.handleDereferenceError(G,e,{directAncestors:E,isExternalReference:me})}E.delete(e),this.popErrorContext(e)}if((c=this.options.dereference.dereferenceOpts)!==null&&c!==void 0&&c.continueOnError&&this.pendingPropagations.push({referencingElement:e,referencedElement:J}),this.indirections.pop(),a1(J)){const je=hr(J);return je.setMetaProperty("id",So.generateId()),je.setMetaProperty("ref-fields",{$ref:Et(e.$ref),$refBaseURI:P}),je.setMetaProperty("ref-origin",x.uri),je.setMetaProperty("ref-referencing-element-id",hr(So.identify(e))),p.replaceWith(je,os),!n&&je}if(Vs(J)){var _e,Ae;const je=new qu([...J.content],hr(J.meta),hr(J.attributes));if(je.setMetaProperty("id",So.generateId()),e.forEach(((G,de,Ne)=>{je.remove(Et(de)),je.content.push(Ne)})),je.remove("$ref"),je.setMetaProperty("ref-fields",{$ref:Et(e.$ref),$refBaseURI:P}),je.setMetaProperty("ref-origin",x.uri),je.setMetaProperty("ref-referencing-element-id",hr(So.identify(e))),(_e=this.options.dereference.dereferenceOpts)!==null&&_e!==void 0&&_e.continueOnError&&je.setMetaProperty("ref-referencing-element",e),(Ae=this.options.dereference.strategyOpts["openapi-3-1"])!==null&&Ae!==void 0&&Ae.dereferenceDiscriminatorMapping){var xe;const G=o[o.length-1],de=[...E].findLast(Vs),Ne=de?.getMetaProperty("schemaName"),Ye=Et(je.getMetaProperty("schemaName"));if(Ye&&Ne&&G!=null&&(xe=G.classes)!==null&&xe!==void 0&&xe.contains("json-schema-allOf")){var Oe;const ht=(Oe=this.allOfDiscriminatorMapping.get(Ye))!==null&&Oe!==void 0?Oe:[];ht.push(de),this.allOfDiscriminatorMapping.set(Ye,ht)}}J=je}return p.replaceWith(J,os),n?void 0:J}}const H2=pd,M8=Pa[Symbol.for("nodejs.util.promisify.custom")],R8=class extends x8{constructor(e){super({...e??{},name:"openapi-3-1"})}canDereference(e){var r;return e.mediaType!=="text/plain"?id.includes(e.mediaType):C2((r=e.parseResult)===null||r===void 0?void 0:r.result)}async dereference(e,r){var n;const a=Ac(s1),o=(n=r.dereference.refSet)!==null&&n!==void 0?n:new sd,p=new sd;let c,d=o;o.has(e.uri)?c=o.find($2(e.uri,"uri")):(c=new Cc({uri:e.uri,value:e.parseResult}),o.add(c)),r.dereference.immutable&&(o.refs.map((k=>new Cc({...k,value:hr(k.value)}))).forEach((k=>p.add(k))),c=p.find((k=>k.uri===e.uri)),d=p);const E=new H2({reference:c,namespace:a,options:r}),x=await M8(d.rootRef.value,E,{keyMap:Js,nodeTypeGetter:as});return r.dereference.immutable&&p.refs.filter((k=>k.uri.startsWith("immutable://"))).map((k=>new Cc({...k,uri:k.uri.replace(/^immutable:\/\//,"")}))).forEach((k=>o.add(k))),r.dereference.refSet===null&&o.clean(),p.clean(),x}},Ws=t=>{const e=(r=>r.slice(2))(t);return e.reduce(((r,n,a)=>{if(Bs(n)){const o=String(Et(n.key));r.push(o)}else if(vo(e[a-2])){const o=e[a-2].content.indexOf(n);r.push(o)}return r}),[])},D8=class{modelPropertyMacro;options;SchemaElement={leave:(e,r,n,a,o)=>{e.properties!==void 0&&hn(e.properties)&&e.properties.forEach((p=>{if(hn(p))try{const c=this.modelPropertyMacro(Et(p));p.set("default",c)}catch(c){const d=new Error(c,{cause:c});d.fullPath=[...Ws([...o,n,e]),"properties"],this.options.dereference.dereferenceOpts?.errors?.push?.(d)}}))}};constructor({modelPropertyMacro:e,options:r}){this.modelPropertyMacro=e,this.options=r}};var F8=(function(){function t(e,r){this.xf=r,this.pred=e,this.items=[]}return t.prototype["@@transducer/init"]=Tu,t.prototype["@@transducer/result"]=Nf,t.prototype["@@transducer/step"]=function(e,r){return hy(this.pred,r,this.items)?e:(this.items.push(r),this.xf["@@transducer/step"](e,r))},t})();function L8(t){return function(e){return new F8(t,e)}}var $8=Tr(Nu([],L8,(function(t,e){for(var r,n=0,a=e.length,o=[];n<a;)hy(t,r=e[n],o)||(o[o.length]=r),n+=1;return o})));const K2=$8,B8=class{options;SchemaElement={leave(e,r,n,a,o){if(e.allOf!==void 0){if(!vo(e.allOf)){const p=new TypeError("allOf must be an array");return p.fullPath=[...Ws([...o,n,e]),"allOf"],void this.options.dereference.dereferenceOpts?.errors?.push?.(p)}if(e.allOf.isEmpty)return void e.remove("allOf");if(!e.allOf.content.every(Vs)){const p=new TypeError("Elements in allOf must be objects");return p.fullPath=[...Ws([...o,n,e]),"allOf"],void this.options.dereference.dereferenceOpts?.errors?.push?.(p)}for(;e.hasKey("allOf");){const{allOf:p}=e;e.remove("allOf");const c=qp.all([...p.content,e],{customMerge:d=>Et(d)==="enum"?(E,x)=>{if(Yh(["json-schema-enum"],E)&&Yh(["json-schema-enum"],x)){const k=(R,L)=>!(vo(R)||vo(L)||hn(R)||hn(L))&&R.equals(Et(L)),P=no(E);return P.content=K2(k)([...E.content,...x.content]),P}return qp(E,x)}:qp});if(e.hasKey("$$ref")||c.remove("$$ref"),e.hasKey("example")){const d=c.getMember("example");d&&(d.value=e.get("example"))}if(e.hasKey("examples")){const d=c.getMember("examples");d&&(d.value=e.get("examples"))}e.content=c.content}}}};constructor({options:e}){this.options=e}},q8=class{parameterMacro;options;#e;OperationElement={enter:e=>{this.#e=e},leave:()=>{this.#e=void 0}};ParameterElement={leave:(e,r,n,a,o)=>{const p=this.#e?Et(this.#e):null,c=Et(e);try{const d=this.parameterMacro(p,c);e.set("default",d)}catch(d){const E=new Error(d,{cause:d});E.fullPath=Ws([...o,n]),this.options.dereference.dereferenceOpts?.errors?.push?.(E)}}};constructor({parameterMacro:e,options:r}){this.parameterMacro=e,this.options=r}},vv=t=>{if(t.cause==null)return t;let{cause:e}=t;for(;e.cause!=null;)e=e.cause;return e},U8=class extends xr{},{wrapError:v1}=RE,b1=Pa[Symbol.for("nodejs.util.promisify.custom")],is=new f1,Jp=(t,e,r,n)=>{Bs(n)?n.value=t:Array.isArray(n)&&(n[r]=t)};class Cm extends H2{useCircularStructures;allowMetaPatches;basePath;constructor({allowMetaPatches:e=!0,useCircularStructures:r=!1,basePath:n=null,...a}){super(a),this.allowMetaPatches=e,this.useCircularStructures=r,this.basePath=n}async ReferenceElement(e,r,n,a,o,p){try{var c,d;if(Yn()(c=this.indirections).call(c,e))return!1;const[E,x]=this.toAncestorLineage([...o,n]),k=this.toBaseURI(Et(e.$ref)),P=In(this.reference.uri)===k,R=!P;if(!this.options.resolve.internal&&P||!this.options.resolve.external&&R)return!1;const L=await this.toReference(Et(e.$ref)),V=go(k,Et(e.$ref));this.indirections.push(e);const Q=rs(V);let J=Us(L.value.result,Q);if(J.id=is.identify(J),$p(J)){const ve=Et(e.meta.get("referenced-element")),be=`${ve}-${Et(is.identify(J))}`;this.refractCache.has(be)?J=this.refractCache.get(be):Vn(J)?(J=od.refract(J),J.setMetaProperty("referenced-element",ve),this.refractCache.set(be,J)):(J=this.namespace.getElementClass(ve).refract(J),this.refractCache.set(be,J))}if(e===J)throw new Mt("Recursive Reference Object detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new ud(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(Yn()(E).call(E,J)){if(L.refSet.circular=!0,this.options.dereference.circular==="error")throw new Mt("Circular reference detected");if(this.options.dereference.circular==="replace"){const ve=new Ge.sI(J.id,{type:"reference",uri:L.uri,$ref:Et(e.$ref),baseURI:V,referencingElement:e}),be=(this.options.dereference.strategyOpts["openapi-3-1"]?.circularReplacer??this.options.dereference.circularReplacer)(ve);return p.replaceWith(ve,Jp),!n&&be}}const re=In(L.refSet.rootRef.uri)!==L.uri,me=Yn()(d=["error","replace"]).call(d,this.options.dereference.circular);if((R||re||Vp(J)||me)&&!E.includesCycle(J)){x.add(e);const ve=new Cm({reference:L,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:E,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:this.basePath??[...Ws([...o,n,e]),"$ref"]});J=await b1(J,ve,{keyMap:Js,nodeTypeGetter:as}),x.delete(e)}this.indirections.pop();const le=no(J);if(le.setMetaProperty("ref-fields",{$ref:Et(e.$ref),description:Et(e.description),summary:Et(e.summary)}),le.setMetaProperty("ref-origin",L.uri),le.setMetaProperty("ref-referencing-element-id",hr(is.identify(e))),hn(J)&&(e.hasKey("description")&&"description"in J&&(le.remove("description"),le.set("description",e.get("description"))),e.hasKey("summary")&&"summary"in J&&(le.remove("summary"),le.set("summary",e.get("summary")))),this.allowMetaPatches&&hn(le)&&!le.hasKey("$$ref")){const ve=go(k,V);le.set("$$ref",ve)}return p.replaceWith(le,Jp),!n&&le}catch(E){const x=vv(E),k=v1(x,{baseDoc:this.reference.uri,$ref:Et(e.$ref),pointer:rs(Et(e.$ref)),fullPath:this.basePath??[...Ws([...o,n,e]),"$ref"]});return void this.options.dereference.dereferenceOpts?.errors?.push?.(k)}}async PathItemElement(e,r,n,a,o,p){try{var c,d;if(!Ir(e.$ref))return;if(Yn()(c=this.indirections).call(c,e)||Yh(["cycle"],e.$ref))return!1;const[E,x]=this.toAncestorLineage([...o,n]),k=this.toBaseURI(Et(e.$ref)),P=In(this.reference.uri)===k,R=!P;if(!this.options.resolve.internal&&P||!this.options.resolve.external&&R)return;const L=await this.toReference(Et(e.$ref)),V=go(k,Et(e.$ref));this.indirections.push(e);const Q=rs(V);let J=Us(L.value.result,Q);if(J.id=is.identify(J),$p(J)){const le=`path-item-${Et(is.identify(J))}`;this.refractCache.has(le)?J=this.refractCache.get(le):(J=$u.refract(J),this.refractCache.set(le,J))}if(e===J)throw new Mt("Recursive Path Item Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new ud(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(Yn()(E).call(E,J)){if(L.refSet.circular=!0,this.options.dereference.circular==="error")throw new Mt("Circular reference detected");if(this.options.dereference.circular==="replace"){const le=new Ge.sI(J.id,{type:"path-item",uri:L.uri,$ref:Et(e.$ref),baseURI:V,referencingElement:e}),ve=(this.options.dereference.strategyOpts["openapi-3-1"]?.circularReplacer??this.options.dereference.circularReplacer)(le);return p.replaceWith(le,Jp),!n&&ve}}const re=In(L.refSet.rootRef.uri)!==L.uri,me=Yn()(d=["error","replace"]).call(d,this.options.dereference.circular);if((R||re||zp(J)&&Ir(J.$ref)||me)&&!E.includesCycle(J)){x.add(e);const le=new Cm({reference:L,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:E,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:this.basePath??[...Ws([...o,n,e]),"$ref"]});J=await b1(J,le,{keyMap:Js,nodeTypeGetter:as}),x.delete(e)}if(this.indirections.pop(),zp(J)){const le=new $u([...J.content],hr(J.meta),hr(J.attributes));if(e.forEach(((ve,be,ce)=>{le.remove(Et(be)),le.content.push(ce)})),le.remove("$ref"),le.setMetaProperty("ref-fields",{$ref:Et(e.$ref)}),le.setMetaProperty("ref-origin",L.uri),le.setMetaProperty("ref-referencing-element-id",hr(is.identify(e))),this.allowMetaPatches&&le.get("$$ref")===void 0){const ve=go(k,V);le.set("$$ref",ve)}J=le}return p.replaceWith(J,Jp),n?void 0:J}catch(E){const x=vv(E),k=v1(x,{baseDoc:this.reference.uri,$ref:Et(e.$ref),pointer:rs(Et(e.$ref)),fullPath:this.basePath??[...Ws([...o,n,e]),"$ref"]});return void this.options.dereference.dereferenceOpts?.errors?.push?.(k)}}async SchemaElement(e,r,n,a,o,p){try{var c,d;if(!Ir(e.$ref))return;if(Yn()(c=this.indirections).call(c,e))return!1;const[E,x]=this.toAncestorLineage([...o,n]);let k=await this.toReference(Fl(this.reference.uri)),{uri:P}=k;const R=z2(P,e),L=In(R),V=new ld({uri:L}),Q=!this.options.resolve.resolvers.some((ce=>ce.canRead(V))),J=!Q;let re,me=In(this.reference.uri)===R,le=!me;this.indirections.push(e);try{if(Q||J){P=this.toBaseURI(R);const ce=R,_e=qo(k.value.result);if(re=gv(ce,_e),re=qo(re),re.id=is.identify(re),!this.options.resolve.internal&&me||!this.options.resolve.external&&le)return}else{if(P=this.toBaseURI(R),me=In(this.reference.uri)===P,le=!me,!this.options.resolve.internal&&me||!this.options.resolve.external&&le)return;k=await this.toReference(Fl(R));const ce=rs(R),_e=qo(k.value.result);re=Us(_e,ce),re=qo(re),re.id=is.identify(re)}}catch(ce){if(!(J&&ce instanceof g1))throw ce;if(mv(cd(R))){if(me=In(this.reference.uri)===P,le=!me,!this.options.resolve.internal&&me||!this.options.resolve.external&&le)return;k=await this.toReference(Fl(R));const _e=cd(R),Ae=qo(k.value.result);re=m1(_e,Ae),re=qo(re),re.id=is.identify(re)}else{if(P=this.toBaseURI(Et(R)),me=In(this.reference.uri)===P,le=!me,!this.options.resolve.internal&&me||!this.options.resolve.external&&le)return;k=await this.toReference(Fl(R));const _e=rs(R),Ae=qo(k.value.result);re=Us(Ae,_e),re=qo(re),re.id=is.identify(re)}}if(e===re)throw new Mt("Recursive Schema Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new ud(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(Yn()(E).call(E,re)){if(k.refSet.circular=!0,this.options.dereference.circular==="error")throw new Mt("Circular reference detected");if(this.options.dereference.circular==="replace"){const ce=new Ge.sI(re.id,{type:"json-schema",uri:k.uri,$ref:Et(e.$ref),baseURI:go(P,R),referencingElement:e}),_e=(this.options.dereference.strategyOpts["openapi-3-1"]?.circularReplacer??this.options.dereference.circularReplacer)(ce);return p.replaceWith(_e,Jp),!n&&_e}}const ve=In(k.refSet.rootRef.uri)!==k.uri,be=Yn()(d=["error","replace"]).call(d,this.options.dereference.circular);if((le||ve||Vs(re)&&Ir(re.$ref)||be)&&!E.includesCycle(re)){x.add(e);const ce=new Cm({reference:k,namespace:this.namespace,indirections:[...this.indirections],options:this.options,useCircularStructures:this.useCircularStructures,allowMetaPatches:this.allowMetaPatches,ancestors:E,basePath:this.basePath??[...Ws([...o,n,e]),"$ref"]});re=await b1(re,ce,{keyMap:Js,nodeTypeGetter:as}),x.delete(e)}if(this.indirections.pop(),a1(re)){const ce=hr(re);return ce.setMetaProperty("ref-fields",{$ref:Et(e.$ref)}),ce.setMetaProperty("ref-origin",k.uri),ce.setMetaProperty("ref-referencing-element-id",hr(is.identify(e))),p.replaceWith(ce,Jp),!n&&ce}if(Vs(re)){const ce=new qu([...re.content],hr(re.meta),hr(re.attributes));if(e.forEach(((_e,Ae,xe)=>{ce.remove(Et(Ae)),ce.content.push(xe)})),ce.remove("$ref"),ce.setMetaProperty("ref-fields",{$ref:Et(e.$ref)}),ce.setMetaProperty("ref-origin",k.uri),ce.setMetaProperty("ref-referencing-element-id",hr(is.identify(e))),this.allowMetaPatches&&ce.get("$$ref")===void 0){const _e=go(P,R);ce.set("$$ref",_e)}re=ce}return p.replaceWith(re,Jp),n?void 0:re}catch(E){const x=vv(E),k=new U8(`Could not resolve reference: ${x.message}`,{baseDoc:this.reference.uri,$ref:Et(e.$ref),fullPath:this.basePath??[...Ws([...o,n,e]),"$ref"],cause:x});return void this.options.dereference.dereferenceOpts?.errors?.push?.(k)}}async LinkElement(){}async ExampleElement(e,r,n,a,o,p){try{return await super.ExampleElement(e,r,n,a,o,p)}catch(c){const d=vv(c),E=v1(d,{baseDoc:this.reference.uri,externalValue:Et(e.externalValue),fullPath:this.basePath??[...Ws([...o,n,e]),"externalValue"]});return void this.options.dereference.dereferenceOpts?.errors?.push?.(E)}}}const z8=Cm,V8=Cy[Symbol.for("nodejs.util.promisify.custom")],J8=class{constructor({parameterMacro:e,modelPropertyMacro:r,mode:n,options:a,...o}){const p=[];p.push(new z8({...o,options:a})),typeof r=="function"&&p.push(new D8({modelPropertyMacro:r,options:a})),n!=="strict"&&p.push(new B8({options:a})),typeof e=="function"&&p.push(new q8({parameterMacro:e,options:a}));const c=V8(p,{nodeTypeGetter:as});Object.assign(this,c)}},W8=Pa[Symbol.for("nodejs.util.promisify.custom")],H8=class extends R8{allowMetaPatches;parameterMacro;modelPropertyMacro;mode;ancestors;constructor({allowMetaPatches:e=!1,parameterMacro:r=null,modelPropertyMacro:n=null,mode:a="non-strict",ancestors:o=[],...p}={}){super({...p}),this.name="openapi-3-1-swagger-client",this.allowMetaPatches=e,this.parameterMacro=r,this.modelPropertyMacro=n,this.mode=a,this.ancestors=[...o]}async dereference(e,r){const n=Ac(s1),a=r.dereference.refSet??new sd,o=new sd;let p,c=a;a.has(e.uri)?p=a.find((x=>x.uri===e.uri)):(p=new Cc({uri:e.uri,value:e.parseResult}),a.add(p)),r.dereference.immutable&&(a.refs.map((x=>new Cc({...x,value:hr(x.value)}))).forEach((x=>o.add(x))),p=o.find((x=>x.uri===e.uri)),c=o);const d=new J8({reference:p,namespace:n,options:r,allowMetaPatches:this.allowMetaPatches,ancestors:this.ancestors,modelPropertyMacro:this.modelPropertyMacro,mode:this.mode,parameterMacro:this.parameterMacro}),E=await W8(c.rootRef.value,d,{keyMap:Js,nodeTypeGetter:as});return r.dereference.immutable&&o.refs.filter((x=>x.uri.startsWith("immutable://"))).map((x=>new Cc({...x,uri:x.uri.replace(/^immutable:\/\//,"")}))).forEach((x=>a.add(x))),r.dereference.refSet===null&&a.clean(),o.clean(),E}},K8=t=>{const e=Et(t.meta.get("baseURI")),r=t.meta.get("referencingElement");return new Ge.Sh({$ref:e},hr(r.meta),hr(r.attributes))},w1=async t=>{const{spec:e,timeout:r,redirects:n,requestInterceptor:a,responseInterceptor:o,pathDiscriminator:p=[],allowMetaPatches:c=!1,useCircularStructures:d=!1,skipNormalization:E=!1,parameterMacro:x=null,modelPropertyMacro:k=null,mode:P="non-strict",strategies:R}=t;try{const{cache:L}=w1,V=R.find((Ne=>Ne.match(e))),Q=j0(P0())?P0():Sy,J=z0(t),re=go(Q,J);let me;L.has(e)?me=L.get(e):(me=Lu.refract(e),me.classes.push("result"),L.set(e,me));const le=new $s([me]),ve=_S(p),be=ve===""?"":`#${ve}`,ce=Us(me,ve),_e=new Cc({uri:re,value:le}),Ae=new sd({refs:[_e]});ve!==""&&(Ae.rootRef=void 0);const xe=[new Set([ce])],Oe=[],je=await(async(Ne,Ye={})=>{const ht=R2(I2,Ye);return u8(Ne,ht)})(ce,{resolve:{baseURI:`${re}${be}`,resolvers:[new v8({timeout:r||1e4,redirects:n||10})],resolverOpts:{swaggerHTTPClientConfig:{requestInterceptor:a,responseInterceptor:o}},strategies:[new d8]},parse:{mediaType:id.latest(),parsers:[new E8({allowEmpty:!1,sourceMap:!1}),new S8({allowEmpty:!1,sourceMap:!1}),new b8({allowEmpty:!1,sourceMap:!1}),new w8({allowEmpty:!1,sourceMap:!1}),new p8({allowEmpty:!1,sourceMap:!1})]},dereference:{maxDepth:100,strategies:[new H8({allowMetaPatches:c,useCircularStructures:d,parameterMacro:x,modelPropertyMacro:k,mode:P,ancestors:xe})],refSet:Ae,dereferenceOpts:{errors:Oe},immutable:!1,circular:d?"ignore":"replace",circularReplacer:d?I2.dereference.circularReplacer:K8}}),G=((Ne,Ye,ht)=>new lj({element:ht}).transclude(Ne,Ye))(ce,je,me),de=E?G:V.normalize(G);return{spec:Et(de),errors:Oe}}catch(L){if(L instanceof Bp)return{spec:e,errors:[]};throw L}};w1.cache=new WeakMap;const G2=w1;function Y2(t,e,r){if(r||(r=new G8),(function(o){var p=typeof o;return o==null||p!="object"&&p!="function"})(t))return t;var n=function(o){var p=r.get(t);if(p)return p;for(var c in r.set(t,o),t)Object.prototype.hasOwnProperty.call(t,c)&&(o[c]=t[c]);return o};switch(Fs(t)){case"Object":return n(Object.create(Object.getPrototypeOf(t)));case"Array":return n(Array(t.length));case"Date":return new Date(t.valueOf());case"RegExp":return(function(o){return new RegExp(o.source,o.flags?o.flags:(o.global?"g":"")+(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.sticky?"y":"")+(o.unicode?"u":"")+(o.dotAll?"s":""))})(t);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return t.slice();default:return t}}var G8=(function(){function t(){this.map={},this.length=0}return t.prototype.set=function(e,r){var n=this.hash(e),a=this.map[n];a||(this.map[n]=a=[]),a.push([e,r]),this.length+=1},t.prototype.hash=function(e){var r=[];for(var n in e)r.push(Object.prototype.toString.call(e[n]));return r.join()},t.prototype.get=function(e){if(this.length<=180){for(var r in this.map)for(var n=this.map[r],a=0;a<n.length;a+=1)if((p=n[a])[0]===e)return p[1]}else{var o=this.hash(e);if(n=this.map[o])for(a=0;a<n.length;a+=1){var p;if((p=n[a])[0]===e)return p[1]}}},t})(),Y8=(function(){function t(e,r,n,a){this.valueFn=e,this.valueAcc=r,this.keyFn=n,this.xf=a,this.inputs={}}return t.prototype["@@transducer/init"]=Tu,t.prototype["@@transducer/result"]=function(e){var r;for(r in this.inputs)if(ts(r,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[r]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,r){var n=this.keyFn(r);return this.inputs[n]=this.inputs[n]||[n,Y2(this.valueAcc)],this.inputs[n][1]=this.valueFn(this.inputs[n][1],r),e},t})();function X8(t,e,r){return function(n){return new Y8(t,e,r,n)}}var Q8=w0(4,[],Nu([],X8,(function(e,r,n,a){var o=rE((function(p,c){var d=n(c),E=e(ts(d,p)?p[d]:Y2(r),c);return E&&E["@@transducer/reduced"]?_y(p):(p[d]=E,p)}));return v0(o,{},a)})));const Z8=Tr(b0("groupBy",Q8((function(t,e){return t.push(e),t}),[]))),jm=class{internalStore;constructor(e,r,n){this.storageElement=e,this.storageField=r,this.storageSubField=n}get store(){if(!this.internalStore){let e=this.storageElement.get(this.storageField);hn(e)||(e=new Ge.Sh,this.storageElement.set(this.storageField,e));let r=e.get(this.storageSubField);vo(r)||(r=new Ge.wE,e.set(this.storageSubField,r)),this.internalStore=r}return this.internalStore}append(e){this.includes(e)||this.store.push(e)}includes(e){return this.store.includes(e)}},E1=t=>t.replace(/\s/g,""),S1=t=>t.replace(/\W/gi,"_"),eM=(t,e,r)=>{const n=E1(t);return n.length>0?S1(n):((a,o)=>`${S1(E1(o.toLowerCase()))}${S1(E1(a))}`)(e,r)},tM=({storageField:t="x-normalized",operationIdNormalizer:e=eM}={})=>r=>{const{predicates:n,ancestorLineageToJSONPointer:a,namespace:o}=r,p=[],c=[],d=[];let E;return{visitor:{OpenApi3_1Element:{enter(x){E=new jm(x,t,"operation-ids")},leave(){const x=Z8((k=>Et(k.operationId)),c);Object.entries(x).forEach((([k,P])=>{Array.isArray(P)&&(P.length<=1||P.forEach(((R,L)=>{const V=`${k}${L+1}`;R.operationId=new o.elements.String(V)})))})),d.forEach((k=>{if(k.operationId===void 0)return;const P=String(Et(k.operationId)),R=c.find((L=>Et(L.meta.get("originalOperationId"))===P));R!==void 0&&(k.operationId=hr.safe(R.operationId),k.meta.set("originalOperationId",P),k.set("__originalOperationId",P))})),c.length=0,d.length=0,E=void 0}},PathItemElement:{enter(x){const k=Jh("path",Et(x.meta.get("path")));p.push(k)},leave(){p.pop()}},OperationElement:{enter(x,k,P,R,L){if(x.operationId===void 0)return;const V=a([...L,P,x]);if(E.includes(V))return;const Q=String(Et(x.operationId)),J=py(p),re=Jh("method",Et(x.meta.get("http-method"))),me=e(Q,J,re);Q!==me&&(x.operationId=new o.elements.String(me),x.set("__originalOperationId",Q),x.meta.set("originalOperationId",Q),c.push(x),E.append(V))}},LinkElement:{leave(x){n.isLinkElement(x)&&x.operationId!==void 0&&d.push(x)}}}}},rM=({storageField:t="x-normalized"}={})=>e=>{const{predicates:r,ancestorLineageToJSONPointer:n}=e,a=(c,d)=>!!r.isParameterElement(c)&&!!r.isParameterElement(d)&&!!r.isStringElement(c.name)&&!!r.isStringElement(c.in)&&!!r.isStringElement(d.name)&&!!r.isStringElement(d.in)&&Et(c.name)===Et(d.name)&&Et(c.in)===Et(d.in),o=[];let p;return{visitor:{OpenApi3_1Element:{enter(c){p=new jm(c,t,"parameters")},leave(){p=void 0}},PathItemElement:{enter(c,d,E,x,k){if(k.some(r.isComponentsElement))return;const{parameters:P}=c;r.isArrayElement(P)?o.push([...P.content]):o.push([])},leave(){o.pop()}},OperationElement:{leave(c,d,E,x,k){const P=py(o);if(!Array.isArray(P)||P.length===0)return;const R=n([...k,E,c]);if(p.includes(R))return;const L=B2([],["parameters","content"],c),V=K2(a,[...L,...P]);c.parameters=new i2(V),p.append(R)}}}}},nM=({storageField:t="x-normalized"}={})=>e=>{const{predicates:r,ancestorLineageToJSONPointer:n}=e;let a,o;return{visitor:{OpenApi3_1Element:{enter(p){o=new jm(p,t,"security-requirements"),r.isArrayElement(p.security)&&(a=p.security)},leave(){o=void 0,a=void 0}},OperationElement:{leave(p,c,d,E,x){if(x.some(r.isComponentsElement))return;const k=n([...x,d,p]);if(!o.includes(k)){var P;p.security===void 0&&a!==void 0&&(p.security=new l2((P=a)===null||P===void 0?void 0:P.content),o.append(k))}}}}}},aM=({storageField:t="x-normalized"}={})=>e=>{const{predicates:r,ancestorLineageToJSONPointer:n}=e;let a;return{visitor:{OpenApi3_1Element:{enter(o){a=new jm(o,t,"parameter-examples")},leave(){a=void 0}},ParameterElement:{leave(o,p,c,d,E){var x,k;if(E.some(r.isComponentsElement)||o.schema===void 0||!r.isSchemaElement(o.schema)||((x=o.schema)===null||x===void 0?void 0:x.example)===void 0&&((k=o.schema)===null||k===void 0?void 0:k.examples)===void 0)return;const P=n([...E,c,o]);if(!a.includes(P)){if(o.examples!==void 0&&r.isObjectElement(o.examples)){const R=o.examples.map((L=>hr.safe(L.value)));return o.schema.examples!==void 0&&(o.schema.set("examples",R),a.append(P)),void(o.schema.example!==void 0&&(o.schema.set("example",R[0]),a.append(P)))}o.example!==void 0&&(o.schema.examples!==void 0&&(o.schema.set("examples",[hr(o.example)]),a.append(P)),o.schema.example!==void 0&&(o.schema.set("example",hr(o.example)),a.append(P)))}}}}}},oM=({storageField:t="x-normalized"}={})=>e=>{const{predicates:r,ancestorLineageToJSONPointer:n}=e;let a;return{visitor:{OpenApi3_1Element:{enter(o){a=new jm(o,t,"header-examples")},leave(){a=void 0}},HeaderElement:{leave(o,p,c,d,E){var x,k;if(E.some(r.isComponentsElement)||o.schema===void 0||!r.isSchemaElement(o.schema)||((x=o.schema)===null||x===void 0?void 0:x.example)===void 0&&((k=o.schema)===null||k===void 0?void 0:k.examples)===void 0)return;const P=n([...E,c,o]);if(!a.includes(P)){if(o.examples!==void 0&&r.isObjectElement(o.examples)){const R=o.examples.map((L=>hr.safe(L.value)));return o.schema.examples!==void 0&&(o.schema.set("examples",R),a.append(P)),void(o.schema.example!==void 0&&(o.schema.set("example",R[0]),a.append(P)))}o.example!==void 0&&(o.schema.examples!==void 0&&(o.schema.set("examples",[hr(o.example)]),a.append(P)),o.schema.example!==void 0&&(o.schema.set("example",hr(o.example)),a.append(P)))}}}}}},X2=t=>{if(!hn(t))return t;const e=[tM({operationIdNormalizer:(r,n,a)=>Df({operationId:r},n,a,{v2OperationIdCompatibilityMode:!1})}),rM(),nM(),aM(),oM()];return ql(t,e,{toolboxCreator:N2,visitorOptions:{keyMap:Js,nodeTypeGetter:as}})},iM={name:"openapi-3-1-apidom",match:t=>Y0(t),normalize(t){if(!da(t)&&Ls(t)&&!t.$$normalized){const r=(e=X2,n=>{const a=Lu.refract(n);a.classes.push("result");const o=e(a),p=Et(o);return G2.cache.set(p,o),Et(o)})(t);return r.$$normalized=!0,r}var e;return da(t)?X2(t):t},resolve:async t=>G2(t)},Q2=iM,Z2=t=>async e=>(async r=>{const{spec:n,requestInterceptor:a,responseInterceptor:o}=r,p=z0(r),c=YE(r),d=n||await zE(c,{requestInterceptor:a,responseInterceptor:o})(p),E={...r,spec:d};return r.strategies.find((x=>x.match(d))).resolve(E)})({...t,...e}),sM=Z2({strategies:[Q0,X0,G0]}),lM=(t,e,r,n,a)=>{if(t===Br.SEM_PRE){if(Array.isArray(a)===!1)throw new Error("parser's user data must be an array");a.push(["server-url-template",Ni.charsToString(e,r,n)])}return Br.SEM_OK},cM=(t,e,r,n,a)=>{if(t===Br.SEM_PRE){if(Array.isArray(a)===!1)throw new Error("parser's user data must be an array");a.push(["server-variable",Ni.charsToString(e,r,n)])}return Br.SEM_OK},uM=(t,e,r,n,a)=>{if(t===Br.SEM_PRE){if(Array.isArray(a)===!1)throw new Error("parser's user data must be an array");a.push(["server-variable-name",Ni.charsToString(e,r,n)])}return Br.SEM_OK},pM=(t,e,r,n,a)=>{if(t===Br.SEM_PRE){if(Array.isArray(a)===!1)throw new Error("parser's user data must be an array");a.push(["literals",Ni.charsToString(e,r,n)])}return Br.SEM_OK},hM=new function(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"server-url-template",lower:"server-url-template",index:0,isBkr:!1},this.rules[1]={name:"server-variable",lower:"server-variable",index:1,isBkr:!1},this.rules[2]={name:"server-variable-name",lower:"server-variable-name",index:2,isBkr:!1},this.rules[3]={name:"literals",lower:"literals",index:3,isBkr:!1},this.rules[4]={name:"DIGIT",lower:"digit",index:4,isBkr:!1},this.rules[5]={name:"HEXDIG",lower:"hexdig",index:5,isBkr:!1},this.rules[6]={name:"pct-encoded",lower:"pct-encoded",index:6,isBkr:!1},this.rules[7]={name:"ucschar",lower:"ucschar",index:7,isBkr:!1},this.rules[8]={name:"iprivate",lower:"iprivate",index:8,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:3,min:1,max:1/0},this.rules[0].opcodes[1]={type:1,children:[2,3]},this.rules[0].opcodes[2]={type:4,index:3},this.rules[0].opcodes[3]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:2,children:[1,2,3]},this.rules[1].opcodes[1]={type:7,string:[123]},this.rules[1].opcodes[2]={type:4,index:2},this.rules[1].opcodes[3]={type:7,string:[125]},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:3,min:1,max:1/0},this.rules[2].opcodes[1]={type:1,children:[2,3,4]},this.rules[2].opcodes[2]={type:5,min:0,max:122},this.rules[2].opcodes[3]={type:6,string:[124]},this.rules[2].opcodes[4]={type:5,min:126,max:1114111},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:3,min:1,max:1/0},this.rules[3].opcodes[1]={type:1,children:[2,3,4,5,6,7,8,9,10,11,12,13]},this.rules[3].opcodes[2]={type:6,string:[33]},this.rules[3].opcodes[3]={type:5,min:35,max:36},this.rules[3].opcodes[4]={type:5,min:38,max:59},this.rules[3].opcodes[5]={type:6,string:[61]},this.rules[3].opcodes[6]={type:5,min:63,max:91},this.rules[3].opcodes[7]={type:6,string:[93]},this.rules[3].opcodes[8]={type:6,string:[95]},this.rules[3].opcodes[9]={type:5,min:97,max:122},this.rules[3].opcodes[10]={type:6,string:[126]},this.rules[3].opcodes[11]={type:4,index:7},this.rules[3].opcodes[12]={type:4,index:8},this.rules[3].opcodes[13]={type:4,index:6},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:5,min:48,max:57},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:1,children:[1,2,3,4,5,6,7]},this.rules[5].opcodes[1]={type:4,index:4},this.rules[5].opcodes[2]={type:7,string:[97]},this.rules[5].opcodes[3]={type:7,string:[98]},this.rules[5].opcodes[4]={type:7,string:[99]},this.rules[5].opcodes[5]={type:7,string:[100]},this.rules[5].opcodes[6]={type:7,string:[101]},this.rules[5].opcodes[7]={type:7,string:[102]},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:2,children:[1,2,3]},this.rules[6].opcodes[1]={type:7,string:[37]},this.rules[6].opcodes[2]={type:4,index:5},this.rules[6].opcodes[3]={type:4,index:5},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]},this.rules[7].opcodes[1]={type:5,min:160,max:55295},this.rules[7].opcodes[2]={type:5,min:63744,max:64975},this.rules[7].opcodes[3]={type:5,min:65008,max:65519},this.rules[7].opcodes[4]={type:5,min:65536,max:131069},this.rules[7].opcodes[5]={type:5,min:131072,max:196605},this.rules[7].opcodes[6]={type:5,min:196608,max:262141},this.rules[7].opcodes[7]={type:5,min:262144,max:327677},this.rules[7].opcodes[8]={type:5,min:327680,max:393213},this.rules[7].opcodes[9]={type:5,min:393216,max:458749},this.rules[7].opcodes[10]={type:5,min:458752,max:524285},this.rules[7].opcodes[11]={type:5,min:524288,max:589821},this.rules[7].opcodes[12]={type:5,min:589824,max:655357},this.rules[7].opcodes[13]={type:5,min:655360,max:720893},this.rules[7].opcodes[14]={type:5,min:720896,max:786429},this.rules[7].opcodes[15]={type:5,min:786432,max:851965},this.rules[7].opcodes[16]={type:5,min:851968,max:917501},this.rules[7].opcodes[17]={type:5,min:921600,max:983037},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:1,children:[1,2,3]},this.rules[8].opcodes[1]={type:5,min:57344,max:63743},this.rules[8].opcodes[2]={type:5,min:983040,max:1048573},this.rules[8].opcodes[3]={type:5,min:1048576,max:1114109},this.toString=function(){return`; OpenAPI Server URL templating ABNF syntax
server-url-template = 1*( literals / server-variable ) ; variant of https://www.rfc-editor.org/rfc/rfc6570#section-2
server-variable = "{" server-variable-name "}"
server-variable-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)
; https://www.rfc-editor.org/rfc/rfc6570#section-2.1
; https://www.rfc-editor.org/errata/eid6937
literals = 1*( %x21 / %x23-24 / %x26-3B / %x3D / %x3F-5B
/ %x5D / %x5F / %x61-7A / %x7E / ucschar / iprivate
/ pct-encoded)
; any Unicode character except: CTL, SP,
; DQUOTE, "%" (aside from pct-encoded),
; "<", ">", "\\", "^", "\`", "{", "|", "}"
; https://www.rfc-editor.org/rfc/rfc6570#section-1.5
DIGIT = %x30-39 ; 0-9
HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F" ; case-insensitive
pct-encoded = "%" HEXDIG HEXDIG
ucschar = %xA0-D7FF / %xF900-FDCF / %xFDF0-FFEF
/ %x10000-1FFFD / %x20000-2FFFD / %x30000-3FFFD
/ %x40000-4FFFD / %x50000-5FFFD / %x60000-6FFFD
/ %x70000-7FFFD / %x80000-8FFFD / %x90000-9FFFD
/ %xA0000-AFFFD / %xB0000-BFFFD / %xC0000-CFFFD
/ %xD0000-DFFFD / %xE1000-EFFFD
iprivate = %xE000-F8FF / %xF0000-FFFFD / %x100000-10FFFD
`}},ex=t=>{const e=new ns;return e.ast=new ib,e.ast.callbacks["server-url-template"]=lM,e.ast.callbacks["server-variable"]=cM,e.ast.callbacks["server-variable-name"]=uM,e.ast.callbacks.literals=pM,{result:e.parse(hM,"server-url-template",t),ast:e.ast}},dM=(t,{strict:e=!1}={})=>{try{const r=ex(t);if(!r.result.success)return!1;const n=[];r.ast.translate(n);const a=n.some((([o])=>o==="server-variable"));if(!e&&!a)try{return new URL(t,"https://vladimirgorej.com"),!0}catch{return!1}return!e||a}catch{return!1}},fM=t=>(e=>{try{return typeof e=="string"&&decodeURIComponent(e)!==e}catch{return!1}})(t)?t:encodeURIComponent(t).replace(/%5B/g,"[").replace(/%5D/g,"]"),mM=["literals","server-variable-name"],gM=(t,e,r={})=>{const n={encoder:fM,...r},a=ex(t);if(!a.result.success)return t;const o=[];return a.ast.translate(o),o.filter((([c])=>mM.includes(c))).map((([c,d])=>c==="server-variable-name"?Object.hasOwn(e,d)?n.encoder(e[d],d):`{${d}}`:d)).join("")};function tx(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"path-template",lower:"path-template",index:0,isBkr:!1},this.rules[1]={name:"path-segment",lower:"path-segment",index:1,isBkr:!1},this.rules[2]={name:"slash",lower:"slash",index:2,isBkr:!1},this.rules[3]={name:"path-literal",lower:"path-literal",index:3,isBkr:!1},this.rules[4]={name:"template-expression",lower:"template-expression",index:4,isBkr:!1},this.rules[5]={name:"template-expression-param-name",lower:"template-expression-param-name",index:5,isBkr:!1},this.rules[6]={name:"pchar",lower:"pchar",index:6,isBkr:!1},this.rules[7]={name:"unreserved",lower:"unreserved",index:7,isBkr:!1},this.rules[8]={name:"pct-encoded",lower:"pct-encoded",index:8,isBkr:!1},this.rules[9]={name:"sub-delims",lower:"sub-delims",index:9,isBkr:!1},this.rules[10]={name:"ALPHA",lower:"alpha",index:10,isBkr:!1},this.rules[11]={name:"DIGIT",lower:"digit",index:11,isBkr:!1},this.rules[12]={name:"HEXDIG",lower:"hexdig",index:12,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:2,children:[1,2,6]},this.rules[0].opcodes[1]={type:4,index:2},this.rules[0].opcodes[2]={type:3,min:0,max:1/0},this.rules[0].opcodes[3]={type:2,children:[4,5]},this.rules[0].opcodes[4]={type:4,index:1},this.rules[0].opcodes[5]={type:4,index:2},this.rules[0].opcodes[6]={type:3,min:0,max:1},this.rules[0].opcodes[7]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:3,min:1,max:1/0},this.rules[1].opcodes[1]={type:1,children:[2,3]},this.rules[1].opcodes[2]={type:4,index:3},this.rules[1].opcodes[3]={type:4,index:4},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:7,string:[47]},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:3,min:1,max:1/0},this.rules[3].opcodes[1]={type:4,index:6},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:2,children:[1,2,3]},this.rules[4].opcodes[1]={type:7,string:[123]},this.rules[4].opcodes[2]={type:4,index:5},this.rules[4].opcodes[3]={type:7,string:[125]},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:3,min:1,max:1/0},this.rules[5].opcodes[1]={type:1,children:[2,3,4]},this.rules[5].opcodes[2]={type:5,min:0,max:122},this.rules[5].opcodes[3]={type:6,string:[124]},this.rules[5].opcodes[4]={type:5,min:126,max:1114111},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:1,children:[1,2,3,4,5]},this.rules[6].opcodes[1]={type:4,index:7},this.rules[6].opcodes[2]={type:4,index:8},this.rules[6].opcodes[3]={type:4,index:9},this.rules[6].opcodes[4]={type:7,string:[58]},this.rules[6].opcodes[5]={type:7,string:[64]},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:1,children:[1,2,3,4,5,6]},this.rules[7].opcodes[1]={type:4,index:10},this.rules[7].opcodes[2]={type:4,index:11},this.rules[7].opcodes[3]={type:7,string:[45]},this.rules[7].opcodes[4]={type:7,string:[46]},this.rules[7].opcodes[5]={type:7,string:[95]},this.rules[7].opcodes[6]={type:7,string:[126]},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:2,children:[1,2,3]},this.rules[8].opcodes[1]={type:7,string:[37]},this.rules[8].opcodes[2]={type:4,index:12},this.rules[8].opcodes[3]={type:4,index:12},this.rules[9].opcodes=[],this.rules[9].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11]},this.rules[9].opcodes[1]={type:7,string:[33]},this.rules[9].opcodes[2]={type:7,string:[36]},this.rules[9].opcodes[3]={type:7,string:[38]},this.rules[9].opcodes[4]={type:7,string:[39]},this.rules[9].opcodes[5]={type:7,string:[40]},this.rules[9].opcodes[6]={type:7,string:[41]},this.rules[9].opcodes[7]={type:7,string:[42]},this.rules[9].opcodes[8]={type:7,string:[43]},this.rules[9].opcodes[9]={type:7,string:[44]},this.rules[9].opcodes[10]={type:7,string:[59]},this.rules[9].opcodes[11]={type:7,string:[61]},this.rules[10].opcodes=[],this.rules[10].opcodes[0]={type:1,children:[1,2]},this.rules[10].opcodes[1]={type:5,min:65,max:90},this.rules[10].opcodes[2]={type:5,min:97,max:122},this.rules[11].opcodes=[],this.rules[11].opcodes[0]={type:5,min:48,max:57},this.rules[12].opcodes=[],this.rules[12].opcodes[0]={type:1,children:[1,2,3,4,5,6,7]},this.rules[12].opcodes[1]={type:4,index:11},this.rules[12].opcodes[2]={type:7,string:[97]},this.rules[12].opcodes[3]={type:7,string:[98]},this.rules[12].opcodes[4]={type:7,string:[99]},this.rules[12].opcodes[5]={type:7,string:[100]},this.rules[12].opcodes[6]={type:7,string:[101]},this.rules[12].opcodes[7]={type:7,string:[102]},this.toString=function(){return`; OpenAPI Path Templating ABNF syntax
; variant of https://datatracker.ietf.org/doc/html/rfc3986#section-3.3
path-template = slash *( path-segment slash ) [ path-segment ]
path-segment = 1*( path-literal / template-expression )
slash = "/"
path-literal = 1*pchar
template-expression = "{" template-expression-param-name "}"
template-expression-param-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)
; https://datatracker.ietf.org/doc/html/rfc3986#section-3.3
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
; https://datatracker.ietf.org/doc/html/rfc3986#section-2.3
pct-encoded = "%" HEXDIG HEXDIG
; https://datatracker.ietf.org/doc/html/rfc3986#section-2.1
sub-delims = "!" / "$" / "&" / "'" / "(" / ")"
/ "*" / "+" / "," / ";" / "="
; https://datatracker.ietf.org/doc/html/rfc3986#section-2.2
; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1
ALPHA = %x41-5A / %x61-7A ; A-Z / a-z
DIGIT = %x30-39 ; 0-9
HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"
`}}const yM=(t,e,r,n,a)=>(t===Br.SEM_PRE?a.push(["slash",Ni.charsToString(e,r,n)]):Br.SEM_POST,Br.SEM_OK),vM=(t,e,r,n,a)=>{if(t===Br.SEM_PRE){if(Array.isArray(a)===!1)throw new Error("parser's user data must be an array");a.push(["path-template",Ni.charsToString(e,r,n)])}return Br.SEM_OK},bM=(t,e,r,n,a)=>(t===Br.SEM_PRE?a.push(["path-literal",Ni.charsToString(e,r,n)]):Br.SEM_POST,Br.SEM_OK),wM=(t,e,r,n,a)=>(t===Br.SEM_PRE?a.push(["template-expression",Ni.charsToString(e,r,n)]):Br.SEM_POST,Br.SEM_OK),EM=(t,e,r,n,a)=>(t===Br.SEM_PRE?a.push(["template-expression-param-name",Ni.charsToString(e,r,n)]):Br.SEM_POST,Br.SEM_OK),SM=new tx,xM=t=>{const e=new ns;return e.ast=new ib,e.ast.callbacks["path-template"]=vM,e.ast.callbacks.slash=yM,e.ast.callbacks["path-literal"]=bM,e.ast.callbacks["template-expression"]=wM,e.ast.callbacks["template-expression-param-name"]=EM,{result:e.parse(SM,"path-template",t),ast:e.ast}},_M=t=>(e=>{try{return typeof e=="string"&&decodeURIComponent(e)!==e}catch{return!1}})(t)?t:encodeURIComponent(t).replace(/%5B/g,"[").replace(/%5D/g,"]"),OM=["slash","path-literal","template-expression-param-name"],x1=(t,e,r={})=>{const n={encoder:_M,...r},a=xM(t);if(!a.result.success)return t;const o=[];return a.ast.translate(o),o.filter((([c])=>OM.includes(c))).map((([c,d])=>c==="template-expression-param-name"?Object.prototype.hasOwnProperty.call(e,d)?n.encoder(e[d],d):`{${d}}`:d)).join("")};new tx,new ns;const kM={body:function({req:e,value:r}){r!==void 0&&(e.body=r)},header:function({req:e,parameter:r,value:n}){e.headers=e.headers||{},n!==void 0&&(e.headers[r.name]=n)},query:function({req:e,value:r,parameter:n}){if(e.query=e.query||{},r===!1&&n.type==="boolean"&&(r="false"),r===0&&["number","integer"].indexOf(n.type)>-1&&(r="0"),r)e.query[n.name]={collectionFormat:n.collectionFormat,value:r};else if(n.allowEmptyValue&&r!==void 0){const a=n.name;e.query[a]=e.query[a]||{},e.query[a].allowEmptyValue=!0}},path:function({req:e,value:r,parameter:n,baseURL:a}){if(r!==void 0){const o=e.url.replace(a,""),p=x1(o,{[n.name]:r});e.url=a+p}},formData:function({req:e,value:r,parameter:n}){if(r===!1&&n.type==="boolean"&&(r="false"),r===0&&["number","integer"].indexOf(n.type)>-1&&(r="0"),r)e.form=e.form||{},e.form[n.name]={collectionFormat:n.collectionFormat,value:r};else if(n.allowEmptyValue&&r!==void 0){e.form=e.form||{};const a=n.name;e.form[a]=e.form[a]||{},e.form[a].allowEmptyValue=!0}}};function bv(t,e){return Yn()(e).call(e,"application/json")?typeof t=="string"?t:(Array.isArray(t)&&(t=t.map((r=>{try{return JSON.parse(r)}catch{return r}}))),JSON.stringify(t)):String(t)}function Pm(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"lenient-cookie-string",lower:"lenient-cookie-string",index:0,isBkr:!1},this.rules[1]={name:"lenient-cookie-entry",lower:"lenient-cookie-entry",index:1,isBkr:!1},this.rules[2]={name:"lenient-cookie-pair",lower:"lenient-cookie-pair",index:2,isBkr:!1},this.rules[3]={name:"lenient-cookie-pair-invalid",lower:"lenient-cookie-pair-invalid",index:3,isBkr:!1},this.rules[4]={name:"lenient-cookie-name",lower:"lenient-cookie-name",index:4,isBkr:!1},this.rules[5]={name:"lenient-cookie-value",lower:"lenient-cookie-value",index:5,isBkr:!1},this.rules[6]={name:"lenient-quoted-value",lower:"lenient-quoted-value",index:6,isBkr:!1},this.rules[7]={name:"lenient-quoted-char",lower:"lenient-quoted-char",index:7,isBkr:!1},this.rules[8]={name:"lenient-cookie-octet",lower:"lenient-cookie-octet",index:8,isBkr:!1},this.rules[9]={name:"cookie-string",lower:"cookie-string",index:9,isBkr:!1},this.rules[10]={name:"cookie-pair",lower:"cookie-pair",index:10,isBkr:!1},this.rules[11]={name:"cookie-name",lower:"cookie-name",index:11,isBkr:!1},this.rules[12]={name:"cookie-value",lower:"cookie-value",index:12,isBkr:!1},this.rules[13]={name:"cookie-octet",lower:"cookie-octet",index:13,isBkr:!1},this.rules[14]={name:"OWS",lower:"ows",index:14,isBkr:!1},this.rules[15]={name:"token",lower:"token",index:15,isBkr:!1},this.rules[16]={name:"tchar",lower:"tchar",index:16,isBkr:!1},this.rules[17]={name:"CHAR",lower:"char",index:17,isBkr:!1},this.rules[18]={name:"CTL",lower:"ctl",index:18,isBkr:!1},this.rules[19]={name:"separators",lower:"separators",index:19,isBkr:!1},this.rules[20]={name:"SP",lower:"sp",index:20,isBkr:!1},this.rules[21]={name:"HT",lower:"ht",index:21,isBkr:!1},this.rules[22]={name:"ALPHA",lower:"alpha",index:22,isBkr:!1},this.rules[23]={name:"DIGIT",lower:"digit",index:23,isBkr:!1},this.rules[24]={name:"DQUOTE",lower:"dquote",index:24,isBkr:!1},this.rules[25]={name:"WSP",lower:"wsp",index:25,isBkr:!1},this.rules[26]={name:"HTAB",lower:"htab",index:26,isBkr:!1},this.rules[27]={name:"CRLF",lower:"crlf",index:27,isBkr:!1},this.rules[28]={name:"CR",lower:"cr",index:28,isBkr:!1},this.rules[29]={name:"LF",lower:"lf",index:29,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:2,children:[1,2]},this.rules[0].opcodes[1]={type:4,index:1},this.rules[0].opcodes[2]={type:3,min:0,max:1/0},this.rules[0].opcodes[3]={type:2,children:[4,5,6]},this.rules[0].opcodes[4]={type:7,string:[59]},this.rules[0].opcodes[5]={type:4,index:14},this.rules[0].opcodes[6]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:1,children:[1,2]},this.rules[1].opcodes[1]={type:4,index:2},this.rules[1].opcodes[2]={type:4,index:3},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:2,children:[1,2,3,4,5,6,7]},this.rules[2].opcodes[1]={type:4,index:14},this.rules[2].opcodes[2]={type:4,index:4},this.rules[2].opcodes[3]={type:4,index:14},this.rules[2].opcodes[4]={type:7,string:[61]},this.rules[2].opcodes[5]={type:4,index:14},this.rules[2].opcodes[6]={type:4,index:5},this.rules[2].opcodes[7]={type:4,index:14},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:2,children:[1,2,4]},this.rules[3].opcodes[1]={type:4,index:14},this.rules[3].opcodes[2]={type:3,min:1,max:1/0},this.rules[3].opcodes[3]={type:4,index:16},this.rules[3].opcodes[4]={type:4,index:14},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:3,min:1,max:1/0},this.rules[4].opcodes[1]={type:1,children:[2,3,4]},this.rules[4].opcodes[2]={type:5,min:33,max:58},this.rules[4].opcodes[3]={type:6,string:[60]},this.rules[4].opcodes[4]={type:5,min:62,max:126},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:1,children:[1,6]},this.rules[5].opcodes[1]={type:2,children:[2,3]},this.rules[5].opcodes[2]={type:4,index:6},this.rules[5].opcodes[3]={type:3,min:0,max:1},this.rules[5].opcodes[4]={type:3,min:0,max:1/0},this.rules[5].opcodes[5]={type:4,index:8},this.rules[5].opcodes[6]={type:3,min:0,max:1/0},this.rules[5].opcodes[7]={type:4,index:8},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:2,children:[1,2,4]},this.rules[6].opcodes[1]={type:4,index:24},this.rules[6].opcodes[2]={type:3,min:0,max:1/0},this.rules[6].opcodes[3]={type:4,index:7},this.rules[6].opcodes[4]={type:4,index:24},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:1,children:[1,2]},this.rules[7].opcodes[1]={type:5,min:32,max:33},this.rules[7].opcodes[2]={type:5,min:35,max:126},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:1,children:[1,2,3]},this.rules[8].opcodes[1]={type:5,min:33,max:43},this.rules[8].opcodes[2]={type:5,min:45,max:58},this.rules[8].opcodes[3]={type:5,min:60,max:126},this.rules[9].opcodes=[],this.rules[9].opcodes[0]={type:2,children:[1,2]},this.rules[9].opcodes[1]={type:4,index:10},this.rules[9].opcodes[2]={type:3,min:0,max:1/0},this.rules[9].opcodes[3]={type:2,children:[4,5,6]},this.rules[9].opcodes[4]={type:7,string:[59]},this.rules[9].opcodes[5]={type:4,index:20},this.rules[9].opcodes[6]={type:4,index:10},this.rules[10].opcodes=[],this.rules[10].opcodes[0]={type:2,children:[1,2,3]},this.rules[10].opcodes[1]={type:4,index:11},this.rules[10].opcodes[2]={type:7,string:[61]},this.rules[10].opcodes[3]={type:4,index:12},this.rules[11].opcodes=[],this.rules[11].opcodes[0]={type:4,index:15},this.rules[12].opcodes=[],this.rules[12].opcodes[0]={type:1,children:[1,6]},this.rules[12].opcodes[1]={type:2,children:[2,3,5]},this.rules[12].opcodes[2]={type:4,index:24},this.rules[12].opcodes[3]={type:3,min:0,max:1/0},this.rules[12].opcodes[4]={type:4,index:13},this.rules[12].opcodes[5]={type:4,index:24},this.rules[12].opcodes[6]={type:3,min:0,max:1/0},this.rules[12].opcodes[7]={type:4,index:13},this.rules[13].opcodes=[],this.rules[13].opcodes[0]={type:1,children:[1,2,3,4,5]},this.rules[13].opcodes[1]={type:6,string:[33]},this.rules[13].opcodes[2]={type:5,min:35,max:43},this.rules[13].opcodes[3]={type:5,min:45,max:58},this.rules[13].opcodes[4]={type:5,min:60,max:91},this.rules[13].opcodes[5]={type:5,min:93,max:126},this.rules[14].opcodes=[],this.rules[14].opcodes[0]={type:3,min:0,max:1/0},this.rules[14].opcodes[1]={type:2,children:[2,4]},this.rules[14].opcodes[2]={type:3,min:0,max:1},this.rules[14].opcodes[3]={type:4,index:27},this.rules[14].opcodes[4]={type:4,index:25},this.rules[15].opcodes=[],this.rules[15].opcodes[0]={type:3,min:1,max:1/0},this.rules[15].opcodes[1]={type:4,index:16},this.rules[16].opcodes=[],this.rules[16].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]},this.rules[16].opcodes[1]={type:7,string:[33]},this.rules[16].opcodes[2]={type:7,string:[35]},this.rules[16].opcodes[3]={type:7,string:[36]},this.rules[16].opcodes[4]={type:7,string:[37]},this.rules[16].opcodes[5]={type:7,string:[38]},this.rules[16].opcodes[6]={type:7,string:[39]},this.rules[16].opcodes[7]={type:7,string:[42]},this.rules[16].opcodes[8]={type:7,string:[43]},this.rules[16].opcodes[9]={type:7,string:[45]},this.rules[16].opcodes[10]={type:7,string:[46]},this.rules[16].opcodes[11]={type:7,string:[94]},this.rules[16].opcodes[12]={type:7,string:[95]},this.rules[16].opcodes[13]={type:7,string:[96]},this.rules[16].opcodes[14]={type:7,string:[124]},this.rules[16].opcodes[15]={type:7,string:[126]},this.rules[16].opcodes[16]={type:4,index:23},this.rules[16].opcodes[17]={type:4,index:22},this.rules[17].opcodes=[],this.rules[17].opcodes[0]={type:5,min:1,max:127},this.rules[18].opcodes=[],this.rules[18].opcodes[0]={type:1,children:[1,2]},this.rules[18].opcodes[1]={type:5,min:0,max:31},this.rules[18].opcodes[2]={type:6,string:[127]},this.rules[19].opcodes=[],this.rules[19].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]},this.rules[19].opcodes[1]={type:7,string:[40]},this.rules[19].opcodes[2]={type:7,string:[41]},this.rules[19].opcodes[3]={type:7,string:[60]},this.rules[19].opcodes[4]={type:7,string:[62]},this.rules[19].opcodes[5]={type:7,string:[64]},this.rules[19].opcodes[6]={type:7,string:[44]},this.rules[19].opcodes[7]={type:7,string:[59]},this.rules[19].opcodes[8]={type:7,string:[58]},this.rules[19].opcodes[9]={type:7,string:[92]},this.rules[19].opcodes[10]={type:6,string:[34]},this.rules[19].opcodes[11]={type:7,string:[47]},this.rules[19].opcodes[12]={type:7,string:[91]},this.rules[19].opcodes[13]={type:7,string:[93]},this.rules[19].opcodes[14]={type:7,string:[63]},this.rules[19].opcodes[15]={type:7,string:[61]},this.rules[19].opcodes[16]={type:7,string:[123]},this.rules[19].opcodes[17]={type:7,string:[125]},this.rules[19].opcodes[18]={type:4,index:20},this.rules[19].opcodes[19]={type:4,index:21},this.rules[20].opcodes=[],this.rules[20].opcodes[0]={type:6,string:[32]},this.rules[21].opcodes=[],this.rules[21].opcodes[0]={type:6,string:[9]},this.rules[22].opcodes=[],this.rules[22].opcodes[0]={type:1,children:[1,2]},this.rules[22].opcodes[1]={type:5,min:65,max:90},this.rules[22].opcodes[2]={type:5,min:97,max:122},this.rules[23].opcodes=[],this.rules[23].opcodes[0]={type:5,min:48,max:57},this.rules[24].opcodes=[],this.rules[24].opcodes[0]={type:6,string:[34]},this.rules[25].opcodes=[],this.rules[25].opcodes[0]={type:1,children:[1,2]},this.rules[25].opcodes[1]={type:4,index:20},this.rules[25].opcodes[2]={type:4,index:26},this.rules[26].opcodes=[],this.rules[26].opcodes[0]={type:6,string:[9]},this.rules[27].opcodes=[],this.rules[27].opcodes[0]={type:2,children:[1,2]},this.rules[27].opcodes[1]={type:4,index:28},this.rules[27].opcodes[2]={type:4,index:29},this.rules[28].opcodes=[],this.rules[28].opcodes[0]={type:6,string:[13]},this.rules[29].opcodes=[],this.rules[29].opcodes[0]={type:6,string:[10]},this.toString=function(){return`; Lenient version of https://datatracker.ietf.org/doc/html/rfc6265#section-4.2.1
lenient-cookie-string = lenient-cookie-entry *( ";" OWS lenient-cookie-entry )
lenient-cookie-entry = lenient-cookie-pair / lenient-cookie-pair-invalid
lenient-cookie-pair = OWS lenient-cookie-name OWS "=" OWS lenient-cookie-value OWS
lenient-cookie-pair-invalid = OWS 1*tchar OWS ; Allow for standalone entries like "fizz" to be ignored
lenient-cookie-name = 1*( %x21-3A / %x3C / %x3E-7E ) ; Allow all printable US-ASCII except "="
lenient-cookie-value = lenient-quoted-value [ *lenient-cookie-octet ] / *lenient-cookie-octet
lenient-quoted-value = DQUOTE *( lenient-quoted-char ) DQUOTE
lenient-quoted-char = %x20-21 / %x23-7E ; Allow all printable US-ASCII except DQUOTE
lenient-cookie-octet = %x21-2B / %x2D-3A / %x3C-7E
; Allow all printable characters except CTLs, semicolon and SP
; https://datatracker.ietf.org/doc/html/rfc6265#section-4.2.1
cookie-string = cookie-pair *( ";" SP cookie-pair )
; https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.1
; https://www.rfc-editor.org/errata/eid5518
cookie-pair = cookie-name "=" cookie-value
cookie-name = token
cookie-value = ( DQUOTE *cookie-octet DQUOTE ) / *cookie-octet
; https://www.rfc-editor.org/errata/eid8242
cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E
; US-ASCII characters excluding CTLs,
; whitespace, DQUOTE, comma, semicolon,
; and backslash
; https://datatracker.ietf.org/doc/html/rfc6265#section-2.2
OWS = *( [ CRLF ] WSP ) ; "optional" whitespace
; https://datatracker.ietf.org/doc/html/rfc9110#section-5.6.2
token = 1*(tchar)
tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*"
/ "+" / "-" / "." / "^" / "_" / "\`" / "|" / "~"
/ DIGIT / ALPHA
; any VCHAR, except delimiters
; https://datatracker.ietf.org/doc/html/rfc2616#section-2.2
CHAR = %x01-7F ; any US-ASCII character (octets 0 - 127)
CTL = %x00-1F / %x7F ; any US-ASCII control character
separators = "(" / ")" / "<" / ">" / "@" / "," / ";" / ":" / "\\" / %x22 / "/" / "[" / "]" / "?" / "=" / "{" / "}" / SP / HT
SP = %x20 ; US-ASCII SP, space (32)
HT = %x09 ; US-ASCII HT, horizontal-tab (9)
; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1
ALPHA = %x41-5A / %x61-7A ; A-Z / a-z
DIGIT = %x30-39 ; 0-9
DQUOTE = %x22 ; " (Double Quote)
WSP = SP / HTAB ; white space
HTAB = %x09 ; horizontal tab
CRLF = CR LF ; Internet standard newline
CR = %x0D ; carriage return
LF = %x0A ; linefeed
`}}new Pm;const AM=t=>{if(typeof t!="string"||[...t].length!==1)throw new TypeError("Input must be a single character string.");const e=t.codePointAt(0);return e<=127?`%${e.toString(16).toUpperCase().padStart(2,"0")}`:encodeURIComponent(t)},wv=t=>t.length>=2&&t.startsWith('"')&&t.endsWith('"'),rx=t=>wv(t)?t.slice(1,-1):t,nx=t=>`"${t}"`,ax=t=>t,CM=new ns,jM=new Pm,_1=(t,{strict:e=!0,quoted:r=null}={})=>{try{const n=e?"cookie-value":"lenient-cookie-value",a=CM.parse(jM,n,t);return typeof r=="boolean"?a.success&&r===wv(t):a.success}catch{return!1}},ox=t=>{const e=new TextEncoder().encode(t).reduce(((r,n)=>r+String.fromCharCode(n)),"");return btoa(e)},PM=(t,e=ox)=>{const r=String(t);if(_1(r))return r;const n=wv(r),a=e(n?rx(r):r);return n?nx(a):a},NM=t=>(e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,""))(ox(t)),TM=t=>PM(t,NM),IM=new ns,MM=new Pm,ix=(t,{strict:e=!0}={})=>{try{const r=e?"cookie-name":"lenient-cookie-name";return IM.parse(MM,r,t).success}catch{return!1}},RM=t=>{if(!ix(t))throw new TypeError(`Invalid cookie name: ${t}`)},sx=t=>{if(!_1(t))throw new TypeError(`Invalid cookie value: ${t}`)},lx={encoders:{name:ax,value:TM},validators:{name:RM,value:sx}},DM=(t,e,r={})=>{const n={...r,encoders:{...lx.encoders,...r.encoders},validators:{...lx.validators,...r.validators}},a=n.encoders.name(t),o=n.encoders.value(e);return n.validators.name(a),n.validators.value(o),`${a}=${o}`},FM=(t,e={})=>(Array.isArray(t)?t:typeof t=="object"&&t!==null?Object.entries(t):[]).map((([r,n])=>DM(r,n,e))).join("; "),LM=new ns,$M=new Pm,BM=t=>{const e=String(t);if(_1(e))return e;const r=wv(e),n=r?rx(e):e;let a="";for(const o of n)a+=LM.parse($M,"cookie-octet",o).success?o:AM(o);return r?nx(a):a};new ns,new Pm;const qM=t=>{if(!ix(t,{strict:!1}))throw new TypeError(`Invalid cookie name: ${t}`)},UM=t=>BM(t).replace(/[=&]/gu,(e=>e==="="?"%3D":"%26")),O1=(t,e={})=>FM(t,Py({encoders:{name:ax,value:UM},validators:{name:qM,value:sx}},e));function zM({req:t,value:e,parameter:r,baseURL:n}){const{name:a,style:o,explode:p,content:c}=r;if(e===void 0)return;const d=t.url.replace(n,"");let E;if(c){const x=Object.keys(c)[0];E=x1(d,{[a]:e},{encoder:k=>JE(bv(k,x))})}else E=x1(d,{[a]:e},{encoder:x=>q0({key:r.name,value:x,style:o||"simple",explode:p??!1,escape:"reserved"})});t.url=n+E}function VM({req:t,value:e,parameter:r}){if(t.query=t.query||{},e!==void 0&&r.content){const n=bv(e,Object.keys(r.content)[0]);if(n)t.query[r.name]=n;else if(r.allowEmptyValue){const a=r.name;t.query[a]=t.query[a]||{},t.query[a].allowEmptyValue=!0}}else if(e===!1&&(e="false"),e===0&&(e="0"),e){const{style:n,explode:a,allowReserved:o}=r;t.query[r.name]={value:e,serializationOption:{style:n,explode:a,allowReserved:o}}}else if(r.allowEmptyValue&&e!==void 0){const n=r.name;t.query[n]=t.query[n]||{},t.query[n].allowEmptyValue=!0}}const JM=["accept","authorization","content-type"];function WM({req:t,parameter:e,value:r}){if(t.headers=t.headers||{},!(JM.indexOf(e.name.toLowerCase())>-1))if(r!==void 0&&e.content){const n=Object.keys(e.content)[0];t.headers[e.name]=bv(r,n)}else r===void 0||Array.isArray(r)&&r.length===0||(t.headers[e.name]=q0({key:e.name,value:r,style:e.style||"simple",explode:e.explode!==void 0&&e.explode,escape:!1}))}function HM({req:t,parameter:e,value:r}){const{name:n}=e;if(t.headers=t.headers||{},r!==void 0&&e.content){const a=bv(r,Object.keys(e.content)[0]);t.headers.Cookie=O1({[n]:a})}else if(r!==void 0&&(!Array.isArray(r)||r.length!==0)){const a=q0({key:e.name,value:r,escape:!1,style:e.style||"form",explode:e.explode??!1}),o=Array.isArray(r)&&e.explode?`${n}=${a}`:a;t.headers.Cookie=O1({[n]:o})}}const KM=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,{btoa:GM}=KM,cx=GM;function YM(t,e){const{operation:r,requestBody:n,securities:a,spec:o,attachContentTypeForEmptyPayload:p}=t;let{requestContentType:c}=t;e=(function({request:P,securities:R={},operation:L={},spec:V}){const Q={...P},{authorized:J={}}=R,re=L.security||V.security||[],me=J&&!!Object.keys(J).length,le=V?.components?.securitySchemes||{};return Q.headers=Q.headers||{},Q.query=Q.query||{},!Object.keys(R).length||!me||!re||Array.isArray(L.security)&&!L.security.length?P:(re.forEach((ve=>{Object.keys(ve).forEach((be=>{const ce=J[be],_e=le[be];if(!ce)return;const Ae=ce.value||ce,{type:xe}=_e;if(ce){if(xe==="apiKey")_e.in==="query"&&(Q.query[_e.name]=Ae),_e.in==="header"&&(Q.headers[_e.name]=Ae),_e.in==="cookie"&&(Q.cookies[_e.name]=Ae);else if(xe==="http"){if(/^basic$/i.test(_e.scheme)){const Oe=Ae.username||"",je=Ae.password||"",G=cx(`${Oe}:${je}`);Q.headers.Authorization=`Basic ${G}`}/^bearer$/i.test(_e.scheme)&&(Q.headers.Authorization=`Bearer ${Ae}`)}else if(xe==="oauth2"||xe==="openIdConnect"){const Oe=ce.token||{},je=Oe[_e["x-tokenName"]||"access_token"];let G=Oe.token_type;G&&G.toLowerCase()!=="bearer"||(G="Bearer"),Q.headers.Authorization=`${G} ${je}`}}}))})),Q)})({request:e,securities:a,operation:r,spec:o});const d=r.requestBody||{},E=Object.keys(d.content||{}),x=c&&E.indexOf(c)>-1;if(n||p){if(c&&x)e.headers["Content-Type"]=c;else if(!c){const k=E[0];k&&(e.headers["Content-Type"]=k,c=k)}}else c&&x&&(e.headers["Content-Type"]=c);if(!t.responseContentType&&r.responses){const k=Object.entries(r.responses).filter((([P,R])=>{const L=parseInt(P,10);return L>=200&&L<300&&Ls(R.content)})).reduce(((P,[,R])=>P.concat(Object.keys(R.content))),[]);k.length>0&&(e.headers.accept=k.join(", "))}if(n)if(c){if(E.indexOf(c)>-1)if(c==="application/x-www-form-urlencoded"||c==="multipart/form-data")if(typeof n=="object"){const k=d.content[c]?.encoding??{};e.form={},Object.keys(n).forEach((P=>{let R;try{R=JSON.parse(n[P])}catch{R=n[P]}e.form[P]={value:R,encoding:k[P]||{}}}))}else if(typeof n=="string"){const k=d.content[c]?.encoding??{};try{e.form={};const P=JSON.parse(n);Object.entries(P).forEach((([R,L])=>{e.form[R]={value:L,encoding:k[R]||{}}}))}catch{e.form=n}}else e.form=n;else e.body=n}else e.body=n;return e}function XM(t,e){const{spec:r,operation:n,securities:a,requestContentType:o,responseContentType:p,attachContentTypeForEmptyPayload:c}=t;if(e=(function({request:E,securities:x={},operation:k={},spec:P}){const R={...E},{authorized:L={},specSecurity:V=[]}=x,Q=k.security||V,J=L&&!!Object.keys(L).length,re=P.securityDefinitions;return R.headers=R.headers||{},R.query=R.query||{},!Object.keys(x).length||!J||!Q||Array.isArray(k.security)&&!k.security.length?E:(Q.forEach((me=>{Object.keys(me).forEach((le=>{const ve=L[le];if(!ve)return;const{token:be}=ve,ce=ve.value||ve,_e=re[le],{type:Ae}=_e,xe=_e["x-tokenName"]||"access_token",Oe=be&&be[xe];let je=be&&be.token_type;if(ve)if(Ae==="apiKey"){const G=_e.in==="query"?"query":"headers";R[G]=R[G]||{},R[G][_e.name]=ce}else if(Ae==="basic")if(ce.header)R.headers.authorization=ce.header;else{const G=ce.username||"",de=ce.password||"";ce.base64=cx(`${G}:${de}`),R.headers.authorization=`Basic ${ce.base64}`}else Ae==="oauth2"&&Oe&&(je=je&&je.toLowerCase()!=="bearer"?je:"Bearer",R.headers.authorization=`${je} ${Oe}`)}))})),R)})({request:e,securities:a,operation:n,spec:r}),e.body||e.form||c)o?e.headers["Content-Type"]=o:Array.isArray(n.consumes)?[e.headers["Content-Type"]]=n.consumes:Array.isArray(r.consumes)?[e.headers["Content-Type"]]=r.consumes:n.parameters&&n.parameters.filter((d=>d.type==="file")).length?e.headers["Content-Type"]="multipart/form-data":n.parameters&&n.parameters.filter((d=>d.in==="formData")).length&&(e.headers["Content-Type"]="application/x-www-form-urlencoded");else if(o){const d=n.parameters&&n.parameters.filter((x=>x.in==="body")).length>0,E=n.parameters&&n.parameters.filter((x=>x.in==="formData")).length>0;(d||E)&&(e.headers["Content-Type"]=o)}return!p&&Array.isArray(n.produces)&&n.produces.length>0&&(e.headers.accept=n.produces.join(", ")),e}function QM(t,e){return(function(n,a,o){if(!n||typeof n!="object"||!n.paths||typeof n.paths!="object")return null;const{paths:p}=n,c=rS(n);for(const d in p){for(const x in p[d]){if(x.toUpperCase()==="PARAMETERS"||x==="additionalOperations")continue;const k=p[d][x];if(!k||typeof k!="object")continue;const P={spec:n,pathName:d,method:x.toUpperCase(),operation:k};if(a(P))return P}const{additionalOperations:E}=p[d];if(c&&E&&typeof E=="object")for(const x of Object.keys(E)){const k=E[x];if(!k||typeof k!="object")continue;const P={spec:n,pathName:d,method:x,operation:k};if(a(P))return P}}})(t,e)||null}function ux(t,e){return`${e.toLowerCase()}-${t}`}const px=t=>Array.isArray(t)?t:[],ZM=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,Nm=(t,{recurse:e=!0,depth:r=1}={})=>{var n,a;if(Ls(t)){if(t.type==="object"||t.type==="array"||Array.isArray(t.type)&&(Yn()(n=t.type).call(n,"object")||Yn()(a=t.type).call(a,"array")))return t;if(!(r>NE)&&e){const o=Array.isArray(t.oneOf)?t.oneOf.find((c=>Nm(c,{recurse:e,depth:r+1}))):void 0;if(o)return o;const p=Array.isArray(t.anyOf)?t.anyOf.find((c=>Nm(c,{recurse:e,depth:r+1}))):void 0;if(p)return p}}},hx=({value:t,silentFail:e=!1})=>{try{const r=JSON.parse(t);if(Ls(r)||Array.isArray(r))return r;if(!e)throw new Error("Expected JSON serialized object or array")}catch{if(!e)throw new Error("Could not parse parameter value string as JSON Object or JSON Array")}return t},k1=t=>{try{return new URL(t)}catch{const e=new URL(t,Sy),r=String(t).startsWith("/")?e.pathname:e.pathname.substring(1);return{hash:e.hash,host:"",hostname:"",href:"",origin:"",password:"",pathname:r,port:"",protocol:"",search:e.search,searchParams:e.searchParams}}};class eR extends xr{}const tR={buildRequest:dx};function rR({http:t,fetch:e,spec:r,operationId:n,pathName:a,method:o,parameters:p,securities:c,...d}){const E=t||e||Mf;a&&o&&!n&&(n=ux(a,o));const x=tR.buildRequest({spec:r,operationId:n,parameters:p,securities:c,http:E,...d});return x.body&&(Ls(x.body)||Array.isArray(x.body))&&(x.body=JSON.stringify(x.body)),E(x)}function dx(t){const{spec:e,operationId:r,responseContentType:n,scheme:a,requestInterceptor:o,responseInterceptor:p,contextUrl:c,userFetch:d,server:E,serverVariables:x,http:k,signal:P,serverVariableEncoder:R}=t;let{parameters:L,parameterBuilders:V,baseURL:Q}=t;const J=nS(e);V||(V=J?ke:kM);let re={url:"",credentials:k&&k.withCredentials?"include":"same-origin",headers:{},cookies:{}};P&&(re.signal=P),o&&(re.requestInterceptor=o),p&&(re.responseInterceptor=p),d&&(re.userFetch=d);const me=(function(Oe,je){return Oe&&Oe.paths?QM(Oe,(({pathName:G,method:de,operation:Ne})=>{if(!Ne||typeof Ne!="object")return!1;const Ye=Ne.operationId;return[Df(Ne,G,de),ux(G,de),Ye].some((ht=>ht&&ht===je))})):null})(e,r);if(!me)throw new eR(`Operation ${r} not found`);const{operation:le={},method:ve,pathName:be}=me;if(!(xe=>typeof xe=="string"&&ZM.test(xe))(ve))throw new Error("Invalid HTTP method");if(Q=Q??(function(Oe){return nS(Oe.spec)?(function({spec:de,pathName:Ne,method:Ye,operation:ht,server:Ct,contextUrl:_t,serverVariables:qt={},serverVariableEncoder:It}){let Ot,et=[],Dt="";const or=ht?.servers??de?.paths?.[Ne]?.[(Ye||"").toLowerCase()]?.servers,Ut=de?.paths?.[Ne]?.servers,pr=de?.servers;if(et=C1(or)?or:C1(Ut)?Ut:C1(pr)?pr:[YA],Ct&&(Ot=et.find((W=>W.url===Ct)),Ot&&(Dt=Ct)),Dt||([Ot]=et,Dt=Ot.url),dM(Dt,{strict:!0})){const W=Object.entries({...Ot.variables}).reduce((($e,[Je,Ft])=>($e[Je]=Ft.default,$e)),{});Dt=gM(Dt,{...W,...qt},{encoder:typeof It=="function"?It:T2})}return(function($e="",Je=""){const Ft=k1($e&&Je?go(Je,$e):$e),it=k1(Je),bt=A1(Ft.protocol)||A1(it.protocol),ut=Ft.host||it.host,Xt=Ft.pathname;let zt;return zt=bt&&ut?`${bt}://${ut+Xt}`:Xt,zt[zt.length-1]==="/"?zt.slice(0,-1):zt})(Dt,_t)})(Oe):(function({spec:de,scheme:Ne,contextUrl:Ye=""}){const ht=k1(Ye),Ct=Array.isArray(de.schemes)?de.schemes[0]:null,_t=Ne||Ct||A1(ht.protocol)||"http",qt=de.host||ht.host||"",It=de.basePath||"";let Ot;return Ot=qt?`${_t}://${qt+It}`:It,Ot[Ot.length-1]==="/"?Ot.slice(0,-1):Ot})(Oe)})({spec:e,scheme:a,contextUrl:c,server:E,serverVariables:x,pathName:be,method:ve,operation:le,serverVariableEncoder:R}),re.url+=Q,!r)return delete re.cookies,re;re.url+=be,re.method=ve,L=L||{};const ce=e.paths[be]||{};n&&(re.headers.accept=n);const _e=(xe=>{const Oe={};xe.forEach((G=>{Oe[G.in]||(Oe[G.in]={}),Oe[G.in][G.name]=G}));const je=[];return Object.keys(Oe).forEach((G=>{Object.keys(Oe[G]).forEach((de=>{je.push(Oe[G][de])}))})),je})([].concat(px(le.parameters)).concat(px(ce.parameters)));_e.forEach((xe=>{const Oe=V[xe.in];let je;if(xe.in==="body"&&xe.schema&&xe.schema.properties&&(je=L),je=xe&&xe.name&&L[xe.name],je===void 0?je=xe&&xe.name&&L[`${xe.in}.${xe.name}`]:((G,de)=>de.filter((Ne=>Ne.name===G)))(xe.name,_e).length>1&&console.warn(`Parameter '${xe.name}' is ambiguous because the defined spec has more than one parameter with the name: '${xe.name}' and the passed-in parameter values did not define an 'in' value.`),je!==null){if(xe.default!==void 0&&je===void 0&&(je=xe.default),je===void 0&&xe.required&&!xe.allowEmptyValue)throw new Error(`Required parameter ${xe.name} is not provided`);J&&typeof je=="string"&&($f("type",xe.schema)&&typeof xe.schema.type=="string"&&Nm(xe.schema,{recurse:!1})?je=hx({value:je,silentFail:!1}):($f("type",xe.schema)&&Array.isArray(xe.schema.type)&&Nm(xe.schema,{recurse:!1})||!$f("type",xe.schema)&&Nm(xe.schema,{recurse:!0}))&&(je=hx({value:je,silentFail:!0}))),Oe&&Oe({req:re,parameter:xe,value:je,operation:le,spec:e,baseURL:Q})}}));const Ae={...t,operation:le};if(re=J?YM(Ae,re):XM(Ae,re),re.cookies&&Object.keys(re.cookies).length>0){const xe=O1(re.cookies);$y(re.headers.Cookie)?re.headers.Cookie+=`; ${xe}`:re.headers.Cookie=xe}return re.cookies&&delete re.cookies,U0(re)}const A1=t=>t?t.replace(/\W/g,""):null,C1=t=>Array.isArray(t)&&t.length>0,nR=t=>async(e,r,n={})=>(async(a,o,p={})=>{const{returnEntireTree:c,baseDoc:d,requestInterceptor:E,responseInterceptor:x,parameterMacro:k,modelPropertyMacro:P,useCircularStructures:R,strategies:L}=p,V={spec:a,pathDiscriminator:o,baseDoc:d,requestInterceptor:E,responseInterceptor:x,parameterMacro:k,modelPropertyMacro:P,useCircularStructures:R,strategies:L},Q=L.find((re=>re.match(a))).normalize(a),J=await sM({spec:Q,...V,allowMetaPatches:!0,skipNormalization:!Y0(a)});return!c&&Array.isArray(o)&&o.length&&(J.spec=o.reduce(((re,me)=>re?.[me]),J.spec)||null),J})(e,r,{...t,...n}),aR=((t,e)=>(...r)=>{t(...r);const n=e.getConfigs().withCredentials;e.fn.fetch.withCredentials=n});function fx({configs:t,getConfigs:e}){return{fn:{fetch:(r=Mf,n=t.preFetch,a=t.postFetch,a=a||(o=>o),n=n||(o=>o),o=>(typeof o=="string"&&(o={url:o}),o=U0(o),o=n(o),a(r(o)))),buildRequest:dx,execute:rR,resolve:Z2({strategies:[Q2,Q0,X0,G0]}),resolveSubtree:async(o,p,c={})=>{const d=e(),E={modelPropertyMacro:d.modelPropertyMacro,parameterMacro:d.parameterMacro,requestInterceptor:d.requestInterceptor,responseInterceptor:d.responseInterceptor,strategies:[Q2,Q0,X0,G0]};return nR(E)(o,p,c)},serializeRes:GE,opId:Df},statePlugins:{configs:{wrapActions:{loaded:aR}}}};var r,n,a}function mx(){return{fn:{shallowEqualKeys:fi,sanitizeUrl:Dr}}}var gx=Be(40961),oR=(Be(78418),u.version.startsWith("19")),iR=Symbol.for(oR?"react.transitional.element":"react.element"),sR=Symbol.for("react.portal"),lR=Symbol.for("react.fragment"),cR=Symbol.for("react.strict_mode"),uR=Symbol.for("react.profiler"),pR=Symbol.for("react.consumer"),hR=Symbol.for("react.context"),yx=Symbol.for("react.forward_ref"),dR=Symbol.for("react.suspense"),fR=Symbol.for("react.suspense_list"),j1=Symbol.for("react.memo"),mR=Symbol.for("react.lazy"),gR=yx,yR=j1;function vR(t){if(typeof t=="object"&&t!==null){const{$$typeof:e}=t;switch(e){case iR:switch(t=t.type){case lR:case uR:case cR:case dR:case fR:return t;default:switch(t=t&&t.$$typeof){case hR:case yx:case mR:case j1:case pR:return t;default:return e}}case sR:return e}}}function bR(t,e,r,n,{areStatesEqual:a,areOwnPropsEqual:o,areStatePropsEqual:p}){let c,d,E,x,k,P=!1;function R(L,V){const Q=!o(V,d),J=!a(L,c,V,d);return c=L,d=V,Q&&J?(function(){return E=t(c,d),e.dependsOnOwnProps&&(x=e(n,d)),k=r(E,x,d),k})():Q?(function(){return t.dependsOnOwnProps&&(E=t(c,d)),e.dependsOnOwnProps&&(x=e(n,d)),k=r(E,x,d),k})():J?(function(){const me=t(c,d),le=!p(me,E);return E=me,le&&(k=r(E,x,d)),k})():k}return function(V,Q){return P?R(V,Q):(function(re,me){return c=re,d=me,E=t(c,d),x=e(n,d),k=r(E,x,d),P=!0,k})(V,Q)}}function P1(t){return function(r){const n=t(r);function a(){return n}return a.dependsOnOwnProps=!1,a}}function vx(t){return t.dependsOnOwnProps?!!t.dependsOnOwnProps:t.length!==1}function bx(t,e){return function(n,{displayName:a}){const o=function(c,d){return o.dependsOnOwnProps?o.mapToProps(c,d):o.mapToProps(c,void 0)};return o.dependsOnOwnProps=!0,o.mapToProps=function(c,d){o.mapToProps=t,o.dependsOnOwnProps=vx(t);let E=o(c,d);return typeof E=="function"&&(o.mapToProps=E,o.dependsOnOwnProps=vx(E),E=o(c,d)),E},o}}function N1(t,e){return(r,n)=>{throw new Error(`Invalid value of type ${typeof t} for ${e} argument when connecting component ${n.wrappedComponentName}.`)}}function wR(t,e,r){return{...r,...t,...e}}function ER(t){t()}var wx={notify(){},get:()=>[]};function Ex(t,e){let r,n=wx,a=0,o=!1;function p(){E.onStateChange&&E.onStateChange()}function c(){a++,r||(r=e?e.addNestedSub(p):t.subscribe(p),n=(function(){let k=null,P=null;return{clear(){k=null,P=null},notify(){ER((()=>{let R=k;for(;R;)R.callback(),R=R.next}))},get(){const R=[];let L=k;for(;L;)R.push(L),L=L.next;return R},subscribe(R){let L=!0;const V=P={callback:R,next:null,prev:P};return V.prev?V.prev.next=V:k=V,function(){L&&k!==null&&(L=!1,V.next?V.next.prev=V.prev:P=V.prev,V.prev?V.prev.next=V.next:k=V.next)}}}})())}function d(){a--,r&&a===0&&(r(),r=void 0,n.clear(),n=wx)}const E={addNestedSub:function(k){c();const P=n.subscribe(k);let R=!1;return()=>{R||(R=!0,P(),d())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:p,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,c())},tryUnsubscribe:function(){o&&(o=!1,d())},getListeners:()=>n};return E}var SR=!(typeof window>"u"||window.document===void 0||window.document.createElement===void 0),xR=typeof navigator<"u"&&navigator.product==="ReactNative",Ev=SR||xR?u.useLayoutEffect:u.useEffect;function Sx(t,e){return t===e?t!==0||e!==0||1/t==1/e:t!=t&&e!=e}function T1(t,e){if(Sx(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;const r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(let a=0;a<r.length;a++)if(!Object.prototype.hasOwnProperty.call(e,r[a])||!Sx(t[r[a]],e[r[a]]))return!1;return!0}var _R={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},OR={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},xx={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},kR={[gR]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[yR]:xx};function _x(t){return(function(r){return vR(r)===j1})(t)?xx:kR[t.$$typeof]||_R}var AR=Object.defineProperty,CR=Object.getOwnPropertyNames,Ox=Object.getOwnPropertySymbols,jR=Object.getOwnPropertyDescriptor,PR=Object.getPrototypeOf,kx=Object.prototype;function I1(t,e){if(typeof e!="string"){if(kx){const o=PR(e);o&&o!==kx&&I1(t,o)}let r=CR(e);Ox&&(r=r.concat(Ox(e)));const n=_x(t),a=_x(e);for(let o=0;o<r.length;++o){const p=r[o];if(!(OR[p]||a&&a[p]||n&&n[p])){const c=jR(e,p);try{AR(t,p,c)}catch{}}}}return t}var NR=Symbol.for("react-redux-context"),TR=typeof globalThis<"u"?globalThis:{};function IR(){if(!u.createContext)return{};const t=TR[NR]??=new Map;let e=t.get(u.createContext);return e||(e=u.createContext(null),t.set(u.createContext,e)),e}var Ax=IR(),MR=[null,null];function RR(t,e,r,n,a,o){t.current=n,r.current=!1,a.current&&(a.current=null,o())}function DR(t,e){return t===e}function FR(t,e,r,{pure:n,areStatesEqual:a=DR,areOwnPropsEqual:o=T1,areStatePropsEqual:p=T1,areMergedPropsEqual:c=T1,forwardRef:d=!1,context:E=Ax}={}){const x=E,k=(function(Q){return Q?typeof Q=="function"?bx(Q):N1(Q,"mapStateToProps"):P1((()=>({})))})(t),P=(function(Q){return Q&&typeof Q=="object"?P1((J=>(function(me,le){const ve={};for(const be in me){const ce=me[be];typeof ce=="function"&&(ve[be]=(..._e)=>le(ce(..._e)))}return ve})(Q,J))):Q?typeof Q=="function"?bx(Q):N1(Q,"mapDispatchToProps"):P1((J=>({dispatch:J})))})(e),R=(function(Q){return Q?typeof Q=="function"?(function(re){return function(le,{displayName:ve,areMergedPropsEqual:be}){let ce,_e=!1;return function(xe,Oe,je){const G=re(xe,Oe,je);return _e?be(G,ce)||(ce=G):(_e=!0,ce=G),ce}}})(Q):N1(Q,"mergeProps"):()=>wR})(r),L=!!t;return V=>{const Q=V.displayName||V.name||"Component",J=`Connect(${Q})`,re={shouldHandleStateChanges:L,displayName:J,wrappedComponentName:Q,WrappedComponent:V,initMapStateToProps:k,initMapDispatchToProps:P,initMergeProps:R,areStatesEqual:a,areStatePropsEqual:p,areOwnPropsEqual:o,areMergedPropsEqual:c};function me(ve){const[be,ce,_e]=u.useMemo((()=>{const{reactReduxForwardedRef:$e,...Je}=ve;return[ve.context,$e,Je]}),[ve]),Ae=u.useMemo((()=>x),[be,x]),xe=u.useContext(Ae),Oe=!!ve.store&&!!ve.store.getState&&!!ve.store.dispatch,je=!!xe&&!!xe.store,G=Oe?ve.store:xe.store,de=je?xe.getServerState:G.getState,Ne=u.useMemo((()=>(function(Je,{initMapStateToProps:Ft,initMapDispatchToProps:it,initMergeProps:bt,...ut}){return bR(Ft(Je,ut),it(Je,ut),bt(Je,ut),Je,ut)})(G.dispatch,re)),[G]),[Ye,ht]=u.useMemo((()=>{if(!L)return MR;const $e=Ex(G,Oe?void 0:xe.subscription),Je=$e.notifyNestedSubs.bind($e);return[$e,Je]}),[G,Oe,xe]),Ct=u.useMemo((()=>Oe?xe:{...xe,subscription:Ye}),[Oe,xe,Ye]),_t=u.useRef(void 0),qt=u.useRef(_e),It=u.useRef(void 0),Ot=u.useRef(!1),et=u.useRef(!1),Dt=u.useRef(void 0);Ev((()=>(et.current=!0,()=>{et.current=!1})),[]);const or=u.useMemo((()=>()=>It.current&&_e===qt.current?It.current:Ne(G.getState(),_e)),[G,_e]),Ut=u.useMemo((()=>$e=>Ye?(function(Ft,it,bt,ut,Xt,zt,tr,Er,dr,qr,en){if(!Ft)return()=>{};let kn=!1,ln=null;const jt=()=>{if(kn||!Er.current)return;const We=it.getState();let Kr,Lr;try{Kr=ut(We,Xt.current)}catch(zr){Lr=zr,ln=zr}Lr||(ln=null),Kr===zt.current?tr.current||qr():(zt.current=Kr,dr.current=Kr,tr.current=!0,en())};return bt.onStateChange=jt,bt.trySubscribe(),jt(),()=>{if(kn=!0,bt.tryUnsubscribe(),bt.onStateChange=null,ln)throw ln}})(L,G,Ye,Ne,qt,_t,Ot,et,It,ht,$e):()=>{}),[Ye]);let pr;(function(Je,Ft,it){Ev((()=>Je(...Ft)),it)})(RR,[qt,_t,Ot,_e,It,ht]);try{pr=u.useSyncExternalStore(Ut,or,de?()=>Ne(de(),_e):or)}catch($e){throw Dt.current&&($e.message+=`
The error may be correlated with this previous error:
${Dt.current.stack}
`),$e}Ev((()=>{Dt.current=void 0,It.current=void 0,_t.current=pr}));const W=u.useMemo((()=>u.createElement(V,{...pr,ref:ce})),[ce,V,pr]);return u.useMemo((()=>L?u.createElement(Ae.Provider,{value:Ct},W):W),[Ae,W,Ct])}const le=u.memo(me);if(le.WrappedComponent=V,le.displayName=me.displayName=J,d){const ve=u.forwardRef((function(ce,_e){return u.createElement(le,{...ce,reactReduxForwardedRef:_e})}));return ve.displayName=J,ve.WrappedComponent=V,I1(ve,V)}return I1(le,V)}}var LR=FR,$R=function(e){const{children:r,context:n,serverState:a,store:o}=e,p=u.useMemo((()=>{const E=Ex(o);return{store:o,subscription:E,getServerState:a?()=>a:void 0}}),[o,a]),c=u.useMemo((()=>o.getState()),[o]);Ev((()=>{const{subscription:E}=p;return E.onStateChange=E.notifyNestedSubs,E.trySubscribe(),c!==o.getState()&&E.notifyNestedSubs(),()=>{E.tryUnsubscribe(),E.onStateChange=void 0}}),[p,c]);const d=n||Ax;return u.createElement(d.Provider,{value:p},r)},BR=Be(83488),Cx=Be.n(BR);const qR=t=>e=>{const{fn:r}=t();class n extends u.Component{render(){return u.createElement(e,Yr()({},t(),this.props,this.context))}}return n.displayName=`WithSystem(${r.getDisplayName(e)})`,n},UR=(t,e)=>r=>{const{fn:n}=t();class a extends u.Component{render(){return u.createElement($R,{store:e},u.createElement(r,Yr()({},this.props,this.context)))}}return a.displayName=`WithRoot(${n.getDisplayName(r)})`,a},jx=(t,e,r)=>Wt(r?UR(t,r):Cx(),LR(((n,a)=>{const o={...a,...t()};return(e.prototype?.mapStateToProps||(c=>({state:c})))(n,o)})),qR(t))(e),Px=(t,e,r,n)=>{for(const a in e){const o=e[a];typeof o=="function"&&o(r[a],n[a],t())}},zR=(t,e,r)=>(n,a)=>{const{fn:o}=t(),p=r(n,"root");class c extends u.Component{constructor(E,x){super(E,x),Px(t,a,E,{})}UNSAFE_componentWillReceiveProps(E){Px(t,a,E,this.props)}render(){const E=Ha()(this.props,a?Object.keys(a):[]);return u.createElement(p,E)}}return c.displayName=`WithMappedContainer(${o.getDisplayName(p)})`,c},VR=(t,e,r,n)=>a=>{const o=r(t,e,n)("App","root"),{createRoot:p}=gx;p(a).render(u.createElement(o,null))},M1=(t,e,r)=>(n,a,o={})=>{if(typeof n!="string")throw new TypeError("Need a string, to fetch a component. Was given a "+typeof n);const p=r(n);return p?a?a==="root"?jx(t,p,e()):jx(t,p):p:(o.failSilently||t().log.warn("Could not find component:",n),null)},JR=t=>t.displayName||t.name||"Component",Nx=({getComponents:t,getStore:e,getSystem:r})=>{const n=(a=M1(r,e,t),fs(a,((...p)=>JSON.stringify(p))));var a;const o=(p=>gu(p,((...c)=>c)))(zR(r,0,n));return{rootInjects:{getComponent:n,makeMappedContainer:o,render:VR(r,e,M1,t)},fn:{getDisplayName:JR}}},Tx=({React:t,getSystem:e,getStore:r,getComponents:n})=>{const a={},o=parseInt(t?.version,10);return o>=16&&o<18&&(a.render=((p,c,d,E)=>x=>{const k=d(p,c,E)("App","root");gx.render(u.createElement(k,null),x)})(e,r,M1,n)),{rootInjects:a}};function Ix(t){let{fn:e}=t;const r={download:a=>({errActions:o,specSelectors:p,specActions:c,getConfigs:d})=>{let{fetch:E}=e;const x=d();function k(P){if(P instanceof Error||P.status>=400)return c.updateLoadingStatus("failed"),o.newThrownErr(Object.assign(new Error((P.message||P.statusText)+" "+a),{source:"fetch"})),void(!P.status&&P instanceof Error&&(function(){try{let L;if("URL"in Qe?L=new URL(a):(L=document.createElement("a"),L.href=a),L.protocol!=="https:"&&Qe.location.protocol==="https:"){const V=Object.assign(new Error(`Possible mixed-content issue? The page was loaded over https:// but a ${L.protocol}// URL was specified. Check that you are not attempting to load mixed content.`),{source:"fetch"});return void o.newThrownErr(V)}if(L.origin!==Qe.location.origin){const V=Object.assign(new Error(`Possible cross-origin (CORS) issue? The URL origin (${L.origin}) does not match the page (${Qe.location.origin}). Check the server returns the correct 'Access-Control-Allow-*' headers.`),{source:"fetch"});o.newThrownErr(V)}}catch{return}})());c.updateLoadingStatus("success"),c.updateSpec(P.text),p.url()!==a&&c.updateUrl(a)}a=a||p.url(),c.updateLoadingStatus("loading"),o.clear({source:"fetch"}),E({url:a,loadSpec:!0,requestInterceptor:x.requestInterceptor||(P=>P),responseInterceptor:x.responseInterceptor||(P=>P),credentials:"same-origin",headers:{Accept:"application/json,*/*"}}).then(k,k)},updateLoadingStatus:a=>{let o=[null,"loading","failed","success","failedConfig"];return o.indexOf(a)===-1&&console.error(`Error: ${a} is not one of ${JSON.stringify(o)}`),{type:"spec_update_loading_status",payload:a}}};let n={loadingStatus:yr((a=>a||(0,H.Map)()),(a=>a.get("loadingStatus")||null))};return{statePlugins:{spec:{actions:r,reducers:{spec_update_loading_status:(a,o)=>typeof o.payload=="string"?a.set("loadingStatus",o.payload):a},selectors:n}}}}function R1(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function D1(t){return(function(r){if(Array.isArray(r))return R1(r)})(t)||(function(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)})(t)||(function(r,n){if(r){if(typeof r=="string")return R1(r,n);var a={}.toString.call(r).slice(8,-1);return a==="Object"&&r.constructor&&(a=r.constructor.name),a==="Map"||a==="Set"?Array.from(r):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?R1(r,n):void 0}})(t)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function Tm(t){return Tm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tm(t)}function WR(t){var e=(function(n,a){if(Tm(n)!="object"||!n)return n;var o=n[Symbol.toPrimitive];if(o!==void 0){var p=o.call(n,a);if(Tm(p)!="object")return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(n)})(t,"string");return Tm(e)=="symbol"?e:e+""}function Mx(t,e,r){return(e=WR(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function F1(){return F1=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},F1.apply(null,arguments)}function Rx(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),r.push.apply(r,n)}return r}function hd(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Rx(Object(r),!0).forEach((function(n){Mx(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Rx(Object(r)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))}))}return t}var L1={};function HR(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return(function(a){if(a.length===0||a.length===1)return a;var o=a.join(".");return L1[o]||(L1[o]=(function(c){var d=c.length;return d===0||d===1?c:d===2?[c[0],c[1],"".concat(c[0],".").concat(c[1]),"".concat(c[1],".").concat(c[0])]:d===3?[c[0],c[1],c[2],"".concat(c[0],".").concat(c[1]),"".concat(c[0],".").concat(c[2]),"".concat(c[1],".").concat(c[0]),"".concat(c[1],".").concat(c[2]),"".concat(c[2],".").concat(c[0]),"".concat(c[2],".").concat(c[1]),"".concat(c[0],".").concat(c[1],".").concat(c[2]),"".concat(c[0],".").concat(c[2],".").concat(c[1]),"".concat(c[1],".").concat(c[0],".").concat(c[2]),"".concat(c[1],".").concat(c[2],".").concat(c[0]),"".concat(c[2],".").concat(c[0],".").concat(c[1]),"".concat(c[2],".").concat(c[1],".").concat(c[0])]:d>=4?[c[0],c[1],c[2],c[3],"".concat(c[0],".").concat(c[1]),"".concat(c[0],".").concat(c[2]),"".concat(c[0],".").concat(c[3]),"".concat(c[1],".").concat(c[0]),"".concat(c[1],".").concat(c[2]),"".concat(c[1],".").concat(c[3]),"".concat(c[2],".").concat(c[0]),"".concat(c[2],".").concat(c[1]),"".concat(c[2],".").concat(c[3]),"".concat(c[3],".").concat(c[0]),"".concat(c[3],".").concat(c[1]),"".concat(c[3],".").concat(c[2]),"".concat(c[0],".").concat(c[1],".").concat(c[2]),"".concat(c[0],".").concat(c[1],".").concat(c[3]),"".concat(c[0],".").concat(c[2],".").concat(c[1]),"".concat(c[0],".").concat(c[2],".").concat(c[3]),"".concat(c[0],".").concat(c[3],".").concat(c[1]),"".concat(c[0],".").concat(c[3],".").concat(c[2]),"".concat(c[1],".").concat(c[0],".").concat(c[2]),"".concat(c[1],".").concat(c[0],".").concat(c[3]),"".concat(c[1],".").concat(c[2],".").concat(c[0]),"".concat(c[1],".").concat(c[2],".").concat(c[3]),"".concat(c[1],".").concat(c[3],".").concat(c[0]),"".concat(c[1],".").concat(c[3],".").concat(c[2]),"".concat(c[2],".").concat(c[0],".").concat(c[1]),"".concat(c[2],".").concat(c[0],".").concat(c[3]),"".concat(c[2],".").concat(c[1],".").concat(c[0]),"".concat(c[2],".").concat(c[1],".").concat(c[3]),"".concat(c[2],".").concat(c[3],".").concat(c[0]),"".concat(c[2],".").concat(c[3],".").concat(c[1]),"".concat(c[3],".").concat(c[0],".").concat(c[1]),"".concat(c[3],".").concat(c[0],".").concat(c[2]),"".concat(c[3],".").concat(c[1],".").concat(c[0]),"".concat(c[3],".").concat(c[1],".").concat(c[2]),"".concat(c[3],".").concat(c[2],".").concat(c[0]),"".concat(c[3],".").concat(c[2],".").concat(c[1]),"".concat(c[0],".").concat(c[1],".").concat(c[2],".").concat(c[3]),"".concat(c[0],".").concat(c[1],".").concat(c[3],".").concat(c[2]),"".concat(c[0],".").concat(c[2],".").concat(c[1],".").concat(c[3]),"".concat(c[0],".").concat(c[2],".").concat(c[3],".").concat(c[1]),"".concat(c[0],".").concat(c[3],".").concat(c[1],".").concat(c[2]),"".concat(c[0],".").concat(c[3],".").concat(c[2],".").concat(c[1]),"".concat(c[1],".").concat(c[0],".").concat(c[2],".").concat(c[3]),"".concat(c[1],".").concat(c[0],".").concat(c[3],".").concat(c[2]),"".concat(c[1],".").concat(c[2],".").concat(c[0],".").concat(c[3]),"".concat(c[1],".").concat(c[2],".").concat(c[3],".").concat(c[0]),"".concat(c[1],".").concat(c[3],".").concat(c[0],".").concat(c[2]),"".concat(c[1],".").concat(c[3],".").concat(c[2],".").concat(c[0]),"".concat(c[2],".").concat(c[0],".").concat(c[1],".").concat(c[3]),"".concat(c[2],".").concat(c[0],".").concat(c[3],".").concat(c[1]),"".concat(c[2],".").concat(c[1],".").concat(c[0],".").concat(c[3]),"".concat(c[2],".").concat(c[1],".").concat(c[3],".").concat(c[0]),"".concat(c[2],".").concat(c[3],".").concat(c[0],".").concat(c[1]),"".concat(c[2],".").concat(c[3],".").concat(c[1],".").concat(c[0]),"".concat(c[3],".").concat(c[0],".").concat(c[1],".").concat(c[2]),"".concat(c[3],".").concat(c[0],".").concat(c[2],".").concat(c[1]),"".concat(c[3],".").concat(c[1],".").concat(c[0],".").concat(c[2]),"".concat(c[3],".").concat(c[1],".").concat(c[2],".").concat(c[0]),"".concat(c[3],".").concat(c[2],".").concat(c[0],".").concat(c[1]),"".concat(c[3],".").concat(c[2],".").concat(c[1],".").concat(c[0])]:void 0})(a)),L1[o]})(t.filter((function(n){return n!=="token"}))).reduce((function(n,a){return hd(hd({},n),r[a])}),e)}function Dx(t){return t.join(" ")}function Fx(t){var e=t.node,r=t.stylesheet,n=t.style,a=n===void 0?{}:n,o=t.useInlineStyles,p=t.key,c=e.properties,d=e.type,E=e.tagName,x=e.value;if(d==="text")return x;if(E){var k,P=(function(re,me){var le=0;return function(ve){return le+=1,ve.map((function(be,ce){return Fx({node:be,stylesheet:re,useInlineStyles:me,key:"code-segment-".concat(le,"-").concat(ce)})}))}})(r,o);if(o){var R=Object.keys(r).reduce((function(J,re){return re.split(".").forEach((function(me){J.includes(me)||J.push(me)})),J}),[]),L=c.className&&c.className.includes("token")?["token"]:[],V=c.className&&L.concat(c.className.filter((function(J){return!R.includes(J)})));k=hd(hd({},c),{},{className:Dx(V)||void 0,style:HR(c.className,Object.assign({},c.style,a),r)})}else k=hd(hd({},c),{},{className:Dx(c.className)});var Q=P(e.children);return u.createElement(E,F1({key:p},k),Q)}}var KR=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function Lx(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),r.push.apply(r,n)}return r}function Wp(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Lx(Object(r),!0).forEach((function(n){Mx(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Lx(Object(r)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))}))}return t}var GR=/\n/g;function YR(t){var e=t.codeString,r=t.codeStyle,n=t.containerStyle,a=n===void 0?{float:"left",paddingRight:"10px"}:n,o=t.numberStyle,p=o===void 0?{}:o,c=t.startingLineNumber;return u.createElement("code",{style:Object.assign({},r,a)},(function(E){var x=E.lines,k=E.startingLineNumber,P=E.style;return x.map((function(R,L){var V=L+k;return u.createElement("span",{key:"line-".concat(L),className:"react-syntax-highlighter-line-number",style:typeof P=="function"?P(V):P},"".concat(V,`
`))}))})({lines:e.replace(/\n$/,"").split(`
`),style:p,startingLineNumber:c}))}function $x(t,e){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(t),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:e},children:[{type:"text",value:t}]}}function Bx(t,e,r){var n,a={display:"inline-block",minWidth:(n=r,"".concat(n.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},o=typeof t=="function"?t(e):t;return Wp(Wp({},a),o)}function Sv(t){var e=t.children,r=t.lineNumber,n=t.lineNumberStyle,a=t.largestLineNumber,o=t.showInlineLineNumbers,p=t.lineProps,c=p===void 0?{}:p,d=t.className,E=d===void 0?[]:d,x=t.showLineNumbers,k=t.wrapLongLines,P=t.wrapLines,R=P!==void 0&&P?Wp({},typeof c=="function"?c(r):c):{};if(R.className=R.className?[].concat(D1(R.className.trim().split(/\s+/)),D1(E)):E,r&&o){var L=Bx(n,r,a);e.unshift($x(r,L))}return k&x&&(R.style=Wp({display:"flex"},R.style)),{type:"element",tagName:"span",properties:R,children:e}}function qx(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];t.length===void 0&&(t=[t]);for(var n=0;n<t.length;n++){var a=t[n];if(a.type==="text")r.push(Sv({children:[a],className:D1(new Set(e))}));else if(a.children){var o,p=e.concat(((o=a.properties)===null||o===void 0?void 0:o.className)||[]);qx(a.children,p).forEach((function(c){return r.push(c)}))}}return r}function XR(t,e,r,n,a,o,p,c,d){var E,x=qx(t.value),k=[],P=-1,R=0;function L(re,me){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return e||le.length>0?(function(be,ce){return Sv({children:be,lineNumber:ce,lineNumberStyle:c,largestLineNumber:p,showInlineLineNumbers:a,lineProps:r,className:arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],showLineNumbers:n,wrapLongLines:d,wrapLines:e})})(re,me,le):(function(be,ce){if(n&&ce&&a){var _e=Bx(c,ce,p);be.unshift($x(ce,_e))}return be})(re,me)}for(var V=function(){var me=x[R],le=me.children[0].value,ve=(function(_e){return _e.match(GR)})(le);if(ve){var be=le.split(`
`);be.forEach((function(ce,_e){var Ae=n&&k.length+o,xe={type:"text",value:"".concat(ce,`
`)};if(_e===0){var Oe=L(x.slice(P+1,R).concat(Sv({children:[xe],className:me.properties.className})),Ae);k.push(Oe)}else if(_e===be.length-1){var je=x[R+1]&&x[R+1].children&&x[R+1].children[0],G={type:"text",value:"".concat(ce)};if(je){var de=Sv({children:[G],className:me.properties.className});x.splice(R+1,0,de)}else{var Ne=L([G],Ae,me.properties.className);k.push(Ne)}}else{var Ye=L([xe],Ae,me.properties.className);k.push(Ye)}})),P=R}R++};R<x.length;)V();if(P!==x.length-1){var Q=x.slice(P+1,x.length);if(Q&&Q.length){var J=L(Q,n&&k.length+o);k.push(J)}}return e?k:(E=[]).concat.apply(E,k)}function QR(t){var e=t.rows,r=t.stylesheet,n=t.useInlineStyles;return e.map((function(a,o){return Fx({node:a,stylesheet:r,useInlineStyles:n,key:"code-segment-".concat(o)})}))}function Ux(t){return t&&t.highlightAuto!==void 0}var zx=Be(43768),Vx=(function(e,r){return function(a){var o,p,c=a.language,d=a.children,E=a.style,x=E===void 0?r:E,k=a.customStyle,P=k===void 0?{}:k,R=a.codeTagProps,L=R===void 0?{className:c?"language-".concat(c):void 0,style:Wp(Wp({},x['code[class*="language-"]']),x['code[class*="language-'.concat(c,'"]')])}:R,V=a.useInlineStyles,Q=V===void 0||V,J=a.showLineNumbers,re=J!==void 0&&J,me=a.showInlineLineNumbers,le=me===void 0||me,ve=a.startingLineNumber,be=ve===void 0?1:ve,ce=a.lineNumberContainerStyle,_e=a.lineNumberStyle,Ae=_e===void 0?{}:_e,xe=a.wrapLines,Oe=a.wrapLongLines,je=Oe!==void 0&&Oe,G=a.lineProps,de=G===void 0?{}:G,Ne=a.renderer,Ye=a.PreTag,ht=Ye===void 0?"pre":Ye,Ct=a.CodeTag,_t=Ct===void 0?"code":Ct,qt=a.code,It=qt===void 0?(Array.isArray(d)?d[0]:d)||"":qt,Ot=a.astGenerator,et=(function(it,bt){if(it==null)return{};var ut,Xt,zt=(function(dr,qr){if(dr==null)return{};var en={};for(var kn in dr)if({}.hasOwnProperty.call(dr,kn)){if(qr.indexOf(kn)!==-1)continue;en[kn]=dr[kn]}return en})(it,bt);if(Object.getOwnPropertySymbols){var tr=Object.getOwnPropertySymbols(it);for(Xt=0;Xt<tr.length;Xt++)ut=tr[Xt],bt.indexOf(ut)===-1&&{}.propertyIsEnumerable.call(it,ut)&&(zt[ut]=it[ut])}return zt})(a,KR);Ot=Ot||e;var Dt=re?u.createElement(YR,{containerStyle:ce,codeStyle:L.style||{},numberStyle:Ae,startingLineNumber:be,codeString:It}):null,or=x.hljs||x['pre[class*="language-"]']||{backgroundColor:"#fff"},Ut=Ux(Ot)?"hljs":"prismjs",pr=Q?Object.assign({},et,{style:Object.assign({},or,P)}):Object.assign({},et,{className:et.className?"".concat(Ut," ").concat(et.className):Ut,style:Object.assign({},P)});if(L.style=Wp(je?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"},L.style),!Ot)return u.createElement(ht,pr,Dt,u.createElement(_t,L,It));(xe===void 0&&Ne||je)&&(xe=!0),Ne=Ne||QR;var W=[{type:"text",value:It}],$e=(function(it){var bt=it.astGenerator,ut=it.language,Xt=it.code,zt=it.defaultCodeValue;if(Ux(bt)){var tr=(function(Er,dr){return Er.listLanguages().indexOf(dr)!==-1})(bt,ut);return ut==="text"?{value:zt,language:"text"}:tr?bt.highlight(ut,Xt):bt.highlightAuto(Xt)}try{return ut&&ut!=="text"?{value:bt.highlight(Xt,ut)}:{value:zt}}catch{return{value:zt}}})({astGenerator:Ot,language:c,code:It,defaultCodeValue:W});$e.language===null&&($e.value=W);var Je=XR($e,xe,de,re,le,be,be+((o=(p=It.match(/\n/g))===null||p===void 0?void 0:p.length)!==null&&o!==void 0?o:0),Ae,je);return u.createElement(ht,pr,u.createElement(_t,L,!le&&Dt,Ne({rows:Je,stylesheet:x,useInlineStyles:Q})))}})(zx,{});Vx.registerLanguage=zx.registerLanguage;const Pc=Vx;var ZR=Be(95089);const Jx=Be.n(ZR)();var e9=Be(65772);const t9=Be.n(e9)();var r9=Be(17285);const n9=Be.n(r9)();var a9=Be(35344);const o9=Be.n(a9)();var i9=Be(17533);const s9=Be.n(i9)();var l9=Be(73402);const c9=Be.n(l9)();var u9=Be(26571);const p9=Be.n(u9)(),h9=()=>{Pc.registerLanguage("json",t9),Pc.registerLanguage("js",Jx),Pc.registerLanguage("xml",n9),Pc.registerLanguage("yaml",s9),Pc.registerLanguage("http",c9),Pc.registerLanguage("bash",o9),Pc.registerLanguage("powershell",p9),Pc.registerLanguage("javascript",Jx)},Wx={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"}},d9={agate:Wx,arta:{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"}},monokai:{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"}},nord:{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"}},obsidian:{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"}},"tomorrow-night":{"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"}},idea:{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"}}},f9=Wx,m9=({language:t,className:e="",getConfigs:r,syntaxHighlighting:n={},children:a=""})=>{const o=r().syntaxHighlight.theme,{styles:p,defaultStyle:c}=n,d=p?.[o]??c;return u.createElement(Pc,{language:t,className:e,style:d},a)};var g9=Be(5419),y9=Be.n(g9);const xv="Copy code to clipboard",v9=({fileName:t="response.txt",className:e,downloadable:r,getComponent:n,canCopy:a,language:o,children:p})=>{const c=(0,u.useRef)(null),d=n("SyntaxHighlighter",!0),E=x=>{const{target:k,deltaY:P}=x,{scrollHeight:R,offsetHeight:L,scrollTop:V}=k;R>L&&(V===0&&P<0||L+V>=R&&P>0)&&x.preventDefault()};return(0,u.useEffect)((()=>{const x=Array.from(c.current.childNodes).filter((k=>!!k.nodeType&&k.classList.contains("microlight")));return x.forEach((k=>k.addEventListener("mousewheel",E,{passive:!1}))),()=>{x.forEach((k=>k.removeEventListener("mousewheel",E)))}}),[p,e,o]),u.createElement("div",{className:"highlight-code",ref:c},a&&u.createElement("div",{className:"copy-to-clipboard",title:xv,"aria-label":xv},u.createElement(cu.CopyToClipboard,{text:p},u.createElement("button",{"aria-label":xv,title:xv,type:"button"}))),r?u.createElement("button",{className:"download-contents",onClick:()=>{y9()(p,t)}},"Download"):null,u.createElement(d,{language:o,className:Xr()(e,"microlight"),renderPlainText:({children:x,PlainTextViewer:k})=>u.createElement(k,{className:e},x)},p))},b9=({className:t="",children:e})=>u.createElement("pre",{className:Xr()("microlight",t)},e),w9=(t,e)=>({renderPlainText:r,children:n,...a})=>{const o=e.getConfigs().syntaxHighlight.activated,p=e.getComponent("PlainTextViewer");return o||typeof r!="function"?o?u.createElement(t,a,n):u.createElement(p,null,n):r({children:n,PlainTextViewer:p})},E9=()=>({afterLoad:h9,rootInjects:{syntaxHighlighting:{styles:d9,defaultStyle:f9}},components:{SyntaxHighlighter:m9,HighlightCode:v9,PlainTextViewer:b9}}),S9=()=>({wrapComponents:{SyntaxHighlighter:w9}}),Hx=()=>[E9,S9],x9=()=>{const{GIT_DIRTY:t,GIT_COMMIT:e,PACKAGE_VERSION:r,BUILD_TIME:n}={PACKAGE_VERSION:"5.32.14",GIT_COMMIT:"gfefb1df1",GIT_DIRTY:!0,BUILD_TIME:"Tue, 18 Aug 2026 12:11:43 GMT"};Qe.versions=Qe.versions||{},Qe.versions.swaggerUI={version:r,gitRevision:e,gitDirty:t,buildTimestamp:n}},Kx=()=>({afterLoad:x9});var _9=Be(47248),O9=Be.n(_9);const Gx=console.error,k9=t=>e=>{const{getComponent:r,fn:n}=t(),a=r("ErrorBoundary"),o=n.getDisplayName(e);class p extends u.Component{render(){return u.createElement(a,{targetName:o,getComponent:r,fn:n},u.createElement(e,Yr()({},this.props,this.context)))}}var c;return p.displayName=`WithErrorBoundary(${o})`,(c=e).prototype&&c.prototype.isReactComponent&&(p.prototype.mapStateToProps=e.prototype.mapStateToProps),p},Yx=({name:t})=>u.createElement("div",{className:"fallback"},"😱 ",u.createElement("i",null,"Could not render ",t==="t"?"this component":t,", see the console."));class A9 extends u.Component{static defaultProps={targetName:"this component",getComponent:()=>Yx,fn:{componentDidCatch:Gx},children:null};static getDerivedStateFromError(e){return{hasError:!0,error:e}}constructor(...e){super(...e),this.state={hasError:!1,error:null}}componentDidCatch(e,r){this.props.fn.componentDidCatch(e,r)}render(){const{getComponent:e,targetName:r,children:n}=this.props;if(this.state.hasError){const a=e("Fallback");return u.createElement(a,{name:r})}return n}}const C9=A9,Xx=({componentList:t=[],fullOverride:e=!1}={})=>({getSystem:r})=>{const n=e?t:["App","BaseLayout","VersionPragmaFilter","InfoContainer","ServersContainer","SchemesContainer","AuthorizeBtnContainer","FilterContainer","Operations","OperationContainer","parameters","responses","OperationServers","Models","ModelWrapper",...t],a=O9()(n,Array(n.length).fill(((o,{fn:p})=>p.withErrorBoundary(o))));return{fn:{componentDidCatch:Gx,withErrorBoundary:k9(r)},components:{ErrorBoundary:C9,Fallback:Yx},wrapComponents:a}};class j9 extends u.Component{getLayout(){const{getComponent:e,layoutSelectors:r}=this.props,n=r.current();return e(n,!0)||(()=>u.createElement("h1",null,' No layout defined for "',n,'" '))}render(){const e=this.getLayout();return u.createElement(e,null)}}const P9=j9;class N9 extends u.Component{close=()=>{let{authActions:e}=this.props;e.showDefinitions(!1)};handleEscKeydown=e=>{e.key==="Escape"&&this.close()};componentDidMount(){document.addEventListener("keydown",this.handleEscKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.handleEscKeydown)}render(){let{authSelectors:e,authActions:r,getComponent:n,errSelectors:a,specSelectors:o,fn:{AST:p={}}}=this.props,c=e.shownDefinitions();const d=n("auths"),E=n("CloseIcon");return u.createElement("div",{className:"dialog-ux"},u.createElement("div",{className:"backdrop-ux",onClick:this.close}),u.createElement("div",{className:"modal-ux"},u.createElement("div",{className:"modal-dialog-ux"},u.createElement("div",{className:"modal-ux-inner"},u.createElement("div",{className:"modal-ux-header"},u.createElement("h3",null,"Available authorizations"),u.createElement("button",{type:"button",className:"close-modal",onClick:this.close},u.createElement(E,null))),u.createElement("div",{className:"modal-ux-content"},c.valueSeq().map(((x,k)=>u.createElement(d,{key:k,AST:p,definitions:x,getComponent:n,errSelectors:a,authSelectors:e,authActions:r,specSelectors:o}))))))))}}class T9 extends u.Component{render(){let{isAuthorized:e,showPopup:r,onClick:n,getComponent:a}=this.props;const o=a("authorizationPopup",!0),p=a("LockAuthIcon",!0),c=a("UnlockAuthIcon",!0);return u.createElement("div",{className:"auth-wrapper"},u.createElement("button",{className:e?"btn authorize locked":"btn authorize unlocked",onClick:n},u.createElement("span",null,"Authorize"),e?u.createElement(p,null):u.createElement(c,null)),r&&u.createElement(o,null))}}class I9 extends u.Component{render(){const{authActions:e,authSelectors:r,specSelectors:n,getComponent:a}=this.props,o=n.securityDefinitions(),p=r.definitionsToAuthorize(),c=a("authorizeBtn");return o?u.createElement(c,{onClick:()=>e.showDefinitions(p),isAuthorized:!!r.authorized().size,showPopup:!!r.shownDefinitions(),getComponent:a}):null}}class M9 extends u.Component{onClick=e=>{e.stopPropagation();let{onClick:r}=this.props;r&&r()};render(){let{isAuthorized:e,getComponent:r}=this.props;const n=r("LockAuthOperationIcon",!0),a=r("UnlockAuthOperationIcon",!0);return u.createElement("button",{className:"authorization__btn","aria-label":e?"authorization button locked":"authorization button unlocked",onClick:this.onClick},e?u.createElement(n,{className:"locked"}):u.createElement(a,{className:"unlocked"}))}}class R9 extends u.Component{constructor(e,r){super(e,r),this.state={}}onAuthChange=e=>{let{name:r}=e;this.setState({[r]:e})};submitAuth=e=>{e.preventDefault();let{authActions:r}=this.props;r.authorizeWithPersistOption(this.state)};logoutClick=e=>{e.preventDefault();let{authActions:r,definitions:n}=this.props,a=n.keySeq().toArray();this.setState(a.reduce(((o,p)=>(o[p]="",o)),{})),r.logoutWithPersistOption(a)};close=e=>{e.preventDefault();let{authActions:r}=this.props;r.showDefinitions(!1)};render(){let{definitions:e,getComponent:r,authSelectors:n,errSelectors:a}=this.props;const o=r("AuthItem"),p=r("oauth2",!0),c=r("Button");let d=n.authorized(),E=e.filter(((P,R)=>!!d.get(R))),x=e.filter((P=>P.get("type")!=="oauth2")),k=e.filter((P=>P.get("type")==="oauth2"));return u.createElement("div",{className:"auth-container"},!!x.size&&u.createElement("form",{onSubmit:this.submitAuth},x.map(((P,R)=>u.createElement(o,{key:R,schema:P,name:R,getComponent:r,onAuthChange:this.onAuthChange,authorized:d,errSelectors:a,authSelectors:n}))).valueSeq().toArray(),u.createElement("div",{className:"auth-btn-wrapper"},x.size===E.size?u.createElement(c,{className:"btn modal-btn auth",onClick:this.logoutClick,"aria-label":"Remove authorization"},"Logout"):u.createElement(c,{type:"submit",className:"btn modal-btn auth authorize","aria-label":"Apply credentials"},"Authorize"),u.createElement(c,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),k&&k.size?u.createElement("div",null,u.createElement("div",{className:"scope-def"},u.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."),u.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),e.filter((P=>P.get("type")==="oauth2")).map(((P,R)=>u.createElement("div",{key:R},u.createElement(p,{authorized:d,schema:P,name:R})))).valueSeq().toArray()):null)}}class D9 extends u.Component{render(){let{schema:e,name:r,getComponent:n,onAuthChange:a,authorized:o,errSelectors:p,authSelectors:c}=this.props;const d=n("apiKeyAuth"),E=n("basicAuth");let x;const k=e.get("type");switch(k){case"apiKey":x=u.createElement(d,{key:r,schema:e,name:r,errSelectors:p,authorized:o,getComponent:n,onChange:a,authSelectors:c});break;case"basic":x=u.createElement(E,{key:r,schema:e,name:r,errSelectors:p,authorized:o,getComponent:n,onChange:a,authSelectors:c});break;default:x=u.createElement("div",{key:r},"Unknown security definition type ",k)}return u.createElement("div",{key:`${r}-jump`},x)}}class F9 extends u.Component{render(){let{error:e}=this.props,r=e.get("level"),n=e.get("message"),a=e.get("source");return u.createElement("div",{className:"errors"},u.createElement("b",null,a," ",r),u.createElement("span",null,n))}}class L9 extends u.Component{constructor(e,r){super(e,r);let{name:n,schema:a}=this.props,o=this.getValue();this.state={name:n,schema:a,value:o}}getValue(){let{name:e,authorized:r}=this.props;return r&&r.getIn([e,"value"])}onChange=e=>{let{onChange:r}=this.props,n=e.target.value,a=Object.assign({},this.state,{value:n});this.setState(a),r(a)};render(){let{schema:e,getComponent:r,errSelectors:n,name:a,authSelectors:o}=this.props;const p=r("Input"),c=r("Row"),d=r("Col"),E=r("authError"),x=r("Markdown",!0),k=r("JumpToPath",!0),P=o.selectAuthPath(a);let R=this.getValue(),L=n.allErrors().filter((V=>V.get("authId")===a));return u.createElement("div",null,u.createElement("h4",null,u.createElement("code",null,a||e.get("name"))," (apiKey)",u.createElement(k,{path:P})),R&&u.createElement("h6",null,"Authorized"),u.createElement(c,null,u.createElement(x,{source:e.get("description")})),u.createElement(c,null,u.createElement("p",null,"Name: ",u.createElement("code",null,e.get("name")))),u.createElement(c,null,u.createElement("p",null,"In: ",u.createElement("code",null,e.get("in")))),u.createElement(c,null,u.createElement("label",{htmlFor:"api_key_value"},"Value:"),R?u.createElement("code",null," ****** "):u.createElement(d,null,u.createElement(p,{id:"api_key_value",type:"text",onChange:this.onChange,autoFocus:!0}))),L.valueSeq().map(((V,Q)=>u.createElement(E,{error:V,key:Q}))))}}class $9 extends u.Component{constructor(e,r){super(e,r);let{schema:n,name:a}=this.props,o=this.getValue().username;this.state={name:a,schema:n,value:o?{username:o}:{}}}getValue(){let{authorized:e,name:r}=this.props;return e&&e.getIn([r,"value"])||{}}onChange=e=>{let{onChange:r}=this.props,{value:n,name:a}=e.target,o=this.state.value;o[a]=n,this.setState({value:o}),r(this.state)};render(){let{schema:e,getComponent:r,name:n,errSelectors:a,authSelectors:o}=this.props;const p=r("Input"),c=r("Row"),d=r("Col"),E=r("authError"),x=r("JumpToPath",!0),k=r("Markdown",!0),P=o.selectAuthPath(n);let R=this.getValue().username,L=a.allErrors().filter((V=>V.get("authId")===n));return u.createElement("div",null,u.createElement("h4",null,"Basic authorization",u.createElement(x,{path:P})),R&&u.createElement("h6",null,"Authorized"),u.createElement(c,null,u.createElement(k,{source:e.get("description")})),u.createElement(c,null,u.createElement("label",{htmlFor:"auth_username"},"Username:"),R?u.createElement("code",null," ",R," "):u.createElement(d,null,u.createElement(p,{id:"auth_username",type:"text",required:"required",name:"username",onChange:this.onChange,autoFocus:!0}))),u.createElement(c,null,u.createElement("label",{htmlFor:"auth_password"},"Password:"),R?u.createElement("code",null," ****** "):u.createElement(d,null,u.createElement(p,{id:"auth_password",autoComplete:"new-password",name:"password",type:"password",onChange:this.onChange}))),L.valueSeq().map(((V,Q)=>u.createElement(E,{error:V,key:Q}))))}}function B9(t){const{example:e,showValue:r,getComponent:n}=t,a=n("Markdown",!0),o=n("HighlightCode",!0);return e&&H.Map.isMap(e)?u.createElement("div",{className:"example"},e.get("description")?u.createElement("section",{className:"example__section"},u.createElement("div",{className:"example__section-header"},"Example Description"),u.createElement("p",null,u.createElement(a,{source:e.get("description")}))):null,r&&e.has("value")?u.createElement("section",{className:"example__section"},u.createElement("div",{className:"example__section-header"},"Example Value"),u.createElement(o,null,Gr(e.get("value")))):null):null}class q9 extends u.PureComponent{static defaultProps={examples:(0,H.Map)({}),onSelect:(...e)=>console.log("DEBUG: ExamplesSelect was not given an onSelect callback",...e),currentExampleKey:null,showLabels:!0};_onSelect=(e,{isSyntheticChange:r=!1}={})=>{typeof this.props.onSelect=="function"&&this.props.onSelect(e,{isSyntheticChange:r})};_onDomSelect=e=>{if(typeof this.props.onSelect=="function"){const r=e.target.selectedOptions[0].getAttribute("value");this._onSelect(r,{isSyntheticChange:!1})}};getCurrentExample=()=>{const{examples:e,currentExampleKey:r}=this.props,n=e.get(r),a=e.keySeq().first(),o=e.get(a);return n||o||(0,H.Map)({})};componentDidMount(){const{onSelect:e,examples:r}=this.props;if(typeof e=="function"){const n=r.first(),a=r.keyOf(n);this._onSelect(a,{isSyntheticChange:!0})}}UNSAFE_componentWillReceiveProps(e){const{currentExampleKey:r,examples:n}=e;if(n!==this.props.examples&&!n.has(r)){const a=n.first(),o=n.keyOf(a);this._onSelect(o,{isSyntheticChange:!0})}}render(){const{examples:e,currentExampleKey:r,isValueModified:n,isModifiedValueAvailable:a,showLabels:o}=this.props;return u.createElement("div",{className:"examples-select"},o?u.createElement("span",{className:"examples-select__section-label"},"Examples: "):null,u.createElement("select",{className:"examples-select-element",onChange:this._onDomSelect,value:a&&n?"__MODIFIED__VALUE__":r||""},a?u.createElement("option",{value:"__MODIFIED__VALUE__"},"[Modified value]"):null,e.map(((p,c)=>u.createElement("option",{key:c,value:c},H.Map.isMap(p)&&p.get("summary")||c))).valueSeq()))}}const $1=t=>H.List.isList(t)?t:Gr(t);class U9 extends u.PureComponent{static defaultProps={userHasEditedBody:!1,examples:(0,H.Map)({}),currentNamespace:"__DEFAULT__NAMESPACE__",setRetainRequestBodyValueFlag:()=>{},onSelect:(...e)=>console.log("ExamplesSelectValueRetainer: no `onSelect` function was provided",...e),updateValue:(...e)=>console.log("ExamplesSelectValueRetainer: no `updateValue` function was provided",...e)};constructor(e){super(e);const r=this._getCurrentExampleValue();this.state={[e.currentNamespace]:(0,H.Map)({lastUserEditedValue:this.props.currentUserInputValue,lastDownstreamValue:r,isModifiedValueSelected:this.props.userHasEditedBody||this.props.currentUserInputValue!==r})}}componentWillUnmount(){this.props.setRetainRequestBodyValueFlag(!1)}_getStateForCurrentNamespace=()=>{const{currentNamespace:e}=this.props;return(this.state[e]||(0,H.Map)()).toObject()};_setStateForCurrentNamespace=e=>{const{currentNamespace:r}=this.props;return this._setStateForNamespace(r,e)};_setStateForNamespace=(e,r)=>{const n=(this.state[e]||(0,H.Map)()).merge(r);return this.setState({[e]:n})};_isCurrentUserInputSameAsExampleValue=()=>{const{currentUserInputValue:e}=this.props;return this._getCurrentExampleValue()===e};_getValueForExample=(e,r)=>{const{examples:n}=r||this.props;return $1((n||(0,H.Map)({})).getIn([e,"value"]))};_getCurrentExampleValue=e=>{const{currentKey:r}=e||this.props;return this._getValueForExample(r,e||this.props)};_onExamplesSelect=(e,{isSyntheticChange:r}={},...n)=>{const{onSelect:a,updateValue:o,currentUserInputValue:p,userHasEditedBody:c}=this.props,{lastUserEditedValue:d}=this._getStateForCurrentNamespace(),E=this._getValueForExample(e);if(e==="__MODIFIED__VALUE__")return o($1(d)),this._setStateForCurrentNamespace({isModifiedValueSelected:!0});typeof a=="function"&&a(e,{isSyntheticChange:r},...n),this._setStateForCurrentNamespace({lastDownstreamValue:E,isModifiedValueSelected:r&&c||!!p&&p!==E}),r||typeof o=="function"&&o($1(E))};UNSAFE_componentWillReceiveProps(e){const{currentUserInputValue:r,examples:n,onSelect:a,userHasEditedBody:o}=e,{lastUserEditedValue:p,lastDownstreamValue:c}=this._getStateForCurrentNamespace(),d=this._getValueForExample(e.currentKey,e),E=n.filter((x=>H.Map.isMap(x)&&(x.get("value")===r||Gr(x.get("value"))===r)));if(E.size){let x;x=E.has(e.currentKey)?e.currentKey:E.keySeq().first(),a(x,{isSyntheticChange:!0})}else r!==this.props.currentUserInputValue&&r!==p&&r!==c&&(this.props.setRetainRequestBodyValueFlag(!0),this._setStateForNamespace(e.currentNamespace,{lastUserEditedValue:e.currentUserInputValue,isModifiedValueSelected:o||r!==d}))}render(){const{currentUserInputValue:e,examples:r,currentKey:n,getComponent:a,userHasEditedBody:o}=this.props,{lastDownstreamValue:p,lastUserEditedValue:c,isModifiedValueSelected:d}=this._getStateForCurrentNamespace(),E=a("ExamplesSelect");return u.createElement(E,{examples:r,currentExampleKey:n,onSelect:this._onExamplesSelect,isModifiedValueAvailable:!!c&&c!==p,isValueModified:e!==void 0&&d&&e!==this._getCurrentExampleValue()||o})}}function z9({auth:t,authActions:e,errActions:r,configs:n,authConfigs:a={},currentServer:o}){let{schema:p,scopes:c,name:d,clientId:E}=t,x=p.get("flow"),k=[];switch(x){case"password":return void e.authorizePassword(t);case"application":case"clientCredentials":case"client_credentials":return void e.authorizeApplication(t);case"accessCode":case"authorizationCode":case"authorization_code":k.push("response_type=code");break;case"implicit":k.push("response_type=token")}typeof E=="string"&&k.push("client_id="+encodeURIComponent(E));let P=n.oauth2RedirectUrl;if(P===void 0)return void r.newAuthErr({authId:d,source:"validation",level:"error",message:"oauth2RedirectUrl configuration is not passed. Oauth2 authorization cannot be performed."});k.push("redirect_uri="+encodeURIComponent(P));let R=[];if(Array.isArray(c)?R=c:H.default.List.isList(c)&&(R=c.toArray()),R.length>0){let le=a.scopeSeparator||" ";k.push("scope="+encodeURIComponent(R.join(le)))}let L=ko(new Date);if(k.push("state="+encodeURIComponent(L)),a.realm!==void 0&&k.push("realm="+encodeURIComponent(a.realm)),(x==="authorizationCode"||x==="authorization_code"||x==="accessCode")&&a.usePkceWithAuthorizationCodeGrant){const le=(function(){return Ja(Fn()(32).toString("base64"))})(),ve=(function(ce){return Ja(Vo()("sha256").update(ce).digest("base64"))})(le);k.push("code_challenge="+ve),k.push("code_challenge_method=S256"),t.codeVerifier=le}let{additionalQueryStringParams:V}=a;for(let le in V)V[le]!==void 0&&k.push([le,V[le]].map(encodeURIComponent).join("="));const Q=p.get("authorizationUrl");let J;J=o?Ao()(Dr(Q),o,!0).toString():Dr(Q);let re,me=[J,k.join("&")].join(typeof Q!="string"||Q.includes("?")?"&":"?");re=x==="implicit"?e.preAuthorizeImplicit:a.useBasicAuthenticationWithAccessCodeGrant?e.authorizeAccessCodeWithBasicAuthentication:e.authorizeAccessCodeWithFormParams,e.authPopup(me,{auth:t,state:L,redirectUrl:P,callback:re,errCb:r.newAuthErr})}class V9 extends u.Component{constructor(e,r){super(e,r);let{name:n,schema:a,authorized:o,authSelectors:p}=this.props,c=o&&o.get(n),d=p.getConfigs()||{},E=c&&c.get("username")||"",x=c&&c.get("clientId")||d.clientId||"",k=c&&c.get("clientSecret")||d.clientSecret||"",P=c&&c.get("passwordType")||"basic",R=c&&c.get("scopes")||d.scopes||[];typeof R=="string"&&(R=R.split(d.scopeSeparator||" ")),this.state={appName:d.appName,name:n,schema:a,scopes:R,clientId:x,clientSecret:k,username:E,password:"",passwordType:P}}close=e=>{e.preventDefault();let{authActions:r}=this.props;r.showDefinitions(!1)};authorize=()=>{let{authActions:e,errActions:r,getConfigs:n,authSelectors:a,oas3Selectors:o}=this.props,p=n(),c=a.getConfigs();r.clear({authId:name,type:"auth",source:"auth"}),z9({auth:this.state,currentServer:o.serverEffectiveValue(o.selectedServer()),authActions:e,errActions:r,configs:p,authConfigs:c})};onScopeChange=e=>{let{target:r}=e,{checked:n}=r,a=r.dataset.value;if(n&&this.state.scopes.indexOf(a)===-1){let o=this.state.scopes.concat([a]);this.setState({scopes:o})}else!n&&this.state.scopes.indexOf(a)>-1&&this.setState({scopes:this.state.scopes.filter((o=>o!==a))})};onInputChange=e=>{let{target:{dataset:{name:r},value:n}}=e,a={[r]:n};this.setState(a)};selectScopes=e=>{e.target.dataset.all?this.setState({scopes:Array.from((this.props.schema.get("allowedScopes")||this.props.schema.get("scopes")).keys())}):this.setState({scopes:[]})};logout=e=>{e.preventDefault();let{authActions:r,errActions:n,name:a}=this.props;n.clear({authId:a,type:"auth",source:"auth"}),r.logoutWithPersistOption([a])};render(){let{schema:e,getComponent:r,authSelectors:n,errSelectors:a,name:o,specSelectors:p}=this.props;const c=r("Input"),d=r("Row"),E=r("Col"),x=r("Button"),k=r("authError"),P=r("JumpToPath",!0),R=r("Markdown",!0),L=r("InitializedInput"),{isOAS3:V}=p;let Q=V()?e.get("openIdConnectUrl"):null;const J="implicit",re="password",me=V()?Q?"authorization_code":"authorizationCode":"accessCode",le=V()?Q?"client_credentials":"clientCredentials":"application",ve=n.selectAuthPath(o);let be=!!(n.getConfigs()||{}).usePkceWithAuthorizationCodeGrant,ce=e.get("flow"),_e=ce===me&&be?ce+" with PKCE":ce,Ae=e.get("allowedScopes")||e.get("scopes"),xe=!!n.authorized().get(o),Oe=a.allErrors().filter((de=>de.get("authId")===o)),je=!Oe.filter((de=>de.get("source")==="validation")).size,G=e.get("description");return u.createElement("div",null,u.createElement("h4",null,o," (OAuth2, ",_e,") ",u.createElement(P,{path:ve})),this.state.appName?u.createElement("h5",null,"Application: ",this.state.appName," "):null,G&&u.createElement(R,{source:e.get("description")}),xe&&u.createElement("h6",null,"Authorized"),Q&&u.createElement("p",null,"OpenID Connect URL: ",u.createElement("code",null,Q)),(ce===J||ce===me)&&u.createElement("p",null,"Authorization URL: ",u.createElement("code",null,e.get("authorizationUrl"))),(ce===re||ce===me||ce===le)&&u.createElement("p",null,"Token URL:",u.createElement("code",null," ",e.get("tokenUrl"))),u.createElement("p",{className:"flow"},"Flow: ",u.createElement("code",null,_e)),ce!==re?null:u.createElement(d,null,u.createElement(d,null,u.createElement("label",{htmlFor:"oauth_username"},"username:"),xe?u.createElement("code",null," ",this.state.username," "):u.createElement(E,{tablet:10,desktop:10},u.createElement("input",{id:"oauth_username",type:"text","data-name":"username",onChange:this.onInputChange,autoFocus:!0}))),u.createElement(d,null,u.createElement("label",{htmlFor:"oauth_password"},"password:"),xe?u.createElement("code",null," ****** "):u.createElement(E,{tablet:10,desktop:10},u.createElement("input",{id:"oauth_password",type:"password","data-name":"password",onChange:this.onInputChange}))),u.createElement(d,null,u.createElement("label",{htmlFor:"password_type"},"Client credentials location:"),xe?u.createElement("code",null," ",this.state.passwordType," "):u.createElement(E,{tablet:10,desktop:10},u.createElement("select",{id:"password_type","data-name":"passwordType",onChange:this.onInputChange},u.createElement("option",{value:"basic"},"Authorization header"),u.createElement("option",{value:"request-body"},"Request body"))))),(ce===le||ce===J||ce===me||ce===re)&&(!xe||xe&&this.state.clientId)&&u.createElement(d,null,u.createElement("label",{htmlFor:`client_id_${ce}`},"client_id:"),xe?u.createElement("code",null," ****** "):u.createElement(E,{tablet:10,desktop:10},u.createElement(L,{id:`client_id_${ce}`,type:"text",required:ce===re,initialValue:this.state.clientId,"data-name":"clientId",onChange:this.onInputChange}))),(ce===le||ce===me||ce===re)&&u.createElement(d,null,u.createElement("label",{htmlFor:`client_secret_${ce}`},"client_secret:"),xe?u.createElement("code",null," ****** "):u.createElement(E,{tablet:10,desktop:10},u.createElement(L,{id:`client_secret_${ce}`,initialValue:this.state.clientSecret,type:"password","data-name":"clientSecret",onChange:this.onInputChange}))),!xe&&Ae&&Ae.size?u.createElement("div",{className:"scopes"},u.createElement("h2",null,"Scopes:",u.createElement("a",{onClick:this.selectScopes,"data-all":!0},"select all"),u.createElement("a",{onClick:this.selectScopes},"select none")),Ae.map(((de,Ne)=>u.createElement(d,{key:Ne},u.createElement("div",{className:"checkbox"},u.createElement(c,{"data-value":Ne,id:`${Ne}-${ce}-checkbox-${this.state.name}`,disabled:xe,checked:this.state.scopes.includes(Ne),type:"checkbox",onChange:this.onScopeChange}),u.createElement("label",{htmlFor:`${Ne}-${ce}-checkbox-${this.state.name}`},u.createElement("span",{className:"item"}),u.createElement("div",{className:"text"},u.createElement("p",{className:"name"},Ne),u.createElement("p",{className:"description"},de))))))).valueSeq().toArray()):null,Oe.valueSeq().map(((de,Ne)=>u.createElement(k,{error:de,key:Ne}))),u.createElement("div",{className:"auth-btn-wrapper"},je&&(xe?u.createElement(x,{className:"btn modal-btn auth authorize",onClick:this.logout,"aria-label":"Remove authorization"},"Logout"):u.createElement(x,{className:"btn modal-btn auth authorize",onClick:this.authorize,"aria-label":"Apply given OAuth2 credentials"},"Authorize")),u.createElement(x,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close")))}}class J9 extends u.Component{onClick=()=>{let{specActions:e,path:r,method:n}=this.props;e.clearResponse(r,n),e.clearRequest(r,n)};render(){return u.createElement("button",{className:"btn btn-clear opblock-control__btn",onClick:this.onClick},"Clear")}}const W9=({headers:t})=>u.createElement("div",null,u.createElement("h5",null,"Response headers"),u.createElement("pre",{className:"microlight"},t)),H9=({duration:t})=>u.createElement("div",null,u.createElement("h5",null,"Request duration"),u.createElement("pre",{className:"microlight"},t," ms"));class K9 extends u.Component{shouldComponentUpdate(e){return this.props.response!==e.response||this.props.path!==e.path||this.props.method!==e.method||this.props.displayRequestDuration!==e.displayRequestDuration}render(){const{response:e,getComponent:r,getConfigs:n,displayRequestDuration:a,specSelectors:o,path:p,method:c}=this.props,{showMutatedRequest:d,requestSnippetsEnabled:E}=n(),x=d?o.mutatedRequestFor(p,c):o.requestFor(p,c),k=e.get("status"),P=x.get("url"),R=e.get("headers").toJS(),L=e.get("notDocumented"),V=e.get("error"),Q=e.get("text"),J=e.get("duration"),re=Object.keys(R),me=R["content-type"]||R["Content-Type"],le=r("responseBody"),ve=re.map((xe=>{var Oe=Array.isArray(R[xe])?R[xe].join():R[xe];return u.createElement("span",{className:"headerline",key:xe}," ",xe,": ",Oe," ")})),be=ve.length!==0,ce=r("Markdown",!0),_e=r("RequestSnippets",!0),Ae=r("curl",!0);return u.createElement("div",null,x&&E?u.createElement(_e,{request:x}):u.createElement(Ae,{request:x}),P&&u.createElement("div",null,u.createElement("div",{className:"request-url"},u.createElement("h4",null,"Request URL"),u.createElement("pre",{className:"microlight"},P))),u.createElement("h4",null,"Server response"),u.createElement("table",{className:"responses-table live-responses-table"},u.createElement("thead",null,u.createElement("tr",{className:"responses-header"},u.createElement("td",{className:"col_header response-col_status"},"Code"),u.createElement("td",{className:"col_header response-col_description"},"Details"))),u.createElement("tbody",null,u.createElement("tr",{className:"response"},u.createElement("td",{className:"response-col_status"},k,L?u.createElement("div",{className:"response-undocumented"},u.createElement("i",null," Undocumented ")):null),u.createElement("td",{className:"response-col_description"},V?u.createElement(ce,{source:`${e.get("name")!==""?`${e.get("name")}: `:""}${e.get("message")}`}):null,Q?u.createElement(le,{content:Q,contentType:me,url:P,headers:R,getConfigs:n,getComponent:r}):null,be?u.createElement(W9,{headers:ve}):null,a&&J?u.createElement(H9,{duration:J}):null)))))}}class Qx extends u.Component{constructor(e,r){super(e,r);let{getConfigs:n}=e,{validatorUrl:a}=n();this.state={url:this.getDefinitionUrl(),validatorUrl:a===void 0?"https://validator.swagger.io/validator":a}}getDefinitionUrl=()=>{let{specSelectors:e}=this.props;return new(Ao())(e.url(),Qe.location).toString()};UNSAFE_componentWillReceiveProps(e){let{getConfigs:r}=e,{validatorUrl:n}=r();this.setState({url:this.getDefinitionUrl(),validatorUrl:n===void 0?"https://validator.swagger.io/validator":n})}render(){let{getConfigs:e}=this.props,{spec:r}=e(),n=Dr(this.state.validatorUrl);return typeof r=="object"&&Object.keys(r).length?null:this.state.url&&ta(this.state.validatorUrl)&&ta(this.state.url)?u.createElement("span",{className:"float-right"},u.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:`${n}/debug?url=${encodeURIComponent(this.state.url)}`},u.createElement(G9,{src:`${n}?url=${encodeURIComponent(this.state.url)}`,alt:"Online validator badge"}))):null}}class G9 extends u.Component{constructor(e){super(e),this.state={loaded:!1,error:!1}}componentDidMount(){const e=new Image;e.onload=()=>{this.setState({loaded:!0})},e.onerror=()=>{this.setState({error:!0})},e.src=this.props.src}UNSAFE_componentWillReceiveProps(e){if(e.src!==this.props.src){const r=new Image;r.onload=()=>{this.setState({loaded:!0})},r.onerror=()=>{this.setState({error:!0})},r.src=e.src}}render(){return this.state.error?u.createElement("img",{alt:"Error"}):this.state.loaded?u.createElement("img",{src:this.props.src,alt:this.props.alt}):null}}class Y9 extends u.Component{render(){let{specSelectors:e}=this.props;const r=e.taggedOperations();return r.size===0?u.createElement("h3",null," No operations defined in spec!"):u.createElement("div",null,r.map(this.renderOperationTag).valueSeq().toArray(),r.size<1?u.createElement("h3",null," No operations defined in spec! "):null)}renderOperationTag=(e,r)=>{const{specSelectors:n,getComponent:a,oas3Selectors:o,layoutSelectors:p,layoutActions:c,getConfigs:d}=this.props,E=n.validOperationMethods(),x=a("OperationContainer",!0),k=a("OperationTag"),P=e.get("operations");return u.createElement(k,{key:"operation-"+r,tagObj:e,tag:r,oas3Selectors:o,layoutSelectors:p,layoutActions:c,getConfigs:d,getComponent:a,specUrl:n.url()},u.createElement("div",{className:"operation-tag-content"},P.map((R=>{const L=R.get("path"),V=R.get("method"),Q=R.get("specPath");return E.indexOf(V)===-1?null:u.createElement(x,{key:`${L}-${V}`,specPath:Q,op:R,path:L,method:V,tag:r})})).toArray()))}}class X9 extends u.Component{static defaultProps={tagObj:H.default.fromJS({}),tag:""};render(){const{tagObj:e,tag:r,children:n,oas3Selectors:a,layoutSelectors:o,layoutActions:p,getConfigs:c,getComponent:d,specUrl:E}=this.props;let{docExpansion:x,deepLinking:k}=c();const P=d("Collapse"),R=d("Markdown",!0),L=d("DeepLink"),V=d("Link"),Q=d("ArrowUpIcon"),J=d("ArrowDownIcon");let re,me=e.getIn(["tagDetails","description"],null),le=e.getIn(["tagDetails","externalDocs","description"]),ve=e.getIn(["tagDetails","externalDocs","url"]);re=ia(a)&&ia(a.selectedServer)?ba(ve,E,{selectedServer:a.selectedServer()}):ve;let be=["operations-tag",r],ce=o.isShown(be,x==="full"||x==="list");return u.createElement("div",{className:ce?"opblock-tag-section is-open":"opblock-tag-section"},u.createElement("h3",{onClick:()=>p.show(be,!ce),className:me?"opblock-tag":"opblock-tag no-desc",id:be.map((_e=>ms(_e))).join("-"),"data-tag":r,"data-is-open":ce},u.createElement(L,{enabled:k,isShown:ce,path:Jo(r),text:r}),me?u.createElement("small",null,u.createElement(R,{source:me})):u.createElement("small",null),re?u.createElement("div",{className:"info__externaldocs"},u.createElement("small",null,u.createElement(V,{href:Dr(re),onClick:_e=>_e.stopPropagation(),target:"_blank"},le||re))):null,u.createElement("button",{"aria-expanded":ce,className:"expand-operation",title:ce?"Collapse operation":"Expand operation",onClick:()=>p.show(be,!ce)},ce?u.createElement(Q,{className:"arrow"}):u.createElement(J,{className:"arrow"}))),u.createElement(P,{isOpened:ce},n))}}class Q9 extends u.PureComponent{static defaultProps={operation:null,response:null,request:null,specPath:(0,H.List)(),summary:""};render(){let{specPath:e,response:r,request:n,toggleShown:a,onTryoutClick:o,onResetClick:p,onCancelClick:c,onExecute:d,fn:E,getComponent:x,getConfigs:k,specActions:P,specSelectors:R,authActions:L,authSelectors:V,oas3Actions:Q,oas3Selectors:J}=this.props,re=this.props.operation,{deprecated:me,isShown:le,path:ve,method:be,op:ce,tag:_e,operationId:Ae,allowTryItOut:xe,displayRequestDuration:Oe,tryItOutEnabled:je,executeInProgress:G}=re.toObject();const de=ce.get("description"),Ne=ce.get("externalDocs")?.toJS(),Ye=ce.get("schemes")?.toJS(),ht=Ne?ba(Ne.url,R.url(),{selectedServer:J.selectedServer()}):"";let Ct=re.getIn(["op"]),_t=Ct.get("responses"),qt=(function(dr,qr){if(!H.default.Iterable.isIterable(dr))return H.default.List();let en=dr.getIn(Array.isArray(qr)?qr:[qr]);return H.default.List.isList(en)?en:H.default.List()})(Ct,["parameters"]),It=R.operationScheme(ve,be),Ot=["operations",_e,Ae],et=gr(Ct);const Dt=x("responses",!0),or=x("parameters",!0),Ut=x("execute"),pr=x("clear"),W=x("Collapse"),$e=x("Markdown",!0),Je=x("schemes"),Ft=x("OperationServers"),it=x("OperationExt"),bt=x("OperationSummary"),ut=x("Link"),{showExtensions:Xt}=k();if(_t&&r&&r.size>0){let Er=!_t.get(String(r.get("status")))&&!_t.get("default");r=r.set("notDocumented",Er)}let zt=[ve,be];const tr=R.validationErrors([ve,be]);return u.createElement("div",{className:me?"opblock opblock-deprecated":le?`opblock opblock-${be} is-open`:`opblock opblock-${be}`,id:ms(Ot.join("-"))},u.createElement(bt,{operationProps:re,isShown:le,toggleShown:a,getComponent:x,authActions:L,authSelectors:V,specPath:e}),u.createElement(W,{isOpened:le},u.createElement("div",{className:"opblock-body"},Ct&&Ct.size||Ct===null?null:u.createElement(yh,{height:"32px",width:"32px",className:"opblock-loading-animation"}),me&&u.createElement("h4",{className:"opblock-title_normal"}," Warning: Deprecated"),de&&u.createElement("div",{className:"opblock-description-wrapper"},u.createElement("div",{className:"opblock-description"},u.createElement($e,{source:de}))),ht?u.createElement("div",{className:"opblock-external-docs-wrapper"},u.createElement("h4",{className:"opblock-title_normal"},"Find more details"),u.createElement("div",{className:"opblock-external-docs"},Ne.description&&u.createElement("span",{className:"opblock-external-docs__description"},u.createElement($e,{source:Ne.description})),u.createElement(ut,{target:"_blank",className:"opblock-external-docs__link",href:Dr(ht)},ht))):null,Ct&&Ct.size?u.createElement(or,{parameters:qt,specPath:e.push("parameters"),operation:Ct,onChangeKey:zt,onTryoutClick:o,onResetClick:p,onCancelClick:c,tryItOutEnabled:je,allowTryItOut:xe,fn:E,getComponent:x,specActions:P,specSelectors:R,pathMethod:[ve,be],getConfigs:k,oas3Actions:Q,oas3Selectors:J}):null,je?u.createElement(Ft,{getComponent:x,path:ve,method:be,operationServers:Ct.get("servers"),pathServers:R.paths().getIn([ve,"servers"]),getSelectedServer:J.selectedServer,setSelectedServer:Q.setSelectedServer,setServerVariableValue:Q.setServerVariableValue,getServerVariable:J.serverVariableValue,getEffectiveServerValue:J.serverEffectiveValue}):null,je&&xe&&Ye&&Ye.size?u.createElement("div",{className:"opblock-schemes"},u.createElement(Je,{schemes:Ye,path:ve,method:be,specActions:P,currentScheme:It})):null,!je||!xe||tr.length<=0?null:u.createElement("div",{className:"validation-errors errors-wrapper"},"Please correct the following validation errors and try again.",u.createElement("ul",null,tr.map(((Er,dr)=>u.createElement("li",{key:dr}," ",Er," "))))),u.createElement("div",{className:je&&r&&xe?"btn-group":"execute-wrapper"},je&&xe?u.createElement(Ut,{operation:Ct,specActions:P,specSelectors:R,oas3Selectors:J,oas3Actions:Q,path:ve,method:be,onExecute:d,disabled:G}):null,je&&r&&xe?u.createElement(pr,{specActions:P,path:ve,method:be}):null),G?u.createElement("div",{className:"loading-container"},u.createElement("div",{className:"loading"})):null,_t?u.createElement(Dt,{responses:_t,request:n,tryItOutResponse:r,getComponent:x,getConfigs:k,specSelectors:R,oas3Actions:Q,oas3Selectors:J,specActions:P,produces:R.producesOptionsFor([ve,be]),producesValue:R.currentProducesFor([ve,be]),specPath:e.push("responses"),path:ve,method:be,displayRequestDuration:Oe,fn:E}):null,Xt&&et.size?u.createElement(it,{extensions:et,getComponent:x}):null)))}}class Z9 extends u.PureComponent{constructor(e,r){super(e,r);const{tryItOutEnabled:n}=e.getConfigs();this.state={tryItOutEnabled:n,executeInProgress:!1}}static defaultProps={showSummary:!0,response:null,allowTryItOut:!0,displayOperationId:!1,displayRequestDuration:!1};mapStateToProps(e,r){const{op:n,layoutSelectors:a,getConfigs:o}=r,{docExpansion:p,deepLinking:c,displayOperationId:d,displayRequestDuration:E,supportedSubmitMethods:x}=o(),k=a.showSummary(),P=n.getIn(["operation","__originalOperationId"])||n.getIn(["operation","operationId"])||Df(n.get("operation"),r.path,r.method)||n.get("id"),R=["operations",r.tag,P],L=x.indexOf(r.method)>=0&&(r.allowTryItOut===void 0?r.specSelectors.allowTryItOutFor(r.path,r.method):r.allowTryItOut),V=n.getIn(["operation","security"])||r.specSelectors.security();return{operationId:P,isDeepLinkingEnabled:c,showSummary:k,displayOperationId:d,displayRequestDuration:E,allowTryItOut:L,security:V,isAuthorized:r.authSelectors.isAuthorized(V),isShown:a.isShown(R,p==="full"),jumpToKey:`paths.${r.path}.${r.method}`,response:r.specSelectors.responseFor(r.path,r.method),request:r.specSelectors.requestFor(r.path,r.method)}}componentDidMount(){const{isShown:e}=this.props,r=this.getResolvedSubtree();e&&r===void 0&&this.requestResolvedSubtree()}componentDidUpdate(e){const{response:r,isShown:n}=this.props,a=this.getResolvedSubtree();r!==e.response&&this.setState({executeInProgress:!1}),n&&a===void 0&&this.requestResolvedSubtree()}toggleShown=()=>{let{layoutActions:e,tag:r,operationId:n,isShown:a}=this.props;const o=this.getResolvedSubtree();a||o!==void 0||this.requestResolvedSubtree(),e.show(["operations",r,n],!a)};onCancelClick=()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})};onTryoutClick=()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})};onResetClick=e=>{const r=this.props.oas3Selectors.selectDefaultRequestBodyValue(...e),n=this.props.oas3Selectors.requestContentType(...e);if(n==="application/x-www-form-urlencoded"||n==="multipart/form-data"){const a=JSON.parse(r);Object.entries(a).forEach((([o,p])=>{Array.isArray(p)?a[o]=a[o].map((c=>typeof c=="object"?JSON.stringify(c,null,2):c)):typeof p=="object"&&(a[o]=JSON.stringify(a[o],null,2))})),this.props.oas3Actions.setRequestBodyValue({value:(0,H.fromJS)(a),pathMethod:e})}else this.props.oas3Actions.setRequestBodyValue({value:r,pathMethod:e})};onExecute=()=>{this.setState({executeInProgress:!0})};getResolvedSubtree=()=>{const{specSelectors:e,path:r,method:n,specPath:a}=this.props;return a?e.specResolvedSubtree(a.toJS()):e.specResolvedSubtree(["paths",r,n])};requestResolvedSubtree=()=>{const{specActions:e,path:r,method:n,specPath:a}=this.props;return a?e.requestResolvedSubtree(a.toJS()):e.requestResolvedSubtree(["paths",r,n])};render(){let{op:e,tag:r,path:n,method:a,security:o,isAuthorized:p,operationId:c,showSummary:d,isShown:E,jumpToKey:x,allowTryItOut:k,response:P,request:R,displayOperationId:L,displayRequestDuration:V,isDeepLinkingEnabled:Q,specPath:J,specSelectors:re,specActions:me,getComponent:le,getConfigs:ve,layoutSelectors:be,layoutActions:ce,authActions:_e,authSelectors:Ae,oas3Actions:xe,oas3Selectors:Oe,fn:je}=this.props;const G=le("operation"),de=this.getResolvedSubtree()||(0,H.Map)(),Ne=(0,H.fromJS)({op:de,tag:r,path:n,summary:e.getIn(["operation","summary"])||"",deprecated:de.get("deprecated")||e.getIn(["operation","deprecated"])||!1,method:a,security:o,isAuthorized:p,operationId:c,originalOperationId:de.getIn(["operation","__originalOperationId"]),showSummary:d,isShown:E,jumpToKey:x,allowTryItOut:k,request:R,displayOperationId:L,displayRequestDuration:V,isDeepLinkingEnabled:Q,executeInProgress:this.state.executeInProgress,tryItOutEnabled:this.state.tryItOutEnabled});return u.createElement(G,{operation:Ne,response:P,request:R,isShown:E,toggleShown:this.toggleShown,onTryoutClick:this.onTryoutClick,onResetClick:this.onResetClick,onCancelClick:this.onCancelClick,onExecute:this.onExecute,specPath:J,specActions:me,specSelectors:re,oas3Actions:xe,oas3Selectors:Oe,layoutActions:ce,layoutSelectors:be,authActions:_e,authSelectors:Ae,getComponent:le,getConfigs:ve,fn:je})}}var e7=Be(13222),t7=Be.n(e7);class r7 extends u.PureComponent{static defaultProps={operationProps:null,specPath:(0,H.List)(),summary:""};render(){let{isShown:e,toggleShown:r,getComponent:n,authActions:a,authSelectors:o,operationProps:p,specPath:c}=this.props,{summary:d,isAuthorized:E,method:x,op:k,showSummary:P,path:R,operationId:L,originalOperationId:V,displayOperationId:Q}=p.toObject();const J=k.get("summary"),re=p.get("security"),me=n("authorizeOperationBtn",!0),le=n("OperationSummaryMethod"),ve=n("OperationSummaryPath"),be=n("JumpToPath",!0),ce=n("CopyToClipboardBtn",!0),_e=n("ArrowUpIcon"),Ae=n("ArrowDownIcon"),xe=re&&!!re.count(),Oe=xe&&re.size===1&&re.first().isEmpty(),je=!xe||Oe;return u.createElement("div",{className:`opblock-summary opblock-summary-${x}`},u.createElement("button",{"aria-expanded":e,className:"opblock-summary-control",onClick:r},u.createElement(le,{method:x}),u.createElement("div",{className:"opblock-summary-path-description-wrapper"},u.createElement(ve,{getComponent:n,operationProps:p,specPath:c}),P?u.createElement("div",{className:"opblock-summary-description"},t7()(J||d)):null),Q&&(V||L)?u.createElement("span",{className:"opblock-summary-operation-id"},V||L):null),u.createElement(ce,{textToCopy:`${c.get(1)}`}),je?null:u.createElement(me,{isAuthorized:E,onClick:()=>{const G=o.definitionsForRequirements(re);a.showDefinitions(G)}}),u.createElement(be,{path:c}),u.createElement("button",{"aria-label":`${x} ${R.replace(/\//g,"/")}`,className:"opblock-control-arrow","aria-expanded":e,tabIndex:"-1",onClick:r},e?u.createElement(_e,{className:"arrow"}):u.createElement(Ae,{className:"arrow"})))}}class n7 extends u.PureComponent{static defaultProps={operationProps:null};render(){let{method:e}=this.props;return u.createElement("span",{className:"opblock-summary-method"},e.toUpperCase())}}class a7 extends u.PureComponent{render(){let{getComponent:e,operationProps:r}=this.props,{deprecated:n,isShown:a,path:o,tag:p,operationId:c,isDeepLinkingEnabled:d}=r.toObject();const E=o.split(/(?=\/)/g);for(let k=1;k<E.length;k+=2)E.splice(k,0,u.createElement("wbr",{key:k}));const x=e("DeepLink");return u.createElement("span",{className:n?"opblock-summary-path__deprecated":"opblock-summary-path","data-path":o},u.createElement(x,{enabled:d,isShown:a,path:Jo(`${p}/${c}`),text:E}))}}const o7=({extensions:t,getComponent:e})=>{let r=e("OperationExtRow");return u.createElement("div",{className:"opblock-section"},u.createElement("div",{className:"opblock-section-header"},u.createElement("h4",null,"Extensions")),u.createElement("div",{className:"table-container"},u.createElement("table",null,u.createElement("thead",null,u.createElement("tr",null,u.createElement("td",{className:"col_header"},"Field"),u.createElement("td",{className:"col_header"},"Value"))),u.createElement("tbody",null,t.entrySeq().map((([n,a])=>u.createElement(r,{key:`${n}-${a}`,xKey:n,xVal:a})))))))},i7=({xKey:t,xVal:e})=>{const r=e?e.toJS?e.toJS():e:null;return u.createElement("tr",null,u.createElement("td",null,t),u.createElement("td",null,JSON.stringify(r)))};function B1(t,e="_"){return t.replace(/[^\w-]/g,e)}class q1 extends u.Component{static defaultProps={tryItOutResponse:null,produces:(0,H.fromJS)(["application/json"]),displayRequestDuration:!1};onChangeProducesWrapper=e=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],e);onResponseContentTypeChange=({controlsAcceptHeader:e,value:r})=>{const{oas3Actions:n,path:a,method:o}=this.props;e&&n.setResponseContentType({value:r,path:a,method:o})};render(){let{responses:e,tryItOutResponse:r,getComponent:n,getConfigs:a,specSelectors:o,fn:p,producesValue:c,displayRequestDuration:d,specPath:E,path:x,method:k,oas3Selectors:P,oas3Actions:R}=this.props,L=(function(_e){let Ae=_e.keySeq();return Ae.contains(tn)?tn:Ae.filter((xe=>(xe+"")[0]==="2")).sort().first()})(e);const V=n("contentType"),Q=n("liveResponse"),J=n("response");let re=this.props.produces&&this.props.produces.size?this.props.produces:q1.defaultProps.produces;const me=o.isOAS3()?(function(_e){if(!H.default.OrderedMap.isOrderedMap(_e)||!_e.size)return null;const Ae=_e.find(((je,G)=>G.startsWith("2")&&Object.keys(je.get("content")||{}).length>0)),xe=_e.get("default")||H.default.OrderedMap(),Oe=(xe.get("content")||H.default.OrderedMap()).keySeq().toJS().length?xe:null;return Ae||Oe})(e):null,le=e.filter(((ce,_e)=>!Yt(_e))),ve=B1(`${k}${x}_responses`),be=`${ve}_select`;return le&&le.size?u.createElement("div",{className:"responses-wrapper"},u.createElement("div",{className:"opblock-section-header"},u.createElement("h4",null,"Responses"),o.isOAS3()?null:u.createElement("label",{htmlFor:be},u.createElement("span",null,"Response content type"),u.createElement(V,{value:c,ariaControls:ve,ariaLabel:"Response content type",className:"execute-content-type",contentTypes:re,controlId:be,onChange:this.onChangeProducesWrapper}))),u.createElement("div",{className:"responses-inner"},r?u.createElement("div",null,u.createElement(Q,{response:r,getComponent:n,getConfigs:a,specSelectors:o,path:this.props.path,method:this.props.method,displayRequestDuration:d}),u.createElement("h4",null,"Responses")):null,u.createElement("table",{"aria-live":"polite",className:"responses-table",id:ve,role:"region"},u.createElement("thead",null,u.createElement("tr",{className:"responses-header"},u.createElement("td",{className:"col_header response-col_status"},"Code"),u.createElement("td",{className:"col_header response-col_description"},"Description"),o.isOAS3()?u.createElement("td",{className:"col col_header response-col_links"},"Links"):null)),u.createElement("tbody",null,le.entrySeq().map((([ce,_e])=>{let Ae=r&&r.get("status")==ce?"response_current":"";return u.createElement(J,{key:ce,path:x,method:k,specPath:E.push(ce),isDefault:L===ce,fn:p,className:Ae,code:ce,response:_e,specSelectors:o,controlsAcceptHeader:_e===me,onContentTypeChange:this.onResponseContentTypeChange,contentType:c,getConfigs:a,activeExamplesKey:P.activeExamplesMember(x,k,"responses",ce),oas3Actions:R,getComponent:n})})).toArray())))):null}}function _v(t){return(function(n){try{return!!JSON.parse(n)}catch{return null}})(t)?"json":null}class s7 extends u.Component{constructor(e,r){super(e,r),this.state={responseContentType:""}}static defaultProps={response:(0,H.fromJS)({}),onContentTypeChange:()=>{}};_onContentTypeChange=e=>{const{onContentTypeChange:r,controlsAcceptHeader:n}=this.props;this.setState({responseContentType:e}),r({value:e,controlsAcceptHeader:n})};getTargetExamplesKey=()=>{const{response:e,contentType:r,activeExamplesKey:n}=this.props,a=this.state.responseContentType||r,o=e.getIn(["content",a],(0,H.Map)({})).get("examples",null).keySeq().first();return n||o};render(){let{path:e,method:r,code:n,response:a,className:o,specPath:p,fn:c,getComponent:d,getConfigs:E,specSelectors:x,contentType:k,controlsAcceptHeader:P,oas3Actions:R}=this.props,{inferSchema:L,getSampleSchema:V}=c,Q=x.isOAS3();const{showExtensions:J}=E();let re=J?gr(a):null,me=a.get("headers"),le=a.get("links");const ve=d("ResponseExtension"),be=d("headers"),ce=d("HighlightCode",!0),_e=d("modelExample"),Ae=d("Markdown",!0),xe=d("operationLink"),Oe=d("contentType"),je=d("ExamplesSelect"),G=d("Example");var de,Ne;const Ye=this.state.responseContentType||k,ht=a.getIn(["content",Ye],(0,H.Map)({})),Ct=ht.get("examples",null);if(Q){const Dt=ht.get("schema");de=Dt?L(Dt.toJS()):null,Ne=Dt?p.push("content",this.state.responseContentType,"schema"):p}else de=a.get("schema"),Ne=a.has("schema")?p.push("schema"):p;let _t,qt,It=!1,Ot={includeReadOnly:!0};if(Q)if(qt=ht.get("schema")?.toJS(),H.Map.isMap(Ct)&&!Ct.isEmpty()){const Dt=this.getTargetExamplesKey(),or=Ut=>H.Map.isMap(Ut)?Ut.get("value"):void 0;_t=or(Ct.get(Dt,(0,H.Map)({}))),_t===void 0&&(_t=or(Ct.values().next().value)),It=!0}else ht.get("example")!==void 0&&(_t=ht.get("example"),It=!0);else{qt=de,Ot={...Ot,includeWriteOnly:!0};const Dt=a.getIn(["examples",Ye]);Dt&&(_t=Dt,It=!0)}const et=((Dt,or)=>{if(Dt==null)return null;const Ut=_v(Dt)?"json":null;return u.createElement("div",null,u.createElement(or,{className:"example",language:Ut},Gr(Dt)))})(V(qt,Ye,Ot,It?_t:void 0),ce);return u.createElement("tr",{className:"response "+(o||""),"data-code":n},u.createElement("td",{className:"response-col_status"},n),u.createElement("td",{className:"response-col_description"},u.createElement("div",{className:"response-col_description__inner"},u.createElement(Ae,{source:a.get("description")})),J&&re.size?re.entrySeq().map((([Dt,or])=>u.createElement(ve,{key:`${Dt}-${or}`,xKey:Dt,xVal:or}))):null,Q&&a.get("content")?u.createElement("section",{className:"response-controls"},u.createElement("div",{className:Xr()("response-control-media-type",{"response-control-media-type--accept-controller":P})},u.createElement("small",{className:"response-control-media-type__title"},"Media type"),u.createElement(Oe,{value:this.state.responseContentType,contentTypes:a.get("content")?a.get("content").keySeq():(0,H.Seq)(),onChange:this._onContentTypeChange,ariaLabel:"Media Type"}),P?u.createElement("small",{className:"response-control-media-type__accept-message"},"Controls ",u.createElement("code",null,"Accept")," header."):null),H.Map.isMap(Ct)&&!Ct.isEmpty()?u.createElement("div",{className:"response-control-examples"},u.createElement("small",{className:"response-control-examples__title"},"Examples"),u.createElement(je,{examples:Ct,currentExampleKey:this.getTargetExamplesKey(),onSelect:Dt=>R.setActiveExamplesMember({name:Dt,pathMethod:[e,r],contextType:"responses",contextName:n}),showLabels:!1})):null):null,et||de?u.createElement(_e,{specPath:Ne,getComponent:d,getConfigs:E,specSelectors:x,schema:nn(de),example:et,includeReadOnly:!0}):null,Q&&Ct?u.createElement(G,{example:Ct.get(this.getTargetExamplesKey(),(0,H.Map)({})),getComponent:d,getConfigs:E,omitValue:!0}):null,me?u.createElement(be,{headers:me,getComponent:d}):null),Q?u.createElement("td",{className:"response-col_links"},le?le.toSeq().entrySeq().map((([Dt,or])=>u.createElement(xe,{key:Dt,name:Dt,link:or,getComponent:d}))):u.createElement("i",null,"No links")):null)}}const l7=({xKey:t,xVal:e})=>u.createElement("div",{className:"response__extension"},t,": ",String(e));var c7=Be(26657),u7=Be.n(c7),p7=Be(80218),Zx=Be.n(p7);class h7 extends u.PureComponent{state={parsedContent:null};updateParsedContent=e=>{const{content:r}=this.props;if(e!==r)if(r&&r instanceof Blob){var n=new FileReader;n.onload=()=>{this.setState({parsedContent:n.result})},n.readAsText(r)}else this.setState({parsedContent:r.toString()})};componentDidMount(){this.updateParsedContent(null)}componentDidUpdate(e){this.updateParsedContent(e.content)}render(){let{content:e,contentType:r,url:n,headers:a={},getComponent:o}=this.props;const{parsedContent:p}=this.state,c=o("HighlightCode",!0),d="response_"+new Date().getTime();let E,x;if(n=n||"",(/^application\/octet-stream/i.test(r)||a["Content-Disposition"]&&/attachment/i.test(a["Content-Disposition"])||a["content-disposition"]&&/attachment/i.test(a["content-disposition"])||a["Content-Description"]&&/File Transfer/i.test(a["Content-Description"])||a["content-description"]&&/File Transfer/i.test(a["content-description"]))&&(e.size>0||e.length>0))if("Blob"in window){let k=r||"text/html",P=e instanceof Blob?e:new Blob([e],{type:k}),R=window.URL.createObjectURL(P),L=[k,n.substr(n.lastIndexOf("/")+1),R].join(":"),V=a["content-disposition"]||a["Content-Disposition"];if(V!==void 0){let Q=(function(re){let me;if([/filename\*=[^']+'\w*'"([^"]+)";?/i,/filename\*=[^']+'\w*'([^;]+);?/i,/filename="([^;]*);?"/i,/filename=([^;]*);?/i].some((le=>(me=le.exec(re),me!==null))),me!==null&&me.length>1)try{return decodeURIComponent(me[1])}catch(le){console.error(le)}return null})(V);Q!==null&&(L=Q)}x=Qe.navigator&&Qe.navigator.msSaveOrOpenBlob?u.createElement("div",null,u.createElement("a",{href:R,onClick:()=>Qe.navigator.msSaveOrOpenBlob(P,L)},"Download file")):u.createElement("div",null,u.createElement("a",{href:R,download:L},"Download file"))}else x=u.createElement("pre",{className:"microlight"},"Download headers detected but your browser does not support downloading binary via XHR (Blob).");else if(/json/i.test(r)){let k=null;_v(e)&&(k="json");try{E=JSON.stringify(JSON.parse(e),null," ")}catch{E=`can't parse JSON. Raw result:
`+e}x=u.createElement(c,{language:k,downloadable:!0,fileName:`${d}.json`,canCopy:!0},E)}else/xml/i.test(r)?(E=u7()(e,{textNodesOnSameLine:!0,indentor:" "}),x=u.createElement(c,{downloadable:!0,fileName:`${d}.xml`,canCopy:!0},E)):x=Zx()(r)==="text/html"||/text\/plain/.test(r)?u.createElement(c,{downloadable:!0,fileName:`${d}.html`,canCopy:!0},e):Zx()(r)==="text/csv"||/text\/csv/.test(r)?u.createElement(c,{downloadable:!0,fileName:`${d}.csv`,canCopy:!0},e):/^image\//i.test(r)?r.includes("svg")?u.createElement("div",null," ",e," "):u.createElement("img",{src:window.URL.createObjectURL(e)}):/^audio\//i.test(r)?u.createElement("pre",{className:"microlight"},u.createElement("audio",{controls:!0,key:n},u.createElement("source",{src:n,type:r}))):typeof e=="string"?u.createElement(c,{downloadable:!0,fileName:`${d}.txt`,canCopy:!0},e):e.size>0?p?u.createElement("div",null,u.createElement("p",{className:"i"},"Unrecognized response type; displaying content as text."),u.createElement(c,{downloadable:!0,fileName:`${d}.txt`,canCopy:!0},p)):u.createElement("p",{className:"i"},"Unrecognized response type; unable to display."):null;return x?u.createElement("div",null,u.createElement("h5",null,"Response body"),x):null}}class d7 extends u.Component{constructor(e){super(e),this.state={callbackVisible:!1,parametersVisible:!0}}static defaultProps={onTryoutClick:Function.prototype,onCancelClick:Function.prototype,tryItOutEnabled:!1,allowTryItOut:!0,onChangeKey:[],specPath:[]};onChange=(e,r,n)=>{let{specActions:{changeParamByIdentity:a},onChangeKey:o}=this.props;a(o,e,r,n)};onChangeConsumesWrapper=e=>{let{specActions:{changeConsumesValue:r},onChangeKey:n}=this.props;r(n,e)};toggleTab=e=>e==="parameters"?this.setState({parametersVisible:!0,callbackVisible:!1}):e==="callbacks"?this.setState({callbackVisible:!0,parametersVisible:!1}):void 0;onChangeMediaType=({value:e,pathMethod:r})=>{let{specActions:n,oas3Selectors:a,oas3Actions:o}=this.props;const p=a.hasUserEditedBody(...r),c=a.shouldRetainRequestBodyValue(...r);o.setRequestContentType({value:e,pathMethod:r}),o.initRequestBodyValidateError({pathMethod:r}),p||(c||o.setRequestBodyValue({value:void 0,pathMethod:r}),n.clearResponse(...r),n.clearRequest(...r),n.clearValidateParams(r))};render(){let{onTryoutClick:e,onResetClick:r,parameters:n,allowTryItOut:a,tryItOutEnabled:o,specPath:p,fn:c,getComponent:d,getConfigs:E,specSelectors:x,specActions:k,pathMethod:P,oas3Actions:R,oas3Selectors:L,operation:V}=this.props;const Q=d("parameterRow"),J=d("TryItOutButton"),re=d("contentType"),me=d("Callbacks",!0),le=d("RequestBody",!0),ve=o&&a,be=x.isOAS3(),ce=`${B1(`${P[1]}${P[0]}_requests`)}_select`,_e=V.get("requestBody"),Ae=Object.values(n.reduce(((xe,Oe)=>{if(H.Map.isMap(Oe)){const je=Oe.get("in");xe[je]??=[],xe[je].push(Oe)}return xe}),{})).reduce(((xe,Oe)=>xe.concat(Oe)),[]);return u.createElement("div",{className:"opblock-section"},u.createElement("div",{className:"opblock-section-header"},be?u.createElement("div",{className:"tab-header"},u.createElement("div",{onClick:()=>this.toggleTab("parameters"),className:`tab-item ${this.state.parametersVisible&&"active"}`},u.createElement("h4",{className:"opblock-title"},u.createElement("span",null,"Parameters"))),V.get("callbacks")?u.createElement("div",{onClick:()=>this.toggleTab("callbacks"),className:`tab-item ${this.state.callbackVisible&&"active"}`},u.createElement("h4",{className:"opblock-title"},u.createElement("span",null,"Callbacks"))):null):u.createElement("div",{className:"tab-header"},u.createElement("h4",{className:"opblock-title"},"Parameters")),a?u.createElement(J,{isOAS3:x.isOAS3(),hasUserEditedBody:L.hasUserEditedBody(...P),enabled:o,onCancelClick:this.props.onCancelClick,onTryoutClick:e,onResetClick:()=>r(P)}):null),this.state.parametersVisible?u.createElement("div",{className:"parameters-container"},Ae.length?u.createElement("div",{className:"table-container"},u.createElement("table",{className:"parameters"},u.createElement("thead",null,u.createElement("tr",null,u.createElement("th",{className:"col_header parameters-col_name"},"Name"),u.createElement("th",{className:"col_header parameters-col_description"},"Description"))),u.createElement("tbody",null,Ae.map(((xe,Oe)=>u.createElement(Q,{fn:c,specPath:p.push(Oe.toString()),getComponent:d,getConfigs:E,rawParam:xe,param:x.parameterWithMetaByIdentity(P,xe),key:`${xe.get("in")}.${xe.get("name")}`,onChange:this.onChange,onChangeConsumes:this.onChangeConsumesWrapper,specSelectors:x,specActions:k,oas3Actions:R,oas3Selectors:L,pathMethod:P,isExecute:ve})))))):u.createElement("div",{className:"opblock-description-wrapper"},u.createElement("p",null,"No parameters"))):null,this.state.callbackVisible?u.createElement("div",{className:"callbacks-container opblock-description-wrapper"},u.createElement(me,{callbacks:(0,H.Map)(V.get("callbacks")),specPath:p.slice(0,-1).push("callbacks")})):null,be&&_e&&this.state.parametersVisible&&u.createElement("div",{className:"opblock-section opblock-section-request-body"},u.createElement("div",{className:"opblock-section-header"},u.createElement("h4",{className:`opblock-title parameter__name ${_e.get("required")&&"required"}`},"Request body"),u.createElement("label",{id:ce},u.createElement(re,{value:L.requestContentType(...P),contentTypes:_e.get("content",(0,H.List)()).keySeq(),onChange:xe=>{this.onChangeMediaType({value:xe,pathMethod:P})},className:"body-param-content-type",ariaLabel:"Request content type",controlId:ce}))),u.createElement("div",{className:"opblock-description-wrapper"},u.createElement(le,{setRetainRequestBodyValueFlag:xe=>R.setRetainRequestBodyValueFlag({value:xe,pathMethod:P}),userHasEditedBody:L.hasUserEditedBody(...P),specPath:p.slice(0,-1).push("requestBody"),requestBody:_e,requestBodyValue:L.requestBodyValue(...P),requestBodyInclusionSetting:L.requestBodyInclusionSetting(...P),requestBodyErrors:L.requestBodyErrors(...P),isExecute:ve,getConfigs:E,activeExamplesKey:L.activeExamplesMember(...P,"requestBody","requestBody"),updateActiveExamplesKey:xe=>{this.props.oas3Actions.setActiveExamplesMember({name:xe,pathMethod:this.props.pathMethod,contextType:"requestBody",contextName:"requestBody"})},onChange:(xe,Oe)=>{if(Oe){const je=L.requestBodyValue(...P),G=H.Map.isMap(je)?je:(0,H.Map)();return R.setRequestBodyValue({pathMethod:P,value:G.setIn(Oe,xe)})}R.setRequestBodyValue({value:xe,pathMethod:P})},onChangeIncludeEmpty:(xe,Oe)=>{R.setRequestBodyInclusion({pathMethod:P,value:Oe,name:xe})},contentType:L.requestContentType(...P)}))))}}const f7=({xKey:t,xVal:e})=>u.createElement("div",{className:"parameter__extension"},t,": ",String(e)),m7={onChange:()=>{},isIncludedOptions:{}};class g7 extends u.Component{static defaultProps=m7;componentDidMount(){const{isIncludedOptions:e,onChange:r}=this.props,{shouldDispatchInit:n,defaultValue:a}=e;n&&r(a)}onCheckboxChange=e=>{const{onChange:r}=this.props;r(e.target.checked)};render(){let{isIncluded:e,isDisabled:r}=this.props;return u.createElement("div",null,u.createElement("label",{htmlFor:"include_empty_value",className:Xr()("parameter__empty_value_toggle",{disabled:r})},u.createElement("input",{id:"include_empty_value",type:"checkbox",disabled:r,checked:!r&&e,onChange:this.onCheckboxChange}),"Send empty value"))}}const U1=t=>{if(H.List.isList(t))return t;if(typeof t!="string")return null;try{const e=JSON.parse(t);return Array.isArray(e)?(0,H.List)(e):null}catch{return null}};class y7 extends u.Component{constructor(e,r){super(e,r),this.setDefaultValue()}UNSAFE_componentWillReceiveProps(e){let r,{specSelectors:n,pathMethod:a,rawParam:o}=e,p=n.isOAS3(),c=n.parameterWithMetaByIdentity(a,o)||new H.Map;if(c=c.isEmpty()?o:c,p){let{schema:x}=sr(c,{isOAS3:p});r=x?x.get("enum"):void 0}else r=c?c.get("enum"):void 0;let d,E=c?c.get("value"):void 0;E!==void 0?d=E:o.get("required")&&r&&r.size&&(d=r.first()),d!==void 0&&d!==E&&this.onChangeWrapper((function(k){return typeof k=="number"?k.toString():k})(d)),this.setDefaultValue()}onChangeWrapper=(e,r=!1)=>{let n,{onChange:a,rawParam:o}=this.props;return n=e===""||e&&e.size===0?null:e,a(o,n,r)};_onExampleSelect=e=>{this.props.oas3Actions.setActiveExamplesMember({name:e,pathMethod:this.props.pathMethod,contextType:"parameters",contextName:this.getParamKey()})};onChangeIncludeEmpty=e=>{let{specActions:r,param:n,pathMethod:a}=this.props;const o=n.get("name"),p=n.get("in");return r.updateEmptyParamInclusion(a,o,p,e)};setDefaultValue=()=>{let{specSelectors:e,pathMethod:r,rawParam:n,oas3Selectors:a,fn:o}=this.props;const p=e.isOAS3(),c=e.parameterWithMetaByIdentity(r,n)||(0,H.Map)();let{schema:d}=sr(c,{isOAS3:p});const E=c.get("content",(0,H.Map)()).keySeq().first(),x=d?o.getSampleSchema(d.toJS(),E,{includeWriteOnly:!0}):null;if(c&&c.get("value")===void 0&&c.get("in")!=="body"){let k;if(e.isSwagger2())k=c.get("x-example")!==void 0?c.get("x-example"):c.getIn(["schema","example"])!==void 0?c.getIn(["schema","example"]):d&&d.getIn(["default"]);else if(p){d=this.composeJsonSchema(d);const V=a.activeExamplesMember(...r,"parameters",this.getParamKey());k=c.getIn(["examples",V,"value"])!==void 0?c.getIn(["examples",V,"value"]):c.getIn(["content",E,"example"])!==void 0?c.getIn(["content",E,"example"]):c.get("example")!==void 0?c.get("example"):(d&&d.get("example"))!==void 0?d&&d.get("example"):(d&&d.get("default"))!==void 0?d&&d.get("default"):c.get("default")}k===void 0||H.List.isList(k)||(k=Gr(k));const P=o.getSchemaObjectType(d),R=o.getSchemaObjectType(d?.get("items")),L=H.List.isList(d?.get("type"));if(p&&P==="array"&&!L&&k!==void 0){const V=U1(k);return void this.onChangeWrapper(V)}if(k!==void 0)this.onChangeWrapper(k);else if(P==="object"&&x&&!c.get("examples"))this.onChangeWrapper(H.List.isList(x)?x:Gr(x));else if(P==="array"&&R==="object"&&x&&!c.get("examples")){const V=U1(x);this.onChangeWrapper(V)}}};onExampleValueUpdate=e=>{const{specSelectors:r,pathMethod:n,rawParam:a,fn:o}=this.props,p=r.parameterWithMetaByIdentity(n,a)||(0,H.Map)();let{schema:c}=sr(p,{isOAS3:!0});c&&(c=this.composeJsonSchema(c));const d=o.getSchemaObjectType(c),E=H.List.isList(c?.get("type"));if(d!=="array"||E)this.onChangeWrapper(e);else{const x=U1(e);this.onChangeWrapper(x)}};getParamKey(){const{param:e}=this.props;return e?`${e.get("name")}-${e.get("in")}`:null}composeJsonSchema(e){const{fn:r}=this.props,n=e.get("oneOf")?.get(0)?.toJS(),a=e.get("anyOf")?.get(0)?.toJS();return(0,H.fromJS)(r.mergeJsonSchema(e.toJS(),n??a??{}))}render(){let{param:e,rawParam:r,getComponent:n,getConfigs:a,isExecute:o,fn:p,onChangeConsumes:c,specSelectors:d,pathMethod:E,specPath:x,oas3Selectors:k}=this.props,P=d.isOAS3();const{showExtensions:R,showCommonExtensions:L}=a();if(e||(e=r),!r)return null;const V=n("JsonSchemaForm"),Q=n("ParamBody");let J=e.get("in"),re=J!=="body"?null:u.createElement(Q,{getComponent:n,getConfigs:a,fn:p,param:e,consumes:d.consumesOptionsFor(E),consumesValue:d.contentTypeValues(E).get("requestContentType"),onChange:this.onChangeWrapper,onChangeConsumes:c,isExecute:o,specSelectors:d,pathMethod:E});const me=n("modelExample"),le=n("Markdown",!0),ve=n("ParameterExt"),be=n("ParameterIncludeEmpty"),ce=n("ExamplesSelectValueRetainer"),_e=n("Example");let{schema:Ae}=sr(e,{isOAS3:P}),xe=d.parameterWithMetaByIdentity(E,r)||(0,H.Map)();const Oe=xe.get("content",(0,H.Map)()).keySeq().first();P&&(Ae=this.composeJsonSchema(Ae));let je=Ae?Ae.get("format"):null,G=J==="formData",de="FormData"in Qe,Ne=e.get("required");const Ye=p.getSchemaObjectType(Ae),ht=p.getSchemaObjectType(Ae?.get("items")),Ct=p.getSchemaObjectTypeLabel(Ae),_t=!re&&Ye==="object",qt=!re&&ht==="object";let It,Ot,et,Dt,or=xe?xe.get("value"):"",Ut=L?mr(Ae):null,pr=R?gr(e):null,W=!1;e!==void 0&&Ae&&(It=Ae.get("items")),It!==void 0?(Ot=It.get("enum"),et=It.get("default")):Ae&&(Ot=Ae.get("enum")),Ot&&Ot.size&&Ot.size>0&&(W=!0),e!==void 0&&(Ae&&(et=Ae.get("default")),et===void 0&&(et=e.get("default")),Dt=e.get("example"),Dt===void 0&&(Dt=e.get("x-example")));const $e=re?null:u.createElement(V,{fn:p,getComponent:n,value:or,required:Ne,disabled:!o,description:e.get("name"),onChange:this.onChangeWrapper,errors:xe.get("errors"),schema:Ae});return u.createElement("tr",{"data-param-name":e.get("name"),"data-param-in":e.get("in")},u.createElement("td",{className:"parameters-col_name"},u.createElement("div",{className:Ne?"parameter__name required":"parameter__name"},e.get("name"),Ne?u.createElement("span",null," *"):null),u.createElement("div",{className:"parameter__type"},Ct,je&&u.createElement("span",{className:"prop-format"},"($",je,")")),u.createElement("div",{className:"parameter__deprecated"},P&&e.get("deprecated")?"deprecated":null),u.createElement("div",{className:"parameter__in"},"(",e.get("in"),")")),u.createElement("td",{className:"parameters-col_description"},e.get("description")?u.createElement(le,{source:e.get("description")}):null,!re&&o||!W?null:u.createElement(le,{className:"parameter__enum",source:"<i>Available values</i> : "+Ot.map((function(Je){return Je})).toArray().map(String).join(", ")}),!re&&o||et===void 0?null:u.createElement(le,{className:"parameter__default",source:"<i>Default value</i> : "+et}),!re&&o||Dt===void 0?null:u.createElement(le,{source:"<i>Example</i> : "+Dt}),G&&!de&&u.createElement("div",null,"Error: your browser does not support FormData"),P&&e.get("examples")?u.createElement("section",{className:"parameter-controls"},u.createElement(ce,{examples:e.get("examples"),onSelect:this._onExampleSelect,updateValue:this.onExampleValueUpdate,getComponent:n,defaultToFirstExample:!0,currentKey:k.activeExamplesMember(...E,"parameters",this.getParamKey()),currentUserInputValue:or})):null,_t||qt?u.createElement(me,{getComponent:n,specPath:Oe?x.push("content",Oe,"schema"):x.push("schema"),getConfigs:a,isExecute:o,specSelectors:d,schema:Ae,example:$e}):$e,re&&Ae?u.createElement(me,{getComponent:n,specPath:x.push("schema"),getConfigs:a,isExecute:o,specSelectors:d,schema:Ae,example:re,includeWriteOnly:!0}):null,!re&&o&&e.get("allowEmptyValue")?u.createElement(be,{onChange:this.onChangeIncludeEmpty,isIncluded:d.parameterInclusionSettingFor(E,e.get("name"),e.get("in")),isDisabled:!Wa(or)}):null,P&&e.get("examples")?u.createElement(_e,{example:e.getIn(["examples",k.activeExamplesMember(...E,"parameters",this.getParamKey())]),getComponent:n,getConfigs:a}):null,L&&Ut.size?Ut.entrySeq().map((([Je,Ft])=>u.createElement(ve,{key:`${Je}-${Ft}`,xKey:Je,xVal:Ft}))):null,R&&pr.size?pr.entrySeq().map((([Je,Ft])=>u.createElement(ve,{key:`${Je}-${Ft}`,xKey:Je,xVal:Ft}))):null))}}class v7 extends u.Component{handleValidateParameters=()=>{let{specSelectors:e,specActions:r,path:n,method:a}=this.props;return r.validateParams([n,a]),e.validateBeforeExecute([n,a])};handleValidateRequestBody=()=>{let{path:e,method:r,specSelectors:n,oas3Selectors:a,oas3Actions:o}=this.props,p={missingBodyValue:!1,missingRequiredKeys:[]};o.clearRequestBodyValidateError({path:e,method:r});let c=n.getOAS3RequiredRequestBodyContentType([e,r]),d=a.requestBodyValue(e,r),E=a.validateBeforeExecute([e,r]),x=a.requestContentType(e,r);if(!E)return p.missingBodyValue=!0,o.setRequestBodyValidateError({path:e,method:r,validationErrors:p}),!1;if(!c)return!0;let k=a.validateShallowRequired({oas3RequiredRequestBodyContentType:c,oas3RequestContentType:x,oas3RequestBodyValue:d});return!k||k.length<1||(k.forEach((P=>{p.missingRequiredKeys.push(P)})),o.setRequestBodyValidateError({path:e,method:r,validationErrors:p}),!1)};handleValidationResultPass=()=>{let{specActions:e,operation:r,path:n,method:a}=this.props;this.props.onExecute&&this.props.onExecute(),e.execute({operation:r,path:n,method:a})};handleValidationResultFail=()=>{let{specActions:e,path:r,method:n}=this.props;e.clearValidateParams([r,n]),setTimeout((()=>{e.validateParams([r,n])}),40)};handleValidationResult=e=>{e?this.handleValidationResultPass():this.handleValidationResultFail()};onClick=()=>{let e=this.handleValidateParameters(),r=this.handleValidateRequestBody(),n=e&&r;this.handleValidationResult(n)};onChangeProducesWrapper=e=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],e);render(){const{disabled:e}=this.props;return u.createElement("button",{className:"btn execute opblock-control__btn",onClick:this.onClick,disabled:e},"Execute")}}class b7 extends u.Component{render(){let{headers:e,getComponent:r}=this.props;const n=r("Property"),a=r("Markdown",!0);return e&&e.size?u.createElement("div",{className:"headers-wrapper"},u.createElement("h4",{className:"headers__title"},"Headers:"),u.createElement("table",{className:"headers"},u.createElement("thead",null,u.createElement("tr",{className:"header-row"},u.createElement("th",{className:"header-col"},"Name"),u.createElement("th",{className:"header-col"},"Description"),u.createElement("th",{className:"header-col"},"Type"))),u.createElement("tbody",null,e.entrySeq().map((([o,p])=>{if(!H.default.Map.isMap(p))return null;const c=p.get("description"),d=p.getIn(["schema"])?p.getIn(["schema","type"]):p.getIn(["type"]),E=p.getIn(["schema","example"]);return u.createElement("tr",{key:o},u.createElement("td",{className:"header-col"},o),u.createElement("td",{className:"header-col"},c?u.createElement(a,{source:c}):null),u.createElement("td",{className:"header-col"},d," ",E?u.createElement(n,{propKey:"Example",propVal:E,propClass:"header-example"}):null))})).toArray()))):null}}class w7 extends u.Component{render(){let{editorActions:e,errSelectors:r,layoutSelectors:n,layoutActions:a,getComponent:o}=this.props;const p=o("Collapse");if(e&&e.jumpToLine)var c=e.jumpToLine;let d=r.allErrors().filter((k=>k.get("type")==="thrown"||k.get("level")==="error"));if(!d||d.count()<1)return null;let E=n.isShown(["errorPane"],!0),x=d.sortBy((k=>k.get("line")));return u.createElement("pre",{className:"errors-wrapper"},u.createElement("hgroup",{className:"error"},u.createElement("h4",{className:"errors__title"},"Errors"),u.createElement("button",{className:"btn errors__clear-btn",onClick:()=>a.show(["errorPane"],!E)},E?"Hide":"Show")),u.createElement(p,{isOpened:E,animated:!0},u.createElement("div",{className:"errors"},x.map(((k,P)=>{let R=k.get("type");return R==="thrown"||R==="auth"?u.createElement(E7,{key:P,error:k.get("error")||k,jumpToLine:c}):R==="spec"?u.createElement(S7,{key:P,error:k,jumpToLine:c}):void 0})))))}}const E7=({error:t,jumpToLine:e})=>{if(!t)return null;let r=t.get("line");return u.createElement("div",{className:"error-wrapper"},t?u.createElement("div",null,u.createElement("h4",null,t.get("source")&&t.get("level")?e_(t.get("source"))+" "+t.get("level"):"",t.get("path")?u.createElement("small",null," at ",t.get("path")):null),u.createElement("span",{className:"message thrown"},t.get("message")),u.createElement("div",{className:"error-line"},r&&e?u.createElement("a",{onClick:e.bind(null,r)},"Jump to line ",r):null)):null)},S7=({error:t,jumpToLine:e=null})=>{let r=null;return t.get("path")?r=H.List.isList(t.get("path"))?u.createElement("small",null,"at ",t.get("path").join(".")):u.createElement("small",null,"at ",t.get("path")):t.get("line")&&!e&&(r=u.createElement("small",null,"on line ",t.get("line"))),u.createElement("div",{className:"error-wrapper"},t?u.createElement("div",null,u.createElement("h4",null,e_(t.get("source"))+" "+t.get("level")," ",r),u.createElement("span",{className:"message"},t.get("message")),u.createElement("div",{className:"error-line"},e?u.createElement("a",{onClick:e.bind(null,t.get("line"))},"Jump to line ",t.get("line")):null)):null)};function e_(t){return(t||"").split(" ").map((e=>e[0].toUpperCase()+e.slice(1))).join(" ")}const x7=()=>{};class _7 extends u.Component{static defaultProps={onChange:x7,value:null,contentTypes:(0,H.fromJS)(["application/json"])};componentDidMount(){const{contentTypes:e,onChange:r}=this.props;e&&e.size&&r(e.first())}componentDidUpdate(){const{contentTypes:e,value:r,onChange:n}=this.props;e&&e.size&&(e.includes(r)||n(e.first()))}onChangeWrapper=e=>this.props.onChange(e.target.value);render(){let{ariaControls:e,ariaLabel:r,className:n,contentTypes:a,controlId:o,value:p}=this.props;return a&&a.size?u.createElement("div",{className:"content-type-wrapper "+(n||"")},u.createElement("select",{"aria-controls":e,"aria-label":r,className:"content-type",id:o,onChange:this.onChangeWrapper,value:p||""},a.map((c=>u.createElement("option",{key:c,value:c},c))).toArray())):null}}function Im(...t){return t.filter((e=>!!e)).join(" ").trim()}class O7 extends u.Component{render(){let{fullscreen:e,full:r,...n}=this.props;if(e)return u.createElement("section",n);let a="swagger-container"+(r?"-full":"");return u.createElement("section",Yr()({},n,{className:Im(n.className,a)}))}}const z1={mobile:"",tablet:"-tablet",desktop:"-desktop",large:"-hd"};class k7 extends u.Component{render(){const{hide:e,keepContents:r,mobile:n,tablet:a,desktop:o,large:p,...c}=this.props;if(e&&!r)return u.createElement("span",null);let d=[];for(let x in z1){if(!Object.prototype.hasOwnProperty.call(z1,x))continue;let k=z1[x];if(x in this.props){let P=this.props[x];if(P<1){d.push("none"+k);continue}d.push("block"+k),d.push("col-"+P+k)}}e&&d.push("hidden");let E=Im(c.className,...d);return u.createElement("section",Yr()({},c,{className:E}))}}class A7 extends u.Component{render(){return u.createElement("div",Yr()({},this.props,{className:Im(this.props.className,"wrapper")}))}}class C7 extends u.Component{static defaultProps={className:""};render(){return u.createElement("button",Yr()({},this.props,{className:Im(this.props.className,"button")}))}}const j7=t=>u.createElement("textarea",t),P7=t=>u.createElement("input",t);class N7 extends u.Component{static defaultProps={multiple:!1,allowEmptyValue:!0};constructor(e,r){let n;super(e,r),n=e.value?e.value:e.multiple?[""]:"",this.state={value:n}}onChange=e=>{let r,{onChange:n,multiple:a}=this.props,o=[].slice.call(e.target.options);r=a?o.filter((function(p){return p.selected})).map((function(p){return p.value})):e.target.value,this.setState({value:r}),n&&n(r)};UNSAFE_componentWillReceiveProps(e){e.value!==this.props.value&&this.setState({value:e.value})}render(){let{allowedValues:e,multiple:r,allowEmptyValue:n,disabled:a}=this.props,o=this.state.value?.toJS?.()||this.state.value;return u.createElement("select",{className:this.props.className,multiple:r,value:o,onChange:this.onChange,disabled:a},n?u.createElement("option",{value:""},"--"):null,e.map((function(p,c){return u.createElement("option",{key:c,value:String(p)},String(p))})))}}class t_ extends u.Component{render(){return u.createElement("a",Yr()({},this.props,{rel:"noopener noreferrer",className:Im(this.props.className,"link")}))}}const r_=({children:t})=>u.createElement("div",{className:"no-margin"}," ",t," ");class T7 extends u.Component{static defaultProps={isOpened:!1,animated:!1};renderNotAnimated(){return this.props.isOpened?u.createElement(r_,null,this.props.children):u.createElement("noscript",null)}render(){let{animated:e,isOpened:r,children:n}=this.props;return e?(n=r?n:null,u.createElement(r_,null,n)):this.renderNotAnimated()}}class I7 extends u.Component{constructor(...e){super(...e),this.setTagShown=this._setTagShown.bind(this)}_setTagShown(e,r){this.props.layoutActions.show(e,r)}showOp(e,r){let{layoutActions:n}=this.props;n.show(e,r)}render(){let{specSelectors:e,layoutSelectors:r,layoutActions:n,getComponent:a}=this.props,o=e.taggedOperations();const p=a("Collapse");return u.createElement("div",null,u.createElement("h4",{className:"overview-title"},"Overview"),o.map(((c,d)=>{let E=c.get("operations"),x=["overview-tags",d],k=r.isShown(x,!0);return u.createElement("div",{key:"overview-"+d},u.createElement("h4",{onClick:()=>n.show(x,!k),className:"link overview-tag"}," ",k?"-":"+",d),u.createElement(p,{isOpened:k,animated:!0},E.map((P=>{let{path:R,method:L,id:V}=P.toObject(),Q="operations",J=V,re=r.isShown([Q,J]);return u.createElement(M7,{key:V,path:R,method:L,id:R+"-"+L,shown:re,showOpId:J,showOpIdPrefix:Q,href:`#operation-${J}`,onClick:n.show})})).toArray()))})).valueSeq().toArray(),o.size<1&&u.createElement("h3",null," No operations defined in spec! "))}}class M7 extends u.Component{constructor(e){super(e),this.onClick=this._onClick.bind(this)}_onClick(){let{showOpId:e,showOpIdPrefix:r,onClick:n,shown:a}=this.props;n([r,e],!a)}render(){let{id:e,method:r,shown:n,href:a}=this.props;return u.createElement(t_,{href:a,onClick:this.onClick,className:"block opblock-link "+(n?"shown":"")},u.createElement("div",null,u.createElement("small",{className:`bold-label-${r}`},r.toUpperCase()),u.createElement("span",{className:"bold-label"},e)))}}class R7 extends u.Component{componentDidMount(){this.props.initialValue&&(this.inputRef.value=this.props.initialValue)}render(){const{value:e,defaultValue:r,initialValue:n,...a}=this.props;return u.createElement("input",Yr()({},a,{ref:o=>this.inputRef=o}))}}class D7 extends u.Component{render(){const{host:e,basePath:r}=this.props;return u.createElement("pre",{className:"base-url"},"[ Base URL: ",e,r," ]")}}class F7 extends u.PureComponent{render(){const{url:e,getComponent:r}=this.props,n=r("Link");return u.createElement(n,{target:"_blank",href:Dr(e)},u.createElement("span",{className:"url"}," ",e))}}class L7 extends u.Component{render(){const{info:e,url:r,host:n,basePath:a,getComponent:o,externalDocs:p,selectedServer:c,url:d}=this.props,E=e.get("version"),x=e.get("description"),k=e.get("title"),P=ba(e.get("termsOfService"),d,{selectedServer:c}),R=e.get("contact"),L=e.get("license"),V=ba(p&&p.get("url"),d,{selectedServer:c}),Q=p&&p.get("description"),J=o("Markdown",!0),re=o("Link"),me=o("VersionStamp"),le=o("OpenAPIVersion"),ve=o("InfoUrl"),be=o("InfoBasePath"),ce=o("License"),_e=o("Contact");return u.createElement("div",{className:"info"},u.createElement("hgroup",{className:"main"},u.createElement("h1",{className:"title"},k,u.createElement("span",null,E&&u.createElement(me,{version:E}),u.createElement(le,{oasVersion:"2.0"}))),n||a?u.createElement(be,{host:n,basePath:a}):null,r&&u.createElement(ve,{getComponent:o,url:r})),u.createElement("div",{className:"description"},u.createElement(J,{source:x})),P&&u.createElement("div",{className:"info__tos"},u.createElement(re,{target:"_blank",href:Dr(P)},"Terms of service")),R?.size>0&&u.createElement(_e,{getComponent:o,data:R,selectedServer:c,url:r}),L?.size>0&&u.createElement(ce,{getComponent:o,license:L,selectedServer:c,url:r}),V?u.createElement(re,{className:"info__extdocs",target:"_blank",href:Dr(V)},Q||V):null)}}const $7=L7;class B7 extends u.Component{render(){const{specSelectors:e,getComponent:r,oas3Selectors:n}=this.props,a=e.info(),o=e.url(),p=e.basePath(),c=e.host(),d=e.externalDocs(),E=n.selectedServer(),x=r("info");return u.createElement("div",null,a&&a.count()?u.createElement(x,{info:a,url:o,host:c,basePath:p,externalDocs:d,getComponent:r,selectedServer:E}):null)}}class q7 extends u.Component{render(){const{data:e,getComponent:r,selectedServer:n,url:a}=this.props,o=e.get("name","the developer"),p=ba(e.get("url"),a,{selectedServer:n}),c=e.get("email"),d=r("Link");return u.createElement("div",{className:"info__contact"},p&&u.createElement("div",null,u.createElement(d,{href:Dr(p),target:"_blank"},o," - Website")),c&&u.createElement(d,{href:Dr(`mailto:${c}`)},p?`Send email to ${o}`:`Contact ${o}`))}}const U7=q7;class z7 extends u.Component{render(){const{license:e,getComponent:r,selectedServer:n,url:a}=this.props,o=e.get("name","License"),p=ba(e.get("url"),a,{selectedServer:n}),c=r("Link");return u.createElement("div",{className:"info__license"},p?u.createElement("div",{className:"info__license__url"},u.createElement(c,{target:"_blank",href:Dr(p)},o)):u.createElement("span",null,o))}}const V7=z7;class J7 extends u.Component{render(){return null}}const Ov="Copy path to clipboard";class W7 extends u.Component{render(){let{getComponent:e}=this.props;const r=e("CopyIcon");return u.createElement("div",{className:"view-line-link copy-to-clipboard",title:Ov,"aria-label":Ov},u.createElement(cu.CopyToClipboard,{text:this.props.textToCopy},u.createElement("button",{"aria-label":Ov,title:Ov,type:"button"},u.createElement(r,null))))}}class H7 extends u.Component{render(){return u.createElement("div",{className:"footer"})}}class K7 extends u.Component{onFilterChange=e=>{const{target:{value:r}}=e;this.props.layoutActions.updateFilter(r)};render(){const{specSelectors:e,layoutSelectors:r,getComponent:n}=this.props,a=n("Col"),o=e.loadingStatus()==="loading",p=e.loadingStatus()==="failed",c=r.currentFilter(),d=["operation-filter-input"];return p&&d.push("failed"),o&&d.push("loading"),u.createElement("div",null,c===!1?null:u.createElement("div",{className:"filter-container"},u.createElement(a,{className:"filter wrapper",mobile:12},u.createElement("input",{className:d.join(" "),placeholder:"Filter by tag",type:"text",onChange:this.onFilterChange,value:typeof c=="string"?c:"",disabled:o}))))}}const V1=Function.prototype;class J1 extends u.PureComponent{static defaultProp={consumes:(0,H.fromJS)(["application/json"]),param:(0,H.fromJS)({}),onChange:V1,onChangeConsumes:V1};constructor(e,r){super(e,r),this.state={isEditBox:!1,value:""}}componentDidMount(){this.updateValues.call(this,this.props)}UNSAFE_componentWillReceiveProps(e){this.updateValues.call(this,e)}updateValues=e=>{let{param:r,isExecute:n,consumesValue:a=""}=e,o=/xml/i.test(a),p=/json/i.test(a),c=o?r.get("value_xml"):r.get("value");if(c!==void 0){let d=!c&&p?"{}":c;this.setState({value:d}),this.onChange(d,{isXml:o,isEditBox:n})}else o?this.onChange(this.sample("xml"),{isXml:o,isEditBox:n}):this.onChange(this.sample(),{isEditBox:n})};sample=e=>{let{param:r,fn:n}=this.props,a=n.inferSchema(r.toJS());return n.getSampleSchema(a,e,{includeWriteOnly:!0})};onChange=(e,{isEditBox:r,isXml:n})=>{this.setState({value:e,isEditBox:r}),this._onChange(e,n)};_onChange=(e,r)=>{(this.props.onChange||V1)(e,r)};handleOnChange=e=>{const{consumesValue:r}=this.props,n=/xml/i.test(r),a=e.target.value;this.onChange(a,{isXml:n,isEditBox:this.state.isEditBox})};toggleIsEditBox=()=>this.setState((e=>({isEditBox:!e.isEditBox})));render(){let{onChangeConsumes:e,param:r,isExecute:n,specSelectors:a,pathMethod:o,getComponent:p}=this.props;const c=p("Button"),d=p("TextArea"),E=p("HighlightCode",!0),x=p("contentType");let k=(a?a.parameterWithMetaByIdentity(o,r):r).get("errors",(0,H.List)()),P=a.contentTypeValues(o).get("requestContentType"),R=this.props.consumes&&this.props.consumes.size?this.props.consumes:J1.defaultProp.consumes,{value:L,isEditBox:V}=this.state,Q=null;_v(L)&&(Q="json");const J=`${B1(`${o[1]}${o[0]}_parameters`)}_select`;return u.createElement("div",{className:"body-param","data-param-name":r.get("name"),"data-param-in":r.get("in")},V&&n?u.createElement(d,{className:"body-param__text"+(k.count()?" invalid":""),value:L,onChange:this.handleOnChange}):L&&u.createElement(E,{className:"body-param__example",language:Q},L),u.createElement("div",{className:"body-param-options"},n?u.createElement("div",{className:"body-param-edit"},u.createElement(c,{className:V?"btn cancel body-param__example-edit":"btn edit body-param__example-edit",onClick:this.toggleIsEditBox},V?"Cancel":"Edit")):null,u.createElement("label",{htmlFor:J},u.createElement("span",null,"Parameter content type"),u.createElement(x,{value:P,contentTypes:R,onChange:e,className:"body-param-content-type",ariaLabel:"Parameter content type",controlId:J}))))}}const kv="Copy cURL command to clipboard";class G7 extends u.Component{render(){const{request:e,getComponent:r}=this.props,n=mp(e),a=r("SyntaxHighlighter",!0);return u.createElement("div",{className:"curl-command"},u.createElement("h4",null,"Curl"),u.createElement("div",{className:"copy-to-clipboard",title:kv,"aria-label":kv},u.createElement(cu.CopyToClipboard,{text:n},u.createElement("button",{"aria-label":kv,title:kv,type:"button"}))),u.createElement("div",null,u.createElement(a,{language:"bash",className:"curl microlight",renderPlainText:({children:o,PlainTextViewer:p})=>u.createElement(p,{className:"curl"},o)},n)))}}const Y7=({propKey:t,propVal:e,propClass:r})=>u.createElement("span",{className:r},u.createElement("br",null),t,": ",Gr(e));class X7 extends u.Component{static defaultProps={onTryoutClick:Function.prototype,onCancelClick:Function.prototype,onResetClick:Function.prototype,enabled:!1,hasUserEditedBody:!1,isOAS3:!1};render(){const{onTryoutClick:e,onCancelClick:r,onResetClick:n,enabled:a,hasUserEditedBody:o,isOAS3:p}=this.props,c=p&&o;return u.createElement("div",{className:c?"try-out btn-group":"try-out"},a?u.createElement("button",{className:"btn try-out__btn cancel",onClick:r},"Cancel"):u.createElement("button",{className:"btn try-out__btn",onClick:e},"Try it out "),c&&u.createElement("button",{className:"btn try-out__btn reset",onClick:n},"Reset"))}}class Q7 extends u.PureComponent{static defaultProps={alsoShow:null,children:null,bypass:!1};render(){const{bypass:e,isSwagger2:r,isOAS3:n,alsoShow:a}=this.props;return e?u.createElement("div",null,this.props.children):r&&n?u.createElement("div",{className:"version-pragma"},a,u.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},u.createElement("div",null,u.createElement("h3",null,"Unable to render this definition"),u.createElement("p",null,u.createElement("code",null,"swagger")," and ",u.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),u.createElement("p",null,"Supported version fields are ",u.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",u.createElement("code",null,"openapi: 3.0.n")," (for example, ",u.createElement("code",null,"openapi: 3.0.4"),").")))):r||n?u.createElement("div",null,this.props.children):u.createElement("div",{className:"version-pragma"},a,u.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},u.createElement("div",null,u.createElement("h3",null,"Unable to render this definition"),u.createElement("p",null,"The provided definition does not specify a valid version field."),u.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",u.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",u.createElement("code",null,"openapi: 3.0.n")," (for example, ",u.createElement("code",null,"openapi: 3.0.4"),")."))))}}const Z7=({version:t})=>u.createElement("small",null,u.createElement("pre",{className:"version"}," ",t," ")),eD=({oasVersion:t})=>u.createElement("small",{className:"version-stamp"},u.createElement("pre",{className:"version"},"OAS ",t)),tD=({enabled:t,path:e,text:r})=>u.createElement("a",{className:"nostyle",onClick:t?n=>n.preventDefault():null,href:t?`#/${e}`:null},u.createElement("span",null,r)),rD=()=>u.createElement("div",null,u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"svg-assets"},u.createElement("defs",null,u.createElement("symbol",{viewBox:"0 0 20 20",id:"unlocked"},u.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"})),u.createElement("symbol",{viewBox:"0 0 20 20",id:"locked"},u.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"})),u.createElement("symbol",{viewBox:"0 0 20 20",id:"close"},u.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"})),u.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow"},u.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"})),u.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-down"},u.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"})),u.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-up"},u.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"})),u.createElement("symbol",{viewBox:"0 0 24 24",id:"jump-to"},u.createElement("path",{d:"M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"})),u.createElement("symbol",{viewBox:"0 0 24 24",id:"expand"},u.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"})),u.createElement("symbol",{viewBox:"0 0 15 16",id:"copy"},u.createElement("g",{transform:"translate(2, -1)"},u.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"}))))));var W1;function n_(t){return(W1=W1||document.createElement("textarea")).innerHTML="&"+t+";",W1.value}var nD=Object.prototype.hasOwnProperty;function aD(t,e){return!!t&&nD.call(t,e)}function a_(t){return[].slice.call(arguments,1).forEach((function(e){if(e){if(typeof e!="object")throw new TypeError(e+"must be object");Object.keys(e).forEach((function(r){t[r]=e[r]}))}})),t}var oD=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function Mm(t){return t.indexOf("\\")<0?t:t.replace(oD,"$1")}function o_(t){return!(t>=55296&&t<=57343)&&!(t>=64976&&t<=65007)&&!!(65535&~t&&(65535&t)!=65534)&&!(t>=0&&t<=8)&&t!==11&&!(t>=14&&t<=31)&&!(t>=127&&t<=159)&&!(t>1114111)}function H1(t){if(t>65535){var e=55296+((t-=65536)>>10),r=56320+(1023&t);return String.fromCharCode(e,r)}return String.fromCharCode(t)}var iD=/&([a-z#][a-z0-9]{1,31});/gi,sD=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function lD(t,e){var r=0,n=n_(e);return e!==n?n:e.charCodeAt(0)===35&&sD.test(e)&&o_(r=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10))?H1(r):t}function Hp(t){return t.indexOf("&")<0?t:t.replace(iD,lD)}var cD=/[&<>"]/,uD=/[&<>"]/g,pD={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function hD(t){return pD[t]}function Mi(t){return cD.test(t)?t.replace(uD,hD):t}var fr={};function i_(t,e){return++e>=t.length-2?e:t[e].type==="paragraph_open"&&t[e].tight&&t[e+1].type==="inline"&&t[e+1].content.length===0&&t[e+2].type==="paragraph_close"&&t[e+2].tight?i_(t,e+2):e}fr.blockquote_open=function(){return`<blockquote>
`},fr.blockquote_close=function(t,e){return"</blockquote>"+Kp(t,e)},fr.code=function(t,e){return t[e].block?"<pre><code>"+Mi(t[e].content)+"</code></pre>"+Kp(t,e):"<code>"+Mi(t[e].content)+"</code>"},fr.fence=function(t,e,r,n,a){var o,p,c=t[e],d="",E=r.langPrefix;if(c.params){if(p=(o=c.params.split(/\s+/g)).join(" "),aD(a.rules.fence_custom,o[0]))return a.rules.fence_custom[o[0]](t,e,r,n,a);d=' class="'+E+Mi(Hp(Mm(p)))+'"'}return"<pre><code"+d+">"+(r.highlight&&r.highlight.apply(r.highlight,[c.content].concat(o))||Mi(c.content))+"</code></pre>"+Kp(t,e)},fr.fence_custom={},fr.heading_open=function(t,e){return"<h"+t[e].hLevel+">"},fr.heading_close=function(t,e){return"</h"+t[e].hLevel+`>
`},fr.hr=function(t,e,r){return(r.xhtmlOut?"<hr />":"<hr>")+Kp(t,e)},fr.bullet_list_open=function(){return`<ul>
`},fr.bullet_list_close=function(t,e){return"</ul>"+Kp(t,e)},fr.list_item_open=function(){return"<li>"},fr.list_item_close=function(){return`</li>
`},fr.ordered_list_open=function(t,e){var r=t[e];return"<ol"+(r.order>1?' start="'+r.order+'"':"")+`>
`},fr.ordered_list_close=function(t,e){return"</ol>"+Kp(t,e)},fr.paragraph_open=function(t,e){return t[e].tight?"":"<p>"},fr.paragraph_close=function(t,e){var r=!(t[e].tight&&e&&t[e-1].type==="inline"&&!t[e-1].content);return(t[e].tight?"":"</p>")+(r?Kp(t,e):"")},fr.link_open=function(t,e,r){var n=t[e].title?' title="'+Mi(Hp(t[e].title))+'"':"",a=r.linkTarget?' target="'+r.linkTarget+'"':"";return'<a href="'+Mi(t[e].href)+'"'+n+a+">"},fr.link_close=function(){return"</a>"},fr.image=function(t,e,r){var n=' src="'+Mi(t[e].src)+'"',a=t[e].title?' title="'+Mi(Hp(t[e].title))+'"':"";return"<img"+n+(' alt="'+(t[e].alt?Mi(Hp(Mm(t[e].alt))):"")+'"')+a+(r.xhtmlOut?" /":"")+">"},fr.table_open=function(){return`<table>
`},fr.table_close=function(){return`</table>
`},fr.thead_open=function(){return`<thead>
`},fr.thead_close=function(){return`</thead>
`},fr.tbody_open=function(){return`<tbody>
`},fr.tbody_close=function(){return`</tbody>
`},fr.tr_open=function(){return"<tr>"},fr.tr_close=function(){return`</tr>
`},fr.th_open=function(t,e){var r=t[e];return"<th"+(r.align?' style="text-align:'+r.align+'"':"")+">"},fr.th_close=function(){return"</th>"},fr.td_open=function(t,e){var r=t[e];return"<td"+(r.align?' style="text-align:'+r.align+'"':"")+">"},fr.td_close=function(){return"</td>"},fr.strong_open=function(){return"<strong>"},fr.strong_close=function(){return"</strong>"},fr.em_open=function(){return"<em>"},fr.em_close=function(){return"</em>"},fr.del_open=function(){return"<del>"},fr.del_close=function(){return"</del>"},fr.ins_open=function(){return"<ins>"},fr.ins_close=function(){return"</ins>"},fr.mark_open=function(){return"<mark>"},fr.mark_close=function(){return"</mark>"},fr.sub=function(t,e){return"<sub>"+Mi(t[e].content)+"</sub>"},fr.sup=function(t,e){return"<sup>"+Mi(t[e].content)+"</sup>"},fr.hardbreak=function(t,e,r){return r.xhtmlOut?`<br />
`:`<br>
`},fr.softbreak=function(t,e,r){return r.breaks?r.xhtmlOut?`<br />
`:`<br>
`:`
`},fr.text=function(t,e){return Mi(t[e].content)},fr.htmlblock=function(t,e){return t[e].content},fr.htmltag=function(t,e){return t[e].content},fr.abbr_open=function(t,e){return'<abbr title="'+Mi(Hp(t[e].title))+'">'},fr.abbr_close=function(){return"</abbr>"},fr.footnote_ref=function(t,e){var r=Number(t[e].id+1).toString(),n="fnref"+r;return t[e].subId>0&&(n+=":"+t[e].subId),'<sup class="footnote-ref"><a href="#fn'+r+'" id="'+n+'">['+r+"]</a></sup>"},fr.footnote_block_open=function(t,e,r){return(r.xhtmlOut?`<hr class="footnotes-sep" />
`:`<hr class="footnotes-sep">
`)+`<section class="footnotes">
<ol class="footnotes-list">
`},fr.footnote_block_close=function(){return`</ol>
</section>
`},fr.footnote_open=function(t,e){return'<li id="fn'+Number(t[e].id+1).toString()+'" class="footnote-item">'},fr.footnote_close=function(){return`</li>
`},fr.footnote_anchor=function(t,e){var r="fnref"+Number(t[e].id+1).toString();return t[e].subId>0&&(r+=":"+t[e].subId),' <a href="#'+r+'" class="footnote-backref">↩</a>'},fr.dl_open=function(){return`<dl>
`},fr.dt_open=function(){return"<dt>"},fr.dd_open=function(){return"<dd>"},fr.dl_close=function(){return`</dl>
`},fr.dt_close=function(){return`</dt>
`},fr.dd_close=function(){return`</dd>
`};var Kp=fr.getBreak=function(e,r){return(r=i_(e,r))<e.length&&e[r].type==="list_item_close"?"":`
`};function K1(){this.rules=a_({},fr),this.getBreak=fr.getBreak}function Ri(){this.__rules__=[],this.__cache__=null}function Gp(t,e,r,n,a){this.src=t,this.env=n,this.options=r,this.parser=e,this.tokens=a,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.isInLabel=!1,this.linkLevel=0,this.linkContent="",this.labelUnmatchedScopes=0}function Rm(t,e){var r,n,a,o=-1,p=t.posMax,c=t.pos,d=t.isInLabel;if(t.isInLabel)return-1;if(t.labelUnmatchedScopes)return t.labelUnmatchedScopes--,-1;for(t.pos=e+1,t.isInLabel=!0,r=1;t.pos<p;){if((a=t.src.charCodeAt(t.pos))===91)r++;else if(a===93&&--r===0){n=!0;break}t.parser.skipToken(t)}return n?(o=t.pos,t.labelUnmatchedScopes=0):t.labelUnmatchedScopes=r-1,t.pos=c,t.isInLabel=d,o}function dD(t,e,r,n){var a,o,p,c,d,E;if(t.charCodeAt(0)!==42||t.charCodeAt(1)!==91||t.indexOf("]:")===-1||(o=Rm(a=new Gp(t,e,r,n,[]),1))<0||t.charCodeAt(o+1)!==58)return-1;for(c=a.posMax,p=o+2;p<c&&a.src.charCodeAt(p)!==10;p++);return d=t.slice(2,o),(E=t.slice(o+2,p).trim()).length===0?-1:(n.abbreviations||(n.abbreviations={}),n.abbreviations[":"+d]===void 0&&(n.abbreviations[":"+d]=E),p)}function G1(t){var e=Hp(t);try{e=decodeURI(e)}catch{}return encodeURI(e)}function s_(t,e){var r,n,a,o=e,p=t.posMax;if(t.src.charCodeAt(e)===60){for(e++;e<p;){if((r=t.src.charCodeAt(e))===10)return!1;if(r===62)return a=G1(Mm(t.src.slice(o+1,e))),!!t.parser.validateLink(a)&&(t.pos=e+1,t.linkContent=a,!0);r===92&&e+1<p?e+=2:e++}return!1}for(n=0;e<p&&(r=t.src.charCodeAt(e))!==32&&!(r<32||r===127);)if(r===92&&e+1<p)e+=2;else{if(r===40&&++n>1||r===41&&--n<0)break;e++}return o!==e&&(a=Mm(t.src.slice(o,e)),!!t.parser.validateLink(a)&&(t.linkContent=a,t.pos=e,!0))}function l_(t,e){var r,n=e,a=t.posMax,o=t.src.charCodeAt(e);if(o!==34&&o!==39&&o!==40)return!1;for(e++,o===40&&(o=41);e<a;){if((r=t.src.charCodeAt(e))===o)return t.pos=e+1,t.linkContent=Mm(t.src.slice(n+1,e)),!0;r===92&&e+1<a?e+=2:e++}return!1}function c_(t){return t.trim().replace(/\s+/g," ").toUpperCase()}function fD(t,e,r,n){var a,o,p,c,d,E,x,k,P;if(t.charCodeAt(0)!==91||t.indexOf("]:")===-1||(o=Rm(a=new Gp(t,e,r,n,[]),0))<0||t.charCodeAt(o+1)!==58)return-1;for(c=a.posMax,p=o+2;p<c&&((d=a.src.charCodeAt(p))===32||d===10);p++);if(!s_(a,p))return-1;for(x=a.linkContent,E=p=a.pos,p+=1;p<c&&((d=a.src.charCodeAt(p))===32||d===10);p++);for(p<c&&E!==p&&l_(a,p)?(k=a.linkContent,p=a.pos):(k="",p=E);p<c&&a.src.charCodeAt(p)===32;)p++;return p<c&&a.src.charCodeAt(p)!==10?-1:(P=c_(t.slice(1,o)),n.references[P]===void 0&&(n.references[P]={title:k,href:x}),p)}K1.prototype.renderInline=function(t,e,r){for(var n=this.rules,a=t.length,o=0,p="";a--;)p+=n[t[o].type](t,o++,e,r,this);return p},K1.prototype.render=function(t,e,r){for(var n=this.rules,a=t.length,o=-1,p="";++o<a;)t[o].type==="inline"?p+=this.renderInline(t[o].children,e,r):p+=n[t[o].type](t,o,e,r,this);return p},Ri.prototype.__find__=function(t){for(var e=this.__rules__.length,r=-1;e--;)if(this.__rules__[++r].name===t)return r;return-1},Ri.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach((function(r){r.enabled&&r.alt.forEach((function(n){e.indexOf(n)<0&&e.push(n)}))})),t.__cache__={},e.forEach((function(r){t.__cache__[r]=[],t.__rules__.forEach((function(n){n.enabled&&(r&&n.alt.indexOf(r)<0||t.__cache__[r].push(n.fn))}))}))},Ri.prototype.at=function(t,e,r){var n=this.__find__(t),a=r||{};if(n===-1)throw new Error("Parser rule not found: "+t);this.__rules__[n].fn=e,this.__rules__[n].alt=a.alt||[],this.__cache__=null},Ri.prototype.before=function(t,e,r,n){var a=this.__find__(t),o=n||{};if(a===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(a,0,{name:e,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null},Ri.prototype.after=function(t,e,r,n){var a=this.__find__(t),o=n||{};if(a===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(a+1,0,{name:e,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null},Ri.prototype.push=function(t,e,r){var n=r||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:n.alt||[]}),this.__cache__=null},Ri.prototype.enable=function(t,e){t=Array.isArray(t)?t:[t],e&&this.__rules__.forEach((function(r){r.enabled=!1})),t.forEach((function(r){var n=this.__find__(r);if(n<0)throw new Error("Rules manager: invalid rule name "+r);this.__rules__[n].enabled=!0}),this),this.__cache__=null},Ri.prototype.disable=function(t){(t=Array.isArray(t)?t:[t]).forEach((function(e){var r=this.__find__(e);if(r<0)throw new Error("Rules manager: invalid rule name "+e);this.__rules__[r].enabled=!1}),this),this.__cache__=null},Ri.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]},Gp.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},Gp.prototype.push=function(t){this.pending&&this.pushPending(),this.tokens.push(t),this.pendingLevel=this.level},Gp.prototype.cacheSet=function(t,e){for(var r=this.cache.length;r<=t;r++)this.cache.push(0);this.cache[t]=e},Gp.prototype.cacheGet=function(t){return t<this.cache.length?this.cache[t]:0};var u_=`
()[]'".,!?-`;function Y1(t){return t.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}var mD=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,gD=/\((c|tm|r|p)\)/gi,yD={c:"©",r:"®",p:"§",tm:"™"};function vD(t){return t.indexOf("(")<0?t:t.replace(gD,(function(e,r){return yD[r.toLowerCase()]}))}var bD=/['"]/,p_=/['"]/g,wD=/[-\s()\[\]]/;function h_(t,e){return!(e<0||e>=t.length)&&!wD.test(t[e])}function dd(t,e,r){return t.substr(0,e)+r+t.substr(e+1)}var X1=[["block",function(e){e.inlineMode?e.tokens.push({type:"inline",content:e.src.replace(/\n/g," ").trim(),level:0,lines:[0,1],children:[]}):e.block.parse(e.src,e.options,e.env,e.tokens)}],["abbr",function(e){var r,n,a,o,p=e.tokens;if(!e.inlineMode){for(r=1,n=p.length-1;r<n;r++)if(p[r-1].type==="paragraph_open"&&p[r].type==="inline"&&p[r+1].type==="paragraph_close"){for(a=p[r].content;a.length&&!((o=dD(a,e.inline,e.options,e.env))<0);)a=a.slice(o).trim();p[r].content=a,a.length||(p[r-1].tight=!0,p[r+1].tight=!0)}}}],["references",function(e){var r,n,a,o,p=e.tokens;if(e.env.references=e.env.references||{},!e.inlineMode){for(r=1,n=p.length-1;r<n;r++)if(p[r].type==="inline"&&p[r-1].type==="paragraph_open"&&p[r+1].type==="paragraph_close"){for(a=p[r].content;a.length&&!((o=fD(a,e.inline,e.options,e.env))<0);)a=a.slice(o).trim();p[r].content=a,a.length||(p[r-1].tight=!0,p[r+1].tight=!0)}}}],["inline",function(e){var r,n,a,o=e.tokens;for(n=0,a=o.length;n<a;n++)(r=o[n]).type==="inline"&&e.inline.parse(r.content,e.options,e.env,r.children)}],["footnote_tail",function(e){var r,n,a,o,p,c,d,E,x,k=0,P=!1,R={};if(e.env.footnotes&&(e.tokens=e.tokens.filter((function(L){return L.type==="footnote_reference_open"?(P=!0,E=[],x=L.label,!1):L.type==="footnote_reference_close"?(P=!1,R[":"+x]=E,!1):(P&&E.push(L),!P)})),e.env.footnotes.list)){for(c=e.env.footnotes.list,e.tokens.push({type:"footnote_block_open",level:k++}),r=0,n=c.length;r<n;r++){for(e.tokens.push({type:"footnote_open",id:r,level:k++}),c[r].tokens?((d=[]).push({type:"paragraph_open",tight:!1,level:k++}),d.push({type:"inline",content:"",level:k,children:c[r].tokens}),d.push({type:"paragraph_close",tight:!1,level:--k})):c[r].label&&(d=R[":"+c[r].label]),e.tokens=e.tokens.concat(d),p=e.tokens[e.tokens.length-1].type==="paragraph_close"?e.tokens.pop():null,o=c[r].count>0?c[r].count:1,a=0;a<o;a++)e.tokens.push({type:"footnote_anchor",id:r,subId:a,level:k});p&&e.tokens.push(p),e.tokens.push({type:"footnote_close",level:--k})}e.tokens.push({type:"footnote_block_close",level:--k})}}],["abbr2",function(e){var r,n,a,o,p,c,d,E,x,k,P,R,L=e.tokens;if(e.env.abbreviations){for(e.env.abbrRegExp||(R="(^|["+u_.split("").map(Y1).join("")+"])("+Object.keys(e.env.abbreviations).map((function(V){return V.substr(1)})).sort((function(V,Q){return Q.length-V.length})).map(Y1).join("|")+")($|["+u_.split("").map(Y1).join("")+"])",e.env.abbrRegExp=new RegExp(R,"g")),k=e.env.abbrRegExp,n=0,a=L.length;n<a;n++)if(L[n].type==="inline"){for(r=(o=L[n].children).length-1;r>=0;r--)if((p=o[r]).type==="text"){for(E=0,c=p.content,k.lastIndex=0,x=p.level,d=[];P=k.exec(c);)k.lastIndex>E&&d.push({type:"text",content:c.slice(E,P.index+P[1].length),level:x}),d.push({type:"abbr_open",title:e.env.abbreviations[":"+P[2]],level:x++}),d.push({type:"text",content:P[2],level:x}),d.push({type:"abbr_close",level:--x}),E=k.lastIndex-P[3].length;d.length&&(E<c.length&&d.push({type:"text",content:c.slice(E),level:x}),L[n].children=o=[].concat(o.slice(0,r),d,o.slice(r+1)))}}}}],["replacements",function(e){var r,n,a,o,p;if(e.options.typographer){for(p=e.tokens.length-1;p>=0;p--)if(e.tokens[p].type==="inline")for(r=(o=e.tokens[p].children).length-1;r>=0;r--)(n=o[r]).type==="text"&&(a=vD(a=n.content),mD.test(a)&&(a=a.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1$2")),n.content=a)}}],["smartquotes",function(e){var r,n,a,o,p,c,d,E,x,k,P,R,L,V,Q,J,re;if(e.options.typographer){for(re=[],Q=e.tokens.length-1;Q>=0;Q--)if(e.tokens[Q].type==="inline"){for(J=e.tokens[Q].children,re.length=0,r=0;r<J.length;r++)if((n=J[r]).type==="text"&&!bD.test(n.text)){for(d=J[r].level,L=re.length-1;L>=0&&!(re[L].level<=d);L--);re.length=L+1,p=0,c=(a=n.content).length;e:for(;p<c&&(p_.lastIndex=p,o=p_.exec(a));)if(E=!h_(a,o.index-1),p=o.index+1,V=o[0]==="'",(x=!h_(a,p))||E){if(P=!x,R=!E){for(L=re.length-1;L>=0&&(k=re[L],!(re[L].level<d));L--)if(k.single===V&&re[L].level===d){k=re[L],V?(J[k.token].content=dd(J[k.token].content,k.pos,e.options.quotes[2]),n.content=dd(n.content,o.index,e.options.quotes[3])):(J[k.token].content=dd(J[k.token].content,k.pos,e.options.quotes[0]),n.content=dd(n.content,o.index,e.options.quotes[1])),re.length=L;continue e}}P?re.push({token:r,pos:o.index,single:V,level:d}):R&&V&&(n.content=dd(n.content,o.index,""))}else V&&(n.content=dd(n.content,o.index,""))}}}}]];function d_(){this.options={},this.ruler=new Ri;for(var t=0;t<X1.length;t++)this.ruler.push(X1[t][0],X1[t][1])}function Yp(t,e,r,n,a){var o,p,c,d,E,x,k;for(this.src=t,this.parser=e,this.options=r,this.env=n,this.tokens=a,this.bMarks=[],this.eMarks=[],this.tShift=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.ddIndent=-1,this.level=0,this.result="",x=0,k=!1,c=d=x=0,E=(p=this.src).length;d<E;d++){if(o=p.charCodeAt(d),!k){if(o===32){x++;continue}k=!0}o!==10&&d!==E-1||(o!==10&&d++,this.bMarks.push(c),this.eMarks.push(d),this.tShift.push(x),k=!1,x=0,c=d+1)}this.bMarks.push(p.length),this.eMarks.push(p.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}function f_(t,e){var r,n,a;return(n=t.bMarks[e]+t.tShift[e])>=(a=t.eMarks[e])||(r=t.src.charCodeAt(n++))!==42&&r!==45&&r!==43||n<a&&t.src.charCodeAt(n)!==32?-1:n}function m_(t,e){var r,n=t.bMarks[e]+t.tShift[e],a=t.eMarks[e];if(n+1>=a||(r=t.src.charCodeAt(n++))<48||r>57)return-1;for(;;){if(n>=a)return-1;if(!((r=t.src.charCodeAt(n++))>=48&&r<=57)){if(r===41||r===46)break;return-1}}return n<a&&t.src.charCodeAt(n)!==32?-1:n}d_.prototype.process=function(t){var e,r,n;for(e=0,r=(n=this.ruler.getRules("")).length;e<r;e++)n[e](t)},Yp.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},Yp.prototype.skipEmptyLines=function(e){for(var r=this.lineMax;e<r&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},Yp.prototype.skipSpaces=function(e){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===32;e++);return e},Yp.prototype.skipChars=function(e,r){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===r;e++);return e},Yp.prototype.skipCharsBack=function(e,r,n){if(e<=n)return e;for(;e>n;)if(r!==this.src.charCodeAt(--e))return e+1;return e},Yp.prototype.getLines=function(e,r,n,a){var o,p,c,d,E,x=e;if(e>=r)return"";if(x+1===r)return p=this.bMarks[x]+Math.min(this.tShift[x],n),c=a?this.eMarks[x]+1:this.eMarks[x],this.src.slice(p,c);for(d=new Array(r-e),o=0;x<r;x++,o++)(E=this.tShift[x])>n&&(E=n),E<0&&(E=0),p=this.bMarks[x]+E,c=x+1<r||a?this.eMarks[x]+1:this.eMarks[x],d[o]=this.src.slice(p,c);return d.join("")};var g_={};["article","aside","button","blockquote","body","canvas","caption","col","colgroup","dd","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","iframe","li","map","object","ol","output","p","pre","progress","script","section","style","table","tbody","td","textarea","tfoot","th","tr","thead","ul","video"].forEach((function(t){g_[t]=!0}));var ED=/^<([a-zA-Z]{1,15})[\s\/>]/,SD=/^<\/([a-zA-Z]{1,15})[\s>]/;function Q1(t,e){var r=t.bMarks[e]+t.blkIndent,n=t.eMarks[e];return t.src.substr(r,n-r)}function Av(t,e){var r,n,a=t.bMarks[e]+t.tShift[e],o=t.eMarks[e];return a>=o||(n=t.src.charCodeAt(a++))!==126&&n!==58||a===(r=t.skipSpaces(a))||r>=o?-1:r}var Cv=[["code",function(e,r,n){var a,o;if(e.tShift[r]-e.blkIndent<4)return!1;for(o=a=r+1;a<n;)if(e.isEmpty(a))a++;else{if(!(e.tShift[a]-e.blkIndent>=4))break;o=++a}return e.line=a,e.tokens.push({type:"code",content:e.getLines(r,o,4+e.blkIndent,!0),block:!0,lines:[r,e.line],level:e.level}),!0}],["fences",function(e,r,n,a){var o,p,c,d,E,x=!1,k=e.bMarks[r]+e.tShift[r],P=e.eMarks[r];if(k+3>P||(o=e.src.charCodeAt(k))!==126&&o!==96||(E=k,(p=(k=e.skipChars(k,o))-E)<3)||(c=e.src.slice(k,P).trim()).indexOf("`")>=0)return!1;if(a)return!0;for(d=r;!(++d>=n)&&!((k=E=e.bMarks[d]+e.tShift[d])<(P=e.eMarks[d])&&e.tShift[d]<e.blkIndent);)if(e.src.charCodeAt(k)===o&&!(e.tShift[d]-e.blkIndent>=4||(k=e.skipChars(k,o))-E<p||(k=e.skipSpaces(k))<P)){x=!0;break}return p=e.tShift[r],e.line=d+(x?1:0),e.tokens.push({type:"fence",params:c,content:e.getLines(r+1,d,p,!0),lines:[r,e.line],level:e.level}),!0},["paragraph","blockquote","list"]],["blockquote",function(e,r,n,a){var o,p,c,d,E,x,k,P,R,L,V,Q=e.bMarks[r]+e.tShift[r],J=e.eMarks[r];if(Q>J||e.src.charCodeAt(Q++)!==62||e.level>=e.options.maxNesting)return!1;if(a)return!0;for(e.src.charCodeAt(Q)===32&&Q++,E=e.blkIndent,e.blkIndent=0,d=[e.bMarks[r]],e.bMarks[r]=Q,p=(Q=Q<J?e.skipSpaces(Q):Q)>=J,c=[e.tShift[r]],e.tShift[r]=Q-e.bMarks[r],P=e.parser.ruler.getRules("blockquote"),o=r+1;o<n&&!((Q=e.bMarks[o]+e.tShift[o])>=(J=e.eMarks[o]));o++)if(e.src.charCodeAt(Q++)!==62){if(p)break;for(V=!1,R=0,L=P.length;R<L;R++)if(P[R](e,o,n,!0)){V=!0;break}if(V)break;d.push(e.bMarks[o]),c.push(e.tShift[o]),e.tShift[o]=-1337}else e.src.charCodeAt(Q)===32&&Q++,d.push(e.bMarks[o]),e.bMarks[o]=Q,p=(Q=Q<J?e.skipSpaces(Q):Q)>=J,c.push(e.tShift[o]),e.tShift[o]=Q-e.bMarks[o];for(x=e.parentType,e.parentType="blockquote",e.tokens.push({type:"blockquote_open",lines:k=[r,0],level:e.level++}),e.parser.tokenize(e,r,o),e.tokens.push({type:"blockquote_close",level:--e.level}),e.parentType=x,k[1]=e.line,R=0;R<c.length;R++)e.bMarks[R+r]=d[R],e.tShift[R+r]=c[R];return e.blkIndent=E,!0},["paragraph","blockquote","list"]],["hr",function(e,r,n,a){var o,p,c,d=e.bMarks[r],E=e.eMarks[r];if((d+=e.tShift[r])>E||(o=e.src.charCodeAt(d++))!==42&&o!==45&&o!==95)return!1;for(p=1;d<E;){if((c=e.src.charCodeAt(d++))!==o&&c!==32)return!1;c===o&&p++}return!(p<3)&&(a||(e.line=r+1,e.tokens.push({type:"hr",lines:[r,e.line],level:e.level})),!0)},["paragraph","blockquote","list"]],["list",function(e,r,n,a){var o,p,c,d,E,x,k,P,R,L,V,Q,J,re,me,le,ve,be,ce,_e,Ae,xe=!0;if((P=m_(e,r))>=0)Q=!0;else{if(!((P=f_(e,r))>=0))return!1;Q=!1}if(e.level>=e.options.maxNesting)return!1;if(V=e.src.charCodeAt(P-1),a)return!0;for(re=e.tokens.length,Q?(k=e.bMarks[r]+e.tShift[r],L=Number(e.src.substr(k,P-k-1)),e.tokens.push({type:"ordered_list_open",order:L,lines:le=[r,0],level:e.level++})):e.tokens.push({type:"bullet_list_open",lines:le=[r,0],level:e.level++}),o=r,me=!1,be=e.parser.ruler.getRules("list");!(!(o<n)||((R=(J=e.skipSpaces(P))>=e.eMarks[o]?1:J-P)>4&&(R=1),R<1&&(R=1),p=P-e.bMarks[o]+R,e.tokens.push({type:"list_item_open",lines:ve=[r,0],level:e.level++}),d=e.blkIndent,E=e.tight,c=e.tShift[r],x=e.parentType,e.tShift[r]=J-e.bMarks[r],e.blkIndent=p,e.tight=!0,e.parentType="list",e.parser.tokenize(e,r,n,!0),e.tight&&!me||(xe=!1),me=e.line-r>1&&e.isEmpty(e.line-1),e.blkIndent=d,e.tShift[r]=c,e.tight=E,e.parentType=x,e.tokens.push({type:"list_item_close",level:--e.level}),o=r=e.line,ve[1]=o,J=e.bMarks[r],o>=n)||e.isEmpty(o)||e.tShift[o]<e.blkIndent);){for(Ae=!1,ce=0,_e=be.length;ce<_e;ce++)if(be[ce](e,o,n,!0)){Ae=!0;break}if(Ae)break;if(Q){if((P=m_(e,o))<0)break}else if((P=f_(e,o))<0)break;if(V!==e.src.charCodeAt(P-1))break}return e.tokens.push({type:Q?"ordered_list_close":"bullet_list_close",level:--e.level}),le[1]=o,e.line=o,xe&&(function(je,G){var de,Ne,Ye=je.level+2;for(de=G+2,Ne=je.tokens.length-2;de<Ne;de++)je.tokens[de].level===Ye&&je.tokens[de].type==="paragraph_open"&&(je.tokens[de+2].tight=!0,je.tokens[de].tight=!0,de+=2)})(e,re),!0},["paragraph","blockquote"]],["footnote",function(e,r,n,a){var o,p,c,d,E,x=e.bMarks[r]+e.tShift[r],k=e.eMarks[r];if(x+4>k||e.src.charCodeAt(x)!==91||e.src.charCodeAt(x+1)!==94||e.level>=e.options.maxNesting)return!1;for(d=x+2;d<k;d++){if(e.src.charCodeAt(d)===32)return!1;if(e.src.charCodeAt(d)===93)break}return d!==x+2&&!(d+1>=k||e.src.charCodeAt(++d)!==58)&&(a||(d++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),E=e.src.slice(x+2,d-2),e.env.footnotes.refs[":"+E]=-1,e.tokens.push({type:"footnote_reference_open",label:E,level:e.level++}),o=e.bMarks[r],p=e.tShift[r],c=e.parentType,e.tShift[r]=e.skipSpaces(d)-d,e.bMarks[r]=d,e.blkIndent+=4,e.parentType="footnote",e.tShift[r]<e.blkIndent&&(e.tShift[r]+=e.blkIndent,e.bMarks[r]-=e.blkIndent),e.parser.tokenize(e,r,n,!0),e.parentType=c,e.blkIndent-=4,e.tShift[r]=p,e.bMarks[r]=o,e.tokens.push({type:"footnote_reference_close",level:--e.level})),!0)},["paragraph"]],["heading",function(e,r,n,a){var o,p,c,d=e.bMarks[r]+e.tShift[r],E=e.eMarks[r];if(d>=E||(o=e.src.charCodeAt(d))!==35||d>=E)return!1;for(p=1,o=e.src.charCodeAt(++d);o===35&&d<E&&p<=6;)p++,o=e.src.charCodeAt(++d);return!(p>6||d<E&&o!==32)&&(a||(E=e.skipCharsBack(E,32,d),(c=e.skipCharsBack(E,35,d))>d&&e.src.charCodeAt(c-1)===32&&(E=c),e.line=r+1,e.tokens.push({type:"heading_open",hLevel:p,lines:[r,e.line],level:e.level}),d<E&&e.tokens.push({type:"inline",content:e.src.slice(d,E).trim(),level:e.level+1,lines:[r,e.line],children:[]}),e.tokens.push({type:"heading_close",hLevel:p,level:e.level})),!0)},["paragraph","blockquote"]],["lheading",function(e,r,n){var a,o,p,c=r+1;return!(c>=n)&&!(e.tShift[c]<e.blkIndent)&&!(e.tShift[c]-e.blkIndent>3)&&!((o=e.bMarks[c]+e.tShift[c])>=(p=e.eMarks[c]))&&((a=e.src.charCodeAt(o))===45||a===61)&&(o=e.skipChars(o,a),!((o=e.skipSpaces(o))<p)&&(o=e.bMarks[r]+e.tShift[r],e.line=c+1,e.tokens.push({type:"heading_open",hLevel:a===61?1:2,lines:[r,e.line],level:e.level}),e.tokens.push({type:"inline",content:e.src.slice(o,e.eMarks[r]).trim(),level:e.level+1,lines:[r,e.line-1],children:[]}),e.tokens.push({type:"heading_close",hLevel:a===61?1:2,level:e.level}),!0))}],["htmlblock",function(e,r,n,a){var o,p,c,d=e.bMarks[r],E=e.eMarks[r],x=e.tShift[r];if(d+=x,!e.options.html||x>3||d+2>=E||e.src.charCodeAt(d)!==60)return!1;if((o=e.src.charCodeAt(d+1))===33||o===63){if(a)return!0}else{if(o!==47&&!(function(P){var R=32|P;return R>=97&&R<=122})(o))return!1;if(o===47){if(!(p=e.src.slice(d,E).match(SD)))return!1}else if(!(p=e.src.slice(d,E).match(ED)))return!1;if(g_[p[1].toLowerCase()]!==!0)return!1;if(a)return!0}for(c=r+1;c<e.lineMax&&!e.isEmpty(c);)c++;return e.line=c,e.tokens.push({type:"htmlblock",level:e.level,lines:[r,e.line],content:e.getLines(r,c,0,!0)}),!0},["paragraph","blockquote"]],["table",function(e,r,n,a){var o,p,c,d,E,x,k,P,R,L,V;if(r+2>n||(E=r+1,e.tShift[E]<e.blkIndent)||(c=e.bMarks[E]+e.tShift[E])>=e.eMarks[E]||(o=e.src.charCodeAt(c))!==124&&o!==45&&o!==58||(p=Q1(e,r+1),!/^[-:| ]+$/.test(p))||(x=p.split("|"))<=2)return!1;for(P=[],d=0;d<x.length;d++){if(!(R=x[d].trim())){if(d===0||d===x.length-1)continue;return!1}if(!/^:?-+:?$/.test(R))return!1;R.charCodeAt(R.length-1)===58?P.push(R.charCodeAt(0)===58?"center":"right"):R.charCodeAt(0)===58?P.push("left"):P.push("")}if((p=Q1(e,r).trim()).indexOf("|")===-1||(x=p.replace(/^\||\|$/g,"").split("|"),P.length!==x.length))return!1;if(a)return!0;for(e.tokens.push({type:"table_open",lines:L=[r,0],level:e.level++}),e.tokens.push({type:"thead_open",lines:[r,r+1],level:e.level++}),e.tokens.push({type:"tr_open",lines:[r,r+1],level:e.level++}),d=0;d<x.length;d++)e.tokens.push({type:"th_open",align:P[d],lines:[r,r+1],level:e.level++}),e.tokens.push({type:"inline",content:x[d].trim(),lines:[r,r+1],level:e.level,children:[]}),e.tokens.push({type:"th_close",level:--e.level});for(e.tokens.push({type:"tr_close",level:--e.level}),e.tokens.push({type:"thead_close",level:--e.level}),e.tokens.push({type:"tbody_open",lines:V=[r+2,0],level:e.level++}),E=r+2;E<n&&!(e.tShift[E]<e.blkIndent)&&(p=Q1(e,E).trim()).indexOf("|")!==-1;E++){for(x=p.replace(/^\||\|$/g,"").split("|"),e.tokens.push({type:"tr_open",level:e.level++}),d=0;d<x.length;d++)e.tokens.push({type:"td_open",align:P[d],level:e.level++}),k=x[d].substring(x[d].charCodeAt(0)===124?1:0,x[d].charCodeAt(x[d].length-1)===124?x[d].length-1:x[d].length).trim(),e.tokens.push({type:"inline",content:k,level:e.level,children:[]}),e.tokens.push({type:"td_close",level:--e.level});e.tokens.push({type:"tr_close",level:--e.level})}return e.tokens.push({type:"tbody_close",level:--e.level}),e.tokens.push({type:"table_close",level:--e.level}),L[1]=V[1]=E,e.line=E,!0},["paragraph"]],["deflist",function(e,r,n,a){var o,p,c,d,E,x,k,P,R,L,V,Q,J,re;if(a)return!(e.ddIndent<0)&&Av(e,r)>=0;if(k=r+1,e.isEmpty(k)&&++k>n||e.tShift[k]<e.blkIndent||(o=Av(e,k))<0||e.level>=e.options.maxNesting)return!1;x=e.tokens.length,e.tokens.push({type:"dl_open",lines:E=[r,0],level:e.level++}),c=r,p=k;e:for(;;){for(re=!0,J=!1,e.tokens.push({type:"dt_open",lines:[c,c],level:e.level++}),e.tokens.push({type:"inline",content:e.getLines(c,c+1,e.blkIndent,!1).trim(),level:e.level+1,lines:[c,c],children:[]}),e.tokens.push({type:"dt_close",level:--e.level});;){if(e.tokens.push({type:"dd_open",lines:d=[k,0],level:e.level++}),Q=e.tight,R=e.ddIndent,P=e.blkIndent,V=e.tShift[p],L=e.parentType,e.blkIndent=e.ddIndent=e.tShift[p]+2,e.tShift[p]=o-e.bMarks[p],e.tight=!0,e.parentType="deflist",e.parser.tokenize(e,p,n,!0),e.tight&&!J||(re=!1),J=e.line-p>1&&e.isEmpty(e.line-1),e.tShift[p]=V,e.tight=Q,e.parentType=L,e.blkIndent=P,e.ddIndent=R,e.tokens.push({type:"dd_close",level:--e.level}),d[1]=k=e.line,k>=n||e.tShift[k]<e.blkIndent)break e;if((o=Av(e,k))<0)break;p=k}if(k>=n||(c=k,e.isEmpty(c))||e.tShift[c]<e.blkIndent||(p=c+1)>=n||(e.isEmpty(p)&&p++,p>=n)||e.tShift[p]<e.blkIndent||(o=Av(e,p))<0)break}return e.tokens.push({type:"dl_close",level:--e.level}),E[1]=k,e.line=k,re&&(function(le,ve){var be,ce,_e=le.level+2;for(be=ve+2,ce=le.tokens.length-2;be<ce;be++)le.tokens[be].level===_e&&le.tokens[be].type==="paragraph_open"&&(le.tokens[be+2].tight=!0,le.tokens[be].tight=!0,be+=2)})(e,x),!0},["paragraph"]],["paragraph",function(e,r){var n,a,o,p,c,d,E=r+1;if(E<(n=e.lineMax)&&!e.isEmpty(E)){for(d=e.parser.ruler.getRules("paragraph");E<n&&!e.isEmpty(E);E++)if(!(e.tShift[E]-e.blkIndent>3)){for(o=!1,p=0,c=d.length;p<c;p++)if(d[p](e,E,n,!0)){o=!0;break}if(o)break}}return a=e.getLines(r,E,e.blkIndent,!1).trim(),e.line=E,a.length&&(e.tokens.push({type:"paragraph_open",tight:!1,lines:[r,e.line],level:e.level}),e.tokens.push({type:"inline",content:a,level:e.level+1,lines:[r,e.line],children:[]}),e.tokens.push({type:"paragraph_close",tight:!1,level:e.level})),!0}]];function Z1(){this.ruler=new Ri;for(var t=0;t<Cv.length;t++)this.ruler.push(Cv[t][0],Cv[t][1],{alt:(Cv[t][2]||[]).slice()})}Z1.prototype.tokenize=function(t,e,r){for(var n,a=this.ruler.getRules(""),o=a.length,p=e,c=!1;p<r&&(t.line=p=t.skipEmptyLines(p),!(p>=r))&&!(t.tShift[p]<t.blkIndent);){for(n=0;n<o&&!a[n](t,p,r,!1);n++);if(t.tight=!c,t.isEmpty(t.line-1)&&(c=!0),(p=t.line)<r&&t.isEmpty(p)){if(c=!0,++p<r&&t.parentType==="list"&&t.isEmpty(p))break;t.line=p}}};var xD=/[\n\t]/g,_D=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,OD=/\u00a0/g;function kD(t){switch(t){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}}Z1.prototype.parse=function(t,e,r,n){var a,o=0,p=0;if(!t)return[];(t=(t=t.replace(OD," ")).replace(_D,`
`)).indexOf(" ")>=0&&(t=t.replace(xD,(function(c,d){var E;return t.charCodeAt(d)===10?(o=d+1,p=0,c):(E=" ".slice((d-o-p)%4),p=d-o+1,E)}))),a=new Yp(t,this,e,r,n),this.tokenize(a,a.line,a.lineMax)};for(var ew=[],y_=0;y_<256;y_++)ew.push(0);function v_(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}function b_(t,e){var r,n,a,o=e,p=!0,c=!0,d=t.posMax,E=t.src.charCodeAt(e);for(r=e>0?t.src.charCodeAt(e-1):-1;o<d&&t.src.charCodeAt(o)===E;)o++;return o>=d&&(p=!1),(a=o-e)>=4?p=c=!1:((n=o<d?t.src.charCodeAt(o):-1)!==32&&n!==10||(p=!1),r!==32&&r!==10||(c=!1),E===95&&(v_(r)&&(p=!1),v_(n)&&(c=!1))),{can_open:p,can_close:c,delims:a}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(t){ew[t.charCodeAt(0)]=1}));var AD=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,CD=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,jD=["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"],PD=/^<([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])?)*)>/,ND=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function jv(t,e){return t=t.source,e=e||"",function r(n,a){return n?(a=a.source||a,t=t.replace(n,a),r):new RegExp(t,e)}}var TD=jv(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",/[^"'=<>`\x00-\x20]+/)("single_quoted",/'[^']*'/)("double_quoted",/"[^"]*"/)(),ID=jv(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",/[a-zA-Z_:][a-zA-Z0-9:._-]*/)("attr_value",TD)(),MD=jv(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",ID)(),RD=jv(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",MD)("close_tag",/<\/[A-Za-z][A-Za-z0-9]*\s*>/)("comment",/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/)("processing",/<[?].*?[?]>/)("declaration",/<![A-Z]+\s+[^>]*>/)("cdata",/<!\[CDATA\[[\s\S]*?\]\]>/)(),DD=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,FD=/^&([a-z][a-z0-9]{1,31});/i,tw=[["text",function(e,r){for(var n=e.pos;n<e.posMax&&!kD(e.src.charCodeAt(n));)n++;return n!==e.pos&&(r||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}],["newline",function(e,r){var n,a,o=e.pos;if(e.src.charCodeAt(o)!==10)return!1;if(n=e.pending.length-1,a=e.posMax,!r)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){for(var p=n-2;p>=0;p--)if(e.pending.charCodeAt(p)!==32){e.pending=e.pending.substring(0,p+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(o++;o<a&&e.src.charCodeAt(o)===32;)o++;return e.pos=o,!0}],["escape",function(e,r){var n,a=e.pos,o=e.posMax;if(e.src.charCodeAt(a)!==92)return!1;if(++a<o){if((n=e.src.charCodeAt(a))<256&&ew[n]!==0)return r||(e.pending+=e.src[a]),e.pos+=2,!0;if(n===10){for(r||e.push({type:"hardbreak",level:e.level}),a++;a<o&&e.src.charCodeAt(a)===32;)a++;return e.pos=a,!0}}return r||(e.pending+="\\"),e.pos++,!0}],["backticks",function(e,r){var n,a,o,p,c,d=e.pos;if(e.src.charCodeAt(d)!==96)return!1;for(n=d,d++,a=e.posMax;d<a&&e.src.charCodeAt(d)===96;)d++;for(o=e.src.slice(n,d),p=c=d;(p=e.src.indexOf("`",c))!==-1;){for(c=p+1;c<a&&e.src.charCodeAt(c)===96;)c++;if(c-p===o.length)return r||e.push({type:"code",content:e.src.slice(d,p).replace(/[ \n]+/g," ").trim(),block:!1,level:e.level}),e.pos=c,!0}return r||(e.pending+=o),e.pos+=o.length,!0}],["del",function(e,r){var n,a,o,p,c,d=e.posMax,E=e.pos;if(e.src.charCodeAt(E)!==126||r||E+4>=d||e.src.charCodeAt(E+1)!==126||e.level>=e.options.maxNesting||(p=E>0?e.src.charCodeAt(E-1):-1,c=e.src.charCodeAt(E+2),p===126)||c===126||c===32||c===10)return!1;for(a=E+2;a<d&&e.src.charCodeAt(a)===126;)a++;if(a>E+3)return e.pos+=a-E,r||(e.pending+=e.src.slice(E,a)),!0;for(e.pos=E+2,o=1;e.pos+1<d;){if(e.src.charCodeAt(e.pos)===126&&e.src.charCodeAt(e.pos+1)===126&&(p=e.src.charCodeAt(e.pos-1),(c=e.pos+2<d?e.src.charCodeAt(e.pos+2):-1)!==126&&p!==126&&(p!==32&&p!==10?o--:c!==32&&c!==10&&o++,o<=0))){n=!0;break}e.parser.skipToken(e)}return n?(e.posMax=e.pos,e.pos=E+2,r||(e.push({type:"del_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"del_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=d,!0):(e.pos=E,!1)}],["ins",function(e,r){var n,a,o,p,c,d=e.posMax,E=e.pos;if(e.src.charCodeAt(E)!==43||r||E+4>=d||e.src.charCodeAt(E+1)!==43||e.level>=e.options.maxNesting||(p=E>0?e.src.charCodeAt(E-1):-1,c=e.src.charCodeAt(E+2),p===43)||c===43||c===32||c===10)return!1;for(a=E+2;a<d&&e.src.charCodeAt(a)===43;)a++;if(a!==E+2)return e.pos+=a-E,r||(e.pending+=e.src.slice(E,a)),!0;for(e.pos=E+2,o=1;e.pos+1<d;){if(e.src.charCodeAt(e.pos)===43&&e.src.charCodeAt(e.pos+1)===43&&(p=e.src.charCodeAt(e.pos-1),(c=e.pos+2<d?e.src.charCodeAt(e.pos+2):-1)!==43&&p!==43&&(p!==32&&p!==10?o--:c!==32&&c!==10&&o++,o<=0))){n=!0;break}e.parser.skipToken(e)}return n?(e.posMax=e.pos,e.pos=E+2,r||(e.push({type:"ins_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"ins_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=d,!0):(e.pos=E,!1)}],["mark",function(e,r){var n,a,o,p,c,d=e.posMax,E=e.pos;if(e.src.charCodeAt(E)!==61||r||E+4>=d||e.src.charCodeAt(E+1)!==61||e.level>=e.options.maxNesting||(p=E>0?e.src.charCodeAt(E-1):-1,c=e.src.charCodeAt(E+2),p===61)||c===61||c===32||c===10)return!1;for(a=E+2;a<d&&e.src.charCodeAt(a)===61;)a++;if(a!==E+2)return e.pos+=a-E,r||(e.pending+=e.src.slice(E,a)),!0;for(e.pos=E+2,o=1;e.pos+1<d;){if(e.src.charCodeAt(e.pos)===61&&e.src.charCodeAt(e.pos+1)===61&&(p=e.src.charCodeAt(e.pos-1),(c=e.pos+2<d?e.src.charCodeAt(e.pos+2):-1)!==61&&p!==61&&(p!==32&&p!==10?o--:c!==32&&c!==10&&o++,o<=0))){n=!0;break}e.parser.skipToken(e)}return n?(e.posMax=e.pos,e.pos=E+2,r||(e.push({type:"mark_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"mark_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=d,!0):(e.pos=E,!1)}],["emphasis",function(e,r){var n,a,o,p,c,d,E,x=e.posMax,k=e.pos,P=e.src.charCodeAt(k);if(P!==95&&P!==42||r)return!1;if(n=(E=b_(e,k)).delims,!E.can_open)return e.pos+=n,r||(e.pending+=e.src.slice(k,e.pos)),!0;if(e.level>=e.options.maxNesting)return!1;for(e.pos=k+n,d=[n];e.pos<x;)if(e.src.charCodeAt(e.pos)!==P)e.parser.skipToken(e);else{if(a=(E=b_(e,e.pos)).delims,E.can_close){for(p=d.pop(),c=a;p!==c;){if(c<p){d.push(p-c);break}if(c-=p,d.length===0)break;e.pos+=p,p=d.pop()}if(d.length===0){n=p,o=!0;break}e.pos+=a;continue}E.can_open&&d.push(a),e.pos+=a}return o?(e.posMax=e.pos,e.pos=k+n,r||(n!==2&&n!==3||e.push({type:"strong_open",level:e.level++}),n!==1&&n!==3||e.push({type:"em_open",level:e.level++}),e.parser.tokenize(e),n!==1&&n!==3||e.push({type:"em_close",level:--e.level}),n!==2&&n!==3||e.push({type:"strong_close",level:--e.level})),e.pos=e.posMax+n,e.posMax=x,!0):(e.pos=k,!1)}],["sub",function(e,r){var n,a,o=e.posMax,p=e.pos;if(e.src.charCodeAt(p)!==126||r||p+2>=o||e.level>=e.options.maxNesting)return!1;for(e.pos=p+1;e.pos<o;){if(e.src.charCodeAt(e.pos)===126){n=!0;break}e.parser.skipToken(e)}return n&&p+1!==e.pos?(a=e.src.slice(p+1,e.pos)).match(/(^|[^\\])(\\\\)*\s/)?(e.pos=p,!1):(e.posMax=e.pos,e.pos=p+1,r||e.push({type:"sub",level:e.level,content:a.replace(AD,"$1")}),e.pos=e.posMax+1,e.posMax=o,!0):(e.pos=p,!1)}],["sup",function(e,r){var n,a,o=e.posMax,p=e.pos;if(e.src.charCodeAt(p)!==94||r||p+2>=o||e.level>=e.options.maxNesting)return!1;for(e.pos=p+1;e.pos<o;){if(e.src.charCodeAt(e.pos)===94){n=!0;break}e.parser.skipToken(e)}return n&&p+1!==e.pos?(a=e.src.slice(p+1,e.pos)).match(/(^|[^\\])(\\\\)*\s/)?(e.pos=p,!1):(e.posMax=e.pos,e.pos=p+1,r||e.push({type:"sup",level:e.level,content:a.replace(CD,"$1")}),e.pos=e.posMax+1,e.posMax=o,!0):(e.pos=p,!1)}],["links",function(e,r){var n,a,o,p,c,d,E,x,k=!1,P=e.pos,R=e.posMax,L=e.pos,V=e.src.charCodeAt(L);if(V===33&&(k=!0,V=e.src.charCodeAt(++L)),V!==91||e.level>=e.options.maxNesting||(n=L+1,(a=Rm(e,L))<0))return!1;if((d=a+1)<R&&e.src.charCodeAt(d)===40){for(d++;d<R&&((x=e.src.charCodeAt(d))===32||x===10);d++);if(d>=R)return!1;for(L=d,s_(e,d)?(p=e.linkContent,d=e.pos):p="",L=d;d<R&&((x=e.src.charCodeAt(d))===32||x===10);d++);if(d<R&&L!==d&&l_(e,d))for(c=e.linkContent,d=e.pos;d<R&&((x=e.src.charCodeAt(d))===32||x===10);d++);else c="";if(d>=R||e.src.charCodeAt(d)!==41)return e.pos=P,!1;d++}else{if(e.linkLevel>0)return!1;for(;d<R&&((x=e.src.charCodeAt(d))===32||x===10);d++);if(d<R&&e.src.charCodeAt(d)===91&&(L=d+1,(d=Rm(e,d))>=0?o=e.src.slice(L,d++):d=L-1),o||(o===void 0&&(d=a+1),o=e.src.slice(n,a)),!(E=e.env.references[c_(o)]))return e.pos=P,!1;p=E.href,c=E.title}return r||(e.pos=n,e.posMax=a,k?e.push({type:"image",src:p,title:c,alt:e.src.substr(n,a-n),level:e.level}):(e.push({type:"link_open",href:p,title:c,level:e.level++}),e.linkLevel++,e.parser.tokenize(e),e.linkLevel--,e.push({type:"link_close",level:--e.level}))),e.pos=d,e.posMax=R,!0}],["footnote_inline",function(e,r){var n,a,o,p,c=e.posMax,d=e.pos;return!(d+2>=c)&&e.src.charCodeAt(d)===94&&e.src.charCodeAt(d+1)===91&&!(e.level>=e.options.maxNesting)&&(n=d+2,!((a=Rm(e,d+1))<0)&&(r||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),o=e.env.footnotes.list.length,e.pos=n,e.posMax=a,e.push({type:"footnote_ref",id:o,level:e.level}),e.linkLevel++,p=e.tokens.length,e.parser.tokenize(e),e.env.footnotes.list[o]={tokens:e.tokens.splice(p)},e.linkLevel--),e.pos=a+1,e.posMax=c,!0))}],["footnote_ref",function(e,r){var n,a,o,p,c=e.posMax,d=e.pos;if(d+3>c||!e.env.footnotes||!e.env.footnotes.refs||e.src.charCodeAt(d)!==91||e.src.charCodeAt(d+1)!==94||e.level>=e.options.maxNesting)return!1;for(a=d+2;a<c;a++){if(e.src.charCodeAt(a)===32||e.src.charCodeAt(a)===10)return!1;if(e.src.charCodeAt(a)===93)break}return a!==d+2&&!(a>=c)&&(a++,n=e.src.slice(d+2,a-1),e.env.footnotes.refs[":"+n]!==void 0&&(r||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[":"+n]<0?(o=e.env.footnotes.list.length,e.env.footnotes.list[o]={label:n,count:0},e.env.footnotes.refs[":"+n]=o):o=e.env.footnotes.refs[":"+n],p=e.env.footnotes.list[o].count,e.env.footnotes.list[o].count++,e.push({type:"footnote_ref",id:o,subId:p,level:e.level})),e.pos=a,e.posMax=c,!0))}],["autolink",function(e,r){var n,a,o,p,c,d=e.pos;return e.src.charCodeAt(d)===60&&!((n=e.src.slice(d)).indexOf(">")<0)&&((a=n.match(ND))?!(jD.indexOf(a[1].toLowerCase())<0)&&(c=G1(p=a[0].slice(1,-1)),!!e.parser.validateLink(p)&&(r||(e.push({type:"link_open",href:c,level:e.level}),e.push({type:"text",content:p,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=a[0].length,!0)):!!(o=n.match(PD))&&(c=G1("mailto:"+(p=o[0].slice(1,-1))),!!e.parser.validateLink(c)&&(r||(e.push({type:"link_open",href:c,level:e.level}),e.push({type:"text",content:p,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=o[0].length,!0)))}],["htmltag",function(e,r){var n,a,o,p=e.pos;return!!e.options.html&&(o=e.posMax,!(e.src.charCodeAt(p)!==60||p+2>=o)&&!((n=e.src.charCodeAt(p+1))!==33&&n!==63&&n!==47&&!(function(d){var E=32|d;return E>=97&&E<=122})(n))&&!!(a=e.src.slice(p).match(RD))&&(r||e.push({type:"htmltag",content:e.src.slice(p,p+a[0].length),level:e.level}),e.pos+=a[0].length,!0))}],["entity",function(e,r){var n,a,o=e.pos,p=e.posMax;if(e.src.charCodeAt(o)!==38)return!1;if(o+1<p){if(e.src.charCodeAt(o+1)===35){if(a=e.src.slice(o).match(DD))return r||(n=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),e.pending+=o_(n)?H1(n):H1(65533)),e.pos+=a[0].length,!0}else if(a=e.src.slice(o).match(FD)){var c=n_(a[1]);if(a[1]!==c)return r||(e.pending+=c),e.pos+=a[0].length,!0}}return r||(e.pending+="&"),e.pos++,!0}]];function Pv(){this.ruler=new Ri;for(var t=0;t<tw.length;t++)this.ruler.push(tw[t][0],tw[t][1]);this.validateLink=LD}function LD(t){var e=t.trim().toLowerCase();return(e=Hp(e)).indexOf(":")===-1||["vbscript","javascript","file","data"].indexOf(e.split(":")[0])===-1}Pv.prototype.skipToken=function(t){var e,r,n=this.ruler.getRules(""),a=n.length,o=t.pos;if((r=t.cacheGet(o))>0)t.pos=r;else{for(e=0;e<a;e++)if(n[e](t,!0))return void t.cacheSet(o,t.pos);t.pos++,t.cacheSet(o,t.pos)}},Pv.prototype.tokenize=function(t){for(var e,r,n=this.ruler.getRules(""),a=n.length,o=t.posMax;t.pos<o;){for(r=0;r<a&&!(e=n[r](t,!1));r++);if(e){if(t.pos>=o)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},Pv.prototype.parse=function(t,e,r,n){var a=new Gp(t,this,e,r,n);this.tokenize(a)};var $D={default:{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"]}}},full:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},commonmark:{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"]}}}};function w_(t,e,r){this.src=e,this.env=r,this.options=t.options,this.tokens=[],this.inlineMode=!1,this.inline=t.inline,this.block=t.block,this.renderer=t.renderer,this.typographer=t.typographer}function Nc(t,e){typeof t!="string"&&(e=t,t="default"),e&&e.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 Pv,this.block=new Z1,this.core=new d_,this.renderer=new K1,this.ruler=new Ri,this.options={},this.configure($D[t]),this.set(e||{})}Nc.prototype.set=function(t){a_(this.options,t)},Nc.prototype.configure=function(t){var e=this;if(!t)throw new Error("Wrong `remarkable` preset, check name/content");t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach((function(r){t.components[r].rules&&e[r].ruler.enable(t.components[r].rules,!0)}))},Nc.prototype.use=function(t,e){return t(this,e),this},Nc.prototype.parse=function(t,e){var r=new w_(this,t,e);return this.core.process(r),r.tokens},Nc.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},Nc.prototype.parseInline=function(t,e){var r=new w_(this,t,e);return r.inlineMode=!0,this.core.process(r),r.tokens},Nc.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};function E_(t,e){if(Array.prototype.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function Xp(t,e){for(var r=t.length-1;r>=0;r--)e(t[r])===!0&&t.splice(r,1)}function rw(t){throw new Error("Unhandled case for value: '".concat(t,"'"))}var nw=(function(){function t(e){e===void 0&&(e={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=e.tagName||"",this.attrs=e.attrs||{},this.innerHTML=e.innerHtml||e.innerHTML||""}return t.prototype.setTagName=function(e){return this.tagName=e,this},t.prototype.getTagName=function(){return this.tagName||""},t.prototype.setAttr=function(e,r){return this.getAttrs()[e]=r,this},t.prototype.getAttr=function(e){return this.getAttrs()[e]},t.prototype.setAttrs=function(e){return Object.assign(this.getAttrs(),e),this},t.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},t.prototype.setClass=function(e){return this.setAttr("class",e)},t.prototype.addClass=function(e){for(var r,n=this.getClass(),a=this.whitespaceRegex,o=n?n.split(a):[],p=e.split(a);r=p.shift();)E_(o,r)===-1&&o.push(r);return this.getAttrs().class=o.join(" "),this},t.prototype.removeClass=function(e){for(var r,n=this.getClass(),a=this.whitespaceRegex,o=n?n.split(a):[],p=e.split(a);o.length&&(r=p.shift());){var c=E_(o,r);c!==-1&&o.splice(c,1)}return this.getAttrs().class=o.join(" "),this},t.prototype.getClass=function(){return this.getAttrs().class||""},t.prototype.hasClass=function(e){return(" "+this.getClass()+" ").indexOf(" "+e+" ")!==-1},t.prototype.setInnerHTML=function(e){return this.innerHTML=e,this},t.prototype.setInnerHtml=function(e){return this.setInnerHTML(e)},t.prototype.getInnerHTML=function(){return this.innerHTML||""},t.prototype.getInnerHtml=function(){return this.getInnerHTML()},t.prototype.toAnchorString=function(){var e=this.getTagName(),r=this.buildAttrsStr();return["<",e,r=r?" "+r:"",">",this.getInnerHtml(),"</",e,">"].join("")},t.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var e=this.getAttrs(),r=[];for(var n in e)e.hasOwnProperty(n)&&r.push(n+'="'+e[n]+'"');return r.join(" ")},t})(),S_=(function(){function t(e){e===void 0&&(e={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=e.newWindow||!1,this.truncate=e.truncate||{},this.className=e.className||""}return t.prototype.build=function(e){return new nw({tagName:"a",attrs:this.createAttrs(e),innerHtml:this.processAnchorText(e.getAnchorText())})},t.prototype.createAttrs=function(e){var r={href:e.getAnchorHref()},n=this.createCssClass(e);return n&&(r.class=n),this.newWindow&&(r.target="_blank",r.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length<e.getAnchorText().length&&(r.title=e.getAnchorHref()),r},t.prototype.createCssClass=function(e){var r=this.className;if(r){for(var n=[r],a=e.getCssClassSuffixes(),o=0,p=a.length;o<p;o++)n.push(r+"-"+a[o]);return n.join(" ")}return""},t.prototype.processAnchorText=function(e){return e=this.doTruncate(e)},t.prototype.doTruncate=function(e){var r=this.truncate;if(!r||!r.length)return e;var n=r.length,a=r.location;return a==="smart"?(function(p,c,d){var E,x;d==null?(d="&hellip;",x=3,E=8):(x=d.length,E=d.length);var k=function(ve){var be="";return ve.scheme&&ve.host&&(be+=ve.scheme+"://"),ve.host&&(be+=ve.host),ve.path&&(be+="/"+ve.path),ve.query&&(be+="?"+ve.query),ve.fragment&&(be+="#"+ve.fragment),be},P=function(ve,be){var ce=be/2,_e=Math.ceil(ce),Ae=-1*Math.floor(ce),xe="";return Ae<0&&(xe=ve.substr(Ae)),ve.substr(0,_e)+d+xe};if(p.length<=c)return p;var R=c-x,L=(function(ve){var be={},ce=ve,_e=ce.match(/^([a-z]+):\/\//i);return _e&&(be.scheme=_e[1],ce=ce.substr(_e[0].length)),(_e=ce.match(/^(.*?)(?=(\?|#|\/|$))/i))&&(be.host=_e[1],ce=ce.substr(_e[0].length)),(_e=ce.match(/^\/(.*?)(?=(\?|#|$))/i))&&(be.path=_e[1],ce=ce.substr(_e[0].length)),(_e=ce.match(/^\?(.*?)(?=(#|$))/i))&&(be.query=_e[1],ce=ce.substr(_e[0].length)),(_e=ce.match(/^#(.*?)$/i))&&(be.fragment=_e[1]),be})(p);if(L.query){var V=L.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);V&&(L.query=L.query.substr(0,V[1].length),p=k(L))}if(p.length<=c||(L.host&&(L.host=L.host.replace(/^www\./,""),p=k(L)),p.length<=c))return p;var Q="";if(L.host&&(Q+=L.host),Q.length>=R)return L.host.length==c?(L.host.substr(0,c-x)+d).substr(0,R+E):P(Q,R).substr(0,R+E);var J="";if(L.path&&(J+="/"+L.path),L.query&&(J+="?"+L.query),J){if((Q+J).length>=R)return(Q+J).length==c?(Q+J).substr(0,c):(Q+P(J,R-Q.length)).substr(0,R+E);Q+=J}if(L.fragment){var re="#"+L.fragment;if((Q+re).length>=R)return(Q+re).length==c?(Q+re).substr(0,c):(Q+P(re,R-Q.length)).substr(0,R+E);Q+=re}if(L.scheme&&L.host){var me=L.scheme+"://";if((Q+me).length<R)return(me+Q).substr(0,c)}if(Q.length<=c)return Q;var le="";return R>0&&(le=Q.substr(-1*Math.floor(R/2))),(Q.substr(0,Math.ceil(R/2))+d+le).substr(0,R+E)})(e,n):a==="middle"?(function(p,c,d){if(p.length<=c)return p;var E,x;d==null?(d="&hellip;",E=8,x=3):(E=d.length,x=d.length);var k=c-x,P="";return k>0&&(P=p.substr(-1*Math.floor(k/2))),(p.substr(0,Math.ceil(k/2))+d+P).substr(0,k+E)})(e,n):(function(p,c,d){return(function(x,k,P){var R;return x.length>k&&(P==null?(P="&hellip;",R=3):R=P.length,x=x.substring(0,k-R)+P),x})(p,c,d)})(e,n)},t})(),fd=(function(){function t(e){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=e.tagBuilder,this.matchedText=e.matchedText,this.offset=e.offset}return t.prototype.getMatchedText=function(){return this.matchedText},t.prototype.setOffset=function(e){this.offset=e},t.prototype.getOffset=function(){return this.offset},t.prototype.getCssClassSuffixes=function(){return[this.getType()]},t.prototype.buildTag=function(){return this.tagBuilder.build(this)},t})(),aw=function(t,e){return aw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},aw(t,e)};function Vl(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}aw(t,e),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var fa=function(){return fa=Object.assign||function(e){for(var r,n=1,a=arguments.length;n<a;n++)for(var o in r=arguments[n])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e},fa.apply(this,arguments)};typeof SuppressedError=="function"&&SuppressedError;var x_,__=(function(t){function e(r){var n=t.call(this,r)||this;return n.email="",n.email=r.email,n}return Vl(e,t),e.prototype.getType=function(){return"email"},e.prototype.getEmail=function(){return this.email},e.prototype.getAnchorHref=function(){return"mailto:"+this.email},e.prototype.getAnchorText=function(){return this.email},e})(fd),O_=(function(t){function e(r){var n=t.call(this,r)||this;return n.serviceName="",n.hashtag="",n.serviceName=r.serviceName,n.hashtag=r.hashtag,n}return Vl(e,t),e.prototype.getType=function(){return"hashtag"},e.prototype.getServiceName=function(){return this.serviceName},e.prototype.getHashtag=function(){return this.hashtag},e.prototype.getAnchorHref=function(){var r=this.serviceName,n=this.hashtag;switch(r){case"twitter":return"https://twitter.com/hashtag/"+n;case"facebook":return"https://www.facebook.com/hashtag/"+n;case"instagram":return"https://instagram.com/explore/tags/"+n;case"tiktok":return"https://www.tiktok.com/tag/"+n;default:throw new Error("Unknown service name to point hashtag to: "+r)}},e.prototype.getAnchorText=function(){return"#"+this.hashtag},e})(fd),k_=(function(t){function e(r){var n=t.call(this,r)||this;return n.serviceName="twitter",n.mention="",n.mention=r.mention,n.serviceName=r.serviceName,n}return Vl(e,t),e.prototype.getType=function(){return"mention"},e.prototype.getMention=function(){return this.mention},e.prototype.getServiceName=function(){return this.serviceName},e.prototype.getAnchorHref=function(){switch(this.serviceName){case"twitter":return"https://twitter.com/"+this.mention;case"instagram":return"https://instagram.com/"+this.mention;case"soundcloud":return"https://soundcloud.com/"+this.mention;case"tiktok":return"https://www.tiktok.com/@"+this.mention;default:throw new Error("Unknown service name to point mention to: "+this.serviceName)}},e.prototype.getAnchorText=function(){return"@"+this.mention},e.prototype.getCssClassSuffixes=function(){var r=t.prototype.getCssClassSuffixes.call(this),n=this.getServiceName();return n&&r.push(n),r},e})(fd),A_=(function(t){function e(r){var n=t.call(this,r)||this;return n.number="",n.plusSign=!1,n.number=r.number,n.plusSign=r.plusSign,n}return Vl(e,t),e.prototype.getType=function(){return"phone"},e.prototype.getPhoneNumber=function(){return this.number},e.prototype.getNumber=function(){return this.getPhoneNumber()},e.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},e.prototype.getAnchorText=function(){return this.matchedText},e})(fd),C_=(function(t){function e(r){var n=t.call(this,r)||this;return n.url="",n.urlMatchType="scheme",n.protocolUrlMatch=!1,n.protocolRelativeMatch=!1,n.stripPrefix={scheme:!0,www:!0},n.stripTrailingSlash=!0,n.decodePercentEncoding=!0,n.schemePrefixRegex=/^(https?:\/\/)?/i,n.wwwPrefixRegex=/^(https?:\/\/)?(www\.)?/i,n.protocolRelativeRegex=/^\/\//,n.protocolPrepended=!1,n.urlMatchType=r.urlMatchType,n.url=r.url,n.protocolUrlMatch=r.protocolUrlMatch,n.protocolRelativeMatch=r.protocolRelativeMatch,n.stripPrefix=r.stripPrefix,n.stripTrailingSlash=r.stripTrailingSlash,n.decodePercentEncoding=r.decodePercentEncoding,n}return Vl(e,t),e.prototype.getType=function(){return"url"},e.prototype.getUrlMatchType=function(){return this.urlMatchType},e.prototype.getUrl=function(){var r=this.url;return this.protocolRelativeMatch||this.protocolUrlMatch||this.protocolPrepended||(r=this.url="http://"+r,this.protocolPrepended=!0),r},e.prototype.getAnchorHref=function(){return this.getUrl().replace(/&amp;/g,"&")},e.prototype.getAnchorText=function(){var r=this.getMatchedText();return this.protocolRelativeMatch&&(r=this.stripProtocolRelativePrefix(r)),this.stripPrefix.scheme&&(r=this.stripSchemePrefix(r)),this.stripPrefix.www&&(r=this.stripWwwPrefix(r)),this.stripTrailingSlash&&(r=this.removeTrailingSlash(r)),this.decodePercentEncoding&&(r=this.removePercentEncoding(r)),r},e.prototype.stripSchemePrefix=function(r){return r.replace(this.schemePrefixRegex,"")},e.prototype.stripWwwPrefix=function(r){return r.replace(this.wwwPrefixRegex,"$1")},e.prototype.stripProtocolRelativePrefix=function(r){return r.replace(this.protocolRelativeRegex,"")},e.prototype.removeTrailingSlash=function(r){return r.charAt(r.length-1)==="/"&&(r=r.slice(0,-1)),r},e.prototype.removePercentEncoding=function(r){var n=r.replace(/%22/gi,"&quot;").replace(/%26/gi,"&amp;").replace(/%27/gi,"&#39;").replace(/%3C/gi,"&lt;").replace(/%3E/gi,"&gt;");try{return decodeURIComponent(n)}catch{return n}},e})(fd),md=function(e){this.__jsduckDummyDocProp=null,this.tagBuilder=e.tagBuilder},ow=/[A-Za-z]/,BD=/[\d]/,qD=/[\D]/,Qp=/\s/,iw=/['"]/,UD=/[\x00-\x1F\x7F]/,j_=/A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC/.source,P_=j_+/\u2700-\u27bf\udde6-\uddff\ud800-\udbff\udc00-\udfff\ufe0e\ufe0f\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0\ud83c\udffb-\udfff\u200d\u3299\u3297\u303d\u3030\u24c2\ud83c\udd70-\udd71\udd7e-\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01-\ude02\ude1a\ude2f\ude32-\ude3a\ude50-\ude51\u203c\u2049\u25aa-\u25ab\u25b6\u25c0\u25fb-\u25fe\u00a9\u00ae\u2122\u2139\udc04\u2600-\u26FF\u2b05\u2b06\u2b07\u2b1b\u2b1c\u2b50\u2b55\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\udccf\u2935\u2934\u2190-\u21ff/.source+/\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F/.source,Nv=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,zD=P_+Nv,ma=P_+Nv,Dm=new RegExp("[".concat(ma,"]")),VD="(?:["+Nv+"]{1,3}\\.){3}["+Nv+"]{1,3}",JD="["+ma+"](?:["+ma+"\\-_]{0,61}["+ma+"])?",N_=function(t){return"(?=("+JD+"))\\"+t},sw=function(t){return"(?:"+N_(t)+"(?:\\."+N_(t+1)+"){0,126}|"+VD+")"},Tv=Dm,T_=/(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|northwesternmutual|travelersinsurance|vermögensberatung|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbah1a3hjkrd|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|vermögensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--mgbcpq6gpa1a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbaakc7dvf|xn--mgbc0a9azcg|xn--nqv7fs00ema|americanfamily|bananarepublic|cancerresearch|cookingchannel|kerrylogistics|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq480n2rg|xn--jlq61u9w7b|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|travelchannel|wolterskluwer|xn--cckwcxetd|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--4dbrk0ce|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|foodnetwork|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|சிங்கப்பூர்|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nextdirect|properties|protection|prudential|realestate|republican|restaurant|schaeffler|tatamotors|technology|university|vlaanderen|volkswagen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--q7ce6a|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|alfaromeo|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|frontdoor|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|institute|insurance|kuokgroup|lancaster|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|passagens|pramerica|richardli|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--qxa6a|xn--tckwe|xn--vhquv|yodobashi|موريتانيا|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|builders|business|capetown|catering|catholic|cipriani|cityeats|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|etisalat|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|guardian|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|maserati|mckinsey|memorial|merckmsd|mortgage|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|showtime|softbank|software|stcgroup|supplies|training|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|السعودية|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|avianca|banamex|bauhaus|bentley|bestbuy|booking|brother|bugatti|capital|caravan|careers|channel|charity|chintai|citadel|clubmed|college|cologne|comcast|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hoteles|hotmail|hyundai|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lanxess|lasalle|latrobe|leclerc|limited|lincoln|markets|monster|netbank|netflix|network|neustar|okinawa|oldnavy|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|singles|staples|storage|support|surgery|systems|temasek|theater|theatre|tickets|tiffany|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|xfinity|yamaxun|youtube|zuerich|католик|اتصالات|البحرين|الجزائر|العليان|پاکستان|كاثوليك|இந்தியா|abarth|abbott|abbvie|africa|agency|airbus|airtel|alipay|alsace|alstom|amazon|anquan|aramco|author|bayern|beauty|berlin|bharti|bostik|boston|broker|camera|career|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kinder|kindle|kosher|lancia|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|monash|mormon|moscow|museum|mutual|nagoya|natura|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|pictet|quebec|racing|realty|reisen|repair|report|review|rocher|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|vuelos|walter|webcam|xihuan|yachts|yandex|zappos|москва|онлайн|ابوظبي|ارامكو|الاردن|المغرب|امارات|فلسطين|مليسيا|भारतम्|இலங்கை|ファッション|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dabur|dance|deals|delta|drive|dubai|earth|edeka|email|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|irish|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|linde|lipsy|loans|locus|lotte|lotto|macys|mango|media|miami|money|movie|music|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|ישראל|ایران|بازار|بھارت|سودان|سورية|همراه|भारोत|संगठन|বাংলা|భారత్|ഭാരതം|嘉里大酒店|aarp|able|adac|aero|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|dvag|erni|fage|fail|fans|farm|fast|fiat|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|hgtv|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kids|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|loft|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|read|reit|rent|rest|rich|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scot|seat|seek|sexy|shaw|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|дети|сайт|بارت|بيتك|ڀارت|تونس|شبكة|عراق|عمان|موقع|भारत|ভারত|ভাৰত|ਭਾਰਤ|ભારત|ଭାରତ|ಭಾರತ|ලංකා|アマゾン|グーグル|クラウド|ポイント|组织机构|電訊盈科|香格里拉|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|cbs|ceo|cfa|cfd|com|cpa|crs|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gay|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|llp|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|sca|scb|ses|sew|sex|sfr|ski|sky|soy|spa|srl|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|бел|ком|қаз|мкд|мон|орг|рус|срб|укр|հայ|קום|عرب|قطر|كوم|مصر|कॉम|नेट|คอม|ไทย|ລາວ|ストア|セール|みんな|中文网|亚马逊|天主教|我爱你|新加坡|淡马锡|诺基亚|飞利浦|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|ελ|ευ|бг|ею|рф|გე|닷넷|닷컴|삼성|한국|コム|世界|中信|中国|中國|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|嘉里|在线|大拿|娱乐|家電|广东|微博|慈善|手机|招聘|政务|政府|新闻|时尚|書籍|机构|游戏|澳門|点看|移动|网址|网店|网站|网络|联通|谷歌|购物|通販|集团|食品|餐厅|香港)/,WD=new RegExp("[".concat(ma,"!#$%&'*+/=?^_`{|}~-]")),HD=new RegExp("^".concat(T_.source,"$")),I_=(function(t){function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.localPartCharRegex=WD,r.strictTldRegex=HD,r}return Vl(e,t),e.prototype.parseMatches=function(r){for(var n=this.tagBuilder,a=this.localPartCharRegex,o=this.strictTldRegex,p=[],c=r.length,d=new Iv,E={m:"a",a:"i",i:"l",l:"t",t:"o",o:":"},x=0,k=0,P=d;x<c;){var R=r.charAt(x);switch(k){case 0:L(R);break;case 1:V(r.charAt(x-1),R);break;case 2:Q(R);break;case 3:J(R);break;case 4:re(R);break;case 5:me(R);break;case 6:le(R);break;case 7:ve(R);break;default:rw(k)}x++}return _e(),p;function L(Ae){Ae==="m"?be(1):a.test(Ae)&&be()}function V(Ae,xe){Ae===":"?a.test(xe)?(k=2,P=new Iv(fa(fa({},P),{hasMailtoPrefix:!0}))):ce():E[Ae]===xe||(a.test(xe)?k=2:xe==="."?k=3:xe==="@"?k=4:ce())}function Q(Ae){Ae==="."?k=3:Ae==="@"?k=4:a.test(Ae)||ce()}function J(Ae){Ae==="."||Ae==="@"?ce():a.test(Ae)?k=2:ce()}function re(Ae){Tv.test(Ae)?k=5:ce()}function me(Ae){Ae==="."?k=7:Ae==="-"?k=6:Tv.test(Ae)||_e()}function le(Ae){Ae==="-"||Ae==="."?_e():Tv.test(Ae)?k=5:_e()}function ve(Ae){Ae==="."||Ae==="-"?_e():Tv.test(Ae)?(k=5,P=new Iv(fa(fa({},P),{hasDomainDot:!0}))):_e()}function be(Ae){Ae===void 0&&(Ae=2),k=Ae,P=new Iv({idx:x})}function ce(){k=0,P=d}function _e(){if(P.hasDomainDot){var Ae=r.slice(P.idx,x);/[-.]$/.test(Ae)&&(Ae=Ae.slice(0,-1));var xe=P.hasMailtoPrefix?Ae.slice(7):Ae;(function(je){var G=je.split(".").pop()||"",de=G.toLowerCase();return o.test(de)})(xe)&&p.push(new __({tagBuilder:n,matchedText:Ae,offset:P.idx,email:xe}))}ce()}},e})(md),Iv=function(e){e===void 0&&(e={}),this.idx=e.idx!==void 0?e.idx:-1,this.hasMailtoPrefix=!!e.hasMailtoPrefix,this.hasDomainDot=!!e.hasDomainDot},KD=(function(){function t(){}return t.isValid=function(e,r){return!(r&&!this.isValidUriScheme(r)||this.urlMatchDoesNotHaveProtocolOrDot(e,r)||this.urlMatchDoesNotHaveAtLeastOneWordChar(e,r)&&!this.isValidIpAddress(e)||this.containsMultipleDots(e))},t.isValidIpAddress=function(e){var r=new RegExp(this.hasFullProtocolRegex.source+this.ipRegex.source);return e.match(r)!==null},t.containsMultipleDots=function(e){var r=e;return this.hasFullProtocolRegex.test(e)&&(r=e.split("://")[1]),r.split("/")[0].indexOf("..")>-1},t.isValidUriScheme=function(e){var r=e.match(this.uriSchemeRegex),n=r&&r[0].toLowerCase();return n!=="javascript:"&&n!=="vbscript:"},t.urlMatchDoesNotHaveProtocolOrDot=function(e,r){return!(!e||r&&this.hasFullProtocolRegex.test(r)||e.indexOf(".")!==-1)},t.urlMatchDoesNotHaveAtLeastOneWordChar=function(e,r){return!(!e||!r)&&!this.hasFullProtocolRegex.test(r)&&!this.hasWordCharAfterProtocolRegex.test(e)},t.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,t.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,t.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+j_+"]"),t.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]*)?\/?$/,t})(),GD=(x_=new RegExp("[/?#](?:["+ma+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^✓]*["+ma+"\\-+&@#/%=~_()|'$*\\[\\]{}✓])?"),new RegExp(["(?:","(",/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/.source,sw(2),")","|","(","(//)?",/(?:www\.)/.source,sw(6),")","|","(","(//)?",sw(10)+"\\.",T_.source,"(?![-"+zD+"])",")",")","(?::[0-9]+)?","(?:"+x_.source+")?"].join(""),"gi")),YD=new RegExp("["+ma+"]"),M_=(function(t){function e(r){var n=t.call(this,r)||this;return n.stripPrefix={scheme:!0,www:!0},n.stripTrailingSlash=!0,n.decodePercentEncoding=!0,n.matcherRegex=GD,n.wordCharRegExp=YD,n.stripPrefix=r.stripPrefix,n.stripTrailingSlash=r.stripTrailingSlash,n.decodePercentEncoding=r.decodePercentEncoding,n}return Vl(e,t),e.prototype.parseMatches=function(r){for(var n,a=this.matcherRegex,o=this.stripPrefix,p=this.stripTrailingSlash,c=this.decodePercentEncoding,d=this.tagBuilder,E=[],x=function(){var P=n[0],R=n[1],L=n[4],V=n[5],Q=n[9],J=n.index,re=V||Q,me=r.charAt(J-1);if(!KD.isValid(P,R)||J>0&&me==="@"||J>0&&re&&k.wordCharRegExp.test(me))return"continue";if(/\?$/.test(P)&&(P=P.substr(0,P.length-1)),k.matchHasUnbalancedClosingParen(P))P=P.substr(0,P.length-1);else{var le=k.matchHasInvalidCharAfterTld(P,R);le>-1&&(P=P.substr(0,le))}var ve=["http://","https://"].find((function(Ae){return!!R&&R.indexOf(Ae)!==-1}));if(ve){var be=P.indexOf(ve);P=P.substr(be),R=R.substr(be),J+=be}var ce=R?"scheme":L?"www":"tld",_e=!!R;E.push(new C_({tagBuilder:d,matchedText:P,offset:J,urlMatchType:ce,url:P,protocolUrlMatch:_e,protocolRelativeMatch:!!re,stripPrefix:o,stripTrailingSlash:p,decodePercentEncoding:c}))},k=this;(n=a.exec(r))!==null;)x();return E},e.prototype.matchHasUnbalancedClosingParen=function(r){var n,a=r.charAt(r.length-1);if(a===")")n="(";else if(a==="]")n="[";else{if(a!=="}")return!1;n="{"}for(var o=0,p=0,c=r.length-1;p<c;p++){var d=r.charAt(p);d===n?o++:d===a&&(o=Math.max(o-1,0))}return o===0},e.prototype.matchHasInvalidCharAfterTld=function(r,n){if(!r)return-1;var a=0;n&&(a=r.indexOf(":"),r=r.slice(a));var o=new RegExp("^((.?//)?[-."+ma+"]*[-"+ma+"]\\.[-"+ma+"]+)").exec(r);return o===null?-1:(a+=o[1].length,r=r.slice(o[1].length),/^[^-.A-Za-z0-9:\/?#]/.test(r)?a:-1)},e})(md),R_=new RegExp("[_".concat(ma,"]")),D_=(function(t){function e(r){var n=t.call(this,r)||this;return n.serviceName="twitter",n.serviceName=r.serviceName,n}return Vl(e,t),e.prototype.parseMatches=function(r){for(var n=this.tagBuilder,a=this.serviceName,o=[],p=r.length,c=0,d=-1,E=0;c<p;){var x=r.charAt(c);switch(E){case 0:k(x);break;case 1:P(x);break;case 2:R(x);break;case 3:L(x);break;default:rw(E)}c++}return V(),o;function k(Q){Q==="#"?(E=2,d=c):Dm.test(Q)&&(E=1)}function P(Q){Dm.test(Q)||(E=0)}function R(Q){E=R_.test(Q)?3:Dm.test(Q)?1:0}function L(Q){R_.test(Q)||(V(),d=-1,E=Dm.test(Q)?1:0)}function V(){if(d>-1&&c-d<=140){var Q=r.slice(d,c),J=new O_({tagBuilder:n,matchedText:Q,offset:d,serviceName:a,hashtag:Q.slice(1)});o.push(J)}}},e})(md),XD=["twitter","facebook","instagram","tiktok"],QD=new RegExp("".concat(/(?:(?:(?:(\+)?\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]+#?)*/.source,"|").concat(/(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})/.source),"g"),F_=(function(t){function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.matcherRegex=QD,r}return Vl(e,t),e.prototype.parseMatches=function(r){for(var n,a=this.matcherRegex,o=this.tagBuilder,p=[];(n=a.exec(r))!==null;){var c=n[0],d=c.replace(/[^0-9,;#]/g,""),E=!(!n[1]&&!n[2]),x=n.index==0?"":r.substr(n.index-1,1),k=r.substr(n.index+c.length,1),P=!x.match(/\d/)&&!k.match(/\d/);this.testMatch(n[3])&&this.testMatch(c)&&P&&p.push(new A_({tagBuilder:o,matchedText:c,offset:n.index,number:d,plusSign:E}))}return p},e.prototype.testMatch=function(r){return qD.test(r)},e})(md),ZD=new RegExp("@[_".concat(ma,"]{1,50}(?![_").concat(ma,"])"),"g"),eF=new RegExp("@[_.".concat(ma,"]{1,30}(?![_").concat(ma,"])"),"g"),tF=new RegExp("@[-_.".concat(ma,"]{1,50}(?![-_").concat(ma,"])"),"g"),rF=new RegExp("@[_.".concat(ma,"]{1,23}[_").concat(ma,"](?![_").concat(ma,"])"),"g"),nF=new RegExp("[^"+ma+"]"),L_=(function(t){function e(r){var n=t.call(this,r)||this;return n.serviceName="twitter",n.matcherRegexes={twitter:ZD,instagram:eF,soundcloud:tF,tiktok:rF},n.nonWordCharRegex=nF,n.serviceName=r.serviceName,n}return Vl(e,t),e.prototype.parseMatches=function(r){var n,a=this.serviceName,o=this.matcherRegexes[this.serviceName],p=this.nonWordCharRegex,c=this.tagBuilder,d=[];if(!o)return d;for(;(n=o.exec(r))!==null;){var E=n.index,x=r.charAt(E-1);if(E===0||p.test(x)){var k=n[0].replace(/\.+$/g,""),P=k.slice(1);d.push(new k_({tagBuilder:c,matchedText:k,offset:E,serviceName:a,mention:P}))}}return d},e})(md);function aF(t,e){for(var r=e.onOpenTag,n=e.onCloseTag,a=e.onText,o=e.onComment,p=e.onDoctype,c=new Jl,d=0,E=t.length,x=0,k=0,P=c;d<E;){var R=t.charAt(d);switch(x){case 0:L(R);break;case 1:V(R);break;case 2:J(R);break;case 3:Q(R);break;case 4:re(R);break;case 5:me(R);break;case 6:le(R);break;case 7:ve(R);break;case 8:be(R);break;case 9:ce(R);break;case 10:_e(R);break;case 11:Ae(R);break;case 12:xe(R);break;case 13:Oe();break;case 14:je(R);break;case 15:G(R);break;case 16:de(R);break;case 17:Ne(R);break;case 18:Ye(R);break;case 19:ht(R);break;case 20:Ct(R);break;default:rw(x)}d++}function L(et){et==="<"&&qt()}function V(et){et==="!"?x=13:et==="/"?(x=2,P=new Jl(fa(fa({},P),{isClosing:!0}))):et==="<"?qt():ow.test(et)?(x=3,P=new Jl(fa(fa({},P),{isOpening:!0}))):(x=0,P=c)}function Q(et){Qp.test(et)?(P=new Jl(fa(fa({},P),{name:Ot()})),x=4):et==="<"?qt():et==="/"?(P=new Jl(fa(fa({},P),{name:Ot()})),x=12):et===">"?(P=new Jl(fa(fa({},P),{name:Ot()})),It()):ow.test(et)||BD.test(et)||et===":"||_t()}function J(et){et===">"?_t():ow.test(et)?x=3:_t()}function re(et){Qp.test(et)||(et==="/"?x=12:et===">"?It():et==="<"?qt():et==="="||iw.test(et)||UD.test(et)?_t():x=5)}function me(et){Qp.test(et)?x=6:et==="/"?x=12:et==="="?x=7:et===">"?It():et==="<"?qt():iw.test(et)&&_t()}function le(et){Qp.test(et)||(et==="/"?x=12:et==="="?x=7:et===">"?It():et==="<"?qt():iw.test(et)?_t():x=5)}function ve(et){Qp.test(et)||(et==='"'?x=8:et==="'"?x=9:/[>=`]/.test(et)?_t():et==="<"?qt():x=10)}function be(et){et==='"'&&(x=11)}function ce(et){et==="'"&&(x=11)}function _e(et){Qp.test(et)?x=4:et===">"?It():et==="<"&&qt()}function Ae(et){Qp.test(et)?x=4:et==="/"?x=12:et===">"?It():et==="<"?qt():(x=4,(function(){d--})())}function xe(et){et===">"?(P=new Jl(fa(fa({},P),{isClosing:!0})),It()):x=4}function Oe(et){t.substr(d,2)==="--"?(d+=2,P=new Jl(fa(fa({},P),{type:"comment"})),x=14):t.substr(d,7).toUpperCase()==="DOCTYPE"?(d+=7,P=new Jl(fa(fa({},P),{type:"doctype"})),x=20):_t()}function je(et){et==="-"?x=15:et===">"?_t():x=16}function G(et){et==="-"?x=18:et===">"?_t():x=16}function de(et){et==="-"&&(x=17)}function Ne(et){x=et==="-"?18:16}function Ye(et){et===">"?It():et==="!"?x=19:et==="-"||(x=16)}function ht(et){et==="-"?x=17:et===">"?It():x=16}function Ct(et){et===">"?It():et==="<"&&qt()}function _t(){x=0,P=c}function qt(){x=1,P=new Jl({idx:d})}function It(){var et=t.slice(k,P.idx);et&&a(et,k),P.type==="comment"?o(P.idx):P.type==="doctype"?p(P.idx):(P.isOpening&&r(P.name,P.idx),P.isClosing&&n(P.name,P.idx)),_t(),k=d+1}function Ot(){var et=P.idx+(P.isClosing?2:1);return t.slice(et,d).toLowerCase()}k<d&&(function(){var Dt=t.slice(k,d);a(Dt,k),k=d+1})()}var Jl=function(e){e===void 0&&(e={}),this.idx=e.idx!==void 0?e.idx:-1,this.type=e.type||"tag",this.name=e.name||"",this.isOpening=!!e.isOpening,this.isClosing=!!e.isClosing},oF=(function(){function t(e){e===void 0&&(e={}),this.version=t.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(e.urls),this.email=typeof e.email=="boolean"?e.email:this.email,this.phone=typeof e.phone=="boolean"?e.phone:this.phone,this.hashtag=e.hashtag||this.hashtag,this.mention=e.mention||this.mention,this.newWindow=typeof e.newWindow=="boolean"?e.newWindow:this.newWindow,this.stripPrefix=this.normalizeStripPrefixCfg(e.stripPrefix),this.stripTrailingSlash=typeof e.stripTrailingSlash=="boolean"?e.stripTrailingSlash:this.stripTrailingSlash,this.decodePercentEncoding=typeof e.decodePercentEncoding=="boolean"?e.decodePercentEncoding:this.decodePercentEncoding,this.sanitizeHtml=e.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&&XD.indexOf(n)===-1)throw new Error("invalid `hashtag` cfg '".concat(n,"' - see docs"));this.truncate=this.normalizeTruncateCfg(e.truncate),this.className=e.className||this.className,this.replaceFn=e.replaceFn||this.replaceFn,this.context=e.context||this}return t.link=function(e,r){return new t(r).link(e)},t.parse=function(e,r){return new t(r).parse(e)},t.prototype.normalizeUrlsCfg=function(e){return e==null&&(e=!0),typeof e=="boolean"?{schemeMatches:e,wwwMatches:e,tldMatches:e}:{schemeMatches:typeof e.schemeMatches!="boolean"||e.schemeMatches,wwwMatches:typeof e.wwwMatches!="boolean"||e.wwwMatches,tldMatches:typeof e.tldMatches!="boolean"||e.tldMatches}},t.prototype.normalizeStripPrefixCfg=function(e){return e==null&&(e=!0),typeof e=="boolean"?{scheme:e,www:e}:{scheme:typeof e.scheme!="boolean"||e.scheme,www:typeof e.www!="boolean"||e.www}},t.prototype.normalizeTruncateCfg=function(e){return typeof e=="number"?{length:e,location:"end"}:(function(n,a){for(var o in a)a.hasOwnProperty(o)&&n[o]===void 0&&(n[o]=a[o]);return n})(e||{},{length:Number.POSITIVE_INFINITY,location:"end"})},t.prototype.parse=function(e){var r=this,n=["a","style","script"],a=0,o=[];return aF(e,{onOpenTag:function(p){n.indexOf(p)>=0&&a++},onText:function(p,c){if(a===0){var d=(function(k,P){if(!P.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var R,L=[],V=0;R=P.exec(k);)L.push(k.substring(V,R.index)),L.push(R[0]),V=R.index+R[0].length;return L.push(k.substring(V)),L})(p,/(&nbsp;|&#160;|&lt;|&#60;|&gt;|&#62;|&quot;|&#34;|&#39;)/gi),E=c;d.forEach((function(x,k){if(k%2==0){var P=r.parseText(x,E);o.push.apply(o,P)}E+=x.length}))}},onCloseTag:function(p){n.indexOf(p)>=0&&(a=Math.max(a-1,0))},onComment:function(p){},onDoctype:function(p){}}),o=this.compactMatches(o),o=this.removeUnwantedMatches(o)},t.prototype.compactMatches=function(e){e.sort((function(d,E){return d.getOffset()-E.getOffset()}));for(var r=0;r<e.length-1;){var n=e[r],a=n.getOffset(),o=n.getMatchedText().length,p=a+o;if(r+1<e.length){if(e[r+1].getOffset()===a){var c=e[r+1].getMatchedText().length>o?r:r+1;e.splice(c,1);continue}if(e[r+1].getOffset()<p){e.splice(r+1,1);continue}}r++}return e},t.prototype.removeUnwantedMatches=function(e){return this.hashtag||Xp(e,(function(r){return r.getType()==="hashtag"})),this.email||Xp(e,(function(r){return r.getType()==="email"})),this.phone||Xp(e,(function(r){return r.getType()==="phone"})),this.mention||Xp(e,(function(r){return r.getType()==="mention"})),this.urls.schemeMatches||Xp(e,(function(r){return r.getType()==="url"&&r.getUrlMatchType()==="scheme"})),this.urls.wwwMatches||Xp(e,(function(r){return r.getType()==="url"&&r.getUrlMatchType()==="www"})),this.urls.tldMatches||Xp(e,(function(r){return r.getType()==="url"&&r.getUrlMatchType()==="tld"})),e},t.prototype.parseText=function(e,r){r===void 0&&(r=0),r=r||0;for(var n=this.getMatchers(),a=[],o=0,p=n.length;o<p;o++){for(var c=n[o].parseMatches(e),d=0,E=c.length;d<E;d++)c[d].setOffset(r+c[d].getOffset());a.push.apply(a,c)}return a},t.prototype.link=function(e){if(!e)return"";this.sanitizeHtml&&(e=e.replace(/</g,"&lt;").replace(/>/g,"&gt;"));for(var r=this.parse(e),n=[],a=0,o=0,p=r.length;o<p;o++){var c=r[o];n.push(e.substring(a,c.getOffset())),n.push(this.createMatchReturnVal(c)),a=c.getOffset()+c.getMatchedText().length}return n.push(e.substring(a)),n.join("")},t.prototype.createMatchReturnVal=function(e){var r;return this.replaceFn&&(r=this.replaceFn.call(this.context,e)),typeof r=="string"?r:r===!1?e.getMatchedText():r instanceof nw?r.toAnchorString():e.buildTag().toAnchorString()},t.prototype.getMatchers=function(){if(this.matchers)return this.matchers;var e=this.getTagBuilder(),r=[new D_({tagBuilder:e,serviceName:this.hashtag}),new I_({tagBuilder:e}),new F_({tagBuilder:e}),new L_({tagBuilder:e,serviceName:this.mention}),new M_({tagBuilder:e,stripPrefix:this.stripPrefix,stripTrailingSlash:this.stripTrailingSlash,decodePercentEncoding:this.decodePercentEncoding})];return this.matchers=r},t.prototype.getTagBuilder=function(){var e=this.tagBuilder;return e||(e=this.tagBuilder=new S_({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),e},t.version="3.16.2",t.AnchorTagBuilder=S_,t.HtmlTag=nw,t.matcher={Email:I_,Hashtag:D_,Matcher:md,Mention:L_,Phone:F_,Url:M_},t.match={Email:__,Hashtag:O_,Match:fd,Mention:k_,Phone:A_,Url:C_},t})();const iF=oF;var sF=/www|@|\:\/\//;function lF(t){return/^<a[>\s]/i.test(t)}function cF(t){return/^<\/a\s*>/i.test(t)}function uF(){var t=[],e=new iF({stripPrefix:!1,url:!0,email:!0,replaceFn:function(r){switch(r.getType()){case"url":t.push({text:r.matchedText,url:r.getUrl()});break;case"email":t.push({text:r.matchedText,url:"mailto:"+r.getEmail().replace(/^mailto:/i,"")})}return!1}});return{links:t,autolinker:e}}function pF(t){var e,r,n,a,o,p,c,d,E,x,k,P,R,L=t.tokens,V=null;for(r=0,n=L.length;r<n;r++)if(L[r].type==="inline")for(k=0,e=(a=L[r].children).length-1;e>=0;e--)if((o=a[e]).type!=="link_close"){if(o.type==="htmltag"&&(lF(o.content)&&k>0&&k--,cF(o.content)&&k++),!(k>0)&&o.type==="text"&&sF.test(o.content)){if(V||(P=(V=uF()).links,R=V.autolinker),p=o.content,P.length=0,R.link(p),!P.length)continue;for(c=[],x=o.level,d=0;d<P.length;d++)t.inline.validateLink(P[d].url)&&((E=p.indexOf(P[d].text))&&c.push({type:"text",content:p.slice(0,E),level:x}),c.push({type:"link_open",href:P[d].url,title:"",level:x++}),c.push({type:"text",content:P[d].text,level:x}),c.push({type:"link_close",level:--x}),p=p.slice(E+P[d].text.length));p.length&&c.push({type:"text",content:p,level:x}),L[r].children=a=[].concat(a.slice(0,e),c,a.slice(e+1))}}else for(e--;a[e].level!==o.level&&a[e].type!=="link_open";)e--}function hF(t){t.core.ruler.push("linkify",pF)}function $_(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function dF(t,e){return(function(n){if(Array.isArray(n))return n})(t)||(function(n,a){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var p,c,d,E,x=[],k=!0,P=!1;try{if(d=(o=o.call(n)).next,a!==0)for(;!(k=(p=d.call(o)).done)&&(x.push(p.value),x.length!==a);k=!0);}catch(R){P=!0,c=R}finally{try{if(!k&&o.return!=null&&(E=o.return(),Object(E)!==E))return}finally{if(P)throw c}}return x}})(t,e)||(function(n,a){if(n){if(typeof n=="string")return $_(n,a);var o={}.toString.call(n).slice(8,-1);return o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set"?Array.from(n):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?$_(n,a):void 0}})(t,e)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}const B_=Object.entries,q_=Object.setPrototypeOf,fF=Object.isFrozen,mF=Object.getPrototypeOf,gF=Object.getOwnPropertyDescriptor;let xo=Object.freeze,_o=Object.seal,gd=Object.create,U_=typeof Reflect<"u"&&Reflect,lw=U_.apply,cw=U_.construct;xo||(xo=function(e){return e}),_o||(_o=function(e){return e}),lw||(lw=function(e,r){for(var n=arguments.length,a=new Array(n>2?n-2:0),o=2;o<n;o++)a[o-2]=arguments[o];return e.apply(r,a)}),cw||(cw=function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return new e(...n)});const yd=Ta(Array.prototype.forEach),yF=Ta(Array.prototype.lastIndexOf),z_=Ta(Array.prototype.pop),vd=Ta(Array.prototype.push),vF=Ta(Array.prototype.splice),Uu=Array.isArray,Fm=Ta(String.prototype.toLowerCase),uw=Ta(String.prototype.toString),V_=Ta(String.prototype.match),Lm=Ta(String.prototype.replace),J_=Ta(String.prototype.indexOf),bF=Ta(String.prototype.trim),wF=Ta(Number.prototype.toString),EF=Ta(Boolean.prototype.toString),W_=typeof BigInt>"u"?null:Ta(BigInt.prototype.toString),H_=typeof Symbol>"u"?null:Ta(Symbol.prototype.toString),ao=Ta(Object.prototype.hasOwnProperty),Mv=Ta(Object.prototype.toString),oo=Ta(RegExp.prototype.test),Zp=(function(e){return function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return cw(e,n)}})(TypeError);function Ta(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return lw(t,e,n)}}function dn(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Fm;if(q_&&q_(t,null),!Uu(e))return t;let n=e.length;for(;n--;){let a=e[n];if(typeof a=="string"){const o=r(a);o!==a&&(fF(e)||(e[n]=o),a=o)}t[a]=!0}return t}function SF(t){for(let e=0;e<t.length;e++)ao(t,e)||(t[e]=null);return t}function Uo(t){const e=gd(null);for(const n of B_(t)){var r=dF(n,2);const a=r[0],o=r[1];ao(t,a)&&(Uu(o)?e[a]=SF(o):o&&typeof o=="object"&&o.constructor===Object?e[a]=Uo(o):e[a]=o)}return e}function Hs(t,e){for(;t!==null;){const r=gF(t,e);if(r){if(r.get)return Ta(r.get);if(typeof r.value=="function")return Ta(r.value)}t=mF(t)}return function(){return null}}const K_=xo(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),pw=xo(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),hw=xo(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),xF=xo(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),dw=xo(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),_F=xo(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),G_=xo(["#text"]),Y_=xo(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),fw=xo(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),X_=xo(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Rv=xo(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),OF=_o(/{{[\w\W]*|^[\w\W]*}}/g),kF=_o(/<%[\w\W]*|^[\w\W]*%>/g),AF=_o(/\${[\w\W]*/g),CF=_o(/^data-[\-\w.\u00B7-\uFFFF]+$/),jF=_o(/^aria-[\-\w]+$/),Q_=_o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),PF=_o(/^(?:\w+script|data):/i),NF=_o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),TF=_o(/^html$/i),IF=_o(/^[a-z][.\w]*(-[.\w]+)+$/i),Z_=_o(/<[/\w!]/g),eO=_o(/<[/\w]/g),MF=_o(/<\/no(script|embed|frames)/i),RF=_o(/\/>/i),bd=1,DF=3,tO=7,rO=8,FF=9,LF=11,$F=function(){return typeof window>"u"?null:window},zu=function(e,r,n,a){return ao(e,r)&&Uu(e[r])?dn(a.base?Uo(a.base):{},e[r],a.transform):n};var mw=(function t(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$F();const r=rr=>t(rr);if(r.version="3.4.13",r.removed=[],!e||!e.document||e.document.nodeType!==FF||!e.Element)return r.isSupported=!1,r;let n=e.document;const a=n,o=a.currentScript;e.DocumentFragment;const p=e.HTMLTemplateElement,c=e.Node,d=e.Element,E=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const k=e.DOMParser,P=e.trustedTypes,R=d.prototype,L=Hs(R,"cloneNode"),V=Hs(R,"remove"),Q=Hs(R,"nextSibling"),J=Hs(R,"childNodes"),re=Hs(R,"parentNode"),me=Hs(R,"shadowRoot"),le=Hs(R,"attributes"),ve=c&&c.prototype?Hs(c.prototype,"nodeType"):null,be=c&&c.prototype?Hs(c.prototype,"nodeName"):null,ce=c&&c.prototype?Hs(c.prototype,"ownerDocument"):null;if(typeof p=="function"){const rr=n.createElement("template");rr.content&&rr.content.ownerDocument&&(n=rr.content.ownerDocument)}let _e,Ae,xe="",Oe=!1,je=0;const G=function(){if(je>0)throw Zp('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},de=function(Ie){G(),je++;try{return _e.createHTML(Ie)}finally{je--}},Ne=function(){return Oe||(Ae=(function(dt,Ht){if(typeof dt!="object"||typeof dt.createPolicy!="function")return null;let ir=null;const Or="data-tt-policy-suffix";Ht&&Ht.hasAttribute(Or)&&(ir=Ht.getAttribute(Or));const Pr="dompurify"+(ir?"#"+ir:"");try{return dt.createPolicy(Pr,{createHTML:$r=>$r,createScriptURL:$r=>$r})}catch{return console.warn("TrustedTypes policy "+Pr+" could not be created."),null}})(P,o),Oe=!0),Ae},Ye=n,ht=Ye.implementation,Ct=Ye.createNodeIterator,_t=Ye.createDocumentFragment,qt=Ye.getElementsByTagName,It=a.importNode;let Ot={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported=typeof B_=="function"&&typeof re=="function"&&ht&&ht.createHTMLDocument!==void 0;const et=OF,Dt=kF,or=AF,Ut=CF,pr=jF,W=PF,$e=NF,Je=IF;let Ft=Q_,it=null;const bt=dn({},[...K_,...pw,...hw,...dw,...G_]);let ut=null;const Xt=dn({},[...Y_,...fw,...X_,...Rv]);let zt=Object.seal(gd(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}})),tr=null,Er=null;const dr=Object.seal(gd(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let qr=!0,en=!0,kn=!1,ln=!0,jt=!1,We=!0,Kr=!1,Lr=!1,zr=null,yn=null,En=!1,Pn=!1,Ua=!1,Dn=!1,Di=!0,vn=!1;const cn="user-content-";let hi=!0,Hl=!1,Xs={},Zo=null;const so=dn({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Bk=null;const qk=dn({},["audio","video","img","source","image","track"]);let qw=null;const Uk=dn({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Xv="http://www.w3.org/1998/Math/MathML",Qv="http://www.w3.org/2000/svg",Kl="http://www.w3.org/1999/xhtml";let _d=Kl,Uw=!1,zw=null;const wU=dn({},[Xv,Qv,Kl],uw),zk=xo(["mi","mo","mn","ms","mtext"]);let Vw=dn({},zk);const Vk=xo(["annotation-xml"]);let Jw=dn({},Vk);const EU=dn({},["title","style","font","a","script"]);let Jm=null;const SU=["application/xhtml+xml","text/html"];let oa=null,Od=null;const xU=n.createElement("form"),Jk=function(Ie){return Ie instanceof RegExp||Ie instanceof Function},Ww=function(){let Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Od&&Od===Ie)return;Ie&&typeof Ie=="object"||(Ie={}),Ie=Uo(Ie),Jm=SU.indexOf(Ie.PARSER_MEDIA_TYPE)===-1?"text/html":Ie.PARSER_MEDIA_TYPE,oa=Jm==="application/xhtml+xml"?uw:Fm,it=zu(Ie,"ALLOWED_TAGS",bt,{transform:oa}),ut=zu(Ie,"ALLOWED_ATTR",Xt,{transform:oa}),zw=zu(Ie,"ALLOWED_NAMESPACES",wU,{transform:uw}),qw=zu(Ie,"ADD_URI_SAFE_ATTR",Uk,{transform:oa,base:Uk}),Bk=zu(Ie,"ADD_DATA_URI_TAGS",qk,{transform:oa,base:qk}),Zo=zu(Ie,"FORBID_CONTENTS",so,{transform:oa}),tr=zu(Ie,"FORBID_TAGS",Uo({}),{transform:oa}),Er=zu(Ie,"FORBID_ATTR",Uo({}),{transform:oa}),Xs=!!ao(Ie,"USE_PROFILES")&&(Ie.USE_PROFILES&&typeof Ie.USE_PROFILES=="object"?Uo(Ie.USE_PROFILES):Ie.USE_PROFILES),qr=Ie.ALLOW_ARIA_ATTR!==!1,en=Ie.ALLOW_DATA_ATTR!==!1,kn=Ie.ALLOW_UNKNOWN_PROTOCOLS||!1,ln=Ie.ALLOW_SELF_CLOSE_IN_ATTR!==!1,jt=Ie.SAFE_FOR_TEMPLATES||!1,We=Ie.SAFE_FOR_XML!==!1,Kr=Ie.WHOLE_DOCUMENT||!1,Pn=Ie.RETURN_DOM||!1,Ua=Ie.RETURN_DOM_FRAGMENT||!1,Dn=Ie.RETURN_TRUSTED_TYPE||!1,En=Ie.FORCE_BODY||!1,Di=Ie.SANITIZE_DOM!==!1,vn=Ie.SANITIZE_NAMED_PROPS||!1,hi=Ie.KEEP_CONTENT!==!1,Hl=Ie.IN_PLACE||!1,Ft=(function(ir){try{return oo(ir,""),!0}catch{return!1}})(Ie.ALLOWED_URI_REGEXP)?Ie.ALLOWED_URI_REGEXP:Q_,_d=typeof Ie.NAMESPACE=="string"?Ie.NAMESPACE:Kl,Vw=ao(Ie,"MATHML_TEXT_INTEGRATION_POINTS")&&Ie.MATHML_TEXT_INTEGRATION_POINTS&&typeof Ie.MATHML_TEXT_INTEGRATION_POINTS=="object"?Uo(Ie.MATHML_TEXT_INTEGRATION_POINTS):dn({},zk),Jw=ao(Ie,"HTML_INTEGRATION_POINTS")&&Ie.HTML_INTEGRATION_POINTS&&typeof Ie.HTML_INTEGRATION_POINTS=="object"?Uo(Ie.HTML_INTEGRATION_POINTS):dn({},Vk);const dt=ao(Ie,"CUSTOM_ELEMENT_HANDLING")&&Ie.CUSTOM_ELEMENT_HANDLING&&typeof Ie.CUSTOM_ELEMENT_HANDLING=="object"?Uo(Ie.CUSTOM_ELEMENT_HANDLING):gd(null);if(zt=gd(null),ao(dt,"tagNameCheck")&&Jk(dt.tagNameCheck)&&(zt.tagNameCheck=dt.tagNameCheck),ao(dt,"attributeNameCheck")&&Jk(dt.attributeNameCheck)&&(zt.attributeNameCheck=dt.attributeNameCheck),ao(dt,"allowCustomizedBuiltInElements")&&typeof dt.allowCustomizedBuiltInElements=="boolean"&&(zt.allowCustomizedBuiltInElements=dt.allowCustomizedBuiltInElements),_o(zt),jt&&(en=!1),Ua&&(Pn=!0),Xs&&(it=dn({},G_),ut=gd(null),Xs.html===!0&&(dn(it,K_),dn(ut,Y_)),Xs.svg===!0&&(dn(it,pw),dn(ut,fw),dn(ut,Rv)),Xs.svgFilters===!0&&(dn(it,hw),dn(ut,fw),dn(ut,Rv)),Xs.mathMl===!0&&(dn(it,dw),dn(ut,X_),dn(ut,Rv))),dr.tagCheck=null,dr.attributeCheck=null,ao(Ie,"ADD_TAGS")&&(typeof Ie.ADD_TAGS=="function"?dr.tagCheck=Ie.ADD_TAGS:Uu(Ie.ADD_TAGS)&&(it===bt&&(it=Uo(it)),dn(it,Ie.ADD_TAGS,oa))),ao(Ie,"ADD_ATTR")&&(typeof Ie.ADD_ATTR=="function"?dr.attributeCheck=Ie.ADD_ATTR:Uu(Ie.ADD_ATTR)&&(ut===Xt&&(ut=Uo(ut)),dn(ut,Ie.ADD_ATTR,oa))),ao(Ie,"ADD_URI_SAFE_ATTR")&&Uu(Ie.ADD_URI_SAFE_ATTR)&&dn(qw,Ie.ADD_URI_SAFE_ATTR,oa),ao(Ie,"FORBID_CONTENTS")&&Uu(Ie.FORBID_CONTENTS)&&(Zo===so&&(Zo=Uo(Zo)),dn(Zo,Ie.FORBID_CONTENTS,oa)),ao(Ie,"ADD_FORBID_CONTENTS")&&Uu(Ie.ADD_FORBID_CONTENTS)&&(Zo===so&&(Zo=Uo(Zo)),dn(Zo,Ie.ADD_FORBID_CONTENTS,oa)),hi&&(it["#text"]=!0),Kr&&dn(it,["html","head","body"]),it.table&&(dn(it,["tbody"]),delete tr.tbody),Ie.TRUSTED_TYPES_POLICY){if(typeof Ie.TRUSTED_TYPES_POLICY.createHTML!="function")throw Zp('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Ie.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Zp('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const Ht=_e;_e=Ie.TRUSTED_TYPES_POLICY;try{xe=de("")}catch(ir){throw _e=Ht,ir}}else Ie.TRUSTED_TYPES_POLICY===null?(_e=void 0,xe=""):(_e===void 0&&(_e=Ne()),_e&&typeof xe=="string"&&(xe=de("")));xo&&xo(Ie),Od=Ie},Wk=dn({},[...pw,...hw,...xF]),Hk=dn({},[...dw,..._F]),_U=function(Ie){let dt=re(Ie);dt&&dt.tagName||(dt={namespaceURI:_d,tagName:"template"});const Ht=Fm(Ie.tagName),ir=Fm(dt.tagName);return!!zw[Ie.namespaceURI]&&(Ie.namespaceURI===Qv?(function(Pr,$r,ga){return $r.namespaceURI===Kl?Pr==="svg":$r.namespaceURI===Xv?Pr==="svg"&&(ga==="annotation-xml"||Vw[ga]):!!Wk[Pr]})(Ht,dt,ir):Ie.namespaceURI===Xv?(function(Pr,$r,ga){return $r.namespaceURI===Kl?Pr==="math":$r.namespaceURI===Qv?Pr==="math"&&Jw[ga]:!!Hk[Pr]})(Ht,dt,ir):Ie.namespaceURI===Kl?(function(Pr,$r,ga){return!($r.namespaceURI===Qv&&!Jw[ga])&&!($r.namespaceURI===Xv&&!Vw[ga])&&!Hk[Pr]&&(EU[Pr]||!Wk[Pr])})(Ht,dt,ir):!(Jm!=="application/xhtml+xml"||!zw[Ie.namespaceURI]))},Ju=function(Ie){vd(r.removed,{element:Ie});try{re(Ie).removeChild(Ie)}catch{if(V(Ie),!re(Ie))throw Zp("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Zv=function(Ie){Wm(Ie);const dt=J(Ie);if(dt){const ir=[];yd(dt,(Or=>{vd(ir,Or)})),yd(ir,(Or=>{try{V(Or)}catch{}}))}const Ht=le(Ie);if(Ht)for(let ir=Ht.length-1;ir>=0;--ir){const Or=Ht[ir],Pr=Or&&Or.name;if(typeof Pr=="string")try{Ie.removeAttribute(Pr)}catch{}}},kd=function(Ie,dt){try{vd(r.removed,{attribute:dt.getAttributeNode(Ie),from:dt})}catch{vd(r.removed,{attribute:null,from:dt})}if(dt.removeAttribute(Ie),Ie==="is")if(Pn||Ua)try{Ju(dt)}catch{}else try{dt.setAttribute(Ie,"")}catch{}},OU=function(Ie){const dt=le(Ie);if(dt)for(let Ht=dt.length-1;Ht>=0;--Ht){const ir=dt[Ht],Or=ir&&ir.name;if(typeof Or=="string"&&!ut[oa(Or)])try{Ie.removeAttribute(Or)}catch{}}},Wm=function(Ie){const dt=[Ie];for(;dt.length>0;){const Ht=dt.pop();(ve?ve(Ht):Ht.nodeType)===bd&&OU(Ht);const ir=J(Ht);if(ir)for(let Or=ir.length-1;Or>=0;--Or)dt.push(ir[Or])}},Kk=function(Ie){let dt=null,Ht=null;if(En)Ie="<remove></remove>"+Ie;else{const Pr=V_(Ie,/^[\r\n\t ]+/);Ht=Pr&&Pr[0]}Jm==="application/xhtml+xml"&&_d===Kl&&(Ie='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Ie+"</body></html>");const ir=_e?de(Ie):Ie;if(_d===Kl)try{dt=new k().parseFromString(ir,Jm)}catch{}if(!dt||!dt.documentElement){dt=ht.createDocument(_d,"template",null);try{dt.documentElement.innerHTML=Uw?xe:ir}catch{}}const Or=dt.body||dt.documentElement;return Ie&&Ht&&Or.insertBefore(n.createTextNode(Ht),Or.childNodes[0]||null),_d===Kl?qt.call(dt,Kr?"html":"body")[0]:Kr?dt.documentElement:Or},Gk=function(Ie){const dt=ce?ce(Ie):Ie.ownerDocument;return Ct.call(dt||Ie,Ie,E.SHOW_ELEMENT|E.SHOW_COMMENT|E.SHOW_TEXT|E.SHOW_PROCESSING_INSTRUCTION|E.SHOW_CDATA_SECTION,null)},e0=function(Ie){return Ie=Lm(Ie,et," "),Ie=Lm(Ie,Dt," "),Ie=Lm(Ie,or," ")},Hw=function(Ie){var dt;Ie.normalize();const Ht=ce?ce(Ie):Ie.ownerDocument,ir=Ct.call(Ht||Ie,Ie,E.SHOW_TEXT|E.SHOW_COMMENT|E.SHOW_CDATA_SECTION|E.SHOW_PROCESSING_INSTRUCTION,null);let Or=ir.nextNode();for(;Or;)Or.data=e0(Or.data),Or=ir.nextNode();const Pr=(dt=Ie.querySelectorAll)===null||dt===void 0?void 0:dt.call(Ie,"template");Pr&&yd(Pr,($r=>{Ad($r.content)&&Hw($r.content)}))},t0=function(Ie){const dt=be?be(Ie):null;return typeof dt=="string"&&oa(dt)==="form"&&(typeof Ie.nodeName!="string"||typeof Ie.textContent!="string"||typeof Ie.removeChild!="function"||Ie.attributes!==le(Ie)||typeof Ie.removeAttribute!="function"||typeof Ie.setAttribute!="function"||typeof Ie.namespaceURI!="string"||typeof Ie.insertBefore!="function"||typeof Ie.hasChildNodes!="function"||Ie.nodeType!==ve(Ie)||Ie.childNodes!==J(Ie))},Ad=function(Ie){if(!ve||typeof Ie!="object"||Ie===null)return!1;try{return ve(Ie)===LF}catch{return!1}},Hm=function(Ie){if(!ve||typeof Ie!="object"||Ie===null)return!1;try{return typeof ve(Ie)=="number"}catch{return!1}};function Gl(rr,Ie,dt){rr.length!==0&&yd(rr,(Ht=>{Ht.call(r,Ie,dt,Od)}))}const Yk=function(Ie,dt,Ht,ir){return Ie.length===0?dt:dt===Ht||dt===ir?Uo(dt):dt},Xk=function(Ie,dt){if(Gl(Ot.beforeSanitizeElements,Ie,null),Ie!==dt&&re(Ie)===null)return Hl&&Wm(Ie),!0;if(t0(Ie))return Ju(Ie),!0;const Ht=oa(be?be(Ie):Ie.nodeName);if(it=Yk(Ot.uponSanitizeElement,it,bt,zr),Gl(Ot.uponSanitizeElement,Ie,{tagName:Ht,allowedTags:it}),Ie!==dt&&re(Ie)===null)return Hl&&Wm(Ie),!0;if((function(Or,Pr){return!!(We&&Or.hasChildNodes()&&!Hm(Or.firstElementChild)&&oo(Z_,Or.textContent)&&oo(Z_,Or.innerHTML))||!(!We||Or.namespaceURI!==Kl||Pr!=="style"||!Hm(Or.firstElementChild))||Or.nodeType===tO||!(!We||Or.nodeType!==rO||!oo(eO,Or.data))})(Ie,Ht))return Ju(Ie),!0;if(tr[Ht]||!(dr.tagCheck instanceof Function&&dr.tagCheck(Ht))&&!it[Ht]){const ir=(function(Pr,$r,ga){if(!tr[$r]&&Zk($r)&&(zt.tagNameCheck instanceof RegExp&&oo(zt.tagNameCheck,$r)||zt.tagNameCheck instanceof Function&&zt.tagNameCheck($r)))return!1;if(hi&&!Zo[$r]){const ei=re(Pr),Sn=J(Pr);if(Sn&&ei)for(let Fi=Sn.length-1;Fi>=0;--Fi){const Qn=Pr===ga?L(Sn[Fi],!0):Sn[Fi];ei.insertBefore(Qn,Q(Pr))}}return Ju(Pr),!0})(Ie,Ht,dt);return ir===!1&&Gl(Ot.afterSanitizeElements,Ie,null),ir}if((ve?ve(Ie):Ie.nodeType)===bd&&!_U(Ie)||(Ht==="noscript"||Ht==="noembed"||Ht==="noframes")&&oo(MF,Ie.innerHTML))return Ju(Ie),!0;if(jt&&Ie.nodeType===DF){const ir=e0(Ie.textContent);Ie.textContent!==ir&&(vd(r.removed,{element:Ie.cloneNode()}),Ie.textContent=ir)}return Gl(Ot.afterSanitizeElements,Ie,null),!1},Qk=function(Ie,dt,Ht){if(Er[dt]||We&&dt==="patchsrc"||We&&dt==="for"&&Ie!=="label"&&Ie!=="output"||Di&&(dt==="id"||dt==="name")&&(Ht in n||Ht in xU))return!1;const ir=ut[dt]||dr.attributeCheck instanceof Function&&dr.attributeCheck(dt,Ie);if(!(en&&oo(Ut,dt))){if(!(qr&&oo(pr,dt))){if(ir){if(!qw[dt]){if(!oo(Ft,Lm(Ht,$e,""))){if((dt!=="src"&&dt!=="xlink:href"&&dt!=="href"||Ie==="script"||J_(Ht,"data:")!==0||!Bk[Ie])&&!(kn&&!oo(W,Lm(Ht,$e,"")))){if(Ht)return!1}}}}else if(!(Zk(Ie)&&(zt.tagNameCheck instanceof RegExp&&oo(zt.tagNameCheck,Ie)||zt.tagNameCheck instanceof Function&&zt.tagNameCheck(Ie))&&(zt.attributeNameCheck instanceof RegExp&&oo(zt.attributeNameCheck,dt)||zt.attributeNameCheck instanceof Function&&zt.attributeNameCheck(dt,Ie))||dt==="is"&&zt.allowCustomizedBuiltInElements&&(zt.tagNameCheck instanceof RegExp&&oo(zt.tagNameCheck,Ht)||zt.tagNameCheck instanceof Function&&zt.tagNameCheck(Ht))))return!1}}return!0},kU=dn({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Zk=function(Ie){return!kU[Fm(Ie)]&&oo(Je,Ie)},AU=function(Ie,dt,Ht,ir){if(_e&&typeof P=="object"&&typeof P.getAttributeType=="function"&&!Ht)switch(P.getAttributeType(Ie,dt)){case"TrustedHTML":return de(ir);case"TrustedScriptURL":return(function(Pr){G(),je++;try{return _e.createScriptURL(Pr)}finally{je--}})(ir)}return ir},CU=function(Ie,dt,Ht,ir){try{Ht?Ie.setAttributeNS(Ht,dt,ir):Ie.setAttribute(dt,ir),t0(Ie)?Ju(Ie):z_(r.removed)}catch{kd(dt,Ie)}},eA=function(Ie){Gl(Ot.beforeSanitizeAttributes,Ie,null);const dt=Ie.attributes;if(!dt||t0(Ie))return;ut=Yk(Ot.uponSanitizeAttribute,ut,Xt,yn);const Ht={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ut,forceKeepAttr:void 0};let ir=dt.length;const Or=oa(Ie.nodeName);for(;ir--;){const Pr=dt[ir],$r=Pr.name,ga=Pr.namespaceURI,ei=Pr.value,Sn=oa($r),Fi=ei;let Qn=$r==="value"?Fi:bF(Fi);Ht.attrName=Sn,Ht.attrValue=Qn,Ht.keepAttr=!0,Ht.forceKeepAttr=void 0,Gl(Ot.uponSanitizeAttribute,Ie,Ht),Qn=Ht.attrValue,!vn||Sn!=="id"&&Sn!=="name"||J_(Qn,cn)===0||(kd($r,Ie),Qn=cn+Qn),We&&oo(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Qn)||Sn==="attributename"&&V_(Qn,"href")?kd($r,Ie):Ht.forceKeepAttr||(Ht.keepAttr&&(ln||!oo(RF,Qn))?(jt&&(Qn=e0(Qn)),Qk(Or,Sn,Qn)?(Qn=AU(Or,Sn,ga,Qn),Qn!==Fi&&CU(Ie,$r,ga,Qn)):kd($r,Ie)):kd($r,Ie))}Gl(Ot.afterSanitizeAttributes,Ie,null)},r0=function(Ie){let dt=null;const Ht=Gk(Ie);for(Gl(Ot.beforeSanitizeShadowDOM,Ie,null);dt=Ht.nextNode();)if(Gl(Ot.uponSanitizeShadowNode,dt,null),Xk(dt,Ie),eA(dt),Ad(dt.content)&&r0(dt.content),(ve?ve(dt):dt.nodeType)===bd){const ir=me(dt);Ad(ir)&&(Kw(ir),r0(ir))}Gl(Ot.afterSanitizeShadowDOM,Ie,null)},Kw=function(Ie){const dt=[{node:Ie,shadow:null}];for(;dt.length>0;){const Ht=dt.pop();if(Ht.shadow){r0(Ht.shadow);continue}const ir=Ht.node,Or=(ve?ve(ir):ir.nodeType)===bd,Pr=J(ir);if(Pr)for(let $r=Pr.length-1;$r>=0;--$r)dt.push({node:Pr[$r],shadow:null});if(Or){const $r=be?be(ir):null;if(typeof $r=="string"&&oa($r)==="template"){const ga=ir.content;Ad(ga)&&dt.push({node:ga,shadow:null})}}if(Or){const $r=me(ir);Ad($r)&&dt.push({node:null,shadow:$r},{node:$r,shadow:null})}}};return r.sanitize=function(rr){let Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},dt=null,Ht=null,ir=null,Or=null;if(Uw=!rr,Uw&&(rr="<!-->"),typeof rr!="string"&&!Hm(rr)&&typeof(rr=(function(Sn){switch(typeof Sn){case"string":return Sn;case"number":return wF(Sn);case"boolean":return EF(Sn);case"bigint":return W_?W_(Sn):"0";case"symbol":return H_?H_(Sn):"Symbol()";case"undefined":default:return Mv(Sn);case"function":case"object":{if(Sn===null)return Mv(Sn);const Fi=Sn,Qn=Hs(Fi,"toString");if(typeof Qn=="function"){const ps=Qn(Fi);return typeof ps=="string"?ps:Mv(ps)}return Mv(Sn)}}})(rr))!="string")throw Zp("dirty is not a string, aborting");if(!r.isSupported)return rr;Lr?(it=zr,ut=yn):Ww(Ie),(Ot.uponSanitizeElement.length>0||Ot.uponSanitizeAttribute.length>0)&&(it=Uo(it)),Ot.uponSanitizeAttribute.length>0&&(ut=Uo(ut)),r.removed=[];const Pr=Hl&&typeof rr!="string"&&Hm(rr);if(Pr){(function(Fi){if(!We)return;const Qn=[Fi];for(;Qn.length>0;){const ps=Qn.pop(),Gw=ve?ve(ps):ps.nodeType;if(Gw===tO||Gw===rO&&oo(eO,ps.data)){try{V(ps)}catch{}continue}if(Gw===bd){const Qs=ps,tA=oa(be?be(ps):ps.nodeName);try{Qs.hasAttribute&&Qs.hasAttribute("patchsrc")&&Qs.removeAttribute("patchsrc"),Qs.hasAttribute&&Qs.hasAttribute("for")&&tA!=="label"&&tA!=="output"&&Qs.removeAttribute("for")}catch{}}const Yw=J(ps);if(Yw)for(let Qs=Yw.length-1;Qs>=0;--Qs)Qn.push(Yw[Qs])}})(rr);const ei=be?be(rr):rr.nodeName;if(typeof ei=="string"){const Sn=oa(ei);if(!it[Sn]||tr[Sn])throw Zv(rr),Zp("root node is forbidden and cannot be sanitized in-place")}if(t0(rr))throw Zv(rr),Zp("root node is clobbered and cannot be sanitized in-place");try{Kw(rr)}catch(Sn){throw Zv(rr),Sn}}else if(Hm(rr))dt=Kk("<!---->"),Ht=dt.ownerDocument.importNode(rr,!0),Ht.nodeType===bd&&Ht.nodeName==="BODY"||Ht.nodeName==="HTML"?dt=Ht:dt.appendChild(Ht),Kw(Ht);else{if(!Pn&&!jt&&!Kr&&rr.indexOf("<")===-1)return _e&&Dn?de(rr):rr;if(dt=Kk(rr),!dt)return Pn?null:Dn?xe:""}dt&&En&&Ju(dt.firstChild);const $r=Pr?rr:dt;try{const ei=Gk($r);for(;ir=ei.nextNode();)Xk(ir,$r),eA(ir),Ad(ir.content)&&r0(ir.content)}catch(ei){throw Pr&&(Zv(rr),yd(r.removed,(Sn=>{Sn.element&&Wm(Sn.element)}))),ei}if(Pr)return yd(r.removed,(ei=>{ei.element&&Wm(ei.element)})),jt&&Hw(rr),rr;if(Pn){if(jt&&Hw(dt),Ua)for(Or=_t.call(dt.ownerDocument);dt.firstChild;)Or.appendChild(dt.firstChild);else Or=dt;return(ut.shadowroot||ut.shadowrootmode)&&(Or=It.call(a,Or,!0)),Or}let ga=Kr?dt.outerHTML:dt.innerHTML;return Kr&&it["!doctype"]&&dt.ownerDocument&&dt.ownerDocument.doctype&&dt.ownerDocument.doctype.name&&oo(TF,dt.ownerDocument.doctype.name)&&(ga="<!DOCTYPE "+dt.ownerDocument.doctype.name+`>
`+ga),jt&&(ga=e0(ga)),_e&&Dn?de(ga):ga},r.setConfig=function(){Ww(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),Lr=!0,zr=it,yn=ut},r.clearConfig=function(){Od=null,Lr=!1,zr=null,yn=null,_e=Ae,xe=""},r.isValidAttribute=function(rr,Ie,dt){Od||Ww({});const Ht=oa(rr),ir=oa(Ie);return Qk(Ht,ir,dt)},r.addHook=function(rr,Ie){typeof Ie=="function"&&ao(Ot,rr)&&vd(Ot[rr],Ie)},r.removeHook=function(rr,Ie){if(ao(Ot,rr)){if(Ie!==void 0){const dt=yF(Ot[rr],Ie);return dt===-1?void 0:vF(Ot[rr],dt,1)[0]}return z_(Ot[rr])}},r.removeHooks=function(rr){ao(Ot,rr)&&(Ot[rr]=[])},r.removeAllHooks=function(){Ot={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r})();mw.addHook&&mw.addHook("beforeSanitizeElements",(function(t){return t.href&&t.setAttribute("rel","noopener noreferrer"),t}));const BF=function({source:e,className:r="",getConfigs:n=()=>({useUnsafeMarkdown:!1})}){if(typeof e!="string")return null;const a=new Nc({html:!0,typographer:!0,breaks:!0,linkTarget:"_blank"}).use(hF);a.core.ruler.disable(["replacements","smartquotes"]);const{useUnsafeMarkdown:o}=n(),p=a.render(e),c=$m(p,{useUnsafeMarkdown:o});return e&&p&&c?u.createElement("div",{className:Xr()(r,"markdown"),dangerouslySetInnerHTML:{__html:c}}):null};function $m(t,{useUnsafeMarkdown:e=!1}={}){const r=e,n=e?[]:["style","class"];return e&&!$m.hasWarnedAboutDeprecation&&(console.warn("useUnsafeMarkdown display configuration parameter is deprecated since >3.26.0 and will be removed in v4.0.0."),$m.hasWarnedAboutDeprecation=!0),mw.sanitize(t,{ADD_ATTR:["target"],FORBID_TAGS:["style","form"],ALLOW_DATA_ATTR:r,FORBID_ATTR:n})}$m.hasWarnedAboutDeprecation=!1;class qF extends u.Component{render(){const{errSelectors:e,specSelectors:r,getComponent:n}=this.props,a=n("SvgAssets"),o=n("InfoContainer",!0),p=n("VersionPragmaFilter"),c=n("operations",!0),d=n("Models",!0),E=n("Webhooks",!0),x=n("Row"),k=n("Col"),P=n("errors",!0),R=n("ServersContainer",!0),L=n("SchemesContainer",!0),V=n("AuthorizeBtnContainer",!0),Q=n("FilterContainer",!0),J=r.isSwagger2(),re=r.isOAS3(),me=r.isOAS31(),le=r.isOAS32(),ve=!r.specStr(),be=r.loadingStatus();let ce=null;if(be==="loading"&&(ce=u.createElement("div",{className:"info"},u.createElement("div",{className:"loading-container"},u.createElement("div",{className:"loading"})))),be==="failed"&&(ce=u.createElement("div",{className:"info"},u.createElement("div",{className:"loading-container"},u.createElement("h4",{className:"title"},"Failed to load API definition."),u.createElement(P,null)))),be==="failedConfig"){const G=e.lastError(),de=G?G.get("message"):"";ce=u.createElement("div",{className:"info failed-config"},u.createElement("div",{className:"loading-container"},u.createElement("h4",{className:"title"},"Failed to load remote configuration."),u.createElement("p",null,de)))}if(!ce&&ve&&(ce=u.createElement("h4",null,"No API definition provided.")),ce)return u.createElement("div",{className:"swagger-ui"},u.createElement("div",{className:"loading-container"},ce));const _e=r.servers(),Ae=r.schemes(),xe=_e&&_e.size,Oe=Ae&&Ae.size,je=!!r.securityDefinitions();return u.createElement("div",{className:"swagger-ui"},u.createElement(a,null),u.createElement(p,{isSwagger2:J,isOAS3:re,isOAS31:me,isOAS32:le,alsoShow:u.createElement(P,null)},u.createElement(P,null),u.createElement(x,{className:"information-container"},u.createElement(k,{mobile:12},u.createElement(o,null))),xe||Oe||je?u.createElement("div",{className:"scheme-container"},u.createElement(k,{className:"schemes wrapper",mobile:12},xe||Oe?u.createElement("div",{className:"schemes-server-container"},xe?u.createElement(R,null):null,Oe?u.createElement(L,null):null):null,je?u.createElement(V,null):null)):null,u.createElement(Q,null),u.createElement("main",{id:"operations",tabIndex:"-1",style:{outline:"none"}},u.createElement(x,null,u.createElement(k,{mobile:12,desktop:12},u.createElement(c,null))),me&&u.createElement(x,{className:"webhooks-container"},u.createElement(k,{mobile:12,desktop:12},u.createElement(E,null))),u.createElement(x,null,u.createElement(k,{mobile:12,desktop:12},u.createElement(d,null))))))}}const UF=()=>({components:{App:P9,authorizationPopup:N9,authorizeBtn:T9,AuthorizeBtnContainer:I9,authorizeOperationBtn:M9,auths:R9,AuthItem:D9,authError:F9,oauth2:V9,apiKeyAuth:L9,basicAuth:$9,clear:J9,liveResponse:K9,InitializedInput:R7,info:$7,InfoContainer:B7,InfoUrl:F7,InfoBasePath:D7,Contact:U7,License:V7,JumpToPath:J7,CopyToClipboardBtn:W7,onlineValidatorBadge:Qx,operations:Y9,operation:Q9,OperationSummary:r7,OperationSummaryMethod:n7,OperationSummaryPath:a7,responses:q1,response:s7,ResponseExtension:l7,responseBody:h7,parameters:d7,parameterRow:y7,execute:v7,headers:b7,errors:w7,contentType:_7,overview:I7,footer:H7,FilterContainer:K7,ParamBody:J1,curl:G7,Property:Y7,TryItOutButton:X7,Markdown:BF,BaseLayout:qF,VersionPragmaFilter:Q7,VersionStamp:Z7,OperationExt:o7,OperationExtRow:i7,ParameterExt:f7,ParameterIncludeEmpty:g7,OperationTag:X9,OperationContainer:Z9,OpenAPIVersion:eD,DeepLink:tD,SvgAssets:rD,Example:B9,ExamplesSelect:q9,ExamplesSelectValueRetainer:U9}}),zF=()=>({components:{...Ve}}),nO=()=>[Zl,Nd,mx,uh,Nx,Tx,ey,sh,pp,Fd,Yd,Ah,UF,zF,fx,Ss,Ix,up,Id,Ld,Ol,Hx,Kx,Xx()],VF=(0,H.Map)();function Bm(t){return(e,r)=>(...n)=>{if(r.getSystem().specSelectors.isOAS3()){const a=t(...n);return typeof a=="function"?a(r):a}return e(...n)}}const qm=Bm(vu()(null)),JF=Bm(((t,e)=>r=>r.getSystem().specSelectors.findSchema(e))),WF=Bm((()=>t=>{const e=t.getSystem().specSelectors.specJson().getIn(["components","schemas"]);return H.Map.isMap(e)?e:VF})),HF=Bm((()=>t=>t.getSystem().specSelectors.specJson().hasIn(["servers",0]))),KF=Bm(yr(li,(t=>t.getIn(["components","securitySchemes"])||null))),GF=(t,e)=>(r,...n)=>e.specSelectors.isOAS3()?e.oas3Selectors.validOperationMethods():t(...n),YF=qm,XF=qm,QF=qm,ZF=qm,eL=qm,tL=(function(e){return(r,n)=>(...a)=>{if(n.getSystem().specSelectors.isOAS3()){let o=n.getState().getIn(["spec","resolvedSubtrees","components","securitySchemes"]);return e(n,o,...a)}return r(...a)}})(yr((t=>t),(({specSelectors:t})=>t.securityDefinitions()),((t,e)=>{let r=(0,H.List)();return e&&e.entrySeq().forEach((([n,a])=>{const o=a?.get("type");if(o==="oauth2"&&a.get("flows").entrySeq().forEach((([p,c])=>{let d=(0,H.fromJS)({flow:p,authorizationUrl:c.get("authorizationUrl"),tokenUrl:c.get("tokenUrl"),scopes:c.get("scopes"),type:a.get("type"),description:a.get("description")});r=r.push(new H.Map({[n]:d.filter((E=>E!==void 0))}))})),o!=="http"&&o!=="apiKey"||(r=r.push(new H.Map({[n]:a}))),o==="openIdConnect"&&a.get("openIdConnectData")){let p=a.get("openIdConnectData");(p.get("grant_types_supported")||["authorization_code","implicit"]).forEach((c=>{let d=p.get("scopes_supported")&&p.get("scopes_supported").reduce(((x,k)=>x.set(k,"")),new H.Map),E=(0,H.fromJS)({flow:c,authorizationUrl:p.get("authorization_endpoint"),tokenUrl:p.get("token_endpoint"),scopes:d,type:"oauth2",openIdConnectUrl:a.get("openIdConnectUrl")});r=r.push(new H.Map({[n]:E.filter((x=>x!==void 0))}))}))}})),r})));function Um(t){return(e,r)=>n=>typeof r.specSelectors?.isOAS3=="function"?r.specSelectors.isOAS3()?u.createElement(t,Yr()({},n,r,{Ori:e})):u.createElement(e,n):(console.warn("OAS3 wrapper: couldn't get spec"),null)}const rL=(0,H.Map)(),nL=()=>t=>(function(r){const n=r.get("swagger");return typeof n=="string"&&n==="2.0"})(t.getSystem().specSelectors.specJson()),aL=()=>t=>(function(r){const n=r.get("openapi");return typeof n=="string"&&/^3\.0\.(?:[1-9]\d*|0)$/.test(n)})(t.getSystem().specSelectors.specJson()),oL=()=>t=>t.getSystem().specSelectors.isOAS30();function aO(t){return(e,...r)=>n=>{if(n.specSelectors.isOAS3()){const a=t(e,...r);return typeof a=="function"?a(n):a}return null}}const iL=aO((()=>t=>t.specSelectors.specJson().get("servers",rL))),sL=(t,e)=>{const r=t.getIn(["resolvedSubtrees","components","schemas",e],null),n=t.getIn(["json","components","schemas",e],null);return r||n||null},lL=aO(((t,{callbacks:e,specPath:r})=>n=>{const a=n.specSelectors.validOperationMethods();return H.Map.isMap(e)?e.reduce(((o,p,c)=>{if(!H.Map.isMap(p))return o;const d=p.reduce(((E,x,k)=>{if(!H.Map.isMap(x))return E;const P=x.entrySeq().filter((([R])=>a.includes(R))).map((([R,L])=>({operation:(0,H.Map)({operation:L}),method:R,path:k,callbackName:c,specPath:r.concat([c,k,R])})));return E.concat(P)}),(0,H.List)());return o.concat(d)}),(0,H.List)()).groupBy((o=>o.callbackName)).map((o=>o.toArray())).toObject():{}})),cL=({callbacks:t,specPath:e,specSelectors:r,getComponent:n})=>{const a=r.callbacksOperations({callbacks:t,specPath:e}),o=Object.keys(a),p=n("OperationContainer",!0);return o.length===0?u.createElement("span",null,"No callbacks"):u.createElement("div",null,o.map((c=>u.createElement("div",{key:`${c}`},u.createElement("h2",null,c),a[c].map((d=>u.createElement(p,{key:`${c}-${d.path}-${d.method}`,op:d.operation,tag:"callbacks",method:d.method,path:d.path,specPath:d.specPath,allowTryItOut:!1})))))))},Dv=(t,e,r,n)=>{const a=t.getIn(["content",e])??(0,H.OrderedMap)(),o=a.get("schema",(0,H.OrderedMap)()),p=a.get("examples")!==void 0,c=a.get("example"),d=p?a.getIn(["examples",r,"value"]):c;return Gr(n.getSampleSchema(o,e,{includeWriteOnly:!0},d))},uL=({userHasEditedBody:t,requestBody:e,requestBodyValue:r,requestBodyInclusionSetting:n,requestBodyErrors:a,getComponent:o,getConfigs:p,specSelectors:c,fn:d,contentType:E,isExecute:x,specPath:k,onChange:P,onChangeIncludeEmpty:R,activeExamplesKey:L,updateActiveExamplesKey:V,setRetainRequestBodyValueFlag:Q})=>{const J=qt=>{P(qt.target.files[0])},re=qt=>{let It={key:qt,shouldDispatchInit:!1,defaultValue:!0};return n.get(qt,"no value")==="no value"&&(It.shouldDispatchInit=!0),It},me=o("Markdown",!0),le=o("modelExample"),ve=o("RequestBodyEditor"),be=o("HighlightCode",!0),ce=o("ExamplesSelectValueRetainer"),_e=o("Example"),Ae=o("ParameterIncludeEmpty"),{showCommonExtensions:xe}=p(),Oe=e?.get("description")??null,je=e?.get("content")??new H.OrderedMap;E=E||je.keySeq().first()||"";const G=je.get(E)??(0,H.OrderedMap)(),de=G.get("schema",(0,H.OrderedMap)()),Ne=G.get("examples",null),Ye=Ne?.map(((qt,It)=>{const Ot=qt?.get("value",null);return Ot&&(qt=qt.set("value",Dv(e,E,It,d),Ot)),qt}));if(a=H.List.isList(a)?a:(0,H.List)(),d.isFileUploadIntended(G?.get("schema"),E)){const qt=o("Input");return x?u.createElement(qt,{type:"file",onChange:J}):u.createElement("i",null,"Example values are not available for ",u.createElement("code",null,E)," media types.")}if(!G.size)return null;if(d.hasSchemaType(G.get("schema"),"object")&&(E==="application/x-www-form-urlencoded"||E.indexOf("multipart/")===0)&&de.get("properties",(0,H.OrderedMap)()).size>0){const qt=o("JsonSchemaForm"),It=o("ParameterExt"),Ot=de.get("properties",(0,H.OrderedMap)());return r=H.Map.isMap(r)?r:(0,H.OrderedMap)(),u.createElement("div",{className:"table-container"},Oe&&u.createElement(me,{source:Oe}),u.createElement("table",null,u.createElement("tbody",null,H.Map.isMap(Ot)&&Ot.entrySeq().map((([et,Dt])=>{if(Dt.get("readOnly"))return;const or=Dt.get("oneOf")?.get(0)?.toJS(),Ut=Dt.get("anyOf")?.get(0)?.toJS();Dt=(0,H.fromJS)(d.mergeJsonSchema(Dt.toJS(),or??Ut??{}));let pr=xe?mr(Dt):null;const W=de.get("required",(0,H.List)()).includes(et),$e=d.getSchemaObjectType(Dt),Je=d.getSchemaObjectTypeLabel(Dt),Ft=d.getSchemaObjectType(Dt?.get("items")),it=Dt.get("format"),bt=Dt.get("description"),ut=r.getIn([et,"value"]),Xt=r.getIn([et,"errors"])||a,zt=n.get(et)||!1;let tr=d.getSampleSchema(Dt,!1,{includeWriteOnly:!0});tr===!1&&(tr="false"),tr===0&&(tr="0"),typeof tr!="string"&&$e==="object"&&(tr=Gr(tr)),typeof tr=="string"&&$e==="array"&&(tr=JSON.parse(tr));const Er=d.isFileUploadIntended(Dt),dr=u.createElement(qt,{fn:d,dispatchInitialValue:!Er,schema:Dt,description:et,getComponent:o,value:ut===void 0?tr:ut,required:W,errors:Xt,onChange:qr=>{P(qr,[et])}});return u.createElement("tr",{key:et,className:"parameters","data-property-name":et},u.createElement("td",{className:"parameters-col_name"},u.createElement("div",{className:W?"parameter__name required":"parameter__name"},et,W?u.createElement("span",null," *"):null),u.createElement("div",{className:"parameter__type"},Je,it&&u.createElement("span",{className:"prop-format"},"($",it,")"),xe&&pr.size?pr.entrySeq().map((([qr,en])=>u.createElement(It,{key:`${qr}-${en}`,xKey:qr,xVal:en}))):null),u.createElement("div",{className:"parameter__deprecated"},Dt.get("deprecated")?"deprecated":null)),u.createElement("td",{className:"parameters-col_description"},u.createElement(me,{source:bt}),x?u.createElement("div",null,$e==="object"||Ft==="object"?u.createElement(le,{getComponent:o,specPath:k.push("schema"),getConfigs:p,isExecute:x,specSelectors:c,schema:Dt,example:dr}):dr,W?null:u.createElement(Ae,{onChange:qr=>R(et,qr),isIncluded:zt,isIncludedOptions:re(et),isDisabled:Array.isArray(ut)?ut.length!==0:!Wa(ut)})):null))})))))}const ht=Dv(e,E,L,d);let Ct=null;_v(ht)&&(Ct="json");const _t=x?u.createElement(ve,{value:r,errors:a,defaultValue:ht,onChange:P,getComponent:o}):u.createElement(be,{className:"body-param__example",language:Ct},Gr(r)||ht);return u.createElement("div",null,Oe&&u.createElement(me,{source:Oe}),Ye?u.createElement(ce,{userHasEditedBody:t,examples:Ye,currentKey:L,currentUserInputValue:r,onSelect:qt=>{V(qt)},updateValue:P,defaultToFirstExample:!0,getComponent:o,setRetainRequestBodyValueFlag:Q}):null,u.createElement(le,{getComponent:o,getConfigs:p,specSelectors:c,expandDepth:1,isExecute:x,schema:G.get("schema"),specPath:k.push("content",E,"schema"),example:_t,includeWriteOnly:!0}),Ye?u.createElement(_e,{example:Ye.get(L),getComponent:o,getConfigs:p}):null)};class pL extends u.Component{render(){const{link:e,name:r,getComponent:n}=this.props,a=n("Markdown",!0);let o=e.get("operationId")||e.get("operationRef"),p=e.get("parameters")&&e.get("parameters").toJS(),c=e.get("description");return u.createElement("div",{className:"operation-link"},u.createElement("div",{className:"description"},u.createElement("b",null,u.createElement("code",null,r)),c?u.createElement(a,{source:c}):null),u.createElement("pre",null,"Operation `",o,"`",u.createElement("br",null),u.createElement("br",null),"Parameters ",(function(E,x){return typeof x!="string"?"":x.split(`
`).map(((k,P)=>P>0?Array(E+1).join(" ")+k:k)).join(`
`)})(0,JSON.stringify(p,null,2))||"{}",u.createElement("br",null)))}}const hL=pL,dL=({servers:t,currentServer:e,setSelectedServer:r,setServerVariableValue:n,getServerVariable:a,getEffectiveServerValue:o})=>{const p=(t.find((x=>x.get("url")===e))||(0,H.OrderedMap)()).get("variables")||(0,H.OrderedMap)(),c=p.size!==0;(0,u.useEffect)((()=>{e||r(t.first()?.get("url"))}),[]),(0,u.useEffect)((()=>{const x=t.find((k=>k.get("url")===e));if(!x)return void r(t.first().get("url"));(x.get("variables")||(0,H.OrderedMap)()).map(((k,P)=>{n({server:e,key:P,val:k.get("default")||""})}))}),[e,t]);const d=(0,u.useCallback)((x=>{r(x.target.value)}),[r]),E=(0,u.useCallback)((x=>{const k=x.target.getAttribute("data-variable"),P=x.target.value;n({server:e,key:k,val:P})}),[n,e]);return u.createElement("div",{className:"servers"},u.createElement("label",{htmlFor:"servers"},u.createElement("select",{onChange:d,value:e,id:"servers"},t.valueSeq().map((x=>u.createElement("option",{value:x.get("url"),key:x.get("url")},x.get("url"),x.get("description")&&` - ${x.get("description")}`))).toArray())),c&&u.createElement("div",null,u.createElement("div",{className:"computed-url"},"Computed URL:",u.createElement("code",null,o(e))),u.createElement("h4",null,"Server variables"),u.createElement("table",null,u.createElement("tbody",null,p.entrySeq().map((([x,k])=>u.createElement("tr",{key:x},u.createElement("td",null,x),u.createElement("td",null,k.get("enum")?u.createElement("select",{"data-variable":x,onChange:E},k.get("enum").map((P=>u.createElement("option",{selected:P===a(e,x),key:P,value:P},P)))):u.createElement("input",{type:"text",value:a(e,x)||"",onChange:E,"data-variable":x})))))))))};class fL extends u.Component{render(){const{specSelectors:e,oas3Selectors:r,oas3Actions:n,getComponent:a}=this.props,o=e.servers(),p=a("Servers");return o&&o.size?u.createElement("div",null,u.createElement("span",{className:"servers-title"},"Servers"),u.createElement(p,{servers:o,currentServer:r.selectedServer(),setSelectedServer:n.setSelectedServer,setServerVariableValue:n.setServerVariableValue,getServerVariable:r.serverVariableValue,getEffectiveServerValue:r.serverEffectiveValue})):null}}const mL=Function.prototype;class gL extends u.PureComponent{static defaultProps={onChange:mL,userHasEditedBody:!1};constructor(e,r){super(e,r),this.state={value:Gr(e.value)||e.defaultValue},e.onChange(e.value)}applyDefaultValue=e=>{const{onChange:r,defaultValue:n}=e||this.props;return this.setState({value:n}),r(n)};onChange=e=>{this.props.onChange(Gr(e))};onDomChange=e=>{const r=e.target.value;this.setState({value:r},(()=>this.onChange(r)))};UNSAFE_componentWillReceiveProps(e){this.props.value!==e.value&&e.value!==this.state.value&&this.setState({value:Gr(e.value)}),!e.value&&e.defaultValue&&this.state.value&&this.applyDefaultValue(e)}render(){let{getComponent:e,errors:r}=this.props,{value:n}=this.state,a=r.size>0;const o=e("TextArea");return u.createElement("div",{className:"body-param"},u.createElement(o,{className:Xr()("body-param__text",{invalid:a}),title:r.size?r.join(", "):"",value:n,onChange:this.onDomChange}))}}class yL extends u.Component{constructor(e,r){super(e,r);let{name:n,schema:a}=this.props,o=this.getValue();this.state={name:n,schema:a,value:o}}getValue(){let{name:e,authorized:r}=this.props;return r&&r.getIn([e,"value"])}onChange=e=>{let{onChange:r}=this.props,{value:n,name:a}=e.target,o=Object.assign({},this.state.value);a?o[a]=n:o=n,this.setState({value:o},(()=>r(this.state)))};render(){let{schema:e,getComponent:r,errSelectors:n,name:a,authSelectors:o}=this.props;const p=r("Input"),c=r("Row"),d=r("Col"),E=r("authError"),x=r("Markdown",!0),k=r("JumpToPath",!0),P=(e.get("scheme")||"").toLowerCase(),R=o.selectAuthPath(a);let L=this.getValue(),V=n.allErrors().filter((Q=>Q.get("authId")===a));if(P==="basic"){let Q=L?L.get("username"):null;return u.createElement("div",null,u.createElement("h4",null,u.createElement("code",null,a),"  (http, Basic)",u.createElement(k,{path:R})),Q&&u.createElement("h6",null,"Authorized"),u.createElement(c,null,u.createElement(x,{source:e.get("description")})),u.createElement(c,null,u.createElement("label",{htmlFor:"auth-basic-username"},"Username:"),Q?u.createElement("code",null," ",Q," "):u.createElement(d,null,u.createElement(p,{id:"auth-basic-username",type:"text",required:"required",name:"username","aria-label":"auth-basic-username",onChange:this.onChange,autoFocus:!0}))),u.createElement(c,null,u.createElement("label",{htmlFor:"auth-basic-password"},"Password:"),Q?u.createElement("code",null," ****** "):u.createElement(d,null,u.createElement(p,{id:"auth-basic-password",autoComplete:"new-password",name:"password",type:"password","aria-label":"auth-basic-password",onChange:this.onChange}))),V.valueSeq().map(((J,re)=>u.createElement(E,{error:J,key:re}))))}return P==="bearer"?u.createElement("div",null,u.createElement("h4",null,u.createElement("code",null,a),"  (http, Bearer)",u.createElement(k,{path:R})),L&&u.createElement("h6",null,"Authorized"),u.createElement(c,null,u.createElement(x,{source:e.get("description")})),u.createElement(c,null,u.createElement("label",{htmlFor:"auth-bearer-value"},"Value:"),L?u.createElement("code",null," ****** "):u.createElement(d,null,u.createElement(p,{id:"auth-bearer-value",type:"text","aria-label":"auth-bearer-value",onChange:this.onChange,autoFocus:!0}))),V.valueSeq().map(((Q,J)=>u.createElement(E,{error:Q,key:J})))):u.createElement("div",null,u.createElement("em",null,u.createElement("b",null,a)," HTTP authentication: unsupported scheme ",`'${P}'`))}}class vL extends u.Component{setSelectedServer=e=>{const{path:r,method:n}=this.props;return this.forceUpdate(),this.props.setSelectedServer(e,`${r}:${n}`)};setServerVariableValue=e=>{const{path:r,method:n}=this.props;return this.forceUpdate(),this.props.setServerVariableValue({...e,namespace:`${r}:${n}`})};getSelectedServer=()=>{const{path:e,method:r}=this.props;return this.props.getSelectedServer(`${e}:${r}`)};getServerVariable=(e,r)=>{const{path:n,method:a}=this.props;return this.props.getServerVariable({namespace:`${n}:${a}`,server:e},r)};getEffectiveServerValue=e=>{const{path:r,method:n}=this.props;return this.props.getEffectiveServerValue({server:e,namespace:`${r}:${n}`})};render(){const{operationServers:e,pathServers:r,getComponent:n}=this.props;if(!e&&!r)return null;const a=n("Servers"),o=e||r,p=e?"operation":"path";return u.createElement("div",{className:"opblock-section operation-servers"},u.createElement("div",{className:"opblock-section-header"},u.createElement("div",{className:"tab-header"},u.createElement("h4",{className:"opblock-title"},"Servers"))),u.createElement("div",{className:"opblock-description-wrapper"},u.createElement("h4",{className:"message"},"These ",p,"-level options override the global server options."),u.createElement(a,{servers:o,currentServer:this.getSelectedServer(),setSelectedServer:this.setSelectedServer,setServerVariableValue:this.setServerVariableValue,getServerVariable:this.getServerVariable,getEffectiveServerValue:this.getEffectiveServerValue})))}}const bL={Callbacks:cL,HttpAuth:yL,RequestBody:uL,Servers:dL,ServersContainer:fL,RequestBodyEditor:gL,OperationServers:vL,operationLink:hL},gw=new Nc("commonmark");gw.block.ruler.enable(["table"]),gw.set({linkTarget:"_blank"});const wL=Um((({source:t,className:e="",getConfigs:r=()=>({useUnsafeMarkdown:!1})})=>{if(typeof t!="string")return null;if(t){const{useUnsafeMarkdown:n}=r(),a=$m(gw.render(t),{useUnsafeMarkdown:n});let o;return typeof a=="string"&&(o=a.trim()),u.createElement("div",{dangerouslySetInnerHTML:{__html:o},className:Xr()(e,"renderedMarkdown")})}return null})),EL=Um((({Ori:t,...e})=>{const{schema:r,getComponent:n,errSelectors:a,authorized:o,onAuthChange:p,name:c,authSelectors:d}=e,E=n("HttpAuth");return r.get("type")==="http"?u.createElement(E,{key:c,schema:r,name:c,errSelectors:a,authorized:o,getComponent:n,onChange:p,authSelectors:d}):u.createElement(t,e)})),SL=Um(Qx);class xL extends u.Component{render(){let{getConfigs:e,schema:r,Ori:n}=this.props,a=["model-box"],o=null;return r.get("deprecated")===!0&&(a.push("deprecated"),o=u.createElement("span",{className:"model-deprecated-warning"},"Deprecated:")),u.createElement("div",{className:a.join(" ")},o,u.createElement(n,Yr()({},this.props,{getConfigs:e,depth:1,expandDepth:this.props.expandDepth||0})))}}const _L=Um(xL),OL=Um((({Ori:t,...e})=>{const{schema:r,getComponent:n,errors:a,onChange:o,fn:p}=e,c=p.isFileUploadIntended(r),d=n("Input");return c?u.createElement(d,{type:"file",className:a.length?"invalid":"",title:a.length?a:"",onChange:E=>{o(E.target.files[0])},disabled:t.isDisabled}):u.createElement(t,e)})),kL={Markdown:wL,AuthItem:EL,OpenAPIVersion:(function(e){return(r,n)=>a=>typeof n.specSelectors?.isOAS30=="function"?n.specSelectors.isOAS30()?u.createElement(e,Yr()({},a,n,{Ori:r})):u.createElement(r,a):(console.warn("OAS30 wrapper: couldn't get spec"),null)})((t=>{const{Ori:e}=t;return u.createElement(e,{oasVersion:"3.0"})})),JsonSchema_string:OL,model:_L,onlineValidatorBadge:SL},yw="oas3_set_servers",vw="oas3_set_request_body_value",bw="oas3_set_request_body_retain_flag",ww="oas3_set_request_body_inclusion",Ew="oas3_set_active_examples_member",Sw="oas3_set_request_content_type",xw="oas3_set_response_content_type",_w="oas3_set_server_variable_value",Ow="oas3_set_request_body_validate_error",Fv="oas3_clear_request_body_validate_error",kw="oas3_clear_request_body_value";function AL(t,e){return{type:yw,payload:{selectedServerUrl:t,namespace:e}}}function CL({value:t,pathMethod:e}){return{type:vw,payload:{value:t,pathMethod:e}}}const jL=({value:t,pathMethod:e})=>({type:bw,payload:{value:t,pathMethod:e}});function PL({value:t,pathMethod:e,name:r}){return{type:ww,payload:{value:t,pathMethod:e,name:r}}}function NL({name:t,pathMethod:e,contextType:r,contextName:n}){return{type:Ew,payload:{name:t,pathMethod:e,contextType:r,contextName:n}}}function TL({value:t,pathMethod:e}){return{type:Sw,payload:{value:t,pathMethod:e}}}function IL({value:t,path:e,method:r}){return{type:xw,payload:{value:t,path:e,method:r}}}function ML({server:t,namespace:e,key:r,val:n}){return{type:_w,payload:{server:t,namespace:e,key:r,val:n}}}const RL=({path:t,method:e,validationErrors:r})=>({type:Ow,payload:{path:t,method:e,validationErrors:r}}),DL=({path:t,method:e})=>({type:Fv,payload:{path:t,method:e}}),FL=({pathMethod:t})=>({type:Fv,payload:{path:t[0],method:t[1]}}),LL=({pathMethod:t})=>({type:kw,payload:{pathMethod:t}});var $L=Be(60680),BL=Be.n($L);const ss=t=>(e,...r)=>n=>{if(n.getSystem().specSelectors.isOAS3()){const a=t(e,...r);return typeof a=="function"?a(n):a}return null},qL=ss(((t,e)=>{const r=e?[e,"selectedServer"]:["selectedServer"];return t.getIn(r)||""})),UL=ss(((t,e,r)=>t.getIn(["requestData",e,r,"bodyValue"])||null)),zL=ss(((t,e,r)=>t.getIn(["requestData",e,r,"retainBodyValue"])||!1)),VL=(t,e,r)=>n=>{const{oas3Selectors:a,specSelectors:o,fn:p}=n.getSystem();if(o.isOAS3()){const c=a.requestContentType(e,r);if(c)return Dv(o.specResolvedSubtree(["paths",e,r,"requestBody"]),c,a.activeExamplesMember(e,r,"requestBody","requestBody"),p)}return null},JL=ss(((t,e,r)=>n=>{const{oas3Selectors:a,specSelectors:o,fn:p}=n;let c=!1;const d=a.requestContentType(e,r);let E=a.requestBodyValue(e,r);const x=o.specResolvedSubtree(["paths",e,r,"requestBody"]);if(!x)return!1;if(H.Map.isMap(E)&&(E=Gr(E.mapEntries((k=>H.Map.isMap(k[1])?[k[0],k[1].get("value")]:k)).toJS())),H.List.isList(E)&&(E=Gr(E)),d){const k=Dv(x,d,a.activeExamplesMember(e,r,"requestBody","requestBody"),p);c=!!E&&E!==k}return c})),WL=ss(((t,e,r)=>t.getIn(["requestData",e,r,"bodyInclusion"])||(0,H.Map)())),HL=ss(((t,e,r)=>t.getIn(["requestData",e,r,"errors"])||null)),KL=ss(((t,e,r,n,a)=>t.getIn(["examples",e,r,n,a,"activeExample"])||null)),GL=ss(((t,e,r)=>t.getIn(["requestData",e,r,"requestContentType"])||null)),YL=ss(((t,e,r)=>t.getIn(["requestData",e,r,"responseContentType"])||null)),XL=ss(((t,e,r)=>{let n;if(typeof e!="string"){const{server:a,namespace:o}=e;n=o?[o,"serverVariableValues",a,r]:["serverVariableValues",a,r]}else n=["serverVariableValues",e,r];return t.getIn(n)||null})),QL=ss(((t,e)=>{let r;if(typeof e!="string"){const{server:n,namespace:a}=e;r=a?[a,"serverVariableValues",n]:["serverVariableValues",n]}else r=["serverVariableValues",e];return t.getIn(r)||(0,H.OrderedMap)()})),ZL=ss(((t,e)=>{var r,n;if(typeof e!="string"){const{server:o,namespace:p}=e;n=o,r=p?t.getIn([p,"serverVariableValues",n]):t.getIn(["serverVariableValues",n])}else n=e,r=t.getIn(["serverVariableValues",n]);r=r||(0,H.OrderedMap)();let a=n;return r.map(((o,p)=>{a=a.replace(new RegExp(`{${BL()(p)}}`,"g"),o)})),a})),e$=(function(e){return(...r)=>n=>{const a=n.getSystem().specSelectors.specJson();let o=[...r][1]||[];return!a.getIn(["paths",...o,"requestBody","required"])||e(...r)}})(((t,e)=>((r,n)=>(n=n||[],!!r.getIn(["requestData",...n,"bodyValue"])))(t,e))),t$=(t,{oas3RequiredRequestBodyContentType:e,oas3RequestContentType:r,oas3RequestBodyValue:n})=>{let a=[];if(!H.Map.isMap(n))return a;let o=[];return Object.keys(e.requestContentType).forEach((p=>{p===r&&e.requestContentType[p].forEach((c=>{o.indexOf(c)<0&&o.push(c)}))})),o.forEach((p=>{n.getIn([p,"value"])||a.push(p)})),a},r$=vu()(["get","put","post","delete","options","head","patch","trace"]),n$={[yw]:(t,{payload:{selectedServerUrl:e,namespace:r}})=>{const n=r?[r,"selectedServer"]:["selectedServer"];return t.setIn(n,e)},[vw]:(t,{payload:{value:e,pathMethod:r}})=>{let[n,a]=r;if(!H.Map.isMap(e))return t.setIn(["requestData",n,a,"bodyValue"],e);let o=t.getIn(["requestData",n,a,"bodyValue"])||(0,H.Map)();H.Map.isMap(o)||(o=(0,H.Map)());let p=o;const[...c]=e.keys();return c.forEach((d=>{let E=e.getIn([d]);p.has(d)&&H.Map.isMap(E)||(p=p.setIn([d,"value"],E))})),t.setIn(["requestData",n,a,"bodyValue"],p)},[bw]:(t,{payload:{value:e,pathMethod:r}})=>{let[n,a]=r;return t.setIn(["requestData",n,a,"retainBodyValue"],e)},[ww]:(t,{payload:{value:e,pathMethod:r,name:n}})=>{let[a,o]=r;return t.setIn(["requestData",a,o,"bodyInclusion",n],e)},[Ew]:(t,{payload:{name:e,pathMethod:r,contextType:n,contextName:a}})=>{let[o,p]=r;return t.setIn(["examples",o,p,n,a,"activeExample"],e)},[Sw]:(t,{payload:{value:e,pathMethod:r}})=>{let[n,a]=r;return t.setIn(["requestData",n,a,"requestContentType"],e)},[xw]:(t,{payload:{value:e,path:r,method:n}})=>t.setIn(["requestData",r,n,"responseContentType"],e),[_w]:(t,{payload:{server:e,namespace:r,key:n,val:a}})=>{const o=r?[r,"serverVariableValues",e,n]:["serverVariableValues",e,n];return t.setIn(o,a)},[Ow]:(t,{payload:{path:e,method:r,validationErrors:n}})=>{let a=[];if(a.push("Required field is not provided"),n.missingBodyValue)return t.setIn(["requestData",e,r,"errors"],(0,H.fromJS)(a));if(n.missingRequiredKeys&&n.missingRequiredKeys.length>0){const{missingRequiredKeys:o}=n;return t.updateIn(["requestData",e,r,"bodyValue"],(0,H.fromJS)({}),(p=>o.reduce(((c,d)=>c.setIn([d,"errors"],(0,H.fromJS)(a))),p)))}return console.warn("unexpected result: SET_REQUEST_BODY_VALIDATE_ERROR"),t},[Fv]:(t,{payload:{path:e,method:r}})=>{const n=t.getIn(["requestData",e,r,"bodyValue"]);if(!H.Map.isMap(n))return t.setIn(["requestData",e,r,"errors"],(0,H.fromJS)([]));const[...a]=n.keys();return a?t.updateIn(["requestData",e,r,"bodyValue"],(0,H.fromJS)({}),(o=>a.reduce(((p,c)=>p.setIn([c,"errors"],(0,H.fromJS)([]))),o))):t},[kw]:(t,{payload:{pathMethod:e}})=>{let[r,n]=e;const a=t.getIn(["requestData",r,n,"bodyValue"]);return a?H.Map.isMap(a)?t.setIn(["requestData",r,n,"bodyValue"],(0,H.Map)()):t.setIn(["requestData",r,n,"bodyValue"],""):t}};function Aw({getSystem:t}){const e=(r=>(n,a=null)=>{const{getConfigs:o,fn:p}=r(),{fileUploadMediaTypes:c}=o();if(typeof a=="string"&&c.some((x=>a.startsWith(x))))return!0;const d=H.Map.isMap(n);if(!d&&!Ai()(n))return!1;const E=d?n.get("format"):n.format;return p.hasSchemaType(n,"string")&&["binary","byte"].includes(E)})(t);return{components:bL,wrapComponents:kL,statePlugins:{spec:{wrapSelectors:He,selectors:nt},auth:{wrapSelectors:qe},oas3:{actions:{...gt},reducers:n$,selectors:{...Re}}},fn:{isFileUploadIntended:e,isFileUploadIntendedOAS30:e}}}const a$=({specSelectors:t,getComponent:e})=>{const r=t.selectWebhooksOperations();if(!r)return null;const n=Object.keys(r),a=e("OperationContainer",!0);return n.length===0?null:u.createElement("div",{className:"webhooks"},u.createElement("h2",null,"Webhooks"),n.map((o=>u.createElement("div",{key:`${o}-webhook`},r[o].map((p=>u.createElement(a,{key:`${o}-${p.method}-webhook`,op:p.operation,tag:"webhooks",method:p.method,path:o,specPath:(0,H.List)(p.specPath),allowTryItOut:!1})))))))},o$=({getComponent:t,specSelectors:e})=>{const r=e.selectLicenseNameField(),n=e.selectLicenseUrl(),a=t("Link");return u.createElement("div",{className:"info__license"},n?u.createElement("div",{className:"info__license__url"},u.createElement(a,{target:"_blank",href:Dr(n)},r)):u.createElement("span",null,r))},i$=({getComponent:t,specSelectors:e})=>{const r=e.selectContactNameField(),n=e.selectContactUrl(),a=e.selectContactEmailField(),o=t("Link");return u.createElement("div",{className:"info__contact"},n&&u.createElement("div",null,u.createElement(o,{href:Dr(n),target:"_blank"},r," - Website")),a&&u.createElement(o,{href:Dr(`mailto:${a}`)},n?`Send email to ${r}`:`Contact ${r}`))},s$=({getComponent:t,specSelectors:e})=>{const r=e.version(),n=e.url(),a=e.basePath(),o=e.host(),p=e.selectInfoSummaryField(),c=e.selectInfoDescriptionField(),d=e.selectInfoTitleField(),E=e.selectInfoTermsOfServiceUrl(),x=e.selectExternalDocsUrl(),k=e.selectExternalDocsDescriptionField(),P=e.contact(),R=e.license(),L=t("Markdown",!0),V=t("Link"),Q=t("VersionStamp"),J=t("OpenAPIVersion"),re=t("InfoUrl"),me=t("InfoBasePath"),le=t("License",!0),ve=t("Contact",!0),be=t("JsonSchemaDialect",!0);return u.createElement("div",{className:"info"},u.createElement("hgroup",{className:"main"},u.createElement("h1",{className:"title"},d,u.createElement("span",null,r&&u.createElement(Q,{version:r}),u.createElement(J,{oasVersion:"3.1"}))),(o||a)&&u.createElement(me,{host:o,basePath:a}),n&&u.createElement(re,{getComponent:t,url:n})),p&&u.createElement("p",{className:"info__summary"},p),u.createElement("div",{className:"info__description description"},u.createElement(L,{source:c})),E&&u.createElement("div",{className:"info__tos"},u.createElement(V,{target:"_blank",href:Dr(E)},"Terms of service")),P.size>0&&u.createElement(ve,null),R.size>0&&u.createElement(le,null),x&&u.createElement(V,{className:"info__extdocs",target:"_blank",href:Dr(x)},k||x),u.createElement(be,null))},l$=({getComponent:t,specSelectors:e})=>{const r=e.selectJsonSchemaDialectField(),n=e.selectJsonSchemaDialectDefault(),a=t("Link");return u.createElement(u.Fragment,null,r&&r===n&&u.createElement("p",{className:"info__jsonschemadialect"},"JSON Schema dialect:"," ",u.createElement(a,{target:"_blank",href:Dr(r)},r)),r&&r!==n&&u.createElement("div",{className:"error-wrapper"},u.createElement("div",{className:"no-margin"},u.createElement("div",{className:"errors"},u.createElement("div",{className:"errors-wrapper"},u.createElement("h4",{className:"center"},"Warning"),u.createElement("p",{className:"message"},u.createElement("strong",null,"OpenAPI.jsonSchemaDialect")," field contains a value different from the default value of"," ",u.createElement(a,{target:"_blank",href:n},n),". Values different from the default one are currently not supported. Please either omit the field or provide it with the default value."))))))},c$=({bypass:t,isSwagger2:e,isOAS3:r,isOAS31:n,alsoShow:a,children:o})=>t?u.createElement("div",null,o):e&&(r||n)?u.createElement("div",{className:"version-pragma"},a,u.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},u.createElement("div",null,u.createElement("h3",null,"Unable to render this definition"),u.createElement("p",null,u.createElement("code",null,"swagger")," and ",u.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),u.createElement("p",null,"Supported version fields are ",u.createElement("code",null,'swagger: "2.0"'),","," ",u.createElement("code",null,"openapi: 3.0.x"),", or ",u.createElement("code",null,"openapi: 3.1.x")," (for example, ",u.createElement("code",null,"openapi: 3.1.0"),").")))):e||r||n?u.createElement("div",null,o):u.createElement("div",{className:"version-pragma"},a,u.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},u.createElement("div",null,u.createElement("h3",null,"Unable to render this definition"),u.createElement("p",null,"The provided definition does not specify a valid version field."),u.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",u.createElement("code",null,'swagger: "2.0"'),","," ",u.createElement("code",null,"openapi: 3.0.x"),", or ",u.createElement("code",null,"openapi: 3.1.x")," (for example, ",u.createElement("code",null,"openapi: 3.1.0"),").")))),u$=t=>typeof t=="string"&&t.includes("#/components/schemas/")?(e=>{const r=e.replace(/~1/g,"/").replace(/~0/g,"~");try{return decodeURIComponent(r)}catch{return r}})(t.replace(/^.*#\/components\/schemas\//,"")):null,p$=(0,u.forwardRef)((({schema:t,getComponent:e,onToggle:r=()=>{},specPath:n},a)=>{const o=e("JSONSchema202012"),p=u$(t.get("$$ref")),c=(0,u.useCallback)(((d,E)=>{r(p,E)}),[p,r]);return u.createElement(o,{name:p,schema:t.toJS(),ref:a,onExpand:c,identifier:n.toJS().join("_")})})),h$=p$,d$=({specActions:t,specSelectors:e,layoutSelectors:r,layoutActions:n,getComponent:a,getConfigs:o,fn:p})=>{const c=e.selectSchemas(),d=Object.keys(c).length>0,E=["components","schemas"],{docExpansion:x,defaultModelsExpandDepth:k}=o(),P=k>0&&x!=="none",R=r.isShown(E,P),L=a("Collapse"),V=a("JSONSchema202012"),Q=a("ArrowUpIcon"),J=a("ArrowDownIcon"),{getTitle:re}=p.jsonSchema202012.useFn();(0,u.useEffect)((()=>{const ce=Object.entries(c).some((([xe])=>r.isShown([...E,xe],!1))),_e=R&&(k>1||ce),Ae=e.specResolvedSubtree(E)!=null;_e&&!Ae&&t.requestResolvedSubtree(E)}),[R,k]);const me=(0,u.useCallback)((()=>{n.show(E,!R)}),[R]),le=(0,u.useCallback)((ce=>{ce!==null&&n.readyToScroll(E,ce)}),[]),ve=ce=>_e=>{_e!==null&&n.readyToScroll([...E,ce],_e)},be=ce=>(_e,Ae)=>{const xe=[...E,ce];Ae?(e.specResolvedSubtree(xe)!=null||t.requestResolvedSubtree([...E,ce]),n.show(xe,!0)):n.show(xe,!1)};return!d||k<0?null:u.createElement("section",{className:Xr()("models",{"is-open":R}),ref:le},u.createElement("h4",null,u.createElement("button",{"aria-expanded":R,className:"models-control",onClick:me},u.createElement("span",null,"Schemas"),R?u.createElement(Q,null):u.createElement(J,null))),u.createElement(L,{isOpened:R},Object.entries(c).map((([ce,_e])=>{const Ae=re(_e,{lookup:"basic"})||ce;return u.createElement(V,{key:ce,ref:ve(ce),schema:_e,name:Ae,onExpand:be(ce)})}))))},f$=({schema:t,getComponent:e,name:r,authSelectors:n})=>{const a=e("JumpToPath",!0),o=n.selectAuthPath(r);return u.createElement("div",null,u.createElement("h4",null,r," (mutualTLS) ",u.createElement(a,{path:o})),u.createElement("p",null,"Mutual TLS is required by this API/Operation. Certificates are managed via your Operating System and/or your browser."),u.createElement("p",null,t.get("description")))};class m$ extends u.Component{constructor(e,r){super(e,r),this.state={}}onAuthChange=e=>{let{name:r}=e;this.setState({[r]:e})};submitAuth=e=>{e.preventDefault();let{authActions:r}=this.props;r.authorizeWithPersistOption(this.state)};logoutClick=e=>{e.preventDefault();let{authActions:r,definitions:n}=this.props,a=n.keySeq().toArray();this.setState(a.reduce(((o,p)=>(o[p]="",o)),{})),r.logoutWithPersistOption(a)};close=e=>{e.preventDefault();let{authActions:r}=this.props;r.showDefinitions(!1)};render(){let{definitions:e,getComponent:r,authSelectors:n,errSelectors:a}=this.props;const o=r("AuthItem"),p=r("oauth2",!0),c=r("Button"),d=n.authorized(),E=e.filter(((R,L)=>!!d.get(L))),x=e.filter((R=>R.get("type")!=="oauth2"&&R.get("type")!=="mutualTLS")),k=e.filter((R=>R.get("type")==="oauth2")),P=e.filter((R=>R.get("type")==="mutualTLS"));return u.createElement("div",{className:"auth-container"},x.size>0&&u.createElement("form",{onSubmit:this.submitAuth},x.map(((R,L)=>u.createElement(o,{key:L,schema:R,name:L,getComponent:r,onAuthChange:this.onAuthChange,authorized:d,errSelectors:a,authSelectors:n}))).valueSeq().toArray(),u.createElement("div",{className:"auth-btn-wrapper"},x.size===E.size?u.createElement(c,{className:"btn modal-btn auth",onClick:this.logoutClick,"aria-label":"Remove authorization"},"Logout"):u.createElement(c,{type:"submit",className:"btn modal-btn auth authorize","aria-label":"Apply credentials"},"Authorize"),u.createElement(c,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),k.size>0?u.createElement("div",null,u.createElement("div",{className:"scope-def"},u.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."),u.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),e.filter((R=>R.get("type")==="oauth2")).map(((R,L)=>u.createElement("div",{key:L},u.createElement(p,{authorized:d,schema:R,name:L})))).valueSeq().toArray()):null,P.size>0&&u.createElement("div",null,P.map(((R,L)=>u.createElement(o,{key:L,schema:R,name:L,getComponent:r,onAuthChange:this.onAuthChange,authorized:d,errSelectors:a,authSelectors:n}))).valueSeq().toArray()))}}const g$=m$,oO=t=>{const e=t.get("openapi");return typeof e=="string"&&/^3\.1\.(?:[1-9]\d*|0)$/.test(e)},iO=t=>(e,...r)=>n=>{if(n.getSystem().specSelectors.isOAS31()){const a=t(e,...r);return typeof a=="function"?a(n):a}return null},sO=t=>(e,r)=>(n,...a)=>{if(r.getSystem().specSelectors.isOAS31()){const o=t(n,...a);return typeof o=="function"?o(e,r):o}return e(...a)},lO=t=>(e,...r)=>n=>{const a=t(e,n,...r);return typeof a=="function"?a(n):a},Wl=t=>(e,r)=>n=>r.specSelectors.isOAS31()?u.createElement(t,Yr()({},n,{originalComponent:e,getSystem:r.getSystem})):u.createElement(e,n),Cw=(t,e)=>{const{fn:r,specSelectors:n}=e;return Object.fromEntries(Object.entries(t).map((([a,o])=>{const p=r[a];return[a,(...c)=>n.isOAS31()?o(...c):typeof p=="function"?p(...c):void 0]})))},y$=Wl((({getSystem:t})=>{const e=t().getComponent("OAS31License",!0);return u.createElement(e,null)})),v$=Wl((({getSystem:t})=>{const e=t().getComponent("OAS31Contact",!0);return u.createElement(e,null)})),b$=Wl((({getSystem:t})=>{const e=t().getComponent("OAS31Info",!0);return u.createElement(e,null)})),w$=(t,{includeReadOnly:e,includeWriteOnly:r})=>{if(!t?.properties)return{};const n=Object.entries(t.properties).filter((([,a])=>(a?.readOnly!==!0||e)&&(a?.writeOnly!==!0||r)));return Object.fromEntries(n)},cO=t=>{if(typeof t!="function")return null;const e=t();return()=>[...e,"discriminator","xml","externalDocs","example","$$ref"]},Tc=Wl((({getSystem:t,...e})=>{const r=t(),{getComponent:n,fn:a,getConfigs:o}=r,p=o(),c=window?.location?.pathname??"/";if(Tc.ModelWithJSONSchemaContext&&Tc.pathname===c)return u.createElement(Tc.ModelWithJSONSchemaContext,e);const d=n("OAS31Model"),E=n("withJSONSchema202012SystemContext");return Tc.ModelWithJSONSchemaContext=E(d,{config:{default$schema:"https://spec.openapis.org/oas/3.1/dialect/base",defaultExpandedLevels:p.defaultModelExpandDepth,includeReadOnly:e.includeReadOnly,includeWriteOnly:e.includeWriteOnly},fn:{getProperties:a.jsonSchema202012.getProperties,isExpandable:a.jsonSchema202012.isExpandable,getSchemaKeywords:cO(a.jsonSchema202012.getSchemaKeywords)}}),Tc.pathname=c,u.createElement(Tc.ModelWithJSONSchemaContext,e)}));Tc.ModelWithJSONSchemaContext=null,Tc.pathname=null;const E$=Tc,Ic=Wl((({getSystem:t})=>{const{getComponent:e,fn:r,getConfigs:n}=t(),a=n(),o=window?.location?.pathname??"/";if(Ic.ModelsWithJSONSchemaContext&&Ic.pathname===o)return u.createElement(Ic.ModelsWithJSONSchemaContext,null);const p=e("OAS31Models",!0),c=e("withJSONSchema202012SystemContext");return Ic.ModelsWithJSONSchemaContext=c(p,{config:{default$schema:"https://spec.openapis.org/oas/3.1/dialect/base",defaultExpandedLevels:a.defaultModelsExpandDepth-1,includeReadOnly:!0,includeWriteOnly:!0},fn:{getProperties:r.jsonSchema202012.getProperties,isExpandable:r.jsonSchema202012.isExpandable,getSchemaKeywords:cO(r.jsonSchema202012.getSchemaKeywords)}}),Ic.pathname=o,u.createElement(Ic.ModelsWithJSONSchemaContext,null)}));Ic.ModelsWithJSONSchemaContext=null,Ic.pathname=null;const S$=Ic,x$=(t,e)=>r=>{const n=e.specSelectors.isOAS31(),a=e.getComponent("OAS31VersionPragmaFilter");return u.createElement(a,Yr()({isOAS31:n},r))},_$=Wl((({originalComponent:t,...e})=>{const{getComponent:r,schema:n,name:a}=e,o=r("MutualTLSAuth",!0);return n.get("type")==="mutualTLS"?u.createElement(o,{schema:n,name:a}):u.createElement(t,e)})),O$=_$,k$=Wl((({getSystem:t,...e})=>{const r=t().getComponent("OAS31Auths",!0);return u.createElement(r,e)})),jw=(0,H.Map)(),A$=yr(((t,e)=>e.specSelectors.specJson()),oO),C$=()=>t=>{const e=t.specSelectors.specJson().get("webhooks");return H.Map.isMap(e)?e:jw},j$=yr([(t,e)=>e.specSelectors.webhooks(),(t,e)=>e.specSelectors.validOperationMethods(),(t,e)=>e.specSelectors.specResolvedSubtree(["webhooks"])],((t,e)=>t.reduce(((r,n,a)=>{if(!H.Map.isMap(n))return r;const o=n.entrySeq().filter((([p])=>e.includes(p))).map((([p,c])=>({operation:(0,H.Map)({operation:c}),method:p,path:a,specPath:["webhooks",a,p]})));return r.concat(o)}),(0,H.List)()).groupBy((r=>r.path)).map((r=>r.toArray())).toObject())),P$=()=>t=>{const e=t.specSelectors.info().get("license");return H.Map.isMap(e)?e:jw},N$=()=>t=>t.specSelectors.license().get("name","License"),T$=()=>t=>t.specSelectors.license().get("url"),I$=yr([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectLicenseUrlField()],((t,e,r)=>{if(r)return ba(r,t,{selectedServer:e})})),M$=()=>t=>t.specSelectors.license().get("identifier"),R$=()=>t=>{const e=t.specSelectors.info().get("contact");return H.Map.isMap(e)?e:jw},D$=()=>t=>t.specSelectors.contact().get("name","the developer"),F$=()=>t=>t.specSelectors.contact().get("email"),L$=()=>t=>t.specSelectors.contact().get("url"),$$=yr([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectContactUrlField()],((t,e,r)=>{if(r)return ba(r,t,{selectedServer:e})})),B$=()=>t=>t.specSelectors.info().get("title"),q$=()=>t=>t.specSelectors.info().get("summary"),U$=()=>t=>t.specSelectors.info().get("description"),z$=()=>t=>t.specSelectors.info().get("termsOfService"),V$=yr([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectInfoTermsOfServiceField()],((t,e,r)=>{if(r)return ba(r,t,{selectedServer:e})})),J$=()=>t=>t.specSelectors.externalDocs().get("description"),W$=()=>t=>t.specSelectors.externalDocs().get("url"),H$=yr([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectExternalDocsUrlField()],((t,e,r)=>{if(r)return ba(r,t,{selectedServer:e})})),K$=()=>t=>t.specSelectors.specJson().get("jsonSchemaDialect"),G$=()=>"https://spec.openapis.org/oas/3.1/dialect/base",Y$=yr(((t,e)=>e.specSelectors.definitions()),((t,e)=>e.specSelectors.specResolvedSubtree(["components","schemas"])),((t,e)=>H.Map.isMap(t)?H.Map.isMap(e)?Object.entries(t.toJS()).reduce(((r,[n,a])=>{const o=e.get(n);return r[n]=o?.toJS()||a,r}),{}):t.toJS():{})),X$=(t,e)=>(r,...n)=>e.specSelectors.isOAS31()||t(...n),Q$=sO((()=>(t,e)=>e.oas31Selectors.selectLicenseUrl())),Z$=sO((()=>(t,e)=>{const r=e.specSelectors.securityDefinitions();let n=t();return r&&r.entrySeq().forEach((([a,o])=>{o?.get("type")==="mutualTLS"&&(n=n.push(new H.Map({[a]:o})))})),n})),eB=yr([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectLicenseUrlField(),(t,e)=>e.specSelectors.selectLicenseIdentifierField()],((t,e,r,n)=>r?ba(r,t,{selectedServer:e}):n?`https://spdx.org/licenses/${n}.html`:void 0)),tB=({schema:t,getSystem:e})=>{const{fn:r,getComponent:n}=e(),{hasKeyword:a}=r.jsonSchema202012.useFn(),o=n("JSONSchema202012JSONViewer");return a(t,"example")?u.createElement(o,{name:"Example",value:t.example,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--example"}):null},rB=({schema:t,getSystem:e})=>{const r=t?.xml||{},{fn:n,getComponent:a,getConfigs:o}=e(),{showExtensions:p}=o(),{useComponent:c,useIsExpanded:d,usePath:E,useLevel:x}=n.jsonSchema202012,{path:k}=E("xml"),{isExpanded:P,setExpanded:R,setCollapsed:L}=d("xml"),[V,Q]=x(),J=p?gr(r):[],re=!!(r.name||r.namespace||r.prefix||J.length>0),me=c("Accordion"),le=c("ExpandDeepButton"),ve=a("OpenAPI31Extensions"),be=a("JSONSchema202012PathContext")(),ce=a("JSONSchema202012LevelContext")(),_e=(0,u.useCallback)((()=>{P?L():R()}),[P,R,L]),Ae=(0,u.useCallback)(((xe,Oe)=>{Oe?R({deep:!0}):L({deep:!0})}),[R,L]);return Object.keys(r).length===0?null:u.createElement(be.Provider,{value:k},u.createElement(ce.Provider,{value:Q},u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--xml","data-json-schema-level":V},re?u.createElement(u.Fragment,null,u.createElement(me,{expanded:P,onChange:_e},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"XML")),u.createElement(le,{expanded:P,onClick:Ae})):u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"XML"),r.attribute===!0&&u.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"attribute"),r.wrapped===!0&&u.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"wrapped"),u.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),u.createElement("ul",{className:Xr()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!P})},P&&u.createElement(u.Fragment,null,r.name&&u.createElement("li",{className:"json-schema-2020-12-property"},u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword"},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"name"),u.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.name))),r.namespace&&u.createElement("li",{className:"json-schema-2020-12-property"},u.createElement("div",{className:"json-schema-2020-12-keyword"},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"namespace"),u.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.namespace))),r.prefix&&u.createElement("li",{className:"json-schema-2020-12-property"},u.createElement("div",{className:"json-schema-2020-12-keyword"},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"prefix"),u.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.prefix)))),J.length>0&&u.createElement(ve,{openAPISpecObj:r,openAPIExtensions:J,getSystem:e})))))},nB=({discriminator:t})=>{const e=t?.mapping||{};return Object.keys(e).length===0?null:Object.entries(e).map((([r,n])=>u.createElement("div",{key:`${r}-${n}`,className:"json-schema-2020-12-keyword"},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},r),u.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},n))))},aB=({schema:t,getSystem:e})=>{const r=t?.discriminator||{},{fn:n,getComponent:a,getConfigs:o}=e(),{showExtensions:p}=o(),{useComponent:c,useIsExpanded:d,usePath:E,useLevel:x}=n.jsonSchema202012,k="discriminator",{path:P}=E(k),{isExpanded:R,setExpanded:L,setCollapsed:V}=d(k),[Q,J]=x(),re=p?gr(r):[],me=!!(r.mapping||re.length>0),le=c("Accordion"),ve=c("ExpandDeepButton"),be=a("OpenAPI31Extensions"),ce=a("JSONSchema202012PathContext")(),_e=a("JSONSchema202012LevelContext")(),Ae=(0,u.useCallback)((()=>{R?V():L()}),[R,L,V]),xe=(0,u.useCallback)(((Oe,je)=>{je?L({deep:!0}):V({deep:!0})}),[L,V]);return Object.keys(r).length===0?null:u.createElement(ce.Provider,{value:P},u.createElement(_e.Provider,{value:J},u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--discriminator","data-json-schema-level":Q},me?u.createElement(u.Fragment,null,u.createElement(le,{expanded:R,onChange:Ae},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Discriminator")),u.createElement(ve,{expanded:R,onClick:xe})):u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Discriminator"),r.propertyName&&u.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},r.propertyName),u.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),u.createElement("ul",{className:Xr()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!R})},R&&u.createElement("li",{className:"json-schema-2020-12-property"},u.createElement(nB,{discriminator:r})),re.length>0&&u.createElement(be,{openAPISpecObj:r,openAPIExtensions:re,getSystem:e})))))},oB=({openAPISpecObj:t,getSystem:e,openAPIExtensions:r})=>{const{fn:n}=e(),{useComponent:a}=n.jsonSchema202012,o=a("JSONViewer");return r.map((p=>u.createElement(o,{key:p,name:p,value:t[p],className:"json-schema-2020-12-json-viewer-extension-keyword"})))},iB=({schema:t,getSystem:e})=>{const r=t?.externalDocs||{},{fn:n,getComponent:a,getConfigs:o}=e(),{showExtensions:p}=o(),{useComponent:c,useIsExpanded:d,usePath:E,useLevel:x}=n.jsonSchema202012,k="externalDocs",{path:P}=E(k),{isExpanded:R,setExpanded:L,setCollapsed:V}=d(k),[Q,J]=x(),re=p?gr(r):[],me=!!(r.description||r.url||re.length>0),le=c("Accordion"),ve=c("ExpandDeepButton"),be=a("JSONSchema202012KeywordDescription"),ce=a("Link"),_e=a("OpenAPI31Extensions"),Ae=a("JSONSchema202012PathContext")(),xe=a("JSONSchema202012LevelContext")(),Oe=(0,u.useCallback)((()=>{R?V():L()}),[R,L,V]),je=(0,u.useCallback)(((G,de)=>{de?L({deep:!0}):V({deep:!0})}),[L,V]);return Object.keys(r).length===0?null:u.createElement(Ae.Provider,{value:P},u.createElement(xe.Provider,{value:J},u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--externalDocs","data-json-schema-level":Q},me?u.createElement(u.Fragment,null,u.createElement(le,{expanded:R,onChange:Oe},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"External documentation")),u.createElement(ve,{expanded:R,onClick:je})):u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"External documentation"),u.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),u.createElement("ul",{className:Xr()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!R})},R&&u.createElement(u.Fragment,null,r.description&&u.createElement("li",{className:"json-schema-2020-12-property"},u.createElement(be,{schema:r,getSystem:e})),r.url&&u.createElement("li",{className:"json-schema-2020-12-property"},u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword"},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"url"),u.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},u.createElement(ce,{target:"_blank",href:Dr(r.url)},r.url))))),re.length>0&&u.createElement(_e,{openAPISpecObj:r,openAPIExtensions:re,getSystem:e})))))},sB=({schema:t,getSystem:e})=>{if(!t?.description)return null;const{getComponent:r}=e(),n=r("Markdown");return u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},u.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"},u.createElement(n,{source:t.description})))},lB=Wl(sB),cB=Wl((({schema:t,getSystem:e,originalComponent:r})=>{const{getComponent:n}=e(),a=n("JSONSchema202012KeywordDiscriminator"),o=n("JSONSchema202012KeywordXml"),p=n("JSONSchema202012KeywordExample"),c=n("JSONSchema202012KeywordExternalDocs");return u.createElement(u.Fragment,null,u.createElement(r,{schema:t}),u.createElement(a,{schema:t,getSystem:e}),u.createElement(o,{schema:t,getSystem:e}),u.createElement(c,{schema:t,getSystem:e}),u.createElement(p,{schema:t,getSystem:e}))})),uB=cB,pB=({schema:t,getSystem:e})=>{const{fn:r,getComponent:n}=e(),{useComponent:a,usePath:o}=r.jsonSchema202012,{getDependentRequired:p,getProperties:c}=r.jsonSchema202012.useFn(),d=r.jsonSchema202012.useConfig(),E=Array.isArray(t?.required)?t.required:[],{path:x}=o("properties"),k=a("JSONSchema"),P=n("JSONSchema202012PathContext")(),R=c(t,d);return Object.keys(R).length===0?null:u.createElement(P.Provider,{value:x},u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},u.createElement("ul",null,Object.entries(R).map((([L,V])=>{const Q=E.includes(L),J=p(L,t);return u.createElement("li",{key:L,className:Xr()("json-schema-2020-12-property",{"json-schema-2020-12-property--required":Q})},u.createElement(k,{name:L,schema:V,dependentRequired:J}))})))))},hB=Wl(pB),dB=function({fn:e,getSystem:r}){if(e.jsonSchema202012){const o=((p,c)=>{const{fn:d}=c();if(typeof p!="function")return null;const{hasKeyword:E}=d.jsonSchema202012;return x=>p(x)||E(x,"example")||x?.xml||x?.discriminator||x?.externalDocs})(e.jsonSchema202012.isExpandable,r);Object.assign(this.fn.jsonSchema202012,{isExpandable:o,getProperties:w$})}if(typeof e.sampleFromSchema=="function"&&e.jsonSchema202012){const o=Cw({sampleFromSchema:e.jsonSchema202012.sampleFromSchema,sampleFromSchemaGeneric:e.jsonSchema202012.sampleFromSchemaGeneric,createXMLExample:e.jsonSchema202012.createXMLExample,memoizedSampleFromSchema:e.jsonSchema202012.memoizedSampleFromSchema,memoizedCreateXMLExample:e.jsonSchema202012.memoizedCreateXMLExample,getJsonSampleSchema:e.jsonSchema202012.getJsonSampleSchema,getYamlSampleSchema:e.jsonSchema202012.getYamlSampleSchema,getXmlSampleSchema:e.jsonSchema202012.getXmlSampleSchema,getSampleSchema:e.jsonSchema202012.getSampleSchema,mergeJsonSchema:e.jsonSchema202012.mergeJsonSchema,getSchemaObjectTypeLabel:p=>e.jsonSchema202012.getType(Mr(p)),getSchemaObjectType:p=>e.jsonSchema202012.foldType(Mr(p)?.type)},r());Object.assign(this.fn,o)}const n=(o=>(p,c=null)=>{const{fn:d}=o();if(d.isFileUploadIntendedOAS30(p,c))return!0;const E=H.Map.isMap(p);if(!E&&!Ai()(p))return!1;const x=E?p.get("contentMediaType"):p.contentMediaType,k=E?p.get("contentEncoding"):p.contentEncoding;return typeof x=="string"&&x!==""||typeof k=="string"&&k!==""})(r),{isFileUploadIntended:a}=Cw({isFileUploadIntended:n},r());if(this.fn.isFileUploadIntended=a,this.fn.isFileUploadIntendedOAS31=n,e.jsonSchema202012){const{hasSchemaType:o}=Cw({hasSchemaType:e.jsonSchema202012.hasSchemaType},r());this.fn.hasSchemaType=o}},fB=({fn:t})=>{const e=t.createSystemSelector||lO,r=t.createOnlyOAS31Selector||iO;return{afterLoad:dB,fn:{isOAS31:oO,createSystemSelector:lO,createOnlyOAS31Selector:iO},components:{Webhooks:a$,JsonSchemaDialect:l$,MutualTLSAuth:f$,OAS31Info:s$,OAS31License:o$,OAS31Contact:i$,OAS31VersionPragmaFilter:c$,OAS31Model:h$,OAS31Models:d$,OAS31Auths:g$,JSONSchema202012KeywordExample:tB,JSONSchema202012KeywordXml:rB,JSONSchema202012KeywordDiscriminator:aB,JSONSchema202012KeywordExternalDocs:iB,OpenAPI31Extensions:oB},wrapComponents:{InfoContainer:b$,License:y$,Contact:v$,VersionPragmaFilter:x$,Model:E$,Models:S$,AuthItem:O$,auths:k$,JSONSchema202012KeywordDescription:lB,JSONSchema202012KeywordExamples:uB,JSONSchema202012KeywordProperties:hB},statePlugins:{auth:{wrapSelectors:{definitionsToAuthorize:Z$}},spec:{selectors:{isOAS31:e(A$),license:P$,selectLicenseNameField:N$,selectLicenseUrlField:T$,selectLicenseIdentifierField:r(M$),selectLicenseUrl:e(I$),contact:R$,selectContactNameField:D$,selectContactEmailField:F$,selectContactUrlField:L$,selectContactUrl:e($$),selectInfoTitleField:B$,selectInfoSummaryField:r(q$),selectInfoDescriptionField:U$,selectInfoTermsOfServiceField:z$,selectInfoTermsOfServiceUrl:e(V$),selectExternalDocsDescriptionField:J$,selectExternalDocsUrlField:W$,selectExternalDocsUrl:e(H$),webhooks:r(C$),selectWebhooksOperations:r(e(j$)),selectJsonSchemaDialectField:K$,selectJsonSchemaDialectDefault:G$,selectSchemas:e(Y$)},wrapSelectors:{isOAS3:X$,selectLicenseUrl:Q$}},oas31:{selectors:{selectLicenseUrl:r(e(eB))}}}}},mB=({bypass:t,isSwagger2:e,isOAS3:r,isOAS31:n,isOAS32:a,alsoShow:o,children:p})=>t?u.createElement("div",null,p):e&&(r||n||a)?u.createElement("div",{className:"version-pragma"},o,u.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},u.createElement("div",null,u.createElement("h3",null,"Unable to render this definition"),u.createElement("p",null,u.createElement("code",null,"swagger")," and ",u.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),u.createElement("p",null,"Supported version fields are ",u.createElement("code",null,'swagger: "2.0"')," ","and ",u.createElement("code",null,"openapi: 3.0.x"),", ",u.createElement("code",null,"openapi: 3.1.x"),", or"," ",u.createElement("code",null,"openapi: 3.2.x")," (for example,"," ",u.createElement("code",null,"openapi: 3.2.0"),").")))):e||r||n||a?u.createElement("div",null,p):u.createElement("div",{className:"version-pragma"},o,u.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},u.createElement("div",null,u.createElement("h3",null,"Unable to render this definition"),u.createElement("p",null,"The provided definition does not specify a valid version field."),u.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",u.createElement("code",null,'swagger: "2.0"')," ","and ",u.createElement("code",null,"openapi: 3.0.x"),", ",u.createElement("code",null,"openapi: 3.1.x"),", or"," ",u.createElement("code",null,"openapi: 3.2.x")," (for example,"," ",u.createElement("code",null,"openapi: 3.2.0"),").")))),uO=t=>{const e=t.get("openapi");return typeof e=="string"&&/^3\.2\.(?:[1-9]\d*|0)$/.test(e)},gB=t=>(e,...r)=>n=>{if(n.getSystem().specSelectors.isOAS32()){const a=t(e,...r);return typeof a=="function"?a(n):a}return null},pO=t=>(e,...r)=>n=>{const a=t(e,n,...r);return typeof a=="function"?a(n):a},Mc=t=>(e,r)=>n=>r.specSelectors.isOAS32()?u.createElement(t,Yr()({},n,{originalComponent:e,getSystem:r.getSystem})):u.createElement(e,n),Pw=(t,e)=>{const{fn:r,specSelectors:n}=e;return Object.fromEntries(Object.entries(t).map((([a,o])=>{const p=r[a];return[a,(...c)=>n.isOAS32()?o(...c):typeof p=="function"?p(...c):void 0]})))},yB=Mc((t=>{const{getSystem:e}=t,r=e().getComponent("OAS31Contact",!0);return u.createElement(r,t)})),vB=Mc((({getSystem:t})=>{const e=t().getComponent("OAS31Info",!0);return u.createElement(e,null)})),bB=Mc((t=>{const{getSystem:e}=t,r=e().getComponent("OAS31License",!0);return u.createElement(r,t)})),hO=t=>{if(typeof t!="function")return null;const e=t();return()=>[...e,"discriminator","xml","externalDocs","example","$$ref"]},Rc=Mc((({getSystem:t,...e})=>{const r=t(),{getComponent:n,fn:a,getConfigs:o}=r,p=o(),c=window?.location?.pathname??"/";if(Rc.ModelWithJSONSchemaContext&&Rc.pathname===c)return u.createElement(Rc.ModelWithJSONSchemaContext,e);const d=n("OAS31Model"),E=n("withJSONSchema202012SystemContext");return Rc.ModelWithJSONSchemaContext=E(d,{config:{default$schema:"https://spec.openapis.org/oas/3.2/schema/2025-09-17",defaultExpandedLevels:p.defaultModelExpandDepth,includeReadOnly:e.includeReadOnly,includeWriteOnly:e.includeWriteOnly},fn:{getProperties:a.jsonSchema202012.getProperties,isExpandable:a.jsonSchema202012.isExpandable,getSchemaKeywords:hO(a.jsonSchema202012.getSchemaKeywords)}}),Rc.pathname=c,u.createElement(Rc.ModelWithJSONSchemaContext,e)}));Rc.ModelWithJSONSchemaContext=null,Rc.pathname=null;const wB=Rc,Dc=Mc((({getSystem:t})=>{const{getComponent:e,fn:r,getConfigs:n}=t(),a=n(),o=window?.location?.pathname??"/";if(Dc.ModelsWithJSONSchemaContext&&Dc.pathname===o)return u.createElement(Dc.ModelsWithJSONSchemaContext,null);const p=e("OAS31Models",!0),c=e("withJSONSchema202012SystemContext");return Dc.ModelsWithJSONSchemaContext=c(p,{config:{default$schema:"https://spec.openapis.org/oas/3.2/schema/2025-09-17",defaultExpandedLevels:a.defaultModelsExpandDepth-1,includeReadOnly:!0,includeWriteOnly:!0},fn:{getProperties:r.jsonSchema202012.getProperties,isExpandable:r.jsonSchema202012.isExpandable,getSchemaKeywords:hO(r.jsonSchema202012.getSchemaKeywords)}}),Dc.pathname=o,u.createElement(Dc.ModelsWithJSONSchemaContext,null)}));Dc.ModelsWithJSONSchemaContext=null,Dc.pathname=null;const EB=Dc,SB=Mc((t=>{const{originalComponent:e}=t;return u.createElement(e,{oasVersion:"3.2"})})),xB=(t,e)=>r=>{const n=e.specSelectors.isOAS32(),a=e.getComponent("OAS32VersionPragmaFilter");return u.createElement(a,Yr()({isOAS32:n},r))},_B=({schema:t,getSystem:e})=>{if(!t?.description)return null;const{getComponent:r}=e(),n=r("Markdown");return u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},u.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"},u.createElement(n,{source:t.description})))},OB=Mc(_B),kB=Mc((({schema:t,getSystem:e,originalComponent:r})=>{const{getComponent:n}=e(),a=n("JSONSchema202012KeywordDiscriminator"),o=n("JSONSchema202012KeywordXml"),p=n("JSONSchema202012KeywordExample"),c=n("JSONSchema202012KeywordExternalDocs");return u.createElement(u.Fragment,null,u.createElement(r,{schema:t}),u.createElement(a,{schema:t,getSystem:e}),u.createElement(o,{schema:t,getSystem:e}),u.createElement(c,{schema:t,getSystem:e}),u.createElement(p,{schema:t,getSystem:e}))})),AB=kB,CB=({schema:t,getSystem:e})=>{const{fn:r,getComponent:n}=e(),{useComponent:a,usePath:o}=r.jsonSchema202012,{getDependentRequired:p,getProperties:c}=r.jsonSchema202012.useFn(),d=r.jsonSchema202012.useConfig(),E=Array.isArray(t?.required)?t.required:[],{path:x}=o("properties"),k=a("JSONSchema"),P=n("JSONSchema202012PathContext")(),R=c(t,d);return Object.keys(R).length===0?null:u.createElement(P.Provider,{value:x},u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},u.createElement("ul",null,Object.entries(R).map((([L,V])=>{const Q=E.includes(L),J=p(L,t);return u.createElement("li",{key:L,className:Xr()("json-schema-2020-12-property",{"json-schema-2020-12-property--required":Q})},u.createElement(k,{name:L,schema:V,dependentRequired:J}))})))))},jB=Mc(CB),PB=vu()(["get","put","post","delete","options","head","patch","trace","query"]),NB=(t,e)=>(r,...n)=>e.specSelectors.isOAS32()||t(...n),TB=(dO=()=>(t,e)=>e.oas32Selectors.validOperationMethods(),(t,e)=>(r,...n)=>{if(e.getSystem().specSelectors.isOAS32()){const a=dO(r,...n);return typeof a=="function"?a(t,e):a}return t(...n)});var dO;const fO=(0,H.Map)(),IB=(t,e)=>()=>{const r=e.specSelectors.specJson();return uO(r)},MB=()=>t=>{const e=t.specSelectors.info().get("license");return H.Map.isMap(e)?e:fO},RB=()=>t=>t.specSelectors.license().get("name","License"),DB=()=>t=>t.specSelectors.license().get("url"),FB=yr([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectLicenseUrlField()],((t,e,r)=>{if(r)return ba(r,t,{selectedServer:e})})),LB=()=>t=>t.specSelectors.license().get("identifier"),$B=()=>t=>{const e=t.specSelectors.info().get("contact");return H.Map.isMap(e)?e:fO},BB=()=>t=>t.specSelectors.contact().get("name","the developer"),qB=()=>t=>t.specSelectors.contact().get("email"),UB=()=>t=>t.specSelectors.contact().get("url"),zB=yr([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectContactUrlField()],((t,e,r)=>{if(r)return ba(r,t,{selectedServer:e})})),VB=()=>t=>t.specSelectors.info().get("summary"),JB=function({fn:e,getSystem:r}){if(typeof e.sampleFromSchema=="function"&&e.jsonSchema202012){const o=Pw({sampleFromSchema:e.jsonSchema202012.sampleFromSchema,sampleFromSchemaGeneric:e.jsonSchema202012.sampleFromSchemaGeneric,createXMLExample:e.jsonSchema202012.createXMLExample,memoizedSampleFromSchema:e.jsonSchema202012.memoizedSampleFromSchema,memoizedCreateXMLExample:e.jsonSchema202012.memoizedCreateXMLExample,getJsonSampleSchema:e.jsonSchema202012.getJsonSampleSchema,getYamlSampleSchema:e.jsonSchema202012.getYamlSampleSchema,getXmlSampleSchema:e.jsonSchema202012.getXmlSampleSchema,getSampleSchema:e.jsonSchema202012.getSampleSchema,mergeJsonSchema:e.jsonSchema202012.mergeJsonSchema,getSchemaObjectTypeLabel:p=>e.jsonSchema202012.getType(Mr(p)),getSchemaObjectType:p=>e.jsonSchema202012.foldType(Mr(p)?.type)},r());Object.assign(this.fn,o)}const n=(o=>(p,c=null)=>{const{fn:d}=o();if(d.isFileUploadIntendedOAS30(p,c))return!0;const E=H.Map.isMap(p);if(!E&&!Ai()(p))return!1;const x=E?p.get("contentMediaType"):p.contentMediaType,k=E?p.get("contentEncoding"):p.contentEncoding;return typeof x=="string"&&x!==""||typeof k=="string"&&k!==""})(r),{isFileUploadIntended:a}=Pw({isFileUploadIntended:n},r());if(this.fn.isFileUploadIntended=a,this.fn.isFileUploadIntendedOAS32=n,e.jsonSchema202012){const{hasSchemaType:o}=Pw({hasSchemaType:e.jsonSchema202012.hasSchemaType},r());this.fn.hasSchemaType=o}},WB=({fn:t})=>{const e=t.createSystemSelector||pO;return{afterLoad:JB,fn:{isOAS32:uO,createSystemSelector:pO,createOnlyOAS32Selector:gB},components:{OAS32VersionPragmaFilter:mB},wrapComponents:{Contact:yB,InfoContainer:vB,License:bB,Model:wB,Models:EB,OpenAPIVersion:SB,VersionPragmaFilter:xB,JSONSchema202012KeywordDescription:OB,JSONSchema202012KeywordExamples:AB,JSONSchema202012KeywordProperties:jB},statePlugins:{spec:{selectors:{isOAS32:e(IB),selectInfoSummaryField:VB,license:MB,selectLicenseNameField:RB,selectLicenseUrlField:DB,selectLicenseIdentifierField:LB,selectLicenseUrl:e(FB),contact:$B,selectContactNameField:BB,selectContactEmailField:qB,selectContactUrlField:UB,selectContactUrl:e(zB)},wrapSelectors:{isOAS3:NB,validOperationMethods:TB}},oas32:{selectors:{validOperationMethods:PB}}}}},HB=va().object,KB=va().bool,eh=(va().oneOfType([HB,KB]),(0,u.createContext)(null));eh.displayName="JSONSchemaContext";const ls=(0,u.createContext)(0);ls.displayName="JSONSchemaLevelContext";const Nw=(0,u.createContext)(new Set),pi=(0,u.createContext)([]);class Ks{static Collapsed="collapsed";static Expanded="expanded";static DeeplyExpanded="deeply-expanded"}const Tw=()=>{const{config:t}=(0,u.useContext)(eh);return t},Jt=t=>{const{components:e}=(0,u.useContext)(eh);return e[t]||null},Rn=(t=void 0)=>{const{fn:e}=(0,u.useContext)(eh);return t!==void 0?e[t]:e},mO=()=>{const[,t]=(0,u.useState)(null),{state:e}=(0,u.useContext)(eh);return{state:e,setState:r=>{r(e),t({})}}},cs=()=>{const t=(0,u.useContext)(ls);return[t,t+1]},Qo=t=>{const e=(0,u.useContext)(pi),{setState:r}=mO(),n=typeof t=="string"?[...e,t]:e;return{path:n,pathMutator:(a,o={deep:!1})=>{const p=n.toString(),c=E=>{E.paths[p]=a,a===Ks.Collapsed&&Object.keys(E.paths).forEach((x=>{x.startsWith(p)&&E.paths[x]===Ks.DeeplyExpanded&&(E.paths[x]=Ks.Expanded)}))},d=E=>{Object.keys(E.paths).forEach((x=>{x.startsWith(p)&&(E.paths[x]=a)}))};o.deep?r(d):r(c)}}},Gs=t=>{const[e]=cs(),{defaultExpandedLevels:r}=Tw(),{path:n,pathMutator:a}=Qo(t),{path:o}=Qo(),{state:p}=mO(),c=p.paths[n.toString()],d=p.paths[o.toString()]??p.paths[o.slice(0,-1).toString()],E=c??(r-e>0?Ks.Expanded:Ks.Collapsed),x=E!==Ks.Collapsed;return(0,u.useEffect)((()=>{a(d===Ks.DeeplyExpanded?Ks.DeeplyExpanded:E)}),[d]),{isExpanded:x,setExpanded:(0,u.useCallback)(((k={deep:!1})=>{a(k.deep?Ks.DeeplyExpanded:Ks.Expanded)}),[]),setCollapsed:(0,u.useCallback)(((k={deep:!1})=>{a(Ks.Collapsed,k)}),[])}},gO=(t=void 0)=>{if(t===void 0)return(0,u.useContext)(Nw);const e=(0,u.useContext)(Nw);return new Set([...e,t])},GB=(0,u.forwardRef)((({schema:t,name:e="",dependentRequired:r=[],onExpand:n=()=>{},identifier:a=""},o)=>{const p=Rn(),c=a||t?.$id||e,{path:d}=Qo(c),{isExpanded:E,setExpanded:x,setCollapsed:k}=Gs(c),[P,R]=cs(),L=(()=>{const[Lr]=cs();return Lr>0})(),V=p.isExpandable(t)||r.length>0,Q=(Lr=>gO().has(Lr))(t),J=gO(t),re=p.stringifyConstraints(t),me=Jt("Accordion"),le=Jt("Keyword$schema"),ve=Jt("Keyword$vocabulary"),be=Jt("Keyword$id"),ce=Jt("Keyword$anchor"),_e=Jt("Keyword$dynamicAnchor"),Ae=Jt("Keyword$ref"),xe=Jt("Keyword$dynamicRef"),Oe=Jt("Keyword$defs"),je=Jt("Keyword$comment"),G=Jt("KeywordAllOf"),de=Jt("KeywordAnyOf"),Ne=Jt("KeywordOneOf"),Ye=Jt("KeywordNot"),ht=Jt("KeywordIf"),Ct=Jt("KeywordThen"),_t=Jt("KeywordElse"),qt=Jt("KeywordDependentSchemas"),It=Jt("KeywordPrefixItems"),Ot=Jt("KeywordItems"),et=Jt("KeywordContains"),Dt=Jt("KeywordProperties"),or=Jt("KeywordPatternProperties"),Ut=Jt("KeywordAdditionalProperties"),pr=Jt("KeywordPropertyNames"),W=Jt("KeywordUnevaluatedItems"),$e=Jt("KeywordUnevaluatedProperties"),Je=Jt("KeywordType"),Ft=Jt("KeywordEnum"),it=Jt("KeywordConst"),bt=Jt("KeywordConstraint"),ut=Jt("KeywordDependentRequired"),Xt=Jt("KeywordContentSchema"),zt=Jt("KeywordTitle"),tr=Jt("KeywordDescription"),Er=Jt("KeywordDefault"),dr=Jt("KeywordDeprecated"),qr=Jt("KeywordReadOnly"),en=Jt("KeywordWriteOnly"),kn=Jt("KeywordExamples"),ln=Jt("ExtensionKeywords"),jt=Jt("ExpandDeepButton"),We=(0,u.useCallback)(((Lr,zr)=>{zr?x():k(),n(Lr,zr,!1)}),[n,x,k]),Kr=(0,u.useCallback)(((Lr,zr)=>{zr?x({deep:!0}):k({deep:!0}),n(Lr,zr,!0)}),[n,x,k]);return u.createElement(pi.Provider,{value:d},u.createElement(ls.Provider,{value:R},u.createElement(Nw.Provider,{value:J},u.createElement("article",{ref:o,"data-json-schema-level":P,className:Xr()("json-schema-2020-12",{"json-schema-2020-12--embedded":L,"json-schema-2020-12--circular":Q})},u.createElement("div",{className:"json-schema-2020-12-head"},V&&!Q?u.createElement(u.Fragment,null,u.createElement(me,{expanded:E,onChange:We},u.createElement(zt,{title:e,schema:t})),u.createElement(jt,{expanded:E,onClick:Kr})):u.createElement(zt,{title:e,schema:t}),u.createElement(dr,{schema:t}),u.createElement(qr,{schema:t}),u.createElement(en,{schema:t}),u.createElement(Je,{schema:t,isCircular:Q}),re.length>0&&re.map((Lr=>u.createElement(bt,{key:`${Lr.scope}-${Lr.value}`,constraint:Lr})))),u.createElement("div",{className:Xr()("json-schema-2020-12-body",{"json-schema-2020-12-body--collapsed":!E})},E&&u.createElement(u.Fragment,null,u.createElement(tr,{schema:t}),!Q&&V&&u.createElement(u.Fragment,null,u.createElement(Dt,{schema:t}),u.createElement(or,{schema:t}),u.createElement(Ut,{schema:t}),u.createElement($e,{schema:t}),u.createElement(pr,{schema:t}),u.createElement(G,{schema:t}),u.createElement(de,{schema:t}),u.createElement(Ne,{schema:t}),u.createElement(Ye,{schema:t}),u.createElement(ht,{schema:t}),u.createElement(Ct,{schema:t}),u.createElement(_t,{schema:t}),u.createElement(qt,{schema:t}),u.createElement(It,{schema:t}),u.createElement(Ot,{schema:t}),u.createElement(W,{schema:t}),u.createElement(et,{schema:t}),u.createElement(Xt,{schema:t})),u.createElement(Ft,{schema:t}),u.createElement(it,{schema:t}),u.createElement(ut,{schema:t,dependentRequired:r}),u.createElement(Er,{schema:t}),u.createElement(kn,{schema:t}),u.createElement(le,{schema:t}),u.createElement(ve,{schema:t}),u.createElement(be,{schema:t}),u.createElement(ce,{schema:t}),u.createElement(_e,{schema:t}),u.createElement(Ae,{schema:t}),!Q&&V&&u.createElement(Oe,{schema:t}),u.createElement(xe,{schema:t}),u.createElement(je,{schema:t}),u.createElement(ln,{schema:t})))))))})),yO=GB,vO=({schema:t})=>t?.$schema?u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$schema"},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$schema"),u.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$schema)):null,bO=({schema:t})=>{const e="$vocabulary",{path:r}=Qo(e),{isExpanded:n,setExpanded:a,setCollapsed:o}=Gs(e),p=Jt("Accordion"),c=(0,u.useCallback)((()=>{n?o():a()}),[n,a,o]);return t?.$vocabulary?typeof t.$vocabulary!="object"?null:u.createElement(pi.Provider,{value:r},u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$vocabulary"},u.createElement(p,{expanded:n,onChange:c},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$vocabulary")),u.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),u.createElement("ul",null,n&&Object.entries(t.$vocabulary).map((([d,E])=>u.createElement("li",{key:d,className:Xr()("json-schema-2020-12-$vocabulary-uri",{"json-schema-2020-12-$vocabulary-uri--disabled":!E})},u.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},d))))))):null},wO=({schema:t})=>t?.$id?u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$id"},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$id"),u.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$id)):null,EO=({schema:t})=>t?.$anchor?u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$anchor"},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$anchor"),u.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$anchor)):null,SO=({schema:t})=>t?.$dynamicAnchor?u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$dynamicAnchor"},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$dynamicAnchor"),u.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$dynamicAnchor)):null,xO=({schema:t})=>t?.$ref?u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$ref"},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$ref"),u.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$ref)):null,_O=({schema:t})=>t?.$dynamicRef?u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$dynamicRef"},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$dynamicRef"),u.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$dynamicRef)):null,OO=({schema:t})=>{const e=t?.$defs||{},r="$defs",{path:n}=Qo(r),{isExpanded:a,setExpanded:o,setCollapsed:p}=Gs(r),[c,d]=cs(),E=Jt("Accordion"),x=Jt("ExpandDeepButton"),k=Jt("JSONSchema"),P=(0,u.useCallback)((()=>{a?p():o()}),[a,o,p]),R=(0,u.useCallback)(((L,V)=>{V?o({deep:!0}):p({deep:!0})}),[o,p]);return Object.keys(e).length===0?null:u.createElement(pi.Provider,{value:n},u.createElement(ls.Provider,{value:d},u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$defs","data-json-schema-level":c},u.createElement(E,{expanded:a,onChange:P},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$defs")),u.createElement(x,{expanded:a,onClick:R}),u.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),u.createElement("ul",{className:Xr()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!a})},a&&u.createElement(u.Fragment,null,Object.entries(e).map((([L,V])=>u.createElement("li",{key:L,className:"json-schema-2020-12-property"},u.createElement(k,{name:L,schema:V})))))))))},kO=({schema:t})=>t?.$comment?u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$comment"},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$comment"),u.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$comment)):null,AO=({schema:t})=>{const e=t?.allOf||[],r=Rn(),n="allOf",{path:a}=Qo(n),{isExpanded:o,setExpanded:p,setCollapsed:c}=Gs(n),[d,E]=cs(),x=Jt("Accordion"),k=Jt("ExpandDeepButton"),P=Jt("JSONSchema"),R=Jt("KeywordType"),L=(0,u.useCallback)((()=>{o?c():p()}),[o,p,c]),V=(0,u.useCallback)(((Q,J)=>{J?p({deep:!0}):c({deep:!0})}),[p,c]);return Array.isArray(e)&&e.length!==0?u.createElement(pi.Provider,{value:a},u.createElement(ls.Provider,{value:E},u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--allOf","data-json-schema-level":d},u.createElement(x,{expanded:o,onChange:L},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"All of")),u.createElement(k,{expanded:o,onClick:V}),u.createElement(R,{schema:{allOf:e}}),u.createElement("ul",{className:Xr()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!o})},o&&u.createElement(u.Fragment,null,e.map(((Q,J)=>u.createElement("li",{key:`#${J}`,className:"json-schema-2020-12-property"},u.createElement(P,{name:`#${J} ${r.getTitle(Q)}`,schema:Q}))))))))):null},CO=({schema:t})=>{const e=t?.anyOf||[],r=Rn(),n="anyOf",{path:a}=Qo(n),{isExpanded:o,setExpanded:p,setCollapsed:c}=Gs(n),[d,E]=cs(),x=Jt("Accordion"),k=Jt("ExpandDeepButton"),P=Jt("JSONSchema"),R=Jt("KeywordType"),L=(0,u.useCallback)((()=>{o?c():p()}),[o,p,c]),V=(0,u.useCallback)(((Q,J)=>{J?p({deep:!0}):c({deep:!0})}),[p,c]);return Array.isArray(e)&&e.length!==0?u.createElement(pi.Provider,{value:a},u.createElement(ls.Provider,{value:E},u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--anyOf","data-json-schema-level":d},u.createElement(x,{expanded:o,onChange:L},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Any of")),u.createElement(k,{expanded:o,onClick:V}),u.createElement(R,{schema:{anyOf:e}}),u.createElement("ul",{className:Xr()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!o})},o&&u.createElement(u.Fragment,null,e.map(((Q,J)=>u.createElement("li",{key:`#${J}`,className:"json-schema-2020-12-property"},u.createElement(P,{name:`#${J} ${r.getTitle(Q)}`,schema:Q}))))))))):null},jO=({schema:t})=>{const e=t?.oneOf||[],r=Rn(),n="oneOf",{path:a}=Qo(n),{isExpanded:o,setExpanded:p,setCollapsed:c}=Gs(n),[d,E]=cs(),x=Jt("Accordion"),k=Jt("ExpandDeepButton"),P=Jt("JSONSchema"),R=Jt("KeywordType"),L=(0,u.useCallback)((()=>{o?c():p()}),[o,p,c]),V=(0,u.useCallback)(((Q,J)=>{J?p({deep:!0}):c({deep:!0})}),[p,c]);return Array.isArray(e)&&e.length!==0?u.createElement(pi.Provider,{value:a},u.createElement(ls.Provider,{value:E},u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--oneOf","data-json-schema-level":d},u.createElement(x,{expanded:o,onChange:L},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"One of")),u.createElement(k,{expanded:o,onClick:V}),u.createElement(R,{schema:{oneOf:e}}),u.createElement("ul",{className:Xr()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!o})},o&&u.createElement(u.Fragment,null,e.map(((Q,J)=>u.createElement("li",{key:`#${J}`,className:"json-schema-2020-12-property"},u.createElement(P,{name:`#${J} ${r.getTitle(Q)}`,schema:Q}))))))))):null},PO=({schema:t})=>{const e=Rn(),r=Jt("JSONSchema");if(!e.hasKeyword(t,"not"))return null;const n=u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Not");return u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--not"},u.createElement(r,{name:n,schema:t.not,identifier:"not"}))},NO=({schema:t})=>{const e=Rn(),r=Jt("JSONSchema");if(!e.hasKeyword(t,"if"))return null;const n=u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"If");return u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--if"},u.createElement(r,{name:n,schema:t.if,identifier:"if"}))},TO=({schema:t})=>{const e=Rn(),r=Jt("JSONSchema");if(!e.hasKeyword(t,"then"))return null;const n=u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Then");return u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--then"},u.createElement(r,{name:n,schema:t.then,identifier:"then"}))},IO=({schema:t})=>{const e=Rn(),r=Jt("JSONSchema");if(!e.hasKeyword(t,"else"))return null;const n=u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Else");return u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--if"},u.createElement(r,{name:n,schema:t.else,identifier:"else"}))},MO=({schema:t})=>{const e=t?.dependentSchemas||[],r="dependentSchemas",{path:n}=Qo(r),{isExpanded:a,setExpanded:o,setCollapsed:p}=Gs(r),[c,d]=cs(),E=Jt("Accordion"),x=Jt("ExpandDeepButton"),k=Jt("JSONSchema"),P=(0,u.useCallback)((()=>{a?p():o()}),[a,o,p]),R=(0,u.useCallback)(((L,V)=>{V?o({deep:!0}):p({deep:!0})}),[o,p]);return typeof e!="object"||Object.keys(e).length===0?null:u.createElement(pi.Provider,{value:n},u.createElement(ls.Provider,{value:d},u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentSchemas","data-json-schema-level":c},u.createElement(E,{expanded:a,onChange:P},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Dependent schemas")),u.createElement(x,{expanded:a,onClick:R}),u.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),u.createElement("ul",{className:Xr()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!a})},a&&u.createElement(u.Fragment,null,Object.entries(e).map((([L,V])=>u.createElement("li",{key:L,className:"json-schema-2020-12-property"},u.createElement(k,{name:L,schema:V})))))))))},RO=({schema:t})=>{const e=t?.prefixItems||[],r=Rn(),n="prefixItems",{path:a}=Qo(n),{isExpanded:o,setExpanded:p,setCollapsed:c}=Gs(n),[d,E]=cs(),x=Jt("Accordion"),k=Jt("ExpandDeepButton"),P=Jt("JSONSchema"),R=Jt("KeywordType"),L=(0,u.useCallback)((()=>{o?c():p()}),[o,p,c]),V=(0,u.useCallback)(((Q,J)=>{J?p({deep:!0}):c({deep:!0})}),[p,c]);return Array.isArray(e)&&e.length!==0?u.createElement(pi.Provider,{value:a},u.createElement(ls.Provider,{value:E},u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--prefixItems","data-json-schema-level":d},u.createElement(x,{expanded:o,onChange:L},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Prefix items")),u.createElement(k,{expanded:o,onClick:V}),u.createElement(R,{schema:{prefixItems:e}}),u.createElement("ul",{className:Xr()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!o})},o&&u.createElement(u.Fragment,null,e.map(((Q,J)=>u.createElement("li",{key:`#${J}`,className:"json-schema-2020-12-property"},u.createElement(P,{name:`#${J} ${r.getTitle(Q)}`,schema:Q}))))))))):null},DO=({schema:t})=>{const e=Rn(),r=Jt("JSONSchema");if(!e.hasKeyword(t,"items"))return null;const n=u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Items");return u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--items"},u.createElement(r,{name:n,schema:t.items,identifier:"items"}))},FO=({schema:t})=>{const e=Rn(),r=Jt("JSONSchema");if(!e.hasKeyword(t,"contains"))return null;const n=u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Contains");return u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--contains"},u.createElement(r,{name:n,schema:t.contains,identifier:"contains"}))},LO=({schema:t})=>{const e=Rn(),r=t?.properties||{},n=Array.isArray(t?.required)?t.required:[],a=Jt("JSONSchema"),{path:o}=Qo("properties");return Object.keys(r).length===0?null:u.createElement(pi.Provider,{value:o},u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},u.createElement("ul",null,Object.entries(r).map((([p,c])=>{const d=n.includes(p),E=e.getDependentRequired(p,t);return u.createElement("li",{key:p,className:Xr()("json-schema-2020-12-property",{"json-schema-2020-12-property--required":d})},u.createElement(a,{name:p,schema:c,dependentRequired:E}))})))))},$O=({schema:t})=>{const e=t?.patternProperties||{},r=Jt("JSONSchema"),{path:n}=Qo("patternProperties");return Object.keys(e).length===0?null:u.createElement(pi.Provider,{value:n},u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--patternProperties"},u.createElement("ul",null,Object.entries(e).map((([a,o])=>u.createElement("li",{key:a,className:"json-schema-2020-12-property"},u.createElement(r,{name:a,schema:o})))))))},BO=({schema:t})=>{const e=Rn(),r=Jt("JSONSchema");if(!e.hasKeyword(t,"additionalProperties"))return null;const n=u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Additional properties");return u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--additionalProperties"},t.additionalProperties===!0?u.createElement(u.Fragment,null,n,u.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"allowed")):t.additionalProperties===!1?u.createElement(u.Fragment,null,n,u.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"forbidden")):u.createElement(r,{name:n,schema:t.additionalProperties,identifier:"additionalProperties"}))},qO=({schema:t})=>{const e=Rn(),r=Jt("JSONSchema"),n=u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Property names");return e.hasKeyword(t,"propertyNames")?u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--propertyNames"},u.createElement(r,{name:n,schema:t.propertyNames,identifier:"propertyNames"})):null},UO=({schema:t})=>{const e=Rn(),r=Jt("JSONSchema");if(!e.hasKeyword(t,"unevaluatedItems"))return null;const n=u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Unevaluated items");return u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedItems"},u.createElement(r,{name:n,schema:t.unevaluatedItems,identifier:"unevaluatedItems"}))},zO=({schema:t})=>{const e=Rn(),r=Jt("JSONSchema");if(!e.hasKeyword(t,"unevaluatedProperties"))return null;const n=u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Unevaluated properties");return u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedProperties"},u.createElement(r,{name:n,schema:t.unevaluatedProperties,identifier:"unevaluatedProperties"}))},VO=({schema:t,isCircular:e=!1})=>{const r=Rn().getType(t),n=e?" [circular]":"";return u.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},`${r}${n}`)},JO=({schema:t})=>{const e=Jt("JSONViewer");return Array.isArray(t?.enum)?u.createElement(e,{name:"Enum",value:t.enum,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--enum"}):null},WO=({schema:t})=>{const e=Rn(),r=Jt("JSONViewer");return e.hasKeyword(t,"const")?u.createElement(r,{name:"Const",value:t.const,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--const"}):null},HO=t=>typeof t=="string"?`${t.charAt(0).toUpperCase()}${t.slice(1)}`:t,KO=t=>(e,{lookup:r="extended"}={})=>{const n=t();if(e?.title!=null)return n.upperFirst(String(e.title));if(r==="extended"){if(e?.$anchor!=null)return n.upperFirst(String(e.$anchor));if(e?.$id!=null)return String(e.$id)}return""},GO=t=>{const e=(r,n=new WeakSet)=>{const a=t();if(r==null)return"any";if(a.isBooleanJSONSchema(r))return r?"any":"never";if(typeof r!="object"||n.has(r))return"any";n.add(r);const{type:o,prefixItems:p,items:c}=r,d=()=>{if(Array.isArray(p)){const k=p.map((R=>e(R,n))),P=c?e(c,n):"any";return`array<[${k.join(", ")}], ${P}>`}return c?`array<${e(c,n)}>`:"array<any>"};if(r.not&&e(r.not)==="any")return"never";const E=(k,P)=>Array.isArray(r[k])?`(${r[k].map((R=>e(R,n))).join(P)})`:null,x=[Array.isArray(o)?o.map((k=>k==="array"?d():k)).join(" | "):o==="array"?d():["null","boolean","object","array","number","integer","string"].includes(o)?o:(()=>{if(Object.hasOwn(r,"prefixItems")||Object.hasOwn(r,"items")||Object.hasOwn(r,"contains"))return d();if(Object.hasOwn(r,"properties")||Object.hasOwn(r,"additionalProperties")||Object.hasOwn(r,"patternProperties"))return"object";if(["int32","int64"].includes(r.format))return"integer";if(["float","double"].includes(r.format))return"number";if(Object.hasOwn(r,"minimum")||Object.hasOwn(r,"maximum")||Object.hasOwn(r,"exclusiveMinimum")||Object.hasOwn(r,"exclusiveMaximum")||Object.hasOwn(r,"multipleOf"))return"number | integer";if(Object.hasOwn(r,"pattern")||Object.hasOwn(r,"format")||Object.hasOwn(r,"minLength")||Object.hasOwn(r,"maxLength")||Object.hasOwn(r,"contentEncoding")||Object.hasOwn(r,"contentMediaType"))return"string";if(r.const!==void 0){if(r.const===null)return"null";if(typeof r.const=="boolean")return"boolean";if(typeof r.const=="number")return Number.isInteger(r.const)?"integer":"number";if(typeof r.const=="string")return"string";if(Array.isArray(r.const))return"array<any>";if(typeof r.const=="object")return"object"}return null})(),E("oneOf"," | "),E("anyOf"," | "),E("allOf"," & ")].filter(Boolean).join(" | ");return n.delete(r),x||"any"};return e},YO=t=>typeof t=="boolean",XO=(t,e)=>t!==null&&typeof t=="object"&&Object.hasOwn(t,e),QO=t=>e=>{const r=t();return e?.$schema||e?.$vocabulary||e?.$id||e?.$anchor||e?.$dynamicAnchor||e?.$ref||e?.$dynamicRef||e?.$defs||e?.$comment||e?.allOf||e?.anyOf||e?.oneOf||r.hasKeyword(e,"not")||r.hasKeyword(e,"if")||r.hasKeyword(e,"then")||r.hasKeyword(e,"else")||e?.dependentSchemas||e?.prefixItems||r.hasKeyword(e,"items")||r.hasKeyword(e,"contains")||e?.properties||e?.patternProperties||r.hasKeyword(e,"additionalProperties")||r.hasKeyword(e,"propertyNames")||r.hasKeyword(e,"unevaluatedItems")||r.hasKeyword(e,"unevaluatedProperties")||e?.description||e?.enum||r.hasKeyword(e,"const")||r.hasKeyword(e,"contentSchema")||r.hasKeyword(e,"default")||e?.examples||r.getExtensionKeywords(e).length>0},ZO=t=>t===null||["number","bigint","boolean"].includes(typeof t)?String(t):Array.isArray(t)?`[${t.map(ZO).join(", ")}]`:JSON.stringify(t),Lv=(t,e,r)=>{const n=typeof e=="number",a=typeof r=="number";return n&&a?e===r?`${e} ${t}`:`[${e}, ${r}] ${t}`:n?`≥ ${e} ${t}`:a?`≤ ${r} ${t}`:null},YB=t=>{const e=[],r=(d=>{if(typeof d?.multipleOf!="number"||d.multipleOf<=0||d.multipleOf===1)return null;const{multipleOf:E}=d;if(Number.isInteger(E))return`multiple of ${E}`;const x=10**E.toString().split(".")[1].length;return`multiple of ${E*x}/${x}`})(t);r!==null&&e.push({scope:"number",value:r});const n=(d=>{const E=d?.minimum,x=d?.maximum,k=d?.exclusiveMinimum,P=d?.exclusiveMaximum,R=typeof E=="number",L=typeof x=="number",V=typeof k=="number",Q=typeof P=="number",J=V&&(!R||E<k),re=Q&&(!L||x>P);return(R||V)&&(L||Q)?`${J?"(":"["}${J?k:E}, ${re?P:x}${re?")":"]"}`:R||V?`${J?">":"≥"} ${J?k:E}`:L||Q?`${re?"<":"≤"} ${re?P:x}`:null})(t);n!==null&&e.push({scope:"number",value:n}),t?.format&&e.push({scope:"string",value:t.format});const a=Lv("characters",t?.minLength,t?.maxLength);a!==null&&e.push({scope:"string",value:a}),t?.pattern&&e.push({scope:"string",value:`matches ${t?.pattern}`}),t?.contentMediaType&&e.push({scope:"string",value:`media type: ${t.contentMediaType}`}),t?.contentEncoding&&e.push({scope:"string",value:`encoding: ${t.contentEncoding}`});const o=Lv(t?.uniqueItems?"unique items":"items",t?.minItems,t?.maxItems);o!==null&&e.push({scope:"array",value:o}),t?.uniqueItems&&!o&&e.push({scope:"array",value:"unique"});const p=Lv("contained items",t?.minContains,t?.maxContains);p!==null&&e.push({scope:"array",value:p});const c=Lv("properties",t?.minProperties,t?.maxProperties);return c!==null&&e.push({scope:"object",value:c}),e},XB=(t,e)=>e?.dependentRequired?Array.from(Object.entries(e.dependentRequired).reduce(((r,[n,a])=>(Array.isArray(a)&&a.includes(t)&&r.add(n),r)),new Set)):[],$v=t=>typeof t=="object"&&t!==null&&!Array.isArray(t)&&(Object.getPrototypeOf(t)===null||Object.getPrototypeOf(t)===Object.prototype),ek=()=>["$schema","$vocabulary","$id","$anchor","$dynamicAnchor","$dynamicRef","$ref","$defs","$comment","allOf","anyOf","oneOf","not","if","then","else","dependentSchemas","prefixItems","items","contains","properties","patternProperties","additionalProperties","propertyNames","unevaluatedItems","unevaluatedProperties","type","enum","const","multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","maxContains","minContains","maxProperties","minProperties","required","dependentRequired","title","description","default","deprecated","readOnly","writeOnly","examples","format","contentEncoding","contentMediaType","contentSchema"],tk=t=>e=>{const r=t().getSchemaKeywords();return $v(e)?((n,a)=>{const o=new Set(a);return n.filter((p=>!o.has(p)))})(Object.keys(e),r):[]},QB=(t,e)=>{const r=H.Map.isMap(t);if(!r&&!$v(t))return!1;const n=o=>e===o||Array.isArray(e)&&e.includes(o),a=r?t.get("type"):t.type;return H.List.isList(a)||Array.isArray(a)?a.some((o=>n(o))):n(a)},ZB=({constraint:t})=>$v(t)&&typeof t.scope=="string"&&typeof t.value=="string"?u.createElement("span",{className:`json-schema-2020-12__constraint json-schema-2020-12__constraint--${t.scope}`},t.value):null,rk=u.memo(ZB),nk=({dependentRequired:t})=>Array.isArray(t)&&t.length!==0?u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentRequired"},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Required when defined"),u.createElement("ul",null,t.map((e=>u.createElement("li",{key:e},u.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--warning"},e)))))):null,ak=({schema:t})=>{const e=Rn(),r=Jt("JSONSchema");if(!e.hasKeyword(t,"contentSchema"))return null;const n=u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Content schema");return u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--contentSchema"},u.createElement(r,{name:n,schema:t.contentSchema,identifier:"contentSchema"}))},ok=({title:t="",schema:e})=>{const r=Rn(),n=t||r.getTitle(e);return n?u.createElement("strong",{className:"json-schema-2020-12__title"},n):null},ik=({schema:t})=>t?.description?u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},u.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"},t.description)):null,sk=({schema:t})=>{const e=Rn(),r=Jt("JSONViewer");return e.hasKeyword(t,"default")?u.createElement(r,{name:"Default",value:t.default,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--default"}):null},lk=({schema:t})=>t?.deprecated!==!0?null:u.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--warning"},"deprecated"),ck=({schema:t})=>t?.readOnly!==!0?null:u.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"read-only"),uk=({schema:t})=>t?.writeOnly!==!0?null:u.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"write-only"),pk=({schema:t})=>{const e=t?.examples||[],r=Jt("JSONViewer");return Array.isArray(e)&&e.length!==0?u.createElement(r,{name:"Examples",value:t.examples,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--examples"}):null},hk=({schema:t})=>{const e=Rn(),r="ExtensionKeywords",{path:n}=Qo(r),{isExpanded:a,setExpanded:o,setCollapsed:p}=Gs(r),[c,d]=cs(),E=Jt("Accordion"),x=Jt("ExpandDeepButton"),k=Jt("JSONViewer"),{showExtensionKeywords:P}=Tw(),R=e.getExtensionKeywords(t),L=(0,u.useCallback)((()=>{a?p():o()}),[a,o,p]),V=(0,u.useCallback)(((Q,J)=>{J?o({deep:!0}):p({deep:!0})}),[o,p]);return P&&R.length!==0?u.createElement(pi.Provider,{value:n},u.createElement(ls.Provider,{value:d},u.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--extension-keywords","data-json-schema-level":c},u.createElement(E,{expanded:a,onChange:L},u.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--extension"},"Extension Keywords")),u.createElement(x,{expanded:a,onClick:V}),u.createElement("ul",{className:Xr()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!a})},a&&u.createElement(u.Fragment,null,R.map((Q=>u.createElement(k,{key:Q,name:Q,value:t[Q],className:"json-schema-2020-12-json-viewer-extension-keyword"})))))))):null},Iw=({name:t,value:e,className:r})=>{const n=Rn(),{path:a}=Qo(t),{isExpanded:o,setExpanded:p,setCollapsed:c}=Gs(t),[d,E]=cs(),x=Jt("Accordion"),k=Jt("ExpandDeepButton"),P=typeof e=="string"||typeof e=="number"||typeof e=="bigint"||typeof e=="boolean"||typeof e=="symbol"||e==null,R=(Q=>$v(Q)&&Object.keys(Q).length===0)(e)||(Q=>Array.isArray(Q)&&Q.length===0)(e),L=(0,u.useCallback)((()=>{o?c():p()}),[o,p,c]),V=(0,u.useCallback)(((Q,J)=>{J?p({deep:!0}):c({deep:!0})}),[p,c]);return P?u.createElement("div",{className:Xr()("json-schema-2020-12-json-viewer",r)},u.createElement("span",{className:"json-schema-2020-12-json-viewer__name json-schema-2020-12-json-viewer__name--secondary"},t),u.createElement("span",{className:"json-schema-2020-12-json-viewer__value json-schema-2020-12-json-viewer__value--secondary"},n.stringify(e))):R?u.createElement("div",{className:Xr()("json-schema-2020-12-json-viewer",r)},u.createElement("span",{className:"json-schema-2020-12-json-viewer__name json-schema-2020-12-json-viewer__name--secondary"},t),u.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},Array.isArray(e)?"empty array":"empty object")):u.createElement(pi.Provider,{value:a},u.createElement(ls.Provider,{value:E},u.createElement("div",{className:Xr()("json-schema-2020-12-json-viewer",r),"data-json-schema-level":d},u.createElement(x,{expanded:o,onChange:L},u.createElement("span",{className:"json-schema-2020-12-json-viewer__name json-schema-2020-12-json-viewer__name--secondary"},t)),u.createElement(k,{expanded:o,onClick:V}),u.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},Array.isArray(e)?"array":"object"),u.createElement("ul",{className:Xr()("json-schema-2020-12-json-viewer__children",{"json-schema-2020-12-json-viewer__children--collapsed":!o})},o&&u.createElement(u.Fragment,null,Array.isArray(e)?e.map(((Q,J)=>u.createElement("li",{key:`#${J}`,className:"json-schema-2020-12-property"},u.createElement(Iw,{name:`#${J}`,value:Q,className:r})))):Object.entries(e).map((([Q,J])=>u.createElement("li",{key:Q,className:"json-schema-2020-12-property"},u.createElement(Iw,{name:Q,value:J,className:r})))))))))},dk=Iw,fk=({expanded:t=!1,children:e,onChange:r})=>{const n=Jt("ChevronRightIcon"),a=(0,u.useCallback)((o=>{r(o,!t)}),[t,r]);return u.createElement("button",{type:"button",className:"json-schema-2020-12-accordion",onClick:a},u.createElement("div",{className:"json-schema-2020-12-accordion__children"},e),u.createElement("span",{className:Xr()("json-schema-2020-12-accordion__icon",{"json-schema-2020-12-accordion__icon--expanded":t,"json-schema-2020-12-accordion__icon--collapsed":!t})},u.createElement(n,null)))},mk=({expanded:t,onClick:e})=>{const r=(0,u.useCallback)((n=>{e(n,!t)}),[t,e]);return u.createElement("button",{type:"button",className:"json-schema-2020-12-expand-deep-button",onClick:r},t?"Collapse all":"Expand all")},gk=()=>u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},u.createElement("path",{fill:"currentColor",d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),yk=(t,e={})=>{const r={components:{JSONSchema:yO,Keyword$schema:vO,Keyword$vocabulary:bO,Keyword$id:wO,Keyword$anchor:EO,Keyword$dynamicAnchor:SO,Keyword$ref:xO,Keyword$dynamicRef:_O,Keyword$defs:OO,Keyword$comment:kO,KeywordAllOf:AO,KeywordAnyOf:CO,KeywordOneOf:jO,KeywordNot:PO,KeywordIf:NO,KeywordThen:TO,KeywordElse:IO,KeywordDependentSchemas:MO,KeywordPrefixItems:RO,KeywordItems:DO,KeywordContains:FO,KeywordProperties:LO,KeywordPatternProperties:$O,KeywordAdditionalProperties:BO,KeywordPropertyNames:qO,KeywordUnevaluatedItems:UO,KeywordUnevaluatedProperties:zO,KeywordType:VO,KeywordEnum:JO,KeywordConst:WO,KeywordConstraint:rk,KeywordDependentRequired:nk,KeywordContentSchema:ak,KeywordTitle:ok,KeywordDescription:ik,KeywordDefault:sk,KeywordDeprecated:lk,KeywordReadOnly:ck,KeywordWriteOnly:uk,KeywordExamples:pk,ExtensionKeywords:hk,JSONViewer:dk,Accordion:fk,ExpandDeepButton:mk,ChevronRightIcon:gk,...e.components},config:{default$schema:"https://json-schema.org/draft/2020-12/schema",defaultExpandedLevels:0,showExtensionKeywords:!0,...e.config},fn:{upperFirst:HO,getTitle:KO(Rn),getType:GO(Rn),isBooleanJSONSchema:YO,hasKeyword:XO,isExpandable:QO(Rn),stringify:ZO,stringifyConstraints:YB,getDependentRequired:XB,getSchemaKeywords:ek,getExtensionKeywords:tk(Rn),...e.fn},state:{paths:{}}},n=a=>u.createElement(eh.Provider,{value:r},u.createElement(t,a));return n.contexts={JSONSchemaContext:eh},n.displayName=t.displayName,n},eq=({getSystem:t})=>(e,r={})=>{const{getComponent:n,getConfigs:a}=t(),o=a(),p=n("JSONSchema202012"),c=n("JSONSchema202012Keyword$schema"),d=n("JSONSchema202012Keyword$vocabulary"),E=n("JSONSchema202012Keyword$id"),x=n("JSONSchema202012Keyword$anchor"),k=n("JSONSchema202012Keyword$dynamicAnchor"),P=n("JSONSchema202012Keyword$ref"),R=n("JSONSchema202012Keyword$dynamicRef"),L=n("JSONSchema202012Keyword$defs"),V=n("JSONSchema202012Keyword$comment"),Q=n("JSONSchema202012KeywordAllOf"),J=n("JSONSchema202012KeywordAnyOf"),re=n("JSONSchema202012KeywordOneOf"),me=n("JSONSchema202012KeywordNot"),le=n("JSONSchema202012KeywordIf"),ve=n("JSONSchema202012KeywordThen"),be=n("JSONSchema202012KeywordElse"),ce=n("JSONSchema202012KeywordDependentSchemas"),_e=n("JSONSchema202012KeywordPrefixItems"),Ae=n("JSONSchema202012KeywordItems"),xe=n("JSONSchema202012KeywordContains"),Oe=n("JSONSchema202012KeywordProperties"),je=n("JSONSchema202012KeywordPatternProperties"),G=n("JSONSchema202012KeywordAdditionalProperties"),de=n("JSONSchema202012KeywordPropertyNames"),Ne=n("JSONSchema202012KeywordUnevaluatedItems"),Ye=n("JSONSchema202012KeywordUnevaluatedProperties"),ht=n("JSONSchema202012KeywordType"),Ct=n("JSONSchema202012KeywordEnum"),_t=n("JSONSchema202012KeywordConst"),qt=n("JSONSchema202012KeywordConstraint"),It=n("JSONSchema202012KeywordDependentRequired"),Ot=n("JSONSchema202012KeywordContentSchema"),et=n("JSONSchema202012KeywordTitle"),Dt=n("JSONSchema202012KeywordDescription"),or=n("JSONSchema202012KeywordDefault"),Ut=n("JSONSchema202012KeywordDeprecated"),pr=n("JSONSchema202012KeywordReadOnly"),W=n("JSONSchema202012KeywordWriteOnly"),$e=n("JSONSchema202012KeywordExamples"),Je=n("JSONSchema202012ExtensionKeywords"),Ft=n("JSONSchema202012JSONViewer"),it=n("JSONSchema202012Accordion"),bt=n("JSONSchema202012ExpandDeepButton"),ut=n("JSONSchema202012ChevronRightIcon");return yk(e,{components:{JSONSchema:p,Keyword$schema:c,Keyword$vocabulary:d,Keyword$id:E,Keyword$anchor:x,Keyword$dynamicAnchor:k,Keyword$ref:P,Keyword$dynamicRef:R,Keyword$defs:L,Keyword$comment:V,KeywordAllOf:Q,KeywordAnyOf:J,KeywordOneOf:re,KeywordNot:me,KeywordIf:le,KeywordThen:ve,KeywordElse:be,KeywordDependentSchemas:ce,KeywordPrefixItems:_e,KeywordItems:Ae,KeywordContains:xe,KeywordProperties:Oe,KeywordPatternProperties:je,KeywordAdditionalProperties:G,KeywordPropertyNames:de,KeywordUnevaluatedItems:Ne,KeywordUnevaluatedProperties:Ye,KeywordType:ht,KeywordEnum:Ct,KeywordConst:_t,KeywordConstraint:qt,KeywordDependentRequired:It,KeywordContentSchema:Ot,KeywordTitle:et,KeywordDescription:Dt,KeywordDefault:or,KeywordDeprecated:Ut,KeywordReadOnly:pr,KeywordWriteOnly:W,KeywordExamples:$e,ExtensionKeywords:Je,JSONViewer:Ft,Accordion:it,ExpandDeepButton:bt,ChevronRightIcon:ut,...r.components},config:{showExtensionKeywords:o.showExtensions,...r.config},fn:{...r.fn}})},vk=({getSystem:t,fn:e})=>{const r=()=>({upperFirst:e.upperFirst,...e.jsonSchema202012});return{components:{JSONSchema202012:yO,JSONSchema202012Keyword$schema:vO,JSONSchema202012Keyword$vocabulary:bO,JSONSchema202012Keyword$id:wO,JSONSchema202012Keyword$anchor:EO,JSONSchema202012Keyword$dynamicAnchor:SO,JSONSchema202012Keyword$ref:xO,JSONSchema202012Keyword$dynamicRef:_O,JSONSchema202012Keyword$defs:OO,JSONSchema202012Keyword$comment:kO,JSONSchema202012KeywordAllOf:AO,JSONSchema202012KeywordAnyOf:CO,JSONSchema202012KeywordOneOf:jO,JSONSchema202012KeywordNot:PO,JSONSchema202012KeywordIf:NO,JSONSchema202012KeywordThen:TO,JSONSchema202012KeywordElse:IO,JSONSchema202012KeywordDependentSchemas:MO,JSONSchema202012KeywordPrefixItems:RO,JSONSchema202012KeywordItems:DO,JSONSchema202012KeywordContains:FO,JSONSchema202012KeywordProperties:LO,JSONSchema202012KeywordPatternProperties:$O,JSONSchema202012KeywordAdditionalProperties:BO,JSONSchema202012KeywordPropertyNames:qO,JSONSchema202012KeywordUnevaluatedItems:UO,JSONSchema202012KeywordUnevaluatedProperties:zO,JSONSchema202012KeywordType:VO,JSONSchema202012KeywordEnum:JO,JSONSchema202012KeywordConst:WO,JSONSchema202012KeywordConstraint:rk,JSONSchema202012KeywordDependentRequired:nk,JSONSchema202012KeywordContentSchema:ak,JSONSchema202012KeywordTitle:ok,JSONSchema202012KeywordDescription:ik,JSONSchema202012KeywordDefault:sk,JSONSchema202012KeywordDeprecated:lk,JSONSchema202012KeywordReadOnly:ck,JSONSchema202012KeywordWriteOnly:uk,JSONSchema202012KeywordExamples:pk,JSONSchema202012ExtensionKeywords:hk,JSONSchema202012JSONViewer:dk,JSONSchema202012Accordion:fk,JSONSchema202012ExpandDeepButton:mk,JSONSchema202012ChevronRightIcon:gk,withJSONSchema202012Context:yk,withJSONSchema202012SystemContext:eq(t()),JSONSchema202012PathContext:()=>pi,JSONSchema202012LevelContext:()=>ls},fn:{upperFirst:HO,jsonSchema202012:{getTitle:KO(r),getType:GO(r),isExpandable:QO(r),isBooleanJSONSchema:YO,hasKeyword:XO,useFn:Rn,useConfig:Tw,useComponent:Jt,useIsExpanded:Gs,usePath:Qo,useLevel:cs,getSchemaKeywords:ek,getExtensionKeywords:tk(r),hasSchemaType:QB}}}},tq=(t,{sample:e=[]}={})=>((r,n={})=>{const{minItems:a,maxItems:o,uniqueItems:p}=n,{contains:c,minContains:d,maxContains:E}=n;let x=[...r];if(c!=null&&typeof c=="object"&&Number.isInteger(d)&&d>1){const k=x.at(0);for(let P=1;P<d;P+=1)x.unshift(k)}if(Number.isInteger(o)&&o>0&&(x=r.slice(0,o)),Number.isInteger(a)&&a>0)for(let k=0;x.length<a;k+=1)x.push(x[k%x.length]);return p===!0&&(x=Array.from(new Set(x))),x})(e,t),rq=()=>{throw new Error("Not implemented")},Bv=t=>Fn()(t),qv=t=>t.at(0),th=t=>typeof t=="boolean",Ys=t=>Ai()(t),Fc=t=>th(t)||Ys(t),Uv=class{data={};register(e,r){this.data[e]=r}unregister(e){e===void 0?this.data={}:delete this.data[e]}get(e){return this.data[e]}},bk=()=>0,wk=()=>0,nq=()=>.1,aq=()=>.1,oq=()=>"user@example.com",iq=()=>"실례@example.com",sq=()=>"example.com",lq=()=>"실례.com",cq=()=>"198.51.100.42",uq=()=>"2001:0db8:5b96:0000:0000:426f:8e17:642a",pq=()=>"https://example.com/",hq=()=>"path/index.html",dq=()=>"https://실례.com/",fq=()=>"path/실례.html",mq=()=>"3fa85f64-5717-4562-b3fc-2c963f66afa6",gq=()=>"https://example.com/dictionary/{term:1}/{term}",yq=()=>"/a/b/c",vq=()=>"1/0",bq=()=>new Date().toISOString(),wq=()=>new Date().toISOString().substring(0,10),Eq=()=>new Date().toISOString().substring(11),Sq=()=>"P3D",xq=()=>"********",_q=()=>"^[a-z]+$",zv=new class extends Uv{#e={int32:bk,int64:wk,float:nq,double:aq,email:oq,"idn-email":iq,hostname:sq,"idn-hostname":lq,ipv4:cq,ipv6:uq,uri:pq,"uri-reference":hq,iri:dq,"iri-reference":fq,uuid:mq,"uri-template":gq,"json-pointer":yq,"relative-json-pointer":vq,"date-time":bq,date:wq,time:Eq,duration:Sq,password:xq,regex:_q};data={...this.#e};get defaults(){return{...this.#e}}},Ek=(t,e)=>typeof e=="function"?zv.register(t,e):e===null?zv.unregister(t):zv.get(t);Ek.getDefaults=()=>zv.defaults;const Vv=Ek;var Oq=Be(48287).Buffer;const kq=t=>Oq.from(t).toString("ascii");var Aq=Be(48287).Buffer;const Cq=t=>Aq.from(t).toString("utf8");var jq=Be(48287).Buffer;const Pq=t=>jq.from(t).toString("binary"),Nq=t=>{let e="";for(let r=0;r<t.length;r++){const n=t.charCodeAt(r);if(n===61)e+="=3D";else if(n>=33&&n<=60||n>=62&&n<=126||n===9||n===32)e+=t.charAt(r);else if(n===13||n===10)e+=`\r
`;else if(n>126){const a=unescape(encodeURIComponent(t.charAt(r)));for(let o=0;o<a.length;o++)e+="="+("0"+a.charCodeAt(o).toString(16)).slice(-2).toUpperCase()}else e+="="+("0"+n.toString(16)).slice(-2).toUpperCase()}return e};var Tq=Be(48287).Buffer;const Iq=t=>Tq.from(t).toString("hex");var Mq=Be(48287).Buffer;const Rq=t=>{const e=Mq.from(t).toString("utf8"),r="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";let n=0,a="",o=0,p=0;for(let c=0;c<e.length;c++)for(o=o<<8|e.charCodeAt(c),p+=8;p>=5;)a+=r.charAt(o>>>p-5&31),p-=5;p>0&&(a+=r.charAt(o<<5-p&31),n=(8-8*e.length%5)%5);for(let c=0;c<n;c++)a+="=";return a};var Dq=Be(48287).Buffer;const Fq=t=>Dq.from(t).toString("base64");var Lq=Be(48287).Buffer;const $q=t=>Lq.from(t).toString("base64url"),Jv=new class extends Uv{#e={"7bit":kq,"8bit":Cq,binary:Pq,"quoted-printable":Nq,base16:Iq,base32:Rq,base64:Fq,base64url:$q};data={...this.#e};get defaults(){return{...this.#e}}},Sk=(t,e)=>typeof e=="function"?Jv.register(t,e):e===null?Jv.unregister(t):Jv.get(t);Sk.getDefaults=()=>Jv.defaults;const xk=Sk,Bq={"text/plain":()=>"string","text/css":()=>".selector { border: 1px solid red }","text/csv":()=>"value1,value2,value3","text/html":()=>"<p>content</p>","text/calendar":()=>"BEGIN:VCALENDAR","text/javascript":()=>"console.dir('Hello world!');","text/xml":()=>'<person age="30">John Doe</person>',"text/*":()=>"string"},qq={"image/*":()=>Bv(25).toString("binary")},Uq={"audio/*":()=>Bv(25).toString("binary")},zq={"video/*":()=>Bv(25).toString("binary")},Vq={"application/json":()=>'{"key":"value"}',"application/ld+json":()=>'{"name": "John Doe"}',"application/x-httpd-php":()=>"<?php echo '<p>Hello World!</p>'; ?>","application/rtf":()=>String.raw`{\rtf1\adeflang1025\ansi\ansicpg1252\uc1`,"application/x-sh":()=>'echo "Hello World!"',"application/xhtml+xml":()=>"<p>content</p>","application/*":()=>Bv(25).toString("binary")},wd=new class extends Uv{#e={...Bq,...qq,...Uq,...zq,...Vq};data={...this.#e};get defaults(){return{...this.#e}}},_k=(t,e)=>{if(typeof e=="function")return wd.register(t,e);if(e===null)return wd.unregister(t);const r=t.split(";").at(0),n=`${r.split("/").at(0)}/*`;return wd.get(t)||wd.get(r)||wd.get(n)};_k.getDefaults=()=>wd.defaults;const Ok=_k,Mw=(t,e={})=>{const{maxLength:r,minLength:n}=e;let a=t;if(Number.isInteger(r)&&r>0&&(a=a.slice(0,r)),Number.isInteger(n)&&n>0){let o=0;for(;a.length<n;)a+=a[o++%a.length]}return a},Jq=(t,{sample:e}={})=>{const{contentEncoding:r,contentMediaType:n,contentSchema:a}=t,{pattern:o,format:p}=t,c=xk(r)||Cx();let d;return d=typeof o=="string"?Mw((E=>{try{const x=new RegExp("(?<=(?<!\\\\)\\{)(\\d{3,})(?=\\})|(?<=(?<!\\\\)\\{\\d*,)(\\d{3,})(?=\\})|(?<=(?<!\\\\)\\{)(\\d{3,})(?=,\\d*\\})","g"),k=E.replace(x,"100"),P=new(xh())(k);return P.max=100,P.gen()}catch{return"string"}})(o),t):typeof p=="string"?(E=>{const{format:x}=E,k=Vv(x);return typeof k=="function"?k(E):"string"})(t):Fc(a)&&typeof n=="string"&&e!==void 0?Array.isArray(e)||typeof e=="object"?JSON.stringify(e):Mw(String(e),t):typeof n=="string"?(E=>{const{contentMediaType:x}=E,k=Ok(x);return typeof k=="function"?k(E):"string"})(t):Mw("string",t),c(d)},kk=(t,e={})=>{const{minimum:r,maximum:n,exclusiveMinimum:a,exclusiveMaximum:o}=e,{multipleOf:p}=e,c=Number.isInteger(t)?1:Number.EPSILON;let d=typeof r=="number"?r:null,E=typeof n=="number"?n:null,x=t;if(typeof a=="number"&&(d=d!==null?Math.max(d,a+c):a+c),typeof o=="number"&&(E=E!==null?Math.min(E,o-c):o-c),x=d>E&&t||d||E||x,typeof p=="number"&&p>0){const k=x%p;x=k===0?x:x+p-k}return x},Wq=t=>{const{format:e}=t;let r;return r=typeof e=="string"?(n=>{const{format:a}=n,o=Vv(a);return typeof o=="function"?o(n):0})(t):0,kk(r,t)},Hq=t=>{const{format:e}=t;let r;return r=typeof e=="string"?(n=>{const{format:a}=n,o=Vv(a);if(typeof o=="function")return o(n);switch(a){case"int32":return bk();case"int64":return wk()}return 0})(t):0,kk(r,t)},Kq=t=>typeof t.default!="boolean"||t.default,Wv=new Proxy({array:tq,object:rq,string:Jq,number:Wq,integer:Hq,boolean:Kq,null:()=>null},{get:(t,e)=>typeof e=="string"&&Object.hasOwn(t,e)?t[e]:()=>`Unknown Type: ${e}`}),Ak=["array","object","number","integer","string","boolean","null"],zm=t=>{if(!Ys(t))return!1;const{examples:e,example:r,default:n}=t;return!!(Array.isArray(e)&&e.length>=1)||n!==void 0||r!==void 0},Rw=t=>{if(!Ys(t))return null;const{examples:e,example:r,default:n}=t;return Array.isArray(e)&&e.length>=1?e.at(0):n!==void 0?n:r!==void 0?r:void 0},Hv={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"]};Hv.number=Hv.integer;const Dw="string",Ck=t=>t===void 0?null:t===null?"null":Array.isArray(t)?"array":Number.isInteger(t)?"integer":typeof t,Kv=t=>{if(Array.isArray(t)&&t.length>=1){if(t.includes("array"))return"array";if(t.includes("object"))return"object";{const e=t.filter((n=>n!=="null")),r=qv(e.length>0?e:t);if(Ak.includes(r))return r}}return Ak.includes(t)?t:null},Fw=(t,e=new WeakSet)=>{if(!Ys(t)||e.has(t))return Dw;e.add(t);let{type:r,const:n}=t;if(r=Kv(r),typeof r!="string"){const a=Object.keys(Hv);e:for(let o=0;o<a.length;o+=1){const p=a[o],c=Hv[p];for(let d=0;d<c.length;d+=1){const E=c[d];if(Object.hasOwn(t,E)){r=p;break e}}}}if(typeof r!="string"&&n!==void 0){const a=Ck(n);r=typeof a=="string"?a:r}if(typeof r!="string"){const a=E=>{if(Array.isArray(t[E])){const x=t[E].map((k=>Fw(k,e)));return Kv(x)}return null},o=a("allOf"),p=a("anyOf"),c=a("oneOf"),d=t.not?Fw(t.not,e):null;(o||p||c||d)&&(r=Kv([o,p,c,d].filter(Boolean)))}if(typeof r!="string"&&zm(t)){const a=Rw(t),o=Ck(a);r=typeof o=="string"?o:r}return e.delete(t),r||Dw},jk=t=>Fw(t),Lw=t=>th(t)?(e=>e===!1?{not:{}}:{})(t):Ys(t)?t:{},Vm=(t,e,r={})=>{if(th(t)&&t===!0)return!0;if(th(t)&&t===!1)return!1;if(th(e)&&e===!0)return!0;if(th(e)&&e===!1)return!1;if(!Fc(t))return e;if(!Fc(e))return t;const n={...e,...t};if(e.type&&t.type&&Array.isArray(e.type)&&typeof e.type=="string"){const a=fn(e.type).concat(t.type);n.type=Array.from(new Set(a))}if(Array.isArray(e.required)&&Array.isArray(t.required)&&(n.required=[...new Set([...t.required,...e.required])]),e.properties&&t.properties){const a=new Set([...Object.keys(e.properties),...Object.keys(t.properties)]);n.properties={};for(const o of a){const p=e.properties[o]||{},c=t.properties[o]||{};p.readOnly&&!r.includeReadOnly||p.writeOnly&&!r.includeWriteOnly?n.required=(n.required||[]).filter((d=>d!==o)):n.properties[o]=Vm(c,p,r)}}return Fc(e.items)&&Fc(t.items)&&(n.items=Vm(t.items,e.items,r)),Fc(e.contains)&&Fc(t.contains)&&(n.contains=Vm(t.contains,e.contains,r)),Fc(e.contentSchema)&&Fc(t.contentSchema)&&(n.contentSchema=Vm(t.contentSchema,e.contentSchema,r)),n},Ed=Vm,io=(t,e={},r=void 0,n=!1)=>{if(t==null&&r===void 0)return;typeof t?.toJS=="function"&&(t=t.toJS()),t=Lw(t);let a=r!==void 0||zm(t);const o=!a&&Array.isArray(t.oneOf)&&t.oneOf.length>0,p=!a&&Array.isArray(t.anyOf)&&t.anyOf.length>0;if(!a&&(o||p)){const Oe=Lw(qv(o?t.oneOf:t.anyOf));!(t=Ed(t,Oe,e)).xml&&Oe.xml&&(t.xml=Oe.xml),zm(t)&&zm(Oe)&&(a=!0)}const c={};let{xml:d,properties:E,additionalProperties:x,items:k,contains:P}=t||{},R=jk(t),{includeReadOnly:L,includeWriteOnly:V}=e;d=d||{};let Q,{name:J,prefix:re,namespace:me}=d,le={};Object.hasOwn(t,"type")||(t.type=R),n&&(J=J||"notagname",Q=(re?`${re}:`:"")+J,me)&&(c[re?`xmlns:${re}`:"xmlns"]=me),n&&(le[Q]=[]);const ve=Nn(E);let be,ce=0;const _e=()=>Number.isInteger(t.maxProperties)&&t.maxProperties>0&&ce>=t.maxProperties,Ae=Oe=>!(Number.isInteger(t.maxProperties)&&t.maxProperties>0)||!_e()&&(!(je=>!Array.isArray(t.required)||t.required.length===0||!t.required.includes(je))(Oe)||t.maxProperties-ce-(()=>{if(!Array.isArray(t.required)||t.required.length===0)return 0;let je=0;return n?t.required.forEach((G=>je+=le[G]===void 0?0:1)):t.required.forEach((G=>{je+=le[Q]?.find((de=>de[G]!==void 0))===void 0?0:1})),t.required.length-je})()>0);if(be=n?(Oe,je=void 0)=>{if(t&&ve[Oe]){if(ve[Oe].xml=ve[Oe].xml||{},ve[Oe].xml.attribute){const de=Array.isArray(ve[Oe].enum)?qv(ve[Oe].enum):void 0;if(zm(ve[Oe]))c[ve[Oe].xml.name||Oe]=Rw(ve[Oe]);else if(de!==void 0)c[ve[Oe].xml.name||Oe]=de;else{const Ne=Lw(ve[Oe]),Ye=jk(Ne),ht=ve[Oe].xml.name||Oe;if(Ye==="array"){const Ct=io(ve[Oe],e,je,!1);c[ht]=Ct.map((_t=>Ai()(_t)?"UnknownTypeObject":Array.isArray(_t)?"UnknownTypeArray":_t)).join(" ")}else c[ht]=Ye==="object"?"UnknownTypeObject":Wv[Ye](Ne)}return}ve[Oe].xml.name=ve[Oe].xml.name||Oe}else ve[Oe]||x===!1||(ve[Oe]={xml:{name:Oe}});let G=io(ve[Oe],e,je,n);Ae(Oe)&&(ce++,Array.isArray(G)?le[Q]=le[Q].concat(G):le[Q].push(G))}:(Oe,je)=>{if(Ae(Oe)){if(Ai()(t.discriminator?.mapping)&&t.discriminator.propertyName===Oe&&typeof t.$$ref=="string"){for(const G in t.discriminator.mapping)if(t.$$ref.search(t.discriminator.mapping[G])!==-1){le[Oe]=G;break}}else le[Oe]=io(ve[Oe],e,je,n);ce++}},a){let Oe;if(Oe=r!==void 0?r:Rw(t),!n){if(typeof Oe=="number"&&R==="string")return`${Oe}`;if(typeof Oe!="string"||R==="string")return Oe;try{return JSON.parse(Oe)}catch{return Oe}}if(R==="array"){if(!Array.isArray(Oe)){if(typeof Oe=="string")return Oe;Oe=[Oe]}let je=[];return Ys(k)&&(k.xml=k.xml||d||{},k.xml.name=k.xml.name||d.name,je=Oe.map((G=>io(k,e,G,n)))),Ys(P)&&(P.xml=P.xml||d||{},P.xml.name=P.xml.name||d.name,je=[io(P,e,void 0,n),...je]),je=Wv.array(t,{sample:je}),d.wrapped?(le[Q]=je,Ci()(c)||le[Q].push({_attr:c})):le=je,le}if(R==="object"){if(typeof Oe=="string")return Oe;for(const je in Oe)Object.hasOwn(Oe,je)&&(ve[je]?.readOnly&&!L||ve[je]?.writeOnly&&!V||(ve[je]?.xml?.attribute?c[ve[je].xml.name||je]=Oe[je]:be(je,Oe[je])));return Ci()(c)||le[Q].push({_attr:c}),le}return le[Q]=Ci()(c)?Oe:[{_attr:c},Oe],le}if(R==="array"){let Oe=[];if(Ys(P))if(n&&(P.xml=P.xml||t.xml||{},P.xml.name=P.xml.name||d.name),Array.isArray(P.anyOf)){const{anyOf:je,...G}=k;Oe.push(...P.anyOf.map((de=>io(Ed(de,G,e),e,void 0,n))))}else if(Array.isArray(P.oneOf)){const{oneOf:je,...G}=k;Oe.push(...P.oneOf.map((de=>io(Ed(de,G,e),e,void 0,n))))}else{if(!(!n||n&&d.wrapped))return io(P,e,void 0,n);Oe.push(io(P,e,void 0,n))}if(Ys(k))if(n&&(k.xml=k.xml||t.xml||{},k.xml.name=k.xml.name||d.name),Array.isArray(k.anyOf)){const{anyOf:je,...G}=k;Oe.push(...k.anyOf.map((de=>io(Ed(de,G,e),e,void 0,n))))}else if(Array.isArray(k.oneOf)){const{oneOf:je,...G}=k;Oe.push(...k.oneOf.map((de=>io(Ed(de,G,e),e,void 0,n))))}else{if(!(!n||n&&d.wrapped))return io(k,e,void 0,n);Oe.push(io(k,e,void 0,n))}return Oe=Wv.array(t,{sample:Oe}),n&&d.wrapped?(le[Q]=Oe,Ci()(c)||le[Q].push({_attr:c}),le):Oe}if(R==="object"){for(let Oe in ve)Object.hasOwn(ve,Oe)&&(ve[Oe]?.deprecated||ve[Oe]?.readOnly&&!L||ve[Oe]?.writeOnly&&!V||be(Oe));if(n&&c&&le[Q].push({_attr:c}),_e())return le;if(th(x)&&x)n?le[Q].push({additionalProp:"Anything can be here"}):le.additionalProp1={},ce++;else if(Ys(x)){const Oe=x,je=io(Oe,e,void 0,n);if(n&&typeof Oe?.xml?.name=="string"&&Oe?.xml?.name!=="notagname")le[Q].push(je);else{const G=Oe?.["x-additionalPropertiesName"]||"additionalProp",de=Number.isInteger(t.minProperties)&&t.minProperties>0&&ce<t.minProperties?t.minProperties-ce:3;for(let Ne=1;Ne<=de;Ne++){if(_e())return le;if(n){const Ye={};Ye[G+Ne]=je.notagname,le[Q].push(Ye)}else le[G+Ne]=je;ce++}}}return le}let xe;if(t.const!==void 0)xe=t.const;else if(t&&Array.isArray(t.enum))xe=qv(fn(t.enum));else{const Oe=Ys(t.contentSchema)?io(t.contentSchema,e,void 0,n):void 0;xe=Wv[R](t,{sample:Oe})}return n?(le[Q]=Ci()(c)?xe:[{_attr:c},xe],le):xe},Pk=(t,e,r)=>{const n=io(t,e,r,!0);if(n)return typeof n=="string"?n:xp()(n,{declaration:!0,indent:" "})},Nk=(t,e,r)=>io(t,e,r,!1),Tk=(t,e,r)=>[t,JSON.stringify(e),JSON.stringify(r)],Gq=gu(Pk,Tk),Yq=gu(Nk,Tk),Ik=new class extends Uv{#e={};data={...this.#e};get defaults(){return{...this.#e}}},Xq=(t,e)=>(e!==void 0&&Ik.register(t,e),Ik.get(t)),Qq=[{when:/json/,shouldStringifyTypes:["string"]}],Zq=["object"],eU=t=>(e,r,n,a)=>{const{fn:o}=t(),p=o.jsonSchema202012.memoizedSampleFromSchema(e,r,a),c=typeof p,d=Qq.reduce(((E,x)=>x.when.test(n)?[...E,...x.shouldStringifyTypes]:E),Zq);return Wr()(d,(E=>E===c))?JSON.stringify(p,null,2):p},tU=t=>(e,r,n,a)=>{const{fn:o}=t(),p=o.jsonSchema202012.getJsonSampleSchema(e,r,n,a);let c;try{c=Pe.dump(Pe.load(p),{lineWidth:-1},{schema:Rt}),c[c.length-1]===`
`&&(c=c.slice(0,c.length-1))}catch(d){return console.error(d),"error: could not generate yaml example"}return c.replace(/\t/g," ")},rU=t=>(e,r,n)=>{const{fn:a}=t();if(e&&!e.xml&&(e.xml={}),e&&!e.xml.name){if(!e.$$ref&&(e.type||e.items||e.properties||e.additionalProperties))return`<?xml version="1.0" encoding="UTF-8"?>
<!-- XML example cannot be generated; root element name is undefined -->`;if(e.$$ref){let o=e.$$ref.match(/\S*\/(\S+)$/);e.xml.name=o[1]}}return a.jsonSchema202012.memoizedCreateXMLExample(e,r,n)},nU=t=>(e,r="",n={},a=void 0)=>{const{fn:o}=t();return typeof e?.toJS=="function"&&(e=e.toJS()),typeof a?.toJS=="function"&&(a=a.toJS()),/xml/.test(r)?o.jsonSchema202012.getXmlSampleSchema(e,n,a):/(yaml|yml)/.test(r)?o.jsonSchema202012.getYamlSampleSchema(e,n,r,a):o.jsonSchema202012.getJsonSampleSchema(e,n,r,a)},Mk=({getSystem:t})=>{const e=eU(t),r=tU(t),n=rU(t),a=nU(t);return{fn:{jsonSchema202012:{sampleFromSchema:Nk,sampleFromSchemaGeneric:io,sampleOptionAPI:Xq,sampleEncoderAPI:xk,sampleFormatAPI:Vv,sampleMediaTypeAPI:Ok,createXMLExample:Pk,memoizedSampleFromSchema:Yq,memoizedCreateXMLExample:Gq,getJsonSampleSchema:e,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:a,mergeJsonSchema:Ed,foldType:Kv}}}};function Rk(){return[nO,Aw,vk,Mk,fB,WB]}const aU=t=>()=>({fn:t.fn,components:t.components}),oU=t=>{const e=ct()({layout:{layout:t.layout,filter:t.filter},spec:{spec:"",url:t.url},requestSnippets:t.requestSnippets},t.initialState);if(t.initialState)for(const[r,n]of Object.entries(t.initialState))n===void 0&&delete e[r];return{system:{configs:t.configs},plugins:t.presets,state:e}},iU=()=>t=>{const e=t.queryConfigEnabled?(()=>{const r=new URLSearchParams(Qe.location.search);return Object.fromEntries(r)})():{};return Object.entries(e).reduce(((r,[n,a])=>(n==="config"?r.configUrl=a:n==="urls.primaryName"?r[n]=a:r=pn()(r,n,a),r)),{})},sU=({url:t,system:e})=>async r=>{if(!t)return{};if(typeof e.configsActions?.getConfigByUrl!="function")return{};const n=(()=>{const a={};return a.promise=new Promise(((o,p)=>{a.resolve=o,a.reject=p})),a})();return e.configsActions.getConfigByUrl({url:t,loadRemoteConfig:!0,requestInterceptor:r.requestInterceptor,responseInterceptor:r.responseInterceptor},(a=>{n.resolve(a)})),n.promise},lU=()=>()=>{const t={};return globalThis.location&&(t.oauth2RedirectUrl=`${globalThis.location.protocol}//${globalThis.location.host}${globalThis.location.pathname.substring(0,globalThis.location.pathname.lastIndexOf("/"))}/oauth2-redirect.html`),t},Xn=Object.freeze({dom_id:null,domNode:null,spec:{},url:"",urls:null,configUrl:null,layout:"BaseLayout",docExpansion:"list",maxDisplayedTags:-1,filter:!1,validatorUrl:"https://validator.swagger.io/validator",oauth2RedirectUrl:void 0,persistAuthorization:!1,configs:{},displayOperationId:!1,displayRequestDuration:!1,deepLinking:!1,tryItOutEnabled:!1,requestInterceptor:t=>(t.curlOptions=[],t),responseInterceptor:t=>t,showMutatedRequest:!0,defaultModelRendering:"example",defaultModelExpandDepth:1,defaultModelsExpandDepth:1,showExtensions:!1,showCommonExtensions:!1,withCredentials:!1,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:[Rk],plugins:[],initialState:{},fn:{},components:{},syntaxHighlight:{activated:!0,theme:"agate"},operationsSorter:null,tagsSorter:null,onComplete:null,modelPropertyMacro:null,parameterMacro:null,fileUploadMediaTypes:["application/octet-stream","image/","audio/","video/"],uncaughtExceptionHandler:null});var cU=Be(61448),uU=Be.n(cU),pU=Be(77731),hU=Be.n(pU);const Gv=(t,e=[])=>Array.isArray(t)?t:e,us=(t,e=!1)=>t===!0||t==="true"||t===1||t==="1"||t!==!1&&t!=="false"&&t!==0&&t!=="0"&&e,dU=t=>t===null||t==="null"?null:t,fU=t=>{const e=String(t);return us(t,e)},Dk=(t,e)=>typeof t=="function"?t:e,mU=t=>Array.isArray(t)?t:null,Yv=t=>typeof t=="function"?t:null,$w=t=>t===null||t==="null"?null:String(t),Bw=(t,e=-1)=>{const r=parseInt(t,10);return Number.isNaN(r)?e:r},Sd=(t,e={})=>Ai()(t)?t:e,Fk=t=>typeof t=="function"||typeof t=="string"?t:null,xd=t=>String(t),gU=(t,e)=>Ai()(t)?t:t===!1||t==="false"||t===0||t==="0"?{activated:!1}:e,yU=t=>t===void 0||t==="undefined"?void 0:String(t),Lk={components:{typeCaster:Sd},configs:{typeCaster:Sd},configUrl:{typeCaster:$w},deepLinking:{typeCaster:us,defaultValue:Xn.deepLinking},defaultModelExpandDepth:{typeCaster:Bw,defaultValue:Xn.defaultModelExpandDepth},defaultModelRendering:{typeCaster:xd},defaultModelsExpandDepth:{typeCaster:Bw,defaultValue:Xn.defaultModelsExpandDepth},displayOperationId:{typeCaster:us,defaultValue:Xn.displayOperationId},displayRequestDuration:{typeCaster:us,defaultValue:Xn.displayRequestDuration},docExpansion:{typeCaster:xd},dom_id:{typeCaster:$w},domNode:{typeCaster:dU},fileUploadMediaTypes:{typeCaster:Gv,defaultValue:Xn.fileUploadMediaTypes},filter:{typeCaster:fU},fn:{typeCaster:Sd},initialState:{typeCaster:Sd},layout:{typeCaster:xd},maxDisplayedTags:{typeCaster:Bw,defaultValue:Xn.maxDisplayedTags},modelPropertyMacro:{typeCaster:Yv},oauth2RedirectUrl:{typeCaster:yU},onComplete:{typeCaster:Yv},operationsSorter:{typeCaster:Fk},paramaterMacro:{typeCaster:Yv},persistAuthorization:{typeCaster:us,defaultValue:Xn.persistAuthorization},plugins:{typeCaster:Gv,defaultValue:Xn.plugins},presets:{typeCaster:Gv,defaultValue:Xn.presets},requestInterceptor:{typeCaster:Dk,defaultValue:Xn.requestInterceptor},requestSnippets:{typeCaster:Sd,defaultValue:Xn.requestSnippets},requestSnippetsEnabled:{typeCaster:us,defaultValue:Xn.requestSnippetsEnabled},responseInterceptor:{typeCaster:Dk,defaultValue:Xn.responseInterceptor},showCommonExtensions:{typeCaster:us,defaultValue:Xn.showCommonExtensions},showExtensions:{typeCaster:us,defaultValue:Xn.showExtensions},showMutatedRequest:{typeCaster:us,defaultValue:Xn.showMutatedRequest},spec:{typeCaster:Sd,defaultValue:Xn.spec},supportedSubmitMethods:{typeCaster:Gv,defaultValue:Xn.supportedSubmitMethods},syntaxHighlight:{typeCaster:gU,defaultValue:Xn.syntaxHighlight},"syntaxHighlight.activated":{typeCaster:us,defaultValue:Xn.syntaxHighlight.activated},"syntaxHighlight.theme":{typeCaster:xd},tagsSorter:{typeCaster:Fk},tryItOutEnabled:{typeCaster:us,defaultValue:Xn.tryItOutEnabled},url:{typeCaster:xd},urls:{typeCaster:mU},"urls.primaryName":{typeCaster:xd},validatorUrl:{typeCaster:$w},withCredentials:{typeCaster:us,defaultValue:Xn.withCredentials},uncaughtExceptionHandler:{typeCaster:Yv}},$k=t=>Object.entries(Lk).reduce(((e,[r,{typeCaster:n,defaultValue:a}])=>{if(uU()(e,r)){const o=n(Cn()(e,r),a);e=hU()(r,o,e)}return e}),{...t}),vU=(t,...e)=>{let r=Symbol.for("domNode"),n=Symbol.for("primaryName");const a=[];for(const p of e){const c={...p};Object.hasOwn(c,"domNode")&&(r=c.domNode,delete c.domNode),Object.hasOwn(c,"urls.primaryName")?(n=c["urls.primaryName"],delete c["urls.primaryName"]):Array.isArray(c.urls)&&Object.hasOwn(c.urls,"primaryName")&&(n=c.urls.primaryName,delete c.urls.primaryName),a.push(c)}const o=ct()(t,...a);return r!==Symbol.for("domNode")&&(o.domNode=r),n!==Symbol.for("primaryName")&&Array.isArray(o.urls)&&(o.urls.primaryName=n),$k(o)};function Vu(t){const e=iU()(t),r=lU()(),n=Vu.config.merge({},Vu.config.defaults,r,t,e),a=oU(n),o=aU(n),p=new Xl(a);p.register([n.plugins,o]);const c=p.getSystem(),d=k=>{p.setConfigs(k),c.configsActions.loaded()},E=k=>{!e.url&&typeof k.spec=="object"&&Object.keys(k.spec).length>0?(c.specActions.updateUrl(""),c.specActions.updateLoadingStatus("success"),c.specActions.updateSpec(JSON.stringify(k.spec))):typeof c.specActions.download=="function"&&k.url&&!k.urls&&(c.specActions.updateUrl(k.url),c.specActions.download(k.url))},x=k=>{if(k.domNode)c.render(k.domNode,"App");else if(k.dom_id){const P=document.querySelector(k.dom_id);c.render(P,"App")}else k.dom_id===null||k.domNode===null||console.error("Skipped rendering: no `dom_id` or `domNode` was specified")};return n.configUrl?((async()=>{const{configUrl:k}=n,P=await sU({url:k,system:c})(n),R=Vu.config.merge({},n,P,e);d(R),P!==null&&E(R),x(R)})(),c):(d(n),E(n),x(n),c)}Vu.System=Xl,Vu.config={defaults:Xn,merge:vU,typeCast:$k,typeCastMappings:Lk},Vu.presets={base:nO,apis:Rk},Vu.plugins={Accessibility:Zl,Auth:Ss,Configs:Nd,DeepLining:up,Err:sh,Filter:Id,Icons:pp,JSONSchema5:Yd,JSONSchema5Samples:Ah,JSONSchema202012:vk,JSONSchema202012Samples:Mk,Layout:Fd,Logs:uh,OpenAPI30:Aw,OpenAPI31:Aw,OnComplete:Ld,RequestSnippets:Ol,Spec:ey,SwaggerClient:fx,Util:mx,View:Nx,ViewLegacy:Tx,DownloadUrl:Ix,SyntaxHighlighting:Hx,Versions:Kx,SafeRender:Xx};const bU=Vu})(),Qw.exports=Cd.default})()),Qw.exports}var qU=BU();const UU=$U(qU),zU={class:"openapi-head"},VU={style:{margin:"0","font-size":"19px"}},JU={class:"hint",style:{margin:"0"}},WU={key:0,class:"card empty",style:{"margin-top":"14px"}},HU={style:{"font-weight":"600",color:"var(--c-text)"}},KU={class:"hint",style:{"max-width":"460px",margin:"0 auto"}},Zw="swagger-ui-container",GU=jU({__name:"OpenApiView",setup(eE){const{t:hs}=PU(),Be=rA("loading"),Cd=rA(!1),w=nA(()=>Cd.value?hs("openapi.sourceEmbedded"):Xw()||"/docs/openapi.yaml");NU(()=>{try{let s;oA?(Cd.value=!0,s=URL.createObjectURL(new Blob([oA],{type:"application/yaml"}))):s=Xw()||"/docs/openapi.yaml",UU({dom_id:`#${Zw}`,url:s,deepLinking:!0,docExpansion:"list",tryItOutEnabled:!0,onComplete:()=>Be.value="ok",onFailure:()=>Be.value="error"}),setTimeout(()=>{if(Be.value==="loading"){const h=document.querySelector(`#${Zw} .opblock`);Be.value=h?"ok":"error"}},6e3)}catch{Be.value="error"}});const N=nA(()=>Be.value==="ok"?hs("openapi.statusOk"):Be.value==="error"?hs("openapi.statusError"):hs("openapi.statusLoading"));return(s,h)=>(aA(),TU(LU,null,{default:IU(()=>[Lc("div",zU,[Lc("h2",VU,Km(Gm(hs)("openapi.title")),1),Lc("span",{class:MU(["badge",Be.value==="ok"?"badge-success":Be.value==="error"?"badge-danger":"badge-muted"])},Km(N.value),3),Lc("span",JU,Km(Gm(hs)("openapi.source",{source:w.value})),1)]),Be.value==="error"?(aA(),RU("div",WU,[h[0]||(h[0]=Lc("div",{class:"empty-icon"},"🧾",-1)),Lc("p",HU,Km(Gm(hs)("openapi.notAvailable")),1),Lc("p",KU,Km(Gm(hs)("openapi.notAvailableHint",{url:Gm(Xw)()||"/docs/openapi.yaml"})),1)])):DU("",!0),Lc("div",{class:"card openapi-wrap",style:{padding:"0",overflow:"hidden"}},[Lc("div",{id:Zw})])]),_:1}))}}),oH=FU(GU,[["__scopeId","data-v-0a44808c"]]);export{oH as default};