17 lines
1.2 MiB
17 lines
1.2 MiB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.SwaggerUIBundle=t():e.SwaggerUIBundle=t()}(this,()=>{var o,i,r={69119:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BLANK_URL=t.relativeFirstCharacters=t.whitespaceEscapeCharsRegex=t.urlSchemeRegex=t.ctrlCharactersRegex=t.htmlCtrlEntityRegex=t.htmlEntitiesRegex=t.invalidProtocolRegex=void 0,t.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,t.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,t.htmlCtrlEntityRegex=/&(newline|tab);/gi,t.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,t.urlSchemeRegex=/^.+(:|:)/gim,t.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,t.relativeFirstCharacters=[".","/"],t.BLANK_URL="about:blank"},16750:(e,t,r)=>{"use strict";t.J=void 0;var s=r(69119);function o(t){try{return decodeURIComponent(t)}catch(e){return t}}t.J=function(e){if(!e)return s.BLANK_URL;for(var t,r=o(e);(t=(r=o(r=r.replace(s.ctrlCharactersRegex,"").replace(s.htmlEntitiesRegex,function(e,t){return String.fromCharCode(t)}).replace(s.htmlCtrlEntityRegex,"").replace(s.ctrlCharactersRegex,"").replace(s.whitespaceEscapeCharsRegex,"").trim())).match(s.ctrlCharactersRegex)||r.match(s.htmlEntitiesRegex)||r.match(s.htmlCtrlEntityRegex)||r.match(s.whitespaceEscapeCharsRegex))&&0<t.length;);e=r;if(!e)return s.BLANK_URL;if(-1<s.relativeFirstCharacters.indexOf(e[0]))return e;var n=e.match(s.urlSchemeRegex);if(!n)return e;n=n[0];return s.invalidProtocolRegex.test(n)?s.BLANK_URL:e}},67526:(e,t)=>{"use strict";t.byteLength=function(e){var e=u(e),t=e[0],e=e[1];return 3*(t+e)/4-e},t.toByteArray=function(e){for(var t,r=u(e),n=r[0],r=r[1],s=new c(3*(n+r)/4-r),o=0,i=0<r?n-4:n,a=0;a<i;a+=4)t=l[e.charCodeAt(a)]<<18|l[e.charCodeAt(a+1)]<<12|l[e.charCodeAt(a+2)]<<6|l[e.charCodeAt(a+3)],s[o++]=t>>16&255,s[o++]=t>>8&255,s[o++]=255&t;return 2===r&&(t=l[e.charCodeAt(a)]<<2|l[e.charCodeAt(a+1)]>>4,s[o++]=255&t),1===r&&(t=l[e.charCodeAt(a)]<<10|l[e.charCodeAt(a+1)]<<4|l[e.charCodeAt(a+2)]>>2,s[o++]=t>>8&255,s[o++]=255&t),s},t.fromByteArray=function(e){for(var t,r=e.length,n=r%3,s=[],o=0,i=r-n;o<i;o+=16383)s.push(function(e,t,r){for(var n,s=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),s.push(a[(n=n)>>18&63]+a[n>>12&63]+a[n>>6&63]+a[63&n]);return s.join("")}(e,o,i<o+16383?i:o+16383));return 1==n?(t=e[r-1],s.push(a[t>>2]+a[t<<4&63]+"==")):2==n&&(t=(e[r-2]<<8)+e[r-1],s.push(a[t>>10]+a[t>>4&63]+a[t<<2&63]+"=")),s.join("")};for(var a=[],l=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0;n<64;++n)a[n]=r[n],l[r.charCodeAt(n)]=n;function u(e){var t=e.length;if(0<t%4)throw new Error("Invalid string. Length must be a multiple of 4");e=e.indexOf("=");return[e=-1===e?t:e,e===t?0:4-e%4]}l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63},48287:(D,r,e)=>{"use strict";const g=e(67526),o=e(251),t="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null,n=(r.Buffer=u,r.SlowBuffer=function(e){return u.alloc(+(e=+e!=e?0:e))},r.INSPECT_MAX_BYTES=50,2147483647);function c(e){if(e>n)throw new RangeError('The value "'+e+'" is invalid for option "size"');e=new Uint8Array(e);return Object.setPrototypeOf(e,u.prototype),e}function u(e,t,r){if("number"!=typeof e)return s(e,t,r);if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return a(e)}function s(t,r,e){if("string"==typeof t){var n=t,s=r;if(!u.isEncoding(s="string"==typeof s&&""!==s?s:"utf8"))throw new TypeError("Unknown encoding: "+s);var o=0|f(n,s);let e=c(o);return n=e.write(n,s),e=n!==o?e.slice(0,n):e}if(ArrayBuffer.isView(t))return T(s=t,Uint8Array)?h((o=new Uint8Array(s)).buffer,o.byteOffset,o.byteLength):p(s);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(T(t,ArrayBuffer)||t&&T(t.buffer,ArrayBuffer))return h(t,r,e);if("undefined"!=typeof SharedArrayBuffer&&(T(t,SharedArrayBuffer)||t&&T(t.buffer,SharedArrayBuffer)))return h(t,r,e);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return u.from(n,r,e);var i,a,l=u.isBuffer(i=t)?(0!==(a=c(l=0|d(i.length))).length&&i.copy(a,0,0,l),a):void 0!==i.length?"number"!=typeof i.length||M(i.length)?c(0):p(i):"Buffer"===i.type&&Array.isArray(i.data)?p(i.data):void 0;if(l)return l;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return u.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function i(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function a(e){return i(e),c(e<0?0:0|d(e))}function p(t){const r=t.length<0?0:0|d(t.length),n=c(r);for(let e=0;e<r;e+=1)n[e]=255&t[e];return n}function h(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');e=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r);return Object.setPrototypeOf(e,u.prototype),e}function d(e){if(e>=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return 0|e}function f(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||T(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=2<arguments.length&&!0===arguments[2];if(!n&&0===r)return 0;let s=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return q(e).length;default:if(s)return n?-1:N(e).length;t=(""+t).toLowerCase(),s=!0}}function L(e,r,n){let t=!1;if((r=void 0===r||r<0?0:r)>this.length)return"";if((n=void 0===n||n>this.length?this.length:n)<=0)return"";if((n>>>=0)<=(r>>>=0))return"";for(e=e||"utf8";;)switch(e){case"hex":{var s=this;var o=r;var i=n;var a=s.length;(!o||o<0)&&(o=0),(!i||i<0||a<i)&&(i=a);let t="";for(let e=o;e<i;++e)t+=U[s[e]];return t;return}case"utf8":case"utf-8":return v(this,r,n);case"ascii":{var l=this;a=r;var c=n;let t="";c=Math.min(l.length,c);for(let e=a;e<c;++e)t+=String.fromCharCode(127&l[e]);return t;return}case"latin1":case"binary":{var u=this;o=r;var p=n;let t="";p=Math.min(u.length,p);for(let e=o;e<p;++e)t+=String.fromCharCode(u[e]);return t;return}case"base64":return d=this,m=n,0===(f=r)&&m===d.length?g.fromByteArray(d):g.fromByteArray(d.slice(f,m));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":{d=this;f=r;m=n;var h=d.slice(f,m);let t="";for(let e=0;e<h.length-1;e+=2)t+=String.fromCharCode(h[e]+256*h[e+1]);return t;return}default:if(t)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),t=!0}var d,f,m}function l(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function m(e,t,r,n,s){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):2147483647<r?r=2147483647:r<-2147483648&&(r=-2147483648),(r=(r=M(r=+r)?s?0:e.length-1:r)<0?e.length+r:r)>=e.length){if(s)return-1;r=e.length-1}else if(r<0){if(!s)return-1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,s);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?(s?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(e,t,r):y(e,[t],r,n,s);throw new TypeError("val must be string, number or Buffer")}function y(r,n,t,e,s){let o,i=1,a=r.length,l=n.length;if(void 0!==e&&("ucs2"===(e=String(e).toLowerCase())||"ucs-2"===e||"utf16le"===e||"utf-16le"===e)){if(r.length<2||n.length<2)return-1;i=2,a/=2,l/=2,t/=2}function c(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(s){let e=-1;for(o=t;o<a;o++)if(c(r,o)===c(n,-1===e?0:o-e)){if(-1===e&&(e=o),o-e+1===l)return e*i}else-1!==e&&(o-=o-e),e=-1}else for(t+l>a&&(t=a-l),o=t;0<=o;o--){let t=!0;for(let e=0;e<l;e++)if(c(r,o+e)!==c(n,e)){t=!1;break}if(t)return o}return-1}function v(i,a,e){e=Math.min(i.length,e);const r=[];let l=a;for(;l<e;){const a=i[l];let s=null,o=239<a?4:223<a?3:191<a?2:1;if(l+o<=e){let e,t,r,n;switch(o){case 1:a<128&&(s=a);break;case 2:128==(192&(e=i[l+1]))&&(127<(n=(31&a)<<6|63&e)&&(s=n));break;case 3:e=i[l+1],t=i[l+2],128==(192&e)&&128==(192&t)&&(2047<(n=(15&a)<<12|(63&e)<<6|63&t)&&(n<55296||57343<n)&&(s=n));break;case 4:e=i[l+1],t=i[l+2],r=i[l+3],128==(192&e)&&128==(192&t)&&128==(192&r)&&(65535<(n=(15&a)<<18|(63&e)<<12|(63&t)<<6|63&r)&&n<1114112&&(s=n))}}null===s?(s=65533,o=1):65535<s&&(s-=65536,r.push(s>>>10&1023|55296),s=56320|1023&s),r.push(s),l+=o}{var n=r,s=n.length;if(s<=b)return String.fromCharCode.apply(String,n);let e="",t=0;for(;t<s;)e+=String.fromCharCode.apply(String,n.slice(t,t+=b));return e}}r.kMaxLength=n,(u.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}())||"undefined"==typeof console||"function"!=typeof console.error||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(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=s,Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,r){return t=t,r=r,i(e=e),!(e<=0)&&void 0!==t?"string"==typeof r?c(e).fill(t,r):c(e).fill(t):c(e)},u.allocUnsafe=a,u.allocUnsafeSlow=a,u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(r,n){if(T(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),T(n,Uint8Array)&&(n=u.from(n,n.offset,n.byteLength)),!u.isBuffer(r)||!u.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===n)return 0;let s=r.length,o=n.length;for(let e=0,t=Math.min(s,o);e<t;++e)if(r[e]!==n[e]){s=r[e],o=n[e];break}return s<o?-1:o<s?1:0},u.isEncoding=function(e){switch(String(e).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}},u.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);let r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=u.allocUnsafe(e);let s=0;for(r=0;r<t.length;++r){let e=t[r];if(T(e,Uint8Array))s+e.length>n.length?(e=u.isBuffer(e)?e:u.from(e)).copy(n,s):Uint8Array.prototype.set.call(n,e,s);else{if(!u.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(n,s)}s+=e.length}return n},u.byteLength=f,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)l(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)l(this,e,e+3),l(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)l(this,e,e+7),l(this,e+1,e+6),l(this,e+2,e+5),l(this,e+3,e+4);return this},u.prototype.toLocaleString=u.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?v(this,0,e):L.apply(this,arguments)},u.prototype.equals=function(e){if(u.isBuffer(e))return this===e||0===u.compare(this,e);throw new TypeError("Argument must be a Buffer")},u.prototype.inspect=function(){let e="";var t=r.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},t&&(u.prototype[t]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,s){if(T(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===s&&(s=this.length),(t=void 0===t?0:t)<0||r>e.length||n<0||s>this.length)throw new RangeError("out of range index");if(s<=n&&r<=t)return 0;if(s<=n)return-1;if(r<=t)return 1;if(this===e)return 0;let o=(s>>>=0)-(n>>>=0),i=(r>>>=0)-(t>>>=0);var a=Math.min(o,i),l=this.slice(n,s),c=e.slice(t,r);for(let e=0;e<a;++e)if(l[e]!==c[e]){o=l[e],i=c[e];break}return o<i?-1:i<o?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return m(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return m(this,e,t,r,!1)},u.prototype.write=function(t,r,n,e){if(void 0===r)e="utf8",n=this.length,r=0;else if(void 0===n&&"string"==typeof r)e=r,n=this.length,r=0;else{if(!isFinite(r))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");r>>>=0,isFinite(n)?(n>>>=0,void 0===e&&(e="utf8")):(e=n,n=void 0)}var s,o,i,a,l,c,u=this.length-r;if((void 0===n||u<n)&&(n=u),0<t.length&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");e=e||"utf8";let p=!1;for(;;)switch(e){case"hex":{var h=this;var d=t;var f=r;var m=n;f=Number(f)||0;var g=h.length-f,g=((!m||(m=Number(m))>g)&&(m=g),d.length);let e;for(g/2<m&&(m=g/2),e=0;e<m;++e){const m=parseInt(d.substr(2*e,2),16);if(M(m))return e;h[f+e]=m}return e;return}case"utf8":case"utf-8":return g=r,c=n,I(N(t,(l=this).length-g),l,g,c);case"ascii":case"latin1":case"binary":return l=this,c=r,a=n,I(function(t){const r=[];for(let e=0;e<t.length;++e)r.push(255&t.charCodeAt(e));return r}(t),l,c,a);case"base64":return a=this,o=r,i=n,I(q(t),a,o,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o=r,i=n,I(function(t,r){var n,s;const o=[];for(let e=0;e<t.length&&!((r-=2)<0);++e)s=(n=t.charCodeAt(e))>>8,o.push(n%256),o.push(s);return o}(t,(s=this).length-o),s,o,i);default:if(p)throw new TypeError("Unknown encoding: "+e);e=(""+e).toLowerCase(),p=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const b=4096;function w(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(r<e+t)throw new RangeError("Trying to access beyond buffer length")}function E(e,t,r,n,s,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(s<t||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function x(e,t,r,n,s){B(t,n,s,e,r,7);n=Number(t&BigInt(4294967295)),e[r++]=n,e[r++]=n>>=8,e[r++]=n>>=8,e[r++]=n>>=8,s=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=s,e[r++]=s>>=8,e[r++]=s>>=8,e[r++]=s>>=8,r}function S(e,t,r,n,s){B(t,n,s,e,r,7);n=Number(t&BigInt(4294967295)),e[r+7]=n,e[r+6]=n>>=8,e[r+5]=n>>=8,e[r+4]=n>>=8,s=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=s,e[r+2]=s>>=8,e[r+1]=s>>=8,e[r]=s>>=8,r+8}function _(e,t,r,n){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function k(e,t,r,n,s){return t=+t,r>>>=0,s||_(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function A(e,t,r,n,s){return t=+t,r>>>=0,s||_(e,0,r,8),o.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r=this.length,r=((e=~~e)<0?(e+=r)<0&&(e=0):r<e&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):r<t&&(t=r),t<e&&(t=e),this.subarray(e,t));return Object.setPrototypeOf(r,u.prototype),r},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e],s=1,o=0;for(;++o<t&&(s*=256);)n+=this[e+o]*s;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e+--t],s=1;for(;0<t&&(s*=256);)n+=this[e+--t]*s;return n},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=R(function(e){j(e>>>=0,"offset");var t=this[e],r=this[e+7],t=(void 0!==t&&void 0!==r||P(e,this.length-8),t+256*this[++e]+65536*this[++e]+this[++e]*2**24),e=this[++e]+256*this[++e]+65536*this[++e]+r*2**24;return BigInt(t)+(BigInt(e)<<BigInt(32))}),u.prototype.readBigUInt64BE=R(function(e){j(e>>>=0,"offset");var t=this[e],r=this[e+7],t=(void 0!==t&&void 0!==r||P(e,this.length-8),t*2**24+65536*this[++e]+256*this[++e]+this[++e]),e=this[++e]*2**24+65536*this[++e]+256*this[++e]+r;return(BigInt(t)<<BigInt(32))+BigInt(e)}),u.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e],s=1,o=0;for(;++o<t&&(s*=256);)n+=this[e+o]*s;return s*=128,n>=s&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=t,s=1,o=this[e+--n];for(;0<n&&(s*=256);)o+=this[e+--n]*s;return s*=128,o>=s&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);t=this[e]|this[e+1]<<8;return 32768&t?4294901760|t:t},u.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);t=this[e+1]|this[e]<<8;return 32768&t?4294901760|t:t},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=R(function(e){j(e>>>=0,"offset");var t=this[e],r=this[e+7],r=(void 0!==t&&void 0!==r||P(e,this.length-8),this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24));return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)}),u.prototype.readBigInt64BE=R(function(e){j(e>>>=0,"offset");var t=this[e],r=this[e+7],t=(void 0!==t&&void 0!==r||P(e,this.length-8),(t<<24)+65536*this[++e]+256*this[++e]+this[++e]);return(BigInt(t)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+r)}),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||E(this,e,t,r,Math.pow(2,8*r)-1,0);let s=1,o=0;for(this[t]=255&e;++o<r&&(s*=256);)this[t+o]=e/s&255;return t+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||E(this,e,t,r,Math.pow(2,8*r)-1,0);let s=r-1,o=1;for(this[t+s]=255&e;0<=--s&&(o*=256);)this[t+s]=e/o&255;return t+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=R(function(e,t=0){return x(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=R(function(e,t=0){return S(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);E(this,e,t,r,n-1,-n)}let s=0,o=1,i=0;for(this[t]=255&e;++s<r&&(o*=256);)e<0&&0===i&&0!==this[t+s-1]&&(i=1),this[t+s]=(e/o|0)-i&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);E(this,e,t,r,n-1,-n)}let s=r-1,o=1,i=0;for(this[t+s]=255&e;0<=--s&&(o*=256);)e<0&&0===i&&0!==this[t+s+1]&&(i=1),this[t+s]=(e/o|0)-i&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,127,-128),this[t]=255&(e=e<0?255+e+1:e),t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),this[t]=(e=e<0?4294967295+e+1:e)>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=R(function(e,t=0){return x(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=R(function(e,t=0){return S(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeFloatLE=function(e,t,r){return k(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return k(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return A(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return A(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r=r||0,n||0===n||(n=this.length),t>=e.length&&(t=e.length),(n=0<n&&n<r?r:n)===r)return 0;if(0===e.length||0===this.length)return 0;if((t=t||0)<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length);var s=(n=e.length-t<n-r?e.length-t+r:n)-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),s},u.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){const t=e.charCodeAt(0);("utf8"===n&&t<128||"latin1"===n)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;let s;if(t>>>=0,r=void 0===r?this.length:r>>>0,"number"==typeof(e=e||0))for(s=t;s<r;++s)this[s]=e;else{var o=u.isBuffer(e)?e:u.from(e,n),i=o.length;if(0===i)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<r-t;++s)this[s+t]=o[s%i]}return this};const O={};function C(e,t,r){O[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=this.name+` [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return this.name+` [${e}]: `+this.message}}}function F(e){let t="",r=e.length;for(var n="-"===e[0]?1:0;r>=4+n;r-=3)t="_"+e.slice(r-3,r)+t;return""+e.slice(0,r)+t}function B(e,t,r,n,s,o){if(r<e||e<t){const n="bigint"==typeof t?"n":"";t=3<o?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** `+8*(o+1)+n:`>= -(2${n} ** ${8*(o+1)-1}${n}) and < 2 ** `+(8*(o+1)-1)+n:`>= ${t}${n} and <= `+r+n;throw new O.ERR_OUT_OF_RANGE("value",t,e)}r=n,t=o,j(e=s,"offset"),void 0!==r[e]&&void 0!==r[e+t]||P(e,r.length-(t+1))}function j(e,t){if("number"!=typeof e)throw new O.ERR_INVALID_ARG_TYPE(t,"number",e)}function P(e,t,r){if(Math.floor(e)!==e)throw j(e,r),new O.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new O.ERR_BUFFER_OUT_OF_BOUNDS;throw new O.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= `+t,e)}C("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?e+" is outside of buffer bounds":"Attempt to access memory outside buffer bounds"},RangeError),C("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type `+typeof t},TypeError),C("ERR_OUT_OF_RANGE",function(e,t,r){let n=`The value of "${e}" is out of range.`,s=r;return Number.isInteger(r)&&Math.abs(r)>2**32?s=F(String(r)):"bigint"==typeof r&&(s=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(s=F(s)),s+="n"),n+=` It must be ${t}. Received `+s},RangeError);const $=/[^+/0-9A-Za-z-_]/g;function N(t,r){let n;r=r||1/0;var s=t.length;let o=null;const i=[];for(let e=0;e<s;++e){if(55295<(n=t.charCodeAt(e))&&n<57344){if(!o){if(56319<n){-1<(r-=3)&&i.push(239,191,189);continue}if(e+1===s){-1<(r-=3)&&i.push(239,191,189);continue}o=n;continue}if(n<56320){-1<(r-=3)&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&-1<(r-=3)&&i.push(239,191,189);if(o=null,n<128){if(--r<0)break;i.push(n)}else if(n<2048){if((r-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((r-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((r-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function q(e){return g.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace($,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function I(e,t,r,n){let s;for(s=0;s<n&&!(s+r>=t.length||s>=e.length);++s)t[s+r]=e[s];return s}function T(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function M(e){return e!=e}const U=function(){const r="0123456789abcdef",n=new Array(256);for(let t=0;t<16;++t){var s=16*t;for(let e=0;e<16;++e)n[s+e]=r[t]+r[e]}return n}();function R(e){return"undefined"==typeof BigInt?z:e}function z(){throw new Error("BigInt not supported")}},38075:(e,t,r)=>{"use strict";var n=r(70453),s=r(10487),o=s(n("String.prototype.indexOf"));e.exports=function(e,t){t=n(e,!!t);return"function"==typeof t&&-1<o(e,".prototype.")?s(t):t}},10487:(e,t,r)=>{"use strict";function n(){return u(s,l,arguments)}var s=r(66743),o=r(70453),i=r(96897),a=r(69675),l=o("%Function.prototype.apply%"),c=o("%Function.prototype.call%"),u=o("%Reflect.apply%",!0)||s.call(c,l),r=r(30655),p=o("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=u(s,c,arguments);return i(t,1+p(0,e.length-(arguments.length-1)),!0)};r?r(e.exports,"apply",{value:n}):e.exports.apply=n},57427:(e,t)=>{"use strict";t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var r={},n=(t||{}).decode||l,s=0;s<e.length;){var o=e.indexOf("=",s);if(-1===o)break;var i=e.indexOf(";",s);if(-1===i)i=e.length;else if(i<o){s=e.lastIndexOf(";",o-1)+1;continue}var a=e.slice(s,o).trim();void 0===r[a]&&(34===(o=e.slice(o+1,i).trim()).charCodeAt(0)&&(o=o.slice(1,-1)),r[a]=function(e,t){try{return t(e)}catch(t){return e}}(o,n)),s=i+1}return r},t.serialize=function(e,t,r){var r=r||{},n=r.encode||a;if("function"!=typeof n)throw new TypeError("option encode is invalid");if(!i.test(e))throw new TypeError("argument name is invalid");n=n(t);if(n&&!i.test(n))throw new TypeError("argument val is invalid");var s=e+"="+n;if(null!=r.maxAge){t=+r.maxAge;if(isNaN(t)||!isFinite(t))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(t)}if(r.domain){if(!i.test(r.domain))throw new TypeError("option domain is invalid");s+="; Domain="+r.domain}if(r.path){if(!i.test(r.path))throw new TypeError("option path is invalid");s+="; Path="+r.path}if(r.expires){e=r.expires;if(n=e,!("[object Date]"===o.call(n)||n instanceof Date)||isNaN(e.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+e.toUTCString()}if(r.httpOnly&&(s+="; HttpOnly"),r.secure&&(s+="; Secure"),r.partitioned&&(s+="; Partitioned"),r.priority)switch("string"==typeof r.priority?r.priority.toLowerCase():r.priority){case"low":s+="; Priority=Low";break;case"medium":s+="; Priority=Medium";break;case"high":s+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}if(r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return s};var o=Object.prototype.toString,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function l(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function a(e){return encodeURIComponent(e)}},17965:(e,t,r)=>{"use strict";var p=r(16426),h={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(r,n){var t,e,s,o,i,a,l,c=!1,u=(n=n||{}).debug||!1;try{if(e=p(),s=document.createRange(),o=document.getSelection(),(i=document.createElement("span")).textContent=r,i.ariaHidden="true",i.style.all="unset",i.style.position="fixed",i.style.top=0,i.style.clip="rect(0, 0, 0, 0)",i.style.whiteSpace="pre",i.style.webkitUserSelect="text",i.style.MozUserSelect="text",i.style.msUserSelect="text",i.style.userSelect="text",i.addEventListener("copy",function(e){var t;e.stopPropagation(),n.format&&(e.preventDefault(),void 0===e.clipboardData?(u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData(),t=h[n.format]||h.default,window.clipboardData.setData(t,r)):(e.clipboardData.clearData(),e.clipboardData.setData(n.format,r))),n.onCopy&&(e.preventDefault(),n.onCopy(e.clipboardData))}),document.body.appendChild(i),s.selectNodeContents(i),o.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");c=!0}catch(e){u&&console.error("unable to copy using execCommand: ",e),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(n.format||"text",r),n.onCopy&&n.onCopy(window.clipboardData),c=!0}catch(e){u&&console.error("unable to copy using clipboardData: ",e),u&&console.error("falling back to prompt"),a="message"in n?n.message:"Copy to clipboard: #{key}, Enter",l=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",t=a.replace(/#{\s*key\s*}/g,l),window.prompt(t,r)}}finally{o&&("function"==typeof o.removeRange?o.removeRange(s):o.removeAllRanges()),i&&document.body.removeChild(i),e()}return c}},2205:function(e,t,r){r=void 0!==r.g?r.g:this;e.exports=function(e){if(e.CSS&&e.CSS.escape)return e.CSS.escape;function t(e){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var t,r=String(e),n=r.length,s=-1,o="",i=r.charCodeAt(0);++s<n;)0!=(t=r.charCodeAt(s))?o+=1<=t&&t<=31||127==t||0==s&&48<=t&&t<=57||1==s&&48<=t&&t<=57&&45==i?"\\"+t.toString(16)+" ":0==s&&1==n&&45==t||!(128<=t||45==t||95==t||48<=t&&t<=57||65<=t&&t<=90||97<=t&&t<=122)?"\\"+r.charAt(s):r.charAt(s):o+="<22>";return o}return e.CSS||(e.CSS={}),e.CSS.escape=t}(r)},81919:(e,t,r)=>{"use strict";var n=r(48287).Buffer;function o(e){return e instanceof n||e instanceof Date||e instanceof RegExp}function i(e){var t;if(e instanceof n)return t=n.alloc?n.alloc(e.length):new n(e.length),e.copy(t),t;if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);throw new Error("Unexpected situation")}function a(e,t){return"__proto__"===t?void 0:e[t]}var l=e.exports=function(){if(arguments.length<1||"object"!=typeof arguments[0])return!1;if(arguments.length<2)return arguments[0];var r,n,s=arguments[0];return Array.prototype.slice.call(arguments,1).forEach(function(t){"object"!=typeof t||null===t||Array.isArray(t)||Object.keys(t).forEach(function(e){return n=a(s,e),(r=a(t,e))===s?void 0:"object"!=typeof r||null===r?void(s[e]=r):Array.isArray(r)?void(s[e]=function r(e){var n=[];return e.forEach(function(e,t){"object"==typeof e&&null!==e?Array.isArray(e)?n[t]=r(e):o(e)?n[t]=i(e):n[t]=l({},e):n[t]=e}),n}(r)):o(r)?void(s[e]=i(r)):"object"!=typeof n||null===n||Array.isArray(n)?void(s[e]=l({},r)):void(s[e]=l(n,r))})}),s}},14744:e=>{"use strict";function s(e){return!(!(t=e)||"object"!=typeof t||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===r));var t}var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function a(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c(Array.isArray(e)?[]:{},e,t):e}function o(e,t,r){return e.concat(t).map(function(e){return a(e,r)})}function t(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function l(e,t){try{return t in e}catch(e){return!1}}function i(n,s,o){var i={};return o.isMergeableObject(n)&&t(n).forEach(function(e){i[e]=a(n[e],o)}),t(s).forEach(function(e){var t,r;(!l(t=n,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(l(n,e)&&o.isMergeableObject(s[e])?i[e]=function(e,t){if(!t.customMerge)return c;t=t.customMerge(e);return"function"==typeof t?t:c}(e,o)(n[e],s[e],o):i[e]=a(s[e],o))}),i}function c(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||o,r.isMergeableObject=r.isMergeableObject||s,r.cloneUnlessOtherwiseSpecified=a;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):i(e,t,r):a(t,r)}c.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return c(e,t,r)},{});throw new Error("first argument should be an array")},e.exports=c},30041:(e,t,r)=>{"use strict";var l=r(30655),c=r(58068),u=r(69675),p=r(75795);e.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new u("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new u("`property` must be a string or a symbol`");if(3<arguments.length&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new u("`nonEnumerable`, if provided, must be a boolean or null");if(4<arguments.length&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new u("`nonWritable`, if provided, must be a boolean or null");if(5<arguments.length&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new u("`nonConfigurable`, if provided, must be a boolean or null");if(6<arguments.length&&"boolean"!=typeof arguments[6])throw new u("`loose`, if provided, must be a boolean");var n=3<arguments.length?arguments[3]:null,s=4<arguments.length?arguments[4]:null,o=5<arguments.length?arguments[5]:null,i=6<arguments.length&&arguments[6],a=!!p&&p(e,t);if(l)l(e,t,{configurable:null===o&&a?a.configurable:!o,enumerable:null===n&&a?a.enumerable:!n,value:r,writable:null===s&&a?a.writable:!s});else{if(!i&&(n||s||o))throw new c("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}}},42838:function(e){e.exports=function(){"use strict";const{entries:Ke,setPrototypeOf:o,isFrozen:l,getPrototypeOf:c,getOwnPropertyDescriptor:u}=Object;let{freeze:We,seal:e,create:Je}=Object,{apply:i,construct:n}="undefined"!=typeof Reflect&&Reflect;We=We||function(e){return e},e=e||function(e){return e},i=i||function(e,t,r){return e.apply(t,r)},n=n||function(e,t){return new e(...t)};const He=a(Array.prototype.forEach),Ge=a(Array.prototype.pop),Ye=a(Array.prototype.push),Xe=a(String.prototype.toLowerCase),Qe=a(String.prototype.toString),Ze=a(String.prototype.match),et=a(String.prototype.replace),Et=a(String.prototype.indexOf),xt=a(String.prototype.trim),tt=a(Object.prototype.hasOwnProperty),rt=a(RegExp.prototype.test),nt=(s=TypeError,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n(s,t)});var s;function st(e){return"number"==typeof e&&isNaN(e)}function a(s){return function(e){for(var t=arguments.length,r=new Array(1<t?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return i(s,e,r)}}function ot(t,r,e){let n=2<arguments.length&&void 0!==e?e:Xe,s=(o&&o(t,null),r.length);for(;s--;){let e=r[s];if("string"==typeof e){const t=n(e);t!==e&&(l(r)||(r[s]=t),e=t)}t[e]=!0}return t}function it(e){const t=Je(null);for(var[r,n]of Ke(e))tt(e,r)&&(Array.isArray(n)?t[r]=function(t){for(let e=0;e<t.length;e++)tt(t,e)||(t[e]=null);return t}(n):n&&"object"==typeof n&&n.constructor===Object?t[r]=it(n):t[r]=n);return t}function at(e,t){for(;null!==e;){var r=u(e,t);if(r){if(r.get)return a(r.get);if("function"==typeof r.value)return a(r.value)}e=c(e)}return function(){return null}}const lt=We(["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","section","select","shadow","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"]),ct=We(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ut=We(["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"]),St=We(["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"]),pt=We(["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"]),_t=We(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ht=We(["#text"]),dt=We(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","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","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),ft=We(["accent-height","accumulate","additive","alignment-baseline","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","dur","edgemode","elevation","end","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","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","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","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","targetx","targety","transform","transform-origin","text-anchor","text-decoration","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"]),mt=We(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","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"]),gt=We(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),t=e(/\{\{[\w\W]*|[\w\W]*\}\}/gm),r=e(/<%[\w\W]*|[\w\W]*%>/gm),p=e(/\${[\w\W]*}/gm),h=e(/^data-[\-\w.\u00B7-\uFFFF]/),d=e(/^aria-[\-\w]+$/),yt=e(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),f=e(/^(?:\w+script|data):/i),m=e(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),vt=e(/^html$/i),g=e(/^[a-z][.\w]*(-[.\w]+)+$/i);var bt=Object.freeze({__proto__:null,MUSTACHE_EXPR:t,ERB_EXPR:r,TMPLIT_EXPR:p,DATA_ATTR:h,ARIA_ATTR:d,IS_ALLOWED_URI:yt,IS_SCRIPT_OR_DATA:f,ATTR_WHITESPACE:m,DOCTYPE_NAME:vt,CUSTOM_ELEMENT:g});const wt={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12};return function D(e){e=0<arguments.length&&void 0!==e?e:"undefined"==typeof window?null:window;const c=e=>D(e);if(c.version="3.1.4",c.removed=[],!e||!e.document||e.document.nodeType!==wt.document)return c.isSupported=!1,c;let o=e.document;const l=o,L=l.currentScript,{DocumentFragment:F,HTMLTemplateElement:B,Node:u,Element:$,NodeFilter:t,NamedNodeMap:q=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:U,DOMParser:z,trustedTypes:p}=e,r=$.prototype,V=at(r,"cloneNode"),K=at(r,"nextSibling"),W=at(r,"childNodes"),h=at(r,"parentNode");if("function"==typeof B){const Ke=o.createElement("template");Ke.content&&Ke.content.ownerDocument&&(o=Ke.content.ownerDocument)}let d,f="";const{implementation:i,createNodeIterator:J,createDocumentFragment:H,getElementsByTagName:G}=o,Y=l.importNode;let n={};c.isSupported="function"==typeof Ke&&"function"==typeof h&&i&&void 0!==i.createHTMLDocument;const{MUSTACHE_EXPR:m,ERB_EXPR:X,TMPLIT_EXPR:Q,DATA_ATTR:Z,ARIA_ATTR:ee,IS_SCRIPT_OR_DATA:te,ATTR_WHITESPACE:re,CUSTOM_ELEMENT:ne}=bt;let se=bt.IS_ALLOWED_URI,g=null;const oe=ot({},[...lt,...ct,...ut,...pt,...ht]);let y=null;const ie=ot({},[...dt,...ft,...mt,...gt]);let a=Object.seal(Je(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}})),v=null,ae=null,le=!0,ce=!0,ue=!1,pe=!0,b=!1,he=!0,w=!1,de=!1,fe=!1,E=!1,x=!1,S=!1,me=!0,ge=!1;const ye="user-content-";let ve=!0,_=!1,s={},k=null;const be=ot({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let we=null;const Ee=ot({},["audio","video","img","source","image","track"]);let xe=null;const Se=ot({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),A="http://www.w3.org/1998/Math/MathML",O="http://www.w3.org/2000/svg",C="http://www.w3.org/1999/xhtml";let j=C,_e,ke=null;const Ae=ot({},[A,O,C],Qe);let P=null;const Oe=["application/xhtml+xml","text/html"];let N=null,I=null;function Ce(e){return e instanceof RegExp||e instanceof Function}function je(){let e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(!I||I!==e){if(e=it(e=e&&"object"==typeof e?e:{}),P=-1===Oe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,N="application/xhtml+xml"===P?Qe:Xe,g=tt(e,"ALLOWED_TAGS")?ot({},e.ALLOWED_TAGS,N):oe,y=tt(e,"ALLOWED_ATTR")?ot({},e.ALLOWED_ATTR,N):ie,ke=tt(e,"ALLOWED_NAMESPACES")?ot({},e.ALLOWED_NAMESPACES,Qe):Ae,xe=tt(e,"ADD_URI_SAFE_ATTR")?ot(it(Se),e.ADD_URI_SAFE_ATTR,N):Se,we=tt(e,"ADD_DATA_URI_TAGS")?ot(it(Ee),e.ADD_DATA_URI_TAGS,N):Ee,k=tt(e,"FORBID_CONTENTS")?ot({},e.FORBID_CONTENTS,N):be,v=tt(e,"FORBID_TAGS")?ot({},e.FORBID_TAGS,N):{},ae=tt(e,"FORBID_ATTR")?ot({},e.FORBID_ATTR,N):{},s=!!tt(e,"USE_PROFILES")&&e.USE_PROFILES,le=!1!==e.ALLOW_ARIA_ATTR,ce=!1!==e.ALLOW_DATA_ATTR,ue=e.ALLOW_UNKNOWN_PROTOCOLS||!1,pe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,b=e.SAFE_FOR_TEMPLATES||!1,he=!1!==e.SAFE_FOR_XML,w=e.WHOLE_DOCUMENT||!1,E=e.RETURN_DOM||!1,x=e.RETURN_DOM_FRAGMENT||!1,S=e.RETURN_TRUSTED_TYPE||!1,fe=e.FORCE_BODY||!1,me=!1!==e.SANITIZE_DOM,ge=e.SANITIZE_NAMED_PROPS||!1,ve=!1!==e.KEEP_CONTENT,_=e.IN_PLACE||!1,se=e.ALLOWED_URI_REGEXP||yt,j=e.NAMESPACE||C,a=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ce(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(a.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ce(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(a.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(a.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),b&&(ce=!1),x&&(E=!0),s&&(g=ot({},ht),y=[],!0===s.html&&(ot(g,lt),ot(y,dt)),!0===s.svg&&(ot(g,ct),ot(y,ft),ot(y,gt)),!0===s.svgFilters&&(ot(g,ut),ot(y,ft),ot(y,gt)),!0===s.mathMl&&(ot(g,pt),ot(y,mt),ot(y,gt))),e.ADD_TAGS&&ot(g=g===oe?it(g):g,e.ADD_TAGS,N),e.ADD_ATTR&&ot(y=y===ie?it(y):y,e.ADD_ATTR,N),e.ADD_URI_SAFE_ATTR&&ot(xe,e.ADD_URI_SAFE_ATTR,N),e.FORBID_CONTENTS&&ot(k=k===be?it(k):k,e.FORBID_CONTENTS,N),ve&&(g["#text"]=!0),w&&ot(g,["html","head","body"]),g.table&&(ot(g,["tbody"]),delete v.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw nt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw nt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');d=e.TRUSTED_TYPES_POLICY,f=d.createHTML("")}else null!==(d=void 0===d?function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null;var n="data-tt-policy-suffix",t="dompurify"+((r=t&&t.hasAttribute(n)?t.getAttribute(n):r)?"#"+r:"");try{return e.createPolicy(t,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+t+" could not be created."),null}}(p,L):d)&&"string"==typeof f&&(f=d.createHTML(""));We&&We(e),I=e}}function Pe(e){let t=null,r=null;if(fe)e="<remove></remove>"+e;else{const t=Ze(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===P&&j===C&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var n=d?d.createHTML(e):e;if(j===C)try{t=(new z).parseFromString(n,P)}catch(e){}if(!t||!t.documentElement){t=i.createDocument(j,"template",null);try{t.documentElement.innerHTML=_e?f:n}catch(e){}}const s=t.body||t.documentElement;return e&&r&&s.insertBefore(o.createTextNode(r),s.childNodes[0]||null),j===C?G.call(t,w?"html":"body")[0]:w?t.documentElement:s}function Ne(e){return J.call(e.ownerDocument||e,e,t.SHOW_ELEMENT|t.SHOW_COMMENT|t.SHOW_TEXT|t.SHOW_PROCESSING_INSTRUCTION|t.SHOW_CDATA_SECTION,null)}function Ie(e){return"function"==typeof u&&e instanceof u}function Te(t){let r=null;if(R("beforeSanitizeElements",t,null),ze(t))return T(t),1;const n=N(t.nodeName);if(R("uponSanitizeElement",t,{tagName:n,allowedTags:g}),t.hasChildNodes()&&!Ie(t.firstElementChild)&&rt(/<[/\w]/g,t.innerHTML)&&rt(/<[/\w]/g,t.textContent))return T(t),1;if(t.nodeType===wt.progressingInstruction)return T(t),1;if(he&&t.nodeType===wt.comment&&rt(/<[/\w]/g,t.data))return T(t),1;if(g[n]&&!v[n])return t instanceof $&&!function(e){let t=h(e);t&&t.tagName||(t={namespaceURI:j,tagName:"template"});var r=Xe(e.tagName),n=Xe(t.tagName);return ke[e.namespaceURI]&&(e.namespaceURI===O?t.namespaceURI===C?"svg"===r:t.namespaceURI===A?"svg"===r&&("annotation-xml"===n||Fe[n]):Boolean(qe[r]):e.namespaceURI===A?t.namespaceURI===C?"math"===r:t.namespaceURI===O?"math"===r&&Be[n]:Boolean(Ue[r]):e.namespaceURI===C?(t.namespaceURI!==O||Be[n])&&(t.namespaceURI!==A||Fe[n])&&!Ue[r]&&($e[r]||!qe[r]):"application/xhtml+xml"===P&&ke[e.namespaceURI])}(t)||("noscript"===n||"noembed"===n||"noframes"===n)&&rt(/<\/no(script|embed|frames)/i,t.innerHTML)?(T(t),!0):(b&&t.nodeType===wt.text&&(r=t.textContent,He([m,X,Q],e=>{r=et(r,e," ")}),t.textContent!==r&&(Ye(c.removed,{element:t.cloneNode()}),t.textContent=r)),R("afterSanitizeElements",t,null),!1);if(!v[n]&&Me(n)){if(a.tagNameCheck instanceof RegExp&&rt(a.tagNameCheck,n))return;if(a.tagNameCheck instanceof Function&&a.tagNameCheck(n))return}if(ve&&!k[n]){const r=h(t)||t.parentNode,n=W(t)||t.childNodes;if(n&&r)for(let e=n.length-1;0<=e;--e){const s=V(n[e],!0);s.__removalCount=(t.__removalCount||0)+1,r.insertBefore(s,K(t))}}return T(t),1}function Me(e){return"annotation-xml"!==e&&Ze(e,ne)}function Re(r){R("beforeSanitizeAttributes",r,null);var n=r.attributes;if(n){const l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:y};let e=n.length;for(;e--;){var{name:s,namespaceURI:o,value:i}=n[e],a=N(s);let t="value"===s?i:xt(i);if(l.attrName=a,l.attrValue=t,l.keepAttr=!0,l.forceKeepAttr=void 0,R("uponSanitizeAttribute",r,l),t=l.attrValue,!l.forceKeepAttr&&(M(s,r),l.keepAttr))if(!pe&&rt(/\/>/i,t))M(s,r);else if(he&&rt(/((--!?|])>)|<\/(style|title)/i,t))M(s,r);else if(b&&He([m,X,Q],e=>{t=et(t,e," ")}),i=N(r.nodeName),Ve(i,a,t)){if(!ge||"id"!==a&&"name"!==a||(M(s,r),t=ye+t),d&&"object"==typeof p&&"function"==typeof p.getAttributeType&&!o)switch(p.getAttributeType(i,a)){case"TrustedHTML":t=d.createHTML(t);break;case"TrustedScriptURL":t=d.createScriptURL(t)}try{o?r.setAttributeNS(o,s,t):r.setAttribute(s,t),ze(r)?T(r):Ge(c.removed)}catch(r){}}}R("afterSanitizeAttributes",r,null)}}function De(e){let t=null;const r=Ne(e);for(R("beforeSanitizeShadowDOM",e,null);t=r.nextNode();)if(R("uponSanitizeShadowNode",t,null),!Te(t)){const e=h(t);t.nodeType===wt.element&&(e&&e.__depth?t.__depth=(t.__removalCount||0)+e.__depth+1:t.__depth=1),(255<=t.__depth||t.__depth<0||st(t.__depth))&&T(t),t.content instanceof F&&(t.content.__depth=t.__depth,De(t.content)),Re(t)}R("afterSanitizeShadowDOM",e,null)}const Le=o.createElement("form"),Fe=ot({},["mi","mo","mn","ms","mtext"]),Be=ot({},["foreignobject","annotation-xml"]),$e=ot({},["title","style","font","a","script"]),qe=ot({},[...ct,...ut,...St]),Ue=ot({},[...pt,..._t]),T=function(t){Ye(c.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},M=function(e,t){try{Ye(c.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Ye(c.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!y[e])if(E||x)try{T(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ze=function(e){return e instanceof U&&(void 0!==e.__depth&&"number"!=typeof e.__depth||void 0!==e.__removalCount&&"number"!=typeof e.__removalCount||"string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof q)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},R=function(e,t,r){n[e]&&He(n[e],e=>{e.call(c,t,r,I)})},Ve=function(e,t,r){if(me&&("id"===t||"name"===t)&&(r in o||r in Le||"__depth"===r||"__removalCount"===r))return!1;if((!ce||ae[t]||!rt(Z,t))&&(!le||!rt(ee,t)))if(!y[t]||ae[t]){if(!(Me(e)&&(a.tagNameCheck instanceof RegExp&&rt(a.tagNameCheck,e)||a.tagNameCheck instanceof Function&&a.tagNameCheck(e))&&(a.attributeNameCheck instanceof RegExp&&rt(a.attributeNameCheck,t)||a.attributeNameCheck instanceof Function&&a.attributeNameCheck(t))||"is"===t&&a.allowCustomizedBuiltInElements&&(a.tagNameCheck instanceof RegExp&&rt(a.tagNameCheck,r)||a.tagNameCheck instanceof Function&&a.tagNameCheck(r))))return!1}else if(!xe[t]&&!rt(se,et(r,re,""))&&("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Et(r,"data:")||!we[e])&&(!ue||rt(te,et(r,re,"")))&&r)return!1;return!0};return c.sanitize=function(e){let t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=null,n,s=null,o=null;if("string"!=typeof(e=(_e=!e)?"\x3c!--\x3e":e)&&!Ie(e)){if("function"!=typeof e.toString)throw nt("toString is not a function");if("string"!=typeof(e=e.toString()))throw nt("dirty is not a string, aborting")}if(!c.isSupported)return e;if(de||je(t),c.removed=[],_="string"!=typeof e&&_){if(e.nodeName){const t=N(e.nodeName);if(!g[t]||v[t])throw nt("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof u)(n=(r=Pe("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType===wt.element&&"BODY"===n.nodeName||"HTML"===n.nodeName?r=n:r.appendChild(n);else{if(!E&&!b&&!w&&-1===e.indexOf("<"))return d&&S?d.createHTML(e):e;if(!(r=Pe(e)))return E?null:S?f:""}r&&fe&&T(r.firstChild);const i=Ne(_?e:r);for(;s=i.nextNode();)if(!Te(s)){const e=h(s);s.nodeType===wt.element&&(e&&e.__depth?s.__depth=(s.__removalCount||0)+e.__depth+1:s.__depth=1),(255<=s.__depth||s.__depth<0||st(s.__depth))&&T(s),s.content instanceof F&&(s.content.__depth=s.__depth,De(s.content)),Re(s)}if(_)return e;if(E){if(x)for(o=H.call(r.ownerDocument);r.firstChild;)o.appendChild(r.firstChild);else o=r;return o=y.shadowroot||y.shadowrootmode?Y.call(l,o,!0):o}let a=w?r.outerHTML:r.innerHTML;return w&&g["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&rt(vt,r.ownerDocument.doctype.name)&&(a="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+a),b&&He([m,X,Q],e=>{a=et(a,e," ")}),d&&S?d.createHTML(a):a},c.setConfig=function(){je(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),de=!0},c.clearConfig=function(){I=null,de=!1},c.isValidAttribute=function(e,t,r){return I||je({}),e=N(e),t=N(t),Ve(e,t,r)},c.addHook=function(e,t){"function"==typeof t&&(n[e]=n[e]||[],Ye(n[e],t))},c.removeHook=function(e){if(n[e])return Ge(n[e])},c.removeHooks=function(e){n[e]&&(n[e]=[])},c.removeAllHooks=function(){n={}},c}()}()},78004:e=>{"use strict";class o{constructor(e,t){this.low=e,this.high=t,this.length=1+t-e}overlaps(e){return!(this.high<e.low||this.low>e.high)}touches(e){return!(this.high+1<e.low||this.low-1>e.high)}add(e){return new o(Math.min(this.low,e.low),Math.max(this.high,e.high))}subtract(e){return e.low<=this.low&&e.high>=this.high?[]:e.low>this.low&&e.high<this.high?[new o(this.low,e.low-1),new o(e.high+1,this.high)]:e.low<=this.low?[new o(e.high+1,this.high)]:[new o(this.low,e.low-1)]}toString(){return this.low==this.high?this.low.toString():this.low+"-"+this.high}}e.exports=class n{constructor(e,t){this.ranges=[],this.length=0,null!=e&&this.add(e,t)}_update_length(){this.length=this.ranges.reduce((e,t)=>e+t.length,0)}add(e,t){var r=e=>{for(var t=0;t<this.ranges.length&&!e.touches(this.ranges[t]);)t++;for(var r=this.ranges.slice(0,t);t<this.ranges.length&&e.touches(this.ranges[t]);)e=e.add(this.ranges[t]),t++;r.push(e),this.ranges=r.concat(this.ranges.slice(t)),this._update_length()};return e instanceof n?e.ranges.forEach(r):(null==t&&(t=e),r(new o(e,t))),this}subtract(e,t){var r=e=>{for(var t=0;t<this.ranges.length&&!e.overlaps(this.ranges[t]);)t++;for(var r=this.ranges.slice(0,t);t<this.ranges.length&&e.overlaps(this.ranges[t]);)r=r.concat(this.ranges[t].subtract(e)),t++;this.ranges=r.concat(this.ranges.slice(t)),this._update_length()};return e instanceof n?e.ranges.forEach(r):(null==t&&(t=e),r(new o(e,t))),this}intersect(e,t){var s=[],r=e=>{for(var t=0;t<this.ranges.length&&!e.overlaps(this.ranges[t]);)t++;for(;t<this.ranges.length&&e.overlaps(this.ranges[t]);){var r=Math.max(this.ranges[t].low,e.low),n=Math.min(this.ranges[t].high,e.high);s.push(new o(r,n)),t++}};return e instanceof n?e.ranges.forEach(r):(null==t&&(t=e),r(new o(e,t))),this.ranges=s,this._update_length(),this}index(e){for(var t=0;t<this.ranges.length&&this.ranges[t].length<=e;)e-=this.ranges[t].length,t++;return this.ranges[t].low+e}toString(){return"[ "+this.ranges.join(", ")+" ]"}clone(){return new n(this)}numbers(){return this.ranges.reduce((e,t)=>{for(var r=t.low;r<=t.high;)e.push(r),r++;return e},[])}subranges(){return this.ranges.map(e=>({low:e.low,high:e.high,length:1+e.high-e.low}))}}},30655:(e,t,r)=>{"use strict";r=r(70453)("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch(e){r=!1}e.exports=r},41237:e=>{"use strict";e.exports=EvalError},69383:e=>{"use strict";e.exports=Error},79290:e=>{"use strict";e.exports=RangeError},79538:e=>{"use strict";e.exports=ReferenceError},58068:e=>{"use strict";e.exports=SyntaxError},69675:e=>{"use strict";e.exports=TypeError},35345:e=>{"use strict";e.exports=URIError},37007:e=>{"use strict";var t="object"==typeof Reflect?Reflect:null,l=t&&"function"==typeof t.apply?t.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)},r=t&&"function"==typeof t.ownKeys?t.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)},n=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(a,l){return new Promise(function(e,t){function r(e){a.removeListener(l,n),t(e)}function n(){"function"==typeof a.removeListener&&a.removeListener("error",r),e([].slice.call(arguments))}var s,o,i;f(a,l,n,{once:!0}),"error"!==l&&(o=r,i={once:!0},"function"==typeof(s=a).on&&f(s,"error",o,i))})},(s.EventEmitter=s).prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var o=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function i(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function a(e,t,r,n){var s,o;return c(r),void 0===(s=e._events)?(s=e._events=Object.create(null),e._eventsCount=0):(void 0!==s.newListener&&(e.emit("newListener",t,r.listener||r),s=e._events),o=s[t]),void 0===o?(o=s[t]=r,++e._eventsCount):("function"==typeof o?o=s[t]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),0<(s=i(e))&&o.length>s&&!o.warned&&(o.warned=!0,(n=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit")).name="MaxListenersExceededWarning",n.emitter=e,n.type=t,n.count=o.length,r=n,console&&console.warn&&console.warn(r))),e}function u(e,t,r){e={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},t=function(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}.bind(e);return t.listener=r,e.wrapFn=t}function p(e,t,r){e=e._events;if(void 0===e)return[];e=e[t];{if(void 0===e)return[];if("function"==typeof e)return r?[e.listener||e]:[e];if(r){for(var n=e,s=new Array(n.length),o=0;o<s.length;++o)s[o]=n[o].listener||n[o];return s}return d(e,e.length)}}function h(e){var t=this._events;if(void 0!==t){t=t[e];if("function"==typeof t)return 1;if(void 0!==t)return t.length}return 0}function d(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function f(r,n,s,o){if("function"==typeof r.on)o.once?r.once(n,s):r.on(n,s);else{if("function"!=typeof r.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof r);r.addEventListener(n,function e(t){o.once&&r.removeEventListener(n,e),s(t)})}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return o},set:function(e){if("number"!=typeof e||e<0||n(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");o=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||n(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return i(this)},s.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,s=this._events;if(void 0!==s)n=n&&void 0===s.error;else if(!n)return!1;if(n){if((o=0<t.length?t[0]:o)instanceof Error)throw o;n=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw n.context=o,n}var o=s[e];if(void 0===o)return!1;if("function"==typeof o)l(o,this,t);else for(var i=o.length,a=d(o,i),r=0;r<i;++r)l(a[r],this,t);return!0},s.prototype.on=s.prototype.addListener=function(e,t){return a(this,e,t,!1)},s.prototype.prependListener=function(e,t){return a(this,e,t,!0)},s.prototype.once=function(e,t){return c(t),this.on(e,u(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,u(this,e,t)),this},s.prototype.off=s.prototype.removeListener=function(e,t){var r,n,s,o,i;if(c(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(s=-1,o=r.length-1;0<=o;o--)if(r[o]===t||r[o].listener===t){i=r[o].listener,s=o;break}if(s<0)return this;if(0===s)r.shift();else{var a=r;var l=s;for(;l+1<a.length;l++)a[l]=a[l+1];a.pop()}1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,i||t)}return this},s.prototype.removeAllListeners=function(e){var t,r;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){for(var n,s=Object.keys(r),o=0;o<s.length;++o)"removeListener"!==(n=s[o])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(o=t.length-1;0<=o;o--)this.removeListener(e,t[o]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},s.prototype.listenerCount=h,s.prototype.eventNames=function(){return 0<this._eventsCount?r(this._events):[]}},85587:(e,t,r)=>{"use strict";var n=r(26311),r=s(Error);function s(t){return e.displayName=t.displayName||t.name,e;function e(e){return e=e&&n.apply(null,arguments),new t(e)}}(e.exports=r).eval=s(EvalError),r.range=s(RangeError),r.reference=s(ReferenceError),r.syntax=s(SyntaxError),r.type=s(TypeError),r.uri=s(URIError),r.create=s},26311:e=>{function r(t){function e(){return i[o++]}for(var r,n,s,o=1,i=[].slice.call(arguments),a=0,l=t.length,c="",u=!1,p=!1;a<l;++a)if(r=t[a],u)switch(u=!1,"."==r?(p=!1,r=t[++a]):"0"==r&&"."==t[a+1]?(p=!0,r=t[a+=2]):p=!0,s=function(){for(var e="";/\d/.test(t[a]);)e+=t[a++],r=t[a];return 0<e.length?parseInt(e):null}(),r){case"b":c+=parseInt(e(),10).toString(2);break;case"c":c+="string"==typeof(n=e())||n instanceof String?n:String.fromCharCode(parseInt(n,10));break;case"d":c+=parseInt(e(),10);break;case"f":n=String(parseFloat(e()).toFixed(s||6)),c+=p?n:n.replace(/^0/,"");break;case"j":c+=JSON.stringify(e());break;case"o":c+="0"+parseInt(e(),10).toString(8);break;case"s":c+=e();break;case"x":c+="0x"+parseInt(e(),10).toString(16);break;case"X":c+="0x"+parseInt(e(),10).toString(16).toUpperCase();break;default:c+=r}else"%"===r?u=!0:c+=r;return c}(e=e.exports=r).format=r,e.vsprintf=function(e,t){return r.apply(null,[e].concat(t))},"undefined"!=typeof console&&"function"==typeof console.log&&(e.printf=function(){console.log(r.apply(null,arguments))})},89353:e=>{"use strict";function l(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var s=0;s<t.length;s+=1)r[s+e.length]=t[s];return r}var c=Object.prototype.toString,u=Math.max;e.exports=function(t){var r=this;if("function"!=typeof r||"[object Function]"!==c.apply(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var n=function(e,t){for(var r=[],n=t||0,s=0;n<e.length;n+=1,s+=1)r[s]=e[n];return r}(arguments,1),e=u(0,r.length-n.length),s=[],o=0;o<e;o++)s[o]="$"+o;var i,a=Function("binder","return function ("+function(e){for(var t="",r=0;r<e.length;r+=1)t+=e[r],r+1<e.length&&(t+=",");return t}(s)+"){ return binder.apply(this,arguments); }")(function(){var e;return this instanceof a?(e=r.apply(this,l(n,arguments)),Object(e)===e?e:this):r.apply(t,l(n,arguments))});return r.prototype&&((i=function(){}).prototype=r.prototype,a.prototype=new i,i.prototype=null),a}},66743:(e,t,r)=>{"use strict";r=r(89353);e.exports=Function.prototype.bind||r},70453:(e,t,r)=>{"use strict";var n,s=r(69383),o=r(41237),i=r(79290),a=r(79538),h=r(58068),d=r(69675),l=r(35345),c=Function,u=function(e){try{return c('"use strict"; return ('+e+").constructor;")()}catch(e){}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},"")}catch(e){f=null}function p(){throw new d}var m=f?function(){try{return p}catch(e){try{return f(arguments,"callee").get}catch(e){return p}}}():p,g=r(64039)(),y=r(80024)(),v=Object.getPrototypeOf||(y?function(e){return e.__proto__}:null),b={},y="undefined"!=typeof Uint8Array&&v?v(Uint8Array):n,w={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":g&&v?v([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":s,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":c,"%GeneratorFunction%":b,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&v?v(v([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&g&&v?v((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":i,"%ReferenceError%":a,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&g&&v?v((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&v?v(""[Symbol.iterator]()):n,"%Symbol%":g?Symbol:n,"%SyntaxError%":h,"%ThrowTypeError%":m,"%TypedArray%":y,"%TypeError%":d,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":l,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(v)try{null.error}catch(e){s=v(v(e));w["%Error.prototype%"]=s}function E(e){var t,r;return"%AsyncFunction%"===e?t=u("async function () {}"):"%GeneratorFunction%"===e?t=u("function* () {}"):"%AsyncGeneratorFunction%"===e?t=u("async function* () {}"):"%AsyncGenerator%"===e?(r=E("%AsyncGeneratorFunction%"))&&(t=r.prototype):"%AsyncIteratorPrototype%"===e&&(r=E("%AsyncGenerator%"))&&v&&(t=v(r.prototype)),w[e]=t}var x={__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"]},o=r(66743),S=r(9957),_=o.call(Function.call,Array.prototype.concat),k=o.call(Function.apply,Array.prototype.splice),A=o.call(Function.call,String.prototype.replace),O=o.call(Function.call,String.prototype.slice),C=o.call(Function.call,RegExp.prototype.exec),j=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g;e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new d("intrinsic name must be a non-empty string");if(1<arguments.length&&"boolean"!=typeof t)throw new d('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new h("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=O(e,0,1),r=O(e,-1);if("%"===t&&"%"!==r)throw new h("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new h("invalid intrinsic syntax, expected opening `%`");var s=[];return A(e,j,function(e,t,r,n){s[s.length]=r?A(n,P,"$1"):t||e}),s}(e),n=0<r.length?r[0]:"",s=function(e,t){var r,n=e;if(S(x,n)&&(n="%"+(r=x[n])[0]+"%"),S(w,n)){var s=w[n];if(void 0!==(s=s===b?E(n):s)||t)return{alias:r,name:n,value:s};throw new d("intrinsic "+e+" exists, but is not available. Please file an issue!")}throw new h("intrinsic "+e+" does not exist!")}("%"+n+"%",t),o=(s.name,s.value),i=!1,s=s.alias;s&&(n=s[0],k(r,_([0,1],s)));for(var a=1,l=!0;a<r.length;a+=1){var c=r[a],u=O(c,0,1),p=O(c,-1);if(('"'===u||"'"===u||"`"===u||'"'===p||"'"===p||"`"===p)&&u!==p)throw new h("property names with quotes must have matching quotes");if("constructor"!==c&&l||(i=!0),S(w,u="%"+(n+="."+c)+"%"))o=w[u];else if(null!=o){if(!(c in o)){if(t)return;throw new d("base intrinsic for "+e+" exists, but the property is not available.")}o=f&&a+1>=r.length?(l=!!(p=f(o,c)))&&"get"in p&&!("originalValue"in p.get)?p.get:o[c]:(l=S(o,c),o[c]),l&&!i&&(w[u]=o)}}return o}},75795:(e,t,r)=>{"use strict";r=r(70453)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},30592:(e,t,r)=>{"use strict";function n(){return!!s}var s=r(30655);n.hasArrayLengthDefineBug=function(){if(!s)return null;try{return 1!==s([],"length",{value:1}).length}catch(e){return!0}},e.exports=n},80024:e=>{"use strict";var t={__proto__:null,foo:{}},r=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof r)}},64039:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,s=r(41333);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&s()}},41333:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},9957:(e,t,r)=>{"use strict";var n=Function.prototype.call,s=Object.prototype.hasOwnProperty,r=r(66743);e.exports=r.call(n,s)},45981:e=>{function r(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(function(e){e=t[e];"object"!=typeof e||Object.isFrozen(e)||r(e)}),t}var g=r;g.default=r;class P{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function u(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function l(e,...t){const r=Object.create(null);for(const t in e)r[t]=e[t];return t.forEach(function(e){for(const t in e)r[t]=e[t]}),r}const n=e=>!!e.kind;class t{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=u(e)}openNode(t){if(n(t)){let e=t.kind;t.sublanguage||(e=""+this.classPrefix+e),this.span(e)}}closeNode(e){n(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}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(e){this.top.children.push(e)}openNode(e){e={kind:e,children:[]};this.add(e),this.stack.push(e)}closeNode(){if(1<this.stack.length)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(t,e){return"string"==typeof e?t.addText(e):e.children&&(t.openNode(e),e.children.forEach(e=>this._walk(t,e)),t.closeNode(e)),t}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every(e=>"string"==typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{s._collapse(e)}))}}class y extends s{constructor(e){super(),this.options=e}addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const r=e.root;r.kind=t,r.sublanguage=!0,this.add(r)}toHTML(){return new t(this,this.options).value()}finalize(){return!0}}function c(e){return e?"string"==typeof e?e:e.source:null}function o(e,t,r={}){const n=l({className:"comment",begin:e,end:t,contains:[]},r);return n.contains.push(w),n.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),n}const p=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,i="[a-zA-Z]\\w*",a="[a-zA-Z_]\\w*",h="\\b\\d+(\\.\\d+)?",d="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",f="\\b(0b[01]+)",m={begin:"\\\\[\\s\\S]",relevance:0},v={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[m]},b={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[m]},w={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/},E=o("//","$"),x=o("/\\*","\\*/"),S=o("#","$"),C={className:"number",begin:h,relevance:0},j={className:"number",begin:d,relevance:0},F={className:"number",begin:f,relevance:0},B={className:"number",begin:h+"(%|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},$={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[m,{begin:/\[/,end:/\]/,relevance:0,contains:[m]}]}]},q={className:"title",begin:i,relevance:0},U={className:"title",begin:a,relevance:0},z={begin:"\\.\\s*"+a,relevance:0};var N=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:i,UNDERSCORE_IDENT_RE:a,NUMBER_RE:h,C_NUMBER_RE:d,BINARY_NUMBER_RE:f,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{var t=/^#![ ]*\//;return e.binary&&(e.begin=[t,/.*\b/,e.binary,/\b.*/].map(e=>c(e)).join("")),l({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},BACKSLASH_ESCAPE:m,APOS_STRING_MODE:v,QUOTE_STRING_MODE:b,PHRASAL_WORDS_MODE:w,COMMENT:o,C_LINE_COMMENT_MODE:E,C_BLOCK_COMMENT_MODE:x,HASH_COMMENT_MODE:S,NUMBER_MODE:C,C_NUMBER_MODE:j,BINARY_NUMBER_MODE:F,CSS_NUMBER_MODE:B,REGEXP_MODE:$,TITLE_MODE:q,UNDERSCORE_TITLE_MODE:U,METHOD_GUARD:z,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})}});function V(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}const K=["of","and","for","in","not","or","if","then","parent","list","value"],W="keyword";function _(t,n,e=W){const s={};return"string"==typeof t?r(e,t.split(" ")):Array.isArray(t)?r(e,t):Object.keys(t).forEach(function(e){Object.assign(s,_(t[e],n,e))}),s;function r(r,e){(e=n?e.map(e=>e.toLowerCase()):e).forEach(function(e){var t,e=e.split("|");s[e[0]]=[r,(t=e[0],(e=e[1])?Number(e):function(e){return K.includes(e.toLowerCase())}(t)?0:1)]})}}function J(o,{}){function i(e,t){return new RegExp(c(e),"m"+(o.case_insensitive?"i":"")+(t?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=new RegExp(e.toString()+"|").exec("").length-1+1}compile(){0===this.regexes.length&&(this.exec=()=>null);var e=this.regexes.map(e=>e[1]);this.matcherRe=i(function(e,t="|"){let s=0;return e.map(e=>{var t=s+=1;let r=c(e),n="";for(;0<r.length;){const e=p.exec(r);if(!e){n+=r;break}n+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?n+="\\"+String(Number(e[1])+t):(n+=e[0],"("===e[0]&&s++)}return n}).map(e=>`(${e})`).join(t)}(e),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;var e=t.findIndex((e,t)=>0<t&&void 0!==e),r=this.matchIndexes[e];return t.splice(0,e),Object.assign(t,r)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const r=new t;return this.rules.slice(e).forEach(([e,t])=>r.addRule(e,t)),r.compile(),this.multiRegexes[e]=r}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let r=t.exec(e);if(this.resumingScanAtSamePosition()&&(!r||r.index!==this.lastIndex)){const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,r=t.exec(e)}return r&&(this.regexIndex+=r.position+1,this.regexIndex===this.count&&this.considerAll()),r}}if(o.compilerExtensions||(o.compilerExtensions=[]),o.contains&&o.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return o.classNameAliases=l(o.classNameAliases||{}),function t(r,n){const s=r;if(r.isCompiled)return s;[function(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}].forEach(e=>e(r,n)),o.compilerExtensions.forEach(e=>e(r,n)),r.__beforeBegin=null,[function(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=V,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))},function(e,t){Array.isArray(e.illegal)&&(e.illegal=([...e]=[...e.illegal],"("+e.map(e=>c(e)).join("|")+")"))},function(e,t){void 0===e.relevance&&(e.relevance=1)}].forEach(e=>e(r,n)),r.isCompiled=!0;let e=null;if("object"==typeof r.keywords&&(e=r.keywords.$pattern,delete r.keywords.$pattern),r.keywords&&(r.keywords=_(r.keywords,o.case_insensitive)),r.lexemes&&e)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return e=e||r.lexemes||/\w+/,s.keywordPatternRe=i(e,!0),n&&(r.begin||(r.begin=/\B|\b/),s.beginRe=i(r.begin),r.endSameAsBegin&&(r.end=r.begin),r.end||r.endsWithParent||(r.end=/\B|\b/),r.end&&(s.endRe=i(r.end)),s.terminatorEnd=c(r.end)||"",r.endsWithParent&&n.terminatorEnd&&(s.terminatorEnd+=(r.end?"|":"")+n.terminatorEnd)),r.illegal&&(s.illegalRe=i(r.illegal)),r.contains||(r.contains=[]),r.contains=[].concat(...r.contains.map(function(e){return(t="self"===e?r:e).variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return l(t,{variants:null},e)})),t.cachedVariants||(function e(t){return!!t&&(t.endsWithParent||e(t.starts))}(t)?l(t,{starts:t.starts?l(t.starts):null}):Object.isFrozen(t)?l(t):t);var t})),r.contains.forEach(function(e){t(e,s)}),r.starts&&t(r.starts,n),s.matcher=function(e){const t=new a;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(s),s}(o)}function H(t){const r={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!t.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,u(this.code);let e={};return this.autoDetect?(e=t.highlightAuto(this.code),this.detectedLanguage=e.language):(e=t.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),e.value},autoDetect(){return!this.language||(e=this.autodetect,Boolean(e||""===e));var e},ignoreIllegals:()=>!0},render(e){return e("pre",{},[e("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:r,VuePlugin:{install(e){e.component("highlightjs",r)}}}}const G={"after:highlightElement":({el:e,result:t,text:r})=>{e=A(e);if(e.length){const n=document.createElement("div");n.innerHTML=t.value,t.value=function(t,e,r){let n=0,s="";const o=[];function i(){return t.length&&e.length?t[0].offset!==e[0].offset?t[0].offset<e[0].offset?t:e:"start"===e[0].event?t:e:t.length?t:e}function a(e){s+="<"+k(e)+[].map.call(e.attributes,function(e){return" "+e.nodeName+'="'+u(e.value)+'"'}).join("")+">"}function l(e){s+="</"+k(e)+">"}function c(e){("start"===e.event?a:l)(e.node)}for(;t.length||e.length;){let e=i();if(s+=u(r.substring(n,e[0].offset)),n=e[0].offset,e===t){for(o.reverse().forEach(l);c(e.splice(0,1)[0]),(e=i())===t&&e.length&&e[0].offset===n;);o.reverse().forEach(a)}else"start"===e[0].event?o.push(e[0].node):o.pop(),c(e.splice(0,1)[0])}return s+u(r.substr(n))}(e,A(n),r)}}};function k(e){return e.nodeName.toLowerCase()}function A(e){const s=[];return function t(r,n){for(let e=r.firstChild;e;e=e.nextSibling)3===e.nodeType?n+=e.nodeValue.length:1===e.nodeType&&(s.push({event:"start",offset:n,node:e}),n=t(e,n),k(e).match(/br|hr|img|input/)||s.push({event:"stop",offset:n,node:e}));return n}(e,0),s}const O={},I=e=>{console.error(e)},T=(e,...t)=>{console.log("WARN: "+e,...t)},M=(e,t)=>{O[e+"/"+t]||(console.log(`Deprecated as of ${e}. `+t),O[e+"/"+t]=!0)},R=u,D=l,L=Symbol("nomatch");var Y=function(n){const x=Object.create(null),o=Object.create(null),S=[];let _=!0;const t=/(^(<[^>]+>|\t|)+|\n)/gm,k="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]};let A={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:y};function i(e){return A.noHighlightRe.test(e)}function a(e,t,r,n){let s="",o="";"object"==typeof t?(s=e,r=t.ignoreIllegals,o=t.language,n=void 0):(M("10.7.0","highlight(lang, code, ...args) has been deprecated."),M("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),o=e,s=t);e={code:s,language:o};m("before:highlight",e);const i=e.result||O(e.language,e.code,r,n);return i.code=e.code,m("after:highlight",i),i}function O(n,s,o,e){function i(){(null!=d.subLanguage?function(){if(""!==g){let e=null;if("string"==typeof d.subLanguage){if(!x[d.subLanguage])return m.addText(g);e=O(d.subLanguage,g,!0,f[d.subLanguage]),f[d.subLanguage]=e.top}else e=C(g,d.subLanguage.length?d.subLanguage:null);0<d.relevance&&(y+=e.relevance),m.addSublanguage(e.emitter,e.language)}}:function(){if(!d.keywords)return m.addText(g);let e=0,t=(d.keywordPatternRe.lastIndex=0,d.keywordPatternRe.exec(g)),r="";for(;t;){r+=g.substring(e,t.index);n=d,s=t,s=p.case_insensitive?s[0].toLowerCase():s[0];n=Object.prototype.hasOwnProperty.call(n.keywords,s)&&n.keywords[s];if(n){const[e,o]=n;if(m.addText(r),r="",y+=o,e.startsWith("_"))r+=t[0];else{const r=p.classNameAliases[e]||e;m.addKeyword(t[0],r)}}else r+=t[0];e=d.keywordPatternRe.lastIndex,t=d.keywordPatternRe.exec(g)}var n,s;r+=g.substr(e),m.addText(r)})(),g=""}function a(e){e.className&&m.openNode(p.classNameAliases[e.className]||e.className),d=Object.create(e,{parent:{value:d}})}function l(e){const t=e[0],r=e.rule,n=new P(r),s=[r.__beforeBegin,r["on:begin"]];for(const r of s)if(r&&(r(e,n),n.isMatchIgnored))return o=t,0===d.matcher.regexIndex?(g+=o[0],1):(w=!0,0);var o;return r&&r.endSameAsBegin&&(r.endRe=new RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")),r.skip?g+=t:(r.excludeBegin&&(g+=t),i(),r.returnBegin||r.excludeBegin||(g=t)),a(r),r.returnBegin?0:t.length}function c(e){const t=e[0],r=s.substr(e.index),n=function e(t,r,n){let s=function(e,t){return(e=e&&e.exec(t))&&0===e.index}(t.endRe,n);if(s){if(t["on:end"]){const n=new P(t);t["on:end"](r,n),n.isMatchIgnored&&(s=!1)}if(s){for(;t.endsParent&&t.parent;)t=t.parent;return t}}if(t.endsWithParent)return e(t.parent,r,n)}(d,e,r);if(!n)return L;e=d;for(e.skip?g+=t:(e.returnEnd||e.excludeEnd||(g+=t),i(),e.excludeEnd&&(g=t));d.className&&m.closeNode(),d.skip||d.subLanguage||(y+=d.relevance),(d=d.parent)!==n.parent;);return n.starts&&(n.endSameAsBegin&&(n.starts.endRe=n.endRe),a(n.starts)),e.returnEnd?0:t.length}let u={};function t(e,t){var r=t&&t[0];if(g+=e,null==r)return i(),0;if("begin"===u.type&&"end"===t.type&&u.index===t.index&&""===r){if(g+=s.slice(t.index,t.index+1),_)return 1;{const s=new Error("0 width match regex");throw s.languageName=n,s.badRule=u.rule,s}}if("begin"===(u=t).type)return l(t);if("illegal"===t.type&&!o){const n=new Error('Illegal lexeme "'+r+'" for mode "'+(d.className||"<unnamed>")+'"');throw n.mode=d,n}if("end"===t.type){const n=c(t);if(n!==L)return n}if("illegal"===t.type&&""===r)return 1;if(1e5<b&&b>3*t.index)throw new Error("potential infinite loop, way more iterations than matches");return g+=r,r.length}const p=j(n);if(!p)throw I(k.replace("{}",n)),new Error('Unknown language: "'+n+'"');var r=J(p,{plugins:S});let h="",d=e||r;const f={},m=new A.__emitter(A);{const E=[];for(let e=d;e!==p;e=e.parent)e.className&&E.unshift(e.className);E.forEach(e=>m.openNode(e))}let g="",y=0,v=0,b=0,w=!1;try{for(d.matcher.considerAll();;){b++,w?w=!1:d.matcher.considerAll(),d.matcher.lastIndex=v;const n=d.matcher.exec(s);if(!n)break;const x=t(s.substring(v,n.index),n);v=n.index+x}return t(s.substr(v)),m.closeAllNodes(),m.finalize(),h=m.toHTML(),{relevance:Math.floor(y),value:h,language:n,illegal:!1,emitter:m,top:d}}catch(e){if(e.message&&e.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:e.message,context:s.slice(v-100,v+100),mode:e.mode},sofar:h,relevance:0,value:R(s),emitter:m};if(_)return{illegal:!1,relevance:0,value:R(s),emitter:m,language:n,top:d,errorRaised:e};throw e}}function C(t,e){e=e||A.languages||Object.keys(x);const r=function(e){const t={relevance:0,emitter:new A.__emitter(A),value:R(e),illegal:!1,top:l};return t.emitter.addText(e),t}(t),n=e.filter(j).filter(f).map(e=>O(e,t,!1)),s=(n.unshift(r),n.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(j(e.language).supersetOf===t.language)return 1;if(j(t.language).supersetOf===e.language)return-1}return 0})),[o,i]=s,a=o;return a.second_best=i,a}const e={"before:highlightElement":({el:e})=>{A.useBR&&(e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n"))},"after:highlightElement":({result:e})=>{A.useBR&&(e.value=e.value.replace(/\n/g,"<br>"))}},r=/^(<[^>]+>|\t)+/gm,s={"after:highlightElement":({result:e})=>{A.tabReplace&&(e.value=e.value.replace(r,e=>e.replace(/\t/g,A.tabReplace)))}};function c(e){var t,r,n,s=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";var r=A.languageDetectRe.exec(t);if(r){const t=j(r[1]);return t||(T(k.replace("{}",r[1])),T("Falling back to no-highlight mode for this block.",e)),t?r[1]:"no-highlight"}return t.split(/\s+/).find(e=>i(e)||j(e))}(e);i(s)||(m("before:highlightElement",{el:e,language:s}),r=e.textContent,m("after:highlightElement",{el:e,result:t=s?a(r,{language:s,ignoreIllegals:!0}):C(r),text:r}),e.innerHTML=t.value,r=e,s=s,n=t.language,s=s?o[s]:n,r.classList.add("hljs"),s&&r.classList.add(s),e.result={language:t.language,re:t.relevance,relavance:t.relevance},t.second_best&&(e.second_best={language:t.second_best.language,re:t.second_best.relevance,relavance:t.second_best.relevance}))}const u=()=>{u.called||(u.called=!0,M("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(c))};let p=!1;function h(){"loading"===document.readyState?p=!0:document.querySelectorAll("pre code").forEach(c)}function j(e){return e=(e||"").toLowerCase(),x[e]||x[o[e]]}function d(e,{languageName:t}){(e="string"==typeof e?[e]:e).forEach(e=>{o[e.toLowerCase()]=t})}function f(e){e=j(e);return e&&!e.disableAutodetect}function m(e,t){const r=e;S.forEach(function(e){e[r]&&e[r](t)})}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function(){p&&h()},!1),Object.assign(n,{highlight:a,highlightAuto:C,highlightAll:h,fixMarkup:function(e){return M("10.2.0","fixMarkup will be removed entirely in v11.0"),M("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),e=e,A.tabReplace||A.useBR?e.replace(t,e=>"\n"===e?A.useBR?"<br>":e:A.tabReplace?e.replace(/\t/g,A.tabReplace):e):e},highlightElement:c,highlightBlock:function(e){return M("10.7.0","highlightBlock will be removed entirely in v12.0"),M("10.7.0","Please use highlightElement now."),c(e)},configure:function(e){e.useBR&&(M("10.3.0","'useBR' will be removed entirely in v11.0"),M("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),A=D(A,e)},initHighlighting:u,initHighlightingOnLoad:function(){M("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),p=!0},registerLanguage:function(t,e){let r=null;try{r=e(n)}catch(e){if(I("Language definition for '{}' could not be registered.".replace("{}",t)),!_)throw e;I(e),r=l}r.name||(r.name=t),(x[t]=r).rawDefinition=e.bind(null,n),r.aliases&&d(r.aliases,{languageName:t})},unregisterLanguage:function(e){delete x[e];for(const t of Object.keys(o))o[t]===e&&delete o[t]},listLanguages:function(){return Object.keys(x)},getLanguage:j,registerAliases:d,requireLanguage:function(e){M("10.4.0","requireLanguage will be removed entirely in v11."),M("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");var t=j(e);if(t)return t;throw new Error("The '{}' language is required, but not loaded.".replace("{}",e))},autoDetection:f,inherit:D,addPlugin:function(e){var t;(t=e)["before:highlightBlock"]&&!t["before:highlightElement"]&&(t["before:highlightElement"]=e=>{t["before:highlightBlock"](Object.assign({block:e.el},e))}),t["after:highlightBlock"]&&!t["after:highlightElement"]&&(t["after:highlightElement"]=e=>{t["after:highlightBlock"](Object.assign({block:e.el},e))}),S.push(e)},vuePlugin:H(n).VuePlugin}),n.debugMode=function(){_=!1},n.safeMode=function(){_=!0},n.versionString="10.7.3";for(const n in N)"object"==typeof N[n]&&g(N[n]);return Object.assign(n,N),n.addPlugin(e),n.addPlugin(G),n.addPlugin(s),n}({});e.exports=Y},35344:e=>{e.exports=function(e){var t={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[t]}]};Object.assign(t,{className:"variable",variants:[{begin:[/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])"].map(e=>{return e?"string"==typeof e?e:e.source:null}).join("")},r]});const n={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},o={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t,n]};n.contains.push(o);var r={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,t]},i=e.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),a={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[i,e.SHEBANG(),a,r,e.HASH_COMMENT_MODE,s,o,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},t]}}},73402:e=>{e.exports=function(e){var t="HTTP/(2|1\\.[01])",r={className:"attribute",begin:["^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"].map(e=>{return e?"string"==typeof e?e:e.source:null}).join(""),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},n=[r,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+t+" \\d{3})",end:/$/,contains:[{className:"meta",begin:t},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:n}},{begin:"(?=^[A-Z]+ (.*?) "+t+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:t},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:n}},e.inherit(r,{relevance:0})]}}},95089:e=>{const b="[A-Za-z$_][0-9A-Za-z$_]*",w=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],E=["true","false","null","undefined","NaN","Infinity"],x=[].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 S(e){return _("(?=",e,")")}function _(...e){return e.map(e=>{return e?"string"==typeof e?e:e.source:null}).join("")}e.exports=function(e){const t=b,r=/<[A-Za-z0-9\\._:-]+/,n=/\/[A-Za-z0-9\\._:-]+>|\/>/,s=(e,t)=>{var r=e[0].length+e.index,n=e.input[r];"<"!==n?">"===n&&([n,e]=[e,{after:r}["after"]],r="</"+n[0].slice(1),-1===n.input.indexOf(r,e)&&t.ignoreMatch()):t.ignoreMatch()},o={$pattern:b,keyword:w,literal:E,built_in:x},i="[0-9](_?[0-9])*",a=`\\.(${i})`,l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${l})((${a})|\\.)?|(${a}))[eE][+-]?(${i})\\b`},{begin:`\\b(${l})\\b((${a})\\b|\\.)?|(${a})\\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},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},p={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},h={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},d={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},f={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:t+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},m=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,h,d,c,e.REGEXP_MODE],g=(u.contains=m.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(m)}),[].concat(f,u.contains)),y=g.concat([{begin:/\(/,end:/\)/,keywords:o,contains:["self"].concat(g)}]),v={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:y};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:y},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,h,d,f,c,{begin:_(/[{,\n]\s*/,S(_(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,t+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:t+S("\\s*:"),relevance:0}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[f,e.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:y}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:"<>",end:"</>"},{begin:r,"on:begin":s,end:n}],subLanguage:"xml",contains:[{begin:r,end:n,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:o,contains:["self",e.inherit(e.TITLE_MODE,{begin:t}),v],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[v,e.inherit(e.TITLE_MODE,{begin:t})]},{variants:[{begin:"\\."+t},{begin:"\\$"+t}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:t}),"self",v]},{begin:"(get|set)\\s+(?="+t+"\\()",end:/\{/,keywords:"get set",contains:[e.inherit(e.TITLE_MODE,{begin:t}),{begin:/\(\)/},v]},{begin:/\$[(.]/}]}}},65772:e=>{e.exports=function(e){const t={literal:"true false null"},r=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],n=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],s={end:",",endsWithParent:!0,excludeEnd:!0,contains:n,keywords:t},o={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n"},e.inherit(s,{begin:/:/})].concat(r),illegal:"\\S"},i={begin:"\\[",end:"\\]",contains:[e.inherit(s)],illegal:"\\S"};return n.push(o,i),r.forEach(function(e){n.push(e)}),{name:"JSON",contains:n,keywords:t,illegal:"\\S"}}},26571:e=>{e.exports=function(e){const t={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},r={begin:"`[\\s\\S]",relevance:0},n={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},s={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[r,n,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},o={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},i=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),a={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]+")}]},l={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},c={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:[n]}]},u={begin:/using\s/,end:/$/,returnBegin:!0,contains:[s,o,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},p={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}]},h={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(t.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},d=[h,i,r,e.NUMBER_MODE,s,o,a,n,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],f={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",d,{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 h.contains.unshift(f),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:t,contains:d.concat(l,c,u,p,f)}}},17285:e=>{function l(e){return e?"string"==typeof e?e:e.source:null}function c(e){return u("(?=",e,")")}function u(...e){return e.map(e=>l(e)).join("")}e.exports=function(e){var t=u(/[A-Z_]/,u("(",/[A-Z0-9_.-]*:/,")?"),/[A-Z0-9_.-]*/),r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},n={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=e.inherit(n,{begin:/\(/,end:/\)/}),o=e.inherit(e.APOS_STRING_MODE,{className:"meta-string"}),i=e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),a={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:[r]},{begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[n,i,o,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[n,s,i,o]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},r,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[a],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[a],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:u(/</,c(u(t,"("+[/\/>/,/>/,/\s/].map(e=>l(e)).join("|")+")"))),end:/\/?>/,contains:[{className:"name",begin:t,relevance:0,starts:a}]},{className:"tag",begin:u(/<\//,c(u(t,/>/))),contains:[{className:"name",begin:t,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},17533:e=>{e.exports=function(e){var t="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",n={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},s=e.inherit(n,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),o={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},r=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},{begin:/\{/,end:/\}/,contains:[o],illegal:"\\n",relevance:0},{begin:"\\[",end:"\\]",contains:[o],illegal:"\\n",relevance:0},n],t=[...r];return t.pop(),t.push(s),o.contains=t,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:r}}},251:(e,t)=>{t.read=function(e,t,r,n,s){var o,i,a=8*s-n-1,l=(1<<a)-1,c=l>>1,u=-7,p=r?s-1:0,h=r?-1:1,s=e[t+p];for(p+=h,o=s&(1<<-u)-1,s>>=-u,u+=a;0<u;o=256*o+e[t+p],p+=h,u-=8);for(i=o&(1<<-u)-1,o>>=-u,u+=n;0<u;i=256*i+e[t+p],p+=h,u-=8);if(0===o)o=1-c;else{if(o===l)return i?NaN:1/0*(s?-1:1);i+=Math.pow(2,n),o-=c}return(s?-1:1)*i*Math.pow(2,o-n)},t.write=function(e,t,r,n,s,o){var i,a,l=8*o-s-1,c=(1<<l)-1,u=c>>1,p=23===s?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:o-1,d=n?1:-1,o=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(n=Math.pow(2,-i))<1&&(i--,n*=2),2<=(t+=1<=i+u?p/n:p*Math.pow(2,1-u))*n&&(i++,n/=2),c<=i+u?(a=0,i=c):1<=i+u?(a=(t*n-1)*Math.pow(2,s),i+=u):(a=t*Math.pow(2,u-1)*Math.pow(2,s),i=0));8<=s;e[r+h]=255&a,h+=d,a/=256,s-=8);for(i=i<<s|a,l+=s;0<l;e[r+h]=255&i,h+=d,i/=256,l-=8);e[r+h-d]|=128*o}},9404:function(e){e.exports=function(){"use strict";var n=Array.prototype.slice;function e(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function l(e){return u(e)?e:r(e)}function a(e){return c(e)?e:pe(e)}function D(e){return p(e)?e:g(e)}function s(e){return u(e)&&!L(e)?e:he(e)}function u(e){return!(!e||!e[B])}function c(e){return!(!e||!e[$])}function p(e){return!(!e||!e[q])}function L(e){return c(e)||p(e)}function F(e){return!(!e||!e[U])}e(a,l),e(D,l),e(s,l),l.isIterable=u,l.isKeyed=c,l.isIndexed=p,l.isAssociative=L,l.isOrdered=F,l.Keyed=a,l.Indexed=D,l.Set=s;var B="@@__IMMUTABLE_ITERABLE__@@",$="@@__IMMUTABLE_KEYED__@@",q="@@__IMMUTABLE_INDEXED__@@",U="@@__IMMUTABLE_ORDERED__@@",t="delete",w=5,E=1<<w,x=E-1,S={},z={value:!1},V={value:!1};function K(e){return e.value=!1,e}function y(e){e&&(e.value=!0)}function W(){}function J(e,t){t=t||0;for(var r=Math.max(0,e.length-t),n=new Array(r),s=0;s<r;s++)n[s]=e[s+t];return n}function H(e){return void 0===e.size&&(e.size=e.__iterate(Y)),e.size}function G(e,t){if("number"!=typeof t){var r=t>>>0;if(""+r!==t||4294967295==r)return NaN;t=r}return t<0?H(e)+t:t}function Y(){return!0}function X(e,t,r){return(0===e||void 0!==r&&e<=-r)&&(void 0===t||void 0!==r&&r<=t)}function Q(e,t){return ee(e,t,0)}function Z(e,t){return ee(e,t,t)}function ee(e,t,r){return void 0===e?r:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var te=0,h=1,re=2,ne="function"==typeof Symbol&&Symbol.iterator,se="@@iterator",oe=ne||se;function d(e){this.next=e}function f(e,t,r,n){e=0===e?t:1===e?r:[t,r];return n?n.value=e:n={value:e,done:!1},n}function m(){return{value:void 0,done:!0}}function ie(e){return ce(e)}function ae(e){return e&&"function"==typeof e.next}function le(e){var t=ce(e);return t&&t.call(e)}function ce(e){e=e&&(ne&&e[ne]||e[se]);if("function"==typeof e)return e}function ue(e){return e&&"number"==typeof e.length}function r(e){{if(null==e)return xe();if(u(e))return e.toSeq();var t=ke(e)||"object"==typeof e&&new ve(e);if(t)return t;throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e)}}function pe(e){return null==e?xe().toKeyedSeq():u(e)?c(e)?e.toSeq():e.fromEntrySeq():Se(e)}function g(e){return null==e?xe():u(e)?c(e)?e.entrySeq():e.toIndexedSeq():_e(e)}function he(e){return(null==e?xe():u(e)?c(e)?e.entrySeq():e:_e(e)).toSetSeq()}d.prototype.toString=function(){return"[Iterator]"},d.KEYS=te,d.VALUES=h,d.ENTRIES=re,d.prototype.inspect=d.prototype.toSource=function(){return this.toString()},d.prototype[oe]=function(){return this},e(r,l),r.of=function(){return r(arguments)},r.prototype.toSeq=function(){return this},r.prototype.toString=function(){return this.__toString("Seq {","}")},r.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},r.prototype.__iterate=function(e,t){return Ae(this,e,t,!0)},r.prototype.__iterator=function(e,t){return Oe(this,e,t,!0)},e(pe,r),pe.prototype.toKeyedSeq=function(){return this},e(g,r),g.of=function(){return g(arguments)},g.prototype.toIndexedSeq=function(){return this},g.prototype.toString=function(){return this.__toString("Seq [","]")},g.prototype.__iterate=function(e,t){return Ae(this,e,t,!1)},g.prototype.__iterator=function(e,t){return Oe(this,e,t,!1)},e(he,r),he.of=function(){return he(arguments)},he.prototype.toSetSeq=function(){return this},r.isSeq=Ee,r.Keyed=pe,r.Set=he,r.Indexed=g;var de,fe,me,ge="@@__IMMUTABLE_SEQ__@@";function ye(e){this._array=e,this.size=e.length}function ve(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function be(e){this._iterable=e,this.size=e.length||e.size}function we(e){this._iterator=e,this._iteratorCache=[]}function Ee(e){return!(!e||!e[ge])}function xe(){return de=de||new ye([])}function Se(e){var t=Array.isArray(e)?new ye(e).fromEntrySeq():ae(e)?new we(e).fromEntrySeq():ie(e)?new be(e).fromEntrySeq():"object"==typeof e?new ve(e):void 0;if(t)return t;throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e)}function _e(e){var t=ke(e);if(t)return t;throw new TypeError("Expected Array or iterable object of values: "+e)}function ke(e){return ue(e)?new ye(e):ae(e)?new we(e):ie(e)?new be(e):void 0}function Ae(e,t,r,n){var s=e._cache;if(s){for(var o=s.length-1,i=0;i<=o;i++){var a=s[r?o-i:i];if(!1===t(a[1],n?a[0]:i,e))return i+1}return i}return e.__iterateUncached(t,r)}function Oe(e,t,r,n){var s,o,i=e._cache;return i?(s=i.length-1,o=0,new d(function(){var e=i[r?s-o:o];return o++>s?m():f(t,n?e[0]:o-1,e[1])})):e.__iteratorUncached(t,r)}function Ce(e,t){return t?function r(n,s,e,t){return Array.isArray(s)?n.call(t,e,g(s).map(function(e,t){return r(n,e,t,s)})):Pe(s)?n.call(t,e,pe(s).map(function(e,t){return r(n,e,t,s)})):s}(t,e,"",{"":e}):je(e)}function je(e){return Array.isArray(e)?g(e).map(je).toList():Pe(e)?pe(e).map(je).toMap():e}function Pe(e){return e&&(e.constructor===Object||void 0===e.constructor)}function v(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function Ne(r,e){if(r===e)return!0;if(!u(e)||void 0!==r.size&&void 0!==e.size&&r.size!==e.size||void 0!==r.__hash&&void 0!==e.__hash&&r.__hash!==e.__hash||c(r)!==c(e)||p(r)!==p(e)||F(r)!==F(e))return!1;if(0===r.size&&0===e.size)return!0;var n,s=!L(r);if(F(r))return n=r.entries(),e.every(function(e,t){var r=n.next().value;return r&&v(r[1],e)&&(s||v(r[0],t))})&&n.next().done;var o=!1,i=(void 0===r.size&&(void 0===e.size?"function"==typeof r.cacheResult&&r.cacheResult():(o=!0,t=r,r=e,e=t)),!0),t=e.__iterate(function(e,t){if(s?!r.has(e):o?!v(e,r.get(t,S)):!v(r.get(t,S),e))return i=!1});return i&&r.size===t}function o(e,t){if(!(this instanceof o))return new o(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(fe)return fe;fe=this}}function Ie(e,t){if(!e)throw new Error(t)}function i(e,t,r){if(!(this instanceof i))return new i(e,t,r);if(Ie(0!==r,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),r=void 0===r?1:Math.abs(r),t<e&&(r=-r),this._start=e,this._end=t,this._step=r,this.size=Math.max(0,Math.ceil((t-e)/r-1)+1),0===this.size){if(me)return me;me=this}}function Te(){throw TypeError("Abstract")}function Me(){}function Re(){}function De(){}r.prototype[ge]=!0,e(ye,g),ye.prototype.get=function(e,t){return this.has(e)?this._array[G(this,e)]:t},ye.prototype.__iterate=function(e,t){for(var r=this._array,n=r.length-1,s=0;s<=n;s++)if(!1===e(r[t?n-s:s],s,this))return s+1;return s},ye.prototype.__iterator=function(e,t){var r=this._array,n=r.length-1,s=0;return new d(function(){return n<s?m():f(e,s,r[t?n-s++:s++])})},e(ve,pe),ve.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ve.prototype.has=function(e){return this._object.hasOwnProperty(e)},ve.prototype.__iterate=function(e,t){for(var r=this._object,n=this._keys,s=n.length-1,o=0;o<=s;o++){var i=n[t?s-o:o];if(!1===e(r[i],i,this))return o+1}return o},ve.prototype.__iterator=function(t,r){var n=this._object,s=this._keys,o=s.length-1,i=0;return new d(function(){var e=s[r?o-i:i];return i++>o?m():f(t,e,n[e])})},ve.prototype[U]=!0,e(be,g),be.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var r,n=le(this._iterable),s=0;if(ae(n))for(;!(r=n.next()).done&&!1!==e(r.value,s++,this););return s},be.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=le(this._iterable);if(!ae(r))return new d(m);var n=0;return new d(function(){var e=r.next();return e.done?e:f(t,n++,e.value)})},e(we,g),we.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var r=this._iterator,n=this._iteratorCache,s=0;s<n.length;)if(!1===e(n[s],s++,this))return s;for(;!(o=r.next()).done;){var o=o.value;if(!1===e(n[s]=o,s++,this))break}return s},we.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=this._iterator,n=this._iteratorCache,s=0;return new d(function(){if(s>=n.length){var e=r.next();if(e.done)return e;n[s]=e.value}return f(t,s,n[s++])})},e(o,g),o.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},o.prototype.get=function(e,t){return this.has(e)?this._value:t},o.prototype.includes=function(e){return v(this._value,e)},o.prototype.slice=function(e,t){var r=this.size;return X(e,t,r)?this:new o(this._value,Z(t,r)-Q(e,r))},o.prototype.reverse=function(){return this},o.prototype.indexOf=function(e){return v(this._value,e)?0:-1},o.prototype.lastIndexOf=function(e){return v(this._value,e)?this.size:-1},o.prototype.__iterate=function(e,t){for(var r=0;r<this.size;r++)if(!1===e(this._value,r,this))return r+1;return r},o.prototype.__iterator=function(e,t){var r=this,n=0;return new d(function(){return n<r.size?f(e,n++,r._value):m()})},o.prototype.equals=function(e){return e instanceof o?v(this._value,e._value):Ne(e)},e(i,g),i.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},i.prototype.get=function(e,t){return this.has(e)?this._start+G(this,e)*this._step:t},i.prototype.includes=function(e){e=(e-this._start)/this._step;return 0<=e&&e<this.size&&e===Math.floor(e)},i.prototype.slice=function(e,t){return X(e,t,this.size)?this:(e=Q(e,this.size),(t=Z(t,this.size))<=e?new i(0,0):new i(this.get(e,this._end),this.get(t,this._end),this._step))},i.prototype.indexOf=function(e){e-=this._start;if(e%this._step==0){e=e/this._step;if(0<=e&&e<this.size)return e}return-1},i.prototype.lastIndexOf=function(e){return this.indexOf(e)},i.prototype.__iterate=function(e,t){for(var r=this.size-1,n=this._step,s=t?this._start+r*n:this._start,o=0;o<=r;o++){if(!1===e(s,o,this))return o+1;s+=t?-n:n}return o},i.prototype.__iterator=function(t,r){var n=this.size-1,s=this._step,o=r?this._start+n*s:this._start,i=0;return new d(function(){var e=o;return o+=r?-s:s,n<i?m():f(t,i++,e)})},i.prototype.equals=function(e){return e instanceof i?this._start===e._start&&this._end===e._end&&this._step===e._step:Ne(this,e)},e(Te,l),e(Me,Te),e(Re,Te),e(De,Te),Te.Keyed=Me,Te.Indexed=Re,Te.Set=De;var Le="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var r=65535&(e|=0),n=65535&(t|=0);return r*n+((e>>>16)*n+r*(t>>>16)<<16>>>0)|0};function Fe(e){return e>>>1&1073741824|3221225471&e}function _(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t,r,n=typeof e;if("number"==n){if(e!=e||e===1/0)return 0;var s=0|e;for(s!==e&&(s^=4294967295*e);4294967295<e;)s^=e/=4294967295;return Fe(s)}if("string"==n)return e.length>We?(void 0===(t=Ge[o=e])&&(t=Be(o),He===Je&&(He=0,Ge={}),He++,Ge[o]=t),t):Be(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"==n){var o=e;if(ze&&void 0!==(r=Ue.get(o)))return r;if(void 0!==(r=o[Ke]))return r;if(!qe){if(void 0!==(r=o.propertyIsEnumerable&&o.propertyIsEnumerable[Ke]))return r;if(void 0!==(r=function(e){if(e&&0<e.nodeType)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(o)))return r}if(r=++Ve,1073741824&Ve&&(Ve=0),ze)Ue.set(o,r);else{if(void 0!==$e&&!1===$e(o))throw new Error("Non-extensible objects are not allowed as keys.");if(qe)Object.defineProperty(o,Ke,{enumerable:!1,configurable:!1,writable:!1,value:r});else if(void 0!==o.propertyIsEnumerable&&o.propertyIsEnumerable===o.constructor.prototype.propertyIsEnumerable)o.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},o.propertyIsEnumerable[Ke]=r;else{if(void 0===o.nodeType)throw new Error("Unable to set a non-enumerable property on object.");o[Ke]=r}}return r}if("function"==typeof e.toString)return Be(e.toString());throw new Error("Value type "+n+" cannot be hashed.")}function Be(e){for(var t=0,r=0;r<e.length;r++)t=31*t+e.charCodeAt(r)|0;return Fe(t)}var $e=Object.isExtensible,qe=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var Ue,ze="function"==typeof WeakMap,Ve=(ze&&(Ue=new WeakMap),0),Ke="__immutablehash__",We=("function"==typeof Symbol&&(Ke=Symbol(Ke)),16),Je=255,He=0,Ge={};function b(e){Ie(e!==1/0,"Cannot perform this action with an infinite size.")}function k(t){return null==t?lt():Ye(t)&&!F(t)?t:lt().withMutations(function(r){var e=a(t);b(e.size),e.forEach(function(e,t){return r.set(t,e)})})}function Ye(e){return!(!e||!e[Qe])}e(k,Me),k.of=function(){var r=n.call(arguments,0);return lt().withMutations(function(e){for(var t=0;t<r.length;t+=2){if(t+1>=r.length)throw new Error("Missing value for key: "+r[t]);e.set(r[t],r[t+1])}})},k.prototype.toString=function(){return this.__toString("Map {","}")},k.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},k.prototype.set=function(e,t){return ct(this,e,t)},k.prototype.setIn=function(e,t){return this.updateIn(e,S,function(){return t})},k.prototype.remove=function(e){return ct(this,e,S)},k.prototype.deleteIn=function(e){return this.updateIn(e,function(){return S})},k.prototype.update=function(e,t,r){return 1===arguments.length?e(this):this.updateIn([e],t,r)},k.prototype.updateIn=function(e,t,r){r||(r=t,t=void 0);e=function e(t,r,n,s){var o=t===S,i=r.next();if(i.done)return(l=s(a=o?n:t))===a?t:l;Ie(o||t&&t.set,"invalid keyPath");var a=i.value,l=o?S:t.get(a,S),i=e(l,r,n,s);return i===l?t:i===S?t.remove(a):(o?lt():t).set(a,i)}(this,lr(e),t,r);return e===S?void 0:e},k.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):lt()},k.prototype.merge=function(){return dt(this,void 0,arguments)},k.prototype.mergeWith=function(e){return dt(this,e,n.call(arguments,1))},k.prototype.mergeIn=function(e){var t=n.call(arguments,1);return this.updateIn(e,lt(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},k.prototype.mergeDeep=function(){return dt(this,ft,arguments)},k.prototype.mergeDeepWith=function(e){return dt(this,mt(e),n.call(arguments,1))},k.prototype.mergeDeepIn=function(e){var t=n.call(arguments,1);return this.updateIn(e,lt(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},k.prototype.sort=function(e){return j(Qt(this,e))},k.prototype.sortBy=function(e,t){return j(Qt(this,t,e))},k.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},k.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new W)},k.prototype.asImmutable=function(){return this.__ensureOwner()},k.prototype.wasAltered=function(){return this.__altered},k.prototype.__iterator=function(e,t){return new st(this,e,t)},k.prototype.__iterate=function(t,e){var r=this,n=0;return this._root&&this._root.iterate(function(e){return n++,t(e[1],e[0],r)},e),n},k.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?at(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},k.isMap=Ye;var Xe,Qe="@@__IMMUTABLE_MAP__@@",A=k.prototype;function Ze(e,t){this.ownerID=e,this.entries=t}function et(e,t,r){this.ownerID=e,this.bitmap=t,this.nodes=r}function tt(e,t,r){this.ownerID=e,this.count=t,this.nodes=r}function rt(e,t,r){this.ownerID=e,this.keyHash=t,this.entries=r}function nt(e,t,r){this.ownerID=e,this.keyHash=t,this.entry=r}function st(e,t,r){this._type=t,this._reverse=r,this._stack=e._root&&it(e._root)}function ot(e,t){return f(e,t[0],t[1])}function it(e,t){return{node:e,index:0,__prev:t}}function at(e,t,r,n){var s=Object.create(A);return s.size=e,s._root=t,s.__ownerID=r,s.__hash=n,s.__altered=!1,s}function lt(){return Xe=Xe||at(0)}function ct(e,t,r){if(e._root){var n=K(z),s=K(V),o=ut(e._root,e.__ownerID,0,void 0,t,r,n,s);if(!s.value)return e;s=e.size+(n.value?r===S?-1:1:0)}else{if(r===S)return e;s=1,o=new Ze(e.__ownerID,[[t,r]])}return e.__ownerID?(e.size=s,e._root=o,e.__hash=void 0,e.__altered=!0,e):o?at(s,o):lt()}function ut(e,t,r,n,s,o,i,a){return e?e.update(t,r,n,s,o,i,a):o===S?e:(y(a),y(i),new nt(t,n,[s,o]))}function pt(e){return e.constructor===nt||e.constructor===rt}function ht(e,t,r,n,s){if(e.keyHash===n)return new rt(t,n,[e.entry,s]);var o=(0===r?e.keyHash:e.keyHash>>>r)&x,i=(0===r?n:n>>>r)&x;return new et(t,1<<o|1<<i,o==i?[ht(e,t,r+w,n,s)]:(r=new nt(t,n,s),o<i?[e,r]:[r,e]))}function dt(e,t,r){for(var n=[],s=0;s<r.length;s++){var o=r[s],i=a(o);u(o)||(i=i.map(function(e){return Ce(e)})),n.push(i)}return gt(e,t,n)}function ft(e,t,r){return e&&e.mergeDeep&&u(t)?e.mergeDeep(t):v(e,t)?e:t}function mt(n){return function(e,t,r){if(e&&e.mergeDeepWith&&u(t))return e.mergeDeepWith(n,t);t=n(e,t,r);return v(e,t)?e:t}}function gt(e,s,r){return 0===(r=r.filter(function(e){return 0!==e.size})).length?e:0!==e.size||e.__ownerID||1!==r.length?e.withMutations(function(n){for(var e=s?function(t,r){n.update(r,S,function(e){return e===S?t:s(e,t,r)})}:function(e,t){n.set(t,e)},t=0;t<r.length;t++)r[t].forEach(e)}):e.constructor(r[0])}function yt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,127&(e+=e>>8)+(e>>16)}function vt(e,t,r,n){n=n?e:J(e);return n[t]=r,n}A[Qe]=!0,A[t]=A.remove,A.removeIn=A.deleteIn,Ze.prototype.get=function(e,t,r,n){for(var s=this.entries,o=0,i=s.length;o<i;o++)if(v(r,s[o][0]))return s[o][1];return n},Ze.prototype.update=function(e,t,r,n,s,o,i){for(var a=s===S,l=this.entries,c=0,u=l.length;c<u&&!v(n,l[c][0]);c++);var p=c<u;if(p?l[c][1]===s:a)return this;if(y(i),!a&&p||y(o),!a||1!==l.length){if(!p&&!a&&l.length>=bt){for(var h=e,d=l,i=n,o=s,f=new nt(h=h||new W,_(i),[i,o]),m=0;m<d.length;m++)var g=d[m],f=f.update(h,0,void 0,g[0],g[1]);return f}return i=e&&e===this.ownerID,o=i?l:J(l),p?a?c===u-1?o.pop():o[c]=o.pop():o[c]=[n,s]:o.push([n,s]),i?(this.entries=o,this):new Ze(e,o)}},et.prototype.get=function(e,t,r,n){void 0===t&&(t=_(r));var s=1<<((0===e?t:t>>>e)&x),o=this.bitmap;return o&s?this.nodes[yt(o&s-1)].get(e+w,t,r,n):n},et.prototype.update=function(e,t,r,n,s,o,i){void 0===r&&(r=_(n));var a=(0===t?r:r>>>t)&x,l=1<<a,c=this.bitmap,u=!!(c&l);if(!u&&s===S)return this;var p=yt(c&l-1),h=this.nodes,d=u?h[p]:void 0,t=ut(d,e,t+w,r,n,s,o,i);if(t===d)return this;if(!u&&t&&h.length>=wt){for(var r=e,f=h,m=c,n=a,s=t,g=0,y=new Array(E),v=0;0!==m;v++,m>>>=1)y[v]=1&m?f[g++]:void 0;return y[n]=s,new tt(r,g+1,y)}if(u&&!t&&2===h.length&&pt(h[1^p]))return h[1^p];if(u&&t&&1===h.length&&pt(t))return t;o=e&&e===this.ownerID,i=u?t?c:c^l:c|l,d=u?t?vt(h,p,t,o):function(e,t,r){var n=e.length-1;if(r&&t===n)return e.pop(),e;for(var s=new Array(n),o=0,i=0;i<n;i++)s[i]=e[i+(o=i===t?1:o)];return s}(h,p,o):function(e,t,r,n){var s=e.length+1;if(n&&t+1===s)return e[t]=r,e;for(var o=new Array(s),i=0,a=0;a<s;a++)a===t?(o[a]=r,i=-1):o[a]=e[a+i];return o}(h,p,t,o);return o?(this.bitmap=i,this.nodes=d,this):new et(e,i,d)},tt.prototype.get=function(e,t,r,n){void 0===t&&(t=_(r));var s=this.nodes[(0===e?t:t>>>e)&x];return s?s.get(e+w,t,r,n):n},tt.prototype.update=function(e,t,r,n,s,o,i){void 0===r&&(r=_(n));var a=(0===t?r:r>>>t)&x,l=s===S,c=this.nodes,u=c[a];if(l&&!u)return this;l=ut(u,e,t+w,r,n,s,o,i);if(l===u)return this;t=this.count;if(u){if(!l&&--t<Et){r=e;var p=c;n=t;var h=a;for(var d=0,f=0,m=new Array(n),g=0,y=1,v=p.length;g<v;g++,y<<=1){var b=p[g];void 0!==b&&g!==h&&(d|=y,m[f++]=b)}return new et(r,d,m);return}}else t++;s=e&&e===this.ownerID,o=vt(c,a,l,s);return s?(this.count=t,this.nodes=o,this):new tt(e,t,o)},rt.prototype.get=function(e,t,r,n){for(var s=this.entries,o=0,i=s.length;o<i;o++)if(v(r,s[o][0]))return s[o][1];return n},rt.prototype.update=function(e,t,r,n,s,o,i){void 0===r&&(r=_(n));var a=s===S;if(r!==this.keyHash)return a?this:(y(i),y(o),ht(this,e,t,r,[n,s]));for(var l=this.entries,c=0,u=l.length;c<u&&!v(n,l[c][0]);c++);t=c<u;if(t?l[c][1]===s:a)return this;if(y(i),!a&&t||y(o),a&&2===u)return new nt(e,this.keyHash,l[1^c]);r=e&&e===this.ownerID,i=r?l:J(l);return t?a?c===u-1?i.pop():i[c]=i.pop():i[c]=[n,s]:i.push([n,s]),r?(this.entries=i,this):new rt(e,this.keyHash,i)},nt.prototype.get=function(e,t,r,n){return v(r,this.entry[0])?this.entry[1]:n},nt.prototype.update=function(e,t,r,n,s,o,i){var a=s===S,l=v(n,this.entry[0]);return(l?s===this.entry[1]:a)?this:(y(i),a?void y(o):l?e&&e===this.ownerID?(this.entry[1]=s,this):new nt(e,this.keyHash,[n,s]):(y(o),ht(this,e,t,_(n),[n,s])))},Ze.prototype.iterate=rt.prototype.iterate=function(e,t){for(var r=this.entries,n=0,s=r.length-1;n<=s;n++)if(!1===e(r[t?s-n:n]))return!1},et.prototype.iterate=tt.prototype.iterate=function(e,t){for(var r=this.nodes,n=0,s=r.length-1;n<=s;n++){var o=r[t?s-n:n];if(o&&!1===o.iterate(e,t))return!1}},nt.prototype.iterate=function(e,t){return e(this.entry)},e(st,d),st.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var r,n=t.node,s=t.index++;if(n.entry){if(0==s)return ot(e,n.entry)}else if(n.entries){if(s<=(r=n.entries.length-1))return ot(e,n.entries[this._reverse?r-s:s])}else if(s<=(r=n.nodes.length-1)){n=n.nodes[this._reverse?r-s:s];if(n){if(n.entry)return ot(e,n.entry);t=this._stack=it(n,t)}continue}t=this._stack=this._stack.__prev}return m()};var bt=E/4,wt=E/2,Et=E/4;function O(e){var t=Pt();if(null==e)return t;if(xt(e))return e;var n=D(e),s=n.size;return 0===s?t:(b(s),0<s&&s<E?jt(0,s,w,null,new _t(n.toArray())):t.withMutations(function(r){r.setSize(s),n.forEach(function(e,t){return r.set(t,e)})}))}function xt(e){return!(!e||!e[St])}e(O,Re),O.of=function(){return this(arguments)},O.prototype.toString=function(){return this.__toString("List [","]")},O.prototype.get=function(e,t){var r;return 0<=(e=G(this,e))&&e<this.size?(r=Tt(this,e+=this._origin))&&r.array[e&x]:t},O.prototype.set=function(e,t){var r=this,n=e,s=t;if((n=G(r,n))!=n)return r;if(n>=r.size||n<0)return r.withMutations(function(e){n<0?Mt(e,n).set(0,s):Mt(e,0,n+1).set(n,s)});n+=r._origin;var e=r._tail,t=r._root,o=K(V);return n>=Dt(r._capacity)?e=Nt(e,r.__ownerID,0,n,s,o):t=Nt(t,r.__ownerID,r._level,n,s,o),o.value?r.__ownerID?(r._root=t,r._tail=e,r.__hash=void 0,r.__altered=!0,r):jt(r._origin,r._capacity,r._level,t,e):r},O.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},O.prototype.insert=function(e,t){return this.splice(e,0,t)},O.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=w,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Pt()},O.prototype.push=function(){var r=arguments,n=this.size;return this.withMutations(function(e){Mt(e,0,n+r.length);for(var t=0;t<r.length;t++)e.set(n+t,r[t])})},O.prototype.pop=function(){return Mt(this,0,-1)},O.prototype.unshift=function(){var r=arguments;return this.withMutations(function(e){Mt(e,-r.length);for(var t=0;t<r.length;t++)e.set(t,r[t])})},O.prototype.shift=function(){return Mt(this,1)},O.prototype.merge=function(){return Rt(this,void 0,arguments)},O.prototype.mergeWith=function(e){return Rt(this,e,n.call(arguments,1))},O.prototype.mergeDeep=function(){return Rt(this,ft,arguments)},O.prototype.mergeDeepWith=function(e){return Rt(this,mt(e),n.call(arguments,1))},O.prototype.setSize=function(e){return Mt(this,0,e)},O.prototype.slice=function(e,t){var r=this.size;return X(e,t,r)?this:Mt(this,Q(e,r),Z(t,r))},O.prototype.__iterator=function(t,e){var r=0,n=Ct(this,e);return new d(function(){var e=n();return e===Ot?m():f(t,r++,e)})},O.prototype.__iterate=function(e,t){for(var r,n=0,s=Ct(this,t);(r=s())!==Ot&&!1!==e(r,n++,this););return n},O.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?jt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},O.isList=xt;var St="@@__IMMUTABLE_LIST__@@",C=O.prototype;function _t(e,t){this.array=e,this.ownerID=t}C[St]=!0,C[t]=C.remove,C.setIn=A.setIn,C.deleteIn=C.removeIn=A.removeIn,C.update=A.update,C.updateIn=A.updateIn,C.mergeIn=A.mergeIn,C.mergeDeepIn=A.mergeDeepIn,C.withMutations=A.withMutations,C.asMutable=A.asMutable,C.asImmutable=A.asImmutable,C.wasAltered=A.wasAltered,_t.prototype.removeBefore=function(e,t,r){if(r===t?1<<t:0===this.array.length)return this;var n=r>>>t&x;if(n>=this.array.length)return new _t([],e);var s,o=0==n;if(0<t){var i=this.array[n];if((s=i&&i.removeBefore(e,t-w,r))===i&&o)return this}if(o&&!s)return this;var a=It(this,e);if(!o)for(var l=0;l<n;l++)a.array[l]=void 0;return s&&(a.array[n]=s),a},_t.prototype.removeAfter=function(e,t,r){if(r===(t?1<<t:0)||0===this.array.length)return this;var n,s=r-1>>>t&x;if(s>=this.array.length)return this;if(0<t){var o=this.array[s];if((n=o&&o.removeAfter(e,t-w,r))===o&&s==this.array.length-1)return this}t=It(this,e);return t.array.splice(1+s),n&&(t.array[s]=n),t};var kt,At,Ot={};function Ct(e,f){var m=e._origin,g=e._capacity,y=Dt(g),v=e._tail;return b(e._root,e._level,0);function b(e,t,r){return 0===t?(c=e,p=(u=r)===y?v&&v.array:c&&c.array,h=m<u?0:m-u,E<(d=g-u)&&(d=E),function(){if(h===d)return Ot;var e=f?--d:h++;return p&&p[e]}):(n=t,s=r,i=(c=e)&&c.array,a=m<s?0:m-s>>n,E<(l=1+(g-s>>n))&&(l=E),function(){for(;;){if(o){var e=o();if(e!==Ot)return e;o=null}if(a===l)return Ot;e=f?--l:a++;o=b(i&&i[e],n-w,s+(e<<n))}});var n,s,o,i,a,l,c,u,p,h,d}}function jt(e,t,r,n,s,o,i){var a=Object.create(C);return a.size=t-e,a._origin=e,a._capacity=t,a._level=r,a._root=n,a._tail=s,a.__ownerID=o,a.__hash=i,a.__altered=!1,a}function Pt(){return kt=kt||jt(0,0,w)}function Nt(e,t,r,n,s,o){var i,a,l=n>>>r&x,c=e&&l<e.array.length;return c||void 0!==s?0<r?(r=Nt(a=e&&e.array[l],t,r-w,n,s,o))===a?e:((i=It(e,t)).array[l]=r,i):c&&e.array[l]===s?e:(y(o),i=It(e,t),void 0===s&&l==i.array.length-1?i.array.pop():i.array[l]=s,i):e}function It(e,t){return t&&e&&t===e.ownerID?e:new _t(e?e.array.slice():[],t)}function Tt(e,t){if(t>=Dt(e._capacity))return e._tail;if(t<1<<e._level+w){for(var r=e._root,n=e._level;r&&0<n;)r=r.array[t>>>n&x],n-=w;return r}}function Mt(e,t,r){void 0!==t&&(t|=0),void 0!==r&&(r|=0);var n=e.__ownerID||new W,s=e._origin,o=e._capacity,i=s+t,t=void 0===r?o:r<0?o+r:s+r;if(i===s&&t===o)return e;if(t<=i)return e.clear();for(var a=e._level,l=e._root,c=0;i+c<0;)l=new _t(l&&l.array.length?[void 0,l]:[],n),c+=1<<(a+=w);c&&(i+=c,s+=c,t+=c,o+=c);for(var u=Dt(o),p=Dt(t);1<<a+w<=p;)l=new _t(l&&l.array.length?[l]:[],n),a+=w;var r=e._tail,h=p<u?Tt(e,t-1):u<p?new _t([],n):r;if(r&&u<p&&i<o&&r.array.length){for(var d=l=It(l,n),f=a;w<f;f-=w)var m=u>>>f&x,d=d.array[m]=It(d.array[m],n);d.array[u>>>w&x]=r}if(t<o&&(h=h&&h.removeAfter(n,0,t)),p<=i)i-=p,t-=p,a=w,l=null,h=h&&h.removeBefore(n,0,i);else if(s<i||p<u){for(c=0;l;){var g=i>>>a&x;if(g!=p>>>a&x)break;g&&(c+=(1<<a)*g),a-=w,l=l.array[g]}(l=l&&s<i?l.removeBefore(n,a,i-c):l)&&p<u&&(l=l.removeAfter(n,a,p-c)),c&&(i-=c,t-=c)}return e.__ownerID?(e.size=t-i,e._origin=i,e._capacity=t,e._level=a,e._root=l,e._tail=h,e.__hash=void 0,e.__altered=!0,e):jt(i,t,a,l,h)}function Rt(e,t,r){for(var n=[],s=0,o=0;o<r.length;o++){var i=r[o],a=D(i);a.size>s&&(s=a.size),u(i)||(a=a.map(function(e){return Ce(e)})),n.push(a)}return gt(e=s>e.size?e.setSize(s):e,t,n)}function Dt(e){return e<E?0:e-1>>>w<<w}function j(t){return null==t?Bt():Lt(t)?t:Bt().withMutations(function(r){var e=a(t);b(e.size),e.forEach(function(e,t){return r.set(t,e)})})}function Lt(e){return Ye(e)&&F(e)}function Ft(e,t,r,n){var s=Object.create(j.prototype);return s.size=e?e.size:0,s._map=e,s._list=t,s.__ownerID=r,s.__hash=n,s}function Bt(){return At=At||Ft(lt(),Pt())}function $t(e,t,r){var n,s,o=e._map,i=e._list,a=o.get(t),l=void 0!==a;if(r===S){if(!l)return e;i.size>=E&&i.size>=2*o.size?(n=(s=i.filter(function(e,t){return void 0!==e&&a!==t})).toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(n.__ownerID=s.__ownerID=e.__ownerID)):(n=o.remove(t),s=a===i.size-1?i.pop():i.set(a,void 0))}else if(l){if(r===i.get(a)[1])return e;n=o,s=i.set(a,[t,r])}else n=o.set(t,i.size),s=i.set(i.size,[t,r]);return e.__ownerID?(e.size=n.size,e._map=n,e._list=s,e.__hash=void 0,e):Ft(n,s)}function qt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Ut(e){this._iter=e,this.size=e.size}function zt(e){this._iter=e,this.size=e.size}function Vt(e){this._iter=e,this.size=e.size}function Kt(s){var e=or(s);return e._iter=s,e.size=s.size,e.flip=function(){return s},e.reverse=function(){var e=s.reverse.apply(this);return e.flip=function(){return s.reverse()},e},e.has=function(e){return s.includes(e)},e.includes=function(e){return s.has(e)},e.cacheResult=ir,e.__iterateUncached=function(r,e){var n=this;return s.__iterate(function(e,t){return!1!==r(t,e,n)},e)},e.__iteratorUncached=function(e,t){var r;return e===re?(r=s.__iterator(e,t),new d(function(){var e,t=r.next();return t.done||(e=t.value[0],t.value[0]=t.value[1],t.value[1]=e),t})):s.__iterator(e===h?te:h,t)},e}function Wt(o,i,a){var e=or(o);return e.size=o.size,e.has=function(e){return o.has(e)},e.get=function(e,t){var r=o.get(e,S);return r===S?t:i.call(a,r,e,o)},e.__iterateUncached=function(n,e){var s=this;return o.__iterate(function(e,t,r){return!1!==n(i.call(a,e,t,r),t,s)},e)},e.__iteratorUncached=function(n,e){var s=o.__iterator(re,e);return new d(function(){var e=s.next();if(e.done)return e;var t=e.value,r=t[0];return f(n,r,i.call(a,t[1],r,o),e)})},e}function Jt(s,r){var e=or(s);return e._iter=s,e.size=s.size,e.reverse=function(){return s},s.flip&&(e.flip=function(){var e=Kt(s);return e.reverse=function(){return s.flip()},e}),e.get=function(e,t){return s.get(r?e:-1-e,t)},e.has=function(e){return s.has(r?e:-1-e)},e.includes=function(e){return s.includes(e)},e.cacheResult=ir,e.__iterate=function(r,e){var n=this;return s.__iterate(function(e,t){return r(e,t,n)},!e)},e.__iterator=function(e,t){return s.__iterator(e,!t)},e}function Ht(i,a,l,c){var e=or(i);return c&&(e.has=function(e){var t=i.get(e,S);return t!==S&&!!a.call(l,t,e,i)},e.get=function(e,t){var r=i.get(e,S);return r!==S&&a.call(l,r,e,i)?r:t}),e.__iterateUncached=function(n,e){var s=this,o=0;return i.__iterate(function(e,t,r){if(a.call(l,e,t,r))return o++,n(e,c?t:o-1,s)},e),o},e.__iteratorUncached=function(n,e){var s=i.__iterator(re,e),o=0;return new d(function(){for(;;){var e=s.next();if(e.done)return e;var t=e.value,r=t[0],t=t[1];if(a.call(l,t,r,i))return f(n,c?r:o++,t,e)}})},e}function Gt(a,e,t,l){var r=a.size;if(void 0!==e&&(e|=0),void 0!==t&&(t===1/0?t=r:t|=0),X(e,t,r))return a;var c=Q(e,r),r=Z(t,r);if(c!=c||r!=r)return Gt(a.toSeq().cacheResult(),e,t,l);var u,e=r-c,t=(e==e&&(u=e<0?0:e),or(a));return t.size=0===u?u:a.size&&u||void 0,!l&&Ee(a)&&0<=u&&(t.get=function(e,t){return 0<=(e=G(this,e))&&e<u?a.get(e+c,t):t}),t.__iterateUncached=function(r,e){var n=this;if(0===u)return 0;if(e)return this.cacheResult().__iterate(r,e);var s=0,o=!0,i=0;return a.__iterate(function(e,t){if(!o||!(o=s++<c))return i++,!1!==r(e,l?t:i-1,n)&&i!==u}),i},t.__iteratorUncached=function(t,e){if(0!==u&&e)return this.cacheResult().__iterator(t,e);var r=0!==u&&a.__iterator(t,e),n=0,s=0;return new d(function(){for(;n++<c;)r.next();if(++s>u)return m();var e=r.next();return l||t===h?e:f(t,s-1,t===te?void 0:e.value[1],e)})},t}function Yt(t,c,u,p){var e=or(t);return e.__iterateUncached=function(n,e){var s=this;if(e)return this.cacheResult().__iterate(n,e);var o=!0,i=0;return t.__iterate(function(e,t,r){if(!o||!(o=c.call(u,e,t,r)))return i++,n(e,p?t:i-1,s)}),i},e.__iteratorUncached=function(s,e){var o=this;if(e)return this.cacheResult().__iterator(s,e);var i=t.__iterator(re,e),a=!0,l=0;return new d(function(){var e;do{if((e=i.next()).done)return p||s===h?e:f(s,l++,s===te?void 0:e.value[1],e);var t=e.value,r=t[0],n=t[1]}while(a=a&&c.call(u,n,r,o));return s===re?e:f(s,r,n,e)})},e}function Xt(e,l,c){var t=or(e);return t.__iterateUncached=function(o,t){var i=0,a=!1;return function r(e,n){var s=this;e.__iterate(function(e,t){return(!l||n<l)&&u(e)?r(e,n+1):!1===o(e,c?t:i++,s)&&(a=!0),!a},t)}(e,0),i},t.__iteratorUncached=function(r,n){var s=e.__iterator(r,n),o=[],i=0;return new d(function(){for(;s;){var e=s.next();if(!1===e.done){var t=e.value;if(r===re&&(t=t[1]),l&&!(o.length<l)||!u(t))return c?e:f(r,i++,t,e);o.push(s),s=t.__iterator(r,n)}else s=o.pop()}return m()})},t}function Qt(r,n,s){n=n||ar;var e=c(r),o=0,i=r.toSeq().map(function(e,t){return[t,e,o++,s?s(e,t,r):e]}).toArray();return i.sort(function(e,t){return n(e[3],t[3])||e[2]-t[2]}).forEach(e?function(e,t){i[t].length=2}:function(e,t){i[t]=e[1]}),(e?pe:p(r)?g:he)(i)}function Zt(r,n,s){var e;return n=n||ar,s?(e=r.toSeq().map(function(e,t){return[e,s(e,t,r)]}).reduce(function(e,t){return er(n,e[1],t[1])?t:e}))&&e[0]:r.reduce(function(e,t){return er(n,e,t)?t:e})}function er(e,t,r){e=e(r,t);return 0===e&&r!==t&&(null==r||r!=r)||0<e}function tr(e,i,a){e=or(e);return e.size=new ye(a).map(function(e){return e.size}).min(),e.__iterate=function(e,t){for(var r,n=this.__iterator(h,t),s=0;!(r=n.next()).done&&!1!==e(r.value,s++,this););return s},e.__iteratorUncached=function(t,r){var n=a.map(function(e){return e=l(e),le(r?e.reverse():e)}),s=0,o=!1;return new d(function(){var e;return o||(e=n.map(function(e){return e.next()}),o=e.some(function(e){return e.done})),o?m():f(t,s++,i.apply(null,e.map(function(e){return e.value})))})},e}function P(e,t){return Ee(e)?t:e.constructor(t)}function rr(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function nr(e){return b(e.size),H(e)}function sr(e){return c(e)?a:p(e)?D:s}function or(e){return Object.create((c(e)?pe:p(e)?g:he).prototype)}function ir(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):r.prototype.cacheResult.call(this)}function ar(e,t){return t<e?1:e<t?-1:0}function lr(e){var t=le(e);if(!t){if(!ue(e))throw new TypeError("Expected iterable or array-like: "+e);t=le(l(e))}return t}function N(s,o){function i(e){if(e instanceof i)return e;if(!(this instanceof i))return new i(e);if(!a){a=!0;var t=Object.keys(s),r=l,n=t;try{n.forEach(function(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){Ie(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}.bind(void 0,r))}catch(r){}l.size=t.length,l._name=o,l._keys=t,l._defaultValues=s}this._map=k(e)}var a,l=i.prototype=Object.create(I);return l.constructor=i}e(j,k),j.of=function(){return this(arguments)},j.prototype.toString=function(){return this.__toString("OrderedMap {","}")},j.prototype.get=function(e,t){e=this._map.get(e);return void 0!==e?this._list.get(e)[1]:t},j.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Bt()},j.prototype.set=function(e,t){return $t(this,e,t)},j.prototype.remove=function(e){return $t(this,e,S)},j.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},j.prototype.__iterate=function(t,e){var r=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],r)},e)},j.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},j.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),r=this._list.__ensureOwner(e);return e?Ft(t,r,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=r,this)},j.isOrderedMap=Lt,j.prototype[U]=!0,j.prototype[t]=j.prototype.remove,e(qt,pe),qt.prototype.get=function(e,t){return this._iter.get(e,t)},qt.prototype.has=function(e){return this._iter.has(e)},qt.prototype.valueSeq=function(){return this._iter.valueSeq()},qt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},qt.prototype.map=function(e,t){var r=this,n=Wt(this,e,t);return this._useKeys||(n.valueSeq=function(){return r._iter.toSeq().map(e,t)}),n},qt.prototype.__iterate=function(r,t){var n,s=this;return this._iter.__iterate(this._useKeys?function(e,t){return r(e,t,s)}:(n=t?nr(this):0,function(e){return r(e,t?--n:n++,s)}),t)},qt.prototype.__iterator=function(t,r){if(this._useKeys)return this._iter.__iterator(t,r);var n=this._iter.__iterator(h,r),s=r?nr(this):0;return new d(function(){var e=n.next();return e.done?e:f(t,r?--s:s++,e.value,e)})},qt.prototype[U]=!0,e(Ut,g),Ut.prototype.includes=function(e){return this._iter.includes(e)},Ut.prototype.__iterate=function(t,e){var r=this,n=0;return this._iter.__iterate(function(e){return t(e,n++,r)},e)},Ut.prototype.__iterator=function(t,e){var r=this._iter.__iterator(h,e),n=0;return new d(function(){var e=r.next();return e.done?e:f(t,n++,e.value,e)})},e(zt,he),zt.prototype.has=function(e){return this._iter.includes(e)},zt.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate(function(e){return t(e,e,r)},e)},zt.prototype.__iterator=function(t,e){var r=this._iter.__iterator(h,e);return new d(function(){var e=r.next();return e.done?e:f(t,e.value,e.value,e)})},e(Vt,pe),Vt.prototype.entrySeq=function(){return this._iter.toSeq()},Vt.prototype.__iterate=function(r,e){var n=this;return this._iter.__iterate(function(e){var t;if(e)return rr(e),t=u(e),r(t?e.get(1):e[1],t?e.get(0):e[0],n)},e)},Vt.prototype.__iterator=function(n,e){var s=this._iter.__iterator(h,e);return new d(function(){for(;;){var e=s.next();if(e.done)return e;var t,r=e.value;if(r)return rr(r),t=u(r),f(n,t?r.get(0):r[0],t?r.get(1):r[1],e)}})},Ut.prototype.cacheResult=qt.prototype.cacheResult=zt.prototype.cacheResult=Vt.prototype.cacheResult=ir,e(N,Me),N.prototype.toString=function(){return this.__toString(ur(this)+" {","}")},N.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},N.prototype.get=function(e,t){if(!this.has(e))return t;t=this._defaultValues[e];return this._map?this._map.get(e,t):t},N.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=cr(this,lt()))},N.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+ur(this));if(this._map&&!this._map.has(e)&&t===this._defaultValues[e])return this;e=this._map&&this._map.set(e,t);return this.__ownerID||e===this._map?this:cr(this,e)},N.prototype.remove=function(e){if(!this.has(e))return this;e=this._map&&this._map.remove(e);return this.__ownerID||e===this._map?this:cr(this,e)},N.prototype.wasAltered=function(){return this._map.wasAltered()},N.prototype.__iterator=function(e,t){var r=this;return a(this._defaultValues).map(function(e,t){return r.get(t)}).__iterator(e,t)},N.prototype.__iterate=function(e,t){var r=this;return a(this._defaultValues).map(function(e,t){return r.get(t)}).__iterate(e,t)},N.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?cr(this,t,e):(this.__ownerID=e,this._map=t,this)};var I=N.prototype;function cr(e,t,r){e=Object.create(Object.getPrototypeOf(e));return e._map=t,e.__ownerID=r,e}function ur(e){return e._name||e.constructor.name||"Record"}function T(r){return null==r?gr():pr(r)&&!F(r)?r:gr().withMutations(function(t){var e=s(r);b(e.size),e.forEach(function(e){return t.add(e)})})}function pr(e){return!(!e||!e[dr])}I[t]=I.remove,I.deleteIn=I.removeIn=A.removeIn,I.merge=A.merge,I.mergeWith=A.mergeWith,I.mergeIn=A.mergeIn,I.mergeDeep=A.mergeDeep,I.mergeDeepWith=A.mergeDeepWith,I.mergeDeepIn=A.mergeDeepIn,I.setIn=A.setIn,I.update=A.update,I.updateIn=A.updateIn,I.withMutations=A.withMutations,I.asMutable=A.asMutable,I.asImmutable=A.asImmutable,e(T,De),T.of=function(){return this(arguments)},T.fromKeys=function(e){return this(a(e).keySeq())},T.prototype.toString=function(){return this.__toString("Set {","}")},T.prototype.has=function(e){return this._map.has(e)},T.prototype.add=function(e){return fr(this,this._map.set(e,!0))},T.prototype.remove=function(e){return fr(this,this._map.remove(e))},T.prototype.clear=function(){return fr(this,this._map.clear())},T.prototype.union=function(){var r=n.call(arguments,0);return 0===(r=r.filter(function(e){return 0!==e.size})).length?this:0!==this.size||this.__ownerID||1!==r.length?this.withMutations(function(t){for(var e=0;e<r.length;e++)s(r[e]).forEach(function(e){return t.add(e)})}):this.constructor(r[0])},T.prototype.intersect=function(){if(0===(r=n.call(arguments,0)).length)return this;var r=r.map(s),t=this;return this.withMutations(function(e){t.forEach(function(t){r.every(function(e){return e.includes(t)})||e.remove(t)})})},T.prototype.subtract=function(){if(0===(r=n.call(arguments,0)).length)return this;var r=r.map(s),t=this;return this.withMutations(function(e){t.forEach(function(t){r.some(function(e){return e.includes(t)})&&e.remove(t)})})},T.prototype.merge=function(){return this.union.apply(this,arguments)},T.prototype.mergeWith=function(e){var t=n.call(arguments,1);return this.union.apply(this,t)},T.prototype.sort=function(e){return yr(Qt(this,e))},T.prototype.sortBy=function(e,t){return yr(Qt(this,t,e))},T.prototype.wasAltered=function(){return this._map.wasAltered()},T.prototype.__iterate=function(r,e){var n=this;return this._map.__iterate(function(e,t){return r(t,t,n)},e)},T.prototype.__iterator=function(e,t){return this._map.map(function(e,t){return t}).__iterator(e,t)},T.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},T.isSet=pr;var hr,dr="@@__IMMUTABLE_SET__@@",M=T.prototype;function fr(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function mr(e,t){var r=Object.create(M);return r.size=e?e.size:0,r._map=e,r.__ownerID=t,r}function gr(){return hr=hr||mr(lt())}function yr(r){return null==r?xr():vr(r)?r:xr().withMutations(function(t){var e=s(r);b(e.size),e.forEach(function(e){return t.add(e)})})}function vr(e){return pr(e)&&F(e)}M[dr]=!0,M[t]=M.remove,M.mergeDeep=M.merge,M.mergeDeepWith=M.mergeWith,M.withMutations=A.withMutations,M.asMutable=A.asMutable,M.asImmutable=A.asImmutable,M.__empty=gr,M.__make=mr,e(yr,T),yr.of=function(){return this(arguments)},yr.fromKeys=function(e){return this(a(e).keySeq())},yr.prototype.toString=function(){return this.__toString("OrderedSet {","}")},yr.isOrderedSet=vr;var br,wr=yr.prototype;function Er(e,t){var r=Object.create(wr);return r.size=e?e.size:0,r._map=e,r.__ownerID=t,r}function xr(){return br=br||Er(Bt())}function R(e){return null==e?Cr():Sr(e)?e:Cr().unshiftAll(e)}function Sr(e){return!(!e||!e[kr])}wr[U]=!0,wr.__empty=xr,wr.__make=Er,e(R,Re),R.of=function(){return this(arguments)},R.prototype.toString=function(){return this.__toString("Stack [","]")},R.prototype.get=function(e,t){var r=this._head;for(e=G(this,e);r&&e--;)r=r.next;return r?r.value:t},R.prototype.peek=function(){return this._head&&this._head.value},R.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,r=arguments.length-1;0<=r;r--)t={value:arguments[r],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Or(e,t)},R.prototype.pushAll=function(e){if(0===(e=D(e)).size)return this;b(e.size);var t=this.size,r=this._head;return e.reverse().forEach(function(e){t++,r={value:e,next:r}}),this.__ownerID?(this.size=t,this._head=r,this.__hash=void 0,this.__altered=!0,this):Or(t,r)},R.prototype.pop=function(){return this.slice(1)},R.prototype.unshift=function(){return this.push.apply(this,arguments)},R.prototype.unshiftAll=function(e){return this.pushAll(e)},R.prototype.shift=function(){return this.pop.apply(this,arguments)},R.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Cr()},R.prototype.slice=function(e,t){if(X(e,t,this.size))return this;var r=Q(e,this.size);if(Z(t,this.size)!==this.size)return Re.prototype.slice.call(this,e,t);for(var e=this.size-r,n=this._head;r--;)n=n.next;return this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Or(e,n)},R.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Or(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},R.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var r=0,n=this._head;n&&!1!==e(n.value,r++,this);)n=n.next;return r},R.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var r=0,n=this._head;return new d(function(){var e;return n?(e=n.value,n=n.next,f(t,r++,e)):m()})},R.isStack=Sr;var _r,kr="@@__IMMUTABLE_STACK__@@",Ar=R.prototype;function Or(e,t,r,n){var s=Object.create(Ar);return s.size=e,s._head=t,s.__ownerID=r,s.__hash=n,s.__altered=!1,s}function Cr(){return _r=_r||Or(0)}function jr(t,r){function e(e){t.prototype[e]=r[e]}Object.keys(r).forEach(e),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(r).forEach(e)}Ar[kr]=!0,Ar.withMutations=A.withMutations,Ar.asMutable=A.asMutable,Ar.asImmutable=A.asImmutable,Ar.wasAltered=A.wasAltered,l.Iterator=d,jr(l,{toArray:function(){b(this.size);var r=new Array(this.size||0);return this.valueSeq().__iterate(function(e,t){r[t]=e}),r},toIndexedSeq:function(){return new Ut(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new qt(this,!0)},toMap:function(){return k(this.toKeyedSeq())},toObject:function(){b(this.size);var r={};return this.__iterate(function(e,t){r[t]=e}),r},toOrderedMap:function(){return j(this.toKeyedSeq())},toOrderedSet:function(){return yr(c(this)?this.valueSeq():this)},toSet:function(){return T(c(this)?this.valueSeq():this)},toSetSeq:function(){return new zt(this)},toSeq:function(){return p(this)?this.toIndexedSeq():c(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return R(c(this)?this.valueSeq():this)},toList:function(){return O(c(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return P(this,function(e,t){var r=c(e);if(0===(t=[e].concat(t).map(function(e){return u(e)?r&&(e=a(e)):e=r?Se(e):_e(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size})).length)return e;if(1===t.length){var n=t[0];if(n===e||r&&c(n)||p(e)&&p(n))return n}return n=new ye(t),r?n=n.toKeyedSeq():p(e)||(n=n.toSetSeq()),(n=n.flatten(!0)).size=t.reduce(function(e,t){if(void 0!==e){t=t.size;if(void 0!==t)return e+t}},0),n}(this,n.call(arguments,0)))},includes:function(t){return this.some(function(e){return v(e,t)})},entries:function(){return this.__iterator(re)},every:function(n,s){b(this.size);var o=!0;return this.__iterate(function(e,t,r){if(!n.call(s,e,t,r))return o=!1}),o},filter:function(e,t){return P(this,Ht(this,e,t,!0))},find:function(e,t,r){e=this.findEntry(e,t);return e?e[1]:r},forEach:function(e,t){return b(this.size),this.__iterate(t?e.bind(t):e)},join:function(t){b(this.size),t=void 0!==t?""+t:",";var r="",n=!0;return this.__iterate(function(e){n?n=!1:r+=t,r+=null!=e?e.toString():""}),r},keys:function(){return this.__iterator(te)},map:function(e,t){return P(this,Wt(this,e,t))},reduce:function(n,e,s){var o,i;return b(this.size),arguments.length<2?i=!0:o=e,this.__iterate(function(e,t,r){o=i?(i=!1,e):n.call(s,o,e,t,r)}),o},reduceRight:function(e,t,r){var n=this.toKeyedSeq().reverse();return n.reduce.apply(n,arguments)},reverse:function(){return P(this,Jt(this,!0))},slice:function(e,t){return P(this,Gt(this,e,t,!0))},some:function(e,t){return!this.every(Tr(e),t)},sort:function(e){return P(this,Qt(this,e))},values:function(){return this.__iterator(h)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return H(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return r=this,n=e,s=t,o=k().asMutable(),r.__iterate(function(e,t){o.update(n.call(s,e,t,r),0,function(e){return e+1})}),o.asImmutable();var r,n,s,o},equals:function(e){return Ne(this,e)},entrySeq:function(){var e=this;if(e._cache)return new ye(e._cache);var t=e.toSeq().map(Ir).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Tr(e),t)},findEntry:function(n,s,e){var o=e;return this.__iterate(function(e,t,r){if(n.call(s,e,t,r))return!(o=[t,e])}),o},findKey:function(e,t){e=this.findEntry(e,t);return e&&e[0]},findLast:function(e,t,r){return this.toKeyedSeq().reverse().find(e,t,r)},findLastEntry:function(e,t,r){return this.toKeyedSeq().reverse().findEntry(e,t,r)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(Y)},flatMap:function(e,t){return P(this,(n=e,s=t,o=sr(r=this),r.toSeq().map(function(e,t){return o(n.call(s,e,t,r))}).flatten(!0)));var r,n,s,o},flatten:function(e){return P(this,Xt(this,e,!0))},fromEntrySeq:function(){return new Vt(this)},get:function(r,e){return this.find(function(e,t){return v(t,r)},void 0,e)},getIn:function(e,t){for(var r=this,n=lr(e);!(s=n.next()).done;){var s=s.value;if((r=r&&r.get?r.get(s,S):S)===S)return t}return r},groupBy:function(e,t){return s=e,o=t,i=c(n=this),a=(F(n)?j:k)().asMutable(),n.__iterate(function(t,r){a.update(s.call(o,t,r,n),function(e){return(e=e||[]).push(i?[r,t]:t),e})}),r=sr(n),a.map(function(e){return P(n,r(e))});var n,s,o,i,a,r},has:function(e){return this.get(e,S)!==S},hasIn:function(e){return this.getIn(e,S)!==S},isSubset:function(t){return t="function"==typeof t.includes?t:l(t),this.every(function(e){return t.includes(e)})},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:l(e)).isSubset(this)},keyOf:function(t){return this.findKey(function(e){return v(e,t)})},keySeq:function(){return this.toSeq().map(Nr).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Zt(this,e)},maxBy:function(e,t){return Zt(this,t,e)},min:function(e){return Zt(this,e?Mr(e):Lr)},minBy:function(e,t){return Zt(this,t?Mr(t):Lr,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return P(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return P(this,Yt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Tr(e),t)},sortBy:function(e,t){return P(this,Qt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return P(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return P(this,(a=e,l=t,(e=or(r=this)).__iterateUncached=function(n,e){var s=this;if(e)return this.cacheResult().__iterate(n,e);var o=0;return r.__iterate(function(e,t,r){return a.call(l,e,t,r)&&++o&&n(e,t,s)}),o},e.__iteratorUncached=function(n,e){var s=this;if(e)return this.cacheResult().__iterator(n,e);var o=r.__iterator(re,e),i=!0;return new d(function(){if(!i)return m();var e=o.next();if(e.done)return e;var t=e.value,r=t[0],t=t[1];return a.call(l,t,r,s)?n===re?e:f(n,r,t,e):(i=!1,m())})},e));var r,a,l},takeUntil:function(e,t){return this.takeWhile(Tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=F(e),r=c(e),n=t?1:0;return function(e,t){return t=Le(t,3432918353),t=Le(t<<15|t>>>-15,461845907),t=Le(t<<13|t>>>-13,5),t=Le((t=t+3864292196^e)^t>>>16,2246822507),t=Fe((t=Le(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(r?t?function(e,t){n=31*n+Fr(_(e),_(t))|0}:function(e,t){n=n+Fr(_(e),_(t))|0}:t?function(e){n=31*n+_(e)|0}:function(e){n=n+_(e)|0}),n)}(this))}});var t=l.prototype,Pr=(t[B]=!0,t[oe]=t.values,t.__toJS=t.toArray,t.__toStringMapper=Rr,t.inspect=t.toSource=function(){return this.toString()},t.chain=t.flatMap,t.contains=t.includes,jr(a,{flip:function(){return P(this,Kt(this))},mapEntries:function(r,n){var s=this,o=0;return P(this,this.toSeq().map(function(e,t){return r.call(n,[t,e],o++,s)}).fromEntrySeq())},mapKeys:function(r,n){var s=this;return P(this,this.toSeq().flip().map(function(e,t){return r.call(n,e,t,s)}).flip())}}),a.prototype);function Nr(e,t){return t}function Ir(e,t){return[t,e]}function Tr(e){return function(){return!e.apply(this,arguments)}}function Mr(e){return function(){return-e.apply(this,arguments)}}function Rr(e){return"string"==typeof e?JSON.stringify(e):String(e)}function Dr(){return J(arguments)}function Lr(e,t){return e<t?1:t<e?-1:0}function Fr(e,t){return e^t+2654435769+(e<<6)+(e>>2)}return Pr[$]=!0,Pr[oe]=t.entries,Pr.__toJS=t.toObject,Pr.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+Rr(e)},jr(D,{toKeyedSeq:function(){return new qt(this,!1)},filter:function(e,t){return P(this,Ht(this,e,t,!1))},findIndex:function(e,t){e=this.findEntry(e,t);return e?e[0]:-1},indexOf:function(e){e=this.keyOf(e);return void 0===e?-1:e},lastIndexOf:function(e){e=this.lastKeyOf(e);return void 0===e?-1:e},reverse:function(){return P(this,Jt(this,!1))},slice:function(e,t){return P(this,Gt(this,e,t,!1))},splice:function(e,t){var r=arguments.length;if(t=Math.max(0|t,0),0===r||2===r&&!t)return this;e=Q(e,e<0?this.count():this.size);var n=this.slice(0,e);return P(this,1===r?n:n.concat(J(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){e=this.findLastEntry(e,t);return e?e[0]:-1},first:function(){return this.get(0)},flatten:function(e){return P(this,Xt(this,e,!1))},get:function(r,e){return(r=G(this,r))<0||this.size===1/0||void 0!==this.size&&r>this.size?e:this.find(function(e,t){return t===r},void 0,e)},has:function(e){return 0<=(e=G(this,e))&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return P(this,(i=e,(e=or(o=this)).size=o.size&&2*o.size-1,e.__iterateUncached=function(r,e){var n=this,s=0;return o.__iterate(function(e,t){return(!s||!1!==r(i,s++,n))&&!1!==r(e,s++,n)},e),s},e.__iteratorUncached=function(e,t){var r,n=o.__iterator(h,t),s=0;return new d(function(){return(!r||s%2)&&(r=n.next()).done?r:s%2?f(e,s++,i):f(e,s++,r.value,r)})},e));var o,i},interleave:function(){var e=[this].concat(J(arguments)),t=tr(this.toSeq(),g.of,e),r=t.flatten(!0);return t.size&&(r.size=t.size*e.length),P(this,r)},keySeq:function(){return i(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(e,t){return P(this,Yt(this,e,t,!1))},zip:function(){return P(this,tr(this,Dr,[this].concat(J(arguments))))},zipWith:function(e){var t=J(arguments);return P(t[0]=this,tr(this,e,t))}}),D.prototype[q]=!0,D.prototype[U]=!0,jr(s,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),s.prototype.has=t.includes,s.prototype.contains=s.prototype.includes,jr(pe,a.prototype),jr(g,D.prototype),jr(he,s.prototype),jr(Me,a.prototype),jr(Re,D.prototype),jr(De,s.prototype),{Iterable:l,Seq:r,Collection:Te,Map:k,OrderedMap:j,List:O,Stack:R,Set:T,OrderedSet:yr,Record:N,Range:i,Repeat:o,is:v,fromJS:Ce}}()},56698:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){var r;t&&(e.super_=t,(r=function(){}).prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e)}},5419:e=>{e.exports=function(e,t,r,n){var s,o,n=new Blob(void 0!==n?[n,e]:[e],{type:r||"application/octet-stream"});void 0!==window.navigator.msSaveBlob?window.navigator.msSaveBlob(n,t):(s=(window.URL&&window.URL.createObjectURL?window.URL:window.webkitURL).createObjectURL(n),(o=document.createElement("a")).style.display="none",o.href=s,o.setAttribute("download",t),void 0===o.download&&o.setAttribute("target","_blank"),document.body.appendChild(o),o.click(),setTimeout(function(){document.body.removeChild(o),window.URL.revokeObjectURL(s)},200))}},20181:(e,t,r)=>{function v(){return c.Date.now()}var n=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,i=/^0o[0-7]+$/i,a=parseInt,r="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,l="object"==typeof self&&self&&self.Object===Object&&self,c=r||l||Function("return this")(),u=Object.prototype.toString,b=Math.max,w=Math.min;function E(e){var t=typeof e;return e&&("object"==t||"function"==t)}function x(e){if("number"==typeof e)return e;if("symbol"==typeof(r=e)||(t=r)&&"object"==typeof t&&"[object Symbol]"==u.call(r))return NaN;var t;if("string"!=typeof(e=E(e)?E(t="function"==typeof e.valueOf?e.valueOf():e)?t+"":t:e))return 0===e?e:+e;e=e.replace(n,"");var r=o.test(e);return r||i.test(e)?a(e.slice(2),r?2:8):s.test(e)?NaN:+e}e.exports=function(n,r,e){var s,o,i,a,l,c,u=0,p=!1,h=!1,t=!0;if("function"!=typeof n)throw new TypeError("Expected a function");function d(e){var t=s,r=o;return s=o=void 0,u=e,a=n.apply(r,t)}function f(e){var t=e-c;return void 0===c||r<=t||t<0||h&&i<=e-u}function m(){var e,t=v();if(f(t))return g(t);l=setTimeout(m,(e=r-((t=t)-c),h?w(e,i-(t-u)):e))}function g(e){return l=void 0,t&&s?d(e):(s=o=void 0,a)}function y(){var e=v(),t=f(e);if(s=arguments,o=this,c=e,t){if(void 0===l)return u=e=c,l=setTimeout(m,r),p?d(e):a;if(h)return l=setTimeout(m,r),d(c)}return void 0===l&&(l=setTimeout(m,r)),a}return r=x(r)||0,E(e)&&(p=!!e.leading,i=(h="maxWait"in e)?b(x(e.maxWait)||0,r):i,t="trailing"in e?!!e.trailing:t),y.cancel=function(){void 0!==l&&clearTimeout(l),s=c=o=l=void(u=0)},y.flush=function(){return void 0===l?a:g(v())},y}},55580:(e,t,r)=>{r=r(56110)(r(9325),"DataView");e.exports=r},21549:(e,t,r)=>{var n=r(22032),s=r(63862),o=r(66721),i=r(12749),r=r(35749);function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=o,a.prototype.has=i,a.prototype.set=r,e.exports=a},30980:(e,t,r)=>{var n=r(39344),r=r(94033);function s(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}s.prototype=n(r.prototype),e.exports=s.prototype.constructor=s},80079:(e,t,r)=>{var n=r(63702),s=r(70080),o=r(24739),i=r(48655),r=r(31175);function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=o,a.prototype.has=i,a.prototype.set=r,e.exports=a},56017:(e,t,r)=>{var n=r(39344),r=r(94033);function s(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}s.prototype=n(r.prototype),e.exports=s.prototype.constructor=s},68223:(e,t,r)=>{r=r(56110)(r(9325),"Map");e.exports=r},53661:(e,t,r)=>{var n=r(63040),s=r(17670),o=r(90289),i=r(4509),r=r(72949);function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=o,a.prototype.has=i,a.prototype.set=r,e.exports=a},32804:(e,t,r)=>{r=r(56110)(r(9325),"Promise");e.exports=r},76545:(e,t,r)=>{r=r(56110)(r(9325),"Set");e.exports=r},38859:(e,t,r)=>{var n=r(53661),s=r(31380),r=r(51459);function o(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=r,e.exports=o},37217:(e,t,r)=>{var n=r(80079),s=r(51420),o=r(90938),i=r(63605),a=r(29817),r=r(80945);function l(e){e=this.__data__=new n(e);this.size=e.size}l.prototype.clear=s,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=r,e.exports=l},51873:(e,t,r)=>{r=r(9325).Symbol;e.exports=r},37828:(e,t,r)=>{r=r(9325).Uint8Array;e.exports=r},28303:(e,t,r)=>{r=r(56110)(r(9325),"WeakMap");e.exports=r},91033:e=>{e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},83729:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},79770:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,s=0,o=[];++r<n;){var i=e[r];t(i,r,e)&&(o[s++]=i)}return o}},15325:(e,t,r)=>{var n=r(96131);e.exports=function(e,t){return!(null==e||!e.length)&&-1<n(e,t,0)}},70695:(e,t,r)=>{var u=r(78096),p=r(72428),h=r(56449),d=r(3656),f=r(30361),m=r(37167),g=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r,n=h(e),s=!n&&p(e),o=!n&&!s&&d(e),i=!n&&!s&&!o&&m(e),a=n||s||o||i,l=a?u(e.length,String):[],c=l.length;for(r in e)!t&&!g.call(e,r)||a&&("length"==r||o&&("offset"==r||"parent"==r)||i&&("buffer"==r||"byteLength"==r||"byteOffset"==r)||f(r,c))||l.push(r);return l}},34932:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,s=Array(n);++r<n;)s[r]=t(e[r],r,e);return s}},14528:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,s=e.length;++r<n;)e[s+r]=t[r];return e}},40882:e=>{e.exports=function(e,t,r,n){var s=-1,o=null==e?0:e.length;for(n&&o&&(r=e[++s]);++s<o;)r=t(r,e[s],s,e);return r}},14248:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},61074:e=>{e.exports=function(e){return e.split("")}},1733:e=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},87805:(e,t,r)=>{var n=r(43360),s=r(75288);e.exports=function(e,t,r){(void 0===r||s(e[t],r))&&(void 0!==r||t in e)||n(e,t,r)}},16547:(e,t,r)=>{var s=r(43360),o=r(75288),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var n=e[t];i.call(e,t)&&o(n,r)&&(void 0!==r||t in e)||s(e,t,r)}},26025:(e,t,r)=>{var n=r(75288);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},74733:(e,t,r)=>{var n=r(21791),s=r(95950);e.exports=function(e,t){return e&&n(t,s(t),e)}},43838:(e,t,r)=>{var n=r(21791),s=r(37241);e.exports=function(e,t){return e&&n(t,s(t),e)}},43360:(e,t,r)=>{var n=r(93243);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},9999:(e,t,r)=>{var f=r(37217),m=r(83729),g=r(16547),y=r(74733),v=r(43838),b=r(93290),w=r(23007),E=r(92271),x=r(48948),S=r(50002),_=r(83349),k=r(5861),A=r(76189),O=r(77199),C=r(35529),j=r(56449),P=r(3656),N=r(87730),I=r(23805),T=r(38440),M=r(95950),R=r(37241),D="[object Arguments]",L="[object Function]",F="[object Object]",B={};B[D]=B["[object Array]"]=B["[object ArrayBuffer]"]=B["[object DataView]"]=B["[object Boolean]"]=B["[object Date]"]=B["[object Float32Array]"]=B["[object Float64Array]"]=B["[object Int8Array]"]=B["[object Int16Array]"]=B["[object Int32Array]"]=B["[object Map]"]=B["[object Number]"]=B[F]=B["[object RegExp]"]=B["[object Set]"]=B["[object String]"]=B["[object Symbol]"]=B["[object Uint8Array]"]=B["[object Uint8ClampedArray]"]=B["[object Uint16Array]"]=B["[object Uint32Array]"]=!0,B["[object Error]"]=B[L]=B["[object WeakMap]"]=!1,e.exports=function r(n,s,o,e,t,i){var a,l=1&s,c=2&s,u=4&s;if(void 0!==(a=o?t?o(n,e,t,i):o(n):a))return a;if(!I(n))return n;e=j(n);if(e){if(a=A(n),!l)return w(n,a)}else{var p=k(n),h=p==L||"[object GeneratorFunction]"==p;if(P(n))return b(n,l);if(p==F||p==D||h&&!t){if(a=c||h?{}:C(n),!l)return c?x(n,v(a,n)):E(n,y(a,n))}else{if(!B[p])return t?n:{};a=O(n,p,l)}}h=(i=i||new f).get(n);if(h)return h;i.set(n,a),T(n)?n.forEach(function(e){a.add(r(e,s,o,e,n,i))}):N(n)&&n.forEach(function(e,t){a.set(t,r(e,s,o,t,n,i))});var d=e?void 0:(u?c?_:S:c?R:M)(n);return m(d||n,function(e,t){d&&(e=n[t=e]),g(a,t,r(e,s,o,t,n,i))}),a}},39344:(e,t,r)=>{var n=r(23805),s=Object.create;function o(){}e.exports=function(e){if(!n(e))return{};if(s)return s(e);o.prototype=e;e=new o;return o.prototype=void 0,e}},80909:(e,t,r)=>{var n=r(30641),r=r(38329)(n);e.exports=r},2523:e=>{e.exports=function(e,t,r,n){for(var s=e.length,o=r+(n?1:-1);n?o--:++o<s;)if(t(e[o],o,e))return o;return-1}},83120:(e,t,r)=>{var c=r(14528),u=r(45891);e.exports=function e(t,r,n,s,o){var i=-1,a=t.length;for(n=n||u,o=o||[];++i<a;){var l=t[i];0<r&&n(l)?1<r?e(l,r-1,n,s,o):c(o,l):s||(o[o.length]=l)}return o}},86649:(e,t,r)=>{r=r(83221)();e.exports=r},30641:(e,t,r)=>{var n=r(86649),s=r(95950);e.exports=function(e,t){return e&&n(e,t,s)}},47422:(e,t,r)=>{var s=r(31769),o=r(77797);e.exports=function(e,t){for(var r=0,n=(t=s(t,e)).length;null!=e&&r<n;)e=e[o(t[r++])];return r&&r==n?e:void 0}},82199:(e,t,r)=>{var n=r(14528),s=r(56449);e.exports=function(e,t,r){t=t(e);return s(e)?t:n(t,r(e))}},72552:(e,t,r)=>{var n=r(51873),s=r(659),o=r(59350),i=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":(i&&i in Object(e)?s:o)(e)}},20426:e=>{var r=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&r.call(e,t)}},28077:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},96131:(e,t,r)=>{var n=r(2523),s=r(85463),o=r(76959);e.exports=function(e,t,r){return t==t?o(e,t,r):n(e,s,r)}},27534:(e,t,r)=>{var n=r(72552),s=r(40346);e.exports=function(e){return s(e)&&"[object Arguments]"==n(e)}},60270:(e,t,r)=>{var i=r(87068),a=r(40346);e.exports=function e(t,r,n,s,o){return t===r||(null==t||null==r||!a(t)&&!a(r)?t!=t&&r!=r:i(t,r,n,s,e,o))}},87068:(e,t,r)=>{var p=r(37217),h=r(25911),d=r(21986),f=r(50689),m=r(5861),g=r(56449),y=r(3656),v=r(37167),b="[object Arguments]",w="[object Array]",E="[object Object]",x=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,n,s,o){var i=g(e),a=g(t),l=i?w:m(e),a=a?w:m(t),c=(l=l==b?E:l)==E,u=(a=a==b?E:a)==E,a=l==a;if(a&&y(e)){if(!y(t))return!1;c=!(i=!0)}if(a&&!c)return o=o||new p,i||v(e)?h(e,t,r,n,s,o):d(e,t,l,r,n,s,o);if(!(1&r)){i=c&&x.call(e,"__wrapped__"),l=u&&x.call(t,"__wrapped__");if(i||l)return s(i?e.value():e,l?t.value():t,r,n,o=o||new p)}return!!a&&(o=o||new p,f(e,t,r,n,s,o))}},29172:(e,t,r)=>{var n=r(5861),s=r(40346);e.exports=function(e){return s(e)&&"[object Map]"==n(e)}},41799:(e,t,r)=>{var d=r(37217),f=r(60270);e.exports=function(e,t,r,n){var s=r.length,o=s,i=!n;if(null==e)return!o;for(e=Object(e);s--;){var a=r[s];if(i&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++s<o;){var l=(a=r[s])[0],c=e[l],u=a[1];if(i&&a[2]){if(void 0===c&&!(l in e))return!1}else{var p,h=new d;if(!(void 0===(p=n?n(c,u,l,e,t,h):p)?f(u,c,3,n,h):p))return!1}}return!0}},85463:e=>{e.exports=function(e){return e!=e}},45083:(e,t,r)=>{var n=r(1882),s=r(87296),o=r(23805),i=r(47473),a=/^\[object .+?Constructor\]$/,r=Function.prototype,l=Object.prototype,r=r.toString,l=l.hasOwnProperty,c=RegExp("^"+r.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||s(e))&&(n(e)?c:a).test(i(e))}},16038:(e,t,r)=>{var n=r(5861),s=r(40346);e.exports=function(e){return s(e)&&"[object Set]"==n(e)}},4901:(e,t,r)=>{var n=r(72552),s=r(30294),o=r(40346),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&s(e.length)&&!!i[n(e)]}},15389:(e,t,r)=>{var n=r(93663),s=r(87978),o=r(83488),i=r(56449),a=r(50583);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?i(e)?s(e[0],e[1]):n(e):a(e)}},88984:(e,t,r)=>{var n=r(55527),s=r(3650),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return s(e);var t,r=[];for(t in Object(e))o.call(e,t)&&"constructor"!=t&&r.push(t);return r}},72903:(e,t,r)=>{var s=r(23805),o=r(55527),i=r(90181),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!s(e))return i(e);var t,r=o(e),n=[];for(t in e)("constructor"!=t||!r&&a.call(e,t))&&n.push(t);return n}},94033:e=>{e.exports=function(){}},93663:(e,t,r)=>{var n=r(41799),s=r(10776),o=r(67197);e.exports=function(t){var r=s(t);return 1==r.length&&r[0][2]?o(r[0][0],r[0][1]):function(e){return e===t||n(e,t,r)}}},87978:(e,t,r)=>{var s=r(60270),o=r(58156),i=r(80631),a=r(28586),l=r(30756),c=r(67197),u=r(77797);e.exports=function(r,n){return a(r)&&l(n)?c(u(r),n):function(e){var t=o(e,r);return void 0===t&&t===n?i(e,r):s(n,t,3)}}},85250:(e,t,r)=>{var c=r(37217),u=r(87805),p=r(86649),h=r(42824),d=r(23805),f=r(37241),m=r(14974);e.exports=function n(s,o,i,a,l){s!==o&&p(o,function(e,t){var r;l=l||new c,d(e)?h(s,o,t,i,n,a,l):(r=a?a(m(s,t),e,t+"",s,o,l):void 0,u(s,t,r=void 0===r?e:r))},f)}},42824:(e,t,r)=>{var d=r(87805),f=r(93290),m=r(71961),g=r(23007),y=r(35529),v=r(72428),b=r(56449),w=r(83693),E=r(3656),x=r(1882),S=r(23805),_=r(11331),k=r(37167),A=r(14974),O=r(69884);e.exports=function(e,t,r,n,s,o,i){var a,l,c,u=A(e,r),p=A(t,r),h=i.get(p);h?d(e,r,h):((t=void 0===(h=o?o(u,p,r+"",e,t,i):void 0))&&(l=!(a=b(p))&&E(p),c=!a&&!l&&k(p),h=p,a||l||c?h=b(u)?u:w(u)?g(u):l?f(p,!(t=!1)):c?m(p,!(t=!1)):[]:_(p)||v(p)?v(h=u)?h=O(u):S(u)&&!x(u)||(h=y(p)):t=!1),t&&(i.set(p,h),s(h,p,n,o,i),i.delete(p)),d(e,r,h))}},47237:e=>{e.exports=function(t){return function(e){return null==e?void 0:e[t]}}},17255:(e,t,r)=>{var n=r(47422);e.exports=function(t){return function(e){return n(e,t)}}},54552:e=>{e.exports=function(t){return function(e){return null==t?void 0:t[e]}}},85558:e=>{e.exports=function(e,n,s,o,t){return t(e,function(e,t,r){s=o?(o=!1,e):n(s,e,t,r)}),s}},69302:(e,t,r)=>{var n=r(83488),s=r(56757),o=r(32865);e.exports=function(e,t){return o(s(e,t,n),e+"")}},73170:(e,t,r)=>{var p=r(16547),h=r(31769),d=r(30361),f=r(23805),m=r(77797);e.exports=function(e,t,r,n){if(!f(e))return e;for(var s=-1,o=(t=h(t,e)).length,i=o-1,a=e;null!=a&&++s<o;){var l,c=m(t[s]),u=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;s!=i&&(l=a[c],void 0===(u=n?n(l,c,a):void 0)&&(u=f(l)?l:d(t[s+1])?[]:{})),p(a,c,u),a=a[c]}return e}},68882:(e,t,r)=>{var n=r(83488),s=r(48152);e.exports=s?function(e,t){return s.set(e,t),e}:n},19570:(e,t,r)=>{var n=r(37334),s=r(93243),r=r(83488);e.exports=s?function(e,t){return s(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:r},25160:e=>{e.exports=function(e,t,r){var n=-1,s=e.length;(r=s<r?s:r)<0&&(r+=s),s=r<(t=t<0?s<-t?0:s+t:t)?0:r-t>>>0,t>>>=0;for(var o=Array(s);++n<s;)o[n]=e[n+t];return o}},90916:(e,t,r)=>{var o=r(80909);e.exports=function(e,n){var s;return o(e,function(e,t,r){return!(s=n(e,t,r))}),!!s}},78096:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},77556:(e,t,r)=>{var n=r(51873),s=r(34932),o=r(56449),i=r(44394),r=n?n.prototype:void 0,a=r?r.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return s(t,e)+"";if(i(t))return a?a.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},54128:(e,t,r)=>{var n=r(31800),s=/^\s+/;e.exports=function(e){return e&&e.slice(0,n(e)+1).replace(s,"")}},27301:e=>{e.exports=function(t){return function(e){return t(e)}}},19931:(e,t,r)=>{var n=r(31769),s=r(68090),o=r(68969),i=r(77797);e.exports=function(e,t){return t=n(t,e),null==(e=o(e,t))||delete e[i(s(t))]}},51234:e=>{e.exports=function(e,t,r){for(var n=-1,s=e.length,o=t.length,i={};++n<s;){var a=n<o?t[n]:void 0;r(i,e[n],a)}return i}},19219:e=>{e.exports=function(e,t){return e.has(t)}},31769:(e,t,r)=>{var n=r(56449),s=r(28586),o=r(61802),i=r(13222);e.exports=function(e,t){return n(e)?e:s(e,t)?[e]:o(i(e))}},28754:(e,t,r)=>{var s=r(25160);e.exports=function(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&n<=r?e:s(e,t,r)}},49653:(e,t,r)=>{var n=r(37828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},93290:(e,t,r)=>{e=r.nmd(e);var r=r(9325),t=t&&!t.nodeType&&t,n=t&&e&&!e.nodeType&&e,n=n&&n.exports===t?r.Buffer:void 0,s=n?n.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();t=e.length,t=s?s(t):new e.constructor(t);return e.copy(t),t}},76169:(e,t,r)=>{var n=r(49653);e.exports=function(e,t){t=t?n(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}},73201:e=>{var r=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}},93736:(e,t,r)=>{var r=r(51873),r=r?r.prototype:void 0,n=r?r.valueOf:void 0;e.exports=function(e){return n?Object(n.call(e)):{}}},71961:(e,t,r)=>{var n=r(49653);e.exports=function(e,t){t=t?n(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}},91596:e=>{var h=Math.max;e.exports=function(e,t,r,n){for(var s=-1,o=e.length,i=r.length,a=-1,l=t.length,c=h(o-i,0),u=Array(l+c),p=!n;++a<l;)u[a]=t[a];for(;++s<i;)(p||s<o)&&(u[r[s]]=e[s]);for(;c--;)u[a++]=e[s++];return u}},53320:e=>{var f=Math.max;e.exports=function(e,t,r,n){for(var s=-1,o=e.length,i=-1,a=r.length,l=-1,c=t.length,u=f(o-a,0),p=Array(u+c),h=!n;++s<u;)p[s]=e[s];for(var d=s;++l<c;)p[d+l]=t[l];for(;++i<a;)(h||s<o)&&(p[d+r[i]]=e[s++]);return p}},23007:e=>{e.exports=function(e,t){var r=-1,n=e.length;for(t=t||Array(n);++r<n;)t[r]=e[r];return t}},21791:(e,t,r)=>{var c=r(16547),u=r(43360);e.exports=function(e,t,r,n){var s=!r;r=r||{};for(var o=-1,i=t.length;++o<i;){var a=t[o],l=n?n(r[a],e[a],a,r,e):void 0;void 0===l&&(l=e[a]),(s?u:c)(r,a,l)}return r}},92271:(e,t,r)=>{var n=r(21791),s=r(4664);e.exports=function(e,t){return n(e,s(e),t)}},48948:(e,t,r)=>{var n=r(21791),s=r(86375);e.exports=function(e,t){return n(e,s(e),t)}},55481:(e,t,r)=>{r=r(9325)["__core-js_shared__"];e.exports=r},58523:e=>{e.exports=function(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}},20999:(e,t,r)=>{var n=r(69302),l=r(36800);e.exports=function(a){return n(function(e,t){var r=-1,n=t.length,s=1<n?t[n-1]:void 0,o=2<n?t[2]:void 0,s=3<a.length&&"function"==typeof s?(n--,s):void 0;for(o&&l(t[0],t[1],o)&&(s=n<3?void 0:s,n=1),e=Object(e);++r<n;){var i=t[r];i&&a(e,i,r,s)}return e})}},38329:(e,t,r)=>{var a=r(64894);e.exports=function(o,i){return function(e,t){if(null==e)return e;if(!a(e))return o(e,t);for(var r=e.length,n=i?r:-1,s=Object(e);(i?n--:++n<r)&&!1!==t(s[n],n,s););return e}}},83221:e=>{e.exports=function(l){return function(e,t,r){for(var n=-1,s=Object(e),o=r(e),i=o.length;i--;){var a=o[l?i:++n];if(!1===t(s[a],a,s))break}return e}}},11842:(e,t,r)=>{var o=r(82819),i=r(9325);e.exports=function(t,e,r){var n=1&e,s=o(t);return function e(){return(this&&this!==i&&this instanceof e?s:t).apply(n?r:this,arguments)}}},12507:(e,t,r)=>{var s=r(28754),o=r(49698),i=r(63912),a=r(13222);e.exports=function(n){return function(e){e=a(e);var t=o(e)?i(e):void 0,r=t?t[0]:e.charAt(0),t=t?s(t,1).join(""):e.slice(1);return r[n]()+t}}},45539:(e,t,r)=>{var n=r(40882),s=r(50828),o=r(66645),i=RegExp("['’]","g");e.exports=function(t){return function(e){return n(o(s(e).replace(i,"")),t,"")}}},82819:(e,t,r)=>{var s=r(39344),o=r(23805);e.exports=function(n){return function(){var e=arguments;switch(e.length){case 0:return new n;case 1:return new n(e[0]);case 2:return new n(e[0],e[1]);case 3:return new n(e[0],e[1],e[2]);case 4:return new n(e[0],e[1],e[2],e[3]);case 5:return new n(e[0],e[1],e[2],e[3],e[4]);case 6:return new n(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new n(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var t=s(n.prototype),r=n.apply(t,e);return o(r)?r:t}}},77078:(e,t,r)=>{var c=r(91033),n=r(82819),u=r(37471),p=r(18073),h=r(11287),d=r(36306),f=r(9325);e.exports=function(o,i,a){var l=n(o);return function e(){for(var t=arguments.length,r=Array(t),n=t,s=h(e);n--;)r[n]=arguments[n];s=t<3&&r[0]!==s&&r[t-1]!==s?[]:d(r,s);return(t-=s.length)<a?p(o,i,u,e.placeholder,void 0,r,s,void 0,void 0,a-t):c(this&&this!==f&&this instanceof e?l:o,this,r)}}},62006:(e,t,r)=>{var i=r(15389),a=r(64894),l=r(95950);e.exports=function(o){return function(e,t,r){var n,s=Object(e),t=(a(e)||(n=i(t,3),e=l(e),t=function(e){return n(s[e],e,s)}),o(e,t,r));return-1<t?s[n?e[t]:t]:void 0}}},37471:(e,t,r)=>{var S=r(91596),_=r(53320),k=r(58523),A=r(82819),O=r(18073),C=r(11287),j=r(68294),P=r(36306),N=r(9325);e.exports=function i(a,l,c,u,p,h,d,f,m,g){var y=128&l,v=1&l,b=2&l,w=24&l,E=512&l,x=b?void 0:A(a);return function e(){for(var t=arguments.length,r=Array(t),n=t;n--;)r[n]=arguments[n];if(w&&(s=C(e),o=k(r,s)),u&&(r=S(r,u,p,w)),h&&(r=_(r,h,d,w)),t-=o,w&&t<g)return o=P(r,s),O(a,l,i,e.placeholder,c,r,o,f,m,g-t);var s=v?c:this,o=b?s[a]:a,t=r.length;return f?r=j(r,f):E&&1<t&&r.reverse(),y&&m<t&&(r.length=m),(o=this&&this!==N&&this instanceof e?x||A(o):o).apply(s,r)}}},24168:(e,t,r)=>{var h=r(91033),n=r(82819),d=r(9325);e.exports=function(a,e,l,c){var u=1&e,p=n(a);return function e(){for(var t=-1,r=arguments.length,n=-1,s=c.length,o=Array(s+r),i=this&&this!==d&&this instanceof e?p:a;++n<s;)o[n]=c[n];for(;r--;)o[n++]=arguments[++t];return h(i,u?l:this,o)}}},18073:(e,t,r)=>{var p=r(85087),h=r(54641),d=r(70981);e.exports=function(e,t,r,n,s,o,i,a,l,c){var u=8&t,s=(4&(t=(t|(u?32:64))&~(u?64:32))||(t&=-4),[e,t,s,u?o:void 0,u?i:void 0,u?void 0:o,u?void 0:i,a,l,c]),o=r.apply(void 0,s);return p(e)&&h(o,s),o.placeholder=n,d(o,e,t)}},66977:(e,t,r)=>{var d=r(68882),f=r(11842),m=r(77078),g=r(37471),y=r(24168),v=r(37381),b=r(3209),w=r(54641),E=r(70981),x=r(61489),S=Math.max;e.exports=function(e,t,r,n,s,o,i,a){var l=2&t;if(!l&&"function"!=typeof e)throw new TypeError("Expected a function");var c,u=n?n.length:0,p=(u||(t&=-97,n=s=void 0),i=void 0===i?i:S(x(i),0),a=void 0===a?a:x(a),u-=s?s.length:0,64&t&&(h=n,c=s,n=s=void 0),l?void 0:v(e)),h=[e,t,r,n,s,h,c,o,i,a];return p&&b(h,p),e=h[0],t=h[1],r=h[2],n=h[3],s=h[4],!(a=h[9]=void 0===h[9]?l?0:e.length:S(h[9]-u,0))&&24&t&&(t&=-25),c=t&&1!=t?8==t||16==t?m(e,t,a):32!=t&&33!=t||s.length?g.apply(void 0,h):y(e,t,r,n):f(e,t,r),E((p?d:w)(c,h),e,t)}},53138:(e,t,r)=>{var n=r(11331);e.exports=function(e){return n(e)?void 0:e}},24647:(e,t,r)=>{r=r(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"});e.exports=r},93243:(e,t,r)=>{var n=r(56110),r=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},25911:(e,t,r)=>{var g=r(38859),y=r(14248),v=r(19219);e.exports=function(e,t,r,n,s,o){var i=1&r,a=e.length,l=t.length;if(a!=l&&!(i&&a<l))return!1;var l=o.get(e),c=o.get(t);if(l&&c)return l==t&&c==e;var u=-1,p=!0,h=2&r?new g:void 0;for(o.set(e,t),o.set(t,e);++u<a;){var d,f=e[u],m=t[u];if(void 0!==(d=n?i?n(m,f,u,t,e,o):n(f,m,u,e,t,o):d)){if(d)continue;p=!1;break}if(h){if(!y(t,function(e,t){if(!v(h,t)&&(f===e||s(f,e,r,n,o)))return h.push(t)})){p=!1;break}}else if(f!==m&&!s(f,m,r,n,o)){p=!1;break}}return o.delete(e),o.delete(t),p}},21986:(e,t,r)=>{var n=r(51873),c=r(37828),u=r(75288),p=r(25911),h=r(20317),d=r(84247),r=n?n.prototype:void 0,f=r?r.valueOf:void 0;e.exports=function(e,t,r,n,s,o,i){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new c(e),new c(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return u(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var a=h;case"[object Set]":a=a||d;if(e.size!=t.size&&!(1&n))return!1;var l=i.get(e);if(l)return l==t;n|=2,i.set(e,t);l=p(a(e),a(t),n,s,o,i);return i.delete(e),l;case"[object Symbol]":if(f)return f.call(e)==f.call(t)}return!1}},50689:(e,t,r)=>{var v=r(50002),b=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,n,s,o){var i=1&r,a=v(e),l=a.length;if(l!=v(t).length&&!i)return!1;for(var c=l;c--;){var u=a[c];if(!(i?u in t:b.call(t,u)))return!1}var p=o.get(e),h=o.get(t);if(p&&h)return p==t&&h==e;var d=!0;o.set(e,t),o.set(t,e);for(var f=i;++c<l;){var m,g=e[u=a[c]],y=t[u];if(!(void 0===(m=n?i?n(y,g,u,t,e,o):n(g,y,u,e,t,o):m)?g===y||s(g,y,r,n,o):m)){d=!1;break}f=f||"constructor"==u}return d&&!f&&(p=e.constructor)!=(h=t.constructor)&&"constructor"in e&&"constructor"in t&&!("function"==typeof p&&p instanceof p&&"function"==typeof h&&h instanceof h)&&(d=!1),o.delete(e),o.delete(t),d}},38816:(e,t,r)=>{var n=r(35970),s=r(56757),o=r(32865);e.exports=function(e){return o(s(e,void 0,n),e+"")}},34840:(e,t,r)=>{r="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=r},50002:(e,t,r)=>{var n=r(82199),s=r(4664),o=r(95950);e.exports=function(e){return n(e,o,s)}},83349:(e,t,r)=>{var n=r(82199),s=r(86375),o=r(37241);e.exports=function(e){return n(e,o,s)}},37381:(e,t,r)=>{var n=r(48152),r=r(63950);e.exports=n?function(e){return n.get(e)}:r},62284:(e,t,r)=>{var i=r(84629),a=Object.prototype.hasOwnProperty;e.exports=function(e){for(var t=e.name+"",r=i[t],n=a.call(i,t)?r.length:0;n--;){var s=r[n],o=s.func;if(null==o||o==e)return s.name}return t}},11287:e=>{e.exports=function(e){return e.placeholder}},12651:(e,t,r)=>{var n=r(74218);e.exports=function(e,t){e=e.__data__;return n(t)?e["string"==typeof t?"string":"hash"]:e.map}},10776:(e,t,r)=>{var o=r(30756),i=r(95950);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var n=t[r],s=e[n];t[r]=[n,s,o(s)]}return t}},56110:(e,t,r)=>{var n=r(45083),s=r(10392);e.exports=function(e,t){e=s(e,t);return n(e)?e:void 0}},28879:(e,t,r)=>{r=r(74335)(Object.getPrototypeOf,Object);e.exports=r},659:(e,t,r)=>{var r=r(51873),n=Object.prototype,o=n.hasOwnProperty,i=n.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),r=e[a];try{var n=!(e[a]=void 0)}catch(e){}var s=i.call(e);return n&&(t?e[a]=r:delete e[a]),s}},4664:(e,t,r)=>{var n=r(79770),r=r(63345),s=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols;e.exports=o?function(t){return null==t?[]:(t=Object(t),n(o(t),function(e){return s.call(t,e)}))}:r},86375:(e,t,r)=>{var n=r(14528),s=r(28879),o=r(4664),r=r(63345),r=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=s(e);return t}:r;e.exports=r},5861:(e,t,r)=>{var n=r(55580),s=r(68223),o=r(32804),i=r(76545),a=r(28303),l=r(72552),c=r(47473),u="[object Map]",p="[object Promise]",h="[object Set]",d="[object WeakMap]",f="[object DataView]",m=c(n),g=c(s),y=c(o),v=c(i),b=c(a),r=l;(n&&r(new n(new ArrayBuffer(1)))!=f||s&&r(new s)!=u||o&&r(o.resolve())!=p||i&&r(new i)!=h||a&&r(new a)!=d)&&(r=function(e){var t=l(e),e="[object Object]"==t?e.constructor:void 0,e=e?c(e):"";if(e)switch(e){case m:return f;case g:return u;case y:return p;case v:return h;case b:return d}return t}),e.exports=r},10392:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},75251:e=>{var t=/\{\n\/\* \[wrapped with (.+)\] \*/,r=/,? & /;e.exports=function(e){e=e.match(t);return e?e[1].split(r):[]}},49326:(e,t,r)=>{var a=r(31769),l=r(72428),c=r(56449),u=r(30361),p=r(30294),h=r(77797);e.exports=function(e,t,r){for(var n=-1,s=(t=a(t,e)).length,o=!1;++n<s;){var i=h(t[n]);if(!(o=null!=e&&r(e,i)))break;e=e[i]}return o||++n!=s?o:!!(s=null==e?0:e.length)&&p(s)&&u(i,s)&&(c(e)||l(e))}},49698:e=>{var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},45434:e=>{var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},22032:(e,t,r)=>{var n=r(81042);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},63862:e=>{e.exports=function(e){e=this.has(e)&&delete this.__data__[e];return this.size-=e?1:0,e}},66721:(e,t,r)=>{var n=r(81042),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t,r=this.__data__;return n?"__lodash_hash_undefined__"===(t=r[e])?void 0:t:s.call(r,e)?r[e]:void 0}},12749:(e,t,r)=>{var n=r(81042),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:s.call(t,e)}},35749:(e,t,r)=>{var n=r(81042);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},76189:e=>{var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},77199:(e,t,r)=>{var s=r(49653),o=r(76169),i=r(73201),a=r(93736),l=r(71961);e.exports=function(e,t,r){var n=e.constructor;switch(t){case"[object ArrayBuffer]":return s(e);case"[object Boolean]":case"[object Date]":return new n(+e);case"[object DataView]":return o(e,r);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 l(e,r);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},35529:(e,t,r)=>{var n=r(39344),s=r(28879),o=r(55527);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(s(e))}},62060:e=>{var s=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;e.exports=function(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(1<r?"& ":"")+t[n],t=t.join(2<r?", ":" "),e.replace(s,"{\n/* [wrapped with "+t+"] */\n")}},45891:(e,t,r)=>{var n=r(51873),s=r(72428),o=r(56449),i=n?n.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||s(e)||!!(i&&e&&e[i])}},30361:e=>{var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&-1<e&&e%1==0&&e<t}},36800:(e,t,r)=>{var s=r(75288),o=r(64894),i=r(30361),a=r(23805);e.exports=function(e,t,r){if(!a(r))return!1;var n=typeof t;return!!("number"==n?o(r)&&i(t,r.length):"string"==n&&t in r)&&s(r[t],e)}},28586:(e,t,r)=>{var n=r(56449),s=r(44394),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!s(e))||i.test(e)||!o.test(e)||null!=t&&e in Object(t)}},74218:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},85087:(e,t,r)=>{var n=r(30980),s=r(37381),o=r(62284),i=r(53758);e.exports=function(e){var t=o(e),r=i[t];if("function"!=typeof r||!(t in n.prototype))return!1;if(e===r)return!0;t=s(r);return!!t&&e===t[0]}},87296:(e,t,r)=>{var r=r(55481),n=(r=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!n&&n in e}},55527:e=>{var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},30756:(e,t,r)=>{var n=r(23805);e.exports=function(e){return e==e&&!n(e)}},63702:e=>{e.exports=function(){this.__data__=[],this.size=0}},70080:(e,t,r)=>{var n=r(26025),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,e=n(t,e);return!(e<0||(e==t.length-1?t.pop():s.call(t,e,1),--this.size,0))}},24739:(e,t,r)=>{var n=r(26025);e.exports=function(e){var t=this.__data__,e=n(t,e);return e<0?void 0:t[e][1]}},48655:(e,t,r)=>{var n=r(26025);e.exports=function(e){return-1<n(this.__data__,e)}},31175:(e,t,r)=>{var s=r(26025);e.exports=function(e,t){var r=this.__data__,n=s(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}},63040:(e,t,r)=>{var n=r(21549),s=r(80079),o=r(68223);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||s),string:new n}}},17670:(e,t,r)=>{var n=r(12651);e.exports=function(e){e=n(this,e).delete(e);return this.size-=e?1:0,e}},90289:(e,t,r)=>{var n=r(12651);e.exports=function(e){return n(this,e).get(e)}},4509:(e,t,r)=>{var n=r(12651);e.exports=function(e){return n(this,e).has(e)}},72949:(e,t,r)=>{var s=r(12651);e.exports=function(e,t){var r=s(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}},20317:e=>{e.exports=function(e){var r=-1,n=Array(e.size);return e.forEach(function(e,t){n[++r]=[t,e]}),n}},67197:e=>{e.exports=function(t,r){return function(e){return null!=e&&e[t]===r&&(void 0!==r||t in Object(e))}}},62224:(e,t,r)=>{var n=r(50104);e.exports=function(e){var e=n(e,function(e){return 500===t.size&&t.clear(),e}),t=e.cache;return e}},3209:(e,t,r)=>{var a=r(91596),l=r(53320),c=r(36306),u="__lodash_placeholder__",p=Math.min;e.exports=function(e,t){var r=e[1],n=t[1],s=r|n,o=128==n&&8==r||128==n&&256==r&&e[7].length<=t[8]||384==n&&t[7].length<=t[8]&&8==r;if(!(s<131)&&!o)return e;1&n&&(e[2]=t[2],s|=1&r?0:4);var i,o=t[3];return o&&(i=e[3],e[3]=i?a(i,o,t[4]):o,e[4]=i?c(e[3],u):t[4]),(o=t[5])&&(i=e[5],e[5]=i?l(i,o,t[6]):o,e[6]=i?c(e[5],u):t[6]),(o=t[7])&&(e[7]=o),128&n&&(e[8]=null==e[8]?t[8]:p(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=s,e}},48152:(e,t,r)=>{r=r(28303),r=r&&new r;e.exports=r},81042:(e,t,r)=>{r=r(56110)(Object,"create");e.exports=r},3650:(e,t,r)=>{r=r(74335)(Object.keys,Object);e.exports=r},90181:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},86009:(e,t,r)=>{e=r.nmd(e);var r=r(34840),t=t&&!t.nodeType&&t,n=t&&e&&!e.nodeType&&e,s=n&&n.exports===t&&r.process,t=function(){try{return n&&n.require&&n.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=t},59350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},74335:e=>{e.exports=function(t,r){return function(e){return t(r(e))}}},56757:(e,t,r)=>{var l=r(91033),c=Math.max;e.exports=function(o,i,a){return i=c(void 0===i?o.length-1:i,0),function(){for(var e=arguments,t=-1,r=c(e.length-i,0),n=Array(r);++t<r;)n[t]=e[i+t];for(var t=-1,s=Array(i+1);++t<i;)s[t]=e[t];return s[i]=a(n),l(o,this,s)}}},68969:(e,t,r)=>{var n=r(47422),s=r(25160);e.exports=function(e,t){return t.length<2?e:n(e,s(t,0,-1))}},84629:e=>{e.exports={}},68294:(e,t,r)=>{var i=r(23007),a=r(30361),l=Math.min;e.exports=function(e,t){for(var r=e.length,n=l(t.length,r),s=i(e);n--;){var o=t[n];e[n]=a(o,r)?s[o]:void 0}return e}},36306:e=>{var a="__lodash_placeholder__";e.exports=function(e,t){for(var r=-1,n=e.length,s=0,o=[];++r<n;){var i=e[r];i!==t&&i!==a||(e[r]=a,o[s++]=r)}return o}},9325:(e,t,r)=>{var r=r(34840),n="object"==typeof self&&self&&self.Object===Object&&self,r=r||n||Function("return this")();e.exports=r},14974:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},31380:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},51459:e=>{e.exports=function(e){return this.__data__.has(e)}},54641:(e,t,r)=>{var n=r(68882),r=r(51811)(n);e.exports=r},84247:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},32865:(e,t,r)=>{var n=r(19570),r=r(51811)(n);e.exports=r},70981:(e,t,r)=>{var n=r(75251),s=r(62060),o=r(32865),i=r(75948);e.exports=function(e,t,r){t+="";return o(e,s(t,i(n(t),r)))}},51811:e=>{var o=Date.now;e.exports=function(r){var n=0,s=0;return function(){var e=o(),t=16-(e-s);if(s=e,0<t){if(800<=++n)return arguments[0]}else n=0;return r.apply(void 0,arguments)}}},51420:(e,t,r)=>{var n=r(80079);e.exports=function(){this.__data__=new n,this.size=0}},90938:e=>{e.exports=function(e){var t=this.__data__,e=t.delete(e);return this.size=t.size,e}},63605:e=>{e.exports=function(e){return this.__data__.get(e)}},29817:e=>{e.exports=function(e){return this.__data__.has(e)}},80945:(e,t,r)=>{var s=r(80079),o=r(68223),i=r(53661);e.exports=function(e,t){var r=this.__data__;if(r instanceof s){var n=r.__data__;if(!o||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(n)}return r.set(e,t),this.size=r.size,this}},76959:e=>{e.exports=function(e,t,r){for(var n=r-1,s=e.length;++n<s;)if(e[n]===t)return n;return-1}},63912:(e,t,r)=>{var n=r(61074),s=r(49698),o=r(42054);e.exports=function(e){return(s(e)?o:n)(e)}},61802:(e,t,r)=>{var r=r(62224),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,r=r(function(e){var s=[];return 46===e.charCodeAt(0)&&s.push(""),e.replace(n,function(e,t,r,n){s.push(r?n.replace(o,"$1"):t||e)}),s});e.exports=r},77797:(e,t,r)=>{var n=r(44394);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},47473:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},31800:e=>{var r=/\s/;e.exports=function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t}},42054:e=>{var t="\\ud800-\\udfff",r="["+t+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",s="\\ud83c[\\udffb-\\udfff]",t="[^"+t+"]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",a="(?:"+n+"|"+s+")?",l="[\\ufe0e\\ufe0f]?",l=l+a+"(?:\\u200d(?:"+[t,o,i].join("|")+")"+l+a+")*",a="(?:"+[t+n+"?",n,o,i,r].join("|")+")",c=RegExp(s+"(?="+s+")|"+a+l,"g");e.exports=function(e){return e.match(c)||[]}},22225:e=>{var t="\\ud800-\\udfff",r="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",s="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\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",i="["+o+"]",a="["+r+"]",l="["+n+"]",o="[^"+t+o+"\\d+"+r+n+s+"]",r="(?:\\ud83c[\\udde6-\\uddff]){2}",n="[\\ud800-\\udbff][\\udc00-\\udfff]",s="["+s+"]",c="(?:"+l+"|"+o+")",o="(?:"+s+"|"+o+")",u="(?:['’](?:d|ll|m|re|s|t|ve))?",p="(?:['’](?:D|LL|M|RE|S|T|VE))?",h="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",d="[\\ufe0e\\ufe0f]?",t=d+h+"(?:\\u200d(?:"+["[^"+t+"]",r,n].join("|")+")"+d+h+")*",d="(?:"+[a,r,n].join("|")+")"+t,f=RegExp([s+"?"+l+"+"+u+"(?="+[i,s,"$"].join("|")+")",o+"+"+p+"(?="+[i,s+c,"$"].join("|")+")",s+"?"+c+"+"+u,s+"+"+p,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",d].join("|"),"g");e.exports=function(e){return e.match(f)||[]}},75948:(e,t,r)=>{var s=r(83729),o=r(15325),i=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];e.exports=function(r,n){return s(i,function(e){var t="_."+e[0];n&e[1]&&!o(r,t)&&r.push(t)}),r.sort()}},80257:(e,t,r)=>{var n=r(30980),s=r(56017),o=r(23007);e.exports=function(e){if(e instanceof n)return e.clone();var t=new s(e.__wrapped__,e.__chain__);return t.__actions__=o(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}},64626:(e,t,r)=>{var n=r(66977);e.exports=function(e,t,r){return t=r?void 0:t,t=e&&null==t?e.length:t,n(e,128,void 0,void 0,void 0,void 0,t)}},84058:(e,t,r)=>{var n=r(14792),r=r(45539)(function(e,t,r){return t=t.toLowerCase(),e+(r?n(t):t)});e.exports=r},14792:(e,t,r)=>{var n=r(13222),s=r(55808);e.exports=function(e){return s(n(e).toLowerCase())}},32629:(e,t,r)=>{var n=r(9999);e.exports=function(e){return n(e,4)}},37334:e=>{e.exports=function(e){return function(){return e}}},49747:(e,t,r)=>{var n=r(66977);function s(e,t,r){e=n(e,8,void 0,void 0,void 0,void 0,void 0,t=r?void 0:t);return e.placeholder=s.placeholder,e}s.placeholder={},e.exports=s},38221:(e,t,r)=>{var v=r(23805),b=r(10124),w=r(99374),E=Math.max,x=Math.min;e.exports=function(n,r,e){var s,o,i,a,l,c,u=0,p=!1,h=!1,t=!0;if("function"!=typeof n)throw new TypeError("Expected a function");function d(e){var t=s,r=o;return s=o=void 0,u=e,a=n.apply(r,t)}function f(e){var t=e-c;return void 0===c||r<=t||t<0||h&&i<=e-u}function m(){var e,t=b();if(f(t))return g(t);l=setTimeout(m,(e=r-((t=t)-c),h?x(e,i-(t-u)):e))}function g(e){return l=void 0,t&&s?d(e):(s=o=void 0,a)}function y(){var e=b(),t=f(e);if(s=arguments,o=this,c=e,t){if(void 0===l)return u=e=c,l=setTimeout(m,r),p?d(e):a;if(h)return clearTimeout(l),l=setTimeout(m,r),d(c)}return void 0===l&&(l=setTimeout(m,r)),a}return r=w(r)||0,v(e)&&(p=!!e.leading,i=(h="maxWait"in e)?E(w(e.maxWait)||0,r):i,t="trailing"in e?!!e.trailing:t),y.cancel=function(){void 0!==l&&clearTimeout(l),s=c=o=l=void(u=0)},y.flush=function(){return void 0===l?a:g(b())},y}},50828:(e,t,r)=>{var n=r(24647),s=r(13222),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=s(e))&&e.replace(o,n).replace(i,"")}},75288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},60680:(e,t,r)=>{var n=r(13222),s=/[\\^$.*+?()[\]{}|]/g,o=RegExp(s.source);e.exports=function(e){return(e=n(e))&&o.test(e)?e.replace(s,"\\$&"):e}},7309:(e,t,r)=>{r=r(62006)(r(24713));e.exports=r},24713:(e,t,r)=>{var s=r(2523),o=r(15389),i=r(61489),a=Math.max;e.exports=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;r=null==r?0:i(r);return r<0&&(r=a(n+r,0)),s(e,o(t,3),r)}},35970:(e,t,r)=>{var n=r(83120);e.exports=function(e){return null!=e&&e.length?n(e,1):[]}},73424:(e,t,r)=>{var F=r(16962),B=r(2874),$=Array.prototype.push;function q(r,e){return 2==e?function(e,t){return r(e,t)}:function(e){return r(e)}}function U(e){for(var t=e?e.length:0,r=Array(t);t--;)r[t]=e[t];return r}function z(n,s){return function(){var e=arguments.length;if(e){for(var t=Array(e);e--;)t[e]=arguments[e];var r=t[0]=s.apply(void 0,t);return n.apply(void 0,t),r}}}e.exports=function a(r,e,t,l){var c="function"==typeof e,n=e===Object(e);if(n&&(l=t,t=e,e=void 0),null==t)throw new TypeError;var u={cap:!("cap"in(l=l||{}))||l.cap,curry:!("curry"in l)||l.curry,fixed:!("fixed"in l)||l.fixed,immutable:!("immutable"in l)||l.immutable,rearg:!("rearg"in l)||l.rearg},s=c?t:B,p="curry"in l&&l.curry,h="fixed"in l&&l.fixed,o="rearg"in l&&l.rearg,d=c?t.runInContext():void 0,f=c?t:{ary:r.ary,assign:r.assign,clone:r.clone,curry:r.curry,forEach:r.forEach,isArray:r.isArray,isError:r.isError,isFunction:r.isFunction,isWeakMap:r.isWeakMap,iteratee:r.iteratee,keys:r.keys,rearg:r.rearg,toInteger:r.toInteger,toPath:r.toPath},m=f.ary,g=f.assign,y=f.clone,v=f.curry,b=f.forEach,i=f.isArray,w=f.isError,E=f.isFunction,x=f.isWeakMap,S=f.keys,_=f.rearg,k=f.toInteger,A=f.toPath,O=S(F.aryMethod),C={castArray:function(t){return function(){var e=arguments[0];return i(e)?t(U(e)):t.apply(void 0,arguments)}},iteratee:function(n){return function(){var e=arguments[1],t=n(arguments[0],e),r=t.length;return u.cap&&"number"==typeof e?(e=2<e?e-2:1,r&&r<=e?t:q(t,e)):t}},mixin:function(e){return function(t){var r=this;if(!E(r))return e(r,Object(t));var n=[];return b(S(t),function(e){E(t[e])&&n.push([e,r.prototype[e]])}),e(r,Object(t)),b(n,function(e){var t=e[1];E(t)?r.prototype[e[0]]=t:delete r.prototype[e[0]]}),r}},nthArg:function(r){return function(e){var t=e<0?1:k(e)+1;return v(r(e),t)}},rearg:function(n){return function(e,t){var r=t?t.length:0;return v(n(e,t),r)}},runInContext:function(t){return function(e){return a(r,t(e),l)}}};function D(e,t){if(u.cap){var r=F.iterateeRearg[e];if(r)return s=r,I(t,function(e){var r,t=s.length;return r=_(q(e,t),s),2==t?function(e,t){return r.apply(void 0,arguments)}:function(e){return r.apply(void 0,arguments)}});r=!c&&F.iterateeAry[e];if(r)return n=r,I(t,function(e){return"function"==typeof e?q(e,n):e})}var n,s;return t}function j(e,t,r){var o,i;return!u.fixed||!h&&F.skipFixed[e]?t:void 0===(e=(e=F.methodSpread[e])&&e.start)?m(t,r):(o=t,i=e,function(){for(var e=arguments.length,t=e-1,r=Array(e);e--;)r[e]=arguments[e];var n=r[i],s=r.slice(0,i);return n&&$.apply(s,n),i!=t&&$.apply(s,r.slice(i+1)),o.apply(this,s)})}function P(e,t,r){return u.rearg&&1<r&&(o||!F.skipRearg[e])?_(t,F.methodRearg[e]||F.aryRearg[r]):t}function L(e,t){for(var r=-1,n=(t=A(t)).length,s=n-1,e=y(Object(e)),o=e;null!=o&&++r<n;){var i=t[r],a=o[i];null==a||E(a)||w(a)||x(a)||(o[i]=y(r==s?a:Object(a))),o=o[i]}return e}function N(e,n){var s=F.aliasToReal[e]||e,o=F.remap[s]||s,i=l;return function(e){var t=c?d:f,r=c?d[o]:n,e=g(g({},i),e);return a(t,s,r,e)}}function I(n,s){return function(){var e=arguments.length;if(!e)return n();for(var t=Array(e);e--;)t[e]=arguments[e];var r=u.rearg?0:e-1;return t[r]=s(t[r]),n.apply(void 0,t)}}function T(e,t,r){var n,s,o=F.aliasToReal[e]||e,i=t,e=C[o];return e?i=e(t):u.immutable&&(F.mutate.array[o]?i=z(t,U):F.mutate.object[o]?i=z(t,(s=t,function(e){return s({},e)})):F.mutate.set[o]&&(i=z(t,L))),b(O,function(r){return b(F.aryMethod[r],function(e){var t;if(o==e)return e=(e=F.methodSpread[o])&&e.afterRearg,n=e?j(o,P(o,i,r),r):P(o,j(o,i,r),r),e=n=D(o,n),t=r,n=p||u.curry&&1<t?v(e,t):e,!1}),!n}),(n=(n=n||i)==t?p?v(n,1):function(){return t.apply(this,arguments)}:n).convert=N(o,t),n.placeholder=t.placeholder=r,n}if(!n)return T(e,t,s);var M=t,R=[];return b(O,function(e){b(F.aryMethod[e],function(e){var t=M[F.remap[e]||e];t&&R.push([e,T(e,t,M)])})}),b(S(M),function(e){var t=M[e];if("function"==typeof t){for(var r=R.length;r--;)if(R[r][0]==e)return;t.convert=N(e,t),R.push([e,t])}}),b(R,function(e){M[e[0]]=e[1]}),M.convert=function(e){return M.runInContext.convert(e)(void 0)},M.placeholder=M,b(S(M),function(t){b(F.realToAlias[t]||[],function(e){M[e]=M[t]})}),M}},16962:(e,o)=>{o.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"},o.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"]},o.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},o.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},o.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},o.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]},o.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}},o.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}},o.realToAlias=function(){var e,t=Object.prototype.hasOwnProperty,r=o.aliasToReal,n={};for(e in r){var s=r[e];t.call(n,s)?n[s].push(e):n[s]=[e]}return n}(),o.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"},o.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},o.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:(e,t,r)=>{e.exports={ary:r(64626),assign:r(74733),clone:r(32629),curry:r(49747),forEach:r(83729),isArray:r(56449),isError:r(23546),isFunction:r(1882),isWeakMap:r(47886),iteratee:r(33855),keys:r(88984),rearg:r(84195),toInteger:r(61489),toPath:r(42072)}},56367:(e,t,r)=>{e.exports=r(77731)},79920:(e,t,r)=>{var n=r(73424),s=r(47934);e.exports=function(e,t,r){return n(s,e,t,r)}},2874:e=>{e.exports={}},77731:(e,t,r)=>{var n=r(79920)("set",r(63560));n.placeholder=r(2874),e.exports=n},58156:(e,t,r)=>{var n=r(47422);e.exports=function(e,t,r){e=null==e?void 0:n(e,t);return void 0===e?r:e}},61448:(e,t,r)=>{var n=r(20426),s=r(49326);e.exports=function(e,t){return null!=e&&s(e,t,n)}},80631:(e,t,r)=>{var n=r(28077),s=r(49326);e.exports=function(e,t){return null!=e&&s(e,t,n)}},83488:e=>{e.exports=function(e){return e}},72428:(e,t,r)=>{var n=r(27534),s=r(40346),r=Object.prototype,o=r.hasOwnProperty,i=r.propertyIsEnumerable,r=n(function(){return arguments}())?n:function(e){return s(e)&&o.call(e,"callee")&&!i.call(e,"callee")};e.exports=r},56449:e=>{var t=Array.isArray;e.exports=t},64894:(e,t,r)=>{var n=r(1882),s=r(30294);e.exports=function(e){return null!=e&&s(e.length)&&!n(e)}},83693:(e,t,r)=>{var n=r(64894),s=r(40346);e.exports=function(e){return s(e)&&n(e)}},53812:(e,t,r)=>{var n=r(72552),s=r(40346);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==n(e)}},3656:(e,t,r)=>{e=r.nmd(e);var n=r(9325),r=r(89935),t=t&&!t.nodeType&&t,s=t&&e&&!e.nodeType&&e,s=s&&s.exports===t?n.Buffer:void 0,t=(s?s.isBuffer:void 0)||r;e.exports=t},62193:(e,t,r)=>{var n=r(88984),s=r(5861),o=r(72428),i=r(56449),a=r(64894),l=r(3656),c=r(55527),u=r(37167),p=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(a(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||o(e)))return!e.length;var t,r=s(e);if("[object Map]"==r||"[object Set]"==r)return!e.size;if(c(e))return!n(e).length;for(t in e)if(p.call(e,t))return!1;return!0}},2404:(e,t,r)=>{var n=r(60270);e.exports=function(e,t){return n(e,t)}},23546:(e,t,r)=>{var n=r(72552),s=r(40346),o=r(11331);e.exports=function(e){if(!s(e))return!1;var t=n(e);return"[object Error]"==t||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!o(e)}},1882:(e,t,r)=>{var n=r(72552),s=r(23805);e.exports=function(e){if(!s(e))return!1;e=n(e);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},30294:e=>{e.exports=function(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=9007199254740991}},87730:(e,t,r)=>{var n=r(29172),s=r(27301),r=r(86009),r=r&&r.isMap,s=r?s(r):n;e.exports=s},5187:e=>{e.exports=function(e){return null===e}},98023:(e,t,r)=>{var n=r(72552),s=r(40346);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==n(e)}},23805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},11331:(e,t,r)=>{var n=r(72552),s=r(28879),o=r(40346),r=Function.prototype,i=Object.prototype,a=r.toString,l=i.hasOwnProperty,c=a.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=n(e))return!1;e=s(e);if(null===e)return!0;e=l.call(e,"constructor")&&e.constructor;return"function"==typeof e&&e instanceof e&&a.call(e)==c}},38440:(e,t,r)=>{var n=r(16038),s=r(27301),r=r(86009),r=r&&r.isSet,s=r?s(r):n;e.exports=s},85015:(e,t,r)=>{var n=r(72552),s=r(56449),o=r(40346);e.exports=function(e){return"string"==typeof e||!s(e)&&o(e)&&"[object String]"==n(e)}},44394:(e,t,r)=>{var n=r(72552),s=r(40346);e.exports=function(e){return"symbol"==typeof e||s(e)&&"[object Symbol]"==n(e)}},37167:(e,t,r)=>{var n=r(4901),s=r(27301),r=r(86009),r=r&&r.isTypedArray,s=r?s(r):n;e.exports=s},47886:(e,t,r)=>{var n=r(5861),s=r(40346);e.exports=function(e){return s(e)&&"[object WeakMap]"==n(e)}},33855:(e,t,r)=>{var n=r(9999),s=r(15389);e.exports=function(e){return s("function"==typeof e?e:n(e,1))}},95950:(e,t,r)=>{var n=r(70695),s=r(88984),o=r(64894);e.exports=function(e){return(o(e)?n:s)(e)}},37241:(e,t,r)=>{var n=r(70695),s=r(72903),o=r(64894);e.exports=function(e){return o(e)?n(e,!0):s(e)}},68090:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},50104:(e,t,r)=>{var i=r(53661);function a(n,s){if("function"!=typeof n||null!=s&&"function"!=typeof s)throw new TypeError("Expected a function");function o(){var e=arguments,t=s?s.apply(this,e):e[0],r=o.cache;return r.has(t)?r.get(t):(e=n.apply(this,e),o.cache=r.set(t,e)||r,e)}return o.cache=new(a.Cache||i),o}a.Cache=i,e.exports=a},55364:(e,t,r)=>{var n=r(85250),r=r(20999)(function(e,t,r){n(e,t,r)});e.exports=r},6048:e=>{e.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}},63950:e=>{e.exports=function(){}},10124:(e,t,r)=>{var n=r(9325);e.exports=function(){return n.Date.now()}},90179:(e,t,r)=>{var o=r(34932),i=r(9999),a=r(19931),l=r(31769),c=r(21791),u=r(53138),n=r(38816),p=r(83349),r=n(function(t,e){var r={};if(null==t)return r;var n=!1;e=o(e,function(e){return e=l(e,t),n=n||1<e.length,e}),c(t,p(t),r),n&&(r=i(r,7,u));for(var s=e.length;s--;)a(r,e[s]);return r});e.exports=r},50583:(e,t,r)=>{var n=r(47237),s=r(17255),o=r(28586),i=r(77797);e.exports=function(e){return o(e)?n(i(e)):s(e)}},84195:(e,t,r)=>{var n=r(66977),r=r(38816)(function(e,t){return n(e,256,void 0,void 0,void 0,t)});e.exports=r},40860:(e,t,r)=>{var o=r(40882),i=r(80909),a=r(15389),l=r(85558),c=r(56449);e.exports=function(e,t,r){var n=c(e)?o:l,s=arguments.length<3;return n(e,a(t,4),r,s,i)}},63560:(e,t,r)=>{var n=r(73170);e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},42426:(e,t,r)=>{var s=r(14248),o=r(15389),i=r(90916),a=r(56449),l=r(36800);e.exports=function(e,t,r){var n=a(e)?s:i;return r&&l(e,t,r)&&(t=void 0),n(e,o(t,3))}},63345:e=>{e.exports=function(){return[]}},89935:e=>{e.exports=function(){return!1}},17400:(e,t,r)=>{var n=r(99374);e.exports=function(e){return e?(e=n(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},61489:(e,t,r)=>{var n=r(17400);e.exports=function(e){var e=n(e),t=e%1;return e==e?t?e-t:e:0}},80218:(e,t,r)=>{var n=r(13222);e.exports=function(e){return n(e).toLowerCase()}},99374:(e,t,r)=>{var n=r(54128),s=r(23805),o=r(44394),i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(s(e)&&(t="function"==typeof e.valueOf?e.valueOf():e,e=s(t)?t+"":t),"string"!=typeof e)return 0===e?e:+e;e=n(e);var t=a.test(e);return t||l.test(e)?c(e.slice(2),t?2:8):i.test(e)?NaN:+e}},42072:(e,t,r)=>{var n=r(34932),s=r(23007),o=r(56449),i=r(44394),a=r(61802),l=r(77797),c=r(13222);e.exports=function(e){return o(e)?n(e,l):i(e)?[e]:s(a(c(e)))}},69884:(e,t,r)=>{var n=r(21791),s=r(37241);e.exports=function(e){return n(e,s(e))}},13222:(e,t,r)=>{var n=r(77556);e.exports=function(e){return null==e?"":n(e)}},55808:(e,t,r)=>{r=r(12507)("toUpperCase");e.exports=r},66645:(e,t,r)=>{var n=r(1733),s=r(45434),o=r(13222),i=r(22225);e.exports=function(e,t,r){return e=o(e),void 0===(t=r?void 0:t)?(s(e)?i:n)(e):e.match(t)||[]}},53758:(e,t,r)=>{var n=r(30980),s=r(56017),o=r(94033),i=r(56449),a=r(40346),l=r(80257),c=Object.prototype.hasOwnProperty;function u(e){if(a(e)&&!i(e)&&!(e instanceof n)){if(e instanceof s)return e;if(c.call(e,"__wrapped__"))return l(e)}return new s(e)}u.prototype=o.prototype,e.exports=u.prototype.constructor=u},47248:(e,t,r)=>{var n=r(16547),s=r(51234);e.exports=function(e,t){return s(e||[],t||[],n)}},43768:(e,t,r)=>{"use strict";var u=r(45981),p=r(85587),s=(t.highlight=h,t.highlightAuto=function(e,t){var r,n,s,o,i=t||{},a=i.subset||u.listLanguages(),i=i.prefix,l=a.length,c=-1;if(null==i&&0,"string"!=typeof e)throw p("Expected `string` for value, got `%s`",e);for(n={relevance:0,language:null,value:[]},r={relevance:0,language:null,value:[]};++c<l;)o=a[c],u.getLanguage(o)&&((s=h(o,e,t)).language=o,s.relevance>n.relevance&&(n=s),s.relevance>r.relevance&&(n=r,r=s));return n.language&&(r.secondBest=n),r},t.registerLanguage=function(e,t){u.registerLanguage(e,t)},t.listLanguages=function(){return u.listLanguages()},t.registerAlias=function(e,t){var r,n=e;for(r in t&&((n={})[e]=t),n)u.registerAliases(n[r],{languageName:r})},o.prototype.addText=function(e){var t,r=this.stack;""!==e&&((t=(r=r[r.length-1]).children[r.children.length-1])&&"text"===t.type?t.value+=e:r.children.push({type:"text",value:e}))},o.prototype.addKeyword=function(e,t){this.openNode(t),this.addText(e),this.closeNode()},o.prototype.addSublanguage=function(e,t){var r=this.stack,r=r[r.length-1],e=e.rootNode.children;r.children=r.children.concat(t?{type:"element",tagName:"span",properties:{className:[t]},children:e}:e)},o.prototype.openNode=function(e){var t=this.stack,e={type:"element",tagName:"span",properties:{className:[this.options.classPrefix+e]},children:[]};t[t.length-1].children.push(e),t.push(e)},o.prototype.closeNode=function(){this.stack.pop()},o.prototype.closeAllNodes=n,o.prototype.finalize=n,o.prototype.toHTML=function(){return""},"hljs-");function h(e,t,r){var n=u.configure({}),r=(r||{}).prefix;if("string"!=typeof e)throw p("Expected `string` for name, got `%s`",e);if(!u.getLanguage(e))throw p("Unknown language: `%s` is not registered",e);if("string"!=typeof t)throw p("Expected `string` for value, got `%s`",t);if(u.configure({__emitter:o,classPrefix:r=null==r?s:r}),r=u.highlight(t,{language:e,ignoreIllegals:!0}),u.configure(n||{}),r.errorRaised)throw r.errorRaised;return{relevance:r.relevance,language:r.language,value:r.emitter.rootNode.children}}function o(e){this.options=e,this.rootNode={children:[]},this.stack=[this.rootNode]}function n(){}},92340:(e,t,r)=>{const n=r(6048);function s(t){return"string"==typeof t?e=>e.element===t:t.constructor&&t.extend?e=>e instanceof t:t}class o{constructor(e){this.elements=e||[]}toValue(){return this.elements.map(e=>e.toValue())}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce((e,t)=>e.concat(t),[])}compactMap(t,r){const n=[];return this.forEach(e=>{e=t.bind(r)(e);e&&n.push(e)}),n}filter(e,t){return e=s(e),new o(this.elements.filter(e,t))}reject(e,t){return e=s(e),new o(this.elements.filter(n(e),t))}find(e,t){return e=s(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(t){return this.elements.some(e=>e.equals(t))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=o},55973:e=>{e.exports=class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}},3110:(e,t,r)=>{const n=r(5187),s=r(85015),o=r(98023),i=r(53812),a=r(23805),l=r(85105),c=r(86804);class u{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=c.Element,this.KeyValuePair=c.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",c.NullElement).register("string",c.StringElement).register("number",c.NumberElement).register("boolean",c.BooleanElement).register("array",c.ArrayElement).register("object",c.ObjectElement).register("member",c.MemberElement).register("ref",c.RefElement).register("link",c.LinkElement),this.detect(n,c.NullElement,!1).detect(s,c.StringElement,!1).detect(o,c.NumberElement,!1).detect(i,c.BooleanElement,!1).detect(Array.isArray,c.ArrayElement,!1).detect(a,c.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,r){return void 0===r||r?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(t){if(t instanceof this.Element)return t;let r;for(let e=0;e<this.elementDetection.length;e+=1){const n=this.elementDetection[e][0],s=this.elementDetection[e][1];if(n(t)){r=new s(t);break}}return r}getElementClass(e){e=this.elementMap[e];return void 0===e?this.Element:e}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach(e=>{var t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]})),this._elements}get serialiser(){return new l(this)}}l.prototype.Namespace=u,e.exports=u},10866:(e,t,r)=>{const n=r(6048),s=r(92340);class o extends s{map(t,r){return this.elements.map(e=>t.bind(r)(e.value,e.key,e))}filter(t,r){return new o(this.elements.filter(e=>t.bind(r)(e.value,e.key,e)))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(r,n){return this.elements.forEach((e,t)=>{r.bind(n)(e.value,e.key,e,t)})}keys(){return this.map((e,t)=>t.toValue())}values(){return this.map(e=>e.toValue())}}e.exports=o},86804:(e,t,r)=>{const n=r(10316),s=r(41067),o=r(71167),i=r(40239),a=r(12242),l=r(6233),c=r(87726),u=r(61045),p=r(86303),h=r(14540),d=r(92340),f=r(10866),m=r(55973);function g(e){return e instanceof n?e:"string"==typeof e?new o(e):"number"==typeof e?new i(e):"boolean"==typeof e?new a(e):null===e?new s:Array.isArray(e)?new l(e.map(g)):"object"==typeof e?new u(e):e}n.prototype.ObjectElement=u,n.prototype.RefElement=h,n.prototype.MemberElement=c,n.prototype.refract=g,d.prototype.refract=g,e.exports={Element:n,NullElement:s,StringElement:o,NumberElement:i,BooleanElement:a,ArrayElement:l,MemberElement:c,ObjectElement:u,LinkElement:p,RefElement:h,refract:g,ArraySlice:d,ObjectSlice:f,KeyValuePair:m}},86303:(e,t,r)=>{r=r(10316);e.exports=class extends r{constructor(e,t,r){super(e||[],t,r),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},14540:(e,t,r)=>{r=r(10316);e.exports=class extends r{constructor(e,t,r){super(e||[],t,r),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},34035:(e,t,r)=>{var n=r(3110),s=r(86804);t.g$=n,t.KeyValuePair=r(55973),t.G6=s.ArraySlice,t.ot=s.ObjectSlice,t.Hg=s.Element,t.Om=s.StringElement,t.kT=s.NumberElement,t.bd=s.BooleanElement,t.Os=s.NullElement,t.wE=s.ArrayElement,t.Sh=s.ObjectElement,t.Pr=s.MemberElement,t.sI=s.RefElement,t.Ft=s.LinkElement,t.e=s.refract,r(85105),r(75147)},6233:(e,t,r)=>{const n=r(6048),s=r(10316),o=r(92340);class i extends s{constructor(e,t,r){super(e||[],t,r),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){e=this.content.splice(e,1);return e.length?e[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce((e,t)=>e.concat(t),[])}compactMap(t,r){const n=[];return this.forEach(e=>{e=t.bind(r)(e);e&&n.push(e)}),n}filter(e,t){return new o(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(t,e){let r,n;n=void 0!==e?(r=0,this.refract(e)):(r=1,"object"===this.primitive()?this.first.value:this.first);for(let e=r;e<this.length;e+=1){const r=this.content[e];n="object"===this.primitive()?this.refract(t(n,r.value,r.key,r,this)):this.refract(t(n,r,e,this))}return n}forEach(r,n){this.content.forEach((e,t)=>{r.bind(n)(e,this.refract(t))})}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(n,e){const t=e||{},s=!!t.recursive,o=void 0===t.results?[]:t.results;return this.forEach((e,t,r)=>{s&&void 0!==e.findElements&&e.findElements(n,{results:o,recursive:s}),n(e,t,r)&&o.push(e)}),o}find(e){return new o(this.findElements(e,{recursive:!0}))}findByElement(t){return this.find(e=>e.element===t)}findByClass(t){return this.find(e=>e.classes.includes(t))}getById(t){return this.find(e=>e.id.toValue()===t).first}includes(t){return this.content.some(e=>e.equals(t))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(t){return this.map(e=>t(e),this).reduce((e,t)=>e.concat(t),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}i["fantasy-land/empty"]=i.empty=function(){return new this},"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=i},12242:(e,t,r)=>{r=r(10316);e.exports=class extends r{constructor(e,t,r){super(e,t,r),this.element="boolean"}primitive(){return"boolean"}}},10316:(e,t,r)=>{const n=r(2404),a=r(55973),l=r(92340);e.exports=class s{constructor(e,t,r){t&&(this.meta=t),r&&(this.attributes=r),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this).meta.freeze(),this._attributes&&(this.attributes.parent=this).attributes.freeze(),this.children.forEach(e=>{e.parent=this,e.freeze()},this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map(e=>e.clone()):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof s?this.content.toValue():this.content instanceof a?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map(e=>e.toValue(),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...n){if(1<arguments.length&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const s=n.pop();let e=new l;const o=(e,t)=>(e.push(t),e),i=(e,t)=>{t.element===s&&e.push(t);const r=t.findRecursive(s);return r&&r.reduce(o,e),t.content instanceof a&&(t.content.key&&i(e,t.content.key),t.content.value&&i(e,t.content.value)),e};return this.content&&(this.content.element&&i(e,this.content),Array.isArray(this.content)&&this.content.reduce(i,e)),e=n.isEmpty?e:e.filter(e=>{let t=e.parents.map(e=>e.element);for(const e in n){var r=n[e];if(-1===(r=t.indexOf(r)))return!1;t=t.splice(0,r)}return!0})}set(e){return this.content=e,this}equals(e){return n(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(t){if(t instanceof s)this._content=t;else if(t instanceof l)this.content=t.elements;else if("string"==typeof t||"number"==typeof t||"boolean"==typeof t||"null"===t||null==t)this._content=t;else if(t instanceof a)this._content=t;else if(Array.isArray(t))this._content=t.map(this.refract);else{if("object"!=typeof t)throw new Error("Cannot set content to given value");this._content=Object.keys(t).map(e=>new this.MemberElement(e,t[e]))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let e=this.parent;const t=new l;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new l(this.content);if(this.content instanceof a){const e=new l([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof s?new l([this.content]):new l}get recursiveChildren(){const t=new l;return this.children.forEach(e=>{t.push(e),e.recursiveChildren.forEach(e=>{t.push(e)})}),t}}},87726:(e,t,r)=>{const s=r(55973),n=r(10316);e.exports=class extends n{constructor(e,t,r,n){super(new s,r,n),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},41067:(e,t,r)=>{r=r(10316);e.exports=class extends r{constructor(e,t,r){super(e||null,t,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},40239:(e,t,r)=>{r=r(10316);e.exports=class extends r{constructor(e,t,r){super(e,t,r),this.element="number"}primitive(){return"number"}}},61045:(e,t,r)=>{const n=r(6048),s=r(23805),o=r(6233),i=r(87726),a=r(10866);e.exports=class extends o{constructor(e,t,r){super(e||[],t,r),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e),{})}get(e){e=this.getMember(e);if(e)return e.value}getMember(t){if(void 0!==t)return this.content.find(e=>e.key.toValue()===t)}remove(t){let r=null;return this.content=this.content.filter(e=>e.key.toValue()!==t||(r=e,!1)),r}getKey(e){e=this.getMember(e);if(e)return e.key}set(t,e){if(s(t))return Object.keys(t).forEach(e=>{this.set(e,t[e])}),this;const r=t,n=this.getMember(r);return n?n.value=e:this.content.push(new i(r,e)),this}keys(){return this.content.map(e=>e.key.toValue())}values(){return this.content.map(e=>e.value.toValue())}hasKey(t){return this.content.some(e=>e.key.equals(t))}items(){return this.content.map(e=>[e.key.toValue(),e.value.toValue()])}map(t,r){return this.content.map(e=>t.bind(r)(e.value,e.key,e))}compactMap(n,s){const o=[];return this.forEach((e,t,r)=>{e=n.bind(s)(e,t,r);e&&o.push(e)}),o}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(n(e),t)}forEach(t,r){return this.content.forEach(e=>t.bind(r)(e.value,e.key,e))}}},71167:(e,t,r)=>{r=r(10316);e.exports=class extends r{constructor(e,t,r){super(e,t,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},75147:(e,t,r)=>{r=r(85105);e.exports=class extends r{serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${t}\` is not an Element instance`);let r;t._attributes&&t.attributes.get("variable")&&(r=t.attributes.get("variable"));const n={element:t.element};t._meta&&0<t._meta.length&&(n.meta=this.serialiseObject(t.meta));var e="enum"===t.element||-1!==t.attributes.keys().indexOf("enumerations");if(e){const r=this.enumSerialiseAttributes(t);r&&(n.attributes=r)}else if(t._attributes&&0<t._attributes.length){let e=t["attributes"];e.get("metadata")&&((e=e.clone()).set("meta",e.get("metadata")),e.remove("metadata")),"member"===t.element&&r&&(e=e.clone()).remove("variable"),0<e.length&&(n.attributes=this.serialiseObject(e))}if(e)n.content=this.enumSerialiseContent(t,n);else if(this[t.element+"SerialiseContent"])n.content=this[t.element+"SerialiseContent"](t,n);else if(void 0!==t.content){let e;e=r&&t.content.key?((e=t.content.clone()).key.attributes.set("variable",r),this.serialiseContent(e)):this.serialiseContent(t.content),this.shouldSerialiseContent(t,e)&&(n.content=e)}else this.shouldSerialiseContent(t,t.content)&&t instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),r=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default");let s=t.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([n.content]))),s.forEach(e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")}),e.content&&0!==r.length&&s.unshift(e.content),(s=s.map(e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))).length&&t.set("samples",s),0<t.length)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&0<t.length)return t.content.map(e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)})}if(e.content){const r=e.content.clone();return r.attributes.remove("typeAttributes"),[this.serialise(r)]}return[]}deserialise(t){if("string"==typeof t)return new this.namespace.elements.String(t);if("number"==typeof t)return new this.namespace.elements.Number(t);if("boolean"==typeof t)return new this.namespace.elements.Boolean(t);if(null===t)return new this.namespace.elements.Null;if(Array.isArray(t))return new this.namespace.elements.Array(t.map(this.deserialise,this));const n=this.namespace.getElementClass(t.element),s=new n,o=(s.element!==t.element&&(s.element=t.element),t.meta&&this.deserialiseObject(t.meta,s.meta),t.attributes&&this.deserialiseObject(t.attributes,s.attributes),this.deserialiseContent(t.content));if(void 0===o&&null!==s.content||(s.content=o),"enum"===s.element){s.content&&s.attributes.set("enumerations",s.content);let r=s.attributes.get("samples");if(s.attributes.remove("samples"),r){const o=r;r=new this.namespace.elements.Array,o.forEach(e=>{e.forEach(e=>{const t=new n(e);t.element=s.element,r.push(t)})});t=r.shift();s.content=t?t.content:void 0,s.attributes.set("samples",r)}else s.content=void 0;let e=s.attributes.get("default");if(e&&0<e.length){e=e.get(0);const t=new n(e);t.element=s.element,s.attributes.set("default",t)}}else if("dataStructure"===s.element&&Array.isArray(s.content))[s.content]=s.content;else if("category"===s.element){const t=s.attributes.get("meta");t&&(s.attributes.set("metadata",t),s.attributes.remove("meta"))}else"member"===s.element&&s.key&&s.key._attributes&&s.key._attributes.getValue("variable")&&(s.attributes.set("variable",s.key.attributes.get("variable")),s.key.attributes.remove("variable"));return s}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(t,e){return this.shouldRefract(e)?this.serialise(e):"enum"===e.element?this.serialiseEnum(e):"array"===e.element?e.map(e=>this.shouldRefract(e)||"default"===t?this.serialise(e):"array"===e.element||"object"===e.element||"enum"===e.element?e.children.map(e=>this.serialise(e)):e.toValue()):"object"===e.element?(e.content||[]).map(this.serialise,this):e.toValue()}serialiseEnum(e){return e.children.map(e=>this.serialise(e))}serialiseObject(e){const r={};return e.forEach((e,t)=>{e&&(t=t.toValue(),r[t]=this.convertKeyToRefract(t,e))}),r}deserialiseObject(t,r){Object.keys(t).forEach(e=>{r.set(e,this.deserialise(t[e]))})}}},85105:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&0<e._meta.length&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&0<e._attributes.length&&(t.attributes=this.serialiseObject(e.attributes));e=this.serialiseContent(e.content);return void 0!==e&&(t.content=e),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);e=this.deserialiseContent(e.content);return void 0===e&&null!==t.content||(t.content=e),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?0===e.length?void 0:e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const r={};if(e.forEach((e,t)=>{e&&(r[t.toValue()]=this.serialise(e))}),0!==Object.keys(r).length)return r}deserialiseObject(t,r){Object.keys(t).forEach(e=>{r.set(e,this.deserialise(t[e]))})}}},58859:(r,n,w)=>{var e="function"==typeof Map&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,E=e&&t&&"function"==typeof t.get?t.get:null,x=e&&Map.prototype.forEach,t="function"==typeof Set&&Set.prototype,e=Object.getOwnPropertyDescriptor&&t?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,S=t&&e&&"function"==typeof e.get?e.get:null,_=t&&Set.prototype.forEach,k="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,A="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,O="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,X=Boolean.prototype.valueOf,o=Object.prototype.toString,Q=Function.prototype.toString,Z=String.prototype.match,C=String.prototype.slice,j=String.prototype.replace,i=String.prototype.toUpperCase,P=String.prototype.toLowerCase,u=RegExp.prototype.test,N=Array.prototype.concat,I=Array.prototype.join,ee=Array.prototype.slice,s=Math.floor,T="function"==typeof BigInt?BigInt.prototype.valueOf:null,p=Object.getOwnPropertySymbols,M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,R="function"==typeof Symbol&&"object"==typeof Symbol.iterator,D="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,L=Object.prototype.propertyIsEnumerable,F=("function"==typeof Reflect?Reflect:Object).getPrototypeOf||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function B(e,t){if(e===1/0||e===-1/0||e!=e||e&&-1e3<e&&e<1e3||u.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-s(-e):s(e);if(n!==e)return e=String(n),n=C.call(t,e.length+1),j.call(e,r,"$&_")+"."+j.call(j.call(n,/([0-9]{3})/g,"$&_"),/_$/,"")}return j.call(t,r,"$&_")}var $=w(42634),e=$.custom,q=te(e)?e:null;function U(e,t,r){r="double"===(r.quoteStyle||t)?'"':"'";return r+e+r}function z(e){return!("[object Array]"!==W(e)||D&&"object"==typeof e&&D in e)}function V(e){return!("[object RegExp]"!==W(e)||D&&"object"==typeof e&&D in e)}function te(e){if(R)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return 1;if(e&&"object"==typeof e&&M)try{return M.call(e),1}catch(e){}}r.exports=function n(r,e,s,o){var i=e||{};if(K(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(K(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');e=!K(i,"customInspect")||i.customInspect;if("boolean"!=typeof e&&"symbol"!==e)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(K(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&0<i.indent))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(K(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var t=i.numericSeparator;if(void 0===r)return"undefined";if(null===r)return"null";if("boolean"==typeof r)return r?"true":"false";if("string"==typeof r)return function e(t,r){{var n;if(t.length>r.maxStringLength)return n=t.length-r.maxStringLength,n="... "+n+" more character"+(1<n?"s":""),e(C.call(t,0,r.maxStringLength),r)+n}return U(j.call(j.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ne),"single",r)}(r,i);if("number"==typeof r){if(0===r)return 0<1/0/r?"0":"-0";var a=String(r);return t?B(r,a):a}if("bigint"==typeof r)return a=String(r)+"n",t?B(r,a):a;t=void 0===i.depth?5:i.depth;if(t<=(s=void 0===s?0:s)&&0<t&&"object"==typeof r)return z(r)?"[Array]":"[Object]";var l,c,u,p,h,d,f,a=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&0<e.indent))return null;r=I.call(Array(e.indent+1)," ")}return{base:r,prev:I.call(Array(t+1),r)}}(i,s);if(void 0===o)o=[];else if(0<=re(o,r))return"[Circular]";function m(e,t,r){return t&&(o=ee.call(o)).push(t),r?(t={depth:i.depth},K(i,"quoteStyle")&&(t.quoteStyle=i.quoteStyle),n(e,t,s+1,o)):n(e,i,s+1,o)}if("function"==typeof r&&!V(r))return"[Function"+((c=function(e){if(e.name)return e.name;e=Z.call(Q.call(e),/^function\s*([\w$]+)/);return e?e[1]:null}(r))?": "+c:" (anonymous)")+"]"+(0<(c=Y(r,m)).length?" { "+I.call(c,", ")+" }":"");if(te(r))return c=R?j.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):M.call(r),"object"!=typeof r||R?c:J(c);if((c=r)&&"object"==typeof c&&("undefined"!=typeof HTMLElement&&c instanceof HTMLElement||"string"==typeof c.nodeName&&"function"==typeof c.getAttribute)){for(var g="<"+P.call(String(r.nodeName)),y=r.attributes||[],v=0;v<y.length;v++)g+=" "+y[v].name+"="+U((l=y[v].value,j.call(String(l),/"/g,""")),"double",i);return g+=">",r.childNodes&&r.childNodes.length&&(g+="..."),g+("</"+P.call(String(r.nodeName)))+">"}if(z(r)){if(0===r.length)return"[]";var b=Y(r,m);return a&&!function(e){for(var t=0;t<e.length;t++)if(0<=re(e[t],"\n"))return;return 1}(b)?"["+G(b,a)+"]":"[ "+I.call(b,", ")+" ]"}if(!("[object Error]"!==W(b=r)||D&&"object"==typeof b&&D in b))return h=Y(r,m),"cause"in Error.prototype||!("cause"in r)||L.call(r,"cause")?0===h.length?"["+String(r)+"]":"{ ["+String(r)+"] "+I.call(h,", ")+" }":"{ ["+String(r)+"] "+I.call(N.call("[cause]: "+m(r.cause),h),", ")+" }";if("object"==typeof r&&e){if(q&&"function"==typeof r[q]&&$)return $(r,{depth:t-s});if("symbol"!==e&&"function"==typeof r.inspect)return r.inspect()}return function(e){if(E&&e&&"object"==typeof e)try{E.call(e);try{S.call(e)}catch(e){return 1}return e instanceof Map}catch(e){}}(r)?(u=[],x&&x.call(r,function(e,t){u.push(m(t,r,!0)+" => "+m(e,r))}),se("Map",E.call(r),u,a)):function(e){if(S&&e&&"object"==typeof e)try{S.call(e);try{E.call(e)}catch(e){return 1}return e instanceof Set}catch(e){}}(r)?(p=[],_&&_.call(r,function(e){p.push(m(e,r))}),se("Set",S.call(r),p,a)):function(e){if(k&&e&&"object"==typeof e)try{k.call(e,k);try{A.call(e,A)}catch(e){return 1}return e instanceof WeakMap}catch(e){}}(r)?H("WeakMap"):function(e){if(A&&e&&"object"==typeof e)try{A.call(e,A);try{k.call(e,k)}catch(e){return 1}return e instanceof WeakSet}catch(e){}}(r)?H("WeakSet"):function(e){if(O&&e&&"object"==typeof e)try{return O.call(e),1}catch(e){}}(r)?H("WeakRef"):"[object Number]"!==W(h=r)||D&&"object"==typeof h&&D in h?function(e){if(e&&"object"==typeof e&&T)try{return T.call(e),1}catch(e){}}(r)?J(m(T.call(r))):"[object Boolean]"!==W(t=r)||D&&"object"==typeof t&&D in t?"[object String]"!==W(e=r)||D&&"object"==typeof e&&D in e?"undefined"!=typeof window&&r===window?"{ [object Window] }":r===w.g?"{ [object globalThis] }":("[object Date]"!==W(t=r)||D&&"object"==typeof t&&D in t)&&!V(r)?(e=Y(r,m),t=F?F(r)===Object.prototype:r instanceof Object||r.constructor===Object,d=r instanceof Object?"":"null prototype",f=!t&&D&&Object(r)===r&&D in r?C.call(W(r),8,-1):d?"Object":"",t=(!t&&"function"==typeof r.constructor&&r.constructor.name?r.constructor.name+" ":"")+(f||d?"["+I.call(N.call([],f||[],d||[]),": ")+"] ":""),0===e.length?t+"{}":a?t+"{"+G(e,a)+"}":t+"{ "+I.call(e,", ")+" }"):String(r):J(m(String(r))):J(X.call(r)):J(m(Number(r)))};var a=Object.prototype.hasOwnProperty||function(e){return e in this};function K(e,t){return a.call(e,t)}function W(e){return o.call(e)}function re(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function ne(e){var e=e.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+i.call(e.toString(16))}function J(e){return"Object("+e+")"}function H(e){return e+" { ? }"}function se(e,t,r,n){return e+" ("+t+") {"+(n?G(r,n):I.call(r,", "))+"}"}function G(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+I.call(e,","+r)+"\n"+t.prev}function Y(e,t){var r=z(e),n=[];if(r){n.length=e.length;for(var s=0;s<e.length;s++)n[s]=K(e,s)?t(e[s],e):""}var o,i="function"==typeof p?p(e):[];if(R)for(var a={},l=0;l<i.length;l++)a["$"+i[l]]=i[l];for(o in e)!K(e,o)||r&&String(Number(o))===o&&o<e.length||R&&a["$"+o]instanceof Symbol||(u.call(/[^\w$]/,o)?n.push(t(o,e)+": "+t(e[o],e)):n.push(o+": "+t(e[o],e)));if("function"==typeof p)for(var c=0;c<i.length;c++)L.call(e,i[c])&&n.push("["+t(i[c])+"]: "+t(e[i[c]],e));return n}},65606:e=>{var r,n,e=e.exports={};function s(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(t){if(r===setTimeout)return setTimeout(t,0);if((r===s||!r)&&setTimeout)return(r=setTimeout)(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}try{r="function"==typeof setTimeout?setTimeout:s}catch(e){r=s}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}var a,l=[],c=!1,u=-1;function p(){c&&a&&(c=!1,a.length?l=a.concat(l):u=-1,l.length&&h())}function h(){if(!c){var e=i(p);c=!0;for(var t=l.length;t;){for(a=l,l=[];++u<t;)a&&a[u].run();u=-1,t=l.length}a=null,c=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===o||!n)&&clearTimeout)return(n=clearTimeout)(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function t(){}e.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new d(e,t)),1!==l.length||c||i(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=t,e.addListener=t,e.once=t,e.off=t,e.removeListener=t,e.removeAllListeners=t,e.emit=t,e.prependListener=t,e.prependOnceListener=t,e.listeners=function(e){return[]},e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},2694:(e,t,r)=>{"use strict";var i=r(6925);function n(){}function s(){}s.resetWarningCache=n,e.exports=function(){function e(e,t,r,n,s,o){if(o!==i)throw(o=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")).name="Invariant Violation",o}function t(){return e}var r={array:e.isRequired=e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:n};return r.PropTypes=r}},5556:(e,t,r)=>{e.exports=r(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},74765:e=>{"use strict";var t=String.prototype.replace,r=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},55373:(e,t,r)=>{"use strict";var n=r(98636),s=r(62642),r=r(74765);e.exports={formats:r,parse:s,stringify:n}},62642:(e,t,r)=>{"use strict";function y(e,t){return e&&"string"==typeof e&&t.comma&&-1<e.indexOf(",")?e.split(","):e}var p=r(37720),v=Object.prototype.hasOwnProperty,h=Array.isArray,d={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:p.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1};e.exports=function(e,t){var r=function(e){if(!e)return d;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=(void 0===e.charset?d:e).charset;return{allowDots:void 0===e.allowDots?d.allowDots:!!e.allowDots,allowPrototypes:("boolean"==typeof e.allowPrototypes?e:d).allowPrototypes,allowSparse:("boolean"==typeof e.allowSparse?e:d).allowSparse,arrayLimit:("number"==typeof e.arrayLimit?e:d).arrayLimit,charset:t,charsetSentinel:("boolean"==typeof e.charsetSentinel?e:d).charsetSentinel,comma:("boolean"==typeof e.comma?e:d).comma,decoder:("function"==typeof e.decoder?e:d).decoder,delimiter:("string"==typeof e.delimiter||p.isRegExp(e.delimiter)?e:d).delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:d.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:("boolean"==typeof e.interpretNumericEntities?e:d).interpretNumericEntities,parameterLimit:("number"==typeof e.parameterLimit?e:d).parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:("boolean"==typeof e.plainObjects?e:d).plainObjects,strictNullHandling:("boolean"==typeof e.strictNullHandling?e:d).strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof e?function(e,t){var r,n,s,o,i={},e=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=t.parameterLimit===1/0?void 0:t.parameterLimit,l=e.split(t.delimiter,a),c=-1,u=t.charset;if(t.charsetSentinel)for(r=0;r<l.length;++r)0===l[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===l[r]?u="utf-8":"utf8=%26%2310003%3B"===l[r]&&(u="iso-8859-1"),c=r,r=l.length);for(r=0;r<l.length;++r)r!==c&&(o=-1===(o=(s=l[r]).indexOf("]="))?s.indexOf("="):o+1,(o=-1===o?(n=t.decoder(s,d.decoder,u,"key"),t.strictNullHandling?null:""):(n=t.decoder(s.slice(0,o),d.decoder,u,"key"),p.maybeMap(y(s.slice(o+1),t),function(e){return t.decoder(e,d.decoder,u,"value")})))&&t.interpretNumericEntities&&"iso-8859-1"===u&&(o=o.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})),-1<s.indexOf("[]=")&&(o=h(o)?[o]:o),v.call(i,n)?i[n]=p.combine(i[n],o):i[n]=o);return i}(e,r):e,s=r.plainObjects?Object.create(null):{},o=Object.keys(n),i=0;i<o.length;++i)var a=o[i],a=function(e,t,r,n){if(e){var s=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/g,i=0<r.depth&&/(\[[^[\]]*])/.exec(s),e=i?s.slice(0,i.index):s,a=[];if(e){if(!r.plainObjects&&v.call(Object.prototype,e)&&!r.allowPrototypes)return;a.push(e)}for(var l=0;0<r.depth&&null!==(i=o.exec(s))&&l<r.depth;){if(l+=1,!r.plainObjects&&v.call(Object.prototype,i[1].slice(1,-1))&&!r.allowPrototypes)return;a.push(i[1])}i&&a.push("["+s.slice(i.index)+"]");for(var c=a,u=r,p=n?t:y(t,u),h=c.length-1;0<=h;--h){var d,f,m,g=c[h];"[]"===g&&u.parseArrays?d=[].concat(p):(d=u.plainObjects?Object.create(null):{},f="["===g.charAt(0)&&"]"===g.charAt(g.length-1)?g.slice(1,-1):g,m=parseInt(f,10),u.parseArrays||""!==f?!isNaN(m)&&g!==f&&String(m)===f&&0<=m&&u.parseArrays&&m<=u.arrayLimit?(d=[])[m]=p:"__proto__"!==f&&(d[f]=p):d={0:p}),p=d}return p}}(a,n[a],r,"string"==typeof e),s=p.merge(s,a,r);return!0===r.allowSparse?s:p.compact(s)}},98636:(e,t,r)=>{"use strict";function I(e,t){n.apply(e,D(t)?t:[t])}function T(e,t,r,n,s,o,i,a,l,c,u,p,h,d,f,m){for(var g=e,y=m,v=0,b=!1;void 0!==(y=y.get(B))&&!b;){var w=y.get(e);if(v+=1,void 0!==w){if(w===v)throw new RangeError("Cyclic object value");b=!0}void 0===y.get(B)&&(v=0)}if("function"==typeof a?g=a(t,g):g instanceof Date?g=u(g):"comma"===r&&D(g)&&(g=R.maybeMap(g,function(e){return e instanceof Date?u(e):e})),null===g){if(s)return i&&!d?i(t,F.encoder,f,"key",p):t;g=""}if("string"==typeof(E=g)||"number"==typeof E||"boolean"==typeof E||"symbol"==typeof E||"bigint"==typeof E||R.isBuffer(g)){if(i){var E=d?t:i(t,F.encoder,f,"key",p);if("comma"===r&&d){for(var x=L.call(String(g),","),S="",_=0;_<x.length;++_)S+=(0===_?"":",")+h(i(x[_],F.encoder,f,"value",p));return[h(E)+(n&&D(g)&&1===x.length?"[]":"")+"="+S]}return[h(E)+"="+h(i(g,F.encoder,f,"value",p))]}return[h(t)+"="+h(String(g))]}var k,A=[];if(void 0===g)return A;k="comma"===r&&D(g)?[{value:0<g.length?g.join(",")||null:void 0}]:D(a)?a:(E=Object.keys(g),l?E.sort(l):E);for(var O=n&&D(g)&&1===g.length?t+"[]":t,C=0;C<k.length;++C){var j,P=k[C],N="object"==typeof P&&void 0!==P.value?P.value:g[P];o&&null===N||(P=D(g)?"function"==typeof r?r(O,P):O:O+(c?"."+P:"["+P+"]"),m.set(e,v),(j=M()).set(B,m),I(A,T(N,P,r,n,s,o,i,a,l,c,u,p,h,d,f,j)))}return A}var M=r(920),R=r(37720),p=r(74765),h=Object.prototype.hasOwnProperty,d={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},D=Array.isArray,L=String.prototype.split,n=Array.prototype.push,s=Date.prototype.toISOString,r=p.default,F={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:R.encode,encodeValuesOnly:!1,format:r,formatter:p.formatters[r],indices:!1,serializeDate:function(e){return s.call(e)},skipNulls:!1,strictNullHandling:!1},B={};e.exports=function(e,t){var r=e,n=function(e){if(!e)return F;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||F.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=p.default;if(void 0!==e.format){if(!h.call(p.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=p.formatters[r],s=F.filter;return"function"!=typeof e.filter&&!D(e.filter)||(s=e.filter),{addQueryPrefix:("boolean"==typeof e.addQueryPrefix?e:F).addQueryPrefix,allowDots:void 0===e.allowDots?F.allowDots:!!e.allowDots,charset:t,charsetSentinel:("boolean"==typeof e.charsetSentinel?e:F).charsetSentinel,delimiter:(void 0===e.delimiter?F:e).delimiter,encode:("boolean"==typeof e.encode?e:F).encode,encoder:("function"==typeof e.encoder?e:F).encoder,encodeValuesOnly:("boolean"==typeof e.encodeValuesOnly?e:F).encodeValuesOnly,filter:s,format:r,formatter:n,serializeDate:("function"==typeof e.serializeDate?e:F).serializeDate,skipNulls:("boolean"==typeof e.skipNulls?e:F).skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:("boolean"==typeof e.strictNullHandling?e:F).strictNullHandling}}(t);"function"==typeof n.filter?r=(0,n.filter)("",r):D(n.filter)&&(a=n.filter);var s=[];if("object"!=typeof r||null===r)return"";var e=t&&t.arrayFormat in d?t.arrayFormat:!(t&&"indices"in t)||t.indices?"indices":"repeat",o=d[e];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var i="comma"===o&&t&&t.commaRoundTrip,a=a||Object.keys(r);n.sort&&a.sort(n.sort);for(var l=M(),c=0;c<a.length;++c){var u=a[c];n.skipNulls&&null===r[u]||I(s,T(r[u],u,o,i,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,l))}e=s.join(n.delimiter),t=!0===n.addQueryPrefix?"?":"";return n.charsetSentinel&&("iso-8859-1"===n.charset?t+="utf8=%26%2310003%3B&":t+="utf8=%E2%9C%93&"),0<e.length?t+e:""}},37720:(e,t,r)=>{"use strict";function a(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r}var c=r(74765),l=Object.prototype.hasOwnProperty,m=Array.isArray,u=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}();e.exports={arrayToObject:a,assign:function(e,r){return Object.keys(r).reduce(function(e,t){return e[t]=r[t],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var s=t[n],o=s.obj[s.prop],i=Object.keys(o),a=0;a<i.length;++a){var l=i[a],c=o[l];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:o,prop:l}),r.push(c))}for(var u=t;1<u.length;){var p=u.pop(),h=p.obj[p.prop];if(m(h)){for(var d=[],f=0;f<h.length;++f)void 0!==h[f]&&d.push(h[f]);p.obj[p.prop]=d}}return e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,n,s){if(0===e.length)return e;var o=e;if("symbol"==typeof e?o=Symbol.prototype.toString.call(e):"string"!=typeof e&&(o=String(e)),"iso-8859-1"===r)return escape(o).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var i="",a=0;a<o.length;++a){var l=o.charCodeAt(a);45===l||46===l||95===l||126===l||48<=l&&l<=57||65<=l&&l<=90||97<=l&&l<=122||s===c.RFC1738&&(40===l||41===l)?i+=o.charAt(a):l<128?i+=u[l]:l<2048?i+=u[192|l>>6]+u[128|63&l]:l<55296||57344<=l?i+=u[224|l>>12]+u[128|l>>6&63]+u[128|63&l]:(a+=1,l=65536+((1023&l)<<10|1023&o.charCodeAt(a)),i+=u[240|l>>18]+u[128|l>>12&63]+u[128|l>>6&63]+u[128|63&l])}return i},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(m(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function n(s,o,i){if(!o)return s;if("object"!=typeof o){if(m(s))s.push(o);else{if(!s||"object"!=typeof s)return[s,o];(i&&(i.plainObjects||i.allowPrototypes)||!l.call(Object.prototype,o))&&(s[o]=!0)}return s}if(!s||"object"!=typeof s)return[s].concat(o);var e=s;return m(s)&&!m(o)&&(e=a(s,i)),m(s)&&m(o)?(o.forEach(function(e,t){var r;l.call(s,t)?(r=s[t])&&"object"==typeof r&&e&&"object"==typeof e?s[t]=n(r,e,i):s.push(e):s[t]=e}),s):Object.keys(o).reduce(function(e,t){var r=o[t];return l.call(e,t)?e[t]=n(e[t],r,i):e[t]=r,e},e)}}},73992:(e,t)=>{"use strict";var o=Object.prototype.hasOwnProperty;function i(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function a(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){var r,n,s=[];for(n in"string"!=typeof(t=t||"")&&(t="?"),e)if(o.call(e,n)){if((r=e[n])||null!=r&&!isNaN(r)||(r=""),n=a(n),r=a(r),null===n||null===r)continue;s.push(n+"="+r)}return s.length?t+s.join("&"):""},t.parse=function(e){for(var t=/([^=?#&]+)=?([^&]*)/g,r={};s=t.exec(e);){var n=i(s[1]),s=i(s[2]);null===n||null===s||n in r||(r[n]=s)}return r}},41859:(e,t,r)=>{const i=r(27096),a=r(78004),l=i.types;e.exports=class n{constructor(e,t){if(this._setDefaults(e),e instanceof RegExp)this.ignoreCase=e.ignoreCase,this.multiline=e.multiline,e=e.source;else{if("string"!=typeof e)throw new Error("Expected a regexp or string");this.ignoreCase=t&&-1!==t.indexOf("i"),this.multiline=t&&-1!==t.indexOf("m")}this.tokens=i(e)}_setDefaults(e){this.max=null!=e.max?e.max:null!=n.prototype.max?n.prototype.max:100,this.defaultRange=e.defaultRange||this.defaultRange.clone(),e.randInt&&(this.randInt=e.randInt)}gen(){return this._gen(this.tokens,[])}_gen(e,t){var r,n,s,o,i;switch(e.type){case l.ROOT:case l.GROUP:if(e.followedBy||e.notFollowedBy)return"";for(e.remember&&void 0===e.groupNumber&&(e.groupNumber=t.push(null)-1),n="",o=0,i=(r=e.options?this._randSelect(e.options):e.stack).length;o<i;o++)n+=this._gen(r[o],t);return e.remember&&(t[e.groupNumber]=n),n;case l.POSITION:return"";case l.SET:var a=this._expand(e);return a.length?String.fromCharCode(this._randSelect(a)):"";case l.REPETITION:for(s=this.randInt(e.min,e.max===1/0?e.min+this.max:e.max),n="",o=0;o<s;o++)n+=this._gen(e.value,t);return n;case l.REFERENCE:return t[e.value-1]||"";case l.CHAR:a=this.ignoreCase&&this._randBool()?this._toOtherCase(e.value):e.value;return String.fromCharCode(a)}}_toOtherCase(e){return e+(97<=e&&e<=122?-32:65<=e&&e<=90?32:0)}_randBool(){return!this.randInt(0,1)}_randSelect(e){return e instanceof a?e.index(this.randInt(0,e.length-1)):e[this.randInt(0,e.length-1)]}_expand(n){if(n.type===i.types.CHAR)return new a(n.value);if(n.type===i.types.RANGE)return new a(n.from,n.to);{let r=new a;for(let e=0;e<n.set.length;e++){let t=this._expand(n.set[e]);if(r.add(t),this.ignoreCase)for(let e=0;e<t.length;e++){var s=t.index(e),o=this._toOtherCase(s);s!==o&&r.add(o)}}return n.not?this.defaultRange.clone().subtract(r):this.defaultRange.clone().intersect(r)}}randInt(e,t){return e+Math.floor(Math.random()*(1+t-e))}get defaultRange(){return this._range=this._range||new a(32,126)}set defaultRange(e){this._range=e}static randexp(e,t){var r;return void 0===(e="string"==typeof e?new RegExp(e,t):e)._randexp?(r=new n(e,t),e._randexp=r):(r=e._randexp)._setDefaults(e),r.gen()}static sugar(){RegExp.prototype.gen=function(){return n.randexp(this)}}}},53209:(e,t,r)=>{"use strict";var s=r(65606),o=r(92861).Buffer,i=r.g.crypto||r.g.msCrypto;i&&i.getRandomValues?e.exports=function(e,t){if(4294967295<e)throw new RangeError("requested too many random bytes");var r=o.allocUnsafe(e);if(0<e)if(65536<e)for(var n=0;n<e;n+=65536)i.getRandomValues(r.slice(n,n+65536));else i.getRandomValues(r);return"function"==typeof t?s.nextTick(function(){t(null,r)}):r}:e.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},25264:(e,t,r)=>{"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var l=n(r(96540)),c=n(r(17965)),u=["text","onCopy","options","children"];function n(e){return e&&e.__esModule?e:{default:e}}function s(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach(function(e){g(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t,r){t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}r=function(e){var t=a;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&d(t,e);r=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var r,n,s,i=function(){var e,t=m(r),t=(e=n?(e=m(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===o(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return f(t)};function a(){var o,e=this,t=a;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");for(var r=arguments.length,n=new Array(r),s=0;s<r;s++)n[s]=arguments[s];return g(f(o=i.call.apply(i,[this].concat(n))),"onClick",function(e){var t=o.props,r=t.text,n=t.onCopy,s=t.children,t=t.options,s=l.default.Children.only(s),t=(0,c.default)(r,t);n&&n(r,t),s&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(e)}),o}return t=a,(e=[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),e=function(e,t){if(null==e)return{};var r,n=function(e,t){if(null==e)return{};for(var r,n={},s=Object.keys(e),o=0;o<s.length;o++)r=s[o],0<=t.indexOf(r)||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols)for(var s=Object.getOwnPropertySymbols(e),o=0;o<s.length;o++)r=s[o],0<=t.indexOf(r)||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r]);return n}(e,u),t=l.default.Children.only(t);return l.default.cloneElement(t,p(p({},e),{},{onClick:this.onClick}))}}])&&h(t.prototype,e),s&&h(t,s),Object.defineProperty(t,"prototype",{writable:!1}),a}(l.default.PureComponent);g(t.CopyToClipboard=r,"defaultProps",{onCopy:void 0,options:void 0})},59399:(e,t,r)=>{"use strict";r=r(25264).CopyToClipboard;r.CopyToClipboard=r,e.exports=r},81214:(e,t,r)=>{"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.DebounceInput=void 0;var l=n(r(96540)),c=n(r(20181)),u=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"];function n(e){return e&&e.__esModule?e:{default:e}}function s(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach(function(e){g(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t,r){t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}r=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&d(t,e);r=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var r,n,s,o=function(){var e,t=m(r),t=(e=n?(e=m(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return f(t)};function i(e){var s;if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");g(f(s=o.call(this,e)),"onChange",function(t){t.persist();var r=s.state.value,n=s.props.minLength;s.setState({value:t.target.value},function(){var e=s.state.value;e.length>=n?s.notify(t):r.length>e.length&&s.notify(p(p({},t),{},{target:p(p({},t.target),{},{value:""})}))})}),g(f(s),"onKeyDown",function(e){"Enter"===e.key&&s.forceNotify(e);var t=s.props.onKeyDown;t&&(e.persist(),t(e))}),g(f(s),"onBlur",function(e){s.forceNotify(e);var t=s.props.onBlur;t&&(e.persist(),t(e))}),g(f(s),"createNotifier",function(e){var t;e<0?s.notify=function(){return null}:0===e?s.notify=s.doNotify:(t=(0,c.default)(function(e){s.isDebouncing=!1,s.doNotify(e)},e),s.notify=function(e){s.isDebouncing=!0,t(e)},s.flush=function(){return t.flush()},s.cancel=function(){s.isDebouncing=!1,t.cancel()})}),g(f(s),"doNotify",function(){s.props.onChange.apply(void 0,arguments)}),g(f(s),"forceNotify",function(e){var t,r=s.props.debounceTimeout;!s.isDebouncing&&0<r||(s.cancel&&s.cancel(),r=s.state.value,t=s.props.minLength,r.length>=t?s.doNotify(e):s.doNotify(p(p({},e),{},{target:p(p({},e.target),{},{value:r})})))}),s.isDebouncing=!1,s.state={value:void 0===e.value||null===e.value?"":e.value};e=s.props.debounceTimeout;return s.createNotifier(e),s}return t=i,(e=[{key:"componentDidUpdate",value:function(e){var t,r,n,s;this.isDebouncing||(t=(r=this.props).value,r=r.debounceTimeout,n=e.debounceTimeout,e=e.value,s=this.state.value,void 0!==t&&e!==t&&s!==t&&this.setState({value:t}),r!==n&&this.createNotifier(r))}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var e=this.props,t=e.element,r=(e.onChange,e.value,e.minLength,e.debounceTimeout,e.forceNotifyByEnter),n=e.forceNotifyOnBlur,s=e.onKeyDown,o=e.onBlur,i=e.inputRef,e=function(e,t){if(null==e)return{};var r,n=function(e,t){if(null==e)return{};for(var r,n={},s=Object.keys(e),o=0;o<s.length;o++)r=s[o],0<=t.indexOf(r)||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols)for(var s=Object.getOwnPropertySymbols(e),o=0;o<s.length;o++)r=s[o],0<=t.indexOf(r)||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r]);return n}(e,u),a=this.state.value,r=r?{onKeyDown:this.onKeyDown}:s?{onKeyDown:s}:{},s=n?{onBlur:this.onBlur}:o?{onBlur:o}:{},n=i?{ref:i}:{};return l.default.createElement(t,p(p(p(p({},e),{},{onChange:this.onChange,value:a},r),s),n))}}])&&h(t.prototype,e),s&&h(t,s),Object.defineProperty(t,"prototype",{writable:!1}),i}(l.default.PureComponent);g(t.DebounceInput=r,"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:(e,t,r)=>{"use strict";r=r(81214).DebounceInput;r.DebounceInput=r,e.exports=r},22551:(l,f,e)=>{"use strict";var O=e(96540),r=e(69982);function $(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var C=new Set,j={};function P(e,t){N(e,t),N(e+"Capture",t)}function N(e,t){for(j[e]=t,e=0;e<t.length;e++)C.add(t[e])}var e=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),I=Object.prototype.hasOwnProperty,T=/^[: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]*$/,M={},R={};function n(e,t,r,n,s,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=s,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var i={},D=("children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){i[e]=new n(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];i[t]=new n(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){i[e]=new n(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){i[e]=new n(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){i[e]=new n(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){i[e]=new n(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){i[e]=new n(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){i[e]=new n(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){i[e]=new n(e,5,!1,e.toLowerCase(),null,!1,!1)}),/[\-:]([a-z])/g);function L(e){return e[1].toUpperCase()}function B(e,t,r,n){var s,o=i.hasOwnProperty(t)?i[t]:null;(null!==o?0!==o.type:n||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null===r||0!==r.type)switch(typeof t){case"function":case"symbol":return 1;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return}}(e,t,r,n))return 1;if(!n&&null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||t<1}}(t,r,o,n)&&(r=null),n||null===o?(s=t,(I.call(R,s)||!I.call(M,s)&&(T.test(s)?R[s]=!0:(M[s]=!0,0)))&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r))):o.mustUseProperty?e[o.propertyName]=null===r?3!==o.type&&"":r:(t=o.attributeName,n=o.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(o=o.type)||4===o&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(D,L);i[t]=new n(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(D,L);i[t]=new n(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(D,L);i[t]=new n(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){i[e]=new n(e,1,!1,e.toLowerCase(),null,!1,!1)}),i.xlinkHref=new n("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){i[e]=new n(e,1,!1,e.toLowerCase(),null,!0,!0)});var O=O.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Y=Symbol.for("react.element"),X=Symbol.for("react.portal"),Q=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),te=Symbol.for("react.provider"),re=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),se=Symbol.for("react.suspense"),oe=Symbol.for("react.suspense_list"),ie=Symbol.for("react.memo"),ae=Symbol.for("react.lazy"),le=(Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode"),Symbol.for("react.offscreen")),ce=(Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker"),Symbol.iterator);function ue(e){return null!==e&&"object"==typeof e&&"function"==typeof(e=ce&&e[ce]||e["@@iterator"])?e:null}var pe,g=Object.assign;function he(e){if(void 0===pe)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);pe=t&&t[1]||""}return"\n"+pe+e}var de=!1;function fe(e,t){if(!e||de)return"";de=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s,o=t.stack.split("\n"),i=n.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,--l<0||o[a]!==i[l])return s="\n"+o[a].replace(" at new "," at "),s=e.displayName&&s.includes("<anonymous>")?s.replace("<anonymous>",e.displayName):s}while(1<=a&&0<=l);break}}}finally{de=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?he(e):""}function me(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return function e(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case Q:return"Fragment";case X:return"Portal";case ee:return"Profiler";case Z:return"StrictMode";case se:return"Suspense";case oe:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case re:return(t.displayName||"Context")+".Consumer";case te:return(t._context.displayName||"Context")+".Provider";case ne:var r=t.render;return t=(t=t.displayName)?t:""!==(t=r.displayName||r.name||"")?"ForwardRef("+t+")":"ForwardRef";case ie:return null!==(r=t.displayName||null)?r:e(t.type)||"Memo";case ae:r=t._payload,t=t._init;try{return e(t(r))}catch(t){}}return null}(t);case 8:return t===Z?"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("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function ge(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ye(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ve(e){e._valueTracker||(e._valueTracker=function(e){var t,r,n=ye(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),o=""+e[n];if(!e.hasOwnProperty(n)&&void 0!==s&&"function"==typeof s.get&&"function"==typeof s.set)return t=s.get,r=s.set,Object.defineProperty(e,n,{configurable:!0,get:function(){return t.call(this)},set:function(e){o=""+e,r.call(this,e)}}),Object.defineProperty(e,n,{enumerable:s.enumerable}),{getValue:function(){return o},setValue:function(e){o=""+e},stopTracking:function(){e._valueTracker=null,delete e[n]}}}(e))}function be(e){if(e){var t=e._valueTracker;if(!t)return 1;var r=t.getValue(),n="";return(e=n=e?ye(e)?e.checked?"true":"false":e.value:n)!==r&&(t.setValue(e),1)}}function we(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}function Ee(e,t){var r=t.checked;return g({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function xe(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked,r=ge(null!=t.value?t.value:r);e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Se(e,t){null!=(t=t.checked)&&B(e,"checked",t,!1)}function _e(e,t){Se(e,t);var r=ge(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return e.removeAttribute("value");t.hasOwnProperty("value")?Ae(e,t.type,r):t.hasOwnProperty("defaultValue")&&Ae(e,t.type,ge(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ke(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function Ae(e,t,r){"number"===t&&we(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Oe=Array.isArray;function Ce(e,t,r,n){if(e=e.options,t){t={};for(var s=0;s<r.length;s++)t["$"+r[s]]=!0;for(r=0;r<e.length;r++)s=t.hasOwnProperty("$"+e[r].value),e[r].selected!==s&&(e[r].selected=s),s&&n&&(e[r].defaultSelected=!0)}else{for(r=""+ge(r),t=null,s=0;s<e.length;s++){if(e[s].value===r)return e[s].selected=!0,n&&(e[s].defaultSelected=!0);null!==t||e[s].disabled||(t=e[s])}null!==t&&(t.selected=!0)}}function je(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error($(91));return g({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Pe(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error($(92));if(Oe(r)){if(1<r.length)throw Error($(93));r=r[0]}t=r}r=t=null==t?"":t}e._wrapperState={initialValue:ge(r)}}function Ne(e,t){var r=ge(t.value),n=ge(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function Ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function Te(e){switch(e){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 Me(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Te(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}De=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Re=Re||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Re.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}};var Re,De,Le="undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction(function(){return De(e,t)})}:De;function Fe(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return r.nodeValue=t}e.textContent=t}var Be={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},$e=["Webkit","ms","Moz","O"];function qe(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||Be.hasOwnProperty(e)&&Be[e]?(""+t).trim():t+"px"}function Ue(e,t){for(var r in e=e.style,t){var n,s;t.hasOwnProperty(r)&&(n=0===r.indexOf("--"),s=qe(r,t[r],n),"float"===r&&(r="cssFloat"),n?e.setProperty(r,s):e[r]=s)}}Object.keys(Be).forEach(function(t){$e.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Be[e]=Be[t]})});var ze=g({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 Ve(e,t){if(t){if(ze[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error($(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error($(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error($(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error($(62))}}function Ke(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var We=null;function Je(e){return 3===(e=(e=e.target||e.srcElement||window).correspondingUseElement?e.correspondingUseElement:e).nodeType?e.parentNode:e}var He=null,Ge=null,Ye=null;function Xe(e){if(e=As(e)){if("function"!=typeof He)throw Error($(280));var t=e.stateNode;t&&(t=Cs(t),He(e.stateNode,e.type,t))}}function Qe(e){Ge?Ye?Ye.push(e):Ye=[e]:Ge=e}function Ze(){if(Ge){var e=Ge,t=Ye;if(Ye=Ge=null,Xe(e),t)for(e=0;e<t.length;e++)Xe(t[e])}}function et(e,t){return e(t)}function tt(){}var rt=!1;function nt(e,t,r){if(rt)return e(t,r);rt=!0;try{et(e,t,r)}finally{rt=!1,null===Ge&&null===Ye||(tt(),Ze())}}function st(e,t){var r=e.stateNode;if(null===r)return null;var n=Cs(r);if(null===n)return null;switch(r=n[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":e=!(n=(n=!n.disabled)?n:!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e));break;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error($(231,t,typeof r));return r}var ot=!1;if(e)try{var t={};Object.defineProperty(t,"passive",{get:function(){ot=!0}}),window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(De){ot=!1}var it=!1,at=null,lt=!1,ct=null,ut={onError:function(e){it=!0,at=e}};function pt(e,t,r,n,s,o,i,a,l){it=!1,at=null,function(e,t,r,n,s,o,i,a,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(e){this.onError(e)}}.apply(ut,arguments)}function ht(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else for(e=t;4098&(t=e).flags&&(r=t.return),e=t.return;);return 3===t.tag?r:null}function dt(e){if(13===e.tag){var t=e.memoizedState;if(null!==(t=null===t&&null!==(e=e.alternate)?e.memoizedState:t))return t.dehydrated}return null}function ft(e){if(ht(e)!==e)throw Error($(188))}function mt(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=ht(e)))throw Error($(188));return t!==e?null:e}for(var r=e,n=t;;){var s=r.return;if(null===s)break;var o=s.alternate;if(null===o){if(null===(n=s.return))break;r=n}else{if(s.child===o.child){for(o=s.child;o;){if(o===r)return ft(s),e;if(o===n)return ft(s),t;o=o.sibling}throw Error($(188))}if(r.return!==n.return)r=s,n=o;else{for(var i=!1,a=s.child;a;){if(a===r){i=!0,r=s,n=o;break}if(a===n){i=!0,n=s,r=o;break}a=a.sibling}if(!i){for(a=o.child;a;){if(a===r){i=!0,r=o,n=s;break}if(a===n){i=!0,n=o,r=s;break}a=a.sibling}if(!i)throw Error($(189))}}if(r.alternate!==n)throw Error($(190))}}if(3!==r.tag)throw Error($(188));return r.stateNode.current===r?e:t}(e))?function e(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var r=e(t);if(null!==r)return r;t=t.sibling}return null}(e):null}var gt=r.unstable_scheduleCallback,yt=r.unstable_cancelCallback,vt=r.unstable_shouldYield,bt=r.unstable_requestPaint,q=r.unstable_now,wt=r.unstable_getCurrentPriorityLevel,Et=r.unstable_ImmediatePriority,xt=r.unstable_UserBlockingPriority,St=r.unstable_NormalPriority,_t=r.unstable_LowPriority,kt=r.unstable_IdlePriority,At=null,Ot=null,Ct=Math.clz32||function(e){return 0===(e>>>=0)?32:31-(jt(e)/Pt|0)|0},jt=Math.log,Pt=Math.LN2,Nt=64,It=4194304;function Tt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Mt(e,t){var r=e.pendingLanes;if(0===r)return 0;var n,s=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&r;if(0!==a?0!=(n=a&~o)?s=Tt(n):0!=(i&=a)&&(s=Tt(i)):0!=(a=r&~o)?s=Tt(a):0!==i&&(s=Tt(i)),0===s)return 0;if(0!==t&&t!==s&&!(t&o)&&((o=s&-s)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&s&&(s|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=s;0<t;)o=1<<(r=31-Ct(t)),s|=e[r],t&=~o;return s}function Rt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Dt(){var e=Nt;return 4194240&(Nt<<=1)||(Nt=64),e}function Lt(e){for(var t=[],r=0;r<31;r++)t.push(e);return t}function Ft(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-Ct(t)]=r}function Bt(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-Ct(r),s=1<<n;s&t|e[n]&t&&(e[n]|=t),r&=~s}}var U=0;function $t(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var qt,Ut,zt,Vt,Kt,Wt=!1,Jt=[],Ht=null,Gt=null,Yt=null,Xt=new Map,Qt=new Map,Zt=[],er="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 tr(e,t){switch(e){case"focusin":case"focusout":Ht=null;break;case"dragenter":case"dragleave":Gt=null;break;case"mouseover":case"mouseout":Yt=null;break;case"pointerover":case"pointerout":Xt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Qt.delete(t.pointerId)}}function rr(e,t,r,n,s,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:o,targetContainers:[s]},null!==t&&null!==(t=As(t))&&Ut(t)):(e.eventSystemFlags|=n,t=e.targetContainers,null!==s&&-1===t.indexOf(s)&&t.push(s)),e}function nr(e){var t=ks(e.target);if(null!==t){var r=ht(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=dt(r)))return e.blockedOn=t,Kt(e.priority,function(){zt(r)})}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated)return e.blockedOn=3===r.tag?r.stateNode.containerInfo:null}e.blockedOn=null}function sr(e){if(null===e.blockedOn){for(var t=e.targetContainers;0<t.length;){var r=mr(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=As(r))&&Ut(t),e.blockedOn=r,0;var n=new(r=e.nativeEvent).constructor(r.type,r);We=n,r.target.dispatchEvent(n),We=null,t.shift()}return 1}}function or(e,t,r){sr(e)&&r.delete(t)}function ir(){Wt=!1,null!==Ht&&sr(Ht)&&(Ht=null),null!==Gt&&sr(Gt)&&(Gt=null),null!==Yt&&sr(Yt)&&(Yt=null),Xt.forEach(or),Qt.forEach(or)}function ar(e,t){e.blockedOn===t&&(e.blockedOn=null,Wt||(Wt=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,ir)))}function lr(t){function e(e){return ar(e,t)}if(0<Jt.length){ar(Jt[0],t);for(var r=1;r<Jt.length;r++){var n=Jt[r];n.blockedOn===t&&(n.blockedOn=null)}}for(null!==Ht&&ar(Ht,t),null!==Gt&&ar(Gt,t),null!==Yt&&ar(Yt,t),Xt.forEach(e),Qt.forEach(e),r=0;r<Zt.length;r++)(n=Zt[r]).blockedOn===t&&(n.blockedOn=null);for(;0<Zt.length&&null===(r=Zt[0]).blockedOn;)nr(r),null===r.blockedOn&&Zt.shift()}var cr=O.ReactCurrentBatchConfig,ur=!0;function pr(e,t,r,n){var s=U,o=cr.transition;cr.transition=null;try{U=1,dr(e,t,r,n)}finally{U=s,cr.transition=o}}function hr(e,t,r,n){var s=U,o=cr.transition;cr.transition=null;try{U=4,dr(e,t,r,n)}finally{U=s,cr.transition=o}}function dr(e,t,r,n){if(ur){var s=mr(e,0,0,n);if(null===s)Qn(e,t,n,fr,r),tr(e,n);else if(function(e,t,r,n,s){switch(t){case"focusin":return Ht=rr(Ht,e,t,r,n,s),1;case"dragenter":return Gt=rr(Gt,e,t,r,n,s),1;case"mouseover":return Yt=rr(Yt,e,t,r,n,s),1;case"pointerover":var o=s.pointerId;return Xt.set(o,rr(Xt.get(o)||null,e,t,r,n,s)),1;case"gotpointercapture":return o=s.pointerId,Qt.set(o,rr(Qt.get(o)||null,e,t,r,n,s)),1}}(s,e,t,r,n))n.stopPropagation();else if(tr(e,n),4&t&&-1<er.indexOf(e)){for(;null!==s;){var o=As(s);if(null!==o&&qt(o),null===(o=mr(e,0,0,n))&&Qn(e,t,n,fr,r),o===s)break;s=o}null!==s&&n.stopPropagation()}else Qn(e,t,n,null,r)}}var fr=null;function mr(e,t,r,n){if((fr=null)!==(e=ks(e=Je(n))))if(null===(t=ht(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=dt(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return fr=e,null}function gr(e){switch(e){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(wt()){case Et:return 1;case xt:return 4;case St:case _t:return 16;case kt:return 536870912;default:return 16}default:return 16}}var yr=null,vr=null,br=null;function wr(){if(br)return br;for(var e=vr,t=e.length,r=("value"in yr?yr.value:yr.textContent),n=r.length,s=0;s<t&&e[s]===r[s];s++);for(var o=t-s,i=1;i<=o&&e[t-i]===r[n-i];i++);return br=r.slice(s,1<i?1-i:void 0)}function Er(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,32<=(e=10===e?13:e)||13===e?e:0}function xr(){return!0}function Sr(){return!1}function _r(i){function e(e,t,r,n,s){for(var o in this._reactName=e,this._targetInst=r,this.type=t,this.nativeEvent=n,this.target=s,this.currentTarget=null,i)i.hasOwnProperty(o)&&(e=i[o],this[o]=e?e(n):n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?xr:Sr,this.isPropagationStopped=Sr,this}return g(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=xr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=xr)},persist:function(){},isPersistent:xr}),e}var kr,Ar,Or,t={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cr=_r(t),s=g({},t,{view:0,detail:0}),jr=_r(s),o=g({},s,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$r,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Or&&(Ar=Or&&"mousemove"===e.type?(kr=e.screenX-Or.screenX,e.screenY-Or.screenY):kr=0,Or=e),kr)},movementY:function(e){return"movementY"in e?e.movementY:Ar}}),Pr=_r(o),Nr=_r(g({},o,{dataTransfer:0})),Ir=_r(g({},s,{relatedTarget:0})),Tr=_r(g({},t,{animationName:0,elapsedTime:0,pseudoElement:0})),Mr=_r(g({},t,{clipboardData:function(e){return("clipboardData"in e?e:window).clipboardData}})),Rr=_r(g({},t,{data:0})),Dr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lr={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"},Fr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Br(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Fr[e])&&!!t[e]}function $r(){return Br}var qr=_r(g({},s,{key:function(e){if(e.key){var t=Dr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Er(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Lr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$r,charCode:function(e){return"keypress"===e.type?Er(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Er(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Ur=_r(g({},o,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),zr=_r(g({},s,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$r})),Vr=_r(g({},t,{propertyName:0,elapsedTime:0,pseudoElement:0})),Kr=_r(g({},o,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Wr=[9,13,27,32],Jr=e&&"CompositionEvent"in window,s=null,Hr=(e&&"documentMode"in document&&(s=document.documentMode),e&&"TextEvent"in window&&!s),Gr=e&&(!Jr||s&&8<s&&s<=11),Yr=String.fromCharCode(32),Xr=!1;function Qr(e,t){switch(e){case"keyup":return-1!==Wr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return 1;default:return}}function Zr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var en=!1,tn={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 rn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?tn[e.type]:"textarea"===t}function nn(e,t,r,n){Qe(n),0<(t=es(t,"onChange")).length&&(r=new Cr("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var sn=null,on=null;function an(e){Jn(e,0)}function ln(e){if(be(Os(e)))return e}function cn(e,t){if("change"===e)return t}var un=!1;function pn(){sn&&(sn.detachEvent("onpropertychange",hn),on=sn=null)}function hn(e){var t;"value"===e.propertyName&&ln(on)&&(nn(t=[],on,e,Je(e)),nt(an,t))}function dn(e,t,r){"focusin"===e?(pn(),on=r,(sn=t).attachEvent("onpropertychange",hn)):"focusout"===e&&pn()}function fn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return ln(on)}function mn(e,t){if("click"===e)return ln(t)}function gn(e,t){if("input"===e||"change"===e)return ln(t)}e&&(s=e&&((t="oninput"in document)||((o=document.createElement("div")).setAttribute("oninput","return;"),t="function"==typeof o.oninput),t),un=s&&(!document.documentMode||9<document.documentMode));var yn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function vn(e,t){if(yn(e,t))return 1;if("object"==typeof e&&null!==e&&"object"==typeof t&&null!==t){var r=Object.keys(e),n=Object.keys(t);if(r.length===n.length){for(n=0;n<r.length;n++){var s=r[n];if(!I.call(t,s)||!yn(e[s],t[s]))return}return 1}}}function bn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function wn(e,t){var r,n=bn(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&t<=r)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=bn(n)}}function En(){for(var e=window,t=we();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(!r)break;t=we((e=t.contentWindow).document)}return t}function xn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Sn(e){var t,r,n,s=En(),o=e.focusedElem,i=e.selectionRange;if(s!==o&&o&&o.ownerDocument&&function e(t,r){return!(!t||!r)&&(t===r||(!t||3!==t.nodeType)&&(r&&3===r.nodeType?e(t,r.parentNode):"contains"in t?t.contains(r):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(r))))}(o.ownerDocument.documentElement,o)){null!==i&&xn(o)&&(s=i.start,void 0===(e=i.end)&&(e=s),"selectionStart"in o?(o.selectionStart=s,o.selectionEnd=Math.min(e,o.value.length)):(e=(s=o.ownerDocument||document)&&s.defaultView||window).getSelection&&(e=e.getSelection(),r=o.textContent.length,t=Math.min(i.start,r),i=void 0===i.end?t:Math.min(i.end,r),!e.extend&&i<t&&(r=i,i=t,t=r),r=wn(o,t),n=wn(o,i),r&&n&&(1!==e.rangeCount||e.anchorNode!==r.node||e.anchorOffset!==r.offset||e.focusNode!==n.node||e.focusOffset!==n.offset)&&((s=s.createRange()).setStart(r.node,r.offset),e.removeAllRanges(),i<t?(e.addRange(s),e.extend(n.node,n.offset)):(s.setEnd(n.node,n.offset),e.addRange(s)))));for(s=[],e=o;e=e.parentNode;)1===e.nodeType&&s.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof o.focus&&o.focus(),o=0;o<s.length;o++)(e=s[o]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var _n=e&&"documentMode"in document&&document.documentMode<=11,kn=null,An=null,On=null,Cn=!1;function jn(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;Cn||null==kn||kn!==we(n)||(n="selectionStart"in(n=kn)&&xn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},On&&vn(On,n)||(On=n,0<(n=es(An,"onSelect")).length&&(t=new Cr("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=kn)))}function Pn(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Nn={animationend:Pn("Animation","AnimationEnd"),animationiteration:Pn("Animation","AnimationIteration"),animationstart:Pn("Animation","AnimationStart"),transitionend:Pn("Transition","TransitionEnd")},In={},Tn={};function Mn(e){if(In[e])return In[e];if(!Nn[e])return e;var t,r=Nn[e];for(t in r)if(r.hasOwnProperty(t)&&t in Tn)return In[e]=r[t];return e}e&&(Tn=document.createElement("div").style,"AnimationEvent"in window||(delete Nn.animationend.animation,delete Nn.animationiteration.animation,delete Nn.animationstart.animation),"TransitionEvent"in window||delete Nn.transitionend.transition);var Rn=Mn("animationend"),Dn=Mn("animationiteration"),Ln=Mn("animationstart"),Fn=Mn("transitionend"),Bn=new Map,$n="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 qn(e,t){Bn.set(e,t),P(t,[e])}for(var Un=0;Un<$n.length;Un++){var zn=$n[Un];qn(zn.toLowerCase(),"on"+(zn[0].toUpperCase()+zn.slice(1)))}qn(Rn,"onAnimationEnd"),qn(Dn,"onAnimationIteration"),qn(Ln,"onAnimationStart"),qn("dblclick","onDoubleClick"),qn("focusin","onFocus"),qn("focusout","onBlur"),qn(Fn,"onTransitionEnd"),N("onMouseEnter",["mouseout","mouseover"]),N("onMouseLeave",["mouseout","mouseover"]),N("onPointerEnter",["pointerout","pointerover"]),N("onPointerLeave",["pointerout","pointerover"]),P("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),P("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),P("onBeforeInput",["compositionend","keypress","textInput","paste"]),P("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),P("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),P("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Vn="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(" "),Kn=new Set("cancel close invalid load scroll toggle".split(" ").concat(Vn));function Wn(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,function(){if(pt.apply(this,arguments),it){if(!it)throw Error($(198));var e=at;it=!1,at=null,lt||(lt=!0,ct=e)}}(n,t,void 0,e),e.currentTarget=null}function Jn(e,t){t=!!(4&t);for(var r=0;r<e.length;r++){var n=(s=e[r]).event,s=s.listeners;e:{var o=void 0;if(t)for(var i=s.length-1;0<=i;i--){var a=(c=s[i]).instance,l=c.currentTarget,c=c.listener;if(a!==o&&n.isPropagationStopped())break e;Wn(n,c,l),o=a}else for(i=0;i<s.length;i++){if(a=(c=s[i]).instance,l=c.currentTarget,c=c.listener,a!==o&&n.isPropagationStopped())break e;Wn(n,c,l),o=a}}}if(lt)throw e=ct,lt=!1,ct=null,e}function u(e,t){var r=t[xs],n=e+"__bubble";(r=void 0===r?t[xs]=new Set:r).has(n)||(Xn(t,e,2,!1),r.add(n))}function Hn(e,t,r){var n=0;t&&(n|=4),Xn(r,e,n,t)}var Gn="_reactListening"+Math.random().toString(36).slice(2);function Yn(t){var e;t[Gn]||(t[Gn]=!0,C.forEach(function(e){"selectionchange"!==e&&(Kn.has(e)||Hn(e,!1,t),Hn(e,!0,t))}),null===(e=9===t.nodeType?t:t.ownerDocument)||e[Gn]||Hn("selectionchange",!(e[Gn]=!0),e))}function Xn(e,t,r,n){switch(gr(t)){case 1:var s=pr;break;case 4:s=hr;break;default:s=dr}r=s.bind(null,t,r,e),s=!ot||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t?void 0:!0,n?void 0!==s?e.addEventListener(t,r,{capture:!0,passive:s}):e.addEventListener(t,r,!0):void 0!==s?e.addEventListener(t,r,{passive:s}):e.addEventListener(t,r,!1)}function Qn(g,y,v,e,t){var b=e;if(!(1&y||2&y||null===e))e:for(;;){if(null===e)return;var r=e.tag;if(3===r||4===r){var n=e.stateNode.containerInfo;if(n===t||8===n.nodeType&&n.parentNode===t)break;if(4===r)for(r=e.return;null!==r;){var s=r.tag;if((3===s||4===s)&&((s=r.stateNode.containerInfo)===t||8===s.nodeType&&s.parentNode===t))return;r=r.return}for(;null!==n;){if(null===(r=ks(n)))return;if(5===(s=r.tag)||6===s){e=b=r;continue e}n=n.parentNode}}e=e.return}nt(function(){var e,t,r,n=b,s=Je(v),o=[];e:{var i=Bn.get(g);if(void 0!==i){var a=Cr,l=g;switch(g){case"keypress":if(0===Er(v))break e;case"keydown":case"keyup":a=qr;break;case"focusin":l="focus",a=Ir;break;case"focusout":l="blur",a=Ir;break;case"beforeblur":case"afterblur":a=Ir;break;case"click":if(2===v.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":a=Pr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":a=Nr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":a=zr;break;case Rn:case Dn:case Ln:a=Tr;break;case Fn:a=Vr;break;case"scroll":a=jr;break;case"wheel":a=Kr;break;case"copy":case"cut":case"paste":a=Mr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":a=Ur}for(var c,u=!(h=!!(4&y))&&"scroll"===g,p=h?null!==i?i+"Capture":null:i,h=[],d=n;null!==d;){var f=(c=d).stateNode;if(5===c.tag&&null!==f&&(c=f,null!==p&&null!=(f=st(d,p))&&h.push(Zn(d,f,c))),u)break;d=d.return}0<h.length&&(i=new a(i,l,null,v,s),o.push({event:i,listeners:h}))}}if(!(7&y)){if(a="mouseout"===g||"pointerout"===g,(!(i="mouseover"===g||"pointerover"===g)||v===We||!(l=v.relatedTarget||v.fromElement)||!ks(l)&&!l[Es])&&(a||i)&&(i=s.window===s?s:(i=s.ownerDocument)?i.defaultView||i.parentWindow:window,a?(a=n,null!==(l=(l=v.relatedTarget||v.toElement)?ks(l):null)&&(l!==(u=ht(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(a=null,l=n),a!==l)){if(h=Pr,f="onMouseLeave",p="onMouseEnter",d="mouse","pointerout"!==g&&"pointerover"!==g||(h=Ur,f="onPointerLeave",p="onPointerEnter",d="pointer"),u=null==a?i:Os(a),c=null==l?i:Os(l),(i=new h(f,d+"leave",a,v,s)).target=u,i.relatedTarget=c,f=null,ks(s)===n&&((h=new h(p,d+"enter",l,v,s)).target=c,h.relatedTarget=u,f=h),u=f,a&&l)e:{for(p=l,d=0,c=h=a;c;c=ts(c))d++;for(c=0,f=p;f;f=ts(f))c++;for(;0<d-c;)h=ts(h),d--;for(;0<c-d;)p=ts(p),c--;for(;d--;){if(h===p||null!==p&&h===p.alternate)break e;h=ts(h),p=ts(p)}h=null}else h=null;null!==a&&rs(o,i,a,h,!1),null!==l&&null!==u&&rs(o,u,l,h,!0)}switch("select"===(a=(i=n?Os(n):window).nodeName&&i.nodeName.toLowerCase())||"input"===a&&"file"===i.type?e=cn:rn(i)?un?e=gn:(e=fn,t=dn):!(a=i.nodeName)||"input"!==a.toLowerCase()||"checkbox"!==i.type&&"radio"!==i.type||(e=mn),(e=e&&e(g,n))?nn(o,e,v,s):(t&&t(g,i,n),"focusout"===g&&(t=i._wrapperState)&&t.controlled&&"number"===i.type&&Ae(i,"number",i.value)),t=n?Os(n):window,g){case"focusin":!rn(t)&&"true"!==t.contentEditable||(kn=t,An=n,On=null);break;case"focusout":On=An=kn=null;break;case"mousedown":Cn=!0;break;case"contextmenu":case"mouseup":case"dragend":Cn=!1,jn(o,v,s);break;case"selectionchange":if(_n)break;case"keydown":case"keyup":jn(o,v,s)}if(Jr)e:{switch(g){case"compositionstart":var m="onCompositionStart";break e;case"compositionend":m="onCompositionEnd";break e;case"compositionupdate":m="onCompositionUpdate";break e}m=void 0}else en?Qr(g,v)&&(m="onCompositionEnd"):"keydown"===g&&229===v.keyCode&&(m="onCompositionStart");m&&(Gr&&"ko"!==v.locale&&(en||"onCompositionStart"!==m?"onCompositionEnd"===m&&en&&(r=wr()):(vr="value"in(yr=s)?yr.value:yr.textContent,en=!0)),0<(t=es(n,m)).length&&(m=new Rr(m,g,null,v,s),o.push({event:m,listeners:t}),!r&&null===(r=Zr(v))||(m.data=r))),(r=(Hr?function(e,t){switch(e){case"compositionend":return Zr(t);case"keypress":return 32!==t.which?null:(Xr=!0,Yr);case"textInput":return(e=t.data)===Yr&&Xr?null:e;default:return null}}:function(e,t){if(en)return"compositionend"===e||!Jr&&Qr(e,t)?(e=wr(),br=vr=yr=null,en=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Gr&&"ko"!==t.locale?null:t.data}})(g,v))&&0<(n=es(n,"onBeforeInput")).length&&(s=new Rr("onBeforeInput","beforeinput",null,v,s),o.push({event:s,listeners:n}),s.data=r)}Jn(o,y)})}function Zn(e,t,r){return{instance:e,listener:t,currentTarget:r}}function es(e,t){for(var r=t+"Capture",n=[];null!==e;){var s=e,o=s.stateNode;5===s.tag&&null!==o&&(s=o,null!=(o=st(e,r))&&n.unshift(Zn(e,o,s)),null!=(o=st(e,t))&&n.push(Zn(e,o,s))),e=e.return}return n}function ts(e){if(null===e)return null;for(;(e=e.return)&&5!==e.tag;);return e||null}function rs(e,t,r,n,s){for(var o=t._reactName,i=[];null!==r&&r!==n;){var a=r,l=a.alternate,c=a.stateNode;if(null!==l&&l===n)break;5===a.tag&&null!==c&&(a=c,s?null!=(l=st(r,o))&&i.unshift(Zn(r,l,a)):null!=(l=st(r,o))&&i.push(Zn(r,l,a))),r=r.return}0!==i.length&&e.push({event:t,listeners:i})}var ns=/\r\n?/g,ss=/\u0000|\uFFFD/g;function os(e){return("string"==typeof e?e:""+e).replace(ns,"\n").replace(ss,"")}function is(e,t,r){if(t=os(t),os(e)!==t&&r)throw Error($(425))}function as(){}var ls=null,cs=null;function us(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ps="function"==typeof setTimeout?setTimeout:void 0,hs="function"==typeof clearTimeout?clearTimeout:void 0,ds="function"==typeof Promise?Promise:void 0,fs="function"==typeof queueMicrotask?queueMicrotask:void 0!==ds?function(e){return ds.resolve(null).then(e).catch(ms)}:ps;function ms(e){setTimeout(function(){throw e})}function gs(e,t){var r=t,n=0;do{var s=r.nextSibling;if(e.removeChild(r),s&&8===s.nodeType)if("/$"===(r=s.data)){if(0===n)return e.removeChild(s),lr(t);n--}else"$"!==r&&"$?"!==r&&"$!"!==r||n++}while(r=s);lr(t)}function ys(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function vs(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var o=Math.random().toString(36).slice(2),bs="__reactFiber$"+o,ws="__reactProps$"+o,Es="__reactContainer$"+o,xs="__reactEvents$"+o,Ss="__reactListeners$"+o,_s="__reactHandles$"+o;function ks(e){var t=e[bs];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Es]||r[bs]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=vs(e);null!==e;){if(r=e[bs])return r;e=vs(e)}return t}r=(e=r).parentNode}return null}function As(e){return!(e=e[bs]||e[Es])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Os(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error($(33))}function Cs(e){return e[ws]||null}var js=[],Ps=-1;function Ns(e){return{current:e}}function c(e){Ps<0||(e.current=js[Ps],js[Ps]=null,Ps--)}function y(e,t){js[++Ps]=e.current,e.current=t}var Is={},v=Ns(Is),b=Ns(!1),Ts=Is;function Ms(e,t){var r=e.type.contextTypes;if(!r)return Is;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var s,o={};for(s in r)o[s]=t[s];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Rs(e){return null!=e.childContextTypes}function Ds(){c(b),c(v)}function Ls(e,t,r){if(v.current!==Is)throw Error($(168));y(v,t),y(b,r)}function Fs(e,t,r){var n,s=e.stateNode;if(t=t.childContextTypes,"function"!=typeof s.getChildContext)return r;for(n in s=s.getChildContext())if(!(n in t))throw Error($(108,me(e)||"Unknown",n));return g({},r,s)}function Bs(e){e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Is,Ts=v.current,y(v,e),y(b,b.current)}function $s(e,t,r){var n=e.stateNode;if(!n)throw Error($(169));r?(e=Fs(e,t,Ts),n.__reactInternalMemoizedMergedChildContext=e,c(b),c(v),y(v,e)):c(b),y(b,r)}var qs=null,Us=!1,zs=!1;function Vs(e){null===qs?qs=[e]:qs.push(e)}function Ks(){if(!zs&&null!==qs){zs=!0;var e=0,t=U;try{var r=qs;for(U=1;e<r.length;e++)for(var n=r[e];null!==(n=n(!0)););qs=null,Us=!1}catch(t){throw null!==qs&&(qs=qs.slice(e+1)),gt(Et,Ks),t}finally{U=t,zs=!1}}return null}var Ws=[],Js=0,Hs=null,Gs=0,Ys=[],Xs=0,Qs=null,Zs=1,eo="";function to(e,t){Ws[Js++]=Gs,Ws[Js++]=Hs,Hs=e,Gs=t}function ro(e,t,r){Ys[Xs++]=Zs,Ys[Xs++]=eo,Ys[Xs++]=Qs,Qs=e;var n,s=Zs,o=(e=eo,32-Ct(s)-1),i=(s&=~(1<<o),r+=1,32-Ct(t)+o);eo=30<i?(i=(s&(1<<(n=o-o%5))-1).toString(32),s>>=n,o-=n,Zs=1<<32-Ct(t)+o|r<<o|s,i+e):(Zs=1<<i|r<<o|s,e)}function no(e){null!==e.return&&(to(e,1),ro(e,1,0))}function so(e){for(;e===Hs;)Hs=Ws[--Js],Ws[Js]=null,Gs=Ws[--Js],Ws[Js]=null;for(;e===Qs;)Qs=Ys[--Xs],Ys[Xs]=null,eo=Ys[--Xs],Ys[Xs]=null,Zs=Ys[--Xs],Ys[Xs]=null}var oo=null,io=null,F=!1,ao=null;function lo(e,t){var r=Ql(5,null,null,0);r.elementType="DELETED",r.stateNode=t,null===(t=(r.return=e).deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function co(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,oo=e,io=ys(t.firstChild),1);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,oo=e,io=null,1);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==Qs?{id:Zs,overflow:eo}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=Ql(18,null,null,0)).stateNode=t,(r.return=e).child=r,oo=e,io=null,1);default:return}}function uo(e){return 1&e.mode&&!(128&e.flags)}function po(e){if(F)if(r=io){var t=r;if(!co(e,r)){if(uo(e))throw Error($(418));var r=ys(t.nextSibling),n=oo;r&&co(e,r)?lo(n,t):(e.flags=-4097&e.flags|2,F=!1,oo=e)}}else{if(uo(e))throw Error($(418));e.flags=-4097&e.flags|2,F=!1,oo=e}}function ho(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;oo=e}function fo(e){if(e!==oo)return!1;if(!F)return ho(e),!(F=!0);var t;if(t=(t=(t=3!==e.tag)&&!(t=5!==e.tag)?"head"!==(t=e.type)&&"body"!==t&&!us(e.type,e.memoizedProps):t)&&io){if(uo(e))throw mo(),Error($(418));for(;t;)lo(e,t),t=ys(t.nextSibling)}if(ho(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error($(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){io=ys(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}io=null}}else io=oo?ys(e.stateNode.nextSibling):null;return!0}function mo(){for(var e=io;e;)e=ys(e.nextSibling)}function go(){io=oo=null,F=!1}function yo(e){null===ao?ao=[e]:ao.push(e)}var vo=O.ReactCurrentBatchConfig;function bo(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error($(309));var n=r.stateNode}if(!n)throw Error($(147,e));var s=n,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=s.refs;null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error($(284));if(!r._owner)throw Error($(290,e))}return e}function wo(e,t){throw e=Object.prototype.toString.call(t),Error($(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Eo(e){return(0,e._init)(e._payload)}function xo(C){function j(e,t){var r;C&&(null===(r=e.deletions)?(e.deletions=[t],e.flags|=16):r.push(t))}function P(e,t){if(!C)return null;for(;null!==t;)j(e,t),t=t.sibling;return null}function N(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function I(e,t){return(e=ec(e,t)).index=0,e.sibling=null,e}function T(e,t,r){return e.index=r,C?null===(r=e.alternate)||(r=r.index)<t?(e.flags|=2,t):r:(e.flags|=1048576,t)}function M(e){return C&&null===e.alternate&&(e.flags|=2),e}function o(e,t,r,n){return null===t||6!==t.tag?(t=sc(r,e.mode,n)).return=e:(t=I(t,r)).return=e,t}function i(e,t,r,n){var s=r.type;return s===Q?l(e,t,r.props.children,n,r.key):(null!==t&&(t.elementType===s||"object"==typeof s&&null!==s&&s.$$typeof===ae&&Eo(s)===t.type)?(n=I(t,r.props)).ref=bo(0,t,r):(n=tc(r.type,r.key,r.props,null,e.mode,n)).ref=bo(0,t,r),n.return=e,n)}function a(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?(t=oc(r,e.mode,n)).return=e:(t=I(t,r.children||[])).return=e,t}function l(e,t,r,n,s){return null===t||7!==t.tag?(t=rc(r,e.mode,n,s)).return=e:(t=I(t,r)).return=e,t}function R(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=sc(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Y:return(r=tc(t.type,t.key,t.props,null,e.mode,r)).ref=bo(0,null,t),r.return=e,r;case X:return(t=oc(t,e.mode,r)).return=e,t;case ae:return R(e,(0,t._init)(t._payload),r)}if(Oe(t)||ue(t))return(t=rc(t,e.mode,r,null)).return=e,t;wo(0,t)}return null}function D(e,t,r,n){var s=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r)return null!==s?null:o(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Y:return r.key===s?i(e,t,r,n):null;case X:return r.key===s?a(e,t,r,n):null;case ae:return D(e,t,(s=r._init)(r._payload),n)}if(Oe(r)||ue(r))return null!==s?null:l(e,t,r,n,null);wo(0,r)}return null}function L(e,t,r,n,s){if("string"==typeof n&&""!==n||"number"==typeof n)return o(t,e=e.get(r)||null,""+n,s);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Y:return i(t,e=e.get(null===n.key?r:n.key)||null,n,s);case X:return a(t,e=e.get(null===n.key?r:n.key)||null,n,s);case ae:return L(e,t,r,(0,n._init)(n._payload),s)}if(Oe(n)||ue(n))return l(t,e=e.get(r)||null,n,s,null);wo(0,n)}return null}return function e(t,r,n,s){if("object"==typeof(n="object"==typeof n&&null!==n&&n.type===Q&&null===n.key?n.props.children:n)&&null!==n){switch(n.$$typeof){case Y:e:{for(var o=n.key,i=r;null!==i;){if(i.key===o){if((o=n.type)===Q){if(7===i.tag){P(t,i.sibling),(r=I(i,n.props.children)).return=t,t=r;break e}}else if(i.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===ae&&Eo(o)===i.type){P(t,i.sibling),(r=I(i,n.props)).ref=bo(0,i,n),r.return=t,t=r;break e}P(t,i);break}j(t,i),i=i.sibling}t=n.type===Q?((r=rc(n.props.children,t.mode,s,n.key)).return=t,r):((s=tc(n.type,n.key,n.props,null,t.mode,s)).ref=bo(0,r,n),s.return=t,s)}return M(t);case X:e:{for(i=n.key;null!==r;){if(r.key===i){if(4===r.tag&&r.stateNode.containerInfo===n.containerInfo&&r.stateNode.implementation===n.implementation){P(t,r.sibling),(r=I(r,n.children||[])).return=t,t=r;break e}P(t,r);break}j(t,r),r=r.sibling}(r=oc(n,t.mode,s)).return=t,t=r}return M(t);case ae:return e(t,r,(i=n._init)(n._payload),s)}if(Oe(n)){var a=t;var l=r;var c=n;var u=s;for(var p=null,h=null,d=l,f=l=0,m=null;null!==d&&f<c.length;f++){d.index>f?(m=d,d=null):m=d.sibling;var g=D(a,d,c[f],u);if(null===g){null===d&&(d=m);break}C&&d&&null===g.alternate&&j(a,d),l=T(g,l,f),null===h?p=g:h.sibling=g,h=g,d=m}if(f===c.length)return P(a,d),F&&to(a,f),p;if(null===d){for(;f<c.length;f++)null!==(d=R(a,c[f],u))&&(l=T(d,l,f),null===h?p=d:h.sibling=d,h=d);return F&&to(a,f),p}for(d=N(a,d);f<c.length;f++)null!==(m=L(d,a,f,c[f],u))&&(C&&null!==m.alternate&&d.delete(null===m.key?f:m.key),l=T(m,l,f),null===h?p=m:h.sibling=m,h=m);return C&&d.forEach(function(e){return j(a,e)}),F&&to(a,f),p;return}if(ue(n)){var y=t;var v=r;var b=n;var w=s;var E=ue(b);if("function"!=typeof E)throw Error($(150));if(null==(b=E.call(b)))throw Error($(151));for(var x=E=null,S=v,_=v=0,k=null,A=b.next();null!==S&&!A.done;_++,A=b.next()){S.index>_?(k=S,S=null):k=S.sibling;var O=D(y,S,A.value,w);if(null===O){null===S&&(S=k);break}C&&S&&null===O.alternate&&j(y,S),v=T(O,v,_),null===x?E=O:x.sibling=O,x=O,S=k}if(A.done)return P(y,S),F&&to(y,_),E;if(null===S){for(;!A.done;_++,A=b.next())null!==(A=R(y,A.value,w))&&(v=T(A,v,_),null===x?E=A:x.sibling=A,x=A);return F&&to(y,_),E}for(S=N(y,S);!A.done;_++,A=b.next())null!==(A=L(S,y,_,A.value,w))&&(C&&null!==A.alternate&&S.delete(null===A.key?_:A.key),v=T(A,v,_),null===x?E=A:x.sibling=A,x=A);return C&&S.forEach(function(e){return j(y,e)}),F&&to(y,_),E;return}wo(0,n)}return"string"==typeof n&&""!==n||"number"==typeof n?(n=""+n,null!==r&&6===r.tag?(P(t,r.sibling),(r=I(r,n)).return=t):(P(t,r),(r=sc(n,t.mode,s)).return=t),M(t=r)):P(t,r)}}var So=xo(!0),_o=xo(!1),ko=Ns(null),Ao=null,Oo=null,Co=null;function jo(){Co=Oo=Ao=null}function Po(e){var t=ko.current;c(ko),e._currentValue=t}function No(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Io(e,t){(Co=Oo=null)!==(e=(Ao=e).dependencies)&&null!==e.firstContext&&(e.lanes&t&&(_=!0),e.firstContext=null)}function To(e){var t=e._currentValue;if(Co!==e)if(e={context:e,memoizedValue:t,next:null},null===Oo){if(null===Ao)throw Error($(308));Oo=e,Ao.dependencies={lanes:0,firstContext:e}}else Oo=Oo.next=e;return t}var Mo=null;function Ro(e){null===Mo?Mo=[e]:Mo.push(e)}function Do(e,t,r,n){var s=t.interleaved;return null===s?(r.next=r,Ro(t)):(r.next=s.next,s.next=r),t.interleaved=r,Lo(e,n)}function Lo(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),e=(r=e).return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),e=(r=e).return;return 3===r.tag?r.stateNode:null}var Fo=!1;function Bo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function $o(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function qo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Uo(e,t,r){if(null===(s=e.updateQueue))return null;var n,s=s.shared;return 2&V?(null===(n=s.pending)?t.next=t:(t.next=n.next,n.next=t),s.pending=t):(null===(n=s.interleaved)?(t.next=t,Ro(s)):(t.next=n.next,n.next=t),s.interleaved=t),Lo(e,r)}function zo(e,t,r){var n;null!==(t=t.updateQueue)&&(t=t.shared,4194240&r)&&(n=t.lanes,r|=n&=e.pendingLanes,Bt(e,t.lanes=r))}function Vo(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var s=null,o=null;if(null!==(r=r.firstBaseUpdate)){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null}}while(null===o?s=o=i:o=o.next=i,null!==(r=r.next));null===o?s=o=t:o=o.next=t}else s=o=t;return r={baseState:n.baseState,firstBaseUpdate:s,lastBaseUpdate:o,shared:n.shared,effects:n.effects},e.updateQueue=r}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Ko(e,t,r,n){var s,o,i=e.updateQueue,a=(Fo=!1,i.firstBaseUpdate),l=i.lastBaseUpdate;if(null!==(p=i.shared.pending)&&(i.shared.pending=null,o=(s=p).next,(s.next=null)===l?a=o:l.next=o,l=s,null!==(u=e.alternate)&&(p=(u=u.updateQueue).lastBaseUpdate)!==l&&(null===p?u.firstBaseUpdate=o:p.next=o,u.lastBaseUpdate=s)),null!==a){for(var c=i.baseState,l=0,u=o=s=null,p=a;;){var h=p.lane,d=p.eventTime;if((n&h)===h){null!==u&&(u=u.next={eventTime:d,lane:0,tag:p.tag,payload:p.payload,callback:p.callback,next:null});e:{var f=e,m=p,h=t,d=r;switch(m.tag){case 1:if("function"==typeof(f=m.payload)){c=f.call(d,c,h);break e}c=f;break e;case 3:f.flags=-65537&f.flags|128;case 0:if(null==(h="function"==typeof(f=m.payload)?f.call(d,c,h):f))break e;c=g({},c,h);break e;case 2:Fo=!0}}null!==p.callback&&0!==p.lane&&(e.flags|=64,null===(h=i.effects)?i.effects=[p]:h.push(p))}else d={eventTime:d,lane:h,tag:p.tag,payload:p.payload,callback:p.callback,next:null},null===u?(o=u=d,s=c):u=u.next=d,l|=h;if(null===(p=p.next)){if(null===(p=i.shared.pending))break;p=(h=p).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}if(null===u&&(s=c),i.baseState=s,i.firstBaseUpdate=o,i.lastBaseUpdate=u,null!==(t=i.shared.interleaved))for(i=t;l|=i.lane,(i=i.next)!==t;);else null===a&&(i.shared.lanes=0);pl|=l,e.lanes=l,e.memoizedState=c}}function Wo(e,t,r){if(e=t.effects,(t.effects=null)!==e)for(t=0;t<e.length;t++){var n=e[t],s=n.callback;if(null!==s){if(n.callback=null,n=r,"function"!=typeof s)throw Error($(191,s));s.call(n)}}}var Jo={},Ho=Ns(Jo),Go=Ns(Jo),Yo=Ns(Jo);function Xo(e){if(e===Jo)throw Error($(174));return e}function Qo(e,t){switch(y(Yo,t),y(Go,e),y(Ho,Jo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Me(null,"");break;default:t=Me(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}c(Ho),y(Ho,t)}function Zo(){c(Ho),c(Go),c(Yo)}function ei(e){Xo(Yo.current);var t=Xo(Ho.current),r=Me(t,e.type);t!==r&&(y(Go,e),y(Ho,r))}function ti(e){Go.current===e&&(c(Ho),c(Go))}var w=Ns(0);function ri(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t=(t.child.return=t).child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ni=[];function si(){for(var e=0;e<ni.length;e++)ni[e]._workInProgressVersionPrimary=null;ni.length=0}var oi=O.ReactCurrentDispatcher,ii=O.ReactCurrentBatchConfig,ai=0,E=null,x=null,S=null,li=!1,ci=!1,ui=0,pi=0;function a(){throw Error($(321))}function hi(e,t){if(null!==t){for(var r=0;r<t.length&&r<e.length;r++)if(!yn(e[r],t[r]))return;return 1}}function di(e,t,r,n,s,o){if(ai=o,(E=t).memoizedState=null,t.updateQueue=null,t.lanes=0,oi.current=null===e||null===e.memoizedState?Ji:Hi,e=r(n,s),ci){o=0;do{if(ci=!1,ui=0,25<=o)throw Error($(301))}while(o+=1,S=x=null,t.updateQueue=null,oi.current=Gi,e=r(n,s),ci)}if(oi.current=Wi,t=null!==x&&null!==x.next,ai=0,S=x=E=null,li=!1,t)throw Error($(300));return e}function fi(){var e=0!==ui;return ui=0,e}function mi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===S?E.memoizedState=S=e:S=S.next=e,S}function gi(){e=null===x?null!==(e=E.alternate)?e.memoizedState:null:x.next;var e,t=null===S?E.memoizedState:S.next;if(null!==t)S=t,x=e;else{if(null===e)throw Error($(310));e={memoizedState:(x=e).memoizedState,baseState:x.baseState,baseQueue:x.baseQueue,queue:x.queue,next:null},null===S?E.memoizedState=S=e:S=S.next=e}return S}function yi(e,t){return"function"==typeof t?t(e):t}function vi(e){var t=gi(),r=t.queue;if(null===r)throw Error($(311));r.lastRenderedReducer=e;var n,s=(i=x).baseQueue;if(null!==(o=r.pending)&&(null!==s&&(n=s.next,s.next=o.next,o.next=n),i.baseQueue=s=o,r.pending=null),null!==s){var o=s.next,i=i.baseState,a=n=null,l=null,c=o;do{var u,p=c.lane}while((ai&p)===p?(null!==l&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),i=c.hasEagerState?c.eagerState:e(i,c.action)):(u={lane:p,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===l?(a=l=u,n=i):l=l.next=u,E.lanes|=p,pl|=p),null!==(c=c.next)&&c!==o);null===l?n=i:l.next=a,yn(i,t.memoizedState)||(_=!0),t.memoizedState=i,t.baseState=n,t.baseQueue=l,r.lastRenderedState=i}if(null!==(e=r.interleaved))for(s=e;o=s.lane,E.lanes|=o,pl|=o,(s=s.next)!==e;);else null===s&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function bi(e){var t=gi(),r=t.queue;if(null===r)throw Error($(311));r.lastRenderedReducer=e;var n=r.dispatch,s=r.pending,o=t.memoizedState;if(null!==s){r.pending=null;for(var i=s=s.next;o=e(o,i.action),(i=i.next)!==s;);yn(o,t.memoizedState)||(_=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function wi(){}function Ei(e,t){var r=E,n=gi(),s=t(),o=!yn(n.memoizedState,s);if(o&&(n.memoizedState=s,_=!0),n=n.queue,Ti(_i.bind(null,r,n,e),[e]),n.getSnapshot!==t||o||null!==S&&1&S.memoizedState.tag){if(r.flags|=2048,Ci(9,Si.bind(null,r,n,s,t),void 0,null),null===K)throw Error($(349));30&ai||xi(r,t,s)}return s}function xi(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=E.updateQueue)?(E.updateQueue=t={lastEffect:null,stores:null}).stores=[e]:null===(r=t.stores)?t.stores=[e]:r.push(e)}function Si(e,t,r,n){t.value=r,t.getSnapshot=n,ki(t)&&Ai(e)}function _i(e,t,r){return r(function(){ki(t)&&Ai(e)})}function ki(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!yn(e,r)}catch(e){return 1}}function Ai(e){var t=Lo(e,1);null!==t&&Pl(t,e,1,-1)}function Oi(e){var t=mi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(t.queue=e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:yi,lastRenderedState:e}).dispatch=function(e,t,r){var n=jl(e),s={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(zi(e))Vi(t,s);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i,a=t.lastRenderedState,l=o(a,r);if(s.hasEagerState=!0,s.eagerState=l,yn(l,a))return null===(i=t.interleaved)?(s.next=s,Ro(t)):(s.next=i.next,i.next=s),void(t.interleaved=s)}catch(e){}null!==(r=Do(e,t,s,n))&&(Pl(r,e,n,s=d()),Ki(r,t,n))}}.bind(null,E,e),[t.memoizedState,e]}function Ci(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=E.updateQueue)?(E.updateQueue=t={lastEffect:null,stores:null}).lastEffect=e.next=e:null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,(r.next=e).next=n,t.lastEffect=e),e}function ji(){return gi().memoizedState}function Pi(e,t,r,n){var s=mi();E.flags|=e,s.memoizedState=Ci(1|t,r,void 0,void 0===n?null:n)}function Ni(e,t,r,n){var s=gi(),o=(n=void 0===n?null:n,void 0);if(null!==x){var i=x.memoizedState,o=i.destroy;if(null!==n&&hi(n,i.deps))return void(s.memoizedState=Ci(t,r,o,n))}E.flags|=e,s.memoizedState=Ci(1|t,r,o,n)}function Ii(e,t){return Pi(8390656,8,e,t)}function Ti(e,t){return Ni(2048,8,e,t)}function Mi(e,t){return Ni(4,2,e,t)}function Ri(e,t){return Ni(4,4,e,t)}function Di(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Li(e,t,r){return r=null!=r?r.concat([e]):null,Ni(4,4,Di.bind(null,t,e),r)}function Fi(){}function Bi(e,t){var r=gi(),n=(t=void 0===t?null:t,r.memoizedState);return null!==n&&null!==t&&hi(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function $i(e,t){var r=gi(),n=(t=void 0===t?null:t,r.memoizedState);return null!==n&&null!==t&&hi(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function qi(e,t,r){return 21&ai?(yn(r,t)||(r=Dt(),E.lanes|=r,pl|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,_=!0),e.memoizedState=r)}function Ui(){return gi().memoizedState}function zi(e){var t=e.alternate;return e===E||null!==t&&t===E}function Vi(e,t){ci=li=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Ki(e,t,r){var n;4194240&r&&(n=t.lanes,r|=n&=e.pendingLanes,Bt(e,t.lanes=r))}var Wi={readContext:To,useCallback:a,useContext:a,useEffect:a,useImperativeHandle:a,useInsertionEffect:a,useLayoutEffect:a,useMemo:a,useReducer:a,useRef:a,useState:a,useDebugValue:a,useDeferredValue:a,useTransition:a,useMutableSource:a,useSyncExternalStore:a,useId:a,unstable_isNewReconciler:!1},Ji={readContext:To,useCallback:function(e,t){return mi().memoizedState=[e,void 0===t?null:t],e},useContext:To,useEffect:Ii,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,Pi(4194308,4,Di.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Pi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pi(4,2,e,t)},useMemo:function(e,t){var r=mi();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=mi();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e=(n.queue=e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=function(e,t,r){var n=jl(e);r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},zi(e)?Vi(t,r):null!==(r=Do(e,t,r,n))&&(Pl(r,e,n,d()),Ki(r,t,n))}.bind(null,E,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},mi().memoizedState=e},useState:Oi,useDebugValue:Fi,useDeferredValue:function(e){return mi().memoizedState=e},useTransition:function(){var e=(t=Oi(!1))[0],t=function(e,t){var r=U,n=(U=0!==r&&r<4?r:4,e(!0),ii.transition);ii.transition={};try{e(!1),t()}finally{U=r,ii.transition=n}}.bind(null,t[1]);return[e,mi().memoizedState=t]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=E,s=mi();if(F){if(void 0===r)throw Error($(407));r=r()}else{if(r=t(),null===K)throw Error($(349));30&ai||xi(n,t,r)}var o={value:s.memoizedState=r,getSnapshot:t};return s.queue=o,Ii(_i.bind(null,n,o,e),[e]),n.flags|=2048,Ci(9,Si.bind(null,n,o,r,t),void 0,null),r},useId:function(){var e,t=mi(),r=K.identifierPrefix;return F?(e=eo,r=":"+r+"R"+(e=(Zs&~(1<<32-Ct(Zs)-1)).toString(32)+e),0<(e=ui++)&&(r+="H"+e.toString(32)),r+=":"):r=":"+r+"r"+(e=pi++).toString(32)+":",t.memoizedState=r},unstable_isNewReconciler:!1},Hi={readContext:To,useCallback:Bi,useContext:To,useEffect:Ti,useImperativeHandle:Li,useInsertionEffect:Mi,useLayoutEffect:Ri,useMemo:$i,useReducer:vi,useRef:ji,useState:function(){return vi(yi)},useDebugValue:Fi,useDeferredValue:function(e){return qi(gi(),x.memoizedState,e)},useTransition:function(){return[vi(yi)[0],gi().memoizedState]},useMutableSource:wi,useSyncExternalStore:Ei,useId:Ui,unstable_isNewReconciler:!1},Gi={readContext:To,useCallback:Bi,useContext:To,useEffect:Ti,useImperativeHandle:Li,useInsertionEffect:Mi,useLayoutEffect:Ri,useMemo:$i,useReducer:bi,useRef:ji,useState:function(){return bi(yi)},useDebugValue:Fi,useDeferredValue:function(e){var t=gi();return null===x?t.memoizedState=e:qi(t,x.memoizedState,e)},useTransition:function(){return[bi(yi)[0],gi().memoizedState]},useMutableSource:wi,useSyncExternalStore:Ei,useId:Ui,unstable_isNewReconciler:!1};function Yi(e,t){if(e&&e.defaultProps){for(var r in t=g({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}function Xi(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:g({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var Qi={isMounted:function(e){return!!(e=e._reactInternals)&&ht(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=d(),s=jl(e),o=qo(n,s);o.payload=t,null!=r&&(o.callback=r),null!==(t=Uo(e,o,s))&&(Pl(t,e,s,n),zo(t,e,s))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=d(),s=jl(e),o=qo(n,s);o.tag=1,o.payload=t,null!=r&&(o.callback=r),null!==(t=Uo(e,o,s))&&(Pl(t,e,s,n),zo(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=d(),n=jl(e),s=qo(r,n);s.tag=2,null!=t&&(s.callback=t),null!==(t=Uo(e,s,n))&&(Pl(t,e,n,r),zo(t,e,n))}};function Zi(e,t,r,n,s,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,o,i):!(t.prototype&&t.prototype.isPureReactComponent&&vn(r,n)&&vn(s,o))}function ea(e,t,r){var n=!1,s=Is,o=t.contextType;t=new t(r,o="object"==typeof o&&null!==o?To(o):(s=Rs(t)?Ts:v.current,(n=null!=t.contextTypes)?Ms(e,s):Is)),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Qi,(e.stateNode=t)._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=o)}function ta(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&Qi.enqueueReplaceState(t,t.state,null)}function ra(e,t,r,n){var s=e.stateNode,o=(s.props=r,s.state=e.memoizedState,s.refs={},Bo(e),t.contextType);"object"==typeof o&&null!==o?s.context=To(o):(o=Rs(t)?Ts:v.current,s.context=Ms(e,o)),s.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(Xi(e,0,o,r),s.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof s.getSnapshotBeforeUpdate||"function"!=typeof s.UNSAFE_componentWillMount&&"function"!=typeof s.componentWillMount||(t=s.state,"function"==typeof s.componentWillMount&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount(),t!==s.state&&Qi.enqueueReplaceState(s,s.state,null),Ko(e,r,s,n),s.state=e.memoizedState),"function"==typeof s.componentDidMount&&(e.flags|=4194308)}function na(e,t){try{for(var r="",n=t;r+=function(e){switch(e.tag){case 5:return he(e.type);case 16:return he("Lazy");case 13:return he("Suspense");case 19:return he("SuspenseList");case 0:case 2:case 15:return fe(e.type,!1);case 11:return fe(e.type.render,!1);case 1:return fe(e.type,!0);default:return""}}(n),n=n.return;);var s=r}catch(e){s="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:s,digest:null}}function sa(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function oa(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var ia="function"==typeof WeakMap?WeakMap:Map;function aa(e,t,r){(r=qo(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){bl||(bl=!0,wl=n),oa(0,t)},r}function la(e,t,r){(r=qo(-1,r)).tag=3;var n,s=e.type.getDerivedStateFromError,e=("function"==typeof s&&(n=t.value,r.payload=function(){return s(n)},r.callback=function(){oa(0,t)}),e.stateNode);return null!==e&&"function"==typeof e.componentDidCatch&&(r.callback=function(){oa(0,t),"function"!=typeof s&&(null===El?El=new Set([this]):El.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}function ca(e,t,r){var n,s=e.pingCache;null===s?(s=e.pingCache=new ia,n=new Set,s.set(t,n)):void 0===(n=s.get(t))&&(n=new Set,s.set(t,n)),n.has(r)||(n.add(r),e=function(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=d(),e.pingedLanes|=e.suspendedLanes&r,K===e&&(J&r)===r&&(4===A||3===A&&(130023424&J)===J&&q()-gl<500?Bl(e,0):dl|=r),H(e,t)}.bind(null,e,t,r),t.then(e,e))}function ua(e){do{var t;if(t=(t=13===e.tag)?null===(t=e.memoizedState)||null!==t.dehydrated:t)return e}while(null!==(e=e.return));return null}function pa(e,t,r,n,s){1&e.mode?(e.flags|=65536,e.lanes=s):e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=qo(-1,1)).tag=2,Uo(r,t,1))),r.lanes|=1)}var ha=O.ReactCurrentOwner,_=!1;function k(e,t,r,n){t.child=null===e?_o(t,null,r,n):So(t,e.child,r,n)}function da(e,t,r,n,s){r=r.render;var o=t.ref;return Io(t,s),n=di(e,t,r,n,o,s),r=fi(),null===e||_?(F&&r&&no(t),t.flags|=1,k(e,t,n,s),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Ia(e,t,s))}function fa(e,t,r,n,s){var o;if(null===e)return"function"!=typeof(o=r.type)||Zl(o)||void 0!==o.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=tc(r.type,null,n,t,t.mode,s)).ref=t.ref,(e.return=t).child=e):(t.tag=15,t.type=o,ma(e,t,o,n,s));if(o=e.child,!(e.lanes&s)){var i=o.memoizedProps;if((r=null!==(r=r.compare)?r:vn)(i,n)&&e.ref===t.ref)return Ia(e,t,s)}return t.flags|=1,(e=ec(o,n)).ref=t.ref,(e.return=t).child=e}function ma(e,t,r,n,s){if(null!==e){var o=e.memoizedProps;if(vn(o,n)&&e.ref===t.ref){if(_=!1,t.pendingProps=n=o,!(e.lanes&s))return t.lanes=e.lanes,Ia(e,t,s);131072&e.flags&&(_=!0)}}return va(e,t,r,n,s)}function ga(e,t,r){var n=t.pendingProps,s=n.children,o=null!==e?e.memoizedState:null;if("hidden"===n.mode)if(1&t.mode){if(!(1073741824&r))return e=null!==o?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,y(cl,ll),ll|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==o?o.baseLanes:r,y(cl,ll),ll|=n}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},y(cl,ll),ll|=r;else null!==o?(n=o.baseLanes|r,t.memoizedState=null):n=r,y(cl,ll),ll|=n;return k(e,t,s,r),t.child}function ya(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function va(e,t,r,n,s){var o=Ms(t,Rs(r)?Ts:v.current);return Io(t,s),r=di(e,t,r,n,o,s),n=fi(),null===e||_?(F&&n&&no(t),t.flags|=1,k(e,t,r,s),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Ia(e,t,s))}function ba(e,t,r,n,s){var o,i,a,l,c,u,p,h,d,f;return Rs(r)?(o=!0,Bs(t)):o=!1,Io(t,s),n=null===t.stateNode?(Na(e,t),ea(t,r,n),ra(t,r,n,s),!0):null===e?(i=t.stateNode,a=t.memoizedProps,i.props=a,h=i.context,l="object"==typeof(l=r.contextType)&&null!==l?To(l):Ms(t,l=Rs(r)?Ts:v.current),(u="function"==typeof(c=r.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||a===n&&h===l||ta(0,i,n,l),Fo=!1,p=t.memoizedState,i.state=p,Ko(t,n,i,s),h=t.memoizedState,a!==n||p!==h||b.current||Fo?("function"==typeof c&&(Xi(t,0,c,n),h=t.memoizedState),(a=Fo||Zi(t,r,a,n,p,h,l))?(u||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=h),i.props=n,i.state=h,i.context=l,a):("function"==typeof i.componentDidMount&&(t.flags|=4194308),!1)):(i=t.stateNode,$o(e,t),a=t.memoizedProps,l=t.type===t.elementType?a:Yi(t.type,a),i.props=l,u=t.pendingProps,p=i.context,h="object"==typeof(h=r.contextType)&&null!==h?To(h):Ms(t,h=Rs(r)?Ts:v.current),(c="function"==typeof(d=r.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||a===u&&p===h||ta(0,i,n,h),Fo=!1,p=t.memoizedState,i.state=p,Ko(t,n,i,s),f=t.memoizedState,a!==u||p!==f||b.current||Fo?("function"==typeof d&&(Xi(t,0,d,n),f=t.memoizedState),(l=Fo||Zi(t,r,l,n,p,f,h)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(n,f,h),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(n,f,h)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=f),i.props=n,i.state=f,i.context=h,l):("function"!=typeof i.componentDidUpdate||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),!1)),wa(e,t,r,n,o,s)}function wa(e,t,r,n,s,o){ya(e,t);var i=!!(128&t.flags);if(!n&&!i)return s&&$s(t,r,!1),Ia(e,t,o);n=t.stateNode,ha.current=t;var a=i&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&i?(t.child=So(t,e.child,null,o),t.child=So(t,null,a,o)):k(e,t,a,o),t.memoizedState=n.state,s&&$s(t,r,!0),t.child}function Ea(e){var t=e.stateNode;t.pendingContext?Ls(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ls(0,t.context,!1),Qo(e,t.containerInfo)}function xa(e,t,r,n,s){return go(),yo(s),t.flags|=256,k(e,t,r,n),t.child}var Sa={dehydrated:null,treeContext:null,retryLane:0};function _a(e){return{baseLanes:e,cachePool:null,transitions:null}}function ka(e,t,r){var n,s,o=t.pendingProps,i=w.current,a=!1,l=!!(128&t.flags);{if((s=(s=l)?s:(null===e||null!==e.memoizedState)&&!!(2&i))?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),y(w,1&i),null===e)return po(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=o.children,e=o.fallback,a?(o=t.mode,a=t.child,l={mode:"hidden",children:l},1&o||null===a?a=nc(l,o,0,null):(a.childLanes=0,a.pendingProps=l),e=rc(e,o,r,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=_a(r),t.memoizedState=Sa,e):Aa(t,l));if(null===(i=e.memoizedState)||null===(s=i.dehydrated))return a?(a=o.fallback,l=t.mode,s=(i=e.child).sibling,p={mode:"hidden",children:o.children},1&l||t.child===i?(o=ec(i,p)).subtreeFlags=14680064&i.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=p,t.deletions=null),null!==s?a=ec(s,a):(a=rc(a,l,r,null)).flags|=2,a.return=t,o.return=t,o.sibling=a,t.child=o,o=a,a=t.child,l=null===(l=e.child.memoizedState)?_a(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},a.memoizedState=l,a.childLanes=e.childLanes&~r,t.memoizedState=Sa):(e=(a=e.child).sibling,o=ec(a,{mode:"visible",children:o.children}),1&t.mode||(o.lanes=r),o.return=t,(o.sibling=null)!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null),o;var c=e,u=t,p=l,h=o,d=s,f=i,m=r;if(p)return 256&u.flags?(u.flags&=-257,Oa(c,u,m,h=sa(Error($(422))))):null!==u.memoizedState?(u.child=c.child,u.flags|=128,null):(f=h.fallback,d=u.mode,h=nc({mode:"visible",children:h.children},d,0,null),(f=rc(f,d,m,null)).flags|=2,h.return=u,f.return=u,h.sibling=f,u.child=h,1&u.mode&&So(u,c.child,null,m),u.child.memoizedState=_a(m),u.memoizedState=Sa,f);if(!(1&u.mode))return Oa(c,u,m,null);if("$!"===d.data)return h=n=(h=d.nextSibling&&d.nextSibling.dataset)?h.dgst:n,Oa(c,u,m,h=sa(f=Error($(419)),h,void 0));if(n=!!(m&c.childLanes),_||n){if(null!==(h=K)){switch(m&-m){case 4:d=2;break;case 16:d=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:d=32;break;case 536870912:d=268435456;break;default:d=0}0!==(d=d&(h.suspendedLanes|m)?0:d)&&d!==f.retryLane&&(Lo(c,f.retryLane=d),Pl(h,c,d,-1))}return Ul(),Oa(c,u,m,h=sa(Error($(421))))}return"$?"===d.data?(u.flags|=128,u.child=c.child,u=function(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),Gl(e,r)}.bind(null,c),d._reactRetry=u,null):(c=f.treeContext,io=ys(d.nextSibling),oo=u,F=!0,(ao=null)!==c&&(Ys[Xs++]=Zs,Ys[Xs++]=eo,Ys[Xs++]=Qs,Zs=c.id,eo=c.overflow,Qs=u),(u=Aa(u,h.children)).flags|=4096,u)}}function Aa(e,t){return((t=nc({mode:"visible",children:t},e.mode,0,null)).return=e).child=t}function Oa(e,t,r,n){return null!==n&&yo(n),So(t,e.child,null,r),(e=Aa(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ca(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),No(e.return,t,r)}function ja(e,t,r,n,s){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:s}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=r,o.tailMode=s)}function Pa(e,t,r){var n=t.pendingProps,s=n.revealOrder,o=n.tail;if(k(e,t,n.children,r),2&(n=w.current))n=1&n|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ca(e,r,t);else if(19===e.tag)Ca(e,r,t);else if(null!==e.child){e=(e.child.return=e).child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(y(w,n),1&t.mode)switch(s){case"forwards":for(r=t.child,s=null;null!==r;)null!==(e=r.alternate)&&null===ri(e)&&(s=r),r=r.sibling;null===(r=s)?(s=t.child,t.child=null):(s=r.sibling,r.sibling=null),ja(t,!1,s,r,o);break;case"backwards":for(s=t.child,t.child=r=null;null!==s;){if(null!==(e=s.alternate)&&null===ri(e)){t.child=s;break}e=s.sibling,s.sibling=r,r=s,s=e}ja(t,!0,r,null,o);break;case"together":ja(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Na(e,t){1&t.mode||null===e||(e.alternate=null,t.alternate=null,t.flags|=2)}function Ia(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),pl|=t.lanes,!(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error($(153));if(null!==t.child){for(r=ec(e=t.child,e.pendingProps),(t.child=r).return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=ec(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function Ta(e,t){if(!F)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":for(var r=e.tail,n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function p(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var s=e.child;null!==s;)r|=s.lanes|s.childLanes,n=(n|=14680064&s.subtreeFlags)|14680064&s.flags,s.return=e,s=s.sibling;else for(s=e.child;null!==s;)r|=s.lanes|s.childLanes,n=(n|=s.subtreeFlags)|s.flags,s.return=e,s=s.sibling;e.subtreeFlags|=n,e.childLanes=r}var Ma=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r=(r.child.return=r).child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Ra=function(e,t,r,n){var s=e.memoizedProps;if(s!==n){e=t.stateNode,Xo(Ho.current);var o,i=null;switch(r){case"input":s=Ee(e,s),n=Ee(e,n),i=[];break;case"select":s=g({},s,{value:void 0}),n=g({},n,{value:void 0}),i=[];break;case"textarea":s=je(e,s),n=je(e,n),i=[];break;default:"function"!=typeof s.onClick&&"function"==typeof n.onClick&&(e.onclick=as)}for(c in Ve(r,n),r=null,s)if(!n.hasOwnProperty(c)&&s.hasOwnProperty(c)&&null!=s[c])if("style"===c){var a=s[c];for(o in a)a.hasOwnProperty(o)&&(r=r||{},r[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(j.hasOwnProperty(c)?i=i||[]:(i=i||[]).push(c,null));for(c in n){var l=n[c],a=null!=s?s[c]:void 0;if(n.hasOwnProperty(c)&&l!==a&&(null!=l||null!=a))if("style"===c)if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(r=r||{},r[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(r=r||{},r[o]=l[o])}else r||(i=i||[]).push(c,r),r=l;else"dangerouslySetInnerHTML"===c?(l=l?l.__html:void 0,a=a?a.__html:void 0,null!=l&&a!==l&&(i=i||[]).push(c,l)):"children"===c?"string"!=typeof l&&"number"!=typeof l||(i=i||[]).push(c,""+l):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(j.hasOwnProperty(c)?(null!=l&&"onScroll"===c&&u("scroll",e),i||a===l||(i=[])):(i=i||[]).push(c,l))}r&&(i=i||[]).push("style",r);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Da=function(e,t,r,n){r!==n&&(t.flags|=4)},La=!1,m=!1,Fa="function"==typeof WeakSet?WeakSet:Set,z=null;function Ba(e,t){var r=e.ref;if(null!==r)if("function"==typeof r)try{r(null)}catch(r){G(e,t,r)}else r.current=null}function $a(e,t,r){try{r()}catch(r){G(e,t,r)}}var qa=!1;function Ua(e,t,r){var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var s,o=n=n.next;do{}while((o.tag&e)===e&&(s=o.destroy,(o.destroy=void 0)!==s&&$a(t,r,s)),(o=o.next)!==n)}}function za(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r,n=t=t.next;do{}while((n.tag&e)===e&&(r=n.create,n.destroy=r()),(n=n.next)!==t)}}function Va(e){var t,r=e.ref;null!==r&&(t=e.stateNode,e.tag,e=t,"function"==typeof r?r(e):r.current=e)}function Ka(e){return 5===e.tag||3===e.tag||4===e.tag}function Wa(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Ka(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e=(e.child.return=e).child}if(!(2&e.flags))return e.stateNode}}var h=null,Ja=!1;function Ha(e,t,r){for(r=r.child;null!==r;)Ga(e,t,r),r=r.sibling}function Ga(e,t,r){if(Ot&&"function"==typeof Ot.onCommitFiberUnmount)try{Ot.onCommitFiberUnmount(At,r)}catch(e){}switch(r.tag){case 5:m||Ba(r,t);case 6:var n=h,s=Ja;h=null,Ha(e,t,r),Ja=s,null!==(h=n)&&(Ja?(e=h,r=r.stateNode,(8===e.nodeType?e.parentNode:e).removeChild(r)):h.removeChild(r.stateNode));break;case 18:null!==h&&(Ja?(e=h,r=r.stateNode,8===e.nodeType?gs(e.parentNode,r):1===e.nodeType&&gs(e,r),lr(e)):gs(h,r.stateNode));break;case 4:n=h,s=Ja,h=r.stateNode.containerInfo,Ja=!0,Ha(e,t,r),h=n,Ja=s;break;case 0:case 11:case 14:case 15:if(!m&&null!==(n=r.updateQueue)&&null!==(n=n.lastEffect)){s=n=n.next;do{var o=s.destroy,i=s.tag}while(void 0!==o&&(2&i||4&i)&&$a(r,t,o),(s=s.next)!==n)}Ha(e,t,r);break;case 1:if(!m&&(Ba(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(e){G(r,t,e)}Ha(e,t,r);break;case 21:Ha(e,t,r);break;case 22:1&r.mode?(m=(n=m)||null!==r.memoizedState,Ha(e,t,r),m=n):Ha(e,t,r);break;default:Ha(e,t,r)}}function Ya(r){var n,e=r.updateQueue;null!==e&&((r.updateQueue=null)===(n=r.stateNode)&&(n=r.stateNode=new Fa),e.forEach(function(e){var t=function(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,s=e.memoizedState;null!==s&&(r=s.retryLane);break;case 19:n=e.stateNode;break;default:throw Error($(314))}null!==n&&n.delete(t),Gl(e,r)}.bind(null,r,e);n.has(e)||(n.add(e),e.then(t,t))}))}function Xa(e,t){var r=t.deletions;if(null!==r)for(var n=0;n<r.length;n++){var s=r[n];try{var o=e,i=t,a=i;e:for(;null!==a;){switch(a.tag){case 5:h=a.stateNode,Ja=!1;break e;case 3:case 4:h=a.stateNode.containerInfo,Ja=!0;break e}a=a.return}if(null===h)throw Error($(160));Ga(o,i,s),h=null,Ja=!1;var l=s.alternate;null!==l&&(l.return=null),s.return=null}catch(e){G(s,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)Qa(t,e),t=t.sibling}function Qa(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Xa(t,e),Za(e),4&n){try{Ua(3,e,e.return),za(3,e)}catch(t){G(e,e.return,t)}try{Ua(5,e,e.return)}catch(t){G(e,e.return,t)}}break;case 1:Xa(t,e),Za(e),512&n&&null!==r&&Ba(r,r.return);break;case 5:if(Xa(t,e),Za(e),512&n&&null!==r&&Ba(r,r.return),32&e.flags){var s=e.stateNode;try{Fe(s,"")}catch(t){G(e,e.return,t)}}if(4&n&&null!=(s=e.stateNode)){var o=e.memoizedProps,i=null!==r?r.memoizedProps:o,a=e.type,l=e.updateQueue;if((e.updateQueue=null)!==l)try{"input"===a&&"radio"===o.type&&null!=o.name&&Se(s,o),Ke(a,i);for(var c=Ke(a,o),i=0;i<l.length;i+=2){var u=l[i],p=l[i+1];"style"===u?Ue(s,p):"dangerouslySetInnerHTML"===u?Le(s,p):"children"===u?Fe(s,p):B(s,u,p,c)}switch(a){case"input":_e(s,o);break;case"textarea":Ne(s,o);break;case"select":var h=s._wrapperState.wasMultiple,d=(s._wrapperState.wasMultiple=!!o.multiple,o.value);null!=d?Ce(s,!!o.multiple,d,!1):h!==!!o.multiple&&(null!=o.defaultValue?Ce(s,!!o.multiple,o.defaultValue,!0):Ce(s,!!o.multiple,o.multiple?[]:"",!1))}s[ws]=o}catch(t){G(e,e.return,t)}}break;case 6:if(Xa(t,e),Za(e),4&n){if(null===e.stateNode)throw Error($(162));s=e.stateNode,o=e.memoizedProps;try{s.nodeValue=o}catch(t){G(e,e.return,t)}}break;case 3:if(Xa(t,e),Za(e),4&n&&null!==r&&r.memoizedState.isDehydrated)try{lr(t.containerInfo)}catch(t){G(e,e.return,t)}break;case 4:default:Xa(t,e),Za(e);break;case 13:Xa(t,e),Za(e),8192&(s=e.child).flags&&(o=null!==s.memoizedState,!(s.stateNode.isHidden=o)||null!==s.alternate&&null!==s.alternate.memoizedState||(gl=q())),4&n&&Ya(e);break;case 22:if(u=null!==r&&null!==r.memoizedState,1&e.mode?(m=(c=m)||u,Xa(t,e),m=c):Xa(t,e),Za(e),8192&n){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!u&&1&e.mode)for(u=(z=e).child;null!==u;){for(p=z=u;null!==z;){switch(d=(h=z).child,h.tag){case 0:case 11:case 14:case 15:Ua(4,h,h.return);break;case 1:Ba(h,h.return);var f=h.stateNode;if("function"==typeof f.componentWillUnmount){r=(n=h).return;try{t=n,f.props=t.memoizedProps,f.state=t.memoizedState,f.componentWillUnmount()}catch(e){G(n,r,e)}}break;case 5:Ba(h,h.return);break;case 22:if(null!==h.memoizedState){rl(p);continue}}null!==d?(d.return=h,z=d):rl(p)}u=u.sibling}e:for(u=null,p=e;;){if(5===p.tag){if(null===u){u=p;try{s=p.stateNode,c?"function"==typeof(o=s.style).setProperty?o.setProperty("display","none","important"):o.display="none":(a=p.stateNode,i=null!=(l=p.memoizedProps.style)&&l.hasOwnProperty("display")?l.display:null,a.style.display=qe("display",i))}catch(t){G(e,e.return,t)}}}else if(6===p.tag){if(null===u)try{p.stateNode.nodeValue=c?"":p.memoizedProps}catch(t){G(e,e.return,t)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p=(p.child.return=p).child;continue}if(p===e)break;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;u===p&&(u=null),p=p.return}u===p&&(u=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:Xa(t,e),Za(e),4&n&&Ya(e);case 21:}}function Za(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(Ka(r)){var n=r;break e}r=r.return}throw Error($(160))}switch(n.tag){case 5:var s=n.stateNode;32&n.flags&&(Fe(s,""),n.flags&=-33),function e(t,r,n){var s=t.tag;if(5===s||6===s)t=t.stateNode,r?n.insertBefore(t,r):n.appendChild(t);else if(4!==s&&null!==(t=t.child))for(e(t,r,n),t=t.sibling;null!==t;)e(t,r,n),t=t.sibling}(e,Wa(e),s);break;case 3:case 4:var o=n.stateNode.containerInfo;!function e(t,r,n){var s=t.tag;if(5===s||6===s)t=t.stateNode,r?(8===n.nodeType?n.parentNode:n).insertBefore(t,r):(8===n.nodeType?(r=n.parentNode).insertBefore(t,n):(r=n).appendChild(t),null==(n=n._reactRootContainer)&&null===r.onclick&&(r.onclick=as));else if(4!==s&&null!==(t=t.child))for(e(t,r,n),t=t.sibling;null!==t;)e(t,r,n),t=t.sibling}(e,Wa(e),o);break;default:throw Error($(161))}}catch(t){G(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function el(e,t,r){(function e(t,r,n){for(var s=!!(1&t.mode);null!==z;){var o=z,i=o.child;if(22===o.tag&&s){var a=null!==o.memoizedState||La;if(!a){var l=o.alternate,c=null!==l&&null!==l.memoizedState||m,u=(l=La,m);if(La=a,(m=c)&&!u)for(z=o;null!==z;)c=(a=z).child,(22!==a.tag||null===a.memoizedState)&&null!==c?(c.return=a,z=c):nl(o);for(;null!==i;)e(z=i,r,n),i=i.sibling;z=o,La=l,m=u}tl(t)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,z=i):tl(t)}})(z=e,t,r)}function tl(e){for(;null!==z;){var t=z;if(8772&t.flags){var r,n,s,o=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:m||za(5,t);break;case 1:var i,a=t.stateNode,l=(4&t.flags&&!m&&(null===o?a.componentDidMount():(i=t.elementType===t.type?o.memoizedProps:Yi(t.type,o.memoizedProps),a.componentDidUpdate(i,o.memoizedState,a.__reactInternalSnapshotBeforeUpdate))),t.updateQueue);null!==l&&Wo(0,l,a);break;case 3:var c=t.updateQueue;if(null!==c){if((o=null)!==t.child)switch(t.child.tag){case 5:case 1:o=t.child.stateNode}Wo(0,c,o)}break;case 5:var u=t.stateNode;if(null===o&&4&t.flags){var o=u,p=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":p.autoFocus&&o.focus();break;case"img":p.src&&(o.src=p.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:null!==t.memoizedState||null!==(r=t.alternate)&&null!==(n=r.memoizedState)&&null!==(s=n.dehydrated)&&lr(s);break;default:throw Error($(163))}m||512&t.flags&&Va(t)}catch(e){G(t,t.return,e)}}if(t===e){z=null;break}if(null!==(o=t.sibling)){o.return=t.return,z=o;break}z=t.return}}function rl(e){for(;null!==z;){var t=z;if(t===e){z=null;break}var r=t.sibling;if(null!==r){r.return=t.return,z=r;break}z=t.return}}function nl(e){for(;null!==z;){var t=z;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{za(4,t)}catch(e){G(t,r,e)}break;case 1:var n=t.stateNode;if("function"==typeof n.componentDidMount){var s=t.return;try{n.componentDidMount()}catch(e){G(t,s,e)}}var o=t.return;try{Va(t)}catch(e){G(t,o,e)}break;case 5:var i=t.return;try{Va(t)}catch(e){G(t,i,e)}}}catch(e){G(t,t.return,e)}if(t===e){z=null;break}var a=t.sibling;if(null!==a){a.return=t.return,z=a;break}z=t.return}}var sl=Math.ceil,ol=O.ReactCurrentDispatcher,il=O.ReactCurrentOwner,al=O.ReactCurrentBatchConfig,V=0,K=null,W=null,J=0,ll=0,cl=Ns(0),A=0,ul=null,pl=0,hl=0,dl=0,fl=null,ml=null,gl=0,yl=1/0,vl=null,bl=!1,wl=null,El=null,xl=!1,Sl=null,_l=0,kl=0,Al=null,Ol=-1,Cl=0;function d(){return 6&V?q():-1!==Ol?Ol:Ol=q()}function jl(e){return 1&e.mode?2&V&&0!==J?J&-J:null!==vo.transition?Cl=0===Cl?Dt():Cl:0!==(e=U)?e:void 0===(e=window.event)?16:gr(e.type):1}function Pl(e,t,r,n){if(50<kl)throw kl=0,Al=null,Error($(185));Ft(e,r,n),2&V&&e===K||(e===K&&(2&V||(hl|=r),4===A&&Ml(e,J)),H(e,n),1!==r||0!==V||1&t.mode||(yl=q()+500,Us&&Ks()))}function H(e,t){for(var r=e.callbackNode,n=e,s=t,o=n.suspendedLanes,i=n.pingedLanes,a=n.expirationTimes,l=n.pendingLanes;0<l;){var c=31-Ct(l),u=1<<c,p=a[c];-1===p?u&o&&!(u&i)||(a[c]=function(e,t){switch(e){case 1:case 2:case 4:return t+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 t+5e3;default:return-1}}(u,s)):p<=s&&(n.expiredLanes|=u),l&=~u}var h,d=Mt(e,e===K?J:0);if(0===d)null!==r&&yt(r),e.callbackNode=null,e.callbackPriority=0;else if(e.callbackPriority!==(t=d&-d)){if(null!=r&&yt(r),1===t)0===e.tag?(h=Rl.bind(null,e),Us=!0,Vs(h)):Vs(Rl.bind(null,e)),fs(function(){6&V||Ks()}),r=null;else{switch($t(d)){case 1:r=Et;break;case 4:r=xt;break;case 16:default:r=St;break;case 536870912:r=kt}r=Yl(r,Nl.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function Nl(e,t){if(Ol=-1,Cl=0,6&V)throw Error($(327));var r=e.callbackNode;if(Jl()&&e.callbackNode!==r)return null;var n=Mt(e,e===K?J:0);if(0===n)return null;if(30&n||n&e.expiredLanes||t)t=zl(e,n);else{t=n;var s=V,o=(V|=2,ql());for(K===e&&J===t||(vl=null,yl=q()+500,Bl(e,t));;)try{for(;null!==W&&!vt();)Vl(W);break}catch(t){$l(e,t)}jo(),ol.current=o,V=s,t=null!==W?0:(K=null,J=0,A)}if(0!==t){if(1===(t=2===t&&0!==(s=Rt(e))?Il(e,n=s):t))throw r=ul,Bl(e,0),Ml(e,n),H(e,q()),r;if(6===t)Ml(e,n);else{if(s=e.current.alternate,!(30&n||function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var s=(o=r[n]).getSnapshot,o=o.value;try{if(!yn(s(),o))return}catch(e){return}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return 1;t=t.return}t.sibling.return=t.return,t=t.sibling}}return 1}(s)||(2===(t=zl(e,n))&&(0!==(o=Rt(e))&&(t=Il(e,n=o))),1!==t)))throw r=ul,Bl(e,0),Ml(e,n),H(e,q()),r;switch(e.finishedWork=s,e.finishedLanes=n,t){case 0:case 1:throw Error($(345));case 2:case 5:Wl(e,ml,vl);break;case 3:if(Ml(e,n),(130023424&n)===n&&10<(t=gl+500-q())){if(0!==Mt(e,0))break;if(((s=e.suspendedLanes)&n)!==n){d(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=ps(Wl.bind(null,e,ml,vl),t);break}Wl(e,ml,vl);break;case 4:if(Ml(e,n),(4194240&n)===n)break;for(t=e.eventTimes,s=-1;0<n;){var i=31-Ct(n),o=1<<i;(i=t[i])>s&&(s=i),n&=~o}if(n=s,10<(n=((n=q()-n)<120?120:n<480?480:n<1080?1080:n<1920?1920:n<3e3?3e3:n<4320?4320:1960*sl(n/1960))-n)){e.timeoutHandle=ps(Wl.bind(null,e,ml,vl),n);break}Wl(e,ml,vl);break;default:throw Error($(329))}}}return H(e,q()),e.callbackNode===r?Nl.bind(null,e):null}function Il(e,t){var r=fl;return e.current.memoizedState.isDehydrated&&(Bl(e,t).flags|=256),2!==(e=zl(e,t))&&(t=ml,ml=r,null!==t&&Tl(t)),e}function Tl(e){null===ml?ml=e:ml.push.apply(ml,e)}function Ml(e,t){for(t=t&~dl&~hl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Ct(t),n=1<<r;e[r]=-1,t&=~n}}function Rl(e){if(6&V)throw Error($(327));Jl();var t=Mt(e,0);if(!(1&t))return H(e,q()),null;var r,n=zl(e,t);if(0===e.tag||2!==n||0!==(r=Rt(e))&&(n=Il(e,t=r)),1===n)throw n=ul,Bl(e,0),Ml(e,t),H(e,q()),n;if(6===n)throw Error($(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Wl(e,ml,vl),H(e,q()),null}function Dl(e,t){var r=V;V|=1;try{return e(t)}finally{0===(V=r)&&(yl=q()+500,Us&&Ks())}}function Ll(e){null===Sl||0!==Sl.tag||6&V||Jl();var t=V,r=(V|=1,al.transition),n=U;try{if(al.transition=null,U=1,e)return e()}finally{U=n,al.transition=r,6&(V=t)||Ks()}}function Fl(){ll=cl.current,c(cl)}function Bl(e,t){e.finishedWork=null,e.finishedLanes=0;var r,n,s,o=e.timeoutHandle;if(-1!==o&&(e.timeoutHandle=-1,hs(o)),null!==W)for(o=W.return;null!==o;){var i=o;switch(so(i),i.tag){case 1:null!=(i=i.type.childContextTypes)&&Ds();break;case 3:Zo(),c(b),c(v),si();break;case 5:ti(i);break;case 4:Zo();break;case 13:case 19:c(w);break;case 10:Po(i.type._context);break;case 22:case 23:Fl()}o=o.return}if(W=e=ec((K=e).current,null),J=ll=t,dl=hl=pl=A=0,(ml=fl=ul=null)!==Mo){for(t=0;t<Mo.length;t++)null!==(i=(o=Mo[t]).interleaved)&&(o.interleaved=null,r=i.next,null!==(n=o.pending)&&(s=n.next,n.next=r,i.next=s),o.pending=i);Mo=null}return e}function $l(e,t){for(;;){var r=W;try{if(jo(),oi.current=Wi,li){for(var n=E.memoizedState;null!==n;){var s=n.queue;null!==s&&(s.pending=null),n=n.next}li=!1}if(S=x=E=null,ci=!1,ui=ai=0,(il.current=null)===r||null===r.return){A=1,ul=t,W=null;break}e:{var o=e,i=r.return,a=t;if(t=J,(g=r).flags|=32768,null!==a&&"object"==typeof a&&"function"==typeof a.then){var l,c=a,u=g,p=u.tag,h=(1&u.mode||0!==p&&11!==p&&15!==p||((l=u.alternate)?(u.updateQueue=l.updateQueue,u.memoizedState=l.memoizedState,u.lanes=l.lanes):(u.updateQueue=null,u.memoizedState=null)),ua(i));if(null!==h){h.flags&=-257,pa(h,i,g,0,t),1&h.mode&&ca(o,c,t);var d,a=c,f=(t=h).updateQueue;null===f?((d=new Set).add(a),t.updateQueue=d):f.add(a);break e}if(!(1&t)){ca(o,c,t),Ul();break e}a=Error($(426))}else if(F&&1&g.mode){var m=ua(i);if(null!==m){65536&m.flags||(m.flags|=256),pa(m,i,g,0,t),yo(na(a,g));break e}}o=a=na(a,g),4!==A&&(A=2),null===fl?fl=[o]:fl.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,Vo(o,aa(0,a,t));break e;case 1:var g=a,y=o.type,v=o.stateNode;if(!(128&o.flags||"function"!=typeof y.getDerivedStateFromError&&(null===v||"function"!=typeof v.componentDidCatch||null!==El&&El.has(v)))){o.flags|=65536,t&=-t,o.lanes|=t,Vo(o,la(o,g,t));break e}}}while(null!==(o=o.return))}Kl(r)}catch(e){t=e,W===r&&null!==r&&(W=r=r.return);continue}break}}function ql(){var e=ol.current;return ol.current=Wi,null===e?Wi:e}function Ul(){0!==A&&3!==A&&2!==A||(A=4),null!==K&&(268435455&pl||268435455&hl)&&Ml(K,J)}function zl(e,t){var r=V,n=(V|=2,ql());for(K===e&&J===t||(vl=null,Bl(e,t));;)try{for(;null!==W;)Vl(W);break}catch(t){$l(e,t)}if(jo(),V=r,ol.current=n,null!==W)throw Error($(261));return K=null,J=0,A}function Vl(e){var t=fc(e.alternate,e,ll);e.memoizedProps=e.pendingProps,null===t?Kl(e):W=t,il.current=null}function Kl(e){var t=e;do{var r=t.alternate;if(e=t.return,32768&t.flags){if(null!==(r=function(e,t){switch(so(t),t.tag){case 1:return Rs(t.type)&&Ds(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Zo(),c(b),c(v),si(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ti(t),null;case 13:if(c(w),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error($(340));go()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return c(w),null;case 4:return Zo(),null;case 10:return Po(t.type._context),null;case 22:case 23:return Fl(),null;default:return null}}(r,t)))return r.flags&=32767,W=r;if(null===e)return A=6,W=null;e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(r=function(e,t,r){var n=t.pendingProps;switch(so(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return p(t),null;case 1:case 17:return Rs(t.type)&&Ds(),p(t),null;case 3:return n=t.stateNode,Zo(),c(b),c(v),si(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null!==e&&(!e.memoizedState.isDehydrated||256&t.flags)&&(t.flags|=1024,null!==ao&&(Tl(ao),ao=null))),p(t),null;case 5:ti(t);var s,o=Xo(Yo.current);if(r=t.type,null!==e&&null!=t.stateNode)Ra(e,t,r,n),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(null===t.stateNode)throw Error($(166));return p(t),null}if(e=Xo(Ho.current),fo(t)){n=t.stateNode,r=t.type;var i,a,l=t.memoizedProps;switch(n[bs]=t,n[ws]=l,e=!!(1&t.mode),r){case"dialog":u("cancel",n),u("close",n);break;case"iframe":case"object":case"embed":u("load",n);break;case"video":case"audio":for(o=0;o<Vn.length;o++)u(Vn[o],n);break;case"source":u("error",n);break;case"img":case"image":case"link":u("error",n),u("load",n);break;case"details":u("toggle",n);break;case"input":xe(n,l),u("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!l.multiple},u("invalid",n);break;case"textarea":Pe(n,l),u("invalid",n)}for(i in Ve(r,l),o=null,l)l.hasOwnProperty(i)&&(a=l[i],"children"===i?"string"==typeof a?n.textContent!==a&&(!0!==l.suppressHydrationWarning&&is(n.textContent,a,e),o=["children",a]):"number"==typeof a&&n.textContent!==""+a&&(!0!==l.suppressHydrationWarning&&is(n.textContent,a,e),o=["children",""+a]):j.hasOwnProperty(i)&&null!=a&&"onScroll"===i&&u("scroll",n));switch(r){case"input":ve(n),ke(n,l,!0);break;case"textarea":ve(n),Ie(n);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(n.onclick=as)}n=o,null!==(t.updateQueue=n)&&(t.flags|=4)}else{i=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===(e="http://www.w3.org/1999/xhtml"===e?Te(r):e)?"script"===r?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),"select"===r&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[bs]=t,e[ws]=n,Ma(e,t),t.stateNode=e;e:{switch(i=Ke(r,n),r){case"dialog":u("cancel",e),u("close",e),o=n;break;case"iframe":case"object":case"embed":u("load",e),o=n;break;case"video":case"audio":for(o=0;o<Vn.length;o++)u(Vn[o],e);o=n;break;case"source":u("error",e),o=n;break;case"img":case"image":case"link":u("error",e),u("load",e),o=n;break;case"details":u("toggle",e),o=n;break;case"input":xe(e,n),o=Ee(e,n),u("invalid",e);break;case"option":default:o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=g({},n,{value:void 0}),u("invalid",e);break;case"textarea":Pe(e,n),o=je(e,n),u("invalid",e)}for(l in Ve(r,o),a=o)a.hasOwnProperty(l)&&(s=a[l],"style"===l?Ue(e,s):"dangerouslySetInnerHTML"===l?null!=(s=s?s.__html:void 0)&&Le(e,s):"children"===l?"string"==typeof s?"textarea"===r&&""===s||Fe(e,s):"number"==typeof s&&Fe(e,""+s):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(j.hasOwnProperty(l)?null!=s&&"onScroll"===l&&u("scroll",e):null!=s&&B(e,l,s,i)));switch(r){case"input":ve(e),ke(e,n,!1);break;case"textarea":ve(e),Ie(e);break;case"option":null!=n.value&&e.setAttribute("value",""+ge(n.value));break;case"select":e.multiple=!!n.multiple,null!=(l=n.value)?Ce(e,!!n.multiple,l,!1):null!=n.defaultValue&&Ce(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=as)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return p(t),null;case 6:if(e&&null!=t.stateNode)Da(0,t,e.memoizedProps,n);else{if("string"!=typeof n&&null===t.stateNode)throw Error($(166));if(r=Xo(Yo.current),Xo(Ho.current),fo(t)){if(n=t.stateNode,r=t.memoizedProps,n[bs]=t,(l=n.nodeValue!==r)&&null!==(e=oo))switch(e.tag){case 3:is(n.nodeValue,r,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&is(n.nodeValue,r,!!(1&e.mode))}l&&(t.flags|=4)}else((n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[bs]=t).stateNode=n}return p(t),null;case 13:if(c(w),n=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(F&&null!==io&&1&t.mode&&!(128&t.flags))mo(),go(),t.flags|=98560,l=!1;else if(l=fo(t),null!==n&&null!==n.dehydrated){if(null===e){if(!l)throw Error($(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error($(317));l[bs]=t}else go(),128&t.flags||(t.memoizedState=null),t.flags|=4;p(t),l=!1}else null!==ao&&(Tl(ao),ao=null),l=!0;if(!l)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=r,t):((n=null!==n)!=(null!==e&&null!==e.memoizedState)&&n&&(t.child.flags|=8192,1&t.mode&&(null===e||1&w.current?0===A&&(A=3):Ul())),null!==t.updateQueue&&(t.flags|=4),p(t),null);case 4:return Zo(),null===e&&Yn(t.stateNode.containerInfo),p(t),null;case 10:return Po(t.type._context),p(t),null;case 19:if(c(w),null===(l=t.memoizedState))return p(t),null;if(n=!!(128&t.flags),null===(i=l.rendering))if(n)Ta(l,!1);else{if(0!==A||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(i=ri(e))){for(t.flags|=128,Ta(l,!1),null!==(n=i.updateQueue)&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;null!==r;)e=n,(l=r).flags&=14680066,null===(i=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=i.childLanes,l.lanes=i.lanes,l.child=i.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=i.memoizedProps,l.memoizedState=i.memoizedState,l.updateQueue=i.updateQueue,l.type=i.type,e=i.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return y(w,1&w.current|2),t.child}e=e.sibling}null!==l.tail&&q()>yl&&(t.flags|=128,Ta(l,!(n=!0)),t.lanes=4194304)}else{if(!n)if(null!==(e=ri(i))){if(t.flags|=128,n=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),Ta(l,!0),null===l.tail&&"hidden"===l.tailMode&&!i.alternate&&!F)return p(t),null}else 2*q()-l.renderingStartTime>yl&&1073741824!==r&&(t.flags|=128,Ta(l,!(n=!0)),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(null!==(r=l.last)?r.sibling=i:t.child=i,l.last=i)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=q(),t.sibling=null,r=w.current,y(w,n?1&r|2:1&r),t):(p(t),null);case 22:case 23:return Fl(),n=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==n&&(t.flags|=8192),n&&1&t.mode?1073741824&ll&&(p(t),6&t.subtreeFlags&&(t.flags|=8192)):p(t),null;case 24:case 25:return null}throw Error($(156,t.tag))}(r,t,ll)))return W=r;if(null!==(t=t.sibling))return W=t}while(W=t=e,null!==t);0===A&&(A=5)}function Wl(e,t,r){var n=U,s=al.transition;try{al.transition=null,U=1;for(var o=e,i=t,a=r,l=n;Jl(),null!==Sl;);if(6&V)throw Error($(327));a=o.finishedWork;var c=o.finishedLanes;if(null!==a){if(o.finishedWork=null,o.finishedLanes=0,a===o.current)throw Error($(177));o.callbackNode=null,o.callbackPriority=0;var u=a.lanes|a.childLanes,p=o,h=u,d=p.pendingLanes&~h,f=(p.pendingLanes=h,p.suspendedLanes=0,p.pingedLanes=0,p.expiredLanes&=h,p.mutableReadLanes&=h,p.entangledLanes&=h,h=p.entanglements,p.eventTimes);for(p=p.expirationTimes;0<d;){var m=31-Ct(d),g=1<<m;h[m]=0,f[m]=-1,p[m]=-1,d&=~g}if(o===K&&(W=K=null,J=0),(2064&a.subtreeFlags||2064&a.flags)&&!xl&&(xl=!0,Yl(St,function(){return Jl(),null})),u=!!(15990&a.flags),15990&a.subtreeFlags||u){u=al.transition,al.transition=null;var D=U,L=(U=1,V),y=(V|=4,il.current=null,o),v=a;if(ls=ur,xn(y=En())){if("selectionStart"in y)var b={start:y.selectionStart,end:y.selectionEnd};else e:if((x=(b=(b=y.ownerDocument)&&b.defaultView||window).getSelection&&b.getSelection())&&0!==x.rangeCount){var b=x.anchorNode,w=x.anchorOffset,E=x.focusNode,x=x.focusOffset;try{b.nodeType,E.nodeType}catch(y){b=null;break e}var S,_=0,k=-1,A=-1,F=0,B=0,O=y,C=null;t:for(;;){for(;O!==b||0!==w&&3!==O.nodeType||(k=_+w),O!==E||0!==x&&3!==O.nodeType||(A=_+x),3===O.nodeType&&(_+=O.nodeValue.length),null!==(S=O.firstChild);)C=O,O=S;for(;;){if(O===y)break t;if(C===b&&++F===w&&(k=_),C===E&&++B===x&&(A=_),null!==(S=O.nextSibling))break;C=(O=C).parentNode}O=S}b=-1===k||-1===A?null:{start:k,end:A}}else b=null;b=b||{start:0,end:0}}else b=null;for(ur=!(cs={focusedElem:y,selectionRange:b}),z=v;null!==z;)if(y=(v=z).child,1028&v.subtreeFlags&&null!==y)y.return=v,z=y;else for(;null!==z;){v=z;try{var j,P,N,I,T=v.alternate;if(1024&v.flags)switch(v.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:null!==T&&(j=T.memoizedProps,P=T.memoizedState,I=(N=v.stateNode).getSnapshotBeforeUpdate(v.elementType===v.type?j:Yi(v.type,j),P),N.__reactInternalSnapshotBeforeUpdate=I);break;case 3:var M=v.stateNode.containerInfo;1===M.nodeType?M.textContent="":9===M.nodeType&&M.documentElement&&M.removeChild(M.documentElement);break;default:throw Error($(163))}}catch(y){G(v,v.return,y)}if(null!==(y=v.sibling)){y.return=v.return,z=y;break}z=v.return}T=qa,qa=!1,Qa(a,o),Sn(cs),ur=!!ls,cs=ls=null,el(o.current=a,o,c),bt(),V=L,U=D,al.transition=u}else o.current=a;xl&&(xl=!1,Sl=o,_l=c),0===(u=o.pendingLanes)&&(El=null);var R=a.stateNode;if(Ot&&"function"==typeof Ot.onCommitFiberRoot)try{Ot.onCommitFiberRoot(At,R,void 0,!(128&~R.current.flags))}catch(R){}if(H(o,q()),null!==i)for(l=o.onRecoverableError,a=0;a<i.length;a++)l((c=i[a]).value,{componentStack:c.stack,digest:c.digest});if(bl)throw bl=!1,o=wl,wl=null,o;1&_l&&0!==o.tag&&Jl(),1&(u=o.pendingLanes)?o===Al?kl++:(kl=0,Al=o):kl=0,Ks()}}finally{al.transition=s,U=n}return null}function Jl(){if(null!==Sl){var e=$t(_l),t=al.transition,r=U;try{if(al.transition=null,U=e<16?16:e,null===Sl)var n=!1;else{if(e=Sl,Sl=null,_l=0,6&V)throw Error($(331));var s=V;for(V|=4,z=e.current;null!==z;){var o=z,i=o.child;if(16&z.flags){var a=o.deletions;if(null!==a){for(var l=0;l<a.length;l++){var c=a[l];for(z=c;null!==z;){var u=z;switch(u.tag){case 0:case 11:case 15:Ua(8,u,o)}var p=u.child;if(null!==p)p.return=u,z=p;else for(;null!==z;){var h=(u=z).sibling,d=u.return;if(function e(t){var r=t.alternate;null!==r&&(t.alternate=null,e(r)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(r=t.stateNode)&&(delete r[bs],delete r[ws],delete r[xs],delete r[Ss],delete r[_s]),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(u),u===c){z=null;break}if(null!==h){h.return=d,z=h;break}z=d}}}var f=o.alternate;if(null!==f){var m=f.child;if(null!==m){f.child=null;do{var g=m.sibling}while((m.sibling=null)!==(m=g))}}z=o}}if(2064&o.subtreeFlags&&null!==i)i.return=o,z=i;else for(;null!==z;){if(2048&(o=z).flags)switch(o.tag){case 0:case 11:case 15:Ua(9,o,o.return)}var y=o.sibling;if(null!==y){y.return=o.return,z=y;break}z=o.return}}var v=e.current;for(z=v;null!==z;){var b=(i=z).child;if(2064&i.subtreeFlags&&null!==b)b.return=i,z=b;else for(i=v;null!==z;){if(2048&(a=z).flags)try{switch(a.tag){case 0:case 11:case 15:za(9,a)}}catch(e){G(a,a.return,e)}if(a===i){z=null;break}var w=a.sibling;if(null!==w){w.return=a.return,z=w;break}z=a.return}}if(V=s,Ks(),Ot&&"function"==typeof Ot.onPostCommitFiberRoot)try{Ot.onPostCommitFiberRoot(At,e)}catch(e){}n=!0}return n}finally{U=r,al.transition=t}}}function Hl(e,t,r){e=Uo(e,t=aa(0,t=na(r,t),1),1),t=d(),null!==e&&(Ft(e,1,t),H(e,t))}function G(e,t,r){if(3===e.tag)Hl(e,e,r);else for(;null!==t;){if(3===t.tag){Hl(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===El||!El.has(n))){t=Uo(t,e=la(t,e=na(r,e),1),1),e=d(),null!==t&&(Ft(t,1,e),H(t,e));break}}t=t.return}}function Gl(e,t){0===t&&(1&e.mode?(t=It,130023424&(It<<=1)||(It=4194304)):t=1);var r=d();null!==(e=Lo(e,t))&&(Ft(e,t,r),H(e,r))}function Yl(e,t){return gt(e,t)}function Xl(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ql(e,t,r,n){return new Xl(e,t,r,n)}function Zl(e){return(e=e.prototype)&&e.isReactComponent}function ec(e,t){var r=e.alternate;return null===r?((r=Ql(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,(r.alternate=e).alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function tc(e,t,r,n,s,o){var i=2;if("function"==typeof(n=e))Zl(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case Q:return rc(r.children,s,o,t);case Z:s|=i=8;break;case ee:return(e=Ql(12,r,t,2|s)).elementType=ee,e.lanes=o,e;case se:return(e=Ql(13,r,t,s)).elementType=se,e.lanes=o,e;case oe:return(e=Ql(19,r,t,s)).elementType=oe,e.lanes=o,e;case le:return nc(r,s,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case te:i=10;break e;case re:i=9;break e;case ne:i=11;break e;case ie:i=14;break e;case ae:i=16,n=null;break e}throw Error($(130,null==e?e:typeof e,""))}return(t=Ql(i,r,t,s)).elementType=e,t.type=n,t.lanes=o,t}function rc(e,t,r,n){return(e=Ql(7,e,n,t)).lanes=r,e}function nc(e,t,r,n){return(e=Ql(22,e,n,t)).elementType=le,e.lanes=r,e.stateNode={isHidden:!1},e}function sc(e,t,r){return(e=Ql(6,e,null,t)).lanes=r,e}function oc(e,t,r){return(t=Ql(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ic(e,t,r,n,s){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Lt(0),this.expirationTimes=Lt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Lt(0),this.identifierPrefix=n,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function ac(e,t,r,n,s,o,i,a,l){return e=new ic(e,t,0,a,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Ql(3,null,null,t),(e.current=o).stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bo(o),e}function lc(e){if(!e)return Is;e:{if(ht(e=e._reactInternals)!==e||1!==e.tag)throw Error($(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Rs(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}}while(null!==(t=t.return));throw Error($(171))}if(1===e.tag){var r=e.type;if(Rs(r))return Fs(e,r,t)}return t}function cc(e,t,r,n,s,o,i,a,l){return(e=ac(r,n,!0,e,0,o,0,a,l)).context=lc(null),r=e.current,(o=qo(n=d(),s=jl(r))).callback=null!=t?t:null,Uo(r,o,s),e.current.lanes=s,Ft(e,s,n),H(e,n),e}function uc(e,t,r,n){var s=t.current,o=d(),i=jl(s);r=lc(r),null===t.context?t.context=r:t.pendingContext=r,(t=qo(o,i)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=Uo(s,t,i))&&(Pl(e,s,i,o),zo(e,s,i))}function pc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function hc(e,t){var r;null!==(e=e.memoizedState)&&null!==e.dehydrated&&(r=e.retryLane,e.retryLane=0!==r&&r<t?r:t)}function dc(e,t){hc(e,t),(e=e.alternate)&&hc(e,t)}var fc=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||b.current)_=!0;else{if(!(e.lanes&r||128&t.flags)){_=!1;{var n=e;var s=t;var o=r;switch(s.tag){case 3:Ea(s),go();break;case 5:ei(s);break;case 1:Rs(s.type)&&Bs(s);break;case 4:Qo(s,s.stateNode.containerInfo);break;case 10:var i=s.type._context,a=s.memoizedProps.value;y(ko,i._currentValue),i._currentValue=a;break;case 13:if(null!==(i=s.memoizedState))return null!==i.dehydrated?(y(w,1&w.current),s.flags|=128,null):o&s.child.childLanes?ka(n,s,o):(y(w,1&w.current),null!==(n=Ia(n,s,o))?n.sibling:null);y(w,1&w.current);break;case 19:if(i=!!(o&s.childLanes),128&n.flags){if(i)return Pa(n,s,o);s.flags|=128}if(null!==(a=s.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),y(w,w.current),i)break;return null;case 22:case 23:return s.lanes=0,ga(n,s,o)}return Ia(n,s,o);return}}_=!!(131072&e.flags)}else _=!1,F&&1048576&t.flags&&ro(t,Gs,t.index);switch(t.lanes=0,t.tag){case 2:var l=t.type,c=(Na(e,t),e=t.pendingProps,Ms(t,v.current)),u=(Io(t,r),c=di(null,t,l,e,c,r),fi());return t.flags|=1,t="object"==typeof c&&null!==c&&"function"==typeof c.render&&void 0===c.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Rs(l)?(u=!0,Bs(t)):u=!1,t.memoizedState=null!==c.state&&void 0!==c.state?c.state:null,Bo(t),c.updater=Qi,ra((t.stateNode=c)._reactInternals=t,l,e,r),wa(null,t,l,!0,u,r)):(t.tag=0,F&&u&&no(t),k(null,t,c,r),t.child);case 16:l=t.elementType;e:{switch(Na(e,t),e=t.pendingProps,l=(c=l._init)(l._payload),t.type=l,c=t.tag=function(e){if("function"==typeof e)return Zl(e)?1:0;if(null!=e){if((e=e.$$typeof)===ne)return 11;if(e===ie)return 14}return 2}(l),e=Yi(l,e),c){case 0:t=va(null,t,l,e,r);break e;case 1:t=ba(null,t,l,e,r);break e;case 11:t=da(null,t,l,e,r);break e;case 14:t=fa(null,t,l,Yi(l.type,e),r);break e}throw Error($(306,l,""))}return t;case 0:return l=t.type,c=t.pendingProps,va(e,t,l,c=t.elementType===l?c:Yi(l,c),r);case 1:return l=t.type,c=t.pendingProps,ba(e,t,l,c=t.elementType===l?c:Yi(l,c),r);case 3:e:{if(Ea(t),null===e)throw Error($(387));l=t.pendingProps,c=(u=t.memoizedState).element,$o(e,t),Ko(t,l,null,r);var p=t.memoizedState,l=p.element;if(u.isDehydrated){if(u={element:l,isDehydrated:!1,cache:p.cache,pendingSuspenseBoundaries:p.pendingSuspenseBoundaries,transitions:p.transitions},t.updateQueue.baseState=u,t.memoizedState=u,256&t.flags){t=xa(e,t,l,r,c=na(Error($(423)),t));break e}if(l!==c){t=xa(e,t,l,r,c=na(Error($(424)),t));break e}for(io=ys(t.stateNode.containerInfo.firstChild),F=!0,r=_o(oo=t,ao=null,l,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(go(),l===c){t=Ia(e,t,r);break e}k(e,t,l,r)}t=t.child}return t;case 5:return ei(t),null===e&&po(t),l=t.type,c=t.pendingProps,u=null!==e?e.memoizedProps:null,p=c.children,us(l,c)?p=null:null!==u&&us(l,u)&&(t.flags|=32),ya(e,t),k(e,t,p,r),t.child;case 6:return null===e&&po(t),null;case 13:return ka(e,t,r);case 4:return Qo(t,t.stateNode.containerInfo),l=t.pendingProps,null===e?t.child=So(t,null,l,r):k(e,t,l,r),t.child;case 11:return l=t.type,c=t.pendingProps,da(e,t,l,c=t.elementType===l?c:Yi(l,c),r);case 7:return k(e,t,t.pendingProps,r),t.child;case 8:case 12:return k(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(l=t.type._context,c=t.pendingProps,u=t.memoizedProps,p=c.value,y(ko,l._currentValue),l._currentValue=p,null!==u)if(yn(u.value,p)){if(u.children===c.children&&!b.current){t=Ia(e,t,r);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var h=u.dependencies;if(null!==h)for(var d,f,p=u.child,m=h.firstContext;null!==m;){if(m.context===l){1===u.tag&&((m=qo(-1,r&-r)).tag=2,null!==(d=u.updateQueue)&&(null===(f=(d=d.shared).pending)?m.next=m:(m.next=f.next,f.next=m),d.pending=m)),u.lanes|=r,null!==(m=u.alternate)&&(m.lanes|=r),No(u.return,r,t),h.lanes|=r;break}m=m.next}else if(10===u.tag)p=u.type===t.type?null:u.child;else if(18===u.tag){if(null===(p=u.return))throw Error($(341));p.lanes|=r,null!==(h=p.alternate)&&(h.lanes|=r),No(p,r,t),p=u.sibling}else p=u.child;if(null!==p)p.return=u;else for(p=u;null!==p;){if(p===t){p=null;break}if(null!==(u=p.sibling)){u.return=p.return,p=u;break}p=p.return}u=p}k(e,t,c.children,r),t=t.child}return t;case 9:return c=t.type,l=t.pendingProps.children,Io(t,r),l=l(c=To(c)),t.flags|=1,k(e,t,l,r),t.child;case 14:return c=Yi(l=t.type,t.pendingProps),fa(e,t,l,c=Yi(l.type,c),r);case 15:return ma(e,t,t.type,t.pendingProps,r);case 17:return l=t.type,c=t.pendingProps,c=t.elementType===l?c:Yi(l,c),Na(e,t),t.tag=1,Rs(l)?(e=!0,Bs(t)):e=!1,Io(t,r),ea(t,l,c),ra(t,l,c,r),wa(null,t,l,!0,e,r);case 19:return Pa(e,t,r);case 22:return ga(e,t,r)}throw Error($(156,t.tag))},mc="function"==typeof reportError?reportError:function(e){console.error(e)};function gc(e){this._internalRoot=e}function yc(e){this._internalRoot=e}function vc(e){return e&&(1===e.nodeType||9===e.nodeType||11===e.nodeType)}function bc(e){return e&&(1===e.nodeType||9===e.nodeType||11===e.nodeType||8===e.nodeType&&" react-mount-point-unstable "===e.nodeValue)}function wc(){}function Ec(e,t,r,n,s){var o,i,a=r._reactRootContainer;return a?("function"==typeof s&&(i=s,s=function(){var e=pc(o);i.call(e)}),uc(t,o=a,e,s)):o=function(e,t,r,n,s){var o,i,a;if(s)return"function"==typeof n&&(o=n,n=function(){var e=pc(i);o.call(e)}),i=cc(t,n,e,0,0,!1,0,"",wc),e._reactRootContainer=i,e[Es]=i.current,Yn(8===e.nodeType?e.parentNode:e),Ll(),i;for(;s=e.lastChild;)e.removeChild(s);"function"==typeof n&&(a=n,n=function(){var e=pc(l);a.call(e)});var l=ac(e,0,!1,null,0,!1,0,"",wc);return e._reactRootContainer=l,e[Es]=l.current,Yn(8===e.nodeType?e.parentNode:e),Ll(function(){uc(t,l,r,n)}),l}(r,t,e,s,n),pc(o)}yc.prototype.render=gc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error($(409));uc(e,t,null,null)},yc.prototype.unmount=gc.prototype.unmount=function(){var e,t=this._internalRoot;null!==t&&(this._internalRoot=null,e=t.containerInfo,Ll(function(){uc(null,t,null,null)}),e[Es]=null)},yc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Vt();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Zt.length&&0!==t&&t<Zt[r].priority;r++);Zt.splice(r,0,e),0===r&&nr(e)}},qt=function(r){switch(r.tag){case 3:var e,t=r.stateNode;!t.current.memoizedState.isDehydrated||0!==(e=Tt(t.pendingLanes))&&(Bt(t,1|e),H(t,q()),6&V||(yl=q()+500,Ks()));break;case 13:Ll(function(){var e,t=Lo(r,1);null!==t&&(e=d(),Pl(t,r,1,e))}),dc(r,1)}},Ut=function(e){var t;13===e.tag&&(null!==(t=Lo(e,134217728))&&Pl(t,e,134217728,d()),dc(e,134217728))},zt=function(e){var t,r;13===e.tag&&(null!==(r=Lo(e,t=jl(e)))&&Pl(r,e,t,d()),dc(e,t))},Vt=function(){return U},Kt=function(e,t){var r=U;try{return U=e,t()}finally{U=r}},tt=Ll;t={usingClientEntryPoint:!(He=function(e,t,r){switch(t){case"input":if(_e(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var s=Cs(n);if(!s)throw Error($(90));be(n),_e(n,s)}}}break;case"textarea":Ne(e,r);break;case"select":null!=(t=r.value)&&Ce(e,!!r.multiple,t,!1)}}),Events:[As,Os,Cs,Qe,Ze,et=Dl]},s={findFiberByHostInstance:ks,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},e={bundleType:s.bundleType,version:s.version,rendererPackageName:s.rendererPackageName,rendererConfig:s.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:O.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=mt(e))?null:e.stateNode},findFiberByHostInstance:s.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){o=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!o.isDisabled&&o.supportsFiber)try{At=o.inject(e),Ot=o}catch(De){}}f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=t,f.createPortal=function(e,t){if(vc(t))return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:X,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null);throw Error($(200))},f.createRoot=function(e,t){if(!vc(e))throw Error($(299));var r=!1,n="",s=mc;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(n=t.identifierPrefix),void 0!==t.onRecoverableError&&(s=t.onRecoverableError)),t=ac(e,1,!1,null,0,r,0,n,s),e[Es]=t.current,Yn(8===e.nodeType?e.parentNode:e),new gc(t)},f.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0!==t)return null===(e=mt(t))?null:e.stateNode;if("function"==typeof e.render)throw Error($(188));throw e=Object.keys(e).join(","),Error($(268,e))},f.flushSync=Ll,f.hydrate=function(e,t,r){if(bc(t))return Ec(null,e,t,!0,r);throw Error($(200))},f.hydrateRoot=function(e,t,r){if(!vc(e))throw Error($(405));var n=null!=r&&r.hydratedSources||null,s=!1,o="",i=mc;if(null!=r&&(!0===r.unstable_strictMode&&(s=!0),void 0!==r.identifierPrefix&&(o=r.identifierPrefix),void 0!==r.onRecoverableError&&(i=r.onRecoverableError)),t=cc(t,null,e,1,0,s,0,o,i),e[Es]=t.current,Yn(e),n)for(e=0;e<n.length;e++)s=(s=(r=n[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,s]:t.mutableSourceEagerHydrationData.push(r,s);return new yc(t)},f.render=function(e,t,r){if(bc(t))return Ec(null,e,t,!1,r);throw Error($(200))},f.unmountComponentAtNode=function(e){if(bc(e))return!!e._reactRootContainer&&(Ll(function(){Ec(null,null,e,!1,function(){e._reactRootContainer=null,e[Es]=null})}),!0);throw Error($(40))},f.unstable_batchedUpdates=Dl,f.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!bc(r))throw Error($(200));if(null==e||void 0===e._reactInternals)throw Error($(38));return Ec(e,t,r,!1,n)},f.version="18.3.1-next-f1338f8080-20240426"},40961:(e,t,r)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(22551)},2209:(e,t,r)=>{"use strict";var a=r(9404),u="<<anonymous>>",n=function(){invariant(!1,"ImmutablePropTypes type checking code is stripped in production.")},r=function(){return n};function s(e,t){return o="Iterable."+e,i=function(e){return a.Iterable.isIterable(e)&&t(e)},c=function(e,t,r,n,s){var e=e[t];return i(e)?null:(e=typeof(t=e),t=Array.isArray(t)?"array":t instanceof RegExp?"object":t instanceof a.Iterable?"Immutable."+t.toSource().split(" ")[0]:e,new Error("Invalid "+n+" `"+s+"` of type `"+t+"` supplied to `"+r+"`, expected `"+o+"`."))},(e=r.bind(null,!1)).isRequired=r.bind(null,!0),e;function r(e,t,r,n,s,o){for(var i=arguments.length,a=Array(6<i?i-6:0),l=6;l<i;l++)a[l-6]=arguments[l];return o=o||r,n=n||u,null!=t[r]?c.apply(void 0,[t,r,n,s,o].concat(a)):e?new Error("Required "+s+" `"+o+"` was not specified in `"+n+"`."):void 0}var o,i,c}(r={listOf:r,mapOf:r,orderedMapOf:r,setOf:r,orderedSetOf:r,stackOf:r,iterableOf:r,recordOf:r,shape:r,contains:r,mapContains:r,orderedMapContains:r,list:n.isRequired=n,map:n,orderedMap:n,set:n,orderedSet:n,stack:n,seq:n,record:n,iterable:n}).iterable.indexed=s("Indexed",a.Iterable.isIndexed),r.iterable.keyed=s("Keyed",a.Iterable.isKeyed),e.exports=r},15287:(e,t)=>{"use strict";var h=Symbol.for("react.element"),d=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),f=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||p}function v(){}function b(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||p}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var w=b.prototype=new v,E=(w.constructor=b,m(w,y.prototype),w.isPureReactComponent=!0,Array.isArray),x=Object.prototype.hasOwnProperty,S={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,r){var n,s={},o=null,i=null;if(null!=t)for(n in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(o=""+t.key),t)x.call(t,n)&&!_.hasOwnProperty(n)&&(s[n]=t[n]);var a=arguments.length-2;if(1===a)s.children=r;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];s.children=l}if(e&&e.defaultProps)for(n in a=e.defaultProps)void 0===s[n]&&(s[n]=a[n]);return{$$typeof:h,type:e,key:o,ref:i,props:s,_owner:S.current}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===h}var O=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(e=""+e.key,r={"=":"=0",":":"=2"},"$"+e.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var r}function j(e,t,r){if(null==e)return e;var n=[],s=0;return function e(t,r,n,s,o){var i,a,l=typeof t,c=!1;if(null===(t="undefined"!==l&&"boolean"!==l?t:null))c=!0;else switch(l){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case h:case d:c=!0}}if(c)return o=o(c=t),t=""===s?"."+C(c,0):s,E(o)?(n="",e(o,r,n=null!=t?t.replace(O,"$&/")+"/":n,"",function(e){return e})):null!=o&&(A(o)&&(a=n+(!(i=o).key||c&&c.key===o.key?"":(""+o.key).replace(O,"$&/")+"/")+t,o={$$typeof:h,type:i.type,key:a,ref:i.ref,props:i.props,_owner:i._owner}),r.push(o)),1;if(c=0,s=""===s?".":s+":",E(t))for(var u=0;u<t.length;u++){var p=s+C(l=t[u],u);c+=e(l,r,n,p,o)}else if("function"==typeof(p=null!==(a=t)&&"object"==typeof a&&"function"==typeof(a=f&&a[f]||a["@@iterator"])?a:null))for(t=p.call(t),u=0;!(l=t.next()).done;)c+=e(l=l.value,r,n,p=s+C(l,u++),o);else if("object"===l)throw r=String(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}(e,n,"","",function(e){return t.call(r,e,s++)}),n}function P(t){var e;if(-1===t._status&&((e=(e=t._result)()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)),1===t._status)return t._result.default;throw t._result}var N={current:null},I={transition:null},w={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:I,ReactCurrentOwner:S};function T(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:j,forEach:function(e,t,r){j(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return j(e,function(){t++}),t},toArray:function(e){return j(e,function(e){return e})||[]},only:function(e){if(A(e))return e;throw Error("React.Children.only expected to receive a single React element child.")}},t.Component=y,t.Fragment=r,t.Profiler=s,t.PureComponent=b,t.StrictMode=n,t.Suspense=l,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=w,t.act=T,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=m({},e.props),s=e.key,o=e.ref,i=e._owner;if(null!=t)for(a in void 0!==t.ref&&(o=t.ref,i=S.current),void 0!==t.key&&(s=""+t.key),e.type&&e.type.defaultProps&&(l=e.type.defaultProps),t)x.call(t,a)&&!_.hasOwnProperty(a)&&(n[a]=(void 0===t[a]&&void 0!==l?l:t)[a]);var a=arguments.length-2;if(1===a)n.children=r;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];n.children=l}return{$$typeof:h,type:e.type,key:s,ref:o,props:n,_owner:i}},t.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},t.createElement=k,t.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:a,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=I.transition;I.transition={};try{e()}finally{I.transition=t}},t.unstable_act=T,t.useCallback=function(e,t){return N.current.useCallback(e,t)},t.useContext=function(e){return N.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return N.current.useDeferredValue(e)},t.useEffect=function(e,t){return N.current.useEffect(e,t)},t.useId=function(){return N.current.useId()},t.useImperativeHandle=function(e,t,r){return N.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return N.current.useMemo(e,t)},t.useReducer=function(e,t,r){return N.current.useReducer(e,t,r)},t.useRef=function(e){return N.current.useRef(e)},t.useState=function(e){return N.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return N.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return N.current.useTransition()},t.version="18.3.1"},96540:(e,t,r)=>{"use strict";e.exports=r(15287)},86048:e=>{"use strict";var a={};function t(e,n,t){t=t||Error;r=s=t,(o=i).prototype=Object.create(r.prototype),(o.prototype.constructor=o).__proto__=r;var s,r,o=i;function i(e,t,r){return s.call(this,(e=e,t=t,r=r,"string"==typeof n?n:n(e,t,r)))||this}o.prototype.name=t.name,o.prototype.code=e,a[e]=o}function l(e,t){var r;return Array.isArray(e)?(r=e.length,e=e.map(function(e){return String(e)}),2<r?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])):"of ".concat(t," ").concat(String(e))}t("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(e,t,r){var n,s,o,i,a;return"string"==typeof t&&(i="not ",t.substr(!a||a<0?0:+a,i.length)===i)?(n="must not be",t=t.replace(/^not /,"")):n="must be",a=e,i=" argument",(void 0===o||o>a.length)&&(o=a.length),(a.substring(o-i.length,o)===i?"The ".concat(e," ").concat(n," ").concat(l(t,"type")):(o=(s="number"!=typeof s?0:s)+(a=".").length>(o=e).length||-1===o.indexOf(a,s)?"argument":"property",'The "'.concat(e,'" ').concat(o," ").concat(n," ").concat(l(t,"type"))))+". Received type ".concat(typeof r)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.F=a},25382:(e,t,r)=>{"use strict";var n=r(65606),s=Object.keys||function(e){var t,r=[];for(t in e)r.push(t);return r},o=(e.exports=u,r(45412)),i=r(16708);r(56698)(u,o);for(var a=s(i.prototype),l=0;l<a.length;l++){var c=a[l];u.prototype[c]||(u.prototype[c]=i.prototype[c])}function u(e){if(!(this instanceof u))return new u(e);o.call(this,e),i.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",p)))}function p(){this._writableState.ended||n.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},63600:(e,t,r)=>{"use strict";e.exports=s;var n=r(74610);function s(e){if(!(this instanceof s))return new s(e);n.call(this,e)}r(56698)(s,n),s.prototype._transform=function(e,t,r){r(null,e)}},45412:(e,D,s)=>{"use strict";function m(e,t){return e.listeners(t).length}var n,o,t,r,g=s(65606),i=((e.exports=x).ReadableState=E,s(37007).EventEmitter,s(40345)),p=s(48287).Buffer,h=(void 0!==s.g?s.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},e=s(79838),y=e&&e.debuglog?e.debuglog("stream"):function(){},a=s(80345),e=s(75896),l=s(65291).getHighWaterMark,c=s(86048).F,d=c.ERR_INVALID_ARG_TYPE,f=c.ERR_STREAM_PUSH_AFTER_EOF,u=c.ERR_METHOD_NOT_IMPLEMENTED,v=c.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,b=(s(56698)(x,i),e.errorOrDestroy),w=["error","close","destroy","pause","resume"];function E(e,t,r){n=n||s(25382),"boolean"!=typeof r&&(r=t instanceof n),this.objectMode=!!(e=e||{}).objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=l(this,e,"readableHighWaterMark",r),this.buffer=new a,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=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(o=o||s(83141).I,this.decoder=new o(e.encoding),this.encoding=e.encoding)}function x(e){if(n=n||s(25382),!(this instanceof x))return new x(e);var t=this instanceof n;this._readableState=new E(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),i.call(this)}function S(e,t,r,n,s){y("readableAddChunk",t);var o,i,a,l,c,u=e._readableState;if(null===t)u.reading=!1,a=e,l=u,y("onEofChunk"),l.ended||(l.decoder&&(c=l.decoder.end())&&c.length&&(l.buffer.push(c),l.length+=l.objectMode?1:c.length),l.ended=!0,l.sync?A(a):(l.needReadable=!1,l.emittedReadable||(l.emittedReadable=!0,O(a))));else if(s||(c=u,a=l=t,o=i=p.isBuffer(a)||a instanceof h||"string"==typeof l||void 0===l||c.objectMode?i:new d("chunk",["string","Buffer","Uint8Array"],l)),o)b(e,o);else if(u.objectMode||t&&0<t.length)if("string"==typeof t||u.objectMode||Object.getPrototypeOf(t)===p.prototype||(s=t,t=p.from(s)),n)u.endEmitted?b(e,new v):_(e,u,t,!0);else if(u.ended)b(e,new f);else{if(u.destroyed)return!1;u.reading=!1,u.decoder&&!r?(t=u.decoder.write(t),u.objectMode||0!==t.length?_(e,u,t,!1):C(e,u)):_(e,u,t,!1)}else n||(u.reading=!1,C(e,u));return!u.ended&&(u.length<u.highWaterMark||0===u.length)}function _(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&A(e)),C(e,t)}Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),x.prototype.destroy=e.destroy,x.prototype._undestroy=e.undestroy,x.prototype._destroy=function(e,t){t(e)},x.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=p.from(e,t),t=""),r=!0),S(this,e,t,!1,r)},x.prototype.unshift=function(e){return S(this,e,null,!0,!1)},x.prototype.isPaused=function(){return!1===this._readableState.flowing},x.prototype.setEncoding=function(e){var t=new(o=o||s(83141).I)(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";null!==r;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==n&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};function k(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?(t.flowing&&t.length?t.buffer.head.data:t).length:(e>t.highWaterMark&&(t.highWaterMark=(1073741824<=(r=e)?r=1073741824:(r--,r=(r=(r=(r=(r|=r>>>1)|r>>>2)|r>>>4)|r>>>8)|r>>>16,r++),r)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0));var r}function A(e){var t=e._readableState;y("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(y("emitReadable",t.flowing),t.emittedReadable=!0,g.nextTick(O,e))}function O(e){var t=e._readableState;y("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,I(e)}function C(e,t){t.readingMore||(t.readingMore=!0,g.nextTick(j,e,t))}function j(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(y("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function P(e){var t=e._readableState;t.readableListening=0<e.listenerCount("readable"),t.resumeScheduled&&!t.paused?t.flowing=!0:0<e.listenerCount("data")&&e.resume()}function N(e){y("readable nexttick read 0"),e.read(0)}function L(e,t){y("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),I(e),t.flowing&&!t.reading&&e.read(0)}function I(e){var t=e._readableState;for(y("flow",t.flowing);t.flowing&&null!==e.read(););}function T(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function M(e){var t=e._readableState;y("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,g.nextTick(F,t,e))}function F(e,t){y("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)&&(!(e=t._writableState)||e.autoDestroy&&e.finished)&&t.destroy()}function R(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}x.prototype.read=function(e){y("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:0<t.length)||t.ended))return y("read: emitReadable",t.length,t.ended),(0===t.length&&t.ended?M:A)(this),null;if(0===(e=k(e,t))&&t.ended)return 0===t.length&&M(this),null;var n=t.needReadable;return y("need readable",n),(0===t.length||t.length-e<t.highWaterMark)&&y("length less than watermark",n=!0),t.ended||t.reading?y("reading or ended",n=!1):n&&(y("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=k(r,t))),null===(n=0<e?T(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&M(this)),null!==n&&this.emit("data",n),n},x.prototype._read=function(e){b(this,new u("_read()"))},x.prototype.pipe=function(n,e){var s=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=n;break;case 1:o.pipes=[o.pipes,n];break;default:o.pipes.push(n)}o.pipesCount+=1,y("pipe count=%d opts=%j",o.pipesCount,e);e=e&&!1===e.end||n===g.stdout||n===g.stderr?f:i;function i(){y("onend"),n.end()}o.endEmitted?g.nextTick(e):s.once("end",e),n.on("unpipe",function e(t,r){y("onunpipe"),t===s&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,y("cleanup"),n.removeListener("close",h),n.removeListener("finish",d),n.removeListener("drain",l),n.removeListener("error",p),n.removeListener("unpipe",e),s.removeListener("end",i),s.removeListener("end",f),s.removeListener("data",u),c=!0,!o.awaitDrain||n._writableState&&!n._writableState.needDrain||l())});t=s;var t,r,a,l=function(){var e=t._readableState;y("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&m(t,"data")&&(e.flowing=!0,I(t))},c=(n.on("drain",l),!1);function u(e){y("ondata");e=n.write(e);y("dest.write",e),!1===e&&((1===o.pipesCount&&o.pipes===n||1<o.pipesCount&&-1!==R(o.pipes,n))&&!c&&(y("false write response, pause",o.awaitDrain),o.awaitDrain++),s.pause())}function p(e){y("onerror",e),f(),n.removeListener("error",p),0===m(n,"error")&&b(n,e)}function h(){n.removeListener("finish",d),f()}function d(){y("onfinish"),n.removeListener("close",h),f()}function f(){y("unpipe"),s.unpipe(n)}return s.on("data",u),e="error",a=p,"function"==typeof(r=n).prependListener?r.prependListener(e,a):r._events&&r._events[e]?Array.isArray(r._events[e])?r._events[e].unshift(a):r._events[e]=[a,r._events[e]]:r.on(e,a),n.once("close",h),n.once("finish",d),n.emit("pipe",s),o.flowing||(y("pipe resume"),s.resume()),n},x.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e=e||t.pipes,t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,s=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<s;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var i=R(t.pipes,e);return-1!==i&&(t.pipes.splice(i,1),--t.pipesCount,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},x.prototype.addListener=x.prototype.on=function(e,t){var t=i.prototype.on.call(this,e,t),r=this._readableState;return"data"===e?(r.readableListening=0<this.listenerCount("readable"),!1!==r.flowing&&this.resume()):"readable"!==e||r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,y("on readable",r.length,r.reading),r.length?A(this):r.reading||g.nextTick(N,this)),t},x.prototype.removeListener=function(e,t){t=i.prototype.removeListener.call(this,e,t);return"readable"===e&&g.nextTick(P,this),t},x.prototype.removeAllListeners=function(e){var t=i.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||g.nextTick(P,this),t},x.prototype.resume=function(){var e,t,r=this._readableState;return r.flowing||(y("resume"),r.flowing=!r.readableListening,e=this,(t=r).resumeScheduled||(t.resumeScheduled=!0,g.nextTick(L,e,t))),r.paused=!1,this},x.prototype.pause=function(){return y("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(y("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},x.prototype.wrap=function(t){var e,r=this,n=this._readableState,s=!1;for(e in t.on("end",function(){var e;y("wrapped end"),n.decoder&&!n.ended&&(e=n.decoder.end())&&e.length&&r.push(e),r.push(null)}),t.on("data",function(e){y("wrapped data"),n.decoder&&(e=n.decoder.write(e)),n.objectMode&&null==e||(n.objectMode||e&&e.length)&&!r.push(e)&&(s=!0,t.pause())}),t)void 0===this[e]&&"function"==typeof t[e]&&(this[e]=function(e){return function(){return t[e].apply(t,arguments)}}(e));for(var o=0;o<w.length;o++)t.on(w[o],this.emit.bind(this,w[o]));return this._read=function(e){y("wrapped _read",e),s&&(s=!1,t.resume())},this},"function"==typeof Symbol&&(x.prototype[Symbol.asyncIterator]=function(){return(t=void 0===t?s(2955):t)(this)}),Object.defineProperty(x.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(x.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(x.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),x._fromList=T,Object.defineProperty(x.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(x.from=function(e,t){return(r=void 0===r?s(55157):r)(x,e,t)})},74610:(e,t,r)=>{"use strict";e.exports=l;var e=r(86048).F,n=e.ERR_METHOD_NOT_IMPLEMENTED,s=e.ERR_MULTIPLE_CALLBACK,o=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=e.ERR_TRANSFORM_WITH_LENGTH_0,a=r(25382);function l(e){if(!(this instanceof l))return new l(e);a.call(this,e),this._transformState={afterTransform:function(e,t){var r=this._transformState,n=(r.transforming=!1,r.writecb);if(null===n)return this.emit("error",new s);r.writechunk=null,(r.writecb=null)!=t&&this.push(t),n(e),(r=this._readableState).reading=!1,(r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",c)}function c(){var r=this;"function"!=typeof this._flush||this._readableState.destroyed?u(this,null,null):this._flush(function(e,t){u(r,e,t)})}function u(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new i;if(e._transformState.transforming)throw new o;e.push(null)}r(56698)(l,a),l.prototype.push=function(e,t){return this._transformState.needTransform=!1,a.prototype.push.call(this,e,t)},l.prototype._transform=function(e,t,r){r(new n("_transform()"))},l.prototype._write=function(e,t,r){var n=this._transformState;n.writecb=r,n.writechunk=e,n.writeencoding=t,n.transforming||(r=this._readableState,(n.needTransform||r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark))},l.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},l.prototype._destroy=function(e,t){a.prototype._destroy.call(this,e,function(e){t(e)})}},16708:(e,t,r)=>{"use strict";var n,h=r(65606);function u(o){var i=this;this.next=null,this.entry=null,this.finish=function(){var e=i,t=o,r=void 0,n=e.entry;for(e.entry=null;n;){var s=n.callback;t.pendingcb--,s(r),n=n.next}t.corkedRequestsFree.next=e}}(e.exports=_).WritableState=S;var s,e={deprecate:r(94643)},o=r(40345),d=r(48287).Buffer,f=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},i=r(75896),a=r(65291).getHighWaterMark,l=r(86048).F,m=l.ERR_INVALID_ARG_TYPE,c=l.ERR_METHOD_NOT_IMPLEMENTED,p=l.ERR_MULTIPLE_CALLBACK,g=l.ERR_STREAM_CANNOT_PIPE,y=l.ERR_STREAM_DESTROYED,v=l.ERR_STREAM_NULL_VALUES,b=l.ERR_STREAM_WRITE_AFTER_END,w=l.ERR_UNKNOWN_ENCODING,E=i.errorOrDestroy;function x(){}function S(e,c,t){n=n||r(25382),"boolean"!=typeof t&&(t=c instanceof n),this.objectMode=!!(e=e||{}).objectMode,t&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=a(this,e,"writableHighWaterMark",t),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;t=(this.destroyed=!1)===e.decodeStrings;this.decodeStrings=!t,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){var t,r,n,s,o=c,i=o._writableState,a=i.sync,l=i.writecb;if("function"!=typeof l)throw new p;(s=i).writing=!1,s.writecb=null,s.length-=s.writelen,s.writelen=0,e?(s=o,r=a,e=e,n=l,--(t=i).pendingcb,r?(h.nextTick(n,e),h.nextTick(P,s,t),s._writableState.errorEmitted=!0,E(s,e)):(n(e),s._writableState.errorEmitted=!0,E(s,e),P(s,t))):((r=C(i)||o.destroyed)||i.corked||i.bufferProcessing||!i.bufferedRequest||O(o,i),a?h.nextTick(A,o,i,r,l):A(o,i,r,l))},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new u(this)}function _(e){var t=this instanceof(n=n||r(25382));if(!t&&!s.call(_,this))return new _(e);this._writableState=new S(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),o.call(this)}function k(e,t,r,n,s,o,i){t.writelen=n,t.writecb=i,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y("write")):r?e._writev(s,t.onwrite):e._write(s,o,t.onwrite),t.sync=!1}function A(e,t,r,n){var s;r||(r=e,0===(s=t).length&&s.needDrain&&(s.needDrain=!1,r.emit("drain"))),t.pendingcb--,n(),P(e,t)}function O(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,s=new Array(n),n=t.corkedRequestsFree;n.entry=r;for(var o=0,i=!0;r;)(s[o]=r).isBuf||(i=!1),r=r.next,o+=1;s.allBuffers=i,k(e,t,!0,t.length,s,"",n.finish),t.pendingcb++,t.lastBufferedRequest=null,n.next?(t.corkedRequestsFree=n.next,n.next=null):t.corkedRequestsFree=new u(t),t.bufferedRequestCount=0}else{for(;r;){var a=r.chunk,l=r.encoding,c=r.callback;if(k(e,t,!1,t.objectMode?1:a.length,a,l,c),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function C(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function j(t,r){t._final(function(e){r.pendingcb--,e&&E(t,e),r.prefinished=!0,t.emit("prefinish"),P(t,r)})}function P(e,t){var r,n,s=C(t);return s&&(r=e,(n=t).prefinished||n.finalCalled||("function"!=typeof r._final||n.destroyed?(n.prefinished=!0,r.emit("prefinish")):(n.pendingcb++,n.finalCalled=!0,h.nextTick(j,r,n))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))&&((!(r=e._readableState)||r.autoDestroy&&r.endEmitted)&&e.destroy()),s}r(56698)(_,o),S.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t};try{Object.defineProperty(S.prototype,"buffer",{get:e.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(_,Symbol.hasInstance,{value:function(e){return!!s.call(this,e)||this===_&&e&&e._writableState instanceof S}})):s=function(e){return e instanceof this},_.prototype.pipe=function(){E(this,new g)},_.prototype.write=function(e,t,r){var n,s,o,i,a,l,c=this._writableState,u=!1,p=!c.objectMode&&(p=e,d.isBuffer(p)||p instanceof f);return p&&!d.isBuffer(e)&&(l=e,e=d.from(l)),"function"==typeof t&&(r=t,t=null),t=p?"buffer":t||c.defaultEncoding,"function"!=typeof r&&(r=x),c.ending?(l=this,i=r,a=new b,E(l,a),h.nextTick(i,a)):!p&&(i=this,a=c,s=r,null===(n=e)?o=new v:"string"==typeof n||a.objectMode||(o=new m("chunk",["string","Buffer"],n)),o&&(E(i,o),h.nextTick(s,o),!0))||(c.pendingcb++,u=function(e,t,r,n,s,o){r||(i=n,l=s,i=(a=t).objectMode||!1===a.decodeStrings||"string"!=typeof i?i:d.from(i,l),n!==i&&(r=!0,s="buffer",n=i));var i,a=t.objectMode?1:n.length,l=(t.length+=a,t.length<t.highWaterMark);return l||(t.needDrain=!0),t.writing||t.corked?(i=t.lastBufferedRequest,t.lastBufferedRequest={chunk:n,encoding:s,isBuf:r,callback:o,next:null},i?i.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1):k(e,t,!1,a,n,s,o),l}(this,c,p,e,t,r)),u},_.prototype.cork=function(){this._writableState.corked++},_.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||O(this,e))},_.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),-1<["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase()))return this._writableState.defaultEncoding=e,this;throw new w(e)},Object.defineProperty(_.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(_.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),_.prototype._write=function(e,t,r){r(new c("_write()"))},_.prototype._writev=null,_.prototype.end=function(e,t,r){var n=this._writableState;return"function"==typeof e?(r=e,t=e=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||(e=this,t=r,(r=n).ending=!0,P(e,r),t&&(r.finished?h.nextTick(t):e.once("finish",t)),r.ended=!0,e.writable=!1),this},Object.defineProperty(_.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(_.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),_.prototype.destroy=i.destroy,_.prototype._undestroy=i.undestroy,_.prototype._destroy=function(e,t){t(e)}},2955:(e,t,r)=>{"use strict";var n,o=r(65606);function s(e,t,r){(t=function(e){e=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==typeof e?e:String(e)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}var i=r(86238),a=Symbol("lastResolve"),l=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),p=Symbol("lastPromise"),h=Symbol("handlePromise"),d=Symbol("stream");function f(e,t){return{value:e,done:t}}function m(e){var t,r=e[a];null!==r&&null!==(t=e[d].read())&&(e[p]=null,e[a]=null,e[l]=null,r(f(t,!1)))}var r=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((s(n={get stream(){return this[d]},next:function(){var r=this,e=this[c];if(null!==e)return Promise.reject(e);if(this[u])return Promise.resolve(f(void 0,!0));if(this[d].destroyed)return new Promise(function(e,t){o.nextTick(function(){r[c]?t(r[c]):e(f(void 0,!0))})});var t,n,s,e=this[p];if(e)t=new Promise((n=e,s=this,function(e,t){n.then(function(){s[u]?e(f(void 0,!0)):s[h](e,t)},t)}));else{e=this[d].read();if(null!==e)return Promise.resolve(f(e,!1));t=new Promise(this[h])}return this[p]=t}},Symbol.asyncIterator,function(){return this}),s(n,"return",function(){var e=this;return new Promise(function(t,r){e[d].destroy(null,function(e){e?r(e):t(f(void 0,!0))})})}),n),r);e.exports=function(e){var t,n=Object.create(g,(s(t={},d,{value:e,writable:!0}),s(t,a,{value:null,writable:!0}),s(t,l,{value:null,writable:!0}),s(t,c,{value:null,writable:!0}),s(t,u,{value:e._readableState.endEmitted,writable:!0}),s(t,h,{value:function(e,t){var r=n[d].read();r?(n[p]=null,n[a]=null,n[l]=null,e(f(r,!1))):(n[a]=e,n[l]=t)},writable:!0}),t));return n[p]=null,i(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code)return null!==(t=n[l])&&(n[p]=null,n[a]=null,n[l]=null,t(e)),void(n[c]=e);var t=n[a];null!==t&&(n[p]=null,n[a]=null,t(f(void 0,!(n[l]=null)))),n[u]=!0}),e.on("readable",function(e){o.nextTick(m,e)}.bind(null,n)),n}},80345:(e,t,r)=>{"use strict";function o(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function n(n){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?o(Object(s),!0).forEach(function(e){var t,r;t=n,r=s[e=e],(e=i(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(s)):o(Object(s)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(s,e))})}return n}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){e=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==typeof e?e:String(e)}var a,l=r(48287).Buffer,c=r(15340).inspect,r=c&&c.custom||"inspect";function u(){if(!(this instanceof u))throw new TypeError("Cannot call a class as a function");this.head=null,this.tail=null,this.length=0}e.exports=(e=u,(r=[{key:"push",value:function(e){e={data:e,next:null};0<this.length?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(e){e={data:e,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){var e;if(0!==this.length)return e=this.head.data,1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return l.alloc(0);for(var t,r,n=l.allocUnsafe(e>>>0),s=this.head,o=0;s;)t=s.data,r=o,l.prototype.copy.call(t,n,r),o+=s.data.length,s=s.next;return n}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var s=t.data,o=e>s.length?s.length:e;if(o===s.length?n+=s:n+=s.slice(0,e),0==(e-=o)){o===s.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t).data=s.slice(o);break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=l.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var s=r.data,o=e>s.length?s.length:e;if(s.copy(t,t.length-e,0,o),0==(e-=o)){o===s.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r).data=s.slice(o);break}++n}return this.length-=n,t}},{key:r,value:function(e,t){return c(this,n(n({},t),{},{depth:0,customInspect:!1}))}}])&&s(e.prototype,r),a&&s(e,a),Object.defineProperty(e,"prototype",{writable:!1}),u)},75896:(e,t,r)=>{"use strict";var o=r(65606);function i(e,t){l(e,t),a(e)}function a(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function l(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return n||s?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,o.nextTick(l,this,e)):o.nextTick(l,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?r._writableState?r._writableState.errorEmitted?o.nextTick(a,r):(r._writableState.errorEmitted=!0,o.nextTick(i,r,e)):o.nextTick(i,r,e):t?(o.nextTick(a,r),t(e)):o.nextTick(a,r)})),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(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}},86238:(e,t,r)=>{"use strict";var y=r(86048).F.ERR_STREAM_PREMATURE_CLOSE;function v(){}e.exports=function e(t,r,n){if("function"==typeof r)return e(t,null,r);function s(){t.writable||o()}function o(){m=!(f=!1),d||n.call(t)}function i(){g=!(d=!1),f||n.call(t)}function a(e){n.call(t,e)}function l(){var e;return d&&!g?(t._readableState&&t._readableState.ended||(e=new y),n.call(t,e)):f&&!m?(t._writableState&&t._writableState.ended||(e=new y),n.call(t,e)):void 0}function c(){t.req.on("finish",o)}u=n||v,p=!1,n=function(){if(!p){p=!0;for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];u.apply(this,t)}};var u,p,h,d=(r=r||{}).readable||!1!==r.readable&&t.readable,f=r.writable||!1!==r.writable&&t.writable,m=t._writableState&&t._writableState.finished,g=t._readableState&&t._readableState.endEmitted;return(h=t).setHeader&&"function"==typeof h.abort?(t.on("complete",o),t.on("abort",l),t.req?c():t.on("request",c)):f&&!t._writableState&&(t.on("end",s),t.on("close",s)),t.on("end",i),t.on("finish",o),!1!==r.error&&t.on("error",a),t.on("close",l),function(){t.removeListener("complete",o),t.removeListener("abort",l),t.removeListener("request",c),t.req&&t.req.removeListener("finish",o),t.removeListener("end",s),t.removeListener("close",s),t.removeListener("finish",o),t.removeListener("end",i),t.removeListener("error",a),t.removeListener("close",l)}}},55157:e=>{e.exports=function(){throw new Error("Readable.from is not available in the browser")}},57758:(e,t,f)=>{"use strict";var m,r=f(86048).F,n=r.ERR_MISSING_ARGS,g=r.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function y(e){e()}function o(e,t){return e.pipe(t)}e.exports=function(){for(var e=arguments.length,u=new Array(e),t=0;t<e;t++)u[t]=arguments[t];var p,r,h=!(r=u).length||"function"!=typeof r[r.length-1]?s:r.pop();if((u=Array.isArray(u[0])?u[0]:u).length<2)throw new n("streams");var d=u.map(function(e,t){var r,n,s,o,i,a,l,c=t<u.length-1;return n=c,t=0<t,o=s=function(e){p=p||e,e&&d.forEach(y),c||(d.forEach(y),h(p))},i=!1,a=!(s=function(){i||(i=!0,o.apply(void 0,arguments))}),(r=e).on("close",function(){a=!0}),(m=void 0===m?f(86238):m)(r,{readable:n,writable:t},function(e){if(e)return s(e);a=!0,s()}),l=!1,function(e){if(!a&&!l)return l=!0,(t=r).setHeader&&"function"==typeof t.abort?r.abort():"function"==typeof r.destroy?r.destroy():void s(e||new g("pipe"));var t}});return u.reduce(o)}},65291:(e,t,r)=>{"use strict";var i=r(86048).F.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,n){o=n,s=r;var s,o=null!=(t=t).highWaterMark?t.highWaterMark:o?t[s]:null;if(null==o)return e.objectMode?16:16384;if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new i(n?r:"highWaterMark",o);return Math.floor(o)}}},40345:(e,t,r)=>{e.exports=r(37007).EventEmitter},84977:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=(n=r(9404))&&n.__esModule?n:{default:n},a=r(55674);t.default=function(s){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:i.default.Map,o=Object.keys(s);return function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:t(),n=arguments[1];return e.withMutations(function(r){o.forEach(function(e){var t=(0,s[e])(r.get(e),n);(0,a.validateNextState)(t,e,n),r.set(e,t)})})}},e.exports=t.default},89593:(e,t,r)=>{"use strict";t.H=void 0;r=(r=r(84977))&&r.__esModule?r:{default:r};t.H=r.default},48590:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e&&"@@redux/INIT"===e.type?"initialState argument passed to createStore":"previous state received by the reducer"},e.exports=t.default},82261:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(r(9404)),o=n(r(48590));function n(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t,r){var n=Object.keys(t);if(!n.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";r=(0,o.default)(r);if(s.default.isImmutable?!s.default.isImmutable(e):!s.default.Iterable.isIterable(e))return"The "+r+' is of unexpected type. Expected argument to be an instance of Immutable.Collection or Immutable.Record with the following properties: "'+n.join('", "')+'".';e=e.toSeq().keySeq().toArray().filter(function(e){return!t.hasOwnProperty(e)});return 0<e.length?"Unexpected "+(1===e.length?"property":"properties")+' "'+e.join('", "')+'" found in '+r+'. Expected to find one of the known reducer property names instead: "'+n.join('", "')+'". Unexpected properties will be ignored.':null},e.exports=t.default},55674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateNextState=t.getUnexpectedInvocationParameterMessage=t.getStateName=void 0;var n=o(r(48590)),s=o(r(82261)),r=o(r(27374));function o(e){return e&&e.__esModule?e:{default:e}}t.getStateName=n.default,t.getUnexpectedInvocationParameterMessage=s.default,t.validateNextState=r.default},27374:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(void 0===e)throw new Error('Reducer "'+t+'" returned undefined when handling "'+r.type+'" action. To ignore an action, you must explicitly return the previous state.')},e.exports=t.default},75208:e=>{"use strict";var n,s="";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var r=e.length*t;if(n!==e||void 0===n)n=e,s="";else if(s.length>=r)return s.substr(0,r);for(;r>s.length&&1<t;)1&t&&(s+=e),t>>=1,e+=e;return s=(s+=e).substr(0,r)}},92063:e=>{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},27096:(e,t,r)=>{const m=r(87586),g=r(6205),y=r(10023),v=r(8048);e.exports=t=>{for(var e,r=0,n={type:g.ROOT,stack:[]},s=n,o=n.stack,i=[],a=e=>{m.error(t,"Nothing to repeat at column "+(e-1))},l=m.strToChars(t),c=l.length;r<c;)switch(e=l[r++]){case"\\":switch(e=l[r++]){case"b":o.push(v.wordBoundary());break;case"B":o.push(v.nonWordBoundary());break;case"w":o.push(y.words());break;case"W":o.push(y.notWords());break;case"d":o.push(y.ints());break;case"D":o.push(y.notInts());break;case"s":o.push(y.whitespace());break;case"S":o.push(y.notWhitespace());break;default:/\d/.test(e)?o.push({type:g.REFERENCE,value:parseInt(e,10)}):o.push({type:g.CHAR,value:e.charCodeAt(0)})}break;case"^":o.push(v.begin());break;case"$":o.push(v.end());break;case"[":"^"===l[r]?(u=!0,r++):u=!1;var u,p=m.tokenizeClass(l.slice(r),t);r+=p[1],o.push({type:g.SET,set:p[0],not:u});break;case".":o.push(y.anyChar());break;case"(":p={type:g.GROUP,stack:[],remember:!0};"?"===(e=l[r])&&(e=l[r+1],r+=2,"="===e?p.followedBy=!0:"!"===e?p.notFollowedBy=!0:":"!==e&&m.error(t,`Invalid group, character '${e}' after '?' at column `+(r-1)),p.remember=!1),o.push(p),i.push(s),o=(s=p).stack;break;case")":0===i.length&&m.error(t,"Unmatched ) at column "+(r-1)),o=(s=i.pop()).options?s.options[s.options.length-1]:s.stack;break;case"|":s.options||(s.options=[s.stack],delete s.stack);var h=[];s.options.push(h),o=h;break;case"{":var d,f,h=/^(\d+)(,(\d+)?)?\}/.exec(l.slice(r));null!==h?(0===o.length&&a(r),d=parseInt(h[1],10),f=h[2]?h[3]?parseInt(h[3],10):1/0:d,r+=h[0].length,o.push({type:g.REPETITION,min:d,max:f,value:o.pop()})):o.push({type:g.CHAR,value:123});break;case"?":0===o.length&&a(r),o.push({type:g.REPETITION,min:0,max:1,value:o.pop()});break;case"+":0===o.length&&a(r),o.push({type:g.REPETITION,min:1,max:1/0,value:o.pop()});break;case"*":0===o.length&&a(r),o.push({type:g.REPETITION,min:0,max:1/0,value:o.pop()});break;default:o.push({type:g.CHAR,value:e.charCodeAt(0)})}return 0!==i.length&&m.error(t,"Unterminated group"),n},e.exports.types=g},8048:(e,t,r)=>{const n=r(6205);t.wordBoundary=()=>({type:n.POSITION,value:"b"}),t.nonWordBoundary=()=>({type:n.POSITION,value:"B"}),t.begin=()=>({type:n.POSITION,value:"^"}),t.end=()=>({type:n.POSITION,value:"$"})},10023:(e,t,r)=>{const n=r(6205),s=()=>[{type:n.RANGE,from:48,to:57}],o=()=>[{type:n.CHAR,value:95},{type:n.RANGE,from:97,to:122},{type:n.RANGE,from:65,to:90}].concat(s()),i=()=>[{type:n.CHAR,value:9},{type:n.CHAR,value:10},{type:n.CHAR,value:11},{type:n.CHAR,value:12},{type:n.CHAR,value:13},{type:n.CHAR,value:32},{type:n.CHAR,value:160},{type:n.CHAR,value:5760},{type:n.RANGE,from:8192,to:8202},{type:n.CHAR,value:8232},{type:n.CHAR,value:8233},{type:n.CHAR,value:8239},{type:n.CHAR,value:8287},{type:n.CHAR,value:12288},{type:n.CHAR,value:65279}];t.words=()=>({type:n.SET,set:o(),not:!1}),t.notWords=()=>({type:n.SET,set:o(),not:!0}),t.ints=()=>({type:n.SET,set:s(),not:!1}),t.notInts=()=>({type:n.SET,set:s(),not:!0}),t.whitespace=()=>({type:n.SET,set:i(),not:!1}),t.notWhitespace=()=>({type:n.SET,set:i(),not:!0}),t.anyChar=()=>({type:n.SET,set:[{type:n.CHAR,value:10},{type:n.CHAR,value:13},{type:n.CHAR,value:8232},{type:n.CHAR,value:8233}],not:!0})},6205:e=>{e.exports={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7}},87586:(e,o,t)=>{const i=t(6205),a=t(10023),l={0:0,t:9,n:10,v:11,f:12,r:13};o.strToChars=function(e){return e.replace(/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g,function(e,t,r,n,s,o,i,a){if(r)return e;r=t?8:n?parseInt(n,16):s?parseInt(s,16):o?parseInt(o,8):i?"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?".indexOf(i):l[a],e=String.fromCharCode(r);return e=/[[\]{}^$.|?*+()]/.test(e)?"\\"+e:e})},o.tokenizeClass=(e,t)=>{for(var r,n=[],s=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?([^])/g;null!=(r=s.exec(e));)if(r[1])n.push(a.words());else if(r[2])n.push(a.ints());else if(r[3])n.push(a.whitespace());else if(r[4])n.push(a.notWords());else if(r[5])n.push(a.notInts());else if(r[6])n.push(a.notWhitespace());else if(r[7])n.push({type:i.RANGE,from:(r[8]||r[9]).charCodeAt(0),to:r[10].charCodeAt(0)});else{if(!(r=r[12]))return[n,s.lastIndex];n.push({type:i.CHAR,value:r.charCodeAt(0)})}o.error(t,"Unterminated character class")},o.error=(e,t)=>{throw new SyntaxError("Invalid regular expression: /"+e+"/: "+t)}},92861:(e,t,r)=>{var n=r(48287),s=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function i(e,t,r){return s(e,t,r)}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=i),i.prototype=Object.create(s.prototype),o(s,i),i.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return s(e,t,r)},i.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");e=s(e);return void 0!==t?"string"==typeof r?e.fill(t,r):e.fill(t):e.fill(0),e},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return s(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},29844:(e,a)=>{"use strict";function o(e,t){var r=e.length;for(e.push(t);0<r;){var n=r-1>>>1,s=e[n];if(!(0<u(s,t)))break;e[n]=t,e[r]=s,r=n}}function l(e){return 0===e.length?null:e[0]}function c(e){if(0!==e.length){var t=e[0],r=e.pop();if(r!==t){e[0]=r;for(var n=0,s=e.length,o=s>>>1;n<o;){var i=2*(n+1)-1,a=e[i],l=1+i,c=e[l];if(u(a,r)<0)n=l<s&&u(c,a)<0?(e[n]=c,e[l]=r,l):(e[n]=a,e[i]=r,i);else{if(!(l<s&&u(c,r)<0))break;e[n]=c,e[l]=r,n=l}}}}}function u(e,t){var r=e.sortIndex-t.sortIndex;return 0!=r?r:e.id-t.id}"object"==typeof performance&&"function"==typeof performance.now?(t=performance,a.unstable_now=function(){return t.now()}):(r=Date,n=r.now(),a.unstable_now=function(){return r.now()-n});var t,r,n,p=[],h=[],i=1,d=null,f=3,m=!1,g=!1,y=!1,s="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=l(h);null!==t;){if(null===t.callback)c(h);else{if(!(t.startTime<=e))break;c(h),t.sortIndex=t.expirationTime,o(p,t)}t=l(h)}}function E(e){var t;y=!1,w(e),g||(null!==l(p)?(g=!0,T(x)):null!==(t=l(h))&&M(E,t.startTime-e))}function x(e,t){g=!1,y&&(y=!1,v(C),C=-1),m=!0;var r=f;try{for(w(t),d=l(p);null!==d&&(!(d.expirationTime>t)||e&&!N());){var n,s=d.callback;"function"==typeof s?(d.callback=null,f=d.priorityLevel,n=s(d.expirationTime<=t),t=a.unstable_now(),"function"==typeof n?d.callback=n:d===l(p)&&c(p),w(t)):c(p),d=l(p)}var o,i=null!==d||(null!==(o=l(h))&&M(E,o.startTime-t),!1);return i}finally{d=null,f=r,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,_,k,A=!1,O=null,C=-1,j=5,P=-1;function N(){return!(a.unstable_now()-P<j)}function I(){if(null!==O){var e=a.unstable_now(),t=(P=e,!0);try{t=O(!0,e)}finally{t?S():(A=!1,O=null)}}else A=!1}function T(e){O=e,A||(A=!0,S())}function M(e,t){C=s(function(){e(a.unstable_now())},t)}S="function"==typeof b?function(){b(I)}:"undefined"!=typeof MessageChannel?(_=new MessageChannel,k=_.port2,_.port1.onmessage=I,function(){k.postMessage(null)}):function(){s(I,0)},a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(e){e.callback=null},a.unstable_continueExecution=function(){g||m||(g=!0,T(x))},a.unstable_forceFrameRate=function(e){e<0||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<e?Math.floor(1e3/e):5},a.unstable_getCurrentPriorityLevel=function(){return f},a.unstable_getFirstCallbackNode=function(){return l(p)},a.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var r=f;f=t;try{return e()}finally{f=r}},a.unstable_pauseExecution=function(){},a.unstable_requestPaint=function(){},a.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=f;f=e;try{return t()}finally{f=r}},a.unstable_scheduleCallback=function(e,t,r){var n=a.unstable_now();switch(r="object"==typeof r&&null!==r&&"number"==typeof(r=r.delay)&&0<r?n+r:n,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:i++,callback:t,priorityLevel:e,startTime:r,expirationTime:s=r+s,sortIndex:-1},n<r?(e.sortIndex=r,o(h,e),null===l(p)&&e===l(h)&&(y?(v(C),C=-1):y=!0,M(E,r-n))):(e.sortIndex=s,o(p,e),g||m||(g=!0,T(x))),e},a.unstable_shouldYield=N,a.unstable_wrapCallback=function(t){var r=f;return function(){var e=f;f=r;try{return t.apply(this,arguments)}finally{f=e}}}},69982:(e,t,r)=>{"use strict";e.exports=r(29844)},20334:(e,t,r)=>{"use strict";var l=r(48287).Buffer;class n extends Error{constructor(e){super(n._prepareSuperMessage(e)),Object.defineProperty(this,"name",{value:"NonError",configurable:!0,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(this,n)}static _prepareSuperMessage(e){try{return JSON.stringify(e)}catch{return String(e)}}}const c=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],u=Symbol(".toJSON called"),p=({from:e,seen:t,to_:r,forceEnumerable:n,maxDepth:s,depth:o})=>{const i=r||(Array.isArray(e)?[]:{});if(t.push(e),s<=o)return i;if("function"==typeof e.toJSON&&!0!==e[u])return(r=e)[u]=!0,a=r.toJSON(),delete r[u],a;var a;for(const[r,c]of Object.entries(e))"function"==typeof l&&l.isBuffer(c)?i[r]="[object Buffer]":"function"!=typeof c&&(c&&"object"==typeof c?t.includes(e[r])?i[r]="[Circular]":(o++,i[r]=p({from:e[r],seen:t.slice(),forceEnumerable:n,maxDepth:s,depth:o})):i[r]=c);for(const{property:t,enumerable:r}of c)"string"==typeof e[t]&&Object.defineProperty(i,t,{value:e[t],enumerable:!!n||r,configurable:!0,writable:!0});return i};e.exports={serializeError:(e,t={})=>{var{maxDepth:t=Number.POSITIVE_INFINITY}=t;return"object"==typeof e&&null!==e?p({from:e,seen:[],forceEnumerable:!0,maxDepth:t,depth:0}):"function"==typeof e?`[Function: ${e.name||"anonymous"}]`:e},deserializeError:(e,t={})=>{var{maxDepth:r=Number.POSITIVE_INFINITY}=t;if(e instanceof Error)return e;if("object"!=typeof e||null===e||Array.isArray(e))return new n(e);{const t=new Error;return p({from:e,seen:[],to_:t,maxDepth:r,depth:0}),t}}}},96897:(e,t,r)=>{"use strict";var n=r(70453),i=r(30041),a=r(30592)(),l=r(75795),c=r(69675),u=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new c("`fn` is not a function");if("number"!=typeof t||t<0||4294967295<t||u(t)!==t)throw new c("`length` must be a positive 32-bit integer");var r,n=2<arguments.length&&!!arguments[2],s=!0,o=!0;return"length"in e&&l&&((r=l(e,"length"))&&!r.configurable&&(s=!1),r&&!r.writable&&(o=!1)),!s&&!o&&n||(a?i(e,"length",t,!0,!0):i(e,"length",t)),e}},90392:(e,t,r)=>{var u=r(92861).Buffer;function n(e,t){this._block=u.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}n.prototype.update=function(e,t){"string"==typeof e&&(e=u.from(e,t=t||"utf8"));for(var r=this._block,n=this._blockSize,s=e.length,o=this._len,i=0;i<s;){for(var a=o%n,l=Math.min(s-i,n-a),c=0;c<l;c++)r[a+c]=e[i+c];i+=l,(o+=l)%n==0&&this._update(r)}return this._len+=s,this},n.prototype.digest=function(e){var t=this._len%this._blockSize,t=(this._block[t]=128,this._block.fill(0,1+t),t>=this._finalSize&&(this._update(this._block),this._block.fill(0)),8*this._len),t=(t<=4294967295?this._block.writeUInt32BE(t,this._blockSize-4):(this._block.writeUInt32BE((t-(t=(4294967295&t)>>>0))/4294967296,this._blockSize-8),this._block.writeUInt32BE(t,this._blockSize-4)),this._update(this._block),this._hash());return e?t.toString(e):t},n.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=n},62802:(e,t,r)=>{var n=e.exports=function(e){e=e.toLowerCase();var t=n[e];if(t)return new t;throw new Error(e+" is not supported (we accept pull requests)")};n.sha=r(27816),n.sha1=r(63737),n.sha224=r(26710),n.sha256=r(24107),n.sha384=r(32827),n.sha512=r(82890)},27816:(e,t,r)=>{var n=r(56698),s=r(90392),o=r(92861).Buffer,f=[1518500249,1859775393,-1894007588,-899497514],i=new Array(80);function a(){this.init(),this._w=i,s.call(this,64,56)}n(a,s),a.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},a.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,s=0|this._c,o=0|this._d,i=0|this._e,a=0;a<16;++a)t[a]=e.readInt32BE(4*a);for(;a<80;++a)t[a]=t[a-3]^t[a-8]^t[a-14]^t[a-16];for(var l,c,u,p=0;p<80;++p)var h=~~(p/20),d=0|(r<<5|r>>>27)+(l=n,c=s,u=o,0===(d=h)?l&c|~l&u:2===d?l&c|l&u|c&u:l^c^u)+i+t[p]+f[h],i=o,o=s,s=n<<30|n>>>2,n=r,r=d;this._a=r+this._a|0,this._b=n+this._b|0,this._c=s+this._c|0,this._d=o+this._d|0,this._e=i+this._e|0},a.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=a},63737:(e,t,r)=>{var n=r(56698),s=r(90392),o=r(92861).Buffer,m=[1518500249,1859775393,-1894007588,-899497514],i=new Array(80);function a(){this.init(),this._w=i,s.call(this,64,56)}n(a,s),a.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},a.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,s=0|this._b,o=0|this._c,i=0|this._d,a=0|this._e,l=0;l<16;++l)r[l]=e.readInt32BE(4*l);for(;l<80;++l)r[l]=(t=r[l-3]^r[l-8]^r[l-14]^r[l-16])<<1|t>>>31;for(var c,u,p,h=0;h<80;++h)var d=~~(h/20),f=0|(n<<5|n>>>27)+(c=s,u=o,p=i,0===(f=d)?c&u|~c&p:2===f?c&u|c&p|u&p:c^u^p)+a+r[h]+m[d],a=i,i=o,o=s<<30|s>>>2,s=n,n=f;this._a=n+this._a|0,this._b=s+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=a+this._e|0},a.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=a},26710:(e,t,r)=>{var n=r(56698),s=r(24107),o=r(90392),i=r(92861).Buffer,a=new Array(64);function l(){this.init(),this._w=a,o.call(this,64,56)}n(l,s),l.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},l.prototype._hash=function(){var e=i.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=l},24107:(e,t,r)=>{var n=r(56698),s=r(90392),o=r(92861).Buffer,m=[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],i=new Array(64);function a(){this.init(),this._w=i,s.call(this,64,56)}n(a,s),a.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},a.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,s=0|this._b,o=0|this._c,i=0|this._d,a=0|this._e,l=0|this._f,c=0|this._g,u=0|this._h,p=0;p<16;++p)r[p]=e.readInt32BE(4*p);for(;p<64;++p)r[p]=0|(((t=r[p-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+r[p-7]+(((t=r[p-15])>>>7|t<<25)^(t>>>18|t<<14)^t>>>3)+r[p-16];for(var h=0;h<64;++h)var d=u+((a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7))+(c^a&(l^c))+m[h]+r[h]|0,f=0|((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&s|o&(n|s)),u=c,c=l,l=a,a=i+d|0,i=o,o=s,s=n,n=d+f|0;this._a=n+this._a|0,this._b=s+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=a+this._e|0,this._f=l+this._f|0,this._g=c+this._g|0,this._h=u+this._h|0},a.prototype._hash=function(){var e=o.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=a},32827:(e,t,r)=>{var n=r(56698),s=r(82890),o=r(90392),i=r(92861).Buffer,a=new Array(160);function l(){this.init(),this._w=a,o.call(this,128,112)}n(l,s),l.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},l.prototype._hash=function(){var n=i.allocUnsafe(48);function e(e,t,r){n.writeInt32BE(e,r),n.writeInt32BE(t,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),n},e.exports=l},82890:(e,t,r)=>{var n=r(56698),s=r(90392),o=r(92861).Buffer,B=[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],i=new Array(160);function a(){this.init(),this._w=i,s.call(this,128,112)}function $(e,t,r){return r^e&(t^r)}function q(e,t,r){return e&t|r&(e|t)}function U(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function z(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function V(e,t){return e>>>0<t>>>0?1:0}n(a,s),a.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},a.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,s=0|this._ch,o=0|this._dh,i=0|this._eh,a=0|this._fh,l=0|this._gh,c=0|this._hh,u=0|this._al,p=0|this._bl,h=0|this._cl,d=0|this._dl,f=0|this._el,m=0|this._fl,g=0|this._gl,y=0|this._hl,v=0;v<32;v+=2)t[v]=e.readInt32BE(4*v),t[v+1]=e.readInt32BE(4*v+4);for(;v<160;v+=2){var b=t[v-30],w=t[v-30+1],E=(b>>>1|w<<31)^(b>>>8|w<<24)^b>>>7,x=(w>>>1|b<<31)^(w>>>8|b<<24)^(w>>>7|b<<25),S=(b=t[v-4],w=t[v-4+1],(b>>>19|w<<13)^(w>>>29|b<<3)^b>>>6),w=(w>>>19|b<<13)^(b>>>29|w<<3)^(w>>>6|b<<26),b=t[v-14],_=t[v-14+1],k=t[v-32],A=t[v-32+1],O=x+_|0,C=(C=(C=E+b+V(O,x)|0)+S+V(O=O+w|0,w)|0)+k+V(O=O+A|0,A)|0;t[v]=C,t[v+1]=O}for(var j=0;j<160;j+=2){C=t[j];var O=t[j+1],D=q(r,n,s),L=q(u,p,h),F=U(r,u),P=U(u,r),N=z(i,f),I=z(f,i),T=B[j+1],M=$(i,a,l),R=$(f,m,g),I=y+I|0,N=(((c+N+V(I,y)|0)+M+V(I=I+R|0,R)|0)+B[j]+V(I=I+T|0,T)|0)+C+V(I=I+O|0,O)|0,M=P+L|0,R=F+D+V(M,P)|0,c=l,y=g,l=a,g=m,a=i,m=f,i=o+N+V(f=d+I|0,d)|0,o=s,d=h,s=n,h=p,n=r,p=u,r=N+R+V(u=I+M|0,I)|0}this._al=this._al+u|0,this._bl=this._bl+p|0,this._cl=this._cl+h|0,this._dl=this._dl+d|0,this._el=this._el+f|0,this._fl=this._fl+m|0,this._gl=this._gl+g|0,this._hl=this._hl+y|0,this._ah=this._ah+r+V(this._al,u)|0,this._bh=this._bh+n+V(this._bl,p)|0,this._ch=this._ch+s+V(this._cl,h)|0,this._dh=this._dh+o+V(this._dl,d)|0,this._eh=this._eh+i+V(this._el,f)|0,this._fh=this._fh+a+V(this._fl,m)|0,this._gh=this._gh+l+V(this._gl,g)|0,this._hh=this._hh+c+V(this._hl,y)|0},a.prototype._hash=function(){var n=o.allocUnsafe(64);function e(e,t,r){n.writeInt32BE(e,r),n.writeInt32BE(t,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),n},e.exports=a},8068:e=>{"use strict";var t=(()=>{var e,n=Object.defineProperty,t=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,a=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,l=(e,t)=>{for(var r in t=t||{})o.call(t,r)&&a(e,r,t[r]);if(s)for(var r of s(t))i.call(t,r)&&a(e,r,t[r]);return e},c=(e,t,r)=>(a(e,"symbol"!=typeof t?t+"":t,r),r),u={},p=u,h={DEFAULT_OPTIONS:()=>f,DEFAULT_UUID_LENGTH:()=>d,default:()=>g};for(e in h)n(p,e,{get:h[e],enumerable:!0});var d=6,f={dictionary:"alphanum",shuffle:!0,debug:!1,length:d,counter:0},m=class{constructor(e={}){c(this,"counter"),c(this,"debug"),c(this,"dict"),c(this,"version"),c(this,"dictIndex",0),c(this,"dictRange",[]),c(this,"lowerBound",0),c(this,"upperBound",0),c(this,"dictLength",0),c(this,"uuidLength"),c(this,"_digit_first_ascii",48),c(this,"_digit_last_ascii",58),c(this,"_alpha_lower_first_ascii",97),c(this,"_alpha_lower_last_ascii",123),c(this,"_hex_last_ascii",103),c(this,"_alpha_upper_first_ascii",65),c(this,"_alpha_upper_last_ascii",91),c(this,"_number_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii]}),c(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]}),c(this,"_alpha_lower_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),c(this,"_alpha_upper_dict_ranges",{upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),c(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]}),c(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]}),c(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]}),c(this,"_hex_dict_ranges",{decDigits:[this._digit_first_ascii,this._digit_last_ascii],alphaDigits:[this._alpha_lower_first_ascii,this._hex_last_ascii]}),c(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}),c(this,"log",(...e)=>{const t=[...e];if(t[0]="[short-unique-id] "+e[0],!0===this.debug&&"undefined"!=typeof console&&null!==console)return console.log(...t)}),c(this,"_normalizeDictionary",(e,t)=>{let r;if(e&&Array.isArray(e)&&1<e.length)r=e;else{let t;r=[],this.dictIndex=t=0;const n=`_${e}_dict_ranges`,s=this._dict_ranges[n];Object.keys(s).forEach(e=>{for(this.dictRange=s[e],this.lowerBound=this.dictRange[0],this.upperBound=this.dictRange[1],this.dictIndex=t=this.lowerBound;this.lowerBound<=this.upperBound?t<this.upperBound:t>this.upperBound;this.dictIndex=this.lowerBound<=this.upperBound?t+=1:--t)r.push(String.fromCharCode(this.dictIndex))})}if(t){const e=.5;r=r.sort(()=>Math.random()-.5)}return r}),c(this,"setDictionary",(e,t)=>{this.dict=this._normalizeDictionary(e,t),this.dictLength=this.dict.length,this.setCounter(0)}),c(this,"seq",()=>this.sequentialUUID()),c(this,"sequentialUUID",()=>{let e,t,r="";for(e=this.counter;t=e%this.dictLength,e=Math.trunc(e/this.dictLength),r+=this.dict[t],0!==e;);return this.counter+=1,r}),c(this,"rnd",(e=this.uuidLength||d)=>this.randomUUID(e)),c(this,"randomUUID",(e=this.uuidLength||d)=>{let t,r,n;if(null==e||e<1)throw new Error("Invalid UUID Length Provided");for(t="",n=0;n<e;n+=1)r=parseInt((Math.random()*this.dictLength).toFixed(0),10)%this.dictLength,t+=this.dict[r];return t}),c(this,"fmt",(e,t)=>this.formattedUUID(e,t)),c(this,"formattedUUID",(e,r)=>{const n={$r:this.randomUUID,$s:this.sequentialUUID,$t:this.stamp};return e.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,e=>{var t=e.slice(0,2),e=parseInt(e.slice(2),10);return"$s"===t?n[t]().padStart(e,"0"):"$t"===t&&r?n[t](e,r):n[t](e)})}),c(this,"availableUUIDs",(e=this.uuidLength)=>parseFloat(Math.pow([...new Set(this.dict)].length,e).toFixed(0))),c(this,"approxMaxBeforeCollision",(e=this.availableUUIDs(this.uuidLength))=>parseFloat(Math.sqrt(Math.PI/2*e).toFixed(20))),c(this,"collisionProbability",(e=this.availableUUIDs(this.uuidLength),t=this.uuidLength)=>parseFloat((this.approxMaxBeforeCollision(e)/this.availableUUIDs(t)).toFixed(20))),c(this,"uniqueness",(e=this.availableUUIDs(this.uuidLength))=>{e=parseFloat((1-this.approxMaxBeforeCollision(e)/e).toFixed(20));return 1<e?1:e<0?0:e}),c(this,"getVersion",()=>this.version),c(this,"stamp",(e,t)=>{t=Math.floor(+(t||new Date)/1e3).toString(16);if("number"==typeof e&&0===e)return t;if("number"!=typeof e||e<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("\n"));const r=e-9,n=Math.round(Math.random()*(15<r?15:r)),s=this.randomUUID(r);return""+s.substring(0,n)+t+s.substring(n)+n.toString(16)}),c(this,"parseStamp",(n,e)=>{if(e&&!/t0|t[1-9]\d{1,}/.test(e))throw new Error("Cannot extract date from a formated UUID with no timestamp in the format");const t=e?e.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,e=>{const t={$r:e=>[...Array(e)].map(()=>"r").join(""),$s:e=>[...Array(e)].map(()=>"s").join(""),$t:e=>[...Array(e)].map(()=>"t").join("")},r=e.slice(0,2),n=parseInt(e.slice(2),10);return t[r](n)}).replace(/^(.*?)(t{8,})(.*)$/g,(e,t,r)=>n.substring(t.length,t.length+r.length)):n;if(8===t.length)return new Date(1e3*parseInt(t,16));if(t.length<10)throw new Error("Stamp length invalid");e=parseInt(t.substring(t.length-1),16);return new Date(1e3*parseInt(t.substring(e,e+8),16))}),c(this,"setCounter",e=>{this.counter=e}),c(this,"validate",(e,t)=>{const r=t?this._normalizeDictionary(t):this.dict;return e.split("").every(e=>r.includes(e))});var e=l(l({},f),e),{dictionary:t,shuffle:r,length:n,counter:s}=(this.counter=0,this.debug=!1,this.dict=[],this.version="5.2.0",e);return this.uuidLength=n,this.setDictionary(t,r),this.setCounter(s),this.debug=e.debug,this.log(this.dict),this.log(`Generator instantiated with Dictionary Size ${this.dictLength} and counter set to `+this.counter),this.log=this.log.bind(this),this.setDictionary=this.setDictionary.bind(this),this.setCounter=this.setCounter.bind(this),this.seq=this.seq.bind(this),this.sequentialUUID=this.sequentialUUID.bind(this),this.rnd=this.rnd.bind(this),this.randomUUID=this.randomUUID.bind(this),this.fmt=this.fmt.bind(this),this.formattedUUID=this.formattedUUID.bind(this),this.availableUUIDs=this.availableUUIDs.bind(this),this.approxMaxBeforeCollision=this.approxMaxBeforeCollision.bind(this),this.collisionProbability=this.collisionProbability.bind(this),this.uniqueness=this.uniqueness.bind(this),this.getVersion=this.getVersion.bind(this),this.stamp=this.stamp.bind(this),this.parseStamp=this.parseStamp.bind(this),this}};c(m,"default",m);var g=m,m=u,y=n({},"__esModule",{value:!0}),v=m,b=void 0;if("object"==typeof v||"function"==typeof v)for(let e of r(v))o.call(y,e)||void 0===e||n(y,e,{get:()=>v[e],enumerable:!(b=t(v,e))||b.enumerable});return y})();e.exports=t.default,"undefined"!=typeof window&&t.default},920:(e,t,r)=>{"use strict";function a(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r}var n=r(70453),s=r(38075),l=r(58859),c=r(69675),u=n("%WeakMap%",!0),p=n("%Map%",!0),h=s("WeakMap.prototype.get",!0),d=s("WeakMap.prototype.set",!0),f=s("WeakMap.prototype.has",!0),m=s("Map.prototype.get",!0),g=s("Map.prototype.set",!0),y=s("Map.prototype.has",!0);e.exports=function(){var s,o,i,t={assert:function(e){if(!t.has(e))throw new c("Side channel does not contain "+l(e))},get:function(e){if(u&&e&&("object"==typeof e||"function"==typeof e)){if(s)return h(s,e)}else if(p){if(o)return m(o,e)}else if(i)return(e=a(i,e))&&e.value},has:function(e){if(u&&e&&("object"==typeof e||"function"==typeof e)){if(s)return f(s,e)}else if(p){if(o)return y(o,e)}else if(i)return!!a(i,e);return!1},set:function(e,t){var r,n;u&&e&&("object"==typeof e||"function"==typeof e)?(s=s||new u,d(s,e,t)):p?(o=o||new p,g(o,e,t)):(t=t,(n=a(r=i=i||{key:{},next:null},e=e))?n.value=t:r.next={key:e,next:r.next,value:t})}};return t}},88310:(e,t,r)=>{e.exports=n;var u=r(37007).EventEmitter;function n(){u.call(this)}r(56698)(n,u),n.Readable=r(45412),n.Writable=r(16708),n.Duplex=r(25382),n.Transform=r(74610),n.PassThrough=r(63600),n.finished=r(86238),n.pipeline=r(57758),(n.Stream=n).prototype.pipe=function(t,e){var r=this;function n(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function s(){r.readable&&r.resume&&r.resume()}r.on("data",n),t.on("drain",s),t._isStdio||e&&!1===e.end||(r.on("end",i),r.on("close",a));var o=!1;function i(){o||(o=!0,t.end())}function a(){o||(o=!0,"function"==typeof t.destroy&&t.destroy())}function l(e){if(c(),0===u.listenerCount(this,"error"))throw e}function c(){r.removeListener("data",n),t.removeListener("drain",s),r.removeListener("end",i),r.removeListener("close",a),r.removeListener("error",l),t.removeListener("error",l),r.removeListener("end",c),r.removeListener("close",c),t.removeListener("close",c)}return r.on("error",l),t.on("error",l),r.on("end",c),r.on("close",c),t.on("close",c),t.emit("pipe",r),t}},83141:(e,t,r)=>{"use strict";var n=r(92861).Buffer,s=n.isEncoding||function(e){switch((e=""+e)&&e.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 o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){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 e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"==typeof t||n.isEncoding!==s&&s(e))return t||e;throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=u,this.end=p,t=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function i(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t,r=this.lastTotal-this.lastNeed,n=(t=this,128!=(192&(n=e)[0])?(t.lastNeed=0,"<22>"):1<t.lastNeed&&1<n.length?128!=(192&n[1])?(t.lastNeed=1,"<22>"):2<t.lastNeed&&2<n.length&&128!=(192&n[2])?(t.lastNeed=2,"<22>"):void 0:void 0);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,r,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,r,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2!=0)return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1);t=e.toString("utf16le",t);if(t){var r=t.charCodeAt(t.length-1);if(55296<=r&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],t.slice(0,-1)}return t}function c(e){var t,e=e&&e.length?this.write(e):"";return this.lastNeed?(t=this.lastTotal-this.lastNeed,e+this.lastChar.toString("utf16le",0,t)):e}function u(e,t){var r=(e.length-t)%3;return 0==r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1==r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function p(e){e=e&&e.length?this.write(e):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function h(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}(t.I=o).prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},o.prototype.end=function(e){e=e&&e.length?this.write(e):"";return this.lastNeed?e+"<22>":e},o.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var s=i(t[n]);return 0<=s?(0<s&&(e.lastNeed=s-1),s):--n<r||-2===s?0:0<=(s=i(t[n]))?(0<s&&(e.lastNeed=s-2),s):--n<r||-2===s?0:0<=(s=i(t[n]))?(0<s&&(2===s?s=0:e.lastNeed=s-3),s):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;r=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},16426:e=>{e.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,r=[],n=0;n<t.rangeCount;n++)r.push(t.getRangeAt(n));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null}return t.removeAllRanges(),function(){"Caret"===t.type&&t.removeAllRanges(),t.rangeCount||r.forEach(function(e){t.addRange(e)}),e&&e.focus()}}},36623:e=>{"use strict";function s(e){return Object.prototype.toString.call(e)}var h=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function d(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)}var o=Object.keys||function(e){var t,r=[];for(t in e)r.push(t);return r},i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;function f(e){var t=o(e);if(a)for(var r=a(e),n=0;n<r.length;n++)i.call(e,r[n])&&t.push(r[n]);return t}var m=Object.prototype.hasOwnProperty||function(e,t){return t in e};function g(t){var e,r,n;return"object"==typeof t&&null!==t?(n=h(t)?[]:"[object Date]"===s(t)?new Date(t.getTime?t.getTime():t):"[object RegExp]"===s(t)?new RegExp(t):"[object Error]"===s(t)?{message:t.message}:"[object Boolean]"===s(t)||"[object Number]"===s(t)||"[object String]"===s(t)?Object(t):Object.create&&Object.getPrototypeOf?Object.create(Object.getPrototypeOf(t)):t.constructor===Object?{}:(e=t.constructor&&t.constructor.prototype||t.__proto__||{},(r=function(){}).prototype=e,new r),d(f(t),function(e){n[e]=t[e]}),n):t}function t(e,a,l){var c=[],u=[],p=!0;return function n(t){var e=l?g(t):t,s={},r=!0,o={node:e,node_:t,path:[].concat(c),parent:u[u.length-1],parents:u,key:c[c.length-1],isRoot:0===c.length,level:c.length,circular:null,update:function(e,t){o.isRoot||(o.parent.node[o.key]=e),o.node=e,t&&(r=!1)},delete:function(e){delete o.parent.node[o.key],e&&(r=!1)},remove:function(e){h(o.parent.node)?o.parent.node.splice(o.key,1):delete o.parent.node[o.key],e&&(r=!1)},keys:null,before:function(e){s.before=e},after:function(e){s.after=e},pre:function(e){s.pre=e},post:function(e){s.post=e},stop:function(){p=!1},block:function(){r=!1}};if(!p)return o;function i(){if("object"==typeof o.node&&null!==o.node){o.keys&&o.node_===o.node||(o.keys=f(o.node)),o.isLeaf=0===o.keys.length;for(var e=0;e<u.length;e++)if(u[e].node_===t){o.circular=u[e];break}}else o.isLeaf=!0,o.keys=null;o.notLeaf=!o.isLeaf,o.notRoot=!o.isRoot}i();e=a.call(o,o.node);return void 0!==e&&o.update&&o.update(e),s.before&&s.before.call(o,o.node),r&&("object"!=typeof o.node||null===o.node||o.circular||(u.push(o),i(),d(o.keys,function(e,t){c.push(e),s.pre&&s.pre.call(o,o.node[e],e);var r=n(o.node[e]);l&&m.call(o.node,e)&&(o.node[e]=r.node),r.isLast=t===o.keys.length-1,r.isFirst=0===t,s.post&&s.post.call(o,r),c.pop()}),u.pop()),s.after&&s.after.call(o,o.node)),o}(e).node}function n(e){this.value=e}function l(e){return new n(e)}n.prototype.get=function(e){for(var t=this.value,r=0;r<e.length;r++){var n=e[r];if(!t||!m.call(t,n))return;t=t[n]}return t},n.prototype.has=function(e){for(var t=this.value,r=0;r<e.length;r++){var n=e[r];if(!t||!m.call(t,n))return!1;t=t[n]}return!0},n.prototype.set=function(e,t){for(var r=this.value,n=0;n<e.length-1;n++){var s=e[n];m.call(r,s)||(r[s]={}),r=r[s]}return r[e[n]]=t},n.prototype.map=function(e){return t(this.value,e,!0)},n.prototype.forEach=function(e){return this.value=t(this.value,e,!1),this.value},n.prototype.reduce=function(t,e){var r=1===arguments.length,n=r?this.value:e;return this.forEach(function(e){this.isRoot&&r||(n=t.call(this,n,e))}),n},n.prototype.paths=function(){var e=[];return this.forEach(function(){e.push(this.path)}),e},n.prototype.nodes=function(){var e=[];return this.forEach(function(){e.push(this.node)}),e},n.prototype.clone=function(){var s=[],o=[];return function t(r){for(var n,e=0;e<s.length;e++)if(s[e]===r)return o[e];return"object"==typeof r&&null!==r?(n=g(r),s.push(r),o.push(n),d(f(r),function(e){n[e]=t(r[e])}),s.pop(),o.pop(),n):r}(this.value)},d(f(n.prototype),function(r){l[r]=function(e){var t=[].slice.call(arguments,1),e=new n(e);return e[r].apply(e,t)}}),e.exports=l},61160:(e,t,s)=>{"use strict";var h=s(92063),d=s(73992),r=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,f=/[\n\r\t]/g,o=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,a=/:\d+$/,l=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,m=/^[a-zA-Z]:/;function g(e){return(e||"").toString().replace(r,"")}var y=[["#","hash"],["?","query"],function(e,t){return b(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],i={hash:1,query:1};function v(e){var t,r=("undefined"!=typeof window?window:void 0!==s.g?s.g:"undefined"!=typeof self?self:{}).location||{},n={},r=typeof(e=e||r);if("blob:"===e.protocol)n=new E(unescape(e.pathname),{});else if("string"==r)for(t in n=new E(e,{}),i)delete n[t];else if("object"==r){for(t in e)t in i||(n[t]=e[t]);void 0===n.slashes&&(n.slashes=o.test(e.href))}return n}function b(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function w(e,t){e=(e=g(e)).replace(f,""),t=t||{};var r,e=l.exec(e),n=e[1]?e[1].toLowerCase():"",s=!!e[2],o=!!e[3],i=0;return s?i=o?(r=e[2]+e[3]+e[4],e[2].length+e[3].length):(r=e[2]+e[4],e[2].length):o?(r=e[3]+e[4],i=e[3].length):r=e[4],"file:"===n?2<=i&&(r=r.slice(2)):b(n)?r=e[4]:n?s&&(r=r.slice(2)):2<=i&&b(t.protocol)&&(r=e[4]),{protocol:n,slashes:s||b(n),slashesCount:i,rest:r}}function E(e,t,r){if(e=(e=g(e)).replace(f,""),!(this instanceof E))return new E(e,t,r);var n,s,o,i,a,l=y.slice(),c=typeof t,u=this,p=0;for("object"!=c&&"string"!=c&&(r=t,t=null),r&&"function"!=typeof r&&(r=d.parse),n=!(c=w(e||"",t=v(t))).protocol&&!c.slashes,u.slashes=c.slashes||n&&t.slashes,u.protocol=c.protocol||t.protocol||"",e=c.rest,("file:"===c.protocol&&(2!==c.slashesCount||m.test(e))||!c.slashes&&(c.protocol||c.slashesCount<2||!b(u.protocol)))&&(l[3]=[/(.*)/,"pathname"]);p<l.length;p++)"function"!=typeof(o=l[p])?(s=o[0],a=o[1],s!=s?u[a]=e:"string"==typeof s?~(i="@"===s?e.lastIndexOf(s):e.indexOf(s))&&(e="number"==typeof o[2]?(u[a]=e.slice(0,i),e.slice(i+o[2])):(u[a]=e.slice(i),e.slice(0,i))):(i=s.exec(e))&&(u[a]=i[1],e=e.slice(0,i.index)),u[a]=u[a]||n&&o[3]&&t[a]||"",o[4]&&(u[a]=u[a].toLowerCase())):e=o(e,u);r&&(u.query=r(u.query)),n&&t.slashes&&"/"!==u.pathname.charAt(0)&&(""!==u.pathname||""!==t.pathname)&&(u.pathname=function(e,t){if(""===e)return t;for(var r=(t||"/").split("/").slice(0,-1).concat(e.split("/")),n=r.length,t=r[n-1],s=!1,o=0;n--;)"."===r[n]?r.splice(n,1):".."===r[n]?(r.splice(n,1),o++):o&&(0===n&&(s=!0),r.splice(n,1),o--);return s&&r.unshift(""),"."!==t&&".."!==t||r.push(""),r.join("/")}(u.pathname,t.pathname)),"/"!==u.pathname.charAt(0)&&b(u.protocol)&&(u.pathname="/"+u.pathname),h(u.port,u.protocol)||(u.host=u.hostname,u.port=""),u.username=u.password="",u.auth&&(~(i=u.auth.indexOf(":"))?(u.username=u.auth.slice(0,i),u.username=encodeURIComponent(decodeURIComponent(u.username)),u.password=u.auth.slice(i+1),u.password=encodeURIComponent(decodeURIComponent(u.password))):u.username=encodeURIComponent(decodeURIComponent(u.auth)),u.auth=u.password?u.username+":"+u.password:u.username),u.origin="file:"!==u.protocol&&b(u.protocol)&&u.host?u.protocol+"//"+u.host:"null",u.href=u.toString()}E.prototype={set:function(e,t,r){var n=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(r||d.parse)(t)),n[e]=t;break;case"port":n[e]=t,h(t,n.protocol)?t&&(n.host=n.hostname+":"+t):(n.host=n.hostname,n[e]="");break;case"hostname":n[e]=t,n.port&&(t+=":"+n.port),n.host=t;break;case"host":n[e]=t,a.test(t)?(t=t.split(":"),n.port=t.pop(),n.hostname=t.join(":")):(n.hostname=t,n.port="");break;case"protocol":n.protocol=t.toLowerCase(),n.slashes=!r;break;case"pathname":case"hash":t?(s="pathname"===e?"/":"#",n[e]=t.charAt(0)!==s?s+t:t):n[e]=t;break;case"username":case"password":n[e]=encodeURIComponent(t);break;case"auth":var s=t.indexOf(":");~s?(n.username=t.slice(0,s),n.username=encodeURIComponent(decodeURIComponent(n.username)),n.password=t.slice(s+1),n.password=encodeURIComponent(decodeURIComponent(n.password))):n.username=encodeURIComponent(decodeURIComponent(t))}for(var o=0;o<y.length;o++){var i=y[o];i[4]&&(n[i[1]]=n[i[1]].toLowerCase())}return n.auth=n.password?n.username+":"+n.password:n.username,n.origin="file:"!==n.protocol&&b(n.protocol)&&n.host?n.protocol+"//"+n.host:"null",n.href=n.toString(),n},toString:function(e){e&&"function"==typeof e||(e=d.stringify);var t=this,r=t.host,n=t.protocol,n=(n&&":"!==n.charAt(n.length-1)&&(n+=":"),n+(t.protocol&&t.slashes||b(t.protocol)?"//":""));return t.username?(n+=t.username,t.password&&(n+=":"+t.password),n+="@"):t.password?n=n+(":"+t.password)+"@":"file:"!==t.protocol&&b(t.protocol)&&!r&&"/"!==t.pathname&&(n+="@"),(":"===r[r.length-1]||a.test(t.hostname)&&!t.port)&&(r+=":"),n+=r+t.pathname,(r="object"==typeof t.query?e(t.query):t.query)&&(n+="?"!==r.charAt(0)?"?"+r:r),t.hash&&(n+=t.hash),n}},E.extractProtocol=w,E.location=v,E.trimLeft=g,E.qs=d,e.exports=E},77154:(e,t,r)=>{"use strict";var r=r(96540),u="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=r.useSyncExternalStore,o=r.useRef,p=r.useEffect,h=r.useMemo,d=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,r,i,a,l){var c,t=o(null),n=(null===t.current?(c={hasValue:!1,value:null},t.current=c):c=t.current,t=h(function(){function e(e){if(!o){if(o=!0,e=a(n=e),void 0!==l&&c.hasValue){var t=c.value;if(l(t,e))return s=t}return s=e}if(t=s,u(n,e))return t;var r=a(e);return void 0!==l&&l(t,r)?t:(n=e,s=r)}var n,s,o=!1,t=void 0===i?null:i;return[function(){return e(r())},null===t?void 0:function(){return e(t())}]},[r,i,a,l]),s(e,t[0],t[1]));return p(function(){c.hasValue=!0,c.value=n},[n]),d(n),n}},78418:(e,t,r)=>{"use strict";e.exports=r(77154)},94643:(e,t,r)=>{function n(e){try{if(!r.g.localStorage)return}catch(e){return}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}},26657:(e,t,r)=>{"use strict";var p=r(75208),n=function(e){return/<\/+[^>]+>/.test(e)},s=function(e){return/<[^>]+\/>/.test(e)};function o(e){return n(e)?"ClosingTag":(t=e,!/<[^>!]+>/.test(t)||n(t)||s(t)?s(e)?"SelfClosingTag":"Text":"OpeningTag");var t}e.exports=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=t.indentor,l=t.textNodesOnSameLine,c=0,u=[],a=a||" ",r=e.split(/(<\/?[^>]+>)/g).filter(function(e){return""!==e.trim()}).map(function(e){return{value:e,type:o(e)}}).map(function(e,t,r){var n,s=e.value,e=e.type,o=("ClosingTag"===e&&c--,p(a,c)),i=o+s;return"OpeningTag"===e&&c++,l&&(n=r[t-1],r=r[t-2],"ClosingTag"===e&&"Text"===n.type&&"OpeningTag"===r.type&&(i=""+o+r.value+n.value+s,u.push(t-2,t-1))),i});return u.forEach(function(e){return r[e]=null}),r.filter(function(e){return!!e}).join("\n")}},31499:e=>{var r={"&":"&",'"':""","'":"'","<":"<",">":">"};e.exports=function(e){return e&&e.replace?e.replace(/([&"<>'])/g,function(e,t){return r[t]}):e}},19123:(e,t,r)=>{var h=r(65606),u=r(31499),d=r(88310).Stream;function f(e,t,r){s=t,r=r||0;var n,s=new Array(r||0).join(s||""),o=e;if("object"==typeof e&&(o=e[n=Object.keys(e)[0]])&&o._elem)return o._elem.name=n,o._elem.icount=r,o._elem.indent=t,o._elem.indents=s,(o._elem.interrupt=o)._elem;var i,a=[],l=[];function c(r){Object.keys(r).forEach(function(e){var t;a.push((t=r[e],e+'="'+u(t)+'"'))})}switch(typeof o){case"object":if(null===o)break;o._attr&&c(o._attr),o._cdata&&l.push(("<![CDATA["+o._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),o.forEach&&(i=!1,l.push(""),o.forEach(function(e){"object"==typeof e?"_attr"==Object.keys(e)[0]?c(e._attr):l.push(f(e,t,r+1)):(l.pop(),i=!0,l.push(u(e)))}),i||l.push(""));break;default:l.push(u(o))}return{name:n,interrupt:!1,attributes:a,content:l,icount:r,indents:s,indent:t}}function m(t,r,n){if("object"!=typeof r)return t(!1,r);var s=r.interrupt?1:r.content.length;function o(){for(;r.content.length;){var e=r.content.shift();if(void 0!==e){if(i(e))return;m(t,e)}}t(!1,(1<s?r.indents:"")+(r.name?"</"+r.name+">":"")+(r.indent&&!n?"\n":"")),n&&n()}function i(e){return e.interrupt&&(e.interrupt.append=t,e.interrupt.end=o,e.interrupt=!1,t(!0),1)}if(t(!1,r.indents+(r.name?"<"+r.name:"")+(r.attributes.length?" "+r.attributes.join(" "):"")+(s?r.name?">":"":r.name?"/>":"")+(r.indent&&1<s?"\n":"")),!s)return t(!1,r.indent?"\n":"");i(r)||o()}e.exports=function(n,e){var t,s=(e="object"!=typeof e?{indent:e}:e).stream?new d:null,o="",i=!1,r=e.indent?!0===e.indent?" ":e.indent:"",a=!0;function l(e){a?h.nextTick(e):e()}function c(e,t){var r;void 0!==t&&(o+=t),e&&!i&&(s=s||new d,i=!0),e&&i&&(r=o,l(function(){s.emit("data",r)}),o="")}function u(e,t){m(c,f(e,r,r?1:0),t)}function p(){var e;s&&(e=o,l(function(){s.emit("data",e),s.emit("end"),s.readable=!1,s.emit("close")}))}return l(function(){a=!1}),e.declaration&&(e=e.declaration,t={version:"1.0",encoding:e.encoding||"UTF-8"},e.standalone&&(t.standalone=e.standalone),u({"?xml":{_attr:t}}),o=o.replace("/>","?>")),n&&n.forEach?n.forEach(function(e,t){var r;u(e,r=t+1===n.length?p:r)}):u(n,p),s?(s.readable=!0,s):o},e.exports.element=e.exports.Element=function(){return{_elem:f(Array.prototype.slice.call(arguments)),push:function(e){if(!this.append)throw new Error("not assigned to a parent!");var t=this,r=this._elem.indent;m(this.append,f(e,r,this._elem.icount+(r?1:0)),function(){t.append(!0)})},close:function(e){void 0!==e&&this.push(e),this.end&&this.end()}}}},86215:function(e,t){var r=[],n=function(){"use strict";function m(e){return e&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(e)["scroll-behavior"]}if("undefined"==typeof window||!("document"in window))return{};function n(l,r,c){function u(e){return Math.max(0,l.getTopOf(e)-c)}function p(e,n,s){var o,i,a;f(),0===n||n&&n<0||m(l.body)?(l.toY(e),s&&s()):(o=l.getY(),i=Math.max(0,e)-o,a=(new Date).getTime(),n=n||Math.min(Math.abs(i),r),function r(){d(setTimeout(function(){var e=Math.min(1,((new Date).getTime()-a)/n),t=Math.max(0,Math.floor(o+i*(e<.5?2*e*e:e*(4-2*e)-1)));l.toY(t),e<1&&l.getHeight()+t<l.body.scrollHeight?r():(setTimeout(f,99),s&&s())},9))}())}function h(e,t,r){p(u(e),t,r)}r=r||999,c||0===c||(c=9);var t,d=function(e){t=e},f=function(){clearTimeout(t),d(0)};return{setup:function(e,t){return{defaultDuration:r=0!==e&&!e?r:e,edgeOffset:c=0!==t&&!t?c:t}},to:h,toY:p,intoView:function(e,t,r){var n=e.getBoundingClientRect().height,s=l.getTopOf(e)+n,o=l.getHeight(),i=l.getY(),a=i+o;u(e)<i||o<n+c?h(e,t,r):a<s+c?p(s-o+c,t,r):r&&r()},center:function(e,t,r,n){p(Math.max(0,l.getTopOf(e)-l.getHeight()/2+(r||e.getBoundingClientRect().height/2)),t,n)},stop:f,moving:function(){return!!t},getY:l.getY,getTopOf:l.getTopOf}}function t(){return window.scrollY||s.scrollTop}var i,a,l,s=document.documentElement,c=n({body:document.scrollingElement||document.body,toY:function(e){window.scrollTo(0,e)},getY:t,getHeight:function(){return window.innerHeight||s.clientHeight},getTopOf:function(e){return e.getBoundingClientRect().top+t()-s.offsetTop}});return c.createScroller=function(t,e,r){return n({body:t,toY:function(e){t.scrollTop=e},getY:function(){return t.scrollTop},getHeight:function(){return Math.min(t.clientHeight,window.innerHeight||s.clientHeight)},getTopOf:function(e){return e.offsetTop}},e,r)},"addEventListener"in window&&!window.noZensmooth&&!m(document.body)&&(i="history"in window&&"pushState"in history,(a=i&&"scrollRestoration"in history)&&(history.scrollRestoration="auto"),window.addEventListener("load",function(){a&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(e){e.state&&"zenscrollY"in e.state&&c.toY(e.state.zenscrollY)},!1)),window.location.hash&&setTimeout(function(){var e,t=c.setup().edgeOffset;t&&(e=document.getElementById(window.location.href.split("#")[1]))&&(e=Math.max(0,c.getTopOf(e)-t),0<=(t=c.getY()-e)&&t<9&&window.scrollTo(0,e))},9)},!1),l=new RegExp("(^|\\s)noZensmooth(\\s|$)"),window.addEventListener("click",function(e){for(var t=e.target;t&&"A"!==t.tagName;)t=t.parentNode;if(!(!t||1!==e.which||e.shiftKey||e.metaKey||e.ctrlKey||e.altKey)){if(a){var r=history.state&&"object"==typeof history.state?history.state:{};r.zenscrollY=c.getY();try{history.replaceState(r,"")}catch(e){}}var n=t.getAttribute("href")||"";if(0===n.indexOf("#")&&!l.test(t.className)){var r=0,s=document.getElementById(n.substring(1));if("#"!==n){if(!s)return;r=c.getTopOf(s)}e.preventDefault();var s=function(){window.location=n},o=c.setup().edgeOffset;o&&(r=Math.max(0,r-o),i&&(s=function(){history.pushState({},"",n)})),c.toY(r,null,s)}}},!1)),c}();void 0!==(t="function"==typeof n?n.apply(t,r):n)&&(e.exports=t)},42634:()=>{},15340:()=>{},79838:()=>{},48675:(e,t,r)=>{e.exports=r(20850)},39584:(e,t,r)=>{e.exports=r(92983)},7666:(t,e,r)=>{var n=r(84851),s=r(953);function o(){var e;return t.exports=o=n?s(e=n).call(e):function(e){for(var t=1;t<arguments.length;t++){var r,n=arguments[t];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.exports.__esModule=!0,t.exports.default=t.exports,o.apply(this,arguments)}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},46942:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function s(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return s.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t,r="";for(t in e)n.call(e,t)&&e[t]&&(r=o(r,t));return r}(r)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?e.exports=s.default=s:void 0!==(r=function(){return s}.apply(t,[]))&&(e.exports=r)}()},68623:(e,t,r)=>{"use strict";r=r(694);e.exports=r},93700:(e,t,r)=>{"use strict";r=r(19709);e.exports=r},4588:(e,t,r)=>{"use strict";r=r(96203);e.exports=r},462:(e,t,r)=>{"use strict";r=r(40975);e.exports=r},37257:(e,t,r)=>{"use strict";r(96605),r(64502),r(36371),r(99363),r(7057);r=r(92046);e.exports=r.AggregateError},32567:(e,t,r)=>{"use strict";r(79307);r=r(61747);e.exports=r("Function","bind")},23034:(e,t,r)=>{"use strict";var n=r(88280),s=r(32567),o=Function.prototype;e.exports=function(e){var t=e.bind;return e===o||n(o,e)&&t===o.bind?s:t}},3258:(e,t,r)=>{"use strict";var n=r(88280),s=r(16768),o=String.prototype;e.exports=function(e){var t=e.matchAll;return"string"==typeof e||e===o||n(o,e)&&t===o.matchAll?s:t}},9748:(e,t,r)=>{"use strict";r(71340);r=r(92046);e.exports=r.Object.assign},16768:(e,t,r)=>{"use strict";r(86024),r(51398),r(79104);r=r(61747);e.exports=r("String","matchAll")},20850:(e,t,r)=>{"use strict";e.exports=r(46076)},953:(e,t,r)=>{"use strict";e.exports=r(53375)},92983:(e,t,r)=>{"use strict";e.exports=r(5077)},84851:(e,t,r)=>{"use strict";e.exports=r(85401)},46076:(e,t,r)=>{"use strict";r(91599);r=r(68623);e.exports=r},53375:(e,t,r)=>{"use strict";r=r(93700);e.exports=r},5077:(e,t,r)=>{"use strict";r(37347);r=r(4588);e.exports=r},85401:(e,t,r)=>{"use strict";r=r(462);e.exports=r},82159:(e,t,r)=>{"use strict";var n=r(62250),s=r(4640),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(s(e)+" is not a function")}},82235:(e,t,r)=>{"use strict";var n=r(25468),s=r(4640),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(s(e)+" is not a constructor")}},10043:(e,t,r)=>{"use strict";var n=r(54018),s=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o("Can't set "+s(e)+" as a prototype")}},42156:e=>{"use strict";e.exports=function(){}},25592:(e,t,r)=>{"use strict";var n=r(11470).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},36624:(e,t,r)=>{"use strict";var n=r(46285),s=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(s(e)+" is not an object")}},74436:(e,t,r)=>{"use strict";function n(a){return function(e,t,r){var n=l(e),s=u(n);if(0===s)return!a&&-1;var o,i=c(r,s);if(a&&t!=t){for(;i<s;)if((o=n[i++])!=o)return!0}else for(;i<s;i++)if((a||i in n)&&n[i]===t)return a||i||0;return!a&&-1}}var l=r(4993),c=r(34849),u=r(20575);e.exports={includes:n(!0),indexOf:n(!1)}},93427:(e,t,r)=>{"use strict";r=r(1907);e.exports=r([].slice)},45807:(e,t,r)=>{"use strict";var r=r(1907),n=r({}.toString),s=r("".slice);e.exports=function(e){return s(n(e),8,-1)}},73948:(e,t,r)=>{"use strict";var n=r(52623),s=r(62250),o=r(45807),i=r(76264)("toStringTag"),a=Object,l="Arguments"===o(function(){return arguments}());e.exports=n?o:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,t){try{return e[t]}catch(e){}}(e=a(e),i))?t:l?o(e):"Object"===(t=o(e))&&s(e.callee)?"Arguments":t}},19595:(e,t,r)=>{"use strict";var l=r(49724),c=r(11042),u=r(13846),p=r(74284);e.exports=function(e,t,r){for(var n=c(t),s=p.f,o=u.f,i=0;i<n.length;i++){var a=n[i];l(e,a)||r&&l(r,a)||s(e,a,o(t,a))}}},57382:(e,t,r)=>{"use strict";r=r(98828);e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},59550:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},61626:(e,t,r)=>{"use strict";var n=r(39447),s=r(74284),o=r(75817);e.exports=n?function(e,t,r){return s.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},75817:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},68055:(e,t,r)=>{"use strict";var s=r(61626);e.exports=function(e,t,r,n){return n&&n.enumerable?e[t]=r:s(e,t,r),e}},2532:(e,t,r)=>{"use strict";var n=r(41010),s=Object.defineProperty;e.exports=function(t,r){try{s(n,t,{value:r,configurable:!0,writable:!0})}catch(e){n[t]=r}return r}},39447:(e,t,r)=>{"use strict";r=r(98828);e.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},49552:(e,t,r)=>{"use strict";var n=r(41010),r=r(46285),s=n.document,o=r(s)&&r(s.createElement);e.exports=function(e){return o?s.createElement(e):{}}},19287:e=>{"use strict";e.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}},64723:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},15683:(e,t,r)=>{"use strict";var n,s,o=r(41010),r=r(64723),i=o.process,o=o.Deno,i=i&&i.versions||o&&o.version,o=i&&i.v8;!(s=o?0<(n=o.split("."))[0]&&n[0]<4?1:+(n[0]+n[1]):s)&&r&&(!(n=r.match(/Edge\/(\d+)/))||74<=n[1])&&(n=r.match(/Chrome\/(\d+)/))&&(s=+n[1]),e.exports=s},80376:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},85762:(e,t,r)=>{"use strict";var r=r(1907),n=Error,s=r("".replace),r=String(new n("zxcasd").stack),o=/\n\s*at [^:]*:[^\n]*/,i=o.test(r);e.exports=function(e,t){if(i&&"string"==typeof e&&!n.prepareStackTrace)for(;t--;)e=s(e,o,"");return e}},85884:(e,t,r)=>{"use strict";var s=r(61626),o=r(85762),i=r(23888),a=Error.captureStackTrace;e.exports=function(e,t,r,n){i&&(a?a(e,t):s(e,"stack",o(r,n)))}},23888:(e,t,r)=>{"use strict";var n=r(98828),s=r(75817);e.exports=!n(function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)})},11091:(e,t,r)=>{"use strict";function m(n){function s(e,t,r){if(this instanceof s){switch(arguments.length){case 0:return new n;case 1:return new n(e);case 2:return new n(e,t)}return new n(e,t,r)}return o(n,this,arguments)}return s.prototype=n.prototype,s}var g=r(41010),o=r(76024),y=r(92361),v=r(62250),b=r(13846).f,w=r(7463),E=r(92046),x=r(28311),S=r(61626),_=r(49724);r(36128);e.exports=function(e,t){var r,n,s,o,i,a,l=e.target,c=e.global,u=e.stat,p=e.proto,h=c?g:u?g[l]:g[l]&&g[l].prototype,d=c?E:E[l]||S(E,l,{})[l],f=d.prototype;for(n in t)i=!(r=w(c?n:l+(u?".":"#")+n,e.forced))&&h&&_(h,n),o=d[n],i&&(a=e.dontCallGetSet?(a=b(h,n))&&a.value:h[n]),s=i&&a?a:t[n],(r||p||typeof o!=typeof s)&&(i=e.bind&&i?x(s,g):e.wrap&&i?m(s):p&&v(s)?y(s):s,(e.sham||s&&s.sham||o&&o.sham)&&S(i,"sham",!0),S(d,n,i),p&&(_(E,o=l+"Prototype")||S(E,o,{}),S(E[o],n,s),e.real&&f&&(r||!f[n])&&S(f,n,s)))}},98828:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},76024:(e,t,r)=>{"use strict";var r=r(41505),n=Function.prototype,s=n.apply,o=n.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(s):function(){return o.apply(s,arguments)})},28311:(e,t,r)=>{"use strict";var n=r(92361),s=r(82159),o=r(41505),i=n(n.bind);e.exports=function(e,t){return s(e),void 0===t?e:o?i(e,t):function(){return e.apply(t,arguments)}}},41505:(e,t,r)=>{"use strict";r=r(98828);e.exports=!r(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},44673:(e,t,r)=>{"use strict";var n=r(1907),s=r(82159),o=r(46285),u=r(49724),p=r(93427),r=r(41505),h=Function,d=n([].concat),f=n([].join),m={};e.exports=r?h.bind:function(i){var a=s(this),e=a.prototype,l=p(arguments,1),c=function(){var e=d(l,p(arguments));if(this instanceof c){var t=a,r=e.length,n=e;if(!u(m,r)){for(var s=[],o=0;o<r;o++)s[o]="a["+o+"]";m[r]=h("C,a","return new C("+f(s,",")+")")}return m[r](t,n)}return a.apply(i,e)};return o(e)&&(c.prototype=e),c}},13930:(e,t,r)=>{"use strict";var r=r(41505),n=Function.prototype.call;e.exports=r?n.bind(n):function(){return n.apply(n,arguments)}},36833:(e,t,r)=>{"use strict";var n=r(39447),r=r(49724),s=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,r=r(s,"name"),i=r&&"something"===function(){}.name,n=r&&(!n||o(s,"name").configurable);e.exports={EXISTS:r,PROPER:i,CONFIGURABLE:n}},51871:(e,t,r)=>{"use strict";var n=r(1907),s=r(82159);e.exports=function(e,t,r){try{return n(s(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},92361:(e,t,r)=>{"use strict";var n=r(45807),s=r(1907);e.exports=function(e){if("Function"===n(e))return s(e)}},1907:(e,t,r)=>{"use strict";var r=r(41505),n=Function.prototype,s=n.call,n=r&&n.bind.bind(s,s);e.exports=r?n:function(e){return function(){return s.apply(e,arguments)}}},61747:(e,t,r)=>{"use strict";var n=r(41010),s=r(92046);e.exports=function(e,t){var r=s[e+"Prototype"],r=r&&r[t];if(r)return r;r=n[e],e=r&&r.prototype;return e&&e[t]}},85582:(e,t,r)=>{"use strict";function n(e){return i(e)?e:void 0}var s=r(92046),o=r(41010),i=r(62250);e.exports=function(e,t){return arguments.length<2?n(s[e])||n(o[e]):s[e]&&s[e][t]||o[e]&&o[e][t]}},73448:(e,t,r)=>{"use strict";var n=r(73948),s=r(29367),o=r(87136),i=r(93742),a=r(76264)("iterator");e.exports=function(e){if(!o(e))return s(e,a)||s(e,"@@iterator")||i[n(e)]}},10300:(e,t,r)=>{"use strict";var n=r(13930),s=r(82159),o=r(36624),i=r(4640),a=r(73448),l=TypeError;e.exports=function(e,t){t=arguments.length<2?a(e):t;if(s(t))return o(n(t,e));throw new l(i(e)+" is not iterable")}},29367:(e,t,r)=>{"use strict";var n=r(82159),s=r(87136);e.exports=function(e,t){e=e[t];return s(e)?void 0:n(e)}},41010:function(e,t,r){"use strict";function n(e){return e&&e.Math===Math&&e}e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},49724:(e,t,r)=>{"use strict";var n=r(1907),s=r(39298),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(s(e),t)}},38530:e=>{"use strict";e.exports={}},62416:(e,t,r)=>{"use strict";r=r(85582);e.exports=r("document","documentElement")},73648:(e,t,r)=>{"use strict";var n=r(39447),s=r(98828),o=r(49552);e.exports=!n&&!s(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},16946:(e,t,r)=>{"use strict";var n=r(1907),s=r(98828),o=r(45807),i=Object,a=n("".split);e.exports=s(function(){return!i("z").propertyIsEnumerable(0)})?function(e){return"String"===o(e)?a(e,""):i(e)}:i},34084:(e,t,r)=>{"use strict";var n=r(62250),s=r(46285),o=r(79192);e.exports=function(e,t,r){return o&&n(t=t.constructor)&&t!==r&&s(t=t.prototype)&&t!==r.prototype&&o(e,t),e}},12647:(e,t,r)=>{"use strict";var n=r(1907),s=r(62250),r=r(36128),o=n(Function.toString);s(r.inspectSource)||(r.inspectSource=function(e){return o(e)}),e.exports=r.inspectSource},39259:(e,t,r)=>{"use strict";var n=r(46285),s=r(61626);e.exports=function(e,t){n(t)&&"cause"in t&&s(e,"cause",t.cause)}},64932:(e,t,r)=>{"use strict";var n,s,o,i,a=r(40551),l=r(41010),c=r(46285),u=r(61626),p=r(49724),h=r(36128),d=r(92522),r=r(38530),f="Object already initialized",m=l.TypeError,l=l.WeakMap,g=a||h.state?((o=h.state||(h.state=new l)).get=o.get,o.has=o.has,o.set=o.set,n=function(e,t){if(o.has(e))throw new m(f);return t.facade=e,o.set(e,t),t},s=function(e){return o.get(e)||{}},function(e){return o.has(e)}):(r[i=d("state")]=!0,n=function(e,t){if(p(e,i))throw new m(f);return t.facade=e,u(e,i,t),t},s=function(e){return p(e,i)?e[i]:{}},function(e){return p(e,i)});e.exports={set:n,get:s,has:g,enforce:function(e){return g(e)?s(e):n(e,{})},getterFor:function(t){return function(e){if(c(e)&&(e=s(e)).type===t)return e;throw new m("Incompatible receiver, "+t+" required")}}}},37812:(e,t,r)=>{"use strict";var n=r(76264),s=r(93742),o=n("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||i[o]===e)}},62250:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},25468:(e,t,r)=>{"use strict";function n(){}function s(e){if(!l(e))return!1;try{return h(n,[],e),!0}catch(e){return!1}}function o(e){if(!l(e))return!1;switch(c(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!f(d,p(e))}catch(e){return!0}}var i=r(1907),a=r(98828),l=r(62250),c=r(73948),u=r(85582),p=r(12647),h=u("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=i(d.exec),m=!d.test(n);o.sham=!0,e.exports=!h||a(function(){var e;return s(s.call)||!s(Object)||!s(function(){e=!0})||e})?o:s},7463:(e,t,r)=>{"use strict";function n(e,t){return(e=l[a(e)])===u||e!==c&&(o(t)?s(t):!!t)}var s=r(98828),o=r(62250),i=/#|\.prototype\./,a=n.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=n.data={},c=n.NATIVE="N",u=n.POLYFILL="P";e.exports=n},87136:e=>{"use strict";e.exports=function(e){return null==e}},46285:(e,t,r)=>{"use strict";var n=r(62250);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},54018:(e,t,r)=>{"use strict";var n=r(46285);e.exports=function(e){return n(e)||null===e}},7376:e=>{"use strict";e.exports=!0},72087:(e,t,r)=>{"use strict";var n=r(46285),s=r(45807),o=r(76264)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"===s(e))}},25594:(e,t,r)=>{"use strict";var n=r(85582),s=r(62250),o=r(88280),r=r(51175),i=Object;e.exports=r?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return s(t)&&o(t.prototype,i(e))}},24823:(e,t,r)=>{"use strict";function y(e,t){this.stopped=e,this.result=t}var v=r(28311),b=r(13930),w=r(36624),E=r(4640),x=r(37812),S=r(20575),_=r(88280),k=r(10300),A=r(73448),O=r(40154),C=TypeError,j=y.prototype;e.exports=function(e,t,r){function n(e){return o&&O(o,"normal",e),new y(!0,e)}function s(e){return h?(w(e),m?g(e[0],e[1],n):g(e[0],e[1])):m?g(e,n):g(e)}var o,i,a,l,c,u,p=r&&r.that,h=!(!r||!r.AS_ENTRIES),d=!(!r||!r.IS_RECORD),f=!(!r||!r.IS_ITERATOR),m=!(!r||!r.INTERRUPTED),g=v(t,p);if(d)o=e.iterator;else if(f)o=e;else{if(!(r=A(e)))throw new C(E(e)+" is not iterable");if(x(r)){for(i=0,a=S(e);i<a;i++)if((l=s(e[i]))&&_(j,l))return l;return new y(!1)}o=k(e,r)}for(c=(d?e:o).next;!(u=b(c,o)).done;){try{l=s(u.value)}catch(e){O(o,"throw",e)}if("object"==typeof l&&l&&_(j,l))return l}return new y(!1)}},40154:(e,t,r)=>{"use strict";var o=r(13930),i=r(36624),a=r(29367);e.exports=function(e,t,r){var n,s;i(e);try{if(!(n=a(e,"return"))){if("throw"===t)throw r;return r}n=o(n,e)}catch(e){s=!0,n=e}if("throw"===t)throw r;if(s)throw n;return i(n),r}},47181:(e,t,r)=>{"use strict";function s(){return this}var o=r(95116).IteratorPrototype,i=r(58075),a=r(75817),l=r(14840),c=r(93742);e.exports=function(e,t,r,n){t+=" Iterator";return e.prototype=i(o,{next:a(+!n,r)}),l(e,t,!1,!0),c[t]=s,e}},60183:(e,t,r)=>{"use strict";function m(){return this}var g=r(11091),y=r(13930),v=r(7376),n=r(36833),b=r(62250),w=r(47181),E=r(15972),x=r(79192),S=r(14840),_=r(61626),k=r(68055),s=r(76264),A=r(93742),r=r(95116),O=n.PROPER,C=n.CONFIGURABLE,j=r.IteratorPrototype,P=r.BUGGY_SAFARI_ITERATORS,N=s("iterator"),I="values";e.exports=function(e,t,r,n,s,o,i){w(r,t,n);function a(e){if(e===s&&d)return d;if(!P&&e&&e in p)return p[e];switch(e){case"keys":case I:case"entries":return function(){return new r(this,e)}}return function(){return new r(this)}}var l,c,n=t+" Iterator",u=!1,p=e.prototype,h=p[N]||p["@@iterator"]||s&&p[s],d=!P&&h||a(s),f="Array"===t&&p.entries||h;if(f&&(f=E(f.call(new e)))!==Object.prototype&&f.next&&(v||E(f)===j||(x?x(f,j):b(f[N])||k(f,N,m)),S(f,n,!0,!0),v&&(A[n]=m)),O&&s===I&&h&&h.name!==I&&(!v&&C?_(p,"name",I):(u=!0,d=function(){return y(h,this)})),s)if(l={values:a(I),keys:o?d:a("keys"),entries:a("entries")},i)for(c in l)!P&&!u&&c in p||k(p,c,l[c]);else g({target:t,proto:!0,forced:P||u},l);return v&&!i||p[N]===d||k(p,N,d,{name:s}),A[t]=d,l}},95116:(e,t,r)=>{"use strict";var n,s,o=r(98828),i=r(62250),a=r(46285),l=r(58075),c=r(15972),u=r(68055),p=r(76264),r=r(7376),h=p("iterator"),p=!1;[].keys&&("next"in(s=[].keys())?(c=c(c(s)))!==Object.prototype&&(n=c):p=!0),!a(n)||o(function(){var e={};return n[h].call(e)!==e})?n={}:r&&(n=l(n)),i(n[h])||u(n,h,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},93742:e=>{"use strict";e.exports={}},20575:(e,t,r)=>{"use strict";var n=r(3121);e.exports=function(e){return n(e.length)}},41176:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){e=+e;return(0<e?r:t)(e)}},32096:(e,t,r)=>{"use strict";var n=r(90160);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},29538:(e,t,r)=>{"use strict";var h=r(39447),n=r(1907),d=r(13930),s=r(98828),f=r(2875),m=r(87170),g=r(22574),y=r(39298),v=r(16946),o=Object.assign,i=Object.defineProperty,b=n([].concat);e.exports=!o||s(function(){if(h&&1!==o({b:1},o(i({},"a",{enumerable:!0,get:function(){i(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!==o({},e)[r]||f(o({},t)).join("")!==n})?function(e,t){for(var r=y(e),n=arguments.length,s=1,o=m.f,i=g.f;s<n;)for(var a,l=v(arguments[s++]),c=o?b(f(l),o(l)):f(l),u=c.length,p=0;p<u;)a=c[p++],h&&!d(i,l,a)||(r[a]=l[a]);return r}:o},58075:(e,t,r)=>{"use strict";function n(){}function s(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t}var o,i=r(36624),a=r(42220),l=r(80376),c=r(38530),u=r(62416),p=r(49552),r=r(92522),h="prototype",d="script",f=r("IE_PROTO"),m=function(e){return"<"+d+">"+e+"</"+d+">"},g=function(){try{o=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;g="undefined"==typeof document||document.domain&&o?s(o):(t=p("iframe"),r="java"+d+":",t.style.display="none",u.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F);for(var n=l.length;n--;)delete g[h][l[n]];return g()};c[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(n[h]=i(e),r=new n,n[h]=null,r[f]=e):r=g(),void 0===t?r:a.f(r,t)}},42220:(e,t,r)=>{"use strict";var n=r(39447),s=r(58661),a=r(74284),l=r(36624),c=r(4993),u=r(2875);t.f=n&&!s?Object.defineProperties:function(e,t){l(e);for(var r,n=c(t),s=u(t),o=s.length,i=0;i<o;)a.f(e,r=s[i++],n[r]);return e}},74284:(e,t,r)=>{"use strict";var n=r(39447),s=r(73648),o=r(58661),i=r(36624),a=r(70470),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",h="configurable",d="writable";t.f=n?o?function(e,t,r){var n;return i(e),t=a(t),i(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]&&(n=u(e,t))&&n[d]&&(e[t]=r.value,r={configurable:(h in r?r:n)[h],enumerable:(p in r?r:n)[p],writable:!1}),c(e,t,r)}:c:function(e,t,r){if(i(e),t=a(t),i(r),s)try{return c(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},13846:(e,t,r)=>{"use strict";var n=r(39447),s=r(13930),o=r(22574),i=r(75817),a=r(4993),l=r(70470),c=r(49724),u=r(73648),p=Object.getOwnPropertyDescriptor;t.f=n?p:function(e,t){if(e=a(e),t=l(t),u)try{return p(e,t)}catch(e){}if(c(e,t))return i(!s(o.f,e,t),e[t])}},24443:(e,t,r)=>{"use strict";var n=r(23045),s=r(80376).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,s)}},87170:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},15972:(e,t,r)=>{"use strict";var n=r(49724),s=r(62250),o=r(39298),i=r(92522),r=r(57382),a=i("IE_PROTO"),l=Object,c=l.prototype;e.exports=r?l.getPrototypeOf:function(e){e=o(e);if(n(e,a))return e[a];var t=e.constructor;return s(t)&&e instanceof t?t.prototype:e instanceof l?c:null}},88280:(e,t,r)=>{"use strict";r=r(1907);e.exports=r({}.isPrototypeOf)},23045:(e,t,r)=>{"use strict";var n=r(1907),i=r(49724),a=r(4993),l=r(74436).indexOf,c=r(38530),u=n([].push);e.exports=function(e,t){var r,n=a(e),s=0,o=[];for(r in n)!i(c,r)&&i(n,r)&&u(o,r);for(;t.length>s;)!i(n,r=t[s++])||~l(o,r)||u(o,r);return o}},2875:(e,t,r)=>{"use strict";var n=r(23045),s=r(80376);e.exports=Object.keys||function(e){return n(e,s)}},22574:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);t.f=s?function(e){e=n(this,e);return!!e&&e.enumerable}:r},79192:(e,t,r)=>{"use strict";var s=r(51871),o=r(46285),i=r(74239),a=r(10043);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r,n=!1,e={};try{(r=s(Object.prototype,"__proto__","set"))(e,[]),n=e instanceof Array}catch(r){}return function(e,t){return i(e),a(t),o(e)&&(n?r(e,t):e.__proto__=t),e}}():void 0)},54878:(e,t,r)=>{"use strict";var n=r(52623),s=r(73948);e.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},60581:(e,t,r)=>{"use strict";var s=r(13930),o=r(62250),i=r(46285),a=TypeError;e.exports=function(e,t){var r,n;if("string"===t&&o(r=e.toString)&&!i(n=s(r,e)))return n;if(o(r=e.valueOf)&&!i(n=s(r,e)))return n;if("string"!==t&&o(r=e.toString)&&!i(n=s(r,e)))return n;throw new a("Can't convert object to primitive value")}},11042:(e,t,r)=>{"use strict";var n=r(85582),s=r(1907),o=r(24443),i=r(87170),a=r(36624),l=s([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=i.f;return r?l(t,r(e)):t}},92046:e=>{"use strict";e.exports={}},54829:(e,t,r)=>{"use strict";var n=r(74284).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},70971:(e,t,r)=>{"use strict";var n=r(13930),s=r(36624),o=r(62250),i=r(45807),a=r(16820),l=TypeError;e.exports=function(e,t){var r=e.exec;if(o(r))return null!==(r=n(r,e,t))&&s(r),r;if("RegExp"===i(e))return n(a,e,t);throw new l("RegExp#exec called on incompatible receiver")}},16820:e=>{"use strict";e.exports=/./.exec},85606:(e,t,r)=>{"use strict";var n=r(36624);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},40663:(e,t,r)=>{"use strict";var n=r(13930),s=r(49724),o=r(88280),i=r(85606),a=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in a||s(e,"flags")||!o(a,e)?t:n(i,e)}},74239:(e,t,r)=>{"use strict";var n=r(87136),s=TypeError;e.exports=function(e){if(n(e))throw new s("Can't call method on "+e);return e}},14840:(e,t,r)=>{"use strict";var s=r(52623),o=r(74284).f,i=r(61626),a=r(49724),l=r(54878),c=r(76264)("toStringTag");e.exports=function(e,t,r,n){r=r?e:e&&e.prototype;r&&(a(r,c)||o(r,c,{configurable:!0,value:t}),n&&!s&&i(r,"toString",l))}},92522:(e,t,r)=>{"use strict";var n=r(85816),s=r(6499),o=n("keys");e.exports=function(e){return o[e]||(o[e]=s(e))}},36128:(e,t,r)=>{"use strict";var n=r(7376),s=r(41010),r=r(2532),o="__core-js_shared__",e=e.exports=s[o]||r(o,{});(e.versions||(e.versions=[])).push({version:"3.37.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},85816:(e,t,r)=>{"use strict";var n=r(36128);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},28450:(e,t,r)=>{"use strict";var n=r(36624),s=r(82235),o=r(87136),i=r(76264)("species");e.exports=function(e,t){var e=n(e).constructor;return void 0===e||o(e=n(e)[i])?t:s(e)}},11470:(e,t,r)=>{"use strict";function n(s){return function(e,t){var r,e=i(a(e)),t=o(t),n=e.length;return t<0||n<=t?s?"":void 0:(r=c(e,t))<55296||56319<r||t+1===n||(n=c(e,t+1))<56320||57343<n?s?l(e,t):r:s?u(e,t,t+2):n-56320+(r-55296<<10)+65536}}var s=r(1907),o=r(65482),i=r(90160),a=r(74239),l=s("".charAt),c=s("".charCodeAt),u=s("".slice);e.exports={codeAt:n(!1),charAt:n(!0)}},19846:(e,t,r)=>{"use strict";var n=r(15683),s=r(98828),o=r(41010).String;e.exports=!!Object.getOwnPropertySymbols&&!s(function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},34849:(e,t,r)=>{"use strict";var n=r(65482),s=Math.max,o=Math.min;e.exports=function(e,t){e=n(e);return e<0?s(e+t,0):o(e,t)}},4993:(e,t,r)=>{"use strict";var n=r(16946),s=r(74239);e.exports=function(e){return n(s(e))}},65482:(e,t,r)=>{"use strict";var n=r(41176);e.exports=function(e){e=+e;return e!=e||0==e?0:n(e)}},3121:(e,t,r)=>{"use strict";var n=r(65482),s=Math.min;e.exports=function(e){e=n(e);return 0<e?s(e,9007199254740991):0}},39298:(e,t,r)=>{"use strict";var n=r(74239),s=Object;e.exports=function(e){return s(n(e))}},46028:(e,t,r)=>{"use strict";var n=r(13930),s=r(46285),o=r(25594),i=r(29367),a=r(60581),r=r(76264),l=TypeError,c=r("toPrimitive");e.exports=function(e,t){if(!s(e)||o(e))return e;var r=i(e,c);if(r){if(r=n(r,e,t=void 0===t?"default":t),!s(r)||o(r))return r;throw new l("Can't convert object to primitive value")}return a(e,t=void 0===t?"number":t)}},70470:(e,t,r)=>{"use strict";var n=r(46028),s=r(25594);e.exports=function(e){e=n(e,"string");return s(e)?e:e+""}},52623:(e,t,r)=>{"use strict";var n={};n[r(76264)("toStringTag")]="z",e.exports="[object z]"===String(n)},90160:(e,t,r)=>{"use strict";var n=r(73948),s=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return s(e)}},4640:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},6499:(e,t,r)=>{"use strict";var r=r(1907),n=0,s=Math.random(),o=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++n+s,36)}},51175:(e,t,r)=>{"use strict";r=r(19846);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},58661:(e,t,r)=>{"use strict";var n=r(39447),r=r(98828);e.exports=n&&r(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},40551:(e,t,r)=>{"use strict";var n=r(41010),r=r(62250),n=n.WeakMap;e.exports=r(n)&&/native code/.test(String(n))},76264:(e,t,r)=>{"use strict";var n=r(41010),s=r(85816),o=r(49724),i=r(6499),a=r(19846),r=r(51175),l=n.Symbol,c=s("wks"),u=r?l.for||l:l&&l.withoutSetter||i;e.exports=function(e){return o(c,e)||(c[e]=a&&o(l,e)?l[e]:u("Symbol."+e)),c[e]}},19358:(e,t,r)=>{"use strict";var p=r(85582),h=r(49724),d=r(61626),f=r(88280),m=r(79192),g=r(19595),y=r(54829),v=r(34084),b=r(32096),w=r(39259),E=r(85884),x=r(39447),S=r(7376);e.exports=function(e,t,r,n){var s="stackTraceLimit",o=n?2:1,i=e.split("."),a=i[i.length-1],l=p.apply(null,i);if(l){var c=l.prototype;if(!S&&h(c,"cause")&&delete c.cause,!r)return l;var i=p("Error"),u=t(function(e,t){t=b(n?t:e,void 0),e=n?new l(e):new l;return void 0!==t&&d(e,"message",t),E(e,u,e.stack,2),this&&f(c,this)&&v(e,this,u),o<arguments.length&&w(e,arguments[o]),e});if(u.prototype=c,"Error"!==a?m?m(u,i):g(u,i,{name:!0}):x&&s in l&&(y(u,l,s),y(u,l,"prepareStackTrace")),g(u,l),!S)try{c.name!==a&&d(c,"name",a),c.constructor=u}catch(e){}return u}}},36371:(e,t,r)=>{"use strict";var n=r(11091),s=r(85582),o=r(76024),i=r(98828),r=r(19358),a="AggregateError",l=s(a),s=!i(function(){return 1!==l([1]).errors[0]})&&i(function(){return 7!==l([1],a,{cause:7}).cause});n({global:!0,constructor:!0,arity:2,forced:s},{AggregateError:r(a,function(r){return function(e,t){return o(r,this,arguments)}},s,!0)})},82048:(e,t,r)=>{"use strict";function s(e,t){var r,n=o(b,this);return a?r=a(new y,n?i(this):b):(r=n?this:c(b),u(r,g,"Error")),void 0!==t&&u(r,"message",m(t)),d(r,s,r.stack,1),2<arguments.length&&h(r,arguments[2]),f(e,v,{that:n=[]}),u(r,"errors",n),r}var n=r(11091),o=r(88280),i=r(15972),a=r(79192),l=r(19595),c=r(58075),u=r(61626),p=r(75817),h=r(39259),d=r(85884),f=r(24823),m=r(32096),g=r(76264)("toStringTag"),y=Error,v=[].push,b=(a?a(s,y):l(s,y,{name:!0}),s.prototype=c(y.prototype,{constructor:p(1,s),message:p(1,""),name:p(1,"AggregateError")}));n({global:!0,constructor:!0,arity:2},{AggregateError:s})},64502:(e,t,r)=>{"use strict";r(82048)},99363:(e,t,r)=>{"use strict";var n=r(4993),s=r(42156),o=r(93742),i=r(64932),a=r(74284).f,l=r(60183),c=r(59550),u=r(7376),r=r(39447),p="Array Iterator",h=i.set,d=i.getterFor(p),i=(e.exports=l(Array,"Array",function(e,t){h(this,{type:p,target:n(e),index:0,kind:t})},function(){var e=d(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,c(void 0,!0);switch(e.kind){case"keys":return c(r,!1);case"values":return c(t[r],!1)}return c([r,t[r]],!1)},"values"),o.Arguments=o.Array);if(s("keys"),s("values"),s("entries"),!u&&r&&"values"!==i.name)try{a(i,"name",{value:"values"})}catch(e){}},96605:(e,t,r)=>{"use strict";function n(e,t){var r={};r[e]=l(e,t,p),o({global:!0,constructor:!0,arity:1,forced:p},r)}function s(e,t){var r;u&&u[e]&&((r={})[e]=l(c+"."+e,t,p),o({target:c,stat:!0,constructor:!0,arity:1,forced:p},r))}var o=r(11091),i=r(41010),a=r(76024),l=r(19358),c="WebAssembly",u=i[c],p=7!==new Error("e",{cause:7}).cause;n("Error",function(t){return function(e){return a(t,this,arguments)}}),n("EvalError",function(t){return function(e){return a(t,this,arguments)}}),n("RangeError",function(t){return function(e){return a(t,this,arguments)}}),n("ReferenceError",function(t){return function(e){return a(t,this,arguments)}}),n("SyntaxError",function(t){return function(e){return a(t,this,arguments)}}),n("TypeError",function(t){return function(e){return a(t,this,arguments)}}),n("URIError",function(t){return function(e){return a(t,this,arguments)}}),s("CompileError",function(t){return function(e){return a(t,this,arguments)}}),s("LinkError",function(t){return function(e){return a(t,this,arguments)}}),s("RuntimeError",function(t){return function(e){return a(t,this,arguments)}})},79307:(e,t,r)=>{"use strict";var n=r(11091),r=r(44673);n({target:"Function",proto:!0,forced:Function.bind!==r},{bind:r})},71340:(e,t,r)=>{"use strict";var n=r(11091),r=r(29538);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},86024:()=>{},51398:()=>{},7057:(e,t,r)=>{"use strict";var n=r(11470).charAt,s=r(90160),o=r(64932),i=r(60183),a=r(59550),l="String Iterator",c=o.set,u=o.getterFor(l);i(String,"String",function(e){c(this,{type:l,string:s(e),index:0})},function(){var e=u(this),t=e.string,r=e.index;return r>=t.length?a(void 0,!0):(t=n(t,r),e.index+=t.length,a(t,!1))})},79104:(e,t,r)=>{"use strict";function n(e){var t=h(this),e=p(e),r=E(t,RegExp),n=p(g(t)),r=new r(r===RegExp?t.source:t,n),s=!!~N(n,"g"),n=!!~N(n,"u");return r.lastIndex=u(t.lastIndex),new M(r,e,s,n)}var s=r(11091),o=r(13930),i=r(92361),a=r(47181),l=r(59550),c=r(74239),u=r(3121),p=r(90160),h=r(36624),d=r(87136),f=r(45807),m=r(72087),g=r(40663),y=r(29367),v=r(68055),b=r(98828),w=r(76264),E=r(28450),x=r(25592),S=r(70971),_=r(64932),k=r(7376),A=w("matchAll"),r="RegExp String",O=r+" Iterator",C=_.set,j=_.getterFor(O),w=RegExp.prototype,P=TypeError,N=i("".indexOf),I=i("".matchAll),T=!!I&&!b(function(){I("a",/./)}),M=a(function(e,t,r,n){C(this,{type:O,regexp:e,string:t,global:r,unicode:n,done:!1})},r,function(){var e=j(this);if(e.done)return l(void 0,!0);var t=e.regexp,r=e.string,n=S(t,r);return null===n?(e.done=!0,l(void 0,!0)):(e.global?""===p(n[0])&&(t.lastIndex=x(r,u(t.lastIndex),e.unicode)):e.done=!0,l(n,!1))});s({target:"String",proto:!0,forced:T},{matchAll:function(e){var t,r=c(this);if(d(e)){if(T)return I(r,e)}else{if(m(e)&&(t=p(c(g(e))),!~N(t,"g")))throw new P("`.matchAll` does not allow non-global regexes");if(T)return I(r,e);if(t=void 0===(t=y(e,A))&&k&&"RegExp"===f(e)?n:t)return o(t,e,r)}return t=p(r),r=new RegExp(e,"g"),k?o(n,r,t):r[A](t)}}),k||A in w||v(w,A,n)},91599:(e,t,r)=>{"use strict";r(64502)},37347:(e,t,r)=>{"use strict";r(79104)},12560:(e,t,r)=>{"use strict";r(99363);var n,s=r(19287),o=r(41010),i=r(14840),a=r(93742);for(n in s)i(o[n],n),a[n]=a.Array},694:(e,t,r)=>{"use strict";r(91599);var n=r(37257);r(12560),e.exports=n},19709:(e,t,r)=>{"use strict";r=r(23034);e.exports=r},96203:(e,t,r)=>{"use strict";r=r(3258);e.exports=r},40975:(e,t,r)=>{"use strict";r=r(9748);e.exports=r}},n={};function cI(e){var t=n[e];if(void 0!==t)return t.exports;t=n[e]={id:e,loaded:!1,exports:{}};return r[e].call(t.exports,t,t.exports,cI),t.loaded=!0,t.exports}cI.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return cI.d(t,{a:t}),t},i=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,cI.t=function(t,e){if(1&e&&(t=this(t)),8&e)return t;if("object"==typeof t&&t){if(4&e&&t.__esModule)return t;if(16&e&&"function"==typeof t.then)return t}var r=Object.create(null),n=(cI.r(r),{});o=o||[null,i({}),i([]),i(i)];for(var s=2&e&&t;"object"==typeof s&&!~o.indexOf(s);s=i(s))Object.getOwnPropertyNames(s).forEach(e=>n[e]=()=>t[e]);return n.default=()=>t,cI.d(r,n),r},cI.d=(e,t)=>{for(var r in t)cI.o(t,r)&&!cI.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},cI.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),cI.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),cI.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},cI.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var uI={};return(()=>{"use strict";cI.d(uI,{default:()=>aI});var y={},O=(cI.r(y),cI.d(y,{CLEAR:()=>je,CLEAR_BY:()=>Pe,NEW_AUTH_ERR:()=>Ce,NEW_SPEC_ERR:()=>Ae,NEW_SPEC_ERR_BATCH:()=>Oe,NEW_THROWN_ERR:()=>_e,NEW_THROWN_ERR_BATCH:()=>ke,clear:()=>function(e={}){return{type:je,payload:e}},clearBy:()=>function(e=()=>!0){return{type:Pe,payload:e}},newAuthErr:()=>function(e){return{type:Ce,payload:e}},newSpecErr:()=>function(e){return{type:Ae,payload:e}},newSpecErrBatch:()=>function(e){return{type:Oe,payload:e}},newThrownErr:()=>function(e){return{type:_e,payload:(0,xe.serializeError)(e)}},newThrownErrBatch:()=>function(e){return{type:ke,payload:e}}}),{}),C=(cI.r(O),cI.d(O,{AUTHORIZE:()=>xt,AUTHORIZE_OAUTH2:()=>kt,CONFIGURE_AUTH:()=>Ot,LOGOUT:()=>St,PRE_AUTHORIZE_OAUTH2:()=>_t,RESTORE_AUTHORIZATION:()=>Ct,SHOW_AUTH_POPUP:()=>Et,VALIDATE:()=>At,authPopup:()=>Bt,authorize:()=>function(e){return{type:xt,payload:e}},authorizeAccessCodeWithBasicAuthentication:()=>Dt,authorizeAccessCodeWithFormParams:()=>Rt,authorizeApplication:()=>Mt,authorizeOauth2:()=>function(e){return{type:kt,payload:e}},authorizeOauth2WithPersistOption:()=>It,authorizePassword:()=>Tt,authorizeRequest:()=>Lt,authorizeWithPersistOption:()=>jt,configureAuth:()=>function(e){return{type:Ot,payload:e}},logout:()=>function(e){return{type:St,payload:e}},logoutWithPersistOption:()=>Pt,persistAuthorizationIfNeeded:()=>Ft,preAuthorizeImplicit:()=>Nt,restoreAuthorization:()=>function(e){return{type:Ct,payload:e}},showDefinitions:()=>function(e){return{type:Et,payload:e}}}),{}),j=(cI.r(C),cI.d(C,{authorized:()=>Qt,definitionsForRequirements:()=>Xt,definitionsToAuthorize:()=>Gt,getConfigs:()=>er,getDefinitionsByNames:()=>Yt,isAuthorized:()=>Zt,shownDefinitions:()=>Ht}),{}),P=(cI.r(j),cI.d(j,{TOGGLE_CONFIGS:()=>ys,UPDATE_CONFIGS:()=>gs,downloadConfig:()=>bs,getConfigByUrl:()=>ws,loaded:()=>vs,toggle:()=>function(e){return{type:ys,payload:e}},update:()=>function(e,t){return{type:gs,payload:{[e]:t}}}}),{}),I=(cI.r(P),cI.d(P,{get:()=>Es}),{}),T=(cI.r(I),cI.d(I,{transform:()=>function(e){return e.map(e=>{var t,r=e.get("message").indexOf("is not of a type(s)");return-1<r?(t=e.get("message").slice(r+19).split(","),e.set("message",e.get("message").slice(0,r)+t.reduce((e,t,r,n)=>r===n.length-1&&1<n.length?e+"or "+t:n[r+1]&&2<n.length?e+t+", ":n[r+1]?e+t+" ":e+t,"should be a"))):e})}}),{}),R=(cI.r(T),cI.d(T,{transform:()=>function(e,{}){return e}}),{}),D=(cI.r(R),cI.d(R,{allErrors:()=>Ls,lastError:()=>Fs}),{}),L=(cI.r(D),cI.d(D,{SHOW:()=>Ws,UPDATE_FILTER:()=>Vs,UPDATE_LAYOUT:()=>zs,UPDATE_MODE:()=>Ks,changeMode:()=>function(e,t=""){return e=We(e),{type:Ks,payload:{thing:e,mode:t}}},show:()=>function(e,t=!0){return e=We(e),{type:Ws,payload:{thing:e,shown:t}}},updateFilter:()=>function(e){return{type:Vs,payload:e}},updateLayout:()=>function(e){return{type:zs,payload:e}}}),{}),F=(cI.r(L),cI.d(L,{current:()=>Hs,currentFilter:()=>Gs,isShown:()=>Ys,showSummary:()=>Qs,whatMode:()=>Xs}),{}),U=(cI.r(F),cI.d(F,{taggedOperations:()=>Zs}),{}),z=(cI.r(U),cI.d(U,{requestSnippetGenerator_curl_bash:()=>uo,requestSnippetGenerator_curl_cmd:()=>po,requestSnippetGenerator_curl_powershell:()=>co}),{}),V=(cI.r(z),cI.d(z,{getActiveLanguage:()=>go,getDefaultExpanded:()=>yo,getGenerators:()=>fo,getSnippetGenerators:()=>mo}),{}),K=(cI.r(V),cI.d(V,{JsonSchemaArrayItemFile:()=>Xo,JsonSchemaArrayItemText:()=>Yo,JsonSchemaForm:()=>Jo,JsonSchema_array:()=>Go,JsonSchema_boolean:()=>Qo,JsonSchema_object:()=>Zo,JsonSchema_string:()=>Ho}),{}),W=(cI.r(K),cI.d(K,{allowTryItOutFor:()=>fa,basePath:()=>ea,canExecuteScheme:()=>_a,consumes:()=>Hi,consumesOptionsFor:()=>function(e,t){t=t||[];const r=Fi(e),n=r.getIn(["paths",...t],null);var s;if(null!==n)return[e]=t,t=n.get("consumes",null),e=r.getIn(["paths",e,"consumes"],null),s=r.getIn(["consumes"],null),t||e||s},contentTypeValues:()=>function(e,t){t=t||[];let r=Fi(e).getIn(["paths",...t],(0,$.fromJS)({})),n=e.getIn(["meta","paths",...t],(0,$.fromJS)({})),s=xa(e,t);e=r.get("parameters")||new $.List,t=n.get("consumes_value")?n.get("consumes_value"):Ea(e,"file")?"multipart/form-data":Ea(e,"formData")?"application/x-www-form-urlencoded":void 0;return(0,$.fromJS)({requestContentType:t,responseContentType:s})},currentProducesFor:()=>xa,definitions:()=>Zi,externalDocs:()=>Ui,findDefinition:()=>Qi,getOAS3RequiredRequestBodyContentType:()=>Oa,getParameter:()=>function(e,t,r,n){return t=t||[],e.getIn(["meta","paths",...t,"parameters"],(0,$.fromJS)([])).find(e=>$.Map.isMap(e)&&e.get("name")===r&&e.get("in")===n)||(0,$.Map)()},hasHost:()=>ba,host:()=>ta,info:()=>qi,isMediaTypeSchemaPropertiesEqual:()=>Ca,isOAS3:()=>$i,lastError:()=>ji,mutatedRequestFor:()=>da,mutatedRequests:()=>ua,operationScheme:()=>Sa,operationWithMeta:()=>va,operations:()=>Ji,operationsWithRootInherited:()=>na,operationsWithTags:()=>ia,parameterInclusionSettingFor:()=>ga,parameterValues:()=>wa,parameterWithMeta:()=>ya,parameterWithMetaByIdentity:()=>ma,parametersIncludeIn:()=>function(e,t=""){if($.List.isList(e))return e.some(e=>$.Map.isMap(e)&&e.get("in")===t)},parametersIncludeType:()=>Ea,paths:()=>Ki,produces:()=>Gi,producesOptionsFor:()=>function(e,t){t=t||[];const r=Fi(e),n=r.getIn(["paths",...t],null);var s;if(null!==n)return[e]=t,t=n.get("produces",null),e=r.getIn(["paths",e,"produces"],null),s=r.getIn(["produces"],null),t||e||s},requestFor:()=>ha,requests:()=>ca,responseFor:()=>pa,responses:()=>la,schemes:()=>ra,security:()=>Yi,securityDefinitions:()=>Xi,semver:()=>Vi,spec:()=>Bi,specJS:()=>Mi,specJson:()=>Ti,specJsonWithResolvedSubtrees:()=>Fi,specResolved:()=>Ri,specResolvedSubtree:()=>Di,specSource:()=>Ii,specStr:()=>Ni,tagDetails:()=>oa,taggedOperations:()=>aa,tags:()=>sa,url:()=>Pi,validOperationMethods:()=>Wi,validateBeforeExecute:()=>Aa,validationErrors:()=>ka,version:()=>zi}),{}),J=(cI.r(W),cI.d(W,{CLEAR_REQUEST:()=>Va,CLEAR_RESPONSE:()=>za,CLEAR_VALIDATE_PARAMS:()=>Ka,LOG_REQUEST:()=>Ua,SET_MUTATED_REQUEST:()=>qa,SET_REQUEST:()=>$a,SET_RESPONSE:()=>Ba,SET_SCHEME:()=>Ga,UPDATE_EMPTY_PARAM_INCLUSION:()=>La,UPDATE_JSON:()=>Ra,UPDATE_OPERATION_META_VALUE:()=>Wa,UPDATE_PARAM:()=>Da,UPDATE_RESOLVED:()=>Ja,UPDATE_RESOLVED_SUBTREE:()=>Ha,UPDATE_SPEC:()=>Ta,UPDATE_URL:()=>Ma,VALIDATE_PARAMS:()=>Fa,changeConsumesValue:()=>function(e,t){return{type:Wa,payload:{path:e,value:t,key:"consumes_value"}}},changeParam:()=>function(e,t,r,n,s){return{type:Da,payload:{path:e,value:n,paramName:t,paramIn:r,isXml:s}}},changeParamByIdentity:()=>function(e,t,r,n){return{type:Da,payload:{path:e,param:t,value:r,isXml:n}}},changeProducesValue:()=>function(e,t){return{type:Wa,payload:{path:e,value:t,key:"produces_value"}}},clearRequest:()=>function(e,t){return{type:Va,payload:{path:e,method:t}}},clearResponse:()=>function(e,t){return{type:za,payload:{path:e,method:t}}},clearValidateParams:()=>function(e){return{type:Ka,payload:{pathMethod:e}}},execute:()=>hl,executeRequest:()=>pl,invalidateResolvedSubtreeCache:()=>sl,logRequest:()=>ul,parseToJson:()=>Xa,requestResolvedSubtree:()=>rl,resolveSpec:()=>Za,setMutatedRequest:()=>cl,setRequest:()=>ll,setResponse:()=>al,setScheme:()=>function(e,t,r){return{type:Ga,payload:{scheme:e,path:t,method:r}}},updateEmptyParamInclusion:()=>il,updateJsonSpec:()=>function(e){return{type:Ra,payload:e}},updateResolved:()=>function(e){return{type:Ja,payload:e}},updateResolvedSubtree:()=>nl,updateSpec:()=>function(e){var t=Ya(e).replace(/\t/g," ");if("string"==typeof e)return{type:Ta,payload:t}},updateUrl:()=>function(e){return{type:Ma,payload:e}},validateParams:()=>ol}),{}),H=(cI.r(J),cI.d(J,{executeRequest:()=>gl,updateJsonSpec:()=>ml,updateSpec:()=>fl,validateParams:()=>yl}),{}),G=(cI.r(H),cI.d(H,{JsonPatchError:()=>jl,_areEquals:()=>Bl,applyOperation:()=>Rl,applyPatch:()=>Dl,applyReducer:()=>function(e,t,r){var n=Rl(e,t);if(!1===n.test)throw new jl("Test operation failed","TEST_OPERATION_FAILED",r,t,e);return n.newDocument},deepClone:()=>Pl,getValueByPointer:()=>Ml,validate:()=>Fl,validator:()=>Ll}),{}),Y=(cI.r(G),cI.d(G,{compare:()=>function(e,t,r){var n=[];return Vl(e,t,n,"",r=void 0!==r&&r),n},generate:()=>zl,observe:()=>function(e,t){var r,n=function(e){return $l.get(e)}(e);{var s;n?(s=function(e,t){return e.observers.get(t)}(n,t),r=s&&s.observer):(n=new ql(e),$l.set(e,n))}if(r)return r;{var o,i;r={},n.value=Sl(e),t&&(r.callback=t,r.next=null,o=function(){zl(r)},i=function(){clearTimeout(r.next),r.next=setTimeout(o)},"undefined"!=typeof window&&(window.addEventListener("mouseup",i),window.addEventListener("keyup",i),window.addEventListener("mousedown",i),window.addEventListener("keydown",i),window.addEventListener("change",i)))}return r.patches=[],r.object=e,r.unobserve=function(){var e;zl(r),clearTimeout(r.next),e=r,n.observers.delete(e.callback),"undefined"!=typeof window&&(window.removeEventListener("mouseup",i),window.removeEventListener("keyup",i),window.removeEventListener("mousedown",i),window.removeEventListener("keydown",i),window.removeEventListener("change",i))},n.observers.set(t,new Ul(t,r)),r},unobserve:()=>function(e,t){t.unobserve()}}),{}),X=(cI.r(Y),cI.d(Y,{hasElementSourceMap:()=>Qd,includesClasses:()=>ef,includesSymbols:()=>Zd,isAnnotationElement:()=>Jd,isArrayElement:()=>zd,isBooleanElement:()=>Ud,isCommentElement:()=>Hd,isElement:()=>Bd,isLinkElement:()=>Kd,isMemberElement:()=>Vd,isNullElement:()=>qd,isNumberElement:()=>$d,isObjectElement:()=>w,isParseResultElement:()=>Gd,isPrimitiveElement:()=>Xd,isRefElement:()=>Wd,isSourceMapElement:()=>Yd,isStringElement:()=>S}),{}),Q=(cI.r(X),cI.d(X,{isJSONReferenceElement:()=>Iy,isJSONSchemaElement:()=>Ny,isLinkDescriptionElement:()=>My,isMediaElement:()=>Ty}),{}),ee=(cI.r(Q),cI.d(Q,{isBooleanJsonSchemaElement:()=>db,isCallbackElement:()=>Hv,isComponentsElement:()=>Gv,isContactElement:()=>Yv,isExampleElement:()=>Xv,isExternalDocumentationElement:()=>Qv,isHeaderElement:()=>Zv,isInfoElement:()=>eb,isLicenseElement:()=>tb,isLinkElement:()=>rb,isMediaTypeElement:()=>vb,isOpenApi3_0Element:()=>sb,isOpenapiElement:()=>nb,isOperationElement:()=>ob,isParameterElement:()=>ib,isPathItemElement:()=>ab,isPathsElement:()=>lb,isReferenceElement:()=>p,isRequestBodyElement:()=>cb,isResponseElement:()=>ub,isResponsesElement:()=>pb,isSchemaElement:()=>hb,isSecurityRequirementElement:()=>fb,isSecuritySchemeElement:()=>mb,isServerElement:()=>gb,isServerVariableElement:()=>yb,isServersElement:()=>bb}),{}),te=(cI.r(ee),cI.d(ee,{isBooleanJsonSchemaElement:()=>jS,isCallbackElement:()=>iS,isComponentsElement:()=>aS,isContactElement:()=>lS,isExampleElement:()=>cS,isExternalDocumentationElement:()=>uS,isHeaderElement:()=>pS,isInfoElement:()=>hS,isJsonSchemaDialectElement:()=>dS,isLicenseElement:()=>fS,isLinkElement:()=>mS,isMediaTypeElement:()=>MS,isOpenApi3_1Element:()=>yS,isOpenapiElement:()=>gS,isOperationElement:()=>vS,isParameterElement:()=>bS,isPathItemElement:()=>wS,isPathItemElementExternal:()=>ES,isPathsElement:()=>xS,isReferenceElement:()=>SS,isReferenceElementExternal:()=>_S,isRequestBodyElement:()=>kS,isResponseElement:()=>AS,isResponsesElement:()=>OS,isSchemaElement:()=>CS,isSecurityRequirementElement:()=>PS,isSecuritySchemeElement:()=>NS,isServerElement:()=>IS,isServerVariableElement:()=>TS}),{}),re=(cI.r(te),cI.d(te,{cookie:()=>function({req:e,parameter:t,value:r}){e.headers=e.headers||{};const n=typeof r;if(void 0!==r&&t.content){const n=Object.keys(t.content)[0];e.headers.Cookie=t.name+"="+EA(r,n)}else{var s;void 0===r||Array.isArray(r)&&0===r.length||(s="object"===n&&!Array.isArray(r)&&t.explode?"":t.name+"=",e.headers.Cookie=s+lh({key:t.name,value:r,escape:!1,style:t.style||"form",explode:void 0!==t.explode&&t.explode}))}},header:()=>function({req:e,parameter:t,value:r}){{var n;e.headers=e.headers||{},-1<xA.indexOf(t.name.toLowerCase())||(void 0!==r&&t.content?(n=Object.keys(t.content)[0],e.headers[t.name]=EA(r,n)):void 0===r||Array.isArray(r)&&0===r.length||(e.headers[t.name]=lh({key:t.name,value:r,style:t.style||"simple",explode:void 0!==t.explode&&t.explode,escape:!1})))}},path:()=>function({req:t,value:r,parameter:n,baseURL:s}){const{name:o,style:i,explode:a,content:l}=n;if(void 0!==r){var c=t.url.replace(s,"");let e;if(l){const t=Object.keys(l)[0];e=bA(c,{[o]:r},{encoder:e=>ah(EA(e,t))})}else e=bA(c,{[o]:r},{encoder:e=>lh({key:n.name,value:e,style:i||"simple",explode:a||!1,escape:"reserved"})});t.url=s+e}},query:()=>function({req:e,value:t,parameter:r}){if(e.query=e.query||{},void 0!==t&&r.content){var n=EA(t,Object.keys(r.content)[0]);if(n)e.query[r.name]=n;else if(r.allowEmptyValue){const t=r.name;e.query[t]=e.query[t]||{},e.query[t].allowEmptyValue=!0}}else if(t=0===(t=!1===t?"false":t)?"0":t){var{style:n,explode:s,allowReserved:o}=r;e.query[r.name]={value:t,serializationOption:{style:n,explode:s,allowReserved:o}}}else if(r.allowEmptyValue&&void 0!==t){const t=r.name;e.query[t]=e.query[t]||{},e.query[t].allowEmptyValue=!0}}}),{}),ne=(cI.r(re),cI.d(re,{Button:()=>P3,Col:()=>C3,Collapse:()=>D3,Container:()=>A3,Input:()=>I3,Link:()=>M3,Row:()=>j3,Select:()=>T3,TextArea:()=>N3}),{}),se=(cI.r(ne),cI.d(ne,{basePath:()=>s8,consumes:()=>o8,definitions:()=>Z4,findDefinition:()=>Q4,hasHost:()=>e8,host:()=>n8,produces:()=>i8,schemes:()=>a8,securityDefinitions:()=>t8,validOperationMethods:()=>r8}),{}),oe=(cI.r(se),cI.d(se,{definitionsToAuthorize:()=>l8}),{}),ie=(cI.r(oe),cI.d(oe,{callbacksOperations:()=>y8,findSchema:()=>g8,isOAS3:()=>d8,isOAS30:()=>h8,isSwagger2:()=>p8,servers:()=>m8}),{}),pe=(cI.r(ie),cI.d(ie,{CLEAR_REQUEST_BODY_VALIDATE_ERROR:()=>$8,CLEAR_REQUEST_BODY_VALUE:()=>q8,SET_REQUEST_BODY_VALIDATE_ERROR:()=>B8,UPDATE_ACTIVE_EXAMPLES_MEMBER:()=>R8,UPDATE_REQUEST_BODY_INCLUSION:()=>M8,UPDATE_REQUEST_BODY_VALUE:()=>I8,UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG:()=>T8,UPDATE_REQUEST_CONTENT_TYPE:()=>D8,UPDATE_RESPONSE_CONTENT_TYPE:()=>L8,UPDATE_SELECTED_SERVER:()=>N8,UPDATE_SERVER_VARIABLE_VALUE:()=>F8,clearRequestBodyValidateError:()=>V8,clearRequestBodyValue:()=>W8,initRequestBodyValidateError:()=>K8,setActiveExamplesMember:()=>function({name:e,pathMethod:t,contextType:r,contextName:n}){return{type:R8,payload:{name:e,pathMethod:t,contextType:r,contextName:n}}},setRequestBodyInclusion:()=>function({value:e,pathMethod:t,name:r}){return{type:M8,payload:{value:e,pathMethod:t,name:r}}},setRequestBodyValidateError:()=>z8,setRequestBodyValue:()=>function({value:e,pathMethod:t}){return{type:I8,payload:{value:e,pathMethod:t}}},setRequestContentType:()=>function({value:e,pathMethod:t}){return{type:D8,payload:{value:e,pathMethod:t}}},setResponseContentType:()=>function({value:e,path:t,method:r}){return{type:L8,payload:{value:e,path:t,method:r}}},setRetainRequestBodyValueFlag:()=>U8,setSelectedServer:()=>function(e,t){return{type:N8,payload:{selectedServerUrl:e,namespace:t}}},setServerVariableValue:()=>function({server:e,namespace:t,key:r,val:n}){return{type:F8,payload:{server:e,namespace:t,key:r,val:n}}}}),{}),ae=(cI.r(pe),cI.d(pe,{activeExamplesMember:()=>r5,hasUserEditedBody:()=>Z8,requestBodyErrors:()=>t5,requestBodyInclusionSetting:()=>e5,requestBodyValue:()=>Y8,requestContentType:()=>n5,responseContentType:()=>s5,selectDefaultRequestBodyValue:()=>Q8,selectedServer:()=>G8,serverEffectiveValue:()=>a5,serverVariableValue:()=>o5,serverVariables:()=>i5,shouldRetainRequestBodyValue:()=>X8,validOperationMethods:()=>u5,validateBeforeExecute:()=>l5,validateShallowRequired:()=>c5}),cI(96540));function he(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var de="function"==typeof Symbol&&Symbol.observable||"@@observable",fe=()=>Math.random().toString(36).substring(7).split("").join("."),me={INIT:"@@redux/INIT"+fe(),REPLACE:"@@redux/REPLACE"+fe(),PROBE_UNKNOWN_ACTION:()=>"@@redux/PROBE_UNKNOWN_ACTION"+fe()};function ge(e,t,r){if("function"!=typeof e)throw new Error(he(2));if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(he(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(he(1));return r(ge)(e,t)}let n=e,s=t,o=new Map,i=o,a=0,l=!1;function c(){i===o&&(i=new Map,o.forEach((e,t)=>{i.set(t,e)}))}function u(){if(l)throw new Error(he(3));return s}function p(e){if("function"!=typeof e)throw new Error(he(4));if(l)throw new Error(he(5));let t=!0;c();const r=a++;return i.set(r,e),function(){if(t){if(l)throw new Error(he(6));t=!1,c(),i.delete(r),o=null}}}function h(e){if(!function(t){if("object"==typeof t&&null!==t){let e=t;for(;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||null===Object.getPrototypeOf(t)}}(e))throw new Error(he(7));if(void 0===e.type)throw new Error(he(8));if("string"!=typeof e.type)throw new Error(he(17));if(l)throw new Error(he(9));try{l=!0,s=n(s,e)}finally{l=!1}return(o=i).forEach(e=>{e()}),e}return h({type:me.INIT}),{dispatch:h,subscribe:p,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(he(10));n=e,h({type:me.REPLACE})},[de]:function(){const r=p;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(he(11));function e(){const e=t;e.next&&e.next(u())}return e(),{unsubscribe:r(e)}},[de](){return this}}}}}function ye(t,r){return function(...e){return r(t.apply(this,e))}}function ve(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((t,r)=>(...e)=>t(r(...e)))}var $=cI(9404),Z=cI.n($),be=cI(81919),we=cI.n(be),Ee=cI(89593),xe=cI(20334),be=cI(55364),Se=cI.n(be);const _e="err_new_thrown_err",ke="err_new_thrown_err_batch",Ae="err_new_spec_err",Oe="err_new_spec_err_batch",Ce="err_new_auth_err",je="err_clear",Pe="err_clear_by";const B=function(){var e={location:{},history:{},open:()=>{},close:()=>{},File:function(){},FormData:function(){}};if("undefined"==typeof window)return e;try{e=window;for(var t of["File","Blob","FormData"])t in window&&(e[t]=window[t])}catch(e){console.error(e)}return e}();var Ne=cI(16750),be=(cI(84058),cI(55808),cI(50104)),Ie=cI.n(be),be=cI(7309),Te=cI.n(be),be=cI(42426),Me=cI.n(be),be=cI(75288),Re=cI.n(be),be=cI(1882),De=cI.n(be),be=cI(2205),Le=cI.n(be),be=cI(53209),Fe=cI.n(be),be=cI(62802),Be=cI.n(be);const $e=Z().Set.of("type","format","items","default","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf");function qe(e,{isOAS3:t}={}){if(!Z().Map.isMap(e))return{schema:Z().Map(),parameterContentMediaType:null};if(!t)return"body"===e.get("in")?{schema:e.get("schema",Z().Map()),parameterContentMediaType:null}:{schema:e.filter((e,t)=>$e.includes(t)),parameterContentMediaType:null};if(e.get("content")){const t=e.get("content",Z().Map({})).keySeq().first();return{schema:e.getIn(["content",t,"schema"],Z().Map()),parameterContentMediaType:t}}return{schema:e.get("schema")?e.get("schema",Z().Map()):Z().Map(),parameterContentMediaType:null}}var Ue=cI(48287).Buffer;const ze=e=>Z().Iterable.isIterable(e);function Ve(e){return He(e)?ze(e)?e.toJS():e:{}}function Ke(e){return!ze(e)&&!(e instanceof B.File)&&He(e)?Array.isArray(e)?Z().Seq(e).map(Ke).toList():De()(e.entries)?(t=function(e){if(!De()(e.entries))return e;const t={},r={};for(var n of e.entries())t[n[0]]||r[n[0]]&&r[n[0]].containsMultiple?(r[n[0]]||(r[n[0]]={containsMultiple:!0,length:1},t[n[0]+"_**[]"+r[n[0]].length]=t[n[0]],delete t[n[0]]),r[n[0]].length+=1,t[n[0]+"_**[]"+r[n[0]].length]=n[1]):t[n[0]]=n[1];return t}(e),Z().OrderedMap(t).map(Ke)):Z().OrderedMap(e).map(Ke):e;var t}function We(e){return Array.isArray(e)?e:[e]}function Je(e){return"function"==typeof e}function He(e){return e&&"object"==typeof e}function Ge(e){return"function"==typeof e}function Ye(e){return Array.isArray(e)}const Xe=Ie();function Qe(r,n){return Object.keys(r).reduce((e,t)=>(e[t]=n(r[t],t),e),{})}function Ze(r,n){return Object.keys(r).reduce((e,t)=>{t=n(r[t],t);return t&&"object"==typeof t&&Object.assign(e,t),e},{})}const et=e=>{let t;return(t=e instanceof Ue?e:Ue.from(e.toString(),"utf-8")).toString("base64")},tt={operationsSorter:{alpha:(e,t)=>e.get("path").localeCompare(t.get("path")),method:(e,t)=>e.get("method").localeCompare(t.get("method"))},tagsSorter:{alpha:(e,t)=>e.localeCompare(t)}},rt=e=>{let t=[];for(var r in e){var n=e[r];void 0!==n&&""!==n&&t.push([r,"=",encodeURIComponent(n).replace(/%20/g,"+")].join(""))}return t.join("&")},nt=(t,r,e)=>!!Te()(e,e=>Re()(t[e],r[e]));function st(e){return"string"!=typeof e||""===e?"":(0,Ne.J)(e)}function ot(e){return!(!e||0<=e.indexOf("localhost")||0<=e.indexOf("127.0.0.1")||"none"===e)}const it=e=>"string"==typeof e||e instanceof String?e.trim().replace(/\s/g,"%20"):"",at=e=>Le()(it(e).replace(/%20/g,"_")),lt=e=>e.filter((e,t)=>/^x-/.test(t)),ct=e=>e.filter((e,t)=>/^pattern|maxLength|minLength|maximum|minimum/.test(t));function ut(t){if("string"==typeof t)return t;if("object"==typeof(t=t&&t.toJS?t.toJS():t)&&null!==t)try{return JSON.stringify(t,null,2)}catch(e){return String(t)}return null==t?"":t.toString()}function pt(e,{returnAll:t=!1,allowHashes:r=!0}={}){if(!Z().Map.isMap(e))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input");var n=e.get("name"),s=e.get("in");let o=[];return e&&e.hashCode&&s&&n&&r&&o.push(s+`.${n}.hash-`+e.hashCode()),s&&n&&o.push(s+"."+n),o.push(n),t?o:o[0]||""}function ht(e,t){return pt(e,{returnAll:!0}).map(e=>t[e]).filter(e=>void 0!==e)[0]}function dt(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}const ft=e=>!e||!(!ze(e)||!e.isEmpty()),mt=e=>e;class gt{constructor(e={}){var t,r,n,i;we()(this,{state:{},plugins:[],system:{configs:{},fn:{},components:{},rootInjects:{},statePlugins:{}},boundSystem:{},toolbox:{}},e),this.getSystem=this._getSystem.bind(this),this.store=(e=mt,t=(0,$.fromJS)(this.state),r=this.getSystem,r=[(n=r=r,({})=>t=>e=>"function"==typeof e?e(n()):t(e))],ge(e,t,(B.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||ve)(([...i]=[...r],o=>(e,t)=>{e=o(e,t);let r=()=>{throw new Error(he(15))};const n={getState:e.getState,dispatch:(e,...t)=>r(e,...t)},s=i.map(e=>e(n));return r=ve(...s)(e.dispatch),{...e,dispatch:r}})))),this.buildSystem(!1),this.register(this.plugins)}getStore(){return this.store}register(e,t=!0){var r=function t(e,r){return He(e)&&!Ye(e)?Se()({},e):Ge(e)?t(e(r),r):Ye(e)?e.map(e=>t(e,r)).reduce(vt,{components:r.getComponents()}):{}}(e,this.getSystem());vt(this.system,r),t&&this.buildSystem(),yt.call(this.system,e,this.getSystem())&&this.buildSystem()}buildSystem(e=!0){var t=this.getStore().dispatch,r=this.getStore().getState;this.boundSystem=Object.assign({},this.getRootInjects(),this.getWrappedAndBoundActions(t),this.getWrappedAndBoundSelectors(r,this.getSystem),this.getStateThunks(r),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:Z(),React:ae},this.system.rootInjects||{})}_getConfigs(){return this.system.configs}getConfigs(){return{configs:this.system.configs}}setConfigs(e){this.system.configs=e}rebuildReducer(){var e,r;this.store.replaceReducer((e=this.system.statePlugins,r=Qe(e,e=>e.reducers),e=Object.keys(r).reduce((e,t)=>(e[t]=function(n){return(e=new $.Map,t)=>{if(!n)return e;var r=n[t.type];if(r){const n=bt(r)(e,t);return null===n?e:n}return e}}(r[t]),e),{}),Object.keys(e).length?(0,Ee.H)(e):mt))}getType(r){let n=r[0].toUpperCase()+r.slice(1);return Ze(this.system.statePlugins,(e,t)=>{e=e[r];if(e)return{[t+n]:e}})}getSelectors(){return this.getType("selectors")}getActions(){return Qe(this.getType("actions"),e=>Ze(e,(e,t)=>{if(Je(e))return{[t]:e}}))}getWrappedAndBoundActions(e){return Qe(this.getBoundActions(e),(e,t)=>{let n=this.system.statePlugins[t.slice(0,-7)].wrapActions;return n?Qe(e,(e,t)=>{let r=n[t];return r?(r=Array.isArray(r)?r:[r]).reduce((t,r)=>{var e=(...e)=>r(t,this.getSystem())(...e);return bt(e)},e||Function.prototype):e}):e})}getWrappedAndBoundSelectors(o,e){return Qe(this.getBoundSelectors(o,e),(e,t)=>{let n=[t.slice(0,-9)],s=this.system.statePlugins[n].wrapSelectors;return s?Qe(e,(e,t)=>{let r=s[t];return r?(r=Array.isArray(r)?r:[r]).reduce((t,r)=>{var e=(...e)=>r(t,this.getSystem())(o().getIn(n),...e);return e},e||Function.prototype):e}):e})}getStates(r){return Object.keys(this.system.statePlugins).reduce((e,t)=>(e[t]=r.get(t),e),{})}getStateThunks(r){return Object.keys(this.system.statePlugins).reduce((e,t)=>(e[t]=()=>r().get(t),e),{})}getFn(){return{fn:this.system.fn}}getComponents(e){const t=this.system.components[e];return Array.isArray(t)?t.reduce((e,t)=>t(e,this.getSystem())):void 0!==e?this.system.components[e]:this.system.components}getBoundSelectors(s,o){return Qe(this.getSelectors(),(e,t)=>{let n=[t.slice(0,-9)];return Qe(e,r=>(...e)=>{let t=bt(r).apply(null,[s().getIn(n),...e]);return t="function"==typeof t?bt(t)(o()):t})})}getBoundActions(i){i=i||this.getStore().dispatch;const e=this.getActions(),a=r=>"function"!=typeof r?Qe(r,e=>a(e)):(...e)=>{var t=null;try{t=r(...e)}catch(e){t={type:_e,error:!0,payload:(0,xe.serializeError)(e)}}finally{return t}};return Qe(e,e=>{{var t=a(e),r=i;if("function"==typeof t)return ye(t,r);if("object"!=typeof t||null===t)throw new Error(he(16));const s={};for(const o in t){var n=t[o];"function"==typeof n&&(s[o]=ye(n,r))}return s}})}getMapStateToProps(){return()=>Object.assign({},this.getSystem())}getMapDispatchToProps(t){return e=>we()({},this.getWrappedAndBoundActions(e),this.getFn(),t)}}function yt(e,t,{hasLoaded:r}={}){let n=r;return He(e)&&!Ye(e)&&"function"==typeof e.afterLoad&&(n=!0,bt(e.afterLoad).call(this,t)),Ge(e)?yt.call(this,e(t),t,{hasLoaded:n}):Ye(e)?e.map(e=>yt.call(this,e,t,{hasLoaded:n})):n}function vt(n={},s={}){if(!He(n))return{};if(!He(s))return n;s.wrapComponents&&(Qe(s.wrapComponents,(e,t)=>{const r=n.components&&n.components[t];r&&Array.isArray(r)?(n.components[t]=r.concat([e]),delete s.wrapComponents[t]):r&&(n.components[t]=[r,e],delete s.wrapComponents[t])}),Object.keys(s.wrapComponents).length||delete s.wrapComponents);var e=n["statePlugins"];if(He(e))for(var t in e){var r=e[t];if(He(r)){const{wrapActions:c,wrapSelectors:u}=r;if(He(c))for(var o in c){var i=c[o];Array.isArray(i)||(c[o]=[i]),s&&s.statePlugins&&s.statePlugins[t]&&s.statePlugins[t].wrapActions&&s.statePlugins[t].wrapActions[o]&&(s.statePlugins[t].wrapActions[o]=c[o].concat(s.statePlugins[t].wrapActions[o]))}if(He(u))for(var a in u){var l=u[a];Array.isArray(l)||(u[a]=[l]),s&&s.statePlugins&&s.statePlugins[t]&&s.statePlugins[t].wrapSelectors&&s.statePlugins[t].wrapSelectors[a]&&(s.statePlugins[t].wrapSelectors[a]=u[a].concat(s.statePlugins[t].wrapSelectors[a]))}}}return we()(n,s)}function bt(t,{logErrors:r=!0}={}){return"function"!=typeof t?t:function(...e){try{return t.call(this,...e)}catch(e){return r&&console.error(e),null}}}var be=cI(61160),wt=cI.n(be);const Et="show_popup",xt="authorize",St="logout",_t="pre_authorize_oauth2",kt="authorize_oauth2",At="validate",Ot="configure_auth",Ct="restore_authorization";const jt=t=>({authActions:e})=>{e.authorize(t),e.persistAuthorizationIfNeeded()};const Pt=t=>({authActions:e})=>{e.logout(t),e.persistAuthorizationIfNeeded()},Nt=l=>({authActions:e,errActions:t})=>{let{auth:r,token:n,isValid:s}=l,{schema:o,name:i}=r,a=o.get("flow");delete B.swaggerUIRedirectOauth2,"accessCode"===a||s||t.newAuthErr({authId:i,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),n.error?t.newAuthErr({authId:i,source:"auth",level:"error",message:JSON.stringify(n)}):e.authorizeOauth2WithPersistOption({auth:r,token:n})};const It=t=>({authActions:e})=>{e.authorizeOauth2(t),e.persistAuthorizationIfNeeded()},Tt=d=>({authActions:e})=>{let{schema:t,name:r,username:n,password:s,passwordType:o,clientId:i,clientSecret:a}=d,l={grant_type:"password",scope:d.scopes.join(" "),username:n,password:s},c={};switch(o){case"request-body":u=l,h=a,(p=i)&&Object.assign(u,{client_id:p}),h&&Object.assign(u,{client_secret:h});break;case"basic":c.Authorization="Basic "+et(i+":"+a);break;default:console.warn(`Warning: invalid passwordType ${o} was passed, not including client id and secret`)}var u,p,h;return e.authorizeRequest({body:rt(l),url:t.get("tokenUrl"),name:r,headers:c,query:{},auth:d})},Mt=l=>({authActions:e})=>{let{schema:t,scopes:r,name:n,clientId:s,clientSecret:o}=l,i={Authorization:"Basic "+et(s+":"+o)},a={grant_type:"client_credentials",scope:r.join(" ")};return e.authorizeRequest({body:rt(a),name:n,url:t.get("tokenUrl"),auth:l,headers:i})},Rt=({auth:a,redirectUrl:l})=>({authActions:e})=>{let{schema:t,name:r,clientId:n,clientSecret:s,codeVerifier:o}=a,i={grant_type:"authorization_code",code:a.code,client_id:n,client_secret:s,redirect_uri:l,code_verifier:o};return e.authorizeRequest({body:rt(i),name:r,url:t.get("tokenUrl"),auth:a})},Dt=({auth:l,redirectUrl:c})=>({authActions:e})=>{let{schema:t,name:r,clientId:n,clientSecret:s,codeVerifier:o}=l,i={Authorization:"Basic "+et(n+":"+s)},a={grant_type:"authorization_code",code:l.code,client_id:n,redirect_uri:c,code_verifier:o};return e.authorizeRequest({body:rt(a),name:r,url:t.get("tokenUrl"),auth:l,headers:i})},Lt=m=>({fn:e,getConfigs:t,authActions:s,errActions:o,oas3Selectors:r,specSelectors:n,authSelectors:i})=>{let a,{body:l,query:c={},headers:u={},name:p,url:h,auth:d}=m,f=(i.getConfigs()||{})["additionalQueryStringParams"];a=n.isOAS3()?(i=r.serverEffectiveValue(r.selectedServer()),wt()(h,i,!0)):wt()(h,n.url(),!0),"object"==typeof f&&(a.query=Object.assign({},a.query,f));r=a.toString(),i=Object.assign({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},u);e.fetch({url:r,method:"post",headers:i,query:c,body:l,requestInterceptor:t().requestInterceptor,responseInterceptor:t().responseInterceptor}).then(function(e){var t=JSON.parse(e.data),r=t&&(t.error||""),n=t&&(t.parseError||"");e.ok?r||n?o.newAuthErr({authId:p,level:"error",source:"auth",message:JSON.stringify(t)}):s.authorizeOauth2WithPersistOption({auth:d,token:t}):o.newAuthErr({authId:p,level:"error",source:"auth",message:e.statusText})}).catch(e=>{let t=new Error(e).message;if(e.response&&e.response.data){var r=e.response.data;try{const e="string"==typeof r?JSON.parse(r):r;e.error&&(t+=", error: "+e.error),e.error_description&&(t+=", description: "+e.error_description)}catch(e){}}o.newAuthErr({authId:p,level:"error",source:"auth",message:t})})};const Ft=()=>({authSelectors:e,getConfigs:t})=>{t().persistAuthorization&&(t=e.authorized().toJS(),localStorage.setItem("authorized",JSON.stringify(t)))},Bt=(e,t)=>()=>{B.swaggerUIRedirectOauth2=t,B.open(e)},$t={[Et]:(e,{payload:t})=>e.set("showDefinitions",t),[xt]:(s,{payload:e})=>{let t=(0,$.fromJS)(e),o=s.get("authorized")||(0,$.Map)();return t.entrySeq().forEach(([e,t])=>{if(!Ge(t.getIn))return s.set("authorized",o);var r,n=t.getIn(["schema","type"]);"apiKey"===n||"http"===n?o=o.set(e,t):"basic"===n&&(n=t.getIn(["value","username"]),r=t.getIn(["value","password"]),o=(o=o.setIn([e,"value"],{username:n,header:"Basic "+et(n+":"+r)})).setIn([e,"schema"],t.get("schema")))}),s.set("authorized",o)},[kt]:(e,{payload:t})=>{let r,{auth:n,token:s}=t,o=(n.token=Object.assign({},s),r=(0,$.fromJS)(n),e.get("authorized")||(0,$.Map)());return o=o.set(r.get("name"),r),e.set("authorized",o)},[St]:(e,{payload:r})=>{var t=e.get("authorized").withMutations(t=>{r.forEach(e=>{t.delete(e)})});return e.set("authorized",t)},[Ot]:(e,{payload:t})=>e.set("configs",t),[Ct]:(e,{payload:t})=>e.set("authorized",(0,$.fromJS)(t.authorized))};var qt=e=>Array.isArray(e)?e:[e];Symbol(),Object.getPrototypeOf({});var Ut="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}},zt=0;function Vt(){return{s:zt,v:void 0,o:null,p:null}}function Kt(s,e={}){let o=Vt();const i=e["resultEqualityCheck"];let a,l=0;function t(){let r=o;var n=arguments["length"];for(let e=0,t=n;e<t;e++){const o=arguments[e];if("function"==typeof o||"object"==typeof o&&null!==o){let e=r.o;null===e&&(r.o=e=new WeakMap);const i=e.get(o);void 0===i?(r=Vt(),e.set(o,r)):r=i}else{let e=r.p;null===e&&(r.p=e=new Map);const i=e.get(o);void 0===i?(r=Vt(),e.set(o,r)):r=i}}const e=r;let t;if(1===r.s?t=r.v:(t=s.apply(null,arguments),l++),e.s=1,i){const s=a?.deref?.()??a;null!=s&&i(s,t)&&(t=s,0!==l&&l--),a="object"==typeof t&&null!==t||"function"==typeof t?new Ut(t):t}return e.v=t}return t.clearCache=()=>{o=Vt(),t.resetResultsCount()},t.resultsCount=()=>l,t.resetResultsCount=()=>{l=0},t}var o=function(e,t){const m="function"==typeof e?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t,r=0,n=0,s={},o=e.pop();"object"==typeof o&&(s=o,o=e.pop()),function(e,t="expected a function, instead received "+typeof e){if("function"!=typeof e)throw new TypeError(t)}(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);const i={...m,...s},{memoize:a,memoizeOptions:l=[],argsMemoize:c=Kt,argsMemoizeOptions:u=[]}=i,p=qt(l),h=qt(u),d=function(e){var t=e=Array.isArray(e[0])?e[0]:e,r="createSelector expects all input-selectors to be functions, but received the following types: ";if(t.every(e=>"function"==typeof e))return e;throw t=t.map(e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e).join(", "),new TypeError(r+`[${t}]`)}(e),f=a(function(){return r++,o.apply(null,arguments)},...p);e=c(function(){n++;var e=function(t,r){const n=[],s=t["length"];for(let e=0;e<s;e++)n.push(t[e].apply(null,r));return n}(d,arguments);return t=f.apply(null,e)},...h);return Object.assign(e,{resultFunc:o,memoizedResultFunc:f,dependencies:d,dependencyRecomputations:()=>n,resetDependencyRecomputations:()=>{n=0},lastResult:()=>t,recomputations:()=>r,resetRecomputations:()=>{r=0},memoize:a,argsMemoize:c})};return Object.assign(r,{withTypes:()=>r}),r}(Kt,[]),Wt=Object.assign((t,e=o)=>{var r=t,n="createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof t;if("object"!=typeof r)throw new TypeError(n);const s=Object.keys(t);return e(s.map(e=>t[e]),(...e)=>e.reduce((e,t,r)=>(e[s[r]]=t,e),{}))},{withTypes:()=>Wt});const Jt=e=>e,Ht=o(Jt,e=>e.get("showDefinitions")),Gt=o(Jt,()=>({specSelectors:e})=>{let t=e.securityDefinitions()||(0,$.Map)({}),n=(0,$.List)();return t.entrySeq().forEach(([e,t])=>{let r=(0,$.Map)();r=r.set(e,t),n=n.push(r)}),n}),Yt=(e,r)=>({specSelectors:e})=>{console.warn("WARNING: getDefinitionsByNames is deprecated and will be removed in the next major version.");let o=e.securityDefinitions(),t=(0,$.List)();return r.valueSeq().forEach(e=>{let s=(0,$.Map)();e.entrySeq().forEach(([e,t])=>{let r,n=o.get(e);"oauth2"===n.get("type")&&t.size&&((r=n.get("scopes")).keySeq().forEach(e=>{t.contains(e)||(r=r.delete(e))}),n=n.set("allowedScopes",r)),s=s.set(e,n)}),t=t.push(s)}),t},Xt=(e,n=(0,$.List)())=>({authSelectors:e})=>{const t=e.definitionsToAuthorize()||(0,$.List)();let r=(0,$.List)();return t.forEach(s=>{let o=n.find(e=>e.get(s.keySeq().first()));o&&(s.forEach((e,r)=>{if("oauth2"===e.get("type")){const n=o.get(r);let t=e.get("scopes");$.List.isList(n)&&$.Map.isMap(t)&&(t.keySeq().forEach(e=>{n.contains(e)||(t=t.delete(e))}),s=s.set(r,e.set("scopes",t)))}}),r=r.push(s))}),r},Qt=o(Jt,e=>e.get("authorized")||(0,$.Map)()),Zt=(e,r)=>({authSelectors:e})=>{let t=e.authorized();return $.List.isList(r)?!!r.toJS().filter(e=>-1===Object.keys(e).map(e=>!!t.get(e)).indexOf(!1)).length:null},er=o(Jt,e=>e.get("configs")),tr=(o,{authSelectors:i,specSelectors:a})=>({path:e,method:t,operation:r,extras:n})=>{var s={authorized:i.authorized()&&i.authorized().toJS(),definitions:a.securityDefinitions()&&a.securityDefinitions().toJS(),specSecurity:a.security()&&a.security().toJS()};return o({path:e,method:t,operation:r,securities:s,...n})},rr=(s,o)=>e=>{const{getConfigs:t,authActions:r}=o,n=t();if(s(e),n.persistAuthorization){const s=localStorage.getItem("authorized");s&&r.restoreAuthorization({authorized:JSON.parse(s)})}},nr=(n,s)=>e=>{if(n(e),s.getConfigs().persistAuthorization)try{const[{schema:n,value:s}]=Object.values(e),t="apiKey"===n.get("type"),r="cookie"===n.get("in");t&&r&&(document.cookie=`${n.get("name")}=${s}; SameSite=None; Secure`)}catch(e){console.error("Error persisting cookie based apiKey in document.cookie.",e)}},sr=(r,n)=>e=>{const t=n.getConfigs(),s=n.authSelectors.authorized();try{t.persistAuthorization&&Array.isArray(e)&&e.forEach(e=>{const t=s.get(e,{}),r="apiKey"===t.getIn(["schema","type"]),n="cookie"===t.getIn(["schema","in"]);if(r&&n){const e=t.getIn(["schema","name"]);document.cookie=e+"=; Max-Age=-99999999"}})}catch(e){console.error("Error deleting cookie based apiKey from document.cookie.",e)}r(e)};var be=cI(90179),or=cI.n(be);class ir extends ae.Component{mapStateToProps(e,t){return{state:e,ownProps:or()(t,Object.keys(t.getSystem()))}}render(){const{getComponent:e,ownProps:t}=this.props,r=e("LockIcon");return ae.createElement(r,t)}}const ar=ir;class lr extends ae.Component{mapStateToProps(e,t){return{state:e,ownProps:or()(t,Object.keys(t.getSystem()))}}render(){const{getComponent:e,ownProps:t}=this.props,r=e("UnlockIcon");return ae.createElement(r,t)}}const cr=lr;function ur(){return{afterLoad(e){this.rootInjects=this.rootInjects||{},this.rootInjects.initOAuth=e.authActions.configureAuth,this.rootInjects.preauthorizeApiKey=function(e,t,r){const{authActions:{authorize:n},specSelectors:{specJson:s,isOAS3:o}}=e,i=o()?["components","securitySchemes"]:["securityDefinitions"],a=s().getIn([...i,t]);return a?n({[t]:{value:r,schema:a.toJS()}}):null}.bind(null,e),this.rootInjects.preauthorizeBasic=function(e,t,r,n){const{authActions:{authorize:s},specSelectors:{specJson:o,isOAS3:i}}=e,a=i()?["components","securitySchemes"]:["securityDefinitions"],l=o().getIn([...a,t]);return l?s({[t]:{value:{username:r,password:n},schema:l.toJS()}}):null}.bind(null,e)},components:{LockAuthIcon:ar,UnlockAuthIcon:cr,LockAuthOperationIcon:ar,UnlockAuthOperationIcon:cr},statePlugins:{auth:{reducers:$t,actions:O,selectors:C,wrapActions:{authorize:nr,logout:sr}},configs:{wrapActions:{loaded:rr}},spec:{wrapActions:{execute:tr}}}}}function pr(e){return null==e}var hr={isNothing:pr,isObject:function(e){return"object"==typeof e&&null!==e},toArray:function(e){return Array.isArray(e)?e:pr(e)?[]:[e]},repeat:function(e,t){for(var r="",n=0;n<t;n+=1)r+=e;return r},isNegativeZero:function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},extend:function(e,t){var r,n,s,o;if(t)for(r=0,n=(o=Object.keys(t)).length;r<n;r+=1)e[s=o[r]]=t[s];return e}};function dr(e,t){var r="",n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+="\n\n"+e.mark.snippet),n+" "+r):n}function fr(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=dr(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}((fr.prototype=Object.create(Error.prototype)).constructor=fr).prototype.toString=function(e){return this.name+": "+dr(this,e)};var mr=fr;function gr(e,t,r,n,s){var o="",i="",s=Math.floor(s/2)-1;return s<n-t&&(t=n-s+(o=" ... ").length),s<r-n&&(r=n+s-(i=" ...").length),{str:o+e.slice(t,r).replace(/\t/g,"→")+i,pos:n-t+o.length}}function yr(e,t){return hr.repeat(" ",t-e.length)+e}function vr(t,e){if(e=e||{},Object.keys(e).forEach(function(e){if(-1===wr.indexOf(e))throw new mr('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')}),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(e){return e},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=(r=e.styleAliases||null,n={},null!==r&&Object.keys(r).forEach(function(t){r[t].forEach(function(e){n[String(e)]=t})}),n),-1===Er.indexOf(this.kind))throw new mr('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.');var r,n}var br=function(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2);for(var r,n=/\r?\n|\r|\0/g,s=[0],o=[],i=-1;r=n.exec(e.buffer);)o.push(r.index),s.push(r.index+r[0].length),e.position<=r.index&&i<0&&(i=s.length-2);i<0&&(i=s.length-1);for(var a,l="",c=Math.min(e.line+t.linesAfter,o.length).toString().length,u=t.maxLength-(t.indent+c+3),p=1;p<=t.linesBefore&&!(i-p<0);p++)a=gr(e.buffer,s[i-p],o[i-p],e.position-(s[i]-s[i-p]),u),l=hr.repeat(" ",t.indent)+yr((e.line-p+1).toString(),c)+" | "+a.str+"\n"+l;for(a=gr(e.buffer,s[i],o[i],e.position,u),l=(l+=hr.repeat(" ",t.indent)+yr((e.line+1).toString(),c)+" | "+a.str+"\n")+(hr.repeat("-",t.indent+c+3+a.pos)+"^\n"),p=1;p<=t.linesAfter&&!(i+p>=o.length);p++)a=gr(e.buffer,s[i+p],o[i+p],e.position-(s[i]-s[i+p]),u),l+=hr.repeat(" ",t.indent)+yr((e.line+p+1).toString(),c)+" | "+a.str+"\n";return l.replace(/\n$/,"")},wr=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Er=["scalar","sequence","mapping"];function xr(e,t){var s=[];return e[t].forEach(function(r){var n=s.length;s.forEach(function(e,t){e.tag===r.tag&&e.kind===r.kind&&e.multi===r.multi&&(n=t)}),s[n]=r}),s}function Sr(e){return this.extend(e)}Sr.prototype.extend=function(e){var t=[],r=[];if(e instanceof vr)r.push(e);else if(Array.isArray(e))r=r.concat(e);else{if(!e||!Array.isArray(e.implicit)&&!Array.isArray(e.explicit))throw new mr("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(r=r.concat(e.explicit))}t.forEach(function(e){if(!(e instanceof vr))throw new mr("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new mr("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 mr("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),r.forEach(function(e){if(!(e instanceof vr))throw new mr("Specified list of YAML types (or a single Type object) contains a non-Type object.")});e=Object.create(Sr.prototype);return e.implicit=(this.implicit||[]).concat(t),e.explicit=(this.explicit||[]).concat(r),e.compiledImplicit=xr(e,"implicit"),e.compiledExplicit=xr(e,"explicit"),e.compiledTypeMap=function(){var e,t,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function n(e){e.multi?(r.multi[e.kind].push(e),r.multi.fallback.push(e)):r[e.kind][e.tag]=r.fallback[e.tag]=e}for(e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(n);return r}(e.compiledImplicit,e.compiledExplicit),e};var be=Sr,_r=new vr("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}}),kr=new vr("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}}),Ar=new vr("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}}),Or=new be({explicit:[_r,kr,Ar]}),Cr=new vr("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),jr=new vr("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});var Pr=new vr("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,r,n,s,o=e.length,i=0,a=!1;if(!o)return!1;if("0"===(t="-"!==(t=e[i])&&"+"!==t?t:e[++i])){if(i+1===o)return!0;if("b"===(t=e[++i])){for(i++;i<o;i++)if("_"!==(t=e[i])){if("0"!==t&&"1"!==t)return!1;a=!0}return a&&"_"!==t}if("x"===t){for(i++;i<o;i++)if("_"!==(t=e[i])){if(!(48<=(r=e.charCodeAt(i))&&r<=57||65<=r&&r<=70||97<=r&&r<=102))return!1;a=!0}return a&&"_"!==t}if("o"===t){for(i++;i<o;i++)if("_"!==(t=e[i])){if(!(48<=(n=e.charCodeAt(i))&&n<=55))return!1;a=!0}return a&&"_"!==t}}if("_"===t)return!1;for(;i<o;i++)if("_"!==(t=e[i])){if(!(48<=(s=e.charCodeAt(i))&&s<=57))return!1;a=!0}return!(!a||"_"===t)},construct:function(e){var t,r=1;if("-"!==(t=(e=-1!==e.indexOf("_")?e.replace(/_/g,""):e)[0])&&"+"!==t||("-"===t&&(r=-1),t=(e=e.slice(1))[0]),"0"===e)return 0;if("0"===t){if("b"===e[1])return r*parseInt(e.slice(2),2);if("x"===e[1])return r*parseInt(e.slice(2),16);if("o"===e[1])return r*parseInt(e.slice(2),8)}return r*parseInt(e,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!hr.isNegativeZero(e)},represent:{binary:function(e){return 0<=e?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return 0<=e?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return 0<=e?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Nr=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),Ir=/^[-+]?[0-9]+e/,Tr=new vr("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!Nr.test(e)||"_"===e[e.length-1])},construct:function(e){var t="-"===(e=e.replace(/_/g,"").toLowerCase())[0]?-1:1;return".inf"===(e=0<="+-".indexOf(e[0])?e.slice(1):e)?1==t?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:t*parseFloat(e,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||hr.isNegativeZero(e))},represent:function(e,t){if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(hr.isNegativeZero(e))return"-0.0";return t=e.toString(10),Ir.test(t)?t.replace("e",".e"):t},defaultStyle:"lowercase"}),Mr=Or.extend({implicit:[Cr,jr,Pr,Tr]}),Rr=Mr,Dr=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Lr=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]))?))?$"),Fr=new vr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==Dr.exec(e)||null!==Lr.exec(e))},construct:function(e){var t,r,n,s,o,i,a=0,l=null;if(null===(i=null===(i=Dr.exec(e))?Lr.exec(e):i))throw new Error("Date resolve error");if(e=+i[1],t=+i[2]-1,r=+i[3],!i[4])return new Date(Date.UTC(e,t,r));if(n=+i[4],s=+i[5],o=+i[6],i[7]){for(a=i[7].slice(0,3);a.length<3;)a+="0";a=+a}return i[9]&&(l=6e4*(60*+i[10]+ +(i[11]||0)),"-"===i[9]&&(l=-l)),i=new Date(Date.UTC(e,t,r,n,s,o,a)),l&&i.setTime(i.getTime()-l),i},instanceOf:Date,represent:function(e){return e.toISOString()}}),Br=new vr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}}),$r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",qr=new vr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;for(var t,r=0,n=e.length,s=$r,o=0;o<n;o++)if(!(64<(t=s.indexOf(e.charAt(o))))){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){for(var t=e.replace(/[\r\n=]/g,""),r=t.length,n=$r,s=0,o=[],i=0;i<r;i++)i%4==0&&i&&(o.push(s>>16&255),o.push(s>>8&255),o.push(255&s)),s=s<<6|n.indexOf(t.charAt(i));return 0==(e=r%4*6)?(o.push(s>>16&255),o.push(s>>8&255),o.push(255&s)):18==e?(o.push(s>>10&255),o.push(s>>2&255)):12==e&&o.push(s>>4&255),new Uint8Array(o)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){for(var t,r="",n=0,s=e.length,o=$r,i=0;i<s;i++)i%3==0&&i&&(r=(r=r+o[n>>18&63]+o[n>>12&63])+o[n>>6&63]+o[63&n]),n=(n<<8)+e[i];return 0==(t=s%3)?r=(r=r+o[n>>18&63]+o[n>>12&63])+o[n>>6&63]+o[63&n]:2==t?r=(r=r+o[n>>10&63]+o[n>>4&63])+o[n<<2&63]+o[64]:1==t&&(r=(r=r+o[n>>2&63]+o[n<<4&63])+o[64]+o[64]),r}}),Ur=Object.prototype.hasOwnProperty,zr=Object.prototype.toString,Vr=new vr("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;for(var t,r,n,s=[],o=e,i=0,a=o.length;i<a;i+=1){if(t=o[i],n=!1,"[object Object]"!==zr.call(t))return!1;for(r in t)if(Ur.call(t,r)){if(n)return!1;n=!0}if(!n)return!1;if(-1!==s.indexOf(r))return!1;s.push(r)}return!0},construct:function(e){return null!==e?e:[]}}),Kr=Object.prototype.toString,Wr=new vr("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null===e)return!0;for(var t,r,n=e,s=new Array(n.length),o=0,i=n.length;o<i;o+=1){if(t=n[o],"[object Object]"!==Kr.call(t))return!1;if(1!==(r=Object.keys(t)).length)return!1;s[o]=[r[0],t[r[0]]]}return!0},construct:function(e){if(null===e)return[];for(var t,r,n=e,s=new Array(n.length),o=0,i=n.length;o<i;o+=1)t=n[o],r=Object.keys(t),s[o]=[r[0],t[r[0]]];return s}}),Jr=Object.prototype.hasOwnProperty,Hr=new vr("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null===e)return!0;var t,r=e;for(t in r)if(Jr.call(r,t)&&null!==r[t])return!1;return!0},construct:function(e){return null!==e?e:{}}}),Gr=Rr.extend({implicit:[Fr,Br],explicit:[qr,Vr,Wr,Hr]}),Yr=Object.prototype.hasOwnProperty,Xr=1,Qr=2,Zr=3,en=4,tn=1,rn=2,nn=3,sn=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,on=/[\x85\u2028\u2029]/,an=/[,\[\]\{\}]/,ln=/^(?:!|!!|![a-z\-]+!)$/i,cn=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function un(e){return Object.prototype.toString.call(e)}function pn(e){return 10===e||13===e}function hn(e){return 9===e||32===e}function dn(e){return 9===e||32===e||10===e||13===e}function fn(e){return 44===e||91===e||93===e||123===e||125===e}function mn(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"
":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}for(var gn=new Array(256),yn=new Array(256),vn=0;vn<256;vn++)gn[vn]=mn(vn)?1:0,yn[vn]=mn(vn);function bn(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||Gr,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function wn(e,t){e={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return e.snippet=br(e),new mr(t,e)}function b(e,t){throw wn(e,t)}function En(e,t){e.onWarning&&e.onWarning.call(null,wn(e,t))}var xn={YAML:function(e,t,r){var n,s;null!==e.version&&b(e,"duplication of %YAML directive"),1!==r.length&&b(e,"YAML directive accepts exactly one argument"),null===(s=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&b(e,"ill-formed argument of the YAML directive"),n=parseInt(s[1],10),s=parseInt(s[2],10),1!==n&&b(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=s<2,1!==s&&2!==s&&En(e,"unsupported YAML version of the document")},TAG:function(e,t,r){var n;2!==r.length&&b(e,"TAG directive accepts exactly two arguments"),n=r[0],r=r[1],ln.test(n)||b(e,"ill-formed tag handle (first argument) of the TAG directive"),Yr.call(e.tagMap,n)&&b(e,'there is a previously declared suffix for "'+n+'" tag handle'),cn.test(r)||b(e,"ill-formed tag prefix (second argument) of the TAG directive");try{r=decodeURIComponent(r)}catch(t){b(e,"tag prefix is malformed: "+r)}e.tagMap[n]=r}};function Sn(e,t,r,n){var s,o,i,a;if(t<r){if(a=e.input.slice(t,r),n)for(s=0,o=a.length;s<o;s+=1)9===(i=a.charCodeAt(s))||32<=i&&i<=1114111||b(e,"expected valid JSON character");else sn.test(a)&&b(e,"the stream contains non-printable characters");e.result+=a}}function _n(e,t,r,n){var s,o,i,a;for(hr.isObject(r)||b(e,"cannot merge mappings; the provided source object is unacceptable"),i=0,a=(s=Object.keys(r)).length;i<a;i+=1)o=s[i],Yr.call(t,o)||(t[o]=r[o],n[o]=!0)}function kn(e,t,r,n,s,o,i,a,l){var c,u;if(Array.isArray(s))for(c=0,u=(s=Array.prototype.slice.call(s)).length;c<u;c+=1)Array.isArray(s[c])&&b(e,"nested arrays are not supported inside keys"),"object"==typeof s&&"[object Object]"===un(s[c])&&(s[c]="[object Object]");if("object"==typeof s&&"[object Object]"===un(s)&&(s="[object Object]"),s=String(s),null===t&&(t={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(o))for(c=0,u=o.length;c<u;c+=1)_n(e,t,o[c],r);else _n(e,t,o,r);else e.json||Yr.call(r,s)||!Yr.call(t,s)||(e.line=i||e.line,e.lineStart=a||e.lineStart,e.position=l||e.position,b(e,"duplicated mapping key")),"__proto__"===s?Object.defineProperty(t,s,{configurable:!0,enumerable:!0,writable:!0,value:o}):t[s]=o,delete r[s];return t}function An(e){var t;10===(t=e.input.charCodeAt(e.position))?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):b(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function On(e,t,r){for(var n=0,s=e.input.charCodeAt(e.position);0!==s;){for(;hn(s);)9===s&&-1===e.firstTabInLine&&(e.firstTabInLine=e.position),s=e.input.charCodeAt(++e.position);if(t&&35===s)for(;10!==(s=e.input.charCodeAt(++e.position))&&13!==s&&0!==s;);if(!pn(s))break;for(An(e),s=e.input.charCodeAt(e.position),n++,e.lineIndent=0;32===s;)e.lineIndent++,s=e.input.charCodeAt(++e.position)}return-1!==r&&0!==n&&e.lineIndent<r&&En(e,"deficient indentation"),n}function Cn(e){var t,r=e.position;return(45===(t=e.input.charCodeAt(r))||46===t)&&t===e.input.charCodeAt(r+1)&&t===e.input.charCodeAt(r+2)&&(0===(t=e.input.charCodeAt(r+=3))||dn(t))}function jn(e,t){1===t?e.result+=" ":1<t&&(e.result+=hr.repeat("\n",t-1))}function Pn(e,t){var r,n,s=e.tag,o=e.anchor,i=[],a=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),n=e.input.charCodeAt(e.position);0!==n&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,b(e,"tab characters must not be used in indentation")),45===n)&&dn(e.input.charCodeAt(e.position+1));)if(a=!0,e.position++,On(e,!0,-1)&&e.lineIndent<=t)i.push(null),n=e.input.charCodeAt(e.position);else if(r=e.line,Nn(e,t,Zr,!1,!0),i.push(e.result),On(e,!0,-1),n=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&0!==n)b(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return!!a&&(e.tag=s,e.anchor=o,e.kind="sequence",e.result=i,!0)}function Nn(e,t,r,n,s){var o,i,a,l,c,u,p,h=1,d=!1,f=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,o=i=a=en===r||Zr===r,n&&On(e,!0,-1)&&(d=!0,e.lineIndent>t?h=1:e.lineIndent===t?h=0:e.lineIndent<t&&(h=-1)),1===h)for(;function(e){var t,r,n,s,o=!1,i=!1;if(33===(s=e.input.charCodeAt(e.position))){if(null!==e.tag&&b(e,"duplication of a tag property"),60===(s=e.input.charCodeAt(++e.position))?(o=!0,s=e.input.charCodeAt(++e.position)):33===s?(i=!0,r="!!",s=e.input.charCodeAt(++e.position)):r="!",t=e.position,o){for(;0!==(s=e.input.charCodeAt(++e.position))&&62!==s;);e.position<e.length?(n=e.input.slice(t,e.position),s=e.input.charCodeAt(++e.position)):b(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==s&&!dn(s);)33===s&&(i?b(e,"tag suffix cannot contain exclamation marks"):(r=e.input.slice(t-1,e.position+1),ln.test(r)||b(e,"named tag handle cannot contain such characters"),i=!0,t=e.position+1)),s=e.input.charCodeAt(++e.position);n=e.input.slice(t,e.position),an.test(n)&&b(e,"tag suffix cannot contain flow indicator characters")}n&&!cn.test(n)&&b(e,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch(t){b(e,"tag name is malformed: "+n)}return o?e.tag=n:Yr.call(e.tagMap,r)?e.tag=e.tagMap[r]+n:"!"===r?e.tag="!"+n:"!!"===r?e.tag="tag:yaml.org,2002:"+n:b(e,'undeclared tag handle "'+r+'"'),1}}(e)||function(e){var t,r;if(38===(r=e.input.charCodeAt(e.position))){for(null!==e.anchor&&b(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!dn(r)&&!fn(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&b(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),1}}(e);)On(e,!0,-1)?(d=!0,a=o,e.lineIndent>t?h=1:e.lineIndent===t?h=0:e.lineIndent<t&&(h=-1)):a=!1;if(a=a&&(d||s),1!==h&&en!==r||(n=Xr===r||Qr===r?t:t+1,s=e.position-e.lineStart,1===h?a&&(Pn(e,s)||function(e,t,r){var n,s,o,i,a,l,c,u=e.tag,p=e.anchor,h={},d=Object.create(null),f=null,m=null,g=null,y=!1,v=!1;if(-1===e.firstTabInLine){for(null!==e.anchor&&(e.anchorMap[e.anchor]=h),c=e.input.charCodeAt(e.position);0!==c;){if(y||-1===e.firstTabInLine||(e.position=e.firstTabInLine,b(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),o=e.line,63!==c&&58!==c||!dn(n)){if(i=e.line,a=e.lineStart,l=e.position,!Nn(e,r,Qr,!1,!0))break;if(e.line===o){for(c=e.input.charCodeAt(e.position);hn(c);)c=e.input.charCodeAt(++e.position);if(58===c)dn(c=e.input.charCodeAt(++e.position))||b(e,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(kn(e,h,d,f,m,null,i,a,l),f=m=g=null),s=y=!(v=!0),f=e.tag,m=e.result;else{if(!v)return e.tag=u,e.anchor=p,1;b(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!v)return e.tag=u,e.anchor=p,1;b(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===c?(y&&(kn(e,h,d,f,m,null,i,a,l),f=m=g=null),s=y=v=!0):y?s=!(y=!1):b(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,c=n;if((e.line===o||e.lineIndent>t)&&(y&&(i=e.line,a=e.lineStart,l=e.position),Nn(e,t,en,!0,s)&&(y?m=e.result:g=e.result),y||(kn(e,h,d,f,m,g,i,a,l),f=m=g=null),On(e,!0,-1),c=e.input.charCodeAt(e.position)),(e.line===o||e.lineIndent>t)&&0!==c)b(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return y&&kn(e,h,d,f,m,null,i,a,l),v&&(e.tag=u,e.anchor=p,e.kind="mapping",e.result=h),v}}(e,s,n))||function(e,t){var r,n,s,o,i,a,l,c,u,p,h,d,f=!0,m=e.tag,g=e.anchor,y=Object.create(null);if(91===(d=e.input.charCodeAt(e.position)))c=!(i=93),o=[];else{if(123!==d)return;i=125,c=!0,o={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=o),d=e.input.charCodeAt(++e.position);0!==d;){if(On(e,!0,t),(d=e.input.charCodeAt(e.position))===i)return e.position++,e.tag=m,e.anchor=g,e.kind=c?"mapping":"sequence",e.result=o,1;f?44===d&&b(e,"expected the node content, but found ','"):b(e,"missed comma between flow collection entries"),h=null,a=l=!1,63===d&&dn(e.input.charCodeAt(e.position+1))&&(a=l=!0,e.position++,On(e,!0,t)),r=e.line,n=e.lineStart,s=e.position,Nn(e,t,Xr,!1,!0),p=e.tag,u=e.result,On(e,!0,t),d=e.input.charCodeAt(e.position),!l&&e.line!==r||58!==d||(a=!0,d=e.input.charCodeAt(++e.position),On(e,!0,t),Nn(e,t,Xr,!1,!0),h=e.result),c?kn(e,o,y,p,u,h,r,n,s):a?o.push(kn(e,null,y,p,u,h,r,n,s)):o.push(u),On(e,!0,t),44===(d=e.input.charCodeAt(e.position))?(f=!0,d=e.input.charCodeAt(++e.position)):f=!1}b(e,"unexpected end of the stream within a flow collection")}(e,n)?f=!0:(i&&function(e,t){var r,n,s,o,i=tn,a=!1,l=!1,c=t,u=0,p=!1;if(124===(o=e.input.charCodeAt(e.position)))n=!1;else{if(62!==o)return;n=!0}for(e.kind="scalar",e.result="";0!==o;)if(43===(o=e.input.charCodeAt(++e.position))||45===o)tn===i?i=43===o?nn:rn:b(e,"repeat of a chomping mode identifier");else{if(!(0<=(s=48<=o&&o<=57?o-48:-1)))break;0==s?b(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?b(e,"repeat of an indentation width identifier"):(c=t+s-1,l=!0)}if(hn(o)){for(;hn(o=e.input.charCodeAt(++e.position)););if(35===o)for(;!pn(o=e.input.charCodeAt(++e.position))&&0!==o;);}for(;0!==o;){for(An(e),e.lineIndent=0,o=e.input.charCodeAt(e.position);(!l||e.lineIndent<c)&&32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position);if(!l&&e.lineIndent>c&&(c=e.lineIndent),pn(o))u++;else{if(e.lineIndent<c){i===nn?e.result+=hr.repeat("\n",a?1+u:u):i===tn&&a&&(e.result+="\n");break}for(n?hn(o)?(p=!0,e.result+=hr.repeat("\n",a?1+u:u)):p?(p=!1,e.result+=hr.repeat("\n",u+1)):0===u?a&&(e.result+=" "):e.result+=hr.repeat("\n",u):e.result+=hr.repeat("\n",a?1+u:u),l=a=!0,u=0,r=e.position;!pn(o)&&0!==o;)o=e.input.charCodeAt(++e.position);Sn(e,r,e.position,!1)}}return 1}(e,n)||function(e,t){var r,n,s;if(39===(r=e.input.charCodeAt(e.position))){for(e.kind="scalar",e.result="",e.position++,n=s=e.position;0!==(r=e.input.charCodeAt(e.position));)if(39===r){if(Sn(e,n,e.position,!0),39!==(r=e.input.charCodeAt(++e.position)))return 1;n=e.position,e.position++,s=e.position}else pn(r)?(Sn(e,n,s,!0),jn(e,On(e,!1,t)),n=s=e.position):e.position===e.lineStart&&Cn(e)?b(e,"unexpected end of the document within a single quoted scalar"):(e.position++,s=e.position);b(e,"unexpected end of the stream within a single quoted scalar")}}(e,n)||function(e,t){var r,n,s,o,i,a,l,c;if(34===(a=e.input.charCodeAt(e.position))){for(e.kind="scalar",e.result="",e.position++,r=n=e.position;0!==(a=e.input.charCodeAt(e.position));){if(34===a)return Sn(e,r,e.position,!0),e.position++,1;if(92===a){if(Sn(e,r,e.position,!0),pn(a=e.input.charCodeAt(++e.position)))On(e,!1,t);else if(a<256&&gn[a])e.result+=yn[a],e.position++;else if(0<(i=120===a?2:117===a?4:85===a?8:0)){for(s=i,o=0;0<s;s--)0<=(i=48<=(c=a=e.input.charCodeAt(++e.position))&&c<=57?c-48:97<=(c=32|c)&&c<=102?c-97+10:-1)?o=(o<<4)+i:b(e,"expected hexadecimal character");e.result+=(l=o)<=65535?String.fromCharCode(l):String.fromCharCode(55296+(l-65536>>10),56320+(l-65536&1023)),e.position++}else b(e,"unknown escape sequence");r=n=e.position}else pn(a)?(Sn(e,r,n,!0),jn(e,On(e,!1,t)),r=n=e.position):e.position===e.lineStart&&Cn(e)?b(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}b(e,"unexpected end of the stream within a double quoted scalar")}}(e,n)?f=!0:function(e){var t,r;if(42===(r=e.input.charCodeAt(e.position))){for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!dn(r)&&!fn(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&b(e,"name of an alias node must contain at least one character"),t=e.input.slice(t,e.position),Yr.call(e.anchorMap,t)||b(e,'unidentified alias "'+t+'"'),e.result=e.anchorMap[t],On(e,!0,-1),1}}(e)?(f=!0,null===e.tag&&null===e.anchor||b(e,"alias node should not have any properties")):function(e,t,r){var n,s,o,i,a,l,c,u,p=e.kind,h=e.result;if(!dn(u=e.input.charCodeAt(e.position))&&!fn(u)&&35!==u&&38!==u&&42!==u&&33!==u&&124!==u&&62!==u&&39!==u&&34!==u&&37!==u&&64!==u&&96!==u&&(63!==u&&45!==u||!(dn(n=e.input.charCodeAt(e.position+1))||r&&fn(n)))){for(e.kind="scalar",e.result="",s=o=e.position,i=!1;0!==u;){if(58===u){if(dn(n=e.input.charCodeAt(e.position+1))||r&&fn(n))break}else if(35===u){if(dn(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&Cn(e)||r&&fn(u))break;if(pn(u)){if(a=e.line,l=e.lineStart,c=e.lineIndent,On(e,!1,-1),e.lineIndent>=t){i=!0,u=e.input.charCodeAt(e.position);continue}e.position=o,e.line=a,e.lineStart=l,e.lineIndent=c;break}}i&&(Sn(e,s,o,!1),jn(e,e.line-a),s=o=e.position,i=!1),hn(u)||(o=e.position+1),u=e.input.charCodeAt(++e.position)}return Sn(e,s,o,!1),e.result||(e.kind=p,e.result=h,0)}}(e,n,Xr===r)&&(f=!0,null===e.tag&&(e.tag="?")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===h&&(f=a&&Pn(e,s))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&b(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),l=0,c=e.implicitTypes.length;l<c;l+=1)if((p=e.implicitTypes[l]).resolve(e.result)){e.result=p.construct(e.result),e.tag=p.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else if("!"!==e.tag){if(Yr.call(e.typeMap[e.kind||"fallback"],e.tag))p=e.typeMap[e.kind||"fallback"][e.tag];else for(p=null,l=0,c=(u=e.typeMap.multi[e.kind||"fallback"]).length;l<c;l+=1)if(e.tag.slice(0,u[l].tag.length)===u[l].tag){p=u[l];break}p||b(e,"unknown tag !<"+e.tag+">"),null!==e.result&&p.kind!==e.kind&&b(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result,e.tag)?(e.result=p.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):b(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||f}function In(e,t){t=t||{},0!==(e=String(e)).length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));var r=new bn(e,t),t=e.indexOf("\0");for(-1!==t&&(r.position=t,b(r,"null byte is not allowed in input")),r.input+="\0";32===r.input.charCodeAt(r.position);)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;){n=void 0;s=void 0;o=void 0;i=void 0;a=void 0;l=void 0;c=void 0;var n=r;var s,o,i,a,l=n.position,c=!1;for(n.version=null,n.checkLineBreaks=n.legacy,n.tagMap=Object.create(null),n.anchorMap=Object.create(null);0!==(a=n.input.charCodeAt(n.position))&&(On(n,!0,-1),a=n.input.charCodeAt(n.position),!(0<n.lineIndent||37!==a));){for(c=!0,a=n.input.charCodeAt(++n.position),s=n.position;0!==a&&!dn(a);)a=n.input.charCodeAt(++n.position);for(i=[],(o=n.input.slice(s,n.position)).length<1&&b(n,"directive name must not be less than one character in length");0!==a;){for(;hn(a);)a=n.input.charCodeAt(++n.position);if(35===a){for(;0!==(a=n.input.charCodeAt(++n.position))&&!pn(a););break}if(pn(a))break;for(s=n.position;0!==a&&!dn(a);)a=n.input.charCodeAt(++n.position);i.push(n.input.slice(s,n.position))}0!==a&&An(n),Yr.call(xn,o)?xn[o](n,o,i):En(n,'unknown document directive "'+o+'"')}On(n,!0,-1),0===n.lineIndent&&45===n.input.charCodeAt(n.position)&&45===n.input.charCodeAt(n.position+1)&&45===n.input.charCodeAt(n.position+2)?(n.position+=3,On(n,!0,-1)):c&&b(n,"directives end mark is expected"),Nn(n,n.lineIndent-1,en,!1,!0),On(n,!0,-1),n.checkLineBreaks&&on.test(n.input.slice(l,n.position))&&En(n,"non-ASCII line breaks are interpreted as content"),n.documents.push(n.result),n.position===n.lineStart&&Cn(n)?46===n.input.charCodeAt(n.position)&&(n.position+=3,On(n,!0,-1)):n.position<n.length-1&&b(n,"end of the stream or a document separator is expected")}return r.documents}var Tn=function(e,t,r){null!==t&&"object"==typeof t&&void 0===r&&(r=t,t=null);var n=In(e,r);if("function"!=typeof t)return n;for(var s=0,o=n.length;s<o;s+=1)t(n[s])},Mn=function(e,t){e=In(e,t);if(0!==e.length){if(1===e.length)return e[0];throw new mr("expected a single document in the stream, but found more")}},Rn=Object.prototype.toString,Dn=Object.prototype.hasOwnProperty,Ln=10,Fn={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"},Bn=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],$n=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;var qn=1,Un=2;function zn(e){this.schema=e.schema||Gr,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=hr.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var r,n,s,o,i,a,l;if(null===t)return{};for(r={},s=0,o=(n=Object.keys(t)).length;s<o;s+=1)i=n[s],a=String(t[i]),"!!"===i.slice(0,2)&&(i="tag:yaml.org,2002:"+i.slice(2)),(l=e.compiledTypeMap.fallback[i])&&Dn.call(l.styleAliases,a)&&(a=l.styleAliases[a]),r[i]=a;return r}(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType='"'===e.quotingType?Un:qn,this.forceQuotes=e.forceQuotes||!1,this.replacer="function"==typeof e.replacer?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function Vn(e,t){for(var r,n,s=hr.repeat(" ",t),o=0,i="",a=e.length;o<a;)o=-1===(n=e.indexOf("\n",o))?(r=e.slice(o),a):(r=e.slice(o,n+1),n+1),r.length&&"\n"!==r&&(i+=s),i+=r;return i}function Kn(e,t){return"\n"+hr.repeat(" ",e.indent*t)}function Wn(e){return 32===e||9===e}function Jn(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e||57344<=e&&e<=65533&&65279!==e||65536<=e&&e<=1114111}function Hn(e){return Jn(e)&&65279!==e&&13!==e&&e!==Ln}function Gn(e,t,r){var n=Hn(e),s=n&&!Wn(e);return(r?n:n&&44!==e&&91!==e&&93!==e&&123!==e&&125!==e)&&35!==e&&!(58===t&&!s)||Hn(t)&&!Wn(t)&&35===e||58===t&&s}function Yn(e,t){var r=e.charCodeAt(t);return 55296<=r&&r<=56319&&t+1<e.length&&56320<=(e=e.charCodeAt(t+1))&&e<=57343?1024*(r-55296)+e-56320+65536:r}function Xn(e){return/^\n* /.test(e)}var Qn=1,Zn=2,es=3,ts=4,rs=5;function ns(o,n,s,i,a){o.dump=function(){if(0===n.length)return o.quotingType===Un?'""':"''";if(!o.noCompatMode&&(-1!==Bn.indexOf(n)||$n.test(n)))return o.quotingType===Un?'"'+n+'"':"'"+n+"'";var e=o.indent*Math.max(1,s),t=-1===o.lineWidth?-1:Math.max(Math.min(o.lineWidth,40),o.lineWidth-e),r=i||-1<o.flowLevel&&s>=o.flowLevel;switch(function(e,t,r,n,s,o,i,a){var l,c,u=0,p=null,h=!1,d=!1,f=-1!==n,m=-1,g=Jn(c=Yn(e,0))&&65279!==c&&!Wn(c)&&45!==c&&63!==c&&58!==c&&44!==c&&91!==c&&93!==c&&123!==c&&125!==c&&35!==c&&38!==c&&42!==c&&33!==c&&124!==c&&61!==c&&62!==c&&39!==c&&34!==c&&37!==c&&64!==c&&96!==c&&(!Wn(c=Yn(e,e.length-1))&&58!==c);if(t||i)for(l=0;l<e.length;65536<=u?l+=2:l++){if(!Jn(u=Yn(e,l)))return rs;g=g&&Gn(u,p,a),p=u}else{for(l=0;l<e.length;65536<=u?l+=2:l++){if((u=Yn(e,l))===Ln)h=!0,f&&(d=d||n<l-m-1&&" "!==e[m+1],m=l);else if(!Jn(u))return rs;g=g&&Gn(u,p,a),p=u}d=d||f&&n<l-m-1&&" "!==e[m+1]}return h||d?9<r&&Xn(e)?rs:i?o===Un?rs:Zn:d?ts:es:!g||i||s(e)?o===Un?rs:Zn:Qn}(n,r,o.indent,t,function(e){for(var t=o,r=e,n=0,s=t.implicitTypes.length;n<s;n+=1)if(t.implicitTypes[n].resolve(r))return 1},o.quotingType,o.forceQuotes&&!i,a)){case Qn:return n;case Zn:return"'"+n.replace(/'/g,"''")+"'";case es:return"|"+ss(n,o.indent)+os(Vn(n,e));case ts:return">"+ss(n,o.indent)+os(Vn(function(e,t){for(var r,n=/(\n+)([^\n]*)/g,s=(r=-1!==(r=e.indexOf("\n"))?r:e.length,n.lastIndex=r,is(e.slice(0,r),t)),o="\n"===e[0]||" "===e[0];a=n.exec(e);){var i=a[1],a=a[2],l=" "===a[0];s+=i+(o||l||""===a?"":"\n")+is(a,t),o=l}return s}(n,t),e));case rs:return'"'+function(e){for(var t,r,n="",s=0;s<e.length;65536<=r?s+=2:s++)r=Yn(e,s),!(t=Fn[r])&&Jn(r)?(n+=e[s],65536<=r&&(n+=e[s+1])):n+=t||function(e){var t,r,n=e.toString(16).toUpperCase();if(e<=255)t="x",r=2;else if(e<=65535)t="u",r=4;else{if(!(e<=4294967295))throw new mr("code point within a string may not be greater than 0xFFFFFFFF");t="U",r=8}return"\\"+t+hr.repeat("0",r-n.length)+n}(r);return n}(n)+'"';default:throw new mr("impossible error: invalid scalar style")}}()}function ss(e,t){var t=Xn(e)?String(t):"",r="\n"===e[e.length-1];return t+(!r||"\n"!==e[e.length-2]&&"\n"!==e?r?"":"-":"+")+"\n"}function os(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function is(e,t){if(""===e||" "===e[0])return e;for(var r,n,s=/ [^ ]/g,o=0,i=0,a="";n=s.exec(e);)(n=n.index)-o>t&&(a+="\n"+e.slice(o,r=o<i?i:n),o=r+1),i=n;return a+="\n",e.length-o>t&&o<i?a+=e.slice(o,i)+"\n"+e.slice(i+1):a+=e.slice(o),a.slice(1)}function as(e,t,r,n){for(var s,o="",i=e.tag,a=0,l=r.length;a<l;a+=1)s=r[a],e.replacer&&(s=e.replacer.call(r,String(a),s)),(cs(e,t+1,s,!0,!0,!1,!0)||void 0===s&&cs(e,t+1,null,!0,!0,!1,!0))&&(n&&""===o||(o+=Kn(e,t)),e.dump&&Ln===e.dump.charCodeAt(0)?o+="-":o+="- ",o+=e.dump);e.tag=i,e.dump=o||"[]"}function ls(e,t,r){for(var n,s,o,i,a=0,l=(s=r?e.explicitTypes:e.implicitTypes).length;a<l;a+=1)if(((o=s[a]).instanceOf||o.predicate)&&(!o.instanceOf||"object"==typeof t&&t instanceof o.instanceOf)&&(!o.predicate||o.predicate(t))){if(r?o.multi&&o.representName?e.tag=o.representName(t):e.tag=o.tag:e.tag="?",o.represent){if(i=e.styleMap[o.tag]||o.defaultStyle,"[object Function]"===Rn.call(o.represent))n=o.represent(t,i);else{if(!Dn.call(o.represent,i))throw new mr("!<"+o.tag+'> tag resolver accepts not "'+i+'" style');n=o.represent[i](t,i)}e.dump=n}return 1}}function cs(e,t,r,n,s,o,i){e.tag=null,e.dump=r,ls(e,r,!1)||ls(e,r,!0);var a=Rn.call(e.dump),D=n;n=n&&(e.flowLevel<0||e.flowLevel>t);var l,c,u="[object Object]"===a||"[object Array]"===a;if(u&&(c=-1!==(l=e.duplicates.indexOf(r))),(null!==e.tag&&"?"!==e.tag||c||2!==e.indent&&0<t)&&(s=!1),c&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(u&&c&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),"[object Object]"===a)if(n&&0!==Object.keys(e.dump).length){{var p=e;var h=t;var d=e.dump;var L=s;var f,m,g,y,v,b="",r=p.tag,w=Object.keys(d);if(!0===p.sortKeys)w.sort();else if("function"==typeof p.sortKeys)w.sort(p.sortKeys);else if(p.sortKeys)throw new mr("sortKeys must be a boolean or a function");for(f=0,m=w.length;f<m;f+=1)v="",L&&""===b||(v+=Kn(p,h)),g=d[y=w[f]],p.replacer&&(g=p.replacer.call(d,y,g)),cs(p,h+1,y,!0,!0,!0)&&((y=null!==p.tag&&"?"!==p.tag||p.dump&&1024<p.dump.length)&&(p.dump&&Ln===p.dump.charCodeAt(0)?v+="?":v+="? "),v+=p.dump,y&&(v+=Kn(p,h)),cs(p,h+1,g,!0,y)&&(p.dump&&Ln===p.dump.charCodeAt(0)?v+=":":v+=": ",b+=v+=p.dump));p.tag=r,p.dump=b||"{}"}c&&(e.dump="&ref_"+l+e.dump)}else{{var E=e;var x=t;var S=e.dump;for(var _,k,A,O="",u=E.tag,C=Object.keys(S),j=0,F=C.length;j<F;j+=1)(A="")!==O&&(A+=", "),E.condenseFlow&&(A+='"'),k=S[_=C[j]],E.replacer&&(k=E.replacer.call(S,_,k)),cs(E,x,_,!1,!1)&&(1024<E.dump.length&&(A+="? "),A+=E.dump+(E.condenseFlow?'"':"")+":"+(E.condenseFlow?"":" "),cs(E,x,k,!1,!1)&&(O+=A+=E.dump));E.tag=u,E.dump="{"+O+"}"}c&&(e.dump="&ref_"+l+" "+e.dump)}else if("[object Array]"===a)if(n&&0!==e.dump.length)e.noArrayIndent&&!i&&0<t?as(e,t-1,e.dump,s):as(e,t,e.dump,s),c&&(e.dump="&ref_"+l+e.dump);else{{var P=e;var N=t;var I=e.dump;for(var T,M="",r=P.tag,R=0,B=I.length;R<B;R+=1)T=I[R],P.replacer&&(T=P.replacer.call(I,String(R),T)),(cs(P,N,T,!1,!1)||void 0===T&&cs(P,N,null,!1,!1))&&(""!==M&&(M+=","+(P.condenseFlow?"":" ")),M+=P.dump);P.tag=r,P.dump="["+M+"]"}c&&(e.dump="&ref_"+l+" "+e.dump)}else{if("[object String]"!==a){if("[object Undefined]"===a)return;if(e.skipInvalid)return;throw new mr("unacceptable kind of an object to dump "+a)}"?"!==e.tag&&ns(e,e.dump,t,o,D)}null!==e.tag&&"?"!==e.tag&&(u=encodeURI("!"===e.tag[0]?e.tag.slice(1):e.tag).replace(/!/g,"%21"),u="!"===e.tag[0]?"!"+u:"tag:yaml.org,2002:"===u.slice(0,18)?"!!"+u.slice(18):"!<"+u+">",e.dump=u+" "+e.dump)}return 1}function us(e,t){var r,n,s=[],o=[];for(function e(t,r,n){var s,o,i;if(null!==t&&"object"==typeof t)if(-1!==(o=r.indexOf(t)))-1===n.indexOf(o)&&n.push(o);else if(r.push(t),Array.isArray(t))for(o=0,i=t.length;o<i;o+=1)e(t[o],r,n);else for(o=0,i=(s=Object.keys(t)).length;o<i;o+=1)e(t[s[o]],r,n)}(e,s,o),r=0,n=o.length;r<n;r+=1)t.duplicates.push(s[o[r]]);t.usedDuplicates=new Array(n)}function ps(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}var hs=Mr,Mr=ps("safeLoad","load"),ds=ps("safeLoadAll","loadAll"),fs=ps("safeDump","dump");const ms={Type:vr,Schema:be,FAILSAFE_SCHEMA:Or,JSON_SCHEMA:hs,CORE_SCHEMA:Rr,DEFAULT_SCHEMA:Gr,load:Mn,loadAll:Tn,dump:function(e,t){t=new zn(t=t||{}),t.noRefs||us(e,t);return t.replacer&&(e=t.replacer.call({"":e},"",e)),cs(t,0,e,!0,!0)?t.dump+"\n":""},YAMLException:mr,types:{binary:qr,float:Tr,map:Ar,null:Cr,pairs:Wr,set:Hr,timestamp:Fr,bool:jr,int:Pr,merge:Br,omap:Vr,seq:kr,str:_r},safeLoad:Mr,safeLoadAll:ds,safeDump:fs},gs="configs_update",ys="configs_toggle";const vs=()=>()=>{},bs=r=>e=>{const{fetch:t}=e["fn"];return t(r)},ws=(s,o)=>t=>{const{specActions:r,configsActions:e}=t;if(s)return e.downloadConfig(s).then(n,n);function n(e){e instanceof Error||400<=e.status?(r.updateLoadingStatus("failedConfig"),r.updateLoadingStatus("failedConfig"),r.updateUrl(""),console.error(e.statusText+" "+s.url),o(null)):o(((e,t)=>{try{return ms.load(e)}catch(e){return t&&t.errActions.newThrownErr(new Error(e)),{}}})(e.text,t))}},Es=(e,t)=>e.getIn(Array.isArray(t)?t:[t]),xs={[gs]:(e,t)=>e.merge((0,$.fromJS)(t.payload)),[ys]:(e,t)=>{var t=t.payload,r=e.get(t);return e.set(t,!r)}};function Ss(){return{statePlugins:{configs:{reducers:xs,actions:j,selectors:P}}}}const _s=e=>e?history.pushState(null,null,"#"+e):window.location.hash="";var be=cI(86215),ks=cI.n(be);const As="layout_scroll_to",Os="layout_clear_scroll",Cs={fn:{getScrollParent:function(t,e){var r=document.documentElement,n=getComputedStyle(t);const s="absolute"===n.position,o=e?/(auto|scroll|hidden)/:/(auto|scroll)/;if("fixed"===n.position)return r;for(let e=t;e=e.parentElement;)if(n=getComputedStyle(e),(!s||"static"!==n.position)&&o.test(n.overflow+n.overflowY+n.overflowX))return e;return r}},statePlugins:{layout:{actions:{scrollToElement:(t,r)=>e=>{try{r=r||e.fn.getScrollParent(t),ks().createScroller(r).to(t)}catch(e){console.error(e)}},scrollTo:e=>({type:As,payload:Array.isArray(e)?e:[e]}),clearScrollTo:()=>({type:Os}),readyToScroll:(r,n)=>e=>{var t=e.layoutSelectors.getScrollToKey();Z().is(t,(0,$.fromJS)(r))&&(e.layoutActions.scrollToElement(n),e.layoutActions.clearScrollTo())},parseDeepLinkHash:l=>({layoutActions:t,layoutSelectors:r,getConfigs:e})=>{if(e().deepLinking&&l){let e=l.slice(1);const n=(e="/"===(e="!"===e[0]?e.slice(1):e)[0]?e.slice(1):e).split("/").map(e=>e||""),s=r.isShownKeyFromUrlHashArray(n),[o,i="",a=""]=s;if("operations"===o){const l=r.isShownKeyFromUrlHashArray([i]);-1<i.indexOf("_")&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),t.show(l.map(e=>e.replace(/_/g," ")),!0)),t.show(l,!0)}(-1<i.indexOf("_")||-1<a.indexOf("_"))&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),t.show(s.map(e=>e.replace(/_/g," ")),!0)),t.show(s,!0),t.scrollTo(s)}}},selectors:{getScrollToKey:e=>e.get("scrollToKey"),isShownKeyFromUrlHashArray(e,t){var[t,r]=t;return r?["operations",t,r]:t?["operations-tag",t]:[]},urlHashArrayFromIsShownKey(e,t){var[t,r,n]=t;return"operations"==t?[r,n]:"operations-tag"==t?[r]:[]}},reducers:{layout_scroll_to:(e,t)=>e.set("scrollToKey",Z().fromJS(t.payload)),layout_clear_scroll:e=>e.delete("scrollToKey")},wrapActions:{show:(e,{getConfigs:t,layoutSelectors:i})=>(...r)=>{if(e(...r),t().deepLinking)try{let[e,t]=r;e=Array.isArray(e)?e:[e];var n,s,o=i.urlHashArrayFromIsShownKey(e);if(o.length)return[n,s]=o,t?void(2===o.length?_s(it(`/${encodeURIComponent(n)}/`+encodeURIComponent(s))):1===o.length&&_s(it("/"+encodeURIComponent(n)))):_s("/")}catch(e){console.error(e)}}}}}};Or=cI(2209),Rr=cI.n(Or);const js=(e,o)=>class extends ae.Component{onLoad=e=>{const t=this.props["operation"],{tag:r,operationId:n}=t.toObject();var s=t.toObject()["isShownKey"];o.layoutActions.readyToScroll(s||["operations",r,n],e)};render(){return ae.createElement("span",{ref:this.onLoad},ae.createElement(e,this.props))}},Ps=(e,r)=>class extends ae.Component{onLoad=e=>{var t=this.props["tag"];r.layoutActions.readyToScroll(["operations-tag",t],e)};render(){return ae.createElement("span",{ref:this.onLoad},ae.createElement(e,this.props))}};function Ns(){return[Cs,{statePlugins:{configs:{wrapActions:{loaded:(t,r)=>(...e)=>{t(...e);e=decodeURIComponent(window.location.hash);r.layoutActions.parseDeepLinkHash(e)}}}},wrapComponents:{operation:js,OperationTag:Ps}}]}var Mn=cI(40860),Is=cI.n(Mn);var Tn=cI(58156),Ts=cI.n(Tn);const Ms=[I,T];function Rs(e){let r={jsSpec:{}},t=Is()(Ms,(t,e)=>{try{return e.transform(t,r).filter(e=>!!e)}catch(e){return console.error("Transformer error:",e),t}},e);return t.filter(e=>!!e).map(e=>(e.get("line")||e.get("path"),e))}let Ds={line:0,level:"error",message:"Unknown error"};const Ls=o(e=>e,e=>e.get("errors",(0,$.List)())),Fs=o(Ls,e=>e.last());function Bs(e){return{statePlugins:{err:{reducers:{[_e]:(e,{payload:t})=>{let r=Object.assign(Ds,t,{type:"thrown"});return e.update("errors",e=>(e||(0,$.List)()).push((0,$.fromJS)(r))).update("errors",e=>Rs(e))},[ke]:(e,{payload:t})=>(t=t.map(e=>(0,$.fromJS)(Object.assign(Ds,e,{type:"thrown"}))),e.update("errors",e=>(e||(0,$.List)()).concat((0,$.fromJS)(t))).update("errors",e=>Rs(e))),[Ae]:(e,{payload:t})=>{let r=(0,$.fromJS)(t);return r=r.set("type","spec"),e.update("errors",e=>(e||(0,$.List)()).push((0,$.fromJS)(r)).sortBy(e=>e.get("line"))).update("errors",e=>Rs(e))},[Oe]:(e,{payload:t})=>(t=t.map(e=>(0,$.fromJS)(Object.assign(Ds,e,{type:"spec"}))),e.update("errors",e=>(e||(0,$.List)()).concat((0,$.fromJS)(t))).update("errors",e=>Rs(e))),[Ce]:(e,{payload:t})=>{let r=(0,$.fromJS)(Object.assign({},t));return r=r.set("type","auth"),e.update("errors",e=>(e||(0,$.List)()).push((0,$.fromJS)(r))).update("errors",e=>Rs(e))},[je]:(e,{payload:n})=>{if(!n||!e.get("errors"))return e;var t=e.get("errors").filter(r=>r.keySeq().every(e=>{var t=r.get(e),e=n[e];return!e||t!==e}));return e.merge({errors:t})},[Pe]:(e,{payload:t})=>{if(!t||"function"!=typeof t)return e;var r=e.get("errors").filter(e=>t(e));return e.merge({errors:r})}},actions:y,selectors:R}}}}function $s(e,r){return e.filter((e,t)=>-1!==t.indexOf(r))}function qs(){return{fn:{opsFilter:$s}}}var qr=cI(7666),q=cI.n(qr);const Us=()=>({components:{ArrowUpIcon:({className:e=null,width:t=20,height:r=20,...n})=>ae.createElement("svg",q()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),ae.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"})),ArrowDownIcon:({className:e=null,width:t=20,height:r=20,...n})=>ae.createElement("svg",q()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),ae.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"})),ArrowIcon:({className:e=null,width:t=20,height:r=20,...n})=>ae.createElement("svg",q()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),ae.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"})),CloseIcon:({className:e=null,width:t=20,height:r=20,...n})=>ae.createElement("svg",q()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),ae.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"})),CopyIcon:({className:e=null,width:t=15,height:r=16,...n})=>ae.createElement("svg",q()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 16",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),ae.createElement("g",{transform:"translate(2, -1)"},ae.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"}))),LockIcon:({className:e=null,width:t=20,height:r=20,...n})=>ae.createElement("svg",q()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),ae.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"})),UnlockIcon:({className:e=null,width:t=20,height:r=20,...n})=>ae.createElement("svg",q()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),ae.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"}))}}),zs="layout_update_layout",Vs="layout_update_filter",Ks="layout_update_mode",Ws="layout_show";const Js={[zs]:(e,t)=>e.set("layout",t.payload),[Vs]:(e,t)=>e.set("filter",t.payload),[Ws]:(e,t)=>{const r=t.payload.shown,n=(0,$.fromJS)(t.payload.thing);return e.update("shown",(0,$.fromJS)({}),e=>e.set(n,r))},[Ks]:(e,t)=>{var r=t.payload.thing,t=t.payload.mode;return e.setIn(["modes"].concat(r),(t||"")+"")}},Hs=e=>e.get("layout"),Gs=e=>e.get("filter"),Ys=(e,t,r)=>(t=We(t),e.get("shown",(0,$.fromJS)({})).get((0,$.fromJS)(t),r)),Xs=(e,t,r="")=>(t=We(t),e.getIn(["modes",...t],r)),Qs=o(e=>e,e=>!Ys(e,"editor")),Zs=(l,c)=>(e,...t)=>{let r=l(e,...t);const{fn:n,layoutSelectors:s,getConfigs:o}=c.getSystem(),i=o(),a=i["maxDisplayedTags"];e=s.currentFilter();return e&&!0!==e&&(r=n.opsFilter(r,e)),r=0<=a?r.slice(0,a):r};function eo(){return{statePlugins:{layout:{reducers:Js,actions:D,selectors:L},spec:{wrapSelectors:F}}}}function to({configs:e}){const t={debug:0,info:1,log:2,warn:3,error:4},r=e=>t[e]||-1;let n=e["logLevel"],s=r(n);function o(e,...t){r(e)>=s&&console[e](...t)}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 ro=!1;function no(){return{statePlugins:{spec:{wrapActions:{updateSpec:t=>(...e)=>(ro=!0,t(...e)),updateJsonSpec:(r,n)=>(...e)=>{var t=n.getConfigs().onComplete;return ro&&"function"==typeof t&&(setTimeout(t,0),ro=!1),r(...e)}}}}}}const so=e=>{return e.indexOf("_**[]")<0?e:e.split("_**[]")[0].trim()},oo=e=>"-d "===e||/^[_\/-]/g.test(e)?e:"'"+e.replace(/'/g,"'\\''")+"'",io=e=>"-d "===(e=e.replace(/\^/g,"^^").replace(/\\"/g,'\\\\"').replace(/"/g,'""').replace(/\n/g,"^\n"))?e.replace(/-d /g,"-d ^\n"):/^[_\/-]/g.test(e)?e:'"'+e+'"',ao=e=>"-d "===e?e:/\n/.test(e)?`@"
|
||
${e.replace(/`/g,"``").replace(/\$/g,"`$")}
|
||
"@`:/^[_\/-]/.test(e)?e:`'${e.replace(/'/g,"''")}'`,lo=(t,r,e,n="")=>{let s=!1,o="";var i=(...e)=>o+=" "+e.map(r).join(" "),a=(...e)=>o+=e.map(r).join(" "),l=()=>o+=" "+e,c=(e=1)=>o+=" ".repeat(e),u=t.get("headers");o+="curl"+n;const p=t.get("curlOptions");if($.List.isList(p)&&!p.isEmpty()&&i(...t.get("curlOptions")),i("-X",t.get("method")),l(),c(),a(""+t.get("url")),u&&u.size)for(var h of t.get("headers").entries()){l(),c();var[h,d]=h;a("-H",h+": "+d),s=s||/^content-type$/i.test(h)&&/^multipart\/form-data$/i.test(d)}const f=t.get("body");if(f)if(s&&["POST","PUT","PATCH"].includes(t.get("method")))for(var[m,g]of f.entrySeq()){m=so(m);l(),c(),a("-F"),g instanceof B.File&&"string"==typeof g.valueOf()?i(m+"="+g.data+(g.type?";type="+g.type:"")):g instanceof B.File?i(m+"=@"+g.name+(g.type?";type="+g.type:"")):i(m+"="+g)}else if(f instanceof B.File)l(),c(),a(`--data-binary '@${f.name}'`);else{l(),c(),a("-d ");let e=f;$.Map.isMap(e)?a(function(e){let t=[];for(var[r,n]of e.get("body").entrySeq()){r=so(r);n instanceof B.File?t.push(` "${r}": {
|
||
"name": "${n.name}"${n.type?`,
|
||
"type": "${n.type}"`:""}
|
||
}`):t.push(` "${r}": `+JSON.stringify(n,null,2).replace(/(\r\n|\r|\n)/g,"\n "))}return`{
|
||
${t.join(",\n")}
|
||
}`}(t)):a(e="string"!=typeof e?JSON.stringify(e):e)}else f||"POST"!==t.get("method")||(l(),c(),a("-d ''"));return o},co=e=>lo(e,ao,"`\n",".exe"),uo=e=>lo(e,oo,"\\\n"),po=e=>lo(e,io,"^\n"),ho=e=>e||(0,$.Map)(),fo=o(ho,e=>{const r=e.get("languages"),t=e.get("generators",(0,$.Map)());return!r||r.isEmpty()?t:t.filter((e,t)=>r.includes(t))}),mo=e=>({fn:r})=>fo(e).map((e,t)=>{t=r["requestSnippetGenerator_"+t];return"function"!=typeof t?null:e.set("fn",t)}).filter(e=>e),go=o(ho,e=>e.get("activeLanguage")),yo=o(ho,e=>e.get("defaultExpanded"));var Tr=cI(46942),le=cI.n(Tr),vo=cI(59399);const bo={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"},wo={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"},Eo=({request:e,requestSnippetsSelectors:t,getComponent:r})=>{const n=(0,ae.useRef)(null),s=r("ArrowUpIcon"),o=r("ArrowDownIcon"),i=r("SyntaxHighlighter",!0),[a,l]=(0,ae.useState)(t.getSnippetGenerators()?.keySeq().first()),[c,u]=(0,ae.useState)(t?.getDefaultExpanded()),p=t.getSnippetGenerators(),h=p.get(a),d=h.get("fn")(e),f=()=>{u(!c)},m=e=>{var{target:t,deltaY:r}=e,{scrollHeight:t,offsetHeight:n,scrollTop:s}=t;n<t&&(0===s&&r<0||t<=n+s&&0<r)&&e.preventDefault()};return(0,ae.useEffect)(()=>{},[]),(0,ae.useEffect)(()=>{const e=Array.from(n.current.childNodes).filter(e=>!!e.nodeType&&e.classList?.contains("curl-command"));return e.forEach(e=>e.addEventListener("mousewheel",m,{passive:!1})),()=>{e.forEach(e=>e.removeEventListener("mousewheel",m))}},[e]),ae.createElement("div",{className:"request-snippets",ref:n},ae.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"15px"}},ae.createElement("h4",{onClick:()=>f(),style:{cursor:"pointer"}},"Snippets"),ae.createElement("button",{onClick:()=>f(),style:{border:"none",background:"none"},title:c?"Collapse operation":"Expand operation"},c?ae.createElement(o,{className:"arrow",width:"10",height:"10"}):ae.createElement(s,{className:"arrow",width:"10",height:"10"}))),c&&ae.createElement("div",{className:"curl-command"},ae.createElement("div",{style:{paddingLeft:"15px",paddingRight:"10px",width:"100%",display:"flex"}},p.entrySeq().map(([t,e])=>ae.createElement("div",{className:le()("btn",{active:t===a}),style:(e=>e===a?wo:bo)(t),key:t,onClick:()=>{var e=t;a!==e&&l(e)}},ae.createElement("h4",{style:t===a?{color:"white"}:{}},e.get("title"))))),ae.createElement("div",{className:"copy-to-clipboard"},ae.createElement(vo.CopyToClipboard,{text:d},ae.createElement("button",null))),ae.createElement("div",null,ae.createElement(i,{language:h.get("syntax"),className:"curl microlight",renderPlainText:({children:e,PlainTextViewer:t})=>ae.createElement(t,{className:"curl"},e)},d))))},xo=()=>({components:{RequestSnippets:Eo},fn:U,statePlugins:{requestSnippets:{selectors:z}}});class So extends ae.Component{static defaultProps={collapsedContent:"{...}",expanded:!1,title:null,onToggle:()=>{},hideSelfOnExpand:!1,specPath:Z().List([])};constructor(e,t){super(e,t);var{expanded:e,collapsedContent:t}=this.props;this.state={expanded:e,collapsedContent:t||So.defaultProps.collapsedContent}}componentDidMount(){var{hideSelfOnExpand:e,expanded:t,modelName:r}=this.props;e&&t&&this.props.onToggle(r,t)}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=>{var t;e&&this.props.layoutSelectors&&(t=this.props.layoutSelectors.getScrollToKey(),Z().is(t,this.props.specPath)&&this.toggleCollapsed(),this.props.layoutActions.readyToScroll(this.props.specPath,e.parentElement))};render(){var{title:e,classes:t}=this.props;return this.state.expanded&&this.props.hideSelfOnExpand?ae.createElement("span",{className:t||""},this.props.children):ae.createElement("span",{className:t||"",ref:this.onLoad},ae.createElement("button",{"aria-expanded":this.state.expanded,className:"model-box-control",onClick:this.toggleCollapsed},e&&ae.createElement("span",{className:"pointer"},e),ae.createElement("span",{className:"model-toggle"+(this.state.expanded?"":" collapsed")}),!this.state.expanded&&ae.createElement("span",null,this.state.collapsedContent)),this.state.expanded&&this.props.children)}}const _o=({initialTab:e,isExecute:t,schema:r,example:n})=>{const s=(0,ae.useMemo)(()=>({example:"example",model:"model"}),[]),o=(0,ae.useMemo)(()=>Object.keys(s),[s]).includes(e)&&r&&!t?e:s.example,i=(e=>{const t=(0,ae.useRef)();return(0,ae.useEffect)(()=>{t.current=e}),t.current})(t),[a,l]=(0,ae.useState)(o),c=(0,ae.useCallback)(e=>{l(e.target.dataset.name)},[]);return(0,ae.useEffect)(()=>{i&&!t&&n&&l(s.example)},[i,t,n]),{activeTab:a,onTabChange:c,tabs:s}};class ko extends ae.Component{onToggle=(e,t)=>{this.props.layoutActions&&this.props.layoutActions.show(this.props.fullPath,t)};render(){let{getComponent:e,getConfigs:t}=this.props;var r=e("Model");let n;return this.props.layoutSelectors&&(n=this.props.layoutSelectors.isShown(this.props.fullPath)),ae.createElement("div",{className:"model-box"},ae.createElement(r,q()({},this.props,{getConfigs:t,expanded:n,depth:1,onToggle:this.onToggle,expandDepth:this.props.expandDepth||0})))}}function Ao(e){return(Ao="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Oo(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Co(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function jo(e){return(jo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Po(e,t){return(Po=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var No={};function Io(e,t,r){for(var n,s,o,i,a=0;a!==t.length;)if(n=e,s=t[a++],o=No,i=void 0,(e=null==n?o:null!==(i=n)&&"object"===Ao(i)&&"function"==typeof i.get&&"function"==typeof i.has?n.has(s)?n.get(s):o:hasOwnProperty.call(n,s)?n[s]:o)===No)return r;return e}function To(e,t,r){function n(e){if("string"==typeof e)return(0,$.is)(o[e],s[e]);if(Array.isArray(e))return(0,$.is)(Io(o,e),Io(s,e));throw new TypeError("Invalid key: expected Array or string: "+e)}var s,o,t=1<arguments.length&&void 0!==t?t:{},r=2<arguments.length&&void 0!==r?r:{};s=t,o=r;return(e||Object.keys(function(n){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?Co(s,!0).forEach(function(e){var t,r;t=n,r=s[e=e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(s)):Co(s).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(s,e))})}return n}({},r,{},t))).every(n)}var Mo,Ar=function(e){function r(){var e=this,t=r;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=jo(r).apply(this,arguments);if(!t||"object"!=typeof t&&"function"!=typeof t){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}return t}var t,n=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&Po(n,e),n=r,(e=[{key:"shouldComponentUpdate",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return!To(this.updateOnProps,this.props,e,"updateOnProps")||!To(this.updateOnStates,this.state,t,"updateOnStates")}}])&&Oo(n.prototype,e),t&&Oo(n,t),r}(ae.Component),Cr=cI(5556),Wr=cI.n(Cr);function Ro(){return(Ro=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r,n=arguments[t];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const Do=e=>ae.createElement("svg",Ro({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"},e),Mo=Mo||ae.createElement("circle",{cx:50,cy:50,r:35,fill:"none",stroke:"#555",strokeDasharray:"164.93361431346415 56.97787143782138",strokeWidth:10},ae.createElement("animateTransform",{attributeName:"transform",begin:"0s",calcMode:"linear",dur:"1s",keyTimes:"0;1",repeatCount:"indefinite",type:"rotate",values:"0 50 50;360 50 50"}))),Lo=e=>{e=e.replace(/~1/g,"/").replace(/~0/g,"~");try{return decodeURIComponent(e)}catch{return e}};class Fo extends Ar{static propTypes={schema:Rr().map.isRequired,getComponent:Wr().func.isRequired,getConfigs:Wr().func.isRequired,specSelectors:Wr().object.isRequired,name:Wr().string,displayName:Wr().string,isRef:Wr().bool,required:Wr().bool,expandDepth:Wr().number,depth:Wr().number,specPath:Rr().list.isRequired,includeReadOnly:Wr().bool,includeWriteOnly:Wr().bool};getModelName=e=>-1!==e.indexOf("#/definitions/")?Lo(e.replace(/^.*#\/definitions\//,"")):-1!==e.indexOf("#/components/schemas/")?Lo(e.replace(/^.*#\/components\/schemas\//,"")):void 0;getRefSchema=e=>{let t=this.props["specSelectors"];return t.findDefinition(e)};render(){let{getComponent:e,getConfigs:t,specSelectors:r,schema:n,required:s,name:o,isRef:i,specPath:a,displayName:l,includeReadOnly:c,includeWriteOnly:u}=this.props;var p=e("ObjectModel"),h=e("ArrayModel"),d=e("PrimitiveModel");let f="object",m=n&&n.get("$$ref"),g=n&&n.get("$ref");if(!o&&m&&(o=this.getModelName(m)),g){const e=this.getModelName(g),t=this.getRefSchema(e);$.Map.isMap(t)?(n=t.mergeDeep(n),m||(n=n.set("$$ref",g),m=g)):$.Map.isMap(n)&&1===n.size&&(n=null,o=g)}if(!n)return ae.createElement("span",{className:"model model-title"},ae.createElement("span",{className:"model-title__text"},l||o),!g&&ae.createElement(Do,{height:"20px",width:"20px"}));var y=r.isOAS3()&&n.get("deprecated");switch(i=void 0!==i?i:!!m,f=n&&n.get("type")||f){case"object":return ae.createElement(p,q()({className:"object"},this.props,{specPath:a,getConfigs:t,schema:n,name:o,deprecated:y,isRef:i,includeReadOnly:c,includeWriteOnly:u}));case"array":return ae.createElement(h,q()({className:"array"},this.props,{getConfigs:t,schema:n,name:o,deprecated:y,required:s,includeReadOnly:c,includeWriteOnly:u}));default:return ae.createElement(d,q()({},this.props,{getComponent:e,getConfigs:t,schema:n,name:o,deprecated:y,required:s}))}}}class Bo extends ae.Component{getSchemaBasePath=()=>this.props.specSelectors.isOAS3()?["components","schemas"]:["definitions"];getCollapsedContent=()=>" ";handleToggle=(e,t)=>{const r=this.props["layoutActions"];r.show([...this.getSchemaBasePath(),e],t),t&&this.props.specActions.requestResolvedSubtree([...this.getSchemaBasePath(),e])};onLoadModels=e=>{e&&this.props.layoutActions.readyToScroll(this.getSchemaBasePath(),e)};onLoadModel=e=>{var t;e&&(t=e.getAttribute("data-name"),this.props.layoutActions.readyToScroll([...this.getSchemaBasePath(),t],e))};render(){let{specSelectors:p,getComponent:h,layoutSelectors:d,layoutActions:f,getConfigs:m}=this.props,e=p.definitions(),{docExpansion:t,defaultModelsExpandDepth:g}=m();if(!e.size||g<0)return null;const y=this.getSchemaBasePath();let r=d.isShown(y,0<g&&"none"!==t);const n=p.isOAS3(),v=h("ModelWrapper"),s=h("Collapse"),b=h("ModelCollapse"),w=h("JumpToPath",!0),o=h("ArrowUpIcon"),i=h("ArrowDownIcon");return ae.createElement("section",{className:r?"models is-open":"models",ref:this.onLoadModels},ae.createElement("h4",null,ae.createElement("button",{"aria-expanded":r,className:"models-control",onClick:()=>f.show(y,!r)},ae.createElement("span",null,n?"Schemas":"Models"),r?ae.createElement(o,null):ae.createElement(i,null))),ae.createElement(s,{isOpened:r},e.entrySeq().map(([e])=>{const t=[...y,e],r=Z().List(t),n=p.specResolvedSubtree(t),s=p.specJson().getIn(t),o=$.Map.isMap(n)?n:Z().Map(),i=$.Map.isMap(s)?s:Z().Map(),a=o.get("title")||i.get("title")||e,l=d.isShown(t,!1);l&&0===o.size&&0<i.size&&this.props.specActions.requestResolvedSubtree(t);var c=ae.createElement(v,{name:e,expandDepth:g,schema:o||Z().Map(),displayName:a,fullPath:t,specPath:r,getComponent:h,specSelectors:p,getConfigs:m,layoutSelectors:d,layoutActions:f,includeReadOnly:!0,includeWriteOnly:!0}),u=ae.createElement("span",{className:"model-box"},ae.createElement("span",{className:"model model-title"},a));return ae.createElement("div",{id:"model-"+e,className:"model-container",key:"models-section-"+e,"data-name":e,ref:this.onLoadModel},ae.createElement("span",{className:"models-jump-to-path"},ae.createElement(w,{specPath:r})),ae.createElement(b,{classes:"model-box",collapsedContent:this.getCollapsedContent(e),onToggle:this.handleToggle,title:u,displayName:a,modelName:e,specPath:r,layoutSelectors:d,layoutActions:f,hideSelfOnExpand:!0,expanded:0<g&&l},c))}).toArray()))}}class $o extends ae.Component{render(){let{schema:e,name:o,displayName:t,isRef:r,getComponent:i,getConfigs:a,depth:l,onToggle:n,expanded:s,specPath:c,...u}=this.props,{specSelectors:p,expandDepth:h,includeReadOnly:d,includeWriteOnly:f}=u;const m=p["isOAS3"];if(!e)return null;var g=a()["showExtensions"];let y=e.get("description"),v=e.get("properties"),b=e.get("additionalProperties"),w=e.get("title")||t||o,E=e.get("required"),x=e.filter((e,t)=>-1!==["maxProperties","minProperties","nullable","example"].indexOf(t)),S=e.get("deprecated"),_=e.getIn(["externalDocs","url"]),k=e.getIn(["externalDocs","description"]);const A=i("JumpToPath",!0),O=i("Markdown",!0),C=i("Model"),j=i("ModelCollapse"),P=i("Property"),D=i("Link"),N=()=>ae.createElement("span",{className:"model-jump-to-path"},ae.createElement(A,{specPath:c})),L=ae.createElement("span",null,ae.createElement("span",null,"{"),"...",ae.createElement("span",null,"}"),r?ae.createElement(N,null):""),I=p.isOAS3()?e.get("allOf"):null,T=p.isOAS3()?e.get("anyOf"):null,M=p.isOAS3()?e.get("oneOf"):null,R=p.isOAS3()?e.get("not"):null,F=w&&ae.createElement("span",{className:"model-title"},r&&e.get("$$ref")&&ae.createElement("span",{className:"model-hint"},e.get("$$ref")),ae.createElement("span",{className:"model-title__text"},w));return ae.createElement("span",{className:"model"},ae.createElement(j,{modelName:o,title:F,onToggle:n,expanded:!!s||l<=h,collapsedContent:L},ae.createElement("span",{className:"brace-open object"},"{"),r?ae.createElement(N,null):null,ae.createElement("span",{className:"inner-object"},ae.createElement("table",{className:"model"},ae.createElement("tbody",null,y?ae.createElement("tr",{className:"description"},ae.createElement("td",null,"description:"),ae.createElement("td",null,ae.createElement(O,{source:y}))):null,_&&ae.createElement("tr",{className:"external-docs"},ae.createElement("td",null,"externalDocs:"),ae.createElement("td",null,ae.createElement(D,{target:"_blank",href:st(_)},k||_))),S?ae.createElement("tr",{className:"property"},ae.createElement("td",null,"deprecated:"),ae.createElement("td",null,"true")):null,v&&v.size?v.entrySeq().filter(([,e])=>(!e.get("readOnly")||d)&&(!e.get("writeOnly")||f)).map(([e,t])=>{let r=m()&&t.get("deprecated"),n=$.List.isList(E)&&E.contains(e),s=["property-row"];return r&&s.push("deprecated"),n&&s.push("required"),ae.createElement("tr",{key:e,className:s.join(" ")},ae.createElement("td",null,e,n&&ae.createElement("span",{className:"star"},"*")),ae.createElement("td",null,ae.createElement(C,q()({key:`object-${o}-${e}_`+t},u,{required:n,getComponent:i,specPath:c.push("properties",e),getConfigs:a,schema:t,depth:l+1}))))}).toArray():null,g?ae.createElement("tr",null,ae.createElement("td",null," ")):null,g?e.entrySeq().map(([e,t])=>{if("x-"===e.slice(0,2))return t=t?t.toJS?t.toJS():t:null,ae.createElement("tr",{key:e,className:"extension"},ae.createElement("td",null,e),ae.createElement("td",null,JSON.stringify(t)))}).toArray():null,b&&b.size?ae.createElement("tr",null,ae.createElement("td",null,"< * >:"),ae.createElement("td",null,ae.createElement(C,q()({},u,{required:!1,getComponent:i,specPath:c.push("additionalProperties"),getConfigs:a,schema:b,depth:l+1})))):null,I?ae.createElement("tr",null,ae.createElement("td",null,"allOf ->"),ae.createElement("td",null,I.map((e,t)=>ae.createElement("div",{key:t},ae.createElement(C,q()({},u,{required:!1,getComponent:i,specPath:c.push("allOf",t),getConfigs:a,schema:e,depth:l+1})))))):null,T?ae.createElement("tr",null,ae.createElement("td",null,"anyOf ->"),ae.createElement("td",null,T.map((e,t)=>ae.createElement("div",{key:t},ae.createElement(C,q()({},u,{required:!1,getComponent:i,specPath:c.push("anyOf",t),getConfigs:a,schema:e,depth:l+1})))))):null,M?ae.createElement("tr",null,ae.createElement("td",null,"oneOf ->"),ae.createElement("td",null,M.map((e,t)=>ae.createElement("div",{key:t},ae.createElement(C,q()({},u,{required:!1,getComponent:i,specPath:c.push("oneOf",t),getConfigs:a,schema:e,depth:l+1})))))):null,R?ae.createElement("tr",null,ae.createElement("td",null,"not ->"),ae.createElement("td",null,ae.createElement("div",null,ae.createElement(C,q()({},u,{required:!1,getComponent:i,specPath:c.push("not"),getConfigs:a,schema:R,depth:l+1}))))):null))),ae.createElement("span",{className:"brace-close"},"}")),x.size?x.entrySeq().map(([e,t])=>ae.createElement(P,{key:e+"-"+t,propKey:e,propVal:t,propClass:"property"})):null)}}class qo extends ae.Component{render(){let{getComponent:e,getConfigs:t,schema:r,depth:n,expandDepth:s,name:o,displayName:i,specPath:a}=this.props,l=r.get("description"),c=r.get("items"),u=r.get("title")||i||o,p=r.filter((e,t)=>-1===["type","items","description","$$ref","externalDocs"].indexOf(t)),h=r.getIn(["externalDocs","url"]),d=r.getIn(["externalDocs","description"]);const f=e("Markdown",!0),m=e("ModelCollapse"),g=e("Model"),y=e("Property"),v=e("Link"),b=u&&ae.createElement("span",{className:"model-title"},ae.createElement("span",{className:"model-title__text"},u));return ae.createElement("span",{className:"model"},ae.createElement(m,{title:b,expanded:n<=s,collapsedContent:"[...]"},"[",p.size?p.entrySeq().map(([e,t])=>ae.createElement(y,{key:e+"-"+t,propKey:e,propVal:t,propClass:"property"})):null,l?ae.createElement(f,{source:l}):p.size?ae.createElement("div",{className:"markdown"}):null,h&&ae.createElement("div",{className:"external-docs"},ae.createElement(v,{target:"_blank",href:st(h)},d||h)),ae.createElement("span",null,ae.createElement(g,q()({},this.props,{getConfigs:t,specPath:a.push("items"),name:null,schema:c,required:!1,depth:n+1}))),"]"))}}const Uo="property primitive";class zo extends ae.Component{render(){let{schema:e,getComponent:t,getConfigs:r,name:n,displayName:s,depth:o,expandDepth:i}=this.props;var a=r()["showExtensions"];if(!e||!e.get)return ae.createElement("div",null);let l=e.get("type"),c=e.get("format"),u=e.get("xml"),p=e.get("enum"),h=e.get("title")||s||n,d=e.get("description"),f=lt(e),m=e.filter((e,t)=>-1===["enum","type","format","description","$$ref","externalDocs"].indexOf(t)).filterNot((e,t)=>f.has(t)),g=e.getIn(["externalDocs","url"]),y=e.getIn(["externalDocs","description"]);const v=t("Markdown",!0),b=t("EnumModel"),w=t("Property"),E=t("ModelCollapse"),x=t("Link"),S=h&&ae.createElement("span",{className:"model-title"},ae.createElement("span",{className:"model-title__text"},h));return ae.createElement("span",{className:"model"},ae.createElement(E,{title:S,expanded:o<=i,collapsedContent:"[...]"},ae.createElement("span",{className:"prop"},n&&1<o&&ae.createElement("span",{className:"prop-name"},h),ae.createElement("span",{className:"prop-type"},l),c&&ae.createElement("span",{className:"prop-format"},"($",c,")"),m.size?m.entrySeq().map(([e,t])=>ae.createElement(w,{key:e+"-"+t,propKey:e,propVal:t,propClass:Uo})):null,a&&f.size?f.entrySeq().map(([e,t])=>ae.createElement(w,{key:e+"-"+t,propKey:e,propVal:t,propClass:Uo})):null,d?ae.createElement(v,{source:d}):null,g&&ae.createElement("div",{className:"external-docs"},ae.createElement(x,{target:"_blank",href:st(g)},y||g)),u&&u.size?ae.createElement("span",null,ae.createElement("br",null),ae.createElement("span",{className:Uo},"xml:"),u.entrySeq().map(([e,t])=>ae.createElement("span",{key:e+"-"+t,className:Uo},ae.createElement("br",null)," ",e,": ",String(t))).toArray()):null,p&&ae.createElement(b,{value:p,getComponent:t}))))}}class Vo extends ae.Component{UNSAFE_componentWillMount(){let e=this.props["schemes"];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:t,method:r,specActions:n}=this.props;n.setScheme(e,t,r)};render(){let{schemes:e,currentScheme:t}=this.props;return ae.createElement("label",{htmlFor:"schemes"},ae.createElement("span",{className:"schemes-title"},"Schemes"),ae.createElement("select",{onChange:this.onChange,value:t,id:"schemes"},e.valueSeq().map(e=>ae.createElement("option",{value:e,key:e},e)).toArray()))}}class Ko extends ae.Component{render(){const{specActions:e,specSelectors:t,getComponent:r}=this.props,n=t.operationScheme(),s=t.schemes(),o=r("schemes");return s&&s.size?ae.createElement(o,{currentScheme:n,schemes:s,specActions:e}):null}}var Hr=cI(24677),Wo=cI.n(Hr),Fr={value:"",onChange:()=>{},schema:{},keyName:"",required:!1,errors:(0,$.List)()};class Jo extends ae.Component{static defaultProps=Fr;componentDidMount(){const{dispatchInitialValue:e,value:t,onChange:r}=this.props;e?r(t):!1===e&&r("")}render(){let{schema:e,errors:t,value:r,onChange:n,getComponent:s,fn:o,disabled:i}=this.props;var a=e&&e.get?e.get("format"):null,l=e&&e.get?e.get("type"):null;let c=l?s(a?`JsonSchema_${l}_`+a:"JsonSchema_"+l,!1,{failSilently:!0}):s("JsonSchema_string");return c=c||s("JsonSchema_string"),ae.createElement(c,q()({},this.props,{errors:t,fn:o,getComponent:s,value:r,onChange:n,schema:e,disabled:i}))}}class Ho extends ae.Component{static defaultProps=Fr;onChange=e=>{e=this.props.schema&&"file"===this.props.schema.get("type")?e.target.files[0]:e.target.value;this.props.onChange(e,this.props.keyName)};onEnumChange=e=>this.props.onChange(e);render(){let{getComponent:e,value:t,schema:r,errors:n,required:s,description:o,disabled:i}=this.props;var a=r&&r.get?r.get("enum"):null,l=r&&r.get?r.get("format"):null,c=r&&r.get?r.get("type"):null,u=r&&r.get?r.get("in"):null;if(t=t||"",n=n.toJS?n.toJS():[],a){const r=e("Select");return ae.createElement(r,{className:n.length?"invalid":"",title:n.length?n:"",allowedValues:[...a],value:t,allowEmptyValue:!s,disabled:i,onChange:this.onEnumChange})}a=i||u&&"formData"===u&&!("FormData"in window),u=e("Input");return c&&"file"===c?ae.createElement(u,{type:"file",className:n.length?"invalid":"",title:n.length?n:"",onChange:this.onChange,disabled:a}):ae.createElement(Wo(),{type:l&&"password"===l?"password":"text",className:n.length?"invalid":"",title:n.length?n:"",value:t,minLength:0,debounceTimeout:350,placeholder:o,onChange:this.onChange,disabled:a})}}class Go extends ae.PureComponent{static defaultProps=Fr;constructor(e,t){super(e,t),this.state={value:ei(e.value),schema:e.schema}}UNSAFE_componentWillReceiveProps(e){var t=ei(e.value);t!==this.state.value&&this.setState({value:t}),e.schema!==this.state.schema&&this.setState({schema:e.schema})}onChange=()=>{this.props.onChange(this.state.value)};onItemChange=(t,r)=>{this.setState(({value:e})=>({value:e.set(r,t)}),this.onChange)};removeItem=t=>{this.setState(({value:e})=>({value:e.delete(t)}),this.onChange)};addItem=()=>{const e=this.props["fn"];let t=ei(this.state.value);this.setState(()=>({value:t.push(e.getSampleSchema(this.state.schema.get("items"),!1,{includeWriteOnly:!0}))}),this.onChange)};onEnumChange=e=>{this.setState(()=>({value:e}),this.onChange)};render(){let{getComponent:n,required:e,schema:t,errors:s,fn:o,disabled:i}=this.props;const r=(s=s.toJS?s.toJS():Array.isArray(s)?s:[]).filter(e=>"string"==typeof e),a=s.filter(e=>void 0!==e.needRemove).map(e=>e.error),l=this.state.value,c=!!(l&&l.count&&0<l.count()),u=t.getIn(["items","enum"]),p=t.getIn(["items","type"]),h=t.getIn(["items","format"]),d=t.get("items");let f,m=!1,g="file"===p||"string"===p&&"binary"===h;if(p&&h?f=n(`JsonSchema_${p}_`+h):"boolean"!==p&&"array"!==p&&"object"!==p||(f=n("JsonSchema_"+p)),f||g||(m=!0),u){const t=n("Select");return ae.createElement(t,{className:s.length?"invalid":"",title:s.length?s:"",multiple:!0,value:l,disabled:i,allowedValues:u,allowEmptyValue:!e,onChange:this.onEnumChange})}const y=n("Button");return ae.createElement("div",{className:"json-schema-array"},c?l.map((e,t)=>{var r=(0,$.fromJS)([...s.filter(e=>e.index===t).map(e=>e.error)]);return ae.createElement("div",{key:t,className:"json-schema-form-item"},g?ae.createElement(Xo,{value:e,onChange:e=>this.onItemChange(e,t),disabled:i,errors:r,getComponent:n}):m?ae.createElement(Yo,{value:e,onChange:e=>this.onItemChange(e,t),disabled:i,errors:r}):ae.createElement(f,q()({},this.props,{value:e,onChange:e=>this.onItemChange(e,t),disabled:i,errors:r,schema:d,getComponent:n,fn:o})),i?null:ae.createElement(y,{className:"btn btn-sm json-schema-form-item-remove "+(a.length?"invalid":null),title:a.length?a:"",onClick:()=>this.removeItem(t)}," - "))}):null,i?null:ae.createElement(y,{className:"btn btn-sm json-schema-form-item-add "+(r.length?"invalid":null),title:r.length?r:"",onClick:this.addItem},"Add ",p?p+" ":"","item"))}}class Yo extends ae.Component{static defaultProps=Fr;onChange=e=>{e=e.target.value;this.props.onChange(e,this.props.keyName)};render(){let{value:e,errors:t,description:r,disabled:n}=this.props;return e=e||"",t=t.toJS?t.toJS():[],ae.createElement(Wo(),{type:"text",className:t.length?"invalid":"",title:t.length?t:"",value:e,minLength:0,debounceTimeout:350,placeholder:r,onChange:this.onChange,disabled:n})}}class Xo extends ae.Component{static defaultProps=Fr;onFileChange=e=>{e=e.target.files[0];this.props.onChange(e,this.props.keyName)};render(){let{getComponent:e,errors:t,disabled:r}=this.props;var n=e("Input"),s=r||!("FormData"in window);return ae.createElement(n,{type:"file",className:t.length?"invalid":"",title:t.length?t:"",onChange:this.onFileChange,disabled:s})}}class Qo extends ae.Component{static defaultProps=Fr;onEnumChange=e=>this.props.onChange(e);render(){let{getComponent:e,value:t,errors:r,schema:n,required:s,disabled:o}=this.props;r=r.toJS?r.toJS():[];var i=n&&n.get?n.get("enum"):null,a=!i||!s,l=!i&&["true","false"],c=e("Select");return ae.createElement(c,{className:r.length?"invalid":"",title:r.length?r:"",value:String(t),disabled:o,allowedValues:i?[...i]:l,allowEmptyValue:a,onChange:this.onEnumChange})}}class Zo extends ae.PureComponent{constructor(){super()}static defaultProps=Fr;onChange=e=>{this.props.onChange(e)};handleOnChange=e=>{e=e.target.value;this.onChange(e)};render(){let{getComponent:e,value:t,errors:r,disabled:n}=this.props;var s=e("TextArea");return r=r.toJS?r.toJS():Array.isArray(r)?r:[],ae.createElement("div",null,ae.createElement(s,{className:le()({invalid:r.length}),title:r.length?r.map(e=>{var t=void 0!==e.propKey?e.propKey:e.index,r="string"==typeof e?e:"string"==typeof e.error?e.error:null;if(!t&&r)return r;let n=e.error,s="/"+e.propKey;for(;"object"==typeof n;){const e=void 0!==n.propKey?n.propKey:n.index;if(void 0===e)break;if(s+="/"+e,!n.error)break;n=n.error}return s+": "+n}).join(", "):"",value:ut(t),disabled:n,onChange:this.handleOnChange}))}}function ei(e){return $.List.isList(e)?e:Array.isArray(e)?(0,$.fromJS)(e):(0,$.List)()}const ti=()=>({components:{modelExample:({schema:e,example:t,isExecute:r=!1,specPath:n,includeWriteOnly:s=!1,includeReadOnly:o=!1,getComponent:i,getConfigs:a,specSelectors:l})=>{var{defaultModelRendering:c,defaultModelExpandDepth:u}=a(),p=i("ModelWrapper"),h=i("HighlightCode",!0),d=Fe()(5).toString("base64"),f=Fe()(5).toString("base64"),m=Fe()(5).toString("base64"),g=Fe()(5).toString("base64"),y=l.isOAS3(),{activeTab:c,tabs:v,onTabChange:b}=_o({initialTab:c,isExecute:r,schema:e,example:t});return ae.createElement("div",{className:"model-example"},ae.createElement("ul",{className:"tab",role:"tablist"},ae.createElement("li",{className:le()("tabitem",{active:c===v.example}),role:"presentation"},ae.createElement("button",{"aria-controls":f,"aria-selected":c===v.example,className:"tablinks","data-name":"example",id:d,onClick:b,role:"tab"},r?"Edit Value":"Example Value")),e&&ae.createElement("li",{className:le()("tabitem",{active:c===v.model}),role:"presentation"},ae.createElement("button",{"aria-controls":g,"aria-selected":c===v.model,className:le()("tablinks",{inactive:r}),"data-name":"model",id:m,onClick:b,role:"tab"},y?"Schema":"Model"))),c===v.example&&ae.createElement("div",{"aria-hidden":c!==v.example,"aria-labelledby":d,"data-name":"examplePanel",id:f,role:"tabpanel",tabIndex:"0"},t||ae.createElement(h,null,"(no example available")),c===v.model&&ae.createElement("div",{"aria-hidden":c===v.example,"aria-labelledby":m,"data-name":"modelPanel",id:g,role:"tabpanel",tabIndex:"0"},ae.createElement(p,{schema:e,getComponent:i,getConfigs:a,specSelectors:l,expandDepth:u,specPath:n,includeReadOnly:o,includeWriteOnly:s})))},ModelWrapper:ko,ModelCollapse:So,Model:Fo,Models:Bo,EnumModel:({value:e,getComponent:t})=>{var t=t("ModelCollapse"),r=ae.createElement("span",null,"Array [ ",e.count()," ]");return ae.createElement("span",{className:"prop-enum"},"Enum:",ae.createElement("br",null),ae.createElement(t,{collapsedContent:r},"[ ",e.map(String).join(", ")," ]"))},ObjectModel:$o,ArrayModel:qo,PrimitiveModel:zo,schemes:Vo,SchemesContainer:Ko,...V}});var jr=cI(19123),ri=cI.n(jr),Pr=cI(41859),ni=cI.n(Pr),Br=cI(62193),si=cI.n(Br);const oi=e=>r=>Array.isArray(e)&&Array.isArray(r)&&e.length===r.length&&e.every((e,t)=>e===r[t]);class ii extends Map{delete(e){e=Array.from(this.keys()).find(oi(e));return super.delete(e)}get(e){e=Array.from(this.keys()).find(oi(e));return super.get(e)}has(e){return-1!==Array.from(this.keys()).findIndex(oi(e))}}const ai=(e,t=(...e)=>e)=>{var r=Ie()["Cache"],e=(Ie().Cache=ii,Ie()(e,t));return Ie().Cache=r,e},li={string:e=>{if(!e.pattern)return"string";var t=e.pattern;try{return new(ni())(t).gen()}catch(t){return"string"}},string_email:()=>"user@example.com","string_date-time":()=>(new Date).toISOString(),string_date:()=>(new Date).toISOString().substring(0,10),string_uuid:()=>"3fa85f64-5717-4562-b3fc-2c963f66afa6",string_hostname:()=>"example.com",string_ipv4:()=>"198.51.100.42",string_ipv6:()=>"2001:0db8:5b96:0000:0000:426f:8e17:642a",number:()=>0,number_float:()=>0,integer:()=>0,boolean:e=>"boolean"!=typeof e.default||e.default},ci=e=>{let{type:t,format:r}=e=Ve(e),n=li[t+"_"+r]||li[t];return Ge(n)?n(e):"Unknown Type: "+e.type},ui=e=>function t(e,r,n=()=>!0){if("object"!=typeof e||Array.isArray(e)||null===e||!r)return e;const s=Object.assign({},e);return Object.keys(s).forEach(e=>{e===r&&n(s[e],e)?delete s[e]:s[e]=t(s[e],r,n)}),s}(e,"$$ref",e=>"string"==typeof e&&-1<e.indexOf("#")),pi=["maxProperties","minProperties"],hi=["minItems","maxItems"],di=["minimum","maximum","exclusiveMinimum","exclusiveMaximum"],fi=["minLength","maxLength"],mi=(e,t,r={})=>{const n={...e};if(["example","default","enum","xml","type",...pi,...hi,...di,...fi].forEach(e=>{void 0===n[e]&&void 0!==t[e]&&(n[e]=t[e])}),void 0!==t.required&&Array.isArray(t.required)&&(void 0!==n.required&&n.required.length||(n.required=[]),t.required.forEach(e=>{n.required.includes(e)||n.required.push(e)})),t.properties){n.properties||(n.properties={});var s,o=Ve(t.properties);for(s in o)!Object.prototype.hasOwnProperty.call(o,s)||o[s]&&o[s].deprecated||o[s]&&o[s].readOnly&&!r.includeReadOnly||o[s]&&o[s].writeOnly&&!r.includeWriteOnly||n.properties[s]||(n.properties[s]=o[s],!t.required&&Array.isArray(t.required)&&-1!==t.required.indexOf(s)&&(n.required?n.required.push(s):n.required=[s]))}return t.items&&(n.items||(n.items={}),n.items=mi(n.items,t.items,r)),n},gi=(n,s={},t=void 0,o=!1)=>{n&&Ge(n.toJS)&&(n=n.toJS());let r=void 0!==t||n&&void 0!==n.example||n&&void 0!==n.default;var i=!r&&n&&n.oneOf&&0<n.oneOf.length,e=!r&&n&&n.anyOf&&0<n.anyOf.length;if(!r&&(i||e)){const t=Ve((i?n.oneOf:n.anyOf)[0]);if(!(n=mi(n,t,s)).xml&&t.xml&&(n.xml=t.xml),void 0!==n.example&&void 0!==t.example)r=!0;else if(t.properties){n.properties||(n.properties={});var a,l=Ve(t.properties);for(a in l)!Object.prototype.hasOwnProperty.call(l,a)||l[a]&&l[a].deprecated||l[a]&&l[a].readOnly&&!s.includeReadOnly||l[a]&&l[a].writeOnly&&!s.includeWriteOnly||n.properties[a]||(n.properties[a]=l[a],!t.required&&Array.isArray(t.required)&&-1!==t.required.indexOf(a)&&(n.required?n.required.push(a):n.required=[a]))}}const c={};let{xml:u,type:p,example:h,properties:d,additionalProperties:f,items:m}=n||{},{includeReadOnly:g,includeWriteOnly:y}=s,v,{name:b,prefix:w,namespace:E}=u=u||{},x={};o&&(v=(w?w+":":"")+(b||"notagname"),E)&&(c[w?"xmlns:"+w:"xmlns"]=E),o&&(x[v]=[]);e=e=>e.some(e=>Object.prototype.hasOwnProperty.call(n,e));n&&!p&&(d||f||e(pi)?p="object":m||e(hi)?p="array":e(di)?(p="number",n.type="number"):r||n.enum||(p="string",n.type="string"));const S=t=>{if(null!=n?.maxItems&&(t=t.slice(0,n?.maxItems)),null!=n?.minItems){let e=0;for(;t.length<n?.minItems;)t.push(t[e++%t.length])}return t},_=Ve(d);let k,A=0;const O=()=>n&&null!==n.maxProperties&&void 0!==n.maxProperties&&A>=n.maxProperties,C=e=>!n||null===n.maxProperties||void 0===n.maxProperties||!O()&&(!!(n&&n.required&&n.required.length&&n.required.includes(e))||0<n.maxProperties-A-(()=>{if(!n||!n.required)return 0;let r=0;return o?n.required.forEach(e=>r+=void 0===x[e]?0:1):n.required.forEach(t=>r+=void 0===x[v]?.find(e=>void 0!==e[t])?0:1),n.required.length-r})());if(k=o?(e,t=void 0)=>{if(n&&_[e]){if(_[e].xml=_[e].xml||{},_[e].xml.attribute){const n=Array.isArray(_[e].enum)?_[e].enum[0]:void 0,s=_[e].example,o=_[e].default;return void(c[_[e].xml.name||e]=void 0!==s?s:void 0!==o?o:void 0!==n?n:ci(_[e]))}_[e].xml.name=_[e].xml.name||e}else _[e]||!1===f||(_[e]={xml:{name:e}});t=gi(n&&_[e]||void 0,s,t,o);C(e)&&(A++,Array.isArray(t)?x[v]=x[v].concat(t):x[v].push(t))}:(e,t)=>{if(C(e)){if(Object.prototype.hasOwnProperty.call(n,"discriminator")&&n.discriminator&&Object.prototype.hasOwnProperty.call(n.discriminator,"mapping")&&n.discriminator.mapping&&Object.prototype.hasOwnProperty.call(n,"$$ref")&&n.$$ref&&n.discriminator.propertyName===e){for(var r in n.discriminator.mapping)if(-1!==n.$$ref.search(n.discriminator.mapping[r])){x[e]=r;break}}else x[e]=gi(_[e],s,t,o);A++}},r){let e;if(e=ui(void 0!==t?t:void 0!==h?h:n.default),!o){if("number"==typeof e&&"string"===p)return""+e;if("string"!=typeof e||"string"===p)return e;try{return JSON.parse(e)}catch(n){return e}}if("array"===(p=n?p:Array.isArray(e)?"array":typeof e)){if(!Array.isArray(e)){if("string"==typeof e)return e;e=[e]}const t=n?n.items:void 0;t&&(t.xml=t.xml||u||{},t.xml.name=t.xml.name||u.name);i=S(e.map(e=>gi(t,s,e,o)));return u.wrapped?(x[v]=i,si()(c)||x[v].push({_attr:c})):x=i,x}if("object"!==p)return x[v]=si()(c)?e:[{_attr:c},e],x;if("string"==typeof e)return e;for(var j in e)!Object.prototype.hasOwnProperty.call(e,j)||n&&_[j]&&_[j].readOnly&&!g||n&&_[j]&&_[j].writeOnly&&!y||(n&&_[j]&&_[j].xml&&_[j].xml.attribute?c[_[j].xml.name||j]=e[j]:k(j,e[j]));return si()(c)||x[v].push({_attr:c}),x}if("object"===p){for(var P in _)!Object.prototype.hasOwnProperty.call(_,P)||_[P]&&_[P].deprecated||_[P]&&_[P].readOnly&&!g||_[P]&&_[P].writeOnly&&!y||k(P);if(o&&c&&x[v].push({_attr:c}),O())return x;if(!0===f)o?x[v].push({additionalProp:"Anything can be here"}):x.additionalProp1={},A++;else if(f){const t=Ve(f),r=gi(t,s,void 0,o);if(o&&t.xml&&t.xml.name&&"notagname"!==t.xml.name)x[v].push(r);else{const s=null!==n.minProperties&&void 0!==n.minProperties&&A<n.minProperties?n.minProperties-A:3;for(let e=1;e<=s;e++){if(O())return x;if(o){const s={};s["additionalProp"+e]=r.notagname,x[v].push(s)}else x["additionalProp"+e]=r;A++}}}return x}if("array"===p){if(!m)return;let e;if(o&&(m.xml=m.xml||n?.xml||{},m.xml.name=m.xml.name||u.name),Array.isArray(m.anyOf))e=m.anyOf.map(e=>gi(mi(e,m,s),s,void 0,o));else if(Array.isArray(m.oneOf))e=m.oneOf.map(e=>gi(mi(e,m,s),s,void 0,o));else{if(o&&!u.wrapped)return gi(m,s,void 0,o);e=[gi(m,s,void 0,o)]}return e=S(e),o&&u.wrapped?(x[v]=e,si()(c)||x[v].push({_attr:c}),x):e}let N;if(n&&Array.isArray(n.enum))N=We(n.enum)[0];else{if(!n)return;if("number"==typeof(N=ci(n))){let e=n.minimum,t=(null!=e&&(n.exclusiveMinimum&&e++,N=e),n.maximum);null!=t&&(n.exclusiveMaximum&&t--,N=t)}if("string"==typeof N&&(null!==n.maxLength&&void 0!==n.maxLength&&(N=N.slice(0,n.maxLength)),null!==n.minLength&&void 0!==n.minLength)){let e=0;for(;N.length<n.minLength;)N+=N[e++%N.length]}}if("file"!==p)return o?(x[v]=si()(c)?N:[{_attr:c},N],x):N},yi=e=>((e=e.schema?e.schema:e).properties&&(e.type="object"),e),vi=(e,t,r)=>{e=gi(e,t,r,!0);if(e)return"string"==typeof e?e:ri()(e,{declaration:!0,indent:"\t"})},bi=(e,t,r)=>gi(e,t,r,!1),wi=(e,t,r)=>[e,JSON.stringify(t),JSON.stringify(r)],Ei=ai(vi,wi),xi=ai(bi,wi),Si=[{when:/json/,shouldStringifyTypes:["string"]}],_i=["object"],ki=({getSystem:e})=>{var o,i,a,l,t=(e,t,r,n)=>{const s=l()["fn"],o=s.memoizedSampleFromSchema(e,t,n),i=typeof o,a=Si.reduce((e,t)=>t.when.test(r)?[...e,...t.shouldStringifyTypes]:e,_i);return Me()(a,e=>e===i)?JSON.stringify(o,null,2):o},r=(e,t,r,n)=>{const s=a()["fn"],o=s.getJsonSampleSchema(e,t,r,n);let i;try{"\n"===(i=ms.dump(ms.load(o),{lineWidth:-1},{schema:hs}))[i.length-1]&&(i=i.slice(0,i.length-1))}catch(e){return console.error(e),"error: could not generate yaml example"}return i.replace(/\t/g," ")},n=(e,t,r)=>{const n=i()["fn"];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"?>\n\x3c!-- XML example cannot be generated; root element name is undefined --\x3e';var s;e.$$ref&&(s=e.$$ref.match(/\S*\/(\S+)$/),e.xml.name=s[1])}return n.memoizedCreateXMLExample(e,t,r)},e=(o=i=a=l=e,(e,t="",r={},n=void 0)=>{const s=o()["fn"];return"function"==typeof e?.toJS&&(e=e.toJS()),"function"==typeof n?.toJS&&(n=n.toJS()),/xml/.test(t)?s.getXmlSampleSchema(e,r,n):/(yaml|yml)/.test(t)?s.getYamlSampleSchema(e,r,t,n):s.getJsonSampleSchema(e,r,t,n)});return{fn:{jsonSchema5:{inferSchema:yi,sampleFromSchema:bi,sampleFromSchemaGeneric:gi,createXMLExample:vi,memoizedSampleFromSchema:xi,memoizedCreateXMLExample:Ei,getJsonSampleSchema:t,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:e,mergeJsonSchema:mi},inferSchema:yi,sampleFromSchema:bi,sampleFromSchemaGeneric:gi,createXMLExample:vi,memoizedSampleFromSchema:xi,memoizedCreateXMLExample:Ei,getJsonSampleSchema:t,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:e,mergeJsonSchema:mi}}};var Vr=cI(37334),Ai=cI.n(Vr);const Oi=["get","put","post","delete","options","head","patch","trace"],Ci=e=>e||(0,$.Map)(),ji=o(Ci,e=>e.get("lastError")),Pi=o(Ci,e=>e.get("url")),Ni=o(Ci,e=>e.get("spec")||""),Ii=o(Ci,e=>e.get("specSource")||"not-editor"),Ti=o(Ci,e=>e.get("json",(0,$.Map)())),Mi=o(Ti,e=>e.toJS()),Ri=o(Ci,e=>e.get("resolved",(0,$.Map)())),Di=(e,t)=>e.getIn(["resolvedSubtrees",...t],void 0),Li=(e,t)=>!$.Map.isMap(e)||!$.Map.isMap(t)||t.get("$$ref")?t:(0,$.OrderedMap)().mergeWith(Li,e,t),Fi=o(Ci,e=>(0,$.OrderedMap)().mergeWith(Li,e.get("json"),e.get("resolvedSubtrees"))),Bi=e=>Ti(e),$i=o(Bi,()=>!1),qi=o(Bi,e=>ja(e&&e.get("info"))),Ui=o(Bi,e=>ja(e&&e.get("externalDocs"))),zi=o(qi,e=>e&&e.get("version")),Vi=o(zi,e=>/v?([0-9]*)\.([0-9]*)\.([0-9]*)/i.exec(e).slice(1)),Ki=o(Fi,e=>e.get("paths")),Wi=Ai()(["get","put","post","delete","options","head","patch"]),Ji=o(Ki,e=>{if(!e||e.size<1)return(0,$.List)();let n=(0,$.List)();return e&&e.forEach?(e.forEach((e,r)=>{if(!e||!e.forEach)return{};e.forEach((e,t)=>{Oi.indexOf(t)<0||(n=n.push((0,$.fromJS)({path:r,method:t,operation:e,id:t+"-"+r})))})}),n):(0,$.List)()}),Hi=o(Bi,e=>(0,$.Set)(e.get("consumes"))),Gi=o(Bi,e=>(0,$.Set)(e.get("produces"))),Yi=o(Bi,e=>e.get("security",(0,$.List)())),Xi=o(Bi,e=>e.get("securityDefinitions")),Qi=(e,t)=>{var r=e.getIn(["resolvedSubtrees","definitions",t],null),e=e.getIn(["json","definitions",t],null);return r||e||null},Zi=o(Bi,e=>{e=e.get("definitions");return $.Map.isMap(e)?e:(0,$.Map)()}),ea=o(Bi,e=>e.get("basePath")),ta=o(Bi,e=>e.get("host")),ra=o(Bi,e=>e.get("schemes",(0,$.Map)())),na=o([Ji,Hi,Gi],(e,t,r)=>e.map(e=>e.update("operation",e=>e?$.Map.isMap(e)?e.withMutations(e=>(e.get("consumes")||e.update("consumes",e=>(0,$.Set)(e).merge(t)),e.get("produces")||e.update("produces",e=>(0,$.Set)(e).merge(r)),e)):void 0:(0,$.Map)()))),sa=o(Bi,e=>{const t=e.get("tags",(0,$.List)());return $.List.isList(t)?t.filter(e=>$.Map.isMap(e)):(0,$.List)()}),oa=(e,t)=>(sa(e)||(0,$.List)()).filter($.Map.isMap).find(e=>e.get("name")===t,(0,$.Map)()),ia=o(na,sa,(e,t)=>e.reduce((e,r)=>{let t=(0,$.Set)(r.getIn(["operation","tags"]));return t.count()<1?e.update("default",(0,$.List)(),e=>e.push(r)):t.reduce((e,t)=>e.update(t,(0,$.List)(),e=>e.push(r)),e)},t.reduce((e,t)=>e.set(t.get("name"),(0,$.List)()),(0,$.OrderedMap)()))),aa=o=>({getConfigs:e})=>{let{tagsSorter:n,operationsSorter:s}=e();return ia(o).sortBy((e,t)=>t,(e,t)=>{let r="function"==typeof n?n:tt.tagsSorter[n];return r?r(e,t):null}).map((e,t)=>{var r="function"==typeof s?s:tt.operationsSorter[s],r=r?e.sort(r):e;return(0,$.Map)({tagDetails:oa(o,t),operations:r})})},la=o(Ci,e=>e.get("responses",(0,$.Map)())),ca=o(Ci,e=>e.get("requests",(0,$.Map)())),ua=o(Ci,e=>e.get("mutatedRequests",(0,$.Map)())),pa=(e,t,r)=>la(e).getIn([t,r],null),ha=(e,t,r)=>ca(e).getIn([t,r],null),da=(e,t,r)=>ua(e).getIn([t,r],null),fa=()=>!0,ma=(e,t,n)=>{const r=Fi(e).getIn(["paths",...t,"parameters"],(0,$.OrderedMap)()),s=e.getIn(["meta","paths",...t,"parameters"],(0,$.OrderedMap)());return r.map(e=>{var t=s.get(n.get("in")+"."+n.get("name")),r=s.get(`${n.get("in")}.${n.get("name")}.hash-`+n.hashCode());return(0,$.OrderedMap)().merge(e,t,r)}).find(e=>e.get("in")===n.get("in")&&e.get("name")===n.get("name"),(0,$.OrderedMap)())},ga=(e,t,r,n)=>{n=n+"."+r;return e.getIn(["meta","paths",...t,"parameter_inclusions",n],!1)},ya=(e,t,r,n)=>{var s=Fi(e).getIn(["paths",...t,"parameters"],(0,$.OrderedMap)()).find(e=>e.get("in")===n&&e.get("name")===r,(0,$.OrderedMap)());return ma(e,t,s)},va=(t,r,n)=>{const e=Fi(t).getIn(["paths",r,n],(0,$.OrderedMap)()),s=t.getIn(["meta","paths",r,n],(0,$.OrderedMap)()),o=e.get("parameters",(0,$.List)()).map(e=>ma(t,[r,n],e));return(0,$.OrderedMap)().merge(e,s).set("parameters",o)};const ba=o(Bi,e=>{e=e.get("host");return"string"==typeof e&&0<e.length&&"/"!==e[0]});function wa(e,t,n){return t=t||[],va(e,...t).get("parameters",(0,$.List)()).reduce((e,t)=>{let r=n&&"body"===t.get("in")?t.get("value_xml"):t.get("value");return $.List.isList(r)&&(r=r.filter(e=>""!==e)),e.set(pt(t,{allowHashes:!1}),r)},(0,$.fromJS)({}))}function Ea(e,t=""){if($.List.isList(e))return e.some(e=>$.Map.isMap(e)&&e.get("type")===t)}function xa(e,t){t=t||[];const r=Fi(e).getIn(["paths",...t],null);if(null!==r)return e=e.getIn(["meta","paths",...t,"produces_value"],null),t=r.getIn(["produces",0],null),e||t||"application/json"}const Sa=(e,t,r)=>{var n=e.get("url").match(/^([a-z][a-z0-9+\-.]*):/),n=Array.isArray(n)?n[1]:null;return e.getIn(["scheme",t,r])||e.getIn(["scheme","_defaultScheme"])||n||""},_a=(e,t,r)=>-1<["http","https"].indexOf(Sa(e,t,r)),ka=(e,t)=>{const r=e.getIn(["meta","paths",...t=t||[],"parameters"],(0,$.fromJS)([])),s=[];if(0===r.length)return s;const o=(e,t=[])=>{const r=(e,t)=>{t=[...t,e.get("propKey")||e.get("index")];return $.Map.isMap(e.get("error"))?o(e.get("error"),t):{error:e.get("error"),path:t}};return $.List.isList(e)?e.map(e=>$.Map.isMap(e)?r(e,t):{error:e,path:t}):r(e,t)};return r.forEach((e,t)=>{const r=t.split(".").slice(1,-1).join("."),n=e.get("errors");n&&n.count()&&o(n).forEach(({error:e,path:t})=>{s.push((e=e,t=t,`For '${r}'${(t=t.reduce((e,t)=>"number"==typeof t?e+`[${t}]`:e?e+"."+t:t,""))?` at path '${t}'`:""}: ${e}.`))})}),s},Aa=(e,t)=>0===ka(e,t).length,Oa=(e,t)=>{let r={requestBody:!1,requestContentType:{}},n=e.getIn(["resolvedSubtrees","paths",...t,"requestBody"],(0,$.fromJS)([]));return n.size<1||(n.getIn(["required"])&&(r.requestBody=n.getIn(["required"])),n.getIn(["content"]).entrySeq().forEach(e=>{var t=e[0];e[1].getIn(["schema","required"])&&(e=e[1].getIn(["schema","required"]).toJS(),r.requestContentType[t]=e)})),r},Ca=(e,t,r,n)=>{if((r||n)&&r===n)return!0;let s=e.getIn(["resolvedSubtrees","paths",...t,"requestBody","content"],(0,$.fromJS)([]));if(s.size<2||!r||!n)return!1;let o=s.getIn([r,"schema","properties"],(0,$.fromJS)([])),i=s.getIn([n,"schema","properties"],(0,$.fromJS)([]));return!!o.equals(i)};function ja(e){return $.Map.isMap(e)?e:new $.Map}var kr=cI(85015),Pa=cI.n(kr),_r=cI(38221),Mr=cI.n(_r),ds=cI(63560),Na=cI.n(ds),fs=cI(56367),Ia=cI.n(fs);const Ta="spec_update_spec",Ma="spec_update_url",Ra="spec_update_json",Da="spec_update_param",La="spec_update_empty_param_inclusion",Fa="spec_validate_param",Ba="spec_set_response",$a="spec_set_request",qa="spec_set_mutated_request",Ua="spec_log_request",za="spec_clear_response",Va="spec_clear_request",Ka="spec_clear_validate_param",Wa="spec_update_operation_meta_value",Ja="spec_update_resolved",Ha="spec_update_resolved_subtree",Ga="set_scheme",Ya=e=>Pa()(e)?e:"";const Xa=o=>({specActions:e,specSelectors:t,errActions:r})=>{let n=t["specStr"],s=null;try{o=o||n(),r.clear({source:"parser"}),s=ms.load(o,{schema:hs})}catch(e){return console.error(e),r.newSpecErr({source:"parser",level:"error",message:e.reason,line:e.mark&&e.mark.line?e.mark.line+1:void 0})}return s&&"object"==typeof s?e.updateJsonSpec(s):{}};let Qa=!1;const Za=(h,d)=>({specActions:r,specSelectors:e,errActions:n,fn:{fetch:t,resolve:s,AST:o={}},getConfigs:i})=>{Qa||(console.warn("specActions.resolveSpec is deprecated since v3.10.0 and will be removed in v4.0.0; use requestResolvedSubtree instead!"),Qa=!0);var{modelPropertyMacro:i,parameterMacro:a,requestInterceptor:l,responseInterceptor:c}=i();void 0===h&&(h=e.specJson()),void 0===d&&(d=e.url());let u=o.getLineNumberForPath||(()=>{}),p=e.specStr();return s({fetch:t,spec:h,baseDoc:String(new URL(d,document.baseURI)),modelPropertyMacro:i,parameterMacro:a,requestInterceptor:l,responseInterceptor:c}).then(({spec:e,errors:t})=>{return n.clear({type:"thrown"}),Array.isArray(t)&&0<t.length&&(t=t.map(e=>(console.error(e),e.line=e.fullPath?u(p,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(t)),r.updateResolved(e)})};let el=[];const tl=Mr()(()=>{const e=el.reduce((e,{path:t,system:r})=>(e.has(r)||e.set(r,[]),e.get(r).push(t),e),new Map);el=[],e.forEach(async(e,t)=>{if(!t)return void console.error("debResolveSubtrees: don't have a system to operate on, aborting.");if(!t.fn.resolveSubtree)return void console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing.");const{errActions:i,errSelectors:a,fn:{resolveSubtree:l,fetch:c,AST:r={}},specSelectors:u,specActions:n}=t,p=r.getLineNumberForPath??Ai()(void 0),h=u.specStr(),{modelPropertyMacro:d,parameterMacro:f,requestInterceptor:m,responseInterceptor:g}=t.getConfigs();try{const t=await e.reduce(async(e,r)=>{var t,{resultMap:e,specWithCurrentSubtrees:n}=await e;const{errors:s,spec:o}=await l(n,r,{baseDoc:String(new URL(u.url(),document.baseURI)),modelPropertyMacro:d,parameterMacro:f,requestInterceptor:m,responseInterceptor:g});return a.allErrors().size&&i.clearBy(e=>"thrown"!==e.get("type")||"resolver"!==e.get("source")||!e.get("fullPath").every((e,t)=>e===r[t]||void 0===r[t])),Array.isArray(s)&&0<s.length&&(t=s.map(e=>(e.line=e.fullPath?p(h,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)),i.newThrownErrBatch(t)),o&&u.isOAS3()&&"components"===r[0]&&"securitySchemes"===r[1]&&await Promise.all(Object.values(o).filter(e=>"openIdConnect"===e.type).map(async e=>{var t={url:e.openIdConnectUrl,requestInterceptor:m,responseInterceptor:g};try{var r=await c(t);r instanceof Error||400<=r.status?console.error(r.statusText+" "+t.url):e.openIdConnectData=JSON.parse(r.text)}catch(e){console.error(e)}})),Na()(e,r,o),{resultMap:e,specWithCurrentSubtrees:Ia()(r,o,n)}},Promise.resolve({resultMap:(u.specResolvedSubtree([])||(0,$.Map)()).toJS(),specWithCurrentSubtrees:u.specJS()}));n.updateResolvedSubtree([],t.resultMap)}catch(e){console.error(e)}})},35),rl=n=>r=>{el.find(({path:e,system:t})=>t===r&&e.toString()===n.toString())||(el.push({path:n,system:r}),tl())};const nl=(e,t)=>({type:Ha,payload:{path:e,value:t}}),sl=()=>({type:Ha,payload:{path:[],value:(0,$.Map)()}}),ol=(e,t)=>({type:Fa,payload:{pathMethod:e,isOAS3:t}}),il=(e,t,r,n)=>({type:La,payload:{pathMethod:e,paramName:t,paramIn:r,includeEmptyValue:n}});const al=(e,t,r)=>({payload:{path:e,method:t,res:r},type:Ba}),ll=(e,t,r)=>({payload:{path:e,method:t,req:r},type:$a}),cl=(e,t,r)=>({payload:{path:e,method:t,req:r},type:qa}),ul=e=>({payload:e,type:Ua}),pl=h=>({fn:e,specActions:r,specSelectors:n,getConfigs:t,oas3Selectors:s})=>{let{pathName:o,method:i,operation:a}=h,{requestInterceptor:l,responseInterceptor:c}=t(),u=a.toJS();if(a&&a.get("parameters")&&a.get("parameters").filter(e=>e&&!0===e.get("allowEmptyValue")).forEach(e=>{var t;n.parameterInclusionSettingFor([o,i],e.get("name"),e.get("in"))&&(h.parameters=h.parameters||{},(t=ht(e,h.parameters))&&0!==t.size||(h.parameters[e.get("name")]=""))}),h.contextUrl=wt()(n.url()).toString(),u&&u.operationId?h.operationId=u.operationId:u&&o&&i&&(h.operationId=e.opId(u,o,i)),n.isOAS3()){const e=o+":"+i,r=(h.server=s.selectedServer(e)||s.selectedServer(),s.serverVariables({server:h.server,namespace:e}).toJS()),n=s.serverVariables({server:h.server}).toJS(),t=(h.serverVariables=Object.keys(r).length?r:n,h.requestContentType=s.requestContentType(o,i),h.responseContentType=s.responseContentType(o,i)||"*/*",s.requestBodyValue(o,i)),a=s.requestBodyInclusionSetting(o,i);t&&t.toJS?h.requestBody=t.map(e=>$.Map.isMap(e)?e.get("value"):e).filter((e,t)=>(Array.isArray(e)?0!==e.length:!ft(e))||a.get(t)).toJS():h.requestBody=t}t=Object.assign({},h),t=e.buildRequest(t);r.setRequest(h.pathName,h.method,t),h.requestInterceptor=async e=>{var e=await l.apply(void 0,[e]),t=Object.assign({},e);return r.setMutatedRequest(h.pathName,h.method,t),e},h.responseInterceptor=c;const p=Date.now();return e.execute(h).then(e=>{e.duration=Date.now()-p,r.setResponse(h.pathName,h.method,e)}).catch(e=>{"Failed to fetch"===e.message&&(e.name="",e.message='**Failed to fetch.** \n**Possible Reasons:** \n - CORS \n - Network Failure \n - URL scheme must be "http" or "https" for CORS request.'),r.setResponse(h.pathName,h.method,{error:!0,err:e})})},hl=({path:u,method:p,...h}={})=>e=>{let{fn:{fetch:t},specSelectors:r,specActions:n}=e,s=r.specJsonWithResolvedSubtrees().toJS(),o=r.operationScheme(u,p),{requestContentType:i,responseContentType:a}=r.contentTypeValues([u,p]).toJS(),l=/xml/i.test(i),c=r.parameterValues([u,p],l).toJS();return n.executeRequest({...h,fetch:t,spec:s,pathName:u,method:p,parameters:c,requestContentType:i,scheme:o,responseContentType:a})};const dl={[Ta]:(e,t)=>"string"==typeof t.payload?e.set("spec",t.payload):e,[Ma]:(e,t)=>e.set("url",t.payload+""),[Ra]:(e,t)=>e.set("json",Ke(t.payload)),[Ja]:(e,t)=>e.setIn(["resolved"],Ke(t.payload)),[Ha]:(e,t)=>{var{value:t,path:r}=t.payload;return e.setIn(["resolvedSubtrees",...r],Ke(t))},[Da]:(e,{payload:t})=>{var{path:t,paramName:r,paramIn:n,param:s,value:o,isXml:i}=t,s=s?pt(s):n+"."+r,n=i?"value_xml":"value";return e.setIn(["meta","paths",...t,"parameters",s,n],(0,$.fromJS)(o))},[La]:(e,{payload:t})=>{var{pathMethod:t,paramName:r,paramIn:n,includeEmptyValue:s}=t;if(!r||!n)return console.warn("Warning: UPDATE_EMPTY_PARAM_INCLUSION could not generate a paramKey."),e;n=n+"."+r;return e.setIn(["meta","paths",...t,"parameter_inclusions",n],s)},[Fa]:(s,{payload:{pathMethod:o,isOAS3:i}})=>{const t=Fi(s).getIn(["paths",...o]),a=wa(s,o).toJS();return s.updateIn(["meta","paths",...o,"parameters"],(0,$.fromJS)({}),e=>t.get("parameters",(0,$.List)()).reduce((e,t)=>{var r=ht(t,a),n=ga(s,o,t.get("name"),t.get("in")),r=((e,t,{isOAS3:r=!1,bypassRequiredCheck:n=!1})=>{var s=e.get("required"),{schema:e,parameterContentMediaType:r}=qe(e,{isOAS3:r});return function s(t,o,e,i,a){if(!o)return[];let l=[],r=o.get("nullable"),c=o.get("required"),n=o.get("maximum"),u=o.get("minimum"),p=o.get("type"),h=o.get("format"),d=o.get("maxLength"),f=o.get("minLength"),m=o.get("uniqueItems"),g=o.get("maxItems"),y=o.get("minItems"),v=o.get("pattern");var e=e||!0===c,b=null!=t,w=e||b&&"array"===p||!(!e&&!b),E=r&&null===t;if(e&&!b&&!E&&!i&&!p)return l.push("Required field is not provided"),l;if(E||!p||!w)return[];let x="string"===p&&t,S="array"===p&&Array.isArray(t)&&t.length,_="array"===p&&Z().List.isList(t)&&t.count();b=[x,S,_,"array"===p&&"string"==typeof t&&t,"file"===p&&t instanceof B.File,"boolean"===p&&(t||!1===t),"number"===p&&(t||0===t),"integer"===p&&(t||0===t),"object"===p&&"object"==typeof t&&null!==t,"object"===p&&"string"==typeof t&&t].some(e=>!!e);if(e&&!b&&!i)return l.push("Required field is not provided"),l;if("object"===p&&(null===a||"application/json"===a)){let n=t;if("string"==typeof t)try{n=JSON.parse(t)}catch(t){return l.push("Parameter string value must be valid JSON"),l}o&&o.has("required")&&Ge(c.isList)&&c.isList()&&c.forEach(e=>{void 0===n[e]&&l.push({propKey:e,error:"Required property not found"})}),o&&o.has("properties")&&o.get("properties").forEach((e,t)=>{const r=s(n[t],e,!1,i,a);l.push(...r.map(e=>({propKey:t,error:e})))})}if(v&&(E=((e,t)=>{if(!new RegExp(t).test(e))return"Value must follow pattern "+t})(t,v))&&l.push(E),y&&"array"===p&&(w=(e=>{if(!e&&1<=y||e&&e.length<y)return`Array must contain at least ${y} item`+(1===y?"":"s")})(t))&&l.push(w),g&&"array"===p&&(e=(()=>{if(t&&t.length>g)return`Array must not contain more then ${g} item`+(1===g?"":"s")})())&&l.push({needRemove:!0,error:e}),m&&"array"===p&&(b=((e,n)=>{if(e&&("true"===n||!0===n)){const n=(0,$.fromJS)(e),t=n.toSet();if(e.length>t.size){let r=(0,$.Set)();if(n.forEach((t,e)=>{1<n.filter(e=>Ge(e.equals)?e.equals(t):e===t).size&&(r=r.add(e))}),0!==r.size)return r.map(e=>({index:e,error:"No duplicates allowed."})).toArray()}}})(t,m))&&l.push(...b),!d&&0!==d||(E=(()=>{if(t.length>d)return`Value must be no longer than ${d} character`+(1!==d?"s":"")})())&&l.push(E),f&&(w=(()=>{if(t.length<f)return`Value must be at least ${f} character`+(1!==f?"s":"")})())&&l.push(w),!n&&0!==n||(e=(e=>{if(n<e)return"Value must be less than "+n})(t))&&l.push(e),!u&&0!==u||(b=(()=>{if(t<u)return"Value must be greater than "+u})())&&l.push(b),"string"===p){if(!(E="date-time"===h?(()=>{if(isNaN(Date.parse(t)))return"Value must be a DateTime"})():"uuid"===h?(e=>{if(e=t.toString().toLowerCase(),!/^[{(]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[)}]?$/.test(e))return"Value must be a Guid"})(t):(()=>{if(t&&"string"!=typeof t)return"Value must be a string"})()))return l;l.push(E)}else if("boolean"===p){if(!(w=(()=>{if("true"!==t&&"false"!==t&&!0!==t&&!1!==t)return"Value must be a boolean"})()))return l;l.push(w)}else if("number"===p){if(!(e=(()=>{if(!/^-?\d+(\.?\d+)?$/.test(t))return"Value must be a number"})()))return l;l.push(e)}else if("integer"===p){if(!(b=(()=>{if(!/^-?\d+$/.test(t))return"Value must be an integer"})()))return l;l.push(b)}else if("array"===p){if(!S&&!_)return l;t&&t.forEach((e,t)=>{const r=s(e,o.get("items"),!1,i,a);l.push(...r.map(e=>({index:t,error:e})))})}else if("file"===p){if(!(E=(()=>{if(t&&!(t instanceof B.File))return"Value must be a file"})()))return l;l.push(E)}return l}(t,e,s,n,r)})(t,r,{bypassRequiredCheck:n,isOAS3:i});return e.setIn([pt(t),"errors"],(0,$.fromJS)(r))},e))},[Ka]:(e,{payload:{pathMethod:t}})=>e.updateIn(["meta","paths",...t,"parameters"],(0,$.fromJS)([]),e=>e.map(e=>e.set("errors",(0,$.fromJS)([])))),[Ba]:(e,{payload:{res:t,path:r,method:n}})=>{let s,o=((s=t.error?Object.assign({error:!0,name:t.err.name,message:t.err.message,statusCode:t.err.statusCode},t.err.response):t).headers=s.headers||{},e.setIn(["responses",r,n],Ke(s)));return o=B.Blob&&s.data instanceof B.Blob?o.setIn(["responses",r,n,"text"],s.data):o},[$a]:(e,{payload:{req:t,path:r,method:n}})=>e.setIn(["requests",r,n],Ke(t)),[qa]:(e,{payload:{req:t,path:r,method:n}})=>e.setIn(["mutatedRequests",r,n],Ke(t)),[Wa]:(e,{payload:{path:t,value:r,key:n}})=>{var s=["paths",...t],t=["meta","paths",...t];return e.getIn(["json",...s])||e.getIn(["resolved",...s])||e.getIn(["resolvedSubtrees",...s])?e.setIn([...t,n],(0,$.fromJS)(r)):e},[za]:(e,{payload:{path:t,method:r}})=>e.deleteIn(["responses",t,r]),[Va]:(e,{payload:{path:t,method:r}})=>e.deleteIn(["requests",t,r]),[Ga]:(e,{payload:{scheme:t,path:r,method:n}})=>r&&n?e.setIn(["scheme",r,n],t):r||n?void 0:e.setIn(["scheme","_defaultScheme"],t)},fl=(t,{specActions:r})=>(...e)=>{t(...e),r.parseToJson(...e)},ml=(n,{specActions:s})=>(...e)=>{n(...e),s.invalidateResolvedSubtreeCache();const[t]=e,r=Ts()(t,["paths"])||{};Object.keys(r).forEach(e=>{Ts()(r,[e]).$ref&&s.requestResolvedSubtree(["paths",e])}),s.requestResolvedSubtree(["components","securitySchemes"])},gl=(t,{specActions:r})=>e=>(r.logRequest(e),t(e)),yl=(t,{specSelectors:r})=>e=>t(e,r.isOAS3()),vl=()=>({statePlugins:{spec:{wrapActions:{...J},reducers:{...dl},actions:{...W},selectors:{...K}}}});bl=function(e,t){return(bl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};var bl,be=function(e,t){function r(){this.constructor=e}bl(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},wl=Object.prototype.hasOwnProperty;function El(e,t){return wl.call(e,t)}function xl(e){if(Array.isArray(e)){for(var t=new Array(e.length),r=0;r<t.length;r++)t[r]=""+r;return t}if(Object.keys)return Object.keys(e);var n,s=[];for(n in e)El(e,n)&&s.push(n);return s}function Sl(e){switch(typeof e){case"object":return JSON.parse(JSON.stringify(e));case"undefined":return null;default:return e}}function _l(e){for(var t,r=0,n=e.length;r<n;){if(!(48<=(t=e.charCodeAt(r))&&t<=57))return;r++}return 1}function kl(e){return-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function Al(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function Ol(e,t){var r,n=[e];for(r in t){var s="object"==typeof t[r]?JSON.stringify(t[r],null,2):t[r];void 0!==s&&n.push(r+": "+s)}return n.join("\n")}Cl=Error,be(Tl,Cl);var Cl,Or=Tl,jl=Or,Pl=Sl,Nl={add:function(e,t,r){return e[t]=this.value,{newDocument:r}},remove:function(e,t,r){var n=e[t];return delete e[t],{newDocument:r,removed:n}},replace:function(e,t,r){var n=e[t];return e[t]=this.value,{newDocument:r,removed:n}},move:function(e,t,r){var n=(n=Ml(r,this.path))&&Sl(n),s=Rl(r,{op:"remove",path:this.from}).removed;return Rl(r,{op:"add",path:this.path,value:s}),{newDocument:r,removed:n}},copy:function(e,t,r){var n=Ml(r,this.from);return Rl(r,{op:"add",path:this.path,value:Sl(n)}),{newDocument:r}},test:function(e,t,r){return{newDocument:r,test:Bl(e[t],this.value)}},_get:function(e,t,r){return this.value=e[t],{newDocument:r}}},Il={add:function(e,t,r){return _l(t)?e.splice(t,0,this.value):e[t]=this.value,{newDocument:r,index:t}},remove:function(e,t,r){return{newDocument:r,removed:e.splice(t,1)[0]}},replace:function(e,t,r){var n=e[t];return e[t]=this.value,{newDocument:r,removed:n}},move:Nl.move,copy:Nl.copy,test:Nl.test,_get:Nl._get};function Tl(e,t,r,n,s){var o=this.constructor,i=Cl.call(this,Ol(e,{name:t,index:r,operation:n,tree:s}))||this;return i.name=t,i.index=r,i.operation=n,i.tree=s,Object.setPrototypeOf(i,o.prototype),i.message=Ol(e,{name:t,index:r,operation:n,tree:s}),i}function Ml(e,t){if(""==t)return e;t={op:"_get",path:t};return Rl(e,t),t.value}function Rl(e,t,r,n,s,o){if(void 0===n&&(n=!0),void 0===s&&(s=!0),void 0===o&&(o=0),(r=void 0===r?!1:r)&&("function"==typeof r?r(t,0,e,t.path):Ll(t,0)),""===t.path){var i={newDocument:e};if("add"===t.op)return i.newDocument=t.value,i;if("replace"===t.op)return i.newDocument=t.value,i.removed=e,i;if("move"===t.op||"copy"===t.op)return i.newDocument=Ml(e,t.from),"move"===t.op&&(i.removed=e),i;if("test"===t.op){if(i.test=Bl(e,t.value),!1===i.test)throw new jl("Test operation failed","TEST_OPERATION_FAILED",o,t,e);return i.newDocument=e,i}if("remove"===t.op)return i.removed=e,i.newDocument=null,i;if("_get"===t.op)return t.value=e,i;if(r)throw new jl("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",o,t,e);return i}n||(e=Sl(e));for(var a=(t.path||"").split("/"),l=e,c=1,u=a.length,p=void 0,h=void 0,d=void 0,d="function"==typeof r?r:Ll;;){if((h=a[c])&&-1!=h.indexOf("~")&&(h=Al(h)),s&&("__proto__"==h||"prototype"==h&&0<c&&"constructor"==a[c-1]))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&&void 0===p&&(void 0===l[h]?p=a.slice(0,c).join("/"):c==u-1&&(p=t.path),void 0!==p&&d(t,0,e,p)),c++,Array.isArray(l)){if("-"===h)h=l.length;else{if(r&&!_l(h))throw new jl("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,t,e);_l(h)&&(h=~~h)}if(u<=c){if(r&&"add"===t.op&&h>l.length)throw new jl("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",o,t,e);if(!1===(i=Il[t.op].call(t,l,h,e)).test)throw new jl("Test operation failed","TEST_OPERATION_FAILED",o,t,e);return i}}else if(u<=c){if(!1===(i=Nl[t.op].call(t,l,h,e)).test)throw new jl("Test operation failed","TEST_OPERATION_FAILED",o,t,e);return i}if(l=l[h],r&&c<u&&(!l||"object"!=typeof l))throw new jl("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",o,t,e)}}function Dl(e,t,r,n,s){if(void 0===n&&(n=!0),void 0===s&&(s=!0),r&&!Array.isArray(t))throw new jl("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");n||(e=Sl(e));for(var o=new Array(t.length),i=0,a=t.length;i<a;i++)o[i]=Rl(e,t[i],r,!0,s,i),e=o[i].newDocument;return o.newDocument=e,o}function Ll(e,t,r,n){if("object"!=typeof e||null===e||Array.isArray(e))throw new jl("Operation is not an object","OPERATION_NOT_AN_OBJECT",t,e,r);if(!Nl[e.op])throw new jl("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",t,e,r);if("string"!=typeof e.path)throw new jl("Operation `path` property is not a string","OPERATION_PATH_INVALID",t,e,r);if(0!==e.path.indexOf("/")&&0<e.path.length)throw new jl('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",t,e,r);if(("move"===e.op||"copy"===e.op)&&"string"!=typeof e.from)throw new jl("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",t,e,r);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&void 0===e.value)throw new jl("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",t,e,r);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&function e(t){if(void 0===t)return 1;if(t)if(Array.isArray(t)){for(var r=0,n=t.length;r<n;r++)if(e(t[r]))return 1}else if("object"==typeof t)for(var s=xl(t),o=s.length,i=0;i<o;i++)if(e(t[s[i]]))return 1}(e.value))throw new jl("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",t,e,r);if(r)if("add"==e.op){var s=e.path.split("/").length,o=n.split("/").length;if(s!==o+1&&s!==o)throw new jl("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",t,e,r)}else if("replace"===e.op||"remove"===e.op||"_get"===e.op){if(e.path!==n)throw new jl("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",t,e,r)}else if("move"===e.op||"copy"===e.op){s=Fl([{op:"_get",path:e.from,value:void 0}],r);if(s&&"OPERATION_PATH_UNRESOLVABLE"===s.name)throw new jl("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",t,e,r)}}function Fl(e,t,r){try{if(!Array.isArray(e))throw new jl("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(t)Dl(Sl(t),Sl(e),r||!0);else{r=r||Ll;for(var n=0;n<e.length;n++)r(e[n],n,t,void 0)}}catch(e){if(e instanceof jl)return e;throw e}}function Bl(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var r,n,s,o=Array.isArray(e),i=Array.isArray(t);if(o&&i){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!Bl(e[r],t[r]))return!1;return!0}if(o!=i)return!1;var a=Object.keys(e);if((n=a.length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!t.hasOwnProperty(a[r]))return!1;for(r=n;0!=r--;)if(!Bl(e[s=a[r]],t[s]))return!1;return!0}return e!=e&&t!=t}var $l=new WeakMap,ql=function(e){this.observers=new Map,this.obj=e},Ul=function(e,t){this.callback=e,this.observer=t};function zl(e,t){void 0===t&&(t=!1);var r=$l.get(e.object),t=(Vl(r.value,e.object,e.patches,"",t),e.patches.length&&Dl(r.value,e.patches),e.patches);return 0<t.length&&(e.patches=[],e.callback&&e.callback(t)),t}function Vl(e,t,r,n,s){if(t!==e){for(var o,i=xl(t="function"==typeof t.toJSON?t.toJSON():t),a=xl(e),l=!1,c=a.length-1;0<=c;c--){var u,p=e[o=a[c]];!El(t,o)||void 0===t[o]&&void 0!==p&&!1===Array.isArray(t)?Array.isArray(e)===Array.isArray(t)?(s&&r.push({op:"test",path:n+"/"+kl(o),value:Sl(p)}),r.push({op:"remove",path:n+"/"+kl(o)}),l=!0):(s&&r.push({op:"test",path:n,value:e}),r.push({op:"replace",path:n,value:t})):(u=t[o],"object"==typeof p&&null!=p&&"object"==typeof u&&null!=u&&Array.isArray(p)===Array.isArray(u)?Vl(p,u,r,n+"/"+kl(o),s):p!==u&&(s&&r.push({op:"test",path:n+"/"+kl(o),value:Sl(p)}),r.push({op:"replace",path:n+"/"+kl(o),value:Sl(u)})))}if(l||i.length!=a.length)for(c=0;c<i.length;c++)El(e,o=i[c])||void 0===t[o]||r.push({op:"add",path:n+"/"+kl(o),value:Sl(t[o])})}}Object.assign({},H,G,{JsonPatchError:Or,deepClone:Sl,escapePathComponent:kl,unescapePathComponent:Al});var Mn=cI(14744),Kl=cI.n(Mn);const v={add:function(e,t){return{op:"add",path:e,value:t}},replace:Jl,remove:function(e){return{op:"remove",path:e}},merge:function(e,t){return{type:"mutation",op:"merge",path:e,value:t}},mergeDeep:function(e,t){return{type:"mutation",op:"mergeDeep",path:e,value:t}},context:function(e,t){return{type:"context",path:e,value:t}},getIn:function(e,t){return t.reduce((e,t)=>void 0!==t&&e?e[t]:e,e)},applyPatch:function(t,r,n){if(n=n||{},"merge"===(r={...r,path:r.path&&Wl(r.path)}).op){const n=ic(t,r.path);Object.assign(n,r.value),Dl(t,[Jl(r.path,n)])}else if("mergeDeep"===r.op){const n=ic(t,r.path),e=Kl()(n,r.value);t=Dl(t,[Jl(r.path,e)]).newDocument}else if("add"===r.op&&""===r.path&&ec(r.value))Dl(t,Object.keys(r.value).reduce((e,t)=>(e.push({op:"add",path:"/"+Wl(t),value:r.value[t]}),e),[]));else if("replace"===r.op&&""===r.path){let e=r["value"];t=e=n.allowMetaPatches&&r.meta&&sc(r)&&(Array.isArray(r.value)||ec(r.value))?{...e,...r.meta}:e}else if(Dl(t,[r]),n.allowMetaPatches&&r.meta&&sc(r)&&(Array.isArray(r.value)||ec(r.value))){const n={...ic(t,r.path),...r.meta};Dl(t,[Jl(r.path,n)])}return t},parentPathMatch:function(r,n){if(!Array.isArray(n))return!1;for(let e=0,t=n.length;e<t;e+=1)if(n[e]!==r[e])return!1;return!0},flatten:Ql,fullyNormalizeArray:function(e){return Zl(Ql(Xl(e)))},normalizeArray:Xl,isPromise:function(e){return ec(e)&&tc(e.then)},forEachNew:function(e,t){try{return Hl(e,Yl,t)}catch(e){return e}},forEachNewPrimitive:function(e,t){try{return Hl(e,Gl,t)}catch(e){return e}},isJsonPatch:rc,isContextPatch:function(e){return oc(e)&&"context"===e.type},isPatch:oc,isMutation:nc,isAdditiveMutation:sc,isGenerator:function(e){return"[object GeneratorFunction]"===Object.prototype.toString.call(e)},isFunction:tc,isObject:ec,isError:function(e){return e instanceof Error}};function Wl(e){return Array.isArray(e)?e.length<1?"":"/"+e.map(e=>(e+"").replace(/~/g,"~0").replace(/\//g,"~1")).join("/"):e}function Jl(e,t,r){return{op:"replace",path:e,value:t,meta:r}}function Hl(e,t,r){return Zl(Ql(e.filter(sc).map(e=>t(e.value,r,e.path))||[]))}function Gl(t,r,n){return n=n||[],Array.isArray(t)?t.map((e,t)=>Gl(e,r,n.concat(t))):ec(t)?Object.keys(t).map(e=>Gl(t[e],r,n.concat(e))):r(t,n[n.length-1],n)}function Yl(t,r,n){let e=[];var s;return 0<(n=n||[]).length&&((s=r(t,n[n.length-1],n))&&(e=e.concat(s))),Array.isArray(t)?(s=t.map((e,t)=>Yl(e,r,n.concat(t))))&&(e=e.concat(s)):ec(t)&&(s=Object.keys(t).map(e=>Yl(t[e],r,n.concat(e))))&&(e=e.concat(s)),e=Ql(e)}function Xl(e){return Array.isArray(e)?e:[e]}function Ql(e){return[].concat(...e.map(e=>Array.isArray(e)?Ql(e):e))}function Zl(e){return e.filter(e=>void 0!==e)}function ec(e){return e&&"object"==typeof e}function tc(e){return e&&"function"==typeof e}function rc(e){return!!oc(e)&&(e=e["op"],"add"===e||"remove"===e||"replace"===e)}function nc(e){return rc(e)||oc(e)&&"mutation"===e.type}function sc(e){return nc(e)&&("add"===e.op||"replace"===e.op||"merge"===e.op||"mergeDeep"===e.op)}function oc(e){return e&&"object"==typeof e}function ic(e,t){try{return Ml(e,t)}catch(e){return console.error(e),{}}}const ac=class extends cI(48675){constructor(e,t,r){if(super(e,t,r),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=r&&"object"==typeof r&&Object.hasOwn(r,"cause")&&!("cause"in this)){const e=r["cause"];(this.cause=e)instanceof Error&&"stack"in e&&(this.stack=this.stack+`
|
||
CAUSE: `+e.stack)}}};class lc extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(ac,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=t&&"object"==typeof t&&Object.hasOwn(t,"cause")&&!("cause"in this)){const e=t["cause"];(this.cause=e)instanceof Error&&"stack"in e&&(this.stack=this.stack+`
|
||
CAUSE: `+e.stack)}}}const cc=lc,uc=class extends cc{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...r}=t;Object.assign(this,r)}}};var pc=cI(65606);const hc={"@@functional/placeholder":!0};function c(e){return e===hc}function i(r){return function e(t){return 0===arguments.length||c(t)?e:r.apply(this,arguments)}}function t(n){return function e(t,r){switch(arguments.length){case 0:return e;case 1:return c(t)?e:i(function(e){return n(t,e)});default:return c(t)&&c(r)?e:c(t)?i(function(e){return n(e,r)}):c(r)?i(function(e){return n(t,e)}):n(t,r)}}}function dc(o){return function e(r,n,s){switch(arguments.length){case 0:return e;case 1:return c(r)?e:t(function(e,t){return o(r,e,t)});case 2:return c(r)&&c(n)?e:c(r)?t(function(e,t){return o(e,n,t)}):c(n)?t(function(e,t){return o(r,e,t)}):i(function(e){return o(r,n,e)});default:return c(r)&&c(n)&&c(s)?e:c(r)&&c(n)?t(function(e,t){return o(e,t,s)}):c(r)&&c(s)?t(function(e,t){return o(e,n,t)}):c(n)&&c(s)?t(function(e,t){return o(r,e,t)}):c(r)?i(function(e){return o(e,n,s)}):c(n)?i(function(e){return o(r,e,s)}):c(s)?i(function(e){return o(r,n,e)}):o(r,n,s)}}}const fc=Number.isInteger||function(e){return(0|e)===e};function mc(e){return"[object String]"===Object.prototype.toString.call(e)}function gc(e,t){e=e<0?t.length+e:e;return mc(t)?t.charAt(e):t[e]}function yc(e,t){for(var r=t,n=0;n<e.length;n+=1){if(null==r)return;var s=e[n],r=fc(s)?gc(s,r):r[s]}return r}const vc=dc(function(e,t,r){return e(yc(t,r))});function bc(e){return new RegExp(e.source,e.flags||(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}function wc(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}function Ec(e,t,r){for(var n=0,s=r.length;n<s;){if(e(t,r[n]))return 1;n+=1}}function xc(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const Sc="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var _c=Object.prototype.toString;const kc=function(){return"[object Arguments]"===_c.call(arguments)?function(e){return"[object Arguments]"===_c.call(e)}:function(e){return xc("callee",e)}}();var Ac=!{toString:null}.propertyIsEnumerable("toString"),Oc=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Cc=function(){return arguments.propertyIsEnumerable("length")}();const jc="function"!=typeof Object.keys||Cc?i(function(e){if(Object(e)!==e)return[];var t,r,n=[],s=Cc&&kc(e);for(t in e)!xc(t,e)||s&&"length"===t||(n[n.length]=t);if(Ac)for(r=Oc.length-1;0<=r;)xc(t=Oc[r],e)&&!function(e,t){for(var r=0;r<e.length;){if(e[r]===t)return!0;r+=1}return!1}(n,t)&&(n[n.length]=t),--r;return n}):i(function(e){return Object(e)!==e?[]:Object.keys(e)}),Pc=i(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Nc(e,t,r,n){e=wc(e);function s(e,t){return Ic(e,t,r.slice(),n.slice())}return!Ec(function(e,t){return!Ec(s,t,e)},wc(t),e)}function Ic(e,t,r,n){if(Sc(e,t))return!0;var s=Pc(e);if(s!==Pc(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(s){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===function(e){e=String(e).match(/^function (\w*)/);return null==e?"":e[1]}(e.constructor))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e==typeof t&&Sc(e.valueOf(),t.valueOf()))break;return!1;case"Date":if(Sc(e.valueOf(),t.valueOf()))break;return!1;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var o=r.length-1;0<=o;){if(r[o]===e)return n[o]===t;--o}switch(s){case"Map":return e.size===t.size&&Nc(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&Nc(e.values(),t.values(),r.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var i=jc(e);if(i.length!==jc(t).length)return!1;for(var a=r.concat([e]),l=n.concat([t]),o=i.length-1;0<=o;){var c=i[o];if(!xc(c,t)||!Ic(t[c],e[c],a,l))return!1;--o}return!0}const Tc=t(function(e,t){return Ic(e,t,[],[])});function Mc(e,t){return 0<=function(e,t,r){var n,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;r<e.length;){if(0===(s=e[r])&&1/s==n)return r;r+=1}return-1}if(t==t)return e.indexOf(t,r);for(;r<e.length;){if("number"==typeof(s=e[r])&&s!=s)return r;r+=1}return-1;case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,r);case"object":if(null===t)return e.indexOf(t,r)}for(;r<e.length;){if(Tc(e[r],t))return r;r+=1}return-1}(t,e,0)}function Rc(e,t){for(var r=0,n=t.length,s=Array(n);r<n;)s[r]=e(t[r]),r+=1;return s}function Dc(e){return'"'+e.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,'\\"')+'"'}function Lc(e){return(e<10?"0":"")+e}const Fc="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Lc(e.getUTCMonth()+1)+"-"+Lc(e.getUTCDate())+"T"+Lc(e.getUTCHours())+":"+Lc(e.getUTCMinutes())+":"+Lc(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Bc(e){return function(){return!e.apply(this,arguments)}}function $c(e,t,r){for(var n=0,s=r.length;n<s;)t=e(t,r[n]),n+=1;return t}const qc=Array.isArray||function(e){return null!=e&&0<=e.length&&"[object Array]"===Object.prototype.toString.call(e)};function Uc(n,s,o){return function(){if(0===arguments.length)return o();var e,t=arguments[arguments.length-1];if(!qc(t)){for(var r=0;r<n.length;){if("function"==typeof t[n[r]])return t[n[r]].apply(t,Array.prototype.slice.call(arguments,0,-1));r+=1}if(null!=(e=t)&&"function"==typeof e["@@transducer/step"])return s.apply(null,Array.prototype.slice.call(arguments,0,-1))(t)}return o.apply(this,arguments)}}function zc(e){return"[object Object]"===Object.prototype.toString.call(e)}function Vc(){return this.xf["@@transducer/init"]()}function Kc(e){return this.xf["@@transducer/result"](e)}Jc.prototype["@@transducer/init"]=Vc,Jc.prototype["@@transducer/result"]=Kc,Jc.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e};var Wc=Jc;function Jc(e,t){this.xf=t,this.f=e}const Hc=t(Uc(["fantasy-land/filter","filter"],function(t){return function(e){return new Wc(t,e)}},function(r,n){if(zc(n))return $c(function(e,t){return r(n[t])&&(e[t]=n[t]),e},{},jc(n));for(var e=r,t=n,s=0,o=t.length,i=[];s<o;)e(t[s])&&(i[i.length]=t[s]),s+=1;return i})),Gc=t(function(e,t){return Hc(Bc(e),t)});function Yc(r,n){function s(e){var t=n.concat([r]);return Mc(e,t)?"<Circular>":Yc(e,t)}function e(t,e){return Rc(function(e){return Dc(e)+": "+s(t[e])},e.slice().sort())}switch(Object.prototype.toString.call(r)){case"[object Arguments]":return"(function() { return arguments; }("+Rc(s,r).join(", ")+"))";case"[object Array]":return"["+Rc(s,r).concat(e(r,Gc(function(e){return/^\d+$/.test(e)},jc(r)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof r?"new Boolean("+s(r.valueOf())+")":r.toString();case"[object Date]":return"new Date("+(isNaN(r.valueOf())?s(NaN):Dc(Fc(r)))+")";case"[object Map]":return"new Map("+s(Array.from(r))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof r?"new Number("+s(r.valueOf())+")":1/r==-1/0?"-0":r.toString(10);case"[object Set]":return"new Set("+s(Array.from(r).sort())+")";case"[object String]":return"object"==typeof r?"new String("+s(r.valueOf())+")":Dc(r);case"[object Undefined]":return"undefined";default:if("function"==typeof r.toString){var t=r.toString();if("[object Object]"!==t)return t}return"{"+e(r,jc(r)).join(", ")+"}"}}const Xc=i(function(e){return Yc(e,[])}),Qc=t(function(e,t){if("[object RegExp]"!==Object.prototype.toString.call(e))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+Xc(e));return bc(e).test(t)});function Zc(e,u){switch(e){case 0:return function(){return u.apply(this,arguments)};case 1:return function(e){return u.apply(this,arguments)};case 2:return function(e,t){return u.apply(this,arguments)};case 3:return function(e,t,r){return u.apply(this,arguments)};case 4:return function(e,t,r,n){return u.apply(this,arguments)};case 5:return function(e,t,r,n,s){return u.apply(this,arguments)};case 6:return function(e,t,r,n,s,o){return u.apply(this,arguments)};case 7:return function(e,t,r,n,s,o,i){return u.apply(this,arguments)};case 8:return function(e,t,r,n,s,o,i,a){return u.apply(this,arguments)};case 9:return function(e,t,r,n,s,o,i,a,l){return u.apply(this,arguments)};case 10:return function(e,t,r,n,s,o,i,a,l,c){return u.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function eu(e,t){return function(){return t.call(this,e.apply(this,arguments))}}const tu=i(function(e){return!!qc(e)||!!e&&"object"==typeof e&&!mc(e)&&(0===e.length||0<e.length&&e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1))});var ru="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function nu(n,s,o){return function(e,t,r){if(tu(r))return n(e,t,r);if(null==r)return t;if("function"==typeof r["fantasy-land/reduce"])return s(e,t,r,"fantasy-land/reduce");if(null!=r[ru])return o(e,t,r[ru]());if("function"==typeof r.next)return o(e,t,r);if("function"==typeof r.reduce)return s(e,t,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}}const su=t(function(e,t){return Zc(e.length,function(){return e.apply(t,arguments)})});const ou=nu(function(e,t,r){for(var n=0,s=r.length;n<s;){if((t=e["@@transducer/step"](t,r[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)},function(e,t,r,n){return e["@@transducer/result"](r[n](su(e["@@transducer/step"],e),t))},function(e,t,r){for(var n=r.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=r.next()}return e["@@transducer/result"](t)});au.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},au.prototype["@@transducer/result"]=function(e){return e},au.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)};var iu=au;function au(e){this.f=e}function lu(e){return new iu(e)}const cu=dc(function(e,t,r){return ou("function"==typeof e?lu(e):e,t,r)});function uu(r,n){return function(){var e=arguments.length;if(0===e)return n();var t=arguments[e-1];return qc(t)||"function"!=typeof t[r]?n.apply(this,arguments):t[r].apply(t,Array.prototype.slice.call(arguments,0,e-1))}}const pu=dc(uu("slice",function(e,t,r){return Array.prototype.slice.call(r,e,t)})),hu=i(uu("tail",pu(1,1/0)));function du(e){if(0===arguments.length)throw new Error("pipe requires at least one argument");return Zc(e.length,cu(eu,e,hu(arguments)))}const fu=t(function(e,t){return null==t||t!=t?e:t}),mu=t(function(e,t){if(null!=t)return fc(e)?gc(e,t):t[e]}),gu=dc(function(e,t,r){return fu(e,mu(t,r))}),yu=i(function(e){return gc(-1,e)});function vu(i,a,l){return function(){for(var e,t=[],r=0,n=i,s=0,o=!1;s<a.length||r<arguments.length;)s<a.length&&(!c(a[s])||arguments.length<=r)?e=a[s]:(e=arguments[r],r+=1),c(t[s]=e)?o=!0:--n,s+=1;return!o&&n<=0?l.apply(this,t):Zc(Math.max(0,n),vu(i,t,l))}}const s=t(function(e,t){return 1===e?i(t):Zc(e,vu(e,[],t))}),bu=i(function(e){return s(e.length,e)});function wu(e){e=Object.prototype.toString.call(e);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}const Eu=t(function(t,r){return s(t+1,function(){var e=arguments[t];if(null!=e&&wu(e[r]))return e[r].apply(e,Array.prototype.slice.call(arguments,0,t));throw new TypeError(Xc(e)+' does not have a method named "'+r+'"')})}),xu=Eu(1,"split");_u.prototype["@@transducer/init"]=Vc,_u.prototype["@@transducer/result"]=function(e){return this.retained=null,this.xf["@@transducer/result"](e)},_u.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.retain(e,t):this.flush(e,t)},_u.prototype.flush=function(e,t){return e=ou(this.xf,e,this.retained),this.retained=[],this.xf["@@transducer/step"](e,t)},_u.prototype.retain=function(e,t){return this.retained.push(t),e};var Su=_u;function _u(e,t){this.f=e,this.retained=[],this.xf=t}const ku=t(Uc([],function(t){return function(e){return new Su(t,e)}},function(e,t){for(var r=t.length-1;0<=r&&e(t[r]);)--r;return pu(0,r+1,t)})),Au=Eu(1,"join"),Ou=i(function(n){return s(n.length,function(e,t){var r=Array.prototype.slice.call(arguments,0);return r[0]=t,r[1]=e,n.apply(this,r)})})(t(Mc)),Cu=bu(function(e,t){return du(xu(""),ku(Ou(e)),Au(""))(t)});const ju=nu($c,function(e,t,r,n){return r[n](e,t)},function(e,t,r){for(var n=r.next();!n.done;)t=e(t,n.value),n=r.next();return t});Nu.prototype["@@transducer/init"]=Vc,Nu.prototype["@@transducer/result"]=Kc,Nu.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))};var Pu=Nu;function Nu(e,t){this.xf=t,this.f=e}const Iu=t(Uc(["fantasy-land/map","map"],function(t){return function(e){return new Pu(t,e)}},function(r,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return s(n.length,function(){return r.call(this,n.apply(this,arguments))});case"[object Object]":return $c(function(e,t){return e[t]=r(n[t]),e},{},jc(n));default:return Rc(r,n)}})),Tu=t(function(t,l){return"function"==typeof l["fantasy-land/ap"]?l["fantasy-land/ap"](t):"function"==typeof t.ap?t.ap(l):"function"==typeof t?function(e){return t(e)(l(e))}:ju(function(e,t){for(var r=e,n=Iu(t,l),s=(r=r||[]).length,o=(n=n||[]).length,i=[],a=0;a<s;)i[i.length]=r[a],a+=1;for(a=0;a<o;)i[i.length]=n[a],a+=1;return i},[],t)}),Mu=t(function(e,t){var r=s(e,t);return s(e,function(){return $c(Tu,Iu(r,arguments[0]),Array.prototype.slice.call(arguments,1))})}),Ru=i(function(e){return Mu(e.length,e)}),Du=Ru(i(function(e){return!e})),r=i(function(e){return function(){return e}}),Lu=r(void 0),Fu=Tc(Lu()),Bu=Du(Fu),$u=t(function(e,t){if(e===t)return t;function r(e,t){if(t<e!=e<t)return e<t?t:e}var n=r(e,t);if(void 0!==n)return n;n=r(typeof e,typeof t);if(void 0!==n)return n===typeof e?e:t;var n=Xc(e),s=r(n,Xc(t));return void 0!==s&&s===n?e:t}),qu=t(function(e,t){return Iu(mu(e),t)}),Uu=i(function(r){return s(cu($u,0,qu("length",r)),function(){for(var e=0,t=r.length;e<t;){if(r[e].apply(this,arguments))return!0;e+=1}return!1})});function zu(r,e){switch(arguments.length){case 0:return zu;case 1:return function e(t){return 0===arguments.length?e:Sc(r,t)};default:return Sc(r,e)}}const Vu=zu;Tn=s(1,du(Pc,Vu("GeneratorFunction"))),I=s(1,du(Pc,Vu("AsyncFunction")));const Ku=Uu([du(Pc,Vu("Function")),Tn,I]),Wu=dc(function(e,t,r){return r.replace(e,t)}),Ju=s(1,du(Pc,Vu("RegExp"))),Hu=dc(function(e,t,r){return e(r)?t(r):r}),Gu=s(1,du(Pc,Vu("String"))),Yu=Hu(Gu,Wu(/[.*+?^${}()|[\]\\-]/g,"\\$&"));function Xu(e,t){if("string"!=typeof e&&!(e instanceof String))throw TypeError("`".concat(t,"` must be a string"))}T=s(3,function(e,t,r){var n=e,s=t;if(null==r||null==n||null==s)throw TypeError("Input values must not be `null` or `undefined`");Xu(r,"str"),Xu(t,"replaceValue");n=e;if(!("string"==typeof n||n instanceof String||n instanceof RegExp))throw TypeError("`searchValue` must be a string or an regexp");s=new RegExp(Ju(e)?e:Yu(e),"g");return Wu(s,t,r)}),qr=Eu(2,"replaceAll");const Qu=Ku(String.prototype.replaceAll)?qr:T,Zu=()=>vc(Qc(/^win/),["platform"],pc),ep=e=>{try{var t=new URL(e);return Cu(":",t.protocol)}catch{return}},tp=(du(ep,Bu),e=>{if(pc.browser)return!1;e=ep(e);return Fu(e)||"file"===e||/^[a-zA-Z]$/.test(e)}),rp=e=>{e=ep(e);return"http"===e||"https"===e},np=(e,t)=>{const r=[/%23/g,"#",/%24/g,"$",/%26/g,"&",/%2C/g,",",/%40/g,"@"],n=gu(!1,"keepFileProtocol",t),s=gu(Zu,"isWindows",t);let o=decodeURI(e);for(let e=0;e<r.length;e+=2)o=o.replace(r[e],r[e+1]);let i="file://"===o.substring(0,7).toLowerCase();return i&&(o="/"===o[7]?o.substring(8):o.substring(7),s()&&"/"===o[1]&&(o=o[0]+":"+o.substring(1)),o=n?"file:///"+o:(i=!1,s()?o:"/"+o)),s()&&!i&&(":\\"===(o=Qu("/","\\",o)).substring(1,3)&&(o=o[0].toUpperCase()+o.substring(1))),o},sp=e=>{var t=e.indexOf("#");return-1!==t?e.substring(t):"#"},E=e=>{var t=e.indexOf("#");let r=e;return r=0<=t?e.substring(0,t):r},op=()=>{if(pc.browser)return E(globalThis.location.href);var e=pc.cwd(),t=yu(e);return["/","\\"].includes(t)?e:e+(Zu()?"\\":"/")},ip=(e,t)=>{const r=new URL(t,new URL(e,"resolve://"));if("resolve:"!==r.protocol)return r.toString();{const{pathname:e,search:t,hash:n}=r;return e+t+n}},ap=e=>{if(tp(e)){var r=[/\?/g,"%3F",/#/g,"%23"];let t=np(e);Zu()&&(t=t.replace(/\\/g,"/")),t=encodeURI(t);for(let e=0;e<r.length;e+=2)t=t.replace(r[e],r[e+1]);return t}try{return new URL(e).toString()}catch{return encodeURI(decodeURI(e)).replace(/%5B/g,"[").replace(/%5D/g,"]")}},lp=e=>(tp(e)?np:decodeURI)(e),{fetch:cp,Response:up,Headers:pp,Request:hp,FormData:dp,File:fp,Blob:mp}=globalThis;void 0===globalThis.fetch&&(globalThis.fetch=cp),void 0===globalThis.Headers&&(globalThis.Headers=pp),void 0===globalThis.Request&&(globalThis.Request=hp),void 0===globalThis.Response&&(globalThis.Response=up),void 0===globalThis.FormData&&(globalThis.FormData=dp),void 0===globalThis.File&&(globalThis.File=fp),void 0===globalThis.Blob&&(globalThis.Blob=mp);var Tr=cI(36623),gp=cI.n(Tr);const yp="application/json, application/yaml",vp="https://swagger.io",bp=Object.freeze({url:"/"}),wp=["properties"],Ep=["properties"],xp=["definitions","parameters","responses","securityDefinitions","components/schemas","components/responses","components/parameters","components/securitySchemes"],Sp=["schema/example","items/example"];function _p(e){const t=e[e.length-1],r=e[e.length-2],n=e.join("/");return-1<wp.indexOf(t)&&-1===Ep.indexOf(r)||-1<xp.indexOf(n)||Sp.some(e=>-1<n.indexOf(e))}function kp(e,t){const[r,n]=e.split("#"),s=null!=t?t:"",o=null!=r?r:"";let i;if(rp(s))i=ip(s,o);else{const e=ip(vp,s),t=ip(e,o).replace(vp,"");i=o.startsWith("/")?t:t.substring(1)}return n?i+"#"+n:i}const Ap=/^([a-z]+:\/\/|\/\/)/i;class Op extends uc{}const Cp={},jp=new WeakMap,Pp=[e=>"paths"===e[0]&&"responses"===e[3]&&"examples"===e[5],e=>"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"example"===e[7],e=>"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9],e=>"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"example"===e[6],e=>"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8],e=>"paths"===e[0]&&"parameters"===e[2]&&"example"===e[4],e=>"paths"===e[0]&&"parameters"===e[3]&&"example"===e[5],e=>"paths"===e[0]&&"parameters"===e[2]&&"examples"===e[4]&&"value"===e[6],e=>"paths"===e[0]&&"parameters"===e[3]&&"examples"===e[5]&&"value"===e[7],e=>"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"example"===e[6],e=>"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8],e=>"paths"===e[0]&&"parameters"===e[3]&&"content"===e[4]&&"example"===e[7],e=>"paths"===e[0]&&"parameters"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9]],Np={key:"$ref",plugin:(n,s,o,i)=>{var t,a=i.getInstance(),l=o.slice(0,-1);if(!_p(l)&&(t=l,!Pp.some(e=>e(t)))){const u=i.getContext(o)["baseDoc"];if("string"!=typeof n)return new Op("$ref: must be a string (JSON-Ref)",{$ref:n,baseDoc:u,fullPath:o});const p=Dp(n),h=p[0],d=p[1]||"";let e,t,r;try{e=u||h?Mp(h,u):null}catch(s){return Rp(s,{pointer:d,$ref:n,basePath:e,fullPath:o})}if(function(e,t,r,n){let s=jp.get(n);s||(s={},jp.set(n,s));const o=0===(c=r).length?"":"/"+c.map(Up).join("/"),i=`${t||"<specmap-base>"}#`+e,a=o.replace(/allOf\/\d+\/?/g,""),l=n.contextTree.get([]).baseDoc;var c;if(t===l&&Vp(a,e))return 1;let u="";return r.some(e=>(u=u+"/"+Up(e),s[u]&&s[u].some(e=>Vp(e,i)||Vp(i,e))))||(s[a]=(s[a]||[]).concat(i),0)}(d,e,l,i)&&!a.useCircularStructures){const s=kp(n,e);return n===s?null:v.replace(o,s)}if(null==e?(r=$p(d),void 0===(t=i.get(r))&&(t=new Op("Could not resolve reference: "+n,{pointer:d,$ref:n,baseDoc:u,fullPath:o}))):t=null!=(t=Lp(e,d)).__value?t.__value:t.catch(e=>{throw Rp(e,{pointer:d,$ref:n,baseDoc:u,fullPath:o})}),t instanceof Error)return[v.remove(o),t];var c=kp(n,e),c=v.replace(l,t,{$$ref:c});if(e&&e!==u)return[c,v.context(l,{baseDoc:e})];try{if(!function(e,t){const n=[e];return t.path.reduce((e,t)=>(n.push(e[t]),e[t]),e),function t(r){return v.isObject(r)&&(0<=n.indexOf(r)||Object.keys(r).some(e=>t(r[e])))}(t.value)}(i.state,c)||a.useCircularStructures)return c}catch(n){return null}}}},Ip=Object.assign(Np,{docCache:Cp,absoluteify:Mp,clearCache:function(e){void 0!==e?delete Cp[e]:Object.keys(Cp).forEach(e=>{delete Cp[e]})},JSONRefError:Op,wrapError:Rp,getDoc:Fp,split:Dp,extractFromDoc:Lp,fetchJSON:function(e){return fetch(e,{headers:{Accept:yp},loadSpec:!0}).then(e=>e.text()).then(e=>ms.load(e))},extract:Bp,jsonPointerToArray:$p,unescapeJsonPointerToken:qp}),Tp=Ip;function Mp(e,t){if(Ap.test(e))return e;if(t)return ip(t,e);throw new Op(`Tried to resolve a relative URL, without having a basePath. path: '${e}' basePath: '${t}'`)}function Rp(e,t){var r=e&&e.response&&e.response.body?e.response.body.code+" "+e.response.body.message:e.message;return new Op("Could not resolve reference: "+r,{...t,cause:e})}function Dp(e){return(e+"").split("#")}function Lp(e,t){var r=Cp[e];if(r&&!v.isPromise(r))try{const e=Bp(t,r);return Object.assign(Promise.resolve(e),{__value:e})}catch(e){return Promise.reject(e)}return Fp(e).then(e=>Bp(t,e))}function Fp(t){var e=Cp[t];return e?v.isPromise(e)?e:Promise.resolve(e):(Cp[t]=Ip.fetchJSON(t).then(e=>Cp[t]=e),Cp[t])}function Bp(e,t){var r=$p(e);if(r.length<1)return t;t=v.getIn(t,r);if(void 0===t)throw new Op(`Could not resolve pointer: ${e} does not exist in document`,{pointer:e});return t}function $p(e){if("string"!=typeof e)throw new TypeError("Expected a string, got a "+typeof e);return""===(e="/"===e[0]?e.substr(1):e)?[]:e.split("/").map(qp)}function qp(e){return"string"!=typeof e?e:new URLSearchParams("="+e.replace(/~1/g,"/").replace(/~0/g,"~")).get("")}function Up(e){return new URLSearchParams([["",e.replace(/~/g,"~0").replace(/\//g,"~1")]]).toString().slice(1)}const zp=e=>!e||"/"===e||"#"===e;function Vp(e,t){if(zp(t))return!0;var r=e.charAt(t.length),n=t.slice(-1);return 0===e.indexOf(t)&&(!r||"/"===r||"#"===r)&&"#"!==n}class Kp{constructor(e){this.root=Wp(e||{})}set(e,t){var r=this.getParent(e,!0);if(r){const n=e[e.length-1],s=r["children"];s[n]?Jp(s[n],t,r):s[n]=Wp(t,r)}else Jp(this.root,t,null)}get(t){if((t=t||[]).length<1)return this.root.value;let r,n,s=this.root;for(let e=0;e<t.length&&(n=t[e],(r=s.children)[n]);e+=1)s=r[n];return s&&s.protoValue}getParent(e,n){return!e||e.length<1?null:e.length<2?this.root:e.slice(0,-1).reduce((e,t)=>{if(!e)return e;const r=e["children"];return!r[t]&&n&&(r[t]=Wp(null,e)),r[t]},this.root)}}function Wp(e,t){return Jp({children:{}},e,t)}function Jp(r,e,t){return r.value=e||{},r.protoValue=t?{...t.protoValue,...r.value}:r.value,Object.keys(r.children).forEach(e=>{var t=r.children[e];r.children[e]=Jp(t,t.value,r)}),r}const Hp=()=>{};class Gp{static getPluginName(e){return e.pluginName}static getPatchesOfType(e,t){return e.filter(t)}constructor(e){Object.assign(this,{spec:"",debugLevel:"info",plugins:[],pluginHistory:{},errors:[],mutations:[],promisedPatches:[],state:{},patches:[],context:{},contextTree:new Kp,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:Object.assign(Object.create(this),v,{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(v.isFunction),this.patches.push(v.add([],this.spec)),this.patches.push(v.context([],this.context)),this.updatePatches(this.patches)}debug(e,...t){this.debugLevel===e&&console.log(...t)}verbose(e,...t){"verbose"===this.debugLevel&&console.log(`[${e}] `,...t)}wrapPlugin(e,t){const g=this["pathDiscriminator"];let r,n=null;return e[this.pluginProp]?(n=e,r=e[this.pluginProp]):v.isFunction(e)?r=e:v.isObject(e)&&(r=(y=e,function*(e,d){const f={};for(const[y,g]of e.filter(v.isAdditiveMutation).entries()){if(!(y<3e3))return;yield*m(g.value,g.path,g)}function*m(e,t,r){if(v.isObject(e)){var n=t.length-1,s=t[n],o=t.indexOf("properties"),i="properties"===s&&n===o,a=d.allowMetaPatches&&f[e.$$ref];for(const h of Object.keys(e)){var l=e[h],c=t.concat(h),u=v.isObject(l),p=e.$$ref;if(a||u&&(d.allowMetaPatches&&p&&(f[p]=!0),yield*m(l,c,r)),!i&&h===y.key){const e=((e,r)=>!Array.isArray(e)||e.every((e,t)=>e===r[t]))(g,t);g&&!e||(yield y.plugin(l,h,c,d,r))}}}else y.key===t[t.length-1]&&(yield y.plugin(e,y.key,t,d))}})),Object.assign(r.bind(n),{pluginName:e.name||t,isGenerator:v.isGenerator(r)});var y}nextPlugin(){return this.wrappedPlugins.find(e=>0<this.getMutationsForPlugin(e).length)}nextPromisedPatch(){if(0<this.promisedPatches.length)return Promise.race(this.promisedPatches.map(e=>e.value))}getPluginHistory(e){e=this.constructor.getPluginName(e);return this.pluginHistory[e]||[]}getPluginRunCount(e){return this.getPluginHistory(e).length}getPluginHistoryTip(e){e=this.getPluginHistory(e);return e&&e[e.length-1]||{}}getPluginMutationIndex(e){e=this.getPluginHistoryTip(e).mutationIndex;return"number"!=typeof e?-1:e}updatePluginHistory(e,t){e=this.constructor.getPluginName(e);this.pluginHistory[e]=this.pluginHistory[e]||[],this.pluginHistory[e].push(t)}updatePatches(e){v.normalizeArray(e).forEach(e=>{if(e instanceof Error)this.errors.push(e);else try{if(v.isObject(e))return this.showDebug&&this.allPatches.push(e),v.isPromise(e.value)?(this.promisedPatches.push(e),void this.promisedPatchThen(e)):void(v.isContextPatch(e)?this.setContext(e.path,e.value):v.isMutation(e)&&this.updateMutations(e));this.debug("updatePatches","Got a non-object patch",e)}catch(e){console.error(e),this.errors.push(e)}})}updateMutations(e){"object"==typeof e.value&&!Array.isArray(e.value)&&this.allowMetaPatches&&(e.value={...e.value});var t=v.applyPatch(this.state,e,{allowMetaPatches:this.allowMetaPatches});t&&(this.mutations.push(e),this.state=t)}removePromisedPatch(e){e=this.promisedPatches.indexOf(e);e<0?this.debug("Tried to remove a promisedPatch that isn't there!"):this.promisedPatches.splice(e,1)}promisedPatchThen(t){return t.value=t.value.then(e=>{e={...t,value:e};this.removePromisedPatch(t),this.updatePatches(e)}).catch(e=>{this.removePromisedPatch(t),this.updatePatches(e)}),t.value}getMutations(e,t){return"number"!=typeof t&&(t=this.mutations.length),this.mutations.slice(e=e||0,t)}getCurrentMutations(){return this.getMutationsForPlugin(this.getCurrentPlugin())}getMutationsForPlugin(e){e=this.getPluginMutationIndex(e);return this.getMutations(e+1)}getCurrentPlugin(){return this.currentPlugin}getLib(){return this.libMethods}_get(e){return v.getIn(this.state,e)}_getContext(e){return this.contextTree.get(e)}setContext(e,t){return this.contextTree.set(e,t)}_hasRun(e){return this.getPluginRunCount(this.getCurrentPlugin())>(e||0)}dispatch(){const t=this,r=this.nextPlugin();if(!r){const t=this.nextPromisedPatch();if(t)return t.then(()=>this.dispatch()).catch(()=>this.dispatch());const r={spec:this.state,errors:this.errors};return this.showDebug&&(r.patches=this.allPatches),Promise.resolve(r)}if(t.pluginCount=t.pluginCount||new WeakMap,t.pluginCount.set(r,(t.pluginCount.get(r)||0)+1),100<t.pluginCount[r])return Promise.resolve({spec:t.state,errors:t.errors.concat(new Error("We've reached a hard limit of 100 plugin runs"))});if(r!==this.currentPlugin&&this.promisedPatches.length){const t=this.promisedPatches.map(e=>e.value);return Promise.all(t.map(e=>e.then(Hp,Hp))).then(()=>this.dispatch())}{t.currentPlugin=r;const e=t.getCurrentMutations(),s=t.mutations.length-1;try{if(r.isGenerator)for(const s of r(e,t.getLib()))n(s);else n(r(e,t.getLib()))}catch(e){console.error(e),n([Object.assign(Object.create(e),{plugin:r})])}finally{t.updatePluginHistory(r,{mutationIndex:s})}return t.dispatch()}function n(e){e&&(e=v.fullyNormalizeArray(e),t.updatePatches(e,r))}}}const Yp={refs:Tp,allOf:{key:"allOf",plugin:(e,t,n,s,o)=>{if(!o.meta||!o.meta.$$ref){const i=n.slice(0,-1);if(!_p(i)){if(!Array.isArray(e)){const e=new TypeError("allOf must be an array");return e.fullPath=n,e}let r=!1,t=o.value;if(i.forEach(e=>{t=t&&t[e]}),t={...t},0!==Object.keys(t).length){delete t.allOf;const a=[];return a.push(s.replace(i,{})),e.forEach((e,t)=>{if(!s.isObject(e)){if(r)return null;r=!0;const e=new TypeError("Elements in allOf must be objects");return e.fullPath=n,a.push(e)}a.push(s.mergeDeep(i,e));e=function(e,r,{specmap:n,getBaseUrlForNodePath:s,targetKeys:o=["$ref","$$ref"]}){const i=[];return gp()(e).forEach(function(){if(o.includes(this.key)&&"string"==typeof this.node){const e=this.path,o=r.concat(this.path),t=kp(this.node,s(e));i.push(n.replace(o,t))}}),i}(e,n.slice(0,-1),{getBaseUrlForNodePath:e=>s.getContext([...n,t,...e]).baseDoc,specmap:s});a.push(...e)}),t.example&&a.push(s.remove([].concat(i,"example"))),a.push(s.mergeDeep(i,t)),t.$$ref||a.push(s.remove([].concat(i,"$$ref"))),a}}}}},parameters:{key:"parameters",plugin:(t,r,n,s)=>{if(Array.isArray(t)&&t.length){const r=Object.assign([],t),e=n.slice(0,-1),i={...v.getIn(s.spec,e)};for(let e=0;e<t.length;e+=1){var o=t[e];try{r[e].default=s.parameterMacro(i,o)}catch(t){const r=new Error(t);return r.fullPath=n,r}}return v.replace(n,r)}return v.replace(n,t)}},properties:{key:"properties",plugin:(e,t,r,n)=>{const s={...e};for(const t in e)try{s[t].default=n.modelPropertyMacro(s[t])}catch(e){const t=new Error(e);return t.fullPath=r,t}return v.replace(r,s)}}},Xp=e=>e.replace(/\W/gi,"_");function Qp(t,r,e="",{v2OperationIdCompatibilityMode:n}={}){if(t&&"object"==typeof t)if((t.operationId||"").replace(/\s/g,"").length)return Xp(t.operationId);else{var[t,r,e]=[r,e,{v2OperationIdCompatibilityMode:n}["v2OperationIdCompatibilityMode"]];if(e){let e=(r.toLowerCase()+"_"+t).replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return(e=e||t.substring(1)+"_"+r).replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return""+r.toLowerCase()+Xp(t);return}return null}function Zp(e){const t=e["spec"],r=t["paths"],n={};if(!r||t.$$normalized)return e;for(const e in r){var s=r[e];if(null!=s&&["object","function"].includes(typeof s)){var o=s.parameters;for(const r in s){const i=s[r];if(null!=i&&["object","function"].includes(typeof i)){const a=Qp(i,e,r);if(a){n[a]?n[a].push(i):n[a]=[i];const e=n[a];if(1<e.length)e.forEach((e,t)=>{e.__originalOperationId=e.__originalOperationId||e.operationId,e.operationId=""+a+(t+1)});else if(void 0!==i.operationId){const t=e[0];t.__originalOperationId=t.__originalOperationId||i.operationId,t.operationId=a}}if("parameters"!==r){const e=[],r={};for(const n in t)"produces"!==n&&"consumes"!==n&&"security"!==n||(r[n]=t[n],e.push(r));if(o&&(r.parameters=o,e.push(r)),e.length)for(const t of e)for(const e in t)if(i[e]){if("parameters"===e)for(const r of t[e])i[e].some(e=>e.name&&e.name===r.name||e.$ref&&e.$ref===r.$ref||e.$$ref&&e.$$ref===r.$$ref||e===r)||i[e].push(r)}else i[e]=t[e]}}}}}return t.$$normalized=!0,e}function eh(t,e={}){const{requestInterceptor:r,responseInterceptor:n}=e,s=t.withCredentials?"include":"same-origin";return e=>t({url:e,loadSpec:!0,requestInterceptor:r,responseInterceptor:n,headers:{Accept:yp},credentials:s}).then(e=>e.body)}var Cr=cI(55373),th=cI.n(Cr);function rh(e,t){return(t=t||"undefined"==typeof navigator?t:navigator)&&"ReactNative"===t.product?!(!e||"object"!=typeof e||"string"!=typeof e.uri):"undefined"!=typeof File&&e instanceof File||"undefined"!=typeof Blob&&e instanceof Blob||!!ArrayBuffer.isView(e)||null!==e&&"object"==typeof e&&"function"==typeof e.pipe}function nh(e,t){return Array.isArray(e)&&e.some(e=>rh(e,t))}class sh extends File{constructor(e,t="",r={}){super([e],t,r),this.data=e}valueOf(){return this.data}toString(){return this.valueOf()}}const oh=e=>-1<":/?#[]@!$&'()*+,;=".indexOf(e),ih=e=>/^[a-z0-9\-._~]+$/i.test(e);function ah(e,r="reserved"){return[...e].map(e=>{if(ih(e))return e;if(oh(e)&&"unsafe"===r)return e;const t=new TextEncoder;return Array.from(t.encode(e)).map(e=>("0"+e.toString(16).toUpperCase()).slice(-2)).map(e=>"%"+e).join("")}).join("")}function lh(e){var t,r,n=e["value"];if(!Array.isArray(n)){if("object"!=typeof n)return{key:n,value:t,style:c,escape:r}=[e][0],"simple"===c?ch(t,r):"label"===c?"."+ch(t,r):"matrix"===c?`;${n}=`+ch(t,r):"form"===c||"deepObject"===c?ch(t,r):void 0;{var{key:s,value:o,style:n,explode:i,escape:a}=[e][0];const d=Object.keys(o);return"simple"===n?d.reduce((e,t)=>{var r=ch(o[t],a);return(e?e+",":"")+t+(i?"=":",")+r},""):"label"===n?d.reduce((e,t)=>{var r=ch(o[t],a);return(e?e+".":".")+t+(i?"=":".")+r},""):"matrix"===n&&i?d.reduce((e,t)=>(e?e+";":";")+t+"="+ch(o[t],a),""):"matrix"===n?d.reduce((e,t)=>{var r=ch(o[t],a);return(e?e+",":`;${s}=`)+t+","+r},""):"form"===n?d.reduce((e,t)=>{var r=ch(o[t],a);return(e?e+(i?"&":","):"")+t+(i?"=":",")+r},""):void 0}}var{key:l,value:c,style:u,explode:p,escape:h}=[e][0];if("simple"===u)return c.map(e=>ch(e,h)).join(",");if("label"===u)return"."+c.map(e=>ch(e,h)).join(".");if("matrix"===u)return c.map(e=>ch(e,h)).reduce((e,t)=>!e||p?`${e||""};${l}=`+t:e+","+t,"");if("form"===u){const u=p?`&${l}=`:",";return c.map(e=>ch(e,h)).join(u)}if("spaceDelimited"===u){const u=p?l+"=":"";return c.map(e=>ch(e,h)).join(" "+u)}if("pipeDelimited"===u){const u=p?l+"=":"";return c.map(e=>ch(e,h)).join("|"+u)}}function ch(e,t=!1){return Array.isArray(e)||null!==e&&"object"==typeof e?e=JSON.stringify(e):"number"!=typeof e&&"boolean"!=typeof e||(e=String(e)),t&&0<e.length?ah(e,t):e}const uh={form:",",spaceDelimited:"%20",pipeDelimited:"|"},ph={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function hh(e,t,r=!1){const{collectionFormat:n,allowEmptyValue:s,serializationOption:o,encoding:i}=t,a="object"!=typeof t||Array.isArray(t)?t:t.value,l=r?e=>e.toString():e=>encodeURIComponent(e),c=l(e);if(void 0===a&&s)return[[c,""]];if(rh(a)||nh(a))return[[c,a]];if(o)return dh(e,a,r,o);if(i){if([typeof i.style,typeof i.explode,typeof i.allowReserved].some(e=>"undefined"!==e)){const{style:t,explode:n,allowReserved:s}=i;return dh(e,a,r,{style:t,explode:n,allowReserved:s})}if("string"!=typeof i.contentType)return"object"!=typeof a?[[c,l(a)]]:Array.isArray(a)&&a.every(e=>"object"!=typeof e)?[[c,a.map(l).join(",")]]:[[c,l(JSON.stringify(a))]];{if(i.contentType.startsWith("application/json")){const e=l("string"==typeof a?a:JSON.stringify(a));return[[c,new sh(e,"blob",{type:i.contentType})]]}const e=l(String(a));return[[c,new sh(e,"blob",{type:i.contentType})]]}}return"object"!=typeof a?[[c,l(a)]]:Array.isArray(a)?"multi"===n?[[c,a.map(l)]]:[[c,a.map(l).join(ph[n||"csv"])]]:[[c,""]]}function dh(t,r,e,n){const s=n.style||"form",o=void 0===n.explode?"form"===s:n.explode,i=!e&&(n&&n.allowReserved?"unsafe":"reserved"),a=e=>ch(e,i),l=e?e=>e:e=>a(e);return"object"!=typeof r?[[l(t),a(r)]]:Array.isArray(r)?o?[[l(t),r.map(a)]]:[[l(t),r.map(a).join(uh[s])]]:"deepObject"===s?Object.keys(r).map(e=>[l(t+`[${e}]`),a(r[e])]):o?Object.keys(r).map(e=>[l(e),a(r[e])]):[[l(t),Object.keys(r).map(e=>[l(e)+","+a(r[e])]).join(",")]]}function fh(s){var e=Object.keys(s).reduce((e,t)=>{for(var[r,n]of hh(t,s[t]))e[r]=n instanceof sh?n.valueOf():n;return e},{});return th().stringify(e,{encode:!1,indices:!1})||""}function mh(t={}){const{url:r="",query:n,form:s}=t;if(s){const r=Object.keys(s).some(e=>{e=s[e].value;return rh(e)||nh(e)}),n=t.headers["content-type"]||t.headers["Content-Type"];if(r||/multipart\/form-data/i.test(n)){o=t.form;const r=Object.entries(o).reduce((e,[t,r])=>{for(var[n,s]of hh(t,r,!0))if(Array.isArray(s))for(const t of s)if(ArrayBuffer.isView(t)){const r=new Blob([t]);e.append(n,r)}else e.append(n,t);else if(ArrayBuffer.isView(s)){const t=new Blob([s]);e.append(n,t)}else e.append(n,s);return e},new FormData);t.formdata=r,t.body=r}else t.body=fh(s);delete t.form}if(n){const[s,i]=r.split("?");let e="";if(i){const t=th().parse(i);Object.keys(n).forEach(e=>delete t[e]),e=th().stringify(t,{encode:!0})}var o=(e=>{e=e.filter(e=>e).join("&");return e?"?"+e:""})([e,fh(n)]);t.url=s+o,delete t.query}return t}const gh=(e="")=>/(json|xml|yaml|text)\b/.test(e);function yh(e,t,{loadSpec:r=!1}={}){const s={ok:e.ok,url:e.url||t,status:e.status,statusText:e.statusText,headers:([t={}]=[e.headers],"function"!=typeof t.entries?{}:Array.from(t.entries()).reduce((e,[t,r])=>(e[t]=function(e){return e.includes(", ")?e.split(", "):e}(r),e),{}))},o=s.headers["content-type"],i=r||gh(o);return(i?e.text:e.blob||e.buffer).call(e).then(e=>{if(s.text=e,s.data=e,i)try{r=e;var t=(n=o)&&(0===n.indexOf("application/json")||0<n.indexOf("+json"))?JSON.parse(r):ms.load(r);s.body=t,s.obj=t}catch(e){s.parseError=e}var r,n;return s})}async function vh(e,r={}){"object"==typeof e&&(e=(r=e).url),r.headers=r.headers||{},(r=mh(r)).headers&&Object.keys(r.headers).forEach(e=>{const t=r.headers[e];"string"==typeof t&&(r.headers[e]=t.replace(/\n+/g," "))});var t=(r=r.requestInterceptor?await r.requestInterceptor(r)||r:r).headers["content-type"]||r.headers["Content-Type"];let n;/multipart\/form-data/i.test(t)&&(delete r.headers["content-type"],delete r.headers["Content-Type"]);try{n=await yh(n=await(r.userFetch||fetch)(r.url,r),e,r),r.responseInterceptor&&(n=await r.responseInterceptor(n)||n)}catch(e){if(!n)throw e;const r=new Error(n.statusText||"response status is "+n.status);throw r.status=n.status,r.statusCode=n.status,r.responseError=e,r}if(n.ok)return n;{const e=new Error(n.statusText||"response status is "+n.status);throw e.status=n.status,e.statusCode=n.status,e.response=n,e}}const bh=e=>{var{baseDoc:e,url:t}=e,t=null!=(e=null!=e?e:t)?e:"";return"string"==typeof(null==(e=globalThis.document)?void 0:e.baseURI)?String(new URL(t,globalThis.document.baseURI)):t},wh=e=>{var{fetch:e,http:t}=e;return e||t||vh};async function Eh(e){const{spec:t,mode:r,allowMetaPatches:n=!0,pathDiscriminator:s,modelPropertyMacro:o,parameterMacro:i,requestInterceptor:a,responseInterceptor:l,skipNormalization:c,useCircularStructures:u}=e,p=bh(e),h=wh(e);{e=t,p&&(Yp.refs.docCache[p]=e),Yp.refs.fetchJSON=eh(h,{requestInterceptor:a,responseInterceptor:l});const d=[Yp.refs];return"function"==typeof i&&d.push(Yp.parameters),"function"==typeof o&&d.push(Yp.properties),"strict"!==r&&d.push(Yp.allOf),e={spec:e,context:{baseDoc:p},plugins:d,allowMetaPatches:n,pathDiscriminator:s,parameterMacro:i,modelPropertyMacro:o,useCircularStructures:u},new Gp(e).dispatch().then(c?async e=>e:Zp)}}function xh(){return!0}function Sh(){return!1}const _h={name:"generic",match:()=>!0,normalize({spec:e}){e=Zp({spec:e}).spec;return e},resolve:async e=>Eh(e)},kh=_h,Ah=e=>{try{var t=e["openapi"];return"string"==typeof t&&/^3\.0\.([0123])(?:-rc[012])?$/.test(t)}catch{return!1}},Oh=e=>{try{var t=e["openapi"];return"string"==typeof t&&/^3\.1\.(?:[1-9]\d*|0)$/.test(t)}catch{return!1}},Ch=e=>Ah(e)||Oh(e),jh={name:"openapi-2",match:({spec:e})=>{try{var t=e["swagger"];return"2.0"===t}catch{return!1}},normalize({spec:e}){e=Zp({spec:e}).spec;return e},resolve:async e=>async function(e){return Eh(e)}(e)},Ph=jh,Nh={name:"openapi-3-0",match:({spec:e})=>Ah(e),normalize({spec:e}){e=Zp({spec:e}).spec;return e},resolve:async e=>async function(e){return Eh(e)}(e)},Ih=Nh,Th=(e,t,r)=>{const n=e[t];if(null!=n){if(!r&&"function"==typeof n)return n;const e=r?n.leave:n.enter;if("function"==typeof e)return e}else{const n=r?e.leave:e.enter;if(null!=n){if("function"==typeof n)return n;const e=n[t];if("function"==typeof e)return e}}return null},A={},Mh=e=>null==e?void 0:e.type,Rh=e=>"string"==typeof Mh(e),Dh=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),Lh=(c,{visitFnGetter:u=Th,nodeTypeGetter:p=Mh,breakSymbol:h=A,deleteNodeSymbol:d=null,skipVisitingNodeSymbol:f=!1,exposeEdits:m=!1}={})=>{const g=Symbol("skip"),y=new Array(c.length).fill(g);return{enter(e,t,r,n,s,o){let i=e,a=!1;var l={...o,replaceWith(e,t){o.replaceWith(e,t),i=e}};for(let e=0;e<c.length;e+=1)if(y[e]===g){const g=u(c[e],p(i),!1);if("function"==typeof g){const u=g.call(c[e],i,t,r,n,s,l);if("function"==typeof(null==u?void 0:u.then))throw new uc("Async visitor not supported in sync mode",{visitor:c[e],visitFn:g});if(u===f)y[e]=i;else if(u===h)y[e]=h;else{if(u===d)return u;if(void 0!==u){if(!m)return u;i=u,a=!0}}}}return a?i:void 0},leave(e,t,r,n,s,o){let i=e;var a={...o,replaceWith(e,t){o.replaceWith(e,t),i=e}};for(let e=0;e<c.length;e+=1)if(y[e]===g){const g=u(c[e],p(i),!0);if("function"==typeof g){const u=g.call(c[e],i,t,r,n,s,a);if("function"==typeof(null==u?void 0:u.then))throw new uc("Async visitor not supported in sync mode",{visitor:c[e],visitFn:g});if(u===h)y[e]=h;else if(void 0!==u&&u!==f)return u}}else y[e]===i&&(y[e]=g)}}},Fh=(Lh[Symbol.for("nodejs.util.promisify.custom")]=(c,{visitFnGetter:u=Th,nodeTypeGetter:p=Mh,breakSymbol:h=A,deleteNodeSymbol:d=null,skipVisitingNodeSymbol:f=!1,exposeEdits:m=!1}={})=>{const g=Symbol("skip"),y=new Array(c.length).fill(g);return{async enter(e,t,r,n,s,o){let i=e,a=!1;var l={...o,replaceWith(e,t){o.replaceWith(e,t),i=e}};for(let e=0;e<c.length;e+=1)if(y[e]===g){const g=u(c[e],p(i),!1);if("function"==typeof g){const u=await g.call(c[e],i,t,r,n,s,l);if(u===f)y[e]=i;else if(u===h)y[e]=h;else{if(u===d)return u;if(void 0!==u){if(!m)return u;i=u,a=!0}}}}return a?i:void 0},async leave(e,t,r,n,s,o){let i=e;var a={...o,replaceWith(e,t){o.replaceWith(e,t),i=e}};for(let e=0;e<c.length;e+=1)if(y[e]===g){const g=u(c[e],p(i),!0);if("function"==typeof g){const u=await g.call(c[e],i,t,r,n,s,a);if(u===h)y[e]=h;else if(void 0!==u&&u!==f)return u}}else y[e]===i&&(y[e]=g)}}},(n,t,{keyMap:s=null,state:o={},breakSymbol:i=A,deleteNodeSymbol:a=null,skipVisitingNodeSymbol:l=!1,visitFnGetter:c=Th,nodeTypeGetter:u=Mh,nodePredicate:p=Rh,nodeCloneFn:h=Dh,detectCycles:d=!0}={})=>{var f=s||{};let m,g,y=Array.isArray(n),v=[n],b=-1,w=[],E=n;const x=[],S=[];do{const n=(b+=1)===v.length;let r;var _,k=n&&0!==w.length;if(n){if(r=0===S.length?void 0:x.pop(),E=g,g=S.pop(),k)if(y){E=E.slice();let e=0;for(const[t,s]of w){const o=t-e;s===a?(E.splice(o,1),e+=1):E[o]=s}}else{E=h(E);for(const[n,t]of w)E[n]=t}b=m.index,v=m.keys,w=m.edits,y=m.inArray,m=m.prev}else if(g!==a&&void 0!==g){if(r=y?b:v[b],(E=g[r])===a||void 0===E)continue;x.push(r)}let e;if(!Array.isArray(E)){if(!p(E))throw new uc("Invalid AST Node: "+String(E),{node:E});if(d&&S.includes(E)){x.pop();continue}const a=c(t,u(E),n);if(a){for(const[n,s]of Object.entries(o))t[n]=s;const i={replaceWith(e,t){"function"==typeof t?t(e,E,r,g,x,S):g&&(g[r]=e),n||(E=e)}};e=a.call(t,E,r,g,x,S,i)}if("function"==typeof(null==(_=e)?void 0:_.then))throw new uc("Async visitor not supported in sync mode",{visitor:t,visitFn:a});if(e===i)break;if(e===l){if(!n){x.pop();continue}}else if(void 0!==e&&(w.push([r,e]),!n)){if(!p(e)){x.pop();continue}E=e}}void 0===e&&k&&w.push([r,E]),n||(m={inArray:y,index:b,keys:v,edits:w,prev:m},y=Array.isArray(E),v=y?E:null!=(_=f[u(E)])?_:[],b=-1,w=[],g!==a&&void 0!==g&&S.push(g),g=E)}while(void 0!==m);return 0!==w.length?w[w.length-1][1]:n});Fh[Symbol.for("nodejs.util.promisify.custom")]=async(n,t,{keyMap:s=null,state:o={},breakSymbol:i=A,deleteNodeSymbol:a=null,skipVisitingNodeSymbol:l=!1,visitFnGetter:c=Th,nodeTypeGetter:u=Mh,nodePredicate:p=Rh,nodeCloneFn:h=Dh,detectCycles:d=!0}={})=>{var f=s||{};let m,g,y=Array.isArray(n),v=[n],b=-1,w=[],E=n;const x=[],S=[];do{const n=(b+=1)===v.length;let r;var _=n&&0!==w.length;if(n){if(r=0===S.length?void 0:x.pop(),E=g,g=S.pop(),_)if(y){E=E.slice();let e=0;for(const[t,s]of w){const o=t-e;s===a?(E.splice(o,1),e+=1):E[o]=s}}else{E=h(E);for(const[n,t]of w)E[n]=t}b=m.index,v=m.keys,w=m.edits,y=m.inArray,m=m.prev}else if(g!==a&&void 0!==g){if(r=y?b:v[b],(E=g[r])===a||void 0===E)continue;x.push(r)}let e;if(!Array.isArray(E)){if(!p(E))throw new uc("Invalid AST Node: "+String(E),{node:E});if(d&&S.includes(E)){x.pop();continue}const a=c(t,u(E),n);if(a){for(const[n,s]of Object.entries(o))t[n]=s;const i={replaceWith(e,t){"function"==typeof t?t(e,E,r,g,x,S):g&&(g[r]=e),n||(E=e)}};e=await a.call(t,E,r,g,x,S,i)}if(e===i)break;if(e===l){if(!n){x.pop();continue}}else if(void 0!==e&&(w.push([r,e]),!n)){if(!p(e)){x.pop();continue}E=e}}void 0===e&&_&&w.push([r,E]),n||(m={inArray:y,index:b,keys:v,edits:w,prev:m},y=Array.isArray(E),v=y?E:null!=(_=f[u(E)])?_:[],b=-1,w=[],g!==a&&void 0!==g&&S.push(g),g=E)}while(void 0!==m);return 0!==w.length?w[w.length-1][1]:n};var x=cI(34035);function Bh(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}_d.prototype["@@transducer/init"]=Vc,_d.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},_d.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=Bh(this.xf["@@transducer/step"](e,!1))),e};var $h,qh,Uh,zh,Vh,Kh,Wh,Jh,Hh,Gh,Yh,Xh,Qh,Zh,ed,td,rd,nd,sd,od,id,ad,ld,cd,ud,pd,hd,dd,fd,md,gd,yd,vd,bd,wd,Ed,xd,Sd=_d;function _d(e,t){this.xf=t,this.f=e,this.all=!0}const kd=t(Uc(["all"],function(t){return function(e){return new Sd(t,e)}},function(e,t){for(var r=0;r<t.length;){if(!e(t[r]))return!1;r+=1}return!0}));class Ad extends x.Om{constructor(e,t,r){super(e,t,r),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const Od=Ad;class Cd extends x.Om{constructor(e,t,r){super(e,t,r),this.element="comment"}}const jd=Cd;class Pd extends x.wE{constructor(e,t,r){super(e,t,r),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=>"annotation"===e.element)}get warnings(){return this.children.filter(e=>"annotation"===e.element&&e.classes.contains("warning"))}get errors(){return this.children.filter(e=>"annotation"===e.element&&e.classes.contains("error"))}get isEmpty(){return this.children.reject(e=>"annotation"===e.element).isEmpty}replaceResult(e){const t=this["result"];if(Fu(t))return!1;var r=this.content.findIndex(e=>e===t);return-1!==r&&(this.content[r]=e,!0)}}const Nd=Pd;class Id extends x.wE{constructor(e,t,r){super(e,t,r),this.element="sourceMap"}get positionStart(){return this.children.filter(e=>e.classes.contains("position")).get(0)}get positionEnd(){return this.children.filter(e=>e.classes.contains("position")).get(1)}set position(e){if(void 0!==e){const t=new x.wE([e.start.row,e.start.column,e.start.char]),r=new x.wE([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),r.classes.push("position"),this.push(t).push(r)}}}const Td=Id,Md=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],Rd=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Dd=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&"function"==typeof t.primitive&&t.primitive()===e,Ld=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof x.wE)&&t.classes.includes(e),Fd=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,e=e=>e({hasMethod:Md,hasBasicElementProps:Rd,primitiveEq:Dd,isElementType:Fd,hasClass:Ld}),Bd=e(({hasBasicElementProps:t,primitiveEq:r})=>e=>e instanceof x.Hg||t(e)&&r(void 0,e)),S=e(({hasBasicElementProps:t,primitiveEq:r})=>e=>e instanceof x.Om||t(e)&&r("string",e)),$d=e(({hasBasicElementProps:t,primitiveEq:r})=>e=>e instanceof x.kT||t(e)&&r("number",e)),qd=e(({hasBasicElementProps:t,primitiveEq:r})=>e=>e instanceof x.Os||t(e)&&r("null",e)),Ud=e(({hasBasicElementProps:t,primitiveEq:r})=>e=>e instanceof x.bd||t(e)&&r("boolean",e)),w=e(({hasBasicElementProps:t,primitiveEq:r,hasMethod:n})=>e=>e instanceof x.Sh||t(e)&&r("object",e)&&n("keys",e)&&n("values",e)&&n("items",e)),zd=e(({hasBasicElementProps:t,primitiveEq:r,hasMethod:n})=>e=>e instanceof x.wE&&!(e instanceof x.Sh)||t(e)&&r("array",e)&&n("push",e)&&n("unshift",e)&&n("map",e)&&n("reduce",e)),Vd=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof x.Pr||t(e)&&r("member",e)&&n(void 0,e)),Kd=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof x.Ft||t(e)&&r("link",e)&&n(void 0,e)),Wd=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof x.sI||t(e)&&r("ref",e)&&n(void 0,e)),Jd=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof Od||t(e)&&r("annotation",e)&&n("array",e)),Hd=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof jd||t(e)&&r("comment",e)&&n("string",e)),Gd=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof Nd||t(e)&&r("parseResult",e)&&n("array",e)),Yd=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof Td||t(e)&&r("sourceMap",e)&&n("array",e)),Xd=e=>Fd("object",e)||Fd("array",e)||Fd("boolean",e)||Fd("number",e)||Fd("string",e)||Fd("null",e)||Fd("member",e),Qd=e=>Yd(e.meta.get("sourceMap")),Zd=(e,t)=>{if(0===e.length)return!0;const r=t.attributes.get("symbols");return!!zd(r)&&kd(Ou(r.toValue()),e)},ef=(e,t)=>0===e.length||kd(Ou(t.classes.toValue()),e);Ar=class extends uc{value;constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const tf=class extends Ar{},rf=class extends Ar{},_=(e,t={})=>{const{visited:r=new WeakMap}=t,n={...t,visited:r};if(r.has(e))return r.get(e);if(e instanceof x.KeyValuePair){const{key:t,value:s}=e,o=Bd(t)?_(t,n):t,i=Bd(s)?_(s,n):s,a=new x.KeyValuePair(o,i);return r.set(e,a),a}if(e instanceof x.ot){const l=e=>_(e,n),t=[...e].map(l),c=new x.ot(t);return r.set(e,c),c}if(e instanceof x.G6){const u=e=>_(e,n),t=[...e].map(u),p=new x.G6(t);return r.set(e,p),p}if(Bd(e)){const t=of(e);return r.set(e,t),e.content?Bd(e.content)||e.content instanceof x.KeyValuePair?t.content=_(e.content,n):Array.isArray(e.content)?t.content=e.content.map(e=>_(e,n)):t.content=e.content:t.content=e.content,t}throw new tf("Value provided to cloneDeep function couldn't be cloned",{value:e})},nf=(_.safe=e=>{try{return _(e)}catch{return e}},e=>{var{key:e,value:t}=e;return new x.KeyValuePair(e,t)}),sf=e=>{const t=new e.constructor;var r;return t.element=e.element,0<e.meta.length&&(t._meta=_(e.meta)),0<e.attributes.length&&(t._attributes=_(e.attributes)),Bd(e.content)?(r=e.content,t.content=sf(r)):Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof x.KeyValuePair?t.content=nf(e.content):t.content=e.content,t},of=e=>{if(e instanceof x.KeyValuePair)return nf(e);if(e instanceof x.ot)return t=[...e],new x.ot(t);var t;if(e instanceof x.G6)return t=[...e],new x.G6(t);if(Bd(e))return sf(e);throw new rf("Value provided to cloneShallow function couldn't be cloned",{value:e})},af=(of.safe=e=>{try{return of(e)}catch{return e}},e=>w(e)?"ObjectElement":zd(e)?"ArrayElement":Vd(e)?"MemberElement":S(e)?"StringElement":Ud(e)?"BooleanElement":$d(e)?"NumberElement":qd(e)?"NullElement":Kd(e)?"LinkElement":Wd(e)?"RefElement":void 0),lf=e=>(Bd(e)?of:Dh)(e),cf=du(af,Gu),uf={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};class pf{result;predicate;returnOnTrue;returnOnFalse;constructor({predicate:e=Sh,returnOnTrue:t,returnOnFalse:r}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=r}enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}const hf=(e,t,{keyMap:r=uf,...n}={})=>Fh(e,t,{keyMap:r,nodeTypeGetter:af,nodePredicate:cf,nodeCloneFn:lf,...n}),df=(hf[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=uf,...n}={})=>Fh[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:r,nodeTypeGetter:af,nodePredicate:cf,nodeCloneFn:lf,...n}),e=>"string"==typeof(null==e?void 0:e.type)?e.type:af(e)),ff={EphemeralObject:["content"],EphemeralArray:["content"],...uf},mf=(e,t,{keyMap:r=ff,...n}={})=>hf(e,t,{keyMap:r,nodeTypeGetter:df,nodePredicate:xh,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n}),gf=(mf[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=ff,...r}={})=>hf[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:df,nodePredicate:xh,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r}),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}}),yf=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 vf{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();var t=new yf(e.content);return this.references.set(e,t),t}};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();var t=new gf(e.content);return this.references.set(e,t),t}};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,...t){var t=t[3];return"EphemeralObject"===(null==(t=t[t.length-1])?void 0:t.type)?Symbol.for("delete-node"):String(e.toValue())}LinkElement(e){return S(e.href)?e.href.toValue():""}}const M=e=>Bd(e)?S(e)||$d(e)||Ud(e)||qd(e)?e.toValue():mf(e,new vf):e,bf=dc(function(e,t,r){var n,s={};for(n in r=r||{},t=t||{})xc(n,t)&&(s[n]=xc(n,r)?e(n,t[n],r[n]):t[n]);for(n in r)xc(n,r)&&!xc(n,s)&&(s[n]=r[n]);return s}),wf=dc(function n(s,e,t){return bf(function(e,t,r){return zc(t)&&zc(r)?n(s,t,r):s(e,t,r)},e,t)}),Ef=t(function(e,t){return wf(function(e,t,r){return r},e,t)}),xf=t(yc),Sf=pu(0,-1),_f=t(function(e,t){return e.apply(this,t)}),kf=Du(Ku),Af=t(function(e,t){return e&&t}),Of=t(function(e,t){return wu(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Ru(Af)(e,t)}),Cf=i(function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():qc(e)?[]:mc(e)?"":zc(e)?{}:kc(e)?function(){return arguments}():function(e){e=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===e||"[object Int8Array]"===e||"[object Uint8Array]"===e||"[object Int16Array]"===e||"[object Uint16Array]"===e||"[object Int32Array]"===e||"[object Uint32Array]"===e||"[object Float32Array]"===e||"[object Float64Array]"===e||"[object BigInt64Array]"===e||"[object BigUint64Array]"===e}(e)?e.constructor.from(""):void 0}),jf=i(function(e){return null!=e&&Tc(e,Cf(e))});Rr=s(1,Ku(Array.isArray)?Array.isArray:du(Pc,Vu("Array")));const Pf=Of(Rr,jf),Nf=s(3,function(e,t,r){var n=xf(e,r),r=xf(Sf(e),r);if(!kf(n)&&!Pf(e))return e=su(n,r),_f(e,t)}),If=Tc(null);Hr=Du(If);function Tf(e){return(Tf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Mf(e){return"object"===Tf(e)}const Rf=s(1,Of(Hr,Mf));var Df=du(Pc,Vu("Object")),Fr=du(Xc,Tc(Xc(Object))),Lf=vc(Of(Ku,Fr),["constructor"]);const Ff=s(1,function(e){if(!Rf(e)||!Df(e))return!1;e=Object.getPrototypeOf(e);return!!If(e)||Lf(e)});class Bf extends x.g${constructor(){super(),this.register("annotation",Od),this.register("comment",jd),this.register("parseResult",Nd),this.register("sourceMap",Td)}}const $f=new Bf,qf=e=>{const t=new Bf;return Ff(e)&&t.use(e),t},Uf=$f,zf=()=>({predicates:{...Y},namespace:Uf}),Vf={toolboxCreator:zf,visitorOptions:{nodeTypeGetter:af,exposeEdits:!0}},Kf=(e,t,r={})=>{if(0===t.length)return e;const n=Ef(Vf,r),{toolboxCreator:s,visitorOptions:o}=n,i=s(),a=t.map(e=>e(i)),l=Lh(a.map(gu({},"visitor")),{...o});a.forEach(Nf(["pre"],[]));r=hf(e,l,o);return a.forEach(Nf(["post"],[])),r},Wf=(Kf[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,r={})=>{if(0===t.length)return e;const n=Ef(Vf,r),{toolboxCreator:s,visitorOptions:o}=n,i=s(),a=t.map(e=>e(i)),l=Lh[Symbol.for("nodejs.util.promisify.custom")],c=hf[Symbol.for("nodejs.util.promisify.custom")],u=l(a.map(gu({},"visitor")),{...o});await Promise.allSettled(a.map(Nf(["pre"],[])));r=await c(e,u,o);return await Promise.allSettled(a.map(Nf(["post"],[]))),r},s=>(e,t={})=>{{var[e,{Type:t,plugins:r=[]}]=[e,{...t,Type:s}];const n=new t(e);return Bd(e)&&(0<e.meta.length&&(n.meta=_(e.meta)),0<e.attributes.length&&(n.attributes=_(e.attributes))),Kf(n,r,{toolboxCreator:zf,visitorOptions:{nodeTypeGetter:af}})}}),Jf=(x.Sh.refract=Wf(x.Sh),x.wE.refract=Wf(x.wE),x.Om.refract=Wf(x.Om),x.bd.refract=Wf(x.bd),x.Os.refract=Wf(x.Os),x.kT.refract=Wf(x.kT),x.Ft.refract=Wf(x.Ft),x.sI.refract=Wf(x.sI),Od.refract=Wf(Od),jd.refract=Wf(jd),Nd.refract=Wf(Nd),Td.refract=Wf(Td),(t,r=new WeakMap)=>(Vd(t)?(r.set(t.key,t),Jf(t.key,r),r.set(t.value,t),Jf(t.value,r)):t.children.forEach(e=>{r.set(e,t),Jf(e,r)}),r)),Hf=class{element;edges;constructor({element:e}){this.element=e}transclude(e,t){if(e===this.element)return t;if(e===t)return this.element;this.edges=null!=(r=this.edges)?r:Jf(this.element);var r=this.edges.get(e);if(!Fu(r)){if(w(r)){var n=e,s=t,o=this.edges;const c=o.get(n);w(c)&&(c.content=c.map((e,t,r)=>r===n?(o.delete(n),o.set(s,c),s):r))}else if(zd(r)){var i=e,a=t,l=this.edges;const u=l.get(i);zd(u)&&(u.content=u.map(e=>e===i?(l.delete(i),l.set(a,u),a):e))}else if(Vd(r)){r=e,e=t,t=this.edges;const p=t.get(r);Vd(p)&&(p.key===r&&(p.key=e,t.delete(r),t.set(e,p)),p.value===r&&(p.value=e,t.delete(r),t.set(e,p)))}return this.element}}},Gf=du(Wu(/~/g,"~0"),Wu(/\//g,"~1"),encodeURIComponent);jr=class extends uc{};const Yf=class extends jr{tokens;constructor(e,t){super(e,t),void 0!==t&&(this.tokens=[...t.tokens])}},Xf=t(function(e,n){return s(cu($u,0,qu("length",n)),function(){var t=arguments,r=this;return e.apply(r,Rc(function(e){return e.apply(r,t)},n))})});Pr=i(function(e){return e}),Br=Of(s(1,du(Pc,Vu("Number"))),isFinite),Vr=s(1,Br),kr=Of(Ku(Number.isFinite)?s(1,su(Number.isFinite,Number)):Vr,Xf(Tc,[Math.floor,Pr])),_r=s(1,kr);const Qf=Ku(Number.isInteger)?s(1,su(Number.isInteger,Number)):_r;em.prototype["@@transducer/init"]=Vc,em.prototype["@@transducer/result"]=Kc,em.prototype["@@transducer/step"]=function(e,t){this.i+=1;e=0===this.n?e:this.xf["@@transducer/step"](e,t);return 0<=this.n&&this.i>=this.n?Bh(e):e};var Zf=em;function em(e,t){this.xf=t,this.n=e,this.i=0}const tm=t(Uc(["take"],function(t){return function(e){return new Zf(t,e)}},function(e,t){return pu(0,e<0?1/0:e,t)})),rm=t(function(e,t){return Tc(tm(e.length,t),e)}),nm=Tc("");om.prototype["@@transducer/init"]=Vc,om.prototype["@@transducer/result"]=Kc,om.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)};var sm=om;function om(e,t){this.xf=t,this.f=e}const im=t(Uc(["dropWhile"],function(t){return function(e){return new sm(t,e)}},function(e,t){for(var r=0,n=t.length;r<n&&e(t[r]);)r+=1;return pu(r,1/0,t)})),am=bu(function(e,t){return du(xu(""),im(Ou(e)),Au(""))(t)}),lm=du(Wu(/~1/g,"/"),Wu(/~0/g,"~"),e=>{try{return decodeURIComponent(e)}catch{return e}}),cm=class extends jr{pointer;constructor(e,t){super(e,t),void 0!==t&&(this.pointer=t.pointer)}},um=e=>{var t,e=-1!==(t=(e=e).indexOf("#"))?e.substring(t):"#";return am("#",e)},pm=t=>{if(nm(t))return[];if(!rm("/",t))throw new cm(`Invalid JSON Pointer "${t}". JSON Pointers must begin with "/"`,{pointer:t});try{var e=du(xu("/"),Iu(lm))(t);return hu(e)}catch(e){throw new cm(`JSON Pointer parsing of "${t}" encountered an error.`,{pointer:t,cause:e})}},hm=class extends jr{pointer;tokens;failedToken;failedTokenPosition;element;constructor(e,t){super(e,t),void 0!==t&&(this.pointer=t.pointer,Array.isArray(t.tokens)&&(this.tokens=[...t.tokens]),this.failedToken=t.failedToken,this.failedTokenPosition=t.failedTokenPosition,this.element=t.element)}},dm=(n,e)=>{let s;try{s=pm(n)}catch(s){throw new hm(`JSON Pointer evaluation failed while parsing the pointer "${n}".`,{pointer:n,element:_(e),cause:s})}return s.reduce((e,t,r)=>{if(w(e)){if(e.hasKey(t))return e.get(t);throw new hm(`JSON Pointer evaluation failed while evaluating token "${t}" against an ObjectElement`,{pointer:n,tokens:s,failedToken:t,failedTokenPosition:r,element:_(e)})}if(zd(e)){if(t in e.content&&Qf(Number(t)))return e.get(Number(t));throw new hm(`JSON Pointer evaluation failed while evaluating token "${t}" against an ArrayElement`,{pointer:n,tokens:s,failedToken:t,failedTokenPosition:r,element:_(e)})}throw new hm(`JSON Pointer evaluation failed while evaluating token "${t}" against an unexpected Element`,{pointer:n,tokens:s,failedToken:t,failedTokenPosition:r,element:_(e)})},e)};class fm extends x.Sh{constructor(e,t,r){super(e,t,r),this.element="callback"}}const mm=fm;class gm extends x.Sh{constructor(e,t,r){super(e,t,r),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 ym=gm;class vm extends x.Sh{constructor(e,t,r){super(e,t,r),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 bm=vm;class wm extends x.Sh{constructor(e,t,r){super(e,t,r),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 Em=wm;class xm extends x.Sh{constructor(e,t,r){super(e,t,r),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 Sm=xm;class _m extends x.Sh{constructor(e,t,r){super(e,t,r),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 km=_m;class Am extends x.Sh{constructor(e,t,r){super(e,t,r),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 Om=Am;class Cm extends x.Sh{constructor(e,t,r){super(e,t,r),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new x.bd(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new x.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(Cm.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const jm=Cm;class Pm extends x.Sh{constructor(e,t,r){super(e,t,r),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 Nm=Pm;class Im extends x.Sh{constructor(e,t,r){super(e,t,r),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 Tm=Im;class Mm extends x.Sh{constructor(e,t,r){super(e,t,r),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;return S(this.operationRef)?null==(e=this.operationRef)?void 0:e.meta.get("operation"):!S(this.operationId)||null==(e=this.operationId)?void 0:e.meta.get("operation")}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 Rm=Mm;class Dm extends x.Sh{constructor(e,t,r){super(e,t,r),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 Lm=Dm;class Fm extends x.Sh{constructor(e,t,r){super(e,t,r),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 Bm=Fm;class $m extends x.Sh{constructor(e,t,r){super(e,t,r),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 qm=$m;class Um extends x.Om{constructor(e,t,r){super(e,t,r),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const zm=Um;class Vm extends x.Sh{constructor(e,t,r){super(e,t,r),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 Km=Vm;class Wm extends x.Sh{constructor(e,t,r){super(e,t,r),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 x.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 Jm=Wm;class Hm extends x.Sh{constructor(e,t,r){super(e,t,r),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 x.bd(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new x.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(Hm.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Gm=Hm;class Ym extends x.Sh{constructor(e,t,r){super(e,t,r),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 Xm=Ym;class Qm extends x.Sh{constructor(e,t,r){super(e,t,r),this.element="paths"}}const Zm=Qm;class eg extends x.Sh{constructor(e,t,r){super(e,t,r),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const tg=eg;class rg extends x.Sh{constructor(e,t,r){super(e,t,r),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 x.bd(!1)}set required(e){this.set("required",e)}}const ng=rg;class sg extends x.Sh{constructor(e,t,r){super(e,t,r),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 og=sg;class ig extends x.Sh{constructor(e,t,r){super(e,t,r),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}}const ag=ig,lg=class extends cc{};class cg extends x.Sh{constructor(e,t,r){super(e,t,r),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 ug=cg;class pg extends x.Sh{constructor(e,t,r){super(e,t,r),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const hg=pg;class dg extends x.Sh{constructor(e,t,r){super(e,t,r),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 fg=dg;class mg extends x.Sh{constructor(e,t,r){super(e,t,r),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 gg=mg,yg=t(function(r,n){return $c(function(e,t){return e[t]=r(n[t],t,n),e},{},jc(n))}),vg=i(function(e){return null==e}),bg=t(function(e,t){if(0===e.length||vg(t))return!1;for(var r=t,n=0;n<e.length;){if(vg(r)||!xc(e[n],r))return!1;r=r[e[n]],n+=1}return!0}),wg=t(function(e,t){return bg([e],t)}),Eg=dc(function(e,t,r){return e(mu(t,r))}),xg=(e,t)=>{const n=fu(e,t);return yg(e=>{if(Ff(e)&&wg("$ref",e)&&Eg(Gu,"$ref",e)){const t=xf(["$ref"],e),r=am("#/",t);return xf(r.split("/"),n)}return Ff(e)?xg(e,n):e},e)},Sg=e=>{var t=0<e.meta.length?_(e.meta):void 0,r=0<e.attributes.length?_(e.attributes):void 0;return new e.constructor(void 0,t,r)},_g=(e,t)=>t.clone&&t.isMergeableElement(e)?Cg(Sg(e),e,t):e,kg=e=>"function"!=typeof e.customMetaMerge?e=>_(e):e.customMetaMerge,Ag=e=>"function"!=typeof e.customAttributesMerge?e=>_(e):e.customAttributesMerge,Og={clone:!0,isMergeableElement:e=>w(e)||zd(e),arrayElementMerge:(e,t,r)=>e.concat(t)["fantasy-land/map"](e=>_g(e,r)),objectElementMerge:(o,e,i)=>{const a=w(o)?Sg(o):Sg(e);return w(o)&&o.forEach((e,t,r)=>{const n=of(r);n.value=_g(e,i),a.content.push(n)}),e.forEach((e,t,r)=>{var n=M(t);let s;if(w(o)&&o.hasKey(n)&&i.isMergeableElement(e)){const a=o.get(n);(s=of(r)).value=(e=>{if("function"!=typeof e.customMerge)return Cg;e=e.customMerge(t,e);return"function"==typeof e?e:Cg})(i)(a,e)}else(s=of(r)).value=_g(e,i);a.remove(n),a.content.push(s)}),a},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0};function Cg(e,t,r){const n={...Og,...r};n.isMergeableElement=null!=(r=n.isMergeableElement)?r:Og.isMergeableElement,n.arrayElementMerge=null!=(r=n.arrayElementMerge)?r:Og.arrayElementMerge,n.objectElementMerge=null!=(r=n.objectElementMerge)?r:Og.objectElementMerge;r=zd(t);if(r!==zd(e))return _g(t,n);const s=r&&"function"==typeof n.arrayElementMerge?n.arrayElementMerge(e,t,n):n.objectElementMerge(e,t,n);return s.meta=kg(n)(e.meta,t.meta),s.attributes=Ag(n)(e.attributes,t.attributes),s}Cg.all=(e,r)=>{if(Array.isArray(e))return 0===e.length?new x.Sh:e.reduce((e,t)=>Cg(e,t,r),Sg(e[0]));throw new TypeError("First argument of deepmerge should be an array.")};ds=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){(0<e.meta.length||0<t.meta.length)&&(t.meta=Cg(t.meta,e.meta),Qd(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(0<e.attributes.length||0<e.meta.length)&&(t.attributes=Cg(t.attributes,e.attributes))}};const jg=class extends ds{enter(e){return this.element=_(e),A}},Pg=(e,t,r=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(var s of r)delete n[s];Object.defineProperties(e,n)},Ng=(e,t=[e])=>{var r=Object.getPrototypeOf(e);return null===r?t:Ng(r,[...t,r])},Ig=(e,t,r=[])=>{var n,s;const o=null!=(n=((...t)=>{if(0!==t.length){let e;const r=t.map(e=>Ng(e));for(;r.every(e=>0<e.length);){const t=r.map(e=>e.pop()),n=t[0];if(!t.every(e=>e===n))break;e=n}return e}})(...e))?n:Object.prototype,i=Object.create(o),a=Ng(o);for(s of e){var l=Ng(s);for(let e=l.length-1;0<=e;e--){var c=l[e];-1===a.indexOf(c)&&(Pg(i,c,["constructor",...r]),a.push(c))}}return i.constructor=t,i},Tg=r=>r.filter((e,t)=>r.indexOf(e)==t),Mg=new WeakMap,Rg=e=>Mg.get(e),Dg=(e,t)=>{var r,n;const s=Tg([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),o={};for(n of s)o[n]=Tg([...null!=(r=null==e?void 0:e[n])?r:[],...null!=(r=null==t?void 0:t[n])?r:[]]);return o},Lg=(e,t)=>{var r;return{property:Dg(null!=(r=null==e?void 0:e.property)?r:{},null!=(r=null==t?void 0:t.property)?r:{}),method:Dg(null!=(r=null==e?void 0:e.method)?r:{},null!=(e=null==t?void 0:t.method)?e:{})}},Fg=(e,t)=>{var r;return{class:Tg([...null!=(r=null==e?void 0:e.class)?r:[],...null!=(r=null==t?void 0:t.class)?r:[]]),static:Lg(null!=(r=null==e?void 0:e.static)?r:{},null!=(r=null==t?void 0:t.static)?r:{}),instance:Lg(null!=(r=null==e?void 0:e.instance)?r:{},null!=(e=null==t?void 0:t.instance)?e:{})}},Bg=new Map;function n(...r){var e,t;const n=r.map(e=>e.prototype);{const r=void 0,e=void 0}function s(...e){for(const t of r)Pg(this,new t(...e))}s.prototype=Ig(n,s),Object.setPrototypeOf(s,Ig(r,null,["prototype"]));let o=s;{const n=((...e)=>{const t=((...e)=>{var t,r;const n=new Set,s=new Set([...e]);for(;0<s.size;)for(var o of s){for(r of[...Ng(o.prototype).map(e=>e.constructor),...null!=(t=Rg(o))?t:[]].filter(e=>!n.has(e)))s.add(r);n.add(o),s.delete(o)}return[...n]})(...e).map(e=>Bg.get(e)).filter(e=>!!e);return 0==t.length?{}:1==t.length?t[0]:t.reduce((e,t)=>Fg(e,t))})(...r);for(var i of null!=(e=null==n?void 0:n.class)?e:[]){const e=i(o);e&&(o=e)}$g(null!=(e=null==n?void 0:n.static)?e:{},o),$g(null!=(e=null==n?void 0:n.instance)?e:{},o.prototype)}return e=o,t=r,Mg.set(e,t),o}const $g=(e,t)=>{var r=e.property,n=e.method;if(r)for(var s in r)for(var o of r[s])o(t,s);if(n)for(var i in n)for(var a of n[i])a(t,i,Object.getOwnPropertyDescriptor(t,i))},qg=t(function(e,t){for(var r={},n=0;n<e.length;)e[n]in t&&(r[e[n]]=t[e[n]]),n+=1;return r});fs=class extends ds{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return qg(this.passingOptionsNames,this)}retrieveFixedFields(e){e=xf(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof e&&null!==e?Object.keys(e):[]}retrieveVisitor(e){return vc(Ku,["visitors",...e],this.specObj)?xf(["visitors",...e],this.specObj):xf(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){var r=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...r,...t})}toRefractedElement(e,t,r={}){e=this.retrieveVisitorInstance(e,r);return e instanceof jg&&(null==e?void 0:e.constructor)===jg?_(t):(hf(t,e,r),e.element)}};const Ug=class extends fs{specPath;ignoredFields;constructor({specPath:e,ignoredFields:t,...r}){super({...r}),this.specPath=e,this.ignoredFields=t||[]}ObjectElement(e){const s=this.specPath(e),o=this.retrieveFixedFields(s);return e.forEach((e,t,r)=>{if(S(t)&&o.includes(M(t))&&!this.ignoredFields.includes(M(t))){const o=this.toRefractedElement([...s,"fixedFields",M(t)],e),n=new x.Pr(_(t),o);this.copyMetaAndAttributes(r,n),n.classes.push("fixed-field"),this.element.content.push(n)}else this.ignoredFields.includes(M(t))||this.element.content.push(_(r))}),this.copyMetaAndAttributes(e,this.element),A}};class zg extends n(Ug,jg){constructor(e){super(e),this.element=new ug,this.specPath=r(["document","objects","JSONSchema"])}}Mr=zg;const Vg=class{parent;constructor({parent:e}){this.parent=e}},Kg=e=>w(e)&&e.hasKey("$ref");class Wg extends n(fs,Vg,jg){ObjectElement(e){var t=Kg(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),A}ArrayElement(e){return this.element=new x.wE,this.element.classes.push("json-schema-items"),e.forEach(e=>{var t=Kg(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],t=this.toRefractedElement(t,e);this.element.push(t)}),this.copyMetaAndAttributes(e,this.element),A}}be=Wg,H=class extends jg{ArrayElement(e){e=this.enter(e);return this.element.classes.push("json-schema-required"),e}};const Jg=i(function(r){return s(cu($u,0,qu("length",r)),function(){for(var e=0,t=r.length;e<t;){if(!r[e].apply(this,arguments))return!1;e+=1}return!0})});G=i(function(e){return!jf(e)});const Hg=t(function(e,t){return e||t});Or=Du(s(1,Of(Hr,t(function(e,t){return wu(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Ru(Hg)(e,t)})(Mf,Ku))));const Gg=Jg([Gu,Or,G]);Mn=class extends class extends fs{specPath;ignoredFields;fieldPatternPredicate=Sh;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:r,...n}){super({...n}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof r&&(this.fieldPatternPredicate=r)}ObjectElement(e){return e.forEach((e,t,r)=>{if(!this.ignoredFields.includes(M(t))&&this.fieldPatternPredicate(M(t))){const n=this.specPath(e),s=this.toRefractedElement(n,e),o=new x.Pr(_(t),s);this.copyMetaAndAttributes(r,o),o.classes.push("patterned-field"),this.element.content.push(o)}else this.ignoredFields.includes(M(t))||this.element.content.push(_(r))}),this.copyMetaAndAttributes(e,this.element),A}}{constructor(e){super(e),this.fieldPatternPredicate=Gg}};class Yg extends n(Mn,Vg,jg){constructor(e){super(e),this.element=new x.Sh,this.element.classes.push("json-schema-properties"),this.specPath=e=>Kg(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}Tn=Yg;class Xg extends n(Mn,Vg,jg){constructor(e){super(e),this.element=new x.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=e=>Kg(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}I=Xg;class Qg extends n(Mn,Vg,jg){constructor(e){super(e),this.element=new x.Sh,this.element.classes.push("json-schema-dependencies"),this.specPath=e=>Kg(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}qr=Qg,T=class extends jg{ArrayElement(e){e=this.enter(e);return this.element.classes.push("json-schema-enum"),e}},Tr=class extends jg{StringElement(e){e=this.enter(e);return this.element.classes.push("json-schema-type"),e}ArrayElement(e){e=this.enter(e);return this.element.classes.push("json-schema-type"),e}};class Zg extends n(fs,Vg,jg){constructor(e){super(e),this.element=new x.wE,this.element.classes.push("json-schema-allOf")}ArrayElement(e){return e.forEach(e=>{var t=Kg(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],t=this.toRefractedElement(t,e);this.element.push(t)}),this.copyMetaAndAttributes(e,this.element),A}}Cr=Zg;class ey extends n(fs,Vg,jg){constructor(e){super(e),this.element=new x.wE,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){return e.forEach(e=>{var t=Kg(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],t=this.toRefractedElement(t,e);this.element.push(t)}),this.copyMetaAndAttributes(e,this.element),A}}Ar=ey;class ty extends n(fs,Vg,jg){constructor(e){super(e),this.element=new x.wE,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){return e.forEach(e=>{var t=Kg(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],t=this.toRefractedElement(t,e);this.element.push(t)}),this.copyMetaAndAttributes(e,this.element),A}}Fr=ty;class ry extends n(Mn,Vg,jg){constructor(e){super(e),this.element=new x.Sh,this.element.classes.push("json-schema-definitions"),this.specPath=e=>Kg(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}Br=ry;class ny extends n(fs,Vg,jg){constructor(e){super(e),this.element=new x.wE,this.element.classes.push("json-schema-links")}ArrayElement(e){return e.forEach(e=>{e=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(e)}),this.copyMetaAndAttributes(e,this.element),A}}Vr=ny;class sy extends n(Ug,jg){constructor(e){super(e),this.element=new hg,this.specPath=r(["document","objects","JSONReference"])}ObjectElement(e){e=Ug.prototype.ObjectElement.call(this,e);return S(this.element.$ref)&&this.element.classes.push("reference-element"),e}}kr=sy,_r=class extends jg{StringElement(e){e=this.enter(e);return this.element.classes.push("reference-value"),e}};const oy=dc(function(e,t,r){return s(Math.max(e.length,t.length,r.length),function(){return(e.apply(this,arguments)?t:r).apply(this,arguments)})}),iy=i(function(r){return function(e,t){return r(e,t)?-1:r(t,e)?1:0}}),ay=t(function(e,t){return Array.prototype.slice.call(t,0).sort(e)});jr=i(function(e){return gc(0,e)});const ly=i(Bh),cy=Du(vg);ds=Of(Rr,G);function uy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var py=du(ay(iy(function(e,t){return e.length>t.length})),jr,mu("length")),hy=bu(function(e,t,r){e=r.apply(void 0,function(e){if(Array.isArray(e))return uy(e)}(r=e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return uy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(r="Object"===r&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?uy(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());return cy(e)?ly(e):t});const dy=oy(ds,function(n){var e=py(n);return s(e,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return cu(hy(t),void 0,n)})},Lu);Hr=class extends class extends fs{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){var t=this.alternator.map(({predicate:e,specPath:t})=>oy(e,r(t),Lu)),t=dy(t)(e);return this.element=this.toRefractedElement(t,e),A}}{constructor(e){super(e),this.alternator=[{predicate:Kg,specPath:["document","objects","JSONReference"]},{predicate:xh,specPath:["document","objects","JSONSchema"]}]}};class fy extends n(Ug,jg){constructor(e){super(e),this.element=new fg,this.specPath=r(["document","objects","Media"])}}var my,gy,yy,vy,by,wy,Ey,xy,Sy,_y,ky,Ay,Or=fy;class Oy extends n(Ug,jg){constructor(e){super(e),this.element=new gg,this.specPath=r(["document","objects","LinkDescription"])}}const Cy={visitors:{value:jg,JSONSchemaOrJSONReferenceVisitor:Hr,document:{objects:{JSONSchema:{$visitor:Mr,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:Hr,items:be,maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:H,properties:Tn,additionalProperties:Hr,patternProperties:I,dependencies:qr,enum:T,type:Tr,allOf:Cr,anyOf:Ar,oneOf:Fr,not:Hr,definitions:Br,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:Vr,media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{$visitor:kr,fixedFields:{$ref:_r}},Media:{$visitor:Or,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"},type:{$ref:"#/visitors/value"}}},LinkDescription:{$visitor:Oy,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:Hr,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:Hr}}}}}},jy=e=>{if(Bd(e))return e.element.charAt(0).toUpperCase()+e.element.slice(1)+"Element"},Py={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...uf},Ny=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof ug||t(e)&&r("JSONSchemaDraft4",e)&&n("object",e)),Iy=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof hg||t(e)&&r("JSONReference",e)&&n("object",e)),Ty=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof fg||t(e)&&r("media",e)&&n("object",e)),My=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof gg||t(e)&&r("linkDescription",e)&&n("object",e)),Ry={namespace:e=>{const t=e["base"];return t.register("jSONSchemaDraft4",ug),t.register("jSONReference",hg),t.register("media",fg),t.register("linkDescription",gg),t}},Dy=Ry,Ly=()=>{var e=qf(Dy);return{predicates:{...X,isStringElement:S},namespace:e}},Fy=s=>(e,t={})=>{var[e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Cy}]=[e,{specPath:s,...t}];return e=(0,x.e)(e),n=xg(n),t=new(xf(t,n))({specObj:n}),hf(e,t),Kf(t.element,r,{toolboxCreator:Ly,visitorOptions:{keyMap:Py,nodeTypeGetter:jy}})},By=(ug.refract=Fy(["visitors","document","objects","JSONSchema","$visitor"]),hg.refract=Fy(["visitors","document","objects","JSONReference","$visitor"]),fg.refract=Fy(["visitors","document","objects","Media","$visitor"]),gg.refract=Fy(["visitors","document","objects","LinkDescription","$visitor"]),class extends ug{constructor(e,t,r){super(e,t,r),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new lg("idProp getter in Schema class is not not supported.")}set idProp(e){throw new lg("idProp setter in Schema class is not not supported.")}get $schema(){throw new lg("$schema getter in Schema class is not not supported.")}set $schema(e){throw new lg("$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 lg("patternProperties getter in Schema class is not not supported.")}set patternProperties(e){throw new lg("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new lg("dependencies getter in Schema class is not not supported.")}set dependencies(e){throw new lg("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 lg("definitions getter in Schema class is not not supported.")}set definitions(e){throw new lg("definitions setter in Schema class is not not supported.")}get base(){throw new lg("base getter in Schema class is not not supported.")}set base(e){throw new lg("base setter in Schema class is not not supported.")}get links(){throw new lg("links getter in Schema class is not not supported.")}set links(e){throw new lg("links setter in Schema class is not not supported.")}get media(){throw new lg("media getter in Schema class is not not supported.")}set media(e){throw new lg("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 $y extends x.Sh{constructor(e,t,r){super(e,t,r),this.element="securityRequirement"}}const qy=$y;class Uy extends x.Sh{constructor(e,t,r){super(e,t,r),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 zy=Uy;class Vy extends x.Sh{constructor(e,t,r){super(e,t,r),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 Ky=Vy;class Wy extends x.Sh{constructor(e,t,r){super(e,t,r),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 Jy=Wy;class Hy extends x.Sh{constructor(e,t,r){super(e,t,r),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 Gy=Hy;class Yy extends x.Sh{constructor(e,t,r){super(e,t,r),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 Xy=Yy;Mn=class{element;constructor(e={}){Object.assign(this,e)}copyMetaAndAttributes(e,t){(0<e.meta.length||0<t.meta.length)&&(t.meta=Cg(t.meta,e.meta),Qd(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(0<e.attributes.length||0<e.meta.length)&&(t.attributes=Cg(t.attributes,e.attributes))}};const a=class extends Mn{enter(e){return this.element=_(e),A}},Qy=class extends Mn{specObj;passingOptionsNames=["specObj","openApiGenericElement","openApiSemanticElement"];openApiGenericElement;openApiSemanticElement;constructor({specObj:e,passingOptionsNames:t,openApiGenericElement:r,openApiSemanticElement:n,...s}){super({...s}),this.specObj=e,this.openApiGenericElement=r,this.openApiSemanticElement=n,Array.isArray(t)&&(this.passingOptionsNames=t)}retrievePassingOptions(){return qg(this.passingOptionsNames,this)}retrieveFixedFields(e){e=xf(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof e&&null!==e?Object.keys(e):[]}retrieveVisitor(e){return vc(Ku,["visitors",...e],this.specObj)?xf(["visitors",...e],this.specObj):xf(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){var r=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...r,...t})}toRefractedElement(e,t,r={}){e=this.retrieveVisitorInstance(e,r);return e instanceof a&&(null==e?void 0:e.constructor)===a?_(t):(hf(t,e,r),e.element)}},k=e=>w(e)&&e.hasKey("$ref"),Zy=w,e0=w,t0=e=>S(e.key)&&rm("x-",M(e.key)),l=class extends Qy{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=t0;constructor({specPath:e,ignoredFields:t,canSupportSpecificationExtensions:r,specificationExtensionPredicate:n,...s}){super({...s}),this.specPath=e,this.ignoredFields=t||[],"boolean"==typeof r&&(this.canSupportSpecificationExtensions=r),"function"==typeof n&&(this.specificationExtensionPredicate=n)}ObjectElement(e){const s=this.specPath(e),o=this.retrieveFixedFields(s);return e.forEach((e,t,r)=>{if(S(t)&&o.includes(M(t))&&!this.ignoredFields.includes(M(t))){const o=this.toRefractedElement([...s,"fixedFields",M(t)],e),n=new x.Pr(_(t),o);this.copyMetaAndAttributes(r,n),n.classes.push("fixed-field"),this.element.content.push(n)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else this.ignoredFields.includes(M(t))||this.element.content.push(_(r))}),this.copyMetaAndAttributes(e,this.element),A}};class r0 extends n(l,a){constructor(e){super(e),this.element=new Km,this.specPath=r(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return l.prototype.ObjectElement.call(this,e)}}Rr=r0;class n0 extends n(Qy,a){StringElement(e){var t=new zm(M(e));return this.copyMetaAndAttributes(e,t),this.element=t,A}}G=n0,jr=class extends Qy{MemberElement(e){return this.element=_(e),this.element.classes.push("specification-extension"),A}};class s0 extends n(l,a){constructor(e){super(e),this.element=new Nm,this.specPath=r(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}}ds=s0,fs=class extends a{StringElement(e){e=super.enter(e);return this.element.classes.push("api-version"),this.element.classes.push("version"),e}};class o0 extends n(l,a){constructor(e){super(e),this.element=new bm,this.specPath=r(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}}Mr=o0;class i0 extends n(l,a){constructor(e){super(e),this.element=new Tm,this.specPath=r(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}}be=i0;class a0 extends n(l,a){constructor(e){super(e),this.element=new Rm,this.specPath=r(["document","objects","Link"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){e=l.prototype.ObjectElement.call(this,e);return(S(this.element.operationId)||S(this.element.operationRef))&&this.element.classes.push("reference-element"),e}}H=a0,Tn=class extends a{StringElement(e){e=super.enter(e);return this.element.classes.push("reference-value"),e}},I=class extends a{StringElement(e){e=super.enter(e);return this.element.classes.push("reference-value"),e}};const l0=class extends Qy{specPath;ignoredFields;fieldPatternPredicate=Sh;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=t0;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:r,canSupportSpecificationExtensions:n,specificationExtensionPredicate:s,...o}){super({...o}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof r&&(this.fieldPatternPredicate=r),"boolean"==typeof n&&(this.canSupportSpecificationExtensions=n),"function"==typeof s&&(this.specificationExtensionPredicate=s)}ObjectElement(e){return e.forEach((e,t,r)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else if(!this.ignoredFields.includes(M(t))&&this.fieldPatternPredicate(M(t))){const n=this.specPath(e),s=this.toRefractedElement(n,e),o=new x.Pr(_(t),s);this.copyMetaAndAttributes(r,o),o.classes.push("patterned-field"),this.element.content.push(o)}else this.ignoredFields.includes(M(t))||this.element.content.push(_(r))}),this.copyMetaAndAttributes(e,this.element),A}},u=class extends l0{constructor(e){super(e),this.fieldPatternPredicate=Gg}};class c0 extends x.Sh{static primaryClass="link-parameters";constructor(e,t,r){super(e,t,r),this.classes.push(c0.primaryClass)}}const u0=c0;class p0 extends n(u,a){constructor(e){super(e),this.element=new u0,this.specPath=r(["value"])}}qr=p0;class h0 extends n(l,a){constructor(e){super(e),this.element=new Ky,this.specPath=r(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}}T=h0,Tr=class extends a{StringElement(e){e=super.enter(e);return this.element.classes.push("server-url"),e}};class d0 extends x.wE{static primaryClass="servers";constructor(e,t,r){super(e,t,r),this.classes.push(d0.primaryClass)}}const f0=d0;class m0 extends n(Qy,a){constructor(e){super(e),this.element=new f0}ArrayElement(e){return e.forEach(e=>{var t=Zy(e)?["document","objects","Server"]:["value"],t=this.toRefractedElement(t,e);this.element.push(t)}),this.copyMetaAndAttributes(e,this.element),A}}Cr=m0;class g0 extends n(l,a){constructor(e){super(e),this.element=new Jy,this.specPath=r(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}}Ar=g0;class y0 extends x.Sh{static primaryClass="server-variables";constructor(e,t,r){super(e,t,r),this.classes.push(y0.primaryClass)}}const v0=y0;class b0 extends n(u,a){constructor(e){super(e),this.element=new v0,this.specPath=r(["document","objects","ServerVariable"])}}Fr=b0;class w0 extends n(l,a){constructor(e){super(e),this.element=new Lm,this.specPath=r(["document","objects","MediaType"]),this.canSupportSpecificationExtensions=!0}}var E0,x0,S0,_0,k0,A0,O0,C0,j0,P0,N0,I0,T0,M0,R0,D0,L0,F0,B0,$0,q0,U0,z0,V0,K0,W0,J0,H0,G0,Y0,X0,Q0,Z0,ev,tv,rv,nv,sv,ov,iv,av,lv,cv,uv,pv,hv,dv,fv,mv,gv,yv,vv,bv,wv,Ev,xv,Sv,_v,kv,Av,Ov,Cv,jv,Pv,Nv,Iv,Tv,Mv,Rv,Dv,Lv,Fv,Bv,$v,qv,Uv,zv,Vv,Kv,Wv,Br=w0;const Jv=class extends Qy{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e||[]}enter(e){var t=this.alternator.map(({predicate:e,specPath:t})=>oy(e,r(t),Lu)),t=dy(t)(e);return this.element=this.toRefractedElement(t,e),A}},Hv=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof mm||t(e)&&r("callback",e)&&n("object",e)),Gv=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof ym||t(e)&&r("components",e)&&n("object",e)),Yv=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof bm||t(e)&&r("contact",e)&&n("object",e)),Xv=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof km||t(e)&&r("example",e)&&n("object",e)),Qv=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof Om||t(e)&&r("externalDocumentation",e)&&n("object",e)),Zv=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof jm||t(e)&&r("header",e)&&n("object",e)),eb=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof Nm||t(e)&&r("info",e)&&n("object",e)),tb=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof Tm||t(e)&&r("license",e)&&n("object",e)),rb=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof Rm||t(e)&&r("link",e)&&n("object",e)),nb=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof zm||t(e)&&r("openapi",e)&&n("string",e)),sb=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n,hasClass:s})=>e=>e instanceof Km||t(e)&&r("openApi3_0",e)&&n("object",e)&&s("api",e)),ob=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof Jm||t(e)&&r("operation",e)&&n("object",e)),ib=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof Gm||t(e)&&r("parameter",e)&&n("object",e)),ab=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof Xm||t(e)&&r("pathItem",e)&&n("object",e)),lb=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof Zm||t(e)&&r("paths",e)&&n("object",e)),p=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof tg||t(e)&&r("reference",e)&&n("object",e)),cb=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof ng||t(e)&&r("requestBody",e)&&n("object",e)),ub=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof og||t(e)&&r("response",e)&&n("object",e)),pb=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof ag||t(e)&&r("responses",e)&&n("object",e)),hb=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof By||t(e)&&r("schema",e)&&n("object",e)),db=e=>Ud(e)&&e.classes.includes("boolean-json-schema"),fb=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof qy||t(e)&&r("securityRequirement",e)&&n("object",e)),mb=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof zy||t(e)&&r("securityScheme",e)&&n("object",e)),gb=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof Ky||t(e)&&r("server",e)&&n("object",e)),yb=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof Jy||t(e)&&r("serverVariable",e)&&n("object",e)),vb=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof Lm||t(e)&&r("mediaType",e)&&n("object",e)),bb=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n,hasClass:s})=>e=>e instanceof f0||t(e)&&r("array",e)&&n("array",e)&&s("servers",e));class wb extends n(Jv,a){constructor(e){super(e),this.alternator=[{predicate:k,specPath:["document","objects","Reference"]},{predicate:xh,specPath:["document","objects","Schema"]}]}ObjectElement(e){e=Jv.prototype.enter.call(this,e);return p(this.element)&&this.element.setMetaProperty("referenced-element","schema"),e}}Vr=wb;class Eb extends n(u,a){constructor(e){super(e),this.element=new x.Sh,this.element.classes.push("examples"),this.specPath=e=>k(e)?["document","objects","Reference"]:["document","objects","Example"],this.canSupportSpecificationExtensions=!0}ObjectElement(e){e=u.prototype.ObjectElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","example")}),e}}kr=Eb;class xb extends x.Sh{static primaryClass="media-type-examples";constructor(e,t,r){super(e,t,r),this.classes.push(xb.primaryClass),this.classes.push("examples")}}const Sb=xb;_r=class extends kr{constructor(e){super(e),this.element=new Sb}};class _b extends x.Sh{static primaryClass="media-type-encoding";constructor(e,t,r){super(e,t,r),this.classes.push(_b.primaryClass)}}const kb=_b;class Ab extends n(u,a){constructor(e){super(e),this.element=new kb,this.specPath=r(["document","objects","Encoding"])}}Or=Ab;class Ob extends n(u,a){constructor(e){super(e),this.element=new qy,this.specPath=r(["value"])}}Hr=Ob;class Cb extends x.wE{static primaryClass="security";constructor(e,t,r){super(e,t,r),this.classes.push(Cb.primaryClass)}}const jb=Cb;class Pb extends n(Qy,a){constructor(e){super(e),this.element=new jb}ArrayElement(e){return e.forEach(e=>{var t;w(e)?(t=this.toRefractedElement(["document","objects","SecurityRequirement"],e),this.element.push(t)):this.element.push(_(e))}),this.copyMetaAndAttributes(e,this.element),A}}Mn=Pb;class Nb extends n(l,a){constructor(e){super(e),this.element=new ym,this.specPath=r(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}}var Ib=Nb;class Tb extends n(l,a){constructor(e){super(e),this.element=new Gy,this.specPath=r(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}var Mb=Tb;class Rb extends n(l,a){constructor(e){super(e),this.element=new tg,this.specPath=r(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){e=l.prototype.ObjectElement.call(this,e);return S(this.element.$ref)&&this.element.classes.push("reference-element"),e}}var Db=Rb,Lb=class extends a{StringElement(e){e=super.enter(e);return this.element.classes.push("reference-value"),e}};class Fb extends n(l,a){constructor(e){super(e),this.element=new Gm,this.specPath=r(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){e=l.prototype.ObjectElement.call(this,e);return w(this.element.contentProp)&&this.element.contentProp.filter(vb).forEach((e,t)=>{e.setMetaProperty("media-type",M(t))}),e}}var Bb=Fb;class $b extends n(Jv,a){constructor(e){super(e),this.alternator=[{predicate:k,specPath:["document","objects","Reference"]},{predicate:xh,specPath:["document","objects","Schema"]}]}ObjectElement(e){e=Jv.prototype.enter.call(this,e);return p(this.element)&&this.element.setMetaProperty("referenced-element","schema"),e}}var qb=$b;class Ub extends n(l,a){constructor(e){super(e),this.element=new jm,this.specPath=r(["document","objects","Header"]),this.canSupportSpecificationExtensions=!0}}var zb=Ub;class Vb extends n(Jv,a){constructor(e){super(e),this.alternator=[{predicate:k,specPath:["document","objects","Reference"]},{predicate:xh,specPath:["document","objects","Schema"]}]}ObjectElement(e){e=Jv.prototype.enter.call(this,e);return p(this.element)&&this.element.setMetaProperty("referenced-element","schema"),e}}var Kb=Vb;class Wb extends x.Sh{static primaryClass="header-examples";constructor(e,t,r){super(e,t,r),this.classes.push(Wb.primaryClass),this.classes.push("examples")}}const Jb=Wb;var Hb=class extends kr{constructor(e){super(e),this.element=new Jb}};class Gb extends n(u,a){constructor(e){super(e),this.element=new x.Sh,this.element.classes.push("content"),this.specPath=r(["document","objects","MediaType"])}}var Yb=Gb;class Xb extends x.Sh{static primaryClass="header-content";constructor(e,t,r){super(e,t,r),this.classes.push(Xb.primaryClass),this.classes.push("content")}}const Qb=Xb;var Zb=class extends Yb{constructor(e){super(e),this.element=new Qb}};class e1 extends n(l,a){constructor(e){super(e),this.element=new By,this.specPath=r(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}}const t1=e1,r1=Cy.visitors.document.objects.JSONSchema.fixedFields["allOf"],n1=class extends r1{ArrayElement(e){e=r1.prototype.ArrayElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","schema")}),e}},s1=Cy.visitors.document.objects.JSONSchema.fixedFields["anyOf"],o1=class extends s1{ArrayElement(e){e=s1.prototype.ArrayElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","schema")}),e}},i1=Cy.visitors.document.objects.JSONSchema.fixedFields["oneOf"],a1=class extends i1{ArrayElement(e){e=i1.prototype.ArrayElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","schema")}),e}},l1=Cy.visitors.document.objects.JSONSchema.fixedFields["items"],c1=class extends l1{ObjectElement(e){e=l1.prototype.ObjectElement.call(this,e);return p(this.element)&&this.element.setMetaProperty("referenced-element","schema"),e}ArrayElement(e){return this.enter(e)}},u1=Cy.visitors.document.objects.JSONSchema.fixedFields["properties"];var p1=class extends u1{ObjectElement(e){e=u1.prototype.ObjectElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","schema")}),e}},h1=Cy.visitors.document.objects.JSONSchema.fixedFields["type"];const d1=class extends h1{ArrayElement(e){return this.enter(e)}},f1=Cy.visitors["JSONSchemaOrJSONReferenceVisitor"];h1=class extends f1{ObjectElement(e){e=f1.prototype.enter.call(this,e);return p(this.element)&&this.element.setMetaProperty("referenced-element","schema"),e}};class m1 extends n(l,a){constructor(e){super(e),this.element=new Em,this.specPath=r(["document","objects","Discriminator"]),this.canSupportSpecificationExtensions=!1}}var g1=m1;class y1 extends x.Sh{static primaryClass="discriminator-mapping";constructor(e,t,r){super(e,t,r),this.classes.push(y1.primaryClass)}}const v1=y1;class b1 extends n(u,a){constructor(e){super(e),this.element=new v1,this.specPath=r(["value"])}}var w1=b1;class E1 extends n(l,a){constructor(e){super(e),this.element=new Xy,this.specPath=r(["document","objects","XML"]),this.canSupportSpecificationExtensions=!0}}var x1=E1;class S1 extends x.Sh{static primaryClass="parameter-examples";constructor(e,t,r){super(e,t,r),this.classes.push(S1.primaryClass),this.classes.push("examples")}}const _1=S1;kr=class extends kr{constructor(e){super(e),this.element=new _1}};class k1 extends x.Sh{static primaryClass="parameter-content";constructor(e,t,r){super(e,t,r),this.classes.push(k1.primaryClass),this.classes.push("content")}}const A1=k1;var O1=class extends Yb{constructor(e){super(e),this.element=new A1}};class C1 extends x.Sh{static primaryClass="components-schemas";constructor(e,t,r){super(e,t,r),this.classes.push(C1.primaryClass)}}const j1=C1;class P1 extends n(u,a){constructor(e){super(e),this.element=new j1,this.specPath=e=>k(e)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){e=u.prototype.ObjectElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","schema")}),e}}var N1=P1;class I1 extends x.Sh{static primaryClass="components-responses";constructor(e,t,r){super(e,t,r),this.classes.push(I1.primaryClass)}}const T1=I1;class M1 extends n(u,a){constructor(e){super(e),this.element=new T1,this.specPath=e=>k(e)?["document","objects","Reference"]:["document","objects","Response"]}ObjectElement(e){e=u.prototype.ObjectElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","response")}),this.element.filter(ub).forEach((e,t)=>{e.setMetaProperty("http-status-code",M(t))}),e}}var R1=M1;class D1 extends x.Sh{static primaryClass="components-parameters";constructor(e,t,r){super(e,t,r),this.classes.push(D1.primaryClass),this.classes.push("parameters")}}const L1=D1;class F1 extends n(u,a){constructor(e){super(e),this.element=new L1,this.specPath=e=>k(e)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){e=u.prototype.ObjectElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","parameter")}),e}}var B1=F1;class $1 extends x.Sh{static primaryClass="components-examples";constructor(e,t,r){super(e,t,r),this.classes.push($1.primaryClass),this.classes.push("examples")}}const q1=$1;class U1 extends n(u,a){constructor(e){super(e),this.element=new q1,this.specPath=e=>k(e)?["document","objects","Reference"]:["document","objects","Example"]}ObjectElement(e){e=u.prototype.ObjectElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","example")}),e}}var z1=U1;class V1 extends x.Sh{static primaryClass="components-request-bodies";constructor(e,t,r){super(e,t,r),this.classes.push(V1.primaryClass)}}const K1=V1;class W1 extends n(u,a){constructor(e){super(e),this.element=new K1,this.specPath=e=>k(e)?["document","objects","Reference"]:["document","objects","RequestBody"]}ObjectElement(e){e=u.prototype.ObjectElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","requestBody")}),e}}var J1=W1;class H1 extends x.Sh{static primaryClass="components-headers";constructor(e,t,r){super(e,t,r),this.classes.push(H1.primaryClass)}}const G1=H1;class Y1 extends n(u,a){constructor(e){super(e),this.element=new G1,this.specPath=e=>k(e)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){e=u.prototype.ObjectElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","header")}),this.element.filter(Zv).forEach((e,t)=>{e.setMetaProperty("header-name",M(t))}),e}}var X1=Y1;class Q1 extends x.Sh{static primaryClass="components-security-schemes";constructor(e,t,r){super(e,t,r),this.classes.push(Q1.primaryClass)}}const Z1=Q1;class ew extends n(u,a){constructor(e){super(e),this.element=new Z1,this.specPath=e=>k(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){e=u.prototype.ObjectElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","securityScheme")}),e}}var tw=ew;class rw extends x.Sh{static primaryClass="components-links";constructor(e,t,r){super(e,t,r),this.classes.push(rw.primaryClass)}}const nw=rw;class sw extends n(u,a){constructor(e){super(e),this.element=new nw,this.specPath=e=>k(e)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(e){e=u.prototype.ObjectElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","link")}),e}}var ow=sw;class iw extends x.Sh{static primaryClass="components-callbacks";constructor(e,t,r){super(e,t,r),this.classes.push(iw.primaryClass)}}const aw=iw;class lw extends n(u,a){constructor(e){super(e),this.element=new aw,this.specPath=e=>k(e)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(e){e=u.prototype.ObjectElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","callback")}),e}}var cw=lw;class uw extends n(l,a){constructor(e){super(e),this.element=new km,this.specPath=r(["document","objects","Example"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){e=l.prototype.ObjectElement.call(this,e);return S(this.element.externalValue)&&this.element.classes.push("reference-element"),e}}var pw=uw,hw=class extends a{StringElement(e){e=super.enter(e);return this.element.classes.push("reference-value"),e}};class dw extends n(l,a){constructor(e){super(e),this.element=new Om,this.specPath=r(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}}var fw=dw;class mw extends n(l,a){constructor(e){super(e),this.element=new Sm,this.specPath=r(["document","objects","Encoding"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){e=l.prototype.ObjectElement.call(this,e);return w(this.element.headers)&&this.element.headers.filter(Zv).forEach((e,t)=>{e.setMetaProperty("header-name",M(t))}),e}}var gw=mw;class yw extends x.Sh{static primaryClass="encoding-headers";constructor(e,t,r){super(e,t,r),this.classes.push(yw.primaryClass)}}const vw=yw;class bw extends n(u,a){constructor(e){super(e),this.element=new vw,this.specPath=e=>k(e)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){e=u.prototype.ObjectElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","header")}),this.element.forEach((e,t)=>{Zv(e)&&(t=M(t),e.setMetaProperty("headerName",t))}),e}}var ww=bw;class Ew extends n(l0,a){constructor(e){super(e),this.element=new Zm,this.specPath=r(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=xh}ObjectElement(e){e=l0.prototype.ObjectElement.call(this,e);return this.element.filter(ab).forEach((e,t)=>{t.classes.push("openapi-path-template"),t.classes.push("path-template"),e.setMetaProperty("path",_(t))}),e}}var xw=Ew;class Sw extends n(l,a){constructor(e){super(e),this.element=new ng,this.specPath=r(["document","objects","RequestBody"])}ObjectElement(e){e=l.prototype.ObjectElement.call(this,e);return w(this.element.contentProp)&&this.element.contentProp.filter(vb).forEach((e,t)=>{e.setMetaProperty("media-type",M(t))}),e}}var _w=Sw;class kw extends x.Sh{static primaryClass="request-body-content";constructor(e,t,r){super(e,t,r),this.classes.push(kw.primaryClass),this.classes.push("content")}}const Aw=kw;var Ow=class extends Yb{constructor(e){super(e),this.element=new Aw}};class Cw extends n(l0,a){constructor(e){super(e),this.element=new mm,this.specPath=r(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=e=>/{(?<expression>[^}]{1,2083})}/.test(String(e))}ObjectElement(e){e=u.prototype.ObjectElement.call(this,e);return this.element.filter(ab).forEach((e,t)=>{e.setMetaProperty("runtime-expression",M(t))}),e}}var jw=Cw;class Pw extends n(l,a){constructor(e){super(e),this.element=new og,this.specPath=r(["document","objects","Response"])}ObjectElement(e){e=l.prototype.ObjectElement.call(this,e);return w(this.element.contentProp)&&this.element.contentProp.filter(vb).forEach((e,t)=>{e.setMetaProperty("media-type",M(t))}),w(this.element.headers)&&this.element.headers.filter(Zv).forEach((e,t)=>{e.setMetaProperty("header-name",M(t))}),e}}var Nw=Pw;class Iw extends x.Sh{static primaryClass="response-headers";constructor(e,t,r){super(e,t,r),this.classes.push(Iw.primaryClass)}}const Tw=Iw;class Mw extends n(u,a){constructor(e){super(e),this.element=new Tw,this.specPath=e=>k(e)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){e=u.prototype.ObjectElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","header")}),this.element.forEach((e,t)=>{Zv(e)&&(t=M(t),e.setMetaProperty("header-name",t))}),e}}var Rw=Mw;class Dw extends x.Sh{static primaryClass="response-content";constructor(e,t,r){super(e,t,r),this.classes.push(Dw.primaryClass),this.classes.push("content")}}const Lw=Dw;Yb=class extends Yb{constructor(e){super(e),this.element=new Lw}};class Fw extends x.Sh{static primaryClass="response-links";constructor(e,t,r){super(e,t,r),this.classes.push(Fw.primaryClass)}}const Bw=Fw;class $w extends n(u,a){constructor(e){super(e),this.element=new Bw,this.specPath=e=>k(e)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(e){e=u.prototype.ObjectElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","link")}),e}}var qw=$w;function Uw(e){return"[object Number]"===Object.prototype.toString.call(e)}const zw=t(function(e,t){if(!Uw(e)||!Uw(t))throw new TypeError("Both arguments to range must be numbers");for(var r=Array(e<t?t-e:0),n=e<0?t+Math.abs(e):t-e,s=0;s<n;)r[s]=s+e,s+=1;return r});function Vw(e,t,r){var n,s,o=typeof e;switch(o){case"string":case"number":return 0===e&&1/e==-1/0?!!r._items["-0"]||(t&&(r._items["-0"]=!0),!1):null!==r._nativeSet?t?(n=r._nativeSet.size,r._nativeSet.add(e),r._nativeSet.size===n):r._nativeSet.has(e):o in r._items?e in r._items[o]||(t&&(r._items[o][e]=!0),!1):(t&&(r._items[o]={},r._items[o][e]=!0),!1);case"boolean":return o in r._items?!!r._items[o][s=e?1:0]||(t&&(r._items[o][s]=!0),!1):(t&&(r._items[o]=e?[!1,!0]:[!0,!1]),!1);case"function":return null!==r._nativeSet?t?(n=r._nativeSet.size,r._nativeSet.add(e),r._nativeSet.size===n):r._nativeSet.has(e):o in r._items?!!Mc(e,r._items[o])||(t&&r._items[o].push(e),!1):(t&&(r._items[o]=[e]),!1);case"undefined":return!!r._items[o]||(t&&(r._items[o]=!0),!1);case"object":if(null===e)return!!r._items.null||(t&&(r._items.null=!0),!1);default:return(o=Object.prototype.toString.call(e))in r._items?!!Mc(e,r._items[o])||(t&&r._items[o].push(e),!1):(t&&(r._items[o]=[e]),!1)}}Ww.prototype.add=function(e){return!Vw(e,!0,this)},Ww.prototype.has=function(e){return Vw(e,!1,this)};const Kw=Ww;function Ww(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}const Jw=t(function(e,t){for(var r=[],n=0,s=e.length,o=t.length,i=new Kw,a=0;a<o;a+=1)i.add(t[a]);for(;n<s;)i.add(e[n])&&(r[r.length]=e[n]),n+=1;return r});class Hw extends n(l,l0){specPathFixedFields;specPathPatternedFields;constructor({specPathFixedFields:e,specPathPatternedFields:t,...r}){super({...r}),this.specPathFixedFields=e,this.specPathPatternedFields=t}ObjectElement(e){const{specPath:t,ignoredFields:r}=this;try{this.specPath=this.specPathFixedFields;const t=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...r,...Jw(e.keys(),t)],l.prototype.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=t,l0.prototype.ObjectElement.call(this,e)}catch(e){throw this.specPath=t,e}return A}}const Gw=Hw;class Yw extends n(Gw,a){constructor(e){super(e),this.element=new ag,this.specPathFixedFields=r(["document","objects","Responses"]),this.canSupportSpecificationExtensions=!0,this.specPathPatternedFields=e=>k(e)?["document","objects","Reference"]:["document","objects","Response"],this.fieldPatternPredicate=e=>new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${zw(100,600).join("|")})$`).test(String(e))}ObjectElement(e){e=Gw.prototype.ObjectElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","response")}),this.element.filter(ub).forEach((e,t)=>{t=_(t);this.fieldPatternPredicate(M(t))&&e.setMetaProperty("http-status-code",t)}),e}}var Xw=Yw;class Qw extends n(Jv,a){constructor(e){super(e),this.alternator=[{predicate:k,specPath:["document","objects","Reference"]},{predicate:xh,specPath:["document","objects","Response"]}]}ObjectElement(e){e=Jv.prototype.enter.call(this,e);return p(this.element)?this.element.setMetaProperty("referenced-element","response"):ub(this.element)&&this.element.setMetaProperty("http-status-code","default"),e}}var Zw=Qw;class eE extends n(l,a){constructor(e){super(e),this.element=new Jm,this.specPath=r(["document","objects","Operation"])}}var tE=eE;class rE extends x.wE{static primaryClass="operation-tags";constructor(e,t,r){super(e,t,r),this.classes.push(rE.primaryClass)}}const nE=rE;var sE=class extends a{constructor(e){super(e),this.element=new nE}ArrayElement(e){return this.element=this.element.concat(_(e)),A}};class oE extends x.wE{static primaryClass="operation-parameters";constructor(e,t,r){super(e,t,r),this.classes.push(oE.primaryClass),this.classes.push("parameters")}}const iE=oE;class aE extends n(Qy,a){constructor(e){super(e),this.element=new x.wE,this.element.classes.push("parameters")}ArrayElement(e){return e.forEach(e=>{const t=k(e)?["document","objects","Reference"]:["document","objects","Parameter"],r=this.toRefractedElement(t,e);p(r)&&r.setMetaProperty("referenced-element","parameter"),this.element.push(r)}),this.copyMetaAndAttributes(e,this.element),A}}var lE=aE,cE=class extends lE{constructor(e){super(e),this.element=new iE}},uE=class extends Jv{constructor(e){super(e),this.alternator=[{predicate:k,specPath:["document","objects","Reference"]},{predicate:xh,specPath:["document","objects","RequestBody"]}]}ObjectElement(e){e=Jv.prototype.enter.call(this,e);return p(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),e}};class pE extends x.Sh{static primaryClass="operation-callbacks";constructor(e,t,r){super(e,t,r),this.classes.push(pE.primaryClass)}}const hE=pE;class dE extends n(u,a){specPath;constructor(e){super(e),this.element=new hE,this.specPath=e=>k(e)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(e){e=u.prototype.ObjectElement.call(this,e);return this.element.filter(p).forEach(e=>{e.setMetaProperty("referenced-element","callback")}),e}}var fE=dE;class mE extends x.wE{static primaryClass="operation-security";constructor(e,t,r){super(e,t,r),this.classes.push(mE.primaryClass),this.classes.push("security")}}const gE=mE;class yE extends n(Qy,a){constructor(e){super(e),this.element=new gE}ArrayElement(e){return e.forEach(e=>{var t=w(e)?["document","objects","SecurityRequirement"]:["value"],t=this.toRefractedElement(t,e);this.element.push(t)}),this.copyMetaAndAttributes(e,this.element),A}}var vE=yE;class bE extends x.wE{static primaryClass="operation-servers";constructor(e,t,r){super(e,t,r),this.classes.push(bE.primaryClass),this.classes.push("servers")}}const wE=bE;var EE=class extends Cr{constructor(e){super(e),this.element=new wE}};class xE extends n(l,a){constructor(e){super(e),this.element=new Xm,this.specPath=r(["document","objects","PathItem"])}ObjectElement(e){e=l.prototype.ObjectElement.call(this,e);return this.element.filter(ob).forEach((e,t)=>{const r=_(t);r.content=M(r).toUpperCase(),e.setMetaProperty("http-method",r)}),S(this.element.$ref)&&this.element.classes.push("reference-element"),e}}var SE=xE,_E=class extends a{StringElement(e){e=super.enter(e);return this.element.classes.push("reference-value"),e}};class kE extends x.wE{static primaryClass="path-item-servers";constructor(e,t,r){super(e,t,r),this.classes.push(kE.primaryClass),this.classes.push("servers")}}const AE=kE;var OE=class extends Cr{constructor(e){super(e),this.element=new AE}};class CE extends x.wE{static primaryClass="path-item-parameters";constructor(e,t,r){super(e,t,r),this.classes.push(CE.primaryClass),this.classes.push("parameters")}}const jE=CE;lE=class extends lE{constructor(e){super(e),this.element=new jE}};class PE extends n(l,a){constructor(e){super(e),this.element=new zy,this.specPath=r(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}}var NE=PE;class IE extends n(l,a){constructor(e){super(e),this.element=new qm,this.specPath=r(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}}var TE=IE;class ME extends n(l,a){constructor(e){super(e),this.element=new Bm,this.specPath=r(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}}var RE=ME;class DE extends x.Sh{static primaryClass="oauth-flow-scopes";constructor(e,t,r){super(e,t,r),this.classes.push(DE.primaryClass)}}const LE=DE;class FE extends n(u,a){constructor(e){super(e),this.element=new LE,this.specPath=r(["value"])}}var BE=FE;class $E extends x.wE{static primaryClass="tags";constructor(e,t,r){super(e,t,r),this.classes.push($E.primaryClass)}}const qE=$E;class UE extends n(Qy,a){constructor(e){super(e),this.element=new qE}ArrayElement(e){return e.forEach(e=>{var t=e0(e)?["document","objects","Tag"]:["value"],t=this.toRefractedElement(t,e);this.element.push(t)}),this.copyMetaAndAttributes(e,this.element),A}}const zE=UE,VE=Cy.visitors.document.objects.JSONSchema["fixedFields"],h={visitors:{value:a,document:{objects:{OpenApi:{$visitor:Rr,fixedFields:{openapi:G,info:{$ref:"#/visitors/document/objects/Info"},servers:Cr,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:Mn,tags:zE,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:ds,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:fs}},Contact:{$visitor:Mr,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:be,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Server:{$visitor:T,fixedFields:{url:Tr,description:{$ref:"#/visitors/value"},variables:Fr}},ServerVariable:{$visitor:Ar,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},Components:{$visitor:Ib,fixedFields:{schemas:N1,responses:R1,parameters:B1,examples:z1,requestBodies:J1,headers:X1,securitySchemes:tw,links:ow,callbacks:cw}},Paths:{$visitor:xw},PathItem:{$visitor:SE,fixedFields:{$ref:_E,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:OE,parameters:lE}},Operation:{$visitor:tE,fixedFields:{tags:sE,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:{$ref:"#/visitors/value"},parameters:cE,requestBody:uE,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:fE,deprecated:{$ref:"#/visitors/value"},security:vE,servers:EE}},ExternalDocumentation:{$visitor:fw,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Parameter:{$visitor:Bb,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:qb,example:{$ref:"#/visitors/value"},examples:kr,content:O1}},RequestBody:{$visitor:_w,fixedFields:{description:{$ref:"#/visitors/value"},content:Ow,required:{$ref:"#/visitors/value"}}},MediaType:{$visitor:Br,fixedFields:{schema:Vr,example:{$ref:"#/visitors/value"},examples:_r,encoding:Or}},Encoding:{$visitor:gw,fixedFields:{contentType:{$ref:"#/visitors/value"},headers:ww,style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"}}},Responses:{$visitor:Xw,fixedFields:{default:Zw}},Response:{$visitor:Nw,fixedFields:{description:{$ref:"#/visitors/value"},headers:Rw,content:Yb,links:qw}},Callback:{$visitor:jw},Example:{$visitor:pw,fixedFields:{summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},value:{$ref:"#/visitors/value"},externalValue:hw}},Link:{$visitor:H,fixedFields:{operationRef:Tn,operationId:I,parameters:qr,requestBody:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:zb,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:Kb,example:{$ref:"#/visitors/value"},examples:Hb,content:Zb}},Tag:{$visitor:Mb,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:Db,fixedFields:{$ref:Lb}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Schema:{$visitor:t1,fixedFields:{title:VE.title,multipleOf:VE.multipleOf,maximum:VE.maximum,exclusiveMaximum:VE.exclusiveMaximum,minimum:VE.minimum,exclusiveMinimum:VE.exclusiveMinimum,maxLength:VE.maxLength,minLength:VE.minLength,pattern:VE.pattern,maxItems:VE.maxItems,minItems:VE.minItems,uniqueItems:VE.uniqueItems,maxProperties:VE.maxProperties,minProperties:VE.minProperties,required:VE.required,enum:VE.enum,type:d1,allOf:n1,anyOf:o1,oneOf:a1,not:h1,items:c1,properties:p1,additionalProperties:h1,description:VE.description,format:VE.format,default:VE.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:g1,fixedFields:{propertyName:{$ref:"#/visitors/value"},mapping:w1}},XML:{$visitor:x1,fixedFields:{name:{$ref:"#/visitors/value"},namespace:{$ref:"#/visitors/value"},prefix:{$ref:"#/visitors/value"},attribute:{$ref:"#/visitors/value"},wrapped:{$ref:"#/visitors/value"}}},SecurityScheme:{$visitor:NE,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:TE,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:RE,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:BE}},SecurityRequirement:{$visitor:Hr}},extension:{$visitor:jr}}}},KE=e=>{if(Bd(e))return e.element.charAt(0).toUpperCase()+e.element.slice(1)+"Element"},WE={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"],...uf},JE={namespace:e=>{const t=e["base"];return t.register("callback",mm),t.register("components",ym),t.register("contact",bm),t.register("discriminator",Em),t.register("encoding",Sm),t.register("example",km),t.register("externalDocumentation",Om),t.register("header",jm),t.register("info",Nm),t.register("license",Tm),t.register("link",Rm),t.register("mediaType",Lm),t.register("oAuthFlow",Bm),t.register("oAuthFlows",qm),t.register("openapi",zm),t.register("openApi3_0",Km),t.register("operation",Jm),t.register("parameter",Gm),t.register("pathItem",Xm),t.register("paths",Zm),t.register("reference",tg),t.register("requestBody",ng),t.register("response",og),t.register("responses",ag),t.register("schema",By),t.register("securityRequirement",qy),t.register("securityScheme",zy),t.register("server",Ky),t.register("serverVariable",Jy),t.register("tag",Gy),t.register("xml",Xy),t}},HE=JE,GE=()=>{var e=qf(HE);return{predicates:{...Q,isElement:Bd,isStringElement:S,isArrayElement:zd,isObjectElement:w,isMemberElement:Vd,includesClasses:ef,hasElementSourceMap:Qd},namespace:e}},d=s=>(e,t={})=>{var[e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}]=[e,{specPath:s,...t}],e=(0,x.e)(e),n=xg(h),t=new(xf(t,n))({specObj:n});return hf(e,t),Kf(t.element,r,{toolboxCreator:GE,visitorOptions:{keyMap:WE,nodeTypeGetter:KE}})},YE=(mm.refract=d(["visitors","document","objects","Callback","$visitor"]),ym.refract=d(["visitors","document","objects","Components","$visitor"]),bm.refract=d(["visitors","document","objects","Contact","$visitor"]),km.refract=d(["visitors","document","objects","Example","$visitor"]),Em.refract=d(["visitors","document","objects","Discriminator","$visitor"]),Sm.refract=d(["visitors","document","objects","Encoding","$visitor"]),Om.refract=d(["visitors","document","objects","ExternalDocumentation","$visitor"]),jm.refract=d(["visitors","document","objects","Header","$visitor"]),Nm.refract=d(["visitors","document","objects","Info","$visitor"]),Tm.refract=d(["visitors","document","objects","License","$visitor"]),Rm.refract=d(["visitors","document","objects","Link","$visitor"]),Lm.refract=d(["visitors","document","objects","MediaType","$visitor"]),Bm.refract=d(["visitors","document","objects","OAuthFlow","$visitor"]),qm.refract=d(["visitors","document","objects","OAuthFlows","$visitor"]),zm.refract=d(["visitors","document","objects","OpenApi","fixedFields","openapi"]),Km.refract=d(["visitors","document","objects","OpenApi","$visitor"]),Jm.refract=d(["visitors","document","objects","Operation","$visitor"]),Gm.refract=d(["visitors","document","objects","Parameter","$visitor"]),Xm.refract=d(["visitors","document","objects","PathItem","$visitor"]),Zm.refract=d(["visitors","document","objects","Paths","$visitor"]),tg.refract=d(["visitors","document","objects","Reference","$visitor"]),ng.refract=d(["visitors","document","objects","RequestBody","$visitor"]),og.refract=d(["visitors","document","objects","Response","$visitor"]),ag.refract=d(["visitors","document","objects","Responses","$visitor"]),By.refract=d(["visitors","document","objects","Schema","$visitor"]),qy.refract=d(["visitors","document","objects","SecurityRequirement","$visitor"]),zy.refract=d(["visitors","document","objects","SecurityScheme","$visitor"]),Ky.refract=d(["visitors","document","objects","Server","$visitor"]),Jy.refract=d(["visitors","document","objects","ServerVariable","$visitor"]),Gy.refract=d(["visitors","document","objects","Tag","$visitor"]),Xy.refract=d(["visitors","document","objects","XML","$visitor"]),class extends mm{}),XE=class extends ym{get pathItems(){return this.get("pathItems")}set pathItems(e){this.set("pathItems",e)}},QE=class extends bm{},ZE=class extends Em{},e2=class extends Sm{},t2=class extends km{},r2=class extends Om{},n2=class extends jm{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},s2=class extends Nm{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 o2 extends x.Om{static default=new o2("https://spec.openapis.org/oas/3.1/dialect/base");constructor(e,t,r){super(e,t,r),this.element="jsonSchemaDialect"}}const i2=o2,a2=class extends Tm{get identifier(){return this.get("identifier")}set identifier(e){this.set("identifier",e)}},l2=class extends Rm{},c2=class extends Lm{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},u2=class extends Bm{},p2=class extends qm{},h2=class extends zm{};class d2 extends x.Sh{constructor(e,t,r){super(e,t,r),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 f2=d2,m2=class extends Jm{get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}},g2=class extends Gm{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},y2=class extends Xm{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)}},v2=class extends Zm{};class b2 extends tg{}Object.defineProperty(b2.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0}),Object.defineProperty(b2.prototype,"summary",{get(){return this.get("summary")},set(e){this.set("summary",e)},enumerable:!0});const w2=b2,E2=class extends ng{},x2=class extends og{},S2=class extends ag{};class _2 extends x.Sh{constructor(e,t,r){super(e,t,r),this.element="schema"}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get $vocabulary(){return this.get("$vocabulary")}set $vocabulary(e){this.set("$vocabulary",e)}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get $anchor(){return this.get("$anchor")}set $anchor(e){this.set("$anchor",e)}get $dynamicAnchor(){return this.get("$dynamicAnchor")}set $dynamicAnchor(e){this.set("$dynamicAnchor",e)}get $dynamicRef(){return this.get("$dynamicRef")}set $dynamicRef(e){this.set("$dynamicRef",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 $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",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 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 prefixItems(){return this.get("prefixItems")}set prefixItems(e){this.set("prefixItems",e)}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 properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",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 type(){return this.get("type")}set type(e){this.set("type",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get const(){return this.get("const")}set const(e){this.set("const",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 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 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 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 dependentRequired(){return this.get("dependentRequired")}set dependentRequired(e){this.set("dependentRequired",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 deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get format(){return this.get("format")}set format(e){this.set("format",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 contentSchema(){return this.get("contentSchema")}set contentSchema(e){this.set("contentSchema",e)}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)}}const k2=_2,A2=class extends qy{},O2=class extends zy{},C2=class extends Ky{},j2=class extends Jy{},P2=class extends Gy{},N2=class extends Xy{};class I2 extends n(l,a){constructor(e){super(e),this.element=new f2,this.specPath=r(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0,this.openApiSemanticElement=this.element}ObjectElement(e){return this.openApiGenericElement=e,l.prototype.ObjectElement.call(this,e)}}var Rr=I2,{objects:{Info:{$visitor:G}}}=h["visitors"]["document"],Cr=class extends G{constructor(e){super(e),this.element=new s2}},{objects:{Contact:{$visitor:Mn}}}=h["visitors"]["document"],ds=class extends Mn{constructor(e){super(e),this.element=new QE}},{objects:{License:{$visitor:fs}}}=h["visitors"]["document"],Mr=class extends fs{constructor(e){super(e),this.element=new a2}},{objects:{Link:{$visitor:be}}}=h["visitors"]["document"],T=class extends be{constructor(e){super(e),this.element=new l2}};class T2 extends n(Qy,a){StringElement(e){var t=new i2(M(e));return this.copyMetaAndAttributes(e,t),this.element=t,A}}var M2,R2,D2,L2,F2,B2,$2,q2,U2,z2,V2,K2,W2,J2,H2,G2,Y2,X2,Q2,Z2,ex,tx,rx,nx,sx,ox,ix,ax,lx,cx,ux,px,hx,dx,fx,mx,gx,yx,vx,bx,wx,Ex,xx,Sx,_x,kx,Ax,Ox,Cx,jx,Px,Nx,Ix,Tx,Mx,Rx,Dx,Lx,Fx,Bx,$x,qx,Ux,zx,Vx,Kx,Wx,Jx,Hx,Gx,Yx,Xx,Qx,Zx,eS,tS,rS,nS,sS,Tr=T2,{objects:{Server:{$visitor:Fr}}}=h["visitors"]["document"],Ar=class extends Fr{constructor(e){super(e),this.element=new C2}},{objects:{ServerVariable:{$visitor:Ib}}}=h["visitors"]["document"],N1=class extends Ib{constructor(e){super(e),this.element=new j2}},{objects:{MediaType:{$visitor:R1}}}=h["visitors"]["document"],B1=class extends R1{constructor(e){super(e),this.element=new c2}},{objects:{SecurityRequirement:{$visitor:z1}}}=h["visitors"]["document"],J1=class extends z1{constructor(e){super(e),this.element=new A2}},{objects:{Components:{$visitor:X1}}}=h["visitors"]["document"],tw=class extends X1{constructor(e){super(e),this.element=new XE}},{objects:{Tag:{$visitor:ow}}}=h["visitors"]["document"],cw=class extends ow{constructor(e){super(e),this.element=new P2}},{objects:{Reference:{$visitor:xw}}}=h["visitors"]["document"],SE=class extends xw{constructor(e){super(e),this.element=new w2}},{objects:{Parameter:{$visitor:_E}}}=h["visitors"]["document"],OE=class extends _E{constructor(e){super(e),this.element=new g2}},{objects:{Header:{$visitor:lE}}}=h["visitors"]["document"];const oS=class extends lE{constructor(e){super(e),this.element=new n2}},iS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof YE||t(e)&&r("callback",e)&&n("object",e)),aS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof XE||t(e)&&r("components",e)&&n("object",e)),lS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof QE||t(e)&&r("contact",e)&&n("object",e)),cS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof t2||t(e)&&r("example",e)&&n("object",e)),uS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof r2||t(e)&&r("externalDocumentation",e)&&n("object",e)),pS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof n2||t(e)&&r("header",e)&&n("object",e)),hS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof s2||t(e)&&r("info",e)&&n("object",e)),dS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof i2||t(e)&&r("jsonSchemaDialect",e)&&n("string",e)),fS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof a2||t(e)&&r("license",e)&&n("object",e)),mS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof l2||t(e)&&r("link",e)&&n("object",e)),gS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof h2||t(e)&&r("openapi",e)&&n("string",e)),yS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n,hasClass:s})=>e=>e instanceof f2||t(e)&&r("openApi3_1",e)&&n("object",e)&&s("api",e)),vS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof m2||t(e)&&r("operation",e)&&n("object",e)),bS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof g2||t(e)&&r("parameter",e)&&n("object",e)),wS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof y2||t(e)&&r("pathItem",e)&&n("object",e)),ES=e=>{if(!wS(e))return!1;if(!S(e.$ref))return!1;const t=M(e.$ref);return"string"==typeof t&&0<t.length&&!t.startsWith("#")},xS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof v2||t(e)&&r("paths",e)&&n("object",e)),SS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof w2||t(e)&&r("reference",e)&&n("object",e)),_S=e=>{if(!SS(e))return!1;if(!S(e.$ref))return!1;const t=M(e.$ref);return"string"==typeof t&&0<t.length&&!t.startsWith("#")},kS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof E2||t(e)&&r("requestBody",e)&&n("object",e)),AS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof x2||t(e)&&r("response",e)&&n("object",e)),OS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof S2||t(e)&&r("responses",e)&&n("object",e)),CS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof k2||t(e)&&r("schema",e)&&n("object",e)),jS=e=>Ud(e)&&e.classes.includes("boolean-json-schema"),PS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof A2||t(e)&&r("securityRequirement",e)&&n("object",e)),NS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof O2||t(e)&&r("securityScheme",e)&&n("object",e)),IS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof C2||t(e)&&r("server",e)&&n("object",e)),TS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof j2||t(e)&&r("serverVariable",e)&&n("object",e)),MS=e(({hasBasicElementProps:t,isElementType:r,primitiveEq:n})=>e=>e instanceof c2||t(e)&&r("mediaType",e)&&n("object",e));tE=class{parent;constructor({parent:e}){this.parent=e}};class RS extends n(l,tE,a){constructor(e){super(e),this.element=new k2,this.specPath=r(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0,this.jsonSchemaDefaultDialect=i2.default,this.passingOptionsNames.push("parent")}ObjectElement(e){this.handle$schema(e),this.handle$id(e),this.parent=this.element;e=l.prototype.ObjectElement.call(this,e);return S(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),e}BooleanElement(e){e=super.enter(e);return this.element.classes.push("boolean-json-schema"),e}getJsonSchemaDialect(){return void 0!==this.openApiSemanticElement&&dS(this.openApiSemanticElement.jsonSchemaDialect)?M(this.openApiSemanticElement.jsonSchemaDialect):void 0!==this.openApiGenericElement&&S(this.openApiGenericElement.get("jsonSchemaDialect"))?M(this.openApiGenericElement.get("jsonSchemaDialect")):M(this.jsonSchemaDefaultDialect)}handle$schema(e){if(Fu(this.parent)&&!S(e.get("$schema")))this.element.setMetaProperty("inherited$schema",this.getJsonSchemaDialect());else if(CS(this.parent)&&!S(e.get("$schema"))){const e=fu(M(this.parent.meta.get("inherited$schema")),M(this.parent.$schema));this.element.setMetaProperty("inherited$schema",e)}}handle$id(e){const t=void 0!==this.parent?_(this.parent.getMetaProperty("inherited$id",[])):new x.wE,r=M(e.get("$id"));Gg(r)&&t.push(r),this.element.setMetaProperty("inherited$id",t)}}sE=RS,cE=class extends a{ObjectElement(e){e=super.enter(e);return this.element.classes.push("json-schema-$vocabulary"),e}},uE=class extends a{StringElement(e){e=super.enter(e);return this.element.classes.push("reference-value"),e}};class DS extends n(u,tE,a){constructor(e){super(e),this.element=new x.Sh,this.element.classes.push("json-schema-$defs"),this.specPath=r(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}fE=DS;class LS extends n(Qy,tE,a){constructor(e){super(e),this.element=new x.wE,this.element.classes.push("json-schema-allOf"),this.passingOptionsNames.push("parent")}ArrayElement(e){return e.forEach(e=>{var t;w(e)?(t=this.toRefractedElement(["document","objects","Schema"],e),this.element.push(t)):(t=_(e),this.element.push(t))}),this.copyMetaAndAttributes(e,this.element),A}}vE=LS;class FS extends n(Qy,tE,a){constructor(e){super(e),this.element=new x.wE,this.element.classes.push("json-schema-anyOf"),this.passingOptionsNames.push("parent")}ArrayElement(e){return e.forEach(e=>{var t;w(e)?(t=this.toRefractedElement(["document","objects","Schema"],e),this.element.push(t)):(t=_(e),this.element.push(t))}),this.copyMetaAndAttributes(e,this.element),A}}EE=FS;class BS extends n(Qy,tE,a){constructor(e){super(e),this.element=new x.wE,this.element.classes.push("json-schema-oneOf"),this.passingOptionsNames.push("parent")}ArrayElement(e){return e.forEach(e=>{var t;w(e)?(t=this.toRefractedElement(["document","objects","Schema"],e),this.element.push(t)):(t=_(e),this.element.push(t))}),this.copyMetaAndAttributes(e,this.element),A}}fw=BS;class $S extends n(u,tE,a){constructor(e){super(e),this.element=new x.Sh,this.element.classes.push("json-schema-dependentSchemas"),this.specPath=r(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}Bb=$S;class qS extends n(Qy,tE,a){constructor(e){super(e),this.element=new x.wE,this.element.classes.push("json-schema-prefixItems"),this.passingOptionsNames.push("parent")}ArrayElement(e){return e.forEach(e=>{var t;w(e)?(t=this.toRefractedElement(["document","objects","Schema"],e),this.element.push(t)):(t=_(e),this.element.push(t))}),this.copyMetaAndAttributes(e,this.element),A}}qb=qS;class US extends n(u,tE,a){constructor(e){super(e),this.element=new x.Sh,this.element.classes.push("json-schema-properties"),this.specPath=r(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}kr=US;class zS extends n(u,tE,a){constructor(e){super(e),this.element=new x.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=r(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}var O1=zS,_w=class extends a{StringElement(e){e=super.enter(e);return this.element.classes.push("json-schema-type"),e}ArrayElement(e){e=super.enter(e);return this.element.classes.push("json-schema-type"),e}},Ow=class extends a{ArrayElement(e){e=super.enter(e);return this.element.classes.push("json-schema-enum"),e}},Br=class extends a{ObjectElement(e){e=super.enter(e);return this.element.classes.push("json-schema-dependentRequired"),e}},Vr=class extends a{ArrayElement(e){e=super.enter(e);return this.element.classes.push("json-schema-examples"),e}},{objects:{Discriminator:{$visitor:_r}}}=h["visitors"]["document"],Or=class extends _r{constructor(e){super(e),this.element=new ZE,this.canSupportSpecificationExtensions=!0}},{objects:{XML:{$visitor:gw}}}=h["visitors"]["document"],ww=class extends gw{constructor(e){super(e),this.element=new N2}};class VS extends n(u,a){constructor(e){super(e),this.element=new j1,this.specPath=r(["document","objects","Schema"])}}Xw=VS;class KS extends x.Sh{static primaryClass="components-path-items";constructor(e,t,r){super(e,t,r),this.classes.push(KS.primaryClass)}}const WS=KS;class JS extends n(u,a){constructor(e){super(e),this.element=new WS,this.specPath=e=>k(e)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){e=u.prototype.ObjectElement.call(this,e);return this.element.filter(SS).forEach(e=>{e.setMetaProperty("referenced-element","pathItem")}),e}}var Zw=JS,{objects:{Example:{$visitor:Nw}}}=h["visitors"]["document"],Rw=class extends Nw{constructor(e){super(e),this.element=new t2}},{objects:{ExternalDocumentation:{$visitor:Yb}}}=h["visitors"]["document"],qw=class extends Yb{constructor(e){super(e),this.element=new r2}},{objects:{Encoding:{$visitor:jw}}}=h["visitors"]["document"],pw=class extends jw{constructor(e){super(e),this.element=new e2}},{objects:{Paths:{$visitor:hw}}}=h["visitors"]["document"],H=class extends hw{constructor(e){super(e),this.element=new v2}},{objects:{RequestBody:{$visitor:Tn}}}=h["visitors"]["document"];const HS=class extends Tn{constructor(e){super(e),this.element=new E2}},{objects:{Callback:{$visitor:GS}}}=h["visitors"]["document"];var I=class extends GS{constructor(e){super(e),this.element=new YE,this.specPath=e=>k(e)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){e=GS.prototype.ObjectElement.call(this,e);return this.element.filter(SS).forEach(e=>{e.setMetaProperty("referenced-element","pathItem")}),e}},{objects:{Response:{$visitor:qr}}}=h["visitors"]["document"],zb=class extends qr{constructor(e){super(e),this.element=new x2}},{objects:{Responses:{$visitor:Kb}}}=h["visitors"]["document"],Hb=class extends Kb{constructor(e){super(e),this.element=new S2}},{objects:{Operation:{$visitor:Zb}}}=h["visitors"]["document"],Mb=class extends Zb{constructor(e){super(e),this.element=new m2}},{objects:{PathItem:{$visitor:Db}}}=h["visitors"]["document"],Lb=class extends Db{constructor(e){super(e),this.element=new y2}},{objects:{SecurityScheme:{$visitor:p1}}}=h["visitors"]["document"],h1=class extends p1{constructor(e){super(e),this.element=new O2}},{objects:{OAuthFlows:{$visitor:g1}}}=h["visitors"]["document"],w1=class extends g1{constructor(e){super(e),this.element=new p2}},{objects:{OAuthFlow:{$visitor:x1}}}=h["visitors"]["document"],NE=class extends x1{constructor(e){super(e),this.element=new u2}};class YS extends x.Sh{static primaryClass="webhooks";constructor(e,t,r){super(e,t,r),this.classes.push(YS.primaryClass)}}const XS=YS;class QS extends n(u,a){constructor(e){super(e),this.element=new XS,this.specPath=e=>k(e)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){e=u.prototype.ObjectElement.call(this,e);return this.element.filter(SS).forEach(e=>{e.setMetaProperty("referenced-element","pathItem")}),this.element.filter(wS).forEach((e,t)=>{e.setMetaProperty("webhook-name",M(t))}),e}}const ZS=QS,e_={visitors:{value:h.visitors.value,document:{objects:{OpenApi:{$visitor:Rr,fixedFields:{openapi:h.visitors.document.objects.OpenApi.fixedFields.openapi,info:{$ref:"#/visitors/document/objects/Info"},jsonSchemaDialect:Tr,servers:h.visitors.document.objects.OpenApi.fixedFields.servers,paths:{$ref:"#/visitors/document/objects/Paths"},webhooks:ZS,components:{$ref:"#/visitors/document/objects/Components"},security:h.visitors.document.objects.OpenApi.fixedFields.security,tags:h.visitors.document.objects.OpenApi.fixedFields.tags,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:Cr,fixedFields:{title:h.visitors.document.objects.Info.fixedFields.title,description:h.visitors.document.objects.Info.fixedFields.description,summary:{$ref:"#/visitors/value"},termsOfService:h.visitors.document.objects.Info.fixedFields.termsOfService,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:h.visitors.document.objects.Info.fixedFields.version}},Contact:{$visitor:ds,fixedFields:{name:h.visitors.document.objects.Contact.fixedFields.name,url:h.visitors.document.objects.Contact.fixedFields.url,email:h.visitors.document.objects.Contact.fixedFields.email}},License:{$visitor:Mr,fixedFields:{name:h.visitors.document.objects.License.fixedFields.name,identifier:{$ref:"#/visitors/value"},url:h.visitors.document.objects.License.fixedFields.url}},Server:{$visitor:Ar,fixedFields:{url:h.visitors.document.objects.Server.fixedFields.url,description:h.visitors.document.objects.Server.fixedFields.description,variables:h.visitors.document.objects.Server.fixedFields.variables}},ServerVariable:{$visitor:N1,fixedFields:{enum:h.visitors.document.objects.ServerVariable.fixedFields.enum,default:h.visitors.document.objects.ServerVariable.fixedFields.default,description:h.visitors.document.objects.ServerVariable.fixedFields.description}},Components:{$visitor:tw,fixedFields:{schemas:Xw,responses:h.visitors.document.objects.Components.fixedFields.responses,parameters:h.visitors.document.objects.Components.fixedFields.parameters,examples:h.visitors.document.objects.Components.fixedFields.examples,requestBodies:h.visitors.document.objects.Components.fixedFields.requestBodies,headers:h.visitors.document.objects.Components.fixedFields.headers,securitySchemes:h.visitors.document.objects.Components.fixedFields.securitySchemes,links:h.visitors.document.objects.Components.fixedFields.links,callbacks:h.visitors.document.objects.Components.fixedFields.callbacks,pathItems:Zw}},Paths:{$visitor:H},PathItem:{$visitor:Lb,fixedFields:{$ref:h.visitors.document.objects.PathItem.fixedFields.$ref,summary:h.visitors.document.objects.PathItem.fixedFields.summary,description:h.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:h.visitors.document.objects.PathItem.fixedFields.servers,parameters:h.visitors.document.objects.PathItem.fixedFields.parameters}},Operation:{$visitor:Mb,fixedFields:{tags:h.visitors.document.objects.Operation.fixedFields.tags,summary:h.visitors.document.objects.Operation.fixedFields.summary,description:h.visitors.document.objects.Operation.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:h.visitors.document.objects.Operation.fixedFields.operationId,parameters:h.visitors.document.objects.Operation.fixedFields.parameters,requestBody:h.visitors.document.objects.Operation.fixedFields.requestBody,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:h.visitors.document.objects.Operation.fixedFields.callbacks,deprecated:h.visitors.document.objects.Operation.fixedFields.deprecated,security:h.visitors.document.objects.Operation.fixedFields.security,servers:h.visitors.document.objects.Operation.fixedFields.servers}},ExternalDocumentation:{$visitor:qw,fixedFields:{description:h.visitors.document.objects.ExternalDocumentation.fixedFields.description,url:h.visitors.document.objects.ExternalDocumentation.fixedFields.url}},Parameter:{$visitor:OE,fixedFields:{name:h.visitors.document.objects.Parameter.fixedFields.name,in:h.visitors.document.objects.Parameter.fixedFields.in,description:h.visitors.document.objects.Parameter.fixedFields.description,required:h.visitors.document.objects.Parameter.fixedFields.required,deprecated:h.visitors.document.objects.Parameter.fixedFields.deprecated,allowEmptyValue:h.visitors.document.objects.Parameter.fixedFields.allowEmptyValue,style:h.visitors.document.objects.Parameter.fixedFields.style,explode:h.visitors.document.objects.Parameter.fixedFields.explode,allowReserved:h.visitors.document.objects.Parameter.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:h.visitors.document.objects.Parameter.fixedFields.example,examples:h.visitors.document.objects.Parameter.fixedFields.examples,content:h.visitors.document.objects.Parameter.fixedFields.content}},RequestBody:{$visitor:HS,fixedFields:{description:h.visitors.document.objects.RequestBody.fixedFields.description,content:h.visitors.document.objects.RequestBody.fixedFields.content,required:h.visitors.document.objects.RequestBody.fixedFields.required}},MediaType:{$visitor:B1,fixedFields:{schema:{$ref:"#/visitors/document/objects/Schema"},example:h.visitors.document.objects.MediaType.fixedFields.example,examples:h.visitors.document.objects.MediaType.fixedFields.examples,encoding:h.visitors.document.objects.MediaType.fixedFields.encoding}},Encoding:{$visitor:pw,fixedFields:{contentType:h.visitors.document.objects.Encoding.fixedFields.contentType,headers:h.visitors.document.objects.Encoding.fixedFields.headers,style:h.visitors.document.objects.Encoding.fixedFields.style,explode:h.visitors.document.objects.Encoding.fixedFields.explode,allowReserved:h.visitors.document.objects.Encoding.fixedFields.allowReserved}},Responses:{$visitor:Hb,fixedFields:{default:h.visitors.document.objects.Responses.fixedFields.default}},Response:{$visitor:zb,fixedFields:{description:h.visitors.document.objects.Response.fixedFields.description,headers:h.visitors.document.objects.Response.fixedFields.headers,content:h.visitors.document.objects.Response.fixedFields.content,links:h.visitors.document.objects.Response.fixedFields.links}},Callback:{$visitor:I},Example:{$visitor:Rw,fixedFields:{summary:h.visitors.document.objects.Example.fixedFields.summary,description:h.visitors.document.objects.Example.fixedFields.description,value:h.visitors.document.objects.Example.fixedFields.value,externalValue:h.visitors.document.objects.Example.fixedFields.externalValue}},Link:{$visitor:T,fixedFields:{operationRef:h.visitors.document.objects.Link.fixedFields.operationRef,operationId:h.visitors.document.objects.Link.fixedFields.operationId,parameters:h.visitors.document.objects.Link.fixedFields.parameters,requestBody:h.visitors.document.objects.Link.fixedFields.requestBody,description:h.visitors.document.objects.Link.fixedFields.description,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:oS,fixedFields:{description:h.visitors.document.objects.Header.fixedFields.description,required:h.visitors.document.objects.Header.fixedFields.required,deprecated:h.visitors.document.objects.Header.fixedFields.deprecated,allowEmptyValue:h.visitors.document.objects.Header.fixedFields.allowEmptyValue,style:h.visitors.document.objects.Header.fixedFields.style,explode:h.visitors.document.objects.Header.fixedFields.explode,allowReserved:h.visitors.document.objects.Header.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:h.visitors.document.objects.Header.fixedFields.example,examples:h.visitors.document.objects.Header.fixedFields.examples,content:h.visitors.document.objects.Header.fixedFields.content}},Tag:{$visitor:cw,fixedFields:{name:h.visitors.document.objects.Tag.fixedFields.name,description:h.visitors.document.objects.Tag.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:SE,fixedFields:{$ref:h.visitors.document.objects.Reference.fixedFields.$ref,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},Schema:{$visitor:sE,fixedFields:{$schema:{$ref:"#/visitors/value"},$vocabulary:cE,$id:{$ref:"#/visitors/value"},$anchor:{$ref:"#/visitors/value"},$dynamicAnchor:{$ref:"#/visitors/value"},$dynamicRef:{$ref:"#/visitors/value"},$ref:uE,$defs:fE,$comment:{$ref:"#/visitors/value"},allOf:vE,anyOf:EE,oneOf:fw,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:Bb,prefixItems:qb,items:{$ref:"#/visitors/document/objects/Schema"},contains:{$ref:"#/visitors/document/objects/Schema"},properties:kr,patternProperties:O1,additionalProperties:{$ref:"#/visitors/document/objects/Schema"},propertyNames:{$ref:"#/visitors/document/objects/Schema"},unevaluatedItems:{$ref:"#/visitors/document/objects/Schema"},unevaluatedProperties:{$ref:"#/visitors/document/objects/Schema"},type:_w,enum:Ow,const:{$ref:"#/visitors/value"},multipleOf:{$ref:"#/visitors/value"},maximum:{$ref:"#/visitors/value"},exclusiveMaximum:{$ref:"#/visitors/value"},minimum:{$ref:"#/visitors/value"},exclusiveMinimum:{$ref:"#/visitors/value"},maxLength:{$ref:"#/visitors/value"},minLength:{$ref:"#/visitors/value"},pattern:{$ref:"#/visitors/value"},maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxContains:{$ref:"#/visitors/value"},minContains:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},dependentRequired:Br,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},readOnly:{$ref:"#/visitors/value"},writeOnly:{$ref:"#/visitors/value"},examples:Vr,format:{$ref:"#/visitors/value"},contentEncoding:{$ref:"#/visitors/value"},contentMediaType:{$ref:"#/visitors/value"},contentSchema:{$ref:"#/visitors/document/objects/Schema"},discriminator:{$ref:"#/visitors/document/objects/Discriminator"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:{$ref:"#/visitors/value"}}},Discriminator:{$visitor:Or,fixedFields:{propertyName:h.visitors.document.objects.Discriminator.fixedFields.propertyName,mapping:h.visitors.document.objects.Discriminator.fixedFields.mapping}},XML:{$visitor:ww,fixedFields:{name:h.visitors.document.objects.XML.fixedFields.name,namespace:h.visitors.document.objects.XML.fixedFields.namespace,prefix:h.visitors.document.objects.XML.fixedFields.prefix,attribute:h.visitors.document.objects.XML.fixedFields.attribute,wrapped:h.visitors.document.objects.XML.fixedFields.wrapped}},SecurityScheme:{$visitor:h1,fixedFields:{type:h.visitors.document.objects.SecurityScheme.fixedFields.type,description:h.visitors.document.objects.SecurityScheme.fixedFields.description,name:h.visitors.document.objects.SecurityScheme.fixedFields.name,in:h.visitors.document.objects.SecurityScheme.fixedFields.in,scheme:h.visitors.document.objects.SecurityScheme.fixedFields.scheme,bearerFormat:h.visitors.document.objects.SecurityScheme.fixedFields.bearerFormat,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:h.visitors.document.objects.SecurityScheme.fixedFields.openIdConnectUrl}},OAuthFlows:{$visitor:w1,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:NE,fixedFields:{authorizationUrl:h.visitors.document.objects.OAuthFlow.fixedFields.authorizationUrl,tokenUrl:h.visitors.document.objects.OAuthFlow.fixedFields.tokenUrl,refreshUrl:h.visitors.document.objects.OAuthFlow.fixedFields.refreshUrl,scopes:h.visitors.document.objects.OAuthFlow.fixedFields.scopes}},SecurityRequirement:{$visitor:J1}},extension:{$visitor:h.visitors.document.extension.$visitor}}}},t_=e=>{if(Bd(e))return e.element.charAt(0).toUpperCase()+e.element.slice(1)+"Element"},r_={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"],...uf},n_={namespace:e=>{const t=e["base"];return t.register("callback",YE),t.register("components",XE),t.register("contact",QE),t.register("discriminator",ZE),t.register("encoding",e2),t.register("example",t2),t.register("externalDocumentation",r2),t.register("header",n2),t.register("info",s2),t.register("jsonSchemaDialect",i2),t.register("license",a2),t.register("link",l2),t.register("mediaType",c2),t.register("oAuthFlow",u2),t.register("oAuthFlows",p2),t.register("openapi",h2),t.register("openApi3_1",f2),t.register("operation",m2),t.register("parameter",g2),t.register("pathItem",y2),t.register("paths",v2),t.register("reference",w2),t.register("requestBody",E2),t.register("response",x2),t.register("responses",S2),t.register("schema",k2),t.register("securityRequirement",A2),t.register("securityScheme",O2),t.register("server",C2),t.register("serverVariable",j2),t.register("tag",P2),t.register("xml",N2),t}},s_=n_,o_=()=>{var e=qf(s_);return{predicates:{...ee,isElement:Bd,isStringElement:S,isArrayElement:zd,isObjectElement:w,isMemberElement:Vd,isServersElement:bb,includesClasses:ef,hasElementSourceMap:Qd},namespace:e}},f=s=>(e,t={})=>{var[e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}]=[e,{specPath:s,...t}],e=(0,x.e)(e),n=xg(e_),t=new(xf(t,n))({specObj:n});return hf(e,t),Kf(t.element,r,{toolboxCreator:o_,visitorOptions:{keyMap:r_,nodeTypeGetter:t_}})},i_=(YE.refract=f(["visitors","document","objects","Callback","$visitor"]),XE.refract=f(["visitors","document","objects","Components","$visitor"]),QE.refract=f(["visitors","document","objects","Contact","$visitor"]),t2.refract=f(["visitors","document","objects","Example","$visitor"]),ZE.refract=f(["visitors","document","objects","Discriminator","$visitor"]),e2.refract=f(["visitors","document","objects","Encoding","$visitor"]),r2.refract=f(["visitors","document","objects","ExternalDocumentation","$visitor"]),n2.refract=f(["visitors","document","objects","Header","$visitor"]),s2.refract=f(["visitors","document","objects","Info","$visitor"]),i2.refract=f(["visitors","document","objects","OpenApi","fixedFields","jsonSchemaDialect"]),a2.refract=f(["visitors","document","objects","License","$visitor"]),l2.refract=f(["visitors","document","objects","Link","$visitor"]),c2.refract=f(["visitors","document","objects","MediaType","$visitor"]),u2.refract=f(["visitors","document","objects","OAuthFlow","$visitor"]),p2.refract=f(["visitors","document","objects","OAuthFlows","$visitor"]),h2.refract=f(["visitors","document","objects","OpenApi","fixedFields","openapi"]),f2.refract=f(["visitors","document","objects","OpenApi","$visitor"]),m2.refract=f(["visitors","document","objects","Operation","$visitor"]),g2.refract=f(["visitors","document","objects","Parameter","$visitor"]),y2.refract=f(["visitors","document","objects","PathItem","$visitor"]),v2.refract=f(["visitors","document","objects","Paths","$visitor"]),w2.refract=f(["visitors","document","objects","Reference","$visitor"]),E2.refract=f(["visitors","document","objects","RequestBody","$visitor"]),x2.refract=f(["visitors","document","objects","Response","$visitor"]),S2.refract=f(["visitors","document","objects","Responses","$visitor"]),k2.refract=f(["visitors","document","objects","Schema","$visitor"]),A2.refract=f(["visitors","document","objects","SecurityRequirement","$visitor"]),O2.refract=f(["visitors","document","objects","SecurityScheme","$visitor"]),C2.refract=f(["visitors","document","objects","Server","$visitor"]),j2.refract=f(["visitors","document","objects","ServerVariable","$visitor"]),P2.refract=f(["visitors","document","objects","Tag","$visitor"]),N2.refract=f(["visitors","document","objects","XML","$visitor"]),class extends lg{});class a_ extends class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new i_("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new i_("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new i_("latest method in MediaTypes class is not yet implemented.")}}{filterByFormat(e="generic"){const t="generic"===e?"openapi;version":e;return this.filter(e=>e.includes(t))}findBy(e="3.1.0",t="generic"){const r="generic"===t?"vnd.oai.openapi;version="+e:`vnd.oai.openapi+${t};version=`+e;return this.find(e=>e.includes(r))||this.unknownMediaType}latest(e="generic"){return yu(this.filterByFormat(e))}}const l_=new a_("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"),c_=class{uri;depth;value;refSet;errors;constructor({uri:e,depth:t=0,refSet:r,value:n}){this.uri=e,this.value=n,this.depth=t,this.refSet=r,this.errors=[]}},u_=class{rootRef;refs;circular;constructor({refs:e=[],circular:t=!1}={}){this.refs=[],this.circular=t,e.forEach(this.add.bind(this))}get size(){return this.refs.length}add(e){return this.has(e)||(this.refs.push(e),this.rootRef=void 0===this.rootRef?e:this.rootRef,e.refSet=this),this}merge(e){for(const t of e.values())this.add(t);return this}has(e){const t=Gu(e)?e:e.uri;return Bu(this.find(e=>e.uri===t))}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}},p_={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:Pr,immutable:!0},bundle:{strategies:[],refSet:null,maxDepth:1/0}},h_=t(function(r,n){return function(e){return function(t){return Iu(function(e){return n(e,t)},e(r(t)))}}}),d_=dc(function e(t,r,n){if(0===t.length)return r;var s=t[0],t=(1<t.length&&(o=!vg(n)&&xc(s,n)&&"object"==typeof n[s]?n[s]:fc(t[1])?[]:{},r=e(Array.prototype.slice.call(t,1),r,o)),s),o=r,i=n;if(fc(t)&&qc(i))return(s=[].concat(i))[t]=o,s;var a,l={};for(a in i)l[a]=i[a];return l[t]=o,l});function f_(t){return{value:t,map:function(e){return f_(e(t))}}}const m_=dc(function(e,t,r){return e(function(e){return f_(t(e))})(r).value}),g_=h_(xf(["resolve","baseURI"]),d_(["resolve","baseURI"])),y_=e=>nm(e)?op():e,v_=(e,t)=>{e=Ef(e,t);return m_(g_,y_,e)},b_=class{uri;mediaType;data;parseResult;constructor({uri:e,mediaType:t="text/plain",data:r,parseResult:n}){this.uri=e,this.mediaType=t,this.data=r,this.parseResult=n}get extension(){return Gu(this.uri)?(e=this.uri,0<=(t=e.lastIndexOf("."))?e.substring(t).toLowerCase():""):"";var e,t}toString(){return"string"==typeof this.data?this.data:this.data instanceof ArrayBuffer||["ArrayBuffer"].includes(Pc(this.data))||ArrayBuffer.isView(this.data)?new TextDecoder("utf-8").decode(this.data):String(this.data)}},w_=class extends cc{plugin;constructor(e,t){super(e,{cause:t.cause}),this.plugin=t.plugin}},E_=async(e,t,r)=>{const n=await Promise.all(r.map(Nf([e],t)));return r.filter((e,t)=>n[t])},x_=async(e,t,r)=>{let n;for(const s of r)try{const r=await s[e].call(s,...t);return{plugin:s,result:r}}catch(e){n=new w_("Error while running plugin",{cause:e,plugin:s})}return Promise.reject(n)},S_=class extends cc{},__=class extends S_{},k_=class extends cc{},A_=class extends k_{};TE=class{name;allowEmpty;sourceMap;fileExtensions;mediaTypes;constructor({name:e,allowEmpty:t=!0,sourceMap:r=!1,fileExtensions:n=[],mediaTypes:s=[]}){this.name=e,this.allowEmpty=t,this.sourceMap=r,this.fileExtensions=n,this.mediaTypes=s}};const O_=class extends TE{constructor(e){super({...null!=e?e:{},name:"binary"})}canParse(e){return 0===this.fileExtensions.length||this.fileExtensions.includes(e.extension)}parse(t){try{const e=unescape(encodeURIComponent(t.toString())),r=btoa(e),n=new Nd;if(0!==r.length){const t=new x.Om(r);t.classes.push("result"),n.push(t)}return n}catch(e){throw new A_(`Error parsing "${t.uri}"`,{cause:e})}}},C_=class extends class{name;constructor({name:e}){this.name=e}}{constructor(e){super({...null!=e?e:{},name:"openapi-3-1"})}canResolve(e,t){const r=t.dereference.strategies.find(e=>"openapi-3-1"===e.name);return void 0!==r&&r.canDereference(e,t)}async resolve(e,t){const r=t.dereference.strategies.find(e=>"openapi-3-1"===e.name);if(void 0===r)throw new __('"openapi-3-1" dereference strategy is not available.');var n=new u_,t=v_(t,{resolve:{internal:!1},dereference:{refSet:n}});return await r.dereference(e,t),n}};function j_(n,s,o){if(o=o||new P_,t=typeof n,null==n||"object"!=t&&"function"!=t)return n;function e(e){var t,r=o.get(n);if(r)return r;for(t in o.set(n,e),n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=s?j_(n[t],!0,o):n[t]);return e}var t;switch(Pc(n)){case"Object":return e(Object.create(Object.getPrototypeOf(n)));case"Array":return e(Array(n.length));case"Date":return new Date(n.valueOf());case"RegExp":return bc(n);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return n.slice();default:return n}}T_.prototype.set=function(e,t){var r=this.hash(e),n=this.map[r];n||(this.map[r]=n=[]),n.push([e,t]),this.length+=1},T_.prototype.hash=function(e){var t,r=[];for(t in e)r.push(Object.prototype.toString.call(e[t]));return r.join()},T_.prototype.get=function(e){if(this.length<=180){for(var t in this.map)for(var r=this.map[t],n=0;n<r.length;n+=1)if((s=r[n])[0]===e)return s[1]}else{var s,o=this.hash(e);if(r=this.map[o])for(n=0;n<r.length;n+=1)if((s=r[n])[0]===e)return s[1]}};var P_=T_,N_=(I_.prototype["@@transducer/init"]=Vc,I_.prototype["@@transducer/result"]=function(e){for(var t in this.inputs)if(xc(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},I_.prototype["@@transducer/step"]=function(e,t){var r=this.keyFn(t);return this.inputs[r]=this.inputs[r]||[r,j_(this.valueAcc,!1)],this.inputs[r][1]=this.valueFn(this.inputs[r][1],t),e},I_);function I_(e,t,r,n){this.valueFn=e,this.valueAcc=t,this.keyFn=r,this.xf=n,this.inputs={}}function T_(){this.map={},this.length=0}const M_=t(uu("groupBy",vu(4,[],Uc([],function(t,r,n){return function(e){return new N_(t,r,n,e)}},function(n,s,o,e){var t=lu(function(e,t){var r=o(t),t=n(xc(r,e)?e[r]:j_(s,!1),t);return t&&t["@@transducer/reduced"]?Bh(e):(e[r]=t,e)});return ou(t,{},e)}))(function(e,t){return e.push(t),e},[]))),R_=e=>e.replace(/\s/g,""),D_=e=>e.replace(/\W/gi,"_"),L_=({operationIdNormalizer:a=(e,t,r)=>{var e=R_(e);return 0<e.length?D_(e):(e=t,t=r,""+D_(R_(t.toLowerCase()))+D_(R_(e)))}}={})=>({predicates:t,namespace:s})=>{const o=[],i=[],r=[];return{visitor:{OpenApi3_1Element:{leave(){var e=M_(e=>M(e.operationId),i);Object.entries(e).forEach(([r,e])=>{!Array.isArray(e)||e.length<=1||e.forEach((e,t)=>{e.operationId=new s.elements.String(""+r+(t+1))})}),r.forEach(e=>{if(void 0!==e.operationId){const t=String(M(e.operationId)),r=i.find(e=>M(e.meta.get("originalOperationId"))===t);void 0!==r&&(e.operationId=_.safe(r.operationId),e.meta.set("originalOperationId",t),e.set("__originalOperationId",t))}}),i.length=0,r.length=0}},PathItemElement:{enter(e){e=fu("path",M(e.meta.get("path")));o.push(e)},leave(){o.pop()}},OperationElement:{enter(e){var t,r,n;void 0!==e.operationId&&(t=String(M(e.operationId)),n=yu(o),r=fu("method",M(e.meta.get("http-method"))),t!==(n=a(t,n,r))&&(e.operationId=new s.elements.String(n),e.set("__originalOperationId",t),e.meta.set("originalOperationId",t),i.push(e)))}},LinkElement:{leave(e){t.isLinkElement(e)&&void 0!==e.operationId&&r.push(e)}}}}},F_=dc(function(e,t,r){return fu(e,yc(t,r))});$_.prototype["@@transducer/init"]=Vc,$_.prototype["@@transducer/result"]=Kc,$_.prototype["@@transducer/step"]=function(e,t){return Ec(this.pred,t,this.items)?e:(this.items.push(t),this.xf["@@transducer/step"](e,t))};var B_=$_;function $_(e,t){this.xf=t,this.pred=e,this.items=[]}const q_=t(Uc([],function(t){return function(e){return new B_(t,e)}},function(e,t){for(var r,n=0,s=t.length,o=[];n<s;)Ec(e,r=t[n],o)||(o[o.length]=r),n+=1;return o})),U_=()=>({predicates:o})=>{const n=(e,t)=>!!(o.isParameterElement(e)&&o.isParameterElement(t)&&o.isStringElement(e.name)&&o.isStringElement(e.in)&&o.isStringElement(t.name)&&o.isStringElement(t.in)&&M(e.name)===M(t.name)&&M(e.in)===M(t.in)),i=[];return{visitor:{PathItemElement:{enter(e,t,r,n,s){s.some(o.isComponentsElement)||(s=e["parameters"],o.isArrayElement(s)?i.push([...s.content]):i.push([]))},leave(){i.pop()}},OperationElement:{leave(e){var t,r=yu(i);Array.isArray(r)&&0!==r.length&&(t=F_([],["parameters","content"],e),t=q_(n,[...t,...r]),e.parameters=new iE(t))}}}}},z_=()=>({predicates:o})=>{let i;return{visitor:{OpenApi3_1Element:{enter(e){o.isArrayElement(e.security)&&(i=e.security)},leave(){i=void 0}},OperationElement:{leave(e,t,r,n,s){s.some(o.isComponentsElement)||void 0===e.security&&void 0!==i&&(e.security=new gE(null==(s=i)?void 0:s.content))}}}}},V_=()=>({predicates:l,namespace:o})=>({visitor:{OpenApi3_1Element(e){var t=void 0===e.servers,r=l.isArrayElement(e.servers),n=r&&0===e.servers.length,s=o.elements.Server.refract({url:"/"});t||!r?e.servers=new f0([s]):r&&n&&e.servers.push(s)},PathItemElement(t,e,r,n,s){if(!s.some(l.isComponentsElement)&&s.some(l.isOpenApi3_1Element)){var s=s.find(l.isOpenApi3_1Element),o=void 0===t.servers,i=l.isArrayElement(t.servers),a=i&&0===t.servers.length;if(l.isOpenApi3_1Element(s)){const l=null==(s=s.servers)?void 0:s.content,e=null!=l?l:[];o||!i?t.servers=new AE(e):i&&a&&e.forEach(e=>{t.servers.push(e)})}}},OperationElement(t,e,r,n,s){if(!s.some(l.isComponentsElement)&&s.some(l.isOpenApi3_1Element)){var s=[...s].reverse().find(l.isPathItemElement),o=void 0===t.servers,i=l.isArrayElement(t.servers),a=i&&0===t.servers.length;if(l.isPathItemElement(s)){const l=null==(s=s.servers)?void 0:s.content,e=null!=l?l:[];o||!i?t.servers=new wE(e):i&&a&&e.forEach(e=>{t.servers.push(e)})}}}}}),K_=()=>({predicates:o})=>({visitor:{ParameterElement:{leave(e,t,r,n,s){if(!s.some(o.isComponentsElement)&&void 0!==e.schema&&o.isSchemaElement(e.schema)&&(void 0!==(null==(s=e.schema)?void 0:s.example)||void 0!==(null==(s=e.schema)?void 0:s.examples))){if(void 0!==e.examples&&o.isObjectElement(e.examples)){const o=e.examples.map(e=>_.safe(e.value));return void 0!==e.schema.examples&&e.schema.set("examples",o),void(void 0!==e.schema.example&&e.schema.set("example",o))}void 0!==e.example&&(void 0!==e.schema.examples&&e.schema.set("examples",[_(e.example)]),void 0!==e.schema.example&&e.schema.set("example",_(e.example)))}}}}}),W_=()=>({predicates:o})=>({visitor:{HeaderElement:{leave(e,t,r,n,s){if(!s.some(o.isComponentsElement)&&void 0!==e.schema&&o.isSchemaElement(e.schema)&&(void 0!==(null==(s=e.schema)?void 0:s.example)||void 0!==(null==(s=e.schema)?void 0:s.examples))){if(void 0!==e.examples&&o.isObjectElement(e.examples)){const o=e.examples.map(e=>_.safe(e.value));return void 0!==e.schema.examples&&e.schema.set("examples",o),void(void 0!==e.schema.example&&e.schema.set("example",o))}void 0!==e.example&&(void 0!==e.schema.examples&&e.schema.set("examples",[_(e.example)]),void 0!==e.schema.example&&e.schema.set("example",_(e.example)))}}}}}),J_=r=>e=>{if(null!=e&&e.$$normalized)return e;if(J_.cache.has(e))return J_.cache.get(e);var t=f2.refract(e),t=r(t),t=M(t);return J_.cache.set(e,t),t},H_=(J_.cache=new WeakMap,e=>{if(!w(e))return e;if(e.hasKey("$$normalized"))return e;const t=[L_({operationIdNormalizer:(e,t,r)=>Qp({operationId:e},t,r,{v2OperationIdCompatibilityMode:!1})}),U_(),z_(),V_(),K_(),W_()],r=Kf(e,t,{toolboxCreator:o_,visitorOptions:{keyMap:r_,nodeTypeGetter:t_}});return r.set("$$normalized",!0),r});RE=class extends class{name;constructor({name:e}){this.name=e}}{timeout;redirects;withCredentials;constructor(e){var{name:e="http-resolver",timeout:t=5e3,redirects:r=5,withCredentials:n=!1}=null!=e?e:{};super({name:e}),this.timeout=t,this.redirects=r,this.withCredentials=n}canRead(e){return rp(e.uri)}};const G_=class extends cc{},Y_=class extends G_{},{AbortController:X_,AbortSignal:Q_}=globalThis,Z_=(void 0===globalThis.AbortController&&(globalThis.AbortController=X_),void 0===globalThis.AbortSignal&&(globalThis.AbortSignal=Q_),class extends RE{swaggerHTTPClient=vh;swaggerHTTPClientConfig;constructor({swaggerHTTPClient:e=vh,swaggerHTTPClientConfig:t={},...r}={}){super({...r,name:"http-swagger-client"}),this.swaggerHTTPClient=e,this.swaggerHTTPClientConfig=t}getHttpClient(){return this.swaggerHTTPClient}async read(e){const t=this.getHttpClient(),r=new AbortController,n=r["signal"],s=setTimeout(()=>{r.abort()},this.timeout),o=this.getHttpClient().withCredentials||this.withCredentials?"include":"same-origin",i=0===this.redirects?"error":"follow",a=0<this.redirects?this.redirects:void 0;try{return(await t({url:e.uri,signal:n,userFetch:async(e,t)=>{let r=await fetch(e,t);try{r.headers.delete("Content-Type")}catch{(r=new Response(r.body,{...r,headers:new Headers(r.headers)})).headers.delete("Content-Type")}return r},credentials:o,redirect:i,follow:a,...this.swaggerHTTPClientConfig})).text.arrayBuffer()}catch(t){throw new Y_(`Error downloading "${e.uri}"`,{cause:t})}finally{clearTimeout(s)}}}),ek=(e,t=Uf)=>{if(Gu(e))try{return t.fromRefract(JSON.parse(e))}catch{}return Ff(e)&&wg("element",e)?t.fromRefract(e):t.toElement(e)},tk=class extends TE{constructor(e={}){super({...e,name:"json-swagger-client",fileExtensions:[".json"],mediaTypes:["application/json"]})}async canParse(e){var t=0===this.fileExtensions.length||this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType);if(!t)return!1;if(r)return!0;if(!r)try{return JSON.parse(e.toString()),!0}catch(e){return!1}return!1}async parse(e){if(this.sourceMap)throw new A_("json-swagger-client parser plugin doesn't support sourceMaps option");const t=new Nd,r=e.toString();if(this.allowEmpty&&""===r.trim())return t;try{const e=ek(JSON.parse(r));return e.classes.push("result"),t.push(e),t}catch(t){throw new A_(`Error parsing "${e.uri}"`,{cause:t})}}},rk=class extends TE{constructor(e={}){super({...e,name:"yaml-1-2-swagger-client",fileExtensions:[".yaml",".yml"],mediaTypes:["text/yaml","application/yaml"]})}async canParse(e){var t=0===this.fileExtensions.length||this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType);if(!t)return!1;if(r)return!0;if(!r)try{return ms.load(e.toString(),{schema:hs}),!0}catch(e){return!1}return!1}async parse(e){if(this.sourceMap)throw new A_("yaml-1-2-swagger-client parser plugin doesn't support sourceMaps option");const t=new Nd,r=e.toString();try{const e=ms.load(r,{schema:hs});if(this.allowEmpty&&void 0===e)return t;const n=ek(e);return n.classes.push("result"),t.push(n),t}catch(t){throw new A_(`Error parsing "${e.uri}"`,{cause:t})}}},nk=class extends TE{detectionRegExp=/"openapi"\s*:\s*"(?<version_json>3\.1\.(?:[1-9]\d*|0))"/;constructor(e={}){super({...e,name:"openapi-json-3-1-swagger-client",fileExtensions:[".json"],mediaTypes:new a_(...l_.filterByFormat("generic"),...l_.filterByFormat("json"))})}async canParse(e){const t=0===this.fileExtensions.length||this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType);if(!t)return!1;if(r)return!0;if(!r)try{const t=e.toString();return JSON.parse(t),this.detectionRegExp.test(t)}catch(e){return!1}return!1}async parse(e){if(this.sourceMap)throw new A_("openapi-json-3-1-swagger-client parser plugin doesn't support sourceMaps option");const t=new Nd,r=e.toString();if(this.allowEmpty&&""===r.trim())return t;try{const e=JSON.parse(r),n=f2.refract(e,this.refractorOpts);return n.classes.push("result"),t.push(n),t}catch(t){throw new A_(`Error parsing "${e.uri}"`,{cause:t})}}},sk=class extends TE{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",...e,fileExtensions:[".yaml",".yml"],mediaTypes:new a_(...l_.filterByFormat("generic"),...l_.filterByFormat("yaml"))})}async canParse(e){const t=0===this.fileExtensions.length||this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType);if(!t)return!1;if(r)return!0;if(!r)try{const t=e.toString();return ms.load(t),this.detectionRegExp.test(t)}catch(e){return!1}return!1}async parse(e){if(this.sourceMap)throw new A_("openapi-yaml-3-1-swagger-client parser plugin doesn't support sourceMaps option");const t=new Nd,r=e.toString();try{const e=ms.load(r,{schema:hs});if(this.allowEmpty&&void 0===e)return t;const n=f2.refract(e,this.refractorOpts);return n.classes.push("result"),t.push(n),t}catch(t){throw new A_(`Error parsing "${e.uri}"`,{cause:t})}}},ok=dc(function(e,t,r){return Tc(e,mu(t,r))});BE=class{name;constructor({name:e}){this.name=e}};const ik=t(function(e,t){return kd(Bc(e),t)});var ak=cI(8068);const lk=class extends uc{value;constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};class ck{uuid;identityMap;constructor({length:e=6}={}){this.uuid=new ak({length:e}),this.identityMap=new WeakMap}identify(e){if(!Bd(e))throw new lk("Cannot not identify the element. `element` is neither structurally compatible nor a subclass of an Element class.",{value:e});if(e.meta.hasKey("id")&&S(e.meta.get("id"))&&!e.meta.get("id").equals(""))return e.id;if(this.identityMap.has(e))return this.identityMap.get(e);var t=new x.Om(this.generateId());return this.identityMap.set(e,t),t}forget(e){return!!this.identityMap.has(e)&&(this.identityMap.delete(e),!0)}generateId(){return this.uuid.randomUUID()}}new ck;const uk=(e,t)=>{e=new pf({predicate:e,returnOnTrue:A});return hf(t,e),F_(void 0,[0],e.result)};Hr=class extends cc{};const pk=class extends Hr{},hk=class extends Hr{constructor(e){super(`Invalid JSON Schema $anchor "${e}".`)}},dk=e=>/^[A-Za-z_][A-Za-z_0-9.-]*$/.test(e),fk=e=>{e=sp(e);return am("#",e)},mk=(e,t)=>{const r=(e=>{if(dk(e))return e;throw new hk(e)})(e),n=uk(e=>CS(e)&&M(e.$anchor)===r,t);if(Fu(n))throw new pk(`Evaluation failed on token: "${r}"`);return n},gk=class extends class extends cc{}{},yk=(e,t)=>{var r,n;if(void 0!==t.$ref)return r=sp(M(t.$ref)),n=M(t.meta.get("inherited$id")),""+cu((e,t)=>ip(e,ap(E(t))),e,[...n,M(t.$ref)])+("#"===r?"":r)},vk=e=>{if(vk.cache.has(e))return vk.cache.get(e);var t=k2.refract(e);return vk.cache.set(e,t),t},bk=(vk.cache=new WeakMap,e=>Xd(e)?vk(e):e),wk=(e,t)=>{const r=wk["cache"],n=E(e);if(!r.has(t)){const e=((e,t)=>{e=new pf({predicate:e});return hf(t,e),new x.G6(e.result)})(e=>CS(e)&&void 0!==e.$id,t);r.set(t,Array.from(e))}t=r.get(t).find(e=>{return((e,t)=>{var r;if(void 0!==t.$id)return r=M(t.meta.get("inherited$id")),cu((e,t)=>ip(e,ap(E(t))),e,[...r,M(t.$id)])})(n,e)===n});if(Fu(t))throw new gk(`Evaluation failed on URI: "${e}"`);let s,o;return o=dk(fk(e))?(s=mk,fk(e)):(s=dm,um(e)),s(o,t)},Ek=(wk.cache=new WeakMap,class extends S_{}),xk=class extends G_{},Sk=class extends Y_{};class _k extends Array{includesCycle(t){return 1<this.filter(e=>e.has(t)).length}includes(t,e){return t instanceof Set?super.includes(t,e):this.some(e=>e.has(t))}findItem(e){for(const t of this)for(const r of t)if(Bd(r)&&e(r))return r}}const kk=hf[Symbol.for("nodejs.util.promisify.custom")],Ak=new ck,Ok=(e,t,r,n)=>{Vd(n)?n.value=e:Array.isArray(n)&&(n[r]=e)};const Ck=class lI{indirections;namespace;reference;options;ancestors;refractCache;constructor({reference:e,namespace:t,options:r,indirections:n=[],ancestors:s=new _k,refractCache:o=new Map}){this.indirections=n,this.namespace=t,this.reference=e,this.options=r,this.ancestors=new _k(...s),this.refractCache=o}toBaseURI(e){return ip(this.reference.uri,ap(E(e)))}async toReference(e){if(this.reference.depth>=this.options.resolve.maxDepth)throw new xk(`Maximum resolution depth of ${this.options.resolve.maxDepth} has been exceeded by file "${this.reference.uri}"`);const t=this.toBaseURI(e),r=this.reference.refSet;if(r.has(t))return r.find(ok(t,"uri"));e=lp(t),n={...this.options,parse:{...this.options.parse,mediaType:"text/plain"}},e=new b_({uri:ap(E(e)),mediaType:n.parse.mediaType}),s=await(async(e,t)=>{var r=t.resolve.resolvers.map(e=>(e=Object.create(e),Object.assign(e,t.resolve.resolverOpts))),r=await E_("canRead",[e,t],r);if(jf(r))throw new Sk(e.uri);try{const t=(await x_("read",[e],r)).result;return t}catch(t){throw new G_(`Error while reading file "${e.uri}"`,{cause:t})}})(e,n);var n,s=await(async(e,t)=>{const r=t.parse.parsers.map(e=>(e=Object.create(e),Object.assign(e,t.parse.parserOpts))),n=await E_("canParse",[e,t],r);if(jf(n))throw new Sk(e.uri);try{const{plugin:r,result:s}=await x_("parse",[e,t],n);return!r.allowEmpty&&s.isEmpty?Promise.reject(new k_(`Error while parsing file "${e.uri}". File is empty.`)):s}catch(t){throw new k_(`Error while parsing file "${e.uri}"`,{cause:t})}})(new b_({...e,data:s}),n),e=new c_({uri:t,value:_(s),depth:this.reference.depth+1});if(r.add(e),this.options.dereference.immutable){const e=new c_({uri:"immutable://"+t,value:s,depth:this.reference.depth+1});r.add(e)}return e}toAncestorLineage(e){return e=new Set(e.filter(Bd)),[new _k(...this.ancestors,e),e]}async ReferenceElement(e,t,r,n,s,o){if(this.indirections.includes(e))return!1;const[i,a]=this.toAncestorLineage([...s,r]),l=this.toBaseURI(M(e.$ref)),c=E(this.reference.uri)===l,u=!c;if(!this.options.resolve.internal&&c)return!1;if(!this.options.resolve.external&&u)return!1;const p=await this.toReference(M(e.$ref)),h=ip(l,M(e.$ref));this.indirections.push(e);s=um(h);let d=dm(s,p.value.result);if(d.id=Ak.identify(d),Xd(d)){const t=M(e.meta.get("referenced-element")),r=t+"-"+M(Ak.identify(d));this.refractCache.has(r)?d=this.refractCache.get(r):(k(d)?(d=w2.refract(d)).setMetaProperty("referenced-element",t):d=this.namespace.getElementClass(t).refract(d),this.refractCache.set(r,d))}if(e===d)throw new cc("Recursive Reference Object detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Ek(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(i.includes(d)){if(p.refSet.circular=!0,"error"===this.options.dereference.circular)throw new cc("Circular reference detected");if("replace"===this.options.dereference.circular){const t=new x.sI(d.id,{type:"reference",uri:p.uri,$ref:M(e.$ref)}),n=(null!=(s=null==(s=this.options.dereference.strategyOpts["openapi-3-1"])?void 0:s.circularReplacer)?s:this.options.dereference.circularReplacer)(t);return o.replaceWith(n,Ok),!r&&n}}var s=E(p.refSet.rootRef.uri)!==p.uri,f=["error","replace"].includes(this.options.dereference.circular);if((u||s||SS(d)||f)&&!i.includesCycle(d)){a.add(e);const t=new lI({reference:p,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:i});d=await kk(d,t,{keyMap:r_,nodeTypeGetter:t_}),a.delete(e)}this.indirections.pop();const m=of(d);return m.setMetaProperty("id",Ak.generateId()),m.setMetaProperty("ref-fields",{$ref:M(e.$ref),description:M(e.description),summary:M(e.summary)}),m.setMetaProperty("ref-origin",p.uri),m.setMetaProperty("ref-referencing-element-id",_(Ak.identify(e))),w(d)&&w(m)&&(e.hasKey("description")&&"description"in d&&(m.remove("description"),m.set("description",e.get("description"))),e.hasKey("summary")&&"summary"in d&&(m.remove("summary"),m.set("summary",e.get("summary")))),o.replaceWith(m,Ok),!r&&m}async PathItemElement(t,n,r,s,o,i){if(S(t.$ref)){if(this.indirections.includes(t))return!1;const[l,c]=this.toAncestorLineage([...o,r]),u=this.toBaseURI(M(t.$ref)),e=E(this.reference.uri)===u,p=!e;if((this.options.resolve.internal||!e)&&(this.options.resolve.external||!p)){const h=await this.toReference(M(t.$ref)),d=ip(u,M(t.$ref));this.indirections.push(t);o=um(d);let e=dm(o,h.value.result);if(e.id=Ak.identify(e),Xd(e)){const t="path-item-"+M(Ak.identify(e));this.refractCache.has(t)?e=this.refractCache.get(t):(e=y2.refract(e),this.refractCache.set(t,e))}if(t===e)throw new cc("Recursive Path Item Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Ek(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(l.includes(e)){if(h.refSet.circular=!0,"error"===this.options.dereference.circular)throw new cc("Circular reference detected");if("replace"===this.options.dereference.circular){const n=new x.sI(e.id,{type:"path-item",uri:h.uri,$ref:M(t.$ref)}),s=(null!=(o=null==(o=this.options.dereference.strategyOpts["openapi-3-1"])?void 0:o.circularReplacer)?o:this.options.dereference.circularReplacer)(n);return i.replaceWith(s,Ok),!r&&s}}var o=E(h.refSet.rootRef.uri)!==h.uri,a=["error","replace"].includes(this.options.dereference.circular);if((p||o||wS(e)&&S(e.$ref)||a)&&!l.includesCycle(e)){c.add(t);const n=new lI({reference:h,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:l});e=await kk(e,n,{keyMap:r_,nodeTypeGetter:t_}),c.delete(t)}if(this.indirections.pop(),wS(e)){const n=new y2([...e.content],_(e.meta),_(e.attributes));n.setMetaProperty("id",Ak.generateId()),t.forEach((e,t,r)=>{n.remove(M(t)),n.content.push(r)}),n.remove("$ref"),n.setMetaProperty("ref-fields",{$ref:M(t.$ref)}),n.setMetaProperty("ref-origin",h.uri),n.setMetaProperty("ref-referencing-element-id",_(Ak.identify(t))),e=n}return i.replaceWith(e,Ok),r?void 0:e}}}async LinkElement(t,r,n,s,o,i){if(S(t.operationRef)||S(t.operationId)){if(S(t.operationRef)&&S(t.operationId))throw new cc("LinkElement operationRef and operationId fields are mutually exclusive.");let e;if(S(t.operationRef)){var a;const r=um(M(t.operationRef)),s=this.toBaseURI(M(t.operationRef)),o=E(this.reference.uri)===s,c=!o;if(!this.options.resolve.internal&&o)return;if(!this.options.resolve.external&&c)return;var l=await this.toReference(M(t.operationRef));if(e=dm(r,l.value.result),Xd(e)){const t="operation-"+M(Ak.identify(e));this.refractCache.has(t)?e=this.refractCache.get(t):(e=m2.refract(e),this.refractCache.set(t,e))}return(e=of(e)).setMetaProperty("ref-origin",l.uri),l=of(t),null!=(a=l.operationRef)&&a.meta.set("operation",e),i.replaceWith(l,Ok),n?void 0:l}if(S(t.operationId)){var c;const r=M(t.operationId),s=await this.toReference(lp(this.reference.uri));if(e=uk(e=>vS(e)&&Bd(e.operationId)&&e.operationId.equals(r),s.value.result),Fu(e))throw new cc(`OperationElement(operationId=${r}) not found.`);const o=of(t);return null!=(c=o.operationId)&&c.meta.set("operation",e),i.replaceWith(o,Ok),n?void 0:o}}}async ExampleElement(e,t,r,n,s,o){if(S(e.externalValue)){if(e.hasKey("value")&&S(e.externalValue))throw new cc("ExampleElement value and externalValue fields are mutually exclusive.");var i=this.toBaseURI(M(e.externalValue)),a=!(i=E(this.reference.uri)===i);if((this.options.resolve.internal||!i)&&(this.options.resolve.external||!a)){const l=await this.toReference(M(e.externalValue)),c=of(l.value.result),u=(c.setMetaProperty("ref-origin",l.uri),of(e));return u.value=c,o.replaceWith(u,Ok),r?void 0:u}}}async SchemaElement(o,i,a,l,c,u){if(S(o.$ref)){if(this.indirections.includes(o))return!1;const[h,d]=this.toAncestorLineage([...c,a]);let e=await this.toReference(lp(this.reference.uri)),t=e.uri;const f=yk(t,o),m=E(f),g=new b_({uri:m}),y=ik(e=>e.canRead(g),this.options.resolve.resolvers),v=!y;let r,n=E(this.reference.uri)===f,s=!n;this.indirections.push(o);try{if(y||v){t=this.toBaseURI(f);const o=f,i=bk(e.value.result);if(r=wk(o,i),(r=bk(r)).id=Ak.identify(r),!this.options.resolve.internal&&n)return;if(!this.options.resolve.external&&s)return}else{if(t=this.toBaseURI(f),n=E(this.reference.uri)===t,s=!n,!this.options.resolve.internal&&n)return;if(!this.options.resolve.external&&s)return;e=await this.toReference(lp(f));const o=um(f),i=bk(e.value.result);r=dm(o,i),(r=bk(r)).id=Ak.identify(r)}}catch(o){if(!(v&&o instanceof gk))throw o;if(dk(fk(f))){if(n=E(this.reference.uri)===t,s=!n,!this.options.resolve.internal&&n)return;if(!this.options.resolve.external&&s)return;e=await this.toReference(lp(f));const o=fk(f),i=bk(e.value.result);r=mk(o,i),(r=bk(r)).id=Ak.identify(r)}else{if(t=this.toBaseURI(f),n=E(this.reference.uri)===t,s=!n,!this.options.resolve.internal&&n)return;if(!this.options.resolve.external&&s)return;e=await this.toReference(lp(f));const o=um(f),i=bk(e.value.result);r=dm(o,i),(r=bk(r)).id=Ak.identify(r)}}if(o===r)throw new cc("Recursive Schema Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Ek(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(h.includes(r)){if(e.refSet.circular=!0,"error"===this.options.dereference.circular)throw new cc("Circular reference detected");if("replace"===this.options.dereference.circular){const i=new x.sI(r.id,{type:"json-schema",uri:e.uri,$ref:M(o.$ref)}),l=(null!=(c=null==(c=this.options.dereference.strategyOpts["openapi-3-1"])?void 0:c.circularReplacer)?c:this.options.dereference.circularReplacer)(i);return u.replaceWith(l,Ok),!a&&l}}var c=E(e.refSet.rootRef.uri)!==e.uri,p=["error","replace"].includes(this.options.dereference.circular);if((s||c||CS(r)&&S(r.$ref)||p)&&!h.includesCycle(r)){d.add(o);const i=new lI({reference:e,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:h});r=await kk(r,i,{keyMap:r_,nodeTypeGetter:t_}),d.delete(o)}if(this.indirections.pop(),jS(r)){const i=_(r);return i.setMetaProperty("id",Ak.generateId()),i.setMetaProperty("ref-fields",{$ref:M(o.$ref)}),i.setMetaProperty("ref-origin",e.uri),i.setMetaProperty("ref-referencing-element-id",_(Ak.identify(o))),u.replaceWith(i,Ok),!a&&i}if(CS(r)){const i=new k2([...r.content],_(r.meta),_(r.attributes));i.setMetaProperty("id",Ak.generateId()),o.forEach((e,t,r)=>{i.remove(M(t)),i.content.push(r)}),i.remove("$ref"),i.setMetaProperty("ref-fields",{$ref:M(o.$ref)}),i.setMetaProperty("ref-origin",e.uri),i.setMetaProperty("ref-referencing-element-id",_(Ak.identify(o))),r=i}return u.replaceWith(r,Ok),a?void 0:r}}},jk=hf[Symbol.for("nodejs.util.promisify.custom")],Pk=class extends BE{constructor(e){super({...null!=e?e:{},name:"openapi-3-1"})}canDereference(e){return"text/plain"!==e.mediaType?l_.includes(e.mediaType):yS(null==(e=e.parseResult)?void 0:e.result)}async dereference(t,e){const r=qf(s_),n=null!=(a=e.dereference.refSet)?a:new u_,s=new u_;let o,i=n;n.has(t.uri)?o=n.find(ok(t.uri,"uri")):(o=new c_({uri:t.uri,value:t.parseResult}),n.add(o)),e.dereference.immutable&&(n.refs.map(e=>new c_({...e,value:_(e.value)})).forEach(e=>s.add(e)),o=s.find(e=>e.uri===t.uri),i=s);var a=new Ck({reference:o,namespace:r,options:e}),a=await jk(i.rootRef.value,a,{keyMap:r_,nodeTypeGetter:t_});return e.dereference.immutable&&s.refs.filter(e=>e.uri.startsWith("immutable://")).map(e=>new c_({...e,uri:e.uri.replace(/^immutable:\/\//,"")})).forEach(e=>n.add(e)),null===e.dereference.refSet&&n.clean(),s.clean(),a}},Nk=e=>{const n=e.slice(2);return n.reduce((e,t,r)=>{if(Vd(t)){const n=String(M(t.key));e.push(n)}else zd(n[r-2])&&(r=n[r-2].content.indexOf(t),e.push(r));return e},[])},Ik=class{modelPropertyMacro;options;SchemaElement={leave:(s,e,o,t,i)=>{void 0!==s.properties&&w(s.properties)&&s.properties.forEach(e=>{if(w(e))try{const s=this.modelPropertyMacro(M(e));e.set("default",s)}catch(e){var t,r;const n=new Error(e,{cause:e});n.fullPath=[...Nk([...i,o,s]),"properties"],null!=(t=this.options.dereference.dereferenceOpts)&&null!=(t=t.errors)&&null!=(r=t.push)&&r.call(t,n)}})}};constructor({modelPropertyMacro:e,options:t}){this.modelPropertyMacro=e,this.options=t}},Tk=class{options;SchemaElement={leave(e,t,r,n,s){if(void 0!==e.allOf){if(!zd(e.allOf)){const t=new TypeError("allOf must be an array");return t.fullPath=[...Nk([...s,r,e]),"allOf"],void(null!=(i=this.options.dereference.dereferenceOpts)&&null!=(i=i.errors)&&null!=(o=i.push)&&o.call(i,t))}if(e.allOf.isEmpty)e.remove("allOf");else{if(!e.allOf.content.every(CS)){var o,i;const t=new TypeError("Elements in allOf must be objects");return t.fullPath=[...Nk([...s,r,e]),"allOf"],void(null!=(o=this.options.dereference.dereferenceOpts)&&null!=(o=o.errors)&&null!=(i=o.push)&&i.call(o,t))}for(;e.hasKey("allOf");){const t=e["allOf"],r=(e.remove("allOf"),Cg.all([...t.content,e]));if(e.hasKey("$$ref")||r.remove("$$ref"),e.hasKey("example")){const t=r.getMember("example");t&&(t.value=e.get("example"))}if(e.hasKey("examples")){const t=r.getMember("examples");t&&(t.value=e.get("examples"))}e.content=r.content}}}}};constructor({options:e}){this.options=e}},Mk=class{parameterMacro;options;#e;OperationElement={enter:e=>{this.#e=e},leave:()=>{this.#e=void 0}};ParameterElement={leave:(e,t,r,n,s)=>{var o=this.#e?M(this.#e):null,i=M(e);try{const t=this.parameterMacro(o,i);e.set("default",t)}catch(e){const t=new Error(e,{cause:e});t.fullPath=Nk([...s,r]),null!=(o=this.options.dereference.dereferenceOpts)&&null!=(o=o.errors)&&null!=(i=o.push)&&i.call(o,t)}}};constructor({parameterMacro:e,options:t}){this.parameterMacro=e,this.options=t}},Rk=e=>{if(null==e.cause)return e;let t=e["cause"];for(;null!=t.cause;)t=t.cause;return t},Dk=class extends uc{},Lk=Tp["wrapError"],Fk=hf[Symbol.for("nodejs.util.promisify.custom")],Bk=new ck,$k=(e,t,r,n)=>{Vd(n)?n.value=e:Array.isArray(n)&&(n[r]=e)};class qk extends Ck{useCircularStructures;allowMetaPatches;basePath;constructor({allowMetaPatches:e=!0,useCircularStructures:t=!1,basePath:r=null,...n}){super(n),this.allowMetaPatches=e,this.useCircularStructures=t,this.basePath=r}async ReferenceElement(t,r,n,s,o,i){try{if(this.indirections.includes(t))return!1;const[r,s]=this.toAncestorLineage([...o,n]),d=this.toBaseURI(M(t.$ref)),f=E(this.reference.uri)===d,m=!f;if(!this.options.resolve.internal&&f)return!1;if(!this.options.resolve.external&&m)return!1;const g=await this.toReference(M(t.$ref)),y=ip(d,M(t.$ref));this.indirections.push(t);var a,l,c=um(y);let e=dm(c,g.value.result);if(e.id=Bk.identify(e),Xd(e)){const r=M(t.meta.get("referenced-element")),n=r+"-"+M(Bk.identify(e));this.refractCache.has(n)?e=this.refractCache.get(n):(k(e)?(e=w2.refract(e)).setMetaProperty("referenced-element",r):e=this.namespace.getElementClass(r).refract(e),this.refractCache.set(n,e))}if(t===e)throw new cc("Recursive Reference Object detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Ek(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(r.includes(e)){if(g.refSet.circular=!0,"error"===this.options.dereference.circular)throw new cc("Circular reference detected");if("replace"===this.options.dereference.circular){const r=new x.sI(e.id,{type:"reference",uri:g.uri,$ref:M(t.$ref),baseURI:y,referencingElement:t}),s=(null!=(a=null==(l=this.options.dereference.strategyOpts["openapi-3-1"])?void 0:l.circularReplacer)?a:this.options.dereference.circularReplacer)(r);return i.replaceWith(r,$k),!n&&s}}var u,p=E(g.refSet.rootRef.uri)!==g.uri,h=["error","replace"].includes(this.options.dereference.circular);if((m||p||SS(e)||h)&&!r.includesCycle(e)){s.add(t);const i=new qk({reference:g,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:r,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:null!=(u=this.basePath)?u:[...Nk([...o,n,t]),"$ref"]});e=await Fk(e,i,{keyMap:r_,nodeTypeGetter:t_}),s.delete(t)}this.indirections.pop();const v=of(e);if(v.setMetaProperty("ref-fields",{$ref:M(t.$ref),description:M(t.description),summary:M(t.summary)}),v.setMetaProperty("ref-origin",g.uri),v.setMetaProperty("ref-referencing-element-id",_(Bk.identify(t))),w(e)&&(t.hasKey("description")&&"description"in e&&(v.remove("description"),v.set("description",t.get("description"))),t.hasKey("summary")&&"summary"in e&&(v.remove("summary"),v.set("summary",t.get("summary")))),this.allowMetaPatches&&w(v)&&!v.hasKey("$$ref")){const t=ip(d,y);v.set("$$ref",t)}return i.replaceWith(v,$k),!n&&v}catch(r){var d,f,m;const s=Rk(r),i=Lk(s,{baseDoc:this.reference.uri,$ref:M(t.$ref),pointer:um(M(t.$ref)),fullPath:null!=(d=this.basePath)?d:[...Nk([...o,n,t]),"$ref"]});return void(null!=(f=this.options.dereference.dereferenceOpts)&&null!=(f=f.errors)&&null!=(m=f.push)&&m.call(f,i))}}async PathItemElement(t,n,r,s,o,i){try{if(!S(t.$ref))return;if(this.indirections.includes(t))return!1;if(ef(["cycle"],t.$ref))return!1;const[n,s]=this.toAncestorLineage([...o,r]),d=this.toBaseURI(M(t.$ref)),f=E(this.reference.uri)===d,m=!f;if(!this.options.resolve.internal&&f)return;if(!this.options.resolve.external&&m)return;const g=await this.toReference(M(t.$ref)),y=ip(d,M(t.$ref));this.indirections.push(t);var a,l,c=um(y);let e=dm(c,g.value.result);if(e.id=Bk.identify(e),Xd(e)){const t="path-item-"+M(Bk.identify(e));this.refractCache.has(t)?e=this.refractCache.get(t):(e=y2.refract(e),this.refractCache.set(t,e))}if(t===e)throw new cc("Recursive Path Item Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Ek(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(n.includes(e)){if(g.refSet.circular=!0,"error"===this.options.dereference.circular)throw new cc("Circular reference detected");if("replace"===this.options.dereference.circular){const n=new x.sI(e.id,{type:"path-item",uri:g.uri,$ref:M(t.$ref),baseURI:y,referencingElement:t}),s=(null!=(a=null==(l=this.options.dereference.strategyOpts["openapi-3-1"])?void 0:l.circularReplacer)?a:this.options.dereference.circularReplacer)(n);return i.replaceWith(n,$k),!r&&s}}var u,p=E(g.refSet.rootRef.uri)!==g.uri,h=["error","replace"].includes(this.options.dereference.circular);if((m||p||wS(e)&&S(e.$ref)||h)&&!n.includesCycle(e)){s.add(t);const i=new qk({reference:g,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:n,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:null!=(u=this.basePath)?u:[...Nk([...o,r,t]),"$ref"]});e=await Fk(e,i,{keyMap:r_,nodeTypeGetter:t_}),s.delete(t)}if(this.indirections.pop(),wS(e)){const n=new y2([...e.content],_(e.meta),_(e.attributes));if(t.forEach((e,t,r)=>{n.remove(M(t)),n.content.push(r)}),n.remove("$ref"),n.setMetaProperty("ref-fields",{$ref:M(t.$ref)}),n.setMetaProperty("ref-origin",g.uri),n.setMetaProperty("ref-referencing-element-id",_(Bk.identify(t))),this.allowMetaPatches&&void 0===n.get("$$ref")){const t=ip(d,y);n.set("$$ref",t)}e=n}return i.replaceWith(e,$k),r?void 0:e}catch(n){var d,f,m;const s=Rk(n),i=Lk(s,{baseDoc:this.reference.uri,$ref:M(t.$ref),pointer:um(M(t.$ref)),fullPath:null!=(d=this.basePath)?d:[...Nk([...o,r,t]),"$ref"]});return void(null!=(f=this.options.dereference.dereferenceOpts)&&null!=(f=f.errors)&&null!=(m=f.push)&&m.call(f,i))}}async SchemaElement(o,i,a,l,c,u){try{if(!S(o.$ref))return;if(this.indirections.includes(o))return!1;const[i,l]=this.toAncestorLineage([...c,a]);let e=await this.toReference(lp(this.reference.uri)),t=e["uri"];const g=yk(t,o),y=E(g),v=new b_({uri:y}),b=!this.options.resolve.resolvers.some(e=>e.canRead(v)),w=!b;let r,n=E(this.reference.uri)===g,s=!n;this.indirections.push(o);try{if(b||w){t=this.toBaseURI(g);const o=g,i=bk(e.value.result);if(r=wk(o,i),(r=bk(r)).id=Bk.identify(r),!this.options.resolve.internal&&n)return;if(!this.options.resolve.external&&s)return}else{if(t=this.toBaseURI(g),n=E(this.reference.uri)===t,s=!n,!this.options.resolve.internal&&n)return;if(!this.options.resolve.external&&s)return;e=await this.toReference(lp(g));const o=um(g),i=bk(e.value.result);r=dm(o,i),(r=bk(r)).id=Bk.identify(r)}}catch(o){if(!(w&&o instanceof gk))throw o;if(dk(fk(g))){if(n=E(this.reference.uri)===t,s=!n,!this.options.resolve.internal&&n)return;if(!this.options.resolve.external&&s)return;e=await this.toReference(lp(g));const o=fk(g),i=bk(e.value.result);r=mk(o,i),(r=bk(r)).id=Bk.identify(r)}else{if(t=this.toBaseURI(M(g)),n=E(this.reference.uri)===t,s=!n,!this.options.resolve.internal&&n)return;if(!this.options.resolve.external&&s)return;e=await this.toReference(lp(g));const o=um(g),i=bk(e.value.result);r=dm(o,i),(r=bk(r)).id=Bk.identify(r)}}if(o===r)throw new cc("Recursive Schema Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Ek(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(i.includes(r)){if(e.refSet.circular=!0,"error"===this.options.dereference.circular)throw new cc("Circular reference detected");if("replace"===this.options.dereference.circular){const i=new x.sI(r.id,{type:"json-schema",uri:e.uri,$ref:M(o.$ref),baseURI:ip(t,g),referencingElement:o}),l=(null!=(m=null==(f=this.options.dereference.strategyOpts["openapi-3-1"])?void 0:f.circularReplacer)?m:this.options.dereference.circularReplacer)(i);return u.replaceWith(l,$k),!a&&l}}var p,h=E(e.refSet.rootRef.uri)!==e.uri,d=["error","replace"].includes(this.options.dereference.circular);if((s||h||CS(r)&&S(r.$ref)||d)&&!i.includesCycle(r)){l.add(o);const u=new qk({reference:e,namespace:this.namespace,indirections:[...this.indirections],options:this.options,useCircularStructures:this.useCircularStructures,allowMetaPatches:this.allowMetaPatches,ancestors:i,basePath:null!=(p=this.basePath)?p:[...Nk([...c,a,o]),"$ref"]});r=await Fk(r,u,{keyMap:r_,nodeTypeGetter:t_}),l.delete(o)}if(this.indirections.pop(),jS(r)){const i=_(r);return i.setMetaProperty("ref-fields",{$ref:M(o.$ref)}),i.setMetaProperty("ref-origin",e.uri),i.setMetaProperty("ref-referencing-element-id",_(Bk.identify(o))),u.replaceWith(i,$k),!a&&i}if(CS(r)){const i=new k2([...r.content],_(r.meta),_(r.attributes));if(o.forEach((e,t,r)=>{i.remove(M(t)),i.content.push(r)}),i.remove("$ref"),i.setMetaProperty("ref-fields",{$ref:M(o.$ref)}),i.setMetaProperty("ref-origin",e.uri),i.setMetaProperty("ref-referencing-element-id",_(Bk.identify(o))),this.allowMetaPatches&&void 0===i.get("$$ref")){const o=ip(t,g);i.set("$$ref",o)}r=i}return u.replaceWith(r,$k),a?void 0:r}catch(i){var f,m,g;const l=Rk(i),u=new Dk("Could not resolve reference: "+l.message,{baseDoc:this.reference.uri,$ref:M(o.$ref),fullPath:null!=(f=this.basePath)?f:[...Nk([...c,a,o]),"$ref"],cause:l});return void(null!=(m=this.options.dereference.dereferenceOpts)&&null!=(m=m.errors)&&null!=(g=m.push)&&g.call(m,u))}}async LinkElement(){}async ExampleElement(e,t,r,n,s,o){try{return await super.ExampleElement(e,t,r,n,s,o)}catch(t){var i;const n=Rk(t),o=Lk(n,{baseDoc:this.reference.uri,externalValue:M(e.externalValue),fullPath:null!=(i=this.basePath)?i:[...Nk([...s,r,e]),"externalValue"]});return void(null!=(i=this.options.dereference.dereferenceOpts)&&null!=(i=i.errors)&&null!=(s=i.push)&&s.call(i,o))}}}const Uk=qk,zk=Lh[Symbol.for("nodejs.util.promisify.custom")],Vk=class{constructor({parameterMacro:e,modelPropertyMacro:t,mode:r,options:n,...s}){const o=[];o.push(new Uk({...s,options:n})),"function"==typeof t&&o.push(new Ik({modelPropertyMacro:t,options:n})),"strict"!==r&&o.push(new Tk({options:n})),"function"==typeof e&&o.push(new Mk({parameterMacro:e,options:n}));s=zk(o,{nodeTypeGetter:t_});Object.assign(this,s)}},Kk=hf[Symbol.for("nodejs.util.promisify.custom")],Wk=class extends Pk{allowMetaPatches;parameterMacro;modelPropertyMacro;mode;ancestors;constructor({allowMetaPatches:e=!1,parameterMacro:t=null,modelPropertyMacro:r=null,mode:n="non-strict",ancestors:s=[],...o}={}){super({...o}),this.name="openapi-3-1-swagger-client",this.allowMetaPatches=e,this.parameterMacro=t,this.modelPropertyMacro=r,this.mode=n,this.ancestors=[...s]}async dereference(t,e){const r=qf(s_),n=null!=(a=e.dereference.refSet)?a:new u_,s=new u_;let o,i=n;n.has(t.uri)?o=n.find(e=>e.uri===t.uri):(o=new c_({uri:t.uri,value:t.parseResult}),n.add(o)),e.dereference.immutable&&(n.refs.map(e=>new c_({...e,value:_(e.value)})).forEach(e=>s.add(e)),o=s.find(e=>e.uri===t.uri),i=s);var a=new Vk({reference:o,namespace:r,options:e,allowMetaPatches:this.allowMetaPatches,ancestors:this.ancestors,modelPropertyMacro:this.modelPropertyMacro,mode:this.mode,parameterMacro:this.parameterMacro}),a=await Kk(i.rootRef.value,a,{keyMap:r_,nodeTypeGetter:t_});return e.dereference.immutable&&s.refs.filter(e=>e.uri.startsWith("immutable://")).map(e=>new c_({...e,uri:e.uri.replace(/^immutable:\/\//,"")})).forEach(e=>n.add(e)),null===e.dereference.refSet&&n.clean(),s.clean(),a}},Jk=e=>{var t=M(e.meta.get("baseURI")),e=e.meta.get("referencingElement");return new x.Sh({$ref:t},_(e.meta),_(e.attributes))},Hk=async t=>{var r,n,s,o,i,{spec:a,timeout:l,redirects:c,requestInterceptor:u,responseInterceptor:p,pathDiscriminator:h=[],allowMetaPatches:d=!1,useCircularStructures:f=!1,skipNormalization:m=!1,parameterMacro:g=null,modelPropertyMacro:y=null,mode:v="non-strict"}=t;try{const _=Hk["cache"],k=rp(op())?op():vp,A=bh(t),O=ip(k,A);let e;_.has(a)?e=_.get(a):((e=f2.refract(a)).classes.push("result"),_.set(a,e));const C=new Nd([e]),j=(t=>{try{return 0===t.length?"":"/"+t.map(Gf).join("/")}catch(e){throw new Yf("JSON Pointer compilation of tokens encountered an error.",{tokens:t,cause:e})}})(h),P=""===j?"":"#"+j,N=dm(j,e),I=new c_({uri:O,value:C}),T=new u_({refs:[I]});""!==j&&(T.rootRef=void 0);var b=[new Set([N])],w=[],E=(o=N,i={resolve:{baseURI:O+P,resolvers:[new Z_({timeout:l||1e4,redirects:c||10})],resolverOpts:{swaggerHTTPClientConfig:{requestInterceptor:u,responseInterceptor:p}},strategies:[new C_]},parse:{mediaType:l_.latest(),parsers:[new nk({allowEmpty:!1,sourceMap:!1}),new sk({allowEmpty:!1,sourceMap:!1}),new tk({allowEmpty:!1,sourceMap:!1}),new rk({allowEmpty:!1,sourceMap:!1}),new O_({allowEmpty:!1,sourceMap:!1})]},dereference:{maxDepth:100,strategies:[new Wk({allowMetaPatches:d,useCircularStructures:f,parameterMacro:g,modelPropertyMacro:y,mode:v,ancestors:b})],refSet:T,dereferenceOpts:{errors:w},immutable:!1,circular:f?"ignore":"replace",circularReplacer:f?p_.dereference.circularReplacer:Jk}},await(async(e,t)=>{let r=e,n=!1;if(!Gd(e)){const t=of(e);t.classes.push("result"),r=new Nd([t]),n=!0}var s=new b_({uri:t.resolve.baseURI,parseResult:r,mediaType:t.parse.mediaType}),o=await E_("canDereference",[s,t],t.dereference.strategies);if(jf(o))throw new __(s.uri);try{const e=(await x_("dereference",[s,t],o))["result"];return n?e.get(0):e}catch(e){throw new S_(`Error while dereferencing file "${s.uri}"`,{cause:e})}})(o,v_(p_,i))),x=(r=N,n=E,s=e,new Hf({element:s}).transclude(r,n)),S=m?x:H_(x);return{spec:M(S),errors:w}}catch(t){if(t instanceof cm||t instanceof hm)return{spec:null,errors:[]};throw t}},Gk=(Hk.cache=new WeakMap,Hk),Yk={name:"openapi-3-1-apidom",match:({spec:e})=>Oh(e),normalize:({spec:e})=>J_(H_)(e),resolve:async e=>Gk(e)},Xk=Yk,Qk=t=>async e=>(async e=>{const{spec:t,requestInterceptor:r,responseInterceptor:n}=e,s=bh(e),o=wh(e),i=t||await eh(o,{requestInterceptor:r,responseInterceptor:n})(s),a={...e,spec:i};return e.strategies.find(e=>e.match(a)).resolve(a)})({...t,...e}),Zk=Qk({strategies:[Ih,Ph,kh]});var jr=cI(39584),eA=cI.n(jr),tA=cI(57427);function rA(e){return"[object Object]"===Object.prototype.toString.call(e)}function nA(e){return!1!==rA(e)&&(void 0===(e=e.constructor)||!1!==rA(e=e.prototype)&&!1!==e.hasOwnProperty("isPrototypeOf"))}const sA=function(){const w=m,u=iA,E=this,x="parser.js: Parser(): ";E.ast=void 0,E.stats=void 0,E.trace=void 0,E.callbacks=[];let S,_,k,A,O,C,j,P=0,N=0,I=0,T=0,M=0,R=new function(){this.state=w.ACTIVE,this.phraseLength=0,this.refresh=()=>{this.state=w.ACTIVE,this.phraseLength=0}};E.parse=(e,t,r,n)=>{var s=x+"parse(): ",o=(P=0,N=0,I=0,T=0,M=0,S=void 0,_=void 0,k=void 0,A=void 0,R.refresh(),O=void 0,C=void 0,j=void 0,A=u.stringToChars(r),S=e.rules,_=e.udts,t.toLowerCase());let i;for(const w in S)if(o===S[w].lower){i=S[w].index;break}if(void 0===i)throw new Error(s+`start rule name '${startRule}' not recognized`);{var a=x+"initializeCallbacks(): ";let e,t;for(O=[],C=[],e=0;e<S.length;e+=1)O[e]=void 0;for(e=0;e<_.length;e+=1)C[e]=void 0;const c=[];for(e=0;e<S.length;e+=1)c.push(S[e].lower);for(e=0;e<_.length;e+=1)c.push(_[e].lower);for(const x in E.callbacks){if((e=c.indexOf(x.toLowerCase()))<0)throw new Error(a+`syntax callback '${x}' not a rule or udt name`);if("function"!=typeof(t=E.callbacks[x]||void 0)&&void 0!==t)throw new Error(a+`syntax callback[${x}] must be function reference or falsy)`);e<S.length?O[e]=t:C[e-S.length]=t}}E.trace&&E.trace.init(S,_,A),E.stats&&E.stats.init(S,_),E.ast&&E.ast.init(S,_,A),j=n,k=[{type:w.RNM,index:i}],L(0,0),k=void 0;let l=!1;switch(R.state){case w.ACTIVE:throw new Error(s+"final state should never be 'ACTIVE'");case w.NOMATCH:l=!1;break;case w.EMPTY:case w.MATCH:l=R.phraseLength===A.length;break;default:throw new Error("unrecognized state")}return{success:l,state:R.state,stateName:w.idName(R.state),length:A.length,matched:R.phraseLength,maxMatched:M,maxTreeDepth:I,nodeHits:T}};const D=(e,t,r,n)=>{var s;if(t.phraseLength>r)throw s=(s=`${x}opRNM(${e.name}): callback function error: `)+"sysData.phraseLength: "+t.phraseLength+" must be <= remaining chars: "+r,new Error(s);switch(t.state){case w.ACTIVE:if(n)break;throw new Error(`${x}opRNM(${e.name}): callback function return error. ACTIVE state not allowed.`);case w.EMPTY:t.phraseLength=0;break;case w.MATCH:0===t.phraseLength&&(t.state=w.EMPTY);break;case w.NOMATCH:t.phraseLength=0;break;default:throw new Error(`${x}opRNM(${e.name}): callback function return error. Unrecognized return state: `+t.state)}},L=(s,o)=>{var e=x+"opExecute(): ",t=k[s];switch(T+=1,N>I&&(I=N),N+=1,R.refresh(),E.trace&&E.trace.down(t,o),t.type){case w.ALT:var i=s,r=o,n=k[i];for(let e=0;e<n.children.length&&(L(n.children[e],r),R.state===w.NOMATCH);e+=1);break;case w.CAT:{i=s;var a=o;let t,e,r,n;var l=k[i];E.ast&&(e=E.ast.getLength()),t=!0,r=a;for(let e=n=0;e<l.children.length;e+=1){if(L(l.children[e],r),R.state===w.NOMATCH){t=!1;break}r+=R.phraseLength,n+=R.phraseLength}t?(R.state=0===n?w.EMPTY:w.MATCH,R.phraseLength=n):(R.state=w.NOMATCH,R.phraseLength=0,E.ast&&E.ast.setLength(e))}break;case w.REP:((e,t)=>{let r,n,s,o;var i=k[e];if(0===i.max)return R.state=w.EMPTY,R.phraseLength=0;for(n=t,s=0,o=0,E.ast&&(r=E.ast.getLength());!(n>=A.length)&&(L(e+1,n),R.state!==w.NOMATCH)&&R.state!==w.EMPTY&&(o+=1,s+=R.phraseLength,n+=R.phraseLength,o!==i.max););R.state===w.EMPTY||o>=i.min?(R.state=0===s?w.EMPTY:w.MATCH,R.phraseLength=s):(R.state=w.NOMATCH,R.phraseLength=0,E.ast&&E.ast.setLength(r))})(s,o);break;case w.RNM:{var c=s;a=o;let e,t,r;const y=k[c],v=S[y.index],b=O[v.index];if(P||(t=E.ast&&E.ast.ruleDefined(y.index))&&(e=E.ast.getLength(),E.ast.down(y.index,S[y.index].name)),b){const c=A.length-a;b(R,A,a,j),D(v,R,c,!0),R.state===w.ACTIVE&&(r=k,k=v.opcodes,L(0,a),k=r,b(R,A,a,j),D(v,R,c,!1))}else r=k,k=v.opcodes,L(0,a,R),k=r;P||t&&(R.state===w.NOMATCH?E.ast.setLength(e):E.ast.up(y.index,v.name,a,R.phraseLength))}break;case w.TRG:var c=s,u=o;c=k[c],R.state=w.NOMATCH,u<A.length&&c.min<=A[u]&&A[u]<=c.max&&(R.state=w.MATCH,R.phraseLength=1);break;case w.TBS:((e,t)=>{var r=k[e],n=r.string.length;if(R.state=w.NOMATCH,t+n<=A.length){for(let e=0;e<n;e+=1)if(A[t+e]!==r.string[e])return;R.state=w.MATCH,R.phraseLength=n}})(s,o);break;case w.TLS:((e,t)=>{let r;var n=k[e],s=(R.state=w.NOMATCH,n.string.length);if(0!==s){if(t+s<=A.length){for(let e=0;e<s;e+=1)if(65<=(r=A[t+e])&&r<=90&&(r+=32),r!==n.string[e])return;R.state=w.MATCH,R.phraseLength=s}}else R.state=w.EMPTY})(s,o);break;case w.UDT:{u=s;var p=o;let e,t,r;var u=k[u],h=_[u.index],d=(R.UdtIndex=h.index,P||(r=E.ast&&E.ast.udtDefined(u.index))&&(t=S.length+u.index,e=E.ast.getLength(),E.ast.down(t,h.name)),A.length-p),f=(C[u.index](R,A,p,j),h),m=R,u=d;if(m.phraseLength>u)throw d=(d=`${x}opUDT(${f.name}): callback function error: `)+"sysData.phraseLength: "+m.phraseLength+" must be <= remaining chars: "+u,new Error(d);switch(m.state){case w.ACTIVE:throw new Error(`${x}opUDT(${f.name}) ACTIVE state return not allowed.`);case w.EMPTY:if(!f.empty)throw new Error(`${x}opUDT(${f.name}) may not return EMPTY.`);m.phraseLength=0;break;case w.MATCH:if(0===m.phraseLength){if(!f.empty)throw new Error(`${x}opUDT(${f.name}) may not return EMPTY.`);m.state=w.EMPTY}break;case w.NOMATCH:m.phraseLength=0;break;default:throw new Error(`${x}opUDT(${f.name}): callback function return error. Unrecognized return state: `+m.state)}P||r&&(R.state===w.NOMATCH?E.ast.setLength(e):E.ast.up(t,h.name,p,R.phraseLength))}break;case w.AND:d=s,h=o;switch(P+=1,L(d+1,h),--P,R.phraseLength=0,R.state){case w.EMPTY:case w.MATCH:R.state=w.EMPTY;break;case w.NOMATCH:R.state=w.NOMATCH;break;default:throw new Error("opAND: invalid state "+R.state)}break;case w.NOT:var p=s,g=o;switch(P+=1,L(p+1,g),--P,R.phraseLength=0,R.state){case w.EMPTY:case w.MATCH:R.state=w.NOMATCH;break;case w.NOMATCH:R.state=w.EMPTY;break;default:throw new Error("opNOT: invalid state "+R.state)}break;default:throw new Error(e+"unrecognized operator")}P||o+R.phraseLength>M&&(M=o+R.phraseLength),E.stats&&E.stats.collect(t,R),E.trace&&E.trace.up(t,R.state,o,R.phraseLength),--N}},oA=function(){const i=m,n=iA,o=this;let a,l,c,u;const p=[],h=[],d=[];function s(e){let t="";for(;0<e--;)t+=" ";return t}o.callbacks=[],o.init=(e,t,r)=>{let n;h.length=0,d.length=0,u=0,a=e,l=t,c=r;const s=[];for(n=0;n<a.length;n+=1)s.push(a[n].lower);for(n=0;n<l.length;n+=1)s.push(l[n].lower);for(u=a.length+l.length,n=0;n<u;n+=1)p[n]=void 0;for(const e in o.callbacks){const t=e.toLowerCase();if((n=s.indexOf(t))<0)throw new Error(`parser.js: Ast()): init: node '${e}' not a rule or udt name`);p[n]=o.callbacks[e]}},o.ruleDefined=e=>!!p[e],o.udtDefined=e=>!!p[a.length+e],o.down=(e,t)=>{var r=d.length;return h.push(r),d.push({name:t,thisIndex:r,thatIndex:void 0,state:i.SEM_PRE,callbackIndex:e,phraseIndex:void 0,phraseLength:void 0,stack:h.length}),r},o.up=(e,t,r,n)=>{var s=d.length,o=h.pop();return d.push({name:t,thisIndex:s,thatIndex:o,state:i.SEM_POST,callbackIndex:e,phraseIndex:r,phraseLength:n,stack:h.length}),d[o].thatIndex=s,d[o].phraseIndex=r,d[o].phraseLength=n,s},o.translate=t=>{let r,n;for(let e=0;e<d.length;e+=1)n=d[e],(r=p[n.callbackIndex])&&(n.state===i.SEM_PRE?r(i.SEM_PRE,c,n.phraseIndex,n.phraseLength,t):r&&r(i.SEM_POST,c,n.phraseIndex,n.phraseLength,t))},o.setLength=e=>{d.length=e,h.length=0<e?d[e-1].stack:0},o.getLength=()=>d.length,o.toXml=()=>{let t="",r=0;return t=(t=(t=(t+='<?xml version="1.0" encoding="utf-8"?>\n')+`<root nodes="${d.length/2}" characters="${c.length}">
|
||
`+"\x3c!-- input string --\x3e\n")+s(r+2))+n.charsToString(c)+"\n",d.forEach(e=>{e.state===i.SEM_PRE?(r+=1,t=(t=(t=(t+=s(r))+`<node name="${e.name}" index="${e.phraseIndex}" length="${e.phraseLength}">
|
||
`)+s(r+2))+n.charsToString(c,e.phraseIndex,e.phraseLength)+"\n"):(t=(t+=s(r))+`</node><!-- name="${e.name}" -->
|
||
`,--r)}),t+="</root>\n"}},iA={stringToChars:e=>[...e].map(e=>e.codePointAt(0)),charsToString:(e,t,r)=>{let n=e;for(;!(void 0===t||t<0);){if(void 0===r){n=e.slice(t);break}if(r<=0)return"";n=e.slice(t,t+r);break}return String.fromCodePoint(...n)}},m={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:e=>{switch(e){case m.ALT:return"ALT";case m.CAT:return"CAT";case m.REP:return"REP";case m.RNM:return"RNM";case m.TRG:return"TRG";case m.TBS:return"TBS";case m.TLS:return"TLS";case m.UDT:return"UDT";case m.AND:return"AND";case m.NOT:return"NOT";case m.ACTIVE:return"ACTIVE";case m.EMPTY:return"EMPTY";case m.MATCH:return"MATCH";case m.NOMATCH:return"NOMATCH";case m.SEM_PRE:return"SEM_PRE";case m.SEM_POST:return"SEM_POST";case m.SEM_OK:return"SEM_OK";default:return"UNRECOGNIZED STATE"}}},aA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["slash",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),lA=(e,t,r,n,s)=>{if(e===m.SEM_PRE){if(!1===Array.isArray(s))throw new Error("parser's user data must be an array");s.push(["path-template",iA.charsToString(t,r,n)])}return m.SEM_OK},cA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["path",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),uA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["path-literal",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),pA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["query",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),hA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["query-marker",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),dA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["fragment",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),fA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["fragment-marker",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),mA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["template-expression",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),gA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["template-expression-param-name",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),yA=new function(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"path-template",lower:"path-template",index:0,isBkr:!1},this.rules[1]={name:"path",lower:"path",index:1,isBkr:!1},this.rules[2]={name:"path-segment",lower:"path-segment",index:2,isBkr:!1},this.rules[3]={name:"query",lower:"query",index:3,isBkr:!1},this.rules[4]={name:"query-literal",lower:"query-literal",index:4,isBkr:!1},this.rules[5]={name:"query-marker",lower:"query-marker",index:5,isBkr:!1},this.rules[6]={name:"fragment",lower:"fragment",index:6,isBkr:!1},this.rules[7]={name:"fragment-literal",lower:"fragment-literal",index:7,isBkr:!1},this.rules[8]={name:"fragment-marker",lower:"fragment-marker",index:8,isBkr:!1},this.rules[9]={name:"slash",lower:"slash",index:9,isBkr:!1},this.rules[10]={name:"path-literal",lower:"path-literal",index:10,isBkr:!1},this.rules[11]={name:"template-expression",lower:"template-expression",index:11,isBkr:!1},this.rules[12]={name:"template-expression-param-name",lower:"template-expression-param-name",index:12,isBkr:!1},this.rules[13]={name:"unreserved",lower:"unreserved",index:13,isBkr:!1},this.rules[14]={name:"pct-encoded",lower:"pct-encoded",index:14,isBkr:!1},this.rules[15]={name:"sub-delims",lower:"sub-delims",index:15,isBkr:!1},this.rules[16]={name:"sub-delims-no-slash",lower:"sub-delims-no-slash",index:16,isBkr:!1},this.rules[17]={name:"ALPHA",lower:"alpha",index:17,isBkr:!1},this.rules[18]={name:"DIGIT",lower:"digit",index:18,isBkr:!1},this.rules[19]={name:"HEXDIG",lower:"hexdig",index:19,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:1},this.rules[0].opcodes[2]={type:3,min:0,max:1},this.rules[0].opcodes[3]={type:2,children:[4,5]},this.rules[0].opcodes[4]={type:4,index:5},this.rules[0].opcodes[5]={type:4,index:3},this.rules[0].opcodes[6]={type:3,min:0,max:1},this.rules[0].opcodes[7]={type:2,children:[8,9]},this.rules[0].opcodes[8]={type:4,index:8},this.rules[0].opcodes[9]={type:4,index:6},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:2,children:[1,2,6]},this.rules[1].opcodes[1]={type:4,index:9},this.rules[1].opcodes[2]={type:3,min:0,max:1/0},this.rules[1].opcodes[3]={type:2,children:[4,5]},this.rules[1].opcodes[4]={type:4,index:2},this.rules[1].opcodes[5]={type:4,index:9},this.rules[1].opcodes[6]={type:3,min:0,max:1},this.rules[1].opcodes[7]={type:4,index:2},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]},this.rules[2].opcodes[2]={type:4,index:10},this.rules[2].opcodes[3]={type:4,index:11},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:3,min:0,max:1/0},this.rules[3].opcodes[1]={type:4,index:4},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,5,6,7,8,9,10]},this.rules[4].opcodes[2]={type:4,index:13},this.rules[4].opcodes[3]={type:4,index:14},this.rules[4].opcodes[4]={type:4,index:15},this.rules[4].opcodes[5]={type:7,string:[58]},this.rules[4].opcodes[6]={type:7,string:[64]},this.rules[4].opcodes[7]={type:7,string:[47]},this.rules[4].opcodes[8]={type:7,string:[63]},this.rules[4].opcodes[9]={type:7,string:[38]},this.rules[4].opcodes[10]={type:7,string:[61]},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:7,string:[63]},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:3,min:0,max:1/0},this.rules[6].opcodes[1]={type:4,index:7},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:3,min:1,max:1/0},this.rules[7].opcodes[1]={type:1,children:[2,3,4,5,6,7,8]},this.rules[7].opcodes[2]={type:4,index:13},this.rules[7].opcodes[3]={type:4,index:14},this.rules[7].opcodes[4]={type:4,index:15},this.rules[7].opcodes[5]={type:7,string:[58]},this.rules[7].opcodes[6]={type:7,string:[64]},this.rules[7].opcodes[7]={type:7,string:[47]},this.rules[7].opcodes[8]={type:7,string:[63]},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:7,string:[35]},this.rules[9].opcodes=[],this.rules[9].opcodes[0]={type:7,string:[47]},this.rules[10].opcodes=[],this.rules[10].opcodes[0]={type:3,min:1,max:1/0},this.rules[10].opcodes[1]={type:1,children:[2,3,4,5,6]},this.rules[10].opcodes[2]={type:4,index:13},this.rules[10].opcodes[3]={type:4,index:14},this.rules[10].opcodes[4]={type:4,index:16},this.rules[10].opcodes[5]={type:7,string:[58]},this.rules[10].opcodes[6]={type:7,string:[64]},this.rules[11].opcodes=[],this.rules[11].opcodes[0]={type:2,children:[1,2,3]},this.rules[11].opcodes[1]={type:7,string:[123]},this.rules[11].opcodes[2]={type:4,index:12},this.rules[11].opcodes[3]={type:7,string:[125]},this.rules[12].opcodes=[],this.rules[12].opcodes[0]={type:3,min:1,max:1/0},this.rules[12].opcodes[1]={type:1,children:[2,3,4,5,6]},this.rules[12].opcodes[2]={type:4,index:13},this.rules[12].opcodes[3]={type:4,index:14},this.rules[12].opcodes[4]={type:4,index:16},this.rules[12].opcodes[5]={type:7,string:[58]},this.rules[12].opcodes[6]={type:7,string:[64]},this.rules[13].opcodes=[],this.rules[13].opcodes[0]={type:1,children:[1,2,3,4,5,6]},this.rules[13].opcodes[1]={type:4,index:17},this.rules[13].opcodes[2]={type:4,index:18},this.rules[13].opcodes[3]={type:7,string:[45]},this.rules[13].opcodes[4]={type:7,string:[46]},this.rules[13].opcodes[5]={type:7,string:[95]},this.rules[13].opcodes[6]={type:7,string:[126]},this.rules[14].opcodes=[],this.rules[14].opcodes[0]={type:2,children:[1,2,3]},this.rules[14].opcodes[1]={type:7,string:[37]},this.rules[14].opcodes[2]={type:4,index:19},this.rules[14].opcodes[3]={type:4,index:19},this.rules[15].opcodes=[],this.rules[15].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11]},this.rules[15].opcodes[1]={type:7,string:[33]},this.rules[15].opcodes[2]={type:7,string:[36]},this.rules[15].opcodes[3]={type:7,string:[38]},this.rules[15].opcodes[4]={type:7,string:[39]},this.rules[15].opcodes[5]={type:7,string:[40]},this.rules[15].opcodes[6]={type:7,string:[41]},this.rules[15].opcodes[7]={type:7,string:[42]},this.rules[15].opcodes[8]={type:7,string:[43]},this.rules[15].opcodes[9]={type:7,string:[44]},this.rules[15].opcodes[10]={type:7,string:[59]},this.rules[15].opcodes[11]={type:7,string:[61]},this.rules[16].opcodes=[],this.rules[16].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10]},this.rules[16].opcodes[1]={type:7,string:[33]},this.rules[16].opcodes[2]={type:7,string:[36]},this.rules[16].opcodes[3]={type:7,string:[38]},this.rules[16].opcodes[4]={type:7,string:[39]},this.rules[16].opcodes[5]={type:7,string:[40]},this.rules[16].opcodes[6]={type:7,string:[41]},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:[44]},this.rules[16].opcodes[10]={type:7,string:[59]},this.rules[17].opcodes=[],this.rules[17].opcodes[0]={type:1,children:[1,2]},this.rules[17].opcodes[1]={type:5,min:65,max:90},this.rules[17].opcodes[2]={type:5,min:97,max:122},this.rules[18].opcodes=[],this.rules[18].opcodes[0]={type:5,min:48,max:57},this.rules[19].opcodes=[],this.rules[19].opcodes[0]={type:1,children:[1,2,3,4,5,6,7]},this.rules[19].opcodes[1]={type:4,index:18},this.rules[19].opcodes[2]={type:7,string:[97]},this.rules[19].opcodes[3]={type:7,string:[98]},this.rules[19].opcodes[4]={type:7,string:[99]},this.rules[19].opcodes[5]={type:7,string:[100]},this.rules[19].opcodes[6]={type:7,string:[101]},this.rules[19].opcodes[7]={type:7,string:[102]},this.toString=function(){return'; OpenAPI Path Templating ABNF syntax\npath-template = path [ query-marker query ] [ fragment-marker fragment ]\npath = slash *( path-segment slash ) [ path-segment ]\npath-segment = 1*( path-literal / template-expression )\nquery = *( query-literal )\nquery-literal = 1*( unreserved / pct-encoded / sub-delims / ":" / "@" / "/" / "?" / "&" / "=" )\nquery-marker = "?"\nfragment = *( fragment-literal )\nfragment-literal = 1*( unreserved / pct-encoded / sub-delims / ":" / "@" / "/" / "?" )\nfragment-marker = "#"\nslash = "/"\npath-literal = 1*( unreserved / pct-encoded / sub-delims-no-slash / ":" / "@" )\ntemplate-expression = "{" template-expression-param-name "}"\ntemplate-expression-param-name = 1*( unreserved / pct-encoded / sub-delims-no-slash / ":" / "@" )\n\n; Characters definitions (from RFC 3986)\nunreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"\npct-encoded = "%" HEXDIG HEXDIG\nsub-delims = "!" / "$" / "&" / "\'" / "(" / ")"\n / "*" / "+" / "," / ";" / "="\nsub-delims-no-slash = "!" / "$" / "&" / "\'" / "(" / ")"\n / "*" / "+" / "," / ";"\nALPHA = %x41-5A / %x61-7A ; A-Z / a-z\nDIGIT = %x30-39 ; 0-9\nHEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"\n'}},vA=["slash","path-literal","query-marker","query-literal","template-expression-param-name"],bA=(e,r={},t={})=>{const n={encoder:e=>(e=>{try{return"string"==typeof e&&decodeURIComponent(e)!==e}catch(e){return!1}})(e)?e:encodeURIComponent(e),...t},s=(e=>{const t=new sA;return t.ast=new oA,t.ast.callbacks["path-template"]=lA,t.ast.callbacks.path=cA,t.ast.callbacks.query=pA,t.ast.callbacks["query-marker"]=hA,t.ast.callbacks.fragment=dA,t.ast.callbacks["fragment-marker"]=fA,t.ast.callbacks.slash=aA,t.ast.callbacks["path-literal"]=uA,t.ast.callbacks["template-expression"]=mA,t.ast.callbacks["template-expression-param-name"]=gA,{result:t.parse(yA,"path-template",e),ast:t.ast}})(e);if(!s.result.success)return e;const o=[],i=(s.ast.translate(o),o.filter(([e])=>vA.includes(e)).map(([e,t])=>"template-expression-param-name"===e?Object.hasOwn(r,t)?n.encoder(r[t]):`{${t}}`:t));return i.join("")},wA={body:function({req:e,value:t}){void 0!==t&&(e.body=t)},header:function({req:e,parameter:t,value:r}){e.headers=e.headers||{},void 0!==r&&(e.headers[t.name]=r)},query:function({req:e,value:t,parameter:r}){if(e.query=e.query||{},t=0===(t=!1===t&&"boolean"===r.type?"false":t)&&-1<["number","integer"].indexOf(r.type)?"0":t)e.query[r.name]={collectionFormat:r.collectionFormat,value:t};else if(r.allowEmptyValue&&void 0!==t){const t=r.name;e.query[t]=e.query[t]||{},e.query[t].allowEmptyValue=!0}},path:function({req:e,value:t,parameter:r,baseURL:n}){var s;void 0!==t&&(s=e.url.replace(n,""),s=bA(s,{[r.name]:t}),e.url=n+s)},formData:function({req:e,value:t,parameter:r}){if(t=0===(t=!1===t&&"boolean"===r.type?"false":t)&&-1<["number","integer"].indexOf(r.type)?"0":t)e.form=e.form||{},e.form[r.name]={collectionFormat:r.collectionFormat,value:t};else if(r.allowEmptyValue&&void 0!==t){e.form=e.form||{};const t=r.name;e.form[t]=e.form[t]||{},e.form[t].allowEmptyValue=!0}}};function EA(e,t){return t.includes("application/json")?"string"==typeof e?e:(Array.isArray(e)&&(e=e.map(t=>{try{return JSON.parse(t)}catch(e){return t}})),JSON.stringify(e)):String(e)}const xA=["accept","authorization","content-type"];const SA="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window,_A=SA["btoa"],kA=_A;function AA(e,t){return t.toLowerCase()+"-"+e}const OA=e=>Array.isArray(e)?e:[],CA=e=>{try{return new URL(e)}catch{const t=new URL(e,vp),r=String(e).startsWith("/")?t.pathname:t.pathname.substring(1);return{hash:t.hash,host:"",hostname:"",href:"",origin:"",password:"",pathname:r,port:"",protocol:"",search:t.search,searchParams:t.searchParams}}};class jA extends uc{}const PA={buildRequest:IA};function NA({http:e,fetch:t,spec:r,operationId:n,pathName:s,method:o,parameters:i,securities:a,...l}){const c=e||t||vh,u=(s&&o&&!n&&(n=AA(s,o)),PA.buildRequest({spec:r,operationId:n,parameters:i,securities:a,http:c,...l}));return u.body&&(nA(u.body)||Array.isArray(u.body))&&(u.body=JSON.stringify(u.body)),c(u)}function IA(e){const{spec:s,operationId:t,responseContentType:r,scheme:n,requestInterceptor:o,responseInterceptor:i,contextUrl:a,userFetch:l,server:c,serverVariables:u,http:p,signal:h}=e;let{parameters:d,parameterBuilders:f}=e;const m=Ch(s);f=f||(m?te:wA);let g={url:"",credentials:p&&p.withCredentials?"include":"same-origin",headers:{},cookies:{}};h&&(g.signal=h),o&&(g.requestInterceptor=o),i&&(g.responseInterceptor=i),l&&(g.userFetch=l);v=s,y=t;var y,v=v&&v.paths?function(e,t,r){if(!e||"object"!=typeof e||!e.paths||"object"!=typeof e.paths)return null;var n=e["paths"];for(const i in n)for(const a in n[i])if("PARAMETERS"!==a.toUpperCase()){var s=n[i][a];if(s&&"object"==typeof s){var s={spec:e,pathName:i,method:a.toUpperCase(),operation:s},o=t(s);if(r&&o)return s}}}(v,({pathName:e,method:t,operation:r})=>{if(!r||"object"!=typeof r)return!1;const n=r.operationId;return[Qp(r,e,t),AA(e,t),n].some(e=>e&&e===y)},!0)||null:null;if(!v)throw new jA(`Operation ${t} not found`);const{operation:b={},method:w,pathName:E}=v,x=(v={spec:s,scheme:n,contextUrl:a,server:c,serverVariables:u,pathName:E,method:w},(Ch(v.spec)?function({spec:t,pathName:r,method:n,server:s,contextUrl:o,serverVariables:i={}}){let a,e=[],l="";var n=null==t||null==(c=t.paths)||null==(c=c[r])||null==(c=c[(n||"").toLowerCase()])?void 0:c.servers,r=null==t||null==(c=t.paths)||null==(c=c[r])?void 0:c.servers,c=null==t?void 0:t.servers;e=MA(n)?n:MA(r)?r:MA(c)?c:[bp],s&&(a=e.find(e=>e.url===s))&&(l=s),l||([a]=e,l=a.url),l.includes("{")&&function(e){e=eA()(e).call(e,/\{([^{}]+)}|([^{}]+)/g);return Array.from(e,([,e])=>e).filter(Boolean)}(l).forEach(e=>{var t;a.variables&&a.variables[e]&&(t=a.variables[e],t=i[e]||t.default,e=new RegExp(`{${Yu(e)}}`,"g"),l=l.replace(e,t))});{var[t="",n=""]=[l,o];t=CA(t&&n?ip(n,t):t),n=CA(n),r=TA(t.protocol)||TA(n.protocol),n=t.host||n.host,t=t.pathname;let e;return"/"===(e=r&&n?r+"://"+(n+t):t)[e.length-1]?e.slice(0,-1):e}}:function({spec:e,scheme:t,contextUrl:r=""}){var r=CA(r),n=Array.isArray(e.schemes)?e.schemes[0]:null,t=t||n||TA(r.protocol)||"http",n=e.host||r.host||"",r=e.basePath||"";let s;return"/"===(s=t&&n?t+"://"+(n+r):r)[s.length-1]?s.slice(0,-1):s})(v));if(g.url+=x,!t)return delete g.cookies,g;g.url+=E,g.method=(""+w).toUpperCase(),d=d||{};v=s.paths[E]||{};r&&(g.headers.accept=r);const S=(e=>{const r={},n=(e.forEach(e=>{r[e.in]||(r[e.in]={}),r[e.in][e.name]=e}),[]);return Object.keys(r).forEach(t=>{Object.keys(r[t]).forEach(e=>{n.push(r[t][e])})}),n})([].concat(OA(b.parameters)).concat(OA(v.parameters)));S.forEach(e=>{const t=f[e.in];let r;if("body"===e.in&&e.schema&&e.schema.properties&&(r=d),void 0===(r=e&&e.name&&d[e.name])?r=e&&e.name&&d[e.in+"."+e.name]:(n=e.name,1<S.filter(e=>e.name===n).length&&console.warn(`Parameter '${e.name}' is ambiguous because the defined spec has more than one parameter with the name: '${e.name}' and the passed-in parameter values did not define an 'in' value.`)),null!==r){if(void 0===(r=void 0!==e.default&&void 0===r?e.default:r)&&e.required&&!e.allowEmptyValue)throw new Error(`Required parameter ${e.name} is not provided`);if(m&&e.schema&&"object"===e.schema.type&&"string"==typeof r)try{r=JSON.parse(r)}catch(e){throw new Error("Could not parse object parameter value string as JSON")}t&&t({req:g,parameter:e,value:r,operation:b,spec:s,baseURL:x})}var n});v={...e,operation:b};if((g=(m?function(r,n){const{operation:e,requestBody:s,securities:t,spec:o,attachContentTypeForEmptyPayload:i}=r;let a=r["requestContentType"];n=function({request:e,securities:t={},operation:r={},spec:n}){const o={...e},{authorized:i={}}=t,s=r.security||n.security||[],a=i&&!!Object.keys(i).length,l=(null==n||null==(n=n.components)?void 0:n.securitySchemes)||{};return o.headers=o.headers||{},o.query=o.query||{},Object.keys(t).length&&a&&s&&(!Array.isArray(r.security)||r.security.length)?(s.forEach(e=>{Object.keys(e).forEach(t=>{const r=i[t],n=l[t];if(r){const s=r.value||r,e=n["type"];if(r)if("apiKey"===e)"query"===n.in&&(o.query[n.name]=s),"header"===n.in&&(o.headers[n.name]=s),"cookie"===n.in&&(o.cookies[n.name]=s);else if("http"===e){if(/^basic$/i.test(n.scheme)){const t=s.username||"",r=s.password||"",n=kA(t+":"+r);o.headers.Authorization="Basic "+n}/^bearer$/i.test(n.scheme)&&(o.headers.Authorization="Bearer "+s)}else if("oauth2"===e||"openIdConnect"===e){const t=r.token||{},s=t[n["x-tokenName"]||"access_token"];let e=t.token_type;e&&"bearer"!==e.toLowerCase()||(e="Bearer"),o.headers.Authorization=e+" "+s}}})}),o):e}({request:n,securities:t,operation:e,spec:o});const l=e.requestBody||{},c=Object.keys(l.content||{}),u=a&&-1<c.indexOf(a);if(s||i){if(a&&u)n.headers["Content-Type"]=a;else if(!a){const r=c[0];r&&(n.headers["Content-Type"]=r,a=r)}}else a&&u&&(n.headers["Content-Type"]=a);if(!r.responseContentType&&e.responses){const r=Object.entries(e.responses).filter(([e,t])=>{e=parseInt(e,10);return 200<=e&&e<300&&nA(t.content)}).reduce((e,[,t])=>e.concat(Object.keys(t.content)),[]);0<r.length&&(n.headers.accept=r.join(", "))}if(s)if(a){if(-1<c.indexOf(a))if("application/x-www-form-urlencoded"===a||"multipart/form-data"===a)if("object"==typeof s){const r=null!=(p=null==(p=l.content[a])?void 0:p.encoding)?p:{};n.form={},Object.keys(s).forEach(e=>{let t;try{t=JSON.parse(s[e])}catch{t=s[e]}n.form[e]={value:t,encoding:r[e]||{}}})}else if("string"==typeof s){var p;const r=null!=(p=null==(p=l.content[a])?void 0:p.encoding)?p:{};try{n.form={};const e=JSON.parse(s);Object.entries(e).forEach(([e,t])=>{n.form[e]={value:t,encoding:r[e]||{}}})}catch{n.form=s}}else n.form=s;else n.body=s}else n.body=s;return n}:function(e,t){const{spec:r,operation:n,securities:s,requestContentType:o,responseContentType:i,attachContentTypeForEmptyPayload:a}=e;if((t=function({request:e,securities:t={},operation:r={},spec:n}){const c={...e},{authorized:u={},specSecurity:s=[]}=t,o=r.security||s,i=u&&!!Object.keys(u).length,p=n.securityDefinitions;return c.headers=c.headers||{},c.query=c.query||{},Object.keys(t).length&&i&&o&&(!Array.isArray(r.security)||r.security.length)?(o.forEach(e=>{Object.keys(e).forEach(t=>{const r=u[t];if(r){const n=r["token"],s=r.value||r,o=p[t],i=o["type"],a=o["x-tokenName"]||"access_token",l=n&&n[a];let e=n&&n.token_type;if(r)if("apiKey"===i){const t="query"===o.in?"query":"headers";c[t]=c[t]||{},c[t][o.name]=s}else if("basic"===i)if(s.header)c.headers.authorization=s.header;else{const t=s.username||"",r=s.password||"";s.base64=kA(t+":"+r),c.headers.authorization="Basic "+s.base64}else"oauth2"===i&&l&&(e=e&&"bearer"!==e.toLowerCase()?e:"Bearer",c.headers.authorization=e+" "+l)}})}),c):e}({request:t,securities:s,operation:n,spec:r})).body||t.form||a)o?t.headers["Content-Type"]=o:Array.isArray(n.consumes)?[t.headers["Content-Type"]]=n.consumes:Array.isArray(r.consumes)?[t.headers["Content-Type"]]=r.consumes:n.parameters&&n.parameters.filter(e=>"file"===e.type).length?t.headers["Content-Type"]="multipart/form-data":n.parameters&&n.parameters.filter(e=>"formData"===e.in).length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(o){const e=n.parameters&&0<n.parameters.filter(e=>"body"===e.in).length,r=n.parameters&&0<n.parameters.filter(e=>"formData"===e.in).length;(e||r)&&(t.headers["Content-Type"]=o)}return!i&&Array.isArray(n.produces)&&0<n.produces.length&&(t.headers.accept=n.produces.join(", ")),t})(v,g)).cookies&&Object.keys(g.cookies).length){const e=Object.keys(g.cookies).reduce((e,t)=>{var r=g.cookies[t];return e+(e?"&":"")+tA.serialize(t,r)},"");g.headers.Cookie=e}return g.cookies&&delete g.cookies,mh(g)}const TA=e=>e?e.replace(/\W/g,""):null,MA=e=>Array.isArray(e)&&0<e.length,RA=n=>async(e,t,r={})=>(async(e,t,r)=>{const{returnEntireTree:n,baseDoc:s,requestInterceptor:o,responseInterceptor:i,parameterMacro:a,modelPropertyMacro:l,useCircularStructures:c,strategies:u}=r,p={spec:e,pathDiscriminator:t,baseDoc:s,requestInterceptor:o,responseInterceptor:i,parameterMacro:a,modelPropertyMacro:l,useCircularStructures:c,strategies:u},h=u.find(e=>e.match(p)).normalize(p),d=await Zk({...p,spec:h,allowMetaPatches:!0,skipNormalization:!0});return!n&&Array.isArray(t)&&t.length&&(d.spec=t.reduce((e,t)=>null==e?void 0:e[t],d.spec)||null),d})(e,t,{...n,...r}),DA=(RA({strategies:[Ih,Ph,kh]}),(t,r)=>(...e)=>{t(...e);e=r.getConfigs().withCredentials;r.fn.fetch.withCredentials=e});function LA({configs:e,getConfigs:s}){return{fn:{fetch:(t=vh,r=e.preFetch,n=(n=e.postFetch)||(e=>e),r=r||(e=>e),e=>(e=mh(e="string"==typeof e?{url:e}:e),e=r(e),n(t(e)))),buildRequest:IA,execute:NA,resolve:Qk({strategies:[Xk,Ih,Ph,kh]}),resolveSubtree:async(e,t,r={})=>{var n=s(),n={modelPropertyMacro:n.modelPropertyMacro,parameterMacro:n.parameterMacro,requestInterceptor:n.requestInterceptor,responseInterceptor:n.responseInterceptor,strategies:[Xk,Ih,Ph,kh]};return RA(n)(e,t,r)},serializeRes:yh,opId:Qp},statePlugins:{configs:{wrapActions:{loaded:DA}}}};var t,r,n}function FA(){return{fn:{shallowEqualKeys:nt}}}var BA=cI(40961),G=cI(78418),N=ae,$A=Symbol.for("react-redux-context"),qA="undefined"!=typeof globalThis?globalThis:{};var UA=function(){if(!N.createContext)return{};const e=qA[$A]??(qA[$A]=new Map);let t=e.get(N.createContext);return t||(t=N.createContext(null),e.set(N.createContext,t)),t}(),zA=Symbol.for("react.element"),VA=Symbol.for("react.portal"),KA=Symbol.for("react.fragment"),WA=Symbol.for("react.strict_mode"),JA=Symbol.for("react.profiler"),HA=Symbol.for("react.provider"),GA=Symbol.for("react.context"),YA=Symbol.for("react.server_context"),XA=Symbol.for("react.forward_ref"),QA=Symbol.for("react.suspense"),ZA=Symbol.for("react.suspense_list"),eO=Symbol.for("react.memo"),tO=Symbol.for("react.lazy"),Mn=(Symbol.for("react.offscreen"),Symbol.for("react.client.reference"),XA);function rO(i,a,l,c,{areStatesEqual:u,areOwnPropsEqual:p,areStatePropsEqual:h}){let d,f,m,g,y,v=!1;return function(e,t){return v?(r=e,s=!p(n=t,f),o=!u(r,d,n,f),d=r,f=n,s&&o?(m=i(d,f),a.dependsOnOwnProps&&(g=a(c,f)),y=l(m,g,f)):s?(i.dependsOnOwnProps&&(m=i(d,f)),a.dependsOnOwnProps&&(g=a(c,f)),y=l(m,g,f)):o?(r=i(d,f),n=!h(r,m),m=r,y=n?l(m,g,f):y):y):(s=e,o=t,d=s,f=o,m=i(d,f),g=a(c,f),y=l(m,g,f),v=!0,y);var r,n,s,o}}function nO(n){return function(e){const t=n(e);function r(){return t}return r.dependsOnOwnProps=!1,r}}function sO(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function oO(s){return function(e,{}){const n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e,void 0)};return n.dependsOnOwnProps=!0,n.mapToProps=function(e,t){n.mapToProps=s,n.dependsOnOwnProps=sO(s);let r=n(e,t);return"function"==typeof r&&(n.mapToProps=r,n.dependsOnOwnProps=sO(r),r=n(e,t)),r},n}}function iO(r,n){return(e,t)=>{throw new Error(`Invalid value of type ${typeof r} for ${n} argument when connecting component ${t.wrappedComponentName}.`)}}var aO={notify(){},get:()=>[]};function lO(e,t){let r,n=aO,s=0,o=!1;function i(){c.onStateChange&&c.onStateChange()}function a(){s++,r||(r=t?t.addNestedSub(i):e.subscribe(i),n=function(){let n=null,s=null;return{clear(){n=null,s=null},notify(){{let e=n;for(;e;)e.callback(),e=e.next;return}},get(){const e=[];let t=n;for(;t;)e.push(t),t=t.next;return e},subscribe(e){let t=!0;const r=s={callback:e,next:null,prev:s};return r.prev?r.prev.next=r:n=r,function(){t&&null!==n&&(t=!1,r.next?r.next.prev=r.prev:s=r.prev,r.prev?r.prev.next=r.next:n=r.next)}}}}())}function l(){s--,r&&0===s&&(r(),r=void 0,n.clear(),n=aO)}const c={addNestedSub:function(e){a();const t=n.subscribe(e);let r=!1;return()=>{r||(r=!0,t(),l())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:i,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,a())},tryUnsubscribe:function(){o&&(o=!1,l())},getListeners:()=>n};return c}var fs=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),be="undefined"!=typeof navigator&&"ReactNative"===navigator.product,cO=fs||be?N.useLayoutEffect:N.useEffect;function uO(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function pO(t,r){if(uO(t,r))return!0;if("object"!=typeof t||null===t||"object"!=typeof r||null===r)return!1;var n=Object.keys(t),e=Object.keys(r);if(n.length!==e.length)return!1;for(let e=0;e<n.length;e++)if(!Object.prototype.hasOwnProperty.call(r,n[e])||!uO(t[n[e]],r[n[e]]))return!1;return!0}var hO={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},dO={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},fO={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},mO={[Mn]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[eO]:fO};function gO(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case zA:var r=e.type;switch(r){case KA:case JA:case WA:case QA:case ZA:return r;default:{const e=r&&r.$$typeof;switch(e){case YA:case GA:case XA:case tO:case eO:case HA:return e;default:return t}}}case VA:return t}}}(e)===eO?fO:mO[e.$$typeof]||hO}var yO=Object.defineProperty,vO=Object.getOwnPropertyNames,bO=Object.getOwnPropertySymbols,wO=Object.getOwnPropertyDescriptor,EO=Object.getPrototypeOf,xO=Object.prototype;function SO(r,n){if("string"!=typeof n){var e;!xO||(e=EO(n))&&e!==xO&&SO(r,e);let t=vO(n);bO&&(t=t.concat(bO(n)));var s=gO(r),o=gO(n);for(let e=0;e<t.length;++e){var i=t[e];if(!(dO[i]||o&&o[i]||s&&s[i])){var a=wO(n,i);try{yO(r,i,a)}catch(r){}}}}return r}var _O=()=>{throw new Error("uSES not initialized!")},kO=[null,null];function AO(e,t,r,n,s,o){e.current=n,r.current=!1,s.current&&(s.current=null,o())}function OO(e,t,r,{areStatesEqual:s=function(e,t){return e===t},areOwnPropsEqual:o=pO,areStatePropsEqual:i=pO,areMergedPropsEqual:a=pO,forwardRef:l=!1,context:n=UA}={}){const j=n,c=(n=e)?"function"==typeof n?oO(n):iO(n,"mapStateToProps"):nO(()=>({})),u=(d=t)&&"object"==typeof d?nO(e=>{{var t=d,r=e;const n={};for(const s in t){const o=t[s];"function"==typeof o&&(n[s]=(...e)=>r(o(...e)))}return n}}):d?"function"==typeof d?oO(d):iO(d,"mapDispatchToProps"):nO(e=>({dispatch:e})),p=(n=r)?"function"==typeof n?(h=n,function(e,{areMergedPropsEqual:n}){let s,o=!1;return function(e,t,r){e=h(e,t,r);return o?n(e,s)||(s=e):(o=!0,s=e),s}}):iO(n,"mergeProps"):()=>function(e,t,r){return{...r,...e,...t}},P=Boolean(e);var h,d;return O=>{const e=O.displayName||O.name||"Component",t=`Connect(${e})`,C={shouldHandleStateChanges:P,displayName:t,wrappedComponentName:e,WrappedComponent:O,initMapStateToProps:c,initMapDispatchToProps:u,initMergeProps:p,areStatesEqual:s,areStatePropsEqual:i,areOwnPropsEqual:o,areMergedPropsEqual:a};function r(r){const[e,t,n]=N.useMemo(()=>{const{reactReduxForwardedRef:e,...t}=r;return[r.context,e,t]},[r]),s=N.useMemo(()=>j,[e,j]),o=N.useContext(s),i=Boolean(r.store)&&Boolean(r.store.getState)&&Boolean(r.store.dispatch),a=Boolean(o)&&Boolean(o.store),f=(i?r:o).store,l=a?o.getServerState:f.getState,m=N.useMemo(()=>{var[e,{initMapStateToProps:t,initMapDispatchToProps:r,initMergeProps:n,...s}]=[f.dispatch,C];return rO(t(e,s),r(e,s),n(e,s),e,s)},[f]),[g,y]=N.useMemo(()=>{if(!P)return kO;const e=lO(f,i?void 0:o.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[f,i,o]),c=N.useMemo(()=>i?o:{...o,subscription:g},[i,o,g]),v=N.useRef(void 0),b=N.useRef(n),w=N.useRef(void 0),E=N.useRef(!1),x=N.useRef(!1),u=N.useRef(void 0);cO(()=>(x.current=!0,()=>{x.current=!1}),[]);var p,h,d,S=N.useMemo(()=>()=>w.current&&n===b.current?w.current:m(f.getState(),n),[f,n]),_=N.useMemo(()=>t=>{if(g){var r=P,s=f,o=g,i=m,a=b,l=v,c=E,u=x,p=w,h=y,d=t;if(!r)return()=>{};let e=!1,n=null;return r=()=>{if(!e&&u.current){var r=s.getState();let e,t;try{e=i(r,a.current)}catch(r){t=r,n=r}t||(n=null),e===l.current?c.current||h():(l.current=e,p.current=e,c.current=!0,d())}},o.onStateChange=r,o.trySubscribe(),r(),()=>{if(e=!0,o.tryUnsubscribe(),o.onStateChange=null,n)throw n}}return()=>{}},[g]);let k;p=AO,h=[b,v,E,n,w,y],cO(()=>p(...h),d);try{k=_O(_,S,l?()=>m(l(),n):S)}catch(e){throw u.current&&(e.message+=`
|
||
The error may be correlated with this previous error:
|
||
${u.current.stack}
|
||
|
||
`),e}cO(()=>{u.current=void 0,w.current=void 0,v.current=k});const A=N.useMemo(()=>N.createElement(O,{...k,ref:t}),[t,O,k]);return N.useMemo(()=>P?N.createElement(s.Provider,{value:c},A):A,[s,A,c])}const n=N.memo(r);if(n.WrappedComponent=O,n.displayName=r.displayName=t,l){const e=N.forwardRef(function(e,t){return N.createElement(n,{...e,reactReduxForwardedRef:t})});return e.displayName=t,e.WrappedComponent=O,SO(e,O)}return SO(n,O)}}function CO({store:t,context:e,children:r,serverState:n,stabilityCheck:s="once",identityFunctionCheck:o="once"}){const i=N.useMemo(()=>{var e=lO(t);return{store:t,subscription:e,getServerState:n?()=>n:void 0,stabilityCheck:s,identityFunctionCheck:o}},[t,n,s,o]),a=N.useMemo(()=>t.getState(),[t]);return cO(()=>{const e=i["subscription"];return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),a!==t.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[i,a]),N.createElement((e||UA).Provider,{value:i},r)}G.useSyncExternalStoreWithSelector;Fr=ae.useSyncExternalStore,_O=Fr;var Ib=cI(83488),jO=cI.n(Ib);const PO=(s,o,e)=>ve(e?((n,s)=>e=>{const t=n()["fn"];class r extends ae.Component{render(){return ae.createElement(CO,{store:s},ae.createElement(e,q()({},this.props,this.context)))}}return r.displayName=`WithRoot(${t.getDisplayName(e)})`,r})(s,e):jO(),OO((e,t)=>{const r={...t,...s()},n=o.prototype?.mapStateToProps||(e=>({state:e}));return n(e,r)}),(n=>e=>{const t=n()["fn"];class r extends ae.Component{render(){return ae.createElement(e,q()({},n(),this.props,this.context))}}return r.displayName=`WithSystem(${t.getDisplayName(e)})`,r})(s))(o),NO=(e,t,r,n)=>{for(const s in t){const o=t[s];"function"==typeof o&&o(r[s],n[s],e())}},IO=(s,o,i)=>(e,t,r={})=>{if("string"!=typeof e)throw new TypeError("Need a string, to fetch a component. Was given a "+typeof e);var n=i(e);return n?t?"root"===t?PO(s,n,o()):PO(s,n):n:(r.failSilently||s().log.warn("Could not find component:",e),null)},TO=e=>e.displayName||e.name||"Component",MO=({getComponents:e,getStore:t,getSystem:r})=>{u=IO(r,t,e);var n,o,i,s,a,l,c,u=Xe(u,(...e)=>JSON.stringify(e));return o=r,n=(e,r)=>{const t=o()["fn"],n=i(e,"root");class s extends ae.Component{constructor(e,t){super(e,t),NO(o,r,e,{})}UNSAFE_componentWillReceiveProps(e){NO(o,r,e,this.props)}render(){var e=or()(this.props,r?Object.keys(r):[]);return ae.createElement(n,e)}}return s.displayName=`WithMappedContainer(${t.getDisplayName(n)})`,s},{rootInjects:{getComponent:i=u,makeMappedContainer:ai(n,(...e)=>e),render:(s=r,a=t,l=IO,c=e,e=>{const t=l(s,a,c)("App","root"),r=BA["createRoot"];r(e).render(ae.createElement(t,null))})},fn:{getDisplayName:TO}}},RO=({React:e,getSystem:t,getStore:r,getComponents:n})=>{const s={},o=parseInt(e?.version,10);return 16<=o&&o<18&&(s.render=(i=t,a=r,l=IO,c=n,e=>{var t=l(i,a,c)("App","root");BA.render(ae.createElement(t,null),e)})),{rootInjects:s};var i,a,l,c};function DO(e){let a=e["fn"];return{statePlugins:{spec:{actions:{download:i=>({errActions:t,specSelectors:r,specActions:n,getConfigs:e})=>{let s=a["fetch"];e=e();function o(e){if(e instanceof Error||400<=e.status){n.updateLoadingStatus("failed"),t.newThrownErr(Object.assign(new Error((e.message||e.statusText)+" "+i),{source:"fetch"}));if(!e.status&&e instanceof Error){try{let e;if("URL"in B?e=new URL(i):(e=document.createElement("a")).href=i,"https:"!==e.protocol&&"https:"===B.location.protocol){const i=Object.assign(new Error(`Possible mixed-content issue? The page was loaded over https:// but a ${e.protocol}// URL was specified. Check that you are not attempting to load mixed content.`),{source:"fetch"});return void t.newThrownErr(i)}if(e.origin!==B.location.origin){const i=Object.assign(new Error(`Possible cross-origin (CORS) issue? The URL origin (${e.origin}) does not match the page (${B.location.origin}). Check the server returns the correct 'Access-Control-Allow-*' headers.`),{source:"fetch"});t.newThrownErr(i)}}catch(e){return}return}else return}n.updateLoadingStatus("success"),n.updateSpec(e.text),r.url()!==i&&n.updateUrl(i)}i=i||r.url(),n.updateLoadingStatus("loading"),t.clear({source:"fetch"}),s({url:i,loadSpec:!0,requestInterceptor:e.requestInterceptor||(e=>e),responseInterceptor:e.responseInterceptor||(e=>e),credentials:"same-origin",headers:{Accept:"application/json,*/*"}}).then(o,o)},updateLoadingStatus:e=>{let t=[null,"loading","failed","success","failedConfig"];return-1===t.indexOf(e)&&console.error(`Error: ${e} is not one of `+JSON.stringify(t)),{type:"spec_update_loading_status",payload:e}}},reducers:{spec_update_loading_status:(e,t)=>"string"==typeof t.payload?e.set("loadingStatus",t.payload):e},selectors:{loadingStatus:o(e=>e||(0,$.Map)(),e=>e.get("loadingStatus")||null)}}}}}function LO(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function FO(e){return(FO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function BO(e,t,r){var n;n=function(e,t){if("object"!=FO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=FO(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(n=t,"string"),(t="symbol"==FO(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}function $O(){return($O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r,n=arguments[t];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function qO(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function UO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?qO(Object(r),!0).forEach(function(e){BO(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qO(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var zO={};function VO(e,t,r){var t=1<arguments.length&&void 0!==t?t:{},n=2<arguments.length?r:void 0;return function(e){if(0===e.length||1===e.length)return e;var t,r=e.join(".");return zO[r]||(zO[r]=0===(t=(e=e).length)||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:4<=t?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0),zO[r]}(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return UO(UO({},e),n[t])},t)}function KO(e){return e.join(" ")}var WO=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function JO(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function HO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?JO(Object(r),!0).forEach(function(e){BO(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):JO(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var GO=/\n/g;function YO(e){var n,s,t=e.codeString,r=e.codeStyle,o=e.containerStyle,i=e.numberStyle,i=void 0===i?{}:i,e=e.startingLineNumber;return ae.createElement("code",{style:Object.assign({},r,void 0===o?{float:"left",paddingRight:"10px"}:o)},(r={lines:t.replace(/\n$/,"").split("\n"),style:i,startingLineNumber:e},o=r.lines,n=r.startingLineNumber,s=r.style,o.map(function(e,t){var r=t+n;return ae.createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"==typeof s?s(r):s},"".concat(r,"\n"))})))}function XO(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function QO(e,t,r){r={display:"inline-block",minWidth:"".concat(r.toString().length,".25em"),paddingRight:"1em",textAlign:"right",userSelect:"none"},t="function"==typeof e?e(t):e;return HO(HO({},r),t)}function ZO(e){var t=e.children,r=e.lineNumber,n=e.lineNumberStyle,s=e.largestLineNumber,o=e.showInlineLineNumbers,i=e.lineProps,i=void 0===i?{}:i,a=e.className,a=void 0===a?[]:a,l=e.showLineNumbers,e=e.wrapLongLines,i="function"==typeof i?i(r):i;return i.className=a,r&&o&&(a=QO(n,r,s),t.unshift(XO(r,a))),e&l&&(i.style=HO(HO({},i.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:i,children:t}}function eC(e,t,r){for(var n=1<arguments.length&&void 0!==t?t:[],s=2<arguments.length&&void 0!==r?r:[],o=0;o<e.length;o++){var i,a=e[o];"text"===a.type?s.push(ZO({children:[a],className:function(e){if(Array.isArray(e))return LO(e)}(i=new Set(n))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e,t){if(e){if("string"==typeof e)return LO(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(r="Object"===r&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?LO(e,t):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()})):a.children&&(i=n.concat(a.properties.className),eC(a.children,i).forEach(function(e){return s.push(e)}))}return s}function tC(e){var t=e.rows,r=e.stylesheet,n=e.useInlineStyles;return t.map(function(e,t){return function r(e){var t,n,s,o,i=e.node,a=e.stylesheet,l=e.style,l=void 0===l?{}:l,c=e.useInlineStyles,e=e.key,u=i.properties,p=i.type,h=i.tagName,d=i.value;return"text"===p?d:h?(n=a,o=0,p=function(e){return o+=1,e.map(function(e,t){return r({node:e,stylesheet:n,useInlineStyles:s,key:"code-segment-".concat(o,"-").concat(t)})})},d=(s=c)?(t=Object.keys(a).reduce(function(t,e){return e.split(".").forEach(function(e){t.includes(e)||t.push(e)}),t},[]),d=u.className&&u.className.includes("token")?["token"]:[],c=u.className&&d.concat(u.className.filter(function(e){return!t.includes(e)})),UO(UO({},u),{},{className:KO(c)||void 0,style:VO(u.className,Object.assign({},u.style,l),a)})):UO(UO({},u),{},{className:KO(u.className)}),c=p(i.children),ae.createElement(h,$O({key:e},d),c)):void 0}({node:e,stylesheet:r,useInlineStyles:n,key:"code-segement".concat(t)})})}function rC(e){return e&&void 0!==e.highlightAuto}var nC,sC,R1=cI(43768),z1=(nC=R1,sC={},function(e){var t=e.language,r=e.children,n=e.style,n=void 0===n?sC:n,s=e.customStyle,s=void 0===s?{}:s,o=e.codeTagProps,o=void 0===o?{className:t?"language-".concat(t):void 0,style:HO(HO({},n['code[class*="language-"]']),n['code[class*="language-'.concat(t,'"]')])}:o,i=e.useInlineStyles,i=void 0===i||i,a=e.showLineNumbers,a=void 0!==a&&a,l=e.showInlineLineNumbers,l=void 0===l||l,c=e.startingLineNumber,c=void 0===c?1:c,u=e.lineNumberContainerStyle,p=e.lineNumberStyle,p=void 0===p?{}:p,h=e.wrapLines,d=e.wrapLongLines,d=void 0!==d&&d,f=e.lineProps,f=void 0===f?{}:f,m=e.renderer,g=e.PreTag,g=void 0===g?"pre":g,y=e.CodeTag,y=void 0===y?"code":y,v=e.code,r=void 0===v?(Array.isArray(r)?r[0]:r)||"":v,v=e.astGenerator,e=function(e,t){if(null==e)return{};var r,n=function(e,t){if(null==e)return{};var r,n={};for(r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(0<=t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols)for(var s=Object.getOwnPropertySymbols(e),o=0;o<s.length;o++)r=s[o],0<=t.indexOf(r)||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r]);return n}(e,WO),v=v||nC,u=a?ae.createElement(YO,{containerStyle:u,codeStyle:o.style||{},numberStyle:p,startingLineNumber:c,codeString:r}):null,b=n.hljs||n['pre[class*="language-"]']||{backgroundColor:"#fff"},w=rC(v)?"hljs":"prismjs",b=i?Object.assign({},e,{style:Object.assign({},b,s)}):Object.assign({},e,{className:e.className?"".concat(w," ").concat(e.className):w,style:Object.assign({},s)});if(o.style=HO(HO({},o.style),{},d?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),!v)return ae.createElement(g,b,u,ae.createElement(y,o,r));(void 0===h&&m||d)&&(h=!0);m=m||tC,e=[{type:"text",value:r}],w=function(e){var t,r=e.astGenerator,n=e.language,s=e.code,o=e.defaultCodeValue;if(rC(r))return t=n,t=-1!==r.listLanguages().indexOf(t),"text"===n?{value:o,language:"text"}:t?r.highlight(n,s):r.highlightAuto(s);try{return n&&"text"!==n?{value:r.highlight(s,n)}:{value:o}}catch(e){return{value:o}}}({astGenerator:v,language:t,code:r,defaultCodeValue:e}),null===w.language&&(w.value=e),s=function(e,n,s,a,o,l,i,c,u){var p=eC(e.value),h=[],d=-1,f=0;function m(e,t,r){var r=2<arguments.length&&void 0!==r?r:[];return n||0<r.length?function(e,t){return ZO({children:e,lineNumber:t,lineNumberStyle:c,largestLineNumber:i,showInlineLineNumbers:o,lineProps:s,className:2<arguments.length&&void 0!==arguments[2]?arguments[2]:[],showLineNumbers:a,wrapLongLines:u})}(e,t,r):(r=e,e=t,a&&e&&o&&(t=QO(c,e,i),r.unshift(XO(e,t))),r)}for(;f<p.length;)!function(){var o,i=p[f],e=i.children[0].value;e.match(GO)&&((o=e.split("\n")).forEach(function(e,t){var r,n=a&&h.length+l,s={type:"text",value:"".concat(e,"\n")};0===t?(r=m(p.slice(d+1,f).concat(ZO({children:[s],className:i.properties.className})),n),h.push(r)):t===o.length-1?(r=p[f+1]&&p[f+1].children&&p[f+1].children[0],t={type:"text",value:"".concat(e)},r?(e=ZO({children:[t],className:i.properties.className}),p.splice(f+1,0,e)):(r=m([t],n,i.properties.className),h.push(r))):(e=m([s],n,i.properties.className),h.push(e))}),d=f),f++}();return d!==p.length-1&&(e=p.slice(d+1,p.length))&&e.length&&(e=m(e,a&&h.length+l),h.push(e)),n?h:(e=[]).concat.apply(e,h)}(w,h,f,a,l,c,w.value.length+c,p,d);return ae.createElement(g,b,ae.createElement(y,o,!l&&u,m({rows:s,stylesheet:n,useInlineStyles:i})))});z1.registerLanguage=R1.registerLanguage;const oC=z1;X1=cI(95089);const iC=cI.n(X1)();ow=cI(65772);const aC=cI.n(ow)();xw=cI(17285);const lC=cI.n(xw)();_E=cI(35344);const cC=cI.n(_E)();lE=cI(17533);const uC=cI.n(lE)();tE=cI(73402);const pC=cI.n(tE)();_r=cI(26571);const hC=cI.n(_r)(),dC=()=>{oC.registerLanguage("json",aC),oC.registerLanguage("js",iC),oC.registerLanguage("xml",lC),oC.registerLanguage("yaml",uC),oC.registerLanguage("http",pC),oC.registerLanguage("bash",cC),oC.registerLanguage("powershell",hC),oC.registerLanguage("javascript",iC)},fC={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"}},mC={agate:fC,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"}}},gC=fC,yC=({language:e,className:t="",getConfigs:r,syntaxHighlighting:n={},children:s=""})=>{var r=r().syntaxHighlight.theme,{styles:n,defaultStyle:o}=n,n=n?.[r]??o;return ae.createElement(oC,{language:e,className:t,style:n},s)};var gw=cI(5419),vC=cI.n(gw);const bC=({fileName:e="response.txt",className:r,downloadable:t,getComponent:n,canCopy:s,language:o,children:i})=>{const a=(0,ae.useRef)(null),l=n("SyntaxHighlighter",!0),c=e=>{var{target:t,deltaY:r}=e,{scrollHeight:t,offsetHeight:n,scrollTop:s}=t;n<t&&(0===s&&r<0||t<=n+s&&0<r)&&e.preventDefault()};return(0,ae.useEffect)(()=>{const e=Array.from(a.current.childNodes).filter(e=>!!e.nodeType&&e.classList.contains("microlight"));return e.forEach(e=>e.addEventListener("mousewheel",c,{passive:!1})),()=>{e.forEach(e=>e.removeEventListener("mousewheel",c))}},[i,r,o]),ae.createElement("div",{className:"highlight-code",ref:a},s&&ae.createElement("div",{className:"copy-to-clipboard"},ae.createElement(vo.CopyToClipboard,{text:i},ae.createElement("button",null))),t?ae.createElement("button",{className:"download-contents",onClick:()=>{vC()(i,e)}},"Download"):null,ae.createElement(l,{language:o,className:le()(r,"microlight"),renderPlainText:({children:e,PlainTextViewer:t})=>ae.createElement(t,{className:r},e)},i))},wC=({className:e="",children:t})=>ae.createElement("pre",{className:le()("microlight",e)},t),EC=(o,i)=>({renderPlainText:e,children:t,...r})=>{var n=i.getConfigs().syntaxHighlight.activated,s=i.getComponent("PlainTextViewer");return n||"function"!=typeof e?n?ae.createElement(o,r,t):ae.createElement(s,null,t):e({children:t,PlainTextViewer:s})},xC=()=>[()=>({afterLoad:dC,rootInjects:{syntaxHighlighting:{styles:mC,defaultStyle:gC}},components:{SyntaxHighlighter:yC,HighlightCode:bC,PlainTextViewer:wC}}),()=>({wrapComponents:{SyntaxHighlighter:EC}})],SC=()=>({afterLoad:()=>{var{GIT_DIRTY:e,GIT_COMMIT:t,PACKAGE_VERSION:r,BUILD_TIME:n}={PACKAGE_VERSION:"5.17.14",GIT_COMMIT:"g8aa52920",GIT_DIRTY:!0,BUILD_TIME:"Tue, 28 May 2024 05:23:41 GMT"};B.versions=B.versions||{},B.versions.swaggerUI={version:r,gitRevision:t,gitDirty:e,buildTimestamp:n}}});var Nw=cI(47248),_C=cI.n(Nw);const kC=console.error,AC=({name:e})=>ae.createElement("div",{className:"fallback"},"😱 ",ae.createElement("i",null,"Could not render ","t"===e?"this component":e,", see the console."));class OC extends ae.Component{static defaultProps={targetName:"this component",getComponent:()=>AC,fn:{componentDidCatch:kC},children:null};static getDerivedStateFromError(e){return{hasError:!0,error:e}}constructor(...e){super(...e),this.state={hasError:!1,error:null}}componentDidCatch(e,t){this.props.fn.componentDidCatch(e,t)}render(){const{getComponent:e,targetName:t,children:r}=this.props;if(this.state.hasError){const r=e("Fallback");return ae.createElement(r,{name:t})}return r}}const CC=OC,jC=({componentList:r=[],fullOverride:n=!1}={})=>({getSystem:e})=>{var i,t=n?r:["App","BaseLayout","VersionPragmaFilter","InfoContainer","ServersContainer","SchemesContainer","AuthorizeBtnContainer","FilterContainer","Operations","OperationContainer","parameters","responses","OperationServers","Models","ModelWrapper",...r],t=_C()(t,Array(t.length).fill((e,{fn:t})=>t.withErrorBoundary(e)));return{fn:{componentDidCatch:kC,withErrorBoundary:(i=e,e=>{const{getComponent:t,fn:r}=i(),n=t("ErrorBoundary"),s=r.getDisplayName(e);class o extends ae.Component{render(){return ae.createElement(n,{targetName:s,getComponent:t,fn:r},ae.createElement(e,q()({},this.props,this.context)))}}return o.displayName=`WithErrorBoundary(${s})`,e.prototype&&e.prototype.isReactComponent&&(o.prototype.mapStateToProps=e.prototype.mapStateToProps),o})},components:{ErrorBoundary:CC,Fallback:AC},wrapComponents:t}};class PC extends ae.Component{getLayout(){const{getComponent:e,layoutSelectors:t}=this.props,r=t.current(),n=e(r,!0);return n||(()=>ae.createElement("h1",null,' No layout defined for "',r,'" '))}render(){var e=this.getLayout();return ae.createElement(e,null)}}const NC=PC;class IC extends ae.Component{close=()=>{let e=this.props["authActions"];e.showDefinitions(!1)};render(){let{authSelectors:r,authActions:n,getComponent:s,errSelectors:o,specSelectors:i,fn:{AST:a={}}}=this.props,e=r.shownDefinitions();const l=s("auths"),t=s("CloseIcon");return ae.createElement("div",{className:"dialog-ux"},ae.createElement("div",{className:"backdrop-ux"}),ae.createElement("div",{className:"modal-ux"},ae.createElement("div",{className:"modal-dialog-ux"},ae.createElement("div",{className:"modal-ux-inner"},ae.createElement("div",{className:"modal-ux-header"},ae.createElement("h3",null,"Available authorizations"),ae.createElement("button",{type:"button",className:"close-modal",onClick:this.close},ae.createElement(t,null))),ae.createElement("div",{className:"modal-ux-content"},e.valueSeq().map((e,t)=>ae.createElement(l,{key:t,AST:a,definitions:e,getComponent:s,errSelectors:o,authSelectors:r,authActions:n,specSelectors:i})))))))}}class TC extends ae.Component{render(){let{isAuthorized:e,showPopup:t,onClick:r,getComponent:n}=this.props;var s=n("authorizationPopup",!0),o=n("LockAuthIcon",!0),i=n("UnlockAuthIcon",!0);return ae.createElement("div",{className:"auth-wrapper"},ae.createElement("button",{className:e?"btn authorize locked":"btn authorize unlocked",onClick:r},ae.createElement("span",null,"Authorize"),e?ae.createElement(o,null):ae.createElement(i,null)),t&&ae.createElement(s,null))}}class MC extends ae.Component{render(){const{authActions:e,authSelectors:t,specSelectors:r,getComponent:n}=this.props,s=r.securityDefinitions(),o=t.definitionsToAuthorize(),i=n("authorizeBtn");return s?ae.createElement(i,{onClick:()=>e.showDefinitions(o),isAuthorized:!!t.authorized().size,showPopup:!!t.shownDefinitions(),getComponent:n}):null}}class RC extends ae.Component{onClick=e=>{e.stopPropagation();let t=this.props["onClick"];t&&t()};render(){let{isAuthorized:e,getComponent:t}=this.props;var r=t("LockAuthOperationIcon",!0),n=t("UnlockAuthOperationIcon",!0);return ae.createElement("button",{className:"authorization__btn","aria-label":e?"authorization button locked":"authorization button unlocked",onClick:this.onClick},e?ae.createElement(r,{className:"locked"}):ae.createElement(n,{className:"unlocked"}))}}class DC extends ae.Component{constructor(e,t){super(e,t),this.state={}}onAuthChange=e=>{var t=e["name"];this.setState({[t]:e})};submitAuth=e=>{e.preventDefault();let t=this.props["authActions"];t.authorizeWithPersistOption(this.state)};logoutClick=e=>{e.preventDefault();let{authActions:t,definitions:r}=this.props,n=r.map((e,t)=>t).toArray();this.setState(n.reduce((e,t)=>(e[t]="",e),{})),t.logoutWithPersistOption(n)};close=e=>{e.preventDefault();let t=this.props["authActions"];t.showDefinitions(!1)};render(){let{definitions:e,getComponent:r,authSelectors:t,errSelectors:n}=this.props;const s=r("AuthItem"),o=r("oauth2",!0),i=r("Button");let a=t.authorized(),l=e.filter((e,t)=>!!a.get(t)),c=e.filter(e=>"oauth2"!==e.get("type")),u=e.filter(e=>"oauth2"===e.get("type"));return ae.createElement("div",{className:"auth-container"},!!c.size&&ae.createElement("form",{onSubmit:this.submitAuth},c.map((e,t)=>ae.createElement(s,{key:t,schema:e,name:t,getComponent:r,onAuthChange:this.onAuthChange,authorized:a,errSelectors:n})).toArray(),ae.createElement("div",{className:"auth-btn-wrapper"},c.size===l.size?ae.createElement(i,{className:"btn modal-btn auth",onClick:this.logoutClick,"aria-label":"Remove authorization"},"Logout"):ae.createElement(i,{type:"submit",className:"btn modal-btn auth authorize","aria-label":"Apply credentials"},"Authorize"),ae.createElement(i,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),u&&u.size?ae.createElement("div",null,ae.createElement("div",{className:"scope-def"},ae.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."),ae.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),e.filter(e=>"oauth2"===e.get("type")).map((e,t)=>ae.createElement("div",{key:t},ae.createElement(o,{authorized:a,schema:e,name:t}))).toArray()):null)}}class LC extends ae.Component{render(){let{schema:e,name:t,getComponent:r,onAuthChange:n,authorized:s,errSelectors:o}=this.props;var i=r("apiKeyAuth"),a=r("basicAuth");let l;var c=e.get("type");switch(c){case"apiKey":l=ae.createElement(i,{key:t,schema:e,name:t,errSelectors:o,authorized:s,getComponent:r,onChange:n});break;case"basic":l=ae.createElement(a,{key:t,schema:e,name:t,errSelectors:o,authorized:s,getComponent:r,onChange:n});break;default:l=ae.createElement("div",{key:t},"Unknown security definition type ",c)}return ae.createElement("div",{key:t+"-jump"},l)}}class FC extends ae.Component{render(){let e=this.props["error"],t=e.get("level"),r=e.get("message"),n=e.get("source");return ae.createElement("div",{className:"errors"},ae.createElement("b",null,n," ",t),ae.createElement("span",null,r))}}class BC extends ae.Component{constructor(e,t){super(e,t);var{name:e,schema:t}=this.props,r=this.getValue();this.state={name:e,schema:t,value:r}}getValue(){let{name:e,authorized:t}=this.props;return t&&t.getIn([e,"value"])}onChange=e=>{let t=this.props["onChange"],r=e.target.value,n=Object.assign({},this.state,{value:r});this.setState(n),t(n)};render(){let{schema:e,getComponent:t,errSelectors:r,name:n}=this.props;const s=t("Input"),o=t("Row"),i=t("Col"),a=t("authError"),l=t("Markdown",!0),c=t("JumpToPath",!0);let u=this.getValue(),p=r.allErrors().filter(e=>e.get("authId")===n);return ae.createElement("div",null,ae.createElement("h4",null,ae.createElement("code",null,n||e.get("name"))," (apiKey)",ae.createElement(c,{path:["securityDefinitions",n]})),u&&ae.createElement("h6",null,"Authorized"),ae.createElement(o,null,ae.createElement(l,{source:e.get("description")})),ae.createElement(o,null,ae.createElement("p",null,"Name: ",ae.createElement("code",null,e.get("name")))),ae.createElement(o,null,ae.createElement("p",null,"In: ",ae.createElement("code",null,e.get("in")))),ae.createElement(o,null,ae.createElement("label",{htmlFor:"api_key_value"},"Value:"),u?ae.createElement("code",null," ****** "):ae.createElement(i,null,ae.createElement(s,{id:"api_key_value",type:"text",onChange:this.onChange,autoFocus:!0}))),p.valueSeq().map((e,t)=>ae.createElement(a,{error:e,key:t})))}}class $C extends ae.Component{constructor(e,t){super(e,t);var{schema:e,name:t}=this.props,r=this.getValue().username;this.state={name:t,schema:e,value:r?{username:r}:{}}}getValue(){let{authorized:e,name:t}=this.props;return e&&e.getIn([t,"value"])||{}}onChange=e=>{let t=this.props["onChange"],{value:r,name:n}=e.target,s=this.state.value;s[n]=r,this.setState({value:s}),t(this.state)};render(){let{schema:e,getComponent:t,name:r,errSelectors:n}=this.props;const s=t("Input"),o=t("Row"),i=t("Col"),a=t("authError"),l=t("JumpToPath",!0),c=t("Markdown",!0);let u=this.getValue().username,p=n.allErrors().filter(e=>e.get("authId")===r);return ae.createElement("div",null,ae.createElement("h4",null,"Basic authorization",ae.createElement(l,{path:["securityDefinitions",r]})),u&&ae.createElement("h6",null,"Authorized"),ae.createElement(o,null,ae.createElement(c,{source:e.get("description")})),ae.createElement(o,null,ae.createElement("label",{htmlFor:"auth_username"},"Username:"),u?ae.createElement("code",null," ",u," "):ae.createElement(i,null,ae.createElement(s,{id:"auth_username",type:"text",required:"required",name:"username",onChange:this.onChange,autoFocus:!0}))),ae.createElement(o,null,ae.createElement("label",{htmlFor:"auth_password"},"Password:"),u?ae.createElement("code",null," ****** "):ae.createElement(i,null,ae.createElement(s,{id:"auth_password",autoComplete:"new-password",name:"password",type:"password",onChange:this.onChange}))),p.valueSeq().map((e,t)=>ae.createElement(a,{error:e,key:t})))}}class qC extends ae.PureComponent{static defaultProps={examples:Z().Map({}),onSelect:(...e)=>console.log("DEBUG: ExamplesSelect was not given an onSelect callback",...e),currentExampleKey:null,showLabels:!0};_onSelect=(e,{isSyntheticChange:t=!1}={})=>{"function"==typeof this.props.onSelect&&this.props.onSelect(e,{isSyntheticChange:t})};_onDomSelect=e=>{"function"==typeof this.props.onSelect&&(e=e.target.selectedOptions[0].getAttribute("value"),this._onSelect(e,{isSyntheticChange:!1}))};getCurrentExample=()=>{const{examples:e,currentExampleKey:t}=this.props,r=e.get(t),n=e.keySeq().first(),s=e.get(n);return r||s||Map({})};componentDidMount(){const{onSelect:e,examples:t}=this.props;if("function"==typeof e){const e=t.first(),r=t.keyOf(e);this._onSelect(r,{isSyntheticChange:!0})}}UNSAFE_componentWillReceiveProps(e){const{currentExampleKey:t,examples:r}=e;if(r!==this.props.examples&&!r.has(t)){const e=r.first(),t=r.keyOf(e);this._onSelect(t,{isSyntheticChange:!0})}}render(){const{examples:e,currentExampleKey:t,isValueModified:r,isModifiedValueAvailable:n,showLabels:s}=this.props;return ae.createElement("div",{className:"examples-select"},s?ae.createElement("span",{className:"examples-select__section-label"},"Examples: "):null,ae.createElement("select",{className:"examples-select-element",onChange:this._onDomSelect,value:n&&r?"__MODIFIED__VALUE__":t||""},n?ae.createElement("option",{value:"__MODIFIED__VALUE__"},"[Modified value]"):null,e.map((e,t)=>ae.createElement("option",{key:t,value:t},e.get("summary")||t)).valueSeq()))}}const UC=e=>$.List.isList(e)?e:ut(e);class zC extends ae.PureComponent{static defaultProps={userHasEditedBody:!1,examples:(0,$.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);var t=this._getCurrentExampleValue();this.state={[e.currentNamespace]:(0,$.Map)({lastUserEditedValue:this.props.currentUserInputValue,lastDownstreamValue:t,isModifiedValueSelected:this.props.userHasEditedBody||this.props.currentUserInputValue!==t})}}componentWillUnmount(){this.props.setRetainRequestBodyValueFlag(!1)}_getStateForCurrentNamespace=()=>{var e=this.props["currentNamespace"];return(this.state[e]||(0,$.Map)()).toObject()};_setStateForCurrentNamespace=e=>{var t=this.props["currentNamespace"];return this._setStateForNamespace(t,e)};_setStateForNamespace=(e,t)=>{t=(this.state[e]||(0,$.Map)()).mergeDeep(t);return this.setState({[e]:t})};_isCurrentUserInputSameAsExampleValue=()=>{var e=this.props["currentUserInputValue"];return this._getCurrentExampleValue()===e};_getValueForExample=(e,t)=>{const r=(t||this.props)["examples"];return UC((r||(0,$.Map)({})).getIn([e,"value"]))};_getCurrentExampleValue=e=>{var t=(e||this.props)["currentKey"];return this._getValueForExample(t,e||this.props)};_onExamplesSelect=(e,{isSyntheticChange:t}={},...r)=>{const{onSelect:n,updateValue:s,currentUserInputValue:o,userHasEditedBody:i}=this.props,a=this._getStateForCurrentNamespace()["lastUserEditedValue"],l=this._getValueForExample(e);if("__MODIFIED__VALUE__"===e)return s(UC(a)),this._setStateForCurrentNamespace({isModifiedValueSelected:!0});"function"==typeof n&&n(e,{isSyntheticChange:t},...r),this._setStateForCurrentNamespace({lastDownstreamValue:l,isModifiedValueSelected:t&&i||!!o&&o!==l}),t||"function"==typeof s&&s(UC(l))};UNSAFE_componentWillReceiveProps(e){const{currentUserInputValue:t,examples:r,onSelect:n,userHasEditedBody:s}=e,{lastUserEditedValue:o,lastDownstreamValue:i}=this._getStateForCurrentNamespace(),a=this._getValueForExample(e.currentKey,e),l=r.filter(e=>e.get("value")===t||ut(e.get("value"))===t);var c;l.size?(c=l.has(e.currentKey)?e.currentKey:l.keySeq().first(),n(c,{isSyntheticChange:!0})):t!==this.props.currentUserInputValue&&t!==o&&t!==i&&(this.props.setRetainRequestBodyValueFlag(!0),this._setStateForNamespace(e.currentNamespace,{lastUserEditedValue:e.currentUserInputValue,isModifiedValueSelected:s||t!==a}))}render(){const{currentUserInputValue:e,examples:t,currentKey:r,getComponent:n,userHasEditedBody:s}=this.props,{lastDownstreamValue:o,lastUserEditedValue:i,isModifiedValueSelected:a}=this._getStateForCurrentNamespace(),l=n("ExamplesSelect");return ae.createElement(l,{examples:t,currentExampleKey:r,onSelect:this._onExamplesSelect,isModifiedValueAvailable:!!i&&i!==o,isValueModified:void 0!==e&&a&&e!==this._getCurrentExampleValue()||s})}}class VC extends ae.Component{constructor(e,t){super(e,t);let{name:r,schema:n,authorized:s,authSelectors:o}=this.props,i=s&&s.get(r),a=o.getConfigs()||{},l=i&&i.get("username")||"",c=i&&i.get("clientId")||a.clientId||"",u=i&&i.get("clientSecret")||a.clientSecret||"",p=i&&i.get("passwordType")||"basic",h=i&&i.get("scopes")||a.scopes||[];"string"==typeof h&&(h=h.split(a.scopeSeparator||" ")),this.state={appName:a.appName,name:r,schema:n,scopes:h,clientId:c,clientSecret:u,username:l,password:"",passwordType:p}}close=e=>{e.preventDefault();let t=this.props["authActions"];t.showDefinitions(!1)};authorize=()=>{let{authActions:c,errActions:u,getConfigs:e,authSelectors:t,oas3Selectors:p}=this.props,h=e(),d=t.getConfigs();u.clear({authId:name,type:"auth",source:"auth"});{var[{auth:f,authActions:m,errActions:g,configs:y,authConfigs:v={},currentServer:b}]=[{auth:this.state,currentServer:p.serverEffectiveValue(p.selectedServer()),authActions:c,errActions:u,configs:h,authConfigs:d}];let{schema:e,scopes:t,name:r,clientId:n}=f,s=e.get("flow"),o=[];switch(s){case"password":return void m.authorizePassword(f);case"application":case"clientCredentials":case"client_credentials":return void m.authorizeApplication(f);case"accessCode":case"authorizationCode":case"authorization_code":o.push("response_type=code");break;case"implicit":o.push("response_type=token")}if("string"==typeof n&&o.push("client_id="+encodeURIComponent(n)),void 0===(y=y.oauth2RedirectUrl))return void g.newAuthErr({authId:r,source:"validation",level:"error",message:"oauth2RedirectUrl configuration is not passed. Oauth2 authorization cannot be performed."});o.push("redirect_uri="+encodeURIComponent(y));let i=[];Array.isArray(t)?i=t:Z().List.isList(t)&&(i=t.toArray()),0<i.length&&(E=v.scopeSeparator||" ",o.push("scope="+encodeURIComponent(i.join(E))));var w,E=et(new Date);if(o.push("state="+encodeURIComponent(E)),void 0!==v.realm&&o.push("realm="+encodeURIComponent(v.realm)),("authorizationCode"===s||"authorization_code"===s||"accessCode"===s)&&v.usePkceWithAuthorizationCodeGrant){const m=dt(Fe()(32).toString("base64")),g=(x=m,dt(Be()("sha256").update(x).digest("base64")));o.push("code_challenge="+g),o.push("code_challenge_method=S256"),f.codeVerifier=m}let a=v["additionalQueryStringParams"];for(w in a)void 0!==a[w]&&o.push([w,a[w]].map(encodeURIComponent).join("="));const S=e.get("authorizationUrl");let l;var x=[l=b?wt()(st(S),b,!0).toString():st(S),o.join("&")].join(-1===S.indexOf("?")?"?":"&"),b="implicit"===s?m.preAuthorizeImplicit:v.useBasicAuthenticationWithAccessCodeGrant?m.authorizeAccessCodeWithBasicAuthentication:m.authorizeAccessCodeWithFormParams;return void m.authPopup(x,{auth:f,state:E,redirectUrl:y,callback:b,errCb:g.newAuthErr})}};onScopeChange=e=>{let t=e["target"],r=t["checked"],n=t.dataset.value;r&&-1===this.state.scopes.indexOf(n)?(e=this.state.scopes.concat([n]),this.setState({scopes:e})):!r&&-1<this.state.scopes.indexOf(n)&&this.setState({scopes:this.state.scopes.filter(e=>e!==n)})};onInputChange=e=>{var{dataset:{name:e},value:t}=e["target"];this.setState({[e]:t})};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:t,errActions:r,name:n}=this.props;r.clear({authId:n,type:"auth",source:"auth"}),t.logoutWithPersistOption([n])};render(){let{schema:e,getComponent:t,authSelectors:r,errSelectors:n,name:s,specSelectors:o}=this.props;const i=t("Input"),a=t("Row"),l=t("Col"),c=t("Button"),u=t("authError"),p=t("JumpToPath",!0),h=t("Markdown",!0),d=t("InitializedInput"),f=o["isOAS3"];var m=f()?e.get("openIdConnectUrl"):null,g="password",y=f()?m?"authorization_code":"authorizationCode":"accessCode",v=f()?m?"client_credentials":"clientCredentials":"application";let b=!!(r.getConfigs()||{}).usePkceWithAuthorizationCodeGrant,w=e.get("flow"),E=w===y&&b?w+" with PKCE":w,x=e.get("allowedScopes")||e.get("scopes"),S=!!r.authorized().get(s),_=n.allErrors().filter(e=>e.get("authId")===s),k=!_.filter(e=>"validation"===e.get("source")).size,A=e.get("description");return ae.createElement("div",null,ae.createElement("h4",null,s," (OAuth2, ",E,") ",ae.createElement(p,{path:["securityDefinitions",s]})),this.state.appName?ae.createElement("h5",null,"Application: ",this.state.appName," "):null,A&&ae.createElement(h,{source:e.get("description")}),S&&ae.createElement("h6",null,"Authorized"),m&&ae.createElement("p",null,"OpenID Connect URL: ",ae.createElement("code",null,m)),("implicit"===w||w===y)&&ae.createElement("p",null,"Authorization URL: ",ae.createElement("code",null,e.get("authorizationUrl"))),(w===g||w===y||w===v)&&ae.createElement("p",null,"Token URL:",ae.createElement("code",null," ",e.get("tokenUrl"))),ae.createElement("p",{className:"flow"},"Flow: ",ae.createElement("code",null,E)),w!==g?null:ae.createElement(a,null,ae.createElement(a,null,ae.createElement("label",{htmlFor:"oauth_username"},"username:"),S?ae.createElement("code",null," ",this.state.username," "):ae.createElement(l,{tablet:10,desktop:10},ae.createElement("input",{id:"oauth_username",type:"text","data-name":"username",onChange:this.onInputChange,autoFocus:!0}))),ae.createElement(a,null,ae.createElement("label",{htmlFor:"oauth_password"},"password:"),S?ae.createElement("code",null," ****** "):ae.createElement(l,{tablet:10,desktop:10},ae.createElement("input",{id:"oauth_password",type:"password","data-name":"password",onChange:this.onInputChange}))),ae.createElement(a,null,ae.createElement("label",{htmlFor:"password_type"},"Client credentials location:"),S?ae.createElement("code",null," ",this.state.passwordType," "):ae.createElement(l,{tablet:10,desktop:10},ae.createElement("select",{id:"password_type","data-name":"passwordType",onChange:this.onInputChange},ae.createElement("option",{value:"basic"},"Authorization header"),ae.createElement("option",{value:"request-body"},"Request body"))))),(w===v||"implicit"===w||w===y||w===g)&&(!S||S&&this.state.clientId)&&ae.createElement(a,null,ae.createElement("label",{htmlFor:"client_id_"+w},"client_id:"),S?ae.createElement("code",null," ****** "):ae.createElement(l,{tablet:10,desktop:10},ae.createElement(d,{id:"client_id_"+w,type:"text",required:w===g,initialValue:this.state.clientId,"data-name":"clientId",onChange:this.onInputChange}))),(w===v||w===y||w===g)&&ae.createElement(a,null,ae.createElement("label",{htmlFor:"client_secret_"+w},"client_secret:"),S?ae.createElement("code",null," ****** "):ae.createElement(l,{tablet:10,desktop:10},ae.createElement(d,{id:"client_secret_"+w,initialValue:this.state.clientSecret,type:"password","data-name":"clientSecret",onChange:this.onInputChange}))),!S&&x&&x.size?ae.createElement("div",{className:"scopes"},ae.createElement("h2",null,"Scopes:",ae.createElement("a",{onClick:this.selectScopes,"data-all":!0},"select all"),ae.createElement("a",{onClick:this.selectScopes},"select none")),x.map((e,t)=>ae.createElement(a,{key:t},ae.createElement("div",{className:"checkbox"},ae.createElement(i,{"data-value":t,id:`${t}-${w}-checkbox-`+this.state.name,disabled:S,checked:this.state.scopes.includes(t),type:"checkbox",onChange:this.onScopeChange}),ae.createElement("label",{htmlFor:`${t}-${w}-checkbox-`+this.state.name},ae.createElement("span",{className:"item"}),ae.createElement("div",{className:"text"},ae.createElement("p",{className:"name"},t),ae.createElement("p",{className:"description"},e)))))).toArray()):null,_.valueSeq().map((e,t)=>ae.createElement(u,{error:e,key:t})),ae.createElement("div",{className:"auth-btn-wrapper"},k&&(S?ae.createElement(c,{className:"btn modal-btn auth authorize",onClick:this.logout,"aria-label":"Remove authorization"},"Logout"):ae.createElement(c,{className:"btn modal-btn auth authorize",onClick:this.authorize,"aria-label":"Apply given OAuth2 credentials"},"Authorize")),ae.createElement(c,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close")))}}class KC extends ae.Component{onClick=()=>{let{specActions:e,path:t,method:r}=this.props;e.clearResponse(t,r),e.clearRequest(t,r)};render(){return ae.createElement("button",{className:"btn btn-clear opblock-control__btn",onClick:this.onClick},"Clear")}}const WC=({headers:e})=>ae.createElement("div",null,ae.createElement("h5",null,"Response headers"),ae.createElement("pre",{className:"microlight"},e)),JC=({duration:e})=>ae.createElement("div",null,ae.createElement("h5",null,"Request duration"),ae.createElement("pre",{className:"microlight"},e," ms"));class HC extends ae.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:t,getConfigs:r,displayRequestDuration:n,specSelectors:s,path:o,method:i}=this.props,{showMutatedRequest:a,requestSnippetsEnabled:l}=r(),c=a?s.mutatedRequestFor(o,i):s.requestFor(o,i),u=e.get("status"),p=c.get("url"),h=e.get("headers").toJS(),d=e.get("notDocumented"),f=e.get("error"),m=e.get("text"),g=e.get("duration"),y=Object.keys(h),v=h["content-type"]||h["Content-Type"],b=t("responseBody"),w=y.map(e=>{var t=Array.isArray(h[e])?h[e].join():h[e];return ae.createElement("span",{className:"headerline",key:e}," ",e,": ",t," ")}),E=0!==w.length,x=t("Markdown",!0),S=t("RequestSnippets",!0),_=t("curl",!0);return ae.createElement("div",null,c&&l?ae.createElement(S,{request:c}):ae.createElement(_,{request:c}),p&&ae.createElement("div",null,ae.createElement("div",{className:"request-url"},ae.createElement("h4",null,"Request URL"),ae.createElement("pre",{className:"microlight"},p))),ae.createElement("h4",null,"Server response"),ae.createElement("table",{className:"responses-table live-responses-table"},ae.createElement("thead",null,ae.createElement("tr",{className:"responses-header"},ae.createElement("td",{className:"col_header response-col_status"},"Code"),ae.createElement("td",{className:"col_header response-col_description"},"Details"))),ae.createElement("tbody",null,ae.createElement("tr",{className:"response"},ae.createElement("td",{className:"response-col_status"},u,d?ae.createElement("div",{className:"response-undocumented"},ae.createElement("i",null," Undocumented ")):null),ae.createElement("td",{className:"response-col_description"},f?ae.createElement(x,{source:(""!==e.get("name")?e.get("name")+": ":"")+e.get("message")}):null,m?ae.createElement(b,{content:m,contentType:v,url:p,headers:h,getConfigs:r,getComponent:t}):null,E?ae.createElement(WC,{headers:w}):null,n&&g?ae.createElement(JC,{duration:g}):null)))))}}class GC extends ae.Component{constructor(e,t){super(e,t);let r=e["getConfigs"],n=r()["validatorUrl"];this.state={url:this.getDefinitionUrl(),validatorUrl:void 0===n?"https://validator.swagger.io/validator":n}}getDefinitionUrl=()=>{let e=this.props["specSelectors"];return new(wt())(e.url(),B.location).toString()};UNSAFE_componentWillReceiveProps(e){let t=e["getConfigs"],r=t()["validatorUrl"];this.setState({url:this.getDefinitionUrl(),validatorUrl:void 0===r?"https://validator.swagger.io/validator":r})}render(){let e=this.props["getConfigs"],t=e()["spec"],r=st(this.state.validatorUrl);return("object"!=typeof t||!Object.keys(t).length)&&this.state.url&&ot(this.state.validatorUrl)&&ot(this.state.url)?ae.createElement("span",{className:"float-right"},ae.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:r+"/debug?url="+encodeURIComponent(this.state.url)},ae.createElement(YC,{src:r+"?url="+encodeURIComponent(this.state.url),alt:"Online validator badge"}))):null}}class YC extends ae.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 t=new Image;t.onload=()=>{this.setState({loaded:!0})},t.onerror=()=>{this.setState({error:!0})},t.src=e.src}}render(){return this.state.error?ae.createElement("img",{alt:"Error"}):this.state.loaded?ae.createElement("img",{src:this.props.src,alt:this.props.alt}):null}}class XC extends ae.Component{render(){let e=this.props["specSelectors"];const t=e.taggedOperations();return 0===t.size?ae.createElement("h3",null," No operations defined in spec!"):ae.createElement("div",null,t.map(this.renderOperationTag).toArray(),t.size<1?ae.createElement("h3",null," No operations defined in spec! "):null)}renderOperationTag=(e,s)=>{const{specSelectors:t,getComponent:r,oas3Selectors:n,layoutSelectors:o,layoutActions:i,getConfigs:a}=this.props,l=t.validOperationMethods(),c=r("OperationContainer",!0),u=r("OperationTag"),p=e.get("operations");return ae.createElement(u,{key:"operation-"+s,tagObj:e,tag:s,oas3Selectors:n,layoutSelectors:o,layoutActions:i,getConfigs:a,getComponent:r,specUrl:t.url()},ae.createElement("div",{className:"operation-tag-content"},p.map(e=>{var t=e.get("path"),r=e.get("method"),n=Z().List(["paths",t,r]);return-1===l.indexOf(r)?null:ae.createElement(c,{key:t+"-"+r,specPath:n,op:e,path:t,method:r,tag:s})}).toArray()))}}function QC(e){return e.match(/^(?:[a-z]+:)?\/\//i)}function ZC(e,t,{selectedServer:r=""}={}){try{var[n,s,{selectedServer:o=""}]=[e,t,{selectedServer:r}];if(n){if(QC(n))return n;s=s;var i=(o=o)?QC(o)?(i=o).match(/^\/\//i)?""+window.location.protocol+i:i:new URL(o,s).href:s;return(QC(i)?new URL(n,i):new URL(n,window.location.href)).href}return}catch{return}}class e3 extends ae.Component{static defaultProps={tagObj:Z().fromJS({}),tag:""};render(){const{tagObj:e,tag:t,children:r,oas3Selectors:n,layoutSelectors:s,layoutActions:o,getConfigs:i,getComponent:a,specUrl:l}=this.props;var{docExpansion:c,deepLinking:u}=i(),p=a("Collapse"),h=a("Markdown",!0),d=a("DeepLink"),f=a("Link"),m=a("ArrowUpIcon"),g=a("ArrowDownIcon"),y=e.getIn(["tagDetails","description"],null),v=e.getIn(["tagDetails","externalDocs","description"]),b=e.getIn(["tagDetails","externalDocs","url"]),b=Ge(n)&&Ge(n.selectedServer)?ZC(b,l,{selectedServer:n.selectedServer()}):b;let w=["operations-tag",t],E=s.isShown(w,"full"===c||"list"===c);return ae.createElement("div",{className:E?"opblock-tag-section is-open":"opblock-tag-section"},ae.createElement("h3",{onClick:()=>o.show(w,!E),className:y?"opblock-tag":"opblock-tag no-desc",id:w.map(e=>at(e)).join("-"),"data-tag":t,"data-is-open":E},ae.createElement(d,{enabled:u,isShown:E,path:it(t),text:t}),y?ae.createElement("small",null,ae.createElement(h,{source:y})):ae.createElement("small",null),b?ae.createElement("div",{className:"info__externaldocs"},ae.createElement("small",null,ae.createElement(f,{href:st(b),onClick:e=>e.stopPropagation(),target:"_blank"},v||b))):null,ae.createElement("button",{"aria-expanded":E,className:"expand-operation",title:E?"Collapse operation":"Expand operation",onClick:()=>o.show(w,!E)},E?ae.createElement(m,{className:"arrow"}):ae.createElement(g,{className:"arrow"}))),ae.createElement(p,{isOpened:E},r))}}class t3 extends ae.PureComponent{static defaultProps={operation:null,response:null,request:null,specPath:(0,$.List)(),summary:""};render(){let{specPath:e,response:t,request:r,toggleShown:n,onTryoutClick:s,onResetClick:o,onCancelClick:i,onExecute:a,fn:l,getComponent:c,getConfigs:u,specActions:p,specSelectors:h,authActions:d,authSelectors:f,oas3Actions:m,oas3Selectors:g}=this.props,y=this.props.operation,{deprecated:v,isShown:b,path:w,method:E,op:x,tag:D,operationId:L,allowTryItOut:S,displayRequestDuration:F,tryItOutEnabled:_,executeInProgress:k}=y.toJS(),{description:A,externalDocs:O,schemes:C}=x;var j=O?ZC(O.url,h.url(),{selectedServer:g.selectedServer()}):"";let P=y.getIn(["op"]),N=P.get("responses"),B=function(e,t){if(!Z().Iterable.isIterable(e))return Z().List();e=e.getIn(Array.isArray(t)?t:[t]);return Z().List.isList(e)?e:Z().List()}(P,["parameters"]),$=h.operationScheme(w,E),q=["operations",D,L],I=lt(P);var U=c("responses"),z=c("parameters"),V=c("execute"),K=c("clear"),W=c("Collapse"),T=c("Markdown",!0),J=c("schemes"),H=c("OperationServers"),G=c("OperationExt"),Y=c("OperationSummary"),X=c("Link"),Q=u()["showExtensions"],M=(N&&t&&0<t.size&&(M=!N.get(String(t.get("status")))&&!N.get("default"),t=t.set("notDocumented",M)),[w,E]);const R=h.validationErrors([w,E]);return ae.createElement("div",{className:v?"opblock opblock-deprecated":b?`opblock opblock-${E} is-open`:"opblock opblock-"+E,id:at(q.join("-"))},ae.createElement(Y,{operationProps:y,isShown:b,toggleShown:n,getComponent:c,authActions:d,authSelectors:f,specPath:e}),ae.createElement(W,{isOpened:b},ae.createElement("div",{className:"opblock-body"},P&&P.size||null===P?null:ae.createElement(Do,{height:"32px",width:"32px",className:"opblock-loading-animation"}),v&&ae.createElement("h4",{className:"opblock-title_normal"}," Warning: Deprecated"),A&&ae.createElement("div",{className:"opblock-description-wrapper"},ae.createElement("div",{className:"opblock-description"},ae.createElement(T,{source:A}))),j?ae.createElement("div",{className:"opblock-external-docs-wrapper"},ae.createElement("h4",{className:"opblock-title_normal"},"Find more details"),ae.createElement("div",{className:"opblock-external-docs"},O.description&&ae.createElement("span",{className:"opblock-external-docs__description"},ae.createElement(T,{source:O.description})),ae.createElement(X,{target:"_blank",className:"opblock-external-docs__link",href:st(j)},j))):null,P&&P.size?ae.createElement(z,{parameters:B,specPath:e.push("parameters"),operation:P,onChangeKey:M,onTryoutClick:s,onResetClick:o,onCancelClick:i,tryItOutEnabled:_,allowTryItOut:S,fn:l,getComponent:c,specActions:p,specSelectors:h,pathMethod:[w,E],getConfigs:u,oas3Actions:m,oas3Selectors:g}):null,_?ae.createElement(H,{getComponent:c,path:w,method:E,operationServers:P.get("servers"),pathServers:h.paths().getIn([w,"servers"]),getSelectedServer:g.selectedServer,setSelectedServer:m.setSelectedServer,setServerVariableValue:m.setServerVariableValue,getServerVariable:g.serverVariableValue,getEffectiveServerValue:g.serverEffectiveValue}):null,_&&S&&C&&C.size?ae.createElement("div",{className:"opblock-schemes"},ae.createElement(J,{schemes:C,path:w,method:E,specActions:p,currentScheme:$})):null,!_||!S||R.length<=0?null:ae.createElement("div",{className:"validation-errors errors-wrapper"},"Please correct the following validation errors and try again.",ae.createElement("ul",null,R.map((e,t)=>ae.createElement("li",{key:t}," ",e," ")))),ae.createElement("div",{className:_&&t&&S?"btn-group":"execute-wrapper"},_&&S?ae.createElement(V,{operation:P,specActions:p,specSelectors:h,oas3Selectors:g,oas3Actions:m,path:w,method:E,onExecute:a,disabled:k}):null,_&&t&&S?ae.createElement(K,{specActions:p,path:w,method:E}):null),k?ae.createElement("div",{className:"loading-container"},ae.createElement("div",{className:"loading"})):null,N?ae.createElement(U,{responses:N,request:r,tryItOutResponse:t,getComponent:c,getConfigs:u,specSelectors:h,oas3Actions:m,oas3Selectors:g,specActions:p,produces:h.producesOptionsFor([w,E]),producesValue:h.currentProducesFor([w,E]),specPath:e.push("responses"),path:w,method:E,displayRequestDuration:F,fn:l}):null,Q&&I.size?ae.createElement(G,{extensions:I,getComponent:c}):null)))}}class r3 extends ae.PureComponent{constructor(e,t){super(e,t);t=e.getConfigs().tryItOutEnabled;this.state={tryItOutEnabled:t,executeInProgress:!1}}static defaultProps={showSummary:!0,response:null,allowTryItOut:!0,displayOperationId:!1,displayRequestDuration:!1};mapStateToProps(e,t){const{op:r,layoutSelectors:n,getConfigs:s}=t,{docExpansion:o,deepLinking:i,displayOperationId:a,displayRequestDuration:l,supportedSubmitMethods:c}=s(),u=n.showSummary(),p=r.getIn(["operation","__originalOperationId"])||r.getIn(["operation","operationId"])||Qp(r.get("operation"),t.path,t.method)||r.get("id"),h=["operations",t.tag,p],d=0<=c.indexOf(t.method)&&(void 0===t.allowTryItOut?t.specSelectors.allowTryItOutFor(t.path,t.method):t.allowTryItOut),f=r.getIn(["operation","security"])||t.specSelectors.security();return{operationId:p,isDeepLinkingEnabled:i,showSummary:u,displayOperationId:a,displayRequestDuration:l,allowTryItOut:d,security:f,isAuthorized:t.authSelectors.isAuthorized(f),isShown:n.isShown(h,"full"===o),jumpToKey:`paths.${t.path}.`+t.method,response:t.specSelectors.responseFor(t.path,t.method),request:t.specSelectors.requestFor(t.path,t.method)}}componentDidMount(){var e=this.props["isShown"],t=this.getResolvedSubtree();e&&void 0===t&&this.requestResolvedSubtree()}UNSAFE_componentWillReceiveProps(e){var{response:e,isShown:t}=e,r=this.getResolvedSubtree();e!==this.props.response&&this.setState({executeInProgress:!1}),t&&void 0===r&&this.requestResolvedSubtree()}toggleShown=()=>{let{layoutActions:e,tag:t,operationId:r,isShown:n}=this.props;var s=this.getResolvedSubtree();n||void 0!==s||this.requestResolvedSubtree(),e.show(["operations",t,r],!n)};onCancelClick=()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})};onTryoutClick=()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})};onResetClick=e=>{var t=this.props.oas3Selectors.selectDefaultRequestBodyValue(...e);this.props.oas3Actions.setRequestBodyValue({value:t,pathMethod:e})};onExecute=()=>{this.setState({executeInProgress:!0})};getResolvedSubtree=()=>{const{specSelectors:e,path:t,method:r,specPath:n}=this.props;return n?e.specResolvedSubtree(n.toJS()):e.specResolvedSubtree(["paths",t,r])};requestResolvedSubtree=()=>{const{specActions:e,path:t,method:r,specPath:n}=this.props;return n?e.requestResolvedSubtree(n.toJS()):e.requestResolvedSubtree(["paths",t,r])};render(){let{op:e,tag:t,path:r,method:n,security:s,isAuthorized:o,operationId:i,showSummary:a,isShown:l,jumpToKey:c,allowTryItOut:u,response:p,request:h,displayOperationId:d,displayRequestDuration:f,isDeepLinkingEnabled:m,specPath:g,specSelectors:y,specActions:v,getComponent:b,getConfigs:w,layoutSelectors:E,layoutActions:x,authActions:S,authSelectors:_,oas3Actions:k,oas3Selectors:A,fn:O}=this.props;const C=b("operation"),j=this.getResolvedSubtree()||(0,$.Map)(),P=(0,$.fromJS)({op:j,tag:t,path:r,summary:e.getIn(["operation","summary"])||"",deprecated:j.get("deprecated")||e.getIn(["operation","deprecated"])||!1,method:n,security:s,isAuthorized:o,operationId:i,originalOperationId:j.getIn(["operation","__originalOperationId"]),showSummary:a,isShown:l,jumpToKey:c,allowTryItOut:u,request:h,displayOperationId:d,displayRequestDuration:f,isDeepLinkingEnabled:m,executeInProgress:this.state.executeInProgress,tryItOutEnabled:this.state.tryItOutEnabled});return ae.createElement(C,{operation:P,response:p,request:h,isShown:l,toggleShown:this.toggleShown,onTryoutClick:this.onTryoutClick,onResetClick:this.onResetClick,onCancelClick:this.onCancelClick,onExecute:this.onExecute,specPath:g,specActions:v,specSelectors:y,oas3Actions:k,oas3Selectors:A,layoutActions:x,layoutSelectors:E,authActions:S,authSelectors:_,getComponent:b,getConfigs:w,fn:O})}}var Yb=cI(13222),n3=cI.n(Yb);class s3 extends ae.PureComponent{static defaultProps={operationProps:null,specPath:(0,$.List)(),summary:""};render(){let{isShown:e,toggleShown:t,getComponent:r,authActions:n,authSelectors:s,operationProps:o,specPath:i}=this.props,{summary:a,isAuthorized:l,method:c,op:u,showSummary:p,path:h,operationId:d,originalOperationId:f,displayOperationId:m}=o.toJS(),g=u["summary"],y=o.get("security");var v=r("authorizeOperationBtn",!0),b=r("OperationSummaryMethod"),w=r("OperationSummaryPath"),E=r("JumpToPath",!0),x=r("CopyToClipboardBtn",!0),S=r("ArrowUpIcon"),_=r("ArrowDownIcon"),k=y&&!!y.count(),A=k&&1===y.size&&y.first().isEmpty(),k=!k||A;return ae.createElement("div",{className:"opblock-summary opblock-summary-"+c},ae.createElement("button",{"aria-expanded":e,className:"opblock-summary-control",onClick:t},ae.createElement(b,{method:c}),ae.createElement("div",{className:"opblock-summary-path-description-wrapper"},ae.createElement(w,{getComponent:r,operationProps:o,specPath:i}),p?ae.createElement("div",{className:"opblock-summary-description"},n3()(g||a)):null),m&&(f||d)?ae.createElement("span",{className:"opblock-summary-operation-id"},f||d):null),ae.createElement(x,{textToCopy:""+i.get(1)}),k?null:ae.createElement(v,{isAuthorized:l,onClick:()=>{var e=s.definitionsForRequirements(y);n.showDefinitions(e)}}),ae.createElement(E,{path:i}),ae.createElement("button",{"aria-label":c+" "+h.replace(/\//g,"/"),className:"opblock-control-arrow","aria-expanded":e,tabIndex:"-1",onClick:t},e?ae.createElement(S,{className:"arrow"}):ae.createElement(_,{className:"arrow"})))}}class o3 extends ae.PureComponent{static defaultProps={operationProps:null};render(){let e=this.props["method"];return ae.createElement("span",{className:"opblock-summary-method"},e.toUpperCase())}}class i3 extends ae.PureComponent{render(){let{getComponent:e,operationProps:t}=this.props,{deprecated:r,isShown:n,path:s,tag:o,operationId:i,isDeepLinkingEnabled:a}=t.toJS();const l=s.split(/(?=\/)/g);for(let e=1;e<l.length;e+=2)l.splice(e,0,ae.createElement("wbr",{key:e}));var c=e("DeepLink");return ae.createElement("span",{className:r?"opblock-summary-path__deprecated":"opblock-summary-path","data-path":s},ae.createElement(c,{enabled:a,isShown:n,path:it(o+"/"+i),text:l}))}}function a3(e,t="_"){return e.replace(/[^\w-]/g,t)}class l3 extends ae.Component{static defaultProps={tryItOutResponse:null,produces:(0,$.fromJS)(["application/json"]),displayRequestDuration:!1};onChangeProducesWrapper=e=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],e);onResponseContentTypeChange=({controlsAcceptHeader:e,value:t})=>{const{oas3Actions:r,path:n,method:s}=this.props;e&&r.setResponseContentType({value:t,path:n,method:s})};render(){let{responses:e,tryItOutResponse:n,getComponent:s,getConfigs:o,specSelectors:i,fn:a,producesValue:l,displayRequestDuration:t,specPath:c,path:u,method:p,oas3Selectors:h,oas3Actions:d}=this.props,f=function(e){let t=e.keySeq();return t.contains("default")?"default":t.filter(e=>"2"===(e+"")[0]).sort().first()}(e);const r=s("contentType"),m=s("liveResponse"),g=s("response");var y=(this.props.produces&&this.props.produces.size?this.props:l3.defaultProps).produces;const v=i.isOAS3()?function(e){if(!Z().OrderedMap.isOrderedMap(e))return null;if(!e.size)return null;const t=e.find((e,t)=>t.startsWith("2")&&0<Object.keys(e.get("content")||{}).length),r=e.get("default")||Z().OrderedMap(),n=(r.get("content")||Z().OrderedMap()).keySeq().toJS().length?r:null;return t||n}(e):null,b=a3(""+p+u+"_responses"),w=b+"_select";return ae.createElement("div",{className:"responses-wrapper"},ae.createElement("div",{className:"opblock-section-header"},ae.createElement("h4",null,"Responses"),i.isOAS3()?null:ae.createElement("label",{htmlFor:w},ae.createElement("span",null,"Response content type"),ae.createElement(r,{value:l,ariaControls:b,ariaLabel:"Response content type",className:"execute-content-type",contentTypes:y,controlId:w,onChange:this.onChangeProducesWrapper}))),ae.createElement("div",{className:"responses-inner"},n?ae.createElement("div",null,ae.createElement(m,{response:n,getComponent:s,getConfigs:o,specSelectors:i,path:this.props.path,method:this.props.method,displayRequestDuration:t}),ae.createElement("h4",null,"Responses")):null,ae.createElement("table",{"aria-live":"polite",className:"responses-table",id:b,role:"region"},ae.createElement("thead",null,ae.createElement("tr",{className:"responses-header"},ae.createElement("td",{className:"col_header response-col_status"},"Code"),ae.createElement("td",{className:"col_header response-col_description"},"Description"),i.isOAS3()?ae.createElement("td",{className:"col col_header response-col_links"},"Links"):null)),ae.createElement("tbody",null,e.entrySeq().map(([e,t])=>{var r=n&&n.get("status")==e?"response_current":"";return ae.createElement(g,{key:e,path:u,method:p,specPath:c.push(e),isDefault:f===e,fn:a,className:r,code:e,response:t,specSelectors:i,controlsAcceptHeader:t===v,onContentTypeChange:this.onResponseContentTypeChange,contentType:l,getConfigs:o,activeExamplesKey:h.activeExamplesMember(u,p,"responses",e),oas3Actions:d,getComponent:s})}).toArray()))))}}function c3(e){var t=e;try{return!!!!JSON.parse(t)}catch(t){return!!null}return!1}class u3 extends ae.Component{constructor(e,t){super(e,t),this.state={responseContentType:""}}static defaultProps={response:(0,$.fromJS)({}),onContentTypeChange:()=>{}};_onContentTypeChange=e=>{const{onContentTypeChange:t,controlsAcceptHeader:r}=this.props;this.setState({responseContentType:e}),t({value:e,controlsAcceptHeader:r})};getTargetExamplesKey=()=>{const{response:e,contentType:t,activeExamplesKey:r}=this.props,n=this.state.responseContentType||t,s=e.getIn(["content",n],(0,$.Map)({})).get("examples",null).keySeq().first();return r||s};render(){let{path:t,method:r,code:n,response:e,className:s,specPath:o,fn:i,getComponent:a,getConfigs:l,specSelectors:c,contentType:u,controlsAcceptHeader:p,oas3Actions:h}=this.props,{inferSchema:d,getSampleSchema:f}=i,m=c.isOAS3();var g,y,v=l()["showExtensions"];let b=v?lt(e):null,w=e.get("headers"),E=e.get("links");const x=a("ResponseExtension"),S=a("headers"),_=a("HighlightCode",!0),k=a("modelExample"),A=a("Markdown",!0),D=a("operationLink"),L=a("contentType"),F=a("ExamplesSelect"),B=a("Example"),O=this.state.responseContentType||u,C=e.getIn(["content",O],(0,$.Map)({})),j=C.get("examples",null);if(m){const t=C.get("schema");g=t?d(t.toJS()):null,y=t?(0,$.List)(["content",this.state.responseContentType,"schema"]):o}else g=e.get("schema"),y=e.has("schema")?o.push("schema"):o;let P,N,I=!1,T={includeReadOnly:!0};if(m)if(N=C.get("schema")?.toJS(),$.Map.isMap(j)&&!j.isEmpty()){const t=this.getTargetExamplesKey(),R=e=>e.get("value");void 0===(P=R(j.get(t,(0,$.Map)({}))))&&(P=R(j.values().next().value)),I=!0}else void 0!==C.get("example")&&(P=C.get("example"),I=!0);else{N=g,T={...T,includeWriteOnly:!0};const t=e.getIn(["examples",O]);t&&(P=t,I=!0)}var M=((e,t)=>{if(null==e)return null;var r=c3(e)?"json":null;return ae.createElement("div",null,ae.createElement(t,{className:"example",language:r},ut(e)))})(f(N,O,T,I?P:void 0),_);return ae.createElement("tr",{className:"response "+(s||""),"data-code":n},ae.createElement("td",{className:"response-col_status"},n),ae.createElement("td",{className:"response-col_description"},ae.createElement("div",{className:"response-col_description__inner"},ae.createElement(A,{source:e.get("description")})),v&&b.size?b.entrySeq().map(([e,t])=>ae.createElement(x,{key:e+"-"+t,xKey:e,xVal:t})):null,m&&e.get("content")?ae.createElement("section",{className:"response-controls"},ae.createElement("div",{className:le()("response-control-media-type",{"response-control-media-type--accept-controller":p})},ae.createElement("small",{className:"response-control-media-type__title"},"Media type"),ae.createElement(L,{value:this.state.responseContentType,contentTypes:e.get("content")?e.get("content").keySeq():(0,$.Seq)(),onChange:this._onContentTypeChange,ariaLabel:"Media Type"}),p?ae.createElement("small",{className:"response-control-media-type__accept-message"},"Controls ",ae.createElement("code",null,"Accept")," header."):null),$.Map.isMap(j)&&!j.isEmpty()?ae.createElement("div",{className:"response-control-examples"},ae.createElement("small",{className:"response-control-examples__title"},"Examples"),ae.createElement(F,{examples:j,currentExampleKey:this.getTargetExamplesKey(),onSelect:e=>h.setActiveExamplesMember({name:e,pathMethod:[t,r],contextType:"responses",contextName:n}),showLabels:!1})):null):null,M||g?ae.createElement(k,{specPath:y,getComponent:a,getConfigs:l,specSelectors:c,schema:Ke(g),example:M,includeReadOnly:!0}):null,m&&j?ae.createElement(B,{example:j.get(this.getTargetExamplesKey(),(0,$.Map)({})),getComponent:a,getConfigs:l,omitValue:!0}):null,w?ae.createElement(S,{headers:w,getComponent:a}):null),m?ae.createElement("td",{className:"response-col_links"},E?E.toSeq().entrySeq().map(([e,t])=>ae.createElement(D,{key:e,name:e,link:t,getComponent:a})):ae.createElement("i",null,"No links")):null)}}var jw=cI(26657),p3=cI.n(jw),hw=cI(80218),h3=cI.n(hw);class d3 extends ae.PureComponent{state={parsedContent:null};updateParsedContent=e=>{const t=this.props["content"];var r;e!==t&&(t&&t instanceof Blob?((r=new FileReader).onload=()=>{this.setState({parsedContent:r.result})},r.readAsText(t)):this.setState({parsedContent:t.toString()}))};componentDidMount(){this.updateParsedContent(null)}componentDidUpdate(e){this.updateParsedContent(e.content)}render(){let{content:o,contentType:i,url:a,headers:l={},getComponent:e}=this.props;var c,t=this.state["parsedContent"],r=e("HighlightCode",!0),n="response_"+(new Date).getTime();let s,u;if(a=a||"",(/^application\/octet-stream/i.test(i)||l["Content-Disposition"]&&/attachment/i.test(l["Content-Disposition"])||l["content-disposition"]&&/attachment/i.test(l["content-disposition"])||l["Content-Description"]&&/File Transfer/i.test(l["Content-Description"])||l["content-description"]&&/File Transfer/i.test(l["content-description"]))&&(0<o.size||0<o.length))if("Blob"in window){let e=i||"text/html",t=o instanceof Blob?o:new Blob([o],{type:e}),r=window.URL.createObjectURL(t),n=[e,a.substr(a.lastIndexOf("/")+1),r].join(":"),s=l["content-disposition"]||l["Content-Disposition"];void 0===s||null!==(c=function(t){let r;if([/filename\*=[^']+'\w*'"([^"]+)";?/i,/filename\*=[^']+'\w*'([^;]+);?/i,/filename="([^;]*);?"/i,/filename=([^;]*);?/i].some(e=>null!==(r=e.exec(t))),null!==r&&1<r.length)try{return decodeURIComponent(r[1])}catch(t){console.error(t)}return null}(s))&&(n=c),u=B.navigator&&B.navigator.msSaveOrOpenBlob?ae.createElement("div",null,ae.createElement("a",{href:r,onClick:()=>B.navigator.msSaveOrOpenBlob(t,n)},"Download file")):ae.createElement("div",null,ae.createElement("a",{href:r,download:n},"Download file"))}else u=ae.createElement("pre",{className:"microlight"},"Download headers detected but your browser does not support downloading binary via XHR (Blob).");else if(/json/i.test(i)){let e=null;c3(o)&&(e="json");try{s=JSON.stringify(JSON.parse(o),null," ")}catch(i){s="can't parse JSON. Raw result:\n\n"+o}u=ae.createElement(r,{language:e,downloadable:!0,fileName:n+".json",canCopy:!0},s)}else u=/xml/i.test(i)?(s=p3()(o,{textNodesOnSameLine:!0,indentor:" "}),ae.createElement(r,{downloadable:!0,fileName:n+".xml",canCopy:!0},s)):"text/html"===h3()(i)||/text\/plain/.test(i)?ae.createElement(r,{downloadable:!0,fileName:n+".html",canCopy:!0},o):"text/csv"===h3()(i)||/text\/csv/.test(i)?ae.createElement(r,{downloadable:!0,fileName:n+".csv",canCopy:!0},o):/^image\//i.test(i)?i.includes("svg")?ae.createElement("div",null," ",o," "):ae.createElement("img",{src:window.URL.createObjectURL(o)}):/^audio\//i.test(i)?ae.createElement("pre",{className:"microlight"},ae.createElement("audio",{controls:!0,key:a},ae.createElement("source",{src:a,type:i}))):"string"==typeof o?ae.createElement(r,{downloadable:!0,fileName:n+".txt",canCopy:!0},o):0<o.size?t?ae.createElement("div",null,ae.createElement("p",{className:"i"},"Unrecognized response type; displaying content as text."),ae.createElement(r,{downloadable:!0,fileName:n+".txt",canCopy:!0},t)):ae.createElement("p",{className:"i"},"Unrecognized response type; unable to display."):null;return u?ae.createElement("div",null,ae.createElement("h5",null,"Response body"),u):null}}class f3 extends ae.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,t,r)=>{let{specActions:{changeParamByIdentity:n},onChangeKey:s}=this.props;n(s,e,t,r)};onChangeConsumesWrapper=e=>{let{specActions:{changeConsumesValue:t},onChangeKey:r}=this.props;t(r,e)};toggleTab=e=>"parameters"===e?this.setState({parametersVisible:!0,callbackVisible:!1}):"callbacks"===e?this.setState({callbackVisible:!0,parametersVisible:!1}):void 0;onChangeMediaType=({value:e,pathMethod:t})=>{let{specActions:r,oas3Selectors:n,oas3Actions:s}=this.props;var o=n.hasUserEditedBody(...t),i=n.shouldRetainRequestBodyValue(...t);s.setRequestContentType({value:e,pathMethod:t}),s.initRequestBodyValidateError({pathMethod:t}),o||(i||s.setRequestBodyValue({value:void 0,pathMethod:t}),r.clearResponse(...t),r.clearRequest(...t),r.clearValidateParams(t))};render(){let{onTryoutClick:e,onResetClick:t,parameters:r,allowTryItOut:n,tryItOutEnabled:s,specPath:o,fn:i,getComponent:a,getConfigs:l,specSelectors:c,specActions:u,pathMethod:p,oas3Actions:h,oas3Selectors:d,operation:f}=this.props;const m=a("parameterRow"),g=a("TryItOutButton"),y=a("contentType"),v=a("Callbacks",!0),b=a("RequestBody",!0),w=s&&n,E=c.isOAS3(),x=a3(""+p[1]+p[0]+"_requests")+"_select",S=f.get("requestBody"),_=Object.values(r.reduce((e,t)=>{var r=t.get("in");return e[r]??=[],e[r].push(t),e},{})).reduce((e,t)=>e.concat(t),[]);return ae.createElement("div",{className:"opblock-section"},ae.createElement("div",{className:"opblock-section-header"},E?ae.createElement("div",{className:"tab-header"},ae.createElement("div",{onClick:()=>this.toggleTab("parameters"),className:"tab-item "+(this.state.parametersVisible&&"active")},ae.createElement("h4",{className:"opblock-title"},ae.createElement("span",null,"Parameters"))),f.get("callbacks")?ae.createElement("div",{onClick:()=>this.toggleTab("callbacks"),className:"tab-item "+(this.state.callbackVisible&&"active")},ae.createElement("h4",{className:"opblock-title"},ae.createElement("span",null,"Callbacks"))):null):ae.createElement("div",{className:"tab-header"},ae.createElement("h4",{className:"opblock-title"},"Parameters")),n?ae.createElement(g,{isOAS3:c.isOAS3(),hasUserEditedBody:d.hasUserEditedBody(...p),enabled:s,onCancelClick:this.props.onCancelClick,onTryoutClick:e,onResetClick:()=>t(p)}):null),this.state.parametersVisible?ae.createElement("div",{className:"parameters-container"},_.length?ae.createElement("div",{className:"table-container"},ae.createElement("table",{className:"parameters"},ae.createElement("thead",null,ae.createElement("tr",null,ae.createElement("th",{className:"col_header parameters-col_name"},"Name"),ae.createElement("th",{className:"col_header parameters-col_description"},"Description"))),ae.createElement("tbody",null,_.map((e,t)=>ae.createElement(m,{fn:i,specPath:o.push(t.toString()),getComponent:a,getConfigs:l,rawParam:e,param:c.parameterWithMetaByIdentity(p,e),key:e.get("in")+"."+e.get("name"),onChange:this.onChange,onChangeConsumes:this.onChangeConsumesWrapper,specSelectors:c,specActions:u,oas3Actions:h,oas3Selectors:d,pathMethod:p,isExecute:w}))))):ae.createElement("div",{className:"opblock-description-wrapper"},ae.createElement("p",null,"No parameters"))):null,this.state.callbackVisible?ae.createElement("div",{className:"callbacks-container opblock-description-wrapper"},ae.createElement(v,{callbacks:(0,$.Map)(f.get("callbacks")),specPath:o.slice(0,-1).push("callbacks")})):null,E&&S&&this.state.parametersVisible&&ae.createElement("div",{className:"opblock-section opblock-section-request-body"},ae.createElement("div",{className:"opblock-section-header"},ae.createElement("h4",{className:"opblock-title parameter__name "+(S.get("required")&&"required")},"Request body"),ae.createElement("label",{id:x},ae.createElement(y,{value:d.requestContentType(...p),contentTypes:S.get("content",(0,$.List)()).keySeq(),onChange:e=>{this.onChangeMediaType({value:e,pathMethod:p})},className:"body-param-content-type",ariaLabel:"Request content type",controlId:x}))),ae.createElement("div",{className:"opblock-description-wrapper"},ae.createElement(b,{setRetainRequestBodyValueFlag:e=>h.setRetainRequestBodyValueFlag({value:e,pathMethod:p}),userHasEditedBody:d.hasUserEditedBody(...p),specPath:o.slice(0,-1).push("requestBody"),requestBody:S,requestBodyValue:d.requestBodyValue(...p),requestBodyInclusionSetting:d.requestBodyInclusionSetting(...p),requestBodyErrors:d.requestBodyErrors(...p),isExecute:w,getConfigs:l,activeExamplesKey:d.activeExamplesMember(...p,"requestBody","requestBody"),updateActiveExamplesKey:e=>{this.props.oas3Actions.setActiveExamplesMember({name:e,pathMethod:this.props.pathMethod,contextType:"requestBody",contextName:"requestBody"})},onChange:(e,t)=>{if(t){const r=d.requestBodyValue(...p),n=$.Map.isMap(r)?r:(0,$.Map)();return h.setRequestBodyValue({pathMethod:p,value:n.setIn(t,e)})}h.setRequestBodyValue({value:e,pathMethod:p})},onChangeIncludeEmpty:(e,t)=>{h.setRequestBodyInclusion({pathMethod:p,value:t,name:e})},contentType:d.requestContentType(...p)}))))}}class m3 extends ae.Component{static defaultProps={onChange:()=>{},isIncludedOptions:{}};componentDidMount(){const{isIncludedOptions:e,onChange:t}=this.props,{shouldDispatchInit:r,defaultValue:n}=e;r&&t(n)}onCheckboxChange=e=>{const t=this.props["onChange"];t(e.target.checked)};render(){var{isIncluded:e,isDisabled:t}=this.props;return ae.createElement("div",null,ae.createElement("label",{htmlFor:"include_empty_value",className:le()("parameter__empty_value_toggle",{disabled:t})},ae.createElement("input",{id:"include_empty_value",type:"checkbox",disabled:t,checked:!t&&e,onChange:this.onCheckboxChange}),"Send empty value"))}}class g3 extends ae.Component{constructor(e,t){super(e,t),this.setDefaultValue()}UNSAFE_componentWillReceiveProps(e){let t,{specSelectors:r,pathMethod:n,rawParam:s}=e,o=r.isOAS3(),i=r.parameterWithMetaByIdentity(n,s)||new $.Map;if(i=i.isEmpty()?s:i,o){let e=qe(i,{isOAS3:o})["schema"];t=e?e.get("enum"):void 0}else t=i?i.get("enum"):void 0;let a,l=i?i.get("value"):void 0;void 0!==l?a=l:s.get("required")&&t&&t.size&&(a=t.first()),void 0!==a&&a!==l&&this.onChangeWrapper("number"==typeof(e=a)?e.toString():e),this.setDefaultValue()}onChangeWrapper=(e,t=!1)=>{let r,{onChange:n,rawParam:s}=this.props;return r=""===e||e&&0===e.size?null:e,n(s,r,t)};_onExampleSelect=e=>{this.props.oas3Actions.setActiveExamplesMember({name:e,pathMethod:this.props.pathMethod,contextType:"parameters",contextName:this.getParamKey()})};onChangeIncludeEmpty=e=>{let{specActions:t,param:r,pathMethod:n}=this.props;var s=r.get("name"),o=r.get("in");return t.updateEmptyParamInclusion(n,s,o,e)};setDefaultValue=()=>{let{specSelectors:t,pathMethod:r,rawParam:e,oas3Selectors:n,fn:s}=this.props;const o=t.parameterWithMetaByIdentity(r,e)||(0,$.Map)();let i=qe(o,{isOAS3:t.isOAS3()})["schema"];var a=o.get("content",(0,$.Map)()).keySeq().first(),l=i?s.getSampleSchema(i.toJS(),a,{includeWriteOnly:!0}):null;if(o&&void 0===o.get("value")&&"body"!==o.get("in")){let e;if(t.isSwagger2())e=void 0!==o.get("x-example")?o.get("x-example"):void 0!==o.getIn(["schema","example"])?o.getIn(["schema","example"]):i&&i.getIn(["default"]);else if(t.isOAS3()){i=this.composeJsonSchema(i);const t=n.activeExamplesMember(...r,"parameters",this.getParamKey());e=void 0!==o.getIn(["examples",t,"value"])?o.getIn(["examples",t,"value"]):void 0!==o.getIn(["content",a,"example"])?o.getIn(["content",a,"example"]):void 0!==o.get("example")?o.get("example"):void 0!==(i&&i.get("example"))?i&&i.get("example"):void 0!==(i&&i.get("default"))?i&&i.get("default"):o.get("default")}void 0!==(e=void 0===e||$.List.isList(e)?e:ut(e))?this.onChangeWrapper(e):i&&"object"===i.get("type")&&l&&!o.get("examples")&&this.onChangeWrapper($.List.isList(l)?l:ut(l))}};getParamKey(){const e=this.props["param"];return e?e.get("name")+"-"+e.get("in"):null}composeJsonSchema(e){const t=this.props["fn"],r=e.get("oneOf")?.get(0)?.toJS(),n=e.get("anyOf")?.get(0)?.toJS();return(0,$.fromJS)(t.mergeJsonSchema(e.toJS(),r??n??{}))}render(){let{param:e,rawParam:t,getComponent:r,getConfigs:n,isExecute:s,fn:o,onChangeConsumes:i,specSelectors:a,pathMethod:l,specPath:c,oas3Selectors:u}=this.props,p=a.isOAS3();var{showExtensions:h,showCommonExtensions:d}=n();if(e=e||t,!t)return null;var f=r("JsonSchemaForm"),m=r("ParamBody"),g=e.get("in"),m="body"!==g?null:ae.createElement(m,{getComponent:r,getConfigs:n,fn:o,param:e,consumes:a.consumesOptionsFor(l),consumesValue:a.contentTypeValues(l).get("requestContentType"),onChange:this.onChangeWrapper,onChangeConsumes:i,isExecute:s,specSelectors:a,pathMethod:l});const y=r("modelExample"),v=r("Markdown",!0),b=r("ParameterExt"),w=r("ParameterIncludeEmpty"),E=r("ExamplesSelectValueRetainer"),x=r("Example");let S=qe(e,{isOAS3:p})["schema"],_=a.parameterWithMetaByIdentity(l,t)||(0,$.Map)(),k,A,O,C,j=(S=p?this.composeJsonSchema(S):S)?S.get("format"):null,D=S?S.get("type"):null,P=S?S.getIn(["items","type"]):null,L="formData"===g,F="FormData"in B,N=e.get("required"),I=_?_.get("value"):"",T=d?ct(S):null,M=h?lt(e):null,R=!1;return void 0!==(k=void 0!==e&&S?S.get("items"):k)?(A=k.get("enum"),O=k.get("default")):S&&(A=S.get("enum")),A&&A.size&&0<A.size&&(R=!0),void 0!==e&&(void 0===(O=S?S.get("default"):O)&&(O=e.get("default")),void 0===(C=e.get("example"))&&(C=e.get("x-example"))),ae.createElement("tr",{"data-param-name":e.get("name"),"data-param-in":e.get("in")},ae.createElement("td",{className:"parameters-col_name"},ae.createElement("div",{className:N?"parameter__name required":"parameter__name"},e.get("name"),N?ae.createElement("span",null," *"):null),ae.createElement("div",{className:"parameter__type"},D,P&&`[${P}]`,j&&ae.createElement("span",{className:"prop-format"},"($",j,")")),ae.createElement("div",{className:"parameter__deprecated"},p&&e.get("deprecated")?"deprecated":null),ae.createElement("div",{className:"parameter__in"},"(",e.get("in"),")")),ae.createElement("td",{className:"parameters-col_description"},e.get("description")?ae.createElement(v,{source:e.get("description")}):null,!m&&s||!R?null:ae.createElement(v,{className:"parameter__enum",source:"<i>Available values</i> : "+A.map(function(e){return e}).toArray().map(String).join(", ")}),!m&&s||void 0===O?null:ae.createElement(v,{className:"parameter__default",source:"<i>Default value</i> : "+O}),!m&&s||void 0===C?null:ae.createElement(v,{source:"<i>Example</i> : "+C}),L&&!F&&ae.createElement("div",null,"Error: your browser does not support FormData"),p&&e.get("examples")?ae.createElement("section",{className:"parameter-controls"},ae.createElement(E,{examples:e.get("examples"),onSelect:this._onExampleSelect,updateValue:this.onChangeWrapper,getComponent:r,defaultToFirstExample:!0,currentKey:u.activeExamplesMember(...l,"parameters",this.getParamKey()),currentUserInputValue:I})):null,m?null:ae.createElement(f,{fn:o,getComponent:r,value:I,required:N,disabled:!s,description:e.get("name"),onChange:this.onChangeWrapper,errors:_.get("errors"),schema:S}),m&&S?ae.createElement(y,{getComponent:r,specPath:c.push("schema"),getConfigs:n,isExecute:s,specSelectors:a,schema:S,example:m,includeWriteOnly:!0}):null,!m&&s&&e.get("allowEmptyValue")?ae.createElement(w,{onChange:this.onChangeIncludeEmpty,isIncluded:a.parameterInclusionSettingFor(l,e.get("name"),e.get("in")),isDisabled:!ft(I)}):null,p&&e.get("examples")?ae.createElement(x,{example:e.getIn(["examples",u.activeExamplesMember(...l,"parameters",this.getParamKey())]),getComponent:r,getConfigs:n}):null,d&&T.size?T.entrySeq().map(([e,t])=>ae.createElement(b,{key:e+"-"+t,xKey:e,xVal:t})):null,h&&M.size?M.entrySeq().map(([e,t])=>ae.createElement(b,{key:e+"-"+t,xKey:e,xVal:t})):null))}}class y3 extends ae.Component{handleValidateParameters=()=>{let{specSelectors:e,specActions:t,path:r,method:n}=this.props;return t.validateParams([r,n]),e.validateBeforeExecute([r,n])};handleValidateRequestBody=()=>{let{path:e,method:t,specSelectors:r,oas3Selectors:n,oas3Actions:s}=this.props,o={missingBodyValue:!1,missingRequiredKeys:[]};s.clearRequestBodyValidateError({path:e,method:t});var i=r.getOAS3RequiredRequestBodyContentType([e,t]),a=n.requestBodyValue(e,t),l=n.validateBeforeExecute([e,t]),c=n.requestContentType(e,t);if(!l)return o.missingBodyValue=!0,s.setRequestBodyValidateError({path:e,method:t,validationErrors:o}),!1;if(!i)return!0;let u=n.validateShallowRequired({oas3RequiredRequestBodyContentType:i,oas3RequestContentType:c,oas3RequestBodyValue:a});return!u||u.length<1||(u.forEach(e=>{o.missingRequiredKeys.push(e)}),s.setRequestBodyValidateError({path:e,method:t,validationErrors:o}),!1)};handleValidationResultPass=()=>{let{specActions:e,operation:t,path:r,method:n}=this.props;this.props.onExecute&&this.props.onExecute(),e.execute({operation:t,path:r,method:n})};handleValidationResultFail=()=>{let{specActions:e,path:t,method:r}=this.props;e.clearValidateParams([t,r]),setTimeout(()=>{e.validateParams([t,r])},40)};handleValidationResult=e=>{e?this.handleValidationResultPass():this.handleValidationResultFail()};onClick=()=>{var e=this.handleValidateParameters(),t=this.handleValidateRequestBody();this.handleValidationResult(e&&t)};onChangeProducesWrapper=e=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],e);render(){var e=this.props["disabled"];return ae.createElement("button",{className:"btn execute opblock-control__btn",onClick:this.onClick,disabled:e},"Execute")}}class v3 extends ae.Component{render(){let{headers:e,getComponent:t}=this.props;const s=t("Property"),o=t("Markdown",!0);return e&&e.size?ae.createElement("div",{className:"headers-wrapper"},ae.createElement("h4",{className:"headers__title"},"Headers:"),ae.createElement("table",{className:"headers"},ae.createElement("thead",null,ae.createElement("tr",{className:"header-row"},ae.createElement("th",{className:"header-col"},"Name"),ae.createElement("th",{className:"header-col"},"Description"),ae.createElement("th",{className:"header-col"},"Type"))),ae.createElement("tbody",null,e.entrySeq().map(([e,t])=>{if(!Z().Map.isMap(t))return null;var r=t.get("description"),n=t.getIn(["schema"])?t.getIn(["schema","type"]):t.getIn(["type"]),t=t.getIn(["schema","example"]);return ae.createElement("tr",{key:e},ae.createElement("td",{className:"header-col"},e),ae.createElement("td",{className:"header-col"},r?ae.createElement(o,{source:r}):null),ae.createElement("td",{className:"header-col"},n," ",t?ae.createElement(s,{propKey:"Example",propVal:t,propClass:"header-example"}):null))}).toArray()))):null}}class b3 extends ae.Component{render(){let{editorActions:e,errSelectors:t,layoutSelectors:r,layoutActions:n,getComponent:s}=this.props;var o,i=s("Collapse");e&&e.jumpToLine&&(o=e.jumpToLine);let a=t.allErrors().filter(e=>"thrown"===e.get("type")||"error"===e.get("level"));if(!a||a.count()<1)return null;let l=r.isShown(["errorPane"],!0),c=a.sortBy(e=>e.get("line"));return ae.createElement("pre",{className:"errors-wrapper"},ae.createElement("hgroup",{className:"error"},ae.createElement("h4",{className:"errors__title"},"Errors"),ae.createElement("button",{className:"btn errors__clear-btn",onClick:()=>n.show(["errorPane"],!l)},l?"Hide":"Show")),ae.createElement(i,{isOpened:l,animated:!0},ae.createElement("div",{className:"errors"},c.map((e,t)=>{var r=e.get("type");return"thrown"===r||"auth"===r?ae.createElement(w3,{key:t,error:e.get("error")||e,jumpToLine:o}):"spec"===r?ae.createElement(E3,{key:t,error:e,jumpToLine:o}):void 0}))))}}const w3=({error:e,jumpToLine:t})=>{if(!e)return null;var r=e.get("line");return ae.createElement("div",{className:"error-wrapper"},e?ae.createElement("div",null,ae.createElement("h4",null,e.get("source")&&e.get("level")?x3(e.get("source"))+" "+e.get("level"):"",e.get("path")?ae.createElement("small",null," at ",e.get("path")):null),ae.createElement("span",{className:"message thrown"},e.get("message")),ae.createElement("div",{className:"error-line"},r&&t?ae.createElement("a",{onClick:t.bind(null,r)},"Jump to line ",r):null)):null)},E3=({error:e,jumpToLine:t=null})=>{let r=null;return e.get("path")?r=$.List.isList(e.get("path"))?ae.createElement("small",null,"at ",e.get("path").join(".")):ae.createElement("small",null,"at ",e.get("path")):e.get("line")&&!t&&(r=ae.createElement("small",null,"on line ",e.get("line"))),ae.createElement("div",{className:"error-wrapper"},e?ae.createElement("div",null,ae.createElement("h4",null,x3(e.get("source"))+" "+e.get("level")," ",r),ae.createElement("span",{className:"message"},e.get("message")),ae.createElement("div",{className:"error-line"},t?ae.createElement("a",{onClick:t.bind(null,e.get("line"))},"Jump to line ",e.get("line")):null)):null)};function x3(e){return(e||"").split(" ").map(e=>e[0].toUpperCase()+e.slice(1)).join(" ")}var S3;class _3 extends ae.Component{static defaultProps={onChange:()=>{},value:null,contentTypes:(0,$.fromJS)(["application/json"])};componentDidMount(){this.props.contentTypes&&this.props.onChange(this.props.contentTypes.first())}UNSAFE_componentWillReceiveProps(e){e.contentTypes&&e.contentTypes.size&&(e.contentTypes.includes(e.value)||e.onChange(e.contentTypes.first()))}onChangeWrapper=e=>this.props.onChange(e.target.value);render(){let{ariaControls:e,ariaLabel:t,className:r,contentTypes:n,controlId:s,value:o}=this.props;return n&&n.size?ae.createElement("div",{className:"content-type-wrapper "+(r||"")},ae.createElement("select",{"aria-controls":e,"aria-label":t,className:"content-type",id:s,onChange:this.onChangeWrapper,value:o||""},n.map(e=>ae.createElement("option",{key:e,value:e},e)).toArray())):null}}function k3(...e){return e.filter(e=>!!e).join(" ").trim()}class A3 extends ae.Component{render(){let{fullscreen:e,full:t,...r}=this.props;if(e)return ae.createElement("section",r);var n="swagger-container"+(t?"-full":"");return ae.createElement("section",q()({},r,{className:k3(r.className,n)}))}}const O3={mobile:"",tablet:"-tablet",desktop:"-desktop",large:"-hd"};class C3 extends ae.Component{render(){const{hide:e,keepContents:t,mobile:r,tablet:n,desktop:s,large:o,...i}=this.props;if(e&&!t)return ae.createElement("span",null);let a=[];for(var l in O3){var c;Object.prototype.hasOwnProperty.call(O3,l)&&(c=O3[l],l in this.props&&((l=this.props[l])<1?a.push("none"+c):(a.push("block"+c),a.push("col-"+l+c))))}e&&a.push("hidden");var u=k3(i.className,...a);return ae.createElement("section",q()({},i,{className:u}))}}class j3 extends ae.Component{render(){return ae.createElement("div",q()({},this.props,{className:k3(this.props.className,"wrapper")}))}}class P3 extends ae.Component{static defaultProps={className:""};render(){return ae.createElement("button",q()({},this.props,{className:k3(this.props.className,"button")}))}}const N3=e=>ae.createElement("textarea",e),I3=e=>ae.createElement("input",e);class T3 extends ae.Component{static defaultProps={multiple:!1,allowEmptyValue:!0};constructor(e,t){super(e,t),t=e.value||(e.multiple?[""]:""),this.state={value:t}}onChange=e=>{let t,{onChange:r,multiple:n}=this.props,s=[].slice.call(e.target.options);t=n?s.filter(function(e){return e.selected}).map(function(e){return e.value}):e.target.value,this.setState({value:t}),r&&r(t)};UNSAFE_componentWillReceiveProps(e){e.value!==this.props.value&&this.setState({value:e.value})}render(){let{allowedValues:e,multiple:t,allowEmptyValue:r,disabled:n}=this.props,s=this.state.value?.toJS?.()||this.state.value;return ae.createElement("select",{className:this.props.className,multiple:t,value:s,onChange:this.onChange,disabled:n},r?ae.createElement("option",{value:""},"--"):null,e.map(function(e,t){return ae.createElement("option",{key:t,value:String(e)},String(e))}))}}class M3 extends ae.Component{render(){return ae.createElement("a",q()({},this.props,{rel:"noopener noreferrer",className:k3(this.props.className,"link")}))}}const R3=({children:e})=>ae.createElement("div",{className:"no-margin"}," ",e," ");class D3 extends ae.Component{static defaultProps={isOpened:!1,animated:!1};renderNotAnimated(){return this.props.isOpened?ae.createElement(R3,null,this.props.children):ae.createElement("noscript",null)}render(){let{animated:e,isOpened:t,children:r}=this.props;return e?(r=t?r:null,ae.createElement(R3,null,r)):this.renderNotAnimated()}}class L3 extends ae.Component{constructor(...e){super(...e),this.setTagShown=this._setTagShown.bind(this)}_setTagShown(e,t){this.props.layoutActions.show(e,t)}showOp(e,t){let r=this.props["layoutActions"];r.show(e,t)}render(){let{specSelectors:e,layoutSelectors:i,layoutActions:a,getComponent:t}=this.props,r=e.taggedOperations();const o=t("Collapse");return ae.createElement("div",null,ae.createElement("h4",{className:"overview-title"},"Overview"),r.map((e,t)=>{let r=e.get("operations"),n=["overview-tags",t],s=i.isShown(n,!0);return ae.createElement("div",{key:"overview-"+t},ae.createElement("h4",{onClick:()=>a.show(n,!s),className:"link overview-tag"}," ",s?"-":"+",t),ae.createElement(o,{isOpened:s,animated:!0},r.map(e=>{var{path:e,method:t,id:r}=e.toObject(),n="operations",s=r,o=i.isShown([n,s]);return ae.createElement(F3,{key:r,path:e,method:t,id:e+"-"+t,shown:o,showOpId:s,showOpIdPrefix:n,href:"#operation-"+s,onClick:a.show})}).toArray()))}).toArray(),r.size<1&&ae.createElement("h3",null," No operations defined in spec! "))}}class F3 extends ae.Component{constructor(e){super(e),this.onClick=this._onClick.bind(this)}_onClick(){let{showOpId:e,showOpIdPrefix:t,onClick:r,shown:n}=this.props;r([t,e],!n)}render(){let{id:e,method:t,shown:r,href:n}=this.props;return ae.createElement(M3,{href:n,onClick:this.onClick,className:"block opblock-link "+(r?"shown":"")},ae.createElement("div",null,ae.createElement("small",{className:"bold-label-"+t},t.toUpperCase()),ae.createElement("span",{className:"bold-label"},e)))}}class B3 extends ae.Component{componentDidMount(){this.props.initialValue&&(this.inputRef.value=this.props.initialValue)}render(){const{value:e,defaultValue:t,initialValue:r,...n}=this.props;return ae.createElement("input",q()({},n,{ref:e=>this.inputRef=e}))}}class $3 extends ae.Component{render(){var{host:e,basePath:t}=this.props;return ae.createElement("pre",{className:"base-url"},"[ Base URL: ",e,t," ]")}}class q3 extends ae.PureComponent{render(){const{url:e,getComponent:t}=this.props,r=t("Link");return ae.createElement(r,{target:"_blank",href:st(e)},ae.createElement("span",{className:"url"}," ",e))}}class U3 extends ae.Component{render(){const{info:e,url:t,host:r,basePath:n,getComponent:s,externalDocs:o,selectedServer:i,url:a}=this.props,l=e.get("version"),c=e.get("description"),u=e.get("title"),p=ZC(e.get("termsOfService"),a,{selectedServer:i}),h=e.get("contact"),d=e.get("license"),f=ZC(o&&o.get("url"),a,{selectedServer:i}),m=o&&o.get("description"),g=s("Markdown",!0),y=s("Link"),v=s("VersionStamp"),b=s("OpenAPIVersion"),w=s("InfoUrl"),E=s("InfoBasePath"),x=s("License"),S=s("Contact");return ae.createElement("div",{className:"info"},ae.createElement("hgroup",{className:"main"},ae.createElement("h2",{className:"title"},u,ae.createElement("span",null,l&&ae.createElement(v,{version:l}),ae.createElement(b,{oasVersion:"2.0"}))),r||n?ae.createElement(E,{host:r,basePath:n}):null,t&&ae.createElement(w,{getComponent:s,url:t})),ae.createElement("div",{className:"description"},ae.createElement(g,{source:c})),p&&ae.createElement("div",{className:"info__tos"},ae.createElement(y,{target:"_blank",href:st(p)},"Terms of service")),0<h?.size&&ae.createElement(S,{getComponent:s,data:h,selectedServer:i,url:t}),0<d?.size&&ae.createElement(x,{getComponent:s,license:d,selectedServer:i,url:t}),f?ae.createElement(y,{className:"info__extdocs",target:"_blank",href:st(f)},m||f):null)}}const z3=U3;class V3 extends ae.Component{render(){const{specSelectors:e,getComponent:t,oas3Selectors:r}=this.props,n=e.info(),s=e.url(),o=e.basePath(),i=e.host(),a=e.externalDocs(),l=r.selectedServer(),c=t("info");return ae.createElement("div",null,n&&n.count()?ae.createElement(c,{info:n,url:s,host:i,basePath:o,externalDocs:a,getComponent:t,selectedServer:l}):null)}}class K3 extends ae.Component{render(){const{data:e,getComponent:t,selectedServer:r,url:n}=this.props,s=e.get("name","the developer"),o=ZC(e.get("url"),n,{selectedServer:r}),i=e.get("email"),a=t("Link");return ae.createElement("div",{className:"info__contact"},o&&ae.createElement("div",null,ae.createElement(a,{href:st(o),target:"_blank"},s," - Website")),i&&ae.createElement(a,{href:st("mailto:"+i)},o?"Send email to "+s:"Contact "+s))}}const W3=K3;class J3 extends ae.Component{render(){const{license:e,getComponent:t,selectedServer:r,url:n}=this.props,s=e.get("name","License"),o=ZC(e.get("url"),n,{selectedServer:r}),i=t("Link");return ae.createElement("div",{className:"info__license"},o?ae.createElement("div",{className:"info__license__url"},ae.createElement(i,{target:"_blank",href:st(o)},s)):ae.createElement("span",null,s))}}const H3=J3;class G3 extends ae.Component{render(){return null}}class Y3 extends ae.Component{render(){let e=this.props["getComponent"];var t=e("CopyIcon");return ae.createElement("div",{className:"view-line-link copy-to-clipboard",title:"Copy to clipboard"},ae.createElement(vo.CopyToClipboard,{text:this.props.textToCopy},ae.createElement(t,null)))}}class X3 extends ae.Component{render(){return ae.createElement("div",{className:"footer"})}}class Q3 extends ae.Component{onFilterChange=e=>{var e=e["target"]["value"];this.props.layoutActions.updateFilter(e)};render(){const{specSelectors:e,layoutSelectors:t,getComponent:r}=this.props,n=r("Col"),s="loading"===e.loadingStatus(),o="failed"===e.loadingStatus(),i=t.currentFilter(),a=["operation-filter-input"];return o&&a.push("failed"),s&&a.push("loading"),ae.createElement("div",null,!1===i?null:ae.createElement("div",{className:"filter-container"},ae.createElement(n,{className:"filter wrapper",mobile:12},ae.createElement("input",{className:a.join(" "),placeholder:"Filter by tag",type:"text",onChange:this.onFilterChange,value:"string"==typeof i?i:"",disabled:s}))))}}const Z3=Function.prototype;class ej extends ae.PureComponent{static defaultProp={consumes:(0,$.fromJS)(["application/json"]),param:(0,$.fromJS)({}),onChange:Z3,onChangeConsumes:Z3};constructor(e,t){super(e,t),this.state={isEditBox:!1,value:""}}componentDidMount(){this.updateValues.call(this,this.props)}UNSAFE_componentWillReceiveProps(e){this.updateValues.call(this,e)}updateValues=e=>{let{param:t,isExecute:r,consumesValue:n=""}=e,s=/xml/i.test(n),o=/json/i.test(n),i=s?t.get("value_xml"):t.get("value");void 0!==i?(this.setState({value:e=!i&&o?"{}":i}),this.onChange(e,{isXml:s,isEditBox:r})):s?this.onChange(this.sample("xml"),{isXml:s,isEditBox:r}):this.onChange(this.sample(),{isEditBox:r})};sample=e=>{let{param:t,fn:r}=this.props,n=r.inferSchema(t.toJS());return r.getSampleSchema(n,e,{includeWriteOnly:!0})};onChange=(e,{isEditBox:t,isXml:r})=>{this.setState({value:e,isEditBox:t}),this._onChange(e,r)};_onChange=(e,t)=>{(this.props.onChange||Z3)(e,t)};handleOnChange=e=>{var t=this.props["consumesValue"],t=/xml/i.test(t),e=e.target.value;this.onChange(e,{isXml:t,isEditBox:this.state.isEditBox})};toggleIsEditBox=()=>this.setState(e=>({isEditBox:!e.isEditBox}));render(){let{onChangeConsumes:e,param:t,isExecute:r,specSelectors:n,pathMethod:s,getComponent:o}=this.props;var i=o("Button"),a=o("TextArea"),l=o("HighlightCode",!0),c=o("contentType");let u=(n?n.parameterWithMetaByIdentity(s,t):t).get("errors",(0,$.List)()),p=n.contentTypeValues(s).get("requestContentType"),h=(this.props.consumes&&this.props.consumes.size?this.props:ej.defaultProp).consumes,{value:d,isEditBox:f}=this.state,m=null;c3(d)&&(m="json");var g=a3(""+s[1]+s[0]+"_parameters")+"_select";return ae.createElement("div",{className:"body-param","data-param-name":t.get("name"),"data-param-in":t.get("in")},f&&r?ae.createElement(a,{className:"body-param__text"+(u.count()?" invalid":""),value:d,onChange:this.handleOnChange}):d&&ae.createElement(l,{className:"body-param__example",language:m},d),ae.createElement("div",{className:"body-param-options"},r?ae.createElement("div",{className:"body-param-edit"},ae.createElement(i,{className:f?"btn cancel body-param__example-edit":"btn edit body-param__example-edit",onClick:this.toggleIsEditBox},f?"Cancel":"Edit")):null,ae.createElement("label",{htmlFor:g},ae.createElement("span",null,"Parameter content type"),ae.createElement(c,{value:p,contentTypes:h,onChange:e,className:"body-param-content-type",ariaLabel:"Parameter content type",controlId:g}))))}}class tj extends ae.Component{render(){const{request:e,getComponent:t}=this.props,r=uo(e),n=t("SyntaxHighlighter",!0);return ae.createElement("div",{className:"curl-command"},ae.createElement("h4",null,"Curl"),ae.createElement("div",{className:"copy-to-clipboard"},ae.createElement(vo.CopyToClipboard,{text:r},ae.createElement("button",null))),ae.createElement("div",null,ae.createElement(n,{language:"bash",className:"curl microlight",renderPlainText:({children:e,PlainTextViewer:t})=>ae.createElement(t,{className:"curl"},e)},r)))}}class rj extends ae.Component{static defaultProps={onTryoutClick:Function.prototype,onCancelClick:Function.prototype,onResetClick:Function.prototype,enabled:!1,hasUserEditedBody:!1,isOAS3:!1};render(){var{onTryoutClick:e,onCancelClick:t,onResetClick:r,enabled:n,hasUserEditedBody:s,isOAS3:o}=this.props,o=o&&s;return ae.createElement("div",{className:o?"try-out btn-group":"try-out"},n?ae.createElement("button",{className:"btn try-out__btn cancel",onClick:t},"Cancel"):ae.createElement("button",{className:"btn try-out__btn",onClick:e},"Try it out "),o&&ae.createElement("button",{className:"btn try-out__btn reset",onClick:r},"Reset"))}}class nj extends ae.PureComponent{static defaultProps={alsoShow:null,children:null,bypass:!1};render(){var{bypass:e,isSwagger2:t,isOAS3:r,alsoShow:n}=this.props;return e?ae.createElement("div",null,this.props.children):t&&r?ae.createElement("div",{className:"version-pragma"},n,ae.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},ae.createElement("div",null,ae.createElement("h3",null,"Unable to render this definition"),ae.createElement("p",null,ae.createElement("code",null,"swagger")," and ",ae.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),ae.createElement("p",null,"Supported version fields are ",ae.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",ae.createElement("code",null,"openapi: 3.0.n")," (for example, ",ae.createElement("code",null,"openapi: 3.0.0"),").")))):t||r?ae.createElement("div",null,this.props.children):ae.createElement("div",{className:"version-pragma"},n,ae.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},ae.createElement("div",null,ae.createElement("h3",null,"Unable to render this definition"),ae.createElement("p",null,"The provided definition does not specify a valid version field."),ae.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",ae.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",ae.createElement("code",null,"openapi: 3.0.n")," (for example, ",ae.createElement("code",null,"openapi: 3.0.0"),")."))))}}function sj(e){return(S3=S3||document.createElement("textarea")).innerHTML="&"+e+";",S3.value}var oj=Object.prototype.hasOwnProperty;function ij(r){return[].slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(e){r[e]=t[e]})}}),r}var aj=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function lj(e){return e.indexOf("\\")<0?e:e.replace(aj,"$1")}function cj(e){return!(55296<=e&&e<=57343)&&!(64976<=e&&e<=65007)&&65535&~e&&65534!=(65535&e)&&!(0<=e&&e<=8)&&11!==e&&!(14<=e&&e<=31)&&!(127<=e&&e<=159)&&!(1114111<e)}function uj(e){var t;return 65535<e?(t=55296+((e-=65536)>>10),String.fromCharCode(t,56320+(1023&e))):String.fromCharCode(e)}var pj=/&([a-z#][a-z0-9]{1,31});/gi,hj=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function dj(e,t){var r=0,n=sj(t);return t!==n?n:35===t.charCodeAt(0)&&hj.test(t)&&cj(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?uj(r):e}function fj(e){return e.indexOf("&")<0?e:e.replace(pj,dj)}var mj=/[&<>"]/,gj=/[&<>"]/g,yj={"&":"&","<":"<",">":">",'"':"""};function vj(e){return yj[e]}function bj(e){return mj.test(e)?e.replace(gj,vj):e}var g={};g.blockquote_open=function(){return"<blockquote>\n"},g.blockquote_close=function(e,t){return"</blockquote>"+wj(e,t)},g.code=function(e,t){return e[t].block?"<pre><code>"+bj(e[t].content)+"</code></pre>"+wj(e,t):"<code>"+bj(e[t].content)+"</code>"},g.fence=function(e,t,r,n,s){var o,i,a,l,c=e[t],u="",p=r.langPrefix;if(c.params){if(i=(o=c.params.split(/\s+/g)).join(" "),a=s.rules.fence_custom,l=o[0],a&&oj.call(a,l))return s.rules.fence_custom[o[0]](e,t,r,n,s);u=' class="'+p+bj(fj(lj(i)))+'"'}return"<pre><code"+u+">"+(r.highlight&&r.highlight.apply(r.highlight,[c.content].concat(o))||bj(c.content))+"</code></pre>"+wj(e,t)},g.fence_custom={},g.heading_open=function(e,t){return"<h"+e[t].hLevel+">"},g.heading_close=function(e,t){return"</h"+e[t].hLevel+">\n"},g.hr=function(e,t,r){return(r.xhtmlOut?"<hr />":"<hr>")+wj(e,t)},g.bullet_list_open=function(){return"<ul>\n"},g.bullet_list_close=function(e,t){return"</ul>"+wj(e,t)},g.list_item_open=function(){return"<li>"},g.list_item_close=function(){return"</li>\n"},g.ordered_list_open=function(e,t){e=e[t];return"<ol"+(1<e.order?' start="'+e.order+'"':"")+">\n"},g.ordered_list_close=function(e,t){return"</ol>"+wj(e,t)},g.paragraph_open=function(e,t){return e[t].tight?"":"<p>"},g.paragraph_close=function(e,t){var r=!(e[t].tight&&t&&"inline"===e[t-1].type&&!e[t-1].content);return(e[t].tight?"":"</p>")+(r?wj(e,t):"")},g.link_open=function(e,t,r){var n=e[t].title?' title="'+bj(fj(e[t].title))+'"':"",r=r.linkTarget?' target="'+r.linkTarget+'"':"";return'<a href="'+bj(e[t].href)+'"'+n+r+">"},g.link_close=function(){return"</a>"},g.image=function(e,t,r){var n=' src="'+bj(e[t].src)+'"',s=e[t].title?' title="'+bj(fj(e[t].title))+'"':"";return"<img"+n+' alt="'+(e[t].alt?bj(fj(lj(e[t].alt))):"")+'"'+s+(r.xhtmlOut?" /":"")+">"},g.table_open=function(){return"<table>\n"},g.table_close=function(){return"</table>\n"},g.thead_open=function(){return"<thead>\n"},g.thead_close=function(){return"</thead>\n"},g.tbody_open=function(){return"<tbody>\n"},g.tbody_close=function(){return"</tbody>\n"},g.tr_open=function(){return"<tr>"},g.tr_close=function(){return"</tr>\n"},g.th_open=function(e,t){e=e[t];return"<th"+(e.align?' style="text-align:'+e.align+'"':"")+">"},g.th_close=function(){return"</th>"},g.td_open=function(e,t){e=e[t];return"<td"+(e.align?' style="text-align:'+e.align+'"':"")+">"},g.td_close=function(){return"</td>"},g.strong_open=function(){return"<strong>"},g.strong_close=function(){return"</strong>"},g.em_open=function(){return"<em>"},g.em_close=function(){return"</em>"},g.del_open=function(){return"<del>"},g.del_close=function(){return"</del>"},g.ins_open=function(){return"<ins>"},g.ins_close=function(){return"</ins>"},g.mark_open=function(){return"<mark>"},g.mark_close=function(){return"</mark>"},g.sub=function(e,t){return"<sub>"+bj(e[t].content)+"</sub>"},g.sup=function(e,t){return"<sup>"+bj(e[t].content)+"</sup>"},g.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"},g.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},g.text=function(e,t){return bj(e[t].content)},g.htmlblock=function(e,t){return e[t].content},g.htmltag=function(e,t){return e[t].content},g.abbr_open=function(e,t){return'<abbr title="'+bj(fj(e[t].title))+'">'},g.abbr_close=function(){return"</abbr>"},g.footnote_ref=function(e,t){var r=Number(e[t].id+1).toString(),n="fnref"+r;return 0<e[t].subId&&(n+=":"+e[t].subId),'<sup class="footnote-ref"><a href="#fn'+r+'" id="'+n+'">['+r+"]</a></sup>"},g.footnote_block_open=function(e,t,r){return(r.xhtmlOut?'<hr class="footnotes-sep" />\n':'<hr class="footnotes-sep">\n')+'<section class="footnotes">\n<ol class="footnotes-list">\n'},g.footnote_block_close=function(){return"</ol>\n</section>\n"},g.footnote_open=function(e,t){return'<li id="fn'+Number(e[t].id+1).toString()+'" class="footnote-item">'},g.footnote_close=function(){return"</li>\n"},g.footnote_anchor=function(e,t){var r="fnref"+Number(e[t].id+1).toString();return 0<e[t].subId&&(r+=":"+e[t].subId),' <a href="#'+r+'" class="footnote-backref">↩</a>'},g.dl_open=function(){return"<dl>\n"},g.dt_open=function(){return"<dt>"},g.dd_open=function(){return"<dd>"},g.dl_close=function(){return"</dl>\n"},g.dt_close=function(){return"</dt>\n"},g.dd_close=function(){return"</dd>\n"};var wj=g.getBreak=function(e,t){return(t=function e(t,r){return++r>=t.length-2||"paragraph_open"!==t[r].type||!t[r].tight||"inline"!==t[r+1].type||0!==t[r+1].content.length||"paragraph_close"!==t[r+2].type||!t[r+2].tight?r:e(t,r+2)}(e,t))<e.length&&"list_item_close"===e[t].type?"":"\n"};function Ej(){this.rules=ij({},g),this.getBreak=g.getBreak}function xj(){this.__rules__=[],this.__cache__=null}function Sj(e,t,r,n,s){this.src=e,this.env=n,this.options=r,this.parser=t,this.tokens=s,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 _j(e,t){var r,n,s,o=-1,i=e.posMax,a=e.pos,l=e.isInLabel;if(e.isInLabel)return-1;if(e.labelUnmatchedScopes)return e.labelUnmatchedScopes--,-1;for(e.pos=t+1,e.isInLabel=!0,r=1;e.pos<i;){if(91===(s=e.src.charCodeAt(e.pos)))r++;else if(93===s&&0==--r){n=!0;break}e.parser.skipToken(e)}return n?(o=e.pos,e.labelUnmatchedScopes=0):e.labelUnmatchedScopes=r-1,e.pos=a,e.isInLabel=l,o}function kj(e){var t=fj(e);try{t=decodeURI(t)}catch(e){}return encodeURI(t)}function Aj(e,t){var r,n,s,o=t,i=e.posMax;if(60!==e.src.charCodeAt(t)){for(n=0;t<i&&32!==(r=e.src.charCodeAt(t))&&!(r<32||127===r);)if(92===r&&t+1<i)t+=2;else{if(40===r&&1<++n)break;if(41===r&&--n<0)break;t++}return o!==t&&(s=lj(e.src.slice(o,t)),e.parser.validateLink(s)&&(e.linkContent=s,e.pos=t,1))}for(t++;t<i;){if(10===(r=e.src.charCodeAt(t)))return;if(62===r)return s=kj(lj(e.src.slice(o+1,t))),e.parser.validateLink(s)&&(e.pos=t+1,e.linkContent=s,1);92===r&&t+1<i?t+=2:t++}}function Oj(e,t){var r,n=t,s=e.posMax,o=e.src.charCodeAt(t);if(34===o||39===o||40===o)for(t++,40===o&&(o=41);t<s;){if((r=e.src.charCodeAt(t))===o)return e.pos=t+1,e.linkContent=lj(e.src.slice(n+1,t)),1;92===r&&t+1<s?t+=2:t++}}function Cj(e){return e.trim().replace(/\s+/g," ").toUpperCase()}Ej.prototype.renderInline=function(e,t,r){for(var n=this.rules,s=e.length,o=0,i="";s--;)i+=n[e[o].type](e,o++,t,r,this);return i},Ej.prototype.render=function(e,t,r){for(var n=this.rules,s=e.length,o=-1,i="";++o<s;)"inline"===e[o].type?i+=this.renderInline(e[o].children,t,r):i+=n[e[o].type](e,o,t,r,this);return i},xj.prototype.__find__=function(e){for(var t=this.__rules__.length,r=-1;t--;)if(this.__rules__[++r].name===e)return r;return-1},xj.prototype.__compile__=function(){var r=this,t=[""];r.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),r.__cache__={},t.forEach(function(t){r.__cache__[t]=[],r.__rules__.forEach(function(e){!e.enabled||t&&e.alt.indexOf(t)<0||r.__cache__[t].push(e.fn)})})},xj.prototype.at=function(e,t,r){var n=this.__find__(e),r=r||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=r.alt||[],this.__cache__=null},xj.prototype.before=function(e,t,r,n){var s=this.__find__(e),n=n||{};if(-1===s)throw new Error("Parser rule not found: "+e);this.__rules__.splice(s,0,{name:t,enabled:!0,fn:r,alt:n.alt||[]}),this.__cache__=null},xj.prototype.after=function(e,t,r,n){var s=this.__find__(e),n=n||{};if(-1===s)throw new Error("Parser rule not found: "+e);this.__rules__.splice(s+1,0,{name:t,enabled:!0,fn:r,alt:n.alt||[]}),this.__cache__=null},xj.prototype.push=function(e,t,r){this.__rules__.push({name:e,enabled:!0,fn:t,alt:(r||{}).alt||[]}),this.__cache__=null},xj.prototype.enable=function(e,t){e=Array.isArray(e)?e:[e],t&&this.__rules__.forEach(function(e){e.enabled=!1}),e.forEach(function(e){var t=this.__find__(e);if(t<0)throw new Error("Rules manager: invalid rule name "+e);this.__rules__[t].enabled=!0},this),this.__cache__=null},xj.prototype.disable=function(e){(e=Array.isArray(e)?e:[e]).forEach(function(e){var t=this.__find__(e);if(t<0)throw new Error("Rules manager: invalid rule name "+e);this.__rules__[t].enabled=!1},this),this.__cache__=null},xj.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},Sj.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},Sj.prototype.push=function(e){this.pending&&this.pushPending(),this.tokens.push(e),this.pendingLevel=this.level},Sj.prototype.cacheSet=function(e,t){for(var r=this.cache.length;r<=e;r++)this.cache.push(0);this.cache[e]=t},Sj.prototype.cacheGet=function(e){return e<this.cache.length?this.cache[e]:0};var jj=" \n()[]'\".,!?-";function Pj(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}var Nj=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Ij=/\((c|tm|r|p)\)/gi,Tj={c:"©",r:"®",p:"§",tm:"™"};var Mj=/['"]/,Rj=/['"]/g,Dj=/[-\s()\[\]]/;function Lj(e,t){return!(t<0||t>=e.length||Dj.test(e[t]))}function Fj(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}var Bj=[["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 t,r,n,s,o=e.tokens;if(!e.inlineMode)for(r=o.length-(t=1);t<r;t++)if("paragraph_open"===o[t-1].type&&"inline"===o[t].type&&"paragraph_close"===o[t+1].type){for(n=o[t].content;n.length&&!((s=function(e,t,r,n){var s,o,i;if(42!==e.charCodeAt(0))return-1;if(91!==e.charCodeAt(1))return-1;if(-1===e.indexOf("]:"))return-1;if((t=_j(s=new Sj(e,t,r,n,[]),1))<0||58!==e.charCodeAt(t+1))return-1;for(i=s.posMax,o=t+2;o<i&&10!==s.src.charCodeAt(o);o++);return r=e.slice(2,t),0===(e=e.slice(t+2,o).trim()).length?-1:(n.abbreviations||(n.abbreviations={}),void 0===n.abbreviations[":"+r]&&(n.abbreviations[":"+r]=e),o)}(n,e.inline,e.options,e.env))<0);)n=n.slice(s).trim();(o[t].content=n).length||(o[t-1].tight=!0,o[t+1].tight=!0)}}],["references",function(e){var t,r,n,s,o=e.tokens;if(e.env.references=e.env.references||{},!e.inlineMode)for(r=o.length-(t=1);t<r;t++)if("inline"===o[t].type&&"paragraph_open"===o[t-1].type&&"paragraph_close"===o[t+1].type){for(n=o[t].content;n.length&&!((s=function(e,t,r,n){var s,o,i,a,l,c;if(91!==e.charCodeAt(0))return-1;if(-1===e.indexOf("]:"))return-1;if((t=_j(s=new Sj(e,t,r,n,[]),0))<0||58!==e.charCodeAt(t+1))return-1;for(i=s.posMax,o=t+2;o<i&&(32===(a=s.src.charCodeAt(o))||10===a);o++);if(!Aj(s,o))return-1;for(r=s.linkContent,c=o=s.pos,o+=1;o<i&&(32===(a=s.src.charCodeAt(o))||10===a);o++);for(o=o<i&&c!==o&&Oj(s,o)?(l=s.linkContent,s.pos):(l="",c);o<i&&32===s.src.charCodeAt(o);)o++;return o<i&&10!==s.src.charCodeAt(o)?-1:(c=Cj(e.slice(1,t)),void 0===n.references[c]&&(n.references[c]={title:l,href:r}),o)}(n,e.inline,e.options,e.env))<0);)n=n.slice(s).trim();(o[t].content=n).length||(o[t-1].tight=!0,o[t+1].tight=!0)}}],["inline",function(e){for(var t,r=e.tokens,n=0,s=r.length;n<s;n++)"inline"===(t=r[n]).type&&e.inline.parse(t.content,e.options,e.env,t.children)}],["footnote_tail",function(e){var t,r,n,s,o,i,a,l,c,u=0,p=!1,h={};if(e.env.footnotes&&(e.tokens=e.tokens.filter(function(e){return"footnote_reference_open"===e.type?(p=!0,l=[],c=e.label,!1):"footnote_reference_close"===e.type?(p=!1,h[":"+c]=l,!1):(p&&l.push(e),!p)}),e.env.footnotes.list)){for(i=e.env.footnotes.list,e.tokens.push({type:"footnote_block_open",level:u++}),t=0,r=i.length;t<r;t++){for(e.tokens.push({type:"footnote_open",id:t,level:u++}),i[t].tokens?((a=[]).push({type:"paragraph_open",tight:!1,level:u++}),a.push({type:"inline",content:"",level:u,children:i[t].tokens}),a.push({type:"paragraph_close",tight:!1,level:--u})):i[t].label&&(a=h[":"+i[t].label]),e.tokens=e.tokens.concat(a),o="paragraph_close"===e.tokens[e.tokens.length-1].type?e.tokens.pop():null,s=0<i[t].count?i[t].count:1,n=0;n<s;n++)e.tokens.push({type:"footnote_anchor",id:t,subId:n,level:u});o&&e.tokens.push(o),e.tokens.push({type:"footnote_close",level:--u})}e.tokens.push({type:"footnote_block_close",level:--u})}}],["abbr2",function(e){var t,r,n,s,o,i,a,l,c,u,p,h,d=e.tokens;if(e.env.abbreviations)for(e.env.abbrRegExp||(h="(^|["+jj.split("").map(Pj).join("")+"])("+Object.keys(e.env.abbreviations).map(function(e){return e.substr(1)}).sort(function(e,t){return t.length-e.length}).map(Pj).join("|")+")($|["+jj.split("").map(Pj).join("")+"])",e.env.abbrRegExp=new RegExp(h,"g")),u=e.env.abbrRegExp,r=0,n=d.length;r<n;r++)if("inline"===d[r].type)for(t=(s=d[r].children).length-1;0<=t;t--)if("text"===(o=s[t]).type){for(i=o.content,u.lastIndex=l=0,c=o.level,a=[];p=u.exec(i);)u.lastIndex>l&&a.push({type:"text",content:i.slice(l,p.index+p[1].length),level:c}),a.push({type:"abbr_open",title:e.env.abbreviations[":"+p[2]],level:c++}),a.push({type:"text",content:p[2],level:c}),a.push({type:"abbr_close",level:--c}),l=u.lastIndex-p[3].length;a.length&&(l<i.length&&a.push({type:"text",content:i.slice(l),level:c}),d[r].children=s=[].concat(s.slice(0,t),a,s.slice(t+1)))}}],["replacements",function(e){var t,r,n,s,o,i;if(e.options.typographer)for(o=e.tokens.length-1;0<=o;o--)if("inline"===e.tokens[o].type)for(t=(s=e.tokens[o].children).length-1;0<=t;t--)"text"===(r=s[t]).type&&(n=(i=n=r.content).indexOf("(")<0?i:i.replace(Ij,function(e,t){return Tj[t.toLowerCase()]}),Nj.test(n)&&(n=n.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")),r.content=n)}],["smartquotes",function(e){var t,r,n,s,o,i,a,l,c,u,p,h,d,f,m;if(e.options.typographer)for(m=[],d=e.tokens.length-1;0<=d;d--)if("inline"===e.tokens[d].type)for(f=e.tokens[d].children,t=m.length=0;t<f.length;t++)if("text"===(r=f[t]).type&&!Mj.test(r.text)){for(a=f[t].level,p=m.length-1;0<=p&&!(m[p].level<=a);p--);m.length=p+1,o=0,i=(n=r.content).length;e:for(;o<i&&(Rj.lastIndex=o,s=Rj.exec(n));)if(u=!Lj(n,s.index-1),o=s.index+1,h="'"===s[0],(c=!Lj(n,o))||u){if(c=!c,u=!u)for(p=m.length-1;0<=p&&(l=m[p],!(m[p].level<a));p--)if(l.single===h&&m[p].level===a){l=m[p],h?(f[l.token].content=Fj(f[l.token].content,l.pos,e.options.quotes[2]),r.content=Fj(r.content,s.index,e.options.quotes[3])):(f[l.token].content=Fj(f[l.token].content,l.pos,e.options.quotes[0]),r.content=Fj(r.content,s.index,e.options.quotes[1])),m.length=p;continue e}c?m.push({token:t,pos:s.index,single:h,level:a}):u&&h&&(r.content=Fj(r.content,s.index,"’"))}else h&&(r.content=Fj(r.content,s.index,"’"))}}]];function $j(){this.options={},this.ruler=new xj;for(var e=0;e<Bj.length;e++)this.ruler.push(Bj[e][0],Bj[e][1])}function qj(e,t,r,n,s){var o,i,a,l,c,u,p;for(this.src=e,this.parser=t,this.options=r,this.env=n,this.tokens=s,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="",p=!1,a=l=u=u=0,c=(i=this.src).length;l<c;l++){if(o=i.charCodeAt(l),!p){if(32===o){u++;continue}p=!0}10!==o&&l!==c-1||(10!==o&&l++,this.bMarks.push(a),this.eMarks.push(l),this.tShift.push(u),p=!1,u=0,a=l+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}function Uj(e,t){var r,n;return(n=e.bMarks[t]+e.tShift[t])>=(t=e.eMarks[t])||42!==(r=e.src.charCodeAt(n++))&&45!==r&&43!==r||n<t&&32!==e.src.charCodeAt(n)?-1:n}function zj(e,t){var r,n=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(s<=n+1)return-1;if((r=e.src.charCodeAt(n++))<48||57<r)return-1;for(;;){if(s<=n)return-1;if(!(48<=(r=e.src.charCodeAt(n++))&&r<=57)){if(41===r||46===r)break;return-1}}return n<s&&32!==e.src.charCodeAt(n)?-1:n}$j.prototype.process=function(e){for(var t,r=0,n=(t=this.ruler.getRules("")).length;r<n;r++)t[r](e)},qj.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},qj.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},qj.prototype.skipSpaces=function(e){for(var t=this.src.length;e<t&&32===this.src.charCodeAt(e);e++);return e},qj.prototype.skipChars=function(e,t){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},qj.prototype.skipCharsBack=function(e,t,r){if(e<=r)return e;for(;r<e;)if(t!==this.src.charCodeAt(--e))return e+1;return e},qj.prototype.getLines=function(e,t,r,n){var s,o,i,a,l,c=e;if(t<=e)return"";if(c+1===t)return o=this.bMarks[c]+Math.min(this.tShift[c],r),i=n?this.eMarks[c]+1:this.eMarks[c],this.src.slice(o,i);for(a=new Array(t-e),s=0;c<t;c++,s++)(l=this.tShift[c])>r&&(l=r),o=this.bMarks[c]+(l=l<0?0:l),i=c+1<t||n?this.eMarks[c]+1:this.eMarks[c],a[s]=this.src.slice(o,i);return a.join("")};var Vj={},Kj=(["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(e){Vj[e]=!0}),/^<([a-zA-Z]{1,15})[\s\/>]/),Wj=/^<\/([a-zA-Z]{1,15})[\s>]/;function Jj(e,t){var r=e.bMarks[t]+e.blkIndent,t=e.eMarks[t];return e.src.substr(r,t-r)}function Hj(e,t){var r,n=e.bMarks[t]+e.tShift[t],t=e.eMarks[t];return t<=n||126!==(r=e.src.charCodeAt(n++))&&58!==r||n===(r=e.skipSpaces(n))||t<=r?-1:r}var Gj=[["code",function(e,t,r){var n,s;if(e.tShift[t]-e.blkIndent<4)return!1;for(s=n=t+1;n<r;)if(e.isEmpty(n))n++;else{if(!(4<=e.tShift[n]-e.blkIndent))break;s=++n}return e.line=n,e.tokens.push({type:"code",content:e.getLines(t,s,4+e.blkIndent,!0),block:!0,lines:[t,e.line],level:e.level}),!0}],["fences",function(e,t,r,n){var s,o,i,a,l,c=!1,u=e.bMarks[t]+e.tShift[t],p=e.eMarks[t];if(p<u+3)return!1;if(126!==(s=e.src.charCodeAt(u))&&96!==s)return!1;if(l=u,(o=(u=e.skipChars(u,s))-l)<3)return!1;if(0<=(i=e.src.slice(u,p).trim()).indexOf("`"))return!1;if(n)return!0;for(a=t;!(++a>=r||(u=l=e.bMarks[a]+e.tShift[a])<(p=e.eMarks[a])&&e.tShift[a]<e.blkIndent);)if(e.src.charCodeAt(u)===s&&!(4<=e.tShift[a]-e.blkIndent||(u=e.skipChars(u,s))-l<o||(u=e.skipSpaces(u))<p)){c=!0;break}return o=e.tShift[t],e.line=a+(c?1:0),e.tokens.push({type:"fence",params:i,content:e.getLines(t+1,a,o,!0),lines:[t,e.line],level:e.level}),!0},["paragraph","blockquote","list"]],["blockquote",function(e,t,r,n){var s,o,i,a,l,c,u,p,h,d,f=e.bMarks[t]+e.tShift[t],m=e.eMarks[t];if(m<f)return!1;if(62!==e.src.charCodeAt(f++))return!1;if(e.level>=e.options.maxNesting)return!1;if(n)return!0;for(32===e.src.charCodeAt(f)&&f++,n=e.blkIndent,e.blkIndent=0,a=[e.bMarks[t]],o=(f=(e.bMarks[t]=f)<m?e.skipSpaces(f):f)>=m,i=[e.tShift[t]],e.tShift[t]=f-e.bMarks[t],u=e.parser.ruler.getRules("blockquote"),s=t+1;s<r&&!((f=e.bMarks[s]+e.tShift[s])>=(m=e.eMarks[s]));s++)if(62!==e.src.charCodeAt(f++)){if(o)break;for(d=!1,p=0,h=u.length;p<h;p++)if(u[p](e,s,r,!0)){d=!0;break}if(d)break;a.push(e.bMarks[s]),i.push(e.tShift[s]),e.tShift[s]=-1337}else 32===e.src.charCodeAt(f)&&f++,a.push(e.bMarks[s]),o=(f=(e.bMarks[s]=f)<m?e.skipSpaces(f):f)>=m,i.push(e.tShift[s]),e.tShift[s]=f-e.bMarks[s];for(l=e.parentType,e.parentType="blockquote",e.tokens.push({type:"blockquote_open",lines:c=[t,0],level:e.level++}),e.parser.tokenize(e,t,s),e.tokens.push({type:"blockquote_close",level:--e.level}),e.parentType=l,c[1]=e.line,p=0;p<i.length;p++)e.bMarks[p+t]=a[p],e.tShift[p+t]=i[p];return e.blkIndent=n,!0},["paragraph","blockquote","list"]],["hr",function(e,t,r,n){var s,o,i,a=e.bMarks[t],l=e.eMarks[t];if((a+=e.tShift[t])>l)return!1;if(42!==(s=e.src.charCodeAt(a++))&&45!==s&&95!==s)return!1;for(o=1;a<l;){if((i=e.src.charCodeAt(a++))!==s&&32!==i)return!1;i===s&&o++}return!(o<3||(n||(e.line=t+1,e.tokens.push({type:"hr",lines:[t,e.line],level:e.level})),0))},["paragraph","blockquote","list"]],["list",function(e,t,r,n){var s,o,i,a,l,c,u,p,h,d,f,m,g,y,v,b,w=!0;if(0<=(c=zj(e,t)))h=!0;else{if(!(0<=(c=Uj(e,t))))return!1;h=!1}if(e.level>=e.options.maxNesting)return!1;if(p=e.src.charCodeAt(c-1),n)return!0;for(n=e.tokens.length,h?(x=e.bMarks[t]+e.tShift[t],x=Number(e.src.substr(x,c-x-1)),e.tokens.push({type:"ordered_list_open",order:x,lines:x=[t,0],level:e.level++})):e.tokens.push({type:"bullet_list_open",lines:x=[t,0],level:e.level++}),s=t,f=!1,g=e.parser.ruler.getRules("list");!(!(s<r)||(4<(u=(d=e.skipSpaces(c))>=e.eMarks[s]?1:d-c)&&(u=1),u=c-e.bMarks[s]+(u=u<1?1:u),e.tokens.push({type:"list_item_open",lines:m=[t,0],level:e.level++}),i=e.blkIndent,a=e.tight,o=e.tShift[t],l=e.parentType,e.tShift[t]=d-e.bMarks[t],e.blkIndent=u,e.tight=!0,e.parentType="list",e.parser.tokenize(e,t,r,!0),e.tight&&!f||(w=!1),f=1<e.line-t&&e.isEmpty(e.line-1),e.blkIndent=i,e.tShift[t]=o,e.tight=a,e.parentType=l,e.tokens.push({type:"list_item_close",level:--e.level}),s=t=e.line,m[1]=s,d=e.bMarks[t],r<=s)||e.isEmpty(s)||e.tShift[s]<e.blkIndent);){for(b=!1,y=0,v=g.length;y<v;y++)if(g[y](e,s,r,!0)){b=!0;break}if(b)break;if(h){if((c=zj(e,s))<0)break}else if((c=Uj(e,s))<0)break;if(p!==e.src.charCodeAt(c-1))break}if(e.tokens.push({type:h?"ordered_list_close":"bullet_list_close",level:--e.level}),x[1]=s,e.line=s,w)for(var E=e,x=n,S=E.level+2,_=x+2,k=E.tokens.length-2;_<k;_++)E.tokens[_].level===S&&"paragraph_open"===E.tokens[_].type&&(E.tokens[_+2].tight=!0,E.tokens[_].tight=!0,_+=2);return!0},["paragraph","blockquote"]],["footnote",function(e,t,r,n){var s,o,i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(a<i+4)return!1;if(91!==e.src.charCodeAt(i))return!1;if(94!==e.src.charCodeAt(i+1))return!1;if(e.level>=e.options.maxNesting)return!1;for(o=i+2;o<a;o++){if(32===e.src.charCodeAt(o))return!1;if(93===e.src.charCodeAt(o))break}return!(o===i+2||a<=o+1||58!==e.src.charCodeAt(++o)||(n||(o++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),n=e.src.slice(i+2,o-2),e.env.footnotes.refs[":"+n]=-1,e.tokens.push({type:"footnote_reference_open",label:n,level:e.level++}),i=e.bMarks[t],n=e.tShift[t],s=e.parentType,e.tShift[t]=e.skipSpaces(o)-o,e.bMarks[t]=o,e.blkIndent+=4,e.parentType="footnote",e.tShift[t]<e.blkIndent&&(e.tShift[t]+=e.blkIndent,e.bMarks[t]-=e.blkIndent),e.parser.tokenize(e,t,r,!0),e.parentType=s,e.blkIndent-=4,e.tShift[t]=n,e.bMarks[t]=i,e.tokens.push({type:"footnote_reference_close",level:--e.level})),0))},["paragraph"]],["heading",function(e,t,r,n){var s,o,i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(a<=i)return!1;if(35!==(s=e.src.charCodeAt(i))||a<=i)return!1;for(o=1,s=e.src.charCodeAt(++i);35===s&&i<a&&o<=6;)o++,s=e.src.charCodeAt(++i);return!(6<o||i<a&&32!==s||(n||(a=e.skipCharsBack(a,32,i),(n=e.skipCharsBack(a,35,i))>i&&32===e.src.charCodeAt(n-1)&&(a=n),e.line=t+1,e.tokens.push({type:"heading_open",hLevel:o,lines:[t,e.line],level:e.level}),i<a&&e.tokens.push({type:"inline",content:e.src.slice(i,a).trim(),level:e.level+1,lines:[t,e.line],children:[]}),e.tokens.push({type:"heading_close",hLevel:o,level:e.level})),0))},["paragraph","blockquote"]],["lheading",function(e,t,r){var n,s,o=t+1;return!(r<=o||e.tShift[o]<e.blkIndent||3<e.tShift[o]-e.blkIndent||(r=e.bMarks[o]+e.tShift[o])>=(s=e.eMarks[o])||45!==(n=e.src.charCodeAt(r))&&61!==n||(r=e.skipChars(r,n),(r=e.skipSpaces(r))<s||(r=e.bMarks[t]+e.tShift[t],e.line=o+1,e.tokens.push({type:"heading_open",hLevel:61===n?1:2,lines:[t,e.line],level:e.level}),e.tokens.push({type:"inline",content:e.src.slice(r,e.eMarks[t]).trim(),level:e.level+1,lines:[t,e.line-1],children:[]}),e.tokens.push({type:"heading_close",hLevel:61===n?1:2,level:e.level}),0)))}],["htmlblock",function(e,t,r,n){var s,o,i=e.bMarks[t],a=e.eMarks[t],l=e.tShift[t];if(i+=l,!e.options.html)return!1;if(3<l||a<=i+2)return!1;if(60!==e.src.charCodeAt(i))return!1;if(33===(l=e.src.charCodeAt(i+1))||63===l){if(n)return!0}else{if(47!==l&&!function(e){e|=32;return 97<=e&&e<=122}(l))return!1;if(47===l){if(!(s=e.src.slice(i,a).match(Wj)))return!1}else if(!(s=e.src.slice(i,a).match(Kj)))return!1;if(!0!==Vj[s[1].toLowerCase()])return!1;if(n)return!0}for(o=t+1;o<e.lineMax&&!e.isEmpty(o);)o++;return e.line=o,e.tokens.push({type:"htmlblock",level:e.level,lines:[t,e.line],content:e.getLines(t,o,0,!0)}),!0},["paragraph","blockquote"]],["table",function(e,t,r,n){var s,o,i,a,l,c,u,p;if(r<t+2)return!1;if(e.tShift[i=t+1]<e.blkIndent)return!1;if((p=e.bMarks[i]+e.tShift[i])>=e.eMarks[i])return!1;if(124!==(p=e.src.charCodeAt(p))&&45!==p&&58!==p)return!1;if(s=Jj(e,t+1),!/^[-:| ]+$/.test(s))return!1;if((a=s.split("|"))<=2)return!1;for(c=[],o=0;o<a.length;o++){if(!(u=a[o].trim())){if(0===o||o===a.length-1)continue;return!1}if(!/^:?-+:?$/.test(u))return!1;58===u.charCodeAt(u.length-1)?c.push(58===u.charCodeAt(0)?"center":"right"):58===u.charCodeAt(0)?c.push("left"):c.push("")}if(-1===(s=Jj(e,t).trim()).indexOf("|"))return!1;if(a=s.replace(/^\||\|$/g,"").split("|"),c.length!==a.length)return!1;if(n)return!0;for(e.tokens.push({type:"table_open",lines:p=[t,0],level:e.level++}),e.tokens.push({type:"thead_open",lines:[t,t+1],level:e.level++}),e.tokens.push({type:"tr_open",lines:[t,t+1],level:e.level++}),o=0;o<a.length;o++)e.tokens.push({type:"th_open",align:c[o],lines:[t,t+1],level:e.level++}),e.tokens.push({type:"inline",content:a[o].trim(),lines:[t,t+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:n=[t+2,0],level:e.level++}),i=t+2;i<r&&!(e.tShift[i]<e.blkIndent)&&-1!==(s=Jj(e,i).trim()).indexOf("|");i++){for(a=s.replace(/^\||\|$/g,"").split("|"),e.tokens.push({type:"tr_open",level:e.level++}),o=0;o<a.length;o++)e.tokens.push({type:"td_open",align:c[o],level:e.level++}),l=a[o].substring(124===a[o].charCodeAt(0)?1:0,124===a[o].charCodeAt(a[o].length-1)?a[o].length-1:a[o].length).trim(),e.tokens.push({type:"inline",content:l,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}),p[1]=n[1]=i,e.line=i,!0},["paragraph"]],["deflist",function(e,t,r,n){var s,o,i,a,l,c,u,p,h,d,f,m,g;if(n)return!(e.ddIndent<0)&&0<=Hj(e,t);if(e.isEmpty(c=t+1)&&++c>r)return!1;if(e.tShift[c]<e.blkIndent)return!1;if((s=Hj(e,c))<0)return!1;if(e.level>=e.options.maxNesting)return!1;n=e.tokens.length,e.tokens.push({type:"dl_open",lines:l=[t,0],level:e.level++}),i=t,o=c;e:for(;;){for(m=!(g=!0),e.tokens.push({type:"dt_open",lines:[i,i],level:e.level++}),e.tokens.push({type:"inline",content:e.getLines(i,i+1,e.blkIndent,!1).trim(),level:e.level+1,lines:[i,i],children:[]}),e.tokens.push({type:"dt_close",level:--e.level});;){if(e.tokens.push({type:"dd_open",lines:a=[c,0],level:e.level++}),f=e.tight,p=e.ddIndent,u=e.blkIndent,d=e.tShift[o],h=e.parentType,e.blkIndent=e.ddIndent=e.tShift[o]+2,e.tShift[o]=s-e.bMarks[o],e.tight=!0,e.parentType="deflist",e.parser.tokenize(e,o,r,!0),e.tight&&!m||(g=!1),m=1<e.line-o&&e.isEmpty(e.line-1),e.tShift[o]=d,e.tight=f,e.parentType=h,e.blkIndent=u,e.ddIndent=p,e.tokens.push({type:"dd_close",level:--e.level}),a[1]=c=e.line,r<=c)break e;if(e.tShift[c]<e.blkIndent)break e;if((s=Hj(e,c))<0)break;o=c}if(r<=c)break;if(i=c,e.isEmpty(i))break;if(e.tShift[i]<e.blkIndent)break;if((o=i+1)>=r)break;if(e.isEmpty(o)&&o++,r<=o)break;if(e.tShift[o]<e.blkIndent)break;if((s=Hj(e,o))<0)break}if(e.tokens.push({type:"dl_close",level:--e.level}),l[1]=c,e.line=c,g)for(var y=e,v=y.level+2,b=(t=n)+2,w=y.tokens.length-2;b<w;b++)y.tokens[b].level===v&&"paragraph_open"===y.tokens[b].type&&(y.tokens[b+2].tight=!0,y.tokens[b].tight=!0,b+=2);return!0},["paragraph"]],["paragraph",function(e,t){var r,n,s,o,i,a,l=t+1;if(l<(r=e.lineMax)&&!e.isEmpty(l))for(a=e.parser.ruler.getRules("paragraph");l<r&&!e.isEmpty(l);l++)if(!(3<e.tShift[l]-e.blkIndent)){for(s=!1,o=0,i=a.length;o<i;o++)if(a[o](e,l,r,!0)){s=!0;break}if(s)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,n.length&&(e.tokens.push({type:"paragraph_open",tight:!1,lines:[t,e.line],level:e.level}),e.tokens.push({type:"inline",content:n,level:e.level+1,lines:[t,e.line],children:[]}),e.tokens.push({type:"paragraph_close",tight:!1,level:e.level})),!0}]];function Yj(){this.ruler=new xj;for(var e=0;e<Gj.length;e++)this.ruler.push(Gj[e][0],Gj[e][1],{alt:(Gj[e][2]||[]).slice()})}Yj.prototype.tokenize=function(e,t,r){for(var n,s=this.ruler.getRules(""),o=s.length,i=t,a=!1;i<r&&(e.line=i=e.skipEmptyLines(i),!(r<=i))&&!(e.tShift[i]<e.blkIndent);){for(n=0;n<o&&!s[n](e,i,r,!1);n++);if(e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),(i=e.line)<r&&e.isEmpty(i)){if(a=!0,++i<r&&"list"===e.parentType&&e.isEmpty(i))break;e.line=i}}};var Xj=/[\n\t]/g,Qj=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,Zj=/\u00a0/g;Yj.prototype.parse=function(r,e,t,n){var s=0,o=0;if(!r)return[];e=new qj(r=0<=(r=(r=r.replace(Zj," ")).replace(Qj,"\n")).indexOf("\t")?r.replace(Xj,function(e,t){return 10===r.charCodeAt(t)?(s=t+1,o=0,e):(e=" ".slice((t-s-o)%4),o=t-s+1,e)}):r,this,e,t,n),this.tokenize(e,e.line,e.lineMax)};for(var e6=[],t6=0;t6<256;t6++)e6.push(0);function r6(e){return 48<=e&&e<=57||65<=e&&e<=90||97<=e&&e<=122}function n6(e,t){for(var r,n=t,s=!0,o=!0,i=e.posMax,a=e.src.charCodeAt(t),l=0<t?e.src.charCodeAt(t-1):-1;n<i&&e.src.charCodeAt(n)===a;)n++;return i<=n&&(s=!1),4<=(t=n-t)?s=o=!1:(32!==(r=n<i?e.src.charCodeAt(n):-1)&&10!==r||(s=!1),32!==l&&10!==l||(o=!1),95===a&&(r6(l)&&(s=!1),r6(r)&&(o=!1))),{can_open:s,can_close:o,delims:t}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){e6[e.charCodeAt(0)]=1});var s6=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,o6=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,i6=["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"],a6=/^<([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])?)*)>/,l6=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function c6(n,s){return n=n.source,s=s||"",function e(t,r){return t?(r=r.source||r,n=n.replace(t,r),e):new RegExp(n,s)}}var Tn=c6(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",/[^"'=<>`\x00-\x20]+/)("single_quoted",/'[^']*'/)("double_quoted",/"[^"]*"/)(),qr=c6(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",/[a-zA-Z_:][a-zA-Z0-9:._-]*/)("attr_value",Tn)(),Kb=c6(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",qr)(),u6=c6(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",Kb)("close_tag",/<\/[A-Za-z][A-Za-z0-9]*\s*>/)("comment",/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/)("processing",/<[?].*?[?]>/)("declaration",/<![A-Z]+\s+[^>]*>/)("cdata",/<!\[CDATA\[[\s\S]*?\]\]>/)(),p6=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,h6=/^&([a-z][a-z0-9]{1,31});/i,d6=[["text",function(e,t){for(var r=e.pos;r<e.posMax&&!function(e){switch(e){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return 1;default:return}}(e.src.charCodeAt(r));)r++;return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}],["newline",function(e,t){var r,n,s=e.pos;if(10!==e.src.charCodeAt(s))return!1;if(r=e.pending.length-1,n=e.posMax,!t)if(0<=r&&32===e.pending.charCodeAt(r))if(1<=r&&32===e.pending.charCodeAt(r-1)){for(var o=r-2;0<=o;o--)if(32!==e.pending.charCodeAt(o)){e.pending=e.pending.substring(0,o+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(s++;s<n&&32===e.src.charCodeAt(s);)s++;return e.pos=s,!0}],["escape",function(e,t){var r,n=e.pos,s=e.posMax;if(92!==e.src.charCodeAt(n))return!1;if(++n<s){if((r=e.src.charCodeAt(n))<256&&0!==e6[r])return t||(e.pending+=e.src[n]),e.pos+=2,!0;if(10===r){for(t||e.push({type:"hardbreak",level:e.level}),n++;n<s&&32===e.src.charCodeAt(n);)n++;return e.pos=n,!0}}return t||(e.pending+="\\"),e.pos++,!0}],["backticks",function(e,t){var r,n,s,o,i,a=e.pos;if(96!==e.src.charCodeAt(a))return!1;for(r=a,a++,n=e.posMax;a<n&&96===e.src.charCodeAt(a);)a++;for(s=e.src.slice(r,a),i=a;-1!==(o=e.src.indexOf("`",i));){for(i=o+1;i<n&&96===e.src.charCodeAt(i);)i++;if(i-o===s.length)return t||e.push({type:"code",content:e.src.slice(a,o).replace(/[ \n]+/g," ").trim(),block:!1,level:e.level}),e.pos=i,!0}return t||(e.pending+=s),e.pos+=s.length,!0}],["del",function(e,t){var r,n,s,o,i,a=e.posMax,l=e.pos;if(126!==e.src.charCodeAt(l))return!1;if(t)return!1;if(a<=l+4)return!1;if(126!==e.src.charCodeAt(l+1))return!1;if(e.level>=e.options.maxNesting)return!1;if(o=0<l?e.src.charCodeAt(l-1):-1,i=e.src.charCodeAt(l+2),126===o)return!1;if(126===i)return!1;if(32===i||10===i)return!1;for(n=l+2;n<a&&126===e.src.charCodeAt(n);)n++;if(l+3<n)return e.pos+=n-l,t||(e.pending+=e.src.slice(l,n)),!0;for(e.pos=l+2,s=1;e.pos+1<a;){if(126===e.src.charCodeAt(e.pos)&&126===e.src.charCodeAt(e.pos+1)&&(o=e.src.charCodeAt(e.pos-1),126!==(i=e.pos+2<a?e.src.charCodeAt(e.pos+2):-1)&&126!==o&&(32!==o&&10!==o?s--:32!==i&&10!==i&&s++,s<=0))){r=!0;break}e.parser.skipToken(e)}return r?(e.posMax=e.pos,e.pos=l+2,t||(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=a,!0):(e.pos=l,!1)}],["ins",function(e,t){var r,n,s,o,i,a=e.posMax,l=e.pos;if(43!==e.src.charCodeAt(l))return!1;if(t)return!1;if(a<=l+4)return!1;if(43!==e.src.charCodeAt(l+1))return!1;if(e.level>=e.options.maxNesting)return!1;if(o=0<l?e.src.charCodeAt(l-1):-1,i=e.src.charCodeAt(l+2),43===o)return!1;if(43===i)return!1;if(32===i||10===i)return!1;for(n=l+2;n<a&&43===e.src.charCodeAt(n);)n++;if(n!==l+2)return e.pos+=n-l,t||(e.pending+=e.src.slice(l,n)),!0;for(e.pos=l+2,s=1;e.pos+1<a;){if(43===e.src.charCodeAt(e.pos)&&43===e.src.charCodeAt(e.pos+1)&&(o=e.src.charCodeAt(e.pos-1),43!==(i=e.pos+2<a?e.src.charCodeAt(e.pos+2):-1)&&43!==o&&(32!==o&&10!==o?s--:32!==i&&10!==i&&s++,s<=0))){r=!0;break}e.parser.skipToken(e)}return r?(e.posMax=e.pos,e.pos=l+2,t||(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=a,!0):(e.pos=l,!1)}],["mark",function(e,t){var r,n,s,o,i,a=e.posMax,l=e.pos;if(61!==e.src.charCodeAt(l))return!1;if(t)return!1;if(a<=l+4)return!1;if(61!==e.src.charCodeAt(l+1))return!1;if(e.level>=e.options.maxNesting)return!1;if(o=0<l?e.src.charCodeAt(l-1):-1,i=e.src.charCodeAt(l+2),61===o)return!1;if(61===i)return!1;if(32===i||10===i)return!1;for(n=l+2;n<a&&61===e.src.charCodeAt(n);)n++;if(n!==l+2)return e.pos+=n-l,t||(e.pending+=e.src.slice(l,n)),!0;for(e.pos=l+2,s=1;e.pos+1<a;){if(61===e.src.charCodeAt(e.pos)&&61===e.src.charCodeAt(e.pos+1)&&(o=e.src.charCodeAt(e.pos-1),61!==(i=e.pos+2<a?e.src.charCodeAt(e.pos+2):-1)&&61!==o&&(32!==o&&10!==o?s--:32!==i&&10!==i&&s++,s<=0))){r=!0;break}e.parser.skipToken(e)}return r?(e.posMax=e.pos,e.pos=l+2,t||(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=a,!0):(e.pos=l,!1)}],["emphasis",function(e,t){var r,n,s,o,i,a,l,c=e.posMax,u=e.pos,p=e.src.charCodeAt(u);if(95!==p&&42!==p)return!1;if(t)return!1;if(r=(l=n6(e,u)).delims,!l.can_open)return e.pos+=r,t||(e.pending+=e.src.slice(u,e.pos)),!0;if(e.level>=e.options.maxNesting)return!1;for(e.pos=u+r,a=[r];e.pos<c;)if(e.src.charCodeAt(e.pos)!==p)e.parser.skipToken(e);else{if(n=(l=n6(e,e.pos)).delims,l.can_close){for(o=a.pop(),i=n;o!==i;){if(i<o){a.push(o-i);break}if(i-=o,0===a.length)break;e.pos+=o,o=a.pop()}if(0===a.length){r=o,s=!0;break}e.pos+=n;continue}l.can_open&&a.push(n),e.pos+=n}return s?(e.posMax=e.pos,e.pos=u+r,t||(2!==r&&3!==r||e.push({type:"strong_open",level:e.level++}),1!==r&&3!==r||e.push({type:"em_open",level:e.level++}),e.parser.tokenize(e),1!==r&&3!==r||e.push({type:"em_close",level:--e.level}),2!==r&&3!==r||e.push({type:"strong_close",level:--e.level})),e.pos=e.posMax+r,e.posMax=c,!0):(e.pos=u,!1)}],["sub",function(e,t){var r,n,s=e.posMax,o=e.pos;if(126!==e.src.charCodeAt(o))return!1;if(t)return!1;if(s<=o+2)return!1;if(e.level>=e.options.maxNesting)return!1;for(e.pos=o+1;e.pos<s;){if(126===e.src.charCodeAt(e.pos)){r=!0;break}e.parser.skipToken(e)}return!r||o+1===e.pos||(n=e.src.slice(o+1,e.pos)).match(/(^|[^\\])(\\\\)*\s/)?(e.pos=o,!1):(e.posMax=e.pos,e.pos=o+1,t||e.push({type:"sub",level:e.level,content:n.replace(s6,"$1")}),e.pos=e.posMax+1,e.posMax=s,!0)}],["sup",function(e,t){var r,n,s=e.posMax,o=e.pos;if(94!==e.src.charCodeAt(o))return!1;if(t)return!1;if(s<=o+2)return!1;if(e.level>=e.options.maxNesting)return!1;for(e.pos=o+1;e.pos<s;){if(94===e.src.charCodeAt(e.pos)){r=!0;break}e.parser.skipToken(e)}return!r||o+1===e.pos||(n=e.src.slice(o+1,e.pos)).match(/(^|[^\\])(\\\\)*\s/)?(e.pos=o,!1):(e.posMax=e.pos,e.pos=o+1,t||e.push({type:"sup",level:e.level,content:n.replace(o6,"$1")}),e.pos=e.posMax+1,e.posMax=s,!0)}],["links",function(e,t){var r,n,s,o,i,a,l=!1,c=e.pos,u=e.posMax,p=e.pos,h=e.src.charCodeAt(p);if(33===h&&(l=!0,h=e.src.charCodeAt(++p)),91!==h)return!1;if(e.level>=e.options.maxNesting)return!1;if(h=p+1,(r=_j(e,p))<0)return!1;if((i=r+1)<u&&40===e.src.charCodeAt(i)){for(i++;i<u&&(32===(a=e.src.charCodeAt(i))||10===a);i++);if(u<=i)return!1;for(Aj(e,p=i)?(s=e.linkContent,i=e.pos):s="",p=i;i<u&&(32===(a=e.src.charCodeAt(i))||10===a);i++);if(i<u&&p!==i&&Oj(e,i))for(o=e.linkContent,i=e.pos;i<u&&(32===(a=e.src.charCodeAt(i))||10===a);i++);else o="";if(u<=i||41!==e.src.charCodeAt(i))return e.pos=c,!1;i++}else{if(0<e.linkLevel)return!1;for(;i<u&&(32===(a=e.src.charCodeAt(i))||10===a);i++);if(i<u&&91===e.src.charCodeAt(i)&&(p=i+1,0<=(i=_j(e,i))?n=e.src.slice(p,i++):i=p-1),n||(void 0===n&&(i=r+1),n=e.src.slice(h,r)),!(p=e.env.references[Cj(n)]))return e.pos=c,!1;s=p.href,o=p.title}return t||(e.pos=h,e.posMax=r,l?e.push({type:"image",src:s,title:o,alt:e.src.substr(h,r-h),level:e.level}):(e.push({type:"link_open",href:s,title:o,level:e.level++}),e.linkLevel++,e.parser.tokenize(e),e.linkLevel--,e.push({type:"link_close",level:--e.level}))),e.pos=i,e.posMax=u,!0}],["footnote_inline",function(e,t){var r,n=e.posMax,s=e.pos;return!(n<=s+2||94!==e.src.charCodeAt(s)||91!==e.src.charCodeAt(s+1)||e.level>=e.options.maxNesting||(r=s+2,(s=_j(e,s+1))<0||(t||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),t=e.env.footnotes.list.length,e.pos=r,e.posMax=s,e.push({type:"footnote_ref",id:t,level:e.level}),e.linkLevel++,r=e.tokens.length,e.parser.tokenize(e),e.env.footnotes.list[t]={tokens:e.tokens.splice(r)},e.linkLevel--),e.pos=s+1,e.posMax=n,0)))}],["footnote_ref",function(e,t){var r,n,s=e.posMax,o=e.pos;if(s<o+3)return!1;if(!e.env.footnotes||!e.env.footnotes.refs)return!1;if(91!==e.src.charCodeAt(o))return!1;if(94!==e.src.charCodeAt(o+1))return!1;if(e.level>=e.options.maxNesting)return!1;for(r=o+2;r<s;r++){if(32===e.src.charCodeAt(r))return!1;if(10===e.src.charCodeAt(r))return!1;if(93===e.src.charCodeAt(r))break}return!(r===o+2||s<=r||(o=e.src.slice(o+2,++r-1),void 0===e.env.footnotes.refs[":"+o]||(t||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[":"+o]<0?(n=e.env.footnotes.list.length,e.env.footnotes.list[n]={label:o,count:0},e.env.footnotes.refs[":"+o]=n):n=e.env.footnotes.refs[":"+o],t=e.env.footnotes.list[n].count,e.env.footnotes.list[n].count++,e.push({type:"footnote_ref",id:n,subId:t,level:e.level})),e.pos=r,e.posMax=s,0)))}],["autolink",function(e,t){var r,n,s,o=e.pos;return!(60!==e.src.charCodeAt(o)||(o=e.src.slice(o)).indexOf(">")<0||((r=o.match(l6))?i6.indexOf(r[1].toLowerCase())<0||(s=kj(n=r[0].slice(1,-1)),!e.parser.validateLink(n)||(t||(e.push({type:"link_open",href:s,level:e.level}),e.push({type:"text",content:n,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=r[0].length,0)):!(r=o.match(a6))||(s=kj("mailto:"+(n=r[0].slice(1,-1))),!e.parser.validateLink(s)||(t||(e.push({type:"link_open",href:s,level:e.level}),e.push({type:"text",content:n,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=r[0].length,0))))}],["htmltag",function(e,t){var r,n=e.pos;return!(!e.options.html||(r=e.posMax,60!==e.src.charCodeAt(n)||r<=n+2||33!==(r=e.src.charCodeAt(n+1))&&63!==r&&47!==r&&!function(e){e|=32;return 97<=e&&e<=122}(r)||!(r=e.src.slice(n).match(u6))||(t||e.push({type:"htmltag",content:e.src.slice(n,n+r[0].length),level:e.level}),e.pos+=r[0].length,0)))}],["entity",function(e,t){var r,n=e.pos,s=e.posMax;if(38!==e.src.charCodeAt(n))return!1;if(n+1<s)if(35===e.src.charCodeAt(n+1)){if(r=e.src.slice(n).match(p6))return t||(s="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),e.pending+=cj(s)?uj(s):uj(65533)),e.pos+=r[0].length,!0}else if(r=e.src.slice(n).match(h6)){s=sj(r[1]);if(r[1]!==s)return t||(e.pending+=s),e.pos+=r[0].length,!0}return t||(e.pending+="&"),e.pos++,!0}]];function f6(){this.ruler=new xj;for(var e=0;e<d6.length;e++)this.ruler.push(d6[e][0],d6[e][1]);this.validateLink=m6}function m6(e){e=e.trim().toLowerCase();return-1===(e=fj(e)).indexOf(":")||-1===["vbscript","javascript","file","data"].indexOf(e.split(":")[0])}f6.prototype.skipToken=function(e){var t,r,n=this.ruler.getRules(""),s=n.length,o=e.pos;if(0<(r=e.cacheGet(o)))e.pos=r;else{for(t=0;t<s;t++)if(n[t](e,!0))return void e.cacheSet(o,e.pos);e.pos++,e.cacheSet(o,e.pos)}},f6.prototype.tokenize=function(e){for(var t,r,n=this.ruler.getRules(""),s=n.length,o=e.posMax;e.pos<o;){for(r=0;r<s&&!(t=n[r](e,!1));r++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};var g6={default:{options:{html:!(f6.prototype.parse=function(e,t,r,n){e=new Sj(e,this,t,r,n);this.tokenize(e)}),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 y6(e,t,r){this.src=t,this.env=r,this.options=e.options,this.tokens=[],this.inlineMode=!1,this.inline=e.inline,this.block=e.block,this.renderer=e.renderer,this.typographer=e.typographer}function v6(e,t){"string"!=typeof e&&(t=e,e="default"),t&&null!=t.linkify&&console.warn("linkify option is removed. Use linkify plugin instead:\n\nimport Remarkable from 'remarkable';\nimport linkify from 'remarkable/linkify';\nnew Remarkable().use(linkify)\n"),this.inline=new f6,this.block=new Yj,this.core=new $j,this.renderer=new Ej,this.ruler=new xj,this.options={},this.configure(g6[e]),this.set(t||{})}function b6(e,t){if(Array.prototype.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function w6(e,t){for(var r=e.length-1;0<=r;r--)!0===t(e[r])&&e.splice(r,1)}function E6(e){throw new Error("Unhandled case for value: '".concat(e,"'"))}v6.prototype.set=function(e){ij(this.options,e)},v6.prototype.configure=function(t){var r=this;if(!t)throw new Error("Wrong `remarkable` preset, check name/content");t.options&&r.set(t.options),t.components&&Object.keys(t.components).forEach(function(e){t.components[e].rules&&r[e].ruler.enable(t.components[e].rules,!0)})},v6.prototype.use=function(e,t){return e(this,t),this},v6.prototype.parse=function(e,t){e=new y6(this,e,t);return this.core.process(e),e.tokens},v6.prototype.render=function(e,t){return this.renderer.render(this.parse(e,t=t||{}),this.options,t)},v6.prototype.parseInline=function(e,t){e=new y6(this,e,t);return e.inlineMode=!0,this.core.process(e),e.tokens},v6.prototype.renderInline=function(e,t){return this.renderer.render(this.parseInline(e,t=t||{}),this.options,t)};S6.prototype.setTagName=function(e){return this.tagName=e,this},S6.prototype.getTagName=function(){return this.tagName||""},S6.prototype.setAttr=function(e,t){return this.getAttrs()[e]=t,this},S6.prototype.getAttr=function(e){return this.getAttrs()[e]},S6.prototype.setAttrs=function(e){return Object.assign(this.getAttrs(),e),this},S6.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},S6.prototype.setClass=function(e){return this.setAttr("class",e)},S6.prototype.addClass=function(e){for(var t,r=this.getClass(),n=this.whitespaceRegex,s=r?r.split(n):[],o=e.split(n);t=o.shift();)-1===b6(s,t)&&s.push(t);return this.getAttrs().class=s.join(" "),this},S6.prototype.removeClass=function(e){for(var t,r=this.getClass(),n=this.whitespaceRegex,s=r?r.split(n):[],o=e.split(n);s.length&&(t=o.shift());){var i=b6(s,t);-1!==i&&s.splice(i,1)}return this.getAttrs().class=s.join(" "),this},S6.prototype.getClass=function(){return this.getAttrs().class||""},S6.prototype.hasClass=function(e){return-1!==(" "+this.getClass()+" ").indexOf(" "+e+" ")},S6.prototype.setInnerHTML=function(e){return this.innerHTML=e,this},S6.prototype.setInnerHtml=function(e){return this.setInnerHTML(e)},S6.prototype.getInnerHTML=function(){return this.innerHTML||""},S6.prototype.getInnerHtml=function(){return this.getInnerHTML()},S6.prototype.toAnchorString=function(){var e=this.getTagName(),t=this.buildAttrsStr();return["<",e,t=t?" "+t:"",">",this.getInnerHtml(),"</",e,">"].join("")},S6.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var e,t=this.getAttrs(),r=[];for(e in t)t.hasOwnProperty(e)&&r.push(e+'="'+t[e]+'"');return r.join(" ")};var x6=S6;function S6(e){void 0===e&&(e={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=e.tagName||"",this.attrs=e.attrs||{},this.innerHTML=e.innerHtml||e.innerHTML||""}O6.prototype.build=function(e){return new x6({tagName:"a",attrs:this.createAttrs(e),innerHtml:this.processAnchorText(e.getAnchorText())})},O6.prototype.createAttrs=function(e){var t={href:e.getAnchorHref()},r=this.createCssClass(e);return r&&(t.class=r),this.newWindow&&(t.target="_blank",t.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length<e.getAnchorText().length&&(t.title=e.getAnchorHref()),t},O6.prototype.createCssClass=function(e){var t=this.className;if(t){for(var r=[t],n=e.getCssClassSuffixes(),s=0,o=n.length;s<o;s++)r.push(t+"-"+n[s]);return r.join(" ")}return""},O6.prototype.processAnchorText=function(e){return this.doTruncate(e)},O6.prototype.doTruncate=function(e){var t=this.truncate;if(!t||!t.length)return e;var r,n=t.length,t=t.location;if("smart"===t){var s=e,o=n,i=void 0;function a(e){var t="";return e.scheme&&e.host&&(t+=e.scheme+"://"),e.host&&(t+=e.host),e.path&&(t+="/"+e.path),e.query&&(t+="?"+e.query),e.fragment&&(t+="#"+e.fragment),t}function l(e,t){var t=t/2,r=Math.ceil(t),t=-1*Math.floor(t),n="";return t<0&&(n=e.substr(t)),e.substr(0,r)+i+n}var c=null==i?(i="…",f=3,8):(f=i.length,i.length);if(s.length<=o)return s;var u=o-f,p=(h={},(d=(p=s).match(/^([a-z]+):\/\//i))&&(h.scheme=d[1],p=p.substr(d[0].length)),(d=p.match(/^(.*?)(?=(\?|#|\/|$))/i))&&(h.host=d[1],p=p.substr(d[0].length)),(d=p.match(/^\/(.*?)(?=(\?|#|$))/i))&&(h.path=d[1],p=p.substr(d[0].length)),(d=p.match(/^\?(.*?)(?=(#|$))/i))&&(h.query=d[1],p=p.substr(d[0].length)),(d=p.match(/^#(.*?)$/i))&&(h.fragment=d[1]),h);if(!p.query||(d=p.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i))&&(p.query=p.query.substr(0,d[1].length),s=a(p)),s.length<=o)return s;if(p.host&&(p.host=p.host.replace(/^www\./,""),s=a(p)),s.length<=o)return s;var h="";if(p.host&&(h+=p.host),h.length>=u)return(p.host.length==o?p.host.substr(0,o-f)+i:l(h,u)).substr(0,u+c);var d="";if(p.path&&(d+="/"+p.path),p.query&&(d+="?"+p.query),d){if(u<=(h+d).length)return(h+d).length==o?(h+d).substr(0,o):(h+l(d,u-h.length)).substr(0,u+c);h+=d}if(p.fragment){s="#"+p.fragment;if(u<=(h+s).length)return(h+s).length==o?(h+s).substr(0,o):(h+l(s,u-h.length)).substr(0,u+c);h+=s}if(p.scheme&&p.host){var f=p.scheme+"://";if((h+f).length<u)return(f+h).substr(0,o)}return h.length<=o?h:(d="",0<u&&(d=h.substr(-1*Math.floor(u/2))),(h.substr(0,Math.ceil(u/2))+i+d).substr(0,u+c))}if("middle"!==t)return s=s=n,r=r,(p=p=e).length>s&&(f=null==r?(r="…",3):r.length,p=p.substring(0,s-f)+r),p;o=e,h=n,d=void 0;if(o.length<=h)return o;var m,u=null==d?(d="…",m=8,3):(m=d.length,d.length),h=h-u,u="";return 0<h&&(u=o.substr(-1*Math.floor(h/2))),(o.substr(0,Math.ceil(h/2))+d+u).substr(0,h+m)};var _6=O6,Zb=(A6.prototype.getMatchedText=function(){return this.matchedText},A6.prototype.setOffset=function(e){this.offset=e},A6.prototype.getOffset=function(){return this.offset},A6.prototype.getCssClassSuffixes=function(){return[this.getType()]},A6.prototype.buildTag=function(){return this.tagBuilder.build(this)},A6),k6=function(e,t){return(k6=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function A6(e){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=e.tagBuilder,this.matchedText=e.matchedText,this.offset=e.offset}function O6(e){void 0===e&&(e={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=e.newWindow||!1,this.truncate=e.truncate||{},this.className=e.className||""}function C6(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}k6(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var j6=function(){return(j6=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)};Object.create,Object.create;function P6(e){this.__jsduckDummyDocProp=null,this.tagBuilder=e.tagBuilder}function N6(e){return"(?=("+n4+"))\\"+e}function I6(e){return"(?:"+N6(e)+"(?:\\."+N6(e+1)+"){0,126}|"+r4+")"}C6(M4,U6=Zb),M4.prototype.getType=function(){return"email"},M4.prototype.getEmail=function(){return this.email},M4.prototype.getAnchorHref=function(){return"mailto:"+this.email},M4.prototype.getAnchorText=function(){return this.email};var T6,M6,R6,D6,L6,F6,B6,$6,q6,U6,z6=M4,V6=(C6(T4,q6=Zb),T4.prototype.getType=function(){return"hashtag"},T4.prototype.getServiceName=function(){return this.serviceName},T4.prototype.getHashtag=function(){return this.hashtag},T4.prototype.getAnchorHref=function(){var e=this.serviceName,t=this.hashtag;switch(e){case"twitter":return"https://twitter.com/hashtag/"+t;case"facebook":return"https://www.facebook.com/hashtag/"+t;case"instagram":return"https://instagram.com/explore/tags/"+t;case"tiktok":return"https://www.tiktok.com/tag/"+t;default:throw new Error("Unknown service name to point hashtag to: "+e)}},T4.prototype.getAnchorText=function(){return"#"+this.hashtag},T4),K6=(C6(I4,$6=Zb),I4.prototype.getType=function(){return"mention"},I4.prototype.getMention=function(){return this.mention},I4.prototype.getServiceName=function(){return this.serviceName},I4.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)}},I4.prototype.getAnchorText=function(){return"@"+this.mention},I4.prototype.getCssClassSuffixes=function(){var e=$6.prototype.getCssClassSuffixes.call(this),t=this.getServiceName();return t&&e.push(t),e},I4),W6=(C6(N4,B6=Zb),N4.prototype.getType=function(){return"phone"},N4.prototype.getPhoneNumber=function(){return this.number},N4.prototype.getNumber=function(){return this.getPhoneNumber()},N4.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},N4.prototype.getAnchorText=function(){return this.matchedText},N4),J6=(C6(P4,F6=Zb),P4.prototype.getType=function(){return"url"},P4.prototype.getUrlMatchType=function(){return this.urlMatchType},P4.prototype.getUrl=function(){var e=this.url;return this.protocolRelativeMatch||this.protocolUrlMatch||this.protocolPrepended||(e=this.url="http://"+e,this.protocolPrepended=!0),e},P4.prototype.getAnchorHref=function(){return this.getUrl().replace(/&/g,"&")},P4.prototype.getAnchorText=function(){var e=this.getMatchedText();return this.protocolRelativeMatch&&(e=this.stripProtocolRelativePrefix(e)),this.stripPrefix.scheme&&(e=this.stripSchemePrefix(e)),this.stripPrefix.www&&(e=this.stripWwwPrefix(e)),this.stripTrailingSlash&&(e=this.removeTrailingSlash(e)),e=this.decodePercentEncoding?this.removePercentEncoding(e):e},P4.prototype.stripSchemePrefix=function(e){return e.replace(this.schemePrefixRegex,"")},P4.prototype.stripWwwPrefix=function(e){return e.replace(this.wwwPrefixRegex,"$1")},P4.prototype.stripProtocolRelativePrefix=function(e){return e.replace(this.protocolRelativeRegex,"")},P4.prototype.removeTrailingSlash=function(e){return e="/"===e.charAt(e.length-1)?e.slice(0,-1):e},P4.prototype.removePercentEncoding=function(e){var t=e.replace(/%22/gi,""").replace(/%26/gi,"&").replace(/%27/gi,"'").replace(/%3C/gi,"<").replace(/%3E/gi,">");try{return decodeURIComponent(t)}catch(e){return t}},P4),H6=/[A-Za-z]/,G6=/[\d]/,Y6=/[\D]/,X6=/\s/,Q6=/['"]/,Z6=/[\x00-\x1F\x7F]/,Db=/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,p1=Db+/\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,g1=/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,x1=p1+g1,e4=p1+g1,t4=new RegExp("[".concat(e4,"]")),r4="(?:["+g1+"]{1,3}\\.){3}["+g1+"]{1,3}",n4="["+e4+"](?:["+e4+"\\-_]{0,61}["+e4+"])?",s4=(new RegExp("["+e4+".\\-]*["+e4+"\\-]"),t4),Rr=/(?: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|ελ|ευ|бг|ею|рф|გე|닷넷|닷컴|삼성|한국|コム|世界|中信|中国|中國|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|嘉里|在线|大拿|娱乐|家電|广东|微博|慈善|手机|招聘|政务|政府|新闻|时尚|書籍|机构|游戏|澳門|点看|移动|网址|网店|网站|网络|联通|谷歌|购物|通販|集团|食品|餐厅|香港)/,o4=new RegExp("[".concat(e4,"!#$%&'*+/=?^_`{|}~-]")),i4=new RegExp("^".concat(Rr.source,"$")),a4=(C6(j4,L6=P6),j4.prototype.parseMatches=function(r){for(var e,t,n,s,o=this.tagBuilder,i=this.localPartCharRegex,a=this.strictTldRegex,l=[],c=r.length,u=new l4,p={m:"a",a:"i",i:"l",l:"t",t:"o",o:":"},h=0,d=0,f=u;h<c;){var m=r.charAt(h);switch(d){case 0:"m"===(s=m)?g(1):i.test(s)&&g();break;case 1:s=r.charAt(h-1),n=m,":"===s?i.test(n)?(d=2,f=new l4(j6(j6({},f),{hasMailtoPrefix:!0}))):y():p[s]!==n&&(i.test(n)?d=2:"."===n?d=3:"@"===n?d=4:y());break;case 2:"."===(n=m)?d=3:"@"===n?d=4:i.test(n)||y();break;case 3:"."!==(t=m)&&"@"!==t&&i.test(t)?d=2:y();break;case 4:s4.test(m)?d=5:y();break;case 5:"."===(t=m)?d=7:"-"===t?d=6:s4.test(t)||v();break;case 6:"-"!==(e=m)&&"."!==e&&s4.test(e)?d=5:v();break;case 7:"."!==(e=m)&&"-"!==e&&s4.test(e)?(d=5,f=new l4(j6(j6({},f),{hasDomainDot:!0}))):v();break;default:E6(d)}h++}return v(),l;function g(e){d=e=void 0===e?2:e,f=new l4({idx:h})}function y(){d=0,f=u}function v(){var e,t;f.hasDomainDot&&(e=r.slice(f.idx,h),/[-.]$/.test(e)&&(e=e.slice(0,-1)),function(e){e=(e.split(".").pop()||"").toLowerCase();return a.test(e)}(t=f.hasMailtoPrefix?e.slice(7):e)&&l.push(new z6({tagBuilder:o,matchedText:e,offset:f.idx,email:t}))),y()}},j4),l4=function(e){this.idx=void 0!==(e=void 0===e?{}:e).idx?e.idx:-1,this.hasMailtoPrefix=!!e.hasMailtoPrefix,this.hasDomainDot=!!e.hasDomainDot},c4=(C4.isValid=function(e,t){return!(t&&!this.isValidUriScheme(t)||this.urlMatchDoesNotHaveProtocolOrDot(e,t)||this.urlMatchDoesNotHaveAtLeastOneWordChar(e,t)&&!this.isValidIpAddress(e)||this.containsMultipleDots(e))},C4.isValidIpAddress=function(e){var t=new RegExp(this.hasFullProtocolRegex.source+this.ipRegex.source);return null!==e.match(t)},C4.containsMultipleDots=function(e){var t=e;return-1<(t=this.hasFullProtocolRegex.test(e)?e.split("://")[1]:t).split("/")[0].indexOf("..")},C4.isValidUriScheme=function(e){e=e.match(this.uriSchemeRegex),e=e&&e[0].toLowerCase();return"javascript:"!==e&&"vbscript:"!==e},C4.urlMatchDoesNotHaveProtocolOrDot=function(e,t){return!(!e||t&&this.hasFullProtocolRegex.test(t)||-1!==e.indexOf("."))},C4.urlMatchDoesNotHaveAtLeastOneWordChar=function(e,t){return!(!e||!t||this.hasFullProtocolRegex.test(t)||this.hasWordCharAfterProtocolRegex.test(e))},C4.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,C4.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,C4.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+Db+"]"),C4.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]*)?\/?$/,C4),u4=(Tr=new RegExp("[/?#](?:["+e4+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^✓]*["+e4+"\\-+&@#/%=~_()|'$*\\[\\]{}✓])?"),new RegExp(["(?:","(",/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/.source,I6(2),")","|","(","(//)?",/(?:www\.)/.source,I6(6),")","|","(","(//)?",I6(10)+"\\.",Rr.source,"(?![-"+x1+"])",")",")","(?::[0-9]+)?","(?:"+Tr.source+")?"].join(""),"gi")),p4=new RegExp("["+e4+"]"),h4=(C6(O4,D6=P6),O4.prototype.parseMatches=function(i){for(var a,e=this.matcherRegex,l=this.stripPrefix,c=this.stripTrailingSlash,u=this.decodePercentEncoding,p=this.tagBuilder,h=[],d=this;null!==(a=e.exec(i));)!function(){var e=a[0],t=a[1],r=a[4],n=a[5],s=a[9],o=a.index,n=n||s,s=i.charAt(o-1);if(!c4.isValid(e,t))return;if(0<o&&"@"===s)return;if(0<o&&n&&d.wordCharRegExp.test(s))return;/\?$/.test(e)&&(e=e.substr(0,e.length-1)),d.matchHasUnbalancedClosingParen(e)?e=e.substr(0,e.length-1):-1<(s=d.matchHasInvalidCharAfterTld(e,t))&&(e=e.substr(0,s));s=["http://","https://"].find(function(e){return!!t&&-1!==t.indexOf(e)}),s&&(s=e.indexOf(s),e=e.substr(s),t=t.substr(s),o+=s),s=t?"scheme":r?"www":"tld",r=!!t;h.push(new J6({tagBuilder:p,matchedText:e,offset:o,urlMatchType:s,url:e,protocolUrlMatch:r,protocolRelativeMatch:!!n,stripPrefix:l,stripTrailingSlash:c,decodePercentEncoding:u}))}();return h},O4.prototype.matchHasUnbalancedClosingParen=function(e){var t,r=e.charAt(e.length-1);if(")"===r)t="(";else if("]"===r)t="[";else{if("}"!==r)return!1;t="{"}for(var n=0,s=0,o=e.length-1;s<o;s++){var i=e.charAt(s);i===t?n++:i===r&&(n=Math.max(n-1,0))}return 0===n},O4.prototype.matchHasInvalidCharAfterTld=function(e,t){if(!e)return-1;var r=0,t=(t&&(r=e.indexOf(":"),e=e.slice(r)),new RegExp("^((.?//)?[-."+e4+"]*[-"+e4+"]\\.[-"+e4+"]+)").exec(e));return null===t?-1:(r+=t[1].length,e=e.slice(t[1].length),/^[^-.A-Za-z0-9:\/?#]/.test(e)?r:-1)},O4),d4=new RegExp("[_".concat(e4,"]")),f4=(C6(A4,R6=P6),A4.prototype.parseMatches=function(t){for(var e,r,n=this.tagBuilder,s=this.serviceName,o=[],i=t.length,a=0,l=-1,c=0;a<i;){var u=t.charAt(a);switch(c){case 0:"#"===(r=u)?(c=2,l=a):t4.test(r)&&(c=1);break;case 1:t4.test(u)||(c=0);break;case 2:r=u,c=d4.test(r)?3:t4.test(r)?1:0;break;case 3:e=u,d4.test(e)||(p(),l=-1,c=t4.test(e)?1:0);break;default:E6(c)}a++}return p(),o;function p(){var e;-1<l&&a-l<=140&&(e=t.slice(l,a),e=new V6({tagBuilder:n,matchedText:e,offset:l,serviceName:s,hashtag:e.slice(1)}),o.push(e))}},A4),m4=["twitter","facebook","instagram","tiktok"],g4=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"),y4=(C6(k4,M6=P6),k4.prototype.parseMatches=function(e){for(var t,r=this.matcherRegex,n=this.tagBuilder,s=[];null!==(t=r.exec(e));){var o=t[0],i=o.replace(/[^0-9,;#]/g,""),a=!(!t[1]&&!t[2]),l=0==t.index?"":e.substr(t.index-1,1),c=e.substr(t.index+o.length,1),l=!l.match(/\d/)&&!c.match(/\d/);this.testMatch(t[3])&&this.testMatch(o)&&l&&s.push(new W6({tagBuilder:n,matchedText:o,offset:t.index,number:i,plusSign:a}))}return s},k4.prototype.testMatch=function(e){return Y6.test(e)},k4),v4=new RegExp("@[_".concat(e4,"]{1,50}(?![_").concat(e4,"])"),"g"),b4=new RegExp("@[_.".concat(e4,"]{1,30}(?![_").concat(e4,"])"),"g"),w4=new RegExp("@[-_.".concat(e4,"]{1,50}(?![-_").concat(e4,"])"),"g"),E4=new RegExp("@[_.".concat(e4,"]{1,23}[_").concat(e4,"](?![_").concat(e4,"])"),"g"),x4=new RegExp("[^"+e4+"]"),S4=(C6(_4,T6=P6),_4.prototype.parseMatches=function(e){var t=this.serviceName,r=this.matcherRegexes[this.serviceName],n=this.nonWordCharRegex,s=this.tagBuilder,o=[];if(!r)return o;for(;null!==(i=r.exec(e));){var i,a=i.index,l=e.charAt(a-1);0!==a&&!n.test(l)||(i=(l=i[0].replace(/\.+$/g,"")).slice(1),o.push(new K6({tagBuilder:s,matchedText:l,offset:a,serviceName:t,mention:i})))}return o},_4);function _4(e){var t=T6.call(this,e)||this;return t.serviceName="twitter",t.matcherRegexes={twitter:v4,instagram:b4,soundcloud:w4,tiktok:E4},t.nonWordCharRegex=x4,t.serviceName=e.serviceName,t}function k4(){var e=null!==M6&&M6.apply(this,arguments)||this;return e.matcherRegex=g4,e}function A4(e){var t=R6.call(this,e)||this;return t.serviceName="twitter",t.serviceName=e.serviceName,t}function O4(e){var t=D6.call(this,e)||this;return t.stripPrefix={scheme:!0,www:!0},t.stripTrailingSlash=!0,t.decodePercentEncoding=!0,t.matcherRegex=u4,t.wordCharRegExp=p4,t.stripPrefix=e.stripPrefix,t.stripTrailingSlash=e.stripTrailingSlash,t.decodePercentEncoding=e.decodePercentEncoding,t}function C4(){}function j4(){var e=null!==L6&&L6.apply(this,arguments)||this;return e.localPartCharRegex=o4,e.strictTldRegex=i4,e}function P4(e){var t=F6.call(this,e)||this;return t.url="",t.urlMatchType="scheme",t.protocolUrlMatch=!1,t.protocolRelativeMatch=!1,t.stripPrefix={scheme:!0,www:!0},t.stripTrailingSlash=!0,t.decodePercentEncoding=!0,t.schemePrefixRegex=/^(https?:\/\/)?/i,t.wwwPrefixRegex=/^(https?:\/\/)?(www\.)?/i,t.protocolRelativeRegex=/^\/\//,t.protocolPrepended=!1,t.urlMatchType=e.urlMatchType,t.url=e.url,t.protocolUrlMatch=e.protocolUrlMatch,t.protocolRelativeMatch=e.protocolRelativeMatch,t.stripPrefix=e.stripPrefix,t.stripTrailingSlash=e.stripTrailingSlash,t.decodePercentEncoding=e.decodePercentEncoding,t}function N4(e){var t=B6.call(this,e)||this;return t.number="",t.plusSign=!1,t.number=e.number,t.plusSign=e.plusSign,t}function I4(e){var t=$6.call(this,e)||this;return t.serviceName="twitter",t.mention="",t.mention=e.mention,t.serviceName=e.serviceName,t}function T4(e){var t=q6.call(this,e)||this;return t.serviceName="",t.hashtag="",t.serviceName=e.serviceName,t.hashtag=e.hashtag,t}function M4(e){var t=U6.call(this,e)||this;return t.email="",t.email=e.email,t}function R4(t,e){for(var r,n,s,o,i,a,l,c=e.onOpenTag,u=e.onCloseTag,p=e.onText,h=e.onComment,d=e.onDoctype,f=new D4,m=0,g=t.length,y=0,v=0,b=f;m<g;){var w=t.charAt(m);switch(y){case 0:"<"===w&&x();break;case 1:"!"===(l=w)?y=13:"/"===l?(y=2,b=new D4(j6(j6({},b),{isClosing:!0}))):"<"===l?x():b=H6.test(l)?(y=3,new D4(j6(j6({},b),{isOpening:!0}))):(y=0,f);break;case 2:">"!==(l=w)&&H6.test(l)?y=3:E();break;case 3:a=w,X6.test(a)?(b=new D4(j6(j6({},b),{name:_()})),y=4):"<"===a?x():"/"===a?(b=new D4(j6(j6({},b),{name:_()})),y=12):">"===a?(b=new D4(j6(j6({},b),{name:_()})),S()):H6.test(a)||G6.test(a)||":"===a||E();break;case 4:a=w,X6.test(a)||("/"===a?y=12:">"===a?S():"<"===a?x():"="===a||Q6.test(a)||Z6.test(a)?E():y=5);break;case 5:i=w,X6.test(i)?y=6:"/"===i?y=12:"="===i?y=7:">"===i?S():"<"===i?x():Q6.test(i)&&E();break;case 6:i=w,X6.test(i)||("/"===i?y=12:"="===i?y=7:">"===i?S():"<"===i?x():Q6.test(i)?E():y=5);break;case 7:o=w,X6.test(o)||('"'===o?y=8:"'"===o?y=9:/[>=`]/.test(o)?E():"<"===o?x():y=10);break;case 8:'"'===w&&(y=11);break;case 9:"'"===w&&(y=11);break;case 10:o=w,X6.test(o)?y=4:">"===o?S():"<"===o&&x();break;case 11:s=w,X6.test(s)?y=4:"/"===s?y=12:">"===s?S():"<"===s?x():(y=4,m--);break;case 12:">"===w?(b=new D4(j6(j6({},b),{isClosing:!0})),S()):y=4;break;case 13:"--"===t.substr(m,2)?(m+=2,b=new D4(j6(j6({},b),{type:"comment"})),y=14):"DOCTYPE"===t.substr(m,7).toUpperCase()?(m+=7,b=new D4(j6(j6({},b),{type:"doctype"})),y=20):E();break;case 14:"-"===(s=w)?y=15:">"===s?E():y=16;break;case 15:"-"===(n=w)?y=18:">"===n?E():y=16;break;case 16:"-"===w&&(y=17);break;case 17:y="-"===w?18:16;break;case 18:">"===(n=w)?S():"!"===n?y=19:"-"!==n&&(y=16);break;case 19:"-"===(r=w)?y=17:">"===r?S():y=16;break;case 20:">"===(r=w)?S():"<"===r&&x();break;default:E6(y)}m++}function E(){y=0,b=f}function x(){y=1,b=new D4({idx:m})}function S(){var e=t.slice(v,b.idx);e&&p(e,v),"comment"===b.type?h(b.idx):"doctype"===b.type?d(b.idx):(b.isOpening&&c(b.name,b.idx),b.isClosing&&u(b.name,b.idx)),E(),v=m+1}function _(){var e=b.idx+(b.isClosing?2:1);return t.slice(e,m).toLowerCase()}v<m&&(e=t.slice(v,m),p(e,v),v=m+1)}function D4(e){this.idx=void 0!==(e=void 0===e?{}:e).idx?e.idx:-1,this.type=e.type||"tag",this.name=e.name||"",this.isOpening=!!e.isOpening,this.isClosing=!!e.isClosing}function L4(e){void 0===e&&(e={}),this.version=L4.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=("boolean"==typeof e.email?e:this).email,this.phone=("boolean"==typeof e.phone?e:this).phone,this.hashtag=e.hashtag||this.hashtag,this.mention=e.mention||this.mention,this.newWindow=("boolean"==typeof e.newWindow?e:this).newWindow,this.stripPrefix=this.normalizeStripPrefixCfg(e.stripPrefix),this.stripTrailingSlash=("boolean"==typeof e.stripTrailingSlash?e:this).stripTrailingSlash,this.decodePercentEncoding=("boolean"==typeof e.decodePercentEncoding?e:this).decodePercentEncoding,this.sanitizeHtml=e.sanitizeHtml||!1;var t=this.mention;if(!1!==t&&-1===["twitter","instagram","soundcloud","tiktok"].indexOf(t))throw new Error("invalid `mention` cfg '".concat(t,"' - see docs"));t=this.hashtag;if(!1!==t&&-1===m4.indexOf(t))throw new Error("invalid `hashtag` cfg '".concat(t,"' - 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}L4.link=function(e,t){return new L4(t).link(e)},L4.parse=function(e,t){return new L4(t).parse(e)},L4.prototype.normalizeUrlsCfg=function(e){return"boolean"==typeof(e=null==e?!0:e)?{schemeMatches:e,wwwMatches:e,tldMatches:e}:{schemeMatches:"boolean"!=typeof e.schemeMatches||e.schemeMatches,wwwMatches:"boolean"!=typeof e.wwwMatches||e.wwwMatches,tldMatches:"boolean"!=typeof e.tldMatches||e.tldMatches}},L4.prototype.normalizeStripPrefixCfg=function(e){return"boolean"==typeof(e=null==e?!0:e)?{scheme:e,www:e}:{scheme:"boolean"!=typeof e.scheme||e.scheme,www:"boolean"!=typeof e.www||e.www}},L4.prototype.normalizeTruncateCfg=function(e){if("number"==typeof e)return{length:e,location:"end"};var t,r=e||{},n={length:Number.POSITIVE_INFINITY,location:"end"};for(t in n)n.hasOwnProperty(t)&&void 0===r[t]&&(r[t]=n[t]);return r},L4.prototype.parse=function(e){var n=this,t=["a","style","script"],s=0,o=[];return R4(e,{onOpenTag:function(e){0<=t.indexOf(e)&&s++},onText:function(e,t){var r;0===s&&(e=function(e,t){if(!t.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var r,n=[],s=0;r=t.exec(e);)n.push(e.substring(s,r.index)),n.push(r[0]),s=r.index+r[0].length;return n.push(e.substring(s)),n}(e,/( | |<|<|>|>|"|"|')/gi),r=t,e.forEach(function(e,t){t%2==0&&(t=n.parseText(e,r),o.push.apply(o,t)),r+=e.length}))},onCloseTag:function(e){0<=t.indexOf(e)&&(s=Math.max(s-1,0))},onComment:function(e){},onDoctype:function(e){}}),o=this.compactMatches(o),o=this.removeUnwantedMatches(o)},L4.prototype.compactMatches=function(e){e.sort(function(e,t){return e.getOffset()-t.getOffset()});for(var t=0;t<e.length-1;){var r=e[t],n=r.getOffset(),r=r.getMatchedText().length,s=n+r;if(t+1<e.length){if(e[t+1].getOffset()===n){n=e[t+1].getMatchedText().length>r?t:t+1;e.splice(n,1);continue}if(e[t+1].getOffset()<s){e.splice(t+1,1);continue}}t++}return e},L4.prototype.removeUnwantedMatches=function(e){return this.hashtag||w6(e,function(e){return"hashtag"===e.getType()}),this.email||w6(e,function(e){return"email"===e.getType()}),this.phone||w6(e,function(e){return"phone"===e.getType()}),this.mention||w6(e,function(e){return"mention"===e.getType()}),this.urls.schemeMatches||w6(e,function(e){return"url"===e.getType()&&"scheme"===e.getUrlMatchType()}),this.urls.wwwMatches||w6(e,function(e){return"url"===e.getType()&&"www"===e.getUrlMatchType()}),this.urls.tldMatches||w6(e,function(e){return"url"===e.getType()&&"tld"===e.getUrlMatchType()}),e},L4.prototype.parseText=function(e,t){t=(t=void 0===t?0:t)||0;for(var r=this.getMatchers(),n=[],s=0,o=r.length;s<o;s++){for(var i=r[s].parseMatches(e),a=0,l=i.length;a<l;a++)i[a].setOffset(t+i[a].getOffset());n.push.apply(n,i)}return n},L4.prototype.link=function(e){if(!e)return"";this.sanitizeHtml&&(e=e.replace(/</g,"<").replace(/>/g,">"));for(var t=this.parse(e),r=[],n=0,s=0,o=t.length;s<o;s++){var i=t[s];r.push(e.substring(n,i.getOffset())),r.push(this.createMatchReturnVal(i)),n=i.getOffset()+i.getMatchedText().length}return r.push(e.substring(n)),r.join("")},L4.prototype.createMatchReturnVal=function(e){var t;return"string"==typeof(t=this.replaceFn?this.replaceFn.call(this.context,e):t)?t:!1===t?e.getMatchedText():(t instanceof x6?t:e.buildTag()).toAnchorString()},L4.prototype.getMatchers=function(){if(this.matchers)return this.matchers;var e=this.getTagBuilder(),e=[new f4({tagBuilder:e,serviceName:this.hashtag}),new a4({tagBuilder:e}),new y4({tagBuilder:e}),new S4({tagBuilder:e,serviceName:this.mention}),new h4({tagBuilder:e,stripPrefix:this.stripPrefix,stripTrailingSlash:this.stripTrailingSlash,decodePercentEncoding:this.decodePercentEncoding})];return this.matchers=e},L4.prototype.getTagBuilder=function(){return this.tagBuilder||(this.tagBuilder=new _6({newWindow:this.newWindow,truncate:this.truncate,className:this.className}))},L4.version="3.16.2",L4.AnchorTagBuilder=_6,L4.HtmlTag=x6,L4.matcher={Email:a4,Hashtag:f4,Matcher:P6,Mention:S4,Phone:y4,Url:h4},L4.match={Email:z6,Hashtag:V6,Match:Zb,Mention:K6,Phone:W6,Url:J6};const F4=L4;var B4=/www|@|\:\/\//;function $4(e){for(var t,r,n,s,o,i,a,l,c,u,p,h=e.tokens,d=null,f=0,m=h.length;f<m;f++)if("inline"===h[f].type)for(c=0,t=(r=h[f].children).length-1;0<=t;t--)if("link_close"!==(n=r[t]).type){if("htmltag"===n.type&&(/^<a[>\s]/i.test(n.content)&&0<c&&c--,/^<\/a\s*>/i.test(n.content)&&c++),!(0<c)&&"text"===n.type&&B4.test(n.content)){if(d||(u=(d=function(){var t=[],e=new F4({stripPrefix:!1,url:!0,email:!0,replaceFn:function(e){switch(e.getType()){case"url":t.push({text:e.matchedText,url:e.getUrl()});break;case"email":t.push({text:e.matchedText,url:"mailto:"+e.getEmail().replace(/^mailto:/i,"")})}return!1}});return{links:t,autolinker:e}}()).links,p=d.autolinker),s=n.content,u.length=0,p.link(s),!u.length)continue;for(o=[],l=n.level,i=0;i<u.length;i++)e.inline.validateLink(u[i].url)&&((a=s.indexOf(u[i].text))&&o.push({type:"text",content:s.slice(0,a),level:l}),o.push({type:"link_open",href:u[i].url,title:"",level:l++}),o.push({type:"text",content:u[i].text,level:l}),o.push({type:"link_close",level:--l}),s=s.slice(a+u[i].text.length));s.length&&o.push({type:"text",content:s,level:l}),h[f].children=r=[].concat(r.slice(0,t),o,r.slice(t+1))}}else for(t--;r[t].level!==n.level&&"link_open"!==r[t].type;)t--}function q4(e){e.core.ruler.push("linkify",$4)}var U4,Cr=cI(42838),z4=cI.n(Cr);z4().addHook&&z4().addHook("beforeSanitizeElements",function(e){return e.href&&e.setAttribute("rel","noopener noreferrer"),e});function V4(e,{useUnsafeMarkdown:t=!1}={}){var r=t,n=t?[]:["style","class"];return t&&!V4.hasWarnedAboutDeprecation&&(console.warn("useUnsafeMarkdown display configuration parameter is deprecated since >3.26.0 and will be removed in v4.0.0."),V4.hasWarnedAboutDeprecation=!0),z4().sanitize(e,{ADD_ATTR:["target"],FORBID_TAGS:["style","form"],ALLOW_DATA_ATTR:r,FORBID_ATTR:n})}class K4 extends ae.Component{render(){const{errSelectors:e,specSelectors:t,getComponent:r}=this.props,n=r("SvgAssets"),s=r("InfoContainer",!0),o=r("VersionPragmaFilter"),i=r("operations",!0),a=r("Models",!0),l=r("Webhooks",!0),c=r("Row"),u=r("Col"),p=r("errors",!0),h=r("ServersContainer",!0),d=r("SchemesContainer",!0),f=r("AuthorizeBtnContainer",!0),m=r("FilterContainer",!0),g=t.isSwagger2(),y=t.isOAS3(),v=t.isOAS31(),b=!t.specStr(),w=t.loadingStatus();let E=null;if("loading"===w&&(E=ae.createElement("div",{className:"info"},ae.createElement("div",{className:"loading-container"},ae.createElement("div",{className:"loading"})))),"failed"===w&&(E=ae.createElement("div",{className:"info"},ae.createElement("div",{className:"loading-container"},ae.createElement("h4",{className:"title"},"Failed to load API definition."),ae.createElement(p,null)))),"failedConfig"===w){const t=e.lastError(),r=t?t.get("message"):"";E=ae.createElement("div",{className:"info failed-config"},ae.createElement("div",{className:"loading-container"},ae.createElement("h4",{className:"title"},"Failed to load remote configuration."),ae.createElement("p",null,r)))}if(E=!E&&b?ae.createElement("h4",null,"No API definition provided."):E)return ae.createElement("div",{className:"swagger-ui"},ae.createElement("div",{className:"loading-container"},E));var x=t.servers(),S=t.schemes(),x=x&&x.size,S=S&&S.size,_=!!t.securityDefinitions();return ae.createElement("div",{className:"swagger-ui"},ae.createElement(n,null),ae.createElement(o,{isSwagger2:g,isOAS3:y,alsoShow:ae.createElement(p,null)},ae.createElement(p,null),ae.createElement(c,{className:"information-container"},ae.createElement(u,{mobile:12},ae.createElement(s,null))),x||S||_?ae.createElement("div",{className:"scheme-container"},ae.createElement(u,{className:"schemes wrapper",mobile:12},x||S?ae.createElement("div",{className:"schemes-server-container"},x?ae.createElement(h,null):null,S?ae.createElement(d,null):null):null,_?ae.createElement(f,null):null)):null,ae.createElement(m,null),ae.createElement(c,null,ae.createElement(u,{mobile:12,desktop:12},ae.createElement(i,null))),v&&ae.createElement(c,{className:"webhooks-container"},ae.createElement(u,{mobile:12,desktop:12},ae.createElement(l,null))),ae.createElement(c,null,ae.createElement(u,{mobile:12,desktop:12},ae.createElement(a,null)))))}}const W4=()=>({components:{App:NC,authorizationPopup:IC,authorizeBtn:TC,AuthorizeBtnContainer:MC,authorizeOperationBtn:RC,auths:DC,AuthItem:LC,authError:FC,oauth2:VC,apiKeyAuth:BC,basicAuth:$C,clear:KC,liveResponse:HC,InitializedInput:B3,info:z3,InfoContainer:V3,InfoUrl:q3,InfoBasePath:$3,Contact:W3,License:H3,JumpToPath:G3,CopyToClipboardBtn:Y3,onlineValidatorBadge:GC,operations:XC,operation:t3,OperationSummary:s3,OperationSummaryMethod:o3,OperationSummaryPath:i3,responses:l3,response:u3,ResponseExtension:({xKey:e,xVal:t})=>ae.createElement("div",{className:"response__extension"},e,": ",String(t)),responseBody:d3,parameters:f3,parameterRow:g3,execute:y3,headers:v3,errors:b3,contentType:_3,overview:L3,footer:X3,FilterContainer:Q3,ParamBody:ej,curl:tj,Property:({propKey:e,propVal:t,propClass:r})=>ae.createElement("span",{className:r},ae.createElement("br",null),e,": ",String(t)),TryItOutButton:rj,Markdown:function({source:e,className:t="",getConfigs:r=()=>({useUnsafeMarkdown:!1})}){if("string"!=typeof e)return null;const n=new v6({html:!0,typographer:!0,breaks:!0,linkTarget:"_blank"}).use(q4);n.core.ruler.disable(["replacements","smartquotes"]);var r=r()["useUnsafeMarkdown"],s=n.render(e),r=V4(s,{useUnsafeMarkdown:r});return e&&s&&r?ae.createElement("div",{className:le()(t,"markdown"),dangerouslySetInnerHTML:{__html:r}}):null},BaseLayout:K4,VersionPragmaFilter:nj,VersionStamp:({version:e})=>ae.createElement("small",null,ae.createElement("pre",{className:"version"}," ",e," ")),OperationExt:({extensions:e,getComponent:t})=>{let r=t("OperationExtRow");return ae.createElement("div",{className:"opblock-section"},ae.createElement("div",{className:"opblock-section-header"},ae.createElement("h4",null,"Extensions")),ae.createElement("div",{className:"table-container"},ae.createElement("table",null,ae.createElement("thead",null,ae.createElement("tr",null,ae.createElement("td",{className:"col_header"},"Field"),ae.createElement("td",{className:"col_header"},"Value"))),ae.createElement("tbody",null,e.entrySeq().map(([e,t])=>ae.createElement(r,{key:e+"-"+t,xKey:e,xVal:t}))))))},OperationExtRow:({xKey:e,xVal:t})=>{t=t?t.toJS?t.toJS():t:null;return ae.createElement("tr",null,ae.createElement("td",null,e),ae.createElement("td",null,JSON.stringify(t)))},ParameterExt:({xKey:e,xVal:t})=>ae.createElement("div",{className:"parameter__extension"},e,": ",String(t)),ParameterIncludeEmpty:m3,OperationTag:e3,OperationContainer:r3,OpenAPIVersion:({oasVersion:e})=>ae.createElement("small",{className:"version-stamp"},ae.createElement("pre",{className:"version"},"OAS ",e)),DeepLink:({enabled:e,path:t,text:r})=>ae.createElement("a",{className:"nostyle",onClick:e?e=>e.preventDefault():null,href:e?"#/"+t:null},ae.createElement("span",null,r)),SvgAssets:()=>ae.createElement("div",null,ae.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"svg-assets"},ae.createElement("defs",null,ae.createElement("symbol",{viewBox:"0 0 20 20",id:"unlocked"},ae.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"})),ae.createElement("symbol",{viewBox:"0 0 20 20",id:"locked"},ae.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"})),ae.createElement("symbol",{viewBox:"0 0 20 20",id:"close"},ae.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"})),ae.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow"},ae.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"})),ae.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-down"},ae.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"})),ae.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-up"},ae.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"})),ae.createElement("symbol",{viewBox:"0 0 24 24",id:"jump-to"},ae.createElement("path",{d:"M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"})),ae.createElement("symbol",{viewBox:"0 0 24 24",id:"expand"},ae.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"})),ae.createElement("symbol",{viewBox:"0 0 15 16",id:"copy"},ae.createElement("g",{transform:"translate(2, -1)"},ae.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"})))))),Example:function(e){const{example:t,showValue:r,getComponent:n}=e,s=n("Markdown",!0),o=n("HighlightCode",!0);return t?ae.createElement("div",{className:"example"},t.get("description")?ae.createElement("section",{className:"example__section"},ae.createElement("div",{className:"example__section-header"},"Example Description"),ae.createElement("p",null,ae.createElement(s,{source:t.get("description")}))):null,r&&t.has("value")?ae.createElement("section",{className:"example__section"},ae.createElement("div",{className:"example__section-header"},"Example Value"),ae.createElement(o,null,ut(t.get("value")))):null):null},ExamplesSelect:qC,ExamplesSelectValueRetainer:zC}}),J4=()=>({components:{...re}}),H4=()=>[Ss,FA,to,MO,RO,vl,Bs,Us,eo,ti,ki,W4,J4,LA,ur,DO,Ns,qs,no,xo,xC,SC,jC()],G4=(V4.hasWarnedAboutDeprecation=!1,$.Map)();function Y4(n){return(t,r)=>(...e)=>{if(r.getSystem().specSelectors.isOAS3()){const t=n(...e);return"function"==typeof t?t(r):t}return t(...e)}}const X4=Y4(Ai()(null)),Q4=Y4((e,t)=>e=>e.getSystem().specSelectors.findSchema(t)),Z4=Y4(()=>e=>{e=e.getSystem().specSelectors.specJson().getIn(["components","schemas"]);return $.Map.isMap(e)?e:G4}),e8=Y4(()=>e=>e.getSystem().specSelectors.specJson().hasIn(["servers",0])),t8=Y4(o(Fi,e=>e.getIn(["components","securitySchemes"])||null)),r8=(r,n)=>(e,...t)=>n.specSelectors.isOAS3()?n.oas3Selectors.validOperationMethods():r(...t),n8=X4,s8=X4,o8=X4,i8=X4,a8=X4,l8=(U4=o(e=>e,({specSelectors:e})=>e.securityDefinitions(),(e,t)=>{let i=(0,$.List)();return t&&t.entrySeq().forEach(([s,o])=>{var e=o.get("type");if("oauth2"===e&&o.get("flows").entrySeq().forEach(([e,t])=>{let r=(0,$.fromJS)({flow:e,authorizationUrl:t.get("authorizationUrl"),tokenUrl:t.get("tokenUrl"),scopes:t.get("scopes"),type:o.get("type"),description:o.get("description")});i=i.push(new $.Map({[s]:r.filter(e=>void 0!==e)}))}),"http"!==e&&"apiKey"!==e||(i=i.push(new $.Map({[s]:o}))),"openIdConnect"===e&&o.get("openIdConnectData")){let n=o.get("openIdConnectData");(n.get("grant_types_supported")||["authorization_code","implicit"]).forEach(e=>{let t=n.get("scopes_supported")&&n.get("scopes_supported").reduce((e,t)=>e.set(t,""),new $.Map),r=(0,$.fromJS)({flow:e,authorizationUrl:n.get("authorization_endpoint"),tokenUrl:n.get("token_endpoint"),scopes:t,type:"oauth2",openIdConnectUrl:o.get("openIdConnectUrl")});i=i.push(new $.Map({[s]:r.filter(e=>void 0!==e)}))})}}),i}),(r,n)=>(...e)=>{var t;return n.getSystem().specSelectors.isOAS3()?(t=n.getState().getIn(["spec","resolvedSubtrees","components","securitySchemes"]),U4(n,t,...e)):r(...e)});function c8(n){return(t,r)=>e=>"function"==typeof r.specSelectors?.isOAS3?r.specSelectors.isOAS3()?ae.createElement(n,q()({},e,r,{Ori:t})):ae.createElement(t,e):(console.warn("OAS3 wrapper: couldn't get spec"),null)}const u8=(0,$.Map)(),p8=()=>e=>{e=e.getSystem().specSelectors.specJson();return"string"==typeof(e=e.get("swagger"))&&"2.0"===e},h8=()=>e=>{e=e.getSystem().specSelectors.specJson();return"string"==typeof(e=e.get("openapi"))&&/^3\.0\.([0123])(?:-rc[012])?$/.test(e)},d8=()=>e=>e.getSystem().specSelectors.isOAS30();function f8(s){return(r,...n)=>e=>{if(e.specSelectors.isOAS3()){const t=s(r,...n);return"function"==typeof t?t(e):t}return null}}const m8=f8(()=>e=>e.specSelectors.specJson().get("servers",u8)),g8=(e,t)=>{var r=e.getIn(["resolvedSubtrees","components","schemas",t],null),e=e.getIn(["json","components","schemas",t],null);return r||e||null},y8=f8((e,{callbacks:t,specPath:o})=>e=>{const s=e.specSelectors.validOperationMethods();return $.Map.isMap(t)?t.reduce((e,t,n)=>{if(!$.Map.isMap(t))return e;t=t.reduce((e,t,r)=>{if(!$.Map.isMap(t))return e;t=t.entrySeq().filter(([e])=>s.includes(e)).map(([e,t])=>({operation:(0,$.Map)({operation:t}),method:e,path:r,callbackName:n,specPath:o.concat([n,r,e])}));return e.concat(t)},(0,$.List)());return e.concat(t)},(0,$.List)()).groupBy(e=>e.callbackName).map(e=>e.toArray()).toObject():{}}),v8=(e,t,r,n)=>{const s=e.getIn(["content",t])??(0,$.OrderedMap)(),o=s.get("schema",(0,$.OrderedMap)()).toJS(),i=void 0!==s.get("examples"),a=s.get("example"),l=i?s.getIn(["examples",r,"value"]):a;return ut(n.getSampleSchema(o,t,{includeWriteOnly:!0},l))};class b8 extends ae.Component{render(){const{link:e,name:t,getComponent:r}=this.props,n=r("Markdown",!0);var s,o=e.get("operationId")||e.get("operationRef"),i=e.get("parameters")&&e.get("parameters").toJS(),a=e.get("description");return ae.createElement("div",{className:"operation-link"},ae.createElement("div",{className:"description"},ae.createElement("b",null,ae.createElement("code",null,t)),a?ae.createElement(n,{source:a}):null),ae.createElement("pre",null,"Operation `",o,"`",ae.createElement("br",null),ae.createElement("br",null),"Parameters ",(s=0,("string"!=typeof(a=JSON.stringify(i,null,2))?"":a.split("\n").map((e,t)=>0<t?Array(s+1).join(" ")+e:e).join("\n"))||"{}"),ae.createElement("br",null)))}}class w8 extends ae.Component{render(){const{specSelectors:e,oas3Selectors:t,oas3Actions:r,getComponent:n}=this.props,s=e.servers(),o=n("Servers");return s&&s.size?ae.createElement("div",null,ae.createElement("span",{className:"servers-title"},"Servers"),ae.createElement(o,{servers:s,currentServer:t.selectedServer(),setSelectedServer:r.setSelectedServer,setServerVariableValue:r.setServerVariableValue,getServerVariable:t.serverVariableValue,getEffectiveServerValue:t.serverEffectiveValue})):null}}ds=Function.prototype;class E8 extends ae.PureComponent{static defaultProps={onChange:ds,userHasEditedBody:!1};constructor(e,t){super(e,t),this.state={value:ut(e.value)||e.defaultValue},e.onChange(e.value)}applyDefaultValue=e=>{const{onChange:t,defaultValue:r}=e||this.props;return this.setState({value:r}),t(r)};onChange=e=>{this.props.onChange(ut(e))};onDomChange=e=>{const t=e.target.value;this.setState({value:t},()=>this.onChange(t))};UNSAFE_componentWillReceiveProps(e){this.props.value!==e.value&&e.value!==this.state.value&&this.setState({value:ut(e.value)}),!e.value&&e.defaultValue&&this.state.value&&this.applyDefaultValue(e)}render(){let{getComponent:e,errors:t}=this.props,r=this.state["value"],n=0<t.size;var s=e("TextArea");return ae.createElement("div",{className:"body-param"},ae.createElement(s,{className:le()("body-param__text",{invalid:n}),title:t.size?t.join(", "):"",value:r,onChange:this.onDomChange}))}}class x8 extends ae.Component{constructor(e,t){super(e,t);var{name:e,schema:t}=this.props,r=this.getValue();this.state={name:e,schema:t,value:r}}getValue(){let{name:e,authorized:t}=this.props;return t&&t.getIn([e,"value"])}onChange=e=>{let t=this.props["onChange"],{value:r,name:n}=e.target,s=Object.assign({},this.state.value);n?s[n]=r:s=r,this.setState({value:s},()=>t(this.state))};render(){let{schema:e,getComponent:t,errSelectors:r,name:n}=this.props;const s=t("Input"),o=t("Row"),i=t("Col"),a=t("authError"),l=t("Markdown",!0),c=t("JumpToPath",!0),u=(e.get("scheme")||"").toLowerCase();let p=this.getValue(),h=r.allErrors().filter(e=>e.get("authId")===n);var d;return"basic"===u?(d=p?p.get("username"):null,ae.createElement("div",null,ae.createElement("h4",null,ae.createElement("code",null,n||e.get("name"))," (http, Basic)",ae.createElement(c,{path:["securityDefinitions",n]})),d&&ae.createElement("h6",null,"Authorized"),ae.createElement(o,null,ae.createElement(l,{source:e.get("description")})),ae.createElement(o,null,ae.createElement("label",{htmlFor:"auth-basic-username"},"Username:"),d?ae.createElement("code",null," ",d," "):ae.createElement(i,null,ae.createElement(s,{id:"auth-basic-username",type:"text",required:"required",name:"username","aria-label":"auth-basic-username",onChange:this.onChange,autoFocus:!0}))),ae.createElement(o,null,ae.createElement("label",{htmlFor:"auth-basic-password"},"Password:"),d?ae.createElement("code",null," ****** "):ae.createElement(i,null,ae.createElement(s,{id:"auth-basic-password",autoComplete:"new-password",name:"password",type:"password","aria-label":"auth-basic-password",onChange:this.onChange}))),h.valueSeq().map((e,t)=>ae.createElement(a,{error:e,key:t})))):"bearer"===u?ae.createElement("div",null,ae.createElement("h4",null,ae.createElement("code",null,n||e.get("name"))," (http, Bearer)",ae.createElement(c,{path:["securityDefinitions",n]})),p&&ae.createElement("h6",null,"Authorized"),ae.createElement(o,null,ae.createElement(l,{source:e.get("description")})),ae.createElement(o,null,ae.createElement("label",{htmlFor:"auth-bearer-value"},"Value:"),p?ae.createElement("code",null," ****** "):ae.createElement(i,null,ae.createElement(s,{id:"auth-bearer-value",type:"text","aria-label":"auth-bearer-value",onChange:this.onChange,autoFocus:!0}))),h.valueSeq().map((e,t)=>ae.createElement(a,{error:e,key:t}))):ae.createElement("div",null,ae.createElement("em",null,ae.createElement("b",null,n)," HTTP authentication: unsupported scheme ",`'${u}'`))}}class S8 extends ae.Component{setSelectedServer=e=>{var{path:t,method:r}=this.props;return this.forceUpdate(),this.props.setSelectedServer(e,t+":"+r)};setServerVariableValue=e=>{var{path:t,method:r}=this.props;return this.forceUpdate(),this.props.setServerVariableValue({...e,namespace:t+":"+r})};getSelectedServer=()=>{var{path:e,method:t}=this.props;return this.props.getSelectedServer(e+":"+t)};getServerVariable=(e,t)=>{var{path:r,method:n}=this.props;return this.props.getServerVariable({namespace:r+":"+n,server:e},t)};getEffectiveServerValue=e=>{var{path:t,method:r}=this.props;return this.props.getEffectiveServerValue({server:e,namespace:t+":"+r})};render(){const{operationServers:e,pathServers:t,getComponent:r}=this.props;if(!e&&!t)return null;var n=r("Servers"),s=e||t,o=e?"operation":"path";return ae.createElement("div",{className:"opblock-section operation-servers"},ae.createElement("div",{className:"opblock-section-header"},ae.createElement("div",{className:"tab-header"},ae.createElement("h4",{className:"opblock-title"},"Servers"))),ae.createElement("div",{className:"opblock-description-wrapper"},ae.createElement("h4",{className:"message"},"These ",o,"-level options override the global server options."),ae.createElement(n,{servers:s,currentServer:this.getSelectedServer(),setSelectedServer:this.setSelectedServer,setServerVariableValue:this.setServerVariableValue,getServerVariable:this.getServerVariable,getEffectiveServerValue:this.getEffectiveServerValue})))}}const _8={Callbacks:({callbacks:e,specPath:t,specSelectors:r,getComponent:n})=>{const s=r.callbacksOperations({callbacks:e,specPath:t}),o=Object.keys(s),i=n("OperationContainer",!0);return 0===o.length?ae.createElement("span",null,"No callbacks"):ae.createElement("div",null,o.map(t=>ae.createElement("div",{key:""+t},ae.createElement("h2",null,t),s[t].map(e=>ae.createElement(i,{key:`${t}-${e.path}-`+e.method,op:e.operation,tag:"callbacks",method:e.method,path:e.path,specPath:e.specPath,allowTryItOut:!1})))))},HttpAuth:x8,RequestBody:({userHasEditedBody:h,requestBody:d,requestBodyValue:f,requestBodyInclusionSetting:m,requestBodyErrors:g,getComponent:y,getConfigs:e,specSelectors:t,fn:v,contentType:n,isExecute:b,specPath:r,onChange:w,onChangeIncludeEmpty:E,activeExamplesKey:s,updateActiveExamplesKey:o,setRetainRequestBodyValueFlag:i})=>{const x=y("Markdown",!0),a=y("modelExample"),l=y("RequestBodyEditor"),c=y("HighlightCode",!0),u=y("ExamplesSelectValueRetainer"),p=y("Example"),S=y("ParameterIncludeEmpty"),_=e()["showCommonExtensions"],k=d?.get("description")??null,A=d?.get("content")??new $.OrderedMap,O=(n=n||A.keySeq().first()||"",A.get(n)??(0,$.OrderedMap)()),C=O.get("schema",(0,$.OrderedMap)()),j=O.get("examples",null),P=j?.map((e,t)=>{var r=e?.get("value",null);return e=r?e.set("value",v8(d,n,t,v),r):e});if(g=$.List.isList(g)?g:(0,$.List)(),!O.size)return null;var N="object"===O.getIn(["schema","type"]),I="binary"===O.getIn(["schema","format"]),T="base64"===O.getIn(["schema","format"]);if("application/octet-stream"===n||0===n.indexOf("image/")||0===n.indexOf("audio/")||0===n.indexOf("video/")||I||T){const h=y("Input");return b?ae.createElement(h,{type:"file",onChange:e=>{w(e.target.files[0])}}):ae.createElement("i",null,"Example values are not available for ",ae.createElement("code",null,n)," media types.")}if(N&&("application/x-www-form-urlencoded"===n||0===n.indexOf("multipart/"))&&0<C.get("properties",(0,$.OrderedMap)()).size){const h=y("JsonSchemaForm"),d=y("ParameterExt"),e=C.get("properties",(0,$.OrderedMap)());return f=$.Map.isMap(f)?f:(0,$.OrderedMap)(),ae.createElement("div",{className:"table-container"},k&&ae.createElement(x,{source:k}),ae.createElement("table",null,ae.createElement("tbody",null,$.Map.isMap(e)&&e.entrySeq().map(([r,n])=>{if(!n.get("readOnly")){var s=n.get("oneOf")?.get(0)?.toJS(),o=n.get("anyOf")?.get(0)?.toJS();n=(0,$.fromJS)(v.mergeJsonSchema(n.toJS(),s??o??{}));let e=_?ct(n):null;var s=C.get("required",(0,$.List)()).includes(r),o=n.get("type"),i=n.get("format"),a=n.get("description"),l=f.getIn([r,"value"]),c=f.getIn([r,"errors"])||g,u=m.get(r)||!1;let t=v.getSampleSchema(n,!1,{includeWriteOnly:!0});"string"==typeof(t="string"!=typeof(t=0===(t=!1===t?"false":t)?"0":t)&&"object"===o?ut(t):t)&&"array"===o&&(t=JSON.parse(t));var p="string"===o&&("binary"===i||"base64"===i);return ae.createElement("tr",{key:r,className:"parameters","data-property-name":r},ae.createElement("td",{className:"parameters-col_name"},ae.createElement("div",{className:s?"parameter__name required":"parameter__name"},r,s?ae.createElement("span",null," *"):null),ae.createElement("div",{className:"parameter__type"},o,i&&ae.createElement("span",{className:"prop-format"},"($",i,")"),_&&e.size?e.entrySeq().map(([e,t])=>ae.createElement(d,{key:e+"-"+t,xKey:e,xVal:t})):null),ae.createElement("div",{className:"parameter__deprecated"},n.get("deprecated")?"deprecated":null)),ae.createElement("td",{className:"parameters-col_description"},ae.createElement(x,{source:a}),b?ae.createElement("div",null,ae.createElement(h,{fn:v,dispatchInitialValue:!p,schema:n,description:r,getComponent:y,value:void 0===l?t:l,required:s,errors:c,onChange:e=>{w(e,[r])}}),s?null:ae.createElement(S,{onChange:e=>E(r,e),isIncluded:u,isIncludedOptions:(e=>{let t={key:e,shouldDispatchInit:!1,defaultValue:!0};return"no value"===m.get(e,"no value")&&(t.shouldDispatchInit=!0),t})(r),isDisabled:Array.isArray(l)?0!==l.length:!ft(l)})):null))}}))))}I=v8(d,n,s,v);let M=null;return c3(I)&&(M="json"),ae.createElement("div",null,k&&ae.createElement(x,{source:k}),P?ae.createElement(u,{userHasEditedBody:h,examples:P,currentKey:s,currentUserInputValue:f,onSelect:e=>{o(e)},updateValue:w,defaultToFirstExample:!0,getComponent:y,setRetainRequestBodyValueFlag:i}):null,b?ae.createElement("div",null,ae.createElement(l,{value:f,errors:g,defaultValue:I,onChange:w,getComponent:y})):ae.createElement(a,{getComponent:y,getConfigs:e,specSelectors:t,expandDepth:1,isExecute:b,schema:O.get("schema"),specPath:r.push("content",n),example:ae.createElement(c,{className:"body-param__example",language:M},ut(f)||I),includeWriteOnly:!0}),P?ae.createElement(p,{example:P.get(s),getComponent:y,getConfigs:e}):null)},Servers:({servers:t,currentServer:r,setSelectedServer:n,setServerVariableValue:s,getServerVariable:o,getEffectiveServerValue:e})=>{const i=(t.find(e=>e.get("url")===r)||(0,$.OrderedMap)()).get("variables")||(0,$.OrderedMap)(),a=0!==i.size,l=((0,ae.useEffect)(()=>{r||n(t.first()?.get("url"))},[]),(0,ae.useEffect)(()=>{const e=t.find(e=>e.get("url")===r);e?(e.get("variables")||(0,$.OrderedMap)()).map((e,t)=>{s({server:r,key:t,val:e.get("default")||""})}):n(t.first().get("url"))},[r,t]),(0,ae.useCallback)(e=>{n(e.target.value)},[n])),c=(0,ae.useCallback)(e=>{var t=e.target.getAttribute("data-variable"),e=e.target.value;s({server:r,key:t,val:e})},[s,r]);return ae.createElement("div",{className:"servers"},ae.createElement("label",{htmlFor:"servers"},ae.createElement("select",{onChange:l,value:r,id:"servers"},t.valueSeq().map(e=>ae.createElement("option",{value:e.get("url"),key:e.get("url")},e.get("url"),e.get("description")&&" - "+e.get("description"))).toArray())),a&&ae.createElement("div",null,ae.createElement("div",{className:"computed-url"},"Computed URL:",ae.createElement("code",null,e(r))),ae.createElement("h4",null,"Server variables"),ae.createElement("table",null,ae.createElement("tbody",null,i.entrySeq().map(([t,e])=>ae.createElement("tr",{key:t},ae.createElement("td",null,t),ae.createElement("td",null,e.get("enum")?ae.createElement("select",{"data-variable":t,onChange:c},e.get("enum").map(e=>ae.createElement("option",{selected:e===o(r,t),key:e,value:e},e))):ae.createElement("input",{type:"text",value:o(r,t)||"",onChange:c,"data-variable":t}))))))))},ServersContainer:w8,RequestBodyEditor:E8,OperationServers:S8,operationLink:b8},k8=new v6("commonmark");k8.block.ruler.enable(["table"]),k8.set({linkTarget:"_blank"});var A8,Mr=c8(({source:t,className:r="",getConfigs:n=()=>({useUnsafeMarkdown:!1})})=>{if("string"!=typeof t)return null;if(t){const s=n()["useUnsafeMarkdown"],o=V4(k8.render(t),{useUnsafeMarkdown:s});let e;return"string"==typeof o&&(e=o.trim()),ae.createElement("div",{dangerouslySetInnerHTML:{__html:e},className:le()(r,"renderedMarkdown")})}return null}),Ar=c8(({Ori:e,...t})=>{const{schema:r,getComponent:n,errSelectors:s,authorized:o,onAuthChange:i,name:a}=t,l=n("HttpAuth");return"http"===r.get("type")?ae.createElement(l,{key:a,schema:r,name:a,errSelectors:s,authorized:o,getComponent:n,onChange:i}):ae.createElement(e,t)}),N1=c8(GC);class O8 extends ae.Component{render(){let{getConfigs:e,schema:t,Ori:r}=this.props,n=["model-box"],s=null;return!0===t.get("deprecated")&&(n.push("deprecated"),s=ae.createElement("span",{className:"model-deprecated-warning"},"Deprecated:")),ae.createElement("div",{className:n.join(" ")},s,ae.createElement(r,q()({},this.props,{getConfigs:e,depth:1,expandDepth:this.props.expandDepth||0})))}}const C8=c8(O8),j8=c8(({Ori:e,...t})=>{const{schema:r,getComponent:n,errors:s,onChange:o}=t,i=r&&r.get?r.get("format"):null,a=r&&r.get?r.get("type"):null,l=n("Input");return a&&"string"===a&&i&&("binary"===i||"base64"===i)?ae.createElement(l,{type:"file",className:s.length?"invalid":"",title:s.length?s:"",onChange:e=>{o(e.target.files[0])},disabled:e.isDisabled}):ae.createElement(e,t)}),P8={Markdown:Mr,AuthItem:Ar,OpenAPIVersion:(A8=e=>{e=e.Ori;return ae.createElement(e,{oasVersion:"3.0"})},(t,r)=>e=>"function"==typeof r.specSelectors?.isOAS30?r.specSelectors.isOAS30()?ae.createElement(A8,q()({},e,r,{Ori:t})):ae.createElement(t,e):(console.warn("OAS30 wrapper: couldn't get spec"),null)),JsonSchema_string:j8,model:C8,onlineValidatorBadge:N1},N8="oas3_set_servers",I8="oas3_set_request_body_value",T8="oas3_set_request_body_retain_flag",M8="oas3_set_request_body_inclusion",R8="oas3_set_active_examples_member",D8="oas3_set_request_content_type",L8="oas3_set_response_content_type",F8="oas3_set_server_variable_value",B8="oas3_set_request_body_validate_error",$8="oas3_clear_request_body_validate_error",q8="oas3_clear_request_body_value";const U8=({value:e,pathMethod:t})=>({type:T8,payload:{value:e,pathMethod:t}});const z8=({path:e,method:t,validationErrors:r})=>({type:B8,payload:{path:e,method:t,validationErrors:r}}),V8=({path:e,method:t})=>({type:$8,payload:{path:e,method:t}}),K8=({pathMethod:e})=>({type:$8,payload:{path:e[0],method:e[1]}}),W8=({pathMethod:e})=>({type:q8,payload:{pathMethod:e}});var J8,tw=cI(60680),H8=cI.n(tw),Xw=s=>(r,...n)=>e=>{if(e.getSystem().specSelectors.isOAS3()){const t=s(r,...n);return"function"==typeof t?t(e):t}return null};const G8=Xw((e,t)=>{return e.getIn(t?[t,"selectedServer"]:["selectedServer"])||""}),Y8=Xw((e,t,r)=>e.getIn(["requestData",t,r,"bodyValue"])||null),X8=Xw((e,t,r)=>e.getIn(["requestData",t,r,"retainBodyValue"])||!1),Q8=(e,s,o)=>e=>{const{oas3Selectors:t,specSelectors:r,fn:n}=e.getSystem();if(r.isOAS3()){const e=t.requestContentType(s,o);if(e)return v8(r.specResolvedSubtree(["paths",s,o,"requestBody"]),e,t.activeExamplesMember(s,o,"requestBody","requestBody"),n)}return null},Z8=Xw((e,l,c)=>e=>{const{oas3Selectors:t,specSelectors:r,fn:n}=e;let s=!1;var o=t.requestContentType(l,c);let i=t.requestBodyValue(l,c);var a=r.specResolvedSubtree(["paths",l,c,"requestBody"]);if(!a)return!1;if($.Map.isMap(i)&&(i=ut(i.mapEntries(e=>$.Map.isMap(e[1])?[e[0],e[1].get("value")]:e).toJS())),$.List.isList(i)&&(i=ut(i)),o){const e=v8(a,o,t.activeExamplesMember(l,c,"requestBody","requestBody"),n);s=!!i&&i!==e}return s}),e5=Xw((e,t,r)=>e.getIn(["requestData",t,r,"bodyInclusion"])||(0,$.Map)()),t5=Xw((e,t,r)=>e.getIn(["requestData",t,r,"errors"])||null),r5=Xw((e,t,r,n,s)=>e.getIn(["examples",t,r,n,s,"activeExample"])||null),n5=Xw((e,t,r)=>e.getIn(["requestData",t,r,"requestContentType"])||null),s5=Xw((e,t,r)=>e.getIn(["requestData",t,r,"responseContentType"])||null),o5=Xw((e,t,r)=>{let n;if("string"!=typeof t){const{server:e,namespace:s}=t;n=s?[s,"serverVariableValues",e,r]:["serverVariableValues",e,r]}else n=["serverVariableValues",t,r];return e.getIn(n)||null}),i5=Xw((e,t)=>{let r;if("string"!=typeof t){const{server:e,namespace:n}=t;r=n?[n,"serverVariableValues",e]:["serverVariableValues",e]}else r=["serverVariableValues",t];return e.getIn(r)||(0,$.OrderedMap)()}),a5=Xw((e,t)=>{var r,n;if("string"!=typeof t){const{server:s,namespace:o}=t;n=s,r=o?e.getIn([o,"serverVariableValues",n]):e.getIn(["serverVariableValues",n])}else r=e.getIn(["serverVariableValues",n=t]);r=r||(0,$.OrderedMap)();let s=n;return r.map((e,t)=>{s=s.replace(new RegExp(`{${H8()(t)}}`,"g"),e)}),s}),l5=(J8=(e,t)=>(()=>!!e.getIn(["requestData",...t||[],"bodyValue"]))(),(...r)=>e=>{const t=e.getSystem().specSelectors.specJson();e=[...r][1]||[];return!t.getIn(["paths",...e,"requestBody","required"])||J8(...r)}),c5=(e,{oas3RequiredRequestBodyContentType:t,oas3RequestContentType:r,oas3RequestBodyValue:n})=>{let s=[];if(!$.Map.isMap(n))return s;let o=[];return Object.keys(t.requestContentType).forEach(e=>{e===r&&t.requestContentType[e].forEach(e=>{o.indexOf(e)<0&&o.push(e)})}),o.forEach(e=>{n.getIn([e,"value"])||s.push(e)}),s},u5=Ai()(["get","put","post","delete","options","head","patch","trace"]),p5={[N8]:(e,{payload:{selectedServerUrl:t,namespace:r}})=>{return e.setIn(r?[r,"selectedServer"]:["selectedServer"],t)},[I8]:(e,{payload:{value:r,pathMethod:t}})=>{var[t,n]=t;if(!$.Map.isMap(r))return e.setIn(["requestData",t,n,"bodyValue"],r);let s,o=e.getIn(["requestData",t,n,"bodyValue"])||(0,$.Map)();$.Map.isMap(o)||(o=(0,$.Map)());const[...i]=r.keys();return i.forEach(e=>{var t=r.getIn([e]);o.has(e)&&$.Map.isMap(t)||(s=o.setIn([e,"value"],t))}),e.setIn(["requestData",t,n,"bodyValue"],s)},[T8]:(e,{payload:{value:t,pathMethod:r}})=>{var[r,n]=r;return e.setIn(["requestData",r,n,"retainBodyValue"],t)},[M8]:(e,{payload:{value:t,pathMethod:r,name:n}})=>{var[r,s]=r;return e.setIn(["requestData",r,s,"bodyInclusion",n],t)},[R8]:(e,{payload:{name:t,pathMethod:r,contextType:n,contextName:s}})=>{var[r,o]=r;return e.setIn(["examples",r,o,n,s,"activeExample"],t)},[D8]:(e,{payload:{value:t,pathMethod:r}})=>{var[r,n]=r;return e.setIn(["requestData",r,n,"requestContentType"],t)},[L8]:(e,{payload:{value:t,path:r,method:n}})=>e.setIn(["requestData",r,n,"responseContentType"],t),[F8]:(e,{payload:{server:t,namespace:r,key:n,val:s}})=>{return e.setIn(r?[r,"serverVariableValues",t,n]:["serverVariableValues",t,n],s)},[B8]:(e,{payload:{path:t,method:r,validationErrors:n}})=>{let s=[];if(s.push("Required field is not provided"),n.missingBodyValue)return e.setIn(["requestData",t,r,"errors"],(0,$.fromJS)(s));if(n.missingRequiredKeys&&0<n.missingRequiredKeys.length){const o=n["missingRequiredKeys"];return e.updateIn(["requestData",t,r,"bodyValue"],(0,$.fromJS)({}),e=>o.reduce((e,t)=>e.setIn([t,"errors"],(0,$.fromJS)(s)),e))}return console.warn("unexpected result: SET_REQUEST_BODY_VALIDATE_ERROR"),e},[$8]:(e,{payload:{path:t,method:r}})=>{const n=e.getIn(["requestData",t,r,"bodyValue"]);if(!$.Map.isMap(n))return e.setIn(["requestData",t,r,"errors"],(0,$.fromJS)([]));const[...s]=n.keys();return s?e.updateIn(["requestData",t,r,"bodyValue"],(0,$.fromJS)({}),e=>s.reduce((e,t)=>e.setIn([t,"errors"],(0,$.fromJS)([])),e)):e},[q8]:(e,{payload:{pathMethod:t}})=>{var[t,r]=t,n=e.getIn(["requestData",t,r,"bodyValue"]);return n?$.Map.isMap(n)?e.setIn(["requestData",t,r,"bodyValue"],(0,$.Map)()):e.setIn(["requestData",t,r,"bodyValue"],""):e}};function h5(){return{components:_8,wrapComponents:P8,statePlugins:{spec:{wrapSelectors:ne,selectors:oe},auth:{wrapSelectors:se},oas3:{actions:{...ie},reducers:p5,selectors:{...pe}}}}}const d5=({specSelectors:e,getComponent:t})=>{const r=e.selectWebhooksOperations(),n=Object.keys(r),s=t("OperationContainer",!0);return 0===n.length?null:ae.createElement("div",{className:"webhooks"},ae.createElement("h2",null,"Webhooks"),n.map(t=>ae.createElement("div",{key:t+"-webhook"},r[t].map(e=>ae.createElement(s,{key:`${t}-${e.method}-webhook`,op:e.operation,tag:"webhooks",method:e.method,path:t,specPath:(0,$.List)(e.specPath),allowTryItOut:!1})))))},f5=({getComponent:e,specSelectors:t})=>{var r=t.selectLicenseNameField(),t=t.selectLicenseUrl(),e=e("Link");return ae.createElement("div",{className:"info__license"},t?ae.createElement("div",{className:"info__license__url"},ae.createElement(e,{target:"_blank",href:st(t)},r)):ae.createElement("span",null,r))},m5=({getComponent:e,specSelectors:t})=>{var r=t.selectContactNameField(),n=t.selectContactUrl(),t=t.selectContactEmailField(),e=e("Link");return ae.createElement("div",{className:"info__contact"},n&&ae.createElement("div",null,ae.createElement(e,{href:st(n),target:"_blank"},r," - Website")),t&&ae.createElement(e,{href:st("mailto:"+t)},n?"Send email to "+r:"Contact "+r))},g5=({getComponent:e,specSelectors:t})=>{var r=t.version(),n=t.url(),s=t.basePath(),o=t.host(),i=t.selectInfoSummaryField(),a=t.selectInfoDescriptionField(),l=t.selectInfoTitleField(),c=t.selectInfoTermsOfServiceUrl(),u=t.selectExternalDocsUrl(),p=t.selectExternalDocsDescriptionField(),h=t.contact(),t=t.license(),d=e("Markdown",!0),f=e("Link"),m=e("VersionStamp"),g=e("OpenAPIVersion"),y=e("InfoUrl"),v=e("InfoBasePath"),b=e("License",!0),w=e("Contact",!0),E=e("JsonSchemaDialect",!0);return ae.createElement("div",{className:"info"},ae.createElement("hgroup",{className:"main"},ae.createElement("h2",{className:"title"},l,ae.createElement("span",null,r&&ae.createElement(m,{version:r}),ae.createElement(g,{oasVersion:"3.1"}))),(o||s)&&ae.createElement(v,{host:o,basePath:s}),n&&ae.createElement(y,{getComponent:e,url:n})),i&&ae.createElement("p",{className:"info__summary"},i),ae.createElement("div",{className:"info__description description"},ae.createElement(d,{source:a})),c&&ae.createElement("div",{className:"info__tos"},ae.createElement(f,{target:"_blank",href:st(c)},"Terms of service")),0<h.size&&ae.createElement(w,null),0<t.size&&ae.createElement(b,null),u&&ae.createElement(f,{className:"info__extdocs",target:"_blank",href:st(u)},p||u),ae.createElement(E,null))},y5=({getComponent:e,specSelectors:t})=>{var r=t.selectJsonSchemaDialectField(),t=t.selectJsonSchemaDialectDefault(),e=e("Link");return ae.createElement(ae.Fragment,null,r&&r===t&&ae.createElement("p",{className:"info__jsonschemadialect"},"JSON Schema dialect:"," ",ae.createElement(e,{target:"_blank",href:st(r)},r)),r&&r!==t&&ae.createElement("div",{className:"error-wrapper"},ae.createElement("div",{className:"no-margin"},ae.createElement("div",{className:"errors"},ae.createElement("div",{className:"errors-wrapper"},ae.createElement("h4",{className:"center"},"Warning"),ae.createElement("p",{className:"message"},ae.createElement("strong",null,"OpenAPI.jsonSchemaDialect")," field contains a value different from the default value of"," ",ae.createElement(e,{target:"_blank",href:t},t),". Values different from the default one are currently not supported. Please either omit the field or provide it with the default value."))))))},v5=({bypass:e,isSwagger2:t,isOAS3:r,isOAS31:n,alsoShow:s,children:o})=>e?ae.createElement("div",null,o):t&&(r||n)?ae.createElement("div",{className:"version-pragma"},s,ae.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},ae.createElement("div",null,ae.createElement("h3",null,"Unable to render this definition"),ae.createElement("p",null,ae.createElement("code",null,"swagger")," and ",ae.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),ae.createElement("p",null,"Supported version fields are ",ae.createElement("code",null,'swagger: "2.0"')," and those that match ",ae.createElement("code",null,"openapi: 3.x.y")," (for example,"," ",ae.createElement("code",null,"openapi: 3.1.0"),").")))):t||r||n?ae.createElement("div",null,o):ae.createElement("div",{className:"version-pragma"},s,ae.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},ae.createElement("div",null,ae.createElement("h3",null,"Unable to render this definition"),ae.createElement("p",null,"The provided definition does not specify a valid version field."),ae.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",ae.createElement("code",null,'swagger: "2.0"')," and those that match ",ae.createElement("code",null,"openapi: 3.x.y")," (for example,"," ",ae.createElement("code",null,"openapi: 3.1.0"),").")))),b5=(0,ae.forwardRef)(({schema:e,getComponent:t,onToggle:r=()=>{}},n)=>{const s=t("JSONSchema202012"),o=(e=>{if("string"!=typeof e||!e.includes("#/components/schemas/"))return null;e=e.replace(/^.*#\/components\/schemas\//,"").replace(/~1/g,"/").replace(/~0/g,"~");try{return decodeURIComponent(e)}catch{return e}})(e.get("$$ref")),i=(0,ae.useCallback)((e,t)=>{r(o,t)},[o,r]);return ae.createElement(s,{name:o,schema:e.toJS(),ref:n,onExpand:i})}),w5=b5,E5=({specActions:o,specSelectors:i,layoutSelectors:e,layoutActions:a,getComponent:t,getConfigs:r,fn:n})=>{const s=i.selectSchemas(),l=0<Object.keys(s).length,c=["components","schemas"],{docExpansion:u,defaultModelsExpandDepth:p}=r(),h=0<p&&"none"!==u,d=e.isShown(c,h),f=t("Collapse"),m=t("JSONSchema202012"),g=t("ArrowUpIcon"),y=t("ArrowDownIcon"),v=n.jsonSchema202012.useFn()["getTitle"],b=((0,ae.useEffect)(()=>{var e=d&&1<p,t=null!=i.specResolvedSubtree(c);e&&!t&&o.requestResolvedSubtree(c)},[d,p]),(0,ae.useCallback)(()=>{a.show(c,!d)},[d])),w=(0,ae.useCallback)(e=>{null!==e&&a.readyToScroll(c,e)},[]);return!l||p<0?null:ae.createElement("section",{className:le()("models",{"is-open":d}),ref:w},ae.createElement("h4",null,ae.createElement("button",{"aria-expanded":d,className:"models-control",onClick:b},ae.createElement("span",null,"Schemas"),d?ae.createElement(g,null):ae.createElement(y,null))),ae.createElement(f,{isOpened:d},Object.entries(s).map(([e,t])=>{var r,n,s=v(t,{lookup:"basic"})||e;return ae.createElement(m,{key:e,ref:e=>{null!==e&&a.readyToScroll([...c,n],e)},schema:t,name:s,onExpand:(r=n=e,(e,t)=>{if(t){const e=[...c,r];null==i.specResolvedSubtree(e)&&o.requestResolvedSubtree([...c,r])}})})})))},x5=({schema:e,getComponent:t})=>{t=t("JumpToPath",!0);return ae.createElement("div",null,ae.createElement("h4",null,e.get("name")," (mutualTLS)"," ",ae.createElement(t,{path:["securityDefinitions",e.get("name")]})),ae.createElement("p",null,"Mutual TLS is required by this API/Operation. Certificates are managed via your Operating System and/or your browser."),ae.createElement("p",null,e.get("description")))};class S5 extends ae.Component{constructor(e,t){super(e,t),this.state={}}onAuthChange=e=>{var t=e["name"];this.setState({[t]:e})};submitAuth=e=>{e.preventDefault();let t=this.props["authActions"];t.authorizeWithPersistOption(this.state)};logoutClick=e=>{e.preventDefault();let{authActions:t,definitions:r}=this.props,n=r.map((e,t)=>t).toArray();this.setState(n.reduce((e,t)=>(e[t]="",e),{})),t.logoutWithPersistOption(n)};close=e=>{e.preventDefault();let t=this.props["authActions"];t.showDefinitions(!1)};render(){let{definitions:e,getComponent:r,authSelectors:t,errSelectors:n}=this.props;const s=r("AuthItem"),o=r("oauth2",!0),i=r("Button"),a=t.authorized(),l=e.filter((e,t)=>!!a.get(t)),c=e.filter(e=>"oauth2"!==e.get("type")&&"mutualTLS"!==e.get("type")),u=e.filter(e=>"oauth2"===e.get("type")),p=e.filter(e=>"mutualTLS"===e.get("type"));return ae.createElement("div",{className:"auth-container"},0<c.size&&ae.createElement("form",{onSubmit:this.submitAuth},c.map((e,t)=>ae.createElement(s,{key:t,schema:e,name:t,getComponent:r,onAuthChange:this.onAuthChange,authorized:a,errSelectors:n})).toArray(),ae.createElement("div",{className:"auth-btn-wrapper"},c.size===l.size?ae.createElement(i,{className:"btn modal-btn auth",onClick:this.logoutClick,"aria-label":"Remove authorization"},"Logout"):ae.createElement(i,{type:"submit",className:"btn modal-btn auth authorize","aria-label":"Apply credentials"},"Authorize"),ae.createElement(i,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),0<u.size?ae.createElement("div",null,ae.createElement("div",{className:"scope-def"},ae.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."),ae.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),e.filter(e=>"oauth2"===e.get("type")).map((e,t)=>ae.createElement("div",{key:t},ae.createElement(o,{authorized:a,schema:e,name:t}))).toArray()):null,0<p.size&&ae.createElement("div",null,p.map((e,t)=>ae.createElement(s,{key:t,schema:e,name:t,getComponent:r,onAuthChange:this.onAuthChange,authorized:a,errSelectors:n})).toArray()))}}const _5=S5,k5=e=>{e=e.get("openapi");return"string"==typeof e&&/^3\.1\.(?:[1-9]\d*|0)$/.test(e)},A5=s=>(r,...n)=>e=>{if(e.getSystem().specSelectors.isOAS31()){const t=s(r,...n);return"function"==typeof t?t(e):t}return null},O5=o=>(n,s)=>(e,...t)=>{if(s.getSystem().specSelectors.isOAS31()){const r=o(e,...t);return"function"==typeof r?r(n,s):r}return n(...t)},C5=s=>(r,...n)=>e=>{const t=s(r,e,...n);return"function"==typeof t?t(e):t},j5=n=>(t,r)=>e=>r.specSelectors.isOAS31()?ae.createElement(n,q()({},e,{originalComponent:t,getSystem:r.getSystem})):ae.createElement(t,e),P5=j5(({getSystem:e})=>{e=e().getComponent("OAS31License",!0);return ae.createElement(e,null)}),N5=j5(({getSystem:e})=>{e=e().getComponent("OAS31Contact",!0);return ae.createElement(e,null)}),I5=j5(({getSystem:e})=>{e=e().getComponent("OAS31Info",!0);return ae.createElement(e,null)}),T5=j5(({getSystem:e,...t})=>{const r=e(),{getComponent:n,fn:s,getConfigs:o}=r,i=o(),a=n("OAS31Model"),l=n("JSONSchema202012"),c=n("JSONSchema202012Keyword$schema"),u=n("JSONSchema202012Keyword$vocabulary"),p=n("JSONSchema202012Keyword$id"),h=n("JSONSchema202012Keyword$anchor"),d=n("JSONSchema202012Keyword$dynamicAnchor"),f=n("JSONSchema202012Keyword$ref"),m=n("JSONSchema202012Keyword$dynamicRef"),g=n("JSONSchema202012Keyword$defs"),y=n("JSONSchema202012Keyword$comment"),v=n("JSONSchema202012KeywordAllOf"),b=n("JSONSchema202012KeywordAnyOf"),w=n("JSONSchema202012KeywordOneOf"),E=n("JSONSchema202012KeywordNot"),x=n("JSONSchema202012KeywordIf"),S=n("JSONSchema202012KeywordThen"),_=n("JSONSchema202012KeywordElse"),k=n("JSONSchema202012KeywordDependentSchemas"),A=n("JSONSchema202012KeywordPrefixItems"),O=n("JSONSchema202012KeywordItems"),C=n("JSONSchema202012KeywordContains"),j=n("JSONSchema202012KeywordProperties"),P=n("JSONSchema202012KeywordPatternProperties"),N=n("JSONSchema202012KeywordAdditionalProperties"),I=n("JSONSchema202012KeywordPropertyNames"),T=n("JSONSchema202012KeywordUnevaluatedItems"),M=n("JSONSchema202012KeywordUnevaluatedProperties"),R=n("JSONSchema202012KeywordType"),D=n("JSONSchema202012KeywordEnum"),L=n("JSONSchema202012KeywordConst"),F=n("JSONSchema202012KeywordConstraint"),B=n("JSONSchema202012KeywordDependentRequired"),$=n("JSONSchema202012KeywordContentSchema"),q=n("JSONSchema202012KeywordTitle"),U=n("JSONSchema202012KeywordDescription"),z=n("JSONSchema202012KeywordDefault"),V=n("JSONSchema202012KeywordDeprecated"),K=n("JSONSchema202012KeywordReadOnly"),W=n("JSONSchema202012KeywordWriteOnly"),J=n("JSONSchema202012Accordion"),H=n("JSONSchema202012ExpandDeepButton"),G=n("JSONSchema202012ChevronRightIcon"),Y=n("withJSONSchema202012Context")(a,{config:{default$schema:"https://spec.openapis.org/oas/3.1/dialect/base",defaultExpandedLevels:i.defaultModelExpandDepth,includeReadOnly:Boolean(t.includeReadOnly),includeWriteOnly:Boolean(t.includeWriteOnly)},components:{JSONSchema:l,Keyword$schema:c,Keyword$vocabulary:u,Keyword$id:p,Keyword$anchor:h,Keyword$dynamicAnchor:d,Keyword$ref:f,Keyword$dynamicRef:m,Keyword$defs:g,Keyword$comment:y,KeywordAllOf:v,KeywordAnyOf:b,KeywordOneOf:w,KeywordNot:E,KeywordIf:x,KeywordThen:S,KeywordElse:_,KeywordDependentSchemas:k,KeywordPrefixItems:A,KeywordItems:O,KeywordContains:C,KeywordProperties:j,KeywordPatternProperties:P,KeywordAdditionalProperties:N,KeywordPropertyNames:I,KeywordUnevaluatedItems:T,KeywordUnevaluatedProperties:M,KeywordType:R,KeywordEnum:D,KeywordConst:L,KeywordConstraint:F,KeywordDependentRequired:B,KeywordContentSchema:$,KeywordTitle:q,KeywordDescription:U,KeywordDefault:z,KeywordDeprecated:V,KeywordReadOnly:K,KeywordWriteOnly:W,Accordion:J,ExpandDeepButton:H,ChevronRightIcon:G},fn:{upperFirst:s.upperFirst,isExpandable:s.jsonSchema202012.isExpandable,getProperties:s.jsonSchema202012.getProperties}});return ae.createElement(Y,t)}),M5=T5,R5=j5(({getSystem:e})=>{const{getComponent:t,fn:r,getConfigs:n}=e(),s=n();if(R5.ModelsWithJSONSchemaContext)return ae.createElement(R5.ModelsWithJSONSchemaContext,null);const o=t("OAS31Models",!0),i=t("JSONSchema202012"),a=t("JSONSchema202012Keyword$schema"),l=t("JSONSchema202012Keyword$vocabulary"),c=t("JSONSchema202012Keyword$id"),u=t("JSONSchema202012Keyword$anchor"),p=t("JSONSchema202012Keyword$dynamicAnchor"),h=t("JSONSchema202012Keyword$ref"),d=t("JSONSchema202012Keyword$dynamicRef"),f=t("JSONSchema202012Keyword$defs"),m=t("JSONSchema202012Keyword$comment"),g=t("JSONSchema202012KeywordAllOf"),y=t("JSONSchema202012KeywordAnyOf"),v=t("JSONSchema202012KeywordOneOf"),b=t("JSONSchema202012KeywordNot"),w=t("JSONSchema202012KeywordIf"),E=t("JSONSchema202012KeywordThen"),x=t("JSONSchema202012KeywordElse"),S=t("JSONSchema202012KeywordDependentSchemas"),_=t("JSONSchema202012KeywordPrefixItems"),k=t("JSONSchema202012KeywordItems"),A=t("JSONSchema202012KeywordContains"),O=t("JSONSchema202012KeywordProperties"),C=t("JSONSchema202012KeywordPatternProperties"),j=t("JSONSchema202012KeywordAdditionalProperties"),P=t("JSONSchema202012KeywordPropertyNames"),N=t("JSONSchema202012KeywordUnevaluatedItems"),I=t("JSONSchema202012KeywordUnevaluatedProperties"),T=t("JSONSchema202012KeywordType"),M=t("JSONSchema202012KeywordEnum"),R=t("JSONSchema202012KeywordConst"),D=t("JSONSchema202012KeywordConstraint"),L=t("JSONSchema202012KeywordDependentRequired"),F=t("JSONSchema202012KeywordContentSchema"),B=t("JSONSchema202012KeywordTitle"),$=t("JSONSchema202012KeywordDescription"),q=t("JSONSchema202012KeywordDefault"),U=t("JSONSchema202012KeywordDeprecated"),z=t("JSONSchema202012KeywordReadOnly"),V=t("JSONSchema202012KeywordWriteOnly"),K=t("JSONSchema202012Accordion"),W=t("JSONSchema202012ExpandDeepButton"),J=t("JSONSchema202012ChevronRightIcon"),H=t("withJSONSchema202012Context");return R5.ModelsWithJSONSchemaContext=H(o,{config:{default$schema:"https://spec.openapis.org/oas/3.1/dialect/base",defaultExpandedLevels:s.defaultModelsExpandDepth-1,includeReadOnly:!0,includeWriteOnly:!0},components:{JSONSchema:i,Keyword$schema:a,Keyword$vocabulary:l,Keyword$id:c,Keyword$anchor:u,Keyword$dynamicAnchor:p,Keyword$ref:h,Keyword$dynamicRef:d,Keyword$defs:f,Keyword$comment:m,KeywordAllOf:g,KeywordAnyOf:y,KeywordOneOf:v,KeywordNot:b,KeywordIf:w,KeywordThen:E,KeywordElse:x,KeywordDependentSchemas:S,KeywordPrefixItems:_,KeywordItems:k,KeywordContains:A,KeywordProperties:O,KeywordPatternProperties:C,KeywordAdditionalProperties:j,KeywordPropertyNames:P,KeywordUnevaluatedItems:N,KeywordUnevaluatedProperties:I,KeywordType:T,KeywordEnum:M,KeywordConst:R,KeywordConstraint:D,KeywordDependentRequired:L,KeywordContentSchema:F,KeywordTitle:B,KeywordDescription:$,KeywordDefault:q,KeywordDeprecated:U,KeywordReadOnly:z,KeywordWriteOnly:V,Accordion:K,ExpandDeepButton:W,ChevronRightIcon:J},fn:{upperFirst:r.upperFirst,isExpandable:r.jsonSchema202012.isExpandable,getProperties:r.jsonSchema202012.getProperties}}),ae.createElement(R5.ModelsWithJSONSchemaContext,null)}),D5=(R5.ModelsWithJSONSchemaContext=null,R5),L5=(e,n)=>e=>{var t=n.specSelectors.isOAS31(),r=n.getComponent("OAS31VersionPragmaFilter");return ae.createElement(r,q()({isOAS31:t},e))},F5=j5(({originalComponent:e,...t})=>{const{getComponent:r,schema:n}=t,s=r("MutualTLSAuth",!0);return"mutualTLS"===n.get("type")?ae.createElement(s,{schema:n}):ae.createElement(e,t)}),B5=F5,$5=j5(({getSystem:e,...t})=>{e=e().getComponent("OAS31Auths",!0);return ae.createElement(e,t)}),q5=(0,$.Map)(),U5=o((e,t)=>t.specSelectors.specJson(),k5),z5=()=>e=>{e=e.specSelectors.specJson().get("webhooks");return $.Map.isMap(e)?e:q5},V5=o([(e,t)=>t.specSelectors.webhooks(),(e,t)=>t.specSelectors.validOperationMethods(),(e,t)=>t.specSelectors.specResolvedSubtree(["webhooks"])],(e,n)=>e.reduce((e,t,r)=>{if(!$.Map.isMap(t))return e;t=t.entrySeq().filter(([e])=>n.includes(e)).map(([e,t])=>({operation:(0,$.Map)({operation:t}),method:e,path:r,specPath:["webhooks",r,e]}));return e.concat(t)},(0,$.List)()).groupBy(e=>e.path).map(e=>e.toArray()).toObject()),K5=()=>e=>{e=e.specSelectors.info().get("license");return $.Map.isMap(e)?e:q5},W5=()=>e=>e.specSelectors.license().get("name","License"),J5=()=>e=>e.specSelectors.license().get("url"),H5=o([(e,t)=>t.specSelectors.url(),(e,t)=>t.oas3Selectors.selectedServer(),(e,t)=>t.specSelectors.selectLicenseUrlField()],(e,t,r)=>{if(r)return ZC(r,e,{selectedServer:t})}),G5=()=>e=>e.specSelectors.license().get("identifier"),Y5=()=>e=>{e=e.specSelectors.info().get("contact");return $.Map.isMap(e)?e:q5},X5=()=>e=>e.specSelectors.contact().get("name","the developer"),Q5=()=>e=>e.specSelectors.contact().get("email"),Z5=()=>e=>e.specSelectors.contact().get("url"),eP=o([(e,t)=>t.specSelectors.url(),(e,t)=>t.oas3Selectors.selectedServer(),(e,t)=>t.specSelectors.selectContactUrlField()],(e,t,r)=>{if(r)return ZC(r,e,{selectedServer:t})}),tP=()=>e=>e.specSelectors.info().get("title"),rP=()=>e=>e.specSelectors.info().get("summary"),nP=()=>e=>e.specSelectors.info().get("description"),sP=()=>e=>e.specSelectors.info().get("termsOfService"),oP=o([(e,t)=>t.specSelectors.url(),(e,t)=>t.oas3Selectors.selectedServer(),(e,t)=>t.specSelectors.selectInfoTermsOfServiceField()],(e,t,r)=>{if(r)return ZC(r,e,{selectedServer:t})}),iP=()=>e=>e.specSelectors.externalDocs().get("description"),aP=()=>e=>e.specSelectors.externalDocs().get("url"),lP=o([(e,t)=>t.specSelectors.url(),(e,t)=>t.oas3Selectors.selectedServer(),(e,t)=>t.specSelectors.selectExternalDocsUrlField()],(e,t,r)=>{if(r)return ZC(r,e,{selectedServer:t})}),cP=()=>e=>e.specSelectors.specJson().get("jsonSchemaDialect"),uP=()=>"https://spec.openapis.org/oas/3.1/dialect/base",pP=o((e,t)=>t.specSelectors.definitions(),(e,t)=>t.specSelectors.specResolvedSubtree(["components","schemas"]),(e,s)=>$.Map.isMap(e)?$.Map.isMap(s)?Object.entries(e.toJS()).reduce((e,[t,r])=>{const n=s.get(t);return e[t]=n?.toJS()||r,e},{}):e.toJS():{}),hP=(r,n)=>(e,...t)=>n.specSelectors.isOAS31()||r(...t),dP=O5(()=>(e,t)=>t.oas31Selectors.selectLicenseUrl()),fP=O5(()=>(e,t)=>{const r=t.specSelectors.securityDefinitions();let n=e();return r&&r.entrySeq().forEach(([e,t])=>{"mutualTLS"===t.get("type")&&(n=n.push(new $.Map({[e]:t})))}),n}),mP=o([(e,t)=>t.specSelectors.url(),(e,t)=>t.oas3Selectors.selectedServer(),(e,t)=>t.specSelectors.selectLicenseUrlField(),(e,t)=>t.specSelectors.selectLicenseIdentifierField()],(e,t,r,n)=>r?ZC(r,e,{selectedServer:t}):n?`https://spdx.org/licenses/${n}.html`:void 0),gP=({schema:e,getSystem:t})=>{const r=t()["fn"],{hasKeyword:n,stringify:s}=r.jsonSchema202012.useFn();return n(e,"example")?ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--example"},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Example"),ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--const"},s(e.example))):null},yP=({schema:e,getSystem:t})=>{const r=e?.xml||{},{fn:n,getComponent:s}=t(),{useIsExpandedDeeply:o,useComponent:i}=n.jsonSchema202012,a=o(),l=!!(r.name||r.namespace||r.prefix),[c,u]=(0,ae.useState)(a),[p,h]=(0,ae.useState)(!1),d=i("Accordion"),f=i("ExpandDeepButton"),m=s("JSONSchema202012DeepExpansionContext")(),g=(0,ae.useCallback)(()=>{u(e=>!e)},[]),y=(0,ae.useCallback)((e,t)=>{u(t),h(t)},[]);return 0===Object.keys(r).length?null:ae.createElement(m.Provider,{value:p},ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--xml"},l?ae.createElement(ae.Fragment,null,ae.createElement(d,{expanded:c,onChange:g},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"XML")),ae.createElement(f,{expanded:c,onClick:y})):ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"XML"),!0===r.attribute&&ae.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"attribute"),!0===r.wrapped&&ae.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"wrapped"),ae.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),ae.createElement("ul",{className:le()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!c})},c&&ae.createElement(ae.Fragment,null,r.name&&ae.createElement("li",{className:"json-schema-2020-12-property"},ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword"},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"name"),ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.name))),r.namespace&&ae.createElement("li",{className:"json-schema-2020-12-property"},ae.createElement("div",{className:"json-schema-2020-12-keyword"},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"namespace"),ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.namespace))),r.prefix&&ae.createElement("li",{className:"json-schema-2020-12-property"},ae.createElement("div",{className:"json-schema-2020-12-keyword"},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"prefix"),ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.prefix)))))))},vP=({discriminator:e})=>{e=e?.mapping||{};return 0===Object.keys(e).length?null:Object.entries(e).map(([e,t])=>ae.createElement("div",{key:e+"-"+t,className:"json-schema-2020-12-keyword"},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},e),ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t)))},bP=({schema:e,getSystem:t})=>{const r=e?.discriminator||{},{fn:n,getComponent:s}=t(),{useIsExpandedDeeply:o,useComponent:i}=n.jsonSchema202012,a=o(),l=!!r.mapping,[c,u]=(0,ae.useState)(a),[p,h]=(0,ae.useState)(!1),d=i("Accordion"),f=i("ExpandDeepButton"),m=s("JSONSchema202012DeepExpansionContext")(),g=(0,ae.useCallback)(()=>{u(e=>!e)},[]),y=(0,ae.useCallback)((e,t)=>{u(t),h(t)},[]);return 0===Object.keys(r).length?null:ae.createElement(m.Provider,{value:p},ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--discriminator"},l?ae.createElement(ae.Fragment,null,ae.createElement(d,{expanded:c,onChange:g},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Discriminator")),ae.createElement(f,{expanded:c,onClick:y})):ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Discriminator"),r.propertyName&&ae.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},r.propertyName),ae.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),ae.createElement("ul",{className:le()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!c})},c&&ae.createElement("li",{className:"json-schema-2020-12-property"},ae.createElement(vP,{discriminator:r})))))},wP=({schema:e,getSystem:t})=>{const r=e?.externalDocs||{},{fn:n,getComponent:s}=t(),{useIsExpandedDeeply:o,useComponent:i}=n.jsonSchema202012,a=o(),l=!(!r.description&&!r.url),[c,u]=(0,ae.useState)(a),[p,h]=(0,ae.useState)(!1),d=i("Accordion"),f=i("ExpandDeepButton"),m=s("JSONSchema202012KeywordDescription"),g=s("Link"),y=s("JSONSchema202012DeepExpansionContext")(),v=(0,ae.useCallback)(()=>{u(e=>!e)},[]),b=(0,ae.useCallback)((e,t)=>{u(t),h(t)},[]);return 0===Object.keys(r).length?null:ae.createElement(y.Provider,{value:p},ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--externalDocs"},l?ae.createElement(ae.Fragment,null,ae.createElement(d,{expanded:c,onChange:v},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"External documentation")),ae.createElement(f,{expanded:c,onClick:b})):ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"External documentation"),ae.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),ae.createElement("ul",{className:le()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!c})},c&&ae.createElement(ae.Fragment,null,r.description&&ae.createElement("li",{className:"json-schema-2020-12-property"},ae.createElement(m,{schema:r,getSystem:t})),r.url&&ae.createElement("li",{className:"json-schema-2020-12-property"},ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword"},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"url"),ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},ae.createElement(g,{target:"_blank",href:st(r.url)},r.url))))))))},EP=j5(({schema:e,getSystem:t})=>{if(!e?.description)return null;const r=t()["getComponent"],n=r("Markdown");return ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},ae.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"},ae.createElement(n,{source:e.description})))}),xP=j5(({schema:e,getSystem:t,originalComponent:r})=>{const n=t()["getComponent"],s=n("JSONSchema202012KeywordDiscriminator"),o=n("JSONSchema202012KeywordXml"),i=n("JSONSchema202012KeywordExample"),a=n("JSONSchema202012KeywordExternalDocs");return ae.createElement(ae.Fragment,null,ae.createElement(r,{schema:e}),ae.createElement(s,{schema:e,getSystem:t}),ae.createElement(o,{schema:e,getSystem:t}),ae.createElement(a,{schema:e,getSystem:t}),ae.createElement(i,{schema:e,getSystem:t}))}),SP=xP,_P=j5(({schema:s,getSystem:e})=>{const t=e()["fn"],r=t.jsonSchema202012["useComponent"],{getDependentRequired:o,getProperties:n}=t.jsonSchema202012.useFn(),i=t.jsonSchema202012.useConfig(),a=Array.isArray(s?.required)?s.required:[],l=r("JSONSchema"),c=n(s,i);return 0===Object.keys(c).length?null:ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},ae.createElement("ul",null,Object.entries(c).map(([e,t])=>{var r=a.includes(e),n=o(e,s);return ae.createElement("li",{key:e,className:le()("json-schema-2020-12-property",{"json-schema-2020-12-property--required":r})},ae.createElement(l,{name:e,schema:t,dependentRequired:n}))})))}),kP=(e,{includeReadOnly:t,includeWriteOnly:r})=>{if(!e?.properties)return{};e=Object.entries(e.properties).filter(([,e])=>(!(!0===e?.readOnly)||t)&&(!(!0===e?.writeOnly)||r));return Object.fromEntries(e)},AP=function({fn:e,getSystem:o}){var t;e.jsonSchema202012&&(t=(t=>{var e=o()["fn"];if("function"!=typeof t)return null;const r=e.jsonSchema202012["hasKeyword"];return e=>t(e)||r(e,"example")||e?.xml||e?.discriminator||e?.externalDocs})(e.jsonSchema202012.isExpandable),Object.assign(this.fn.jsonSchema202012,{isExpandable:t,getProperties:kP})),"function"==typeof e.sampleFromSchema&&e.jsonSchema202012&&(t=(e=>{const{fn:n,specSelectors:s}=o();return Object.fromEntries(Object.entries(e).map(([e,t])=>{const r=n[e];return[e,(...e)=>s.isOAS31()?t(...e):"function"==typeof r?r(...e):void 0]}))})({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}),Object.assign(this.fn,t))},OP=({fn:e})=>{const t=e.createSystemSelector||C5,r=e.createOnlyOAS31Selector||A5;return{afterLoad:AP,fn:{isOAS31:k5,createSystemSelector:C5,createOnlyOAS31Selector:A5},components:{Webhooks:d5,JsonSchemaDialect:y5,MutualTLSAuth:x5,OAS31Info:g5,OAS31License:f5,OAS31Contact:m5,OAS31VersionPragmaFilter:v5,OAS31Model:w5,OAS31Models:E5,OAS31Auths:_5,JSONSchema202012KeywordExample:gP,JSONSchema202012KeywordXml:yP,JSONSchema202012KeywordDiscriminator:bP,JSONSchema202012KeywordExternalDocs:wP},wrapComponents:{InfoContainer:I5,License:P5,Contact:N5,VersionPragmaFilter:L5,Model:M5,Models:D5,AuthItem:B5,auths:$5,JSONSchema202012KeywordDescription:EP,JSONSchema202012KeywordDefault:SP,JSONSchema202012KeywordProperties:_P},statePlugins:{auth:{wrapSelectors:{definitionsToAuthorize:fP}},spec:{selectors:{isOAS31:t(U5),license:K5,selectLicenseNameField:W5,selectLicenseUrlField:J5,selectLicenseIdentifierField:r(G5),selectLicenseUrl:t(H5),contact:Y5,selectContactNameField:X5,selectContactEmailField:Q5,selectContactUrlField:Z5,selectContactUrl:t(eP),selectInfoTitleField:tP,selectInfoSummaryField:r(rP),selectInfoDescriptionField:nP,selectInfoTermsOfServiceField:sP,selectInfoTermsOfServiceUrl:t(oP),selectExternalDocsDescriptionField:iP,selectExternalDocsUrlField:aP,selectExternalDocsUrl:t(lP),webhooks:r(z5),selectWebhooksOperations:r(t(V5)),selectJsonSchemaDialectField:cP,selectJsonSchemaDialectDefault:uP,selectSchemas:t(pP)},wrapSelectors:{isOAS3:hP,selectLicenseUrl:dP}},oas31:{selectors:{selectLicenseUrl:r(t(mP))}}}}},CP=Wr().object,jP=Wr().bool,PP=(Wr().oneOfType([CP,jP]),(0,ae.createContext)(null)),NP=(PP.displayName="JSONSchemaContext",(0,ae.createContext)(0)),IP=(NP.displayName="JSONSchemaLevelContext",(0,ae.createContext)(!1)),TP=(IP.displayName="JSONSchemaDeepExpansionContext",(0,ae.createContext)(new Set)),MP=()=>{var e=(0,ae.useContext)(PP)["config"];return e},ce=e=>{var t=(0,ae.useContext)(PP)["components"];return t[e]||null},ue=(e=void 0)=>{var t=(0,ae.useContext)(PP)["fn"];return void 0!==e?t[e]:t},RP=()=>{var e=(0,ae.useContext)(NP);return[e,e+1]},DP=()=>{var[e]=RP(),t=MP()["defaultExpandedLevels"];return 0<t-e},LP=()=>(0,ae.useContext)(IP),FP=(e=void 0)=>{if(void 0===e)return(0,ae.useContext)(TP);var t=(0,ae.useContext)(TP);return new Set([...t,e])},BP=(0,ae.forwardRef)(({schema:e,name:t="",dependentRequired:r=[],onExpand:n=()=>{}},s)=>{const o=ue(),i=DP(),a=LP(),[l,c]=(0,ae.useState)(i||a),[u,p]=(0,ae.useState)(a),[h,d]=RP(),f=(()=>{var[e]=RP();return 0<e})(),m=o.isExpandable(e)||0<r.length,g=(R=e,FP().has(R)),y=FP(e),v=o.stringifyConstraints(e),b=ce("Accordion"),w=ce("Keyword$schema"),E=ce("Keyword$vocabulary"),x=ce("Keyword$id"),S=ce("Keyword$anchor"),_=ce("Keyword$dynamicAnchor"),k=ce("Keyword$ref"),A=ce("Keyword$dynamicRef"),O=ce("Keyword$defs"),C=ce("Keyword$comment"),j=ce("KeywordAllOf"),P=ce("KeywordAnyOf"),N=ce("KeywordOneOf"),I=ce("KeywordNot"),T=ce("KeywordIf"),D=ce("KeywordThen"),L=ce("KeywordElse"),F=ce("KeywordDependentSchemas"),B=ce("KeywordPrefixItems"),$=ce("KeywordItems"),q=ce("KeywordContains"),U=ce("KeywordProperties"),z=ce("KeywordPatternProperties"),V=ce("KeywordAdditionalProperties"),K=ce("KeywordPropertyNames"),W=ce("KeywordUnevaluatedItems"),J=ce("KeywordUnevaluatedProperties"),H=ce("KeywordType"),G=ce("KeywordEnum"),Y=ce("KeywordConst"),X=ce("KeywordConstraint"),Q=ce("KeywordDependentRequired"),Z=ce("KeywordContentSchema"),M=ce("KeywordTitle"),ee=ce("KeywordDescription"),te=ce("KeywordDefault"),re=ce("KeywordDeprecated"),ne=ce("KeywordReadOnly"),se=ce("KeywordWriteOnly"),oe=ce("ExpandDeepButton");(0,ae.useEffect)(()=>{p(a)},[a]),(0,ae.useEffect)(()=>{p(u)},[u]);var R=(0,ae.useCallback)((e,t)=>{c(t),t||p(!1),n(e,t,!1)},[n]),ie=(0,ae.useCallback)((e,t)=>{c(t),p(t),n(e,t,!0)},[n]);return ae.createElement(NP.Provider,{value:d},ae.createElement(IP.Provider,{value:u},ae.createElement(TP.Provider,{value:y},ae.createElement("article",{ref:s,"data-json-schema-level":h,className:le()("json-schema-2020-12",{"json-schema-2020-12--embedded":f,"json-schema-2020-12--circular":g})},ae.createElement("div",{className:"json-schema-2020-12-head"},m&&!g?ae.createElement(ae.Fragment,null,ae.createElement(b,{expanded:l,onChange:R},ae.createElement(M,{title:t,schema:e})),ae.createElement(oe,{expanded:l,onClick:ie})):ae.createElement(M,{title:t,schema:e}),ae.createElement(re,{schema:e}),ae.createElement(ne,{schema:e}),ae.createElement(se,{schema:e}),ae.createElement(H,{schema:e,isCircular:g}),0<v.length&&v.map(e=>ae.createElement(X,{key:e.scope+"-"+e.value,constraint:e}))),ae.createElement("div",{className:le()("json-schema-2020-12-body",{"json-schema-2020-12-body--collapsed":!l})},l&&ae.createElement(ae.Fragment,null,ae.createElement(ee,{schema:e}),!g&&m&&ae.createElement(ae.Fragment,null,ae.createElement(U,{schema:e}),ae.createElement(z,{schema:e}),ae.createElement(V,{schema:e}),ae.createElement(J,{schema:e}),ae.createElement(K,{schema:e}),ae.createElement(j,{schema:e}),ae.createElement(P,{schema:e}),ae.createElement(N,{schema:e}),ae.createElement(I,{schema:e}),ae.createElement(T,{schema:e}),ae.createElement(D,{schema:e}),ae.createElement(L,{schema:e}),ae.createElement(F,{schema:e}),ae.createElement(B,{schema:e}),ae.createElement($,{schema:e}),ae.createElement(W,{schema:e}),ae.createElement(q,{schema:e}),ae.createElement(Z,{schema:e})),ae.createElement(G,{schema:e}),ae.createElement(Y,{schema:e}),ae.createElement(Q,{schema:e,dependentRequired:r}),ae.createElement(te,{schema:e}),ae.createElement(w,{schema:e}),ae.createElement(E,{schema:e}),ae.createElement(x,{schema:e}),ae.createElement(S,{schema:e}),ae.createElement(_,{schema:e}),ae.createElement(k,{schema:e}),!g&&m&&ae.createElement(O,{schema:e}),ae.createElement(A,{schema:e}),ae.createElement(C,{schema:e})))))))}),$P=BP,qP=({schema:e})=>e?.$schema?ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$schema"},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$schema"),ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$schema)):null,UP=({schema:e})=>{const t=DP(),r=LP(),[n,s]=(0,ae.useState)(t||r),o=ce("Accordion"),i=(0,ae.useCallback)(()=>{s(e=>!e)},[]);return!e?.$vocabulary||"object"!=typeof e.$vocabulary?null:ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$vocabulary"},ae.createElement(o,{expanded:n,onChange:i},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$vocabulary")),ae.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),ae.createElement("ul",null,n&&Object.entries(e.$vocabulary).map(([e,t])=>ae.createElement("li",{key:e,className:le()("json-schema-2020-12-$vocabulary-uri",{"json-schema-2020-12-$vocabulary-uri--disabled":!t})},ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e)))))},zP=({schema:e})=>e?.$id?ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$id"},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$id"),ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$id)):null,VP=({schema:e})=>e?.$anchor?ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$anchor"},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$anchor"),ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$anchor)):null,KP=({schema:e})=>e?.$dynamicAnchor?ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$dynamicAnchor"},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$dynamicAnchor"),ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$dynamicAnchor)):null,WP=({schema:e})=>e?.$ref?ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$ref"},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$ref"),ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$ref)):null,JP=({schema:e})=>e?.$dynamicRef?ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$dynamicRef"},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$dynamicRef"),ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$dynamicRef)):null,HP=({schema:e})=>{const t=e?.$defs||{},r=DP(),n=LP(),[s,o]=(0,ae.useState)(r||n),[i,a]=(0,ae.useState)(!1),l=ce("Accordion"),c=ce("ExpandDeepButton"),u=ce("JSONSchema"),p=(0,ae.useCallback)(()=>{o(e=>!e)},[]),h=(0,ae.useCallback)((e,t)=>{o(t),a(t)},[]);return 0===Object.keys(t).length?null:ae.createElement(IP.Provider,{value:i},ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$defs"},ae.createElement(l,{expanded:s,onChange:p},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$defs")),ae.createElement(c,{expanded:s,onClick:h}),ae.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),ae.createElement("ul",{className:le()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!s})},s&&ae.createElement(ae.Fragment,null,Object.entries(t).map(([e,t])=>ae.createElement("li",{key:e,className:"json-schema-2020-12-property"},ae.createElement(u,{name:e,schema:t})))))))},GP=({schema:e})=>e?.$comment?ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$comment"},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$comment"),ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$comment)):null,YP=({schema:e})=>{const t=e?.allOf||[],r=ue(),n=DP(),s=LP(),[o,i]=(0,ae.useState)(n||s),[a,l]=(0,ae.useState)(!1),c=ce("Accordion"),u=ce("ExpandDeepButton"),p=ce("JSONSchema"),h=ce("KeywordType"),d=(0,ae.useCallback)(()=>{i(e=>!e)},[]),f=(0,ae.useCallback)((e,t)=>{i(t),l(t)},[]);return Array.isArray(t)&&0!==t.length?ae.createElement(IP.Provider,{value:a},ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--allOf"},ae.createElement(c,{expanded:o,onChange:d},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"All of")),ae.createElement(u,{expanded:o,onClick:f}),ae.createElement(h,{schema:{allOf:t}}),ae.createElement("ul",{className:le()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!o})},o&&ae.createElement(ae.Fragment,null,t.map((e,t)=>ae.createElement("li",{key:"#"+t,className:"json-schema-2020-12-property"},ae.createElement(p,{name:`#${t} `+r.getTitle(e),schema:e}))))))):null},XP=({schema:e})=>{const t=e?.anyOf||[],r=ue(),n=DP(),s=LP(),[o,i]=(0,ae.useState)(n||s),[a,l]=(0,ae.useState)(!1),c=ce("Accordion"),u=ce("ExpandDeepButton"),p=ce("JSONSchema"),h=ce("KeywordType"),d=(0,ae.useCallback)(()=>{i(e=>!e)},[]),f=(0,ae.useCallback)((e,t)=>{i(t),l(t)},[]);return Array.isArray(t)&&0!==t.length?ae.createElement(IP.Provider,{value:a},ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--anyOf"},ae.createElement(c,{expanded:o,onChange:d},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Any of")),ae.createElement(u,{expanded:o,onClick:f}),ae.createElement(h,{schema:{anyOf:t}}),ae.createElement("ul",{className:le()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!o})},o&&ae.createElement(ae.Fragment,null,t.map((e,t)=>ae.createElement("li",{key:"#"+t,className:"json-schema-2020-12-property"},ae.createElement(p,{name:`#${t} `+r.getTitle(e),schema:e}))))))):null},QP=({schema:e})=>{const t=e?.oneOf||[],r=ue(),n=DP(),s=LP(),[o,i]=(0,ae.useState)(n||s),[a,l]=(0,ae.useState)(!1),c=ce("Accordion"),u=ce("ExpandDeepButton"),p=ce("JSONSchema"),h=ce("KeywordType"),d=(0,ae.useCallback)(()=>{i(e=>!e)},[]),f=(0,ae.useCallback)((e,t)=>{i(t),l(t)},[]);return Array.isArray(t)&&0!==t.length?ae.createElement(IP.Provider,{value:a},ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--oneOf"},ae.createElement(c,{expanded:o,onChange:d},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"One of")),ae.createElement(u,{expanded:o,onClick:f}),ae.createElement(h,{schema:{oneOf:t}}),ae.createElement("ul",{className:le()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!o})},o&&ae.createElement(ae.Fragment,null,t.map((e,t)=>ae.createElement("li",{key:"#"+t,className:"json-schema-2020-12-property"},ae.createElement(p,{name:`#${t} `+r.getTitle(e),schema:e}))))))):null},ZP=({schema:e})=>{const t=ue(),r=ce("JSONSchema");if(!t.hasKeyword(e,"not"))return null;var n=ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Not");return ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--not"},ae.createElement(r,{name:n,schema:e.not}))},eN=({schema:e})=>{const t=ue(),r=ce("JSONSchema");if(!t.hasKeyword(e,"if"))return null;var n=ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"If");return ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--if"},ae.createElement(r,{name:n,schema:e.if}))},tN=({schema:e})=>{const t=ue(),r=ce("JSONSchema");if(!t.hasKeyword(e,"then"))return null;var n=ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Then");return ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--then"},ae.createElement(r,{name:n,schema:e.then}))},rN=({schema:e})=>{const t=ue(),r=ce("JSONSchema");if(!t.hasKeyword(e,"else"))return null;var n=ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Else");return ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--if"},ae.createElement(r,{name:n,schema:e.else}))},nN=({schema:e})=>{const t=e?.dependentSchemas||[],r=DP(),n=LP(),[s,o]=(0,ae.useState)(r||n),[i,a]=(0,ae.useState)(!1),l=ce("Accordion"),c=ce("ExpandDeepButton"),u=ce("JSONSchema"),p=(0,ae.useCallback)(()=>{o(e=>!e)},[]),h=(0,ae.useCallback)((e,t)=>{o(t),a(t)},[]);return"object"!=typeof t||0===Object.keys(t).length?null:ae.createElement(IP.Provider,{value:i},ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentSchemas"},ae.createElement(l,{expanded:s,onChange:p},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Dependent schemas")),ae.createElement(c,{expanded:s,onClick:h}),ae.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),ae.createElement("ul",{className:le()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!s})},s&&ae.createElement(ae.Fragment,null,Object.entries(t).map(([e,t])=>ae.createElement("li",{key:e,className:"json-schema-2020-12-property"},ae.createElement(u,{name:e,schema:t})))))))},sN=({schema:e})=>{const t=e?.prefixItems||[],r=ue(),n=DP(),s=LP(),[o,i]=(0,ae.useState)(n||s),[a,l]=(0,ae.useState)(!1),c=ce("Accordion"),u=ce("ExpandDeepButton"),p=ce("JSONSchema"),h=ce("KeywordType"),d=(0,ae.useCallback)(()=>{i(e=>!e)},[]),f=(0,ae.useCallback)((e,t)=>{i(t),l(t)},[]);return Array.isArray(t)&&0!==t.length?ae.createElement(IP.Provider,{value:a},ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--prefixItems"},ae.createElement(c,{expanded:o,onChange:d},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Prefix items")),ae.createElement(u,{expanded:o,onClick:f}),ae.createElement(h,{schema:{prefixItems:t}}),ae.createElement("ul",{className:le()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!o})},o&&ae.createElement(ae.Fragment,null,t.map((e,t)=>ae.createElement("li",{key:"#"+t,className:"json-schema-2020-12-property"},ae.createElement(p,{name:`#${t} `+r.getTitle(e),schema:e}))))))):null},oN=({schema:e})=>{const t=ue(),r=ce("JSONSchema");if(!t.hasKeyword(e,"items"))return null;var n=ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Items");return ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--items"},ae.createElement(r,{name:n,schema:e.items}))},iN=({schema:e})=>{const t=ue(),r=ce("JSONSchema");if(!t.hasKeyword(e,"contains"))return null;var n=ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Contains");return ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--contains"},ae.createElement(r,{name:n,schema:e.contains}))},aN=({schema:s})=>{const o=ue(),e=s?.properties||{},i=Array.isArray(s?.required)?s.required:[],a=ce("JSONSchema");return 0===Object.keys(e).length?null:ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},ae.createElement("ul",null,Object.entries(e).map(([e,t])=>{var r=i.includes(e),n=o.getDependentRequired(e,s);return ae.createElement("li",{key:e,className:le()("json-schema-2020-12-property",{"json-schema-2020-12-property--required":r})},ae.createElement(a,{name:e,schema:t,dependentRequired:n}))})))},lN=({schema:e})=>{const t=e?.patternProperties||{},r=ce("JSONSchema");return 0===Object.keys(t).length?null:ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--patternProperties"},ae.createElement("ul",null,Object.entries(t).map(([e,t])=>ae.createElement("li",{key:e,className:"json-schema-2020-12-property"},ae.createElement(r,{name:e,schema:t})))))},cN=({schema:e})=>{const t=ue(),r=e["additionalProperties"],n=ce("JSONSchema");if(!t.hasKeyword(e,"additionalProperties"))return null;e=ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Additional properties");return ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--additionalProperties"},!0===r?ae.createElement(ae.Fragment,null,e,ae.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"allowed")):!1===r?ae.createElement(ae.Fragment,null,e,ae.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"forbidden")):ae.createElement(n,{name:e,schema:r}))},uN=({schema:e})=>{const t=ue(),r=e["propertyNames"],n=ce("JSONSchema"),s=ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Property names");return t.hasKeyword(e,"propertyNames")?ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--propertyNames"},ae.createElement(n,{name:s,schema:r})):null},pN=({schema:e})=>{const t=ue(),r=e["unevaluatedItems"],n=ce("JSONSchema");if(!t.hasKeyword(e,"unevaluatedItems"))return null;e=ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Unevaluated items");return ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedItems"},ae.createElement(n,{name:e,schema:r}))},hN=({schema:e})=>{const t=ue(),r=e["unevaluatedProperties"],n=ce("JSONSchema");if(!t.hasKeyword(e,"unevaluatedProperties"))return null;e=ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Unevaluated properties");return ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedProperties"},ae.createElement(n,{name:e,schema:r}))},dN=({schema:e,isCircular:t=!1})=>{e=ue().getType(e);return ae.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},e+(t?" [circular]":""))},fN=({schema:e})=>{const t=ue();return Array.isArray(e?.enum)?ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--enum"},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Allowed values"),ae.createElement("ul",null,e.enum.map(e=>{e=t.stringify(e);return ae.createElement("li",{key:e},ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--const"},e))}))):null},mN=({schema:e})=>{const t=ue();return t.hasKeyword(e,"const")?ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--const"},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Const"),ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--const"},t.stringify(e.const))):null},gN=ae.memo(({constraint:e})=>ae.createElement("span",{className:"json-schema-2020-12__constraint json-schema-2020-12__constraint--"+e.scope},e.value)),yN=({dependentRequired:e})=>0===e.length?null:ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentRequired"},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Required when defined"),ae.createElement("ul",null,e.map(e=>ae.createElement("li",{key:e},ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--warning"},e))))),vN=({schema:e})=>{const t=ue(),r=ce("JSONSchema");if(!t.hasKeyword(e,"contentSchema"))return null;var n=ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Content schema");return ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--contentSchema"},ae.createElement(r,{name:n,schema:e.contentSchema}))},bN=({title:e="",schema:t})=>{const r=ue(),n=e||r.getTitle(t);return n?ae.createElement("div",{className:"json-schema-2020-12__title"},n):null},wN=({schema:e})=>e?.description?ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},ae.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"},e.description)):null,EN=({schema:e})=>{const t=ue();return t.hasKeyword(e,"default")?ae.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--default"},ae.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Default"),ae.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--const"},t.stringify(e.default))):null},xN=({schema:e})=>!0!==e?.deprecated?null:ae.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--warning"},"deprecated"),SN=({schema:e})=>!0!==e?.readOnly?null:ae.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"read-only"),_N=({schema:e})=>!0!==e?.writeOnly?null:ae.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"write-only"),kN=({expanded:t=!1,children:e,onChange:r})=>{var n=ce("ChevronRightIcon"),s=(0,ae.useCallback)(e=>{r(e,!t)},[t,r]);return ae.createElement("button",{type:"button",className:"json-schema-2020-12-accordion",onClick:s},ae.createElement("div",{className:"json-schema-2020-12-accordion__children"},e),ae.createElement("span",{className:le()("json-schema-2020-12-accordion__icon",{"json-schema-2020-12-accordion__icon--expanded":t,"json-schema-2020-12-accordion__icon--collapsed":!t})},ae.createElement(n,null)))},AN=({expanded:t,onClick:r})=>{var e=(0,ae.useCallback)(e=>{r(e,!t)},[t,r]);return ae.createElement("button",{type:"button",className:"json-schema-2020-12-expand-deep-button",onClick:e},t?"Collapse all":"Expand all")},ON=()=>ae.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},ae.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),CN=e=>"string"==typeof e?""+e.charAt(0).toUpperCase()+e.slice(1):e,jN=(e,{lookup:t="extended"}={})=>{const r=ue();if(null!=e?.title)return r.upperFirst(String(e.title));if("extended"===t){if(null!=e?.$anchor)return r.upperFirst(String(e.$anchor));if(null!=e?.$id)return String(e.$id)}return""},PN=(r,n=new WeakSet)=>{const e=ue();if(null==r)return"any";if(e.isBooleanJSONSchema(r))return r?"any":"never";if("object"!=typeof r)return"any";if(n.has(r))return"any";n.add(r);const{type:t,prefixItems:s,items:o}=r,i=()=>{if(Array.isArray(s)){const e=s.map(e=>PN(e,n)),t=o?PN(o,n):"any";return`array<[${e.join(", ")}], ${t}>`}return o?`array<${PN(o,n)}>`:"array<any>"};if(r.not&&"any"===PN(r.not))return"never";var a=(e,t)=>Array.isArray(r[e])?`(${r[e].map(e=>PN(e,n)).join(t)})`:null,a=[Array.isArray(t)?t.map(e=>"array"===e?i():e).join(" | "):"array"===t?i():["null","boolean","object","array","number","integer","string"].includes(t)?t:(()=>{if(Object.hasOwn(r,"prefixItems")||Object.hasOwn(r,"items")||Object.hasOwn(r,"contains"))return i();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"))return"string";if(void 0!==r.const){if(null===r.const)return"null";if("boolean"==typeof r.const)return"boolean";if("number"==typeof r.const)return Number.isInteger(r.const)?"integer":"number";if("string"==typeof r.const)return"string";if(Array.isArray(r.const))return"array<any>";if("object"==typeof r.const)return"object"}return null})(),a("oneOf"," | "),a("anyOf"," | "),a("allOf"," & ")].filter(Boolean).join(" | ");return n.delete(r),a||"any"},NN=e=>"boolean"==typeof e,IN=(e,t)=>null!==e&&"object"==typeof e&&Object.hasOwn(e,t),TN=e=>{const t=ue();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||t.hasKeyword(e,"not")||t.hasKeyword(e,"if")||t.hasKeyword(e,"then")||t.hasKeyword(e,"else")||e?.dependentSchemas||e?.prefixItems||t.hasKeyword(e,"items")||t.hasKeyword(e,"contains")||e?.properties||e?.patternProperties||t.hasKeyword(e,"additionalProperties")||t.hasKeyword(e,"propertyNames")||t.hasKeyword(e,"unevaluatedItems")||t.hasKeyword(e,"unevaluatedProperties")||e?.description||e?.enum||t.hasKeyword(e,"const")||t.hasKeyword(e,"contentSchema")||t.hasKeyword(e,"default")},MN=e=>null===e||["number","bigint","boolean"].includes(typeof e)?String(e):Array.isArray(e)?`[${e.map(MN).join(", ")}]`:JSON.stringify(e),RN=(e,t,r)=>{var n="number"==typeof t,s="number"==typeof r;return n&&s?t===r?t+" "+e:`[${t}, ${r}] `+e:n?`>= ${t} `+e:s?`<= ${r} `+e:null},DN=r=>{const e=[],t=(()=>{if("number"!=typeof r?.multipleOf)return null;if(r.multipleOf<=0)return null;if(1===r.multipleOf)return null;const e=r["multipleOf"];if(Number.isInteger(e))return"multiple of "+e;var t=10**e.toString().split(".")[1].length;return`multiple of ${e*t}/`+t})();null!==t&&e.push({scope:"number",value:t});h=r?.minimum,n=r?.maximum,p=r?.exclusiveMinimum,s=r?.exclusiveMaximum,l="number"==typeof h,o="number"==typeof n,u=(c="number"==typeof p)&&(!l||h<p),a=(i="number"==typeof s)&&(!o||s<n);var n,s,o,i,a,l=(l||c)&&(o||i)?`${u?"(":"["}${u?p:h}, `+(a?s:n)+(a?")":"]"):l||c?`${u?">":"≥"} `+(u?p:h):o||i?`${a?"<":"≤"} `+(a?s:n):null,c=(null!==l&&e.push({scope:"number",value:l}),r?.format&&e.push({scope:"string",value:r.format}),RN("characters",r?.minLength,r?.maxLength)),u=(null!==c&&e.push({scope:"string",value:c}),r?.pattern&&e.push({scope:"string",value:"matches "+r?.pattern}),r?.contentMediaType&&e.push({scope:"string",value:"media type: "+r.contentMediaType}),r?.contentEncoding&&e.push({scope:"string",value:"encoding: "+r.contentEncoding}),RN(r?.hasUniqueItems?"unique items":"items",r?.minItems,r?.maxItems)),p=(null!==u&&e.push({scope:"array",value:u}),RN("contained items",r?.minContains,r?.maxContains)),h=(null!==p&&e.push({scope:"array",value:p}),RN("properties",r?.minProperties,r?.maxProperties));return null!==h&&e.push({scope:"object",value:h}),e},LN=(n,e)=>e?.dependentRequired?Array.from(Object.entries(e.dependentRequired).reduce((e,[t,r])=>(Array.isArray(r)&&r.includes(n)&&e.add(t),e),new Set)):[],FN=(t,e={})=>{const r={components:{JSONSchema:$P,Keyword$schema:qP,Keyword$vocabulary:UP,Keyword$id:zP,Keyword$anchor:VP,Keyword$dynamicAnchor:KP,Keyword$ref:WP,Keyword$dynamicRef:JP,Keyword$defs:HP,Keyword$comment:GP,KeywordAllOf:YP,KeywordAnyOf:XP,KeywordOneOf:QP,KeywordNot:ZP,KeywordIf:eN,KeywordThen:tN,KeywordElse:rN,KeywordDependentSchemas:nN,KeywordPrefixItems:sN,KeywordItems:oN,KeywordContains:iN,KeywordProperties:aN,KeywordPatternProperties:lN,KeywordAdditionalProperties:cN,KeywordPropertyNames:uN,KeywordUnevaluatedItems:pN,KeywordUnevaluatedProperties:hN,KeywordType:dN,KeywordEnum:fN,KeywordConst:mN,KeywordConstraint:gN,KeywordDependentRequired:yN,KeywordContentSchema:vN,KeywordTitle:bN,KeywordDescription:wN,KeywordDefault:EN,KeywordDeprecated:xN,KeywordReadOnly:SN,KeywordWriteOnly:_N,Accordion:kN,ExpandDeepButton:AN,ChevronRightIcon:ON,...e.components},config:{default$schema:"https://json-schema.org/draft/2020-12/schema",defaultExpandedLevels:0,...e.config},fn:{upperFirst:CN,getTitle:jN,getType:PN,isBooleanJSONSchema:NN,hasKeyword:IN,isExpandable:TN,stringify:MN,stringifyConstraints:DN,getDependentRequired:LN,...e.fn}},n=e=>ae.createElement(PP.Provider,{value:r},ae.createElement(t,e));return n.contexts={JSONSchemaContext:PP},n.displayName=t.displayName,n},BN=()=>({components:{JSONSchema202012:$P,JSONSchema202012Keyword$schema:qP,JSONSchema202012Keyword$vocabulary:UP,JSONSchema202012Keyword$id:zP,JSONSchema202012Keyword$anchor:VP,JSONSchema202012Keyword$dynamicAnchor:KP,JSONSchema202012Keyword$ref:WP,JSONSchema202012Keyword$dynamicRef:JP,JSONSchema202012Keyword$defs:HP,JSONSchema202012Keyword$comment:GP,JSONSchema202012KeywordAllOf:YP,JSONSchema202012KeywordAnyOf:XP,JSONSchema202012KeywordOneOf:QP,JSONSchema202012KeywordNot:ZP,JSONSchema202012KeywordIf:eN,JSONSchema202012KeywordThen:tN,JSONSchema202012KeywordElse:rN,JSONSchema202012KeywordDependentSchemas:nN,JSONSchema202012KeywordPrefixItems:sN,JSONSchema202012KeywordItems:oN,JSONSchema202012KeywordContains:iN,JSONSchema202012KeywordProperties:aN,JSONSchema202012KeywordPatternProperties:lN,JSONSchema202012KeywordAdditionalProperties:cN,JSONSchema202012KeywordPropertyNames:uN,JSONSchema202012KeywordUnevaluatedItems:pN,JSONSchema202012KeywordUnevaluatedProperties:hN,JSONSchema202012KeywordType:dN,JSONSchema202012KeywordEnum:fN,JSONSchema202012KeywordConst:mN,JSONSchema202012KeywordConstraint:gN,JSONSchema202012KeywordDependentRequired:yN,JSONSchema202012KeywordContentSchema:vN,JSONSchema202012KeywordTitle:bN,JSONSchema202012KeywordDescription:wN,JSONSchema202012KeywordDefault:EN,JSONSchema202012KeywordDeprecated:xN,JSONSchema202012KeywordReadOnly:SN,JSONSchema202012KeywordWriteOnly:_N,JSONSchema202012Accordion:kN,JSONSchema202012ExpandDeepButton:AN,JSONSchema202012ChevronRightIcon:ON,withJSONSchema202012Context:FN,JSONSchema202012DeepExpansionContext:()=>IP},fn:{upperFirst:CN,jsonSchema202012:{isExpandable:TN,hasKeyword:IN,useFn:ue,useConfig:MP,useComponent:ce,useIsExpandedDeeply:LP}}});var Zw=cI(11331),$N=cI.n(Zw);const qN=e=>Fe()(e),UN=e=>e.at(0),zN=e=>"boolean"==typeof e,VN=e=>$N()(e),KN=e=>zN(e)||VN(e),WN=class{data={};register(e,t){this.data[e]=t}unregister(e){void 0===e?this.data={}:delete this.data[e]}get(e){return this.data[e]}},JN=()=>2**30>>>0,HN=()=>2**53-1,GN=new class extends WN{#t={int32:JN,int64:HN,float:()=>.1,double:()=>.1,email:()=>"user@example.com","idn-email":()=>"실례@example.com",hostname:()=>"example.com","idn-hostname":()=>"실례.com",ipv4:()=>"198.51.100.42",ipv6:()=>"2001:0db8:5b96:0000:0000:426f:8e17:642a",uri:()=>"https://example.com/","uri-reference":()=>"path/index.html",iri:()=>"https://실례.com/","iri-reference":()=>"path/실례.html",uuid:()=>"3fa85f64-5717-4562-b3fc-2c963f66afa6","uri-template":()=>"https://example.com/dictionary/{term:1}/{term}","json-pointer":()=>"/a/b/c","relative-json-pointer":()=>"1/0","date-time":()=>(new Date).toISOString(),date:()=>(new Date).toISOString().substring(0,10),time:()=>(new Date).toISOString().substring(11),duration:()=>"P3D",password:()=>"********",regex:()=>"^[a-z]+$"};data={...this.#t};get defaults(){return{...this.#t}}},YN=(e,t)=>"function"==typeof t?GN.register(e,t):null===t?GN.unregister(e):GN.get(e),XN=(YN.getDefaults=()=>GN.defaults,YN);var QN=cI(48287).Buffer,ZN=cI(48287).Buffer,e9=cI(48287).Buffer,t9=cI(48287).Buffer,r9=cI(48287).Buffer,n9=cI(48287).Buffer,s9=cI(48287).Buffer;const o9=new class extends WN{#t={"7bit":e=>QN.from(e).toString("ascii"),"8bit":e=>ZN.from(e).toString("utf8"),binary:e=>e9.from(e).toString("binary"),"quoted-printable":t=>{let r="";for(let e=0;e<t.length;e++){const n=t.charCodeAt(e);if(61===n)r+="=3D";else if(33<=n&&n<=60||62<=n&&n<=126||9===n||32===n)r+=t.charAt(e);else if(13===n||10===n)r+="\r\n";else if(126<n){const s=unescape(encodeURIComponent(t.charAt(e)));for(let e=0;e<s.length;e++)r+="="+("0"+s.charCodeAt(e).toString(16)).slice(-2).toUpperCase()}else r+="="+("0"+n.toString(16)).slice(-2).toUpperCase()}return r},base16:e=>t9.from(e).toString("hex"),base32:e=>{const t=r9.from(e).toString("utf8"),r="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";let n=0,s="",o=0,i=0;for(let e=0;e<t.length;e++)for(o=o<<8|t.charCodeAt(e),i+=8;5<=i;)s+=r.charAt(o>>>i-5&31),i-=5;0<i&&(s+=r.charAt(o<<5-i&31),n=(8-8*t.length%5)%5);for(let e=0;e<n;e++)s+="=";return s},base64:e=>n9.from(e).toString("base64"),base64url:e=>s9.from(e).toString("base64url")};data={...this.#t};get defaults(){return{...this.#t}}},i9=(e,t)=>"function"==typeof t?o9.register(e,t):null===t?o9.unregister(e):o9.get(e),a9=(i9.getDefaults=()=>o9.defaults,i9),l9={"image/*":()=>qN(25).toString("binary")},c9={"audio/*":()=>qN(25).toString("binary")},u9={"video/*":()=>qN(25).toString("binary")},p9={"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/*":()=>qN(25).toString("binary")},h9=new class extends WN{#t={"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",...l9,...c9,...u9,...p9};data={...this.#t};get defaults(){return{...this.#t}}},d9=(e,t)=>{if("function"==typeof t)return h9.register(e,t);if(null===t)return h9.unregister(e);const r=e.split(";").at(0),n=r.split("/").at(0)+"/*";return h9.get(e)||h9.get(r)||h9.get(n)},f9=(d9.getDefaults=()=>h9.defaults,d9),m9=(e,t={})=>{var{maxLength:t,minLength:r}=t;let n=e;if(Number.isInteger(t)&&0<t&&(n=n.slice(0,t)),Number.isInteger(r)&&0<r){let e=0;for(;n.length<r;)n+=n[e++%n.length]}return n},g9=(e,t={})=>{var{minimum:r,maximum:n,exclusiveMinimum:s,exclusiveMaximum:o}=t,t=t["multipleOf"],i=Number.isInteger(e)?1:Number.EPSILON;let a="number"==typeof r?r:null,l="number"==typeof n?n:null,c=e;if("number"==typeof s&&(a=null!==a?Math.max(a,s+i):s+i),"number"==typeof o&&(l=null!==l?Math.min(l,o-i):o-i),c=a>l&&e||a||l||c,"number"==typeof t&&0<t){const e=c%t;c=0==e?c:c+t-e}return c},y9=new Proxy({array:(e,{sample:r})=>{{var[n,r={}]=[r,e],{minItems:s,maxItems:e,uniqueItems:o}=r,{contains:r,minContains:i,maxContains:a}=r;let t=[...n];if(null!=r&&"object"==typeof r){if(Number.isInteger(i)&&1<i){const n=t.at(0);for(let e=1;e<i;e+=1)t.unshift(n)}Number.isInteger(a)}if(Number.isInteger(e)&&0<e&&(t=n.slice(0,e)),Number.isInteger(s)&&0<s)for(let e=0;t.length<s;e+=1)t.push(t[e%t.length]);return t=!0===o?Array.from(new Set(t)):t}},object:()=>{throw new Error("Not implemented")},string:(e,{sample:t}={})=>{const{contentEncoding:r,contentMediaType:n,contentSchema:s}=e,{pattern:o,format:i}=e,a=a9(r)||jO();t="string"==typeof o?m9((e=>{try{return new(ni())(e).gen()}catch{return"string"}})(o),e):"string"==typeof i?(e=>{const t=e["format"],r=XN(t);return"function"==typeof r?r(e):"string"})(e):KN(s)&&"string"==typeof n&&void 0!==t?Array.isArray(t)||"object"==typeof t?JSON.stringify(t):m9(String(t),e):"string"==typeof n?(e=>{const t=e["contentMediaType"],r=f9(t);return"function"==typeof r?r(e):"string"})(e):m9("string",e);return a(t)},number:e=>{var t=e["format"],t="string"==typeof t?(e=>{const t=e["format"],r=XN(t);return"function"==typeof r?r(e):0})(e):0;return g9(t,e)},integer:e=>{var t=e["format"],t="string"==typeof t?(e=>{const t=e["format"],r=XN(t);if("function"==typeof r)return r(e);switch(t){case"int32":return JN();case"int64":return HN()}return 0})(e):0;return g9(t,e)},boolean:e=>"boolean"!=typeof e.default||e.default,null:()=>null},{get:(e,t)=>"string"==typeof t&&Object.hasOwn(e,t)?e[t]:()=>"Unknown Type: "+t}),v9=["array","object","number","integer","string","boolean","null"],b9=e=>{if(!VN(e))return!1;var{examples:e,example:t,default:r}=e;return!!(Array.isArray(e)&&1<=e.length)||void 0!==r||void 0!==t},w9=e=>{if(!VN(e))return null;const{examples:t,example:r,default:n}=e;return Array.isArray(t)&&1<=t.length?t.at(0):void 0!==n?n:void 0!==r?r:void 0},E9={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"]},x9=(E9.number=E9.integer,"string"),S9=e=>void 0===e?null:null===e?"null":Array.isArray(e)?"array":Number.isInteger(e)?"integer":typeof e,_9=e=>{if(Array.isArray(e)&&1<=e.length){if(e.includes("array"))return"array";if(e.includes("object"))return"object";var t=UN(e);if(v9.includes(t))return t}return v9.includes(e)?e:null},k9=(t,r=new WeakSet)=>{if(!VN(t))return x9;if(r.has(t))return x9;r.add(t);let{type:n,const:s}=t;if("string"!=typeof(n=_9(n))){const r=Object.keys(E9);e:for(let e=0;e<r.length;e+=1){var o=r[e],i=E9[o];for(let e=0;e<i.length;e+=1){const s=i[e];if(Object.hasOwn(t,s)){n=o;break e}}}}if("string"!=typeof n&&void 0!==s){const t=S9(s);n="string"==typeof t?t:n}if("string"!=typeof n){const e=e=>{return Array.isArray(t[e])?(e=t[e].map(e=>k9(e,r)),_9(e)):null},s=e("allOf"),a=e("anyOf"),l=e("oneOf"),c=t.not?k9(t.not,r):null;(s||a||l||c)&&(n=_9([s,a,l,c].filter(Boolean)))}if("string"!=typeof n&&b9(t)){const r=w9(t),s=S9(r);n="string"==typeof s?s:n}return r.delete(t),n||x9},A9=e=>k9(e),O9=e=>zN(e)?!1===e?{not:{}}:{}:VN(e)?e:{},C9=(e,t,r={})=>{if(zN(e)&&!0===e)return!0;if(zN(e)&&!1===e)return!1;if(zN(t)&&!0===t)return!0;if(zN(t)&&!1===t)return!1;if(!KN(e))return t;if(!KN(t))return e;const n={...t,...e};if(t.type&&e.type&&Array.isArray(t.type)&&"string"==typeof t.type){const r=We(t.type).concat(e.type);n.type=Array.from(new Set(r))}if(Array.isArray(t.required)&&Array.isArray(e.required)&&(n.required=[...new Set([...e.required,...t.required])]),t.properties&&e.properties){var s=new Set([...Object.keys(t.properties),...Object.keys(e.properties)]);n.properties={};for(const a of s){var o=t.properties[a]||{},i=e.properties[a]||{};o.readOnly&&!r.includeReadOnly||o.writeOnly&&!r.includeWriteOnly?n.required=(n.required||[]).filter(e=>e!==a):n.properties[a]=C9(i,o,r)}}return KN(t.items)&&KN(e.items)&&(n.items=C9(e.items,t.items,r)),KN(t.contains)&&KN(e.contains)&&(n.contains=C9(e.contains,t.contains,r)),KN(t.contentSchema)&&KN(e.contentSchema)&&(n.contentSchema=C9(e.contentSchema,t.contentSchema,r)),n},j9=C9,P9=(y,v={},b=void 0,w=!1)=>{if(null!=y||void 0!==b){"function"==typeof y?.toJS&&(y=y.toJS()),y=O9(y);let e=void 0!==b||b9(y);var E=!e&&Array.isArray(y.oneOf)&&0<y.oneOf.length,x=!e&&Array.isArray(y.anyOf)&&0<y.anyOf.length;if(!e&&(E||x)){const b=O9(UN(E?y.oneOf:y.anyOf));!(y=j9(y,b,v)).xml&&b.xml&&(y.xml=b.xml),b9(y)&&b9(b)&&(e=!0)}const _={};let{xml:r,properties:t,additionalProperties:n,items:s,contains:o}=y||{},i=A9(y),{includeReadOnly:a,includeWriteOnly:l}=v,c,{name:u,prefix:p,namespace:h}=r=r||{},d={};Object.hasOwn(y,"type")||(y.type=i),w&&(c=(p?p+":":"")+(u||"notagname"),h)&&(_[p?"xmlns:"+p:"xmlns"]=h),w&&(d[c]=[]);const k=Ve(t);let f,m=0;const A=()=>Number.isInteger(y.maxProperties)&&0<y.maxProperties&&m>=y.maxProperties,O=e=>!(Number.isInteger(y.maxProperties)&&0<y.maxProperties)||!A()&&(!(e=>!Array.isArray(y.required)||0===y.required.length||!y.required.includes(e))(e)||0<y.maxProperties-m-(()=>{if(!Array.isArray(y.required)||0===y.required.length)return 0;let r=0;return w?y.required.forEach(e=>r+=void 0===d[e]?0:1):y.required.forEach(t=>{r+=void 0===d[c]?.find(e=>void 0!==e[t])?0:1}),y.required.length-r})());if(f=w?(e,t=void 0)=>{if(y&&k[e]){if(k[e].xml=k[e].xml||{},k[e].xml.attribute){const y=Array.isArray(k[e].enum)?UN(k[e].enum):void 0;if(b9(k[e]))_[k[e].xml.name||e]=w9(k[e]);else if(void 0!==y)_[k[e].xml.name||e]=y;else{const y=O9(k[e]),v=A9(y),w=k[e].xml.name||e;_[w]=y9[v](y)}return}k[e].xml.name=k[e].xml.name||e}else k[e]||!1===n||(k[e]={xml:{name:e}});t=P9(k[e],v,t,w);O(e)&&(m++,Array.isArray(t)?d[c]=d[c].concat(t):d[c].push(t))}:(e,t)=>{if(O(e)){if($N()(y.discriminator?.mapping)&&y.discriminator.propertyName===e&&"string"==typeof y.$$ref){for(const v in y.discriminator.mapping)if(-1!==y.$$ref.search(y.discriminator.mapping[v])){d[e]=v;break}}else d[e]=P9(k[e],v,t,w);m++}},e){let t;if(t=void 0!==b?b:w9(y),!w){if("number"==typeof t&&"string"===i)return""+t;if("string"!=typeof t||"string"===i)return t;try{return JSON.parse(t)}catch{return t}}if("array"===i){if(!Array.isArray(t)){if("string"==typeof t)return t;t=[t]}let e=[];return VN(s)&&(s.xml=s.xml||r||{},s.xml.name=s.xml.name||r.name,e=t.map(e=>P9(s,v,e,w))),VN(o)&&(o.xml=o.xml||r||{},o.xml.name=o.xml.name||r.name,e=[P9(o,v,void 0,w),...e]),e=y9.array(y,{sample:e}),r.wrapped?(d[c]=e,si()(_)||d[c].push({_attr:_})):d=e,d}if("object"!==i)return d[c]=si()(_)?t:[{_attr:_},t],d;if("string"==typeof t)return t;for(const y in t)!Object.hasOwn(t,y)||k[y]?.readOnly&&!a||k[y]?.writeOnly&&!l||(k[y]?.xml?.attribute?_[k[y].xml.name||y]=t[y]:f(y,t[y]));return si()(_)||d[c].push({_attr:_}),d}if("array"===i){let e=[];if(VN(o))if(w&&(o.xml=o.xml||y.xml||{},o.xml.name=o.xml.name||r.name),Array.isArray(o.anyOf)){const{anyOf:y,...t}=s;e.push(...o.anyOf.map(e=>P9(j9(e,t,v),v,void 0,w)))}else if(Array.isArray(o.oneOf)){const{oneOf:y,...t}=s;e.push(...o.oneOf.map(e=>P9(j9(e,t,v),v,void 0,w)))}else{if(w&&!r.wrapped)return P9(o,v,void 0,w);e.push(P9(o,v,void 0,w))}if(VN(s))if(w&&(s.xml=s.xml||y.xml||{},s.xml.name=s.xml.name||r.name),Array.isArray(s.anyOf)){const{anyOf:y,...t}=s;e.push(...s.anyOf.map(e=>P9(j9(e,t,v),v,void 0,w)))}else if(Array.isArray(s.oneOf)){const{oneOf:y,...t}=s;e.push(...s.oneOf.map(e=>P9(j9(e,t,v),v,void 0,w)))}else{if(w&&!r.wrapped)return P9(s,v,void 0,w);e.push(P9(s,v,void 0,w))}return e=y9.array(y,{sample:e}),w&&r.wrapped?(d[c]=e,si()(_)||d[c].push({_attr:_}),d):e}if("object"===i){for(var S in k)!Object.hasOwn(k,S)||k[S]?.deprecated||k[S]?.readOnly&&!a||k[S]?.writeOnly&&!l||f(S);if(w&&_&&d[c].push({_attr:_}),A())return d;if(zN(n)&&n)w?d[c].push({additionalProp:"Anything can be here"}):d.additionalProp1={},m++;else if(VN(n)){const b=n,t=P9(b,v,void 0,w);if(w&&"string"==typeof b?.xml?.name&&"notagname"!==b?.xml?.name)d[c].push(t);else{const v=Number.isInteger(y.minProperties)&&0<y.minProperties&&m<y.minProperties?y.minProperties-m:3;for(let e=1;e<=v;e++){if(A())return d;if(w){const v={};v["additionalProp"+e]=t.notagname,d[c].push(v)}else d["additionalProp"+e]=t;m++}}}return d}let g;if(void 0!==y.const)g=y.const;else if(y&&Array.isArray(y.enum))g=UN(We(y.enum));else{const b=VN(y.contentSchema)?P9(y.contentSchema,v,void 0,w):void 0;g=y9[i](y,{sample:b})}return w?(d[c]=si()(_)?g:[{_attr:_},g],d):g}},N9=(e,t,r)=>{e=P9(e,t,r,!0);if(e)return"string"==typeof e?e:ri()(e,{declaration:!0,indent:"\t"})},I9=(e,t,r)=>P9(e,t,r,!1),T9=(e,t,r)=>[e,JSON.stringify(t),JSON.stringify(r)],M9=ai(N9,T9),R9=ai(I9,T9),D9=new class extends WN{#t={};data={...this.#t};get defaults(){return{...this.#t}}},L9=(e,t)=>(void 0!==t&&D9.register(e,t),D9.get(e)),F9=[{when:/json/,shouldStringifyTypes:["string"]}],B9=["object"],$9=l=>(e,t,r,n)=>{const s=l()["fn"],o=s.jsonSchema202012.memoizedSampleFromSchema(e,t,n),i=typeof o,a=F9.reduce((e,t)=>t.when.test(r)?[...e,...t.shouldStringifyTypes]:e,B9);return Me()(a,e=>e===i)?JSON.stringify(o,null,2):o},q9=a=>(e,t,r,n)=>{const s=a()["fn"],o=s.jsonSchema202012.getJsonSampleSchema(e,t,r,n);let i;try{"\n"===(i=ms.dump(ms.load(o),{lineWidth:-1},{schema:hs}))[i.length-1]&&(i=i.slice(0,i.length-1))}catch(e){return console.error(e),"error: could not generate yaml example"}return i.replace(/\t/g," ")},U9=o=>(e,t,r)=>{const n=o()["fn"];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"?>\n\x3c!-- XML example cannot be generated; root element name is undefined --\x3e';var s;e.$$ref&&(s=e.$$ref.match(/\S*\/(\S+)$/),e.xml.name=s[1])}return n.jsonSchema202012.memoizedCreateXMLExample(e,t,r)},z9=o=>(e,t="",r={},n=void 0)=>{const s=o()["fn"];return"function"==typeof e?.toJS&&(e=e.toJS()),"function"==typeof n?.toJS&&(n=n.toJS()),/xml/.test(t)?s.jsonSchema202012.getXmlSampleSchema(e,r,n):/(yaml|yml)/.test(t)?s.jsonSchema202012.getYamlSampleSchema(e,r,t,n):s.jsonSchema202012.getJsonSampleSchema(e,r,t,n)},V9=({getSystem:e})=>{var t=$9(e),r=q9(e),n=U9(e),e=z9(e);return{fn:{jsonSchema202012:{sampleFromSchema:I9,sampleFromSchemaGeneric:P9,sampleOptionAPI:L9,sampleEncoderAPI:a9,sampleFormatAPI:XN,sampleMediaTypeAPI:f9,createXMLExample:N9,memoizedSampleFromSchema:R9,memoizedCreateXMLExample:M9,getJsonSampleSchema:t,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:e,mergeJsonSchema:j9}}}};function K9(){return[H4,h5,BN,V9,OP]}const W9=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:e=>(e.curlOptions=[],e),responseInterceptor:e=>e,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:[K9],plugins:[],initialState:{},fn:{},components:{},syntaxHighlight:{activated:!0,theme:"agate"},operationsSorter:null,tagsSorter:null,onComplete:null,modelPropertyMacro:null,parameterMacro:null});var H=cI(61448),J9=cI.n(H),Lb=cI(77731),H9=cI.n(Lb);const G9=(e,t=[])=>Array.isArray(e)?e:t,Y9=(e,t=!1)=>!0===e||"true"===e||1===e||"1"===e||!1!==e&&"false"!==e&&0!==e&&"0"!==e&&t,X9=(e,t)=>"function"==typeof e?e:t,Q9=e=>"function"==typeof e?e:null,Z9=e=>null===e||"null"===e?null:String(e),eI=(e,t=-1)=>{e=parseInt(e,10);return Number.isNaN(e)?t:e},tI=(e,t={})=>$N()(e)?e:t,rI=e=>"function"==typeof e||"string"==typeof e?e:null,nI=e=>String(e),sI={components:{typeCaster:tI},configs:{typeCaster:tI},configUrl:{typeCaster:Z9},deepLinking:{typeCaster:Y9,defaultValue:W9.deepLinking},defaultModelExpandDepth:{typeCaster:eI,defaultValue:W9.defaultModelExpandDepth},defaultModelRendering:{typeCaster:nI},defaultModelsExpandDepth:{typeCaster:eI,defaultValue:W9.defaultModelsExpandDepth},displayOperationId:{typeCaster:Y9,defaultValue:W9.displayOperationId},displayRequestDuration:{typeCaster:Y9,defaultValue:W9.displayRequestDuration},docExpansion:{typeCaster:nI},dom_id:{typeCaster:Z9},domNode:{typeCaster:e=>null===e||"null"===e?null:e},filter:{typeCaster:e=>{var t=String(e);return Y9(e,t)}},fn:{typeCaster:tI},initialState:{typeCaster:tI},layout:{typeCaster:nI},maxDisplayedTags:{typeCaster:eI,defaultValue:W9.maxDisplayedTags},modelPropertyMacro:{typeCaster:Q9},oauth2RedirectUrl:{typeCaster:e=>void 0===e||"undefined"===e?void 0:String(e)},onComplete:{typeCaster:Q9},operationsSorter:{typeCaster:rI},paramaterMacro:{typeCaster:Q9},persistAuthorization:{typeCaster:Y9,defaultValue:W9.persistAuthorization},plugins:{typeCaster:G9,defaultValue:W9.plugins},presets:{typeCaster:G9,defaultValue:W9.presets},requestInterceptor:{typeCaster:X9,defaultValue:W9.requestInterceptor},requestSnippets:{typeCaster:tI,defaultValue:W9.requestSnippets},requestSnippetsEnabled:{typeCaster:Y9,defaultValue:W9.requestSnippetsEnabled},responseInterceptor:{typeCaster:X9,defaultValue:W9.responseInterceptor},showCommonExtensions:{typeCaster:Y9,defaultValue:W9.showCommonExtensions},showExtensions:{typeCaster:Y9,defaultValue:W9.showExtensions},showMutatedRequest:{typeCaster:Y9,defaultValue:W9.showMutatedRequest},spec:{typeCaster:tI,defaultValue:W9.spec},supportedSubmitMethods:{typeCaster:G9,defaultValue:W9.supportedSubmitMethods},syntaxHighlight:{typeCaster:(e,t)=>$N()(e)?e:!1===e||"false"===e||0===e||"0"===e?{activated:!1}:t,defaultValue:W9.syntaxHighlight},"syntaxHighlight.activated":{typeCaster:Y9,defaultValue:W9.syntaxHighlight.activated},"syntaxHighlight.theme":{typeCaster:nI},tagsSorter:{typeCaster:rI},tryItOutEnabled:{typeCaster:Y9,defaultValue:W9.tryItOutEnabled},url:{typeCaster:nI},urls:{typeCaster:e=>Array.isArray(e)?e:null},"urls.primaryName":{typeCaster:nI},validatorUrl:{typeCaster:Z9},withCredentials:{typeCaster:Y9,defaultValue:W9.withCredentials}},oI=e=>Object.entries(sI).reduce((e,[t,{typeCaster:r,defaultValue:n}])=>{return J9()(e,t)&&(r=r(Ts()(e,t),n),e=H9()(t,r,e)),e},{...e});function iI(e){const s=(e=>{e=e.queryConfigEnabled?(e=new URLSearchParams(B.location.search),Object.fromEntries(e)):{};return Object.entries(e).reduce((e,[t,r])=>("config"===t?e.configUrl=r:"urls.primaryName"===t?e[t]=r:e=Na()(e,t,r),e),{})})(e),t=(()=>{const e={};return globalThis.location&&(e.oauth2RedirectUrl=`${globalThis.location.protocol}//${globalThis.location.host}${globalThis.location.pathname.substring(0,globalThis.location.pathname.lastIndexOf("/"))}/oauth2-redirect.html`),e})(),o=iI.config.merge({},iI.config.defaults,t,e,s),r=(e=>{const t=we()({layout:{layout:e.layout,filter:e.filter},spec:{spec:"",url:e.url},requestSnippets:e.requestSnippets},e.initialState);if(e.initialState)for(var[r,n]of Object.entries(e.initialState))void 0===n&&delete t[r];return{system:{configs:e.configs},plugins:e.presets,state:t}})(o),n=(a=o,()=>({fn:a.fn,components:a.components})),i=new gt(r);var a;i.register([o.plugins,n]);const l=i.getSystem(),c=e=>{i.setConfigs(e),l.configsActions.loaded()},u=e=>{!s.url&&"object"==typeof e.spec&&0<Object.keys(e.spec).length?(l.specActions.updateUrl(""),l.specActions.updateLoadingStatus("success"),l.specActions.updateSpec(JSON.stringify(e.spec))):"function"==typeof l.specActions.download&&e.url&&!e.urls&&(l.specActions.updateUrl(e.url),l.specActions.download(e.url))},p=e=>{var t;e.domNode?l.render(e.domNode,"App"):e.dom_id?(t=document.querySelector(e.dom_id),l.render(t,"App")):null!==e.dom_id&&null!==e.domNode&&console.error("Skipped rendering: no `dom_id` or `domNode` was specified")};return o.configUrl?(async()=>{var r,n,e=o["configUrl"],e=({url:r,system:n}=[{url:e,system:l}][0],await(async e=>{if(!r)return{};if("function"!=typeof n.configsActions?.getConfigByUrl)return{};const t=(()=>{const r={};return r.promise=new Promise((e,t)=>{r.resolve=e,r.reject=t}),r})();return n.configsActions.getConfigByUrl({url:r,loadRemoteConfig:!0,requestInterceptor:e.requestInterceptor,responseInterceptor:e.responseInterceptor},e=>{t.resolve(e)}),t.promise})(o)),t=iI.config.merge({},o,e,s);c(t),null!==e&&u(t),p(t)})():(c(o),u(o),p(o)),l}iI.System=gt,iI.config={defaults:W9,merge:(e,...t)=>{let r=Symbol.for("domNode"),n=Symbol.for("primaryName");const s=[];for(const e of t){const t={...e};Object.hasOwn(t,"domNode")&&(r=t.domNode,delete t.domNode),Object.hasOwn(t,"urls.primaryName")?(n=t["urls.primaryName"],delete t["urls.primaryName"]):Array.isArray(t.urls)&&Object.hasOwn(t.urls,"primaryName")&&(n=t.urls.primaryName,delete t.urls.primaryName),s.push(t)}const o=we()(e,...s);return r!==Symbol.for("domNode")&&(o.domNode=r),n!==Symbol.for("primaryName")&&Array.isArray(o.urls)&&(o.urls.primaryName=n),oI(o)},typeCast:oI,typeCastMappings:sI},iI.presets={base:H4,apis:K9},iI.plugins={Auth:ur,Configs:Ss,DeepLining:Ns,Err:Bs,Filter:qs,Icons:Us,JSONSchema5:ti,JSONSchema5Samples:ki,JSONSchema202012:BN,JSONSchema202012Samples:V9,Layout:eo,Logs:to,OpenAPI30:h5,OpenAPI31:h5,OnComplete:no,RequestSnippets:xo,Spec:vl,SwaggerClient:LA,Util:FA,View:MO,ViewLegacy:RO,DownloadUrl:DO,SyntaxHighlighting:xC,Versions:SC,SafeRender:jC};const aI=iI})(),uI.default}); |