@redocly/openapi-docs 3.0.0-alpha.23 → 3.0.0-alpha.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/console.redocly-openapi-docs.min.js +2 -2
  2. package/dist/oauth2-redirect.js +1 -1
  3. package/dist/redocly-openapi-docs.min.js +751 -754
  4. package/lib/components/ApiInfo/ApiInfo.js +1 -1
  5. package/lib/models/example.js +1 -1
  6. package/lib/models/field.js +1 -1
  7. package/lib/models/group.js +1 -1
  8. package/lib/models/operation.js +1 -1
  9. package/lib/models/request.js +1 -1
  10. package/lib/models/response.js +1 -1
  11. package/lib/models/schema.js +1 -1
  12. package/lib/models/security.js +1 -1
  13. package/lib/services/OpenAPIParser.js +1 -1
  14. package/lib/services/menu/builder.js +1 -1
  15. package/lib/services/menu/tags.js +1 -1
  16. package/lib/types/open-api.d.ts +35 -29
  17. package/lib/utils/helpers.d.ts +2 -1
  18. package/lib/utils/helpers.js +1 -1
  19. package/lib/utils/openapi.d.ts +2 -4
  20. package/lib/utils/openapi.js +1 -1
  21. package/lib-esm/components/ApiInfo/ApiInfo.js +1 -1
  22. package/lib-esm/models/example.js +1 -1
  23. package/lib-esm/models/field.js +1 -1
  24. package/lib-esm/models/group.js +1 -1
  25. package/lib-esm/models/operation.js +1 -1
  26. package/lib-esm/models/request.js +1 -1
  27. package/lib-esm/models/response.js +1 -1
  28. package/lib-esm/models/schema.js +1 -1
  29. package/lib-esm/models/security.js +1 -1
  30. package/lib-esm/services/OpenAPIParser.js +1 -1
  31. package/lib-esm/services/menu/builder.js +1 -1
  32. package/lib-esm/services/menu/tags.js +1 -1
  33. package/lib-esm/types/open-api.d.ts +35 -29
  34. package/lib-esm/utils/helpers.d.ts +2 -1
  35. package/lib-esm/utils/helpers.js +1 -1
  36. package/lib-esm/utils/openapi.d.ts +2 -4
  37. package/lib-esm/utils/openapi.js +1 -1
  38. package/package.json +2 -2
@@ -2,7 +2,7 @@
2
2
  * Redocly OpenAPI Docs
3
3
  * (c) Copyright 2018 Redocly LLC, all rights reserved.
4
4
  * -------------------------------------------------------------
