@redocly/openapi-docs 3.0.0-alpha.39 → 3.0.0-alpha.40
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.
|
@@ -2,7 +2,7 @@ var et=(x,k,c)=>new Promise((m,w)=>{var b=O=>{try{A(c.next(O))}catch(j){w(j)}},_
|
|
|
2
2
|
* Redocly OpenAPI Docs
|
|
3
3
|
* (c) Copyright 2018 Redocly LLC, all rights reserved.
|
|
4
4
|
* -------------------------------------------------------------
|
|
5
|
-
* Version: "3.0.0-alpha.
|
|
5
|
+
* Version: "3.0.0-alpha.40"
|
|
6
6
|
*/(this.webpackChunkRedoclyOpenAPIDocs=this.webpackChunkRedoclyOpenAPIDocs||[]).push([[290],{29641:(x,k,c)=>{(function(m){m(c(46944))})(function(m){var w={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},b=m.Pos;m.defineOption("autoCloseBrackets",!1,function(L,E,N){N&&N!=m.Init&&(L.removeKeyMap(A),L.state.closeBrackets=null),E&&(O(_(E,"pairs")),L.state.closeBrackets=E,L.addKeyMap(A))});function _(L,E){return E=="pairs"&&typeof L=="string"?L:typeof L=="object"&&L[E]!=null?L[E]:w[E]}var A={Backspace:K,Enter:ie};function O(L){for(var E=0;E<L.length;E++){var N=L.charAt(E),U="'"+N+"'";A[U]||(A[U]=j(N))}}O(w.pairs+"`");function j(L){return function(E){return q(E,L)}}function $(L){var E=L.state.closeBrackets;if(!E||E.override)return E;var N=L.getModeAt(L.getCursor());return N.closeBrackets||E}function K(L){var E=$(L);if(!E||L.getOption("disableInput"))return m.Pass;for(var N=_(E,"pairs"),U=L.listSelections(),se=0;se<U.length;se++){if(!U[se].empty())return m.Pass;var ne=V(L,U[se].head);if(!ne||N.indexOf(ne)%2!=0)return m.Pass}for(var se=U.length-1;se>=0;se--){var Y=U[se].head;L.replaceRange("",b(Y.line,Y.ch-1),b(Y.line,Y.ch+1),"+delete")}}function ie(L){var E=$(L),N=E&&_(E,"explode");if(!N||L.getOption("disableInput"))return m.Pass;for(var U=L.listSelections(),se=0;se<U.length;se++){if(!U[se].empty())return m.Pass;var ne=V(L,U[se].head);if(!ne||N.indexOf(ne)%2!=0)return m.Pass}L.operation(function(){var Y=L.lineSeparator()||`
|
|
7
7
|
`;L.replaceSelection(Y+Y,null),ee(L,-1),U=L.listSelections();for(var X=0;X<U.length;X++){var Q=U[X].head.line;L.indentLine(Q,null,!0),L.indentLine(Q+1,null,!0)}})}function ee(L,E){for(var N=[],U=L.listSelections(),se=0,ne=0;ne<U.length;ne++){var Y=U[ne];Y.head==L.getCursor()&&(se=ne);var X=Y.head.ch||E>0?{line:Y.head.line,ch:Y.head.ch+E}:{line:Y.head.line-1};N.push({anchor:X,head:X})}L.setSelections(N,se)}function ae(L){var E=m.cmpPos(L.anchor,L.head)>0;return{anchor:new b(L.anchor.line,L.anchor.ch+(E?-1:1)),head:new b(L.head.line,L.head.ch+(E?1:-1))}}function q(L,E){var N=$(L);if(!N||L.getOption("disableInput"))return m.Pass;var U=_(N,"pairs"),se=U.indexOf(E);if(se==-1)return m.Pass;for(var ne=_(N,"closeBefore"),Y=_(N,"triples"),X=U.charAt(se+1)==E,Q=L.listSelections(),H=se%2==0,de,Ae=0;Ae<Q.length;Ae++){var Z=Q[Ae],xe=Z.head,ue,Ne=L.getRange(xe,b(xe.line,xe.ch+1));if(H&&!Z.empty())ue="surround";else if((X||!H)&&Ne==E)X&&J(L,xe)?ue="both":Y.indexOf(E)>=0&&L.getRange(xe,b(xe.line,xe.ch+3))==E+E+E?ue="skipThree":ue="skip";else if(X&&xe.ch>1&&Y.indexOf(E)>=0&&L.getRange(b(xe.line,xe.ch-2),xe)==E+E){if(xe.ch>2&&/\bstring/.test(L.getTokenTypeAt(b(xe.line,xe.ch-2))))return m.Pass;ue="addFour"}else if(X){var He=xe.ch==0?" ":L.getRange(b(xe.line,xe.ch-1),xe);if(!m.isWordChar(Ne)&&He!=E&&!m.isWordChar(He))ue="both";else return m.Pass}else if(H&&(Ne.length===0||/\s/.test(Ne)||ne.indexOf(Ne)>-1))ue="both";else return m.Pass;if(!de)de=ue;else if(de!=ue)return m.Pass}var Re=se%2?U.charAt(se-1):E,ze=se%2?E:U.charAt(se+1);L.operation(function(){if(de=="skip")ee(L,1);else if(de=="skipThree")ee(L,3);else if(de=="surround"){for(var Be=L.getSelections(),Ye=0;Ye<Be.length;Ye++)Be[Ye]=Re+Be[Ye]+ze;L.replaceSelections(Be,"around"),Be=L.listSelections().slice();for(var Ye=0;Ye<Be.length;Ye++)Be[Ye]=ae(Be[Ye]);L.setSelections(Be)}else de=="both"?(L.replaceSelection(Re+ze,null),L.triggerElectric(Re+ze),ee(L,-1)):de=="addFour"&&(L.replaceSelection(Re+Re+Re+Re,"before"),ee(L,1))})}function V(L,E){var N=L.getRange(b(E.line,E.ch-1),b(E.line,E.ch+1));return N.length==2?N:null}function J(L,E){var N=L.getTokenAt(b(E.line,E.ch+1));return/\bstring/.test(N.type)&&N.start==E.ch&&(E.ch==0||!/\bstring/.test(L.getTokenTypeAt(E)))}})},82518:(x,k,c)=>{(function(m){m(c(46944))})(function(m){var w=/MSIE \d/.test(navigator.userAgent)&&(document.documentMode==null||document.documentMode<8),b=m.Pos,_={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function A(ee){return ee&&ee.bracketRegex||/[(){}[\]]/}function O(ee,ae,q){var V=ee.getLineHandle(ae.line),J=ae.ch-1,L=q&&q.afterCursor;L==null&&(L=/(^| )cm-fat-cursor($| )/.test(ee.getWrapperElement().className));var E=A(q),N=!L&&J>=0&&E.test(V.text.charAt(J))&&_[V.text.charAt(J)]||E.test(V.text.charAt(J+1))&&_[V.text.charAt(++J)];if(!N)return null;var U=N.charAt(1)==">"?1:-1;if(q&&q.strict&&U>0!=(J==ae.ch))return null;var se=ee.getTokenTypeAt(b(ae.line,J+1)),ne=j(ee,b(ae.line,J+(U>0?1:0)),U,se,q);return ne==null?null:{from:b(ae.line,J),to:ne&&ne.pos,match:ne&&ne.ch==N.charAt(0),forward:U>0}}function j(ee,ae,q,V,J){for(var L=J&&J.maxScanLineLength||1e4,E=J&&J.maxScanLines||1e3,N=[],U=A(J),se=q>0?Math.min(ae.line+E,ee.lastLine()+1):Math.max(ee.firstLine()-1,ae.line-E),ne=ae.line;ne!=se;ne+=q){var Y=ee.getLine(ne);if(Y){var X=q>0?0:Y.length-1,Q=q>0?Y.length:-1;if(!(Y.length>L))for(ne==ae.line&&(X=ae.ch-(q<0?1:0));X!=Q;X+=q){var H=Y.charAt(X);if(U.test(H)&&(V===void 0||(ee.getTokenTypeAt(b(ne,X+1))||"")==(V||""))){var de=_[H];if(de&&de.charAt(1)==">"==q>0)N.push(H);else if(N.length)N.pop();else return{pos:b(ne,X),ch:H}}}}}return ne-q==(q>0?ee.lastLine():ee.firstLine())?!1:null}function $(ee,ae,q){for(var V=ee.state.matchBrackets.maxHighlightLineLength||1e3,J=q&&q.highlightNonMatching,L=[],E=ee.listSelections(),N=0;N<E.length;N++){var U=E[N].empty()&&O(ee,E[N].head,q);if(U&&(U.match||J!==!1)&&ee.getLine(U.from.line).length<=V){var se=U.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";L.push(ee.markText(U.from,b(U.from.line,U.from.ch+1),{className:se})),U.to&&ee.getLine(U.to.line).length<=V&&L.push(ee.markText(U.to,b(U.to.line,U.to.ch+1),{className:se}))}}if(L.length){w&&ee.state.focused&&ee.focus();var ne=function(){ee.operation(function(){for(var Y=0;Y<L.length;Y++)L[Y].clear()})};if(ae)setTimeout(ne,800);else return ne}}function K(ee){ee.operation(function(){ee.state.matchBrackets.currentlyHighlighted&&(ee.state.matchBrackets.currentlyHighlighted(),ee.state.matchBrackets.currentlyHighlighted=null),ee.state.matchBrackets.currentlyHighlighted=$(ee,!1,ee.state.matchBrackets)})}function ie(ee){ee.state.matchBrackets&&ee.state.matchBrackets.currentlyHighlighted&&(ee.state.matchBrackets.currentlyHighlighted(),ee.state.matchBrackets.currentlyHighlighted=null)}m.defineOption("matchBrackets",!1,function(ee,ae,q){q&&q!=m.Init&&(ee.off("cursorActivity",K),ee.off("focus",K),ee.off("blur",ie),ie(ee)),ae&&(ee.state.matchBrackets=typeof ae=="object"?ae:{},ee.on("cursorActivity",K),ee.on("focus",K),ee.on("blur",ie))}),m.defineExtension("matchBrackets",function(){$(this,!0)}),m.defineExtension("findMatchingBracket",function(ee,ae,q){return(q||typeof ae=="boolean")&&(q?(q.strict=ae,ae=q):ae=ae?{strict:!0}:null),O(this,ee,ae)}),m.defineExtension("scanForBracket",function(ee,ae,q,V){return j(this,ee,ae,q,V)})})},77436:(x,k,c)=>{(function(m){m(c(46944))})(function(m){"use strict";var w="CodeMirror-hint",b="CodeMirror-hint-active";m.showHint=function(L,E,N){if(!E)return L.showHint(N);N&&N.async&&(E.async=!0);var U={hint:E};if(N)for(var se in N)U[se]=N[se];return L.showHint(U)},m.defineExtension("showHint",function(L){L=j(this,this.getCursor("start"),L);var E=this.listSelections();if(!(E.length>1)){if(this.somethingSelected()){if(!L.hint.supportsSelection)return;for(var N=0;N<E.length;N++)if(E[N].head.line!=E[N].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var U=this.state.completionActive=new _(this,L);U.options.hint&&(m.signal(this,"startCompletion",this),U.update(!0))}}),m.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function _(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 N=this;L.on("cursorActivity",this.activityFunc=function(){N.cursorActivity()})}}var A=window.requestAnimationFrame||function(L){return setTimeout(L,1e3/60)},O=window.cancelAnimationFrame||clearTimeout;_.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&&m.signal(this.data,"close"),this.widget&&this.widget.close(),m.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(L,E){var N=L.list[E],U=this;this.cm.operation(function(){N.hint?N.hint(U.cm,L,N):U.cm.replaceRange($(N),N.from||L.from,N.to||L.to,"complete"),m.signal(L,"pick",N),U.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(O(this.debounce),this.debounce=0);var L=this.startPos;this.data&&(L=this.data.from);var E=this.cm.getCursor(),N=this.cm.getLine(E.line);if(E.line!=this.startPos.line||N.length-E.ch!=this.startLen-this.startPos.ch||E.ch<L.ch||this.cm.somethingSelected()||!E.ch||this.options.closeCharacters.test(N.charAt(E.ch-1)))this.close();else{var U=this;this.debounce=A(function(){U.update()}),this.widget&&this.widget.disable()}},update:function(L){if(this.tick!=null){var E=this,N=++this.tick;q(this.options.hint,this.cm,this.options,function(U){E.tick==N&&E.finishUpdate(U,L)})}},finishUpdate:function(L,E){this.data&&m.signal(this.data,"update");var N=this.widget&&this.widget.picked||E&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=L,L&&L.list.length&&(N&&L.list.length==1?this.pick(L,0):(this.widget=new ee(this,L),m.signal(L,"shown")))}};function j(L,E,N){var U=L.options.hintOptions,se={};for(var ne in J)se[ne]=J[ne];if(U)for(var ne in U)U[ne]!==void 0&&(se[ne]=U[ne]);if(N)for(var ne in N)N[ne]!==void 0&&(se[ne]=N[ne]);return se.hint.resolve&&(se.hint=se.hint.resolve(L,E)),se}function $(L){return typeof L=="string"?L:L.text}function K(L,E){var N={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},U=/Mac/.test(navigator.platform);U&&(N["Ctrl-P"]=function(){E.moveFocus(-1)},N["Ctrl-N"]=function(){E.moveFocus(1)});var se=L.options.customKeys,ne=se?{}:N;function Y(H,de){var Ae;typeof de!="string"?Ae=function(Z){return de(Z,E)}:N.hasOwnProperty(de)?Ae=N[de]:Ae=de,ne[H]=Ae}if(se)for(var X in se)se.hasOwnProperty(X)&&Y(X,se[X]);var Q=L.options.extraKeys;if(Q)for(var X in Q)Q.hasOwnProperty(X)&&Y(X,Q[X]);return ne}function ie(L,E){for(;E&&E!=L;){if(E.nodeName.toUpperCase()==="LI"&&E.parentNode==L)return E;E=E.parentNode}}function ee(L,E){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=L,this.data=E,this.picked=!1;var N=this,U=L.cm,se=U.getInputField().ownerDocument,ne=se.defaultView||se.parentWindow,Y=this.hints=se.createElement("ul");Y.setAttribute("role","listbox"),Y.setAttribute("aria-expanded","true"),Y.id=this.id;var X=L.cm.options.theme;Y.className="CodeMirror-hints "+X,this.selectedHint=E.selectedHint||0;for(var Q=E.list,H=0;H<Q.length;++H){var de=Y.appendChild(se.createElement("li")),Ae=Q[H],Z=w+(H!=this.selectedHint?"":" "+b);Ae.className!=null&&(Z=Ae.className+" "+Z),de.className=Z,H==this.selectedHint&&de.setAttribute("aria-selected","true"),de.id=this.id+"-"+H,de.setAttribute("role","option"),Ae.render?Ae.render(de,E,Ae):de.appendChild(se.createTextNode(Ae.displayText||$(Ae))),de.hintId=H}var xe=L.options.container||se.body,ue=U.cursorCoords(L.options.alignWithWord?E.from:null),Ne=ue.left,He=ue.bottom,Re=!0,ze=0,Be=0;if(xe!==se.body){var Ye=["absolute","relative","fixed"].indexOf(ne.getComputedStyle(xe).position)!==-1,gt=Ye?xe:xe.offsetParent,ut=gt.getBoundingClientRect(),yt=se.body.getBoundingClientRect();ze=ut.left-yt.left-gt.scrollLeft,Be=ut.top-yt.top-gt.scrollTop}Y.style.left=Ne-ze+"px",Y.style.top=He-Be+"px";var lt=ne.innerWidth||Math.max(se.body.offsetWidth,se.documentElement.offsetWidth),Ke=ne.innerHeight||Math.max(se.body.offsetHeight,se.documentElement.offsetHeight);xe.appendChild(Y),U.getInputField().setAttribute("aria-autocomplete","list"),U.getInputField().setAttribute("aria-owns",this.id),U.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var Fe=L.options.moveOnOverlap?Y.getBoundingClientRect():new DOMRect,qe=L.options.paddingForScrollbar?Y.scrollHeight>Y.clientHeight+1:!1,bt;setTimeout(function(){bt=U.getScrollInfo()});var Lt=Fe.bottom-Ke;if(Lt>0){var Rt=Fe.bottom-Fe.top,zt=Fe.top-(ue.bottom-ue.top)-2;Ke-Fe.top<zt?(Rt>zt&&(Y.style.height=(Rt=zt)+"px"),Y.style.top=(He=ue.top-Rt)+Be+"px",Re=!1):Y.style.height=Ke-Fe.top-2+"px"}var Vr=Fe.right-lt;if(qe&&(Vr+=U.display.nativeBarWidth),Vr>0&&(Fe.right-Fe.left>lt&&(Y.style.width=lt-5+"px",Vr-=Fe.right-Fe.left-lt),Y.style.left=(Ne=Math.max(ue.left-Vr-ze,0))+"px"),qe)for(var kr=Y.firstChild;kr;kr=kr.nextSibling)kr.style.paddingRight=U.display.nativeBarWidth+"px";if(U.addKeyMap(this.keyMap=K(L,{moveFocus:function($t,nr){N.changeActive(N.selectedHint+$t,nr)},setFocus:function($t){N.changeActive($t)},menuSize:function(){return N.screenAmount()},length:Q.length,close:function(){L.close()},pick:function(){N.pick()},data:E})),L.options.closeOnUnfocus){var qr;U.on("blur",this.onBlur=function(){qr=setTimeout(function(){L.close()},100)}),U.on("focus",this.onFocus=function(){clearTimeout(qr)})}U.on("scroll",this.onScroll=function(){var $t=U.getScrollInfo(),nr=U.getWrapperElement().getBoundingClientRect();bt||(bt=U.getScrollInfo());var er=He+bt.top-$t.top,kn=er-(ne.pageYOffset||(se.documentElement||se.body).scrollTop);if(Re||(kn+=Y.offsetHeight),kn<=nr.top||kn>=nr.bottom)return L.close();Y.style.top=er+"px",Y.style.left=Ne+bt.left-$t.left+"px"}),m.on(Y,"dblclick",function($t){var nr=ie(Y,$t.target||$t.srcElement);nr&&nr.hintId!=null&&(N.changeActive(nr.hintId),N.pick())}),m.on(Y,"click",function($t){var nr=ie(Y,$t.target||$t.srcElement);nr&&nr.hintId!=null&&(N.changeActive(nr.hintId),L.options.completeOnSingleClick&&N.pick())}),m.on(Y,"mousedown",function(){setTimeout(function(){U.focus()},20)});var ht=this.getSelectedHintRange();return(ht.from!==0||ht.to!==0)&&this.scrollToActive(),m.signal(E,"select",Q[this.selectedHint],Y.childNodes[this.selectedHint]),!0}ee.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 N=this.hints.childNodes[this.selectedHint];N&&(N.className=N.className.replace(" "+b,""),N.removeAttribute("aria-selected")),N=this.hints.childNodes[this.selectedHint=L],N.className+=" "+b,N.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",N.id),this.scrollToActive(),m.signal(this.data,"select",this.data.list[this.selectedHint],N)}},scrollToActive:function(){var L=this.getSelectedHintRange(),E=this.hints.childNodes[L.from],N=this.hints.childNodes[L.to],U=this.hints.firstChild;E.offsetTop<this.hints.scrollTop?this.hints.scrollTop=E.offsetTop-U.offsetTop:N.offsetTop+N.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=N.offsetTop+N.offsetHeight-this.hints.clientHeight+U.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 ae(L,E){if(!L.somethingSelected())return E;for(var N=[],U=0;U<E.length;U++)E[U].supportsSelection&&N.push(E[U]);return N}function q(L,E,N,U){if(L.async)L(E,U,N);else{var se=L(E,N);se&&se.then?se.then(U):U(se)}}function V(L,E){var N=L.getHelpers(E,"hint"),U;if(N.length){var se=function(ne,Y,X){var Q=ae(ne,N);function H(de){if(de==Q.length)return Y(null);q(Q[de],ne,X,function(Ae){Ae&&Ae.list.length>0?Y(Ae):H(de+1)})}H(0)};return se.async=!0,se.supportsSelection=!0,se}else return(U=L.getHelper(L.getCursor(),"hintWords"))?function(ne){return m.hint.fromList(ne,{words:U})}:m.hint.anyword?function(ne,Y){return m.hint.anyword(ne,Y)}:function(){}}m.registerHelper("hint","auto",{resolve:V}),m.registerHelper("hint","fromList",function(L,E){var N=L.getCursor(),U=L.getTokenAt(N),se,ne=m.Pos(N.line,U.start),Y=N;U.start<N.ch&&/\w/.test(U.string.charAt(N.ch-U.start-1))?se=U.string.substr(0,N.ch-U.start):(se="",ne=N);for(var X=[],Q=0;Q<E.words.length;Q++){var H=E.words[Q];H.slice(0,se.length)==se&&X.push(H)}if(X.length)return{list:X,from:ne,to:Y}}),m.commands.autocomplete=m.showHint;var J={hint:m.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};m.defineOption("hintOptions",null)})},33201:(x,k,c)=>{(function(m){m(c(46944))})(function(m){"use strict";var w="CodeMirror-lint-markers",b="CodeMirror-lint-line-";function _(Y,X,Q){var H=document.createElement("div");H.className="CodeMirror-lint-tooltip cm-s-"+Y.options.theme,H.appendChild(Q.cloneNode(!0)),Y.state.lint.options.selfContain?Y.getWrapperElement().appendChild(H):document.body.appendChild(H);function de(Ae){if(!H.parentNode)return m.off(document,"mousemove",de);H.style.top=Math.max(0,Ae.clientY-H.offsetHeight-5)+"px",H.style.left=Ae.clientX+5+"px"}return m.on(document,"mousemove",de),de(X),H.style.opacity!=null&&(H.style.opacity=1),H}function A(Y){Y.parentNode&&Y.parentNode.removeChild(Y)}function O(Y){Y.parentNode&&(Y.style.opacity==null&&A(Y),Y.style.opacity=0,setTimeout(function(){A(Y)},600))}function j(Y,X,Q,H){var de=_(Y,X,Q);function Ae(){m.off(H,"mouseout",Ae),de&&(O(de),de=null)}var Z=setInterval(function(){if(de)for(var xe=H;;xe=xe.parentNode){if(xe&&xe.nodeType==11&&(xe=xe.host),xe==document.body)return;if(!xe){Ae();break}}if(!de)return clearInterval(Z)},400);m.on(H,"mouseout",Ae)}function $(Y,X,Q){this.marked=[],X instanceof Function&&(X={getAnnotations:X}),(!X||X===!0)&&(X={}),this.options={},this.linterOptions=X.options||{};for(var H in K)this.options[H]=K[H];for(var H in X)K.hasOwnProperty(H)?X[H]!=null&&(this.options[H]=X[H]):X.options||(this.linterOptions[H]=X[H]);this.timeout=null,this.hasGutter=Q,this.onMouseOver=function(de){ne(Y,de)},this.waitingFor=0}var K={highlightLines:!1,tooltips:!0,delay:500,lintOnChange:!0,getAnnotations:null,async:!1,selfContain:null,formatAnnotation:null,onUpdateLinting:null};function ie(Y){var X=Y.state.lint;X.hasGutter&&Y.clearGutter(w),X.options.highlightLines&&ee(Y);for(var Q=0;Q<X.marked.length;++Q)X.marked[Q].clear();X.marked.length=0}function ee(Y){Y.eachLine(function(X){var Q=X.wrapClass&&/\bCodeMirror-lint-line-\w+\b/.exec(X.wrapClass);Q&&Y.removeLineClass(X,"wrap",Q[0])})}function ae(Y,X,Q,H,de){var Ae=document.createElement("div"),Z=Ae;return Ae.className="CodeMirror-lint-marker CodeMirror-lint-marker-"+Q,H&&(Z=Ae.appendChild(document.createElement("div")),Z.className="CodeMirror-lint-marker CodeMirror-lint-marker-multiple"),de!=!1&&m.on(Z,"mouseover",function(xe){j(Y,xe,X,Z)}),Ae}function q(Y,X){return Y=="error"?Y:X}function V(Y){for(var X=[],Q=0;Q<Y.length;++Q){var H=Y[Q],de=H.from.line;(X[de]||(X[de]=[])).push(H)}return X}function J(Y){var X=Y.severity;X||(X="error");var Q=document.createElement("div");return Q.className="CodeMirror-lint-message CodeMirror-lint-message-"+X,typeof Y.messageHTML!="undefined"?Q.innerHTML=Y.messageHTML:Q.appendChild(document.createTextNode(Y.message)),Q}function L(Y,X){var Q=Y.state.lint,H=++Q.waitingFor;function de(){H=-1,Y.off("change",de)}Y.on("change",de),X(Y.getValue(),function(Ae,Z){Y.off("change",de),Q.waitingFor==H&&(Z&&Ae instanceof m&&(Ae=Z),Y.operation(function(){N(Y,Ae)}))},Q.linterOptions,Y)}function E(Y){var X=Y.state.lint;if(X){var Q=X.options,H=Q.getAnnotations||Y.getHelper(m.Pos(0,0),"lint");if(H)if(Q.async||H.async)L(Y,H);else{var de=H(Y.getValue(),X.linterOptions,Y);if(!de)return;de.then?de.then(function(Ae){Y.operation(function(){N(Y,Ae)})}):Y.operation(function(){N(Y,de)})}}}function N(Y,X){var Q=Y.state.lint;if(Q){var H=Q.options;ie(Y);for(var de=V(X),Ae=0;Ae<de.length;++Ae){var Z=de[Ae];if(Z){var xe=[];Z=Z.filter(function(Be){return xe.indexOf(Be.message)>-1?!1:xe.push(Be.message)});for(var ue=null,Ne=Q.hasGutter&&document.createDocumentFragment(),He=0;He<Z.length;++He){var Re=Z[He],ze=Re.severity;ze||(ze="error"),ue=q(ue,ze),H.formatAnnotation&&(Re=H.formatAnnotation(Re)),Q.hasGutter&&Ne.appendChild(J(Re)),Re.to&&Q.marked.push(Y.markText(Re.from,Re.to,{className:"CodeMirror-lint-mark CodeMirror-lint-mark-"+ze,__annotation:Re}))}Q.hasGutter&&Y.setGutterMarker(Ae,w,ae(Y,Ne,ue,de[Ae].length>1,H.tooltips)),H.highlightLines&&Y.addLineClass(Ae,"wrap",b+ue)}}H.onUpdateLinting&&H.onUpdateLinting(X,de,Y)}}function U(Y){var X=Y.state.lint;X&&(clearTimeout(X.timeout),X.timeout=setTimeout(function(){E(Y)},X.options.delay))}function se(Y,X,Q){for(var H=Q.target||Q.srcElement,de=document.createDocumentFragment(),Ae=0;Ae<X.length;Ae++){var Z=X[Ae];de.appendChild(J(Z))}j(Y,Q,de,H)}function ne(Y,X){var Q=X.target||X.srcElement;if(/\bCodeMirror-lint-mark-/.test(Q.className)){for(var H=Q.getBoundingClientRect(),de=(H.left+H.right)/2,Ae=(H.top+H.bottom)/2,Z=Y.findMarksAt(Y.coordsChar({left:de,top:Ae},"client")),xe=[],ue=0;ue<Z.length;++ue){var Ne=Z[ue].__annotation;Ne&&xe.push(Ne)}xe.length&&se(Y,xe,X)}}m.defineOption("lint",!1,function(Y,X,Q){if(Q&&Q!=m.Init&&(ie(Y),Y.state.lint.options.lintOnChange!==!1&&Y.off("change",U),m.off(Y.getWrapperElement(),"mouseover",Y.state.lint.onMouseOver),clearTimeout(Y.state.lint.timeout),delete Y.state.lint),X){for(var H=Y.getOption("gutters"),de=!1,Ae=0;Ae<H.length;++Ae)H[Ae]==w&&(de=!0);var Z=Y.state.lint=new $(Y,X,de);Z.options.lintOnChange&&Y.on("change",U),Z.options.tooltips!=!1&&Z.options.tooltips!="gutter"&&m.on(Y.getWrapperElement(),"mouseover",Z.onMouseOver),E(Y)}}),m.defineExtension("performLint",function(){E(this)})})},71628:(x,k,c)=>{(function(m){m(c(46944))})(function(m){"use strict";var w=m.Pos;function b(E){var N=E.flags;return N!=null?N:(E.ignoreCase?"i":"")+(E.global?"g":"")+(E.multiline?"m":"")}function _(E,N){for(var U=b(E),se=U,ne=0;ne<N.length;ne++)se.indexOf(N.charAt(ne))==-1&&(se+=N.charAt(ne));return U==se?E:new RegExp(E.source,se)}function A(E){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(E.source)}function O(E,N,U){N=_(N,"g");for(var se=U.line,ne=U.ch,Y=E.lastLine();se<=Y;se++,ne=0){N.lastIndex=ne;var X=E.getLine(se),Q=N.exec(X);if(Q)return{from:w(se,Q.index),to:w(se,Q.index+Q[0].length),match:Q}}}function j(E,N,U){if(!A(N))return O(E,N,U);N=_(N,"gm");for(var se,ne=1,Y=U.line,X=E.lastLine();Y<=X;){for(var Q=0;Q<ne&&!(Y>X);Q++){var H=E.getLine(Y++);se=se==null?H:se+`
|
|
8
8
|
`+H}ne=ne*2,N.lastIndex=U.ch;var de=N.exec(se);if(de){var Ae=se.slice(0,de.index).split(`
|
|
@@ -42,7 +42,7 @@ b`.split(/\n/).length!=3?function(i){for(var o=0,u=[],l=i.length;o<=l;){var f=i.
|
|
|
42
42
|
`,""]);const O=A},31738:(x,k,c)=>{"use strict";c.r(k),c.d(k,{default:()=>N});var m=c(82163),w=c.n(m),b=c(85590),_=c.n(b),A=c(79739),O=c.n(A),j=new URL(c(17735),c.b),$=new URL(c(56089),c.b),K=new URL(c(46050),c.b),ie=new URL(c(71090),c.b),ee=new URL(c(96192),c.b),ae=_()(w()),q=O()(j),V=O()($),J=O()(K),L=O()(ie),E=O()(ee);ae.push([x.id,".CodeMirror-lint-markers{width:16px}.CodeMirror-lint-tooltip{background-color:#ffd;border:1px solid black;border-radius:4px;color:#000;font-family:monospace;font-size:10pt;overflow:hidden;padding:2px 5px;position:fixed;white-space:pre;white-space:pre-wrap;z-index:100;max-width:600px;opacity:0;transition:opacity .4s;-moz-transition:opacity .4s;-webkit-transition:opacity .4s;-o-transition:opacity .4s;-ms-transition:opacity .4s}.CodeMirror-lint-mark{background-position:left bottom;background-repeat:repeat-x}.CodeMirror-lint-mark-warning{background-image:url("+q+")}.CodeMirror-lint-mark-error{background-image:url("+V+")}.CodeMirror-lint-marker{background-position:center center;background-repeat:no-repeat;cursor:pointer;display:inline-block;height:16px;width:16px;vertical-align:middle;position:relative}.CodeMirror-lint-message{padding-left:18px;background-position:top left;background-repeat:no-repeat}.CodeMirror-lint-marker-warning,.CodeMirror-lint-message-warning{background-image:url("+J+")}.CodeMirror-lint-marker-error,.CodeMirror-lint-message-error{background-image:url("+L+")}.CodeMirror-lint-marker-multiple{background-image:url("+E+`);background-repeat:no-repeat;background-position:right bottom;width:100%;height:100%}.CodeMirror-lint-line-error{background-color:#b74c5114}.CodeMirror-lint-line-warning{background-color:#ffd3001a}
|
|
43
43
|
`,""]);const N=ae},43395:(x,k,c)=>{"use strict";c.r(k),c.d(k,{default:()=>O});var m=c(82163),w=c.n(m),b=c(85590),_=c.n(b),A=_()(w());A.push([x.id,`.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}.cm-fat-cursor{caret-color:transparent}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;inset:-50px 0 0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:white}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative;z-index:0}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;inset:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}
|
|
44
44
|
`,""]);const O=A},98036:(x,k,c)=>{"use strict";c.r(k),c.d(k,{default:()=>O});var m=c(82163),w=c.n(m),b=c(85590),_=c.n(b),A=_()(w());A.push([x.id,`.cm-s-material.CodeMirror{background-color:#263238;color:#eff}.cm-s-material .CodeMirror-gutters{background:#263238;color:#546e7a;border:none}.cm-s-material .CodeMirror-guttermarker,.cm-s-material .CodeMirror-guttermarker-subtle,.cm-s-material .CodeMirror-linenumber{color:#546e7a}.cm-s-material .CodeMirror-cursor{border-left:1px solid #FFCC00}.cm-s-material.cm-fat-cursor .CodeMirror-cursor,.cm-s-material .cm-animate-fat-cursor{background-color:#5d6d5c80!important}.cm-s-material div.CodeMirror-selected,.cm-s-material.CodeMirror-focused div.CodeMirror-selected{background:rgba(128,203,196,.2)}.cm-s-material .CodeMirror-line::selection,.cm-s-material .CodeMirror-line>span::selection,.cm-s-material .CodeMirror-line>span>span::selection{background:rgba(128,203,196,.2)}.cm-s-material .CodeMirror-line::-moz-selection,.cm-s-material .CodeMirror-line>span::-moz-selection,.cm-s-material .CodeMirror-line>span>span::-moz-selection{background:rgba(128,203,196,.2)}.cm-s-material .CodeMirror-activeline-background{background:rgba(0,0,0,.5)}.cm-s-material .cm-keyword{color:#c792ea}.cm-s-material .cm-operator{color:#89ddff}.cm-s-material .cm-variable-2{color:#eff}.cm-s-material .cm-variable-3,.cm-s-material .cm-type{color:#f07178}.cm-s-material .cm-builtin{color:#ffcb6b}.cm-s-material .cm-atom{color:#f78c6c}.cm-s-material .cm-number{color:#ff5370}.cm-s-material .cm-def{color:#82aaff}.cm-s-material .cm-string{color:#c3e88d}.cm-s-material .cm-string-2{color:#f07178}.cm-s-material .cm-comment{color:#546e7a}.cm-s-material .cm-variable{color:#f07178}.cm-s-material .cm-tag{color:#ff5370}.cm-s-material .cm-meta{color:#ffcb6b}.cm-s-material .cm-attribute,.cm-s-material .cm-property{color:#c792ea}.cm-s-material .cm-qualifier,.cm-s-material .cm-variable-3,.cm-s-material .cm-type{color:#decb6b}.cm-s-material .cm-error{color:#fff;background-color:#ff5370}.cm-s-material .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
|
|
45
|
-
`,""]);const O=A},79739:x=>{"use strict";x.exports=function(k,c){return c||(c={}),k&&(k=String(k.__esModule?k.default:k),/^['"].*['"]$/.test(k)&&(k=k.slice(1,-1)),c.hash&&(k+=c.hash),/["'() \t\n]|(%20)/.test(k)||c.needQuotes?'"'.concat(k.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):k)}},
|
|
45
|
+
`,""]);const O=A},79739:x=>{"use strict";x.exports=function(k,c){return c||(c={}),k&&(k=String(k.__esModule?k.default:k),/^['"].*['"]$/.test(k)&&(k=k.slice(1,-1)),c.hash&&(k+=c.hash),/["'() \t\n]|(%20)/.test(k)||c.needQuotes?'"'.concat(k.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):k)}},10512:(x,k,c)=>{"use strict";c.r(k),c.d(k,{Console:()=>x9});var m={};c.r(m),c.d(m,{JsonPatchError:()=>Mt,_areEquals:()=>Qa,applyOperation:()=>go,applyPatch:()=>Us,applyReducer:()=>Vc,deepClone:()=>Ja,getValueByPointer:()=>Ya,validate:()=>iu,validator:()=>Xa});var w={};c.r(w),c.d(w,{compare:()=>nd,generate:()=>sa,observe:()=>jv,unobserve:()=>qa});var b={};c.r(b),c.d(b,{hasElementSourceMap:()=>yg,includesClasses:()=>ff,includesSymbols:()=>eC,isAnnotationElement:()=>ZA,isArrayElement:()=>Ki,isBooleanElement:()=>Dd,isCommentElement:()=>qA,isElement:()=>Ld,isLinkElement:()=>T0,isMemberElement:()=>Vu,isNullElement:()=>P0,isNumberElement:()=>_0,isObjectElement:()=>sr,isParseResultElement:()=>k0,isPrimitiveElement:()=>To,isRefElement:()=>V0,isSourceMapElement:()=>j0,isStringElement:()=>Ct});var _={};c.r(_),c.d(_,{isJSONReferenceElement:()=>VP,isJSONSchemaElement:()=>TP,isLinkDescriptionElement:()=>jP,isMediaElement:()=>kP});var A={};c.r(A),c.d(A,{isOpenApi3_0LikeElement:()=>zP,isOpenApiExtension:()=>Tg,isParameterLikeElement:()=>GP,isReferenceLikeElement:()=>xr,isRequestBodyLikeElement:()=>KP,isResponseLikeElement:()=>JP,isServerLikeElement:()=>gb,isTagLikeElement:()=>yb});var O={};c.r(O),c.d(O,{isBooleanJsonSchemaElement:()=>zT,isCallbackElement:()=>PT,isComponentsElement:()=>TT,isContactElement:()=>VT,isExampleElement:()=>kT,isExternalDocumentationElement:()=>jT,isHeaderElement:()=>Lu,isInfoElement:()=>IT,isLicenseElement:()=>RT,isLinkElement:()=>bb,isLinkElementExternal:()=>FT,isMediaTypeElement:()=>lh,isOpenApi3_0Element:()=>LT,isOpenapiElement:()=>MT,isOperationElement:()=>xb,isParameterElement:()=>DT,isPathItemElement:()=>oh,isPathItemElementExternal:()=>NT,isPathsElement:()=>BT,isReferenceElement:()=>_r,isReferenceElementExternal:()=>$T,isRequestBodyElement:()=>UT,isResponseElement:()=>ah,isResponsesElement:()=>WT,isSchemaElement:()=>HT,isSecurityRequirementElement:()=>GT,isServerElement:()=>KT,isServerVariableElement:()=>JT});var j={};c.r(j),c.d(j,{isBooleanJsonSchemaElement:()=>Hg,isCallbackElement:()=>QI,isComponentsElement:()=>ZI,isContactElement:()=>qI,isExampleElement:()=>eR,isExternalDocumentationElement:()=>tR,isHeaderElement:()=>rR,isInfoElement:()=>nR,isJsonSchemaDialectElement:()=>Lb,isLicenseElement:()=>iR,isLinkElement:()=>Db,isLinkElementExternal:()=>sm,isMediaTypeElement:()=>hR,isOpenApi3_1Element:()=>Wg,isOpenapiElement:()=>sR,isOperationElement:()=>Nb,isParameterElement:()=>oR,isPathItemElement:()=>om,isPathItemElementExternal:()=>am,isPathsElement:()=>aR,isReferenceElement:()=>Nu,isReferenceElementExternal:()=>lm,isRequestBodyElement:()=>lR,isResponseElement:()=>uR,isResponsesElement:()=>cR,isSchemaElement:()=>Bu,isSecurityRequirementElement:()=>fR,isServerElement:()=>pR,isServerVariableElement:()=>dR});var $={};c.r($),c.d($,{cookie:()=>V2,header:()=>T2,path:()=>C2,query:()=>_2});var K=c(10954),ie=c(70762),ee=c(93652),ae=c(77844),q=c(10017),V=c(86351),J=c(86751),L=c(12953),E=c(55839),N=c(23422);function U(e){return U=typeof E=="function"&&typeof N=="symbol"?function(t){return typeof t}:function(t){return t&&typeof E=="function"&&t.constructor===E&&t!==E.prototype?"symbol":typeof t},U(e)}var se=c(47319);function ne(e,t){if(U(e)!=="object"||e===null)return e;var r=e[se];if(r!==void 0){var n=r.call(e,t||"default");if(U(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Y(e){var t=ne(e,"string");return U(t)==="symbol"?t:String(t)}function X(e,t,r){return t=Y(t),t in e?L(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Q(e,t){var r=K(e);if(ie){var n=ie(e);t&&(n=ee(n).call(n,function(s){return ae(e,s).enumerable})),r.push.apply(r,n)}return r}function H(e){for(var t=1;t<arguments.length;t++){var r,n,s=arguments[t]!=null?arguments[t]:{};t%2?q(r=Q(Object(s),!0)).call(r,function(a){X(e,a,s[a])}):V?J(e,V(s)):q(n=Q(Object(s))).call(n,function(a){L(e,a,ae(s,a))})}return e}var de=c(51121),Ae=c(81933),Z=c(71434),xe=c.n(Z);/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function ue(e){return typeof e=="undefined"||e===null}function Ne(e){return typeof e=="object"&&e!==null}function He(e){return Array.isArray(e)?e:ue(e)?[]:[e]}function Re(e,t){var r,n,s,a;if(t)for(a=Object.keys(t),r=0,n=a.length;r<n;r+=1)s=a[r],e[s]=t[s];return e}function ze(e,t){var r="",n;for(n=0;n<t;n+=1)r+=e;return r}function Be(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var Ye=ue,gt=Ne,ut=He,yt=ze,lt=Be,Ke=Re,Fe={isNothing:Ye,isObject:gt,toArray:ut,repeat:yt,isNegativeZero:lt,extend:Ke};function qe(e,t){var r="",n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+=`
|
|
46
46
|
|
|
47
47
|
`+e.mark.snippet),n+" "+r):n}function bt(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=qe(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}bt.prototype=Object.create(Error.prototype),bt.prototype.constructor=bt,bt.prototype.toString=function(t){return this.name+": "+qe(this,t)};var Lt=bt;function Rt(e,t,r,n,s){var a="",p="",d=Math.floor(s/2)-1;return n-t>d&&(a=" ... ",t=n-d+a.length),r-n>d&&(p=" ...",r=n+d-p.length),{str:a+e.slice(t,r).replace(/\t/g,"\u2192")+p,pos:n-t+a.length}}function zt(e,t){return Fe.repeat(" ",t-e.length)+e}function Vr(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],s=[],a,p=-1;a=r.exec(e.buffer);)s.push(a.index),n.push(a.index+a[0].length),e.position<=a.index&&p<0&&(p=n.length-2);p<0&&(p=n.length-1);var d="",h,g,y=Math.min(e.line+t.linesAfter,s.length).toString().length,C=t.maxLength-(t.indent+y+3);for(h=1;h<=t.linesBefore&&!(p-h<0);h++)g=Rt(e.buffer,n[p-h],s[p-h],e.position-(n[p]-n[p-h]),C),d=Fe.repeat(" ",t.indent)+zt((e.line-h+1).toString(),y)+" | "+g.str+`
|
|
48
48
|
`+d;for(g=Rt(e.buffer,n[p],s[p],e.position,C),d+=Fe.repeat(" ",t.indent)+zt((e.line+1).toString(),y)+" | "+g.str+`
|
|
@@ -90,7 +90,7 @@ CAUSE: ${n==null?void 0:n.stack}`)}}}const Uu=mM;class vM extends Uu{constructor
|
|
|
90
90
|
*
|
|
91
91
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
92
92
|
* Released under the MIT License.
|
|
93
|
-
*/function vx(e){return Object.prototype.toString.call(e)==="[object Object]"}function gx(e){var t,r;return vx(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(vx(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}const x2={body:S2,header:O2,query:A2,path:E2,formData:w2};function S2(e){let{req:t,value:r}=e;t.body=r}function w2(e){let{req:t,value:r,parameter:n}=e;(r||n.allowEmptyValue)&&(t.form=t.form||{},t.form[n.name]={value:r,allowEmptyValue:n.allowEmptyValue,collectionFormat:n.collectionFormat})}function O2(e){let{req:t,parameter:r,value:n}=e;t.headers=t.headers||{},typeof n!="undefined"&&(t.headers[r.name]=n)}function E2(e){let{req:t,value:r,parameter:n}=e;t.url=t.url.split(`{${n.name}}`).join(encodeURIComponent(r))}function A2(e){let{req:t,value:r,parameter:n}=e;if(t.query=t.query||{},r===!1&&n.type==="boolean"&&(r="false"),r===0&&["number","integer"].indexOf(n.type)>-1&&(r="0"),r)t.query[n.name]={collectionFormat:n.collectionFormat,value:r};else if(n.allowEmptyValue&&r!==void 0){const s=n.name;t.query[s]=t.query[s]||{},t.query[s].allowEmptyValue=!0}}function _m(e,t){return t.includes("application/json")?typeof e=="string"?e:JSON.stringify(e):e.toString()}function C2(e){let{req:t,value:r,parameter:n}=e;const{name:s,style:a,explode:p,content:d}=n;if(d){const g=Object.keys(d)[0];t.url=t.url.split(`{${s}}`).join(qo(_m(r,g),{escape:!0}));return}const h=Ga({key:n.name,value:r,style:a||"simple",explode:p||!1,escape:!0});t.url=t.url.split(`{${s}}`).join(h)}function _2(e){let{req:t,value:r,parameter:n}=e;if(t.query=t.query||{},n.content){const s=Object.keys(n.content)[0],a=_m(r,s);if(a)t.query[n.name]=a;else if(n.allowEmptyValue&&r!==void 0){const p=n.name;t.query[p]=t.query[p]||{},t.query[p].allowEmptyValue=!0}return}if(r===!1&&(r="false"),r===0&&(r="0"),r){const{style:s,explode:a,allowReserved:p}=n;t.query[n.name]={value:r,serializationOption:{style:s,explode:a,allowReserved:p}}}else if(n.allowEmptyValue&&r!==void 0){const s=n.name;t.query[s]=t.query[s]||{},t.query[s].allowEmptyValue=!0}}const P2=["accept","authorization","content-type"];function T2(e){let{req:t,parameter:r,value:n}=e;if(t.headers=t.headers||{},!(P2.indexOf(r.name.toLowerCase())>-1)){if(r.content){const s=Object.keys(r.content)[0];t.headers[r.name]=_m(n,s);return}typeof n!="undefined"&&(t.headers[r.name]=Ga({key:r.name,value:n,style:r.style||"simple",explode:typeof r.explode=="undefined"?!1:r.explode,escape:!1}))}}function V2(e){let{req:t,parameter:r,value:n}=e;t.headers=t.headers||{};const s=typeof n;if(r.content){const a=Object.keys(r.content)[0];t.headers.Cookie=`${r.name}=${_m(n,a)}`;return}if(s!=="undefined"){const a=s==="object"&&!Array.isArray(n)&&r.explode?"":`${r.name}=`;t.headers.Cookie=a+Ga({key:r.name,value:n,escape:!1,style:r.style||"form",explode:typeof r.explode=="undefined"?!1:r.explode})}}const k2=(()=>typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:window)(),{btoa:j2}=k2,yx=j2;function I2(e,t){const{operation:r,requestBody:n,securities:s,spec:a,attachContentTypeForEmptyPayload:p}=e;let{requestContentType:d}=e;t=R2({request:t,securities:s,operation:r,spec:a});const h=r.requestBody||{},g=Object.keys(h.content||{}),y=d&&g.indexOf(d)>-1;if(n||p){if(d&&y)t.headers["Content-Type"]=d;else if(!d){const C=g[0];C&&(t.headers["Content-Type"]=C,d=C)}}else d&&y&&(t.headers["Content-Type"]=d);if(!e.responseContentType&&r.responses){const C=Object.entries(r.responses).filter(M=>{let[I,B]=M;const z=parseInt(I,10);return z>=200&&z<300&&gx(B.content)}).reduce((M,I)=>{let[,B]=I;return M.concat(Object.keys(B.content))},[]);C.length>0&&(t.headers.accept=C.join(", "))}if(n)if(d){if(g.indexOf(d)>-1)if(d==="application/x-www-form-urlencoded"||d==="multipart/form-data")if(typeof n=="object"){const C=(h.content[d]||{}).encoding||{};t.form={},Object.keys(n).forEach(M=>{t.form[M]={value:n[M],encoding:C[M]||{}}})}else t.form=n;else t.body=n}else t.body=n;return t}function R2(e){let{request:t,securities:r={},operation:n={},spec:s}=e;const a=H({},t),{authorized:p={}}=r,d=n.security||s.security||[],h=p&&!!Object.keys(p).length,g=ma()(s,["components","securitySchemes"])||{};return a.headers=a.headers||{},a.query=a.query||{},!Object.keys(r).length||!h||!d||Array.isArray(n.security)&&!n.security.length?t:(d.forEach(y=>{Object.keys(y).forEach(C=>{const M=p[C],I=g[C];if(!M)return;const B=M.value||M,{type:z}=I;if(M){if(z==="apiKey")I.in==="query"&&(a.query[I.name]=B),I.in==="header"&&(a.headers[I.name]=B),I.in==="cookie"&&(a.cookies[I.name]=B);else if(z==="http"){if(/^basic$/i.test(I.scheme)){const W=B.username||"",G=B.password||"",te=yx(`${W}:${G}`);a.headers.Authorization=`Basic ${te}`}/^bearer$/i.test(I.scheme)&&(a.headers.Authorization=`Bearer ${B}`)}else if(z==="oauth2"||z==="openIdConnect"){const W=M.token||{},G=I["x-tokenName"]||"access_token",te=W[G];let le=W.token_type;(!le||le.toLowerCase()==="bearer")&&(le="Bearer"),a.headers.Authorization=`${le} ${te}`}}})}),a)}function F2(e,t){const{spec:r,operation:n,securities:s,requestContentType:a,responseContentType:p,attachContentTypeForEmptyPayload:d}=e;if(t=M2({request:t,securities:s,operation:n,spec:r}),t.body||t.form||d)a?t.headers["Content-Type"]=a:Array.isArray(n.consumes)?[t.headers["Content-Type"]]=n.consumes:Array.isArray(r.consumes)?[t.headers["Content-Type"]]=r.consumes:n.parameters&&n.parameters.filter(h=>h.type==="file").length?t.headers["Content-Type"]="multipart/form-data":n.parameters&&n.parameters.filter(h=>h.in==="formData").length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(a){const h=n.parameters&&n.parameters.filter(y=>y.in==="body").length>0,g=n.parameters&&n.parameters.filter(y=>y.in==="formData").length>0;(h||g)&&(t.headers["Content-Type"]=a)}return!p&&Array.isArray(n.produces)&&n.produces.length>0&&(t.headers.accept=n.produces.join(", ")),t}function M2(e){let{request:t,securities:r={},operation:n={},spec:s}=e;const a=H({},t),{authorized:p={},specSecurity:d=[]}=r,h=n.security||d,g=p&&!!Object.keys(p).length,y=s.securityDefinitions;return a.headers=a.headers||{},a.query=a.query||{},!Object.keys(r).length||!g||!h||Array.isArray(n.security)&&!n.security.length?t:(h.forEach(C=>{Object.keys(C).forEach(M=>{const I=p[M];if(!I)return;const{token:B}=I,z=I.value||I,W=y[M],{type:G}=W,te=W["x-tokenName"]||"access_token",le=B&&B[te];let ye=B&&B.token_type;if(I)if(G==="apiKey"){const he=W.in==="query"?"query":"headers";a[he]=a[he]||{},a[he][W.name]=z}else if(G==="basic")if(z.header)a.headers.authorization=z.header;else{const he=z.username||"",Ee=z.password||"";z.base64=yx(`${he}:${Ee}`),a.headers.authorization=`Basic ${z.base64}`}else G==="oauth2"&&le&&(ye=!ye||ye.toLowerCase()==="bearer"?"Bearer":ye,a.headers.authorization=`${ye} ${le}`)})}),a)}function bx(e,t){return`${t.toLowerCase()}-${e}`}function L2(e,t){return mx(e,t,!0)||null}function D2(e,t){return!e||!e.paths?null:L2(e,r=>{let{pathName:n,method:s,operation:a}=r;if(!a||typeof a!="object")return!1;const p=a.operationId,d=ol(a,n,s),h=bx(n,s);return[d,h,p].some(g=>g&&g===t)})}const N2=["http","fetch","spec","operationId","pathName","method","parameters","securities"],xx=e=>Array.isArray(e)?e:[],B2=cu("OperationNotFoundError",function(t,r,n){this.originalError=n,Object.assign(this,r||{})}),$2=(e,t)=>t.filter(r=>r.name===e),U2=e=>{const t={};e.forEach(n=>{t[n.in]||(t[n.in]={}),t[n.in][n.name]=n});const r=[];return Object.keys(t).forEach(n=>{Object.keys(t[n]).forEach(s=>{r.push(t[n][s])})}),r},W2={buildRequest:Sx};function H2(e){let{http:t,fetch:r,spec:n,operationId:s,pathName:a,method:p,parameters:d,securities:h}=e,g=df(e,N2);const y=t||r||Ns;a&&p&&!s&&(s=bx(a,p));const C=W2.buildRequest(H({spec:n,operationId:s,parameters:d,securities:h,http:y},g));return C.body&&(gx(C.body)||Array.isArray(C.body))&&(C.body=JSON.stringify(C.body)),y(C)}function Sx(e){const{spec:t,operationId:r,responseContentType:n,scheme:s,requestInterceptor:a,responseInterceptor:p,contextUrl:d,userFetch:h,server:g,serverVariables:y,http:C,signal:M}=e;let{parameters:I,parameterBuilders:B}=e;const z=Jc(t);B||(z?B=$:B=x2);let G={url:"",credentials:C&&C.withCredentials?"include":"same-origin",headers:{},cookies:{}};M&&(G.signal=M),a&&(G.requestInterceptor=a),p&&(G.responseInterceptor=p),h&&(G.userFetch=h);const te=D2(t,r);if(!te)throw new B2(`Operation ${r} not found`);const{operation:le={},method:ye,pathName:he}=te;if(G.url+=wx({spec:t,scheme:s,contextUrl:d,server:g,serverVariables:y,pathName:he,method:ye}),!r)return delete G.cookies,G;G.url+=he,G.method=`${ye}`.toUpperCase(),I=I||{};const Ee=t.paths[he]||{};n&&(G.headers.accept=n);const me=U2([].concat(xx(le.parameters)).concat(xx(Ee.parameters)));me.forEach(ce=>{const Se=B[ce.in];let Ce;if(ce.in==="body"&&ce.schema&&ce.schema.properties&&(Ce=I),Ce=ce&&ce.name&&I[ce.name],typeof Ce=="undefined"?Ce=ce&&ce.name&&I[`${ce.in}.${ce.name}`]:$2(ce.name,me).length>1&&console.warn(`Parameter '${ce.name}' is ambiguous because the defined spec has more than one parameter with the name: '${ce.name}' and the passed-in parameter values did not define an 'in' value.`),Ce!==null){if(typeof ce.default!="undefined"&&typeof Ce=="undefined"&&(Ce=ce.default),typeof Ce=="undefined"&&ce.required&&!ce.allowEmptyValue)throw new Error(`Required parameter ${ce.name} is not provided`);if(z&&ce.schema&&ce.schema.type==="object"&&typeof Ce=="string")try{Ce=JSON.parse(Ce)}catch(Me){throw new Error("Could not parse object parameter value string as JSON")}Se&&Se({req:G,parameter:ce,value:Ce,operation:le,spec:t})}});const ve=H(H({},e),{},{operation:le});if(z?G=I2(ve,G):G=F2(ve,G),G.cookies&&Object.keys(G.cookies).length){const ce=Object.keys(G.cookies).reduce((Se,Ce)=>{const Me=G.cookies[Ce],Qe=Se?"&":"",wt=b2.serialize(Ce,Me);return Se+Qe+wt},"");G.headers.Cookie=ce}return G.cookies&&delete G.cookies,ra(G),G}const ay=e=>e?e.replace(/\W/g,""):null;function wx(e){return Jc(e.spec)?z2(e):J2(e)}function z2(e){let{spec:t,pathName:r,method:n,server:s,contextUrl:a,serverVariables:p={}}=e;const d=ma()(t,["paths",r,(n||"").toLowerCase(),"servers"])||ma()(t,["paths",r,"servers"])||ma()(t,["servers"]);let h="",g=null;if(s&&d&&d.length){const y=d.map(C=>C.url);y.indexOf(s)>-1&&(h=s,g=d[y.indexOf(s)])}return!h&&d&&d.length&&(h=d[0].url,[g]=d),h.indexOf("{")>-1&&K2(h).forEach(C=>{if(g.variables&&g.variables[C]){const M=g.variables[C],I=p[C]||M.default,B=new RegExp(`{${C}}`,"g");h=h.replace(B,I)}}),G2(h,a)}function G2(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=e&&t?de.parse(de.resolve(t,e)):de.parse(e),n=de.parse(t),s=ay(r.protocol)||ay(n.protocol)||"",a=r.host||n.host,p=r.pathname||"";let d;return s&&a?d=`${s}://${a+p}`:d=p,d[d.length-1]==="/"?d.slice(0,-1):d}function K2(e){const t=[],r=/{([^}]+)}/g;let n;for(;n=r.exec(e);)t.push(n[1]);return t}function J2(e){let{spec:t,scheme:r,contextUrl:n=""}=e;const s=de.parse(n),a=Array.isArray(t.schemes)?t.schemes[0]:null,p=r||a||ay(s.protocol)||"http",d=t.host||s.host||"",h=t.basePath||"";let g;return p&&d?g=`${p}://${d+h}`:g=h,g[g.length-1]==="/"?g.slice(0,-1):g}cr.http=Ns,cr.makeHttp=mo.bind(null,cr.http),cr.resolveStrategies={"openapi-3-1-apidom":d2,"openapi-3-0":ul,"openapi-2-0":hu,generic:So},cr.resolve=vu({strategies:[cr.resolveStrategies["openapi-3-1-apidom"],cr.resolveStrategies["openapi-3-0"],cr.resolveStrategies["openapi-2-0"],cr.resolveStrategies.generic]}),cr.resolveSubtree=Xc({strategies:[cr.resolveStrategies["openapi-3-1-apidom"],cr.resolveStrategies["openapi-3-0"],cr.resolveStrategies["openapi-2-0"],cr.resolveStrategies.generic]}),cr.execute=H2,cr.serializeRes=Yp,cr.serializeHeaders=eu,cr.clearCache=al,cr.makeApisTagOperation=g2,cr.buildRequest=Sx,cr.helpers={opId:ol},cr.getBaseUrl=wx,cr.apidom={resolve:{resolvers:{HttpResolverSwaggerClient:sx}},parse:{parsers:{JsonParser:ox,YamlParser:ax,OpenApiJson3_1Parser:lx,OpenApiYaml3_1Parser:ux}},dereference:{strategies:{OpenApi3_1SwaggerClientDereferenceStrategy:hx}}};function cr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof e=="string"?t.url=e:t=e,!(this instanceof cr))return new cr(t);Object.assign(this,t);const r=this.resolve().then(()=>(this.disableInterfaces||Object.assign(this,cr.makeApisTagOperation(this)),this));return r.client=this,r}cr.prototype={http:Ns,execute(e){return this.applyDefaults(),cr.execute(H({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},e))},resolve(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return cr.resolve(H({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},e)).then(t=>(this.originalSpec=this.spec,this.spec=t.spec,this.errors=t.errors,this))}},cr.prototype.applyDefaults=function(){const{spec:t}=this,r=this.url;if(r&&r.startsWith("http")){const n=de.parse(r);t.host||(t.host=n.host),t.schemes||(t.schemes=[n.protocol.replace(":","")]),t.basePath||(t.basePath="/")}};const{helpers:oG}=cr,Y2=cr;var R=c(29901),Mr=c(87722),Fo=c(37294),X2=c(1452),Q2=c(36505),Z2=c(94440),q2=Object.defineProperty,eL=Object.defineProperties,tL=Object.getOwnPropertyDescriptors,Ox=Object.getOwnPropertySymbols,rL=Object.prototype.hasOwnProperty,nL=Object.prototype.propertyIsEnumerable,Ex=(e,t,r)=>t in e?q2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,iL=(e,t)=>{for(var r in t||(t={}))rL.call(t,r)&&Ex(e,r,t[r]);if(Ox)for(var r of Ox(t))nL.call(t,r)&&Ex(e,r,t[r]);return e},sL=(e,t)=>eL(e,tL(t)),oL=(e,t,r)=>new Promise((n,s)=>{var a=h=>{try{d(r.next(h))}catch(g){s(g)}},p=h=>{try{d(r.throw(h))}catch(g){s(g)}},d=h=>h.done?n(h.value):Promise.resolve(h.value).then(a,p);d((r=r.apply(e,t)).next())});function aL(e,t){return oL(this,null,function*(){var r,n,s,a;const p=JSON.parse(JSON.stringify(t)),d=p.openapi?{openapi:p.openapi}:p.swagger?{swagger:p.swagger}:{},h=sL(iL({},d),{components:p.components,paths:{[e.path]:{[e.httpVerb]:(n=(r=p.paths)==null?void 0:r[e.path])==null?void 0:n[e.httpVerb],parameters:(a=(s=p.paths)==null?void 0:s[e.path])==null?void 0:a.parameters}}}),g=new Q2.Config({}),y=(0,Z2.I)(h),C={config:g,doc:y,dereference:!0};return yield(0,X2.bundle)(C),p})}var lL=c(58455),Pm=c(77304),Zs=c(86997),Ax=(e,t,r)=>new Promise((n,s)=>{var a=h=>{try{d(r.next(h))}catch(g){s(g)}},p=h=>{try{d(r.throw(h))}catch(g){s(g)}},d=h=>h.done?n(h.value):Promise.resolve(h.value).then(a,p);d((r=r.apply(e,t)).next())});const Cx=Object.values(Zs.FileUploadFormats),uL=["application/octet-stream","application/pdf","application/gzip","application/zip"],_x=["image/","audio/","video/"];function Px(e){if(_x.some(t=>e.startsWith(t)))return e}function Tm(e){return uL.includes(e)?!0:_x.some(t=>e.startsWith(t))}function cL(e){const t=e.type==="array"?e.items:e;if(!t||!t.type||(t==null?void 0:t.type)==="any")return!0;const r=t.contentMediaType||"",n=t.format||t.contentEncoding||(Tm(r)?"binary":"");return t.type===Zs.DefinitionTypes.STRING&&Cx.includes(n)}function Tx(e,t){if(!e||!e.type||e.type==="any")return Tm(t);const r=e.format||e.contentEncoding||"";return e.type===Zs.DefinitionTypes.STRING&&Cx.includes(r)}function Vx(e){return new Promise((t,r)=>{const n=new FileReader;n.onload=()=>{const a=n.result.replace(/data:.*\/.*;base64,/g,"");t(a)},n.onerror=()=>r(n.error),n.readAsDataURL(e)})}function kx({format:e,contentEncoding:t,contentMediaType:r}){return[e,t,r].includes(Zs.FileUploadFormats.BASE64)}function fL(e,t){return Ax(this,null,function*(){const r=Object.values(e);let n=r.length===1?r[0]:r;return t.type===Zs.DefinitionTypes.STRING&&kx(t)?n=yield Vx(r[0]):t.type===Zs.DefinitionTypes.ARRAY&&t.items&&(kx(t.items)?n=yield Promise.all(r.map(a=>Ax(this,null,function*(){return yield Vx(a)}))):n=r),n})}var jx=c(75210),Wt=c(69056),Kt=c(28507),kt=c(28838),li=c(41336),pL=c(4944);function dL({response:e}){return R.createElement(R.Fragment,null,R.createElement(li.EE,null," Body: "),hL(e))}function hL(e){return e.body?R.createElement(Mr.JsonViewer,{data:e.body,jsonSampleExpandLevel:1}):e.fileInfo?R.createElement(pL.s,{fileInfo:e.fileInfo}):e.data!==null?e.data?R.createElement(Mr.SourceCode,{lang:(0,kt.M)(e.headers["Content-Type"]||"text/plain"),source:e.data,withCopyButton:!0}):R.createElement(li.w3,null,R.createElement("i",null,"(no content)")):null}var Hu=c(50323);function mL({headers:e}){const t=(0,Fo.useRecoilValue)(Hu.lk),[r,n]=(0,R.useState)(!0),{maxResponseHeadersToShowInTryIt:s}=t,a=Object.keys(e),p=!!s&&a.length>s,d=p&&r?[...a].splice(0,s):[...a],h=()=>{n(!r)};return R.createElement(R.Fragment,null,R.createElement(li.EE,null," Headers: "),R.createElement(li.w3,null,d.map(g=>R.createElement("div",{key:g},R.createElement(Ix,null,g,":"),R.createElement("code",null,e[g]))),p&&R.createElement(Rx,{onClick:h},r?"Show more...":"Hide headers")))}const Ix=Kt.ZP.strong`
|
|
93
|
+
*/function vx(e){return Object.prototype.toString.call(e)==="[object Object]"}function gx(e){var t,r;return vx(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(vx(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}const x2={body:S2,header:O2,query:A2,path:E2,formData:w2};function S2(e){let{req:t,value:r}=e;t.body=r}function w2(e){let{req:t,value:r,parameter:n}=e;(r||n.allowEmptyValue)&&(t.form=t.form||{},t.form[n.name]={value:r,allowEmptyValue:n.allowEmptyValue,collectionFormat:n.collectionFormat})}function O2(e){let{req:t,parameter:r,value:n}=e;t.headers=t.headers||{},typeof n!="undefined"&&(t.headers[r.name]=n)}function E2(e){let{req:t,value:r,parameter:n}=e;t.url=t.url.split(`{${n.name}}`).join(encodeURIComponent(r))}function A2(e){let{req:t,value:r,parameter:n}=e;if(t.query=t.query||{},r===!1&&n.type==="boolean"&&(r="false"),r===0&&["number","integer"].indexOf(n.type)>-1&&(r="0"),r)t.query[n.name]={collectionFormat:n.collectionFormat,value:r};else if(n.allowEmptyValue&&r!==void 0){const s=n.name;t.query[s]=t.query[s]||{},t.query[s].allowEmptyValue=!0}}function _m(e,t){return t.includes("application/json")?typeof e=="string"?e:JSON.stringify(e):e.toString()}function C2(e){let{req:t,value:r,parameter:n}=e;const{name:s,style:a,explode:p,content:d}=n;if(d){const g=Object.keys(d)[0];t.url=t.url.split(`{${s}}`).join(qo(_m(r,g),{escape:!0}));return}const h=Ga({key:n.name,value:r,style:a||"simple",explode:p||!1,escape:!0});t.url=t.url.split(`{${s}}`).join(h)}function _2(e){let{req:t,value:r,parameter:n}=e;if(t.query=t.query||{},n.content){const s=Object.keys(n.content)[0],a=_m(r,s);if(a)t.query[n.name]=a;else if(n.allowEmptyValue&&r!==void 0){const p=n.name;t.query[p]=t.query[p]||{},t.query[p].allowEmptyValue=!0}return}if(r===!1&&(r="false"),r===0&&(r="0"),r){const{style:s,explode:a,allowReserved:p}=n;t.query[n.name]={value:r,serializationOption:{style:s,explode:a,allowReserved:p}}}else if(n.allowEmptyValue&&r!==void 0){const s=n.name;t.query[s]=t.query[s]||{},t.query[s].allowEmptyValue=!0}}const P2=["accept","authorization","content-type"];function T2(e){let{req:t,parameter:r,value:n}=e;if(t.headers=t.headers||{},!(P2.indexOf(r.name.toLowerCase())>-1)){if(r.content){const s=Object.keys(r.content)[0];t.headers[r.name]=_m(n,s);return}typeof n!="undefined"&&(t.headers[r.name]=Ga({key:r.name,value:n,style:r.style||"simple",explode:typeof r.explode=="undefined"?!1:r.explode,escape:!1}))}}function V2(e){let{req:t,parameter:r,value:n}=e;t.headers=t.headers||{};const s=typeof n;if(r.content){const a=Object.keys(r.content)[0];t.headers.Cookie=`${r.name}=${_m(n,a)}`;return}if(s!=="undefined"){const a=s==="object"&&!Array.isArray(n)&&r.explode?"":`${r.name}=`;t.headers.Cookie=a+Ga({key:r.name,value:n,escape:!1,style:r.style||"form",explode:typeof r.explode=="undefined"?!1:r.explode})}}const k2=(()=>typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:window)(),{btoa:j2}=k2,yx=j2;function I2(e,t){const{operation:r,requestBody:n,securities:s,spec:a,attachContentTypeForEmptyPayload:p}=e;let{requestContentType:d}=e;t=R2({request:t,securities:s,operation:r,spec:a});const h=r.requestBody||{},g=Object.keys(h.content||{}),y=d&&g.indexOf(d)>-1;if(n||p){if(d&&y)t.headers["Content-Type"]=d;else if(!d){const C=g[0];C&&(t.headers["Content-Type"]=C,d=C)}}else d&&y&&(t.headers["Content-Type"]=d);if(!e.responseContentType&&r.responses){const C=Object.entries(r.responses).filter(M=>{let[I,B]=M;const z=parseInt(I,10);return z>=200&&z<300&&gx(B.content)}).reduce((M,I)=>{let[,B]=I;return M.concat(Object.keys(B.content))},[]);C.length>0&&(t.headers.accept=C.join(", "))}if(n)if(d){if(g.indexOf(d)>-1)if(d==="application/x-www-form-urlencoded"||d==="multipart/form-data")if(typeof n=="object"){const C=(h.content[d]||{}).encoding||{};t.form={},Object.keys(n).forEach(M=>{t.form[M]={value:n[M],encoding:C[M]||{}}})}else t.form=n;else t.body=n}else t.body=n;return t}function R2(e){let{request:t,securities:r={},operation:n={},spec:s}=e;const a=H({},t),{authorized:p={}}=r,d=n.security||s.security||[],h=p&&!!Object.keys(p).length,g=ma()(s,["components","securitySchemes"])||{};return a.headers=a.headers||{},a.query=a.query||{},!Object.keys(r).length||!h||!d||Array.isArray(n.security)&&!n.security.length?t:(d.forEach(y=>{Object.keys(y).forEach(C=>{const M=p[C],I=g[C];if(!M)return;const B=M.value||M,{type:z}=I;if(M){if(z==="apiKey")I.in==="query"&&(a.query[I.name]=B),I.in==="header"&&(a.headers[I.name]=B),I.in==="cookie"&&(a.cookies[I.name]=B);else if(z==="http"){if(/^basic$/i.test(I.scheme)){const W=B.username||"",G=B.password||"",te=yx(`${W}:${G}`);a.headers.Authorization=`Basic ${te}`}/^bearer$/i.test(I.scheme)&&(a.headers.Authorization=`Bearer ${B}`)}else if(z==="oauth2"||z==="openIdConnect"){const W=M.token||{},G=I["x-tokenName"]||"access_token",te=W[G];let le=W.token_type;(!le||le.toLowerCase()==="bearer")&&(le="Bearer"),a.headers.Authorization=`${le} ${te}`}}})}),a)}function F2(e,t){const{spec:r,operation:n,securities:s,requestContentType:a,responseContentType:p,attachContentTypeForEmptyPayload:d}=e;if(t=M2({request:t,securities:s,operation:n,spec:r}),t.body||t.form||d)a?t.headers["Content-Type"]=a:Array.isArray(n.consumes)?[t.headers["Content-Type"]]=n.consumes:Array.isArray(r.consumes)?[t.headers["Content-Type"]]=r.consumes:n.parameters&&n.parameters.filter(h=>h.type==="file").length?t.headers["Content-Type"]="multipart/form-data":n.parameters&&n.parameters.filter(h=>h.in==="formData").length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(a){const h=n.parameters&&n.parameters.filter(y=>y.in==="body").length>0,g=n.parameters&&n.parameters.filter(y=>y.in==="formData").length>0;(h||g)&&(t.headers["Content-Type"]=a)}return!p&&Array.isArray(n.produces)&&n.produces.length>0&&(t.headers.accept=n.produces.join(", ")),t}function M2(e){let{request:t,securities:r={},operation:n={},spec:s}=e;const a=H({},t),{authorized:p={},specSecurity:d=[]}=r,h=n.security||d,g=p&&!!Object.keys(p).length,y=s.securityDefinitions;return a.headers=a.headers||{},a.query=a.query||{},!Object.keys(r).length||!g||!h||Array.isArray(n.security)&&!n.security.length?t:(h.forEach(C=>{Object.keys(C).forEach(M=>{const I=p[M];if(!I)return;const{token:B}=I,z=I.value||I,W=y[M],{type:G}=W,te=W["x-tokenName"]||"access_token",le=B&&B[te];let ye=B&&B.token_type;if(I)if(G==="apiKey"){const he=W.in==="query"?"query":"headers";a[he]=a[he]||{},a[he][W.name]=z}else if(G==="basic")if(z.header)a.headers.authorization=z.header;else{const he=z.username||"",Ee=z.password||"";z.base64=yx(`${he}:${Ee}`),a.headers.authorization=`Basic ${z.base64}`}else G==="oauth2"&&le&&(ye=!ye||ye.toLowerCase()==="bearer"?"Bearer":ye,a.headers.authorization=`${ye} ${le}`)})}),a)}function bx(e,t){return`${t.toLowerCase()}-${e}`}function L2(e,t){return mx(e,t,!0)||null}function D2(e,t){return!e||!e.paths?null:L2(e,r=>{let{pathName:n,method:s,operation:a}=r;if(!a||typeof a!="object")return!1;const p=a.operationId,d=ol(a,n,s),h=bx(n,s);return[d,h,p].some(g=>g&&g===t)})}const N2=["http","fetch","spec","operationId","pathName","method","parameters","securities"],xx=e=>Array.isArray(e)?e:[],B2=cu("OperationNotFoundError",function(t,r,n){this.originalError=n,Object.assign(this,r||{})}),$2=(e,t)=>t.filter(r=>r.name===e),U2=e=>{const t={};e.forEach(n=>{t[n.in]||(t[n.in]={}),t[n.in][n.name]=n});const r=[];return Object.keys(t).forEach(n=>{Object.keys(t[n]).forEach(s=>{r.push(t[n][s])})}),r},W2={buildRequest:Sx};function H2(e){let{http:t,fetch:r,spec:n,operationId:s,pathName:a,method:p,parameters:d,securities:h}=e,g=df(e,N2);const y=t||r||Ns;a&&p&&!s&&(s=bx(a,p));const C=W2.buildRequest(H({spec:n,operationId:s,parameters:d,securities:h,http:y},g));return C.body&&(gx(C.body)||Array.isArray(C.body))&&(C.body=JSON.stringify(C.body)),y(C)}function Sx(e){const{spec:t,operationId:r,responseContentType:n,scheme:s,requestInterceptor:a,responseInterceptor:p,contextUrl:d,userFetch:h,server:g,serverVariables:y,http:C,signal:M}=e;let{parameters:I,parameterBuilders:B}=e;const z=Jc(t);B||(z?B=$:B=x2);let G={url:"",credentials:C&&C.withCredentials?"include":"same-origin",headers:{},cookies:{}};M&&(G.signal=M),a&&(G.requestInterceptor=a),p&&(G.responseInterceptor=p),h&&(G.userFetch=h);const te=D2(t,r);if(!te)throw new B2(`Operation ${r} not found`);const{operation:le={},method:ye,pathName:he}=te;if(G.url+=wx({spec:t,scheme:s,contextUrl:d,server:g,serverVariables:y,pathName:he,method:ye}),!r)return delete G.cookies,G;G.url+=he,G.method=`${ye}`.toUpperCase(),I=I||{};const Ee=t.paths[he]||{};n&&(G.headers.accept=n);const me=U2([].concat(xx(le.parameters)).concat(xx(Ee.parameters)));me.forEach(ce=>{const Se=B[ce.in];let Ce;if(ce.in==="body"&&ce.schema&&ce.schema.properties&&(Ce=I),Ce=ce&&ce.name&&I[ce.name],typeof Ce=="undefined"?Ce=ce&&ce.name&&I[`${ce.in}.${ce.name}`]:$2(ce.name,me).length>1&&console.warn(`Parameter '${ce.name}' is ambiguous because the defined spec has more than one parameter with the name: '${ce.name}' and the passed-in parameter values did not define an 'in' value.`),Ce!==null){if(typeof ce.default!="undefined"&&typeof Ce=="undefined"&&(Ce=ce.default),typeof Ce=="undefined"&&ce.required&&!ce.allowEmptyValue)throw new Error(`Required parameter ${ce.name} is not provided`);if(z&&ce.schema&&ce.schema.type==="object"&&typeof Ce=="string")try{Ce=JSON.parse(Ce)}catch(Me){throw new Error("Could not parse object parameter value string as JSON")}Se&&Se({req:G,parameter:ce,value:Ce,operation:le,spec:t})}});const ve=H(H({},e),{},{operation:le});if(z?G=I2(ve,G):G=F2(ve,G),G.cookies&&Object.keys(G.cookies).length){const ce=Object.keys(G.cookies).reduce((Se,Ce)=>{const Me=G.cookies[Ce],Qe=Se?"&":"",wt=b2.serialize(Ce,Me);return Se+Qe+wt},"");G.headers.Cookie=ce}return G.cookies&&delete G.cookies,ra(G),G}const ay=e=>e?e.replace(/\W/g,""):null;function wx(e){return Jc(e.spec)?z2(e):J2(e)}function z2(e){let{spec:t,pathName:r,method:n,server:s,contextUrl:a,serverVariables:p={}}=e;const d=ma()(t,["paths",r,(n||"").toLowerCase(),"servers"])||ma()(t,["paths",r,"servers"])||ma()(t,["servers"]);let h="",g=null;if(s&&d&&d.length){const y=d.map(C=>C.url);y.indexOf(s)>-1&&(h=s,g=d[y.indexOf(s)])}return!h&&d&&d.length&&(h=d[0].url,[g]=d),h.indexOf("{")>-1&&K2(h).forEach(C=>{if(g.variables&&g.variables[C]){const M=g.variables[C],I=p[C]||M.default,B=new RegExp(`{${C}}`,"g");h=h.replace(B,I)}}),G2(h,a)}function G2(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=e&&t?de.parse(de.resolve(t,e)):de.parse(e),n=de.parse(t),s=ay(r.protocol)||ay(n.protocol)||"",a=r.host||n.host,p=r.pathname||"";let d;return s&&a?d=`${s}://${a+p}`:d=p,d[d.length-1]==="/"?d.slice(0,-1):d}function K2(e){const t=[],r=/{([^}]+)}/g;let n;for(;n=r.exec(e);)t.push(n[1]);return t}function J2(e){let{spec:t,scheme:r,contextUrl:n=""}=e;const s=de.parse(n),a=Array.isArray(t.schemes)?t.schemes[0]:null,p=r||a||ay(s.protocol)||"http",d=t.host||s.host||"",h=t.basePath||"";let g;return p&&d?g=`${p}://${d+h}`:g=h,g[g.length-1]==="/"?g.slice(0,-1):g}cr.http=Ns,cr.makeHttp=mo.bind(null,cr.http),cr.resolveStrategies={"openapi-3-1-apidom":d2,"openapi-3-0":ul,"openapi-2-0":hu,generic:So},cr.resolve=vu({strategies:[cr.resolveStrategies["openapi-3-1-apidom"],cr.resolveStrategies["openapi-3-0"],cr.resolveStrategies["openapi-2-0"],cr.resolveStrategies.generic]}),cr.resolveSubtree=Xc({strategies:[cr.resolveStrategies["openapi-3-1-apidom"],cr.resolveStrategies["openapi-3-0"],cr.resolveStrategies["openapi-2-0"],cr.resolveStrategies.generic]}),cr.execute=H2,cr.serializeRes=Yp,cr.serializeHeaders=eu,cr.clearCache=al,cr.makeApisTagOperation=g2,cr.buildRequest=Sx,cr.helpers={opId:ol},cr.getBaseUrl=wx,cr.apidom={resolve:{resolvers:{HttpResolverSwaggerClient:sx}},parse:{parsers:{JsonParser:ox,YamlParser:ax,OpenApiJson3_1Parser:lx,OpenApiYaml3_1Parser:ux}},dereference:{strategies:{OpenApi3_1SwaggerClientDereferenceStrategy:hx}}};function cr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof e=="string"?t.url=e:t=e,!(this instanceof cr))return new cr(t);Object.assign(this,t);const r=this.resolve().then(()=>(this.disableInterfaces||Object.assign(this,cr.makeApisTagOperation(this)),this));return r.client=this,r}cr.prototype={http:Ns,execute(e){return this.applyDefaults(),cr.execute(H({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},e))},resolve(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return cr.resolve(H({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},e)).then(t=>(this.originalSpec=this.spec,this.spec=t.spec,this.errors=t.errors,this))}},cr.prototype.applyDefaults=function(){const{spec:t}=this,r=this.url;if(r&&r.startsWith("http")){const n=de.parse(r);t.host||(t.host=n.host),t.schemes||(t.schemes=[n.protocol.replace(":","")]),t.basePath||(t.basePath="/")}};const{helpers:oG}=cr,Y2=cr;var R=c(29901),Mr=c(87722),Fo=c(21999),X2=c(1452),Q2=c(36505),Z2=c(94440),q2=Object.defineProperty,eL=Object.defineProperties,tL=Object.getOwnPropertyDescriptors,Ox=Object.getOwnPropertySymbols,rL=Object.prototype.hasOwnProperty,nL=Object.prototype.propertyIsEnumerable,Ex=(e,t,r)=>t in e?q2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,iL=(e,t)=>{for(var r in t||(t={}))rL.call(t,r)&&Ex(e,r,t[r]);if(Ox)for(var r of Ox(t))nL.call(t,r)&&Ex(e,r,t[r]);return e},sL=(e,t)=>eL(e,tL(t)),oL=(e,t,r)=>new Promise((n,s)=>{var a=h=>{try{d(r.next(h))}catch(g){s(g)}},p=h=>{try{d(r.throw(h))}catch(g){s(g)}},d=h=>h.done?n(h.value):Promise.resolve(h.value).then(a,p);d((r=r.apply(e,t)).next())});function aL(e,t){return oL(this,null,function*(){var r,n,s,a;const p=JSON.parse(JSON.stringify(t)),d=p.openapi?{openapi:p.openapi}:p.swagger?{swagger:p.swagger}:{},h=sL(iL({},d),{components:p.components,paths:{[e.path]:{[e.httpVerb]:(n=(r=p.paths)==null?void 0:r[e.path])==null?void 0:n[e.httpVerb],parameters:(a=(s=p.paths)==null?void 0:s[e.path])==null?void 0:a.parameters}}}),g=new Q2.Config({}),y=(0,Z2.I)(h),C={config:g,doc:y,dereference:!0};return yield(0,X2.bundle)(C),p})}var lL=c(58455),Pm=c(77304),Zs=c(86997),Ax=(e,t,r)=>new Promise((n,s)=>{var a=h=>{try{d(r.next(h))}catch(g){s(g)}},p=h=>{try{d(r.throw(h))}catch(g){s(g)}},d=h=>h.done?n(h.value):Promise.resolve(h.value).then(a,p);d((r=r.apply(e,t)).next())});const Cx=Object.values(Zs.FileUploadFormats),uL=["application/octet-stream","application/pdf","application/gzip","application/zip"],_x=["image/","audio/","video/"];function Px(e){if(_x.some(t=>e.startsWith(t)))return e}function Tm(e){return uL.includes(e)?!0:_x.some(t=>e.startsWith(t))}function cL(e){const t=e.type==="array"?e.items:e;if(!t||!t.type||(t==null?void 0:t.type)==="any")return!0;const r=t.contentMediaType||"",n=t.format||t.contentEncoding||(Tm(r)?"binary":"");return t.type===Zs.DefinitionTypes.STRING&&Cx.includes(n)}function Tx(e,t){if(!e||!e.type||e.type==="any")return Tm(t);const r=e.format||e.contentEncoding||"";return e.type===Zs.DefinitionTypes.STRING&&Cx.includes(r)}function Vx(e){return new Promise((t,r)=>{const n=new FileReader;n.onload=()=>{const a=n.result.replace(/data:.*\/.*;base64,/g,"");t(a)},n.onerror=()=>r(n.error),n.readAsDataURL(e)})}function kx({format:e,contentEncoding:t,contentMediaType:r}){return[e,t,r].includes(Zs.FileUploadFormats.BASE64)}function fL(e,t){return Ax(this,null,function*(){const r=Object.values(e);let n=r.length===1?r[0]:r;return t.type===Zs.DefinitionTypes.STRING&&kx(t)?n=yield Vx(r[0]):t.type===Zs.DefinitionTypes.ARRAY&&t.items&&(kx(t.items)?n=yield Promise.all(r.map(a=>Ax(this,null,function*(){return yield Vx(a)}))):n=r),n})}var jx=c(75210),Wt=c(69056),Kt=c(11991),kt=c(28838),li=c(41336),pL=c(4944);function dL({response:e}){return R.createElement(R.Fragment,null,R.createElement(li.EE,null," Body: "),hL(e))}function hL(e){return e.body?R.createElement(Mr.JsonViewer,{data:e.body,jsonSampleExpandLevel:1}):e.fileInfo?R.createElement(pL.s,{fileInfo:e.fileInfo}):e.data!==null?e.data?R.createElement(Mr.SourceCode,{lang:(0,kt.M)(e.headers["Content-Type"]||"text/plain"),source:e.data,withCopyButton:!0}):R.createElement(li.w3,null,R.createElement("i",null,"(no content)")):null}var Hu=c(50323);function mL({headers:e}){const t=(0,Fo.useRecoilValue)(Hu.lk),[r,n]=(0,R.useState)(!0),{maxResponseHeadersToShowInTryIt:s}=t,a=Object.keys(e),p=!!s&&a.length>s,d=p&&r?[...a].splice(0,s):[...a],h=()=>{n(!r)};return R.createElement(R.Fragment,null,R.createElement(li.EE,null," Headers: "),R.createElement(li.w3,null,d.map(g=>R.createElement("div",{key:g},R.createElement(Ix,null,g,":"),R.createElement("code",null,e[g]))),p&&R.createElement(Rx,{onClick:h},r?"Show more...":"Hide headers")))}const Ix=Kt.ZP.strong`
|
|
94
94
|
text-transform: capitalize;
|
|
95
95
|
display: inline-block;
|
|
96
96
|
padding-right: 5px;
|
|
@@ -238,7 +238,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
238
238
|
`;var w3=c(33300),O3=c(7362),E3=c(75372);const A3=(0,Kt.ZP)(Lx.A3)`
|
|
239
239
|
border-radius: var(--panel-border-radius);
|
|
240
240
|
margin-bottom: 10px;
|
|
241
|
-
`;var Um=c(39889),wy=c(82183),C3=c(
|
|
241
|
+
`;var Um=c(39889),wy=c(82183),C3=c(43507),_3=Object.defineProperty,Wm=Object.getOwnPropertySymbols,kS=Object.prototype.hasOwnProperty,jS=Object.prototype.propertyIsEnumerable,IS=(e,t,r)=>t in e?_3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,P3=(e,t)=>{for(var r in t||(t={}))kS.call(t,r)&&IS(e,r,t[r]);if(Wm)for(var r of Wm(t))jS.call(t,r)&&IS(e,r,t[r]);return e},RS=(e,t)=>{var r={};for(var n in e)kS.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Wm)for(var n of Wm(e))t.indexOf(n)<0&&jS.call(e,n)&&(r[n]=e[n]);return r},T3=(e,t,r)=>new Promise((n,s)=>{var a=h=>{try{d(r.next(h))}catch(g){s(g)}},p=h=>{try{d(r.throw(h))}catch(g){s(g)}},d=h=>h.done?n(h.value):Promise.resolve(h.value).then(a,p);d((r=r.apply(e,t)).next())});const FS=(0,R.forwardRef)((e,t)=>{var r=RS(e,[]);const n=r,{schema:s,contentName:a,onChange:p,name:d}=n,h=RS(n,["schema","contentName","onChange","name"]),{render:g}=Yf(P3({field:d},h)),y=C=>T3(void 0,null,function*(){const M=yield fL(C.target.files,s);p(a,M)});return g(R.createElement("input",{"data-cy":"file-upload-input",type:"file",id:r.id,className:r.className,name:r.name,onChange:y,multiple:r.multiple,accept:r.accept,ref:t}))});FS.displayName="FileUpload";var Oy=c(57135);function V3({mediaType:e,onChange:t,formApi:r}){var n;const s=e.examples||{},{exampleKey:a}=(0,wy.C6)(e.operation,s),p=(n=s[a])==null?void 0:n.rawValue,d=j3(e);(0,R.useEffect)(()=>r&&d.forEach(g=>{var y,C;const M=p==null?void 0:p[g.name],I=(C=(y=g.example)!=null?y:M==null?void 0:M.example)!=null?C:M,B=typeof I=="object"?JSON.stringify(I):I;I!==void 0&&r.setValue("body."+g.name,`${B}`)}),[a]);const h=e.schema||{};return Tx(h,e.name)?R.createElement(MS,null,R.createElement(st.NI,null,R.createElement(LS,{fullWidth:!0,id:`body.${e.name}`,name:`body.${e.name}`,accept:Px(e.name),schema:h,contentName:e.name,onChange:t}))):h.type!==Zs.DefinitionTypes.OBJECT&&!d?(console.warn(`Invalid schema for request body and mime type: "${e.name}"`,h),null):R.createElement(MS,null,d.map(g=>{const y=g.schema||{contentMediaType:"",type:"",description:""},C=e.name===Um.Tr.MULTIPART&&cL(y),M=y.contentMediaType||"",I=C?R.createElement(LS,{fullWidth:!0,id:"body."+g.name,name:"body."+g.name,accept:Px(M),multiple:y.type==="array",schema:y,contentName:g.name,onChange:t}):R.createElement(ci,{fullWidth:!0,id:"body."+g.name,field:"body."+g.name,placeholder:(0,kt.bG)(y.description)||g.name,panel:"try-it"});return R.createElement(st.NI,{key:g.name},R.createElement(st.lX,null,g.name,":"),I)}))}const k3=(0,R.memo)(V3);function j3(e){var t,r,n,s;const{activeOneOf:a}=(0,C3.$l)((0,Oy.N)(e.operation.pointer));return((r=(t=e.schema)==null?void 0:t.oneOf)!=null&&r.length?((n=e.schema)==null?void 0:n.oneOf[a].fields)||[]:((s=e.schema)==null?void 0:s.fields)||[]).filter(p=>!p.schema.readOnly)}const MS=Kt.ZP.div`
|
|
242
242
|
> div {
|
|
243
243
|
margin-top: 10px;
|
|
244
244
|
}
|
|
@@ -246,7 +246,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
246
246
|
${xS("try-it")};
|
|
247
247
|
${({inputType:e})=>e==="password"?"padding-right: 40px;":""};
|
|
248
248
|
${({fullWidth:e})=>e?"width: 100%;":""}
|
|
249
|
-
`;var I3=c(
|
|
249
|
+
`;var I3=c(99913);function Hm(e,t){t===void 0&&(t=!1);var r=e.length,n=0,s="",a=0,p=16,d=0,h=0,g=0,y=0,C=0;function M(le,ye){for(var he=0,Ee=0;he<le||!ye;){var me=e.charCodeAt(n);if(me>=48&&me<=57)Ee=Ee*16+me-48;else if(me>=65&&me<=70)Ee=Ee*16+me-65+10;else if(me>=97&&me<=102)Ee=Ee*16+me-97+10;else break;n++,he++}return he<le&&(Ee=-1),Ee}function I(le){n=le,s="",a=0,p=16,C=0}function B(){var le=n;if(e.charCodeAt(n)===48)n++;else for(n++;n<e.length&&zu(e.charCodeAt(n));)n++;if(n<e.length&&e.charCodeAt(n)===46)if(n++,n<e.length&&zu(e.charCodeAt(n)))for(n++;n<e.length&&zu(e.charCodeAt(n));)n++;else return C=3,e.substring(le,n);var ye=n;if(n<e.length&&(e.charCodeAt(n)===69||e.charCodeAt(n)===101))if(n++,(n<e.length&&e.charCodeAt(n)===43||e.charCodeAt(n)===45)&&n++,n<e.length&&zu(e.charCodeAt(n))){for(n++;n<e.length&&zu(e.charCodeAt(n));)n++;ye=n}else C=3;return e.substring(le,ye)}function z(){for(var le="",ye=n;;){if(n>=r){le+=e.substring(ye,n),C=2;break}var he=e.charCodeAt(n);if(he===34){le+=e.substring(ye,n),n++;break}if(he===92){if(le+=e.substring(ye,n),n++,n>=r){C=2;break}var Ee=e.charCodeAt(n++);switch(Ee){case 34:le+='"';break;case 92:le+="\\";break;case 47:le+="/";break;case 98:le+="\b";break;case 102:le+="\f";break;case 110:le+=`
|
|
250
250
|
`;break;case 114:le+="\r";break;case 116:le+=" ";break;case 117:var me=M(4,!0);me>=0?le+=String.fromCharCode(me):C=4;break;default:C=5}ye=n;continue}if(he>=0&&he<=31)if(ep(he)){le+=e.substring(ye,n),C=2;break}else C=6;n++}return le}function W(){if(s="",C=0,a=n,h=d,y=g,n>=r)return a=r,p=17;var le=e.charCodeAt(n);if(Ey(le)){do n++,s+=String.fromCharCode(le),le=e.charCodeAt(n);while(Ey(le));return p=15}if(ep(le))return n++,s+=String.fromCharCode(le),le===13&&e.charCodeAt(n)===10&&(n++,s+=`
|
|
251
251
|
`),d++,g=n,p=14;switch(le){case 123:return n++,p=1;case 125:return n++,p=2;case 91:return n++,p=3;case 93:return n++,p=4;case 58:return n++,p=6;case 44:return n++,p=5;case 34:return n++,s=z(),p=10;case 47:var ye=n-1;if(e.charCodeAt(n+1)===47){for(n+=2;n<r&&!ep(e.charCodeAt(n));)n++;return s=e.substring(ye,n),p=12}if(e.charCodeAt(n+1)===42){n+=2;for(var he=r-1,Ee=!1;n<he;){var me=e.charCodeAt(n);if(me===42&&e.charCodeAt(n+1)===47){n+=2,Ee=!0;break}n++,ep(me)&&(me===13&&e.charCodeAt(n)===10&&n++,d++,g=n)}return Ee||(n++,C=1),s=e.substring(ye,n),p=13}return s+=String.fromCharCode(le),n++,p=16;case 45:if(s+=String.fromCharCode(le),n++,n===r||!zu(e.charCodeAt(n)))return p=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return s+=B(),p=11;default:for(;n<r&&G(le);)n++,le=e.charCodeAt(n);if(a!==n){switch(s=e.substring(a,n),s){case"true":return p=8;case"false":return p=9;case"null":return p=7}return p=16}return s+=String.fromCharCode(le),n++,p=16}}function G(le){if(Ey(le)||ep(le))return!1;switch(le){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function te(){var le;do le=W();while(le>=12&&le<=15);return le}return{setPosition:I,getPosition:function(){return n},scan:t?te:W,getToken:function(){return p},getTokenValue:function(){return s},getTokenOffset:function(){return a},getTokenLength:function(){return n-a},getTokenStartLine:function(){return h},getTokenStartCharacter:function(){return a-y},getTokenError:function(){return C}}}function Ey(e){return e===32||e===9||e===11||e===12||e===160||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function ep(e){return e===10||e===13||e===8232||e===8233}function zu(e){return e>=48&&e<=57}function R3(e,t,r){var n,s,a,p,d;if(t){for(p=t.offset,d=p+t.length,a=p;a>0&&!DS(e,a-1);)a--;for(var h=d;h<e.length&&!DS(e,h);)h++;s=e.substring(a,h),n=F3(s,r)}else s=e,n=0,a=0,p=0,d=e.length;var g=M3(r,e),y=!1,C=0,M;r.insertSpaces?M=Ay(" ",r.tabSize||4):M=" ";var I=Hm(s,!1),B=!1;function z(){return g+Ay(M,n+C)}function W(){var Ce=I.scan();for(y=!1;Ce===15||Ce===14;)y=y||Ce===14,Ce=I.scan();return B=Ce===16||I.getTokenError()!==0,Ce}var G=[];function te(Ce,Me,Qe){!B&&Me<d&&Qe>p&&e.substring(Me,Qe)!==Ce&&G.push({offset:Me,length:Qe-Me,content:Ce})}var le=W();if(le!==17){var ye=I.getTokenOffset()+a,he=Ay(M,n);te(he,a,ye)}for(;le!==17;){for(var Ee=I.getTokenOffset()+I.getTokenLength()+a,me=W(),ve="";!y&&(me===12||me===13);){var ce=I.getTokenOffset()+a;te(" ",Ee,ce),Ee=I.getTokenOffset()+I.getTokenLength()+a,ve=me===12?z():"",me=W()}if(me===2)le!==1&&(C--,ve=z());else if(me===4)le!==3&&(C--,ve=z());else{switch(le){case 3:case 1:C++,ve=z();break;case 5:case 12:ve=z();break;case 13:y?ve=z():ve=" ";break;case 6:ve=" ";break;case 10:if(me===6){ve="";break}case 7:case 8:case 9:case 11:case 2:case 4:me===12||me===13?ve=" ":me!==5&&me!==17&&(B=!0);break;case 16:B=!0;break}y&&(me===12||me===13)&&(ve=z())}var Se=I.getTokenOffset()+a;te(ve,Ee,Se),le=me}return G}function Ay(e,t){for(var r="",n=0;n<t;n++)r+=e;return r}function F3(e,t){for(var r=0,n=0,s=t.tabSize||4;r<e.length;){var a=e.charAt(r);if(a===" ")n++;else if(a===" ")n+=s;else break;r++}return Math.floor(n/s)}function M3(e,t){for(var r=0;r<t.length;r++){var n=t.charAt(r);if(n==="\r")return r+1<t.length&&t.charAt(r+1)===`
|
|
252
252
|
`?`\r
|
|
@@ -506,4 +506,4 @@ $3`);return t.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}}function hN(e){return e.i
|
|
|
506
506
|
`;function sO(e){const{scopes:t,id:r}=e;let n=[];try{n=JSON.parse((0,kt.YQ)(`auth.${r}.scopes`))}catch(s){}return!t||!t.length?R.createElement(R.Fragment,null):R.createElement(st.NI,null,R.createElement(st.lX,null," Scopes: "),R.createElement(j5,{field:`auth.${r}.scopes`,initialValue:n,items:t,showControls:!0,trimItemsLength:!0}))}const F5=({token:e,loading:t,error:r})=>t?R.createElement(st.GE,null,"Please, finish your authorization flow or cancel authorization."):r?R.createElement(v5,null,R.createElement(st.Xq,null,r)):e!=null&&e.access_token?null:R.createElement(st.GE,null," No Access Token. Please, Authorize. ");var M5=Object.defineProperty,L5=Object.defineProperties,D5=Object.getOwnPropertyDescriptors,oO=Object.getOwnPropertySymbols,N5=Object.prototype.hasOwnProperty,B5=Object.prototype.propertyIsEnumerable,aO=(e,t,r)=>t in e?M5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,nv=(e,t)=>{for(var r in t||(t={}))N5.call(t,r)&&aO(e,r,t[r]);if(oO)for(var r of oO(t))B5.call(t,r)&&aO(e,r,t[r]);return e},Wy=(e,t)=>L5(e,D5(t)),$5=(e,t,r)=>new Promise((n,s)=>{var a=h=>{try{d(r.next(h))}catch(g){s(g)}},p=h=>{try{d(r.throw(h))}catch(g){s(g)}},d=h=>h.done?n(h.value):Promise.resolve(h.value).then(a,p);d((r=r.apply(e,t)).next())});function U5(e){if(!e)return"Field is required"}const iv=({usePkce:e,form:t,id:r,formApi:n,flow:s,tokenUrl:a,authCorsProxyUrl:p,tokenEndpointAuthMethod:d,server:h,scopes:g,authorizationUrl:y,defaultValues:C,clientId:M})=>{var I,B,z,W;const{oAuth2RedirectURI:G,routingBasePath:te}=(0,Fo.useRecoilValue)(Hu.lk),[le,ye]=(0,R.useState)(null),[he,Ee]=(0,R.useState)(!1),[me,ve]=(0,R.useState)(!1),[ce,Se]=(0,R.useState)(void 0),[Ce,Me]=(0,R.useState)(void 0),[Qe,wt]=(0,R.useState)(void 0),ft=((B=(I=t.values)==null?void 0:I.auth)==null?void 0:B[r])||{},Ar=((W=(z=t.errors)==null?void 0:z.auth)==null?void 0:W[r])||{},Qr=ce!==void 0&&Ce!==Qe?{label:"sync",onClick:()=>{ce&&Me(Qe)}}:void 0;(0,R.useEffect)(()=>{if(e){const rr=(0,_l.CY)(43);vS(rr).then(Bt=>{Se(rr),Me(Bt),wt(Bt)})}},[e]);const Ir=rr=>{if(!rr||(n.validate(),!(0,_l.Qr)(Ar)))return;Ee(!0),ye(null);const Bt=p?p+(0,Wt.jg)(rr):rr,Un=p&&a?p+(0,Wt.jg)(a):a,ro=n.getValue(`auth.${r}.scopes`),Pi={authorizationUrl:Bt.startsWith("http")?Bt:h+Bt,clientId:ft.client_id,scopes:ro,redirectUri:G,routingBasePath:te,successCallback:Sn=>{n.setValue(`auth.${r}.token`,Sn),Ee(!1),ye(null)},errorCallback:Sn=>{Ee(!1),ye((Sn==null?void 0:Sn.message)||"Failed to retrieve the access token")}};if(s==="implicit"&&Cs.authorizeImplicit(Pi),!(0,Wt.xl)(d)){console.log(`Unsupported token endpoint auth method: ${d}`);return}s==="authorizationCode"&&Cs.authorizeAuthorizationCode(nv(Wy(nv({},Pi),{tokenUrl:Un!=null&&Un.startsWith("http")?Un:h+Un,clientSecret:ft.client_secret,extraHeaders:(0,Wt.Or)({authMethod:d,clientId:ft.client_id,clientSecret:ft.client_secret})}),e&&{codeVerifier:ce,codeChallenge:Ce}))},Zr=()=>{Ht(),ye(null)},Pr=()=>{Ee(!1),ye(null),Cs.clearRedirectData(s)},Ht=()=>{n.setValue(`auth.${r}.token`,"")},yr=()=>{ve(rr=>!rr)},ar=rr=>$5(void 0,[rr],function*({target:{value:Bt}}){const Un=yield vS(Bt);Se(Bt),wt(Un)});if(!y)return R.createElement(st.Xq,null,"No flow info");let Ze=(0,kt.YQ)(`auth.${r}.token`)||JSON.stringify(C==null?void 0:C.token);Ze=Ze?JSON.parse(Ze):"";const dt=(0,kt.Al)(r,"client_id"),Ut={field:`auth.${r}.client_id`,fullWidth:!0,initialValue:(0,kt.YQ)(`auth.${r}.client_id`)||M||(C==null?void 0:C.client_id),initValue:(0,kt.YQ)(`auth.${r}.client_id`)||M||(C==null?void 0:C.client_id),placeholder:"Your OAuth2 app Client ID",validate:U5,validateOnBlur:!0,validateOnChange:!0};return R.createElement("div",null,R.createElement(st.n5,null,R.createElement(st.NI,null,R.createElement(st.lX,null," Client ID: "),dt?R.createElement(qf,Wy(nv({},Ut),{options:dt})):R.createElement(ci,Wy(nv({},Ut),{"data-cy":"client-id-input",panel:"try-it"}))),s==="authorizationCode"&&R.createElement(R.Fragment,null,(!(e!=null&&e.hideClientSecretInput)||!e)&&R.createElement(st.NI,null,R.createElement(st.lX,null,"Client Secret:"),R.createElement(ci,{type:"password",fullWidth:!0,field:`auth.${r}.client_secret`,initialValue:(0,kt.YQ)(`auth.${r}.client_secret`)||(C==null?void 0:C.client_secret),validateOnBlur:!0,validateOnChange:!0,panel:"try-it","data-cy":"client-secret-input"})),e&&!e.disableManualConfiguration&&R.createElement(y5,null,R.createElement(iO,{id:"pkce-opitons-toggle",label:"Configure PKCE manually",checked:me,onChange:yr,"data-cy":"pkce-options-toggle"}),me&&R.createElement(b5,null,R.createElement(st.NI,null,R.createElement(st.lX,null,"Code Verifier"),R.createElement(Zf,{fullWidth:!0,value:ce,onChange:ar,panel:"try-it","data-cy":"code-verifier-input"})),R.createElement(st.NI,null,R.createElement(st.lX,null,"Code Challenge"),R.createElement(Zf,{fullWidth:!0,value:Ce,onChange:({target:{value:rr}})=>{Me(rr)},inputActionButton:Qr,panel:"try-it","data-cy":"code-challenge-input"}))))),R.createElement(ci,{fullWidth:!0,field:`auth.${r}.token`,type:"hidden",initialValue:Ze,panel:"try-it"}),R.createElement(sO,{id:r,scopes:g}),ft.token&&ft.token.access_token?R.createElement(st.NI,null,R.createElement(st.lX,null," Access Token: "),R.createElement(Zf,{disabled:!0,type:"password",fullWidth:!0,value:ft.token.access_token,panel:"try-it"})):null),R.createElement(g5,null,ft.token&&ft.token.access_token?R.createElement(Mr.Button,{fullWidth:!0,onClick:Zr},"Log out"):he?R.createElement(R.Fragment,null,R.createElement(Mr.Button,{fullWidth:!0,onClick:Pr},"Cancel"),R.createElement(tO,null)):R.createElement(Mr.Button,{fullWidth:!0,color:"secondary",disabled:!(0,_l.Qr)(Ar),onClick:()=>{Ir(y)}},"Authorize")),he||le||!ft.token||!ft.token.access_token&&R.createElement(F5,{loading:he,error:le,token:ft.token}))};var W5=(e,t,r)=>new Promise((n,s)=>{var a=h=>{try{d(r.next(h))}catch(g){s(g)}},p=h=>{try{d(r.throw(h))}catch(g){s(g)}},d=h=>h.done?n(h.value):Promise.resolve(h.value).then(a,p);d((r=r.apply(e,t)).next())});function H5(e){var t,r;const{scheme:n,defaultValues:s}=e,[a,p]=(0,R.useState)({}),[d,h]=(0,R.useState)(),[g,y]=(0,R.useState)(!1);(0,R.useEffect)(()=>{C(n.openIdConnectUrl)},[n.openIdConnectUrl]);const C=M=>W5(this,null,function*(){y(!0),h("");try{const I=yield h5(M);p(I)}catch(I){h(I.message)}y(!1)});return g?R.createElement(z5,null):d?R.createElement(lO,{message:d}):R.createElement("div",null,R.createElement("div",null,(t=a==null?void 0:a.response_types_supported)!=null&&t.includes("token")?R.createElement(R.Fragment,null,R.createElement(li.S6,null,"OAuth2 Implicit Flow"),R.createElement(iv,{key:e.id,authorizationUrl:a.authorization_endpoint,authCorsProxyUrl:e.authCorsProxyUrl,scopes:a.scopes_supported,server:e.server,id:e.id,form:e.form,formApi:e.formApi,clientId:e.clientId,flow:"implicit",defaultValues:s})):(r=a==null?void 0:a.response_types_supported)!=null&&r.includes("code")?R.createElement(R.Fragment,null,R.createElement(li.S6,null,"OAuth2 Authorization Flow"),R.createElement(iv,{key:e.id,authorizationUrl:a.authorization_endpoint,tokenUrl:a.token_endpoint,authCorsProxyUrl:e.authCorsProxyUrl,scopes:a.scopes_supported,server:e.server,id:e.id,form:e.form,formApi:e.formApi,clientId:e.clientId,tokenEndpointAuthMethod:a==null?void 0:a.token_endpoint_auth_methods_supported,flow:"authorizationCode",defaultValues:s})):R.createElement("div",null,"Unsupported flow")))}function z5(){return R.createElement("div",null,R.createElement("div",null,R.createElement("div",null,"Fetching OpenID Connect metadata..."),R.createElement(tO,null)))}function lO({message:e}){return R.createElement("div",null,R.createElement("div",null,R.createElement(st.Xq,null,e)))}var G5=Object.defineProperty,K5=Object.defineProperties,J5=Object.getOwnPropertyDescriptors,uO=Object.getOwnPropertySymbols,Y5=Object.prototype.hasOwnProperty,X5=Object.prototype.propertyIsEnumerable,cO=(e,t,r)=>t in e?G5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,fO=(e,t)=>{for(var r in t||(t={}))Y5.call(t,r)&&cO(e,r,t[r]);if(uO)for(var r of uO(t))X5.call(t,r)&&cO(e,r,t[r]);return e},pO=(e,t)=>K5(e,J5(t)),Q5=(e,t,r)=>new Promise((n,s)=>{var a=h=>{try{d(r.next(h))}catch(g){s(g)}},p=h=>{try{d(r.throw(h))}catch(g){s(g)}},d=h=>h.done?n(h.value):Promise.resolve(h.value).then(a,p);d((r=r.apply(e,t)).next())});function Z5(e){if(!e)return"Token is required"}const q5=({form:e,id:t,formApi:r,server:n,flow:s,authCorsProxyUrl:a,defaultValues:p,clientId:d})=>{var h,g,y,C;const[M,I]=(0,R.useState)(""),[B,z]=(0,R.useState)(!1),[W,G]=(0,R.useState)(!0),te=((g=(h=e==null?void 0:e.values)==null?void 0:h.auth)==null?void 0:g[t])||{},le=((C=(y=e.errors)==null?void 0:y.auth)==null?void 0:C[t])||{},ye=()=>{r.setValue(`auth.${t}.token`,""),(0,kt.WW)(`auth.${t}.token`,"")},he=()=>{G(Ce=>!Ce)},Ee=()=>Q5(void 0,null,function*(){if(B)return;const Ce=a&&s.tokenUrl?a+(0,Wt.jg)(s.tokenUrl):s.tokenUrl;if(le.client_id||le.client_secret){console.log("Provide client_id and client_secret");return}const Me=te.client_id,Qe=te.client_secret;if(!Me||!Qe){console.log("Provide client_id and client_secret");return}z(!0);const wt=s["x-tokenEndpointAuthMethod"];if(!(0,Wt.xl)(wt)){console.log(`Unsupported token endpoint auth method: ${wt}`);return}yield Cs.authorizeClientCredentials({tokenUrl:Ce.startsWith("http")?Ce:n+Ce,clientId:Me,clientSecret:Qe,scopes:te.scopes,extraHeaders:(0,Wt.Or)({authMethod:wt,clientId:Me,clientSecret:Qe}),successCallback:ft=>{r.setValue(`auth.${t}.token`,ft),z(!1)},errorCallback:ft=>{ye(),I(ft.message),z(!1)}})}),me=Object.keys(s.scopes);let ve=(0,kt.YQ)(`auth.${t}.token`)||JSON.stringify(p==null?void 0:p.token);ve=ve?JSON.parse(ve):"";const ce=(0,kt.Al)(t,"client_id"),Se={field:`auth.${t}.client_id`,fullWidth:!0,initialValue:(0,kt.YQ)(`auth.${t}.client_id`)||d||(p==null?void 0:p.client_id),initValue:(0,kt.YQ)(`auth.${t}.client_id`)||d||(p==null?void 0:p.client_id),placeholder:"Your OAuth2 app Client ID"};return R.createElement(R.Fragment,null,R.createElement(st.n5,null,R.createElement(st.NI,null,R.createElement(st.lX,null,"Client ID:"),ce?R.createElement(qf,pO(fO({},Se),{options:ce})):R.createElement(ci,pO(fO({},Se),{type:"password",panel:"try-it"}))),R.createElement(st.NI,null,R.createElement(st.lX,null,"Client Secret:"),R.createElement(ci,{type:"password",fullWidth:!0,field:`auth.${t}.client_secret`,initialValue:(0,kt.YQ)(`auth.${t}.client_secret`)||(p==null?void 0:p.client_secret),panel:"try-it"})),R.createElement(ci,{fullWidth:!0,field:`auth.${t}.token`,type:"hidden",initialValue:ve,validate:Z5}),R.createElement(sO,{id:t,scopes:me})),R.createElement(Mr.Button,{color:"primary",onClick:Ee,blinking:B},B?"Loading...":"Request Token"),R.createElement(st.ph,null," Access Token "),M?R.createElement(st.Xq,{style:{marginBottom:"1em"}},"Failed to request token: ",R.createElement("pre",null,M)," "):te.token&&te.token.access_token?R.createElement(st.TR,null,R.createElement(st.WA,{length:te.token.access_token.length,masked:W},te.token.access_token),R.createElement(st.lf,{onClick:he},W?"Show":"Hide"," "),R.createElement(st.h,{onClick:ye}," Clear ")):R.createElement(st.Xq,{style:{marginBottom:"1em"}},"No token"))};var e9=Object.defineProperty,t9=Object.defineProperties,r9=Object.getOwnPropertyDescriptors,dO=Object.getOwnPropertySymbols,n9=Object.prototype.hasOwnProperty,i9=Object.prototype.propertyIsEnumerable,hO=(e,t,r)=>t in e?e9(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,qu=(e,t)=>{for(var r in t||(t={}))n9.call(t,r)&&hO(e,r,t[r]);if(dO)for(var r of dO(t))i9.call(t,r)&&hO(e,r,t[r]);return e},ec=(e,t)=>t9(e,r9(t));const s9=({securityDefaults:e,operation:t,activeServer:r,authCorsProxyUrl:n,form:s,formApi:a})=>{var p,d;const[h,g]=(0,R.useState)(0),{parser:y}=(0,Fo.useRecoilValue)(Hu.cS);(0,R.useEffect)(()=>{const G=t.security.map(ye=>ye.schemes.map(he=>he.id).join(" and ")),te=(0,kt.YQ)("securityRequirementName"),le=G.findIndex(ye=>ye===te);g(le<0?0:le)},[t]);const C=G=>{g(G.idx),(0,kt.WW)("securityRequirementName",G.value)},M=t.security,B=M.map(G=>G.schemes.map(te=>te.id).join(" and ")).filter(Boolean).map((G,te)=>({value:G,idx:te}));if(B.length===0)return R.createElement(lO,{message:"Cannot find security schema in the definition"});const z=M[h],W=(0,kt.A8)(z.schemes[0].id);return R.createElement(R.Fragment,null,R.createElement(st.n5,null,B.length>1&&R.createElement(st.NI,null,R.createElement(st.lX,null," Security scheme: "),R.createElement(li.VD,{variant:"dark",fullWidth:!0,options:B,value:B[h].value,onChange:C}))||null,R.createElement(Mr.TryItSecurityApps,{apiId:(d=(p=y==null?void 0:y.definition.info)==null?void 0:p["x-metadata"])==null?void 0:d.apiId,value:a.getValue(`auth.${W}`),onChange:G=>{a.setValue(`auth.${W}`,G)}}),M[h].schemes.map(G=>{var te,le,ye,he,Ee,me,ve;const ce=(0,kt.A8)(G.id);if(G.type==="apiKey"){const Se=(0,kt.Al)(ce,""),Ce={field:`auth.${ce}`,fullWidth:!0,initialValue:(0,Wt.NG)(G)||(0,kt.YQ)(`auth.${ce}`)||(e==null?void 0:e[ce]),initValue:(0,Wt.NG)(G)||(0,kt.YQ)(`auth.${ce}`)||(e==null?void 0:e[ce]),validate:Wt.np,validateOnBlur:!0,validateOnChange:!0};return R.createElement(st.NI,{key:ce},R.createElement(st.lX,null," ",G.name,": "),Se?R.createElement(qf,ec(qu({},Ce),{options:Se})):R.createElement(ci,ec(qu({},Ce),{type:"password",panel:"try-it","data-cy":"apiKey-auth-password"})))}else if(G.type==="http"){if(G.scheme==="basic"){const Se=(0,kt.Al)(ce,"username"),Ce={field:`auth.${ce}.username`,fullWidth:!0,initialValue:(0,kt.YQ)(`auth.${ce}.username`)||((te=e==null?void 0:e[ce])==null?void 0:te.username),initValue:(0,kt.YQ)(`auth.${ce}.username`)||((le=e==null?void 0:e[ce])==null?void 0:le.username),validate:Wt.np,validateOnBlur:!0,validateOnChange:!0};return R.createElement(R.Fragment,{key:ce},R.createElement(st.NI,null,R.createElement(st.lX,null," ",(0,Qf.l)("tryItAuthBasicUsername"),": "),Se?R.createElement(qf,ec(qu({},Ce),{options:Se})):R.createElement(ci,ec(qu({},Ce),{panel:"try-it"}))),R.createElement(st.NI,null,R.createElement(st.lX,null," ",(0,Qf.l)("tryItAuthBasicPassword"),": "),R.createElement(ci,{type:"password","data-cy":"http-auth-password",fullWidth:!0,field:`auth.${ce}.password`,initialValue:(0,kt.YQ)(`auth.${ce}.password`)||((ye=e==null?void 0:e[ce])==null?void 0:ye.password)||"",validateOnBlur:!0,validateOnChange:!0,panel:"try-it"})))}else if(G.scheme==="bearer"){const Se=(0,kt.Al)(ce,""),Ce={field:`auth.${ce}`,fullWidth:!0,initialValue:(0,kt.YQ)(`auth.${ce}`)||(e==null?void 0:e[ce]),initValue:(0,kt.YQ)(`auth.${ce}`)||(e==null?void 0:e[ce]),validate:Wt.np,validateOnBlur:!0,validateOnChange:!0};return R.createElement(R.Fragment,{key:ce},R.createElement(st.NI,null,R.createElement(st.lX,null," Bearer Token: "),Se?R.createElement(qf,ec(qu({},Ce),{options:Se})):R.createElement(ci,ec(qu({},Ce),{type:"password",placeholder:"(without 'Bearer')",panel:"try-it"}))))}}else{if(G.type==="oauth2"&&G.flows&&G.flows.clientCredentials)return R.createElement(q5,{key:ce,flow:G.flows.clientCredentials,server:r,authCorsProxyUrl:n,id:ce,form:s,formApi:a,clientId:G.flows.clientCredentials["x-defaultClientId"]||G["x-defaultClientId"],defaultValues:e==null?void 0:e[ce]});if(G.type==="oauth2"&&G.flows&&G.flows.implicit)return R.createElement(iv,{key:ce,authorizationUrl:G.flows.implicit.authorizationUrl,authCorsProxyUrl:n,scopes:Object.keys(((Ee=(he=G==null?void 0:G.flows)==null?void 0:he.implicit)==null?void 0:Ee.scopes)||{}),server:r,id:ce,form:s,formApi:a,clientId:G.flows.implicit["x-defaultClientId"]||G["x-defaultClientId"],flow:"implicit",defaultValues:e==null?void 0:e[ce]});if(G.type==="oauth2"&&G.flows&&G.flows.authorizationCode)return R.createElement(iv,{key:ce,authorizationUrl:G.flows.authorizationCode.authorizationUrl,tokenUrl:G.flows.authorizationCode.tokenUrl,authCorsProxyUrl:n,scopes:Object.keys(((me=G.flows.authorizationCode)==null?void 0:me.scopes)||{}),server:r,id:ce,form:s,formApi:a,clientId:G.flows.authorizationCode["x-defaultClientId"]||G["x-defaultClientId"],flow:"authorizationCode",tokenEndpointAuthMethod:G.flows.authorizationCode["x-tokenEndpointAuthMethod"],usePkce:G.flows.authorizationCode["x-usePkce"],defaultValues:e==null?void 0:e[ce]});if(G.type==="oauth2"){let Se=(0,kt.YQ)(`auth.${ce}.token`)||JSON.stringify((ve=e==null?void 0:e[ce])==null?void 0:ve.token);return Se=Se?JSON.parse(Se):{},R.createElement(R.Fragment,{key:ce},R.createElement(st.NI,null,R.createElement(st.lX,null," Access Token Type: "),R.createElement(ci,{fullWidth:!0,field:`auth.${ce}.token.token_type`,initialValue:Se.token_type||"Bearer",panel:"try-it"})),R.createElement(st.NI,null,R.createElement(st.lX,null," Access Token: "),R.createElement(ci,{type:"password",fullWidth:!0,field:`auth.${ce}.token.access_token`,validate:Wt.np,initialValue:Se.access_token,validateOnBlur:!0,validateOnChange:!0,panel:"try-it"})))}else if(G.type==="openIdConnect")return R.createElement(H5,{key:ce,server:r,authCorsProxyUrl:n,id:ce,form:s,formApi:a,scheme:G,clientId:G["x-defaultClientId"],defaultValues:e==null?void 0:e[ce]})}})),R.createElement("small",null,R.createElement("strong",null,"Note"),": Your credentials will be saved until the end of the browser session"))};var o9=Object.defineProperty,mO=Object.getOwnPropertySymbols,a9=Object.prototype.hasOwnProperty,l9=Object.prototype.propertyIsEnumerable,vO=(e,t,r)=>t in e?o9(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u9=(e,t)=>{for(var r in t||(t={}))a9.call(t,r)&&vO(e,r,t[r]);if(mO)for(var r of mO(t))l9.call(t,r)&&vO(e,r,t[r]);return e};function c9({operation:e,properties:t,securityDefaults:r,form:n,resolvedRawSpec:s,server:a,formApi:p,setFormApi:d,handleChange:h,handleServerChange:g}){const y=n.errors||{},C=y.path||y.cookie||y.header||y.query,{hooks:M,authCorsProxyUrl:I}=(0,Fo.useRecoilValue)(Hu.lk),B=s&&kt.IB.get(s,e.pointer);let z=n.values&&n.values.auth&&Object.keys(n.values.auth)[0];(!z||!n.values.auth[z])&&(z=void 0),z&&(n.values.auth[z].token!==void 0||n.values.auth[z].client_id!==void 0||n.values.auth[z].client_secret!==void 0)&&(!n.values.auth[z].token||!n.values.auth[z].token.access_token)&&(z=void 0),z&&n.values.auth[z].username!=null&&(!n.values.auth[z].username||!n.values.auth[z].password)&&(z=void 0);const W=e.parameters||[];return!s&&R.createElement(R.Fragment,null,"Loading...")||R.createElement(ID,{onChange:h,getApi:d,style:{flex:1,display:"flex",flexDirection:"column",margin:0}},R.createElement(d3,{operation:e,onChange:g}),R.createElement(Pm.UQ,{initialActiveIdx:e.security.length&&z?1:0},e.security.length&&p&&R.createElement(Sy,{header:(0,Qf.l)("tryItAuth"),"data-cy":"security-trigger",error:!z&&!!y.auth,success:!!z,renderChildrenHidden:!0},M!=null&&M.ReplaceTryItSecurityPanel?R.createElement(f9,{field:"auth",validate:Wt.np},G=>R.createElement(t5.Q,{Hook:M==null?void 0:M.ReplaceTryItSecurityPanel,props:{server:a,operation:e,onChange:G,OAuth2:Cs}})):R.createElement(s9,{formApi:p,form:n,operation:e,activeServer:a.url,authCorsProxyUrl:I,securityDefaults:r}))||null,e.requestBody&&p&&R.createElement(Sy,{header:(0,Qf.l)("tryItBody"),"data-cy":"body-trigger",error:!!y.body,renderChildrenHidden:!0},R.createElement(e5,{validate:p9,formApi:p,body:e.requestBody,pointer:e.pointer,id:e.id,resolvedBody:B==null?void 0:B.requestBody,properties:t}))||null,W.length&&R.createElement(Sy,{header:(0,Qf.l)("tryItParameters"),"data-cy":"parameters-trigger",error:C,renderChildrenHidden:!0},R.createElement(p5,{operation:e,values:n.values,errors:n.errors||{}}))||null))}function f9(e){const{fieldApi:t,render:r,userProps:n}=Yf(u9({},e)),{setValue:s}=t,{children:a}=n;return r(R.createElement(R.Fragment,null,a(s)))}function p9(){}const d9=(0,R.memo)(c9);function h9({shaking:e,className:t,children:r,rootElement:n}){const[s]=(0,Uy.Bs)(n),a=(0,Fo.useRecoilValue)(Hu.lk);return R.createElement(li.q2,{scrollYOffset:a.scrollYOffset,shaking:e,className:t,"data-cy":"console",fullWidth:s==null?void 0:s.width},r)}const m9=(0,R.memo)(h9);var v9=Object.defineProperty,g9=Object.defineProperties,y9=Object.getOwnPropertyDescriptors,sv=Object.getOwnPropertySymbols,gO=Object.prototype.hasOwnProperty,yO=Object.prototype.propertyIsEnumerable,bO=(e,t,r)=>t in e?v9(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,nn=(e,t)=>{for(var r in t||(t={}))gO.call(t,r)&&bO(e,r,t[r]);if(sv)for(var r of sv(t))yO.call(t,r)&&bO(e,r,t[r]);return e},qn=(e,t)=>g9(e,y9(t)),xO=(e,t)=>{var r={};for(var n in e)gO.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&sv)for(var n of sv(e))t.indexOf(n)<0&&yO.call(e,n)&&(r[n]=e[n]);return r},SO=(e,t,r)=>new Promise((n,s)=>{var a=h=>{try{d(r.next(h))}catch(g){s(g)}},p=h=>{try{d(r.throw(h))}catch(g){s(g)}},d=h=>h.done?n(h.value):Promise.resolve(h.value).then(a,p);d((r=r.apply(e,t)).next())});function wO(e){return e.startsWith("//")?"https:"+e:e}function b9({operation:e,onResponse:t,className:r,rootElement:n,properties:s,securityDefaults:a,onClose:p}){let d=(0,R.useRef)();const[h,g]=(0,Fo.useRecoilState)((0,Oy.N)(e.pointer)),[y,C]=(0,R.useState)(h.activeServer||e.activeServer),[M,I]=(0,R.useState)(0),[B,z]=(0,R.useState)(!1),[W,G]=(0,R.useState)(!1),[te,le]=(0,R.useState)({values:{path:(0,Wt.ZS)(e.parameters,"path"),cookie:(0,Wt.ZS)(e.parameters,"cookie"),header:(0,Wt.ZS)(e.parameters,"header"),query:(0,Wt.ZS)(e.parameters,"query")}}),[ye,he]=(0,R.useState)(),[Ee,me]=(0,R.useState)(),[ve,ce]=(0,R.useState)(),[Se,Ce]=(0,R.useState)(),Me=(0,Uy.D9)(e),{parser:Qe,options:wt}=(0,Fo.useRecoilValue)(Hu.cS),ft=(0,R.useCallback)((Ht,yr=Ht.getState())=>{var ar=yr,{values:Ze}=ar,dt=xO(ar,["values"]);d.current=Ht,setTimeout(()=>{le(qn(nn({},dt),{values:qn(nn({},Ze),{query:(0,Wt.FU)(Ze.query||{})})}))},0)},[]),Ar=(0,R.useCallback)(Ht=>{var yr=Ht,{values:ar}=yr,Ze=xO(yr,["values"]);const dt=qn(nn({},Ze),{values:qn(nn({},ar),{query:(0,Wt.FU)(ar.query||{})})});g(Ut=>qn(nn({},Ut),{requestValues:JSON.parse(JSON.stringify(ar))})),le(dt),(0,Wt.Hc)(dt)},[g]),Qr=(0,R.useCallback)(Ht=>{I(Ht)},[]),Ir=(0,R.useCallback)(Ht=>{C(Ht),g(yr=>qn(nn({},yr),{activeServer:Ht}))},[g]),Zr=(0,R.useCallback)(()=>SO(this,null,function*(){var Ht,yr,ar,Ze,dt,Ut,rr,Bt,Un,ro,Pi,Sn,Va,jl,di,Bo,ov;const{values:Ps,invalid:tc}=((Ht=d==null?void 0:d.current)==null?void 0:Ht.getState())||te||{};if((yr=d.current)==null||yr.submitForm(),tc){G(!0),setTimeout(()=>G(!1),1e3),(Ze=(ar=wt.events)==null?void 0:ar.tryItSent)==null||Ze.call(ar,{eventType:jx.nQ.TryItSent,resource:"Redocly_OperationTryIt",action:"ValidationFailed",operationId:e.operationId,operationPath:e.path,operationHttpVerb:e.httpVerb,operationSummary:e.description});return}const{servers:no,requestBody:$o}=e,Hy=$o&&$o.content&&((dt=(0,Zs.getActiveMediaType)($o.content))==null?void 0:dt.name)||"";let io=Ps.body;if(/json/.test(Hy))try{io=JSON.parse(io)}catch(Jt){console.error(Jt)}z(!0);const wn=ye,rc=(e.httpVerb||"").toLowerCase();if(!no)throw console.error("Servers are not specified in your OpenAPI file. You can't use Try It Out console without specifying servers. If you use OpenAPI 2, make sure you configured host and basepath"),new Error("Servers are not specified");const fp=no.find(Jt=>y.url.endsWith(Jt.url.endsWith("/")?Jt.url.substring(0,Jt.url.length-1):Jt.url)),zy=Date.now();let Ti,Uo=Ps.auth;if(Ps.auth){const Jt=Object.keys(Ps.auth)[0],Vi=(0,lL.dw)(Jt);Ti=qn(nn({},wn),{components:qn(nn({},wn==null?void 0:wn.components),{securitySchemes:qn(nn({},(Ut=wn==null?void 0:wn.components)==null?void 0:Ut.securitySchemes),{[Vi]:qn(nn({},(Bt=(rr=wn==null?void 0:wn.components)==null?void 0:rr.securitySchemes)==null?void 0:Bt[Vi]),{type:((Pi=(ro=(Un=wn==null?void 0:wn.components)==null?void 0:Un.securitySchemes)==null?void 0:ro[Vi])==null?void 0:Pi.type)==="openIdConnect"?"oauth2":((Va=(Sn=wn==null?void 0:wn.components)==null?void 0:Sn.securitySchemes)==null?void 0:Va[Vi]).type})})})}),Uo=qn(nn({},Uo),{[Vi]:Uo[Jt]})}else Ti=nn({},wn);Ti.servers=no;const Il=wt.corsProxyUrl;Il&&no.length&&(Ti.servers=no.map(Jt=>qn(nn({},Jt),{url:Il+wO(Jt.url)})),Ti.paths=qn(nn({},Ti.paths),{[e.path]:qn(nn({},Ti.paths[e.path]),{[rc]:qn(nn({},Ti.paths[e.path][rc]),{servers:void 0}),servers:void 0})}));const pp=($o==null?void 0:$o.content)&&((jl=(0,Zs.getActiveMediaType)($o.content))==null?void 0:jl.name)||null;if(pp&&io&&Tm(pp)){const Jt=Object.values(io);io=Jt.length>1?Jt:Jt[0]}const dp={server:Il?Il+wO(fp.url):fp.url,serverVariables:(0,Wt.mj)(fp),spec:Ti,pathName:e.path,method:e.httpVerb,parameters:nn(nn(nn(nn({},Ps.path),Ps.query),Ps.header),Ps.cookie),securities:{authorized:Uo},requestBody:io,requestContentType:pp,responseContentType:((di=Ps.header)==null?void 0:di.Accept)||null,requestInterceptor:(0,Wt.Tz)(wt,e,Uo==null?void 0:Uo.Authorization)};try{const Jt=yield Y2.execute(dp),Vi=Jt==null?void 0:Jt.data;Vi instanceof Blob&&(Tm(Vi.type)&&(Jt.fileInfo={rawData:Vi,fileName:(0,Wt.AM)(Jt.headers)}),Jt.data=yield Vi.text()),t==null||t({request:dp,response:Jt}),Ce(Jt),ce(void 0)}catch(Jt){Jt&&Jt.response&&Jt.response.data instanceof Blob&&(Jt.response.data=yield Jt.response.data.text(),t==null||t({request:dp,response:Jt.response})),Ce(void 0),ce(Jt)}finally{z(!1),I(1),me(Date.now()-zy),(ov=(Bo=wt.events)==null?void 0:Bo.tryItSent)==null||ov.call(Bo,{eventType:jx.nQ.TryItSent,resource:"Redocly_OperationTryIt",action:"Sent",operationId:e.operationId,operationPath:e.path,operationHttpVerb:e.httpVerb,operationSummary:e.description})}}),[y.url,te,t,e,wt,ye]);(0,Mr.useMount)(()=>SO(this,null,function*(){var Ht;const yr=yield aL(e,Qe.definition);he(yr),(Ht=d.current)==null||Ht.setValues({})})),(0,R.useEffect)(()=>{Me&&Me!==e&&(Ce(void 0),ce(void 0),I(0))},[e,Me]);const Pr=!!(Se||ve);return R.createElement(m9,{shaking:W,className:r,rootElement:n},R.createElement(Pm.Hc,null,R.createElement(SL,{active:M,hasResponse:Pr,onChange:Qr}),p&&R.createElement(li.PZ,{onClick:p}," \u2715 ")),R.createElement(li.RE,{hidden:M!==0,"data-cy":"console-request-body"},R.createElement(d9,{operation:e,properties:s,securityDefaults:a,form:te,resolvedRawSpec:ye,server:y,formApi:d.current,setFormApi:ft,handleChange:Ar,handleServerChange:Ir})),R.createElement(li.RE,{hidden:M!==1,"data-cy":"console-response-body"},R.createElement(bL,{response:Se,error:ve,time:Ee})),R.createElement(AL,{hasResponse:Pr,params:te.values,operation:e,loading:B,execute:Zr}))}const x9=(0,R.memo)(b9)},94466:(x,k,c)=>{var m=c(65234),w=c(84100),b=m(w,"DataView");x.exports=b},85208:(x,k,c)=>{var m=c(34440),w=c(84108),b=c(61085),_=c(77706),A=c(8636);function O(j){var $=-1,K=j==null?0:j.length;for(this.clear();++$<K;){var ie=j[$];this.set(ie[0],ie[1])}}O.prototype.clear=m,O.prototype.delete=w,O.prototype.get=b,O.prototype.has=_,O.prototype.set=A,x.exports=O},81998:(x,k,c)=>{var m=c(90266),w=c(42875),b=c(45828),_=c(24115),A=c(67690);function O(j){var $=-1,K=j==null?0:j.length;for(this.clear();++$<K;){var ie=j[$];this.set(ie[0],ie[1])}}O.prototype.clear=m,O.prototype.delete=w,O.prototype.get=b,O.prototype.has=_,O.prototype.set=A,x.exports=O},72887:(x,k,c)=>{var m=c(65234),w=c(84100),b=m(w,"Map");x.exports=b},95678:(x,k,c)=>{var m=c(39016),w=c(62363),b=c(64348),_=c(53062),A=c(30262);function O(j){var $=-1,K=j==null?0:j.length;for(this.clear();++$<K;){var ie=j[$];this.set(ie[0],ie[1])}}O.prototype.clear=m,O.prototype.delete=w,O.prototype.get=b,O.prototype.has=_,O.prototype.set=A,x.exports=O},95747:(x,k,c)=>{var m=c(65234),w=c(84100),b=m(w,"Promise");x.exports=b},56616:(x,k,c)=>{var m=c(65234),w=c(84100),b=m(w,"Set");x.exports=b},84546:(x,k,c)=>{var m=c(95678),w=c(83937),b=c(15009);function _(A){var O=-1,j=A==null?0:A.length;for(this.__data__=new m;++O<j;)this.add(A[O])}_.prototype.add=_.prototype.push=w,_.prototype.has=b,x.exports=_},19549:(x,k,c)=>{var m=c(81998),w=c(93210),b=c(48603),_=c(38947),A=c(70885),O=c(98938);function j($){var K=this.__data__=new m($);this.size=K.size}j.prototype.clear=w,j.prototype.delete=b,j.prototype.get=_,j.prototype.has=A,j.prototype.set=O,x.exports=j},70861:(x,k,c)=>{var m=c(84100),w=m.Symbol;x.exports=w},3526:(x,k,c)=>{var m=c(84100),w=m.Uint8Array;x.exports=w},98001:(x,k,c)=>{var m=c(65234),w=c(84100),b=m(w,"WeakMap");x.exports=b},82493:x=>{function k(c,m){for(var w=-1,b=c==null?0:c.length,_=0,A=[];++w<b;){var O=c[w];m(O,w,c)&&(A[_++]=O)}return A}x.exports=k},75825:(x,k,c)=>{var m=c(18509),w=c(79312),b=c(55589),_=c(85778),A=c(5023),O=c(50922),j=Object.prototype,$=j.hasOwnProperty;function K(ie,ee){var ae=b(ie),q=!ae&&w(ie),V=!ae&&!q&&_(ie),J=!ae&&!q&&!V&&O(ie),L=ae||q||V||J,E=L?m(ie.length,String):[],N=E.length;for(var U in ie)(ee||$.call(ie,U))&&!(L&&(U=="length"||V&&(U=="offset"||U=="parent")||J&&(U=="buffer"||U=="byteLength"||U=="byteOffset")||A(U,N)))&&E.push(U);return E}x.exports=K},29233:x=>{function k(c,m){for(var w=-1,b=c==null?0:c.length,_=Array(b);++w<b;)_[w]=m(c[w],w,c);return _}x.exports=k},10111:x=>{function k(c,m){for(var w=-1,b=m.length,_=c.length;++w<b;)c[_+w]=m[w];return c}x.exports=k},1831:x=>{function k(c,m){for(var w=-1,b=c==null?0:c.length;++w<b;)if(m(c[w],w,c))return!0;return!1}x.exports=k},18498:(x,k,c)=>{var m=c(58260);function w(b,_){for(var A=b.length;A--;)if(m(b[A][0],_))return A;return-1}x.exports=w},40548:(x,k,c)=>{var m=c(24007),w=c(86040);function b(_,A){A=m(A,_);for(var O=0,j=A.length;_!=null&&O<j;)_=_[w(A[O++])];return O&&O==j?_:void 0}x.exports=b},4468:(x,k,c)=>{var m=c(10111),w=c(55589);function b(_,A,O){var j=A(_);return w(_)?j:m(j,O(_))}x.exports=b},69823:(x,k,c)=>{var m=c(70861),w=c(91339),b=c(25151),_="[object Null]",A="[object Undefined]",O=m?m.toStringTag:void 0;function j($){return $==null?$===void 0?A:_:O&&O in Object($)?w($):b($)}x.exports=j},33016:(x,k,c)=>{var m=c(69823),w=c(50440),b="[object Arguments]";function _(A){return w(A)&&m(A)==b}x.exports=_},34662:(x,k,c)=>{var m=c(88968),w=c(50440);function b(_,A,O,j,$){return _===A?!0:_==null||A==null||!w(_)&&!w(A)?_!==_&&A!==A:m(_,A,O,j,b,$)}x.exports=b},88968:(x,k,c)=>{var m=c(19549),w=c(14952),b=c(21080),_=c(86524),A=c(87493),O=c(55589),j=c(85778),$=c(50922),K=1,ie="[object Arguments]",ee="[object Array]",ae="[object Object]",q=Object.prototype,V=q.hasOwnProperty;function J(L,E,N,U,se,ne){var Y=O(L),X=O(E),Q=Y?ee:A(L),H=X?ee:A(E);Q=Q==ie?ae:Q,H=H==ie?ae:H;var de=Q==ae,Ae=H==ae,Z=Q==H;if(Z&&j(L)){if(!j(E))return!1;Y=!0,de=!1}if(Z&&!de)return ne||(ne=new m),Y||$(L)?w(L,E,N,U,se,ne):b(L,E,Q,N,U,se,ne);if(!(N&K)){var xe=de&&V.call(L,"__wrapped__"),ue=Ae&&V.call(E,"__wrapped__");if(xe||ue){var Ne=xe?L.value():L,He=ue?E.value():E;return ne||(ne=new m),se(Ne,He,N,U,ne)}}return Z?(ne||(ne=new m),_(L,E,N,U,se,ne)):!1}x.exports=J},99817:(x,k,c)=>{var m=c(45563),w=c(28597),b=c(93702),_=c(55784),A=/[\\^$.*+?()[\]{}|]/g,O=/^\[object .+?Constructor\]$/,j=Function.prototype,$=Object.prototype,K=j.toString,ie=$.hasOwnProperty,ee=RegExp("^"+K.call(ie).replace(A,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ae(q){if(!b(q)||w(q))return!1;var V=m(q)?ee:O;return V.test(_(q))}x.exports=ae},42448:(x,k,c)=>{var m=c(69823),w=c(66052),b=c(50440),_="[object Arguments]",A="[object Array]",O="[object Boolean]",j="[object Date]",$="[object Error]",K="[object Function]",ie="[object Map]",ee="[object Number]",ae="[object Object]",q="[object RegExp]",V="[object Set]",J="[object String]",L="[object WeakMap]",E="[object ArrayBuffer]",N="[object DataView]",U="[object Float32Array]",se="[object Float64Array]",ne="[object Int8Array]",Y="[object Int16Array]",X="[object Int32Array]",Q="[object Uint8Array]",H="[object Uint8ClampedArray]",de="[object Uint16Array]",Ae="[object Uint32Array]",Z={};Z[U]=Z[se]=Z[ne]=Z[Y]=Z[X]=Z[Q]=Z[H]=Z[de]=Z[Ae]=!0,Z[_]=Z[A]=Z[E]=Z[O]=Z[N]=Z[j]=Z[$]=Z[K]=Z[ie]=Z[ee]=Z[ae]=Z[q]=Z[V]=Z[J]=Z[L]=!1;function xe(ue){return b(ue)&&w(ue.length)&&!!Z[m(ue)]}x.exports=xe},41351:(x,k,c)=>{var m=c(32840),w=c(82825),b=Object.prototype,_=b.hasOwnProperty;function A(O){if(!m(O))return w(O);var j=[];for(var $ in Object(O))_.call(O,$)&&$!="constructor"&&j.push($);return j}x.exports=A},18509:x=>{function k(c,m){for(var w=-1,b=Array(c);++w<c;)b[w]=m(w);return b}x.exports=k},86245:(x,k,c)=>{var m=c(70861),w=c(29233),b=c(55589),_=c(52624),A=1/0,O=m?m.prototype:void 0,j=O?O.toString:void 0;function $(K){if(typeof K=="string")return K;if(b(K))return w(K,$)+"";if(_(K))return j?j.call(K):"";var ie=K+"";return ie=="0"&&1/K==-A?"-0":ie}x.exports=$},31525:x=>{function k(c){return function(m){return c(m)}}x.exports=k},77026:x=>{function k(c,m){return c.has(m)}x.exports=k},24007:(x,k,c)=>{var m=c(55589),w=c(5130),b=c(44041),_=c(99835);function A(O,j){return m(O)?O:w(O,j)?[O]:b(_(O))}x.exports=A},1622:(x,k,c)=>{var m=c(84100),w=m["__core-js_shared__"];x.exports=w},14952:(x,k,c)=>{var m=c(84546),w=c(1831),b=c(77026),_=1,A=2;function O(j,$,K,ie,ee,ae){var q=K&_,V=j.length,J=$.length;if(V!=J&&!(q&&J>V))return!1;var L=ae.get(j),E=ae.get($);if(L&&E)return L==$&&E==j;var N=-1,U=!0,se=K&A?new m:void 0;for(ae.set(j,$),ae.set($,j);++N<V;){var ne=j[N],Y=$[N];if(ie)var X=q?ie(Y,ne,N,$,j,ae):ie(ne,Y,N,j,$,ae);if(X!==void 0){if(X)continue;U=!1;break}if(se){if(!w($,function(Q,H){if(!b(se,H)&&(ne===Q||ee(ne,Q,K,ie,ae)))return se.push(H)})){U=!1;break}}else if(!(ne===Y||ee(ne,Y,K,ie,ae))){U=!1;break}}return ae.delete(j),ae.delete($),U}x.exports=O},21080:(x,k,c)=>{var m=c(70861),w=c(3526),b=c(58260),_=c(14952),A=c(81140),O=c(77969),j=1,$=2,K="[object Boolean]",ie="[object Date]",ee="[object Error]",ae="[object Map]",q="[object Number]",V="[object RegExp]",J="[object Set]",L="[object String]",E="[object Symbol]",N="[object ArrayBuffer]",U="[object DataView]",se=m?m.prototype:void 0,ne=se?se.valueOf:void 0;function Y(X,Q,H,de,Ae,Z,xe){switch(H){case U:if(X.byteLength!=Q.byteLength||X.byteOffset!=Q.byteOffset)return!1;X=X.buffer,Q=Q.buffer;case N:return!(X.byteLength!=Q.byteLength||!Z(new w(X),new w(Q)));case K:case ie:case q:return b(+X,+Q);case ee:return X.name==Q.name&&X.message==Q.message;case V:case L:return X==Q+"";case ae:var ue=A;case J:var Ne=de&j;if(ue||(ue=O),X.size!=Q.size&&!Ne)return!1;var He=xe.get(X);if(He)return He==Q;de|=$,xe.set(X,Q);var Re=_(ue(X),ue(Q),de,Ae,Z,xe);return xe.delete(X),Re;case E:if(ne)return ne.call(X)==ne.call(Q)}return!1}x.exports=Y},86524:(x,k,c)=>{var m=c(54357),w=1,b=Object.prototype,_=b.hasOwnProperty;function A(O,j,$,K,ie,ee){var ae=$&w,q=m(O),V=q.length,J=m(j),L=J.length;if(V!=L&&!ae)return!1;for(var E=V;E--;){var N=q[E];if(!(ae?N in j:_.call(j,N)))return!1}var U=ee.get(O),se=ee.get(j);if(U&&se)return U==j&&se==O;var ne=!0;ee.set(O,j),ee.set(j,O);for(var Y=ae;++E<V;){N=q[E];var X=O[N],Q=j[N];if(K)var H=ae?K(Q,X,N,j,O,ee):K(X,Q,N,O,j,ee);if(!(H===void 0?X===Q||ie(X,Q,$,K,ee):H)){ne=!1;break}Y||(Y=N=="constructor")}if(ne&&!Y){var de=O.constructor,Ae=j.constructor;de!=Ae&&"constructor"in O&&"constructor"in j&&!(typeof de=="function"&&de instanceof de&&typeof Ae=="function"&&Ae instanceof Ae)&&(ne=!1)}return ee.delete(O),ee.delete(j),ne}x.exports=A},20302:(x,k,c)=>{var m=typeof c.g=="object"&&c.g&&c.g.Object===Object&&c.g;x.exports=m},54357:(x,k,c)=>{var m=c(4468),w=c(44450),b=c(62096);function _(A){return m(A,b,w)}x.exports=_},77570:(x,k,c)=>{var m=c(58949);function w(b,_){var A=b.__data__;return m(_)?A[typeof _=="string"?"string":"hash"]:A.map}x.exports=w},65234:(x,k,c)=>{var m=c(99817),w=c(67736);function b(_,A){var O=w(_,A);return m(O)?O:void 0}x.exports=b},91339:(x,k,c)=>{var m=c(70861),w=Object.prototype,b=w.hasOwnProperty,_=w.toString,A=m?m.toStringTag:void 0;function O(j){var $=b.call(j,A),K=j[A];try{j[A]=void 0;var ie=!0}catch(ae){}var ee=_.call(j);return ie&&($?j[A]=K:delete j[A]),ee}x.exports=O},44450:(x,k,c)=>{var m=c(82493),w=c(84506),b=Object.prototype,_=b.propertyIsEnumerable,A=Object.getOwnPropertySymbols,O=A?function(j){return j==null?[]:(j=Object(j),m(A(j),function($){return _.call(j,$)}))}:w;x.exports=O},87493:(x,k,c)=>{var m=c(94466),w=c(72887),b=c(95747),_=c(56616),A=c(98001),O=c(69823),j=c(55784),$="[object Map]",K="[object Object]",ie="[object Promise]",ee="[object Set]",ae="[object WeakMap]",q="[object DataView]",V=j(m),J=j(w),L=j(b),E=j(_),N=j(A),U=O;(m&&U(new m(new ArrayBuffer(1)))!=q||w&&U(new w)!=$||b&&U(b.resolve())!=ie||_&&U(new _)!=ee||A&&U(new A)!=ae)&&(U=function(se){var ne=O(se),Y=ne==K?se.constructor:void 0,X=Y?j(Y):"";if(X)switch(X){case V:return q;case J:return $;case L:return ie;case E:return ee;case N:return ae}return ne}),x.exports=U},67736:x=>{function k(c,m){return c==null?void 0:c[m]}x.exports=k},34440:(x,k,c)=>{var m=c(24545);function w(){this.__data__=m?m(null):{},this.size=0}x.exports=w},84108:x=>{function k(c){var m=this.has(c)&&delete this.__data__[c];return this.size-=m?1:0,m}x.exports=k},61085:(x,k,c)=>{var m=c(24545),w="__lodash_hash_undefined__",b=Object.prototype,_=b.hasOwnProperty;function A(O){var j=this.__data__;if(m){var $=j[O];return $===w?void 0:$}return _.call(j,O)?j[O]:void 0}x.exports=A},77706:(x,k,c)=>{var m=c(24545),w=Object.prototype,b=w.hasOwnProperty;function _(A){var O=this.__data__;return m?O[A]!==void 0:b.call(O,A)}x.exports=_},8636:(x,k,c)=>{var m=c(24545),w="__lodash_hash_undefined__";function b(_,A){var O=this.__data__;return this.size+=this.has(_)?0:1,O[_]=m&&A===void 0?w:A,this}x.exports=b},5023:x=>{var k=9007199254740991,c=/^(?:0|[1-9]\d*)$/;function m(w,b){var _=typeof w;return b=b==null?k:b,!!b&&(_=="number"||_!="symbol"&&c.test(w))&&w>-1&&w%1==0&&w<b}x.exports=m},5130:(x,k,c)=>{var m=c(55589),w=c(52624),b=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_=/^\w*$/;function A(O,j){if(m(O))return!1;var $=typeof O;return $=="number"||$=="symbol"||$=="boolean"||O==null||w(O)?!0:_.test(O)||!b.test(O)||j!=null&&O in Object(j)}x.exports=A},58949:x=>{function k(c){var m=typeof c;return m=="string"||m=="number"||m=="symbol"||m=="boolean"?c!=="__proto__":c===null}x.exports=k},28597:(x,k,c)=>{var m=c(1622),w=function(){var _=/[^.]+$/.exec(m&&m.keys&&m.keys.IE_PROTO||"");return _?"Symbol(src)_1."+_:""}();function b(_){return!!w&&w in _}x.exports=b},32840:x=>{var k=Object.prototype;function c(m){var w=m&&m.constructor,b=typeof w=="function"&&w.prototype||k;return m===b}x.exports=c},90266:x=>{function k(){this.__data__=[],this.size=0}x.exports=k},42875:(x,k,c)=>{var m=c(18498),w=Array.prototype,b=w.splice;function _(A){var O=this.__data__,j=m(O,A);if(j<0)return!1;var $=O.length-1;return j==$?O.pop():b.call(O,j,1),--this.size,!0}x.exports=_},45828:(x,k,c)=>{var m=c(18498);function w(b){var _=this.__data__,A=m(_,b);return A<0?void 0:_[A][1]}x.exports=w},24115:(x,k,c)=>{var m=c(18498);function w(b){return m(this.__data__,b)>-1}x.exports=w},67690:(x,k,c)=>{var m=c(18498);function w(b,_){var A=this.__data__,O=m(A,b);return O<0?(++this.size,A.push([b,_])):A[O][1]=_,this}x.exports=w},39016:(x,k,c)=>{var m=c(85208),w=c(81998),b=c(72887);function _(){this.size=0,this.__data__={hash:new m,map:new(b||w),string:new m}}x.exports=_},62363:(x,k,c)=>{var m=c(77570);function w(b){var _=m(this,b).delete(b);return this.size-=_?1:0,_}x.exports=w},64348:(x,k,c)=>{var m=c(77570);function w(b){return m(this,b).get(b)}x.exports=w},53062:(x,k,c)=>{var m=c(77570);function w(b){return m(this,b).has(b)}x.exports=w},30262:(x,k,c)=>{var m=c(77570);function w(b,_){var A=m(this,b),O=A.size;return A.set(b,_),this.size+=A.size==O?0:1,this}x.exports=w},81140:x=>{function k(c){var m=-1,w=Array(c.size);return c.forEach(function(b,_){w[++m]=[_,b]}),w}x.exports=k},32924:(x,k,c)=>{var m=c(67997),w=500;function b(_){var A=m(_,function(j){return O.size===w&&O.clear(),j}),O=A.cache;return A}x.exports=b},24545:(x,k,c)=>{var m=c(65234),w=m(Object,"create");x.exports=w},82825:(x,k,c)=>{var m=c(33540),w=m(Object.keys,Object);x.exports=w},8690:(x,k,c)=>{x=c.nmd(x);var m=c(20302),w=k&&!k.nodeType&&k,b=w&&!0&&x&&!x.nodeType&&x,_=b&&b.exports===w,A=_&&m.process,O=function(){try{var j=b&&b.require&&b.require("util").types;return j||A&&A.binding&&A.binding("util")}catch($){}}();x.exports=O},25151:x=>{var k=Object.prototype,c=k.toString;function m(w){return c.call(w)}x.exports=m},33540:x=>{function k(c,m){return function(w){return c(m(w))}}x.exports=k},84100:(x,k,c)=>{var m=c(20302),w=typeof self=="object"&&self&&self.Object===Object&&self,b=m||w||Function("return this")();x.exports=b},83937:x=>{var k="__lodash_hash_undefined__";function c(m){return this.__data__.set(m,k),this}x.exports=c},15009:x=>{function k(c){return this.__data__.has(c)}x.exports=k},77969:x=>{function k(c){var m=-1,w=Array(c.size);return c.forEach(function(b){w[++m]=b}),w}x.exports=k},93210:(x,k,c)=>{var m=c(81998);function w(){this.__data__=new m,this.size=0}x.exports=w},48603:x=>{function k(c){var m=this.__data__,w=m.delete(c);return this.size=m.size,w}x.exports=k},38947:x=>{function k(c){return this.__data__.get(c)}x.exports=k},70885:x=>{function k(c){return this.__data__.has(c)}x.exports=k},98938:(x,k,c)=>{var m=c(81998),w=c(72887),b=c(95678),_=200;function A(O,j){var $=this.__data__;if($ instanceof m){var K=$.__data__;if(!w||K.length<_-1)return K.push([O,j]),this.size=++$.size,this;$=this.__data__=new b(K)}return $.set(O,j),this.size=$.size,this}x.exports=A},44041:(x,k,c)=>{var m=c(32924),w=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,b=/\\(\\)?/g,_=m(function(A){var O=[];return A.charCodeAt(0)===46&&O.push(""),A.replace(w,function(j,$,K,ie){O.push(K?ie.replace(b,"$1"):$||j)}),O});x.exports=_},86040:(x,k,c)=>{var m=c(52624),w=1/0;function b(_){if(typeof _=="string"||m(_))return _;var A=_+"";return A=="0"&&1/_==-w?"-0":A}x.exports=b},55784:x=>{var k=Function.prototype,c=k.toString;function m(w){if(w!=null){try{return c.call(w)}catch(b){}try{return w+""}catch(b){}}return""}x.exports=m},58260:x=>{function k(c,m){return c===m||c!==c&&m!==m}x.exports=k},13546:(x,k,c)=>{var m=c(40548);function w(b,_,A){var O=b==null?void 0:m(b,_);return O===void 0?A:O}x.exports=w},79312:(x,k,c)=>{var m=c(33016),w=c(50440),b=Object.prototype,_=b.hasOwnProperty,A=b.propertyIsEnumerable,O=m(function(){return arguments}())?m:function(j){return w(j)&&_.call(j,"callee")&&!A.call(j,"callee")};x.exports=O},55589:x=>{var k=Array.isArray;x.exports=k},30568:(x,k,c)=>{var m=c(45563),w=c(66052);function b(_){return _!=null&&w(_.length)&&!m(_)}x.exports=b},89256:(x,k,c)=>{var m=c(69823),w=c(50440),b="[object Boolean]";function _(A){return A===!0||A===!1||w(A)&&m(A)==b}x.exports=_},85778:(x,k,c)=>{x=c.nmd(x);var m=c(84100),w=c(37999),b=k&&!k.nodeType&&k,_=b&&!0&&x&&!x.nodeType&&x,A=_&&_.exports===b,O=A?m.Buffer:void 0,j=O?O.isBuffer:void 0,$=j||w;x.exports=$},85466:(x,k,c)=>{var m=c(34662);function w(b,_){return m(b,_)}x.exports=w},45563:(x,k,c)=>{var m=c(69823),w=c(93702),b="[object AsyncFunction]",_="[object Function]",A="[object GeneratorFunction]",O="[object Proxy]";function j($){if(!w($))return!1;var K=m($);return K==_||K==A||K==b||K==O}x.exports=j},66052:x=>{var k=9007199254740991;function c(m){return typeof m=="number"&&m>-1&&m%1==0&&m<=k}x.exports=c},7534:x=>{function k(c){return c===null}x.exports=k},3224:(x,k,c)=>{var m=c(69823),w=c(50440),b="[object Number]";function _(A){return typeof A=="number"||w(A)&&m(A)==b}x.exports=_},93702:x=>{function k(c){var m=typeof c;return c!=null&&(m=="object"||m=="function")}x.exports=k},50440:x=>{function k(c){return c!=null&&typeof c=="object"}x.exports=k},76705:(x,k,c)=>{var m=c(69823),w=c(55589),b=c(50440),_="[object String]";function A(O){return typeof O=="string"||!w(O)&&b(O)&&m(O)==_}x.exports=A},52624:(x,k,c)=>{var m=c(69823),w=c(50440),b="[object Symbol]";function _(A){return typeof A=="symbol"||w(A)&&m(A)==b}x.exports=_},50922:(x,k,c)=>{var m=c(42448),w=c(31525),b=c(8690),_=b&&b.isTypedArray,A=_?w(_):m;x.exports=A},62096:(x,k,c)=>{var m=c(75825),w=c(41351),b=c(30568);function _(A){return b(A)?m(A):w(A)}x.exports=_},67997:(x,k,c)=>{var m=c(95678),w="Expected a function";function b(_,A){if(typeof _!="function"||A!=null&&typeof A!="function")throw new TypeError(w);var O=function(){var j=arguments,$=A?A.apply(this,j):j[0],K=O.cache;if(K.has($))return K.get($);var ie=_.apply(this,j);return O.cache=K.set($,ie)||K,ie};return O.cache=new(b.Cache||m),O}b.Cache=m,x.exports=b},30606:x=>{var k="Expected a function";function c(m){if(typeof m!="function")throw new TypeError(k);return function(){var w=arguments;switch(w.length){case 0:return!m.call(this);case 1:return!m.call(this,w[0]);case 2:return!m.call(this,w[0],w[1]);case 3:return!m.call(this,w[0],w[1],w[2])}return!m.apply(this,w)}}x.exports=c},84506:x=>{function k(){return[]}x.exports=k},37999:x=>{function k(){return!1}x.exports=k},99835:(x,k,c)=>{var m=c(86245);function w(b){return b==null?"":m(b)}x.exports=w},38220:(x,k,c)=>{const m=c(30606);function w(_){return typeof _=="string"?A=>A.element===_:_.constructor&&_.extend?A=>A instanceof _:_}class b{constructor(A){this.elements=A||[]}toValue(){return this.elements.map(A=>A.toValue())}map(A,O){return this.elements.map(A,O)}flatMap(A,O){return this.map(A,O).reduce((j,$)=>j.concat($),[])}compactMap(A,O){const j=[];return this.forEach($=>{const K=A.bind(O)($);K&&j.push(K)}),j}filter(A,O){return A=w(A),new b(this.elements.filter(A,O))}reject(A,O){return A=w(A),new b(this.elements.filter(m(A),O))}find(A,O){return A=w(A),this.elements.find(A,O)}forEach(A,O){this.elements.forEach(A,O)}reduce(A,O){return this.elements.reduce(A,O)}includes(A){return this.elements.some(O=>O.equals(A))}shift(){return this.elements.shift()}unshift(A){this.elements.unshift(this.refract(A))}push(A){return this.elements.push(this.refract(A)),this}add(A){this.push(A)}get(A){return this.elements[A]}getValue(A){const O=this.elements[A];if(O)return O.toValue()}get length(){return this.elements.length}get isEmpty(){return this.elements.length===0}get first(){return this.elements[0]}}typeof Symbol!="undefined"&&(b.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),x.exports=b},91608:x=>{class k{constructor(m,w){this.key=m,this.value=w}clone(){const m=new k;return this.key&&(m.key=this.key.clone()),this.value&&(m.value=this.value.clone()),m}}x.exports=k},85672:(x,k,c)=>{const m=c(7534),w=c(76705),b=c(3224),_=c(89256),A=c(93702),O=c(15050),j=c(32872);class ${constructor(ie){this.elementMap={},this.elementDetection=[],this.Element=j.Element,this.KeyValuePair=j.KeyValuePair,(!ie||!ie.noDefault)&&this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(ie){return ie.namespace&&ie.namespace({base:this}),ie.load&&ie.load({base:this}),this}useDefault(){return this.register("null",j.NullElement).register("string",j.StringElement).register("number",j.NumberElement).register("boolean",j.BooleanElement).register("array",j.ArrayElement).register("object",j.ObjectElement).register("member",j.MemberElement).register("ref",j.RefElement).register("link",j.LinkElement),this.detect(m,j.NullElement,!1).detect(w,j.StringElement,!1).detect(b,j.NumberElement,!1).detect(_,j.BooleanElement,!1).detect(Array.isArray,j.ArrayElement,!1).detect(A,j.ObjectElement,!1),this}register(ie,ee){return this._elements=void 0,this.elementMap[ie]=ee,this}unregister(ie){return this._elements=void 0,delete this.elementMap[ie],this}detect(ie,ee,ae){return(ae===void 0?!0:ae)?this.elementDetection.unshift([ie,ee]):this.elementDetection.push([ie,ee]),this}toElement(ie){if(ie instanceof this.Element)return ie;let ee;for(let ae=0;ae<this.elementDetection.length;ae+=1){const q=this.elementDetection[ae][0],V=this.elementDetection[ae][1];if(q(ie)){ee=new V(ie);break}}return ee}getElementClass(ie){const ee=this.elementMap[ie];return ee===void 0?this.Element:ee}fromRefract(ie){return this.serialiser.deserialise(ie)}toRefract(ie){return this.serialiser.serialise(ie)}get elements(){return this._elements===void 0&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach(ie=>{const ee=ie[0].toUpperCase()+ie.substr(1);this._elements[ee]=this.elementMap[ie]})),this._elements}get serialiser(){return new O(this)}}O.prototype.Namespace=$,x.exports=$},18424:(x,k,c)=>{const m=c(30606),w=c(38220);class b extends w{map(A,O){return this.elements.map(j=>A.bind(O)(j.value,j.key,j))}filter(A,O){return new b(this.elements.filter(j=>A.bind(O)(j.value,j.key,j)))}reject(A,O){return this.filter(m(A.bind(O)))}forEach(A,O){return this.elements.forEach((j,$)=>{A.bind(O)(j.value,j.key,j,$)})}keys(){return this.map((A,O)=>O.toValue())}values(){return this.map(A=>A.toValue())}}x.exports=b},32872:(x,k,c)=>{const m=c(37567),w=c(22114),b=c(99368),_=c(35549),A=c(82660),O=c(75494),j=c(91839),$=c(79622),K=c(13100),ie=c(10437),ee=c(38220),ae=c(18424),q=c(91608);function V(J){return J instanceof m?J:typeof J=="string"?new b(J):typeof J=="number"?new _(J):typeof J=="boolean"?new A(J):J===null?new w:Array.isArray(J)?new O(J.map(V)):typeof J=="object"?new $(J):J}m.prototype.ObjectElement=$,m.prototype.RefElement=ie,m.prototype.MemberElement=j,m.prototype.refract=V,ee.prototype.refract=V,x.exports={Element:m,NullElement:w,StringElement:b,NumberElement:_,BooleanElement:A,ArrayElement:O,MemberElement:j,ObjectElement:$,LinkElement:K,RefElement:ie,refract:V,ArraySlice:ee,ObjectSlice:ae,KeyValuePair:q}},13100:(x,k,c)=>{const m=c(37567);x.exports=class extends m{constructor(b,_,A){super(b||[],_,A),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(b){this.attributes.set("relation",b)}get href(){return this.attributes.get("href")}set href(b){this.attributes.set("href",b)}}},10437:(x,k,c)=>{const m=c(37567);x.exports=class extends m{constructor(b,_,A){super(b||[],_,A),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(b){this.attributes.set("path",b)}}},33030:(x,k,c)=>{var m;const w=c(85672),b=c(32872);k.lS=w,m=function(A){return new w(A)},c(91608),m=b.ArraySlice,m=b.ObjectSlice,k.W_=b.Element,k.RP=b.StringElement,k.VL=b.NumberElement,k.hh=b.BooleanElement,k.zr=b.NullElement,k.ON=b.ArrayElement,k.Sb=b.ObjectElement,k.c6=b.MemberElement,k.tK=b.RefElement,k.EA=b.LinkElement,k.Qc=b.refract,c(15050),c(15967)},75494:(x,k,c)=>{const m=c(30606),w=c(37567),b=c(38220);class _ extends w{constructor(O,j,$){super(O||[],j,$),this.element="array"}primitive(){return"array"}get(O){return this.content[O]}getValue(O){const j=this.get(O);if(j)return j.toValue()}getIndex(O){return this.content[O]}set(O,j){return this.content[O]=this.refract(j),this}remove(O){const j=this.content.splice(O,1);return j.length?j[0]:null}map(O,j){return this.content.map(O,j)}flatMap(O,j){return this.map(O,j).reduce(($,K)=>$.concat(K),[])}compactMap(O,j){const $=[];return this.forEach(K=>{const ie=O.bind(j)(K);ie&&$.push(ie)}),$}filter(O,j){return new b(this.content.filter(O,j))}reject(O,j){return this.filter(m(O),j)}reduce(O,j){let $,K;j!==void 0?($=0,K=this.refract(j)):($=1,K=this.primitive()==="object"?this.first.value:this.first);for(let ie=$;ie<this.length;ie+=1){const ee=this.content[ie];this.primitive()==="object"?K=this.refract(O(K,ee.value,ee.key,ee,this)):K=this.refract(O(K,ee,ie,this))}return K}forEach(O,j){this.content.forEach(($,K)=>{O.bind(j)($,this.refract(K))})}shift(){return this.content.shift()}unshift(O){this.content.unshift(this.refract(O))}push(O){return this.content.push(this.refract(O)),this}add(O){this.push(O)}findElements(O,j){const $=j||{},K=!!$.recursive,ie=$.results===void 0?[]:$.results;return this.forEach((ee,ae,q)=>{K&&ee.findElements!==void 0&&ee.findElements(O,{results:ie,recursive:K}),O(ee,ae,q)&&ie.push(ee)}),ie}find(O){return new b(this.findElements(O,{recursive:!0}))}findByElement(O){return this.find(j=>j.element===O)}findByClass(O){return this.find(j=>j.classes.includes(O))}getById(O){return this.find(j=>j.id.toValue()===O).first}includes(O){return this.content.some(j=>j.equals(O))}contains(O){return this.includes(O)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(O){return new this.constructor(this.content.concat(O.content))}"fantasy-land/concat"(O){return this.concat(O)}"fantasy-land/map"(O){return new this.constructor(this.map(O))}"fantasy-land/chain"(O){return this.map(j=>O(j),this).reduce((j,$)=>j.concat($),this.empty())}"fantasy-land/filter"(O){return new this.constructor(this.content.filter(O))}"fantasy-land/reduce"(O,j){return this.content.reduce(O,j)}get length(){return this.content.length}get isEmpty(){return this.content.length===0}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}_.empty=function(){return new this},_["fantasy-land/empty"]=_.empty,typeof Symbol!="undefined"&&(_.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),x.exports=_},82660:(x,k,c)=>{const m=c(37567);x.exports=class extends m{constructor(b,_,A){super(b,_,A),this.element="boolean"}primitive(){return"boolean"}}},37567:(x,k,c)=>{const m=c(85466),w=c(91608),b=c(38220);class _{constructor(O,j,$){j&&(this.meta=j),$&&(this.attributes=$),this.content=O}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach(O=>{O.parent=this,O.freeze()},this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const O=new this.constructor;return O.element=this.element,this.meta.length&&(O._meta=this.meta.clone()),this.attributes.length&&(O._attributes=this.attributes.clone()),this.content?this.content.clone?O.content=this.content.clone():Array.isArray(this.content)?O.content=this.content.map(j=>j.clone()):O.content=this.content:O.content=this.content,O}toValue(){return this.content instanceof _?this.content.toValue():this.content instanceof w?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map(O=>O.toValue(),this):this.content}toRef(O){if(this.id.toValue()==="")throw Error("Cannot create reference to an element that does not contain an ID");const j=new this.RefElement(this.id.toValue());return O&&(j.path=O),j}findRecursive(...O){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const j=O.pop();let $=new b;const K=(ee,ae)=>(ee.push(ae),ee),ie=(ee,ae)=>{ae.element===j&&ee.push(ae);const q=ae.findRecursive(j);return q&&q.reduce(K,ee),ae.content instanceof w&&(ae.content.key&&ie(ee,ae.content.key),ae.content.value&&ie(ee,ae.content.value)),ee};return this.content&&(this.content.element&&ie($,this.content),Array.isArray(this.content)&&this.content.reduce(ie,$)),O.isEmpty||($=$.filter(ee=>{let ae=ee.parents.map(q=>q.element);for(const q in O){const V=O[q],J=ae.indexOf(V);if(J!==-1)ae=ae.splice(0,J);else return!1}return!0})),$}set(O){return this.content=O,this}equals(O){return m(this.toValue(),O)}getMetaProperty(O,j){if(!this.meta.hasKey(O)){if(this.isFrozen){const $=this.refract(j);return $.freeze(),$}this.meta.set(O,j)}return this.meta.get(O)}setMetaProperty(O,j){this.meta.set(O,j)}get element(){return this._storedElement||"element"}set element(O){this._storedElement=O}get content(){return this._content}set content(O){if(O instanceof _)this._content=O;else if(O instanceof b)this.content=O.elements;else if(typeof O=="string"||typeof O=="number"||typeof O=="boolean"||O==="null"||O==null)this._content=O;else if(O instanceof w)this._content=O;else if(Array.isArray(O))this._content=O.map(this.refract);else if(typeof O=="object")this._content=Object.keys(O).map(j=>new this.MemberElement(j,O[j]));else throw new Error("Cannot set content to given value")}get meta(){if(!this._meta){if(this.isFrozen){const O=new this.ObjectElement;return O.freeze(),O}this._meta=new this.ObjectElement}return this._meta}set meta(O){O instanceof this.ObjectElement?this._meta=O:this.meta.set(O||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const O=new this.ObjectElement;return O.freeze(),O}this._attributes=new this.ObjectElement}return this._attributes}set attributes(O){O instanceof this.ObjectElement?this._attributes=O:this.attributes.set(O||{})}get id(){return this.getMetaProperty("id","")}set id(O){this.setMetaProperty("id",O)}get classes(){return this.getMetaProperty("classes",[])}set classes(O){this.setMetaProperty("classes",O)}get title(){return this.getMetaProperty("title","")}set title(O){this.setMetaProperty("title",O)}get description(){return this.getMetaProperty("description","")}set description(O){this.setMetaProperty("description",O)}get links(){return this.getMetaProperty("links",[])}set links(O){this.setMetaProperty("links",O)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:O}=this;const j=new b;for(;O;)j.push(O),O=O.parent;return j}get children(){if(Array.isArray(this.content))return new b(this.content);if(this.content instanceof w){const O=new b([this.content.key]);return this.content.value&&O.push(this.content.value),O}return this.content instanceof _?new b([this.content]):new b}get recursiveChildren(){const O=new b;return this.children.forEach(j=>{O.push(j),j.recursiveChildren.forEach($=>{O.push($)})}),O}}x.exports=_},91839:(x,k,c)=>{const m=c(91608),w=c(37567);x.exports=class extends w{constructor(_,A,O,j){super(new m,O,j),this.element="member",this.key=_,this.value=A}get key(){return this.content.key}set key(_){this.content.key=this.refract(_)}get value(){return this.content.value}set value(_){this.content.value=this.refract(_)}}},22114:(x,k,c)=>{const m=c(37567);class w extends m{constructor(_,A,O){super(_||null,A,O),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}x.exports=w},35549:(x,k,c)=>{const m=c(37567);x.exports=class extends m{constructor(b,_,A){super(b,_,A),this.element="number"}primitive(){return"number"}}},79622:(x,k,c)=>{const m=c(30606),w=c(93702),b=c(75494),_=c(91839),A=c(18424);class O extends b{constructor($,K,ie){super($||[],K,ie),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(($,K)=>($[K.key.toValue()]=K.value?K.value.toValue():void 0,$),{})}get($){const K=this.getMember($);if(K)return K.value}getMember($){if($!==void 0)return this.content.find(K=>K.key.toValue()===$)}remove($){let K=null;return this.content=this.content.filter(ie=>ie.key.toValue()===$?(K=ie,!1):!0),K}getKey($){const K=this.getMember($);if(K)return K.key}set($,K){if(w($))return Object.keys($).forEach(ae=>{this.set(ae,$[ae])}),this;const ie=$,ee=this.getMember(ie);return ee?ee.value=K:this.content.push(new _(ie,K)),this}keys(){return this.content.map($=>$.key.toValue())}values(){return this.content.map($=>$.value.toValue())}hasKey($){return this.content.some(K=>K.key.equals($))}items(){return this.content.map($=>[$.key.toValue(),$.value.toValue()])}map($,K){return this.content.map(ie=>$.bind(K)(ie.value,ie.key,ie))}compactMap($,K){const ie=[];return this.forEach((ee,ae,q)=>{const V=$.bind(K)(ee,ae,q);V&&ie.push(V)}),ie}filter($,K){return new A(this.content).filter($,K)}reject($,K){return this.filter(m($),K)}forEach($,K){return this.content.forEach(ie=>$.bind(K)(ie.value,ie.key,ie))}}x.exports=O},99368:(x,k,c)=>{const m=c(37567);x.exports=class extends m{constructor(b,_,A){super(b,_,A),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},15967:(x,k,c)=>{const m=c(15050);x.exports=class extends m{serialise(b){if(!(b instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${b}\` is not an Element instance`);let _;b._attributes&&b.attributes.get("variable")&&(_=b.attributes.get("variable"));const A={element:b.element};b._meta&&b._meta.length>0&&(A.meta=this.serialiseObject(b.meta));const O=b.element==="enum"||b.attributes.keys().indexOf("enumerations")!==-1;if(O){const j=this.enumSerialiseAttributes(b);j&&(A.attributes=j)}else if(b._attributes&&b._attributes.length>0){let{attributes:j}=b;j.get("metadata")&&(j=j.clone(),j.set("meta",j.get("metadata")),j.remove("metadata")),b.element==="member"&&_&&(j=j.clone(),j.remove("variable")),j.length>0&&(A.attributes=this.serialiseObject(j))}if(O)A.content=this.enumSerialiseContent(b,A);else if(this[`${b.element}SerialiseContent`])A.content=this[`${b.element}SerialiseContent`](b,A);else if(b.content!==void 0){let j;_&&b.content.key?(j=b.content.clone(),j.key.attributes.set("variable",_),j=this.serialiseContent(j)):j=this.serialiseContent(b.content),this.shouldSerialiseContent(b,j)&&(A.content=j)}else this.shouldSerialiseContent(b,b.content)&&b instanceof this.namespace.elements.Array&&(A.content=[]);return A}shouldSerialiseContent(b,_){return b.element==="parseResult"||b.element==="httpRequest"||b.element==="httpResponse"||b.element==="category"||b.element==="link"?!0:!(_===void 0||Array.isArray(_)&&_.length===0)}refSerialiseContent(b,_){return delete _.attributes,{href:b.toValue(),path:b.path.toValue()}}sourceMapSerialiseContent(b){return b.toValue()}dataStructureSerialiseContent(b){return[this.serialiseContent(b.content)]}enumSerialiseAttributes(b){const _=b.attributes.clone(),A=_.remove("enumerations")||new this.namespace.elements.Array([]),O=_.get("default");let j=_.get("samples")||new this.namespace.elements.Array([]);if(O&&O.content&&(O.content.attributes&&O.content.attributes.remove("typeAttributes"),_.set("default",new this.namespace.elements.Array([O.content]))),j.forEach($=>{$.content&&$.content.element&&$.content.attributes.remove("typeAttributes")}),b.content&&A.length!==0&&j.unshift(b.content),j=j.map($=>$ instanceof this.namespace.elements.Array?[$]:new this.namespace.elements.Array([$.content])),j.length&&_.set("samples",j),_.length>0)return this.serialiseObject(_)}enumSerialiseContent(b){if(b._attributes){const _=b.attributes.get("enumerations");if(_&&_.length>0)return _.content.map(A=>{const O=A.clone();return O.attributes.remove("typeAttributes"),this.serialise(O)})}if(b.content){const _=b.content.clone();return _.attributes.remove("typeAttributes"),[this.serialise(_)]}return[]}deserialise(b){if(typeof b=="string")return new this.namespace.elements.String(b);if(typeof b=="number")return new this.namespace.elements.Number(b);if(typeof b=="boolean")return new this.namespace.elements.Boolean(b);if(b===null)return new this.namespace.elements.Null;if(Array.isArray(b))return new this.namespace.elements.Array(b.map(this.deserialise,this));const _=this.namespace.getElementClass(b.element),A=new _;A.element!==b.element&&(A.element=b.element),b.meta&&this.deserialiseObject(b.meta,A.meta),b.attributes&&this.deserialiseObject(b.attributes,A.attributes);const O=this.deserialiseContent(b.content);if((O!==void 0||A.content===null)&&(A.content=O),A.element==="enum"){A.content&&A.attributes.set("enumerations",A.content);let j=A.attributes.get("samples");if(A.attributes.remove("samples"),j){const K=j;j=new this.namespace.elements.Array,K.forEach(ee=>{ee.forEach(ae=>{const q=new _(ae);q.element=A.element,j.push(q)})});const ie=j.shift();ie?A.content=ie.content:A.content=void 0,A.attributes.set("samples",j)}else A.content=void 0;let $=A.attributes.get("default");if($&&$.length>0){$=$.get(0);const K=new _($);K.element=A.element,A.attributes.set("default",K)}}else if(A.element==="dataStructure"&&Array.isArray(A.content))[A.content]=A.content;else if(A.element==="category"){const j=A.attributes.get("meta");j&&(A.attributes.set("metadata",j),A.attributes.remove("meta"))}else A.element==="member"&&A.key&&A.key._attributes&&A.key._attributes.getValue("variable")&&(A.attributes.set("variable",A.key.attributes.get("variable")),A.key.attributes.remove("variable"));return A}serialiseContent(b){if(b instanceof this.namespace.elements.Element)return this.serialise(b);if(b instanceof this.namespace.KeyValuePair){const _={key:this.serialise(b.key)};return b.value&&(_.value=this.serialise(b.value)),_}return b&&b.map?b.map(this.serialise,this):b}deserialiseContent(b){if(b){if(b.element)return this.deserialise(b);if(b.key){const _=new this.namespace.KeyValuePair(this.deserialise(b.key));return b.value&&(_.value=this.deserialise(b.value)),_}if(b.map)return b.map(this.deserialise,this)}return b}shouldRefract(b){return b._attributes&&b.attributes.keys().length||b._meta&&b.meta.keys().length?!0:b.element==="enum"?!1:b.element!==b.primitive()||b.element==="member"}convertKeyToRefract(b,_){return this.shouldRefract(_)?this.serialise(_):_.element==="enum"?this.serialiseEnum(_):_.element==="array"?_.map(A=>this.shouldRefract(A)||b==="default"?this.serialise(A):A.element==="array"||A.element==="object"||A.element==="enum"?A.children.map(O=>this.serialise(O)):A.toValue()):_.element==="object"?(_.content||[]).map(this.serialise,this):_.toValue()}serialiseEnum(b){return b.children.map(_=>this.serialise(_))}serialiseObject(b){const _={};return b.forEach((A,O)=>{if(A){const j=O.toValue();_[j]=this.convertKeyToRefract(j,A)}}),_}deserialiseObject(b,_){Object.keys(b).forEach(A=>{_.set(A,this.deserialise(b[A]))})}}},15050:x=>{class k{constructor(m){this.namespace=m||new this.Namespace}serialise(m){if(!(m instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${m}\` is not an Element instance`);const w={element:m.element};m._meta&&m._meta.length>0&&(w.meta=this.serialiseObject(m.meta)),m._attributes&&m._attributes.length>0&&(w.attributes=this.serialiseObject(m.attributes));const b=this.serialiseContent(m.content);return b!==void 0&&(w.content=b),w}deserialise(m){if(!m.element)throw new Error("Given value is not an object containing an element name");const w=this.namespace.getElementClass(m.element),b=new w;b.element!==m.element&&(b.element=m.element),m.meta&&this.deserialiseObject(m.meta,b.meta),m.attributes&&this.deserialiseObject(m.attributes,b.attributes);const _=this.deserialiseContent(m.content);return(_!==void 0||b.content===null)&&(b.content=_),b}serialiseContent(m){if(m instanceof this.namespace.elements.Element)return this.serialise(m);if(m instanceof this.namespace.KeyValuePair){const w={key:this.serialise(m.key)};return m.value&&(w.value=this.serialise(m.value)),w}return m&&m.map?m.length===0?void 0:m.map(this.serialise,this):m}deserialiseContent(m){if(m){if(m.element)return this.deserialise(m);if(m.key){const w=new this.namespace.KeyValuePair(this.deserialise(m.key));return m.value&&(w.value=this.deserialise(m.value)),w}if(m.map)return m.map(this.deserialise,this)}return m}serialiseObject(m){const w={};if(m.forEach((b,_)=>{b&&(w[_.toValue()]=this.serialise(b))}),Object.keys(w).length!==0)return w}deserialiseObject(m,w){Object.keys(m).forEach(b=>{w.set(b,this.deserialise(m[b]))})}}x.exports=k},14927:(x,k,c)=>{var m=typeof Map=="function"&&Map.prototype,w=Object.getOwnPropertyDescriptor&&m?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,b=m&&w&&typeof w.get=="function"?w.get:null,_=m&&Map.prototype.forEach,A=typeof Set=="function"&&Set.prototype,O=Object.getOwnPropertyDescriptor&&A?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,j=A&&O&&typeof O.get=="function"?O.get:null,$=A&&Set.prototype.forEach,K=typeof WeakMap=="function"&&WeakMap.prototype,ie=K?WeakMap.prototype.has:null,ee=typeof WeakSet=="function"&&WeakSet.prototype,ae=ee?WeakSet.prototype.has:null,q=typeof WeakRef=="function"&&WeakRef.prototype,V=q?WeakRef.prototype.deref:null,J=Boolean.prototype.valueOf,L=Object.prototype.toString,E=Function.prototype.toString,N=String.prototype.match,U=String.prototype.slice,se=String.prototype.replace,ne=String.prototype.toUpperCase,Y=String.prototype.toLowerCase,X=RegExp.prototype.test,Q=Array.prototype.concat,H=Array.prototype.join,de=Array.prototype.slice,Ae=Math.floor,Z=typeof BigInt=="function"?BigInt.prototype.valueOf:null,xe=Object.getOwnPropertySymbols,ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Ne=typeof Symbol=="function"&&typeof Symbol.iterator=="object",He=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Ne||"symbol")?Symbol.toStringTag:null,Re=Object.prototype.propertyIsEnumerable,ze=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(pe){return pe.__proto__}:null);function Be(pe,Pe){if(pe===1/0||pe===-1/0||pe!==pe||pe&&pe>-1e3&&pe<1e3||X.call(/e/,Pe))return Pe;var Je=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof pe=="number"){var xt=pe<0?-Ae(-pe):Ae(pe);if(xt!==pe){var _t=String(xt),Ot=U.call(Pe,_t.length+1);return se.call(_t,Je,"$&_")+"."+se.call(se.call(Ot,/([0-9]{3})/g,"$&_"),/_$/,"")}}return se.call(Pe,Je,"$&_")}var Ye=c(65710),gt=Ye.custom,ut=Vr(gt)?gt:null;x.exports=function pe(Pe,Je,xt,_t){var Ot=Je||{};if(ht(Ot,"quoteStyle")&&Ot.quoteStyle!=="single"&&Ot.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ht(Ot,"maxStringLength")&&(typeof Ot.maxStringLength=="number"?Ot.maxStringLength<0&&Ot.maxStringLength!==1/0:Ot.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Sr=ht(Ot,"customInspect")?Ot.customInspect:!0;if(typeof Sr!="boolean"&&Sr!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ht(Ot,"indent")&&Ot.indent!==null&&Ot.indent!==" "&&!(parseInt(Ot.indent,10)===Ot.indent&&Ot.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ht(Ot,"numericSeparator")&&typeof Ot.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var sn=Ot.numericSeparator;if(typeof Pe=="undefined")return"undefined";if(Pe===null)return"null";if(typeof Pe=="boolean")return Pe?"true":"false";if(typeof Pe=="string")return vi(Pe,Ot);if(typeof Pe=="number"){if(Pe===0)return 1/0/Pe>0?"0":"-0";var Xt=String(Pe);return sn?Be(Pe,Xt):Xt}if(typeof Pe=="bigint"){var Rr=String(Pe)+"n";return sn?Be(Pe,Rr):Rr}var rs=typeof Ot.depth=="undefined"?5:Ot.depth;if(typeof xt=="undefined"&&(xt=0),xt>=rs&&rs>0&&typeof Pe=="object")return Ke(Pe)?"[Array]":"[Object]";var on=At(Ot,xt);if(typeof _t=="undefined")_t=[];else if(er(_t,Pe)>=0)return"[Circular]";function an(An,jr,os){if(jr&&(_t=de.call(_t),_t.push(jr)),os){var ri={depth:Ot.depth};return ht(Ot,"quoteStyle")&&(ri.quoteStyle=Ot.quoteStyle),pe(An,ri,xt+1,_t)}return pe(An,Ot,xt+1,_t)}if(typeof Pe=="function"&&!qe(Pe)){var ns=nr(Pe),ln=Tt(Pe,an);return"[Function"+(ns?": "+ns:" (anonymous)")+"]"+(ln.length>0?" { "+H.call(ln,", ")+" }":"")}if(Vr(Pe)){var Ii=Ne?se.call(String(Pe),/^(Symbol\(.*\))_[^)]*$/,"$1"):ue.call(Pe);return typeof Pe=="object"&&!Ne?mn(Ii):Ii}if(ji(Pe)){for(var Ri="<"+Y.call(String(Pe.nodeName)),un=Pe.attributes||[],ss=0;ss<un.length;ss++)Ri+=" "+un[ss].name+"="+yt(lt(un[ss].value),"double",Ot);return Ri+=">",Pe.childNodes&&Pe.childNodes.length&&(Ri+="..."),Ri+="</"+Y.call(String(Pe.nodeName))+">",Ri}if(Ke(Pe)){if(Pe.length===0)return"[]";var Fi=Tt(Pe,an);return on&&!Ft(Fi)?"["+mt(Fi,on)+"]":"[ "+H.call(Fi,", ")+" ]"}if(bt(Pe)){var Ts=Tt(Pe,an);return!("cause"in Error.prototype)&&"cause"in Pe&&!Re.call(Pe,"cause")?"{ ["+String(Pe)+"] "+H.call(Q.call("[cause]: "+an(Pe.cause),Ts),", ")+" }":Ts.length===0?"["+String(Pe)+"]":"{ ["+String(Pe)+"] "+H.call(Ts,", ")+" }"}if(typeof Pe=="object"&&Sr){if(ut&&typeof Pe[ut]=="function"&&Ye)return Ye(Pe,{depth:rs-xt});if(Sr!=="symbol"&&typeof Pe.inspect=="function")return Pe.inspect()}if(kn(Pe)){var Wo=[];return _&&_.call(Pe,function(An,jr){Wo.push(an(jr,Pe,!0)+" => "+an(An,Pe))}),fr("Map",b.call(Pe),Wo,on)}if(Hn(Pe)){var In=[];return $&&$.call(Pe,function(An){In.push(an(An,Pe))}),fr("Set",j.call(Pe),In,on)}if(ki(Pe))return vn("WeakMap");if(ei(Pe))return vn("WeakSet");if(Wn(Pe))return vn("WeakRef");if(Rt(Pe))return mn(an(Number(Pe)));if(kr(Pe))return mn(an(Z.call(Pe)));if(zt(Pe))return mn(J.call(Pe));if(Lt(Pe))return mn(an(String(Pe)));if(!Fe(Pe)&&!qe(Pe)){var Rn=Tt(Pe,an),Fn=ze?ze(Pe)===Object.prototype:Pe instanceof Object||Pe.constructor===Object,En=Pe instanceof Object?"":"null prototype",ti=!Fn&&He&&Object(Pe)===Pe&&He in Pe?U.call($t(Pe),8,-1):En?"Object":"",ka=Fn||typeof Pe.constructor!="function"?"":Pe.constructor.name?Pe.constructor.name+" ":"",gi=ka+(ti||En?"["+H.call(Q.call([],ti||[],En||[]),": ")+"] ":"");return Rn.length===0?gi+"{}":on?gi+"{"+mt(Rn,on)+"}":gi+"{ "+H.call(Rn,", ")+" }"}return String(Pe)};function yt(pe,Pe,Je){var xt=(Je.quoteStyle||Pe)==="double"?'"':"'";return xt+pe+xt}function lt(pe){return se.call(String(pe),/"/g,""")}function Ke(pe){return $t(pe)==="[object Array]"&&(!He||!(typeof pe=="object"&&He in pe))}function Fe(pe){return $t(pe)==="[object Date]"&&(!He||!(typeof pe=="object"&&He in pe))}function qe(pe){return $t(pe)==="[object RegExp]"&&(!He||!(typeof pe=="object"&&He in pe))}function bt(pe){return $t(pe)==="[object Error]"&&(!He||!(typeof pe=="object"&&He in pe))}function Lt(pe){return $t(pe)==="[object String]"&&(!He||!(typeof pe=="object"&&He in pe))}function Rt(pe){return $t(pe)==="[object Number]"&&(!He||!(typeof pe=="object"&&He in pe))}function zt(pe){return $t(pe)==="[object Boolean]"&&(!He||!(typeof pe=="object"&&He in pe))}function Vr(pe){if(Ne)return pe&&typeof pe=="object"&&pe instanceof Symbol;if(typeof pe=="symbol")return!0;if(!pe||typeof pe!="object"||!ue)return!1;try{return ue.call(pe),!0}catch(Pe){}return!1}function kr(pe){if(!pe||typeof pe!="object"||!Z)return!1;try{return Z.call(pe),!0}catch(Pe){}return!1}var qr=Object.prototype.hasOwnProperty||function(pe){return pe in this};function ht(pe,Pe){return qr.call(pe,Pe)}function $t(pe){return L.call(pe)}function nr(pe){if(pe.name)return pe.name;var Pe=N.call(E.call(pe),/^function\s*([\w$]+)/);return Pe?Pe[1]:null}function er(pe,Pe){if(pe.indexOf)return pe.indexOf(Pe);for(var Je=0,xt=pe.length;Je<xt;Je++)if(pe[Je]===Pe)return Je;return-1}function kn(pe){if(!b||!pe||typeof pe!="object")return!1;try{b.call(pe);try{j.call(pe)}catch(Pe){return!0}return pe instanceof Map}catch(Pe){}return!1}function ki(pe){if(!ie||!pe||typeof pe!="object")return!1;try{ie.call(pe,ie);try{ae.call(pe,ae)}catch(Pe){return!0}return pe instanceof WeakMap}catch(Pe){}return!1}function Wn(pe){if(!V||!pe||typeof pe!="object")return!1;try{return V.call(pe),!0}catch(Pe){}return!1}function Hn(pe){if(!j||!pe||typeof pe!="object")return!1;try{j.call(pe);try{b.call(pe)}catch(Pe){return!0}return pe instanceof Set}catch(Pe){}return!1}function ei(pe){if(!ae||!pe||typeof pe!="object")return!1;try{ae.call(pe,ae);try{ie.call(pe,ie)}catch(Pe){return!0}return pe instanceof WeakSet}catch(Pe){}return!1}function ji(pe){return!pe||typeof pe!="object"?!1:typeof HTMLElement!="undefined"&&pe instanceof HTMLElement?!0:typeof pe.nodeName=="string"&&typeof pe.getAttribute=="function"}function vi(pe,Pe){if(pe.length>Pe.maxStringLength){var Je=pe.length-Pe.maxStringLength,xt="... "+Je+" more character"+(Je>1?"s":"");return vi(U.call(pe,0,Pe.maxStringLength),Pe)+xt}var _t=se.call(se.call(pe,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,jn);return yt(_t,"single",Pe)}function jn(pe){var Pe=pe.charCodeAt(0),Je={8:"b",9:"t",10:"n",12:"f",13:"r"}[Pe];return Je?"\\"+Je:"\\x"+(Pe<16?"0":"")+ne.call(Pe.toString(16))}function mn(pe){return"Object("+pe+")"}function vn(pe){return pe+" { ? }"}function fr(pe,Pe,Je,xt){var _t=xt?mt(Je,xt):H.call(Je,", ");return pe+" ("+Pe+") {"+_t+"}"}function Ft(pe){for(var Pe=0;Pe<pe.length;Pe++)if(er(pe[Pe],`
|
|
507
507
|
`)>=0)return!1;return!0}function At(pe,Pe){var Je;if(pe.indent===" ")Je=" ";else if(typeof pe.indent=="number"&&pe.indent>0)Je=H.call(Array(pe.indent+1)," ");else return null;return{base:Je,prev:H.call(Array(Pe+1),Je)}}function mt(pe,Pe){if(pe.length===0)return"";var Je=`
|
|
508
508
|
`+Pe.prev+Pe.base;return Je+H.call(pe,","+Je)+`
|
|
509
|
-
`+Pe.prev}function Tt(pe,Pe){var Je=Ke(pe),xt=[];if(Je){xt.length=pe.length;for(var _t=0;_t<pe.length;_t++)xt[_t]=ht(pe,_t)?Pe(pe[_t],pe):""}var Ot=typeof xe=="function"?xe(pe):[],Sr;if(Ne){Sr={};for(var sn=0;sn<Ot.length;sn++)Sr["$"+Ot[sn]]=Ot[sn]}for(var Xt in pe)ht(pe,Xt)&&(Je&&String(Number(Xt))===Xt&&Xt<pe.length||Ne&&Sr["$"+Xt]instanceof Symbol||(X.call(/[^\w$]/,Xt)?xt.push(Pe(Xt,pe)+": "+Pe(pe[Xt],pe)):xt.push(Xt+": "+Pe(pe[Xt],pe))));if(typeof xe=="function")for(var Rr=0;Rr<Ot.length;Rr++)Re.call(pe,Ot[Rr])&&xt.push("["+Pe(Ot[Rr])+"]: "+Pe(pe[Ot[Rr]],pe));return xt}},73656:x=>{var k=x.exports={},c,m;function w(){throw new Error("setTimeout has not been defined")}function b(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?c=setTimeout:c=w}catch(V){c=w}try{typeof clearTimeout=="function"?m=clearTimeout:m=b}catch(V){m=b}})();function _(V){if(c===setTimeout)return setTimeout(V,0);if((c===w||!c)&&setTimeout)return c=setTimeout,setTimeout(V,0);try{return c(V,0)}catch(J){try{return c.call(null,V,0)}catch(L){return c.call(this,V,0)}}}function A(V){if(m===clearTimeout)return clearTimeout(V);if((m===b||!m)&&clearTimeout)return m=clearTimeout,clearTimeout(V);try{return m(V)}catch(J){try{return m.call(null,V)}catch(L){return m.call(this,V)}}}var O=[],j=!1,$,K=-1;function ie(){!j||!$||(j=!1,$.length?O=$.concat(O):K=-1,O.length&&ee())}function ee(){if(!j){var V=_(ie);j=!0;for(var J=O.length;J;){for($=O,O=[];++K<J;)$&&$[K].run();K=-1,J=O.length}$=null,j=!1,A(V)}}k.nextTick=function(V){var J=new Array(arguments.length-1);if(arguments.length>1)for(var L=1;L<arguments.length;L++)J[L-1]=arguments[L];O.push(new ae(V,J)),O.length===1&&!j&&_(ee)};function ae(V,J){this.fun=V,this.array=J}ae.prototype.run=function(){this.fun.apply(null,this.array)},k.title="browser",k.browser=!0,k.env={},k.argv=[],k.version="",k.versions={};function q(){}k.on=q,k.addListener=q,k.once=q,k.off=q,k.removeListener=q,k.removeAllListeners=q,k.emit=q,k.prependListener=q,k.prependOnceListener=q,k.listeners=function(V){return[]},k.binding=function(V){throw new Error("process.binding is not supported")},k.cwd=function(){return"/"},k.chdir=function(V){throw new Error("process.chdir is not supported")},k.umask=function(){return 0}},1813:x=>{"use strict";var k=String.prototype.replace,c=/%20/g,m={RFC1738:"RFC1738",RFC3986:"RFC3986"};x.exports={default:m.RFC3986,formatters:{RFC1738:function(w){return k.call(w,c,"+")},RFC3986:function(w){return String(w)}},RFC1738:m.RFC1738,RFC3986:m.RFC3986}},71434:(x,k,c)=>{"use strict";var m=c(94915),w=c(54076),b=c(1813);x.exports={formats:b,parse:w,stringify:m}},54076:(x,k,c)=>{"use strict";var m=c(58417),w=Object.prototype.hasOwnProperty,b=Array.isArray,_={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:m.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},A=function(q){return q.replace(/&#(\d+);/g,function(V,J){return String.fromCharCode(parseInt(J,10))})},O=function(q,V){return q&&typeof q=="string"&&V.comma&&q.indexOf(",")>-1?q.split(","):q},j="utf8=%26%2310003%3B",$="utf8=%E2%9C%93",K=function(V,J){var L={},E=J.ignoreQueryPrefix?V.replace(/^\?/,""):V,N=J.parameterLimit===1/0?void 0:J.parameterLimit,U=E.split(J.delimiter,N),se=-1,ne,Y=J.charset;if(J.charsetSentinel)for(ne=0;ne<U.length;++ne)U[ne].indexOf("utf8=")===0&&(U[ne]===$?Y="utf-8":U[ne]===j&&(Y="iso-8859-1"),se=ne,ne=U.length);for(ne=0;ne<U.length;++ne)if(ne!==se){var X=U[ne],Q=X.indexOf("]="),H=Q===-1?X.indexOf("="):Q+1,de,Ae;H===-1?(de=J.decoder(X,_.decoder,Y,"key"),Ae=J.strictNullHandling?null:""):(de=J.decoder(X.slice(0,H),_.decoder,Y,"key"),Ae=m.maybeMap(O(X.slice(H+1),J),function(Z){return J.decoder(Z,_.decoder,Y,"value")})),Ae&&J.interpretNumericEntities&&Y==="iso-8859-1"&&(Ae=A(Ae)),X.indexOf("[]=")>-1&&(Ae=b(Ae)?[Ae]:Ae),w.call(L,de)?L[de]=m.combine(L[de],Ae):L[de]=Ae}return L},ie=function(q,V,J,L){for(var E=L?V:O(V,J),N=q.length-1;N>=0;--N){var U,se=q[N];if(se==="[]"&&J.parseArrays)U=[].concat(E);else{U=J.plainObjects?Object.create(null):{};var ne=se.charAt(0)==="["&&se.charAt(se.length-1)==="]"?se.slice(1,-1):se,Y=parseInt(ne,10);!J.parseArrays&&ne===""?U={0:E}:!isNaN(Y)&&se!==ne&&String(Y)===ne&&Y>=0&&J.parseArrays&&Y<=J.arrayLimit?(U=[],U[Y]=E):ne!=="__proto__"&&(U[ne]=E)}E=U}return E},ee=function(V,J,L,E){if(V){var N=L.allowDots?V.replace(/\.([^.[]+)/g,"[$1]"):V,U=/(\[[^[\]]*])/,se=/(\[[^[\]]*])/g,ne=L.depth>0&&U.exec(N),Y=ne?N.slice(0,ne.index):N,X=[];if(Y){if(!L.plainObjects&&w.call(Object.prototype,Y)&&!L.allowPrototypes)return;X.push(Y)}for(var Q=0;L.depth>0&&(ne=se.exec(N))!==null&&Q<L.depth;){if(Q+=1,!L.plainObjects&&w.call(Object.prototype,ne[1].slice(1,-1))&&!L.allowPrototypes)return;X.push(ne[1])}return ne&&X.push("["+N.slice(ne.index)+"]"),ie(X,J,L,E)}},ae=function(V){if(!V)return _;if(V.decoder!==null&&V.decoder!==void 0&&typeof V.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof V.charset!="undefined"&&V.charset!=="utf-8"&&V.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var J=typeof V.charset=="undefined"?_.charset:V.charset;return{allowDots:typeof V.allowDots=="undefined"?_.allowDots:!!V.allowDots,allowPrototypes:typeof V.allowPrototypes=="boolean"?V.allowPrototypes:_.allowPrototypes,allowSparse:typeof V.allowSparse=="boolean"?V.allowSparse:_.allowSparse,arrayLimit:typeof V.arrayLimit=="number"?V.arrayLimit:_.arrayLimit,charset:J,charsetSentinel:typeof V.charsetSentinel=="boolean"?V.charsetSentinel:_.charsetSentinel,comma:typeof V.comma=="boolean"?V.comma:_.comma,decoder:typeof V.decoder=="function"?V.decoder:_.decoder,delimiter:typeof V.delimiter=="string"||m.isRegExp(V.delimiter)?V.delimiter:_.delimiter,depth:typeof V.depth=="number"||V.depth===!1?+V.depth:_.depth,ignoreQueryPrefix:V.ignoreQueryPrefix===!0,interpretNumericEntities:typeof V.interpretNumericEntities=="boolean"?V.interpretNumericEntities:_.interpretNumericEntities,parameterLimit:typeof V.parameterLimit=="number"?V.parameterLimit:_.parameterLimit,parseArrays:V.parseArrays!==!1,plainObjects:typeof V.plainObjects=="boolean"?V.plainObjects:_.plainObjects,strictNullHandling:typeof V.strictNullHandling=="boolean"?V.strictNullHandling:_.strictNullHandling}};x.exports=function(q,V){var J=ae(V);if(q===""||q===null||typeof q=="undefined")return J.plainObjects?Object.create(null):{};for(var L=typeof q=="string"?K(q,J):q,E=J.plainObjects?Object.create(null):{},N=Object.keys(L),U=0;U<N.length;++U){var se=N[U],ne=ee(se,L[se],J,typeof q=="string");E=m.merge(E,ne,J)}return J.allowSparse===!0?E:m.compact(E)}},94915:(x,k,c)=>{"use strict";var m=c(44852),w=c(58417),b=c(1813),_=Object.prototype.hasOwnProperty,A={brackets:function(E){return E+"[]"},comma:"comma",indices:function(E,N){return E+"["+N+"]"},repeat:function(E){return E}},O=Array.isArray,j=Array.prototype.push,$=function(L,E){j.apply(L,O(E)?E:[E])},K=Date.prototype.toISOString,ie=b.default,ee={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:w.encode,encodeValuesOnly:!1,format:ie,formatter:b.formatters[ie],indices:!1,serializeDate:function(E){return K.call(E)},skipNulls:!1,strictNullHandling:!1},ae=function(E){return typeof E=="string"||typeof E=="number"||typeof E=="boolean"||typeof E=="symbol"||typeof E=="bigint"},q={},V=function L(E,N,U,se,ne,Y,X,Q,H,de,Ae,Z,xe,ue,Ne,He){for(var Re=E,ze=He,Be=0,Ye=!1;(ze=ze.get(q))!==void 0&&!Ye;){var gt=ze.get(E);if(Be+=1,typeof gt!="undefined"){if(gt===Be)throw new RangeError("Cyclic object value");Ye=!0}typeof ze.get(q)=="undefined"&&(Be=0)}if(typeof Q=="function"?Re=Q(N,Re):Re instanceof Date?Re=Ae(Re):U==="comma"&&O(Re)&&(Re=w.maybeMap(Re,function(Vr){return Vr instanceof Date?Ae(Vr):Vr})),Re===null){if(ne)return X&&!ue?X(N,ee.encoder,Ne,"key",Z):N;Re=""}if(ae(Re)||w.isBuffer(Re)){if(X){var ut=ue?N:X(N,ee.encoder,Ne,"key",Z);return[xe(ut)+"="+xe(X(Re,ee.encoder,Ne,"value",Z))]}return[xe(N)+"="+xe(String(Re))]}var yt=[];if(typeof Re=="undefined")return yt;var lt;if(U==="comma"&&O(Re))ue&&X&&(Re=w.maybeMap(Re,X)),lt=[{value:Re.length>0?Re.join(",")||null:void 0}];else if(O(Q))lt=Q;else{var Ke=Object.keys(Re);lt=H?Ke.sort(H):Ke}for(var Fe=se&&O(Re)&&Re.length===1?N+"[]":N,qe=0;qe<lt.length;++qe){var bt=lt[qe],Lt=typeof bt=="object"&&typeof bt.value!="undefined"?bt.value:Re[bt];if(!(Y&&Lt===null)){var Rt=O(Re)?typeof U=="function"?U(Fe,bt):Fe:Fe+(de?"."+bt:"["+bt+"]");He.set(E,Be);var zt=m();zt.set(q,He),$(yt,L(Lt,Rt,U,se,ne,Y,U==="comma"&&ue&&O(Re)?null:X,Q,H,de,Ae,Z,xe,ue,Ne,zt))}}return yt},J=function(E){if(!E)return ee;if(E.encoder!==null&&typeof E.encoder!="undefined"&&typeof E.encoder!="function")throw new TypeError("Encoder has to be a function.");var N=E.charset||ee.charset;if(typeof E.charset!="undefined"&&E.charset!=="utf-8"&&E.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var U=b.default;if(typeof E.format!="undefined"){if(!_.call(b.formatters,E.format))throw new TypeError("Unknown format option provided.");U=E.format}var se=b.formatters[U],ne=ee.filter;return(typeof E.filter=="function"||O(E.filter))&&(ne=E.filter),{addQueryPrefix:typeof E.addQueryPrefix=="boolean"?E.addQueryPrefix:ee.addQueryPrefix,allowDots:typeof E.allowDots=="undefined"?ee.allowDots:!!E.allowDots,charset:N,charsetSentinel:typeof E.charsetSentinel=="boolean"?E.charsetSentinel:ee.charsetSentinel,delimiter:typeof E.delimiter=="undefined"?ee.delimiter:E.delimiter,encode:typeof E.encode=="boolean"?E.encode:ee.encode,encoder:typeof E.encoder=="function"?E.encoder:ee.encoder,encodeValuesOnly:typeof E.encodeValuesOnly=="boolean"?E.encodeValuesOnly:ee.encodeValuesOnly,filter:ne,format:U,formatter:se,serializeDate:typeof E.serializeDate=="function"?E.serializeDate:ee.serializeDate,skipNulls:typeof E.skipNulls=="boolean"?E.skipNulls:ee.skipNulls,sort:typeof E.sort=="function"?E.sort:null,strictNullHandling:typeof E.strictNullHandling=="boolean"?E.strictNullHandling:ee.strictNullHandling}};x.exports=function(L,E){var N=L,U=J(E),se,ne;typeof U.filter=="function"?(ne=U.filter,N=ne("",N)):O(U.filter)&&(ne=U.filter,se=ne);var Y=[];if(typeof N!="object"||N===null)return"";var X;E&&E.arrayFormat in A?X=E.arrayFormat:E&&"indices"in E?X=E.indices?"indices":"repeat":X="indices";var Q=A[X];if(E&&"commaRoundTrip"in E&&typeof E.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var H=Q==="comma"&&E&&E.commaRoundTrip;se||(se=Object.keys(N)),U.sort&&se.sort(U.sort);for(var de=m(),Ae=0;Ae<se.length;++Ae){var Z=se[Ae];U.skipNulls&&N[Z]===null||$(Y,V(N[Z],Z,Q,H,U.strictNullHandling,U.skipNulls,U.encode?U.encoder:null,U.filter,U.sort,U.allowDots,U.serializeDate,U.format,U.formatter,U.encodeValuesOnly,U.charset,de))}var xe=Y.join(U.delimiter),ue=U.addQueryPrefix===!0?"?":"";return U.charsetSentinel&&(U.charset==="iso-8859-1"?ue+="utf8=%26%2310003%3B&":ue+="utf8=%E2%9C%93&"),xe.length>0?ue+xe:""}},58417:(x,k,c)=>{"use strict";var m=c(1813),w=Object.prototype.hasOwnProperty,b=Array.isArray,_=function(){for(var L=[],E=0;E<256;++E)L.push("%"+((E<16?"0":"")+E.toString(16)).toUpperCase());return L}(),A=function(E){for(;E.length>1;){var N=E.pop(),U=N.obj[N.prop];if(b(U)){for(var se=[],ne=0;ne<U.length;++ne)typeof U[ne]!="undefined"&&se.push(U[ne]);N.obj[N.prop]=se}}},O=function(E,N){for(var U=N&&N.plainObjects?Object.create(null):{},se=0;se<E.length;++se)typeof E[se]!="undefined"&&(U[se]=E[se]);return U},j=function L(E,N,U){if(!N)return E;if(typeof N!="object"){if(b(E))E.push(N);else if(E&&typeof E=="object")(U&&(U.plainObjects||U.allowPrototypes)||!w.call(Object.prototype,N))&&(E[N]=!0);else return[E,N];return E}if(!E||typeof E!="object")return[E].concat(N);var se=E;return b(E)&&!b(N)&&(se=O(E,U)),b(E)&&b(N)?(N.forEach(function(ne,Y){if(w.call(E,Y)){var X=E[Y];X&&typeof X=="object"&&ne&&typeof ne=="object"?E[Y]=L(X,ne,U):E.push(ne)}else E[Y]=ne}),E):Object.keys(N).reduce(function(ne,Y){var X=N[Y];return w.call(ne,Y)?ne[Y]=L(ne[Y],X,U):ne[Y]=X,ne},se)},$=function(E,N){return Object.keys(N).reduce(function(U,se){return U[se]=N[se],U},E)},K=function(L,E,N){var U=L.replace(/\+/g," ");if(N==="iso-8859-1")return U.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(U)}catch(se){return U}},ie=function(E,N,U,se,ne){if(E.length===0)return E;var Y=E;if(typeof E=="symbol"?Y=Symbol.prototype.toString.call(E):typeof E!="string"&&(Y=String(E)),U==="iso-8859-1")return escape(Y).replace(/%u[0-9a-f]{4}/gi,function(de){return"%26%23"+parseInt(de.slice(2),16)+"%3B"});for(var X="",Q=0;Q<Y.length;++Q){var H=Y.charCodeAt(Q);if(H===45||H===46||H===95||H===126||H>=48&&H<=57||H>=65&&H<=90||H>=97&&H<=122||ne===m.RFC1738&&(H===40||H===41)){X+=Y.charAt(Q);continue}if(H<128){X=X+_[H];continue}if(H<2048){X=X+(_[192|H>>6]+_[128|H&63]);continue}if(H<55296||H>=57344){X=X+(_[224|H>>12]+_[128|H>>6&63]+_[128|H&63]);continue}Q+=1,H=65536+((H&1023)<<10|Y.charCodeAt(Q)&1023),X+=_[240|H>>18]+_[128|H>>12&63]+_[128|H>>6&63]+_[128|H&63]}return X},ee=function(E){for(var N=[{obj:{o:E},prop:"o"}],U=[],se=0;se<N.length;++se)for(var ne=N[se],Y=ne.obj[ne.prop],X=Object.keys(Y),Q=0;Q<X.length;++Q){var H=X[Q],de=Y[H];typeof de=="object"&&de!==null&&U.indexOf(de)===-1&&(N.push({obj:Y,prop:H}),U.push(de))}return A(N),E},ae=function(E){return Object.prototype.toString.call(E)==="[object RegExp]"},q=function(E){return!E||typeof E!="object"?!1:!!(E.constructor&&E.constructor.isBuffer&&E.constructor.isBuffer(E))},V=function(E,N){return[].concat(E,N)},J=function(E,N){if(b(E)){for(var U=[],se=0;se<E.length;se+=1)U.push(N(E[se]));return U}return N(E)};x.exports={arrayToObject:O,assign:$,combine:V,compact:ee,decode:K,encode:ie,isBuffer:q,isRegExp:ae,maybeMap:J,merge:j}},68951:(x,k,c)=>{"use strict";var m;function w(){return w=Object.assign||function(ae){for(var q=1;q<arguments.length;q++){var V=arguments[q];for(var J in V)Object.prototype.hasOwnProperty.call(V,J)&&(ae[J]=V[J])}return ae},w.apply(this,arguments)}function b(ae){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(V){return typeof V}:b=function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},b(ae)}var _=function(){var ae=function(V,J){return ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,E){L.__proto__=E}||function(L,E){for(var N in E)E.hasOwnProperty(N)&&(L[N]=E[N])},ae(V,J)};return function(q,V){ae(q,V);function J(){this.constructor=q}q.prototype=V===null?Object.create(V):(J.prototype=V.prototype,new J)}}();m={value:!0},m=k.fk=void 0;var A=c(29901),O=typeof navigator=="undefined"||c.g.PREVENT_CODEMIRROR_RENDER===!0,j;O||(j=c(46944));var $=function(){function ae(){}return ae.equals=function(q,V){var J=this,L=Object.keys,E=b(q),N=b(V);return q&&V&&E==="object"&&E===N?L(q).length===L(V).length&&L(q).every(function(U){return J.equals(q[U],V[U])}):q===V},ae}(),K=function(){function ae(q,V){this.editor=q,this.props=V}return ae.prototype.delegateCursor=function(q,V,J){var L=this.editor.getDoc();J&&this.editor.focus(),V?L.setCursor(q):L.setCursor(q,null,{scroll:!1})},ae.prototype.delegateScroll=function(q){this.editor.scrollTo(q.x,q.y)},ae.prototype.delegateSelection=function(q,V){var J=this.editor.getDoc();J.setSelections(q),V&&this.editor.focus()},ae.prototype.apply=function(q){q&&q.selection&&q.selection.ranges&&this.delegateSelection(q.selection.ranges,q.selection.focus||!1),q&&q.cursor&&this.delegateCursor(q.cursor,q.autoScroll||!1,this.editor.getOption("autofocus")||!1),q&&q.scroll&&this.delegateScroll(q.scroll)},ae.prototype.applyNext=function(q,V,J){q&&q.selection&&q.selection.ranges&&V&&V.selection&&V.selection.ranges&&!$.equals(q.selection.ranges,V.selection.ranges)&&this.delegateSelection(V.selection.ranges,V.selection.focus||!1),q&&q.cursor&&V&&V.cursor&&!$.equals(q.cursor,V.cursor)&&this.delegateCursor(J.cursor||V.cursor,V.autoScroll||!1,V.autoCursor||!1),q&&q.scroll&&V&&V.scroll&&!$.equals(q.scroll,V.scroll)&&this.delegateScroll(V.scroll)},ae.prototype.applyUserDefined=function(q,V){V&&V.cursor&&this.delegateCursor(V.cursor,q.autoScroll||!1,this.editor.getOption("autofocus")||!1)},ae.prototype.wire=function(q){var V=this;Object.keys(q||{}).filter(function(J){return/^on/.test(J)}).forEach(function(J){switch(J){case"onBlur":V.editor.on("blur",function(L,E){V.props.onBlur(V.editor,E)});break;case"onContextMenu":{V.editor.on("contextmenu",function(L,E){V.props.onContextMenu(V.editor,E)});break}case"onCopy":{V.editor.on("copy",function(L,E){V.props.onCopy(V.editor,E)});break}case"onCursor":V.editor.on("cursorActivity",function(L){V.props.onCursor(V.editor,V.editor.getDoc().getCursor())});break;case"onCursorActivity":V.editor.on("cursorActivity",function(L){V.props.onCursorActivity(V.editor)});break;case"onCut":{V.editor.on("cut",function(L,E){V.props.onCut(V.editor,E)});break}case"onDblClick":{V.editor.on("dblclick",function(L,E){V.props.onDblClick(V.editor,E)});break}case"onDragEnter":V.editor.on("dragenter",function(L,E){V.props.onDragEnter(V.editor,E)});break;case"onDragLeave":{V.editor.on("dragleave",function(L,E){V.props.onDragLeave(V.editor,E)});break}case"onDragOver":V.editor.on("dragover",function(L,E){V.props.onDragOver(V.editor,E)});break;case"onDragStart":{V.editor.on("dragstart",function(L,E){V.props.onDragStart(V.editor,E)});break}case"onDrop":V.editor.on("drop",function(L,E){V.props.onDrop(V.editor,E)});break;case"onFocus":V.editor.on("focus",function(L,E){V.props.onFocus(V.editor,E)});break;case"onGutterClick":V.editor.on("gutterClick",function(L,E,N,U){V.props.onGutterClick(V.editor,E,N,U)});break;case"onInputRead":V.editor.on("inputRead",function(L,E){V.props.onInputRead(V.editor,E)});break;case"onKeyDown":V.editor.on("keydown",function(L,E){V.props.onKeyDown(V.editor,E)});break;case"onKeyHandled":V.editor.on("keyHandled",function(L,E,N){V.props.onKeyHandled(V.editor,E,N)});break;case"onKeyPress":V.editor.on("keypress",function(L,E){V.props.onKeyPress(V.editor,E)});break;case"onKeyUp":V.editor.on("keyup",function(L,E){V.props.onKeyUp(V.editor,E)});break;case"onMouseDown":{V.editor.on("mousedown",function(L,E){V.props.onMouseDown(V.editor,E)});break}case"onPaste":{V.editor.on("paste",function(L,E){V.props.onPaste(V.editor,E)});break}case"onRenderLine":{V.editor.on("renderLine",function(L,E,N){V.props.onRenderLine(V.editor,E,N)});break}case"onScroll":V.editor.on("scroll",function(L){V.props.onScroll(V.editor,V.editor.getScrollInfo())});break;case"onSelection":V.editor.on("beforeSelectionChange",function(L,E){V.props.onSelection(V.editor,E)});break;case"onTouchStart":{V.editor.on("touchstart",function(L,E){V.props.onTouchStart(V.editor,E)});break}case"onUpdate":V.editor.on("update",function(L){V.props.onUpdate(V.editor)});break;case"onViewportChange":V.editor.on("viewportChange",function(L,E,N){V.props.onViewportChange(V.editor,E,N)});break}})},ae}(),ie=function(ae){_(q,ae);function q(V){var J=ae.call(this,V)||this;return O||(J.applied=!1,J.appliedNext=!1,J.appliedUserDefined=!1,J.deferred=null,J.emulating=!1,J.hydrated=!1,J.initCb=function(){J.props.editorDidConfigure&&J.props.editorDidConfigure(J.editor)},J.mounted=!1),J}return q.prototype.hydrate=function(V){var J=this,L=V&&V.options?V.options:{},E=w({},j.defaults,this.editor.options,L),N=Object.keys(E).some(function(U){return J.editor.getOption(U)!==E[U]});N&&Object.keys(E).forEach(function(U){L.hasOwnProperty(U)&&J.editor.getOption(U)!==E[U]&&(J.editor.setOption(U,E[U]),J.mirror.setOption(U,E[U]))}),this.hydrated||(this.deferred?this.resolveChange(V.value):this.initChange(V.value||"")),this.hydrated=!0},q.prototype.initChange=function(V){this.emulating=!0;var J=this.editor.getDoc(),L=J.lastLine(),E=J.getLine(J.lastLine()).length;J.replaceRange(V||"",{line:0,ch:0},{line:L,ch:E}),this.mirror.setValue(V),J.clearHistory(),this.mirror.clearHistory(),this.emulating=!1},q.prototype.resolveChange=function(V){this.emulating=!0;var J=this.editor.getDoc();if(this.deferred.origin==="undo"?J.undo():this.deferred.origin==="redo"?J.redo():J.replaceRange(this.deferred.text,this.deferred.from,this.deferred.to,this.deferred.origin),V&&V!==J.getValue()){var L=J.getCursor();J.setValue(V),J.setCursor(L)}this.emulating=!1,this.deferred=null},q.prototype.mirrorChange=function(V){var J=this.editor.getDoc();return V.origin==="undo"?(J.setHistory(this.mirror.getHistory()),this.mirror.undo()):V.origin==="redo"?(J.setHistory(this.mirror.getHistory()),this.mirror.redo()):this.mirror.replaceRange(V.text,V.from,V.to,V.origin),this.mirror.getValue()},q.prototype.componentDidMount=function(){var V=this;O||(this.props.defineMode&&this.props.defineMode.name&&this.props.defineMode.fn&&j.defineMode(this.props.defineMode.name,this.props.defineMode.fn),this.editor=j(this.ref,this.props.options),this.shared=new K(this.editor,this.props),this.mirror=j(function(){},this.props.options),this.editor.on("electricInput",function(){V.mirror.setHistory(V.editor.getDoc().getHistory())}),this.editor.on("cursorActivity",function(){V.mirror.setCursor(V.editor.getDoc().getCursor())}),this.editor.on("beforeChange",function(J,L){if(!V.emulating){L.cancel(),V.deferred=L;var E=V.mirrorChange(V.deferred);V.props.onBeforeChange&&V.props.onBeforeChange(V.editor,V.deferred,E)}}),this.editor.on("change",function(J,L){V.mounted&&V.props.onChange&&V.props.onChange(V.editor,L,V.editor.getValue())}),this.hydrate(this.props),this.shared.apply(this.props),this.applied=!0,this.mounted=!0,this.shared.wire(this.props),this.editor.getOption("autofocus")&&this.editor.focus(),this.props.editorDidMount&&this.props.editorDidMount(this.editor,this.editor.getValue(),this.initCb))},q.prototype.componentDidUpdate=function(V){if(!O){var J={cursor:null};this.props.value!==V.value&&(this.hydrated=!1),!this.props.autoCursor&&this.props.autoCursor!==void 0&&(J.cursor=this.editor.getDoc().getCursor()),this.hydrate(this.props),this.appliedNext||(this.shared.applyNext(V,this.props,J),this.appliedNext=!0),this.shared.applyUserDefined(V,J),this.appliedUserDefined=!0}},q.prototype.componentWillUnmount=function(){O||this.props.editorWillUnmount&&this.props.editorWillUnmount(j)},q.prototype.shouldComponentUpdate=function(V,J){return!O},q.prototype.render=function(){var V=this;if(O)return null;var J=this.props.className?"react-codemirror2 "+this.props.className:"react-codemirror2";return A.createElement("div",{className:J,ref:function(E){return V.ref=E}})},q}(A.Component);k.fk=ie;var ee=function(ae){_(q,ae);function q(V){var J=ae.call(this,V)||this;return O||(J.applied=!1,J.appliedUserDefined=!1,J.continueChange=!1,J.detached=!1,J.hydrated=!1,J.initCb=function(){J.props.editorDidConfigure&&J.props.editorDidConfigure(J.editor)},J.mounted=!1,J.onBeforeChangeCb=function(){J.continueChange=!0}),J}return q.prototype.hydrate=function(V){var J=this,L=V&&V.options?V.options:{},E=w({},j.defaults,this.editor.options,L),N=Object.keys(E).some(function(Y){return J.editor.getOption(Y)!==E[Y]});if(N&&Object.keys(E).forEach(function(Y){L.hasOwnProperty(Y)&&J.editor.getOption(Y)!==E[Y]&&J.editor.setOption(Y,E[Y])}),!this.hydrated){var U=this.editor.getDoc(),se=U.lastLine(),ne=U.getLine(U.lastLine()).length;U.replaceRange(V.value||"",{line:0,ch:0},{line:se,ch:ne})}this.hydrated=!0},q.prototype.componentDidMount=function(){var V=this;O||(this.detached=this.props.detach===!0,this.props.defineMode&&this.props.defineMode.name&&this.props.defineMode.fn&&j.defineMode(this.props.defineMode.name,this.props.defineMode.fn),this.editor=j(this.ref,this.props.options),this.shared=new K(this.editor,this.props),this.editor.on("beforeChange",function(J,L){V.props.onBeforeChange&&V.props.onBeforeChange(V.editor,L,V.editor.getValue(),V.onBeforeChangeCb)}),this.editor.on("change",function(J,L){!V.mounted||!V.props.onChange||(V.props.onBeforeChange?V.continueChange&&V.props.onChange(V.editor,L,V.editor.getValue()):V.props.onChange(V.editor,L,V.editor.getValue()))}),this.hydrate(this.props),this.shared.apply(this.props),this.applied=!0,this.mounted=!0,this.shared.wire(this.props),this.editor.getDoc().clearHistory(),this.props.editorDidMount&&this.props.editorDidMount(this.editor,this.editor.getValue(),this.initCb))},q.prototype.componentDidUpdate=function(V){if(this.detached&&this.props.detach===!1&&(this.detached=!1,V.editorDidAttach&&V.editorDidAttach(this.editor)),!this.detached&&this.props.detach===!0&&(this.detached=!0,V.editorDidDetach&&V.editorDidDetach(this.editor)),!(O||this.detached)){var J={cursor:null};this.props.value!==V.value&&(this.hydrated=!1,this.applied=!1,this.appliedUserDefined=!1),!V.autoCursor&&V.autoCursor!==void 0&&(J.cursor=this.editor.getDoc().getCursor()),this.hydrate(this.props),this.applied||(this.shared.apply(V),this.applied=!0),this.appliedUserDefined||(this.shared.applyUserDefined(V,J),this.appliedUserDefined=!0)}},q.prototype.componentWillUnmount=function(){O||this.props.editorWillUnmount&&this.props.editorWillUnmount(j)},q.prototype.shouldComponentUpdate=function(V,J){var L=!0;return O&&(L=!1),this.detached&&V.detach&&(L=!1),L},q.prototype.render=function(){var V=this;if(O)return null;var J=this.props.className?"react-codemirror2 "+this.props.className:"react-codemirror2";return A.createElement("div",{className:J,ref:function(E){return V.ref=E}})},q}(A.Component);m=ee},44852:(x,k,c)=>{"use strict";var m=c(71013),w=c(2864),b=c(14927),_=m("%TypeError%"),A=m("%WeakMap%",!0),O=m("%Map%",!0),j=w("WeakMap.prototype.get",!0),$=w("WeakMap.prototype.set",!0),K=w("WeakMap.prototype.has",!0),ie=w("Map.prototype.get",!0),ee=w("Map.prototype.set",!0),ae=w("Map.prototype.has",!0),q=function(E,N){for(var U=E,se;(se=U.next)!==null;U=se)if(se.key===N)return U.next=se.next,se.next=E.next,E.next=se,se},V=function(E,N){var U=q(E,N);return U&&U.value},J=function(E,N,U){var se=q(E,N);se?se.value=U:E.next={key:N,next:E.next,value:U}},L=function(E,N){return!!q(E,N)};x.exports=function(){var N,U,se,ne={assert:function(Y){if(!ne.has(Y))throw new _("Side channel does not contain "+b(Y))},get:function(Y){if(A&&Y&&(typeof Y=="object"||typeof Y=="function")){if(N)return j(N,Y)}else if(O){if(U)return ie(U,Y)}else if(se)return V(se,Y)},has:function(Y){if(A&&Y&&(typeof Y=="object"||typeof Y=="function")){if(N)return K(N,Y)}else if(O){if(U)return ae(U,Y)}else if(se)return L(se,Y);return!1},set:function(Y,X){A&&Y&&(typeof Y=="object"||typeof Y=="function")?(N||(N=new A),$(N,Y,X)):O?(U||(U=new O),ee(U,Y,X)):(se||(se={key:{},next:null}),J(se,Y,X))}};return ne}},56182:x=>{(function(){"use strict";var k,c,m,w,b,_="properties",A="deepProperties",O="propertyDescriptors",j="staticProperties",$="staticDeepProperties",K="staticPropertyDescriptors",ie="configuration",ee="deepConfiguration",ae="deepProps",q="deepStatics",V="deepConf",J="initializers",L="methods",E="composers",N="compose";function U(Re){return Object.getOwnPropertyNames(Re).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(Re):[])}function se(Re,ze){return Array.prototype.slice.call(arguments,2).reduce(Re,ze)}var ne=se.bind(0,function(ze,Be){if(Be)for(var Ye=U(Be),gt=0;gt<Ye.length;gt+=1)Object.defineProperty(ze,Ye[gt],Object.getOwnPropertyDescriptor(Be,Ye[gt]));return ze});function Y(Re){return typeof Re=="function"}function X(Re){return Re&&typeof Re=="object"||Y(Re)}function Q(Re){return Re&&typeof Re=="object"&&Re.__proto__==Object.prototype}var H=se.bind(0,function Re(ze,Be){if(Be===k)return ze;if(Array.isArray(Be))return(Array.isArray(ze)?ze:[]).concat(Be);if(!Q(Be))return Be;for(var Ye,gt,ut=U(Be),yt=0;yt<ut.length;)Ye=ut[yt++],(gt=Object.getOwnPropertyDescriptor(Be,Ye)).hasOwnProperty("value")?gt.value!==k&&(ze[Ye]=Re(Q(ze[Ye])||Array.isArray(Be[Ye])?ze[Ye]:{},Be[Ye])):Object.defineProperty(ze,Ye,gt);return ze});function de(){return(c=Array.prototype.concat.apply([],arguments).filter(function(Re,ze,Be){return Y(Re)&&Be.indexOf(Re)===ze})).length?c:k}function Ae(Re){return c=function(){return function Be(Ye){var gt,ut,yt=Be[N]||{},lt={__proto__:yt[L]},Ke=yt[J],Fe=Array.prototype.slice.apply(arguments),qe=yt[A];if(qe&&H(lt,qe),(qe=yt[_])&&ne(lt,qe),(qe=yt[O])&&Object.defineProperties(lt,qe),!Ke||!Ke.length)return lt;for(Ye===k&&(Ye={}),yt=0;yt<Ke.length;)Y(gt=Ke[yt++])&&(lt=(ut=gt.call(lt,Ye,{instance:lt,stamp:Be,args:Fe}))===k?lt:ut);return lt}}(),(m=Re[$])&&H(c,m),(m=Re[j])&&ne(c,m),(m=Re[K])&&Object.defineProperties(c,m),m=Y(c[N])?c[N]:xe,ne(c[N]=function(){return m.apply(this,arguments)},Re),c}function Z(Re,ze){function Be(gt,ut){X(ze[gt])&&(X(Re[gt])||(Re[gt]={}),(ut||ne)(Re[gt],ze[gt]))}function Ye(gt){(c=de(Re[gt],ze[gt]))&&(Re[gt]=c)}return ze&&X(ze=ze[N]||ze)&&(Be(L),Be(_),Be(A,H),Be(O),Be(j),Be($,H),Be(K),Be(ie),Be(ee,H),Ye(J),Ye(E)),Re}function xe(){return Ae(Array.prototype.concat.apply([this],arguments).reduce(Z,{}))}function ue(Re){return Y(Re)&&Y(Re[N])}var Ne={};function He(Re,ze){return function(){return(w={})[Re]=ze.apply(k,Array.prototype.concat.apply([{}],arguments)),((c=this)&&c[N]||m).call(c,w)}}Ne[L]=He(L,ne),Ne[_]=Ne.props=He(_,ne),Ne[J]=Ne.init=He(J,de),Ne[E]=He(E,de),Ne[A]=Ne[ae]=He(A,H),Ne[j]=Ne.statics=He(j,ne),Ne[$]=Ne[q]=He($,H),Ne[ie]=Ne.conf=He(ie,ne),Ne[ee]=Ne[V]=He(ee,H),Ne[O]=He(O,ne),Ne[K]=He(K,ne),m=Ne[N]=ne(function(){for(var ze,Be,Ye=0,gt=[],ut=arguments,yt=this;Ye<ut.length;)X(ze=ut[Ye++])&>.push(ue(ze)?ze:((w={})[L]=(Be=ze)[L]||k,m=Be.props,w[_]=X((c=Be[_])||m)?ne({},m,c):k,w[J]=de(Be.init,Be[J]),w[E]=de(Be[E]),m=Be[ae],w[A]=X((c=Be[A])||m)?H({},m,c):k,w[O]=Be[O],m=Be.statics,w[j]=X((c=Be[j])||m)?ne({},m,c):k,m=Be[q],w[$]=X((c=Be[$])||m)?H({},m,c):k,c=Be[K],w[K]=X((m=Be.name&&{name:{value:Be.name}})||c)?ne({},c,m):k,m=Be.conf,w[ie]=X((c=Be[ie])||m)?ne({},m,c):k,m=Be[V],w[ee]=X((c=Be[ee])||m)?H({},m,c):k,w));if(ze=xe.apply(yt||b,gt),yt&>.unshift(yt),Array.isArray(ut=ze[N][E]))for(Ye=0;Ye<ut.length;)ze=ue(yt=ut[Ye++]({stamp:ze,composables:gt}))?yt:ze;return ze},Ne),Ne.create=function(){return this.apply(k,arguments)},(w={})[j]=Ne,b=xe(w),m[N]=m.bind(),m.version="4.3.2",typeof k!="object"?x.exports=m:self.stampit=m})()},47463:(x,k,c)=>{var m=c(17292),w=c(58988);w=w.__esModule?w.default:w,typeof w=="string"&&(w=[[x.id,w,""]]);var b={};b.insert="head",b.singleton=!1;var _=m(w,b);x.exports=w.locals||{}},68286:(x,k,c)=>{var m=c(17292),w=c(31738);w=w.__esModule?w.default:w,typeof w=="string"&&(w=[[x.id,w,""]]);var b={};b.insert="head",b.singleton=!1;var _=m(w,b);x.exports=w.locals||{}},19372:(x,k,c)=>{var m=c(17292),w=c(43395);w=w.__esModule?w.default:w,typeof w=="string"&&(w=[[x.id,w,""]]);var b={};b.insert="head",b.singleton=!1;var _=m(w,b);x.exports=w.locals||{}},47629:(x,k,c)=>{var m=c(17292),w=c(98036);w=w.__esModule?w.default:w,typeof w=="string"&&(w=[[x.id,w,""]]);var b={};b.insert="head",b.singleton=!1;var _=m(w,b);x.exports=w.locals||{}},87767:x=>{"use strict";function k(V){return Object.prototype.toString.call(V)}function c(V){return k(V)==="[object Date]"}function m(V){return k(V)==="[object RegExp]"}function w(V){return k(V)==="[object Error]"}function b(V){return k(V)==="[object Boolean]"}function _(V){return k(V)==="[object Number]"}function A(V){return k(V)==="[object String]"}var O=Array.isArray||function(J){return Object.prototype.toString.call(J)==="[object Array]"};function j(V,J){if(V.forEach)return V.forEach(J);for(var L=0;L<V.length;L++)J(V[L],L,V)}var $=Object.keys||function(J){var L=[];for(var E in J)L.push(E);return L},K=Object.prototype.hasOwnProperty||function(V,J){return J in V};function ie(V){if(typeof V=="object"&&V!==null){var J;if(O(V))J=[];else if(c(V))J=new Date(V.getTime?V.getTime():V);else if(m(V))J=new RegExp(V);else if(w(V))J={message:V.message};else if(b(V)||_(V)||A(V))J=Object(V);else if(Object.create&&Object.getPrototypeOf)J=Object.create(Object.getPrototypeOf(V));else if(V.constructor===Object)J={};else{var L=V.constructor&&V.constructor.prototype||V.__proto__||{},E=function(){};E.prototype=L,J=new E}return j($(V),function(N){J[N]=V[N]}),J}return V}function ee(V,J,L){var E=[],N=[],U=!0;return function se(ne){var Y=L?ie(ne):ne,X={},Q=!0,H={node:Y,node_:ne,path:[].concat(E),parent:N[N.length-1],parents:N,key:E[E.length-1],isRoot:E.length===0,level:E.length,circular:null,update:function(Z,xe){H.isRoot||(H.parent.node[H.key]=Z),H.node=Z,xe&&(Q=!1)},delete:function(Z){delete H.parent.node[H.key],Z&&(Q=!1)},remove:function(Z){O(H.parent.node)?H.parent.node.splice(H.key,1):delete H.parent.node[H.key],Z&&(Q=!1)},keys:null,before:function(Z){X.before=Z},after:function(Z){X.after=Z},pre:function(Z){X.pre=Z},post:function(Z){X.post=Z},stop:function(){U=!1},block:function(){Q=!1}};if(!U)return H;function de(){if(typeof H.node=="object"&&H.node!==null){(!H.keys||H.node_!==H.node)&&(H.keys=$(H.node)),H.isLeaf=H.keys.length===0;for(var Z=0;Z<N.length;Z++)if(N[Z].node_===ne){H.circular=N[Z];break}}else H.isLeaf=!0,H.keys=null;H.notLeaf=!H.isLeaf,H.notRoot=!H.isRoot}de();var Ae=J.call(H,H.node);return Ae!==void 0&&H.update&&H.update(Ae),X.before&&X.before.call(H,H.node),Q&&(typeof H.node=="object"&&H.node!==null&&!H.circular&&(N.push(H),de(),j(H.keys,function(Z,xe){E.push(Z),X.pre&&X.pre.call(H,H.node[Z],Z);var ue=se(H.node[Z]);L&&K.call(H.node,Z)&&(H.node[Z]=ue.node),ue.isLast=xe===H.keys.length-1,ue.isFirst=xe===0,X.post&&X.post.call(H,ue),E.pop()}),N.pop()),X.after&&X.after.call(H,H.node)),H}(V).node}function ae(V){this.value=V}ae.prototype.get=function(V){for(var J=this.value,L=0;L<V.length;L++){var E=V[L];if(!J||!K.call(J,E))return;J=J[E]}return J},ae.prototype.has=function(V){for(var J=this.value,L=0;L<V.length;L++){var E=V[L];if(!J||!K.call(J,E))return!1;J=J[E]}return!0},ae.prototype.set=function(V,J){for(var L=this.value,E=0;E<V.length-1;E++){var N=V[E];K.call(L,N)||(L[N]={}),L=L[N]}return L[V[E]]=J,J},ae.prototype.map=function(V){return ee(this.value,V,!0)},ae.prototype.forEach=function(V){return this.value=ee(this.value,V,!1),this.value},ae.prototype.reduce=function(V,J){var L=arguments.length===1,E=L?this.value:J;return this.forEach(function(N){(!this.isRoot||!L)&&(E=V.call(this,E,N))}),E},ae.prototype.paths=function(){var V=[];return this.forEach(function(){V.push(this.path)}),V},ae.prototype.nodes=function(){var V=[];return this.forEach(function(){V.push(this.node)}),V},ae.prototype.clone=function(){var V=[],J=[];return function L(E){for(var N=0;N<V.length;N++)if(V[N]===E)return J[N];if(typeof E=="object"&&E!==null){var U=ie(E);return V.push(E),J.push(U),j($(E),function(se){U[se]=L(E[se])}),V.pop(),J.pop(),U}return E}(this.value)};function q(V){return new ae(V)}j($(ae.prototype),function(V){q[V]=function(J){var L=[].slice.call(arguments,1),E=new ae(J);return E[V].apply(E,L)}}),x.exports=q},56089:x=>{"use strict";x.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg=="},17735:x=>{"use strict";x.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII="},96192:x=>{"use strict";x.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC"},71090:x=>{"use strict";x.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII="},46050:x=>{"use strict";x.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII="},65710:()=>{},93652:(x,k,c)=>{x.exports=c(24018)},10017:(x,k,c)=>{x.exports=c(27411)},34961:(x,k,c)=>{x.exports=c(79155)},86751:(x,k,c)=>{x.exports=c(13375)},12953:(x,k,c)=>{x.exports=c(95442)},77844:(x,k,c)=>{x.exports=c(55334)},86351:(x,k,c)=>{x.exports=c(48261)},70762:(x,k,c)=>{x.exports=c(92864)},10954:(x,k,c)=>{x.exports=c(27923)},55839:(x,k,c)=>{x.exports=c(89225)},23422:(x,k,c)=>{x.exports=c(95281)},47319:(x,k,c)=>{x.exports=c(55468)}}]);
|
|
509
|
+
`+Pe.prev}function Tt(pe,Pe){var Je=Ke(pe),xt=[];if(Je){xt.length=pe.length;for(var _t=0;_t<pe.length;_t++)xt[_t]=ht(pe,_t)?Pe(pe[_t],pe):""}var Ot=typeof xe=="function"?xe(pe):[],Sr;if(Ne){Sr={};for(var sn=0;sn<Ot.length;sn++)Sr["$"+Ot[sn]]=Ot[sn]}for(var Xt in pe)ht(pe,Xt)&&(Je&&String(Number(Xt))===Xt&&Xt<pe.length||Ne&&Sr["$"+Xt]instanceof Symbol||(X.call(/[^\w$]/,Xt)?xt.push(Pe(Xt,pe)+": "+Pe(pe[Xt],pe)):xt.push(Xt+": "+Pe(pe[Xt],pe))));if(typeof xe=="function")for(var Rr=0;Rr<Ot.length;Rr++)Re.call(pe,Ot[Rr])&&xt.push("["+Pe(Ot[Rr])+"]: "+Pe(pe[Ot[Rr]],pe));return xt}},73656:x=>{var k=x.exports={},c,m;function w(){throw new Error("setTimeout has not been defined")}function b(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?c=setTimeout:c=w}catch(V){c=w}try{typeof clearTimeout=="function"?m=clearTimeout:m=b}catch(V){m=b}})();function _(V){if(c===setTimeout)return setTimeout(V,0);if((c===w||!c)&&setTimeout)return c=setTimeout,setTimeout(V,0);try{return c(V,0)}catch(J){try{return c.call(null,V,0)}catch(L){return c.call(this,V,0)}}}function A(V){if(m===clearTimeout)return clearTimeout(V);if((m===b||!m)&&clearTimeout)return m=clearTimeout,clearTimeout(V);try{return m(V)}catch(J){try{return m.call(null,V)}catch(L){return m.call(this,V)}}}var O=[],j=!1,$,K=-1;function ie(){!j||!$||(j=!1,$.length?O=$.concat(O):K=-1,O.length&&ee())}function ee(){if(!j){var V=_(ie);j=!0;for(var J=O.length;J;){for($=O,O=[];++K<J;)$&&$[K].run();K=-1,J=O.length}$=null,j=!1,A(V)}}k.nextTick=function(V){var J=new Array(arguments.length-1);if(arguments.length>1)for(var L=1;L<arguments.length;L++)J[L-1]=arguments[L];O.push(new ae(V,J)),O.length===1&&!j&&_(ee)};function ae(V,J){this.fun=V,this.array=J}ae.prototype.run=function(){this.fun.apply(null,this.array)},k.title="browser",k.browser=!0,k.env={},k.argv=[],k.version="",k.versions={};function q(){}k.on=q,k.addListener=q,k.once=q,k.off=q,k.removeListener=q,k.removeAllListeners=q,k.emit=q,k.prependListener=q,k.prependOnceListener=q,k.listeners=function(V){return[]},k.binding=function(V){throw new Error("process.binding is not supported")},k.cwd=function(){return"/"},k.chdir=function(V){throw new Error("process.chdir is not supported")},k.umask=function(){return 0}},1813:x=>{"use strict";var k=String.prototype.replace,c=/%20/g,m={RFC1738:"RFC1738",RFC3986:"RFC3986"};x.exports={default:m.RFC3986,formatters:{RFC1738:function(w){return k.call(w,c,"+")},RFC3986:function(w){return String(w)}},RFC1738:m.RFC1738,RFC3986:m.RFC3986}},71434:(x,k,c)=>{"use strict";var m=c(94915),w=c(54076),b=c(1813);x.exports={formats:b,parse:w,stringify:m}},54076:(x,k,c)=>{"use strict";var m=c(58417),w=Object.prototype.hasOwnProperty,b=Array.isArray,_={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:m.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},A=function(q){return q.replace(/&#(\d+);/g,function(V,J){return String.fromCharCode(parseInt(J,10))})},O=function(q,V){return q&&typeof q=="string"&&V.comma&&q.indexOf(",")>-1?q.split(","):q},j="utf8=%26%2310003%3B",$="utf8=%E2%9C%93",K=function(V,J){var L={},E=J.ignoreQueryPrefix?V.replace(/^\?/,""):V,N=J.parameterLimit===1/0?void 0:J.parameterLimit,U=E.split(J.delimiter,N),se=-1,ne,Y=J.charset;if(J.charsetSentinel)for(ne=0;ne<U.length;++ne)U[ne].indexOf("utf8=")===0&&(U[ne]===$?Y="utf-8":U[ne]===j&&(Y="iso-8859-1"),se=ne,ne=U.length);for(ne=0;ne<U.length;++ne)if(ne!==se){var X=U[ne],Q=X.indexOf("]="),H=Q===-1?X.indexOf("="):Q+1,de,Ae;H===-1?(de=J.decoder(X,_.decoder,Y,"key"),Ae=J.strictNullHandling?null:""):(de=J.decoder(X.slice(0,H),_.decoder,Y,"key"),Ae=m.maybeMap(O(X.slice(H+1),J),function(Z){return J.decoder(Z,_.decoder,Y,"value")})),Ae&&J.interpretNumericEntities&&Y==="iso-8859-1"&&(Ae=A(Ae)),X.indexOf("[]=")>-1&&(Ae=b(Ae)?[Ae]:Ae),w.call(L,de)?L[de]=m.combine(L[de],Ae):L[de]=Ae}return L},ie=function(q,V,J,L){for(var E=L?V:O(V,J),N=q.length-1;N>=0;--N){var U,se=q[N];if(se==="[]"&&J.parseArrays)U=[].concat(E);else{U=J.plainObjects?Object.create(null):{};var ne=se.charAt(0)==="["&&se.charAt(se.length-1)==="]"?se.slice(1,-1):se,Y=parseInt(ne,10);!J.parseArrays&&ne===""?U={0:E}:!isNaN(Y)&&se!==ne&&String(Y)===ne&&Y>=0&&J.parseArrays&&Y<=J.arrayLimit?(U=[],U[Y]=E):ne!=="__proto__"&&(U[ne]=E)}E=U}return E},ee=function(V,J,L,E){if(V){var N=L.allowDots?V.replace(/\.([^.[]+)/g,"[$1]"):V,U=/(\[[^[\]]*])/,se=/(\[[^[\]]*])/g,ne=L.depth>0&&U.exec(N),Y=ne?N.slice(0,ne.index):N,X=[];if(Y){if(!L.plainObjects&&w.call(Object.prototype,Y)&&!L.allowPrototypes)return;X.push(Y)}for(var Q=0;L.depth>0&&(ne=se.exec(N))!==null&&Q<L.depth;){if(Q+=1,!L.plainObjects&&w.call(Object.prototype,ne[1].slice(1,-1))&&!L.allowPrototypes)return;X.push(ne[1])}return ne&&X.push("["+N.slice(ne.index)+"]"),ie(X,J,L,E)}},ae=function(V){if(!V)return _;if(V.decoder!==null&&V.decoder!==void 0&&typeof V.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof V.charset!="undefined"&&V.charset!=="utf-8"&&V.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var J=typeof V.charset=="undefined"?_.charset:V.charset;return{allowDots:typeof V.allowDots=="undefined"?_.allowDots:!!V.allowDots,allowPrototypes:typeof V.allowPrototypes=="boolean"?V.allowPrototypes:_.allowPrototypes,allowSparse:typeof V.allowSparse=="boolean"?V.allowSparse:_.allowSparse,arrayLimit:typeof V.arrayLimit=="number"?V.arrayLimit:_.arrayLimit,charset:J,charsetSentinel:typeof V.charsetSentinel=="boolean"?V.charsetSentinel:_.charsetSentinel,comma:typeof V.comma=="boolean"?V.comma:_.comma,decoder:typeof V.decoder=="function"?V.decoder:_.decoder,delimiter:typeof V.delimiter=="string"||m.isRegExp(V.delimiter)?V.delimiter:_.delimiter,depth:typeof V.depth=="number"||V.depth===!1?+V.depth:_.depth,ignoreQueryPrefix:V.ignoreQueryPrefix===!0,interpretNumericEntities:typeof V.interpretNumericEntities=="boolean"?V.interpretNumericEntities:_.interpretNumericEntities,parameterLimit:typeof V.parameterLimit=="number"?V.parameterLimit:_.parameterLimit,parseArrays:V.parseArrays!==!1,plainObjects:typeof V.plainObjects=="boolean"?V.plainObjects:_.plainObjects,strictNullHandling:typeof V.strictNullHandling=="boolean"?V.strictNullHandling:_.strictNullHandling}};x.exports=function(q,V){var J=ae(V);if(q===""||q===null||typeof q=="undefined")return J.plainObjects?Object.create(null):{};for(var L=typeof q=="string"?K(q,J):q,E=J.plainObjects?Object.create(null):{},N=Object.keys(L),U=0;U<N.length;++U){var se=N[U],ne=ee(se,L[se],J,typeof q=="string");E=m.merge(E,ne,J)}return J.allowSparse===!0?E:m.compact(E)}},94915:(x,k,c)=>{"use strict";var m=c(44852),w=c(58417),b=c(1813),_=Object.prototype.hasOwnProperty,A={brackets:function(E){return E+"[]"},comma:"comma",indices:function(E,N){return E+"["+N+"]"},repeat:function(E){return E}},O=Array.isArray,j=Array.prototype.push,$=function(L,E){j.apply(L,O(E)?E:[E])},K=Date.prototype.toISOString,ie=b.default,ee={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:w.encode,encodeValuesOnly:!1,format:ie,formatter:b.formatters[ie],indices:!1,serializeDate:function(E){return K.call(E)},skipNulls:!1,strictNullHandling:!1},ae=function(E){return typeof E=="string"||typeof E=="number"||typeof E=="boolean"||typeof E=="symbol"||typeof E=="bigint"},q={},V=function L(E,N,U,se,ne,Y,X,Q,H,de,Ae,Z,xe,ue,Ne,He){for(var Re=E,ze=He,Be=0,Ye=!1;(ze=ze.get(q))!==void 0&&!Ye;){var gt=ze.get(E);if(Be+=1,typeof gt!="undefined"){if(gt===Be)throw new RangeError("Cyclic object value");Ye=!0}typeof ze.get(q)=="undefined"&&(Be=0)}if(typeof Q=="function"?Re=Q(N,Re):Re instanceof Date?Re=Ae(Re):U==="comma"&&O(Re)&&(Re=w.maybeMap(Re,function(Vr){return Vr instanceof Date?Ae(Vr):Vr})),Re===null){if(ne)return X&&!ue?X(N,ee.encoder,Ne,"key",Z):N;Re=""}if(ae(Re)||w.isBuffer(Re)){if(X){var ut=ue?N:X(N,ee.encoder,Ne,"key",Z);return[xe(ut)+"="+xe(X(Re,ee.encoder,Ne,"value",Z))]}return[xe(N)+"="+xe(String(Re))]}var yt=[];if(typeof Re=="undefined")return yt;var lt;if(U==="comma"&&O(Re))ue&&X&&(Re=w.maybeMap(Re,X)),lt=[{value:Re.length>0?Re.join(",")||null:void 0}];else if(O(Q))lt=Q;else{var Ke=Object.keys(Re);lt=H?Ke.sort(H):Ke}for(var Fe=se&&O(Re)&&Re.length===1?N+"[]":N,qe=0;qe<lt.length;++qe){var bt=lt[qe],Lt=typeof bt=="object"&&typeof bt.value!="undefined"?bt.value:Re[bt];if(!(Y&&Lt===null)){var Rt=O(Re)?typeof U=="function"?U(Fe,bt):Fe:Fe+(de?"."+bt:"["+bt+"]");He.set(E,Be);var zt=m();zt.set(q,He),$(yt,L(Lt,Rt,U,se,ne,Y,U==="comma"&&ue&&O(Re)?null:X,Q,H,de,Ae,Z,xe,ue,Ne,zt))}}return yt},J=function(E){if(!E)return ee;if(E.encoder!==null&&typeof E.encoder!="undefined"&&typeof E.encoder!="function")throw new TypeError("Encoder has to be a function.");var N=E.charset||ee.charset;if(typeof E.charset!="undefined"&&E.charset!=="utf-8"&&E.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var U=b.default;if(typeof E.format!="undefined"){if(!_.call(b.formatters,E.format))throw new TypeError("Unknown format option provided.");U=E.format}var se=b.formatters[U],ne=ee.filter;return(typeof E.filter=="function"||O(E.filter))&&(ne=E.filter),{addQueryPrefix:typeof E.addQueryPrefix=="boolean"?E.addQueryPrefix:ee.addQueryPrefix,allowDots:typeof E.allowDots=="undefined"?ee.allowDots:!!E.allowDots,charset:N,charsetSentinel:typeof E.charsetSentinel=="boolean"?E.charsetSentinel:ee.charsetSentinel,delimiter:typeof E.delimiter=="undefined"?ee.delimiter:E.delimiter,encode:typeof E.encode=="boolean"?E.encode:ee.encode,encoder:typeof E.encoder=="function"?E.encoder:ee.encoder,encodeValuesOnly:typeof E.encodeValuesOnly=="boolean"?E.encodeValuesOnly:ee.encodeValuesOnly,filter:ne,format:U,formatter:se,serializeDate:typeof E.serializeDate=="function"?E.serializeDate:ee.serializeDate,skipNulls:typeof E.skipNulls=="boolean"?E.skipNulls:ee.skipNulls,sort:typeof E.sort=="function"?E.sort:null,strictNullHandling:typeof E.strictNullHandling=="boolean"?E.strictNullHandling:ee.strictNullHandling}};x.exports=function(L,E){var N=L,U=J(E),se,ne;typeof U.filter=="function"?(ne=U.filter,N=ne("",N)):O(U.filter)&&(ne=U.filter,se=ne);var Y=[];if(typeof N!="object"||N===null)return"";var X;E&&E.arrayFormat in A?X=E.arrayFormat:E&&"indices"in E?X=E.indices?"indices":"repeat":X="indices";var Q=A[X];if(E&&"commaRoundTrip"in E&&typeof E.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var H=Q==="comma"&&E&&E.commaRoundTrip;se||(se=Object.keys(N)),U.sort&&se.sort(U.sort);for(var de=m(),Ae=0;Ae<se.length;++Ae){var Z=se[Ae];U.skipNulls&&N[Z]===null||$(Y,V(N[Z],Z,Q,H,U.strictNullHandling,U.skipNulls,U.encode?U.encoder:null,U.filter,U.sort,U.allowDots,U.serializeDate,U.format,U.formatter,U.encodeValuesOnly,U.charset,de))}var xe=Y.join(U.delimiter),ue=U.addQueryPrefix===!0?"?":"";return U.charsetSentinel&&(U.charset==="iso-8859-1"?ue+="utf8=%26%2310003%3B&":ue+="utf8=%E2%9C%93&"),xe.length>0?ue+xe:""}},58417:(x,k,c)=>{"use strict";var m=c(1813),w=Object.prototype.hasOwnProperty,b=Array.isArray,_=function(){for(var L=[],E=0;E<256;++E)L.push("%"+((E<16?"0":"")+E.toString(16)).toUpperCase());return L}(),A=function(E){for(;E.length>1;){var N=E.pop(),U=N.obj[N.prop];if(b(U)){for(var se=[],ne=0;ne<U.length;++ne)typeof U[ne]!="undefined"&&se.push(U[ne]);N.obj[N.prop]=se}}},O=function(E,N){for(var U=N&&N.plainObjects?Object.create(null):{},se=0;se<E.length;++se)typeof E[se]!="undefined"&&(U[se]=E[se]);return U},j=function L(E,N,U){if(!N)return E;if(typeof N!="object"){if(b(E))E.push(N);else if(E&&typeof E=="object")(U&&(U.plainObjects||U.allowPrototypes)||!w.call(Object.prototype,N))&&(E[N]=!0);else return[E,N];return E}if(!E||typeof E!="object")return[E].concat(N);var se=E;return b(E)&&!b(N)&&(se=O(E,U)),b(E)&&b(N)?(N.forEach(function(ne,Y){if(w.call(E,Y)){var X=E[Y];X&&typeof X=="object"&&ne&&typeof ne=="object"?E[Y]=L(X,ne,U):E.push(ne)}else E[Y]=ne}),E):Object.keys(N).reduce(function(ne,Y){var X=N[Y];return w.call(ne,Y)?ne[Y]=L(ne[Y],X,U):ne[Y]=X,ne},se)},$=function(E,N){return Object.keys(N).reduce(function(U,se){return U[se]=N[se],U},E)},K=function(L,E,N){var U=L.replace(/\+/g," ");if(N==="iso-8859-1")return U.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(U)}catch(se){return U}},ie=function(E,N,U,se,ne){if(E.length===0)return E;var Y=E;if(typeof E=="symbol"?Y=Symbol.prototype.toString.call(E):typeof E!="string"&&(Y=String(E)),U==="iso-8859-1")return escape(Y).replace(/%u[0-9a-f]{4}/gi,function(de){return"%26%23"+parseInt(de.slice(2),16)+"%3B"});for(var X="",Q=0;Q<Y.length;++Q){var H=Y.charCodeAt(Q);if(H===45||H===46||H===95||H===126||H>=48&&H<=57||H>=65&&H<=90||H>=97&&H<=122||ne===m.RFC1738&&(H===40||H===41)){X+=Y.charAt(Q);continue}if(H<128){X=X+_[H];continue}if(H<2048){X=X+(_[192|H>>6]+_[128|H&63]);continue}if(H<55296||H>=57344){X=X+(_[224|H>>12]+_[128|H>>6&63]+_[128|H&63]);continue}Q+=1,H=65536+((H&1023)<<10|Y.charCodeAt(Q)&1023),X+=_[240|H>>18]+_[128|H>>12&63]+_[128|H>>6&63]+_[128|H&63]}return X},ee=function(E){for(var N=[{obj:{o:E},prop:"o"}],U=[],se=0;se<N.length;++se)for(var ne=N[se],Y=ne.obj[ne.prop],X=Object.keys(Y),Q=0;Q<X.length;++Q){var H=X[Q],de=Y[H];typeof de=="object"&&de!==null&&U.indexOf(de)===-1&&(N.push({obj:Y,prop:H}),U.push(de))}return A(N),E},ae=function(E){return Object.prototype.toString.call(E)==="[object RegExp]"},q=function(E){return!E||typeof E!="object"?!1:!!(E.constructor&&E.constructor.isBuffer&&E.constructor.isBuffer(E))},V=function(E,N){return[].concat(E,N)},J=function(E,N){if(b(E)){for(var U=[],se=0;se<E.length;se+=1)U.push(N(E[se]));return U}return N(E)};x.exports={arrayToObject:O,assign:$,combine:V,compact:ee,decode:K,encode:ie,isBuffer:q,isRegExp:ae,maybeMap:J,merge:j}},99913:(x,k,c)=>{"use strict";var m;function w(){return w=Object.assign||function(ae){for(var q=1;q<arguments.length;q++){var V=arguments[q];for(var J in V)Object.prototype.hasOwnProperty.call(V,J)&&(ae[J]=V[J])}return ae},w.apply(this,arguments)}function b(ae){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(V){return typeof V}:b=function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},b(ae)}var _=function(){var ae=function(V,J){return ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,E){L.__proto__=E}||function(L,E){for(var N in E)E.hasOwnProperty(N)&&(L[N]=E[N])},ae(V,J)};return function(q,V){ae(q,V);function J(){this.constructor=q}q.prototype=V===null?Object.create(V):(J.prototype=V.prototype,new J)}}();m={value:!0},m=k.fk=void 0;var A=c(29901),O=typeof navigator=="undefined"||c.g.PREVENT_CODEMIRROR_RENDER===!0,j;O||(j=c(46944));var $=function(){function ae(){}return ae.equals=function(q,V){var J=this,L=Object.keys,E=b(q),N=b(V);return q&&V&&E==="object"&&E===N?L(q).length===L(V).length&&L(q).every(function(U){return J.equals(q[U],V[U])}):q===V},ae}(),K=function(){function ae(q,V){this.editor=q,this.props=V}return ae.prototype.delegateCursor=function(q,V,J){var L=this.editor.getDoc();J&&this.editor.focus(),V?L.setCursor(q):L.setCursor(q,null,{scroll:!1})},ae.prototype.delegateScroll=function(q){this.editor.scrollTo(q.x,q.y)},ae.prototype.delegateSelection=function(q,V){var J=this.editor.getDoc();J.setSelections(q),V&&this.editor.focus()},ae.prototype.apply=function(q){q&&q.selection&&q.selection.ranges&&this.delegateSelection(q.selection.ranges,q.selection.focus||!1),q&&q.cursor&&this.delegateCursor(q.cursor,q.autoScroll||!1,this.editor.getOption("autofocus")||!1),q&&q.scroll&&this.delegateScroll(q.scroll)},ae.prototype.applyNext=function(q,V,J){q&&q.selection&&q.selection.ranges&&V&&V.selection&&V.selection.ranges&&!$.equals(q.selection.ranges,V.selection.ranges)&&this.delegateSelection(V.selection.ranges,V.selection.focus||!1),q&&q.cursor&&V&&V.cursor&&!$.equals(q.cursor,V.cursor)&&this.delegateCursor(J.cursor||V.cursor,V.autoScroll||!1,V.autoCursor||!1),q&&q.scroll&&V&&V.scroll&&!$.equals(q.scroll,V.scroll)&&this.delegateScroll(V.scroll)},ae.prototype.applyUserDefined=function(q,V){V&&V.cursor&&this.delegateCursor(V.cursor,q.autoScroll||!1,this.editor.getOption("autofocus")||!1)},ae.prototype.wire=function(q){var V=this;Object.keys(q||{}).filter(function(J){return/^on/.test(J)}).forEach(function(J){switch(J){case"onBlur":V.editor.on("blur",function(L,E){V.props.onBlur(V.editor,E)});break;case"onContextMenu":{V.editor.on("contextmenu",function(L,E){V.props.onContextMenu(V.editor,E)});break}case"onCopy":{V.editor.on("copy",function(L,E){V.props.onCopy(V.editor,E)});break}case"onCursor":V.editor.on("cursorActivity",function(L){V.props.onCursor(V.editor,V.editor.getDoc().getCursor())});break;case"onCursorActivity":V.editor.on("cursorActivity",function(L){V.props.onCursorActivity(V.editor)});break;case"onCut":{V.editor.on("cut",function(L,E){V.props.onCut(V.editor,E)});break}case"onDblClick":{V.editor.on("dblclick",function(L,E){V.props.onDblClick(V.editor,E)});break}case"onDragEnter":V.editor.on("dragenter",function(L,E){V.props.onDragEnter(V.editor,E)});break;case"onDragLeave":{V.editor.on("dragleave",function(L,E){V.props.onDragLeave(V.editor,E)});break}case"onDragOver":V.editor.on("dragover",function(L,E){V.props.onDragOver(V.editor,E)});break;case"onDragStart":{V.editor.on("dragstart",function(L,E){V.props.onDragStart(V.editor,E)});break}case"onDrop":V.editor.on("drop",function(L,E){V.props.onDrop(V.editor,E)});break;case"onFocus":V.editor.on("focus",function(L,E){V.props.onFocus(V.editor,E)});break;case"onGutterClick":V.editor.on("gutterClick",function(L,E,N,U){V.props.onGutterClick(V.editor,E,N,U)});break;case"onInputRead":V.editor.on("inputRead",function(L,E){V.props.onInputRead(V.editor,E)});break;case"onKeyDown":V.editor.on("keydown",function(L,E){V.props.onKeyDown(V.editor,E)});break;case"onKeyHandled":V.editor.on("keyHandled",function(L,E,N){V.props.onKeyHandled(V.editor,E,N)});break;case"onKeyPress":V.editor.on("keypress",function(L,E){V.props.onKeyPress(V.editor,E)});break;case"onKeyUp":V.editor.on("keyup",function(L,E){V.props.onKeyUp(V.editor,E)});break;case"onMouseDown":{V.editor.on("mousedown",function(L,E){V.props.onMouseDown(V.editor,E)});break}case"onPaste":{V.editor.on("paste",function(L,E){V.props.onPaste(V.editor,E)});break}case"onRenderLine":{V.editor.on("renderLine",function(L,E,N){V.props.onRenderLine(V.editor,E,N)});break}case"onScroll":V.editor.on("scroll",function(L){V.props.onScroll(V.editor,V.editor.getScrollInfo())});break;case"onSelection":V.editor.on("beforeSelectionChange",function(L,E){V.props.onSelection(V.editor,E)});break;case"onTouchStart":{V.editor.on("touchstart",function(L,E){V.props.onTouchStart(V.editor,E)});break}case"onUpdate":V.editor.on("update",function(L){V.props.onUpdate(V.editor)});break;case"onViewportChange":V.editor.on("viewportChange",function(L,E,N){V.props.onViewportChange(V.editor,E,N)});break}})},ae}(),ie=function(ae){_(q,ae);function q(V){var J=ae.call(this,V)||this;return O||(J.applied=!1,J.appliedNext=!1,J.appliedUserDefined=!1,J.deferred=null,J.emulating=!1,J.hydrated=!1,J.initCb=function(){J.props.editorDidConfigure&&J.props.editorDidConfigure(J.editor)},J.mounted=!1),J}return q.prototype.hydrate=function(V){var J=this,L=V&&V.options?V.options:{},E=w({},j.defaults,this.editor.options,L),N=Object.keys(E).some(function(U){return J.editor.getOption(U)!==E[U]});N&&Object.keys(E).forEach(function(U){L.hasOwnProperty(U)&&J.editor.getOption(U)!==E[U]&&(J.editor.setOption(U,E[U]),J.mirror.setOption(U,E[U]))}),this.hydrated||(this.deferred?this.resolveChange(V.value):this.initChange(V.value||"")),this.hydrated=!0},q.prototype.initChange=function(V){this.emulating=!0;var J=this.editor.getDoc(),L=J.lastLine(),E=J.getLine(J.lastLine()).length;J.replaceRange(V||"",{line:0,ch:0},{line:L,ch:E}),this.mirror.setValue(V),J.clearHistory(),this.mirror.clearHistory(),this.emulating=!1},q.prototype.resolveChange=function(V){this.emulating=!0;var J=this.editor.getDoc();if(this.deferred.origin==="undo"?J.undo():this.deferred.origin==="redo"?J.redo():J.replaceRange(this.deferred.text,this.deferred.from,this.deferred.to,this.deferred.origin),V&&V!==J.getValue()){var L=J.getCursor();J.setValue(V),J.setCursor(L)}this.emulating=!1,this.deferred=null},q.prototype.mirrorChange=function(V){var J=this.editor.getDoc();return V.origin==="undo"?(J.setHistory(this.mirror.getHistory()),this.mirror.undo()):V.origin==="redo"?(J.setHistory(this.mirror.getHistory()),this.mirror.redo()):this.mirror.replaceRange(V.text,V.from,V.to,V.origin),this.mirror.getValue()},q.prototype.componentDidMount=function(){var V=this;O||(this.props.defineMode&&this.props.defineMode.name&&this.props.defineMode.fn&&j.defineMode(this.props.defineMode.name,this.props.defineMode.fn),this.editor=j(this.ref,this.props.options),this.shared=new K(this.editor,this.props),this.mirror=j(function(){},this.props.options),this.editor.on("electricInput",function(){V.mirror.setHistory(V.editor.getDoc().getHistory())}),this.editor.on("cursorActivity",function(){V.mirror.setCursor(V.editor.getDoc().getCursor())}),this.editor.on("beforeChange",function(J,L){if(!V.emulating){L.cancel(),V.deferred=L;var E=V.mirrorChange(V.deferred);V.props.onBeforeChange&&V.props.onBeforeChange(V.editor,V.deferred,E)}}),this.editor.on("change",function(J,L){V.mounted&&V.props.onChange&&V.props.onChange(V.editor,L,V.editor.getValue())}),this.hydrate(this.props),this.shared.apply(this.props),this.applied=!0,this.mounted=!0,this.shared.wire(this.props),this.editor.getOption("autofocus")&&this.editor.focus(),this.props.editorDidMount&&this.props.editorDidMount(this.editor,this.editor.getValue(),this.initCb))},q.prototype.componentDidUpdate=function(V){if(!O){var J={cursor:null};this.props.value!==V.value&&(this.hydrated=!1),!this.props.autoCursor&&this.props.autoCursor!==void 0&&(J.cursor=this.editor.getDoc().getCursor()),this.hydrate(this.props),this.appliedNext||(this.shared.applyNext(V,this.props,J),this.appliedNext=!0),this.shared.applyUserDefined(V,J),this.appliedUserDefined=!0}},q.prototype.componentWillUnmount=function(){O||this.props.editorWillUnmount&&this.props.editorWillUnmount(j)},q.prototype.shouldComponentUpdate=function(V,J){return!O},q.prototype.render=function(){var V=this;if(O)return null;var J=this.props.className?"react-codemirror2 "+this.props.className:"react-codemirror2";return A.createElement("div",{className:J,ref:function(E){return V.ref=E}})},q}(A.Component);k.fk=ie;var ee=function(ae){_(q,ae);function q(V){var J=ae.call(this,V)||this;return O||(J.applied=!1,J.appliedUserDefined=!1,J.continueChange=!1,J.detached=!1,J.hydrated=!1,J.initCb=function(){J.props.editorDidConfigure&&J.props.editorDidConfigure(J.editor)},J.mounted=!1,J.onBeforeChangeCb=function(){J.continueChange=!0}),J}return q.prototype.hydrate=function(V){var J=this,L=V&&V.options?V.options:{},E=w({},j.defaults,this.editor.options,L),N=Object.keys(E).some(function(Y){return J.editor.getOption(Y)!==E[Y]});if(N&&Object.keys(E).forEach(function(Y){L.hasOwnProperty(Y)&&J.editor.getOption(Y)!==E[Y]&&J.editor.setOption(Y,E[Y])}),!this.hydrated){var U=this.editor.getDoc(),se=U.lastLine(),ne=U.getLine(U.lastLine()).length;U.replaceRange(V.value||"",{line:0,ch:0},{line:se,ch:ne})}this.hydrated=!0},q.prototype.componentDidMount=function(){var V=this;O||(this.detached=this.props.detach===!0,this.props.defineMode&&this.props.defineMode.name&&this.props.defineMode.fn&&j.defineMode(this.props.defineMode.name,this.props.defineMode.fn),this.editor=j(this.ref,this.props.options),this.shared=new K(this.editor,this.props),this.editor.on("beforeChange",function(J,L){V.props.onBeforeChange&&V.props.onBeforeChange(V.editor,L,V.editor.getValue(),V.onBeforeChangeCb)}),this.editor.on("change",function(J,L){!V.mounted||!V.props.onChange||(V.props.onBeforeChange?V.continueChange&&V.props.onChange(V.editor,L,V.editor.getValue()):V.props.onChange(V.editor,L,V.editor.getValue()))}),this.hydrate(this.props),this.shared.apply(this.props),this.applied=!0,this.mounted=!0,this.shared.wire(this.props),this.editor.getDoc().clearHistory(),this.props.editorDidMount&&this.props.editorDidMount(this.editor,this.editor.getValue(),this.initCb))},q.prototype.componentDidUpdate=function(V){if(this.detached&&this.props.detach===!1&&(this.detached=!1,V.editorDidAttach&&V.editorDidAttach(this.editor)),!this.detached&&this.props.detach===!0&&(this.detached=!0,V.editorDidDetach&&V.editorDidDetach(this.editor)),!(O||this.detached)){var J={cursor:null};this.props.value!==V.value&&(this.hydrated=!1,this.applied=!1,this.appliedUserDefined=!1),!V.autoCursor&&V.autoCursor!==void 0&&(J.cursor=this.editor.getDoc().getCursor()),this.hydrate(this.props),this.applied||(this.shared.apply(V),this.applied=!0),this.appliedUserDefined||(this.shared.applyUserDefined(V,J),this.appliedUserDefined=!0)}},q.prototype.componentWillUnmount=function(){O||this.props.editorWillUnmount&&this.props.editorWillUnmount(j)},q.prototype.shouldComponentUpdate=function(V,J){var L=!0;return O&&(L=!1),this.detached&&V.detach&&(L=!1),L},q.prototype.render=function(){var V=this;if(O)return null;var J=this.props.className?"react-codemirror2 "+this.props.className:"react-codemirror2";return A.createElement("div",{className:J,ref:function(E){return V.ref=E}})},q}(A.Component);m=ee},44852:(x,k,c)=>{"use strict";var m=c(71013),w=c(2864),b=c(14927),_=m("%TypeError%"),A=m("%WeakMap%",!0),O=m("%Map%",!0),j=w("WeakMap.prototype.get",!0),$=w("WeakMap.prototype.set",!0),K=w("WeakMap.prototype.has",!0),ie=w("Map.prototype.get",!0),ee=w("Map.prototype.set",!0),ae=w("Map.prototype.has",!0),q=function(E,N){for(var U=E,se;(se=U.next)!==null;U=se)if(se.key===N)return U.next=se.next,se.next=E.next,E.next=se,se},V=function(E,N){var U=q(E,N);return U&&U.value},J=function(E,N,U){var se=q(E,N);se?se.value=U:E.next={key:N,next:E.next,value:U}},L=function(E,N){return!!q(E,N)};x.exports=function(){var N,U,se,ne={assert:function(Y){if(!ne.has(Y))throw new _("Side channel does not contain "+b(Y))},get:function(Y){if(A&&Y&&(typeof Y=="object"||typeof Y=="function")){if(N)return j(N,Y)}else if(O){if(U)return ie(U,Y)}else if(se)return V(se,Y)},has:function(Y){if(A&&Y&&(typeof Y=="object"||typeof Y=="function")){if(N)return K(N,Y)}else if(O){if(U)return ae(U,Y)}else if(se)return L(se,Y);return!1},set:function(Y,X){A&&Y&&(typeof Y=="object"||typeof Y=="function")?(N||(N=new A),$(N,Y,X)):O?(U||(U=new O),ee(U,Y,X)):(se||(se={key:{},next:null}),J(se,Y,X))}};return ne}},56182:x=>{(function(){"use strict";var k,c,m,w,b,_="properties",A="deepProperties",O="propertyDescriptors",j="staticProperties",$="staticDeepProperties",K="staticPropertyDescriptors",ie="configuration",ee="deepConfiguration",ae="deepProps",q="deepStatics",V="deepConf",J="initializers",L="methods",E="composers",N="compose";function U(Re){return Object.getOwnPropertyNames(Re).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(Re):[])}function se(Re,ze){return Array.prototype.slice.call(arguments,2).reduce(Re,ze)}var ne=se.bind(0,function(ze,Be){if(Be)for(var Ye=U(Be),gt=0;gt<Ye.length;gt+=1)Object.defineProperty(ze,Ye[gt],Object.getOwnPropertyDescriptor(Be,Ye[gt]));return ze});function Y(Re){return typeof Re=="function"}function X(Re){return Re&&typeof Re=="object"||Y(Re)}function Q(Re){return Re&&typeof Re=="object"&&Re.__proto__==Object.prototype}var H=se.bind(0,function Re(ze,Be){if(Be===k)return ze;if(Array.isArray(Be))return(Array.isArray(ze)?ze:[]).concat(Be);if(!Q(Be))return Be;for(var Ye,gt,ut=U(Be),yt=0;yt<ut.length;)Ye=ut[yt++],(gt=Object.getOwnPropertyDescriptor(Be,Ye)).hasOwnProperty("value")?gt.value!==k&&(ze[Ye]=Re(Q(ze[Ye])||Array.isArray(Be[Ye])?ze[Ye]:{},Be[Ye])):Object.defineProperty(ze,Ye,gt);return ze});function de(){return(c=Array.prototype.concat.apply([],arguments).filter(function(Re,ze,Be){return Y(Re)&&Be.indexOf(Re)===ze})).length?c:k}function Ae(Re){return c=function(){return function Be(Ye){var gt,ut,yt=Be[N]||{},lt={__proto__:yt[L]},Ke=yt[J],Fe=Array.prototype.slice.apply(arguments),qe=yt[A];if(qe&&H(lt,qe),(qe=yt[_])&&ne(lt,qe),(qe=yt[O])&&Object.defineProperties(lt,qe),!Ke||!Ke.length)return lt;for(Ye===k&&(Ye={}),yt=0;yt<Ke.length;)Y(gt=Ke[yt++])&&(lt=(ut=gt.call(lt,Ye,{instance:lt,stamp:Be,args:Fe}))===k?lt:ut);return lt}}(),(m=Re[$])&&H(c,m),(m=Re[j])&&ne(c,m),(m=Re[K])&&Object.defineProperties(c,m),m=Y(c[N])?c[N]:xe,ne(c[N]=function(){return m.apply(this,arguments)},Re),c}function Z(Re,ze){function Be(gt,ut){X(ze[gt])&&(X(Re[gt])||(Re[gt]={}),(ut||ne)(Re[gt],ze[gt]))}function Ye(gt){(c=de(Re[gt],ze[gt]))&&(Re[gt]=c)}return ze&&X(ze=ze[N]||ze)&&(Be(L),Be(_),Be(A,H),Be(O),Be(j),Be($,H),Be(K),Be(ie),Be(ee,H),Ye(J),Ye(E)),Re}function xe(){return Ae(Array.prototype.concat.apply([this],arguments).reduce(Z,{}))}function ue(Re){return Y(Re)&&Y(Re[N])}var Ne={};function He(Re,ze){return function(){return(w={})[Re]=ze.apply(k,Array.prototype.concat.apply([{}],arguments)),((c=this)&&c[N]||m).call(c,w)}}Ne[L]=He(L,ne),Ne[_]=Ne.props=He(_,ne),Ne[J]=Ne.init=He(J,de),Ne[E]=He(E,de),Ne[A]=Ne[ae]=He(A,H),Ne[j]=Ne.statics=He(j,ne),Ne[$]=Ne[q]=He($,H),Ne[ie]=Ne.conf=He(ie,ne),Ne[ee]=Ne[V]=He(ee,H),Ne[O]=He(O,ne),Ne[K]=He(K,ne),m=Ne[N]=ne(function(){for(var ze,Be,Ye=0,gt=[],ut=arguments,yt=this;Ye<ut.length;)X(ze=ut[Ye++])&>.push(ue(ze)?ze:((w={})[L]=(Be=ze)[L]||k,m=Be.props,w[_]=X((c=Be[_])||m)?ne({},m,c):k,w[J]=de(Be.init,Be[J]),w[E]=de(Be[E]),m=Be[ae],w[A]=X((c=Be[A])||m)?H({},m,c):k,w[O]=Be[O],m=Be.statics,w[j]=X((c=Be[j])||m)?ne({},m,c):k,m=Be[q],w[$]=X((c=Be[$])||m)?H({},m,c):k,c=Be[K],w[K]=X((m=Be.name&&{name:{value:Be.name}})||c)?ne({},c,m):k,m=Be.conf,w[ie]=X((c=Be[ie])||m)?ne({},m,c):k,m=Be[V],w[ee]=X((c=Be[ee])||m)?H({},m,c):k,w));if(ze=xe.apply(yt||b,gt),yt&>.unshift(yt),Array.isArray(ut=ze[N][E]))for(Ye=0;Ye<ut.length;)ze=ue(yt=ut[Ye++]({stamp:ze,composables:gt}))?yt:ze;return ze},Ne),Ne.create=function(){return this.apply(k,arguments)},(w={})[j]=Ne,b=xe(w),m[N]=m.bind(),m.version="4.3.2",typeof k!="object"?x.exports=m:self.stampit=m})()},47463:(x,k,c)=>{var m=c(17292),w=c(58988);w=w.__esModule?w.default:w,typeof w=="string"&&(w=[[x.id,w,""]]);var b={};b.insert="head",b.singleton=!1;var _=m(w,b);x.exports=w.locals||{}},68286:(x,k,c)=>{var m=c(17292),w=c(31738);w=w.__esModule?w.default:w,typeof w=="string"&&(w=[[x.id,w,""]]);var b={};b.insert="head",b.singleton=!1;var _=m(w,b);x.exports=w.locals||{}},19372:(x,k,c)=>{var m=c(17292),w=c(43395);w=w.__esModule?w.default:w,typeof w=="string"&&(w=[[x.id,w,""]]);var b={};b.insert="head",b.singleton=!1;var _=m(w,b);x.exports=w.locals||{}},47629:(x,k,c)=>{var m=c(17292),w=c(98036);w=w.__esModule?w.default:w,typeof w=="string"&&(w=[[x.id,w,""]]);var b={};b.insert="head",b.singleton=!1;var _=m(w,b);x.exports=w.locals||{}},87767:x=>{"use strict";function k(V){return Object.prototype.toString.call(V)}function c(V){return k(V)==="[object Date]"}function m(V){return k(V)==="[object RegExp]"}function w(V){return k(V)==="[object Error]"}function b(V){return k(V)==="[object Boolean]"}function _(V){return k(V)==="[object Number]"}function A(V){return k(V)==="[object String]"}var O=Array.isArray||function(J){return Object.prototype.toString.call(J)==="[object Array]"};function j(V,J){if(V.forEach)return V.forEach(J);for(var L=0;L<V.length;L++)J(V[L],L,V)}var $=Object.keys||function(J){var L=[];for(var E in J)L.push(E);return L},K=Object.prototype.hasOwnProperty||function(V,J){return J in V};function ie(V){if(typeof V=="object"&&V!==null){var J;if(O(V))J=[];else if(c(V))J=new Date(V.getTime?V.getTime():V);else if(m(V))J=new RegExp(V);else if(w(V))J={message:V.message};else if(b(V)||_(V)||A(V))J=Object(V);else if(Object.create&&Object.getPrototypeOf)J=Object.create(Object.getPrototypeOf(V));else if(V.constructor===Object)J={};else{var L=V.constructor&&V.constructor.prototype||V.__proto__||{},E=function(){};E.prototype=L,J=new E}return j($(V),function(N){J[N]=V[N]}),J}return V}function ee(V,J,L){var E=[],N=[],U=!0;return function se(ne){var Y=L?ie(ne):ne,X={},Q=!0,H={node:Y,node_:ne,path:[].concat(E),parent:N[N.length-1],parents:N,key:E[E.length-1],isRoot:E.length===0,level:E.length,circular:null,update:function(Z,xe){H.isRoot||(H.parent.node[H.key]=Z),H.node=Z,xe&&(Q=!1)},delete:function(Z){delete H.parent.node[H.key],Z&&(Q=!1)},remove:function(Z){O(H.parent.node)?H.parent.node.splice(H.key,1):delete H.parent.node[H.key],Z&&(Q=!1)},keys:null,before:function(Z){X.before=Z},after:function(Z){X.after=Z},pre:function(Z){X.pre=Z},post:function(Z){X.post=Z},stop:function(){U=!1},block:function(){Q=!1}};if(!U)return H;function de(){if(typeof H.node=="object"&&H.node!==null){(!H.keys||H.node_!==H.node)&&(H.keys=$(H.node)),H.isLeaf=H.keys.length===0;for(var Z=0;Z<N.length;Z++)if(N[Z].node_===ne){H.circular=N[Z];break}}else H.isLeaf=!0,H.keys=null;H.notLeaf=!H.isLeaf,H.notRoot=!H.isRoot}de();var Ae=J.call(H,H.node);return Ae!==void 0&&H.update&&H.update(Ae),X.before&&X.before.call(H,H.node),Q&&(typeof H.node=="object"&&H.node!==null&&!H.circular&&(N.push(H),de(),j(H.keys,function(Z,xe){E.push(Z),X.pre&&X.pre.call(H,H.node[Z],Z);var ue=se(H.node[Z]);L&&K.call(H.node,Z)&&(H.node[Z]=ue.node),ue.isLast=xe===H.keys.length-1,ue.isFirst=xe===0,X.post&&X.post.call(H,ue),E.pop()}),N.pop()),X.after&&X.after.call(H,H.node)),H}(V).node}function ae(V){this.value=V}ae.prototype.get=function(V){for(var J=this.value,L=0;L<V.length;L++){var E=V[L];if(!J||!K.call(J,E))return;J=J[E]}return J},ae.prototype.has=function(V){for(var J=this.value,L=0;L<V.length;L++){var E=V[L];if(!J||!K.call(J,E))return!1;J=J[E]}return!0},ae.prototype.set=function(V,J){for(var L=this.value,E=0;E<V.length-1;E++){var N=V[E];K.call(L,N)||(L[N]={}),L=L[N]}return L[V[E]]=J,J},ae.prototype.map=function(V){return ee(this.value,V,!0)},ae.prototype.forEach=function(V){return this.value=ee(this.value,V,!1),this.value},ae.prototype.reduce=function(V,J){var L=arguments.length===1,E=L?this.value:J;return this.forEach(function(N){(!this.isRoot||!L)&&(E=V.call(this,E,N))}),E},ae.prototype.paths=function(){var V=[];return this.forEach(function(){V.push(this.path)}),V},ae.prototype.nodes=function(){var V=[];return this.forEach(function(){V.push(this.node)}),V},ae.prototype.clone=function(){var V=[],J=[];return function L(E){for(var N=0;N<V.length;N++)if(V[N]===E)return J[N];if(typeof E=="object"&&E!==null){var U=ie(E);return V.push(E),J.push(U),j($(E),function(se){U[se]=L(E[se])}),V.pop(),J.pop(),U}return E}(this.value)};function q(V){return new ae(V)}j($(ae.prototype),function(V){q[V]=function(J){var L=[].slice.call(arguments,1),E=new ae(J);return E[V].apply(E,L)}}),x.exports=q},56089:x=>{"use strict";x.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg=="},17735:x=>{"use strict";x.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII="},96192:x=>{"use strict";x.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC"},71090:x=>{"use strict";x.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII="},46050:x=>{"use strict";x.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII="},65710:()=>{},93652:(x,k,c)=>{x.exports=c(24018)},10017:(x,k,c)=>{x.exports=c(27411)},34961:(x,k,c)=>{x.exports=c(79155)},86751:(x,k,c)=>{x.exports=c(13375)},12953:(x,k,c)=>{x.exports=c(95442)},77844:(x,k,c)=>{x.exports=c(55334)},86351:(x,k,c)=>{x.exports=c(48261)},70762:(x,k,c)=>{x.exports=c(92864)},10954:(x,k,c)=>{x.exports=c(27923)},55839:(x,k,c)=>{x.exports=c(89225)},23422:(x,k,c)=>{x.exports=c(95281)},47319:(x,k,c)=>{x.exports=c(55468)}}]);
|