From 060956c108ff4d566a2f1eab43e33fb621382279 Mon Sep 17 00:00:00 2001 From: Jonas Groeger <jonas.groeger@codecentric.de> Date: Wed, 19 May 2021 10:54:57 +0200 Subject: [PATCH] Upgrade to RapiDoc 9 --- ui/index.html | 2 +- ui/rapidoc-min.js | 222 +--------------------------------------------- 2 files changed, 4 insertions(+), 220 deletions(-) diff --git a/ui/index.html b/ui/index.html index a5823979..ff526f68 100644 --- a/ui/index.html +++ b/ui/index.html @@ -15,7 +15,7 @@ <body> <!--<rapi-doc spec-url = "poc/reference/0_xfall_deref_snippets.json" --> <rapi-doc id="thedoc" - render-style="read" + render-style="focused" show-info="true" show-header="true" show-components="true" diff --git a/ui/rapidoc-min.js b/ui/rapidoc-min.js index ce3f9db2..3dcfda6f 100644 --- a/ui/rapidoc-min.js +++ b/ui/rapidoc-min.js @@ -1,220 +1,4 @@ -/*! - * RapiDoc 8.4.4 - WebComponent to View OpenAPI docs - * License: MIT - * Repo : https://github.com/mrin9/RapiDoc - * Author : Mrinmoy Majumdar - */!function(e){var t=window.webpackHotUpdate;window.webpackHotUpdate=function(e,r){!function(e,t){if(!w[e]||!x[e])return;for(var r in x[e]=!1,t)Object.prototype.hasOwnProperty.call(t,r)&&(h[r]=t[r]);0==--g&&0===y&&O()}(e,r),t&&t(e,r)};var r,n=!0,o="d8187172a57f882dcfd1",a={},i=[],s=[];function c(e){var t=j[e];if(!t)return _;var n=function(n){return t.hot.active?(j[n]?-1===j[n].parents.indexOf(e)&&j[n].parents.push(e):(i=[e],r=n),-1===t.children.indexOf(n)&&t.children.push(n)):(console.warn("[HMR] unexpected require("+n+") from disposed module "+e),i=[]),_(n)},o=function(e){return{configurable:!0,enumerable:!0,get:function(){return _[e]},set:function(t){_[e]=t}}};for(var a in _)Object.prototype.hasOwnProperty.call(_,a)&&"e"!==a&&"t"!==a&&Object.defineProperty(n,a,o(a));return n.e=function(e){return"ready"===p&&f("prepare"),y++,_.e(e).then(t,(function(e){throw t(),e}));function t(){y--,"prepare"===p&&(b[e]||A(e),0===y&&0===g&&O())}},n.t=function(e,t){return 1&t&&(e=n(e)),_.t(e,-2&t)},n}function l(t){var n={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:r!==t,active:!0,accept:function(e,t){if(void 0===e)n._selfAccepted=!0;else if("function"==typeof e)n._selfAccepted=e;else if("object"==typeof e)for(var r=0;r<e.length;r++)n._acceptedDependencies[e[r]]=t||function(){};else n._acceptedDependencies[e]=t||function(){}},decline:function(e){if(void 0===e)n._selfDeclined=!0;else if("object"==typeof e)for(var t=0;t<e.length;t++)n._declinedDependencies[e[t]]=!0;else n._declinedDependencies[e]=!0},dispose:function(e){n._disposeHandlers.push(e)},addDisposeHandler:function(e){n._disposeHandlers.push(e)},removeDisposeHandler:function(e){var t=n._disposeHandlers.indexOf(e);t>=0&&n._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,p){case"idle":(h={})[t]=e[t],f("ready");break;case"ready":C(t);break;case"prepare":case"check":case"dispose":case"apply":(m=m||[]).push(t)}},check:S,apply:E,status:function(e){if(!e)return p;u.push(e)},addStatusHandler:function(e){u.push(e)},removeStatusHandler:function(e){var t=u.indexOf(e);t>=0&&u.splice(t,1)},data:a[t]};return r=void 0,n}var u=[],p="idle";function f(e){p=e;for(var t=0;t<u.length;t++)u[t].call(null,e)}var d,h,v,m,g=0,y=0,b={},x={},w={};function k(e){return+e+""===e?+e:e}function S(e){if("idle"!==p)throw new Error("check() is only allowed in idle status");return n=e,f("check"),(t=1e4,t=t||1e4,new Promise((function(e,r){if("undefined"==typeof XMLHttpRequest)return r(new Error("No browser support"));try{var n=new XMLHttpRequest,a=_.p+""+o+".hot-update.json";n.open("GET",a,!0),n.timeout=t,n.send(null)}catch(e){return r(e)}n.onreadystatechange=function(){if(4===n.readyState)if(0===n.status)r(new Error("Manifest request to "+a+" timed out."));else if(404===n.status)e();else if(200!==n.status&&304!==n.status)r(new Error("Manifest request to "+a+" failed."));else{try{var t=JSON.parse(n.responseText)}catch(e){return void r(e)}e(t)}}}))).then((function(e){if(!e)return f(D()?"ready":"idle"),null;x={},b={},w=e.c,v=e.h,f("prepare");var t=new Promise((function(e,t){d={resolve:e,reject:t}}));h={};return A(0),"prepare"===p&&0===y&&0===g&&O(),t}));var t}function A(e){w[e]?(x[e]=!0,g++,function(e){var t=document.createElement("script");t.charset="utf-8",t.src=_.p+""+e+"."+o+".hot-update.js",document.head.appendChild(t)}(e)):b[e]=!0}function O(){f("ready");var e=d;if(d=null,e)if(n)Promise.resolve().then((function(){return E(n)})).then((function(t){e.resolve(t)}),(function(t){e.reject(t)}));else{var t=[];for(var r in h)Object.prototype.hasOwnProperty.call(h,r)&&t.push(k(r));e.resolve(t)}}function E(t){if("ready"!==p)throw new Error("apply() is only allowed in ready status");return function t(n){var s,c,l,u,p;function d(e){for(var t=[e],r={},n=t.map((function(e){return{chain:[e],id:e}}));n.length>0;){var o=n.pop(),a=o.id,i=o.chain;if((u=j[a])&&(!u.hot._selfAccepted||u.hot._selfInvalidated)){if(u.hot._selfDeclined)return{type:"self-declined",chain:i,moduleId:a};if(u.hot._main)return{type:"unaccepted",chain:i,moduleId:a};for(var s=0;s<u.parents.length;s++){var c=u.parents[s],l=j[c];if(l){if(l.hot._declinedDependencies[a])return{type:"declined",chain:i.concat([c]),moduleId:a,parentId:c};-1===t.indexOf(c)&&(l.hot._acceptedDependencies[a]?(r[c]||(r[c]=[]),g(r[c],[a])):(delete r[c],t.push(c),n.push({chain:i.concat([c]),id:c})))}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:r}}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];-1===e.indexOf(n)&&e.push(n)}}D();var y={},b=[],x={},S=function(){console.warn("[HMR] unexpected require("+O.moduleId+") to disposed module")};for(var A in h)if(Object.prototype.hasOwnProperty.call(h,A)){var O;p=k(A),O=h[A]?d(p):{type:"disposed",moduleId:A};var E=!1,C=!1,T=!1,I="";switch(O.chain&&(I="\nUpdate propagation: "+O.chain.join(" -> ")),O.type){case"self-declined":n.onDeclined&&n.onDeclined(O),n.ignoreDeclined||(E=new Error("Aborted because of self decline: "+O.moduleId+I));break;case"declined":n.onDeclined&&n.onDeclined(O),n.ignoreDeclined||(E=new Error("Aborted because of declined dependency: "+O.moduleId+" in "+O.parentId+I));break;case"unaccepted":n.onUnaccepted&&n.onUnaccepted(O),n.ignoreUnaccepted||(E=new Error("Aborted because "+p+" is not accepted"+I));break;case"accepted":n.onAccepted&&n.onAccepted(O),C=!0;break;case"disposed":n.onDisposed&&n.onDisposed(O),T=!0;break;default:throw new Error("Unexception type "+O.type)}if(E)return f("abort"),Promise.reject(E);if(C)for(p in x[p]=h[p],g(b,O.outdatedModules),O.outdatedDependencies)Object.prototype.hasOwnProperty.call(O.outdatedDependencies,p)&&(y[p]||(y[p]=[]),g(y[p],O.outdatedDependencies[p]));T&&(g(b,[O.moduleId]),x[p]=S)}var F,P=[];for(c=0;c<b.length;c++)p=b[c],j[p]&&j[p].hot._selfAccepted&&x[p]!==S&&!j[p].hot._selfInvalidated&&P.push({module:p,parents:j[p].parents.slice(),errorHandler:j[p].hot._selfAccepted});f("dispose"),Object.keys(w).forEach((function(e){!1===w[e]&&function(e){delete installedChunks[e]}(e)}));var R,B,L=b.slice();for(;L.length>0;)if(p=L.pop(),u=j[p]){var N={},M=u.hot._disposeHandlers;for(l=0;l<M.length;l++)(s=M[l])(N);for(a[p]=N,u.hot.active=!1,delete j[p],delete y[p],l=0;l<u.children.length;l++){var q=j[u.children[l]];q&&((F=q.parents.indexOf(p))>=0&&q.parents.splice(F,1))}}for(p in y)if(Object.prototype.hasOwnProperty.call(y,p)&&(u=j[p]))for(B=y[p],l=0;l<B.length;l++)R=B[l],(F=u.children.indexOf(R))>=0&&u.children.splice(F,1);f("apply"),void 0!==v&&(o=v,v=void 0);for(p in h=void 0,x)Object.prototype.hasOwnProperty.call(x,p)&&(e[p]=x[p]);var z=null;for(p in y)if(Object.prototype.hasOwnProperty.call(y,p)&&(u=j[p])){B=y[p];var U=[];for(c=0;c<B.length;c++)if(R=B[c],s=u.hot._acceptedDependencies[R]){if(-1!==U.indexOf(s))continue;U.push(s)}for(c=0;c<U.length;c++){s=U[c];try{s(B)}catch(e){n.onErrored&&n.onErrored({type:"accept-errored",moduleId:p,dependencyId:B[c],error:e}),n.ignoreErrored||z||(z=e)}}}for(c=0;c<P.length;c++){var $=P[c];p=$.module,i=$.parents,r=p;try{_(p)}catch(e){if("function"==typeof $.errorHandler)try{$.errorHandler(e)}catch(t){n.onErrored&&n.onErrored({type:"self-accept-error-handler-errored",moduleId:p,error:t,originalError:e}),n.ignoreErrored||z||(z=t),z||(z=e)}else n.onErrored&&n.onErrored({type:"self-accept-errored",moduleId:p,error:e}),n.ignoreErrored||z||(z=e)}}if(z)return f("fail"),Promise.reject(z);if(m)return t(n).then((function(e){return b.forEach((function(t){e.indexOf(t)<0&&e.push(t)})),e}));return f("idle"),new Promise((function(e){e(b)}))}(t=t||{})}function D(){if(m)return h||(h={}),m.forEach(C),m=void 0,!0}function C(t){Object.prototype.hasOwnProperty.call(h,t)||(h[t]=e[t])}var j={};function _(t){if(j[t])return j[t].exports;var r=j[t]={i:t,l:!1,exports:{},hot:l(t),parents:(s=i,i=[],s),children:[]};return e[t].call(r.exports,r,r.exports,c(t)),r.l=!0,r.exports}_.m=e,_.c=j,_.d=function(e,t,r){_.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},_.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},_.t=function(e,t){if(1&t&&(e=_(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(_.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)_.d(r,n,function(t){return e[t]}.bind(null,n));return r},_.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return _.d(t,"a",t),t},_.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},_.p="",_.h=function(){return o},c(637)(_.s=637)}([function(e,t,r){"use strict";function n(e){return(n="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 o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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 i(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function f(e,t,r){return(f=p()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&u(o,r.prototype),o}).apply(null,arguments)}function d(e){var t="function"==typeof Map?new Map:void 0;return(d=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return f(e,arguments,l(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),u(n,e)})(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?h(e):t}function m(e){var t=p();return function(){var r,n=l(e);if(t){var o=l(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return v(this,r)}}function g(e,t,r){return(g="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=l(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(r):o.value}})(e,t,r||e)}function y(e,t){return x(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,a=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw a}}return r}(e,t)||w(e,t)||S()}function b(e){return x(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||w(e)||S()}function x(e){if(Array.isArray(e))return e}function w(e,t){if(e){if("string"==typeof e)return k(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(e,t):void 0}}function k(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 S(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function A(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=w(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,i=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){i=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(i)throw o}}}}r.d(t,"a",(function(){return O})),r.d(t,"b",(function(){return P})),r.d(t,"c",(function(){return q})),r.d(t,"d",(function(){return F})),r.d(t,"e",(function(){return E})),r.d(t,"f",(function(){return N})),r.d(t,"g",(function(){return A})),r.d(t,"h",(function(){return n})),r.d(t,"i",(function(){return i})),r.d(t,"j",(function(){return o})),r.d(t,"k",(function(){return D})),r.d(t,"l",(function(){return s})),r.d(t,"m",(function(){return M})),r.d(t,"n",(function(){return L})),r.d(t,"o",(function(){return y})),r.d(t,"p",(function(){return R})),r.d(t,"q",(function(){return c})),r.d(t,"r",(function(){return m})),r.d(t,"s",(function(){return g})),r.d(t,"t",(function(){return l})),r.d(t,"u",(function(){return C})),r.d(t,"v",(function(){return B})),r.d(t,"w",(function(){return h})),r.d(t,"x",(function(){return b})),r.d(t,"y",(function(){return v}));var O={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},E={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},D="tag:yaml.org,2002:",C={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function j(e){for(var t=[0],r=e.indexOf("\n");-1!==r;)r+=1,t.push(r),r=e.indexOf("\n",r);return t}function _(e){var t,r;return"string"==typeof e?(t=j(e),r=e):(Array.isArray(e)&&(e=e[0]),e&&e.context&&(e.lineStarts||(e.lineStarts=j(e.context.src)),t=e.lineStarts,r=e.context.src)),{lineStarts:t,src:r}}function T(e,t){if("number"!=typeof e||e<0)return null;var r=_(t),n=r.lineStarts,o=r.src;if(!n||!o||e>o.length)return null;for(var a=0;a<n.length;++a){var i=n[a];if(e<i)return{line:a,col:e-n[a-1]+1};if(e===i)return{line:a+1,col:1}}var s=n.length;return{line:s,col:e-n[s-1]+1}}function I(e,t){var r=_(t),n=r.lineStarts,o=r.src;if(!n||!(e>=1)||e>n.length)return null;for(var a=n[e-1],i=n[e];i&&i>a&&"\n"===o[i-1];)--i;return o.slice(a,i)}var F=function(){function e(t,r){o(this,e),this.start=t,this.end=r||t}return i(e,null,[{key:"copy",value:function(t){return new e(t.start,t.end)}}]),i(e,[{key:"isEmpty",value:function(){return"number"!=typeof this.start||!this.end||this.end<=this.start}},{key:"setOrigRange",value:function(e,t){var r=this.start,n=this.end;if(0===e.length||n<=e[0])return this.origStart=r,this.origEnd=n,t;for(var o=t;o<e.length&&!(e[o]>r);)++o;this.origStart=r+o;for(var a=o;o<e.length&&!(e[o]>=n);)++o;return this.origEnd=n+o,a}}]),e}(),P=function(){function e(t,r,n){o(this,e),Object.defineProperty(this,"context",{value:n||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=r||[],this.type=t,this.value=null}return i(e,null,[{key:"addStringTerminator",value:function(t,r,n){if("\n"===n[n.length-1])return n;var o=e.endOfWhiteSpace(t,r);return o>=t.length||"\n"===t[o]?n+"\n":n}},{key:"atDocumentBoundary",value:function(e,t,r){var n=e[t];if(!n)return!0;var o=e[t-1];if(o&&"\n"!==o)return!1;if(r){if(n!==r)return!1}else if(n!==O.DIRECTIVES_END&&n!==O.DOCUMENT_END)return!1;var a=e[t+1],i=e[t+2];if(a!==n||i!==n)return!1;var s=e[t+3];return!s||"\n"===s||"\t"===s||" "===s}},{key:"endOfIdentifier",value:function(e,t){for(var r=e[t],n="<"===r,o=n?["\n","\t"," ",">"]:["\n","\t"," ","[","]","{","}",","];r&&-1===o.indexOf(r);)r=e[t+=1];return n&&">"===r&&(t+=1),t}},{key:"endOfIndent",value:function(e,t){for(var r=e[t];" "===r;)r=e[t+=1];return t}},{key:"endOfLine",value:function(e,t){for(var r=e[t];r&&"\n"!==r;)r=e[t+=1];return t}},{key:"endOfWhiteSpace",value:function(e,t){for(var r=e[t];"\t"===r||" "===r;)r=e[t+=1];return t}},{key:"startOfLine",value:function(e,t){var r=e[t-1];if("\n"===r)return t;for(;r&&"\n"!==r;)r=e[t-=1];return t+1}},{key:"endOfBlockIndent",value:function(t,r,n){var o=e.endOfIndent(t,n);if(o>n+r)return o;var a=e.endOfWhiteSpace(t,o),i=t[a];return i&&"\n"!==i?null:a}},{key:"atBlank",value:function(e,t,r){var n=e[t];return"\n"===n||"\t"===n||" "===n||r&&!n}},{key:"nextNodeIsIndented",value:function(e,t,r){return!(!e||t<0)&&(t>0||r&&"-"===e)}},{key:"normalizeOffset",value:function(t,r){var n=t[r];return n?"\n"!==n&&"\n"===t[r-1]?r-1:e.endOfWhiteSpace(t,r):r}},{key:"foldNewline",value:function(t,r,n){for(var o=0,a=!1,i="",s=t[r+1];" "===s||"\t"===s||"\n"===s;){switch(s){case"\n":o=0,r+=1,i+="\n";break;case"\t":o<=n&&(a=!0),r=e.endOfWhiteSpace(t,r+2)-1;break;case" ":o+=1,r+=1}s=t[r+1]}return i||(i=" "),s&&o<=n&&(a=!0),{fold:i,offset:r,error:a}}}]),i(e,[{key:"getPropValue",value:function(e,t,r){if(!this.context)return null;var n=this.context.src,o=this.props[e];return o&&n[o.start]===t?n.slice(o.start+(r?1:0),o.end):null}},{key:"commentHasRequiredWhitespace",value:function(t){var r=this.context.src;if(this.header&&t===this.header.end)return!1;if(!this.valueRange)return!1;var n=this.valueRange.end;return t!==n||e.atBlank(r,n-1)}},{key:"parseComment",value:function(t){var r=this.context.src;if(r[t]===O.COMMENT){var n=e.endOfLine(r,t+1),o=new F(t,n);return this.props.push(o),n}return t}},{key:"setOrigRanges",value:function(e,t){return this.range&&(t=this.range.setOrigRange(e,t)),this.valueRange&&this.valueRange.setOrigRange(e,t),this.props.forEach((function(r){return r.setOrigRange(e,t)})),t}},{key:"toString",value:function(){var t=this.context.src,r=this.range,n=this.value;if(null!=n)return n;var o=t.slice(r.start,r.end);return e.addStringTerminator(t,r.end,o)}},{key:"anchor",get:function(){for(var e=0;e<this.props.length;++e){var t=this.getPropValue(e,O.ANCHOR,!0);if(null!=t)return t}return null}},{key:"comment",get:function(){for(var e=[],t=0;t<this.props.length;++t){var r=this.getPropValue(t,O.COMMENT,!0);null!=r&&e.push(r)}return e.length>0?e.join("\n"):null}},{key:"hasComment",get:function(){if(this.context)for(var e=this.context.src,t=0;t<this.props.length;++t)if(e[this.props[t].start]===O.COMMENT)return!0;return!1}},{key:"hasProps",get:function(){if(this.context)for(var e=this.context.src,t=0;t<this.props.length;++t)if(e[this.props[t].start]!==O.COMMENT)return!0;return!1}},{key:"includesTrailingLines",get:function(){return!1}},{key:"jsonLike",get:function(){return-1!==[E.FLOW_MAP,E.FLOW_SEQ,E.QUOTE_DOUBLE,E.QUOTE_SINGLE].indexOf(this.type)}},{key:"rangeAsLinePos",get:function(){if(this.range&&this.context){var e=T(this.range.start,this.context.root);if(e)return{start:e,end:T(this.range.end,this.context.root)}}}},{key:"rawValue",get:function(){if(!this.valueRange||!this.context)return null;var e=this.valueRange,t=e.start,r=e.end;return this.context.src.slice(t,r)}},{key:"tag",get:function(){for(var e=0;e<this.props.length;++e){var t=this.getPropValue(e,O.TAG,!1);if(null!=t){if("<"===t[1])return{verbatim:t.slice(2,-1)};var r=y(t.match(/^(.*!)([^!]*)$/),3);r[0];return{handle:r[1],suffix:r[2]}}}return null}},{key:"valueRangeContainsNewline",get:function(){if(!this.valueRange||!this.context)return!1;for(var e=this.valueRange,t=e.start,r=e.end,n=this.context.src,o=t;o<r;++o)if("\n"===n[o])return!0;return!1}}]),e}(),R=function(e){c(r,e);var t=m(r);function r(e,n,a){var i;if(o(this,r),!(a&&n instanceof P))throw new Error("Invalid arguments for new ".concat(e));return(i=t.call(this)).name=e,i.message=a,i.source=n,i}return i(r,[{key:"makePretty",value:function(){if(this.source){this.nodeType=this.source.type;var e=this.source.context&&this.source.context.root;if("number"==typeof this.offset){this.range=new F(this.offset,this.offset+1);var t=e&&T(this.offset,e);if(t){var r={line:t.line,col:t.col+1};this.linePos={start:t,end:r}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){var n=this.linePos.start,o=n.line,a=n.col;this.message+=" at line ".concat(o,", column ").concat(a);var i=e&&function(e,t){var r=e.start,n=e.end,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:80,a=I(r.line,t);if(!a)return null;var i=r.col;if(a.length>o)if(i<=o-10)a=a.substr(0,o-1)+"…";else{var s=Math.round(o/2);a.length>i+s&&(a=a.substr(0,i+s-1)+"…"),i-=a.length-o,a="…"+a.substr(1-o)}var c=1,l="";n&&(n.line===r.line&&i+(n.col-r.col)<=o+1?c=n.col-r.col:(c=Math.min(a.length+1,o)-i,l="…"));var u=i>1?" ".repeat(i-1):"",p="^".repeat(c);return"".concat(a,"\n").concat(u).concat(p).concat(l)}(this.linePos,e);i&&(this.message+=":\n\n".concat(i,"\n"))}delete this.source}}}]),r}(d(Error)),B=function(e){c(r,e);var t=m(r);function r(e,n){return o(this,r),t.call(this,"YAMLReferenceError",e,n)}return r}(R),L=function(e){c(r,e);var t=m(r);function r(e,n){return o(this,r),t.call(this,"YAMLSemanticError",e,n)}return r}(R),N=function(e){c(r,e);var t=m(r);function r(e,n){return o(this,r),t.call(this,"YAMLSyntaxError",e,n)}return r}(R),M=function(e){c(r,e);var t=m(r);function r(e,n){return o(this,r),t.call(this,"YAMLWarning",e,n)}return r}(R),q=function(e){c(r,e);var t=m(r);function r(){return o(this,r),t.apply(this,arguments)}return i(r,[{key:"parseBlockValue",value:function(e){for(var t=this.context,n=t.indent,o=t.inFlow,a=t.src,i=e,s=e,c=a[i];"\n"===c&&!P.atDocumentBoundary(a,i+1);c=a[i]){var l=P.endOfBlockIndent(a,n,i+1);if(null===l||"#"===a[l])break;i="\n"===a[l]?l:s=r.endOfLine(a,l,o)}return this.valueRange.isEmpty()&&(this.valueRange.start=e),this.valueRange.end=s,s}},{key:"parse",value:function(e,t){this.context=e;var n=e.inFlow,o=e.src,a=t,i=o[a];return i&&"#"!==i&&"\n"!==i&&(a=r.endOfLine(o,t,n)),this.valueRange=new F(t,a),a=P.endOfWhiteSpace(o,a),a=this.parseComment(a),this.hasComment&&!this.valueRange.isEmpty()||(a=this.parseBlockValue(a)),a}},{key:"strValue",get:function(){if(!this.valueRange||!this.context)return null;for(var e=this.valueRange,t=e.start,r=e.end,n=this.context.src,o=n[r-1];t<r&&("\n"===o||"\t"===o||" "===o);)o=n[--r-1];for(var a="",i=t;i<r;++i){var s=n[i];if("\n"===s){var c=P.foldNewline(n,i,-1);a+=c.fold,i=c.offset}else if(" "===s||"\t"===s){for(var l=i,u=n[i+1];i<r&&(" "===u||"\t"===u);)u=n[(i+=1)+1];"\n"!==u&&(a+=i>l?n.slice(l,i+1):s)}else a+=s}var p=n[t];switch(p){case"\t":return{errors:[new L(this,"Plain value cannot start with a tab character")],str:a};case"@":case"`":var f="Plain value cannot start with reserved character ".concat(p);return{errors:[new L(this,f)],str:a};default:return a}}}],[{key:"endOfLine",value:function(e,t,r){for(var n=e[t],o=t;n&&"\n"!==n&&(!r||"["!==n&&"]"!==n&&"{"!==n&&"}"!==n&&","!==n);){var a=e[o+1];if(":"===n&&(!a||"\n"===a||"\t"===a||" "===a||r&&","===a))break;if((" "===n||"\t"===n)&&"#"===a)break;o+=1,n=a}return o}}]),r}(P)},function(e,t,r){"use strict";r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return u})),r.d(t,"c",(function(){return y})),r.d(t,"d",(function(){return a})),r.d(t,"e",(function(){return d})),r.d(t,"f",(function(){return s})),r.d(t,"g",(function(){return f})),r.d(t,"h",(function(){return x})),r.d(t,"i",(function(){return b})),r.d(t,"j",(function(){return I})),r.d(t,"k",(function(){return g})),r.d(t,"l",(function(){return l})),r.d(t,"m",(function(){return o})),r.d(t,"n",(function(){return H})),r.d(t,"o",(function(){return V})),r.d(t,"p",(function(){return w})),r.d(t,"q",(function(){return N})),r.d(t,"r",(function(){return F})),r.d(t,"s",(function(){return m})),r.d(t,"t",(function(){return k})),r.d(t,"u",(function(){return $})),r.d(t,"v",(function(){return S})),r.d(t,"w",(function(){return i}));var n=r(0);function o(e,t,r){return r?-1===r.indexOf("\n")?"".concat(e," #").concat(r):"".concat(e,"\n")+r.replace(/^/gm,"".concat(t||"","#")):e}var a=function e(){Object(n.j)(this,e)};function i(e,t,r){if(Array.isArray(e))return e.map((function(e,t){return i(e,String(t),r)}));if(e&&"function"==typeof e.toJSON){var n=r&&r.anchors&&r.anchors.get(e);n&&(r.onCreate=function(e){n.res=e,delete r.onCreate});var o=e.toJSON(t,r);return n&&r.onCreate&&r.onCreate(o),o}return r&&r.keep||"bigint"!=typeof e?e:Number(e)}var s=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e){var o;return Object(n.j)(this,r),(o=t.call(this)).value=e,o}return Object(n.i)(r,[{key:"toJSON",value:function(e,t){return t&&t.keep?this.value:i(this.value,e,t)}},{key:"toString",value:function(){return String(this.value)}}]),r}(a);function c(e,t,r){for(var n=r,o=t.length-1;o>=0;--o){var a=t[o],i=Number.isInteger(a)&&a>=0?[]:{};i[a]=n,n=i}return e.createNode(n,!1)}var l=function(e){return null==e||"object"===Object(n.h)(e)&&e[Symbol.iterator]().next().done},u=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e){var o;return Object(n.j)(this,r),o=t.call(this),Object(n.l)(Object(n.w)(o),"items",[]),o.schema=e,o}return Object(n.i)(r,[{key:"addIn",value:function(e,t){if(l(e))this.add(t);else{var o=Object(n.x)(e),a=o[0],i=o.slice(1),s=this.get(a,!0);if(s instanceof r)s.addIn(i,t);else{if(void 0!==s||!this.schema)throw new Error("Expected YAML collection at ".concat(a,". Remaining path: ").concat(i));this.set(a,c(this.schema,i,t))}}}},{key:"deleteIn",value:function(e){var t=Object(n.x)(e),o=t[0],a=t.slice(1);if(0===a.length)return this.delete(o);var i=this.get(o,!0);if(i instanceof r)return i.deleteIn(a);throw new Error("Expected YAML collection at ".concat(o,". Remaining path: ").concat(a))}},{key:"getIn",value:function(e,t){var o=Object(n.x)(e),a=o[0],i=o.slice(1),c=this.get(a,!0);return 0===i.length?!t&&c instanceof s?c.value:c:c instanceof r?c.getIn(i,t):void 0}},{key:"hasAllNullValues",value:function(){return this.items.every((function(e){if(!e||"PAIR"!==e.type)return!1;var t=e.value;return null==t||t instanceof s&&null==t.value&&!t.commentBefore&&!t.comment&&!t.tag}))}},{key:"hasIn",value:function(e){var t=Object(n.x)(e),o=t[0],a=t.slice(1);if(0===a.length)return this.has(o);var i=this.get(o,!0);return i instanceof r&&i.hasIn(a)}},{key:"setIn",value:function(e,t){var o=Object(n.x)(e),a=o[0],i=o.slice(1);if(0===i.length)this.set(a,t);else{var s=this.get(a,!0);if(s instanceof r)s.setIn(i,t);else{if(void 0!==s||!this.schema)throw new Error("Expected YAML collection at ".concat(a,". Remaining path: ").concat(i));this.set(a,c(this.schema,i,t))}}}},{key:"toJSON",value:function(){return null}},{key:"toString",value:function(e,t,a,i){var s=this,c=t.blockItem,l=t.flowChars,u=t.isMap,p=t.itemIndent,f=e,d=f.indent,h=f.indentStep,v=f.stringify,m=this.type===n.e.FLOW_MAP||this.type===n.e.FLOW_SEQ||e.inFlow;m&&(p+=h);var g=u&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:g,indent:p,inFlow:m,type:null});var y,b=!1,x=!1,w=this.items.reduce((function(t,r,n){var a;r&&(!b&&r.spaceBefore&&t.push({type:"comment",str:""}),r.commentBefore&&r.commentBefore.match(/^.*$/gm).forEach((function(e){t.push({type:"comment",str:"#".concat(e)})})),r.comment&&(a=r.comment),m&&(!b&&r.spaceBefore||r.commentBefore||r.comment||r.key&&(r.key.commentBefore||r.key.comment)||r.value&&(r.value.commentBefore||r.value.comment))&&(x=!0)),b=!1;var i=v(r,e,(function(){return a=null}),(function(){return b=!0}));return m&&!x&&i.includes("\n")&&(x=!0),m&&n<s.items.length-1&&(i+=","),i=o(i,p,a),b&&(a||m)&&(b=!1),t.push({type:"item",str:i}),t}),[]);if(0===w.length)y=l.start+l.end;else if(m){var k=l.start,S=l.end,A=w.map((function(e){return e.str}));if(x||A.reduce((function(e,t){return e+t.length+2}),2)>r.maxFlowStringSingleLineLength){y=k;var O,E=Object(n.g)(A);try{for(E.s();!(O=E.n()).done;){var D=O.value;y+=D?"\n".concat(h).concat(d).concat(D):"\n"}}catch(e){E.e(e)}finally{E.f()}y+="\n".concat(d).concat(S)}else y="".concat(k," ").concat(A.join(" ")," ").concat(S)}else{var C=w.map(c);y=C.shift();var j,_=Object(n.g)(C);try{for(_.s();!(j=_.n()).done;){var T=j.value;y+=T?"\n".concat(d).concat(T):"\n"}}catch(e){_.e(e)}finally{_.f()}}return this.comment?(y+="\n"+this.comment.replace(/^/gm,"".concat(d,"#")),a&&a()):b&&i&&i(),y}}]),r}(a);function p(e){var t=e instanceof s?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),Number.isInteger(t)&&t>=0?t:null}Object(n.l)(u,"maxFlowStringSingleLineLength",60);var f=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(){return Object(n.j)(this,r),t.apply(this,arguments)}return Object(n.i)(r,[{key:"add",value:function(e){this.items.push(e)}},{key:"delete",value:function(e){var t=p(e);return"number"==typeof t&&this.items.splice(t,1).length>0}},{key:"get",value:function(e,t){var r=p(e);if("number"==typeof r){var n=this.items[r];return!t&&n instanceof s?n.value:n}}},{key:"has",value:function(e){var t=p(e);return"number"==typeof t&&t<this.items.length}},{key:"set",value:function(e,t){var r=p(e);if("number"!=typeof r)throw new Error("Expected a valid index, not ".concat(e,"."));this.items[r]=t}},{key:"toJSON",value:function(e,t){var r=[];t&&t.onCreate&&t.onCreate(r);var o,a=0,s=Object(n.g)(this.items);try{for(s.s();!(o=s.n()).done;){var c=o.value;r.push(i(c,String(a++),t))}}catch(e){s.e(e)}finally{s.f()}return r}},{key:"toString",value:function(e,t,o){return e?Object(n.s)(Object(n.t)(r.prototype),"toString",this).call(this,e,{blockItem:function(e){return"comment"===e.type?e.str:"- ".concat(e.str)},flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(e.indent||"")+" "},t,o):JSON.stringify(this)}}]),r}(u),d=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e){var o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(n.j)(this,r),(o=t.call(this)).key=e,o.value=a,o.type=r.Type.PAIR,o}return Object(n.i)(r,[{key:"addToJSMap",value:function(e,t){var r=i(this.key,"",e);if(t instanceof Map){var o=i(this.value,r,e);t.set(r,o)}else if(t instanceof Set)t.add(r);else{var s=function(e,t,r){return null===t?"":"object"!==Object(n.h)(t)?String(t):e instanceof a&&r&&r.doc?e.toString({anchors:{},doc:r.doc,indent:"",indentStep:r.indentStep,inFlow:!0,inStringifyKey:!0,stringify:r.stringify}):JSON.stringify(t)}(this.key,r,e);t[s]=i(this.value,s,e)}return t}},{key:"toJSON",value:function(e,t){var r=t&&t.mapAsMap?new Map:{};return this.addToJSMap(t,r)}},{key:"toString",value:function(e,t,r){if(!e||!e.doc)return JSON.stringify(this);var i=e.doc.options,c=i.indent,l=i.indentSeq,p=i.simpleKeys,d=this.key,h=this.value,v=d instanceof a&&d.comment;if(p){if(v)throw new Error("With simple keys, key nodes cannot have comments");if(d instanceof u){throw new Error("With simple keys, collection cannot be used as a key value")}}var m=!p&&(!d||v||d instanceof u||d.type===n.e.BLOCK_FOLDED||d.type===n.e.BLOCK_LITERAL),g=e,y=g.doc,b=g.indent,x=g.indentStep,w=g.stringify;e=Object.assign({},e,{implicitKey:!m,indent:b+x});var k=!1,S=w(d,e,(function(){return v=null}),(function(){return k=!0}));if(S=o(S,e.indent,v),e.allNullValues&&!p)return this.comment?(S=o(S,e.indent,this.comment),t&&t()):k&&!v&&r&&r(),e.inFlow?S:"? ".concat(S);S=m?"? ".concat(S,"\n").concat(b,":"):"".concat(S,":"),this.comment&&(S=o(S,e.indent,this.comment),t&&t());var A="",O=null;if(h instanceof a){if(h.spaceBefore&&(A="\n"),h.commentBefore){var E=h.commentBefore.replace(/^/gm,"".concat(e.indent,"#"));A+="\n".concat(E)}O=h.comment}else h&&"object"===Object(n.h)(h)&&(h=y.schema.createNode(h,!0));e.implicitKey=!1,!m&&!this.comment&&h instanceof s&&(e.indentAtStart=S.length+1),k=!1,!l&&c>=2&&!e.inFlow&&!m&&h instanceof f&&h.type!==n.e.FLOW_SEQ&&!h.tag&&!y.anchors.getName(h)&&(e.indent=e.indent.substr(2));var D=w(h,e,(function(){return O=null}),(function(){return k=!0})),C=" ";if(A||this.comment)C="".concat(A,"\n").concat(e.indent);else if(!m&&h instanceof u){("["===D[0]||"{"===D[0])&&!D.includes("\n")||(C="\n".concat(e.indent))}return k&&!O&&r&&r(),o(S+C+D,e.indent,O)}},{key:"commentBefore",get:function(){return this.key instanceof a?this.key.commentBefore:void 0},set:function(e){if(null==this.key&&(this.key=new s(null)),!(this.key instanceof a)){throw new Error("Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.")}this.key.commentBefore=e}}]),r}(a);Object(n.l)(d,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var h=function e(t,r){if(t instanceof v){var o=r.get(t.source);return o.count*o.aliasCount}if(t instanceof u){var a,i=0,s=Object(n.g)(t.items);try{for(s.s();!(a=s.n()).done;){var c=e(a.value,r);c>i&&(i=c)}}catch(e){s.e(e)}finally{s.f()}return i}if(t instanceof d){var l=e(t.key,r),p=e(t.value,r);return Math.max(l,p)}return 1},v=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e){var o;return Object(n.j)(this,r),(o=t.call(this)).source=e,o.type=n.e.ALIAS,o}return Object(n.i)(r,null,[{key:"stringify",value:function(e,t){var r=e.range,n=e.source,o=t.anchors,a=t.doc,i=t.implicitKey,s=t.inStringifyKey,c=Object.keys(o).find((function(e){return o[e]===n}));if(!c&&s&&(c=a.anchors.getName(n)||a.anchors.newName()),c)return"*".concat(c).concat(i?" ":"");var l=a.anchors.getName(n)?"Alias node must be after source node":"Source node not found for alias node";throw new Error("".concat(l," [").concat(r,"]"))}}]),Object(n.i)(r,[{key:"toJSON",value:function(e,t){if(!t)return i(this.source,e,t);var r=t.anchors,o=t.maxAliasCount,a=r.get(this.source);if(!a||void 0===a.res){var s="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new n.v(this.cstNode,s):new ReferenceError(s)}if(o>=0&&(a.count+=1,0===a.aliasCount&&(a.aliasCount=h(this.source,r)),a.count*a.aliasCount>o)){var c="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new n.v(this.cstNode,c):new ReferenceError(c)}return a.res}},{key:"toString",value:function(e){return r.stringify(this,e)}},{key:"tag",set:function(e){throw new Error("Alias nodes cannot have tags")}}]),r}(a);function m(e,t){var r,o=t instanceof s?t.value:t,a=Object(n.g)(e);try{for(a.s();!(r=a.n()).done;){var i=r.value;if(i instanceof d){if(i.key===t||i.key===o)return i;if(i.key&&i.key.value===o)return i}}}catch(e){a.e(e)}finally{a.f()}}Object(n.l)(v,"default",!0);var g=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(){return Object(n.j)(this,r),t.apply(this,arguments)}return Object(n.i)(r,[{key:"add",value:function(e,t){e?e instanceof d||(e=new d(e.key||e,e.value)):e=new d(e);var r=m(this.items,e.key),n=this.schema&&this.schema.sortMapEntries;if(r){if(!t)throw new Error("Key ".concat(e.key," already set"));r.value=e.value}else if(n){var o=this.items.findIndex((function(t){return n(e,t)<0}));-1===o?this.items.push(e):this.items.splice(o,0,e)}else this.items.push(e)}},{key:"delete",value:function(e){var t=m(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}},{key:"get",value:function(e,t){var r=m(this.items,e),n=r&&r.value;return!t&&n instanceof s?n.value:n}},{key:"has",value:function(e){return!!m(this.items,e)}},{key:"set",value:function(e,t){this.add(new d(e,t),!0)}},{key:"toJSON",value:function(e,t,r){var o=r?new r:t&&t.mapAsMap?new Map:{};t&&t.onCreate&&t.onCreate(o);var a,i=Object(n.g)(this.items);try{for(i.s();!(a=i.n()).done;){a.value.addToJSMap(t,o)}}catch(e){i.e(e)}finally{i.f()}return o}},{key:"toString",value:function(e,t,o){if(!e)return JSON.stringify(this);var a,i=Object(n.g)(this.items);try{for(i.s();!(a=i.n()).done;){var s=a.value;if(!(s instanceof d))throw new Error("Map items must all be pairs; found ".concat(JSON.stringify(s)," instead"))}}catch(e){i.e(e)}finally{i.f()}return Object(n.s)(Object(n.t)(r.prototype),"toString",this).call(this,e,{blockItem:function(e){return e.str},flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:e.indent||""},t,o)}}]),r}(u),y=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e){var o;if(Object(n.j)(this,r),e instanceof d){var a=e.value;a instanceof f||((a=new f).items.push(e.value),a.range=e.value.range),(o=t.call(this,e.key,a)).range=e.range}else o=t.call(this,new s("<<"),new f);return o.type=d.Type.MERGE_PAIR,Object(n.y)(o)}return Object(n.i)(r,[{key:"addToJSMap",value:function(e,t){var r,o=Object(n.g)(this.value.items);try{for(o.s();!(r=o.n()).done;){var a=r.value.source;if(!(a instanceof g))throw new Error("Merge sources must be maps");var i,s=a.toJSON(null,e,Map),c=Object(n.g)(s);try{for(c.s();!(i=c.n()).done;){var l=Object(n.o)(i.value,2),u=l[0],p=l[1];t instanceof Map?t.has(u)||t.set(u,p):t instanceof Set?t.add(u):Object.prototype.hasOwnProperty.call(t,u)||(t[u]=p)}}catch(e){c.e(e)}finally{c.f()}}}catch(e){o.e(e)}finally{o.f()}return t}},{key:"toString",value:function(e,t){var o=this.value;if(o.items.length>1)return Object(n.s)(Object(n.t)(r.prototype),"toString",this).call(this,e,t);this.value=o.items[0];var a=Object(n.s)(Object(n.t)(r.prototype),"toString",this).call(this,e,t);return this.value=o,a}}]),r}(d),b={defaultType:n.e.BLOCK_LITERAL,lineWidth:76},x={trueStr:"true",falseStr:"false"},w={asBigInt:!1},k={nullStr:"null"},S={defaultType:n.e.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function A(e,t,r){var o,a=Object(n.g)(t);try{for(a.s();!(o=a.n()).done;){var i=o.value,c=i.format,l=i.test,u=i.resolve;if(l){var p=e.match(l);if(p){var f=u.apply(null,p);return f instanceof s||(f=new s(f)),c&&(f.format=c),f}}}}catch(e){a.e(e)}finally{a.f()}return r&&(e=r(e)),new s(e)}var O=function(e,t){for(var r=e[t+1];" "===r||"\t"===r;){do{r=e[t+=1]}while(r&&"\n"!==r);r=e[t+1]}return t};function E(e,t,r,n){var o=n.indentAtStart,a=n.lineWidth,i=void 0===a?80:a,s=n.minContentWidth,c=void 0===s?20:s,l=n.onFold,u=n.onOverflow;if(!i||i<0)return e;var p=Math.max(1+c,1+i-t.length);if(e.length<=p)return e;var f,d=[],h={},v=i-("number"==typeof o?o:t.length),m=void 0,g=void 0,y=!1,b=-1;for("block"===r&&-1!==(b=O(e,b))&&(v=b+p);f=e[b+=1];){if("quoted"===r&&"\\"===f)switch(e[b+1]){case"x":b+=3;break;case"u":b+=5;break;case"U":b+=9;break;default:b+=1}if("\n"===f)"block"===r&&(b=O(e,b)),v=b+p,m=void 0;else{if(" "===f&&g&&" "!==g&&"\n"!==g&&"\t"!==g){var x=e[b+1];x&&" "!==x&&"\n"!==x&&"\t"!==x&&(m=b)}if(b>=v)if(m)d.push(m),v=m+p,m=void 0;else if("quoted"===r){for(;" "===g||"\t"===g;)g=f,f=e[b+=1],y=!0;d.push(b-2),h[b-2]=!0,v=b-2+p,m=void 0}else y=!0}g=f}if(y&&u&&u(),0===d.length)return e;l&&l();for(var w=e.slice(0,d[0]),k=0;k<d.length;++k){var S=d[k],A=d[k+1]||e.length;"quoted"===r&&h[S]&&(w+="".concat(e[S],"\\")),w+="\n".concat(t).concat(e.slice(S+1,A))}return w}var D=function(e){var t=e.indentAtStart;return t?Object.assign({indentAtStart:t},S.fold):S.fold},C=function(e){return/^(%|---|\.\.\.)/m.test(e)};function j(e,t){var r=t.implicitKey,n=S.doubleQuoted,o=n.jsonEncoding,a=n.minMultiLineLength,i=JSON.stringify(e);if(o)return i;for(var s=t.indent||(C(e)?" ":""),c="",l=0,u=0,p=i[u];p;p=i[++u])if(" "===p&&"\\"===i[u+1]&&"n"===i[u+2]&&(c+=i.slice(l,u)+"\\ ",l=u+=1,p="\\"),"\\"===p)switch(i[u+1]){case"u":c+=i.slice(l,u);var f=i.substr(u+2,4);switch(f){case"0000":c+="\\0";break;case"0007":c+="\\a";break;case"000b":c+="\\v";break;case"001b":c+="\\e";break;case"0085":c+="\\N";break;case"00a0":c+="\\_";break;case"2028":c+="\\L";break;case"2029":c+="\\P";break;default:"00"===f.substr(0,2)?c+="\\x"+f.substr(2):c+=i.substr(u,6)}l=(u+=5)+1;break;case"n":if(r||'"'===i[u+2]||i.length<a)u+=1;else{for(c+=i.slice(l,u)+"\n\n";"\\"===i[u+2]&&"n"===i[u+3]&&'"'!==i[u+4];)c+="\n",u+=2;c+=s," "===i[u+2]&&(c+="\\"),l=(u+=1)+1}break;default:u+=1}return c=l?c+i.slice(l):i,r?c:E(c,s,"quoted",D(t))}function _(e,t){if(t.implicitKey){if(/\n/.test(e))return j(e,t)}else if(/[ \t]\n|\n[ \t]/.test(e))return j(e,t);var r=t.indent||(C(e)?" ":""),n="'"+e.replace(/'/g,"''").replace(/\n+/g,"$&\n".concat(r))+"'";return t.implicitKey?n:E(n,r,"flow",D(t))}function T(e,t,r,o){var a=e.comment,i=e.type,s=e.value;if(/\n[\t ]+$/.test(s)||/^\s*$/.test(s))return j(s,t);var c=t.indent||(t.forceBlockIndent||C(s)?" ":""),l=c?"2":"1",u=i!==n.e.BLOCK_FOLDED&&(i===n.e.BLOCK_LITERAL||!function(e,t){var r=e.length;if(r<=t)return!1;for(var n=0,o=0;n<r;++n)if("\n"===e[n]){if(n-o>t)return!0;if(r-(o=n+1)<=t)return!1}return!0}(s,S.fold.lineWidth-c.length)),p=u?"|":">";if(!s)return p+"\n";var f="",d="";if(s=s.replace(/[\n\t ]*$/,(function(e){var t=e.indexOf("\n");return-1===t?p+="-":s!==e&&t===e.length-1||(p+="+",o&&o()),d=e.replace(/\n$/,""),""})).replace(/^[\n ]*/,(function(e){-1!==e.indexOf(" ")&&(p+=l);var t=e.match(/ +$/);return t?(f=e.slice(0,-t[0].length),t[0]):(f=e,"")})),d&&(d=d.replace(/\n+(?!\n|$)/g,"$&".concat(c))),f&&(f=f.replace(/\n+/g,"$&".concat(c))),a&&(p+=" #"+a.replace(/ ?[\r\n]+/g," "),r&&r()),!s)return"".concat(p).concat(l,"\n").concat(c).concat(d);if(u)return s=s.replace(/\n+/g,"$&".concat(c)),"".concat(p,"\n").concat(c).concat(f).concat(s).concat(d);s=s.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,"$&".concat(c));var h=E("".concat(f).concat(s).concat(d),c,"block",S.fold);return"".concat(p,"\n").concat(c).concat(h)}function I(e,t,r,o){var a=S.defaultType,i=t.implicitKey,s=t.inFlow,c=e,l=c.type,u=c.value;"string"!=typeof u&&(u=String(u),e=Object.assign({},e,{value:u}));var p=function(a){switch(a){case n.e.BLOCK_FOLDED:case n.e.BLOCK_LITERAL:return T(e,t,r,o);case n.e.QUOTE_DOUBLE:return j(u,t);case n.e.QUOTE_SINGLE:return _(u,t);case n.e.PLAIN:return function(e,t,r,o){var a=e.comment,i=e.type,s=e.value,c=t.actualString,l=t.implicitKey,u=t.indent,p=t.inFlow;if(l&&/[\n[\]{},]/.test(s)||p&&/[[\]{},]/.test(s))return j(s,t);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return l||p||-1===s.indexOf("\n")?-1!==s.indexOf('"')&&-1===s.indexOf("'")?_(s,t):j(s,t):T(e,t,r,o);if(!l&&!p&&i!==n.e.PLAIN&&-1!==s.indexOf("\n"))return T(e,t,r,o);if(""===u&&C(s))return t.forceBlockIndent=!0,T(e,t,r,o);var f=s.replace(/\n+/g,"$&\n".concat(u));if(c){var d=t.doc.schema.tags;if("string"!=typeof A(f,d,d.scalarFallback).value)return j(s,t)}var h=l?f:E(f,u,"flow",D(t));return!a||p||-1===h.indexOf("\n")&&-1===a.indexOf("\n")?h:(r&&r(),function(e,t,r){if(!r)return e;var n=r.replace(/[\s\S]^/gm,"$&".concat(t,"#"));return"#".concat(n,"\n").concat(t).concat(e)}(h,u,a))}(e,t,r,o);default:return null}};l!==n.e.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(u)?l=n.e.QUOTE_DOUBLE:!i&&!s||l!==n.e.BLOCK_FOLDED&&l!==n.e.BLOCK_LITERAL||(l=n.e.QUOTE_DOUBLE);var f=p(l);if(null===f&&null===(f=p(a)))throw new Error("Unsupported default string type ".concat(a));return f}function F(e){var t=e.format,r=e.minFractionDigits,n=e.tag,o=e.value;if("bigint"==typeof o)return String(o);if(!isFinite(o))return isNaN(o)?".nan":o<0?"-.inf":".inf";var a=JSON.stringify(o);if(!t&&r&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(a)){var i=a.indexOf(".");i<0&&(i=a.length,a+=".");for(var s=r-(a.length-i-1);s-- >0;)a+="0"}return a}function P(e,t){var r,o,a;switch(t.type){case n.e.FLOW_MAP:r="}",o="flow map";break;case n.e.FLOW_SEQ:r="]",o="flow sequence";break;default:return void e.push(new n.n(t,"Not a flow collection!?"))}for(var i=t.items.length-1;i>=0;--i){var s=t.items[i];if(!s||s.type!==n.e.COMMENT){a=s;break}}if(a&&a.char!==r){var c,l="Expected ".concat(o," to end with ").concat(r);"number"==typeof a.offset?(c=new n.n(t,l)).offset=a.offset+1:(c=new n.n(a,l),a.range&&a.range.end&&(c.offset=a.range.end-a.range.start)),e.push(c)}}function R(e,t){var r=t.context.src[t.range.start-1];if("\n"!==r&&"\t"!==r&&" "!==r){e.push(new n.n(t,"Comments must be separated from other tokens by white space characters"))}}function B(e,t){var r=String(t),o=r.substr(0,8)+"..."+r.substr(-8);return new n.n(e,'The "'.concat(o,'" key is too long'))}function L(e,t){var r,o=Object(n.g)(t);try{for(o.s();!(r=o.n()).done;){var a=r.value,i=a.afterKey,s=a.before,c=a.comment,l=e.items[s];l?(i&&l.value&&(l=l.value),void 0===c?!i&&l.commentBefore||(l.spaceBefore=!0):l.commentBefore?l.commentBefore+="\n"+c:l.commentBefore=c):void 0!==c&&(e.comment?e.comment+="\n"+c:e.comment=c)}}catch(e){o.e(e)}finally{o.f()}}function N(e,t){var r=t.strValue;return r?"string"==typeof r?r:(r.errors.forEach((function(r){r.source||(r.source=t),e.errors.push(r)})),r.str):""}function M(e,t){var r=t.tag,o=t.type,a=!1;if(r){var i=r.handle,s=r.suffix,c=r.verbatim;if(c){if("!"!==c&&"!!"!==c)return c;var l="Verbatim tags aren't resolved, so ".concat(c," is invalid.");e.errors.push(new n.n(t,l))}else if("!"!==i||s)try{return function(e,t){var r=t.tag,o=r.handle,a=r.suffix,i=e.tagPrefixes.find((function(e){return e.handle===o}));if(!i){var s=e.getDefaults().tagPrefixes;if(s&&(i=s.find((function(e){return e.handle===o}))),!i)throw new n.n(t,"The ".concat(o," tag handle is non-default and was not declared."))}if(!a)throw new n.n(t,"The ".concat(o," tag has no suffix."));if("!"===o&&"1.0"===(e.version||e.options.version)){if("^"===a[0])return e.warnings.push(new n.m(t,"YAML 1.0 ^ tag expansion is not supported")),a;if(/[:/]/.test(a)){var c=a.match(/^([a-z0-9-]+)\/(.*)/i);return c?"tag:".concat(c[1],".yaml.org,2002:").concat(c[2]):"tag:".concat(a)}}return i.prefix+decodeURIComponent(a)}(e,t)}catch(t){e.errors.push(t)}else a=!0}switch(o){case n.e.BLOCK_FOLDED:case n.e.BLOCK_LITERAL:case n.e.QUOTE_DOUBLE:case n.e.QUOTE_SINGLE:return n.u.STR;case n.e.FLOW_MAP:case n.e.MAP:return n.u.MAP;case n.e.FLOW_SEQ:case n.e.SEQ:return n.u.SEQ;case n.e.PLAIN:return a?n.u.STR:null;default:return null}}function q(e,t,r){var o,a=e.schema.tags,i=[],c=Object(n.g)(a);try{for(c.s();!(o=c.n()).done;){var l=o.value;if(l.tag===r){if(!l.test){var p=l.resolve(e,t);return p instanceof u?p:new s(p)}i.push(l)}}}catch(e){c.e(e)}finally{c.f()}var f=N(e,t);return"string"==typeof f&&i.length>0?A(f,i,a.scalarFallback):null}function z(e,t,r){try{var o=q(e,t,r);if(o)return r&&t.tag&&(o.tag=r),o}catch(r){return r.source||(r.source=t),e.errors.push(r),null}try{var a=function(e){switch(e.type){case n.e.FLOW_MAP:case n.e.MAP:return n.u.MAP;case n.e.FLOW_SEQ:case n.e.SEQ:return n.u.SEQ;default:return n.u.STR}}(t);if(!a)throw new Error("The tag ".concat(r," is unavailable"));var i="The tag ".concat(r," is unavailable, falling back to ").concat(a);e.warnings.push(new n.m(t,i));var s=q(e,t,a);return s.tag=r,s}catch(r){var c=new n.v(t,r.message);return c.stack=r.stack,e.errors.push(c),null}}function U(e,t){var r,o={before:[],after:[]},a=!1,i=!1,s=function(e){if(!e)return!1;var t=e.type;return t===n.e.MAP_KEY||t===n.e.MAP_VALUE||t===n.e.SEQ_ITEM}(t.context.parent)?t.context.parent.props.concat(t.props):t.props,c=Object(n.g)(s);try{for(c.s();!(r=c.n()).done;){var l=r.value,u=l.start,p=l.end;switch(t.context.src[u]){case n.a.COMMENT:if(!t.commentHasRequiredWhitespace(u)){e.push(new n.n(t,"Comments must be separated from other tokens by white space characters"))}var f=t.header,d=t.valueRange;(d&&(u>d.start||f&&u>f.start)?o.after:o.before).push(t.context.src.slice(u+1,p));break;case n.a.ANCHOR:if(a){e.push(new n.n(t,"A node can have at most one anchor"))}a=!0;break;case n.a.TAG:if(i){e.push(new n.n(t,"A node can have at most one tag"))}i=!0}}}catch(e){c.e(e)}finally{c.f()}return{comments:o,hasAnchor:a,hasTag:i}}function $(e,t){if(!t)return null;t.error&&e.errors.push(t.error);var r=U(e.errors,t),o=r.comments,a=r.hasAnchor,i=r.hasTag;if(a){var s=e.anchors,c=t.anchor,l=s.getNode(c);l&&(s.map[s.newName(c)]=l),s.map[c]=t}if(t.type===n.e.ALIAS&&(a||i)){e.errors.push(new n.n(t,"An alias node must not specify any properties"))}var u=function(e,t){var r=e.anchors,o=e.errors,a=e.schema;if(t.type===n.e.ALIAS){var i=t.rawValue,s=r.getNode(i);if(!s){var c="Aliased anchor not found: ".concat(i);return o.push(new n.v(t,c)),null}var l=new v(s);return r._cstAliases.push(l),l}var u=M(e,t);if(u)return z(e,t,u);if(t.type!==n.e.PLAIN){var p="Failed to resolve ".concat(t.type," node here");return o.push(new n.f(t,p)),null}try{return A(N(e,t),a.tags,a.tags.scalarFallback)}catch(e){return e.source||(e.source=t),o.push(e),null}}(e,t);if(u){u.range=[t.range.start,t.range.end],e.options.keepCstNodes&&(u.cstNode=t),e.options.keepNodeTypes&&(u.type=t.type);var p=o.before.join("\n");p&&(u.commentBefore=u.commentBefore?"".concat(u.commentBefore,"\n").concat(p):p);var f=o.after.join("\n");f&&(u.comment=u.comment?"".concat(u.comment,"\n").concat(f):f)}return t.resolved=u}function H(e,t){if(t.type!==n.e.MAP&&t.type!==n.e.FLOW_MAP){var r="A ".concat(t.type," node cannot be resolved as a mapping");return e.errors.push(new n.f(t,r)),null}var o=t.type===n.e.FLOW_MAP?function(e,t){for(var r=[],o=[],a=void 0,i=!1,s="{",c=0;c<t.items.length;++c){var l=t.items[c];if("string"==typeof l.char){var u=l.char,p=l.offset;if("?"===u&&void 0===a&&!i){i=!0,s=":";continue}if(":"===u){if(void 0===a&&(a=null),":"===s){s=",";continue}}else if(i&&(void 0===a&&","!==u&&(a=null),i=!1),void 0!==a&&(o.push(new d(a)),a=void 0,","===u)){s=":";continue}if("}"===u){if(c===t.items.length-1)continue}else if(u===s){s=":";continue}var f="Flow map contains an unexpected ".concat(u),h=new n.f(t,f);h.offset=p,e.errors.push(h)}else l.type===n.e.BLANK_LINE?r.push({afterKey:!!a,before:o.length}):l.type===n.e.COMMENT?(R(e.errors,l),r.push({afterKey:!!a,before:o.length,comment:l.comment})):void 0===a?(","===s&&e.errors.push(new n.n(l,"Separator , missing in flow map")),a=$(e,l)):(","!==s&&e.errors.push(new n.n(l,"Indicator : missing in flow map entry")),o.push(new d(a,$(e,l))),a=void 0,i=!1)}P(e.errors,t),void 0!==a&&o.push(new d(a));return{comments:r,items:o}}(e,t):function(e,t){for(var r=[],o=[],a=void 0,i=null,s=0;s<t.items.length;++s){var c=t.items[s];switch(c.type){case n.e.BLANK_LINE:r.push({afterKey:!!a,before:o.length});break;case n.e.COMMENT:r.push({afterKey:!!a,before:o.length,comment:c.comment});break;case n.e.MAP_KEY:void 0!==a&&o.push(new d(a)),c.error&&e.errors.push(c.error),a=$(e,c.node),i=null;break;case n.e.MAP_VALUE:if(void 0===a&&(a=null),c.error&&e.errors.push(c.error),!c.context.atLineStart&&c.node&&c.node.type===n.e.MAP&&!c.node.context.atLineStart){e.errors.push(new n.n(c.node,"Nested mappings are not allowed in compact mappings"))}var l=c.node;if(!l&&c.props.length>0){(l=new n.c(n.e.PLAIN,[])).context={parent:c,src:c.context.src};var u=c.range.start+1;if(l.range={start:u,end:u},l.valueRange={start:u,end:u},"number"==typeof c.range.origStart){var p=c.range.origStart+1;l.range.origStart=l.range.origEnd=p,l.valueRange.origStart=l.valueRange.origEnd=p}}var f=new d(a,$(e,l));W(c,f),o.push(f),a&&"number"==typeof i&&c.range.start>i+1024&&e.errors.push(B(t,a)),a=void 0,i=null;break;default:void 0!==a&&o.push(new d(a)),a=$(e,c),i=c.range.start,c.error&&e.errors.push(c.error);e:for(var h=s+1;;++h){var v=t.items[h];switch(v&&v.type){case n.e.BLANK_LINE:case n.e.COMMENT:continue e;case n.e.MAP_VALUE:break e;default:e.errors.push(new n.n(c,"Implicit map keys need to be followed by map values"));break e}}if(c.valueRangeContainsNewline){e.errors.push(new n.n(c,"Implicit map keys need to be on a single line"))}}}void 0!==a&&o.push(new d(a));return{comments:r,items:o}}(e,t),a=o.comments,i=o.items,s=new g;s.items=i,L(s,a);for(var c=!1,l=0;l<i.length;++l){var p=i[l].key;if(p instanceof u&&(c=!0),e.schema.merge&&p&&"<<"===p.value){i[l]=new y(i[l]);var f=i[l].value.items,h=null;f.some((function(e){if(e instanceof v){var t=e.source.type;return t!==n.e.MAP&&t!==n.e.FLOW_MAP&&(h="Merge nodes aliases can only point to maps")}return h="Merge nodes can only have Alias nodes as values"})),h&&e.errors.push(new n.n(t,h))}else for(var m=l+1;m<i.length;++m){var b=i[m].key;if(p===b||p&&b&&Object.prototype.hasOwnProperty.call(p,"value")&&p.value===b.value){var x='Map keys must be unique; "'.concat(p,'" is repeated');e.errors.push(new n.n(t,x));break}}}if(c&&!e.options.mapAsMap){e.warnings.push(new n.m(t,"Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this."))}return t.resolved=s,s}function W(e,t){if(function(e){var t=e.context,r=t.lineStart,o=t.node,a=t.src,i=e.props;if(0===i.length)return!1;var s=i[0].start;if(o&&s>o.valueRange.start)return!1;if(a[s]!==n.a.COMMENT)return!1;for(var c=r;c<s;++c)if("\n"===a[c])return!1;return!0}(e)){var r=e.getPropValue(0,n.a.COMMENT,!0),o=!1,a=t.value.commentBefore;if(a&&a.startsWith(r))t.value.commentBefore=a.substr(r.length+1),o=!0;else{var i=t.value.comment;!e.node&&i&&i.startsWith(r)&&(t.value.comment=i.substr(r.length+1),o=!0)}o&&(t.comment=r)}}function V(e,t){if(t.type!==n.e.SEQ&&t.type!==n.e.FLOW_SEQ){var r="A ".concat(t.type," node cannot be resolved as a sequence");return e.errors.push(new n.f(t,r)),null}var o=t.type===n.e.FLOW_SEQ?function(e,t){for(var r=[],o=[],a=!1,i=void 0,s=null,c="[",l=null,u=0;u<t.items.length;++u){var p=t.items[u];if("string"==typeof p.char){var f=p.char,h=p.offset;if(":"===f||!a&&void 0===i||(a&&void 0===i&&(i=c?o.pop():null),o.push(new d(i)),a=!1,i=void 0,s=null),f===c)c=null;else if(c||"?"!==f){if("["!==c&&":"===f&&void 0===i){if(","===c){if((i=o.pop())instanceof d){var v=new n.n(t,"Chaining flow sequence pairs is invalid");v.offset=h,e.errors.push(v)}if(!a&&"number"==typeof s){var m=p.range?p.range.start:p.offset;m>s+1024&&e.errors.push(B(t,i));for(var g=l.context.src,y=s;y<m;++y)if("\n"===g[y]){e.errors.push(new n.n(l,"Implicit keys of flow sequence pairs need to be on a single line"));break}}}else i=null;s=null,a=!1,c=null}else if("["===c||"]"!==f||u<t.items.length-1){var b="Flow sequence contains an unexpected ".concat(f),x=new n.f(t,b);x.offset=h,e.errors.push(x)}}else a=!0}else if(p.type===n.e.BLANK_LINE)r.push({before:o.length});else if(p.type===n.e.COMMENT)R(e.errors,p),r.push({comment:p.comment,before:o.length});else{if(c){var w="Expected a ".concat(c," in flow sequence");e.errors.push(new n.n(p,w))}var k=$(e,p);void 0===i?(o.push(k),l=p):(o.push(new d(i,k)),i=void 0),s=p.range.start,c=","}}P(e.errors,t),void 0!==i&&o.push(new d(i));return{comments:r,items:o}}(e,t):function(e,t){for(var r=[],o=[],a=0;a<t.items.length;++a){var i=t.items[a];switch(i.type){case n.e.BLANK_LINE:r.push({before:o.length});break;case n.e.COMMENT:r.push({comment:i.comment,before:o.length});break;case n.e.SEQ_ITEM:if(i.error&&e.errors.push(i.error),o.push($(e,i.node)),i.hasProps){e.errors.push(new n.n(i,"Sequence items cannot have tags or anchors before the - indicator"))}break;default:i.error&&e.errors.push(i.error),e.errors.push(new n.f(i,"Unexpected ".concat(i.type," node in sequence")))}}return{comments:r,items:o}}(e,t),a=o.comments,i=o.items,s=new f;if(s.items=i,L(s,a),!e.options.mapAsMap&&i.some((function(e){return e instanceof d&&e.key instanceof u}))){e.warnings.push(new n.m(t,"Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this."))}return t.resolved=s,s}},function(e,t,r){e.exports=r(425)},function(e,t,r){e.exports=function(){"use strict";function e(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 t(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 r(e,r){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,r){if(e){if("string"==typeof e)return t(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}var n=function(e){var t={exports:{}};return e(t,t.exports),t.exports}((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:t,changeDefaults:function(t){e.exports.defaults=t}}})),o=/[&<>"']/,a=/[&<>"']/g,i=/[<>"']|&(?!#?\w+;)/,s=/[<>"']|&(?!#?\w+;)/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"},l=function(e){return c[e]},u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function p(e){return e.replace(u,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var f=/(^|[^\[])\^/g,d=/[^\w:]/g,h=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,v={},m=/^[^:]+:\/*[^/]*$/,g=/^([^:]+:)[\s\S]*$/,y=/^([^:]+:\/*[^/]*)[\s\S]*$/;function b(e,t){v[" "+e]||(m.test(e)?v[" "+e]=e+"/":v[" "+e]=x(e,"/",!0));var r=-1===(e=v[" "+e]).indexOf(":");return"//"===t.substring(0,2)?r?t:e.replace(g,"$1")+t:"/"===t.charAt(0)?r?t:e.replace(y,"$1")+t:e+t}function x(e,t,r){var n=e.length;if(0===n)return"";for(var o=0;o<n;){var a=e.charAt(n-o-1);if(a!==t||r){if(a===t||!r)break;o++}else o++}return e.substr(0,n-o)}var w=function(e,t){if(t){if(o.test(e))return e.replace(a,l)}else if(i.test(e))return e.replace(s,l);return e},k=p,S=function(e,t){e=e.source||e,t=t||"";var r={replace:function(t,n){return n=(n=n.source||n).replace(f,"$1"),e=e.replace(t,n),r},getRegex:function(){return new RegExp(e,t)}};return r},A=function(e,t,r){if(e){var n;try{n=decodeURIComponent(p(r)).replace(d,"").toLowerCase()}catch(e){return null}if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return null}t&&!h.test(r)&&(r=b(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch(e){return null}return r},O={exec:function(){}},E=function(e){for(var t,r,n=1;n<arguments.length;n++)for(r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},D=function(e,t){var r=e.replace(/\|/g,(function(e,t,r){for(var n=!1,o=t;--o>=0&&"\\"===r[o];)n=!n;return n?"|":" |"})).split(/ \|/),n=0;if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(/\\\|/g,"|");return r},C=x,j=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var r=e.length,n=0,o=0;o<r;o++)if("\\"===e[o])o++;else if(e[o]===t[0])n++;else if(e[o]===t[1]&&--n<0)return o;return-1},_=function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")},T=function(e,t){if(t<1)return"";for(var r="";t>1;)1&t&&(r+=e),t>>=1,e+=e;return r+e},I=n.defaults,F=C,P=D,R=w,B=j;function L(e,t,r){var n=t.href,o=t.title?R(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:r,href:n,title:o,text:a}:{type:"image",raw:r,href:n,title:o,text:R(a)}}var N=function(){function e(e){this.options=e||I}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e){var t=this.rules.block.code.exec(e);if(t){var r=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?r:F(r,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var r=t[0],n=function(e,t){var r=e.match(/^(\s+)(?:```)/);if(null===r)return t;var n=r[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=n.length?e.slice(n.length):e})).join("\n")}(r,t[3]||"");return{type:"code",raw:r,lang:t[2]?t[2].trim():t[2],text:n}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var r=t[2].trim();if(/#$/.test(r)){var n=F(r,"#");this.options.pedantic?r=n.trim():n&&!/ $/.test(n)||(r=n.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:r}}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var r={type:"table",header:P(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(r.header.length===r.align.length){var n,o=r.align.length;for(n=0;n<o;n++)/^ *-+: *$/.test(r.align[n])?r.align[n]="right":/^ *:-+: *$/.test(r.align[n])?r.align[n]="center":/^ *:-+ *$/.test(r.align[n])?r.align[n]="left":r.align[n]=null;for(o=r.cells.length,n=0;n<o;n++)r.cells[n]=P(r.cells[n],r.header.length);return r}}},t.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},t.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var r=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],text:r}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){var r,n,o,a,i,s,c,l,u=t[0],p=t[2],f=p.length>1,d={type:"list",raw:u,ordered:f,start:f?+p.slice(0,-1):"",loose:!1,items:[]},h=t[0].match(this.rules.block.item),v=!1,m=h.length;o=this.rules.block.listItemStart.exec(h[0]);for(var g=0;g<m;g++){if(u=r=h[g],g!==m-1){if(a=this.rules.block.listItemStart.exec(h[g+1]),this.options.pedantic?a[1].length>o[1].length:a[1].length>o[0].length||a[1].length>3){h.splice(g,2,h[g]+"\n"+h[g+1]),g--,m--;continue}(!this.options.pedantic||this.options.smartLists?a[2][a[2].length-1]!==p[p.length-1]:f===(1===a[2].length))&&(i=h.slice(g+1).join("\n"),d.raw=d.raw.substring(0,d.raw.length-i.length),g=m-1),o=a}n=r.length,~(r=r.replace(/^ *([*+-]|\d+[.)]) ?/,"")).indexOf("\n ")&&(n-=r.length,r=this.options.pedantic?r.replace(/^ {1,4}/gm,""):r.replace(new RegExp("^ {1,"+n+"}","gm"),"")),s=v||/\n\n(?!\s*$)/.test(r),g!==m-1&&(v="\n"===r.charAt(r.length-1),s||(s=v)),s&&(d.loose=!0),this.options.gfm&&(l=void 0,(c=/^\[[ xX]\] /.test(r))&&(l=" "!==r[1],r=r.replace(/^\[[ xX]\] +/,""))),d.items.push({type:"list_item",raw:u,task:c,checked:l,loose:s,text:r})}return d}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):R(t[0]):t[0]}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var r={type:"table",header:P(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(r.header.length===r.align.length){r.raw=t[0];var n,o=r.align.length;for(n=0;n<o;n++)/^ *-+: *$/.test(r.align[n])?r.align[n]="right":/^ *:-+: *$/.test(r.align[n])?r.align[n]="center":/^ *:-+ *$/.test(r.align[n])?r.align[n]="left":r.align[n]=null;for(o=r.cells.length,n=0;n<o;n++)r.cells[n]=P(r.cells[n].replace(/^ *\| *| *\| *$/g,""),r.header.length);return r}}},t.lheading=function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1]}},t.paragraph=function(e){var t=this.rules.block.paragraph.exec(e);if(t)return{type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1]}},t.text=function(e){var t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0]}},t.escape=function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:R(t[1])}},t.tag=function(e,t,r){var n=this.rules.inline.tag.exec(e);if(n)return!t&&/^<a /i.test(n[0])?t=!0:t&&/^<\/a>/i.test(n[0])&&(t=!1),!r&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?r=!0:r&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(r=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:t,inRawBlock:r,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):R(n[0]):n[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var r=t[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;var n=F(r.slice(0,-1),"\\");if((r.length-n.length)%2==0)return}else{var o=B(t[2],"()");if(o>-1){var a=(0===t[0].indexOf("!")?5:4)+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,a).trim(),t[3]=""}}var i=t[2],s="";if(this.options.pedantic){var c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);c&&(i=c[1],s=c[3])}else s=t[3]?t[3].slice(1,-1):"";return i=i.trim(),/^</.test(i)&&(i=this.options.pedantic&&!/>$/.test(r)?i.slice(1):i.slice(1,-1)),L(t,{href:i?i.replace(this.rules.inline._escapes,"$1"):i,title:s?s.replace(this.rules.inline._escapes,"$1"):s},t[0])}},t.reflink=function(e,t){var r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){var n=(r[2]||r[1]).replace(/\s+/g," ");if(!(n=t[n.toLowerCase()])||!n.href){var o=r[0].charAt(0);return{type:"text",raw:o,text:o}}return L(r,n,r[0])}},t.emStrong=function(e,t,r){void 0===r&&(r="");var n=this.rules.inline.emStrong.lDelim.exec(e);if(n&&(!n[3]||!r.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\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\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\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\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\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-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\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-\uAB69\uAB70-\uABE2\uABF0-\uABF9\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\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var o=n[1]||n[2]||"";if(!o||o&&(""===r||this.rules.inline.punctuation.exec(r))){var a,i,s=n[0].length-1,c=s,l=0,u="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(u.lastIndex=0,t=t.slice(-1*e.length+s);null!=(n=u.exec(t));)if(a=n[1]||n[2]||n[3]||n[4]||n[5]||n[6])if(i=a.length,n[3]||n[4])c+=i;else if(!((n[5]||n[6])&&s%3)||(s+i)%3){if(!((c-=i)>0)){if(c+l-i<=0&&!t.slice(u.lastIndex).match(u)&&(i=Math.min(i,i+c+l)),Math.min(s,i)%2)return{type:"em",raw:e.slice(0,s+n.index+i+1),text:e.slice(1,s+n.index+i)};if(Math.min(s,i)%2==0)return{type:"strong",raw:e.slice(0,s+n.index+i+1),text:e.slice(2,s+n.index+i-1)}}}else l+=i}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var r=t[2].replace(/\n/g," "),n=/[^ ]/.test(r),o=/^ /.test(r)&&/ $/.test(r);return n&&o&&(r=r.substring(1,r.length-1)),r=R(r,!0),{type:"codespan",raw:t[0],text:r}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2]}},t.autolink=function(e,t){var r,n,o=this.rules.inline.autolink.exec(e);if(o)return n="@"===o[2]?"mailto:"+(r=R(this.options.mangle?t(o[1]):o[1])):r=R(o[1]),{type:"link",raw:o[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}},t.url=function(e,t){var r;if(r=this.rules.inline.url.exec(e)){var n,o;if("@"===r[2])o="mailto:"+(n=R(this.options.mangle?t(r[0]):r[0]));else{var a;do{a=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0]}while(a!==r[0]);n=R(r[0]),o="www."===r[1]?"http://"+n:n}return{type:"link",raw:r[0],text:n,href:o,tokens:[{type:"text",raw:n,text:n}]}}},t.inlineText=function(e,t,r){var n,o=this.rules.inline.text.exec(e);if(o)return n=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):R(o[0]):o[0]:R(this.options.smartypants?r(o[0]):o[0]),{type:"text",raw:o[0],text:n}},e}(),M=O,q=S,z=E,U={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:M,table:M,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};U.def=q(U.def).replace("label",U._label).replace("title",U._title).getRegex(),U.bullet=/(?:[*+-]|\d{1,9}[.)])/,U.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,U.item=q(U.item,"gm").replace(/bull/g,U.bullet).getRegex(),U.listItemStart=q(/^( *)(bull)/).replace("bull",U.bullet).getRegex(),U.list=q(U.list).replace(/bull/g,U.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+U.def.source+")").getRegex(),U._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",U._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,U.html=q(U.html,"i").replace("comment",U._comment).replace("tag",U._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),U.paragraph=q(U._paragraph).replace("hr",U.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",U._tag).getRegex(),U.blockquote=q(U.blockquote).replace("paragraph",U.paragraph).getRegex(),U.normal=z({},U),U.gfm=z({},U.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),U.gfm.nptable=q(U.gfm.nptable).replace("hr",U.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",U._tag).getRegex(),U.gfm.table=q(U.gfm.table).replace("hr",U.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",U._tag).getRegex(),U.pedantic=z({},U.normal,{html:q("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",U._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:M,paragraph:q(U.normal._paragraph).replace("hr",U.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",U.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var $={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:M,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_]*?\*[^_]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^*]*?\_[^*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:M,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};$.punctuation=q($.punctuation).replace(/punctuation/g,$._punctuation).getRegex(),$.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,$.escapedEmSt=/\\\*|\\_/g,$._comment=q(U._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),$.emStrong.lDelim=q($.emStrong.lDelim).replace(/punct/g,$._punctuation).getRegex(),$.emStrong.rDelimAst=q($.emStrong.rDelimAst,"g").replace(/punct/g,$._punctuation).getRegex(),$.emStrong.rDelimUnd=q($.emStrong.rDelimUnd,"g").replace(/punct/g,$._punctuation).getRegex(),$._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,$._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,$._email=/[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])?)+(?![-_])/,$.autolink=q($.autolink).replace("scheme",$._scheme).replace("email",$._email).getRegex(),$._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,$.tag=q($.tag).replace("comment",$._comment).replace("attribute",$._attribute).getRegex(),$._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,$._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,$._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,$.link=q($.link).replace("label",$._label).replace("href",$._href).replace("title",$._title).getRegex(),$.reflink=q($.reflink).replace("label",$._label).getRegex(),$.reflinkSearch=q($.reflinkSearch,"g").replace("reflink",$.reflink).replace("nolink",$.nolink).getRegex(),$.normal=z({},$),$.pedantic=z({},$.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:q(/^!?\[(label)\]\((.*?)\)/).replace("label",$._label).getRegex(),reflink:q(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",$._label).getRegex()}),$.gfm=z({},$.normal,{escape:q($.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),$.gfm.url=q($.gfm.url,"i").replace("email",$.gfm._extended_email).getRegex(),$.breaks=z({},$.gfm,{br:q($.br).replace("{2,}","*").getRegex(),text:q($.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var H={block:U,inline:$},W=n.defaults,V=H.block,Y=H.inline,K=T;function G(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"â€").replace(/\.{3}/g,"…")}function J(e){var t,r,n="",o=e.length;for(t=0;t<o;t++)r=e.charCodeAt(t),Math.random()>.5&&(r="x"+r.toString(16)),n+="&#"+r+";";return n}var Q=function(){function t(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||W,this.options.tokenizer=this.options.tokenizer||new N,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:V.normal,inline:Y.normal};this.options.pedantic?(t.block=V.pedantic,t.inline=Y.pedantic):this.options.gfm&&(t.block=V.gfm,this.options.breaks?t.inline=Y.breaks:t.inline=Y.gfm),this.tokenizer.rules=t}t.lex=function(e,r){return new t(r).lex(e)},t.lexInline=function(e,r){return new t(r).inlineTokens(e)};var r,n,o,a=t.prototype;return a.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},a.blockTokens=function(e,t,r){var n,o,a,i;for(void 0===t&&(t=[]),void 0===r&&(r=!0),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),n.type&&t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),(i=t[t.length-1])&&"paragraph"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text):t.push(n);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.nptable(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),n.tokens=this.blockTokens(n.text,[],r),t.push(n);else if(n=this.tokenizer.list(e)){for(e=e.substring(n.raw.length),a=n.items.length,o=0;o<a;o++)n.items[o].tokens=this.blockTokens(n.items[o].text,[],!1);t.push(n)}else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(r&&(n=this.tokenizer.def(e)))e=e.substring(n.raw.length),this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else if(r&&(n=this.tokenizer.paragraph(e)))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),(i=t[t.length-1])&&"text"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text):t.push(n);else if(e){var s="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(s);break}throw new Error(s)}return t},a.inline=function(e){var t,r,n,o,a,i,s=e.length;for(t=0;t<s;t++)switch((i=e[t]).type){case"paragraph":case"text":case"heading":i.tokens=[],this.inlineTokens(i.text,i.tokens);break;case"table":for(i.tokens={header:[],cells:[]},o=i.header.length,r=0;r<o;r++)i.tokens.header[r]=[],this.inlineTokens(i.header[r],i.tokens.header[r]);for(o=i.cells.length,r=0;r<o;r++)for(a=i.cells[r],i.tokens.cells[r]=[],n=0;n<a.length;n++)i.tokens.cells[r][n]=[],this.inlineTokens(a[n],i.tokens.cells[r][n]);break;case"blockquote":this.inline(i.tokens);break;case"list":for(o=i.items.length,r=0;r<o;r++)this.inline(i.items[r].tokens)}return e},a.inlineTokens=function(e,t,r,n){var o,a;void 0===t&&(t=[]),void 0===r&&(r=!1),void 0===n&&(n=!1);var i,s,c,l=e;if(this.tokens.links){var u=Object.keys(this.tokens.links);if(u.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(l));)u.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,i.index)+"["+K("a",i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,i.index)+"["+K("a",i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.escapedEmSt.exec(l));)l=l.slice(0,i.index)+"++"+l.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(s||(c=""),s=!1,o=this.tokenizer.escape(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.tag(e,r,n)){e=e.substring(o.raw.length),r=o.inLink,n=o.inRawBlock;var p=t[t.length-1];p&&"text"===o.type&&"text"===p.type?(p.raw+=o.raw,p.text+=o.text):t.push(o)}else if(o=this.tokenizer.link(e))e=e.substring(o.raw.length),"link"===o.type&&(o.tokens=this.inlineTokens(o.text,[],!0,n)),t.push(o);else if(o=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(o.raw.length);var f=t[t.length-1];"link"===o.type?(o.tokens=this.inlineTokens(o.text,[],!0,n),t.push(o)):f&&"text"===o.type&&"text"===f.type?(f.raw+=o.raw,f.text+=o.text):t.push(o)}else if(o=this.tokenizer.emStrong(e,l,c))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],r,n),t.push(o);else if(o=this.tokenizer.codespan(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.br(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.del(e))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],r,n),t.push(o);else if(o=this.tokenizer.autolink(e,J))e=e.substring(o.raw.length),t.push(o);else if(r||!(o=this.tokenizer.url(e,J))){if(o=this.tokenizer.inlineText(e,n,G))e=e.substring(o.raw.length),"_"!==o.raw.slice(-1)&&(c=o.raw.slice(-1)),s=!0,(a=t[t.length-1])&&"text"===a.type?(a.raw+=o.raw,a.text+=o.text):t.push(o);else if(e){var d="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(d);break}throw new Error(d)}}else e=e.substring(o.raw.length),t.push(o);return t},r=t,o=[{key:"rules",get:function(){return{block:V,inline:Y}}}],(n=null)&&e(r.prototype,n),o&&e(r,o),t}(),X=n.defaults,Z=A,ee=w,te=function(){function e(e){this.options=e||X}var t=e.prototype;return t.code=function(e,t,r){var n=(t||"").match(/\S*/)[0];if(this.options.highlight){var o=this.options.highlight(e,n);null!=o&&o!==e&&(r=!0,e=o)}return e=e.replace(/\n$/,"")+"\n",n?'<pre><code class="'+this.options.langPrefix+ee(n,!0)+'">'+(r?e:ee(e,!0))+"</code></pre>\n":"<pre><code>"+(r?e:ee(e,!0))+"</code></pre>\n"},t.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},t.html=function(e){return e},t.heading=function(e,t,r,n){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+n.slug(r)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},t.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},t.list=function(e,t,r){var n=t?"ol":"ul";return"<"+n+(t&&1!==r?' start="'+r+'"':"")+">\n"+e+"</"+n+">\n"},t.listitem=function(e){return"<li>"+e+"</li>\n"},t.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},t.paragraph=function(e){return"<p>"+e+"</p>\n"},t.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},t.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},t.tablecell=function(e,t){var r=t.header?"th":"td";return(t.align?"<"+r+' align="'+t.align+'">':"<"+r+">")+e+"</"+r+">\n"},t.strong=function(e){return"<strong>"+e+"</strong>"},t.em=function(e){return"<em>"+e+"</em>"},t.codespan=function(e){return"<code>"+e+"</code>"},t.br=function(){return this.options.xhtml?"<br/>":"<br>"},t.del=function(e){return"<del>"+e+"</del>"},t.link=function(e,t,r){if(null===(e=Z(this.options.sanitize,this.options.baseUrl,e)))return r;var n='<a href="'+ee(e)+'"';return t&&(n+=' title="'+t+'"'),n+=">"+r+"</a>"},t.image=function(e,t,r){if(null===(e=Z(this.options.sanitize,this.options.baseUrl,e)))return r;var n='<img src="'+e+'" alt="'+r+'"';return t&&(n+=' title="'+t+'"'),n+=this.options.xhtml?"/>":">"},t.text=function(e){return e},e}(),re=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,r){return""+r},t.image=function(e,t,r){return""+r},t.br=function(){return""},e}(),ne=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var r=e,n=0;if(this.seen.hasOwnProperty(r)){n=this.seen[e];do{r=e+"-"+ ++n}while(this.seen.hasOwnProperty(r))}return t||(this.seen[e]=n,this.seen[r]=0),r},t.slug=function(e,t){void 0===t&&(t={});var r=this.serialize(e);return this.getNextSafeSlug(r,t.dryrun)},e}(),oe=n.defaults,ae=k,ie=function(){function e(e){this.options=e||oe,this.options.renderer=this.options.renderer||new te,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new re,this.slugger=new ne}e.parse=function(t,r){return new e(r).parse(t)},e.parseInline=function(t,r){return new e(r).parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var r,n,o,a,i,s,c,l,u,p,f,d,h,v,m,g,y,b,x="",w=e.length;for(r=0;r<w;r++)switch((p=e[r]).type){case"space":continue;case"hr":x+=this.renderer.hr();continue;case"heading":x+=this.renderer.heading(this.parseInline(p.tokens),p.depth,ae(this.parseInline(p.tokens,this.textRenderer)),this.slugger);continue;case"code":x+=this.renderer.code(p.text,p.lang,p.escaped);continue;case"table":for(l="",c="",a=p.header.length,n=0;n<a;n++)c+=this.renderer.tablecell(this.parseInline(p.tokens.header[n]),{header:!0,align:p.align[n]});for(l+=this.renderer.tablerow(c),u="",a=p.cells.length,n=0;n<a;n++){for(c="",i=(s=p.tokens.cells[n]).length,o=0;o<i;o++)c+=this.renderer.tablecell(this.parseInline(s[o]),{header:!1,align:p.align[o]});u+=this.renderer.tablerow(c)}x+=this.renderer.table(l,u);continue;case"blockquote":u=this.parse(p.tokens),x+=this.renderer.blockquote(u);continue;case"list":for(f=p.ordered,d=p.start,h=p.loose,a=p.items.length,u="",n=0;n<a;n++)g=(m=p.items[n]).checked,y=m.task,v="",m.task&&(b=this.renderer.checkbox(g),h?m.tokens.length>0&&"text"===m.tokens[0].type?(m.tokens[0].text=b+" "+m.tokens[0].text,m.tokens[0].tokens&&m.tokens[0].tokens.length>0&&"text"===m.tokens[0].tokens[0].type&&(m.tokens[0].tokens[0].text=b+" "+m.tokens[0].tokens[0].text)):m.tokens.unshift({type:"text",text:b}):v+=b),v+=this.parse(m.tokens,h),u+=this.renderer.listitem(v,y,g);x+=this.renderer.list(u,f,d);continue;case"html":x+=this.renderer.html(p.text);continue;case"paragraph":x+=this.renderer.paragraph(this.parseInline(p.tokens));continue;case"text":for(u=p.tokens?this.parseInline(p.tokens):p.text;r+1<w&&"text"===e[r+1].type;)u+="\n"+((p=e[++r]).tokens?this.parseInline(p.tokens):p.text);x+=t?this.renderer.paragraph(u):u;continue;default:var k='Token with "'+p.type+'" type was not found.';if(this.options.silent)return void console.error(k);throw new Error(k)}return x},t.parseInline=function(e,t){t=t||this.renderer;var r,n,o="",a=e.length;for(r=0;r<a;r++)switch((n=e[r]).type){case"escape":o+=t.text(n.text);break;case"html":o+=t.html(n.text);break;case"link":o+=t.link(n.href,n.title,this.parseInline(n.tokens,t));break;case"image":o+=t.image(n.href,n.title,n.text);break;case"strong":o+=t.strong(this.parseInline(n.tokens,t));break;case"em":o+=t.em(this.parseInline(n.tokens,t));break;case"codespan":o+=t.codespan(n.text);break;case"br":o+=t.br();break;case"del":o+=t.del(this.parseInline(n.tokens,t));break;case"text":o+=t.text(n.text);break;default:var i='Token with "'+n.type+'" type was not found.';if(this.options.silent)return void console.error(i);throw new Error(i)}return o},e}(),se=E,ce=_,le=w,ue=n.getDefaults,pe=n.changeDefaults,fe=n.defaults;function de(e,t,r){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(r=t,t=null),t=se({},de.defaults,t||{}),ce(t),r){var n,o=t.highlight;try{n=Q.lex(e,t)}catch(e){return r(e)}var a=function(e){var a;if(!e)try{a=ie.parse(n,t)}catch(t){e=t}return t.highlight=o,e?r(e):r(null,a)};if(!o||o.length<3)return a();if(delete t.highlight,!n.length)return a();var i=0;return de.walkTokens(n,(function(e){"code"===e.type&&(i++,setTimeout((function(){o(e.text,e.lang,(function(t,r){if(t)return a(t);null!=r&&r!==e.text&&(e.text=r,e.escaped=!0),0==--i&&a()}))}),0))})),void(0===i&&a())}try{var s=Q.lex(e,t);return t.walkTokens&&de.walkTokens(s,t.walkTokens),ie.parse(s,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+le(e.message+"",!0)+"</pre>";throw e}}return de.options=de.setOptions=function(e){return se(de.defaults,e),pe(de.defaults),de},de.getDefaults=ue,de.defaults=fe,de.use=function(e){var t=se({},e);if(e.renderer&&function(){var r=de.defaults.renderer||new te,n=function(t){var n=r[t];r[t]=function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var s=e.renderer[t].apply(r,a);return!1===s&&(s=n.apply(r,a)),s}};for(var o in e.renderer)n(o);t.renderer=r}(),e.tokenizer&&function(){var r=de.defaults.tokenizer||new N,n=function(t){var n=r[t];r[t]=function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var s=e.tokenizer[t].apply(r,a);return!1===s&&(s=n.apply(r,a)),s}};for(var o in e.tokenizer)n(o);t.tokenizer=r}(),e.walkTokens){var r=de.defaults.walkTokens;t.walkTokens=function(t){e.walkTokens(t),r&&r(t)}}de.setOptions(t)},de.walkTokens=function(e,t){for(var n,o=r(e);!(n=o()).done;){var a=n.value;switch(t(a),a.type){case"table":for(var i,s=r(a.tokens.header);!(i=s()).done;){var c=i.value;de.walkTokens(c,t)}for(var l,u=r(a.tokens.cells);!(l=u()).done;)for(var p,f=r(l.value);!(p=f()).done;){var d=p.value;de.walkTokens(d,t)}break;case"list":de.walkTokens(a.items,t);break;default:a.tokens&&de.walkTokens(a.tokens,t)}}},de.parseInline=function(e,t){if(null==e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");t=se({},de.defaults,t||{}),ce(t);try{var r=Q.lexInline(e,t);return t.walkTokens&&de.walkTokens(r,t.walkTokens),ie.parseInline(r,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+le(e.message+"",!0)+"</pre>";throw e}},de.Parser=ie,de.parser=ie.parse,de.Renderer=te,de.TextRenderer=re,de.Lexer=Q,de.lexer=Q.lex,de.Tokenizer=N,de.Slugger=ne,de.parse=de,de}()},function(e,t,r){e.exports=r(444)},function(e,t,r){e.exports=r(428)},function(e,t,r){e.exports=r(429)},function(e,t,r){"use strict";var n=r(16),o=r(68).f,a=r(193),i=r(12),s=r(85),c=r(37),l=r(30),u=function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,p,f,d,h,v,m,g,y=e.target,b=e.global,x=e.stat,w=e.proto,k=b?n:x?n[y]:(n[y]||{}).prototype,S=b?i:i[y]||(i[y]={}),A=S.prototype;for(f in t)r=!a(b?f:y+(x?".":"#")+f,e.forced)&&k&&l(k,f),h=S[f],r&&(v=e.noTargetGet?(g=o(k,f))&&g.value:k[f]),d=r&&v?v:t[f],r&&typeof h==typeof d||(m=e.bind&&r?s(d,n):e.wrap&&r?u(d):w&&"function"==typeof d?s(Function.call,d):d,(e.sham||d&&d.sham||h&&h.sham)&&c(m,"sham",!0),S[f]=m,w&&(l(i,p=y+"Prototype")||c(i,p,{}),i[p][f]=d,e.real&&A&&!A[f]&&c(A,f,d)))}},function(e,t,r){var n=r(136),o=r(325),a=r(329),i=r(334),s=r(206),c=r(348),l=r(209),u=r(211),p=r(172);function f(e,t){var r=u(e);if(l){var n=l(e);t&&(n=c(n).call(n,(function(t){return s(e,t).enumerable}))),r.push.apply(r,n)}return r}e.exports=function(e){for(var t=1;t<arguments.length;t++){var r,c=null!=arguments[t]?arguments[t]:{};if(t%2)i(r=f(Object(c),!0)).call(r,(function(t){p(e,t,c[t])}));else if(a)o(e,a(c));else{var l;i(l=f(Object(c))).call(l,(function(t){n(e,t,s(c,t))}))}}return e}},function(e,t,r){e.exports=r(196)},function(e,t,r){var n=r(445),o=r(122);function a(t){return e.exports=a="function"==typeof o&&"symbol"==typeof n?function(e){return typeof e}:function(e){return e&&"function"==typeof o&&e.constructor===o&&e!==o.prototype?"symbol":typeof e},a(t)}e.exports=a},function(e,t,r){e.exports=r(471)},function(e,t){e.exports={}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){var n=r(16),o=r(144),a=r(30),i=r(114),s=r(145),c=r(204),l=o("wks"),u=n.Symbol,p=c?u:u&&u.withoutSetter||i;e.exports=function(e){return a(l,e)||(s&&a(u,e)?l[e]=u[e]:l[e]=p("Symbol."+e)),l[e]}},function(e,t,r){e.exports=r(454)},function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||Function("return this")()}).call(this,r(26))},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,r){var n=r(12),o=r(30),a=r(150),i=r(38).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||i(t,e,{value:a.f(e)})}},function(e,t,r){e.exports=r(384)},function(e,t,r){"use strict";var n=r(98),o=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var r,i;if(t=t||{},Object.keys(t).forEach((function(t){if(-1===o.indexOf(t))throw new n('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(r=t.styleAliases||null,i={},null!==r&&Object.keys(r).forEach((function(e){r[e].forEach((function(t){i[String(t)]=e}))})),i),-1===a.indexOf(this.kind))throw new n('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,r){"use strict";(function(e,n){r.d(t,"a",(function(){return k})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return g})),r.d(t,"d",(function(){return m})),r.d(t,"e",(function(){return p})),r.d(t,"f",(function(){return l})),r.d(t,"g",(function(){return d})),r.d(t,"h",(function(){return y})),r.d(t,"i",(function(){return x}));var o=r(0),a=r(1),i={identify:function(e){return e instanceof Uint8Array},default:!1,tag:"tag:yaml.org,2002:binary",resolve:function(t,r){var n=Object(a.q)(t,r);if("function"==typeof e)return e.from(n,"base64");if("function"==typeof atob){for(var i=atob(n.replace(/[\n\r]/g,"")),s=new Uint8Array(i.length),c=0;c<i.length;++c)s[c]=i.charCodeAt(c);return s}return t.errors.push(new o.v(r,"This environment does not support reading binary tags; either Buffer or atob is required")),null},options:a.i,stringify:function(t,r,n,i){var s,c=t.comment,l=t.type,u=t.value;if("function"==typeof e)s=u instanceof e?u.toString("base64"):e.from(u.buffer).toString("base64");else{if("function"!=typeof btoa)throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");for(var p="",f=0;f<u.length;++f)p+=String.fromCharCode(u[f]);s=btoa(p)}if(l||(l=a.i.defaultType),l===o.e.QUOTE_DOUBLE)u=s;else{for(var d=a.i.lineWidth,h=Math.ceil(s.length/d),v=new Array(h),m=0,g=0;m<h;++m,g+=d)v[m]=s.substr(g,d);u=v.join(l===o.e.BLOCK_LITERAL?"\n":" ")}return Object(a.j)({comment:c,type:l,value:u},r,n,i)}};function s(e,t){for(var r=Object(a.o)(e,t),n=0;n<r.items.length;++n){var i=r.items[n];if(!(i instanceof a.e)){if(i instanceof a.k){if(i.items.length>1){throw new o.n(t,"Each pair must have its own sequence indicator")}var s=i.items[0]||new a.e;i.commentBefore&&(s.commentBefore=s.commentBefore?"".concat(i.commentBefore,"\n").concat(s.commentBefore):i.commentBefore),i.comment&&(s.comment=s.comment?"".concat(i.comment,"\n").concat(s.comment):i.comment),i=s}r.items[n]=i instanceof a.e?i:new a.e(i)}}return r}function c(e,t,r){var n=new a.g(e);n.tag="tag:yaml.org,2002:pairs";var i,s=Object(o.g)(t);try{for(s.s();!(i=s.n()).done;){var c=i.value,l=void 0,u=void 0;if(Array.isArray(c)){if(2!==c.length)throw new TypeError("Expected [key, value] tuple: ".concat(c));l=c[0],u=c[1]}else if(c&&c instanceof Object){var p=Object.keys(c);if(1!==p.length)throw new TypeError("Expected { key: value } tuple: ".concat(c));u=c[l=p[0]]}else l=c;var f=e.createPair(l,u,r);n.items.push(f)}}catch(e){s.e(e)}finally{s.f()}return n}var l={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:s,createNode:c},u=function(e){Object(o.q)(r,e);var t=Object(o.r)(r);function r(){var e;return Object(o.j)(this,r),e=t.call(this),Object(o.l)(Object(o.w)(e),"add",a.k.prototype.add.bind(Object(o.w)(e))),Object(o.l)(Object(o.w)(e),"delete",a.k.prototype.delete.bind(Object(o.w)(e))),Object(o.l)(Object(o.w)(e),"get",a.k.prototype.get.bind(Object(o.w)(e))),Object(o.l)(Object(o.w)(e),"has",a.k.prototype.has.bind(Object(o.w)(e))),Object(o.l)(Object(o.w)(e),"set",a.k.prototype.set.bind(Object(o.w)(e))),e.tag=r.tag,e}return Object(o.i)(r,[{key:"toJSON",value:function(e,t){var r=new Map;t&&t.onCreate&&t.onCreate(r);var n,i=Object(o.g)(this.items);try{for(i.s();!(n=i.n()).done;){var s=n.value,c=void 0,l=void 0;if(s instanceof a.e?(c=Object(a.w)(s.key,"",t),l=Object(a.w)(s.value,c,t)):c=Object(a.w)(s,"",t),r.has(c))throw new Error("Ordered maps must not include duplicate keys");r.set(c,l)}}catch(e){i.e(e)}finally{i.f()}return r}}]),r}(a.g);Object(o.l)(u,"tag","tag:yaml.org,2002:omap");var p={identify:function(e){return e instanceof Map},nodeClass:u,default:!1,tag:"tag:yaml.org,2002:omap",resolve:function(e,t){var r,n=s(e,t),i=[],c=Object(o.g)(n.items);try{for(c.s();!(r=c.n()).done;){var l=r.value.key;if(l instanceof a.f){if(i.includes(l.value)){throw new o.n(t,"Ordered maps must not include duplicate keys")}i.push(l.value)}}}catch(e){c.e(e)}finally{c.f()}return Object.assign(new u,n)},createNode:function(e,t,r){var n=c(e,t,r),o=new u;return o.items=n.items,o}},f=function(e){Object(o.q)(r,e);var t=Object(o.r)(r);function r(){var e;return Object(o.j)(this,r),(e=t.call(this)).tag=r.tag,e}return Object(o.i)(r,[{key:"add",value:function(e){var t=e instanceof a.e?e:new a.e(e);Object(a.s)(this.items,t.key)||this.items.push(t)}},{key:"get",value:function(e,t){var r=Object(a.s)(this.items,e);return!t&&r instanceof a.e?r.key instanceof a.f?r.key.value:r.key:r}},{key:"set",value:function(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not ".concat(Object(o.h)(t)));var r=Object(a.s)(this.items,e);r&&!t?this.items.splice(this.items.indexOf(r),1):!r&&t&&this.items.push(new a.e(e))}},{key:"toJSON",value:function(e,t){return Object(o.s)(Object(o.t)(r.prototype),"toJSON",this).call(this,e,t,Set)}},{key:"toString",value:function(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return Object(o.s)(Object(o.t)(r.prototype),"toString",this).call(this,e,t,n);throw new Error("Set items must all have null values")}}]),r}(a.k);Object(o.l)(f,"tag","tag:yaml.org,2002:set");var d={identify:function(e){return e instanceof Set},nodeClass:f,default:!1,tag:"tag:yaml.org,2002:set",resolve:function(e,t){var r=Object(a.n)(e,t);if(!r.hasAllNullValues())throw new o.n(t,"Set items must all have null values");return Object.assign(new f,r)},createNode:function(e,t,r){var n,a=new f,i=Object(o.g)(t);try{for(i.s();!(n=i.n()).done;){var s=n.value;a.items.push(e.createPair(s,null,r))}}catch(e){i.e(e)}finally{i.f()}return a}},h=function(e,t){var r=t.split(":").reduce((function(e,t){return 60*e+Number(t)}),0);return"-"===e?-r:r},v=function(e){var t=e.value;if(isNaN(t)||!isFinite(t))return Object(a.r)(t);var r="";t<0&&(r="-",t=Math.abs(t));var n=[t%60];return t<60?n.unshift(0):(t=Math.round((t-n[0])/60),n.unshift(t%60),t>=60&&(t=Math.round((t-n[0])/60),n.unshift(t))),r+n.map((function(e){return e<10?"0"+String(e):String(e)})).join(":").replace(/000000\d*$/,"")},m={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:function(e,t,r){return h(t,r.replace(/_/g,""))},stringify:v},g={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:function(e,t,r){return h(t,r.replace(/_/g,""))},stringify:v},y={identify:function(e){return e instanceof Date},default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?)$"),resolve:function(e,t,r,n,o,a,i,s,c){s&&(s=(s+"00").substr(1,3));var l=Date.UTC(t,r-1,n,o||0,a||0,i||0,s||0);if(c&&"Z"!==c){var u=h(c[0],c.slice(1));Math.abs(u)<30&&(u*=60),l-=6e4*u}return new Date(l)},stringify:function(e){return e.value.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")}};function b(e){var t=void 0!==n&&n.env||{};return e?"undefined"!=typeof YAML_SILENCE_DEPRECATION_WARNINGS?!YAML_SILENCE_DEPRECATION_WARNINGS:!t.YAML_SILENCE_DEPRECATION_WARNINGS:"undefined"!=typeof YAML_SILENCE_WARNINGS?!YAML_SILENCE_WARNINGS:!t.YAML_SILENCE_WARNINGS}function x(e,t){if(b(!1)){var r=void 0!==n&&n.emitWarning;r?r(e,t):console.warn(t?"".concat(t,": ").concat(e):e)}}var w={};function k(e,t){if(!w[e]&&b(!0)){w[e]=!0;var r="The option '".concat(e,"' will be removed in a future release");x(r+=t?", use '".concat(t,"' instead."):".","DeprecationWarning")}}}).call(this,r(33).Buffer,r(41))},function(e,t,r){var n=r(13);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,r){e.exports=r(562)},function(e,t,r){e.exports=r(440)},function(e,t,r){e.exports=r(572)},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){var n=r(12);e.exports=function(e){return n[e+"Prototype"]}},function(e,t,r){"use strict";var n=r(296),o=r(297);function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=b(e));return e instanceof a?e.format():a.prototype.format.call(e)},t.Url=a;var i=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),p=["%","/","?",";","#"].concat(u),f=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=r(298);function b(e,t,r){if(e&&o.isObject(e)&&e instanceof a)return e;var n=new a;return n.parse(e,t,r),n}a.prototype.parse=function(e,t,r){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),s=-1!==a&&a<e.indexOf("#")?"?":"#",l=e.split(s);l[0]=l[0].replace(/\\/g,"/");var b=e=l.join(s);if(b=b.trim(),!r&&1===e.split("#").length){var x=c.exec(b);if(x)return this.path=b,this.href=b,this.pathname=x[1],x[2]?(this.search=x[2],this.query=t?y.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=i.exec(b);if(w){var k=(w=w[0]).toLowerCase();this.protocol=k,b=b.substr(w.length)}if(r||w||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var S="//"===b.substr(0,2);!S||w&&m[w]||(b=b.substr(2),this.slashes=!0)}if(!m[w]&&(S||w&&!g[w])){for(var A,O,E=-1,D=0;D<f.length;D++){-1!==(C=b.indexOf(f[D]))&&(-1===E||C<E)&&(E=C)}-1!==(O=-1===E?b.lastIndexOf("@"):b.lastIndexOf("@",E))&&(A=b.slice(0,O),b=b.slice(O+1),this.auth=decodeURIComponent(A)),E=-1;for(D=0;D<p.length;D++){var C;-1!==(C=b.indexOf(p[D]))&&(-1===E||C<E)&&(E=C)}-1===E&&(E=b.length),this.host=b.slice(0,E),b=b.slice(E),this.parseHost(),this.hostname=this.hostname||"";var j="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!j)for(var _=this.hostname.split(/\./),T=(D=0,_.length);D<T;D++){var I=_[D];if(I&&!I.match(d)){for(var F="",P=0,R=I.length;P<R;P++)I.charCodeAt(P)>127?F+="x":F+=I[P];if(!F.match(d)){var B=_.slice(0,D),L=_.slice(D+1),N=I.match(h);N&&(B.push(N[1]),L.unshift(N[2])),L.length&&(b="/"+L.join(".")+b),this.hostname=B.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),j||(this.hostname=n.toASCII(this.hostname));var M=this.port?":"+this.port:"",q=this.hostname||"";this.host=q+M,this.href+=this.host,j&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!v[k])for(D=0,T=u.length;D<T;D++){var z=u[D];if(-1!==b.indexOf(z)){var U=encodeURIComponent(z);U===z&&(U=escape(z)),b=b.split(z).join(U)}}var $=b.indexOf("#");-1!==$&&(this.hash=b.substr($),b=b.slice(0,$));var H=b.indexOf("?");if(-1!==H?(this.search=b.substr(H),this.query=b.substr(H+1),t&&(this.query=y.parse(this.query)),b=b.slice(0,H)):t&&(this.search="",this.query={}),b&&(this.pathname=b),g[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){M=this.pathname||"";var W=this.search||"";this.path=M+W}return this.href=this.format(),this},a.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",a=!1,i="";this.host?a=e+this.host:this.hostname&&(a=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(a+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(i=y.stringify(this.query));var s=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==a?(a="//"+(a||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):a||(a=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),t+a+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+n},a.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(o.isString(e)){var t=new a;t.parse(e,!1,!0),e=t}for(var r=new a,n=Object.keys(this),i=0;i<n.length;i++){var s=n[i];r[s]=this[s]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),l=0;l<c.length;l++){var u=c[l];"protocol"!==u&&(r[u]=e[u])}return g[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!g[e.protocol]){for(var p=Object.keys(e),f=0;f<p.length;f++){var d=p[f];r[d]=e[d]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||m[e.protocol])r.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),r.pathname=h.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var v=r.pathname||"",y=r.search||"";r.path=v+y}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var b=r.pathname&&"/"===r.pathname.charAt(0),x=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=x||b||r.host&&e.pathname,k=w,S=r.pathname&&r.pathname.split("/")||[],A=(h=e.pathname&&e.pathname.split("/")||[],r.protocol&&!g[r.protocol]);if(A&&(r.hostname="",r.port=null,r.host&&(""===S[0]?S[0]=r.host:S.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),w=w&&(""===h[0]||""===S[0])),x)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,S=h;else if(h.length)S||(S=[]),S.pop(),S=S.concat(h),r.search=e.search,r.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(A)r.hostname=r.host=S.shift(),(j=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=j.shift(),r.host=r.hostname=j.shift());return r.search=e.search,r.query=e.query,o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!S.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var O=S.slice(-1)[0],E=(r.host||e.host||S.length>1)&&("."===O||".."===O)||""===O,D=0,C=S.length;C>=0;C--)"."===(O=S[C])?S.splice(C,1):".."===O?(S.splice(C,1),D++):D&&(S.splice(C,1),D--);if(!w&&!k)for(;D--;D)S.unshift("..");!w||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),E&&"/"!==S.join("/").substr(-1)&&S.push("");var j,_=""===S[0]||S[0]&&"/"===S[0].charAt(0);A&&(r.hostname=r.host=_?"":S.length?S.shift():"",(j=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=j.shift(),r.host=r.hostname=j.shift()));return(w=w||r.host&&S.length)&&!_&&S.unshift(""),S.length?r.pathname=S.join("/"):(r.pathname=null,r.path=null),o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},a.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,r){(function(t){var r=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,r=0,n={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++r}),e.__id},clone:function e(t,r){var o,a;switch(r=r||{},n.util.type(t)){case"Object":if(a=n.util.objId(t),r[a])return r[a];for(var i in o={},r[a]=o,t)t.hasOwnProperty(i)&&(o[i]=e(t[i],r));return o;case"Array":return a=n.util.objId(t),r[a]?r[a]:(o=[],r[a]=o,t.forEach((function(t,n){o[n]=e(t,r)})),o);default:return t}},getLanguage:function(e){for(;e&&!t.test(e.className);)e=e.parentElement;return e?(e.className.match(t)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(n){var e=(/at [^(\r\n]*\((.*):.+:.+\)$/i.exec(n.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var r in t)if(t[r].src==e)return t[r]}return null}},isActive:function(e,t,r){for(var n="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(n))return!1;e=e.parentElement}return!!r}},languages:{extend:function(e,t){var r=n.util.clone(n.languages[e]);for(var o in t)r[o]=t[o];return r},insertBefore:function(e,t,r,o){var a=(o=o||n.languages)[e],i={};for(var s in a)if(a.hasOwnProperty(s)){if(s==t)for(var c in r)r.hasOwnProperty(c)&&(i[c]=r[c]);r.hasOwnProperty(s)||(i[s]=a[s])}var l=o[e];return o[e]=i,n.languages.DFS(n.languages,(function(t,r){r===l&&t!=e&&(this[t]=i)})),i},DFS:function e(t,r,o,a){a=a||{};var i=n.util.objId;for(var s in t)if(t.hasOwnProperty(s)){r.call(t,s,t[s],o||s);var c=t[s],l=n.util.type(c);"Object"!==l||a[i(c)]?"Array"!==l||a[i(c)]||(a[i(c)]=!0,e(c,r,s,a)):(a[i(c)]=!0,e(c,r,null,a))}}},plugins:{},highlightAll:function(e,t){n.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,r){var o={callback:r,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};n.hooks.run("before-highlightall",o),o.elements=Array.prototype.slice.apply(o.container.querySelectorAll(o.selector)),n.hooks.run("before-all-elements-highlight",o);for(var a,i=0;a=o.elements[i++];)n.highlightElement(a,!0===t,o.callback)},highlightElement:function(r,o,a){var i=n.util.getLanguage(r),s=n.languages[i];r.className=r.className.replace(t,"").replace(/\s+/g," ")+" language-"+i;var c=r.parentElement;c&&"pre"===c.nodeName.toLowerCase()&&(c.className=c.className.replace(t,"").replace(/\s+/g," ")+" language-"+i);var l={element:r,language:i,grammar:s,code:r.textContent};function u(e){l.highlightedCode=e,n.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,n.hooks.run("after-highlight",l),n.hooks.run("complete",l),a&&a.call(l.element)}if(n.hooks.run("before-sanity-check",l),!l.code)return n.hooks.run("complete",l),void(a&&a.call(l.element));if(n.hooks.run("before-highlight",l),l.grammar)if(o&&e.Worker){var p=new Worker(n.filename);p.onmessage=function(e){u(e.data)},p.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else u(n.highlight(l.code,l.grammar,l.language));else u(n.util.encode(l.code))},highlight:function(e,t,r){var a={code:e,grammar:t,language:r};return n.hooks.run("before-tokenize",a),a.tokens=n.tokenize(a.code,a.grammar),n.hooks.run("after-tokenize",a),o.stringify(n.util.encode(a.tokens),a.language)},tokenize:function(e,t){var r=t.rest;if(r){for(var l in r)t[l]=r[l];delete t.rest}var u=new i;return s(u,u.head,e),function e(t,r,i,l,u,p){for(var f in i)if(i.hasOwnProperty(f)&&i[f]){var d=i[f];d=Array.isArray(d)?d:[d];for(var h=0;h<d.length;++h){if(p&&p.cause==f+","+h)return;var v=d[h],m=v.inside,g=!!v.lookbehind,y=!!v.greedy,b=v.alias;if(y&&!v.pattern.global){var x=v.pattern.toString().match(/[imsuy]*$/)[0];v.pattern=RegExp(v.pattern.source,x+"g")}for(var w=v.pattern||v,k=l.next,S=u;k!==r.tail&&!(p&&S>=p.reach);S+=k.value.length,k=k.next){var A=k.value;if(r.length>t.length)return;if(!(A instanceof o)){var O,E=1;if(y){if(!(O=a(w,S,t,g)))break;var D=O.index,C=O.index+O[0].length,j=S;for(j+=k.value.length;D>=j;)k=k.next,j+=k.value.length;if(j-=k.value.length,S=j,k.value instanceof o)continue;for(var _=k;_!==r.tail&&(j<C||"string"==typeof _.value);_=_.next)E++,j+=_.value.length;E--,A=t.slice(S,j),O.index-=S}else if(!(O=a(w,0,A,g)))continue;D=O.index;var T=O[0],I=A.slice(0,D),F=A.slice(D+T.length),P=S+A.length;p&&P>p.reach&&(p.reach=P);var R=k.prev;I&&(R=s(r,R,I),S+=I.length),c(r,R,E);var B=new o(f,m?n.tokenize(T,m):T,b,T);k=s(r,R,B),F&&s(r,k,F),E>1&&e(t,r,i,k.prev,S,{cause:f+","+h,reach:P})}}}}}(e,u,t,u.head,0),function(e){var t=[],r=e.head.next;for(;r!==e.tail;)t.push(r.value),r=r.next;return t}(u)},hooks:{all:{},add:function(e,t){var r=n.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){var r=n.hooks.all[e];if(r&&r.length)for(var o,a=0;o=r[a++];)o(t)}},Token:o};function o(e,t,r,n){this.type=e,this.content=t,this.alias=r,this.length=0|(n||"").length}function a(e,t,r,n){e.lastIndex=t;var o=e.exec(r);if(o&&n&&o[1]){var a=o[1].length;o.index+=a,o[0]=o[0].slice(a)}return o}function i(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,r){var n=t.next,o={value:r,prev:t,next:n};return t.next=o,n.prev=o,e.length++,o}function c(e,t,r){for(var n=t.next,o=0;o<r&&n!==e.tail;o++)n=n.next;t.next=n,n.prev=t,e.length-=o}if(e.Prism=n,o.stringify=function e(t,r){if("string"==typeof t)return t;if(Array.isArray(t)){var o="";return t.forEach((function(t){o+=e(t,r)})),o}var a={type:t.type,content:e(t.content,r),tag:"span",classes:["token",t.type],attributes:{},language:r},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(a.classes,i):a.classes.push(i)),n.hooks.run("wrap",a);var s="";for(var c in a.attributes)s+=" "+c+'="'+(a.attributes[c]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+s+">"+a.content+"</"+a.tag+">"},!e.document)return e.addEventListener?(n.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var r=JSON.parse(t.data),o=r.language,a=r.code,i=r.immediateClose;e.postMessage(n.highlight(a,n.languages[o],o)),i&&e.close()}),!1),n):n;var l=n.util.currentScript();function u(){n.manual||n.highlightAll()}if(l&&(n.filename=l.src,l.hasAttribute("data-manual")&&(n.manual=!0)),!n.manual){var p=document.readyState;"loading"===p||"interactive"===p&&l&&l.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return n}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{}); -/** - * Prism: Lightweight, robust, elegant syntax highlighting - * - * @license MIT <https://opensource.org/licenses/MIT> - * @author Lea Verou <https://lea.verou.me> - * @namespace - * @public - */e.exports&&(e.exports=r),void 0!==t&&(t.Prism=r),r.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};o["language-"+t]={pattern:/[\s\S]+/,inside:r.languages[t]};var a={};a[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:o},r.languages.insertBefore("markup","cdata",a)}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:RegExp("[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),string:{pattern:t,greedy:!0},property:/(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/(^|["'\s])style\s*=\s*(?:"[^"]*"|'[^']*')/i,lookbehind:!0,inside:{"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{style:{pattern:/(["'])[\s\S]+(?=["']$)/,lookbehind:!0,alias:"language-css",inside:e.languages.css},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},"attr-name":/^style/i}}},r.tag))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|(?:get|set)(?=\s*[\[$\w\xA0-\uFFFF])|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}}}),r.languages.markup&&r.languages.markup.tag.addInlined("script","javascript"),r.languages.js=r.languages.javascript,function(){if("undefined"!=typeof self&&self.Prism&&self.document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e=window.Prism,t={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},r='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',n=/\blang(?:uage)?-([\w-]+)\b/i;e.hooks.add("before-highlightall",(function(e){e.selector+=", "+r})),e.hooks.add("before-sanity-check",(function(n){var o=n.element;if(o.matches(r)){n.code="",o.setAttribute("data-src-status","loading");var i=o.appendChild(document.createElement("CODE"));i.textContent="Loading…";var s=o.getAttribute("data-src"),c=n.language;if("none"===c){var l=(/\.(\w+)$/.exec(s)||[,"none"])[1];c=t[l]||l}a(i,c),a(o,c);var u=e.plugins.autoloader;u&&u.loadLanguages(c);var p=new XMLHttpRequest;p.open("GET",s,!0),p.onreadystatechange=function(){var t,r;4==p.readyState&&(p.status<400&&p.responseText?(o.setAttribute("data-src-status","loaded"),i.textContent=p.responseText,e.highlightElement(i)):(o.setAttribute("data-src-status","failed"),p.status>=400?i.textContent=(t=p.status,r=p.statusText,"✖ Error "+t+" while fetching file: "+r):i.textContent="✖ Error: File does not exist or is empty"))},p.send(null)}})),e.plugins.fileHighlight={highlight:function(t){for(var n,o=(t||document).querySelectorAll(r),a=0;n=o[a++];)e.highlightElement(n)}};var o=!1;e.fileHighlight=function(){o||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),o=!0),e.plugins.fileHighlight.highlight.apply(this,arguments)}}function a(e,t){var r=e.className;r=r.replace(n," ")+" language-"+t,e.className=r.replace(/\s+/g," ").trim()}}()}).call(this,r(26))},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){var n=r(17);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){var r=Array.isArray;e.exports=r},function(e,t,r){"use strict";(function(e){ -/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org> - * @license MIT - */ -var n=r(302),o=r(303),a=r(180);function i(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(i()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=c.prototype:(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,r){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return p(this,e)}return l(this,e,t,r)}function l(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=c.prototype:e=f(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!c.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|h(t,r),o=(e=s(e,n)).write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if(c.isBuffer(t)){var r=0|d(t.length);return 0===(e=s(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?s(e,0):f(e,t);if("Buffer"===t.type&&a(t.data))return f(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function p(e,t){if(u(t),e=s(e,t<0?0:0|d(t)),!c.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function f(e,t){var r=t.length<0?0:0|d(t.length);e=s(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function d(e){if(e>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function h(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return z(e).length;default:if(n)return q(e).length;t=(""+t).toLowerCase(),n=!0}}function v(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return j(this,t,r);case"utf8":case"utf-8":return E(this,t,r);case"ascii":return D(this,t,r);case"latin1":case"binary":return C(this,t,r);case"base64":return O(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function g(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,o);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):y(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function y(e,t,r,n,o){var a,i=1,s=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;i=2,s/=2,c/=2,r/=2}function l(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o){var u=-1;for(a=r;a<s;a++)if(l(e,a)===l(t,-1===u?0:a-u)){if(-1===u&&(u=a),a-u+1===c)return u*i}else-1!==u&&(a-=a-u),u=-1}else for(r+c>s&&(r=s-c),a=r;a>=0;a--){for(var p=!0,f=0;f<c;f++)if(l(e,a+f)!==l(t,f)){p=!1;break}if(p)return a}return-1}function b(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var i=0;i<n;++i){var s=parseInt(t.substr(2*i,2),16);if(isNaN(s))return i;e[r+i]=s}return i}function x(e,t,r,n){return U(q(t,e.length-r),e,r,n)}function w(e,t,r,n){return U(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function k(e,t,r,n){return w(e,t,r,n)}function S(e,t,r,n){return U(z(t),e,r,n)}function A(e,t,r,n){return U(function(e,t){for(var r,n,o,a=[],i=0;i<e.length&&!((t-=2)<0);++i)r=e.charCodeAt(i),n=r>>8,o=r%256,a.push(o),a.push(n);return a}(t,e.length-r),e,r,n)}function O(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function E(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var a,i,s,c,l=e[o],u=null,p=l>239?4:l>223?3:l>191?2:1;if(o+p<=r)switch(p){case 1:l<128&&(u=l);break;case 2:128==(192&(a=e[o+1]))&&(c=(31&l)<<6|63&a)>127&&(u=c);break;case 3:a=e[o+1],i=e[o+2],128==(192&a)&&128==(192&i)&&(c=(15&l)<<12|(63&a)<<6|63&i)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:a=e[o+1],i=e[o+2],s=e[o+3],128==(192&a)&&128==(192&i)&&128==(192&s)&&(c=(15&l)<<18|(63&a)<<12|(63&i)<<6|63&s)>65535&&c<1114112&&(u=c)}null===u?(u=65533,p=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),o+=p}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}t.Buffer=c,t.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=i(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,r){return l(null,e,t,r)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,r){return function(e,t,r,n){return u(t),t<=0?s(e,t):void 0!==r?"string"==typeof n?s(e,t).fill(r,n):s(e,t).fill(r):s(e,t)}(null,e,t,r)},c.allocUnsafe=function(e){return p(null,e)},c.allocUnsafeSlow=function(e){return p(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,a=Math.min(r,n);o<a;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},c.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}},c.concat=function(e,t){if(!a(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=c.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(!c.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},c.byteLength=h,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?E(this,0,e):v.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,r,n,o){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var a=(o>>>=0)-(n>>>=0),i=(r>>>=0)-(t>>>=0),s=Math.min(a,i),l=this.slice(n,o),u=e.slice(t,r),p=0;p<s;++p)if(l[p]!==u[p]){a=l[p],i=u[p];break}return a<i?-1:i<a?1:0},c.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},c.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},c.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)},c.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return b(this,e,t,r);case"utf8":case"utf-8":return x(this,e,t,r);case"ascii":return w(this,e,t,r);case"latin1":case"binary":return k(this,e,t,r);case"base64":return S(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function D(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function C(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function j(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",a=t;a<r;++a)o+=M(e[a]);return o}function _(e,t,r){for(var n=e.slice(t,r),o="",a=0;a<n.length;a+=2)o+=String.fromCharCode(n[a]+256*n[a+1]);return o}function T(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,r,n,o,a){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function F(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,a=Math.min(e.length-r,2);o<a;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function P(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,a=Math.min(e.length-r,4);o<a;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function R(e,t,r,n,o,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function B(e,t,r,n,a){return a||R(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function L(e,t,r,n,a){return a||R(e,0,r,8),o.write(e,t,r,n,52,8),r+8}c.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=c.prototype;else{var o=t-e;r=new c(o,void 0);for(var a=0;a<o;++a)r[a]=this[a+e]}return r},c.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||T(e,t,this.length);for(var n=this[e],o=1,a=0;++a<t&&(o*=256);)n+=this[e+a]*o;return n},c.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||T(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},c.prototype.readUInt8=function(e,t){return t||T(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||T(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||T(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||T(e,t,this.length);for(var n=this[e],o=1,a=0;++a<t&&(o*=256);)n+=this[e+a]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||T(e,t,this.length);for(var n=t,o=1,a=this[e+--n];n>0&&(o*=256);)a+=this[e+--n]*o;return a>=(o*=128)&&(a-=Math.pow(2,8*t)),a},c.prototype.readInt8=function(e,t){return t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||T(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(e,t){t||T(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(e,t){return t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||T(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||T(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||T(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||T(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||I(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,a=0;for(this[t]=255&e;++a<r&&(o*=256);)this[t+a]=e/o&255;return t+r},c.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||I(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+r},c.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):P(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):P(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);I(this,e,t,r,o-1,-o)}var a=0,i=1,s=0;for(this[t]=255&e;++a<r&&(i*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/i>>0)-s&255;return t+r},c.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);I(this,e,t,r,o-1,-o)}var a=r-1,i=1,s=0;for(this[t+a]=255&e;--a>=0&&(i*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/i>>0)-s&255;return t+r},c.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):P(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):P(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,r){return B(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return B(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return L(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return L(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,a=n-r;if(this===e&&r<t&&t<n)for(o=a-1;o>=0;--o)e[o+t]=this[o+r];else if(a<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o<a;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+a),t);return a},c.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),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var a;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(a=t;a<r;++a)this[a]=e;else{var i=c.isBuffer(e)?e:q(new c(e,n).toString()),s=i.length;for(a=0;a<r-t;++a)this[a+t]=i[a%s]}return this};var N=/[^+\/0-9A-Za-z-_]/g;function M(e){return e<16?"0"+e.toString(16):e.toString(16)}function q(e,t){var r;t=t||1/0;for(var n=e.length,o=null,a=[],i=0;i<n;++i){if((r=e.charCodeAt(i))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(i+1===n){(t-=3)>-1&&a.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&a.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function z(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}}).call(this,r(26))},function(e,t,r){e.exports=r(383)},function(e,t,r){var n=r(448),o=r(449),a=r(158),i=r(452);e.exports=function(e,t){return n(e)||o(e,t)||a(e,t)||i()}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){var n=r(22),o=r(38),a=r(69);e.exports=n?function(e,t,r){return o.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(22),o=r(192),a=r(31),i=r(111),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(a(e),t=i(t,!0),a(r),o)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){var n=r(22),o=r(13),a=r(30),i=Object.defineProperty,s={},c=function(e){throw e};e.exports=function(e,t){if(a(s,e))return s[e];t||(t={});var r=[][e],l=!!a(t,"ACCESSORS")&&t.ACCESSORS,u=a(t,0)?t[0]:c,p=a(t,1)?t[1]:void 0;return s[e]=!!r&&!o((function(){if(l&&!n)return!0;var e={length:-1};l?i(e,1,{enumerable:!0,get:c}):e[1]=1,r.call(e,u,p)}))}},function(e,t,r){var n=r(563),o=r(564),a=r(158),i=r(565);e.exports=function(e){return n(e)||o(e)||a(e)||i()}},function(e,t){var r,n,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(e){r=a}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var c,l=[],u=!1,p=-1;function f(){u&&c&&(u=!1,c.length?l=c.concat(l):p=-1,l.length&&d())}function d(){if(!u){var e=s(f);u=!0;for(var t=l.length;t;){for(c=l,l=[];++p<t;)c&&c[p].run();p=-1,t=l.length}c=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new h(e,t)),1!==l.length||u||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,r){var n=r(109),o=r(110);e.exports=function(e){return n(o(e))}},function(e,t,r){var n=r(12),o=r(16),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(n[e])||a(o[e]):n[e]&&n[e][t]||o[e]&&o[e][t]}},function(e,t,r){var n=r(110);e.exports=function(e){return Object(n(e))}},function(e,t,r){var n=r(216),o="object"==typeof self&&self&&self.Object===Object&&self,a=n||o||Function("return this")();e.exports=a},function(e,t,r){"use strict";r.r(t);var n=r(265),o=r.n(n),a=r(266),i=r.n(a)()(o.a);i.push([e.i,"html,\nbody {\n width:100%;\n height:100%;\n margin:0;\n padding:0;\n}","",{version:3,sources:["webpack://./src/styles/css/main.css"],names:[],mappings:"AAAA;;EAEE,UAAU;EACV,WAAW;EACX,QAAQ;EACR,SAAS;AACX",sourcesContent:["html,\nbody {\n width:100%;\n height:100%;\n margin:0;\n padding:0;\n}"],sourceRoot:""}]),t.default=i},function(e,t,r){var n=r(226),o=r(156),a=r(390),i=r(122),s=r(158);e.exports=function(e,t){var r;if(void 0===i||null==a(e)){if(o(e)||(r=s(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var c=0,l=function(){};return{s:l,n:function(){return c>=e.length?{done:!0}:{done:!1,value:e[c++]}},e:function(e){throw e},f:l}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,p=!0,f=!1;return{s:function(){r=n(e)},n:function(){var e=r.next();return p=e.done,e},e:function(e){f=!0,u=e},f:function(){try{p||null==r.return||r.return()}finally{if(f)throw u}}}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,r){var n=r(85),o=r(109),a=r(44),i=r(54),s=r(148),c=[].push,l=function(e){var t=1==e,r=2==e,l=3==e,u=4==e,p=6==e,f=5==e||p;return function(d,h,v,m){for(var g,y,b=a(d),x=o(b),w=n(h,v,3),k=i(x.length),S=0,A=m||s,O=t?A(d,k):r?A(d,0):void 0;k>S;S++)if((f||S in x)&&(y=w(g=x[S],S,b),e))if(t)O[S]=y;else if(y)switch(e){case 3:return!0;case 5:return g;case 6:return S;case 2:c.call(O,g)}else if(u)return!1;return p?-1:l||u?u:O}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,r){var n=r(64),o=r(36);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,r){var n=r(162);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},function(e,t,r){e.exports=r(570)},function(e,t,r){var n=r(112),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},function(e,t,r){r(197);var n=r(340),o=r(16),a=r(71),i=r(37),s=r(61),c=r(14)("toStringTag");for(var l in n){var u=o[l],p=u&&u.prototype;p&&a(p)!==c&&i(p,c,l),s[l]=s.Array}},function(e,t,r){var n,o,a,i=r(198),s=r(16),c=r(17),l=r(37),u=r(30),p=r(113),f=r(87),d=s.WeakMap;if(i){var h=new d,v=h.get,m=h.has,g=h.set;n=function(e,t){return g.call(h,e,t),t},o=function(e){return v.call(h,e)||{}},a=function(e){return m.call(h,e)}}else{var y=p("state");f[y]=!0,n=function(e,t){return l(e,y,t),t},o=function(e){return u(e,y)?e[y]:{}},a=function(e){return u(e,y)}}e.exports={set:n,get:o,has:a,enforce:function(e){return a(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},function(e,t){e.exports=null},function(e,t,r){e.exports=r(357)},function(e,t){"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){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){e.exports={}},function(e,t,r){var n=r(146),o=r(38).f,a=r(37),i=r(30),s=r(338),c=r(14)("toStringTag");e.exports=function(e,t,r,l){if(e){var u=r?e:e.prototype;i(u,c)||o(u,c,{configurable:!0,value:t}),l&&!n&&a(u,"toString",s)}}},function(e,t,r){var n=r(361),o=r(366);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},function(e,t,r){var n=r(72),o=r(362),a=r(363),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)?o(e):a(e)}},function(e,t,r){var n=r(115),o=r(95),a=r(367),i=r(73),s=r(96),c=r(74),l=Object.prototype.hasOwnProperty,u=a((function(e,t){if(s(t)||i(t))o(t,c(t),e);else for(var r in t)l.call(t,r)&&n(e,r,t[r])}));e.exports=u},function(e,t,r){e.exports=r(437)},function(e,t,r){"use strict";var n=r(106),o=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=p;var a=r(84);a.inherits=r(59);var i=r(185),s=r(189);a.inherits(p,i);for(var c=o(s.prototype),l=0;l<c.length;l++){var u=c[l];p.prototype[u]||(p.prototype[u]=s.prototype[u])}function p(e){if(!(this instanceof p))return new p(e);i.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||n.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(p.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(p.prototype,"destroyed",{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)}}),p.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},function(e,t,r){var n=r(22),o=r(108),a=r(69),i=r(42),s=r(111),c=r(30),l=r(192),u=Object.getOwnPropertyDescriptor;t.f=n?u:function(e,t){if(e=i(e),t=s(t,!0),l)try{return u(e,t)}catch(e){}if(c(e,t))return a(!o.f.call(e,t),e[t])}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=!0},function(e,t,r){var n=r(146),o=r(60),a=r(14)("toStringTag"),i="Arguments"==o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?r:i?o(t):"Object"==(n=o(t))&&"function"==typeof t.callee?"Arguments":n}},function(e,t,r){var n=r(45).Symbol;e.exports=n},function(e,t,r){var n=r(51),o=r(152);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},function(e,t,r){var n=r(220),o=r(221),a=r(73);e.exports=function(e){return a(e)?n(e):o(e)}},function(e,t,r){"use strict";var n=r(386).charAt,o=r(56),a=r(201),i=o.set,s=o.getterFor("String Iterator");a(String,"String",(function(e){i(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=s(this),r=t.string,o=t.index;return o>=r.length?{value:void 0,done:!0}:(e=n(r,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,r){var n=r(31),o=r(233),a=r(54),i=r(85),s=r(121),c=r(232),l=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,r,u,p){var f,d,h,v,m,g,y,b=i(t,r,u?2:1);if(p)f=e;else{if("function"!=typeof(d=s(e)))throw TypeError("Target is not iterable");if(o(d)){for(h=0,v=a(e.length);v>h;h++)if((m=u?b(n(y=e[h])[0],y[1]):b(e[h]))&&m instanceof l)return m;return new l(!1)}f=d.call(e)}for(g=f.next;!(y=g.call(f)).done;)if("object"==typeof(m=c(f,b,y.value,u))&&m&&m instanceof l)return m;return new l(!1)}).stop=function(e){return new l(!0,e)}},function(e,t,r){"use strict";function n(e){return null==e}e.exports.isNothing=n,e.exports.isObject=function(e){return"object"==typeof e&&null!==e},e.exports.toArray=function(e){return Array.isArray(e)?e:n(e)?[]:[e]},e.exports.repeat=function(e,t){var r,n="";for(r=0;r<t;r+=1)n+=e;return n},e.exports.isNegativeZero=function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},e.exports.extend=function(e,t){var r,n,o,a;if(t)for(r=0,n=(a=Object.keys(t)).length;r<n;r+=1)e[o=a[r]]=t[o];return e}},function(e,t,r){"use strict";var n=r(77),o=r(98),a=r(20);function i(e,t,r){var n=[];return e.include.forEach((function(e){r=i(e,t,r)})),e[t].forEach((function(e){r.forEach((function(t,r){t.tag===e.tag&&t.kind===e.kind&&n.push(r)})),r.push(e)})),r.filter((function(e,t){return-1===n.indexOf(t)}))}function s(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach((function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new o("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")})),this.compiledImplicit=i(this,"implicit",[]),this.compiledExplicit=i(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,r={scalar:{},sequence:{},mapping:{},fallback:{}};function n(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}(this.compiledImplicit,this.compiledExplicit)}s.DEFAULT=null,s.create=function(){var e,t;switch(arguments.length){case 1:e=s.DEFAULT,t=arguments[0];break;case 2:e=arguments[0],t=arguments[1];break;default:throw new o("Wrong number of arguments for Schema.create function")}if(e=n.toArray(e),t=n.toArray(t),!e.every((function(e){return e instanceof s})))throw new o("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!t.every((function(e){return e instanceof a})))throw new o("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new s({include:e,explicit:t})},e.exports=s},function(e,t,r){e.exports=r(462)},function(e,t,r){var n=r(474);function o(e,t,r,o,a,i,s){try{var c=e[i](s),l=c.value}catch(e){return void r(e)}c.done?t(l):n.resolve(l).then(o,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new n((function(n,a){var i=e.apply(t,r);function s(e){o(i,n,a,s,c,"next",e)}function c(e){o(i,n,a,s,c,"throw",e)}s(void 0)}))}}},function(e,t,r){var n=r(507),o=r(532)((function(e,t){return null==e?{}:n(e,t)}));e.exports=o},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,r){var n=r(136);function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),n(e,o.key,o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),e}},function(e,t,r){(function(e){function r(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===r(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===r(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===r(e)},t.isError=function(e){return"[object Error]"===r(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,r(33).Buffer)},function(e,t,r){var n=r(48);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){var n=r(195),o=r(140);e.exports=Object.keys||function(e){return n(e,o)}},function(e,t){e.exports={}},function(e,t,r){"use strict";var n=r(111),o=r(38),a=r(69);e.exports=function(e,t,r){var i=n(t);i in e?o.f(e,i,a(0,r)):e[i]=r}},function(e,t,r){var n=r(30),o=r(44),a=r(113),i=r(203),s=a("IE_PROTO"),c=Object.prototype;e.exports=i?Object.getPrototypeOf:function(e){return e=o(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},function(e,t,r){var n,o=r(31),a=r(194),i=r(140),s=r(87),c=r(205),l=r(137),u=r(113),p=u("IE_PROTO"),f=function(){},d=function(e){return"<script>"+e+"<\/script>"},h=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=n?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):((t=l("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F);for(var r=i.length;r--;)delete h.prototype[i[r]];return h()};s[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(f.prototype=o(e),r=new f,f.prototype=null,r[p]=e):r=h(),void 0===t?r:a(r,t)}},function(e,t,r){var n=r(37);e.exports=function(e,t,r,o){o&&o.enumerable?e[t]=r:n(e,t,r)}},function(e,t,r){var n=r(60);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){"use strict";var n=r(13);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},function(e,t,r){var n=r(13),o=r(14),a=r(149),i=o("species");e.exports=function(e){return a>=51||!n((function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,r){var n=r(115),o=r(214);e.exports=function(e,t,r,a){var i=!r;r||(r={});for(var s=-1,c=t.length;++s<c;){var l=t[s],u=a?a(r[l],e[l],l,r,e):void 0;void 0===u&&(u=e[l]),i?o(r,l,u):n(r,l,u)}return r}},function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t,r){"use strict";var n=r(48),o=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},function(e,t,r){"use strict";function n(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t},e.exports=n},function(e,t,r){"use strict";var n=r(78);e.exports=new n({include:[r(246)],implicit:[r(496),r(497)],explicit:[r(498),r(499),r(500),r(501)]})},function(e,t,r){var n=r(120);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,r){var n=r(595),o=r(165),a=r(596),i=r(597),s=r(598),c=r(64),l=r(217),u=l(n),p=l(o),f=l(a),d=l(i),h=l(s),v=c;(n&&"[object DataView]"!=v(new n(new ArrayBuffer(1)))||o&&"[object Map]"!=v(new o)||a&&"[object Promise]"!=v(a.resolve())||i&&"[object Set]"!=v(new i)||s&&"[object WeakMap]"!=v(new s))&&(v=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?l(r):"";if(n)switch(n){case u:return"[object DataView]";case p:return"[object Map]";case f:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=v},function(e,t,r){var n=r(379),o=r(223),a=r(224),i=r(225);e.exports=function(e,t,r){return e=i(e),r=null==r?0:n(a(r),0,e.length),t=o(t),e.slice(r,r+t.length)==t}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";function n(e){return e.replace(/\~1/g,"/").replace(/~0/g,"~")}e.exports={jptr:function(e,t,r){if(void 0===e)return!1;if(!t||"string"!=typeof t||"#"===t)return void 0!==r?r:e;if(t.indexOf("#")>=0){let e=t.split("#");if(e[0])return!1;t=e[1],t=decodeURIComponent(t.slice(1).split("+").join(" "))}t.startsWith("/")&&(t=t.slice(1));let o=t.split("/");for(let t=0;t<o.length;t++){o[t]=n(o[t]);let a=void 0!==r&&t==o.length-1,i=parseInt(o[t],10);if(!Array.isArray(e)||isNaN(i)||i.toString()!==o[t]?i=Array.isArray(e)&&"-"===o[t]?-2:-1:o[t]=t>0?o[t-1]:"",-1!=i||e&&e.hasOwnProperty(o[t]))if(i>=0)a&&(e[i]=r),e=e[i];else{if(-2===i)return a?(Array.isArray(e)&&e.push(r),r):void 0;a&&(e[o[t]]=r),e=e[o[t]]}else{if(void 0===r||"object"!=typeof e||Array.isArray(e))return!1;e[o[t]]=a?r:"0"===o[t+1]||"-"===o[t+1]?[]:{},e=e[o[t]]}}return e},jpescape:function(e){return e.replace(/\~/g,"~0").replace(/\//g,"~1")},jpunescape:n}},function(e,t,r){"use strict";e.exports={nop:function(e){return e},clone:function(e){return JSON.parse(JSON.stringify(e))},shallowClone:function(e){let t={};for(let r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t},deepClone:function e(t){let r=Array.isArray(t)?[]:{};for(let n in t)(t.hasOwnProperty(n)||Array.isArray(t))&&(r[n]="object"==typeof t[n]?e(t[n]):t[n]);return r},fastClone:function(e){return Object.assign({},e)},circularClone:function e(t,r){if(r||(r=new WeakMap),Object(t)!==t||t instanceof Function)return t;if(r.has(t))return r.get(t);try{var n=new t.constructor}catch(e){n=Object.create(Object.getPrototypeOf(t))}return r.set(t,n),Object.assign(n,...Object.keys(t).map(n=>({[n]:e(t[n],r)})))}}},function(e,t,r){"use strict";(function(t){!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,r,n,o){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var a,i,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,r)}));case 3:return t.nextTick((function(){e.call(null,r,n)}));case 4:return t.nextTick((function(){e.call(null,r,n,o)}));default:for(a=new Array(s-1),i=0;i<a.length;)a[i++]=arguments[i];return t.nextTick((function(){e.apply(null,a)}))}}}:e.exports=t}).call(this,r(41))},function(e,t,r){var n=r(33),o=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function i(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=i),a(o,i),i.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},i.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},function(e,t,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!n.call({1:2},1);t.f=a?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},function(e,t,r){var n=r(13),o=r(60),a="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?a.call(e,""):Object(e)}:Object},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(17);e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){var n=r(144),o=r(114),a=n("keys");e.exports=function(e){return a[e]||(a[e]=o(e))}},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+n).toString(36)}},function(e,t,r){var n=r(214),o=r(116),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var i=e[t];a.call(e,t)&&o(i,r)&&(void 0!==r||t in e)||n(e,t,r)}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t){var r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,r){var n=r(375),o=r(50),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},function(e,t,r){(function(e){var n=r(45),o=r(376),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,s=i&&i.exports===a?n.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;e.exports=c}).call(this,r(103)(e))},function(e,t,r){var n=r(64),o=r(50);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},function(e,t,r){var n=r(71),o=r(61),a=r(14)("iterator");e.exports=function(e){if(null!=e)return e[a]||e["@@iterator"]||o[n(e)]}},function(e,t,r){e.exports=r(392)},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,r){"use strict";var n=r(78);e.exports=n.DEFAULT=new n({include:[r(99)],explicit:[r(502),r(503),r(504)]})},function(e,t,r){var n=r(32),o=r(163),a=r(509),i=r(225);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:a(i(e))}},function(e,t,r){var n=r(63)(Object,"create");e.exports=n},function(e,t,r){var n=r(519),o=r(520),a=r(521),i=r(522),s=r(523);function c(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])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},function(e,t,r){var n=r(116);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(525);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t,r){var n=r(545),o=r(249);function a(t){return e.exports=a=o?n:function(e){return e.__proto__||n(e)},a(t)}e.exports=a},function(e,t,r){e.exports=r(433)},function(e,t,r){"use strict";var n=r(486);e.exports=n},function(e,t,r){(function(t){!function(){"use strict";e.exports=function(e){return(e instanceof t?e:t.from(e.toString(),"binary")).toString("base64")}}()}).call(this,r(33).Buffer)},function(e,t,r){"use strict";e.exports={isRef:function(e,t){return"$ref"===t&&!!e&&"string"==typeof e[t]}}},function(e,t,r){"use strict";const n=r(104).jpescape;e.exports={recurse:function e(t,r,o){if(r||(r={depth:0}),r.depth||(r=Object.assign({},{path:"#",depth:0,pkey:"",parent:{},payload:{},seen:new WeakMap,identity:!1,identityDetection:!1},r)),"object"!=typeof t)return;let a=r.path;for(let i in t){if(r.key=i,r.path=r.path+"/"+encodeURIComponent(n(i)),r.identityPath=r.seen.get(t[i]),r.identity=void 0!==r.identityPath,t.hasOwnProperty(i)&&o(t,i,r),"object"==typeof t[i]&&!r.identity){r.identityDetection&&!Array.isArray(t[i])&&null!==t[i]&&r.seen.set(t[i],r.path);let n={};n.parent=t,n.path=r.path,n.depth=r.depth?r.depth+1:1,n.pkey=i,n.payload=r.payload,n.seen=r.seen,n.identity=!1,n.identityDetection=r.identityDetection,e(t[i],n,o)}r.path=a}}}},function(e,t,r){e.exports=r(322)},function(e,t,r){var n=r(16),o=r(17),a=n.document,i=o(a)&&o(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},function(e,t,r){var n=r(42),o=r(54),a=r(139),i=function(e){return function(t,r,i){var s,c=n(t),l=o(c.length),u=a(i,l);if(e&&r!=r){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},function(e,t,r){var n=r(112),o=Math.max,a=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):a(r,t)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,r){var n=r(195),o=r(140).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){e.exports=function(){}},function(e,t,r){var n=r(70),o=r(200);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,r){var n=r(13);e.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},function(e,t,r){var n={};n[r(14)("toStringTag")]="z",e.exports="[object z]"===String(n)},function(e,t,r){var n=r(31),o=r(339);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function(r,a){return n(r),o(a),t?e.call(r,a):r.__proto__=a,r}}():void 0)},function(e,t,r){var n=r(17),o=r(92),a=r(14)("species");e.exports=function(e,t){var r;return o(e)&&("function"!=typeof(r=e.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[a])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},function(e,t,r){var n,o,a=r(16),i=r(208),s=a.process,c=s&&s.versions,l=c&&c.v8;l?o=(n=l.split("."))[0]+n[1]:i&&(!(n=i.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/))&&(o=n[1]),e.exports=o&&+o},function(e,t,r){var n=r(14);t.f=n},function(e,t){e.exports=function(e){return e}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,r){var n=r(377),o=r(154),a=r(155),i=a&&a.isTypedArray,s=i?o(i):n;e.exports=s},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,r){(function(e){var n=r(216),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&n.process,s=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=s}).call(this,r(103)(e))},function(e,t,r){e.exports=r(388)},function(e,t){},function(e,t,r){var n=r(230),o=r(417),a=r(236);e.exports=function(e,t){var r;if(e){if("string"==typeof e)return a(e,t);var i=o(r=Object.prototype.toString.call(e)).call(r,8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?n(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?a(e,t):void 0}}},function(e,t,r){var n=r(91);e.exports=function(e,t,r){for(var o in t)r&&r.unsafe&&e[o]?e[o]=t[o]:n(e,o,t[o],r);return e}},function(e,t){e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},function(e,t,r){"use strict";var n=r(78);e.exports=new n({explicit:[r(489),r(490),r(491)]})},function(e,t,r){var n=r(125),o=r(100);e.exports=function(e,t){for(var r=0,a=(t=n(t,e)).length;null!=e&&r<a;)e=e[o(t[r++])];return r&&r==a?e:void 0}},function(e,t,r){var n=r(32),o=r(120),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\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&&!o(e))||(i.test(e)||!a.test(e)||null!=t&&e in Object(t))}},function(e,t,r){var n=r(512),o=r(524),a=r(526),i=r(527),s=r(528);function c(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])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},function(e,t,r){var n=r(63)(r(45),"Map");e.exports=n},function(e,t){e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},function(e,t,r){var n=r(127),o=r(579),a=r(580),i=r(581),s=r(582),c=r(583);function l(e){var t=this.__data__=new n(e);this.size=t.size}l.prototype.clear=o,l.prototype.delete=a,l.prototype.get=i,l.prototype.has=s,l.prototype.set=c,e.exports=l},function(e,t,r){var n=r(594),o=r(258),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(e){return null==e?[]:(e=Object(e),n(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=s},function(e,t,r){var n=r(222)(Object.getPrototypeOf,Object);e.exports=n},function(e,t,r){var n=r(255);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},function(e,t,r){var n=r(87),o=r(17),a=r(30),i=r(38).f,s=r(114),c=r(632),l=s("meta"),u=0,p=Object.isExtensible||function(){return!0},f=function(e){i(e,l,{value:{objectID:"O"+ ++u,weakData:{}}})},d=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,l)){if(!p(e))return"F";if(!t)return"E";f(e)}return e[l].objectID},getWeakData:function(e,t){if(!a(e,l)){if(!p(e))return!0;if(!t)return!1;f(e)}return e[l].weakData},onFreeze:function(e){return c&&d.REQUIRED&&p(e)&&!a(e,l)&&f(e),e}};n[l]=!0},function(e,t,r){var n=r(136);e.exports=function(e,t,r){return t in e?n(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){e.exports=r(459)},function(e,t,r){e.exports=r(571)},function(e,t){e.exports=function(){}},function(e,t,r){"use strict";var n=t,o=r(33).Buffer;function a(e,t){try{return decodeURIComponent(e)}catch(r){return n.unescapeBuffer(e,t).toString()}}n.unescapeBuffer=function(e,t){for(var r,n,a,i=new o(e.length),s=0,c=0,l=0;c<=e.length;c++){var u=c<e.length?e.charCodeAt(c):NaN;switch(s){case 0:switch(u){case 37:r=0,n=0,s=1;break;case 43:t&&(u=32);default:i[l++]=u}break;case 1:if(a=u,u>=48&&u<=57)r=u-48;else if(u>=65&&u<=70)r=u-65+10;else{if(!(u>=97&&u<=102)){i[l++]=37,i[l++]=u,s=0;break}r=u-97+10}s=2;break;case 2:if(s=0,u>=48&&u<=57)n=u-48;else if(u>=65&&u<=70)n=u-65+10;else{if(!(u>=97&&u<=102)){i[l++]=37,i[l++]=a,i[l++]=u;break}n=u-97+10}i[l++]=16*r+n}}return i.slice(0,l-1)},n.unescape=a;for(var i=new Array(256),s=0;s<256;++s)i[s]="%"+((s<16?"0":"")+s.toString(16)).toUpperCase();n.escape=function(e){"string"!=typeof e&&(e+="");for(var t="",r=0,n=0;n<e.length;++n){var o=e.charCodeAt(n);if(!(33===o||45===o||46===o||95===o||126===o||o>=39&&o<=42||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122))if(n-r>0&&(t+=e.slice(r,n)),o<128)r=n+1,t+=i[o];else if(o<2048)r=n+1,t+=i[192|o>>6]+i[128|63&o];else if(o<55296||o>=57344)r=n+1,t+=i[224|o>>12]+i[128|o>>6&63]+i[128|63&o];else{var a;if(!(++n<e.length))throw new URIError("URI malformed");a=1023&e.charCodeAt(n),r=n+1,t+=i[240|(o=65536+((1023&o)<<10|a))>>18]+i[128|o>>12&63]+i[128|o>>6&63]+i[128|63&o]}}return 0===r?e:r<e.length?t+e.slice(r):t};var c=function(e){return"string"==typeof e?e:"number"==typeof e&&isFinite(e)?""+e:"boolean"==typeof e?e?"true":"false":""};function l(e,t){try{return t(e)}catch(t){return n.unescape(e,!0)}}n.stringify=n.encode=function(e,t,r,o){t=t||"&",r=r||"=";var a=n.escape;if(o&&"function"==typeof o.encodeURIComponent&&(a=o.encodeURIComponent),null!==e&&"object"==typeof e){for(var i=Object.keys(e),s=i.length,l=s-1,u="",p=0;p<s;++p){var f=i[p],d=e[f],h=a(c(f))+r;if(Array.isArray(d)){for(var v=d.length,m=v-1,g=0;g<v;++g)u+=h+a(c(d[g])),g<m&&(u+=t);v&&p<l&&(u+=t)}else u+=h+a(c(d)),p<l&&(u+=t)}return u}return""},n.parse=n.decode=function(e,t,r,o){t=t||"&",r=r||"=";var i={};if("string"!=typeof e||0===e.length)return i;"string"!=typeof t&&(t+="");var s=r.length,c=t.length,u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var p=1/0;u>0&&(p=u);var f=n.unescape;o&&"function"==typeof o.decodeURIComponent&&(f=o.decodeURIComponent);for(var d=f!==a,h=[],v=0,m=0,g=0,y="",b="",x=d,w=d,k=0,S=0;S<e.length;++S){var A=e.charCodeAt(S);if(A!==t.charCodeAt(m)){if(m=0,w||(37===A?k=1:k>0&&(A>=48&&A<=57||A>=65&&A<=70||A>=97&&A<=102)?3==++k&&(w=!0):k=0),g<s){if(A===r.charCodeAt(g)){if(++g===s)v<(E=S-g+1)&&(y+=e.slice(v,E)),k=0,v=S+1;continue}g=0,x||(37===A?k=1:k>0&&(A>=48&&A<=57||A>=65&&A<=70||A>=97&&A<=102)?3==++k&&(x=!0):k=0)}43===A&&(g<s?(S-v>0&&(y+=e.slice(v,S)),y+="%20",x=!0):(S-v>0&&(b+=e.slice(v,S)),b+="%20",w=!0),v=S+1)}else if(++m===c){var O,E=S-m+1;if(g<s?v<E&&(y+=e.slice(v,E)):v<E&&(b+=e.slice(v,E)),x&&(y=l(y,f)),w&&(b=l(b,f)),-1===h.indexOf(y))i[y]=b,h[h.length]=y;else(O=i[y])instanceof Array?O[O.length]=b:i[y]=[O,b];if(0==--p)break;x=w=d,k=0,y=b="",v=S+1,m=g=0}}p>0&&(v<e.length||g>0)&&(v<e.length&&(g<s?y+=e.slice(v):m<c&&(b+=e.slice(v))),x&&(y=l(y,f)),w&&(b=l(b,f)),-1===h.indexOf(y)?(i[y]=b,h[h.length]=y):(O=i[y])instanceof Array?O[O.length]=b:i[y]=[O,b]);return i}},function(e,t){},function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",o=!1,a=arguments.length-1;a>=-1&&!o;a--){var i=a>=0?arguments[a]:e.cwd();if("string"!=typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(t=i+"/"+t,o="/"===i.charAt(0))}return(o?"/":"")+(t=r(n(t.split("/"),(function(e){return!!e})),!o).join("/"))||"."},t.normalize=function(e){var a=t.isAbsolute(e),i="/"===o(e,-1);return(e=r(n(e.split("/"),(function(e){return!!e})),!a).join("/"))||a||(e="."),e&&i&&(e+="/"),(a?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(n(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var o=n(e.split("/")),a=n(r.split("/")),i=Math.min(o.length,a.length),s=i,c=0;c<i;c++)if(o[c]!==a[c]){s=c;break}var l=[];for(c=s;c<o.length;c++)l.push("..");return(l=l.concat(a.slice(s))).join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!=typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,o=!0,a=e.length-1;a>=1;--a)if(47===(t=e.charCodeAt(a))){if(!o){n=a;break}}else o=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=function(e){"string"!=typeof e&&(e+="");var t,r=0,n=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){r=t+1;break}}else-1===n&&(o=!1,n=t+1);return-1===n?"":e.slice(r,n)}(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,r=0,n=-1,o=!0,a=0,i=e.length-1;i>=0;--i){var s=e.charCodeAt(i);if(47!==s)-1===n&&(o=!1,n=i+1),46===s?-1===t?t=i:1!==a&&(a=1):-1!==t&&(a=-1);else if(!o){r=i+1;break}}return-1===t||-1===n||0===a||1===a&&t===n-1&&t===r+1?"":e.slice(t,n)};var o="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r(41))},function(e,t,r){e.exports=r(638).YAML},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){"use strict";(function(t){const n=r(306),o=t.env.NODE_DISABLE_COLORS?{red:"",yellow:"",green:"",normal:""}:{red:"[31m",yellow:"[33;1m",green:"[32m",normal:"[0m"};function a(e,t){function r(e,t){return n.stringify(e)===n.stringify(Object.assign({},e,t))}return r(e,t)&&r(t,e)}String.prototype.toCamelCase=function(){return this.toLowerCase().replace(/[-_ \/\.](.)/g,(function(e,t){return t.toUpperCase()}))};function i(e){let t=(e=e.replace("[]","Array")).split("/");return t[0]=t[0].replace(/[^A-Za-z0-9_\-\.]+|\s+/gm,"_"),t.join("/")}e.exports={colour:o,uniqueOnly:function(e,t,r){return r.indexOf(e)===t},hasDuplicates:function(e){return new Set(e).size!==e.length},allSame:function(e){return new Set(e).size<=1},distinctArray:function(e){return e.length===function(e){let t=[];for(let r of e){t.find((function(e,t,n){return a(e,r)}))||t.push(r)}return t}(e).length},firstDupe:function(e){return e.find((function(t,r,n){return e.indexOf(t)<r}))},hash:function(e){let t,r=0;if(0===e.length)return r;for(let n=0;n<e.length;n++)t=e.charCodeAt(n),r=(r<<5)-r+t,r|=0;return r},parameterTypeProperties:["format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","minLength","maxLength","multipleOf","minItems","maxItems","uniqueItems","minProperties","maxProperties","additionalProperties","pattern","enum","default"],arrayProperties:["items","minItems","maxItems","uniqueItems"],httpMethods:["get","post","put","delete","patch","head","options","trace"],sanitise:i,sanitiseAll:function(e){return i(e.split("/").join("_"))}}}).call(this,r(41))},function(e,t,r){(function(e){t.fetch=s(e.fetch)&&s(e.ReadableStream),t.writableStream=s(e.WritableStream),t.abortController=s(e.AbortController),t.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),t.blobConstructor=!0}catch(e){}var r;function n(){if(void 0!==r)return r;if(e.XMLHttpRequest){r=new e.XMLHttpRequest;try{r.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){r=null}}else r=null;return r}function o(e){var t=n();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}var a=void 0!==e.ArrayBuffer,i=a&&s(e.ArrayBuffer.prototype.slice);function s(e){return"function"==typeof e}t.arraybuffer=t.fetch||a&&o("arraybuffer"),t.msstream=!t.fetch&&i&&o("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&a&&o("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!n()&&s(n().overrideMimeType),t.vbArray=s(e.VBArray),r=null}).call(this,r(26))},function(e,t,r){(function(e,n,o){var a=r(182),i=r(59),s=r(184),c=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},l=t.IncomingMessage=function(t,r,i,c){var l=this;if(s.Readable.call(l),l._mode=i,l.headers={},l.rawHeaders=[],l.trailers={},l.rawTrailers=[],l.on("end",(function(){e.nextTick((function(){l.emit("close")}))})),"fetch"===i){if(l._fetchResponse=r,l.url=r.url,l.statusCode=r.status,l.statusMessage=r.statusText,r.headers.forEach((function(e,t){l.headers[t.toLowerCase()]=e,l.rawHeaders.push(t,e)})),a.writableStream){var u=new WritableStream({write:function(e){return new Promise((function(t,r){l._destroyed?r():l.push(new n(e))?t():l._resumeFetch=t}))},close:function(){o.clearTimeout(c),l._destroyed||l.push(null)},abort:function(e){l._destroyed||l.emit("error",e)}});try{return void r.body.pipeTo(u).catch((function(e){o.clearTimeout(c),l._destroyed||l.emit("error",e)}))}catch(e){}}var p=r.body.getReader();!function e(){p.read().then((function(t){if(!l._destroyed){if(t.done)return o.clearTimeout(c),void l.push(null);l.push(new n(t.value)),e()}})).catch((function(e){o.clearTimeout(c),l._destroyed||l.emit("error",e)}))}()}else{if(l._xhr=t,l._pos=0,l.url=t.responseURL,l.statusCode=t.status,l.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach((function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var r=t[1].toLowerCase();"set-cookie"===r?(void 0===l.headers[r]&&(l.headers[r]=[]),l.headers[r].push(t[2])):void 0!==l.headers[r]?l.headers[r]+=", "+t[2]:l.headers[r]=t[2],l.rawHeaders.push(t[1],t[2])}})),l._charset="x-user-defined",!a.overrideMimeType){var f=l.rawHeaders["mime-type"];if(f){var d=f.match(/;\s*charset=([^;])(;|$)/);d&&(l._charset=d[1].toLowerCase())}l._charset||(l._charset="utf-8")}}};i(l,s.Readable),l.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},l.prototype._onXHRProgress=function(){var e=this,t=e._xhr,r=null;switch(e._mode){case"text:vbarray":if(t.readyState!==c.DONE)break;try{r=new o.VBArray(t.responseBody).toArray()}catch(e){}if(null!==r){e.push(new n(r));break}case"text":try{r=t.responseText}catch(t){e._mode="text:vbarray";break}if(r.length>e._pos){var a=r.substr(e._pos);if("x-user-defined"===e._charset){for(var i=new n(a.length),s=0;s<a.length;s++)i[s]=255&a.charCodeAt(s);e.push(i)}else e.push(a,e._charset);e._pos=r.length}break;case"arraybuffer":if(t.readyState!==c.DONE||!t.response)break;r=t.response,e.push(new n(new Uint8Array(r)));break;case"moz-chunked-arraybuffer":if(r=t.response,t.readyState!==c.LOADING||!r)break;e.push(new n(new Uint8Array(r)));break;case"ms-stream":if(r=t.response,t.readyState!==c.LOADING)break;var l=new o.MSStreamReader;l.onprogress=function(){l.result.byteLength>e._pos&&(e.push(new n(new Uint8Array(l.result.slice(e._pos)))),e._pos=l.result.byteLength)},l.onload=function(){e.push(null)},l.readAsArrayBuffer(r)}e._xhr.readyState===c.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,r(41),r(33).Buffer,r(26))},function(e,t,r){(t=e.exports=r(185)).Stream=t,t.Readable=t,t.Writable=r(189),t.Duplex=r(67),t.Transform=r(191),t.PassThrough=r(317)},function(e,t,r){"use strict";(function(t,n){var o=r(106);e.exports=b;var a,i=r(180);b.ReadableState=y;r(186).EventEmitter;var s=function(e,t){return e.listeners(t).length},c=r(187),l=r(107).Buffer,u=t.Uint8Array||function(){};var p=r(84);p.inherits=r(59);var f=r(311),d=void 0;d=f&&f.debuglog?f.debuglog("stream"):function(){};var h,v=r(312),m=r(188);p.inherits(b,c);var g=["error","close","destroy","pause","resume"];function y(e,t){e=e||{};var n=t instanceof(a=a||r(67));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,i=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(i||0===i)?i:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new v,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.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(h||(h=r(190).StringDecoder),this.decoder=new h(e.encoding),this.encoding=e.encoding)}function b(e){if(a=a||r(67),!(this instanceof b))return new b(e);this._readableState=new y(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function x(e,t,r,n,o){var a,i=e._readableState;null===t?(i.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,S(e)}(e,i)):(o||(a=function(e,t){var r;n=t,l.isBuffer(n)||n instanceof u||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(i,t)),a?e.emit("error",a):i.objectMode||t&&t.length>0?("string"==typeof t||i.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),n?i.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,i,t,!0):i.ended?e.emit("error",new Error("stream.push() after EOF")):(i.reading=!1,i.decoder&&!r?(t=i.decoder.write(t),i.objectMode||0!==t.length?w(e,i,t,!1):O(e,i)):w(e,i,t,!1))):n||(i.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(i)}function w(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&S(e)),O(e,t)}Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),b.prototype.destroy=m.destroy,b.prototype._undestroy=m.undestroy,b.prototype._destroy=function(e,t){this.push(null),t(e)},b.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=l.from(e,t),t=""),r=!0),x(this,e,t,!1,r)},b.prototype.unshift=function(e){return x(this,e,null,!0,!1)},b.prototype.isPaused=function(){return!1===this._readableState.flowing},b.prototype.setEncoding=function(e){return h||(h=r(190).StringDecoder),this._readableState.decoder=new h(e),this._readableState.encoding=e,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.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function S(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(d("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?o.nextTick(A,e):A(e))}function A(e){d("emit readable"),e.emit("readable"),j(e)}function O(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(E,e,t))}function E(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(d("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function D(e){d("readable nexttick read 0"),e.read(0)}function C(e,t){t.reading||(d("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),j(e),t.flowing&&!t.reading&&e.read(0)}function j(e){var t=e._readableState;for(d("flow",t.flowing);t.flowing&&null!==e.read(););}function _(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.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,o=r.data;e-=o.length;for(;r=r.next;){var a=r.data,i=e>a.length?a.length:e;if(i===a.length?o+=a:o+=a.slice(0,e),0===(e-=i)){i===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(i));break}++n}return t.length-=n,o}(e,t):function(e,t){var r=l.allocUnsafe(e),n=t.head,o=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var a=n.data,i=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,i),0===(e-=i)){i===a.length?(++o,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(i));break}++o}return t.length-=o,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function T(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,o.nextTick(I,t,e))}function I(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function F(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}b.prototype.read=function(e){d("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return d("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?T(this):S(this),null;if(0===(e=k(e,t))&&t.ended)return 0===t.length&&T(this),null;var n,o=t.needReadable;return d("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&d("length less than watermark",o=!0),t.ended||t.reading?d("reading or ended",o=!1):o&&(d("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=e>0?_(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&T(this)),null!==n&&this.emit("data",n),n},b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,t){var r=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,d("pipe count=%d opts=%j",a.pipesCount,t);var c=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?u:b;function l(t,n){d("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,d("cleanup"),e.removeListener("close",g),e.removeListener("finish",y),e.removeListener("drain",p),e.removeListener("error",m),e.removeListener("unpipe",l),r.removeListener("end",u),r.removeListener("end",b),r.removeListener("data",v),f=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||p())}function u(){d("onend"),e.end()}a.endEmitted?o.nextTick(c):r.once("end",c),e.on("unpipe",l);var p=function(e){return function(){var t=e._readableState;d("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,j(e))}}(r);e.on("drain",p);var f=!1;var h=!1;function v(t){d("ondata"),h=!1,!1!==e.write(t)||h||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==F(a.pipes,e))&&!f&&(d("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,h=!0),r.pause())}function m(t){d("onerror",t),b(),e.removeListener("error",m),0===s(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",y),b()}function y(){d("onfinish"),e.removeListener("close",g),b()}function b(){d("unpipe"),r.unpipe(e)}return r.on("data",v),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?i(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",m),e.once("close",g),e.once("finish",y),e.emit("pipe",r),a.flowing||(d("pipe resume"),r.resume()),e},b.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,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<o;a++)n[a].emit("unpipe",this,r);return this}var i=F(t.pipes,e);return-1===i||(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},b.prototype.on=function(e,t){var r=c.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&S(this):o.nextTick(D,this))}return r},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var e=this._readableState;return e.flowing||(d("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,o.nextTick(C,e,t))}(this,e)),this},b.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",(function(){if(d("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){(d("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))})),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var a=0;a<g.length;a++)e.on(g[a],this.emit.bind(this,g[a]));return this._read=function(t){d("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=_}).call(this,r(26),r(41))},function(e,t,r){"use strict";var n,o="object"==typeof Reflect?Reflect:null,a=o&&"function"==typeof o.apply?o.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function l(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function u(e,t,r,n){var o,a,i,s;if("function"!=typeof r)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r);if(void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),i=a[t]),void 0===i)i=a[t]=r,++e._eventsCount;else if("function"==typeof i?i=a[t]=n?[r,i]:[i,r]:n?i.unshift(r):i.push(r),(o=l(e))>0&&i.length>o&&!i.warned){i.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=i.length,s=c,console&&console.warn&&console.warn(s)}return e}function p(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,a(this.listener,this.target,e))}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=p.bind(n);return o.listener=r,n.wrapFn=o,o}function d(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(o):v(o,o.length)}function h(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function v(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");c=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||i(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 l(this)},s.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,o=this._events;if(void 0!==o)n=n&&void 0===o.error;else if(!n)return!1;if(n){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var c=o[e];if(void 0===c)return!1;if("function"==typeof c)a(c,this,t);else{var l=c.length,u=v(c,l);for(r=0;r<l;++r)a(u[r],this,t)}return!0},s.prototype.addListener=function(e,t){return u(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return u(this,e,t,!0)},s.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,f(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,f(this,e,t)),this},s.prototype.removeListener=function(e,t){var r,n,o,a,i;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(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(o=-1,a=r.length-1;a>=0;a--)if(r[a]===t||r[a].listener===t){i=r[a].listener,o=a;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,i||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,r,n;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){var o,a=Object.keys(r);for(n=0;n<a.length;++n)"removeListener"!==(o=a[n])&&this.removeAllListeners(o);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(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},s.prototype.listeners=function(e){return d(this,e,!0)},s.prototype.rawListeners=function(e){return d(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 this._eventsCount>0?n(this._events):[]}},function(e,t,r){e.exports=r(186).EventEmitter},function(e,t,r){"use strict";var n=r(106);function o(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,a=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return a||i?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||n.nextTick(o,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(n.nextTick(o,r,e),r._writableState&&(r._writableState.errorEmitted=!0)):t&&t(e)})),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.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,r){"use strict";(function(t,n,o){var a=r(106);function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var o=n.callback;t.pendingcb--,o(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=y;var s,c=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?n:a.nextTick;y.WritableState=g;var l=r(84);l.inherits=r(59);var u={deprecate:r(316)},p=r(187),f=r(107).Buffer,d=o.Uint8Array||function(){};var h,v=r(188);function m(){}function g(e,t){s=s||r(67),e=e||{};var n=t instanceof s;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var o=e.highWaterMark,l=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(l||0===l)?l:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var p=!1===e.decodeStrings;this.decodeStrings=!p,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,o=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,o){--t.pendingcb,r?(a.nextTick(o,n),a.nextTick(A,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(o(n),e._writableState.errorEmitted=!0,e.emit("error",n),A(e,t))}(e,r,n,t,o);else{var i=k(r);i||r.corked||r.bufferProcessing||!r.bufferedRequest||w(e,r),n?c(x,e,r,i,o):x(e,r,i,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function y(e){if(s=s||r(67),!(h.call(y,this)||this instanceof s))return new y(e);this._writableState=new g(e,this),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)),p.call(this)}function b(e,t,r,n,o,a,i){t.writelen=n,t.writecb=i,t.writing=!0,t.sync=!0,r?e._writev(o,t.onwrite):e._write(o,a,t.onwrite),t.sync=!1}function x(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),A(e,t)}function w(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,o=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var s=0,c=!0;r;)o[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;o.allBuffers=c,b(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,p=r.callback;if(b(e,t,!1,t.objectMode?1:l.length,l,u,p),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function k(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function S(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),A(e,t)}))}function A(e,t){var r=k(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,a.nextTick(S,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}l.inherits(y,p),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:u.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]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!h.call(this,e)||this===y&&(e&&e._writableState instanceof g)}})):h=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,r){var n,o=this._writableState,i=!1,s=!o.objectMode&&(n=e,f.isBuffer(n)||n instanceof d);return s&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(r=t,t=null),s?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof r&&(r=m),o.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),a.nextTick(t,r)}(this,r):(s||function(e,t,r,n){var o=!0,i=!1;return null===r?i=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(i=new TypeError("Invalid non-string/buffer chunk")),i&&(e.emit("error",i),a.nextTick(n,i),o=!1),o}(this,o,e,r))&&(o.pendingcb++,i=function(e,t,r,n,o,a){if(!r){var i=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,r));return t}(t,n,o);n!==i&&(r=!0,o="buffer",n=i)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:a,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else b(e,t,!1,s,n,o,a);return c}(this,o,s,e,t,r)),i},y.prototype.cork=function(){this._writableState.corked++},y.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||w(this,e))},y.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,A(e,t),r&&(t.finished?a.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=v.destroy,y.prototype._undestroy=v.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r(41),r(314).setImmediate,r(26))},function(e,t,r){"use strict";var n=r(107).Buffer,o=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 a(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===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=u,this.end=p,t=3;break;default:return this.write=f,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 s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}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){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=a,a.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||""},a.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},a.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var o=i(t[n]);if(o>=0)return o>0&&(e.lastNeed=o-1),o;if(--n<r||-2===o)return 0;if((o=i(t[n]))>=0)return o>0&&(e.lastNeed=o-2),o;if(--n<r||-2===o)return 0;if((o=i(t[n]))>=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},a.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}},function(e,t,r){"use strict";e.exports=i;var n=r(67),o=r(84);function a(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function i(e){if(!(this instanceof i))return new i(e);n.call(this,e),this._transformState={afterTransform:a.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",s)}function s(){var e=this;"function"==typeof this._flush?this._flush((function(t,r){c(e,t,r)})):c(this,null,null)}function c(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}o.inherits=r(59),o.inherits(i,n),i.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},i.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},i.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},i.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},i.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,(function(e){t(e),r.emit("close")}))}},function(e,t,r){var n=r(22),o=r(13),a=r(137);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){var n=r(13),o=/#|\.prototype\./,a=function(e,t){var r=s[i(e)];return r==l||r!=c&&("function"==typeof t?n(t):!!t)},i=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},function(e,t,r){var n=r(22),o=r(38),a=r(31),i=r(86);e.exports=n?Object.defineProperties:function(e,t){a(e);for(var r,n=i(t),s=n.length,c=0;s>c;)o.f(e,r=n[c++],t[r]);return e}},function(e,t,r){var n=r(30),o=r(42),a=r(138).indexOf,i=r(87);e.exports=function(e,t){var r,s=o(e),c=0,l=[];for(r in s)!n(i,r)&&n(s,r)&&l.push(r);for(;t.length>c;)n(s,r=t[c++])&&(~a(l,r)||l.push(r));return l}},function(e,t,r){r(55);var n=r(341),o=r(71),a=Array.prototype,i={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===a||e instanceof Array&&t===a.forEach||i.hasOwnProperty(o(e))?n:t}},function(e,t,r){"use strict";var n=r(42),o=r(143),a=r(61),i=r(56),s=r(201),c=i.set,l=i.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){c(this,{type:"Array Iterator",target:n(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),a.Arguments=a.Array,o("keys"),o("values"),o("entries")},function(e,t,r){var n=r(16),o=r(199),a=n.WeakMap;e.exports="function"==typeof a&&/native code/.test(o(a))},function(e,t,r){var n=r(200),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return o.call(e)}),e.exports=n.inspectSource},function(e,t,r){var n=r(16),o=r(336),a=n["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=a},function(e,t,r){"use strict";var n=r(7),o=r(337),a=r(89),i=r(147),s=r(62),c=r(37),l=r(91),u=r(14),p=r(70),f=r(61),d=r(202),h=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,m=u("iterator"),g=function(){return this};e.exports=function(e,t,r,u,d,y,b){o(r,t,u);var x,w,k,S=function(e){if(e===d&&C)return C;if(!v&&e in E)return E[e];switch(e){case"keys":case"values":case"entries":return function(){return new r(this,e)}}return function(){return new r(this)}},A=t+" Iterator",O=!1,E=e.prototype,D=E[m]||E["@@iterator"]||d&&E[d],C=!v&&D||S(d),j="Array"==t&&E.entries||D;if(j&&(x=a(j.call(new e)),h!==Object.prototype&&x.next&&(p||a(x)===h||(i?i(x,h):"function"!=typeof x[m]&&c(x,m,g)),s(x,A,!0,!0),p&&(f[A]=g))),"values"==d&&D&&"values"!==D.name&&(O=!0,C=function(){return D.call(this)}),p&&!b||E[m]===C||c(E,m,C),f[t]=C,d)if(w={values:S("values"),keys:y?C:S("keys"),entries:S("entries")},b)for(k in w)(v||O||!(k in E))&&l(E,k,w[k]);else n({target:t,proto:!0,forced:v||O},w);return w}},function(e,t,r){"use strict";var n,o,a,i=r(89),s=r(37),c=r(30),l=r(14),u=r(70),p=l("iterator"),f=!1;[].keys&&("next"in(a=[].keys())?(o=i(i(a)))!==Object.prototype&&(n=o):f=!0),null==n&&(n={}),u||c(n,p)||s(n,p,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:f}},function(e,t,r){var n=r(13);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,r){var n=r(145);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,r){var n=r(43);e.exports=n("document","documentElement")},function(e,t,r){e.exports=r(345)},function(e,t,r){var n=r(350),o=Array.prototype;e.exports=function(e){var t=e.filter;return e===o||e instanceof Array&&t===o.filter?n:t}},function(e,t,r){var n=r(43);e.exports=n("navigator","userAgent")||""},function(e,t,r){e.exports=r(352)},function(e,t,r){"use strict";var n=r(7),o=r(16),a=r(43),i=r(70),s=r(22),c=r(145),l=r(204),u=r(13),p=r(30),f=r(92),d=r(17),h=r(31),v=r(44),m=r(42),g=r(111),y=r(69),b=r(90),x=r(86),w=r(141),k=r(354),S=r(142),A=r(68),O=r(38),E=r(108),D=r(37),C=r(91),j=r(144),_=r(113),T=r(87),I=r(114),F=r(14),P=r(150),R=r(18),B=r(62),L=r(56),N=r(49).forEach,M=_("hidden"),q=F("toPrimitive"),z=L.set,U=L.getterFor("Symbol"),$=Object.prototype,H=o.Symbol,W=a("JSON","stringify"),V=A.f,Y=O.f,K=k.f,G=E.f,J=j("symbols"),Q=j("op-symbols"),X=j("string-to-symbol-registry"),Z=j("symbol-to-string-registry"),ee=j("wks"),te=o.QObject,re=!te||!te.prototype||!te.prototype.findChild,ne=s&&u((function(){return 7!=b(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=V($,t);n&&delete $[t],Y(e,t,r),n&&e!==$&&Y($,t,n)}:Y,oe=function(e,t){var r=J[e]=b(H.prototype);return z(r,{type:"Symbol",tag:e,description:t}),s||(r.description=t),r},ae=l?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof H},ie=function(e,t,r){e===$&&ie(Q,t,r),h(e);var n=g(t,!0);return h(r),p(J,n)?(r.enumerable?(p(e,M)&&e[M][n]&&(e[M][n]=!1),r=b(r,{enumerable:y(0,!1)})):(p(e,M)||Y(e,M,y(1,{})),e[M][n]=!0),ne(e,n,r)):Y(e,n,r)},se=function(e,t){h(e);var r=m(t),n=x(r).concat(pe(r));return N(n,(function(t){s&&!ce.call(r,t)||ie(e,t,r[t])})),e},ce=function(e){var t=g(e,!0),r=G.call(this,t);return!(this===$&&p(J,t)&&!p(Q,t))&&(!(r||!p(this,t)||!p(J,t)||p(this,M)&&this[M][t])||r)},le=function(e,t){var r=m(e),n=g(t,!0);if(r!==$||!p(J,n)||p(Q,n)){var o=V(r,n);return!o||!p(J,n)||p(r,M)&&r[M][n]||(o.enumerable=!0),o}},ue=function(e){var t=K(m(e)),r=[];return N(t,(function(e){p(J,e)||p(T,e)||r.push(e)})),r},pe=function(e){var t=e===$,r=K(t?Q:m(e)),n=[];return N(r,(function(e){!p(J,e)||t&&!p($,e)||n.push(J[e])})),n};(c||(C((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=I(e),r=function(e){this===$&&r.call(Q,e),p(this,M)&&p(this[M],t)&&(this[M][t]=!1),ne(this,t,y(1,e))};return s&&re&&ne($,t,{configurable:!0,set:r}),oe(t,e)}).prototype,"toString",(function(){return U(this).tag})),C(H,"withoutSetter",(function(e){return oe(I(e),e)})),E.f=ce,O.f=ie,A.f=le,w.f=k.f=ue,S.f=pe,P.f=function(e){return oe(F(e),e)},s&&(Y(H.prototype,"description",{configurable:!0,get:function(){return U(this).description}}),i||C($,"propertyIsEnumerable",ce,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:H}),N(x(ee),(function(e){R(e)})),n({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=String(e);if(p(X,t))return X[t];var r=H(t);return X[t]=r,Z[r]=t,r},keyFor:function(e){if(!ae(e))throw TypeError(e+" is not a symbol");if(p(Z,e))return Z[e]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?b(e):se(b(e),t)},defineProperty:ie,defineProperties:se,getOwnPropertyDescriptor:le}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ue,getOwnPropertySymbols:pe}),n({target:"Object",stat:!0,forced:u((function(){S.f(1)}))},{getOwnPropertySymbols:function(e){return S.f(v(e))}}),W)&&n({target:"JSON",stat:!0,forced:!c||u((function(){var e=H();return"[null]"!=W([e])||"{}"!=W({a:e})||"{}"!=W(Object(e))}))},{stringify:function(e,t,r){for(var n,o=[e],a=1;arguments.length>a;)o.push(arguments[a++]);if(n=t,(d(t)||void 0!==e)&&!ae(e))return f(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!ae(t))return t}),o[1]=t,W.apply(null,o)}});H.prototype[q]||D(H.prototype,q,H.prototype.valueOf),B(H,"Symbol"),T[M]=!0},function(e,t,r){e.exports=r(355)},function(e,t,r){r(356);var n=r(12);e.exports=n.Object.keys},function(e,t,r){"use strict";var n=r(48),o=r(17),a=[].slice,i={},s=function(e,t,r){if(!(t in i)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";i[t]=Function("C,a","return new C("+n.join(",")+")")}return i[t](e,r)};e.exports=Function.bind||function(e){var t=n(this),r=a.call(arguments,1),i=function(){var n=r.concat(a.call(arguments));return this instanceof i?s(t,n.length,n):t.apply(e,n)};return o(t.prototype)&&(i.prototype=t.prototype),i}},function(e,t,r){var n=r(215);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},function(e,t,r){var n=r(63),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,r){(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.exports=r}).call(this,r(26))},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,r){var n=r(369),o=Math.max;e.exports=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var a=arguments,i=-1,s=o(a.length-t,0),c=Array(s);++i<s;)c[i]=a[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=a[i];return l[t]=r(c),n(e,this,l)}}},function(e,t,r){var n=r(370),o=r(372)(n);e.exports=o},function(e,t,r){var n=r(374),o=r(118),a=r(32),i=r(119),s=r(117),c=r(153),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=a(e),u=!r&&o(e),p=!r&&!u&&i(e),f=!r&&!u&&!p&&c(e),d=r||u||p||f,h=d?n(e.length,String):[],v=h.length;for(var m in e)!t&&!l.call(e,m)||d&&("length"==m||p&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,v))||h.push(m);return h}},function(e,t,r){var n=r(96),o=r(378),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))a.call(e,r)&&"constructor"!=r&&t.push(r);return t}},function(e,t){e.exports=function(e,t){return function(r){return e(t(r))}}},function(e,t,r){var n=r(72),o=r(380),a=r(32),i=r(120),s=n?n.prototype:void 0,c=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(a(t))return o(t,e)+"";if(i(t))return c?c.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},function(e,t,r){var n=r(381);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},function(e,t,r){var n=r(223);e.exports=function(e){return null==e?"":n(e)}},function(e,t,r){e.exports=r(385)},function(e,t,r){r(389);var n=r(12);e.exports=n.Array.isArray},function(e,t,r){"use strict";var n=r(7),o=r(13),a=r(92),i=r(17),s=r(44),c=r(54),l=r(88),u=r(148),p=r(94),f=r(14),d=r(149),h=f("isConcatSpreadable"),v=d>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),m=p("concat"),g=function(e){if(!i(e))return!1;var t=e[h];return void 0!==t?!!t:a(e)};n({target:"Array",proto:!0,forced:!v||!m},{concat:function(e){var t,r,n,o,a,i=s(this),p=u(i,0),f=0;for(t=-1,n=arguments.length;t<n;t++)if(g(a=-1===t?i:arguments[t])){if(f+(o=c(a.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,f++)r in a&&l(p,f,a[r])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");l(p,f++,a)}return p.length=f,p}})},function(e,t,r){r(18)("iterator")},function(e,t,r){e.exports=r(414)},function(e,t,r){r(75),r(415);var n=r(12);e.exports=n.Array.from},function(e,t,r){var n=r(31);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){var a=e.return;throw void 0!==a&&n(a.call(e)),t}}},function(e,t,r){var n=r(14),o=r(61),a=n("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||i[a]===e)}},function(e,t,r){var n=r(14)("iterator"),o=!1;try{var a=0,i={next:function(){return{done:!!a++}},return:function(){o=!0}};i[n]=function(){return this},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var a={};a[n]=function(){return{next:function(){return{done:r=!0}}}},e(a)}catch(e){}return r}},function(e,t,r){var n=r(419),o=Array.prototype;e.exports=function(e){var t=e.slice;return e===o||e instanceof Array&&t===o.slice?n:t}},function(e,t){e.exports=function(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(e,t,r){e.exports=r(450)},function(e,t,r){var n=r(472),o=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===o||e instanceof Array&&t===o.indexOf?n:t}},function(e,t,r){r(157),r(75),r(55),r(476),r(245),r(480);var n=r(12);e.exports=n.Promise},function(e,t,r){var n=r(16);e.exports=n.Promise},function(e,t,r){var n=r(31),o=r(48),a=r(14)("species");e.exports=function(e,t){var r,i=n(e).constructor;return void 0===i||null==(r=n(i)[a])?t:o(r)}},function(e,t,r){var n,o,a,i=r(16),s=r(13),c=r(60),l=r(85),u=r(205),p=r(137),f=r(243),d=i.location,h=i.setImmediate,v=i.clearImmediate,m=i.process,g=i.MessageChannel,y=i.Dispatch,b=0,x={},w=function(e){if(x.hasOwnProperty(e)){var t=x[e];delete x[e],t()}},k=function(e){return function(){w(e)}},S=function(e){w(e.data)},A=function(e){i.postMessage(e+"",d.protocol+"//"+d.host)};h&&v||(h=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return x[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},v=function(e){delete x[e]},"process"==c(m)?n=function(e){m.nextTick(k(e))}:y&&y.now?n=function(e){y.now(k(e))}:g&&!f?(a=(o=new g).port2,o.port1.onmessage=S,n=l(a.postMessage,a,1)):!i.addEventListener||"function"!=typeof postMessage||i.importScripts||s(A)||"file:"===d.protocol?n="onreadystatechange"in p("script")?function(e){u.appendChild(p("script")).onreadystatechange=function(){u.removeChild(this),w(e)}}:function(e){setTimeout(k(e),0)}:(n=A,i.addEventListener("message",S,!1))),e.exports={set:h,clear:v}},function(e,t,r){var n=r(208);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},function(e,t,r){var n=r(31),o=r(17),a=r(97);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},function(e,t,r){"use strict";var n=r(7),o=r(48),a=r(97),i=r(123),s=r(76);n({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=a.f(t),n=r.resolve,c=r.reject,l=i((function(){var r=o(t.resolve),a=[],i=0,c=1;s(e,(function(e){var o=i++,s=!1;a.push(void 0),c++,r.call(t,e).then((function(e){s||(s=!0,a[o]={status:"fulfilled",value:e},--c||n(a))}),(function(e){s||(s=!0,a[o]={status:"rejected",reason:e},--c||n(a))}))})),--c||n(a)}));return l.error&&c(l.value),r.promise}})},function(e,t,r){"use strict";var n=r(78);e.exports=new n({include:[r(247)]})},function(e,t,r){"use strict";var n=r(78);e.exports=new n({include:[r(161)],implicit:[r(492),r(493),r(494),r(495)]})},function(e,t,r){var n=r(530),o=r(531);e.exports=function(e,t){return null!=e&&o(e,t,n)}},function(e,t,r){e.exports=r(549)},function(e,t,r){r(554);var n=r(12).Object;e.exports=function(e,t){return n.create(e,t)}},function(e,t,r){e.exports=r(556)},function(e,t,r){var n=r(577),o=r(600),a=r(151),i=r(32),s=r(601);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):n(e):s(e)}},function(e,t,r){var n=r(584),o=r(50);e.exports=function e(t,r,a,i,s){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!=t&&r!=r:n(t,r,a,i,e,s))}},function(e,t,r){var n=r(585),o=r(588),a=r(589);e.exports=function(e,t,r,i,s,c){var l=1&r,u=e.length,p=t.length;if(u!=p&&!(l&&p>u))return!1;var f=c.get(e);if(f&&c.get(t))return f==t;var d=-1,h=!0,v=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++d<u;){var m=e[d],g=t[d];if(i)var y=l?i(g,m,d,t,e,c):i(m,g,d,e,t,c);if(void 0!==y){if(y)continue;h=!1;break}if(v){if(!o(t,(function(e,t){if(!a(v,t)&&(m===e||s(m,e,r,i,c)))return v.push(t)}))){h=!1;break}}else if(m!==g&&!s(m,g,r,i,c)){h=!1;break}}return c.delete(e),c.delete(t),h}},function(e,t,r){var n=r(45).Uint8Array;e.exports=n},function(e,t,r){var n=r(257),o=r(168),a=r(74);e.exports=function(e){return n(e,a,o)}},function(e,t,r){var n=r(166),o=r(32);e.exports=function(e,t,r){var a=t(e);return o(e)?a:n(a,r(e))}},function(e,t){e.exports=function(){return[]}},function(e,t,r){var n=r(36);e.exports=function(e){return e==e&&!n(e)}},function(e,t){e.exports=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}},function(e,t,r){var n=r(220),o=r(610),a=r(73);e.exports=function(e){return a(e)?n(e,!0):o(e)}},function(e,t,r){var n=r(166),o=r(169),a=r(168),i=r(258),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,a(e)),e=o(e);return t}:i;e.exports=s},function(e,t,r){e.exports=r(635)},function(e,t,r){"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},a=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),i=[];function s(e){for(var t=-1,r=0;r<i.length;r++)if(i[r].identifier===e){t=r;break}return t}function c(e,t){for(var r={},n=[],o=0;o<e.length;o++){var a=e[o],c=t.base?a[0]+t.base:a[0],l=r[c]||0,u="".concat(c," ").concat(l);r[c]=l+1;var p=s(u),f={css:a[1],media:a[2],sourceMap:a[3]};-1!==p?(i[p].references++,i[p].updater(f)):i.push({identifier:u,updater:m(f,t),references:1}),n.push(u)}return n}function l(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=r.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var i=a(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var u,p=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function f(e,t,r,n){var o=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=p(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function d(e,t,r){var n=r.css,o=r.media,a=r.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var h=null,v=0;function m(e,t){var r,n,o;if(t.singleton){var a=v++;r=h||(h=l(t)),n=f.bind(null,r,a,!1),o=f.bind(null,r,a,!0)}else r=l(t),n=d.bind(null,r,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var r=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<r.length;n++){var o=s(r[n]);i[o].references--}for(var a=c(e,t),l=0;l<r.length;l++){var u=s(r[l]);0===i[u].references&&(i[u].updater(),i.splice(u,1))}r=a}}}},function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,a=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw a}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(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}e.exports=function(e){var t=n(e,4),r=t[1],o=t[3];if("function"==typeof btoa){var a=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),s="/*# ".concat(i," */"),c=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[r].concat(c).concat([s]).join("\n")}return[r].join("\n")}},function(e,t,r){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);n&&o[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),t.push(c))}},t}},function(e,t,r){"use strict";const n=r(177),o=r(28),a=(r(178),r(301)),i=r(57),s=r(179),c=r(104),l=c.jptr,u=r(134).isRef,p=r(105).clone,f=r(105).circularClone,d=r(135).recurse,h=r(304),v=r(307),m=r(181),g=r(308).statusCodes,y=r(321).version;let b;class x extends Error{constructor(e){super(e),this.name="S2OError"}}function w(e,t){let r=new x(e);if(r.options=t,!t.promise)throw r;t.promise.reject(r)}function k(e,t,r){r.warnOnly?t[r.warnProperty||"x-s2o-warning"]=e:w(e,r)}function S(e,t){v.walkSchema(e,{},{},(function(e,r,n){!function(e,t){if(e["x-required"]&&Array.isArray(e["x-required"])&&(e.required||(e.required=[]),e.required=e.required.concat(e["x-required"]),delete e["x-required"]),e["x-anyOf"]&&(e.anyOf=e["x-anyOf"],delete e["x-anyOf"]),e["x-oneOf"]&&(e.oneOf=e["x-oneOf"],delete e["x-oneOf"]),e["x-not"]&&(e.not=e["x-not"],delete e["x-not"]),"boolean"==typeof e["x-nullable"]&&(e.nullable=e["x-nullable"],delete e["x-nullable"]),"object"==typeof e["x-discriminator"]&&"string"==typeof e["x-discriminator"].propertyName){e.discriminator=e["x-discriminator"],delete e["x-discriminator"];for(let t in e.discriminator.mapping){let r=e.discriminator.mapping[t];r.startsWith("#/definitions/")&&(e.discriminator.mapping[t]=r.replace("#/definitions/","#/components/schemas/"))}}}(e),function(e,t,r){if(e.nullable&&r.patches++,e.discriminator&&"string"==typeof e.discriminator&&(e.discriminator={propertyName:e.discriminator}),e.items&&Array.isArray(e.items)&&(0===e.items.length?e.items={}:1===e.items.length?e.items=e.items[0]:e.items={anyOf:e.items}),e.type&&Array.isArray(e.type))if(r.patch){if(r.patches++,0===e.type.length)delete e.type;else{e.oneOf||(e.oneOf=[]);for(let t of e.type){let r={};if("null"===t)e.nullable=!0;else{r.type=t;for(let t of m.arrayProperties)void 0!==e.prop&&(r[t]=e[t],delete e[t])}r.type&&e.oneOf.push(r)}delete e.type,0===e.oneOf.length?delete e.oneOf:e.oneOf.length<2&&(e.type=e.oneOf[0].type,Object.keys(e.oneOf[0]).length>1&&k("Lost properties from oneOf",e,r),delete e.oneOf)}e.type&&Array.isArray(e.type)&&1===e.type.length&&(e.type=e.type[0])}else w("(Patchable) schema type must not be an array",r);e.type&&"null"===e.type&&(delete e.type,e.nullable=!0),"array"!==e.type||e.items||(e.items={}),"file"===e.type&&(e.type="string",e.format="binary"),"boolean"==typeof e.required&&(e.required&&e.name&&(void 0===t.required&&(t.required=[]),Array.isArray(t.required)&&t.required.push(e.name)),delete e.required),e.xml&&"string"==typeof e.xml.namespace&&(e.xml.namespace||delete e.xml.namespace),void 0!==e.allowEmptyValue&&(r.patches++,delete e.allowEmptyValue)}(e,r,t)}))}function A(e,t,r){let n=r.payload.options;if(u(e,t)){if(e[t].startsWith("#/components/"));else if("#/consumes"===e[t])delete e[t],r.parent[r.pkey]=p(n.openapi.consumes);else if("#/produces"===e[t])delete e[t],r.parent[r.pkey]=p(n.openapi.produces);else if(e[t].startsWith("#/definitions/")){let r=e[t].replace("#/definitions/","").split("/");const o=c.jpunescape(r[0]);let a=b.schemas[decodeURIComponent(o)];a?r[0]=a:k("Could not resolve reference "+e[t],e,n),e[t]="#/components/schemas/"+r.join("/")}else if(e[t].startsWith("#/parameters/"))e[t]="#/components/parameters/"+m.sanitise(e[t].replace("#/parameters/",""));else if(e[t].startsWith("#/responses/"))e[t]="#/components/responses/"+m.sanitise(e[t].replace("#/responses/",""));else if(e[t].startsWith("#")){let r=p(c.jptr(n.openapi,e[t]));if(!1===r)k("direct $ref not found "+e[t],e,n);else if(n.refmap[e[t]])e[t]=n.refmap[e[t]];else{let a=e[t];a=a.replace("/properties/headers/",""),a=a.replace("/properties/responses/",""),a=a.replace("/properties/parameters/",""),a=a.replace("/properties/schemas/","");let i="schemas",s=a.lastIndexOf("/schema");if(i=a.indexOf("/headers/")>s?"headers":a.indexOf("/responses/")>s?"responses":a.indexOf("/example")>s?"examples":a.indexOf("/x-")>s?"extensions":a.indexOf("/parameters/")>s?"parameters":"schemas","schemas"===i&&S(r,n),"responses"!==i&&"extensions"!==i){let a=i.substr(0,i.length-1);"parameter"===a&&r.name&&r.name===m.sanitise(r.name)&&(a=encodeURIComponent(r.name));let s=1;for(e["x-miro"]&&(o=(o=e["x-miro"]).indexOf("#")>=0?o.split("#")[1].split("/").pop():o.split("/").pop().split(".")[0],a=encodeURIComponent(m.sanitise(o)),s="");c.jptr(n.openapi,"#/components/"+i+"/"+a+s);)s=""===s?2:++s;let l="#/components/"+i+"/"+a+s,u="";"examples"===i&&(r={value:r},u="/value"),c.jptr(n.openapi,l,r),n.refmap[e[t]]=l+u,e[t]=l+u}}}if(delete e["x-miro"],Object.keys(e).length>1){const o=e[t],a=r.path.indexOf("/schema")>=0;"preserve"===n.refSiblings||(a&&"allOf"===n.refSiblings?(delete e.$ref,r.parent[r.pkey]={allOf:[{$ref:o},e]}):r.parent[r.pkey]={$ref:o})}}var o;if("x-ms-odata"===t&&"string"==typeof e[t]&&e[t].startsWith("#/")){let r=e[t].replace("#/definitions/","").replace("#/components/schemas/","").split("/"),o=b.schemas[decodeURIComponent(r[0])];o?r[0]=o:k("Could not resolve reference "+e[t],e,n),e[t]="#/components/schemas/"+r.join("/")}}function O(e){for(let t in e)for(let r in e[t]){let n=m.sanitise(r);r!==n&&(e[t][n]=e[t][r],delete e[t][r])}}function E(e,t){if("basic"===e.type&&(e.type="http",e.scheme="basic"),"oauth2"===e.type){let r={},n=e.flow;"application"===e.flow&&(n="clientCredentials"),"accessCode"===e.flow&&(n="authorizationCode"),void 0!==e.authorizationUrl&&(r.authorizationUrl=e.authorizationUrl.split("?")[0].trim()||"/"),"string"==typeof e.tokenUrl&&(r.tokenUrl=e.tokenUrl.split("?")[0].trim()||"/"),r.scopes=e.scopes||{},e.flows={},e.flows[n]=r,delete e.flow,delete e.authorizationUrl,delete e.tokenUrl,delete e.scopes,void 0!==e.name&&(t.patch?(t.patches++,delete e.name):w("(Patchable) oauth2 securitySchemes should not have name property",t))}}function D(e){return e&&!e["x-s2o-delete"]}function C(e,t){if(e.$ref)e.$ref=e.$ref.replace("#/responses/","#/components/responses/");else{e.type&&!e.schema&&(e.schema={}),e.type&&(e.schema.type=e.type),e.items&&"array"!==e.items.type&&(e.items.collectionFormat!==e.collectionFormat&&k("Nested collectionFormats are not supported",e,t),delete e.items.collectionFormat),"array"===e.type?("ssv"===e.collectionFormat?k("collectionFormat:ssv is no longer supported for headers",e,t):"pipes"===e.collectionFormat?k("collectionFormat:pipes is no longer supported for headers",e,t):"multi"===e.collectionFormat?e.explode=!0:"tsv"===e.collectionFormat?(k("collectionFormat:tsv is no longer supported",e,t),e["x-collectionFormat"]="tsv"):e.style="simple",delete e.collectionFormat):e.collectionFormat&&(t.patch?(t.patches++,delete e.collectionFormat):w("(Patchable) collectionFormat is only applicable to header.type array",t)),delete e.type;for(let t of m.parameterTypeProperties)void 0!==e[t]&&(e.schema[t]=e[t],delete e[t]);for(let t of m.arrayProperties)void 0!==e[t]&&(e.schema[t]=e[t],delete e[t])}}function j(e,t){if(e.$ref.indexOf("#/parameters/")>=0){let t=e.$ref.split("#/parameters/");e.$ref=t[0]+"#/components/parameters/"+m.sanitise(t[1])}e.$ref.indexOf("#/definitions/")>=0&&k("Definition used as parameter",e,t)}function _(e,t,r,n,o,a,i){let s,c={},u=!0;if(t&&t.consumes&&"string"==typeof t.consumes){if(!i.patch)return w("(Patchable) operation.consumes must be an array",i);i.patches++,t.consumes=[t.consumes]}Array.isArray(a.consumes)||delete a.consumes;let f=((t?t.consumes:null)||a.consumes||[]).filter(m.uniqueOnly);if(e&&e.$ref&&"string"==typeof e.$ref){j(e,i);let t=decodeURIComponent(e.$ref.replace("#/components/parameters/","")),r=!1,n=a.components.parameters[t];if(n&&!n["x-s2o-delete"]||!e.$ref.startsWith("#/")||(e["x-s2o-delete"]=!0,r=!0),r){let t=e.$ref,r=l(a,e.$ref);!r&&t.startsWith("#/")?k("Could not resolve reference "+t,e,i):r&&(e=r)}}if(e&&(e.name||e.in)){"boolean"==typeof e["x-deprecated"]&&(e.deprecated=e["x-deprecated"],delete e["x-deprecated"]),void 0!==e["x-example"]&&(e.example=e["x-example"],delete e["x-example"]),"body"===e.in||e.type||(i.patch?(i.patches++,e.type="string"):w("(Patchable) parameter.type is mandatory for non-body parameters",i)),e.type&&"object"==typeof e.type&&e.type.$ref&&(e.type=l(a,e.type.$ref)),"file"===e.type&&(e["x-s2o-originalType"]=e.type,s=e.type),e.description&&"object"==typeof e.description&&e.description.$ref&&(e.description=l(a,e.description.$ref)),null===e.description&&delete e.description;let t=e.collectionFormat;if("array"!==e.type||t||(t="csv"),t&&("array"!==e.type&&(i.patch?(i.patches++,delete e.collectionFormat):w("(Patchable) collectionFormat is only applicable to param.type array",i)),"csv"!==t||"query"!==e.in&&"cookie"!==e.in||(e.style="form",e.explode=!1),"csv"!==t||"path"!==e.in&&"header"!==e.in||(e.style="simple"),"ssv"===t&&("query"===e.in?e.style="spaceDelimited":k("collectionFormat:ssv is no longer supported except for in:query parameters",e,i)),"pipes"===t&&("query"===e.in?e.style="pipeDelimited":k("collectionFormat:pipes is no longer supported except for in:query parameters",e,i)),"multi"===t&&(e.explode=!0),"tsv"===t&&(k("collectionFormat:tsv is no longer supported",e,i),e["x-collectionFormat"]="tsv"),delete e.collectionFormat),e.type&&"body"!==e.type&&"formData"!==e.in)if(e.items&&e.schema)k("parameter has array,items and schema",e,i);else{e.schema&&i.patches++,e.schema&&"object"==typeof e.schema||(e.schema={}),e.schema.type=e.type,e.items&&(e.schema.items=e.items,delete e.items,d(e.schema.items,null,(function(r,n,o){"collectionFormat"===n&&"string"==typeof r[n]&&(t&&r[n]!==t&&k("Nested collectionFormats are not supported",e,i),delete r[n])})));for(let t of m.parameterTypeProperties)void 0!==e[t]&&(e.schema[t]=e[t]),delete e[t]}e.schema&&S(e.schema,i),e["x-ms-skip-url-encoding"]&&"query"===e.in&&(e.allowReserved=!0,delete e["x-ms-skip-url-encoding"])}if(e&&"formData"===e.in){u=!1,c.content={};let t="application/x-www-form-urlencoded";if(f.length&&f.indexOf("multipart/form-data")>=0&&(t="multipart/form-data"),c.content[t]={},e.schema)c.content[t].schema=e.schema,e.schema.$ref&&(c["x-s2o-name"]=decodeURIComponent(e.schema.$ref.replace("#/components/schemas/","")));else{c.content[t].schema={},c.content[t].schema.type="object",c.content[t].schema.properties={},c.content[t].schema.properties[e.name]={};let r=c.content[t].schema,n=c.content[t].schema.properties[e.name];e.description&&(n.description=e.description),e.example&&(n.example=e.example),e.type&&(n.type=e.type);for(let t of m.parameterTypeProperties)void 0!==e[t]&&(n[t]=e[t]);!0===e.required&&(r.required||(r.required=[]),r.required.push(e.name),c.required=!0),void 0!==e.default&&(n.default=e.default),n.properties&&(n.properties=e.properties),e.allOf&&(n.allOf=e.allOf),"array"===e.type&&e.items&&(n.items=e.items,n.items.collectionFormat&&delete n.items.collectionFormat),"file"!==s&&"file"!==e["x-s2o-originalType"]||(n.type="string",n.format="binary"),T(e,n)}}else e&&"file"===e.type&&(e.required&&(c.required=e.required),c.content={},c.content["application/octet-stream"]={},c.content["application/octet-stream"].schema={},c.content["application/octet-stream"].schema.type="string",c.content["application/octet-stream"].schema.format="binary",T(e,c));if(e&&"body"===e.in){c.content={},e.name&&(c["x-s2o-name"]=(t&&t.operationId?m.sanitiseAll(t.operationId):"")+("_"+e.name).toCamelCase()),e.description&&(c.description=e.description),e.required&&(c.required=e.required),t&&i.rbname&&e.name&&(t[i.rbname]=e.name),e.schema&&e.schema.$ref?c["x-s2o-name"]=decodeURIComponent(e.schema.$ref.replace("#/components/schemas/","")):e.schema&&"array"===e.schema.type&&e.schema.items&&e.schema.items.$ref&&(c["x-s2o-name"]=decodeURIComponent(e.schema.items.$ref.replace("#/components/schemas/",""))+"Array"),f.length||f.push("application/json");for(let t of f)c.content[t]={},c.content[t].schema=p(e.schema||{}),S(c.content[t].schema,i);T(e,c)}if(Object.keys(c).length>0&&(e["x-s2o-delete"]=!0,t))if(t.requestBody&&u){t.requestBody["x-s2o-overloaded"]=!0,k("Operation "+(t.operationId||o)+" has multiple requestBodies",t,i)}else t.requestBody||(t=r[n]=function(e,t){let r={};for(let n of Object.keys(e))r[n]=e[n],"parameters"===n&&(r.requestBody={},t.rbname&&(r[t.rbname]=""));return r.requestBody={},r}(t,i)),t.requestBody.content&&t.requestBody.content["multipart/form-data"]&&t.requestBody.content["multipart/form-data"].schema&&t.requestBody.content["multipart/form-data"].schema.properties&&c.content["multipart/form-data"]&&c.content["multipart/form-data"].schema&&c.content["multipart/form-data"].schema.properties?(t.requestBody.content["multipart/form-data"].schema.properties=Object.assign(t.requestBody.content["multipart/form-data"].schema.properties,c.content["multipart/form-data"].schema.properties),t.requestBody.content["multipart/form-data"].schema.required=(t.requestBody.content["multipart/form-data"].schema.required||[]).concat(c.content["multipart/form-data"].schema.required||[]),t.requestBody.content["multipart/form-data"].schema.required.length||delete t.requestBody.content["multipart/form-data"].schema.required):t.requestBody.content&&t.requestBody.content["application/x-www-form-urlencoded"]&&t.requestBody.content["application/x-www-form-urlencoded"].schema&&t.requestBody.content["application/x-www-form-urlencoded"].schema.properties&&c.content["application/x-www-form-urlencoded"]&&c.content["application/x-www-form-urlencoded"].schema&&c.content["application/x-www-form-urlencoded"].schema.properties?(t.requestBody.content["application/x-www-form-urlencoded"].schema.properties=Object.assign(t.requestBody.content["application/x-www-form-urlencoded"].schema.properties,c.content["application/x-www-form-urlencoded"].schema.properties),t.requestBody.content["application/x-www-form-urlencoded"].schema.required=(t.requestBody.content["application/x-www-form-urlencoded"].schema.required||[]).concat(c.content["application/x-www-form-urlencoded"].schema.required||[]),t.requestBody.content["application/x-www-form-urlencoded"].schema.required.length||delete t.requestBody.content["application/x-www-form-urlencoded"].schema.required):(t.requestBody=Object.assign(t.requestBody,c),t.requestBody["x-s2o-name"]||(t.requestBody.schema&&t.requestBody.schema.$ref?t.requestBody["x-s2o-name"]=decodeURIComponent(t.requestBody.schema.$ref.replace("#/components/schemas/","")).split("/").join(""):t.operationId&&(t.requestBody["x-s2o-name"]=m.sanitiseAll(t.operationId))));if(e&&!e["x-s2o-delete"]){delete e.type;for(let t of m.parameterTypeProperties)delete e[t];"path"!==e.in||void 0!==e.required&&!0===e.required||(i.patch?(i.patches++,e.required=!0):w("(Patchable) path parameters must be required:true ["+e.name+" in "+o+"]",i))}return t}function T(e,t){for(let r in e)r.startsWith("x-")&&!r.startsWith("x-s2o")&&(t[r]=e[r])}function I(e,t,r,n,o){if(!e)return!1;if(e.$ref&&"string"==typeof e.$ref)e.$ref.indexOf("#/definitions/")>=0?k("definition used as response: "+e.$ref,e,o):e.$ref.startsWith("#/responses/")&&(e.$ref="#/components/responses/"+m.sanitise(decodeURIComponent(e.$ref.replace("#/responses/",""))));else{if((void 0===e.description||null===e.description||""===e.description&&o.patch)&&(o.patch?"object"!=typeof e||Array.isArray(e)||(o.patches++,e.description=g[e]||""):w("(Patchable) response.description is mandatory",o)),void 0!==e.schema){if(S(e.schema,o),e.schema.$ref&&"string"==typeof e.schema.$ref&&e.schema.$ref.startsWith("#/responses/")&&(e.schema.$ref="#/components/responses/"+m.sanitise(decodeURIComponent(e.schema.$ref.replace("#/responses/","")))),r&&r.produces&&"string"==typeof r.produces){if(!o.patch)return w("(Patchable) operation.produces must be an array",o);o.patches++,r.produces=[r.produces]}n.produces&&!Array.isArray(n.produces)&&delete n.produces;let t=((r?r.produces:null)||n.produces||[]).filter(m.uniqueOnly);t.length||t.push("*/*"),e.content={};for(let r of t){if(e.content[r]={},e.content[r].schema=p(e.schema),e.examples&&e.examples[r]){let t={};t.value=e.examples[r],e.content[r].examples={},e.content[r].examples.response=t,delete e.examples[r]}"file"===e.content[r].schema.type&&(e.content[r].schema={type:"string",format:"binary"})}delete e.schema}for(let t in e.examples)e.content||(e.content={}),e.content[t]||(e.content[t]={}),e.content[t].examples={},e.content[t].examples.response={},e.content[t].examples.response.value=e.examples[t];if(delete e.examples,e.headers)for(let t in e.headers)"status code"===t.toLowerCase()?o.patch?(o.patches++,delete e.headers[t]):w('(Patchable) "Status Code" is not a valid header',o):C(e.headers[t],o)}}function F(e,t,r,n,a){for(let i in e){let s=e[i];s&&s["x-trace"]&&"object"==typeof s["x-trace"]&&(s.trace=s["x-trace"],delete s["x-trace"]),s&&s["x-summary"]&&"string"==typeof s["x-summary"]&&(s.summary=s["x-summary"],delete s["x-summary"]),s&&s["x-description"]&&"string"==typeof s["x-description"]&&(s.description=s["x-description"],delete s["x-description"]),s&&s["x-servers"]&&Array.isArray(s["x-servers"])&&(s.servers=s["x-servers"],delete s["x-servers"]);for(let e in s)if(m.httpMethods.indexOf(e)>=0||"x-amazon-apigateway-any-method"===e){let u=s[e];if(u&&u.parameters&&Array.isArray(u.parameters)){if(s.parameters)for(let t of s.parameters){"string"==typeof t.$ref&&(j(t,r),t=l(a,t.$ref)),u.parameters.find((function(e,r,n){return e.name===t.name&&e.in===t.in}))||"formData"!==t.in&&"body"!==t.in&&"file"!==t.type||(u=_(t,u,s,e,i,a,r),r.rbname&&""===u[r.rbname]&&delete u[r.rbname])}for(let t of u.parameters)u=_(t,u,s,e,e+":"+i,a,r);r.rbname&&""===u[r.rbname]&&delete u[r.rbname],r.debug||u.parameters&&(u.parameters=u.parameters.filter(D))}if(u&&u.security&&O(u.security),"object"==typeof u){if(!u.responses){let e={description:"Default response"};u.responses={default:e}}for(let e in u.responses){I(u.responses[e],0,u,a,r)}}if(u&&u["x-servers"]&&Array.isArray(u["x-servers"]))u.servers=u["x-servers"],delete u["x-servers"];else if(u&&u.schemes&&u.schemes.length)for(let e of u.schemes)if((!a.schemes||a.schemes.indexOf(e)<0)&&(u.servers||(u.servers=[]),Array.isArray(a.servers)))for(let t of a.servers){let r=p(t),n=o.parse(r.url);n.protocol=e,r.url=n.format(),u.servers.push(r)}if(r.debug&&(u["x-s2o-consumes"]=u.consumes||[],u["x-s2o-produces"]=u.produces||[]),u){if(delete u.consumes,delete u.produces,delete u.schemes,u["x-ms-examples"]){for(let e in u["x-ms-examples"]){let t=u["x-ms-examples"][e],r=m.sanitiseAll(e);if(t.parameters)for(let r in t.parameters){let n=t.parameters[r];for(let t of(u.parameters||[]).concat(s.parameters||[]))t.$ref&&(t=c.jptr(a,t.$ref)),t.name!==r||t.example||(t.examples||(t.examples={}),t.examples[e]={value:n})}if(t.responses)for(let n in t.responses){if(t.responses[n].headers)for(let e in t.responses[n].headers){let r=t.responses[n].headers[e];for(let t in u.responses[n].headers)if(t===e){u.responses[n].headers[t].example=r}}if(t.responses[n].body&&(a.components.examples[r]={value:p(t.responses[n].body)},u.responses[n]&&u.responses[n].content))for(let t in u.responses[n].content){let o=u.responses[n].content[t];o.examples||(o.examples={}),o.examples[e]={$ref:"#/components/examples/"+r}}}}delete u["x-ms-examples"]}if(u.parameters&&0===u.parameters.length&&delete u.parameters,u.requestBody){let r=u.operationId?m.sanitiseAll(u.operationId):m.sanitiseAll(e+i).toCamelCase(),o=m.sanitise(u.requestBody["x-s2o-name"]||r||"");delete u.requestBody["x-s2o-name"];let a=JSON.stringify(u.requestBody),s=m.hash(a);if(!n[s]){let e={};e.name=o,e.body=u.requestBody,e.refs=[],n[s]=e}let l="#/"+t+"/"+encodeURIComponent(c.jpescape(i))+"/"+e+"/requestBody";n[s].refs.push(l)}}}if(s&&s.parameters){for(let e in s.parameters){_(s.parameters[e],null,s,null,i,a,r)}!r.debug&&Array.isArray(s.parameters)&&(s.parameters=s.parameters.filter(D))}}}function P(e,t){let r={};b={schemas:{}},e.security&&O(e.security);for(let r in e.components.securitySchemes){let n=m.sanitise(r);r!==n&&(e.components.securitySchemes[n]&&w("Duplicate sanitised securityScheme name "+n,t),e.components.securitySchemes[n]=e.components.securitySchemes[r],delete e.components.securitySchemes[r]),E(e.components.securitySchemes[n],t)}for(let r in e.components.schemas){let n=m.sanitiseAll(r),o="";if(r!==n){for(;e.components.schemas[n+o];)o=o?++o:2;e.components.schemas[n+o]=e.components.schemas[r],delete e.components.schemas[r]}b.schemas[r]=n+o,S(e.components.schemas[n+o],t)}t.refmap={},d(e,{payload:{options:t}},A),function(e,t){for(let r in t.refmap)c.jptr(e,r,{$ref:t.refmap[r]})}(e,t);for(let r in e.components.parameters){let n=m.sanitise(r);r!==n&&(e.components.parameters[n]&&w("Duplicate sanitised parameter name "+n,t),e.components.parameters[n]=e.components.parameters[r],delete e.components.parameters[r]),_(e.components.parameters[n],null,null,null,n,e,t)}for(let r in e.components.responses){let n=m.sanitise(r);r!==n&&(e.components.responses[n]&&w("Duplicate sanitised response name "+n,t),e.components.responses[n]=e.components.responses[r],delete e.components.responses[r]);let o=e.components.responses[n];if(I(o,0,null,e,t),o.headers)for(let e in o.headers)"status code"===e.toLowerCase()?t.patch?(t.patches++,delete o.headers[e]):w('(Patchable) "Status Code" is not a valid header',t):C(o.headers[e],t)}for(let t in e.components.requestBodies){let n=e.components.requestBodies[t],o=JSON.stringify(n),a=m.hash(o),i={};i.name=t,i.body=n,i.refs=[],r[a]=i}if(F(e.paths,"paths",t,r,e),e["x-ms-paths"]&&F(e["x-ms-paths"],"x-ms-paths",t,r,e),!t.debug)for(let t in e.components.parameters){e.components.parameters[t]["x-s2o-delete"]&&delete e.components.parameters[t]}t.debug&&(e["x-s2o-consumes"]=e.consumes||[],e["x-s2o-produces"]=e.produces||[]),delete e.consumes,delete e.produces,delete e.schemes;let n=[];if(e.components.requestBodies={},!t.resolveInternal){let t=1;for(let o in r){let a=r[o];if(a.refs.length>1){let r="";for(a.name||(a.name="requestBody",r=t++);n.indexOf(a.name+r)>=0;)r=r?++r:2;a.name=a.name+r,n.push(a.name),e.components.requestBodies[a.name]=p(a.body);for(let t in a.refs){let r={};r.$ref="#/components/requestBodies/"+a.name,c.jptr(e,a.refs[t],r)}}}}return e.components.responses&&0===Object.keys(e.components.responses).length&&delete e.components.responses,e.components.parameters&&0===Object.keys(e.components.parameters).length&&delete e.components.parameters,e.components.examples&&0===Object.keys(e.components.examples).length&&delete e.components.examples,e.components.requestBodies&&0===Object.keys(e.components.requestBodies).length&&delete e.components.requestBodies,e.components.securitySchemes&&0===Object.keys(e.components.securitySchemes).length&&delete e.components.securitySchemes,e.components.headers&&0===Object.keys(e.components.headers).length&&delete e.components.headers,e.components.schemas&&0===Object.keys(e.components.schemas).length&&delete e.components.schemas,e.components&&0===Object.keys(e.components).length&&delete e.components,e}function R(e){return e&&e.url&&"string"==typeof e.url?(e.url=e.url.split("{{").join("{"),e.url=e.url.split("}}").join("}"),e.url.replace(/\{(.+?)\}/g,(function(t,r){e.variables||(e.variables={}),e.variables[r]={default:"unknown"}})),e):e}function B(e,t,r){if(void 0===e.info||null===e.info){if(!t.patch)return r(new x("(Patchable) info object is mandatory"));t.patches++,e.info={version:"",title:""}}if("object"!=typeof e.info||Array.isArray(e.info))return r(new x("info must be an object"));if(void 0===e.info.title||null===e.info.title){if(!t.patch)return r(new x("(Patchable) info.title cannot be null"));t.patches++,e.info.title=""}if(void 0===e.info.version||null===e.info.version){if(!t.patch)return r(new x("(Patchable) info.version cannot be null"));t.patches++,e.info.version=""}if("string"!=typeof e.info.version){if(!t.patch)return r(new x("(Patchable) info.version must be a string"));t.patches++,e.info.version=e.info.version.toString()}if(void 0!==e.info.logo){if(!t.patch)return r(new x("(Patchable) info should not have logo property"));t.patches++,e.info["x-logo"]=e.info.logo,delete e.info.logo}if(void 0!==e.info.termsOfService){if(null===e.info.termsOfService){if(!t.patch)return r(new x("(Patchable) info.termsOfService cannot be null"));t.patches++,e.info.termsOfService=""}try{new URL(e.info.termsOfService)}catch(n){if(!t.patch)return r(new x("(Patchable) info.termsOfService must be a URL"));t.patches++,delete e.info.termsOfService}}}function L(e,t,r){if(void 0===e.paths){if(!t.patch)return r(new x("(Patchable) paths object is mandatory"));t.patches++,e.paths={}}}function N(e,t,r){return a(r,new Promise((function(r,n){if(e||(e={}),t.original=e,t.text||(t.text=s.stringify(e)),t.externals=[],t.externalRefs={},t.rewriteRefs=!0,t.preserveMiro=!0,t.promise={},t.promise.resolve=r,t.promise.reject=n,t.patches=0,t.cache||(t.cache={}),t.source&&(t.cache[t.source]=t.original),function(e,t){const r=new WeakSet;d(e,{identityDetection:!0},(function(e,n,o){"object"==typeof e[n]&&null!==e[n]&&(r.has(e[n])?t.anchors?e[n]=p(e[n]):w("YAML anchor or merge key at "+o.path,t):r.add(e[n]))}))}(e,t),e.openapi&&"string"==typeof e.openapi&&e.openapi.startsWith("3."))return t.openapi=f(e),B(t.openapi,t,n),L(t.openapi,t,n),void h.optionalResolve(t).then((function(){return t.direct?r(t.openapi):r(t)})).catch((function(e){console.warn(e),n(e)}));if(!e.swagger||"2.0"!=e.swagger)return n(new x("Unsupported swagger/OpenAPI version: "+(e.openapi?e.openapi:e.swagger)));let o=t.openapi={};if(o.openapi="string"==typeof t.targetVersion&&t.targetVersion.startsWith("3.")?t.targetVersion:"3.0.0",t.origin){o["x-origin"]||(o["x-origin"]=[]);let r={};r.url=t.source||t.origin,r.format="swagger",r.version=e.swagger,r.converter={},r.converter.url="https://github.com/mermade/oas-kit",r.converter.version=y,o["x-origin"].push(r)}if(o=Object.assign(o,f(e)),delete o.swagger,d(o,{},(function(e,t,r){null===e[t]&&!t.startsWith("x-")&&"default"!==t&&r.path.indexOf("/example")<0&&delete e[t]})),e.host)for(let t of Array.isArray(e.schemes)?e.schemes:[""]){let r={},n=(e.basePath||"").replace(/\/$/,"");r.url=(t?t+":":"")+"//"+e.host+n,R(r),o.servers||(o.servers=[]),o.servers.push(r)}else if(e.basePath){let t={};t.url=e.basePath,R(t),o.servers||(o.servers=[]),o.servers.push(t)}if(delete o.host,delete o.basePath,o["x-servers"]&&Array.isArray(o["x-servers"])&&(o.servers=o["x-servers"],delete o["x-servers"]),e["x-ms-parameterized-host"]){let t=e["x-ms-parameterized-host"],r={};r.url=t.hostTemplate+(e.basePath?e.basePath:""),r.variables={};const n=r.url.match(/\{\w+\}/g);for(let e in t.parameters){let a=t.parameters[e];a.$ref&&(a=p(l(o,a.$ref))),e.startsWith("x-")||(delete a.required,delete a.type,delete a.in,void 0===a.default&&(a.enum?a.default=a.enum[0]:a.default="none"),a.name||(a.name=n[e].replace("{","").replace("}","")),r.variables[a.name]=a,delete a.name)}o.servers||(o.servers=[]),!1===t.useSchemePrefix?o.servers.push(r):e.schemes.forEach(e=>{o.servers.push(Object.assign({},r,{url:e+"://"+r.url}))}),delete o["x-ms-parameterized-host"]}B(o,t,n),L(o,t,n),"string"==typeof o.consumes&&(o.consumes=[o.consumes]),"string"==typeof o.produces&&(o.produces=[o.produces]),o.components={},o["x-callbacks"]&&(o.components.callbacks=o["x-callbacks"],delete o["x-callbacks"]),o.components.examples={},o.components.headers={},o["x-links"]&&(o.components.links=o["x-links"],delete o["x-links"]),o.components.parameters=o.parameters||{},o.components.responses=o.responses||{},o.components.requestBodies={},o.components.securitySchemes=o.securityDefinitions||{},o.components.schemas=o.definitions||{},delete o.definitions,delete o.responses,delete o.parameters,delete o.securityDefinitions,h.optionalResolve(t).then((function(){P(t.openapi,t),t.direct?r(t.openapi):r(t)})).catch((function(e){console.warn(e),n(e)}))})))}function M(e,t,r){return a(r,new Promise((function(r,n){let o=null,a=null;try{o=JSON.parse(e),t.text=JSON.stringify(o,null,2)}catch(r){a=r;try{o=s.parse(e,{schema:"core",prettyErrors:!0}),t.sourceYaml=!0,t.text=e}catch(e){a=e}}o?N(o,t).then(e=>r(e)).catch(e=>n(e)):n(new x(a?a.message:"Could not parse string"))})))}e.exports={S2OError:x,targetVersion:"3.0.0",convert:N,convertObj:N,convertUrl:function(e,t,r){return a(r,new Promise((function(r,n){t.origin=!0,t.source||(t.source=e),t.verbose&&console.warn("GET "+e),t.fetch||(t.fetch=i);const o=Object.assign({},t.fetchOptions,{agent:t.agent});t.fetch(e,o).then((function(t){if(200!==t.status)throw new x(`Received status code ${t.status}: ${e}`);return t.text()})).then((function(e){M(e,t).then(e=>r(e)).catch(e=>n(e))})).catch((function(e){n(e)}))})))},convertStr:M,convertFile:function(e,t,r){return a(r,new Promise((function(r,o){n.readFile(e,t.encoding||"utf8",(function(n,a){n?o(n):(t.sourceFile=e,M(a,t).then(e=>r(e)).catch(e=>o(e)))}))})))},convertStream:function(e,t,r){return a(r,new Promise((function(r,n){let o="";e.on("data",(function(e){o+=e})).on("end",(function(){M(o,t).then(e=>r(e)).catch(e=>n(e))}))})))}}},function(e,t,r){e.exports=r(421)},function(e,t,r){e.exports=r(453)},function(e,t,r){e.exports=r(536)},function(e,t,r){var n=r(206),o=r(540),a=r(544);function i(t,r,s){return"undefined"!=typeof Reflect&&o?e.exports=i=o:e.exports=i=function(e,t,r){var o=a(e,t);if(o){var i=n(o,t);return i.get?i.get.call(r):i.value}},i(t,r,s||t)}e.exports=i},function(e,t,r){var n=r(552),o=r(555);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=n(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}},function(e,t,r){var n=r(251),o=r(130),a=r(559),i=r(560);e.exports=function(e){var t=a();return function(){var r,a=o(e);if(t){var s=o(this).constructor;r=n(a,arguments,s)}else r=a.apply(this,arguments);return i(this,r)}}},function(e,t){e.exports=window.FormData},function(e,t,r){e.exports=r(566)},function(e,t,r){var n=r(576)(r(604));e.exports=n},function(e,t,r){"use strict";(function(t){ -/*! - * @description Recursive object extending - * @author Viacheslav Lotsmanov <lotsmanov89@gmail.com> - * @license MIT - * - * The MIT License (MIT) - * - * Copyright (c) 2013-2018 Viacheslav Lotsmanov - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of - * this software and associated documentation files (the "Software"), to deal in - * the Software without restriction, including without limitation the rights to - * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of - * the Software, and to permit persons to whom the Software is furnished to do so, - * subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS - * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR - * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER - * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ -function r(e){return e instanceof t||e instanceof Date||e instanceof RegExp}function n(e){if(e instanceof t){var r=t.alloc?t.alloc(e.length):new t(e.length);return e.copy(r),r}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);throw new Error("Unexpected situation")}function o(e){var t=[];return e.forEach((function(e,a){"object"==typeof e&&null!==e?Array.isArray(e)?t[a]=o(e):r(e)?t[a]=n(e):t[a]=i({},e):t[a]=e})),t}function a(e,t){return"__proto__"===t?void 0:e[t]}var i=e.exports=function(){if(arguments.length<1||"object"!=typeof arguments[0])return!1;if(arguments.length<2)return arguments[0];var e,t,s=arguments[0],c=Array.prototype.slice.call(arguments,1);return c.forEach((function(c){"object"!=typeof c||null===c||Array.isArray(c)||Object.keys(c).forEach((function(l){return t=a(s,l),(e=a(c,l))===s?void 0:"object"!=typeof e||null===e?void(s[l]=e):Array.isArray(e)?void(s[l]=o(e)):r(e)?void(s[l]=n(e)):"object"!=typeof t||null===t||Array.isArray(t)?void(s[l]=i({},e)):void(s[l]=i(t,e))}))})),s}}).call(this,r(33).Buffer)},function(e,t,r){var n=r(606);e.exports=function(e){return n(e,5)}},function(e,t,r){e.exports=r(629)},function(e,t){var r=e.exports=function(e){return new n(e)};function n(e){this.value=e}function o(e,t,r){var n=[],o=[],s=!0;return function e(p){var f=r?a(p):p,d={},h=!0,v={node:f,node_:p,path:[].concat(n),parent:o[o.length-1],parents:o,key:n.slice(-1)[0],isRoot:0===n.length,level:n.length,circular:null,update:function(e,t){v.isRoot||(v.parent.node[v.key]=e),v.node=e,t&&(h=!1)},delete:function(e){delete v.parent.node[v.key],e&&(h=!1)},remove:function(e){c(v.parent.node)?v.parent.node.splice(v.key,1):delete v.parent.node[v.key],e&&(h=!1)},keys:null,before:function(e){d.before=e},after:function(e){d.after=e},pre:function(e){d.pre=e},post:function(e){d.post=e},stop:function(){s=!1},block:function(){h=!1}};if(!s)return v;function m(){if("object"==typeof v.node&&null!==v.node){v.keys&&v.node_===v.node||(v.keys=i(v.node)),v.isLeaf=0==v.keys.length;for(var e=0;e<o.length;e++)if(o[e].node_===p){v.circular=o[e];break}}else v.isLeaf=!0,v.keys=null;v.notLeaf=!v.isLeaf,v.notRoot=!v.isRoot}m();var g=t.call(v,v.node);return void 0!==g&&v.update&&v.update(g),d.before&&d.before.call(v,v.node),h?("object"!=typeof v.node||null===v.node||v.circular||(o.push(v),m(),l(v.keys,(function(t,o){n.push(t),d.pre&&d.pre.call(v,v.node[t],t);var a=e(v.node[t]);r&&u.call(v.node,t)&&(v.node[t]=a.node),a.isLast=o==v.keys.length-1,a.isFirst=0==o,d.post&&d.post.call(v,a),n.pop()})),o.pop()),d.after&&d.after.call(v,v.node),v):v}(e).node}function a(e){if("object"==typeof e&&null!==e){var t;if(c(e))t=[];else if("[object Date]"===s(e))t=new Date(e.getTime?e.getTime():e);else if(function(e){return"[object RegExp]"===s(e)}(e))t=new RegExp(e);else if(function(e){return"[object Error]"===s(e)}(e))t={message:e.message};else if(function(e){return"[object Boolean]"===s(e)}(e))t=new Boolean(e);else if(function(e){return"[object Number]"===s(e)}(e))t=new Number(e);else if(function(e){return"[object String]"===s(e)}(e))t=new String(e);else if(Object.create&&Object.getPrototypeOf)t=Object.create(Object.getPrototypeOf(e));else if(e.constructor===Object)t={};else{var r=e.constructor&&e.constructor.prototype||e.__proto__||{},n=function(){};n.prototype=r,t=new n}return l(i(e),(function(r){t[r]=e[r]})),t}return e}n.prototype.get=function(e){for(var t=this.value,r=0;r<e.length;r++){var n=e[r];if(!t||!u.call(t,n)){t=void 0;break}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||!u.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 o=e[n];u.call(r,o)||(r[o]={}),r=r[o]}return r[e[n]]=t,t},n.prototype.map=function(e){return o(this.value,e,!0)},n.prototype.forEach=function(e){return this.value=o(this.value,e,!1),this.value},n.prototype.reduce=function(e,t){var r=1===arguments.length,n=r?this.value:t;return this.forEach((function(t){this.isRoot&&r||(n=e.call(this,n,t))})),n},n.prototype.paths=function(){var e=[];return this.forEach((function(t){e.push(this.path)})),e},n.prototype.nodes=function(){var e=[];return this.forEach((function(t){e.push(this.node)})),e},n.prototype.clone=function(){var e=[],t=[];return function r(n){for(var o=0;o<e.length;o++)if(e[o]===n)return t[o];if("object"==typeof n&&null!==n){var s=a(n);return e.push(n),t.push(s),l(i(n),(function(e){s[e]=r(n[e])})),e.pop(),t.pop(),s}return n}(this.value)};var i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};function s(e){return Object.prototype.toString.call(e)}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},l=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)};l(i(n.prototype),(function(e){r[e]=function(t){var r=[].slice.call(arguments,1),o=new n(t);return o[e].apply(o,r)}}));var u=Object.hasOwnProperty||function(e,t){return t in e}},function(e,t,r){var n=r(64),o=r(32),a=r(50);e.exports=function(e){return"string"==typeof e||!o(e)&&a(e)&&"[object String]"==n(e)}},function(e,t,r){var n=r(221),o=r(101),a=r(118),i=r(32),s=r(73),c=r(119),l=r(96),u=r(153),p=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||u(e)||a(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(l(e))return!n(e).length;for(var r in e)if(p.call(e,r))return!1;return!0}},function(e,t,r){var n=r(263),o=r(209),a=r(636);e.exports=function(e,t){if(null==e)return{};var r,i,s=a(e,t);if(o){var c=o(e);for(i=0;i<c.length;i++)r=c[i],n(t).call(t,r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}},function(e,t,r){var n=r(64),o=r(169),a=r(50),i=Function.prototype,s=Object.prototype,c=i.toString,l=s.hasOwnProperty,u=c.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=l.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==u}},function(e,t,r){"use strict"; -/*! - * cookie - * Copyright(c) 2012-2014 Roman Shtylman - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var r={},o=t||{},i=e.split(a),c=o.decode||n,l=0;l<i.length;l++){var u=i[l],p=u.indexOf("=");if(!(p<0)){var f=u.substr(0,p).trim(),d=u.substr(++p,u.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),null==r[f]&&(r[f]=s(d,c))}}return r},t.serialize=function(e,t,r){var n=r||{},a=n.encode||o;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!i.test(e))throw new TypeError("argument name is invalid");var s=a(t);if(s&&!i.test(s))throw new TypeError("argument val is invalid");var c=e+"="+s;if(null!=n.maxAge){var l=n.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(l)}if(n.domain){if(!i.test(n.domain))throw new TypeError("option domain is invalid");c+="; Domain="+n.domain}if(n.path){if(!i.test(n.path))throw new TypeError("option path is invalid");c+="; Path="+n.path}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");c+="; Expires="+n.expires.toUTCString()}n.httpOnly&&(c+="; HttpOnly");n.secure&&(c+="; Secure");if(n.sameSite){switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"strict":c+="; SameSite=Strict";break;case"none":c+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return c};var n=decodeURIComponent,o=encodeURIComponent,a=/; */,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function s(e,t){try{return t(e)}catch(t){return e}}},function(e,t,r){"use strict";var n=r(264),o=r.n(n),a=r(46),i={insert:"head",singleton:!1},s=o()(a.default,i);if(!a.default.locals||e.hot.invalidate){var c=a.default.locals;e.hot.accept(46,function(t){a=r(46),function(e,t,r){if(!e&&t||e&&!t)return!1;var n;for(n in e)if((!r||"default"!==n)&&e[n]!==t[n])return!1;for(n in t)if(!(r&&"default"===n||e[n]))return!1;return!0}(c,a.default.locals,void 0)?(c=a.default.locals,s(a.default)):e.hot.invalidate()}.bind(this))}e.hot.dispose((function(){s()}));a.default.locals},function(e,t){!function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:RegExp("[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),string:{pattern:t,greedy:!0},property:/(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/(^|["'\s])style\s*=\s*(?:"[^"]*"|'[^']*')/i,lookbehind:!0,inside:{"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{style:{pattern:/(["'])[\s\S]+(?=["']$)/,lookbehind:!0,alias:"language-css",inside:e.languages.css},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},"attr-name":/^style/i}}},r.tag))}(Prism)},function(e,t){!function(e){var t=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+r.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+r.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var r=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|]|}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return n})).replace(/<<value>>/g,(function(){return e}));return RegExp(r,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return n}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return n})).replace(/<<key>>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/true|false/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(Prism)},function(e,t){Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete Prism.languages.go["class-name"]},function(e,t){!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,n={pattern:RegExp(r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{"class-name":[n,{pattern:RegExp(r+/[A-Z]\w*(?=\s+\w+\s*[;,=())])/.source),lookbehind:!0,inside:n.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(\:\:\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":n,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism)},function(e,t){Prism.languages.json={property:{pattern:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json},function(e,t){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:r,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)\w+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b\w+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+?)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)(["'])(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|(?!\2)[^\\`$])*\2/,lookbehind:!0,greedy:!0,inside:n}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|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)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|==?|!=?|=~|<<[<-]?|[&\d]?>>|\d?[<>]&?|&[>&]?|\|[&|]?|<=?|>=?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=n.variable[1].inside,i=0;i<o.length;i++)a[o[i]]=e.languages.bash[o[i]];e.languages.shell=e.languages.bash}(Prism)},function(e,t){Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:{{)*){(?!{)(?:[^{}]|{(?!{)(?:[^{}]|{(?!{)(?:[^{}])+})+})+}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^\s*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python},function(e,t){!function(e){e.languages.http={"request-line":{pattern:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\s(?:https?:\/\/|\/)\S+\sHTTP\/[0-9.]+/m,inside:{property:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\b/,"attr-name":/:\w+/}},"response-status":{pattern:/^HTTP\/1.[01] \d.*/m,inside:{property:{pattern:/(^HTTP\/1.[01] )\d.*/i,lookbehind:!0}}},"header-name":{pattern:/^[\w-]+:(?=.)/m,alias:"keyword"}};var t,r=e.languages,n={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css},o={"application/json":!0,"application/xml":!0};function a(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|"+("\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-])")+")"}for(var i in n)if(n[i]){t=t||{};var s=o[i]?a(i):i;t[i.replace(/\//g,"-")]={pattern:RegExp("(content-type:\\s*"+s+".*)(?:\\r?\\n|\\r){2}[\\s\\S]*","i"),lookbehind:!0,inside:n[i]}}t&&e.languages.insertBefore("http","header-name",t)}(Prism)},function(e,t){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,r){return"(?:"+t[+r]+")"}))}function r(e,r,n){return RegExp(t(e,r),n||"")}function n(e,t){for(var r=0;r<t;r++)e=e.replace(/<<self>>/g,(function(){return"(?:"+e+")"}));return e.replace(/<<self>>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",a="class enum interface struct",i="add alias and ascending async await by descending from get global group into join let nameof not notnull on or orderby partial remove select set unmanaged value when where",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function c(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var l=c(a),u=RegExp(c(o+" "+a+" "+i+" "+s)),p=c(a+" "+i+" "+s),f=c(o+" "+a+" "+s),d=n(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),h=n(/\((?:[^()]|<<self>>)*\)/.source,2),v=/@?\b[A-Za-z_]\w*\b/.source,m=t(/<<0>>(?:\s*<<1>>)?/.source,[v,d]),g=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[p,m]),y=/\[\s*(?:,\s*)*\]/.source,b=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[g,y]),x=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[d,h,y]),w=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[x]),k=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,g,y]),S={keyword:u,punctuation:/[<>()?,.:[\]]/},A=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,O=/"(?:\\.|[^\\"\r\n])*"/.source,E=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[E]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[O]),lookbehind:!0,greedy:!0},{pattern:RegExp(A),greedy:!0,alias:"character"}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[g]),lookbehind:!0,inside:S},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[v,k]),lookbehind:!0,inside:S},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[v]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[l,m]),lookbehind:!0,inside:S},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[g]),lookbehind:!0,inside:S},{pattern:r(/(\bwhere\s+)<<0>>/.source,[v]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:S},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[k,f,v]),inside:S}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[v]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[v]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:S},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[k,g]),inside:S,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[k]),lookbehind:!0,inside:S,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[v,d]),inside:{function:r(/^<<0>>/.source,[v]),generic:{pattern:RegExp(d),alias:"class-name",inside:S}}},"type-list":{pattern:r(/\b((?:<<0>>\s+<<1>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>)(?:\s*,\s*(?:<<3>>|<<4>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,m,v,k,u.source]),lookbehind:!0,inside:{keyword:u,"class-name":{pattern:RegExp(k),greedy:!0,inside:S},punctuation:/,/}},preprocessor:{pattern:/(^\s*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(\s*#)\b(?:define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var D=O+"|"+A,C=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[D]),j=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[C]),2),_=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,T=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[g,j]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[_,T]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[_]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[j]),inside:e.languages.csharp},"class-name":{pattern:RegExp(g),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var I=/:[^}\r\n]+/.source,F=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[C]),2),P=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[F,I]),R=n(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[D]),2),B=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,I]);function L(t,n){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[n,I]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[P]),lookbehind:!0,greedy:!0,inside:L(P,F)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[B]),lookbehind:!0,greedy:!0,inside:L(B,R)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp},function(e,t,r){(function(e,n){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(a){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof n&&n;i.global!==i&&i.window!==i&&i.self;var s,c=2147483647,l=/^xn--/,u=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,h=String.fromCharCode;function v(e){throw new RangeError(f[e])}function m(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function g(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+m((e=e.replace(p,".")).split("."),t).join(".")}function y(e){for(var t,r,n=[],o=0,a=e.length;o<a;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<a?56320==(64512&(r=e.charCodeAt(o++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),o--):n.push(t);return n}function b(e){return m(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function x(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,r){var n=0;for(e=r?d(e/700):e>>1,e+=d(e/t);e>455;n+=36)e=d(e/35);return d(n+36*e/(e+38))}function k(e){var t,r,n,o,a,i,s,l,u,p,f,h=[],m=e.length,g=0,y=128,x=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&v("not-basic"),h.push(e.charCodeAt(n));for(o=r>0?r+1:0;o<m;){for(a=g,i=1,s=36;o>=m&&v("invalid-input"),((l=(f=e.charCodeAt(o++))-48<10?f-22:f-65<26?f-65:f-97<26?f-97:36)>=36||l>d((c-g)/i))&&v("overflow"),g+=l*i,!(l<(u=s<=x?1:s>=x+26?26:s-x));s+=36)i>d(c/(p=36-u))&&v("overflow"),i*=p;x=w(g-a,t=h.length+1,0==a),d(g/t)>c-y&&v("overflow"),y+=d(g/t),g%=t,h.splice(g++,0,y)}return b(h)}function S(e){var t,r,n,o,a,i,s,l,u,p,f,m,g,b,k,S=[];for(m=(e=y(e)).length,t=128,r=0,a=72,i=0;i<m;++i)(f=e[i])<128&&S.push(h(f));for(n=o=S.length,o&&S.push("-");n<m;){for(s=c,i=0;i<m;++i)(f=e[i])>=t&&f<s&&(s=f);for(s-t>d((c-r)/(g=n+1))&&v("overflow"),r+=(s-t)*g,t=s,i=0;i<m;++i)if((f=e[i])<t&&++r>c&&v("overflow"),f==t){for(l=r,u=36;!(l<(p=u<=a?1:u>=a+26?26:u-a));u+=36)k=l-p,b=36-p,S.push(h(x(p+k%b,0))),l=d(k/b);S.push(h(x(l,0))),a=w(r,g,n==o),r=0,++n}++r,++t}return S.join("")}s={version:"1.4.1",ucs2:{decode:y,encode:b},decode:k,encode:S,toASCII:function(e){return g(e,(function(e){return u.test(e)?"xn--"+S(e):e}))},toUnicode:function(e){return g(e,(function(e){return l.test(e)?k(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return s}.call(t,r,t,e))||(e.exports=o)}()}).call(this,r(103)(e),r(26))},function(e,t,r){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,r){"use strict";t.decode=t.parse=r(299),t.encode=t.stringify=r(300)},function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,a){t=t||"&",r=r||"=";var i={};if("string"!=typeof e||0===e.length)return i;var s=/\+/g;e=e.split(t);var c=1e3;a&&"number"==typeof a.maxKeys&&(c=a.maxKeys);var l=e.length;c>0&&l>c&&(l=c);for(var u=0;u<l;++u){var p,f,d,h,v=e[u].replace(s,"%20"),m=v.indexOf(r);m>=0?(p=v.substr(0,m),f=v.substr(m+1)):(p=v,f=""),d=decodeURIComponent(p),h=decodeURIComponent(f),n(i,d)?o(i[d])?i[d].push(h):i[d]=[i[d],h]:i[d]=h}return i};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,r){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?a(i(e),(function(i){var s=encodeURIComponent(n(i))+r;return o(e[i])?a(e[i],(function(e){return s+encodeURIComponent(n(e))})).join(t):s+encodeURIComponent(n(e[i]))})).join(t):s?encodeURIComponent(n(s))+r+encodeURIComponent(n(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var i=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},function(e,t,r){"use strict";(function(t,r){var n=t.process&&r.nextTick||t.setImmediate||function(e){setTimeout(e,0)};e.exports=function(e,t){return e?void t.then((function(t){n((function(){e(null,t)}))}),(function(t){n((function(){e(t)}))})):t}}).call(this,r(26),r(41))},function(e,t,r){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){for(var t,r=l(e),n=r[0],i=r[1],s=new a(function(e,t,r){return 3*(t+r)/4-r}(0,n,i)),c=0,u=i>0?n-4:n,p=0;p<u;p+=4)t=o[e.charCodeAt(p)]<<18|o[e.charCodeAt(p+1)]<<12|o[e.charCodeAt(p+2)]<<6|o[e.charCodeAt(p+3)],s[c++]=t>>16&255,s[c++]=t>>8&255,s[c++]=255&t;2===i&&(t=o[e.charCodeAt(p)]<<2|o[e.charCodeAt(p+1)]>>4,s[c++]=255&t);1===i&&(t=o[e.charCodeAt(p)]<<10|o[e.charCodeAt(p+1)]<<4|o[e.charCodeAt(p+2)]>>2,s[c++]=t>>8&255,s[c++]=255&t);return s},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,a=[],i=0,s=r-o;i<s;i+=16383)a.push(u(e,i,i+16383>s?s:i+16383));1===o?(t=e[r-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return a.join("")};for(var n=[],o=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=i.length;s<c;++s)n[s]=i[s],o[i.charCodeAt(s)]=s;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function u(e,t,r){for(var o,a,i=[],s=t;s<r;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),i.push(n[(a=o)>>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return i.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,r,n,o){var a,i,s=8*o-n-1,c=(1<<s)-1,l=c>>1,u=-7,p=r?o-1:0,f=r?-1:1,d=e[t+p];for(p+=f,a=d&(1<<-u)-1,d>>=-u,u+=s;u>0;a=256*a+e[t+p],p+=f,u-=8);for(i=a&(1<<-u)-1,a>>=-u,u+=n;u>0;i=256*i+e[t+p],p+=f,u-=8);if(0===a)a=1-l;else{if(a===c)return i?NaN:1/0*(d?-1:1);i+=Math.pow(2,n),a-=l}return(d?-1:1)*i*Math.pow(2,a-n)},t.write=function(e,t,r,n,o,a){var i,s,c,l=8*a-o-1,u=(1<<l)-1,p=u>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,h=n?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=u):(i=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-i))<1&&(i--,c*=2),(t+=i+p>=1?f/c:f*Math.pow(2,1-p))*c>=2&&(i++,c/=2),i+p>=u?(s=0,i=u):i+p>=1?(s=(t*c-1)*Math.pow(2,o),i+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),i=0));o>=8;e[r+d]=255&s,d+=h,s/=256,o-=8);for(i=i<<o|s,l+=o;l>0;e[r+d]=255&i,d+=h,i/=256,l-=8);e[r+d-h]|=128*v}},function(e,t,r){"use strict";const n=r(177),o=r(178),a=r(28),i=r(57),s=r(179),c=r(104).jptr,l=r(135).recurse,u=r(105).clone,p=r(305).dereference,f=r(134).isRef,d=r(181);function h(e,t,r,n,o,i){let s=i.externalRefs[r+n].paths[0],p=a.parse(o),h={},v=1;for(;v;)v=0,l(e,{identityDetection:!0},(function(e,r,n){if(f(e,r))if(e[r].startsWith("#"))if(h[e[r]]||e.$fixed){if(!e.$fixed){let t=(s+"/"+h[e[r]]).split("/#/").join("/");n.parent[n.pkey]={$ref:t,"x-miro":e[r],$fixed:!0},i.verbose>1&&console.warn("Replacing with",t),v++}}else{let o=u(c(t,e[r]));if(i.verbose>1&&console.warn((!1===o?d.colour.red:d.colour.green)+"Fragment resolution",e[r],d.colour.normal),!1===o){if(n.parent[n.pkey]={},i.fatal){let t=new Error("Fragment $ref resolution failed "+e[r]);if(!i.promise)throw t;i.promise.reject(t)}}else v++,n.parent[n.pkey]=o,h[e[r]]=n.path.replace("/%24ref","")}else if(p.protocol){let t=a.resolve(o,e[r]).toString();i.verbose>1&&console.warn(d.colour.yellow+"Rewriting external url ref",e[r],"as",t,d.colour.normal),e["x-miro"]=e[r],i.externalRefs[e[r]]&&(i.externalRefs[t]||(i.externalRefs[t]=i.externalRefs[e[r]]),i.externalRefs[t].failed=i.externalRefs[e[r]].failed),e[r]=t}else if(!e["x-miro"]){let t=a.resolve(o,e[r]).toString(),n=!1;i.externalRefs[e[r]]&&(n=i.externalRefs[e[r]].failed),n||(i.verbose>1&&console.warn(d.colour.yellow+"Rewriting external ref",e[r],"as",t,d.colour.normal),e["x-miro"]=e[r],e[r]=t)}}));return l(e,{},(function(e,t,r){f(e,t)&&void 0!==e.$fixed&&delete e.$fixed})),i.verbose>1&&console.warn("Finished fragment resolution"),e}function v(e,t){if(!t.filters||!t.filters.length)return e;for(let r of t.filters)e=r(e,t);return e}function m(e,t,r,i){var l=a.parse(r.source),p=r.source.split("\\").join("/").split("/");p.pop()||p.pop();let f="",d=t.split("#");d.length>1&&(f="#"+d[1],t=d[0]),p=p.join("/");let m=a.parse(t),g=(y=m.protocol,b=l.protocol,y&&y.length>2?y:b&&b.length>2?b:"file:");var y,b;let x;if(x="file:"===g?o.resolve(p?p+"/":"",t):a.resolve(p?p+"/":"",t),r.cache[x]){r.verbose&&console.warn("CACHED",x,f);let e=u(r.cache[x]),n=r.externalRef=e;if(f&&(n=c(n,f),!1===n&&(n={},r.fatal))){let e=new Error("Cached $ref resolution failed "+x+f);if(!r.promise)throw e;r.promise.reject(e)}return n=h(n,e,t,f,x,r),n=v(n,r),i(u(n),x,r),Promise.resolve(n)}if(r.verbose&&console.warn("GET",x,f),r.handlers&&r.handlers[g])return r.handlers[g](p,t,f,r).then((function(e){return r.externalRef=e,e=v(e,r),r.cache[x]=e,i(e,x,r),e})).catch((function(e){throw r.verbose&&console.warn(e),e}));if(g&&g.startsWith("http")){const e=Object.assign({},r.fetchOptions,{agent:r.agent});return r.fetch(x,e).then((function(e){if(200!==e.status){if(r.ignoreIOErrors)return r.verbose&&console.warn("FAILED",t),r.externalRefs[t].failed=!0,'{"$ref":"'+t+'"}';throw new Error(`Received status code ${e.status}: ${x}`)}return e.text()})).then((function(e){try{let n=s.parse(e,{schema:"core",prettyErrors:!0});if(e=r.externalRef=n,r.cache[x]=u(e),f&&!1===(e=c(e,f))&&(e={},r.fatal)){let e=new Error("Remote $ref resolution failed "+x+f);if(!r.promise)throw e;r.promise.reject(e)}e=v(e=h(e,n,t,f,x,r),r)}catch(e){if(r.verbose&&console.warn(e),!r.promise||!r.fatal)throw e;r.promise.reject(e)}return i(e,x,r),e})).catch((function(e){if(r.verbose&&console.warn(e),r.cache[x]={},!r.promise||!r.fatal)throw e;r.promise.reject(e)}))}{const e='{"$ref":"'+t+'"}';return function(e,t,r,o,a){return new Promise((function(i,s){n.readFile(e,t,(function(e,t){e?r.ignoreIOErrors&&a?(r.verbose&&console.warn("FAILED",o),r.externalRefs[o].failed=!0,i(a)):s(e):i(t)}))}))}(x,r.encoding||"utf8",r,t,e).then((function(e){try{let n=s.parse(e,{schema:"core",prettyErrors:!0});if(e=r.externalRef=n,r.cache[x]=u(e),f&&!1===(e=c(e,f))&&(e={},r.fatal)){let e=new Error("File $ref resolution failed "+x+f);if(!r.promise)throw e;r.promise.reject(e)}e=v(e=h(e,n,t,f,x,r),r)}catch(e){if(r.verbose&&console.warn(e),!r.promise||!r.fatal)throw e;r.promise.reject(e)}return i(e,x,r),e})).catch((function(e){if(r.verbose&&console.warn(e),!r.promise||!r.fatal)throw e;r.promise.reject(e)}))}}function g(e){return new Promise((function(t,r){(function(e){return new Promise((function(t,r){function n(t,r,n){if(t[r]&&f(t[r],"$ref")){let a=t[r].$ref;if(!a.startsWith("#")){let i="";if(!o[a]){let t=Object.keys(o).find((function(e,t,r){return a.startsWith(e+"/")}));t&&(e.verbose&&console.warn("Found potential subschema at",t),i="/"+(a.split("#")[1]||"").replace(t.split("#")[1]||""),i=i.split("/undefined").join(""),a=t)}if(o[a]||(o[a]={resolved:!1,paths:[],extras:{},description:t[r].description}),o[a].resolved)if(o[a].failed);else if(e.rewriteRefs){let n=o[a].resolvedAt;e.verbose>1&&console.warn("Rewriting ref",a,n),t[r]["x-miro"]=a,t[r].$ref=n+i}else t[r]=u(o[a].data);else o[a].paths.push(n.path),o[a].extras[n.path]=i}}}let o=e.externalRefs;if(e.resolver.depth>0&&e.source===e.resolver.base)return t(o);l(e.openapi.definitions,{identityDetection:!0,path:"#/definitions"},n),l(e.openapi.components,{identityDetection:!0,path:"#/components"},n),l(e.openapi,{identityDetection:!0},n),t(o)}))})(e).then((function(t){for(let r in t)if(!t[r].resolved){let n=e.resolver.depth;n>0&&n++,e.resolver.actions[n].push((function(){return m(e.openapi,r,e,(function(e,n,o){if(!t[r].resolved){let a={};a.context=t[r],a.$ref=r,a.original=u(e),a.updated=e,a.source=n,o.externals.push(a),t[r].resolved=!0}let a=Object.assign({},o,{source:"",resolver:{actions:o.resolver.actions,depth:o.resolver.actions.length-1,base:o.resolver.base}});o.patch&&t[r].description&&!e.description&&"object"==typeof e&&(e.description=t[r].description),t[r].data=e;let i=(s=t[r].paths,[...new Set(s)]);var s;i=i.sort((function(e,t){const r=e.startsWith("#/components/")||e.startsWith("#/definitions/"),n=t.startsWith("#/components/")||t.startsWith("#/definitions/");return r&&!n?-1:n&&!r?1:0}));for(let n of i)if(t[r].resolvedAt&&n!==t[r].resolvedAt&&n.indexOf("x-ms-examples/")<0)o.verbose>1&&console.warn("Creating pointer to data at",n),c(o.openapi,n,{$ref:t[r].resolvedAt+t[r].extras[n],"x-miro":r+t[r].extras[n]});else{t[r].resolvedAt?o.verbose>1&&console.warn("Avoiding circular reference"):(t[r].resolvedAt=n,o.verbose>1&&console.warn("Creating initial clone of data at",n));let a=u(e);c(o.openapi,n,a)}0===o.resolver.actions[a.resolver.depth].length&&o.resolver.actions[a.resolver.depth].push((function(){return g(a)}))}))}))}})).catch((function(t){e.verbose&&console.warn(t),r(t)}));let n={options:e};n.actions=e.resolver.actions[e.resolver.depth],t(n)}))}function y(e,t,r){e.resolver.actions.push([]),g(e).then((function(n){var o;(o=n.actions,o.reduce((e,t)=>e.then(e=>t().then(Array.prototype.concat.bind(e))),Promise.resolve([]))).then((function(){if(e.resolver.depth>=e.resolver.actions.length)return console.warn("Ran off the end of resolver actions"),t(!0);e.resolver.depth++,e.resolver.actions[e.resolver.depth].length?setTimeout((function(){y(n.options,t,r)}),0):(e.verbose>1&&console.warn(d.colour.yellow+"Finished external resolution!",d.colour.normal),e.resolveInternal&&(e.verbose>1&&console.warn(d.colour.yellow+"Starting internal resolution!",d.colour.normal),e.openapi=p(e.openapi,e.original,{verbose:e.verbose-1}),e.verbose>1&&console.warn(d.colour.yellow+"Finished internal resolution!",d.colour.normal)),l(e.openapi,{},(function(t,r,n){f(t,r)&&(e.preserveMiro||delete t["x-miro"])})),t(e))})).catch((function(t){e.verbose&&console.warn(t),r(t)}))})).catch((function(t){e.verbose&&console.warn(t),r(t)}))}function b(e){if(e.cache||(e.cache={}),e.fetch||(e.fetch=i),e.source){let t=a.parse(e.source);(!t.protocol||t.protocol.length<=2)&&(e.source=o.resolve(e.source))}e.externals=[],e.externalRefs={},e.rewriteRefs=!0,e.resolver={},e.resolver.depth=0,e.resolver.base=e.source,e.resolver.actions=[[]]}e.exports={optionalResolve:function(e){return b(e),new Promise((function(t,r){e.resolve?y(e,t,r):t(e)}))},resolve:function(e,t,r){return r||(r={}),r.openapi=e,r.source=t,r.resolve=!0,b(r),new Promise((function(e,t){y(r,e,t)}))}}},function(e,t,r){"use strict";const n=r(135).recurse,o=r(105).shallowClone,a=r(104).jptr,i=r(134).isRef;e.exports={dereference:function e(t,r,s){s||(s={}),s.cache||(s.cache={}),s.state||(s.state={}),s.state.identityDetection=!0,s.depth=s.depth?s.depth+1:1;let c=s.depth>1?t:o(t),l={data:c},u=s.depth>1?r:o(r);s.master||(s.master=c);let p=function(e){return e&&e.verbose?{warn:function(){var e=Array.prototype.slice.call(arguments);console.warn.apply(console,e)}}:{warn:function(){}}}(s),f=1;for(;f>0;)f=0,n(l,s.state,(function(t,r,n){if(i(t,r)){let o=t[r];if(f++,s.cache[o]){let e=s.cache[o];if(e.resolved)p.warn("Patching %s for %s",o,e.path),n.parent[n.pkey]=e.data,s.$ref&&"object"==typeof n.parent[n.pkey]&&(n.parent[n.pkey][s.$ref]=o);else{if(o===e.path)throw new Error("Tight circle at "+e.path);p.warn("Unresolved ref"),n.parent[n.pkey]=a(e.source,e.path),!1===n.parent[n.pkey]&&(n.parent[n.pkey]=a(e.source,e.key)),s.$ref&&"object"==typeof n.parent[n.pkey]&&(n.parent[s.$ref]=o)}}else{let t={};t.path=n.path.split("/$ref")[0],t.key=o,p.warn("Dereffing %s at %s",o,t.path),t.source=u,t.data=a(t.source,t.key),!1===t.data&&(t.data=a(s.master,t.key),t.source=s.master),!1===t.data&&p.warn("Missing $ref target",t.key),s.cache[o]=t,t.data=n.parent[n.pkey]=e(a(t.source,t.key),t.source,s),s.$ref&&"object"==typeof n.parent[n.pkey]&&(n.parent[n.pkey][s.$ref]=o),t.resolved=!0}}}));return l.data}}},function(e,t){e.exports=o,o.default=o,o.stable=i,o.stableStringify=i;var r=[],n=[];function o(e,t,o){var a;for(!function e(t,o,a,i){var s;if("object"==typeof t&&null!==t){for(s=0;s<a.length;s++)if(a[s]===t){var c=Object.getOwnPropertyDescriptor(i,o);return void(void 0!==c.get?c.configurable?(Object.defineProperty(i,o,{value:"[Circular]"}),r.push([i,o,t,c])):n.push([t,o]):(i[o]="[Circular]",r.push([i,o,t])))}if(a.push(t),Array.isArray(t))for(s=0;s<t.length;s++)e(t[s],s,a,t);else{var l=Object.keys(t);for(s=0;s<l.length;s++){var u=l[s];e(t[u],u,a,t)}}a.pop()}}(e,"",[],void 0),a=0===n.length?JSON.stringify(e,t,o):JSON.stringify(e,s(t),o);0!==r.length;){var i=r.pop();4===i.length?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}return a}function a(e,t){return e<t?-1:e>t?1:0}function i(e,t,o){var i,c=function e(t,o,i,s){var c;if("object"==typeof t&&null!==t){for(c=0;c<i.length;c++)if(i[c]===t){var l=Object.getOwnPropertyDescriptor(s,o);return void(void 0!==l.get?l.configurable?(Object.defineProperty(s,o,{value:"[Circular]"}),r.push([s,o,t,l])):n.push([t,o]):(s[o]="[Circular]",r.push([s,o,t])))}if("function"==typeof t.toJSON)return;if(i.push(t),Array.isArray(t))for(c=0;c<t.length;c++)e(t[c],c,i,t);else{var u={},p=Object.keys(t).sort(a);for(c=0;c<p.length;c++){var f=p[c];e(t[f],f,i,t),u[f]=t[f]}if(void 0===s)return u;r.push([s,o,t]),s[o]=u}i.pop()}}(e,"",[],void 0)||e;for(i=0===n.length?JSON.stringify(c,t,o):JSON.stringify(c,s(t),o);0!==r.length;){var l=r.pop();4===l.length?Object.defineProperty(l[0],l[1],l[3]):l[0][l[1]]=l[2]}return i}function s(e){return e=void 0!==e?e:function(e,t){return t},function(t,r){if(n.length>0)for(var o=0;o<n.length;o++){var a=n[o];if(a[1]===t&&a[0]===r){r="[Circular]",n.splice(o,1);break}}return e.call(this,t,r)}}},function(e,t,r){"use strict";function n(){return{depth:0,seen:new WeakMap,top:!0,combine:!1,allowRefSiblings:!1}}e.exports={getDefaultState:n,walkSchema:function e(t,r,o,a){if(void 0===o.depth&&(o=n()),null==t)return t;if(void 0!==t.$ref){let e={$ref:t.$ref};return o.allowRefSiblings&&t.description&&(e.description=t.description),a(e,r,o),e}if(o.combine&&(t.allOf&&Array.isArray(t.allOf)&&1===t.allOf.length&&delete(t=Object.assign({},t.allOf[0],t)).allOf,t.anyOf&&Array.isArray(t.anyOf)&&1===t.anyOf.length&&delete(t=Object.assign({},t.anyOf[0],t)).anyOf,t.oneOf&&Array.isArray(t.oneOf)&&1===t.oneOf.length&&delete(t=Object.assign({},t.oneOf[0],t)).oneOf),a(t,r,o),o.seen.has(t))return t;if("object"==typeof t&&null!==t&&o.seen.set(t,!0),o.top=!1,o.depth++,void 0!==t.items&&(o.property="items",e(t.items,t,o,a)),t.additionalItems&&"object"==typeof t.additionalItems&&(o.property="additionalItems",e(t.additionalItems,t,o,a)),t.additionalProperties&&"object"==typeof t.additionalProperties&&(o.property="additionalProperties",e(t.additionalProperties,t,o,a)),t.properties)for(let r in t.properties){let n=t.properties[r];o.property="properties/"+r,e(n,t,o,a)}if(t.patternProperties)for(let r in t.patternProperties){let n=t.patternProperties[r];o.property="patternProperties/"+r,e(n,t,o,a)}if(t.allOf)for(let r in t.allOf){let n=t.allOf[r];o.property="allOf/"+r,e(n,t,o,a)}if(t.anyOf)for(let r in t.anyOf){let n=t.anyOf[r];o.property="anyOf/"+r,e(n,t,o,a)}if(t.oneOf)for(let r in t.oneOf){let n=t.oneOf[r];o.property="oneOf/"+r,e(n,t,o,a)}return t.not&&(o.property="not",e(t.not,t,o,a)),o.depth--,t}}},function(e,t,r){"use strict";const n=r(309);e.exports={statusCodes:Object.assign({},{default:"Default response","1XX":"Informational",103:"Early hints","2XX":"Successful","3XX":"Redirection","4XX":"Client Error","5XX":"Server Error","7XX":"Developer Error"},n.STATUS_CODES)}},function(e,t,r){(function(e){var n=r(310),o=r(183),a=r(319),i=r(320),s=r(28),c=t;c.request=function(t,r){t="string"==typeof t?s.parse(t):a(t);var o=-1===e.location.protocol.search(/^https?:$/)?"http:":"",i=t.protocol||o,c=t.hostname||t.host,l=t.port,u=t.path||"/";c&&-1!==c.indexOf(":")&&(c="["+c+"]"),t.url=(c?i+"//"+c:"")+(l?":"+l:"")+u,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var p=new n(t);return r&&p.on("response",r),p},c.get=function(e,t){var r=c.request(e,t);return r.end(),r},c.ClientRequest=n,c.IncomingMessage=o.IncomingMessage,c.Agent=function(){},c.Agent.defaultMaxSockets=4,c.globalAgent=new c.Agent,c.STATUS_CODES=i,c.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,r(26))},function(e,t,r){(function(t,n,o){var a=r(182),i=r(59),s=r(183),c=r(184),l=r(318),u=s.IncomingMessage,p=s.readyStates;var f=e.exports=function(e){var r,n=this;c.Writable.call(n),n._opts=e,n._body=[],n._headers={},e.auth&&n.setHeader("Authorization","Basic "+new t(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){n.setHeader(t,e.headers[t])}));var o=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!a.abortController)o=!1,r=!0;else if("prefer-streaming"===e.mode)r=!1;else if("allow-wrong-content-type"===e.mode)r=!a.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");r=!0}n._mode=function(e,t){return a.fetch&&t?"fetch":a.mozchunkedarraybuffer?"moz-chunked-arraybuffer":a.msstream?"ms-stream":a.arraybuffer&&e?"arraybuffer":a.vbArray&&e?"text:vbarray":"text"}(r,o),n._fetchTimer=null,n.on("finish",(function(){n._onFinish()}))};i(f,c.Writable),f.prototype.setHeader=function(e,t){var r=e.toLowerCase();-1===d.indexOf(r)&&(this._headers[r]={name:e,value:t})},f.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},f.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},f.prototype._onFinish=function(){var e=this;if(!e._destroyed){var r=e._opts,i=e._headers,s=null;"GET"!==r.method&&"HEAD"!==r.method&&(s=a.arraybuffer?l(t.concat(e._body)):a.blobConstructor?new n.Blob(e._body.map((function(e){return l(e)})),{type:(i["content-type"]||{}).value||""}):t.concat(e._body).toString());var c=[];if(Object.keys(i).forEach((function(e){var t=i[e].name,r=i[e].value;Array.isArray(r)?r.forEach((function(e){c.push([t,e])})):c.push([t,r])})),"fetch"===e._mode){var u=null;if(a.abortController){var f=new AbortController;u=f.signal,e._fetchAbortController=f,"requestTimeout"in r&&0!==r.requestTimeout&&(e._fetchTimer=n.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),r.requestTimeout))}n.fetch(e._opts.url,{method:e._opts.method,headers:c,body:s||void 0,mode:"cors",credentials:r.withCredentials?"include":"same-origin",signal:u}).then((function(t){e._fetchResponse=t,e._connect()}),(function(t){n.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)}))}else{var d=e._xhr=new n.XMLHttpRequest;try{d.open(e._opts.method,e._opts.url,!0)}catch(t){return void o.nextTick((function(){e.emit("error",t)}))}"responseType"in d&&(d.responseType=e._mode.split(":")[0]),"withCredentials"in d&&(d.withCredentials=!!r.withCredentials),"text"===e._mode&&"overrideMimeType"in d&&d.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in r&&(d.timeout=r.requestTimeout,d.ontimeout=function(){e.emit("requestTimeout")}),c.forEach((function(e){d.setRequestHeader(e[0],e[1])})),e._response=null,d.onreadystatechange=function(){switch(d.readyState){case p.LOADING:case p.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(d.onprogress=function(){e._onXHRProgress()}),d.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{d.send(s)}catch(t){return void o.nextTick((function(){e.emit("error",t)}))}}}},f.prototype._onXHRProgress=function(){(function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}})(this._xhr)&&!this._destroyed&&(this._response||this._connect(),this._response._onXHRProgress())},f.prototype._connect=function(){var e=this;e._destroyed||(e._response=new u(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},f.prototype._write=function(e,t,r){this._body.push(e),r()},f.prototype.abort=f.prototype.destroy=function(){this._destroyed=!0,n.clearTimeout(this._fetchTimer),this._response&&(this._response._destroyed=!0),this._xhr?this._xhr.abort():this._fetchAbortController&&this._fetchAbortController.abort()},f.prototype.end=function(e,t,r){"function"==typeof e&&(r=e,e=void 0),c.Writable.prototype.end.call(this,e,t,r)},f.prototype.flushHeaders=function(){},f.prototype.setTimeout=function(){},f.prototype.setNoDelay=function(){},f.prototype.setSocketKeepAlive=function(){};var d=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this,r(33).Buffer,r(26),r(41))},function(e,t){},function(e,t,r){"use strict";var n=r(107).Buffer,o=r(313);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,o,a=n.allocUnsafe(e>>>0),i=this.head,s=0;i;)t=i.data,r=a,o=s,t.copy(r,o),s+=i.data.length,i=i.next;return a},e}(),o&&o.inspect&&o.inspect.custom&&(e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,r){(function(e){var n=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(o.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new a(o.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},r(315),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,r(26))},function(e,t,r){(function(e,t){!function(e,r){"use strict";if(!e.setImmediate){var n,o,a,i,s,c=1,l={},u=!1,p=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){h(e.data)},n=function(e){a.port2.postMessage(e)}):p&&"onreadystatechange"in p.createElement("script")?(o=p.documentElement,n=function(e){var t=p.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):n=function(e){setTimeout(h,0,e)}:(i="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&h(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),n=function(t){e.postMessage(i+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var o={callback:e,args:t};return l[c]=o,n(c),c++},f.clearImmediate=d}function d(e){delete l[e]}function h(e){if(u)setTimeout(h,0,e);else{var t=l[e];if(t){u=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(void 0,r)}}(t)}finally{d(e),u=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,r(26),r(41))},function(e,t,r){(function(t){function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,r(26))},function(e,t,r){"use strict";e.exports=a;var n=r(191),o=r(84);function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}o.inherits=r(59),o.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){var n=r(33).Buffer;e.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(n.isBuffer(e)){for(var t=new Uint8Array(e.length),r=e.length,o=0;o<r;o++)t[o]=e[o];return t.buffer}throw new Error("Argument must be a Buffer")}},function(e,t){e.exports=function(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var o in n)r.call(n,o)&&(e[o]=n[o])}return e};var r=Object.prototype.hasOwnProperty},function(e,t){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},function(e){e.exports=JSON.parse('{"name":"swagger2openapi","version":"7.0.5","description":"Convert Swagger 2.0 definitions to OpenApi 3.0 and validate","main":"index.js","bin":{"swagger2openapi":"./swagger2openapi.js","oas-validate":"./oas-validate.js","boast":"./boast.js"},"funding":"https://github.com/Mermade/oas-kit?sponsor=1","scripts":{"test":"mocha"},"browserify":{"transform":[["babelify",{"presets":["es2015"]}]]},"repository":{"url":"https://github.com/Mermade/oas-kit.git","type":"git"},"bugs":{"url":"https://github.com/mermade/oas-kit/issues"},"author":"Mike Ralphson <mike.ralphson@gmail.com>","license":"BSD-3-Clause","dependencies":{"call-me-maybe":"^1.0.1","node-fetch":"^2.6.1","node-fetch-h2":"^2.3.0","node-readfiles":"^0.2.0","oas-kit-common":"^1.0.8","oas-resolver":"^2.5.4","oas-schema-walker":"^1.1.5","oas-validator":"^5.0.5","reftools":"^1.1.8","yaml":"^1.10.0","yargs":"^16.1.1"},"keywords":["swagger","openapi","openapi2","openapi3","converter","conversion","validator","validation","resolver","lint","linter"],"gitHead":"e6bea8e0b913045153b276ab23e203ece3129c88"}')},function(e,t,r){var n=r(323);e.exports=n},function(e,t,r){r(324);var n=r(12).Object,o=e.exports=function(e,t,r){return n.defineProperty(e,t,r)};n.defineProperty.sham&&(o.sham=!0)},function(e,t,r){var n=r(7),o=r(22);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(38).f})},function(e,t,r){e.exports=r(326)},function(e,t,r){var n=r(327);e.exports=n},function(e,t,r){r(328);var n=r(12).Object,o=e.exports=function(e,t){return n.defineProperties(e,t)};n.defineProperties.sham&&(o.sham=!0)},function(e,t,r){var n=r(7),o=r(22);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:r(194)})},function(e,t,r){e.exports=r(330)},function(e,t,r){var n=r(331);e.exports=n},function(e,t,r){r(332);var n=r(12);e.exports=n.Object.getOwnPropertyDescriptors},function(e,t,r){var n=r(7),o=r(22),a=r(333),i=r(42),s=r(68),c=r(88);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,r,n=i(e),o=s.f,l=a(n),u={},p=0;l.length>p;)void 0!==(r=o(n,t=l[p++]))&&c(u,t,r);return u}})},function(e,t,r){var n=r(43),o=r(141),a=r(142),i=r(31);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(i(e)),r=a.f;return r?t.concat(r(e)):t}},function(e,t,r){e.exports=r(335)},function(e,t,r){var n=r(196);e.exports=n},function(e,t,r){var n=r(16),o=r(37);e.exports=function(e,t){try{o(n,e,t)}catch(r){n[e]=t}return t}},function(e,t,r){"use strict";var n=r(202).IteratorPrototype,o=r(90),a=r(69),i=r(62),s=r(61),c=function(){return this};e.exports=function(e,t,r){var l=t+" Iterator";return e.prototype=o(n,{next:a(1,r)}),i(e,l,!1,!0),s[l]=c,e}},function(e,t,r){"use strict";var n=r(146),o=r(71);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,r){var n=r(17);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t){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}},function(e,t,r){var n=r(342);e.exports=n},function(e,t,r){r(343);var n=r(27);e.exports=n("Array").forEach},function(e,t,r){"use strict";var n=r(7),o=r(344);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,r){"use strict";var n=r(49).forEach,o=r(93),a=r(39),i=o("forEach"),s=a("forEach");e.exports=i&&s?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,r){var n=r(346);e.exports=n},function(e,t,r){r(347);var n=r(12).Object,o=e.exports=function(e,t){return n.getOwnPropertyDescriptor(e,t)};n.getOwnPropertyDescriptor.sham&&(o.sham=!0)},function(e,t,r){var n=r(7),o=r(13),a=r(42),i=r(68).f,s=r(22),c=o((function(){i(1)}));n({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return i(a(e),t)}})},function(e,t,r){e.exports=r(349)},function(e,t,r){var n=r(207);e.exports=n},function(e,t,r){r(351);var n=r(27);e.exports=n("Array").filter},function(e,t,r){"use strict";var n=r(7),o=r(49).filter,a=r(94),i=r(39),s=a("filter"),c=i("filter");n({target:"Array",proto:!0,forced:!s||!c},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(353);e.exports=n},function(e,t,r){r(210);var n=r(12);e.exports=n.Object.getOwnPropertySymbols},function(e,t,r){var n=r(42),o=r(141).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?function(e){try{return o(e)}catch(e){return i.slice()}}(e):o(n(e))}},function(e,t,r){var n=r(212);e.exports=n},function(e,t,r){var n=r(7),o=r(44),a=r(86);n({target:"Object",stat:!0,forced:r(13)((function(){a(1)}))},{keys:function(e){return a(o(e))}})},function(e,t,r){var n=r(358);e.exports=n},function(e,t,r){var n=r(359),o=Function.prototype;e.exports=function(e){var t=e.bind;return e===o||e instanceof Function&&t===o.bind?n:t}},function(e,t,r){r(360);var n=r(27);e.exports=n("Function").bind},function(e,t,r){r(7)({target:"Function",proto:!0},{bind:r(213)})},function(e,t,r){var n=r(51),o=r(364),a=r(36),i=r(217),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,p=l.hasOwnProperty,f=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||o(e))&&(n(e)?f:s).test(i(e))}},function(e,t,r){var n=r(72),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=i.call(e);return n&&(t?e[s]=r:delete e[s]),o}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t,r){var n,o=r(365),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!a&&a in e}},function(e,t,r){var n=r(45)["__core-js_shared__"];e.exports=n},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,r){var n=r(368),o=r(373);e.exports=function(e){return n((function(t,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,s&&o(r[0],r[1],s)&&(i=a<3?void 0:i,a=1),t=Object(t);++n<a;){var c=r[n];c&&e(t,c,n,i)}return t}))}},function(e,t,r){var n=r(151),o=r(218),a=r(219);e.exports=function(e,t){return a(o(e,t,n),e+"")}},function(e,t){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)}},function(e,t,r){var n=r(371),o=r(215),a=r(151),i=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:a;e.exports=i},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t){var r=Date.now;e.exports=function(e){var t=0,n=0;return function(){var o=r(),a=16-(o-n);if(n=o,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,r){var n=r(116),o=r(73),a=r(117),i=r(36);e.exports=function(e,t,r){if(!i(r))return!1;var s=typeof t;return!!("number"==s?o(r)&&a(t,r.length):"string"==s&&t in r)&&n(r[t],e)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},function(e,t,r){var n=r(64),o=r(50);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,r){var n=r(64),o=r(152),a=r(50),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 a(e)&&o(e.length)&&!!i[n(e)]}},function(e,t,r){var n=r(222)(Object.keys,Object);e.exports=n},function(e,t){e.exports=function(e,t,r){return e==e&&(void 0!==r&&(e=e<=r?e:r),void 0!==t&&(e=e>=t?e:t)),e}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},function(e,t,r){var n=r(382);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}},function(e,t,r){var n=r(36),o=r(120),a=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var r=s.test(e);return r||c.test(e)?l(e.slice(2),r?2:8):i.test(e)?NaN:+e}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function s(e,t,r,n){var o=t&&t.prototype instanceof u?t:u,a=Object.create(o.prototype),i=new k(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return A()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=b(i,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=c(e,t,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(e,r,i),a}function c(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var l={};function u(){}function p(){}function f(){}var d={};d[o]=function(){return this};var h=Object.getPrototypeOf,v=h&&h(h(S([])));v&&v!==t&&r.call(v,o)&&(d=v);var m=f.prototype=u.prototype=Object.create(d);function g(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var n;this._invoke=function(o,a){function i(){return new t((function(n,i){!function n(o,a,i,s){var l=c(e[o],e,a);if("throw"!==l.type){var u=l.arg,p=u.value;return p&&"object"==typeof p&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(p).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}(o,a,n,i)}))}return n=n?n.then(i,i):i()}}function b(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,b(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=c(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function S(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:A}}function A(){return{value:void 0,done:!0}}return p.prototype=m.constructor=f,f.constructor=p,f[i]=p.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,i in e||(e[i]="GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},g(y.prototype),y.prototype[a]=function(){return this},e.AsyncIterator=y,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new y(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},g(m),m[i]="Generator",m[o]=function(){return this},m.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=S,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,l):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),w(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;w(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t,r){var n=r(207);e.exports=n},function(e,t,r){r(55),r(75);var n=r(387);e.exports=n},function(e,t,r){var n=r(112),o=r(110),a=function(e){return function(t,r){var a,i,s=String(o(t)),c=n(r),l=s.length;return c<0||c>=l?e?"":void 0:(a=s.charCodeAt(c))<55296||a>56319||c+1===l||(i=s.charCodeAt(c+1))<56320||i>57343?e?s.charAt(c):a:e?s.slice(c,c+2):i-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},function(e,t,r){var n=r(31),o=r(121);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},function(e,t,r){var n=r(227);e.exports=n},function(e,t,r){r(7)({target:"Array",stat:!0},{isArray:r(92)})},function(e,t,r){e.exports=r(391)},function(e,t,r){r(55),r(75);var n=r(121);e.exports=n},function(e,t,r){var n=r(393);r(409),r(410),r(411),r(412),r(413),e.exports=n},function(e,t,r){r(228),r(157),r(210),r(394),r(395),r(396),r(397),r(229),r(398),r(399),r(400),r(401),r(402),r(403),r(404),r(405),r(406),r(407),r(408);var n=r(12);e.exports=n.Symbol},function(e,t,r){r(18)("asyncIterator")},function(e,t){},function(e,t,r){r(18)("hasInstance")},function(e,t,r){r(18)("isConcatSpreadable")},function(e,t,r){r(18)("match")},function(e,t,r){r(18)("matchAll")},function(e,t,r){r(18)("replace")},function(e,t,r){r(18)("search")},function(e,t,r){r(18)("species")},function(e,t,r){r(18)("split")},function(e,t,r){r(18)("toPrimitive")},function(e,t,r){r(18)("toStringTag")},function(e,t,r){r(18)("unscopables")},function(e,t,r){r(62)(Math,"Math",!0)},function(e,t,r){var n=r(16);r(62)(n.JSON,"JSON",!0)},function(e,t,r){r(18)("asyncDispose")},function(e,t,r){r(18)("dispose")},function(e,t,r){r(18)("observable")},function(e,t,r){r(18)("patternMatch")},function(e,t,r){r(18)("replaceAll")},function(e,t,r){var n=r(231);e.exports=n},function(e,t,r){var n=r(7),o=r(416);n({target:"Array",stat:!0,forced:!r(234)((function(e){Array.from(e)}))},{from:o})},function(e,t,r){"use strict";var n=r(85),o=r(44),a=r(232),i=r(233),s=r(54),c=r(88),l=r(121);e.exports=function(e){var t,r,u,p,f,d,h=o(e),v="function"==typeof this?this:Array,m=arguments.length,g=m>1?arguments[1]:void 0,y=void 0!==g,b=l(h),x=0;if(y&&(g=n(g,m>2?arguments[2]:void 0,2)),null==b||v==Array&&i(b))for(r=new v(t=s(h.length));t>x;x++)d=y?g(h[x],x):h[x],c(r,x,d);else for(f=(p=b.call(h)).next,r=new v;!(u=f.call(p)).done;x++)d=y?a(p,g,[u.value,x],!0):u.value,c(r,x,d);return r.length=x,r}},function(e,t,r){e.exports=r(418)},function(e,t,r){var n=r(235);e.exports=n},function(e,t,r){r(420);var n=r(27);e.exports=n("Array").slice},function(e,t,r){"use strict";var n=r(7),o=r(17),a=r(92),i=r(139),s=r(54),c=r(42),l=r(88),u=r(14),p=r(94),f=r(39),d=p("slice"),h=f("slice",{ACCESSORS:!0,0:0,1:2}),v=u("species"),m=[].slice,g=Math.max;n({target:"Array",proto:!0,forced:!d||!h},{slice:function(e,t){var r,n,u,p=c(this),f=s(p.length),d=i(e,f),h=i(void 0===t?f:t,f);if(a(p)&&("function"!=typeof(r=p.constructor)||r!==Array&&!a(r.prototype)?o(r)&&null===(r=r[v])&&(r=void 0):r=void 0,r===Array||void 0===r))return m.call(p,d,h);for(n=new(void 0===r?Array:r)(g(h-d,0)),u=0;d<h;d++,u++)d in p&&l(n,u,p[d]);return n.length=u,n}})},function(e,t,r){var n=r(422);e.exports=n},function(e,t,r){r(423);var n=r(12);e.exports=n.Object.entries},function(e,t,r){var n=r(7),o=r(424).entries;n({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,r){var n=r(22),o=r(86),a=r(42),i=r(108).f,s=function(e){return function(t){for(var r,s=a(t),c=o(s),l=c.length,u=0,p=[];l>u;)r=c[u++],n&&!i.call(s,r)||p.push(e?[r,s[r]]:s[r]);return p}};e.exports={entries:s(!0),values:s(!1)}},function(e,t,r){var n=r(426);e.exports=n},function(e,t,r){var n=r(427),o=Array.prototype;e.exports=function(e){var t=e.concat;return e===o||e instanceof Array&&t===o.concat?n:t}},function(e,t,r){r(228);var n=r(27);e.exports=n("Array").concat},function(e,t,r){var n=r(212);e.exports=n},function(e,t,r){var n=r(430);e.exports=n},function(e,t,r){var n=r(431),o=Array.prototype;e.exports=function(e){var t=e.map;return e===o||e instanceof Array&&t===o.map?n:t}},function(e,t,r){r(432);var n=r(27);e.exports=n("Array").map},function(e,t,r){"use strict";var n=r(7),o=r(49).map,a=r(94),i=r(39),s=a("map"),c=i("map");n({target:"Array",proto:!0,forced:!s||!c},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(434);e.exports=n},function(e,t,r){var n=r(435),o=Array.prototype;e.exports=function(e){var t=e.every;return e===o||e instanceof Array&&t===o.every?n:t}},function(e,t,r){r(436);var n=r(27);e.exports=n("Array").every},function(e,t,r){"use strict";var n=r(7),o=r(49).every,a=r(93),i=r(39),s=a("every"),c=i("every");n({target:"Array",proto:!0,forced:!s||!c},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(438);e.exports=n},function(e,t,r){r(439);var n=r(12);n.JSON||(n.JSON={stringify:JSON.stringify}),e.exports=function(e,t,r){return n.JSON.stringify.apply(null,arguments)}},function(e,t,r){var n=r(7),o=r(43),a=r(13),i=o("JSON","stringify"),s=/[\uD800-\uDFFF]/g,c=/^[\uD800-\uDBFF]$/,l=/^[\uDC00-\uDFFF]$/,u=function(e,t,r){var n=r.charAt(t-1),o=r.charAt(t+1);return c.test(e)&&!l.test(o)||l.test(e)&&!c.test(n)?"\\u"+e.charCodeAt(0).toString(16):e},p=a((function(){return'"\\udf06\\ud834"'!==i("\udf06\ud834")||'"\\udead"'!==i("\udead")}));i&&n({target:"JSON",stat:!0,forced:p},{stringify:function(e,t,r){var n=i.apply(null,arguments);return"string"==typeof n?n.replace(s,u):n}})},function(e,t,r){var n=r(441);e.exports=n},function(e,t,r){var n=r(442),o=Array.prototype;e.exports=function(e){var t=e.some;return e===o||e instanceof Array&&t===o.some?n:t}},function(e,t,r){r(443);var n=r(27);e.exports=n("Array").some},function(e,t,r){"use strict";var n=r(7),o=r(49).some,a=r(93),i=r(39),s=a("some"),c=i("some");n({target:"Array",proto:!0,forced:!s||!c},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(227);e.exports=n},function(e,t,r){e.exports=r(446)},function(e,t,r){var n=r(447);e.exports=n},function(e,t,r){r(229),r(75),r(55);var n=r(150);e.exports=n.f("iterator")},function(e,t,r){var n=r(156);e.exports=function(e){if(n(e))return e}},function(e,t,r){var n=r(226),o=r(237),a=r(122);e.exports=function(e,t){if(void 0!==a&&o(Object(e))){var r=[],i=!0,s=!1,c=void 0;try{for(var l,u=n(e);!(i=(l=u.next()).done)&&(r.push(l.value),!t||r.length!==t);i=!0);}catch(e){s=!0,c=e}finally{try{i||null==u.return||u.return()}finally{if(s)throw c}}return r}}},function(e,t,r){r(55),r(75);var n=r(451);e.exports=n},function(e,t,r){var n=r(71),o=r(14),a=r(61),i=o("iterator");e.exports=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||a.hasOwnProperty(n(t))}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,r){var n=r(231);e.exports=n},function(e,t,r){var n=r(455);e.exports=n},function(e,t,r){var n=r(456),o=Array.prototype;e.exports=function(e){var t=e.reduce;return e===o||e instanceof Array&&t===o.reduce?n:t}},function(e,t,r){r(457);var n=r(27);e.exports=n("Array").reduce},function(e,t,r){"use strict";var n=r(7),o=r(458).left,a=r(93),i=r(39),s=a("reduce"),c=i("reduce",{1:0});n({target:"Array",proto:!0,forced:!s||!c},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(48),o=r(44),a=r(109),i=r(54),s=function(e){return function(t,r,s,c){n(r);var l=o(t),u=a(l),p=i(l.length),f=e?p-1:0,d=e?-1:1;if(s<2)for(;;){if(f in u){c=u[f],f+=d;break}if(f+=d,e?f<0:p<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:p>f;f+=d)f in u&&(c=r(c,u[f],f,l));return c}};e.exports={left:s(!1),right:s(!0)}},function(e,t,r){r(55);var n=r(460),o=r(71),a=Array.prototype,i={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.entries;return e===a||e instanceof Array&&t===a.entries||i.hasOwnProperty(o(e))?n:t}},function(e,t,r){var n=r(461);e.exports=n},function(e,t,r){r(197);var n=r(27);e.exports=n("Array").entries},function(e,t,r){var n=r(463);e.exports=n},function(e,t,r){var n=r(464),o=r(466),a=Array.prototype,i=String.prototype;e.exports=function(e){var t=e.includes;return e===a||e instanceof Array&&t===a.includes?n:"string"==typeof e||e===i||e instanceof String&&t===i.includes?o:t}},function(e,t,r){r(465);var n=r(27);e.exports=n("Array").includes},function(e,t,r){"use strict";var n=r(7),o=r(138).includes,a=r(143);n({target:"Array",proto:!0,forced:!r(39)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},function(e,t,r){r(467);var n=r(27);e.exports=n("String").includes},function(e,t,r){"use strict";var n=r(7),o=r(468),a=r(110);n({target:"String",proto:!0,forced:!r(470)("includes")},{includes:function(e){return!!~String(a(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(469);e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,r){var n=r(17),o=r(60),a=r(14)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},function(e,t,r){var n=r(14)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,r){var n=r(238);e.exports=n},function(e,t,r){r(473);var n=r(27);e.exports=n("Array").indexOf},function(e,t,r){"use strict";var n=r(7),o=r(138).indexOf,a=r(93),i=r(39),s=[].indexOf,c=!!s&&1/[1].indexOf(1,-0)<0,l=a("indexOf"),u=i("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:c||!l||!u},{indexOf:function(e){return c?s.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){e.exports=r(475)},function(e,t,r){var n=r(239);r(481),r(482),r(483),r(484),e.exports=n},function(e,t,r){"use strict";var n,o,a,i,s=r(7),c=r(70),l=r(16),u=r(43),p=r(240),f=r(91),d=r(159),h=r(62),v=r(477),m=r(17),g=r(48),y=r(160),b=r(60),x=r(199),w=r(76),k=r(234),S=r(241),A=r(242).set,O=r(478),E=r(244),D=r(479),C=r(97),j=r(123),_=r(56),T=r(193),I=r(14),F=r(149),P=I("species"),R="Promise",B=_.get,L=_.set,N=_.getterFor(R),M=p,q=l.TypeError,z=l.document,U=l.process,$=u("fetch"),H=C.f,W=H,V="process"==b(U),Y=!!(z&&z.createEvent&&l.dispatchEvent),K=T(R,(function(){if(!(x(M)!==String(M))){if(66===F)return!0;if(!V&&"function"!=typeof PromiseRejectionEvent)return!0}if(c&&!M.prototype.finally)return!0;if(F>=51&&/native code/.test(M))return!1;var e=M.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[P]=t,!(e.then((function(){}))instanceof t)})),G=K||!k((function(e){M.all(e).catch((function(){}))})),J=function(e){var t;return!(!m(e)||"function"!=typeof(t=e.then))&&t},Q=function(e,t,r){if(!t.notified){t.notified=!0;var n=t.reactions;O((function(){for(var o=t.value,a=1==t.state,i=0;n.length>i;){var s,c,l,u=n[i++],p=a?u.ok:u.fail,f=u.resolve,d=u.reject,h=u.domain;try{p?(a||(2===t.rejection&&te(e,t),t.rejection=1),!0===p?s=o:(h&&h.enter(),s=p(o),h&&(h.exit(),l=!0)),s===u.promise?d(q("Promise-chain cycle")):(c=J(s))?c.call(s,f,d):f(s)):d(o)}catch(e){h&&!l&&h.exit(),d(e)}}t.reactions=[],t.notified=!1,r&&!t.rejection&&Z(e,t)}))}},X=function(e,t,r){var n,o;Y?((n=z.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),l.dispatchEvent(n)):n={promise:t,reason:r},(o=l["on"+e])?o(n):"unhandledrejection"===e&&D("Unhandled promise rejection",r)},Z=function(e,t){A.call(l,(function(){var r,n=t.value;if(ee(t)&&(r=j((function(){V?U.emit("unhandledRejection",n,e):X("unhandledrejection",e,n)})),t.rejection=V||ee(t)?2:1,r.error))throw r.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){A.call(l,(function(){V?U.emit("rejectionHandled",e):X("rejectionhandled",e,t.value)}))},re=function(e,t,r,n){return function(o){e(t,r,o,n)}},ne=function(e,t,r,n){t.done||(t.done=!0,n&&(t=n),t.value=r,t.state=2,Q(e,t,!0))},oe=function(e,t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(e===r)throw q("Promise can't be resolved itself");var o=J(r);o?O((function(){var n={done:!1};try{o.call(r,re(oe,e,n,t),re(ne,e,n,t))}catch(r){ne(e,n,r,t)}})):(t.value=r,t.state=1,Q(e,t,!1))}catch(r){ne(e,{done:!1},r,t)}}};K&&(M=function(e){y(this,M,R),g(e),n.call(this);var t=B(this);try{e(re(oe,this,t),re(ne,this,t))}catch(e){ne(this,t,e)}},(n=function(e){L(this,{type:R,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(M.prototype,{then:function(e,t){var r=N(this),n=H(S(this,M));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=V?U.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&Q(this,r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n,t=B(e);this.promise=e,this.resolve=re(oe,e,t),this.reject=re(ne,e,t)},C.f=H=function(e){return e===M||e===a?new o(e):W(e)},c||"function"!=typeof p||(i=p.prototype.then,f(p.prototype,"then",(function(e,t){var r=this;return new M((function(e,t){i.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof $&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return E(M,$.apply(l,arguments))}}))),s({global:!0,wrap:!0,forced:K},{Promise:M}),h(M,R,!1,!0),v(R),a=u(R),s({target:R,stat:!0,forced:K},{reject:function(e){var t=H(this);return t.reject.call(void 0,e),t.promise}}),s({target:R,stat:!0,forced:c||K},{resolve:function(e){return E(c&&this===a?M:this,e)}}),s({target:R,stat:!0,forced:G},{all:function(e){var t=this,r=H(t),n=r.resolve,o=r.reject,a=j((function(){var r=g(t.resolve),a=[],i=0,s=1;w(e,(function(e){var c=i++,l=!1;a.push(void 0),s++,r.call(t,e).then((function(e){l||(l=!0,a[c]=e,--s||n(a))}),o)})),--s||n(a)}));return a.error&&o(a.value),r.promise},race:function(e){var t=this,r=H(t),n=r.reject,o=j((function(){var o=g(t.resolve);w(e,(function(e){o.call(t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},function(e,t,r){"use strict";var n=r(43),o=r(38),a=r(14),i=r(22),s=a("species");e.exports=function(e){var t=n(e),r=o.f;i&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,r){var n,o,a,i,s,c,l,u,p=r(16),f=r(68).f,d=r(60),h=r(242).set,v=r(243),m=p.MutationObserver||p.WebKitMutationObserver,g=p.process,y=p.Promise,b="process"==d(g),x=f(p,"queueMicrotask"),w=x&&x.value;w||(n=function(){var e,t;for(b&&(e=g.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?i():a=void 0,e}}a=void 0,e&&e.enter()},b?i=function(){g.nextTick(n)}:m&&!v?(s=!0,c=document.createTextNode(""),new m(n).observe(c,{characterData:!0}),i=function(){c.data=s=!s}):y&&y.resolve?(l=y.resolve(void 0),u=l.then,i=function(){u.call(l,n)}):i=function(){h.call(p,n)}),e.exports=w||function(e){var t={fn:e,next:void 0};a&&(a.next=t),o||(o=t,i()),a=t}},function(e,t,r){var n=r(16);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},function(e,t,r){"use strict";var n=r(7),o=r(70),a=r(240),i=r(13),s=r(43),c=r(241),l=r(244),u=r(91);n({target:"Promise",proto:!0,real:!0,forced:!!a&&i((function(){a.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,s("Promise")),r="function"==typeof e;return this.then(r?function(r){return l(t,e()).then((function(){return r}))}:e,r?function(r){return l(t,e()).then((function(){throw r}))}:e)}}),o||"function"!=typeof a||a.prototype.finally||u(a.prototype,"finally",s("Promise").prototype.finally)},function(e,t,r){"use strict";var n=r(7),o=r(22),a=r(89),i=r(147),s=r(90),c=r(38),l=r(69),u=r(76),p=r(37),f=r(56),d=f.set,h=f.getterFor("AggregateError"),v=function(e,t){var r=this;if(!(r instanceof v))return new v(e,t);i&&(r=i(new Error(t),a(r)));var n=[];return u(e,n.push,n),o?d(r,{errors:n,type:"AggregateError"}):r.errors=n,void 0!==t&&p(r,"message",String(t)),r};v.prototype=s(Error.prototype,{constructor:l(5,v),message:l(5,""),name:l(5,"AggregateError")}),o&&c.f(v.prototype,"errors",{get:function(){return h(this).errors},configurable:!0}),n({global:!0},{AggregateError:v})},function(e,t,r){r(245)},function(e,t,r){"use strict";var n=r(7),o=r(97),a=r(123);n({target:"Promise",stat:!0},{try:function(e){var t=o.f(this),r=a(e);return(r.error?t.reject:t.resolve)(r.value),t.promise}})},function(e,t,r){"use strict";var n=r(7),o=r(48),a=r(43),i=r(97),s=r(123),c=r(76);n({target:"Promise",stat:!0},{any:function(e){var t=this,r=i.f(t),n=r.resolve,l=r.reject,u=s((function(){var r=o(t.resolve),i=[],s=0,u=1,p=!1;c(e,(function(e){var o=s++,c=!1;i.push(void 0),u++,r.call(t,e).then((function(e){c||p||(p=!0,n(e))}),(function(e){c||p||(c=!0,i[o]=e,--u||l(new(a("AggregateError"))(i,"No one promise resolved")))}))})),--u||l(new(a("AggregateError"))(i,"No one promise resolved"))}));return u.error&&l(u.value),r.promise}})},function(e,t){!function(e){!function(t){var r="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,o="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),a="FormData"in e,i="ArrayBuffer"in e;if(i)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function l(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function p(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function d(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function v(e){var t=new FileReader,r=h(t);return t.readAsArrayBuffer(e),r}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:a&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():i&&o&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i&&(ArrayBuffer.prototype.isPrototypeOf(e)||c(e))?this._bodyArrayBuffer=m(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(v)}),this.text=function(){var e,t,r,n=d(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,r=h(t),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(x)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=l(e),t=u(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},f.prototype.delete=function(e){delete this.map[l(e)]},f.prototype.get=function(e){return e=l(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(l(e))},f.prototype.set=function(e,t){this.map[l(e)]=u(t)},f.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),p(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),p(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),p(e)},n&&(f.prototype[Symbol.iterator]=f.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){var r,n,o=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new f(t.headers)),this.method=(r=t.method||this.method||"GET",n=r.toUpperCase(),y.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function x(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function w(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},g.call(b.prototype),g.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},w.error=function(){var e=new w(null,{status:0,statusText:""});return e.type="error",e};var k=[301,302,303,307,308];w.redirect=function(e,t){if(-1===k.indexOf(t))throw new RangeError("Invalid status code");return new w(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function S(e,r){return new Promise((function(n,a){var i=new b(e,r);if(i.signal&&i.signal.aborted)return a(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var e,t,r={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new f,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}})),t)};r.url="responseURL"in s?s.responseURL:r.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;n(new w(o,r))},s.onerror=function(){a(new TypeError("Network request failed"))},s.ontimeout=function(){a(new TypeError("Network request failed"))},s.onabort=function(){a(new t.DOMException("Aborted","AbortError"))},s.open(i.method,i.url,!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&o&&(s.responseType="blob"),i.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),i.signal&&(i.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&i.signal.removeEventListener("abort",c)}),s.send(void 0===i._bodyInit?null:i._bodyInit)}))}S.polyfill=!0,e.fetch||(e.fetch=S,e.Headers=f,e.Request=b,e.Response=w),t.Headers=f,t.Request=b,t.Response=w,t.fetch=S}({})}("undefined"!=typeof self?self:this)},function(e,t,r){"use strict";var n=r(487),o=r(506);function a(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}e.exports.Type=r(20),e.exports.Schema=r(78),e.exports.FAILSAFE_SCHEMA=r(161),e.exports.JSON_SCHEMA=r(247),e.exports.CORE_SCHEMA=r(246),e.exports.DEFAULT_SAFE_SCHEMA=r(99),e.exports.DEFAULT_FULL_SCHEMA=r(124),e.exports.load=n.load,e.exports.loadAll=n.loadAll,e.exports.safeLoad=n.safeLoad,e.exports.safeLoadAll=n.safeLoadAll,e.exports.dump=o.dump,e.exports.safeDump=o.safeDump,e.exports.YAMLException=r(98),e.exports.MINIMAL_SCHEMA=r(161),e.exports.SAFE_SCHEMA=r(99),e.exports.DEFAULT_SCHEMA=r(124),e.exports.scan=a("scan"),e.exports.parse=a("parse"),e.exports.compose=a("compose"),e.exports.addConstructor=a("addConstructor")},function(e,t,r){"use strict";var n=r(77),o=r(98),a=r(488),i=r(99),s=r(124),c=Object.prototype.hasOwnProperty,l=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[\x85\u2028\u2029]/,p=/[,\[\]\{\}]/,f=/^(?:!|!!|![a-z\-]+!)$/i,d=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function h(e){return Object.prototype.toString.call(e)}function v(e){return 10===e||13===e}function m(e){return 9===e||32===e}function g(e){return 9===e||32===e||10===e||13===e}function y(e){return 44===e||91===e||93===e||123===e||125===e}function b(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function x(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":""}function w(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var k=new Array(256),S=new Array(256),A=0;A<256;A++)k[A]=x(A)?1:0,S[A]=x(A);function O(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||s,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.documents=[]}function E(e,t){return new o(t,new a(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function D(e,t){throw E(e,t)}function C(e,t){e.onWarning&&e.onWarning.call(null,E(e,t))}var j={YAML:function(e,t,r){var n,o,a;null!==e.version&&D(e,"duplication of %YAML directive"),1!==r.length&&D(e,"YAML directive accepts exactly one argument"),null===(n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&D(e,"ill-formed argument of the YAML directive"),o=parseInt(n[1],10),a=parseInt(n[2],10),1!==o&&D(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=a<2,1!==a&&2!==a&&C(e,"unsupported YAML version of the document")},TAG:function(e,t,r){var n,o;2!==r.length&&D(e,"TAG directive accepts exactly two arguments"),n=r[0],o=r[1],f.test(n)||D(e,"ill-formed tag handle (first argument) of the TAG directive"),c.call(e.tagMap,n)&&D(e,'there is a previously declared suffix for "'+n+'" tag handle'),d.test(o)||D(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[n]=o}};function _(e,t,r,n){var o,a,i,s;if(t<r){if(s=e.input.slice(t,r),n)for(o=0,a=s.length;o<a;o+=1)9===(i=s.charCodeAt(o))||32<=i&&i<=1114111||D(e,"expected valid JSON character");else l.test(s)&&D(e,"the stream contains non-printable characters");e.result+=s}}function T(e,t,r,o){var a,i,s,l;for(n.isObject(r)||D(e,"cannot merge mappings; the provided source object is unacceptable"),s=0,l=(a=Object.keys(r)).length;s<l;s+=1)i=a[s],c.call(t,i)||(t[i]=r[i],o[i]=!0)}function I(e,t,r,n,o,a,i,s){var l,u;if(Array.isArray(o))for(l=0,u=(o=Array.prototype.slice.call(o)).length;l<u;l+=1)Array.isArray(o[l])&&D(e,"nested arrays are not supported inside keys"),"object"==typeof o&&"[object Object]"===h(o[l])&&(o[l]="[object Object]");if("object"==typeof o&&"[object Object]"===h(o)&&(o="[object Object]"),o=String(o),null===t&&(t={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(a))for(l=0,u=a.length;l<u;l+=1)T(e,t,a[l],r);else T(e,t,a,r);else e.json||c.call(r,o)||!c.call(t,o)||(e.line=i||e.line,e.position=s||e.position,D(e,"duplicated mapping key")),t[o]=a,delete r[o];return t}function F(e){var t;10===(t=e.input.charCodeAt(e.position))?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):D(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function P(e,t,r){for(var n=0,o=e.input.charCodeAt(e.position);0!==o;){for(;m(o);)o=e.input.charCodeAt(++e.position);if(t&&35===o)do{o=e.input.charCodeAt(++e.position)}while(10!==o&&13!==o&&0!==o);if(!v(o))break;for(F(e),o=e.input.charCodeAt(e.position),n++,e.lineIndent=0;32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position)}return-1!==r&&0!==n&&e.lineIndent<r&&C(e,"deficient indentation"),n}function R(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)||(r+=3,0!==(t=e.input.charCodeAt(r))&&!g(t)))}function B(e,t){1===t?e.result+=" ":t>1&&(e.result+=n.repeat("\n",t-1))}function L(e,t){var r,n,o=e.tag,a=e.anchor,i=[],s=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),n=e.input.charCodeAt(e.position);0!==n&&45===n&&g(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,P(e,!0,-1)&&e.lineIndent<=t)i.push(null),n=e.input.charCodeAt(e.position);else if(r=e.line,q(e,t,3,!1,!0),i.push(e.result),P(e,!0,-1),n=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&0!==n)D(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return!!s&&(e.tag=o,e.anchor=a,e.kind="sequence",e.result=i,!0)}function N(e){var t,r,n,o,a=!1,i=!1;if(33!==(o=e.input.charCodeAt(e.position)))return!1;if(null!==e.tag&&D(e,"duplication of a tag property"),60===(o=e.input.charCodeAt(++e.position))?(a=!0,o=e.input.charCodeAt(++e.position)):33===o?(i=!0,r="!!",o=e.input.charCodeAt(++e.position)):r="!",t=e.position,a){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&62!==o);e.position<e.length?(n=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):D(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==o&&!g(o);)33===o&&(i?D(e,"tag suffix cannot contain exclamation marks"):(r=e.input.slice(t-1,e.position+1),f.test(r)||D(e,"named tag handle cannot contain such characters"),i=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);n=e.input.slice(t,e.position),p.test(n)&&D(e,"tag suffix cannot contain flow indicator characters")}return n&&!d.test(n)&&D(e,"tag name cannot contain such characters: "+n),a?e.tag=n:c.call(e.tagMap,r)?e.tag=e.tagMap[r]+n:"!"===r?e.tag="!"+n:"!!"===r?e.tag="tag:yaml.org,2002:"+n:D(e,'undeclared tag handle "'+r+'"'),!0}function M(e){var t,r;if(38!==(r=e.input.charCodeAt(e.position)))return!1;for(null!==e.anchor&&D(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!g(r)&&!y(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&D(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function q(e,t,r,o,a){var i,s,l,u,p,f,d,h,x=1,A=!1,O=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,i=s=l=4===r||3===r,o&&P(e,!0,-1)&&(A=!0,e.lineIndent>t?x=1:e.lineIndent===t?x=0:e.lineIndent<t&&(x=-1)),1===x)for(;N(e)||M(e);)P(e,!0,-1)?(A=!0,l=i,e.lineIndent>t?x=1:e.lineIndent===t?x=0:e.lineIndent<t&&(x=-1)):l=!1;if(l&&(l=A||a),1!==x&&4!==r||(d=1===r||2===r?t:t+1,h=e.position-e.lineStart,1===x?l&&(L(e,h)||function(e,t,r){var n,o,a,i,s,c=e.tag,l=e.anchor,u={},p={},f=null,d=null,h=null,v=!1,y=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=u),s=e.input.charCodeAt(e.position);0!==s;){if(n=e.input.charCodeAt(e.position+1),a=e.line,i=e.position,63!==s&&58!==s||!g(n)){if(!q(e,r,2,!1,!0))break;if(e.line===a){for(s=e.input.charCodeAt(e.position);m(s);)s=e.input.charCodeAt(++e.position);if(58===s)g(s=e.input.charCodeAt(++e.position))||D(e,"a whitespace character is expected after the key-value separator within a block mapping"),v&&(I(e,u,p,f,d,null),f=d=h=null),y=!0,v=!1,o=!1,f=e.tag,d=e.result;else{if(!y)return e.tag=c,e.anchor=l,!0;D(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!y)return e.tag=c,e.anchor=l,!0;D(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===s?(v&&(I(e,u,p,f,d,null),f=d=h=null),y=!0,v=!0,o=!0):v?(v=!1,o=!0):D(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,s=n;if((e.line===a||e.lineIndent>t)&&(q(e,t,4,!0,o)&&(v?d=e.result:h=e.result),v||(I(e,u,p,f,d,h,a,i),f=d=h=null),P(e,!0,-1),s=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==s)D(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return v&&I(e,u,p,f,d,null),y&&(e.tag=c,e.anchor=l,e.kind="mapping",e.result=u),y}(e,h,d))||function(e,t){var r,n,o,a,i,s,c,l,u,p,f=!0,d=e.tag,h=e.anchor,v={};if(91===(p=e.input.charCodeAt(e.position)))o=93,s=!1,n=[];else{if(123!==p)return!1;o=125,s=!0,n={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=n),p=e.input.charCodeAt(++e.position);0!==p;){if(P(e,!0,t),(p=e.input.charCodeAt(e.position))===o)return e.position++,e.tag=d,e.anchor=h,e.kind=s?"mapping":"sequence",e.result=n,!0;f||D(e,"missed comma between flow collection entries"),u=null,a=i=!1,63===p&&g(e.input.charCodeAt(e.position+1))&&(a=i=!0,e.position++,P(e,!0,t)),r=e.line,q(e,t,1,!1,!0),l=e.tag,c=e.result,P(e,!0,t),p=e.input.charCodeAt(e.position),!i&&e.line!==r||58!==p||(a=!0,p=e.input.charCodeAt(++e.position),P(e,!0,t),q(e,t,1,!1,!0),u=e.result),s?I(e,n,v,l,c,u):a?n.push(I(e,null,v,l,c,u)):n.push(c),P(e,!0,t),44===(p=e.input.charCodeAt(e.position))?(f=!0,p=e.input.charCodeAt(++e.position)):f=!1}D(e,"unexpected end of the stream within a flow collection")}(e,d)?O=!0:(s&&function(e,t){var r,o,a,i,s,c=1,l=!1,u=!1,p=t,f=0,d=!1;if(124===(i=e.input.charCodeAt(e.position)))o=!1;else{if(62!==i)return!1;o=!0}for(e.kind="scalar",e.result="";0!==i;)if(43===(i=e.input.charCodeAt(++e.position))||45===i)1===c?c=43===i?3:2:D(e,"repeat of a chomping mode identifier");else{if(!((a=48<=(s=i)&&s<=57?s-48:-1)>=0))break;0===a?D(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):u?D(e,"repeat of an indentation width identifier"):(p=t+a-1,u=!0)}if(m(i)){do{i=e.input.charCodeAt(++e.position)}while(m(i));if(35===i)do{i=e.input.charCodeAt(++e.position)}while(!v(i)&&0!==i)}for(;0!==i;){for(F(e),e.lineIndent=0,i=e.input.charCodeAt(e.position);(!u||e.lineIndent<p)&&32===i;)e.lineIndent++,i=e.input.charCodeAt(++e.position);if(!u&&e.lineIndent>p&&(p=e.lineIndent),v(i))f++;else{if(e.lineIndent<p){3===c?e.result+=n.repeat("\n",l?1+f:f):1===c&&l&&(e.result+="\n");break}for(o?m(i)?(d=!0,e.result+=n.repeat("\n",l?1+f:f)):d?(d=!1,e.result+=n.repeat("\n",f+1)):0===f?l&&(e.result+=" "):e.result+=n.repeat("\n",f):e.result+=n.repeat("\n",l?1+f:f),l=!0,u=!0,f=0,r=e.position;!v(i)&&0!==i;)i=e.input.charCodeAt(++e.position);_(e,r,e.position,!1)}}return!0}(e,d)||function(e,t){var r,n,o;if(39!==(r=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,n=o=e.position;0!==(r=e.input.charCodeAt(e.position));)if(39===r){if(_(e,n,e.position,!0),39!==(r=e.input.charCodeAt(++e.position)))return!0;n=e.position,e.position++,o=e.position}else v(r)?(_(e,n,o,!0),B(e,P(e,!1,t)),n=o=e.position):e.position===e.lineStart&&R(e)?D(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);D(e,"unexpected end of the stream within a single quoted scalar")}(e,d)||function(e,t){var r,n,o,a,i,s,c;if(34!==(s=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;0!==(s=e.input.charCodeAt(e.position));){if(34===s)return _(e,r,e.position,!0),e.position++,!0;if(92===s){if(_(e,r,e.position,!0),v(s=e.input.charCodeAt(++e.position)))P(e,!1,t);else if(s<256&&k[s])e.result+=S[s],e.position++;else if((i=120===(c=s)?2:117===c?4:85===c?8:0)>0){for(o=i,a=0;o>0;o--)(i=b(s=e.input.charCodeAt(++e.position)))>=0?a=(a<<4)+i:D(e,"expected hexadecimal character");e.result+=w(a),e.position++}else D(e,"unknown escape sequence");r=n=e.position}else v(s)?(_(e,r,n,!0),B(e,P(e,!1,t)),r=n=e.position):e.position===e.lineStart&&R(e)?D(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}D(e,"unexpected end of the stream within a double quoted scalar")}(e,d)?O=!0:!function(e){var t,r,n;if(42!==(n=e.input.charCodeAt(e.position)))return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!g(n)&&!y(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&D(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),e.anchorMap.hasOwnProperty(r)||D(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],P(e,!0,-1),!0}(e)?function(e,t,r){var n,o,a,i,s,c,l,u,p=e.kind,f=e.result;if(g(u=e.input.charCodeAt(e.position))||y(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(g(n=e.input.charCodeAt(e.position+1))||r&&y(n)))return!1;for(e.kind="scalar",e.result="",o=a=e.position,i=!1;0!==u;){if(58===u){if(g(n=e.input.charCodeAt(e.position+1))||r&&y(n))break}else if(35===u){if(g(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&R(e)||r&&y(u))break;if(v(u)){if(s=e.line,c=e.lineStart,l=e.lineIndent,P(e,!1,-1),e.lineIndent>=t){i=!0,u=e.input.charCodeAt(e.position);continue}e.position=a,e.line=s,e.lineStart=c,e.lineIndent=l;break}}i&&(_(e,o,a,!1),B(e,e.line-s),o=a=e.position,i=!1),m(u)||(a=e.position+1),u=e.input.charCodeAt(++e.position)}return _(e,o,a,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,d,1===r)&&(O=!0,null===e.tag&&(e.tag="?")):(O=!0,null===e.tag&&null===e.anchor||D(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===x&&(O=l&&L(e,h))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&D(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),u=0,p=e.implicitTypes.length;u<p;u+=1)if((f=e.implicitTypes[u]).resolve(e.result)){e.result=f.construct(e.result),e.tag=f.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else c.call(e.typeMap[e.kind||"fallback"],e.tag)?(f=e.typeMap[e.kind||"fallback"][e.tag],null!==e.result&&f.kind!==e.kind&&D(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+f.kind+'", not "'+e.kind+'"'),f.resolve(e.result)?(e.result=f.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):D(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):D(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||O}function z(e){var t,r,n,o,a=e.position,i=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(o=e.input.charCodeAt(e.position))&&(P(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(i=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!g(o);)o=e.input.charCodeAt(++e.position);for(n=[],(r=e.input.slice(t,e.position)).length<1&&D(e,"directive name must not be less than one character in length");0!==o;){for(;m(o);)o=e.input.charCodeAt(++e.position);if(35===o){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&!v(o));break}if(v(o))break;for(t=e.position;0!==o&&!g(o);)o=e.input.charCodeAt(++e.position);n.push(e.input.slice(t,e.position))}0!==o&&F(e),c.call(j,r)?j[r](e,r,n):C(e,'unknown document directive "'+r+'"')}P(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,P(e,!0,-1)):i&&D(e,"directives end mark is expected"),q(e,e.lineIndent-1,4,!1,!0),P(e,!0,-1),e.checkLineBreaks&&u.test(e.input.slice(a,e.position))&&C(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&R(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,P(e,!0,-1)):e.position<e.length-1&&D(e,"end of the stream or a document separator is expected")}function U(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 O(e,t),n=e.indexOf("\0");for(-1!==n&&(r.position=n,D(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;)z(r);return r.documents}function $(e,t,r){null!==t&&"object"==typeof t&&void 0===r&&(r=t,t=null);var n=U(e,r);if("function"!=typeof t)return n;for(var o=0,a=n.length;o<a;o+=1)t(n[o])}function H(e,t){var r=U(e,t);if(0!==r.length){if(1===r.length)return r[0];throw new o("expected a single document in the stream, but found more")}}e.exports.loadAll=$,e.exports.load=H,e.exports.safeLoadAll=function(e,t,r){return"object"==typeof t&&null!==t&&void 0===r&&(r=t,t=null),$(e,t,n.extend({schema:i},r))},e.exports.safeLoad=function(e,t){return H(e,n.extend({schema:i},t))}},function(e,t,r){"use strict";var n=r(77);function o(e,t,r,n,o){this.name=e,this.buffer=t,this.position=r,this.line=n,this.column=o}o.prototype.getSnippet=function(e,t){var r,o,a,i,s;if(!this.buffer)return null;for(e=e||4,t=t||75,r="",o=this.position;o>0&&-1==="\0\r\nÂ…\u2028\u2029".indexOf(this.buffer.charAt(o-1));)if(o-=1,this.position-o>t/2-1){r=" ... ",o+=5;break}for(a="",i=this.position;i<this.buffer.length&&-1==="\0\r\nÂ…\u2028\u2029".indexOf(this.buffer.charAt(i));)if((i+=1)-this.position>t/2-1){a=" ... ",i-=5;break}return s=this.buffer.slice(o,i),n.repeat(" ",e)+r+s+a+"\n"+n.repeat(" ",e+this.position-o+r.length)+"^"},o.prototype.toString=function(e){var t,r="";return this.name&&(r+='in "'+this.name+'" '),r+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(r+=":\n"+t),r},e.exports=o},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}})},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})},function(e,t,r){"use strict";var n=r(20);e.exports=new n("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"}},defaultStyle:"lowercase"})},function(e,t,r){"use strict";var n=r(20);e.exports=new n("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"})},function(e,t,r){"use strict";var n=r(77),o=r(20);function a(e){return 48<=e&&e<=55}function i(e){return 48<=e&&e<=57}e.exports=new o("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,r,n=e.length,o=0,s=!1;if(!n)return!1;if("-"!==(t=e[o])&&"+"!==t||(t=e[++o]),"0"===t){if(o+1===n)return!0;if("b"===(t=e[++o])){for(o++;o<n;o++)if("_"!==(t=e[o])){if("0"!==t&&"1"!==t)return!1;s=!0}return s&&"_"!==t}if("x"===t){for(o++;o<n;o++)if("_"!==(t=e[o])){if(!(48<=(r=e.charCodeAt(o))&&r<=57||65<=r&&r<=70||97<=r&&r<=102))return!1;s=!0}return s&&"_"!==t}for(;o<n;o++)if("_"!==(t=e[o])){if(!a(e.charCodeAt(o)))return!1;s=!0}return s&&"_"!==t}if("_"===t)return!1;for(;o<n;o++)if("_"!==(t=e[o])){if(":"===t)break;if(!i(e.charCodeAt(o)))return!1;s=!0}return!(!s||"_"===t)&&(":"!==t||/^(:[0-5]?[0-9])+$/.test(e.slice(o)))},construct:function(e){var t,r,n=e,o=1,a=[];return-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),"-"!==(t=n[0])&&"+"!==t||("-"===t&&(o=-1),t=(n=n.slice(1))[0]),"0"===n?0:"0"===t?"b"===n[1]?o*parseInt(n.slice(2),2):"x"===n[1]?o*parseInt(n,16):o*parseInt(n,8):-1!==n.indexOf(":")?(n.split(":").forEach((function(e){a.unshift(parseInt(e,10))})),n=0,r=1,a.forEach((function(e){n+=e*r,r*=60})),o*n):o*parseInt(n,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!n.isNegativeZero(e)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(e,t,r){"use strict";var n=r(77),o=r(20),a=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var i=/^[-+]?[0-9]+e/;e.exports=new o("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!a.test(e)||"_"===e[e.length-1])},construct:function(e){var t,r,n,o;return r="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,o=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===r?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){o.unshift(parseFloat(e,10))})),t=0,n=1,o.forEach((function(e){t+=e*n,n*=60})),r*t):r*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||n.isNegativeZero(e))},represent:function(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(n.isNegativeZero(e))return"-0.0";return r=e.toString(10),i.test(r)?r.replace("e",".e"):r},defaultStyle:"lowercase"})},function(e,t,r){"use strict";var n=r(20),o=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),a=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]))?))?$");e.exports=new n("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==o.exec(e)||null!==a.exec(e))},construct:function(e){var t,r,n,i,s,c,l,u,p=0,f=null;if(null===(t=o.exec(e))&&(t=a.exec(e)),null===t)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(r,n,i));if(s=+t[4],c=+t[5],l=+t[6],t[7]){for(p=t[7].slice(0,3);p.length<3;)p+="0";p=+p}return t[9]&&(f=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(f=-f)),u=new Date(Date.UTC(r,n,i,s,c,l,p)),f&&u.setTime(u.getTime()-f),u},instanceOf:Date,represent:function(e){return e.toISOString()}})},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})},function(e,t,r){"use strict";var n;try{n=r(33).Buffer}catch(e){}var o=r(20),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";e.exports=new o("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,r,n=0,o=e.length,i=a;for(r=0;r<o;r++)if(!((t=i.indexOf(e.charAt(r)))>64)){if(t<0)return!1;n+=6}return n%8==0},construct:function(e){var t,r,o=e.replace(/[\r\n=]/g,""),i=o.length,s=a,c=0,l=[];for(t=0;t<i;t++)t%4==0&&t&&(l.push(c>>16&255),l.push(c>>8&255),l.push(255&c)),c=c<<6|s.indexOf(o.charAt(t));return 0===(r=i%4*6)?(l.push(c>>16&255),l.push(c>>8&255),l.push(255&c)):18===r?(l.push(c>>10&255),l.push(c>>2&255)):12===r&&l.push(c>>4&255),n?n.from?n.from(l):new n(l):l},predicate:function(e){return n&&n.isBuffer(e)},represent:function(e){var t,r,n="",o=0,i=e.length,s=a;for(t=0;t<i;t++)t%3==0&&t&&(n+=s[o>>18&63],n+=s[o>>12&63],n+=s[o>>6&63],n+=s[63&o]),o=(o<<8)+e[t];return 0===(r=i%3)?(n+=s[o>>18&63],n+=s[o>>12&63],n+=s[o>>6&63],n+=s[63&o]):2===r?(n+=s[o>>10&63],n+=s[o>>4&63],n+=s[o<<2&63],n+=s[64]):1===r&&(n+=s[o>>2&63],n+=s[o<<4&63],n+=s[64],n+=s[64]),n}})},function(e,t,r){"use strict";var n=r(20),o=Object.prototype.hasOwnProperty,a=Object.prototype.toString;e.exports=new n("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,r,n,i,s,c=[],l=e;for(t=0,r=l.length;t<r;t+=1){if(n=l[t],s=!1,"[object Object]"!==a.call(n))return!1;for(i in n)if(o.call(n,i)){if(s)return!1;s=!0}if(!s)return!1;if(-1!==c.indexOf(i))return!1;c.push(i)}return!0},construct:function(e){return null!==e?e:[]}})},function(e,t,r){"use strict";var n=r(20),o=Object.prototype.toString;e.exports=new n("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,r,n,a,i,s=e;for(i=new Array(s.length),t=0,r=s.length;t<r;t+=1){if(n=s[t],"[object Object]"!==o.call(n))return!1;if(1!==(a=Object.keys(n)).length)return!1;i[t]=[a[0],n[a[0]]]}return!0},construct:function(e){if(null===e)return[];var t,r,n,o,a,i=e;for(a=new Array(i.length),t=0,r=i.length;t<r;t+=1)n=i[t],o=Object.keys(n),a[t]=[o[0],n[o[0]]];return a}})},function(e,t,r){"use strict";var n=r(20),o=Object.prototype.hasOwnProperty;e.exports=new n("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null===e)return!0;var t,r=e;for(t in r)if(o.call(r,t)&&null!==r[t])return!1;return!0},construct:function(e){return null!==e?e:{}}})},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:function(){return!0},construct:function(){},predicate:function(e){return void 0===e},represent:function(){return""}})},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:function(e){if(null===e)return!1;if(0===e.length)return!1;var t=e,r=/\/([gim]*)$/.exec(e),n="";if("/"===t[0]){if(r&&(n=r[1]),n.length>3)return!1;if("/"!==t[t.length-n.length-1])return!1}return!0},construct:function(e){var t=e,r=/\/([gim]*)$/.exec(e),n="";return"/"===t[0]&&(r&&(n=r[1]),t=t.slice(1,t.length-n.length-1)),new RegExp(t,n)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}})},function(e,t,r){"use strict";var n;try{n=r(505)}catch(e){"undefined"!=typeof window&&(n=window.esprima)}var o=r(20);e.exports=new o("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",r=n.parse(t,{range:!0});return"Program"===r.type&&1===r.body.length&&"ExpressionStatement"===r.body[0].type&&("ArrowFunctionExpression"===r.body[0].expression.type||"FunctionExpression"===r.body[0].expression.type)}catch(e){return!1}},construct:function(e){var t,r="("+e+")",o=n.parse(r,{range:!0}),a=[];if("Program"!==o.type||1!==o.body.length||"ExpressionStatement"!==o.body[0].type||"ArrowFunctionExpression"!==o.body[0].expression.type&&"FunctionExpression"!==o.body[0].expression.type)throw new Error("Failed to resolve function");return o.body[0].expression.params.forEach((function(e){a.push(e.name)})),t=o.body[0].expression.body.range,"BlockStatement"===o.body[0].expression.body.type?new Function(a,r.slice(t[0]+1,t[1]-1)):new Function(a,"return "+r.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}})},function(e,t){if("undefined"==typeof esprima){var r=new Error("Cannot find module 'esprima'");throw r.code="MODULE_NOT_FOUND",r}e.exports=esprima},function(e,t,r){"use strict";var n=r(77),o=r(98),a=r(124),i=r(99),s=Object.prototype.toString,c=Object.prototype.hasOwnProperty,l={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"},u=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function p(e){var t,r,a;if(t=e.toString(16).toUpperCase(),e<=255)r="x",a=2;else if(e<=65535)r="u",a=4;else{if(!(e<=4294967295))throw new o("code point within a string may not be greater than 0xFFFFFFFF");r="U",a=8}return"\\"+r+n.repeat("0",a-t.length)+t}function f(e){this.schema=e.schema||a,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=n.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var r,n,o,a,i,s,l;if(null===t)return{};for(r={},o=0,a=(n=Object.keys(t)).length;o<a;o+=1)i=n[o],s=String(t[i]),"!!"===i.slice(0,2)&&(i="tag:yaml.org,2002:"+i.slice(2)),(l=e.compiledTypeMap.fallback[i])&&c.call(l.styleAliases,s)&&(s=l.styleAliases[s]),r[i]=s;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.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function d(e,t){for(var r,o=n.repeat(" ",t),a=0,i=-1,s="",c=e.length;a<c;)-1===(i=e.indexOf("\n",a))?(r=e.slice(a),a=c):(r=e.slice(a,i+1),a=i+1),r.length&&"\n"!==r&&(s+=o),s+=r;return s}function h(e,t){return"\n"+n.repeat(" ",e.indent*t)}function v(e){return 32===e||9===e}function m(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 g(e,t){return m(e)&&65279!==e&&44!==e&&91!==e&&93!==e&&123!==e&&125!==e&&58!==e&&(35!==e||t&&function(e){return m(e)&&!v(e)&&65279!==e&&13!==e&&10!==e}(t))}function y(e){return/^\n* /.test(e)}function b(e,t,r,n,o){var a,i,s,c,l=!1,u=!1,p=-1!==n,f=-1,d=m(c=e.charCodeAt(0))&&65279!==c&&!v(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&&!v(e.charCodeAt(e.length-1));if(t)for(a=0;a<e.length;a++){if(!m(i=e.charCodeAt(a)))return 5;s=a>0?e.charCodeAt(a-1):null,d=d&&g(i,s)}else{for(a=0;a<e.length;a++){if(10===(i=e.charCodeAt(a)))l=!0,p&&(u=u||a-f-1>n&&" "!==e[f+1],f=a);else if(!m(i))return 5;s=a>0?e.charCodeAt(a-1):null,d=d&&g(i,s)}u=u||p&&a-f-1>n&&" "!==e[f+1]}return l||u?r>9&&y(e)?5:u?4:3:d&&!o(e)?1:2}function x(e,t,r,n){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==u.indexOf(t))return"'"+t+"'";var a=e.indent*Math.max(1,r),i=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),s=n||e.flowLevel>-1&&r>=e.flowLevel;switch(b(t,s,e.indent,i,(function(t){return function(e,t){var r,n;for(r=0,n=e.implicitTypes.length;r<n;r+=1)if(e.implicitTypes[r].resolve(t))return!0;return!1}(e,t)}))){case 1:return t;case 2:return"'"+t.replace(/'/g,"''")+"'";case 3:return"|"+w(t,e.indent)+k(d(t,a));case 4:return">"+w(t,e.indent)+k(d(function(e,t){var r,n,o=/(\n+)([^\n]*)/g,a=(s=e.indexOf("\n"),s=-1!==s?s:e.length,o.lastIndex=s,S(e.slice(0,s),t)),i="\n"===e[0]||" "===e[0];var s;for(;n=o.exec(e);){var c=n[1],l=n[2];r=" "===l[0],a+=c+(i||r||""===l?"":"\n")+S(l,t),i=r}return a}(t,i),a));case 5:return'"'+function(e){for(var t,r,n,o="",a=0;a<e.length;a++)(t=e.charCodeAt(a))>=55296&&t<=56319&&(r=e.charCodeAt(a+1))>=56320&&r<=57343?(o+=p(1024*(t-55296)+r-56320+65536),a++):(n=l[t],o+=!n&&m(t)?e[a]:n||p(t));return o}(t)+'"';default:throw new o("impossible error: invalid scalar style")}}()}function w(e,t){var r=y(e)?String(t):"",n="\n"===e[e.length-1];return r+(n&&("\n"===e[e.length-2]||"\n"===e)?"+":n?"":"-")+"\n"}function k(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function S(e,t){if(""===e||" "===e[0])return e;for(var r,n,o=/ [^ ]/g,a=0,i=0,s=0,c="";r=o.exec(e);)(s=r.index)-a>t&&(n=i>a?i:s,c+="\n"+e.slice(a,n),a=n+1),i=s;return c+="\n",e.length-a>t&&i>a?c+=e.slice(a,i)+"\n"+e.slice(i+1):c+=e.slice(a),c.slice(1)}function A(e,t,r){var n,a,i,l,u,p;for(i=0,l=(a=r?e.explicitTypes:e.implicitTypes).length;i<l;i+=1)if(((u=a[i]).instanceOf||u.predicate)&&(!u.instanceOf||"object"==typeof t&&t instanceof u.instanceOf)&&(!u.predicate||u.predicate(t))){if(e.tag=r?u.tag:"?",u.represent){if(p=e.styleMap[u.tag]||u.defaultStyle,"[object Function]"===s.call(u.represent))n=u.represent(t,p);else{if(!c.call(u.represent,p))throw new o("!<"+u.tag+'> tag resolver accepts not "'+p+'" style');n=u.represent[p](t,p)}e.dump=n}return!0}return!1}function O(e,t,r,n,a,i){e.tag=null,e.dump=r,A(e,r,!1)||A(e,r,!0);var c=s.call(e.dump);n&&(n=e.flowLevel<0||e.flowLevel>t);var l,u,p="[object Object]"===c||"[object Array]"===c;if(p&&(u=-1!==(l=e.duplicates.indexOf(r))),(null!==e.tag&&"?"!==e.tag||u||2!==e.indent&&t>0)&&(a=!1),u&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(p&&u&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),"[object Object]"===c)n&&0!==Object.keys(e.dump).length?(!function(e,t,r,n){var a,i,s,c,l,u,p="",f=e.tag,d=Object.keys(r);if(!0===e.sortKeys)d.sort();else if("function"==typeof e.sortKeys)d.sort(e.sortKeys);else if(e.sortKeys)throw new o("sortKeys must be a boolean or a function");for(a=0,i=d.length;a<i;a+=1)u="",n&&0===a||(u+=h(e,t)),c=r[s=d[a]],O(e,t+1,s,!0,!0,!0)&&((l=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024)&&(e.dump&&10===e.dump.charCodeAt(0)?u+="?":u+="? "),u+=e.dump,l&&(u+=h(e,t)),O(e,t+1,c,!0,l)&&(e.dump&&10===e.dump.charCodeAt(0)?u+=":":u+=": ",p+=u+=e.dump));e.tag=f,e.dump=p||"{}"}(e,t,e.dump,a),u&&(e.dump="&ref_"+l+e.dump)):(!function(e,t,r){var n,o,a,i,s,c="",l=e.tag,u=Object.keys(r);for(n=0,o=u.length;n<o;n+=1)s="",0!==n&&(s+=", "),e.condenseFlow&&(s+='"'),i=r[a=u[n]],O(e,t,a,!1,!1)&&(e.dump.length>1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),O(e,t,i,!1,!1)&&(c+=s+=e.dump));e.tag=l,e.dump="{"+c+"}"}(e,t,e.dump),u&&(e.dump="&ref_"+l+" "+e.dump));else if("[object Array]"===c){var f=e.noArrayIndent&&t>0?t-1:t;n&&0!==e.dump.length?(!function(e,t,r,n){var o,a,i="",s=e.tag;for(o=0,a=r.length;o<a;o+=1)O(e,t+1,r[o],!0,!0)&&(n&&0===o||(i+=h(e,t)),e.dump&&10===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump);e.tag=s,e.dump=i||"[]"}(e,f,e.dump,a),u&&(e.dump="&ref_"+l+e.dump)):(!function(e,t,r){var n,o,a="",i=e.tag;for(n=0,o=r.length;n<o;n+=1)O(e,t,r[n],!1,!1)&&(0!==n&&(a+=","+(e.condenseFlow?"":" ")),a+=e.dump);e.tag=i,e.dump="["+a+"]"}(e,f,e.dump),u&&(e.dump="&ref_"+l+" "+e.dump))}else{if("[object String]"!==c){if(e.skipInvalid)return!1;throw new o("unacceptable kind of an object to dump "+c)}"?"!==e.tag&&x(e,e.dump,t,i)}null!==e.tag&&"?"!==e.tag&&(e.dump="!<"+e.tag+"> "+e.dump)}return!0}function E(e,t){var r,n,o=[],a=[];for(function e(t,r,n){var o,a,i;if(null!==t&&"object"==typeof t)if(-1!==(a=r.indexOf(t)))-1===n.indexOf(a)&&n.push(a);else if(r.push(t),Array.isArray(t))for(a=0,i=t.length;a<i;a+=1)e(t[a],r,n);else for(o=Object.keys(t),a=0,i=o.length;a<i;a+=1)e(t[o[a]],r,n)}(e,o,a),r=0,n=a.length;r<n;r+=1)t.duplicates.push(o[a[r]]);t.usedDuplicates=new Array(n)}function D(e,t){var r=new f(t=t||{});return r.noRefs||E(e,r),O(r,0,e,!0,!0)?r.dump+"\n":""}e.exports.dump=D,e.exports.safeDump=function(e,t){return D(e,n.extend({schema:i},t))}},function(e,t,r){var n=r(508),o=r(248);e.exports=function(e,t){return n(e,t,(function(t,r){return o(e,r)}))}},function(e,t,r){var n=r(162),o=r(529),a=r(125);e.exports=function(e,t,r){for(var i=-1,s=t.length,c={};++i<s;){var l=t[i],u=n(e,l);r(u,l)&&o(c,a(l,e),u)}return c}},function(e,t,r){var n=r(510),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,r,n,o){t.push(n?o.replace(a,"$1"):r||e)})),t}));e.exports=i},function(e,t,r){var n=r(511);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},function(e,t,r){var n=r(164);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},function(e,t,r){var n=r(513),o=r(127),a=r(165);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},function(e,t,r){var n=r(514),o=r(515),a=r(516),i=r(517),s=r(518);function c(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])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},function(e,t,r){var n=r(126);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,r){var n=r(126),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(126),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},function(e,t,r){var n=r(126);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}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(128),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},function(e,t,r){var n=r(128);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},function(e,t,r){var n=r(128);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,r){var n=r(128);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},function(e,t,r){var n=r(129);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(129);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(129);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(129);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},function(e,t,r){var n=r(115),o=r(125),a=r(117),i=r(36),s=r(100);e.exports=function(e,t,r,c){if(!i(e))return e;for(var l=-1,u=(t=o(t,e)).length,p=u-1,f=e;null!=f&&++l<u;){var d=s(t[l]),h=r;if(l!=p){var v=f[d];void 0===(h=c?c(v,d,f):void 0)&&(h=i(v)?v:a(t[l+1])?[]:{})}n(f,d,h),f=f[d]}return e}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,r){var n=r(125),o=r(118),a=r(32),i=r(117),s=r(152),c=r(100);e.exports=function(e,t,r){for(var l=-1,u=(t=n(t,e)).length,p=!1;++l<u;){var f=c(t[l]);if(!(p=null!=e&&r(e,f)))break;e=e[f]}return p||++l!=u?p:!!(u=null==e?0:e.length)&&s(u)&&i(f,u)&&(a(e)||o(e))}},function(e,t,r){var n=r(533),o=r(218),a=r(219);e.exports=function(e){return a(o(e,void 0,n),e+"")}},function(e,t,r){var n=r(534);e.exports=function(e){return(null==e?0:e.length)?n(e,1):[]}},function(e,t,r){var n=r(166),o=r(535);e.exports=function e(t,r,a,i,s){var c=-1,l=t.length;for(a||(a=o),s||(s=[]);++c<l;){var u=t[c];r>0&&a(u)?r>1?e(u,r-1,a,i,s):n(s,u):i||(s[s.length]=u)}return s}},function(e,t,r){var n=r(72),o=r(118),a=r(32),i=n?n.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||o(e)||!!(i&&e&&e[i])}},function(e,t,r){var n=r(537);e.exports=n},function(e,t,r){var n=r(538),o=Array.prototype;e.exports=function(e){var t=e.find;return e===o||e instanceof Array&&t===o.find?n:t}},function(e,t,r){r(539);var n=r(27);e.exports=n("Array").find},function(e,t,r){"use strict";var n=r(7),o=r(49).find,a=r(143),i=r(39),s=!0,c=i("find");"find"in[]&&Array(1).find((function(){s=!1})),n({target:"Array",proto:!0,forced:s||!c},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("find")},function(e,t,r){e.exports=r(541)},function(e,t,r){var n=r(542);e.exports=n},function(e,t,r){r(543);var n=r(12);e.exports=n.Reflect.get},function(e,t,r){var n=r(7),o=r(17),a=r(31),i=r(30),s=r(68),c=r(89);n({target:"Reflect",stat:!0},{get:function e(t,r){var n,l,u=arguments.length<3?t:arguments[2];return a(t)===u?t[r]:(n=s.f(t,r))?i(n,"value")?n.value:void 0===n.get?void 0:n.get.call(u):o(l=c(t))?e(l,r,u):void 0}})},function(e,t,r){var n=r(130);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=n(e)););return e}},function(e,t,r){e.exports=r(546)},function(e,t,r){var n=r(547);e.exports=n},function(e,t,r){r(548);var n=r(12);e.exports=n.Object.getPrototypeOf},function(e,t,r){var n=r(7),o=r(13),a=r(44),i=r(89),s=r(203);n({target:"Object",stat:!0,forced:o((function(){i(1)})),sham:!s},{getPrototypeOf:function(e){return i(a(e))}})},function(e,t,r){var n=r(550);e.exports=n},function(e,t,r){r(551);var n=r(12);e.exports=n.Object.setPrototypeOf},function(e,t,r){r(7)({target:"Object",stat:!0},{setPrototypeOf:r(147)})},function(e,t,r){e.exports=r(553)},function(e,t,r){var n=r(250);e.exports=n},function(e,t,r){r(7)({target:"Object",stat:!0,sham:!r(22)},{create:r(90)})},function(e,t,r){var n=r(249);function o(t,r){return e.exports=o=n||function(e,t){return e.__proto__=t,e},o(t,r)}e.exports=o},function(e,t,r){var n=r(557);e.exports=n},function(e,t,r){r(558);var n=r(12);e.exports=n.Reflect.construct},function(e,t,r){var n=r(7),o=r(43),a=r(48),i=r(31),s=r(17),c=r(90),l=r(213),u=r(13),p=o("Reflect","construct"),f=u((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),d=!u((function(){p((function(){}))})),h=f||d;n({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){a(e),i(t);var r=arguments.length<3?e:a(arguments[2]);if(d&&!f)return p(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return n.push.apply(n,t),new(l.apply(e,n))}var o=r.prototype,u=c(s(o)?o:Object.prototype),h=Function.apply.call(e,u,t);return s(h)?h:u}})},function(e,t,r){var n=r(251);e.exports=function(){if("undefined"==typeof Reflect||!n)return!1;if(n.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(n(Date,[],(function(){}))),!0}catch(e){return!1}}},function(e,t,r){var n=r(10),o=r(561);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,r){var n=r(235);e.exports=n},function(e,t,r){var n=r(156),o=r(236);e.exports=function(e){if(n(e))return o(e)}},function(e,t,r){var n=r(230),o=r(237),a=r(122);e.exports=function(e){if(void 0!==a&&o(Object(e)))return n(e)}},function(e,t){e.exports=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.")}},function(e,t,r){var n=r(567);e.exports=n},function(e,t,r){var n=r(568),o=Array.prototype;e.exports=function(e){var t=e.splice;return e===o||e instanceof Array&&t===o.splice?n:t}},function(e,t,r){r(569);var n=r(27);e.exports=n("Array").splice},function(e,t,r){"use strict";var n=r(7),o=r(139),a=r(112),i=r(54),s=r(44),c=r(148),l=r(88),u=r(94),p=r(39),f=u("splice"),d=p("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,v=Math.min;n({target:"Array",proto:!0,forced:!f||!d},{splice:function(e,t){var r,n,u,p,f,d,m=s(this),g=i(m.length),y=o(e,g),b=arguments.length;if(0===b?r=n=0:1===b?(r=0,n=g-y):(r=b-2,n=v(h(a(t),0),g-y)),g+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=c(m,n),p=0;p<n;p++)(f=y+p)in m&&l(u,p,m[f]);if(u.length=n,r<n){for(p=y;p<g-n;p++)d=p+r,(f=p+n)in m?m[d]=m[f]:delete m[d];for(p=g;p>g-n+r;p--)delete m[p-1]}else if(r>n)for(p=g-n;p>y;p--)d=p+r-1,(f=p+n-1)in m?m[d]=m[f]:delete m[d];for(p=0;p<r;p++)m[p+y]=arguments[p+2];return m.length=g-n+r,u}})},function(e,t,r){var n=r(239);e.exports=n},function(e,t,r){var n=r(250);e.exports=n},function(e,t,r){var n=r(573);e.exports=n},function(e,t,r){r(574);var n=r(12);e.exports=n.Object.assign},function(e,t,r){var n=r(7),o=r(575);n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,r){"use strict";var n=r(22),o=r(13),a=r(86),i=r(142),s=r(108),c=r(44),l=r(109),u=Object.assign,p=Object.defineProperty;e.exports=!u||o((function(){if(n&&1!==u({b:1},u(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol();return e[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=u({},e)[r]||"abcdefghijklmnopqrst"!=a(u({},t)).join("")}))?function(e,t){for(var r=c(e),o=arguments.length,u=1,p=i.f,f=s.f;o>u;)for(var d,h=l(arguments[u++]),v=p?a(h).concat(p(h)):a(h),m=v.length,g=0;m>g;)d=v[g++],n&&!f.call(h,d)||(r[d]=h[d]);return r}:u},function(e,t,r){var n=r(252),o=r(73),a=r(74);e.exports=function(e){return function(t,r,i){var s=Object(t);if(!o(t)){var c=n(r,3);t=a(t),r=function(e){return c(s[e],e,s)}}var l=e(t,r,i);return l>-1?s[c?t[l]:l]:void 0}}},function(e,t,r){var n=r(578),o=r(599),a=r(260);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},function(e,t,r){var n=r(167),o=r(253);e.exports=function(e,t,r,a){var i=r.length,s=i,c=!a;if(null==e)return!s;for(e=Object(e);i--;){var l=r[i];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<s;){var u=(l=r[i])[0],p=e[u],f=l[1];if(c&&l[2]){if(void 0===p&&!(u in e))return!1}else{var d=new n;if(a)var h=a(p,f,u,e,t,d);if(!(void 0===h?o(f,p,3,a,d):h))return!1}}return!0}},function(e,t,r){var n=r(127);e.exports=function(){this.__data__=new n,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,r){var n=r(127),o=r(165),a=r(164);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(e,t),this.size=r.size,this}},function(e,t,r){var n=r(167),o=r(254),a=r(590),i=r(593),s=r(101),c=r(32),l=r(119),u=r(153),p="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,d,h,v){var m=c(e),g=c(t),y=m?"[object Array]":s(e),b=g?"[object Array]":s(t),x=(y="[object Arguments]"==y?p:y)==p,w=(b="[object Arguments]"==b?p:b)==p,k=y==b;if(k&&l(e)){if(!l(t))return!1;m=!0,x=!1}if(k&&!x)return v||(v=new n),m||u(e)?o(e,t,r,d,h,v):a(e,t,y,r,d,h,v);if(!(1&r)){var S=x&&f.call(e,"__wrapped__"),A=w&&f.call(t,"__wrapped__");if(S||A){var O=S?e.value():e,E=A?t.value():t;return v||(v=new n),h(O,E,r,d,v)}}return!!k&&(v||(v=new n),i(e,t,r,d,h,v))}},function(e,t,r){var n=r(164),o=r(586),a=r(587);function i(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){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}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,r){var n=r(72),o=r(255),a=r(116),i=r(254),s=r(591),c=r(592),l=n?n.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,r,n,l,p,f){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||!p(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+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 d=s;case"[object Set]":var h=1&n;if(d||(d=c),e.size!=t.size&&!h)return!1;var v=f.get(e);if(v)return v==t;n|=2,f.set(e,t);var m=i(d(e),d(t),n,l,p,f);return f.delete(e),m;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},function(e,t,r){var n=r(256),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,a,i,s){var c=1&r,l=n(e),u=l.length;if(u!=n(t).length&&!c)return!1;for(var p=u;p--;){var f=l[p];if(!(c?f in t:o.call(t,f)))return!1}var d=s.get(e);if(d&&s.get(t))return d==t;var h=!0;s.set(e,t),s.set(t,e);for(var v=c;++p<u;){var m=e[f=l[p]],g=t[f];if(a)var y=c?a(g,m,f,t,e,s):a(m,g,f,e,t,s);if(!(void 0===y?m===g||i(m,g,r,a,s):y)){h=!1;break}v||(v="constructor"==f)}if(h&&!v){var b=e.constructor,x=t.constructor;b==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof x&&x instanceof x||(h=!1)}return s.delete(e),s.delete(t),h}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a}},function(e,t,r){var n=r(63)(r(45),"DataView");e.exports=n},function(e,t,r){var n=r(63)(r(45),"Promise");e.exports=n},function(e,t,r){var n=r(63)(r(45),"Set");e.exports=n},function(e,t,r){var n=r(63)(r(45),"WeakMap");e.exports=n},function(e,t,r){var n=r(259),o=r(74);e.exports=function(e){for(var t=o(e),r=t.length;r--;){var a=t[r],i=e[a];t[r]=[a,i,n(i)]}return t}},function(e,t,r){var n=r(253),o=r(52),a=r(248),i=r(163),s=r(259),c=r(260),l=r(100);e.exports=function(e,t){return i(e)&&s(t)?c(l(e),t):function(r){var i=o(r,e);return void 0===i&&i===t?a(r,e):n(t,i,3)}}},function(e,t,r){var n=r(602),o=r(603),a=r(163),i=r(100);e.exports=function(e){return a(e)?n(i(e)):o(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,r){var n=r(162);e.exports=function(e){return function(t){return n(t,e)}}},function(e,t,r){var n=r(605),o=r(252),a=r(224),i=Math.max;e.exports=function(e,t,r){var s=null==e?0:e.length;if(!s)return-1;var c=null==r?0:a(r);return c<0&&(c=i(s+c,0)),n(e,o(t,3),c)}},function(e,t){e.exports=function(e,t,r,n){for(var o=e.length,a=r+(n?1:-1);n?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},function(e,t,r){var n=r(167),o=r(607),a=r(115),i=r(608),s=r(609),c=r(612),l=r(613),u=r(614),p=r(615),f=r(256),d=r(616),h=r(101),v=r(617),m=r(618),g=r(623),y=r(32),b=r(119),x=r(625),w=r(36),k=r(627),S=r(74),A={};A["[object Arguments]"]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A["[object Object]"]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A["[object Function]"]=A["[object WeakMap]"]=!1,e.exports=function e(t,r,O,E,D,C){var j,_=1&r,T=2&r,I=4&r;if(O&&(j=D?O(t,E,D,C):O(t)),void 0!==j)return j;if(!w(t))return t;var F=y(t);if(F){if(j=v(t),!_)return l(t,j)}else{var P=h(t),R="[object Function]"==P||"[object GeneratorFunction]"==P;if(b(t))return c(t,_);if("[object Object]"==P||"[object Arguments]"==P||R&&!D){if(j=T||R?{}:g(t),!_)return T?p(t,s(j,t)):u(t,i(j,t))}else{if(!A[P])return D?t:{};j=m(t,P,_)}}C||(C=new n);var B=C.get(t);if(B)return B;C.set(t,j),k(t)?t.forEach((function(n){j.add(e(n,r,O,n,t,C))})):x(t)&&t.forEach((function(n,o){j.set(o,e(n,r,O,o,t,C))}));var L=I?T?d:f:T?keysIn:S,N=F?void 0:L(t);return o(N||t,(function(n,o){N&&(n=t[o=n]),a(j,o,e(n,r,O,o,t,C))})),j}},function(e,t){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}},function(e,t,r){var n=r(95),o=r(74);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t,r){var n=r(95),o=r(261);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t,r){var n=r(36),o=r(96),a=r(611),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return a(e);var t=o(e),r=[];for(var s in e)("constructor"!=s||!t&&i.call(e,s))&&r.push(s);return r}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e,t,r){(function(e){var n=r(45),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o?n.Buffer:void 0,s=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=s?s(r):new e.constructor(r);return e.copy(n),n}}).call(this,r(103)(e))},function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},function(e,t,r){var n=r(95),o=r(168);e.exports=function(e,t){return n(e,o(e),t)}},function(e,t,r){var n=r(95),o=r(262);e.exports=function(e,t){return n(e,o(e),t)}},function(e,t,r){var n=r(257),o=r(262),a=r(261);e.exports=function(e){return n(e,a,o)}},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e,t,r){var n=r(170),o=r(619),a=r(620),i=r(621),s=r(622);e.exports=function(e,t,r){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new c(+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 s(e,r);case"[object Map]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return a(e);case"[object Set]":return new c;case"[object Symbol]":return i(e)}}},function(e,t,r){var n=r(170);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},function(e,t){var r=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,r){var n=r(72),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;e.exports=function(e){return a?Object(a.call(e)):{}}},function(e,t,r){var n=r(170);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},function(e,t,r){var n=r(624),o=r(169),a=r(96);e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:n(o(e))}},function(e,t,r){var n=r(36),o=Object.create,a=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=a},function(e,t,r){var n=r(626),o=r(154),a=r(155),i=a&&a.isMap,s=i?o(i):n;e.exports=s},function(e,t,r){var n=r(101),o=r(50);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},function(e,t,r){var n=r(628),o=r(154),a=r(155),i=a&&a.isSet,s=i?o(i):n;e.exports=s},function(e,t,r){var n=r(101),o=r(50);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},function(e,t,r){var n=r(630);e.exports=n},function(e,t,r){r(157),r(631),r(55);var n=r(12);e.exports=n.WeakMap},function(e,t,r){"use strict";var n,o=r(16),a=r(159),i=r(171),s=r(633),c=r(634),l=r(17),u=r(56).enforce,p=r(198),f=!o.ActiveXObject&&"ActiveXObject"in o,d=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=e.exports=s("WeakMap",h,c);if(p&&f){n=c.getConstructor(h,"WeakMap",!0),i.REQUIRED=!0;var m=v.prototype,g=m.delete,y=m.has,b=m.get,x=m.set;a(m,{delete:function(e){if(l(e)&&!d(e)){var t=u(this);return t.frozen||(t.frozen=new n),g.call(this,e)||t.frozen.delete(e)}return g.call(this,e)},has:function(e){if(l(e)&&!d(e)){var t=u(this);return t.frozen||(t.frozen=new n),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(l(e)&&!d(e)){var t=u(this);return t.frozen||(t.frozen=new n),y.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(l(e)&&!d(e)){var r=u(this);r.frozen||(r.frozen=new n),y.call(this,e)?x.call(this,e,t):r.frozen.set(e,t)}else x.call(this,e,t);return this}})}},function(e,t,r){var n=r(13);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,r){"use strict";var n=r(7),o=r(16),a=r(171),i=r(13),s=r(37),c=r(76),l=r(160),u=r(17),p=r(62),f=r(38).f,d=r(49).forEach,h=r(22),v=r(56),m=v.set,g=v.getterFor;e.exports=function(e,t,r){var v,y=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),x=y?"set":"add",w=o[e],k=w&&w.prototype,S={};if(h&&"function"==typeof w&&(b||k.forEach&&!i((function(){(new w).entries().next()})))){v=t((function(t,r){m(l(t,v,e),{type:e,collection:new w}),null!=r&&c(r,t[x],t,y)}));var A=g(e);d(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in k)||b&&"clear"==e||s(v.prototype,e,(function(r,n){var o=A(this).collection;if(!t&&b&&!u(r))return"get"==e&&void 0;var a=o[e](0===r?0:r,n);return t?this:a}))})),b||f(v.prototype,"size",{configurable:!0,get:function(){return A(this).collection.size}})}else v=r.getConstructor(t,e,y,x),a.REQUIRED=!0;return p(v,e,!1,!0),S[e]=v,n({global:!0,forced:!0},S),b||r.setStrong(v,e,y),v}},function(e,t,r){"use strict";var n=r(159),o=r(171).getWeakData,a=r(31),i=r(17),s=r(160),c=r(76),l=r(49),u=r(30),p=r(56),f=p.set,d=p.getterFor,h=l.find,v=l.findIndex,m=0,g=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},b=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var r=b(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,r,l){var p=e((function(e,n){s(e,p,t),f(e,{type:t,id:m++,frozen:void 0}),null!=n&&c(n,e[l],e,r)})),h=d(t),v=function(e,t,r){var n=h(e),i=o(a(t),!0);return!0===i?g(n).set(t,r):i[n.id]=r,e};return n(p.prototype,{delete:function(e){var t=h(this);if(!i(e))return!1;var r=o(e);return!0===r?g(t).delete(e):r&&u(r,t.id)&&delete r[t.id]},has:function(e){var t=h(this);if(!i(e))return!1;var r=o(e);return!0===r?g(t).has(e):r&&u(r,t.id)}}),n(p.prototype,r?{get:function(e){var t=h(this);if(i(e)){var r=o(e);return!0===r?g(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),p}}},function(e,t,r){var n=r(238);e.exports=n},function(e,t,r){var n=r(263),o=r(211);e.exports=function(e,t){if(null==e)return{};var r,a,i={},s=o(e);for(a=0;a<s.length;a++)r=s[a],n(t).call(t,r)>=0||(i[r]=e[r]);return i}},function(e,t,r){"use strict";r.r(t),r.d(t,"OAuthReceiver",(function(){return Hf}));var n={};r.r(n),r.d(n,"JsonPatchError",(function(){return Tn})),r.d(n,"deepClone",(function(){return In})),r.d(n,"getValueByPointer",(function(){return Rn})),r.d(n,"applyOperation",(function(){return Bn})),r.d(n,"applyPatch",(function(){return Ln})),r.d(n,"applyReducer",(function(){return Nn})),r.d(n,"validator",(function(){return Mn})),r.d(n,"validate",(function(){return qn})),r.d(n,"_areEquals",(function(){return zn}));var o={};r.r(o),r.d(o,"unobserve",(function(){return Wn})),r.d(o,"observe",(function(){return Vn})),r.d(o,"generate",(function(){return Yn})),r.d(o,"compare",(function(){return Gn}));var a={};r.r(a),r.d(a,"path",(function(){return Pa})),r.d(a,"query",(function(){return Ra})),r.d(a,"header",(function(){return La})),r.d(a,"cookie",(function(){return Na}));r(286); -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */const i="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,s=(e,t,r=null)=>{for(;t!==r;){const r=t.nextSibling;e.removeChild(t),t=r}},c=`{{lit-${String(Math.random()).slice(2)}}}`,l=`\x3c!--${c}--\x3e`,u=new RegExp(`${c}|${l}`);class p{constructor(e,t){this.parts=[],this.element=t;const r=[],n=[],o=document.createTreeWalker(t.content,133,null,!1);let a=0,i=-1,s=0;const{strings:l,values:{length:p}}=e;for(;s<p;){const e=o.nextNode();if(null!==e){if(i++,1===e.nodeType){if(e.hasAttributes()){const t=e.attributes,{length:r}=t;let n=0;for(let e=0;e<r;e++)f(t[e].name,"$lit$")&&n++;for(;n-- >0;){const t=l[s],r=v.exec(t)[2],n=r.toLowerCase()+"$lit$",o=e.getAttribute(n);e.removeAttribute(n);const a=o.split(u);this.parts.push({type:"attribute",index:i,name:r,strings:a}),s+=a.length-1}}"TEMPLATE"===e.tagName&&(n.push(e),o.currentNode=e.content)}else if(3===e.nodeType){const t=e.data;if(t.indexOf(c)>=0){const n=e.parentNode,o=t.split(u),a=o.length-1;for(let t=0;t<a;t++){let r,a=o[t];if(""===a)r=h();else{const e=v.exec(a);null!==e&&f(e[2],"$lit$")&&(a=a.slice(0,e.index)+e[1]+e[2].slice(0,-"$lit$".length)+e[3]),r=document.createTextNode(a)}n.insertBefore(r,e),this.parts.push({type:"node",index:++i})}""===o[a]?(n.insertBefore(h(),e),r.push(e)):e.data=o[a],s+=a}}else if(8===e.nodeType)if(e.data===c){const t=e.parentNode;null!==e.previousSibling&&i!==a||(i++,t.insertBefore(h(),e)),a=i,this.parts.push({type:"node",index:i}),null===e.nextSibling?e.data="":(r.push(e),i--),s++}else{let t=-1;for(;-1!==(t=e.data.indexOf(c,t+1));)this.parts.push({type:"node",index:-1}),s++}}else o.currentNode=n.pop()}for(const e of r)e.parentNode.removeChild(e)}}const f=(e,t)=>{const r=e.length-t.length;return r>=0&&e.slice(r)===t},d=e=>-1!==e.index,h=()=>document.createComment(""),v=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function m(e,t){const{element:{content:r},parts:n}=e,o=document.createTreeWalker(r,133,null,!1);let a=y(n),i=n[a],s=-1,c=0;const l=[];let u=null;for(;o.nextNode();){s++;const e=o.currentNode;for(e.previousSibling===u&&(u=null),t.has(e)&&(l.push(e),null===u&&(u=e)),null!==u&&c++;void 0!==i&&i.index===s;)i.index=null!==u?-1:i.index-c,a=y(n,a),i=n[a]}l.forEach(e=>e.parentNode.removeChild(e))}const g=e=>{let t=11===e.nodeType?0:1;const r=document.createTreeWalker(e,133,null,!1);for(;r.nextNode();)t++;return t},y=(e,t=-1)=>{for(let r=t+1;r<e.length;r++){const t=e[r];if(d(t))return r}return-1}; -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ -const b=new WeakMap,x=e=>"function"==typeof e&&b.has(e),w={},k={}; -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ -class S{constructor(e,t,r){this.__parts=[],this.template=e,this.processor=t,this.options=r}update(e){let t=0;for(const r of this.__parts)void 0!==r&&r.setValue(e[t]),t++;for(const e of this.__parts)void 0!==e&&e.commit()}_clone(){const e=i?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),t=[],r=this.template.parts,n=document.createTreeWalker(e,133,null,!1);let o,a=0,s=0,c=n.nextNode();for(;a<r.length;)if(o=r[a],d(o)){for(;s<o.index;)s++,"TEMPLATE"===c.nodeName&&(t.push(c),n.currentNode=c.content),null===(c=n.nextNode())&&(n.currentNode=t.pop(),c=n.nextNode());if("node"===o.type){const e=this.processor.handleTextExpression(this.options);e.insertAfterNode(c.previousSibling),this.__parts.push(e)}else this.__parts.push(...this.processor.handleAttributeExpressions(c,o.name,o.strings,this.options));a++}else this.__parts.push(void 0),a++;return i&&(document.adoptNode(e),customElements.upgrade(e)),e}} -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */const A=` ${c} `;class O{constructor(e,t,r,n){this.strings=e,this.values=t,this.type=r,this.processor=n}getHTML(){const e=this.strings.length-1;let t="",r=!1;for(let n=0;n<e;n++){const e=this.strings[n],o=e.lastIndexOf("\x3c!--");r=(o>-1||r)&&-1===e.indexOf("--\x3e",o+1);const a=v.exec(e);t+=null===a?e+(r?A:l):e.substr(0,a.index)+a[1]+a[2]+"$lit$"+a[3]+c}return t+=this.strings[e],t}getTemplateElement(){const e=document.createElement("template");return e.innerHTML=this.getHTML(),e}} -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ -const E=e=>null===e||!("object"==typeof e||"function"==typeof e),D=e=>Array.isArray(e)||!(!e||!e[Symbol.iterator]);class C{constructor(e,t,r){this.dirty=!0,this.element=e,this.name=t,this.strings=r,this.parts=[];for(let e=0;e<r.length-1;e++)this.parts[e]=this._createPart()}_createPart(){return new j(this)}_getValue(){const e=this.strings,t=e.length-1;let r="";for(let n=0;n<t;n++){r+=e[n];const t=this.parts[n];if(void 0!==t){const e=t.value;if(E(e)||!D(e))r+="string"==typeof e?e:String(e);else for(const t of e)r+="string"==typeof t?t:String(t)}}return r+=e[t],r}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}class j{constructor(e){this.value=void 0,this.committer=e}setValue(e){e===w||E(e)&&e===this.value||(this.value=e,x(e)||(this.committer.dirty=!0))}commit(){for(;x(this.value);){const e=this.value;this.value=w,e(this)}this.value!==w&&this.committer.commit()}}class _{constructor(e){this.value=void 0,this.__pendingValue=void 0,this.options=e}appendInto(e){this.startNode=e.appendChild(h()),this.endNode=e.appendChild(h())}insertAfterNode(e){this.startNode=e,this.endNode=e.nextSibling}appendIntoPart(e){e.__insert(this.startNode=h()),e.__insert(this.endNode=h())}insertAfterPart(e){e.__insert(this.startNode=h()),this.endNode=e.endNode,e.endNode=this.startNode}setValue(e){this.__pendingValue=e}commit(){if(null===this.startNode.parentNode)return;for(;x(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=w,e(this)}const e=this.__pendingValue;e!==w&&(E(e)?e!==this.value&&this.__commitText(e):e instanceof O?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):D(e)?this.__commitIterable(e):e===k?(this.value=k,this.clear()):this.__commitText(e))}__insert(e){this.endNode.parentNode.insertBefore(e,this.endNode)}__commitNode(e){this.value!==e&&(this.clear(),this.__insert(e),this.value=e)}__commitText(e){const t=this.startNode.nextSibling,r="string"==typeof(e=null==e?"":e)?e:String(e);t===this.endNode.previousSibling&&3===t.nodeType?t.data=r:this.__commitNode(document.createTextNode(r)),this.value=e}__commitTemplateResult(e){const t=this.options.templateFactory(e);if(this.value instanceof S&&this.value.template===t)this.value.update(e.values);else{const r=new S(t,e.processor,this.options),n=r._clone();r.update(e.values),this.__commitNode(n),this.value=r}}__commitIterable(e){Array.isArray(this.value)||(this.value=[],this.clear());const t=this.value;let r,n=0;for(const o of e)r=t[n],void 0===r&&(r=new _(this.options),t.push(r),0===n?r.appendIntoPart(this):r.insertAfterPart(t[n-1])),r.setValue(o),r.commit(),n++;n<t.length&&(t.length=n,this.clear(r&&r.endNode))}clear(e=this.startNode){s(this.startNode.parentNode,e.nextSibling,this.endNode)}}class T{constructor(e,t,r){if(this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=t,this.strings=r}setValue(e){this.__pendingValue=e}commit(){for(;x(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=w,e(this)}if(this.__pendingValue===w)return;const e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=w}}class I extends C{constructor(e,t,r){super(e,t,r),this.single=2===r.length&&""===r[0]&&""===r[1]}_createPart(){return new F(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class F extends j{}let P=!1;(()=>{try{const e={get capture(){return P=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){}})();class R{constructor(e,t,r){this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=t,this.eventContext=r,this.__boundHandleEvent=e=>this.handleEvent(e)}setValue(e){this.__pendingValue=e}commit(){for(;x(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=w,e(this)}if(this.__pendingValue===w)return;const e=this.__pendingValue,t=this.value,r=null==e||null!=t&&(e.capture!==t.capture||e.once!==t.once||e.passive!==t.passive),n=null!=e&&(null==t||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),n&&(this.__options=B(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=w}handleEvent(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}const B=e=>e&&(P?{capture:e.capture,passive:e.passive,once:e.once}:e.capture) -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */;function L(e){let t=N.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},N.set(e.type,t));let r=t.stringsArray.get(e.strings);if(void 0!==r)return r;const n=e.strings.join(c);return r=t.keyString.get(n),void 0===r&&(r=new p(e,e.getTemplateElement()),t.keyString.set(n,r)),t.stringsArray.set(e.strings,r),r}const N=new Map,M=new WeakMap; -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */const q=new -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ -class{handleAttributeExpressions(e,t,r,n){const o=t[0];if("."===o){return new I(e,t.slice(1),r).parts}if("@"===o)return[new R(e,t.slice(1),n.eventContext)];if("?"===o)return[new T(e,t.slice(1),r)];return new C(e,t,r).parts}handleTextExpression(e){return new _(e)}}; -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.2.1");const z=(e,...t)=>new O(e,t,"html",q),U=(e,t)=>`${e}--${t}`;let $=!0;void 0===window.ShadyCSS?$=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),$=!1);const H=e=>t=>{const r=U(t.type,e);let n=N.get(r);void 0===n&&(n={stringsArray:new WeakMap,keyString:new Map},N.set(r,n));let o=n.stringsArray.get(t.strings);if(void 0!==o)return o;const a=t.strings.join(c);if(o=n.keyString.get(a),void 0===o){const r=t.getTemplateElement();$&&window.ShadyCSS.prepareTemplateDom(r,e),o=new p(t,r),n.keyString.set(a,o)}return n.stringsArray.set(t.strings,o),o},W=["html","svg"],V=new Set,Y=(e,t,r)=>{V.add(e);const n=r?r.element:document.createElement("template"),o=t.querySelectorAll("style"),{length:a}=o;if(0===a)return void window.ShadyCSS.prepareTemplateStyles(n,e);const i=document.createElement("style");for(let e=0;e<a;e++){const t=o[e];t.parentNode.removeChild(t),i.textContent+=t.textContent}(e=>{W.forEach(t=>{const r=N.get(U(t,e));void 0!==r&&r.keyString.forEach(e=>{const{element:{content:t}}=e,r=new Set;Array.from(t.querySelectorAll("style")).forEach(e=>{r.add(e)}),m(e,r)})})})(e);const s=n.content;r?function(e,t,r=null){const{element:{content:n},parts:o}=e;if(null==r)return void n.appendChild(t);const a=document.createTreeWalker(n,133,null,!1);let i=y(o),s=0,c=-1;for(;a.nextNode();){c++;for(a.currentNode===r&&(s=g(t),r.parentNode.insertBefore(t,r));-1!==i&&o[i].index===c;){if(s>0){for(;-1!==i;)o[i].index+=s,i=y(o,i);return}i=y(o,i)}}}(r,i,s.firstChild):s.insertBefore(i,s.firstChild),window.ShadyCSS.prepareTemplateStyles(n,e);const c=s.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==c)t.insertBefore(c.cloneNode(!0),t.firstChild);else if(r){s.insertBefore(i,s.firstChild);const e=new Set;e.add(i),m(r,e)}};window.JSCompiler_renameProperty=(e,t)=>e;const K={toAttribute(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},G=(e,t)=>t!==e&&(t==t||e==e),J={attribute:!0,type:String,converter:K,reflect:!1,hasChanged:G};class Q extends HTMLElement{constructor(){super(),this.initialize()}static get observedAttributes(){this.finalize();const e=[];return this._classProperties.forEach((t,r)=>{const n=this._attributeNameForProperty(r,t);void 0!==n&&(this._attributeToPropertyMap.set(n,r),e.push(n))}),e}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;const e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((e,t)=>this._classProperties.set(t,e))}}static createProperty(e,t=J){if(this._ensureClassProperties(),this._classProperties.set(e,t),t.noAccessor||this.prototype.hasOwnProperty(e))return;const r="symbol"==typeof e?Symbol():"__"+e,n=this.getPropertyDescriptor(e,r,t);void 0!==n&&Object.defineProperty(this.prototype,e,n)}static getPropertyDescriptor(e,t,r){return{get(){return this[t]},set(n){const o=this[e];this[t]=n,this.requestUpdateInternal(e,o,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this._classProperties&&this._classProperties.get(e)||J}static finalize(){const e=Object.getPrototypeOf(this);if(e.hasOwnProperty("finalized")||e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){const e=this.properties,t=[...Object.getOwnPropertyNames(e),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[]];for(const r of t)this.createProperty(r,e[r])}}static _attributeNameForProperty(e,t){const r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}static _valueHasChanged(e,t,r=G){return r(e,t)}static _propertyValueFromAttribute(e,t){const r=t.type,n=t.converter||K,o="function"==typeof n?n:n.fromAttribute;return o?o(e,r):e}static _propertyValueToAttribute(e,t){if(void 0===t.reflect)return;const r=t.type,n=t.converter;return(n&&n.toAttribute||K.toAttribute)(e,r)}initialize(){this._updateState=0,this._updatePromise=new Promise(e=>this._enableUpdatingResolver=e),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}_saveInstanceProperties(){this.constructor._classProperties.forEach((e,t)=>{if(this.hasOwnProperty(t)){const e=this[t];delete this[t],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(t,e)}})}_applyInstanceProperties(){this._instanceProperties.forEach((e,t)=>this[t]=e),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(e,t,r){t!==r&&this._attributeToProperty(e,r)}_propertyToAttribute(e,t,r=J){const n=this.constructor,o=n._attributeNameForProperty(e,r);if(void 0!==o){const e=n._propertyValueToAttribute(t,r);if(void 0===e)return;this._updateState=8|this._updateState,null==e?this.removeAttribute(o):this.setAttribute(o,e),this._updateState=-9&this._updateState}}_attributeToProperty(e,t){if(8&this._updateState)return;const r=this.constructor,n=r._attributeToPropertyMap.get(e);if(void 0!==n){const e=r.getPropertyOptions(n);this._updateState=16|this._updateState,this[n]=r._propertyValueFromAttribute(t,e),this._updateState=-17&this._updateState}}requestUpdateInternal(e,t,r){let n=!0;if(void 0!==e){const o=this.constructor;r=r||o.getPropertyOptions(e),o._valueHasChanged(this[e],t,r.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0!==r.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,r))):n=!1}!this._hasRequestedUpdate&&n&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(e,t){return this.requestUpdateInternal(e,t),this.updateComplete}async _enqueueUpdate(){this._updateState=4|this._updateState;try{await this._updatePromise}catch(e){}const e=this.performUpdate();return null!=e&&await e,!this._hasRequestedUpdate}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){if(!this._hasRequestedUpdate)return;this._instanceProperties&&this._applyInstanceProperties();let e=!1;const t=this._changedProperties;try{e=this.shouldUpdate(t),e?this.update(t):this._markUpdated()}catch(t){throw e=!1,this._markUpdated(),t}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(e){return!0}update(e){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((e,t)=>this._propertyToAttribute(t,this[t],e)),this._reflectingProperties=void 0),this._markUpdated()}updated(e){}firstUpdated(e){}}Q.finalized=!0;const X=Element.prototype;X.msMatchesSelector||X.webkitMatchesSelector; -/** -@license -Copyright (c) 2019 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at -http://polymer.github.io/LICENSE.txt The complete set of authors may be found at -http://polymer.github.io/AUTHORS.txt The complete set of contributors may be -found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as -part of the polymer project is also subject to an additional IP rights grant -found at http://polymer.github.io/PATENTS.txt -*/ -const Z=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ee=Symbol();class te{constructor(e,t){if(t!==ee)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){return void 0===this._styleSheet&&(Z?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}const re=e=>new te(String(e),ee),ne=(e,...t)=>{const r=t.reduce((t,r,n)=>t+(e=>{if(e instanceof te)return e.cssText;if("number"==typeof e)return e;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${e}. Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security.`)})(r)+e[n+1],e[0]);return new te(r,ee)}; -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ -(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");const oe={};class ae extends Q{static getStyles(){return this.styles}static _getUniqueStyles(){if(this.hasOwnProperty(JSCompiler_renameProperty("_styles",this)))return;const e=this.getStyles();if(Array.isArray(e)){const t=(e,r)=>e.reduceRight((e,r)=>Array.isArray(r)?t(r,e):(e.add(r),e),r),r=t(e,new Set),n=[];r.forEach(e=>n.unshift(e)),this._styles=n}else this._styles=void 0===e?[]:[e];this._styles=this._styles.map(e=>{if(e instanceof CSSStyleSheet&&!Z){const t=Array.prototype.slice.call(e.cssRules).reduce((e,t)=>e+t.cssText,"");return re(t)}return e})}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){const e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?Z?this.renderRoot.adoptedStyleSheets=e.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map(e=>e.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){const t=this.render();super.update(e),t!==oe&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(e=>{const t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)}))}render(){return oe}}ae.finalized=!0,ae.render=(e,t,r)=>{if(!r||"object"!=typeof r||!r.scopeName)throw new Error("The `scopeName` option is required.");const n=r.scopeName,o=M.has(t),a=$&&11===t.nodeType&&!!t.host,i=a&&!V.has(n),c=i?document.createDocumentFragment():t;if(((e,t,r)=>{let n=M.get(t);void 0===n&&(s(t,t.firstChild),M.set(t,n=new _(Object.assign({templateFactory:L},r))),n.appendInto(t)),n.setValue(e),n.commit()})(e,c,Object.assign({templateFactory:H(n)},r)),i){const e=M.get(c);M.delete(c);const r=e.value instanceof S?e.value.template:void 0;Y(n,c,r),s(t,t.firstChild),t.appendChild(c),M.set(t,e)}!o&&a&&window.ShadyCSS.styleElement(t.host)};var ie,se=r(3),ce=r.n(se),le=r(29),ue=r.n(le);r(287),r(288),r(289),r(290),r(291),r(292),r(293),r(294),r(295);var pe,fe,de,he=ne(ie||(pe=[".hover-bg:hover{background:var(--bg3)}::selection{background:var(--selection-bg);color:var(--selection-fg)}.regular-font{font-family:var(--font-regular)}.mono-font{font-family:var(--font-mono)}.title{font-size:calc(var(--font-size-small) + 18px);font-weight:400}.sub-title{font-size:20px}.req-res-title{font-family:var(--font-regular);font-size:calc(var(--font-size-small) + 4px);font-weight:700;margin-bottom:8px}.tiny-title{font-size:calc(var(--font-size-small) + 1px);font-weight:700}.regular-font-size{font-size:var(--font-size-regular)}.small-font-size{font-size:var(--font-size-small)}.upper{text-transform:uppercase}.primary-text{color:var(--primary-color)}.bold-text{font-weight:700}.gray-text{color:var(--light-fg)}.red-text{color:var(--red)}.blue-text{color:var(--blue)}.multiline{overflow:scroll;max-height:var(--resp-area-height,300px);color:var(--fg3)}.method-fg.put{color:var(--orange)}.method-fg.post{color:var(--green)}.method-fg.get{color:var(--blue)}.method-fg.delete{color:var(--red)}.method-fg.head,.method-fg.options,.method-fg.patch{color:var(--yellow)}h1{font-family:var(--font-regular);font-size:28px;padding-top:10px;letter-spacing:normal;font-weight:400}h2{font-family:var(--font-regular);font-size:24px;padding-top:10px;letter-spacing:normal;font-weight:400}h3{font-family:var(--font-regular);font-size:18px;padding-top:10px;letter-spacing:normal;font-weight:400}h4{font-family:var(--font-regular);font-size:16px;padding-top:10px;letter-spacing:normal;font-weight:400}h5{font-family:var(--font-regular);font-size:14px;padding-top:10px;letter-spacing:normal;font-weight:400}h6{font-family:var(--font-regular);font-size:14px;padding-top:10px;letter-spacing:normal;font-weight:400}h1,h2,h3,h4,h5{margin-block-end:.2em}p{margin-block-start:.5em}a{color:var(--blue);cursor:pointer}a.inactive-link{color:var(--fg);text-decoration:none;cursor:text}code,pre{margin:0;font-family:var(--font-mono);font-size:calc(var(--font-size-mono) - 1px)}.m-markdown,.m-markdown-small{display:block}.m-markdown li,.m-markdown p,.m-markdown span{font-size:var(--font-size-regular);line-height:calc(var(--font-size-regular) + 8px)}.m-markdown-small li,.m-markdown-small p,.m-markdown-small span{font-size:var(--font-size-small);line-height:calc(var(--font-size-small) + 6px)}.m-markdown-small li{line-height:calc(var(--font-size-small) + 8px)}.m-markdown p:not(:first-child){margin-block-start:24px}.m-markdown-small p:not(:first-child){margin-block-start:12px}.m-markdown-small p:first-child{margin-block-start:0}.m-markdown p,.m-markdown-small p{margin-block-end:0}.m-markdown code span{font-size:var(--font-size-mono)}.m-markdown code,.m-markdown-small code{padding:1px 6px;border-radius:2px;color:var(--inline-code-fg);background-color:var(--bg3);font-size:calc(var(--font-size-mono));line-height:1.2}.m-markdown-small code{font-size:calc(var(--font-size-mono) - 1px)}.m-markdown pre,.m-markdown-small pre{white-space:pre-wrap;overflow-x:auto;line-height:normal;border-radius:2px;border:1px solid var(--code-border-color)}.m-markdown pre{margin-top:8px;padding:12px;background-color:var(--code-bg);color:var(--code-fg)}.m-markdown-small pre{margin-top:4px;padding:2px 4px;background-color:var(--bg3);color:var(--fg2)}.m-markdown pre code,.m-markdown-small pre code{border:none;padding:0}.m-markdown pre code{color:var(--code-fg);background-color:var(--code-bg)}.m-markdown-small pre code{color:var(--fg2);background-color:var(--bg3)}.m-markdown ol,.m-markdown ul{padding-inline-start:30px}.m-markdown-small ol,.m-markdown-small ul{padding-inline-start:20px}.m-markdown a,.m-markdown-small a{color:var(--blue)}.m-markdown img,.m-markdown-small img{max-width:100%}.m-markdown table,.m-markdown-small table{border-spacing:0;margin:10px 0;border-collapse:separate;border:1px solid var(--border-color);border-radius:var(--border-radius);font-size:calc(var(--font-size-small) + 1px);line-height:calc(var(--font-size-small) + 4px);max-width:100%}.m-markdown-small table{font-size:var(--font-size-small);line-height:calc(var(--font-size-small) + 2px);margin:8px 0}.m-markdown td,.m-markdown th,.m-markdown-small td,.m-markdown-small th{vertical-align:top;border-top:1px solid var(--border-color);line-height:calc(var(--font-size-small) + 4px)}.m-markdown tr:first-child th,.m-markdown-small tr:first-child th{border-top:0 none}.m-markdown td,.m-markdown th{padding:10px 12px}.m-markdown-small td,.m-markdown-small th{padding:8px 8px}.m-markdown th,.m-markdown-small th{font-weight:600;background-color:var(--bg2);vertical-align:middle}.m-markdown-small table code{font-size:calc(var(--font-size-mono) - 2px)}.m-markdown table code{font-size:calc(var(--font-size-mono) - 1px)}.m-markdown blockquote,.m-markdown-small blockquote{margin-inline-start:0;margin-inline-end:0;border-left:3px solid var(--border-color);padding:6px 0 6px 6px}"],fe||(fe=pe.slice(0)),ie=Object.freeze(Object.defineProperties(pe,{raw:{value:Object.freeze(fe)}}))));var ve,me=ne(de||(de=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([".m-btn{border-radius:var(--border-radius);box-sizing:border-box;font-weight:600;display:inline-block;padding:6px 16px;font-size:var(--font-size-small);outline:0;line-height:1;text-align:center;white-space:nowrap;border:2px solid var(--primary-color);background-color:transparent;transition:background-color .2s;user-select:none;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24)}.m-btn.primary{background-color:var(--primary-color);color:var(--primary-color-invert)}.m-btn.thin-border{border-width:1px}.m-btn.large{padding:8px 14px}.m-btn.small{padding:5px 12px}.m-btn.tiny{padding:5px 6px}.m-btn.circle{border-radius:50%}.m-btn:hover{background-color:var(--primary-color);color:var(--primary-color-invert)}.m-btn.nav{border:2px solid var(--nav-accent-color)}.m-btn.nav:hover{background-color:var(--nav-accent-color)}.m-btn:disabled{background-color:var(--bg3);color:var(--fg3);border-color:var(--fg3);cursor:not-allowed;opacity:.4}.toolbar-btn{cursor:pointer;padding:2px 0 4px;margin:0 2px;min-width:50px;color:var(--primary-color-invert);border-radius:2px;border:none;background-color:var(--primary-color)}button,input,pre,select,textarea{color:var(--fg);outline:0;background-color:var(--input-bg);border:1px solid var(--border-color);border-radius:var(--border-radius)}input[type=file],input[type=password],input[type=text],pre,select,textarea{font-family:var(--font-mono);font-weight:400;font-size:var(--font-size-small);transition:border .2s;padding:6px 5px;box-sizing:border-box}select{font-family:var(--font-regular);padding:5px 30px 5px 5px;background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%3E%3Cpath%20d%3D%22M10.3%203.3L6%207.6%201.7%203.3A1%201%200%2000.3%204.7l5%205a1%201%200%20001.4%200l5-5a1%201%200%2010-1.4-1.4z%22%20fill%3D%22%23777777%22%2F%3E%3C%2Fsvg%3E\");background-position:calc(100% - 5px) center;background-repeat:no-repeat;background-size:10px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}select:hover{border-color:var(--primary-color)}input[type=password]::placeholder,input[type=text]::placeholder,textarea::placeholder{color:var(--placeholder-color);opacity:1}input[type=password]:active,input[type=password]:focus,input[type=text]:active,input[type=text]:focus,select:focus,textarea:active,textarea:focus{border:1px solid var(--primary-color)}input[type=file]{font-family:var(--font-regular);padding:2px;cursor:pointer;border:1px solid var(--primary-color);min-height:calc(var(--font-size-small) + 18px)}input[type=file]::-webkit-file-upload-button{font-family:var(--font-regular);font-size:var(--font-size-small);outline:0;cursor:pointer;padding:3px 8px;border:1px solid var(--primary-color);background-color:var(--primary-color);color:var(--primary-color-invert);border-radius:var(--border-radius);-webkit-appearance:none}pre,textarea{scrollbar-width:thin;scrollbar-color:var(--border-color) var(--input-bg)}pre::-webkit-scrollbar,textarea::-webkit-scrollbar{width:8px;height:8px}pre::-webkit-scrollbar-track,textarea::-webkit-scrollbar-track{background:var(--input-bg)}pre::-webkit-scrollbar-thumb,textarea::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--border-color)}.link{font-size:var(--font-size-small);text-decoration:underline;color:var(--blue);font-family:var(--font-mono);margin-bottom:2px}input[type=checkbox]:focus{outline:0}input[type=checkbox]{appearance:none;display:inline-block;background-color:var(--light-bg);border:1px solid var(--light-bg);border-radius:10px;cursor:pointer;height:20px;position:relative;transition:border .25s .15s,box-shadow .25s .3s,padding .25s;min-width:36px;width:36px;vertical-align:top}input[type=checkbox]:after{position:absolute;background-color:var(--bg);border:1px solid var(--light-bg);border-radius:8px;content:'';top:0;left:0;right:16px;display:block;height:16px;transition:border .25s .15s,left .25s .1s,right .15s .175s}input[type=checkbox]:checked{box-shadow:inset 0 0 0 13px var(--green);border-color:var(--green)}input[type=checkbox]:checked:after{border:1px solid var(--green);left:16px;right:1px;transition:border .25s,left .15s .25s,right .25s .175s}"])));var ge,ye=ne(ve||(ve=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([".col,.row{display:flex}.row{align-items:center;flex-direction:row}.col{align-items:stretch;flex-direction:column}"])));var be,xe=ne(ge||(ge=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([".m-table{border-spacing:0;border-collapse:separate;border:1px solid var(--light-border-color);border-radius:var(--border-radius);margin:0;max-width:100%}.m-table tr:first-child td,.m-table tr:first-child th{border-top:0 none}.m-table td,.m-table th{font-size:var(--font-size-small);line-height:calc(var(--font-size-small) + 4px);padding:4px 5px 4px;vertical-align:top}.m-table td:not([align]),.m-table th:not([align]){text-align:left}.m-table th{color:var(--fg2);font-size:var(--font-size-small);line-height:calc(var(--font-size-small) + 18px);font-weight:600;letter-spacing:normal;background-color:var(--bg2);vertical-align:bottom;border-bottom:1px solid var(--light-border-color)}.m-table>tbody>tr>td,.m-table>tr>td{border-top:1px solid var(--light-border-color);text-overflow:ellipsis;overflow:hidden}.table-title{font-size:var(--font-size-small);font-weight:700;vertical-align:middle;margin:12px 0 4px 0}"])));var we,ke=ne(be||(be=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([".only-large-screen{display:none}.endpoint-head .path{display:flex;font-family:var(--font-mono);font-size:var(--font-size-small);align-items:center;overflow-wrap:break-word;word-break:break-all}.endpoint-head .descr{font-size:var(--font-size-small);color:var(--light-fg);font-weight:400;align-items:center;overflow-wrap:break-word;word-break:break-all;display:none}.m-endpoint.expanded{margin-bottom:16px}.m-endpoint>.endpoint-head{border-width:1px 1px 1px 5px;border-style:solid;border-color:transparent;border-top-color:var(--light-border-color);display:flex;padding:6px 16px;align-items:center;cursor:pointer}.m-endpoint>.endpoint-head.put.expanded,.m-endpoint>.endpoint-head.put:hover{border-color:var(--orange);background-color:var(--light-orange)}.m-endpoint>.endpoint-head.post.expanded,.m-endpoint>.endpoint-head.post:hover{border-color:var(--green);background-color:var(--light-green)}.m-endpoint>.endpoint-head.get.expanded,.m-endpoint>.endpoint-head.get:hover{border-color:var(--blue);background-color:var(--light-blue)}.m-endpoint>.endpoint-head.delete.expanded,.m-endpoint>.endpoint-head.delete:hover{border-color:var(--red);background-color:var(--light-red)}.m-endpoint>.endpoint-head.head.expanded,.m-endpoint>.endpoint-head.head:hover,.m-endpoint>.endpoint-head.options.expanded,.m-endpoint>.endpoint-head.options:hover,.m-endpoint>.endpoint-head.patch.expanded,.m-endpoint>.endpoint-head.patch:hover{border-color:var(--yellow);background-color:var(--light-yellow)}.m-endpoint>.endpoint-head.deprecated.expanded,.m-endpoint>.endpoint-head.deprecated:hover{border-color:var(--border-color);filter:opacity(.6)}.m-endpoint .endpoint-body{flex-wrap:wrap;padding:16px 0 0 0;border-width:0 1px 1px 5px;border-style:solid;box-shadow:0 4px 3px -3px rgba(0,0,0,.15)}.m-endpoint .endpoint-body.delete{border-color:var(--red)}.m-endpoint .endpoint-body.put{border-color:var(--orange)}.m-endpoint .endpoint-body.post{border-color:var(--green)}.m-endpoint .endpoint-body.get{border-color:var(--blue)}.m-endpoint .endpoint-body.head,.m-endpoint .endpoint-body.options,.m-endpoint .endpoint-body.patch{border-color:var(--yellow)}.m-endpoint .endpoint-body.deprecated{border-color:var(--border-color);filter:opacity(.6)}.endpoint-head .deprecated{color:var(--light-fg);filter:opacity(.6)}.summary{padding:8px 8px}.summary .title{font-size:calc(var(--title-font-size) + 2px);margin-bottom:6px;word-break:break-all}.method{padding:2px 5px;vertical-align:middle;font-size:var(--font-size-small);height:calc(var(--font-size-small) + 8px);line-height:calc(var(--font-size-small) + 8px);min-width:48px;border-radius:2px;display:inline-block;text-align:center;font-weight:700;text-transform:uppercase;margin-right:5px}.method.delete{border:2px solid var(--red)}.method.put{border:2px solid var(--orange)}.method.post{border:2px solid var(--green)}.method.get{border:2px solid var(--blue)}.method.get.deprecated{border:2px solid var(--border-color)}.method.head,.method.options,.method.patch{border:2px solid var(--yellow)}.req-resp-container{display:flex;margin-top:16px;align-items:stretch;flex-wrap:wrap;flex-direction:column;border-top:1px solid var(--light-border-color)}.request,.response{flex:1;min-height:100px;padding:16px 8px;overflow:hidden}.request{border-width:0 0 1px 0;border-style:dashed}.head .request,.options .request,.patch .request{border-color:var(--yellow)}.put .request{border-color:var(--orange)}.post .request{border-color:var(--green)}.get .request{border-color:var(--blue)}.delete .request{border-color:var(--red)}@media only screen and (min-width:768px){.only-large-screen{display:block}.endpoint-head .path{font-size:var(--font-size-regular);min-width:400px}.endpoint-head .descr{display:flex}.descr .m-markdown-small,.endpoint-head .m-markdown-small{display:block}.req-resp-container{flex-direction:var(--layout,row)}.request{border-width:0 1px 0 0;padding:16px 24px}.response{padding:16px 24px}.summary{padding:8px 24px}}"])));var Se,Ae=ne(we||(we=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["code[class*=language-],pre[class*=language-]{text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;tab-size:2;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-]{white-space:normal}.token.block-comment,.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#999}.token.punctuation{color:#ccc}.token.attr-name,.token.deleted,.token.namespace,.token.tag{color:#ffb2b2}.token.function-name{color:#71b7ff}.token.boolean,.token.function,.token.number{color:#f08d49}.token.class-name,.token.constant,.token.property,.token.symbol{color:#f8c555}.token.atrule,.token.builtin,.token.important,.token.keyword,.token.selector{color:#cc99cd}.token.attr-value,.token.char,.token.regex,.token.string,.token.variable{color:#7ec699}.token.entity,.token.operator,.token.url{color:#67cdcc}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}"])));var Oe,Ee=ne(Se||(Se=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([".tab-panel{border:none}.tab-buttons{height:30px;border-bottom:1px solid var(--light-border-color);align-items:stretch;overflow-y:hidden;overflow-x:auto;scrollbar-width:thin}.tab-buttons::-webkit-scrollbar{height:1px;background-color:var(--border-color)}.tab-btn{border:none;border-bottom:3px solid transparent;white-space:nowrap;background-color:transparent;cursor:pointer;outline:0;font-size:var(--font-size-small);margin-right:16px;padding:1px}.tab-btn.active{border-bottom:3px solid var(--primary-color);font-weight:700;color:var(--primary-color)}.tab-btn:hover{color:var(--primary-color)}.tab-content{margin:-1px 0 0 0;position:relative}"])));var De,Ce=ne(Oe||(Oe=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([".nav-bar{width:0;height:100%;overflow:hidden;color:var(--nav-text-color);background-color:var(--nav-bg-color);background-image:var(--nav-bg-image);background-size:var(--nav-bg-image-size);background-repeat:var(--nav-bg-image-repeat, 'no-repeat');background-blend-mode:multiply;box-sizing:border-box;line-height:calc(var(--font-size-small) + 4px);display:none;position:relative;flex-direction:column;flex-wrap:nowrap;word-break:break-word}.nav-scroll{overflow-x:hidden;overflow-y:auto;overflow-y:overlay;scrollbar-width:thin;scrollbar-color:var(--nav-hover-bg-color) transparent}.nav-bar-tag{display:flex;align-items:center;justify-content:space-between;flex-direction:row}.nav-bar.read .nav-bar-tag-icon{display:none}.nav-bar-tag-icon{color:var(--nav-text-color);font-size:20px;margin-right:-16px}.nav-bar-tag-icon:hover{color:var(--nav-hover-text-color)}.nav-bar.focused .nav-bar-tag-and-paths.collapsed .nav-bar-paths-under-tag{display:none}.nav-bar.focused .nav-bar-tag-and-paths.collapsed .nav-bar-tag-icon::after{content:'⌵';width:16px;height:16px;text-align:center;display:inline-block;transform:rotate(270deg)}.nav-bar.focused .nav-bar-tag-and-paths.expanded .nav-bar-tag-icon::after{content:'⌵';width:16px;height:16px;text-align:center;display:inline-block}.nav-scroll::-webkit-scrollbar{width:10px}.nav-scroll::-webkit-scrollbar-track{background:0 0}.nav-scroll::-webkit-scrollbar-thumb{background-color:var(--nav-hover-bg-color)}.nav-bar-tag{font-size:var(--font-size-regular);color:var(--nav-accent-color);border-left:4px solid transparent;font-weight:700;padding:15px 30px 15px 10px;text-transform:capitalize}.nav-bar-components,.nav-bar-h1,.nav-bar-h2,.nav-bar-info,.nav-bar-path,.nav-bar-tag{display:flex;cursor:pointer;border-left:4px solid transparent}.nav-bar-h1,.nav-bar-h2,.nav-bar-path{font-size:calc(var(--font-size-small) + 1px);padding:var(--nav-item-padding)}.nav-bar-path.small-font{font-size:var(--font-size-small)}.nav-bar-info{font-size:var(--font-size-regular);padding:16px 10px;font-weight:700}.nav-bar-section{display:flex;flex-direction:row;justify-content:space-between;font-size:var(--font-size-small);color:var(--nav-text-color);padding:15px 15px 5px 5px;filter:opacity(.5);font-weight:700;border-bottom:1px solid var(--nav-text-color)}.nav-bar-section:first-child{display:none}.nav-bar-h2{margin-left:12px}.nav-bar-h1.active,.nav-bar-h2.active,.nav-bar-info.active,.nav-bar-path.active,.nav-bar-tag.active{border-left:4px solid var(--nav-accent-color);color:var(--nav-hover-text-color)}.nav-bar-h1:hover,.nav-bar-h2:hover,.nav-bar-info:hover,.nav-bar-path:hover,.nav-bar-tag:hover{color:var(--nav-hover-text-color);background-color:var(--nav-hover-bg-color)}"])));var je,_e=ne(De||(De=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['#api-info{font-size:calc(var(--font-size-regular) - 1px);margin-top:8px margin-left: -15px}#api-info span:before{content:"|";display:inline-block;opacity:.5;width:15px;text-align:center}#api-info span:first-child:before{content:"";width:0}'])));var Te=ne(je||(je=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([""])));const Ie=new RegExp(/[\s#:?&={}]/,"g");function Fe(e){return new Promise(t=>setTimeout(t,e))}function Pe(e,t){const r=t.currentTarget,n=document.createElement("textarea");n.value=e,n.style.position="fixed",document.body.appendChild(n),n.focus(),n.select();try{document.execCommand("copy"),r.innerText="Copied",setTimeout(()=>{r.innerText="Copy"},5e3)}catch(e){console.error("Unable to copy",e)}document.body.removeChild(n)}function Re(e,t){return"".concat(t.method," ").concat(t.path," ").concat(t.summary||t.description||""," ").concat(t.operationId||"").toLowerCase().includes(e)}function Be(e,t=new Set){return e?(Object.keys(e).forEach(r=>{var n;if(t.add(r),e[r].properties)Be(e[r].properties,t);else if(null!==(n=e[r].items)&&void 0!==n&&n.properties){var o;Be(null===(o=e[r].items)||void 0===o?void 0:o.properties,t)}}),t):t}var Le,Ne,Me,qe,ze,Ue,$e,He,We,Ve,Ye,Ke,Ge,Je,Qe,Xe,Ze,et,tt,rt,nt;function ot(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function at(e,t="toggle"){const r=e.closest(".nav-bar-tag-and-paths");if(r){const e=r.classList.contains("expanded");!e||"toggle"!==t&&"collapse"!==t?e||"toggle"!==t&&"expand"!==t||r.classList.replace("collapsed","expanded"):r.classList.replace("expanded","collapsed")}}function it(e){at(e.target,"toggle")}function st(e,t="expand-all"){!function(e,t="expand-all"){const r=[...e.querySelectorAll(".nav-bar-tag-and-paths")];"expand-all"===t?r.map(e=>{e.classList.replace("collapsed","expanded")}):r.map(e=>{e.classList.replace("expanded","collapsed")})}(e.target.closest(".nav-scroll"),t)}function ct(){return z(Le||(Le=ot([' <aside class="nav-bar ','"> <div style="padding:16px 30px 0 16px"> <slot name="nav-logo" class="logo"></slot> </div> '," "," </aside> "])),this.renderStyle,"false"===this.allowSearch&&"false"===this.allowAdvancedSearch?"":z(Ne||(Ne=ot([' <div style="position:sticky;top:0;display:flex;flex-direction:row;align-items:stretch;justify-content:center;padding:24px;','"> '," "," </div> "])),"false"===this.allowAdvancedSearch?"border-bottom: 1px solid var(--nav-hover-bg-color)":"","false"===this.allowSearch?"":z(Me||(Me=ot([' <div style="display:flex;flex:1"> <input id="nav-bar-search" style="width:100%;padding-right:20px;color:var(--nav-hover-text-color);border-color:var(--nav-accent-color);background-color:var(--nav-hover-bg-color)" type="text" placeholder="Quick Search" @change="','" spellcheck="false"> <div style="margin:6px 5px 0 -24px;font-size:var(--title-font-size);cursor:pointer">↩</div> </div> '," "])),this.onSearchChange,this.matchPaths?z(qe||(qe=ot([' <div @click="','" style="margin-left:5px;cursor:pointer;align-self:center;color:var(--nav-text-color)" class="small-font-size primary-text bold-text"> CLEAR </div>'])),this.onClearSearch):""),"false"===this.allowAdvancedSearch||this.matchPaths?"":z(ze||(ze=ot([' <button class="m-btn primary" style="margin-left:5px" @click="','"> '," </button> "])),this.onShowSearchModalClicked,"false"===this.allowSearch?"Search":"Adv. Search")),z(Ue||(Ue=ot(['<nav class="nav-scroll"> '," "," ",' <div id="link-paths" class="nav-bar-section"> <div style="font-size:16px;display:flex;margin-left:10px"> ',' </div> <div class="nav-bar-section-title"> OPERATIONS </div> </div> '," "," </nav>"])),"false"!==this.showInfo&&this.resolvedSpec.info?z($e||($e=ot([" "," "])),"true"===this.infoDescriptionHeadingsInNavBar?z(He||(He=ot([" "," "," "," "])),this.resolvedSpec.infoDescriptionHeaders.length>0?z(We||(We=ot(['<div class="nav-bar-info" id="link-overview" data-content-id="overview" @click="','"> Overview </div>'])),e=>this.scrollToEl(e)):"",this.resolvedSpec.infoDescriptionHeaders.map(e=>z(Ve||(Ve=ot([' <div class="nav-bar-h','" id="link-overview--','" data-content-id="overview--','" @click="','"> '," </div>"])),e.depth,(new ce.a.Slugger).slug(e.text),(new ce.a.Slugger).slug(e.text),e=>this.scrollToEl(e),e.text)),this.resolvedSpec.infoDescriptionHeaders.length>0?z(Ye||(Ye=ot(['<hr style="border-top:1px solid var(--nav-hover-bg-color);border-width:1px 0 0 0;margin:15px 0 0 0">']))):""):z(Ke||(Ke=ot(['<div class="nav-bar-info" id="link-overview" data-content-id="overview" @click="','"> Overview </div>'])),e=>this.scrollToEl(e))):"","false"===this.allowTry||"false"===this.allowServerSelection?"":z(Ge||(Ge=ot(['<div class="nav-bar-info" id="link-api-servers" data-content-id="api-servers" @click="','"> API Servers </div>'])),e=>this.scrollToEl(e)),"false"!==this.allowAuthentication&&this.resolvedSpec.securitySchemes?z(Je||(Je=ot(['<div class="nav-bar-info" id="link-authentication" data-content-id="authentication" @click="','"> Authentication </div>'])),e=>this.scrollToEl(e)):"","focused"===this.renderStyle?z(Qe||(Qe=ot([' <div @click="','" title="Expand all" style="transform:rotate(90deg);cursor:pointer;margin-right:10px">â–¸</div> <div @click="','" title="Collapse all" style="transform:rotate(270deg);cursor:pointer">â–¸</div>'])),e=>{st.call(this,e,"expand-all")},e=>{st.call(this,e,"collapse-all")}):"",this.resolvedSpec.tags.filter(e=>e.paths.filter(e=>Re(this.matchPaths,e)).length).map(e=>z(Xe||(Xe=ot([' <div class="nav-bar-tag-and-paths ','"> <div class="nav-bar-tag" id="link-tag--','" data-content-id="tag--','" @click="','"> <div>','</div> <div class="nav-bar-tag-icon" @click="','"></div> </div> <div class="nav-bar-paths-under-tag"> '," </div> </div> "])),e.expanded?"expanded":"collapsed",e.name.replace(Ie,"-"),e.name.replace(Ie,"-"),e=>{this.scrollToEl(e)},e.name,e=>{it.call(this,e)},e.paths.filter(e=>!this.matchPaths||Re(this.matchPaths,e)).map(e=>z(Ze||(Ze=ot([' <div class="nav-bar-path ','" data-content-id="',"-",'" id="link-',"-",'" @click="','"> <span style="','"> '," </span> </div>"])),"true"===this.usePathInNavBar?"small-font":"",e.method,e.path.replace(Ie,"-"),e.method,e.path.replace(Ie,"-"),e=>this.scrollToEl(e),e.deprecated?"filter:opacity(0.5)":"","true"===this.usePathInNavBar?z(et||(et=ot(['<span class="mono-font">'," ","</span>"])),e.method.toUpperCase(),e.path):e.summary)))),"false"!==this.showComponents&&this.resolvedSpec.components?z(tt||(tt=ot([' <div id="link-components" class="nav-bar-section"> <div></div> <div class="nav-bar-section-title">COMPONENTS</div> </div> '," "])),this.resolvedSpec.components.map(e=>e.subComponents.length?z(rt||(rt=ot([' <div class="nav-bar-tag" data-content-id="cmp-','" id="link-cmp-','" @click="','"> '," </div> "," "])),e.name.toLowerCase(),e.name.toLowerCase(),e=>this.scrollToEl(e),e.name,e.subComponents.map(e=>z(nt||(nt=ot([' <div class="nav-bar-path" data-content-id="cmp-','" id="link-cmp-','" @click="','"> <span> '," </span> </div>"])),e.id,e.id,e=>this.scrollToEl(e),e.name))):"")):""))}var lt=r(267),ut=r.n(lt),pt=r(8),ft=r.n(pt),dt=r(58),ht=r.n(dt),vt=r(65),mt=r.n(vt),gt=r(102),yt=r.n(gt),bt=r(28),xt=r.n(bt),wt=r(34),kt=r.n(wt),St=r(9),At=r.n(St),Ot=r(19),Et=r.n(Ot),Dt=r(47),Ct=r.n(Dt),jt=r(268),_t=r.n(jt),Tt=r(2),It=r.n(Tt),Ft=r(5),Pt=r.n(Ft),Rt=r(6),Bt=r.n(Rt),Lt=r(131),Nt=r.n(Lt),Mt=r(66),qt=r.n(Mt),zt=r(24),Ut=r.n(zt),$t=r(4),Ht=r.n($t),Wt=r(10),Vt=r.n(Wt),Yt=r(35),Kt=r.n(Yt),Gt=r(269),Jt=r.n(Gt),Qt=r(15),Xt=r.n(Qt),Zt=r(173),er=r.n(Zt),tr=r(79),rr=r.n(tr),nr=r(11),or=r.n(nr),ar=r(80),ir=r.n(ar),sr=(r(485),r(57)),cr=r.n(sr),lr=r(132),ur=r.n(lr),pr=r(81),fr=r.n(pr),dr=r(51),hr=r.n(dr),vr=r(33),mr=r(270),gr=r.n(mr),yr=r(82),br=r.n(yr),xr=r(83),wr=r.n(xr),kr=r(271),Sr=r.n(kr),Ar=r(130),Or=r.n(Ar),Er=r(272),Dr=r.n(Er),Cr=r(273),jr=r.n(Cr),_r=r(274),Tr=function(e){var t=function(e,t){return{name:e,value:t}};return hr()(e.prototype.set)||hr()(e.prototype.get)||hr()(e.prototype.getAll)||hr()(e.prototype.has)?e:function(e){Dr()(n,e);var r=jr()(n);function n(e){var t;return br()(this,n),(t=r.call(this,e)).entryList=[],t}return wr()(n,[{key:"append",value:function(e,r,o){return this.entryList.push(t(e,r)),Sr()(Or()(n.prototype),"append",this).call(this,e,r,o)}},{key:"set",value:function(e,r){var n,o=t(e,r);this.entryList=Et()(n=this.entryList).call(n,(function(t){return t.name!==e})),this.entryList.push(o)}},{key:"get",value:function(e){var t,r=gr()(t=this.entryList).call(t,(function(t){return t.name===e}));return void 0===r?null:r}},{key:"getAll",value:function(e){var t,r;return Bt()(t=Et()(r=this.entryList).call(r,(function(t){return t.name===e}))).call(t,(function(e){return e.value}))}},{key:"has",value:function(e){var t;return Ut()(t=this.entryList).call(t,(function(t){return t.name===e}))}}]),n}(e)}(r.n(_r).a),Ir=r(23),Fr=r.n(Ir),Pr=r(40),Rr=r.n(Pr),Br=r(33).Buffer,Lr=function(e){var t;return or()(t=":/?#[]@!$&'()*+,;=").call(t,e)>-1},Nr=function(e){return/^[a-z0-9\-._~]+$/i.test(e)};function Mr(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.escape,o=arguments.length>2?arguments[2]:void 0;return"number"==typeof e&&(e=e.toString()),"string"==typeof e&&e.length&&n?o?JSON.parse(e):Bt()(t=Rr()(e)).call(t,(function(e){var t,r;return Nr(e)||Lr(e)&&"unsafe"===n?e:Bt()(t=Bt()(r=Br.from(e).toJSON().data||[]).call(r,(function(e){var t;return Fr()(t="0".concat(e.toString(16).toUpperCase())).call(t,-2)}))).call(t,(function(e){return"%".concat(e)})).join("")})).join(""):e}function qr(e){var t=e.value;return Ht()(t)?function(e){var t,r=e.key,n=e.value,o=e.style,a=e.explode,i=e.escape,s=function(e){return Mr(e,{escape:i})};if("simple"===o)return Bt()(n).call(n,(function(e){return s(e)})).join(",");if("label"===o)return".".concat(Bt()(n).call(n,(function(e){return s(e)})).join("."));if("matrix"===o)return Xt()(t=Bt()(n).call(n,(function(e){return s(e)}))).call(t,(function(e,t){var n,o,i;return!e||a?It()(o=It()(i="".concat(e||"",";")).call(i,r,"=")).call(o,t):It()(n="".concat(e,",")).call(n,t)}),"");if("form"===o){var c=a?"&".concat(r,"="):",";return Bt()(n).call(n,(function(e){return s(e)})).join(c)}if("spaceDelimited"===o){var l=a?"".concat(r,"="):"";return Bt()(n).call(n,(function(e){return s(e)})).join(" ".concat(l))}if("pipeDelimited"===o){var u=a?"".concat(r,"="):"";return Bt()(n).call(n,(function(e){return s(e)})).join("|".concat(u))}return}(e):"object"===Vt()(t)?function(e){var t=e.key,r=e.value,n=e.style,o=e.explode,a=e.escape,i=function(e){return Mr(e,{escape:a})},s=Pt()(r);if("simple"===n)return Xt()(s).call(s,(function(e,t){var n,a,s,c=i(r[t]),l=o?"=":",",u=e?"".concat(e,","):"";return It()(n=It()(a=It()(s="".concat(u)).call(s,t)).call(a,l)).call(n,c)}),"");if("label"===n)return Xt()(s).call(s,(function(e,t){var n,a,s,c=i(r[t]),l=o?"=":".",u=e?"".concat(e,"."):".";return It()(n=It()(a=It()(s="".concat(u)).call(s,t)).call(a,l)).call(n,c)}),"");if("matrix"===n&&o)return Xt()(s).call(s,(function(e,t){var n,o,a=i(r[t]),s=e?"".concat(e,";"):";";return It()(n=It()(o="".concat(s)).call(o,t,"=")).call(n,a)}),"");if("matrix"===n)return Xt()(s).call(s,(function(e,n){var o,a,s=i(r[n]),c=e?"".concat(e,","):";".concat(t,"=");return It()(o=It()(a="".concat(c)).call(a,n,",")).call(o,s)}),"");if("form"===n)return Xt()(s).call(s,(function(e,t){var n,a,s,c,l=i(r[t]),u=e?It()(n="".concat(e)).call(n,o?"&":","):"",p=o?"=":",";return It()(a=It()(s=It()(c="".concat(u)).call(c,t)).call(s,p)).call(a,l)}),"");return}(e):function(e){var t,r=e.key,n=e.value,o=e.style,a=e.escape,i=function(e){return Mr(e,{escape:a})};if("simple"===o)return i(n);if("label"===o)return".".concat(i(n));if("matrix"===o)return It()(t=";".concat(r,"=")).call(t,i(n));if("form"===o)return i(n);if("deepObject"===o)return i(n);return}(e)}var zr={serializeRes:Vr,mergeInQueryOrForm:nn};function Ur(e){return $r.apply(this,arguments)}function $r(){return($r=ir()(kt.a.mark((function e(t){var r,n,o,a,i,s,c=arguments;return kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=c.length>1&&void 0!==c[1]?c[1]:{},"object"===Vt()(t)&&(t=(r=t).url),r.headers=r.headers||{},zr.mergeInQueryOrForm(r),r.headers&&At()(n=Pt()(r.headers)).call(n,(function(e){var t=r.headers[e];"string"==typeof t&&(r.headers[e]=t.replace(/\n+/g," "))})),!r.requestInterceptor){e.next=12;break}return e.next=8,r.requestInterceptor(r);case 8:if(e.t0=e.sent,e.t0){e.next=11;break}e.t0=r;case 11:r=e.t0;case 12:return o=r.headers["content-type"]||r.headers["Content-Type"],/multipart\/form-data/i.test(o)&&(delete r.headers["content-type"],delete r.headers["Content-Type"]),e.prev=14,e.next=17,(r.userFetch||fetch)(r.url,r);case 17:return a=e.sent,e.next=20,zr.serializeRes(a,t,r);case 20:if(a=e.sent,!r.responseInterceptor){e.next=28;break}return e.next=24,r.responseInterceptor(a);case 24:if(e.t1=e.sent,e.t1){e.next=27;break}e.t1=a;case 27:a=e.t1;case 28:e.next=39;break;case 30:if(e.prev=30,e.t2=e.catch(14),a){e.next=34;break}throw e.t2;case 34:throw(i=new Error(a.statusText)).status=a.status,i.statusCode=a.status,i.responseError=e.t2,i;case 39:if(a.ok){e.next=45;break}throw(s=new Error(a.statusText)).status=a.status,s.statusCode=a.status,s.response=a,s;case 45:return e.abrupt("return",a);case 46:case"end":return e.stop()}}),e,null,[[14,30]])})))).apply(this,arguments)}var Hr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/(json|xml|yaml|text)\b/.test(e)};function Wr(e,t){return t&&(0===or()(t).call(t,"application/json")||or()(t).call(t,"+json")>0)?JSON.parse(e):ur.a.safeLoad(e)}function Vr(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.loadSpec,o=void 0!==n&&n,a={ok:e.ok,url:e.url||t,status:e.status,statusText:e.statusText,headers:Kr(e.headers)},i=a.headers["content-type"],s=o||Hr(i),c=s?e.text:e.blob||e.buffer;return c.call(e).then((function(e){if(a.text=e,a.data=e,s)try{var t=Wr(e,i);a.body=t,a.obj=t}catch(e){a.parseError=e}return a}))}function Yr(e){return rr()(e).call(e,", ")?e.split(", "):e}function Kr(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return hr()(er()(t))?Xt()(e=Jt()(er()(t).call(t))).call(e,(function(e,t){var r=Kt()(t,2),n=r[0],o=r[1];return e[n]=Yr(o),e}),{}):{}}function Gr(e,t){return t||"undefined"==typeof navigator||(t=navigator),t&&"ReactNative"===t.product?!(!e||"object"!==Vt()(e)||"string"!=typeof e.uri):"undefined"!=typeof File&&e instanceof File||("undefined"!=typeof Blob&&e instanceof Blob||(void 0!==vr.Buffer&&e instanceof vr.Buffer||null!==e&&"object"===Vt()(e)&&"function"==typeof e.pipe))}function Jr(e,t){return Ht()(e)&&Ut()(e).call(e,(function(e){return Gr(e,t)}))}var Qr={form:",",spaceDelimited:"%20",pipeDelimited:"|"},Xr={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function Zr(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t.collectionFormat,o=t.allowEmptyValue,a=t.serializationOption,i=t.encoding,s="object"!==Vt()(t)||Ht()(t)?t:t.value,c=r?function(e){return e.toString()}:function(e){return encodeURIComponent(e)},l=c(e);if(void 0===s&&o)return[[l,""]];if(Gr(s)||Jr(s))return[[l,s]];if(a)return en(e,s,r,a);if(i){var u;if(Ut()(u=[Vt()(i.style),Vt()(i.explode),Vt()(i.allowReserved)]).call(u,(function(e){return"undefined"!==e})))return en(e,s,r,fr()(i,["style","explode","allowReserved"]));if(i.contentType){if("application/json"===i.contentType){var p="string"==typeof s?s:qt()(s);return[[l,c(p)]]}return[[l,c(s.toString())]]}return"object"!==Vt()(s)?[[l,c(s)]]:Ht()(s)&&Nt()(s).call(s,(function(e){return"object"!==Vt()(e)}))?[[l,Bt()(s).call(s,c).join(",")]]:[[l,c(qt()(s))]]}return"object"!==Vt()(s)?[[l,c(s)]]:Ht()(s)?"multi"===n?[[l,Bt()(s).call(s,c)]]:[[l,Bt()(s).call(s,c).join(Xr[n||"csv"])]]:[[l,""]]}function en(e,t,r,n){var o,a,i,s=n.style||"form",c=void 0===n.explode?"form"===s:n.explode,l=!r&&(n&&n.allowReserved?"unsafe":"reserved"),u=function(e){return Mr(e,{escape:l})},p=r?function(e){return e}:function(e){return Mr(e,{escape:l})};return"object"!==Vt()(t)?[[p(e),u(t)]]:Ht()(t)?c?[[p(e),Bt()(t).call(t,u)]]:[[p(e),Bt()(t).call(t,u).join(Qr[s])]]:"deepObject"===s?Bt()(a=Pt()(t)).call(a,(function(r){var n;return[p(It()(n="".concat(e,"[")).call(n,r,"]")),u(t[r])]})):c?Bt()(i=Pt()(t)).call(i,(function(e){return[p(e),u(t[e])]})):[[p(e),Bt()(o=Pt()(t)).call(o,(function(e){var r;return[It()(r="".concat(p(e),",")).call(r,u(t[e]))]})).join(",")]]}function tn(e){var t;return Xt()(t=_t()(e)).call(t,(function(e,t){var r,n=Kt()(t,2),o=n[0],a=n[1],i=Ct()(Zr(o,a,!0));try{for(i.s();!(r=i.n()).done;){var s=Kt()(r.value,2),c=s[0],l=s[1];if(Ht()(l)){var u,p=Ct()(l);try{for(p.s();!(u=p.n()).done;){var f=u.value;e.append(c,f)}}catch(e){p.e(e)}finally{p.f()}}else e.append(c,l)}}catch(e){i.e(e)}finally{i.f()}return e}),new Tr)}function rn(e){var t,r=Xt()(t=Pt()(e)).call(t,(function(t,r){var n,o=Ct()(Zr(r,e[r]));try{for(o.s();!(n=o.n()).done;){var a=Kt()(n.value,2),i=a[0],s=a[1];t[i]=s}}catch(e){o.e(e)}finally{o.f()}return t}),{});return cr.a.stringify(r,{encode:!1,indices:!1})||""}function nn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url,r=void 0===t?"":t,n=e.query,o=e.form,a=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Et()(t).call(t,(function(e){return e})).join("&");return n?"?".concat(n):""};if(o){var i,s=Ut()(i=Pt()(o)).call(i,(function(e){var t=o[e].value;return Gr(t)||Jr(t)})),c=e.headers["content-type"]||e.headers["Content-Type"];s||/multipart\/form-data/i.test(c)?e.body=tn(e.form):e.body=rn(o),delete e.form}if(n){var l=r.split("?"),u=Kt()(l,2),p=u[0],f=u[1],d="";if(f){var h=cr.a.parse(f),v=Pt()(n);At()(v).call(v,(function(e){return delete h[e]})),d=cr.a.stringify(h,{encode:!0})}var m=a(d,rn(n));e.url=p+m,delete e.query}return e}function on(e,t,r){return r=r||function(e){return e},t=t||function(e){return e},function(n){return"string"==typeof n&&(n={url:n}),zr.mergeInQueryOrForm(n),n=t(n),r(e(n))}}var an,sn=r(275),cn=r.n(sn),ln=r(53),un=r.n(ln),pn=r(174),fn=r.n(pn),dn=r(25),hn=r.n(dn),vn=r(276),mn=r.n(vn),gn=r(175),yn=r.n(gn),bn=r(172),xn=r.n(bn),wn=(an=function(e,t){return(an=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)},function(e,t){function r(){this.constructor=e}an(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),kn=Object.prototype.hasOwnProperty;function Sn(e,t){return kn.call(e,t)}function An(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);t=[];for(var n in e)Sn(e,n)&&t.push(n);return t}function On(e){switch(typeof e){case"object":return JSON.parse(JSON.stringify(e));case"undefined":return null;default:return e}}function En(e){for(var t,r=0,n=e.length;r<n;){if(!((t=e.charCodeAt(r))>=48&&t<=57))return!1;r++}return!0}function Dn(e){return-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function Cn(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function jn(e,t){var r=[e];for(var n in t){var o="object"==typeof t[n]?JSON.stringify(t[n],null,2):t[n];void 0!==o&&r.push(n+": "+o)}return r.join("\n")}var _n=function(e){function t(t,r,n,o,a){var i=this.constructor,s=e.call(this,jn(t,{name:r,index:n,operation:o,tree:a}))||this;return s.name=r,s.index=n,s.operation=o,s.tree=a,Object.setPrototypeOf(s,i.prototype),s.message=jn(t,{name:r,index:n,operation:o,tree:a}),s}return wn(t,e),t}(Error),Tn=_n,In=On,Fn={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=Rn(r,this.path);n&&(n=On(n));var o=Bn(r,{op:"remove",path:this.from}).removed;return Bn(r,{op:"add",path:this.path,value:o}),{newDocument:r,removed:n}},copy:function(e,t,r){var n=Rn(r,this.from);return Bn(r,{op:"add",path:this.path,value:On(n)}),{newDocument:r}},test:function(e,t,r){return{newDocument:r,test:zn(e[t],this.value)}},_get:function(e,t,r){return this.value=e[t],{newDocument:r}}},Pn={add:function(e,t,r){return En(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:Fn.move,copy:Fn.copy,test:Fn.test,_get:Fn._get};function Rn(e,t){if(""==t)return e;var r={op:"_get",path:t};return Bn(e,r),r.value}function Bn(e,t,r,n,o,a){if(void 0===r&&(r=!1),void 0===n&&(n=!0),void 0===o&&(o=!0),void 0===a&&(a=0),r&&("function"==typeof r?r(t,0,e,t.path):Mn(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=Rn(e,t.from),"move"===t.op&&(i.removed=e),i;if("test"===t.op){if(i.test=zn(e,t.value),!1===i.test)throw new Tn("Test operation failed","TEST_OPERATION_FAILED",a,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 Tn("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",a,t,e);return i}n||(e=On(e));var s=(t.path||"").split("/"),c=e,l=1,u=s.length,p=void 0,f=void 0,d=void 0;for(d="function"==typeof r?r:Mn;;){if(f=s[l],o&&"__proto__"==f)throw new TypeError("JSON-Patch: modifying `__proto__` 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===c[f]?p=s.slice(0,l).join("/"):l==u-1&&(p=t.path),void 0!==p&&d(t,0,e,p)),l++,Array.isArray(c)){if("-"===f)f=c.length;else{if(r&&!En(f))throw new Tn("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",a,t,e);En(f)&&(f=~~f)}if(l>=u){if(r&&"add"===t.op&&f>c.length)throw new Tn("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",a,t,e);if(!1===(i=Pn[t.op].call(t,c,f,e)).test)throw new Tn("Test operation failed","TEST_OPERATION_FAILED",a,t,e);return i}}else if(f&&-1!=f.indexOf("~")&&(f=Cn(f)),l>=u){if(!1===(i=Fn[t.op].call(t,c,f,e)).test)throw new Tn("Test operation failed","TEST_OPERATION_FAILED",a,t,e);return i}c=c[f]}}function Ln(e,t,r,n,o){if(void 0===n&&(n=!0),void 0===o&&(o=!0),r&&!Array.isArray(t))throw new Tn("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");n||(e=On(e));for(var a=new Array(t.length),i=0,s=t.length;i<s;i++)a[i]=Bn(e,t[i],r,!0,o,i),e=a[i].newDocument;return a.newDocument=e,a}function Nn(e,t,r){var n=Bn(e,t);if(!1===n.test)throw new Tn("Test operation failed","TEST_OPERATION_FAILED",r,t,e);return n.newDocument}function Mn(e,t,r,n){if("object"!=typeof e||null===e||Array.isArray(e))throw new Tn("Operation is not an object","OPERATION_NOT_AN_OBJECT",t,e,r);if(!Fn[e.op])throw new Tn("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 Tn("Operation `path` property is not a string","OPERATION_PATH_INVALID",t,e,r);if(0!==e.path.indexOf("/")&&e.path.length>0)throw new Tn('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 Tn("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 Tn("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!0;if(t)if(Array.isArray(t)){for(var r=0,n=t.length;r<n;r++)if(e(t[r]))return!0}else if("object"==typeof t){var o=An(t),a=o.length;for(r=0;r<a;r++)if(e(t[o[r]]))return!0}return!1}(e.value))throw new Tn("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 o=e.path.split("/").length,a=n.split("/").length;if(o!==a+1&&o!==a)throw new Tn("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 Tn("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){var i=qn([{op:"_get",path:e.from,value:void 0}],r);if(i&&"OPERATION_PATH_UNRESOLVABLE"===i.name)throw new Tn("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",t,e,r)}}function qn(e,t,r){try{if(!Array.isArray(e))throw new Tn("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(t)Ln(On(t),On(e),r||!0);else{r=r||Mn;for(var n=0;n<e.length;n++)r(e[n],n,t,void 0)}}catch(e){if(e instanceof Tn)return e;throw e}}function zn(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var r,n,o,a=Array.isArray(e),i=Array.isArray(t);if(a&&i){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!zn(e[r],t[r]))return!1;return!0}if(a!=i)return!1;var s=Object.keys(e);if((n=s.length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!t.hasOwnProperty(s[r]))return!1;for(r=n;0!=r--;)if(!zn(e[o=s[r]],t[o]))return!1;return!0}return e!=e&&t!=t} -/*! - * https://github.com/Starcounter-Jack/JSON-Patch - * (c) 2017 Joachim Wester - * MIT license - */ -var Un=new WeakMap,$n=function(e){this.observers=new Map,this.obj=e},Hn=function(e,t){this.callback=e,this.observer=t};function Wn(e,t){t.unobserve()}function Vn(e,t){var r,n=function(e){return Un.get(e)}(e);if(n){var o=function(e,t){return e.observers.get(t)}(n,t);r=o&&o.observer}else n=new $n(e),Un.set(e,n);if(r)return r;if(r={},n.value=On(e),t){r.callback=t,r.next=null;var a=function(){Yn(r)},i=function(){clearTimeout(r.next),r.next=setTimeout(a)};"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(){Yn(r),clearTimeout(r.next),function(e,t){e.observers.delete(t.callback)}(n,r),"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 Hn(t,r)),r}function Yn(e,t){void 0===t&&(t=!1);var r=Un.get(e.object);Kn(r.value,e.object,e.patches,"",t),e.patches.length&&Ln(r.value,e.patches);var n=e.patches;return n.length>0&&(e.patches=[],e.callback&&e.callback(n)),n}function Kn(e,t,r,n,o){if(t!==e){"function"==typeof t.toJSON&&(t=t.toJSON());for(var a=An(t),i=An(e),s=!1,c=i.length-1;c>=0;c--){var l=e[p=i[c]];if(!Sn(t,p)||void 0===t[p]&&void 0!==l&&!1===Array.isArray(t))Array.isArray(e)===Array.isArray(t)?(o&&r.push({op:"test",path:n+"/"+Dn(p),value:On(l)}),r.push({op:"remove",path:n+"/"+Dn(p)}),s=!0):(o&&r.push({op:"test",path:n,value:e}),r.push({op:"replace",path:n,value:t}),!0);else{var u=t[p];"object"==typeof l&&null!=l&&"object"==typeof u&&null!=u?Kn(l,u,r,n+"/"+Dn(p),o):l!==u&&(!0,o&&r.push({op:"test",path:n+"/"+Dn(p),value:On(l)}),r.push({op:"replace",path:n+"/"+Dn(p),value:On(u)}))}}if(s||a.length!=i.length)for(c=0;c<a.length;c++){var p;Sn(e,p=a[c])||void 0===t[p]||r.push({op:"add",path:n+"/"+Dn(p),value:On(t[p])})}}}function Gn(e,t,r){void 0===r&&(r=!1);var n=[];return Kn(e,t,n,"",r),n}Object.assign({},n,o,{JsonPatchError:_n,deepClone:On,escapePathComponent:Dn,unescapePathComponent:Cn});var Jn=r(277),Qn=r.n(Jn),Xn=r(278),Zn=r.n(Xn),eo={add:function(e,t){return{op:"add",path:e,value:t}},replace:ro,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 Xt()(t).call(t,(function(e,t){return void 0!==t&&e?e[t]:e}),e)},applyPatch:function(e,t,r){if(r=r||{},"merge"===(t=ft()(ft()({},t),{},{path:t.path&&to(t.path)})).op){var n=mo(e,t.path);hn()(n,t.value),Ln(e,[ro(t.path,n)])}else if("mergeDeep"===t.op){var o=mo(e,t.path);for(var a in t.value){var i=t.value[a],s=Ht()(i);if(s){var c=o[a]||[];o[a]=It()(c).call(c,i)}else if(lo(i)&&!s){var l=ft()({},o[a]);for(var u in i){if(Object.prototype.hasOwnProperty.call(l,u)){l=Qn()(Zn()(l),i);break}hn()(l,xn()({},u,i[u]))}o[a]=l}else o[a]=i}}else if("add"===t.op&&""===t.path&&lo(t.value)){var p,f=Xt()(p=Pt()(t.value)).call(p,(function(e,r){return e.push({op:"add",path:"/".concat(to(r)),value:t.value[r]}),e}),[]);Ln(e,f)}else if("replace"===t.op&&""===t.path){var d=t.value;r.allowMetaPatches&&t.meta&&ho(t)&&(Ht()(t.value)||lo(t.value))&&(d=ft()(ft()({},d),t.meta)),e=d}else if(Ln(e,[t]),r.allowMetaPatches&&t.meta&&ho(t)&&(Ht()(t.value)||lo(t.value))){var h=mo(e,t.path),v=ft()(ft()({},h),t.meta);Ln(e,[ro(t.path,v)])}return e},parentPathMatch:function(e,t){if(!Ht()(t))return!1;for(var r=0,n=t.length;r<n;r+=1)if(t[r]!==e[r])return!1;return!0},flatten:so,fullyNormalizeArray:function(e){return co(so(io(e)))},normalizeArray:io,isPromise:function(e){return lo(e)&&uo(e.then)},forEachNew:function(e,t){try{return no(e,ao,t)}catch(e){return e}},forEachNewPrimitive:function(e,t){try{return no(e,oo,t)}catch(e){return e}},isJsonPatch:po,isContextPatch:function(e){return vo(e)&&"context"===e.type},isPatch:vo,isMutation:fo,isAdditiveMutation:ho,isGenerator:function(e){return"[object GeneratorFunction]"===Object.prototype.toString.call(e)},isFunction:uo,isObject:lo,isError:function(e){return e instanceof Error}};function to(e){return Ht()(e)?e.length<1?"":"/".concat(Bt()(e).call(e,(function(e){return(e+"").replace(/~/g,"~0").replace(/\//g,"~1")})).join("/")):e}function ro(e,t,r){return{op:"replace",path:e,value:t,meta:r}}function no(e,t,r){var n;return co(so(Bt()(n=Et()(e).call(e,ho)).call(n,(function(e){return t(e.value,r,e.path)}))||[]))}function oo(e,t,r){return r=r||[],Ht()(e)?Bt()(e).call(e,(function(e,n){return oo(e,t,It()(r).call(r,n))})):lo(e)?Bt()(n=Pt()(e)).call(n,(function(n){return oo(e[n],t,It()(r).call(r,n))})):t(e,r[r.length-1],r);var n}function ao(e,t,r){var n=[];if((r=r||[]).length>0){var o=t(e,r[r.length-1],r);o&&(n=It()(n).call(n,o))}if(Ht()(e)){var a=Bt()(e).call(e,(function(e,n){return ao(e,t,It()(r).call(r,n))}));a&&(n=It()(n).call(n,a))}else if(lo(e)){var i,s=Bt()(i=Pt()(e)).call(i,(function(n){return ao(e[n],t,It()(r).call(r,n))}));s&&(n=It()(n).call(n,s))}return n=so(n)}function io(e){return Ht()(e)?e:[e]}function so(e){var t,r,n;return(r=It()(t=[])).call.apply(r,It()(n=[t]).call(n,Rr()(Bt()(e).call(e,(function(e){return Ht()(e)?so(e):e})))))}function co(e){return Et()(e).call(e,(function(e){return void 0!==e}))}function lo(e){return e&&"object"===Vt()(e)}function uo(e){return e&&"function"==typeof e}function po(e){if(vo(e)){var t=e.op;return"add"===t||"remove"===t||"replace"===t}return!1}function fo(e){return po(e)||vo(e)&&"mutation"===e.type}function ho(e){return fo(e)&&("add"===e.op||"replace"===e.op||"merge"===e.op||"mergeDeep"===e.op)}function vo(e){return e&&"object"===Vt()(e)}function mo(e,t){try{return Rn(e,t)}catch(e){return console.error(e),{}}}var go=r(279),yo=r.n(go),bo=r(176),xo=r.n(bo);function wo(e,t){function r(){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack;for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];this.message=r[0],t&&t.apply(this,r)}return r.prototype=new Error,r.prototype.name=e,r.prototype.constructor=r,r}var ko=r(280),So=r.n(ko),Ao=r(281),Oo=r.n(Ao),Eo=["properties"],Do=["properties"],Co=["definitions","parameters","responses","securityDefinitions","components/schemas","components/responses","components/parameters","components/securitySchemes"],jo=["schema/example","items/example"];function _o(e){var t=e[e.length-1],r=e[e.length-2],n=e.join("/");return or()(Eo).call(Eo,t)>-1&&-1===or()(Do).call(Do,r)||or()(Co).call(Co,n)>-1||Ut()(jo).call(jo,(function(e){return or()(n).call(n,e)>-1}))}function To(e,t){var r,n=e.split("#"),o=Kt()(n,2),a=o[0],i=o[1],s=xt.a.resolve(a||"",t||"");return i?It()(r="".concat(s,"#")).call(r,i):s}var Io=new RegExp("^([a-z]+://|//)","i"),Fo=wo("JSONRefError",(function(e,t,r){this.originalError=r,hn()(this,t||{})})),Po={},Ro=new yo.a,Bo=[function(e){return"paths"===e[0]&&"responses"===e[3]&&"examples"===e[5]},function(e){return"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"example"===e[7]},function(e){return"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9]},function(e){return"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"example"===e[6]},function(e){return"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"example"===e[4]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"example"===e[5]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"examples"===e[4]&&"value"===e[6]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"examples"===e[5]&&"value"===e[7]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"example"===e[6]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"content"===e[4]&&"example"===e[7]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9]}],Lo={key:"$ref",plugin:function(e,t,r,n){var o=n.getInstance(),a=Fr()(r).call(r,0,-1);if(!_o(a)&&(i=a,!Ut()(Bo).call(Bo,(function(e){return e(i)})))){var i,s=n.getContext(r).baseDoc;if("string"!=typeof e)return new Fo("$ref: must be a string (JSON-Ref)",{$ref:e,baseDoc:s,fullPath:r});var c,l,u,p=Uo(e),f=p[0],d=p[1]||"";try{c=s||f?qo(f,s):null}catch(t){return zo(t,{pointer:d,$ref:e,basePath:c,fullPath:r})}if(function(e,t,r,n){var o,a,i=Ro.get(n);i||(i={},Ro.set(n,i));var s=function(e){if(0===e.length)return"";return"/".concat(Bt()(e).call(e,Ko).join("/"))}(r),c=It()(o="".concat(t||"<specmap-base>","#")).call(o,e),l=s.replace(/allOf\/\d+\/?/g,""),u=n.contextTree.get([]).baseDoc;if(t==u&&Go(l,e))return!0;var p="";if(Ut()(r).call(r,(function(e){var t,r;return p=It()(t="".concat(p,"/")).call(t,Ko(e)),i[p]&&Ut()(r=i[p]).call(r,(function(e){return Go(e,c)||Go(c,e)}))})))return!0;return void(i[l]=It()(a=i[l]||[]).call(a,c))}(d,c,a,n)&&!o.useCircularStructures){var h=To(e,c);return e===h?null:eo.replace(r,h)}if(null==c?(u=Vo(d),void 0===(l=n.get(u))&&(l=new Fo("Could not resolve reference: ".concat(e),{pointer:d,$ref:e,baseDoc:s,fullPath:r}))):l=null!=(l=$o(c,d)).__value?l.__value:l.catch((function(t){throw zo(t,{pointer:d,$ref:e,baseDoc:s,fullPath:r})})),l instanceof Error)return[eo.remove(r),l];var v=To(e,c),m=eo.replace(a,l,{$$ref:v});if(c&&c!==s)return[m,eo.context(a,{baseDoc:c})];try{if(!function(e,t){var r,n=[e];return Xt()(r=t.path).call(r,(function(e,t){return n.push(e[t]),e[t]}),e),function e(t){var r;return eo.isObject(t)&&(or()(n).call(n,t)>=0||Ut()(r=Pt()(t)).call(r,(function(r){return e(t[r])})))}(t.value)}(n.state,m)||o.useCircularStructures)return m}catch(e){return null}}}},No=hn()(Lo,{docCache:Po,absoluteify:qo,clearCache:function(e){var t;void 0!==e?delete Po[e]:At()(t=Pt()(Po)).call(t,(function(e){delete Po[e]}))},JSONRefError:Fo,wrapError:zo,getDoc:Ho,split:Uo,extractFromDoc:$o,fetchJSON:function(e){return Object(sr.fetch)(e,{headers:{Accept:"application/json, application/yaml"},loadSpec:!0}).then((function(e){return e.text()})).then((function(e){return ur.a.safeLoad(e)}))},extract:Wo,jsonPointerToArray:Vo,unescapeJsonPointerToken:Yo}),Mo=No;function qo(e,t){if(!Io.test(e)){var r;if(!t)throw new Fo(It()(r="Tried to resolve a relative URL, without having a basePath. path: '".concat(e,"' basePath: '")).call(r,t,"'"));return xt.a.resolve(t,e)}return e}function zo(e,t){var r,n;e&&e.response&&e.response.body?r=It()(n="".concat(e.response.body.code," ")).call(n,e.response.body.message):r=e.message;return new Fo("Could not resolve reference: ".concat(r),t,e)}function Uo(e){return(e+"").split("#")}function $o(e,t){var r=Po[e];if(r&&!eo.isPromise(r))try{var n=Wo(t,r);return hn()(un.a.resolve(n),{__value:n})}catch(e){return un.a.reject(e)}return Ho(e).then((function(e){return Wo(t,e)}))}function Ho(e){var t=Po[e];return t?eo.isPromise(t)?t:un.a.resolve(t):(Po[e]=No.fetchJSON(e).then((function(t){return Po[e]=t,t})),Po[e])}function Wo(e,t){var r=Vo(e);if(r.length<1)return t;var n=eo.getIn(t,r);if(void 0===n)throw new Fo("Could not resolve pointer: ".concat(e," does not exist in document"),{pointer:e});return n}function Vo(e){var t;if("string"!=typeof e)throw new TypeError("Expected a string, got a ".concat(Vt()(e)));return"/"===e[0]&&(e=e.substr(1)),""===e?[]:Bt()(t=e.split("/")).call(t,Yo)}function Yo(e){return"string"!=typeof e?e:xo.a.unescape(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function Ko(e){return xo.a.escape(e.replace(/~/g,"~0").replace(/\//g,"~1"))}function Go(e,t){if(!(r=t)||"/"===r||"#"===r)return!0;var r,n=e.charAt(t.length),o=Fr()(t).call(t,-1);return 0===or()(e).call(e,t)&&(!n||"/"===n||"#"===n)&&"#"!==o}var Jo=r(282),Qo=r.n(Jo),Xo={key:"allOf",plugin:function(e,t,r,n,o){if(!o.meta||!o.meta.$$ref){var a=Fr()(r).call(r,0,-1);if(!_o(a)){if(!Ht()(e)){var i=new TypeError("allOf must be an array");return i.fullPath=r,i}var s=!1,c=o.value;if(At()(a).call(a,(function(e){c&&(c=c[e])})),c=ft()({},c),!Qo()(c)){delete c.allOf;var l,u=[];if(u.push(n.replace(a,{})),At()(e).call(e,(function(e,t){if(!n.isObject(e)){if(s)return null;s=!0;var o=new TypeError("Elements in allOf must be objects");return o.fullPath=r,u.push(o)}u.push(n.mergeDeep(a,e));var i=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.specmap,a=n.getBaseUrlForNodePath,i=void 0===a?function(e){var r;return o.getContext(It()(r=[]).call(r,Rr()(t),Rr()(e))).baseDoc}:a,s=n.targetKeys,c=void 0===s?["$ref","$$ref"]:s,l=[];return At()(r=So()(e)).call(r,(function(){if(rr()(c).call(c,this.key)&&Oo()(this.node)){var e=this.path,r=It()(t).call(t,this.path),n=To(this.node,i(e));l.push(o.replace(r,n))}})),l}(e,Fr()(r).call(r,0,-1),{getBaseUrlForNodePath:function(e){var o;return n.getContext(It()(o=[]).call(o,Rr()(r),[t],Rr()(e))).baseDoc},specmap:n});u.push.apply(u,Rr()(i))})),u.push(n.mergeDeep(a,c)),!c.$$ref)u.push(n.remove(It()(l=[]).call(l,a,"$$ref")));return u}}}}},Zo={key:"parameters",plugin:function(e,t,r,n){if(Ht()(e)&&e.length){var o=hn()([],e),a=Fr()(r).call(r,0,-1),i=ft()({},eo.getIn(n.spec,a));return At()(e).call(e,(function(e,t){try{o[t].default=n.parameterMacro(i,e)}catch(e){var a=new Error(e);return a.fullPath=r,a}})),eo.replace(r,o)}return eo.replace(r,e)}},ea={key:"properties",plugin:function(e,t,r,n){var o=ft()({},e);for(var a in e)try{o[a].default=n.modelPropertyMacro(o[a])}catch(e){var i=new Error(e);return i.fullPath=r,i}return eo.replace(r,o)}},ta=function(){function e(t){br()(this,e),this.root=ra(t||{})}return wr()(e,[{key:"set",value:function(e,t){var r=this.getParent(e,!0);if(r){var n=e[e.length-1],o=r.children;o[n]?na(o[n],t,r):o[n]=ra(t,r)}else na(this.root,t,null)}},{key:"get",value:function(e){if((e=e||[]).length<1)return this.root.value;for(var t,r,n=this.root,o=0;o<e.length&&(r=e[o],(t=n.children)[r]);o+=1)n=t[r];return n&&n.protoValue}},{key:"getParent",value:function(e,t){var r;return!e||e.length<1?null:e.length<2?this.root:Xt()(r=Fr()(e).call(e,0,-1)).call(r,(function(e,r){if(!e)return e;var n=e.children;return!n[r]&&t&&(n[r]=ra(null,e)),n[r]}),this.root)}}]),e}();function ra(e,t){return na({children:{}},e,t)}function na(e,t,r){var n;return e.value=t||{},e.protoValue=r?ft()(ft()({},r.protoValue),e.value):e.value,At()(n=Pt()(e.children)).call(n,(function(t){var r=e.children[t];e.children[t]=na(r,r.value,e)})),e}var oa=function(){function e(t){var r,n,o,a,i,s,c=this;br()(this,e),hn()(this,{spec:"",debugLevel:"info",plugins:[],pluginHistory:{},errors:[],mutations:[],promisedPatches:[],state:{},patches:[],context:{},contextTree:new ta,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:hn()(fn()(this),eo,{getInstance:function(){return c}}),allowMetaPatches:!1},t),this.get=ht()(r=this._get).call(r,this),this.getContext=ht()(n=this._getContext).call(n,this),this.hasRun=ht()(o=this._hasRun).call(o,this),this.wrappedPlugins=Et()(a=Bt()(i=this.plugins).call(i,ht()(s=this.wrapPlugin).call(s,this))).call(a,eo.isFunction),this.patches.push(eo.add([],this.spec)),this.patches.push(eo.context([],this.context)),this.updatePatches(this.patches)}return wr()(e,[{key:"debug",value:function(e){if(this.debugLevel===e){for(var t,r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];(t=console).log.apply(t,n)}}},{key:"verbose",value:function(e){if("verbose"===this.debugLevel){for(var t,r,n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];(t=console).log.apply(t,It()(r=["[".concat(e,"] ")]).call(r,o))}}},{key:"wrapPlugin",value:function(e,t){var r,n,o,a=this.pathDiscriminator,i=null;return e[this.pluginProp]?(i=e,r=e[this.pluginProp]):eo.isFunction(e)?r=e:eo.isObject(e)&&(n=e,o=function(e,t){return!Ht()(e)||Nt()(e).call(e,(function(e,r){return e===t[r]}))},r=kt.a.mark((function e(t,r){var i,s,c,l,u,p;return kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:p=function(e,t,c){var l,u,f,d,h,v,m,g,y,b,x,w,k;return kt.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(eo.isObject(e)){i.next=6;break}if(n.key!==t[t.length-1]){i.next=4;break}return i.next=4,n.plugin(e,n.key,t,r);case 4:i.next=30;break;case 6:l=t.length-1,u=t[l],f=or()(t).call(t,"properties"),d="properties"===u&&l===f,h=r.allowMetaPatches&&s[e.$$ref],v=0,m=Pt()(e);case 12:if(!(v<m.length)){i.next=30;break}if(g=m[v],y=e[g],b=It()(t).call(t,g),x=eo.isObject(y),w=e.$$ref,h){i.next=22;break}if(!x){i.next=22;break}return r.allowMetaPatches&&w&&(s[w]=!0),i.delegateYield(p(y,b,c),"t0",22);case 22:if(d||g!==n.key){i.next=27;break}if(k=o(a,t),a&&!k){i.next=27;break}return i.next=27,n.plugin(y,g,b,r,c);case 27:v++,i.next=12;break;case 30:case"end":return i.stop()}}),i)},i=kt.a.mark(p),s={},c=Ct()(Et()(t).call(t,eo.isAdditiveMutation)),e.prev=4,c.s();case 6:if((l=c.n()).done){e.next=11;break}return u=l.value,e.delegateYield(p(u.value,u.path,u),"t0",9);case 9:e.next=6;break;case 11:e.next=16;break;case 13:e.prev=13,e.t1=e.catch(4),c.e(e.t1);case 16:return e.prev=16,c.f(),e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[4,13,16,19]])}))),hn()(ht()(r).call(r,i),{pluginName:e.name||t,isGenerator:eo.isGenerator(r)})}},{key:"nextPlugin",value:function(){var e=this;return mn()(this.wrappedPlugins,(function(t){return e.getMutationsForPlugin(t).length>0}))}},{key:"nextPromisedPatch",value:function(){var e;if(this.promisedPatches.length>0)return un.a.race(Bt()(e=this.promisedPatches).call(e,(function(e){return e.value})))}},{key:"getPluginHistory",value:function(e){var t=this.constructor.getPluginName(e);return this.pluginHistory[t]||[]}},{key:"getPluginRunCount",value:function(e){return this.getPluginHistory(e).length}},{key:"getPluginHistoryTip",value:function(e){var t=this.getPluginHistory(e);return t&&t[t.length-1]||{}}},{key:"getPluginMutationIndex",value:function(e){var t=this.getPluginHistoryTip(e).mutationIndex;return"number"!=typeof t?-1:t}},{key:"updatePluginHistory",value:function(e,t){var r=this.constructor.getPluginName(e);this.pluginHistory[r]=this.pluginHistory[r]||[],this.pluginHistory[r].push(t)}},{key:"updatePatches",value:function(e){var t,r=this;At()(t=eo.normalizeArray(e)).call(t,(function(e){if(e instanceof Error)r.errors.push(e);else try{if(!eo.isObject(e))return void r.debug("updatePatches","Got a non-object patch",e);if(r.showDebug&&r.allPatches.push(e),eo.isPromise(e.value))return r.promisedPatches.push(e),void r.promisedPatchThen(e);if(eo.isContextPatch(e))return void r.setContext(e.path,e.value);if(eo.isMutation(e))return void r.updateMutations(e)}catch(e){console.error(e),r.errors.push(e)}}))}},{key:"updateMutations",value:function(e){"object"===Vt()(e.value)&&!Ht()(e.value)&&this.allowMetaPatches&&(e.value=ft()({},e.value));var t=eo.applyPatch(this.state,e,{allowMetaPatches:this.allowMetaPatches});t&&(this.mutations.push(e),this.state=t)}},{key:"removePromisedPatch",value:function(e){var t,r,n=or()(t=this.promisedPatches).call(t,e);n<0?this.debug("Tried to remove a promisedPatch that isn't there!"):cn()(r=this.promisedPatches).call(r,n,1)}},{key:"promisedPatchThen",value:function(e){var t=this;return e.value=e.value.then((function(r){var n=ft()(ft()({},e),{},{value:r});t.removePromisedPatch(e),t.updatePatches(n)})).catch((function(r){t.removePromisedPatch(e),t.updatePatches(r)})),e.value}},{key:"getMutations",value:function(e,t){var r;return e=e||0,"number"!=typeof t&&(t=this.mutations.length),Fr()(r=this.mutations).call(r,e,t)}},{key:"getCurrentMutations",value:function(){return this.getMutationsForPlugin(this.getCurrentPlugin())}},{key:"getMutationsForPlugin",value:function(e){var t=this.getPluginMutationIndex(e);return this.getMutations(t+1)}},{key:"getCurrentPlugin",value:function(){return this.currentPlugin}},{key:"getLib",value:function(){return this.libMethods}},{key:"_get",value:function(e){return eo.getIn(this.state,e)}},{key:"_getContext",value:function(e){return this.contextTree.get(e)}},{key:"setContext",value:function(e,t){return this.contextTree.set(e,t)}},{key:"_hasRun",value:function(e){return this.getPluginRunCount(this.getCurrentPlugin())>(e||0)}},{key:"dispatch",value:function(){var e,t=this,r=this,n=this.nextPlugin();if(!n){var o=this.nextPromisedPatch();if(o)return o.then((function(){return t.dispatch()})).catch((function(){return t.dispatch()}));var a={spec:this.state,errors:this.errors};return this.showDebug&&(a.patches=this.allPatches),un.a.resolve(a)}if(r.pluginCount=r.pluginCount||{},r.pluginCount[n]=(r.pluginCount[n]||0)+1,r.pluginCount[n]>100)return un.a.resolve({spec:r.state,errors:It()(e=r.errors).call(e,new Error("We've reached a hard limit of ".concat(100," plugin runs")))});if(n!==this.currentPlugin&&this.promisedPatches.length){var i,s=Bt()(i=this.promisedPatches).call(i,(function(e){return e.value}));return un.a.all(Bt()(s).call(s,(function(e){return e.then(yn.a,yn.a)}))).then((function(){return t.dispatch()}))}return function(){r.currentPlugin=n;var e=r.getCurrentMutations(),t=r.mutations.length-1;try{if(n.isGenerator){var o,a=Ct()(n(e,r.getLib()));try{for(a.s();!(o=a.n()).done;){c(o.value)}}catch(e){a.e(e)}finally{a.f()}}else{c(n(e,r.getLib()))}}catch(e){console.error(e),c([hn()(fn()(e),{plugin:n})])}finally{r.updatePluginHistory(n,{mutationIndex:t})}return r.dispatch()}();function c(e){e&&(e=eo.fullyNormalizeArray(e),r.updatePatches(e,n))}}}],[{key:"getPluginName",value:function(e){return e.pluginName}},{key:"getPatchesOfType",value:function(e,t){return Et()(e).call(e,t)}}]),e}();var aa={refs:Mo,allOf:Xo,parameters:Zo,properties:ea},ia=r(36),sa=r.n(ia),ca=function(e){return String.prototype.toLowerCase.call(e)},la=function(e){return e.replace(/[^\w]/gi,"_")};function ua(e){var t=e.openapi;return!!t&&yt()(t,"3")}function pa(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n.v2OperationIdCompatibilityMode;if(!e||"object"!==Vt()(e))return null;var a=(e.operationId||"").replace(/\s/g,"");return a.length?la(e.operationId):fa(t,r,{v2OperationIdCompatibilityMode:o})}function fa(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.v2OperationIdCompatibilityMode;if(o){var a,i,s=It()(a="".concat(t.toLowerCase(),"_")).call(a,e).replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return(s=s||It()(i="".concat(e.substring(1),"_")).call(i,t)).replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return It()(r="".concat(ca(t))).call(r,la(e))}function da(e,t){var r;return It()(r="".concat(ca(t),"-")).call(r,e)}function ha(e,t){return e&&e.paths?function(e,t){return va(e,t,!0)||null}(e,(function(e){var r,n=e.pathName,o=e.method,a=e.operation;if(!a||"object"!==Vt()(a))return!1;var i=a.operationId,s=pa(a,n,o),c=da(n,o);return Ut()(r=[s,c,i]).call(r,(function(e){return e&&e===t}))})):null}function va(e,t,r){if(!e||"object"!==Vt()(e)||!e.paths||"object"!==Vt()(e.paths))return null;var n=e.paths;for(var o in n)for(var a in n[o])if("PARAMETERS"!==a.toUpperCase()){var i=n[o][a];if(i&&"object"===Vt()(i)){var s={spec:e,pathName:o,method:a.toUpperCase(),operation:i},c=t(s);if(r&&c)return s}}}function ma(e){var t=e.spec,r=t.paths,n={};if(!r||t.$$normalized)return e;for(var o in r){var a=r[o];if(sa()(a)){var i=a.parameters,s=function(e){var r=a[e];if(!sa()(r))return"continue";var s=pa(r,o,e);if(s){n[s]?n[s].push(r):n[s]=[r];var c=n[s];if(c.length>1)At()(c).call(c,(function(e,t){var r;e.__originalOperationId=e.__originalOperationId||e.operationId,e.operationId=It()(r="".concat(s)).call(r,t+1)}));else if(void 0!==r.operationId){var l=c[0];l.__originalOperationId=l.__originalOperationId||r.operationId,l.operationId=s}}if("parameters"!==e){var u=[],p={};for(var f in t)"produces"!==f&&"consumes"!==f&&"security"!==f||(p[f]=t[f],u.push(p));if(i&&(p.parameters=i,u.push(p)),u.length){var d,h=Ct()(u);try{for(h.s();!(d=h.n()).done;){var v=d.value;for(var m in v)if(r[m]){if("parameters"===m){var g,y=Ct()(v[m]);try{var b=function(){var e,t=g.value;Ut()(e=r[m]).call(e,(function(e){return e.name&&e.name===t.name||e.$ref&&e.$ref===t.$ref||e.$$ref&&e.$$ref===t.$$ref||e===t}))||r[m].push(t)};for(y.s();!(g=y.n()).done;)b()}catch(e){y.e(e)}finally{y.f()}}}else r[m]=v[m]}}catch(e){h.e(e)}finally{h.f()}}}};for(var c in a)s(c)}}return t.$$normalized=!0,e}function ga(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.requestInterceptor,n=t.responseInterceptor,o=e.withCredentials?"include":"same-origin";return function(t){return e({url:t,loadSpec:!0,requestInterceptor:r,responseInterceptor:n,headers:{Accept:"application/json, application/yaml"},credentials:o}).then((function(e){return e.body}))}}function ya(e){var t=e.fetch,r=e.spec,n=e.url,o=e.mode,a=e.allowMetaPatches,i=void 0===a||a,s=e.pathDiscriminator,c=e.modelPropertyMacro,l=e.parameterMacro,u=e.requestInterceptor,p=e.responseInterceptor,f=e.skipNormalization,d=e.useCircularStructures,h=e.http,v=e.baseDoc;return v=v||n,h=t||h||Ur,r?m(r):ga(h,{requestInterceptor:u,responseInterceptor:p})(v).then(m);function m(e){v&&(aa.refs.docCache[v]=e),aa.refs.fetchJSON=ga(h,{requestInterceptor:u,responseInterceptor:p});var t,r=[aa.refs];return"function"==typeof l&&r.push(aa.parameters),"function"==typeof c&&r.push(aa.properties),"strict"!==o&&r.push(aa.allOf),(t={spec:e,context:{baseDoc:v},plugins:r,allowMetaPatches:i,pathDiscriminator:s,parameterMacro:l,modelPropertyMacro:c,useCircularStructures:d},new oa(t).dispatch()).then(f?function(){var e=ir()(kt.a.mark((function e(t){return kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}():ma)}}var ba=r(52),xa=r.n(ba);function wa(){return(wa=ir()(kt.a.mark((function e(t,r){var n,o,a,i,s,c,l,u,p,f,d,h,v=arguments;return kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=v.length>2&&void 0!==v[2]?v[2]:{},o=n.returnEntireTree,a=n.baseDoc,i=n.requestInterceptor,s=n.responseInterceptor,c=n.parameterMacro,l=n.modelPropertyMacro,u=n.useCircularStructures,p={pathDiscriminator:r,baseDoc:a,requestInterceptor:i,responseInterceptor:s,parameterMacro:c,modelPropertyMacro:l,useCircularStructures:u},f=ma({spec:t}),d=f.spec,e.next=6,ya(ft()(ft()({},p),{},{spec:d,allowMetaPatches:!0,skipNormalization:!0}));case 6:return h=e.sent,!o&&Ht()(r)&&r.length&&(h.spec=xa()(h.spec,r)||null),e.abrupt("return",h);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var ka=function(){return null},Sa={mapTagOperations:function(e){var t=e.spec,r=e.cb,n=void 0===r?ka:r,o=e.defaultTag,a=void 0===o?"default":o,i=e.v2OperationIdCompatibilityMode,s={},c={};return va(t,(function(e){var r,o=e.pathName,l=e.method,u=e.operation,p=u.tags?(r=u.tags,Ht()(r)?r:[r]):[a];At()(p).call(p,(function(e){if("string"==typeof e){c[e]=c[e]||{};var r,a=c[e],p=pa(u,o,l,{v2OperationIdCompatibilityMode:i}),f=n({spec:t,pathName:o,method:l,operation:u,operationId:p});if(s[p])s[p]+=1,a[It()(r="".concat(p)).call(r,s[p])]=f;else if(void 0!==a[p]){var d,h,v=s[p]||1;s[p]=v+1,a[It()(d="".concat(p)).call(d,s[p])]=f;var m=a[p];delete a[p],a[It()(h="".concat(p)).call(h,v)]=m}else a[p]=f}}))})),c},makeExecute:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var r=t.pathName,n=t.method,o=t.operationId;return function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.execute(ft()(ft()({spec:e.spec},fr()(e,"requestInterceptor","responseInterceptor","userFetch")),{},{pathName:r,method:n,parameters:t,operationId:o},a))}}}};var Aa=r(283),Oa=r.n(Aa),Ea=r(284),Da=r.n(Ea),Ca=r(32),ja=r.n(Ca),_a=r(285),Ta=r.n(_a),Ia={body:function(e){var t=e.req,r=e.value;t.body=r},header:function(e){var t=e.req,r=e.parameter,n=e.value;t.headers=t.headers||{},void 0!==n&&(t.headers[r.name]=n)},query:function(e){var t,r=e.req,n=e.value,o=e.parameter;r.query=r.query||{},!1===n&&"boolean"===o.type&&(n="false");0===n&&or()(t=["number","integer"]).call(t,o.type)>-1&&(n="0");if(n)r.query[o.name]={collectionFormat:o.collectionFormat,value:n};else if(o.allowEmptyValue&&void 0!==n){var a=o.name;r.query[a]=r.query[a]||{},r.query[a].allowEmptyValue=!0}},path:function(e){var t=e.req,r=e.value,n=e.parameter;t.url=t.url.split("{".concat(n.name,"}")).join(encodeURIComponent(r))},formData:function(e){var t=e.req,r=e.value,n=e.parameter;(r||n.allowEmptyValue)&&(t.form=t.form||{},t.form[n.name]={value:r,allowEmptyValue:n.allowEmptyValue,collectionFormat:n.collectionFormat})}};function Fa(e,t){return rr()(t).call(t,"application/json")?"string"==typeof e?e:qt()(e):e.toString()}function Pa(e){var t=e.req,r=e.value,n=e.parameter,o=n.name,a=n.style,i=n.explode,s=n.content;if(s){var c=Pt()(s)[0];t.url=t.url.split("{".concat(o,"}")).join(Mr(Fa(r,c),{escape:!0}))}else{var l=qr({key:n.name,value:r,style:a||"simple",explode:i||!1,escape:!0});t.url=t.url.split("{".concat(o,"}")).join(l)}}function Ra(e){var t=e.req,r=e.value,n=e.parameter;if(t.query=t.query||{},n.content){var o=Pt()(n.content)[0];t.query[n.name]=Fa(r,o)}else if(!1===r&&(r="false"),0===r&&(r="0"),r)t.query[n.name]={value:r,serializationOption:fr()(n,["style","explode","allowReserved"])};else if(n.allowEmptyValue&&void 0!==r){var a=n.name;t.query[a]=t.query[a]||{},t.query[a].allowEmptyValue=!0}}var Ba=["accept","authorization","content-type"];function La(e){var t=e.req,r=e.parameter,n=e.value;if(t.headers=t.headers||{},!(or()(Ba).call(Ba,r.name.toLowerCase())>-1))if(r.content){var o=Pt()(r.content)[0];t.headers[r.name]=Fa(n,o)}else void 0!==n&&(t.headers[r.name]=qr({key:r.name,value:n,style:r.style||"simple",explode:void 0!==r.explode&&r.explode,escape:!1}))}function Na(e){var t=e.req,r=e.parameter,n=e.value;t.headers=t.headers||{};var o=Vt()(n);if(r.content){var a,i=Pt()(r.content)[0];t.headers.Cookie=It()(a="".concat(r.name,"=")).call(a,Fa(n,i))}else if("undefined"!==o){var s="object"===o&&!Ht()(n)&&r.explode?"":"".concat(r.name,"=");t.headers.Cookie=s+qr({key:r.name,value:n,escape:!1,style:r.style||"form",explode:void 0!==r.explode&&r.explode})}}var Ma=r(133),qa=r.n(Ma);function za(e,t){var r=e.operation,n=e.requestBody,o=e.securities,a=e.spec,i=e.attachContentTypeForEmptyPayload,s=e.requestContentType;t=function(e){var t=e.request,r=e.securities,n=void 0===r?{}:r,o=e.operation,a=void 0===o?{}:o,i=e.spec,s=mt()({},t),c=n.authorized,l=void 0===c?{}:c,u=a.security||i.security||[],p=l&&!!Pt()(l).length,f=xa()(i,["components","securitySchemes"])||{};if(s.headers=s.headers||{},s.query=s.query||{},!Pt()(n).length||!p||!u||Ht()(a.security)&&!a.security.length)return t;return At()(u).call(u,(function(e){var t;At()(t=Pt()(e)).call(t,(function(e){var t=l[e],r=f[e];if(t){var n=t.value||t,o=r.type;if(t)if("apiKey"===o)"query"===r.in&&(s.query[r.name]=n),"header"===r.in&&(s.headers[r.name]=n),"cookie"===r.in&&(s.cookies[r.name]=n);else if("http"===o){if(/^basic$/i.test(r.scheme)){var a,i=n.username||"",c=n.password||"",u=qa()(It()(a="".concat(i,":")).call(a,c));s.headers.Authorization="Basic ".concat(u)}/^bearer$/i.test(r.scheme)&&(s.headers.Authorization="Bearer ".concat(n))}else if("oauth2"===o||"openIdConnect"===o){var p,d=t.token||{},h=d[r["x-tokenName"]||"access_token"],v=d.token_type;v&&"bearer"!==v.toLowerCase()||(v="Bearer"),s.headers.Authorization=It()(p="".concat(v," ")).call(p,h)}}}))})),s}({request:t,securities:o,operation:r,spec:a});var c=r.requestBody||{},l=Pt()(c.content||{}),u=s&&or()(l).call(l,s)>-1;if(n||i){if(s&&u)t.headers["Content-Type"]=s;else if(!s){var p=l[0];p&&(t.headers["Content-Type"]=p,s=p)}}else s&&u&&(t.headers["Content-Type"]=s);if(n)if(s){if(or()(l).call(l,s)>-1)if("application/x-www-form-urlencoded"===s||"multipart/form-data"===s)if("object"===Vt()(n)){var f,d=(c.content[s]||{}).encoding||{};t.form={},At()(f=Pt()(n)).call(f,(function(e){t.form[e]={value:n[e],encoding:d[e]||{}}}))}else t.form=n;else t.body=n}else t.body=n;return t}function Ua(e,t){var r,n,o=e.spec,a=e.operation,i=e.securities,s=e.requestContentType,c=e.attachContentTypeForEmptyPayload;if((t=function(e){var t=e.request,r=e.securities,n=void 0===r?{}:r,o=e.operation,a=void 0===o?{}:o,i=e.spec,s=mt()({},t),c=n.authorized,l=void 0===c?{}:c,u=n.specSecurity,p=void 0===u?[]:u,f=a.security||p,d=l&&!!Pt()(l).length,h=i.securityDefinitions;if(s.headers=s.headers||{},s.query=s.query||{},!Pt()(n).length||!d||!f||Ht()(a.security)&&!a.security.length)return t;return At()(f).call(f,(function(e){var t;At()(t=Pt()(e)).call(t,(function(e){var t=l[e];if(t){var r=t.token,n=t.value||t,o=h[e],a=o.type,i=o["x-tokenName"]||"access_token",c=r&&r[i],u=r&&r.token_type;if(t)if("apiKey"===a){var p="query"===o.in?"query":"headers";s[p]=s[p]||{},s[p][o.name]=n}else if("basic"===a)if(n.header)s.headers.authorization=n.header;else{var f,d=n.username||"",v=n.password||"";n.base64=qa()(It()(f="".concat(d,":")).call(f,v)),s.headers.authorization="Basic ".concat(n.base64)}else if("oauth2"===a&&c){var m;u=u&&"bearer"!==u.toLowerCase()?u:"Bearer",s.headers.authorization=It()(m="".concat(u," ")).call(m,c)}}}))})),s}({request:t,securities:i,operation:a,spec:o})).body||t.form||c)if(s)t.headers["Content-Type"]=s;else if(Ht()(a.consumes)){var l=Kt()(a.consumes,1);t.headers["Content-Type"]=l[0]}else if(Ht()(o.consumes)){var u=Kt()(o.consumes,1);t.headers["Content-Type"]=u[0]}else a.parameters&&Et()(r=a.parameters).call(r,(function(e){return"file"===e.type})).length?t.headers["Content-Type"]="multipart/form-data":a.parameters&&Et()(n=a.parameters).call(n,(function(e){return"formData"===e.in})).length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(s){var p,f,d=a.parameters&&Et()(p=a.parameters).call(p,(function(e){return"body"===e.in})).length>0,h=a.parameters&&Et()(f=a.parameters).call(f,(function(e){return"formData"===e.in})).length>0;(d||h)&&(t.headers["Content-Type"]=s)}return t}var $a=function(e){return Ht()(e)?e:[]},Ha=wo("OperationNotFoundError",(function(e,t,r){this.originalError=r,hn()(this,t||{})})),Wa={buildRequest:Va};function Va(e){var t,r,n=e.spec,o=e.operationId,i=e.responseContentType,s=e.scheme,c=e.requestInterceptor,l=e.responseInterceptor,u=e.contextUrl,p=e.userFetch,f=e.server,d=e.serverVariables,h=e.http,v=e.parameters,m=e.parameterBuilders,g=ua(n);m||(m=g?a:Ia);var y={url:"",credentials:h&&h.withCredentials?"include":"same-origin",headers:{},cookies:{}};c&&(y.requestInterceptor=c),l&&(y.responseInterceptor=l),p&&(y.userFetch=p);var b=ha(n,o);if(!b)throw new Ha("Operation ".concat(o," not found"));var x=b.operation,w=void 0===x?{}:x,k=b.method,S=b.pathName;if(y.url+=Ka({spec:n,scheme:s,contextUrl:u,server:f,serverVariables:d,pathName:S,method:k}),!o)return delete y.cookies,y;y.url+=S,y.method="".concat(k).toUpperCase(),v=v||{};var A=n.paths[S]||{};i&&(y.headers.accept=i);var O=function(e){var t,r={};At()(e).call(e,(function(e){r[e.in]||(r[e.in]={}),r[e.in][e.name]=e}));var n=[];return At()(t=Pt()(r)).call(t,(function(e){var t;At()(t=Pt()(r[e])).call(t,(function(t){n.push(r[e][t])}))})),n}(It()(t=It()(r=[]).call(r,$a(w.parameters))).call(t,$a(A.parameters)));At()(O).call(O,(function(e){var t,r,o=m[e.in];if("body"===e.in&&e.schema&&e.schema.properties&&(t=v),void 0===(t=e&&e.name&&v[e.name]))t=e&&e.name&&v[It()(r="".concat(e.in,".")).call(r,e.name)];else if(function(e,t){return Et()(t).call(t,(function(t){return t.name===e}))}(e.name,O).length>1){var a;console.warn(It()(a="Parameter '".concat(e.name,"' is ambiguous because the defined spec has more than one parameter with the name: '")).call(a,e.name,"' and the passed-in parameter values did not define an 'in' value."))}if(null!==t){if(void 0!==e.default&&void 0===t&&(t=e.default),void 0===t&&e.required&&!e.allowEmptyValue)throw new Error("Required parameter ".concat(e.name," is not provided"));if(g&&e.schema&&"object"===e.schema.type&&"string"==typeof t)try{t=JSON.parse(t)}catch(e){throw new Error("Could not parse object parameter value string as JSON")}o&&o({req:y,parameter:e,value:t,operation:w,spec:n})}}));var E=ft()(ft()({},e),{},{operation:w});if((y=g?za(E,y):Ua(E,y)).cookies&&Pt()(y.cookies).length){var D,C=Xt()(D=Pt()(y.cookies)).call(D,(function(e,t){var r=y.cookies[t];return e+(e?"&":"")+Ta.a.serialize(t,r)}),"");y.headers.Cookie=C}return y.cookies&&delete y.cookies,nn(y),y}var Ya=function(e){return e?e.replace(/\W/g,""):null};function Ka(e){return ua(e.spec)?function(e){var t=e.spec,r=e.pathName,n=e.method,o=e.server,a=e.contextUrl,i=e.serverVariables,s=void 0===i?{}:i,c=xa()(t,["paths",r,(n||"").toLowerCase(),"servers"])||xa()(t,["paths",r,"servers"])||xa()(t,["servers"]),l="",u=null;if(o&&c&&c.length){var p=Bt()(c).call(c,(function(e){return e.url}));or()(p).call(p,o)>-1&&(l=o,u=c[or()(p).call(p,o)])}if(!l&&c&&c.length){l=c[0].url;var f=Kt()(c,1);u=f[0]}if(or()(l).call(l,"{")>-1){var d=function(e){var t,r=[],n=/{([^}]+)}/g;for(;t=n.exec(e);)r.push(t[1]);return r}(l);At()(d).call(d,(function(e){if(u.variables&&u.variables[e]){var t=u.variables[e],r=s[e]||t.default,n=new RegExp("{".concat(e,"}"),"g");l=l.replace(n,r)}}))}return function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=r&&n?xt.a.parse(xt.a.resolve(n,r)):xt.a.parse(r),a=xt.a.parse(n),i=Ya(o.protocol)||Ya(a.protocol)||"",s=o.host||a.host,c=o.pathname||"";e=i&&s?It()(t="".concat(i,"://")).call(t,s+c):c;return"/"===e[e.length-1]?Fr()(e).call(e,0,-1):e}(l,a)}(e):function(e){var t,r,n=e.spec,o=e.scheme,a=e.contextUrl,i=void 0===a?"":a,s=xt.a.parse(i),c=Ht()(n.schemes)?n.schemes[0]:null,l=o||c||Ya(s.protocol)||"http",u=n.host||s.host||"",p=n.basePath||"";t=l&&u?It()(r="".concat(l,"://")).call(r,u+p):p;return"/"===t[t.length-1]?Fr()(t).call(t,0,-1):t}(e)}function Ga(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof e?r.url=e:r=e,!(this instanceof Ga))return new Ga(r);mt()(this,r);var n=this.resolve().then((function(){return t.disableInterfaces||mt()(t,Ga.makeApisTagOperation(t)),t}));return n.client=this,n}Ga.http=Ur,Ga.makeHttp=ht()(on).call(on,null,Ga.http),Ga.resolve=ya,Ga.resolveSubtree=function(e,t){return wa.apply(this,arguments)},Ga.execute=function(e){var t=e.http,r=e.fetch,n=e.spec,o=e.operationId,a=e.pathName,i=e.method,s=e.parameters,c=e.securities,l=Oa()(e,["http","fetch","spec","operationId","pathName","method","parameters","securities"]),u=t||r||Ur;a&&i&&!o&&(o=da(a,i));var p=Wa.buildRequest(ft()({spec:n,operationId:o,parameters:s,securities:c,http:u},l));return p.body&&(Da()(p.body)||ja()(p.body))&&(p.body=qt()(p.body)),u(p)},Ga.serializeRes=Vr,Ga.serializeHeaders=Kr,Ga.clearCache=function(){aa.refs.clearCache()},Ga.makeApisTagOperation=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Sa.makeExecute(e);return{apis:Sa.mapTagOperations({v2OperationIdCompatibilityMode:e.v2OperationIdCompatibilityMode,spec:e.spec,cb:t})}},Ga.buildRequest=Va,Ga.helpers={opId:pa},Ga.getBaseUrl=Ka,Ga.prototype={http:Ur,execute:function(e){return this.applyDefaults(),Ga.execute(ft()({spec:this.spec,http:this.http,securities:{authorized:this.authorizations},contextUrl:"string"==typeof this.url?this.url:void 0,requestInterceptor:this.requestInterceptor||null,responseInterceptor:this.responseInterceptor||null},e))},resolve:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ga.resolve(ft()({spec:this.spec,url:this.url,http:this.http||this.fetch,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,requestInterceptor:this.requestInterceptor||null,responseInterceptor:this.responseInterceptor||null},t)).then((function(t){return e.originalSpec=e.spec,e.spec=t.spec,e.errors=t.errors,e}))}},Ga.prototype.applyDefaults=function(){var e=this.spec,t=this.url;if(t&&yt()(t,"http")){var r=xt.a.parse(t);e.host||(e.host=r.host),e.schemes||(e.schemes=[r.protocol.replace(":","")]),e.basePath||(e.basePath="/")}};Ga.helpers;var Ja=Ga;async function Qa(e,t=!1,r="",n="",o="",a="",i=""){let s,c;const l={patch:!0,warnOnly:!0,resolveInternal:!0,anchors:!0};try{let t;t="string"==typeof e?await Ja(e):await Ja({spec:e}),s=t.spec,t.spec.swagger&&(c=await ut.a.convertObj(t.spec,l),s=c.openapi)}catch(e){console.info("RapiDoc: %c There was an issue while parsing the spec %o ","color:orangered",e)}const u=function(e,t=!1,r){const n=["get","put","post","delete","patch","head","options"],o=e.tags&&Array.isArray(e.tags)?e.tags.map(e=>({show:!0,name:e.name,description:e.description,paths:[],expanded:!1!==e["x-tag-expanded"]})):[];for(const t in e.paths){const r=e.paths[t].parameters,a={summary:e.paths[t].summary,description:e.paths[t].description,servers:e.paths[t].servers?e.paths[t].servers:[],parameters:e.paths[t].parameters?e.paths[t].parameters:[]};n.forEach(n=>{if(e.paths[t][n]){const i=e.paths[t][n],s=i.tags?i.tags:[];if(0===s.length){let e=t.indexOf("/",1);-1===e?e=t.length-1:e-=1,s.push(t.substr(1,e))}s.forEach(s=>{let c,l;e.tags&&(l=e.tags.find(e=>e.name.toLowerCase()===s.toLowerCase())),c=o.find(e=>e.name===s),c||(c={show:!0,name:s,paths:[],description:l?l.description:"",expanded:!l||!1!==l["x-tag-expanded"]},o.push(c));let u=(i.summary||i.description||"".concat(n," ").concat(t)).trim().split("/\r?\n/")[0];u.length>100&&(u=u.split(".")[0]),i.description||(i.description=(i.summary||"-").trim());let p=[];p=r?i.parameters?r.filter(e=>{if(!i.parameters.some(t=>e.name===t.name&&e.in===t.in))return e}).concat(i.parameters):r.slice(0):i.parameters?i.parameters.slice(0):[],c.paths.push({show:!0,expanded:!1,expandedAtLeastOnce:!1,summary:u,method:n,description:i.description,path:t,operationId:i.operationId,servers:i.servers?a.servers.concat(i.servers):a.servers,parameters:p,requestBody:i.requestBody,responses:i.responses,callbacks:i.callbacks,deprecated:i.deprecated,security:i.security,commonSummary:a.summary,commonDescription:a.description,xCodeSamples:i["x-codeSamples"]||i["x-code-samples"]||""})})}})}const a=o.filter(e=>e.paths&&e.paths.length>0);"method"===r?a.forEach(e=>{e.paths&&e.paths.sort((e,t)=>n.indexOf(e.method).toString().localeCompare(n.indexOf(t.method)))}):"summary"===r?a.forEach(e=>{e.paths&&e.paths.sort((e,t)=>(e.summary||e.description||e.path).localeCompare(t.summary||t.description||t.path))}):a.forEach(e=>{e.paths&&e.paths.sort((e,t)=>e.path.localeCompare(t.path))});return t?a.sort((e,t)=>e.name.localeCompare(t.name)):a} -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */(s,t,r),p=function(e){if(!e.components)return[];const t=[];for(const r in e.components){const n=[];for(const t in e.components[r]){const o={show:!0,id:"".concat(r.toLowerCase(),"-").concat(t.toLowerCase()).replace(Ie,"-"),name:t,component:e.components[r][t]};n.push(o)}let o=r,a=r;switch(r){case"schemas":a="Schemas",o="Schemas allows the definition of input and output data types. These types can be objects, but also primitives and arrays.";break;case"responses":a="Responses",o="Describes responses from an API Operation, including design-time, static links to operations based on the response.";break;case"parameters":a="Parameters",o="Describes operation parameters. A unique parameter is defined by a combination of a name and location.";break;case"examples":a="Examples",o="List of Examples for operations, can be requests, responses and objects examples.";break;case"requestBodies":a="Request Bodies",o="Describes common request bodies that are used across the API operations.";break;case"headers":a="Headers",o='Headers follows the structure of the Parameters but they are explicitly in "header"';break;case"securitySchemes":a="Security Schemes",o="Defines a security scheme that can be used by the operations. Supported schemes are HTTP authentication, an API key (either as a header, a cookie parameter or as a query parameter), OAuth2's common flows(implicit, password, client credentials and authorization code) as defined in RFC6749, and OpenID Connect Discovery.";break;case"links":a="Links",o="Links represent a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations.";break;case"callbacks":a="Callbacks",o="A map of possible out-of band callbacks related to the parent operation. Each value in the map is a Path Item Object that describes a set of requests that may be initiated by the API provider and the expected responses. The key value used to identify the path item object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation.";break;default:a=r,o=r}const i={show:!0,name:a,description:o,subComponents:n};t.push(i)}return t||[]}(s),f=function(e){if(e&&e.info&&e.info.description){const t=ce.a.lexer(e.info.description);return t.filter(e=>"heading"===e.type&&e.depth<=2)||[]}return[]}(s),d=[];s.components&&s.components.securitySchemes&&Object.entries(s.components.securitySchemes).forEach(e=>{const t={apiKeyId:e[0],...e[1]};t.value="",t.finalKeyValue="","apiKey"===e[1].type||"http"===e[1].type?(t.in=e[1].in||"header",t.name=e[1].name||"Authorization",t.user="",t.password=""):"oauth2"===e[1].type&&(t.in="header",t.name="Authorization",t.clientId="",t.clientSecret=""),d.push(t)}),n&&o&&a&&d.push({apiKeyId:"_rapidoc_api_key",description:"api-key provided in rapidoc element attributes",type:"apiKey",oAuthFlow:"",name:n,in:o,value:a,finalKeyValue:a}),d.forEach(e=>{"http"===e.type?e.typeDisplay="basic"===e.scheme?"HTTP Basic":"HTTP Bearer":"apiKey"===e.type?e.typeDisplay="API Key (".concat(e.name,")"):"oauth2"===e.type?e.typeDisplay="OAuth (".concat(e.apiKeyId,")"):e.typeDisplay=e.type});let h=[];s.servers&&Array.isArray(s.servers)?(s.servers.forEach(e=>{let t=e.url.trim();t.startsWith("http")||t.startsWith("//")||t.startsWith("{")||window.location.origin.startsWith("http")&&(e.url=window.location.origin+e.url,t=e.url),e.variables&&Object.entries(e.variables).forEach(e=>{const r=new RegExp("{".concat(e[0],"}"),"g");t=t.replace(r,e[1].default||""),e[1].value=e[1].default||""}),e.computedUrl=t}),i&&s.servers.push({url:i,computedUrl:i})):i?s.servers=[{url:i,computedUrl:i}]:window.location.origin.startsWith("http")?s.servers=[{url:window.location.origin,computedUrl:window.location.origin}]:s.servers=[{url:"http://localhost",computedUrl:"http://localhost"}],h=s.servers;return{info:s.info,infoDescriptionHeaders:f,tags:u,components:p,externalDocs:s.externalDocs,securitySchemes:d,servers:h,basePath:s.basePath}}const Xa=new WeakMap,Za=(ei=e=>t=>{if(!(t instanceof _))throw new Error("unsafeHTML can only be used in text bindings");const r=Xa.get(t);if(void 0!==r&&E(e)&&e===r.value&&t.value===r.fragment)return;const n=document.createElement("template");n.innerHTML=e;const o=document.importNode(n.content,!0);t.setValue(o),Xa.set(t,{value:e,fragment:o})},(...e)=>{const t=ei(...e);return b.set(t,!0),t});var ei,ti,ri,ni,oi,ai,ii,si,ci,li,ui,pi,fi,di,hi,vi,mi,gi,yi,bi,xi,wi,ki,Si,Ai,Oi,Ei,Di,Ci,ji,_i,Ti,Ii,Fi,Pi,Ri,Bi,Li,Ni,Mi,qi,zi,Ui,$i,Hi,Wi,Vi,Yi;function Ki(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Gi(e,t){let r="";const n=this.resolvedSpec.securitySchemes.find(t=>t.apiKeyId===e);if(n){const e=t.target.closest("tr");if(n.type&&n.scheme&&"http"===n.type&&"basic"===n.scheme.toLowerCase()){const t=e.querySelector(".api-key-user").value.trim(),n=e.querySelector(".api-key-password").value.trim();t&&n&&(r="Basic ".concat(btoa("".concat(t,":").concat(n))))}else r=e.querySelector(".api-key-input").value.trim(),r&&n.scheme&&"bearer"===n.scheme.toLowerCase()&&(r="Bearer ".concat(r));n.finalKeyValue=r}this.requestUpdate()}function Ji(){this.resolvedSpec.securitySchemes.forEach(e=>{e.user="",e.password="",e.value="",e.finalKeyValue=""}),this.requestUpdate()}function Qi(e,t="Bearer",r){this.resolvedSpec.securitySchemes.find(t=>t.apiKeyId===e).finalKeyValue="".concat("bearer"===t.toLowerCase()?"Bearer":"mac"===t.toLowerCase()?"MAC":t," ").concat(r),this.requestUpdate()}async function Xi(e,t,r,n,o,a,i="header",s,c,l=null){const u=c?c.querySelector(".oauth-resp-display"):void 0,p=new URLSearchParams,f=new Headers;p.append("grant_type",o),"client_credentials"!==o&&p.append("redirect_uri",n),a&&p.append("code",a),"header"===i?f.set("Authorization","Basic ".concat(btoa("".concat(t,":").concat(r)))):(p.append("client_id",t),p.append("client_secret",r)),l&&p.append("scope",l);try{const t=await fetch(e,{method:"POST",headers:f,body:p}),r=await t.json();if(!t.ok)return u&&(u.innerHTML='<span style="color:var(--red)">'.concat(r.error_description||r.error_description||"Unable to get access token","</span>")),!1;if(r.token_type&&r.access_token)return Qi.call(this,s,r.token_type,r.access_token),u&&(u.innerHTML='<span style="color:var(--green)">Access Token Received</span>'),!0}catch(e){return u&&(u.innerHTML='<span style="color:var(--red)">Failed to get access token</span>'),!1}}async function Zi(e,t,r,n,o,a,i,s,c,l){sessionStorage.removeItem("winMessageEventActive"),t.close(),e.data.fake||(e.data||console.warn("RapiDoc: Received no data with authorization message"),e.data.error&&console.warn("RapiDoc: Error while receiving data"),e.data&&("code"===e.data.responseType?Xi.call(this,r,n,o,a,i,e.data.code,s,c,l):"token"===e.data.responseType&&Qi.call(this,c,e.data.token_type,e.data.access_token)))}async function es(e,t,r,n,o){const a=o.target.closest(".oauth-flow"),i=a.querySelector(".oauth-client-id")?a.querySelector(".oauth-client-id").value.trim():"",s=a.querySelector(".oauth-client-secret")?a.querySelector(".oauth-client-secret").value.trim():"",c=a.querySelector(".oauth-send-client-secret-in")?a.querySelector(".oauth-send-client-secret-in").value.trim():"header",l=[...a.querySelectorAll('input[type="checkbox"]:checked')],u="".concat(Math.random().toString(36),"random").slice(2,9),p=new URL("".concat(window.location.origin).concat(window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/")),"/").concat(this.oauthReceiver));let f,d="",h="";if([...a.parentNode.querySelectorAll(".oauth-resp-display")].forEach(e=>{e.innerHTML=""}),"authorizationCode"===t||"implicit"===t){const o=new URL(r);"authorizationCode"===t?(d="authorization_code",h="code"):"implicit"===t&&(h="token");const v=new URLSearchParams(o.search),m=l.map(e=>e.value).join(" ");m&&v.set("scope",m),v.set("client_id",i),v.set("redirect_uri",p.toString()),v.set("response_type",h),v.set("state",u),v.set("show_dialog",!0),o.search=v.toString(),"true"===sessionStorage.getItem("winMessageEventActive")&&window.postMessage({fake:!0},this),setTimeout(()=>{f=window.open(o.toString()),f?(sessionStorage.setItem("winMessageEventActive","true"),window.addEventListener("message",t=>Zi.call(this,t,f,n,i,s,p.toString(),d,c,e,a),{once:!0})):console.error("RapiDoc: Unable to open ".concat(o.toString()," in a new window"))},10)}else if("clientCredentials"===t){d="client_credentials";const t=l.map(e=>e.value).join(" ");Xi.call(this,n,i,s,p.toString(),d,"",c,e,a,t)}}function ts(e,t,r,n,o){let a;return a="authorizationCode"===e?"Authorization Code Flow":"clientCredentials"===e?"Client Credentials Flow":"implicit"===e?"Implicit Flow":"password"===e?"Password Flow":e,z(ti||(ti=Ki([' <div class="oauth-flow" style="padding:10px 0;margin-bottom:10px"> <div class="tiny-title upper" style="margin-bottom:5px">',"</div> "," "," "," "," </div> "])),a,o.authorizationUrl?z(ri||(ri=Ki(['<div><span style="width:75px;display:inline-block">Auth URL</span> <span class="mono-font"> '," </span></div>"])),o.authorizationUrl):"",o.tokenUrl?z(ni||(ni=Ki(['<div><span style="width:75px;display:inline-block">Token URL</span> <span class="mono-font">',"</span></div>"])),o.tokenUrl):"",o.refreshUrl?z(oi||(oi=Ki(['<div><span style="width:75px;display:inline-block">Refresh URL</span> <span class="mono-font">',"</span></div>"])),o.refreshUrl):"","authorizationCode"===e||"clientCredentials"===e||"implicit"===e||"password"===e?z(ai||(ai=Ki([" ",' <div style="display:flex;max-height:28px"> <input type="text" value="','" placeholder="client-id" spellcheck="false" class="oauth-client-id"> '," "," </div> ",' <div class="oauth-resp-display red-text small-font-size"></div> '])),o.scopes?z(ii||(ii=Ki([' <span> Scopes </span> <div class="oauth-scopes" style="width:100%;display:flex;flex-direction:column;flex-wrap:wrap;margin:0 0 10px 24px"> '," </div> "])),Object.entries(o.scopes).map((t,r)=>z(si||(si=Ki([' <div class="m-checkbox" style="display:inline-flex;align-items:center"> <input type="checkbox" id="',"",'" value="','"> <label for="',"",'" style="margin-left:5px"> <span class="mono-font">',"</span> "," </label> </div> "])),e,r,t[0],e,r,t[0],t[0]!==t[1]?" - ".concat(t[1]||""):""))):"",t||"","authorizationCode"===e||"clientCredentials"===e||"password"===e?z(ci||(ci=Ki([' <input type="password" value="','" placeholder="client-secret" spellcheck="false" class="oauth-client-secret" style="margin:0 5px"> ',""])),r||"","authorizationCode"===e||"clientCredentials"===e?z(li||(li=Ki([' <select style="margin-right:5px" class="oauth-send-client-secret-in"> <option value="header" selected="selected"> Authorization Header </option> <option value="request-body"> Request Body </option> </select>']))):""):z(ui||(ui=Ki(['<div style="width:5px"></div>']))),"authorizationCode"===e||"clientCredentials"===e||"implicit"===e?z(pi||(pi=Ki([' <button class="m-btn thin-border" @click="','"> GET TOKEN </button>'])),t=>{es.call(this,n,e,o.authorizationUrl,o.tokenUrl,t)}):"","password"===e?z(fi||(fi=Ki([' <div style="display:flex;max-height:28px;margin-top:2px"> <input type="text" value="" placeholder="username" spellcheck="false" class="api-key-user"> <input type="password" value="" placeholder="password" spellcheck="false" class="api-key-password" style="margin:0 5px"> </div>']))):""):"")}function rs(){const e=this.resolvedSpec.securitySchemes.filter(e=>e.finalKeyValue);return z(di||(di=Ki([' <div id="authentication" style="margin-top:24px;margin-bottom:24px" class="observe-me ','"> <div class="sub-title regular-font"> AUTHENTICATION </div> <div class="small-font-size" style="display:flex;align-items:center;min-height:30px"> '," </div> "," </div> "])),"read focused".includes(this.renderStyle)?"section-gap--read-mode":"section-gap ",e.length>0?z(hi||(hi=Ki([' <div class="blue-text"> ',' API key applied </div> <div style="flex:1"></div> <button class="m-btn thin-border" @click="','">CLEAR ALL API KEYS</button>'])),e.length,()=>{Ji.call(this)}):z(vi||(vi=Ki(['<div class="red-text">No API key applied</div>']))),this.resolvedSpec.securitySchemes&&this.resolvedSpec.securitySchemes.length>0?z(mi||(mi=Ki([' <table class="m-table" style="width:100%"> '," </table>"])),this.resolvedSpec.securitySchemes.map(e=>z(gi||(gi=Ki([' <tr> <td style="max-width:500px;overflow-wrap:break-word"> <div style="min-height:24px"> <span style="font-weight:700">',"</span> "," </div> "," </td> <td> "," "," </td> </tr> "," "])),e.typeDisplay,e.finalKeyValue?z(yi||(yi=Ki([' <span class="blue-text"> ',' </span> <button class="m-btn thin-border small" @click="','">REMOVE</button> '])),e.finalKeyValue?"Key Applied":"",()=>{e.finalKeyValue="",this.requestUpdate()}):"",e.description?z(bi||(bi=Ki([' <div class="m-markdown"> '," </div>"])),Za(ce()(e.description||""))):"","apikey"===e.type.toLowerCase()||"http"===e.type.toLowerCase()&&"bearer"===e.scheme.toLowerCase()?z(xi||(xi=Ki([" ",' <div style="display:flex;max-height:28px"> '," </div>"])),"apikey"===e.type.toLowerCase()?z(wi||(wi=Ki(["Send <code>","</code> in <code>","</code> with the given value"])),e.name,e.in):z(ki||(ki=Ki(["Send <code>Authorization</code> in <code>header</code> containing the word <code>Bearer</code> followed by a space and a Token String."]))),"cookie"!==e.in?z(Si||(Si=Ki([' <input type="text" value="','" class="api-key-input" placeholder="api-token" spellcheck="false"> <button class="m-btn thin-border" style="margin-left:5px" @click="','"> '," </button>"])),e.value,t=>{Gi.call(this,e.apiKeyId,t)},e.finalKeyValue?"UPDATE":"SET"):""):"","http"===e.type.toLowerCase()&&"basic"===e.scheme.toLowerCase()?z(Ai||(Ai=Ki([' Send <code>Authorization</code> in <code>header</code> containing the word <code>Basic</code> followed by a space and a base64 encoded string of <code>username:password</code>. <div style="display:flex;max-height:28px"> <input type="text" value="','" placeholder="username" spellcheck="false" class="api-key-user" style="width:100px"> <input type="password" value="','" placeholder="password" spellcheck="false" class="api-key-password" style="width:100px;margin:0 5px"> <button class="m-btn thin-border" @click="','"> '," </button> </div>"])),e.user,e.password,t=>{Gi.call(this,e.apiKeyId,t)},e.finalKeyValue?"UPDATE":"SET"):"","oauth2"===e.type.toLowerCase()?z(Oi||(Oi=Ki([' <tr> <td colspan="2" style="border:none;padding-left:48px"> '," </td> </tr> "])),Object.keys(e.flows).map(t=>ts.call(this,t,e["x-client-id"],e["x-client-secret"],e.apiKeyId,e.flows[t]))):""))):"")}function ns(e){if(this.resolvedSpec.securitySchemes&&e){const t=[];return e.forEach(e=>{const r=[],n=[];let o="";Object.keys(e).forEach(t=>{const a=this.resolvedSpec.securitySchemes.find(e=>e.apiKeyId===t);o||(o=e[t].join(", ")),a&&(n.push(a.typeDisplay),r.push(a))}),t.push({pathScopes:o,securityTypes:n.length>1?"".concat(n[0]," + ").concat(n.length-1," more"):n[0],securityDefs:r})}),z(Ei||(Ei=Ki(['<div style="position:absolute;top:3px;right:2px;font-size:var(--font-size-small);line-height:1.5"> <div style="position:relative;display:flex;min-width:350px;max-width:700px;justify-content:flex-end"> <svg width="16" height="24"> <g> <path style="fill:var(--fg3)" d="m13.8,8.5l0,-2.6l0,0c0,-3.2 -2.6,-5.8 -5.8,-5.8s-5.8,2.6 -5.8,5.8l0,0l0,2.6l-2.1,0l0,11.2l16,0l0,-11.2l-2.1,0l-0,0l0,0l0,0l-0,0zm-9.8,-2.6c0,0 0,0 0,0c0,-2.2 1.8,-4 4,-4c2.2,0 4,1.8 4,4c0,0 0,0 0,0l0,2.6l-8.03,0l0,-2.6l0,0l0,0z"/> </g> </svg> '," </div> </div>"])),t.map((e,t)=>z(Di||(Di=Ki([" ",' <div class="tooltip"> <div style="padding:2px 4px;white-space:nowrap;text-overflow:ellipsis;max-width:150px;overflow:hidden"> ',' </div> <div class="tooltip-text" style="position:absolute;color:var(--fg);top:26px;right:0;border:1px solid var(--border-color);padding:2px 4px;display:block"> ',' <div style="padding-left:8px"> '," </div> </div> </div> "])),0!==t?z(Ci||(Ci=Ki(['<div style="padding:3px 4px"> OR </div>']))):"",e.securityTypes,e.securityDefs.length>1?z(ji||(ji=Ki(["<div>Requires <b>all</b> of the following </div>"]))):"",e.securityDefs.map((t,r)=>z(_i||(_i=Ki([" "," "])),"oauth2"===t.type?z(Ti||(Ti=Ki([" <div> "," OAuth Token (",") in <b>Authorization header</b> </div>"])),e.securityDefs.length>1?z(Ii||(Ii=Ki(["<b>",".</b> "])),r+1):z(Fi||(Fi=Ki(["Requires"]))),t.apiKeyId):"http"===t.type?z(Pi||(Pi=Ki([" <div> "," "," in <b>Authorization header</b> </div>"])),e.securityDefs.length>1?z(Ri||(Ri=Ki(["<b>",".</b> "])),r+1):z(Bi||(Bi=Ki(["Requires"]))),"basic"===t.scheme?"Base 64 encoded username:password":"Bearer Token"):z(Li||(Li=Ki([" <div> "," Token in <b>"," ","</b> </div>"])),e.securityDefs.length>1?z(Ni||(Ni=Ki(["<b>",".</b> "])),r+1):z(Mi||(Mi=Ki(["Requires"]))),t.name,t.in))))))}return""}function os(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function as(e){return z(qi||(qi=os([' <div class="table-title top-gap row"> CODE SAMPLES </div> <div class="tab-panel col" @click="','"> <div class="tab-buttons row" style="width:100"> '," </div> "," </div>"])),e=>{if(!e.target.classList.contains("tab-btn"))return;const t=e.target.dataset.tab,r=[...e.currentTarget.querySelectorAll(".tab-btn")],n=[...e.currentTarget.querySelectorAll(".tab-content")];r.forEach(e=>e.classList[e.dataset.tab===t?"add":"remove"]("active")),n.forEach(e=>{e.style.display=e.dataset.tab===t?"block":"none"})},e.map((e,t)=>z(zi||(zi=os(['<button class="tab-btn ','" data-tab="',"",'"> '," </button>"])),0===t?"active":"",e.lang,t,e.label||e.lang)),e.map((e,t)=>{var r,n,o;return z(Ui||(Ui=os([' <div class="tab-content m-markdown" style="display:','" data-tab="',"",'"> <button class="toolbar-btn" style="position:absolute;top:12px;right:2px" @click="','"> Copy </button> <pre><code class="language">',"</code></pre> </div>"])),0===t?"block":"none",e.lang,t,t=>{Pe(e.source,t)},ue.a.languages[null===(r=e.lang)||void 0===r?void 0:r.toLowerCase()]?Za(ue.a.highlight(e.source,ue.a.languages[null===(n=e.lang)||void 0===n?void 0:n.toLowerCase()],null===(o=e.lang)||void 0===o?void 0:o.toLowerCase())):e.source)}))}function is(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function ss(e){return z($i||($i=is([' <div class="req-res-title" style="margin-top:12px">CALLBACKS</div> '," "])),Object.entries(e).map(e=>z(Hi||(Hi=is([' <div class="tiny-title" style="padding:12px;border:1px solid var(--light-border-color)"> '," "," </div> "])),e[0],Object.entries(e[1]).map(e=>z(Wi||(Wi=is([' <div class="mono-font small-font-size" style="display:flex;margin-left:16px"> <div> '," </div> </div> "])),Object.entries(e[1]).map(t=>{var r,n,o;return z(Vi||(Vi=is([' <div> <div style="margin-top:12px"> <div class="method method-fg ','" style="width:70px;border:none;margin:0;padding:0;line-height:20px;vertical-align:baseline;text-align:left"> <span style="font-size:20px"> ⥄ </span> ',' </div> <span style="line-height:20px;vertical-align:baseline">',' </span> </div> <div class="expanded-req-resp-container"> <api-request class="request-panel" callback="true" method="','" , path="','" .parameters="','" .request_body="','" fill-request-fields-with-example="','" allow-try="false" render-style="','" schema-style="','" active-schema-tab="','" schema-expand-level="','" schema-description-expanded="','"> </api-request> <api-response callback="true" .responses="','" render-style="','" schema-style="','" active-schema-tab="','" schema-expand-level="','" schema-description-expanded="','"> </api-response> </div> </div> '])),t[0],t[0],e[0],t[0]||"",e[0]||"",(null===(r=t[1])||void 0===r?void 0:r.parameters)||"",(null===(n=t[1])||void 0===n?void 0:n.requestBody)||"",this.fillRequestFieldsWithExample,this.renderStyle,this.schemaStyle,this.defaultSchemaTab,this.schemaExpandLevel,this.schemaDescriptionExpanded,null===(o=t[1])||void 0===o?void 0:o.responses,this.renderStyle,this.schemaStyle,this.defaultSchemaTab,this.schemaExpandLevel,this.schemaDescriptionExpanded)}))))))}var cs,ls,us,ps,fs,ds,hs,vs,ms,gs,ys=ne(Yi||(Yi=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([".border-top{border-top:1px solid var(--border-color)}.border{border:1px solid var(--border-color);border-radius:var(--border-radius)}.light-border{border:1px solid var(--light-border-color);border-radius:var(--border-radius)}.pad-8-16{padding:8px 16px}.pad-top-8{padding-top:8px}.mar-top-8{margin-top:8px}"])));function bs(e){if(!e)return;const t={type:e.$ref?"{recursive}":e.enum?"enum":e.format?e.format:e.type?e.type:"{missing-type-info}",format:e.format?e.format:"",pattern:e.pattern&&!e.enum?e.pattern:"",readOrWriteOnly:e.readOnly?"ðŸ†":e.writeOnly?"🆆":"",deprecated:e.deprecated?"âŒ":"",example:void 0===e.example?"":Array.isArray(e.example)?e.example:"".concat(e.example),default:void 0===e.default?"":"".concat(e.default),description:e.description?e.description:"",constrain:"",allowedValues:"",arrayType:"",html:""};if("{recursive}"===t.type?t.description=e.$ref.substring(e.$ref.lastIndexOf("/")+1):"{missing-type-info}"===t.type&&(t.description=t.description||""),e.enum){let r="";e.enum.map(e=>{r+="".concat(e,", ")}),t.allowedValues=r.slice(0,-2)}if("array"===e.type&&e.items){const r=e.items;if(t.arrayType="".concat(e.type," of ").concat(r.type),t.default=0===r.default?"0 ":r.default?r.default:"",r.enum){let e="";r.enum.map(t=>{e+="".concat(t,", ")}),t.allowedValues=e.slice(0,-2)}}else"integer"===e.type||"number"===e.type?(void 0!==e.minimum&&void 0!==e.maximum?t.constrain="".concat(e.exclusiveMinimum?">":">=").concat(e.minimum," and ").concat(e.exclusiveMaximum?"<":"<="," ").concat(e.maximum):void 0!==e.minimum&&void 0===e.maximum?t.constrain="".concat(e.exclusiveMinimum?">":">=").concat(e.minimum):void 0===e.minimum&&void 0!==e.maximum&&(t.constrain="".concat(e.exclusiveMaximum?"<":"<=").concat(e.maximum)),void 0!==e.multipleOf&&(t.constrain="(multiple of ".concat(e.multipleOf,")"))):"string"===e.type&&(void 0!==e.minLength&&void 0!==e.maxLength?t.constrain="(".concat(e.minLength," to ").concat(e.maxLength," chars)"):void 0!==e.minLength&&void 0===e.maxLength?t.constrain="min ".concat(e.minLength," chars"):void 0===e.minLength&&void 0!==e.maxLength&&(t.constrain="max ".concat(e.maxLength," chars")));return t.html="".concat(t.type,"~|~").concat(t.readOrWriteOnly,"~|~").concat(t.constrain,"~|~").concat(t.default,"~|~").concat(t.allowedValues,"~|~").concat(t.pattern,"~|~").concat(t.description,"~|~").concat(e.title||"","~|~").concat(t.deprecated?"deprecated":""),t}function xs(e){if(""===e.example)return"";if(null===e.example)return null;if(0===e.example)return 0;if(e.example)return e.example;if(0===Object.keys(e).length)return null;if(e.$ref)return e.$ref;let t=e.format||e.type||(e.enum?"enum":"");switch(t||(e.enum?t="enum":e.anyOf?t="anyOf":e.oneOf&&(t="oneOf")),t.toLowerCase()){case"int32":case"int64":case"integer":return 0;case"float":case"double":case"number":case"decimal":return.5;case"string":return e.enum?e.enum[0]:e.pattern?e.pattern:"string";case"url":case"uri":return"http://example.com";case"byte":return btoa("string");case"binary":return"binary";case"boolean":return!1;case"date":return new Date(0).toISOString().split("T")[0];case"date-time":case"dateTime":return new Date(0).toISOString();case"password":return"password";case"enum":return e.enum[0];case"uuid":return"3fa85f64-5717-4562-b3fc-2c963f66afa6";case"email":return"user@example.com";case"hostname":return"example.com";case"ipv4":return"198.51.100.42";case"ipv6":return"2001:0db8:5b96:0000:0000:426f:8e17:642a";case"null":return null;default:return e.nullable?null:e.$ref?"data of type ".concat(e.$ref):"?"}}function ws(e,t=1){const r=" ".repeat(t);let n="";if(1===t&&"object"!=typeof e)return"\n".concat(r).concat(e.toString());for(const o in e)n=Array.isArray(e[o])||"object"==typeof e[o]?"".concat(n,"\n").concat(r,"<").concat(o,"> ").concat(ws(e[o],t+1),"\n").concat(r,"</").concat(o,">"):"".concat(n,"\n").concat(r,"<").concat(o,"> ").concat(e[o].toString()," </").concat(o,">");return n}function ks(e,t){"object"==typeof t&&null!==t&&(e.title&&(t["::TITLE"]=e.title),e.description&&(t["::DESCRIPTION"]=e.description))}function Ss(e){if("object"==typeof e&&null!==e){delete e["::TITLE"],delete e["::DESCRIPTION"];for(const t in e)Ss(e[t])}}function As(e,t,r){for(const n in t)t[n][r]=e}function Os(e,t,r){let n=0;const o={};for(const a in e)for(const i in r)o["example-".concat(n)]={...e[a]},o["example-".concat(n)][t]=r[i],n++;return o}function Es(e,t,r=0,n=""){if(e){if(e.allOf){const n={};if(1===e.allOf.length&&!e.allOf[0].properties&&!e.allOf[0].items){const t=e.allOf[0];return"".concat(bs(t).html)}e.allOf.map((e,t)=>{if("object"===e.type||e.properties||e.allOf||e.anyOf||e.oneOf){const o=(e.anyOf||e.oneOf)&&t>0?t:"",a=Es(e,{},r+1,o);Object.assign(n,a)}else if("array"===e.type||e.items){const t=Es(e,{},r+1);Object.assign(n,t)}else{if(!e.type)return"";{const t="prop".concat(Object.keys(n).length),r=bs(e);n[t]="".concat(r.html)}}}),t=n}else if(e.anyOf||e.oneOf){if(t["::description"]=e.description||"","object"===e.type||e.properties){t["::description"]=e.description||"",t["::type"]="object";for(const n in e.properties)e.required&&e.required.includes(n)?t["".concat(n,"*")]=Es(e.properties[n],{},r+1):t[n]=Es(e.properties[n],{},r+1)}const o={};e[e.anyOf?"anyOf":"oneOf"].forEach((e,t)=>{if("object"===e.type||e.properties||e.allOf||e.anyOf||e.oneOf){const r=Es(e,{});o["::OPTION~".concat(t+1).concat(e.title?"~".concat(e.title):"")]=r,o["::type"]="xxx-of-option"}else if("array"===e.type||e.items){const r=Es(e,{});o["::OPTION~".concat(t+1).concat(e.title?"~".concat(e.title):"")]=r,o["::type"]="xxx-of-array"}else{const r="::OPTION~".concat(t+1).concat(e.title?"~".concat(e.title):"");o[r]="".concat(bs(e).html)}}),t[e.anyOf?"::ANY~OF ".concat(n):"::ONE~OF ".concat(n)]=o,t["::type"]="xxx-of"}else if("object"===e.type||e.properties){t["::description"]=e.description||"",t["::type"]="object",t["::deprecated"]=e.deprecated||!1;for(const n in e.properties)e.required&&e.required.includes(n)?t["".concat(n,"*")]=Es(e.properties[n],{},r+1):t[n]=Es(e.properties[n],{},r+1);e.additionalProperties&&(t["<any-key>"]=Es(e.additionalProperties,{}))}else{if(!e.items){const t=bs(e);return t.html?"".concat(t.html):""}t["::description"]=e.description?e.description:e.items.description?"array<".concat(e.items.description,">"):"",t["::type"]="array",t["::props"]=Es(e.items,{},r+1)}return t}}function Ds(e,t,r,n,o=!0,a){const i=[];if(e)for(const t in e){let r="",o="json";if(n.toLowerCase().includes("json")){if("text"===a)r="string"==typeof e[t].value?e[t].value:JSON.stringify(e[t].value,void 0,2),o="text";else if(r=e[t].value,"string"==typeof e[t].value)try{const n=e[t].value.replace(/([\w]+)(:)/g,'"$1"$2').replace(/'/g,'"');r=JSON.parse(n),o="json"}catch(n){o="text",r=e[t].value}}else r=e[t].value,o="text";i.push({exampleId:t,exampleSummary:e[t].summary||t,exampleDescription:e[t].description||"",exampleType:n,exampleValue:r,exampleFormat:o})}else if(t){let e="",r="json";if(n.toLowerCase().includes("json")){if("text"===a)e="string"==typeof t?t:JSON.stringify(t,void 0,2),r="text";else if("object"==typeof t)e=t,r="json";else if("string"==typeof t)try{e=JSON.parse(t),r="json"}catch(n){r="text",e=t}}else e=t,r="text";i.push({exampleId:"Example",exampleSummary:"",exampleDescription:"",exampleType:n,exampleValue:e,exampleFormat:r})}if(0===i.length)if(r)if(r.example)i.push({exampleId:"Example",exampleSummary:"",exampleDescription:"",exampleType:n,exampleValue:r.example,exampleFormat:n.toLowerCase().includes("json")&&"object"==typeof r.example?"json":"text"});else if(n.toLowerCase().includes("json")||n.toLowerCase().includes("text")||n.toLowerCase().includes("*/*")||n.toLowerCase().includes("xml")){let e="",t="",s="",c="";n.toLowerCase().includes("xml")?(e=r.xml&&r.xml.name?"<".concat(r.xml.name,">"):"<root>",t=r.xml&&r.xml.name?"</".concat(r.xml.name,">"):"</root>",s="text"):s=a;const l=function e(t,r={}){let n={};if(t){if(t.allOf){const o={};if(1===t.allOf.length&&!t.allOf[0].properties&&!t.allOf[0].items){if(t.allOf[0].$ref)return"{ }";if(t.allOf[0].readOnly&&r.includeReadOnly){return xs(t.allOf[0])}return}t.allOf.map(t=>{if("object"===t.type||t.properties||t.allOf||t.anyOf||t.oneOf){const n=e(t,r);Object.assign(o,n)}else if("array"===t.type||t.items){const n=[e(t,r)];Object.assign(o,n)}else{if(!t.type)return"";{const e="prop".concat(Object.keys(o).length);o[e]=xs(t)}}}),n=o}else if(t.oneOf){if(t.oneOf.length>0){let o=0;for(const a in t.oneOf){const i=e(t.oneOf[a],r);for(const e in i)n["example-".concat(o)]=i[e],ks(t.oneOf[a],n["example-".concat(o)]),o++}}}else if(t.anyOf){let o;if("object"===t.type||t.properties){o={"example-0":{}};for(const n in t.properties){if(t.example){o=t;break}t.properties[n].deprecated&&!r.includeDeprecated||(t.properties[n].readOnly&&!r.includeReadOnly||t.properties[n].writeOnly&&!r.includeWriteOnly||(o=Os(o,n,e(t.properties[n],r))))}}let a=0;for(const i in t.anyOf){const s=e(t.anyOf[i],r);for(const e in s){if(void 0!==o)for(const t in o)n["example-".concat(a)]={...o[t],...s[e]};else n["example-".concat(a)]=s[e];ks(t.anyOf[i],n["example-".concat(a)]),a++}}}else if("object"===t.type||t.properties)if(n["example-0"]={},ks(t,n["example-0"]),t.example)n["example-0"]=t.example;else for(const i in t.properties){var o,a;if(!t.properties[i].deprecated||r.includeDeprecated)if(!t.properties[i].readOnly||r.includeReadOnly)if(!t.properties[i].writeOnly||r.includeWriteOnly)if("array"===t.properties[i].type||t.properties[i].items)if(t.properties[i].example)As(t.properties[i].example,n,i);else if(null!==(o=t.properties[i])&&void 0!==o&&null!==(a=o.items)&&void 0!==a&&a.example)As([t.properties[i].items.example],n,i);else{const o=e(t.properties[i].items,r),a=[];for(const e in o)a[e]=[o[e]];n=Os(n,i,a)}else n=Os(n,i,e(t.properties[i],r))}else{if("array"!==t.type&&!t.items)return{"example-0":xs(t)};var i;if(t.example)n["example-0"]=t.example;else if(null!==(i=t.items)&&void 0!==i&&i.example)n["example-0"]=[t.items.example];else{const o=e(t.items,r);let a=0;for(const e in o)n["example-".concat(a)]=[o[e]],ks(t.items,n["example-".concat(a)]),a++}}return n}}(r,{includeReadOnly:o,includeWriteOnly:!0,deprecated:!0});let u=0;for(const r in l){if(!l[r])continue;const o=l[r]["::TITLE"]||"Example ".concat(++u),p=l[r]["::DESCRIPTION"]||"";Ss(l[r]),c=n.toLowerCase().includes("xml")?"".concat(e).concat(ws(l[r]),"\n").concat(t):"text"===a?JSON.stringify(l[r],null,2):l[r],i.push({exampleId:r,exampleSummary:o,exampleDescription:p,exampleType:n,exampleFormat:s,exampleValue:c})}}else i.push({exampleId:"Example",exampleSummary:"",exampleDescription:"",exampleType:n,exampleValue:"",exampleFormat:"text"});else i.push({exampleId:"Example",exampleSummary:"",exampleDescription:"",exampleType:n,exampleValue:"",exampleFormat:"text"});return i}function Cs(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}customElements.define("json-tree",class extends ae{static get properties(){return{data:{type:Object},renderStyle:{type:String,attribute:"render-style"}}}static get styles(){return[he,ys,me,ne(cs||(cs=Cs([":host{display:flex}.json-tree{font-family:var(--font-mono);font-size:var(--font-size-small);display:inline-block;overflow:hidden;word-break:break-all;flex:1;line-height:calc(var(--font-size-small) + 6px)}.open-bracket{display:inline-block;padding:0 20px 0 0;cursor:pointer;border:1px solid transparent;border-radius:3px}.open-bracket:hover{color:var(--primary-color);background-color:var(--hover-color);border:1px solid var(--border-color)}.inside-bracket{padding-left:12px;border-left:1px dotted var(--border-color)}.open-bracket.collapsed+.inside-bracket,.open-bracket.collapsed+.inside-bracket+.close-bracket{display:none}.string{color:var(--green)}.number{color:var(--blue)}.null{color:var(--red)}.boolean{color:var(--purple)}.object{color:var(--fg)}.toolbar{display:flex;width:100%;padding:2px 0;color:var(--primary-color);font-family:var(--font-regular);margin-bottom:4px;align-items:center;font-size:calc(var(--font-size-small) - 1px)}"]))),Te]}render(){return z(ls||(ls=Cs([' <div class="json-tree"> <div class="toolbar"> <button class="toolbar-btn" @click="','"> Copy </button> </div> '," </div> "])),e=>{Pe(JSON.stringify(this.data,null,2),e)},this.generateTree(this.data,!0))}generateTree(e,t=!1){if(null===e)return z(us||(us=Cs(['<div class="null" style="display:inline">null</div>'])));if("object"==typeof e&&e instanceof Date==!1){const r=Array.isArray(e)?"array":"pure_object";return 0===Object.keys(e).length?z(ps||(ps=Cs(["",""])),Array.isArray(e)?"[ ],":"{ },"):z(fs||(fs=Cs([' <div class="open-bracket expanded ','" @click="','"> ','</div> <div class="inside-bracket"> ',' </div> <div class="close-bracket">',"","</div> "])),"array"===r?"array":"object",this.toggleExpand,"array"===r?"[":"{",Object.keys(e).map((t,n,o)=>z(ds||(ds=Cs([' <div class="item"> '," "," </div>"])),"pure_object"===r?z(hs||(hs=Cs(["",":"])),t):"",this.generateTree(e[t],n===o.length-1))),"array"===r?"]":"}",t?"":",")}return"string"==typeof e||e instanceof Date?z(vs||(vs=Cs(['<span class="','">"','"</span>',""])),typeof e,e,t?"":","):z(ms||(ms=Cs(['<span class="','">',"</span>",""])),typeof e,e,t?"":",")}toggleExpand(e){const t=e.target;t.classList.contains("expanded")?(t.classList.replace("expanded","collapsed"),e.target.innerHTML=e.target.classList.contains("array")?"[...]":"{...}"):(t.classList.replace("collapsed","expanded"),e.target.innerHTML=e.target.classList.contains("array")?"[":"{")}});var js,_s,Ts,Is,Fs,Ps,Rs,Bs,Ls,Ns,Ms,qs,zs,Us,$s,Hs,Ws,Vs,Ys,Ks,Gs,Js,Qs,Xs,Zs,ec,tc,rc,nc,oc,ac,ic,sc,cc,lc,uc,pc,fc,dc,hc,vc,mc,gc,yc,bc,xc,wc,kc,Sc,Ac,Oc,Ec,Dc,Cc,jc,_c,Tc,Ic,Fc,Pc,Rc,Bc,Lc,Nc,Mc,qc,zc,Uc,$c,Hc,Wc,Vc,Yc,Kc,Gc,Jc,Qc,Xc,Zc,el,tl,rl,nl,ol,al,il,sl,cl,ll,ul,pl,fl,dl,hl,vl,ml,gl,yl,bl,xl,wl,kl,Sl,Al,Ol,El,Dl,Cl,jl,_l,Tl,Il,Fl,Pl,Rl,Bl,Ll,Nl,Ml,ql,zl,Ul,$l,Hl,Wl,Vl,Yl,Kl,Gl,Jl,Ql,Xl,Zl,eu,tu,ru,nu,ou,au,iu,su,cu,lu,uu,pu,fu,du,hu,vu,mu,gu,yu,bu,xu,wu,ku,Su,Au,Ou,Eu,Du,Cu,ju,_u,Tu,Iu,Fu,Pu,Ru,Bu,Lu,Nu,Mu,qu,zu,Uu,$u,Hu,Wu,Vu,Yu,Ku,Gu,Ju,Qu,Xu,Zu,ep,tp,rp,np,op,ap,ip,sp,cp,lp,up,pp,fp,dp,hp,vp,mp,gp,yp,bp,xp,wp,kp,Sp,Ap,Op,Ep,Dp,Cp,jp,_p,Tp,Ip,Fp,Pp,Rp,Bp=ne(gs||(gs=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([".tr{display:flex;flex:none;width:100%;border-bottom:1px dotted transparent}.td{display:block;flex:0 0 auto;box-sizing:border-box}.key{font-family:var(--font-mono);white-space:normal;word-break:break-all}.collapsed-descr .key{overflow:hidden}.key-descr{font-family:var(--font-regular);color:var(--light-fg);flex-shrink:1;text-overflow:ellipsis;overflow:hidden;display:none}.expanded-descr .key-descr{max-height:auto;overflow:hidden;display:none}.collapsed-descr .tr{max-height:20px}.tr.xxx-of{border-top:1px dotted var(--primary-color)}.xxx-of-key{font-size:calc(var(--font-size-small) - 2px);font-weight:700;background-color:var(--primary-color);color:var(--primary-color-invert);border-radius:2px;line-height:calc(var(--font-size-small) + 6px);padding:0 5px;margin-bottom:1px;display:inline-block}.xxx-of-descr{font-family:var(--font-regular);color:var(--primary-color);font-size:calc(var(--font-size-small) - 1px);margin-left:2px}.bina,.byte,.date,.emai,.host,.ipv4,.pass,.stri,.string,.uri,.url,.uuid{color:var(--green)}.deci .blue,.doub,.floa,.int3,.int6,.inte,.numb,.number{color:var(--blue)}.null{color:var(--red)}.bool,.boolean{color:var(--purple)}.enum{color:var(--orange)}.recu{color:var(--brown)}.toolbar{display:flex;width:100%;padding:2px 0;color:var(--primary-color)}.toolbar-item{cursor:pointer;padding:5px 0;margin:0 2px}.schema-root-type{cursor:auto;color:var(--fg2);font-weight:700;text-transform:uppercase}.schema-root-type.xxx-of{display:none}.toolbar-item:first-of-type{margin:0 2px 0 0}@media only screen and (min-width:500px){.key-descr{display:block}.expanded-descr .key-descr{display:block}}"])));function Lp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Np(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}customElements.define("schema-tree",class extends ae{static get properties(){return{data:{type:Object},schemaExpandLevel:{type:Number,attribute:"schema-expand-level"},schemaDescriptionExpanded:{type:String,attribute:"schema-description-expanded"}}}connectedCallback(){super.connectedCallback(),(!this.schemaExpandLevel||this.schemaExpandLevel<1)&&(this.schemaExpandLevel=99999),this.schemaDescriptionExpanded&&"true false".includes(this.schemaDescriptionExpanded)||(this.schemaDescriptionExpanded="false")}static get styles(){return[he,Bp,ys,ne(js||(js=Lp([".tree{font-size:var(--font-size-small);text-align:left;line-height:calc(var(--font-size-small) + 6px)}.tree .tr:hover{background-color:var(--hover-color)}.collapsed-descr .tr{max-height:calc(var(--font-size-small) + 8px)}.collapsed-descr .m-markdown-small p{line-height:calc(var(--font-size-small) + 6px)}.tree .key{max-width:300px}.key.deprecated .key-label{text-decoration:line-through}.open-bracket{display:inline-block;padding:0 20px 0 0;cursor:pointer;border:1px solid transparent;border-radius:3px}.open-bracket:hover{color:var(--primary-color);background-color:var(--hover-color);border:1px solid var(--border-color)}.close-bracket{display:inline-block;font-family:var(--font-mono)}.tr.collapsed+.inside-bracket,.tr.collapsed+.inside-bracket+.close-bracket{display:none}.inside-bracket.array,.inside-bracket.object{border-left:1px dotted var(--border-color)}.inside-bracket.xxx-of{padding:5px 0;border-style:dotted;border-width:0 0 1px 0;border-color:var(--primary-color)}"]))),Te]}render(){var e,t;return z(_s||(_s=Lp([' <div class="tree ','"> <div class="toolbar"> <div class="toolbar-item schema-root-type ','"> ',' </div> <div style="flex:1"></div> <div class="toolbar-item" @click="','"> ',' </div> </div> <span class="m-markdown"> ',"</span> "," </div> "])),"true"===this.schemaDescriptionExpanded?"expanded-descr":"collapsed-descr",(null===(e=this.data)||void 0===e?void 0:e["::type"])||"",(null===(t=this.data)||void 0===t?void 0:t["::type"])||"",()=>{this.schemaDescriptionExpanded="true"===this.schemaDescriptionExpanded?"false":"true"},"true"===this.schemaDescriptionExpanded?"Single line description":"Multiline description",this.data?Za(ce()(this.data["::description"]||"")):"",this.data?z(Ts||(Ts=Lp([" ",""])),this.generateTree("array"===this.data["::type"]?this.data["::props"]:this.data,this.data["::type"])):z(Is||(Is=Lp(['<span class="mono-font" style="color:var(--red)"> Schema not found </span>']))))}generateTree(e,t="object",r="",n="",o=0){if(!e)return z(Fs||(Fs=Lp(['<div class="null" style="display:inline">null</div>'])));if(0===Object.keys(e).length)return z(Ps||(Ps=Lp(['<span class="key object">',":{ }</span>"])),r);let a="",i="";if(r.startsWith("::ONE~OF")||r.startsWith("::ANY~OF"))a=r.replace("::","").replace("~"," ");else if(r.startsWith("::OPTION")){const e=r.split("~");a=e[1],i=e[2]}else a=r;const s=300-12*o;let c="",l="";if("object"===e["::type"]?"array"===t?(c=o<this.schemaExpandLevel?z(Rs||(Rs=Lp(['<span class="open-bracket array-of-object" @click="','">[{</span>'])),this.toggleObjectExpand):z(Bs||(Bs=Lp(['<span class="open-bracket array-of-object" @click="','">[{...}]</span>'])),this.toggleObjectExpand),l="}]"):(c=o<this.schemaExpandLevel?z(Ls||(Ls=Lp(['<span class="open-bracket object" @click="','">{</span>'])),this.toggleObjectExpand):z(Ns||(Ns=Lp(['<span class="open-bracket object" @click="','">{...}</span>'])),this.toggleObjectExpand),l="}"):"array"===e["::type"]&&("array"===t?(c=o<this.schemaExpandLevel?z(Ms||(Ms=Lp(['<span class="open-bracket array-of-array" @click="','">[[</span>'])),this.toggleObjectExpand):z(qs||(qs=Lp(['<span class="open-bracket array-of-array" @click="','">[[...]]</span>'])),this.toggleObjectExpand),l="]]"):(c=o<this.schemaExpandLevel?z(zs||(zs=Lp(['<span class="open-bracket array" @click="','">[</span>'])),this.toggleObjectExpand):z(Us||(Us=Lp(['<span class="open-bracket array" @click="','">[...]</span>'])),this.toggleObjectExpand),l="]")),"object"==typeof e)return z($s||($s=Lp([' <div class="tr '," ",'"> <div class="td key ','" style="min-width:','px"> '," "," "," ",' </div> <div class="td key-descr m-markdown-small">','</div> </div> <div class="inside-bracket ','" style="padding-left:','px"> '," </div> "," "])),o<this.schemaExpandLevel?"expanded":"collapsed",e["::type"]||"no-type-info",e["::deprecated"]?"deprecated":"",s,"xxx-of-option"===e["::type"]||"xxx-of-array"===e["::type"]||r.startsWith("::OPTION")?z(Hs||(Hs=Lp(['<span class="key-label xxx-of-key">','</span><span class="xxx-of-descr">',"</span>"])),a,i):a.endsWith("*")?z(Ws||(Ws=Lp(['<span class="key-label">','</span><span style="color:var(--red)">*</span>'])),a.substring(0,a.length-1)):"::props"===a||"::ARRAY~OF"===a?"":z(Vs||(Vs=Lp(['<span class="key-label">',"<span></span></span>"])),a),o>0&&!(r.startsWith("::props")||r.startsWith("::ONE~")||r.startsWith("::ANY~")||r.startsWith("::OPTION~")||r.startsWith("::ARRAY~OF"))?":":"","xxx-of"===e["::type"]&&"array"===t?z(Ys||(Ys=Lp(['<span style="color:var(--primary-color)">ARRAY</span>']))):"",c,Za(ce()(n||"")),e["::type"]||"no-type-info","xxx-of-option"===e["::type"]||"xxx-of-array"===e["::type"]?0:12,Array.isArray(e)&&e[0]?z(Ks||(Ks=Lp(["",""])),this.generateTree(e[0],"xxx-of-option","::ARRAY~OF","",o)):z(Gs||(Gs=Lp([" "," "])),Object.keys(e).map(t=>z(Js||(Js=Lp([" "," "])),["::description","::type","::props","::deprecated"].includes(t)?"array"===e[t]["::type"]||"object"===e[t]["::type"]?z(Qs||(Qs=Lp(["",""])),this.generateTree("array"===e[t]["::type"]?e[t]["::props"]:e[t],e[t]["::type"],t,e[t]["::description"],o+1)):"":z(Xs||(Xs=Lp(["",""])),this.generateTree("array"===e[t]["::type"]?e[t]["::props"]:e[t],e[t]["::type"],t,e[t]["::description"],o+1))))),e["::type"]&&e["::type"].includes("xxx-of")?"":z(Zs||(Zs=Lp(['<div class="close-bracket"> '," </div>"])),l));const u=e.split("~|~"),p=u[0].replace("{","").substring(0,4).toLowerCase();return z(ec||(ec=Lp([' <div class="tr primitive"> <div class="td key ','" style="min-width:','px"> ',' <span class="','"> '," ",' </span> </div> <div class="td key-descr"> '," "," "," "," "," "," </div> </div> "])),u[8],s,a.endsWith("*")?z(tc||(tc=Lp(['<span class="key-label">','</span><span style="color:var(--red)">*</span>:'])),a.substring(0,a.length-1)):r.startsWith("::OPTION")?z(rc||(rc=Lp(['<span class="key-label xxx-of-key">',"</span>"])),a):z(nc||(nc=Lp(['<span class="key-label">',"</span>:"])),a),p,"array"===t?"[".concat(u[0],"]"):"".concat(u[0]),u[1],"array"===t?n:"",u[2]?z(oc||(oc=Lp(['<div style="color:var(--fg2)">',"</div>"])),u[2]):"",u[3]?z(ac||(ac=Lp(['<div style="color:var(--fg2)"><span class="bold-text">Default:</span> ',"</div>"])),u[3]):"",u[4]?z(ic||(ic=Lp(['<div style="color:var(--fg2)"><span class="bold-text">Allowed:</span> ',"</div>"])),u[4]):"",u[5]?z(sc||(sc=Lp(['<div style="color:var(--fg2)"><span class="bold-text">Pattern:</span> ',"</div>"])),u[5]):"",u[6]?z(cc||(cc=Lp(['<span class="m-markdown-small">',"</span>"])),Za(ce()(u[6]))):"")}toggleObjectExpand(e){const t=e.target.closest(".tr");t.classList.contains("expanded")?(t.classList.replace("expanded","collapsed"),e.target.innerHTML=e.target.classList.contains("array-of-object")?"[{...}]":e.target.classList.contains("array-of-array")?"[[...]]":e.target.classList.contains("array")?"[...]":"{...}"):(t.classList.replace("collapsed","expanded"),e.target.innerHTML=e.target.classList.contains("array-of-object")?"[{":e.target.classList.contains("array-of-array")?"[[":e.target.classList.contains("object")?"{":"[")}});function Mp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}customElements.define("tag-input",class extends ae{render(){return z(lc||(lc=Np([' <div class="tags" tabindex="0"> ',' <input type="text" class="editor" @paste="','" @keydown="','" placeholder="','"> </div> '])),Array.isArray(this.value)&&this.value.length>0?z(uc||(uc=Np(["",""])),this.value.map(e=>z(pc||(pc=Np(['<span class="tag"> '," </span>"])),e))):"",this.afterPaste,this.afterKeyDown,this.placeholder||"")}static get properties(){return{placeholder:{type:String},value:{type:Array,attribute:"value"}}}attributeChangedCallback(e,t,r){if("value"===e&&r&&t!==r){const e=r.split(",").filter(e=>""!==e.trim());this.value=e||""}}afterPaste(e){const t=(e.clipboardData||window.clipboardData).getData("Text");console.log(t)}afterKeyDown(e){13===e.keyCode?(e.stopPropagation(),e.preventDefault(),e.target.value&&(Array.isArray(this.value)?this.value=[...this.value,e.target.value]:this.value=[e.target.value],e.target.value="")):8===e.keyCode&&0===e.target.value.length&&Array.isArray(this.value)&&this.value.length>0&&(this.value.splice(-1),this.value=[...this.value])}static get styles(){return[ne(fc||(fc=Np([".tags{display:flex;flex-wrap:wrap;outline:0;padding:0;border-radius:var(--border-radius);border:1px solid var(--border-color);cursor:text;overflow:hidden;background:var(--input-bg)}.editor,.tag{padding:3px;margin:2px}.tag{border:1px solid var(--border-color);background-color:var(--bg3);color:var(--fg3);border-radius:var(--border-radius);word-break:break-all;font-size:var(--font-size-small)}.tag:hover~#cursor{display:block}.editor{flex:1;border:1px solid transparent;color:var(--fg);min-width:60px;outline:0;line-height:inherit;font-family:inherit;background:0 0;font-size:calc(var(--font-size-small) + 1px)}.editor::placeholder{color:var(--placeholder-color);opacity:1}"])))]}});function qp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}customElements.define("api-request",class extends ae{constructor(){super(),this.responseMessage="",this.responseStatus="success",this.responseHeaders="",this.responseText="",this.responseUrl="",this.curlSyntax="",this.activeResponseTab="response",this.selectedRequestBodyType="",this.selectedRequestBodyExample=""}static get properties(){return{serverUrl:{type:String,attribute:"server-url"},servers:{type:Array},method:{type:String},path:{type:String},parameters:{type:Array},request_body:{type:Object},api_keys:{type:Array},parser:{type:Object},accept:{type:String},callback:{type:String},responseMessage:{type:String,attribute:!1},responseText:{type:String,attribute:!1},responseHeaders:{type:String,attribute:!1},responseStatus:{type:String,attribute:!1},responseUrl:{type:String,attribute:!1},fillRequestFieldsWithExample:{type:String,attribute:"fill-request-fields-with-example"},allowTry:{type:String,attribute:"allow-try"},renderStyle:{type:String,attribute:"render-style"},schemaStyle:{type:String,attribute:"schema-style"},activeSchemaTab:{type:String,attribute:"active-schema-tab"},schemaExpandLevel:{type:Number,attribute:"schema-expand-level"},schemaDescriptionExpanded:{type:String,attribute:"schema-description-expanded"},activeResponseTab:{type:String},selectedRequestBodyType:{type:String,attribute:"selected-request-body-type"},selectedRequestBodyExample:{type:String,attribute:"selected-request-body-example"}}}static get styles(){return[xe,me,he,ye,ys,Ee,Ae,ne(dc||(dc=Mp([".read-mode{margin-top:24px}.param-name,.param-type{margin:1px 0;text-align:right;line-height:var(--font-size-small)}.param-name{color:var(--fg);font-family:var(--font-mono)}.param-type{color:var(--light-fg);font-family:var(--font-regular)}.param-constraint{min-width:100px}.param-constraint:empty{display:none}.top-gap{margin-top:24px}.textarea{min-height:220px;padding:5px;resize:vertical}.example:first-child{margin-top:-9px}.response-message{font-weight:700;text-overflow:ellipsis}.response-message.error{color:var(--red)}.response-message.success{color:var(--blue)}.file-input-container{align-items:flex-end}.file-input-container .input-set:first-child .file-input-remove-btn{visibility:hidden}.file-input-remove-btn{font-size:16px;color:var(--red);outline:0;border:none;background:0 0;cursor:pointer}.v-tab-btn{font-size:var(--smal-font-size);height:24px;border:none;background:0 0;opacity:.3;cursor:pointer;padding:4px 8px}.v-tab-btn.active{font-weight:700;background:var(--bg);opacity:1}@media only screen and (min-width:768px){.textarea{padding:8px}}"]))),Te]}render(){return z(hc||(hc=Mp([' <div class="col regular-font request-panel ','"> <div class="','"> '," </div> <div> "," "," "," "," "," "," </div> </div> "])),"read focused".includes(this.renderStyle)||"true"===this.callback?"read-mode":"view-mode","true"===this.callback?"tiny-title":"req-res-title","true"===this.callback?"CALLBACK REQUEST":"REQUEST",this.inputParametersTemplate("path"),this.inputParametersTemplate("query"),this.requestBodyTemplate(),this.inputParametersTemplate("header"),this.inputParametersTemplate("cookie"),"false"===this.allowTry?"":z(vc||(vc=Mp(["",""])),this.apiCallTemplate()))}updated(e){if("focused"===this.renderStyle)if(1===e.size&&e.has("activeSchemaTab"));else{[...this.shadowRoot.querySelectorAll('textarea[data-ptype="form-data"]')].forEach(e=>{const t=this.shadowRoot.querySelector("textarea[data-pname='hidden-".concat(e.dataset.pname,"']"));t&&(e.value=t.value)})}}inputParametersTemplate(e){const t=this.parameters?this.parameters.filter(t=>t.in===e):[];if(0===t.length)return"";let r="";"path"===e?r="PATH PARAMETERS":"query"===e?r="QUERY-STRING PARAMETERS":"header"===e?r="REQUEST HEADERS":"cookie"===e&&(r="COOKIES");const n=[];for(const r of t){if(!r.schema)continue;const t=bs(r.schema);let a="",i=[],s="form",c=!0;if("query"===e&&(r.style&&"form spaceDelimited pipeDelimited".includes(r.style)&&(s=r.style),"boolean"==typeof r.explode&&(c=r.explode)),r.example=void 0===r.example?"":Array.isArray(r.example)?r.example:"".concat(r.example),r.example)a="array"===t.type?r.example:"".concat(r.example),i=[{value:r.example,description:"".concat(r.example)}];else if(t.example)a="array"===t.type?t.example:"".concat(t.example),i=[{value:t.example,description:"".concat(t.example)}];else if(r.examples&&Object.values(r.examples).length>0)if(Array.isArray(r.examples)){const e=Object.values(r.examples)[0]||"";a="array"===t.type?[e]:e,i=Object.values(r.examples).map(e=>({value:e,description:e}))}else{var o;a=null===(o=Object.values(r.examples)[0])||void 0===o?void 0:o.value,i=Object.values(r.examples).map(e=>({value:e.value,description:e.description||e.summary||e.value}))}n.push(z(mc||(mc=Mp([' <tr> <td rowspan="','" style="width:160px;min-width:100px"> <div class="param-name"> ',"",' </div> <div class="param-type"> '," </div> </td> ",' <td colspan="','"> '," </td> </tr> <tr> ",' <td colspan="2" style="border:none;margin-top:0;padding:0 5px 8px 5px"> <span class="m-markdown-small">',"</span> "," </td> </tr> "])),"true"===this.allowTry?"1":"2",r.required?z(gc||(gc=Mp(['<span style="color:var(--red)">*</span>']))):"",r.name,"array"===t.type?"".concat(t.arrayType):"".concat(t.format?t.format:t.type),"true"===this.allowTry?z(yc||(yc=Mp([' <td style="width:',';min-width:100px"> '," </td>"])),"array"===t.type||"object"===t.type?"read focused".includes(this.renderStyle)?"300px":"220px":"160px","array"===t.type?z(bc||(bc=Mp([' <tag-input class="request-param" style="width:160px;background:var(--input-bg)" data-ptype="','" data-pname="','" data-example="','" data-param-serialize-style="','" data-param-serialize-explode="','" data-array="true" placeholder="add-multiple ⮐" value="','"> </tag-input>'])),e,r.name,Array.isArray(a)?a.join("~|~"):a,s,c,Array.isArray(a)?a.join(","):a):"object"===t.type?z(xc||(xc=Mp([' <textarea class="textarea request-param" data-ptype="','-object" data-pname="','" data-example="','" data-param-serialize-style="','" data-param-serialize-explode="','" spellcheck="false" style="resize:vertical;width:100%;height:','">',"</textarea>"])),e,r.name,a,s,c,"read focused".includes(this.renderStyle)?"180px":"120px","true"===this.fillRequestFieldsWithExample?a:""):z(wc||(wc=Mp([' <input type="','" spellcheck="false" style="width:100%" class="request-param" data-ptype="','" data-pname="','" data-example="','" data-array="false" .value="','">'])),"password"===t.format?"password":"text",e,r.name,Array.isArray(a)?a.join("~|~"):a,"true"===this.fillRequestFieldsWithExample?a:"")):"","true"===this.allowTry?"1":"2",t.default||t.constrain||t.allowedValues||t.pattern?z(kc||(kc=Mp([' <div class="param-constraint"> '," "," "," "," </div>"])),t.default?z(Sc||(Sc=Mp(['<span style="font-weight:700">Default: </span>',"<br>"])),t.default):"",t.pattern?z(Ac||(Ac=Mp(['<span style="font-weight:700">Pattern: </span>',"<br>"])),t.pattern):"",t.constrain?z(Oc||(Oc=Mp(["","<br>"])),t.constrain):"",t.allowedValues&&t.allowedValues.split(",").map((e,n)=>z(Ec||(Ec=Mp([" "," ",""])),n>0?" | ":z(Dc||(Dc=Mp(['<span style="font-weight:700"> Allowed: </span>']))),z(Cc||(Cc=Mp([' <a class="','" data-type="','" data-enum="','" @click="','"> '," </a>"])),"true"===this.allowTry?"":"inactive-link","array"===t.type?t.type:"string",e.trim(),e=>{const t=e.target.closest("table").querySelector('[data-pname="'.concat(r.name,'"]'));t&&("array"===e.target.dataset.type?t.value=[e.target.dataset.enum]:t.value=e.target.dataset.enum)},e)))):"","true"===this.allowTry?z(jc||(jc=Mp(['<td style="border:none"> </td>']))):"",Za(ce()(r.description||"")),Array.isArray(i)&&i.length>0?z(_c||(_c=Mp(['<span> <span style="font-weight:700"> Example: </span> '," </span>"])),i.map((e,n)=>{var o;return z(Tc||(Tc=Mp([" "," ",' <a class="','" data-example-type="','" data-example="','" @click="','"> '," </a> "," "])),0===n?"":z(Ic||(Ic=Mp([" ◇"]))),"array"===t.type?"[":"","true"===this.allowTry?"":"inactive-link","array"===t.type?t.type:"string","array"===t.type?(null===(o=e.value)||void 0===o?void 0:o.join("~|~"))||"":e.value||"",e=>{const t=e.target.closest("table").querySelector('[data-pname="'.concat(r.name,'"]'));t&&("array"===e.target.dataset.exampleType?t.value=e.target.dataset.example.split("~|~"):t.value=e.target.dataset.example)},e.description||"","array"===t.type?"] ":"")})):""))}return z(Fc||(Fc=Mp([' <div class="table-title top-gap">','</div> <div style="display:block;overflow-x:auto;max-width:100%"> <table class="m-table" style="width:100%;word-break:break-word"> '," </table> </div>"])),r,n)}resetRequestBodySelection(){this.selectedRequestBodyType="",this.selectedRequestBodyExample="",this.clearResponseData()}onSelectExample(e){this.selectedRequestBodyExample=e.target.value;const t=e.target;window.setTimeout(e=>{const t=e.closest(".example-panel").querySelector(".request-body-param");e.closest(".example-panel").querySelector(".request-body-param-user-input").value=t.value},0,t)}onMimeTypeChange(e){this.selectedRequestBodyType=e.target.value;const t=e.target;this.selectedRequestBodyExample="",window.setTimeout(e=>{const t=e.closest(".request-body-container").querySelector(".request-body-param");if(t){e.closest(".request-body-container").querySelector(".request-body-param-user-input").value=t.value}},0,t)}requestBodyTemplate(){if(!this.request_body)return"";if(0===Object.keys(this.request_body).length)return"";let e="",t="",r="",n="",o="";const a=[],i=this.request_body.content;for(const e in i)a.push({mimeType:e,schema:i[e].schema,example:i[e].example,examples:i[e].examples}),this.selectedRequestBodyType||(this.selectedRequestBodyType=e);return e=1===a.length?"":z(Pc||(Pc=Mp([' <select style="min-width:100px;max-width:100%;margin-bottom:-1px" @change="','"> '," </select> "])),e=>this.onMimeTypeChange(e),a.map(e=>z(Rc||(Rc=Mp([' <option value="','" ?selected="','"> '," </option> "])),e.mimeType,e.mimeType===this.selectedRequestBodyType,e.mimeType))),a.forEach(e=>{let a,i=[];if(this.selectedRequestBodyType.includes("json")||this.selectedRequestBodyType.includes("xml")||this.selectedRequestBodyType.includes("text"))e.mimeType===this.selectedRequestBodyType&&(i=Ds(e.examples?e.examples:"",e.example?e.example:"",e.schema,e.mimeType,!1,"text"),this.selectedRequestBodyExample||(this.selectedRequestBodyExample=i.length>0?i[0].exampleId:""),o=z(Bc||(Bc=Mp([" ",' <div class="example-panel border-top pad-top-8"> '," "," </div> "])),o,1===i.length?"":z(Lc||(Lc=Mp([' <select style="min-width:100px;max-width:100%;margin-bottom:-1px" @change="','"> '," </select> "])),e=>this.onSelectExample(e),i.map(e=>z(Nc||(Nc=Mp(['<option value="','" ?selected="','"> '," </option>"])),e.exampleId,e.exampleId===this.selectedRequestBodyExample,e.exampleSummary.length>80?e.exampleId:e.exampleSummary?e.exampleSummary:e.exampleId))),i.filter(e=>e.exampleId===this.selectedRequestBodyExample).map(t=>z(Mc||(Mc=Mp([' <div class="example ','" data-example="','"> '," ",' <textarea class="textarea request-body-param-user-input" spellcheck="false" data-ptype="','" data-example="','" data-example-format="','" style="width:100%;resize:vertical">','</textarea> <textarea class="textarea is-hidden request-body-param ','" spellcheck="false" data-ptype="','" style="width:100%;resize:vertical;display:none">',"</textarea> </div> "])),t.exampleId===this.selectedRequestBodyExample?"example-selected":"",t.exampleId,t.exampleSummary&&t.exampleSummary.length>80?z(qc||(qc=Mp(['<div style="padding:4px 0"> '," </div>"])),t.exampleSummary):"",t.exampleDescription?z(zc||(zc=Mp(['<div class="m-markdown-small" style="padding:4px 0"> '," </div>"])),Za(ce()(t.exampleDescription||""))):"",e.mimeType,"text"===t.exampleFormat?t.exampleValue:JSON.stringify(t.exampleValue,null,2),t.exampleFormat,"true"===this.fillRequestFieldsWithExample?"text"===t.exampleFormat?t.exampleValue:JSON.stringify(t.exampleValue,null,2):"",e.mimeType.substring(e.mimeType.indexOf("/")+1),e.mimeType,"text"===t.exampleFormat?t.exampleValue:JSON.stringify(t.exampleValue,null,2)))));else if(this.selectedRequestBodyType.includes("form-urlencoded")||this.selectedRequestBodyType.includes("form-data")){if(e.mimeType===this.selectedRequestBodyType){const t=Ds(e.examples?e.examples:"",e.example?e.example:"",e.schema,e.mimeType,!1,"text");e.schema&&(r=this.formDataTemplate(e.schema,e.mimeType,t[0]?t[0].exampleValue:""))}}else RegExp("^audio/|^image/|^video/|^font/|tar$|zip$|7z$|rtf$|msword$|excel$|/pdf$|/octet-stream$").test(this.selectedRequestBodyType)&&e.mimeType===this.selectedRequestBodyType&&(t=z(Uc||(Uc=Mp([' <div class="small-font-size bold-text row"> <input type="file" style="max-width:100%" class="request-body-param-file" data-ptype="','" spellcheck="false"> </div> '])),e.mimeType));(e.mimeType.includes("json")||e.mimeType.includes("xml")||e.mimeType.includes("text"))&&(a=Es(e.schema,{}),"table"===this.schemaStyle?n=z($c||($c=Mp([" ",' <schema-table class="','" style="display:','" .data="','" schema-expand-level="','" schema-description-expanded="','"> </schema-table> '])),n,e.mimeType.substring(e.mimeType.indexOf("/")+1),this.selectedRequestBodyType===e.mimeType?"block":"none",a,this.schemaExpandLevel,this.schemaDescriptionExpanded):"tree"===this.schemaStyle&&(n=z(Hc||(Hc=Mp([" ",' <schema-tree class="','" style="display:','" .data="','" schema-expand-level="','" schema-description-expanded="','"> </schema-tree> '])),n,e.mimeType.substring(e.mimeType.indexOf("/")+1),this.selectedRequestBodyType===e.mimeType?"block":"none",a,this.schemaExpandLevel,this.schemaDescriptionExpanded)))}),z(Wc||(Wc=Mp([' <div class="request-body-container" data-selected-request-body-type="','"> <div class="table-title top-gap row"> REQUEST BODY ',' <span style="font-weight:400;margin-left:5px"> ','</span> <span style="flex:1"></span> '," </div> "," "," </div> "])),this.selectedRequestBodyType,this.request_body.required?z(Vc||(Vc=Mp(['<span class="mono-font" style="color:var(--red)">*</span>']))):"",this.selectedRequestBodyType,e,this.request_body.description?z(Yc||(Yc=Mp(['<div class="m-markdown" style="margin-bottom:12px">',"</div>"])),Za(ce()(this.request_body.description))):"",this.selectedRequestBodyType.includes("json")||this.selectedRequestBodyType.includes("xml")||this.selectedRequestBodyType.includes("text")?z(Kc||(Kc=Mp([' <div class="tab-panel col" style="border-width:0 0 1px 0"> <div class="tab-buttons row" @click="','"> <button class="tab-btn ','" data-tab="model">MODEL</button> <button class="tab-btn ','" data-tab="example">EXAMPLE </button> </div> '," "," </div>"])),e=>{"button"===e.target.tagName.toLowerCase()&&(this.activeSchemaTab=e.target.dataset.tab)},"model"===this.activeSchemaTab?"active":"","example"===this.activeSchemaTab?"active":"",z(Gc||(Gc=Mp(['<div class="tab-content col" style="display:','"> ',"</div>"])),"model"===this.activeSchemaTab?"block":"none",n),z(Jc||(Jc=Mp(['<div class="tab-content col" style="display:','"> ',"</div>"])),"model"===this.activeSchemaTab?"none":"block",o)):z(Qc||(Qc=Mp([" "," ",""])),t,r))}formDataTemplate(e,t,r=""){const n=[];if(e.properties){for(const r in e.properties){var o,a,i;const s=e.properties[r],c=s.type,l=Es(s,{}),u=bs(s),p=Ds("",s.example?s.example:"",s,"json",!1,"text");n.push(z(Xc||(Xc=Mp([' <tr> <td style="width:160px;min-width:100px"> <div class="param-name"> ',' </div> <div class="param-type">','</div> </td> <td style="',' min-width:100px" colspan="','"> '," </td> "," </tr> ",""])),s.required?z(Zc||(Zc=Mp(['<span style="color:var(--red)">*</span>',""])),r):z(el||(el=Mp(["",""])),r),u.type,"object"===c?"width:100%; padding:0;":"true"===this.allowTry?"width:160px;":"display:none;","object"===c?2:1,"array"===c?"binary"===(null===(o=s.items)||void 0===o?void 0:o.format)?z(tl||(tl=Mp([' <div class="file-input-container col" style="align-items:flex-end" @click="','"> <div class="input-set row"> <input type="file" style="width:200px" data-pname="','" data-ptype="','" data-array="false" data-file-array="true"> <button class="file-input-remove-btn"> ✕ </button> </div> <button class="m-btn primary file-input-add-btn" style="margin:2px 25px 0 0;padding:2px 6px">ADD</button> </div> '])),e=>this.onAddRemoveFileInput(e,r,t),r,t.includes("form-urlencode")?"form-urlencode":"form-data"):z(rl||(rl=Mp([' <tag-input style="width:160px;background:var(--input-bg)" data-ptype="','" data-pname="','" data-example="','" data-array="true" placeholder="add-multiple ⮐" value="','"> </tag-input> '])),t.includes("form-urlencode")?"form-urlencode":"form-data",r,Array.isArray(s.example)?s.example.join("~|~"):s.example||"",Array.isArray(s.example)?s.example.join(","):s.example):z(nl||(nl=Mp([" ",""])),"object"===c?z(ol||(ol=Mp([' <div class="tab-panel row" style="min-height:220px;border-left:6px solid var(--light-border-color);align-items:stretch"> <div style="width:24px;background-color:var(--light-border-color)"> <div class="row" style="flex-direction:row-reverse;width:160px;height:24px;transform:rotate(270deg) translateX(-160px);transform-origin:top left;display:block" @click="','"> <button class="v-tab-btn ','" data-tab="model">MODEL</button> <button class="v-tab-btn ','" data-tab="example">EXAMPLE</button> </div> </div> '," "," </div>"])),e=>{if(e.target.classList.contains("v-tab-btn")){const t=e.target.dataset.tab;if(t){const r=e.target.closest(".tab-panel"),n=r.querySelector('.v-tab-btn[data-tab="'.concat(t,'"]')),o=[...r.querySelectorAll('.v-tab-btn:not([data-tab="'.concat(t,'"])'))],a=r.querySelector('.tab-content[data-tab="'.concat(t,'"]')),i=[...r.querySelectorAll('.tab-content:not([data-tab="'.concat(t,'"])'))];n.classList.add("active"),a.style.display="block",o.forEach(e=>{e.classList.remove("active")}),i.forEach(e=>{e.style.display="none"})}}"button"===e.target.tagName.toLowerCase()&&(this.activeSchemaTab=e.target.dataset.tab)},"model"===this.activeSchemaTab?"active":"","example"===this.activeSchemaTab?"active":"",z(al||(al=Mp([' <div class="tab-content col" data-tab="model" style="display:',';padding-left:5px;width:100%"> <schema-tree .data="','" schema-expand-level="','" schema-description-expanded="','"> </schema-tree> </div>'])),"model"===this.activeSchemaTab?"block":"none",l,this.schemaExpandLevel,this.schemaDescriptionExpanded),z(il||(il=Mp([' <div class="tab-content col" data-tab="example" style="display:',';padding-left:5px;width:100%"> <textarea class="textarea" style="width:100%;border:none;resize:vertical" data-array="false" data-ptype="','" data-pname="','" data-example="','" spellcheck="false">','</textarea> <textarea data-pname="hidden-','" data-ptype="','" class="is-hidden" style="display:none">',"</textarea> </div>"])),"example"===this.activeSchemaTab?"block":"none",t.includes("form-urlencode")?"form-urlencode":"form-data",r,(null===(a=p[0])||void 0===a?void 0:a.exampleValue)||"","true"===this.fillRequestFieldsWithExample?p[0].exampleValue:"",r,t.includes("form-urlencode")?"hidden-form-urlencode":"hidden-form-data",p[0].exampleValue)):z(sl||(sl=Mp([" "," "])),"true"===this.allowTry?z(cl||(cl=Mp(['<input .value="','" spellcheck="false" type="','" style="width:200px" data-ptype="','" data-pname="','" data-example="','" data-array="false">'])),"true"===this.fillRequestFieldsWithExample&&s.example||"","binary"===s.format?"file":"password"===s.format?"password":"text",t.includes("form-urlencode")?"form-urlencode":"form-data",r,s.example||""):"")),"object"===c?"":z(ll||(ll=Mp([" <td> "," </td>"])),u.default||u.constrain||u.allowedValues||u.pattern?z(ul||(ul=Mp([' <div class="param-constraint"> '," "," "," "," </div>"])),u.default?z(pl||(pl=Mp(['<span style="font-weight:700">Default: </span>',"<br>"])),u.default):"",u.pattern?z(fl||(fl=Mp(['<span style="font-weight:700">Pattern: </span>',"<br>"])),u.pattern):"",u.constrain?z(dl||(dl=Mp(["","<br>"])),u.constrain):"",u.allowedValues&&u.allowedValues.split(",").map((e,t)=>z(hl||(hl=Mp([" "," ",""])),t>0?" | ":z(vl||(vl=Mp(['<span style="font-weight:700"> Allowed: </span>']))),z(ml||(ml=Mp([' <a class="','" data-type="','" data-enum="','" @click="','"> '," </a>"])),"true"===this.allowTry?"":"inactive-link","array"===u.type?u.type:"string",e.trim(),e=>{const t=e.target.closest("table").querySelector('[data-pname="'.concat(r,'"]'));t&&("array"===e.target.dataset.type?t.value=[e.target.dataset.enum]:t.value=e.target.dataset.enum)},e)))):""),"object"===c?"":z(gl||(gl=Mp([' <tr> <td style="border:none"> </td> <td colspan="2" style="border:none;margin-top:0;padding:0 5px 8px 5px"> <span class="m-markdown-small">',"</span> "," </td> </tr> "])),Za(ce()(s.description||"")),u.example?z(yl||(yl=Mp([' <span> <span style="font-weight:700"> Example: </span> ',' <a class="','" data-example-type="','" data-example="','" @click="','"> '," </a> "," </span>"])),"array"===u.type?"[ ":"","true"===this.allowTry?"":"inactive-link","array"===u.type?u.type:"string","array"===u.type?(null===(i=u.example)||void 0===i?void 0:i.join("~|~"))||"":u.example,e=>{const t=e.target.closest("table").querySelector('[data-pname="'.concat(r,'"]'));t&&("array"===e.target.dataset.exampleType?t.value=e.target.dataset.example.split("~|~"):t.value=e.target.dataset.example)},"array"===u.type?u.example.join(", "):u.example,"array"===u.type?"] ":""):"")))}return z(bl||(bl=Mp([' <table style="width:100%" class="m-table"> '," </table> "])),n)}return z(xl||(xl=Mp([' <textarea class="textarea dynamic-form-param ','" spellcheck="false" data-pname="dynamic-form" data-ptype="','" style="width:100%">',"</textarea> "," "])),t,t,r,e.description?z(wl||(wl=Mp(['<span class="m-markdown-small">',"</span>"])),Za(ce()(e.description))):"")}apiResponseTabTemplate(){const e=this.responseHeaders.includes("json")?"json":this.responseHeaders.includes("html")||this.responseHeaders.includes("xml")?"html":"";return z(kl||(kl=Mp([' <div class="row" style="font-size:var(--font-size-small);margin:5px 0"> <div class="response-message ','">Response Status: ','</div> <div style="flex:1"></div> <button class="m-btn" @click="','">CLEAR RESPONSE</button> </div> <div class="tab-panel col" style="border-width:0 0 1px 0"> <div id="tab_buttons" class="tab-buttons row" @click="','"> <button class="tab-btn ','" data-tab="response"> RESPONSE</button> <button class="tab-btn ','" data-tab="headers"> RESPONSE HEADERS</button> <button class="tab-btn ','" data-tab="curl">CURL</button> </div> ',' <div class="tab-content col m-markdown" style="flex:1;display:','"> <button class="toolbar-btn" style="position:absolute;top:12px;right:2px" @click="','"> Copy </button> <pre style="white-space:pre"><code>','</code></pre> </div> <div class="tab-content col m-markdown" style="flex:1;display:','"> <button class="toolbar-btn" style="position:absolute;top:12px;right:2px" @click="','"> Copy </button> <pre style="white-space:pre"><code>',"</code></pre> </div> </div>"])),this.responseStatus,this.responseMessage,this.clearResponseData,e=>{!1!==e.target.classList.contains("tab-btn")&&(this.activeResponseTab=e.target.dataset.tab)},"response"===this.activeResponseTab?"active":"","headers"===this.activeResponseTab?"active":"","curl"===this.activeResponseTab?"active":"",this.responseIsBlob?z(Sl||(Sl=Mp([' <div class="tab-content col" style="flex:1;display:','"> <button class="m-btn thin-border mar-top-8" style="width:135px" @click="','">DOWNLOAD</button> '," </div>"])),"response"===this.activeResponseTab?"flex":"none",this.downloadResponseBlob,"view"===this.responseBlobType?z(Al||(Al=Mp(['<button class="m-btn thin-border mar-top-8" style="width:135px" @click="','">VIEW (NEW TAB)</button>'])),this.viewResponseBlob):""):z(Ol||(Ol=Mp([' <div class="tab-content col m-markdown" style="flex:1;display:','"> <button class="toolbar-btn" style="position:absolute;top:12px;right:2px" @click="','"> Copy </button> <pre style="white-space:pre;max-height:400px;overflow:auto">',"\n </pre> </div>"])),"response"===this.activeResponseTab?"flex":"none",e=>{Pe(this.responseText,e)},e?z(El||(El=Mp(["<code>","</code>"])),Za(ue.a.highlight(this.responseText,ue.a.languages[e],e))):"".concat(this.responseText)),"headers"===this.activeResponseTab?"flex":"none",e=>{Pe(this.responseHeaders,e)},Za(ue.a.highlight(this.responseHeaders,ue.a.languages.css,"css")),"curl"===this.activeResponseTab?"flex":"none",e=>{Pe(this.curlSyntax.replace(/\\$/,""),e)},Za(ue.a.highlight(this.curlSyntax.trim().replace(/\\$/,""),ue.a.languages.shell,"shell")))}apiCallTemplate(){var e;let t="";this.servers&&this.servers.length>0&&(t=z(Dl||(Dl=Mp([' <select style="min-width:100px" @change="','"> '," </select> "])),e=>{this.serverUrl=e.target.value},this.servers.map(e=>z(Cl||(Cl=Mp(['<option value="','"> '," - "," </option>"])),e.url,e.url,e.description))));const r=z(jl||(jl=Mp([' <div style="display:flex;flex-direction:column"> '," "," </div> "])),t,this.serverUrl?z(_l||(_l=Mp([' <div style="display:flex;align-items:baseline"> <div style="font-weight:700;padding-right:5px">API Server</div> <span class="gray-text"> '," </span> </div> "])),this.serverUrl):"");return z(Tl||(Tl=Mp([' <div style="display:flex;align-items:flex-end;margin:16px 0;font-size:var(--font-size-small)"> <div style="display:flex;flex-direction:column;margin:0;width:calc(100% - 60px)"> <div style="display:flex;flex-direction:row;align-items:center;overflow:hidden"> ',' </div> <div style="display:flex"> <div style="font-weight:700;padding-right:5px">Authentication</div> '," </div> </div> ",' <button class="m-btn primary thin-border" @click="','">TRY</button> </div> '," "])),r,this.api_keys.length>0?z(Il||(Il=Mp(['<div style="color:var(--blue);overflow:hidden"> '," </div>"])),1===this.api_keys.length?"".concat(null===(e=this.api_keys[0])||void 0===e?void 0:e.typeDisplay," in ").concat(this.api_keys[0].in):"".concat(this.api_keys.length," API keys applied")):z(Fl||(Fl=Mp(['<div style="color:var(--red)">No API key applied</div>']))),this.parameters.length>0||this.request_body?z(Pl||(Pl=Mp([' <button class="m-btn thin-border" style="margin-right:5px" @click="','" title="Fills with example data (if provided)"> FILL EXAMPLE </button> <button class="m-btn thin-border" style="margin-right:5px" @click="','"> CLEAR </button>'])),this.onFillRequestData,this.onClearRequestData):"",this.onTryClick,""===this.responseMessage?"":this.apiResponseTabTemplate())}async onFillRequestData(e){[...e.target.closest(".request-panel").querySelectorAll("input, tag-input, textarea:not(.is-hidden)")].forEach(e=>{e.dataset.example&&("TAG-INPUT"===e.tagName.toUpperCase()?e.value=e.dataset.example.split("~|~"):e.value=e.dataset.example)})}async onClearRequestData(e){[...e.target.closest(".request-panel").querySelectorAll("input, tag-input, textarea:not(.is-hidden)")].forEach(e=>{e.value=""})}async onTryClick(e){var t;const r=this,n=e.target;let o,a,i="",s="",c="",l="";const u=null===(t=this.closest(".expanded-req-resp-container, .req-resp-container"))||void 0===t?void 0:t.getElementsByTagName("api-response")[0],p=null==u?void 0:u.selectedMimeType,f=e.target.closest(".request-panel"),d=[...f.querySelectorAll("[data-ptype='path']")],h=[...f.querySelectorAll("[data-ptype='query']")],v=[...f.querySelectorAll("[data-ptype='query-object']")],m=[...f.querySelectorAll("[data-ptype='header']")],g=f.querySelector(".request-body-container");o=r.path;const y={method:this.method.toUpperCase(),headers:{}};if(d.map(e=>{o=o.replace("{".concat(e.dataset.pname,"}"),encodeURIComponent(e.value))}),h.length>0){const e=new URLSearchParams;h.forEach(t=>{if("false"===t.dataset.array)""!==t.value&&e.append(t.dataset.pname,t.value);else{const r=t.dataset.paramSerializeStyle,n=t.dataset.paramSerializeExplode,o=t.value&&Array.isArray(t.value)?t.value:[];"spaceDelimited"===r?e.append(t.dataset.pname,o.join(" ")):"pipeDelimited"===r?e.append(t.dataset.pname,o.join("|")):"true"===n?o.forEach(r=>{e.append(t.dataset.pname,r)}):e.append(t.dataset.pname,o.join(","))}}),o="".concat(o).concat(e.toString()?"?":"").concat(e.toString())}if(v.length>0){const e=new URLSearchParams;v.map(t=>{try{let r={};const n=t.dataset.paramSerializeStyle,a=t.dataset.paramSerializeExplode;r=Object.assign(r,JSON.parse(t.value.replace(/\s+/g," ")));for(const t in r)"object"==typeof r[t]?Array.isArray(r[t])&&("spaceDelimited"===n?e.append(t,r[t].join(" ")):"pipeDelimited"===n?e.append(t,r[t].join("|")):"true"===a?r[t].forEach(r=>{e.append(t,r)}):e.append(t,r[t])):e.append(t,r[t]);o="".concat(o).concat(e.toString()?"?":"").concat(e.toString())}catch(e){console.log("RapiDoc: unable to parse %s into object",t.value)}})}if(this.api_keys.filter(e=>"query"===e.in).forEach(e=>{o="".concat(o).concat(o.includes("?")?"&":"?").concat(e.name,"=").concat(encodeURIComponent(e.finalKeyValue))}),o="".concat(this.serverUrl.replace(/\/$/,"")).concat(o),!1===o.startsWith("http")){a=new URL(o,window.location.href).href}else a=o;if(i="curl -X ".concat(this.method.toUpperCase(),' "').concat(a,'" \\\n'),p?(y.headers.Accept=p,s+=' -H "Accept: '.concat(p,'" \\\n')):this.accept&&(y.headers.Accept=this.accept,s+=' -H "Accept: '.concat(this.accept,'" \\\n')),this.api_keys.filter(e=>"header"===e.in).forEach(e=>{y.headers[e.name]=e.finalKeyValue,s+=' -H "'.concat(e.name,": ").concat(e.finalKeyValue,'" \\\n')}),m.map(e=>{e.value&&(y.headers[e.dataset.pname]=e.value,s+=' -H "'.concat(e.dataset.pname,": ").concat(e.value,'" \\\n'))}),g){const e=g.dataset.selectedRequestBodyType;if(e.includes("form-urlencoded")){const e=f.querySelector("[data-ptype='dynamic-form']");if(e){const t=e.value,r=new URLSearchParams;let n,o=!0;if(t)try{n=JSON.parse(t)}catch(e){o=!1,console.warn("RapiDoc: Invalid JSON provided",e)}else o=!1;if(o){for(const e in n)r.append(e,JSON.stringify(n[e]));y.body=r,c=" -d ".concat(r.toString()," \\\n")}}else{const e=[...f.querySelectorAll("[data-ptype='form-urlencode']")],t=new URLSearchParams;e.filter(e=>"file"!==e.type).forEach(e=>{if("false"===e.dataset.array)e.value&&t.append(e.dataset.pname,e.value);else{const r=e.value&&Array.isArray(e.value)?e.value.join(","):"";t.append(e.dataset.pname,r)}}),y.body=t,c=" -d ".concat(t.toString()," \\\n")}}else if(e.includes("form-data")){const e=new FormData;[...f.querySelectorAll("[data-ptype='form-data']")].forEach(t=>{"false"===t.dataset.array?"file"===t.type&&t.files[0]?(e.append(t.dataset.pname,t.files[0],t.files[0].name),l+=' -F "'.concat(t.dataset.pname,"=@").concat(t.files[0].name,'" \\\n')):t.value&&(e.append(t.dataset.pname,t.value),l+=' -F "'.concat(t.dataset.pname,"=").concat(t.value,'" \\\n')):t.value&&Array.isArray(t.value)&&(t.value.forEach(e=>{l="".concat(l,' -F "').concat(t.dataset.pname,"[]=").concat(e,'" \\\n')}),e.append(t.dataset.pname,t.value.join(",")))}),y.body=e}else if(RegExp("^audio/|^image/|^video/|^font/|tar$|zip$|7z$|rtf$|msword$|excel$|/pdf$|/octet-stream$").test(e)){const e=f.querySelector(".request-body-param-file");e&&e.files[0]&&(y.body=e.files[0],c=" --data-binary @".concat(e.files[0].name," \\\n"))}else if(e.includes("json")||e.includes("xml")||e.includes("text")){const e=f.querySelector(".request-body-param-user-input");if(e&&e.value){y.body=e.value;try{c=" -d '".concat(JSON.stringify(JSON.parse(e.value)),"' \\\n")}catch(t){c=" -d '".concat(e.value.replace(/(\r\n|\n|\r)/gm,""),"' \\\n")}}}e.includes("form-data")||(y.headers["Content-Type"]=e),s+=' -H "Content-Type: '.concat(e,'" \\\n')}r.responseUrl="",r.responseHeaders="",r.curlSyntax="",r.responseStatus="success",r.responseIsBlob=!1,r.respContentDisposition="",r.responseBlobUrl&&(URL.revokeObjectURL(r.responseBlobUrl),r.responseBlobUrl=""),r.curlSyntax="".concat(i).concat(s).concat(c).concat(l);try{let e,t,a;n.disabled=!0;const i=await fetch(o,y);n.disabled=!1,r.responseStatus=i.ok?"success":"error",r.responseMessage="".concat(i.statusText,":").concat(i.status),r.responseUrl=i.url,i.headers.forEach((e,t)=>{r.responseHeaders="".concat(r.responseHeaders).concat(t.trim(),": ").concat(e,"\n")});const s=i.headers.get("content-type");if(s){if(s.includes("json")?(t=await i.json(),r.responseText=JSON.stringify(t,null,2)):RegExp("^font/|tar$|zip$|7z$|rtf$|msword$|excel$|/pdf$|/octet-stream$").test(s)?(r.responseIsBlob=!0,r.responseBlobType="download"):RegExp("^audio|^image|^video").test(s)?(r.responseIsBlob=!0,r.responseBlobType="view"):(a=await i.text(),r.responseText=a),r.responseIsBlob){const t=i.headers.get("content-disposition");r.respContentDisposition=t?t.split("filename=")[1]:"filename",e=await i.blob(),r.responseBlobUrl=URL.createObjectURL(e)}}else a=await i.text(),r.responseText=a;this.dispatchEvent(new CustomEvent("after-try",{bubbles:!0,composed:!0,detail:{fetchUrl:o,fetchOptions:y,responseStatus:r.responseStatus,responseContentType:s,responseIsBlob:r.responseIsBlob,response:t||a||e}}))}catch(e){n.disabled=!1,r.responseMessage="".concat(e.message," (CORS or Network Issue)"),document.dispatchEvent(new CustomEvent("after-try",{bubbles:!0,composed:!0,detail:{err:e,url:o,options:y}}))}}onAddRemoveFileInput(e,t,r){if("button"!==e.target.tagName.toLowerCase())return;if(e.target.classList.contains("file-input-remove-btn")){return void e.target.closest(".input-set").remove()}const n=e.target.closest(".file-input-container"),o=document.createElement("div");o.setAttribute("class","input-set row");const a=document.createElement("input");a.type="file",a.style="width:200px; margin-top:2px;",a.setAttribute("data-pname",t),a.setAttribute("data-ptype",r.includes("form-urlencode")?"form-urlencode":"form-data"),a.setAttribute("data-array","false"),a.setAttribute("data-file-array","true");const i=document.createElement("button");i.setAttribute("class","file-input-remove-btn"),i.innerHTML="✕",o.appendChild(a),o.appendChild(i),n.insertBefore(o,e.target)}downloadResponseBlob(){if(this.responseBlobUrl){const e=document.createElement("a");document.body.appendChild(e),e.style="display: none",e.href=this.responseBlobUrl,e.download=this.respContentDisposition,e.click(),e.remove()}}viewResponseBlob(){if(this.responseBlobUrl){const e=document.createElement("a");document.body.appendChild(e),e.style="display: none",e.href=this.responseBlobUrl,e.target="_blank",e.click(),e.remove()}}clearResponseData(){this.responseUrl="",this.responseHeaders="",this.responseText="",this.responseStatus="success",this.responseMessage="",this.responseIsBlob=!1,this.responseBlobType="",this.respContentDisposition="",this.responseBlobUrl&&(URL.revokeObjectURL(this.responseBlobUrl),this.responseBlobUrl="")}disconnectedCallback(){this.responseBlobUrl&&(URL.revokeObjectURL(this.responseBlobUrl),this.responseBlobUrl=""),super.disconnectedCallback()}});function zp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}customElements.define("schema-table",class extends ae{static get properties(){return{schemaExpandLevel:{type:Number,attribute:"schema-expand-level"},schemaDescriptionExpanded:{type:String,attribute:"schema-description-expanded"},data:{type:Object}}}connectedCallback(){super.connectedCallback(),(!this.schemaExpandLevel||this.schemaExpandLevel<1)&&(this.schemaExpandLevel=99999),this.schemaDescriptionExpanded&&"true false".includes(this.schemaDescriptionExpanded)||(this.schemaDescriptionExpanded="false")}static get styles(){return[he,Bp,ne(Rl||(Rl=qp([".table{font-size:var(--font-size-small);text-align:left;line-height:calc(var(--font-size-small) + 6px)}.table .tr{width:calc(100% - 5px);padding:0 0 0 5px;border-bottom:1px dotted var(--light-border-color)}.table .td{padding:4px 0}.table .key{width:240px}.key.deprecated .key-label{text-decoration:line-through}.table .key-type{white-space:normal;width:85px}.collapsed-descr .tr{max-height:calc(var(--font-size-small) + var(--font-size-small) + 4px)}.obj-toggle{padding:0 2px;border-radius:2px;border:1px solid transparent;display:inline-block;margin-left:-16px;color:var(--primary-color);cursor:pointer;font-size:calc(var(--font-size-small) + 4px);font-family:var(--font-mono);background-clip:border-box}.obj-toggle:hover{border-color:var(--primary-color)}.tr.expanded+.object-body{display:block}.tr.collapsed+.object-body{display:none}"]))),Te]}render(){var e,t;return z(Bl||(Bl=qp([' <div class="table ','"> <div class="toolbar"> <div style="flex:1"></div> <div class="toolbar-item" @click="','"> ',' </div> </div> <div style="padding:5px 0;color:var(--fg2)"> <span class="schema-root-type ','"> ','</span> <span class="m-markdown">','</span> </div> <div style="border:1px solid var(--light-border-color)"> <div style="display:flex;height:calc(var(--font-size-small) + 6px);background-color:var(--bg2);line-height:calc(var(--font-size-small) + 6px);padding:8px 2px;border-bottom:1px solid var(--light-border-color)"> <div class="td key" style="font-family:var(--font-regular);font-weight:700;color:var(--fg)"> Field</div> <div class="td key-type" style="font-family:var(--font-regular);font-weight:700;color:var(--fg)"> Type </div> <div class="td key-descr" style="font-family:var(--font-regular);font-weight:700;color:var(--fg)">Description</div> </div> '," </div> </div> "])),"true"===this.schemaDescriptionExpanded?"expanded-descr":"collapsed-descr",()=>{this.schemaDescriptionExpanded="true"===this.schemaDescriptionExpanded?"false":"true"},"true"===this.schemaDescriptionExpanded?"Single line description":"Multiline description",(null===(e=this.data)||void 0===e?void 0:e["::type"])||"",(null===(t=this.data)||void 0===t?void 0:t["::type"])||"",this.data?Za(ce()(this.data["::description"]||"")):"",this.data?z(Ll||(Ll=qp([" ",""])),this.generateTree("array"===this.data["::type"]?this.data["::props"]:this.data,this.data["::type"])):"")}generateTree(e,t="object",r="",n="",o=0){var a;const i=16*o;if(!e)return z(Nl||(Nl=qp(['<div class="null" style="display:inline">null</div>'])));if(0===Object.keys(e).length)return z(Ml||(Ml=qp(['<span class="td key object" style="padding-left:','px">',"</span>"])),i,r);let s="",c="",l=!1;if(r.startsWith("::ONE~OF")||r.startsWith("::ANY~OF"))s=r.replace("::","").replace("~"," "),l=!0;else if(r.startsWith("::OPTION")){const e=r.split("~");s=e[1],c=e[2]}else s=r;let u="";if("object"===e["::type"]?u="array"===t?"array":"object":"array"===e["::type"]&&(u="array"===t?"array of array":"array"),"object"==typeof e)return z(ql||(ql=qp([" ",' <div class="object-body"> '," <div> </div></div>"])),o>0?z(zl||(zl=qp([' <div class="tr '," ",'" data-obj="','"> <div class="td key ','" style="padding-left:','px"> '," "," ",' </div> <div class="td key-type">','</div> <div class="td key-descr m-markdown-small" style="line-height:1.7">',"</div> </div>"])),o<this.schemaExpandLevel?"expanded":"collapsed",e["::type"],s,e["::deprecated"]?"deprecated":"",i,s||c?z(Ul||(Ul=qp([' <span class="obj-toggle ','" data-obj="','" @click="','"> '," </span>"])),o<this.schemaExpandLevel?"expanded":"collapsed",s,e=>this.toggleObjectExpand(e,s),o<this.schemaExpandLevel?"-":"+"):"","xxx-of-option"===e["::type"]||"xxx-of-array"===e["::type"]||r.startsWith("::OPTION")?z($l||($l=qp(['<span class="xxx-of-key" style="margin-left:-6px">','</span><span class="','">',"</span>"])),s,l?"xxx-of-key":"xxx-of-descr",c):s.endsWith("*")?z(Hl||(Hl=qp(['<span class="key-label" style="display:inline-block;margin-left:-6px"> ','</span><span style="color:var(--red)">*</span>'])),s.substring(0,s.length-1)):z(Wl||(Wl=qp(['<span class="key-label" style="display:inline-block;margin-left:-6px">',"</span>"])),s),"xxx-of"===e["::type"]&&"array"===t?z(Vl||(Vl=qp(['<span style="color:var(--primary-color)">ARRAY</span>']))):"",(e["::type"]||"").includes("xxx-of")?"":u,Za(ce()(n||""))):z(Yl||(Yl=qp([" "," "])),"array"===e["::type"]&&"array"===t?z(Kl||(Kl=qp(['<div class="tr"> <div class="td"> '," </div> </div>"])),t):""),Array.isArray(e)&&e[0]?z(Gl||(Gl=qp(["",""])),this.generateTree(e[0],"xxx-of-option","::ARRAY~OF","",o)):z(Jl||(Jl=qp([" "," "])),Object.keys(e).map(t=>z(Ql||(Ql=qp([" "," "])),["::description","::type","::props","::deprecated"].includes(t)?"array"===e[t]["::type"]||"object"===e[t]["::type"]?z(Xl||(Xl=qp(["",""])),this.generateTree("array"===e[t]["::type"]?e[t]["::props"]:e[t],e[t]["::type"],t,e[t]["::description"],o+1)):"":z(Zl||(Zl=qp(["",""])),this.generateTree("array"===e[t]["::type"]?e[t]["::props"]:e[t],e[t]["::type"],t,e[t]["::description"],o+1))))));const p=e.split("~|~"),f=p[0].replace("{","").substring(0,4).toLowerCase();return z(eu||(eu=qp([' <div class="tr primitive"> <div class="td key ','" style="padding-left:','px"> ',' </div> <div class="td key-type ','"> ',' <span style="font-family:var(--font-mono)">',' </span> </div> <div class="td key-descr"> '," "," "," "," "," "," </div> </div> "])),p[8],i,null!==(a=s)&&void 0!==a&&a.endsWith("*")?z(tu||(tu=qp(['<span class="key-label">','</span><span style="color:var(--red)">*</span>'])),s.substring(0,s.length-1)):r.startsWith("::OPTION")?z(ru||(ru=qp(['<span class="xxx-of-key">','</span><span class="xxx-of-descr">',"</span>"])),s,c):z(nu||(nu=qp(["",""])),s?z(ou||(ou=qp(['<span class="key-label"> ',"</span>"])),s):z(au||(au=qp(['<span class="xxx-of-descr">',"</span>"])),p[7])),f,"array"===t?"[".concat(p[0],"]"):p[0],p[1],"array"===t?n:"",p[2]?z(iu||(iu=qp(['<div style="color:var(--fg2);padding-bottom:3px">',"</div>"])),p[2]):"",p[3]?z(su||(su=qp(['<div style="color:var(--fg2);padding-bottom:3px"><span class="bold-text">Default:</span> ',"</div>"])),p[3]):"",p[4]?z(cu||(cu=qp(['<div style="color:var(--fg2);padding-bottom:3px"><span class="bold-text">Allowed: </span> ',"</div>"])),p[4]):"",p[5]?z(lu||(lu=qp(['<div style="color:var(--fg2);padding-bottom:3px"><span class="bold-text">Pattern:</span> ',"</div>"])),p[5]):"",p[6]?z(uu||(uu=qp(['<span class="m-markdown-small">',"</span>"])),Za(ce()(p[6]))):"")}toggleObjectExpand(e){const t=e.target.closest(".tr");t.classList.contains("expanded")?(t.classList.add("collapsed"),t.classList.remove("expanded"),e.target.innerText="+"):(t.classList.remove("collapsed"),t.classList.add("expanded"),e.target.innerText="-")}});function Up(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function $p(e,t=""){var r,n;const o=new Set;for(const t in e.responses)for(const r in null===(a=e.responses[t])||void 0===a?void 0:a.content){var a;o.add(r.trim())}const i=[...o].join(", "),s=this.resolvedSpec.securitySchemes.filter(t=>{var r;return t.finalKeyValue&&(null===(r=e.security)||void 0===r?void 0:r.some(e=>t.apiKeyId in e))})||[],c=this.resolvedSpec.securitySchemes.find(e=>"_rapidoc_api_key"===e.apiKeyId&&"-"!==e.value);c&&s.push(c);const l=e.xCodeSamples?as.call(this,e.xCodeSamples):"";return z(Wu||(Wu=Up([" ",' <div class="expanded-endpoint-body observe-me '," ",'" id="',"-",'"> '," "," "," "," "," ",' <div class="expanded-req-resp-container"> <api-request class="request-panel" method="','" path="','" .parameters="','" .request_body="','" .api_keys="','" .servers="','" server-url="','" fill-request-fields-with-example="','" allow-try="','" accept="','" render-style="','" schema-style="','" active-schema-tab="','" schema-expand-level="','" schema-description-expanded="','"> </api-request> ',' <api-response class="response-panel" .responses="','" render-style="','" schema-style="','" active-schema-tab="','" schema-expand-level="','" schema-description-expanded="','" selected-status="','"> </api-response> </div> </div> '])),"read"===this.renderStyle?z(Vu||(Vu=Up(['<div class="divider"></div>']))):"",e.method,e.deprecated?"deprecated":"",e.method,e.path.replace(Ie,"-"),"focused"===this.renderStyle?z(Yu||(Yu=Up(['<h3 class="upper" style="font-weight:700"> '," </h3>"])),t):"",e.deprecated?z(Ku||(Ku=Up(['<div class="bold-text red-text"> DEPRECATED </div>']))):"",z(Gu||(Gu=Up([' <h2 class="','"> '," </h2> ",""])),e.deprecated?"gray-text":"",e.summary||z(Ju||(Ju=Up(['<span class="upper ','"> ',"</span> ",""])),e.deprecated?" method-fg gray-text":e.method,e.method,e.path),e.summary?z(Qu||(Qu=Up([' <div class="mono-font regular-font-size" style="padding:8px 0;color:var(--fg3)"> <span class="regular-font upper method-fg ','">','</span> <span class="','"> '," </span> </div>"])),e.deprecated?" gray-text":" bold-text ".concat(e.method),e.method,e.deprecated?"gray-text":"",e.path):""),e.description?z(Xu||(Xu=Up(['<div class="m-markdown"> ',"</div>"])),Za(ce()(e.description||""))):"",ns.call(this,e.security),l,e.method,e.path,e.parameters,e.requestBody,s,e.servers,(null===(r=e.servers)||void 0===r||null===(n=r[0])||void 0===n?void 0:n.url)||this.selectedServer.computedUrl,this.fillRequestFieldsWithExample,this.allowTry,i,this.renderStyle,this.schemaStyle,this.defaultSchemaTab,this.schemaExpandLevel,this.schemaDescriptionExpanded,e.callbacks?ss.call(this,e.callbacks):"",e.responses,this.renderStyle,this.schemaStyle,this.defaultSchemaTab,this.schemaExpandLevel,this.schemaDescriptionExpanded,Object.keys(e.responses||{})[0]||"")}function Hp(){return z(Zu||(Zu=Up([" "," "])),this.resolvedSpec.tags.map(e=>z(ep||(ep=Up([' <div id="tag--','" class="regular-font section-gap--read-mode observe-me" style="border-top:1px solid var(--primary-color)"> <div class="title tag">','</div> <div class="regular-font-size"> ',' </div> </div> <div class="regular-font section-gap--read-mode"> '," </div> "])),e.name.replace(Ie,"-"),e.name,Za("<div class='m-markdown regular-font'>".concat(ce()(e.description?e.description:""),"</div>")),e.paths.map(e=>$p.call(this,e,"BBB")))))}function Wp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Vp(e){return z(tp||(tp=Wp([' <h1 id="tag--','">',"</h1> "," "])),e.name.replace(Ie,"-"),e.name,e.description?z(rp||(rp=Wp(['<div class="m-markdown"> ',"</div>"])),Za(ce()(e.description||""))):"")}function Yp(){let e="",t={},r={},n=0;if(e=this.selectedContentId?this.selectedContentId:"overview","overview"===e||"authentication"===e||"api-servers"===e)t={},r={};else if(e.startsWith("tag--")){const t=e.replace("tag--","");r=this.resolvedSpec.tags.find(e=>e.name.replace(Ie,"-")===t)}else{for(n=0;n<this.resolvedSpec.tags.length&&(r=this.resolvedSpec.tags[n],t=this.resolvedSpec.tags[n].paths.find(t=>"".concat(t.method,"-").concat(t.path.replace(Ie,"-"))===e),!t);n+=1);var o;if(!t)r=this.resolvedSpec.tags[0],t=null===(o=this.resolvedSpec.tags[0])||void 0===o?void 0:o.paths[0]}return"overview"===e||"authentication"===e||"api-servers"===e?"":e.startsWith("tag--")?z(np||(np=Wp([' <div class="regular-font section-gap--focused-mode"> '," </div>"])),Vp.call(this,r)):z(op||(op=Wp([' <div class="regular-font section-gap--focused-mode"> '," </div> "])),$p.call(this,t,r.name))}function Kp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Gp(e){if(e.expanded)e.expanded=!1,window.history.replaceState(null,null,"".concat(window.location.href.split("#")[0]));else{e.expanded=!0;const t="#".concat(e.method,"-").concat(e.path.replace(Ie,"-"));window.location.hash!==t&&window.history.replaceState(null,null,"".concat(window.location.href.split("#")[0]).concat(t))}this.requestUpdate()}function Jp(e,t="expand-all"){const r=[...e.querySelectorAll(".section-tag")];"expand-all"===t?r.map(e=>{e.classList.replace("collapsed","expanded")}):r.map(e=>{e.classList.replace("expanded","collapsed")})}function Qp(e,t="expand-all"){Jp.call(this,e.target.closest(".operations-root"),t)}function Xp(e){return z(ap||(ap=Kp([' <div @click="','" class="endpoint-head '," "," ",'"> <div class="method '," ",'"> ',' </div> <div class="path ','"> '," </div> ",' <div class="only-large-screen" style="min-width:60px;flex:1"></div> <div class="m-markdown-small descr"> '," </div> </div> "])),t=>{Gp.call(this,e,t)},e.method,e.deprecated?"deprecated":"",e.expanded?"expanded":"collapsed",e.method,e.deprecated?"deprecated":"",e.method,e.deprecated?"deprecated":"",e.path,e.deprecated?z(ip||(ip=Kp([' <span style="font-size:var(--font-size-small);text-transform:uppercase;font-weight:700;color:var(--red);margin:2px 0 0 5px"> deprecated </span>']))):"",Za(ce()(e.summary||"")))}function Zp(e){const t=new Set;for(const n in e.responses)for(const o in null===(r=e.responses[n])||void 0===r?void 0:r.content){var r;t.add(o.trim())}const n=[...t].join(", "),o=this.resolvedSpec.securitySchemes.filter(t=>{var r;return t.finalKeyValue&&(null===(r=e.security)||void 0===r?void 0:r.some(e=>t.apiKeyId in e))})||[],a=this.resolvedSpec.securitySchemes.find(e=>"_rapidoc_api_key"===e.apiKeyId&&"-"!==e.value);a&&o.push(a);const i=e.xCodeSamples?as(e.xCodeSamples):"";return z(sp||(sp=Kp([' <div class="endpoint-body '," ",'"> <div class="summary"> '," "," "," ",' </div> <div class="req-resp-container"> <api-request class="request" method="','" , path="','" .parameters="','" .request_body="','" .api_keys="','" .servers="','" server-url="','" active-schema-tab="','" fill-request-fields-with-example="','" allow-try="','" accept="','" render-style="','" schema-style="','" schema-expand-level="','" schema-description-expanded="','"> ',' </api-request> <api-response class="response" .responses="','" active-schema-tab="','" render-style="','" schema-style="','" schema-expand-level="','" schema-description-expanded="','" selected-status="','"> </api-response> </div> </div>'])),e.method,e.deprecated?"deprecated":"",e.summary&&e.summary!==e.description?z(cp||(cp=Kp(['<div class="title">',"</div>"])),e.summary):"",e.description?z(lp||(lp=Kp(['<div class="m-markdown"> ',"</div>"])),Za(ce()(e.description))):"",ns.call(this,e.security),i,e.method,e.path,e.parameters,e.requestBody,o,e.servers,e.servers&&e.servers.length>0?e.servers[0].url:this.selectedServer.computedUrl,this.defaultSchemaTab,this.fillRequestFieldsWithExample,this.allowTry,n,this.renderStyle,this.schemaStyle,this.schemaExpandLevel,this.schemaDescriptionExpanded,e.callbacks?ss.call(this,e.callbacks):"",e.responses,this.defaultSchemaTab,this.renderStyle,this.schemaStyle,this.schemaExpandLevel,this.schemaDescriptionExpanded,Object.keys(e.responses||{})[0]||"")}function ef(){return z(up||(up=Kp([' <div style="display:flex;justify-content:flex-end"> <span @click="','" style="color:var(--primary-color);cursor:pointer"> Expand all </span> | <span @click="','" style="color:var(--primary-color);cursor:pointer"> Collapse all </span> sections </div> ',""])),e=>Qp(e,"expand-all"),e=>Qp(e,"collapse-all"),this.resolvedSpec.tags.map(e=>z(pp||(pp=Kp([' <div class="regular-font section-gap section-tag ','"> <div class="section-tag-header" @click="','"> <div id="','" class="sub-title tag" style="color:var(--primary-color)">','</div> </div> <div class="section-tag-body"> <div class="regular-font regular-font-size m-markdown" style="padding-bottom:12px"> '," </div> "," </div> </div> "])),e.expanded?"expanded":"collapsed",()=>{e.expanded=!e.expanded,this.requestUpdate()},e.name.replace(Ie,"-"),e.name,Za(ce()(e.description||"")),e.paths.filter(e=>!this.matchPaths||Re(this.matchPaths,e)).map(e=>z(fp||(fp=Kp([' <div id="',"-",'" class="m-endpoint regular-font '," ",'"> '," "," </div>"])),e.method,e.path.replace(Ie,"-"),e.method,e.expanded?"expanded":"collapsed",Xp.call(this,e),e.expanded?Zp.call(this,e):"")))))}function tf(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function rf(e,t){e&&e.target.checked&&(this.selectedServer=t,this.requestUpdate())}function nf(e,t){const r=[...e.currentTarget.closest("table").querySelectorAll("input, select")];let n=t.url;r.forEach(e=>{const t=new RegExp("{".concat(e.dataset.var,"}"),"g");n=n.replace(t,e.value)}),t.computedUrl=n,this.requestUpdate()}function of(){return this.selectedServer&&this.selectedServer.variables?z(dp||(dp=tf([' <div class="table-title"> SERVER VARIABLES</div> <table class="m-table"> '," </table> "])),Object.entries(this.selectedServer.variables).map(e=>z(hp||(hp=tf([' <tr> <td style="vertical-align:middle">',"</td> <td> "," </td> </tr> "," "])),e[0],e[1].enum?z(vp||(vp=tf([' <select data-var="','" @input="','"> '," </select>"])),e[0],e=>{nf.call(this,e,this.selectedServer)},Object.entries(e[1].enum).map(t=>e[1].default===t[1]?z(mp||(mp=tf([' <option selected="selected" label="','" value="','">'])),t[1],t[1]):z(gp||(gp=tf([' <option label="','" value="','">'])),t[1],t[1]))):z(yp||(yp=tf([' <input type="text" spellcheck="false" data-var="','" value="','" @input="','">'])),e[0],e[1].default,e=>{nf.call(this,e,this.selectedServer)}),e[1].description?z(bp||(bp=tf(['<tr><td colspan="2" style="border:none"><span class="m-markdown-small"> '," </span></td></tr>"])),Za(ce()(e[1].description))):""))):""}function af(){return z(xp||(xp=tf([' <div id="api-servers" style="margin-top:24px;margin-bottom:24px" class="regular-font observe-me ','"> <div class="sub-title"> API SERVER: </div> <div class="mono-font" style="margin:12px 0;font-size:calc(var(--font-size-small) + 1px)"> ',' <div class="table-title primary-text"> SELECTED: ',"</div> </div> "," </div>"])),"read focused".includes(this.renderStyle)?"section-gap--read-mode":"section-gap",this.resolvedSpec.servers&&0!==this.resolvedSpec.servers.length?z(wp||(wp=tf([" "," "])),this.resolvedSpec.servers.map((e,t)=>z(kp||(kp=tf([' <input type="radio" name="api_server" id="srvr-opt-','" value="','" @change="','" .checked="','" style="margin:4px 0;cursor:pointer"> <label style="cursor:pointer" for="srvr-opt-','"> '," "," </label> <br> "])),t,e.url,t=>{rf.call(this,t,e)},this.selectedServer.url===e.url,t,e.url,e.description?z(Sp||(Sp=tf(['- <span class="regular-font">'," </span>"])),e.description):""))):"",this.selectedServer.computedUrl,of.call(this))}function sf(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function cf(e){return z(Ap||(Ap=sf([' <div class="divider"></div> <div class="expanded-endpoint-body observe-me ','" id="cmp-','"> '," </div> "])),e.name,e.id,z(Op||(Op=sf([" <h1> "," </h1> "," "])),e.name,e.component?z(Ep||(Ep=sf([' <div class="mono-font regular-font-size" style="padding:8px 0;color:var(--fg2)"> <json-tree class="border tree" render-style="','" .data="','"></json-tree> </div>'])),this.renderStyle,e.component):""))}function lf(){return z(Dp||(Dp=sf([" "," "])),this.resolvedSpec.components.map(e=>z(Cp||(Cp=sf([' <div id="cmp-','" class="regular-font section-gap--read-mode observe-me" style="border-top:1px solid var(--primary-color)"> <div class="title tag">','</div> <div class="regular-font-size"> ',' </div> </div> <div class="regular-font section-gap--read-mode"> '," </div> "])),e.name.toLowerCase(),e.name,Za("<div class='m-markdown regular-font'>".concat(ce()(e.description?e.description:""),"</div>")),e.subComponents.map(e=>cf.call(this,e)))))}function uf(e){return z(jp||(jp=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([' <div style="','"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="1 0 511 512"> <path d="M351 411a202 202 0 01-350 0 203 203 0 01333-24 203 203 0 0117 24zm0 0" fill="#adc165"/> <path d="M334 387a202 202 0 01-216-69 202 202 0 01216 69zm78 32H85a8 8 0 01-8-8 8 8 0 018-8h327a8 8 0 017 8 8 8 0 01-7 8zm0 0" fill="#99aa52"/> <path d="M374 338l-5 30a202 202 0 01-248-248 203 203 0 01253 218zm0 0" fill="#ffc73b"/> <path d="M374 338a202 202 0 01-100-197 203 203 0 01100 197zm38 81l-6-2-231-231a8 8 0 0111-11l231 230a8 8 0 01-5 14zm0 0" fill="#efb025"/> <path d="M311 175c0 75 40 140 101 175a202 202 0 000-350 202 202 0 00-101 175zm0 0" fill="#ff903e"/> <path d="M412 419a8 8 0 01-8-8V85a8 8 0 0115 0v326a8 8 0 01-7 8zm0 0" fill="#e87425"/> </svg> </div> '])),e)}function pf(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function ff(){return z(_p||(_p=pf([' <header class="row header regular-font" style="padding:8px 4px 8px 4px;min-height:48px"> <div class="only-large-screen-flex" style="align-items:center"> <slot name="logo" class="logo"> ',' </slot> <div class="header-title">','</div> </div> <div style="margin:0 8px;display:flex;flex:1"> '," ",' <slot name="header"></slot> '," "," </div> </header>"])),uf("height:36px;width:36px;margin-left:5px"),this.headingText,"false"===this.allowSpecUrlLoad?"":z(Tp||(Tp=pf([' <input id="spec-url" type="text" style="font-size:var(--font-size-small)" class="header-input mono-font" placeholder="Spec URL" value="','" @change="','" spellcheck="false"> <div style="margin:6px 5px 0 -24px;font-size:var(--title-font-size);cursor:pointer">↩</div> '])),this.specUrl||"",this.onSepcUrlChange),"false"===this.allowSpecFileLoad?"":z(Ip||(Ip=pf([' <input id="spec-file" type="file" style="display:none" value="','" @change="','" spellcheck="false"> <button class="m-btn primary only-large-screen" style="margin-left:10px" @click="','"> LOCAL JSON FILE </button> '])),this.specFile||"",this.onSepcFileChange,this.onFileLoadClick),"false"===this.allowSearch||"read focused".includes(this.renderStyle)?"":z(Fp||(Fp=pf([' <input id="search" class="header-input" type="text" placeholder="Quick Search" @change="','" style="max-width:130px;margin-left:10px" spellcheck="false"> <div style="margin:6px 5px 0 -24px;font-size:var(--title-font-size);cursor:pointer">↩</div> '])),this.onSearchChange),"false"===this.allowSearch||"false"===this.allowAdvancedSearch||"read focused".includes(this.renderStyle)?"":z(Pp||(Pp=pf([' <button class="m-btn primary only-large-screen" style="margin-left:10px" @click="','"> Advanced Search </button> '])),this.onShowSearchModalClicked))}customElements.define("api-response",class extends ae{constructor(){super(),this.selectedStatus="",this.headersForEachRespStatus={},this.mimeResponsesForEachStatus={},this.activeSchemaTab="model"}static get properties(){return{callback:{type:String},responses:{type:Object},parser:{type:Object},schemaStyle:{type:String,attribute:"schema-style"},renderStyle:{type:String,attribute:"render-style"},selectedStatus:{type:String,attribute:"selected-status"},selectedMimeType:{type:String,attribute:"selected-mime-type"},activeSchemaTab:{type:String,attribute:"active-schema-tab"},schemaExpandLevel:{type:Number,attribute:"schema-expand-level"},schemaDescriptionExpanded:{type:String,attribute:"schema-description-expanded"}}}static get styles(){return[he,ye,Ee,xe,me,ys,ne(pu||(pu=zp([".resp-head{vertical-align:middle;padding:16px 0 8px}.resp-head.divider{border-top:1px solid var(--border-color);margin-top:10px}.resp-status{font-weight:700;font-size:calc(var(--font-size-small) + 1px)}.resp-descr{font-size:calc(var(--font-size-small) + 1px);color:var(--light-fg)}.top-gap{margin-top:16px}.example-panel{font-size:var(--font-size-small);margin:0}.focused-mode,.read-mode{padding-top:24px;margin-top:12px;border-top:1px dashed var(--border-color)}"]))),Te]}render(){return z(fu||(fu=zp([' <div class="col regular-font response-panel ','-mode"> <div class="','"> '," </div> <div> "," <div> </div> </div></div>"])),this.renderStyle,"true"===this.callback?"tiny-title":"req-res-title","true"===this.callback?"CALLBACK RESPONSE":"RESPONSE",this.responseTemplate())}resetSelection(){this.selectedStatus="",this.selectedMimeType=""}responseTemplate(){if(!this.responses)return"";for(const r in this.responses){this.selectedStatus||(this.selectedStatus=r);const n={};for(const t in null===(e=this.responses[r])||void 0===e?void 0:e.content){var e;const o=this.responses[r].content[t];this.selectedMimeType||(this.selectedMimeType=t);const a=Es(o.schema,{}),i=Ds(o.examples||"",o.example||"",o.schema,t,!0,t.includes("json")?"json":"text");n[t]={description:this.responses[r].description,examples:i,selectedExample:i[0]?i[0].exampleId:"",schemaTree:a}}const o=[];for(const e in null===(t=this.responses[r])||void 0===t?void 0:t.headers){var t;o.push({name:e,...this.responses[r].headers[e]})}this.headersForEachRespStatus[r]=o,this.mimeResponsesForEachStatus[r]=n}return z(du||(du=zp([" "," "," "])),Object.keys(this.responses).length>1?z(hu||(hu=zp(['<div class="row" style="flex-wrap:wrap"> ',"</div>"])),Object.keys(this.responses).map(e=>z(vu||(vu=zp([" ",""])),"$$ref"===e?"":z(mu||(mu=zp([' <button @click="','" class="m-btn small ','" style="margin:8px 4px 0 0"> '," </button>"])),()=>{this.selectedStatus=e,this.responses[e].content&&Object.keys(this.responses[e].content)[0]?this.selectedMimeType=Object.keys(this.responses[e].content)[0]:this.selectedMimeType=void 0},this.selectedStatus===e?"primary":"",e)))):z(gu||(gu=zp(["<span>","</span>"])),Object.keys(this.responses)[0]),Object.keys(this.responses).map(e=>{var t,r;return z(yu||(yu=zp([' <div style="display:','"> <div class="top-gap"> <span class="resp-descr m-markdown">',"</span> "," </div> ","</div>"])),e===this.selectedStatus?"block":"none",Za(ce()((null===(t=this.responses[e])||void 0===t?void 0:t.description)||"")),this.headersForEachRespStatus[e]&&(null===(r=this.headersForEachRespStatus[e])||void 0===r?void 0:r.length)>0?z(bu||(bu=zp(["",""])),this.responseHeaderListTemplate(this.headersForEachRespStatus[e])):"",0===Object.keys(this.mimeResponsesForEachStatus[e]).length?"":z(xu||(xu=zp([' <div class="tab-panel col"> <div class="tab-buttons row" @click="','"> <button class="tab-btn ','" data-tab="model">MODEL</button> <button class="tab-btn ','" data-tab="example">EXAMPLE </button> <div style="flex:1"></div> '," </div> "," </div> "])),e=>{"button"===e.target.tagName.toLowerCase()&&(this.activeSchemaTab=e.target.dataset.tab)},"model"===this.activeSchemaTab?"active":"","example"===this.activeSchemaTab?"active":"",1===Object.keys(this.mimeResponsesForEachStatus[e]).length?z(wu||(wu=zp(['<span class="small-font-size gray-text" style="align-self:center;margin-top:8px"> '," </span>"])),Object.keys(this.mimeResponsesForEachStatus[e])[0]):z(ku||(ku=zp(["",""])),this.mimeTypeDropdownTemplate(Object.keys(this.mimeResponsesForEachStatus[e]))),"example"===this.activeSchemaTab?z(Su||(Su=zp(['<div class="tab-content col" style="flex:1"> '," </div>"])),this.mimeExampleTemplate(this.mimeResponsesForEachStatus[e][this.selectedMimeType])):z(Au||(Au=zp(['<div class="tab-content col" style="flex:1"> '," </div>"])),this.mimeSchemaTemplate(this.mimeResponsesForEachStatus[e][this.selectedMimeType]))))}))}responseHeaderListTemplate(e){return z(Ou||(Ou=zp([' <div style="padding:16px 0 8px 0" class="resp-headers small-font-size upper bold-text">Response Headers:</div> <table style="padding-bottom:16px" class="small-font-size mono-font"> '," </table>"])),e.map(e=>z(Eu||(Eu=zp([' <tr> <td style="vertical-align:top"> ','</td> <td style="vertical-align:top;padding:0 5px"> ',' </td> <td style="vertical-align:top"> <div class="m-markdown regular-font" style="margin-top:-7px">','</div> </td> <td style="vertical-align:top"> '," </td> </tr> "])),e.name,e.schema.type?e.schema.type:"",Za(ce()(e.description||"")),e.schema.example?e.schema.example:"")))}mimeTypeDropdownTemplate(e){return z(Du||(Du=zp([' <select @change="','" style="margin-bottom:-1px;z-index:1"> '," </select>"])),e=>{this.selectedMimeType=e.target.value},e.map(e=>z(Cu||(Cu=zp(['<option value="','" ?selected="','"> '," </option>"])),e,e===this.selectedMimeType,e)))}onSelectExample(e){[...e.target.closest(".example-panel").querySelectorAll(".example")].forEach(t=>{t.style.display=t.dataset.example===e.target.value?"block":"none"})}mimeExampleTemplate(e){return e?z(_u||(_u=zp([" "," "])),1===e.examples.length?z(Tu||(Tu=zp([" ",""])),"json"===e.examples[0].exampleFormat?z(Iu||(Iu=zp([' <json-tree render-style="','" .data="','" class="example-panel ','"></json-tree>'])),this.renderStyle,e.examples[0].exampleValue,"read"===this.renderStyle?"border pad-8-16":"border-top pad-top-8"):z(Fu||(Fu=zp([' <pre class="example-panel ','">',"</pre> "])),"read"===this.renderStyle?"border pad-8-16":"border-top pad-top-8",e.examples[0].exampleValue)):z(Pu||(Pu=zp([' <span class="example-panel ','"> <select style="min-width:100px;max-width:100%" @change="','"> '," </select> "," </span> "])),"read"===this.renderStyle?"border pad-8-16":"border-top pad-top-8",e=>this.onSelectExample(e),e.examples.map(t=>z(Ru||(Ru=zp(['<option value="','" ?selected="','"> '," </option>"])),t.exampleId,t.exampleId===e.selectedExample,t.exampleSummary.length>80?t.exampleId:t.exampleSummary)),e.examples.map(t=>z(Bu||(Bu=zp([' <div class="example" data-example="','" style="display:','"> '," "," "," </div> "])),t.exampleId,t.exampleId===e.selectedExample?"block":"none",t.exampleSummary&&t.exampleSummary.length>80?z(Lu||(Lu=zp(['<div style="padding:4px 0"> '," </div>"])),t.exampleSummary):"",t.exampleDescription?z(Nu||(Nu=zp(['<div class="m-markdown-small" style="padding:4px 0"> '," </div>"])),Za(ce()(t.exampleDescription||""))):"","json"===t.exampleFormat?z(Mu||(Mu=zp([' <json-tree render-style="','" .data="','"></json-tree>'])),this.renderStyle,t.exampleValue):z(qu||(qu=zp(["<pre>","</pre>"])),t.exampleValue))))):z(ju||(ju=zp([' <pre style="color:var(--red)" class="','"> No example provided </pre> '])),"read"===this.renderStyle?"read example-panel border pad-8-16":"example-panel border-top")}mimeSchemaTemplate(e){return e?z(Uu||(Uu=zp([" ",""])),"table"===this.schemaStyle?z($u||($u=zp([' <schema-table class="','" render-style="','" .data="','" schema-expand-level="','" schema-description-expanded="','"> </schema-table>'])),"read"===this.renderStyle?"border pad-8-16":"border-top",this.renderStyle,e.schemaTree,this.schemaExpandLevel,this.schemaDescriptionExpanded):z(Hu||(Hu=zp([' <schema-tree class="','" render-style="','" .data="','" schema-expand-level="','" schema-description-expanded="','"> </schema-tree>'])),"read"===this.renderStyle?"border pad-8-16":"border-top",this.renderStyle,e.schemaTree,this.schemaExpandLevel,this.schemaDescriptionExpanded)):z(zu||(zu=zp([' <pre style="color:var(--red)" class="','"> Schema not found</pre> '])),"read"===this.renderStyle?"border pad-8-16":"border-top")}});var df,hf,vf,mf,gf=ne(Rp||(Rp=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([".dialog-box-overlay{background-color:var(--overlay-bg);position:fixed;left:0;top:0;width:100vw;height:100vh;overflow:hidden;z-index:var(--dialog-z-index)}.dialog-box{position:fixed;top:100px;left:50%;transform:translate(-50%,0);display:flex;flex-direction:column;width:70vw;background-color:var(--bg2);color:var(--fg2);border-radius:4px;max-height:500px;overflow:hidden;border:1px solid var(--border-color);box-shadow:0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.dialog-box-header{position:sticky;top:0;align-self:stretch;display:flex;align-items:center;padding:20px 16px;box-sizing:border-box;min-height:60px;max-height:60px;border-bottom:1px solid var(--light-border-color);overflow:hidden}.dialog-box-header button{font-size:1.5rem;font-weight:700;line-height:1;color:var(--fg);border:none;outline:0;background-color:transparent;cursor:pointer;border:1px solid transparent;border-radius:50%;margin-right:-8px}.dialog-box-header button:hover{border-color:var(--primary-color)}.dialog-box-content{padding:16px;display:block;overflow:auto;height:100%}.dialog-box-title{flex-grow:1;font-size:24px}"])));function yf(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function bf(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function xf(){var e;return document.addEventListener("close",()=>{this.showAdvancedSearchDialog=!1}),document.addEventListener("open",this.onOpenSearchDialog),z(vf||(vf=bf([' <dialog-box heading="Advanced Search" show="','"> <span class="advanced-search-options"> <input style="width:100%;padding-right:20px" type="text" placeholder="search text..." spellcheck="false" @keyup="','"> <div style="display:flex;margin:8px 0 24px"> <div> <input style="cursor:pointer" type="checkbox" id="search-api-path" checked="checked" @change="','"> <label for="search-api-path" style="cursor:pointer"> API Path </label> </div> <div style="margin-left:16px"> <input style="cursor:pointer" type="checkbox" id="search-api-descr" checked="checked" @change="','"> <label style="cursor:pointer" for="search-api-descr"> API Description </label> </div> <div style="margin-left:16px"> <input style="cursor:pointer" type="checkbox" id="search-api-params" @change="','"> <label style="cursor:pointer" for="search-api-params"> API Parameters </label> </div> <div style="margin-left:16px"> <input style="cursor:pointer" type="checkbox" id="search-api-request-body" @change="','"> <label style="cursor:pointer" for="search-api-request-body"> Request Body Parameters </label> </div> <div style="margin-left:16px"> <input style="cursor:pointer" type="checkbox" id="search-api-resp-descr" @change="','"> <label style="cursor:pointer" for="search-api-resp-descr"> Response Description </label> </div> </div> </span> '," </dialog-box> "])),!!this.showAdvancedSearchDialog,e=>this.onAdvancedSearch(e,400),e=>this.onAdvancedSearch(e,0),e=>this.onAdvancedSearch(e,0),e=>this.onAdvancedSearch(e,0),e=>this.onAdvancedSearch(e,0),e=>this.onAdvancedSearch(e,0),null===(e=this.advancedSearchMatches)||void 0===e?void 0:e.map(e=>z(mf||(mf=bf([' <div class="mono-font small-font-size hover-bg" style="padding:5px;cursor:pointer;border-bottom:1px solid var(--light-border-color);','" data-content-id="',"-",'" tabindex="0" @click="','"> <span class="upper bold-text method-fg ','">',"</span> <span>",'</span> <span class="regular-font gray-text">',"</span> </div> "])),e.deprecated?"filter:opacity(0.5);":"",e.method,e.path,()=>{this.matchPaths="",this.showAdvancedSearchDialog=!1,this.requestUpdate(),this.scrollTo("".concat(e.method,"-").concat(e.path.replace(Ie,"-")))},e.method,e.method,e.path,e.summary)))}customElements.define("dialog-box",class extends ae{static get properties(){return{heading:{type:String,attribute:"heading"},show:{type:String,attribute:"show"}}}static get styles(){return[gf]}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",e=>{"Escape"===e.code&&this.onClose()})}attributeChangedCallback(e,t,r){t!==r&&("heading"===e&&(this.heading=r),"show"===e&&(this.show=r,"true"===r&&document.dispatchEvent(new CustomEvent("open",{bubbles:!0,composed:!0,detail:this}))))}render(){return z(df||(df=yf([" ",""])),"true"===this.show?z(hf||(hf=yf([' <div class="dialog-box-overlay"> <div class="dialog-box"> <header class="dialog-box-header"> <span class="dialog-box-title">','</span> <button type="button" @click="','">×</button> </header> <div class="dialog-box-content"> <slot></slot> </div> </div> </div>'])),this.heading,this.onClose):"")}onClose(){document.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}});var wf,kf,Sf,Af,Of,Ef,Df,Cf,jf,_f,Tf,If,Ff,Pf,Rf={color:{inputReverseFg:"#fff",inputReverseBg:"#333",headerBg:"#444",getRgb(e){if(0===e.indexOf("#")&&(e=e.slice(1,7)),3!==e.length&&4!==e.length||(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),6!==e.length)throw new Error("Invalid HEX color.");return{r:parseInt(e.slice(0,2),16),g:parseInt(e.slice(2,4),16),b:parseInt(e.slice(4,6),16)}},luminanace(e){const t=this.getRgb(e);return.299*t.r+.587*t.g+.114*t.b},invert(e){return this.luminanace(e)>135?"#000":"#fff"},opacity(e,t){const r=this.getRgb(e);return"rgba(".concat(r.r,", ").concat(r.g,", ").concat(r.b,", ").concat(t,")")},brightness(e,t){const r=this.getRgb(e);return r.r+=t,r.g+=t,r.b+=t,r.r>255?r.r=255:r.r<0&&(r.r=0),r.g>255?r.g=255:r.g<0&&(r.g=0),r.b>255?r.b=255:r.b<0&&(r.b=0),"#".concat(r.r.toString(16).padStart(2,"0")).concat(r.g.toString(16).padStart(2,"0")).concat(r.b.toString(16).padStart(2,"0"))},hasGoodContrast(e,t){return this.luminanace(e)-this.luminanace(t)}}};function Bf(e){return/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3}|[A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/i.test(e)}function Lf(e,t={}){let r={};const n=t.primaryColor?t.primaryColor:"#ff591e",o=Rf.color.invert(n),a=Rf.color.opacity(n,"0.8");if("dark"===e){const e=t.bg1?t.bg1:"#333",i=t.fg1?t.fg1:"#bbb",s=t.bg2?t.bg2:Rf.color.brightness(e,5),c=t.bg3?t.bg3:Rf.color.brightness(e,17),l=t.bg3?t.bg3:Rf.color.brightness(e,35),u=t.fg2?t.fg2:Rf.color.brightness(i,-15),p=t.fg3?t.fg3:Rf.color.brightness(i,-20),f=t.fg3?t.fg3:Rf.color.brightness(i,-65),d=t.inlineCodeFg?t.inlineCodeFg:"#cdcdcd",h="#bbb",v="#eee",m=t.headerColor?t.headerColor:Rf.color.brightness(e,10),g=t.navBgColor?t.navBgColor:Rf.color.brightness(e,10);r={bg1:e,bg2:s,bg3:c,lightBg:l,fg1:i,fg2:u,fg3:p,lightFg:f,inlineCodeFg:d,primaryColor:n,primaryColorTrans:a,primaryColorInvert:o,selectionBg:h,selectionFg:v,overlayBg:"rgba(80, 80, 80, 0.4)",navBgColor:g,navBgImage:t.navBgImage||"",navBgImageSize:t.navBgImageSize,navBgImageRepeat:t.navBgImageRepeat,navTextColor:t.navTextColor?t.navTextColor:Rf.color.opacity(Rf.color.invert(g),"0.65"),navHoverBgColor:t.navHoverBgColor?t.navHoverBgColor:Rf.color.brightness(g,-15),navHoverTextColor:t.navHoverTextColor?t.navHoverTextColor:Rf.color.invert(g),navAccentColor:t.navAccentColor?t.navAccentColor:Rf.color.brightness(n,25),headerColor:m,headerColorInvert:Rf.color.invert(m),headerColorDarker:Rf.color.brightness(m,-20),headerColorBorder:Rf.color.brightness(m,10),borderColor:t.borderColor?t.borderColor:Rf.color.brightness(e,20),lightBorderColor:t.lightBorderColor?t.lightBorderColor:Rf.color.brightness(e,15),codeBorderColor:t.codeBorderColor?t.codeBorderColor:Rf.color.brightness(e,30),codeBg:t.codeBg?t.codeBg:Rf.color.brightness(e,-10),codeFg:t.codeFg?t.codeFg:"#999",inputBg:t.inputBg?t.inputBg:Rf.color.brightness(e,-5),placeHolder:t.placeHolder?t.placeHolder:Rf.color.opacity(i,"0.3"),hoverColor:t.hoverColor?t.hoverColor:Rf.color.brightness(e,-10),red:t.red?t.red:"#F06560",lightRed:t.lightRed?t.lightRed:Rf.color.brightness(e,-10),green:t.green?t.green:"#99CC00",lightGreen:t.lightGreen?t.lightGreen:Rf.color.brightness(e,-10),blue:t.blue?t.blue:"#47AFE8",lightBlue:t.lightBlue?t.lightBlue:Rf.color.brightness(e,-10),orange:t.orange?t.orange:"#FF9900",lightOrange:t.lightOrange?t.lightOrange:Rf.color.brightness(e,-10),yellow:t.yellow?t.yellow:"#827717",lightYellow:t.lightYellow?t.lightYellow:Rf.color.brightness(e,-10),purple:t.purple?t.purple:"#786FF1",brown:t.brown?t.brown:"#D4AC0D"}}else{const e=t.bg1?t.bg1:"#ffffff",i=t.fg1?t.fg1:"#444444",s=t.bg2?t.bg2:Rf.color.brightness(e,-5),c=t.bg3?t.bg3:Rf.color.brightness(e,-15),l=t.bg3?t.bg3:Rf.color.brightness(e,-45),u=t.fg2?t.fg2:Rf.color.brightness(i,17),p=t.fg3?t.fg3:Rf.color.brightness(i,30),f=t.fg3?t.fg3:Rf.color.brightness(i,70),d=t.inlineCodeFg?t.inlineCodeFg:"brown",h="#444",v="#eee",m=t.headerColor?t.headerColor:Rf.color.brightness(e,-180),g=t.navBgColor?t.navBgColor:Rf.color.brightness(e,-180);r={bg1:e,bg2:s,bg3:c,lightBg:l,fg1:i,fg2:u,fg3:p,lightFg:f,inlineCodeFg:d,primaryColor:n,primaryColorTrans:a,primaryColorInvert:o,selectionBg:h,selectionFg:v,overlayBg:"rgba(0, 0, 0, 0.4)",navBgColor:g,navBgImage:t.navBgImage||"",navBgImageSize:t.navBgImageSize||"",navBgImageRepeat:t.navBgImageRepeat,navTextColor:t.navTextColor?t.navTextColor:Rf.color.opacity(Rf.color.invert(g),"0.65"),navHoverBgColor:t.navHoverBgColor?t.navHoverBgColor:Rf.color.brightness(g,-15),navHoverTextColor:t.navHoverTextColor?t.navHoverTextColor:Rf.color.invert(g),navAccentColor:t.navAccentColor?t.navAccentColor:Rf.color.brightness(n,25),headerColor:m,headerColorInvert:Rf.color.invert(m),headerColorDarker:Rf.color.brightness(m,-20),headerColorBorder:Rf.color.brightness(m,10),borderColor:t.borderColor?t.borderColor:Rf.color.brightness(e,-38),lightBorderColor:t.lightBorderColor?t.lightBorderColor:Rf.color.brightness(e,-23),codeBorderColor:t.codeBorderColor?t.codeBorderColor:"#transparent",codeBg:t.codeBg?t.codeBg:"#555",codeFg:t.codeFg?t.codeFg:"#ccc",inputBg:t.inputBg?t.inputBg:Rf.color.brightness(e,10),placeHolder:t.placeHolder?t.placeHolder:Rf.color.brightness(f,20),hoverColor:t.hoverColor?t.hoverColor:Rf.color.brightness(e,-5),red:t.red?t.red:"#F06560",lightRed:t.lightRed?t.lightRed:"#fff0f0",green:t.green?t.green:"#48AD1A",lightGreen:t.lightGreen?t.lightGreen:"#fbfff0",blue:t.blue?t.blue:"#47AFE8",lightBlue:t.lightBlue?t.lightBlue:"#eff8fd",orange:t.orange?t.orange:"#FF9900",lightOrange:t.lightOrange?t.lightOrange:"#fff5e6",yellow:t.yellow?t.yellow:"#827717",lightYellow:t.lightYellow?t.lightYellow:"#fff5cc",purple:t.purple?t.purple:"#786FF1",brown:t.brown?t.brown:"#D4AC0D"}}return z(wf||(wf=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["<style>:host{--layout:",";--font-mono:",";--font-regular:",";--nav-item-padding:",";--resp-area-height:",";--font-size-small:",";--font-size-mono:",";--font-size-regular:",";--dialog-z-index:1000;--bg:",";--bg2:",";--bg3:",";--light-bg:",";--fg:",";--fg2:",";--fg3:",";--light-fg:",";--selection-bg:",";--selection-fg:",";--overlay-bg:",";--border-color:",";--light-border-color:",";--code-border-color:",";--code-bg:",";--code-fg:",";--inline-code-fg:",";--input-bg:",";--placeholder-color:",";--hover-color:",";--red:",";--light-red:",";--green:",";--light-green:",";--blue:",";--light-blue:",";--orange:",";--light-orange:",";--yellow:",";--light-yellow:",";--purple:",";--brown:",";--header-bg:",";--header-fg:",";--header-color-darker:",";--header-color-border:",";--nav-bg-color:",";--nav-bg-image:url(",");--nav-bg-image-size:",";--nav-bg-image-repeat:",";--nav-text-color:",";--nav-hover-bg-color:",";--nav-hover-text-color:",";--nav-accent-color:",";--primary-color:",";--primary-color-invert:",";--primary-color-trans:","}</style>"])),this.layout||"row",this.monoFont||'Monaco, "Andale Mono", "Roboto Mono", Consolas, monospace',this.regularFont||'rapidoc, "Open Sans", BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif',"relaxed"===this.navItemSpacing?"10px":"compact"===this.navItemSpacing?"5px 10px":"7px 10px",this.responseAreaHeight,"default"===this.fontSize?"12px":"large"===this.fontSize?"13px":"14px","default"===this.fontSize?"13px":"large"===this.fontSize?"14px":"15px","default"===this.fontSize?"14px":"large"===this.fontSize?"15px":"16px",r.bg1,r.bg2,r.bg3,r.lightBg,r.fg1,r.fg2,r.fg3,r.lightFg,r.selectionBg,r.selectionFg,r.overlayBg,r.borderColor,r.lightBorderColor,r.codeBorderColor,r.codeBg,r.codeFg,r.inlineCodeFg,r.inputBg,r.placeHolder,r.hoverColor,r.red,r.lightRed,r.green,r.lightGreen,r.blue,r.lightBlue,r.orange,r.lightOrange,r.yellow,r.lightYellow,r.purple,r.brown,r.headerColor,r.headerColorInvert,r.headerColorDarker,r.headerColorBorder,r.navBgColor,r.navBgImage,r.navBgImageSize||"contain",r.navBgImageRepeat||"no-repeat",r.navTextColor,r.navHoverBgColor,r.navHoverTextColor,r.navAccentColor,r.primaryColor,r.primaryColorInvert,r.primaryColorTrans)}function Nf(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Mf(){const e=new ce.a.Renderer;return e.heading=(e,t,r,n)=>"<h".concat(t,' class="observe-me" id="overview--').concat(n.slug(r),'">').concat(e,"</h").concat(t,">"),e}function qf(){var e,t;return z(kf||(kf=Nf([' <div id="overview" class="observe-me ','"> <div id="api-title" style="font-size:32px"> '," ",' </div> <div id="api-info" style="font-size:calc(var(--font-size-regular) - 1px);margin-top:8px"> '," "," "," ",' </div> <div id="api-description"> '," </div> </div> "])),"read"===this.renderStyle||"focused"===this.renderStyle?"section-gap--read-mode":"section-gap",this.resolvedSpec.info.title,this.resolvedSpec.info.version?z(Sf||(Sf=Nf([' <span style="font-size:var(--font-size-small);font-weight:700"> '," </span>"])),this.resolvedSpec.info.version):"",null!==(e=this.resolvedSpec.info.contact)&&void 0!==e&&e.email?z(Af||(Af=Nf(["<span>",': <a href="mailto:','">',"</a> </span>"])),this.resolvedSpec.info.contact.name||"Email",this.resolvedSpec.info.contact.email,this.resolvedSpec.info.contact.email):"",null!==(t=this.resolvedSpec.info.contact)&&void 0!==t&&t.url?z(Of||(Of=Nf(['<span>URL: <a href="','">',"</a></span>"])),this.resolvedSpec.info.contact.url,this.resolvedSpec.info.contact.url):"",this.resolvedSpec.info.license?z(Ef||(Ef=Nf(["<span>License: ","</span>"])),this.resolvedSpec.info.license.url?z(Df||(Df=Nf(['<a href="','">',"</a>"])),this.resolvedSpec.info.license.url,this.resolvedSpec.info.license.name):this.resolvedSpec.info.license.name):"",this.resolvedSpec.info.termsOfService?z(Cf||(Cf=Nf(['<span><a href="','">Terms of Service</a></span>'])),this.resolvedSpec.info.termsOfService):"",this.resolvedSpec.info.description?z(jf||(jf=Nf(["",""])),Za('<div class="m-markdown regular-font">'.concat(ce()(this.resolvedSpec.info.description,{renderer:Mf()}),"</div>"))):"")}function zf(){const e={bg1:Bf(this.bgColor)?this.bgColor:"",fg1:Bf(this.textColor)?this.textColor:"",headerColor:Bf(this.headerColor)?this.headerColor:"",primaryColor:Bf(this.primaryColor)?this.primaryColor:"",navBgColor:Bf(this.navBgColor)?this.navBgColor:"",navBgImage:this.navBgImage||"",navBgImageSize:this.navBgImageSize,navBgImageRepeat:this.navBgImageRepeat,navTextColor:Bf(this.navTextColor)?this.navTextColor:"",navHoverBgColor:Bf(this.navHoverBgColor)?this.navHoverBgColor:"",navHoverTextColor:Bf(this.navHoverTextColor)?this.navHoverTextColor:"",navAccentColor:Bf(this.navAccentColor)?this.navAccentColor:""};return z(_f||(_f=Nf([" "," "," ",' <div class="body"> ',' <main class="main-content regular-font"> <slot></slot> <div class="main-content-inner--','-mode"> '," "," ",' </div> <slot name="footer"></slot> </main> </div> '])),"dark"===this.theme?Lf.call(this,"dark",e):Lf.call(this,"light",e),"false"===this.showHeader?"":ff.call(this),"false"===this.allowAdvancedSearch?"":xf.call(this),"read"!==this.renderStyle&&"focused"!==this.renderStyle||"true"!==this.showSideNav||!this.resolvedSpec?"":ct.call(this),this.renderStyle,!0===this.loading?z(Tf||(Tf=Nf(['<div class="loader"></div>']))):"",!0===this.loadFailed?z(If||(If=Nf(['<div style="text-align:center;margin:16px"> Unable to load the Spec</div>']))):"",this.resolvedSpec?z(Ff||(Ff=Nf([" "," "," ",' <div class="operations-root" @click="','"> '," </div> "," "])),"false"!==this.showInfo&&this.resolvedSpec.info?"focused"===this.renderStyle?"overview"===this.selectedContentId?qf.call(this):"":qf.call(this):"","false"===this.allowServerSelection?"":"focused"===this.renderStyle?"api-servers"===this.selectedContentId?af.call(this):"":af.call(this),"false"!==this.allowAuthentication&&this.resolvedSpec.securitySchemes?"focused"===this.renderStyle?"authentication"===this.selectedContentId?rs.call(this):"":rs.call(this):"",e=>{this.handleHref(e)},this.resolvedSpec.tags?"read"===this.renderStyle?Hp.call(this):"focused"===this.renderStyle?this.selectedContentId.startsWith("cmp-")?lf.call(this):Yp.call(this):ef.call(this):"","true"===this.showComponents&&"focused"!==this.renderStyle?lf.call(this):""):"")}function Uf(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}class $f extends ae{constructor(){super();const e={root:this.getRootNode().host,rootMargin:"-50px 0px -50px 0px",threshold:0};this.isIntersectionObserverActive=!0,this.intersectionObserver=new IntersectionObserver(e=>{this.onIntersect(e)},e)}static get properties(){return{headingText:{type:String,attribute:"heading-text"},gotoPath:{type:String,attribute:"goto-path"},specUrl:{type:String,attribute:"spec-url"},sortTags:{type:String,attribute:"sort-tags"},sortEndpointsBy:{type:String,attribute:"sort-endpoints-by"},specFile:{type:String,attribute:!1},layout:{type:String},renderStyle:{type:String,attribute:"render-style"},schemaStyle:{type:String,attribute:"schema-style"},defaultSchemaTab:{type:String,attribute:"default-schema-tab"},schemaExpandLevel:{type:Number,attribute:"schema-expand-level"},schemaDescriptionExpanded:{type:String,attribute:"schema-description-expanded"},responseAreaHeight:{type:String,attribute:"response-area-height"},fillRequestFieldsWithExample:{type:String,attribute:"fill-request-fields-with-example"},apiKeyName:{type:String,attribute:"api-key-name"},apiKeyLocation:{type:String,attribute:"api-key-location"},apiKeyValue:{type:String,attribute:"api-key-value"},defaultApiServerUrl:{type:String,attribute:"default-api-server"},serverUrl:{type:String,attribute:"server-url"},oauthReceiver:{type:String,attribute:"oauth-receiver"},showHeader:{type:String,attribute:"show-header"},showSideNav:{type:String,attribute:"show-side-nav"},showInfo:{type:String,attribute:"show-info"},allowAuthentication:{type:String,attribute:"allow-authentication"},allowTry:{type:String,attribute:"allow-try"},allowSpecUrlLoad:{type:String,attribute:"allow-spec-url-load"},allowSpecFileLoad:{type:String,attribute:"allow-spec-file-load"},allowSearch:{type:String,attribute:"allow-search"},allowAdvancedSearch:{type:String,attribute:"allow-advanced-search"},allowServerSelection:{type:String,attribute:"allow-server-selection"},showComponents:{type:String,attribute:"show-components"},theme:{type:String},bgColor:{type:String,attribute:"bg-color"},textColor:{type:String,attribute:"text-color"},headerColor:{type:String,attribute:"header-color"},primaryColor:{type:String,attribute:"primary-color"},fontSize:{type:String,attribute:"font-size"},regularFont:{type:String,attribute:"regular-font"},monoFont:{type:String,attribute:"mono-font"},navBgColor:{type:String,attribute:"nav-bg-color"},navBgImage:{type:String,attribute:"nav-bg-image"},navBgImageSize:{type:String,attribute:"nav-bg-image-size"},navBgImageRepeat:{type:String,attribute:"nav-bg-image-repeat"},navTextColor:{type:String,attribute:"nav-text-color"},navHoverBgColor:{type:String,attribute:"nav-hover-bg-color"},navHoverTextColor:{type:String,attribute:"nav-hover-text-color"},navAccentColor:{type:String,attribute:"nav-accent-color"},navItemSpacing:{type:String,attribute:"nav-item-spacing"},usePathInNavBar:{type:String,attribute:"use-path-in-nav-bar"},infoDescriptionHeadingsInNavBar:{type:String,attribute:"info-description-headings-in-navbar"},matchPaths:{type:String,attribute:"match-paths"},selectedContentId:{type:String},showAdvancedSearchDialog:{type:Boolean},advancedSearchMatches:{type:Object}}}static get styles(){return[he,me,ye,xe,ke,Ae,Ee,Ce,_e,ne(Pf||(Pf=Uf([":host{--border-radius:2px;display:flex;flex-direction:column;min-width:360px;width:100%;height:100%;margin:0;padding:0;overflow:hidden;letter-spacing:normal;color:var(--fg);background-color:var(--bg);font-family:var(--font-regular)}.body{display:flex;height:100%;width:100%;box-sizing:border-box;overflow:hidden}.main-content{margin:0;padding:0;display:block;flex:1;height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--border-color) transparent}.main-content-inner--view-mode{padding:0 16px}.main-content::-webkit-scrollbar{width:8px;height:8px}.main-content::-webkit-scrollbar-track{background:0 0}.main-content::-webkit-scrollbar-thumb{background-color:var(--border-color)}.section-gap.section-tag{border-bottom:1px solid var(--border-color)}.section-gap,.section-gap--focused-mode,.section-gap--read-mode{padding:0 4px}.section-tag-header{position:relative;cursor:n-resize;padding:12px 0}.collapsed .section-tag-header:hover{cursor:s-resize}.section-tag-header:hover{background-image:linear-gradient(to right,rgba(0,0,0,0),var(--border-color),rgba(0,0,0,0))}.section-tag-header:hover::after{position:absolute;margin-left:-24px;font-size:20px;top:calc(50% - 14px);color:var(--primary-color);content:'⬆'}.collapsed .section-tag-header::after{position:absolute;margin-left:-24px;font-size:20px;top:calc(50% - 14px);color:var(--border-color);content:'⬇'}.collapsed .section-tag-header:hover::after{color:var(--primary-color)}.collapsed .section-tag-body{display:none}.logo{height:36px;width:36px;margin-left:5px}.only-large-screen,.only-large-screen-flex{display:none}.header-title{font-size:calc(var(--title-font-size) + 8px);padding:0 8px}.tag.title{text-transform:uppercase}.header{background-color:var(--header-bg);color:var(--header-fg);box-sizing:border-box;width:100%}input.header-input{background:var(--header-color-darker);color:var(--header-fg);border:1px solid var(--header-color-border);flex:1;padding-right:24px;border-radius:3px}input.header-input::placeholder{opacity:.4}.loader{margin:16px auto 16px auto;border:4px solid var(--bg3);border-radius:50%;border-top:4px solid var(--primary-color);width:36px;height:36px;animation:spin 2s linear infinite}.expanded-endpoint-body{position:relative;padding:6px 0}.expanded-endpoint-body.deprecated{filter:opacity(.6)}.divider{border-top:2px solid var(--primary-color);margin:24px 0;width:100%}.tooltip{cursor:pointer;border:1px solid var(--border-color);border-left-width:4px;margin-left:2px}.tooltip-text{color:var(--fg2);background-color:var(--bg2);visibility:hidden;overflow-wrap:break-word}.tooltip:hover{color:var(--primary-color);border-color:var(--primary-color)}.tooltip:hover .tooltip-text{visibility:visible;opacity:1}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@media only screen and (min-width:768px){.nav-bar{width:260px;display:flex}.only-large-screen{display:block}.only-large-screen-flex{display:flex}.section-gap{padding:0 24px}.section-gap--focused-mode{padding:24px}.section-gap--read-mode{padding:48px 24px 24px 24px}.endpoint-body{position:relative;padding:36px 0 48px 0}}@media only screen and (min-width:1000px){.nav-bar{width:",";display:flex}.section-gap--focused-mode{padding:12px 100px 12px 100px}.section-gap--read-mode{padding:24px 100px 12px 100px}}"])),re("default"===this.fontSize?"300px":"large"===this.fontSize?"315px":"330px")),Te]}connectedCallback(){super.connectedCallback(),this.renderStyle&&"read, view, focused,".includes("".concat(this.renderStyle,","))||(this.renderStyle="view"),this.schemaStyle&&"tree, table,".includes("".concat(this.schemaStyle,","))||(this.schemaStyle="tree"),this.theme&&"light, dark,".includes("".concat(this.theme,","))||(this.theme="light"),this.defaultSchemaTab&&"example, model,".includes("".concat(this.defaultSchemaTab,","))||(this.defaultSchemaTab="model"),(!this.schemaExpandLevel||this.schemaExpandLevel<1)&&(this.schemaExpandLevel=99999),this.schemaDescriptionExpanded&&"true, false,".includes("".concat(this.schemaDescriptionExpanded,","))||(this.schemaDescriptionExpanded="false"),this.fillRequestFieldsWithExample&&"true, false,".includes("".concat(this.fillRequestFieldsWithExample,","))||(this.fillRequestFieldsWithExample="true"),this.responseAreaHeight||(this.responseAreaHeight="300px"),this.allowSearch&&"true, false,".includes("".concat(this.allowSearch,","))||(this.allowSearch="true"),this.allowAdvancedSearch&&"true, false,".includes("".concat(this.allowAdvancedSearch,","))||(this.allowAdvancedSearch="true"),this.allowTry&&"true, false,".includes("".concat(this.allowTry,","))||(this.allowTry="true"),this.apiKeyValue||(this.apiKeyValue="-"),this.apiKeyLocation||(this.apiKeyLocation="header"),this.apiKeyName||(this.apiKeyName=""),this.oauthReceiver||(this.oauthReceiver="oauth-receiver.html"),this.sortTags&&"true, false,".includes("".concat(this.sortTags,","))||(this.sortTags="false"),this.sortEndpointsBy&&"method, path, summary,".includes("".concat(this.sortEndpointsBy,","))||(this.sortEndpointsBy="path"),this.navItemSpacing&&"compact, relaxed, default,".includes("".concat(this.navItemSpacing,","))||(this.navItemSpacing="default"),this.usePathInNavBar&&"true, false,".includes("".concat(this.usePathInNavBar,","))||(this.usePathInNavBar="false"),this.fontSize&&"default, large, largest,".includes("".concat(this.fontSize,","))||(this.fontSize="default"),this.showInfo&&"true, false,".includes("".concat(this.showInfo,","))||(this.showInfo="true"),this.showSideNav&&"true false".includes(this.showSideNav)||(this.showSideNav="true"),this.showComponents&&"true false".includes(this.showComponents)||(this.showComponents="false"),this.infoDescriptionHeadingsInNavBar&&"true, false,".includes("".concat(this.infoDescriptionHeadingsInNavBar,","))||(this.infoDescriptionHeadingsInNavBar="false"),this.showAdvancedSearchDialog||(this.showAdvancedSearchDialog=!1),ce.a.setOptions({highlight:(e,t)=>ue.a.languages[t]?ue.a.highlight(e,ue.a.languages[t],t):e}),window.addEventListener("hashchange",()=>{this.scrollTo(window.location.hash.substring(1))},!0)}disconnectedCallback(){this.intersectionObserver&&this.intersectionObserver.disconnect(),super.disconnectedCallback()}infoDescriptionHeadingRenderer(){const e=new ce.a.Renderer;return e.heading=(e,t,r,n)=>"<h".concat(t,' class="observe-me" id="').concat(n.slug(r),'">').concat(e,"</h").concat(t,">"),e}render(){return zf.call(this)}observeExpandedContent(){this.shadowRoot.querySelectorAll(".observe-me").forEach(e=>{this.intersectionObserver.observe(e)})}attributeChangedCallback(e,t,r){if("spec-url"===e&&t!==r&&window.setTimeout(async()=>{await this.loadSpec(r),this.gotoPath&&this.scrollTo(this.gotoPath.replace(Ie,"-").toLowerCase())},0),"render-style"===e&&("read"===r?window.setTimeout(()=>{this.observeExpandedContent()},100):this.intersectionObserver.disconnect()),"api-key-name"===e||"api-key-location"===e||"api-key-value"===e){let t=!1,n="",o="",a="";if("api-key-name"===e?this.getAttribute("api-key-location")&&this.getAttribute("api-key-value")&&(n=r,o=this.getAttribute("api-key-location"),a=this.getAttribute("api-key-value"),t=!0):"api-key-location"===e?this.getAttribute("api-key-name")&&this.getAttribute("api-key-value")&&(o=r,n=this.getAttribute("api-key-name"),a=this.getAttribute("api-key-value"),t=!0):"api-key-value"===e&&this.getAttribute("api-key-name")&&this.getAttribute("api-key-location")&&(a=r,o=this.getAttribute("api-key-location"),n=this.getAttribute("api-key-name"),t=!0),t&&this.resolvedSpec){const e=this.resolvedSpec.securitySchemes.find(e=>"_rapidoc_api_key"===e.apiKeyId);e?(e.name=n,e.in=o,e.value=a,e.finalKeyValue=a):this.resolvedSpec.securitySchemes.push({apiKeyId:"_rapidoc_api_key",description:"api-key provided in rapidoc element attributes",type:"apiKey",name:n,in:o,value:a,finalKeyValue:a}),this.requestUpdate()}}super.attributeChangedCallback(e,t,r)}onSepcUrlChange(){this.setAttribute("spec-url",this.shadowRoot.getElementById("spec-url").value)}onSepcFileChange(e){this.setAttribute("spec-file",this.shadowRoot.getElementById("spec-file").value);const t=e.target.files[0],r=new FileReader;r.onload=()=>{try{const e=JSON.parse(r.result);this.loadSpec(e),this.shadowRoot.getElementById("spec-url").value=""}catch(e){console.error("RapiDoc: Unable to read or parse json")}},r.readAsText(t)}onFileLoadClick(){this.shadowRoot.getElementById("spec-file").click()}onSearchChange(e){this.matchPaths=e.target.value.toLowerCase(),this.resolvedSpec.tags.forEach(e=>e.paths.filter(t=>{this.matchPaths&&(t.expanded=!1,Re(this.matchPaths,t)&&(e.expanded=!0))})),this.requestUpdate()}onClearSearch(){this.shadowRoot.getElementById("nav-bar-search").value="",this.matchPaths=""}onShowSearchModalClicked(){this.showAdvancedSearchDialog=!0,this.requestUpdate()}async onOpenSearchDialog(e){const t=e.detail.querySelector("input");await Fe(0),t&&t.focus()}async loadSpec(e){if(e){this.matchPaths="";try{if(this.resolvedSpec=null,this.loading=!0,this.loadFailed=!1,this.requestUpdate(),"read"===this.renderStyle||"focused"===this.renderStyle){const e=this.shadowRoot.querySelector(".nav-bar-tag.active, .nav-bar-path.active, .nav-bar-info.active, .nav-bar-h1.active, .nav-bar-h2.active");e&&e.classList.remove("active")}const t=await Qa(e,"true"===this.sortTags,this.getAttribute("sort-endpoints-by"),this.getAttribute("api-key-name"),this.getAttribute("api-key-location"),this.getAttribute("api-key-value"),this.getAttribute("server-url"));this.loading=!1,null==t&&console.error("Unable to resolve the API spec. "),this.afterSpecParsedAndValidated(t)}catch(e){this.loading=!1,this.loadFailed=!0,this.resolvedSpec=null,this.requestUpdate(),console.error("RapiDoc: Unable to resolve the API spec.. ".concat(e.message))}}}resetSelectedContentId(){var e,t,r,n,o,a;(this.selectedContentId="",window.location.hash&&(this.selectedContentId=window.location.hash.substring(1).startsWith("overview--")?"overview":this.resolvedSpec.tags.filter(e=>e.paths.filter(e=>window.location.hash.substring(1)==="".concat(e.method,"-").concat(e.path.replace(Ie,"-"))).length>0).length>0?window.location.hash.substring(1):""),this.selectedContentId)||("true"===this.showInfo&&(null!==(e=this.resolvedSpec.info)&&void 0!==e&&e.description||null!==(t=this.resolvedSpec.info)&&void 0!==t&&t.title)?this.selectedContentId="overview":this.selectedContentId="".concat(null===(r=this.resolvedSpec.tags[0])||void 0===r||null===(n=r.paths[0])||void 0===n?void 0:n.method,"-").concat(null===(o=this.resolvedSpec.tags[0])||void 0===o||null===(a=o.paths[0])||void 0===a?void 0:a.path));window.location.hash="".concat(this.selectedContentId)}async afterSpecParsedAndValidated(e){this.resolvedSpec=e,this.defaultApiServerUrl&&(this.defaultApiServerUrl===this.serverUrl?this.selectedServer={url:this.serverUrl,computedUrl:this.serverUrl}:this.resolvedSpec.servers&&(this.selectedServer=this.resolvedSpec.servers.find(e=>e.url===this.defaultApiServerUrl))),this.selectedServer||this.resolvedSpec.servers&&(this.selectedServer=this.resolvedSpec.servers[0]),this.resetSelectedContentId(),this.requestUpdate();const t=new CustomEvent("spec-loaded",{detail:e});if(this.dispatchEvent(t),this.intersectionObserver.disconnect(),"read"===this.renderStyle)await Fe(100),this.observeExpandedContent();else if("focused"===this.renderStyle){await Fe(0);const e=this.shadowRoot.getElementById("link-".concat(this.selectedContentId));e&&(e.classList.add("active"),e.scrollIntoView({behavior:"auto",block:"center"}))}window.location.hash&&(this.gotoPath||this.expandTreeToPath(window.location.hash,!0,!0))}expandTreeToPath(e,t=!0,r=!0){let n;0===e.indexOf("#")&&(e=e.substring(1)),this.resolvedSpec.tags.map(r=>r.paths.filter(o=>{const a=e.match(new RegExp("(.*?)-")),i=a&&2===a.length?a[1]:null;n=e.match(new RegExp("/.*$"));const s=n&&1===n.length?n[0]:null;i&&s&&i===o.method&&s===o.path&&(this.selectedContentId="".concat(i,"-").concat(s),o.expanded=t,r.expanded=!0)})),this.requestUpdate(),r&&window.setTimeout(()=>{const t=this.shadowRoot.getElementById(e);t&&t.scrollIntoView({behavior:"auto",block:"start"})},150)}onIntersect(e){!1!==this.isIntersectionObserverActive&&e.forEach(e=>{if(e.isIntersecting&&e.intersectionRatio>0){const t=this.shadowRoot.querySelector(".nav-bar-tag.active, .nav-bar-path.active, .nav-bar-info.active, .nav-bar-h1.active, .nav-bar-h2.active"),r=this.shadowRoot.getElementById("link-".concat(e.target.id));r&&(window.history.replaceState(null,null,"".concat(window.location.href.split("#")[0],"#").concat(e.target.id)),r.scrollIntoView({behavior:"auto",block:"center"}),r.classList.add("active")),t&&t.classList.remove("active")}})}async scrollToEl(e){const t=e.currentTarget;if(!t.id||!t.dataset.contentId||!t.id.startsWith("link-"))return;this.selectedContentId=t.dataset.contentId.startsWith("overview--")?"overview":t.dataset.contentId;const r=t.dataset.contentId;await Fe(0);const n=this.shadowRoot.getElementById(r);if(n){if(this.isIntersectionObserverActive=!1,"focused"===this.renderStyle){const e=this.shadowRoot.querySelector("api-request");e&&e.resetRequestBodySelection();const t=this.shadowRoot.querySelector("api-response");t&&t.resetSelection()}n.scrollIntoView({behavior:"auto",block:"start"});const e=this.shadowRoot.querySelector(".nav-bar-tag.active, .nav-bar-path.active, .nav-bar-info.active, .nav-bar-h1.active, .nav-bar-h2.active");e&&e.classList.remove("active"),t.classList.add("active"),window.history.replaceState(null,null,"".concat(window.location.href.split("#")[0],"#").concat(r)),setTimeout(()=>{this.isIntersectionObserverActive=!0},300)}}handleHref(e){if("a"===e.target.tagName.toLowerCase()&&e.target.getAttribute("href").startsWith("#")){const t=this.shadowRoot.getElementById(e.target.getAttribute("href").replace("#",""));t&&t.scrollIntoView({behavior:"auto",block:"start"})}}async scrollTo(e,t=!0){e&&(this.selectedContentId=e.startsWith("overview--")?"overview":e),await Fe(0);if(this.shadowRoot.getElementById(e)){this.expandTreeToPath(e,t,!0);const r=this.shadowRoot.querySelector(".nav-bar-tag.active, .nav-bar-path.active, .nav-bar-info.active, .nav-bar-h1.active, .nav-bar-h2.active"),n=this.shadowRoot.getElementById("link-".concat(e));r&&r.classList.remove("active"),n&&(n.classList.add("active"),n.scrollIntoView({behavior:"auto",block:"center"}),this.requestUpdate(),at(n,"expand"))}}onAdvancedSearch(e,t){const r=e.target;clearTimeout(this.timeoutId),this.timeoutId=setTimeout(()=>{let e;e="text"===r.type?r:r.closest(".advanced-search-options").querySelector("input[type=text]");const t=[...r.closest(".advanced-search-options").querySelectorAll("input:checked")].map(e=>e.id);this.advancedSearchMatches=function(e,t,r=[]){if(!e.trim()||0===r.length)return;const n=[];return t.forEach(t=>{t.paths.forEach(t=>{let o="";var a;(r.includes("search-api-path")&&(o=t.path),r.includes("search-api-descr")&&(o="".concat(o," ").concat(t.summary||t.description||"")),r.includes("search-api-params"))&&(o="".concat(o," ").concat((null===(a=t.parameters)||void 0===a?void 0:a.map(e=>e.name).join(" "))||""));if(r.includes("search-api-request-body")&&t.requestBody){let e=new Set;for(const r in null===(i=t.requestBody)||void 0===i?void 0:i.content){var i,s,c;if(null!==(s=t.requestBody.content[r].schema)&&void 0!==s&&s.properties)e=Be(null===(c=t.requestBody.content[r].schema)||void 0===c?void 0:c.properties);o="".concat(o," ").concat([...e].join(" "))}}r.includes("search-api-resp-descr")&&(o="".concat(o," ").concat(Object.values(t.responses).map(e=>e.description||"").join(" "))),o.toLowerCase().includes(e.trim().toLowerCase())&&n.push({method:t.method,path:t.path,summary:t.summary||t.description||"",deprecated:t.deprecated})})}),n}(e.value,this.resolvedSpec.tags,t),this.requestUpdate()},t)}}customElements.define("rapi-doc",$f);class Hf extends HTMLElement{connectedCallback(){this.receiveAuthParms(),window.addEventListener("storage",e=>this.receiveStorage(e),!0)}receiveAuthParms(){let e={};if(document.location.search){const t=new URLSearchParams(document.location.search);e={code:t.get("code"),error:t.get("error"),state:t.get("state"),responseType:"code"}}else if(window.location.hash){e={token_type:this.parseQueryString(window.location.hash.substring(1),"token_type"),access_token:this.parseQueryString(window.location.hash.substring(1),"access_token"),responseType:"token"}}window.opener?window.opener.postMessage(e,this.target):sessionStorage.setItem("rapidoc-oauth-data",JSON.stringify(e))}relayAuthParams(e){if(window.parent&&"rapidoc-oauth-data"===e.key){const t=JSON.parse(e.newValue);window.parent.postMessage(t,this.target)}}parseQueryString(e,t){const r=e.split("&");for(let e=0;e<r.length;e++){const n=r[e].split("=");if(decodeURIComponent(n[0])===t)return decodeURIComponent(n[1])}}}customElements.define("oauth-receiver",Hf);t.default={RapiDoc:$f}},function(e,t,r){"use strict";r.r(t),r.d(t,"YAML",(function(){return fe}));var n=r(0),o=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(){return Object(n.j)(this,r),t.call(this,n.e.BLANK_LINE)}return Object(n.i)(r,[{key:"parse",value:function(e,t){return this.context=e,this.range=new n.d(t,t+1),t+1}},{key:"includesTrailingLines",get:function(){return!0}}]),r}(n.b),a=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e,o){var a;return Object(n.j)(this,r),(a=t.call(this,e,o)).node=null,a}return Object(n.i)(r,[{key:"parse",value:function(e,t){this.context=e;var r=e.parseNode,a=e.src,i=e.atLineStart,s=e.lineStart;i||this.type!==n.e.SEQ_ITEM||(this.error=new n.n(this,"Sequence items must not have preceding content on the same line"));for(var c=i?t-s:e.indent,l=n.b.endOfWhiteSpace(a,t+1),u=a[l],p="#"===u,f=[],d=null;"\n"===u||"#"===u;){if("#"===u){var h=n.b.endOfLine(a,l+1);f.push(new n.d(l,h)),l=h}else{i=!0,s=l+1,"\n"===a[n.b.endOfWhiteSpace(a,s)]&&0===f.length&&(s=(d=new o).parse({src:a},s)),l=n.b.endOfIndent(a,s)}u=a[l]}if(n.b.nextNodeIsIndented(u,l-(s+c),this.type!==n.e.SEQ_ITEM)?this.node=r({atLineStart:i,inCollection:!1,indent:c,lineStart:s,parent:this},l):u&&s>t+1&&(l=s-1),this.node){if(d){var v=e.parent.items||e.parent.contents;v&&v.push(d)}f.length&&Array.prototype.push.apply(this.props,f),l=this.node.range.end}else if(p){var m=f[0];this.props.push(m),l=m.end}else l=n.b.endOfLine(a,t+1);var g=this.node?this.node.valueRange.end:l;return this.valueRange=new n.d(t,g),l}},{key:"setOrigRanges",value:function(e,t){return t=Object(n.s)(Object(n.t)(r.prototype),"setOrigRanges",this).call(this,e,t),this.node?this.node.setOrigRanges(e,t):t}},{key:"toString",value:function(){var e=this.context.src,t=this.node,r=this.range,o=this.value;if(null!=o)return o;var a=t?e.slice(r.start,t.range.start)+String(t):e.slice(r.start,r.end);return n.b.addStringTerminator(e,r.end,a)}},{key:"includesTrailingLines",get:function(){return!!this.node&&this.node.includesTrailingLines}}]),r}(n.b),i=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(){return Object(n.j)(this,r),t.call(this,n.e.COMMENT)}return Object(n.i)(r,[{key:"parse",value:function(e,t){this.context=e;var r=this.parseComment(t);return this.range=new n.d(t,r),r}}]),r}(n.b);function s(e){for(var t=e;t instanceof a;)t=t.node;if(!(t instanceof c))return null;for(var r=t.items.length,o=-1,i=r-1;i>=0;--i){var s=t.items[i];if(s.type===n.e.COMMENT){var l=s.context,u=l.indent,p=l.lineStart;if(u>0&&s.range.start>=p+u)break;o=i}else{if(s.type!==n.e.BLANK_LINE)break;o=i}}if(-1===o)return null;for(var f=t.items.splice(o,r-o),d=f[0].range.start;t.range.end=d,t.valueRange&&t.valueRange.end>d&&(t.valueRange.end=d),t!==e;)t=t.context.parent;return f}var c=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e){var o;Object(n.j)(this,r),o=t.call(this,e.type===n.e.SEQ_ITEM?n.e.SEQ:n.e.MAP);for(var a=e.props.length-1;a>=0;--a)if(e.props[a].start<e.context.lineStart){o.props=e.props.slice(0,a+1),e.props=e.props.slice(a+1);var i=e.props[0]||e.valueRange;e.range.start=i.start;break}o.items=[e];var c=s(e);return c&&Array.prototype.push.apply(o.items,c),o}return Object(n.i)(r,null,[{key:"nextContentHasIndent",value:function(e,t,o){var a=n.b.endOfLine(e,t)+1,i=e[t=n.b.endOfWhiteSpace(e,a)];return!!i&&(t>=a+o||("#"===i||"\n"===i)&&r.nextContentHasIndent(e,t,o))}}]),Object(n.i)(r,[{key:"parse",value:function(e,t){this.context=e;var a=e.parseNode,c=e.src,l=n.b.startOfLine(c,t),u=this.items[0];u.context.parent=this,this.valueRange=n.d.copy(u.valueRange);for(var p=u.range.start-u.context.lineStart,f=t,d=c[f=n.b.normalizeOffset(c,f)],h=n.b.endOfWhiteSpace(c,l)===f,v=!1;d;){for(;"\n"===d||"#"===d;){if(h&&"\n"===d&&!v){var m=new o;if(f=m.parse({src:c},f),this.valueRange.end=f,f>=c.length){d=null;break}this.items.push(m),f-=1}else if("#"===d){if(f<l+p&&!r.nextContentHasIndent(c,f,p))return f;var g=new i;if(f=g.parse({indent:p,lineStart:l,src:c},f),this.items.push(g),this.valueRange.end=f,f>=c.length){d=null;break}}if(l=f+1,f=n.b.endOfIndent(c,l),n.b.atBlank(c,f)){var y=n.b.endOfWhiteSpace(c,f),b=c[y];b&&"\n"!==b&&"#"!==b||(f=y)}d=c[f],h=!0}if(!d)break;if(f!==l+p&&(h||":"!==d)){if(f<l+p){l>t&&(f=l);break}if(!this.error){this.error=new n.f(this,"All collection items must start at the same column")}}if(u.type===n.e.SEQ_ITEM){if("-"!==d){l>t&&(f=l);break}}else if("-"===d&&!this.error){var x=c[f+1];if(!x||"\n"===x||"\t"===x||" "===x){this.error=new n.f(this,"A collection cannot be both a mapping and a sequence")}}var w=a({atLineStart:h,inCollection:!0,indent:p,lineStart:l,parent:this},f);if(!w)return f;if(this.items.push(w),this.valueRange.end=w.valueRange.end,d=c[f=n.b.normalizeOffset(c,w.range.end)],h=!1,v=w.includesTrailingLines,d){for(var k=f-1,S=c[k];" "===S||"\t"===S;)S=c[--k];"\n"===S&&(l=k+1,h=!0)}var A=s(w);A&&Array.prototype.push.apply(this.items,A)}return f}},{key:"setOrigRanges",value:function(e,t){return t=Object(n.s)(Object(n.t)(r.prototype),"setOrigRanges",this).call(this,e,t),this.items.forEach((function(r){t=r.setOrigRanges(e,t)})),t}},{key:"toString",value:function(){var e=this.context.src,t=this.items,r=this.range,o=this.value;if(null!=o)return o;for(var a=e.slice(r.start,t[0].range.start)+String(t[0]),i=1;i<t.length;++i){var s=t[i],c=s.context,l=c.atLineStart,u=c.indent;if(l)for(var p=0;p<u;++p)a+=" ";a+=String(s)}return n.b.addStringTerminator(e,r.end,a)}},{key:"includesTrailingLines",get:function(){return this.items.length>0}}]),r}(n.b),l=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(){var e;return Object(n.j)(this,r),(e=t.call(this,n.e.DIRECTIVE)).name=null,e}return Object(n.i)(r,[{key:"parseName",value:function(e){for(var t=this.context.src,r=e,n=t[r];n&&"\n"!==n&&"\t"!==n&&" "!==n;)n=t[r+=1];return this.name=t.slice(e,r),r}},{key:"parseParameters",value:function(e){for(var t=this.context.src,r=e,o=t[r];o&&"\n"!==o&&"#"!==o;)o=t[r+=1];return this.valueRange=new n.d(e,r),r}},{key:"parse",value:function(e,t){this.context=e;var r=this.parseName(t+1);return r=this.parseParameters(r),r=this.parseComment(r),this.range=new n.d(t,r),r}},{key:"parameters",get:function(){var e=this.rawValue;return e?e.trim().split(/[ \t]+/):[]}}]),r}(n.b),u=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(){var e;return Object(n.j)(this,r),(e=t.call(this,n.e.DOCUMENT)).directives=null,e.contents=null,e.directivesEndMarker=null,e.documentEndMarker=null,e}return Object(n.i)(r,null,[{key:"startCommentOrEndBlankLine",value:function(e,t){var r=n.b.endOfWhiteSpace(e,t),o=e[r];return"#"===o||"\n"===o?r:t}}]),Object(n.i)(r,[{key:"parseDirectives",value:function(e){var t=this.context.src;this.directives=[];for(var a=!0,s=!1,c=e;!n.b.atDocumentBoundary(t,c,n.a.DIRECTIVES_END);)switch(t[c=r.startCommentOrEndBlankLine(t,c)]){case"\n":if(a){var u=new o;(c=u.parse({src:t},c))<t.length&&this.directives.push(u)}else c+=1,a=!0;break;case"#":var p=new i;c=p.parse({src:t},c),this.directives.push(p),a=!1;break;case"%":var f=new l;c=f.parse({parent:this,src:t},c),this.directives.push(f),s=!0,a=!1;break;default:return s?this.error=new n.n(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),c}return t[c]?(this.directivesEndMarker=new n.d(c,c+3),c+3):(s?this.error=new n.n(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),c)}},{key:"parseContents",value:function(e){var t=this.context,a=t.parseNode,c=t.src;this.contents||(this.contents=[]);for(var l=e;"-"===c[l-1];)l-=1;var u=n.b.endOfWhiteSpace(c,e),p=l===e;for(this.valueRange=new n.d(u);!n.b.atDocumentBoundary(c,u,n.a.DOCUMENT_END);){switch(c[u]){case"\n":if(p){var f=new o;(u=f.parse({src:c},u))<c.length&&this.contents.push(f)}else u+=1,p=!0;l=u;break;case"#":var d=new i;u=d.parse({src:c},u),this.contents.push(d),p=!1;break;default:var h=n.b.endOfIndent(c,u),v=a({atLineStart:p,indent:-1,inFlow:!1,inCollection:!1,lineStart:l,parent:this},h);if(!v)return this.valueRange.end=h;this.contents.push(v),u=v.range.end,p=!1;var m=s(v);m&&Array.prototype.push.apply(this.contents,m)}u=r.startCommentOrEndBlankLine(c,u)}if(this.valueRange.end=u,c[u]&&(this.documentEndMarker=new n.d(u,u+3),c[u+=3])){if("#"===c[u=n.b.endOfWhiteSpace(c,u)]){var g=new i;u=g.parse({src:c},u),this.contents.push(g)}switch(c[u]){case"\n":u+=1;break;case void 0:break;default:this.error=new n.f(this,"Document end marker line cannot have a non-comment suffix")}}return u}},{key:"parse",value:function(e,t){e.root=this,this.context=e;var r=65279===e.src.charCodeAt(t)?t+1:t;return r=this.parseDirectives(r),r=this.parseContents(r)}},{key:"setOrigRanges",value:function(e,t){return t=Object(n.s)(Object(n.t)(r.prototype),"setOrigRanges",this).call(this,e,t),this.directives.forEach((function(r){t=r.setOrigRanges(e,t)})),this.directivesEndMarker&&(t=this.directivesEndMarker.setOrigRange(e,t)),this.contents.forEach((function(r){t=r.setOrigRanges(e,t)})),this.documentEndMarker&&(t=this.documentEndMarker.setOrigRange(e,t)),t}},{key:"toString",value:function(){var e=this.contents,t=this.directives,r=this.value;if(null!=r)return r;var o=t.join("");return e.length>0&&((t.length>0||e[0].type===n.e.COMMENT)&&(o+="---\n"),o+=e.join("")),"\n"!==o[o.length-1]&&(o+="\n"),o}}]),r}(n.b),p=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(){return Object(n.j)(this,r),t.apply(this,arguments)}return Object(n.i)(r,[{key:"parse",value:function(e,t){this.context=e;var r=e.src,o=n.b.endOfIdentifier(r,t+1);return this.valueRange=new n.d(t+1,o),o=n.b.endOfWhiteSpace(r,o),o=this.parseComment(o)}}]),r}(n.b),f="CLIP",d="KEEP",h="STRIP",v=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e,o){var a;return Object(n.j)(this,r),(a=t.call(this,e,o)).blockIndent=null,a.chomping=f,a.header=null,a}return Object(n.i)(r,[{key:"parseBlockHeader",value:function(e){for(var t=this.context.src,r=e+1,o="";;){var a=t[r];switch(a){case"-":this.chomping=h;break;case"+":this.chomping=d;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":o+=a;break;default:return this.blockIndent=Number(o)||null,this.header=new n.d(e,r),r}r+=1}}},{key:"parseBlockValue",value:function(e){for(var t=this.context,r=t.indent,o=t.src,a=!!this.blockIndent,i=e,s=e,c=1,l=o[i];"\n"===l&&(i+=1,!n.b.atDocumentBoundary(o,i));l=o[i]){var u=n.b.endOfBlockIndent(o,r,i);if(null===u)break;var p=o[u],f=u-(i+r);if(this.blockIndent){if(p&&"\n"!==p&&f<this.blockIndent){if("#"===o[u])break;if(!this.error){var h="Block scalars must not be less indented than their ".concat(a?"explicit indentation indicator":"first line");this.error=new n.n(this,h)}}}else if("\n"!==o[u]){if(f<c){this.error=new n.n(this,"Block scalars with more-indented leading empty lines must use an explicit indentation indicator")}this.blockIndent=f}else f>c&&(c=f);i="\n"===o[u]?u:s=n.b.endOfLine(o,u)}return this.chomping!==d&&(i=o[s]?s+1:s),this.valueRange=new n.d(e+1,i),i}},{key:"parse",value:function(e,t){this.context=e;var r=e.src,o=this.parseBlockHeader(t);return o=n.b.endOfWhiteSpace(r,o),o=this.parseComment(o),o=this.parseBlockValue(o)}},{key:"setOrigRanges",value:function(e,t){return t=Object(n.s)(Object(n.t)(r.prototype),"setOrigRanges",this).call(this,e,t),this.header?this.header.setOrigRange(e,t):t}},{key:"includesTrailingLines",get:function(){return this.chomping===d}},{key:"strValue",get:function(){if(!this.valueRange||!this.context)return null;var e=this.valueRange,t=e.start,r=e.end,o=this.context,a=o.indent,i=o.src;if(this.valueRange.isEmpty())return"";for(var s=null,c=i[r-1];"\n"===c||"\t"===c||" "===c;){if((r-=1)<=t){if(this.chomping===d)break;return""}"\n"===c&&(s=r),c=i[r-1]}var l=r+1;s&&(this.chomping===d?(l=s,r=this.valueRange.end):r=s);for(var u=a+this.blockIndent,p=this.type===n.e.BLOCK_FOLDED,f=!0,v="",m="",g=!1,y=t;y<r;++y){for(var b=0;b<u&&" "===i[y];++b)y+=1;var x=i[y];if("\n"===x)"\n"===m?v+="\n":m="\n";else{var w=n.b.endOfLine(i,y),k=i.slice(y,w);y=w,p&&(" "===x||"\t"===x)&&y<l?(" "===m?m="\n":g||f||"\n"!==m||(m="\n\n"),v+=m+k,m=w<r&&i[w]||"",g=!0):(v+=m+k,m=p&&y<l?" ":"\n",g=!1),f&&""!==k&&(f=!1)}}return this.chomping===h?v:v+"\n"}}]),r}(n.b),m=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e,o){var a;return Object(n.j)(this,r),(a=t.call(this,e,o)).items=null,a}return Object(n.i)(r,[{key:"prevNodeIsJsonLike",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.items.length,t=this.items[e-1];return!!t&&(t.jsonLike||t.type===n.e.COMMENT&&this.prevNodeIsJsonLike(e-1))}},{key:"parse",value:function(e,t){this.context=e;var r=e.parseNode,a=e.src,s=e.indent,c=e.lineStart,l=a[t];this.items=[{char:l,offset:t}];var u=n.b.endOfWhiteSpace(a,t+1);for(l=a[u];l&&"]"!==l&&"}"!==l;){switch(l){case"\n":if(c=u+1,"\n"===a[n.b.endOfWhiteSpace(a,c)]){var p=new o;c=p.parse({src:a},c),this.items.push(p)}if((u=n.b.endOfIndent(a,c))<=c+s&&(l=a[u],u<c+s||"]"!==l&&"}"!==l)){this.error=new n.n(this,"Insufficient indentation in flow collection")}break;case",":this.items.push({char:l,offset:u}),u+=1;break;case"#":var f=new i;u=f.parse({src:a},u),this.items.push(f);break;case"?":case":":var d=a[u+1];if("\n"===d||"\t"===d||" "===d||","===d||":"===l&&this.prevNodeIsJsonLike()){this.items.push({char:l,offset:u}),u+=1;break}default:var h=r({atLineStart:!1,inCollection:!1,inFlow:!0,indent:-1,lineStart:c,parent:this},u);if(!h)return this.valueRange=new n.d(t,u),u;this.items.push(h),u=n.b.normalizeOffset(a,h.range.end)}l=a[u=n.b.endOfWhiteSpace(a,u)]}return this.valueRange=new n.d(t,u+1),l&&(this.items.push({char:l,offset:u}),u=n.b.endOfWhiteSpace(a,u+1),u=this.parseComment(u)),u}},{key:"setOrigRanges",value:function(e,t){return t=Object(n.s)(Object(n.t)(r.prototype),"setOrigRanges",this).call(this,e,t),this.items.forEach((function(r){if(r instanceof n.b)t=r.setOrigRanges(e,t);else if(0===e.length)r.origOffset=r.offset;else{for(var o=t;o<e.length&&!(e[o]>r.offset);)++o;r.origOffset=r.offset+o,t=o}})),t}},{key:"toString",value:function(){var e=this.context.src,t=this.items,r=this.range,o=this.value;if(null!=o)return o;var a=t.filter((function(e){return e instanceof n.b})),i="",s=r.start;return a.forEach((function(t){var r=e.slice(s,t.range.start);s=t.range.end,"\n"===(i+=r+String(t))[i.length-1]&&"\n"!==e[s-1]&&"\n"===e[s]&&(s+=1)})),i+=e.slice(s,r.end),n.b.addStringTerminator(e,r.end,i)}}]),r}(n.b),g=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(){return Object(n.j)(this,r),t.apply(this,arguments)}return Object(n.i)(r,[{key:"parseCharCode",value:function(e,t,r){var o=this.context.src,a=o.substr(e,t),i=a.length===t&&/^[0-9a-fA-F]+$/.test(a)?parseInt(a,16):NaN;return isNaN(i)?(r.push(new n.f(this,"Invalid escape sequence ".concat(o.substr(e-2,t+2)))),o.substr(e-2,t+2)):String.fromCodePoint(i)}},{key:"parse",value:function(e,t){this.context=e;var o=e.src,a=r.endOfQuote(o,t+1);return this.valueRange=new n.d(t,a),a=n.b.endOfWhiteSpace(o,a),a=this.parseComment(a)}},{key:"strValue",get:function(){if(!this.valueRange||!this.context)return null;var e=[],t=this.valueRange,r=t.start,o=t.end,a=this.context,i=a.indent,s=a.src;'"'!==s[o-1]&&e.push(new n.f(this,'Missing closing "quote'));for(var c="",l=r+1;l<o-1;++l){var u=s[l];if("\n"===u){n.b.atDocumentBoundary(s,l+1)&&e.push(new n.n(this,"Document boundary indicators are not allowed within string values"));var p=n.b.foldNewline(s,l,i);c+=p.fold,l=p.offset,p.error&&e.push(new n.n(this,"Multi-line double-quoted string needs to be sufficiently indented"))}else if("\\"===u)switch(s[l+=1]){case"0":c+="\0";break;case"a":c+="";break;case"b":c+="\b";break;case"e":c+="";break;case"f":c+="\f";break;case"n":c+="\n";break;case"r":c+="\r";break;case"t":c+="\t";break;case"v":c+="\v";break;case"N":c+="Â…";break;case"_":c+=" ";break;case"L":c+="\u2028";break;case"P":c+="\u2029";break;case" ":c+=" ";break;case'"':c+='"';break;case"/":c+="/";break;case"\\":c+="\\";break;case"\t":c+="\t";break;case"x":c+=this.parseCharCode(l+1,2,e),l+=2;break;case"u":c+=this.parseCharCode(l+1,4,e),l+=4;break;case"U":c+=this.parseCharCode(l+1,8,e),l+=8;break;case"\n":for(;" "===s[l+1]||"\t"===s[l+1];)l+=1;break;default:e.push(new n.f(this,"Invalid escape sequence ".concat(s.substr(l-1,2)))),c+="\\"+s[l]}else if(" "===u||"\t"===u){for(var f=l,d=s[l+1];" "===d||"\t"===d;)d=s[(l+=1)+1];"\n"!==d&&(c+=l>f?s.slice(f,l+1):u)}else c+=u}return e.length>0?{errors:e,str:c}:c}}],[{key:"endOfQuote",value:function(e,t){for(var r=e[t];r&&'"'!==r;)r=e[t+="\\"===r?2:1];return t+1}}]),r}(n.b),y=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(){return Object(n.j)(this,r),t.apply(this,arguments)}return Object(n.i)(r,[{key:"parse",value:function(e,t){this.context=e;var o=e.src,a=r.endOfQuote(o,t+1);return this.valueRange=new n.d(t,a),a=n.b.endOfWhiteSpace(o,a),a=this.parseComment(a)}},{key:"strValue",get:function(){if(!this.valueRange||!this.context)return null;var e=[],t=this.valueRange,r=t.start,o=t.end,a=this.context,i=a.indent,s=a.src;"'"!==s[o-1]&&e.push(new n.f(this,"Missing closing 'quote"));for(var c="",l=r+1;l<o-1;++l){var u=s[l];if("\n"===u){n.b.atDocumentBoundary(s,l+1)&&e.push(new n.n(this,"Document boundary indicators are not allowed within string values"));var p=n.b.foldNewline(s,l,i);c+=p.fold,l=p.offset,p.error&&e.push(new n.n(this,"Multi-line single-quoted string needs to be sufficiently indented"))}else if("'"===u)c+=u,"'"!==s[l+=1]&&e.push(new n.f(this,"Unescaped single quote? This should not happen."));else if(" "===u||"\t"===u){for(var f=l,d=s[l+1];" "===d||"\t"===d;)d=s[(l+=1)+1];"\n"!==d&&(c+=l>f?s.slice(f,l+1):u)}else c+=u}return e.length>0?{errors:e,str:c}:c}}],[{key:"endOfQuote",value:function(e,t){for(var r=e[t];r;)if("'"===r){if("'"!==e[t+1])break;r=e[t+=2]}else r=e[t+=1];return t+1}}]),r}(n.b);function b(e,t){switch(e){case n.e.ALIAS:return new p(e,t);case n.e.BLOCK_FOLDED:case n.e.BLOCK_LITERAL:return new v(e,t);case n.e.FLOW_MAP:case n.e.FLOW_SEQ:return new m(e,t);case n.e.MAP_KEY:case n.e.MAP_VALUE:case n.e.SEQ_ITEM:return new a(e,t);case n.e.COMMENT:case n.e.PLAIN:return new n.c(e,t);case n.e.QUOTE_DOUBLE:return new g(e,t);case n.e.QUOTE_SINGLE:return new y(e,t);default:return null}}var x=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.atLineStart,i=o.inCollection,s=o.inFlow,l=o.indent,u=o.lineStart,p=o.parent;Object(n.j)(this,e),Object(n.l)(this,"parseNode",(function(r,o){if(n.b.atDocumentBoundary(t.src,o))return null;var a=new e(t,r),i=a.parseProps(o),s=i.props,l=i.type,u=i.valueStart,p=b(l,s),f=p.parse(a,u);if(p.range=new n.d(o,f),f<=o&&(p.error=new Error("Node#parse consumed no characters"),p.error.parseEnd=f,p.error.source=p,p.range.end=o+1),a.nodeStartsCollection(p)){p.error||a.atLineStart||a.parent.type!==n.e.DOCUMENT||(p.error=new n.f(p,"Block collection must not have preceding content here (e.g. directives-end indicator)"));var d=new c(p);return f=d.parse(new e(a),f),d.range=new n.d(o,f),d}return p})),this.atLineStart=null!=a?a:r.atLineStart||!1,this.inCollection=null!=i?i:r.inCollection||!1,this.inFlow=null!=s?s:r.inFlow||!1,this.indent=null!=l?l:r.indent,this.lineStart=null!=u?u:r.lineStart,this.parent=null!=p?p:r.parent||{},this.root=r.root,this.src=r.src}return Object(n.i)(e,null,[{key:"parseType",value:function(e,t,r){switch(e[t]){case"*":return n.e.ALIAS;case">":return n.e.BLOCK_FOLDED;case"|":return n.e.BLOCK_LITERAL;case"{":return n.e.FLOW_MAP;case"[":return n.e.FLOW_SEQ;case"?":return!r&&n.b.atBlank(e,t+1,!0)?n.e.MAP_KEY:n.e.PLAIN;case":":return!r&&n.b.atBlank(e,t+1,!0)?n.e.MAP_VALUE:n.e.PLAIN;case"-":return!r&&n.b.atBlank(e,t+1,!0)?n.e.SEQ_ITEM:n.e.PLAIN;case'"':return n.e.QUOTE_DOUBLE;case"'":return n.e.QUOTE_SINGLE;default:return n.e.PLAIN}}}]),Object(n.i)(e,[{key:"nodeStartsCollection",value:function(e){var t=this.inCollection,r=this.inFlow,o=this.src;if(t||r)return!1;if(e instanceof a)return!0;var i=e.range.end;return"\n"!==o[i]&&"\n"!==o[i-1]&&":"===o[i=n.b.endOfWhiteSpace(o,i)]}},{key:"parseProps",value:function(t){for(var r=this.inFlow,o=this.parent,a=this.src,i=[],s=!1,c=a[t=this.atLineStart?n.b.endOfIndent(a,t):n.b.endOfWhiteSpace(a,t)];c===n.a.ANCHOR||c===n.a.COMMENT||c===n.a.TAG||"\n"===c;){if("\n"===c){var l=t+1,u=n.b.endOfIndent(a,l),p=u-(l+this.indent),f=o.type===n.e.SEQ_ITEM&&o.context.atLineStart;if(!n.b.nextNodeIsIndented(a[u],p,!f))break;this.atLineStart=!0,this.lineStart=l,s=!1,t=u}else if(c===n.a.COMMENT){var d=n.b.endOfLine(a,t+1);i.push(new n.d(t,d)),t=d}else{var h=n.b.endOfIdentifier(a,t+1);c===n.a.TAG&&","===a[h]&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(a.slice(t+1,h+13))&&(h=n.b.endOfIdentifier(a,h+5)),i.push(new n.d(t,h)),s=!0,t=n.b.endOfWhiteSpace(a,h)}c=a[t]}return s&&":"===c&&n.b.atBlank(a,t+1,!0)&&(t-=1),{props:i,type:e.parseType(a,t,r),valueStart:t}}}]),e}();function w(e){var t=[];-1!==e.indexOf("\r")&&(e=e.replace(/\r\n?/g,(function(e,r){return e.length>1&&t.push(r),"\n"})));var r=[],n=0;do{var o=new u,a=new x({src:e});n=o.parse(a,n),r.push(o)}while(n<e.length);return r.setOrigRanges=function(){if(0===t.length)return!1;for(var e=1;e<t.length;++e)t[e]-=e;for(var n=0,o=0;o<r.length;++o)n=r[o].setOrigRanges(t,n);return t.splice(0,t.length),!0},r.toString=function(){return r.join("...\n")},r}var k=r(1),S=r(21);var A={createNode:function(e,t,r){var o=new k.k(e);if(t instanceof Map){var a,i=Object(n.g)(t);try{for(i.s();!(a=i.n()).done;){var s=Object(n.o)(a.value,2),c=s[0],l=s[1];o.items.push(e.createPair(c,l,r))}}catch(e){i.e(e)}finally{i.f()}}else if(t&&"object"===Object(n.h)(t))for(var u=0,p=Object.keys(t);u<p.length;u++){var f=p[u];o.items.push(e.createPair(f,t[f],r))}return"function"==typeof e.sortMapEntries&&o.items.sort(e.sortMapEntries),o},default:!0,nodeClass:k.k,tag:"tag:yaml.org,2002:map",resolve:k.n};var O={createNode:function(e,t,r){var o=new k.g(e);if(t&&t[Symbol.iterator]){var a,i=Object(n.g)(t);try{for(i.s();!(a=i.n()).done;){var s=a.value,c=e.createNode(s,r.wrapScalars,null,r);o.items.push(c)}}catch(e){i.e(e)}finally{i.f()}}return o},default:!0,nodeClass:k.g,tag:"tag:yaml.org,2002:seq",resolve:k.o},E={identify:function(e){return"string"==typeof e},default:!0,tag:"tag:yaml.org,2002:str",resolve:k.q,stringify:function(e,t,r,n){return t=Object.assign({actualString:!0},t),Object(k.j)(e,t,r,n)},options:k.v},D=[A,O,E],C=function(e){return"bigint"==typeof e||Number.isInteger(e)},j=function(e,t,r){return k.p.asBigInt?BigInt(e):parseInt(t,r)};function _(e,t,r){var n=e.value;return C(n)&&n>=0?r+n.toString(t):Object(k.r)(e)}var T={identify:function(e){return null==e},createNode:function(e,t,r){return r.wrapScalars?new k.f(null):null},default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:function(){return null},options:k.t,stringify:function(){return k.t.nullStr}},I={identify:function(e){return"boolean"==typeof e},default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:function(e){return"t"===e[0]||"T"===e[0]},options:k.h,stringify:function(e){return e.value?k.h.trueStr:k.h.falseStr}},F={identify:function(e){return C(e)&&e>=0},default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:function(e,t){return j(e,t,8)},options:k.p,stringify:function(e){return _(e,8,"0o")}},P={identify:C,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:function(e){return j(e,e,10)},options:k.p,stringify:k.r},R={identify:function(e){return C(e)&&e>=0},default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:function(e,t){return j(e,t,16)},options:k.p,stringify:function(e){return _(e,16,"0x")}},B={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:function(e,t){return t?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY},stringify:k.r},L={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:function(e){return parseFloat(e)},stringify:function(e){var t=e.value;return Number(t).toExponential()}},N={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve:function(e,t,r){var n=t||r,o=new k.f(parseFloat(e));return n&&"0"===n[n.length-1]&&(o.minFractionDigits=n.length),o},stringify:k.r},M=D.concat([T,I,F,P,R,B,L,N]),q=function(e){return"bigint"==typeof e||Number.isInteger(e)},z=function(e){var t=e.value;return JSON.stringify(t)},U=[A,O,{identify:function(e){return"string"==typeof e},default:!0,tag:"tag:yaml.org,2002:str",resolve:k.q,stringify:z},{identify:function(e){return null==e},createNode:function(e,t,r){return r.wrapScalars?new k.f(null):null},default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:function(){return null},stringify:z},{identify:function(e){return"boolean"==typeof e},default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:function(e){return"true"===e},stringify:z},{identify:q,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:function(e){return k.p.asBigInt?BigInt(e):parseInt(e,10)},stringify:function(e){var t=e.value;return q(t)?t.toString():JSON.stringify(t)}},{identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:function(e){return parseFloat(e)},stringify:z}];U.scalarFallback=function(e){throw new SyntaxError("Unresolved plain scalar ".concat(JSON.stringify(e)))};var $=function(e){return e.value?k.h.trueStr:k.h.falseStr},H=function(e){return"bigint"==typeof e||Number.isInteger(e)};function W(e,t,r){var n=t.replace(/_/g,"");if(k.p.asBigInt){switch(r){case 2:n="0b".concat(n);break;case 8:n="0o".concat(n);break;case 16:n="0x".concat(n)}var o=BigInt(n);return"-"===e?BigInt(-1)*o:o}var a=parseInt(n,r);return"-"===e?-1*a:a}function V(e,t,r){var n=e.value;if(H(n)){var o=n.toString(t);return n<0?"-"+r+o.substr(1):r+o}return Object(k.r)(e)}var Y=D.concat([{identify:function(e){return null==e},createNode:function(e,t,r){return r.wrapScalars?new k.f(null):null},default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:function(){return null},options:k.t,stringify:function(){return k.t.nullStr}},{identify:function(e){return"boolean"==typeof e},default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:function(){return!0},options:k.h,stringify:$},{identify:function(e){return"boolean"==typeof e},default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:function(){return!1},options:k.h,stringify:$},{identify:H,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:function(e,t,r){return W(t,r,2)},stringify:function(e){return V(e,2,"0b")}},{identify:H,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:function(e,t,r){return W(t,r,8)},stringify:function(e){return V(e,8,"0")}},{identify:H,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:function(e,t,r){return W(t,r,10)},stringify:k.r},{identify:H,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:function(e,t,r){return W(t,r,16)},stringify:function(e){return V(e,16,"0x")}},{identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:function(e,t){return t?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY},stringify:k.r},{identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:function(e){return parseFloat(e.replace(/_/g,""))},stringify:function(e){var t=e.value;return Number(t).toExponential()}},{identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve:function(e,t){var r=new k.f(parseFloat(e.replace(/_/g,"")));if(t){var n=t.replace(/_/g,"");"0"===n[n.length-1]&&(r.minFractionDigits=n.length)}return r},stringify:k.r}],S.b,S.e,S.f,S.g,S.d,S.c,S.h),K={core:M,failsafe:D,json:U,yaml11:Y},G={binary:S.b,bool:I,float:N,floatExp:L,floatNaN:B,floatTime:S.c,int:P,intHex:R,intOct:F,intTime:S.d,map:A,null:T,omap:S.e,pairs:S.f,seq:O,set:S.g,timestamp:S.h};function J(e,t,r){if(e instanceof k.d)return e;var o=r.defaultPrefix,a=r.onTagObj,i=r.prevObjects,s=r.schema,c=r.wrapScalars;t&&t.startsWith("!!")&&(t=o+t.slice(2));var l=function(e,t,r){if(t){var n=r.filter((function(e){return e.tag===t})),o=n.find((function(e){return!e.format}))||n[0];if(!o)throw new Error("Tag ".concat(t," not found"));return o}return r.find((function(t){return(t.identify&&t.identify(e)||t.class&&e instanceof t.class)&&!t.format}))}(e,t,s.tags);if(!l){if("function"==typeof e.toJSON&&(e=e.toJSON()),"object"!==Object(n.h)(e))return c?new k.f(e):e;l=e instanceof Map?A:e[Symbol.iterator]?O:A}a&&(a(l),delete r.onTagObj);var u={};if(e&&"object"===Object(n.h)(e)&&i){var p=i.get(e);if(p){var f=new k.a(p);return r.aliasNodes.push(f),f}u.value=e,i.set(e,u)}return u.node=l.createNode?l.createNode(r.schema,e,r):c?new k.f(e):e,t&&u.node instanceof k.d&&(u.node.tag=t),u.node}var Q=function(e,t){return e.key<t.key?-1:e.key>t.key?1:0},X=function(){function e(t){var r=t.customTags,o=t.merge,a=t.schema,i=t.sortMapEntries,s=t.tags;Object(n.j)(this,e),this.merge=!!o,this.name=a,this.sortMapEntries=!0===i?Q:i||null,!r&&s&&Object(S.a)("tags","customTags"),this.tags=function(e,t,r,o){var a=e[o.replace(/\W/g,"")];if(!a){var i=Object.keys(e).map((function(e){return JSON.stringify(e)})).join(", ");throw new Error('Unknown schema "'.concat(o,'"; use one of ').concat(i))}if(Array.isArray(r)){var s,c=Object(n.g)(r);try{for(c.s();!(s=c.n()).done;){var l=s.value;a=a.concat(l)}}catch(e){c.e(e)}finally{c.f()}}else"function"==typeof r&&(a=r(a.slice()));for(var u=0;u<a.length;++u){var p=a[u];if("string"==typeof p){var f=t[p];if(!f){var d=Object.keys(t).map((function(e){return JSON.stringify(e)})).join(", ");throw new Error('Unknown custom tag "'.concat(p,'"; use one of ').concat(d))}a[u]=f}}return a}(K,G,r||s,a)}return Object(n.i)(e,[{key:"createNode",value:function(t,r,n,o){var a={defaultPrefix:e.defaultPrefix,schema:this,wrapScalars:r};return J(t,n,o?Object.assign(o,a):a)}},{key:"createPair",value:function(e,t,r){r||(r={wrapScalars:!0});var n=this.createNode(e,r.wrapScalars,null,r),o=this.createNode(t,r.wrapScalars,null,r);return new k.e(n,o)}}]),e}();Object(n.l)(X,"defaultPrefix",n.k),Object(n.l)(X,"defaultTags",n.u);var Z={anchorPrefix:"a",customTags:null,indent:2,indentSeq:!0,keepCstNodes:!1,keepNodeTypes:!0,keepBlobsInJSON:!0,mapAsMap:!1,maxAliasCount:100,prettyErrors:!1,simpleKeys:!1,version:"1.2"},ee={get binary(){return k.i},set binary(e){Object.assign(k.i,e)},get bool(){return k.h},set bool(e){Object.assign(k.h,e)},get int(){return k.p},set int(e){Object.assign(k.p,e)},get null(){return k.t},set null(e){Object.assign(k.t,e)},get str(){return k.v},set str(e){Object.assign(k.v,e)}},te={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:n.k},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:n.k}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:n.k}]}};function re(e,t){if("1.0"===(e.version||e.options.version)){var r=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(r)return"!"+r[1];var n=t.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return n?"!".concat(n[1],"/").concat(n[2]):"!".concat(t.replace(/^tag:/,""))}var o=e.tagPrefixes.find((function(e){return 0===t.indexOf(e.prefix)}));if(!o){var a=e.getDefaults().tagPrefixes;o=a&&a.find((function(e){return 0===t.indexOf(e.prefix)}))}if(!o)return"!"===t[0]?t:"!<".concat(t,">");var i=t.substr(o.prefix.length).replace(/[!,[\]{}]/g,(function(e){return{"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"}[e]}));return o.handle+i}function ne(e,t,r,o){var a,i=t.doc,s=i.anchors,c=i.schema;if(!(e instanceof k.d)){var l={aliasNodes:[],onTagObj:function(e){return a=e},prevObjects:new Map};e=c.createNode(e,!0,null,l);var u,p=Object(n.g)(l.aliasNodes);try{for(p.s();!(u=p.n()).done;){var f=u.value;f.source=f.source.node;var d=s.getName(f.source);d||(d=s.newName(),s.map[d]=f.source)}}catch(e){p.e(e)}finally{p.f()}}if(e instanceof k.e)return e.toString(t,r,o);a||(a=function(e,t){if(t instanceof k.a)return k.a;if(t.tag){var r=e.filter((function(e){return e.tag===t.tag}));if(r.length>0)return r.find((function(e){return e.format===t.format}))||r[0]}var o,a;if(t instanceof k.f){a=t.value;var i=e.filter((function(e){return e.identify&&e.identify(a)||e.class&&a instanceof e.class}));o=i.find((function(e){return e.format===t.format}))||i.find((function(e){return!e.format}))}else a=t,o=e.find((function(e){return e.nodeClass&&a instanceof e.nodeClass}));if(!o){var s=a&&a.constructor?a.constructor.name:Object(n.h)(a);throw new Error("Tag not resolved for ".concat(s," value"))}return o}(c.tags,e));var h=function(e,t,r){var n=r.anchors,o=r.doc,a=[],i=o.anchors.getName(e);return i&&(n[i]=e,a.push("&".concat(i))),e.tag?a.push(re(o,e.tag)):t.default||a.push(re(o,t.tag)),a.join(" ")}(e,a,t);h.length>0&&(t.indentAtStart=(t.indentAtStart||0)+h.length+1);var v="function"==typeof a.stringify?a.stringify(e,t,r,o):e instanceof k.f?Object(k.j)(e,t,r,o):e.toString(t,r,o);return h?e instanceof k.f||"{"===v[0]||"["===v[0]?"".concat(h," ").concat(v):"".concat(h,"\n").concat(t.indent).concat(v):v}var oe=function(){function e(t){Object(n.j)(this,e),Object(n.l)(this,"map",{}),this.prefix=t}return Object(n.i)(e,null,[{key:"validAnchorNode",value:function(e){return e instanceof k.f||e instanceof k.g||e instanceof k.k}}]),Object(n.i)(e,[{key:"createAlias",value:function(e,t){return this.setAnchor(e,t),new k.a(e)}},{key:"createMergePair",value:function(){for(var e=this,t=new k.c,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return t.value.items=n.map((function(t){if(t instanceof k.a){if(t.source instanceof k.k)return t}else if(t instanceof k.k)return e.createAlias(t);throw new Error("Merge sources must be Map nodes or their Aliases")})),t}},{key:"getName",value:function(e){var t=this.map;return Object.keys(t).find((function(r){return t[r]===e}))}},{key:"getNames",value:function(){return Object.keys(this.map)}},{key:"getNode",value:function(e){return this.map[e]}},{key:"newName",value:function(e){e||(e=this.prefix);for(var t=Object.keys(this.map),r=1;;++r){var n="".concat(e).concat(r);if(!t.includes(n))return n}}},{key:"resolveNodes",value:function(){var e=this.map,t=this._cstAliases;Object.keys(e).forEach((function(t){e[t]=e[t].resolved})),t.forEach((function(e){e.source=e.source.resolved})),delete this._cstAliases}},{key:"setAnchor",value:function(t,r){if(null!=t&&!e.validAnchorNode(t))throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");if(r&&/[\x00-\x19\s,[\]{}]/.test(r))throw new Error("Anchor names must not contain whitespace or control characters");var n=this.map,o=t&&Object.keys(n).find((function(e){return n[e]===t}));if(o){if(!r)return o;o!==r&&(delete n[o],n[r]=t)}else{if(!r){if(!t)return null;r=this.newName()}n[r]=t}return r}}]),e}(),ae=function(e){return Object.keys(function e(t,r){if(t&&"object"===Object(n.h)(t)){var o=t.tag;t instanceof k.b?(o&&(r[o]=!0),t.items.forEach((function(t){return e(t,r)}))):t instanceof k.e?(e(t.key,r),e(t.value,r)):t instanceof k.f&&o&&(r[o]=!0)}return r}(e,{}))};function ie(e,t){var r=e.tagPrefixes,o=Object(n.o)(t.parameters,2),a=o[0],i=o[1];if(!a||!i){throw new n.n(t,"Insufficient parameters given for %TAG directive")}if(r.some((function(e){return e.handle===a}))){throw new n.n(t,"The %TAG directive must only be given at most once per handle in the same document.")}return{handle:a,prefix:i}}function se(e,t){var r=Object(n.o)(t.parameters,1)[0];if("YAML:1.0"===t.name&&(r="1.0"),!r){throw new n.n(t,"Insufficient parameters given for %YAML directive")}if(!te[r]){var o=e.version||e.options.version,a="Document will be parsed as YAML ".concat(o," rather than YAML ").concat(r);e.warnings.push(new n.m(t,a))}return r}function ce(e){if(e instanceof k.b)return!0;throw new Error("Expected a YAML collection as document contents")}var le=function(){function e(t){Object(n.j)(this,e),this.anchors=new oe(t.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=t,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}return Object(n.i)(e,[{key:"add",value:function(e){return ce(this.contents),this.contents.add(e)}},{key:"addIn",value:function(e,t){ce(this.contents),this.contents.addIn(e,t)}},{key:"delete",value:function(e){return ce(this.contents),this.contents.delete(e)}},{key:"deleteIn",value:function(e){return Object(k.l)(e)?null!=this.contents&&(this.contents=null,!0):(ce(this.contents),this.contents.deleteIn(e))}},{key:"getDefaults",value:function(){return e.defaults[this.version]||e.defaults[this.options.version]||{}}},{key:"get",value:function(e,t){return this.contents instanceof k.b?this.contents.get(e,t):void 0}},{key:"getIn",value:function(e,t){return Object(k.l)(e)?!t&&this.contents instanceof k.f?this.contents.value:this.contents:this.contents instanceof k.b?this.contents.getIn(e,t):void 0}},{key:"has",value:function(e){return this.contents instanceof k.b&&this.contents.has(e)}},{key:"hasIn",value:function(e){return Object(k.l)(e)?void 0!==this.contents:this.contents instanceof k.b&&this.contents.hasIn(e)}},{key:"set",value:function(e,t){ce(this.contents),this.contents.set(e,t)}},{key:"setIn",value:function(e,t){Object(k.l)(e)?this.contents=t:(ce(this.contents),this.contents.setIn(e,t))}},{key:"setSchema",value:function(e,t){if(e||t||!this.schema){"number"==typeof e&&(e=e.toFixed(1)),"1.0"===e||"1.1"===e||"1.2"===e?(this.version?this.version=e:this.options.version=e,delete this.options.schema):e&&"string"==typeof e&&(this.options.schema=e),Array.isArray(t)&&(this.options.customTags=t);var r=Object.assign({},this.getDefaults(),this.options);this.schema=new X(r)}}},{key:"parse",value:function(e,t){this.options.keepCstNodes&&(this.cstNode=e),this.options.keepNodeTypes&&(this.type="DOCUMENT");var r=e.directives,o=void 0===r?[]:r,a=e.contents,i=void 0===a?[]:a,s=e.directivesEndMarker,c=e.error,l=e.valueRange;if(c&&(c.source||(c.source=this),this.errors.push(c)),function(e,t,r){var o,a=[],i=!1,s=Object(n.g)(t);try{for(s.s();!(o=s.n()).done;){var c=o.value,l=c.comment,u=c.name;switch(u){case"TAG":try{e.tagPrefixes.push(ie(e,c))}catch(t){e.errors.push(t)}i=!0;break;case"YAML":case"YAML:1.0":if(e.version){e.errors.push(new n.n(c,"The %YAML directive must only be given at most once per document."))}try{e.version=se(e,c)}catch(t){e.errors.push(t)}i=!0;break;default:if(u){var p="YAML only supports %TAG and %YAML directives, and not %".concat(u);e.warnings.push(new n.m(c,p))}}l&&a.push(l)}}catch(e){s.e(e)}finally{s.f()}if(r&&!i&&"1.1"===(e.version||r.version||e.options.version)){e.tagPrefixes=r.tagPrefixes.map((function(e){return{handle:e.handle,prefix:e.prefix}})),e.version=r.version}e.commentBefore=a.join("\n")||null}(this,o,t),s&&(this.directivesEndMarker=!0),this.range=l?[l.start,l.end]:null,this.setSchema(),this.anchors._cstAliases=[],function(e,t){var r,o={before:[],after:[]},a=void 0,i=!1,s=Object(n.g)(t);try{for(s.s();!(r=s.n()).done;){var c=r.value;if(c.valueRange){if(void 0!==a){e.errors.push(new n.f(c,"Document contains trailing content not separated by a ... or --- line"));break}var l=Object(k.u)(e,c);i&&(l.spaceBefore=!0,i=!1),a=l}else if(null!==c.comment){(void 0===a?o.before:o.after).push(c.comment)}else c.type===n.e.BLANK_LINE&&(i=!0,void 0===a&&o.before.length>0&&!e.commentBefore&&(e.commentBefore=o.before.join("\n"),o.before=[]))}}catch(e){s.e(e)}finally{s.f()}if(e.contents=a||null,a){var u=o.before.join("\n");if(u){var p=a instanceof k.b&&a.items[0]?a.items[0]:a;p.commentBefore=p.commentBefore?"".concat(u,"\n").concat(p.commentBefore):u}e.comment=o.after.join("\n")||null}else e.comment=o.before.concat(o.after).join("\n")||null}(this,i),this.anchors.resolveNodes(),this.options.prettyErrors){var u,p=Object(n.g)(this.errors);try{for(p.s();!(u=p.n()).done;){var f=u.value;f instanceof n.p&&f.makePretty()}}catch(e){p.e(e)}finally{p.f()}var d,h=Object(n.g)(this.warnings);try{for(h.s();!(d=h.n()).done;){var v=d.value;v instanceof n.p&&v.makePretty()}}catch(e){h.e(e)}finally{h.f()}}return this}},{key:"listNonDefaultTags",value:function(){return ae(this.contents).filter((function(e){return 0!==e.indexOf(X.defaultPrefix)}))}},{key:"setTagPrefix",value:function(e,t){if("!"!==e[0]||"!"!==e[e.length-1])throw new Error("Handle must start and end with !");if(t){var r=this.tagPrefixes.find((function(t){return t.handle===e}));r?r.prefix=t:this.tagPrefixes.push({handle:e,prefix:t})}else this.tagPrefixes=this.tagPrefixes.filter((function(t){return t.handle!==e}))}},{key:"toJSON",value:function(e,t){var r=this,o=this.options,a=o.keepBlobsInJSON,i=o.mapAsMap,s=o.maxAliasCount,c=a&&("string"!=typeof e||!(this.contents instanceof k.f)),l={doc:this,indentStep:" ",keep:c,mapAsMap:c&&!!i,maxAliasCount:s,stringify:ne},u=Object.keys(this.anchors.map);u.length>0&&(l.anchors=new Map(u.map((function(e){return[r.anchors.map[e],{alias:[],aliasCount:0,count:1}]}))));var p=Object(k.w)(this.contents,e,l);if("function"==typeof t&&l.anchors){var f,d=Object(n.g)(l.anchors.values());try{for(d.s();!(f=d.n()).done;){var h=f.value,v=h.count;t(h.res,v)}}catch(e){d.e(e)}finally{d.f()}}return p}},{key:"toString",value:function(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");var e=this.options.indent;if(!Number.isInteger(e)||e<=0){var t=JSON.stringify(e);throw new Error('"indent" option must be a positive integer, not '.concat(t))}this.setSchema();var r=[],n=!1;if(this.version){var o="%YAML 1.2";"yaml-1.1"===this.schema.name&&("1.0"===this.version?o="%YAML:1.0":"1.1"===this.version&&(o="%YAML 1.1")),r.push(o),n=!0}var a=this.listNonDefaultTags();this.tagPrefixes.forEach((function(e){var t=e.handle,o=e.prefix;a.some((function(e){return 0===e.indexOf(o)}))&&(r.push("%TAG ".concat(t," ").concat(o)),n=!0)})),(n||this.directivesEndMarker)&&r.push("---"),this.commentBefore&&(!n&&this.directivesEndMarker||r.unshift(""),r.unshift(this.commentBefore.replace(/^/gm,"#")));var i={anchors:{},doc:this,indent:"",indentStep:" ".repeat(e),stringify:ne},s=!1,c=null;if(this.contents){this.contents instanceof k.d&&(this.contents.spaceBefore&&(n||this.directivesEndMarker)&&r.push(""),this.contents.commentBefore&&r.push(this.contents.commentBefore.replace(/^/gm,"#")),i.forceBlockIndent=!!this.comment,c=this.contents.comment);var l=c?null:function(){return s=!0},u=ne(this.contents,i,(function(){return c=null}),l);r.push(Object(k.m)(u,"",c))}else void 0!==this.contents&&r.push(ne(this.contents,i));return this.comment&&(s&&!c||""===r[r.length-1]||r.push(""),r.push(this.comment.replace(/^/gm,"#"))),r.join("\n")+"\n"}}]),e}();Object(n.l)(le,"defaults",te);var ue=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e){return Object(n.j)(this,r),t.call(this,Object.assign({},Z,e))}return r}(le);function pe(e,t){var r=w(e),o=new ue(t).parse(r[0]);if(r.length>1){o.errors.unshift(new n.n(r[1],"Source contains multiple documents; please use YAML.parseAllDocuments()"))}return o}var fe={createNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2?arguments[2]:void 0;void 0===r&&"string"==typeof t&&(r=t,t=!0);var n=Object.assign({},le.defaults[Z.version],Z),o=new X(n);return o.createNode(e,t,r)},defaultOptions:Z,Document:ue,parse:function(e,t){var r=pe(e,t);if(r.warnings.forEach((function(e){return Object(S.i)(e)})),r.errors.length>0)throw r.errors[0];return r.toJSON()},parseAllDocuments:function(e,t){var r,o,a=[],i=Object(n.g)(w(e));try{for(i.s();!(o=i.n()).done;){var s=o.value,c=new ue(t);c.parse(s,r),a.push(c),r=c}}catch(e){i.e(e)}finally{i.f()}return a},parseCST:w,parseDocument:pe,scalarOptions:ee,stringify:function(e,t){var r=new ue(t);return r.contents=e,String(r)}}}]); +/*! RapiDoc 9.0.0 | Author - Mrinmoy Majumdar | License information can be found in rapidoc-min.js.LICENSE.txt */ +(()=>{var e,t,r={652:(e,t,r)=>{"use strict";const n=new WeakMap,o=e=>"function"==typeof e&&n.has(e),a="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,i=(e,t,r=null)=>{for(;t!==r;){const r=t.nextSibling;e.removeChild(t),t=r}},s={},l={},c=`{{lit-${String(Math.random()).slice(2)}}}`,u=`\x3c!--${c}--\x3e`,p=new RegExp(`${c}|${u}`),d="$lit$";class h{constructor(e,t){this.parts=[],this.element=t;const r=[],n=[],o=document.createTreeWalker(t.content,133,null,!1);let a=0,i=-1,s=0;const{strings:l,values:{length:u}}=e;for(;s<u;){const e=o.nextNode();if(null!==e){if(i++,1===e.nodeType){if(e.hasAttributes()){const t=e.attributes,{length:r}=t;let n=0;for(let e=0;e<r;e++)f(t[e].name,d)&&n++;for(;n-- >0;){const t=l[s],r=y.exec(t)[2],n=r.toLowerCase()+d,o=e.getAttribute(n);e.removeAttribute(n);const a=o.split(p);this.parts.push({type:"attribute",index:i,name:r,strings:a}),s+=a.length-1}}"TEMPLATE"===e.tagName&&(n.push(e),o.currentNode=e.content)}else if(3===e.nodeType){const t=e.data;if(t.indexOf(c)>=0){const n=e.parentNode,o=t.split(p),a=o.length-1;for(let t=0;t<a;t++){let r,a=o[t];if(""===a)r=g();else{const e=y.exec(a);null!==e&&f(e[2],d)&&(a=a.slice(0,e.index)+e[1]+e[2].slice(0,-d.length)+e[3]),r=document.createTextNode(a)}n.insertBefore(r,e),this.parts.push({type:"node",index:++i})}""===o[a]?(n.insertBefore(g(),e),r.push(e)):e.data=o[a],s+=a}}else if(8===e.nodeType)if(e.data===c){const t=e.parentNode;null!==e.previousSibling&&i!==a||(i++,t.insertBefore(g(),e)),a=i,this.parts.push({type:"node",index:i}),null===e.nextSibling?e.data="":(r.push(e),i--),s++}else{let t=-1;for(;-1!==(t=e.data.indexOf(c,t+1));)this.parts.push({type:"node",index:-1}),s++}}else o.currentNode=n.pop()}for(const e of r)e.parentNode.removeChild(e)}}const f=(e,t)=>{const r=e.length-t.length;return r>=0&&e.slice(r)===t},m=e=>-1!==e.index,g=()=>document.createComment(""),y=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;class b{constructor(e,t,r){this.__parts=[],this.template=e,this.processor=t,this.options=r}update(e){let t=0;for(const r of this.__parts)void 0!==r&&r.setValue(e[t]),t++;for(const e of this.__parts)void 0!==e&&e.commit()}_clone(){const e=a?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),t=[],r=this.template.parts,n=document.createTreeWalker(e,133,null,!1);let o,i=0,s=0,l=n.nextNode();for(;i<r.length;)if(o=r[i],m(o)){for(;s<o.index;)s++,"TEMPLATE"===l.nodeName&&(t.push(l),n.currentNode=l.content),null===(l=n.nextNode())&&(n.currentNode=t.pop(),l=n.nextNode());if("node"===o.type){const e=this.processor.handleTextExpression(this.options);e.insertAfterNode(l.previousSibling),this.__parts.push(e)}else this.__parts.push(...this.processor.handleAttributeExpressions(l,o.name,o.strings,this.options));i++}else this.__parts.push(void 0),i++;return a&&(document.adoptNode(e),customElements.upgrade(e)),e}}const v=` ${c} `;class x{constructor(e,t,r,n){this.strings=e,this.values=t,this.type=r,this.processor=n}getHTML(){const e=this.strings.length-1;let t="",r=!1;for(let n=0;n<e;n++){const e=this.strings[n],o=e.lastIndexOf("\x3c!--");r=(o>-1||r)&&-1===e.indexOf("--\x3e",o+1);const a=y.exec(e);t+=null===a?e+(r?v:u):e.substr(0,a.index)+a[1]+a[2]+d+a[3]+c}return t+=this.strings[e],t}getTemplateElement(){const e=document.createElement("template");return e.innerHTML=this.getHTML(),e}}const w=e=>null===e||!("object"==typeof e||"function"==typeof e),k=e=>Array.isArray(e)||!(!e||!e[Symbol.iterator]);class A{constructor(e,t,r){this.dirty=!0,this.element=e,this.name=t,this.strings=r,this.parts=[];for(let e=0;e<r.length-1;e++)this.parts[e]=this._createPart()}_createPart(){return new $(this)}_getValue(){const e=this.strings,t=e.length-1;let r="";for(let n=0;n<t;n++){r+=e[n];const t=this.parts[n];if(void 0!==t){const e=t.value;if(w(e)||!k(e))r+="string"==typeof e?e:String(e);else for(const t of e)r+="string"==typeof t?t:String(t)}}return r+=e[t],r}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}class ${constructor(e){this.value=void 0,this.committer=e}setValue(e){e===s||w(e)&&e===this.value||(this.value=e,o(e)||(this.committer.dirty=!0))}commit(){for(;o(this.value);){const e=this.value;this.value=s,e(this)}this.value!==s&&this.committer.commit()}}class E{constructor(e){this.value=void 0,this.__pendingValue=void 0,this.options=e}appendInto(e){this.startNode=e.appendChild(g()),this.endNode=e.appendChild(g())}insertAfterNode(e){this.startNode=e,this.endNode=e.nextSibling}appendIntoPart(e){e.__insert(this.startNode=g()),e.__insert(this.endNode=g())}insertAfterPart(e){e.__insert(this.startNode=g()),this.endNode=e.endNode,e.endNode=this.startNode}setValue(e){this.__pendingValue=e}commit(){if(null===this.startNode.parentNode)return;for(;o(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=s,e(this)}const e=this.__pendingValue;e!==s&&(w(e)?e!==this.value&&this.__commitText(e):e instanceof x?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):k(e)?this.__commitIterable(e):e===l?(this.value=l,this.clear()):this.__commitText(e))}__insert(e){this.endNode.parentNode.insertBefore(e,this.endNode)}__commitNode(e){this.value!==e&&(this.clear(),this.__insert(e),this.value=e)}__commitText(e){const t=this.startNode.nextSibling,r="string"==typeof(e=null==e?"":e)?e:String(e);t===this.endNode.previousSibling&&3===t.nodeType?t.data=r:this.__commitNode(document.createTextNode(r)),this.value=e}__commitTemplateResult(e){const t=this.options.templateFactory(e);if(this.value instanceof b&&this.value.template===t)this.value.update(e.values);else{const r=new b(t,e.processor,this.options),n=r._clone();r.update(e.values),this.__commitNode(n),this.value=r}}__commitIterable(e){Array.isArray(this.value)||(this.value=[],this.clear());const t=this.value;let r,n=0;for(const o of e)r=t[n],void 0===r&&(r=new E(this.options),t.push(r),0===n?r.appendIntoPart(this):r.insertAfterPart(t[n-1])),r.setValue(o),r.commit(),n++;n<t.length&&(t.length=n,this.clear(r&&r.endNode))}clear(e=this.startNode){i(this.startNode.parentNode,e.nextSibling,this.endNode)}}class S{constructor(e,t,r){if(this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=t,this.strings=r}setValue(e){this.__pendingValue=e}commit(){for(;o(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=s,e(this)}if(this.__pendingValue===s)return;const e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=s}}class D extends A{constructor(e,t,r){super(e,t,r),this.single=2===r.length&&""===r[0]&&""===r[1]}_createPart(){return new O(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class O extends ${}let C=!1;(()=>{try{const e={get capture(){return C=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){}})();class _{constructor(e,t,r){this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=t,this.eventContext=r,this.__boundHandleEvent=e=>this.handleEvent(e)}setValue(e){this.__pendingValue=e}commit(){for(;o(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=s,e(this)}if(this.__pendingValue===s)return;const e=this.__pendingValue,t=this.value,r=null==e||null!=t&&(e.capture!==t.capture||e.once!==t.once||e.passive!==t.passive),n=null!=e&&(null==t||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),n&&(this.__options=j(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=s}handleEvent(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}const j=e=>e&&(C?{capture:e.capture,passive:e.passive,once:e.once}:e.capture);const T=new class{handleAttributeExpressions(e,t,r,n){const o=t[0];if("."===o){return new D(e,t.slice(1),r).parts}if("@"===o)return[new _(e,t.slice(1),n.eventContext)];if("?"===o)return[new S(e,t.slice(1),r)];return new A(e,t,r).parts}handleTextExpression(e){return new E(e)}};function F(e){let t=P.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},P.set(e.type,t));let r=t.stringsArray.get(e.strings);if(void 0!==r)return r;const n=e.strings.join(c);return r=t.keyString.get(n),void 0===r&&(r=new h(e,e.getTemplateElement()),t.keyString.set(n,r)),t.stringsArray.set(e.strings,r),r}const P=new Map,B=new WeakMap;"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.2.1");const I=(e,...t)=>new x(e,t,"html",T);window.JSCompiler_renameProperty=(e,t)=>e;const R={toAttribute(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},N=(e,t)=>t!==e&&(t==t||e==e),L={attribute:!0,type:String,converter:R,reflect:!1,hasChanged:N},q="finalized";class z extends HTMLElement{constructor(){super(),this.initialize()}static get observedAttributes(){this.finalize();const e=[];return this._classProperties.forEach(((t,r)=>{const n=this._attributeNameForProperty(r,t);void 0!==n&&(this._attributeToPropertyMap.set(n,r),e.push(n))})),e}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;const e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach(((e,t)=>this._classProperties.set(t,e)))}}static createProperty(e,t=L){if(this._ensureClassProperties(),this._classProperties.set(e,t),t.noAccessor||this.prototype.hasOwnProperty(e))return;const r="symbol"==typeof e?Symbol():`__${e}`,n=this.getPropertyDescriptor(e,r,t);void 0!==n&&Object.defineProperty(this.prototype,e,n)}static getPropertyDescriptor(e,t,r){return{get(){return this[t]},set(n){const o=this[e];this[t]=n,this.requestUpdateInternal(e,o,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this._classProperties&&this._classProperties.get(e)||L}static finalize(){const e=Object.getPrototypeOf(this);if(e.hasOwnProperty(q)||e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){const e=this.properties,t=[...Object.getOwnPropertyNames(e),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[]];for(const r of t)this.createProperty(r,e[r])}}static _attributeNameForProperty(e,t){const r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}static _valueHasChanged(e,t,r=N){return r(e,t)}static _propertyValueFromAttribute(e,t){const r=t.type,n=t.converter||R,o="function"==typeof n?n:n.fromAttribute;return o?o(e,r):e}static _propertyValueToAttribute(e,t){if(void 0===t.reflect)return;const r=t.type,n=t.converter;return(n&&n.toAttribute||R.toAttribute)(e,r)}initialize(){this._updateState=0,this._updatePromise=new Promise((e=>this._enableUpdatingResolver=e)),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}_saveInstanceProperties(){this.constructor._classProperties.forEach(((e,t)=>{if(this.hasOwnProperty(t)){const e=this[t];delete this[t],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(t,e)}}))}_applyInstanceProperties(){this._instanceProperties.forEach(((e,t)=>this[t]=e)),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(e,t,r){t!==r&&this._attributeToProperty(e,r)}_propertyToAttribute(e,t,r=L){const n=this.constructor,o=n._attributeNameForProperty(e,r);if(void 0!==o){const e=n._propertyValueToAttribute(t,r);if(void 0===e)return;this._updateState=8|this._updateState,null==e?this.removeAttribute(o):this.setAttribute(o,e),this._updateState=-9&this._updateState}}_attributeToProperty(e,t){if(8&this._updateState)return;const r=this.constructor,n=r._attributeToPropertyMap.get(e);if(void 0!==n){const e=r.getPropertyOptions(n);this._updateState=16|this._updateState,this[n]=r._propertyValueFromAttribute(t,e),this._updateState=-17&this._updateState}}requestUpdateInternal(e,t,r){let n=!0;if(void 0!==e){const o=this.constructor;r=r||o.getPropertyOptions(e),o._valueHasChanged(this[e],t,r.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0!==r.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,r))):n=!1}!this._hasRequestedUpdate&&n&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(e,t){return this.requestUpdateInternal(e,t),this.updateComplete}async _enqueueUpdate(){this._updateState=4|this._updateState;try{await this._updatePromise}catch(e){}const e=this.performUpdate();return null!=e&&await e,!this._hasRequestedUpdate}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){if(!this._hasRequestedUpdate)return;this._instanceProperties&&this._applyInstanceProperties();let e=!1;const t=this._changedProperties;try{e=this.shouldUpdate(t),e?this.update(t):this._markUpdated()}catch(t){throw e=!1,this._markUpdated(),t}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(e){return!0}update(e){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach(((e,t)=>this._propertyToAttribute(t,this[t],e))),this._reflectingProperties=void 0),this._markUpdated()}updated(e){}firstUpdated(e){}}z.finalized=!0;const U=Element.prototype;U.msMatchesSelector||U.webkitMatchesSelector;const M=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,H=Symbol();class V{constructor(e,t){if(t!==H)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){return void 0===this._styleSheet&&(M?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}const W=e=>new V(String(e),H),Y=(e,...t)=>{const r=t.reduce(((t,r,n)=>t+(e=>{if(e instanceof V)return e.cssText;if("number"==typeof e)return e;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${e}. Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security.`)})(r)+e[n+1]),e[0]);return new V(r,H)};(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");const K={};class G extends z{static getStyles(){return this.styles}static _getUniqueStyles(){if(this.hasOwnProperty(JSCompiler_renameProperty("_styles",this)))return;const e=this.getStyles();if(Array.isArray(e)){const t=(e,r)=>e.reduceRight(((e,r)=>Array.isArray(r)?t(r,e):(e.add(r),e)),r),r=t(e,new Set),n=[];r.forEach((e=>n.unshift(e))),this._styles=n}else this._styles=void 0===e?[]:[e];this._styles=this._styles.map((e=>{if(e instanceof CSSStyleSheet&&!M){const t=Array.prototype.slice.call(e.cssRules).reduce(((e,t)=>e+t.cssText),"");return W(t)}return e}))}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){const e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?M?this.renderRoot.adoptedStyleSheets=e.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map((e=>e.cssText)),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){const t=this.render();super.update(e),t!==K&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((e=>{const t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)})))}render(){return K}}G.finalized=!0,G.render=(e,t,r)=>{let n=B.get(t);void 0===n&&(i(t,t.firstChild),B.set(t,n=new E(Object.assign({templateFactory:F},r))),n.appendInto(t)),n.setValue(e),n.commit()};var J=r(84),Z=r.n(J),X=r(660),Q=r.n(X);r(251),r(358),r(46),r(503),r(277),r(874),r(366),r(57),r(16);const ee=Y`.hover-bg:hover{background:var(--bg3)}::selection{background:var(--selection-bg);color:var(--selection-fg)}.regular-font{font-family:var(--font-regular)}.mono-font{font-family:var(--font-mono)}.title{font-size:calc(var(--font-size-small) + 18px);font-weight:400}.sub-title{font-size:20px}.req-res-title{font-family:var(--font-regular);font-size:calc(var(--font-size-small) + 4px);font-weight:700;margin-bottom:8px}.tiny-title{font-size:calc(var(--font-size-small) + 1px);font-weight:700}.regular-font-size{font-size:var(--font-size-regular)}.small-font-size{font-size:var(--font-size-small)}.upper{text-transform:uppercase}.primary-text{color:var(--primary-color)}.bold-text{font-weight:700}.gray-text{color:var(--light-fg)}.red-text{color:var(--red)}.blue-text{color:var(--blue)}.multiline{overflow:scroll;max-height:var(--resp-area-height,300px);color:var(--fg3)}.method-fg.put{color:var(--orange)}.method-fg.post{color:var(--green)}.method-fg.get{color:var(--blue)}.method-fg.delete{color:var(--red)}.method-fg.head,.method-fg.options,.method-fg.patch{color:var(--yellow)}h1{font-family:var(--font-regular);font-size:28px;padding-top:10px;letter-spacing:normal;font-weight:400}h2{font-family:var(--font-regular);font-size:24px;padding-top:10px;letter-spacing:normal;font-weight:400}h3{font-family:var(--font-regular);font-size:18px;padding-top:10px;letter-spacing:normal;font-weight:400}h4{font-family:var(--font-regular);font-size:16px;padding-top:10px;letter-spacing:normal;font-weight:400}h5{font-family:var(--font-regular);font-size:14px;padding-top:10px;letter-spacing:normal;font-weight:400}h6{font-family:var(--font-regular);font-size:14px;padding-top:10px;letter-spacing:normal;font-weight:400}h1,h2,h3,h4,h5{margin-block-end:.2em}p{margin-block-start:.5em}a{color:var(--blue);cursor:pointer}a.inactive-link{color:var(--fg);text-decoration:none;cursor:text}code,pre{margin:0;font-family:var(--font-mono);font-size:calc(var(--font-size-mono) - 1px)}.m-markdown,.m-markdown-small{display:block}.m-markdown li,.m-markdown p,.m-markdown span{font-size:var(--font-size-regular);line-height:calc(var(--font-size-regular) + 8px)}.m-markdown-small li,.m-markdown-small p,.m-markdown-small span{font-size:var(--font-size-small);line-height:calc(var(--font-size-small) + 6px)}.m-markdown-small li{line-height:calc(var(--font-size-small) + 8px)}.m-markdown p:not(:first-child){margin-block-start:24px}.m-markdown-small p:not(:first-child){margin-block-start:12px}.m-markdown-small p:first-child{margin-block-start:0}.m-markdown p,.m-markdown-small p{margin-block-end:0}.m-markdown code span{font-size:var(--font-size-mono)}.m-markdown code,.m-markdown-small code{padding:1px 6px;border-radius:2px;color:var(--inline-code-fg);background-color:var(--bg3);font-size:calc(var(--font-size-mono));line-height:1.2}.m-markdown-small code{font-size:calc(var(--font-size-mono) - 1px)}.m-markdown pre,.m-markdown-small pre{white-space:pre-wrap;overflow-x:auto;line-height:normal;border-radius:2px;border:1px solid var(--code-border-color)}.m-markdown pre{padding:12px;background-color:var(--code-bg);color:var(--code-fg)}.m-markdown-small pre{margin-top:4px;padding:2px 4px;background-color:var(--bg3);color:var(--fg2)}.m-markdown pre code,.m-markdown-small pre code{border:none;padding:0}.m-markdown pre code{color:var(--code-fg);background-color:var(--code-bg);background-color:transparent}.m-markdown-small pre code{color:var(--fg2);background-color:var(--bg3)}.m-markdown ol,.m-markdown ul{padding-inline-start:30px}.m-markdown-small ol,.m-markdown-small ul{padding-inline-start:20px}.m-markdown a,.m-markdown-small a{color:var(--blue)}.m-markdown img,.m-markdown-small img{max-width:100%}.m-markdown table,.m-markdown-small table{border-spacing:0;margin:10px 0;border-collapse:separate;border:1px solid var(--border-color);border-radius:var(--border-radius);font-size:calc(var(--font-size-small) + 1px);line-height:calc(var(--font-size-small) + 4px);max-width:100%}.m-markdown-small table{font-size:var(--font-size-small);line-height:calc(var(--font-size-small) + 2px);margin:8px 0}.m-markdown td,.m-markdown th,.m-markdown-small td,.m-markdown-small th{vertical-align:top;border-top:1px solid var(--border-color);line-height:calc(var(--font-size-small) + 4px)}.m-markdown tr:first-child th,.m-markdown-small tr:first-child th{border-top:0 none}.m-markdown td,.m-markdown th{padding:10px 12px}.m-markdown-small td,.m-markdown-small th{padding:8px 8px}.m-markdown th,.m-markdown-small th{font-weight:600;background-color:var(--bg2);vertical-align:middle}.m-markdown-small table code{font-size:calc(var(--font-size-mono) - 2px)}.m-markdown table code{font-size:calc(var(--font-size-mono) - 1px)}.m-markdown blockquote,.m-markdown-small blockquote{margin-inline-start:0;margin-inline-end:0;border-left:3px solid var(--border-color);padding:6px 0 6px 6px}`,te=Y`.m-btn{border-radius:var(--border-radius);font-weight:600;display:inline-block;padding:6px 16px;font-size:var(--font-size-small);outline:0;line-height:1;text-align:center;white-space:nowrap;border:2px solid var(--primary-color);background-color:transparent;transition:background-color .2s;user-select:none;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24)}.m-btn.primary{background-color:var(--primary-color);color:var(--primary-color-invert)}.m-btn.thin-border{border-width:1px}.m-btn.large{padding:8px 14px}.m-btn.small{padding:5px 12px}.m-btn.tiny{padding:5px 6px}.m-btn.circle{border-radius:50%}.m-btn:hover{background-color:var(--primary-color);color:var(--primary-color-invert)}.m-btn.nav{border:2px solid var(--nav-accent-color)}.m-btn.nav:hover{background-color:var(--nav-accent-color)}.m-btn:disabled{background-color:var(--bg3);color:var(--fg3);border-color:var(--fg3);cursor:not-allowed;opacity:.4}.toolbar-btn{cursor:pointer;padding:4px;margin:0 2px;font-size:var(--font-size-small);min-width:50px;color:var(--primary-color-invert);border-radius:2px;border:none;background-color:var(--primary-color)}button,input,pre,select,textarea{color:var(--fg);outline:0;background-color:var(--input-bg);border:1px solid var(--border-color);border-radius:var(--border-radius)}button{font-family:var(--font-regular)}input[type=file],input[type=password],input[type=text],pre,select,textarea{font-family:var(--font-mono);font-weight:400;font-size:var(--font-size-small);transition:border .2s;padding:6px 5px}select{font-family:var(--font-regular);padding:5px 30px 5px 5px;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%3E%3Cpath%20d%3D%22M10.3%203.3L6%207.6%201.7%203.3A1%201%200%2000.3%204.7l5%205a1%201%200%20001.4%200l5-5a1%201%200%2010-1.4-1.4z%22%20fill%3D%22%23777777%22%2F%3E%3C%2Fsvg%3E");background-position:calc(100% - 5px) center;background-repeat:no-repeat;background-size:10px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}select:hover{border-color:var(--primary-color)}input[type=password]::placeholder,input[type=text]::placeholder,textarea::placeholder{color:var(--placeholder-color);opacity:1}input[type=password]:active,input[type=password]:focus,input[type=text]:active,input[type=text]:focus,select:focus,textarea:active,textarea:focus{border:1px solid var(--primary-color)}input[type=file]{font-family:var(--font-regular);padding:2px;cursor:pointer;border:1px solid var(--primary-color);min-height:calc(var(--font-size-small) + 18px)}input[type=file]::-webkit-file-upload-button{font-family:var(--font-regular);font-size:var(--font-size-small);outline:0;cursor:pointer;padding:3px 8px;border:1px solid var(--primary-color);background-color:var(--primary-color);color:var(--primary-color-invert);border-radius:var(--border-radius);-webkit-appearance:none}pre,textarea{scrollbar-width:thin;scrollbar-color:var(--border-color) var(--input-bg)}pre::-webkit-scrollbar,textarea::-webkit-scrollbar{width:8px;height:8px}pre::-webkit-scrollbar-track,textarea::-webkit-scrollbar-track{background:var(--input-bg)}pre::-webkit-scrollbar-thumb,textarea::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--border-color)}.link{font-size:var(--font-size-small);text-decoration:underline;color:var(--blue);font-family:var(--font-mono);margin-bottom:2px}input[type=checkbox]:focus{outline:0}input[type=checkbox]{appearance:none;display:inline-block;background-color:var(--light-bg);border:1px solid var(--light-bg);border-radius:9px;cursor:pointer;height:18px;position:relative;transition:border .25s .15s,box-shadow .25s .3s,padding .25s;min-width:36px;width:36px;vertical-align:top}input[type=checkbox]:after{position:absolute;background-color:var(--bg);border:1px solid var(--light-bg);border-radius:8px;content:'';top:0;left:0;right:16px;display:block;height:16px;transition:border .25s .15s,left .25s .1s,right .15s .175s}input[type=checkbox]:checked{box-shadow:inset 0 0 0 13px var(--green);border-color:var(--green)}input[type=checkbox]:checked:after{border:1px solid var(--green);left:16px;right:1px;transition:border .25s,left .15s .25s,right .25s .175s}`,re=Y`.col,.row{display:flex}.row{align-items:center;flex-direction:row}.col{align-items:stretch;flex-direction:column}`,ne=Y`.m-table{border-spacing:0;border-collapse:separate;border:1px solid var(--light-border-color);border-radius:var(--border-radius);margin:0;max-width:100%}.m-table tr:first-child td,.m-table tr:first-child th{border-top:0 none}.m-table td,.m-table th{font-size:var(--font-size-small);line-height:calc(var(--font-size-small) + 4px);padding:4px 5px 4px;vertical-align:top}.m-table.padded-12 td,.m-table.padded-12 th{padding:12px}.m-table td:not([align]),.m-table th:not([align]){text-align:left}.m-table th{color:var(--fg2);font-size:var(--font-size-small);line-height:calc(var(--font-size-small) + 18px);font-weight:600;letter-spacing:normal;background-color:var(--bg2);vertical-align:bottom;border-bottom:1px solid var(--light-border-color)}.m-table>tbody>tr>td,.m-table>tr>td{border-top:1px solid var(--light-border-color);text-overflow:ellipsis;overflow:hidden}.table-title{font-size:var(--font-size-small);font-weight:700;vertical-align:middle;margin:12px 0 4px 0}`,oe=Y`.only-large-screen{display:none}.endpoint-head .path{display:flex;font-family:var(--font-mono);font-size:var(--font-size-small);align-items:center;overflow-wrap:break-word;word-break:break-all}.endpoint-head .descr{font-size:var(--font-size-small);color:var(--light-fg);font-weight:400;align-items:center;overflow-wrap:break-word;word-break:break-all;display:none}.m-endpoint.expanded{margin-bottom:16px}.m-endpoint>.endpoint-head{border-width:1px 1px 1px 5px;border-style:solid;border-color:transparent;border-top-color:var(--light-border-color);display:flex;padding:6px 16px;align-items:center;cursor:pointer}.m-endpoint>.endpoint-head.put.expanded,.m-endpoint>.endpoint-head.put:hover{border-color:var(--orange);background-color:var(--light-orange)}.m-endpoint>.endpoint-head.post.expanded,.m-endpoint>.endpoint-head.post:hover{border-color:var(--green);background-color:var(--light-green)}.m-endpoint>.endpoint-head.get.expanded,.m-endpoint>.endpoint-head.get:hover{border-color:var(--blue);background-color:var(--light-blue)}.m-endpoint>.endpoint-head.delete.expanded,.m-endpoint>.endpoint-head.delete:hover{border-color:var(--red);background-color:var(--light-red)}.m-endpoint>.endpoint-head.head.expanded,.m-endpoint>.endpoint-head.head:hover,.m-endpoint>.endpoint-head.options.expanded,.m-endpoint>.endpoint-head.options:hover,.m-endpoint>.endpoint-head.patch.expanded,.m-endpoint>.endpoint-head.patch:hover{border-color:var(--yellow);background-color:var(--light-yellow)}.m-endpoint>.endpoint-head.deprecated.expanded,.m-endpoint>.endpoint-head.deprecated:hover{border-color:var(--border-color);filter:opacity(.6)}.m-endpoint .endpoint-body{flex-wrap:wrap;padding:16px 0 0 0;border-width:0 1px 1px 5px;border-style:solid;box-shadow:0 4px 3px -3px rgba(0,0,0,.15)}.m-endpoint .endpoint-body.delete{border-color:var(--red)}.m-endpoint .endpoint-body.put{border-color:var(--orange)}.m-endpoint .endpoint-body.post{border-color:var(--green)}.m-endpoint .endpoint-body.get{border-color:var(--blue)}.m-endpoint .endpoint-body.head,.m-endpoint .endpoint-body.options,.m-endpoint .endpoint-body.patch{border-color:var(--yellow)}.m-endpoint .endpoint-body.deprecated{border-color:var(--border-color);filter:opacity(.6)}.endpoint-head .deprecated{color:var(--light-fg);filter:opacity(.6)}.summary{padding:8px 8px}.summary .title{font-size:calc(var(--font-size-regular) + 2px);margin-bottom:6px;word-break:break-all}.method{padding:2px 5px;vertical-align:middle;font-size:var(--font-size-small);height:calc(var(--font-size-small) + 16px);line-height:calc(var(--font-size-small) + 8px);width:60px;border-radius:2px;display:inline-block;text-align:center;font-weight:700;text-transform:uppercase;margin-right:5px}.method.delete{border:2px solid var(--red)}.method.put{border:2px solid var(--orange)}.method.post{border:2px solid var(--green)}.method.get{border:2px solid var(--blue)}.method.get.deprecated{border:2px solid var(--border-color)}.method.head,.method.options,.method.patch{border:2px solid var(--yellow)}.req-resp-container{display:flex;margin-top:16px;align-items:stretch;flex-wrap:wrap;flex-direction:column;border-top:1px solid var(--light-border-color)}api-request.view-mode,api-response.view-mode{flex:1;min-height:100px;padding:16px 8px;overflow:hidden}api-request.view-mode{border-width:0 0 1px 0;border-style:dashed}.head api-request.view-mode,.options api-request.view-mode,.patch api-request.view-mode{border-color:var(--yellow)}.put api-request.view-mode{border-color:var(--orange)}.post api-request.view-mode{border-color:var(--green)}.get api-request.view-mode{border-color:var(--blue)}.delete api-request.view-mode{border-color:var(--red)}@media only screen and (min-width:1024px){.only-large-screen{display:block}.endpoint-head .path{font-size:var(--font-size-regular);min-width:400px}.endpoint-head .descr{display:flex}.descr .m-markdown-small,.endpoint-head .m-markdown-small{display:block}.req-resp-container{flex-direction:var(--layout,row)}api-response.view-mode{padding:16px}api-request.view-mode{border-width:0 1px 0 0;padding:16px}.summary{padding:8px 16px}}`,ae=Y`code[class*=language-],pre[class*=language-]{text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;tab-size:2;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-]{white-space:normal}.token.block-comment,.token.cdata,.token.comment,.token.doctype,.token.prolog{color:var(--light-fg)}.token.punctuation{color:var(--fg)}.token.attr-name,.token.deleted,.token.namespace,.token.tag{color:var(--pink)}.token.function-name{color:var(--blue)}.token.boolean,.token.function,.token.number{color:var(--red)}.token.class-name,.token.constant,.token.property,.token.symbol{color:var(--code-property-color)}.token.atrule,.token.builtin,.token.important,.token.keyword,.token.selector{color:var(--code-keyword-color)}.token.attr-value,.token.char,.token.regex,.token.string,.token.variable{color:var(--green)}.token.entity,.token.operator,.token.url{color:var(--code-operator-color)}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}`,ie=Y`.tab-panel{border:none}.tab-buttons{height:30px;border-bottom:1px solid var(--light-border-color);align-items:stretch;overflow-y:hidden;overflow-x:auto;scrollbar-width:thin}.tab-buttons::-webkit-scrollbar{height:1px;background-color:var(--border-color)}.tab-btn{border:none;border-bottom:3px solid transparent;color:var(--light-fg);background-color:transparent;white-space:nowrap;cursor:pointer;outline:0;font-family:var(--font-regular);font-size:var(--font-size-small);margin-right:16px;padding:1px}.tab-btn.active{border-bottom:3px solid var(--primary-color);font-weight:700;color:var(--primary-color)}.tab-btn:hover{color:var(--primary-color)}.tab-content{margin:-1px 0 0 0;position:relative}`,se=Y`.nav-bar{width:0;height:100%;overflow:hidden;color:var(--nav-text-color);background-color:var(--nav-bg-color);background-blend-mode:multiply;line-height:calc(var(--font-size-small) + 4px);display:none;position:relative;flex-direction:column;flex-wrap:nowrap;word-break:break-word}.nav-scroll{overflow-x:hidden;overflow-y:auto;overflow-y:overlay;scrollbar-width:thin;scrollbar-color:var(--nav-hover-bg-color) transparent}.nav-bar-tag{display:flex;align-items:center;justify-content:space-between;flex-direction:row}.nav-bar.read .nav-bar-tag-icon{display:none}.nav-bar-tag-icon{color:var(--nav-text-color);font-size:20px;margin-right:-16px}.nav-bar-tag-icon:hover{color:var(--nav-hover-text-color)}.nav-bar.focused .nav-bar-tag-and-paths.collapsed .nav-bar-paths-under-tag{display:none}.nav-bar.focused .nav-bar-tag-and-paths.collapsed .nav-bar-tag-icon::after{content:'⌵';width:16px;height:16px;text-align:center;display:inline-block;transform:rotate(270deg)}.nav-bar.focused .nav-bar-tag-and-paths.expanded .nav-bar-tag-icon::after{content:'⌵';width:16px;height:16px;text-align:center;display:inline-block}.nav-scroll::-webkit-scrollbar{width:10px}.nav-scroll::-webkit-scrollbar-track{background:0 0}.nav-scroll::-webkit-scrollbar-thumb{background-color:var(--nav-hover-bg-color)}.nav-bar-tag{font-size:var(--font-size-regular);color:var(--nav-accent-color);border-left:4px solid transparent;font-weight:700;padding:15px 30px 15px 10px;text-transform:capitalize}.nav-bar-components,.nav-bar-h1,.nav-bar-h2,.nav-bar-info,.nav-bar-path,.nav-bar-tag{display:flex;cursor:pointer;border-left:4px solid transparent}.nav-bar-h1,.nav-bar-h2,.nav-bar-path{font-size:calc(var(--font-size-small) + 1px);padding:var(--nav-item-padding)}.nav-bar-path.small-font{font-size:var(--font-size-small)}.nav-bar-info{font-size:var(--font-size-regular);padding:16px 10px;font-weight:700}.nav-bar-section{display:flex;flex-direction:row;justify-content:space-between;font-size:var(--font-size-small);color:var(--nav-text-color);padding:15px 15px 5px 5px;filter:opacity(.5);font-weight:700;border-bottom:1px solid var(--nav-text-color)}.nav-bar-section:first-child{display:none}.nav-bar-h2{margin-left:12px}.nav-bar-h1.active,.nav-bar-h2.active,.nav-bar-info.active,.nav-bar-path.active,.nav-bar-tag.active{border-left:4px solid var(--nav-accent-color);color:var(--nav-hover-text-color)}.nav-bar-h1:hover,.nav-bar-h2:hover,.nav-bar-info:hover,.nav-bar-path:hover,.nav-bar-tag:hover{color:var(--nav-hover-text-color);background-color:var(--nav-hover-bg-color)}`,le=Y`#api-info{font-size:calc(var(--font-size-regular) - 1px);margin-top:8px margin-left: -15px}#api-info span:before{content:"|";display:inline-block;opacity:.5;width:15px;text-align:center}#api-info span:first-child:before{content:"";width:0}`,ce=Y``;const ue=new RegExp(/[\s#:?&={}]/,"g"),pe="_rapidoc_api_key";function de(e){return new Promise((t=>setTimeout(t,e)))}function he(e,t){const r=t.currentTarget,n=document.createElement("textarea");n.value=e,n.style.position="fixed",document.body.appendChild(n),n.focus(),n.select();try{document.execCommand("copy"),r.innerText="Copied",setTimeout((()=>{r.innerText="Copy"}),5e3)}catch(e){console.error("Unable to copy",e)}document.body.removeChild(n)}function fe(e,t){return`${t.method} ${t.path} ${t.summary||t.description||""} ${t.operationId||""}`.toLowerCase().includes(e.toLowerCase())}function me(e,t=new Set){return e?(Object.keys(e).forEach((r=>{var n;if(t.add(r),e[r].properties)me(e[r].properties,t);else if(null!==(n=e[r].items)&&void 0!==n&&n.properties){var o;me(null===(o=e[r].items)||void 0===o?void 0:o.properties,t)}})),t):t}var ge=r(764).Buffer;function ye(e){var t={exports:{}};return e(t,t.exports),t.exports}function be(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.')}var ve,xe="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,we="object"==typeof self&&self&&self.Object===Object&&self,ke=xe||we||Function("return this")(),Ae=ke.Symbol,$e=Object.prototype,Ee=$e.hasOwnProperty,Se=$e.toString,De=Ae?Ae.toStringTag:void 0,Oe=Object.prototype.toString,Ce=Ae?Ae.toStringTag:void 0,_e=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Ce&&Ce in Object(e)?function(e){var t=Ee.call(e,De),r=e[De];try{e[De]=void 0;var n=!0}catch(e){}var o=Se.call(e);return n&&(t?e[De]=r:delete e[De]),o}(e):function(e){return Oe.call(e)}(e)},je=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},Te=function(e){if(!je(e))return!1;var t=_e(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Fe=ke["__core-js_shared__"],Pe=(ve=/[^.]+$/.exec(Fe&&Fe.keys&&Fe.keys.IE_PROTO||""))?"Symbol(src)_1."+ve:"",Be=Function.prototype.toString,Ie=function(e){if(null!=e){try{return Be.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Re=/^\[object .+?Constructor\]$/,Ne=Function.prototype,Le=Object.prototype,qe=Ne.toString,ze=Le.hasOwnProperty,Ue=RegExp("^"+qe.call(ze).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Me=function(e){return!(!je(e)||function(e){return!!Pe&&Pe in e}(e))&&(Te(e)?Ue:Re).test(Ie(e))},He=function(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return Me(r)?r:void 0},Ve=function(){try{var e=He(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),We=function(e,t,r){"__proto__"==t&&Ve?Ve(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r},Ye=function(e,t){return e===t||e!=e&&t!=t},Ke=Object.prototype.hasOwnProperty,Ge=function(e,t,r){var n=e[t];Ke.call(e,t)&&Ye(n,r)&&(void 0!==r||t in e)||We(e,t,r)},Je=function(e,t,r,n){var o=!r;r||(r={});for(var a=-1,i=t.length;++a<i;){var s=t[a],l=n?n(r[s],e[s],s,r,e):void 0;void 0===l&&(l=e[s]),o?We(r,s,l):Ge(r,s,l)}return r},Ze=function(e){return e},Xe=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)},Qe=Math.max,et=function(e,t,r){return t=Qe(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=Qe(n.length-t,0),i=Array(a);++o<a;)i[o]=n[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=n[o];return s[t]=r(i),Xe(e,this,s)}},tt=function(e){return function(){return e}},rt=Ve?function(e,t){return Ve(e,"toString",{configurable:!0,enumerable:!1,value:tt(t),writable:!0})}:Ze,nt=Date.now,ot=function(e){var t=0,r=0;return function(){var n=nt(),o=16-(n-r);if(r=n,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(rt),at=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},it=function(e){return null!=e&&at(e.length)&&!Te(e)},st=/^(?:0|[1-9]\d*)$/,lt=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&st.test(e))&&e>-1&&e%1==0&&e<t},ct=Object.prototype,ut=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ct)},pt=function(e){return null!=e&&"object"==typeof e},dt=function(e){return pt(e)&&"[object Arguments]"==_e(e)},ht=Object.prototype,ft=ht.hasOwnProperty,mt=ht.propertyIsEnumerable,gt=dt(function(){return arguments}())?dt:function(e){return pt(e)&&ft.call(e,"callee")&&!mt.call(e,"callee")},yt=Array.isArray,bt=function(){return!1},vt=ye((function(e,t){var r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r?ke.Buffer:void 0,a=(o?o.isBuffer:void 0)||bt;e.exports=a})),xt={};xt["[object Float32Array]"]=xt["[object Float64Array]"]=xt["[object Int8Array]"]=xt["[object Int16Array]"]=xt["[object Int32Array]"]=xt["[object Uint8Array]"]=xt["[object Uint8ClampedArray]"]=xt["[object Uint16Array]"]=xt["[object Uint32Array]"]=!0,xt["[object Arguments]"]=xt["[object Array]"]=xt["[object ArrayBuffer]"]=xt["[object Boolean]"]=xt["[object DataView]"]=xt["[object Date]"]=xt["[object Error]"]=xt["[object Function]"]=xt["[object Map]"]=xt["[object Number]"]=xt["[object Object]"]=xt["[object RegExp]"]=xt["[object Set]"]=xt["[object String]"]=xt["[object WeakMap]"]=!1;var wt=function(e){return function(t){return e(t)}},kt=ye((function(e,t){var r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r&&xe.process,a=function(){try{return n&&n.require&&n.require("util").types||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a})),At=kt&&kt.isTypedArray,$t=At?wt(At):function(e){return pt(e)&&at(e.length)&&!!xt[_e(e)]},Et=Object.prototype.hasOwnProperty,St=function(e,t){var r=yt(e),n=!r&>(e),o=!r&&!n&&vt(e),a=!r&&!n&&!o&&$t(e),i=r||n||o||a,s=i?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],l=s.length;for(var c in e)!t&&!Et.call(e,c)||i&&("length"==c||o&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||lt(c,l))||s.push(c);return s},Dt=function(e,t){return function(r){return e(t(r))}},Ot=Dt(Object.keys,Object),Ct=Object.prototype.hasOwnProperty,_t=function(e){if(!ut(e))return Ot(e);var t=[];for(var r in Object(e))Ct.call(e,r)&&"constructor"!=r&&t.push(r);return t},jt=function(e){return it(e)?St(e):_t(e)},Tt=Object.prototype.hasOwnProperty,Ft=function(e){return function(e,t){return ot(et(e,t,Ze),e+"")}((function(t,r){var n=-1,o=r.length,a=o>1?r[o-1]:void 0,i=o>2?r[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,i&&function(e,t,r){if(!je(r))return!1;var n=typeof t;return!!("number"==n?it(r)&<(t,r.length):"string"==n&&t in r)&&Ye(r[t],e)}(r[0],r[1],i)&&(a=o<3?void 0:a,o=1),t=Object(t);++n<o;){var s=r[n];s&&e(t,s,n,a)}return t}))}((function(e,t){if(ut(t)||it(t))Je(t,jt(t),e);else for(var r in t)Tt.call(t,r)&&Ge(e,r,t[r])})),Pt=function(e){return"symbol"==typeof e||pt(e)&&"[object Symbol]"==_e(e)},Bt=Ae?Ae.prototype:void 0,It=Bt?Bt.toString:void 0,Rt=function e(t){if("string"==typeof t)return t;if(yt(t))return function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}(t,e)+"";if(Pt(t))return It?It.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r},Nt=/\s/,Lt=/^\s+/,qt=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&Nt.test(e.charAt(t)););return t}(e)+1).replace(Lt,""):e},zt=/^[-+]0x[0-9a-f]+$/i,Ut=/^0b[01]+$/i,Mt=/^0o[0-7]+$/i,Ht=parseInt,Vt=function(e){return e?1/0===(e=function(e){if("number"==typeof e)return e;if(Pt(e))return NaN;if(je(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=je(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=qt(e);var r=Ut.test(e);return r||Mt.test(e)?Ht(e.slice(2),r?2:8):zt.test(e)?NaN:+e}(e))||-1/0===e?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0},Wt=function(e){var t=Vt(e),r=t%1;return t==t?r?t-r:t:0},Yt=function(e){return null==e?"":Rt(e)},Kt=function(e,t,r){return e=Yt(e),r=null==r?0:function(e,t,r){return e==e&&(void 0!==r&&(e=e<=r?e:r),void 0!==t&&(e=e>=t?e:t)),e}(Wt(r),0,e.length),t=Rt(t),e.slice(r,r+t.length)==t},Gt=ye((function(e,t){!function(n){var o=t&&!t.nodeType&&t,a=e&&!e.nodeType&&e,i="object"==typeof r.g&&r.g;i.global!==i&&i.window!==i&&i.self!==i||(n=i);var s,l,c=2147483647,u=36,p=/^xn--/,d=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,g=String.fromCharCode;function y(e){throw RangeError(f[e])}function b(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function v(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+b((e=e.replace(h,".")).split("."),t).join(".")}function x(e){for(var t,r,n=[],o=0,a=e.length;o<a;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<a?56320==(64512&(r=e.charCodeAt(o++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),o--):n.push(t);return n}function w(e){return b(e,(function(e){var t="";return e>65535&&(t+=g((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+g(e)})).join("")}function k(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function A(e,t,r){var n=0;for(e=r?m(e/700):e>>1,e+=m(e/t);e>455;n+=u)e=m(e/35);return m(n+36*e/(e+38))}function $(e){var t,r,n,o,a,i,s,l,p,d,h,f=[],g=e.length,b=0,v=128,x=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&y("not-basic"),f.push(e.charCodeAt(n));for(o=r>0?r+1:0;o<g;){for(a=b,i=1,s=u;o>=g&&y("invalid-input"),((l=(h=e.charCodeAt(o++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:u)>=u||l>m((c-b)/i))&&y("overflow"),b+=l*i,!(l<(p=s<=x?1:s>=x+26?26:s-x));s+=u)i>m(c/(d=u-p))&&y("overflow"),i*=d;x=A(b-a,t=f.length+1,0==a),m(b/t)>c-v&&y("overflow"),v+=m(b/t),b%=t,f.splice(b++,0,v)}return w(f)}function E(e){var t,r,n,o,a,i,s,l,p,d,h,f,b,v,w,$=[];for(f=(e=x(e)).length,t=128,r=0,a=72,i=0;i<f;++i)(h=e[i])<128&&$.push(g(h));for(n=o=$.length,o&&$.push("-");n<f;){for(s=c,i=0;i<f;++i)(h=e[i])>=t&&h<s&&(s=h);for(s-t>m((c-r)/(b=n+1))&&y("overflow"),r+=(s-t)*b,t=s,i=0;i<f;++i)if((h=e[i])<t&&++r>c&&y("overflow"),h==t){for(l=r,p=u;!(l<(d=p<=a?1:p>=a+26?26:p-a));p+=u)w=l-d,v=u-d,$.push(g(k(d+w%v,0))),l=m(w/v);$.push(g(k(l,0))),a=A(r,b,n==o),r=0,++n}++r,++t}return $.join("")}if(s={version:"1.3.2",ucs2:{decode:x,encode:w},decode:$,encode:E,toASCII:function(e){return v(e,(function(e){return d.test(e)?"xn--"+E(e):e}))},toUnicode:function(e){return v(e,(function(e){return p.test(e)?$(e.slice(4).toLowerCase()):e}))}},o&&a)if(e.exports==o)a.exports=s;else for(l in s)s.hasOwnProperty(l)&&(o[l]=s[l]);else n.punycode=s}(this)})),Jt=function(e){return"string"==typeof e},Zt=function(e){return"object"==typeof e&&null!==e},Xt=function(e){return null===e};function Qt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var er=function(e,t,r,n){t=t||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(t);var i=1e3;n&&"number"==typeof n.maxKeys&&(i=n.maxKeys);var s=e.length;i>0&&s>i&&(s=i);for(var l=0;l<s;++l){var c,u,p,d,h=e[l].replace(a,"%20"),f=h.indexOf(r);f>=0?(c=h.substr(0,f),u=h.substr(f+1)):(c=h,u=""),p=decodeURIComponent(c),d=decodeURIComponent(u),Qt(o,p)?Array.isArray(o[p])?o[p].push(d):o[p]=[o[p],d]:o[p]=d}return o},tr=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},rr=function(e,t,r,n){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(n){var o=encodeURIComponent(tr(n))+r;return Array.isArray(e[n])?e[n].map((function(e){return o+encodeURIComponent(tr(e))})).join(t):o+encodeURIComponent(tr(e[n]))})).join(t):n?encodeURIComponent(tr(n))+r+encodeURIComponent(tr(e)):""},nr=ye((function(e,t){t.decode=t.parse=er,t.encode=t.stringify=rr})),or=vr,ar=ir;function ir(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var sr=/^([a-z0-9.+-]+:)/i,lr=/:[0-9]*$/,cr=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ur=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),pr=["'"].concat(ur),dr=["%","/","?",";","#"].concat(pr),hr=["/","?","#"],fr=/^[+a-z0-9A-Z_-]{0,63}$/,mr=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,gr={javascript:!0,"javascript:":!0},yr={javascript:!0,"javascript:":!0},br={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function vr(e,t,r){if(e&&Zt(e)&&e instanceof ir)return e;var n=new ir;return n.parse(e,t,r),n}ir.prototype.parse=function(e,t,r){if(!Jt(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e.indexOf("?"),o=-1!==n&&n<e.indexOf("#")?"?":"#",a=e.split(o);a[0]=a[0].replace(/\\/g,"/");var i=e=a.join(o);if(i=i.trim(),!r&&1===e.split("#").length){var s=cr.exec(i);if(s)return this.path=i,this.href=i,this.pathname=s[1],s[2]?(this.search=s[2],this.query=t?nr.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var l=sr.exec(i);if(l){var c=(l=l[0]).toLowerCase();this.protocol=c,i=i.substr(l.length)}if(r||l||i.match(/^\/\/[^@\/]+@[^@\/]+/)){var u="//"===i.substr(0,2);!u||l&&yr[l]||(i=i.substr(2),this.slashes=!0)}if(!yr[l]&&(u||l&&!br[l])){for(var p,d,h=-1,f=0;f<hr.length;f++)-1!==(m=i.indexOf(hr[f]))&&(-1===h||m<h)&&(h=m);for(-1!==(d=-1===h?i.lastIndexOf("@"):i.lastIndexOf("@",h))&&(p=i.slice(0,d),i=i.slice(d+1),this.auth=decodeURIComponent(p)),h=-1,f=0;f<dr.length;f++){var m;-1!==(m=i.indexOf(dr[f]))&&(-1===h||m<h)&&(h=m)}-1===h&&(h=i.length),this.host=i.slice(0,h),i=i.slice(h),this.parseHost(),this.hostname=this.hostname||"";var g="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!g)for(var y=this.hostname.split(/\./),b=(f=0,y.length);f<b;f++){var v=y[f];if(v&&!v.match(fr)){for(var x="",w=0,k=v.length;w<k;w++)v.charCodeAt(w)>127?x+="x":x+=v[w];if(!x.match(fr)){var A=y.slice(0,f),$=y.slice(f+1),E=v.match(mr);E&&(A.push(E[1]),$.unshift(E[2])),$.length&&(i="/"+$.join(".")+i),this.hostname=A.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),g||(this.hostname=Gt.toASCII(this.hostname));var S=this.port?":"+this.port:"",D=this.hostname||"";this.host=D+S,this.href+=this.host,g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==i[0]&&(i="/"+i))}if(!gr[c])for(f=0,b=pr.length;f<b;f++){var O=pr[f];if(-1!==i.indexOf(O)){var C=encodeURIComponent(O);C===O&&(C=escape(O)),i=i.split(O).join(C)}}var _=i.indexOf("#");-1!==_&&(this.hash=i.substr(_),i=i.slice(0,_));var j=i.indexOf("?");if(-1!==j?(this.search=i.substr(j),this.query=i.substr(j+1),t&&(this.query=nr.parse(this.query)),i=i.slice(0,j)):t&&(this.search="",this.query={}),i&&(this.pathname=i),br[c]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){S=this.pathname||"";var T=this.search||"";this.path=S+T}return this.href=this.format(),this},ir.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",o=!1,a="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&Zt(this.query)&&Object.keys(this.query).length&&(a=nr.stringify(this.query));var i=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||br[t])&&!1!==o?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),n&&"#"!==n.charAt(0)&&(n="#"+n),i&&"?"!==i.charAt(0)&&(i="?"+i),t+o+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(i=i.replace("#","%23"))+n},ir.prototype.resolve=function(e){return this.resolveObject(vr(e,!1,!0)).format()},ir.prototype.resolveObject=function(e){if(Jt(e)){var t=new ir;t.parse(e,!1,!0),e=t}for(var r=new ir,n=Object.keys(this),o=0;o<n.length;o++){var a=n[o];r[a]=this[a]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var i=Object.keys(e),s=0;s<i.length;s++){var l=i[s];"protocol"!==l&&(r[l]=e[l])}return br[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!br[e.protocol]){for(var c=Object.keys(e),u=0;u<c.length;u++){var p=c[u];r[p]=e[p]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||yr[e.protocol])r.pathname=e.pathname;else{for(var d=(e.pathname||"").split("/");d.length&&!(e.host=d.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var h=r.pathname||"",f=r.search||"";r.path=h+f}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var m=r.pathname&&"/"===r.pathname.charAt(0),g=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=g||m||r.host&&e.pathname,b=y,v=r.pathname&&r.pathname.split("/")||[],x=(d=e.pathname&&e.pathname.split("/")||[],r.protocol&&!br[r.protocol]);if(x&&(r.hostname="",r.port=null,r.host&&(""===v[0]?v[0]=r.host:v.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host=null),y=y&&(""===d[0]||""===v[0])),g)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,v=d;else if(d.length)v||(v=[]),v.pop(),v=v.concat(d),r.search=e.search,r.query=e.query;else if(!function(e){return null==e}(e.search))return x&&(r.hostname=r.host=v.shift(),(E=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=E.shift(),r.host=r.hostname=E.shift())),r.search=e.search,r.query=e.query,Xt(r.pathname)&&Xt(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!v.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var w=v.slice(-1)[0],k=(r.host||e.host||v.length>1)&&("."===w||".."===w)||""===w,A=0,$=v.length;$>=0;$--)"."===(w=v[$])?v.splice($,1):".."===w?(v.splice($,1),A++):A&&(v.splice($,1),A--);if(!y&&!b)for(;A--;A)v.unshift("..");!y||""===v[0]||v[0]&&"/"===v[0].charAt(0)||v.unshift(""),k&&"/"!==v.join("/").substr(-1)&&v.push("");var E,S=""===v[0]||v[0]&&"/"===v[0].charAt(0);return x&&(r.hostname=r.host=S?"":v.length?v.shift():"",(E=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=E.shift(),r.host=r.hostname=E.shift())),(y=y||r.host&&v.length)&&!S&&v.unshift(""),v.length?r.pathname=v.join("/"):(r.pathname=null,r.path=null),Xt(r.pathname)&&Xt(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},ir.prototype.parseHost=function(){var e=this.host,t=lr.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var xr,wr={parse:or,resolve:function(e,t){return vr(e,!1,!0).resolve(t)},resolveObject:function(e,t){return e?vr(e,!1,!0).resolveObject(t):t},format:function(e){return Jt(e)&&(e=vr(e)),e instanceof ir?e.format():ir.prototype.format.call(e)},Url:ar};xr="undefined"!=typeof self?self:void 0,function(e){var t="URLSearchParams"in xr,r="Symbol"in xr&&"iterator"in Symbol,n="FileReader"in xr&&"Blob"in xr&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in xr,a="ArrayBuffer"in xr;if(a)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(e){return e&&i.indexOf(Object.prototype.toString.call(e))>-1};function l(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function c(e){return"string"!=typeof e&&(e=String(e)),e}function u(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r&&(t[Symbol.iterator]=function(){return t}),t}function p(e){this.map={},e instanceof p?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function d(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function f(e){var t=new FileReader,r=h(t);return t.readAsArrayBuffer(e),r}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(e){var r;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:n&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:o&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:t&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&n&&(r=e)&&DataView.prototype.isPrototypeOf(r)?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||s(e))?this._bodyArrayBuffer=m(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var e,t,r,n=d(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,r=h(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(v)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(e,t){e=l(e),t=c(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},p.prototype.delete=function(e){delete this.map[l(e)]},p.prototype.get=function(e){return e=l(e),this.has(e)?this.map[e]:null},p.prototype.has=function(e){return this.map.hasOwnProperty(l(e))},p.prototype.set=function(e,t){this.map[l(e)]=c(t)},p.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},p.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),u(e)},p.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),u(e)},p.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),u(e)},r&&(p.prototype[Symbol.iterator]=p.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){var r,n,o=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new p(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new p(t.headers)),this.method=(n=(r=t.method||this.method||"GET").toUpperCase(),y.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function v(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function x(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new p(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},g.call(b.prototype),g.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},x.error=function(){var e=new x(null,{status:0,statusText:""});return e.type="error",e};var w=[301,302,303,307,308];x.redirect=function(e,t){if(-1===w.indexOf(t))throw new RangeError("Invalid status code");return new x(null,{status:t,headers:{location:e}})},e.DOMException=xr.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function k(t,r){return new Promise((function(o,a){var i=new b(t,r);if(i.signal&&i.signal.aborted)return a(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var e,t,r={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new p,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}})),t)};r.url="responseURL"in s?s.responseURL:r.headers.get("X-Request-URL");var n="response"in s?s.response:s.responseText;o(new x(n,r))},s.onerror=function(){a(new TypeError("Network request failed"))},s.ontimeout=function(){a(new TypeError("Network request failed"))},s.onabort=function(){a(new e.DOMException("Aborted","AbortError"))},s.open(i.method,i.url,!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&n&&(s.responseType="blob"),i.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),i.signal&&(i.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&i.signal.removeEventListener("abort",l)}),s.send(void 0===i._bodyInit?null:i._bodyInit)}))}k.polyfill=!0,xr.fetch||(xr.fetch=k,xr.Headers=p,xr.Request=b,xr.Response=x),e.Headers=p,e.Request=b,e.Response=x,e.fetch=k}({});var kr=String.prototype.replace,Ar=/%20/g,$r="RFC3986",Er={default:$r,formatters:{RFC1738:function(e){return kr.call(e,Ar,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:$r},Sr=Object.prototype.hasOwnProperty,Dr=Array.isArray,Or=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),Cr=function(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},_r={arrayToObject:Cr,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],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 o=t[n],a=o.obj[o.prop],i=Object.keys(a),s=0;s<i.length;++s){var l=i[s],c=a[l];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:a,prop:l}),r.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(Dr(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),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,o){if(0===e.length)return e;var a=e;if("symbol"==typeof e?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===r)return escape(a).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var i="",s=0;s<a.length;++s){var l=a.charCodeAt(s);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===Er.RFC1738&&(40===l||41===l)?i+=a.charAt(s):l<128?i+=Or[l]:l<2048?i+=Or[192|l>>6]+Or[128|63&l]:l<55296||l>=57344?i+=Or[224|l>>12]+Or[128|l>>6&63]+Or[128|63&l]:(s+=1,l=65536+((1023&l)<<10|1023&a.charCodeAt(s)),i+=Or[240|l>>18]+Or[128|l>>12&63]+Or[128|l>>6&63]+Or[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(Dr(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(Dr(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!Sr.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var o=t;return Dr(t)&&!Dr(r)&&(o=Cr(t,n)),Dr(t)&&Dr(r)?(r.forEach((function(r,o){if(Sr.call(t,o)){var a=t[o];a&&"object"==typeof a&&r&&"object"==typeof r?t[o]=e(a,r,n):t.push(r)}else t[o]=r})),t):Object.keys(r).reduce((function(t,o){var a=r[o];return Sr.call(t,o)?t[o]=e(t[o],a,n):t[o]=a,t}),o)}},jr=Object.prototype.hasOwnProperty,Tr={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},Fr=Array.isArray,Pr=Array.prototype.push,Br=function(e,t){Pr.apply(e,Fr(t)?t:[t])},Ir=Date.prototype.toISOString,Rr=Er.default,Nr={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:_r.encode,encodeValuesOnly:!1,format:Rr,formatter:Er.formatters[Rr],indices:!1,serializeDate:function(e){return Ir.call(e)},skipNulls:!1,strictNullHandling:!1},Lr=function e(t,r,n,o,a,i,s,l,c,u,p,d,h,f){var m,g=t;if("function"==typeof s?g=s(r,g):g instanceof Date?g=u(g):"comma"===n&&Fr(g)&&(g=_r.maybeMap(g,(function(e){return e instanceof Date?u(e):e}))),null===g){if(o)return i&&!h?i(r,Nr.encoder,f,"key",p):r;g=""}if("string"==typeof(m=g)||"number"==typeof m||"boolean"==typeof m||"symbol"==typeof m||"bigint"==typeof m||_r.isBuffer(g))return i?[d(h?r:i(r,Nr.encoder,f,"key",p))+"="+d(i(g,Nr.encoder,f,"value",p))]:[d(r)+"="+d(String(g))];var y,b=[];if(void 0===g)return b;if("comma"===n&&Fr(g))y=[{value:g.length>0?g.join(",")||null:void 0}];else if(Fr(s))y=s;else{var v=Object.keys(g);y=l?v.sort(l):v}for(var x=0;x<y.length;++x){var w=y[x],k="object"==typeof w&&void 0!==w.value?w.value:g[w];if(!a||null!==k){var A=Fr(g)?"function"==typeof n?n(r,w):r:r+(c?"."+w:"["+w+"]");Br(b,e(k,A,n,o,a,i,s,l,c,u,p,d,h,f))}}return b},qr=Object.prototype.hasOwnProperty,zr=Array.isArray,Ur={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:_r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Mr=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},Hr=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},Vr=function(e,t,r,n){if(e){var o=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,i=r.depth>0&&/(\[[^[\]]*])/.exec(o),s=i?o.slice(0,i.index):o,l=[];if(s){if(!r.plainObjects&&qr.call(Object.prototype,s)&&!r.allowPrototypes)return;l.push(s)}for(var c=0;r.depth>0&&null!==(i=a.exec(o))&&c<r.depth;){if(c+=1,!r.plainObjects&&qr.call(Object.prototype,i[1].slice(1,-1))&&!r.allowPrototypes)return;l.push(i[1])}return i&&l.push("["+o.slice(i.index)+"]"),function(e,t,r,n){for(var o=n?t:Hr(t,r),a=e.length-1;a>=0;--a){var i,s=e[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(l,10);r.parseArrays||""!==l?!isNaN(c)&&s!==l&&String(c)===l&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(i=[])[c]=o:i[l]=o:i={0:o}}o=i}return o}(l,t,r,n)}},Wr={formats:Er,parse:function(e,t){var r=function(e){if(!e)return Ur;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?Ur.charset:e.charset;return{allowDots:void 0===e.allowDots?Ur.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:Ur.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:Ur.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:Ur.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:Ur.comma,decoder:"function"==typeof e.decoder?e.decoder:Ur.decoder,delimiter:"string"==typeof e.delimiter||_r.isRegExp(e.delimiter)?e.delimiter:Ur.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:Ur.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:Ur.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:Ur.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:Ur.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:Ur.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof e?function(e,t){var r,n={},o=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=t.parameterLimit===1/0?void 0:t.parameterLimit,i=o.split(t.delimiter,a),s=-1,l=t.charset;if(t.charsetSentinel)for(r=0;r<i.length;++r)0===i[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===i[r]?l="utf-8":"utf8=%26%2310003%3B"===i[r]&&(l="iso-8859-1"),s=r,r=i.length);for(r=0;r<i.length;++r)if(r!==s){var c,u,p=i[r],d=p.indexOf("]="),h=-1===d?p.indexOf("="):d+1;-1===h?(c=t.decoder(p,Ur.decoder,l,"key"),u=t.strictNullHandling?null:""):(c=t.decoder(p.slice(0,h),Ur.decoder,l,"key"),u=_r.maybeMap(Hr(p.slice(h+1),t),(function(e){return t.decoder(e,Ur.decoder,l,"value")}))),u&&t.interpretNumericEntities&&"iso-8859-1"===l&&(u=Mr(u)),p.indexOf("[]=")>-1&&(u=zr(u)?[u]:u),qr.call(n,c)?n[c]=_r.combine(n[c],u):n[c]=u}return n}(e,r):e,o=r.plainObjects?Object.create(null):{},a=Object.keys(n),i=0;i<a.length;++i){var s=a[i],l=Vr(s,n[s],r,"string"==typeof e);o=_r.merge(o,l,r)}return _r.compact(o)},stringify:function(e,t){var r,n=e,o=function(e){if(!e)return Nr;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||Nr.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=Er.default;if(void 0!==e.format){if(!jr.call(Er.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=Er.formatters[r],o=Nr.filter;return("function"==typeof e.filter||Fr(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:Nr.addQueryPrefix,allowDots:void 0===e.allowDots?Nr.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:Nr.charsetSentinel,delimiter:void 0===e.delimiter?Nr.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:Nr.encode,encoder:"function"==typeof e.encoder?e.encoder:Nr.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:Nr.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:Nr.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:Nr.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:Nr.strictNullHandling}}(t);"function"==typeof o.filter?n=(0,o.filter)("",n):Fr(o.filter)&&(r=o.filter);var a,i=[];if("object"!=typeof n||null===n)return"";a=t&&t.arrayFormat in Tr?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var s=Tr[a];r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var l=0;l<r.length;++l){var c=r[l];o.skipNulls&&null===n[c]||Br(i,Lr(n[c],c,s,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset))}var u=i.join(o.delimiter),p=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?p+="utf8=%26%2310003%3B&":p+="utf8=%E2%9C%93&"),u.length>0?p+u:""}};function Yr(e){return null==e}var Kr={isNothing:Yr,isObject:function(e){return"object"==typeof e&&null!==e},toArray:function(e){return Array.isArray(e)?e:Yr(e)?[]:[e]},repeat:function(e,t){var r,n="";for(r=0;r<t;r+=1)n+=e;return n},isNegativeZero:function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},extend:function(e,t){var r,n,o,a;if(t)for(r=0,n=(a=Object.keys(t)).length;r<n;r+=1)e[o=a[r]]=t[o];return e}};function Gr(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}Gr.prototype=Object.create(Error.prototype),Gr.prototype.constructor=Gr,Gr.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t};var Jr=Gr;function Zr(e,t,r,n,o){this.name=e,this.buffer=t,this.position=r,this.line=n,this.column=o}Zr.prototype.getSnippet=function(e,t){var r,n,o,a,i;if(!this.buffer)return null;for(e=e||4,t=t||75,r="",n=this.position;n>0&&-1==="\0\r\nÂ…\u2028\u2029".indexOf(this.buffer.charAt(n-1));)if(n-=1,this.position-n>t/2-1){r=" ... ",n+=5;break}for(o="",a=this.position;a<this.buffer.length&&-1==="\0\r\nÂ…\u2028\u2029".indexOf(this.buffer.charAt(a));)if((a+=1)-this.position>t/2-1){o=" ... ",a-=5;break}return i=this.buffer.slice(n,a),Kr.repeat(" ",e)+r+i+o+"\n"+Kr.repeat(" ",e+this.position-n+r.length)+"^"},Zr.prototype.toString=function(e){var t,r="";return this.name&&(r+='in "'+this.name+'" '),r+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(r+=":\n"+t),r};var Xr=Zr,Qr=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],en=["scalar","sequence","mapping"],tn=function(e,t){var r,n;if(t=t||{},Object.keys(t).forEach((function(t){if(-1===Qr.indexOf(t))throw new Jr('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(r=t.styleAliases||null,n={},null!==r&&Object.keys(r).forEach((function(e){r[e].forEach((function(t){n[String(t)]=e}))})),n),-1===en.indexOf(this.kind))throw new Jr('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function rn(e,t,r){var n=[];return e.include.forEach((function(e){r=rn(e,t,r)})),e[t].forEach((function(e){r.forEach((function(t,r){t.tag===e.tag&&t.kind===e.kind&&n.push(r)})),r.push(e)})),r.filter((function(e,t){return-1===n.indexOf(t)}))}function nn(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach((function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new Jr("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")})),this.compiledImplicit=rn(this,"implicit",[]),this.compiledExplicit=rn(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,r={scalar:{},sequence:{},mapping:{},fallback:{}};function n(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}(this.compiledImplicit,this.compiledExplicit)}nn.DEFAULT=null,nn.create=function(){var e,t;switch(arguments.length){case 1:e=nn.DEFAULT,t=arguments[0];break;case 2:e=arguments[0],t=arguments[1];break;default:throw new Jr("Wrong number of arguments for Schema.create function")}if(e=Kr.toArray(e),t=Kr.toArray(t),!e.every((function(e){return e instanceof nn})))throw new Jr("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!t.every((function(e){return e instanceof tn})))throw new Jr("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new nn({include:e,explicit:t})};var on=nn,an=new on({explicit:[new tn("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}}),new tn("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}}),new tn("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})]}),sn=new tn("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"}},defaultStyle:"lowercase"}),ln=new tn("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"});function cn(e){return 48<=e&&e<=55}function un(e){return 48<=e&&e<=57}var pn,dn=new tn("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,r,n=e.length,o=0,a=!1;if(!n)return!1;if("-"!==(t=e[o])&&"+"!==t||(t=e[++o]),"0"===t){if(o+1===n)return!0;if("b"===(t=e[++o])){for(o++;o<n;o++)if("_"!==(t=e[o])){if("0"!==t&&"1"!==t)return!1;a=!0}return a&&"_"!==t}if("x"===t){for(o++;o<n;o++)if("_"!==(t=e[o])){if(!(48<=(r=e.charCodeAt(o))&&r<=57||65<=r&&r<=70||97<=r&&r<=102))return!1;a=!0}return a&&"_"!==t}for(;o<n;o++)if("_"!==(t=e[o])){if(!cn(e.charCodeAt(o)))return!1;a=!0}return a&&"_"!==t}if("_"===t)return!1;for(;o<n;o++)if("_"!==(t=e[o])){if(":"===t)break;if(!un(e.charCodeAt(o)))return!1;a=!0}return!(!a||"_"===t)&&(":"!==t||/^(:[0-5]?[0-9])+$/.test(e.slice(o)))},construct:function(e){var t,r,n=e,o=1,a=[];return-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),"-"!==(t=n[0])&&"+"!==t||("-"===t&&(o=-1),t=(n=n.slice(1))[0]),"0"===n?0:"0"===t?"b"===n[1]?o*parseInt(n.slice(2),2):"x"===n[1]?o*parseInt(n,16):o*parseInt(n,8):-1!==n.indexOf(":")?(n.split(":").forEach((function(e){a.unshift(parseInt(e,10))})),n=0,r=1,a.forEach((function(e){n+=e*r,r*=60})),o*n):o*parseInt(n,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!Kr.isNegativeZero(e)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),hn=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),fn=/^[-+]?[0-9]+e/,mn=new on({include:[an],implicit:[sn,ln,dn,new tn("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!hn.test(e)||"_"===e[e.length-1])},construct:function(e){var t,r,n,o;return r="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,o=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===r?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){o.unshift(parseFloat(e,10))})),t=0,n=1,o.forEach((function(e){t+=e*n,n*=60})),r*t):r*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||Kr.isNegativeZero(e))},represent:function(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Kr.isNegativeZero(e))return"-0.0";return r=e.toString(10),fn.test(r)?r.replace("e",".e"):r},defaultStyle:"lowercase"})]}),gn=new on({include:[mn]}),yn=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),bn=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]))?))?$"),vn=new tn("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==yn.exec(e)||null!==bn.exec(e))},construct:function(e){var t,r,n,o,a,i,s,l,c=0,u=null;if(null===(t=yn.exec(e))&&(t=bn.exec(e)),null===t)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(r,n,o));if(a=+t[4],i=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(u=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(u=-u)),l=new Date(Date.UTC(r,n,o,a,i,s,c)),u&&l.setTime(l.getTime()-u),l},instanceOf:Date,represent:function(e){return e.toISOString()}}),xn=new tn("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}});try{pn=be("buffer").Buffer}catch(e){}var wn,kn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",An=new tn("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,r,n=0,o=e.length,a=kn;for(r=0;r<o;r++)if(!((t=a.indexOf(e.charAt(r)))>64)){if(t<0)return!1;n+=6}return n%8==0},construct:function(e){var t,r,n=e.replace(/[\r\n=]/g,""),o=n.length,a=kn,i=0,s=[];for(t=0;t<o;t++)t%4==0&&t&&(s.push(i>>16&255),s.push(i>>8&255),s.push(255&i)),i=i<<6|a.indexOf(n.charAt(t));return 0==(r=o%4*6)?(s.push(i>>16&255),s.push(i>>8&255),s.push(255&i)):18===r?(s.push(i>>10&255),s.push(i>>2&255)):12===r&&s.push(i>>4&255),pn?pn.from?pn.from(s):new pn(s):s},predicate:function(e){return pn&&pn.isBuffer(e)},represent:function(e){var t,r,n="",o=0,a=e.length,i=kn;for(t=0;t<a;t++)t%3==0&&t&&(n+=i[o>>18&63],n+=i[o>>12&63],n+=i[o>>6&63],n+=i[63&o]),o=(o<<8)+e[t];return 0==(r=a%3)?(n+=i[o>>18&63],n+=i[o>>12&63],n+=i[o>>6&63],n+=i[63&o]):2===r?(n+=i[o>>10&63],n+=i[o>>4&63],n+=i[o<<2&63],n+=i[64]):1===r&&(n+=i[o>>2&63],n+=i[o<<4&63],n+=i[64],n+=i[64]),n}}),$n=Object.prototype.hasOwnProperty,En=Object.prototype.toString,Sn=new tn("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,r,n,o,a,i=[],s=e;for(t=0,r=s.length;t<r;t+=1){if(n=s[t],a=!1,"[object Object]"!==En.call(n))return!1;for(o in n)if($n.call(n,o)){if(a)return!1;a=!0}if(!a)return!1;if(-1!==i.indexOf(o))return!1;i.push(o)}return!0},construct:function(e){return null!==e?e:[]}}),Dn=Object.prototype.toString,On=new tn("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,r,n,o,a,i=e;for(a=new Array(i.length),t=0,r=i.length;t<r;t+=1){if(n=i[t],"[object Object]"!==Dn.call(n))return!1;if(1!==(o=Object.keys(n)).length)return!1;a[t]=[o[0],n[o[0]]]}return!0},construct:function(e){if(null===e)return[];var t,r,n,o,a,i=e;for(a=new Array(i.length),t=0,r=i.length;t<r;t+=1)n=i[t],o=Object.keys(n),a[t]=[o[0],n[o[0]]];return a}}),Cn=Object.prototype.hasOwnProperty,_n=new on({include:[gn],implicit:[vn,xn],explicit:[An,Sn,On,new tn("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null===e)return!0;var t,r=e;for(t in r)if(Cn.call(r,t)&&null!==r[t])return!1;return!0},construct:function(e){return null!==e?e:{}}})]}),jn=new tn("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:function(){return!0},construct:function(){},predicate:function(e){return void 0===e},represent:function(){return""}}),Tn=new tn("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:function(e){if(null===e)return!1;if(0===e.length)return!1;var t=e,r=/\/([gim]*)$/.exec(e),n="";if("/"===t[0]){if(r&&(n=r[1]),n.length>3)return!1;if("/"!==t[t.length-n.length-1])return!1}return!0},construct:function(e){var t=e,r=/\/([gim]*)$/.exec(e),n="";return"/"===t[0]&&(r&&(n=r[1]),t=t.slice(1,t.length-n.length-1)),new RegExp(t,n)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}});try{wn=be("esprima")}catch(e){"undefined"!=typeof window&&(wn=window.esprima)}var Fn=new tn("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",r=wn.parse(t,{range:!0});return"Program"===r.type&&1===r.body.length&&"ExpressionStatement"===r.body[0].type&&("ArrowFunctionExpression"===r.body[0].expression.type||"FunctionExpression"===r.body[0].expression.type)}catch(e){return!1}},construct:function(e){var t,r="("+e+")",n=wn.parse(r,{range:!0}),o=[];if("Program"!==n.type||1!==n.body.length||"ExpressionStatement"!==n.body[0].type||"ArrowFunctionExpression"!==n.body[0].expression.type&&"FunctionExpression"!==n.body[0].expression.type)throw new Error("Failed to resolve function");return n.body[0].expression.params.forEach((function(e){o.push(e.name)})),t=n.body[0].expression.body.range,"BlockStatement"===n.body[0].expression.body.type?new Function(o,r.slice(t[0]+1,t[1]-1)):new Function(o,"return "+r.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}}),Pn=on.DEFAULT=new on({include:[_n],explicit:[jn,Tn,Fn]}),Bn=Object.prototype.hasOwnProperty,In=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Rn=/[\x85\u2028\u2029]/,Nn=/[,\[\]\{\}]/,Ln=/^(?:!|!!|![a-z\-]+!)$/i,qn=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function zn(e){return Object.prototype.toString.call(e)}function Un(e){return 10===e||13===e}function Mn(e){return 9===e||32===e}function Hn(e){return 9===e||32===e||10===e||13===e}function Vn(e){return 44===e||91===e||93===e||123===e||125===e}function Wn(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function Yn(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":""}function Kn(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var Gn=new Array(256),Jn=new Array(256),Zn=0;Zn<256;Zn++)Gn[Zn]=Yn(Zn)?1:0,Jn[Zn]=Yn(Zn);function Xn(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||Pn,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.documents=[]}function Qn(e,t){return new Jr(t,new Xr(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function eo(e,t){throw Qn(e,t)}function to(e,t){e.onWarning&&e.onWarning.call(null,Qn(e,t))}var ro={YAML:function(e,t,r){var n,o,a;null!==e.version&&eo(e,"duplication of %YAML directive"),1!==r.length&&eo(e,"YAML directive accepts exactly one argument"),null===(n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&eo(e,"ill-formed argument of the YAML directive"),o=parseInt(n[1],10),a=parseInt(n[2],10),1!==o&&eo(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=a<2,1!==a&&2!==a&&to(e,"unsupported YAML version of the document")},TAG:function(e,t,r){var n,o;2!==r.length&&eo(e,"TAG directive accepts exactly two arguments"),n=r[0],o=r[1],Ln.test(n)||eo(e,"ill-formed tag handle (first argument) of the TAG directive"),Bn.call(e.tagMap,n)&&eo(e,'there is a previously declared suffix for "'+n+'" tag handle'),qn.test(o)||eo(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[n]=o}};function no(e,t,r,n){var o,a,i,s;if(t<r){if(s=e.input.slice(t,r),n)for(o=0,a=s.length;o<a;o+=1)9===(i=s.charCodeAt(o))||32<=i&&i<=1114111||eo(e,"expected valid JSON character");else In.test(s)&&eo(e,"the stream contains non-printable characters");e.result+=s}}function oo(e,t,r,n){var o,a,i,s;for(Kr.isObject(r)||eo(e,"cannot merge mappings; the provided source object is unacceptable"),i=0,s=(o=Object.keys(r)).length;i<s;i+=1)a=o[i],Bn.call(t,a)||(t[a]=r[a],n[a]=!0)}function ao(e,t,r,n,o,a,i,s){var l,c;if(Array.isArray(o))for(l=0,c=(o=Array.prototype.slice.call(o)).length;l<c;l+=1)Array.isArray(o[l])&&eo(e,"nested arrays are not supported inside keys"),"object"==typeof o&&"[object Object]"===zn(o[l])&&(o[l]="[object Object]");if("object"==typeof o&&"[object Object]"===zn(o)&&(o="[object Object]"),o=String(o),null===t&&(t={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(a))for(l=0,c=a.length;l<c;l+=1)oo(e,t,a[l],r);else oo(e,t,a,r);else e.json||Bn.call(r,o)||!Bn.call(t,o)||(e.line=i||e.line,e.position=s||e.position,eo(e,"duplicated mapping key")),t[o]=a,delete r[o];return t}function io(e){var t;10===(t=e.input.charCodeAt(e.position))?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):eo(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function so(e,t,r){for(var n=0,o=e.input.charCodeAt(e.position);0!==o;){for(;Mn(o);)o=e.input.charCodeAt(++e.position);if(t&&35===o)do{o=e.input.charCodeAt(++e.position)}while(10!==o&&13!==o&&0!==o);if(!Un(o))break;for(io(e),o=e.input.charCodeAt(e.position),n++,e.lineIndent=0;32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position)}return-1!==r&&0!==n&&e.lineIndent<r&&to(e,"deficient indentation"),n}function lo(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)||(r+=3,0!==(t=e.input.charCodeAt(r))&&!Hn(t)))}function co(e,t){1===t?e.result+=" ":t>1&&(e.result+=Kr.repeat("\n",t-1))}function uo(e,t){var r,n,o=e.tag,a=e.anchor,i=[],s=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),n=e.input.charCodeAt(e.position);0!==n&&45===n&&Hn(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,so(e,!0,-1)&&e.lineIndent<=t)i.push(null),n=e.input.charCodeAt(e.position);else if(r=e.line,fo(e,t,3,!1,!0),i.push(e.result),so(e,!0,-1),n=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&0!==n)eo(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return!!s&&(e.tag=o,e.anchor=a,e.kind="sequence",e.result=i,!0)}function po(e){var t,r,n,o,a=!1,i=!1;if(33!==(o=e.input.charCodeAt(e.position)))return!1;if(null!==e.tag&&eo(e,"duplication of a tag property"),60===(o=e.input.charCodeAt(++e.position))?(a=!0,o=e.input.charCodeAt(++e.position)):33===o?(i=!0,r="!!",o=e.input.charCodeAt(++e.position)):r="!",t=e.position,a){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&62!==o);e.position<e.length?(n=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):eo(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==o&&!Hn(o);)33===o&&(i?eo(e,"tag suffix cannot contain exclamation marks"):(r=e.input.slice(t-1,e.position+1),Ln.test(r)||eo(e,"named tag handle cannot contain such characters"),i=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);n=e.input.slice(t,e.position),Nn.test(n)&&eo(e,"tag suffix cannot contain flow indicator characters")}return n&&!qn.test(n)&&eo(e,"tag name cannot contain such characters: "+n),a?e.tag=n:Bn.call(e.tagMap,r)?e.tag=e.tagMap[r]+n:"!"===r?e.tag="!"+n:"!!"===r?e.tag="tag:yaml.org,2002:"+n:eo(e,'undeclared tag handle "'+r+'"'),!0}function ho(e){var t,r;if(38!==(r=e.input.charCodeAt(e.position)))return!1;for(null!==e.anchor&&eo(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!Hn(r)&&!Vn(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&eo(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function fo(e,t,r,n,o){var a,i,s,l,c,u,p,d,h=1,f=!1,m=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,a=i=s=4===r||3===r,n&&so(e,!0,-1)&&(f=!0,e.lineIndent>t?h=1:e.lineIndent===t?h=0:e.lineIndent<t&&(h=-1)),1===h)for(;po(e)||ho(e);)so(e,!0,-1)?(f=!0,s=a,e.lineIndent>t?h=1:e.lineIndent===t?h=0:e.lineIndent<t&&(h=-1)):s=!1;if(s&&(s=f||o),1!==h&&4!==r||(p=1===r||2===r?t:t+1,d=e.position-e.lineStart,1===h?s&&(uo(e,d)||function(e,t,r){var n,o,a,i,s,l=e.tag,c=e.anchor,u={},p={},d=null,h=null,f=null,m=!1,g=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=u),s=e.input.charCodeAt(e.position);0!==s;){if(n=e.input.charCodeAt(e.position+1),a=e.line,i=e.position,63!==s&&58!==s||!Hn(n)){if(!fo(e,r,2,!1,!0))break;if(e.line===a){for(s=e.input.charCodeAt(e.position);Mn(s);)s=e.input.charCodeAt(++e.position);if(58===s)Hn(s=e.input.charCodeAt(++e.position))||eo(e,"a whitespace character is expected after the key-value separator within a block mapping"),m&&(ao(e,u,p,d,h,null),d=h=f=null),g=!0,m=!1,o=!1,d=e.tag,h=e.result;else{if(!g)return e.tag=l,e.anchor=c,!0;eo(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!g)return e.tag=l,e.anchor=c,!0;eo(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===s?(m&&(ao(e,u,p,d,h,null),d=h=f=null),g=!0,m=!0,o=!0):m?(m=!1,o=!0):eo(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,s=n;if((e.line===a||e.lineIndent>t)&&(fo(e,t,4,!0,o)&&(m?h=e.result:f=e.result),m||(ao(e,u,p,d,h,f,a,i),d=h=f=null),so(e,!0,-1),s=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==s)eo(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return m&&ao(e,u,p,d,h,null),g&&(e.tag=l,e.anchor=c,e.kind="mapping",e.result=u),g}(e,d,p))||function(e,t){var r,n,o,a,i,s,l,c,u,p,d=!0,h=e.tag,f=e.anchor,m={};if(91===(p=e.input.charCodeAt(e.position)))o=93,s=!1,n=[];else{if(123!==p)return!1;o=125,s=!0,n={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=n),p=e.input.charCodeAt(++e.position);0!==p;){if(so(e,!0,t),(p=e.input.charCodeAt(e.position))===o)return e.position++,e.tag=h,e.anchor=f,e.kind=s?"mapping":"sequence",e.result=n,!0;d||eo(e,"missed comma between flow collection entries"),u=null,a=i=!1,63===p&&Hn(e.input.charCodeAt(e.position+1))&&(a=i=!0,e.position++,so(e,!0,t)),r=e.line,fo(e,t,1,!1,!0),c=e.tag,l=e.result,so(e,!0,t),p=e.input.charCodeAt(e.position),!i&&e.line!==r||58!==p||(a=!0,p=e.input.charCodeAt(++e.position),so(e,!0,t),fo(e,t,1,!1,!0),u=e.result),s?ao(e,n,m,c,l,u):a?n.push(ao(e,null,m,c,l,u)):n.push(l),so(e,!0,t),44===(p=e.input.charCodeAt(e.position))?(d=!0,p=e.input.charCodeAt(++e.position)):d=!1}eo(e,"unexpected end of the stream within a flow collection")}(e,p)?m=!0:(i&&function(e,t){var r,n,o,a,i,s=1,l=!1,c=!1,u=t,p=0,d=!1;if(124===(a=e.input.charCodeAt(e.position)))n=!1;else{if(62!==a)return!1;n=!0}for(e.kind="scalar",e.result="";0!==a;)if(43===(a=e.input.charCodeAt(++e.position))||45===a)1===s?s=43===a?3:2:eo(e,"repeat of a chomping mode identifier");else{if(!((o=48<=(i=a)&&i<=57?i-48:-1)>=0))break;0===o?eo(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?eo(e,"repeat of an indentation width identifier"):(u=t+o-1,c=!0)}if(Mn(a)){do{a=e.input.charCodeAt(++e.position)}while(Mn(a));if(35===a)do{a=e.input.charCodeAt(++e.position)}while(!Un(a)&&0!==a)}for(;0!==a;){for(io(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!c||e.lineIndent<u)&&32===a;)e.lineIndent++,a=e.input.charCodeAt(++e.position);if(!c&&e.lineIndent>u&&(u=e.lineIndent),Un(a))p++;else{if(e.lineIndent<u){3===s?e.result+=Kr.repeat("\n",l?1+p:p):1===s&&l&&(e.result+="\n");break}for(n?Mn(a)?(d=!0,e.result+=Kr.repeat("\n",l?1+p:p)):d?(d=!1,e.result+=Kr.repeat("\n",p+1)):0===p?l&&(e.result+=" "):e.result+=Kr.repeat("\n",p):e.result+=Kr.repeat("\n",l?1+p:p),l=!0,c=!0,p=0,r=e.position;!Un(a)&&0!==a;)a=e.input.charCodeAt(++e.position);no(e,r,e.position,!1)}}return!0}(e,p)||function(e,t){var r,n,o;if(39!==(r=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,n=o=e.position;0!==(r=e.input.charCodeAt(e.position));)if(39===r){if(no(e,n,e.position,!0),39!==(r=e.input.charCodeAt(++e.position)))return!0;n=e.position,e.position++,o=e.position}else Un(r)?(no(e,n,o,!0),co(e,so(e,!1,t)),n=o=e.position):e.position===e.lineStart&&lo(e)?eo(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);eo(e,"unexpected end of the stream within a single quoted scalar")}(e,p)||function(e,t){var r,n,o,a,i,s,l;if(34!==(s=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;0!==(s=e.input.charCodeAt(e.position));){if(34===s)return no(e,r,e.position,!0),e.position++,!0;if(92===s){if(no(e,r,e.position,!0),Un(s=e.input.charCodeAt(++e.position)))so(e,!1,t);else if(s<256&&Gn[s])e.result+=Jn[s],e.position++;else if((i=120===(l=s)?2:117===l?4:85===l?8:0)>0){for(o=i,a=0;o>0;o--)(i=Wn(s=e.input.charCodeAt(++e.position)))>=0?a=(a<<4)+i:eo(e,"expected hexadecimal character");e.result+=Kn(a),e.position++}else eo(e,"unknown escape sequence");r=n=e.position}else Un(s)?(no(e,r,n,!0),co(e,so(e,!1,t)),r=n=e.position):e.position===e.lineStart&&lo(e)?eo(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}eo(e,"unexpected end of the stream within a double quoted scalar")}(e,p)?m=!0:function(e){var t,r,n;if(42!==(n=e.input.charCodeAt(e.position)))return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!Hn(n)&&!Vn(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&eo(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),Bn.call(e.anchorMap,r)||eo(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],so(e,!0,-1),!0}(e)?(m=!0,null===e.tag&&null===e.anchor||eo(e,"alias node should not have any properties")):function(e,t,r){var n,o,a,i,s,l,c,u,p=e.kind,d=e.result;if(Hn(u=e.input.charCodeAt(e.position))||Vn(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(Hn(n=e.input.charCodeAt(e.position+1))||r&&Vn(n)))return!1;for(e.kind="scalar",e.result="",o=a=e.position,i=!1;0!==u;){if(58===u){if(Hn(n=e.input.charCodeAt(e.position+1))||r&&Vn(n))break}else if(35===u){if(Hn(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&lo(e)||r&&Vn(u))break;if(Un(u)){if(s=e.line,l=e.lineStart,c=e.lineIndent,so(e,!1,-1),e.lineIndent>=t){i=!0,u=e.input.charCodeAt(e.position);continue}e.position=a,e.line=s,e.lineStart=l,e.lineIndent=c;break}}i&&(no(e,o,a,!1),co(e,e.line-s),o=a=e.position,i=!1),Mn(u)||(a=e.position+1),u=e.input.charCodeAt(++e.position)}return no(e,o,a,!1),!!e.result||(e.kind=p,e.result=d,!1)}(e,p,1===r)&&(m=!0,null===e.tag&&(e.tag="?")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===h&&(m=s&&uo(e,d))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&eo(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),l=0,c=e.implicitTypes.length;l<c;l+=1)if((u=e.implicitTypes[l]).resolve(e.result)){e.result=u.construct(e.result),e.tag=u.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else Bn.call(e.typeMap[e.kind||"fallback"],e.tag)?(u=e.typeMap[e.kind||"fallback"][e.tag],null!==e.result&&u.kind!==e.kind&&eo(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+u.kind+'", not "'+e.kind+'"'),u.resolve(e.result)?(e.result=u.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):eo(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):eo(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||m}function mo(e){var t,r,n,o,a=e.position,i=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(o=e.input.charCodeAt(e.position))&&(so(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(i=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!Hn(o);)o=e.input.charCodeAt(++e.position);for(n=[],(r=e.input.slice(t,e.position)).length<1&&eo(e,"directive name must not be less than one character in length");0!==o;){for(;Mn(o);)o=e.input.charCodeAt(++e.position);if(35===o){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&!Un(o));break}if(Un(o))break;for(t=e.position;0!==o&&!Hn(o);)o=e.input.charCodeAt(++e.position);n.push(e.input.slice(t,e.position))}0!==o&&io(e),Bn.call(ro,r)?ro[r](e,r,n):to(e,'unknown document directive "'+r+'"')}so(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,so(e,!0,-1)):i&&eo(e,"directives end mark is expected"),fo(e,e.lineIndent-1,4,!1,!0),so(e,!0,-1),e.checkLineBreaks&&Rn.test(e.input.slice(a,e.position))&&to(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&lo(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,so(e,!0,-1)):e.position<e.length-1&&eo(e,"end of the stream or a document separator is expected")}function go(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 Xn(e,t),n=e.indexOf("\0");for(-1!==n&&(r.position=n,eo(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;)mo(r);return r.documents}function yo(e,t,r){null!==t&&"object"==typeof t&&void 0===r&&(r=t,t=null);var n=go(e,r);if("function"!=typeof t)return n;for(var o=0,a=n.length;o<a;o+=1)t(n[o])}function bo(e,t){var r=go(e,t);if(0!==r.length){if(1===r.length)return r[0];throw new Jr("expected a single document in the stream, but found more")}}var vo={loadAll:yo,load:bo,safeLoadAll:function(e,t,r){return"object"==typeof t&&null!==t&&void 0===r&&(r=t,t=null),yo(e,t,Kr.extend({schema:_n},r))},safeLoad:function(e,t){return bo(e,Kr.extend({schema:_n},t))}},xo=Object.prototype.toString,wo=Object.prototype.hasOwnProperty,ko={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"},Ao=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function $o(e){var t,r,n;if(t=e.toString(16).toUpperCase(),e<=255)r="x",n=2;else if(e<=65535)r="u",n=4;else{if(!(e<=4294967295))throw new Jr("code point within a string may not be greater than 0xFFFFFFFF");r="U",n=8}return"\\"+r+Kr.repeat("0",n-t.length)+t}function Eo(e){this.schema=e.schema||Pn,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=Kr.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var r,n,o,a,i,s,l;if(null===t)return{};for(r={},o=0,a=(n=Object.keys(t)).length;o<a;o+=1)i=n[o],s=String(t[i]),"!!"===i.slice(0,2)&&(i="tag:yaml.org,2002:"+i.slice(2)),(l=e.compiledTypeMap.fallback[i])&&wo.call(l.styleAliases,s)&&(s=l.styleAliases[s]),r[i]=s;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.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function So(e,t){for(var r,n=Kr.repeat(" ",t),o=0,a=-1,i="",s=e.length;o<s;)-1===(a=e.indexOf("\n",o))?(r=e.slice(o),o=s):(r=e.slice(o,a+1),o=a+1),r.length&&"\n"!==r&&(i+=n),i+=r;return i}function Do(e,t){return"\n"+Kr.repeat(" ",e.indent*t)}function Oo(e){return 32===e||9===e}function Co(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 _o(e,t){return Co(e)&&65279!==e&&44!==e&&91!==e&&93!==e&&123!==e&&125!==e&&58!==e&&(35!==e||t&&function(e){return Co(e)&&!Oo(e)&&65279!==e&&13!==e&&10!==e}(t))}function jo(e){return/^\n* /.test(e)}function To(e,t,r,n){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==Ao.indexOf(t))return"'"+t+"'";var o=e.indent*Math.max(1,r),a=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o),i=n||e.flowLevel>-1&&r>=e.flowLevel;switch(function(e,t,r,n,o){var a,i,s,l,c=!1,u=!1,p=-1!==n,d=-1,h=Co(l=e.charCodeAt(0))&&65279!==l&&!Oo(l)&&45!==l&&63!==l&&58!==l&&44!==l&&91!==l&&93!==l&&123!==l&&125!==l&&35!==l&&38!==l&&42!==l&&33!==l&&124!==l&&61!==l&&62!==l&&39!==l&&34!==l&&37!==l&&64!==l&&96!==l&&!Oo(e.charCodeAt(e.length-1));if(t)for(a=0;a<e.length;a++){if(!Co(i=e.charCodeAt(a)))return 5;s=a>0?e.charCodeAt(a-1):null,h=h&&_o(i,s)}else{for(a=0;a<e.length;a++){if(10===(i=e.charCodeAt(a)))c=!0,p&&(u=u||a-d-1>n&&" "!==e[d+1],d=a);else if(!Co(i))return 5;s=a>0?e.charCodeAt(a-1):null,h=h&&_o(i,s)}u=u||p&&a-d-1>n&&" "!==e[d+1]}return c||u?r>9&&jo(e)?5:u?4:3:h&&!o(e)?1:2}(t,i,e.indent,a,(function(t){return function(e,t){var r,n;for(r=0,n=e.implicitTypes.length;r<n;r+=1)if(e.implicitTypes[r].resolve(t))return!0;return!1}(e,t)}))){case 1:return t;case 2:return"'"+t.replace(/'/g,"''")+"'";case 3:return"|"+Fo(t,e.indent)+Po(So(t,o));case 4:return">"+Fo(t,e.indent)+Po(So(function(e,t){for(var r,n,o,a=/(\n+)([^\n]*)/g,i=(o=-1!==(o=e.indexOf("\n"))?o:e.length,a.lastIndex=o,Bo(e.slice(0,o),t)),s="\n"===e[0]||" "===e[0];n=a.exec(e);){var l=n[1],c=n[2];r=" "===c[0],i+=l+(s||r||""===c?"":"\n")+Bo(c,t),s=r}return i}(t,a),o));case 5:return'"'+function(e){for(var t,r,n,o="",a=0;a<e.length;a++)(t=e.charCodeAt(a))>=55296&&t<=56319&&(r=e.charCodeAt(a+1))>=56320&&r<=57343?(o+=$o(1024*(t-55296)+r-56320+65536),a++):o+=!(n=ko[t])&&Co(t)?e[a]:n||$o(t);return o}(t)+'"';default:throw new Jr("impossible error: invalid scalar style")}}()}function Fo(e,t){var r=jo(e)?String(t):"",n="\n"===e[e.length-1];return r+(!n||"\n"!==e[e.length-2]&&"\n"!==e?n?"":"-":"+")+"\n"}function Po(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function Bo(e,t){if(""===e||" "===e[0])return e;for(var r,n,o=/ [^ ]/g,a=0,i=0,s=0,l="";r=o.exec(e);)(s=r.index)-a>t&&(n=i>a?i:s,l+="\n"+e.slice(a,n),a=n+1),i=s;return l+="\n",e.length-a>t&&i>a?l+=e.slice(a,i)+"\n"+e.slice(i+1):l+=e.slice(a),l.slice(1)}function Io(e,t,r){var n,o,a,i,s,l;for(a=0,i=(o=r?e.explicitTypes:e.implicitTypes).length;a<i;a+=1)if(((s=o[a]).instanceOf||s.predicate)&&(!s.instanceOf||"object"==typeof t&&t instanceof s.instanceOf)&&(!s.predicate||s.predicate(t))){if(e.tag=r?s.tag:"?",s.represent){if(l=e.styleMap[s.tag]||s.defaultStyle,"[object Function]"===xo.call(s.represent))n=s.represent(t,l);else{if(!wo.call(s.represent,l))throw new Jr("!<"+s.tag+'> tag resolver accepts not "'+l+'" style');n=s.represent[l](t,l)}e.dump=n}return!0}return!1}function Ro(e,t,r,n,o,a){e.tag=null,e.dump=r,Io(e,r,!1)||Io(e,r,!0);var i=xo.call(e.dump);n&&(n=e.flowLevel<0||e.flowLevel>t);var s,l,c="[object Object]"===i||"[object Array]"===i;if(c&&(l=-1!==(s=e.duplicates.indexOf(r))),(null!==e.tag&&"?"!==e.tag||l||2!==e.indent&&t>0)&&(o=!1),l&&e.usedDuplicates[s])e.dump="*ref_"+s;else{if(c&&l&&!e.usedDuplicates[s]&&(e.usedDuplicates[s]=!0),"[object Object]"===i)n&&0!==Object.keys(e.dump).length?(function(e,t,r,n){var o,a,i,s,l,c,u="",p=e.tag,d=Object.keys(r);if(!0===e.sortKeys)d.sort();else if("function"==typeof e.sortKeys)d.sort(e.sortKeys);else if(e.sortKeys)throw new Jr("sortKeys must be a boolean or a function");for(o=0,a=d.length;o<a;o+=1)c="",n&&0===o||(c+=Do(e,t)),s=r[i=d[o]],Ro(e,t+1,i,!0,!0,!0)&&((l=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024)&&(e.dump&&10===e.dump.charCodeAt(0)?c+="?":c+="? "),c+=e.dump,l&&(c+=Do(e,t)),Ro(e,t+1,s,!0,l)&&(e.dump&&10===e.dump.charCodeAt(0)?c+=":":c+=": ",u+=c+=e.dump));e.tag=p,e.dump=u||"{}"}(e,t,e.dump,o),l&&(e.dump="&ref_"+s+e.dump)):(function(e,t,r){var n,o,a,i,s,l="",c=e.tag,u=Object.keys(r);for(n=0,o=u.length;n<o;n+=1)s="",0!==n&&(s+=", "),e.condenseFlow&&(s+='"'),i=r[a=u[n]],Ro(e,t,a,!1,!1)&&(e.dump.length>1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Ro(e,t,i,!1,!1)&&(l+=s+=e.dump));e.tag=c,e.dump="{"+l+"}"}(e,t,e.dump),l&&(e.dump="&ref_"+s+" "+e.dump));else if("[object Array]"===i){var u=e.noArrayIndent&&t>0?t-1:t;n&&0!==e.dump.length?(function(e,t,r,n){var o,a,i="",s=e.tag;for(o=0,a=r.length;o<a;o+=1)Ro(e,t+1,r[o],!0,!0)&&(n&&0===o||(i+=Do(e,t)),e.dump&&10===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump);e.tag=s,e.dump=i||"[]"}(e,u,e.dump,o),l&&(e.dump="&ref_"+s+e.dump)):(function(e,t,r){var n,o,a="",i=e.tag;for(n=0,o=r.length;n<o;n+=1)Ro(e,t,r[n],!1,!1)&&(0!==n&&(a+=","+(e.condenseFlow?"":" ")),a+=e.dump);e.tag=i,e.dump="["+a+"]"}(e,u,e.dump),l&&(e.dump="&ref_"+s+" "+e.dump))}else{if("[object String]"!==i){if(e.skipInvalid)return!1;throw new Jr("unacceptable kind of an object to dump "+i)}"?"!==e.tag&&To(e,e.dump,t,a)}null!==e.tag&&"?"!==e.tag&&(e.dump="!<"+e.tag+"> "+e.dump)}return!0}function No(e,t){var r,n,o=[],a=[];for(Lo(e,o,a),r=0,n=a.length;r<n;r+=1)t.duplicates.push(o[a[r]]);t.usedDuplicates=new Array(n)}function Lo(e,t,r){var n,o,a;if(null!==e&&"object"==typeof e)if(-1!==(o=t.indexOf(e)))-1===r.indexOf(o)&&r.push(o);else if(t.push(e),Array.isArray(e))for(o=0,a=e.length;o<a;o+=1)Lo(e[o],t,r);else for(o=0,a=(n=Object.keys(e)).length;o<a;o+=1)Lo(e[n[o]],t,r)}function qo(e,t){var r=new Eo(t=t||{});return r.noRefs||No(e,r),Ro(r,0,e,!0,!0)?r.dump+"\n":""}var zo={dump:qo,safeDump:function(e,t){return qo(e,Kr.extend({schema:_n},t))}};function Uo(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}var Mo={Type:tn,Schema:on,FAILSAFE_SCHEMA:an,JSON_SCHEMA:mn,CORE_SCHEMA:gn,DEFAULT_SAFE_SCHEMA:_n,DEFAULT_FULL_SCHEMA:Pn,load:vo.load,loadAll:vo.loadAll,safeLoad:vo.safeLoad,safeLoadAll:vo.safeLoadAll,dump:zo.dump,safeDump:zo.safeDump,YAMLException:Jr,MINIMAL_SCHEMA:an,SAFE_SCHEMA:_n,DEFAULT_SCHEMA:Pn,scan:Uo("scan"),parse:Uo("parse"),compose:Uo("compose"),addConstructor:Uo("addConstructor")},Ho=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Vo=/^\w*$/,Wo=function(e,t){if(yt(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!Pt(e))||Vo.test(e)||!Ho.test(e)||null!=t&&e in Object(t)},Yo=He(Object,"create"),Ko=Object.prototype.hasOwnProperty,Go=Object.prototype.hasOwnProperty;function Jo(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])}}Jo.prototype.clear=function(){this.__data__=Yo?Yo(null):{},this.size=0},Jo.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Jo.prototype.get=function(e){var t=this.__data__;if(Yo){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return Ko.call(t,e)?t[e]:void 0},Jo.prototype.has=function(e){var t=this.__data__;return Yo?void 0!==t[e]:Go.call(t,e)},Jo.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Yo&&void 0===t?"__lodash_hash_undefined__":t,this};var Zo=Jo,Xo=function(e,t){for(var r=e.length;r--;)if(Ye(e[r][0],t))return r;return-1},Qo=Array.prototype.splice;function ea(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])}}ea.prototype.clear=function(){this.__data__=[],this.size=0},ea.prototype.delete=function(e){var t=this.__data__,r=Xo(t,e);return!(r<0||(r==t.length-1?t.pop():Qo.call(t,r,1),--this.size,0))},ea.prototype.get=function(e){var t=this.__data__,r=Xo(t,e);return r<0?void 0:t[r][1]},ea.prototype.has=function(e){return Xo(this.__data__,e)>-1},ea.prototype.set=function(e,t){var r=this.__data__,n=Xo(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};var ta=ea,ra=He(ke,"Map"),na=function(e,t){var r=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?r["string"==typeof t?"string":"hash"]:r.map};function oa(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])}}oa.prototype.clear=function(){this.size=0,this.__data__={hash:new Zo,map:new(ra||ta),string:new Zo}},oa.prototype.delete=function(e){var t=na(this,e).delete(e);return this.size-=t?1:0,t},oa.prototype.get=function(e){return na(this,e).get(e)},oa.prototype.has=function(e){return na(this,e).has(e)},oa.prototype.set=function(e,t){var r=na(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};var aa=oa;function ia(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(ia.Cache||aa),r}ia.Cache=aa;for(var sa=ia,la=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ca=/\\(\\)?/g,ua=function(e){var t=sa((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(la,(function(e,r,n,o){t.push(n?o.replace(ca,"$1"):r||e)})),t}),(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}(),pa=function(e,t){return yt(e)?e:Wo(e,t)?[e]:ua(Yt(e))},da=function(e){if("string"==typeof e||Pt(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},ha=function(e,t){for(var r=0,n=(t=pa(t,e)).length;null!=e&&r<n;)e=e[da(t[r++])];return r&&r==n?e:void 0},fa=function(e,t,r,n){if(!je(e))return e;for(var o=-1,a=(t=pa(t,e)).length,i=a-1,s=e;null!=s&&++o<a;){var l=da(t[o]),c=r;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(o!=i){var u=s[l];void 0===(c=n?n(u,l,s):void 0)&&(c=je(u)?u:lt(t[o+1])?[]:{})}Ge(s,l,c),s=s[l]}return e},ma=function(e,t){return null!=e&&t in Object(e)},ga=function(e,t){return null!=e&&function(e,t,r){for(var n=-1,o=(t=pa(t,e)).length,a=!1;++n<o;){var i=da(t[n]);if(!(a=null!=e&&r(e,i)))break;e=e[i]}return a||++n!=o?a:!!(o=null==e?0:e.length)&&at(o)&<(i,o)&&(yt(e)||gt(e))}(e,t,ma)},ya=function(e,t){return function(e,t,r){for(var n=-1,o=t.length,a={};++n<o;){var i=t[n],s=ha(e,i);r(s,i)&&fa(a,pa(i,e),s)}return a}(e,t,(function(t,r){return ga(e,r)}))},ba=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e},va=Ae?Ae.isConcatSpreadable:void 0,xa=function(e){return yt(e)||gt(e)||!!(va&&e&&e[va])},wa=function e(t,r,n,o,a){var i=-1,s=t.length;for(n||(n=xa),a||(a=[]);++i<s;){var l=t[i];r>0&&n(l)?r>1?e(l,r-1,n,o,a):ba(a,l):o||(a[a.length]=l)}return a},ka=function(e){return null!=e&&e.length?wa(e,1):[]},Aa=function(e){return ot(et(e,void 0,ka),e+"")}((function(e,t){return null==e?{}:ya(e,t)})),$a=[],Ea=[],Sa="undefined"!=typeof Uint8Array?Uint8Array:Array,Da="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Oa=0,Ca=Da.length;Oa<Ca;++Oa)$a[Oa]=Da[Oa],Ea[Da.charCodeAt(Oa)]=Oa;function _a(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function ja(e,t,r){for(var n,o,a=[],i=t;i<r;i+=3)n=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),a.push($a[(o=n)>>18&63]+$a[o>>12&63]+$a[o>>6&63]+$a[63&o]);return a.join("")}Ea["-".charCodeAt(0)]=62,Ea["_".charCodeAt(0)]=63;var Ta=function(e){var t,r,n=_a(e),o=n[0],a=n[1],i=new Sa(function(e,t,r){return 3*(t+r)/4-r}(0,o,a)),s=0,l=a>0?o-4:o;for(r=0;r<l;r+=4)t=Ea[e.charCodeAt(r)]<<18|Ea[e.charCodeAt(r+1)]<<12|Ea[e.charCodeAt(r+2)]<<6|Ea[e.charCodeAt(r+3)],i[s++]=t>>16&255,i[s++]=t>>8&255,i[s++]=255&t;return 2===a&&(t=Ea[e.charCodeAt(r)]<<2|Ea[e.charCodeAt(r+1)]>>4,i[s++]=255&t),1===a&&(t=Ea[e.charCodeAt(r)]<<10|Ea[e.charCodeAt(r+1)]<<4|Ea[e.charCodeAt(r+2)]>>2,i[s++]=t>>8&255,i[s++]=255&t),i},Fa=function(e){for(var t,r=e.length,n=r%3,o=[],a=16383,i=0,s=r-n;i<s;i+=a)o.push(ja(e,i,i+a>s?s:i+a));return 1===n?(t=e[r-1],o.push($a[t>>2]+$a[t<<4&63]+"==")):2===n&&(t=(e[r-2]<<8)+e[r-1],o.push($a[t>>10]+$a[t>>4&63]+$a[t<<2&63]+"=")),o.join("")},Pa=function(e,t,r,n,o){var a,i,s=8*o-n-1,l=(1<<s)-1,c=l>>1,u=-7,p=r?o-1:0,d=r?-1:1,h=e[t+p];for(p+=d,a=h&(1<<-u)-1,h>>=-u,u+=s;u>0;a=256*a+e[t+p],p+=d,u-=8);for(i=a&(1<<-u)-1,a>>=-u,u+=n;u>0;i=256*i+e[t+p],p+=d,u-=8);if(0===a)a=1-c;else{if(a===l)return i?NaN:1/0*(h?-1:1);i+=Math.pow(2,n),a-=c}return(h?-1:1)*i*Math.pow(2,a-n)},Ba=function(e,t,r,n,o,a){var i,s,l,c=8*a-o-1,u=(1<<c)-1,p=u>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:a-1,f=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=u):(i=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-i))<1&&(i--,l*=2),(t+=i+p>=1?d/l:d*Math.pow(2,1-p))*l>=2&&(i++,l/=2),i+p>=u?(s=0,i=u):i+p>=1?(s=(t*l-1)*Math.pow(2,o),i+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),i=0));o>=8;e[r+h]=255&s,h+=f,s/=256,o-=8);for(i=i<<o|s,c+=o;c>0;e[r+h]=255&i,h+=f,i/=256,c-=8);e[r+h-f]|=128*m},Ia=ye((function(e,t){const r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=a,t.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},t.INSPECT_MAX_BYTES=50;const n=2147483647;function o(e){if(e>n)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return l(e)}return i(e,t,r)}function i(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!a.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const r=0|d(e,t);let n=o(r);const i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(W(e,Uint8Array)){const t=new Uint8Array(e);return u(t.buffer,t.byteOffset,t.byteLength)}return c(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(W(e,ArrayBuffer)||e&&W(e.buffer,ArrayBuffer))return u(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(W(e,SharedArrayBuffer)||e&&W(e.buffer,SharedArrayBuffer)))return u(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return a.from(n,t,r);const i=function(e){if(a.isBuffer(e)){const t=0|p(e.length),r=o(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||Y(e.length)?o(0):c(e):"Buffer"===e.type&&Array.isArray(e.data)?c(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function s(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 l(e){return s(e),o(e<0?0:0|p(e))}function c(e){const t=e.length<0?0:0|p(e.length),r=o(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function u(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');let n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,a.prototype),n}function p(e){if(e>=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return 0|e}function d(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||W(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);const r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return M(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(e).length;default:if(o)return n?-1:M(e).length;t=(""+t).toLowerCase(),o=!0}}function h(e,t,r){let n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,r);case"utf8":case"utf-8":return A(this,t,r);case"ascii":return E(this,t,r);case"latin1":case"binary":return S(this,t,r);case"base64":return k(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function f(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function m(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Y(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):g(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function g(e,t,r,n,o){let a,i=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;i=2,s/=2,l/=2,r/=2}function c(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o){let n=-1;for(a=r;a<s;a++)if(c(e,a)===c(t,-1===n?0:a-n)){if(-1===n&&(n=a),a-n+1===l)return n*i}else-1!==n&&(a-=a-n),n=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){let r=!0;for(let n=0;n<l;n++)if(c(e,a+n)!==c(t,n)){r=!1;break}if(r)return a}return-1}function y(e,t,r,n){r=Number(r)||0;const o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;const a=t.length;let i;for(n>a/2&&(n=a/2),i=0;i<n;++i){const n=parseInt(t.substr(2*i,2),16);if(Y(n))return i;e[r+i]=n}return i}function b(e,t,r,n){return V(M(t,e.length-r),e,r,n)}function v(e,t,r,n){return V(function(e){const t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function x(e,t,r,n){return V(H(t),e,r,n)}function w(e,t,r,n){return V(function(e,t){let r,n,o;const a=[];for(let i=0;i<e.length&&!((t-=2)<0);++i)r=e.charCodeAt(i),n=r>>8,o=r%256,a.push(o),a.push(n);return a}(t,e.length-r),e,r,n)}function k(e,t,r){return 0===t&&r===e.length?Fa(e):Fa(e.slice(t,r))}function A(e,t,r){r=Math.min(e.length,r);const n=[];let o=t;for(;o<r;){const t=e[o];let a=null,i=t>239?4:t>223?3:t>191?2:1;if(o+i<=r){let r,n,s,l;switch(i){case 1:t<128&&(a=t);break;case 2:r=e[o+1],128==(192&r)&&(l=(31&t)<<6|63&r,l>127&&(a=l));break;case 3:r=e[o+1],n=e[o+2],128==(192&r)&&128==(192&n)&&(l=(15&t)<<12|(63&r)<<6|63&n,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:r=e[o+1],n=e[o+2],s=e[o+3],128==(192&r)&&128==(192&n)&&128==(192&s)&&(l=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&s,l>65535&&l<1114112&&(a=l))}}null===a?(a=65533,i=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),o+=i}return function(e){const t=e.length;if(t<=$)return String.fromCharCode.apply(String,e);let r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=$));return r}(n)}t.kMaxLength=n,a.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}}(),a.TYPED_ARRAY_SUPPORT||"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(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return i(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return function(e,t,r){return s(e),e<=0?o(e):void 0!==t?"string"==typeof r?o(e).fill(t,r):o(e).fill(t):o(e)}(e,t,r)},a.allocUnsafe=function(e){return l(e)},a.allocUnsafeSlow=function(e){return l(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(W(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),W(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let o=0,a=Math.min(r,n);o<a;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},a.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}},a.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);let r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;const n=a.allocUnsafe(t);let o=0;for(r=0;r<e.length;++r){let t=e[r];if(W(t,Uint8Array))o+t.length>n.length?(a.isBuffer(t)||(t=a.from(t)),t.copy(n,o)):Uint8Array.prototype.set.call(n,t,o);else{if(!a.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(n,o)}o+=t.length}return n},a.byteLength=d,a.prototype._isBuffer=!0,a.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)f(this,t,t+1);return this},a.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)f(this,t,t+3),f(this,t+1,t+2);return this},a.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)f(this,t,t+7),f(this,t+1,t+6),f(this,t+2,t+5),f(this,t+3,t+4);return this},a.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?A(this,0,e):h.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){let e="";const r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},r&&(a.prototype[r]=a.prototype.inspect),a.prototype.compare=function(e,t,r,n,o){if(W(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;let i=(o>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0);const l=Math.min(i,s),c=this.slice(n,o),u=e.slice(t,r);for(let e=0;e<l;++e)if(c[e]!==u[e]){i=c[e],s=u[e];break}return i<s?-1:s<i?1:0},a.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return m(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return m(this,e,t,r,!1)},a.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let a=!1;for(;;)switch(n){case"hex":return y(this,e,t,r);case"utf8":case"utf-8":return b(this,e,t,r);case"ascii":case"latin1":case"binary":return v(this,e,t,r);case"base64":return x(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const $=4096;function E(e,t,r){let n="";r=Math.min(e.length,r);for(let o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function S(e,t,r){let n="";r=Math.min(e.length,r);for(let o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function D(e,t,r){const n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let o="";for(let n=t;n<r;++n)o+=K[e[n]];return o}function O(e,t,r){const n=e.slice(t,r);let o="";for(let e=0;e<n.length-1;e+=2)o+=String.fromCharCode(n[e]+256*n[e+1]);return o}function C(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function _(e,t,r,n,o,i){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function j(e,t,r,n,o){L(t,n,o,e,r,7);let a=Number(t&BigInt(4294967295));e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i,r}function T(e,t,r,n,o){L(t,n,o,e,r,7);let a=Number(t&BigInt(4294967295));e[r+7]=a,a>>=8,e[r+6]=a,a>>=8,e[r+5]=a,a>>=8,e[r+4]=a;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=i,i>>=8,e[r+2]=i,i>>=8,e[r+1]=i,i>>=8,e[r]=i,r+8}function F(e,t,r,n,o,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function P(e,t,r,n,o){return t=+t,r>>>=0,o||F(e,0,r,4),Ba(e,t,r,n,23,4),r+4}function B(e,t,r,n,o){return t=+t,r>>>=0,o||F(e,0,r,8),Ba(e,t,r,n,52,8),r+8}a.prototype.slice=function(e,t){const r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);const n=this.subarray(e,t);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUintLE=a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);let n=this[e],o=1,a=0;for(;++a<t&&(o*=256);)n+=this[e+a]*o;return n},a.prototype.readUintBE=a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);let n=this[e+--t],o=1;for(;t>0&&(o*=256);)n+=this[e+--t]*o;return n},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||C(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readBigUInt64LE=G((function(e){q(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||z(e,this.length-8);const n=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,o=this[++e]+256*this[++e]+65536*this[++e]+r*2**24;return BigInt(n)+(BigInt(o)<<BigInt(32))})),a.prototype.readBigUInt64BE=G((function(e){q(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||z(e,this.length-8);const n=t*2**24+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*2**24+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<<BigInt(32))+BigInt(o)})),a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);let n=this[e],o=1,a=0;for(;++a<t&&(o*=256);)n+=this[e+a]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);let n=t,o=1,a=this[e+--n];for(;n>0&&(o*=256);)a+=this[e+--n]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*t)),a},a.prototype.readInt8=function(e,t){return e>>>=0,t||C(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||C(e,2,this.length);const r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||C(e,2,this.length);const r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readBigInt64LE=G((function(e){q(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||z(e,this.length-8);const n=this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),a.prototype.readBigInt64BE=G((function(e){q(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||z(e,this.length-8);const n=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(n)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+r)})),a.prototype.readFloatLE=function(e,t){return e>>>=0,t||C(e,4,this.length),Pa(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||C(e,4,this.length),Pa(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||C(e,8,this.length),Pa(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||C(e,8,this.length),Pa(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||_(this,e,t,r,Math.pow(2,8*r)-1,0);let o=1,a=0;for(this[t]=255&e;++a<r&&(o*=256);)this[t+a]=e/o&255;return t+r},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||_(this,e,t,r,Math.pow(2,8*r)-1,0);let o=r-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+r},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||_(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},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||_(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},a.prototype.writeBigUInt64LE=G((function(e,t=0){return j(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),a.prototype.writeBigUInt64BE=G((function(e,t=0){return T(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),a.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);_(this,e,t,r,n-1,-n)}let o=0,a=1,i=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===i&&0!==this[t+o-1]&&(i=1),this[t+o]=(e/a>>0)-i&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);_(this,e,t,r,n-1,-n)}let o=r-1,a=1,i=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===i&&0!==this[t+o+1]&&(i=1),this[t+o]=(e/a>>0)-i&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||_(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},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeBigInt64LE=G((function(e,t=0){return j(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),a.prototype.writeBigInt64BE=G((function(e,t=0){return T(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),a.prototype.writeFloatLE=function(e,t,r){return P(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return P(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return B(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return B(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.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),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<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),e.length-t<n-r&&(n=e.length-t+r);const o=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),o},a.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&&!a.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 o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{const i=a.isBuffer(e)?e:a.from(e,n),s=i.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=i[o%s]}return this};const I={};function R(e,t,r){I[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 N(e){let t="",r=e.length;const n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function L(e,t,r,n,o,a){if(e>r||e<t){const n="bigint"==typeof t?"n":"";let o;throw o=a>3?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(a+1)}${n}`:`>= -(2${n} ** ${8*(a+1)-1}${n}) and < 2 ** ${8*(a+1)-1}${n}`:`>= ${t}${n} and <= ${r}${n}`,new I.ERR_OUT_OF_RANGE("value",o,e)}!function(e,t,r){q(t,"offset"),void 0!==e[t]&&void 0!==e[t+r]||z(t,e.length-(r+1))}(n,o,a)}function q(e,t){if("number"!=typeof e)throw new I.ERR_INVALID_ARG_TYPE(t,"number",e)}function z(e,t,r){if(Math.floor(e)!==e)throw q(e,r),new I.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new I.ERR_BUFFER_OUT_OF_BOUNDS;throw new I.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}R("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),R("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),R("ERR_OUT_OF_RANGE",(function(e,t,r){let n=`The value of "${e}" is out of range.`,o=r;return Number.isInteger(r)&&Math.abs(r)>2**32?o=N(String(r)):"bigint"==typeof r&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=N(o)),o+="n"),n+=` It must be ${t}. Received ${o}`,n}),RangeError);const U=/[^+/0-9A-Za-z-_]/g;function M(e,t){let r;t=t||1/0;const n=e.length;let o=null;const a=[];for(let i=0;i<n;++i){if(r=e.charCodeAt(i),r>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(i+1===n){(t-=3)>-1&&a.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&a.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function H(e){return Ta(function(e){if((e=(e=e.split("=")[0]).trim().replace(U,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,r,n){let o;for(o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function W(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Y(e){return e!=e}const K=function(){const e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let o=0;o<16;++o)t[n+o]=e[r]+e[o]}return t}();function G(e){return"undefined"==typeof BigInt?J:e}function J(){throw new Error("BigInt not supported")}})),Ra=window.FormData,Na=ye((function(e,t){t.__esModule=!0,t.default=t.patch=void 0;var r=o(Te),n=o(Ra);function o(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const t=(e,t)=>({name:e,value:t});return(0,r.default)(e.prototype.set)||(0,r.default)(e.prototype.get)||(0,r.default)(e.prototype.getAll)||(0,r.default)(e.prototype.has)?e:class extends e{constructor(e){super(e),this.entryList=[]}append(e,r,n){return this.entryList.push(t(e,r)),super.append(e,r,n)}set(e,r){const n=t(e,r);this.entryList=this.entryList.filter((t=>t.name!==e)),this.entryList.push(n)}get(e){const t=this.entryList.find((t=>t.name===e));return void 0===t?null:t}getAll(e){return this.entryList.filter((t=>t.name===e)).map((e=>e.value))}has(e){return this.entryList.some((t=>t.name===e))}}};t.patch=a;var i=a(n.default);t.default=i})),La=za;const{Buffer:qa}=Ia;function za(e,{escape:t}={},r){return"number"==typeof e&&(e=e.toString()),"string"==typeof e&&e.length&&t?r?JSON.parse(e):[...e].map((e=>(e=>/^[a-z0-9\-._~]+$/i.test(e))(e)||(e=>":/?#[]@!$&'()*+,;=".indexOf(e)>-1)(e)&&"unsafe"===t?e:(qa.from(e).toJSON().data||[]).map((e=>`0${e.toString(16).toUpperCase()}`.slice(-2))).map((e=>`%${e}`)).join(""))).join(""):e}var Ua=Object.defineProperty({encodeDisallowedCharacters:La,default:function(e){const{value:t}=e;return Array.isArray(t)?function({key:e,value:t,style:r,explode:n,escape:o}){const a=e=>za(e,{escape:o});if("simple"===r)return t.map((e=>a(e))).join(",");if("label"===r)return`.${t.map((e=>a(e))).join(".")}`;if("matrix"===r)return t.map((e=>a(e))).reduce(((t,r)=>!t||n?`${t||""};${e}=${r}`:`${t},${r}`),"");if("form"===r){const r=n?`&${e}=`:",";return t.map((e=>a(e))).join(r)}if("spaceDelimited"===r){const r=n?`${e}=`:"";return t.map((e=>a(e))).join(` ${r}`)}if("pipeDelimited"===r){const r=n?`${e}=`:"";return t.map((e=>a(e))).join(`|${r}`)}}(e):"object"==typeof t?function({key:e,value:t,style:r,explode:n,escape:o}){const a=e=>za(e,{escape:o}),i=Object.keys(t);return"simple"===r?i.reduce(((e,r)=>{const o=a(t[r]);return`${e?`${e},`:""}${r}${n?"=":","}${o}`}),""):"label"===r?i.reduce(((e,r)=>{const o=a(t[r]);return`${e?`${e}.`:"."}${r}${n?"=":"."}${o}`}),""):"matrix"===r&&n?i.reduce(((e,r)=>`${e?`${e};`:";"}${r}=${a(t[r])}`),""):"matrix"===r?i.reduce(((r,n)=>{const o=a(t[n]);return`${r?`${r},`:`;${e}=`}${n},${o}`}),""):"form"===r?i.reduce(((e,r)=>{const o=a(t[r]);return`${e?`${e}${n?"&":","}`:""}${r}${n?"=":","}${o}`}),""):void 0}(e):function({key:e,value:t,style:r,escape:n}){const o=e=>za(e,{escape:n});return"simple"===r?o(t):"label"===r?`.${o(t)}`:"matrix"===r?`;${e}=${o(t)}`:"form"===r||"deepObject"===r?o(t):void 0}(e)}},"__esModule",{value:!0}),Ma=ye((function(e,t){t.__esModule=!0,t.default=async function(e,t={}){"object"==typeof e&&(e=(t=e).url),t.headers=t.headers||{},l.mergeInQueryOrForm(t),t.headers&&Object.keys(t.headers).forEach((e=>{const r=t.headers[e];"string"==typeof r&&(t.headers[e]=r.replace(/\n+/g," "))})),t.requestInterceptor&&(t=await t.requestInterceptor(t)||t);const r=t.headers["content-type"]||t.headers["Content-Type"];let n;/multipart\/form-data/i.test(r)&&(delete t.headers["content-type"],delete t.headers["Content-Type"]);try{n=await(t.userFetch||fetch)(t.url,t),n=await l.serializeRes(n,e,t),t.responseInterceptor&&(n=await t.responseInterceptor(n)||n)}catch(e){if(!n)throw e;const t=new Error(n.statusText);throw t.status=n.status,t.statusCode=n.status,t.responseError=e,t}if(!n.ok){const e=new Error(n.statusText);throw e.status=n.status,e.statusCode=n.status,e.response=n,e}return n},t.serializeRes=u,t.serializeHeaders=p,t.isFile=d,t.encodeFormOrQuery=b,t.mergeInQueryOrForm=v,t.makeHttp=function(e,t,r){return r=r||(e=>e),t=t||(e=>e),n=>("string"==typeof n&&(n={url:n}),l.mergeInQueryOrForm(n),n=t(n),r(e(n)))},t.shouldDownloadAsText=t.self=void 0;var r=s(Wr),n=s(Mo),o=s(Aa),a=s(Te),i=s(Na);function s(e){return e&&e.__esModule?e:{default:e}}const l={serializeRes:u,mergeInQueryOrForm:v};t.self=l;const c=(e="")=>/(json|xml|yaml|text)\b/.test(e);function u(e,t,{loadSpec:r=!1}={}){const o={ok:e.ok,url:e.url||t,status:e.status,statusText:e.statusText,headers:p(e.headers)},a=o.headers["content-type"],i=r||c(a);return(i?e.text:e.blob||e.buffer).call(e).then((e=>{if(o.text=e,o.data=e,i)try{const t=function(e,t){return t&&(0===t.indexOf("application/json")||t.indexOf("+json")>0)?JSON.parse(e):n.default.safeLoad(e)}(e,a);o.body=t,o.obj=t}catch(e){o.parseError=e}return o}))}function p(e={}){return(0,a.default)(e.entries)?Array.from(e.entries()).reduce(((e,[t,r])=>(e[t]=function(e){return e.includes(", ")?e.split(", "):e}(r),e)),{}):{}}function d(e,t){return t||"undefined"==typeof navigator||(t=navigator),t&&"ReactNative"===t.product?!(!e||"object"!=typeof e||"string"!=typeof e.uri):"undefined"!=typeof File&&e instanceof File||"undefined"!=typeof Blob&&e instanceof Blob||void 0!==Ia.Buffer&&e instanceof Ia.Buffer||null!==e&&"object"==typeof e&&"function"==typeof e.pipe}function h(e,t){return Array.isArray(e)&&e.some((e=>d(e,t)))}t.shouldDownloadAsText=c;const f={form:",",spaceDelimited:"%20",pipeDelimited:"|"},m={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function g(e,t,r=!1){const{collectionFormat:n,allowEmptyValue:a,serializationOption:i,encoding:s}=t,l="object"!=typeof t||Array.isArray(t)?t:t.value,c=r?e=>e.toString():e=>encodeURIComponent(e),u=c(e);return void 0===l&&a?[[u,""]]:d(l)||h(l)?[[u,l]]:i?y(e,l,r,i):s?[typeof s.style,typeof s.explode,typeof s.allowReserved].some((e=>"undefined"!==e))?y(e,l,r,(0,o.default)(s,["style","explode","allowReserved"])):s.contentType?"application/json"===s.contentType?[[u,c("string"==typeof l?l:JSON.stringify(l))]]:[[u,c(l.toString())]]:"object"!=typeof l?[[u,c(l)]]:Array.isArray(l)&&l.every((e=>"object"!=typeof e))?[[u,l.map(c).join(",")]]:[[u,c(JSON.stringify(l))]]:"object"!=typeof l?[[u,c(l)]]:Array.isArray(l)?"multi"===n?[[u,l.map(c)]]:[[u,l.map(c).join(m[n||"csv"])]]:[[u,""]]}function y(e,t,r,n){const o=n.style||"form",a=void 0===n.explode?"form"===o:n.explode,i=!r&&(n&&n.allowReserved?"unsafe":"reserved"),s=e=>(0,Ua.encodeDisallowedCharacters)(e,{escape:i}),l=r?e=>e:e=>(0,Ua.encodeDisallowedCharacters)(e,{escape:i});return"object"!=typeof t?[[l(e),s(t)]]:Array.isArray(t)?a?[[l(e),t.map(s)]]:[[l(e),t.map(s).join(f[o])]]:"deepObject"===o?Object.keys(t).map((r=>[l(`${e}[${r}]`),s(t[r])])):a?Object.keys(t).map((e=>[l(e),s(t[e])])):[[l(e),Object.keys(t).map((e=>[`${l(e)},${s(t[e])}`])).join(",")]]}function b(e){const t=Object.keys(e).reduce(((t,r)=>{for(const[n,o]of g(r,e[r]))t[n]=o;return t}),{});return r.default.stringify(t,{encode:!1,indices:!1})||""}function v(e={}){const{url:t="",query:n,form:o}=e;if(o){const t=Object.keys(o).some((e=>{const{value:t}=o[e];return d(t)||h(t)})),r=e.headers["content-type"]||e.headers["Content-Type"];t||/multipart\/form-data/i.test(r)?e.body=(a=e.form,Object.entries(a).reduce(((e,[t,r])=>{for(const[n,o]of g(t,r,!0))if(Array.isArray(o))for(const t of o)e.append(n,t);else e.append(n,o);return e}),new i.default)):e.body=b(o),delete e.form}var a;if(n){const[o,a]=t.split("?");let i="";if(a){const e=r.default.parse(a);Object.keys(n).forEach((t=>delete e[t])),i=r.default.stringify(e,{encode:!0})}const s=((...e)=>{const t=e.filter((e=>e)).join("&");return t?`?${t}`:""})(i,b(n));e.url=o+s,delete e.query}return e}}));function Ha(e){var t=this.__data__=new ta(e);this.size=t.size}Ha.prototype.clear=function(){this.__data__=new ta,this.size=0},Ha.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Ha.prototype.get=function(e){return this.__data__.get(e)},Ha.prototype.has=function(e){return this.__data__.has(e)},Ha.prototype.set=function(e,t){var r=this.__data__;if(r instanceof ta){var n=r.__data__;if(!ra||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new aa(n)}return r.set(e,t),this.size=r.size,this};var Va=Ha;function Wa(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new aa;++t<r;)this.add(e[t])}Wa.prototype.add=Wa.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Wa.prototype.has=function(e){return this.__data__.has(e)};var Ya=Wa,Ka=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},Ga=function(e,t){return e.has(t)},Ja=function(e,t,r,n,o,a){var i=1&r,s=e.length,l=t.length;if(s!=l&&!(i&&l>s))return!1;var c=a.get(e),u=a.get(t);if(c&&u)return c==t&&u==e;var p=-1,d=!0,h=2&r?new Ya:void 0;for(a.set(e,t),a.set(t,e);++p<s;){var f=e[p],m=t[p];if(n)var g=i?n(m,f,p,t,e,a):n(f,m,p,e,t,a);if(void 0!==g){if(g)continue;d=!1;break}if(h){if(!Ka(t,(function(e,t){if(!Ga(h,t)&&(f===e||o(f,e,r,n,a)))return h.push(t)}))){d=!1;break}}else if(f!==m&&!o(f,m,r,n,a)){d=!1;break}}return a.delete(e),a.delete(t),d},Za=ke.Uint8Array,Xa=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r},Qa=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r},ei=Ae?Ae.prototype:void 0,ti=ei?ei.valueOf:void 0,ri=function(e,t,r){var n=t(e);return yt(e)?n:ba(n,r(e))},ni=function(){return[]},oi=Object.prototype.propertyIsEnumerable,ai=Object.getOwnPropertySymbols,ii=ai?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a}(ai(e),(function(t){return oi.call(e,t)})))}:ni,si=function(e){return ri(e,jt,ii)},li=Object.prototype.hasOwnProperty,ci=He(ke,"DataView"),ui=He(ke,"Promise"),pi=He(ke,"Set"),di=He(ke,"WeakMap"),hi=Ie(ci),fi=Ie(ra),mi=Ie(ui),gi=Ie(pi),yi=Ie(di),bi=_e;(ci&&"[object DataView]"!=bi(new ci(new ArrayBuffer(1)))||ra&&"[object Map]"!=bi(new ra)||ui&&"[object Promise]"!=bi(ui.resolve())||pi&&"[object Set]"!=bi(new pi)||di&&"[object WeakMap]"!=bi(new di))&&(bi=function(e){var t=_e(e),r="[object Object]"==t?e.constructor:void 0,n=r?Ie(r):"";if(n)switch(n){case hi:return"[object DataView]";case fi:return"[object Map]";case mi:return"[object Promise]";case gi:return"[object Set]";case yi:return"[object WeakMap]"}return t});var vi,xi=bi,wi=Object.prototype.hasOwnProperty,ki=function(e,t,r,n,o,a){var i=yt(e),s=yt(t),l=i?"[object Array]":xi(e),c=s?"[object Array]":xi(t),u="[object Object]"==(l="[object Arguments]"==l?"[object Object]":l),p="[object Object]"==(c="[object Arguments]"==c?"[object Object]":c),d=l==c;if(d&&vt(e)){if(!vt(t))return!1;i=!0,u=!1}if(d&&!u)return a||(a=new Va),i||$t(e)?Ja(e,t,r,n,o,a):function(e,t,r,n,o,a,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||!a(new Za(e),new Za(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Ye(+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 s=Xa;case"[object Set]":var l=1&n;if(s||(s=Qa),e.size!=t.size&&!l)return!1;var c=i.get(e);if(c)return c==t;n|=2,i.set(e,t);var u=Ja(s(e),s(t),n,o,a,i);return i.delete(e),u;case"[object Symbol]":if(ti)return ti.call(e)==ti.call(t)}return!1}(e,t,l,r,n,o,a);if(!(1&r)){var h=u&&wi.call(e,"__wrapped__"),f=p&&wi.call(t,"__wrapped__");if(h||f){var m=h?e.value():e,g=f?t.value():t;return a||(a=new Va),o(m,g,r,n,a)}}return!!d&&(a||(a=new Va),function(e,t,r,n,o,a){var i=1&r,s=si(e),l=s.length;if(l!=si(t).length&&!i)return!1;for(var c=l;c--;){var u=s[c];if(!(i?u in t:li.call(t,u)))return!1}var p=a.get(e),d=a.get(t);if(p&&d)return p==t&&d==e;var h=!0;a.set(e,t),a.set(t,e);for(var f=i;++c<l;){var m=e[u=s[c]],g=t[u];if(n)var y=i?n(g,m,u,t,e,a):n(m,g,u,e,t,a);if(!(void 0===y?m===g||o(m,g,r,n,a):y)){h=!1;break}f||(f="constructor"==u)}if(h&&!f){var b=e.constructor,v=t.constructor;b==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof v&&v instanceof v||(h=!1)}return a.delete(e),a.delete(t),h}(e,t,r,n,o,a))},Ai=function e(t,r,n,o,a){return t===r||(null==t||null==r||!pt(t)&&!pt(r)?t!=t&&r!=r:ki(t,r,n,o,e,a))},$i=function(e){return e==e&&!je(e)},Ei=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}},Si=function(e){var t=function(e){for(var t=jt(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,$i(o)]}return t}(e);return 1==t.length&&t[0][2]?Ei(t[0][0],t[0][1]):function(r){return r===e||function(e,t,r,n){var o=r.length,a=o,i=!n;if(null==e)return!a;for(e=Object(e);o--;){var s=r[o];if(i&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<a;){var l=(s=r[o])[0],c=e[l],u=s[1];if(i&&s[2]){if(void 0===c&&!(l in e))return!1}else{var p=new Va;if(n)var d=n(c,u,l,e,t,p);if(!(void 0===d?Ai(u,c,3,n,p):d))return!1}}return!0}(r,e,t)}},Di=function(e,t,r){var n=null==e?void 0:ha(e,t);return void 0===n?r:n},Oi=function(e){return Wo(e)?function(e){return function(t){return null==t?void 0:t[e]}}(da(e)):function(e){return function(t){return ha(t,e)}}(e)},Ci=function(e){return"function"==typeof e?e:null==e?Ze:"object"==typeof e?yt(e)?function(e,t){return Wo(e)&&$i(t)?Ei(da(e),t):function(r){var n=Di(r,e);return void 0===n&&n===t?ga(r,e):Ai(t,n,3)}}(e[0],e[1]):Si(e):Oi(e)},_i=Math.max,ji=function(e){return function(t,r,n){var o=Object(t);if(!it(t)){var a=Ci(r);t=jt(t),r=function(e){return a(o[e],e,o)}}var i=e(t,r,n);return i>-1?o[a?t[i]:i]:void 0}}((function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=null==r?0:Wt(r);return o<0&&(o=_i(n+o,0)),function(e,t,r,n){for(var o=e.length,a=r+(n?1:-1);n?a--:++a<o;)if(t(e[a],a,e))return a;return-1}(e,Ci(t),o)})),Ti=function(){},Fi=(vi=function(e,t){return(vi=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)},function(e,t){function r(){this.constructor=e}vi(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),Pi=Object.prototype.hasOwnProperty;function Bi(e,t){return Pi.call(e,t)}function Ii(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);for(var n in t=[],e)Bi(e,n)&&t.push(n);return t}function Ri(e){switch(typeof e){case"object":return JSON.parse(JSON.stringify(e));case"undefined":return null;default:return e}}function Ni(e){for(var t,r=0,n=e.length;r<n;){if(!((t=e.charCodeAt(r))>=48&&t<=57))return!1;r++}return!0}function Li(e){return-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function qi(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function zi(e){if(void 0===e)return!0;if(e)if(Array.isArray(e)){for(var t=0,r=e.length;t<r;t++)if(zi(e[t]))return!0}else if("object"==typeof e){var n=Ii(e),o=n.length;for(t=0;t<o;t++)if(zi(e[n[t]]))return!0}return!1}function Ui(e,t){var r=[e];for(var n in t){var o="object"==typeof t[n]?JSON.stringify(t[n],null,2):t[n];void 0!==o&&r.push(n+": "+o)}return r.join("\n")}var Mi=function(e){function t(t,r,n,o,a){var i=this.constructor,s=e.call(this,Ui(t,{name:r,index:n,operation:o,tree:a}))||this;return s.name=r,s.index=n,s.operation=o,s.tree=a,Object.setPrototypeOf(s,i.prototype),s.message=Ui(t,{name:r,index:n,operation:o,tree:a}),s}return Fi(t,e),t}(Error),Hi=Mi,Vi=Ri,Wi={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=Ki(r,this.path);n&&(n=Ri(n));var o=Gi(r,{op:"remove",path:this.from}).removed;return Gi(r,{op:"add",path:this.path,value:o}),{newDocument:r,removed:n}},copy:function(e,t,r){var n=Ki(r,this.from);return Gi(r,{op:"add",path:this.path,value:Ri(n)}),{newDocument:r}},test:function(e,t,r){return{newDocument:r,test:es(e[t],this.value)}},_get:function(e,t,r){return this.value=e[t],{newDocument:r}}},Yi={add:function(e,t,r){return Ni(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:Wi.move,copy:Wi.copy,test:Wi.test,_get:Wi._get};function Ki(e,t){if(""==t)return e;var r={op:"_get",path:t};return Gi(e,r),r.value}function Gi(e,t,r,n,o,a){if(void 0===r&&(r=!1),void 0===n&&(n=!0),void 0===o&&(o=!0),void 0===a&&(a=0),r&&("function"==typeof r?r(t,0,e,t.path):Xi(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=Ki(e,t.from),"move"===t.op&&(i.removed=e),i;if("test"===t.op){if(i.test=es(e,t.value),!1===i.test)throw new Hi("Test operation failed","TEST_OPERATION_FAILED",a,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 Hi("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",a,t,e);return i}n||(e=Ri(e));var s=(t.path||"").split("/"),l=e,c=1,u=s.length,p=void 0,d=void 0,h=void 0;for(h="function"==typeof r?r:Xi;;){if(d=s[c],o&&"__proto__"==d)throw new TypeError("JSON-Patch: modifying `__proto__` 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[d]?p=s.slice(0,c).join("/"):c==u-1&&(p=t.path),void 0!==p&&h(t,0,e,p)),c++,Array.isArray(l)){if("-"===d)d=l.length;else{if(r&&!Ni(d))throw new Hi("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",a,t,e);Ni(d)&&(d=~~d)}if(c>=u){if(r&&"add"===t.op&&d>l.length)throw new Hi("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",a,t,e);if(!1===(i=Yi[t.op].call(t,l,d,e)).test)throw new Hi("Test operation failed","TEST_OPERATION_FAILED",a,t,e);return i}}else if(d&&-1!=d.indexOf("~")&&(d=qi(d)),c>=u){if(!1===(i=Wi[t.op].call(t,l,d,e)).test)throw new Hi("Test operation failed","TEST_OPERATION_FAILED",a,t,e);return i}l=l[d]}}function Ji(e,t,r,n,o){if(void 0===n&&(n=!0),void 0===o&&(o=!0),r&&!Array.isArray(t))throw new Hi("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");n||(e=Ri(e));for(var a=new Array(t.length),i=0,s=t.length;i<s;i++)a[i]=Gi(e,t[i],r,!0,o,i),e=a[i].newDocument;return a.newDocument=e,a}function Zi(e,t,r){var n=Gi(e,t);if(!1===n.test)throw new Hi("Test operation failed","TEST_OPERATION_FAILED",r,t,e);return n.newDocument}function Xi(e,t,r,n){if("object"!=typeof e||null===e||Array.isArray(e))throw new Hi("Operation is not an object","OPERATION_NOT_AN_OBJECT",t,e,r);if(!Wi[e.op])throw new Hi("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 Hi("Operation `path` property is not a string","OPERATION_PATH_INVALID",t,e,r);if(0!==e.path.indexOf("/")&&e.path.length>0)throw new Hi('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 Hi("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 Hi("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)&&zi(e.value))throw new Hi("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 o=e.path.split("/").length,a=n.split("/").length;if(o!==a+1&&o!==a)throw new Hi("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 Hi("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){var i=Qi([{op:"_get",path:e.from,value:void 0}],r);if(i&&"OPERATION_PATH_UNRESOLVABLE"===i.name)throw new Hi("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",t,e,r)}}function Qi(e,t,r){try{if(!Array.isArray(e))throw new Hi("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(t)Ji(Ri(t),Ri(e),r||!0);else{r=r||Xi;for(var n=0;n<e.length;n++)r(e[n],n,t,void 0)}}catch(e){if(e instanceof Hi)return e;throw e}}function es(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var r,n,o,a=Array.isArray(e),i=Array.isArray(t);if(a&&i){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!es(e[r],t[r]))return!1;return!0}if(a!=i)return!1;var s=Object.keys(e);if((n=s.length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!t.hasOwnProperty(s[r]))return!1;for(r=n;0!=r--;)if(!es(e[o=s[r]],t[o]))return!1;return!0}return e!=e&&t!=t}var ts=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",JsonPatchError:Hi,deepClone:Vi,getValueByPointer:Ki,applyOperation:Gi,applyPatch:Ji,applyReducer:Zi,validator:Xi,validate:Qi,_areEquals:es}),rs=new WeakMap,ns=function(e){this.observers=new Map,this.obj=e},os=function(e,t){this.callback=e,this.observer=t};function as(e,t){t.unobserve()}function is(e,t){var r,n=function(e){return rs.get(e)}(e);if(n){var o=function(e,t){return e.observers.get(t)}(n,t);r=o&&o.observer}else n=new ns(e),rs.set(e,n);if(r)return r;if(r={},n.value=Ri(e),t){r.callback=t,r.next=null;var a=function(){ss(r)},i=function(){clearTimeout(r.next),r.next=setTimeout(a)};"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(){ss(r),clearTimeout(r.next),function(e,t){e.observers.delete(t.callback)}(n,r),"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 os(t,r)),r}function ss(e,t){void 0===t&&(t=!1);var r=rs.get(e.object);ls(r.value,e.object,e.patches,"",t),e.patches.length&&Ji(r.value,e.patches);var n=e.patches;return n.length>0&&(e.patches=[],e.callback&&e.callback(n)),n}function ls(e,t,r,n,o){if(t!==e){"function"==typeof t.toJSON&&(t=t.toJSON());for(var a=Ii(t),i=Ii(e),s=!1,l=i.length-1;l>=0;l--){var c=e[p=i[l]];if(!Bi(t,p)||void 0===t[p]&&void 0!==c&&!1===Array.isArray(t))Array.isArray(e)===Array.isArray(t)?(o&&r.push({op:"test",path:n+"/"+Li(p),value:Ri(c)}),r.push({op:"remove",path:n+"/"+Li(p)}),s=!0):(o&&r.push({op:"test",path:n,value:e}),r.push({op:"replace",path:n,value:t}));else{var u=t[p];"object"==typeof c&&null!=c&&"object"==typeof u&&null!=u?ls(c,u,r,n+"/"+Li(p),o):c!==u&&(o&&r.push({op:"test",path:n+"/"+Li(p),value:Ri(c)}),r.push({op:"replace",path:n+"/"+Li(p),value:Ri(u)}))}}if(s||a.length!=i.length)for(l=0;l<a.length;l++){var p;Bi(e,p=a[l])||void 0===t[p]||r.push({op:"add",path:n+"/"+Li(p),value:Ri(t[p])})}}}function cs(e,t,r){void 0===r&&(r=!1);var n=[];return ls(e,t,n,"",r),n}var us=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",unobserve:as,observe:is,generate:ss,compare:cs}),ps=Object.assign({},ts,us,{JsonPatchError:Mi,deepClone:Ri,escapePathComponent:Li,unescapePathComponent:qi}),ds=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ps,JsonPatchError:Mi,deepClone:Ri,escapePathComponent:Li,unescapePathComponent:qi,getValueByPointer:Ki,applyOperation:Gi,applyPatch:Ji,applyReducer:Zi,validator:Xi,validate:Qi,_areEquals:es,unobserve:as,observe:is,generate:ss,compare:cs}),hs=ye((function(e){function t(e){return e instanceof ge||e instanceof Date||e instanceof RegExp}function r(e){if(e instanceof ge){var t=ge.alloc?ge.alloc(e.length):new ge(e.length);return 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 n(e){var o=[];return e.forEach((function(e,i){"object"==typeof e&&null!==e?Array.isArray(e)?o[i]=n(e):t(e)?o[i]=r(e):o[i]=a({},e):o[i]=e})),o}function o(e,t){return"__proto__"===t?void 0:e[t]}var a=e.exports=function(){if(arguments.length<1||"object"!=typeof arguments[0])return!1;if(arguments.length<2)return arguments[0];var e,i,s=arguments[0],l=Array.prototype.slice.call(arguments,1);return l.forEach((function(l){"object"!=typeof l||null===l||Array.isArray(l)||Object.keys(l).forEach((function(c){return i=o(s,c),(e=o(l,c))===s?void 0:"object"!=typeof e||null===e?void(s[c]=e):Array.isArray(e)?void(s[c]=n(e)):t(e)?void(s[c]=r(e)):"object"!=typeof i||null===i||Array.isArray(i)?void(s[c]=a({},e)):void(s[c]=a(i,e))}))})),s}})),fs=Object.prototype.hasOwnProperty,ms=function(e){if(!je(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=ut(e),r=[];for(var n in e)("constructor"!=n||!t&&fs.call(e,n))&&r.push(n);return r},gs=function(e){return it(e)?St(e,!0):ms(e)},ys=ye((function(e,t){var r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r?ke.Buffer:void 0,a=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=a?a(r):new e.constructor(r);return e.copy(n),n}})),bs=Dt(Object.getPrototypeOf,Object),vs=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)ba(t,ii(e)),e=bs(e);return t}:ni,xs=function(e){return ri(e,gs,vs)},ws=Object.prototype.hasOwnProperty,ks=function(e){var t=new e.constructor(e.byteLength);return new Za(t).set(new Za(e)),t},As=/\w*$/,$s=Ae?Ae.prototype:void 0,Es=$s?$s.valueOf:void 0,Ss=function(e,t,r){var n=e.constructor;switch(t){case"[object ArrayBuffer]":return ks(e);case"[object Boolean]":case"[object Date]":return new n(+e);case"[object DataView]":return function(e,t){var r=t?ks(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(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 function(e,t){var r=t?ks(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}(e,r);case"[object Map]":return new n;case"[object Number]":case"[object String]":return new n(e);case"[object RegExp]":return function(e){var t=new e.constructor(e.source,As.exec(e));return t.lastIndex=e.lastIndex,t}(e);case"[object Set]":return new n;case"[object Symbol]":return function(e){return Es?Object(Es.call(e)):{}}(e)}},Ds=Object.create,Os=function(){function e(){}return function(t){if(!je(t))return{};if(Ds)return Ds(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),Cs=kt&&kt.isMap,_s=Cs?wt(Cs):function(e){return pt(e)&&"[object Map]"==xi(e)},js=kt&&kt.isSet,Ts=js?wt(js):function(e){return pt(e)&&"[object Set]"==xi(e)},Fs={};Fs["[object Arguments]"]=Fs["[object Array]"]=Fs["[object ArrayBuffer]"]=Fs["[object DataView]"]=Fs["[object Boolean]"]=Fs["[object Date]"]=Fs["[object Float32Array]"]=Fs["[object Float64Array]"]=Fs["[object Int8Array]"]=Fs["[object Int16Array]"]=Fs["[object Int32Array]"]=Fs["[object Map]"]=Fs["[object Number]"]=Fs["[object Object]"]=Fs["[object RegExp]"]=Fs["[object Set]"]=Fs["[object String]"]=Fs["[object Symbol]"]=Fs["[object Uint8Array]"]=Fs["[object Uint8ClampedArray]"]=Fs["[object Uint16Array]"]=Fs["[object Uint32Array]"]=!0,Fs["[object Error]"]=Fs["[object Function]"]=Fs["[object WeakMap]"]=!1;var Ps=function e(t,r,n,o,a,i){var s,l=1&r,c=2&r,u=4&r;if(n&&(s=a?n(t,o,a,i):n(t)),void 0!==s)return s;if(!je(t))return t;var p=yt(t);if(p){if(s=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&ws.call(e,"index")&&(r.index=e.index,r.input=e.input),r}(t),!l)return function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}(t,s)}else{var d=xi(t),h="[object Function]"==d||"[object GeneratorFunction]"==d;if(vt(t))return ys(t,l);if("[object Object]"==d||"[object Arguments]"==d||h&&!a){if(s=c||h?{}:function(e){return"function"!=typeof e.constructor||ut(e)?{}:Os(bs(e))}(t),!l)return c?function(e,t){return Je(e,vs(e),t)}(t,function(e,t){return e&&Je(t,gs(t),e)}(s,t)):function(e,t){return Je(e,ii(e),t)}(t,function(e,t){return e&&Je(t,jt(t),e)}(s,t))}else{if(!Fs[d])return a?t:{};s=Ss(t,d,l)}}i||(i=new Va);var f=i.get(t);if(f)return f;i.set(t,s),Ts(t)?t.forEach((function(o){s.add(e(o,r,n,o,t,i))})):_s(t)&&t.forEach((function(o,a){s.set(a,e(o,r,n,a,t,i))}));var m=p?void 0:(u?c?xs:si:c?gs:jt)(t);return function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););}(m||t,(function(o,a){m&&(o=t[a=o]),Ge(s,a,e(o,r,n,a,t,i))})),s},Bs=function(e){return Ps(e,5)},Is=function(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})})),t}(ds),Rs=ye((function(e,t){t.__esModule=!0,t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(Is),n=a(hs),o=a(Bs);function a(e){return e&&e.__esModule?e:{default:e}}function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u={add:function(e,t){return{op:"add",path:e,value:t}},replace:d,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(e,t,a){if(a=a||{},"merge"===(t=l(l({},t),{},{path:t.path&&p(t.path)})).op){const n=E(e,t.path);Object.assign(n,t.value),r.applyPatch(e,[d(t.path,n)])}else if("mergeDeep"===t.op){const r=E(e,t.path);for(const e in t.value){const a=t.value[e],i=Array.isArray(a);if(i){const t=r[e]||[];r[e]=t.concat(a)}else if(v(a)&&!i){let t=l({},r[e]);for(const e in a){if(Object.prototype.hasOwnProperty.call(t,e)){t=(0,n.default)((0,o.default)(t),a);break}Object.assign(t,{[e]:a[e]})}r[e]=t}else r[e]=a}}else if("add"===t.op&&""===t.path&&v(t.value)){const n=Object.keys(t.value).reduce(((e,r)=>(e.push({op:"add",path:`/${p(r)}`,value:t.value[r]}),e)),[]);r.applyPatch(e,n)}else if("replace"===t.op&&""===t.path){let{value:r}=t;a.allowMetaPatches&&t.meta&&A(t)&&(Array.isArray(t.value)||v(t.value))&&(r=l(l({},r),t.meta)),e=r}else if(r.applyPatch(e,[t]),a.allowMetaPatches&&t.meta&&A(t)&&(Array.isArray(t.value)||v(t.value))){const n=l(l({},E(e,t.path)),t.meta);r.applyPatch(e,[d(t.path,n)])}return e},parentPathMatch:function(e,t){if(!Array.isArray(t))return!1;for(let r=0,n=t.length;r<n;r+=1)if(t[r]!==e[r])return!1;return!0},flatten:y,fullyNormalizeArray:function(e){return b(y(g(e)))},normalizeArray:g,isPromise:function(e){return v(e)&&x(e.then)},forEachNew:function(e,t){try{return h(e,m,t)}catch(e){return e}},forEachNewPrimitive:function(e,t){try{return h(e,f,t)}catch(e){return e}},isJsonPatch:w,isContextPatch:function(e){return $(e)&&"context"===e.type},isPatch:$,isMutation:k,isAdditiveMutation:A,isGenerator:function(e){return"[object GeneratorFunction]"===Object.prototype.toString.call(e)},isFunction:x,isObject:v,isError:function(e){return e instanceof Error}};function p(e){return Array.isArray(e)?e.length<1?"":`/${e.map((e=>(e+"").replace(/~/g,"~0").replace(/\//g,"~1"))).join("/")}`:e}function d(e,t,r){return{op:"replace",path:e,value:t,meta:r}}function h(e,t,r){return b(y(e.filter(A).map((e=>t(e.value,r,e.path)))||[]))}function f(e,t,r){return r=r||[],Array.isArray(e)?e.map(((e,n)=>f(e,t,r.concat(n)))):v(e)?Object.keys(e).map((n=>f(e[n],t,r.concat(n)))):t(e,r[r.length-1],r)}function m(e,t,r){let n=[];if((r=r||[]).length>0){const o=t(e,r[r.length-1],r);o&&(n=n.concat(o))}if(Array.isArray(e)){const o=e.map(((e,n)=>m(e,t,r.concat(n))));o&&(n=n.concat(o))}else if(v(e)){const o=Object.keys(e).map((n=>m(e[n],t,r.concat(n))));o&&(n=n.concat(o))}return n=y(n),n}function g(e){return Array.isArray(e)?e:[e]}function y(e){return[].concat(...e.map((e=>Array.isArray(e)?y(e):e)))}function b(e){return e.filter((e=>void 0!==e))}function v(e){return e&&"object"==typeof e}function x(e){return e&&"function"==typeof e}function w(e){if($(e)){const{op:t}=e;return"add"===t||"remove"===t||"replace"===t}return!1}function k(e){return w(e)||$(e)&&"mutation"===e.type}function A(e){return k(e)&&("add"===e.op||"replace"===e.op||"merge"===e.op||"mergeDeep"===e.op)}function $(e){return e&&"object"==typeof e}function E(e,t){try{return r.getValueByPointer(e,t)}catch(e){return console.error(e),{}}}t.default=u})),Ns=ye((function(e,t){var r=function(e){function t(){this.fetch=!1,this.DOMException=e.DOMException}return t.prototype=e,new t}("undefined"!=typeof self?self:this);!function(e){!function(t){var r="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,o="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),a="FormData"in e,i="ArrayBuffer"in e;if(i)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function c(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function p(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function d(e){this.map={},e instanceof d?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function h(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function f(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function m(e){var t=new FileReader,r=f(t);return t.readAsArrayBuffer(e),r}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:a&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():i&&o&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(m)}),this.text=function(){var e,t,r,n=h(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,r=f(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(x)}),this.json=function(){return this.text().then(JSON.parse)},this}d.prototype.append=function(e,t){e=c(e),t=u(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},d.prototype.delete=function(e){delete this.map[c(e)]},d.prototype.get=function(e){return e=c(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(c(e))},d.prototype.set=function(e,t){this.map[c(e)]=u(t)},d.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},d.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),p(e)},d.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),p(e)},d.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),p(e)},n&&(d.prototype[Symbol.iterator]=d.prototype.entries);var b=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function v(e,t){var r,n,o=(t=t||{}).body;if(e instanceof v){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new d(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new d(t.headers)),this.method=(n=(r=t.method||this.method||"GET").toUpperCase(),b.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function x(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function w(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},y.call(v.prototype),y.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},w.error=function(){var e=new w(null,{status:0,statusText:""});return e.type="error",e};var k=[301,302,303,307,308];w.redirect=function(e,t){if(-1===k.indexOf(t))throw new RangeError("Invalid status code");return new w(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function A(e,r){return new Promise((function(n,a){var i=new v(e,r);if(i.signal&&i.signal.aborted)return a(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var e,t,r={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new d,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}})),t)};r.url="responseURL"in s?s.responseURL:r.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;n(new w(o,r))},s.onerror=function(){a(new TypeError("Network request failed"))},s.ontimeout=function(){a(new TypeError("Network request failed"))},s.onabort=function(){a(new t.DOMException("Aborted","AbortError"))},s.open(i.method,i.url,!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&o&&(s.responseType="blob"),i.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),i.signal&&(i.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&i.signal.removeEventListener("abort",l)}),s.send(void 0===i._bodyInit?null:i._bodyInit)}))}A.polyfill=!0,e.fetch||(e.fetch=A,e.Headers=d,e.Request=v,e.Response=w),t.Headers=d,t.Request=v,t.Response=w,t.fetch=A}({})}(r),delete r.fetch.polyfill,(t=r.fetch).default=r.fetch,t.fetch=r.fetch,t.Headers=r.Headers,t.Request=r.Request,t.Response=r.Response,e.exports=t})),Ls=ye((function(e,t){var r=t,n=Ia.Buffer;function o(e,t){try{return decodeURIComponent(e)}catch(n){return r.unescapeBuffer(e,t).toString()}}r.unescapeBuffer=function(e,t){for(var r,o,a,i=new n(e.length),s=0,l=0,c=0;l<=e.length;l++){var u=l<e.length?e.charCodeAt(l):NaN;switch(s){case 0:switch(u){case 37:r=0,o=0,s=1;break;case 43:t&&(u=32);default:i[c++]=u}break;case 1:if(a=u,u>=48&&u<=57)r=u-48;else if(u>=65&&u<=70)r=u-65+10;else{if(!(u>=97&&u<=102)){i[c++]=37,i[c++]=u,s=0;break}r=u-97+10}s=2;break;case 2:if(s=0,u>=48&&u<=57)o=u-48;else if(u>=65&&u<=70)o=u-65+10;else{if(!(u>=97&&u<=102)){i[c++]=37,i[c++]=a,i[c++]=u;break}o=u-97+10}i[c++]=16*r+o}}return i.slice(0,c-1)},r.unescape=o;for(var a=new Array(256),i=0;i<256;++i)a[i]="%"+((i<16?"0":"")+i.toString(16)).toUpperCase();r.escape=function(e){"string"!=typeof e&&(e+="");for(var t="",r=0,n=0;n<e.length;++n){var o=e.charCodeAt(n);if(!(33===o||45===o||46===o||95===o||126===o||o>=39&&o<=42||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122))if(n-r>0&&(t+=e.slice(r,n)),o<128)r=n+1,t+=a[o];else if(o<2048)r=n+1,t+=a[192|o>>6]+a[128|63&o];else if(o<55296||o>=57344)r=n+1,t+=a[224|o>>12]+a[128|o>>6&63]+a[128|63&o];else{var i;if(!(++n<e.length))throw new URIError("URI malformed");i=1023&e.charCodeAt(n),r=n+1,t+=a[240|(o=65536+((1023&o)<<10|i))>>18]+a[128|o>>12&63]+a[128|o>>6&63]+a[128|63&o]}}return 0===r?e:r<e.length?t+e.slice(r):t};var s=function(e){return"string"==typeof e?e:"number"==typeof e&&isFinite(e)?""+e:"boolean"==typeof e?e?"true":"false":""};function l(e,t){try{return t(e)}catch(t){return r.unescape(e,!0)}}r.stringify=r.encode=function(e,t,n,o){t=t||"&",n=n||"=";var a=r.escape;if(o&&"function"==typeof o.encodeURIComponent&&(a=o.encodeURIComponent),null!==e&&"object"==typeof e){for(var i=Object.keys(e),l=i.length,c=l-1,u="",p=0;p<l;++p){var d=i[p],h=e[d],f=a(s(d))+n;if(Array.isArray(h)){for(var m=h.length,g=m-1,y=0;y<m;++y)u+=f+a(s(h[y])),y<g&&(u+=t);m&&p<c&&(u+=t)}else u+=f+a(s(h)),p<c&&(u+=t)}return u}return""},r.parse=r.decode=function(e,t,n,a){t=t||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;"string"!=typeof t&&(t+="");var s=n.length,c=t.length,u=1e3;a&&"number"==typeof a.maxKeys&&(u=a.maxKeys);var p=1/0;u>0&&(p=u);var d=r.unescape;a&&"function"==typeof a.decodeURIComponent&&(d=a.decodeURIComponent);for(var h=d!==o,f=[],m=0,g=0,y=0,b="",v="",x=h,w=h,k=0,A=0;A<e.length;++A){var $=e.charCodeAt(A);if($!==t.charCodeAt(g)){if(g=0,w||(37===$?k=1:k>0&&($>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102)?3==++k&&(w=!0):k=0),y<s){if($===n.charCodeAt(y)){++y===s&&(m<(S=A-y+1)&&(b+=e.slice(m,S)),k=0,m=A+1);continue}y=0,x||(37===$?k=1:k>0&&($>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102)?3==++k&&(x=!0):k=0)}43===$&&(y<s?(A-m>0&&(b+=e.slice(m,A)),b+="%20",x=!0):(A-m>0&&(v+=e.slice(m,A)),v+="%20",w=!0),m=A+1)}else if(++g===c){var E,S=A-g+1;if(y<s?m<S&&(b+=e.slice(m,S)):m<S&&(v+=e.slice(m,S)),x&&(b=l(b,d)),w&&(v=l(v,d)),-1===f.indexOf(b)?(i[b]=v,f[f.length]=b):(E=i[b])instanceof Array?E[E.length]=v:i[b]=[E,v],0==--p)break;x=w=h,k=0,b=v="",m=A+1,g=y=0}}return p>0&&(m<e.length||y>0)&&(m<e.length&&(y<s?b+=e.slice(m):g<c&&(v+=e.slice(m))),x&&(b=l(b,d)),w&&(v=l(v,d)),-1===f.indexOf(b)?(i[b]=v,f[f.length]=b):(E=i[b])instanceof Array?E[E.length]=v:i[b]=[E,v]),i}})),qs=Object.defineProperty({default:function(e,t){function r(...e){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,[this.message]=e,t&&t.apply(this,e)}return r.prototype=new Error,r.prototype.name=e,r.prototype.constructor=r,r}},"__esModule",{value:!0}),zs=Js,Us=Vs(ye((function(e){var t=e.exports=function(e){return new r(e)};function r(e){this.value=e}function n(e,t,r){var n=[],i=[],u=!0;return function e(p){var d=r?o(p):p,h={},f=!0,m={node:d,node_:p,path:[].concat(n),parent:i[i.length-1],parents:i,key:n.slice(-1)[0],isRoot:0===n.length,level:n.length,circular:null,update:function(e,t){m.isRoot||(m.parent.node[m.key]=e),m.node=e,t&&(f=!1)},delete:function(e){delete m.parent.node[m.key],e&&(f=!1)},remove:function(e){s(m.parent.node)?m.parent.node.splice(m.key,1):delete m.parent.node[m.key],e&&(f=!1)},keys:null,before:function(e){h.before=e},after:function(e){h.after=e},pre:function(e){h.pre=e},post:function(e){h.post=e},stop:function(){u=!1},block:function(){f=!1}};if(!u)return m;function g(){if("object"==typeof m.node&&null!==m.node){m.keys&&m.node_===m.node||(m.keys=a(m.node)),m.isLeaf=0==m.keys.length;for(var e=0;e<i.length;e++)if(i[e].node_===p){m.circular=i[e];break}}else m.isLeaf=!0,m.keys=null;m.notLeaf=!m.isLeaf,m.notRoot=!m.isRoot}g();var y=t.call(m,m.node);return void 0!==y&&m.update&&m.update(y),h.before&&h.before.call(m,m.node),f?("object"!=typeof m.node||null===m.node||m.circular||(i.push(m),g(),l(m.keys,(function(t,o){n.push(t),h.pre&&h.pre.call(m,m.node[t],t);var a=e(m.node[t]);r&&c.call(m.node,t)&&(m.node[t]=a.node),a.isLast=o==m.keys.length-1,a.isFirst=0==o,h.post&&h.post.call(m,a),n.pop()})),i.pop()),h.after&&h.after.call(m,m.node),m):m}(e).node}function o(e){if("object"==typeof e&&null!==e){var t;if(s(e))t=[];else if("[object Date]"===i(e))t=new Date(e.getTime?e.getTime():e);else if(function(e){return"[object RegExp]"===i(e)}(e))t=new RegExp(e);else if(function(e){return"[object Error]"===i(e)}(e))t={message:e.message};else if(function(e){return"[object Boolean]"===i(e)}(e))t=new Boolean(e);else if(function(e){return"[object Number]"===i(e)}(e))t=new Number(e);else if(function(e){return"[object String]"===i(e)}(e))t=new String(e);else if(Object.create&&Object.getPrototypeOf)t=Object.create(Object.getPrototypeOf(e));else if(e.constructor===Object)t={};else{var r=e.constructor&&e.constructor.prototype||e.__proto__||{},n=function(){};n.prototype=r,t=new n}return l(a(e),(function(r){t[r]=e[r]})),t}return e}r.prototype.get=function(e){for(var t=this.value,r=0;r<e.length;r++){var n=e[r];if(!t||!c.call(t,n)){t=void 0;break}t=t[n]}return t},r.prototype.has=function(e){for(var t=this.value,r=0;r<e.length;r++){var n=e[r];if(!t||!c.call(t,n))return!1;t=t[n]}return!0},r.prototype.set=function(e,t){for(var r=this.value,n=0;n<e.length-1;n++){var o=e[n];c.call(r,o)||(r[o]={}),r=r[o]}return r[e[n]]=t,t},r.prototype.map=function(e){return n(this.value,e,!0)},r.prototype.forEach=function(e){return this.value=n(this.value,e,!1),this.value},r.prototype.reduce=function(e,t){var r=1===arguments.length,n=r?this.value:t;return this.forEach((function(t){this.isRoot&&r||(n=e.call(this,n,t))})),n},r.prototype.paths=function(){var e=[];return this.forEach((function(t){e.push(this.path)})),e},r.prototype.nodes=function(){var e=[];return this.forEach((function(t){e.push(this.node)})),e},r.prototype.clone=function(){var e=[],t=[];return function r(n){for(var i=0;i<e.length;i++)if(e[i]===n)return t[i];if("object"==typeof n&&null!==n){var s=o(n);return e.push(n),t.push(s),l(a(n),(function(e){s[e]=r(n[e])})),e.pop(),t.pop(),s}return n}(this.value)};var a=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};function i(e){return Object.prototype.toString.call(e)}var s=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},l=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)};l(a(r.prototype),(function(e){t[e]=function(t){var n=[].slice.call(arguments,1),o=new r(t);return o[e].apply(o,n)}}));var c=Object.hasOwnProperty||function(e,t){return t in e}}))),Ms=Vs(wr),Hs=Vs((function(e){return"string"==typeof e||!yt(e)&&pt(e)&&"[object String]"==_e(e)}));function Vs(e){return e&&e.__esModule?e:{default:e}}const Ws=["properties"],Ys=["properties"],Ks=["definitions","parameters","responses","securityDefinitions","components/schemas","components/responses","components/parameters","components/securitySchemes"],Gs=["schema/example","items/example"];function Js(e,t){const[r,n]=e.split("#"),o=Ms.default.resolve(r||"",t||"");return n?`${o}#${n}`:o}var Zs=Object.defineProperty({isFreelyNamed:function(e){const t=e[e.length-1],r=e[e.length-2],n=e.join("/");return Ws.indexOf(t)>-1&&-1===Ys.indexOf(r)||Ks.indexOf(n)>-1||Gs.some((e=>n.indexOf(e)>-1))},generateAbsoluteRefPatches:function(e,t,{specmap:r,getBaseUrlForNodePath:n=(e=>r.getContext([...t,...e]).baseDoc),targetKeys:o=["$ref","$$ref"]}={}){const a=[];return(0,Us.default)(e).forEach((function(){if(o.includes(this.key)&&(0,Hs.default)(this.node)){const e=this.path,o=t.concat(this.path),i=Js(this.node,n(e));a.push(r.replace(o,i))}})),a},absolutifyPointer:zs},"__esModule",{value:!0}),Xs=ye((function(e,t){t.__esModule=!0,t.ACCEPT_HEADER_VALUE_FOR_DOCUMENTS=void 0,t.ACCEPT_HEADER_VALUE_FOR_DOCUMENTS="application/json, application/yaml"})),Qs=ye((function(e,t){t.__esModule=!0,t.default=void 0;var r=s(Mo),n=s(Ls),o=s(wr),a=s(Rs),i=s(qs);function s(e){return e&&e.__esModule?e:{default:e}}const l=new RegExp("^([a-z]+://|//)","i"),c=(0,i.default)("JSONRefError",(function(e,t,r){this.originalError=r,Object.assign(this,t||{})})),u={},p=new WeakMap,d=[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]],h={key:"$ref",plugin:(e,t,r,n)=>{const o=n.getInstance(),i=r.slice(0,-1);if((0,Zs.isFreelyNamed)(i)||(s=i,d.some((e=>e(s)))))return;var s;const{baseDoc:l}=n.getContext(r);if("string"!=typeof e)return new c("$ref: must be a string (JSON-Ref)",{$ref:e,baseDoc:l,fullPath:r});const u=b(e),h=u[0],f=u[1]||"";let m,x,w;try{m=l||h?g(h,l):null}catch(t){return y(t,{pointer:f,$ref:e,basePath:m,fullPath:r})}if(function(e,t,r,n){let o=p.get(n);o||(o={},p.set(n,o));const a=function(e){return 0===e.length?"":`/${e.map($).join("/")}`}(r),i=`${t||"<specmap-base>"}#${e}`,s=a.replace(/allOf\/\d+\/?/g,"");if(t==n.contextTree.get([]).baseDoc&&E(s,e))return!0;let l="";if(r.some((e=>(l=`${l}/${$(e)}`,o[l]&&o[l].some((e=>E(e,i)||E(i,e)))))))return!0;o[s]=(o[s]||[]).concat(i)}(f,m,i,n)&&!o.useCircularStructures){const t=(0,Zs.absolutifyPointer)(e,m);return e===t?null:a.default.replace(r,t)}if(null==m?(w=k(f),x=n.get(w),void 0===x&&(x=new c(`Could not resolve reference: ${e}`,{pointer:f,$ref:e,baseDoc:l,fullPath:r}))):(x=v(m,f),x=null!=x.__value?x.__value:x.catch((t=>{throw y(t,{pointer:f,$ref:e,baseDoc:l,fullPath:r})}))),x instanceof Error)return[a.default.remove(r),x];const A=(0,Zs.absolutifyPointer)(e,m),S=a.default.replace(i,x,{$$ref:A});if(m&&m!==l)return[S,a.default.context(i,{baseDoc:m})];try{if(!function(e,t){const r=[e];return t.path.reduce(((e,t)=>(r.push(e[t]),e[t])),e),function e(t){return a.default.isObject(t)&&(r.indexOf(t)>=0||Object.keys(t).some((r=>e(t[r]))))}(t.value)}(n.state,S)||o.useCircularStructures)return S}catch(e){return null}}},f=Object.assign(h,{docCache:u,absoluteify:g,clearCache:function(e){void 0!==e?delete u[e]:Object.keys(u).forEach((e=>{delete u[e]}))},JSONRefError:c,wrapError:y,getDoc:x,split:b,extractFromDoc:v,fetchJSON:function(e){return(0,Ns.fetch)(e,{headers:{Accept:Xs.ACCEPT_HEADER_VALUE_FOR_DOCUMENTS},loadSpec:!0}).then((e=>e.text())).then((e=>r.default.safeLoad(e)))},extract:w,jsonPointerToArray:k,unescapeJsonPointerToken:A});var m=f;function g(e,t){if(!l.test(e)){if(!t)throw new c(`Tried to resolve a relative URL, without having a basePath. path: '${e}' basePath: '${t}'`);return o.default.resolve(t,e)}return e}function y(e,t){let r;return r=e&&e.response&&e.response.body?`${e.response.body.code} ${e.response.body.message}`:e.message,new c(`Could not resolve reference: ${r}`,t,e)}function b(e){return(e+"").split("#")}function v(e,t){const r=u[e];if(r&&!a.default.isPromise(r))try{const e=w(t,r);return Object.assign(Promise.resolve(e),{__value:e})}catch(e){return Promise.reject(e)}return x(e).then((e=>w(t,e)))}function x(e){const t=u[e];return t?a.default.isPromise(t)?t:Promise.resolve(t):(u[e]=f.fetchJSON(e).then((t=>(u[e]=t,t))),u[e])}function w(e,t){const r=k(e);if(r.length<1)return t;const n=a.default.getIn(t,r);if(void 0===n)throw new c(`Could not resolve pointer: ${e} does not exist in document`,{pointer:e});return n}function k(e){if("string"!=typeof e)throw new TypeError("Expected a string, got a "+typeof e);return"/"===e[0]&&(e=e.substr(1)),""===e?[]:e.split("/").map(A)}function A(e){return"string"!=typeof e?e:n.default.unescape(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function $(e){return n.default.escape(e.replace(/~/g,"~0").replace(/\//g,"~1"))}function E(e,t){if(!(r=t)||"/"===r||"#"===r)return!0;var r;const n=e.charAt(t.length),o=t.slice(-1);return 0===e.indexOf(t)&&(!n||"/"===n||"#"===n)&&"#"!==o}t.default=m})),el=Object.prototype.hasOwnProperty,tl=function(e){if(null==e)return!0;if(it(e)&&(yt(e)||"string"==typeof e||"function"==typeof e.splice||vt(e)||$t(e)||gt(e)))return!e.length;var t=xi(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(ut(e))return!_t(e).length;for(var r in e)if(el.call(e,r))return!1;return!0},rl=ye((function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=tl)&&r.__esModule?r:{default:r};function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i={key:"allOf",plugin:(e,t,r,i,s)=>{if(s.meta&&s.meta.$$ref)return;const l=r.slice(0,-1);if((0,Zs.isFreelyNamed)(l))return;if(!Array.isArray(e)){const e=new TypeError("allOf must be an array");return e.fullPath=r,e}let c=!1,u=s.value;if(l.forEach((e=>{u&&(u=u[e])})),u=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},u),(0,n.default)(u))return;delete u.allOf;const p=[];return p.push(i.replace(l,{})),e.forEach(((e,t)=>{if(!i.isObject(e)){if(c)return null;c=!0;const e=new TypeError("Elements in allOf must be objects");return e.fullPath=r,p.push(e)}p.push(i.mergeDeep(l,e));const n=r.slice(0,-1),o=(0,Zs.generateAbsoluteRefPatches)(e,n,{getBaseUrlForNodePath:e=>i.getContext([...r,t,...e]).baseDoc,specmap:i});p.push(...o)})),p.push(i.mergeDeep(l,u)),u.$$ref||p.push(i.remove([].concat(l,"$$ref"))),p}};t.default=i})),nl=ye((function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=Rs)&&r.__esModule?r:{default:r};function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i={key:"parameters",plugin:(e,t,r,i)=>{if(Array.isArray(e)&&e.length){const t=Object.assign([],e),s=r.slice(0,-1),l=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},n.default.getIn(i.spec,s));return e.forEach(((e,n)=>{try{t[n].default=i.parameterMacro(l,e)}catch(e){const t=new Error(e);return t.fullPath=r,t}})),n.default.replace(r,t)}return n.default.replace(r,e)}};t.default=i})),ol=ye((function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=Rs)&&r.__esModule?r:{default:r};function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i={key:"properties",plugin:(e,t,r,i)=>{const s=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e);for(const t in e)try{s[t].default=i.modelPropertyMacro(s[t])}catch(e){const t=new Error(e);return t.fullPath=r,t}return n.default.replace(r,s)}};t.default=i})),al=ye((function(e,t){function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){return i({children:{}},e,t)}function i(e,t,r){return e.value=t||{},e.protoValue=r?n(n({},r.protoValue),e.value):e.value,Object.keys(e.children).forEach((t=>{const r=e.children[t];e.children[t]=i(r,r.value,e)})),e}t.__esModule=!0,t.default=void 0,t.default=class{constructor(e){this.root=a(e||{})}set(e,t){const r=this.getParent(e,!0);if(!r)return void i(this.root,t,null);const n=e[e.length-1],{children:o}=r;o[n]?i(o[n],t,r):o[n]=a(t,r)}get(e){if((e=e||[]).length<1)return this.root.value;let t,r,n=this.root;for(let o=0;o<e.length&&(r=e[o],t=n.children,t[r]);o+=1)n=t[r];return n&&n.protoValue}getParent(e,t){return!e||e.length<1?null:e.length<2?this.root:e.slice(0,-1).reduce(((e,r)=>{if(!e)return e;const{children:n}=e;return!n[r]&&t&&(n[r]=a(null,e)),n[r]}),this.root)}}})),il=ye((function(e,t){t.__esModule=!0,t.default=function(e){return new f(e).dispatch()},t.plugins=t.SpecMap=void 0;var r=u(ji),n=u(Ti),o=u(Rs),a=u(Qs),i=u(rl),s=u(nl),l=u(ol),c=u(al);function u(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class f{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 c.default,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:Object.assign(Object.create(this),o.default,{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(o.default.isFunction),this.patches.push(o.default.add([],this.spec)),this.patches.push(o.default.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{pathDiscriminator:r}=this;let n,a=null;return e[this.pluginProp]?(a=e,n=e[this.pluginProp]):o.default.isFunction(e)?n=e:o.default.isObject(e)&&(n=function(e){const t=(e,t)=>!Array.isArray(e)||e.every(((e,r)=>e===t[r]));return function*(n,a){const i={};for(const e of n.filter(o.default.isAdditiveMutation))yield*s(e.value,e.path,e);function*s(n,l,c){if(o.default.isObject(n)){const u=l.length-1,p=l[u],d=l.indexOf("properties"),h="properties"===p&&u===d,f=a.allowMetaPatches&&i[n.$$ref];for(const u of Object.keys(n)){const p=n[u],d=l.concat(u),m=o.default.isObject(p),g=n.$$ref;if(f||m&&(a.allowMetaPatches&&g&&(i[g]=!0),yield*s(p,d,c)),!h&&u===e.key){const n=t(r,l);r&&!n||(yield e.plugin(p,u,d,a,c))}}}else e.key===l[l.length-1]&&(yield e.plugin(n,e.key,l,a))}}}(e)),Object.assign(n.bind(a),{pluginName:e.name||t,isGenerator:o.default.isGenerator(n)})}nextPlugin(){return(0,r.default)(this.wrappedPlugins,(e=>this.getMutationsForPlugin(e).length>0))}nextPromisedPatch(){if(this.promisedPatches.length>0)return Promise.race(this.promisedPatches.map((e=>e.value)))}getPluginHistory(e){const t=this.constructor.getPluginName(e);return this.pluginHistory[t]||[]}getPluginRunCount(e){return this.getPluginHistory(e).length}getPluginHistoryTip(e){const t=this.getPluginHistory(e);return t&&t[t.length-1]||{}}getPluginMutationIndex(e){const t=this.getPluginHistoryTip(e).mutationIndex;return"number"!=typeof t?-1:t}updatePluginHistory(e,t){const r=this.constructor.getPluginName(e);this.pluginHistory[r]=this.pluginHistory[r]||[],this.pluginHistory[r].push(t)}updatePatches(e){o.default.normalizeArray(e).forEach((e=>{if(e instanceof Error)this.errors.push(e);else try{if(!o.default.isObject(e))return void this.debug("updatePatches","Got a non-object patch",e);if(this.showDebug&&this.allPatches.push(e),o.default.isPromise(e.value))return this.promisedPatches.push(e),void this.promisedPatchThen(e);if(o.default.isContextPatch(e))return void this.setContext(e.path,e.value);if(o.default.isMutation(e))return void this.updateMutations(e)}catch(e){console.error(e),this.errors.push(e)}}))}updateMutations(e){"object"==typeof e.value&&!Array.isArray(e.value)&&this.allowMetaPatches&&(e.value=d({},e.value));const t=o.default.applyPatch(this.state,e,{allowMetaPatches:this.allowMetaPatches});t&&(this.mutations.push(e),this.state=t)}removePromisedPatch(e){const t=this.promisedPatches.indexOf(e);t<0?this.debug("Tried to remove a promisedPatch that isn't there!"):this.promisedPatches.splice(t,1)}promisedPatchThen(e){return e.value=e.value.then((t=>{const r=d(d({},e),{},{value:t});this.removePromisedPatch(e),this.updatePatches(r)})).catch((t=>{this.removePromisedPatch(e),this.updatePatches(t)})),e.value}getMutations(e,t){return e=e||0,"number"!=typeof t&&(t=this.mutations.length),this.mutations.slice(e,t)}getCurrentMutations(){return this.getMutationsForPlugin(this.getCurrentPlugin())}getMutationsForPlugin(e){const t=this.getPluginMutationIndex(e);return this.getMutations(t+1)}getCurrentPlugin(){return this.currentPlugin}getLib(){return this.libMethods}_get(e){return o.default.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 e=this,t=this.nextPlugin();if(!t){const e=this.nextPromisedPatch();if(e)return e.then((()=>this.dispatch())).catch((()=>this.dispatch()));const t={spec:this.state,errors:this.errors};return this.showDebug&&(t.patches=this.allPatches),Promise.resolve(t)}if(e.pluginCount=e.pluginCount||{},e.pluginCount[t]=(e.pluginCount[t]||0)+1,e.pluginCount[t]>100)return Promise.resolve({spec:e.state,errors:e.errors.concat(new Error("We've reached a hard limit of 100 plugin runs"))});if(t!==this.currentPlugin&&this.promisedPatches.length){const e=this.promisedPatches.map((e=>e.value));return Promise.all(e.map((e=>e.then(n.default,n.default)))).then((()=>this.dispatch()))}return function(){e.currentPlugin=t;const n=e.getCurrentMutations(),o=e.mutations.length-1;try{if(t.isGenerator)for(const o of t(n,e.getLib()))r(o);else r(t(n,e.getLib()))}catch(e){console.error(e),r([Object.assign(Object.create(e),{plugin:t})])}finally{e.updatePluginHistory(t,{mutationIndex:o})}return e.dispatch()}();function r(r){r&&(r=o.default.fullyNormalizeArray(r),e.updatePatches(r,t))}}}t.SpecMap=f;const m={refs:a.default,allOf:i.default,parameters:s.default,properties:l.default};t.plugins=m})),sl=yl,ll=bl,cl=vl,ul=xl,pl=wl,dl=fl(je),hl=fl(Kt);function fl(e){return e&&e.__esModule?e:{default:e}}const ml=e=>String.prototype.toLowerCase.call(e),gl=e=>e.replace(/[^\w]/gi,"_");function yl(e,t,r="",{v2OperationIdCompatibilityMode:n}={}){return e&&"object"==typeof e?(e.operationId||"").replace(/\s/g,"").length?gl(e.operationId):bl(t,r,{v2OperationIdCompatibilityMode:n}):null}function bl(e,t,{v2OperationIdCompatibilityMode:r}={}){if(r){let r=`${t.toLowerCase()}_${e}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return r=r||`${e.substring(1)}_${t}`,r.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${ml(t)}${gl(e)}`}function vl(e,t){return`${ml(t)}-${e}`}function xl(e,t){return wl(e,t,!0)||null}function wl(e,t,r){if(!e||"object"!=typeof e||!e.paths||"object"!=typeof e.paths)return null;const{paths:n}=e;for(const o in n)for(const a in n[o]){if("PARAMETERS"===a.toUpperCase())continue;const i=n[o][a];if(!i||"object"!=typeof i)continue;const s={spec:e,pathName:o,method:a.toUpperCase(),operation:i},l=t(s);if(r&&l)return s}}var kl,Al=Object.defineProperty({isOAS3:function(e){const t=e.openapi;return!!t&&(0,hl.default)(t,"3")},isSwagger2:function(e){const t=e.swagger;return!!t&&(0,hl.default)(t,"2")},opId:sl,idFromPathMethod:ll,legacyIdFromPathMethod:cl,getOperationRaw:function(e,t){return e&&e.paths?xl(e,(({pathName:e,method:r,operation:n})=>{if(!n||"object"!=typeof n)return!1;const o=n.operationId;return[yl(n,e,r),vl(e,r),o].some((e=>e&&e===t))})):null},findOperation:ul,eachOperation:pl,normalizeSwagger:function(e){const{spec:t}=e,{paths:r}=t,n={};if(!r||t.$$normalized)return e;for(const e in r){const o=r[e];if(!(0,dl.default)(o))continue;const a=o.parameters;for(const r in o){const i=o[r];if(!(0,dl.default)(i))continue;const s=yl(i,e,r);if(s){n[s]?n[s].push(i):n[s]=[i];const e=n[s];if(e.length>1)e.forEach(((e,t)=>{e.__originalOperationId=e.__originalOperationId||e.operationId,e.operationId=`${s}${t+1}`}));else if(void 0!==i.operationId){const t=e[0];t.__originalOperationId=t.__originalOperationId||i.operationId,t.operationId=s}}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(a&&(r.parameters=a,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}},"__esModule",{value:!0}),$l=Ol,El=(kl=Ma)&&kl.__esModule?kl:{default:kl},Sl=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=Dl();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(il);function Dl(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Dl=function(){return e},e}function Ol(e,t={}){const{requestInterceptor:r,responseInterceptor:n}=t,o=e.withCredentials?"include":"same-origin";return t=>e({url:t,loadSpec:!0,requestInterceptor:r,responseInterceptor:n,headers:{Accept:Xs.ACCEPT_HEADER_VALUE_FOR_DOCUMENTS},credentials:o}).then((e=>e.body))}var Cl=Object.defineProperty({makeFetchJSON:$l,clearCache:function(){Sl.plugins.refs.clearCache()},default:function(e){const{fetch:t,spec:r,url:n,mode:o,allowMetaPatches:a=!0,pathDiscriminator:i,modelPropertyMacro:s,parameterMacro:l,requestInterceptor:c,responseInterceptor:u,skipNormalization:p,useCircularStructures:d}=e;let{http:h,baseDoc:f}=e;return f=f||n,h=t||h||El.default,r?m(r):Ol(h,{requestInterceptor:c,responseInterceptor:u})(f).then(m);function m(e){f&&(Sl.plugins.refs.docCache[f]=e),Sl.plugins.refs.fetchJSON=Ol(h,{requestInterceptor:c,responseInterceptor:u});const t=[Sl.plugins.refs];return"function"==typeof l&&t.push(Sl.plugins.parameters),"function"==typeof s&&t.push(Sl.plugins.properties),"strict"!==o&&t.push(Sl.plugins.allOf),(0,Sl.default)({spec:e,context:{baseDoc:f},plugins:t,allowMetaPatches:a,pathDiscriminator:i,parameterMacro:l,modelPropertyMacro:s,useCircularStructures:d}).then(p?async e=>e:Al.normalizeSwagger)}}},"__esModule",{value:!0}),_l=Tl(Di),jl=Tl(Cl);function Tl(e){return e&&e.__esModule?e:{default:e}}function Fl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Fl(Object(r),!0).forEach((function(t){Bl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Bl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Il=Object.defineProperty({default:async function(e,t,r={}){const{returnEntireTree:n,baseDoc:o,requestInterceptor:a,responseInterceptor:i,parameterMacro:s,modelPropertyMacro:l,useCircularStructures:c}=r,u={pathDiscriminator:t,baseDoc:o,requestInterceptor:a,responseInterceptor:i,parameterMacro:s,modelPropertyMacro:l,useCircularStructures:c},{spec:p}=(0,Al.normalizeSwagger)({spec:e}),d=await(0,jl.default)(Pl(Pl({},u),{},{spec:p,allowMetaPatches:!0,skipNormalization:!0}));return!n&&Array.isArray(t)&&t.length&&(d.spec=(0,_l.default)(d.spec,t)||null),d}},"__esModule",{value:!0}),Rl=ye((function(e,t){t.__esModule=!0,t.makeExecute=l,t.makeApisTagOperationsOperationExecute=function(e={}){const t=s.makeExecute(e),r=s.mapTagOperations({v2OperationIdCompatibilityMode:e.v2OperationIdCompatibilityMode,spec:e.spec,cb:t}),n={};for(const e in r){n[e]={operations:{}};for(const t in r[e])n[e].operations[t]={execute:r[e][t]}}return{apis:n}},t.makeApisTagOperation=function(e={}){const t=s.makeExecute(e);return{apis:s.mapTagOperations({v2OperationIdCompatibilityMode:e.v2OperationIdCompatibilityMode,spec:e.spec,cb:t})}},t.mapTagOperations=c,t.self=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(Aa);function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const i=()=>null,s={mapTagOperations:c,makeExecute:l};function l(e={}){return({pathName:t,method:n,operationId:a})=>(i,s={})=>e.execute(o(o({spec:e.spec},(0,r.default)(e,"requestInterceptor","responseInterceptor","userFetch")),{},{pathName:t,method:n,parameters:i,operationId:a},s))}function c({spec:e,cb:t=i,defaultTag:r="default",v2OperationIdCompatibilityMode:n}){const o={},a={};return(0,Al.eachOperation)(e,(({pathName:i,method:s,operation:l})=>{var c;(l.tags?(c=l.tags,Array.isArray(c)?c:[c]):[r]).forEach((r=>{if("string"!=typeof r)return;a[r]=a[r]||{};const c=a[r],u=(0,Al.opId)(l,i,s,{v2OperationIdCompatibilityMode:n}),p=t({spec:e,pathName:i,method:s,operation:l,operationId:u});if(o[u])o[u]+=1,c[`${u}${o[u]}`]=p;else if(void 0!==c[u]){const e=o[u]||1;o[u]=e+1,c[`${u}${o[u]}`]=p;const t=c[u];delete c[u],c[`${u}${e}`]=t}else c[u]=p}))})),a}t.self=s})),Nl=Function.prototype,Ll=Object.prototype,ql=Nl.toString,zl=Ll.hasOwnProperty,Ul=ql.call(Object),Ml=function(e){if(!pt(e)||"[object Object]"!=_e(e))return!1;var t=bs(e);if(null===t)return!0;var r=zl.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&ql.call(r)==Ul},Hl=decodeURIComponent,Vl=encodeURIComponent,Wl=/; */,Yl=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function Kl(e,t){try{return t(e)}catch(t){return e}}var Gl={parse:function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var r={},n=t||{},o=e.split(Wl),a=n.decode||Hl,i=0;i<o.length;i++){var s=o[i],l=s.indexOf("=");if(!(l<0)){var c=s.substr(0,l).trim(),u=s.substr(++l,s.length).trim();'"'==u[0]&&(u=u.slice(1,-1)),null==r[c]&&(r[c]=Kl(u,a))}}return r},serialize:function(e,t,r){var n=r||{},o=n.encode||Vl;if("function"!=typeof o)throw new TypeError("option encode is invalid");if(!Yl.test(e))throw new TypeError("argument name is invalid");var a=o(t);if(a&&!Yl.test(a))throw new TypeError("argument val is invalid");var i=e+"="+a;if(null!=n.maxAge){var s=n.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(s)}if(n.domain){if(!Yl.test(n.domain))throw new TypeError("option domain is invalid");i+="; Domain="+n.domain}if(n.path){if(!Yl.test(n.path))throw new TypeError("option path is invalid");i+="; Path="+n.path}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");i+="; Expires="+n.expires.toUTCString()}if(n.httpOnly&&(i+="; HttpOnly"),n.secure&&(i+="; Secure"),n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return i}},Jl=ye((function(e,t){t.__esModule=!0,t.default=void 0;var r={body:function({req:e,value: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||{},!1===t&&"boolean"===r.type&&(t="false"),0===t&&["number","integer"].indexOf(r.type)>-1&&(t="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}){e.url=e.url.split(`{${r.name}}`).join(encodeURIComponent(t))},formData:function({req:e,value:t,parameter:r}){(t||r.allowEmptyValue)&&(e.form=e.form||{},e.form[r.name]={value:t,allowEmptyValue:r.allowEmptyValue,collectionFormat:r.collectionFormat})}};t.default=r})),Zl=Object.defineProperty({default:function(e,t){return t.includes("application/json")?"string"==typeof e?e:JSON.stringify(e):e.toString()}},"__esModule",{value:!0}),Xl=rc(Aa),Ql=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=tc();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(Ua),ec=rc(Zl);function tc(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return tc=function(){return e},e}function rc(e){return e&&e.__esModule?e:{default:e}}const nc=["accept","authorization","content-type"];var oc=Object.defineProperty({path:function({req:e,value:t,parameter:r}){const{name:n,style:o,explode:a,content:i}=r;if(i){const r=Object.keys(i)[0];return void(e.url=e.url.split(`{${n}}`).join((0,Ql.encodeDisallowedCharacters)((0,ec.default)(t,r),{escape:!0})))}const s=(0,Ql.default)({key:r.name,value:t,style:o||"simple",explode:a||!1,escape:!0});e.url=e.url.split(`{${n}}`).join(s)},query:function({req:e,value:t,parameter:r}){if(e.query=e.query||{},r.content){const n=Object.keys(r.content)[0];e.query[r.name]=(0,ec.default)(t,n)}else if(!1===t&&(t="false"),0===t&&(t="0"),t)e.query[r.name]={value:t,serializationOption:(0,Xl.default)(r,["style","explode","allowReserved"])};else if(r.allowEmptyValue&&void 0!==t){const t=r.name;e.query[t]=e.query[t]||{},e.query[t].allowEmptyValue=!0}},header:function({req:e,parameter:t,value:r}){if(e.headers=e.headers||{},!(nc.indexOf(t.name.toLowerCase())>-1))if(t.content){const n=Object.keys(t.content)[0];e.headers[t.name]=(0,ec.default)(r,n)}else void 0!==r&&(e.headers[t.name]=(0,Ql.default)({key:t.name,value:r,style:t.style||"simple",explode:void 0!==t.explode&&t.explode,escape:!1}))},cookie:function({req:e,parameter:t,value:r}){e.headers=e.headers||{};const n=typeof r;if(t.content){const n=Object.keys(t.content)[0];e.headers.Cookie=`${t.name}=${(0,ec.default)(r,n)}`}else if("undefined"!==n){const o="object"===n&&!Array.isArray(r)&&t.explode?"":`${t.name}=`;e.headers.Cookie=o+(0,Ql.default)({key:t.name,value:r,escape:!1,style:t.style||"form",explode:void 0!==t.explode&&t.explode})}}},"__esModule",{value:!0}),ac=ye((function(e){e.exports=function(e){return(e instanceof ge?e:ge.from(e.toString(),"binary")).toString("base64")}})),ic=pc,sc=uc(Ft),lc=uc(Di),cc=uc(ac);function uc(e){return e&&e.__esModule?e:{default:e}}function pc({request:e,securities:t={},operation:r={},spec:n}){const o=(0,sc.default)({},e),{authorized:a={}}=t,i=r.security||n.security||[],s=a&&!!Object.keys(a).length,l=(0,lc.default)(n,["components","securitySchemes"])||{};return o.headers=o.headers||{},o.query=o.query||{},Object.keys(t).length&&s&&i&&(!Array.isArray(r.security)||r.security.length)?(i.forEach((e=>{Object.keys(e).forEach((e=>{const t=a[e],r=l[e];if(!t)return;const n=t.value||t,{type:i}=r;if(t)if("apiKey"===i)"query"===r.in&&(o.query[r.name]=n),"header"===r.in&&(o.headers[r.name]=n),"cookie"===r.in&&(o.cookies[r.name]=n);else if("http"===i){if(/^basic$/i.test(r.scheme)){const e=n.username||"",t=n.password||"",r=(0,cc.default)(`${e}:${t}`);o.headers.Authorization=`Basic ${r}`}/^bearer$/i.test(r.scheme)&&(o.headers.Authorization=`Bearer ${n}`)}else if("oauth2"===i||"openIdConnect"===i){const e=t.token||{},n=e[r["x-tokenName"]||"access_token"];let a=e.token_type;a&&"bearer"!==a.toLowerCase()||(a="Bearer"),o.headers.Authorization=`${a} ${n}`}}))})),o):e}var dc=Object.defineProperty({default:function(e,t){const{operation:r,requestBody:n,securities:o,spec:a,attachContentTypeForEmptyPayload:i}=e;let{requestContentType:s}=e;t=pc({request:t,securities:o,operation:r,spec:a});const l=r.requestBody||{},c=Object.keys(l.content||{}),u=s&&c.indexOf(s)>-1;if(n||i){if(s&&u)t.headers["Content-Type"]=s;else if(!s){const e=c[0];e&&(t.headers["Content-Type"]=e,s=e)}}else s&&u&&(t.headers["Content-Type"]=s);if(n)if(s){if(c.indexOf(s)>-1)if("application/x-www-form-urlencoded"===s||"multipart/form-data"===s)if("object"==typeof n){const e=(l.content[s]||{}).encoding||{};t.form={},Object.keys(n).forEach((r=>{t.form[r]={value:n[r],encoding:e[r]||{}}}))}else t.form=n;else t.body=n}else t.body=n;return t},applySecurities:ic},"__esModule",{value:!0}),hc=yc,fc=gc(ac),mc=gc(Ft);function gc(e){return e&&e.__esModule?e:{default:e}}function yc({request:e,securities:t={},operation:r={},spec:n}){const o=(0,mc.default)({},e),{authorized:a={},specSecurity:i=[]}=t,s=r.security||i,l=a&&!!Object.keys(a).length,c=n.securityDefinitions;return o.headers=o.headers||{},o.query=o.query||{},Object.keys(t).length&&l&&s&&(!Array.isArray(r.security)||r.security.length)?(s.forEach((e=>{Object.keys(e).forEach((e=>{const t=a[e];if(!t)return;const{token:r}=t,n=t.value||t,i=c[e],{type:s}=i,l=i["x-tokenName"]||"access_token",u=r&&r[l];let p=r&&r.token_type;if(t)if("apiKey"===s){const e="query"===i.in?"query":"headers";o[e]=o[e]||{},o[e][i.name]=n}else if("basic"===s)if(n.header)o.headers.authorization=n.header;else{const e=n.username||"",t=n.password||"";n.base64=(0,fc.default)(`${e}:${t}`),o.headers.authorization=`Basic ${n.base64}`}else"oauth2"===s&&u&&(p=p&&"bearer"!==p.toLowerCase()?p:"Bearer",o.headers.authorization=`${p} ${u}`)}))})),o):e}var bc=Object.defineProperty({default:function(e,t){const{spec:r,operation:n,securities:o,requestContentType:a,attachContentTypeForEmptyPayload:i}=e;if((t=yc({request:t,securities:o,operation:n,spec:r})).body||t.form||i)a?t.headers["Content-Type"]=a: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(a){const e=n.parameters&&n.parameters.filter((e=>"body"===e.in)).length>0,r=n.parameters&&n.parameters.filter((e=>"formData"===e.in)).length>0;(e||r)&&(t.headers["Content-Type"]=a)}return t},applySecurities:hc},"__esModule",{value:!0}),vc=ye((function(e,t){t.__esModule=!0,t.execute=function(e){let{http:t,fetch:r,spec:a,operationId:i,pathName:l,method:c,parameters:u,securities:p}=e,d=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["http","fetch","spec","operationId","pathName","method","parameters","securities"]);const h=t||r||s.default;l&&c&&!i&&(i=(0,Al.legacyIdFromPathMethod)(l,c));const f=w.buildRequest(y({spec:a,operationId:i,parameters:u,securities:p,http:h},d));return f.body&&((0,n.default)(f.body)||(0,o.default)(f.body))&&(f.body=JSON.stringify(f.body)),h(f)},t.buildRequest=k,t.baseUrl=$,t.self=void 0;var r=m(Di),n=m(Ml),o=m(yt),a=m(wr),i=m(Gl),s=f(Ma),l=m(qs),c=m(Jl),u=f(oc),p=m(dc),d=m(bc);function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function m(e){return e&&e.__esModule?e:{default:e}}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const v=e=>Array.isArray(e)?e:[],x=(0,l.default)("OperationNotFoundError",(function(e,t,r){this.originalError=r,Object.assign(this,t||{})})),w={buildRequest:k};function k(e){const{spec:t,operationId:r,responseContentType:n,scheme:o,requestInterceptor:a,responseInterceptor:l,contextUrl:h,userFetch:f,server:m,serverVariables:g,http:b}=e;let{parameters:w,parameterBuilders:k}=e;const A=(0,Al.isOAS3)(t);k||(k=A?u:c.default);let E={url:"",credentials:b&&b.withCredentials?"include":"same-origin",headers:{},cookies:{}};a&&(E.requestInterceptor=a),l&&(E.responseInterceptor=l),f&&(E.userFetch=f);const S=(0,Al.getOperationRaw)(t,r);if(!S)throw new x(`Operation ${r} not found`);const{operation:D={},method:O,pathName:C}=S;if(E.url+=$({spec:t,scheme:o,contextUrl:h,server:m,serverVariables:g,pathName:C,method:O}),!r)return delete E.cookies,E;E.url+=C,E.method=`${O}`.toUpperCase(),w=w||{};const _=t.paths[C]||{};n&&(E.headers.accept=n);const j=(e=>{const t={};e.forEach((e=>{t[e.in]||(t[e.in]={}),t[e.in][e.name]=e}));const r=[];return Object.keys(t).forEach((e=>{Object.keys(t[e]).forEach((n=>{r.push(t[e][n])}))})),r})([].concat(v(D.parameters)).concat(v(_.parameters)));j.forEach((e=>{const r=k[e.in];let n;if("body"===e.in&&e.schema&&e.schema.properties&&(n=w),n=e&&e.name&&w[e.name],void 0===n?n=e&&e.name&&w[`${e.in}.${e.name}`]:((e,t)=>t.filter((t=>t.name===e)))(e.name,j).length>1&&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!==n){if(void 0!==e.default&&void 0===n&&(n=e.default),void 0===n&&e.required&&!e.allowEmptyValue)throw new Error(`Required parameter ${e.name} is not provided`);if(A&&e.schema&&"object"===e.schema.type&&"string"==typeof n)try{n=JSON.parse(n)}catch(e){throw new Error("Could not parse object parameter value string as JSON")}r&&r({req:E,parameter:e,value:n,operation:D,spec:t})}}));const T=y(y({},e),{},{operation:D});if(E=A?(0,p.default)(T,E):(0,d.default)(T,E),E.cookies&&Object.keys(E.cookies).length){const e=Object.keys(E.cookies).reduce(((e,t)=>{const r=E.cookies[t];return e+(e?"&":"")+i.default.serialize(t,r)}),"");E.headers.Cookie=e}return E.cookies&&delete E.cookies,(0,s.mergeInQueryOrForm)(E),E}t.self=w;const A=e=>e?e.replace(/\W/g,""):null;function $(e){return(0,Al.isOAS3)(e.spec)?function({spec:e,pathName:t,method:n,server:o,contextUrl:i,serverVariables:s={}}){const l=(0,r.default)(e,["paths",t,(n||"").toLowerCase(),"servers"])||(0,r.default)(e,["paths",t,"servers"])||(0,r.default)(e,["servers"]);let c="",u=null;if(o&&l&&l.length){const e=l.map((e=>e.url));e.indexOf(o)>-1&&(c=o,u=l[e.indexOf(o)])}return!c&&l&&l.length&&(c=l[0].url,[u]=l),c.indexOf("{")>-1&&function(e){const t=[],r=/{([^}]+)}/g;let n;for(;n=r.exec(e);)t.push(n[1]);return t}(c).forEach((e=>{if(u.variables&&u.variables[e]){const t=u.variables[e],r=s[e]||t.default,n=new RegExp(`{${e}}`,"g");c=c.replace(n,r)}})),function(e="",t=""){const r=e&&t?a.default.parse(a.default.resolve(t,e)):a.default.parse(e),n=a.default.parse(t),o=A(r.protocol)||A(n.protocol)||"",i=r.host||n.host,s=r.pathname||"";let l;return l=o&&i?`${o}://${i+s}`:s,"/"===l[l.length-1]?l.slice(0,-1):l}(c,i)}(e):function({spec:e,scheme:t,contextUrl:r=""}){const n=a.default.parse(r),o=Array.isArray(e.schemes)?e.schemes[0]:null,i=t||o||A(n.protocol)||"http",s=e.host||n.host||"",l=e.basePath||"";let c;return c=i&&s?`${i}://${s+l}`:l,"/"===c[c.length-1]?c.slice(0,-1):c}(e)}})),xc=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(ye((function(e,t){t.__esModule=!0,t.default=t.helpers=void 0;var r=u(Ft),n=u(Kt),o=u(wr),a=c(Ma),i=c(Cl),s=u(Il);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function u(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t={}){if("string"==typeof e?t.url=e:t=e,!(this instanceof f))return new f(t);(0,r.default)(this,t);const n=this.resolve().then((()=>(this.disableInterfaces||(0,r.default)(this,f.makeApisTagOperation(this)),this)));return n.client=this,n}f.http=a.default,f.makeHttp=a.makeHttp.bind(null,f.http),f.resolve=i.default,f.resolveSubtree=s.default,f.execute=vc.execute,f.serializeRes=a.serializeRes,f.serializeHeaders=a.serializeHeaders,f.clearCache=i.clearCache,f.makeApisTagOperation=Rl.makeApisTagOperation,f.buildRequest=vc.buildRequest,f.helpers={opId:Al.opId},f.getBaseUrl=vc.baseUrl,f.prototype={http:a.default,execute(e){return this.applyDefaults(),f.execute(d({spec:this.spec,http:this.http,securities:{authorized:this.authorizations},contextUrl:"string"==typeof this.url?this.url:void 0,requestInterceptor:this.requestInterceptor||null,responseInterceptor:this.responseInterceptor||null},e))},resolve(e={}){return f.resolve(d({spec:this.spec,url:this.url,http:this.http||this.fetch,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,requestInterceptor:this.requestInterceptor||null,responseInterceptor:this.responseInterceptor||null},e)).then((e=>(this.originalSpec=this.spec,this.spec=e.spec,this.errors=e.errors,this)))}},f.prototype.applyDefaults=function(){const{spec:e}=this,t=this.url;if(t&&(0,n.default)(t,"http")){const r=o.default.parse(t);e.host||(e.host=r.host),e.schemes||(e.schemes=[r.protocol.replace(":","")]),e.basePath||(e.basePath="/")}};const{helpers:m}=f;t.helpers=m;var g=f;t.default=g})));function wc(e){const t=(e=e.replace("[]","Array")).split("/");return t[0]=t[0].replace(/[^A-Za-z0-9_\-\.]+|\s+/gm,"_"),t.join("/")}var kc={parameterTypeProperties:["format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","minLength","maxLength","multipleOf","minItems","maxItems","uniqueItems","minProperties","maxProperties","additionalProperties","pattern","enum","default"],arrayProperties:["items","minItems","maxItems","uniqueItems"],httpMethods:["get","post","put","delete","patch","head","options","trace"],uniqueOnly:function(e,t,r){return r.indexOf(e)===t},createHash:function(e){let t,r=0;if(0===e.length)return r;for(let n=0;n<e.length;n++)t=e.charCodeAt(n),r=(r<<5)-r+t,r|=0;return r},sanitise:wc,sanitiseAll:function(e){return wc(e.split("/").join("_"))},camelize:function(e){return e.toLowerCase().replace(/[-_ \/\.](.)/g,((e,t)=>t.toUpperCase()))},clone:function(e){return JSON.parse(JSON.stringify(e))},circularClone:function e(t,r){if(r||(r=new WeakMap),Object(t)!==t||t instanceof Function)return t;if(r.has(t))return r.get(t);let n;try{n=new t.constructor}catch(e){n=Object.create(Object.getPrototypeOf(t))}return r.set(t,n),Object.assign(n,...Object.keys(t).map((n=>({[n]:e(t[n],r)}))))}};function Ac(){return{depth:0,seen:new WeakMap,top:!0,combine:!1,allowRefSiblings:!1}}var $c=function e(t,r,n,o){if(void 0===n.depth&&(n=Ac()),null==t)return t;if(n.combine&&(t.allOf&&Array.isArray(t.allOf)&&1===t.allOf.length&&delete(t={...t.allOf[0],...t}).allOf,t.anyOf&&Array.isArray(t.anyOf)&&1===t.anyOf.length&&delete(t={...t.anyOf[0],...t}).anyOf,t.oneOf&&Array.isArray(t.oneOf)&&1===t.oneOf.length&&delete(t={...t.oneOf[0],...t}).oneOf),o(t,r,n),n.seen.has(t))return t;if("object"==typeof t&&null!==t&&n.seen.set(t,!0),n.top=!1,n.depth++,void 0!==t.items&&(n.property="items",e(t.items,t,n,o)),t.additionalItems&&"object"==typeof t.additionalItems&&(n.property="additionalItems",e(t.additionalItems,t,n,o)),t.additionalProperties&&"object"==typeof t.additionalProperties&&(n.property="additionalProperties",e(t.additionalProperties,t,n,o)),t.properties)for(const r in t.properties){const a=t.properties[r];n.property=`properties/${r}`,e(a,t,n,o)}if(t.patternProperties)for(const r in t.patternProperties){const a=t.patternProperties[r];n.property=`patternProperties/${r}`,e(a,t,n,o)}if(t.allOf)for(const r in t.allOf){const a=t.allOf[r];n.property=`allOf/${r}`,e(a,t,n,o)}if(t.anyOf)for(const r in t.anyOf){const a=t.anyOf[r];n.property=`anyOf/${r}`,e(a,t,n,o)}if(t.oneOf)for(const r in t.oneOf){const a=t.oneOf[r];n.property=`oneOf/${r}`,e(a,t,n,o)}return t.not&&(n.property="not",e(t.not,t,n,o)),n.depth--,t};function Ec(e,t,r){if(t||(t={depth:0}),t.depth||(t={path:"#",depth:0,pkey:"",parent:{},payload:{},seen:new WeakMap,identity:!1,identityDetection:!1,...t}),"object"!=typeof e)return;const n=t.path;for(const o in e){if(t.key=o,t.path=`${t.path}/${encodeURIComponent(o)}`,t.identityPath=t.seen.get(e[o]),t.identity=void 0!==t.identityPath,e.hasOwnProperty(o)&&r(e,o,t),"object"==typeof e[o]&&!t.identity){t.identityDetection&&!Array.isArray(e[o])&&null!==e[o]&&t.seen.set(e[o],t.path);const n={};n.parent=e,n.path=t.path,n.depth=t.depth?t.depth+1:1,n.pkey=o,n.payload=t.payload,n.seen=t.seen,n.identity=!1,n.identityDetection=t.identityDetection,Ec(e[o],n,r)}t.path=n}}let Sc;function Dc(e,t){for(const r in e)r.startsWith("x-")&&!r.startsWith("x-s2o")&&(t[r]=e[r])}function Oc(e,t){$c(e,{},{},((e,r)=>{!function(e){if(e["x-required"]&&Array.isArray(e["x-required"])&&(e.required||(e.required=[]),e.required=e.required.concat(e["x-required"]),delete e["x-required"]),e["x-anyOf"]&&(e.anyOf=e["x-anyOf"],delete e["x-anyOf"]),e["x-oneOf"]&&(e.oneOf=e["x-oneOf"],delete e["x-oneOf"]),e["x-not"]&&(e.not=e["x-not"],delete e["x-not"]),"boolean"==typeof e["x-nullable"]&&(e.nullable=e["x-nullable"],delete e["x-nullable"]),"object"==typeof e["x-discriminator"]&&"string"==typeof e["x-discriminator"].propertyName){e.discriminator=e["x-discriminator"],delete e["x-discriminator"];for(const t in e.discriminator.mapping){const r=e.discriminator.mapping[t];r.startsWith("#/definitions/")&&(e.discriminator.mapping[t]=r.replace("#/definitions/","#/components/schemas/"))}}}(e),function(e,t,r){if(e.nullable&&r.patches++,e.discriminator&&"string"==typeof e.discriminator&&(e.discriminator={propertyName:e.discriminator}),e.items&&Array.isArray(e.items)&&(0===e.items.length?e.items={}:1===e.items.length?e.items=e.items[0]:e.items={anyOf:e.items}),e.type&&Array.isArray(e.type)){if(r.patches++,r.warnings.push("(Patchable) schema type must not be an array"),0===e.type.length)delete e.type;else{e.oneOf||(e.oneOf=[]);for(const t of e.type){const r={};if("null"===t)e.nullable=!0;else{r.type=t;for(const t of kc.arrayProperties)void 0!==e.prop&&(r[t]=e[t],delete e[t])}r.type&&e.oneOf.push(r)}delete e.type,0===e.oneOf.length?delete e.oneOf:e.oneOf.length<2&&(e.type=e.oneOf[0].type,Object.keys(e.oneOf[0]).length>1&&(r.patches++,r.warnings.push("Lost properties from oneOf")),delete e.oneOf)}e.type&&Array.isArray(e.type)&&1===e.type.length&&(e.type=e.type[0])}e.type&&"null"===e.type&&(delete e.type,e.nullable=!0),"array"!==e.type||e.items||(e.items={}),"file"===e.type&&(e.type="string",e.format="binary"),"boolean"==typeof e.required&&(e.required&&e.name&&(void 0===t.required&&(t.required=[]),Array.isArray(t.required)&&t.required.push(e.name)),delete e.required),e.xml&&"string"==typeof e.xml.namespace&&(e.xml.namespace||delete e.xml.namespace),e.allowEmptyValue&&(delete e.allowEmptyValue,r.patches++,r.warnings.push("(Patchable): deleted schema.allowEmptyValue"))}(e,r,t)}))}function Cc(e){for(const t in e)for(const r in e[t]){const n=kc.sanitise(r);r!==n&&(e[t][n]=e[t][r],delete e[t][r])}}function _c(e,t){if("basic"===e.type&&(e.type="http",e.scheme="basic"),"oauth2"===e.type){const r={};let n=e.flow;"application"===e.flow&&(n="clientCredentials"),"accessCode"===e.flow&&(n="authorizationCode"),"string"==typeof e.authorizationUrl&&(r.authorizationUrl=e.authorizationUrl.split("?")[0].trim()||"/"),"string"==typeof e.tokenUrl&&(r.tokenUrl=e.tokenUrl.split("?")[0].trim()||"/"),r.scopes=e.scopes||{},e.flows={},e.flows[n]=r,delete e.flow,delete e.authorizationUrl,delete e.tokenUrl,delete e.scopes,e.name&&(delete e.name,t.patches++,t.warnings.push("(Patchable) oauth2 securitySchemes should not have name property"))}}function jc(e){return e&&!e["x-s2o-delete"]}function Tc(e,t){if(e.type&&!e.schema&&(e.schema={}),e.type&&(e.schema.type=e.type),e.items&&"array"!==e.items.type){if(e.items.collectionFormat!==e.collectionFormat)return t.errCount++,void t.errors.push({message:"Nested collectionFormats are not supported",pointer:"/.../responses/header"});delete e.items.collectionFormat}"array"===e.type?("ssv"===e.collectionFormat?(t.patches++,t.warnings.push("collectionFormat:ssv is no longer supported for headers")):"pipes"===e.collectionFormat?(t.patches++,t.warnings.push("collectionFormat:pipes is no longer supported for headers")):"multi"===e.collectionFormat?e.explode=!0:"tsv"===e.collectionFormat?(e["x-collectionFormat"]="tsv",t.patches++,t.warnings.push("collectionFormat:tsv is no longer supported")):e.style="simple",delete e.collectionFormat):e.collectionFormat&&(delete e.collectionFormat,t.patches++,t.warnings.push("(Patchable) collectionFormat is only applicable to header.type array")),delete e.type;for(const t of kc.parameterTypeProperties)void 0!==e[t]&&(e.schema[t]=e[t],delete e[t]);for(const t of kc.arrayProperties)void 0!==e[t]&&(e.schema[t]=e[t],delete e[t])}function Fc(e,t,r,n,o,a,i){const s={};let l,c=!0;t&&t.consumes&&"string"==typeof t.consumes&&(t.consumes=[t.consumes],i.patches++,i.warnings.push("(Patchable) operation.consumes must be an array")),Array.isArray(a.consumes)||delete a.consumes;const u=((t?t.consumes:null)||a.consumes||[]).filter(kc.uniqueOnly);if(e&&(e.name||e.in)){"boolean"==typeof e["x-deprecated"]&&(e.deprecated=e["x-deprecated"],delete e["x-deprecated"]),void 0!==e["x-example"]&&(e.example=e["x-example"],delete e["x-example"]),"body"===e.in||e.type||(e.type="string",i.patches++,i.warnings.push("(Patchable) parameter.type is mandatory for non-body parameters")),"file"===e.type&&(e["x-s2o-originalType"]=e.type,l=e.type),null===e.description&&delete e.description;let t=e.collectionFormat;if("array"!==e.type||t||(t="csv"),t&&("array"!==e.type&&(delete e.collectionFormat,i.patches++,i.warnings.push("(Patchable) collectionFormat is only applicable to param.type array")),"csv"!==t||"query"!==e.in&&"cookie"!==e.in||(e.style="form",e.explode=!1),"csv"!==t||"path"!==e.in&&"header"!==e.in||(e.style="simple"),"ssv"===t&&("query"===e.in?e.style="spaceDelimited":i.warnings.push(`${e.name} collectionFormat:ssv is no longer supported except for in:query parameters`)),"pipes"===t&&("query"===e.in?e.style="pipeDelimited":i.warnings.push(`${e.name} collectionFormat:pipes is no longer supported except for in:query parameters`)),"multi"===t&&(e.explode=!0),"tsv"===t&&(i.warnings.push("collectionFormat:tsv is no longer supported"),e["x-collectionFormat"]="tsv"),delete e.collectionFormat),e.type&&"body"!==e.type&&"formData"!==e.in)if(e.items&&e.schema)i.warnings.push(`${e.name} parameter has array,items and schema`);else{e.schema&&i.patches++,e.schema&&"object"==typeof e.schema||(e.schema={}),e.schema.type=e.type,e.items&&(e.schema.items=e.items,delete e.items,Ec(e.schema.items,null,((r,n)=>{"collectionFormat"===n&&"string"==typeof r[n]&&(t&&r[n]!==t&&i.warnings.push(`${e.name} Nested collectionFormats are not supported`),delete r[n])})));for(const t of kc.parameterTypeProperties)void 0!==e[t]&&(e.schema[t]=e[t]),delete e[t]}e.schema&&Oc(e.schema,i),e["x-ms-skip-url-encoding"]&&"query"===e.in&&(e.allowReserved=!0,delete e["x-ms-skip-url-encoding"])}if(e&&"formData"===e.in){c=!1,s.content={};let t="application/x-www-form-urlencoded";if(u.length&&u.indexOf("multipart/form-data")>=0&&(t="multipart/form-data"),s.content[t]={},e.schema)s.content[t].schema=e.schema;else{s.content[t].schema={},s.content[t].schema.type="object",s.content[t].schema.properties={},s.content[t].schema.properties[e.name]={};const r=s.content[t].schema,n=s.content[t].schema.properties[e.name];e.description&&(n.description=e.description),e.example&&(n.example=e.example),e.type&&(n.type=e.type);for(const t of kc.parameterTypeProperties)void 0!==e[t]&&(n[t]=e[t]);!0===e.required&&(r.required||(r.required=[]),r.required.push(e.name),s.required=!0),void 0!==e.default&&(n.default=e.default),n.properties&&(n.properties=e.properties),e.allOf&&(n.allOf=e.allOf),"array"===e.type&&e.items&&(n.items=e.items,n.items.collectionFormat&&delete n.items.collectionFormat),"file"!==l&&"file"!==e["x-s2o-originalType"]||(n.type="string",n.format="binary"),Dc(e,n)}}else e&&"file"===e.type&&(e.required&&(s.required=e.required),s.content={},s.content["application/octet-stream"]={},s.content["application/octet-stream"].schema={},s.content["application/octet-stream"].schema.type="string",s.content["application/octet-stream"].schema.format="binary",Dc(e,s));if(e&&"body"===e.in){s.content={},e.name&&(s["x-s2o-name"]=(t&&t.operationId?kc.sanitiseAll(t.operationId):"")+kc.camelize(`_${e.name}`)),e.description&&(s.description=e.description),e.required&&(s.required=e.required),u.length||u.push("application/json");for(const t of u)s.content[t]={},s.content[t].schema=kc.clone(e.schema||{}),Oc(s.content[t].schema,i);Dc(e,s)}if(Object.keys(s).length>0&&(e["x-s2o-delete"]=!0,t))if(t.requestBody&&c){t.requestBody["x-s2o-overloaded"]=!0;const e=t.operationId||o;i.warnings.push(`Operation ${e} has multiple requestBodies`)}else t.requestBody||(t=function(e,t){const r={};for(const n of Object.keys(e))r[n]=e[n],"parameters"===n&&(r.requestBody={},t.rbname&&(r[t.rbname]=""));return r.requestBody={},r}(t,i),r[n]=t),t.requestBody.content&&t.requestBody.content["multipart/form-data"]&&t.requestBody.content["multipart/form-data"].schema&&t.requestBody.content["multipart/form-data"].schema.properties&&s.content["multipart/form-data"]&&s.content["multipart/form-data"].schema&&s.content["multipart/form-data"].schema.properties?(t.requestBody.content["multipart/form-data"].schema.properties=Object.assign(t.requestBody.content["multipart/form-data"].schema.properties,s.content["multipart/form-data"].schema.properties),t.requestBody.content["multipart/form-data"].schema.required=(t.requestBody.content["multipart/form-data"].schema.required||[]).concat(s.content["multipart/form-data"].schema.required||[]),t.requestBody.content["multipart/form-data"].schema.required.length||delete t.requestBody.content["multipart/form-data"].schema.required):t.requestBody.content&&t.requestBody.content["application/x-www-form-urlencoded"]&&t.requestBody.content["application/x-www-form-urlencoded"].schema&&t.requestBody.content["application/x-www-form-urlencoded"].schema.properties&&s.content["application/x-www-form-urlencoded"]&&s.content["application/x-www-form-urlencoded"].schema&&s.content["application/x-www-form-urlencoded"].schema.properties?(t.requestBody.content["application/x-www-form-urlencoded"].schema.properties=Object.assign(t.requestBody.content["application/x-www-form-urlencoded"].schema.properties,s.content["application/x-www-form-urlencoded"].schema.properties),t.requestBody.content["application/x-www-form-urlencoded"].schema.required=(t.requestBody.content["application/x-www-form-urlencoded"].schema.required||[]).concat(s.content["application/x-www-form-urlencoded"].schema.required||[]),t.requestBody.content["application/x-www-form-urlencoded"].schema.required.length||delete t.requestBody.content["application/x-www-form-urlencoded"].schema.required):(t.requestBody=Object.assign(t.requestBody,s),t.requestBody["x-s2o-name"]||t.operationId&&(t.requestBody["x-s2o-name"]=kc.sanitiseAll(t.operationId)));if(e&&!e["x-s2o-delete"]){delete e.type;for(const t of kc.parameterTypeProperties)delete e[t];"path"!==e.in||void 0!==e.required&&!0===e.required||(e.required=!0,i.patches++,i.warnings.push(`(Patchable) path parameters must be required:true [${e.name} in ${o}]`))}return t}function Pc(e,t,r,n,o){if(!e)return!1;if(e.description||"object"!=typeof e||Array.isArray(e)||(o.patches++,o.warnings.push("(Patchable) response.description is mandatory")),void 0!==e.schema){Oc(e.schema,o),r&&r.produces&&"string"==typeof r.produces&&(r.produces=[r.produces],o.patches++,o.warnings.push("(Patchable) operation.produces must be an array")),n.produces&&!Array.isArray(n.produces)&&delete n.produces;const t=((r?r.produces:null)||n.produces||[]).filter(kc.uniqueOnly);t.length||t.push("*/*"),e.content={};for(const r of t){if(e.content[r]={},e.content[r].schema=kc.clone(e.schema),e.examples&&e.examples[r]){const t={};t.value=e.examples[r],e.content[r].examples={},e.content[r].examples.response=t,delete e.examples[r]}"file"===e.content[r].schema.type&&(e.content[r].schema={type:"string",format:"binary"})}delete e.schema}for(const t in e.examples)e.content||(e.content={}),e.content[t]||(e.content[t]={}),e.content[t].examples={},e.content[t].examples.response={},e.content[t].examples.response.value=e.examples[t];if(delete e.examples,e.headers)for(const t in e.headers)"status code"===t.toLowerCase()?(delete e.headers[t],o.patches++,o.warnings.push('(Patchable) "Status Code" is not a valid header')):Tc(e.headers[t],o)}function Bc(e,t,r,n,o){for(const a in e){const i=e[a];i&&i["x-trace"]&&"object"==typeof i["x-trace"]&&(i.trace=i["x-trace"],delete i["x-trace"]),i&&i["x-summary"]&&"string"==typeof i["x-summary"]&&(i.summary=i["x-summary"],delete i["x-summary"]),i&&i["x-description"]&&"string"==typeof i["x-description"]&&(i.description=i["x-description"],delete i["x-description"]),i&&i["x-servers"]&&Array.isArray(i["x-servers"])&&(i.servers=i["x-servers"],delete i["x-servers"]);for(const e in i)if(kc.httpMethods.indexOf(e)>=0||"x-amazon-apigateway-any-method"===e){let s=i[e];if(s&&s.parameters&&Array.isArray(s.parameters)){if(i.parameters)for(const t of i.parameters)s.parameters.find((e=>e.name===t.name&&e.in===t.in))||"formData"!==t.in&&"body"!==t.in&&"file"!==t.type||(s=Fc(t,s,i,e,a,o,r));for(const t of s.parameters)s=Fc(t,s,i,e,`${e}: ${a}`,o,r);s.parameters&&(s.parameters=s.parameters.filter(jc))}if(s&&s.security&&Cc(s.security),"object"==typeof s){if(!s.responses){const e={description:"Default response"};s.responses={default:e}}for(const e in s.responses)Pc(s.responses[e],0,s,o,r)}if(s&&s["x-servers"]&&Array.isArray(s["x-servers"]))s.servers=s["x-servers"],delete s["x-servers"];else if(s&&s.schemes&&s.schemes.length)for(const e of s.schemes)if((!o.schemes||o.schemes.indexOf(e)<0)&&(s.servers||(s.servers=[]),Array.isArray(o.servers)))for(const e of o.servers){const t=kc.clone(e);s.servers.push(t)}if(s){if(delete s.consumes,delete s.produces,delete s.schemes,s["x-ms-examples"]){for(const e in s["x-ms-examples"]){const t=s["x-ms-examples"][e],r=kc.sanitiseAll(e);if(t.parameters)for(const r in t.parameters){const n=t.parameters[r];for(const t of(s.parameters||[]).concat(i.parameters||[]))t.name!==r||t.example||(t.examples||(t.examples={}),t.examples[e]={value:n})}if(t.responses)for(const n in t.responses){if(t.responses[n].headers)for(const e in t.responses[n].headers){const r=t.responses[n].headers[e];for(const t in s.responses[n].headers)t===e&&(s.responses[n].headers[t].example=r)}if(t.responses[n].body&&(o.components.examples[r]={value:kc.clone(t.responses[n].body)},s.responses[n]&&s.responses[n].content))for(const t in s.responses[n].content){const o=s.responses[n].content[t];o.examples||(o.examples={}),o.examples[e]={$ref:`#/components/examples/${r}`}}}}delete s["x-ms-examples"]}if(s.parameters&&0===s.parameters.length&&delete s.parameters,s.requestBody){const r=s.operationId?kc.sanitiseAll(s.operationId):kc.camelize(kc.sanitiseAll(e+a)),o=kc.sanitise(s.requestBody["x-s2o-name"]||r||"");delete s.requestBody["x-s2o-name"];const i=JSON.stringify(s.requestBody),l=kc.createHash(i);if(!n[l]){const e={};e.name=o,e.body=s.requestBody,e.refs=[],n[l]=e}const c=`#/${t}/${encodeURIComponent(a)}/${e}/requestBody`;n[l].refs.push(c)}}}if(i&&i.parameters){for(const e in i.parameters)Fc(i.parameters[e],null,i,null,a,o,r);Array.isArray(i.parameters)&&(i.parameters=i.parameters.filter(jc))}}}function Ic(e){return e&&e.url&&"string"==typeof e.url?(e.url=e.url.split("{{").join("{"),e.url=e.url.split("}}").join("}"),e.url.replace(/\{(.+?)\}/g,((t,r)=>{e.variables||(e.variables={}),e.variables[r]={default:"unknown"}})),e):e}function Rc(e,t){var r,n;void 0!==e.info&&null!==e.info||(e.info={version:"",title:""},t.patches++,t.warnings.push("(Patchable) info object is mandatory")),("object"!=typeof e.info||Array.isArray(e.info))&&(t.errCount++,t.errors.push({message:"info must be an object",pointer:"/info"})),void 0===(null==(r=e.info)?void 0:r.title)&&(t.patches++,e.info.title="",t.warnings.push({message:"(Patchable) info.title cannot be null",pointer:"/info/title",patchable:!0})),void 0===(null==(n=e.info)?void 0:n.version)?(t.patches++,e.info.version="",t.warnings.push("(Patchable) info.version cannot be null")):"string"!=typeof e.info.version&&(t.patches++,e.info.version=e.info.version.toString(),t.warnings.push("(Patchable) info.version must be a string"))}function Nc(e,t){e.paths||(t.patches++,e.paths={},t.warnings.push("(Patchable) paths object is mandatory"))}function Lc(e={}){const t={original:e,openapi:{},patches:0,warnings:[],errCount:0,errors:[]};if(e.openapi&&"string"==typeof e.openapi&&e.openapi.startsWith("3."))return t.openapi=kc.circularClone(e),Rc(t.openapi,t),Nc(t.openapi,t),t;if("2.0"!==e.swagger)return t.errCount++,t.errors.push({message:`Unsupported swagger/OpenAPI version: ${e.openapi?e.openapi:e.swagger}`,pointer:"/swagger"}),t;if(t.openapi=kc.circularClone(e),t.openapi.openapi="3.0.0",delete t.openapi.swagger,Ec(t.openapi,{},((e,t,r)=>{null===e[t]&&!t.startsWith("x-")&&"default"!==t&&r.path.indexOf("/example")<0&&delete e[t]})),e.host)(e.schemes||[]).forEach((r=>{const n={},o=(e.basePath||"").replace(/\/$/,"");n.url=`${r?`${r}:`:""}//${e.host}${o}`,Ic(n),t.openapi.servers||(t.openapi.servers=[]),t.openapi.servers.push(n)}));else if(e.basePath){const r={};r.url=e.basePath,Ic(r),t.openapi.servers||(t.openapi.servers=[]),t.openapi.servers.push(r)}if(delete t.openapi.host,delete t.openapi.basePath,e["x-ms-parameterized-host"]){const r=e["x-ms-parameterized-host"],n={};n.url=r.hostTemplate+(e.basePath?e.basePath:""),n.variables={};const o=n.url.match(/\{\w+\}/g);for(const e in r.parameters){const t=r.parameters[e];e.startsWith("x-")||(delete t.required,delete t.type,delete t.in,void 0===t.default&&(t.enum?t.default=t.enum[0]:t.default="none"),t.name||(t.name=o[e].replace("{","").replace("}","")),n.variables[t.name]=t,delete t.name)}t.openapi.servers||(t.openapi.servers=[]),!1===r.useSchemePrefix?t.openapi.servers.push(n):e.schemes.forEach((e=>{t.openapi.servers.push({...n,url:`${e}://${n.url}`})})),delete t.openapi["x-ms-parameterized-host"]}return Rc(t.openapi,t),Nc(t.openapi,t),"string"==typeof t.openapi.consumes&&(t.openapi.consumes=[t.openapi.consumes]),"string"==typeof t.openapi.produces&&(t.openapi.produces=[t.openapi.produces]),t.openapi.components={},t.openapi["x-callbacks"]&&(t.openapi.components.callbacks=t.openapi["x-callbacks"],delete t.openapi["x-callbacks"]),t.openapi.components.examples={},t.openapi.components.headers={},t.openapi["x-links"]&&(t.openapi.components.links=t.openapi["x-links"],delete t.openapi["x-links"]),t.openapi.components.parameters=t.openapi.parameters||{},t.openapi.components.responses=t.openapi.responses||{},t.openapi.components.requestBodies={},t.openapi.components.securitySchemes=t.openapi.securityDefinitions||{},t.openapi.components.schemas=t.openapi.definitions||{},delete t.openapi.definitions,delete t.openapi.responses,delete t.openapi.parameters,delete t.openapi.securityDefinitions,function(e){const t=e.openapi,r={};Sc={schemas:{}},t.security&&Cc(t.security);for(const r in t.components.securitySchemes){const n=kc.sanitise(r);if(r!==n){if(t.components.securitySchemes[n])return e.errCount++,e.errors.push({message:`Duplicate sanitised securityScheme name ${n}`,pointer:`/components/securitySchemes/${n}`}),e;t.components.securitySchemes[n]=t.components.securitySchemes[r],delete t.components.securitySchemes[r]}_c(t.components.securitySchemes[n],e)}for(const r in t.components.schemas){const n=kc.sanitiseAll(r);let o="";if(r!==n){for(;t.components.schemas[n+o];)o=o?++o:2;t.components.schemas[n+o]=t.components.schemas[r],delete t.components.schemas[r]}Sc.schemas[r]=n+o,Oc(t.components.schemas[`${n}${o}`],e)}for(const r in t.components.parameters){const n=kc.sanitise(r);if(r!==n){if(t.components.parameters[n])return e.errCount++,e.errors.push({message:`Duplicate sanitised parameter name ${n}`,pointer:`/components/parameters/${n}`}),e;t.components.parameters[n]=t.components.parameters[r],delete t.components.parameters[r]}Fc(t.components.parameters[n],null,null,null,n,t,e)}for(const r in t.components.responses){const n=kc.sanitise(r);if(r!==n){if(t.components.responses[n])return e.errCount++,e.errors.push({message:`Duplicate sanitised response name ${n}`,pointer:`/components/responses/${n}`}),e;t.components.responses[n]=t.components.responses[r],delete t.components.responses[r]}const o=t.components.responses[n];if(Pc(o,0,null,t,e),o.headers)for(const t in o.headers)"status code"===t.toLowerCase()?(delete o.headers[t],e.patches++,e.warnings.push('(Patchable) "Status Code" is not a valid header')):Tc(o.headers[t],e)}for(const e in t.components.requestBodies){const n=t.components.requestBodies[e],o=JSON.stringify(n),a=kc.createHash(o),i={};i.name=e,i.body=n,i.refs=[],r[a]=i}Bc(t.paths,"paths",e,r,t),t["x-ms-paths"]&&Bc(t["x-ms-paths"],"x-ms-paths",e,r,t);for(const e in t.components.parameters)t.components.parameters[e]["x-s2o-delete"]&&delete t.components.parameters[e];return delete t.consumes,delete t.produces,delete t.schemes,t.components.requestBodies={},t.components.responses&&0===Object.keys(t.components.responses).length&&delete t.components.responses,t.components.parameters&&0===Object.keys(t.components.parameters).length&&delete t.components.parameters,t.components.examples&&0===Object.keys(t.components.examples).length&&delete t.components.examples,t.components.requestBodies&&0===Object.keys(t.components.requestBodies).length&&delete t.components.requestBodies,t.components.securitySchemes&&0===Object.keys(t.components.securitySchemes).length&&delete t.components.securitySchemes,t.components.headers&&0===Object.keys(t.components.headers).length&&delete t.components.headers,t.components.schemas&&0===Object.keys(t.components.schemas).length&&delete t.components.schemas,t.components&&0===Object.keys(t.components).length&&delete t.components,e}(t)}const qc={convertObj:Lc,resolve:function(e){return new Promise((async t=>{var r,n,o;try{const a=await xc.resolve(e);if((null==(r=a.errors)?void 0:r.length)>0)t(a);else{a.spec.openapi&&(a.resolvedSpec=a.spec,t(a));const e=Lc(a.spec);(null==(n=e.errors)?void 0:n.length)>0&&(Array.isArray(a.errors)?a.errors.concat(a.errors):a.errors=e.errors),(null==(o=e.warnings)?void 0:o.length)>0&&(a.warnings=e.warnings),a.resolvedSpec=a.spec,a.spec=e.openapi,t(a)}}catch(e){t(e)}}))}};async function zc(e,t=!1,r=!1,n="",o="",a="",i="",s=""){var l;let c;try{let t;t="string"==typeof e?await qc.resolve({url:e}):await qc.resolve({spec:e}),c=t.spec,this.dispatchEvent(new CustomEvent("before-render",{detail:{spec:c}}))}catch(e){console.info("RapiDoc: %c There was an issue while parsing the spec %o ","color:orangered",e)}const u=function(e,t=!1,r=!1,n){const o=["get","put","post","delete","patch","head","options"],a=e.tags&&Array.isArray(e.tags)?e.tags.map((e=>({show:!0,elementId:`tag--${e.name.replace(ue,"-")}`,name:e.name,description:e.description||"",headers:e.description?Uc(e.description):[],paths:[],expanded:!1!==e["x-tag-expanded"]}))):[],i=e.paths||{};if(e.webhooks)for(const[t,r]of Object.entries(e.webhooks))r._type="webhook",i[t]=r;for(const r in i){const n=i[r].parameters,s={servers:i[r].servers||[],parameters:i[r].parameters||[]},l="webhook"===i[r]._type;o.forEach((o=>{if(i[r][o]){const i=e.paths[r][o],c=i.tags||[];if(0===c.length)if(t){const e=r.replace(/^\/+|\/+$/g,""),t=e.indexOf("/");-1===t?c.push(e):c.push(e.substr(0,t))}else c.push("General ⦂");c.forEach((t=>{let c,u;var p,d;(e.tags&&(u=e.tags.find((e=>e.name.toLowerCase()===t.toLowerCase()))),c=a.find((e=>e.name===t)),c)||(c={show:!0,elementId:`tag--${t.replace(ue,"-")}`,name:t,description:(null===(p=u)||void 0===p?void 0:p.description)||"",headers:null!==(d=u)&&void 0!==d&&d.description?Uc(u.description):[],paths:[],expanded:!u||!1!==u["x-tag-expanded"]},a.push(c));let h=(i.summary||i.description||`${o.toUpperCase()} ${r}`).trim();h.length>100&&(h=h.split(/[.|!|?]\s|[\r?\n]/)[0]);let f=[];f=n?i.parameters?n.filter((e=>{if(!i.parameters.some((t=>e.name===t.name&&e.in===t.in)))return e})).concat(i.parameters):n.slice(0):i.parameters?i.parameters.slice(0):[],c.paths.push({show:!0,expanded:!1,isWebhook:l,expandedAtLeastOnce:!1,summary:i.summary||"",description:i.description||"",shortSummary:h,method:o,path:r,operationId:i.operationId,elementId:`${o}-${r.replace(ue,"-")}`,servers:i.servers?s.servers.concat(i.servers):s.servers,parameters:f,requestBody:i.requestBody,responses:i.responses,callbacks:i.callbacks,deprecated:i.deprecated,security:i.security,xCodeSamples:i["x-codeSamples"]||i["x-code-samples"]||""})}))}}))}const s=a.filter((e=>e.paths&&e.paths.length>0));return s.forEach((e=>{"method"===n?e.paths.sort(((e,t)=>o.indexOf(e.method).toString().localeCompare(o.indexOf(t.method)))):"summary"===n?e.paths.sort(((e,t)=>e.shortSummary.localeCompare(t.shortSummary))):e.paths.sort(((e,t)=>e.path.localeCompare(t.path))),e.firstPathId=e.paths[0].elementId})),r?s.sort(((e,t)=>e.name.localeCompare(t.name))):s}(c,t,r,n),p=function(e){if(!e.components)return[];const t=[];for(const r in e.components){const n=[];for(const t in e.components[r]){const o={show:!0,id:`${r.toLowerCase()}-${t.toLowerCase()}`.replace(ue,"-"),name:t,component:e.components[r][t]};n.push(o)}let o=r,a=r;switch(r){case"schemas":a="Schemas",o="Schemas allows the definition of input and output data types. These types can be objects, but also primitives and arrays.";break;case"responses":a="Responses",o="Describes responses from an API Operation, including design-time, static links to operations based on the response.";break;case"parameters":a="Parameters",o="Describes operation parameters. A unique parameter is defined by a combination of a name and location.";break;case"examples":a="Examples",o="List of Examples for operations, can be requests, responses and objects examples.";break;case"requestBodies":a="Request Bodies",o="Describes common request bodies that are used across the API operations.";break;case"headers":a="Headers",o='Headers follows the structure of the Parameters but they are explicitly in "header"';break;case"securitySchemes":a="Security Schemes",o="Defines a security scheme that can be used by the operations. Supported schemes are HTTP authentication, an API key (either as a header, a cookie parameter or as a query parameter), OAuth2's common flows(implicit, password, client credentials and authorization code) as defined in RFC6749, and OpenID Connect Discovery.";break;case"links":a="Links",o="Links represent a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations.";break;case"callbacks":a="Callbacks",o="A map of possible out-of band callbacks related to the parent operation. Each value in the map is a Path Item Object that describes a set of requests that may be initiated by the API provider and the expected responses. The key value used to identify the path item object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation.";break;default:a=r,o=r}const i={show:!0,name:a,description:o,subComponents:n};t.push(i)}return t||[]}(c),d=null!==(l=c.info)&&void 0!==l&&l.description?Uc(c.info.description):[],h=[];c.components&&c.components.securitySchemes&&Object.entries(c.components.securitySchemes).forEach((e=>{const t={apiKeyId:e[0],...e[1]};t.value="",t.finalKeyValue="","apiKey"===e[1].type||"http"===e[1].type?(t.in=e[1].in||"header",t.name=e[1].name||"Authorization",t.user="",t.password=""):"oauth2"===e[1].type&&(t.in="header",t.name="Authorization",t.clientId="",t.clientSecret=""),h.push(t)})),o&&a&&i&&h.push({apiKeyId:pe,description:"api-key provided in rapidoc element attributes",type:"apiKey",oAuthFlow:"",name:o,in:a,value:i,finalKeyValue:i}),h.forEach((e=>{"http"===e.type?e.typeDisplay="basic"===e.scheme?"HTTP Basic":"HTTP Bearer":"apiKey"===e.type?e.typeDisplay=`API Key (${e.name})`:"oauth2"===e.type?e.typeDisplay=`OAuth (${e.apiKeyId})`:e.typeDisplay=e.type}));let f=[];c.servers&&Array.isArray(c.servers)?(c.servers.forEach((e=>{let t=e.url.trim();t.startsWith("http")||t.startsWith("//")||t.startsWith("{")||window.location.origin.startsWith("http")&&(e.url=window.location.origin+e.url,t=e.url),e.variables&&Object.entries(e.variables).forEach((e=>{const r=new RegExp(`{${e[0]}}`,"g");t=t.replace(r,e[1].default||""),e[1].value=e[1].default||""})),e.computedUrl=t})),s&&c.servers.push({url:s,computedUrl:s})):s?c.servers=[{url:s,computedUrl:s}]:window.location.origin.startsWith("http")?c.servers=[{url:window.location.origin,computedUrl:window.location.origin}]:c.servers=[{url:"http://localhost",computedUrl:"http://localhost"}],f=c.servers;return{info:c.info,infoDescriptionHeaders:d,tags:u,components:p,externalDocs:c.externalDocs,securitySchemes:h,servers:f}}function Uc(e){return Z().lexer(e).filter((e=>"heading"===e.type&&e.depth<=2))||[]}const Mc=new WeakMap,Hc=(e=>(...t)=>{const r=e(...t);return n.set(r,!0),r})((e=>t=>{if(!(t instanceof E))throw new Error("unsafeHTML can only be used in text bindings");const r=Mc.get(t);if(void 0!==r&&w(e)&&e===r.value&&t.value===r.fragment)return;const n=document.createElement("template");n.innerHTML=e;const o=document.importNode(n.content,!0);t.setValue(o),Mc.set(t,{value:e,fragment:o})}));function Vc(e,t){let r="";const n=this.resolvedSpec.securitySchemes.find((t=>t.apiKeyId===e));if(n){const e=t.target.closest("tr");if(n.type&&n.scheme&&"http"===n.type&&"basic"===n.scheme.toLowerCase()){const t=e.querySelector(".api-key-user").value.trim(),n=e.querySelector(".api-key-password").value.trim();t&&n&&(r=`Basic ${btoa(`${t}:${n}`)}`)}else r=e.querySelector(".api-key-input").value.trim(),r&&n.scheme&&"bearer"===n.scheme.toLowerCase()&&(r=`Bearer ${r}`);n.finalKeyValue=r}this.requestUpdate()}function Wc(){this.resolvedSpec.securitySchemes.forEach((e=>{e.user="",e.password="",e.value="",e.finalKeyValue=""})),this.requestUpdate()}function Yc(e,t="Bearer",r){this.resolvedSpec.securitySchemes.find((t=>t.apiKeyId===e)).finalKeyValue=`${"bearer"===t.toLowerCase()?"Bearer":"mac"===t.toLowerCase()?"MAC":t} ${r}`,this.requestUpdate()}async function Kc(e,t,r,n,o,a,i="header",s,l,c=null){const u=l?l.querySelector(".oauth-resp-display"):void 0,p=new URLSearchParams,d=new Headers;p.append("grant_type",o),"client_credentials"!==o&&p.append("redirect_uri",n),a&&(p.append("code",a),p.append("code_verifier","731DB1C3F7EA533B85E29492D26AA-1234567890-1234567890")),"header"===i?d.set("Authorization",`Basic ${btoa(`${t}:${r}`)}`):(p.append("client_id",t),p.append("client_secret",r)),c&&p.append("scope",c);try{const t=await fetch(e,{method:"POST",headers:d,body:p}),r=await t.json();if(!t.ok)return u&&(u.innerHTML=`<span style="color:var(--red)">${r.error_description||r.error_description||"Unable to get access token"}</span>`),!1;if(r.token_type&&r.access_token)return Yc.call(this,s,r.token_type,r.access_token),u&&(u.innerHTML='<span style="color:var(--green)">Access Token Received</span>'),!0}catch(e){return u&&(u.innerHTML='<span style="color:var(--red)">Failed to get access token</span>'),!1}}async function Gc(e,t,r,n,o,a,i,s,l,c){sessionStorage.removeItem("winMessageEventActive"),t.close(),e.data.fake||(e.data||console.warn("RapiDoc: Received no data with authorization message"),e.data.error&&console.warn("RapiDoc: Error while receiving data"),e.data&&("code"===e.data.responseType?Kc.call(this,r,n,o,a,i,e.data.code,s,l,c):"token"===e.data.responseType&&Yc.call(this,l,e.data.token_type,e.data.access_token)))}async function Jc(e,t,r,n,o){const a=o.target.closest(".oauth-flow"),i=a.querySelector(".oauth-client-id")?a.querySelector(".oauth-client-id").value.trim():"",s=a.querySelector(".oauth-client-secret")?a.querySelector(".oauth-client-secret").value.trim():"",l=a.querySelector(".oauth-send-client-secret-in")?a.querySelector(".oauth-send-client-secret-in").value.trim():"header",c=[...a.querySelectorAll(".scope-checkbox:checked")],u=a.querySelector(`#${e}-pkce`),p=`${Math.random().toString(36)}random`.slice(2,9),d=new URL(`${window.location.origin}${window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/"))}/${this.oauthReceiver}`);let h,f="",m="";if([...a.parentNode.querySelectorAll(".oauth-resp-display")].forEach((e=>{e.innerHTML=""})),"authorizationCode"===t||"implicit"===t){const o=new URL(r);"authorizationCode"===t?(f="authorization_code",m="code"):"implicit"===t&&(m="token");const g=new URLSearchParams(o.search),y=c.map((e=>e.value)).join(" ");y&&g.set("scope",y),g.set("client_id",i),g.set("redirect_uri",d.toString()),g.set("response_type",m),g.set("state",p),u&&u.checked&&(g.set("code_challenge","4FatVDBJKPAo4JgLLaaQFMUcQPn5CrPRvLlaob9PTYc"),g.set("code_challenge_method","S256")),g.set("show_dialog",!0),o.search=g.toString(),"true"===sessionStorage.getItem("winMessageEventActive")&&window.postMessage({fake:!0},this),setTimeout((()=>{h=window.open(o.toString()),h?(sessionStorage.setItem("winMessageEventActive","true"),window.addEventListener("message",(t=>Gc.call(this,t,h,n,i,s,d.toString(),f,l,e,a)),{once:!0})):console.error(`RapiDoc: Unable to open ${o.toString()} in a new window`)}),10)}else if("clientCredentials"===t){f="client_credentials";const t=c.map((e=>e.value)).join(" ");Kc.call(this,n,i,s,d.toString(),f,"",l,e,a,t)}}function Zc(e,t,r,n,o){let a=o.authorizationUrl,i=o.tokenUrl,s=o.refreshUrl;const l=e=>e.indexOf("://")>0||0===e.indexOf("//");let c;return s&&!l(s)&&(s=`${this.selectedServer.computedUrl}/${s.replace(/^\//,"")}`),i&&!l(i)&&(i=`${this.selectedServer.computedUrl}/${i.replace(/^\//,"")}`),a&&!l(a)&&(a=`${this.selectedServer.computedUrl}/${a.replace(/^\//,"")}`),c="authorizationCode"===e?"Authorization Code Flow":"clientCredentials"===e?"Client Credentials Flow":"implicit"===e?"Implicit Flow":"password"===e?"Password Flow":e,I` <div class="oauth-flow" style="padding:12px 0;margin-bottom:12px"> <div class="tiny-title upper" style="margin-bottom:8px">${c}</div> ${a?I`<div style="margin-bottom:5px"><span style="width:75px;display:inline-block">Auth URL</span> <span class="mono-font"> ${a} </span></div>`:""} ${i?I`<div style="margin-bottom:5px"><span style="width:75px;display:inline-block">Token URL</span> <span class="mono-font">${i}</span></div>`:""} ${s?I`<div style="margin-bottom:5px"><span style="width:75px;display:inline-block">Refresh URL</span> <span class="mono-font">${s}</span></div>`:""} ${"authorizationCode"===e||"clientCredentials"===e||"implicit"===e||"password"===e?I` ${o.scopes?I` <span> Scopes </span> <div class="oauth-scopes" part="section-auth-scopes" style="width:100%;display:flex;flex-direction:column;flex-wrap:wrap;margin:0 0 10px 24px"> ${Object.entries(o.scopes).map(((t,r)=>I` <div class="m-checkbox" style="display:inline-flex;align-items:center"> <input type="checkbox" part="checkbox checkbox-auth-scope" class="scope-checkbox" id="${n}${e}${r}" value="${t[0]}"> <label for="${n}${e}${r}" style="margin-left:5px;cursor:pointer"> <span class="mono-font">${t[0]}</span> ${t[0]!==t[1]?` - ${t[1]||""}`:""} </label> </div> `))} </div> `:""} <div> ${"authorizationCode"===e?I` <div style="margin:16px 0 4px"> <input type="checkbox" part="checkbox checkbox-auth-scope" id="${n}-pkce" checked="checked"> <label for="${n}-pkce" style="margin:0 16px 0 4px;line-height:24px;cursor:pointer"> Send Proof Key for Code Exchange (PKCE) </label> </div> `:""} <input type="text" part="textbox textbox-auth-client-id" value="${t||""}" placeholder="client-id" spellcheck="false" class="oauth-client-id"> ${"authorizationCode"===e||"clientCredentials"===e||"password"===e?I` <input type="password" part="textbox textbox-auth-client-secret" value="${r||""}" placeholder="client-secret" spellcheck="false" class="oauth-client-secret" style="margin:0 5px"> ${"authorizationCode"===e||"clientCredentials"===e?I` <select style="margin-right:5px" class="oauth-send-client-secret-in"> <option value="header" selected="selected"> Authorization Header </option> <option value="request-body"> Request Body </option> </select>`:""} `:I`<div style="width:5px"></div>`} ${"authorizationCode"===e||"clientCredentials"===e||"implicit"===e?I` <button class="m-btn thin-border" part="btn btn-outline" @click="${t=>{Jc.call(this,n,e,a,i,t)}}"> GET TOKEN </button>`:""} </div> ${"password"===e?I` <div style="display:flex;max-height:28px;margin-top:2px"> <input type="text" value="" placeholder="username" spellcheck="false" class="api-key-user" part="textbox textbox-username"> <input type="password" value="" placeholder="password" spellcheck="false" class="api-key-password" style="margin:0 5px" part="textbox textbox-password"> </div>`:""} <div class="oauth-resp-display red-text small-font-size"></div> `:""} </div> `}function Xc(){var e;if(!this.resolvedSpec)return"";const t=null===(e=this.resolvedSpec.securitySchemes)||void 0===e?void 0:e.filter((e=>e.finalKeyValue));return t?I` <section id="auth" part="section-auth" style="margin-top:24px;margin-bottom:24px" class="observe-me ${"read focused".includes(this.renderStyle)?"section-gap--read-mode":"section-gap "}"> <div class="sub-title regular-font"> AUTHENTICATION </div> <div class="small-font-size" style="display:flex;align-items:center;min-height:30px"> ${t.length>0?I` <div class="blue-text"> ${t.length} API key applied </div> <div style="flex:1"></div> <button class="m-btn thin-border" part="btn btn-outline" @click="${()=>{Wc.call(this)}}">CLEAR ALL API KEYS</button>`:I`<div class="red-text">No API key applied</div>`} </div> ${this.resolvedSpec.securitySchemes&&this.resolvedSpec.securitySchemes.length>0?I` <table class="m-table padded-12" style="width:100%"> ${this.resolvedSpec.securitySchemes.map((e=>I` <tr> <td style="max-width:500px;overflow-wrap:break-word"> <div style="line-height:28px;margin-bottom:5px"> <span style="font-weight:700;font-size:var(--font-size-regular)">${e.typeDisplay}</span> ${e.finalKeyValue?I` <span class="blue-text"> ${e.finalKeyValue?"Key Applied":""} </span> <button class="m-btn thin-border small" part="btn btn-outline" @click="${()=>{e.finalKeyValue="",this.requestUpdate()}}">REMOVE</button> `:""} </div> ${e.description?I` <div class="m-markdown"> ${Hc(Z()(e.description||""))} </div>`:""} ${"apikey"===e.type.toLowerCase()||"http"===e.type.toLowerCase()&&"bearer"===e.scheme.toLowerCase()?I` <div style="margin-bottom:5px"> ${"apikey"===e.type.toLowerCase()?I`Send <code>${e.name}</code> in <code>${e.in}</code> with the given value`:I`Send <code>Authorization</code> in <code>header</code> containing the word <code>Bearer</code> followed by a space and a Token String.`} </div> <div style="max-height:28px"> ${"cookie"!==e.in?I` <input type="text" value="${e.value}" class="api-key-input" placeholder="api-token" spellcheck="false"> <button class="m-btn thin-border" style="margin-left:5px" part="btn btn-outline" @click="${t=>{Vc.call(this,e.apiKeyId,t)}}"> ${e.finalKeyValue?"UPDATE":"SET"} </button>`:""} </div>`:""} ${"http"===e.type.toLowerCase()&&"basic"===e.scheme.toLowerCase()?I` <div style="margin-bottom:5px"> Send <code>Authorization</code> in <code>header</code> containing the word <code>Basic</code> followed by a space and a base64 encoded string of <code>username:password</code>. </div> <div> <input type="text" value="${e.user}" placeholder="username" spellcheck="false" class="api-key-user" style="width:100px"> <input type="password" value="${e.password}" placeholder="password" spellcheck="false" class="api-key-password" style="width:100px;margin:0 5px"> <button class="m-btn thin-border" @click="${t=>{Vc.call(this,e.apiKeyId,t)}}" part="btn btn-outline"> ${e.finalKeyValue?"UPDATE":"SET"} </button> </div>`:""} </td> </tr> ${"oauth2"===e.type.toLowerCase()?I` <tr> <td style="border:none;padding-left:48px"> ${Object.keys(e.flows).map((t=>Zc.call(this,t,e["x-client-id"],e["x-client-secret"],e.apiKeyId,e.flows[t])))} </td> </tr> `:""} `))} </table>`:""} <slot name="auth"></slot> </section> `:void 0}function Qc(e){if(this.resolvedSpec.securitySchemes&&e){const t=[];return e.forEach((e=>{const r=[],n=[];let o="";Object.keys(e).forEach((t=>{const a=this.resolvedSpec.securitySchemes.find((e=>e.apiKeyId===t));!o&&Array.isArray(e[t])&&(o=e[t].join(", ")),a&&(n.push(a.typeDisplay),r.push(a))})),t.push({pathScopes:o,securityTypes:n.length>1?`${n[0]} + ${n.length-1} more`:n[0],securityDefs:r})})),I`<div style="position:absolute;top:3px;right:2px;font-size:var(--font-size-small);line-height:1.5"> <div style="position:relative;display:flex;min-width:350px;max-width:700px;justify-content:flex-end"> <svg width="16" height="24"> <g> <path style="fill:var(--fg3)" d="m13.8,8.5l0,-2.6l0,0c0,-3.2 -2.6,-5.8 -5.8,-5.8s-5.8,2.6 -5.8,5.8l0,0l0,2.6l-2.1,0l0,11.2l16,0l0,-11.2l-2.1,0l-0,0l0,0l0,0l-0,0zm-9.8,-2.6c0,0 0,0 0,0c0,-2.2 1.8,-4 4,-4c2.2,0 4,1.8 4,4c0,0 0,0 0,0l0,2.6l-8.03,0l0,-2.6l0,0l0,0z"/> </g> </svg> ${t.map(((e,t)=>I` ${e.securityTypes?I` ${0!==t?I`<div style="padding:3px 4px"> OR </div>`:""} <div class="tooltip"> <div style="padding:2px 4px;white-space:nowrap;text-overflow:ellipsis;max-width:150px;overflow:hidden"> <a part="anchor anchor-operation-security" href="#auth"> ${e.securityTypes} </a> </div> <div class="tooltip-text" style="position:absolute;color:var(--fg);top:26px;right:0;border:1px solid var(--border-color);padding:2px 4px;display:block"> ${e.securityDefs.length>1?I`<div>Requires <b>all</b> of the following </div>`:""} <div style="padding-left:8px"> ${e.securityDefs.map(((t,r)=>I` ${"oauth2"===t.type?I` <div> ${e.securityDefs.length>1?I`<b>${r+1}.</b> `:"Needs"} OAuth Token <span style="font-family:var(--font-mono);color:var(--primary-color)">${t.apiKeyId}</span> in <b>Authorization header</b> ${""!==e.pathScopes?I` <div> <b>Required scopes:</b> <br> <div style="margin-left:8px"> ${e.pathScopes.split(",").map(((e,t)=>I`${0===t?"":"┃"}<span>${e}</span>`))} </div> </div>`:""} </div>`:"http"===t.type?I` <div> ${e.securityDefs.length>1?I`<b>${r+1}.</b> `:I`Requires`} ${"basic"===t.scheme?"Base 64 encoded username:password":"Bearer Token"} in <b>Authorization header</b> </div>`:I` <div> ${e.securityDefs.length>1?I`<b>${r+1}.</b> `:I`Requires`} Token in <b>${t.name} ${t.in}</b> </div>`} `))} </div> </div> </div> `:""} `))} </div> </div>`}return""}function eu(e){return I` <section class="table-title" style="margin-top:24px">CODE SAMPLES <div class="tab-panel col" @click="${e=>{if(!e.target.classList.contains("tab-btn"))return;const t=e.target.dataset.tab,r=[...e.currentTarget.querySelectorAll(".tab-btn")],n=[...e.currentTarget.querySelectorAll(".tab-content")];r.forEach((e=>e.classList[e.dataset.tab===t?"add":"remove"]("active"))),n.forEach((e=>{e.style.display=e.dataset.tab===t?"block":"none"}))}}"> <div class="tab-buttons row" style="width:100"> ${e.map(((e,t)=>I`<button class="tab-btn ${0===t?"active":""}" data-tab="${e.lang}${t}"> ${e.label||e.lang} </button>`))} </div> ${e.map(((e,t)=>{var r,n,o;return I` <div class="tab-content m-markdown" style="display:${0===t?"block":"none"}" data-tab="${e.lang}${t}"> <button class="toolbar-btn" style="position:absolute;top:12px;right:8px" @click="${t=>{he(e.source,t)}}"> Copy </button> <pre><code class="language">${Q().languages[null===(r=e.lang)||void 0===r?void 0:r.toLowerCase()]?Hc(Q().highlight(e.source,Q().languages[null===(n=e.lang)||void 0===n?void 0:n.toLowerCase()],null===(o=e.lang)||void 0===o?void 0:o.toLowerCase())):e.source}</code></pre> </div>`}))} </div></section>`}function tu(e){return I` <div class="req-res-title" style="margin-top:12px">CALLBACKS</div> ${Object.entries(e).map((e=>I` <div class="tiny-title" style="padding:12px;border:1px solid var(--light-border-color)"> ${e[0]} ${Object.entries(e[1]).map((e=>I` <div class="mono-font small-font-size" style="display:flex;margin-left:16px"> <div> ${Object.entries(e[1]).map((t=>{var r,n,o;return I` <div> <div style="margin-top:12px"> <div class="method method-fg ${t[0]}" style="width:70px;border:none;margin:0;padding:0;line-height:20px;vertical-align:baseline;text-align:left"> <span style="font-size:20px"> ⥄ </span> ${t[0]} </div> <span style="line-height:20px;vertical-align:baseline">${e[0]} </span> </div> <div class="expanded-req-resp-container"> <api-request class="${this.renderStyle}-mode callback" style="width:100%" callback="true" method="${t[0]||""}" , path="${e[0]||""}" .parameters="${(null===(r=t[1])||void 0===r?void 0:r.parameters)||""}" .request_body="${(null===(n=t[1])||void 0===n?void 0:n.requestBody)||""}" fill-request-fields-with-example="${this.fillRequestFieldsWithExample}" allow-try="false" render-style="${this.renderStyle}" schema-style="${this.schemaStyle}" active-schema-tab="${this.defaultSchemaTab}" schema-expand-level="${this.schemaExpandLevel}" schema-description-expanded="${this.schemaDescriptionExpanded}" allow-schema-description-expand-toggle="${this.allowSchemaDescriptionExpandToggle}" , schema-hide-read-only="${this.schemaHideReadOnly}" fetch-credentials="${this.fetchCredentials}" exportparts="btn btn-fill btn-outline btn-try"> </api-request> <api-response style="width:100%" class="${this.renderStyle}-mode" callback="true" .responses="${null===(o=t[1])||void 0===o?void 0:o.responses}" render-style="${this.renderStyle}" schema-style="${this.schemaStyle}" active-schema-tab="${this.defaultSchemaTab}" schema-expand-level="${this.schemaExpandLevel}" schema-description-expanded="${this.schemaDescriptionExpanded}" allow-schema-description-expand-toggle="${this.allowSchemaDescriptionExpandToggle}" exportparts="btn--resp btn-fill--resp btn-outline--resp"> </api-response> </div> </div> `}))} </div> </div> `))} </div> `))} `}const ru=Y`.border-top{border-top:1px solid var(--border-color)}.border{border:1px solid var(--border-color);border-radius:var(--border-radius)}.light-border{border:1px solid var(--light-border-color);border-radius:var(--border-radius)}.pad-8-16{padding:8px 16px}.pad-top-8{padding-top:8px}.mar-top-8{margin-top:8px}`;function nu(e){if(!e)return;let t="",r="";if(e.$ref){const r=e.$ref.lastIndexOf("/");t=`{recursive: ${e.$ref.substring(r+1)}} `}else e.type?(t=Array.isArray(e.type)?e.type.join("┃"):e.type,(e.format||e.enum)&&(t=t.replace("string",e.enum?"enum":e.format)),e.nullable&&(t+="┃null")):t="{missing-type-info}";const n={type:t,format:e.format||"",pattern:e.pattern&&!e.enum?e.pattern:"",readOrWriteOnly:e.readOnly?"ðŸ†":e.writeOnly?"🆆":"",deprecated:e.deprecated?"âŒ":"",examples:e.examples||e.example,default:e.default||"",description:e.description||"",constrain:"",allowedValues:"",arrayType:"",html:""};if("{recursive}"===n.type?n.description=e.$ref.substring(e.$ref.lastIndexOf("/")+1):"{missing-type-info}"===n.type&&(n.description=n.description||""),n.allowedValues=Array.isArray(e.enum)?e.enum.join("┃"):"","array"===t&&e.items){var o,a,i;const t=null===(o=e.items)||void 0===o?void 0:o.type,r=void 0!==(null===(a=e.items)||void 0===a?void 0:a.default)?e.items.default:"";n.arrayType=`${e.type} of ${Array.isArray(t)?t.join(""):t}`,n.default=r,n.allowedValues=Array.isArray(null===(i=e.items)||void 0===i?void 0:i.enum)?e.items.enum.join("┃"):""}return t.match(/integer|number/g)&&(void 0===e.minimum&&void 0===e.exclusiveMinimum||(r+=void 0!==e.minimum?`Min ${e.minimum}`:`More than ${e.exclusiveMinimum}`),void 0===e.maximum&&void 0===e.exclusiveMaximum||(r+=void 0!==e.maximum?`${r?"┃":""}Max ${e.maximum}`:`${r?"┃":""}Less than ${e.exclusiveMaximum}`),void 0!==e.multipleOf&&(r+=`${r?"┃":""} multiple of ${e.multipleOf}`)),t.match(/string/g)&&(void 0!==e.minLength&&void 0!==e.maxLength?r+=`${r?"┃":""}${e.minLength} to ${e.maxLength} chars`:void 0!==e.minLength?r+=`${r?"┃":""}Min ${e.minLength} chars`:void 0!==e.maxLength&&(r+=`Max ${r?"┃":""}${e.maxLength} chars`)),n.constrain=r,n.html=`${n.type}~|~${n.readOrWriteOnly}~|~${n.constrain}~|~${n.default}~|~${n.allowedValues}~|~${n.pattern}~|~${n.description}~|~${e.title||""}~|~${n.deprecated?"deprecated":""}`,n}function ou(e,t="string"){let r,n;if(e){if(e.constructor===Object){const t=Object.values(e);r=t.length>0?"boolean"==typeof t[0].value||"number"==typeof t[0].value?t[0].value.toString():t[0].value:"",n=Object.values(e).map((e=>({value:"boolean"==typeof e.value||"number"==typeof e.value?e.value.toString():e.value,description:e.description||e.summary||e.value})))}else Array.isArray(e)||(e=e?[e]:[]),e.length>0&&("array"===t?(r=e[0],n=e.map((e=>({value:e,description:Array.isArray(e)?e.join(" , "):e})))):(r=e[0].toString(),n=e.map((e=>({value:e.toString(),description:e})))));return{exampleVal:r,exampleList:n}}return{exampleVal:"",exampleList:[]}}function au(e){const t=e.examples?e.examples[0]:e.example?e.example:void 0;if(""===t)return"";if(null===t)return null;if(0===t)return 0;if(t)return t;if(0===Object.keys(e).length)return null;if(e.$ref)return e.$ref;const r=Array.isArray(e.type)?e.type[0]:e.type;if(!r)return"?";if(r.match(/^integer|^number/g)){const t=Number.isNaN(Number(e.multipleOf))?void 0:Number(e.multipleOf),n=Number.isNaN(Number(e.maximum))?void 0:Number(e.maximum),o=Number.isNaN(Number(e.minimum))?Number.isNaN(Number(e.exclusiveMinimum))?n||0:Number(e.exclusiveMinimum)+(r.startsWith("integer")?1:.001):Number(e.minimum);return t?t>=o?t:o%t==0?o:Math.ceil(o/t)*t:o}if(r.match(/^boolean/g))return!1;if(r.match(/^null/g))return null;if(r.match(/^string/g)){if(e.enum)return e.enum[0];if(e.pattern)return e.pattern;if(!e.format){const t=Number.isNaN(e.minLength)?void 0:Number(e.minLength),r=Number.isNaN(e.maxLength)?void 0:Number(e.maxLength),n=t||(r>6?6:r||void 0);return n?"A".repeat(n):"string"}switch(e.format.toLowerCase()){case"url":case"uri":return"http://example.com";case"date":return new Date(0).toISOString().split("T")[0];case"time":return new Date(0).toISOString().split("T")[1];case"date-time":return new Date(0).toISOString();case"duration":return"P3Y6M4DT12H30M5S";case"email":case"idn-email":return"user@example.com";case"hostname":case"idn-hostname":return"www.example.com";case"ipv4":return"198.51.100.42";case"ipv6":return"2001:0db8:5b96:0000:0000:426f:8e17:642a";default:return e.format}}return"?"}function iu(e,t=1){const r=" ".repeat(t);let n="";if(1===t&&"object"!=typeof e)return`\n${r}${e.toString()}`;for(const o in e)n=Array.isArray(e[o])||"object"==typeof e[o]?`${n}\n${r}<${o}> ${iu(e[o],t+1)}\n${r}</${o}>`:`${n}\n${r}<${o}> ${e[o].toString()} </${o}>`;return n}function su(e,t){"object"==typeof t&&null!==t&&(e.title&&(t["::TITLE"]=e.title),e.description&&(t["::DESCRIPTION"]=e.description))}function lu(e){if("object"==typeof e&&null!==e){delete e["::TITLE"],delete e["::DESCRIPTION"];for(const t in e)lu(e[t])}}function cu(e,t,r){for(const n in t)t[n][r]=e}function uu(e,t,r){let n=0;const o={};for(const a in e){for(const i in r)if(o[`example-${n}`]={...e[a]},o[`example-${n}`][t]=r[i],n++,n>=10)break;if(n>=10)break}return o}function pu(e,t={}){let r={};if(e){if(e.allOf){const n={};if(1===e.allOf.length&&!e.allOf[0].properties&&!e.allOf[0].items){if(e.allOf[0].$ref)return"{ }";if(e.allOf[0].readOnly&&t.includeReadOnly){return au(e.allOf[0])}return}e.allOf.forEach((e=>{if("object"===e.type||e.properties||e.allOf||e.anyOf||e.oneOf){const r=pu(e,t);Object.assign(n,r)}else if("array"===e.type||e.items){const r=[pu(e,t)];Object.assign(n,r)}else{if(!e.type)return"";{const t=`prop${Object.keys(n).length}`;n[t]=au(e)}}})),r=n}else if(e.oneOf){if(e.oneOf.length>0){let n=0;for(const o in e.oneOf){const a=pu(e.oneOf[o],t);for(const t in a)r[`example-${n}`]=a[t],su(e.oneOf[o],r[`example-${n}`]),n++}}}else if(e.anyOf){let n;if("object"===e.type||e.properties){n={"example-0":{}};for(const r in e.properties){if(e.example){n=e;break}e.properties[r].deprecated&&!t.includeDeprecated||(e.properties[r].readOnly&&!t.includeReadOnly||e.properties[r].writeOnly&&!t.includeWriteOnly||(n=uu(n,r,pu(e.properties[r],t))))}}let o=0;for(const a in e.anyOf){const i=pu(e.anyOf[a],t);for(const t in i){if(void 0!==n)for(const e in n)r[`example-${o}`]={...n[e],...i[t]};else r[`example-${o}`]=i[t];su(e.anyOf[a],r[`example-${o}`]),o++}}}else if("object"===e.type||e.properties)if(r["example-0"]={},su(e,r["example-0"]),e.example)r["example-0"]=e.example;else for(const a in e.properties){var n,o;if(!e.properties[a].deprecated||t.includeDeprecated)if(!e.properties[a].readOnly||t.includeReadOnly)if(!e.properties[a].writeOnly||t.includeWriteOnly)if("array"===e.properties[a].type||e.properties[a].items)if(e.properties[a].example)cu(e.properties[a].example,r,a);else if(null!==(n=e.properties[a])&&void 0!==n&&null!==(o=n.items)&&void 0!==o&&o.example)cu([e.properties[a].items.example],r,a);else{const n=pu(e.properties[a].items,t),o=[];for(const e in n)o[e]=[n[e]];r=uu(r,a,o)}else r=uu(r,a,pu(e.properties[a],t))}else{if("array"!==e.type&&!e.items)return{"example-0":au(e)};var a;if(e.example)r["example-0"]=e.example;else if(null!==(a=e.items)&&void 0!==a&&a.example)r["example-0"]=[e.items.example];else{const n=pu(e.items,t);let o=0;for(const t in n)r[`example-${o}`]=[n[t]],su(e.items,r[`example-${o}`]),o++}}return r}}function du(e,t,r=0,n=""){if(e){if(e.allOf){const n={};if(1===e.allOf.length&&!e.allOf[0].properties&&!e.allOf[0].items){return`${nu(e.allOf[0]).html}`}e.allOf.map(((e,t)=>{if("object"===e.type||e.properties||e.allOf||e.anyOf||e.oneOf){const o=(e.anyOf||e.oneOf)&&t>0?t:"",a=du(e,{},r+1,o);Object.assign(n,a)}else if("array"===e.type||e.items){const t=du(e,{},r+1);Object.assign(n,t)}else{if(!e.type)return"";{const t=`prop${Object.keys(n).length}`,r=nu(e);n[t]=`${r.html}`}}})),t=n}else if(e.anyOf||e.oneOf){if(t["::description"]=e.description||"","object"===e.type||e.properties){t["::description"]=e.description||"",t["::type"]="object";for(const n in e.properties)e.required&&e.required.includes(n)?t[`${n}*`]=du(e.properties[n],{},r+1):t[n]=du(e.properties[n],{},r+1)}const o={},a=e.anyOf?"anyOf":"oneOf";e[a].forEach(((e,t)=>{if("object"===e.type||e.properties||e.allOf||e.anyOf||e.oneOf){const r=du(e,{});o[`::OPTION~${t+1}${e.title?`~${e.title}`:""}`]=r,o["::type"]="xxx-of-option"}else if("array"===e.type||e.items){const r=du(e,{});o[`::OPTION~${t+1}${e.title?`~${e.title}`:""}`]=r,o["::type"]="xxx-of-array"}else{const r=`::OPTION~${t+1}${e.title?`~${e.title}`:""}`;o[r]=`${nu(e).html}`,o["::type"]="xxx-of-option"}})),t[e.anyOf?`::ANY~OF ${n}`:`::ONE~OF ${n}`]=o,t["::type"]="xxx-of"}else if(Array.isArray(e.type)){const n=JSON.parse(JSON.stringify(e)),i=[],s=[];let l;var o;if(n.type.forEach((e=>{var t,r;e.match(/integer|number|string|null|boolean/g)?i.push(e):"array"===e&&"string"==typeof(null===(t=n.items)||void 0===t?void 0:t.type)&&null!==(r=n.items)&&void 0!==r&&r.type.match(/integer|number|string|null|boolean/g)?"string"===n.items.type&&n.items.format?i.push(`[${n.items.format}]`):i.push(`[${n.items.type}]`):s.push(e)})),i.length>0)if(n.type=i.join("┃"),l=nu(n),0===s.length)return`${(null===(o=l)||void 0===o?void 0:o.html)||""}`;if(s.length>0){var a;t["::type"]="xxx-of";const o={"::type":"xxx-of-option"};s.forEach(((t,a)=>{if("null"===t)o[`::OPTION~${a+1}`]="NULL~|~~|~~|~~|~~|~~|~~|~~|~";else if("integer, number, string, boolean,".includes(`${t},`)){n.type=Array.isArray(t)?t.join("┃"):t;const e=nu(n);o[`::OPTION~${a+1}`]=e.html}else if("object"===t){const t={"::description":e.description||"","::type":"object","::deprecated":e.deprecated||!1};for(const n in e.properties)e.required&&e.required.includes(n)?t[`${n}*`]=du(e.properties[n],{},r+1):t[n]=du(e.properties[n],{},r+1);o[`::OPTION~${a+1}`]=t}else"array"===t&&(o[`::OPTION~${a+1}`]={"::description":e.description||"","::type":"array","::props":du(e.items,{},r+1)})})),o[`::OPTION~${s.length+1}`]=(null===(a=l)||void 0===a?void 0:a.html)||"",t["::ONE~OF"]=o}}else if("object"===e.type||e.properties){t["::description"]=e.description||"",t["::type"]="object",t["::deprecated"]=e.deprecated||!1;for(const n in e.properties)e.required&&e.required.includes(n)?t[`${n}*`]=du(e.properties[n],{},r+1):t[n]=du(e.properties[n],{},r+1);e.additionalProperties&&(t["<any-key>"]=du(e.additionalProperties,{}))}else{if("array"!==e.type&&!e.items){const t=nu(e);return null!=t&&t.html?`${t.html}`:""}var i;t["::description"]=e.description?e.description:null!==(i=e.items)&&void 0!==i&&i.description?`array<${e.items.description}>`:"",t["::type"]="array",t["::props"]=du(e.items,{},r+1)}return t}}function hu(e="",t="",r,n,o=!0,a=!0,i){const s=[];if(e)for(const t in e){let r="",o="json";if(n.toLowerCase().includes("json")){if("text"===i)r="string"==typeof e[t].value?e[t].value:JSON.stringify(e[t].value,void 0,2),o="text";else if(r=e[t].value,"string"==typeof e[t].value)try{const n=e[t].value.replace(/([\w]+)(:)/g,'"$1"$2').replace(/'/g,'"');r=JSON.parse(n),o="json"}catch(n){o="text",r=e[t].value}}else r=e[t].value,o="text";s.push({exampleId:t,exampleSummary:e[t].summary||t,exampleDescription:e[t].description||"",exampleType:n,exampleValue:r,exampleFormat:o})}else if(t){let e="",r="json";if(n.toLowerCase().includes("json")){if("text"===i)e="string"==typeof t?t:JSON.stringify(t,void 0,2),r="text";else if("object"==typeof t)e=t,r="json";else if("string"==typeof t)try{e=JSON.parse(t),r="json"}catch(n){r="text",e=t}}else e=t,r="text";s.push({exampleId:"Example",exampleSummary:"",exampleDescription:"",exampleType:n,exampleValue:e,exampleFormat:r})}if(0===s.length)if(r)if(r.example)s.push({exampleId:"Example",exampleSummary:"",exampleDescription:"",exampleType:n,exampleValue:r.example,exampleFormat:n.toLowerCase().includes("json")&&"object"==typeof r.example?"json":"text"});else if(n.toLowerCase().includes("json")||n.toLowerCase().includes("text")||n.toLowerCase().includes("*/*")||n.toLowerCase().includes("xml")){let e="",t="",l="",c="";n.toLowerCase().includes("xml")?(e=r.xml&&r.xml.name?`<${r.xml.name}>`:"<root>",t=r.xml&&r.xml.name?`</${r.xml.name}>`:"</root>",l="text"):l=i;const u=pu(r,{includeReadOnly:o,includeWriteOnly:a,deprecated:!0});let p=0;for(const r in u){if(!u[r])continue;const o=u[r]["::TITLE"]||"Example "+ ++p,a=u[r]["::DESCRIPTION"]||"";lu(u[r]),c=n.toLowerCase().includes("xml")?`${e}${iu(u[r])}\n${t}`:"text"===i?JSON.stringify(u[r],null,2):u[r],s.push({exampleId:r,exampleSummary:o,exampleDescription:a,exampleType:n,exampleFormat:l,exampleValue:c})}}else s.push({exampleId:"Example",exampleSummary:"",exampleDescription:"",exampleType:n,exampleValue:"",exampleFormat:"text"});else s.push({exampleId:"Example",exampleSummary:"",exampleDescription:"",exampleType:n,exampleValue:"",exampleFormat:"text"});return s}customElements.define("json-tree",class extends G{static get properties(){return{data:{type:Object},renderStyle:{type:String,attribute:"render-style"}}}static get styles(){return[ee,ru,te,Y`:host{display:flex}.json-tree{font-family:var(--font-mono);font-size:var(--font-size-small);display:inline-block;overflow:hidden;word-break:break-all;flex:1;line-height:calc(var(--font-size-small) + 6px)}.open-bracket{display:inline-block;padding:0 20px 0 0;cursor:pointer;border:1px solid transparent;border-radius:3px}.open-bracket:hover{color:var(--primary-color);background-color:var(--hover-color);border:1px solid var(--border-color)}.inside-bracket{padding-left:12px;border-left:1px dotted var(--border-color)}.open-bracket.collapsed+.inside-bracket,.open-bracket.collapsed+.inside-bracket+.close-bracket{display:none}.string{color:var(--green)}.number{color:var(--blue)}.null{color:var(--red)}.boolean{color:var(--purple)}.object{color:var(--fg)}.toolbar{position:absolute;top:5px;right:6px;display:flex;padding:2px;align-items:center}`,ce]}render(){return I` <div class="json-tree"> <div class="toolbar"> <button class="toolbar-btn" part="btn btn-fill" @click="${e=>{he(JSON.stringify(this.data,null,2),e)}}"> Copy </button> </div> ${this.generateTree(this.data,!0)} </div> `}generateTree(e,t=!1){if(null===e)return I`<div class="null" style="display:inline">null</div>`;if("object"==typeof e&&e instanceof Date==!1){const r=Array.isArray(e)?"array":"pure_object";return 0===Object.keys(e).length?I`${Array.isArray(e)?"[ ],":"{ },"}`:I` <div class="open-bracket expanded ${"array"===r?"array":"object"}" @click="${this.toggleExpand}"> ${"array"===r?"[":"{"}</div> <div class="inside-bracket"> ${Object.keys(e).map(((t,n,o)=>I` <div class="item"> ${"pure_object"===r?I`${t}:`:""} ${this.generateTree(e[t],n===o.length-1)} </div>`))} </div> <div class="close-bracket">${"array"===r?"]":"}"}${t?"":","}</div> `}return"string"==typeof e||e instanceof Date?I`<span class="${typeof e}">"${e}"</span>${t?"":","}`:I`<span class="${typeof e}">${e}</span>${t?"":","}`}toggleExpand(e){const t=e.target;t.classList.contains("expanded")?(t.classList.replace("expanded","collapsed"),e.target.innerHTML=e.target.classList.contains("array")?"[...]":"{...}"):(t.classList.replace("collapsed","expanded"),e.target.innerHTML=e.target.classList.contains("array")?"[":"{")}});const fu=Y`*,:after,:before{box-sizing:border-box}.tr{display:flex;flex:none;width:100%;box-sizing:content-box;border-bottom:1px dotted transparent}.td{display:block;flex:0 0 auto}.key{font-family:var(--font-mono);white-space:normal;word-break:break-all}.collapsed-descr .key{overflow:hidden}.key-descr{font-family:var(--font-regular);color:var(--light-fg);flex-shrink:1;text-overflow:ellipsis;overflow:hidden;display:none}.expanded-descr .key-descr{max-height:auto;overflow:hidden;display:none}.collapsed-descr .tr{max-height:20px}.tr.xxx-of{border-top:1px dotted var(--primary-color)}.xxx-of-key{font-size:calc(var(--font-size-small) - 2px);font-weight:700;background-color:var(--primary-color);color:var(--primary-color-invert);border-radius:2px;line-height:calc(var(--font-size-small) + 6px);padding:0 5px;margin-bottom:1px;display:inline-block}.xxx-of-descr{font-family:var(--font-regular);color:var(--primary-color);font-size:calc(var(--font-size-small) - 1px);margin-left:2px}.bina,.byte,.date,.emai,.host,.ipv4,.pass,.stri,.string,.uri,.url,.uuid{color:var(--green)}.deci .blue,.doub,.floa,.int3,.int6,.inte,.numb,.number{color:var(--blue)}.null{color:var(--red)}.bool,.boolean{color:var(--orange)}.enum{color:var(--purple)}.recu{color:var(--brown)}.toolbar{display:flex;width:100%;padding:2px 0;color:var(--primary-color)}.toolbar-item{cursor:pointer;padding:5px 0;margin:0 2px}.schema-root-type{cursor:auto;color:var(--fg2);font-weight:700;text-transform:uppercase}.schema-root-type.xxx-of{display:none}.toolbar-item:first-of-type{margin:0 2px 0 0}@media only screen and (min-width:500px){.key-descr{display:block}.expanded-descr .key-descr{display:block}}`;customElements.define("schema-tree",class extends G{static get properties(){return{data:{type:Object},schemaExpandLevel:{type:Number,attribute:"schema-expand-level"},schemaDescriptionExpanded:{type:String,attribute:"schema-description-expanded"},allowSchemaDescriptionExpandToggle:{type:String,attribute:"allow-schema-description-expand-toggle"},schemaHideReadOnly:{type:String,attribute:"schema-hide-read-only"},schemaHideWriteOnly:{type:String,attribute:"schema-hide-write-only"}}}connectedCallback(){super.connectedCallback(),(!this.schemaExpandLevel||this.schemaExpandLevel<1)&&(this.schemaExpandLevel=99999),this.schemaDescriptionExpanded&&"true false".includes(this.schemaDescriptionExpanded)||(this.schemaDescriptionExpanded="false"),this.schemaHideReadOnly&&"true false".includes(this.schemaHideReadOnly)||(this.schemaHideReadOnly="true"),this.schemaHideWriteOnly&&"true false".includes(this.schemaHideWriteOnly)||(this.schemaHideWriteOnly="true")}static get styles(){return[ee,fu,ru,Y`.tree{font-size:var(--font-size-small);text-align:left;line-height:calc(var(--font-size-small) + 6px)}.tree .tr:hover{background-color:var(--hover-color)}.collapsed-descr .tr{max-height:calc(var(--font-size-small) + 8px)}.collapsed-descr .m-markdown-small p{line-height:calc(var(--font-size-small) + 6px)}.tree .key{max-width:300px}.key.deprecated .key-label{text-decoration:line-through}.open-bracket{display:inline-block;padding:0 20px 0 0;cursor:pointer;border:1px solid transparent;border-radius:3px}.open-bracket:hover{color:var(--primary-color);background-color:var(--hover-color);border:1px solid var(--border-color)}.close-bracket{display:inline-block;font-family:var(--font-mono)}.tr.collapsed+.inside-bracket,.tr.collapsed+.inside-bracket+.close-bracket{display:none}.inside-bracket.array,.inside-bracket.object{border-left:1px dotted var(--border-color)}.inside-bracket.xxx-of{padding:5px 0;border-style:dotted;border-width:0 0 1px 0;border-color:var(--primary-color)}`,ce]}render(){var e,t,r;return I` <div class="tree ${"true"===this.schemaDescriptionExpanded?"expanded-descr":"collapsed-descr"}"> <div class="toolbar"> <div class="toolbar-item schema-root-type ${(null===(e=this.data)||void 0===e?void 0:e["::type"])||""}"> ${(null===(t=this.data)||void 0===t?void 0:t["::type"])||""} </div> ${"true"===this.allowSchemaDescriptionExpandToggle?I` <div style="flex:1"></div> <div class="toolbar-item" @click="${()=>{this.schemaDescriptionExpanded="true"===this.schemaDescriptionExpanded?"false":"true"}}"> ${"true"===this.schemaDescriptionExpanded?"Single line description":"Multiline description"} </div> `:""} </div> ${null!==(r=this.data)&&void 0!==r&&r["::description"]?I`<span class="m-markdown"> ${Hc(Z()(this.data["::description"]||""))}</span>`:""} ${this.data?I` ${this.generateTree("array"===this.data["::type"]?this.data["::props"]:this.data,this.data["::type"])}`:I`<span class="mono-font" style="color:var(--red)"> Schema not found </span>`} </div> `}generateTree(e,t="object",r="",n="",o=0,a=0){var i;if(!e)return I`<div class="null" style="display:inline">null</div>`;if(0===Object.keys(e).length)return I`<span class="key object">${r}:{ }</span>`;let s="",l="";if(r.startsWith("::ONE~OF")||r.startsWith("::ANY~OF"))s=r.replace("::","").replace("~"," ");else if(r.startsWith("::OPTION")){const e=r.split("~");s=e[1],l=e[2]}else s=r;const c=400-12*a;let u="",p="";const d=null!==(i=e["::type"])&&void 0!==i&&i.startsWith("xxx-of")?o:o+1,h="xxx-of-option"===t||"xxx-of-option"===e["::type"]||r.startsWith("::OPTION")?a:a+1;var f;if("object"===e["::type"]?"array"===t?(u=o<this.schemaExpandLevel?I`<span class="open-bracket array-of-object" @click="${this.toggleObjectExpand}">[{</span>`:I`<span class="open-bracket array-of-object" @click="${this.toggleObjectExpand}">[{...}]</span>`,p="}]"):(u=o<this.schemaExpandLevel?I`<span class="open-bracket object" @click="${this.toggleObjectExpand}">{</span>`:I`<span class="open-bracket object" @click="${this.toggleObjectExpand}">{...}</span>`,p="}"):"array"===e["::type"]&&("array"===t?(u=o<this.schemaExpandLevel?I`<span class="open-bracket array-of-array" @click="${this.toggleObjectExpand}">[[</span>`:I`<span class="open-bracket array-of-array" @click="${this.toggleObjectExpand}">[[...]]</span>`,p="]]"):(u=o<this.schemaExpandLevel?I`<span class="open-bracket array" @click="${this.toggleObjectExpand}">[</span>`:I`<span class="open-bracket array" @click="${this.toggleObjectExpand}">[...]</span>`,p="]")),"object"==typeof e)return I` <div class="tr ${o<this.schemaExpandLevel||null!==(f=e["::type"])&&void 0!==f&&f.startsWith("xxx-of")?"expanded":"collapsed"} ${e["::type"]||"no-type-info"}"> <div class="td key ${e["::deprecated"]?"deprecated":""}" style="min-width:${c}px"> ${"xxx-of-option"===e["::type"]||"xxx-of-array"===e["::type"]||r.startsWith("::OPTION")?I`<span class="key-label xxx-of-key">${s}</span><span class="xxx-of-descr">${l}</span>`:s.endsWith("*")?I`<span class="key-label">${s.substring(0,s.length-1)}</span><span style="color:var(--red)">*</span>`:"::props"===s||"::ARRAY~OF"===s?"":o>0?I`<span class="key-label">${s}:</span>`:""} ${"xxx-of"===e["::type"]&&"array"===t?I`<span style="color:var(--primary-color)">ARRAY</span>`:""} ${u} </div> <div class="td key-descr m-markdown-small">${Hc(Z()(n||""))}</div> </div> <div class="inside-bracket ${e["::type"]||"no-type-info"}" style="padding-left:${"xxx-of-option"===e["::type"]||"xxx-of-array"===e["::type"]?0:12}px"> ${Array.isArray(e)&&e[0]?I`${this.generateTree(e[0],"xxx-of-option","::ARRAY~OF","",d,h)}`:I` ${Object.keys(e).map((t=>I` ${["::description","::type","::props","::deprecated"].includes(t)?"array"===e[t]["::type"]||"object"===e[t]["::type"]?I`${this.generateTree("array"===e[t]["::type"]?e[t]["::props"]:e[t],e[t]["::type"],t,e[t]["::description"],d,h)}`:"":I`${this.generateTree("array"===e[t]["::type"]?e[t]["::props"]:e[t],e[t]["::type"],t,e[t]["::description"],d,h)}`} `))} `} </div> ${e["::type"]&&e["::type"].includes("xxx-of")?"":I`<div class="close-bracket"> ${p} </div>`} `;const[m,g,y,b,v,x,w,,k]=e.split("~|~");if("ðŸ†"===g&&"true"===this.schemaHideReadOnly)return;if("🆆"===g&&"true"===this.schemaHideWriteOnly)return;const A=m.replace(/┃.*/g,"").replace(/[^a-zA-Z0-9+]/g,"").substring(0,4).toLowerCase();return I` <div class="tr primitive"> <div class="td key ${k}" style="min-width:${c}px"> ${s.endsWith("*")?I`<span class="key-label">${s.substring(0,s.length-1)}</span><span style="color:var(--red)">*</span>:`:r.startsWith("::OPTION")?I`<span class="key-label xxx-of-key">${s}</span><span class="xxx-of-descr">${l}</span>`:o>0?I`<span class="key-label">${s}:</span>`:""} <span class="${A}"> ${"array"===t?`[${m}]`:`${m}`} ${g} </span> </div> <div class="td key-descr"> ${"array"===t?n:""} ${y?I`<div style="display:inline-block;line-break:anywhere;margin-right:8px"><span class="bold-text">Constraints: </span>${y}</div>`:""} ${b?I`<div style="display:inline-block;line-break:anywhere;margin-right:8px"><span class="bold-text">Default: </span>${b}</div>`:""} ${v?I`<div style="display:inline-block;line-break:anywhere;margin-right:8px"><span class="bold-text">Allowed: </span>${v}</div>`:""} ${x?I`<div style="display:inline-block;line-break:anywhere;margin-right:8px"><span class="bold-text">Pattern: </span>${x}</div>`:""} ${w?I`<span class="m-markdown-small">${Hc(Z()(w))}</span>`:""} </div> </div> `}toggleObjectExpand(e){const t=e.target.closest(".tr");t.classList.contains("expanded")?(t.classList.replace("expanded","collapsed"),e.target.innerHTML=e.target.classList.contains("array-of-object")?"[{...}]":e.target.classList.contains("array-of-array")?"[[...]]":e.target.classList.contains("array")?"[...]":"{...}"):(t.classList.replace("collapsed","expanded"),e.target.innerHTML=e.target.classList.contains("array-of-object")?"[{":e.target.classList.contains("array-of-array")?"[[":e.target.classList.contains("object")?"{":"[")}});customElements.define("tag-input",class extends G{render(){let e="";return Array.isArray(this.value)&&(e=I`${this.value.filter((e=>""!==e.trim())).map((e=>I`<span class="tag">${e}</span>`))}`),I` <div class="tags" tabindex="0"> ${e} <input type="text" class="editor" @paste="${e=>this.afterPaste(e)}" @keydown="${this.afterKeyDown}" placeholder="${this.placeholder||""}"> </div> `}static get properties(){return{placeholder:{type:String},value:{type:Array,attribute:"value"}}}attributeChangedCallback(e,t,r){"value"===e&&r&&t!==r&&(this.value=r.split(",").filter((e=>""!==e.trim()))),super.attributeChangedCallback(e,t,r)}afterPaste(e){const t=(e.clipboardData||window.clipboardData).getData("Text");this.value=t?t.split(",").filter((e=>""!==e.trim())):"",e.preventDefault()}afterKeyDown(e){13===e.keyCode?(e.stopPropagation(),e.preventDefault(),e.target.value&&(Array.isArray(this.value)?this.value=[...this.value,e.target.value]:this.value=[e.target.value],e.target.value="")):8===e.keyCode&&0===e.target.value.length&&Array.isArray(this.value)&&this.value.length>0&&(this.value.splice(-1),this.value=[...this.value])}static get styles(){return[Y`.tags{display:flex;flex-wrap:wrap;outline:0;padding:0;border-radius:var(--border-radius);border:1px solid var(--border-color);cursor:text;overflow:hidden;background:var(--input-bg)}.editor,.tag{padding:3px;margin:2px}.tag{border:1px solid var(--border-color);background-color:var(--bg3);color:var(--fg3);border-radius:var(--border-radius);word-break:break-all;font-size:var(--font-size-small)}.tag:hover~#cursor{display:block}.editor{flex:1;border:1px solid transparent;color:var(--fg);min-width:60px;outline:0;line-height:inherit;font-family:inherit;background:0 0;font-size:calc(var(--font-size-small) + 1px)}.editor::placeholder{color:var(--placeholder-color);opacity:1}`]}});customElements.define("api-request",class extends G{constructor(){super(),this.responseMessage="",this.responseStatus="success",this.responseHeaders="",this.responseText="",this.responseUrl="",this.curlSyntax="",this.activeResponseTab="response",this.selectedRequestBodyType="",this.selectedRequestBodyExample=""}static get properties(){return{serverUrl:{type:String,attribute:"server-url"},servers:{type:Array},method:{type:String},path:{type:String},parameters:{type:Array},request_body:{type:Object},api_keys:{type:Array},parser:{type:Object},accept:{type:String},callback:{type:String},responseMessage:{type:String,attribute:!1},responseText:{type:String,attribute:!1},responseHeaders:{type:String,attribute:!1},responseStatus:{type:String,attribute:!1},responseUrl:{type:String,attribute:!1},fillRequestFieldsWithExample:{type:String,attribute:"fill-request-fields-with-example"},allowTry:{type:String,attribute:"allow-try"},renderStyle:{type:String,attribute:"render-style"},schemaStyle:{type:String,attribute:"schema-style"},activeSchemaTab:{type:String,attribute:"active-schema-tab"},schemaExpandLevel:{type:Number,attribute:"schema-expand-level"},schemaDescriptionExpanded:{type:String,attribute:"schema-description-expanded"},allowSchemaDescriptionExpandToggle:{type:String,attribute:"allow-schema-description-expand-toggle"},schemaHideReadOnly:{type:String,attribute:"schema-hide-read-only"},fetchCredentials:{type:String,attribute:"fetch-credentials"},activeResponseTab:{type:String},selectedRequestBodyType:{type:String,attribute:"selected-request-body-type"},selectedRequestBodyExample:{type:String,attribute:"selected-request-body-example"}}}static get styles(){return[ne,te,ee,re,ru,ie,ae,Y`*,:after,:before{box-sizing:border-box}.read-mode{margin-top:24px}.param-name,.param-type{margin:1px 0;text-align:right;line-height:var(--font-size-small)}.param-name{color:var(--fg);font-family:var(--font-mono)}.param-type{color:var(--light-fg);font-family:var(--font-regular)}.param-constraint{min-width:100px}.param-constraint:empty{display:none}.top-gap{margin-top:24px}.textarea{min-height:220px;padding:5px;resize:vertical}.example:first-child{margin-top:-9px}.response-message{font-weight:700;text-overflow:ellipsis}.response-message.error{color:var(--red)}.response-message.success{color:var(--blue)}.file-input-container{align-items:flex-end}.file-input-container .input-set:first-child .file-input-remove-btn{visibility:hidden}.file-input-remove-btn{font-size:16px;color:var(--red);outline:0;border:none;background:0 0;cursor:pointer}.v-tab-btn{font-size:var(--smal-font-size);height:24px;border:none;background:0 0;opacity:.3;cursor:pointer;padding:4px 8px}.v-tab-btn.active{font-weight:700;background:var(--bg);opacity:1}@media only screen and (min-width:768px){.textarea{padding:8px}}@media only screen and (max-width:470px){.hide-in-small-screen{display:none}}`,ce]}render(){return I` <div class="col regular-font request-panel ${"read focused".includes(this.renderStyle)||"true"===this.callback?"read-mode":"view-mode"}"> <div class="${"true"===this.callback?"tiny-title":"req-res-title"}"> ${"true"===this.callback?"CALLBACK REQUEST":"REQUEST"} </div> <div> ${this.inputParametersTemplate("path")} ${this.inputParametersTemplate("query")} ${this.requestBodyTemplate()} ${this.inputParametersTemplate("header")} ${this.inputParametersTemplate("cookie")} ${"false"===this.allowTry?"":I`${this.apiCallTemplate()}`} </div> </div> `}updated(e){if("focused"===this.renderStyle)if(1===e.size&&e.has("activeSchemaTab"));else{[...this.shadowRoot.querySelectorAll('textarea[data-ptype="form-data"]')].forEach((e=>{const t=this.shadowRoot.querySelector(`textarea[data-pname='hidden-${e.dataset.pname}']`);t&&(e.value=t.value)}))}}exampleListTemplate(e,t,r=[]){return I` ${r.length>0?I`<span style="font-weight:700">Example: </span> ${r.map(((r,n)=>{var o;return I` ${0===n?"":"┃"} ${"array"===t?"[":""} <a part="anchor anchor-param-example" class="${"true"===this.allowTry?"":"inactive-link"}" data-example-type="${"array"===t?t:"string"}" data-example="${r.value&&Array.isArray(r.value)?null===(o=r.value)||void 0===o?void 0:o.join("~|~"):r.value||""}" @click="${t=>{const r=t.target.closest("table").querySelector(`[data-pname="${e}"]`);r&&("array"===t.target.dataset.exampleType?r.value=t.target.dataset.example.split("~|~"):r.value=t.target.dataset.example)}}">${r.description||r.summary||r.value}</a> ${"array"===t?"] ":""} `}))} `:""}`}inputParametersTemplate(e){const t=this.parameters?this.parameters.filter((t=>t.in===e)):[];if(0===t.length)return"";let r="";"path"===e?r="PATH PARAMETERS":"query"===e?r="QUERY-STRING PARAMETERS":"header"===e?r="REQUEST HEADERS":"cookie"===e&&(r="COOKIES");const n=[];for(const r of t){if(!r.schema)continue;const t=nu(r.schema);if(!t)continue;let o="form",a=!0;"query"===e&&(r.style&&"form spaceDelimited pipeDelimited".includes(r.style)&&(o=r.style),"boolean"==typeof r.explode&&(a=r.explode));const i=ou(r.examples||r.example||t.examples||t.example,t.type),s="read focused".includes(this.renderStyle)?"200px":"160px";n.push(I` <tr> <td rowspan="${"true"===this.allowTry?"1":"2"}" style="width:${s};min-width:100px"> <div class="param-name"> ${r.required?I`<span style="color:var(--red)">*</span>`:""}${r.name} </div> <div class="param-type"> ${"array"===t.type?`${t.arrayType}`:`${t.format?t.format:t.type}`} </div> </td> ${"true"===this.allowTry?I` <td style="min-width:100px"> ${"array"===t.type?I` <tag-input class="request-param" style="width:100%" data-ptype="${e}" data-pname="${r.name}" data-example="${Array.isArray(i.exampleVal)?i.exampleVal.join("~|~"):i.exampleVal}" data-param-serialize-style="${o}" data-param-serialize-explode="${a}" data-array="true" placeholder="add-multiple ↩" .value="${Array.isArray(i.exampleVal),i.exampleVal}"> </tag-input>`:"object"===t.type?I` <textarea class="textarea request-param" part="textarea textarea-param" data-ptype="${e}-object" data-pname="${r.name}" data-example="${i.exampleVal}" data-param-serialize-style="${o}" data-param-serialize-explode="${a}" spellcheck="false" style="resize:vertical;width:100%;height:${"read focused".includes(this.renderStyle)?"180px":"120px"}">${"true"===this.fillRequestFieldsWithExample?i.exampleVal:""}</textarea>`:I` <input type="${"password"===t.format?"password":"text"}" spellcheck="false" style="width:100%" class="request-param" part="textbox textbox-param" data-ptype="${e}" data-pname="${r.name}" data-example="${Array.isArray(i.exampleVal)?i.exampleVal.join("~|~"):i.exampleVal}" data-array="false" .value="${"true"===this.fillRequestFieldsWithExample?i.exampleVal:""}">`} </td>`:""} <td colspan="${"true"===this.allowTry?"1":"2"}"> ${t.default||t.constrain||t.allowedValues||t.pattern?I` <div class="param-constraint"> ${t.default?I`<span style="font-weight:700">Default: </span>${t.default}<br>`:""} ${t.pattern?I`<span style="font-weight:700">Pattern: </span>${t.pattern}<br>`:""} ${t.constrain?I`${t.constrain}<br>`:""} ${t.allowedValues&&t.allowedValues.split("┃").map(((e,n)=>I` ${n>0?"┃":I`<span style="font-weight:700">Allowed: </span>`} ${I` <a part="anchor anchor-param-constraint" class="${"true"===this.allowTry?"":"inactive-link"}" data-type="${"array"===t.type?t.type:"string"}" data-enum="${e.trim()}" @click="${e=>{const t=e.target.closest("table").querySelector(`[data-pname="${r.name}"]`);t&&("array"===e.target.dataset.type?t.value=[e.target.dataset.enum]:t.value=e.target.dataset.enum)}}">${e}</a>`}`))} </div>`:""} </td> </tr> <tr> ${"true"===this.allowTry?I`<td style="border:none"> </td>`:""} <td colspan="2" style="border:none;margin-top:0;padding:0 5px 8px 5px"> <span class="m-markdown-small">${Hc(Z()(r.description||""))}</span> ${this.exampleListTemplate.call(this,r.name,t.type,i.exampleList)} </td> </tr> `)}return I` <div class="table-title top-gap">${r}</div> <div style="display:block;overflow-x:auto;max-width:100%"> <table class="m-table" style="width:100%;word-break:break-word"> ${n} </table> </div>`}resetRequestBodySelection(){this.selectedRequestBodyType="",this.selectedRequestBodyExample="",this.clearResponseData()}onSelectExample(e){this.selectedRequestBodyExample=e.target.value;const t=e.target;window.setTimeout((e=>{const t=e.closest(".example-panel").querySelector(".request-body-param");e.closest(".example-panel").querySelector(".request-body-param-user-input").value=t.innerText}),0,t)}onMimeTypeChange(e){this.selectedRequestBodyType=e.target.value;const t=e.target;this.selectedRequestBodyExample="",window.setTimeout((e=>{const t=e.closest(".request-body-container").querySelector(".request-body-param");if(t){e.closest(".request-body-container").querySelector(".request-body-param-user-input").value=t.innerText}}),0,t)}requestBodyTemplate(){if(!this.request_body)return"";if(0===Object.keys(this.request_body).length)return"";let e="",t="",r="",n="",o="";const a=[],i=this.request_body.content;for(const e in i)a.push({mimeType:e,schema:i[e].schema,example:i[e].example,examples:i[e].examples}),this.selectedRequestBodyType||(this.selectedRequestBodyType=e);return e=1===a.length?"":I` <select style="min-width:100px;max-width:100%;margin-bottom:-1px" @change="${e=>this.onMimeTypeChange(e)}"> ${a.map((e=>I` <option value="${e.mimeType}" ?selected="${e.mimeType===this.selectedRequestBodyType}"> ${e.mimeType} </option> `))} </select> `,a.forEach((e=>{let a,i=[];if(this.selectedRequestBodyType.includes("json")||this.selectedRequestBodyType.includes("xml")||this.selectedRequestBodyType.includes("text"))e.mimeType===this.selectedRequestBodyType&&(i=hu(e.examples,e.example,e.schema,e.mimeType,!1,!0,"text"),this.selectedRequestBodyExample||(this.selectedRequestBodyExample=i.length>0?i[0].exampleId:""),o=I` ${o} <div class="example-panel border-top pad-top-8"> ${1===i.length?"":I` <select style="min-width:100px;max-width:100%;margin-bottom:-1px" @change="${e=>this.onSelectExample(e)}"> ${i.map((e=>I`<option value="${e.exampleId}" ?selected="${e.exampleId===this.selectedRequestBodyExample}"> ${e.exampleSummary.length>80?e.exampleId:e.exampleSummary?e.exampleSummary:e.exampleId} </option>`))} </select> `} ${i.filter((e=>e.exampleId===this.selectedRequestBodyExample)).map((t=>I` <div class="example ${t.exampleId===this.selectedRequestBodyExample?"example-selected":""}" data-example="${t.exampleId}"> ${t.exampleSummary&&t.exampleSummary.length>80?I`<div style="padding:4px 0"> ${t.exampleSummary} </div>`:""} ${t.exampleDescription?I`<div class="m-markdown-small" style="padding:4px 0"> ${Hc(Z()(t.exampleDescription||""))} </div>`:""} <pre class="textarea is-hidden request-body-param ${e.mimeType.substring(e.mimeType.indexOf("/")+1)}" spellcheck="false" data-ptype="${e.mimeType}" style="width:100%;resize:vertical;display:none">${"text"===t.exampleFormat?t.exampleValue:JSON.stringify(t.exampleValue,null,2)}</pre> <textarea class="textarea request-body-param-user-input" part="textarea textarea-param" spellcheck="false" data-ptype="${e.mimeType}" data-example="${"text"===t.exampleFormat?t.exampleValue:JSON.stringify(t.exampleValue,null,2)}" data-example-format="${t.exampleFormat}" style="width:100%;resize:vertical">${"true"===this.fillRequestFieldsWithExample?"text"===t.exampleFormat?t.exampleValue:JSON.stringify(t.exampleValue,null,2):""}</textarea> </div> `))} </div> `);else if(this.selectedRequestBodyType.includes("form-urlencoded")||this.selectedRequestBodyType.includes("form-data")){if(e.mimeType===this.selectedRequestBodyType){const t=hu(e.examples,e.example,e.schema,e.mimeType,!1,!0,"text");e.schema&&(r=this.formDataTemplate(e.schema,e.mimeType,t[0]?t[0].exampleValue:""))}}else RegExp("^audio/|^image/|^video/|^font/|tar$|zip$|7z$|rtf$|msword$|excel$|/pdf$|/octet-stream$").test(this.selectedRequestBodyType)&&e.mimeType===this.selectedRequestBodyType&&(t=I` <div class="small-font-size bold-text row"> <input type="file" part="file-input" style="max-width:100%" class="request-body-param-file" data-ptype="${e.mimeType}" spellcheck="false"> </div> `);(e.mimeType.includes("json")||e.mimeType.includes("xml")||e.mimeType.includes("text"))&&(a=du(e.schema,{}),"table"===this.schemaStyle?n=I` ${n} <schema-table class="${e.mimeType.substring(e.mimeType.indexOf("/")+1)}" style="display:${this.selectedRequestBodyType===e.mimeType?"block":"none"}" .data="${a}" schema-expand-level="${this.schemaExpandLevel}" schema-description-expanded="${this.schemaDescriptionExpanded}" allow-schema-description-expand-toggle="${this.allowSchemaDescriptionExpandToggle}" , schema-hide-read-only="${this.schemaHideReadOnly.includes(this.method)}" schema-hide-write-only="false"> </schema-table> `:"tree"===this.schemaStyle&&(n=I` ${n} <schema-tree class="${e.mimeType.substring(e.mimeType.indexOf("/")+1)}" style="display:${this.selectedRequestBodyType===e.mimeType?"block":"none"}" .data="${a}" schema-expand-level="${this.schemaExpandLevel}" schema-description-expanded="${this.schemaDescriptionExpanded}" allow-schema-description-expand-toggle="${this.allowSchemaDescriptionExpandToggle}" , schema-hide-read-only="${this.schemaHideReadOnly.includes(this.method)}" schema-hide-write-only="false"> </schema-tree> `))})),I` <div class="request-body-container" data-selected-request-body-type="${this.selectedRequestBodyType}"> <div class="table-title top-gap row"> REQUEST BODY ${this.request_body.required?I`<span class="mono-font" style="color:var(--red)">*</span>`:""} <span style="font-weight:400;margin-left:5px"> ${this.selectedRequestBodyType}</span> <span style="flex:1"></span> ${e} </div> ${this.request_body.description?I`<div class="m-markdown" style="margin-bottom:12px">${Hc(Z()(this.request_body.description))}</div>`:""} ${this.selectedRequestBodyType.includes("json")||this.selectedRequestBodyType.includes("xml")||this.selectedRequestBodyType.includes("text")?I` <div class="tab-panel col" style="border-width:0 0 1px 0"> <div class="tab-buttons row" @click="${e=>{"button"===e.target.tagName.toLowerCase()&&(this.activeSchemaTab=e.target.dataset.tab)}}"> <button class="tab-btn ${"schema"===this.activeSchemaTab?"active":""}" data-tab="schema">SCHEMA</button> <button class="tab-btn ${"example"===this.activeSchemaTab?"active":""}" data-tab="example">EXAMPLE </button> </div> ${I`<div class="tab-content col" style="display:${"schema"===this.activeSchemaTab?"block":"none"}"> ${n}</div>`} ${I`<div class="tab-content col" style="display:${"schema"===this.activeSchemaTab?"none":"block"}"> ${o}</div>`} </div>`:I` ${t} ${r}`} </div> `}formDataParamAsObjectTemplate(e,t,r){var n;const o=du(t,{}),a=hu(t.examples,t.example,t,"json",!1,!0,"text");return I` <div class="tab-panel row" style="min-height:220px;border-left:6px solid var(--light-border-color);align-items:stretch"> <div style="width:24px;background-color:var(--light-border-color)"> <div class="row" style="flex-direction:row-reverse;width:160px;height:24px;transform:rotate(270deg) translateX(-160px);transform-origin:top left;display:block" @click="${e=>{if(e.target.classList.contains("v-tab-btn")){const t=e.target.dataset.tab;if(t){const r=e.target.closest(".tab-panel"),n=r.querySelector(`.v-tab-btn[data-tab="${t}"]`),o=[...r.querySelectorAll(`.v-tab-btn:not([data-tab="${t}"])`)],a=r.querySelector(`.tab-content[data-tab="${t}"]`),i=[...r.querySelectorAll(`.tab-content:not([data-tab="${t}"])`)];n.classList.add("active"),a.style.display="block",o.forEach((e=>{e.classList.remove("active")})),i.forEach((e=>{e.style.display="none"}))}}"button"===e.target.tagName.toLowerCase()&&(this.activeSchemaTab=e.target.dataset.tab)}}"> <button class="v-tab-btn ${"schema"===this.activeSchemaTab?"active":""}" data-tab="schema">SCHEMA</button> <button class="v-tab-btn ${"example"===this.activeSchemaTab?"active":""}" data-tab="example">EXAMPLE</button> </div> </div> ${I` <div class="tab-content col" data-tab="schema" style="display:${"schema"===this.activeSchemaTab?"block":"none"};padding-left:5px;width:100%"> <schema-tree .data="${o}" schema-expand-level="${this.schemaExpandLevel}" schema-description-expanded="${this.schemaDescriptionExpanded}" allow-schema-description-expand-toggle="${this.allowSchemaDescriptionExpandToggle}" ,> </schema-tree> </div>`} ${I` <div class="tab-content col" data-tab="example" style="display:${"example"===this.activeSchemaTab?"block":"none"};padding-left:5px;width:100%"> <textarea class="textarea" part="textarea textarea-param" style="width:100%;border:none;resize:vertical" data-array="false" data-ptype="${r.includes("form-urlencode")?"form-urlencode":"form-data"}" data-pname="${e}" data-example="${(null===(n=a[0])||void 0===n?void 0:n.exampleValue)||""}" spellcheck="false">${"true"===this.fillRequestFieldsWithExample?a[0].exampleValue:""}</textarea> <textarea data-pname="hidden-${e}" data-ptype="${r.includes("form-urlencode")?"hidden-form-urlencode":"hidden-form-data"}" class="is-hidden" style="display:none">${a[0].exampleValue}</textarea> </div>`} </div> `}formDataTemplate(e,t,r=""){const n=[];if(e.properties){for(const r in e.properties){var o;const a=e.properties[r],i=a.examples||a.example||"",s=a.type,l=nu(a),c="read focused".includes(this.renderStyle)?"200px":"160px",u=ou(l.examples||l.example,l.type);n.push(I` <tr> <td style="width:${c};min-width:100px"> <div class="param-name"> ${a.required?I`<span style="color:var(--red)">*</span>${r}`:I`${r}`} </div> <div class="param-type">${l.type}</div> </td> <td style="${"object"===s?"width:100%; padding:0;":"true"===this.allowTry?"":"display:none;"} min-width:100px" colspan="${"object"===s?2:1}"> ${"array"===s?"binary"===(null===(o=a.items)||void 0===o?void 0:o.format)?I` <div class="file-input-container col" style="align-items:flex-end" @click="${e=>this.onAddRemoveFileInput(e,r,t)}"> <div class="input-set row"> <input type="file" part="file-input" style="width:100%" data-pname="${r}" data-ptype="${t.includes("form-urlencode")?"form-urlencode":"form-data"}" data-array="false" data-file-array="true"> <button class="file-input-remove-btn"> ✕ </button> </div> <button class="m-btn primary file-input-add-btn" part="btn btn-fill" style="margin:2px 25px 0 0;padding:2px 6px">ADD</button> </div> `:I` <tag-input style="width:100%" data-ptype="${t.includes("form-urlencode")?"form-urlencode":"form-data"}" data-pname="${r}" data-example="${Array.isArray(i)?i.join("~|~"):i}" data-array="true" placeholder="add-multiple ↩" .value="${Array.isArray(i)?Array.isArray(i[0])?i[0]:[i[0]]:[i]}"> </tag-input> `:I` ${"object"===s?this.formDataParamAsObjectTemplate.call(this,r,a,t):I` ${"true"===this.allowTry?I`<input .value="${"true"===this.fillRequestFieldsWithExample?Array.isArray(i)?i[0]:i:""}" spellcheck="false" type="${"binary"===a.format?"file":"password"===a.format?"password":"text"}" part="textbox textbox-param" style="width:100%" data-ptype="${t.includes("form-urlencode")?"form-urlencode":"form-data"}" data-pname="${r}" data-example="${Array.isArray(i)?i[0]:i}" data-array="false">`:""} `}`} </td> ${"object"===s?"":I` <td> ${l.default||l.constrain||l.allowedValues||l.pattern?I` <div class="param-constraint"> ${l.default?I`<span style="font-weight:700">Default: </span>${l.default}<br>`:""} ${l.pattern?I`<span style="font-weight:700">Pattern: </span>${l.pattern}<br>`:""} ${l.constrain?I`${l.constrain}<br>`:""} ${l.allowedValues&&l.allowedValues.split("┃").map(((e,t)=>I` ${t>0?"┃":I`<span style="font-weight:700">Allowed: </span>`} ${I` <a part="anchor anchor-param-constraint" class="${"true"===this.allowTry?"":"inactive-link"}" data-type="${"array"===l.type?l.type:"string"}" data-enum="${e.trim()}" @click="${e=>{const t=e.target.closest("table").querySelector(`[data-pname="${r}"]`);t&&("array"===e.target.dataset.type?t.value=[e.target.dataset.enum]:t.value=e.target.dataset.enum)}}"> ${e} </a>`}`))} </div>`:""} </td>`} </tr> ${"object"===s?"":I` <tr> <td style="border:none"> </td> <td colspan="2" style="border:none;margin-top:0;padding:0 5px 8px 5px"> <span class="m-markdown-small">${Hc(Z()(a.description||""))}</span> ${this.exampleListTemplate.call(this,r,l.type,u.exampleList)} </td> </tr> `}`)}return I` <table style="width:100%" class="m-table"> ${n} </table> `}return I` <textarea class="textarea dynamic-form-param ${t}" part="textarea textarea-param" spellcheck="false" data-pname="dynamic-form" data-ptype="${t}" style="width:100%">${r}</textarea> ${e.description?I`<span class="m-markdown-small">${Hc(Z()(e.description))}</span>`:""} `}apiResponseTabTemplate(){const e=this.responseHeaders.includes("json")?"json":this.responseHeaders.includes("html")||this.responseHeaders.includes("xml")?"html":"";return I` <div class="row" style="font-size:var(--font-size-small);margin:5px 0"> <div class="response-message ${this.responseStatus}">Response Status: ${this.responseMessage}</div> <div style="flex:1"></div> <button class="m-btn" part="btn btn-outline" @click="${this.clearResponseData}">CLEAR RESPONSE</button> </div> <div class="tab-panel col" style="border-width:0 0 1px 0"> <div id="tab_buttons" class="tab-buttons row" @click="${e=>{!1!==e.target.classList.contains("tab-btn")&&(this.activeResponseTab=e.target.dataset.tab)}}"> <button class="tab-btn ${"response"===this.activeResponseTab?"active":""}" data-tab="response"> RESPONSE</button> <button class="tab-btn ${"headers"===this.activeResponseTab?"active":""}" data-tab="headers"> RESPONSE HEADERS</button> <button class="tab-btn ${"curl"===this.activeResponseTab?"active":""}" data-tab="curl">CURL</button> </div> ${this.responseIsBlob?I` <div class="tab-content col" style="flex:1;display:${"response"===this.activeResponseTab?"flex":"none"}"> <button class="m-btn thin-border mar-top-8" style="width:135px" @click="${this.downloadResponseBlob}" part="btn btn-outline">DOWNLOAD</button> ${"view"===this.responseBlobType?I`<button class="m-btn thin-border mar-top-8" style="width:135px" @click="${this.viewResponseBlob}" part="btn btn-outline">VIEW (NEW TAB)</button>`:""} </div>`:I` <div class="tab-content col m-markdown" style="flex:1;display:${"response"===this.activeResponseTab?"flex":"none"}"> <button class="toolbar-btn" style="position:absolute;top:12px;right:8px" @click="${e=>{he(this.responseText,e)}}" part="btn btn-fill"> Copy </button> <pre style="white-space:pre;max-height:400px;overflow:auto">${e?I`<code>${Hc(Q().highlight(this.responseText,Q().languages[e],e))}</code>`:`${this.responseText}`} + </pre> </div>`} <div class="tab-content col m-markdown" style="flex:1;display:${"headers"===this.activeResponseTab?"flex":"none"}"> <button class="toolbar-btn" style="position:absolute;top:12px;right:8px" @click="${e=>{he(this.responseHeaders,e)}}" part="btn btn-fill"> Copy </button> <pre style="white-space:pre"><code>${Hc(Q().highlight(this.responseHeaders,Q().languages.css,"css"))}</code></pre> </div> <div class="tab-content col m-markdown" style="flex:1;display:${"curl"===this.activeResponseTab?"flex":"none"}"> <button class="toolbar-btn" style="position:absolute;top:12px;right:8px" @click="${e=>{he(this.curlSyntax.replace(/\\$/,""),e)}}" part="btn btn-fill"> Copy </button> <pre style="white-space:pre"><code>${Hc(Q().highlight(this.curlSyntax.trim().replace(/\\$/,""),Q().languages.shell,"shell"))}</code></pre> </div> </div>`}apiCallTemplate(){var e;let t="";this.servers&&this.servers.length>0&&(t=I` <select style="min-width:100px" @change="${e=>{this.serverUrl=e.target.value}}"> ${this.servers.map((e=>I`<option value="${e.url}"> ${e.url} - ${e.description} </option>`))} </select> `);const r=I` <div style="display:flex;flex-direction:column"> ${t} ${this.serverUrl?I` <div style="display:flex;align-items:baseline"> <div style="font-weight:700;padding-right:5px">API Server</div> <span class="gray-text"> ${this.serverUrl} </span> </div> `:""} </div> `;return I` <div style="display:flex;align-items:flex-end;margin:16px 0;font-size:var(--font-size-small)"> <div class="hide-in-small-screen" style="flex-direction:column;margin:0;width:calc(100% - 60px)"> <div style="display:flex;flex-direction:row;align-items:center;overflow:hidden"> ${r} </div> <div style="display:flex"> <div style="font-weight:700;padding-right:5px">Authentication</div> ${this.api_keys.length>0?I`<div style="color:var(--blue);overflow:hidden"> ${1===this.api_keys.length?`${null===(e=this.api_keys[0])||void 0===e?void 0:e.typeDisplay} in ${this.api_keys[0].in}`:`${this.api_keys.length} API keys applied`} </div>`:I`<div style="color:var(--red)">No API key applied</div>`} </div> </div> ${this.parameters.length>0||this.request_body?I` <button class="m-btn thin-border" part="btn btn-outline" style="margin-right:5px" @click="${this.onFillRequestData}" title="Fills with example data (if provided)"> FILL EXAMPLE </button> <button class="m-btn thin-border" part="btn btn-outline" style="margin-right:5px" @click="${this.onClearRequestData}"> CLEAR </button>`:""} <button class="m-btn primary thin-border" part="btn btn-fill btn-try" @click="${this.onTryClick}">TRY</button> </div> ${""===this.responseMessage?"":this.apiResponseTabTemplate()} `}async onFillRequestData(e){[...e.target.closest(".request-panel").querySelectorAll("input, tag-input, textarea:not(.is-hidden)")].forEach((e=>{e.dataset.example&&("TAG-INPUT"===e.tagName.toUpperCase()?e.value=e.dataset.example.split("~|~"):e.value=e.dataset.example)}))}async onClearRequestData(e){[...e.target.closest(".request-panel").querySelectorAll("input, tag-input, textarea:not(.is-hidden)")].forEach((e=>{e.value=""}))}async onTryClick(e){var t;const r=e.target;let n,o,a="",i="",s="",l="";const c=null===(t=this.closest(".expanded-req-resp-container, .req-resp-container"))||void 0===t?void 0:t.getElementsByTagName("api-response")[0],u=null==c?void 0:c.selectedMimeType,p=e.target.closest(".request-panel"),d=[...p.querySelectorAll("[data-ptype='path']")],h=[...p.querySelectorAll("[data-ptype='query']")],f=[...p.querySelectorAll("[data-ptype='query-object']")],m=[...p.querySelectorAll("[data-ptype='header']")],g=p.querySelector(".request-body-container");n=this.path;const y={method:this.method.toUpperCase(),headers:{}};if(d.map((e=>{n=n.replace(`{${e.dataset.pname}}`,encodeURIComponent(e.value))})),h.length>0){const e=new URLSearchParams;h.forEach((t=>{if("false"===t.dataset.array)""!==t.value&&e.append(t.dataset.pname,t.value);else{const r=t.dataset.paramSerializeStyle,n=t.dataset.paramSerializeExplode;let o=t.value&&Array.isArray(t.value)?t.value:[];o=Array.isArray(o)?o.filter((e=>""!==e)):[],o.length>0&&("spaceDelimited"===r?e.append(t.dataset.pname,o.join(" ").replace(/^\s|\s$/g,"")):"pipeDelimited"===r?e.append(t.dataset.pname,o.join("|").replace(/^\||\|$/g,"")):"true"===n?o.forEach((r=>{e.append(t.dataset.pname,r)})):e.append(t.dataset.pname,o.join(",").replace(/^,|,$/g,"")))}})),n=`${n}${e.toString()?"?":""}${e.toString()}`}if(f.length>0){const e=new URLSearchParams;f.map((t=>{try{let r={};const o=t.dataset.paramSerializeStyle,a=t.dataset.paramSerializeExplode;r=Object.assign(r,JSON.parse(t.value.replace(/\s+/g," ")));for(const t in r)"object"==typeof r[t]?Array.isArray(r[t])&&("spaceDelimited"===o?e.append(t,r[t].join(" ")):"pipeDelimited"===o?e.append(t,r[t].join("|")):"true"===a?r[t].forEach((r=>{e.append(t,r)})):e.append(t,r[t])):e.append(t,r[t]);n=`${n}${e.toString()?"?":""}${e.toString()}`}catch(e){console.log("RapiDoc: unable to parse %s into object",t.value)}}))}if(this.api_keys.filter((e=>"query"===e.in)).forEach((e=>{n=`${n}${n.includes("?")?"&":"?"}${e.name}=${encodeURIComponent(e.finalKeyValue)}`})),n=`${this.serverUrl.replace(/\/$/,"")}${n}`,!1===n.startsWith("http")){o=new URL(n,window.location.href).href}else o=n;if(a=`curl -X ${this.method.toUpperCase()} "${o}" \\\n`,u?(y.headers.Accept=u,i+=` -H "Accept: ${u}" \\\n`):this.accept&&(y.headers.Accept=this.accept,i+=` -H "Accept: ${this.accept}" \\\n`),this.api_keys.filter((e=>"header"===e.in)).forEach((e=>{y.headers[e.name]=e.finalKeyValue,i+=` -H "${e.name}: ${e.finalKeyValue}" \\\n`})),m.map((e=>{e.value&&(y.headers[e.dataset.pname]=e.value,i+=` -H "${e.dataset.pname}: ${e.value}" \\\n`)})),g){const e=g.dataset.selectedRequestBodyType;if(e.includes("form-urlencoded")){const e=p.querySelector("[data-ptype='dynamic-form']");if(e){const t=e.value,r=new URLSearchParams;let n,o=!0;if(t)try{n=JSON.parse(t)}catch(e){o=!1,console.warn("RapiDoc: Invalid JSON provided",e)}else o=!1;if(o){for(const e in n)r.append(e,JSON.stringify(n[e]));y.body=r,s=` -d ${r.toString()} \\\n`}}else{const e=[...p.querySelectorAll("[data-ptype='form-urlencode']")],t=new URLSearchParams;e.filter((e=>"file"!==e.type)).forEach((e=>{if("false"===e.dataset.array)e.value&&t.append(e.dataset.pname,e.value);else{const r=e.value&&Array.isArray(e.value)?e.value.join(","):"";t.append(e.dataset.pname,r)}})),y.body=t,s=` -d ${t.toString()} \\\n`}}else if(e.includes("form-data")){const e=new FormData;[...p.querySelectorAll("[data-ptype='form-data']")].forEach((t=>{"false"===t.dataset.array?"file"===t.type&&t.files[0]?(e.append(t.dataset.pname,t.files[0],t.files[0].name),l+=` -F "${t.dataset.pname}=@${t.files[0].name}" \\\n`):t.value&&(e.append(t.dataset.pname,t.value),l+=` -F "${t.dataset.pname}=${t.value}" \\\n`):t.value&&Array.isArray(t.value)&&(t.value.forEach((e=>{l=`${l} -F "${t.dataset.pname}[]=${e}" \\\n`})),e.append(t.dataset.pname,t.value.join(",")))})),y.body=e}else if(RegExp("^audio/|^image/|^video/|^font/|tar$|zip$|7z$|rtf$|msword$|excel$|/pdf$|/octet-stream$").test(e)){const e=p.querySelector(".request-body-param-file");null!=e&&e.files[0]&&(y.body=e.files[0],s=` --data-binary @${e.files[0].name} \\\n`)}else if(e.includes("json")||e.includes("xml")||e.includes("text")){const e=p.querySelector(".request-body-param-user-input");if(null!=e&&e.value){y.body=e.value;try{s=` -d '${JSON.stringify(JSON.parse(e.value))}' \\\n`}catch(t){s=` -d '${e.value.replace(/(\r\n|\n|\r)/gm,"")}' \\\n`}}}e.includes("form-data")||(y.headers["Content-Type"]=e),i+=` -H "Content-Type: ${e}" \\\n`}this.responseUrl="",this.responseHeaders=[],this.curlSyntax="",this.responseStatus="success",this.responseIsBlob=!1,this.respContentDisposition="",this.responseBlobUrl&&(URL.revokeObjectURL(this.responseBlobUrl),this.responseBlobUrl=""),this.curlSyntax=`${a}${i}${s}${l}`,this.fetchCredentials&&(y.credentials=this.fetchCredentials);const b=new Request(n,y);let v,x;this.dispatchEvent(new CustomEvent("before-try",{bubbles:!0,composed:!0,detail:{request:b}}));try{let e,t,n;r.disabled=!0,v=await fetch(b),x=v.clone(),r.disabled=!1,this.responseMessage=v.statusText?`${v.statusText}:${v.status}`:v.status,this.responseUrl=v.url;const o={};v.headers.forEach(((e,t)=>{o[t]=e,this.responseHeaders=`${this.responseHeaders}${t}: ${e}\n`}));const a=v.headers.get("content-type");if(0===(await v.clone().text()).length)this.responseText="";else if(a){if(a.includes("json"))if(/charset=[^"']+/.test(a)){const e=a.split("charset=")[1],r=await v.arrayBuffer();try{n=new TextDecoder(e).decode(r)}catch{n=new TextDecoder("utf-8").decode(r)}try{t=JSON.parse(n),this.responseText=JSON.stringify(t,null,2)}catch{this.responseText=n}}else t=await v.json(),this.responseText=JSON.stringify(t,null,2);else RegExp("^font/|tar$|zip$|7z$|rtf$|msword$|excel$|/pdf$|/octet-stream$").test(a)?(this.responseIsBlob=!0,this.responseBlobType="download"):RegExp("^audio|^image|^video").test(a)?(this.responseIsBlob=!0,this.responseBlobType="view"):(n=await v.text(),a.includes("xml")&&(this.responseText=function(e){const t=(new DOMParser).parseFromString(e,"text/xml"),r=(new DOMParser).parseFromString(['<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">\n <xsl:strip-space elements="*"/>\n <xsl:template match="para[content-style][not(text())]">\n <xsl:value-of select="normalize-space(.)"/>\n </xsl:template>\n <xsl:template match="node()|@*">\n <xsl:copy><xsl:apply-templates select="node()|@*"/></xsl:copy>\n </xsl:template>\n <xsl:output indent="yes"/>\n </xsl:stylesheet>'].join("\n"),"application/xml"),n=new XSLTProcessor;n.importStylesheet(r);const o=n.transformToDocument(t);return(new XMLSerializer).serializeToString(o)}(n)),this.responseText=n);if(this.responseIsBlob){const t=v.headers.get("content-disposition");this.respContentDisposition=t?t.split("filename=")[1]:"filename",e=await v.blob(),this.responseBlobUrl=URL.createObjectURL(e)}}else n=await v.text(),this.responseText=n;this.dispatchEvent(new CustomEvent("after-try",{bubbles:!0,composed:!0,detail:{request:b,response:x,responseHeaders:o,responseBody:t||n||e,responseStatus:x.ok}}))}catch(e){r.disabled=!1,this.responseMessage=`${e.message} (CORS or Network Issue)`,document.dispatchEvent(new CustomEvent("after-try",{bubbles:!0,composed:!0,detail:{err:e,request:b,response:x,responseStatus:x.ok}}))}}onAddRemoveFileInput(e,t,r){if("button"!==e.target.tagName.toLowerCase())return;if(e.target.classList.contains("file-input-remove-btn")){return void e.target.closest(".input-set").remove()}const n=e.target.closest(".file-input-container"),o=document.createElement("div");o.setAttribute("class","input-set row");const a=document.createElement("input");a.type="file",a.style="width:200px; margin-top:2px;",a.setAttribute("data-pname",t),a.setAttribute("data-ptype",r.includes("form-urlencode")?"form-urlencode":"form-data"),a.setAttribute("data-array","false"),a.setAttribute("data-file-array","true");const i=document.createElement("button");i.setAttribute("class","file-input-remove-btn"),i.innerHTML="✕",o.appendChild(a),o.appendChild(i),n.insertBefore(o,e.target)}downloadResponseBlob(){if(this.responseBlobUrl){const e=document.createElement("a");document.body.appendChild(e),e.style="display: none",e.href=this.responseBlobUrl,e.download=this.respContentDisposition,e.click(),e.remove()}}viewResponseBlob(){if(this.responseBlobUrl){const e=document.createElement("a");document.body.appendChild(e),e.style="display: none",e.href=this.responseBlobUrl,e.target="_blank",e.click(),e.remove()}}clearResponseData(){this.responseUrl="",this.responseHeaders="",this.responseText="",this.responseStatus="success",this.responseMessage="",this.responseIsBlob=!1,this.responseBlobType="",this.respContentDisposition="",this.responseBlobUrl&&(URL.revokeObjectURL(this.responseBlobUrl),this.responseBlobUrl="")}disconnectedCallback(){this.responseBlobUrl&&(URL.revokeObjectURL(this.responseBlobUrl),this.responseBlobUrl=""),super.disconnectedCallback()}});customElements.define("schema-table",class extends G{static get properties(){return{schemaExpandLevel:{type:Number,attribute:"schema-expand-level"},schemaDescriptionExpanded:{type:String,attribute:"schema-description-expanded"},allowSchemaDescriptionExpandToggle:{type:String,attribute:"allow-schema-description-expand-toggle"},schemaHideReadOnly:{type:String,attribute:"schema-hide-read-only"},schemaHideWriteOnly:{type:String,attribute:"schema-hide-write-only"},data:{type:Object}}}connectedCallback(){super.connectedCallback(),(!this.schemaExpandLevel||this.schemaExpandLevel<1)&&(this.schemaExpandLevel=99999),this.schemaDescriptionExpanded&&"true false".includes(this.schemaDescriptionExpanded)||(this.schemaDescriptionExpanded="false"),this.schemaHideReadOnly&&"true false".includes(this.schemaHideReadOnly)||(this.schemaHideReadOnly="true"),this.schemaHideWriteOnly&&"true false".includes(this.schemaHideWriteOnly)||(this.schemaHideWriteOnly="true")}static get styles(){return[ee,fu,Y`.table{font-size:var(--font-size-small);text-align:left;line-height:calc(var(--font-size-small) + 6px)}.table .tr{width:calc(100% - 5px);padding:0 0 0 5px;border-bottom:1px dotted var(--light-border-color)}.table .td{padding:4px 0}.table .key{width:240px}.key.deprecated .key-label{text-decoration:line-through}.table .key-type{white-space:normal;width:150px}.collapsed-descr .tr{max-height:calc(var(--font-size-small) + var(--font-size-small) + 4px)}.obj-toggle{padding:0 2px;border-radius:2px;border:1px solid transparent;display:inline-block;margin-left:-16px;color:var(--primary-color);cursor:pointer;font-size:calc(var(--font-size-small) + 4px);font-family:var(--font-mono);background-clip:border-box}.obj-toggle:hover{border-color:var(--primary-color)}.tr.expanded+.object-body{display:block}.tr.collapsed+.object-body{display:none}`,ce]}render(){var e,t,r;return I` <div class="table ${"true"===this.schemaDescriptionExpanded?"expanded-descr":"collapsed-descr"}"> <div class="toolbar"> <div class="toolbar-item schema-root-type ${(null===(e=this.data)||void 0===e?void 0:e["::type"])||""}"> ${(null===(t=this.data)||void 0===t?void 0:t["::type"])||""} </div> ${"true"===this.allowSchemaDescriptionExpandToggle?I` <div style="flex:1"></div> <div class="toolbar-item" @click="${()=>{this.schemaDescriptionExpanded="true"===this.schemaDescriptionExpanded?"false":"true"}}"> ${"true"===this.schemaDescriptionExpanded?"Single line description":"Multiline description"} </div> `:""} </div> ${null!==(r=this.data)&&void 0!==r&&r["::description"]?I`<span class="m-markdown"> ${Hc(Z()(this.data["::description"]||""))}</span>`:""} <div style="border:1px solid var(--light-border-color)"> <div style="display:flex;background-color:var(--bg2);padding:8px 4px;border-bottom:1px solid var(--light-border-color)"> <div class="key" style="font-family:var(--font-regular);font-weight:700;color:var(--fg)"> Field </div> <div class="key-type" style="font-family:var(--font-regular);font-weight:700;color:var(--fg)"> Type </div> <div class="key-descr" style="font-family:var(--font-regular);font-weight:700;color:var(--fg)"> Description </div> </div> ${this.data?I` ${this.generateTree("array"===this.data["::type"]?this.data["::props"]:this.data,this.data["::type"])}`:""} </div> </div> `}generateTree(e,t="object",r="",n="",o=0,a=0){var i,s;const l=null!==(i=e["::type"])&&void 0!==i&&i.startsWith("xxx-of")?o:o+1,c="xxx-of-option"===t||"xxx-of-option"===e["::type"]||r.startsWith("::OPTION")?a:a+1,u=16*c;if(!e)return I`<div class="null" style="display:inline">null</div>`;if(0===Object.keys(e).length)return I`<span class="td key object" style="padding-left:${u}px">${r}</span>`;let p="",d="",h=!1;if(r.startsWith("::ONE~OF")||r.startsWith("::ANY~OF"))p=r.replace("::","").replace("~"," "),h=!0;else if(r.startsWith("::OPTION")){const e=r.split("~");p=e[1],d=e[2]}else p=r;let f="";if("object"===e["::type"]?f="array"===t?"array":"object":"array"===e["::type"]&&(f="array"===t?"array of array":"array"),"object"==typeof e)return I` ${l>=0&&r?I` <div class="tr ${l<=this.schemaExpandLevel?"expanded":"collapsed"} ${e["::type"]}" data-obj="${p}"> <div class="td key ${e["::deprecated"]?"deprecated":""}" style="padding-left:${u}px"> ${p||d?I` <span class="obj-toggle ${l<this.schemaExpandLevel?"expanded":"collapsed"}" data-obj="${p}" @click="${e=>this.toggleObjectExpand(e,p)}"> ${o<this.schemaExpandLevel?"-":"+"} </span>`:""} ${"xxx-of-option"===e["::type"]||"xxx-of-array"===e["::type"]||r.startsWith("::OPTION")?I`<span class="xxx-of-key" style="margin-left:-6px">${p}</span><span class="${h?"xxx-of-key":"xxx-of-descr"}">${d}</span>`:p.endsWith("*")?I`<span class="key-label" style="display:inline-block;margin-left:-6px"> ${p.substring(0,p.length-1)}</span><span style="color:var(--red)">*</span>`:I`<span class="key-label" style="display:inline-block;margin-left:-6px">${"::props"===p?"":p}</span>`} ${"xxx-of"===e["::type"]&&"array"===t?I`<span style="color:var(--primary-color)">ARRAY</span>`:""} </div> <div class="td key-type">${(e["::type"]||"").includes("xxx-of")?"":f}</div> <div class="td key-descr m-markdown-small" style="line-height:1.7">${Hc(Z()(n||""))}</div> </div>`:I` ${"array"===e["::type"]&&"array"===t?I`<div class="tr"> <div class="td"> ${t} </div> </div>`:""} `} <div class="object-body"> ${Array.isArray(e)&&e[0]?I`${this.generateTree(e[0],"xxx-of-option","::ARRAY~OF","",l,c)}`:I` ${Object.keys(e).map((t=>I` ${["::description","::type","::props","::deprecated"].includes(t)?"array"===e[t]["::type"]||"object"===e[t]["::type"]?I`${this.generateTree("array"===e[t]["::type"]?e[t]["::props"]:e[t],e[t]["::type"],t,e[t]["::description"],l,c)}`:"":I`${this.generateTree("array"===e[t]["::type"]?e[t]["::props"]:e[t],e[t]["::type"],t,e[t]["::description"],l,c)}`} `))} `} <div> </div></div>`;const[m,g,y,b,v,x,w,k,A]=e.split("~|~");if("ðŸ†"===g&&"true"===this.schemaHideReadOnly)return;if("🆆"===g&&"true"===this.schemaHideWriteOnly)return;const $=m.replace(/┃.*/g,"").replace(/[^a-zA-Z0-9+]/g,"").substring(0,4).toLowerCase();return I` <div class="tr primitive"> <div class="td key ${A}" style="padding-left:${u}px"> ${null!==(s=p)&&void 0!==s&&s.endsWith("*")?I`<span class="key-label">${p.substring(0,p.length-1)}</span><span style="color:var(--red)">*</span>`:r.startsWith("::OPTION")?I`<span class="xxx-of-key">${p}</span><span class="xxx-of-descr">${d}</span>`:I`${p?I`<span class="key-label"> ${p}</span>`:I`<span class="xxx-of-descr">${k}</span>`}`} </div> <div class="td key-type ${$}"> ${"array"===t?`[${m}]`:m} <span style="font-family:var(--font-mono)">${g} </span> </div> <div class="td key-descr"> ${"array"===t?n:""} ${y?I`<div style="display:inline-block;line-break:anywhere;margin-right:8px"> <span class="bold-text">Constraints: </span> ${y}</div>`:""} ${b?I`<div style="display:inline-block;line-break:anywhere;margin-right:8px"> <span class="bold-text">Default: </span>${b}</div>`:""} ${v?I`<div style="display:inline-block;line-break:anywhere;margin-right:8px"> <span class="bold-text">Allowed: </span>${v}</div>`:""} ${x?I`<div style="display:inline-block;line-break:anywhere;margin-right:8px"> <span class="bold-text">Pattern: </span>${x}</div>`:""} ${w?I`<span class="m-markdown-small">${Hc(Z()(w))}</span>`:""} </div> </div> `}toggleObjectExpand(e){const t=e.target.closest(".tr");t.classList.contains("expanded")?(t.classList.add("collapsed"),t.classList.remove("expanded"),e.target.innerText="+"):(t.classList.remove("collapsed"),t.classList.add("expanded"),e.target.innerText="-")}});function mu(e){const t=new(Z().Renderer);return t.heading=(t,r,n,o)=>`<h${r} class="observe-me" id="${e}--${o.slug(n)}">${t}</h${r}>`,t}function gu(e,t=""){var r,n;const o=new Set;for(const t in e.responses)for(const r in null===(a=e.responses[t])||void 0===a?void 0:a.content){var a;o.add(r.trim())}const i=[...o].join(", "),s=this.resolvedSpec.securitySchemes.filter((t=>{var r;return t.finalKeyValue&&(null===(r=e.security)||void 0===r?void 0:r.some((e=>t.apiKeyId in e)))}))||[],l=this.resolvedSpec.securitySchemes.find((e=>e.apiKeyId===pe&&"-"!==e.value));l&&s.push(l);const c=e.xCodeSamples?eu.call(this,e.xCodeSamples):"";return I` ${"read"===this.renderStyle?I`<div class="divider" part="operation-divider"></div>`:""} <div class="expanded-endpoint-body observe-me ${e.method} ${e.deprecated?"deprecated":""}" part="section-operation ${e.elementId}" id="${e.elementId}"> ${"focused"===this.renderStyle&&"General ⦂"!==t?I`<h3 class="upper" style="font-weight:700"> ${t} </h3>`:""} ${e.deprecated?I`<div class="bold-text red-text"> DEPRECATED </div>`:""} ${I` <h2> ${e.shortSummary||`${e.method.toUpperCase()} ${e.path}`}</h2> ${e.isWebhook?I`<span style="color:var(--primary-color);font-weight:700;font-size:var(--font-size-regular)"> WEBHOOK </span>`:I` <div class='mono-font part="section-operation-url" regular-font-size' style="padding:8px 0;color:var(--fg3)"> <span part="label-operation-method" class="regular-font upper method-fg bold-text ${e.method}">${e.method}</span> <span part="label-operation-path">${e.path}</span> </div> `} <slot name="${e.elementId}"></slot>`} ${e.description?I`<div class="m-markdown"> ${Hc(Z()(e.description))}</div>`:""} ${Qc.call(this,e.security)} ${c} <div class="expanded-req-resp-container"> <api-request class="${this.renderStyle}-mode" style="width:100%" method="${e.method}" path="${e.path}" .parameters="${e.parameters}" .request_body="${e.requestBody}" .api_keys="${s}" .servers="${e.servers}" server-url="${(null===(r=e.servers)||void 0===r||null===(n=r[0])||void 0===n?void 0:n.url)||this.selectedServer.computedUrl}" fill-request-fields-with-example="${this.fillRequestFieldsWithExample}" allow-try="${this.allowTry}" accept="${i}" render-style="${this.renderStyle}" schema-style="${this.schemaStyle}" active-schema-tab="${this.defaultSchemaTab}" schema-expand-level="${this.schemaExpandLevel}" schema-description-expanded="${this.schemaDescriptionExpanded}" allow-schema-description-expand-toggle="${this.allowSchemaDescriptionExpandToggle}" schema-hide-read-only="${this.schemaHideReadOnly}" fetch-credentials="${this.fetchCredentials}" exportparts="btn btn-fill btn-outline btn-try"> </api-request> ${e.callbacks?tu.call(this,e.callbacks):""} <api-response class="${this.renderStyle}-mode" style="width:100%" .responses="${e.responses}" render-style="${this.renderStyle}" schema-style="${this.schemaStyle}" active-schema-tab="${this.defaultSchemaTab}" schema-expand-level="${this.schemaExpandLevel}" schema-description-expanded="${this.schemaDescriptionExpanded}" allow-schema-description-expand-toggle="${this.allowSchemaDescriptionExpandToggle}" schema-hide-write-only="${this.schemaHideWriteOnly}" selected-status="${Object.keys(e.responses||{})[0]||""}" exportparts="btn--resp btn-fill--resp btn-outline--resp"> </api-response> </div> </div> `}function yu(){return this.resolvedSpec?I` ${this.resolvedSpec.tags.map((e=>I` <section id="${e.elementId}" part="section-tag" class="regular-font section-gap--read-mode observe-me" style="border-top:1px solid var(--primary-color)"> <div class="title tag" part="label-tag-title">${e.name}</div> <slot name="${e.elementId}"></slot> <div class="regular-font-size"> ${Hc(`\n <div class="m-markdown regular-font">\n ${Z()(e.description||"","true"===this.infoDescriptionHeadingsInNavBar?{renderer:mu(e.elementId)}:void 0)}\n </div>`)} </div> </section> <section class="regular-font section-gap--read-mode" part="section-operations-in-tag"> ${e.paths.map((e=>gu.call(this,e,"BBB")))} </section> `))} `:""}function bu(e){return I` <div class="divider"></div> <div class="expanded-endpoint-body observe-me ${e.name}" id="cmp--${e.id}"> ${I` <h1> ${e.name} </h1> ${e.component?I` <div class="mono-font regular-font-size" style="padding:8px 0;color:var(--fg2)"> <json-tree class="border tree" render-style="${this.renderStyle}" .data="${e.component}"> </json-tree> </div>`:""} `} </div> `}function vu(){return this.resolvedSpec?I` ${this.resolvedSpec.components.map((e=>I` <div id="cmp--${e.name.toLowerCase()}" class="regular-font section-gap--read-mode observe-me" style="border-top:1px solid var(--primary-color)"> <div class="title tag">${e.name}</div> <div class="regular-font-size"> ${Hc(`<div class='m-markdown regular-font'>${Z()(e.description?e.description:"")}</div>`)} </div> </div> <div class="regular-font section-gap--read-mode"> ${e.subComponents.map((e=>bu.call(this,e)))} </div> `))} `:""}function xu(){const e=new(Z().Renderer);return e.heading=(e,t,r,n)=>`<h${t} class="observe-me" id="overview--${n.slug(r)}">${e}</h${t}>`,e}function wu(){var e,t,r;return I` <section id="overview" part="section-overview" class="observe-me ${"view"===this.renderStyle?"section-gap":"section-gap--read-mode"}"> ${null!==(e=this.resolvedSpec)&&void 0!==e&&e.info?I` <div id="api-title" part="label-overview-title" style="font-size:32px"> ${this.resolvedSpec.info.title} ${this.resolvedSpec.info.version?I` <span style="font-size:var(--font-size-small);font-weight:700"> ${this.resolvedSpec.info.version} </span>`:""} </div> <div id="api-info" style="font-size:calc(var(--font-size-regular) - 1px);margin-top:8px"> ${null!==(t=this.resolvedSpec.info.contact)&&void 0!==t&&t.email?I`<span>${this.resolvedSpec.info.contact.name||"Email"}: <a href="mailto:${this.resolvedSpec.info.contact.email}" part="anchor anchor-overview">${this.resolvedSpec.info.contact.email}</a> </span>`:""} ${null!==(r=this.resolvedSpec.info.contact)&&void 0!==r&&r.url?I`<span>URL: <a href="${this.resolvedSpec.info.contact.url}" part="anchor anchor-overview">${this.resolvedSpec.info.contact.url}</a></span>`:""} ${this.resolvedSpec.info.license?I`<span>License: ${this.resolvedSpec.info.license.url?I`<a href="${this.resolvedSpec.info.license.url}" part="anchor anchor-overview">${this.resolvedSpec.info.license.name}</a>`:this.resolvedSpec.info.license.name} </span>`:""} ${this.resolvedSpec.info.termsOfService?I`<span><a href="${this.resolvedSpec.info.termsOfService}" part="anchor anchor-overview">Terms of Service</a></span>`:""} </div> <slot name="overview"></slot> <div id="api-description"> ${this.resolvedSpec.info.description?I`${Hc(`\n <div class="m-markdown regular-font">\n ${Z()(this.resolvedSpec.info.description,"true"===this.infoDescriptionHeadingsInNavBar?{renderer:xu()}:void 0)}\n </div>`)}`:""} </div> `:""} </section> `}function ku(e,t){e&&e.target.checked&&(this.selectedServer=t,this.requestUpdate())}function Au(e,t){const r=[...e.currentTarget.closest("table").querySelectorAll("input, select")];let n=t.url;r.forEach((e=>{const t=new RegExp(`{${e.dataset.var}}`,"g");n=n.replace(t,e.value)})),t.computedUrl=n,this.requestUpdate()}function $u(){return this.selectedServer&&this.selectedServer.variables?I` <div class="table-title"> SERVER VARIABLES</div> <table class="m-table"> ${Object.entries(this.selectedServer.variables).map((e=>I` <tr> <td style="vertical-align:middle">${e[0]}</td> <td> ${e[1].enum?I` <select data-var="${e[0]}" @input="${e=>{Au.call(this,e,this.selectedServer)}}"> ${Object.entries(e[1].enum).map((t=>e[1].default===t[1]?I` <option selected="selected" label="${t[1]}" value="${t[1]}">`:I` <option label="${t[1]}" value="${t[1]}">`))} </select>`:I` <input type="text" part="textbox textbox-server-var" spellcheck="false" data-var="${e[0]}" value="${e[1].default}" @input="${e=>{Au.call(this,e,this.selectedServer)}}">`} </td> </tr> ${e[1].description?I`<tr><td colspan="2" style="border:none"><span class="m-markdown-small"> ${Hc(Z()(e[1].description))} </span></td></tr>`:""} `))} </table> `:""}function Eu(){var e,t,r;return this.resolvedSpec?I` <section id="servers" part="section-servers" style="margin-top:24px;margin-bottom:24px" class="regular-font observe-me ${"read focused".includes(this.renderStyle)?"section-gap--read-mode":"section-gap"}"> <div class="sub-title">API SERVER</div> <div class="mono-font" style="margin:12px 0;font-size:calc(var(--font-size-small) + 1px)"> ${0===(null===(e=this.resolvedSpec.servers)||void 0===e?void 0:e.length)?"":I` ${null===(t=this.resolvedSpec)||void 0===t?void 0:t.servers.map(((e,t)=>I` <input type="radio" name="api_server" id="srvr-opt-${t}" value="${e.url}" @change="${t=>{ku.call(this,t,e)}}" .checked="${this.selectedServer.url===e.url}" style="margin:4px 0;cursor:pointer"> <label style="cursor:pointer" for="srvr-opt-${t}"> ${e.url} ${e.description?I`- <span class="regular-font">${e.description} </span>`:""} </label> <br> `))} `} <div class="table-title primary-text" part="label-selected-server"> SELECTED: ${null===(r=this.selectedServer)||void 0===r?void 0:r.computedUrl}</div> </div> <slot name="servers"></slot> ${$u.call(this)} </section>`:""}function Su(e,t="toggle"){const r=null==e?void 0:e.closest(".nav-bar-tag-and-paths");if(r){const e=r.classList.contains("expanded");!e||"toggle"!==t&&"collapse"!==t?e||"toggle"!==t&&"expand"!==t||r.classList.replace("collapsed","expanded"):r.classList.replace("expanded","collapsed")}}function Du(e){Su(e.target,"toggle")}function Ou(e,t="expand-all"){!function(e,t="expand-all"){const r=[...e.querySelectorAll(".nav-bar-tag-and-paths")];"expand-all"===t?r.map((e=>{e.classList.replace("collapsed","expanded")})):r.map((e=>{e.classList.replace("expanded","collapsed")}))}(e.target.closest(".nav-scroll"),t)}function Cu(){return I` <nav class="nav-bar ${this.renderStyle}" part="section-navbar"> <div style="padding:16px 30px 0 16px"> <slot name="nav-logo" class="logo"></slot> </div> ${"false"===this.allowSearch&&"false"===this.allowAdvancedSearch?"":I` <div style="display:flex;flex-direction:row;justify-content:center;align-items:center;padding:24px;${"false"===this.allowAdvancedSearch?"border-bottom: 1px solid var(--nav-hover-bg-color)":""}"> ${"false"===this.allowSearch?"":I` <div style="display:flex;flex:1;line-height:22px"> <input id="nav-bar-search" part="textbox textbox-nav-filter" style="width:100%;padding-right:20px;color:var(--nav-hover-text-color);border-color:var(--nav-accent-color);background-color:var(--nav-hover-bg-color)" type="text" placeholder="Filter" @change="${this.onSearchChange}" spellcheck="false"> <div style="margin:6px 5px 0 -24px;font-size:var(--font-size-regular);cursor:pointer">↩</div> </div> ${this.matchPaths?I` <div @click="${this.onClearSearch}" style="margin-left:5px;cursor:pointer;align-self:center;color:var(--nav-text-color)" class="small-font-size primary-text bold-text"> CLEAR </div>`:""} `} ${"false"===this.allowAdvancedSearch||this.matchPaths?"":I` <button class="m-btn primary" part="btn btn-fill btn-search" style="margin-left:5px" @click="${this.onShowSearchModalClicked}"> Search </button> `} </div> `} ${I`<nav class="nav-scroll"> ${"false"!==this.showInfo&&this.resolvedSpec.info?I` ${"true"===this.infoDescriptionHeadingsInNavBar?I` ${this.resolvedSpec.infoDescriptionHeaders.length>0?I`<div class="nav-bar-info" id="link-overview" data-content-id="overview" @click="${e=>this.scrollToEventTarget(e,!1)}"> Overview </div>`:""} <div class="overview-headers"> ${this.resolvedSpec.infoDescriptionHeaders.map((e=>I` <div class="nav-bar-h${e.depth}" id="link-overview--${(new(Z().Slugger)).slug(e.text)}" data-content-id="overview--${(new(Z().Slugger)).slug(e.text)}" @click="${e=>this.scrollToEventTarget(e,!1)}"> ${e.text} </div>`))} </div> ${this.resolvedSpec.infoDescriptionHeaders.length>0?I`<hr style="border-top:1px solid var(--nav-hover-bg-color);border-width:1px 0 0 0;margin:15px 0 0 0">`:""} `:I`<div class="nav-bar-info" id="link-overview" data-content-id="overview" @click="${e=>this.scrollToEventTarget(e,!1)}"> Overview </div>`} `:""} ${"false"===this.allowServerSelection?"":I`<div class="nav-bar-info" id="link-servers" data-content-id="servers" @click="${e=>this.scrollToEventTarget(e,!1)}"> API Servers </div>`} ${"false"!==this.allowAuthentication&&this.resolvedSpec.securitySchemes?I`<div class="nav-bar-info" id="link-auth" data-content-id="auth" @click="${e=>this.scrollToEventTarget(e,!1)}"> Authentication </div>`:""} <div id="link-paths" class="nav-bar-section"> <div style="font-size:16px;display:flex;margin-left:10px"> ${"focused"===this.renderStyle?I` <div @click="${e=>{Ou.call(this,e,"expand-all")}}" title="Expand all" style="transform:rotate(90deg);cursor:pointer;margin-right:10px">â–¸</div> <div @click="${e=>{Ou.call(this,e,"collapse-all")}}" title="Collapse all" style="transform:rotate(270deg);cursor:pointer">â–¸</div>`:""} </div> <div class="nav-bar-section-title"> OPERATIONS </div> </div> ${this.resolvedSpec.tags.filter((e=>e.paths.filter((e=>fe(this.matchPaths,e))).length)).map((e=>I` <div class="nav-bar-tag-and-paths ${e.expanded?"expanded":"collapsed"}"> ${"General ⦂"===e.name?I`<hr style="border:none;border-top:1px dotted var(--nav-text-color);opacity:.4;margin-top:-1px">`:I` <div class="nav-bar-tag" id="link-${e.elementId}" data-content-id="${e.elementId}" data-first-path-id="${e.firstPathId}" @click="${e=>{"focused"===this.renderStyle&&"expand-collapse"===this.onNavTagClick?Du.call(this,e):this.scrollToEventTarget(e,!1)}}"> <div>${e.name}</div> <div class="nav-bar-tag-icon" @click="${e=>{"focused"===this.renderStyle&&"show-description"===this.onNavTagClick&&Du.call(this,e)}}"> </div> </div> `} ${"true"===this.infoDescriptionHeadingsInNavBar?I` ${"focused"===this.renderStyle&&"expand-collapse"===this.onNavTagClick?"":I` <div class="tag-headers"> ${e.headers.map((t=>I` <div class="nav-bar-h${t.depth}" id="link-${e.elementId}--${(new(Z().Slugger)).slug(t.text)}" data-content-id="${e.elementId}--${(new(Z().Slugger)).slug(t.text)}" @click="${e=>this.scrollToEventTarget(e,!1)}"> ${t.text}</div>`))} </div>`}`:""} <div class="nav-bar-paths-under-tag"> ${e.paths.filter((e=>!this.matchPaths||fe(this.matchPaths,e))).map((e=>I` <div class="nav-bar-path ${"true"===this.usePathInNavBar?"small-font":""}" data-content-id="${e.elementId}" id="link-${e.elementId}" @click="${e=>{this.scrollToEventTarget(e,!1)}}"> <span style="${e.deprecated?"filter:opacity(0.5)":""}"> ${e.isWebhook?I`<span style="font-weight:700;margin-right:8px;font-size:calc(var(--font-size-small) - 2px)">WEBHOOK</span>`:""} ${"true"===this.usePathInNavBar?I`<span class="mono-font">${e.method.toUpperCase()} ${e.path}</span>`:e.summary||e.shortSummary} </span> </div>`))} </div> </div> `))} ${this.resolvedSpec.components&&"true"===this.showComponents?I` <div id="link-components" class="nav-bar-section"> <div></div> <div class="nav-bar-section-title">COMPONENTS</div> </div> ${this.resolvedSpec.components.map((e=>e.subComponents.length?I` <div class="nav-bar-tag" data-content-id="cmp--${e.name.toLowerCase()}" id="link-cmp--${e.name.toLowerCase()}" @click="${e=>this.scrollToEventTarget(e,!1)}"> ${e.name} </div> ${e.subComponents.map((e=>I` <div class="nav-bar-path" data-content-id="cmp--${e.id}" id="link-cmp--${e.id}" @click="${e=>this.scrollToEventTarget(e,!1)}"> <span> ${e.name} </span> </div>`))}`:""))}`:""} </nav>`} </nav> `}function _u(e){const t=new(Z().Renderer);return t.heading=(t,r,n,o)=>`<h${r} class="observe-me" id="${e}--${o.slug(n)}">${t}</h${r}>`,t}function ju(e){return I` <div class="regular-font section-gap--focused-mode" part="section-operations-in-tag"> ${e} </div>`}function Tu(){var e;if("true"===this.showInfo)return ju(wu.call(this));const t=this.resolvedSpec.tags[0],r=null===(e=this.resolvedSpec.tags[0])||void 0===e?void 0:e.paths[0];return ju(t&&r?gu.call(this,r,t.name):"")}function Fu(e){return I` <h1 id="${e.elementId}">${e.name}</h1> ${"show-description"===this.onNavTagClick&&e.description?I` <div class="m-markdown"> ${Hc(`\n <div class="m-markdown regular-font">\n ${Z()(e.description||"","true"===this.infoDescriptionHeadingsInNavBar?{renderer:_u(e.elementId)}:void 0)}\n </div>`)} </div>`:""} `}function Pu(){if(!this.focusedElementId||!this.resolvedSpec)return;const e=this.focusedElementId;let t,r=null,n=null,o=0;if(e.startsWith("overview")&&"true"===this.showInfo)t=wu.call(this);else if("auth"===e&&"true"===this.allowAuthentication)t=Xc.call(this);else if("servers"===e&&"true"===this.allowServerSelection)t=Eu.call(this);else if(e.startsWith("cmp--")&&"true"===this.showComponents)t=vu.call(this);else if(e.startsWith("tag--")){const r=e.indexOf("--",4)>0?e.substring(0,e.indexOf("--",5)):e;n=this.resolvedSpec.tags.find((e=>e.elementId===r)),t=n?ju.call(this,Fu.call(this,n)):Tu.call(this)}else{for(o=0;o<this.resolvedSpec.tags.length&&(n=this.resolvedSpec.tags[o],r=this.resolvedSpec.tags[o].paths.find((t=>`${t.elementId}`===e)),!r);o+=1);if(r){Su(this.shadowRoot.getElementById(`link-${e}`),"expand"),t=ju.call(this,gu.call(this,r,n.name))}else t=Tu.call(this)}return t}function Bu(e){if(e.expanded)e.expanded=!1,window.history.replaceState(null,null,`${window.location.href.split("#")[0]}`);else{e.expanded=!0;const t=`#${e.elementId}`;window.location.hash!==t&&window.history.replaceState(null,null,`${window.location.href.split("#")[0]}${t}`)}this.requestUpdate()}function Iu(e,t="expand-all"){const r=[...e.querySelectorAll(".section-tag")];"expand-all"===t?r.map((e=>{e.classList.replace("collapsed","expanded")})):r.map((e=>{e.classList.replace("expanded","collapsed")}))}function Ru(e,t="expand-all"){Iu.call(this,e.target.closest(".operations-root"),t)}function Nu(e){return I` <summary @click="${t=>{Bu.call(this,e,t)}}" class="endpoint-head ${e.method} ${e.deprecated?"deprecated":""} ${e.expanded?"expanded":"collapsed"}"> <div class="method ${e.method} ${e.deprecated?"deprecated":""}"> ${e.method} </div> <div class="path ${e.deprecated?"deprecated":""}"> ${e.path} ${e.isWebhook?I`<span style="font-family:var(--font-regular);font-size:var(--);font-size:var(--font-size-small);color:var(--primary-color);margin-left:16px"> Webhook</span>`:""} </div> ${e.deprecated?I` <span style="font-size:var(--font-size-small);text-transform:uppercase;font-weight:700;color:var(--red);margin:2px 0 0 5px"> deprecated </span>`:""} <div class="only-large-screen" style="min-width:60px;flex:1"></div> <div class="descr">${e.summary||e.shortSummary} </div> </summary> `}function Lu(e){const t=new Set;for(const n in e.responses)for(const o in null===(r=e.responses[n])||void 0===r?void 0:r.content){var r;t.add(o.trim())}const n=[...t].join(", "),o=this.resolvedSpec.securitySchemes.filter((t=>{var r;return t.finalKeyValue&&(null===(r=e.security)||void 0===r?void 0:r.some((e=>t.apiKeyId in e)))}))||[],a=this.resolvedSpec.securitySchemes.find((e=>e.apiKeyId===pe&&"-"!==e.value));a&&o.push(a);const i=e.xCodeSamples?eu(e.xCodeSamples):"";return I` <div class="endpoint-body ${e.method} ${e.deprecated?"deprecated":""}"> <slot name="${e.elementId}"></slot> <div class="summary"> ${e.summary?I`<div class="title">${e.summary}<div></div></div>`:e.shortSummary!==e.description?I`<div class="title">${e.shortSummary}</div>`:""} ${e.description?I`<div class="m-markdown"> ${Hc(Z()(e.description))}</div>`:""} ${Qc.call(this,e.security)} ${i} </div> <div class="req-resp-container"> <api-request class="${this.renderStyle}-mode" style="width:100%" method="${e.method}" , path="${e.path}" .parameters="${e.parameters}" .request_body="${e.requestBody}" .api_keys="${o}" .servers="${e.servers}" server-url="${e.servers&&e.servers.length>0?e.servers[0].url:this.selectedServer.computedUrl}" active-schema-tab="${this.defaultSchemaTab}" fill-request-fields-with-example="${this.fillRequestFieldsWithExample}" allow-try="${this.allowTry}" accept="${n}" render-style="${this.renderStyle}" schema-style="${this.schemaStyle}" schema-expand-level="${this.schemaExpandLevel}" schema-description-expanded="${this.schemaDescriptionExpanded}" allow-schema-description-expand-toggle="${this.allowSchemaDescriptionExpandToggle}" schema-hide-read-only="${this.schemaHideReadOnly}" fetch-credentials="${this.fetchCredentials}" exportparts="btn btn-fill btn-outline btn-try"> ${e.callbacks?tu.call(this,e.callbacks):""} </api-request> <api-response class="${this.renderStyle}-mode" style="width:100%" .responses="${e.responses}" active-schema-tab="${this.defaultSchemaTab}" render-style="${this.renderStyle}" schema-style="${this.schemaStyle}" schema-expand-level="${this.schemaExpandLevel}" schema-description-expanded="${this.schemaDescriptionExpanded}" allow-schema-description-expand-toggle="${this.allowSchemaDescriptionExpandToggle}" schema-hide-write-only="${this.schemaHideWriteOnly}" selected-status="${Object.keys(e.responses||{})[0]||""}" exportparts="btn--resp btn-fill--resp btn-outline--resp"> </api-response> </div> </div>`}function qu(){return this.resolvedSpec?I` <div style="display:flex;justify-content:flex-end"> <span @click="${e=>Ru(e,"expand-all")}" style="color:var(--primary-color);cursor:pointer"> Expand all </span> | <span @click="${e=>Ru(e,"collapse-all")}" style="color:var(--primary-color);cursor:pointer"> Collapse all </span> sections </div> ${this.resolvedSpec.tags.map((e=>I` <div class="regular-font section-gap section-tag ${e.expanded?"expanded":"collapsed"}"> <div class="section-tag-header" @click="${()=>{e.expanded=!e.expanded,this.requestUpdate()}}"> <div id="${e.elementId}" class="sub-title tag" style="color:var(--primary-color)">${e.name}</div> </div> <div class="section-tag-body"> <slot name="${e.elementId}"></slot> <div class="regular-font regular-font-size m-markdown" style="padding-bottom:12px"> ${Hc(Z()(e.description||""))} </div> ${e.paths.filter((e=>!this.matchPaths||fe(this.matchPaths,e))).map((e=>I` <section id="${e.elementId}" class="m-endpoint regular-font ${e.method} ${e.expanded?"expanded":"collapsed"}"> ${Nu.call(this,e)} ${e.expanded?Lu.call(this,e):""} </section>`))} </div> </div> `))}`:""}function zu(){return I` <header class="row header regular-font" part="section-header" style="padding:8px 4px 8px 4px;min-height:48px"> <div class="only-large-screen-flex" style="align-items:center"> <slot name="logo" class="logo" part="section-logo"> ${e="height:36px;width:36px;margin-left:5px",I` <div style="${e}"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="1 0 511 512"> <path d="M351 411a202 202 0 01-350 0 203 203 0 01333-24 203 203 0 0117 24zm0 0" fill="#adc165"/> <path d="M334 387a202 202 0 01-216-69 202 202 0 01216 69zm78 32H85a8 8 0 01-8-8 8 8 0 018-8h327a8 8 0 017 8 8 8 0 01-7 8zm0 0" fill="#99aa52"/> <path d="M374 338l-5 30a202 202 0 01-248-248 203 203 0 01253 218zm0 0" fill="#ffc73b"/> <path d="M374 338a202 202 0 01-100-197 203 203 0 01100 197zm38 81l-6-2-231-231a8 8 0 0111-11l231 230a8 8 0 01-5 14zm0 0" fill="#efb025"/> <path d="M311 175c0 75 40 140 101 175a202 202 0 000-350 202 202 0 00-101 175zm0 0" fill="#ff903e"/> <path d="M412 419a8 8 0 01-8-8V85a8 8 0 0115 0v326a8 8 0 01-7 8zm0 0" fill="#e87425"/> </svg> </div> `} </slot> <div class="header-title" part="label-header-title">${this.headingText}</div> </div> <div style="margin:0 8px;display:flex;flex:1"> ${"false"===this.allowSpecUrlLoad?"":I` <input id="spec-url" type="text" style="font-size:var(--font-size-small)" class="header-input mono-font" part="textbox textbox-spec-url" placeholder="Spec URL" value="${this.specUrl||""}" @change="${this.onSepcUrlChange}" spellcheck="false"> <div style="margin:6px 5px 0 -24px;font-size:var(--font-size-regular);cursor:pointer">↩</div> `} ${"false"===this.allowSpecFileLoad?"":I` <input id="spec-file" part="file-input" type="file" style="display:none" value="${this.specFile||""}" @change="${this.onSepcFileChange}" spellcheck="false"> <button class="m-btn primary only-large-screen" style="margin-left:10px" part="btn btn-fill" @click="${this.onFileLoadClick}"> LOCAL JSON FILE </button> `} <slot name="header"></slot> ${"false"===this.allowSearch||"read focused".includes(this.renderStyle)?"":I` <input id="search" class="header-input" type="text" part="textbox textbox-header-filter" placeholder="Filter" @change="${this.onSearchChange}" style="max-width:130px;margin-left:10px" spellcheck="false"> <div style="margin:6px 5px 0 -24px;font-size:var(--font-size-regular);cursor:pointer">↩</div> `} ${"false"===this.allowSearch||"false"===this.allowAdvancedSearch||"read focused".includes(this.renderStyle)?"":I` <button class="m-btn primary only-large-screen" part="btn btn-fill btn-search" style="margin-left:10px" @click="${this.onShowSearchModalClicked}"> Search </button> `} </div> </header>`;var e}customElements.define("api-response",class extends G{constructor(){super(),this.selectedStatus="",this.headersForEachRespStatus={},this.mimeResponsesForEachStatus={},this.activeSchemaTab="schema"}static get properties(){return{callback:{type:String},responses:{type:Object},parser:{type:Object},schemaStyle:{type:String,attribute:"schema-style"},renderStyle:{type:String,attribute:"render-style"},selectedStatus:{type:String,attribute:"selected-status"},selectedMimeType:{type:String,attribute:"selected-mime-type"},activeSchemaTab:{type:String,attribute:"active-schema-tab"},schemaExpandLevel:{type:Number,attribute:"schema-expand-level"},schemaDescriptionExpanded:{type:String,attribute:"schema-description-expanded"},allowSchemaDescriptionExpandToggle:{type:String,attribute:"allow-schema-description-expand-toggle"},schemaHideWriteOnly:{type:String,attribute:"schema-hide-write-only"}}}static get styles(){return[ee,re,ie,ne,te,ru,Y`.resp-head{vertical-align:middle;padding:16px 0 8px}.resp-head.divider{border-top:1px solid var(--border-color);margin-top:10px}.resp-status{font-weight:700;font-size:calc(var(--font-size-small) + 1px)}.resp-descr{font-size:calc(var(--font-size-small) + 1px);color:var(--light-fg)}.top-gap{margin-top:16px}.example-panel{font-size:var(--font-size-small);margin:0}.focused-mode,.read-mode{padding-top:24px;margin-top:12px;border-top:1px dashed var(--border-color)}`,ce]}render(){return I` <div class="col regular-font response-panel ${this.renderStyle}-mode"> <div class="${"true"===this.callback?"tiny-title":"req-res-title"}"> ${"true"===this.callback?"CALLBACK RESPONSE":"RESPONSE"} </div> <div> ${this.responseTemplate()} <div> </div> </div></div>`}resetSelection(){this.selectedStatus="",this.selectedMimeType=""}responseTemplate(){if(!this.responses)return"";for(const n in this.responses){this.selectedStatus||(this.selectedStatus=n);const o={};for(const r in null===(e=this.responses[n])||void 0===e?void 0:e.content){var e,t;const a=this.responses[n].content[r];this.selectedMimeType||(this.selectedMimeType=r);const i=du(a.schema,{}),s=hu(a.examples,a.example,a.schema,r,!0,!1,r.includes("json")?"json":"text");o[r]={description:this.responses[n].description,examples:s,selectedExample:(null===(t=s[0])||void 0===t?void 0:t.exampleId)||"",schemaTree:i}}const a=[];for(const e in null===(r=this.responses[n])||void 0===r?void 0:r.headers){var r;a.push({name:e,...this.responses[n].headers[e]})}this.headersForEachRespStatus[n]=a,this.mimeResponsesForEachStatus[n]=o}return I` ${Object.keys(this.responses).length>1?I`<div class="row" style="flex-wrap:wrap"> ${Object.keys(this.responses).map((e=>I` ${"$$ref"===e?"":I` <button @click="${()=>{this.selectedStatus=e,this.responses[e].content&&Object.keys(this.responses[e].content)[0]?this.selectedMimeType=Object.keys(this.responses[e].content)[0]:this.selectedMimeType=void 0}}" class="m-btn small ${this.selectedStatus===e?"primary":""}" part="btn--resp ${this.selectedStatus===e?"btn-fill--resp":"btn-outline--resp"} btn-response-status" style="margin:8px 4px 0 0"> ${e} </button>`}`))}</div>`:I`<span>${Object.keys(this.responses)[0]}</span>`} ${Object.keys(this.responses).map((e=>{var t,r;return I` <div style="display:${e===this.selectedStatus?"block":"none"}"> <div class="top-gap"> <span class="resp-descr m-markdown">${Hc(Z()((null===(t=this.responses[e])||void 0===t?void 0:t.description)||""))}</span> ${this.headersForEachRespStatus[e]&&(null===(r=this.headersForEachRespStatus[e])||void 0===r?void 0:r.length)>0?I`${this.responseHeaderListTemplate(this.headersForEachRespStatus[e])}`:""} </div> ${0===Object.keys(this.mimeResponsesForEachStatus[e]).length?"":I` <div class="tab-panel col"> <div class="tab-buttons row" @click="${e=>{"button"===e.target.tagName.toLowerCase()&&(this.activeSchemaTab=e.target.dataset.tab)}}"> <button class="tab-btn ${"schema"===this.activeSchemaTab?"active":""}" data-tab="schema">SCHEMA</button> <button class="tab-btn ${"example"===this.activeSchemaTab?"active":""}" data-tab="example">EXAMPLE </button> <div style="flex:1"></div> ${1===Object.keys(this.mimeResponsesForEachStatus[e]).length?I`<span class="small-font-size gray-text" style="align-self:center;margin-top:8px"> ${Object.keys(this.mimeResponsesForEachStatus[e])[0]} </span>`:I`${this.mimeTypeDropdownTemplate(Object.keys(this.mimeResponsesForEachStatus[e]))}`} </div> ${"example"===this.activeSchemaTab?I`<div class="tab-content col" style="flex:1"> ${this.mimeExampleTemplate(this.mimeResponsesForEachStatus[e][this.selectedMimeType])} </div>`:I`<div class="tab-content col" style="flex:1"> ${this.mimeSchemaTemplate(this.mimeResponsesForEachStatus[e][this.selectedMimeType])} </div>`} </div> `}</div>`}))} `}responseHeaderListTemplate(e){return I` <div style="padding:16px 0 8px 0" class="resp-headers small-font-size bold-text">RESPONSE HEADERS</div> <table style="border-collapse:collapse;margin-bottom:16px;border:1px solid var(--border-color);border-radius:var(--border-radius)" class="small-font-size mono-font"> ${e.map((e=>I` <tr> <td style="padding:8px;vertical-align:baseline;min-width:120px;border-top:1px solid var(--light-border-color);text-overflow:ellipsis"> ${e.name||""} </td> <td style="padding:4px;vertical-align:baseline;padding:0 5px;border-top:1px solid var(--light-border-color);text-overflow:ellipsis"> ${e.schema.type||""} </td> <td style="padding:8px;vertical-align:baseline;border-top:1px solid var(--light-border-color);text-overflow:ellipsis"> <div class="m-markdown-small regular-font">${Hc(Z()(e.description||""))}</div> </td> <td style="padding:8px;vertical-align:baseline;border-top:1px solid var(--light-border-color);text-overflow:ellipsis"> ${e.schema.example||""} </td> </tr> `))} </table>`}mimeTypeDropdownTemplate(e){return I` <select @change="${e=>{this.selectedMimeType=e.target.value}}" style="margin-bottom:-1px;z-index:1"> ${e.map((e=>I`<option value="${e}" ?selected="${e===this.selectedMimeType}"> ${e} </option>`))} </select>`}onSelectExample(e){[...e.target.closest(".example-panel").querySelectorAll(".example")].forEach((t=>{t.style.display=t.dataset.example===e.target.value?"block":"none"}))}mimeExampleTemplate(e){return e?I` ${1===e.examples.length?I` ${"json"===e.examples[0].exampleFormat?I` <json-tree render-style="${this.renderStyle}" .data="${e.examples[0].exampleValue}" class="example-panel ${"read"===this.renderStyle?"border pad-8-16":"border-top pad-top-8"}"></json-tree>`:I` <pre class="example-panel ${"read"===this.renderStyle?"border pad-8-16":"border-top pad-top-8"}">${e.examples[0].exampleValue}</pre> `}`:I` <span class="example-panel ${"read"===this.renderStyle?"border pad-8-16":"border-top pad-top-8"}"> <select style="min-width:100px;max-width:100%" @change="${e=>this.onSelectExample(e)}"> ${e.examples.map((t=>I`<option value="${t.exampleId}" ?selected="${t.exampleId===e.selectedExample}"> ${t.exampleSummary.length>80?t.exampleId:t.exampleSummary} </option>`))} </select> ${e.examples.map((t=>I` <div class="example" data-example="${t.exampleId}" style="display:${t.exampleId===e.selectedExample?"block":"none"}"> ${t.exampleSummary&&t.exampleSummary.length>80?I`<div style="padding:4px 0"> ${t.exampleSummary} </div>`:""} ${t.exampleDescription?I`<div class="m-markdown-small" style="padding:4px 0"> ${Hc(Z()(t.exampleDescription||""))} </div>`:""} ${"json"===t.exampleFormat?I` <json-tree render-style="${this.renderStyle}" .data="${t.exampleValue}"></json-tree>`:I`<pre>${t.exampleValue}</pre>`} </div> `))} </span> `} `:I` <pre style="color:var(--red)" class="${"read"===this.renderStyle?"read example-panel border pad-8-16":"example-panel border-top"}"> No example provided </pre> `}mimeSchemaTemplate(e){return e?I` ${"table"===this.schemaStyle?I` <schema-table render-style="${this.renderStyle}" .data="${e.schemaTree}" schema-expand-level="${this.schemaExpandLevel}" schema-description-expanded="${this.schemaDescriptionExpanded}" allow-schema-description-expand-toggle="${this.allowSchemaDescriptionExpandToggle}" , schema-hide-read-only="false" schema-hide-write-only="${this.schemaHideWriteOnly}"> </schema-table>`:I` <schema-tree render-style="${this.renderStyle}" .data="${e.schemaTree}" schema-expand-level="${this.schemaExpandLevel}" schema-description-expanded="${this.schemaDescriptionExpanded}" allow-schema-description-expand-toggle="${this.allowSchemaDescriptionExpandToggle}" , schema-hide-read-only="false" schema-hide-write-only="${this.schemaHideWriteOnly}"> </schema-tree>`}`:I` <pre style="color:var(--red)" class="${"read"===this.renderStyle?"border pad-8-16":"border-top"}"> Schema not found</pre> `}});const Uu=Y`*,:after,:before{box-sizing:border-box}.dialog-box-overlay{background-color:var(--overlay-bg);position:fixed;left:0;top:0;width:100vw;height:100vh;overflow:hidden;z-index:var(--dialog-z-index)}.dialog-box{position:fixed;top:100px;left:50%;transform:translate(-50%,0);display:flex;flex-direction:column;width:70vw;background-color:var(--bg2);color:var(--fg2);border-radius:4px;max-height:500px;overflow:hidden;border:1px solid var(--border-color);box-shadow:0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.dialog-box-header{position:sticky;top:0;align-self:stretch;display:flex;align-items:center;padding:0 16px;min-height:60px;max-height:60px;border-bottom:1px solid var(--light-border-color);overflow:hidden}.dialog-box-header button{font-size:1.5rem;font-weight:700;line-height:1;color:var(--fg);border:none;outline:0;background-color:transparent;cursor:pointer;border:1px solid transparent;border-radius:50%;margin-right:-8px}.dialog-box-header button:hover{border-color:var(--primary-color)}.dialog-box-content{padding:16px;display:block;overflow:auto;height:100%}.dialog-box-title{flex-grow:1;font-size:24px}`;function Mu(){var e;return document.addEventListener("close",(()=>{this.showAdvancedSearchDialog=!1})),document.addEventListener("open",this.onOpenSearchDialog),I` <dialog-box heading="Advanced Search" show="${!!this.showAdvancedSearchDialog}"> <span class="advanced-search-options"> <input style="width:100%;padding-right:20px" type="text" part="textbox textbox-search-dialog" placeholder="search text..." spellcheck="false" @keyup="${e=>this.onAdvancedSearch(e,400)}"> <div style="display:flex;margin:8px 0 24px"> <div> <input style="cursor:pointer" type="checkbox" part="checkbox checkbox-search-dialog" id="search-api-path" checked="checked" @change="${e=>this.onAdvancedSearch(e,0)}"> <label for="search-api-path" style="cursor:pointer"> API Path </label> </div> <div style="margin-left:16px"> <input style="cursor:pointer" type="checkbox" part="checkbox checkbox-search-dialog" id="search-api-descr" checked="checked" @change="${e=>this.onAdvancedSearch(e,0)}"> <label style="cursor:pointer" for="search-api-descr"> API Description </label> </div> <div style="margin-left:16px"> <input style="cursor:pointer" type="checkbox" part="checkbox checkbox-search-dialog" id="search-api-params" @change="${e=>this.onAdvancedSearch(e,0)}"> <label style="cursor:pointer" for="search-api-params"> API Parameters </label> </div> <div style="margin-left:16px"> <input style="cursor:pointer" type="checkbox" part="checkbox checkbox-search-dialog" id="search-api-request-body" @change="${e=>this.onAdvancedSearch(e,0)}"> <label style="cursor:pointer" for="search-api-request-body"> Request Body Parameters </label> </div> <div style="margin-left:16px"> <input style="cursor:pointer" type="checkbox" part="checkbox checkbox-search-dialog" id="search-api-resp-descr" @change="${e=>this.onAdvancedSearch(e,0)}"> <label style="cursor:pointer" for="search-api-resp-descr"> Response Description </label> </div> </div> </span> ${null===(e=this.advancedSearchMatches)||void 0===e?void 0:e.map((e=>I` <div class="mono-font small-font-size hover-bg" style="padding:5px;cursor:pointer;border-bottom:1px solid var(--light-border-color);${e.deprecated?"filter:opacity(0.5);":""}" data-content-id="${e.elementId}" tabindex="0" @click="${e=>{this.matchPaths="",this.showAdvancedSearchDialog=!1,this.requestUpdate(),this.scrollToEventTarget(e,!0)}}"> <span class="upper bold-text method-fg ${e.method}">${e.method}</span> <span>${e.path}</span> <span class="regular-font gray-text">${e.summary}</span> </div> `))} </dialog-box> `}customElements.define("dialog-box",class extends G{static get properties(){return{heading:{type:String,attribute:"heading"},show:{type:String,attribute:"show"}}}static get styles(){return[Uu]}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",(e=>{"Escape"===e.code&&this.onClose()}))}attributeChangedCallback(e,t,r){t!==r&&("heading"===e&&(this.heading=r),"show"===e&&(this.show=r,"true"===r&&document.dispatchEvent(new CustomEvent("open",{bubbles:!0,composed:!0,detail:this})))),super.attributeChangedCallback(e,t,r)}render(){return I` ${"true"===this.show?I` <div class="dialog-box-overlay"> <div class="dialog-box"> <header class="dialog-box-header"> <span class="dialog-box-title">${this.heading}</span> <button type="button" @click="${this.onClose}">×</button> </header> <div class="dialog-box-content"> <slot></slot> </div> </div> </div>`:""}`}onClose(){document.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}});const Hu={color:{inputReverseFg:"#fff",inputReverseBg:"#333",headerBg:"#444",getRgb(e){if(0===e.indexOf("#")&&(e=e.slice(1,7)),3!==e.length&&4!==e.length||(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),6!==e.length)throw new Error("Invalid HEX color.");return{r:parseInt(e.slice(0,2),16),g:parseInt(e.slice(2,4),16),b:parseInt(e.slice(4,6),16)}},luminanace(e){const t=this.getRgb(e);return.299*t.r+.587*t.g+.114*t.b},invert(e){return this.luminanace(e)>135?"#000":"#fff"},opacity(e,t){const r=this.getRgb(e);return`rgba(${r.r}, ${r.g}, ${r.b}, ${t})`},brightness(e,t){const r=this.getRgb(e);return r.r+=t,r.g+=t,r.b+=t,r.r>255?r.r=255:r.r<0&&(r.r=0),r.g>255?r.g=255:r.g<0&&(r.g=0),r.b>255?r.b=255:r.b<0&&(r.b=0),`#${r.r.toString(16).padStart(2,"0")}${r.g.toString(16).padStart(2,"0")}${r.b.toString(16).padStart(2,"0")}`},hasGoodContrast(e,t){return this.luminanace(e)-this.luminanace(t)}}};function Vu(e){return/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3}|[A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/i.test(e)}function Wu(e,t={}){let r={};const n=t.primaryColor?t.primaryColor:"dark"===e?"#f76b39":"#ff591e",o=Hu.color.invert(n),a=Hu.color.opacity(n,"0.8");if("dark"===e){const e=t.bg1?t.bg1:"#333",i=t.fg1?t.fg1:"#bbb",s=t.bg2?t.bg2:Hu.color.brightness(e,5),l=t.bg3?t.bg3:Hu.color.brightness(e,17),c=t.bg3?t.bg3:Hu.color.brightness(e,35),u=t.fg2?t.fg2:Hu.color.brightness(i,-15),p=t.fg3?t.fg3:Hu.color.brightness(i,-20),d=t.fg3?t.fg3:Hu.color.brightness(i,-65),h=t.inlineCodeFg?t.inlineCodeFg:"#aaa",f="#bbb",m="#eee",g=t.headerColor?t.headerColor:Hu.color.brightness(e,10),y=t.navBgColor?t.navBgColor:Hu.color.brightness(e,10);r={bg1:e,bg2:s,bg3:l,lightBg:c,fg1:i,fg2:u,fg3:p,lightFg:d,inlineCodeFg:h,primaryColor:n,primaryColorTrans:a,primaryColorInvert:o,selectionBg:f,selectionFg:m,overlayBg:"rgba(80, 80, 80, 0.4)",navBgColor:y,navTextColor:t.navTextColor?t.navTextColor:Hu.color.opacity(Hu.color.invert(y),"0.65"),navHoverBgColor:t.navHoverBgColor?t.navHoverBgColor:Hu.color.brightness(y,-15),navHoverTextColor:t.navHoverTextColor?t.navHoverTextColor:Hu.color.invert(y),navAccentColor:t.navAccentColor?t.navAccentColor:Hu.color.brightness(n,25),headerColor:g,headerColorInvert:Hu.color.invert(g),headerColorDarker:Hu.color.brightness(g,-20),headerColorBorder:Hu.color.brightness(g,10),borderColor:t.borderColor||Hu.color.brightness(e,20),lightBorderColor:t.lightBorderColor||Hu.color.brightness(e,15),codeBorderColor:t.codeBorderColor||Hu.color.brightness(e,30),inputBg:t.inputBg||Hu.color.brightness(e,-5),placeHolder:t.placeHolder||Hu.color.opacity(i,"0.3"),hoverColor:t.hoverColor||Hu.color.brightness(e,-10),red:t.red?t.red:"#F06560",lightRed:t.lightRed?t.lightRed:Hu.color.brightness(e,-10),pink:t.pink?t.pink:"#ffb2b2",lightPink:t.lightPink||Hu.color.brightness(e,-10),green:t.green||"#7ec699",lightGreen:t.lightGreen||Hu.color.brightness(e,-10),blue:t.blue||"#71b7ff",lightBlue:t.lightBlue||Hu.color.brightness(e,-10),orange:t.orange?t.orange:"#f08d49",lightOrange:t.lightOrange||Hu.color.brightness(e,-10),yellow:t.yellow||"#827717",lightYellow:t.lightYellow||Hu.color.brightness(e,-10),purple:t.purple||"#786FF1",brown:t.brown||"#D4AC0D",codeBg:t.codeBg||Hu.color.opacity(Hu.color.brightness(e,-15),.7),codeFg:t.codeFg||"#aaa",codePropertyColor:t.codePropertyColor||"#f8c555",codeKeywordColor:t.codeKeywordColor||"#cc99cd",codeOperatorColor:t.codeOperatorColor||"#67cdcc"}}else{const e=t.bg1?t.bg1:"#ffffff",i=t.fg1?t.fg1:"#444444",s=t.bg2?t.bg2:Hu.color.brightness(e,-5),l=t.bg3?t.bg3:Hu.color.brightness(e,-15),c=t.bg3?t.bg3:Hu.color.brightness(e,-45),u=t.fg2?t.fg2:Hu.color.brightness(i,17),p=t.fg3?t.fg3:Hu.color.brightness(i,30),d=t.fg3?t.fg3:Hu.color.brightness(i,70),h=t.inlineCodeFg?t.inlineCodeFg:"brown",f="#444",m="#eee",g=t.headerColor?t.headerColor:Hu.color.brightness(e,-180),y=t.navBgColor?t.navBgColor:Hu.color.brightness(e,-180);r={bg1:e,bg2:s,bg3:l,lightBg:c,fg1:i,fg2:u,fg3:p,lightFg:d,inlineCodeFg:h,primaryColor:n,primaryColorTrans:a,primaryColorInvert:o,selectionBg:f,selectionFg:m,overlayBg:"rgba(0, 0, 0, 0.4)",navBgColor:y,navTextColor:t.navTextColor?t.navTextColor:Hu.color.opacity(Hu.color.invert(y),"0.65"),navHoverBgColor:t.navHoverBgColor?t.navHoverBgColor:Hu.color.brightness(y,-15),navHoverTextColor:t.navHoverTextColor?t.navHoverTextColor:Hu.color.invert(y),navAccentColor:t.navAccentColor?t.navAccentColor:Hu.color.brightness(n,25),headerColor:g,headerColorInvert:Hu.color.invert(g),headerColorDarker:Hu.color.brightness(g,-20),headerColorBorder:Hu.color.brightness(g,10),borderColor:t.borderColor||Hu.color.brightness(e,-38),lightBorderColor:t.lightBorderColor||Hu.color.brightness(e,-23),codeBorderColor:t.codeBorderColor||"transparent",inputBg:t.inputBg||Hu.color.brightness(e,10),placeHolder:t.placeHolder||Hu.color.brightness(d,20),hoverColor:t.hoverColor||Hu.color.brightness(e,-5),red:t.red||"#F06560",lightRed:t.lightRed||"#fff0f0",pink:t.pink?t.pink:"#990055",lightPink:t.lightPink?t.lightPink:"#ffb2b2",green:t.green||"#690",lightGreen:t.lightGreen||"#fbfff0",blue:t.blue||"#47AFE8",lightBlue:t.lightBlue||"#eff8fd",orange:t.orange||"#FF9900",lightOrange:t.lightOrange||"#fff5e6",yellow:t.yellow||"#827717",lightYellow:t.lightYellow||"#fff5cc",purple:t.purple||"#786FF1",brown:t.brown||"#D4AC0D",codeBg:t.codeBg||Hu.color.opacity(Hu.color.brightness(e,-15),.7),codeFg:t.codeFg||"#666",codePropertyColor:t.codePropertyColor||"#905",codeKeywordColor:t.codeKeywordColor||"#07a",codeOperatorColor:t.codeOperatorColor||"#9a6e3a"}}return I` <style>*,:after,:before{box-sizing:border-box}:host{--border-radius:2px;--layout:${this.layout||"row"};--font-mono:${this.monoFont||'Monaco, "Andale Mono", "Roboto Mono", Consolas, monospace'};--font-regular:${this.regularFont||'"Open Sans", Avenir, "Segoe UI", Arial, sans-serif'};--nav-item-padding:${"relaxed"===this.navItemSpacing?"10px":"compact"===this.navItemSpacing?"5px 10px":"7px 10px"};--resp-area-height:${this.responseAreaHeight};--font-size-small:${"default"===this.fontSize?"12px":"large"===this.fontSize?"13px":"14px"};--font-size-mono:${"default"===this.fontSize?"13px":"large"===this.fontSize?"14px":"15px"};--font-size-regular:${"default"===this.fontSize?"14px":"large"===this.fontSize?"15px":"16px"};--dialog-z-index:1000;--bg:${r.bg1};--bg2:${r.bg2};--bg3:${r.bg3};--light-bg:${r.lightBg};--fg:${r.fg1};--fg2:${r.fg2};--fg3:${r.fg3};--light-fg:${r.lightFg};--selection-bg:${r.selectionBg};--selection-fg:${r.selectionFg};--overlay-bg:${r.overlayBg};--border-color:${r.borderColor};--light-border-color:${r.lightBorderColor};--code-border-color:${r.codeBorderColor};--input-bg:${r.inputBg};--placeholder-color:${r.placeHolder};--hover-color:${r.hoverColor};--red:${r.red};--light-red:${r.lightRed};--pink:${r.pink};--light-pink:${r.lightPink};--green:${r.green};--light-green:${r.lightGreen};--blue:${r.blue};--light-blue:${r.lightBlue};--orange:${r.orange};--light-orange:${r.lightOrange};--yellow:${r.yellow};--light-yellow:${r.lightYellow};--purple:${r.purple};--brown:${r.brown};--header-bg:${r.headerColor};--header-fg:${r.headerColorInvert};--header-color-darker:${r.headerColorDarker};--header-color-border:${r.headerColorBorder};--nav-bg-color:${r.navBgColor};--nav-text-color:${r.navTextColor};--nav-hover-bg-color:${r.navHoverBgColor};--nav-hover-text-color:${r.navHoverTextColor};--nav-accent-color:${r.navAccentColor};--primary-color:${r.primaryColor};--primary-color-invert:${r.primaryColorInvert};--primary-color-trans:${r.primaryColorTrans};--code-bg:${r.codeBg};--code-fg:${r.codeFg};--inline-code-fg:${r.inlineCodeFg};--code-property-color:${r.codePropertyColor};--code-keyword-color:${r.codeKeywordColor};--code-operator-color:${r.codeOperatorColor}}</style>`}function Yu(){if(!this.resolvedSpec)return"";const e={bg1:Vu(this.bgColor)?this.bgColor:"",fg1:Vu(this.textColor)?this.textColor:"",headerColor:Vu(this.headerColor)?this.headerColor:"",primaryColor:Vu(this.primaryColor)?this.primaryColor:"",navBgColor:Vu(this.navBgColor)?this.navBgColor:"",navTextColor:Vu(this.navTextColor)?this.navTextColor:"",navHoverBgColor:Vu(this.navHoverBgColor)?this.navHoverBgColor:"",navHoverTextColor:Vu(this.navHoverTextColor)?this.navHoverTextColor:"",navAccentColor:Vu(this.navAccentColor)?this.navAccentColor:""};return I` ${"dark"===this.theme?Wu.call(this,"dark",e):Wu.call(this,"light",e)} ${"false"===this.showHeader?"":zu.call(this)} ${"false"===this.allowAdvancedSearch?"":Mu.call(this)} <div id="the-main-body" class="body"> ${"read"!==this.renderStyle&&"focused"!==this.renderStyle||"true"!==this.showSideNav||!this.resolvedSpec?"":Cu.call(this)} <main class="main-content regular-font" part="section-main-content"> <slot></slot> <div class="main-content-inner--${this.renderStyle}-mode"> ${!0===this.loading?I`<div class="loader"></div>`:I` ${!0===this.loadFailed?I`<div style="text-align:center;margin:16px"> Unable to load the Spec</div>`:I` <div class="operations-root" @click="${e=>{this.handleHref(e)}}"> ${"focused"===this.renderStyle?I`${Pu.call(this)}`:I` ${"true"===this.showInfo?wu.call(this):""} ${"true"===this.allowServerSelection?Eu.call(this):""} ${"true"===this.allowAuthentication?Xc.call(this):""} ${"read"===this.renderStyle?yu.call(this):qu.call(this)} `} </div> `}`} </div> <slot name="footer"></slot> </main> </div> `}class Ku extends G{constructor(){super();const e={root:this.getRootNode().host,rootMargin:"-50px 0px -50px 0px",threshold:0};this.isIntersectionObserverActive=!0,this.intersectionObserver=new IntersectionObserver((e=>{this.onIntersect(e)}),e)}static get properties(){return{headingText:{type:String,attribute:"heading-text"},gotoPath:{type:String,attribute:"goto-path"},specUrl:{type:String,attribute:"spec-url"},sortTags:{type:String,attribute:"sort-tags"},generateMissingTags:{type:String,attribute:"generate-missing-tags"},sortEndpointsBy:{type:String,attribute:"sort-endpoints-by"},specFile:{type:String,attribute:!1},layout:{type:String},renderStyle:{type:String,attribute:"render-style"},defaultSchemaTab:{type:String,attribute:"default-schema-tab"},responseAreaHeight:{type:String,attribute:"response-area-height"},fillRequestFieldsWithExample:{type:String,attribute:"fill-request-fields-with-example"},onNavTagClick:{type:String,attribute:"on-nav-tag-click"},schemaStyle:{type:String,attribute:"schema-style"},schemaExpandLevel:{type:Number,attribute:"schema-expand-level"},schemaDescriptionExpanded:{type:String,attribute:"schema-description-expanded"},schemaHideReadOnly:{type:String,attribute:"schema-hide-read-only"},schemaHideWriteOnly:{type:String,attribute:"schema-hide-write-only"},apiKeyName:{type:String,attribute:"api-key-name"},apiKeyLocation:{type:String,attribute:"api-key-location"},apiKeyValue:{type:String,attribute:"api-key-value"},defaultApiServerUrl:{type:String,attribute:"default-api-server"},serverUrl:{type:String,attribute:"server-url"},oauthReceiver:{type:String,attribute:"oauth-receiver"},showHeader:{type:String,attribute:"show-header"},showSideNav:{type:String,attribute:"show-side-nav"},showInfo:{type:String,attribute:"show-info"},allowAuthentication:{type:String,attribute:"allow-authentication"},allowTry:{type:String,attribute:"allow-try"},allowSpecUrlLoad:{type:String,attribute:"allow-spec-url-load"},allowSpecFileLoad:{type:String,attribute:"allow-spec-file-load"},allowSearch:{type:String,attribute:"allow-search"},allowAdvancedSearch:{type:String,attribute:"allow-advanced-search"},allowServerSelection:{type:String,attribute:"allow-server-selection"},allowSchemaDescriptionExpandToggle:{type:String,attribute:"allow-schema-description-expand-toggle"},showComponents:{type:String,attribute:"show-components"},theme:{type:String},bgColor:{type:String,attribute:"bg-color"},textColor:{type:String,attribute:"text-color"},headerColor:{type:String,attribute:"header-color"},primaryColor:{type:String,attribute:"primary-color"},fontSize:{type:String,attribute:"font-size"},regularFont:{type:String,attribute:"regular-font"},monoFont:{type:String,attribute:"mono-font"},loadFonts:{type:String,attribute:"load-fonts"},navBgColor:{type:String,attribute:"nav-bg-color"},navTextColor:{type:String,attribute:"nav-text-color"},navHoverBgColor:{type:String,attribute:"nav-hover-bg-color"},navHoverTextColor:{type:String,attribute:"nav-hover-text-color"},navAccentColor:{type:String,attribute:"nav-accent-color"},navItemSpacing:{type:String,attribute:"nav-item-spacing"},usePathInNavBar:{type:String,attribute:"use-path-in-nav-bar"},infoDescriptionHeadingsInNavBar:{type:String,attribute:"info-description-headings-in-navbar"},fetchCredentials:{type:String,attribute:"fetch-credentials"},matchPaths:{type:String,attribute:"match-paths"},loading:{type:Boolean},focusedElementId:{type:String},showAdvancedSearchDialog:{type:Boolean},advancedSearchMatches:{type:Object}}}static get styles(){return[ee,te,re,ne,oe,ae,ie,se,le,Y`:host{display:flex;flex-direction:column;min-width:360px;width:100%;height:100%;margin:0;padding:0;overflow:hidden;letter-spacing:normal;color:var(--fg);background-color:var(--bg);font-family:var(--font-regular)}.body{display:flex;height:100%;width:100%;overflow:hidden}.main-content{margin:0;padding:0;display:block;flex:1;height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--border-color) transparent}.main-content-inner--view-mode{padding:0 8px}.main-content::-webkit-scrollbar{width:8px;height:8px}.main-content::-webkit-scrollbar-track{background:0 0}.main-content::-webkit-scrollbar-thumb{background-color:var(--border-color)}.section-gap.section-tag{border-bottom:1px solid var(--border-color)}.section-gap,.section-gap--focused-mode,.section-gap--read-mode{padding:0 4px}.section-tag-header{position:relative;cursor:n-resize;padding:12px 0}.collapsed .section-tag-header:hover{cursor:s-resize}.section-tag-header:hover{background-image:linear-gradient(to right,rgba(0,0,0,0),var(--border-color),rgba(0,0,0,0))}.section-tag-header:hover::after{position:absolute;margin-left:-24px;font-size:20px;top:calc(50% - 14px);color:var(--primary-color);content:'⬆'}.collapsed .section-tag-header::after{position:absolute;margin-left:-24px;font-size:20px;top:calc(50% - 14px);color:var(--border-color);content:'⬇'}.collapsed .section-tag-header:hover::after{color:var(--primary-color)}.collapsed .section-tag-body{display:none}.logo{height:36px;width:36px;margin-left:5px}.only-large-screen,.only-large-screen-flex{display:none}.header-title{font-size:calc(var(--font-size-regular) + 8px);padding:0 8px}.tag.title{text-transform:uppercase}.header{background-color:var(--header-bg);color:var(--header-fg);width:100%}input.header-input{background:var(--header-color-darker);color:var(--header-fg);border:1px solid var(--header-color-border);flex:1;padding-right:24px;border-radius:3px}input.header-input::placeholder{opacity:.4}.loader{margin:16px auto 16px auto;border:4px solid var(--bg3);border-radius:50%;border-top:4px solid var(--primary-color);width:36px;height:36px;animation:spin 2s linear infinite}.expanded-endpoint-body{position:relative;padding:6px 0}.expanded-endpoint-body.deprecated{filter:opacity(.6)}.divider{border-top:2px solid var(--border-color);margin:24px 0;width:100%}.tooltip{cursor:pointer;border:1px solid var(--border-color);border-left-width:4px;margin-left:2px}.tooltip a{color:var(--fg2);text-decoration:none}.tooltip-text{color:var(--fg2);max-width:400px;position:absolute;z-index:1;background-color:var(--bg2);visibility:hidden;overflow-wrap:break-word}.tooltip:hover{color:var(--primary-color);border-color:var(--primary-color)}.tooltip:hover a:hover{color:var(--primary-color)}.tooltip:hover .tooltip-text{visibility:visible}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@media only screen and (min-width:768px){.nav-bar{width:260px;display:flex}.only-large-screen{display:block}.only-large-screen-flex{display:flex}.section-gap{padding:0 0 0 24px}.section-gap--focused-mode{padding:24px 8px}.section-gap--read-mode{padding:24px 8px}.endpoint-body{position:relative;padding:36px 0 48px 0}}@media only screen and (min-width:1024px){.nav-bar{width:${W("default"===this.fontSize?"300px":"large"===this.fontSize?"315px":"330px")};display:flex}.section-gap--focused-mode{padding:12px 80px 12px 80px}.section-gap--read-mode{padding:24px 80px 12px 80px}}`,ce]}connectedCallback(){super.connectedCallback();const e=this.parentElement;if(e&&(0===e.offsetWidth&&""===e.style.width&&(e.style.width="100vw"),0===e.offsetHeight&&""===e.style.height&&(e.style.height="100vh"),"BODY"===e.tagName&&(e.style.marginTop||(e.style.marginTop="0"),e.style.marginRight||(e.style.marginRight="0"),e.style.marginBottom||(e.style.marginBottom="0"),e.style.marginLeft||(e.style.marginLeft="0"))),"false"!==this.loadFonts){const e={family:"Open Sans",style:"normal",weight:"300",unicodeRange:"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD"},t=new FontFace("Open Sans","url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UN_r8OUuhpKKSTjw.woff2) format('woff2')",e);e.weight="600";const r=new FontFace("Open Sans","url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UNirkOUuhpKKSTjw.woff2) format('woff2')",e);t.load().then((e=>{document.fonts.add(e)})),r.load().then((e=>{document.fonts.add(e)}))}this.renderStyle&&"read, view, focused,".includes(`${this.renderStyle},`)||(this.renderStyle="read"),this.schemaStyle&&"tree, table,".includes(`${this.schemaStyle},`)||(this.schemaStyle="tree"),this.theme&&"light, dark,".includes(`${this.theme},`)||(this.theme=window.matchMedia&&window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"),this.defaultSchemaTab&&"example, schema, model,".includes(`${this.defaultSchemaTab},`)?"model"===this.defaultSchemaTab&&(this.defaultSchemaTab="schema"):this.defaultSchemaTab="schema",(!this.schemaExpandLevel||this.schemaExpandLevel<1)&&(this.schemaExpandLevel=99999),this.schemaDescriptionExpanded&&"true, false,".includes(`${this.schemaDescriptionExpanded},`)||(this.schemaDescriptionExpanded="false");const t=["post","put","patch"];this.schemaHideReadOnly?"never"!==this.schemaHideReadOnly&&(this.schemaHideReadOnly=t.filter((e=>this.schemaHideReadOnly.includes(e))),0===this.schemaHideReadOnly.length&&(this.schemaHideReadOnly=t)):this.schemaHideReadOnly=t,this.schemaHideReadOnly+=["get","head","delete","options"],this.schemaHideWriteOnly="never"!==this.schemaHideWriteOnly,this.fillRequestFieldsWithExample&&"true, false,".includes(`${this.fillRequestFieldsWithExample},`)||(this.fillRequestFieldsWithExample="true"),this.onNavTagClick&&"expand-collapse, show-description,".includes(`${this.onNavTagClick},`)||(this.onNavTagClick="expand-collapse"),this.responseAreaHeight||(this.responseAreaHeight="300px"),this.allowSearch&&"true, false,".includes(`${this.allowSearch},`)||(this.allowSearch="true"),this.allowAdvancedSearch&&"true, false,".includes(`${this.allowAdvancedSearch},`)||(this.allowAdvancedSearch="true"),this.allowTry&&"true, false,".includes(`${this.allowTry},`)||(this.allowTry="true"),this.apiKeyValue||(this.apiKeyValue="-"),this.apiKeyLocation||(this.apiKeyLocation="header"),this.apiKeyName||(this.apiKeyName=""),this.oauthReceiver||(this.oauthReceiver="oauth-receiver.html"),this.sortTags&&"true, false,".includes(`${this.sortTags},`)||(this.sortTags="false"),this.generateMissingTags&&"true, false,".includes(`${this.generateMissingTags},`)||(this.generateMissingTags="false"),this.sortEndpointsBy&&"method, path, summary,".includes(`${this.sortEndpointsBy},`)||(this.sortEndpointsBy="path"),this.navItemSpacing&&"compact, relaxed, default,".includes(`${this.navItemSpacing},`)||(this.navItemSpacing="default"),this.usePathInNavBar&&"true, false,".includes(`${this.usePathInNavBar},`)||(this.usePathInNavBar="false"),this.fontSize&&"default, large, largest,".includes(`${this.fontSize},`)||(this.fontSize="default"),this.showInfo&&"true, false,".includes(`${this.showInfo},`)||(this.showInfo="true"),this.allowServerSelection&&"true, false,".includes(`${this.allowServerSelection},`)||(this.allowServerSelection="true"),this.allowAuthentication&&"true, false,".includes(`${this.allowAuthentication},`)||(this.allowAuthentication="true"),this.allowSchemaDescriptionExpandToggle&&"true, false,".includes(`${this.allowSchemaDescriptionExpandToggle},`)||(this.allowSchemaDescriptionExpandToggle="true"),this.showSideNav&&"true false".includes(this.showSideNav)||(this.showSideNav="true"),this.showComponents&&"true false".includes(this.showComponents)||(this.showComponents="false"),this.infoDescriptionHeadingsInNavBar&&"true, false,".includes(`${this.infoDescriptionHeadingsInNavBar},`)||(this.infoDescriptionHeadingsInNavBar="false"),this.fetchCredentials&&"omit, same-origin, include,".includes(`${this.fetchCredentials},`)||(this.fetchCredentials=""),this.showAdvancedSearchDialog||(this.showAdvancedSearchDialog=!1),Z().setOptions({highlight:(e,t)=>Q().languages[t]?Q().highlight(e,Q().languages[t],t):e}),window.addEventListener("hashchange",(()=>{this.scrollTo(window.location.hash.substring(1))}),!0)}disconnectedCallback(){this.intersectionObserver&&this.intersectionObserver.disconnect(),super.disconnectedCallback()}infoDescriptionHeadingRenderer(){const e=new(Z().Renderer);return e.heading=(e,t,r,n)=>`<h${t} class="observe-me" id="${n.slug(r)}">${e}</h${t}>`,e}render(){return Yu.call(this)}observeExpandedContent(){this.shadowRoot.querySelectorAll(".observe-me").forEach((e=>{this.intersectionObserver.observe(e)}))}attributeChangedCallback(e,t,r){if("spec-url"===e&&t!==r&&window.setTimeout((async()=>{await this.loadSpec(r),this.gotoPath&&!window.location.hash&&this.scrollTo(this.gotoPath)}),0),"render-style"===e&&("read"===r?window.setTimeout((()=>{this.observeExpandedContent()}),100):this.intersectionObserver.disconnect()),"api-key-name"===e||"api-key-location"===e||"api-key-value"===e){let t=!1,n="",o="",a="";if("api-key-name"===e?this.getAttribute("api-key-location")&&this.getAttribute("api-key-value")&&(n=r,o=this.getAttribute("api-key-location"),a=this.getAttribute("api-key-value"),t=!0):"api-key-location"===e?this.getAttribute("api-key-name")&&this.getAttribute("api-key-value")&&(o=r,n=this.getAttribute("api-key-name"),a=this.getAttribute("api-key-value"),t=!0):"api-key-value"===e&&this.getAttribute("api-key-name")&&this.getAttribute("api-key-location")&&(a=r,o=this.getAttribute("api-key-location"),n=this.getAttribute("api-key-name"),t=!0),t&&this.resolvedSpec){const e=this.resolvedSpec.securitySchemes.find((e=>e.apiKeyId===pe));e?(e.name=n,e.in=o,e.value=a,e.finalKeyValue=a):this.resolvedSpec.securitySchemes.push({apiKeyId:pe,description:"api-key provided in rapidoc element attributes",type:"apiKey",name:n,in:o,value:a,finalKeyValue:a}),this.requestUpdate()}}super.attributeChangedCallback(e,t,r)}onSepcUrlChange(){this.setAttribute("spec-url",this.shadowRoot.getElementById("spec-url").value)}onSepcFileChange(e){this.setAttribute("spec-file",this.shadowRoot.getElementById("spec-file").value);const t=e.target.files[0],r=new FileReader;r.onload=()=>{try{const e=JSON.parse(r.result);this.loadSpec(e),this.shadowRoot.getElementById("spec-url").value=""}catch(e){console.error("RapiDoc: Unable to read or parse json")}},r.readAsText(t)}onFileLoadClick(){this.shadowRoot.getElementById("spec-file").click()}onSearchChange(e){this.matchPaths=e.target.value,this.resolvedSpec.tags.forEach((e=>e.paths.filter((t=>{this.matchPaths&&fe(this.matchPaths,t)&&(e.expanded=!0)})))),this.requestUpdate()}onClearSearch(){this.shadowRoot.getElementById("nav-bar-search").value="",this.matchPaths=""}onShowSearchModalClicked(){this.showAdvancedSearchDialog=!0}async onOpenSearchDialog(e){const t=e.detail.querySelector("input");await de(0),t&&t.focus()}async loadSpec(e){if(e){this.matchPaths="";try{this.resolvedSpec=null,this.loading=!0,this.loadFailed=!1;const t=await zc.call(this,e,"true"===this.generateMissingTags,"true"===this.sortTags,this.getAttribute("sort-endpoints-by"),this.getAttribute("api-key-name"),this.getAttribute("api-key-location"),this.getAttribute("api-key-value"),this.getAttribute("server-url"));this.loading=!1,null==t&&console.error("Unable to resolve the API spec. "),this.afterSpecParsedAndValidated(t)}catch(e){this.loading=!1,this.loadFailed=!0,this.resolvedSpec=null,console.error(`RapiDoc: Unable to resolve the API spec.. ${e.message}`)}}}async afterSpecParsedAndValidated(e){var t;this.resolvedSpec=e,this.defaultApiServerUrl&&(this.defaultApiServerUrl===this.serverUrl?this.selectedServer={url:this.serverUrl,computedUrl:this.serverUrl}:this.resolvedSpec.servers&&(this.selectedServer=this.resolvedSpec.servers.find((e=>e.url===this.defaultApiServerUrl)))),this.selectedServer||this.resolvedSpec.servers&&(this.selectedServer=this.resolvedSpec.servers[0]),this.requestUpdate();const r=new CustomEvent("spec-loaded",{detail:e});this.dispatchEvent(r),this.intersectionObserver.disconnect(),"read"===this.renderStyle&&(await de(100),this.observeExpandedContent());const n=null===(t=window.location.hash)||void 0===t?void 0:t.substring(1);if(n)"view"===this.renderStyle?this.expandAndGotoOperation(n,!0,!0):"focused"===this.renderStyle&&this.scrollTo(n);else if("focused"===this.renderStyle){var o;const e=this.showInfo?"overview":null===(o=this.resolvedSpec.tags[0])||void 0===o?void 0:o.paths[0];this.scrollTo(e)}}expandAndGotoOperation(e,t=!0){if(!this.resolvedSpec)return;let r=!0;const n=-1===e.indexOf("#")?e:e.substring(1);if(n.startsWith("overview")||"servers"===n||"auth"===n)r=!1;else for(let t=0;t<(null===(o=this.resolvedSpec.tags)||void 0===o?void 0:o.length);t++){var o,a;const n=this.resolvedSpec.tags[t],i=null===(a=n.paths)||void 0===a?void 0:a.find((t=>t.elementId===e));i&&(i.expanded&&n.expanded?r=!1:(i.expanded=!0,n.expanded=!0))}t&&(r&&this.requestUpdate(),window.setTimeout((()=>{const e=this.shadowRoot.getElementById(n);e&&(e.scrollIntoView({behavior:"auto",block:"start"}),window.history.replaceState(null,null,`#${n}`))}),r?150:0))}isValidTopId(e){return e.startsWith("overview")||"servers"===e||"auth"===e}isValidPathId(e){var t,r,n,o;return!("overview"!==e||!this.showInfo)||(!("servers"!==e||!this.allowServerSelection)||(!("auth"!==e||!this.allowAuthentication)||(e.startsWith("tag--")?null===(n=this.resolvedSpec)||void 0===n||null===(o=n.tags)||void 0===o?void 0:o.find((t=>t.elementId===e)):null===(t=this.resolvedSpec)||void 0===t||null===(r=t.tags)||void 0===r?void 0:r.find((t=>t.paths.find((t=>t.elementId===e)))))))}onIntersect(e){!1!==this.isIntersectionObserverActive&&e.forEach((e=>{if(e.isIntersecting&&e.intersectionRatio>0){const t=this.shadowRoot.querySelector(".nav-bar-tag.active, .nav-bar-path.active, .nav-bar-info.active, .nav-bar-h1.active, .nav-bar-h2.active"),r=this.shadowRoot.getElementById(`link-${e.target.id}`);r&&(window.history.replaceState(null,null,`${window.location.href.split("#")[0]}#${e.target.id}`),r.scrollIntoView({behavior:"auto",block:"center"}),r.classList.add("active")),t&&t.classList.remove("active")}}))}handleHref(e){if("a"===e.target.tagName.toLowerCase()&&e.target.getAttribute("href").startsWith("#")){const t=this.shadowRoot.getElementById(e.target.getAttribute("href").replace("#",""));t&&t.scrollIntoView({behavior:"auto",block:"start"})}}async scrollToEventTarget(e,t=!0){const r=e.currentTarget;r.dataset.contentId&&(this.isIntersectionObserverActive=!1,this.scrollTo(r.dataset.contentId,!0,t),setTimeout((()=>{this.isIntersectionObserverActive=!0}),300))}async scrollTo(e,t=!0,r=!0){if("focused"===this.renderStyle&&(this.focusedElementId=e,await de(0)),"view"===this.renderStyle)this.expandAndGotoOperation(e,t,!0);else{let t=!1;const n=this.shadowRoot.getElementById(e);if(n?(t=!0,("read"===this.renderStyle||e.startsWith("overview")||e.startsWith("tag--"))&&n.scrollIntoView({behavior:"auto",block:"start"})):t=!1,t){if("focused"===this.renderStyle){const e=this.shadowRoot.querySelector("api-request");e&&e.resetRequestBodySelection();const t=this.shadowRoot.querySelector("api-response");t&&t.resetSelection()}window.history.replaceState(null,null,`#${e}`);const t=this.shadowRoot.getElementById(`link-${e}`);if(t){r&&t.scrollIntoView({behavior:"auto",block:"center"}),await de(0);const e=this.shadowRoot.querySelector(".nav-bar-tag.active, .nav-bar-path.active, .nav-bar-info.active, .nav-bar-h1.active, .nav-bar-h2.active");e&&e.classList.remove("active"),t.classList.add("active")}}}}onAdvancedSearch(e,t){const r=e.target;clearTimeout(this.timeoutId),this.timeoutId=setTimeout((()=>{let e;e="text"===r.type?r:r.closest(".advanced-search-options").querySelector("input[type=text]");const t=[...r.closest(".advanced-search-options").querySelectorAll("input:checked")].map((e=>e.id));this.advancedSearchMatches=function(e,t,r=[]){if(!e.trim()||0===r.length)return;const n=[];return t.forEach((t=>{t.paths.forEach((t=>{let o="";var a;if(r.includes("search-api-path")&&(o=t.path),r.includes("search-api-descr")&&(o=`${o} ${t.summary||t.description||""}`),r.includes("search-api-params")&&(o=`${o} ${(null===(a=t.parameters)||void 0===a?void 0:a.map((e=>e.name)).join(" "))||""}`),r.includes("search-api-request-body")&&t.requestBody){let e=new Set;for(const r in null===(i=t.requestBody)||void 0===i?void 0:i.content){var i,s,l;null!==(s=t.requestBody.content[r].schema)&&void 0!==s&&s.properties&&(e=me(null===(l=t.requestBody.content[r].schema)||void 0===l?void 0:l.properties)),o=`${o} ${[...e].join(" ")}`}}r.includes("search-api-resp-descr")&&(o=`${o} ${Object.values(t.responses).map((e=>e.description||"")).join(" ")}`),o.toLowerCase().includes(e.trim().toLowerCase())&&n.push({elementId:t.elementId,method:t.method,path:t.path,summary:t.summary||t.description||"",deprecated:t.deprecated})}))})),n}(e.value,this.resolvedSpec.tags,t)}),t)}}customElements.define("rapi-doc",Ku);class Gu extends HTMLElement{connectedCallback(){this.receiveAuthParms(),window.addEventListener("storage",(e=>this.receiveStorage(e)),!0)}receiveAuthParms(){let e={};if(document.location.search){const t=new URLSearchParams(document.location.search);e={code:t.get("code"),error:t.get("error"),state:t.get("state"),responseType:"code"}}else if(window.location.hash){e={token_type:this.parseQueryString(window.location.hash.substring(1),"token_type"),access_token:this.parseQueryString(window.location.hash.substring(1),"access_token"),responseType:"token"}}window.opener?window.opener.postMessage(e,this.target):sessionStorage.setItem("rapidoc-oauth-data",JSON.stringify(e))}relayAuthParams(e){if(window.parent&&"rapidoc-oauth-data"===e.key){const t=JSON.parse(e.newValue);window.parent.postMessage(t,this.target)}}parseQueryString(e,t){const r=e.split("&");for(let e=0;e<r.length;e++){const n=r[e].split("=");if(decodeURIComponent(n[0])===t)return decodeURIComponent(n[1])}}}customElements.define("oauth-receiver",Gu)},742:(e,t)=>{"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,a=l(e),i=a[0],s=a[1],c=new o(function(e,t,r){return 3*(t+r)/4-r}(0,i,s)),u=0,p=s>0?i-4:i;for(r=0;r<p;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t);1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,a=[],i=16383,s=0,l=n-o;s<l;s+=i)a.push(c(e,s,s+i>l?l:s+i));1===o?(t=e[n-1],a.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],a.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return a.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,s=a.length;i<s;++i)r[i]=a[i],n[a.charCodeAt(i)]=i;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,n){for(var o,a,i=[],s=t;s<n;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),i.push(r[(a=o)>>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return i.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},764:(e,t,r)=>{"use strict";var n=r(742),o=r(645),a=r(826);function i(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(i()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,r){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return p(this,e)}return c(this,e,t,r)}function c(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=d(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!l.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|f(t,r),o=(e=s(e,n)).write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if(l.isBuffer(t)){var r=0|h(t.length);return 0===(e=s(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?s(e,0):d(e,t);if("Buffer"===t.type&&a(t.data))return d(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function p(e,t){if(u(t),e=s(e,t<0?0:0|h(t)),!l.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function d(e,t){var r=t.length<0?0:0|h(t.length);e=s(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function h(e){if(e>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function f(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return U(e).length;default:if(n)return z(e).length;t=(""+t).toLowerCase(),n=!0}}function m(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return _(this,t,r);case"utf8":case"utf-8":return S(this,t,r);case"ascii":return O(this,t,r);case"latin1":case"binary":return C(this,t,r);case"base64":return E(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,o);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,o){var a,i=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;i=2,s/=2,l/=2,r/=2}function c(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o){var u=-1;for(a=r;a<s;a++)if(c(e,a)===c(t,-1===u?0:a-u)){if(-1===u&&(u=a),a-u+1===l)return u*i}else-1!==u&&(a-=a-u),u=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){for(var p=!0,d=0;d<l;d++)if(c(e,a+d)!==c(t,d)){p=!1;break}if(p)return a}return-1}function v(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var i=0;i<n;++i){var s=parseInt(t.substr(2*i,2),16);if(isNaN(s))return i;e[r+i]=s}return i}function x(e,t,r,n){return M(z(t,e.length-r),e,r,n)}function w(e,t,r,n){return M(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function k(e,t,r,n){return w(e,t,r,n)}function A(e,t,r,n){return M(U(t),e,r,n)}function $(e,t,r,n){return M(function(e,t){for(var r,n,o,a=[],i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,o=r%256,a.push(o),a.push(n);return a}(t,e.length-r),e,r,n)}function E(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function S(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var a,i,s,l,c=e[o],u=null,p=c>239?4:c>223?3:c>191?2:1;if(o+p<=r)switch(p){case 1:c<128&&(u=c);break;case 2:128==(192&(a=e[o+1]))&&(l=(31&c)<<6|63&a)>127&&(u=l);break;case 3:a=e[o+1],i=e[o+2],128==(192&a)&&128==(192&i)&&(l=(15&c)<<12|(63&a)<<6|63&i)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:a=e[o+1],i=e[o+2],s=e[o+3],128==(192&a)&&128==(192&i)&&128==(192&s)&&(l=(15&c)<<18|(63&a)<<12|(63&i)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,p=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),o+=p}return function(e){var t=e.length;if(t<=D)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=D));return r}(n)}t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==r.g.TYPED_ARRAY_SUPPORT?r.g.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=i(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,r){return c(null,e,t,r)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,r){return function(e,t,r,n){return u(t),t<=0?s(e,t):void 0!==r?"string"==typeof n?s(e,t).fill(r,n):s(e,t).fill(r):s(e,t)}(null,e,t,r)},l.allocUnsafe=function(e){return p(null,e)},l.allocUnsafeSlow=function(e){return p(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,a=Math.min(r,n);o<a;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},l.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}},l.concat=function(e,t){if(!a(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=l.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(!l.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},l.byteLength=f,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?S(this,0,e):m.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,r,n,o){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var a=(o>>>=0)-(n>>>=0),i=(r>>>=0)-(t>>>=0),s=Math.min(a,i),c=this.slice(n,o),u=e.slice(t,r),p=0;p<s;++p)if(c[p]!==u[p]){a=c[p],i=u[p];break}return a<i?-1:i<a?1:0},l.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},l.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return v(this,e,t,r);case"utf8":case"utf-8":return x(this,e,t,r);case"ascii":return w(this,e,t,r);case"latin1":case"binary":return k(this,e,t,r);case"base64":return A(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var D=4096;function O(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function C(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function _(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",a=t;a<r;++a)o+=q(e[a]);return o}function j(e,t,r){for(var n=e.slice(t,r),o="",a=0;a<n.length;a+=2)o+=String.fromCharCode(n[a]+256*n[a+1]);return o}function T(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function F(e,t,r,n,o,a){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function P(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,a=Math.min(e.length-r,2);o<a;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function B(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,a=Math.min(e.length-r,4);o<a;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function I(e,t,r,n,o,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function R(e,t,r,n,a){return a||I(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function N(e,t,r,n,a){return a||I(e,0,r,8),o.write(e,t,r,n,52,8),r+8}l.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=l.prototype;else{var o=t-e;r=new l(o,void 0);for(var a=0;a<o;++a)r[a]=this[a+e]}return r},l.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||T(e,t,this.length);for(var n=this[e],o=1,a=0;++a<t&&(o*=256);)n+=this[e+a]*o;return n},l.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||T(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},l.prototype.readUInt8=function(e,t){return t||T(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||T(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||T(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||T(e,t,this.length);for(var n=this[e],o=1,a=0;++a<t&&(o*=256);)n+=this[e+a]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||T(e,t,this.length);for(var n=t,o=1,a=this[e+--n];n>0&&(o*=256);)a+=this[e+--n]*o;return a>=(o*=128)&&(a-=Math.pow(2,8*t)),a},l.prototype.readInt8=function(e,t){return t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||T(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){t||T(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||T(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||T(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||T(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||T(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||F(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,a=0;for(this[t]=255&e;++a<r&&(o*=256);)this[t+a]=e/o&255;return t+r},l.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||F(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+r},l.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):B(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);F(this,e,t,r,o-1,-o)}var a=0,i=1,s=0;for(this[t]=255&e;++a<r&&(i*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/i>>0)-s&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);F(this,e,t,r,o-1,-o)}var a=r-1,i=1,s=0;for(this[t+a]=255&e;--a>=0&&(i*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/i>>0)-s&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):B(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,r){return R(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return R(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return N(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return N(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,a=n-r;if(this===e&&r<t&&t<n)for(o=a-1;o>=0;--o)e[o+t]=this[o+r];else if(a<1e3||!l.TYPED_ARRAY_SUPPORT)for(o=0;o<a;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+a),t);return a},l.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),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var a;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(a=t;a<r;++a)this[a]=e;else{var i=l.isBuffer(e)?e:z(new l(e,n).toString()),s=i.length;for(a=0;a<r-t;++a)this[a+t]=i[a%s]}return this};var L=/[^+\/0-9A-Za-z-_]/g;function q(e){return e<16?"0"+e.toString(16):e.toString(16)}function z(e,t){var r;t=t||1/0;for(var n=e.length,o=null,a=[],i=0;i<n;++i){if((r=e.charCodeAt(i))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(i+1===n){(t-=3)>-1&&a.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&a.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function U(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function M(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}},645:(e,t)=>{t.read=function(e,t,r,n,o){var a,i,s=8*o-n-1,l=(1<<s)-1,c=l>>1,u=-7,p=r?o-1:0,d=r?-1:1,h=e[t+p];for(p+=d,a=h&(1<<-u)-1,h>>=-u,u+=s;u>0;a=256*a+e[t+p],p+=d,u-=8);for(i=a&(1<<-u)-1,a>>=-u,u+=n;u>0;i=256*i+e[t+p],p+=d,u-=8);if(0===a)a=1-c;else{if(a===l)return i?NaN:1/0*(h?-1:1);i+=Math.pow(2,n),a-=c}return(h?-1:1)*i*Math.pow(2,a-n)},t.write=function(e,t,r,n,o,a){var i,s,l,c=8*a-o-1,u=(1<<c)-1,p=u>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:a-1,f=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=u):(i=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-i))<1&&(i--,l*=2),(t+=i+p>=1?d/l:d*Math.pow(2,1-p))*l>=2&&(i++,l/=2),i+p>=u?(s=0,i=u):i+p>=1?(s=(t*l-1)*Math.pow(2,o),i+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),i=0));o>=8;e[r+h]=255&s,h+=f,s/=256,o-=8);for(i=i<<o|s,c+=o;c>0;e[r+h]=255&i,h+=f,i/=256,c-=8);e[r+h-f]|=128*m}},826:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},84:function(e){e.exports=function(){"use strict";function e(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 t(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}function r(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}function n(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 o(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function a(e){var t={exports:{}};return e(t,t.exports),t.exports}var i=a((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function r(t){e.exports.defaults=t}e.exports={defaults:t(),getDefaults:t,changeDefaults:r}})),s=/[&<>"']/,l=/[&<>"']/g,c=/[<>"']|&(?!#?\w+;)/,u=/[<>"']|&(?!#?\w+;)/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"},d=function(e){return p[e]};function h(e,t){if(t){if(s.test(e))return e.replace(l,d)}else if(c.test(e))return e.replace(u,d);return e}var f=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function m(e){return e.replace(f,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var g=/(^|[^\[])\^/g;function y(e,t){e=e.source||e,t=t||"";var r={replace:function(t,n){return n=(n=n.source||n).replace(g,"$1"),e=e.replace(t,n),r},getRegex:function(){return new RegExp(e,t)}};return r}var b=/[^\w:]/g,v=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function x(e,t,r){if(e){var n;try{n=decodeURIComponent(m(r)).replace(b,"").toLowerCase()}catch(e){return null}if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return null}t&&!v.test(r)&&(r=E(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch(e){return null}return r}var w={},k=/^[^:]+:\/*[^/]*$/,A=/^([^:]+:)[\s\S]*$/,$=/^([^:]+:\/*[^/]*)[\s\S]*$/;function E(e,t){w[" "+e]||(k.test(e)?w[" "+e]=e+"/":w[" "+e]=O(e,"/",!0));var r=-1===(e=w[" "+e]).indexOf(":");return"//"===t.substring(0,2)?r?t:e.replace(A,"$1")+t:"/"===t.charAt(0)?r?t:e.replace($,"$1")+t:e+t}function S(e){for(var t,r,n=1;n<arguments.length;n++)for(r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function D(e,t){var r=e.replace(/\|/g,(function(e,t,r){for(var n=!1,o=t;--o>=0&&"\\"===r[o];)n=!n;return n?"|":" |"})).split(/ \|/),n=0;if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(/\\\|/g,"|");return r}function O(e,t,r){var n=e.length;if(0===n)return"";for(var o=0;o<n;){var a=e.charAt(n-o-1);if(a!==t||r){if(a===t||!r)break;o++}else o++}return e.substr(0,n-o)}function C(e,t){if(-1===e.indexOf(t[1]))return-1;for(var r=e.length,n=0,o=0;o<r;o++)if("\\"===e[o])o++;else if(e[o]===t[0])n++;else if(e[o]===t[1]&&--n<0)return o;return-1}function _(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function j(e,t){if(t<1)return"";for(var r="";t>1;)1&t&&(r+=e),t>>=1,e+=e;return r+e}var T={escape:h,unescape:m,edit:y,cleanUrl:x,resolveUrl:E,noopTest:{exec:function(){}},merge:S,splitCells:D,rtrim:O,findClosingBracket:C,checkSanitizeDeprecation:_,repeatString:j},F=i.defaults,P=T.rtrim,B=T.splitCells,I=T.escape,R=T.findClosingBracket;function N(e,t,r){var n=t.href,o=t.title?I(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:r,href:n,title:o,text:a}:{type:"image",raw:r,href:n,title:o,text:I(a)}}function L(e,t){var r=e.match(/^(\s+)(?:```)/);if(null===r)return t;var n=r[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=n.length?e.slice(n.length):e})).join("\n")}var q=function(){function e(e){this.options=e||F}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e){var t=this.rules.block.code.exec(e);if(t){var r=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?r:P(r,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var r=t[0],n=L(r,t[3]||"");return{type:"code",raw:r,lang:t[2]?t[2].trim():t[2],text:n}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var r=t[2].trim();if(/#$/.test(r)){var n=P(r,"#");this.options.pedantic?r=n.trim():n&&!/ $/.test(n)||(r=n.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:r}}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var r={type:"table",header:B(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(r.header.length===r.align.length){var n,o=r.align.length;for(n=0;n<o;n++)/^ *-+: *$/.test(r.align[n])?r.align[n]="right":/^ *:-+: *$/.test(r.align[n])?r.align[n]="center":/^ *:-+ *$/.test(r.align[n])?r.align[n]="left":r.align[n]=null;for(o=r.cells.length,n=0;n<o;n++)r.cells[n]=B(r.cells[n],r.header.length);return r}}},t.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},t.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var r=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],text:r}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){var r,n,o,a,i,s,l,c,u,p=t[0],d=t[2],h=d.length>1,f={type:"list",raw:p,ordered:h,start:h?+d.slice(0,-1):"",loose:!1,items:[]},m=t[0].match(this.rules.block.item),g=!1,y=m.length;o=this.rules.block.listItemStart.exec(m[0]);for(var b=0;b<y;b++){if(p=r=m[b],this.options.pedantic||(u=r.match(new RegExp("\\n\\s*\\n {0,"+(o[0].length-1)+"}\\S")))&&(i=r.length-u.index+m.slice(b+1).join("\n").length,f.raw=f.raw.substring(0,f.raw.length-i),p=r=r.substring(0,u.index),y=b+1),b!==y-1){if(a=this.rules.block.listItemStart.exec(m[b+1]),this.options.pedantic?a[1].length>o[1].length:a[1].length>=o[0].length||a[1].length>3){m.splice(b,2,m[b]+(!this.options.pedantic&&a[1].length<o[0].length&&!m[b].match(/\n$/)?"":"\n")+m[b+1]),b--,y--;continue}(!this.options.pedantic||this.options.smartLists?a[2][a[2].length-1]!==d[d.length-1]:h===(1===a[2].length))&&(i=m.slice(b+1).join("\n").length,f.raw=f.raw.substring(0,f.raw.length-i),b=y-1),o=a}n=r.length,~(r=r.replace(/^ *([*+-]|\d+[.)]) ?/,"")).indexOf("\n ")&&(n-=r.length,r=this.options.pedantic?r.replace(/^ {1,4}/gm,""):r.replace(new RegExp("^ {1,"+n+"}","gm"),"")),r=P(r,"\n"),b!==y-1&&(p+="\n"),s=g||/\n\n(?!\s*$)/.test(p),b!==y-1&&(g="\n\n"===p.slice(-2),s||(s=g)),s&&(f.loose=!0),this.options.gfm&&(c=void 0,(l=/^\[[ xX]\] /.test(r))&&(c=" "!==r[1],r=r.replace(/^\[[ xX]\] +/,""))),f.items.push({type:"list_item",raw:p,task:l,checked:c,loose:s,text:r})}return f}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):I(t[0]):t[0]}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var r={type:"table",header:B(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(r.header.length===r.align.length){r.raw=t[0];var n,o=r.align.length;for(n=0;n<o;n++)/^ *-+: *$/.test(r.align[n])?r.align[n]="right":/^ *:-+: *$/.test(r.align[n])?r.align[n]="center":/^ *:-+ *$/.test(r.align[n])?r.align[n]="left":r.align[n]=null;for(o=r.cells.length,n=0;n<o;n++)r.cells[n]=B(r.cells[n].replace(/^ *\| *| *\| *$/g,""),r.header.length);return r}}},t.lheading=function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1]}},t.paragraph=function(e){var t=this.rules.block.paragraph.exec(e);if(t)return{type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1]}},t.text=function(e){var t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0]}},t.escape=function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:I(t[1])}},t.tag=function(e,t,r){var n=this.rules.inline.tag.exec(e);if(n)return!t&&/^<a /i.test(n[0])?t=!0:t&&/^<\/a>/i.test(n[0])&&(t=!1),!r&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?r=!0:r&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(r=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:t,inRawBlock:r,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):I(n[0]):n[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var r=t[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;var n=P(r.slice(0,-1),"\\");if((r.length-n.length)%2==0)return}else{var o=R(t[2],"()");if(o>-1){var a=(0===t[0].indexOf("!")?5:4)+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,a).trim(),t[3]=""}}var i=t[2],s="";if(this.options.pedantic){var l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);l&&(i=l[1],s=l[3])}else s=t[3]?t[3].slice(1,-1):"";return i=i.trim(),/^</.test(i)&&(i=this.options.pedantic&&!/>$/.test(r)?i.slice(1):i.slice(1,-1)),N(t,{href:i?i.replace(this.rules.inline._escapes,"$1"):i,title:s?s.replace(this.rules.inline._escapes,"$1"):s},t[0])}},t.reflink=function(e,t){var r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){var n=(r[2]||r[1]).replace(/\s+/g," ");if(!(n=t[n.toLowerCase()])||!n.href){var o=r[0].charAt(0);return{type:"text",raw:o,text:o}}return N(r,n,r[0])}},t.emStrong=function(e,t,r){void 0===r&&(r="");var n=this.rules.inline.emStrong.lDelim.exec(e);if(n&&(!n[3]||!r.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\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\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\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\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\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-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\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-\uAB69\uAB70-\uABE2\uABF0-\uABF9\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\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var o=n[1]||n[2]||"";if(!o||o&&(""===r||this.rules.inline.punctuation.exec(r))){var a,i,s=n[0].length-1,l=s,c=0,u="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(u.lastIndex=0,t=t.slice(-1*e.length+s);null!=(n=u.exec(t));)if(a=n[1]||n[2]||n[3]||n[4]||n[5]||n[6])if(i=a.length,n[3]||n[4])l+=i;else if(!((n[5]||n[6])&&s%3)||(s+i)%3){if(!((l-=i)>0)){if(l+c-i<=0&&!t.slice(u.lastIndex).match(u)&&(i=Math.min(i,i+l+c)),Math.min(s,i)%2)return{type:"em",raw:e.slice(0,s+n.index+i+1),text:e.slice(1,s+n.index+i)};if(Math.min(s,i)%2==0)return{type:"strong",raw:e.slice(0,s+n.index+i+1),text:e.slice(2,s+n.index+i-1)}}}else c+=i}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var r=t[2].replace(/\n/g," "),n=/[^ ]/.test(r),o=/^ /.test(r)&&/ $/.test(r);return n&&o&&(r=r.substring(1,r.length-1)),r=I(r,!0),{type:"codespan",raw:t[0],text:r}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2]}},t.autolink=function(e,t){var r,n,o=this.rules.inline.autolink.exec(e);if(o)return n="@"===o[2]?"mailto:"+(r=I(this.options.mangle?t(o[1]):o[1])):r=I(o[1]),{type:"link",raw:o[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}},t.url=function(e,t){var r;if(r=this.rules.inline.url.exec(e)){var n,o;if("@"===r[2])o="mailto:"+(n=I(this.options.mangle?t(r[0]):r[0]));else{var a;do{a=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0]}while(a!==r[0]);n=I(r[0]),o="www."===r[1]?"http://"+n:n}return{type:"link",raw:r[0],text:n,href:o,tokens:[{type:"text",raw:n,text:n}]}}},t.inlineText=function(e,t,r){var n,o=this.rules.inline.text.exec(e);if(o)return n=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):I(o[0]):o[0]:I(this.options.smartypants?r(o[0]):o[0]),{type:"text",raw:o[0],text:n}},e}(),z=T.noopTest,U=T.edit,M=T.merge,H={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:z,table:z,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};H.def=U(H.def).replace("label",H._label).replace("title",H._title).getRegex(),H.bullet=/(?:[*+-]|\d{1,9}[.)])/,H.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,H.item=U(H.item,"gm").replace(/bull/g,H.bullet).getRegex(),H.listItemStart=U(/^( *)(bull) */).replace("bull",H.bullet).getRegex(),H.list=U(H.list).replace(/bull/g,H.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+H.def.source+")").getRegex(),H._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",H._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,H.html=U(H.html,"i").replace("comment",H._comment).replace("tag",H._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),H.paragraph=U(H._paragraph).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",H._tag).getRegex(),H.blockquote=U(H.blockquote).replace("paragraph",H.paragraph).getRegex(),H.normal=M({},H),H.gfm=M({},H.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),H.gfm.nptable=U(H.gfm.nptable).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",H._tag).getRegex(),H.gfm.table=U(H.gfm.table).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",H._tag).getRegex(),H.pedantic=M({},H.normal,{html:U("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",H._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:z,paragraph:U(H.normal._paragraph).replace("hr",H.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",H.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var V={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:z,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_]*?\*[^_]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^*]*?\_[^*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:z,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};V.punctuation=U(V.punctuation).replace(/punctuation/g,V._punctuation).getRegex(),V.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,V.escapedEmSt=/\\\*|\\_/g,V._comment=U(H._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),V.emStrong.lDelim=U(V.emStrong.lDelim).replace(/punct/g,V._punctuation).getRegex(),V.emStrong.rDelimAst=U(V.emStrong.rDelimAst,"g").replace(/punct/g,V._punctuation).getRegex(),V.emStrong.rDelimUnd=U(V.emStrong.rDelimUnd,"g").replace(/punct/g,V._punctuation).getRegex(),V._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,V._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,V._email=/[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])?)+(?![-_])/,V.autolink=U(V.autolink).replace("scheme",V._scheme).replace("email",V._email).getRegex(),V._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,V.tag=U(V.tag).replace("comment",V._comment).replace("attribute",V._attribute).getRegex(),V._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,V._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,V._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,V.link=U(V.link).replace("label",V._label).replace("href",V._href).replace("title",V._title).getRegex(),V.reflink=U(V.reflink).replace("label",V._label).getRegex(),V.reflinkSearch=U(V.reflinkSearch,"g").replace("reflink",V.reflink).replace("nolink",V.nolink).getRegex(),V.normal=M({},V),V.pedantic=M({},V.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:U(/^!?\[(label)\]\((.*?)\)/).replace("label",V._label).getRegex(),reflink:U(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",V._label).getRegex()}),V.gfm=M({},V.normal,{escape:U(V.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),V.gfm.url=U(V.gfm.url,"i").replace("email",V.gfm._extended_email).getRegex(),V.breaks=M({},V.gfm,{br:U(V.br).replace("{2,}","*").getRegex(),text:U(V.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var W={block:H,inline:V},Y=i.defaults,K=W.block,G=W.inline,J=T.repeatString;function Z(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"â€").replace(/\.{3}/g,"…")}function X(e){var t,r,n="",o=e.length;for(t=0;t<o;t++)r=e.charCodeAt(t),Math.random()>.5&&(r="x"+r.toString(16)),n+="&#"+r+";";return n}var Q=function(){function e(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Y,this.options.tokenizer=this.options.tokenizer||new q,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:K.normal,inline:G.normal};this.options.pedantic?(t.block=K.pedantic,t.inline=G.pedantic):this.options.gfm&&(t.block=K.gfm,this.options.breaks?t.inline=G.breaks:t.inline=G.gfm),this.tokenizer.rules=t}e.lex=function(t,r){return new e(r).lex(t)},e.lexInline=function(t,r){return new e(r).inlineTokens(t)};var r=e.prototype;return r.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},r.blockTokens=function(e,t,r){var n,o,a,i;for(void 0===t&&(t=[]),void 0===r&&(r=!0),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),n.type&&t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),(i=t[t.length-1])&&"paragraph"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text):t.push(n);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.nptable(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),n.tokens=this.blockTokens(n.text,[],r),t.push(n);else if(n=this.tokenizer.list(e)){for(e=e.substring(n.raw.length),a=n.items.length,o=0;o<a;o++)n.items[o].tokens=this.blockTokens(n.items[o].text,[],!1);t.push(n)}else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(r&&(n=this.tokenizer.def(e)))e=e.substring(n.raw.length),this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else if(r&&(n=this.tokenizer.paragraph(e)))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),(i=t[t.length-1])&&"text"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text):t.push(n);else if(e){var s="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(s);break}throw new Error(s)}return t},r.inline=function(e){var t,r,n,o,a,i,s=e.length;for(t=0;t<s;t++)switch((i=e[t]).type){case"paragraph":case"text":case"heading":i.tokens=[],this.inlineTokens(i.text,i.tokens);break;case"table":for(i.tokens={header:[],cells:[]},o=i.header.length,r=0;r<o;r++)i.tokens.header[r]=[],this.inlineTokens(i.header[r],i.tokens.header[r]);for(o=i.cells.length,r=0;r<o;r++)for(a=i.cells[r],i.tokens.cells[r]=[],n=0;n<a.length;n++)i.tokens.cells[r][n]=[],this.inlineTokens(a[n],i.tokens.cells[r][n]);break;case"blockquote":this.inline(i.tokens);break;case"list":for(o=i.items.length,r=0;r<o;r++)this.inline(i.items[r].tokens)}return e},r.inlineTokens=function(e,t,r,n){var o,a;void 0===t&&(t=[]),void 0===r&&(r=!1),void 0===n&&(n=!1);var i,s,l,c=e;if(this.tokens.links){var u=Object.keys(this.tokens.links);if(u.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(c));)u.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,i.index)+"["+J("a",i[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(c));)c=c.slice(0,i.index)+"["+J("a",i[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.escapedEmSt.exec(c));)c=c.slice(0,i.index)+"++"+c.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(s||(l=""),s=!1,o=this.tokenizer.escape(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.tag(e,r,n)){e=e.substring(o.raw.length),r=o.inLink,n=o.inRawBlock;var p=t[t.length-1];p&&"text"===o.type&&"text"===p.type?(p.raw+=o.raw,p.text+=o.text):t.push(o)}else if(o=this.tokenizer.link(e))e=e.substring(o.raw.length),"link"===o.type&&(o.tokens=this.inlineTokens(o.text,[],!0,n)),t.push(o);else if(o=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(o.raw.length);var d=t[t.length-1];"link"===o.type?(o.tokens=this.inlineTokens(o.text,[],!0,n),t.push(o)):d&&"text"===o.type&&"text"===d.type?(d.raw+=o.raw,d.text+=o.text):t.push(o)}else if(o=this.tokenizer.emStrong(e,c,l))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],r,n),t.push(o);else if(o=this.tokenizer.codespan(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.br(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.del(e))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],r,n),t.push(o);else if(o=this.tokenizer.autolink(e,X))e=e.substring(o.raw.length),t.push(o);else if(r||!(o=this.tokenizer.url(e,X))){if(o=this.tokenizer.inlineText(e,n,Z))e=e.substring(o.raw.length),"_"!==o.raw.slice(-1)&&(l=o.raw.slice(-1)),s=!0,(a=t[t.length-1])&&"text"===a.type?(a.raw+=o.raw,a.text+=o.text):t.push(o);else if(e){var h="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(h);break}throw new Error(h)}}else e=e.substring(o.raw.length),t.push(o);return t},t(e,null,[{key:"rules",get:function(){return{block:K,inline:G}}}]),e}(),ee=i.defaults,te=T.cleanUrl,re=T.escape,ne=function(){function e(e){this.options=e||ee}var t=e.prototype;return t.code=function(e,t,r){var n=(t||"").match(/\S*/)[0];if(this.options.highlight){var o=this.options.highlight(e,n);null!=o&&o!==e&&(r=!0,e=o)}return e=e.replace(/\n$/,"")+"\n",n?'<pre><code class="'+this.options.langPrefix+re(n,!0)+'">'+(r?e:re(e,!0))+"</code></pre>\n":"<pre><code>"+(r?e:re(e,!0))+"</code></pre>\n"},t.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},t.html=function(e){return e},t.heading=function(e,t,r,n){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+n.slug(r)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},t.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},t.list=function(e,t,r){var n=t?"ol":"ul";return"<"+n+(t&&1!==r?' start="'+r+'"':"")+">\n"+e+"</"+n+">\n"},t.listitem=function(e){return"<li>"+e+"</li>\n"},t.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},t.paragraph=function(e){return"<p>"+e+"</p>\n"},t.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},t.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},t.tablecell=function(e,t){var r=t.header?"th":"td";return(t.align?"<"+r+' align="'+t.align+'">':"<"+r+">")+e+"</"+r+">\n"},t.strong=function(e){return"<strong>"+e+"</strong>"},t.em=function(e){return"<em>"+e+"</em>"},t.codespan=function(e){return"<code>"+e+"</code>"},t.br=function(){return this.options.xhtml?"<br/>":"<br>"},t.del=function(e){return"<del>"+e+"</del>"},t.link=function(e,t,r){if(null===(e=te(this.options.sanitize,this.options.baseUrl,e)))return r;var n='<a href="'+re(e)+'"';return t&&(n+=' title="'+t+'"'),n+=">"+r+"</a>"},t.image=function(e,t,r){if(null===(e=te(this.options.sanitize,this.options.baseUrl,e)))return r;var n='<img src="'+e+'" alt="'+r+'"';return t&&(n+=' title="'+t+'"'),n+=this.options.xhtml?"/>":">"},t.text=function(e){return e},e}(),oe=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,r){return""+r},t.image=function(e,t,r){return""+r},t.br=function(){return""},e}(),ae=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var r=e,n=0;if(this.seen.hasOwnProperty(r)){n=this.seen[e];do{r=e+"-"+ ++n}while(this.seen.hasOwnProperty(r))}return t||(this.seen[e]=n,this.seen[r]=0),r},t.slug=function(e,t){void 0===t&&(t={});var r=this.serialize(e);return this.getNextSafeSlug(r,t.dryrun)},e}(),ie=i.defaults,se=T.unescape,le=function(){function e(e){this.options=e||ie,this.options.renderer=this.options.renderer||new ne,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new oe,this.slugger=new ae}e.parse=function(t,r){return new e(r).parse(t)},e.parseInline=function(t,r){return new e(r).parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var r,n,o,a,i,s,l,c,u,p,d,h,f,m,g,y,b,v,x="",w=e.length;for(r=0;r<w;r++)switch((p=e[r]).type){case"space":continue;case"hr":x+=this.renderer.hr();continue;case"heading":x+=this.renderer.heading(this.parseInline(p.tokens),p.depth,se(this.parseInline(p.tokens,this.textRenderer)),this.slugger);continue;case"code":x+=this.renderer.code(p.text,p.lang,p.escaped);continue;case"table":for(c="",l="",a=p.header.length,n=0;n<a;n++)l+=this.renderer.tablecell(this.parseInline(p.tokens.header[n]),{header:!0,align:p.align[n]});for(c+=this.renderer.tablerow(l),u="",a=p.cells.length,n=0;n<a;n++){for(l="",i=(s=p.tokens.cells[n]).length,o=0;o<i;o++)l+=this.renderer.tablecell(this.parseInline(s[o]),{header:!1,align:p.align[o]});u+=this.renderer.tablerow(l)}x+=this.renderer.table(c,u);continue;case"blockquote":u=this.parse(p.tokens),x+=this.renderer.blockquote(u);continue;case"list":for(d=p.ordered,h=p.start,f=p.loose,a=p.items.length,u="",n=0;n<a;n++)y=(g=p.items[n]).checked,b=g.task,m="",g.task&&(v=this.renderer.checkbox(y),f?g.tokens.length>0&&"text"===g.tokens[0].type?(g.tokens[0].text=v+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&"text"===g.tokens[0].tokens[0].type&&(g.tokens[0].tokens[0].text=v+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:v}):m+=v),m+=this.parse(g.tokens,f),u+=this.renderer.listitem(m,b,y);x+=this.renderer.list(u,d,h);continue;case"html":x+=this.renderer.html(p.text);continue;case"paragraph":x+=this.renderer.paragraph(this.parseInline(p.tokens));continue;case"text":for(u=p.tokens?this.parseInline(p.tokens):p.text;r+1<w&&"text"===e[r+1].type;)u+="\n"+((p=e[++r]).tokens?this.parseInline(p.tokens):p.text);x+=t?this.renderer.paragraph(u):u;continue;default:var k='Token with "'+p.type+'" type was not found.';if(this.options.silent)return void console.error(k);throw new Error(k)}return x},t.parseInline=function(e,t){t=t||this.renderer;var r,n,o="",a=e.length;for(r=0;r<a;r++)switch((n=e[r]).type){case"escape":o+=t.text(n.text);break;case"html":o+=t.html(n.text);break;case"link":o+=t.link(n.href,n.title,this.parseInline(n.tokens,t));break;case"image":o+=t.image(n.href,n.title,n.text);break;case"strong":o+=t.strong(this.parseInline(n.tokens,t));break;case"em":o+=t.em(this.parseInline(n.tokens,t));break;case"codespan":o+=t.codespan(n.text);break;case"br":o+=t.br();break;case"del":o+=t.del(this.parseInline(n.tokens,t));break;case"text":o+=t.text(n.text);break;default:var i='Token with "'+n.type+'" type was not found.';if(this.options.silent)return void console.error(i);throw new Error(i)}return o},e}(),ce=T.merge,ue=T.checkSanitizeDeprecation,pe=T.escape,de=i.getDefaults,he=i.changeDefaults,fe=i.defaults;function me(e,t,r){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(r=t,t=null),t=ce({},me.defaults,t||{}),ue(t),r){var n,o=t.highlight;try{n=Q.lex(e,t)}catch(e){return r(e)}var a=function(e){var a;if(!e)try{a=le.parse(n,t)}catch(t){e=t}return t.highlight=o,e?r(e):r(null,a)};if(!o||o.length<3)return a();if(delete t.highlight,!n.length)return a();var i=0;return me.walkTokens(n,(function(e){"code"===e.type&&(i++,setTimeout((function(){o(e.text,e.lang,(function(t,r){if(t)return a(t);null!=r&&r!==e.text&&(e.text=r,e.escaped=!0),0==--i&&a()}))}),0))})),void(0===i&&a())}try{var s=Q.lex(e,t);return t.walkTokens&&me.walkTokens(s,t.walkTokens),le.parse(s,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+pe(e.message+"",!0)+"</pre>";throw e}}return me.options=me.setOptions=function(e){return ce(me.defaults,e),he(me.defaults),me},me.getDefaults=de,me.defaults=fe,me.use=function(e){var t=ce({},e);if(e.renderer&&function(){var r=me.defaults.renderer||new ne,n=function(t){var n=r[t];r[t]=function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var s=e.renderer[t].apply(r,a);return!1===s&&(s=n.apply(r,a)),s}};for(var o in e.renderer)n(o);t.renderer=r}(),e.tokenizer&&function(){var r=me.defaults.tokenizer||new q,n=function(t){var n=r[t];r[t]=function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var s=e.tokenizer[t].apply(r,a);return!1===s&&(s=n.apply(r,a)),s}};for(var o in e.tokenizer)n(o);t.tokenizer=r}(),e.walkTokens){var r=me.defaults.walkTokens;t.walkTokens=function(t){e.walkTokens(t),r&&r(t)}}me.setOptions(t)},me.walkTokens=function(e,t){for(var r,n=o(e);!(r=n()).done;){var a=r.value;switch(t(a),a.type){case"table":for(var i,s=o(a.tokens.header);!(i=s()).done;){var l=i.value;me.walkTokens(l,t)}for(var c,u=o(a.tokens.cells);!(c=u()).done;)for(var p,d=o(c.value);!(p=d()).done;){var h=p.value;me.walkTokens(h,t)}break;case"list":me.walkTokens(a.items,t);break;default:a.tokens&&me.walkTokens(a.tokens,t)}}},me.parseInline=function(e,t){if(null==e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");t=ce({},me.defaults,t||{}),ue(t);try{var r=Q.lexInline(e,t);return t.walkTokens&&me.walkTokens(r,t.walkTokens),le.parseInline(r,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+pe(e.message+"",!0)+"</pre>";throw e}},me.Parser=le,me.parser=le.parse,me.Renderer=ne,me.TextRenderer=oe,me.Lexer=Q,me.lexer=Q.lex,me.Tokenizer=q,me.Slugger=ae,me.parse=me,me}()},874:()=>{!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:r,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)\w+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b\w+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+?)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)(["'])(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|(?!\2)[^\\`$])*\2/,lookbehind:!0,greedy:!0,inside:n}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|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)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|==?|!=?|=~|<<[<-]?|[&\d]?>>|\d?[<>]&?|&[>&]?|\|[&|]?|<=?|>=?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=n.variable[1].inside,i=0;i<o.length;i++)a[o[i]]=e.languages.bash[o[i]];e.languages.shell=e.languages.bash}(Prism)},16:()=>{!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,r){return"(?:"+t[+r]+")"}))}function r(e,r,n){return RegExp(t(e,r),n||"")}function n(e,t){for(var r=0;r<t;r++)e=e.replace(/<<self>>/g,(function(){return"(?:"+e+")"}));return e.replace(/<<self>>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",a="class enum interface struct",i="add alias and ascending async await by descending from get global group into join let nameof not notnull on or orderby partial remove select set unmanaged value when where",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var c=l(a),u=RegExp(l(o+" "+a+" "+i+" "+s)),p=l(a+" "+i+" "+s),d=l(o+" "+a+" "+s),h=n(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),f=n(/\((?:[^()]|<<self>>)*\)/.source,2),m=/@?\b[A-Za-z_]\w*\b/.source,g=t(/<<0>>(?:\s*<<1>>)?/.source,[m,h]),y=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[p,g]),b=/\[\s*(?:,\s*)*\]/.source,v=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,b]),x=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[h,f,b]),w=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[x]),k=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,y,b]),A={keyword:u,punctuation:/[<>()?,.:[\]]/},$=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,E=/"(?:\\.|[^\\"\r\n])*"/.source,S=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[S]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[E]),lookbehind:!0,greedy:!0},{pattern:RegExp($),greedy:!0,alias:"character"}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[y]),lookbehind:!0,inside:A},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[m,k]),lookbehind:!0,inside:A},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[m]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[c,g]),lookbehind:!0,inside:A},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[y]),lookbehind:!0,inside:A},{pattern:r(/(\bwhere\s+)<<0>>/.source,[m]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[v]),lookbehind:!0,inside:A},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[k,d,m]),inside:A}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[m]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[m]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[f]),lookbehind:!0,alias:"class-name",inside:A},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[k,y]),inside:A,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[k]),lookbehind:!0,inside:A,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[m,h]),inside:{function:r(/^<<0>>/.source,[m]),generic:{pattern:RegExp(h),alias:"class-name",inside:A}}},"type-list":{pattern:r(/\b((?:<<0>>\s+<<1>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>)(?:\s*,\s*(?:<<3>>|<<4>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,g,m,k,u.source]),lookbehind:!0,inside:{keyword:u,"class-name":{pattern:RegExp(k),greedy:!0,inside:A},punctuation:/,/}},preprocessor:{pattern:/(^\s*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(\s*#)\b(?:define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var D=E+"|"+$,O=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[D]),C=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[O]),2),_=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,j=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,C]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[_,j]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[_]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[C]),inside:e.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var T=/:[^}\r\n]+/.source,F=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[O]),2),P=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[F,T]),B=n(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[D]),2),I=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[B,T]);function R(t,n){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[n,T]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[P]),lookbehind:!0,greedy:!0,inside:R(P,F)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[I]),lookbehind:!0,greedy:!0,inside:R(I,B)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp},251:()=>{!function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:RegExp("[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),string:{pattern:t,greedy:!0},property:/(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/(^|["'\s])style\s*=\s*(?:"[^"]*"|'[^']*')/i,lookbehind:!0,inside:{"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{style:{pattern:/(["'])[\s\S]+(?=["']$)/,lookbehind:!0,alias:"language-css",inside:e.languages.css},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},"attr-name":/^style/i}}},r.tag))}(Prism)},46:()=>{Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete Prism.languages.go["class-name"]},57:()=>{!function(e){e.languages.http={"request-line":{pattern:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\s(?:https?:\/\/|\/)\S+\sHTTP\/[0-9.]+/m,inside:{property:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\b/,"attr-name":/:\w+/}},"response-status":{pattern:/^HTTP\/1.[01] \d.*/m,inside:{property:{pattern:/(^HTTP\/1.[01] )\d.*/i,lookbehind:!0}}},"header-name":{pattern:/^[\w-]+:(?=.)/m,alias:"keyword"}};var t,r=e.languages,n={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css},o={"application/json":!0,"application/xml":!0};function a(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|"+("\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-])")+")"}for(var i in n)if(n[i]){t=t||{};var s=o[i]?a(i):i;t[i.replace(/\//g,"-")]={pattern:RegExp("(content-type:\\s*"+s+".*)(?:\\r?\\n|\\r){2}[\\s\\S]*","i"),lookbehind:!0,inside:n[i]}}t&&e.languages.insertBefore("http","header-name",t)}(Prism)},503:()=>{!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,n={pattern:RegExp(r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{"class-name":[n,{pattern:RegExp(r+/[A-Z]\w*(?=\s+\w+\s*[;,=())])/.source),lookbehind:!0,inside:n.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(\:\:\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":n,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism)},277:()=>{Prism.languages.json={property:{pattern:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json},366:()=>{Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:{{)*){(?!{)(?:[^{}]|{(?!{)(?:[^{}]|{(?!{)(?:[^{}])+})+})+}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^\s*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python},358:()=>{!function(e){var t=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+r.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+r.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var r=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|]|}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return n})).replace(/<<value>>/g,(function(){return e}));return RegExp(r,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return n}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return n})).replace(/<<key>>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/true|false/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(Prism)},660:(e,t,r)=>{var n=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,r=0,n={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++r}),e.__id},clone:function e(t,r){var o,a;switch(r=r||{},n.util.type(t)){case"Object":if(a=n.util.objId(t),r[a])return r[a];for(var i in o={},r[a]=o,t)t.hasOwnProperty(i)&&(o[i]=e(t[i],r));return o;case"Array":return a=n.util.objId(t),r[a]?r[a]:(o=[],r[a]=o,t.forEach((function(t,n){o[n]=e(t,r)})),o);default:return t}},getLanguage:function(e){for(;e&&!t.test(e.className);)e=e.parentElement;return e?(e.className.match(t)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(n){var e=(/at [^(\r\n]*\((.*):.+:.+\)$/i.exec(n.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var r in t)if(t[r].src==e)return t[r]}return null}},isActive:function(e,t,r){for(var n="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(n))return!1;e=e.parentElement}return!!r}},languages:{extend:function(e,t){var r=n.util.clone(n.languages[e]);for(var o in t)r[o]=t[o];return r},insertBefore:function(e,t,r,o){var a=(o=o||n.languages)[e],i={};for(var s in a)if(a.hasOwnProperty(s)){if(s==t)for(var l in r)r.hasOwnProperty(l)&&(i[l]=r[l]);r.hasOwnProperty(s)||(i[s]=a[s])}var c=o[e];return o[e]=i,n.languages.DFS(n.languages,(function(t,r){r===c&&t!=e&&(this[t]=i)})),i},DFS:function e(t,r,o,a){a=a||{};var i=n.util.objId;for(var s in t)if(t.hasOwnProperty(s)){r.call(t,s,t[s],o||s);var l=t[s],c=n.util.type(l);"Object"!==c||a[i(l)]?"Array"!==c||a[i(l)]||(a[i(l)]=!0,e(l,r,s,a)):(a[i(l)]=!0,e(l,r,null,a))}}},plugins:{},highlightAll:function(e,t){n.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,r){var o={callback:r,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};n.hooks.run("before-highlightall",o),o.elements=Array.prototype.slice.apply(o.container.querySelectorAll(o.selector)),n.hooks.run("before-all-elements-highlight",o);for(var a,i=0;a=o.elements[i++];)n.highlightElement(a,!0===t,o.callback)},highlightElement:function(r,o,a){var i=n.util.getLanguage(r),s=n.languages[i];r.className=r.className.replace(t,"").replace(/\s+/g," ")+" language-"+i;var l=r.parentElement;l&&"pre"===l.nodeName.toLowerCase()&&(l.className=l.className.replace(t,"").replace(/\s+/g," ")+" language-"+i);var c={element:r,language:i,grammar:s,code:r.textContent};function u(e){c.highlightedCode=e,n.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,n.hooks.run("after-highlight",c),n.hooks.run("complete",c),a&&a.call(c.element)}if(n.hooks.run("before-sanity-check",c),!c.code)return n.hooks.run("complete",c),void(a&&a.call(c.element));if(n.hooks.run("before-highlight",c),c.grammar)if(o&&e.Worker){var p=new Worker(n.filename);p.onmessage=function(e){u(e.data)},p.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else u(n.highlight(c.code,c.grammar,c.language));else u(n.util.encode(c.code))},highlight:function(e,t,r){var a={code:e,grammar:t,language:r};return n.hooks.run("before-tokenize",a),a.tokens=n.tokenize(a.code,a.grammar),n.hooks.run("after-tokenize",a),o.stringify(n.util.encode(a.tokens),a.language)},tokenize:function(e,t){var r=t.rest;if(r){for(var n in r)t[n]=r[n];delete t.rest}var o=new s;return l(o,o.head,e),i(e,o,t,o.head,0),function(e){var t=[],r=e.head.next;for(;r!==e.tail;)t.push(r.value),r=r.next;return t}(o)},hooks:{all:{},add:function(e,t){var r=n.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){var r=n.hooks.all[e];if(r&&r.length)for(var o,a=0;o=r[a++];)o(t)}},Token:o};function o(e,t,r,n){this.type=e,this.content=t,this.alias=r,this.length=0|(n||"").length}function a(e,t,r,n){e.lastIndex=t;var o=e.exec(r);if(o&&n&&o[1]){var a=o[1].length;o.index+=a,o[0]=o[0].slice(a)}return o}function i(e,t,r,s,u,p){for(var d in r)if(r.hasOwnProperty(d)&&r[d]){var h=r[d];h=Array.isArray(h)?h:[h];for(var f=0;f<h.length;++f){if(p&&p.cause==d+","+f)return;var m=h[f],g=m.inside,y=!!m.lookbehind,b=!!m.greedy,v=m.alias;if(b&&!m.pattern.global){var x=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,x+"g")}for(var w=m.pattern||m,k=s.next,A=u;k!==t.tail&&!(p&&A>=p.reach);A+=k.value.length,k=k.next){var $=k.value;if(t.length>e.length)return;if(!($ instanceof o)){var E,S=1;if(b){if(!(E=a(w,A,e,y)))break;var D=E.index,O=E.index+E[0].length,C=A;for(C+=k.value.length;D>=C;)C+=(k=k.next).value.length;if(A=C-=k.value.length,k.value instanceof o)continue;for(var _=k;_!==t.tail&&(C<O||"string"==typeof _.value);_=_.next)S++,C+=_.value.length;S--,$=e.slice(A,C),E.index-=A}else if(!(E=a(w,0,$,y)))continue;D=E.index;var j=E[0],T=$.slice(0,D),F=$.slice(D+j.length),P=A+$.length;p&&P>p.reach&&(p.reach=P);var B=k.prev;T&&(B=l(t,B,T),A+=T.length),c(t,B,S),k=l(t,B,new o(d,g?n.tokenize(j,g):j,v,j)),F&&l(t,k,F),S>1&&i(e,t,r,k.prev,A,{cause:d+","+f,reach:P})}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,r){var n=t.next,o={value:r,prev:t,next:n};return t.next=o,n.prev=o,e.length++,o}function c(e,t,r){for(var n=t.next,o=0;o<r&&n!==e.tail;o++)n=n.next;t.next=n,n.prev=t,e.length-=o}if(e.Prism=n,o.stringify=function e(t,r){if("string"==typeof t)return t;if(Array.isArray(t)){var o="";return t.forEach((function(t){o+=e(t,r)})),o}var a={type:t.type,content:e(t.content,r),tag:"span",classes:["token",t.type],attributes:{},language:r},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(a.classes,i):a.classes.push(i)),n.hooks.run("wrap",a);var s="";for(var l in a.attributes)s+=" "+l+'="'+(a.attributes[l]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+s+">"+a.content+"</"+a.tag+">"},!e.document)return e.addEventListener?(n.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var r=JSON.parse(t.data),o=r.language,a=r.code,i=r.immediateClose;e.postMessage(n.highlight(a,n.languages[o],o)),i&&e.close()}),!1),n):n;var u=n.util.currentScript();function p(){n.manual||n.highlightAll()}if(u&&(n.filename=u.src,u.hasAttribute("data-manual")&&(n.manual=!0)),!n.manual){var d=document.readyState;"loading"===d||"interactive"===d&&u&&u.defer?document.addEventListener("DOMContentLoaded",p):window.requestAnimationFrame?window.requestAnimationFrame(p):window.setTimeout(p,16)}return n}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=n),void 0!==r.g&&(r.g.Prism=n),n.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(e,t){var r={};r["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[t]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};o["language-"+t]={pattern:/[\s\S]+/,inside:n.languages[t]};var a={};a[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:o},n.languages.insertBefore("markup","cdata",a)}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml,function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:RegExp("[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),string:{pattern:t,greedy:!0},property:/(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/(^|["'\s])style\s*=\s*(?:"[^"]*"|'[^']*')/i,lookbehind:!0,inside:{"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{style:{pattern:/(["'])[\s\S]+(?=["']$)/,lookbehind:!0,alias:"language-css",inside:e.languages.css},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},"attr-name":/^style/i}}},r.tag))}(n),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|(?:get|set)(?=\s*[\[$\w\xA0-\uFFFF])|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}}}),n.languages.markup&&n.languages.markup.tag.addInlined("script","javascript"),n.languages.js=n.languages.javascript,function(){if("undefined"!=typeof self&&self.Prism&&self.document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e=window.Prism,t={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},r="data-src-status",n="loading",o="loaded",a='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',i=/\blang(?:uage)?-([\w-]+)\b/i;e.hooks.add("before-highlightall",(function(e){e.selector+=", "+a})),e.hooks.add("before-sanity-check",(function(i){var s=i.element;if(s.matches(a)){i.code="",s.setAttribute(r,n);var c=s.appendChild(document.createElement("CODE"));c.textContent="Loading…";var u=s.getAttribute("data-src"),p=i.language;if("none"===p){var d=(/\.(\w+)$/.exec(u)||[,"none"])[1];p=t[d]||d}l(c,p),l(s,p);var h=e.plugins.autoloader;h&&h.loadLanguages(p);var f=new XMLHttpRequest;f.open("GET",u,!0),f.onreadystatechange=function(){var t,n;4==f.readyState&&(f.status<400&&f.responseText?(s.setAttribute(r,o),c.textContent=f.responseText,e.highlightElement(c)):(s.setAttribute(r,"failed"),f.status>=400?c.textContent=(t=f.status,n=f.statusText,"✖ Error "+t+" while fetching file: "+n):c.textContent="✖ Error: File does not exist or is empty"))},f.send(null)}})),e.plugins.fileHighlight={highlight:function(t){for(var r,n=(t||document).querySelectorAll(a),o=0;r=n[o++];)e.highlightElement(r)}};var s=!1;e.fileHighlight=function(){s||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),s=!0),e.plugins.fileHighlight.highlight.apply(this,arguments)}}function l(e,t){var r=e.className;r=r.replace(i," ")+" language-"+t,e.className=r.replace(/\s+/g," ").trim()}}()}},n={};function o(e){var t=n[e];if(void 0!==t){if(void 0!==t.error)throw t.error;return t.exports}var a=n[e]={exports:{}};try{var i={id:e,module:a,factory:r[e],require:o};o.i.forEach((function(e){e(i)})),a=i.module,i.factory.call(a.exports,a,a.exports,i.require)}catch(e){throw a.error=e,e}return a.exports}o.m=r,o.c=n,o.i=[],o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.hu=e=>e+"."+o.h()+".hot-update.js",o.hmrF=()=>"main."+o.h()+".hot-update.json",o.h=()=>"bc26c7823f8a4a97df6d",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="rapidoc:",o.l=(r,n,a,i)=>{if(e[r])e[r].push(n);else{var s,l;if(void 0!==a)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==r||p.getAttribute("data-webpack")==t+a){s=p;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",t+a),s.src=r),e[r]=[n];var d=(t,n)=>{s.onerror=s.onload=null,clearTimeout(h);var o=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(n))),t)return t(n)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),l&&document.head.appendChild(s)}},(()=>{var e,t,r,n,a={},i=o.c,s=[],l=[],c="idle";function u(e){c=e;for(var t=0;t<l.length;t++)l[t].call(null,e)}function p(e){if(0===t.length)return e();var r=t;return t=[],Promise.all(r).then((function(){return p(e)}))}function d(e){if("idle"!==c)throw new Error("check() is only allowed in idle status");return u("check"),o.hmrM().then((function(n){if(!n)return u(m()?"ready":"idle"),null;u("prepare");var a=[];return t=[],r=[],Promise.all(Object.keys(o.hmrC).reduce((function(e,t){return o.hmrC[t](n.c,n.r,n.m,e,r,a),e}),[])).then((function(){return p((function(){return e?f(e):(u("ready"),a)}))}))}))}function h(e){return"ready"!==c?Promise.resolve().then((function(){throw new Error("apply() is only allowed in ready status")})):f(e)}function f(e){e=e||{},m();var t=r.map((function(t){return t(e)}));r=void 0;var o,a=t.map((function(e){return e.error})).filter(Boolean);if(a.length>0)return u("abort"),Promise.resolve().then((function(){throw a[0]}));u("dispose"),t.forEach((function(e){e.dispose&&e.dispose()})),u("apply");var i=function(e){o||(o=e)},s=[];return t.forEach((function(e){if(e.apply){var t=e.apply(i);if(t)for(var r=0;r<t.length;r++)s.push(t[r])}})),o?(u("fail"),Promise.resolve().then((function(){throw o}))):n?f(e).then((function(e){return s.forEach((function(t){e.indexOf(t)<0&&e.push(t)})),e})):(u("idle"),Promise.resolve(s))}function m(){if(n)return r||(r=[]),Object.keys(o.hmrI).forEach((function(e){n.forEach((function(t){o.hmrI[e](t,r)}))})),n=void 0,!0}o.hmrD=a,o.i.push((function(f){var m,g,y,b=f.module,v=function(r,n){var o=i[n];if(!o)return r;var a=function(t){if(o.hot.active){if(i[t]){var a=i[t].parents;-1===a.indexOf(n)&&a.push(n)}else s=[n],e=t;-1===o.children.indexOf(t)&&o.children.push(t)}else console.warn("[HMR] unexpected require("+t+") from disposed module "+n),s=[];return r(t)},l=function(e){return{configurable:!0,enumerable:!0,get:function(){return r[e]},set:function(t){r[e]=t}}};for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&"e"!==d&&Object.defineProperty(a,d,l(d));return a.e=function(e){return function(e){switch(c){case"ready":return u("prepare"),t.push(e),p((function(){u("ready")})),e;case"prepare":return t.push(e),e;default:return e}}(r.e(e))},a}(f.require,f.id);b.hot=(m=f.id,g=b,y={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:e!==m,_requireSelf:function(){s=g.parents.slice(),e=m,o(m)},active:!0,accept:function(e,t,r){if(void 0===e)y._selfAccepted=!0;else if("function"==typeof e)y._selfAccepted=e;else if("object"==typeof e&&null!==e)for(var n=0;n<e.length;n++)y._acceptedDependencies[e[n]]=t||function(){},y._acceptedErrorHandlers[e[n]]=r;else y._acceptedDependencies[e]=t||function(){},y._acceptedErrorHandlers[e]=r},decline:function(e){if(void 0===e)y._selfDeclined=!0;else if("object"==typeof e&&null!==e)for(var t=0;t<e.length;t++)y._declinedDependencies[e[t]]=!0;else y._declinedDependencies[e]=!0},dispose:function(e){y._disposeHandlers.push(e)},addDisposeHandler:function(e){y._disposeHandlers.push(e)},removeDisposeHandler:function(e){var t=y._disposeHandlers.indexOf(e);t>=0&&y._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,c){case"idle":r=[],Object.keys(o.hmrI).forEach((function(e){o.hmrI[e](m,r)})),u("ready");break;case"ready":Object.keys(o.hmrI).forEach((function(e){o.hmrI[e](m,r)}));break;case"prepare":case"check":case"dispose":case"apply":(n=n||[]).push(m)}},check:d,apply:h,status:function(e){if(!e)return c;l.push(e)},addStatusHandler:function(e){l.push(e)},removeStatusHandler:function(e){var t=l.indexOf(e);t>=0&&l.splice(t,1)},data:a[m]},e=void 0,y),b.parents=s,b.children=[],s=[],f.require=v})),o.hmrC={},o.hmrI={}})(),o.p="",(()=>{var e,t,r,n,a={179:0},i={};function s(e){return new Promise(((t,r)=>{i[e]=t;var n=o.p+o.hu(e),a=new Error;o.l(n,(t=>{if(i[e]){i[e]=void 0;var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;a.message="Loading hot update chunk "+e+" failed.\n("+n+": "+o+")",a.name="ChunkLoadError",a.type=n,a.request=o,r(a)}}))}))}function l(i){function s(e){for(var t=[e],r={},n=t.map((function(e){return{chain:[e],id:e}}));n.length>0;){var a=n.pop(),i=a.id,s=a.chain,c=o.c[i];if(c&&(!c.hot._selfAccepted||c.hot._selfInvalidated)){if(c.hot._selfDeclined)return{type:"self-declined",chain:s,moduleId:i};if(c.hot._main)return{type:"unaccepted",chain:s,moduleId:i};for(var u=0;u<c.parents.length;u++){var p=c.parents[u],d=o.c[p];if(d){if(d.hot._declinedDependencies[i])return{type:"declined",chain:s.concat([p]),moduleId:i,parentId:p};-1===t.indexOf(p)&&(d.hot._acceptedDependencies[i]?(r[p]||(r[p]=[]),l(r[p],[i])):(delete r[p],t.push(p),n.push({chain:s.concat([p]),id:p})))}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:r}}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];-1===e.indexOf(n)&&e.push(n)}}o.f&&delete o.f.jsonpHmr,e=void 0;var c={},u=[],p={},d=function(e){console.warn("[HMR] unexpected require("+e.id+") to disposed module")};for(var h in t)if(o.o(t,h)){var f,m=t[h],g=!1,y=!1,b=!1,v="";switch((f=m?s(h):{type:"disposed",moduleId:h}).chain&&(v="\nUpdate propagation: "+f.chain.join(" -> ")),f.type){case"self-declined":i.onDeclined&&i.onDeclined(f),i.ignoreDeclined||(g=new Error("Aborted because of self decline: "+f.moduleId+v));break;case"declined":i.onDeclined&&i.onDeclined(f),i.ignoreDeclined||(g=new Error("Aborted because of declined dependency: "+f.moduleId+" in "+f.parentId+v));break;case"unaccepted":i.onUnaccepted&&i.onUnaccepted(f),i.ignoreUnaccepted||(g=new Error("Aborted because "+h+" is not accepted"+v));break;case"accepted":i.onAccepted&&i.onAccepted(f),y=!0;break;case"disposed":i.onDisposed&&i.onDisposed(f),b=!0;break;default:throw new Error("Unexception type "+f.type)}if(g)return{error:g};if(y)for(h in p[h]=m,l(u,f.outdatedModules),f.outdatedDependencies)o.o(f.outdatedDependencies,h)&&(c[h]||(c[h]=[]),l(c[h],f.outdatedDependencies[h]));b&&(l(u,[f.moduleId]),p[h]=d)}t=void 0;for(var x,w=[],k=0;k<u.length;k++){var A=u[k],$=o.c[A];$&&$.hot._selfAccepted&&p[A]!==d&&!$.hot._selfInvalidated&&w.push({module:A,require:$.hot._requireSelf,errorHandler:$.hot._selfAccepted})}return{dispose:function(){var e;r.forEach((function(e){delete a[e]})),r=void 0;for(var t,n=u.slice();n.length>0;){var i=n.pop(),s=o.c[i];if(s){var l={},p=s.hot._disposeHandlers;for(k=0;k<p.length;k++)p[k].call(null,l);for(o.hmrD[i]=l,s.hot.active=!1,delete o.c[i],delete c[i],k=0;k<s.children.length;k++){var d=o.c[s.children[k]];d&&((e=d.parents.indexOf(i))>=0&&d.parents.splice(e,1))}}}for(var h in c)if(o.o(c,h)&&(s=o.c[h]))for(x=c[h],k=0;k<x.length;k++)t=x[k],(e=s.children.indexOf(t))>=0&&s.children.splice(e,1)},apply:function(e){for(var t in p)o.o(p,t)&&(o.m[t]=p[t]);for(var r=0;r<n.length;r++)n[r](o);for(var a in c)if(o.o(c,a)){var s=o.c[a];if(s){x=c[a];for(var l=[],d=[],h=[],f=0;f<x.length;f++){var m=x[f],g=s.hot._acceptedDependencies[m],y=s.hot._acceptedErrorHandlers[m];if(g){if(-1!==l.indexOf(g))continue;l.push(g),d.push(y),h.push(m)}}for(var b=0;b<l.length;b++)try{l[b].call(null,x)}catch(t){if("function"==typeof d[b])try{d[b](t,{moduleId:a,dependencyId:h[b]})}catch(r){i.onErrored&&i.onErrored({type:"accept-error-handler-errored",moduleId:a,dependencyId:h[b],error:r,originalError:t}),i.ignoreErrored||(e(r),e(t))}else i.onErrored&&i.onErrored({type:"accept-errored",moduleId:a,dependencyId:h[b],error:t}),i.ignoreErrored||e(t)}}}for(var v=0;v<w.length;v++){var k=w[v],A=k.module;try{k.require(A)}catch(t){if("function"==typeof k.errorHandler)try{k.errorHandler(t,{moduleId:A,module:o.c[A]})}catch(r){i.onErrored&&i.onErrored({type:"self-accept-error-handler-errored",moduleId:A,error:r,originalError:t}),i.ignoreErrored||(e(r),e(t))}else i.onErrored&&i.onErrored({type:"self-accept-errored",moduleId:A,error:t}),i.ignoreErrored||e(t)}}return u}}}self.webpackHotUpdaterapidoc=(e,r,a)=>{for(var s in r)o.o(r,s)&&(t[s]=r[s]);a&&n.push(a),i[e]&&(i[e](),i[e]=void 0)},o.hmrI.jsonp=function(e,a){t||(t={},n=[],r=[],a.push(l)),o.o(t,e)||(t[e]=o.m[e])},o.hmrC.jsonp=function(i,c,u,p,d,h){d.push(l),e={},r=c,t=u.reduce((function(e,t){return e[t]=!1,e}),{}),n=[],i.forEach((function(t){o.o(a,t)&&void 0!==a[t]&&(p.push(s(t)),e[t]=!0)})),o.f&&(o.f.jsonpHmr=function(t,r){e&&!o.o(e,t)&&o.o(a,t)&&void 0!==a[t]&&(r.push(s(t)),e[t]=!0)})},o.hmrM=()=>{if("undefined"==typeof fetch)throw new Error("No browser support: need fetch API");return fetch(o.p+o.hmrF()).then((e=>{if(404!==e.status){if(!e.ok)throw new Error("Failed to fetch update manifest "+e.statusText);return e.json()}}))}})();o(652)})(); //# sourceMappingURL=rapidoc-min.js.map \ No newline at end of file -- GitLab