5
- * Version: "3.0.0-alpha.23"
5
+ * Version: "3.0.0-alpha.24"
6
6
  */(this.webpackChunkRedoclyOpenAPIDocs=this.webpackChunkRedoclyOpenAPIDocs||[]).push([[290],{62680:(h,O,o)=>{"use strict";var d=o(67286),x=o(89429),w=x(d("String.prototype.indexOf"));h.exports=function(T,F){var U=d(T,!!F);return typeof U=="function"&&w(T,".prototype.")>-1?x(U):U}},89429:(h,O,o)=>{"use strict";var d=o(4090),x=o(67286),w=x("%Function.prototype.apply%"),C=x("%Function.prototype.call%"),T=x("%Reflect.apply%",!0)||d.call(C,w),F=x("%Object.getOwnPropertyDescriptor%",!0),U=x("%Object.defineProperty%",!0),Z=x("%Math.max%");if(U)try{U({},"a",{value:1})}catch(ue){U=null}h.exports=function(ne){var oe=T(d,C,arguments);if(F&&U){var Y=F(oe,"length");Y.configurable&&U(oe,"length",{value:1+Z(0,ne.length-(arguments.length-1))})}return oe};var ee=function(){return T(d,w,arguments)};U?U(h.exports,"apply",{value:ee}):h.exports.apply=ee},61682:(h,O,o)=>{(function(d){d(o(23326))})(function(d){var x={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},w=d.Pos;d.defineOption("autoCloseBrackets",!1,function(L,E,k){k&&k!=d.Init&&(L.removeKeyMap(T),L.state.closeBrackets=null),E&&(F(C(E,"pairs")),L.state.closeBrackets=E,L.addKeyMap(T))});function C(L,E){return E=="pairs"&&typeof L=="string"?L:typeof L=="object"&&L[E]!=null?L[E]:x[E]}var T={Backspace:ee,Enter:ue};function F(L){for(var E=0;E<L.length;E++){var k=L.charAt(E),V="'"+k+"'";T[V]||(T[V]=U(k))}}F(x.pairs+"`");function U(L){return function(E){return Y(E,L)}}function Z(L){var E=L.state.closeBrackets;if(!E||E.override)return E;var k=L.getModeAt(L.getCursor());return k.closeBrackets||E}function ee(L){var E=Z(L);if(!E||L.getOption("disableInput"))return d.Pass;for(var k=C(E,"pairs"),V=L.listSelections(),G=0;G<V.length;G++){if(!V[G].empty())return d.Pass;var Q=A(L,V[G].head);if(!Q||k.indexOf(Q)%2!=0)return d.Pass}for(var G=V.length-1;G>=0;G--){var W=V[G].head;L.replaceRange("",w(W.line,W.ch-1),w(W.line,W.ch+1),"+delete")}}function ue(L){var E=Z(L),k=E&&C(E,"explode");if(!k||L.getOption("disableInput"))return d.Pass;for(var V=L.listSelections(),G=0;G<V.length;G++){if(!V[G].empty())return d.Pass;var Q=A(L,V[G].head);if(!Q||k.indexOf(Q)%2!=0)return d.Pass}L.operation(function(){var W=L.lineSeparator()||`
7
7
  `;L.replaceSelection(W+W,null),ne(L,-1),V=L.listSelections();for(var te=0;te<V.length;te++){var K=V[te].head.line;L.indentLine(K,null,!0),L.indentLine(K+1,null,!0)}})}function ne(L,E){for(var k=[],V=L.listSelections(),G=0,Q=0;Q<V.length;Q++){var W=V[Q];W.head==L.getCursor()&&(G=Q);var te=W.head.ch||E>0?{line:W.head.line,ch:W.head.ch+E}:{line:W.head.line-1};k.push({anchor:te,head:te})}L.setSelections(k,G)}function oe(L){var E=d.cmpPos(L.anchor,L.head)>0;return{anchor:new w(L.anchor.line,L.anchor.ch+(E?-1:1)),head:new w(L.head.line,L.head.ch+(E?1:-1))}}function Y(L,E){var k=Z(L);if(!k||L.getOption("disableInput"))return d.Pass;var V=C(k,"pairs"),G=V.indexOf(E);if(G==-1)return d.Pass;for(var Q=C(k,"closeBefore"),W=C(k,"triples"),te=V.charAt(G+1)==E,K=L.listSelections(),H=G%2==0,fe,ve=0;ve<K.length;ve++){var _=K[ve],X=_.head,z,ge=L.getRange(X,w(X.line,X.ch+1));if(H&&!_.empty())z="surround";else if((te||!H)&&ge==E)te&&J(L,X)?z="both":W.indexOf(E)>=0&&L.getRange(X,w(X.line,X.ch+3))==E+E+E?z="skipThree":z="skip";else if(te&&X.ch>1&&W.indexOf(E)>=0&&L.getRange(w(X.line,X.ch-2),X)==E+E){if(X.ch>2&&/\bstring/.test(L.getTokenTypeAt(w(X.line,X.ch-2))))return d.Pass;z="addFour"}else if(te){var Oe=X.ch==0?" ":L.getRange(w(X.line,X.ch-1),X);if(!d.isWordChar(ge)&&Oe!=E&&!d.isWordChar(Oe))z="both";else return d.Pass}else if(H&&(ge.length===0||/\s/.test(ge)||Q.indexOf(ge)>-1))z="both";else return d.Pass;if(!fe)fe=z;else if(fe!=z)return d.Pass}var Ue=G%2?V.charAt(G-1):E,Re=G%2?E:V.charAt(G+1);L.operation(function(){if(fe=="skip")ne(L,1);else if(fe=="skipThree")ne(L,3);else if(fe=="surround"){for(var ot=L.getSelections(),Xe=0;Xe<ot.length;Xe++)ot[Xe]=Ue+ot[Xe]+Re;L.replaceSelections(ot,"around"),ot=L.listSelections().slice();for(var Xe=0;Xe<ot.length;Xe++)ot[Xe]=oe(ot[Xe]);L.setSelections(ot)}else fe=="both"?(L.replaceSelection(Ue+Re,null),L.triggerElectric(Ue+Re),ne(L,-1)):fe=="addFour"&&(L.replaceSelection(Ue+Ue+Ue+Ue,"before"),ne(L,1))})}function A(L,E){var k=L.getRange(w(E.line,E.ch-1),w(E.line,E.ch+1));return k.length==2?k:null}function J(L,E){var k=L.getTokenAt(w(E.line,E.ch+1));return/\bstring/.test(k.type)&&k.start==E.ch&&(E.ch==0||!/\bstring/.test(L.getTokenTypeAt(E)))}})},32407:(h,O,o)=>{(function(d){d(o(23326))})(function(d){var x=/MSIE \d/.test(navigator.userAgent)&&(document.documentMode==null||document.documentMode<8),w=d.Pos,C={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function T(ne){return ne&&ne.bracketRegex||/[(){}[\]]/}function F(ne,oe,Y){var A=ne.getLineHandle(oe.line),J=oe.ch-1,L=Y&&Y.afterCursor;L==null&&(L=/(^| )cm-fat-cursor($| )/.test(ne.getWrapperElement().className));var E=T(Y),k=!L&&J>=0&&E.test(A.text.charAt(J))&&C[A.text.charAt(J)]||E.test(A.text.charAt(J+1))&&C[A.text.charAt(++J)];if(!k)return null;var V=k.charAt(1)==">"?1:-1;if(Y&&Y.strict&&V>0!=(J==oe.ch))return null;var G=ne.getTokenTypeAt(w(oe.line,J+1)),Q=U(ne,w(oe.line,J+(V>0?1:0)),V,G,Y);return Q==null?null:{from:w(oe.line,J),to:Q&&Q.pos,match:Q&&Q.ch==k.charAt(0),forward:V>0}}function U(ne,oe,Y,A,J){for(var L=J&&J.maxScanLineLength||1e4,E=J&&J.maxScanLines||1e3,k=[],V=T(J),G=Y>0?Math.min(oe.line+E,ne.lastLine()+1):Math.max(ne.firstLine()-1,oe.line-E),Q=oe.line;Q!=G;Q+=Y){var W=ne.getLine(Q);if(!!W){var te=Y>0?0:W.length-1,K=Y>0?W.length:-1;if(!(W.length>L))for(Q==oe.line&&(te=oe.ch-(Y<0?1:0));te!=K;te+=Y){var H=W.charAt(te);if(V.test(H)&&(A===void 0||(ne.getTokenTypeAt(w(Q,te+1))||"")==(A||""))){var fe=C[H];if(fe&&fe.charAt(1)==">"==Y>0)k.push(H);else if(k.length)k.pop();else return{pos:w(Q,te),ch:H}}}}}return Q-Y==(Y>0?ne.lastLine():ne.firstLine())?!1:null}function Z(ne,oe,Y){for(var A=ne.state.matchBrackets.maxHighlightLineLength||1e3,J=Y&&Y.highlightNonMatching,L=[],E=ne.listSelections(),k=0;k<E.length;k++){var V=E[k].empty()&&F(ne,E[k].head,Y);if(V&&(V.match||J!==!1)&&ne.getLine(V.from.line).length<=A){var G=V.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";L.push(ne.markText(V.from,w(V.from.line,V.from.ch+1),{className:G})),V.to&&ne.getLine(V.to.line).length<=A&&L.push(ne.markText(V.to,w(V.to.line,V.to.ch+1),{className:G}))}}if(L.length){x&&ne.state.focused&&ne.focus();var Q=function(){ne.operation(function(){for(var W=0;W<L.length;W++)L[W].clear()})};if(oe)setTimeout(Q,800);else return Q}}function ee(ne){ne.operation(function(){ne.state.matchBrackets.currentlyHighlighted&&(ne.state.matchBrackets.currentlyHighlighted(),ne.state.matchBrackets.currentlyHighlighted=null),ne.state.matchBrackets.currentlyHighlighted=Z(ne,!1,ne.state.matchBrackets)})}function ue(ne){ne.state.matchBrackets&&ne.state.matchBrackets.currentlyHighlighted&&(ne.state.matchBrackets.currentlyHighlighted(),ne.state.matchBrackets.currentlyHighlighted=null)}d.defineOption("matchBrackets",!1,function(ne,oe,Y){Y&&Y!=d.Init&&(ne.off("cursorActivity",ee),ne.off("focus",ee),ne.off("blur",ue),ue(ne)),oe&&(ne.state.matchBrackets=typeof oe=="object"?oe:{},ne.on("cursorActivity",ee),ne.on("focus",ee),ne.on("blur",ue))}),d.defineExtension("matchBrackets",function(){Z(this,!0)}),d.defineExtension("findMatchingBracket",function(ne,oe,Y){return(Y||typeof oe=="boolean")&&(Y?(Y.strict=oe,oe=Y):oe=oe?{strict:!0}:null),F(this,ne,oe)}),d.defineExtension("scanForBracket",function(ne,oe,Y,A){return U(this,ne,oe,Y,A)})})},22130:(h,O,o)=>{(function(d){d(o(23326))})(function(d){"use strict";var x="CodeMirror-hint",w="CodeMirror-hint-active";d.showHint=function(L,E,k){if(!E)return L.showHint(k);k&&k.async&&(E.async=!0);var V={hint:E};if(k)for(var G in k)V[G]=k[G];return L.showHint(V)},d.defineExtension("showHint",function(L){L=U(this,this.getCursor("start"),L);var E=this.listSelections();if(!(E.length>1)){if(this.somethingSelected()){if(!L.hint.supportsSelection)return;for(var k=0;k<E.length;k++)if(E[k].head.line!=E[k].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var V=this.state.completionActive=new C(this,L);!V.options.hint||(d.signal(this,"startCompletion",this),V.update(!0))}}),d.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function C(L,E){if(this.cm=L,this.options=E,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var k=this;L.on("cursorActivity",this.activityFunc=function(){k.cursorActivity()})}}var T=window.requestAnimationFrame||function(L){return setTimeout(L,1e3/60)},F=window.cancelAnimationFrame||clearTimeout;C.prototype={close:function(){!this.active()||(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&d.signal(this.data,"close"),this.widget&&this.widget.close(),d.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(L,E){var k=L.list[E],V=this;this.cm.operation(function(){k.hint?k.hint(V.cm,L,k):V.cm.replaceRange(Z(k),k.from||L.from,k.to||L.to,"complete"),d.signal(L,"pick",k),V.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(F(this.debounce),this.debounce=0);var L=this.startPos;this.data&&(L=this.data.from);var E=this.cm.getCursor(),k=this.cm.getLine(E.line);if(E.line!=this.startPos.line||k.length-E.ch!=this.startLen-this.startPos.ch||E.ch<L.ch||this.cm.somethingSelected()||!E.ch||this.options.closeCharacters.test(k.charAt(E.ch-1)))this.close();else{var V=this;this.debounce=T(function(){V.update()}),this.widget&&this.widget.disable()}},update:function(L){if(this.tick!=null){var E=this,k=++this.tick;Y(this.options.hint,this.cm,this.options,function(V){E.tick==k&&E.finishUpdate(V,L)})}},finishUpdate:function(L,E){this.data&&d.signal(this.data,"update");var k=this.widget&&this.widget.picked||E&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=L,L&&L.list.length&&(k&&L.list.length==1?this.pick(L,0):(this.widget=new ne(this,L),d.signal(L,"shown")))}};function U(L,E,k){var V=L.options.hintOptions,G={};for(var Q in J)G[Q]=J[Q];if(V)for(var Q in V)V[Q]!==void 0&&(G[Q]=V[Q]);if(k)for(var Q in k)k[Q]!==void 0&&(G[Q]=k[Q]);return G.hint.resolve&&(G.hint=G.hint.resolve(L,E)),G}function Z(L){return typeof L=="string"?L:L.text}function ee(L,E){var k={Up:function(){E.moveFocus(-1)},Down:function(){E.moveFocus(1)},PageUp:function(){E.moveFocus(-E.menuSize()+1,!0)},PageDown:function(){E.moveFocus(E.menuSize()-1,!0)},Home:function(){E.setFocus(0)},End:function(){E.setFocus(E.length-1)},Enter:E.pick,Tab:E.pick,Esc:E.close},V=/Mac/.test(navigator.platform);V&&(k["Ctrl-P"]=function(){E.moveFocus(-1)},k["Ctrl-N"]=function(){E.moveFocus(1)});var G=L.options.customKeys,Q=G?{}:k;function W(H,fe){var ve;typeof fe!="string"?ve=function(_){return fe(_,E)}:k.hasOwnProperty(fe)?ve=k[fe]:ve=fe,Q[H]=ve}if(G)for(var te in G)G.hasOwnProperty(te)&&W(te,G[te]);var K=L.options.extraKeys;if(K)for(var te in K)K.hasOwnProperty(te)&&W(te,K[te]);return Q}function ue(L,E){for(;E&&E!=L;){if(E.nodeName.toUpperCase()==="LI"&&E.parentNode==L)return E;E=E.parentNode}}function ne(L,E){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=L,this.data=E,this.picked=!1;var k=this,V=L.cm,G=V.getInputField().ownerDocument,Q=G.defaultView||G.parentWindow,W=this.hints=G.createElement("ul");W.setAttribute("role","listbox"),W.setAttribute("aria-expanded","true"),W.id=this.id;var te=L.cm.options.theme;W.className="CodeMirror-hints "+te,this.selectedHint=E.selectedHint||0;for(var K=E.list,H=0;H<K.length;++H){var fe=W.appendChild(G.createElement("li")),ve=K[H],_=x+(H!=this.selectedHint?"":" "+w);ve.className!=null&&(_=ve.className+" "+_),fe.className=_,H==this.selectedHint&&fe.setAttribute("aria-selected","true"),fe.id=this.id+"-"+H,fe.setAttribute("role","option"),ve.render?ve.render(fe,E,ve):fe.appendChild(G.createTextNode(ve.displayText||Z(ve))),fe.hintId=H}var X=L.options.container||G.body,z=V.cursorCoords(L.options.alignWithWord?E.from:null),ge=z.left,Oe=z.bottom,Ue=!0,Re=0,ot=0;if(X!==G.body){var Xe=["absolute","relative","fixed"].indexOf(Q.getComputedStyle(X).position)!==-1,xt=Xe?X:X.offsetParent,Pt=xt.getBoundingClientRect(),Ct=G.body.getBoundingClientRect();Re=Pt.left-Ct.left-xt.scrollLeft,ot=Pt.top-Ct.top-xt.scrollTop}W.style.left=ge-Re+"px",W.style.top=Oe-ot+"px";var Le=Q.innerWidth||Math.max(G.body.offsetWidth,G.documentElement.offsetWidth),Ce=Q.innerHeight||Math.max(G.body.offsetHeight,G.documentElement.offsetHeight);X.appendChild(W),V.getInputField().setAttribute("aria-autocomplete","list"),V.getInputField().setAttribute("aria-owns",this.id),V.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var Se=L.options.moveOnOverlap?W.getBoundingClientRect():new DOMRect,De=L.options.paddingForScrollbar?W.scrollHeight>W.clientHeight+1:!1,$e;setTimeout(function(){$e=V.getScrollInfo()});var tt=Se.bottom-Ce;if(tt>0){var _e=Se.bottom-Se.top,St=Se.top-(z.bottom-z.top)-2;Ce-Se.top<St?(_e>St&&(W.style.height=(_e=St)+"px"),W.style.top=(Oe=z.top-_e)+ot+"px",Ue=!1):W.style.height=Ce-Se.top-2+"px"}var It=Se.right-Le;if(De&&(It+=V.display.nativeBarWidth),It>0&&(Se.right-Se.left>Le&&(W.style.width=Le-5+"px",It-=Se.right-Se.left-Le),W.style.left=(ge=Math.max(z.left-It-Re,0))+"px"),De)for(var Wt=W.firstChild;Wt;Wt=Wt.nextSibling)Wt.style.paddingRight=V.display.nativeBarWidth+"px";if(V.addKeyMap(this.keyMap=ee(L,{moveFocus:function(Ot,st){k.changeActive(k.selectedHint+Ot,st)},setFocus:function(Ot){k.changeActive(Ot)},menuSize:function(){return k.screenAmount()},length:K.length,close:function(){L.close()},pick:function(){k.pick()},data:E})),L.options.closeOnUnfocus){var Kt;V.on("blur",this.onBlur=function(){Kt=setTimeout(function(){L.close()},100)}),V.on("focus",this.onFocus=function(){clearTimeout(Kt)})}V.on("scroll",this.onScroll=function(){var Ot=V.getScrollInfo(),st=V.getWrapperElement().getBoundingClientRect();$e||($e=V.getScrollInfo());var qr=Oe+$e.top-Ot.top,Qe=qr-(Q.pageYOffset||(G.documentElement||G.body).scrollTop);if(Ue||(Qe+=W.offsetHeight),Qe<=st.top||Qe>=st.bottom)return L.close();W.style.top=qr+"px",W.style.left=ge+$e.left-Ot.left+"px"}),d.on(W,"dblclick",function(Ot){var st=ue(W,Ot.target||Ot.srcElement);st&&st.hintId!=null&&(k.changeActive(st.hintId),k.pick())}),d.on(W,"click",function(Ot){var st=ue(W,Ot.target||Ot.srcElement);st&&st.hintId!=null&&(k.changeActive(st.hintId),L.options.completeOnSingleClick&&k.pick())}),d.on(W,"mousedown",function(){setTimeout(function(){V.focus()},20)});var We=this.getSelectedHintRange();return(We.from!==0||We.to!==0)&&this.scrollToActive(),d.signal(E,"select",K[this.selectedHint],W.childNodes[this.selectedHint]),!0}ne.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var L=this.completion.cm.getInputField();L.removeAttribute("aria-activedescendant"),L.removeAttribute("aria-owns");var E=this.completion.cm;this.completion.options.closeOnUnfocus&&(E.off("blur",this.onBlur),E.off("focus",this.onFocus)),E.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var L=this;this.keyMap={Enter:function(){L.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(L,E){if(L>=this.data.list.length?L=E?this.data.list.length-1:0:L<0&&(L=E?0:this.data.list.length-1),this.selectedHint!=L){var k=this.hints.childNodes[this.selectedHint];k&&(k.className=k.className.replace(" "+w,""),k.removeAttribute("aria-selected")),k=this.hints.childNodes[this.selectedHint=L],k.className+=" "+w,k.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",k.id),this.scrollToActive(),d.signal(this.data,"select",this.data.list[this.selectedHint],k)}},scrollToActive:function(){var L=this.getSelectedHintRange(),E=this.hints.childNodes[L.from],k=this.hints.childNodes[L.to],V=this.hints.firstChild;E.offsetTop<this.hints.scrollTop?this.hints.scrollTop=E.offsetTop-V.offsetTop:k.offsetTop+k.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=k.offsetTop+k.offsetHeight-this.hints.clientHeight+V.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var L=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-L),to:Math.min(this.data.list.length-1,this.selectedHint+L)}}};function oe(L,E){if(!L.somethingSelected())return E;for(var k=[],V=0;V<E.length;V++)E[V].supportsSelection&&k.push(E[V]);return k}function Y(L,E,k,V){if(L.async)L(E,V,k);else{var G=L(E,k);G&&G.then?G.then(V):V(G)}}function A(L,E){var k=L.getHelpers(E,"hint"),V;if(k.length){var G=function(Q,W,te){var K=oe(Q,k);function H(fe){if(fe==K.length)return W(null);Y(K[fe],Q,te,function(ve){ve&&ve.list.length>0?W(ve):H(fe+1)})}H(0)};return G.async=!0,G.supportsSelection=!0,G}else return(V=L.getHelper(L.getCursor(),"hintWords"))?function(Q){return d.hint.fromList(Q,{words:V})}:d.hint.anyword?function(Q,W){return d.hint.anyword(Q,W)}:function(){}}d.registerHelper("hint","auto",{resolve:A}),d.registerHelper("hint","fromList",function(L,E){var k=L.getCursor(),V=L.getTokenAt(k),G,Q=d.Pos(k.line,V.start),W=k;V.start<k.ch&&/\w/.test(V.string.charAt(k.ch-V.start-1))?G=V.string.substr(0,k.ch-V.start):(G="",Q=k);for(var te=[],K=0;K<E.words.length;K++){var H=E.words[K];H.slice(0,G.length)==G&&te.push(H)}if(te.length)return{list:te,from:Q,to:W}}),d.commands.autocomplete=d.showHint;var J={hint:d.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};d.defineOption("hintOptions",null)})},29387:(h,O,o)=>{(function(d){d(o(23326))})(function(d){"use strict";var x="CodeMirror-lint-markers",w="CodeMirror-lint-line-";function C(W,te,K){var H=document.createElement("div");H.className="CodeMirror-lint-tooltip cm-s-"+W.options.theme,H.appendChild(K.cloneNode(!0)),W.state.lint.options.selfContain?W.getWrapperElement().appendChild(H):document.body.appendChild(H);function fe(ve){if(!H.parentNode)return d.off(document,"mousemove",fe);H.style.top=Math.max(0,ve.clientY-H.offsetHeight-5)+"px",H.style.left=ve.clientX+5+"px"}return d.on(document,"mousemove",fe),fe(te),H.style.opacity!=null&&(H.style.opacity=1),H}function T(W){W.parentNode&&W.parentNode.removeChild(W)}function F(W){!W.parentNode||(W.style.opacity==null&&T(W),W.style.opacity=0,setTimeout(function(){T(W)},600))}function U(W,te,K,H){var fe=C(W,te,K);function ve(){d.off(H,"mouseout",ve),fe&&(F(fe),fe=null)}var _=setInterval(function(){if(fe)for(var X=H;;X=X.parentNode){if(X&&X.nodeType==11&&(X=X.host),X==document.body)return;if(!X){ve();break}}if(!fe)return clearInterval(_)},400);d.on(H,"mouseout",ve)}function Z(W,te,K){this.marked=[],te instanceof Function&&(te={getAnnotations:te}),(!te||te===!0)&&(te={}),this.options={},this.linterOptions=te.options||{};for(var H in ee)this.options[H]=ee[H];for(var H in te)ee.hasOwnProperty(H)?te[H]!=null&&(this.options[H]=te[H]):te.options||(this.linterOptions[H]=te[H]);this.timeout=null,this.hasGutter=K,this.onMouseOver=function(fe){Q(W,fe)},this.waitingFor=0}var ee={highlightLines:!1,tooltips:!0,delay:500,lintOnChange:!0,getAnnotations:null,async:!1,selfContain:null,formatAnnotation:null,onUpdateLinting:null};function ue(W){var te=W.state.lint;te.hasGutter&&W.clearGutter(x),te.options.highlightLines&&ne(W);for(var K=0;K<te.marked.length;++K)te.marked[K].clear();te.marked.length=0}function ne(W){W.eachLine(function(te){var K=te.wrapClass&&/\bCodeMirror-lint-line-\w+\b/.exec(te.wrapClass);K&&W.removeLineClass(te,"wrap",K[0])})}function oe(W,te,K,H,fe){var ve=document.createElement("div"),_=ve;return ve.className="CodeMirror-lint-marker CodeMirror-lint-marker-"+K,H&&(_=ve.appendChild(document.createElement("div")),_.className="CodeMirror-lint-marker CodeMirror-lint-marker-multiple"),fe!=!1&&d.on(_,"mouseover",function(X){U(W,X,te,_)}),ve}function Y(W,te){return W=="error"?W:te}function A(W){for(var te=[],K=0;K<W.length;++K){var H=W[K],fe=H.from.line;(te[fe]||(te[fe]=[])).push(H)}return te}function J(W){var te=W.severity;te||(te="error");var K=document.createElement("div");return K.className="CodeMirror-lint-message CodeMirror-lint-message-"+te,typeof W.messageHTML!="undefined"?K.innerHTML=W.messageHTML:K.appendChild(document.createTextNode(W.message)),K}function L(W,te){var K=W.state.lint,H=++K.waitingFor;function fe(){H=-1,W.off("change",fe)}W.on("change",fe),te(W.getValue(),function(ve,_){W.off("change",fe),K.waitingFor==H&&(_&&ve instanceof d&&(ve=_),W.operation(function(){k(W,ve)}))},K.linterOptions,W)}function E(W){var te=W.state.lint;if(!!te){var K=te.options,H=K.getAnnotations||W.getHelper(d.Pos(0,0),"lint");if(!!H)if(K.async||H.async)L(W,H);else{var fe=H(W.getValue(),te.linterOptions,W);if(!fe)return;fe.then?fe.then(function(ve){W.operation(function(){k(W,ve)})}):W.operation(function(){k(W,fe)})}}}function k(W,te){var K=W.state.lint;if(!!K){var H=K.options;ue(W);for(var fe=A(te),ve=0;ve<fe.length;++ve){var _=fe[ve];if(!!_){var X=[];_=_.filter(function(ot){return X.indexOf(ot.message)>-1?!1:X.push(ot.message)});for(var z=null,ge=K.hasGutter&&document.createDocumentFragment(),Oe=0;Oe<_.length;++Oe){var Ue=_[Oe],Re=Ue.severity;Re||(Re="error"),z=Y(z,Re),H.formatAnnotation&&(Ue=H.formatAnnotation(Ue)),K.hasGutter&&ge.appendChild(J(Ue)),Ue.to&&K.marked.push(W.markText(Ue.from,Ue.to,{className:"CodeMirror-lint-mark CodeMirror-lint-mark-"+Re,__annotation:Ue}))}K.hasGutter&&W.setGutterMarker(ve,x,oe(W,ge,z,fe[ve].length>1,H.tooltips)),H.highlightLines&&W.addLineClass(ve,"wrap",w+z)}}H.onUpdateLinting&&H.onUpdateLinting(te,fe,W)}}function V(W){var te=W.state.lint;!te||(clearTimeout(te.timeout),te.timeout=setTimeout(function(){E(W)},te.options.delay))}function G(W,te,K){for(var H=K.target||K.srcElement,fe=document.createDocumentFragment(),ve=0;ve<te.length;ve++){var _=te[ve];fe.appendChild(J(_))}U(W,K,fe,H)}function Q(W,te){var K=te.target||te.srcElement;if(!!/\bCodeMirror-lint-mark-/.test(K.className)){for(var H=K.getBoundingClientRect(),fe=(H.left+H.right)/2,ve=(H.top+H.bottom)/2,_=W.findMarksAt(W.coordsChar({left:fe,top:ve},"client")),X=[],z=0;z<_.length;++z){var ge=_[z].__annotation;ge&&X.push(ge)}X.length&&G(W,X,te)}}d.defineOption("lint",!1,function(W,te,K){if(K&&K!=d.Init&&(ue(W),W.state.lint.options.lintOnChange!==!1&&W.off("change",V),d.off(W.getWrapperElement(),"mouseover",W.state.lint.onMouseOver),clearTimeout(W.state.lint.timeout),delete W.state.lint),te){for(var H=W.getOption("gutters"),fe=!1,ve=0;ve<H.length;++ve)H[ve]==x&&(fe=!0);var _=W.state.lint=new Z(W,te,fe);_.options.lintOnChange&&W.on("change",V),_.options.tooltips!=!1&&_.options.tooltips!="gutter"&&d.on(W.getWrapperElement(),"mouseover",_.onMouseOver),E(W)}}),d.defineExtension("performLint",function(){E(this)})})},19757:(h,O,o)=>{(function(d){d(o(23326))})(function(d){"use strict";var x=d.Pos;function w(E){var k=E.flags;return k!=null?k:(E.ignoreCase?"i":"")+(E.global?"g":"")+(E.multiline?"m":"")}function C(E,k){for(var V=w(E),G=V,Q=0;Q<k.length;Q++)G.indexOf(k.charAt(Q))==-1&&(G+=k.charAt(Q));return V==G?E:new RegExp(E.source,G)}function T(E){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(E.source)}function F(E,k,V){k=C(k,"g");for(var G=V.line,Q=V.ch,W=E.lastLine();G<=W;G++,Q=0){k.lastIndex=Q;var te=E.getLine(G),K=k.exec(te);if(K)return{from:x(G,K.index),to:x(G,K.index+K[0].length),match:K}}}function U(E,k,V){if(!T(k))return F(E,k,V);k=C(k,"gm");for(var G,Q=1,W=V.line,te=E.lastLine();W<=te;){for(var K=0;K<Q&&!(W>te);K++){var H=E.getLine(W++);G=G==null?H:G+`
8
8
  `+H}Q=Q*2,k.lastIndex=V.ch;var fe=k.exec(G);if(fe){var ve=G.slice(0,fe.index).split(`
@@ -90,7 +90,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
90
90
  *
91
91
  * Copyright (c) 2014-2017, Jon Schlinkert.
92
92
  * Released under the MIT License.
93
- */function pc(e){return Object.prototype.toString.call(e)==="[object Object]"}function ka(e){var r,n;return pc(e)===!1?!1:(r=e.constructor,r===void 0?!0:(n=r.prototype,!(pc(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)))}const Ud={body:Js,header:Tr,query:zd,path:Hd,formData:Wd};function Js(e){var r=e.req,n=e.value;r.body=n}function Wd(e){var r=e.req,n=e.value,a=e.parameter;(n||a.allowEmptyValue)&&(r.form=r.form||{},r.form[a.name]={value:n,allowEmptyValue:a.allowEmptyValue,collectionFormat:a.collectionFormat})}function Tr(e){var r=e.req,n=e.parameter,a=e.value;r.headers=r.headers||{},typeof a!="undefined"&&(r.headers[n.name]=a)}function Hd(e){var r=e.req,n=e.value,a=e.parameter;r.url=r.url.split("{".concat(a.name,"}")).join(encodeURIComponent(n))}function zd(e){var r=e.req,n=e.value,a=e.parameter;if(r.query=r.query||{},n===!1&&a.type==="boolean"&&(n="false"),n===0&&["number","integer"].indexOf(a.type)>-1&&(n="0"),n)r.query[a.name]={collectionFormat:a.collectionFormat,value:n};else if(a.allowEmptyValue&&n!==void 0){var s=a.name;r.query[s]=r.query[s]||{},r.query[s].allowEmptyValue=!0}}function Xs(e,r){return De()(r).call(r,"application/json")?typeof e=="string"?e:Wt()(e):e.toString()}function Qs(e){var r=e.req,n=e.value,a=e.parameter,s=a.name,c=a.style,p=a.explode,g=a.content;if(g){var v=st()(g)[0];r.url=r.url.split("{".concat(s,"}")).join(Sr(Xs(n,v),{escape:!0}));return}var y=zr({key:a.name,value:n,style:c||"simple",explode:p||!1,escape:!0});r.url=r.url.split("{".concat(s,"}")).join(y)}function t(e){var r=e.req,n=e.value,a=e.parameter;if(r.query=r.query||{},a.content){var s=st()(a.content)[0];r.query[a.name]=Xs(n,s);return}if(n===!1&&(n="false"),n===0&&(n="0"),n){var c=a.style,p=a.explode,g=a.allowReserved;r.query[a.name]={value:n,serializationOption:{style:c,explode:p,allowReserved:g}}}else if(a.allowEmptyValue&&n!==void 0){var v=a.name;r.query[v]=r.query[v]||{},r.query[v].allowEmptyValue=!0}}var i=["accept","authorization","content-type"];function u(e){var r=e.req,n=e.parameter,a=e.value;if(r.headers=r.headers||{},!(i.indexOf(n.name.toLowerCase())>-1)){if(n.content){var s=st()(n.content)[0];r.headers[n.name]=Xs(a,s);return}typeof a!="undefined"&&(r.headers[n.name]=zr({key:n.name,value:a,style:n.style||"simple",explode:typeof n.explode=="undefined"?!1:n.explode,escape:!1}))}}function l(e){var r=e.req,n=e.parameter,a=e.value;r.headers=r.headers||{};var s=A(a);if(n.content){var c,p=st()(n.content)[0];r.headers.Cookie=Qe()(c="".concat(n.name,"=")).call(c,Xs(a,p));return}if(s!=="undefined"){var g=s==="object"&&!Array.isArray(a)&&n.explode?"":"".concat(n.name,"=");r.headers.Cookie=g+zr({key:n.name,value:a,escape:!1,style:n.style||"form",explode:typeof n.explode=="undefined"?!1:n.explode})}}var f=o(1858),m=o.n(f),S=function(){return typeof m()!="undefined"?m():typeof self!="undefined"?self:window}(),P=S.btoa;const R=P;function j(e,r){var n=e.operation,a=e.requestBody,s=e.securities,c=e.spec,p=e.attachContentTypeForEmptyPayload,g=e.requestContentType;r=le({request:r,securities:s,operation:n,spec:c});var v=n.requestBody||{},y=st()(v.content||{}),b=g&&y.indexOf(g)>-1;if(a||p){if(g&&b)r.headers["Content-Type"]=g;else if(!g){var I=y[0];I&&(r.headers["Content-Type"]=I,g=I)}}else g&&b&&(r.headers["Content-Type"]=g);if(!e.responseContentType&&n.responses){var D,B=hr()(D=Ir()(n.responses)).call(D,function(re){var q=Xe(re,2),ie=q[0],ae=q[1],pe=parseInt(ie,10);return pe>=200&&pe<300&&ka(ae.content)}).reduce(function(re,q){var ie=Xe(q,2),ae=ie[1];return Qe()(re).call(re,st()(ae.content))},[]);B.length>0&&(r.headers.accept=B.join(", "))}if(a)if(g){if(y.indexOf(g)>-1)if(g==="application/x-www-form-urlencoded"||g==="multipart/form-data")if(A(a)==="object"){var $=(v.content[g]||{}).encoding||{};r.form={},st()(a).forEach(function(re){r.form[re]={value:a[re],encoding:$[re]||{}}})}else r.form=a;else r.body=a}else r.body=a;return r}function le(e){var r=e.request,n=e.securities,a=n===void 0?{}:n,s=e.operation,c=s===void 0?{}:s,p=e.spec,g=G({},r),v=a.authorized,y=v===void 0?{}:v,b=c.security||p.security||[],I=y&&!!st()(y).length,D=Oi()(p,["components","securitySchemes"])||{};return g.headers=g.headers||{},g.query=g.query||{},!st()(a).length||!I||!b||Array.isArray(c.security)&&!c.security.length?r:(b.forEach(function(B){st()(B).forEach(function($){var re=y[$],q=D[$];if(!!re){var ie=re.value||re,ae=q.type;if(re){if(ae==="apiKey")q.in==="query"&&(g.query[q.name]=ie),q.in==="header"&&(g.headers[q.name]=ie),q.in==="cookie"&&(g.cookies[q.name]=ie);else if(ae==="http"){if(/^basic$/i.test(q.scheme)){var pe,Ee=ie.username||"",ye=ie.password||"",Pe=R(Qe()(pe="".concat(Ee,":")).call(pe,ye));g.headers.Authorization="Basic ".concat(Pe)}/^bearer$/i.test(q.scheme)&&(g.headers.Authorization="Bearer ".concat(ie))}else if(ae==="oauth2"||ae==="openIdConnect"){var we,be=re.token||{},he=q["x-tokenName"]||"access_token",Ie=be[he],Fe=be.token_type;(!Fe||Fe.toLowerCase()==="bearer")&&(Fe="Bearer"),g.headers.Authorization=Qe()(we="".concat(Fe," ")).call(we,Ie)}}}})}),g)}function de(e,r){var n=e.spec,a=e.operation,s=e.securities,c=e.requestContentType,p=e.responseContentType,g=e.attachContentTypeForEmptyPayload;if(r=Ae({request:r,securities:s,operation:a,spec:n}),r.body||r.form||g){var v,y;if(c)r.headers["Content-Type"]=c;else if(Array.isArray(a.consumes)){var b=Xe(a.consumes,1);r.headers["Content-Type"]=b[0]}else if(Array.isArray(n.consumes)){var I=Xe(n.consumes,1);r.headers["Content-Type"]=I[0]}else a.parameters&&hr()(v=a.parameters).call(v,function(q){return q.type==="file"}).length?r.headers["Content-Type"]="multipart/form-data":a.parameters&&hr()(y=a.parameters).call(y,function(q){return q.in==="formData"}).length&&(r.headers["Content-Type"]="application/x-www-form-urlencoded")}else if(c){var D,B,$=a.parameters&&hr()(D=a.parameters).call(D,function(q){return q.in==="body"}).length>0,re=a.parameters&&hr()(B=a.parameters).call(B,function(q){return q.in==="formData"}).length>0;($||re)&&(r.headers["Content-Type"]=c)}return!p&&Array.isArray(a.produces)&&a.produces.length>0&&(r.headers.accept=a.produces.join(", ")),r}function Ae(e){var r=e.request,n=e.securities,a=n===void 0?{}:n,s=e.operation,c=s===void 0?{}:s,p=e.spec,g=G({},r),v=a.authorized,y=v===void 0?{}:v,b=a.specSecurity,I=b===void 0?[]:b,D=c.security||I,B=y&&!!st()(y).length,$=p.securityDefinitions;return g.headers=g.headers||{},g.query=g.query||{},!st()(a).length||!B||!D||Array.isArray(c.security)&&!c.security.length?r:(D.forEach(function(re){st()(re).forEach(function(q){var ie=y[q];if(!!ie){var ae=ie.token,pe=ie.value||ie,Ee=$[q],ye=Ee.type,Pe=Ee["x-tokenName"]||"access_token",we=ae&&ae[Pe],be=ae&&ae.token_type;if(ie){if(ye==="apiKey"){var he=Ee.in==="query"?"query":"headers";g[he]=g[he]||{},g[he][Ee.name]=pe}else if(ye==="basic")if(pe.header)g.headers.authorization=pe.header;else{var Ie,Fe=pe.username||"",je=pe.password||"";pe.base64=R(Qe()(Ie="".concat(Fe,":")).call(Ie,je)),g.headers.authorization="Basic ".concat(pe.base64)}else if(ye==="oauth2"&&we){var Ge;be=!be||be.toLowerCase()==="bearer"?"Bearer":be,g.headers.authorization=Qe()(Ge="".concat(be," ")).call(Ge,we)}}}})}),g)}var me=["http","fetch","spec","operationId","pathName","method","parameters","securities"],ke=function(r){return Array.isArray(r)?r:[]},Ne=zf("OperationNotFoundError",function(r,n,a){this.originalError=a,W()(this,n||{})}),ze=function(r,n){return hr()(n).call(n,function(a){return a.name===r})},Ye=function(r){var n={};r.forEach(function(s){n[s.in]||(n[s.in]={}),n[s.in][s.name]=s});var a=[];return st()(n).forEach(function(s){st()(n[s]).forEach(function(c){a.push(n[s][c])})}),a},Ze={buildRequest:rt};function Je(e){var r=e.http,n=e.fetch,a=e.spec,s=e.operationId,c=e.pathName,p=e.method,g=e.parameters,v=e.securities,y=or(e,me),b=r||n||Cs;c&&p&&!s&&(s=Ia(c,p));var I=Ze.buildRequest(G({spec:a,operationId:s,parameters:g,securities:v,http:b},y));return I.body&&(ka(I.body)||Array.isArray(I.body))&&(I.body=Wt()(I.body)),b(I)}function rt(e){var r,n,a=e.spec,s=e.operationId,c=e.responseContentType,p=e.scheme,g=e.requestInterceptor,v=e.responseInterceptor,y=e.contextUrl,b=e.userFetch,I=e.server,D=e.serverVariables,B=e.http,$=e.signal,re=e.parameters,q=e.parameterBuilders,ie=Gs(a);q||(ie?q=w:q=Ud);var ae=B&&B.withCredentials?"include":"same-origin",pe={url:"",credentials:ae,headers:{},cookies:{}};$&&(pe.signal=$),g&&(pe.requestInterceptor=g),v&&(pe.responseInterceptor=v),b&&(pe.userFetch=b);var Ee=rc(a,s);if(!Ee)throw new Ne("Operation ".concat(s," not found"));var ye=Ee.operation,Pe=ye===void 0?{}:ye,we=Ee.method,be=Ee.pathName;if(pe.url+=pt({spec:a,scheme:p,contextUrl:y,server:I,serverVariables:D,pathName:be,method:we}),!s)return delete pe.cookies,pe;pe.url+=be,pe.method="".concat(we).toUpperCase(),re=re||{};var he=a.paths[be]||{};c&&(pe.headers.accept=c);var Ie=Ye(Qe()(r=Qe()(n=[]).call(n,ke(Pe.parameters))).call(r,ke(he.parameters)));Ie.forEach(function(Ge){var bt=q[Ge.in],qe;if(Ge.in==="body"&&Ge.schema&&Ge.schema.properties&&(qe=re),qe=Ge&&Ge.name&&re[Ge.name],typeof qe=="undefined"){var Zt;qe=Ge&&Ge.name&&re[Qe()(Zt="".concat(Ge.in,".")).call(Zt,Ge.name)]}else if(ze(Ge.name,Ie).length>1){var sr;console.warn(Qe()(sr="Parameter '".concat(Ge.name,"' is ambiguous because the defined spec has more than one parameter with the name: '")).call(sr,Ge.name,"' and the passed-in parameter values did not define an 'in' value."))}if(qe!==null){if(typeof Ge.default!="undefined"&&typeof qe=="undefined"&&(qe=Ge.default),typeof qe=="undefined"&&Ge.required&&!Ge.allowEmptyValue)throw new Error("Required parameter ".concat(Ge.name," is not provided"));if(ie&&Ge.schema&&Ge.schema.type==="object"&&typeof qe=="string")try{qe=JSON.parse(qe)}catch(gr){throw new Error("Could not parse object parameter value string as JSON")}bt&&bt({req:pe,parameter:Ge,value:qe,operation:Pe,spec:a})}});var Fe=G(G({},e),{},{operation:Pe});if(ie?pe=j(Fe,pe):pe=de(Fe,pe),pe.cookies&&st()(pe.cookies).length){var je=st()(pe.cookies).reduce(function(Ge,bt){var qe=pe.cookies[bt],Zt=Ge?"&":"",sr=dc.serialize(bt,qe);return Ge+Zt+sr},"");pe.headers.Cookie=je}return pe.cookies&&delete pe.cookies,Yl(pe),pe}var vt=function(r){return r?r.replace(/\W/g,""):null};function pt(e){var r=Gs(e.spec);return r?Dt(e):wr(e)}function Dt(e){var r=e.spec,n=e.pathName,a=e.method,s=e.server,c=e.contextUrl,p=e.serverVariables,g=p===void 0?{}:p,v=Oi()(r,["paths",n,(a||"").toLowerCase(),"servers"])||Oi()(r,["paths",n,"servers"])||Oi()(r,["servers"]),y="",b=null;if(s&&v&&v.length){var I=We()(v).call(v,function($){return $.url});I.indexOf(s)>-1&&(y=s,b=v[I.indexOf(s)])}if(!y&&v&&v.length){y=v[0].url;var D=Xe(v,1);b=D[0]}if(y.indexOf("{")>-1){var B=Ur(y);B.forEach(function($){if(b.variables&&b.variables[$]){var re=b.variables[$],q=g[$]||re.default,ie=new RegExp("{".concat($,"}"),"g");y=y.replace(ie,q)}})}return ur(y,c)}function ur(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=e&&r?H.parse(H.resolve(r,e)):H.parse(e),a=H.parse(r),s=vt(n.protocol)||vt(a.protocol)||"",c=n.host||a.host,p=n.pathname||"",g;if(s&&c){var v;g=Qe()(v="".concat(s,"://")).call(v,c+p)}else g=p;return g[g.length-1]==="/"?Gn()(g).call(g,0,-1):g}function Ur(e){for(var r=[],n=/{([^}]+)}/g,a;a=n.exec(e);)r.push(a[1]);return r}function wr(e){var r=e.spec,n=e.scheme,a=e.contextUrl,s=a===void 0?"":a,c=H.parse(s),p=Array.isArray(r.schemes)?r.schemes[0]:null,g=n||p||vt(c.protocol)||"http",v=r.host||c.host||"",y=r.basePath||"",b;if(g&&v){var I;b=Qe()(I="".concat(g,"://")).call(I,v+y)}else b=y;return b[b.length-1]==="/"?Gn()(b).call(b,0,-1):b}Gt.http=Cs,Gt.makeHttp=Sd.bind(null,Gt.http),Gt.resolve=oc,Gt.resolveSubtree=Yn,Gt.execute=Je,Gt.serializeRes=Af,Gt.serializeHeaders=Es,Gt.clearCache=br,Gt.makeApisTagOperation=fc,Gt.buildRequest=rt,Gt.helpers={opId:$s},Gt.getBaseUrl=pt;function Gt(e){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof e=="string"?n.url=e:n=e,!(this instanceof Gt))return new Gt(n);W()(this,n);var a=this.resolve().then(function(){return r.disableInterfaces||W()(r,Gt.makeApisTagOperation(r)),r});return a.client=this,a}Gt.prototype={http:Cs,execute:function(r){return this.applyDefaults(),Gt.execute(G({spec:this.spec,http:this.http,securities:{authorized:this.authorizations},contextUrl:typeof this.url=="string"?this.url:void 0,requestInterceptor:this.requestInterceptor||null,responseInterceptor:this.responseInterceptor||null},r))},resolve:function(){var r=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Gt.resolve(G({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,skipNormalization:this.skipNormalization||!1},n)).then(function(a){return r.originalSpec=r.spec,r.spec=a.spec,r.errors=a.errors,r})}},Gt.prototype.applyDefaults=function(){var r=this.spec,n=this.url;if(n&&K()(n).call(n,"http")){var a=H.parse(n);r.host||(r.host=a.host),r.schemes||(r.schemes=[a.protocol.replace(":","")]),r.basePath||(r.basePath="/")}};var yn=Gt.helpers;const Fr=Gt;var M=o(2784),Bt=o(59839),fr=o(53476),at=o(23268),yr=o(18445),Ar=o(23708),Fa=(e,r,n)=>new Promise((a,s)=>{var c=v=>{try{g(n.next(v))}catch(y){s(y)}},p=v=>{try{g(n.throw(v))}catch(y){s(y)}},g=v=>v.done?a(v.value):Promise.resolve(v.value).then(c,p);g((n=n.apply(e,r)).next())});const Ti=Object.values(Ar.FileUploadFormats),Jr=["application/octet-stream","application/pdf","application/gzip","application/zip"],Jn=["image/","audio/","video/"];function Nr(e){if(Jn.some(r=>e.startsWith(r)))return e}function ao(e){return Jr.includes(e)?!0:Jn.some(r=>e.startsWith(r))}function Pi(e){const r=e.type==="array"?e.items:e;if(!r||!r.type||(r==null?void 0:r.type)==="any")return!0;const n=r.contentMediaType||"",a=r.format||r.contentEncoding||(ao(n)?"binary":"");return r.type===Ar.DefinitionTypes.STRING&&Ti.includes(a)}function Ji(e,r){if(!e||!e.type||e.type==="any")return ao(r);const n=e.format||e.contentEncoding||"";return e.type===Ar.DefinitionTypes.STRING&&Ti.includes(n)}function Xi(e){return new Promise((r,n)=>{const a=new FileReader;a.onload=()=>{const c=a.result.replace(/data:.*\/.*;base64,/g,"");r(c)},a.onerror=()=>n(a.error),a.readAsDataURL(e)})}function Xr({format:e,contentEncoding:r,contentMediaType:n}){return[e,r,n].includes(Ar.FileUploadFormats.BASE64)}function oo(e,r){return Fa(this,null,function*(){const n=Object.values(e);let a=n.length===1?n[0]:n;return r.type===Ar.DefinitionTypes.STRING&&Xr(r)?a=yield Xi(n[0]):r.type===Ar.DefinitionTypes.ARRAY&&r.items&&(Xr(r.items)?a=yield Promise.all(n.map(c=>Fa(this,null,function*(){return yield Xi(c)}))):a=n),a})}var Zs=o(93892),$t=o(80127),Jt=o(70669),kn=o(43284),Ng=o(16610);function Dg({response:e}){return M.createElement(M.Fragment,null,M.createElement(kn.EE,null," Body: "),Bg(e))}function Bg(e){return e.body?M.createElement(Bt.JsonViewer,{data:e.body,jsonSampleExpandLevel:1}):e.fileInfo?M.createElement(Ng.s,{fileInfo:e.fileInfo}):e.data!==null?e.data?M.createElement(Bt.SourceCode,{lang:(0,at.M)(e.headers["Content-Type"]||"text/plain"),source:e.data,withCopyButton:!0}):M.createElement(kn.w3,null,M.createElement("i",null,"(no content)")):null}var qs=o(26141);function jg({headers:e}){const r=(0,fr.useRecoilValue)(qs.lk),[n,a]=(0,M.useState)(!0),{maxResponseHeadersToShowInTryIt:s}=r,c=Object.keys(e),p=!!s&&c.length>s,g=p&&n?[...c].splice(0,s):[...c],v=()=>{a(!n)};return M.createElement(M.Fragment,null,M.createElement(kn.EE,null," Headers: "),M.createElement(kn.w3,null,g.map(y=>M.createElement("div",{key:y},M.createElement(Vp,null,y,":"),M.createElement("code",null,e[y]))),p&&M.createElement(Up,{onClick:v},n?"Show more...":"Hide headers")))}const Vp=Jt.ZP.strong`
93
+ */function pc(e){return Object.prototype.toString.call(e)==="[object Object]"}function ka(e){var r,n;return pc(e)===!1?!1:(r=e.constructor,r===void 0?!0:(n=r.prototype,!(pc(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)))}const Ud={body:Js,header:Tr,query:zd,path:Hd,formData:Wd};function Js(e){var r=e.req,n=e.value;r.body=n}function Wd(e){var r=e.req,n=e.value,a=e.parameter;(n||a.allowEmptyValue)&&(r.form=r.form||{},r.form[a.name]={value:n,allowEmptyValue:a.allowEmptyValue,collectionFormat:a.collectionFormat})}function Tr(e){var r=e.req,n=e.parameter,a=e.value;r.headers=r.headers||{},typeof a!="undefined"&&(r.headers[n.name]=a)}function Hd(e){var r=e.req,n=e.value,a=e.parameter;r.url=r.url.split("{".concat(a.name,"}")).join(encodeURIComponent(n))}function zd(e){var r=e.req,n=e.value,a=e.parameter;if(r.query=r.query||{},n===!1&&a.type==="boolean"&&(n="false"),n===0&&["number","integer"].indexOf(a.type)>-1&&(n="0"),n)r.query[a.name]={collectionFormat:a.collectionFormat,value:n};else if(a.allowEmptyValue&&n!==void 0){var s=a.name;r.query[s]=r.query[s]||{},r.query[s].allowEmptyValue=!0}}function Xs(e,r){return De()(r).call(r,"application/json")?typeof e=="string"?e:Wt()(e):e.toString()}function Qs(e){var r=e.req,n=e.value,a=e.parameter,s=a.name,c=a.style,p=a.explode,g=a.content;if(g){var v=st()(g)[0];r.url=r.url.split("{".concat(s,"}")).join(Sr(Xs(n,v),{escape:!0}));return}var y=zr({key:a.name,value:n,style:c||"simple",explode:p||!1,escape:!0});r.url=r.url.split("{".concat(s,"}")).join(y)}function t(e){var r=e.req,n=e.value,a=e.parameter;if(r.query=r.query||{},a.content){var s=st()(a.content)[0];r.query[a.name]=Xs(n,s);return}if(n===!1&&(n="false"),n===0&&(n="0"),n){var c=a.style,p=a.explode,g=a.allowReserved;r.query[a.name]={value:n,serializationOption:{style:c,explode:p,allowReserved:g}}}else if(a.allowEmptyValue&&n!==void 0){var v=a.name;r.query[v]=r.query[v]||{},r.query[v].allowEmptyValue=!0}}var i=["accept","authorization","content-type"];function u(e){var r=e.req,n=e.parameter,a=e.value;if(r.headers=r.headers||{},!(i.indexOf(n.name.toLowerCase())>-1)){if(n.content){var s=st()(n.content)[0];r.headers[n.name]=Xs(a,s);return}typeof a!="undefined"&&(r.headers[n.name]=zr({key:n.name,value:a,style:n.style||"simple",explode:typeof n.explode=="undefined"?!1:n.explode,escape:!1}))}}function l(e){var r=e.req,n=e.parameter,a=e.value;r.headers=r.headers||{};var s=A(a);if(n.content){var c,p=st()(n.content)[0];r.headers.Cookie=Qe()(c="".concat(n.name,"=")).call(c,Xs(a,p));return}if(s!=="undefined"){var g=s==="object"&&!Array.isArray(a)&&n.explode?"":"".concat(n.name,"=");r.headers.Cookie=g+zr({key:n.name,value:a,escape:!1,style:n.style||"form",explode:typeof n.explode=="undefined"?!1:n.explode})}}var f=o(1858),m=o.n(f),S=function(){return typeof m()!="undefined"?m():typeof self!="undefined"?self:window}(),P=S.btoa;const R=P;function j(e,r){var n=e.operation,a=e.requestBody,s=e.securities,c=e.spec,p=e.attachContentTypeForEmptyPayload,g=e.requestContentType;r=le({request:r,securities:s,operation:n,spec:c});var v=n.requestBody||{},y=st()(v.content||{}),b=g&&y.indexOf(g)>-1;if(a||p){if(g&&b)r.headers["Content-Type"]=g;else if(!g){var I=y[0];I&&(r.headers["Content-Type"]=I,g=I)}}else g&&b&&(r.headers["Content-Type"]=g);if(!e.responseContentType&&n.responses){var D,B=hr()(D=Ir()(n.responses)).call(D,function(re){var q=Xe(re,2),ie=q[0],ae=q[1],pe=parseInt(ie,10);return pe>=200&&pe<300&&ka(ae.content)}).reduce(function(re,q){var ie=Xe(q,2),ae=ie[1];return Qe()(re).call(re,st()(ae.content))},[]);B.length>0&&(r.headers.accept=B.join(", "))}if(a)if(g){if(y.indexOf(g)>-1)if(g==="application/x-www-form-urlencoded"||g==="multipart/form-data")if(A(a)==="object"){var $=(v.content[g]||{}).encoding||{};r.form={},st()(a).forEach(function(re){r.form[re]={value:a[re],encoding:$[re]||{}}})}else r.form=a;else r.body=a}else r.body=a;return r}function le(e){var r=e.request,n=e.securities,a=n===void 0?{}:n,s=e.operation,c=s===void 0?{}:s,p=e.spec,g=G({},r),v=a.authorized,y=v===void 0?{}:v,b=c.security||p.security||[],I=y&&!!st()(y).length,D=Oi()(p,["components","securitySchemes"])||{};return g.headers=g.headers||{},g.query=g.query||{},!st()(a).length||!I||!b||Array.isArray(c.security)&&!c.security.length?r:(b.forEach(function(B){st()(B).forEach(function($){var re=y[$],q=D[$];if(!!re){var ie=re.value||re,ae=q.type;if(re){if(ae==="apiKey")q.in==="query"&&(g.query[q.name]=ie),q.in==="header"&&(g.headers[q.name]=ie),q.in==="cookie"&&(g.cookies[q.name]=ie);else if(ae==="http"){if(/^basic$/i.test(q.scheme)){var pe,Ee=ie.username||"",ye=ie.password||"",Pe=R(Qe()(pe="".concat(Ee,":")).call(pe,ye));g.headers.Authorization="Basic ".concat(Pe)}/^bearer$/i.test(q.scheme)&&(g.headers.Authorization="Bearer ".concat(ie))}else if(ae==="oauth2"||ae==="openIdConnect"){var we,be=re.token||{},he=q["x-tokenName"]||"access_token",Ie=be[he],Fe=be.token_type;(!Fe||Fe.toLowerCase()==="bearer")&&(Fe="Bearer"),g.headers.Authorization=Qe()(we="".concat(Fe," ")).call(we,Ie)}}}})}),g)}function de(e,r){var n=e.spec,a=e.operation,s=e.securities,c=e.requestContentType,p=e.responseContentType,g=e.attachContentTypeForEmptyPayload;if(r=Ae({request:r,securities:s,operation:a,spec:n}),r.body||r.form||g){var v,y;if(c)r.headers["Content-Type"]=c;else if(Array.isArray(a.consumes)){var b=Xe(a.consumes,1);r.headers["Content-Type"]=b[0]}else if(Array.isArray(n.consumes)){var I=Xe(n.consumes,1);r.headers["Content-Type"]=I[0]}else a.parameters&&hr()(v=a.parameters).call(v,function(q){return q.type==="file"}).length?r.headers["Content-Type"]="multipart/form-data":a.parameters&&hr()(y=a.parameters).call(y,function(q){return q.in==="formData"}).length&&(r.headers["Content-Type"]="application/x-www-form-urlencoded")}else if(c){var D,B,$=a.parameters&&hr()(D=a.parameters).call(D,function(q){return q.in==="body"}).length>0,re=a.parameters&&hr()(B=a.parameters).call(B,function(q){return q.in==="formData"}).length>0;($||re)&&(r.headers["Content-Type"]=c)}return!p&&Array.isArray(a.produces)&&a.produces.length>0&&(r.headers.accept=a.produces.join(", ")),r}function Ae(e){var r=e.request,n=e.securities,a=n===void 0?{}:n,s=e.operation,c=s===void 0?{}:s,p=e.spec,g=G({},r),v=a.authorized,y=v===void 0?{}:v,b=a.specSecurity,I=b===void 0?[]:b,D=c.security||I,B=y&&!!st()(y).length,$=p.securityDefinitions;return g.headers=g.headers||{},g.query=g.query||{},!st()(a).length||!B||!D||Array.isArray(c.security)&&!c.security.length?r:(D.forEach(function(re){st()(re).forEach(function(q){var ie=y[q];if(!!ie){var ae=ie.token,pe=ie.value||ie,Ee=$[q],ye=Ee.type,Pe=Ee["x-tokenName"]||"access_token",we=ae&&ae[Pe],be=ae&&ae.token_type;if(ie){if(ye==="apiKey"){var he=Ee.in==="query"?"query":"headers";g[he]=g[he]||{},g[he][Ee.name]=pe}else if(ye==="basic")if(pe.header)g.headers.authorization=pe.header;else{var Ie,Fe=pe.username||"",je=pe.password||"";pe.base64=R(Qe()(Ie="".concat(Fe,":")).call(Ie,je)),g.headers.authorization="Basic ".concat(pe.base64)}else if(ye==="oauth2"&&we){var Ge;be=!be||be.toLowerCase()==="bearer"?"Bearer":be,g.headers.authorization=Qe()(Ge="".concat(be," ")).call(Ge,we)}}}})}),g)}var me=["http","fetch","spec","operationId","pathName","method","parameters","securities"],ke=function(r){return Array.isArray(r)?r:[]},Ne=zf("OperationNotFoundError",function(r,n,a){this.originalError=a,W()(this,n||{})}),ze=function(r,n){return hr()(n).call(n,function(a){return a.name===r})},Ye=function(r){var n={};r.forEach(function(s){n[s.in]||(n[s.in]={}),n[s.in][s.name]=s});var a=[];return st()(n).forEach(function(s){st()(n[s]).forEach(function(c){a.push(n[s][c])})}),a},Ze={buildRequest:rt};function Je(e){var r=e.http,n=e.fetch,a=e.spec,s=e.operationId,c=e.pathName,p=e.method,g=e.parameters,v=e.securities,y=or(e,me),b=r||n||Cs;c&&p&&!s&&(s=Ia(c,p));var I=Ze.buildRequest(G({spec:a,operationId:s,parameters:g,securities:v,http:b},y));return I.body&&(ka(I.body)||Array.isArray(I.body))&&(I.body=Wt()(I.body)),b(I)}function rt(e){var r,n,a=e.spec,s=e.operationId,c=e.responseContentType,p=e.scheme,g=e.requestInterceptor,v=e.responseInterceptor,y=e.contextUrl,b=e.userFetch,I=e.server,D=e.serverVariables,B=e.http,$=e.signal,re=e.parameters,q=e.parameterBuilders,ie=Gs(a);q||(ie?q=w:q=Ud);var ae=B&&B.withCredentials?"include":"same-origin",pe={url:"",credentials:ae,headers:{},cookies:{}};$&&(pe.signal=$),g&&(pe.requestInterceptor=g),v&&(pe.responseInterceptor=v),b&&(pe.userFetch=b);var Ee=rc(a,s);if(!Ee)throw new Ne("Operation ".concat(s," not found"));var ye=Ee.operation,Pe=ye===void 0?{}:ye,we=Ee.method,be=Ee.pathName;if(pe.url+=pt({spec:a,scheme:p,contextUrl:y,server:I,serverVariables:D,pathName:be,method:we}),!s)return delete pe.cookies,pe;pe.url+=be,pe.method="".concat(we).toUpperCase(),re=re||{};var he=a.paths[be]||{};c&&(pe.headers.accept=c);var Ie=Ye(Qe()(r=Qe()(n=[]).call(n,ke(Pe.parameters))).call(r,ke(he.parameters)));Ie.forEach(function(Ge){var bt=q[Ge.in],qe;if(Ge.in==="body"&&Ge.schema&&Ge.schema.properties&&(qe=re),qe=Ge&&Ge.name&&re[Ge.name],typeof qe=="undefined"){var Zt;qe=Ge&&Ge.name&&re[Qe()(Zt="".concat(Ge.in,".")).call(Zt,Ge.name)]}else if(ze(Ge.name,Ie).length>1){var sr;console.warn(Qe()(sr="Parameter '".concat(Ge.name,"' is ambiguous because the defined spec has more than one parameter with the name: '")).call(sr,Ge.name,"' and the passed-in parameter values did not define an 'in' value."))}if(qe!==null){if(typeof Ge.default!="undefined"&&typeof qe=="undefined"&&(qe=Ge.default),typeof qe=="undefined"&&Ge.required&&!Ge.allowEmptyValue)throw new Error("Required parameter ".concat(Ge.name," is not provided"));if(ie&&Ge.schema&&Ge.schema.type==="object"&&typeof qe=="string")try{qe=JSON.parse(qe)}catch(gr){throw new Error("Could not parse object parameter value string as JSON")}bt&&bt({req:pe,parameter:Ge,value:qe,operation:Pe,spec:a})}});var Fe=G(G({},e),{},{operation:Pe});if(ie?pe=j(Fe,pe):pe=de(Fe,pe),pe.cookies&&st()(pe.cookies).length){var je=st()(pe.cookies).reduce(function(Ge,bt){var qe=pe.cookies[bt],Zt=Ge?"&":"",sr=dc.serialize(bt,qe);return Ge+Zt+sr},"");pe.headers.Cookie=je}return pe.cookies&&delete pe.cookies,Yl(pe),pe}var vt=function(r){return r?r.replace(/\W/g,""):null};function pt(e){var r=Gs(e.spec);return r?Dt(e):wr(e)}function Dt(e){var r=e.spec,n=e.pathName,a=e.method,s=e.server,c=e.contextUrl,p=e.serverVariables,g=p===void 0?{}:p,v=Oi()(r,["paths",n,(a||"").toLowerCase(),"servers"])||Oi()(r,["paths",n,"servers"])||Oi()(r,["servers"]),y="",b=null;if(s&&v&&v.length){var I=We()(v).call(v,function($){return $.url});I.indexOf(s)>-1&&(y=s,b=v[I.indexOf(s)])}if(!y&&v&&v.length){y=v[0].url;var D=Xe(v,1);b=D[0]}if(y.indexOf("{")>-1){var B=Ur(y);B.forEach(function($){if(b.variables&&b.variables[$]){var re=b.variables[$],q=g[$]||re.default,ie=new RegExp("{".concat($,"}"),"g");y=y.replace(ie,q)}})}return ur(y,c)}function ur(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=e&&r?H.parse(H.resolve(r,e)):H.parse(e),a=H.parse(r),s=vt(n.protocol)||vt(a.protocol)||"",c=n.host||a.host,p=n.pathname||"",g;if(s&&c){var v;g=Qe()(v="".concat(s,"://")).call(v,c+p)}else g=p;return g[g.length-1]==="/"?Gn()(g).call(g,0,-1):g}function Ur(e){for(var r=[],n=/{([^}]+)}/g,a;a=n.exec(e);)r.push(a[1]);return r}function wr(e){var r=e.spec,n=e.scheme,a=e.contextUrl,s=a===void 0?"":a,c=H.parse(s),p=Array.isArray(r.schemes)?r.schemes[0]:null,g=n||p||vt(c.protocol)||"http",v=r.host||c.host||"",y=r.basePath||"",b;if(g&&v){var I;b=Qe()(I="".concat(g,"://")).call(I,v+y)}else b=y;return b[b.length-1]==="/"?Gn()(b).call(b,0,-1):b}Gt.http=Cs,Gt.makeHttp=Sd.bind(null,Gt.http),Gt.resolve=oc,Gt.resolveSubtree=Yn,Gt.execute=Je,Gt.serializeRes=Af,Gt.serializeHeaders=Es,Gt.clearCache=br,Gt.makeApisTagOperation=fc,Gt.buildRequest=rt,Gt.helpers={opId:$s},Gt.getBaseUrl=pt;function Gt(e){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof e=="string"?n.url=e:n=e,!(this instanceof Gt))return new Gt(n);W()(this,n);var a=this.resolve().then(function(){return r.disableInterfaces||W()(r,Gt.makeApisTagOperation(r)),r});return a.client=this,a}Gt.prototype={http:Cs,execute:function(r){return this.applyDefaults(),Gt.execute(G({spec:this.spec,http:this.http,securities:{authorized:this.authorizations},contextUrl:typeof this.url=="string"?this.url:void 0,requestInterceptor:this.requestInterceptor||null,responseInterceptor:this.responseInterceptor||null},r))},resolve:function(){var r=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Gt.resolve(G({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,skipNormalization:this.skipNormalization||!1},n)).then(function(a){return r.originalSpec=r.spec,r.spec=a.spec,r.errors=a.errors,r})}},Gt.prototype.applyDefaults=function(){var r=this.spec,n=this.url;if(n&&K()(n).call(n,"http")){var a=H.parse(n);r.host||(r.host=a.host),r.schemes||(r.schemes=[a.protocol.replace(":","")]),r.basePath||(r.basePath="/")}};var yn=Gt.helpers;const Fr=Gt;var M=o(2784),Bt=o(59839),fr=o(53476),at=o(23268),yr=o(18445),Ar=o(23708),Fa=(e,r,n)=>new Promise((a,s)=>{var c=v=>{try{g(n.next(v))}catch(y){s(y)}},p=v=>{try{g(n.throw(v))}catch(y){s(y)}},g=v=>v.done?a(v.value):Promise.resolve(v.value).then(c,p);g((n=n.apply(e,r)).next())});const Ti=Object.values(Ar.FileUploadFormats),Jr=["application/octet-stream","application/pdf","application/gzip","application/zip"],Jn=["image/","audio/","video/"];function Nr(e){if(Jn.some(r=>e.startsWith(r)))return e}function ao(e){return Jr.includes(e)?!0:Jn.some(r=>e.startsWith(r))}function Pi(e){const r=e.type==="array"?e.items:e;if(!r||!r.type||(r==null?void 0:r.type)==="any")return!0;const n=r.contentMediaType||"",a=r.format||r.contentEncoding||(ao(n)?"binary":"");return r.type===Ar.DefinitionTypes.STRING&&Ti.includes(a)}function Ji(e,r){if(!e||!e.type||e.type==="any")return ao(r);const n=e.format||e.contentEncoding||"";return e.type===Ar.DefinitionTypes.STRING&&Ti.includes(n)}function Xi(e){return new Promise((r,n)=>{const a=new FileReader;a.onload=()=>{const c=a.result.replace(/data:.*\/.*;base64,/g,"");r(c)},a.onerror=()=>n(a.error),a.readAsDataURL(e)})}function Xr({format:e,contentEncoding:r,contentMediaType:n}){return[e,r,n].includes(Ar.FileUploadFormats.BASE64)}function oo(e,r){return Fa(this,null,function*(){const n=Object.values(e);let a=n.length===1?n[0]:n;return r.type===Ar.DefinitionTypes.STRING&&Xr(r)?a=yield Xi(n[0]):r.type===Ar.DefinitionTypes.ARRAY&&r.items&&(Xr(r.items)?a=yield Promise.all(n.map(c=>Fa(this,null,function*(){return yield Xi(c)}))):a=n),a})}var Zs=o(93892),$t=o(80127),Jt=o(41195),kn=o(43284),Ng=o(16610);function Dg({response:e}){return M.createElement(M.Fragment,null,M.createElement(kn.EE,null," Body: "),Bg(e))}function Bg(e){return e.body?M.createElement(Bt.JsonViewer,{data:e.body,jsonSampleExpandLevel:1}):e.fileInfo?M.createElement(Ng.s,{fileInfo:e.fileInfo}):e.data!==null?e.data?M.createElement(Bt.SourceCode,{lang:(0,at.M)(e.headers["Content-Type"]||"text/plain"),source:e.data,withCopyButton:!0}):M.createElement(kn.w3,null,M.createElement("i",null,"(no content)")):null}var qs=o(26141);function jg({headers:e}){const r=(0,fr.useRecoilValue)(qs.lk),[n,a]=(0,M.useState)(!0),{maxResponseHeadersToShowInTryIt:s}=r,c=Object.keys(e),p=!!s&&c.length>s,g=p&&n?[...c].splice(0,s):[...c],v=()=>{a(!n)};return M.createElement(M.Fragment,null,M.createElement(kn.EE,null," Headers: "),M.createElement(kn.w3,null,g.map(y=>M.createElement("div",{key:y},M.createElement(Vp,null,y,":"),M.createElement("code",null,e[y]))),p&&M.createElement(Up,{onClick:v},n?"Show more...":"Hide headers")))}const Vp=Jt.ZP.strong`
94
94
  text-transform: capitalize;
95
95
  display: inline-block;
96
96
  padding-right: 5px;
@@ -2,7 +2,7 @@
2
2
  * Redocly OpenAPI Docs
3
3
  * (c) Copyright 2018 Redocly LLC, all rights reserved.
4
4
  * -------------------------------------------------------------
5
- * Version: "3.0.0-alpha.23"
5
+ * Version: "3.0.0-alpha.24"
6
6
  */(function(Dr,pr){typeof exports=="object"&&typeof module=="object"?module.exports=pr():typeof define=="function"&&define.amd?define([],pr):typeof exports=="object"?exports.RedoclyOpenAPIDocs=pr():Dr.RedoclyOpenAPIDocs=pr()})(this,()=>(()=>{var st={77111:(a,h,r)=>{var t=r(26733),o=r(59821),n=TypeError;a.exports=function(e){if(t(e))return e;throw n(o(e)+" is not a function")}},88505:(a,h,r)=>{var t=r(26733),o=String,n=TypeError;a.exports=function(e){if(typeof e=="object"||t(e))return e;throw n("Can't set "+o(e)+" as a prototype")}},9736:(a,h,r)=>{var t=r(70095),o=r(22391),n=r(31787).f,e=t("unscopables"),s=Array.prototype;s[e]==null&&n(s,e,{configurable:!0,value:o(null)}),a.exports=function(i){s[e][i]=!0}},57728:(a,h,r)=>{var t=r(91321),o=TypeError;a.exports=function(n,e){if(t(e,n))return n;throw o("Incorrect invocation")}},21176:(a,h,r)=>{var t=r(85052),o=String,n=TypeError;a.exports=function(e){if(t(e))return e;throw n(o(e)+" is not an object")}},10507:(a,h,r)=>{"use strict";var t=r(97636),o=r(20266),n=r(92991),e=r(64960),s=r(91943),i=r(82359),l=r(39646),f=r(62324),d=r(28403),g=r(78830),p=Array;a.exports=function(x){var O=n(x),P=i(this),T=arguments.length,L=T>1?arguments[1]:void 0,M=L!==void 0;M&&(L=t(L,T>2?arguments[2]:void 0));var R=g(O),U=0,j,G,sr,X,W,k;if(R&&!(this===p&&s(R)))for(X=d(O,R),W=X.next,G=P?new this:[];!(sr=o(W,X)).done;U++)k=M?e(X,L,[sr.value,U],!0):sr.value,f(G,U,k);else for(j=l(O),G=P?new this(j):p(j);j>U;U++)k=M?L(O[U],U):O[U],f(G,U,k);return G.length=U,G}},19540:(a,h,r)=>{var t=r(10905),o=r(43231),n=r(39646),e=function(s){return function(i,l,f){var d=t(i),g=n(d),p=o(f,g),m;if(s&&l!=l){for(;g>p;)if(m=d[p++],m!=m)return!0}else for(;g>p;p++)if((s||p in d)&&d[p]===l)return s||p||0;return!s&&-1}};a.exports={includes:e(!0),indexOf:e(!1)}},69794:(a,h,r)=>{var t=r(43231),o=r(39646),n=r(62324),e=Array,s=Math.max;a.exports=function(i,l,f){for(var d=o(i),g=t(l,d),p=t(f===void 0?d:f,d),m=e(s(p-g,0)),x=0;g<p;g++,x++)n(m,x,i[g]);return m.length=x,m}},33867:(a,h,r)=>{var t=r(69794),o=Math.floor,n=function(i,l){var f=i.length,d=o(f/2);return f<8?e(i,l):s(i,n(t(i,0,d),l),n(t(i,d),l),l)},e=function(i,l){for(var f=i.length,d=1,g,p;d<f;){for(p=d,g=i[d];p&&l(i[p-1],g)>0;)i[p]=i[--p];p!==d++&&(i[p]=g)}return i},s=function(i,l,f,d){for(var g=l.length,p=f.length,m=0,x=0;m<g||x<p;)i[m+x]=m<g&&x<p?d(l[m],f[x])<=0?l[m++]:f[x++]:m<g?l[m++]:f[x++];return i};a.exports=n},64960:(a,h,r)=>{var t=r(21176),o=r(57281);a.exports=function(n,e,s,i){try{return i?e(t(s)[0],s[1]):e(s)}catch(l){o(n,"throw",l)}}},27079:(a,h,r)=>{var t=r(65968),o=t({}.toString),n=t("".slice);a.exports=function(e){return n(o(e),8,-1)}},81589:(a,h,r)=>{var t=r(71601),o=r(26733),n=r(27079),e=r(70095),s=e("toStringTag"),i=Object,l=n(function(){return arguments}())=="Arguments",f=function(d,g){try{return d[g]}catch(p){}};a.exports=t?n:function(d){var g,p,m;return d===void 0?"Undefined":d===null?"Null":typeof(p=f(g=i(d),s))=="string"?p:l?n(g):(m=n(g))=="Object"&&o(g.callee)?"Arguments":m}},77081:(a,h,r)=>{var t=r(98270),o=r(4826),n=r(97933),e=r(31787);a.exports=function(s,i,l){for(var f=o(i),d=e.f,g=n.f,p=0;p<f.length;p++){var m=f[p];!t(s,m)&&!(l&&t(l,m))&&d(s,m,g(i,m))}}},27528:(a,h,r)=>{var t=r(24229);a.exports=!t(function(){function o(){}return o.prototype.constructor=null,Object.getPrototypeOf(new o)!==o.prototype})},33684:a=>{a.exports=function(h,r){return{value:h,done:r}}},75762:(a,h,r)=>{var t=r(7400),o=r(31787),n=r(65358);a.exports=t?function(e,s,i){return o.f(e,s,n(1,i))}:function(e,s,i){return e[s]=i,e}},65358:a=>{a.exports=function(h,r){return{enumerable:!(h&1),configurable:!(h&2),writable:!(h&4),value:r}}},62324:(a,h,r)=>{"use strict";var t=r(39310),o=r(31787),n=r(65358);a.exports=function(e,s,i){var l=t(s);l in e?o.f(e,l,n(0,i)):e[l]=i}},96616:(a,h,r)=>{var t=r(16039),o=r(31787);a.exports=function(n,e,s){return s.get&&t(s.get,e,{getter:!0}),s.set&&t(s.set,e,{setter:!0}),o.f(n,e,s)}},14768:(a,h,r)=>{var t=r(26733),o=r(31787),n=r(16039),e=r(18400);a.exports=function(s,i,l,f){f||(f={});var d=f.enumerable,g=f.name!==void 0?f.name:i;if(t(l)&&n(l,g,f),f.global)d?s[i]=l:e(i,l);else{try{f.unsafe?s[i]&&(d=!0):delete s[i]}catch(p){}d?s[i]=l:o.f(s,i,{value:l,enumerable:!1,configurable:!f.nonConfigurable,writable:!f.nonWritable})}return s}},8312:(a,h,r)=>{var t=r(14768);a.exports=function(o,n,e){for(var s in n)t(o,s,n[s],e);return o}},18400:(a,h,r)=>{var t=r(9859),o=Object.defineProperty;a.exports=function(n,e){try{o(t,n,{value:e,configurable:!0,writable:!0})}catch(s){t[n]=e}return e}},7400:(a,h,r)=>{var t=r(24229);a.exports=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},63777:a=>{var h=typeof document=="object"&&document.all,r=typeof h=="undefined"&&h!==void 0;a.exports={all:h,IS_HTMLDDA:r}},22635:(a,h,r)=>{var t=r(9859),o=r(85052),n=t.document,e=o(n)&&o(n.createElement);a.exports=function(s){return e?n.createElement(s):{}}},80598:(a,h,r)=>{var t=r(31333);a.exports=t("navigator","userAgent")||""},6358:(a,h,r)=>{var t=r(9859),o=r(80598),n=t.process,e=t.Deno,s=n&&n.versions||e&&e.version,i=s&&s.v8,l,f;i&&(l=i.split("."),f=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!f&&o&&(l=o.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=o.match(/Chrome\/(\d+)/),l&&(f=+l[1]))),a.exports=f},13837:a=>{a.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},23103:(a,h,r)=>{var t=r(9859),o=r(97933).f,n=r(75762),e=r(14768),s=r(18400),i=r(77081),l=r(46541);a.exports=function(f,d){var g=f.target,p=f.global,m=f.stat,x,O,P,T,L,M;if(p?O=t:m?O=t[g]||s(g,{}):O=(t[g]||{}).prototype,O)for(P in d){if(L=d[P],f.dontCallGetSet?(M=o(O,P),T=M&&M.value):T=O[P],x=l(p?P:g+(m?".":"#")+P,f.forced),!x&&T!==void 0){if(typeof L==typeof T)continue;i(L,T)}(f.sham||T&&T.sham)&&n(L,"sham",!0),e(O,P,L,f)}}},24229:a=>{a.exports=function(h){try{return!!h()}catch(r){return!0}}},97636:(a,h,r)=>{var t=r(44745),o=r(77111),n=r(57188),e=t(t.bind);a.exports=function(s,i){return o(s),i===void 0?s:n?e(s,i):function(){return s.apply(i,arguments)}}},57188:(a,h,r)=>{var t=r(24229);a.exports=!t(function(){var o=function(){}.bind();return typeof o!="function"||o.hasOwnProperty("prototype")})},20266:(a,h,r)=>{var t=r(57188),o=Function.prototype.call;a.exports=t?o.bind(o):function(){return o.apply(o,arguments)}},51805:(a,h,r)=>{var t=r(7400),o=r(98270),n=Function.prototype,e=t&&Object.getOwnPropertyDescriptor,s=o(n,"name"),i=s&&function(){}.name==="something",l=s&&(!t||t&&e(n,"name").configurable);a.exports={EXISTS:s,PROPER:i,CONFIGURABLE:l}},44745:(a,h,r)=>{var t=r(27079),o=r(65968);a.exports=function(n){if(t(n)==="Function")return o(n)}},65968:(a,h,r)=>{var t=r(57188),o=Function.prototype,n=o.call,e=t&&o.bind.bind(n,n);a.exports=t?e:function(s){return function(){return n.apply(s,arguments)}}},31333:(a,h,r)=>{var t=r(9859),o=r(26733),n=function(e){return o(e)?e:void 0};a.exports=function(e,s){return arguments.length<2?n(t[e]):t[e]&&t[e][s]}},78830:(a,h,r)=>{var t=r(81589),o=r(55300),n=r(9650),e=r(45495),s=r(70095),i=s("iterator");a.exports=function(l){if(!n(l))return o(l,i)||o(l,"@@iterator")||e[t(l)]}},28403:(a,h,r)=>{var t=r(20266),o=r(77111),n=r(21176),e=r(59821),s=r(78830),i=TypeError;a.exports=function(l,f){var d=arguments.length<2?s(l):f;if(o(d))return n(t(d,l));throw i(e(l)+" is not iterable")}},55300:(a,h,r)=>{var t=r(77111),o=r(9650);a.exports=function(n,e){var s=n[e];return o(s)?void 0:t(s)}},9859:(a,h,r)=>{var t=function(o){return o&&o.Math==Math&&o};a.exports=t(typeof globalThis=="object"&&globalThis)||t(typeof window=="object"&&window)||t(typeof self=="object"&&self)||t(typeof r.g=="object"&&r.g)||function(){return this}()||Function("return this")()},98270:(a,h,r)=>{var t=r(65968),o=r(92991),n=t({}.hasOwnProperty);a.exports=Object.hasOwn||function(s,i){return n(o(s),i)}},95977:a=>{a.exports={}},53777:(a,h,r)=>{var t=r(31333);a.exports=t("document","documentElement")},64394:(a,h,r)=>{var t=r(7400),o=r(24229),n=r(22635);a.exports=!t&&!o(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!=7})},9337:(a,h,r)=>{var t=r(65968),o=r(24229),n=r(27079),e=Object,s=t("".split);a.exports=o(function(){return!e("z").propertyIsEnumerable(0)})?function(i){return n(i)=="String"?s(i,""):e(i)}:e},8511:(a,h,r)=>{var t=r(65968),o=r(26733),n=r(85353),e=t(Function.toString);o(n.inspectSource)||(n.inspectSource=function(s){return e(s)}),a.exports=n.inspectSource},56407:(a,h,r)=>{var t=r(51180),o=r(9859),n=r(85052),e=r(75762),s=r(98270),i=r(85353),l=r(44399),f=r(95977),d="Object already initialized",g=o.TypeError,p=o.WeakMap,m,x,O,P=function(R){return O(R)?x(R):m(R,{})},T=function(R){return function(U){var j;if(!n(U)||(j=x(U)).type!==R)throw g("Incompatible receiver, "+R+" required");return j}};if(t||i.state){var L=i.state||(i.state=new p);L.get=L.get,L.has=L.has,L.set=L.set,m=function(R,U){if(L.has(R))throw g(d);return U.facade=R,L.set(R,U),U},x=function(R){return L.get(R)||{}},O=function(R){return L.has(R)}}else{var M=l("state");f[M]=!0,m=function(R,U){if(s(R,M))throw g(d);return U.facade=R,e(R,M,U),U},x=function(R){return s(R,M)?R[M]:{}},O=function(R){return s(R,M)}}a.exports={set:m,get:x,has:O,enforce:P,getterFor:T}},91943:(a,h,r)=>{var t=r(70095),o=r(45495),n=t("iterator"),e=Array.prototype;a.exports=function(s){return s!==void 0&&(o.Array===s||e[n]===s)}},26733:(a,h,r)=>{var t=r(63777),o=t.all;a.exports=t.IS_HTMLDDA?function(n){return typeof n=="function"||n===o}:function(n){return typeof n=="function"}},82359:(a,h,r)=>{var t=r(65968),o=r(24229),n=r(26733),e=r(81589),s=r(31333),i=r(8511),l=function(){},f=[],d=s("Reflect","construct"),g=/^\s*(?:class|function)\b/,p=t(g.exec),m=!g.exec(l),x=function(T){if(!n(T))return!1;try{return d(l,f,T),!0}catch(L){return!1}},O=function(T){if(!n(T))return!1;switch(e(T)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!p(g,i(T))}catch(L){return!0}};O.sham=!0,a.exports=!d||o(function(){var P;return x(x.call)||!x(Object)||!x(function(){P=!0})||P})?O:x},46541:(a,h,r)=>{var t=r(24229),o=r(26733),n=/#|\.prototype\./,e=function(d,g){var p=i[s(d)];return p==f?!0:p==l?!1:o(g)?t(g):!!g},s=e.normalize=function(d){return String(d).replace(n,".").toLowerCase()},i=e.data={},l=e.NATIVE="N",f=e.POLYFILL="P";a.exports=e},9650:a=>{a.exports=function(h){return h==null}},85052:(a,h,r)=>{var t=r(26733),o=r(63777),n=o.all;a.exports=o.IS_HTMLDDA?function(e){return typeof e=="object"?e!==null:t(e)||e===n}:function(e){return typeof e=="object"?e!==null:t(e)}},24231:a=>{a.exports=!1},49395:(a,h,r)=>{var t=r(31333),o=r(26733),n=r(91321),e=r(66969),s=Object;a.exports=e?function(i){return typeof i=="symbol"}:function(i){var l=t("Symbol");return o(l)&&n(l.prototype,s(i))}},57281:(a,h,r)=>{var t=r(20266),o=r(21176),n=r(55300);a.exports=function(e,s,i){var l,f;o(e);try{if(l=n(e,"return"),!l){if(s==="throw")throw i;return i}l=t(l,e)}catch(d){f=!0,l=d}if(s==="throw")throw i;if(f)throw l;return o(l),i}},42247:(a,h,r)=>{"use strict";var t=r(60693).IteratorPrototype,o=r(22391),n=r(65358),e=r(54555),s=r(45495),i=function(){return this};a.exports=function(l,f,d,g){var p=f+" Iterator";return l.prototype=o(t,{next:n(+!g,d)}),e(l,p,!1,!0),s[p]=i,l}},12707:(a,h,r)=>{"use strict";var t=r(23103),o=r(20266),n=r(24231),e=r(51805),s=r(26733),i=r(42247),l=r(67567),f=r(56540),d=r(54555),g=r(75762),p=r(14768),m=r(70095),x=r(45495),O=r(60693),P=e.PROPER,T=e.CONFIGURABLE,L=O.IteratorPrototype,M=O.BUGGY_SAFARI_ITERATORS,R=m("iterator"),U="keys",j="values",G="entries",sr=function(){return this};a.exports=function(X,W,k,dr,tr,D,H){i(k,W,dr);var N=function(er){if(er===tr&&z)return z;if(!M&&er in V)return V[er];switch(er){case U:return function(){return new k(this,er)};case j:return function(){return new k(this,er)};case G:return function(){return new k(this,er)}}return function(){return new k(this)}},$=W+" Iterator",Y=!1,V=X.prototype,K=V[R]||V["@@iterator"]||tr&&V[tr],z=!M&&K||N(tr),ir=W=="Array"&&V.entries||K,q,Z,ar;if(ir&&(q=l(ir.call(new X)),q!==Object.prototype&&q.next&&(!n&&l(q)!==L&&(f?f(q,L):s(q[R])||p(q,R,sr)),d(q,$,!0,!0),n&&(x[$]=sr))),P&&tr==j&&K&&K.name!==j&&(!n&&T?g(V,"name",j):(Y=!0,z=function(){return o(K,this)})),tr)if(Z={values:N(j),keys:D?z:N(U),entries:N(G)},H)for(ar in Z)(M||Y||!(ar in V))&&p(V,ar,Z[ar]);else t({target:W,proto:!0,forced:M||Y},Z);return(!n||H)&&V[R]!==z&&p(V,R,z,{name:tr}),x[W]=z,Z}},60693:(a,h,r)=>{"use strict";var t=r(24229),o=r(26733),n=r(85052),e=r(22391),s=r(67567),i=r(14768),l=r(70095),f=r(24231),d=l("iterator"),g=!1,p,m,x;[].keys&&(x=[].keys(),"next"in x?(m=s(s(x)),m!==Object.prototype&&(p=m)):g=!0);var O=!n(p)||t(function(){var P={};return p[d].call(P)!==P});O?p={}:f&&(p=e(p)),o(p[d])||i(p,d,function(){return this}),a.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:g}},45495:a=>{a.exports={}},39646:(a,h,r)=>{var t=r(34237);a.exports=function(o){return t(o.length)}},16039:(a,h,r)=>{var t=r(24229),o=r(26733),n=r(98270),e=r(7400),s=r(51805).CONFIGURABLE,i=r(8511),l=r(56407),f=l.enforce,d=l.get,g=Object.defineProperty,p=e&&!t(function(){return g(function(){},"length",{value:8}).length!==8}),m=String(String).split("String"),x=a.exports=function(O,P,T){String(P).slice(0,7)==="Symbol("&&(P="["+String(P).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),T&&T.getter&&(P="get "+P),T&&T.setter&&(P="set "+P),(!n(O,"name")||s&&O.name!==P)&&(e?g(O,"name",{value:P,configurable:!0}):O.name=P),p&&T&&n(T,"arity")&&O.length!==T.arity&&g(O,"length",{value:T.arity});try{T&&n(T,"constructor")&&T.constructor?e&&g(O,"prototype",{writable:!1}):O.prototype&&(O.prototype=void 0)}catch(M){}var L=f(O);return n(L,"source")||(L.source=m.join(typeof P=="string"?P:"")),O};Function.prototype.toString=x(function(){return o(this)&&d(this).source||i(this)},"toString")},50917:a=>{var h=Math.ceil,r=Math.floor;a.exports=Math.trunc||function(o){var n=+o;return(n>0?r:h)(n)}},47:(a,h,r)=>{"use strict";var t=r(7400),o=r(65968),n=r(20266),e=r(24229),s=r(65632),i=r(10894),l=r(19195),f=r(92991),d=r(9337),g=Object.assign,p=Object.defineProperty,m=o([].concat);a.exports=!g||e(function(){if(t&&g({b:1},g(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var x={},O={},P=Symbol(),T="abcdefghijklmnopqrst";return x[P]=7,T.split("").forEach(function(L){O[L]=L}),g({},x)[P]!=7||s(g({},O)).join("")!=T})?function(O,P){for(var T=f(O),L=arguments.length,M=1,R=i.f,U=l.f;L>M;)for(var j=d(arguments[M++]),G=R?m(s(j),R(j)):s(j),sr=G.length,X=0,W;sr>X;)W=G[X++],(!t||n(U,j,W))&&(T[W]=j[W]);return T}:g},22391:(a,h,r)=>{var t=r(21176),o=r(90219),n=r(13837),e=r(95977),s=r(53777),i=r(22635),l=r(44399),f=">",d="<",g="prototype",p="script",m=l("IE_PROTO"),x=function(){},O=function(R){return d+p+f+R+d+"/"+p+f},P=function(R){R.write(O("")),R.close();var U=R.parentWindow.Object;return R=null,U},T=function(){var R=i("iframe"),U="java"+p+":",j;return R.style.display="none",s.appendChild(R),R.src=String(U),j=R.contentWindow.document,j.open(),j.write(O("document.F=Object")),j.close(),j.F},L,M=function(){try{L=new ActiveXObject("htmlfile")}catch(U){}M=typeof document!="undefined"?document.domain&&L?P(L):T():P(L);for(var R=n.length;R--;)delete M[g][n[R]];return M()};e[m]=!0,a.exports=Object.create||function(U,j){var G;return U!==null?(x[g]=t(U),G=new x,x[g]=null,G[m]=U):G=M(),j===void 0?G:o.f(G,j)}},90219:(a,h,r)=>{var t=r(7400),o=r(17137),n=r(31787),e=r(21176),s=r(10905),i=r(65632);h.f=t&&!o?Object.defineProperties:function(f,d){e(f);for(var g=s(d),p=i(d),m=p.length,x=0,O;m>x;)n.f(f,O=p[x++],g[O]);return f}},31787:(a,h,r)=>{var t=r(7400),o=r(64394),n=r(17137),e=r(21176),s=r(39310),i=TypeError,l=Object.defineProperty,f=Object.getOwnPropertyDescriptor,d="enumerable",g="configurable",p="writable";h.f=t?n?function(x,O,P){if(e(x),O=s(O),e(P),typeof x=="function"&&O==="prototype"&&"value"in P&&p in P&&!P[p]){var T=f(x,O);T&&T[p]&&(x[O]=P.value,P={configurable:g in P?P[g]:T[g],enumerable:d in P?P[d]:T[d],writable:!1})}return l(x,O,P)}:l:function(x,O,P){if(e(x),O=s(O),e(P),o)try{return l(x,O,P)}catch(T){}if("get"in P||"set"in P)throw i("Accessors not supported");return"value"in P&&(x[O]=P.value),x}},97933:(a,h,r)=>{var t=r(7400),o=r(20266),n=r(19195),e=r(65358),s=r(10905),i=r(39310),l=r(98270),f=r(64394),d=Object.getOwnPropertyDescriptor;h.f=t?d:function(p,m){if(p=s(p),m=i(m),f)try{return d(p,m)}catch(x){}if(l(p,m))return e(!o(n.f,p,m),p[m])}},78151:(a,h,r)=>{var t=r(90140),o=r(13837),n=o.concat("length","prototype");h.f=Object.getOwnPropertyNames||function(s){return t(s,n)}},10894:(a,h)=>{h.f=Object.getOwnPropertySymbols},67567:(a,h,r)=>{var t=r(98270),o=r(26733),n=r(92991),e=r(44399),s=r(27528),i=e("IE_PROTO"),l=Object,f=l.prototype;a.exports=s?l.getPrototypeOf:function(d){var g=n(d);if(t(g,i))return g[i];var p=g.constructor;return o(p)&&g instanceof p?p.prototype:g instanceof l?f:null}},91321:(a,h,r)=>{var t=r(65968);a.exports=t({}.isPrototypeOf)},90140:(a,h,r)=>{var t=r(65968),o=r(98270),n=r(10905),e=r(19540).indexOf,s=r(95977),i=t([].push);a.exports=function(l,f){var d=n(l),g=0,p=[],m;for(m in d)!o(s,m)&&o(d,m)&&i(p,m);for(;f.length>g;)o(d,m=f[g++])&&(~e(p,m)||i(p,m));return p}},65632:(a,h,r)=>{var t=r(90140),o=r(13837);a.exports=Object.keys||function(e){return t(e,o)}},19195:(a,h)=>{"use strict";var r={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,o=t&&!r.call({1:2},1);h.f=o?function(e){var s=t(this,e);return!!s&&s.enumerable}:r},56540:(a,h,r)=>{var t=r(65968),o=r(21176),n=r(88505);a.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,s={},i;try{i=t(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),i(s,[]),e=s instanceof Array}catch(l){}return function(f,d){return o(f),n(d),e?i(f,d):f.__proto__=d,f}}():void 0)},32914:(a,h,r)=>{var t=r(20266),o=r(26733),n=r(85052),e=TypeError;a.exports=function(s,i){var l,f;if(i==="string"&&o(l=s.toString)&&!n(f=t(l,s))||o(l=s.valueOf)&&!n(f=t(l,s))||i!=="string"&&o(l=s.toString)&&!n(f=t(l,s)))return f;throw e("Can't convert object to primitive value")}},4826:(a,h,r)=>{var t=r(31333),o=r(65968),n=r(78151),e=r(10894),s=r(21176),i=o([].concat);a.exports=t("Reflect","ownKeys")||function(f){var d=n.f(s(f)),g=e.f;return g?i(d,g(f)):d}},49276:(a,h,r)=>{var t=r(9859);a.exports=t},58885:(a,h,r)=>{var t=r(9650),o=TypeError;a.exports=function(n){if(t(n))throw o("Can't call method on "+n);return n}},54555:(a,h,r)=>{var t=r(31787).f,o=r(98270),n=r(70095),e=n("toStringTag");a.exports=function(s,i,l){s&&!l&&(s=s.prototype),s&&!o(s,e)&&t(s,e,{configurable:!0,value:i})}},44399:(a,h,r)=>{var t=r(33036),o=r(81441),n=t("keys");a.exports=function(e){return n[e]||(n[e]=o(e))}},85353:(a,h,r)=>{var t=r(9859),o=r(18400),n="__core-js_shared__",e=t[n]||o(n,{});a.exports=e},33036:(a,h,r)=>{var t=r(24231),o=r(85353);(a.exports=function(n,e){return o[n]||(o[n]=e!==void 0?e:{})})("versions",[]).push({version:"3.27.1",mode:t?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE",source:"https://github.com/zloirock/core-js"})},30966:(a,h,r)=>{var t=r(65968),o=r(43329),n=r(83326),e=r(58885),s=t("".charAt),i=t("".charCodeAt),l=t("".slice),f=function(d){return function(g,p){var m=n(e(g)),x=o(p),O=m.length,P,T;return x<0||x>=O?d?"":void 0:(P=i(m,x),P<55296||P>56319||x+1===O||(T=i(m,x+1))<56320||T>57343?d?s(m,x):P:d?l(m,x,x+2):(P-55296<<10)+(T-56320)+65536)}};a.exports={codeAt:f(!1),charAt:f(!0)}},77321:(a,h,r)=>{"use strict";var t=r(65968),o=2147483647,n=36,e=1,s=26,i=38,l=700,f=72,d=128,g="-",p=/[^\0-\u007E]/,m=/[.\u3002\uFF0E\uFF61]/g,x="Overflow: input needs wider integers to process",O=n-e,P=RangeError,T=t(m.exec),L=Math.floor,M=String.fromCharCode,R=t("".charCodeAt),U=t([].join),j=t([].push),G=t("".replace),sr=t("".split),X=t("".toLowerCase),W=function(D){for(var H=[],N=0,$=D.length;N<$;){var Y=R(D,N++);if(Y>=55296&&Y<=56319&&N<$){var V=R(D,N++);(V&64512)==56320?j(H,((Y&1023)<<10)+(V&1023)+65536):(j(H,Y),N--)}else j(H,Y)}return H},k=function(D){return D+22+75*(D<26)},dr=function(D,H,N){var $=0;for(D=N?L(D/l):D>>1,D+=L(D/H);D>O*s>>1;)D=L(D/O),$+=n;return L($+(O+1)*D/(D+i))},tr=function(D){var H=[];D=W(D);var N=D.length,$=d,Y=0,V=f,K,z;for(K=0;K<D.length;K++)z=D[K],z<128&&j(H,M(z));var ir=H.length,q=ir;for(ir&&j(H,g);q<N;){var Z=o;for(K=0;K<D.length;K++)z=D[K],z>=$&&z<Z&&(Z=z);var ar=q+1;if(Z-$>L((o-Y)/ar))throw P(x);for(Y+=(Z-$)*ar,$=Z,K=0;K<D.length;K++){if(z=D[K],z<$&&++Y>o)throw P(x);if(z==$){for(var er=Y,lr=n;;){var gr=lr<=V?e:lr>=V+s?s:lr-V;if(er<gr)break;var vr=er-gr,Er=n-gr;j(H,M(k(gr+vr%Er))),er=L(vr/Er),lr+=n}j(H,M(k(er))),V=dr(Y,ar,q==ir),Y=0,q++}}Y++,$++}return U(H,"")};a.exports=function(D){var H=[],N=sr(G(X(D),m,"."),"."),$,Y;for($=0;$<N.length;$++)Y=N[$],j(H,T(p,Y)?"xn--"+tr(Y):Y);return U(H,".")}},44860:(a,h,r)=>{var t=r(6358),o=r(24229);a.exports=!!Object.getOwnPropertySymbols&&!o(function(){var n=Symbol();return!String(n)||!(Object(n)instanceof Symbol)||!Symbol.sham&&t&&t<41})},43231:(a,h,r)=>{var t=r(43329),o=Math.max,n=Math.min;a.exports=function(e,s){var i=t(e);return i<0?o(i+s,0):n(i,s)}},10905:(a,h,r)=>{var t=r(9337),o=r(58885);a.exports=function(n){return t(o(n))}},43329:(a,h,r)=>{var t=r(50917);a.exports=function(o){var n=+o;return n!==n||n===0?0:t(n)}},34237:(a,h,r)=>{var t=r(43329),o=Math.min;a.exports=function(n){return n>0?o(t(n),9007199254740991):0}},92991:(a,h,r)=>{var t=r(58885),o=Object;a.exports=function(n){return o(t(n))}},92066:(a,h,r)=>{var t=r(20266),o=r(85052),n=r(49395),e=r(55300),s=r(32914),i=r(70095),l=TypeError,f=i("toPrimitive");a.exports=function(d,g){if(!o(d)||n(d))return d;var p=e(d,f),m;if(p){if(g===void 0&&(g="default"),m=t(p,d,g),!o(m)||n(m))return m;throw l("Can't convert object to primitive value")}return g===void 0&&(g="number"),s(d,g)}},39310:(a,h,r)=>{var t=r(92066),o=r(49395);a.exports=function(n){var e=t(n,"string");return o(e)?e:e+""}},71601:(a,h,r)=>{var t=r(70095),o=t("toStringTag"),n={};n[o]="z",a.exports=String(n)==="[object z]"},83326:(a,h,r)=>{var t=r(81589),o=String;a.exports=function(n){if(t(n)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return o(n)}},59821:a=>{var h=String;a.exports=function(r){try{return h(r)}catch(t){return"Object"}}},81441:(a,h,r)=>{var t=r(65968),o=0,n=Math.random(),e=t(1 .toString);a.exports=function(s){return"Symbol("+(s===void 0?"":s)+")_"+e(++o+n,36)}},34144:(a,h,r)=>{var t=r(24229),o=r(70095),n=r(24231),e=o("iterator");a.exports=!t(function(){var s=new URL("b?a=1&b=2&c=3","http://a"),i=s.searchParams,l="";return s.pathname="c%20d",i.forEach(function(f,d){i.delete("b"),l+=d+f}),n&&!s.toJSON||!i.sort||s.href!=="http://a/c%20d?a=1&c=3"||i.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!i[e]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||l!=="a1c3"||new URL("http://x",void 0).host!=="x"})},66969:(a,h,r)=>{var t=r(44860);a.exports=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},17137:(a,h,r)=>{var t=r(7400),o=r(24229);a.exports=t&&o(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},77579:a=>{var h=TypeError;a.exports=function(r,t){if(r<t)throw h("Not enough arguments");return r}},51180:(a,h,r)=>{var t=r(9859),o=r(26733),n=t.WeakMap;a.exports=o(n)&&/native code/.test(String(n))},70095:(a,h,r)=>{var t=r(9859),o=r(33036),n=r(98270),e=r(81441),s=r(44860),i=r(66969),l=o("wks"),f=t.Symbol,d=f&&f.for,g=i?f:f&&f.withoutSetter||e;a.exports=function(p){if(!n(l,p)||!(s||typeof l[p]=="string")){var m="Symbol."+p;s&&n(f,p)?l[p]=f[p]:i&&d?l[p]=d(m):l[p]=g(m)}return l[p]}},15735:(a,h,r)=>{"use strict";var t=r(10905),o=r(9736),n=r(45495),e=r(56407),s=r(31787).f,i=r(12707),l=r(33684),f=r(24231),d=r(7400),g="Array Iterator",p=e.set,m=e.getterFor(g);a.exports=i(Array,"Array",function(O,P){p(this,{type:g,target:t(O),index:0,kind:P})},function(){var O=m(this),P=O.target,T=O.kind,L=O.index++;return!P||L>=P.length?(O.target=void 0,l(void 0,!0)):T=="keys"?l(L,!1):T=="values"?l(P[L],!1):l([L,P[L]],!1)},"values");var x=n.Arguments=n.Array;if(o("keys"),o("values"),o("entries"),!f&&d&&x.name!=="values")try{s(x,"name",{value:"values"})}catch(O){}},28673:(a,h,r)=>{"use strict";var t=r(30966).charAt,o=r(83326),n=r(56407),e=r(12707),s=r(33684),i="String Iterator",l=n.set,f=n.getterFor(i);e(String,"String",function(d){l(this,{type:i,string:o(d),index:0})},function(){var g=f(this),p=g.string,m=g.index,x;return m>=p.length?s(void 0,!0):(x=t(p,m),g.index+=x.length,s(x,!1))})},62653:(a,h,r)=>{"use strict";r(15735);var t=r(23103),o=r(9859),n=r(20266),e=r(65968),s=r(7400),i=r(34144),l=r(14768),f=r(8312),d=r(54555),g=r(42247),p=r(56407),m=r(57728),x=r(26733),O=r(98270),P=r(97636),T=r(81589),L=r(21176),M=r(85052),R=r(83326),U=r(22391),j=r(65358),G=r(28403),sr=r(78830),X=r(77579),W=r(70095),k=r(33867),dr=W("iterator"),tr="URLSearchParams",D=tr+"Iterator",H=p.set,N=p.getterFor(tr),$=p.getterFor(D),Y=Object.getOwnPropertyDescriptor,V=function(E){if(!s)return o[E];var C=Y(o,E);return C&&C.value},K=V("fetch"),z=V("Request"),ir=V("Headers"),q=z&&z.prototype,Z=ir&&ir.prototype,ar=o.RegExp,er=o.TypeError,lr=o.decodeURIComponent,gr=o.encodeURIComponent,vr=e("".charAt),Er=e([].join),yr=e([].push),Fr=e("".replace),Br=e([].shift),Hr=e([].splice),Gr=e("".split),Jr=e("".slice),$r=/\+/g,Kr=Array(4),Xr=function(E){return Kr[E-1]||(Kr[E-1]=ar("((?:%[\\da-f]{2}){"+E+"})","gi"))},Qr=function(E){try{return lr(E)}catch(C){return E}},Yr=function(E){var C=Fr(E,$r," "),w=4;try{return lr(C)}catch(F){for(;w;)C=Fr(C,Xr(w--),Qr);return C}},ur=/[!'()~]|%20/g,Zr={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},kr=function(E){return Zr[E]},zr=function(E){return Fr(gr(E),ur,kr)},Or=g(function(C,w){H(this,{type:D,iterator:G(N(C).entries),kind:w})},"Iterator",function(){var C=$(this),w=C.kind,F=C.iterator.next(),B=F.value;return F.done||(F.value=w==="keys"?B.key:w==="values"?B.value:[B.key,B.value]),F},!0),Cr=function(E){this.entries=[],this.url=null,E!==void 0&&(M(E)?this.parseObject(E):this.parseQuery(typeof E=="string"?vr(E,0)==="?"?Jr(E,1):E:R(E)))};Cr.prototype={type:tr,bindURL:function(E){this.url=E,this.update()},parseObject:function(E){var C=sr(E),w,F,B,J,Sr,Lr,hr;if(C)for(w=G(E,C),F=w.next;!(B=n(F,w)).done;){if(J=G(L(B.value)),Sr=J.next,(Lr=n(Sr,J)).done||(hr=n(Sr,J)).done||!n(Sr,J).done)throw er("Expected sequence with length 2");yr(this.entries,{key:R(Lr.value),value:R(hr.value)})}else for(var xr in E)O(E,xr)&&yr(this.entries,{key:xr,value:R(E[xr])})},parseQuery:function(E){if(E)for(var C=Gr(E,"&"),w=0,F,B;w<C.length;)F=C[w++],F.length&&(B=Gr(F,"="),yr(this.entries,{key:Yr(Br(B)),value:Yr(Er(B,"="))}))},serialize:function(){for(var E=this.entries,C=[],w=0,F;w<E.length;)F=E[w++],yr(C,zr(F.key)+"="+zr(F.value));return Er(C,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var wr=function(){m(this,Ar);var C=arguments.length>0?arguments[0]:void 0;H(this,new Cr(C))},Ar=wr.prototype;if(f(Ar,{append:function(C,w){X(arguments.length,2);var F=N(this);yr(F.entries,{key:R(C),value:R(w)}),F.updateURL()},delete:function(E){X(arguments.length,1);for(var C=N(this),w=C.entries,F=R(E),B=0;B<w.length;)w[B].key===F?Hr(w,B,1):B++;C.updateURL()},get:function(C){X(arguments.length,1);for(var w=N(this).entries,F=R(C),B=0;B<w.length;B++)if(w[B].key===F)return w[B].value;return null},getAll:function(C){X(arguments.length,1);for(var w=N(this).entries,F=R(C),B=[],J=0;J<w.length;J++)w[J].key===F&&yr(B,w[J].value);return B},has:function(C){X(arguments.length,1);for(var w=N(this).entries,F=R(C),B=0;B<w.length;)if(w[B++].key===F)return!0;return!1},set:function(C,w){X(arguments.length,1);for(var F=N(this),B=F.entries,J=!1,Sr=R(C),Lr=R(w),hr=0,xr;hr<B.length;hr++)xr=B[hr],xr.key===Sr&&(J?Hr(B,hr--,1):(J=!0,xr.value=Lr));J||yr(B,{key:Sr,value:Lr}),F.updateURL()},sort:function(){var C=N(this);k(C.entries,function(w,F){return w.key>F.key?1:-1}),C.updateURL()},forEach:function(C){for(var w=N(this).entries,F=P(C,arguments.length>1?arguments[1]:void 0),B=0,J;B<w.length;)J=w[B++],F(J.value,J.key,this)},keys:function(){return new Or(this,"keys")},values:function(){return new Or(this,"values")},entries:function(){return new Or(this,"entries")}},{enumerable:!0}),l(Ar,dr,Ar.entries,{name:"entries"}),l(Ar,"toString",function(){return N(this).serialize()},{enumerable:!0}),d(wr,tr),t({global:!0,constructor:!0,forced:!i},{URLSearchParams:wr}),!i&&x(ir)){var Mr=e(Z.has),mr=e(Z.set),br=function(E){if(M(E)){var C=E.body,w;if(T(C)===tr)return w=E.headers?new ir(E.headers):new ir,Mr(w,"content-type")||mr(w,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),U(E,{body:j(0,R(C)),headers:j(0,w)})}return E};if(x(K)&&t({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(C){return K(C,arguments.length>1?br(arguments[1]):{})}}),x(z)){var Pr=function(C){return m(this,q),new z(C,arguments.length>1?br(arguments[1]):{})};q.constructor=Pr,Pr.prototype=q,t({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Pr})}}a.exports={URLSearchParams:wr,getState:N}},60523:(a,h,r)=>{r(62653)},95340:(a,h,r)=>{"use strict";r(28673);var t=r(23103),o=r(7400),n=r(34144),e=r(9859),s=r(97636),i=r(65968),l=r(14768),f=r(96616),d=r(57728),g=r(98270),p=r(47),m=r(10507),x=r(69794),O=r(30966).codeAt,P=r(77321),T=r(83326),L=r(54555),M=r(77579),R=r(62653),U=r(56407),j=U.set,G=U.getterFor("URL"),sr=R.URLSearchParams,X=R.getState,W=e.URL,k=e.TypeError,dr=e.parseInt,tr=Math.floor,D=Math.pow,H=i("".charAt),N=i(/./.exec),$=i([].join),Y=i(1 .toString),V=i([].pop),K=i([].push),z=i("".replace),ir=i([].shift),q=i("".split),Z=i("".slice),ar=i("".toLowerCase),er=i([].unshift),lr="Invalid authority",gr="Invalid scheme",vr="Invalid host",Er="Invalid port",yr=/[a-z]/i,Fr=/[\d+-.a-z]/i,Br=/\d/,Hr=/^0x/i,Gr=/^[0-7]+$/,Jr=/^\d+$/,$r=/^[\da-f]+$/i,Kr=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Xr=/[\0\t\n\r #/:<>?@[\\\]^|]/,Qr=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,Yr=/[\t\n\r]/g,ur,Zr=function(v){var I=q(v,"."),c,u,y,b,A,Q,_;if(I.length&&I[I.length-1]==""&&I.length--,c=I.length,c>4)return v;for(u=[],y=0;y<c;y++){if(b=I[y],b=="")return v;if(A=10,b.length>1&&H(b,0)=="0"&&(A=N(Hr,b)?16:8,b=Z(b,A==8?1:2)),b==="")Q=0;else{if(!N(A==10?Jr:A==8?Gr:$r,b))return v;Q=dr(b,A)}K(u,Q)}for(y=0;y<c;y++)if(Q=u[y],y==c-1){if(Q>=D(256,5-c))return null}else if(Q>255)return null;for(_=V(u),y=0;y<u.length;y++)_+=u[y]*D(256,3-y);return _},kr=function(v){var I=[0,0,0,0,0,0,0,0],c=0,u=null,y=0,b,A,Q,_,nr,cr,S,rr=function(){return H(v,y)};if(rr()==":"){if(H(v,1)!=":")return;y+=2,c++,u=c}for(;rr();){if(c==8)return;if(rr()==":"){if(u!==null)return;y++,c++,u=c;continue}for(b=A=0;A<4&&N($r,rr());)b=b*16+dr(rr(),16),y++,A++;if(rr()=="."){if(A==0||(y-=A,c>6))return;for(Q=0;rr();){if(_=null,Q>0)if(rr()=="."&&Q<4)y++;else return;if(!N(Br,rr()))return;for(;N(Br,rr());){if(nr=dr(rr(),10),_===null)_=nr;else{if(_==0)return;_=_*10+nr}if(_>255)return;y++}I[c]=I[c]*256+_,Q++,(Q==2||Q==4)&&c++}if(Q!=4)return;break}else if(rr()==":"){if(y++,!rr())return}else if(rr())return;I[c++]=b}if(u!==null)for(cr=c-u,c=7;c!=0&&cr>0;)S=I[c],I[c--]=I[u+cr-1],I[u+--cr]=S;else if(c!=8)return;return I},zr=function(v){for(var I=null,c=1,u=null,y=0,b=0;b<8;b++)v[b]!==0?(y>c&&(I=u,c=y),u=null,y=0):(u===null&&(u=b),++y);return y>c&&(I=u,c=y),I},Or=function(v){var I,c,u,y;if(typeof v=="number"){for(I=[],c=0;c<4;c++)er(I,v%256),v=tr(v/256);return $(I,".")}else if(typeof v=="object"){for(I="",u=zr(v),c=0;c<8;c++)y&&v[c]===0||(y&&(y=!1),u===c?(I+=c?":":"::",y=!0):(I+=Y(v[c],16),c<7&&(I+=":")));return"["+I+"]"}return v},Cr={},wr=p({},Cr,{" ":1,'"':1,"<":1,">":1,"`":1}),Ar=p({},wr,{"#":1,"?":1,"{":1,"}":1}),Mr=p({},Ar,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),mr=function(v,I){var c=O(v,0);return c>32&&c<127&&!g(I,v)?v:encodeURIComponent(v)},br={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Pr=function(v,I){var c;return v.length==2&&N(yr,H(v,0))&&((c=H(v,1))==":"||!I&&c=="|")},E=function(v){var I;return v.length>1&&Pr(Z(v,0,2))&&(v.length==2||(I=H(v,2))==="/"||I==="\\"||I==="?"||I==="#")},C=function(v){return v==="."||ar(v)==="%2e"},w=function(v){return v=ar(v),v===".."||v==="%2e."||v===".%2e"||v==="%2e%2e"},F={},B={},J={},Sr={},Lr={},hr={},xr={},ut={},Vr={},Wr={},qr={},_r={},rt={},tt={},lt={},et={},jr={},Ir={},vt={},Ur={},Rr={},nt=function(v,I,c){var u=T(v),y,b,A;if(I){if(b=this.parse(u),b)throw k(b);this.searchParams=null}else{if(c!==void 0&&(y=new nt(c,!0)),b=this.parse(u,null,y),b)throw k(b);A=X(new sr),A.bindURL(this),this.searchParams=A}};nt.prototype={type:"URL",parse:function(v,I,c){var u=this,y=I||F,b=0,A="",Q=!1,_=!1,nr=!1,cr,S,rr,Tr;for(v=T(v),I||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,v=z(v,Qr,"")),v=z(v,Yr,""),cr=m(v);b<=cr.length;){switch(S=cr[b],y){case F:if(S&&N(yr,S))A+=ar(S),y=B;else{if(I)return gr;y=J;continue}break;case B:if(S&&(N(Fr,S)||S=="+"||S=="-"||S=="."))A+=ar(S);else if(S==":"){if(I&&(u.isSpecial()!=g(br,A)||A=="file"&&(u.includesCredentials()||u.port!==null)||u.scheme=="file"&&!u.host))return;if(u.scheme=A,I){u.isSpecial()&&br[u.scheme]==u.port&&(u.port=null);return}A="",u.scheme=="file"?y=tt:u.isSpecial()&&c&&c.scheme==u.scheme?y=Sr:u.isSpecial()?y=ut:cr[b+1]=="/"?(y=Lr,b++):(u.cannotBeABaseURL=!0,K(u.path,""),y=vt)}else{if(I)return gr;A="",y=J,b=0;continue}break;case J:if(!c||c.cannotBeABaseURL&&S!="#")return gr;if(c.cannotBeABaseURL&&S=="#"){u.scheme=c.scheme,u.path=x(c.path),u.query=c.query,u.fragment="",u.cannotBeABaseURL=!0,y=Rr;break}y=c.scheme=="file"?tt:hr;continue;case Sr:if(S=="/"&&cr[b+1]=="/")y=Vr,b++;else{y=hr;continue}break;case Lr:if(S=="/"){y=Wr;break}else{y=Ir;continue}case hr:if(u.scheme=c.scheme,S==ur)u.username=c.username,u.password=c.password,u.host=c.host,u.port=c.port,u.path=x(c.path),u.query=c.query;else if(S=="/"||S=="\\"&&u.isSpecial())y=xr;else if(S=="?")u.username=c.username,u.password=c.password,u.host=c.host,u.port=c.port,u.path=x(c.path),u.query="",y=Ur;else if(S=="#")u.username=c.username,u.password=c.password,u.host=c.host,u.port=c.port,u.path=x(c.path),u.query=c.query,u.fragment="",y=Rr;else{u.username=c.username,u.password=c.password,u.host=c.host,u.port=c.port,u.path=x(c.path),u.path.length--,y=Ir;continue}break;case xr:if(u.isSpecial()&&(S=="/"||S=="\\"))y=Vr;else if(S=="/")y=Wr;else{u.username=c.username,u.password=c.password,u.host=c.host,u.port=c.port,y=Ir;continue}break;case ut:if(y=Vr,S!="/"||H(A,b+1)!="/")continue;b++;break;case Vr:if(S!="/"&&S!="\\"){y=Wr;continue}break;case Wr:if(S=="@"){Q&&(A="%40"+A),Q=!0,rr=m(A);for(var at=0;at<rr.length;at++){var ht=rr[at];if(ht==":"&&!nr){nr=!0;continue}var pt=mr(ht,Mr);nr?u.password+=pt:u.username+=pt}A=""}else if(S==ur||S=="/"||S=="?"||S=="#"||S=="\\"&&u.isSpecial()){if(Q&&A=="")return lr;b-=m(A).length+1,A="",y=qr}else A+=S;break;case qr:case _r:if(I&&u.scheme=="file"){y=et;continue}else if(S==":"&&!_){if(A=="")return vr;if(Tr=u.parseHost(A),Tr)return Tr;if(A="",y=rt,I==_r)return}else if(S==ur||S=="/"||S=="?"||S=="#"||S=="\\"&&u.isSpecial()){if(u.isSpecial()&&A=="")return vr;if(I&&A==""&&(u.includesCredentials()||u.port!==null))return;if(Tr=u.parseHost(A),Tr)return Tr;if(A="",y=jr,I)return;continue}else S=="["?_=!0:S=="]"&&(_=!1),A+=S;break;case rt:if(N(Br,S))A+=S;else if(S==ur||S=="/"||S=="?"||S=="#"||S=="\\"&&u.isSpecial()||I){if(A!=""){var ot=dr(A,10);if(ot>65535)return Er;u.port=u.isSpecial()&&ot===br[u.scheme]?null:ot,A=""}if(I)return;y=jr;continue}else return Er;break;case tt:if(u.scheme="file",S=="/"||S=="\\")y=lt;else if(c&&c.scheme=="file")if(S==ur)u.host=c.host,u.path=x(c.path),u.query=c.query;else if(S=="?")u.host=c.host,u.path=x(c.path),u.query="",y=Ur;else if(S=="#")u.host=c.host,u.path=x(c.path),u.query=c.query,u.fragment="",y=Rr;else{E($(x(cr,b),""))||(u.host=c.host,u.path=x(c.path),u.shortenPath()),y=Ir;continue}else{y=Ir;continue}break;case lt:if(S=="/"||S=="\\"){y=et;break}c&&c.scheme=="file"&&!E($(x(cr,b),""))&&(Pr(c.path[0],!0)?K(u.path,c.path[0]):u.host=c.host),y=Ir;continue;case et:if(S==ur||S=="/"||S=="\\"||S=="?"||S=="#"){if(!I&&Pr(A))y=Ir;else if(A==""){if(u.host="",I)return;y=jr}else{if(Tr=u.parseHost(A),Tr)return Tr;if(u.host=="localhost"&&(u.host=""),I)return;A="",y=jr}continue}else A+=S;break;case jr:if(u.isSpecial()){if(y=Ir,S!="/"&&S!="\\")continue}else if(!I&&S=="?")u.query="",y=Ur;else if(!I&&S=="#")u.fragment="",y=Rr;else if(S!=ur&&(y=Ir,S!="/"))continue;break;case Ir:if(S==ur||S=="/"||S=="\\"&&u.isSpecial()||!I&&(S=="?"||S=="#")){if(w(A)?(u.shortenPath(),S!="/"&&!(S=="\\"&&u.isSpecial())&&K(u.path,"")):C(A)?S!="/"&&!(S=="\\"&&u.isSpecial())&&K(u.path,""):(u.scheme=="file"&&!u.path.length&&Pr(A)&&(u.host&&(u.host=""),A=H(A,0)+":"),K(u.path,A)),A="",u.scheme=="file"&&(S==ur||S=="?"||S=="#"))for(;u.path.length>1&&u.path[0]==="";)ir(u.path);S=="?"?(u.query="",y=Ur):S=="#"&&(u.fragment="",y=Rr)}else A+=mr(S,Ar);break;case vt:S=="?"?(u.query="",y=Ur):S=="#"?(u.fragment="",y=Rr):S!=ur&&(u.path[0]+=mr(S,Cr));break;case Ur:!I&&S=="#"?(u.fragment="",y=Rr):S!=ur&&(S=="'"&&u.isSpecial()?u.query+="%27":S=="#"?u.query+="%23":u.query+=mr(S,Cr));break;case Rr:S!=ur&&(u.fragment+=mr(S,wr));break}b++}},parseHost:function(v){var I,c,u;if(H(v,0)=="["){if(H(v,v.length-1)!="]"||(I=kr(Z(v,1,-1)),!I))return vr;this.host=I}else if(this.isSpecial()){if(v=P(v),N(Kr,v)||(I=Zr(v),I===null))return vr;this.host=I}else{if(N(Xr,v))return vr;for(I="",c=m(v),u=0;u<c.length;u++)I+=mr(c[u],Cr);this.host=I}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme=="file"},includesCredentials:function(){return this.username!=""||this.password!=""},isSpecial:function(){return g(br,this.scheme)},shortenPath:function(){var v=this.path,I=v.length;I&&(this.scheme!="file"||I!=1||!Pr(v[0],!0))&&v.length--},serialize:function(){var v=this,I=v.scheme,c=v.username,u=v.password,y=v.host,b=v.port,A=v.path,Q=v.query,_=v.fragment,nr=I+":";return y!==null?(nr+="//",v.includesCredentials()&&(nr+=c+(u?":"+u:"")+"@"),nr+=Or(y),b!==null&&(nr+=":"+b)):I=="file"&&(nr+="//"),nr+=v.cannotBeABaseURL?A[0]:A.length?"/"+$(A,"/"):"",Q!==null&&(nr+="?"+Q),_!==null&&(nr+="#"+_),nr},setHref:function(v){var I=this.parse(v);if(I)throw k(I);this.searchParams.update()},getOrigin:function(){var v=this.scheme,I=this.port;if(v=="blob")try{return new Nr(v.path[0]).origin}catch(c){return"null"}return v=="file"||!this.isSpecial()?"null":v+"://"+Or(this.host)+(I!==null?":"+I:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(v){this.parse(T(v)+":",F)},getUsername:function(){return this.username},setUsername:function(v){var I=m(T(v));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var c=0;c<I.length;c++)this.username+=mr(I[c],Mr)}},getPassword:function(){return this.password},setPassword:function(v){var I=m(T(v));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var c=0;c<I.length;c++)this.password+=mr(I[c],Mr)}},getHost:function(){var v=this.host,I=this.port;return v===null?"":I===null?Or(v):Or(v)+":"+I},setHost:function(v){this.cannotBeABaseURL||this.parse(v,qr)},getHostname:function(){var v=this.host;return v===null?"":Or(v)},setHostname:function(v){this.cannotBeABaseURL||this.parse(v,_r)},getPort:function(){var v=this.port;return v===null?"":T(v)},setPort:function(v){this.cannotHaveUsernamePasswordPort()||(v=T(v),v==""?this.port=null:this.parse(v,rt))},getPathname:function(){var v=this.path;return this.cannotBeABaseURL?v[0]:v.length?"/"+$(v,"/"):""},setPathname:function(v){this.cannotBeABaseURL||(this.path=[],this.parse(v,jr))},getSearch:function(){var v=this.query;return v?"?"+v:""},setSearch:function(v){v=T(v),v==""?this.query=null:(H(v,0)=="?"&&(v=Z(v,1)),this.query="",this.parse(v,Ur)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var v=this.fragment;return v?"#"+v:""},setHash:function(v){if(v=T(v),v==""){this.fragment=null;return}H(v,0)=="#"&&(v=Z(v,1)),this.fragment="",this.parse(v,Rr)},update:function(){this.query=this.searchParams.serialize()||null}};var Nr=function(I){var c=d(this,or),u=M(arguments.length,1)>1?arguments[1]:void 0,y=j(c,new nt(I,!1,u));o||(c.href=y.serialize(),c.origin=y.getOrigin(),c.protocol=y.getProtocol(),c.username=y.getUsername(),c.password=y.getPassword(),c.host=y.getHost(),c.hostname=y.getHostname(),c.port=y.getPort(),c.pathname=y.getPathname(),c.search=y.getSearch(),c.searchParams=y.getSearchParams(),c.hash=y.getHash())},or=Nr.prototype,fr=function(v,I){return{get:function(){return G(this)[v]()},set:I&&function(c){return G(this)[I](c)},configurable:!0,enumerable:!0}};if(o&&(f(or,"href",fr("serialize","setHref")),f(or,"origin",fr("getOrigin")),f(or,"protocol",fr("getProtocol","setProtocol")),f(or,"username",fr("getUsername","setUsername")),f(or,"password",fr("getPassword","setPassword")),f(or,"host",fr("getHost","setHost")),f(or,"hostname",fr("getHostname","setHostname")),f(or,"port",fr("getPort","setPort")),f(or,"pathname",fr("getPathname","setPathname")),f(or,"search",fr("getSearch","setSearch")),f(or,"searchParams",fr("getSearchParams")),f(or,"hash",fr("getHash","setHash"))),l(or,"toJSON",function(){return G(this).serialize()},{enumerable:!0}),l(or,"toString",function(){return G(this).serialize()},{enumerable:!0}),W){var ft=W.createObjectURL,ct=W.revokeObjectURL;ft&&l(Nr,"createObjectURL",s(ft,W)),ct&&l(Nr,"revokeObjectURL",s(ct,W))}L(Nr,"URL"),t({global:!0,constructor:!0,forced:!n,sham:!o},{URL:Nr})},14121:(a,h,r)=>{r(95340)},85371:(a,h,r)=>{"use strict";var t=r(23103),o=r(20266);t({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},47080:(a,h,r)=>{r(14121),r(85371),r(60523);var t=r(49276);a.exports=t.URL}},Dr={};function pr(a){var h=Dr[a];if(h!==void 0)return h.exports;var r=Dr[a]={exports:{}};return st[a](r,r.exports,pr),r.exports}pr.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(a){if(typeof window=="object")return window}}(),pr.r=a=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})};var it={};return(()=>{"use strict";pr.r(it);var a=pr(47080);const h="Something went wrong, please, try again.";function r(e){return e&&e.replace(/=+$/,"")}function t(e,s){return Boolean(e)&&Boolean(s)&&r(e)===r(s)}function o(e){let s;if(/code|token|error/.test(window.location.hash)?s=window.location.hash.substring(1):s=location.search.substring(1),!s)throw console.error("No query string in OAuth 2 redirect URL"),new Error(h);const i=new URLSearchParams(s),l=i.get("access_token"),f=i.get("code"),d=i.get("token_type"),g=i.get("expires_in"),p=i.get("state"),m=i.get("error"),x=i.get("error_description")||h;if(m)throw new Error(x);if(!t(p,e==null?void 0:e.state))throw new Error("Outdated OAuth2 state");if((e==null?void 0:e.flow)==="implicit"){if(!l)throw new Error(`Your OAuth2 authentication service provider redirected you without an "access_token".
7
7
  Please, try again or make sure your OAuth2 settings are correct.`);if(!d)throw new Error(`Your OAuth2 authentication service provider redirected you without a "token_type".
8
8
  Please, try again or make sure your OAuth2 settings are correct.`);e==null||e.successCallback({access_token:l,token_type:d,expires_in:g,auth_code:""})}if((e==null?void 0:e.flow)==="authorizationCode"){if(!f)throw new Error(`Your OAuth2 authentication service provider redirected you without authorization "code".