s-r;if(t.topi+o){var c=Math.min(t.top,(u?s:t.bottom)-o);c!=i&&(a.scrollTop=c)}var f=e.options.fixedGutter?0:n.gutters.offsetWidth,p=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft-f,d=xn(e)-n.gutters.offsetWidth,h=t.right-t.left>d;return h&&(t.right=t.left+d),t.left<10?a.scrollLeft=0:t.leftd+p-3&&(a.scrollLeft=t.right+(h?0:10)-d),a}function Nr(e,t){null!=t&&(Ir(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Dr(e){Ir(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Ar(e,t,n){null==t&&null==n||Ir(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Ir(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,jr(e,Qn(e,t.from),Qn(e,t.to),t.margin))}function jr(e,t,n,r){var i=Cr(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});Ar(e,i.scrollLeft,i.scrollTop)}function Lr(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||si(e,{top:t}),Fr(e,t,!0),n&&si(e),ni(e,100))}function Fr(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Rr(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,ci(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Mr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Tn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+_n(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var Pr=function(e,t,n){this.cm=n;var r=this.vert=N(\"div\",[N(\"div\",null,null,\"min-width: 1px\")],\"CodeMirror-vscrollbar\"),i=this.horiz=N(\"div\",[N(\"div\",null,null,\"height: 100%; min-height: 1px\")],\"CodeMirror-hscrollbar\");r.tabIndex=i.tabIndex=-1,e(r),e(i),fe(r,\"scroll\",(function(){r.clientHeight&&t(r.scrollTop,\"vertical\")})),fe(i,\"scroll\",(function(){i.clientWidth&&t(i.scrollLeft,\"horizontal\")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth=\"18px\")};Pr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display=\"block\",this.vert.style.bottom=t?r+\"px\":\"0\";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+\"px\"}else this.vert.style.display=\"\",this.vert.firstChild.style.height=\"0\";if(t){this.horiz.style.display=\"block\",this.horiz.style.right=n?r+\"px\":\"0\",this.horiz.style.left=e.barLeft+\"px\";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+\"px\"}else this.horiz.style.display=\"\",this.horiz.firstChild.style.width=\"0\";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},Pr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,\"horiz\")},Pr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,\"vert\")},Pr.prototype.zeroWidthHack=function(){var e=y&&!d?\"12px\":\"18px\";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents=\"none\",this.disableHoriz=new V,this.disableVert=new V},Pr.prototype.enableZeroWidthBar=function(e,t,n){e.style.pointerEvents=\"auto\",t.set(1e3,(function r(){var i=e.getBoundingClientRect();(\"vert\"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents=\"none\":t.set(1e3,r)}))},Pr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Vr=function(){};function Ur(e,t){t||(t=Mr(e));var n=e.display.barWidth,r=e.display.barHeight;Br(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&_r(e),Br(e,Mr(e)),n=e.display.barWidth,r=e.display.barHeight}function Br(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+\"px\",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+\"px\",n.heightForcer.style.borderBottom=r.bottom+\"px solid transparent\",r.right&&r.bottom?(n.scrollbarFiller.style.display=\"block\",n.scrollbarFiller.style.height=r.bottom+\"px\",n.scrollbarFiller.style.width=r.right+\"px\"):n.scrollbarFiller.style.display=\"\",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display=\"block\",n.gutterFiller.style.height=r.bottom+\"px\",n.gutterFiller.style.width=t.gutterWidth+\"px\"):n.gutterFiller.style.display=\"\"}Vr.prototype.update=function(){return{bottom:0,right:0}},Vr.prototype.setScrollLeft=function(){},Vr.prototype.setScrollTop=function(){},Vr.prototype.clear=function(){};var zr={native:Pr,null:Vr};function qr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&x(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new zr[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),fe(t,\"mousedown\",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute(\"cm-not-content\",\"true\")}),(function(t,n){\"horizontal\"==n?Rr(e,t):Lr(e,t)}),e),e.display.scrollbars.addClass&&j(e.display.wrapper,e.display.scrollbars.addClass)}var Hr=0;function Gr(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Hr},t=e.curOp,on?on.ops.push(t):t.ownsGroup=on={ops:[t],delayedCallbacks:[]}}function Wr(e){var t=e.curOp;t&&function(e,t){var n=e.ownsGroup;if(n)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new ii(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Kr(e){e.updatedDisplay=e.mustUpdate&&oi(e.cm,e.update)}function Yr(e){var t=e.cm,n=t.display;e.updatedDisplay&&_r(t),e.barMeasure=Mr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Nn(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+_n(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-xn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Jr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+\"px\",e.maxScrollLeft(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!h){var o=N(\"div\",\"\\u200b\",null,\"position: absolute;\\n top: \"+(t.top-n.viewOffset-kn(e.display))+\"px;\\n height: \"+(t.bottom-t.top+_n(e)+n.barHeight)+\"px;\\n left: \"+t.left+\"px; width: \"+Math.max(2,t.right-t.left)+\"px;\");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n=\"before\"==(t=t.ch?Ze(t.line,\"before\"==t.sticky?t.ch-1:t.ch,\"after\"):t).sticky?Ze(t.line,t.ch+1,\"before\"):t);for(var o=0;o<5;o++){var a=!1,s=Wn(e,t),l=n&&n!=t?Wn(e,n):s,u=Cr(e,i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r}),c=e.doc.scrollTop,f=e.doc.scrollLeft;if(null!=u.scrollTop&&(Lr(e,u.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(a=!0)),null!=u.scrollLeft&&(Rr(e,u.scrollLeft),Math.abs(e.doc.scrollLeft-f)>1&&(a=!0)),!a)break}return i}(t,at(r,e.scrollToPos.from),at(r,e.scrollToPos.to),e.scrollToPos.margin));var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var a=0;a=e.display.viewTo)){var n=+new Date+e.options.workTime,r=pt(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Be(t.mode,r.state):null,l=ct(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var u=o.styleClasses,c=l.classes;c?o.styleClasses=c:u&&(o.styleClasses=null);for(var f=!a||a.length!=o.styles.length||u!=c&&(!u||!c||u.bgClass!=c.bgClass||u.textClass!=c.textClass),p=0;!f&&pn)return ni(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Xr(e,(function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==hr(e))return!1;fi(e)&&(pr(e),t.dims=ir(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),wt&&(o=Pt(e.doc,o),a=Vt(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=rn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=rn(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,ur(e,n)))),r.viewTo=n}(e,o,a),n.viewOffset=zt(Ge(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+\"px\";var u=hr(e);if(!s&&0==u&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=function(e){if(e.hasFocus())return null;var t=I();if(!t||!A(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&A(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}(e);return u>4&&(n.lineDiv.style.display=\"none\"),function(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display=\"none\":t.parentNode.removeChild(t),n}for(var u=r.view,c=r.viewFrom,f=0;f-1&&(d=!1),un(e,p,c,n)),d&&(S(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(Xe(e.options,c)))),a=p.node.nextSibling}else{var h=vn(e,p,c,n);o.insertBefore(h,a)}c+=p.size}for(;a;)a=s(a)}(e,n.updateLineNumbers,t.dims),u>4&&(n.lineDiv.style.display=\"\"),n.renderedView=n.view,function(e){if(e&&e.activeElt&&e.activeElt!=I()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&A(document.body,e.anchorNode)&&A(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(c),S(n.cursorDiv),S(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ni(e,400)),n.updateLineNumbers=null,!0}function ai(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=xn(e))r&&(t.visible=Sr(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Tn(e.display)-Sn(e),n.top)}),t.visible=Sr(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!oi(e,t))break;_r(e);var i=Mr(e);mr(e),Ur(e,i),ui(e,i),t.force=!1}t.signal(e,\"update\",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,\"viewportChange\",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function si(e,t){var n=new ii(e,t);if(oi(e,n)){_r(e),ai(e,n);var r=Mr(e);mr(e),Ur(e,r),ui(e,r),n.finish()}}function li(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+\"px\"}function ui(e,t){e.display.sizer.style.minHeight=t.docHeight+\"px\",e.display.heightForcer.style.top=t.docHeight+\"px\",e.display.gutters.style.height=t.docHeight+e.display.barHeight+_n(e)+\"px\"}function ci(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=or(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+\"px\",a=0;as.clientWidth,c=s.scrollHeight>s.clientHeight;if(i&&u||o&&c){if(o&&y&&l)e:for(var p=t.target,d=a.view;p!=s;p=p.parentNode)for(var h=0;h=0&&et(e,r.to())<=0)return n}return-1};var ki=function(e,t){this.anchor=e,this.head=t};function Ti(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return et(e.from(),t.from())})),n=U(t,i);for(var o=1;o0:l>=0){var u=it(s.from(),a.from()),c=rt(s.to(),a.to()),f=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new ki(f?c:u,f?u:c))}}return new wi(t,n)}function Oi(e,t){return new wi([new ki(e,t||e)],0)}function _i(e){return e.text?Ze(e.from.line+e.text.length-1,K(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function xi(e,t){if(et(e,t.from)<0)return e;if(et(e,t.to)<=0)return _i(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=_i(t).ch-t.to.ch),Ze(n,r)}function Si(e,t){for(var n=[],r=0;r1&&e.remove(s.line+1,h-1),e.insert(s.line+1,g)}sn(e,\"change\",e,t)}function ji(e,t,n){!function e(r,i,o){if(r.linked)for(var a=0;as-(e.cm?e.cm.options.historyEventDelay:500)||\"*\"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Pi(e.done),K(e.done)):e.done.length&&!K(e.done).ranges?K(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),K(e.done)):void 0}(i,i.lastOp==r)))a=K(o.changes),0==et(t.from,t.to)&&0==et(t.from,a.to)?a.to=_i(t):o.changes.push(Mi(e,t));else{var l=K(i.done);for(l&&l.ranges||Bi(e.sel,i.done),o={changes:[Mi(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||he(e,\"historyAdded\")}function Ui(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function(e,t,n,r){var i=t.charAt(0);return\"*\"==i||\"+\"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,K(i.done),t))?i.done[i.done.length-1]=t:Bi(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Pi(i.undone)}function Bi(e,t){var n=K(t);n&&n.ranges&&n.equals(e)||t.push(e)}function zi(e,t,n,r){var i=t[\"spans_\"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t[\"spans_\"+e.id]={}))[o]=n.markedSpans),++o}))}function qi(e){if(!e)return null;for(var t,n=0;n-1&&(K(s)[f]=u[f],delete u[f])}}}return r}function Wi(e,t,n,r){if(r){var i=e.anchor;if(n){var o=et(t,i)<0;o!=et(n,i)<0?(i=t,t=n):o!=et(t,n)<0&&(t=n)}return new ki(i,t)}return new ki(n||t,t)}function Qi(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Xi(e,new wi([Wi(e.sel.primary(),t,n,i)],0),r)}function Ki(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o=t.ch:s.to>t.ch))){if(i&&(he(l,\"beforeCursorEnter\"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var f=l.find(r<0?1:-1),p=void 0;if((r<0?c:u)&&(f=oo(e,f,-r,f&&f.line==t.line?o:null)),f&&f.line==t.line&&(p=et(f,n))&&(r<0?p<0:p>0))return ro(e,f,t,r,i)}var d=l.find(r<0?-1:1);return(r<0?u:c)&&(d=oo(e,d,r,d.line==t.line?o:null)),d?ro(e,d,t,r,i):null}}return t}function io(e,t,n,r,i){var o=r||1,a=ro(e,t,n,o,i)||!i&&ro(e,t,n,o,!0)||ro(e,t,n,-o,i)||!i&&ro(e,t,n,-o,!0);return a||(e.cantEdit=!0,Ze(e.first,0))}function oo(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?at(e,Ze(t.line-1)):null:n>0&&t.ch==(r||Ge(e,t.line)).text.length?t.line0)){var c=[l,1],f=et(u.from,s.from),p=et(u.to,s.to);(f<0||!a.inclusiveLeft&&!f)&&c.push({from:u.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&c.push({from:s.to,to:u.to}),i.splice.apply(i,c),l+=c.length-3}}return i}(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)uo(e,{from:r[i].from,to:r[i].to,text:i?[\"\"]:t.text,origin:t.origin});else uo(e,t)}}function uo(e,t){if(1!=t.text.length||\"\"!=t.text[0]||0!=et(t.from,t.to)){var n=Si(e,t);Vi(e,t,n,e.cm?e.cm.curOp.id:NaN),po(e,t,n,_t(e,t));var r=[];ji(e,(function(e,n){n||-1!=U(r,e.history)||(go(e.history,t),r.push(e.history)),po(e,t,null,_t(e,t))}))}}function co(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s=\"undo\"==t?o.done:o.undone,l=\"undo\"==t?o.undone:o.done,u=0;u=0;--d){var h=p(d);if(h)return h.v}}}}function fo(e,t){if(0!=t&&(e.first+=t,e.sel=new wi(Y(e.sel.ranges,(function(e){return new ki(Ze(e.anchor.line+t,e.anchor.ch),Ze(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){cr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:Ze(o,Ge(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=We(e,t.from,t.to),n||(n=Si(e,t)),e.cm?function(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=Ye(Mt(Ge(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&ve(e),Ii(r,t,n,ar(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=qt(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var i=Ge(e,r).stateAfter;if(i&&(!(i instanceof lt)||r+i.lookAhead1||!(this.children[0]instanceof bo))){var s=[];this.collapse(s),this.children=[new bo(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var a=i.lines.length%25+25,s=a;s10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=D(\"span\",[o.replacedWith],\"CodeMirror-widget\"),r.handleMouseEvents||o.widgetNode.setAttribute(\"cm-ignore-events\",\"true\"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Rt(e,t.line,t,n,o)||t.line!=n.line&&Rt(e,n.line,t,n,o))throw new Error(\"Inserting collapsed marker partially overlapping an existing one\");wt=!0}o.addToHistory&&Vi(e,{from:t,to:n,origin:\"markText\"},e.sel,NaN);var s,l=t.line,u=e.cm;if(e.iter(l,n.line+1,(function(e){u&&o.collapsed&&!u.options.lineWrapping&&Mt(e)==u.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&Ke(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new kt(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){Ut(e,t)&&Ke(t,0)})),o.clearOnEnter&&fe(o,\"beforeCursorEnter\",(function(){return o.clear()})),o.readOnly&&(Et=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++To,o.atomic=!0),u){if(s&&(u.curOp.updateMaxLine=!0),o.collapsed)cr(u,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var c=t.line;c<=n.line;c++)fr(u,c,\"text\");o.atomic&&to(u.doc),sn(u,\"markerAdded\",u,o)}return o}Oo.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Gr(e),ge(this,\"clear\")){var n=this.find();n&&sn(this,\"clear\",n.from,n.to)}for(var r=null,i=null,o=0;oe.display.maxLineLength&&(e.display.maxLine=u,e.display.maxLineLength=c,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&cr(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&to(e.doc)),e&&sn(e,\"markerCleared\",e,this,r,i),t&&Wr(e),this.parent&&this.parent.clear()}},Oo.prototype.find=function(e,t){var n,r;null==e&&\"bookmark\"==this.type&&(e=1);for(var i=0;i=0;l--)lo(this,r[l]);s?$i(this,s):this.cm&&Dr(this.cm)})),undo:ti((function(){co(this,\"undo\")})),redo:ti((function(){co(this,\"redo\")})),undoSelection:ti((function(){co(this,\"undo\",!0)})),redoSelection:ti((function(){co(this,\"redo\",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=at(this,e),t=at(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=o,++n})),at(this,Ze(n,t))},indexFromPos:function(e){var t=(e=at(this,e)).ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var f=e.dataTransfer.getData(\"Text\");if(f){var p;if(t.state.draggingText&&!t.state.draggingText.copy&&(p=t.listSelections()),Zi(t.doc,Oi(n,n)),p)for(var d=0;d=0;t--)ho(e.doc,\"\",r[t].from,r[t].to,\"+delete\");Dr(e)}))}function $o(e,t,n){var r=ie(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Xo(e,t,n){var r=$o(e,t.ch,n);return null==r?null:new Ze(t.line,r,n<0?\"after\":\"before\")}function Zo(e,t,n,r,i){if(e){\"rtl\"==t.doc.direction&&(i=-i);var o=ue(n,t.doc.direction);if(o){var a,s=i<0?K(o):o[0],l=i<0==(1==s.level)?\"after\":\"before\";if(s.level>0||\"rtl\"==t.doc.direction){var u=An(t,n);a=i<0?n.text.length-1:0;var c=In(t,u,a).top;a=oe((function(e){return In(t,u,e).top==c}),i<0==(1==s.level)?s.from:s.to-1,a),\"before\"==l&&(a=$o(n,a,1))}else a=i<0?s.to:s.from;return new Ze(r,a,l)}}return new Ze(r,i<0?n.text.length:0,i<0?\"before\":\"after\")}zo.basic={Left:\"goCharLeft\",Right:\"goCharRight\",Up:\"goLineUp\",Down:\"goLineDown\",End:\"goLineEnd\",Home:\"goLineStartSmart\",PageUp:\"goPageUp\",PageDown:\"goPageDown\",Delete:\"delCharAfter\",Backspace:\"delCharBefore\",\"Shift-Backspace\":\"delCharBefore\",Tab:\"defaultTab\",\"Shift-Tab\":\"indentAuto\",Enter:\"newlineAndIndent\",Insert:\"toggleOverwrite\",Esc:\"singleSelection\"},zo.pcDefault={\"Ctrl-A\":\"selectAll\",\"Ctrl-D\":\"deleteLine\",\"Ctrl-Z\":\"undo\",\"Shift-Ctrl-Z\":\"redo\",\"Ctrl-Y\":\"redo\",\"Ctrl-Home\":\"goDocStart\",\"Ctrl-End\":\"goDocEnd\",\"Ctrl-Up\":\"goLineUp\",\"Ctrl-Down\":\"goLineDown\",\"Ctrl-Left\":\"goGroupLeft\",\"Ctrl-Right\":\"goGroupRight\",\"Alt-Left\":\"goLineStart\",\"Alt-Right\":\"goLineEnd\",\"Ctrl-Backspace\":\"delGroupBefore\",\"Ctrl-Delete\":\"delGroupAfter\",\"Ctrl-S\":\"save\",\"Ctrl-F\":\"find\",\"Ctrl-G\":\"findNext\",\"Shift-Ctrl-G\":\"findPrev\",\"Shift-Ctrl-F\":\"replace\",\"Shift-Ctrl-R\":\"replaceAll\",\"Ctrl-[\":\"indentLess\",\"Ctrl-]\":\"indentMore\",\"Ctrl-U\":\"undoSelection\",\"Shift-Ctrl-U\":\"redoSelection\",\"Alt-U\":\"redoSelection\",fallthrough:\"basic\"},zo.emacsy={\"Ctrl-F\":\"goCharRight\",\"Ctrl-B\":\"goCharLeft\",\"Ctrl-P\":\"goLineUp\",\"Ctrl-N\":\"goLineDown\",\"Alt-F\":\"goWordRight\",\"Alt-B\":\"goWordLeft\",\"Ctrl-A\":\"goLineStart\",\"Ctrl-E\":\"goLineEnd\",\"Ctrl-V\":\"goPageDown\",\"Shift-Ctrl-V\":\"goPageUp\",\"Ctrl-D\":\"delCharAfter\",\"Ctrl-H\":\"delCharBefore\",\"Alt-D\":\"delWordAfter\",\"Alt-Backspace\":\"delWordBefore\",\"Ctrl-K\":\"killLine\",\"Ctrl-T\":\"transposeChars\",\"Ctrl-O\":\"openLine\"},zo.macDefault={\"Cmd-A\":\"selectAll\",\"Cmd-D\":\"deleteLine\",\"Cmd-Z\":\"undo\",\"Shift-Cmd-Z\":\"redo\",\"Cmd-Y\":\"redo\",\"Cmd-Home\":\"goDocStart\",\"Cmd-Up\":\"goDocStart\",\"Cmd-End\":\"goDocEnd\",\"Cmd-Down\":\"goDocEnd\",\"Alt-Left\":\"goGroupLeft\",\"Alt-Right\":\"goGroupRight\",\"Cmd-Left\":\"goLineLeft\",\"Cmd-Right\":\"goLineRight\",\"Alt-Backspace\":\"delGroupBefore\",\"Ctrl-Alt-Backspace\":\"delGroupAfter\",\"Alt-Delete\":\"delGroupAfter\",\"Cmd-S\":\"save\",\"Cmd-F\":\"find\",\"Cmd-G\":\"findNext\",\"Shift-Cmd-G\":\"findPrev\",\"Cmd-Alt-F\":\"replace\",\"Shift-Cmd-Alt-F\":\"replaceAll\",\"Cmd-[\":\"indentLess\",\"Cmd-]\":\"indentMore\",\"Cmd-Backspace\":\"delWrappedLineLeft\",\"Cmd-Delete\":\"delWrappedLineRight\",\"Cmd-U\":\"undoSelection\",\"Shift-Cmd-U\":\"redoSelection\",\"Ctrl-Up\":\"goDocStart\",\"Ctrl-Down\":\"goDocEnd\",fallthrough:[\"basic\",\"emacsy\"]},zo.default=y?zo.macDefault:zo.pcDefault;var ea={selectAll:ao,singleSelection:function(e){return e.setSelection(e.getCursor(\"anchor\"),e.getCursor(\"head\"),z)},killLine:function(e){return Jo(e,(function(t){if(t.empty()){var n=Ge(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)i=new Ze(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),Ze(i.line,i.ch-2),i,\"+transpose\");else if(i.line>e.doc.first){var a=Ge(e.doc,i.line-1).text;a&&(i=new Ze(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),Ze(i.line-1,a.length-1),i,\"+transpose\"))}n.push(new ki(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Xr(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,\"+input\");t=e.listSelections();for(var r=0;r-1&&(et((i=u.ranges[i]).from(),t)<0||t.xRel>0)&&(et(i.to(),t)>0||t.xRel<0)?function(e,t,n,r){var i=e.display,o=!1,u=Zr(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:kr(e)),de(i.wrapper.ownerDocument,\"mouseup\",u),de(i.wrapper.ownerDocument,\"mousemove\",c),de(i.scroller,\"dragstart\",f),de(i.scroller,\"drop\",u),o||(be(t),r.addNew||Qi(e.doc,n,null,null,r.extend),l&&!p||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),c=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},f=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=u,u.copy=!r.moveOnDrag,fe(i.wrapper.ownerDocument,\"mouseup\",u),fe(i.wrapper.ownerDocument,\"mousemove\",c),fe(i.scroller,\"dragstart\",f),fe(i.scroller,\"drop\",u),e.state.delayingBlurEvent=!0,setTimeout((function(){return i.input.focus()}),20),i.scroller.dragDrop&&i.scroller.dragDrop()}(e,r,t,o):function(e,t,n,r){a&&kr(e);var i=e.display,o=e.doc;be(t);var s,l,u=o.sel,c=u.ranges;if(r.addNew&&!r.extend?(l=o.sel.contains(n),s=l>-1?c[l]:new ki(n,n)):(s=o.sel.primary(),l=o.sel.primIndex),\"rectangle\"==r.unit)r.addNew||(s=new ki(n,n)),n=lr(e,t,!0,!0),l=-1;else{var f=va(e,n,r.unit);s=r.extend?Wi(s,f.anchor,f.head,r.extend):f}r.addNew?-1==l?(l=c.length,Xi(o,Ti(e,c.concat([s]),l),{scroll:!1,origin:\"*mouse\"})):c.length>1&&c[l].empty()&&\"char\"==r.unit&&!r.extend?(Xi(o,Ti(e,c.slice(0,l).concat(c.slice(l+1)),0),{scroll:!1,origin:\"*mouse\"}),u=o.sel):Yi(o,l,s,q):(l=0,Xi(o,new wi([s],0),q),u=o.sel);var p=n;function d(t){if(0!=et(p,t))if(p=t,\"rectangle\"==r.unit){for(var i=[],a=e.options.tabSize,c=P(Ge(o,n.line).text,n.ch,a),f=P(Ge(o,t.line).text,t.ch,a),d=Math.min(c,f),h=Math.max(c,f),m=Math.min(n.line,t.line),v=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=v;m++){var g=Ge(o,m).text,y=G(g,d,a);d==h?i.push(new ki(Ze(m,y),Ze(m,y))):g.length>y&&i.push(new ki(Ze(m,y),Ze(m,G(g,h,a))))}i.length||i.push(new ki(n,n)),Xi(o,Ti(e,u.ranges.slice(0,l).concat(i),l),{origin:\"*mouse\",scroll:!1}),e.scrollIntoView(t)}else{var b,E=s,w=va(e,t,r.unit),k=E.anchor;et(w.anchor,k)>0?(b=w.head,k=it(E.from(),w.anchor)):(b=w.anchor,k=rt(E.to(),w.head));var T=u.ranges.slice(0);T[l]=function(e,t){var n=t.anchor,r=t.head,i=Ge(e.doc,n.line);if(0==et(n,r)&&n.sticky==r.sticky)return t;var o=ue(i);if(!o)return t;var a=se(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,u=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==u||u==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*(\"ltr\"==e.doc.direction?1:-1)>0;else{var c=se(o,r.ch,r.sticky),f=c-a||(r.ch-n.ch)*(1==s.level?-1:1);l=c==u-1||c==u?f<0:f>0}var p=o[u+(l?-1:0)],d=l==(1==p.level),h=d?p.from:p.to,m=d?\"after\":\"before\";return n.ch==h&&n.sticky==m?t:new ki(new Ze(n.line,h,m),r)}(e,new ki(at(o,k),b)),Xi(o,Ti(e,T,l),q)}}var h=i.wrapper.getBoundingClientRect(),m=0;function v(t){e.state.selectingText=!1,m=1/0,t&&(be(t),i.input.focus()),de(i.wrapper.ownerDocument,\"mousemove\",g),de(i.wrapper.ownerDocument,\"mouseup\",y),o.history.lastSelOrigin=null}var g=Zr(e,(function(t){0!==t.buttons&&Oe(t)?function t(n){var a=++m,s=lr(e,n,!0,\"rectangle\"==r.unit);if(s)if(0!=et(s,p)){e.curOp.focus=I(),d(s);var l=Sr(i,o);(s.line>=l.to||s.lineh.bottom?20:0;u&&setTimeout(Zr(e,(function(){m==a&&(i.scroller.scrollTop+=u,t(n))})),50)}}(t):v(t)})),y=Zr(e,v);e.state.selectingText=y,fe(i.wrapper.ownerDocument,\"mousemove\",g),fe(i.wrapper.ownerDocument,\"mouseup\",y)}(e,r,t,o)}(t,r,o,e):Te(e)==n.scroller&&be(e):2==i?(r&&Qi(t.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(T?t.display.input.onContextMenu(e):kr(t)))}}function va(e,t,n){if(\"char\"==n)return new ki(t,t);if(\"word\"==n)return e.findWordAt(t);if(\"line\"==n)return new ki(Ze(t.line,0),at(e.doc,Ze(t.line+1,0)));var r=n(e,t);return new ki(r.from,r.to)}function ga(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(c){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&be(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!ge(e,n))return we(t);o-=s.top-a.viewOffset;for(var l=0;l=i)return he(e,n,e,Je(e.doc,o),e.display.gutterSpecs[l].className,t),we(t)}}function ya(e,t){return ga(e,t,\"gutterClick\",!0)}function ba(e,t){wn(e.display,t)||function(e,t){return!!ge(e,\"gutterContextMenu\")&&ga(e,t,\"gutterContextMenu\",!1)}(e,t)||me(e,t,\"contextmenu\")||T||e.display.input.onContextMenu(t)}function Ea(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\\s*cm-s-\\S+/g,\"\")+e.options.theme.replace(/(^|\\s)\\s*/g,\" cm-s-\"),Vn(e)}ha.prototype.compare=function(e,t,n){return this.time+400>e&&0==et(t,this.pos)&&n==this.button};var wa={toString:function(){return\"CodeMirror.Init\"}},ka={},Ta={};function Oa(e,t,n){if(!t!=!(n&&n!=wa)){var r=e.display.dragFunctions,i=t?fe:de;i(e.display.scroller,\"dragstart\",r.start),i(e.display.scroller,\"dragenter\",r.enter),i(e.display.scroller,\"dragover\",r.over),i(e.display.scroller,\"dragleave\",r.leave),i(e.display.scroller,\"drop\",r.drop)}}function _a(e){e.options.lineWrapping?(j(e.display.wrapper,\"CodeMirror-wrap\"),e.display.sizer.style.minWidth=\"\",e.display.sizerWidth=null):(x(e.display.wrapper,\"CodeMirror-wrap\"),Ht(e)),sr(e),cr(e),Vn(e),setTimeout((function(){return Ur(e)}),100)}function xa(e,t){var n=this;if(!(this instanceof xa))return new xa(e,t);this.options=t=t?M(t):{},M(ka,t,!1);var r=t.value;\"string\"==typeof r?r=new Do(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new xa.inputStyles[t.inputStyle](this),o=this.display=new mi(e,r,i,t);for(var u in o.wrapper.CodeMirror=this,Ea(this),t.lineWrapping&&(this.display.wrapper.className+=\" CodeMirror-wrap\"),qr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new V,keySeq:null,specialChars:null},t.autofocus&&!g&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),function(e){var t=e.display;fe(t.scroller,\"mousedown\",Zr(e,ma)),fe(t.scroller,\"dblclick\",a&&s<11?Zr(e,(function(t){if(!me(e,t)){var n=lr(e,t);if(n&&!ya(e,t)&&!wn(e.display,t)){be(t);var r=e.findWordAt(n);Qi(e.doc,r.anchor,r.head)}}})):function(t){return me(e,t)||be(t)}),fe(t.scroller,\"contextmenu\",(function(t){return ba(e,t)})),fe(t.input.getField(),\"contextmenu\",(function(n){t.scroller.contains(n.target)||ba(e,n)}));var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),(r=t.activeTouch).end=+new Date)}function o(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}fe(t.scroller,\"touchstart\",(function(i){if(!me(e,i)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(i)&&!ya(e,i)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),fe(t.scroller,\"touchmove\",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),fe(t.scroller,\"touchend\",(function(n){var r=t.activeTouch;if(r&&!wn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var a,s=e.coordsChar(t.activeTouch,\"page\");a=!r.prev||o(r,r.prev)?new ki(s,s):!r.prev.prev||o(r,r.prev.prev)?e.findWordAt(s):new ki(Ze(s.line,0),at(e.doc,Ze(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),be(n)}i()})),fe(t.scroller,\"touchcancel\",i),fe(t.scroller,\"scroll\",(function(){t.scroller.clientHeight&&(Lr(e,t.scroller.scrollTop),Rr(e,t.scroller.scrollLeft,!0),he(e,\"scroll\",e))})),fe(t.scroller,\"mousewheel\",(function(t){return Ei(e,t)})),fe(t.scroller,\"DOMMouseScroll\",(function(t){return Ei(e,t)})),fe(t.wrapper,\"scroll\",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){me(e,t)||ke(t)},over:function(t){me(e,t)||(function(e,t){var n=lr(e,t);if(n){var r=document.createDocumentFragment();gr(e,n,r),e.display.dragCursor||(e.display.dragCursor=N(\"div\",null,\"CodeMirror-cursors CodeMirror-dragcursors\"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),C(e.display.dragCursor,r)}}(e,t),ke(t))},start:function(t){return function(e,t){if(a&&(!e.state.draggingText||+new Date-Ao<100))ke(t);else if(!me(e,t)&&!wn(e.display,t)&&(t.dataTransfer.setData(\"Text\",e.getSelection()),t.dataTransfer.effectAllowed=\"copyMove\",t.dataTransfer.setDragImage&&!p)){var n=N(\"img\",null,null,\"position: fixed; left: 0; top: 0;\");n.src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\",f&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),f&&n.parentNode.removeChild(n)}}(e,t)},drop:Zr(e,Io),leave:function(t){me(e,t)||jo(e)}};var l=t.input.getField();fe(l,\"keyup\",(function(t){return ca.call(e,t)})),fe(l,\"keydown\",Zr(e,ua)),fe(l,\"keypress\",Zr(e,fa)),fe(l,\"focus\",(function(t){return Tr(e,t)})),fe(l,\"blur\",(function(t){return Or(e,t)}))}(this),Ro(),Gr(this),this.curOp.forceUpdate=!0,Li(this,r),t.autofocus&&!g||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&Tr(n)}),20):Or(this),Ta)Ta.hasOwnProperty(u)&&Ta[u](this,t[u],wa);fi(this),t.finishInit&&t.finishInit(this);for(var c=0;c150)){if(!r)return;n=\"prev\"}}else u=0,n=\"not\";\"prev\"==n?u=t>o.first?P(Ge(o,t-1).text,null,a):0:\"add\"==n?u=l+e.options.indentUnit:\"subtract\"==n?u=l-e.options.indentUnit:\"number\"==typeof n&&(u=l+n),u=Math.max(0,u);var f=\"\",p=0;if(e.options.indentWithTabs)for(var d=Math.floor(u/a);d;--d)p+=a,f+=\"\\t\";if(pa,l=De(t),u=null;if(s&&r.ranges.length>1)if(Na&&Na.text.join(\"\\n\")==t){if(r.ranges.length%Na.text.length==0){u=[];for(var c=0;c=0;p--){var d=r.ranges[p],h=d.from(),m=d.to();d.empty()&&(n&&n>0?h=Ze(h.line,h.ch-n):e.state.overwrite&&!s?m=Ze(m.line,Math.min(Ge(o,m.line).text.length,m.ch+K(l).length)):s&&Na&&Na.lineWise&&Na.text.join(\"\\n\")==l.join(\"\\n\")&&(h=m=Ze(h.line,0)));var v={from:h,to:m,text:u?u[p%u.length]:l,origin:i||(s?\"paste\":e.state.cutIncoming>a?\"cut\":\"+input\")};lo(e.doc,v),sn(e,\"inputRead\",e,v)}t&&!s&&ja(e,t),Dr(e),e.curOp.updateInput<2&&(e.curOp.updateInput=f),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Ia(e,t){var n=e.clipboardData&&e.clipboardData.getData(\"Text\");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Xr(t,(function(){return Aa(t,n,0,null,\"paste\")})),!0}function ja(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s-1){a=Ca(e,i.head.line,\"smart\");break}}else o.electricInput&&o.electricInput.test(Ge(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Ca(e,i.head.line,\"smart\"));a&&sn(e,\"electricInput\",e,i.head.line)}}}function La(e){for(var t=[],n=[],r=0;r0?0:-1));if(isNaN(u))a=null;else{var c=n>0?u>=55296&&u<56320:u>=56320&&u<57343;a=new Ze(t.line,Math.max(0,Math.min(s.text.length,t.ch+n*(c?2:1))),-n)}}else a=i?function(e,t,n,r){var i=ue(t,e.doc.direction);if(!i)return Xo(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky=\"before\"):n.ch<=0&&(n.ch=0,n.sticky=\"after\");var o=se(i,n.ch,n.sticky),a=i[o];if(\"ltr\"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from=a.from&&p>=c.begin)){var d=f?\"before\":\"after\";return new Ze(n.line,p,d)}}var h=function(e,t,r){for(var o=function(e,t){return t?new Ze(n.line,l(e,1),\"before\"):new Ze(n.line,e,\"after\")};e>=0&&e0==(1!=a.level),u=s?r.begin:l(r.end,-1);if(a.from<=u&&u0?c.end:l(c.begin,-1);return null==v||r>0&&v==t.text.length||!(m=h(r>0?0:i.length-1,r,u(v)))?null:m}(e.cm,s,t,n):Xo(s,t,n);if(null==a){if(o||!function(){var n=t.line+l;return!(n=e.first+e.size)&&(t=new Ze(n,t.ch,t.sticky),s=Ge(e,n))}())return!1;t=Zo(i,e.cm,s,t.line,l)}else t=a;return!0}if(\"char\"==r||\"codepoint\"==r)u();else if(\"column\"==r)u(!0);else if(\"word\"==r||\"group\"==r)for(var c=null,f=\"group\"==r,p=e.cm&&e.cm.getHelper(t,\"wordChars\"),d=!0;!(n<0)||u(!d);d=!1){var h=s.text.charAt(t.ch)||\"\\n\",m=ee(h,p)?\"w\":f&&\"\\n\"==h?\"n\":!f||/\\s/.test(h)?null:\"p\";if(!f||d||m||(m=\"s\"),c&&c!=m){n<0&&(n=1,u(),t.sticky=\"after\");break}if(m&&(c=m),n>0&&!u(!d))break}var v=io(e,t,o,a,!0);return tt(o,v)&&(v.hitSide=!0),v}function Pa(e,t,n,r){var i,o,a=e.doc,s=t.left;if(\"page\"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),u=Math.max(l-.5*nr(e.display),3);i=(n>0?t.bottom:t.top)+n*u}else\"line\"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(o=Yn(e,s,i)).outside;){if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Va=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new V,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Ua(e,t){var n=Dn(e,t.line);if(!n||n.hidden)return null;var r=Ge(e.doc,t.line),i=Cn(n,r,t.line),o=ue(r,e.doc.direction),a=\"left\";o&&(a=se(o,t.ch)%2?\"right\":\"left\");var s=Fn(i.map,t.ch,a);return s.offset=\"right\"==s.collapse?s.end:s.start,s}function Ba(e,t){return t&&(e.bad=!0),e}function za(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return Ba(e.clipPos(Ze(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i=t.display.viewTo||o.line=t.display.viewFrom&&Ua(t,i)||{node:l[0].measure.map[2],offset:0},c=o.liner.firstLine()&&(a=Ze(a.line-1,Ge(r.doc,a.line-1).length)),s.ch==Ge(r.doc,s.line).text.length&&s.linei.viewTo-1)return!1;a.line==i.viewFrom||0==(e=ur(r,a.line))?(t=Ye(i.view[0].line),n=i.view[0].node):(t=Ye(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,u,c=ur(r,s.line);if(c==i.view.length-1?(l=i.viewTo-1,u=i.lineDiv.lastChild):(l=Ye(i.view[c+1].line)-1,u=i.view[c+1].node.previousSibling),!n)return!1;for(var f=r.doc.splitLines(function(e,t,n,r,i){var o=\"\",a=!1,s=e.doc.lineSeparator(),l=!1;function u(){a&&(o+=s,l&&(o+=s),a=l=!1)}function c(e){e&&(u(),o+=e)}function f(t){if(1==t.nodeType){var n=t.getAttribute(\"cm-text\");if(n)return void c(n);var o,p=t.getAttribute(\"cm-marker\");if(p){var d=e.findMarks(Ze(r,0),Ze(i+1,0),(v=+p,function(e){return e.id==v}));return void(d.length&&(o=d[0].find(0))&&c(We(e.doc,o.from,o.to).join(s)))}if(\"false\"==t.getAttribute(\"contenteditable\"))return;var h=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;h&&u();for(var m=0;m1&&p.length>1;)if(K(f)==K(p))f.pop(),p.pop(),l--;else{if(f[0]!=p[0])break;f.shift(),p.shift(),t++}for(var d=0,h=0,m=f[0],v=p[0],g=Math.min(m.length,v.length);da.ch&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)d--,h++;f[f.length-1]=y.slice(0,y.length-h).replace(/^\\u200b+/,\"\"),f[0]=f[0].slice(d).replace(/\\u200b+$/,\"\");var w=Ze(t,d),k=Ze(l,p.length?K(p).length-h:0);return f.length>1||f[0]||et(w,k)?(ho(r.doc,f,w,k,\"+input\"),!0):void 0},Va.prototype.ensurePolled=function(){this.forceCompositionEnd()},Va.prototype.reset=function(){this.forceCompositionEnd()},Va.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Va.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Va.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Xr(this.cm,(function(){return cr(e.cm)}))},Va.prototype.setUneditable=function(e){e.contentEditable=\"false\"},Va.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Zr(this.cm,Aa)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Va.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(\"nocursor\"!=e)},Va.prototype.onContextMenu=function(){},Va.prototype.resetPosition=function(){},Va.prototype.needsContentAttribute=!0;var Ha=function(e){this.cm=e,this.prevInput=\"\",this.pollingFast=!1,this.polling=new V,this.hasSelection=!1,this.composing=null};Ha.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!me(r,e)){if(r.somethingSelected())Da({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=La(r);Da({lineWise:!0,text:t.text}),\"cut\"==e.type?r.setSelections(t.ranges,null,z):(n.prevInput=\"\",i.value=t.text.join(\"\\n\"),F(i))}\"cut\"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(i.style.width=\"0px\"),fe(i,\"input\",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),fe(i,\"paste\",(function(e){me(r,e)||Ia(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),fe(i,\"cut\",o),fe(i,\"copy\",o),fe(e.scroller,\"paste\",(function(t){if(!wn(e,t)&&!me(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event(\"paste\");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),fe(e.lineSpace,\"selectstart\",(function(t){wn(e,t)||be(t)})),fe(i,\"compositionstart\",(function(){var e=r.getCursor(\"from\");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor(\"to\"),{className:\"CodeMirror-composing\"})}})),fe(i,\"compositionend\",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},Ha.prototype.createField=function(e){this.wrapper=Ra(),this.textarea=this.wrapper.firstChild},Ha.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute(\"aria-label\",e):this.textarea.removeAttribute(\"aria-label\")},Ha.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=vr(e);if(e.options.moveInputWithCursor){var i=Wn(e,n.sel.primary().head,\"div\"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},Ha.prototype.showSelection=function(e){var t=this.cm.display;C(t.cursorDiv,e.cursors),C(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+\"px\",this.wrapper.style.left=e.teLeft+\"px\")},Ha.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput=\"\";var n=t.getSelection();this.textarea.value=n,t.state.focused&&F(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value=\"\",a&&s>=9&&(this.hasSelection=null))}},Ha.prototype.getField=function(){return this.textarea},Ha.prototype.supportsTouch=function(){return!1},Ha.prototype.focus=function(){if(\"nocursor\"!=this.cm.options.readOnly&&(!g||I()!=this.textarea))try{this.textarea.focus()}catch(e){}},Ha.prototype.blur=function(){this.textarea.blur()},Ha.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ha.prototype.receivedFocus=function(){this.slowPoll()},Ha.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},Ha.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,(function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}))},Ha.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Ae(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\\uf700-\\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r=\"\\u200b\"),8666==o)return this.reset(),this.cm.execCommand(\"undo\")}for(var l=0,u=Math.min(r.length,i.length);l1e3||i.indexOf(\"\\n\")>-1?n.value=e.prevInput=\"\":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor(\"to\"),{className:\"CodeMirror-composing\"}))})),!0},Ha.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ha.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},Ha.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=lr(n,e),u=r.scroller.scrollTop;if(o&&!f){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&Zr(n,Xi)(n.doc,Oi(o),z);var c,p=i.style.cssText,d=t.wrapper.style.cssText,h=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText=\"position: static\",i.style.cssText=\"position: absolute; width: 30px; height: 30px;\\n top: \"+(e.clientY-h.top-5)+\"px; left: \"+(e.clientX-h.left-5)+\"px;\\n z-index: 1000; background: \"+(a?\"rgba(255, 255, 255, .05)\":\"transparent\")+\";\\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);\",l&&(c=window.scrollY),r.input.focus(),l&&window.scrollTo(null,c),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=\" \"),t.contextMenuPending=v,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&m(),T?(ke(e),fe(window,\"mouseup\",(function e(){de(window,\"mouseup\",e),setTimeout(v,20)}))):setTimeout(v,50)}function m(){if(null!=i.selectionStart){var e=n.somethingSelected(),o=\"\\u200b\"+(e?i.value:\"\");i.value=\"\\u21da\",i.value=o,t.prevInput=e?\"\":\"\\u200b\",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function v(){if(t.contextMenuPending==v&&(t.contextMenuPending=!1,t.wrapper.style.cssText=d,i.style.cssText=p,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=u),null!=i.selectionStart)){(!a||a&&s<9)&&m();var e=0;r.detectingSelectAll=setTimeout((function o(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&\"\\u200b\"==t.prevInput?Zr(n,ao)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())}),200)}}},Ha.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=\"nocursor\"==e,this.textarea.readOnly=!!e},Ha.prototype.setUneditable=function(){},Ha.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=wa&&i(e,t,n)}:i)}e.defineOption=n,e.Init=wa,n(\"value\",\"\",(function(e,t){return e.setValue(t)}),!0),n(\"mode\",null,(function(e,t){e.doc.modeOption=t,Ni(e)}),!0),n(\"indentUnit\",2,Ni,!0),n(\"indentWithTabs\",!1),n(\"smartIndent\",!0),n(\"tabSize\",4,(function(e){Di(e),Vn(e),cr(e)}),!0),n(\"lineSeparator\",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(Ze(r,o))}r++}));for(var i=n.length-1;i>=0;i--)ho(e.doc,t,n[i],Ze(n[i].line,n[i].ch+t.length))}})),n(\"specialChars\",/[\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u061c\\u200b-\\u200c\\u200e\\u200f\\u2028\\u2029\\ufeff\\ufff9-\\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test(\"\\t\")?\"\":\"|\\t\"),\"g\"),n!=wa&&e.refresh()})),n(\"specialCharPlaceholder\",$t,(function(e){return e.refresh()}),!0),n(\"electricChars\",!0),n(\"inputStyle\",g?\"contenteditable\":\"textarea\",(function(){throw new Error(\"inputStyle can not (yet) be changed in a running editor\")}),!0),n(\"spellcheck\",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n(\"autocorrect\",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n(\"autocapitalize\",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n(\"rtlMoveVisually\",!E),n(\"wholeLineUpdateBefore\",!0),n(\"theme\",\"default\",(function(e){Ea(e),hi(e)}),!0),n(\"keyMap\",\"default\",(function(e,t,n){var r=Yo(t),i=n!=wa&&Yo(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n(\"extraKeys\",null),n(\"configureMouse\",null),n(\"lineWrapping\",!1,_a,!0),n(\"gutters\",[],(function(e,t){e.display.gutterSpecs=pi(t,e.options.lineNumbers),hi(e)}),!0),n(\"fixedGutter\",!0,(function(e,t){e.display.gutters.style.left=t?or(e.display)+\"px\":\"0\",e.refresh()}),!0),n(\"coverGutterNextToScrollbar\",!1,(function(e){return Ur(e)}),!0),n(\"scrollbarStyle\",\"native\",(function(e){qr(e),Ur(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n(\"lineNumbers\",!1,(function(e,t){e.display.gutterSpecs=pi(e.options.gutters,t),hi(e)}),!0),n(\"firstLineNumber\",1,hi,!0),n(\"lineNumberFormatter\",(function(e){return e}),hi,!0),n(\"showCursorWhenSelecting\",!1,mr,!0),n(\"resetSelectionOnContextMenu\",!0),n(\"lineWiseCopyCut\",!0),n(\"pasteLinesPerSelection\",!0),n(\"selectionsMayTouch\",!1),n(\"readOnly\",!1,(function(e,t){\"nocursor\"==t&&(Or(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n(\"screenReaderLabel\",null,(function(e,t){t=\"\"===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n(\"disableInput\",!1,(function(e,t){t||e.display.input.reset()}),!0),n(\"dragDrop\",!0,Oa),n(\"allowDropFileTypes\",null),n(\"cursorBlinkRate\",530),n(\"cursorScrollMargin\",0),n(\"cursorHeight\",1,mr,!0),n(\"singleCursorHeightPerLine\",!0,mr,!0),n(\"workTime\",100),n(\"workDelay\",100),n(\"flattenSpans\",!0,Di,!0),n(\"addModeClass\",!1,Di,!0),n(\"pollInterval\",100),n(\"undoDepth\",200,(function(e,t){return e.doc.history.undoDepth=t})),n(\"historyEventDelay\",1250),n(\"viewportMargin\",10,(function(e){return e.refresh()}),!0),n(\"maxHighlightLength\",1e4,Di,!0),n(\"moveInputWithCursor\",!0,(function(e,t){t||e.display.input.resetPosition()})),n(\"tabindex\",null,(function(e,t){return e.display.input.getField().tabIndex=t||\"\"})),n(\"autofocus\",null),n(\"direction\",\"ltr\",(function(e,t){return e.doc.setDirection(t)}),!0),n(\"phrases\",null)}(xa),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&\"mode\"!=e||(r[e]=n,t.hasOwnProperty(e)&&Zr(this,t[e])(this,n,i),he(this,\"optionChange\",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?\"push\":\"unshift\"](Yo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nn&&(Ca(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&Dr(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l0&&Yi(this.doc,r,new ki(o,u[r].to()),z)}}})),getTokenAt:function(e,t){return gt(this,e,t)},getLineTokens:function(e,t){return gt(this,Ze(e),t,!0)},getTokenTypeAt:function(e){e=at(this.doc,e);var t,n=ft(this,Ge(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]o&&(e=o,i=!0),r=Ge(this.doc,e)}else r=e;return qn(this,r,{top:0,left:0},t||\"page\",n||i).top+(i?this.doc.height-zt(r):0)},defaultTextHeight:function(){return nr(this.display)},defaultCharWidth:function(){return rr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display,a=(e=Wn(this,at(this.doc,e))).bottom,s=e.left;if(t.style.position=\"absolute\",t.setAttribute(\"cm-ignore-events\",\"true\"),this.display.input.setUneditable(t),o.sizer.appendChild(t),\"over\"==r)a=e.top;else if(\"above\"==r||\"near\"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),u=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);(\"above\"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>u&&(s=u-t.offsetWidth)}t.style.top=a+\"px\",t.style.left=t.style.right=\"\",\"right\"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right=\"0px\"):(\"left\"==i?s=0:\"middle\"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+\"px\"),n&&function(e,t){var n=Cr(e,t);null!=n.scrollTop&&Lr(e,n.scrollTop),null!=n.scrollLeft&&Rr(e,n.scrollLeft)}(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:ei(ua),triggerOnKeyPress:ei(fa),triggerOnKeyUp:ca,triggerOnMouseDown:ei(ma),execCommand:function(e){if(ea.hasOwnProperty(e))return ea[e].call(null,this)},triggerElectric:ei((function(e){ja(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=at(this.doc,e),a=0;a0&&a(t.charAt(n-1));)--n;for(;r.5||this.options.lineWrapping)&&sr(this),he(this,\"refresh\",this)})),swapDoc:ei((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Li(this,e),Vn(this),this.display.input.reset(),Ar(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,sn(this,\"swapDoc\",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ye(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}(xa);var Ga=\"iter insert remove copy getEditor constructor\".split(\" \");for(var Wa in Do.prototype)Do.prototype.hasOwnProperty(Wa)&&U(Ga,Wa)<0&&(xa.prototype[Wa]=function(e){return function(){return e.apply(this.doc,arguments)}}(Do.prototype[Wa]));return ye(Do),xa.inputStyles={textarea:Ha,contenteditable:Va},xa.defineMode=function(e){xa.defaults.mode||\"null\"==e||(xa.defaults.mode=e),Re.apply(this,arguments)},xa.defineMIME=function(e,t){Fe[e]=t},xa.defineMode(\"null\",(function(){return{token:function(e){return e.skipToEnd()}}})),xa.defineMIME(\"text/plain\",\"null\"),xa.defineExtension=function(e,t){xa.prototype[e]=t},xa.defineDocExtension=function(e,t){Do.prototype[e]=t},xa.fromTextArea=function(e,t){if((t=t?M(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=I();t.autofocus=n==e||null!=e.getAttribute(\"autofocus\")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(fe(e.form,\"submit\",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(l){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display=\"\",e.form&&(de(e.form,\"submit\",r),t.leaveSubmitMethodAlone||\"function\"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display=\"none\";var s=xa((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s},function(e){e.off=de,e.on=fe,e.wheelEventPixels=bi,e.Doc=Do,e.splitLines=De,e.countColumn=P,e.findColumn=G,e.isWordChar=Z,e.Pass=B,e.signal=he,e.Line=Gt,e.changeEnd=_i,e.scrollbarModel=zr,e.Pos=Ze,e.cmpPos=et,e.modes=Le,e.mimeModes=Fe,e.resolveMode=Me,e.getMode=Pe,e.modeExtensions=Ve,e.extendMode=Ue,e.copyState=Be,e.startState=qe,e.innerMode=ze,e.commands=ea,e.keyMap=zo,e.keyName=Ko,e.isModifierKey=Wo,e.lookupKey=Go,e.normalizeKeyMap=Ho,e.StringStream=He,e.SharedTextMarker=xo,e.TextMarker=Oo,e.LineWidget=wo,e.e_preventDefault=be,e.e_stopPropagation=Ee,e.e_stop=ke,e.addClass=j,e.contains=A,e.rmClass=x,e.keyNames=Po}(xa),xa.version=\"5.59.2\",xa}()},function(e,t,n){\"use strict\";n.d(t,\"b\",(function(){return r})),n.d(t,\"a\",(function(){return i})),n.d(t,\"c\",(function(){return o}));var r=\"function\"===typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:\"@@iterator\",i=\"function\"===typeof Symbol&&null!=Symbol.asyncIterator?Symbol.asyncIterator:\"@@asyncIterator\",o=\"function\"===typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:\"@@toStringTag\"},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"version\",(function(){return r})),n.d(t,\"versionInfo\",(function(){return i})),n.d(t,\"graphql\",(function(){return ge})),n.d(t,\"graphqlSync\",(function(){return ye})),n.d(t,\"GraphQLSchema\",(function(){return Ee.a})),n.d(t,\"GraphQLDirective\",(function(){return O.d})),n.d(t,\"GraphQLScalarType\",(function(){return _.g})),n.d(t,\"GraphQLObjectType\",(function(){return _.f})),n.d(t,\"GraphQLInterfaceType\",(function(){return _.c})),n.d(t,\"GraphQLUnionType\",(function(){return _.h})),n.d(t,\"GraphQLEnumType\",(function(){return _.a})),n.d(t,\"GraphQLInputObjectType\",(function(){return _.b})),n.d(t,\"GraphQLList\",(function(){return _.d})),n.d(t,\"GraphQLNonNull\",(function(){return _.e})),n.d(t,\"specifiedScalarTypes\",(function(){return we.g})),n.d(t,\"GraphQLInt\",(function(){return we.d})),n.d(t,\"GraphQLFloat\",(function(){return we.b})),n.d(t,\"GraphQLString\",(function(){return we.e})),n.d(t,\"GraphQLBoolean\",(function(){return we.a})),n.d(t,\"GraphQLID\",(function(){return we.c})),n.d(t,\"specifiedDirectives\",(function(){return O.l})),n.d(t,\"GraphQLIncludeDirective\",(function(){return O.e})),n.d(t,\"GraphQLSkipDirective\",(function(){return O.f})),n.d(t,\"GraphQLDeferDirective\",(function(){return O.b})),n.d(t,\"GraphQLStreamDirective\",(function(){return O.h})),n.d(t,\"GraphQLDeprecatedDirective\",(function(){return O.c})),n.d(t,\"GraphQLSpecifiedByDirective\",(function(){return O.g})),n.d(t,\"TypeKind\",(function(){return T.TypeKind})),n.d(t,\"DEFAULT_DEPRECATION_REASON\",(function(){return O.a})),n.d(t,\"introspectionTypes\",(function(){return T.introspectionTypes})),n.d(t,\"__Schema\",(function(){return T.__Schema})),n.d(t,\"__Directive\",(function(){return T.__Directive})),n.d(t,\"__DirectiveLocation\",(function(){return T.__DirectiveLocation})),n.d(t,\"__Type\",(function(){return T.__Type})),n.d(t,\"__Field\",(function(){return T.__Field})),n.d(t,\"__InputValue\",(function(){return T.__InputValue})),n.d(t,\"__EnumValue\",(function(){return T.__EnumValue})),n.d(t,\"__TypeKind\",(function(){return T.__TypeKind})),n.d(t,\"SchemaMetaFieldDef\",(function(){return T.SchemaMetaFieldDef})),n.d(t,\"TypeMetaFieldDef\",(function(){return T.TypeMetaFieldDef})),n.d(t,\"TypeNameMetaFieldDef\",(function(){return T.TypeNameMetaFieldDef})),n.d(t,\"isSchema\",(function(){return Ee.c})),n.d(t,\"isDirective\",(function(){return O.j})),n.d(t,\"isType\",(function(){return _.S})),n.d(t,\"isScalarType\",(function(){return _.R})),n.d(t,\"isObjectType\",(function(){return _.N})),n.d(t,\"isInterfaceType\",(function(){return _.H})),n.d(t,\"isUnionType\",(function(){return _.T})),n.d(t,\"isEnumType\",(function(){return _.E})),n.d(t,\"isInputObjectType\",(function(){return _.F})),n.d(t,\"isListType\",(function(){return _.J})),n.d(t,\"isNonNullType\",(function(){return _.L})),n.d(t,\"isInputType\",(function(){return _.G})),n.d(t,\"isOutputType\",(function(){return _.O})),n.d(t,\"isLeafType\",(function(){return _.I})),n.d(t,\"isCompositeType\",(function(){return _.D})),n.d(t,\"isAbstractType\",(function(){return _.C})),n.d(t,\"isWrappingType\",(function(){return _.U})),n.d(t,\"isNullableType\",(function(){return _.M})),n.d(t,\"isNamedType\",(function(){return _.K})),n.d(t,\"isRequiredArgument\",(function(){return _.P})),n.d(t,\"isRequiredInputField\",(function(){return _.Q})),n.d(t,\"isSpecifiedScalarType\",(function(){return we.f})),n.d(t,\"isIntrospectionType\",(function(){return T.isIntrospectionType})),n.d(t,\"isSpecifiedDirective\",(function(){return O.k})),n.d(t,\"assertSchema\",(function(){return Ee.b})),n.d(t,\"assertDirective\",(function(){return O.i})),n.d(t,\"assertType\",(function(){return _.x})),n.d(t,\"assertScalarType\",(function(){return _.w})),n.d(t,\"assertObjectType\",(function(){return _.u})),n.d(t,\"assertInterfaceType\",(function(){return _.o})),n.d(t,\"assertUnionType\",(function(){return _.y})),n.d(t,\"assertEnumType\",(function(){return _.l})),n.d(t,\"assertInputObjectType\",(function(){return _.m})),n.d(t,\"assertListType\",(function(){return _.q})),n.d(t,\"assertNonNullType\",(function(){return _.s})),n.d(t,\"assertInputType\",(function(){return _.n})),n.d(t,\"assertOutputType\",(function(){return _.v})),n.d(t,\"assertLeafType\",(function(){return _.p})),n.d(t,\"assertCompositeType\",(function(){return _.k})),n.d(t,\"assertAbstractType\",(function(){return _.j})),n.d(t,\"assertWrappingType\",(function(){return _.z})),n.d(t,\"assertNullableType\",(function(){return _.t})),n.d(t,\"assertNamedType\",(function(){return _.r})),n.d(t,\"getNullableType\",(function(){return _.B})),n.d(t,\"getNamedType\",(function(){return _.A})),n.d(t,\"validateSchema\",(function(){return l.b})),n.d(t,\"assertValidSchema\",(function(){return l.a})),n.d(t,\"Token\",(function(){return ke.b})),n.d(t,\"Source\",(function(){return Te.a})),n.d(t,\"Location\",(function(){return ke.a})),n.d(t,\"getLocation\",(function(){return Oe.a})),n.d(t,\"printLocation\",(function(){return _e.a})),n.d(t,\"printSourceLocation\",(function(){return _e.b})),n.d(t,\"Lexer\",(function(){return xe.a})),n.d(t,\"TokenKind\",(function(){return Se.a})),n.d(t,\"parse\",(function(){return a.a})),n.d(t,\"parseValue\",(function(){return a.c})),n.d(t,\"parseType\",(function(){return a.b})),n.d(t,\"print\",(function(){return A.print})),n.d(t,\"visit\",(function(){return Ce.c})),n.d(t,\"visitInParallel\",(function(){return Ce.d})),n.d(t,\"getVisitFn\",(function(){return Ce.b})),n.d(t,\"BREAK\",(function(){return Ce.a})),n.d(t,\"Kind\",(function(){return k.a})),n.d(t,\"DirectiveLocation\",(function(){return Ne.a})),n.d(t,\"isDefinitionNode\",(function(){return De.a})),n.d(t,\"isExecutableDefinitionNode\",(function(){return De.b})),n.d(t,\"isSelectionNode\",(function(){return De.c})),n.d(t,\"isValueNode\",(function(){return De.i})),n.d(t,\"isTypeNode\",(function(){return De.f})),n.d(t,\"isTypeSystemDefinitionNode\",(function(){return De.g})),n.d(t,\"isTypeDefinitionNode\",(function(){return De.d})),n.d(t,\"isTypeSystemExtensionNode\",(function(){return De.h})),n.d(t,\"isTypeExtensionNode\",(function(){return De.e})),n.d(t,\"execute\",(function(){return W})),n.d(t,\"executeSync\",(function(){return Q})),n.d(t,\"defaultFieldResolver\",(function(){return de})),n.d(t,\"defaultTypeResolver\",(function(){return pe})),n.d(t,\"responsePathAsArray\",(function(){return b})),n.d(t,\"getDirectiveValues\",(function(){return B})),n.d(t,\"subscribe\",(function(){return Fe})),n.d(t,\"createSourceEventStream\",(function(){return Pe})),n.d(t,\"validate\",(function(){return s.c})),n.d(t,\"ValidationContext\",(function(){return Ve.b})),n.d(t,\"specifiedRules\",(function(){return Ue.a})),n.d(t,\"ExecutableDefinitionsRule\",(function(){return Be.a})),n.d(t,\"FieldsOnCorrectTypeRule\",(function(){return ze.a})),n.d(t,\"FragmentsOnCompositeTypesRule\",(function(){return qe.a})),n.d(t,\"KnownArgumentNamesRule\",(function(){return He.b})),n.d(t,\"KnownDirectivesRule\",(function(){return Ge.a})),n.d(t,\"KnownFragmentNamesRule\",(function(){return We.a})),n.d(t,\"KnownTypeNamesRule\",(function(){return Qe.a})),n.d(t,\"LoneAnonymousOperationRule\",(function(){return Ke.a})),n.d(t,\"NoFragmentCyclesRule\",(function(){return Ye.a})),n.d(t,\"NoUndefinedVariablesRule\",(function(){return Je.a})),n.d(t,\"NoUnusedFragmentsRule\",(function(){return $e.a})),n.d(t,\"NoUnusedVariablesRule\",(function(){return Xe.a})),n.d(t,\"OverlappingFieldsCanBeMergedRule\",(function(){return Ze.a})),n.d(t,\"PossibleFragmentSpreadsRule\",(function(){return et.a})),n.d(t,\"ProvidedRequiredArgumentsRule\",(function(){return tt.b})),n.d(t,\"ScalarLeafsRule\",(function(){return nt.a})),n.d(t,\"SingleFieldSubscriptionsRule\",(function(){return rt.a})),n.d(t,\"UniqueArgumentNamesRule\",(function(){return it.a})),n.d(t,\"UniqueDirectivesPerLocationRule\",(function(){return ot.a})),n.d(t,\"UniqueFragmentNamesRule\",(function(){return at.a})),n.d(t,\"UniqueInputFieldNamesRule\",(function(){return st.a})),n.d(t,\"UniqueOperationNamesRule\",(function(){return lt.a})),n.d(t,\"UniqueVariableNamesRule\",(function(){return ut.a})),n.d(t,\"ValuesOfCorrectTypeRule\",(function(){return ct.a})),n.d(t,\"VariablesAreInputTypesRule\",(function(){return ft.a})),n.d(t,\"VariablesInAllowedPositionRule\",(function(){return pt.a})),n.d(t,\"LoneSchemaDefinitionRule\",(function(){return dt.a})),n.d(t,\"UniqueOperationTypesRule\",(function(){return ht.a})),n.d(t,\"UniqueTypeNamesRule\",(function(){return mt.a})),n.d(t,\"UniqueEnumValueNamesRule\",(function(){return vt.a})),n.d(t,\"UniqueFieldDefinitionNamesRule\",(function(){return gt.a})),n.d(t,\"UniqueDirectiveNamesRule\",(function(){return yt.a})),n.d(t,\"PossibleTypeExtensionsRule\",(function(){return bt.a})),n.d(t,\"NoDeprecatedCustomRule\",(function(){return Et.a})),n.d(t,\"NoSchemaIntrospectionCustomRule\",(function(){return wt})),n.d(t,\"GraphQLError\",(function(){return E.a})),n.d(t,\"syntaxError\",(function(){return kt.a})),n.d(t,\"locatedError\",(function(){return w.a})),n.d(t,\"printError\",(function(){return E.b})),n.d(t,\"formatError\",(function(){return Tt})),n.d(t,\"getIntrospectionQuery\",(function(){return Ot.a})),n.d(t,\"getOperationAST\",(function(){return _t.getOperationAST})),n.d(t,\"getOperationRootType\",(function(){return S})),n.d(t,\"introspectionFromSchema\",(function(){return Ct})),n.d(t,\"buildClientSchema\",(function(){return Nt.a})),n.d(t,\"buildASTSchema\",(function(){return Bt})),n.d(t,\"buildSchema\",(function(){return zt})),n.d(t,\"getDescription\",(function(){return Ut})),n.d(t,\"extendSchema\",(function(){return Ft})),n.d(t,\"lexicographicSortSchema\",(function(){return Qt})),n.d(t,\"printSchema\",(function(){return Xt})),n.d(t,\"printType\",(function(){return rn})),n.d(t,\"printIntrospectionSchema\",(function(){return Zt})),n.d(t,\"typeFromAST\",(function(){return x.a})),n.d(t,\"valueFromAST\",(function(){return I.a})),n.d(t,\"valueFromASTUntyped\",(function(){return dn.a})),n.d(t,\"astFromValue\",(function(){return $t.a})),n.d(t,\"TypeInfo\",(function(){return hn.a})),n.d(t,\"visitWithTypeInfo\",(function(){return hn.b})),n.d(t,\"coerceInputValue\",(function(){return R})),n.d(t,\"concatAST\",(function(){return mn})),n.d(t,\"separateOperations\",(function(){return vn})),n.d(t,\"stripIgnoredCharacters\",(function(){return yn})),n.d(t,\"isEqualType\",(function(){return En.b})),n.d(t,\"isTypeSubTypeOf\",(function(){return En.c})),n.d(t,\"doTypesOverlap\",(function(){return En.a})),n.d(t,\"assertValidName\",(function(){return wn.a})),n.d(t,\"isValidNameError\",(function(){return wn.b})),n.d(t,\"BreakingChangeType\",(function(){return _n})),n.d(t,\"DangerousChangeType\",(function(){return xn})),n.d(t,\"findBreakingChanges\",(function(){return Sn})),n.d(t,\"findDangerousChanges\",(function(){return Cn})),n.d(t,\"findDeprecatedUsages\",(function(){return Bn.a}));var r=\"15.4.0-experimental-stream-defer.1\",i=Object.freeze({major:15,minor:4,patch:0,preReleaseTag:\"experimental-stream-defer.1\"});function o(e){return\"function\"===typeof(null===e||void 0===e?void 0:e.then)}var a=n(35),s=n(48),l=n(58),u=n(42),c=n(17),f=n(4);var p=n(13),d=n(8);function h(e){return(h=\"function\"===typeof Symbol&&\"symbol\"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function m(e){return null!=e&&\"object\"===h(e)&&\"function\"===typeof e[c.a]}var v=n(21),g=n(57);function y(e,t,n){return{prev:e,key:t,typename:n}}function b(e){for(var t=[],n=e;n;)t.push(n.key),n=n.prev;return t.reverse()}var E=n(3),w=n(30),k=n(1),T=n(10),O=n(15),_=n(0),x=n(22);function S(e,t){if(\"query\"===t.operation){var n=e.getQueryType();if(!n)throw new E.a(\"Schema does not define the required query root type.\",t);return n}if(\"mutation\"===t.operation){var r=e.getMutationType();if(!r)throw new E.a(\"Schema is not configured for mutations.\",t);return r}if(\"subscription\"===t.operation){var i=e.getSubscriptionType();if(!i)throw new E.a(\"Schema is not configured for subscriptions.\",t);return i}throw new E.a(\"Can only have query, mutation and subscription operations.\",t)}var C=n(33),N=n(25);function D(e){return e.map((function(e){return\"number\"===typeof e?\"[\"+e.toString()+\"]\":\".\"+e})).join(\"\")}var A=n(12),I=n(51),j=n(14),L=n(26),F=n(28);function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:M;return P(e,t,n)}function M(e,t,n){var r=\"Invalid value \"+Object(f.a)(t);throw e.length>0&&(r+=' at \"value'.concat(D(e),'\"')),n.message=r+\": \"+n.message,n}function P(e,t,n,r){if(Object(_.L)(t))return null!=e?P(e,t.ofType,n,r):void n(b(r),e,new E.a('Expected non-nullable type \"'.concat(Object(f.a)(t),'\" not to be null.')));if(null==e)return null;if(Object(_.J)(t)){var i=t.ofType;return Object(g.a)(e)?Object(u.a)(e,(function(e,t){var o=y(r,t,void 0);return P(e,i,n,o)})):[P(e,i,n,r)]}if(Object(_.F)(t)){if(!Object(v.a)(e))return void n(b(r),e,new E.a('Expected type \"'.concat(t.name,'\" to be an object.')));for(var o={},a=t.getFields(),s=0,l=Object(j.a)(a);s0&&(i+=' at \"'.concat(s).concat(D(e),'\"')),r(new E.a(i+\"; \"+n.message,a,void 0,void 0,void 0,n.originalError))}))},a=0;a=o)throw new E.a(\"Too many errors processing variables, error limit reached. Execution aborted.\");i.push(e)}));if(0===i.length)return{coerced:a}}catch(s){i.push(s)}return{errors:i}}function U(e,t,n){for(var r,i={},o=null!==(r=t.arguments)&&void 0!==r?r:[],a=Object(N.a)(o,(function(e){return e.name.value})),s=0,l=e.args;s=u.initialCount)return e.dispatcher.addAsyncIteratorValue(u.label,y,i,a,e,n,r,t),void c(d);f(y,d)}}),(function(e){d.push(null),oe(Object(w.a)(e,n,b(h)),t,s),c(d)}))}(0,[])})).then((function(e){return l?Promise.all(e):e}))}(e,l,n,r,i,f,s)}if(!Object(g.a)(a))throw new E.a('Expected Iterable, but did not find one for field \"'.concat(r.parentType.name,\".\").concat(r.fieldName,'\".'));var p=te(e,n),d=!1,h=Object(u.a)(a,(function(t,a){var u=y(i,a,void 0);try{var c;return p&&\"number\"===typeof p.initialCount&&a>=p.initialCount?void e.dispatcher.addValue(p.label,u,t,e,n,r,l):(c=o(t)?t.then((function(t){return ae(e,l,n,r,u,t,s)})):ae(e,l,n,r,u,t,s),o(c)?(d=!0,c.then(void 0,(function(e){return oe(Object(w.a)(e,n,b(u)),l,s)}))):c)}catch(f){return oe(Object(w.a)(f,n,b(u)),l,s)}})).filter((function(e){return void 0!==e}));return d?Promise.all(h):h}(e,t,n,r,i,a,s):Object(_.I)(t)?function(e,t){var n=e.serialize(t);if(void 0===n)throw new Error('Expected a value of type \"'.concat(Object(f.a)(e),'\" but ')+\"received: \".concat(Object(f.a)(t)));return n}(t,a):Object(_.C)(t)?function(e,t,n,r,i,a,s){var l,u=null!==(l=t.resolveType)&&void 0!==l?l:e.typeResolver,c=e.contextValue,f=u(a,c,r,t);if(o(f))return f.then((function(o){return le(e,se(o,e,t,n,r,a),n,r,i,a,s)}));return le(e,se(f,e,t,n,r,a),n,r,i,a,s)}(e,t,n,r,i,a,s):Object(_.N)(t)?le(e,t,n,r,i,a,s):void Object(p.a)(0,\"Cannot complete value of unexpected output type: \"+Object(f.a)(t))}function se(e,t,n,r,i,o){if(null==e)throw new E.a('Abstract type \"'.concat(n.name,'\" must resolve to an Object type at runtime for field \"').concat(i.parentType.name,\".\").concat(i.fieldName,'\". Either the \"').concat(n.name,'\" type should provide a \"resolveType\" function or each possible type should provide an \"isTypeOf\" function.'),r);var a=Object(_.K)(e)?e.name:e;if(\"string\"!==typeof a)throw new E.a('Abstract type \"'.concat(n.name,'\" must resolve to an Object type at runtime for field \"').concat(i.parentType.name,\".\").concat(i.fieldName,'\" with ')+\"value \".concat(Object(f.a)(o),', received \"').concat(Object(f.a)(e),'\".'));var s=t.schema.getType(a);if(null==s)throw new E.a('Abstract type \"'.concat(n.name,'\" was resolve to a type \"').concat(a,'\" that does not exist inside schema.'),r);if(!Object(_.N)(s))throw new E.a('Abstract type \"'.concat(n.name,'\" was resolve to a non-object type \"').concat(a,'\".'),r);if(!t.schema.isSubType(n,s))throw new E.a('Runtime Object type \"'.concat(s.name,'\" is not a possible type for \"').concat(n.name,'\".'),r);return s}function le(e,t,n,r,i,a,s){if(t.isTypeOf){var l=t.isTypeOf(a,e.contextValue,r);if(o(l))return l.then((function(r){if(!r)throw ue(t,a,n);return ce(e,t,n,i,a,s)}));if(!l)throw ue(t,a,n)}return ce(e,t,n,i,a,s)}function ue(e,t,n){return new E.a('Expected value of type \"'.concat(e.name,'\" but got: ').concat(Object(f.a)(t),\".\"),n)}function ce(e,t,n,r,i,o){for(var a=fe(e,t,n),s=a.fields,l=a.patches,u=$(e,t,i,r,s,o),c=0;c0}),done:!1}}))},t._next=function(){return this._hasReturnedInitialResult?0===this._subsequentPayloads.length?Promise.resolve({value:void 0,done:!0}):this._race():(this._hasReturnedInitialResult=!0,Promise.resolve({value:H(H({},this._initialResult),{},{hasNext:!0}),done:!1}))},t.get=function(e){var t,n=this;return this._initialResult=e,G(t={},c.a,(function(){return this})),G(t,\"next\",(function(){return n._next()})),t},e}();function ve(e,t,n,r){var i={data:e,path:n?b(n):[]};return null!=t&&(i.label=t),r&&r.length>0&&(i.errors=r),i}function ge(e,t,n,r,i,o,a,s){var l=arguments;return new Promise((function(u){return u(1===l.length?be(e):be({schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s}))}))}function ye(e,t,n,r,i,a,s,l){var u=be(1===arguments.length?e:{schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:a,fieldResolver:s,typeResolver:l});if(o(u))throw new Error(\"GraphQL execution failed to complete synchronously.\");return u}function be(e){var t,n=e.schema,r=e.source,i=e.rootValue,o=e.contextValue,u=e.variableValues,c=e.operationName,f=e.fieldResolver,p=e.typeResolver,d=Object(l.b)(n);if(d.length>0)return{errors:d};try{t=Object(a.a)(r)}catch(kt){return{errors:[kt]}}var h=Object(s.c)(n,t);return h.length>0?{errors:h}:W({schema:n,document:t,rootValue:i,contextValue:o,variableValues:u,operationName:c,fieldResolver:f,typeResolver:p})}var Ee=n(40),we=n(9),ke=n(20),Te=n(61),Oe=n(71),_e=n(91),xe=n(62),Se=n(5),Ce=n(23),Ne=n(7),De=n(32);function Ae(e,t,n){var r,i,o,a,s,l,u=e[c.a].call(e);function f(e){return e.done?e:Ie(e.value,t).then(je,i)}if(\"function\"===typeof u.return&&(r=u.return,i=function(e){var t=function(){return Promise.reject(e)};return r.call(u).then(t,t)}),n){var p=n;o=function(e){return Ie(e,p).then(je,i)}}return a={next:function(){return u.next().then(f,o)},return:function(){return r?r.call(u).then(f,o):Promise.resolve({value:void 0,done:!0})},throw:function(e){return\"function\"===typeof u.throw?u.throw(e).then(f,o):Promise.reject(e).catch(i)}},s=c.a,l=function(){return this},s in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,a}function Ie(e,t){return new Promise((function(n){return n(t(e))}))}function je(e){return{value:e,done:!1}}function Le(e){var t,n,r,i=e[c.a].call(e),o=[i];return t={next:function e(){var t=o[0];return t?t.next().then((function(t){if(t.done)return o.shift(),e();if(m(t.value)){var n=t.value[c.a].call(t.value);return o.unshift(n),e()}return t})):Promise.resolve({value:void 0,done:!0})},return:function(){return o=[],i.return()},throw:function(e){return o=[],i.throw(e)}},n=c.a,r=function(){return this},n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function Fe(e,t,n,r,i,o,a,s){return Me(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,subscribeFieldResolver:s})}function Re(e){if(e instanceof E.a)return{errors:[e]};throw e}function Me(e){var t=e.schema,n=e.document,r=e.rootValue,i=e.contextValue,o=e.variableValues,a=e.operationName,s=e.fieldResolver,l=e.subscribeFieldResolver,u=Pe(t,n,r,i,o,a,l),c=function(e){return W({schema:t,document:n,rootValue:e,contextValue:i,variableValues:o,operationName:a,fieldResolver:s})};return u.then((function(e){return m(e)?Le(Ae(e,c,Re)):e}))}function Pe(e,t,n,r,i,o,a){return Y(e,t,i),new Promise((function(s){var l=J(e,t,n,r,i,o,a);s(Array.isArray(l)?{errors:l}:function(e){var t=e.schema,n=e.operation,r=e.variableValues,i=e.rootValue,o=S(t,n),a=X(e,o,n.selectionSet,Object.create(null),[],Object.create(null)).fields,s=Object.keys(a)[0],l=a[s],u=l[0].name.value,c=he(t,o,u);if(!c)throw new E.a('The subscription field \"'.concat(u,'\" is not defined.'),l);var p=y(void 0,s,o.name),d=ie(e,c,l,o,p);return new Promise((function(t){var n,o=U(c,l[0],r),a=e.contextValue;t((null!==(n=c.subscribe)&&void 0!==n?n:e.fieldResolver)(i,o,a,d))})).then((function(e){if(e instanceof Error)throw Object(w.a)(e,l,b(p));if(!m(e))throw new Error(\"Subscription field must return Async Iterable. \"+\"Received: \".concat(Object(f.a)(e),\".\"));return e}),(function(e){throw Object(w.a)(e,l,b(p))}))}(l))})).catch(Re)}var Ve=n(100),Ue=n(92),Be=n(122),ze=n(130),qe=n(127),He=n(96),Ge=n(94),We=n(132),Qe=n(93),Ke=n(124),Ye=n(135),Je=n(137),$e=n(133),Xe=n(138),Ze=n(141),et=n(134),tt=n(98),nt=n(129),rt=n(125),it=n(97),ot=n(95),at=n(131),st=n(99),lt=n(123),ut=n(136),ct=n(139),ft=n(128),pt=n(140),dt=n(142),ht=n(143),mt=n(144),vt=n(145),gt=n(146),yt=n(147),bt=n(148),Et=n(153);function wt(e){return{Field:function(t){var n=Object(_.A)(e.getType());n&&Object(T.isIntrospectionType)(n)&&e.reportError(new E.a('GraphQL introspection has been disabled, but the requested query contained the field \"'.concat(t.name.value,'\".'),t))}}}var kt=n(31);function Tt(e){var t;e||Object(d.a)(0,\"Received null or undefined error.\");var n=null!==(t=e.message)&&void 0!==t?t:\"An unknown error occurred.\",r=e.locations,i=e.path,o=e.extensions;return o?{message:n,locations:r,path:i,extensions:o}:{message:n,locations:r,path:i}}var Ot=n(101),_t=n(228);function xt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function St(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ct(e,t){var n=function(e){for(var t=1;t0?n.reverse().join(\"\\n\"):void 0}(e);if(void 0!==n)return Object(At.a)(\"\\n\"+n)}}function Bt(e,t){null!=e&&e.kind===k.a.DOCUMENT||Object(d.a)(0,\"Must provide valid Document AST.\"),!0!==(null===t||void 0===t?void 0:t.assumeValid)&&!0!==(null===t||void 0===t?void 0:t.assumeValidSDL)&&Object(s.a)(e);var n=Rt({description:void 0,types:[],directives:[],extensions:void 0,extensionASTNodes:[],assumeValid:!1},e,t);if(null==n.astNode)for(var r=0,i=n.types;r2&&void 0!==arguments[2]?arguments[2]:\"\";return 0===t.length?\"\":t.every((function(e){return!e.description}))?\"(\"+t.map(un).join(\", \")+\")\":\"(\\n\"+t.map((function(t,r){return fn(e,t,\" \"+n,!r)+\" \"+n+un(t)})).join(\"\\n\")+\"\\n\"+n+\")\"}function un(e){var t=Object($t.a)(e.defaultValue,e.type),n=e.name+\": \"+String(e.type);return t&&(n+=\" = \".concat(Object(A.print)(t))),n+cn(e.deprecationReason)}function cn(e){if(null==e)return\"\";var t=Object($t.a)(e,we.e);return t&&e!==O.a?\" @deprecated(reason: \"+Object(A.print)(t)+\")\":\" @deprecated\"}function fn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"\",r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=t.description;if(null==i)return\"\";if(!0===(null===e||void 0===e?void 0:e.commentDescriptions))return pn(i,n,r);var o=i.length>70,a=Object(At.c)(i,\"\",o),s=n&&!r?\"\\n\"+n:n;return s+a.replace(/\\n/g,\"\\n\"+n)+\"\\n\"}function pn(e,t,n){return(t&&!n?\"\\n\":\"\")+e.split(\"\\n\").map((function(e){return t+(\"\"!==e?\"# \"+e:\"#\")})).join(\"\\n\")+\"\\n\"}var dn=n(126),hn=n(45);function mn(e){for(var t=[],n=0;n0&&(n=\"\\n\"+n);var r=n[n.length-1];return('\"'===r&&'\\\\\"\"\"'!==n.slice(-4)||\"\\\\\"===r)&&(n+=\"\\n\"),'\"\"\"'+n+'\"\"\"'}var En=n(43),wn=n(149);function kn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tn(e){for(var t=1;t=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!==(65535&e)&&65534!==(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function a(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\\\([!\"#$%&'()*+,\\-.\\/:;<=>?@[\\\\\\]^_`{|}~])/g,l=new RegExp(s.source+\"|\"+/&([a-z#][a-z0-9]{1,31});/gi.source,\"gi\"),u=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,c=n(106);var f=/[&<>\"]/,p=/[&<>\"]/g,d={\"&\":\"&\",\"<\":\"<\",\">\":\">\",'\"':\""\"};function h(e){return d[e]}var m=/[.?*+^$[\\]\\\\(){}|-]/g;var v=n(84);t.lib={},t.lib.mdurl=n(107),t.lib.ucmicro=n(174),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if(\"object\"!==typeof t)throw new TypeError(t+\"must be object\");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return\"[object String]\"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=i,t.unescapeMd=function(e){return e.indexOf(\"\\\\\")<0?e:e.replace(s,\"$1\")},t.unescapeAll=function(e){return e.indexOf(\"\\\\\")<0&&e.indexOf(\"&\")<0?e:e.replace(l,(function(e,t,n){return t||function(e,t){var n=0;return i(c,t)?c[t]:35===t.charCodeAt(0)&&u.test(t)&&o(n=\"x\"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(n):e}(e,n)}))},t.isValidEntityCode=o,t.fromCodePoint=a,t.escapeHtml=function(e){return f.test(e)?e.replace(p,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return v.test(e)},t.escapeRE=function(e){return e.replace(m,\"\\\\$&\")},t.normalizeReference=function(e){return e=e.trim().replace(/\\s+/g,\" \"),\"\\u1e7e\"===\"\\u1e9e\".toLowerCase()&&(e=e.replace(/\\u1e9e/g,\"\\xdf\")),e.toLowerCase().toUpperCase()}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o})),n.d(t,\"c\",(function(){return a}));var r=n(34),i=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();Object(r.a)(i);var o=function(){function e(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function a(e){return null!=e&&\"string\"===typeof e.kind}Object(r.a)(o)},function(e,t,n){\"use strict\";function r(e){return(r=\"function\"===typeof Symbol&&\"symbol\"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function i(e){return\"object\"==r(e)&&null!==e}n.d(t,\"a\",(function(){return i}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(4),i=n(13),o=n(1),a=n(0);function s(e,t){var n;return t.kind===o.a.LIST_TYPE?(n=s(e,t.type))&&new a.d(n):t.kind===o.a.NON_NULL_TYPE?(n=s(e,t.type))&&new a.e(n):t.kind===o.a.NAMED_TYPE?e.getType(t.name.value):void Object(i.a)(0,\"Unexpected type node: \"+Object(r.a)(t))}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a})),n.d(t,\"c\",(function(){return s})),n.d(t,\"d\",(function(){return l})),n.d(t,\"b\",(function(){return u}));var r=n(4),i=n(20),o={Name:[],Document:[\"definitions\"],OperationDefinition:[\"name\",\"variableDefinitions\",\"directives\",\"selectionSet\"],VariableDefinition:[\"variable\",\"type\",\"defaultValue\",\"directives\"],Variable:[\"name\"],SelectionSet:[\"selections\"],Field:[\"alias\",\"name\",\"arguments\",\"directives\",\"selectionSet\"],Argument:[\"name\",\"value\"],FragmentSpread:[\"name\",\"directives\"],InlineFragment:[\"typeCondition\",\"directives\",\"selectionSet\"],FragmentDefinition:[\"name\",\"variableDefinitions\",\"typeCondition\",\"directives\",\"selectionSet\"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:[\"values\"],ObjectValue:[\"fields\"],ObjectField:[\"name\",\"value\"],Directive:[\"name\",\"arguments\"],NamedType:[\"name\"],ListType:[\"type\"],NonNullType:[\"type\"],SchemaDefinition:[\"description\",\"directives\",\"operationTypes\"],OperationTypeDefinition:[\"type\"],ScalarTypeDefinition:[\"description\",\"name\",\"directives\"],ObjectTypeDefinition:[\"description\",\"name\",\"interfaces\",\"directives\",\"fields\"],FieldDefinition:[\"description\",\"name\",\"arguments\",\"type\",\"directives\"],InputValueDefinition:[\"description\",\"name\",\"type\",\"defaultValue\",\"directives\"],InterfaceTypeDefinition:[\"description\",\"name\",\"interfaces\",\"directives\",\"fields\"],UnionTypeDefinition:[\"description\",\"name\",\"directives\",\"types\"],EnumTypeDefinition:[\"description\",\"name\",\"directives\",\"values\"],EnumValueDefinition:[\"description\",\"name\",\"directives\"],InputObjectTypeDefinition:[\"description\",\"name\",\"directives\",\"fields\"],DirectiveDefinition:[\"description\",\"name\",\"arguments\",\"locations\"],SchemaExtension:[\"directives\",\"operationTypes\"],ScalarTypeExtension:[\"name\",\"directives\"],ObjectTypeExtension:[\"name\",\"interfaces\",\"directives\",\"fields\"],InterfaceTypeExtension:[\"name\",\"interfaces\",\"directives\",\"fields\"],UnionTypeExtension:[\"name\",\"directives\",\"types\"],EnumTypeExtension:[\"name\",\"directives\",\"values\"],InputObjectTypeExtension:[\"name\",\"directives\",\"fields\"]},a=Object.freeze({});function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,s=void 0,l=Array.isArray(e),c=[e],f=-1,p=[],d=void 0,h=void 0,m=void 0,v=[],g=[],y=e;do{var b=++f===c.length,E=b&&0!==p.length;if(b){if(h=0===g.length?void 0:v[v.length-1],d=m,m=g.pop(),E){if(l)d=d.slice();else{for(var w={},k=0,T=Object.keys(d);k{if(!t)return[];let n;try{n=Object(r.a)(e,{allowLegacySDLImplementsInterfaces:!0,allowLegacySDLEmptyFields:!0})}catch(i){return[]}return l(n,t)},l=(e,t)=>{if(!t)return[];const n=new Map,r=new Set;Object(i.c)(e,{FragmentDefinition(e){n.set(e.name.value,!0)},FragmentSpread(e){r.has(e.name.value)||r.add(e.name.value)}});const o=new Set;r.forEach(e=>{!n.has(e)&&t.has(e)&&o.add(a()(t.get(e)))});const s=[];return o.forEach(e=>{Object(i.c)(e,{FragmentSpread(e){!r.has(e.name.value)&&t.get(e.name.value)&&(o.add(a()(t.get(e.name.value))),r.add(e.name.value))}}),n.has(e.name.value)||s.push(e)}),s};function u(e,t,n){const r=c(e,n);let o;return Object(i.c)(t,{enter(e){if(!(\"Name\"!==e.kind&&e.loc&&e.loc.start<=r&&r<=e.loc.end))return!1;o=e},leave(e){if(e.loc&&e.loc.start<=r&&r<=e.loc.end)return!1}}),o}function c(e,t){const n=e.split(\"\\n\").slice(0,t.line);return t.character+n.map(e=>e.length+1).reduce((e,t)=>e+t,0)}class f{constructor(e,t){this.containsPosition=e=>this.start.line===e.line?this.start.character<=e.character:this.end.line===e.line?this.end.character>=e.character:this.start.line<=e.line&&this.end.line>=e.line,this.start=e,this.end=t}setStart(e,t){this.start=new p(e,t)}setEnd(e,t){this.end=new p(e,t)}}class p{constructor(e,t){this.lessThanOrEqualTo=e=>this.linee!==v.a&&e!==E.a&&(!r||e!==g.a));n&&Array.prototype.push.apply(i,n);return Object(y.c)(e,t,i).filter(e=>{if(-1!==e.message.indexOf(\"Unknown directive\")&&e.nodes){const t=e.nodes[0];if(t&&t.kind===b.a.DIRECTIVE){const e=t.name.value;if(\"arguments\"===e||\"argumentDefinitions\"===e)return!1}}return!0})}},function(e,t,n){\"use strict\";function r(e,t){return e.reduce((function(e,n){return e[t(n)]=n,e}),Object.create(null))}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));function r(e,t){var n=\"string\"===typeof e?[e,t]:[void 0,e],r=n[0],i=\" Did you mean \";r&&(i+=r+\" \");var o=n[1].map((function(e){return'\"'.concat(e,'\"')}));switch(o.length){case 0:return\"\";case 1:return i+o[0]+\"?\";case 2:return i+o[0]+\" or \"+o[1]+\"?\"}var a=o.slice(0,5),s=a.pop();return i+a.join(\", \")+\", or \"+s+\"?\"}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(39);function i(e){if(null===Object.getPrototypeOf(e))return e;for(var t=Object.create(null),n=0,i=Object(r.a)(e);nt)){for(var u=this._rows,c=0;c<=l;c++)u[0][c]=c;for(var f=1;f<=s;f++){for(var p=u[(f-1)%3],d=u[f%3],h=d[0]=f,m=1;m<=l;m++){var v=r[f-1]===i[m-1]?0:1,g=Math.min(p[m]+1,d[m-1]+1,p[m-1]+v);if(f>1&&m>1&&r[f-1]===i[m-2]&&r[f-2]===i[m-1]){var y=u[(f-2)%3][m-2];g=Math.min(g,y+1)}gt)return}var b=u[s%3][l];return b<=t?b:void 0}},e}();function o(e){for(var t=e.length,n=new Array(t),r=0;ra&&i(t[s-1]);)--s;return t.slice(a,s).join(\"\\n\")}function i(e){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:\"\",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf(\"\\n\"),i=\" \"===e[0]||\"\\t\"===e[0],o='\"'===e[e.length-1],a=\"\\\\\"===e[e.length-1],s=!r||o||a||n,l=\"\";return!s||r&&i||(l+=\"\\n\"+t),l+=t?e.replace(/\\n/g,\"\\n\"+t):e,s&&(l+=\"\\n\"),'\"\"\"'+l.replace(/\"\"\"/g,'\\\\\"\"\"')+'\"\"\"'}n.d(t,\"a\",(function(){return r})),n.d(t,\"b\",(function(){return o})),n.d(t,\"c\",(function(){return a}))},function(e,t,n){\"use strict\";var r=Object.entries||function(e){return Object.keys(e).map((function(t){return[t,e[t]]}))};t.a=r},function(e,t,n){\"use strict\";n.d(t,\"c\",(function(){return v})),n.d(t,\"b\",(function(){return g})),n.d(t,\"a\",(function(){return y}));var r=n(33),i=n(42),o=n(14),a=n(17),s=n(4),l=n(27),u=n(8),c=n(29),f=n(21),p=n(10),d=n(15),h=n(0);function m(e,t){for(var n=0;n9999999)throw new TypeError(\"Near-infinite iteration.\");return s}var u=e.length;if(\"number\"===typeof u&&u>=0&&u%1===0){for(var c=[],f=0;f0)return this._typeStack[this._typeStack.length-1]},t.getParentType=function(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]},t.getInputType=function(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]},t.getParentInputType=function(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]},t.getFieldDef=function(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]},t.getDefaultValue=function(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]},t.getDirective=function(){return this._directive},t.getArgument=function(){return this._argument},t.getEnumValue=function(){return this._enumValue},t.enter=function(e){var t=this._schema;switch(e.kind){case i.a.SELECTION_SET:var n=Object(s.A)(this.getType());this._parentTypeStack.push(Object(s.D)(n)?n:void 0);break;case i.a.FIELD:var o,a,l=this.getParentType();l&&(o=this._getFieldDef(t,l,e))&&(a=o.type),this._fieldDefStack.push(o),this._typeStack.push(Object(s.O)(a)?a:void 0);break;case i.a.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case i.a.OPERATION_DEFINITION:var c;switch(e.operation){case\"query\":c=t.getQueryType();break;case\"mutation\":c=t.getMutationType();break;case\"subscription\":c=t.getSubscriptionType()}this._typeStack.push(Object(s.N)(c)?c:void 0);break;case i.a.INLINE_FRAGMENT:case i.a.FRAGMENT_DEFINITION:var f=e.typeCondition,p=f?Object(u.a)(t,f):Object(s.A)(this.getType());this._typeStack.push(Object(s.O)(p)?p:void 0);break;case i.a.VARIABLE_DEFINITION:var d=Object(u.a)(t,e.type);this._inputTypeStack.push(Object(s.G)(d)?d:void 0);break;case i.a.ARGUMENT:var h,m,v,g=null!==(h=this.getDirective())&&void 0!==h?h:this.getFieldDef();g&&(m=Object(r.a)(g.args,(function(t){return t.name===e.name.value})))&&(v=m.type),this._argument=m,this._defaultValueStack.push(m?m.defaultValue:void 0),this._inputTypeStack.push(Object(s.G)(v)?v:void 0);break;case i.a.LIST:var y=Object(s.B)(this.getInputType()),b=Object(s.J)(y)?y.ofType:y;this._defaultValueStack.push(void 0),this._inputTypeStack.push(Object(s.G)(b)?b:void 0);break;case i.a.OBJECT_FIELD:var E,w,k=Object(s.A)(this.getInputType());Object(s.F)(k)&&(w=k.getFields()[e.name.value])&&(E=w.type),this._defaultValueStack.push(w?w.defaultValue:void 0),this._inputTypeStack.push(Object(s.G)(E)?E:void 0);break;case i.a.ENUM:var T,O=Object(s.A)(this.getInputType());Object(s.E)(O)&&(T=O.getValue(e.value)),this._enumValue=T}},t.leave=function(e){switch(e.kind){case i.a.SELECTION_SET:this._parentTypeStack.pop();break;case i.a.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case i.a.DIRECTIVE:this._directive=null;break;case i.a.OPERATION_DEFINITION:case i.a.INLINE_FRAGMENT:case i.a.FRAGMENT_DEFINITION:this._typeStack.pop();break;case i.a.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case i.a.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case i.a.LIST:case i.a.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case i.a.ENUM:this._enumValue=null}},e}();function f(e,t,n){var r=n.name.value;return r===l.SchemaMetaFieldDef.name&&e.getQueryType()===t?l.SchemaMetaFieldDef:r===l.TypeMetaFieldDef.name&&e.getQueryType()===t?l.TypeMetaFieldDef:r===l.TypeNameMetaFieldDef.name&&Object(s.D)(t)?l.TypeNameMetaFieldDef:Object(s.N)(t)||Object(s.H)(t)?t.getFields()[r]:void 0}function p(e,t){return{enter:function(n){e.enter(n);var r=Object(a.b)(t,n.kind,!1);if(r){var i=r.apply(t,arguments);return void 0!==i&&(e.leave(n),Object(o.c)(i)&&e.enter(i)),i}},leave:function(n){var r,i=Object(a.b)(t,n.kind,!0);return i&&(r=i.apply(t,arguments)),e.leave(n),r}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a}));var r=n(0),i=n(59),o=new(n.n(i).a);function a(e,t,i){var a,s;n(16).on(t,\"select\",(function(e,t){if(!a){var n,l=t.parentNode;(a=document.createElement(\"div\")).className=\"CodeMirror-hint-information\",l.appendChild(a),(s=document.createElement(\"div\")).className=\"CodeMirror-hint-deprecation\",l.appendChild(s),l.addEventListener(\"DOMNodeRemoved\",n=function(e){e.target===l&&(l.removeEventListener(\"DOMNodeRemoved\",n),a=null,s=null,n=null)})}var u=e.description?o.render(e.description):\"Self descriptive.\",c=e.type?''+function e(t){if(t instanceof r.e)return e(t.ofType)+\"!\";if(t instanceof r.d)return\"[\"+e(t.ofType)+\"]\";return''+t.name+\"\"}(e.type)+\"\":\"\";if(a.innerHTML=''+(\"
\"===u.slice(0,3)?\"
\"+c+u.slice(3):c+u)+\"
\",e&&s&&e.isDeprecated){var f=e.deprecationReason?o.render(e.deprecationReason):\"\";s.innerHTML='Deprecated'+f,s.style.display=\"block\"}else s&&(s.style.display=\"none\");i&&i(a)}))}},function(e,t,n){\"use strict\";function r(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,l,\"next\",e)}function l(e){r(a,i,o,s,l,\"throw\",e)}s(void 0)}))}}n.d(t,\"a\",(function(){return i}))},function(e,t,n){\"use strict\";n.d(t,\"c\",(function(){return c})),n.d(t,\"a\",(function(){return p})),n.d(t,\"b\",(function(){return d}));var r=n(8),i=n(3),o=n(23),a=n(58),s=n(45),l=n(92),u=n(100);function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.a,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new s.a(e),f=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{maxErrors:void 0};t||Object(r.a)(0,\"Must provide document.\"),Object(a.a)(e);var p=Object.freeze({}),d=[],h=new u.b(e,t,c,(function(e){if(null!=f.maxErrors&&d.length>=f.maxErrors)throw d.push(new i.a(\"Too many validation errors, error limit reached. Validation aborted.\")),p;d.push(e)})),m=Object(o.d)(n.map((function(e){return e(h)})));try{Object(o.c)(t,Object(s.b)(c,m))}catch(v){if(v!==p)throw v}return d}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.b,r=[],i=new u.a(e,t,(function(e){r.push(e)})),a=n.map((function(e){return e(i)}));return Object(o.c)(e,Object(o.d)(a)),r}function p(e){var t=f(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join(\"\\n\\n\"))}function d(e,t){var n=f(e,t);if(0!==n.length)throw new Error(n.map((function(e){return e.message})).join(\"\\n\\n\"))}},function(e,t,n){\"use strict\";var r,i=!1;\"object\"===typeof window&&(i=\"MacIntel\"===window.navigator.platform);var o=((r={})[i?\"Cmd-F\":\"Ctrl-F\"]=\"findPersistent\",r[\"Cmd-G\"]=\"findPersistent\",r[\"Ctrl-G\"]=\"findPersistent\",r[\"Ctrl-Left\"]=\"goSubwordLeft\",r[\"Ctrl-Right\"]=\"goSubwordRight\",r[\"Alt-Left\"]=\"goGroupLeft\",r[\"Alt-Right\"]=\"goGroupRight\",r);t.a=o},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return d}));var r=n(52),i=n(42),o=n(14),a=n(4),s=n(13),l=n(21),u=n(57),c=n(1),f=n(9),p=n(0);function d(e,t){if(Object(p.L)(t)){var n=d(e,t.ofType);return(null===n||void 0===n?void 0:n.kind)===c.a.NULL?null:n}if(null===e)return{kind:c.a.NULL};if(void 0===e)return null;if(Object(p.J)(t)){var m=t.ofType;if(Object(u.a)(e)){for(var v=[],g=0,y=Object(i.a)(e);gc);f++){var p=e.getLine(u++);s=null==s?p:s+\"\\n\"+p}l*=2,t.lastIndex=n.ch;var d=t.exec(s);if(d){var h=s.slice(0,d.index).split(\"\\n\"),m=d[0].split(\"\\n\"),v=n.line+h.length-1,g=h[h.length-1].length;return{from:r(v,g),to:r(v+m.length-1,1==m.length?g+m[0].length:m[m.length-1].length),match:d}}}}function l(e,t,n){for(var r,i=0;i<=e.length;){t.lastIndex=i;var o=t.exec(e);if(!o)break;var a=o.index+o[0].length;if(a>e.length-n)break;(!r||a>r.index+r[0].length)&&(r=o),i=o.index+1}return r}function u(e,t,n){t=i(t,\"g\");for(var o=n.line,a=n.ch,s=e.firstLine();o>=s;o--,a=-1){var u=e.getLine(o),c=l(u,t,a<0?0:u.length-a);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}function c(e,t,n){if(!o(t))return u(e,t,n);t=i(t,\"gm\");for(var a,s=1,c=e.getLine(n.line).length-n.ch,f=n.line,p=e.firstLine();f>=p;){for(var d=0;d=p;d++){var h=e.getLine(f--);a=null==a?h:h+\"\\n\"+a}s*=2;var m=l(a,t,c);if(m){var v=a.slice(0,m.index).split(\"\\n\"),g=m[0].split(\"\\n\"),y=f+v.length,b=v[v.length-1].length;return{from:r(y,b),to:r(y+g.length-1,1==g.length?b+g[0].length:g[g.length-1].length),match:m}}}}function f(e,t,n,r){if(e.length==t.length)return n;for(var i=0,o=n+Math.max(0,e.length-t.length);;){if(i==o)return i;var a=i+o>>1,s=r(e.slice(0,a)).length;if(s==n)return a;s>n?o=a:i=a+1}}function p(e,i,o,a){if(!i.length)return null;var s=a?t:n,l=s(i).split(/\\r|\\n\\r?/);e:for(var u=o.line,c=o.ch,p=e.lastLine()+1-l.length;u<=p;u++,c=0){var d=e.getLine(u).slice(c),h=s(d);if(1==l.length){var m=h.indexOf(l[0]);if(-1==m)continue e;return o=f(d,h,m,s)+c,{from:r(u,f(d,h,m,s)+c),to:r(u,f(d,h,m+l[0].length,s)+c)}}var v=h.length-l[0].length;if(h.slice(v)==l[0]){for(var g=1;g=p;u--,c=-1){var d=e.getLine(u);c>-1&&(d=d.slice(0,c));var h=s(d);if(1==l.length){var m=h.lastIndexOf(l[0]);if(-1==m)continue e;return{from:r(u,f(d,h,m,s)),to:r(u,f(d,h,m+l[0].length,s))}}var v=l[l.length-1];if(h.slice(0,v.length)==v){var g=1;for(o=u-l.length+1;g0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)}))}(n(16))},function(e,t,n){!function(e){function t(t,n,r){var i,o=t.getWrapperElement();return(i=o.appendChild(document.createElement(\"div\"))).className=r?\"CodeMirror-dialog CodeMirror-dialog-bottom\":\"CodeMirror-dialog CodeMirror-dialog-top\",\"string\"==typeof n?i.innerHTML=n:i.appendChild(n),e.addClass(o,\"dialog-opened\"),i}function n(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}e.defineExtension(\"openDialog\",(function(r,i,o){o||(o={}),n(this,null);var a=t(this,r,o.bottom),s=!1,l=this;function u(t){if(\"string\"==typeof t)f.value=t;else{if(s)return;s=!0,e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a),l.focus(),o.onClose&&o.onClose(a)}}var c,f=a.getElementsByTagName(\"input\")[0];return f?(f.focus(),o.value&&(f.value=o.value,!1!==o.selectValueOnOpen&&f.select()),o.onInput&&e.on(f,\"input\",(function(e){o.onInput(e,f.value,u)})),o.onKeyUp&&e.on(f,\"keyup\",(function(e){o.onKeyUp(e,f.value,u)})),e.on(f,\"keydown\",(function(t){o&&o.onKeyDown&&o.onKeyDown(t,f.value,u)||((27==t.keyCode||!1!==o.closeOnEnter&&13==t.keyCode)&&(f.blur(),e.e_stop(t),u()),13==t.keyCode&&i(f.value,t))})),!1!==o.closeOnBlur&&e.on(a,\"focusout\",(function(e){null!==e.relatedTarget&&u()}))):(c=a.getElementsByTagName(\"button\")[0])&&(e.on(c,\"click\",(function(){u(),l.focus()})),!1!==o.closeOnBlur&&e.on(c,\"blur\",u),c.focus()),u})),e.defineExtension(\"openConfirm\",(function(r,i,o){n(this,null);var a=t(this,r,o&&o.bottom),s=a.getElementsByTagName(\"button\"),l=!1,u=this,c=1;function f(){l||(l=!0,e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a),u.focus())}s[0].focus();for(var p=0;p=0&&t%1===0||\"function\"===typeof e[r.b]}},function(e,t,n){\"use strict\";n.d(t,\"b\",(function(){return h})),n.d(t,\"a\",(function(){return m}));var r=n(33),i=n(14),o=n(4),a=n(3),s=n(30),l=n(149),u=n(43),c=n(40),f=n(10),p=n(15),d=n(0);function h(e){if(Object(c.b)(e),e.__validationErrors)return e.__validationErrors;var t=new v(e);!function(e){var t=e.schema,n=t.getQueryType();if(n){if(!Object(d.N)(n)){var r;e.reportError(\"Query root type must be Object type, it cannot be \".concat(Object(o.a)(n),\".\"),null!==(r=g(t,\"query\"))&&void 0!==r?r:n.astNode)}}else e.reportError(\"Query root type must be provided.\",t.astNode);var i,a=t.getMutationType();a&&!Object(d.N)(a)&&e.reportError(\"Mutation root type must be Object type if provided, it cannot be \"+\"\".concat(Object(o.a)(a),\".\"),null!==(i=g(t,\"mutation\"))&&void 0!==i?i:a.astNode);var s,l=t.getSubscriptionType();l&&!Object(d.N)(l)&&e.reportError(\"Subscription root type must be Object type if provided, it cannot be \"+\"\".concat(Object(o.a)(l),\".\"),null!==(s=g(t,\"subscription\"))&&void 0!==s?s:l.astNode)}(t),function(e){for(var t=0,n=e.schema.getDirectives();t1&&void 0!==arguments[1]?arguments[1]:\"GraphQL request\",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};\"string\"===typeof e||Object(o.a)(0,\"Body must be a string. Received: \".concat(Object(i.a)(e),\".\")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||Object(o.a)(0,\"line in locationOffset is 1-indexed and must be positive.\"),this.locationOffset.column>0||Object(o.a)(0,\"column in locationOffset is 1-indexed and must be positive.\")}var t,n,a;return t=e,(n=[{key:r.c,get:function(){return\"Source\"}}])&&s(t.prototype,n),a&&s(t,a),e}();function u(e){return Object(a.a)(e,l)}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s})),n.d(t,\"b\",(function(){return l}));var r=n(31),i=n(20),o=n(5),a=n(38),s=function(){function e(e){var t=new i.b(o.a.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==o.a.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=c(this,e)}while(e.kind===o.a.COMMENT);return e},e}();function l(e){return e===o.a.BANG||e===o.a.DOLLAR||e===o.a.AMP||e===o.a.PAREN_L||e===o.a.PAREN_R||e===o.a.SPREAD||e===o.a.COLON||e===o.a.EQUALS||e===o.a.AT||e===o.a.BRACKET_L||e===o.a.BRACKET_R||e===o.a.BRACE_L||e===o.a.PIPE||e===o.a.BRACE_R}function u(e){return isNaN(e)?o.a.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'\"\\\\u'.concat((\"00\"+e.toString(16).toUpperCase()).slice(-4),'\"')}function c(e,t){for(var n=e.source,a=n.body,s=a.length,l=t.end;l31||9===s));return new i.b(o.a.COMMENT,t,u,n,r,a,l.slice(t+1,u))}function d(e,t,n,a,s,l){var c=e.body,f=n,p=t,d=!1;if(45===f&&(f=c.charCodeAt(++p)),48===f){if((f=c.charCodeAt(++p))>=48&&f<=57)throw Object(r.a)(e,p,\"Invalid number, unexpected digit after 0: \".concat(u(f),\".\"))}else p=h(e,p,f),f=c.charCodeAt(p);if(46===f&&(d=!0,f=c.charCodeAt(++p),p=h(e,p,f),f=c.charCodeAt(p)),69!==f&&101!==f||(d=!0,43!==(f=c.charCodeAt(++p))&&45!==f||(f=c.charCodeAt(++p)),p=h(e,p,f),f=c.charCodeAt(p)),46===f||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(f))throw Object(r.a)(e,p,\"Invalid number, expected digit but got: \".concat(u(f),\".\"));return new i.b(d?o.a.FLOAT:o.a.INT,t,p,a,s,l,c.slice(t,p))}function h(e,t,n){var i=e.body,o=t,a=n;if(a>=48&&a<=57){do{a=i.charCodeAt(++o)}while(a>=48&&a<=57);return o}throw Object(r.a)(e,o,\"Invalid number, expected digit but got: \".concat(u(a),\".\"))}function m(e,t,n,a,s){for(var l,c,f,p,d=e.body,h=t+1,m=h,v=0,y=\"\";h=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function y(e,t,n,r,a){for(var s=e.body,l=s.length,u=t+1,c=0;u!==l&&!isNaN(c=s.charCodeAt(u))&&(95===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122);)++u;return new i.b(o.a.NAME,t,u,n,r,a,s.slice(t,u))}},function(e,t,n){\"use strict\";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=65&&r<=90||!t.shiftKey&&r>=48&&r<=57||t.shiftKey&&189===r||t.shiftKey&&222===r)&&n.editor.execCommand(\"autocomplete\")},n._onEdit=function(){n.editor&&(n.ignoreChangeEvent||(n.cachedValue=n.editor.getValue(),n.props.onEdit&&n.props.onEdit(n.cachedValue)))},n._onHasCompletion=function(e,t){Object(o.a)(e,t,n.props.onHintInformationRender)},n.cachedValue=t.value||\"\",n}return s(t,e),t.prototype.componentDidMount=function(){var e=this;this.CodeMirror=n(16),n(73),n(74),n(87),n(76),n(75),n(88),n(55),n(77),n(56),n(78),n(232),n(234),n(236);var t=this.editor=this.CodeMirror(this._node,{value:this.props.value||\"\",lineNumbers:!0,tabSize:2,mode:\"graphql-variables\",theme:this.props.editorTheme||\"graphiql\",keyMap:\"sublime\",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&\"nocursor\",foldGutter:{minFoldSize:4},lint:{variableToType:this.props.variableToType},hintOptions:{variableToType:this.props.variableToType,closeOnUnfocus:!1,completeSingle:!1,container:this._node},gutters:[\"CodeMirror-linenumbers\",\"CodeMirror-foldgutter\"],extraKeys:l({\"Cmd-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Ctrl-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Alt-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Shift-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Cmd-Enter\":function(){e.props.onRunQuery&&e.props.onRunQuery()},\"Ctrl-Enter\":function(){e.props.onRunQuery&&e.props.onRunQuery()},\"Shift-Ctrl-P\":function(){e.props.onPrettifyQuery&&e.props.onPrettifyQuery()},\"Shift-Ctrl-M\":function(){e.props.onMergeQuery&&e.props.onMergeQuery()}},a.a)});t.on(\"change\",this._onEdit),t.on(\"keyup\",this._onKeyUp),t.on(\"hasCompletion\",this._onHasCompletion)},t.prototype.componentDidUpdate=function(e){if(this.CodeMirror=n(16),this.editor){if(this.ignoreChangeEvent=!0,this.props.variableToType!==e.variableToType&&(this.editor.options.lint.variableToType=this.props.variableToType,this.editor.options.hintOptions.variableToType=this.props.variableToType,this.CodeMirror.signal(this.editor,\"change\",this.editor)),this.props.value!==e.value&&this.props.value!==this.cachedValue){var t=this.props.value||\"\";this.cachedValue=t,this.editor.setValue(t)}this.ignoreChangeEvent=!1}},t.prototype.componentWillUnmount=function(){this.editor&&(this.editor.off(\"change\",this._onEdit),this.editor.off(\"keyup\",this._onKeyUp),this.editor.off(\"hasCompletion\",this._onHasCompletion),this.editor=null)},t.prototype.render=function(){var e=this;return i.a.createElement(\"div\",{className:\"codemirrorWrap\",style:{position:this.props.active?\"relative\":\"absolute\",visibility:this.props.active?\"visible\":\"hidden\"},ref:function(t){e._node=t}})},t.prototype.getCodeMirror=function(){return this.editor},t.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},t}(i.a.Component)},function(e,t,n){\"use strict\";function r(e,t,n){if(n&&!(n.length<1)){var r=n.map((function(e){return e.name&&e.name.value}));if(t&&-1!==r.indexOf(t))return t;if(t&&e){var i=e.map((function(e){return e.name&&e.name.value})).indexOf(t);if(-1!==i&&i1)){if(this.somethingSelected()){if(!n.hint.supportsSelection)return;for(var i=0;iu.clientHeight+1;if(setTimeout((function(){C=a.getScrollInfo()})),N.bottom-S>0){var A=N.bottom-N.top;if(g.top-(g.bottom-N.top)-A>0)u.style.top=(b=g.top-A-k)+\"px\",E=!1;else if(A>S){u.style.height=S-5+\"px\",u.style.top=(b=g.bottom-N.top-k)+\"px\";var I=a.getCursor();n.from.ch!=I.ch&&(g=a.cursorCoords(I),u.style.left=(y=g.left-w)+\"px\",N=u.getBoundingClientRect())}}var j,L=N.right-x;if(L>0&&(N.right-N.left>x&&(u.style.width=x-5+\"px\",L-=N.right-N.left-x),u.style.left=(y=g.left-L-w)+\"px\"),D)for(var F=u.firstChild;F;F=F.nextSibling)F.style.paddingRight=a.display.nativeBarWidth+\"px\";a.addKeyMap(this.keyMap=function(e,t){var n={Up:function(){t.moveFocus(-1)},Down:function(){t.moveFocus(1)},PageUp:function(){t.moveFocus(1-t.menuSize(),!0)},PageDown:function(){t.moveFocus(t.menuSize()-1,!0)},Home:function(){t.setFocus(0)},End:function(){t.setFocus(t.length-1)},Enter:t.pick,Tab:t.pick,Esc:t.close};/Mac/.test(navigator.platform)&&(n[\"Ctrl-P\"]=function(){t.moveFocus(-1)},n[\"Ctrl-N\"]=function(){t.moveFocus(1)});var r=e.options.customKeys,i=r?{}:n;function o(e,r){var o;o=\"string\"!=typeof r?function(e){return r(e,t)}:n.hasOwnProperty(r)?n[r]:r,i[e]=o}if(r)for(var a in r)r.hasOwnProperty(a)&&o(a,r[a]);var s=e.options.extraKeys;if(s)for(var a in s)s.hasOwnProperty(a)&&o(a,s[a]);return i}(t,{moveFocus:function(e,t){r.changeActive(r.selectedHint+e,t)},setFocus:function(e){r.changeActive(e)},menuSize:function(){return r.screenAmount()},length:f.length,close:function(){t.close()},pick:function(){r.pick()},data:n})),t.options.closeOnUnfocus&&(a.on(\"blur\",this.onBlur=function(){j=setTimeout((function(){t.close()}),100)}),a.on(\"focus\",this.onFocus=function(){clearTimeout(j)})),a.on(\"scroll\",this.onScroll=function(){var e=a.getScrollInfo(),n=a.getWrapperElement().getBoundingClientRect(),r=b+C.top-e.top,i=r-(l.pageYOffset||(s.documentElement||s.body).scrollTop);if(E||(i+=u.offsetHeight),i<=n.top||i>=n.bottom)return t.close();u.style.top=r+\"px\",u.style.left=y+C.left-e.left+\"px\"}),e.on(u,\"dblclick\",(function(e){var t=o(u,e.target||e.srcElement);t&&null!=t.hintId&&(r.changeActive(t.hintId),r.pick())})),e.on(u,\"click\",(function(e){var n=o(u,e.target||e.srcElement);n&&null!=n.hintId&&(r.changeActive(n.hintId),t.options.completeOnSingleClick&&r.pick())})),e.on(u,\"mousedown\",(function(){setTimeout((function(){a.focus()}),20)}));var R=this.getSelectedHintRange();return 0===R.from&&0===R.to||this.scrollToActive(),e.signal(n,\"select\",f[this.selectedHint],u.childNodes[this.selectedHint]),!0}function s(e,t,n,r){if(e.async)e(t,r,n);else{var i=e(t,n);i&&i.then?i.then(r):r(i)}}t.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&&e.signal(this.data,\"close\"),this.widget&&this.widget.close(),e.signal(this.cm,\"endCompletion\",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,n){var r=t.list[n],o=this;this.cm.operation((function(){r.hint?r.hint(o.cm,t,r):o.cm.replaceRange(i(r),r.from||t.from,r.to||t.to,\"complete\"),e.signal(t,\"pick\",r),o.cm.scrollIntoView()})),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(r(this.debounce),this.debounce=0);var e=this.startPos;this.data&&(e=this.data.from);var t=this.cm.getCursor(),i=this.cm.getLine(t.line);if(t.line!=this.startPos.line||i.length-t.ch!=this.startLen-this.startPos.ch||t.ch=this.data.list.length?t=n?this.data.list.length-1:0:t<0&&(t=n?0:this.data.list.length-1),this.selectedHint!=t){var r=this.hints.childNodes[this.selectedHint];r&&(r.className=r.className.replace(\" CodeMirror-hint-active\",\"\")),(r=this.hints.childNodes[this.selectedHint=t]).className+=\" CodeMirror-hint-active\",this.scrollToActive(),e.signal(this.data,\"select\",this.data.list[this.selectedHint],r)}},scrollToActive:function(){var e=this.getSelectedHintRange(),t=this.hints.childNodes[e.from],n=this.hints.childNodes[e.to],r=this.hints.firstChild;t.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=n.offsetTop+n.offsetHeight-this.hints.clientHeight+r.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var e=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-e),to:Math.min(this.data.list.length-1,this.selectedHint+e)}}},e.registerHelper(\"hint\",\"auto\",{resolve:function(t,n){var r,i=t.getHelpers(n,\"hint\");if(i.length){var o=function(e,t,n){var r=function(e,t){if(!e.somethingSelected())return t;for(var n=[],r=0;r0?t(e):i(o+1)}))}(0)};return o.async=!0,o.supportsSelection=!0,o}return(r=t.getHelper(t.getCursor(),\"hintWords\"))?function(t){return e.hint.fromList(t,{words:r})}:e.hint.anyword?function(t,n){return e.hint.anyword(t,n)}:function(){}}}),e.registerHelper(\"hint\",\"fromList\",(function(t,n){var r,i=t.getCursor(),o=t.getTokenAt(i),a=e.Pos(i.line,o.start),s=i;o.start,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};e.defineOption(\"hintOptions\",null)}(n(16))},function(e,t,n){!function(e){var t=/MSIE \\d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=e.Pos,r={\"(\":\")>\",\")\":\"(<\",\"[\":\"]>\",\"]\":\"[<\",\"{\":\"}>\",\"}\":\"{<\",\"<\":\">>\",\">\":\"<<\"};function i(e){return e&&e.bracketRegex||/[(){}[\\]]/}function o(e,t,o){var s=e.getLineHandle(t.line),l=t.ch-1,u=o&&o.afterCursor;null==u&&(u=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var c=i(o),f=!u&&l>=0&&c.test(s.text.charAt(l))&&r[s.text.charAt(l)]||c.test(s.text.charAt(l+1))&&r[s.text.charAt(++l)];if(!f)return null;var p=\">\"==f.charAt(1)?1:-1;if(o&&o.strict&&p>0!=(l==t.ch))return null;var d=e.getTokenTypeAt(n(t.line,l+1)),h=a(e,n(t.line,l+(p>0?1:0)),p,d,o);return null==h?null:{from:n(t.line,l),to:h&&h.pos,match:h&&h.ch==f.charAt(0),forward:p>0}}function a(e,t,o,a,s){for(var l=s&&s.maxScanLineLength||1e4,u=s&&s.maxScanLines||1e3,c=[],f=i(s),p=o>0?Math.min(t.line+u,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-u),d=t.line;d!=p;d+=o){var h=e.getLine(d);if(h){var m=o>0?0:h.length-1,v=o>0?h.length:-1;if(!(h.length>l))for(d==t.line&&(m=t.ch-(o<0?1:0));m!=v;m+=o){var g=h.charAt(m);if(f.test(g)&&(void 0===a||(e.getTokenTypeAt(n(d,m+1))||\"\")==(a||\"\"))){var y=r[g];if(y&&\">\"==y.charAt(1)==o>0)c.push(g);else{if(!c.length)return{pos:n(d,m),ch:g};c.pop()}}}}}return d-o!=(o>0?e.lastLine():e.firstLine())&&null}function s(e,r,i){for(var a=e.state.matchBrackets.maxHighlightLineLength||1e3,s=i&&i.highlightNonMatching,l=[],u=e.listSelections(),c=0;c=u){if(p&&a&&p.test(a.className))return;o=i(s.indicatorOpen)}}(o||a)&&e.setGutterMarker(n,s.gutter,o)}))}function a(e){return new RegExp(\"(^|\\\\s)\"+e+\"(?:$|\\\\s)\\\\s*\")}function s(e){var t=e.getViewport(),n=e.state.foldGutter;n&&(e.operation((function(){o(e,t.from,t.to)})),n.from=t.from,n.to=t.to)}function l(e,n,i){var o=e.state.foldGutter;if(o){var a=o.options;if(i==a.gutter){var s=r(e,n);s?s.clear():e.foldCode(t(n,0),a)}}}function u(e){var t=e.state.foldGutter;if(t){var n=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){s(e)}),n.foldOnChangeTimeSpan||600)}}function c(e){var t=e.state.foldGutter;if(t){var n=t.options;clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){var n=e.getViewport();t.from==t.to||n.from-t.to>20||t.from-n.to>20?s(e):e.operation((function(){n.fromt.to&&(o(e,t.to,n.to),t.to=n.to)}))}),n.updateViewportTimeSpan||400)}}function f(e,t){var n=e.state.foldGutter;if(n){var r=t.line;r>=n.from&&rc))u=c,s=\"{\",l=\"}\";else{if(null==f)return;u=f,s=\"[\",l=\"]\"}var p,d,h=1,m=t.lastLine();e:for(var v=i;v<=m;++v)for(var g=t.getLine(v),y=v==i?u:0;;){var b=g.indexOf(s,y),E=g.indexOf(l,y);if(b<0&&(b=g.length),E<0&&(E=g.length),(y=Math.min(b,E))==g.length)break;if(t.getTokenTypeAt(e.Pos(v,y+1))==r)if(y==b)++h;else if(!--h){p=v,d=y;break e}++y}if(null!=p&&i!=p)return{from:e.Pos(i,u),to:e.Pos(p,d)}})),e.registerHelper(\"fold\",\"import\",(function(t,n){function r(n){if(nt.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));if(/\\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),\"keyword\"!=r.type||\"import\"!=r.string)return null;for(var i=n,o=Math.min(t.lastLine(),n+10);i<=o;++i){var a=t.getLine(i).indexOf(\";\");if(-1!=a)return{startCh:r.end,end:e.Pos(i,a)}}}var i,o=n.line,a=r(o);if(!a||r(o-1)||(i=r(o-2))&&i.end.line==o-1)return null;for(var s=a.end;;){var l=r(s.line+1);if(null==l)break;s=l.end}return{from:t.clipPos(e.Pos(o,a.startCh+1)),to:s}})),e.registerHelper(\"fold\",\"include\",(function(t,n){function r(n){if(nt.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));return/\\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),\"meta\"==r.type&&\"#include\"==r.string.slice(0,8)?r.start+8:void 0}var i=n.line,o=r(i);if(null==o||null!=r(i-1))return null;for(var a=i;null!=r(a+1);)++a;return{from:e.Pos(i,o+1),to:t.clipPos(e.Pos(a))}}))}(n(16))},function(e,t,n){!function(e){\"use strict\";function t(e,t){var n=Number(t);return/^[-+]/.test(t)?e.getCursor().line+n:n-1}e.defineOption(\"search\",{bottom:!1}),e.commands.jumpToLine=function(e){var n=e.getCursor();!function(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0,bottom:e.options.search.bottom}):i(prompt(n,r))}(e,function(e){return e.phrase(\"Jump to line:\")+' '+e.phrase(\"(Use line:column or scroll% syntax)\")+\"\"}(e),e.phrase(\"Jump to line:\"),n.line+1+\":\"+n.ch,(function(r){var i;if(r)if(i=/^\\s*([\\+\\-]?\\d+)\\s*\\:\\s*(\\d+)\\s*$/.exec(r))e.setCursor(t(e,i[1]),Number(i[2]));else if(i=/^\\s*([\\+\\-]?\\d+(\\.\\d+)?)\\%\\s*/.exec(r)){var o=Math.round(e.lineCount()*Number(i[1])/100);/^[-+]/.test(i[1])&&(o=n.line+o+1),e.setCursor(o-1,n.ch)}else(i=/^\\s*\\:?\\s*([\\+\\-]?\\d+)\\s*/.exec(r))&&e.setCursor(t(e,i[1]),n.ch)}))},e.keyMap.default[\"Alt-G\"]=\"jumpToLine\"}(n(16),n(56))},function(e,t,n){!function(e){\"use strict\";var t=e.commands,n=e.Pos;function r(t,r){t.extendSelectionsBy((function(i){return t.display.shift||t.doc.extend||i.empty()?function(t,r,i){if(i<0&&0==r.ch)return t.clipPos(n(r.line-1));var o=t.getLine(r.line);if(i>0&&r.ch>=o.length)return t.clipPos(n(r.line+1,0));for(var a,s=\"start\",l=r.ch,u=l,c=i<0?0:o.length,f=0;u!=c;u+=i,f++){var p=o.charAt(i<0?u-1:u),d=\"_\"!=p&&e.isWordChar(p)?\"w\":\"o\";if(\"w\"==d&&p.toUpperCase()==p&&(d=\"W\"),\"start\"==s)\"o\"!=d?(s=\"in\",a=d):l=u+i;else if(\"in\"==s&&a!=d){if(\"w\"==a&&\"W\"==d&&i<0&&u--,\"W\"==a&&\"w\"==d&&i>0){if(u==l+1){a=\"w\";continue}u--}break}}return n(r.line,u)}(t.doc,i.head,r):r<0?i.from():i.to()}))}function i(t,r){if(t.isReadOnly())return e.Pass;t.operation((function(){for(var e=t.listSelections().length,i=[],o=-1,a=0;a=0;s--){var u=r[i[s]];if(!(l&&e.cmpPos(u.head,l)>0)){var c=o(t,u.head);l=c.from,t.replaceRange(n(c.word),c.from,c.to)}}}))}function f(t){var n=t.getCursor(\"from\"),r=t.getCursor(\"to\");if(0==e.cmpPos(n,r)){var i=o(t,n);if(!i.word)return;n=i.from,r=i.to}return{from:n,to:r,query:t.getRange(n,r),word:i}}function p(e,t){var r=f(e);if(r){var i=r.query,o=e.getSearchCursor(i,t?r.to:r.from);(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):(o=e.getSearchCursor(i,t?n(e.firstLine(),0):e.clipPos(n(e.lastLine()))),(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):r.word&&e.setSelection(r.from,r.to))}}t.goSubwordLeft=function(e){r(e,-1)},t.goSubwordRight=function(e){r(e,1)},t.scrollLineUp=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top+t.clientHeight,\"local\");e.getCursor().line>=n&&e.execCommand(\"goLineUp\")}e.scrollTo(null,t.top-e.defaultTextHeight())},t.scrollLineDown=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top,\"local\")+1;e.getCursor().line<=n&&e.execCommand(\"goLineDown\")}e.scrollTo(null,t.top+e.defaultTextHeight())},t.splitSelectionByLine=function(e){for(var t=e.listSelections(),r=[],i=0;io.line&&s==a.line&&0==a.ch||r.push({anchor:s==o.line?o:n(s,0),head:s==a.line?a:n(s)});e.setSelections(r,0)},t.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},t.selectLine=function(e){for(var t=e.listSelections(),r=[],i=0;io?i.push(u,c):i.length&&(i[i.length-1]=c),o=c}t.operation((function(){for(var e=0;et.lastLine()?t.replaceRange(\"\\n\"+s,n(t.lastLine()),null,\"+swapLine\"):t.replaceRange(s+\"\\n\",n(o,0),null,\"+swapLine\")}t.setSelections(a),t.scrollIntoView()}))},t.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),i=[],o=t.lastLine()+1,a=r.length-1;a>=0;a--){var s=r[a],l=s.to().line+1,u=s.from().line;0!=s.to().ch||s.empty()||l--,l=0;e-=2){var r=i[e],o=i[e+1],a=t.getLine(r);r==t.lastLine()?t.replaceRange(\"\",n(r-1),n(r),\"+swapLine\"):t.replaceRange(\"\",n(r,0),n(r+1,0),\"+swapLine\"),t.replaceRange(a+\"\\n\",n(o,0),null,\"+swapLine\")}t.scrollIntoView()}))},t.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},t.joinLines=function(e){for(var t=e.listSelections(),r=[],i=0;i=0;o--){var a=r[o].head,s=t.getRange({line:a.line,ch:0},a),l=e.countColumn(s,null,t.getOption(\"tabSize\")),u=t.findPosH(a,-1,\"char\",!1);if(s&&!/\\S/.test(s)&&l%i==0){var c=new n(a.line,e.findColumn(s,l-i,i));c.ch!=a.ch&&(u=c)}t.replaceRange(\"\",u,a,\"+delete\")}}))},t.delLineRight=function(e){e.operation((function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange(\"\",t[r].anchor,n(t[r].to().line),\"+delete\");e.scrollIntoView()}))},t.upcaseAtCursor=function(e){c(e,(function(e){return e.toUpperCase()}))},t.downcaseAtCursor=function(e){c(e,(function(e){return e.toLowerCase()}))},t.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},t.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},t.deleteToSublimeMark=function(t){var n=t.state.sublimeMark&&t.state.sublimeMark.find();if(n){var r=t.getCursor(),i=n;if(e.cmpPos(r,i)>0){var o=i;i=r,r=o}t.state.sublimeKilled=t.getRange(r,i),t.replaceRange(\"\",r,i)}},t.swapWithSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&(e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor()),e.setCursor(t))},t.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,\"paste\")},t.showInCenter=function(e){var t=e.cursorCoords(null,\"local\");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},t.findUnder=function(e){p(e,!0)},t.findUnderPrevious=function(e){p(e,!1)},t.findAllUnder=function(e){var t=f(e);if(t){for(var n=e.getSearchCursor(t.query),r=[],i=-1;n.findNext();)r.push({anchor:n.from(),head:n.to()}),n.from().line<=t.from.line&&n.from().ch<=t.from.ch&&i++;e.setSelections(r,i)}};var d=e.keyMap;d.macSublime={\"Cmd-Left\":\"goLineStartSmart\",\"Shift-Tab\":\"indentLess\",\"Shift-Ctrl-K\":\"deleteLine\",\"Alt-Q\":\"wrapLines\",\"Ctrl-Left\":\"goSubwordLeft\",\"Ctrl-Right\":\"goSubwordRight\",\"Ctrl-Alt-Up\":\"scrollLineUp\",\"Ctrl-Alt-Down\":\"scrollLineDown\",\"Cmd-L\":\"selectLine\",\"Shift-Cmd-L\":\"splitSelectionByLine\",Esc:\"singleSelectionTop\",\"Cmd-Enter\":\"insertLineAfter\",\"Shift-Cmd-Enter\":\"insertLineBefore\",\"Cmd-D\":\"selectNextOccurrence\",\"Shift-Cmd-Space\":\"selectScope\",\"Shift-Cmd-M\":\"selectBetweenBrackets\",\"Cmd-M\":\"goToBracket\",\"Cmd-Ctrl-Up\":\"swapLineUp\",\"Cmd-Ctrl-Down\":\"swapLineDown\",\"Cmd-/\":\"toggleCommentIndented\",\"Cmd-J\":\"joinLines\",\"Shift-Cmd-D\":\"duplicateLine\",F5:\"sortLines\",\"Cmd-F5\":\"sortLinesInsensitive\",F2:\"nextBookmark\",\"Shift-F2\":\"prevBookmark\",\"Cmd-F2\":\"toggleBookmark\",\"Shift-Cmd-F2\":\"clearBookmarks\",\"Alt-F2\":\"selectBookmarks\",Backspace:\"smartBackspace\",\"Cmd-K Cmd-D\":\"skipAndSelectNextOccurrence\",\"Cmd-K Cmd-K\":\"delLineRight\",\"Cmd-K Cmd-U\":\"upcaseAtCursor\",\"Cmd-K Cmd-L\":\"downcaseAtCursor\",\"Cmd-K Cmd-Space\":\"setSublimeMark\",\"Cmd-K Cmd-A\":\"selectToSublimeMark\",\"Cmd-K Cmd-W\":\"deleteToSublimeMark\",\"Cmd-K Cmd-X\":\"swapWithSublimeMark\",\"Cmd-K Cmd-Y\":\"sublimeYank\",\"Cmd-K Cmd-C\":\"showInCenter\",\"Cmd-K Cmd-G\":\"clearBookmarks\",\"Cmd-K Cmd-Backspace\":\"delLineLeft\",\"Cmd-K Cmd-1\":\"foldAll\",\"Cmd-K Cmd-0\":\"unfoldAll\",\"Cmd-K Cmd-J\":\"unfoldAll\",\"Ctrl-Shift-Up\":\"addCursorToPrevLine\",\"Ctrl-Shift-Down\":\"addCursorToNextLine\",\"Cmd-F3\":\"findUnder\",\"Shift-Cmd-F3\":\"findUnderPrevious\",\"Alt-F3\":\"findAllUnder\",\"Shift-Cmd-[\":\"fold\",\"Shift-Cmd-]\":\"unfold\",\"Cmd-I\":\"findIncremental\",\"Shift-Cmd-I\":\"findIncrementalReverse\",\"Cmd-H\":\"replace\",F3:\"findNext\",\"Shift-F3\":\"findPrev\",fallthrough:\"macDefault\"},e.normalizeKeyMap(d.macSublime),d.pcSublime={\"Shift-Tab\":\"indentLess\",\"Shift-Ctrl-K\":\"deleteLine\",\"Alt-Q\":\"wrapLines\",\"Ctrl-T\":\"transposeChars\",\"Alt-Left\":\"goSubwordLeft\",\"Alt-Right\":\"goSubwordRight\",\"Ctrl-Up\":\"scrollLineUp\",\"Ctrl-Down\":\"scrollLineDown\",\"Ctrl-L\":\"selectLine\",\"Shift-Ctrl-L\":\"splitSelectionByLine\",Esc:\"singleSelectionTop\",\"Ctrl-Enter\":\"insertLineAfter\",\"Shift-Ctrl-Enter\":\"insertLineBefore\",\"Ctrl-D\":\"selectNextOccurrence\",\"Shift-Ctrl-Space\":\"selectScope\",\"Shift-Ctrl-M\":\"selectBetweenBrackets\",\"Ctrl-M\":\"goToBracket\",\"Shift-Ctrl-Up\":\"swapLineUp\",\"Shift-Ctrl-Down\":\"swapLineDown\",\"Ctrl-/\":\"toggleCommentIndented\",\"Ctrl-J\":\"joinLines\",\"Shift-Ctrl-D\":\"duplicateLine\",F9:\"sortLines\",\"Ctrl-F9\":\"sortLinesInsensitive\",F2:\"nextBookmark\",\"Shift-F2\":\"prevBookmark\",\"Ctrl-F2\":\"toggleBookmark\",\"Shift-Ctrl-F2\":\"clearBookmarks\",\"Alt-F2\":\"selectBookmarks\",Backspace:\"smartBackspace\",\"Ctrl-K Ctrl-D\":\"skipAndSelectNextOccurrence\",\"Ctrl-K Ctrl-K\":\"delLineRight\",\"Ctrl-K Ctrl-U\":\"upcaseAtCursor\",\"Ctrl-K Ctrl-L\":\"downcaseAtCursor\",\"Ctrl-K Ctrl-Space\":\"setSublimeMark\",\"Ctrl-K Ctrl-A\":\"selectToSublimeMark\",\"Ctrl-K Ctrl-W\":\"deleteToSublimeMark\",\"Ctrl-K Ctrl-X\":\"swapWithSublimeMark\",\"Ctrl-K Ctrl-Y\":\"sublimeYank\",\"Ctrl-K Ctrl-C\":\"showInCenter\",\"Ctrl-K Ctrl-G\":\"clearBookmarks\",\"Ctrl-K Ctrl-Backspace\":\"delLineLeft\",\"Ctrl-K Ctrl-1\":\"foldAll\",\"Ctrl-K Ctrl-0\":\"unfoldAll\",\"Ctrl-K Ctrl-J\":\"unfoldAll\",\"Ctrl-Alt-Up\":\"addCursorToPrevLine\",\"Ctrl-Alt-Down\":\"addCursorToNextLine\",\"Ctrl-F3\":\"findUnder\",\"Shift-Ctrl-F3\":\"findUnderPrevious\",\"Alt-F3\":\"findAllUnder\",\"Shift-Ctrl-[\":\"fold\",\"Shift-Ctrl-]\":\"unfold\",\"Ctrl-I\":\"findIncremental\",\"Shift-Ctrl-I\":\"findIncrementalReverse\",\"Ctrl-H\":\"replace\",F3:\"findNext\",\"Shift-F3\":\"findPrev\",fallthrough:\"pcDefault\"},e.normalizeKeyMap(d.pcSublime);var h=d.default==d.macDefault;d.sublime=h?d.macSublime:d.pcSublime}(n(16),n(55),n(74))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(2),i=n.n(r);function o(e){var t=e.children;return i.a.createElement(\"div\",{className:\"toolbar-button-group\"},t)}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return l}));var r=n(35),i=n(45),o=n(23),a=n(12),s=n(0);function l(e,t,n){var l,f=[];if(!e||!t)return{insertions:f,result:t};try{l=Object(r.a)(t)}catch(h){return{insertions:f,result:t}}var p=n||u,d=new i.a(e);return Object(o.c)(l,{leave:function(e){d.leave(e)},enter:function(e){if(d.enter(e),\"Field\"===e.kind&&!e.selectionSet){var n=function e(t,n){var r=Object(s.A)(t);if(!t||Object(s.I)(t))return;var i=n(r);if(!Array.isArray(i)||0===i.length||!(\"getFields\"in r))return;return{kind:\"SelectionSet\",selections:i.map((function(t){var i=r.getFields()[t],o=i?i.type:null;return{kind:\"Field\",name:{kind:\"Name\",value:t},selectionSet:e(o,n)}}))}}(function(e){if(e)return e}(d.getType()),p);if(n&&e.loc){var r=function(e,t){var n=t,r=t;for(;n;){var i=e.charCodeAt(n-1);if(10===i||13===i||8232===i||8233===i)break;n--,9!==i&&11!==i&&12!==i&&32!==i&&160!==i&&(r=n)}return e.substring(n,r)}(t,e.loc.start);f.push({index:e.loc.end,string:\" \"+Object(a.print)(n).replace(/\\n/g,\"\\n\"+r)})}}}}),{insertions:f,result:c(t,f)}}function u(e){if(!(\"getFields\"in e))return[];var t=e.getFields();if(t.id)return[\"id\"];if(t.edges)return[\"edges\"];if(t.node)return[\"node\"];var n=[];return Object.keys(t).forEach((function(e){Object(s.I)(t[e].type)&&n.push(e)})),n}function c(e,t){if(0===t.length)return e;var n=\"\",r=0;return t.forEach((function(t){var i=t.index,o=t.string;n+=e.slice(r,i)+o,r=i})),n+=e.slice(r)}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return l}));var r=n(0),i=n(45),o=n(23),a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0)continue;l.push(p)}var d=t[f.name.value];if(d)f={kind:\"InlineFragment\",typeCondition:d.typeCondition,directives:d.directives,selectionSet:d.selectionSet}}if(\"InlineFragment\"===f.kind&&(!f.directives||0===(null===(o=f.directives)||void 0===o?void 0:o.length))){var h=f.typeCondition?f.typeCondition.name.value:null;if(!h||h===a){s.push.apply(s,e(t,f.selectionSet.selections,i));continue}}s.push(f)}return s}(l,i,t),(function(e){return e.alias?e.alias.value:e.name.value})),a(a({},e),{selections:i})},FragmentDefinition:function(){return null}};return Object(o.c)(e,n?Object(i.b)(n,p):p)}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return D}));var r=n(2),i=n.n(r),o=n(0);function a(e){var t=e.onClick?e.onClick:function(){return null};return function e(t,n){if(t instanceof o.e)return i.a.createElement(\"span\",null,e(t.ofType,n),\"!\");if(t instanceof o.d)return i.a.createElement(\"span\",null,\"[\",e(t.ofType,n),\"]\");return i.a.createElement(\"a\",{className:\"type-name\",onClick:function(e){e.preventDefault(),n(t,e)},href:\"#\"},null===t||void 0===t?void 0:t.name)}(e.type,t)}var s=n(12),l=n(50);function u(e){var t,n=e.field;return\"defaultValue\"in n&&void 0!==n.defaultValue?i.a.createElement(\"span\",null,\" = \",i.a.createElement(\"span\",{className:\"arg-default-value\"},(t=Object(l.a)(n.defaultValue,n.type))?Object(s.print)(t):\"\")):null}function c(e){var t=e.arg,n=e.onClickType,r=e.showDefaultValue;return i.a.createElement(\"span\",{className:\"arg\"},i.a.createElement(\"span\",{className:\"arg-name\"},t.name),\": \",i.a.createElement(a,{type:t.type,onClick:n}),!1!==r&&i.a.createElement(u,{field:t}))}function f(e){var t=e.directive;return i.a.createElement(\"span\",{className:\"doc-category-item\",id:t.name.value},\"@\",t.name.value)}var p=n(59),d=new(n.n(p).a);function h(e){var t=e.markdown,n=e.className;return t?i.a.createElement(\"div\",{className:n,dangerouslySetInnerHTML:{__html:d.render(t)}}):i.a.createElement(\"div\",null)}function m(e){var t,n,r=e.field,o=e.onClickType;return r&&\"args\"in r&&r.args.length>0&&(t=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"arguments\"),r.args.map((function(e){return i.a.createElement(\"div\",{key:e.name,className:\"doc-category-item\"},i.a.createElement(\"div\",null,i.a.createElement(c,{arg:e,onClickType:o})),i.a.createElement(h,{className:\"doc-value-description\",markdown:e.description}))})))),r&&r.astNode&&r.astNode.directives&&r.astNode.directives.length>0&&(n=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"directives\"),r.astNode.directives.map((function(e){return i.a.createElement(\"div\",{key:e.name.value,className:\"doc-category-item\"},i.a.createElement(\"div\",null,i.a.createElement(f,{directive:e})))})))),i.a.createElement(\"div\",null,i.a.createElement(h,{className:\"doc-type-description\",markdown:(null===r||void 0===r?void 0:r.description)||\"No Description\"}),r&&\"deprecationReason\"in r&&i.a.createElement(h,{className:\"doc-deprecation\",markdown:null===r||void 0===r?void 0:r.deprecationReason}),i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"type\"),i.a.createElement(a,{type:null===r||void 0===r?void 0:r.type,onClick:o})),t,n)}function v(e){var t=e.schema,n=e.onClickType,r=t.getQueryType(),o=t.getMutationType&&t.getMutationType(),s=t.getSubscriptionType&&t.getSubscriptionType();return i.a.createElement(\"div\",null,i.a.createElement(h,{className:\"doc-type-description\",markdown:t.description||\"A GraphQL schema provides a root type for each kind of operation.\"}),i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"root types\"),i.a.createElement(\"div\",{className:\"doc-category-item\"},i.a.createElement(\"span\",{className:\"keyword\"},\"query\"),\": \",i.a.createElement(a,{type:r,onClick:n})),o&&i.a.createElement(\"div\",{className:\"doc-category-item\"},i.a.createElement(\"span\",{className:\"keyword\"},\"mutation\"),\": \",i.a.createElement(a,{type:o,onClick:n})),s&&i.a.createElement(\"div\",{className:\"doc-category-item\"},i.a.createElement(\"span\",{className:\"keyword\"},\"subscription\"),\": \",i.a.createElement(a,{type:s,onClick:n}))))}var g=n(37),y=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b=function(e){function t(t){var n=e.call(this,t)||this;return n.handleChange=function(e){var t=e.currentTarget.value;n.setState({value:t}),n.debouncedOnSearch(t)},n.handleClear=function(){n.setState({value:\"\"}),n.props.onSearch(\"\")},n.state={value:t.value||\"\"},n.debouncedOnSearch=Object(g.a)(200,n.props.onSearch),n}return y(t,e),t.prototype.render=function(){return i.a.createElement(\"label\",{className:\"search-box\"},i.a.createElement(\"div\",{className:\"search-box-icon\",\"aria-hidden\":\"true\"},\"\\u26b2\"),i.a.createElement(\"input\",{value:this.state.value,onChange:this.handleChange,type:\"text\",placeholder:this.props.placeholder,\"aria-label\":this.props.placeholder}),this.state.value&&i.a.createElement(\"button\",{className:\"search-box-clear\",onClick:this.handleClear,\"aria-label\":\"Clear search input\"},\"\\u2715\"))},t}(i.a.Component),E=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return E(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.schema!==e.schema||this.props.searchValue!==e.searchValue},t.prototype.render=function(){var e=this.props.searchValue,t=this.props.withinType,n=this.props.schema,r=this.props.onClickType,o=this.props.onClickField,s=[],l=[],u=[],f=n.getTypeMap(),p=Object.keys(f);t&&(p=p.filter((function(e){return e!==t.name}))).unshift(t.name);for(var d=function(n){if(s.length+l.length+u.length>=100)return\"break\";var p=f[n];if(t!==p&&k(n,e)&&l.push(i.a.createElement(\"div\",{className:\"doc-category-item\",key:n},i.a.createElement(a,{type:p,onClick:r}))),p&&\"getFields\"in p){var d=p.getFields();Object.keys(d).forEach((function(l){var f,h=d[l];if(!k(l,e)){if(!(\"args\"in h)||!h.args.length)return;if(0===(f=h.args.filter((function(t){return k(t.name,e)}))).length)return}var m=i.a.createElement(\"div\",{className:\"doc-category-item\",key:n+\".\"+l},t!==p&&[i.a.createElement(a,{key:\"type\",type:p,onClick:r}),\".\"],i.a.createElement(\"a\",{className:\"field-name\",onClick:function(e){return o(h,p,e)}},h.name),f&&[\"(\",i.a.createElement(\"span\",{key:\"args\"},f.map((function(e){return i.a.createElement(c,{key:e.name,arg:e,onClickType:r,showDefaultValue:!1})}))),\")\"]);t===p?s.push(m):u.push(m)}))}},h=0,m=p;h0?i.a.createElement(\"div\",null,s,i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"other results\"),l,u)):i.a.createElement(\"div\",{className:\"doc-search-items\"},s,l,u)},t}(i.a.Component);function k(e,t){try{var n=t.replace(/[^_0-9A-Za-z]/g,(function(e){return\"\\\\\"+e}));return-1!==e.search(new RegExp(n,\"i\"))}catch(r){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}}var T=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(e){function t(t){var n=e.call(this,t)||this;return n.handleShowDeprecated=function(){return n.setState({showDeprecated:!0})},n.state={showDeprecated:!1},n}return T(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.props.type!==e.type||this.props.schema!==e.schema||this.state.showDeprecated!==t.showDeprecated},t.prototype.render=function(){var e,t,n,r,s,l=this.props.schema,u=this.props.type,c=this.props.onClickType,f=this.props.onClickField,p=null,d=[];if(u instanceof o.h?(p=\"possible types\",d=l.getPossibleTypes(u)):u instanceof o.c?(p=\"implementations\",d=l.getPossibleTypes(u)):u instanceof o.f&&(p=\"implements\",d=u.getInterfaces()),d&&d.length>0&&(e=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},p),d.map((function(e){return i.a.createElement(\"div\",{key:e.name,className:\"doc-category-item\"},i.a.createElement(a,{type:e,onClick:c}))})))),u&&\"getFields\"in u){var m=u.getFields(),v=Object.keys(m).map((function(e){return m[e]}));t=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"fields\"),v.filter((function(e){return!(\"isDeprecated\"in e)||!e.isDeprecated})).map((function(e){return i.a.createElement(_,{key:e.name,type:u,field:e,onClickType:c,onClickField:f})})));var g=v.filter((function(e){return\"isDeprecated\"in e&&e.isDeprecated}));g.length>0&&(n=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"deprecated fields\"),this.state.showDeprecated?g.map((function(e){return i.a.createElement(_,{key:e.name,type:u,field:e,onClickType:c,onClickField:f})})):i.a.createElement(\"button\",{className:\"show-btn\",onClick:this.handleShowDeprecated},\"Show deprecated fields...\")))}if(u instanceof o.a){var y=u.getValues();r=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"values\"),y.filter((function(e){return!e.isDeprecated})).map((function(e){return i.a.createElement(x,{key:e.name,value:e})})));var b=y.filter((function(e){return e.isDeprecated}));b.length>0&&(s=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"deprecated values\"),this.state.showDeprecated?b.map((function(e){return i.a.createElement(x,{key:e.name,value:e})})):i.a.createElement(\"button\",{className:\"show-btn\",onClick:this.handleShowDeprecated},\"Show deprecated values...\")))}return i.a.createElement(\"div\",null,i.a.createElement(h,{className:\"doc-type-description\",markdown:\"description\"in u&&u.description||\"No Description\"}),u instanceof o.f&&e,t,n,r,s,!(u instanceof o.f)&&e)},t}(i.a.Component);function _(e){var t=e.type,n=e.field,r=e.onClickType,o=e.onClickField;return i.a.createElement(\"div\",{className:\"doc-category-item\"},i.a.createElement(\"a\",{className:\"field-name\",onClick:function(e){return o(n,t,e)}},n.name),\"args\"in n&&n.args&&n.args.length>0&&[\"(\",i.a.createElement(\"span\",{key:\"args\"},n.args.map((function(e){return i.a.createElement(c,{key:e.name,arg:e,onClickType:r})}))),\")\"],\": \",i.a.createElement(a,{type:n.type,onClick:r}),i.a.createElement(u,{field:n}),n.description&&i.a.createElement(h,{className:\"field-short-description\",markdown:n.description}),\"deprecationReason\"in n&&n.deprecationReason&&i.a.createElement(h,{className:\"doc-deprecation\",markdown:n.deprecationReason}))}function x(e){var t=e.value;return i.a.createElement(\"div\",{className:\"doc-category-item\"},i.a.createElement(\"div\",{className:\"enum-value\"},t.name),i.a.createElement(h,{className:\"doc-value-description\",markdown:t.description}),t.deprecationReason&&i.a.createElement(h,{className:\"doc-deprecation\",markdown:t.deprecationReason}))}var S=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),C=function(){return(C=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&n.setState({navStack:n.state.navStack.slice(0,-1)})},n.handleClickType=function(e){n.showDoc(e)},n.handleClickField=function(e){n.showDoc(e)},n.handleSearch=function(e){n.showSearch(e)},n.state={navStack:[N]},n}return S(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.props.schema!==e.schema||this.state.navStack!==t.navStack},t.prototype.render=function(){var e,t=this.props.schema,n=this.state.navStack,r=n[n.length-1];e=void 0===t?i.a.createElement(\"div\",{className:\"spinner-container\"},i.a.createElement(\"div\",{className:\"spinner\"})):t?r.search?i.a.createElement(w,{searchValue:r.search,withinType:r.def,schema:t,onClickType:this.handleClickType,onClickField:this.handleClickField}):1===n.length?i.a.createElement(v,{schema:t,onClickType:this.handleClickType}):Object(o.S)(r.def)?i.a.createElement(O,{schema:t,type:r.def,onClickType:this.handleClickType,onClickField:this.handleClickField}):i.a.createElement(m,{field:r.def,onClickType:this.handleClickType}):i.a.createElement(\"div\",{className:\"error-container\"},\"No Schema Available\");var a,s=1===n.length||Object(o.S)(r.def)&&\"getFields\"in r.def;return n.length>1&&(a=n[n.length-2].name),i.a.createElement(\"section\",{className:\"doc-explorer\",key:r.name,\"aria-label\":\"Documentation Explorer\"},i.a.createElement(\"div\",{className:\"doc-explorer-title-bar\"},a&&i.a.createElement(\"button\",{className:\"doc-explorer-back\",onClick:this.handleNavBackClick,\"aria-label\":\"Go back to \"+a},a),i.a.createElement(\"div\",{className:\"doc-explorer-title\"},r.title||r.name),i.a.createElement(\"div\",{className:\"doc-explorer-rhs\"},this.props.children)),i.a.createElement(\"div\",{className:\"doc-explorer-contents\"},s&&i.a.createElement(b,{value:r.search,placeholder:\"Search \"+r.name+\"...\",onSearch:this.handleSearch}),e))},t.prototype.showDoc=function(e){var t=this.state.navStack;t[t.length-1].def!==e&&this.setState({navStack:t.concat([{name:e.name,def:e}])})},t.prototype.showDocForReference=function(e){e&&\"Type\"===e.kind?this.showDoc(e.type):\"Field\"===e.kind||\"Argument\"===e.kind&&e.field?this.showDoc(e.field):\"EnumValue\"===e.kind&&e.type&&this.showDoc(e.type)},t.prototype.showSearch=function(e){var t=this.state.navStack.slice(),n=t[t.length-1];t[t.length-1]=C(C({},n),{search:e}),this.setState({navStack:t})},t.prototype.reset=function(){this.setState({navStack:[N]})},t}(i.a.Component)},function(e,t,n){\"use strict\";function r(e,t){for(var n=0;n=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+\" \"+t},e.exports=r},function(e,t,n){!function(e){var t={pairs:\"()[]{}''\\\"\\\"\",closeBefore:\")]}'\\\":;>\",triples:\"\",explode:\"[]{}\"},n=e.Pos;function r(e,n){return\"pairs\"==n&&\"string\"==typeof e?e:\"object\"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption(\"autoCloseBrackets\",!1,(function(t,n,a){a&&a!=e.Init&&(t.removeKeyMap(i),t.state.closeBrackets=null),n&&(o(r(n,\"pairs\")),t.state.closeBrackets=n,t.addKeyMap(i))}));var i={Backspace:function(t){var i=s(t);if(!i||t.getOption(\"disableInput\"))return e.Pass;for(var o=r(i,\"pairs\"),a=t.listSelections(),l=0;l=0;l--){var f=a[l].head;t.replaceRange(\"\",n(f.line,f.ch-1),n(f.line,f.ch+1),\"+delete\")}},Enter:function(t){var n=s(t),i=n&&r(n,\"explode\");if(!i||t.getOption(\"disableInput\"))return e.Pass;for(var o=t.listSelections(),a=0;a1&&h.indexOf(i)>=0&&t.getRange(n(w.line,w.ch-2),w)==i+i){if(w.ch>2&&/\\bstring/.test(t.getTokenTypeAt(n(w.line,w.ch-2))))return e.Pass;b=\"addFour\"}else if(m){var T=0==w.ch?\" \":t.getRange(n(w.line,w.ch-1),w);if(e.isWordChar(k)||T==i||e.isWordChar(T))return e.Pass;b=\"both\"}else{if(!g||!(0===k.length||/\\s/.test(k)||d.indexOf(k)>-1))return e.Pass;b=\"both\"}else b=m&&f(t,w)?\"both\":h.indexOf(i)>=0&&t.getRange(w,n(w.line,w.ch+3))==i+i+i?\"skipThree\":\"skip\";if(p){if(p!=b)return e.Pass}else p=b}var O=c%2?a.charAt(c-1):i,_=c%2?i:a.charAt(c+1);t.operation((function(){if(\"skip\"==p)l(t,1);else if(\"skipThree\"==p)l(t,3);else if(\"surround\"==p){for(var e=t.getSelections(),n=0;n0?{line:a.head.line,ch:a.head.ch+t}:{line:a.head.line-1};n.push({anchor:s,head:s})}e.setSelections(n,i)}function u(t){var r=e.cmpPos(t.anchor,t.head)>0;return{anchor:new n(t.anchor.line,t.anchor.ch+(r?-1:1)),head:new n(t.head.line,t.head.ch+(r?1:-1))}}function c(e,t){var r=e.getRange(n(t.line,t.ch-1),n(t.line,t.ch+1));return 2==r.length?r:null}function f(e,t){var r=e.getTokenAt(n(t.line,t.ch+1));return/\\bstring/.test(r.type)&&r.start==t.ch&&(0==t.ch||!/\\bstring/.test(e.getTokenTypeAt(t)))}o(t.pairs+\"`\")}(n(16))},function(e,t,n){!function(e){\"use strict\";var t=\"CodeMirror-lint-markers\";function n(e){e.parentNode&&e.parentNode.removeChild(e)}function r(t,r,i,o){var a=function(t,n,r){var i=document.createElement(\"div\");function o(t){if(!i.parentNode)return e.off(document,\"mousemove\",o);i.style.top=Math.max(0,t.clientY-i.offsetHeight-5)+\"px\",i.style.left=t.clientX+5+\"px\"}return i.className=\"CodeMirror-lint-tooltip cm-s-\"+t.options.theme,i.appendChild(r.cloneNode(!0)),t.state.lint.options.selfContain?t.getWrapperElement().appendChild(i):document.body.appendChild(i),e.on(document,\"mousemove\",o),o(n),null!=i.style.opacity&&(i.style.opacity=1),i}(t,r,i);function s(){var t;e.off(o,\"mouseout\",s),a&&((t=a).parentNode&&(null==t.style.opacity&&n(t),t.style.opacity=0,setTimeout((function(){n(t)}),600)),a=null)}var l=setInterval((function(){if(a)for(var e=o;;e=e.parentNode){if(e&&11==e.nodeType&&(e=e.host),e==document.body)return;if(!e){s();break}}if(!a)return clearInterval(l)}),400);e.on(o,\"mouseout\",s)}function i(e,t,n){this.marked=[],this.options=t,this.timeout=null,this.hasGutter=n,this.onMouseOver=function(t){!function(e,t){var n=t.target||t.srcElement;if(/\\bCodeMirror-lint-mark-/.test(n.className)){for(var i=n.getBoundingClientRect(),o=(i.left+i.right)/2,a=(i.top+i.bottom)/2,l=e.findMarksAt(e.coordsChar({left:o,top:a},\"client\")),u=[],c=0;c-1)&&d.push(e.message)}));for(var h=null,m=l.hasGutter&&document.createDocumentFragment(),v=0;v1,l.options.tooltips))}}u.onUpdateLinting&&u.onUpdateLinting(n,c,e)}function c(e){var t=e.state.lint;t&&(clearTimeout(t.timeout),t.timeout=setTimeout((function(){l(e)}),t.options.delay||500))}e.defineOption(\"lint\",!1,(function(n,r,a){if(a&&a!=e.Init&&(o(n),!1!==n.state.lint.options.lintOnChange&&n.off(\"change\",c),e.off(n.getWrapperElement(),\"mouseover\",n.state.lint.onMouseOver),clearTimeout(n.state.lint.timeout),delete n.state.lint),r){for(var s=n.getOption(\"gutters\"),u=!1,f=0;f0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var r=this.getQueryEditor();r&&r.operation((function(){var e=r.getCursor(),i=r.indexFromPos(e);r.setValue(n||\"\");var o=0,a=t.map((function(e){var t=e.index,n=e.string;return r.markText(r.posFromIndex(t+o),r.posFromIndex(t+(o+=n.length)),{className:\"autoInsertedLeaf\",clearOnEnter:!0,title:\"Automatically added leaf fields\"})}));setTimeout((function(){return a.forEach((function(e){return e.clear()}))}),7e3);var s=i;t.forEach((function(e){var t=e.index,n=e.string;t2?r.headers=JSON.parse(this.state.headers):this.props.headers&&(r.headers=JSON.parse(this.props.headers));var i=J(t({query:j.a,operationName:j.b},r));Q(i)?i.then((function(e){if(\"string\"!==typeof e&&\"data\"in e)return e;var n=J(t({query:j.c,operationName:j.b},r));if(!Q(i))throw new Error(\"Fetcher did not return a Promise for introspection.\");return n})).then((function(t){if(void 0===e.state.schema)if(\"string\"!==typeof t&&\"data\"in t){var r=Object(s.a)(t.data),i=Object(x.a)(r,e.state.query);e.safeSetState(F({schema:r},i))}else{var o=\"string\"===typeof t?t:n.formatResult(t);e.safeSetState({schema:void 0,response:o})}})).catch((function(t){e.safeSetState({schema:void 0,response:t?n.formatError(t):void 0})})):this.setState({response:\"Fetcher did not return a Promise for introspection.\"})},n.prototype._fetchQuery=function(e,t,r,i,s,u){return R(this,void 0,void 0,(function(){var c,p,d,h,m,v,g=this;return M(this,(function(y){c=this.props.fetcher,p=null,d=null;try{p=t&&\"\"!==t.trim()?JSON.parse(t):null}catch(b){throw new Error(\"Variables are invalid JSON: \"+b.message+\".\")}if(\"object\"!==typeof p)throw new Error(\"Variables are not a JSON object.\");try{d=r&&\"\"!==r.trim()?JSON.parse(r):null}catch(b){throw new Error(\"Headers are invalid JSON: \"+b.message+\".\")}if(\"object\"!==typeof d)throw new Error(\"Headers are not a JSON object.\");return this.props.externalFragments&&(h=new Map,Array.isArray(this.props.externalFragments)?this.props.externalFragments.forEach((function(e){h.set(e.name.value,e)})):Object(l.c)(Object(a.a)(this.props.externalFragments,{experimentalFragmentVariables:!0}),{FragmentDefinition:function(e){h.set(e.name.value,e)}}),(m=Object(f.getFragmentDependenciesForAST)(this.state.documentAST,h)).length>0&&(e+=\"\\n\"+m.map((function(e){return Object(o.print)(e)})).join(\"\\n\"))),v=c({query:e,variables:p,operationName:i},{headers:d,shouldPersistHeaders:s,documentAST:this.state.documentAST}),[2,Promise.resolve(v).then((function(e){return K(e)?e.subscribe({next:u,error:function(e){g.safeSetState({isWaitingForResponse:!1,response:e?n.formatError(e):void 0,subscription:null})},complete:function(){g.safeSetState({isWaitingForResponse:!1,subscription:null})}}):Y(e)?(R(g,void 0,void 0,(function(){var t,r,i,o,a,s,l;return M(this,(function(c){switch(c.label){case 0:c.trys.push([0,13,,14]),c.label=1;case 1:c.trys.push([1,6,7,12]),t=V(e),c.label=2;case 2:return[4,t.next()];case 3:if((r=c.sent()).done)return[3,5];i=r.value,u(i),c.label=4;case 4:return[3,2];case 5:return[3,12];case 6:return o=c.sent(),s={error:o},[3,12];case 7:return c.trys.push([7,,10,11]),r&&!r.done&&(l=t.return)?[4,l.call(t)]:[3,9];case 8:c.sent(),c.label=9;case 9:return[3,11];case 10:if(s)throw s.error;return[7];case 11:return[7];case 12:return this.safeSetState({isWaitingForResponse:!1,subscription:null}),[3,14];case 13:return a=c.sent(),this.safeSetState({isWaitingForResponse:!1,response:a?n.formatError(a):void 0,subscription:null}),[3,14];case 14:return[2]}}))})),{unsubscribe:function(){var t,n;return null===(n=(t=e[Symbol.asyncIterator]()).return)||void 0===n?void 0:n.call(t)}}):(u(e),null)})).catch((function(e){return g.safeSetState({isWaitingForResponse:!1,response:e?n.formatError(e):void 0}),null}))]}))}))},n.prototype._runQueryAtCursor=function(){if(this.state.subscription)this.handleStopQuery();else{var e,t=this.state.operations;if(t){var n=this.getQueryEditor();if(n&&n.hasFocus())for(var r=n.getCursor(),i=n.indexFromPos(r),o=0;o=i){e=a.name&&a.name.value;break}}}this.handleRunQuery(e)}},n.prototype._didClickDragBar=function(e){if(0!==e.button||e.ctrlKey)return!1;var t=e.target;if(0!==t.className.indexOf(\"CodeMirror-gutter\"))return!1;for(var n=this.resultViewerElement;t;){if(t===n)return!0;t=t.parentNode}return!1},n.Logo=z,n.Toolbar=q,n.Footer=H,n.QueryEditor=y.a,n.VariableEditor=b.a,n.HeaderEditor=E.a,n.ResultViewer=w.a,n.Button=m.a,n.ToolbarButton=m.a,n.Group=v.a,n.Menu=g.a,n.MenuItem=g.b,n}(i.a.Component);function z(e){return i.a.createElement(\"div\",{className:\"title\"},e.children||i.a.createElement(\"span\",null,\"Graph\",i.a.createElement(\"em\",null,\"i\"),\"QL\"))}function q(e){return i.a.createElement(\"div\",{className:\"toolbar\",role:\"toolbar\",\"aria-label\":\"Editor Commands\"},e.children)}function H(e){return i.a.createElement(\"div\",{className:\"footer\"},e.children)}z.displayName=\"GraphiQLLogo\",q.displayName=\"GraphiQLToolbar\",H.displayName=\"GraphiQLFooter\";var G=function(e){return F(F({},e),{message:e.message,stack:e.stack})},W='# Welcome to GraphiQL\\n#\\n# GraphiQL is an in-browser tool for writing, validating, and\\n# testing GraphQL queries.\\n#\\n# Type queries into this side of the screen, and you will see intelligent\\n# typeaheads aware of the current GraphQL type schema and live syntax and\\n# validation errors highlighted within the text.\\n#\\n# GraphQL queries typically start with a \"{\" character. Lines that start\\n# with a # are ignored.\\n#\\n# An example GraphQL query might look like:\\n#\\n# {\\n# field(arg: \"value\") {\\n# subField\\n# }\\n# }\\n#\\n# Keyboard shortcuts:\\n#\\n# Prettify Query: Shift-Ctrl-P (or press the prettify button above)\\n#\\n# Merge Query: Shift-Ctrl-M (or press the merge button above)\\n#\\n# Run Query: Ctrl-Enter (or press the play button above)\\n#\\n# Auto Complete: Ctrl-Space (or just start typing)\\n#\\n\\n';function Q(e){return\"object\"===typeof e&&\"function\"===typeof e.then}function K(e){return\"object\"===typeof e&&\"subscribe\"in e&&\"function\"===typeof e.subscribe}function Y(e){return\"object\"===typeof e&&null!==e&&(\"AsyncGenerator\"===e[Symbol.toStringTag]||Symbol.asyncIterator in e)}function J(e){return Promise.resolve(e).then((function(e){return Y(e)?(n=e,new Promise((function(e,t){var r,i=null===(r=(\"return\"in n?n:n[Symbol.asyncIterator]()).return)||void 0===r?void 0:r.bind(n);(\"next\"in n?n:n[Symbol.asyncIterator]()).next.bind(n)().then((function(t){e(t.value),null===i||void 0===i||i()})).catch((function(e){t(e)}))}))):K(e)?(t=e,new Promise((function(e,n){var r=t.subscribe({next:function(t){e(t),r.unsubscribe()},error:n,complete:function(){n(new Error(\"no value resolved\"))}})}))):e;var t,n}))}function $(e,t){var n;return!(!(null===(n=null===e||void 0===e?void 0:e.type)||void 0===n?void 0:n.displayName)||e.type.displayName!==t.displayName)||e.type===t}}).call(this,n(64))},function(e,t,n){\"use strict\";function r(e,t){if(null!=e)return e;var n=new Error(void 0!==t?t:\"Got unexpected \"+e);throw n.framesToPop=1,n}e.exports=r,e.exports.default=r,Object.defineProperty(e.exports,\"__esModule\",{value:!0})},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o}));var r=n(71);function i(e){return o(e.source,Object(r.a)(e.source,e.start))}function o(e,t){var n=e.locationOffset.column-1,r=s(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,l=t.line+o,u=1===t.line?n:0,c=t.column+u,f=\"\".concat(e.name,\":\").concat(l,\":\").concat(c,\"\\n\"),p=r.split(/\\r\\n|[\\n\\r]/g),d=p[i];if(d.length>120){for(var h=Math.floor(c/80),m=c%80,v=[],g=0;g=65&&r<=90||!t.shiftKey&&r>=48&&r<=57||t.shiftKey&&189===r||t.shiftKey&&222===r)&&n.editor.execCommand(\"autocomplete\")},n._onEdit=function(){n.editor&&(n.ignoreChangeEvent||(n.cachedValue=n.editor.getValue(),n.props.onEdit&&n.props.onEdit(n.cachedValue)))},n._onHasCompletion=function(e,t){Object(o.a)(e,t,n.props.onHintInformationRender)},n.cachedValue=t.value||\"\",n}return s(t,e),t.prototype.componentDidMount=function(){var e=this;this.CodeMirror=n(16),n(73),n(74),n(87),n(76),n(75),n(88),n(55),n(77),n(56),n(237),n(78);var t=this.editor=this.CodeMirror(this._node,{value:this.props.value||\"\",lineNumbers:!0,tabSize:2,mode:{name:\"javascript\",json:!0},theme:this.props.editorTheme||\"graphiql\",keyMap:\"sublime\",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&\"nocursor\",foldGutter:{minFoldSize:4},gutters:[\"CodeMirror-linenumbers\",\"CodeMirror-foldgutter\"],extraKeys:l({\"Cmd-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Ctrl-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Alt-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Shift-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Cmd-Enter\":function(){e.props.onRunQuery&&e.props.onRunQuery()},\"Ctrl-Enter\":function(){e.props.onRunQuery&&e.props.onRunQuery()},\"Shift-Ctrl-P\":function(){e.props.onPrettifyQuery&&e.props.onPrettifyQuery()},\"Shift-Ctrl-M\":function(){e.props.onMergeQuery&&e.props.onMergeQuery()}},a.a)});t.on(\"change\",this._onEdit),t.on(\"keyup\",this._onKeyUp),t.on(\"hasCompletion\",this._onHasCompletion)},t.prototype.componentDidUpdate=function(e){if(this.CodeMirror=n(16),this.editor){if(this.ignoreChangeEvent=!0,this.props.value!==e.value&&this.props.value!==this.cachedValue){var t=this.props.value||\"\";this.cachedValue=t,this.editor.setValue(t)}this.ignoreChangeEvent=!1}},t.prototype.componentWillUnmount=function(){this.editor&&(this.editor.off(\"change\",this._onEdit),this.editor.off(\"keyup\",this._onKeyUp),this.editor.off(\"hasCompletion\",this._onHasCompletion),this.editor=null)},t.prototype.render=function(){var e=this;return i.a.createElement(\"div\",{className:\"codemirrorWrap\",style:{position:this.props.active?\"relative\":\"absolute\",visibility:this.props.active?\"visible\":\"hidden\"},ref:function(t){e._node=t}})},t.prototype.getCodeMirror=function(){return this.editor},t.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},t}(i.a.Component)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return u}));var r=n(2),i=n.n(r),o=n(69),a=n.n(o),s=n(49),l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.viewer=null,t._node=null,t}return l(t,e),t.prototype.componentDidMount=function(){var e=n(16);n(75),n(76),n(56),n(114),n(55),n(77),n(78),n(238);var t=this.props.ResultsTooltip,r=this.props.ImagePreview;if(t||r){n(118);var o=document.createElement(\"div\");e.registerHelper(\"info\",\"graphql-results\",(function(e,n,s,l){var u=[];return t&&u.push(i.a.createElement(t,{pos:l})),r&&\"function\"===typeof r.shouldRender&&r.shouldRender(e)&&u.push(i.a.createElement(r,{token:e})),u.length?(a.a.render(i.a.createElement(\"div\",null,u),o),o):(a.a.unmountComponentAtNode(o),null)}))}this.viewer=e(this._node,{lineWrapping:!0,value:this.props.value||\"\",readOnly:!0,theme:this.props.editorTheme||\"graphiql\",mode:\"graphql-results\",keyMap:\"sublime\",foldGutter:{minFoldSize:4},gutters:[\"CodeMirror-foldgutter\"],info:Boolean(this.props.ResultsTooltip||this.props.ImagePreview),extraKeys:s.a})},t.prototype.shouldComponentUpdate=function(e){return this.props.value!==e.value},t.prototype.componentDidUpdate=function(){this.viewer&&this.viewer.setValue(this.props.value||\"\")},t.prototype.componentWillUnmount=function(){this.viewer=null},t.prototype.render=function(){var e=this;return i.a.createElement(\"section\",{className:\"result-window\",\"aria-label\":\"Result Window\",\"aria-live\":\"polite\",\"aria-atomic\":\"true\",ref:function(t){t&&(e.props.registerRef(t),e._node=t)}})},t.prototype.getCodeMirror=function(){return this.viewer},t.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},t}(i.a.Component)},function(e,t,n){\"use strict\";(function(e){var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=i.shift();s&&s.applyMiddleware.apply(o,[e,t])}else n(e)}()}))},e.prototype.use=function(e){var t=this;return e.map((function(e){if(\"function\"!==typeof e.applyMiddleware)throw new Error(\"Middleware must implement the applyMiddleware function.\");t.middlewares.push(e)})),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise((function(t,n){if(\"function\"===typeof e)try{return t(e.call(null))}catch(r){return n(r)}t(e)}))}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var r=this.generateOperationId();return this.operations[r]={options:e,handler:t},this.applyMiddlewares(e).then((function(e){n.checkOperationOptions(e,t),n.operations[r]&&(n.operations[r]={options:e,handler:t},n.sendMessage(r,y.default.GQL_START,e))})).catch((function(e){n.unsubscribe(r),t(n.formatErrors(e))})),r},e.prototype.getObserver=function(e,t,n){return\"function\"===typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.minWsTimeout,t=this.wsTimeout;return new u({min:e,max:t,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((function(){0===Object.keys(e.operations).length&&e.close()}),this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,r=e.variables,i=e.operationName;if(!n)throw new Error(\"Must provide a query.\");if(!t)throw new Error(\"Must provide an handler.\");if(!f.default(n)&&!h.getOperationAST(n,i)||i&&!f.default(i)||r&&!p.default(r))throw new Error(\"Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.\")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?r(r({},n),{query:\"string\"===typeof n.query?n.query:d.print(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:\"FormatedError\",message:\"Unknown error\",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(n){this.eventEmitter.emit(\"error\",new Error(\"Message must be JSON-serializable. Got: \"+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit(\"error\",new Error(\"A message was not sent because socket is not connected, is closing or is already closed. Message was: \"+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach((function(t){e.unsentMessagesQueue.push(e.buildMessage(t,y.default.GQL_START,e.operations[t].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((function(){e.connect()}),t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach((function(t){e.sendMessageRaw(t)})),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))}),this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e,t=this;this.client=new((e=this.wsImpl).bind.apply(e,a([void 0,this.url,this.wsProtocols],this.wsOptionArguments))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(t,void 0,void 0,(function(){var e,t;return o(this,(function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?\"reconnecting\":\"connecting\"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,y.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,y.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}))}))},this.client.onclose=function(){t.closedByUser||t.close(!1,!1)},this.client.onerror=function(e){t.eventEmitter.emit(\"error\",e)},this.client.onmessage=function(e){var n=e.data;t.processReceivedData(n)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(s){throw new Error(\"Message must be JSON-parseable. Got: \"+e)}if(-1===[y.default.GQL_DATA,y.default.GQL_COMPLETE,y.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case y.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case y.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?\"reconnected\":\"connected\",t.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case y.default.GQL_COMPLETE:var i=this.operations[n].handler;delete this.operations[n],i.call(this,null,null);break;case y.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case y.default.GQL_DATA:var o=t.payload.errors?r(r({},t.payload),{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,o);break;case y.default.GQL_CONNECTION_KEEP_ALIVE:var a=\"undefined\"===typeof this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,a&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error(\"Invalid message type!\")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,y.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=b}).call(this,n(64))},function(e,t,n){\"use strict\";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError(\"Object.assign cannot be called with null or undefined\");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String(\"abc\");if(e[5]=\"de\",\"5\"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t[\"_\"+String.fromCharCode(n)]=n;if(\"0123456789\"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(\"\"))return!1;var r={};return\"abcdefghijklmnopqrst\".split(\"\").forEach((function(e){r[e]=e})),\"abcdefghijklmnopqrst\"===Object.keys(Object.assign({},r)).join(\"\")}catch(i){return!1}}()?Object.assign:function(e,t){for(var n,s,l=a(e),u=1;u`\\\\x00-\\\\x20]+|'[^']*'|\\\"[^\\\"]*\\\"))?)*\\\\s*\\\\/?>\",i=\"<\\\\/[A-Za-z][A-Za-z0-9\\\\-]*\\\\s*>\",o=new RegExp(\"^(?:\"+r+\"|\"+i+\"|\\x3c!----\\x3e|\\x3c!--(?:-?[^>-])(?:-?[^-])*--\\x3e|<[?].*?[?]>|]*>|)\"),a=new RegExp(\"^(?:\"+r+\"|\"+i+\")\");e.exports.HTML_TAG_RE=o,e.exports.HTML_OPEN_CLOSE_TAG_RE=a},function(e,t,n){\"use strict\";function r(e,t){var n,r,i,o,a,s=[],l=t.length;for(n=0;n=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(i=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1&&t[n-1].marker===r.marker,a=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=s?\"strong_open\":\"em_open\",o.tag=s?\"strong\":\"em\",o.nesting=1,o.markup=s?a+a:a,o.content=\"\",(o=e.tokens[i.token]).type=s?\"strong_close\":\"em_close\",o.tag=s?\"strong\":\"em\",o.nesting=-1,o.markup=s?a+a:a,o.content=\"\",s&&(e.tokens[t[n-1].token].content=\"\",e.tokens[t[r.end+1].token].content=\"\",n--))}e.exports.tokenize=function(e,t){var n,r,i=e.pos,o=e.src.charCodeAt(i);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;nt.cursorCoords(n,\"window\").top&&((d=r).style.opacity=.4)})))};!function(e,t,n,r,i){e.openDialog(t,r,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){f(e)},onKeyDown:i,bottom:e.options.search.bottom})}(t,p(t),u,h,(function(r,i){var o=e.keyName(r),a=t.getOption(\"extraKeys\"),s=a&&a[o]||e.keyMap[t.getOption(\"keyMap\")][o];\"findNext\"==s||\"findPrev\"==s||\"findPersistentNext\"==s||\"findPersistentPrev\"==s?(e.e_stop(r),l(t,n(t),i),t.execCommand(s)):\"find\"!=s&&\"findPersistent\"!=s||(e.e_stop(r),h(i,r))})),a&&u&&(l(t,s,u),c(t,r))}else o(t,p(t),\"Search for:\",u,(function(e){e&&!s.query&&t.operation((function(){l(t,s,e),s.posFrom=s.posTo=t.getCursor(),c(t,r)}))}))}function c(t,r,o){t.operation((function(){var a=n(t),s=i(t,a.query,r?a.posFrom:a.posTo);(s.find(r)||(s=i(t,a.query,r?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(r))&&(t.setSelection(s.from(),s.to()),t.scrollIntoView({from:s.from(),to:s.to()},20),a.posFrom=s.from(),a.posTo=s.to(),o&&o(s.from(),s.to()))}))}function f(e){e.operation((function(){var t=n(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))}))}function p(e){return''+e.phrase(\"Search:\")+' '+e.phrase(\"(Use /re/ syntax for regexp search)\")+\"\"}function d(e,t,n){e.operation((function(){for(var r=i(e,t);r.findNext();)if(\"string\"!=typeof t){var o=e.getRange(r.from(),r.to()).match(t);r.replace(n.replace(/\\$(\\d)/g,(function(e,t){return o[t]})))}else r.replace(n)}))}function h(e,t){if(!e.getOption(\"readOnly\")){var r=e.getSelection()||n(e).lastQuery,l=''+(t?e.phrase(\"Replace all:\"):e.phrase(\"Replace:\"))+\"\";o(e,l+function(e){return' '+e.phrase(\"(Use /re/ syntax for regexp search)\")+\"\"}(e),l,r,(function(n){n&&(n=s(n),o(e,function(e){return''+e.phrase(\"With:\")+' '}(e),e.phrase(\"Replace with:\"),\"\",(function(r){if(r=a(r),t)d(e,n,r);else{f(e);var o=i(e,n,e.getCursor(\"from\")),s=function t(){var a,s=o.from();!(a=o.findNext())&&(o=i(e,n),!(a=o.findNext())||s&&o.from().line==s.line&&o.from().ch==s.ch)||(e.setSelection(o.from(),o.to()),e.scrollIntoView({from:o.from(),to:o.to()}),function(e,t,n,r){e.openConfirm?e.openConfirm(t,r):confirm(n)&&r[0]()}(e,function(e){return''+e.phrase(\"Replace?\")+\" \"}(e),e.phrase(\"Replace?\"),[function(){l(a)},t,function(){d(e,n,r)}]))},l=function(e){o.replace(\"string\"==typeof n?r:r.replace(/\\$(\\d)/g,(function(t,n){return e[n]}))),s()};s()}})))}))}}e.defineOption(\"search\",{bottom:!1}),e.commands.find=function(e){f(e),u(e)},e.commands.findPersistent=function(e){f(e),u(e,!1,!0)},e.commands.findPersistentNext=function(e){u(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){u(e,!0,!0,!0)},e.commands.findNext=u,e.commands.findPrev=function(e){u(e,!0)},e.commands.clearSearch=f,e.commands.replace=h,e.commands.replaceAll=function(e){h(e,!0)}}(n(16),n(55),n(56))},function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var i=n(18),o=n(10),a=r(n(116));function s(e,t,n){return n===o.SchemaMetaFieldDef.name&&e.getQueryType()===t?o.SchemaMetaFieldDef:n===o.TypeMetaFieldDef.name&&e.getQueryType()===t?o.TypeMetaFieldDef:n===o.TypeNameMetaFieldDef.name&&i.isCompositeType(t)?o.TypeNameMetaFieldDef:t&&t.getFields?t.getFields()[n]:void 0}t.default=function(e,t){var n={schema:e,type:null,parentType:null,inputType:null,directiveDef:null,fieldDef:null,argDef:null,argDefs:null,objectFieldDefs:null};return a.default(t,(function(t){switch(t.kind){case\"Query\":case\"ShortQuery\":n.type=e.getQueryType();break;case\"Mutation\":n.type=e.getMutationType();break;case\"Subscription\":n.type=e.getSubscriptionType();break;case\"InlineFragment\":case\"FragmentDefinition\":t.type&&(n.type=e.getType(t.type));break;case\"Field\":case\"AliasedField\":n.fieldDef=n.type&&t.name?s(e,n.parentType,t.name):null,n.type=n.fieldDef&&n.fieldDef.type;break;case\"SelectionSet\":n.parentType=n.type?i.getNamedType(n.type):null;break;case\"Directive\":n.directiveDef=t.name?e.getDirective(t.name):null;break;case\"Arguments\":var r=t.prevState?\"Field\"===t.prevState.kind?n.fieldDef:\"Directive\"===t.prevState.kind?n.directiveDef:\"AliasedField\"===t.prevState.kind?t.prevState.name&&s(e,n.parentType,t.prevState.name):null:null;n.argDefs=r?r.args:null;break;case\"Argument\":if(n.argDef=null,n.argDefs)for(var o=0;o=0;i--)t(n[i])}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.getTypeReference=t.getEnumValueReference=t.getArgumentReference=t.getDirectiveReference=t.getFieldReference=void 0;var r=n(18);function i(e){return\"__\"===e.name.slice(0,2)}t.getFieldReference=function(e){return{kind:\"Field\",schema:e.schema,field:e.fieldDef,type:i(e.fieldDef)?null:e.parentType}},t.getDirectiveReference=function(e){return{kind:\"Directive\",schema:e.schema,directive:e.directiveDef}},t.getArgumentReference=function(e){return e.directiveDef?{kind:\"Argument\",schema:e.schema,argument:e.argDef,directive:e.directiveDef}:{kind:\"Argument\",schema:e.schema,argument:e.argDef,field:e.fieldDef,type:i(e.fieldDef)?null:e.parentType}},t.getEnumValueReference=function(e){return{kind:\"EnumValue\",value:e.enumValue||void 0,type:e.inputType?r.getNamedType(e.inputType):void 0}},t.getTypeReference=function(e,t){return{kind:\"Type\",schema:e.schema,type:t||e.type}}},function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var i=r(n(16));function o(e,t){var n=e.state.info,r=t.target||t.srcElement;if(r instanceof HTMLElement&&\"SPAN\"===r.nodeName&&void 0===n.hoverTimeout){var o=r.getBoundingClientRect(),a=function(){clearTimeout(n.hoverTimeout),n.hoverTimeout=setTimeout(l,u)},s=function t(){i.default.off(document,\"mousemove\",a),i.default.off(e.getWrapperElement(),\"mouseout\",t),clearTimeout(n.hoverTimeout),n.hoverTimeout=void 0},l=function(){i.default.off(document,\"mousemove\",a),i.default.off(e.getWrapperElement(),\"mouseout\",s),n.hoverTimeout=void 0,function(e,t){var n=e.coordsChar({left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}),r=e.state.info.options,o=r.render||e.getHelper(n,\"info\");if(o){var a=e.getTokenAt(n,!0);if(a){var s=o(a,r,e,n);s&&function(e,t,n){var r=document.createElement(\"div\");r.className=\"CodeMirror-info\",r.appendChild(n),document.body.appendChild(r);var o=r.getBoundingClientRect(),a=window.getComputedStyle(r),s=o.right-o.left+parseFloat(a.marginLeft)+parseFloat(a.marginRight),l=o.bottom-o.top+parseFloat(a.marginTop)+parseFloat(a.marginBottom),u=t.bottom;l>window.innerHeight-t.bottom-15&&t.top>window.innerHeight-t.bottom&&(u=t.top-l);u<0&&(u=t.bottom);var c,f=Math.max(0,window.innerWidth-s-15);f>t.left&&(f=t.left);r.style.opacity=\"1\",r.style.top=u+\"px\",r.style.left=f+\"px\";var p=function(){clearTimeout(c)},d=function(){clearTimeout(c),c=setTimeout(h,200)},h=function(){i.default.off(r,\"mouseover\",p),i.default.off(r,\"mouseout\",d),i.default.off(e.getWrapperElement(),\"mouseout\",d),r.style.opacity?(r.style.opacity=\"0\",setTimeout((function(){r.parentNode&&r.parentNode.removeChild(r)}),600)):r.parentNode&&r.parentNode.removeChild(r)};i.default.on(r,\"mouseover\",p),i.default.on(r,\"mouseout\",d),i.default.on(e.getWrapperElement(),\"mouseout\",d)}(e,t,s)}}}(e,o)},u=function(e){var t=e.state.info.options;return t&&t.hoverTime||500}(e);n.hoverTimeout=setTimeout(l,u),i.default.on(document,\"mousemove\",a),i.default.on(e.getWrapperElement(),\"mouseout\",s)}}i.default.defineOption(\"info\",!1,(function(e,t,n){if(n&&n!==i.default.Init){var r=e.state.info.onMouseOver;i.default.off(e.getWrapperElement(),\"mouseover\",r),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(t){var a=e.state.info=function(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}(t);a.onMouseOver=o.bind(null,e),i.default.on(e.getWrapperElement(),\"mouseover\",a.onMouseOver)}}))},function(e,t,n){var r=n(243);e.exports=function(e,t){if(e){if(\"string\"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===n&&e.constructor&&(n=e.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(n):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"getDefinitionState\",(function(){return A})),n.d(t,\"getFieldDef\",(function(){return I})),n.d(t,\"forEachState\",(function(){return j})),n.d(t,\"objectValues\",(function(){return L})),n.d(t,\"hintList\",(function(){return F})),n.d(t,\"getAutocompleteSuggestions\",(function(){return _e})),n.d(t,\"getVariableCompletions\",(function(){return xe})),n.d(t,\"getFragmentDefinitions\",(function(){return Se})),n.d(t,\"getTokenAtPosition\",(function(){return Ce})),n.d(t,\"runOnlineParser\",(function(){return Ne})),n.d(t,\"canUseDirective\",(function(){return De})),n.d(t,\"getTypeInfo\",(function(){return Ae})),n.d(t,\"LANGUAGE\",(function(){return Re})),n.d(t,\"getDefinitionQueryResultForNamedType\",(function(){return Ue})),n.d(t,\"getDefinitionQueryResultForFragmentSpread\",(function(){return Be})),n.d(t,\"getDefinitionQueryResultForDefinitionNode\",(function(){return ze})),n.d(t,\"SEVERITY\",(function(){return Qe})),n.d(t,\"DIAGNOSTIC_SEVERITY\",(function(){return Ke})),n.d(t,\"getDiagnostics\",(function(){return Je})),n.d(t,\"validateQuery\",(function(){return $e})),n.d(t,\"getRange\",(function(){return et})),n.d(t,\"getOutline\",(function(){return rt})),n.d(t,\"getHoverInformation\",(function(){return ot})),n.d(t,\"GraphQLLanguageService\",(function(){return jt}));var r,i,o,a,s,l,u,c,f,p,d,h,m,v,g,y,b,E,w,k,T,O,_,x,S,C,N=n(0),D=n(10);function A(e){let t;return j(e,e=>{switch(e.kind){case\"Query\":case\"ShortQuery\":case\"Mutation\":case\"Subscription\":case\"FragmentDefinition\":t=e}}),t}function I(e,t,n){return n===D.SchemaMetaFieldDef.name&&e.getQueryType()===t?D.SchemaMetaFieldDef:n===D.TypeMetaFieldDef.name&&e.getQueryType()===t?D.TypeMetaFieldDef:n===D.TypeNameMetaFieldDef.name&&Object(N.D)(t)?D.TypeNameMetaFieldDef:\"getFields\"in t?t.getFields()[n]:null}function j(e,t){const n=[];let r=e;for(;r&&r.kind;)n.push(r),r=r.prevState;for(let i=n.length-1;i>=0;i--)t(n[i])}function L(e){const t=Object.keys(e),n=t.length,r=new Array(n);for(let i=0;i!e.isDeprecated);return R(R(e.map(e=>({proximity:P(M(e.label),t),entry:e})),e=>e.proximity<=2),e=>!e.entry.isDeprecated).sort((e,t)=>(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.label.length-t.entry.label.length).map(e=>e.entry)}(t,M(e.string))}function R(e,t){const n=e.filter(t);return 0===n.length?e:n}function M(e){return e.toLowerCase().replace(/\\W/g,\"\")}function P(e,t){let n=function(e,t){let n,r;const i=[],o=e.length,a=t.length;for(n=0;n<=o;n++)i[n]=[n];for(r=1;r<=a;r++)i[0][r]=r;for(n=1;n<=o;n++)for(r=1;r<=a;r++){const o=e[n-1]===t[r-1]?0:1;i[n][r]=Math.min(i[n-1][r]+1,i[n][r-1]+1,i[n-1][r-1]+o),n>1&&r>1&&e[n-1]===t[r-2]&&e[n-2]===t[r-1]&&(i[n][r]=Math.min(i[n][r],i[n-2][r-2]+o))}return i[o][a]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}!function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647}(r||(r={})),function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647}(i||(i={})),function(e){e.create=function(e,t){return e===Number.MAX_VALUE&&(e=i.MAX_VALUE),t===Number.MAX_VALUE&&(t=i.MAX_VALUE),{line:e,character:t}},e.is=function(e){var t=e;return ye.objectLiteral(t)&&ye.uinteger(t.line)&&ye.uinteger(t.character)}}(o||(o={})),function(e){e.create=function(e,t,n,r){if(ye.uinteger(e)&&ye.uinteger(t)&&ye.uinteger(n)&&ye.uinteger(r))return{start:o.create(e,t),end:o.create(n,r)};if(o.is(e)&&o.is(t))return{start:e,end:t};throw new Error(\"Range#create called with invalid arguments[\"+e+\", \"+t+\", \"+n+\", \"+r+\"]\")},e.is=function(e){var t=e;return ye.objectLiteral(t)&&o.is(t.start)&&o.is(t.end)}}(a||(a={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return ye.defined(t)&&a.is(t.range)&&(ye.string(t.uri)||ye.undefined(t.uri))}}(s||(s={})),function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){var t=e;return ye.defined(t)&&a.is(t.targetRange)&&ye.string(t.targetUri)&&(a.is(t.targetSelectionRange)||ye.undefined(t.targetSelectionRange))&&(a.is(t.originSelectionRange)||ye.undefined(t.originSelectionRange))}}(l||(l={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){var t=e;return ye.numberRange(t.red,0,1)&&ye.numberRange(t.green,0,1)&&ye.numberRange(t.blue,0,1)&&ye.numberRange(t.alpha,0,1)}}(u||(u={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return a.is(t.range)&&u.is(t.color)}}(c||(c={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return ye.string(t.label)&&(ye.undefined(t.textEdit)||E.is(t))&&(ye.undefined(t.additionalTextEdits)||ye.typedArray(t.additionalTextEdits,E.is))}}(f||(f={})),function(e){e.Comment=\"comment\",e.Imports=\"imports\",e.Region=\"region\"}(p||(p={})),function(e){e.create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return ye.defined(n)&&(o.startCharacter=n),ye.defined(r)&&(o.endCharacter=r),ye.defined(i)&&(o.kind=i),o},e.is=function(e){var t=e;return ye.uinteger(t.startLine)&&ye.uinteger(t.startLine)&&(ye.undefined(t.startCharacter)||ye.uinteger(t.startCharacter))&&(ye.undefined(t.endCharacter)||ye.uinteger(t.endCharacter))&&(ye.undefined(t.kind)||ye.string(t.kind))}}(d||(d={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return ye.defined(t)&&s.is(t.location)&&ye.string(t.message)}}(h||(h={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(m||(m={})),function(e){e.Unnecessary=1,e.Deprecated=2}(v||(v={})),function(e){e.is=function(e){var t=e;return void 0!==t&&null!==t&&ye.string(t.href)}}(g||(g={})),function(e){e.create=function(e,t,n,r,i,o){var a={range:e,message:t};return ye.defined(n)&&(a.severity=n),ye.defined(r)&&(a.code=r),ye.defined(i)&&(a.source=i),ye.defined(o)&&(a.relatedInformation=o),a},e.is=function(e){var t,n=e;return ye.defined(n)&&a.is(n.range)&&ye.string(n.message)&&(ye.number(n.severity)||ye.undefined(n.severity))&&(ye.integer(n.code)||ye.string(n.code)||ye.undefined(n.code))&&(ye.undefined(n.codeDescription)||ye.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(ye.string(n.source)||ye.undefined(n.source))&&(ye.undefined(n.relatedInformation)||ye.typedArray(n.relatedInformation,h.is))}}(y||(y={})),function(e){e.create=function(e,t){for(var n=[],r=2;r0&&(i.arguments=n),i},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.title)&&ye.string(t.command)}}(b||(b={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:\"\"}},e.is=function(e){var t=e;return ye.objectLiteral(t)&&ye.string(t.newText)&&a.is(t.range)}}(E||(E={})),function(e){e.create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},e.is=function(e){var t=e;return void 0!==t&&ye.objectLiteral(t)&&ye.string(t.label)&&(ye.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(ye.string(t.description)||void 0===t.description)}}(w||(w={})),function(e){e.is=function(e){return\"string\"===typeof e}}(k||(k={})),function(e){e.replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},e.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},e.del=function(e,t){return{range:e,newText:\"\",annotationId:t}},e.is=function(e){var t=e;return E.is(t)&&(w.is(t.annotationId)||k.is(t.annotationId))}}(T||(T={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return ye.defined(t)&&B.is(t.textDocument)&&Array.isArray(t.edits)}}(O||(O={})),function(e){e.create=function(e,t,n){var r={kind:\"create\",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){var t=e;return t&&\"create\"===t.kind&&ye.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||ye.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ye.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||k.is(t.annotationId))}}(_||(_={})),function(e){e.create=function(e,t,n,r){var i={kind:\"rename\",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),void 0!==r&&(i.annotationId=r),i},e.is=function(e){var t=e;return t&&\"rename\"===t.kind&&ye.string(t.oldUri)&&ye.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||ye.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ye.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||k.is(t.annotationId))}}(x||(x={})),function(e){e.create=function(e,t,n){var r={kind:\"delete\",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){var t=e;return t&&\"delete\"===t.kind&&ye.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||ye.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||ye.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||k.is(t.annotationId))}}(S||(S={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return ye.string(e.kind)?_.is(e)||x.is(e)||S.is(e):O.is(e)})))}}(C||(C={}));var V,U,B,z,q,H,G,W,Q,K,Y,J,$,X,Z,ee,te,ne,re,ie,oe,ae,se,le,ue,ce,fe,pe,de,he,me=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=E.insert(e,t):k.is(n)?(i=n,r=T.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=T.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=E.replace(e,t):k.is(n)?(i=n,r=T.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=T.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=E.del(e):k.is(t)?(r=t,n=T.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=T.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw new Error(\"Text edit change is not configured to manage change annotations.\")},e}(),ve=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,\"size\",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(k.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw new Error(\"Id \"+n+\" is already in use.\");if(void 0===t)throw new Error(\"No annotation provided for id \"+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new ve(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach((function(e){if(O.is(e)){var n=new me(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}}))):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new me(e.changes[n]);t._textEditChanges[n]=r}))):this._workspaceEdit={}}Object.defineProperty(e.prototype,\"edit\",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(B.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error(\"Workspace edit is not configured for document changes.\");var t={uri:e.uri,version:e.version};if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(n),r=new me(i,this._changeAnnotations),this._textEditChanges[t.uri]=r}return r}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw new Error(\"Workspace edit is not configured for normal text edit changes.\");var r;if(!(r=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,r=new me(i),this._textEditChanges[e]=r}return r},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new ve,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error(\"Workspace edit is not configured for document changes.\");var r,i,o;if(w.is(t)||k.is(t)?r=t:n=t,void 0===r?i=_.create(e,n):(o=k.is(r)?r:this._changeAnnotations.manage(r),i=_.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o},e.prototype.renameFile=function(e,t,n,r){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error(\"Workspace edit is not configured for document changes.\");var i,o,a;if(w.is(n)||k.is(n)?i=n:r=n,void 0===i?o=x.create(e,t,r):(a=k.is(i)?i:this._changeAnnotations.manage(i),o=x.create(e,t,r,a)),this._workspaceEdit.documentChanges.push(o),void 0!==a)return a},e.prototype.deleteFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error(\"Workspace edit is not configured for document changes.\");var r,i,o;if(w.is(t)||k.is(t)?r=t:n=t,void 0===r?i=S.create(e,n):(o=k.is(r)?r:this._changeAnnotations.manage(r),i=S.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.uri)}}(V||(V={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.uri)&&ye.integer(t.version)}}(U||(U={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.uri)&&(null===t.version||ye.integer(t.version))}}(B||(B={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.uri)&&ye.string(t.languageId)&&ye.integer(t.version)&&ye.string(t.text)}}(z||(z={})),function(e){e.PlainText=\"plaintext\",e.Markdown=\"markdown\"}(q||(q={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(q||(q={})),function(e){e.is=function(e){var t=e;return ye.objectLiteral(e)&&q.is(t.kind)&&ye.string(t.value)}}(H||(H={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(G||(G={})),function(e){e.PlainText=1,e.Snippet=2}(W||(W={})),function(e){e.Deprecated=1}(Q||(Q={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){var t=e;return t&&ye.string(t.newText)&&a.is(t.insert)&&a.is(t.replace)}}(K||(K={})),function(e){e.asIs=1,e.adjustIndentation=2}(Y||(Y={})),function(e){e.create=function(e){return{label:e}}}(J||(J={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}($||($={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")},e.is=function(e){var t=e;return ye.string(t)||ye.objectLiteral(t)&&ye.string(t.language)&&ye.string(t.value)}}(X||(X={})),function(e){e.is=function(e){var t=e;return!!t&&ye.objectLiteral(t)&&(H.is(t.contents)||X.is(t.contents)||ye.typedArray(t.contents,X.is))&&(void 0===e.range||a.is(e.range))}}(Z||(Z={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(ee||(ee={})),function(e){e.create=function(e,t){for(var n=[],r=2;r=0;o--){var a=r[o],s=e.offsetAt(a.range.start),l=e.offsetAt(a.range.end);if(!(l<=i))throw new Error(\"Overlapping edit\");n=n.substring(0,s)+a.newText+n.substring(l,n.length),i=s}return n}}(ge||(ge={}));var ye,be=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,\"uri\",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"languageId\",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"version\",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return o.create(0,e);for(;ne?r=i:n=i+1}var a=n-1;return o.create(a,e-t[a])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1e),s=new Set;Ne(r,(e,t)=>{var r,o,l,u,c;if(t.name&&(t.kind!==Oe.RuleKinds.INTERFACE_DEF||a.includes(t.name)||s.add(t.name),t.kind===Oe.RuleKinds.NAMED_TYPE&&(null===(r=t.prevState)||void 0===r?void 0:r.kind)===Oe.RuleKinds.IMPLEMENTS))if(i.interfaceDef){if(null===(o=i.interfaceDef)||void 0===o?void 0:o.getInterfaces().find(({name:e})=>e===t.name))return;const e=n.getType(t.name),r=null===(l=i.interfaceDef)||void 0===l?void 0:l.toConfig();i.interfaceDef=new N.c(Object.assign(Object.assign({},r),{interfaces:[...r.interfaces,e||new N.c({name:t.name,fields:{}})]}))}else if(i.objectTypeDef){if(null===(u=i.objectTypeDef)||void 0===u?void 0:u.getInterfaces().find(({name:e})=>e===t.name))return;const e=n.getType(t.name),r=null===(c=i.objectTypeDef)||void 0===c?void 0:c.toConfig();i.objectTypeDef=new N.f(Object.assign(Object.assign({},r),{interfaces:[...r.interfaces,e||new N.c({name:t.name,fields:{}})]}))}});const l=i.interfaceDef||i.objectTypeDef,u=((null===l||void 0===l?void 0:l.getInterfaces())||[]).map(({name:e})=>e),c=o.concat([...s].map(e=>({name:e}))).filter(({name:e})=>e!==(null===l||void 0===l?void 0:l.name)&&!u.includes(e));return F(e,c.map(e=>{const t={label:e.name,kind:G.Interface,type:e};return(null===e||void 0===e?void 0:e.description)&&(t.documentation=e.description),t}))}(a,s,e,t,c);if(l===Oe.RuleKinds.SELECTION_SET||l===Oe.RuleKinds.FIELD||l===Oe.RuleKinds.ALIASED_FIELD)return function(e,t,n){if(t.parentType){const r=t.parentType;let i=[];return\"getFields\"in r&&(i=L(r.getFields())),Object(N.D)(r)&&i.push(D.TypeNameMetaFieldDef),r===n.getQueryType()&&i.push(D.SchemaMetaFieldDef,D.TypeMetaFieldDef),F(e,i.map((e,t)=>{var n;return{sortText:String(t)+e.name,label:e.name,detail:String(e.type),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,deprecated:e.isDeprecated,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason,kind:G.Field,type:e.type}}))}return[]}(a,c,e);if(l===Oe.RuleKinds.ARGUMENTS||l===Oe.RuleKinds.ARGUMENT&&0===u){const e=c.argDefs;if(e)return F(a,e.map(e=>{var t;return{label:e.name,detail:String(e.type),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,kind:G.Variable,type:e.type}}))}if((l===Oe.RuleKinds.OBJECT_VALUE||l===Oe.RuleKinds.OBJECT_FIELD&&0===u)&&c.objectFieldDefs){const e=L(c.objectFieldDefs),t=l===Oe.RuleKinds.OBJECT_VALUE?G.Value:G.Field;return F(a,e.map(e=>{var n;return{label:e.name,detail:String(e.type),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,kind:t,type:e.type}}))}if(l===Oe.RuleKinds.ENUM_VALUE||l===Oe.RuleKinds.LIST_VALUE&&1===u||l===Oe.RuleKinds.OBJECT_FIELD&&2===u||l===Oe.RuleKinds.ARGUMENT&&2===u)return function(e,t,n,r){const i=Object(N.A)(t.inputType),o=xe(n,r,!0).filter(e=>e.detail===i.name);if(i instanceof N.a){const t=i.getValues();return F(e,t.map(e=>{var t;return{label:e.name,detail:String(i),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,deprecated:e.isDeprecated,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason,kind:G.EnumMember,type:i}}).concat(o))}if(i===ke.a)return F(e,o.concat([{label:\"true\",detail:String(ke.a),documentation:\"Not false.\",kind:G.Variable,type:ke.a},{label:\"false\",detail:String(ke.a),documentation:\"Not true.\",kind:G.Variable,type:ke.a}]));return o}(a,c,t,e);if(l===Oe.RuleKinds.VARIABLE&&1===u){const n=Object(N.A)(c.inputType);return F(a,xe(t,e).filter(e=>e.detail===(null===n||void 0===n?void 0:n.name)))}return l===Oe.RuleKinds.TYPE_CONDITION&&1===u||l===Oe.RuleKinds.NAMED_TYPE&&null!=s.prevState&&s.prevState.kind===Oe.RuleKinds.TYPE_CONDITION?function(e,t,n,r){let i;if(t.parentType)if(Object(N.C)(t.parentType)){const e=Object(N.j)(t.parentType),r=n.getPossibleTypes(e),o=Object.create(null);r.forEach(e=>{e.getInterfaces().forEach(e=>{o[e.name]=e})}),i=r.concat(L(o))}else i=[t.parentType];else{const e=n.getTypeMap();i=L(e).filter(N.D)}return F(e,i.map(e=>{const t=Object(N.A)(e);return{label:String(e),documentation:t&&t.description||\"\",kind:G.Field}}))}(a,c,e):l===Oe.RuleKinds.FRAGMENT_SPREAD&&1===u?function(e,t,n,r,i){if(!r)return[];const o=n.getTypeMap(),a=A(e.state),s=Se(r);i&&i.length>0&&s.push(...i);const l=s.filter(e=>o[e.typeCondition.name.value]&&!(a&&a.kind===Oe.RuleKinds.FRAGMENT_DEFINITION&&a.name===e.name.value)&&Object(N.D)(t.parentType)&&Object(N.D)(o[e.typeCondition.name.value])&&Object(Te.a)(n,t.parentType,o[e.typeCondition.name.value]));return F(e,l.map(e=>({label:e.name.value,detail:String(o[e.typeCondition.name.value]),documentation:\"fragment \".concat(e.name.value,\" on \").concat(e.typeCondition.name.value),kind:G.Field,type:o[e.typeCondition.name.value]})))}(a,c,e,t,Array.isArray(i)?i:(e=>{const t=[];return e&&Object(Ee.c)(Object(we.a)(e,{experimentalFragmentVariables:!0}),{FragmentDefinition(e){t.push(e)}}),t})(i)):l===Oe.RuleKinds.VARIABLE_DEFINITION&&2===u||l===Oe.RuleKinds.LIST_TYPE&&1===u||l===Oe.RuleKinds.NAMED_TYPE&&s.prevState&&(s.prevState.kind===Oe.RuleKinds.VARIABLE_DEFINITION||s.prevState.kind===Oe.RuleKinds.LIST_TYPE||s.prevState.kind===Oe.RuleKinds.NON_NULL_TYPE)?function(e,t,n){const r=L(t.getTypeMap()).filter(N.G);return F(e,r.map(e=>({label:e.name,documentation:e.description,kind:G.Variable})))}(a,e):l===Oe.RuleKinds.DIRECTIVE?function(e,t,n,r){if(t.prevState&&t.prevState.kind){const r=n.getDirectives().filter(e=>De(t.prevState,e));return F(e,r.map(e=>({label:e.name,documentation:e.description||\"\",kind:G.Function})))}return[]}(a,s,e):[]}function xe(e,t,n=!1){let r,i;const o=Object.create({});return Ne(e,(e,a)=>{if(a.kind===Oe.RuleKinds.VARIABLE&&a.name&&(r=a.name),a.kind===Oe.RuleKinds.NAMED_TYPE&&r){const e=((e,t)=>{var n,r,i,o,a,s,l,u,c,f;return(null===(n=e.prevState)||void 0===n?void 0:n.kind)===t?e.prevState:(null===(i=null===(r=e.prevState)||void 0===r?void 0:r.prevState)||void 0===i?void 0:i.kind)===t?e.prevState.prevState:(null===(s=null===(a=null===(o=e.prevState)||void 0===o?void 0:o.prevState)||void 0===a?void 0:a.prevState)||void 0===s?void 0:s.kind)===t?e.prevState.prevState.prevState:(null===(f=null===(c=null===(u=null===(l=e.prevState)||void 0===l?void 0:l.prevState)||void 0===u?void 0:u.prevState)||void 0===c?void 0:c.prevState)||void 0===f?void 0:f.kind)===t?e.prevState.prevState.prevState.prevState:void 0})(a,Oe.RuleKinds.TYPE);(null===e||void 0===e?void 0:e.type)&&(i=t.getType(null===e||void 0===e?void 0:e.type))}r&&i&&(o[r]||(o[r]={detail:i.toString(),label:\"$\".concat(r),type:i,kind:G.Variable},n&&(o[r].insertText=\"$\".concat(r)),r=null,i=null))}),L(o)}function Se(e){const t=[];return Ne(e,(e,n)=>{n.kind===Oe.RuleKinds.FRAGMENT_DEFINITION&&n.name&&n.type&&t.push({kind:Oe.RuleKinds.FRAGMENT_DEFINITION,name:{kind:\"Name\",value:n.name},selectionSet:{kind:Oe.RuleKinds.SELECTION_SET,selections:[]},typeCondition:{kind:Oe.RuleKinds.NAMED_TYPE,name:{kind:\"Name\",value:n.type}}})}),t}function Ce(e,t){let n=null,r=null,i=null;const o=Ne(e,(e,o,a,s)=>{if(s===t.line&&e.getCurrentPosition()>=t.character)return n=a,r=Object.assign({},o),i=e.current(),\"BREAK\"});return{start:o.start,end:o.end,string:i||o.string,state:r||o.state,style:n||o.style}}function Ne(e,t){const n=e.split(\"\\n\"),r=Object(Oe.onlineParser)();let i=r.startState(),o=\"\",a=new Oe.CharacterStream(\"\");for(let s=0;s{switch(t.kind){case Oe.RuleKinds.QUERY:case\"ShortQuery\":f=e.getQueryType();break;case Oe.RuleKinds.MUTATION:f=e.getMutationType();break;case Oe.RuleKinds.SUBSCRIPTION:f=e.getSubscriptionType();break;case Oe.RuleKinds.INLINE_FRAGMENT:case Oe.RuleKinds.FRAGMENT_DEFINITION:t.type&&(f=e.getType(t.type));break;case Oe.RuleKinds.FIELD:case Oe.RuleKinds.ALIASED_FIELD:f&&t.name?(a=c?I(e,c,t.name):null,f=a?a.type:null):a=null;break;case Oe.RuleKinds.SELECTION_SET:c=Object(N.A)(f);break;case Oe.RuleKinds.DIRECTIVE:i=t.name?e.getDirective(t.name):null;break;case Oe.RuleKinds.INTERFACE_DEF:t.name&&(l=null,p=new N.c({name:t.name,interfaces:[],fields:{}}));break;case Oe.RuleKinds.OBJECT_TYPE_DEF:t.name&&(p=null,l=new N.f({name:t.name,interfaces:[],fields:{}}));break;case Oe.RuleKinds.ARGUMENTS:if(t.prevState)switch(t.prevState.kind){case Oe.RuleKinds.FIELD:r=a&&a.args;break;case Oe.RuleKinds.DIRECTIVE:r=i&&i.args;break;case Oe.RuleKinds.ALIASED_FIELD:{const n=t.prevState&&t.prevState.name;if(!n){r=null;break}const i=c?I(e,c,n):null;if(!i){r=null;break}r=i.args;break}default:r=null}else r=null;break;case Oe.RuleKinds.ARGUMENT:if(r)for(let e=0;ee.value===t.name):null;break;case Oe.RuleKinds.LIST_VALUE:const h=Object(N.B)(s);s=h instanceof N.d?h.ofType:null;break;case Oe.RuleKinds.OBJECT_VALUE:const m=Object(N.A)(s);u=m instanceof N.b?m.getFields():null;break;case Oe.RuleKinds.OBJECT_FIELD:const v=t.name&&u?u[t.name]:null;s=v&&v.type;break;case Oe.RuleKinds.NAMED_TYPE:t.name&&(f=e.getType(t.name))}}),{argDef:n,argDefs:r,directiveDef:i,enumValue:o,fieldDef:a,inputType:s,objectFieldDefs:u,parentType:c,type:f,interfaceDef:p,objectTypeDef:l}}var Ie=n(11),je=n.n(Ie),Le=n(24),Fe=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const Re=\"GraphQL\";function Me(e,t){if(!e)throw new Error(t)}function Pe(e,t){const n=t.loc;return Me(n,\"Expected ASTNode to have a location.\"),Object(Le.locToRange)(e,n)}function Ve(e,t){const n=t.loc;return Me(n,\"Expected ASTNode to have a location.\"),Object(Le.offsetToPosition)(e,n.start)}function Ue(e,t,n){return Fe(this,void 0,void 0,je.a.mark((function r(){var i,o,a;return je.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=t.name.value,0!==(o=n.filter(({definition:e})=>e.name&&e.name.value===i)).length){r.next=4;break}throw Error(\"Definition not found for GraphQL type \".concat(i));case 4:return a=o.map(({filePath:e,content:t,definition:n})=>He(e||\"\",t,n)),r.abrupt(\"return\",{definitions:a,queryRange:a.map(n=>Pe(e,t))});case 6:case\"end\":return r.stop()}}),r)})))}function Be(e,t,n){return Fe(this,void 0,void 0,je.a.mark((function r(){var i,o,a;return je.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=t.name.value,0!==(o=n.filter(({definition:e})=>e.name.value===i)).length){r.next=4;break}throw Error(\"Definition not found for GraphQL fragment \".concat(i));case 4:return a=o.map(({filePath:e,content:t,definition:n})=>qe(e||\"\",t,n)),r.abrupt(\"return\",{definitions:a,queryRange:a.map(n=>Pe(e,t))});case 6:case\"end\":return r.stop()}}),r)})))}function ze(e,t,n){return{definitions:[qe(e,t,n)],queryRange:n.name?[Pe(t,n.name)]:[]}}function qe(e,t,n){const r=n.name;if(!r)throw Error(\"Expected ASTNode to have a Name.\");return{path:e,position:Ve(t,n),range:Pe(t,n),name:r.value||\"\",language:Re,projectRoot:e}}function He(e,t,n){const r=n.name;return Me(r,\"Expected ASTNode to have a Name.\"),{path:e,position:Ve(t,n),range:Pe(t,n),name:r.value||\"\",language:Re,projectRoot:e}}var Ge=n(12),We=n(268);const Qe={Error:\"Error\",Warning:\"Warning\",Information:\"Information\",Hint:\"Hint\"},Ke={[Qe.Error]:1,[Qe.Warning]:2,[Qe.Information]:3,[Qe.Hint]:4},Ye=(e,t)=>{if(!e)throw new Error(t)};function Je(e,t=null,n,r,i){let o=null;i&&(e+=\"string\"===typeof i?\"\\n\\n\"+i:\"\\n\\n\"+i.reduce((e,t)=>e+=Object(Ge.print)(t)+\"\\n\\n\",\"\"));try{o=Object(we.a)(e)}catch(a){const t=et(a.locations[0],e);return[{severity:Ke.Error,message:a.message,source:\"GraphQL: Syntax\",range:t}]}return $e(o,t,n,r)}function $e(e,t=null,n,r){if(!t)return[];const i=Xe(Object(Le.validateWithCustomRules)(t,e,n,r),e=>Ze(e,Ke.Error,\"Validation\")),o=Xe(Object(We.a)(t,e),e=>Ze(e,Ke.Warning,\"Deprecation\"));return i.concat(o)}function Xe(e,t){return Array.prototype.concat.apply([],e.map(t))}function Ze(e,t,n){if(!e.nodes)return[];const r=[];return e.nodes.forEach(i=>{const o=\"Variable\"!==i.kind&&\"name\"in i&&void 0!==i.name?i.name:\"variable\"in i&&void 0!==i.variable?i.variable:i;if(o){Ye(e.locations,\"GraphQL validation error requires locations.\");const i=e.locations[0],a=function(e){const t=e.loc;return Ye(t,\"Expected ASTNode to have a location.\"),t}(o),s=i.column+(a.end-a.start);r.push({source:\"GraphQL: \".concat(n),message:e.message,severity:t,range:new Le.Range(new Le.Position(i.line-1,i.column-1),new Le.Position(i.line-1,s))})}}),r}function et(e,t){const n=Object(Oe.onlineParser)(),r=n.startState(),i=t.split(\"\\n\");Ye(i.length>=e.line,\"Query text must have more lines than where the error happened\");let o=null;for(let u=0;u({representativeName:t.name,startPosition:Object(Le.offsetToPosition)(e,t.loc.start),endPosition:Object(Le.offsetToPosition)(e,t.loc.end),kind:t.kind,children:t.selectionSet||t.fields||t.values||t.arguments||[]});return{Field:e=>{const n=e.alias?[it(\"plain\",e.alias),it(\"plain\",\": \")]:[];return n.push(it(\"plain\",e.name)),Object.assign({tokenizedText:n},t(e))},OperationDefinition:e=>Object.assign({tokenizedText:[it(\"keyword\",e.operation),it(\"whitespace\",\" \"),it(\"class-name\",e.name)]},t(e)),Document:e=>e.definitions,SelectionSet:e=>function(e,t){const n=[];for(let r=0;re.kind===nt?e.selectionSet:e),Name:e=>e.value,FragmentDefinition:e=>Object.assign({tokenizedText:[it(\"keyword\",\"fragment\"),it(\"whitespace\",\" \"),it(\"class-name\",e.name)]},t(e)),InterfaceTypeDefinition:e=>Object.assign({tokenizedText:[it(\"keyword\",\"interface\"),it(\"whitespace\",\" \"),it(\"class-name\",e.name)]},t(e)),EnumTypeDefinition:e=>Object.assign({tokenizedText:[it(\"keyword\",\"enum\"),it(\"whitespace\",\" \"),it(\"class-name\",e.name)]},t(e)),EnumValueDefinition:e=>Object.assign({tokenizedText:[it(\"plain\",e.name)]},t(e)),ObjectTypeDefinition:e=>Object.assign({tokenizedText:[it(\"keyword\",\"type\"),it(\"whitespace\",\" \"),it(\"class-name\",e.name)]},t(e)),InputObjectTypeDefinition:e=>Object.assign({tokenizedText:[it(\"keyword\",\"input\"),it(\"whitespace\",\" \"),it(\"class-name\",e.name)]},t(e)),FragmentSpread:e=>Object.assign({tokenizedText:[it(\"plain\",\"...\"),it(\"class-name\",e.name)]},t(e)),InputValueDefinition:e=>Object.assign({tokenizedText:[it(\"plain\",e.name)]},t(e)),FieldDefinition:e=>Object.assign({tokenizedText:[it(\"plain\",e.name)]},t(e)),InlineFragment:e=>e.selectionSet}}(e);return{outlineTrees:Object(Ee.c)(t,{leave:e=>void 0!==n&&e.kind in n?n[e.kind](e):null})}}function it(e,t){return{kind:e,value:t}}function ot(e,t,n,r){const i=r||Ce(t,n);if(!e||!i||!i.state)return\"\";const o=i.state,a=o.kind,s=o.step,l=Ae(e,i.state),u={schema:e};if(\"Field\"===a&&0===s&&l.fieldDef||\"AliasedField\"===a&&2===s&&l.fieldDef){const e=[];return function(e,t,n){at(e,t,n),lt(e,t,n,t.type)}(e,l,u),ct(e,u,l.fieldDef),e.join(\"\").trim()}if(\"Directive\"===a&&1===s&&l.directiveDef){const e=[];return st(e,l,u),ct(e,u,l.directiveDef),e.join(\"\").trim()}if(\"Argument\"===a&&0===s&&l.argDef){const e=[];return function(e,t,n){t.directiveDef?st(e,t,n):t.fieldDef&&at(e,t,n);if(!t.argDef)return;const r=t.argDef.name;ft(e,\"(\"),ft(e,r),lt(e,t,n,t.inputType),ft(e,\")\")}(e,l,u),ct(e,u,l.argDef),e.join(\"\").trim()}if(\"EnumValue\"===a&&l.enumValue&&\"description\"in l.enumValue){const e=[];return function(e,t,n){if(!t.enumValue)return;const r=t.enumValue.name;ut(e,t,n,t.inputType),ft(e,\".\"),ft(e,r)}(e,l,u),ct(e,u,l.enumValue),e.join(\"\").trim()}if(\"NamedType\"===a&&l.type&&\"description\"in l.type){const e=[];return ut(e,l,u,l.type),ct(e,u,l.type),e.join(\"\").trim()}return\"\"}function at(e,t,n){if(!t.fieldDef)return;const r=t.fieldDef.name;\"__\"!==r.slice(0,2)&&(ut(e,t,n,t.parentType),ft(e,\".\")),ft(e,r)}function st(e,t,n){if(!t.directiveDef)return;ft(e,\"@\"+t.directiveDef.name)}function lt(e,t,n,r){ft(e,\": \"),ut(e,t,n,r)}function ut(e,t,n,r){r&&(r instanceof N.e?(ut(e,t,n,r.ofType),ft(e,\"!\")):r instanceof N.d?(ft(e,\"[\"),ut(e,t,n,r.ofType),ft(e,\"]\")):ft(e,r.name))}function ct(e,t,n){if(!n)return;const r=\"string\"===typeof n.description?n.description:null;r&&(ft(e,\"\\n\\n\"),ft(e,r)),function(e,t,n){if(!n)return;const r=n.deprecationReason?n.deprecationReason:null;if(!r)return;ft(e,\"\\n\\n\"),ft(e,\"Deprecated: \"),ft(e,r)}(e,0,n)}function ft(e,t){e.push(t)}var pt=n(63),dt=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const ht=tt.a.FRAGMENT_DEFINITION,mt=tt.a.OBJECT_TYPE_DEFINITION,vt=tt.a.INTERFACE_TYPE_DEFINITION,gt=tt.a.ENUM_TYPE_DEFINITION,yt=tt.a.UNION_TYPE_DEFINITION,bt=tt.a.SCALAR_TYPE_DEFINITION,Et=tt.a.INPUT_OBJECT_TYPE_DEFINITION,wt=tt.a.SCALAR_TYPE_EXTENSION,kt=tt.a.OBJECT_TYPE_EXTENSION,Tt=tt.a.INTERFACE_TYPE_EXTENSION,Ot=tt.a.UNION_TYPE_EXTENSION,_t=tt.a.ENUM_TYPE_EXTENSION,xt=tt.a.INPUT_OBJECT_TYPE_EXTENSION,St=tt.a.DIRECTIVE_DEFINITION,Ct=tt.a.FRAGMENT_SPREAD,Nt=tt.a.OPERATION_DEFINITION,Dt=tt.a.NAMED_TYPE,At={[tt.a.FIELD]:ie.Field,[tt.a.OPERATION_DEFINITION]:ie.Class,[tt.a.FRAGMENT_DEFINITION]:ie.Class,[tt.a.FRAGMENT_SPREAD]:ie.Struct,[tt.a.OBJECT_TYPE_DEFINITION]:ie.Class,[tt.a.ENUM_TYPE_DEFINITION]:ie.Enum,[tt.a.ENUM_VALUE_DEFINITION]:ie.EnumMember,[tt.a.INPUT_OBJECT_TYPE_DEFINITION]:ie.Class,[tt.a.INPUT_VALUE_DEFINITION]:ie.Field,[tt.a.FIELD_DEFINITION]:ie.Field,[tt.a.INTERFACE_TYPE_DEFINITION]:ie.Interface,[tt.a.DOCUMENT]:ie.File,FieldWithArguments:ie.Method};function It(e){return\"FieldDefinition\"===e.kind&&e.children&&e.children.length>0?At.FieldWithArguments:At[e.kind]}class jt{constructor(e){this._graphQLCache=e,this._graphQLConfig=e.getGraphQLConfig()}getConfigForURI(e){const t=this._graphQLCache.getProjectForFile(e);if(t)return t;throw Error(\"No config found for uri: \".concat(e))}getDiagnostics(e,t,n){return dt(this,void 0,void 0,je.a.mark((function r(){var i,o,a,s,l,u,c,f,p,d,h,m,v,g;return je.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=!1,o=this.getConfigForURI(t)){r.next=4;break}return r.abrupt(\"return\",[]);case 4:a=o.schema,s=o.name,l=o.extensions,r.prev=5,u=Object(we.a)(e),a&&t===a||(i=u.definitions.some(e=>{switch(e.kind){case mt:case vt:case gt:case yt:case bt:case Et:case wt:case kt:case Tt:case Ot:case _t:case xt:case St:return!0}return!1})),r.next=14;break;case 10:return r.prev=10,r.t0=r.catch(5),c=et(r.t0.locations[0],e),r.abrupt(\"return\",[{severity:Ke.Error,message:r.t0.message,source:\"GraphQL: Syntax\",range:c}]);case 14:return f=e,r.next=17,this._graphQLCache.getFragmentDefinitions(o);case 17:return p=r.sent,r.next=20,this._graphQLCache.getFragmentDependencies(e,p);case 20:d=r.sent,h=d.reduce((e,t)=>\"\".concat(e,\" \").concat(Object(Ge.print)(t.definition)),\"\"),f=\"\".concat(f,\" \").concat(h),m=null,r.prev=24,m=Object(we.a)(f),r.next=31;break;case 28:return r.prev=28,r.t1=r.catch(24),r.abrupt(\"return\",[]);case 31:return v=null,(null===l||void 0===l?void 0:l.customValidationRules)&&\"function\"===typeof l.customValidationRules&&(v=l.customValidationRules(this._graphQLConfig)),r.next=35,this._graphQLCache.getSchema(s,i);case 35:if(g=r.sent){r.next=38;break}return r.abrupt(\"return\",[]);case 38:return r.abrupt(\"return\",$e(m,g,v,n));case 39:case\"end\":return r.stop()}}),r,this,[[5,10],[24,28]])})))}getAutocompleteSuggestions(e,t,n){return dt(this,void 0,void 0,je.a.mark((function r(){var i,o,a,s;return je.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=this.getConfigForURI(n),r.next=3,this._graphQLCache.getSchema(i.name);case 3:return o=r.sent,r.next=6,this._graphQLCache.getFragmentDefinitions(i);case 6:if(a=r.sent,s=Array.from(a).map(([,e])=>e.definition),!o){r.next=10;break}return r.abrupt(\"return\",_e(o,e,t,void 0,s));case 10:return r.abrupt(\"return\",[]);case 11:case\"end\":return r.stop()}}),r,this)})))}getHoverInformation(e,t,n){return dt(this,void 0,void 0,je.a.mark((function r(){var i,o;return je.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=this.getConfigForURI(n),r.next=3,this._graphQLCache.getSchema(i.name);case 3:if(!(o=r.sent)){r.next=6;break}return r.abrupt(\"return\",ot(o,e,t));case 6:return r.abrupt(\"return\",\"\");case 7:case\"end\":return r.stop()}}),r,this)})))}getDefinition(e,t,n){return dt(this,void 0,void 0,je.a.mark((function r(){var i,o,a;return je.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:i=this.getConfigForURI(n),r.prev=1,o=Object(we.a)(e),r.next=8;break;case 5:return r.prev=5,r.t0=r.catch(1),r.abrupt(\"return\",null);case 8:if(!(a=Object(Le.getASTNodeAtPosition)(e,o,t))){r.next=16;break}r.t1=a.kind,r.next=r.t1===Ct?13:r.t1===ht||r.t1===Nt?14:r.t1===Dt?15:16;break;case 13:return r.abrupt(\"return\",this._getDefinitionForFragmentSpread(e,o,a,n,i));case 14:return r.abrupt(\"return\",ze(n,e,a));case 15:return r.abrupt(\"return\",this._getDefinitionForNamedType(e,o,a,n,i));case 16:return r.abrupt(\"return\",null);case 17:case\"end\":return r.stop()}}),r,this,[[1,5]])})))}getDocumentSymbols(e,t){return dt(this,void 0,void 0,je.a.mark((function n(){var r,i,o,a,s,l,u;return je.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.getOutline(e);case 2:if(r=n.sent){n.next=5;break}return n.abrupt(\"return\",[]);case 5:i=[],o=r.outlineTrees.map(e=>[null,e]);case 7:if(!(o.length>0)){n.next=18;break}if(a=o.pop()){n.next=11;break}return n.abrupt(\"return\",[]);case 11:if(s=Object(pt.a)(a,2),l=s[0],u=s[1]){n.next=14;break}return n.abrupt(\"return\",[]);case 14:i.push({name:u.representativeName,kind:It(u),location:{uri:t,range:{start:u.startPosition,end:u.endPosition}},containerName:l?l.representativeName:void 0}),o.push(...u.children.map(e=>[u,e])),n.next=7;break;case 18:return n.abrupt(\"return\",i);case 19:case\"end\":return n.stop()}}),n,this)})))}_getDefinitionForNamedType(e,t,n,r,i){return dt(this,void 0,void 0,je.a.mark((function o(){var a,s,l,u,c;return je.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,this._graphQLCache.getObjectTypeDefinitions(i);case 2:return a=o.sent,o.next=5,this._graphQLCache.getObjectTypeDependenciesForAST(t,a);case 5:return s=o.sent,l=t.definitions.filter(e=>e.kind===mt||e.kind===Et||e.kind===gt||e.kind===bt||e.kind===vt),u=l.map(t=>({filePath:r,content:e,definition:t})),o.next=11,Ue(e,n,s.concat(u));case 11:return c=o.sent,o.abrupt(\"return\",c);case 13:case\"end\":return o.stop()}}),o,this)})))}_getDefinitionForFragmentSpread(e,t,n,r,i){return dt(this,void 0,void 0,je.a.mark((function o(){var a,s,l,u,c;return je.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,this._graphQLCache.getFragmentDefinitions(i);case 2:return a=o.sent,o.next=5,this._graphQLCache.getFragmentDependenciesForAST(t,a);case 5:return s=o.sent,l=t.definitions.filter(e=>e.kind===ht),u=l.map(t=>({filePath:r,content:e,definition:t})),o.next=11,Be(e,n,s.concat(u));case 11:return c=o.sent,o.abrupt(\"return\",c);case 13:case\"end\":return o.stop()}}),o,this)})))}getOutline(e){return dt(this,void 0,void 0,je.a.mark((function t(){return je.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt(\"return\",rt(e));case 1:case\"end\":return t.stop()}}),t)})))}}},function(e,t,n){\"use strict\";var r=n(167),i={\"text/plain\":\"Text\",\"text/html\":\"Url\",default:\"Text\"};e.exports=function(e,t){var n,o,a,s,l,u,c=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),s=document.createRange(),l=document.getSelection(),(u=document.createElement(\"span\")).textContent=e,u.style.all=\"unset\",u.style.position=\"fixed\",u.style.top=0,u.style.clip=\"rect(0, 0, 0, 0)\",u.style.whiteSpace=\"pre\",u.style.webkitUserSelect=\"text\",u.style.MozUserSelect=\"text\",u.style.msUserSelect=\"text\",u.style.userSelect=\"text\",u.addEventListener(\"copy\",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),\"undefined\"===typeof r.clipboardData){n&&console.warn(\"unable to use e.clipboardData\"),n&&console.warn(\"trying IE specific stuff\"),window.clipboardData.clearData();var o=i[t.format]||i.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(u),s.selectNodeContents(u),l.addRange(s),!document.execCommand(\"copy\"))throw new Error(\"copy command was unsuccessful\");c=!0}catch(f){n&&console.error(\"unable to copy using execCommand: \",f),n&&console.warn(\"trying IE specific stuff\");try{window.clipboardData.setData(t.format||\"text\",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(f){n&&console.error(\"unable to copy using clipboardData: \",f),n&&console.error(\"falling back to prompt\"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?\"\\u2318\":\"Ctrl\")+\"+C\";return e.replace(/#{\\s*key\\s*}/g,t)}(\"message\"in t?t.message:\"Copy to clipboard: #{key}, Enter\"),window.prompt(o,e)}}finally{l&&(\"function\"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),u&&document.body.removeChild(u),a()}return c}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a}));var r=n(3),i=n(1),o=n(32);function a(e){return{Document:function(t){for(var n=0,a=t.definitions;n1&&e.reportError(new r.a(\"This anonymous operation must be the only defined operation.\",n))}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);function i(e){return{OperationDefinition:function(t){\"subscription\"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new r.a(t.name?'Subscription \"'.concat(t.name.value,'\" must select only one top level field.'):\"Anonymous Subscription must select only one top level field.\",t.selectionSet.selections.slice(1)))}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(4),i=n(13),o=n(36),a=n(1);function s(e,t){switch(e.kind){case a.a.NULL:return null;case a.a.INT:return parseInt(e.value,10);case a.a.FLOAT:return parseFloat(e.value);case a.a.STRING:case a.a.ENUM:case a.a.BOOLEAN:return e.value;case a.a.LIST:return e.values.map((function(e){return s(e,t)}));case a.a.OBJECT:return Object(o.a)(e.fields,(function(e){return e.name.value}),(function(e){return s(e.value,t)}));case a.a.VARIABLE:return null===t||void 0===t?void 0:t[e.name.value]}Object(i.a)(0,\"Unexpected value node: \"+Object(r.a)(e))}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(3),i=n(12),o=n(0),a=n(22);function s(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var s=Object(a.a)(e.getSchema(),n);if(s&&!Object(o.D)(s)){var l=Object(i.print)(n);e.reportError(new r.a('Fragment cannot condition on non composite type \"'.concat(l,'\".'),n))}}},FragmentDefinition:function(t){var n=Object(a.a)(e.getSchema(),t.typeCondition);if(n&&!Object(o.D)(n)){var s=Object(i.print)(t.typeCondition);e.reportError(new r.a('Fragment \"'.concat(t.name.value,'\" cannot condition on non composite type \"').concat(s,'\".'),t.typeCondition))}}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(3),i=n(12),o=n(0),a=n(22);function s(e){return{VariableDefinition:function(t){var n=Object(a.a)(e.getSchema(),t.type);if(n&&!Object(o.G)(n)){var s=t.variable.name.value,l=Object(i.print)(t.type);e.reportError(new r.a('Variable \"$'.concat(s,'\" cannot be non-input type \"').concat(l,'\".'),t.type))}}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a}));var r=n(4),i=n(3),o=n(0);function a(e){return{Field:function(t){var n=e.getType(),a=t.selectionSet;if(n)if(Object(o.I)(Object(o.A)(n))){if(a){var s=t.name.value,l=Object(r.a)(n);e.reportError(new i.a('Field \"'.concat(s,'\" must not have a selection since type \"').concat(l,'\" has no subfields.'),a))}}else if(!a){var u=t.name.value,c=Object(r.a)(n);e.reportError(new i.a('Field \"'.concat(u,'\" of type \"').concat(c,'\" must have a selection of subfields. Did you mean \"').concat(u,' { ... }\"?'),t))}}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return l}));var r=n(42),i=n(26),o=n(28),a=n(3),s=n(0);function l(e){return{Field:function(t){var n=e.getParentType();if(n&&!e.getFieldDef()){var l=e.getSchema(),u=t.name.value,c=Object(i.a)(\"to use an inline fragment on\",function(e,t,n){if(!Object(s.C)(t))return[];for(var i=new Set,o=Object.create(null),a=0,l=e.getPossibleTypes(t);a1)for(var f=0;f0)return[[t,e.map((function(e){return e[0]}))],e.reduce((function(e,t){var n=t[1];return e.concat(n)}),[n]),e.reduce((function(e,t){var n=t[2];return e.concat(n)}),[r])]}(function(e,t,n,r,i,o,a,s){var l=[],u=E(e,t,i,o),c=u[0],f=u[1],p=E(e,t,a,s),v=p[0],g=p[1];if(m(e,l,t,n,r,c,v),0!==g.length)for(var y=0;y0&&e.reportError(new r.a(\"Must provide only one schema definition.\",t)),++s)}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);function i(e){var t=e.getSchema(),n=Object.create(null),i=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:o,SchemaExtension:o};function o(t){for(var o,a=null!==(o=t.operationTypes)&&void 0!==o?o:[],s=0;s1&&\"_\"===e[0]&&\"_\"===e[1]?new i.a('Name \"'.concat(e,'\" must not begin with \"__\", which is reserved by GraphQL introspection.')):o.test(e)?void 0:new i.a('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but \"'.concat(e,'\" does not.'))}},function(e,t,n){\"use strict\";function r(e,t,n){t.split&&(t=t.split(\".\"));for(var r,i,o=0,a=t.length,s=e;o1,a=null;if(o&&r){var s=this.state.highlight;a=i.a.createElement(\"ul\",{className:\"execute-options\"},n.map((function(e,n){var r=e.name?e.name.value:\"\";return i.a.createElement(\"li\",{key:r+\"-\"+n,className:e===s?\"selected\":void 0,onMouseOver:function(){return t.setState({highlight:e})},onMouseOut:function(){return t.setState({highlight:null})},onMouseUp:function(){return t._onOptionSelected(e)}},r)})))}!this.props.isRunning&&o||(e=this._onClick);var l=function(){};this.props.isRunning||!o||r||(l=this._onOptionsOpen);var u=this.props.isRunning?i.a.createElement(\"path\",{d:\"M 10 10 L 23 10 L 23 23 L 10 23 z\"}):i.a.createElement(\"path\",{d:\"M 11 9 L 24 16 L 11 23 z\"});return i.a.createElement(\"div\",{className:\"execute-button-wrap\"},i.a.createElement(\"button\",{type:\"button\",className:\"execute-button\",onMouseDown:l,onClick:e,title:\"Execute Query (Ctrl-Enter)\"},i.a.createElement(\"svg\",{width:\"34\",height:\"34\"},u)),a)},t}(i.a.Component)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(2),i=n.n(r),o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function a(e){if(\"string\"===e.type){var t=e.string.slice(1).slice(0,-1).trim();try{var n=window.location;return new URL(t,n.protocol+\"//\"+n.host)}catch(r){return}}}var s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._node=null,t.state={width:null,height:null,src:null,mime:null},t}return o(t,e),t.shouldRender=function(e){var t=a(e);return!!t&&function(e){return/(bmp|gif|jpeg|jpg|png|svg)$/.test(e.pathname)}(t)},t.prototype.componentDidMount=function(){this._updateMetadata()},t.prototype.componentDidUpdate=function(){this._updateMetadata()},t.prototype.render=function(){var e,t=this,n=null;if(null!==this.state.width&&null!==this.state.height){var r=this.state.width+\"x\"+this.state.height;null!==this.state.mime&&(r+=\" \"+this.state.mime),n=i.a.createElement(\"div\",null,r)}return i.a.createElement(\"div\",null,i.a.createElement(\"img\",{onLoad:function(){return t._updateMetadata()},ref:function(e){t._node=e},src:null===(e=a(this.props.token))||void 0===e?void 0:e.href}),n)},t.prototype._updateMetadata=function(){var e=this;if(this._node){var t=this._node.naturalWidth,n=this._node.naturalHeight,r=this._node.src;r!==this.state.src&&(this.setState({src:r}),fetch(r,{method:\"HEAD\"}).then((function(t){e.setState({mime:t.headers.get(\"Content-Type\")})}))),t===this.state.width&&n===this.state.height||this.setState({height:n,width:t})}},t}(i.a.Component)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a}));var r=n(13),i=n(3),o=n(0);function a(e){return{Field:function(t){var n=e.getFieldDef(),o=null===n||void 0===n?void 0:n.deprecationReason;if(n&&null!=o){var a=e.getParentType();null!=a||Object(r.a)(0),e.reportError(new i.a(\"The field \".concat(a.name,\".\").concat(n.name,\" is deprecated. \").concat(o),t))}},Argument:function(t){var n=e.getArgument(),o=null===n||void 0===n?void 0:n.deprecationReason;if(n&&null!=o){var a=e.getDirective();if(null!=a)e.reportError(new i.a('Directive \"@'.concat(a.name,'\" argument \"').concat(n.name,'\" is deprecated. ').concat(o),t));else{var s=e.getParentType(),l=e.getFieldDef();null!=s&&null!=l||Object(r.a)(0),e.reportError(new i.a('Field \"'.concat(s.name,\".\").concat(l.name,'\" argument \"').concat(n.name,'\" is deprecated. ').concat(o),t))}}},ObjectField:function(t){var n=Object(o.A)(e.getParentInputType());if(Object(o.F)(n)){var r=n.getFields()[t.name.value],a=null===r||void 0===r?void 0:r.deprecationReason;null!=a&&e.reportError(new i.a(\"The input field \".concat(n.name,\".\").concat(r.name,\" is deprecated. \").concat(a),t))}},EnumValue:function(t){var n=e.getEnumValue(),a=null===n||void 0===n?void 0:n.deprecationReason;if(n&&null!=a){var s=Object(o.A)(e.getInputType());null!=s||Object(r.a)(0),e.reportError(new i.a('The enum value \"'.concat(s.name,\".\").concat(n.name,'\" is deprecated. ').concat(a),t))}}}}},function(e,t,n){\"use strict\";var r=function(){function e(){this.sizes=[]}return e.prototype.updateSizes=function(e){var t=this;e.forEach((function(e,n){if(e){var r=e.getClientHeight();if(n<=t.sizes.length&&r!==t.sizes[n]){var i=e.getCodeMirror();i&&i.setSize(null,null)}t.sizes[n]=r}}))},e}();t.a=r},function(e,t,n){\"use strict\";var r=function(){function e(e){this.storage=e||(\"undefined\"!==typeof window?window.localStorage:null)}return e.prototype.get=function(e){if(this.storage){var t=this.storage.getItem(\"graphiql:\"+e);if(\"null\"===t||\"undefined\"===t)return this.storage.removeItem(\"graphiql:\"+e),null;if(t)return t}return null},e.prototype.set=function(e,t){var n=!1,r=null;if(this.storage){var i=\"graphiql:\"+e;if(t)try{this.storage.setItem(i,t)}catch(o){r=o,n=function(e,t){return t instanceof DOMException&&(22===t.code||1014===t.code||\"QuotaExceededError\"===t.name||\"NS_ERROR_DOM_QUOTA_REACHED\"===t.name)&&0!==e.length}(this.storage,o)}else this.storage.removeItem(i)}return{isQuotaError:n,error:r}},e}();t.a=r},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.Explorer=void 0;var r,i=n(239),o=(r=i)&&r.__esModule?r:{default:r};t.Explorer=o.default,t.default=o.default},function(e,t,n){(function(e){var r=n(240),i=n(245),o=n(11),a=n(246);(function(t){\"use strict\";const n=Object.prototype.hasOwnProperty;function s(e){return\"object\"===typeof e&&null!==e}function l(e,t){return n.call(e,t)}function u(e,t){return n.call(e,t)&&s(e[t])}function c(e,t){return n.call(e,t)&&\"string\"===typeof e[t]}var f;function p(e){if(s(e)){if(!c(e,\"type\"))return!1;switch(e.type){case t.MessageType.ConnectionInit:case t.MessageType.ConnectionAck:return!l(e,\"payload\")||void 0===e.payload||s(e.payload);case t.MessageType.Subscribe:return c(e,\"id\")&&u(e,\"payload\")&&(!l(e.payload,\"operationName\")||void 0===e.payload.operationName||null===e.payload.operationName||\"string\"===typeof e.payload.operationName)&&c(e.payload,\"query\")&&(!l(e.payload,\"variables\")||void 0===e.payload.variables||null===e.payload.variables||u(e.payload,\"variables\"));case t.MessageType.Next:return c(e,\"id\")&&u(e,\"payload\");case t.MessageType.Error:return c(e,\"id\")&&(n=e.payload,Array.isArray(n)&&n.length>0&&n.every(e=>\"message\"in e));case t.MessageType.Complete:return c(e,\"id\");default:return!1}}var n;return!1}function d(e){if(p(e))return e;if(\"string\"!==typeof e)throw new Error(\"Message not parsable\");const t=JSON.parse(e);if(!p(t))throw new Error(\"Invalid message\");return t}function h(e){if(!p(e))throw new Error(\"Cannot stringify invalid message\");return JSON.stringify(e)}t.MessageType=void 0,(f=t.MessageType||(t.MessageType={})).ConnectionInit=\"connection_init\",f.ConnectionAck=\"connection_ack\",f.Subscribe=\"subscribe\",f.Next=\"next\",f.Error=\"error\",f.Complete=\"complete\",t.GRAPHQL_TRANSPORT_WS_PROTOCOL=\"graphql-transport-ws\",t.createClient=function(n){const l=n.url,u=n.connectionParams,c=n.lazy,f=void 0===c||c,p=n.onNonLazyError,m=void 0===p?console.error:p,v=n.keepAlive,g=void 0===v?0:v,y=n.retryAttempts,b=void 0===y?5:y,E=n.retryWait,w=void 0===E?function(){var e=a(o.mark((function e(t){var n,r;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(n=1e3,r=0;rsetTimeout(e,n+Math.floor(2700*Math.random()+300)));case 4:case\"end\":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}():E,k=n.on,T=n.webSocketImpl,O=n.generateID,_=void 0===O?function(){return\"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return(\"x\"==e?t:3&t|8).toString(16)})}:O;let x;if(T){if(!(\"function\"===typeof(S=T)&&\"constructor\"in S&&\"CLOSED\"in S&&\"CLOSING\"in S&&\"CONNECTING\"in S&&\"OPEN\"in S))throw new Error(\"Invalid WebSocket implementation provided\");x=T}else\"undefined\"!==typeof WebSocket?x=WebSocket:\"undefined\"!==typeof e?x=e.WebSocket||e.MozWebSocket:\"undefined\"!==typeof window&&(x=window.WebSocket||window.MozWebSocket);var S;if(!x)throw new Error(\"WebSocket implementation missing\");const C=x,N=(()=>{const e={connecting:(null===k||void 0===k?void 0:k.connecting)?[k.connecting]:[],connected:(null===k||void 0===k?void 0:k.connected)?[k.connected]:[],closed:(null===k||void 0===k?void 0:k.closed)?[k.closed]:[]};return{on(t,n){const r=e[t];return r.push(n),()=>{r.splice(r.indexOf(n),1)}},emit(t,...n){var r,o=i(e[t]);try{for(o.s();!(r=o.n()).done;)(0,r.value)(...n)}catch(a){o.e(a)}finally{o.f()}}}})();let D,A,I,j=0,L=!1,F=0,R=!1;function M(){return P.apply(this,arguments)}function P(){return(P=a(o.mark((function e(){var n,r,i;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return j++,e.next=3,null!==D&&void 0!==D?D:D=new Promise((e,n)=>a(o.mark((function r(){var i;return o.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!L){r.next=4;break}return r.next=3,w(F);case 3:F++;case 4:N.emit(\"connecting\"),(i=new C(l,\"graphql-transport-ws\")).onclose=e=>{D=void 0,N.emit(\"closed\",e),n(e)},i.onopen=a(o.mark((function e(){return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,e.t0=i,e.t1=h,e.t2=t.MessageType.ConnectionInit,\"function\"!==typeof u){e.next=10;break}return e.next=7,u();case 7:e.t3=e.sent,e.next=11;break;case 10:e.t3=u;case 11:e.t4=e.t3,e.t5={type:e.t2,payload:e.t4},e.t6=(0,e.t1)(e.t5),e.t0.send.call(e.t0,e.t6),e.next=20;break;case 17:e.prev=17,e.t7=e.catch(0),i.close(4400,e.t7 instanceof Error?e.t7.message:new Error(e.t7).message);case 20:case\"end\":return e.stop()}}),e,null,[[0,17]])}))),i.onmessage=({data:n})=>{i.onmessage=null;try{const r=d(n);if(r.type!==t.MessageType.ConnectionAck)throw new Error(\"First message cannot be of type \".concat(r.type));N.emit(\"connected\",i,r.payload),F=0,e(i)}catch(r){i.close(4400,r instanceof Error?r.message:new Error(r).message)}};case 9:case\"end\":return r.stop()}}),r)})))());case 3:return n=e.sent,r=()=>{},i=new Promise(e=>r=e),e.abrupt(\"return\",[n,r,Promise.race([i.then(()=>{if(0===--j){const e=()=>n.close(1e3,\"Normal Closure\");isFinite(g)&&g>0?setTimeout(()=>{j||n.readyState!==C.OPEN||e()},g):e()}}),new Promise((e,t)=>n.addEventListener(\"close\",t,{once:!0}))])]);case 7:case\"end\":return e.stop()}}),e)})))).apply(this,arguments)}function V(e){if(!function(e){return s(e)&&\"code\"in e&&\"reason\"in e}(e))throw e;if([1002,1011,4400,4401,4409,4429].includes(e.code))throw e;if(R||1e3===e.code)return!1;if(!b||F>=b)throw e;return L=!0,!0}return f||a(o.mark((function e(){var t,n,i;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,M();case 3:return t=e.sent,n=r(t,3),i=n[2],e.next=8,i;case 8:return e.abrupt(\"return\");case 11:if(e.prev=11,e.t0=e.catch(0),e.prev=13,V(e.t0)){e.next=16;break}return e.abrupt(\"return\",null===m||void 0===m?void 0:m(e.t0));case 16:e.next=21;break;case 18:return e.prev=18,e.t1=e.catch(13),e.abrupt(\"return\",null===m||void 0===m?void 0:m(e.t0));case 21:e.next=0;break;case 23:case\"end\":return e.stop()}}),e,null,[[0,11],[13,18]])})))(),{on:N.on,subscribe(e,n){const i=_();let s=!1;const l={current:()=>{s=!0}};function u({data:e}){const r=function(e){return e!==A&&(I=d(e),A=e),I}(e);switch(r.type){case t.MessageType.Next:return void(r.id===i&&n.next(r.payload));case t.MessageType.Error:return void(r.id===i&&(s=!0,n.error(r.payload),l.current()));case t.MessageType.Complete:return void(r.id===i&&(s=!0,l.current()))}}return a(o.mark((function n(){var a,c,f,p,d;return o.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,M();case 3:if(a=n.sent,c=r(a,3),f=c[0],p=c[1],d=c[2],!s){n.next=10;break}return n.abrupt(\"return\",p());case 10:return f.addEventListener(\"message\",u),f.send(h({id:i,type:t.MessageType.Subscribe,payload:e})),l.current=()=>{s||f.readyState!==C.OPEN||f.send(h({id:i,type:t.MessageType.Complete})),p()},n.next=15,d;case 15:return f.removeEventListener(\"message\",u),n.abrupt(\"return\");case 19:if(n.prev=19,n.t0=n.catch(0),V(n.t0)){n.next=23;break}return n.abrupt(\"return\");case 23:n.next=0;break;case 25:case\"end\":return n.stop()}}),n,null,[[0,19]])})))().catch(n.error).then(n.complete),()=>l.current()},dispose:()=>a(o.mark((function e(){return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(R=!0,!D){e.next=6;break}return e.next=4,D;case 4:e.sent.close(1e3,\"Normal Closure\");case 6:case\"end\":return e.stop()}}),e)})))()}},t.isMessage=p,t.parseMessage=d,t.stringifyMessage=h,Object.defineProperty(t,\"__esModule\",{value:!0})})(t)}).call(this,n(64))},function(e,t,n){\"use strict\";function r(e){var t,n=e.Symbol;return\"function\"===typeof n?n.observable?t=n.observable:(t=n(\"observable\"),n.observable=t):t=\"@@observable\",t}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return D}));var r=n(11),i=n.n(r);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t{e.resolve=t,e.reject=n}),e}const T=Symbol(),O=Symbol();const _=e=>{const t=function(){var e,t;let n=!0;const i=[];let o=k(),a=k();const s=function(){var e=p(r.mark((function e(){return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(i.length>0)){e.next=6;break}return e.next=4,i.shift();case 4:e.next=11;break;case 6:return e.next=8,c(Promise.race([o.promise,a.promise]));case 8:if(e.sent!==T){e.next=11;break}return e.abrupt(\"break\",13);case 11:e.next=0;break;case 13:case\"end\":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()(),l=null==(e=s.return)?void 0:e.bind(s);s.return=(...e)=>{var t;return n=!1,a.resolve(T),null!=(t=null==l?void 0:l(...e))?t:Promise.resolve({done:!0,value:void 0})};const u=null==(t=s.throw)?void 0:t.bind(s);return s.throw=(...e)=>{var t;return n=!1,a.resolve(T),null!=(t=null==u?void 0:u(...e))?t:Promise.resolve({done:!0,value:void 0})},{pushValue:function(e){!1!==n&&(i.push(e),o.resolve(O),o=k())},asyncIterableIterator:s}}(),n=t.pushValue,i=t.asyncIterableIterator;let o=()=>{};const a={next:e=>{n(e)},complete:()=>{o(),null==i.return||i.return()},error:e=>{null==i.throw||i.throw(e)}};return o=e(a),i};const x=(e,t)=>function(){var n=Object(l.a)(i.a.mark((function n(r,o){var a;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t(e.url,{method:\"POST\",body:JSON.stringify(r),headers:s(s({\"content-type\":\"application/json\"},e.headers),null===o||void 0===o?void 0:o.headers)});case 2:return a=n.sent,n.abrupt(\"return\",a.json());case 4:case\"end\":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}(),S=e=>t=>_(n=>e.subscribe(t,n)),C=e=>t=>{const n=e.request(t);return _(e=>n.subscribe(e).unsubscribe)},N=(e,t)=>function(){var n=p(i.a.mark((function n(r,o){var a,l,u,f,p,h,m,v,g;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,c(t(e.url,{method:\"POST\",body:JSON.stringify(r),headers:s(s({\"content-type\":\"application/json\",accept:\"application/json, multipart/mixed\"},e.headers),null===o||void 0===o?void 0:o.headers)}).then(e=>y(e,{multiple:!0})));case 2:if(a=n.sent,\"object\"===typeof(i=a)&&null!==i&&(\"AsyncGenerator\"===i[Symbol.toStringTag]||Symbol.asyncIterator&&Symbol.asyncIterator in i)){n.next=7;break}return n.next=6,a.json();case 6:return n.abrupt(\"return\",n.sent);case 7:l=!0,u=!1,n.prev=9,p=d(a);case 11:return n.next=13,c(p.next());case 13:return h=n.sent,l=h.done,n.next=17,c(h.value);case 17:if(m=n.sent,l){n.next=28;break}if(!(v=m).some(e=>!e.json)){n.next=23;break}throw g=v.map(e=>\"Headers::\\n\".concat(e.headers,\"\\n\\nBody::\\n\").concat(e.body)),new Error(\"Expected multipart chunks to be of json type. got:\\n\".concat(g));case 23:return n.next=25,v.map(e=>e.body);case 25:l=!0,n.next=11;break;case 28:n.next=34;break;case 30:n.prev=30,n.t0=n.catch(9),u=!0,f=n.t0;case 34:if(n.prev=34,n.prev=35,l||null==p.return){n.next=39;break}return n.next=39,c(p.return());case 39:if(n.prev=39,!u){n.next=42;break}throw f;case 42:return n.finish(39);case 43:return n.finish(34);case 44:case\"end\":return n.stop()}var i}),n,null,[[9,30,34,44],[35,,39,43]])})));return function(e,t){return n.apply(this,arguments)}}();function D(e){var t;let n,r=null;if(null!==typeof window&&null!==(t=window)&&void 0!==t&&t.fetch&&(n=window.fetch),null!==(null===e||void 0===e?void 0:e.enableIncrementalDelivery)&&!1===e.enableIncrementalDelivery||(e.enableIncrementalDelivery=!0),e.fetch&&(n=e.fetch),!n)throw Error(\"No valid fetcher implementation available\");const i=x(e,n);e.subscriptionUrl&&(r=((e,t)=>{let n=null,r=null;if(e)try{try{n=Object(E.createClient)({url:e,connectionParams:t}),n||(r=new w.SubscriptionClient(e,{connectionParams:t}))}catch(i){r=new w.SubscriptionClient(e,{connectionParams:t})}}catch(i){console.error(\"Error creating websocket client for:\\n\".concat(e,\"\\n\\n\").concat(i))}if(n)return S(n);if(r)return C(r);if(e)throw Error(\"subscriptions client failed to initialize\")})(e.subscriptionUrl)),e.wsClient&&(r=S(e.wsClient));const o=e.enableIncrementalDelivery?N(e,n):i;return(t,n)=>{if(\"IntrospectionQuery\"===t.operationName)return(e.schemaFetcher||i)(t,n);if(((e,t)=>{let n=!1;return Object(h.c)(e,{OperationDefinition(e){var r;t===(null===(r=e.name)||void 0===r?void 0:r.value)&&\"subscription\"===e.operation&&(n=!0)}}),n})(null===n||void 0===n?void 0:n.documentAST,t.operationName)){if(!r)throw Error(\"Your GraphiQL createFetcher is not properly configured for websocket subscriptions yet. \".concat(e.subscriptionUrl?\"Provided URL \".concat(e.subscriptionUrl,\" failed\"):\"Try providing options.subscriptionUrl or options.wsClient first.\"));return r(t)}return o(t,n)}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return d}));var r=n(35),i=n(2),o=n.n(i),a=function(){for(var e=0,t=0,n=arguments.length;tthis.maxSize&&n.shift();for(var r=0;r<5;r++){var i=this.storage.set(this.key,JSON.stringify(((t={})[this.key]=n,t)));if(i&&i.error){if(!i.isQuotaError||!this.maxSize)return;n.shift()}else this.items=n}},e.prototype.save=function(){var e;this.storage.set(this.key,JSON.stringify(((e={})[this.key]=this.items,e)))},e}(),l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e){function t(t){var n=e.call(this,t)||this;return n.state={editable:!1},n.editField=null,n}return l(t,e),t.prototype.render=function(){var e,t=this,n=this.props.label||this.props.operationName||(null===(e=this.props.query)||void 0===e?void 0:e.split(\"\\n\").filter((function(e){return 0!==e.indexOf(\"#\")})).join(\"\")),r=this.props.favorite?\"\\u2605\":\"\\u2606\";return o.a.createElement(\"li\",{className:this.state.editable?\"editable\":void 0},this.state.editable?o.a.createElement(\"input\",{type:\"text\",defaultValue:this.props.label,ref:function(e){t.editField=e},onBlur:this.handleFieldBlur.bind(this),onKeyDown:this.handleFieldKeyDown.bind(this),placeholder:\"Type a label\"}):o.a.createElement(\"button\",{className:\"history-label\",onClick:this.handleClick.bind(this)},n),o.a.createElement(\"button\",{onClick:this.handleEditClick.bind(this),\"aria-label\":\"Edit label\"},\"\\u270e\"),o.a.createElement(\"button\",{className:this.props.favorite?\"favorited\":void 0,onClick:this.handleStarClick.bind(this),\"aria-label\":this.props.favorite?\"Remove favorite\":\"Add favorite\"},r))},t.prototype.handleClick=function(){this.props.onSelect(this.props.query,this.props.variables,this.props.headers,this.props.operationName,this.props.label)},t.prototype.handleStarClick=function(e){e.stopPropagation(),this.props.handleToggleFavorite(this.props.query,this.props.variables,this.props.headers,this.props.operationName,this.props.label,this.props.favorite)},t.prototype.handleFieldBlur=function(e){e.stopPropagation(),this.setState({editable:!1}),this.props.handleEditLabel(this.props.query,this.props.variables,this.props.headers,this.props.operationName,e.target.value,this.props.favorite)},t.prototype.handleFieldKeyDown=function(e){13===e.keyCode&&(e.stopPropagation(),this.setState({editable:!1}),this.props.handleEditLabel(this.props.query,this.props.variables,this.props.headers,this.props.operationName,e.currentTarget.value,this.props.favorite))},t.prototype.handleEditClick=function(e){var t=this;e.stopPropagation(),this.setState({editable:!0},(function(){t.editField&&t.editField.focus()}))},t}(o.a.Component),c=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(){return(f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1e5)return!1;if(!i)return!0;if(JSON.stringify(e)===JSON.stringify(i.query)){if(JSON.stringify(t)===JSON.stringify(i.variables)){if(JSON.stringify(n)===JSON.stringify(i.headers))return!1;if(n&&!i.headers)return!1}if(t&&!i.variables)return!1}return!0}(e,t,i,n.historyStore.fetchRecent())){n.historyStore.push({query:e,variables:t,headers:i,operationName:o});var a=n.historyStore.items,s=n.favoriteStore.items,l=a.concat(s);n.setState({queries:l})}},n.toggleFavorite=function(e,t,r,i,o,a){var s={query:e,variables:t,headers:r,operationName:i,label:o};n.favoriteStore.contains(s)?a&&(s.favorite=!1,n.favoriteStore.delete(s)):(s.favorite=!0,n.favoriteStore.push(s)),n.setState({queries:p(n.historyStore.items,n.favoriteStore.items)})},n.editLabel=function(e,t,r,i,o,a){var s={query:e,variables:t,headers:r,operationName:i,label:o};a?n.favoriteStore.edit(f(f({},s),{favorite:a})):n.historyStore.edit(s),n.setState({queries:p(n.historyStore.items,n.favoriteStore.items)})},n.historyStore=new s(\"queries\",t.storage,20),n.favoriteStore=new s(\"favorites\",t.storage,null);var i=n.historyStore.fetchAll(),o=n.favoriteStore.fetchAll(),a=i.concat(o);return n.state={queries:a},n}return c(t,e),t.prototype.render=function(){var e=this,t=this.state.queries.slice().reverse().map((function(t,n){return o.a.createElement(u,f({handleEditLabel:e.editLabel,handleToggleFavorite:e.toggleFavorite,key:n+\":\"+(t.label||t.query),onSelect:e.props.onSelectQuery},t))}));return o.a.createElement(\"section\",{\"aria-label\":\"History\"},o.a.createElement(\"div\",{className:\"history-title-bar\"},o.a.createElement(\"div\",{className:\"history-title\"},\"History\"),o.a.createElement(\"div\",{className:\"doc-explorer-rhs\"},this.props.children)),o.a.createElement(\"ul\",{className:\"history-contents\"},t))},t}(o.a.Component)},,function(e,t,n){\"use strict\";var r=n(105),i=\"function\"===typeof Symbol&&Symbol.for,o=i?Symbol.for(\"react.element\"):60103,a=i?Symbol.for(\"react.portal\"):60106,s=i?Symbol.for(\"react.fragment\"):60107,l=i?Symbol.for(\"react.strict_mode\"):60108,u=i?Symbol.for(\"react.profiler\"):60114,c=i?Symbol.for(\"react.provider\"):60109,f=i?Symbol.for(\"react.context\"):60110,p=i?Symbol.for(\"react.forward_ref\"):60112,d=i?Symbol.for(\"react.suspense\"):60113,h=i?Symbol.for(\"react.memo\"):60115,m=i?Symbol.for(\"react.lazy\"):60116,v=\"function\"===typeof Symbol&&Symbol.iterator;function g(e){for(var t=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+e,n=1;nD.length&&D.push(e)}function j(e,t,n){return null==e?0:function e(t,n,r,i){var s=typeof t;\"undefined\"!==s&&\"boolean\"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case\"string\":case\"number\":l=!0;break;case\"object\":switch(t.$$typeof){case o:case a:l=!0}}if(l)return r(i,t,\"\"===n?\".\"+L(t,0):n),1;if(l=0,n=\"\"===n?\".\":n+\":\",Array.isArray(t))for(var u=0;ut}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!q.call(G,e)||!q.call(H,e)&&(z.test(e)?G[e]=!0:(H[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,\"\"+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&\"\":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?\"\":\"\"+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}J.hasOwnProperty(\"ReactCurrentDispatcher\")||(J.ReactCurrentDispatcher={current:null}),J.hasOwnProperty(\"ReactCurrentBatchConfig\")||(J.ReactCurrentBatchConfig={suspense:null});var X=/^(.*)[\\\\\\/]/,Z=\"function\"===typeof Symbol&&Symbol.for,ee=Z?Symbol.for(\"react.element\"):60103,te=Z?Symbol.for(\"react.portal\"):60106,ne=Z?Symbol.for(\"react.fragment\"):60107,re=Z?Symbol.for(\"react.strict_mode\"):60108,ie=Z?Symbol.for(\"react.profiler\"):60114,oe=Z?Symbol.for(\"react.provider\"):60109,ae=Z?Symbol.for(\"react.context\"):60110,se=Z?Symbol.for(\"react.concurrent_mode\"):60111,le=Z?Symbol.for(\"react.forward_ref\"):60112,ue=Z?Symbol.for(\"react.suspense\"):60113,ce=Z?Symbol.for(\"react.suspense_list\"):60120,fe=Z?Symbol.for(\"react.memo\"):60115,pe=Z?Symbol.for(\"react.lazy\"):60116,de=Z?Symbol.for(\"react.block\"):60121,he=\"function\"===typeof Symbol&&Symbol.iterator;function me(e){return null===e||\"object\"!==typeof e?null:\"function\"===typeof(e=he&&e[he]||e[\"@@iterator\"])?e:null}function ve(e){if(null==e)return null;if(\"function\"===typeof e)return e.displayName||e.name||null;if(\"string\"===typeof e)return e;switch(e){case ne:return\"Fragment\";case te:return\"Portal\";case ie:return\"Profiler\";case re:return\"StrictMode\";case ue:return\"Suspense\";case ce:return\"SuspenseList\"}if(\"object\"===typeof e)switch(e.$$typeof){case ae:return\"Context.Consumer\";case oe:return\"Context.Provider\";case le:var t=e.render;return t=t.displayName||t.name||\"\",e.displayName||(\"\"!==t?\"ForwardRef(\"+t+\")\":\"ForwardRef\");case fe:return ve(e.type);case de:return ve(e.render);case pe:if(e=1===e._status?e._result:null)return ve(e)}return null}function ge(e){var t=\"\";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n=\"\";break e;default:var r=e._debugOwner,i=e._debugSource,o=ve(e.type);n=null,r&&(n=ve(r.type)),r=o,o=\"\",i?o=\" (at \"+i.fileName.replace(X,\"\")+\":\"+i.lineNumber+\")\":n&&(o=\" (created by \"+n+\")\"),n=\"\\n in \"+(r||\"Unknown\")+o}t+=n,e=e.return}while(e);return t}function ye(e){switch(typeof e){case\"boolean\":case\"number\":case\"object\":case\"string\":case\"undefined\":return e;default:return\"\"}}function be(e){var t=e.type;return(e=e.nodeName)&&\"input\"===e.toLowerCase()&&(\"checkbox\"===t||\"radio\"===t)}function Ee(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?\"checked\":\"value\",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=\"\"+e[t];if(!e.hasOwnProperty(t)&&\"undefined\"!==typeof n&&\"function\"===typeof n.get&&\"function\"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=\"\"+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=\"\"+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function we(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=\"\";return e&&(r=be(e)?e.checked?\"true\":\"false\":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ke(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Te(e,t){var n=null==t.defaultValue?\"\":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ye(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:\"checkbox\"===t.type||\"radio\"===t.type?null!=t.checked:null!=t.value}}function Oe(e,t){null!=(t=t.checked)&&$(e,\"checked\",t,!1)}function _e(e,t){Oe(e,t);var n=ye(t.value),r=t.type;if(null!=n)\"number\"===r?(0===n&&\"\"===e.value||e.value!=n)&&(e.value=\"\"+n):e.value!==\"\"+n&&(e.value=\"\"+n);else if(\"submit\"===r||\"reset\"===r)return void e.removeAttribute(\"value\");t.hasOwnProperty(\"value\")?Se(e,t.type,n):t.hasOwnProperty(\"defaultValue\")&&Se(e,t.type,ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function xe(e,t,n){if(t.hasOwnProperty(\"value\")||t.hasOwnProperty(\"defaultValue\")){var r=t.type;if(!(\"submit\"!==r&&\"reset\"!==r||void 0!==t.value&&null!==t.value))return;t=\"\"+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}\"\"!==(n=e.name)&&(e.name=\"\"),e.defaultChecked=!!e._wrapperState.initialChecked,\"\"!==n&&(e.name=n)}function Se(e,t,n){\"number\"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=\"\"+e._wrapperState.initialValue:e.defaultValue!==\"\"+n&&(e.defaultValue=\"\"+n))}function Ce(e,t){return e=i({children:void 0},t),(t=function(e){var t=\"\";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=\"\"),n=t}e._wrapperState={initialValue:ye(n)}}function Ie(e,t){var n=ye(t.value),r=ye(t.defaultValue);null!=n&&((n=\"\"+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=\"\"+r)}function je(e){var t=e.textContent;t===e._wrapperState.initialValue&&\"\"!==t&&null!==t&&(e.value=t)}var Le=\"http://www.w3.org/1999/xhtml\",Fe=\"http://www.w3.org/2000/svg\";function Re(e){switch(e){case\"svg\":return\"http://www.w3.org/2000/svg\";case\"math\":return\"http://www.w3.org/1998/Math/MathML\";default:return\"http://www.w3.org/1999/xhtml\"}}function Me(e,t){return null==e||\"http://www.w3.org/1999/xhtml\"===e?Re(t):\"http://www.w3.org/2000/svg\"===e&&\"foreignObject\"===t?\"http://www.w3.org/1999/xhtml\":e}var Pe,Ve=function(e){return\"undefined\"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==Fe||\"innerHTML\"in e)e.innerHTML=t;else{for((Pe=Pe||document.createElement(\"div\")).innerHTML=\"\",t=Pe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Ue(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Be(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[\"Webkit\"+e]=\"webkit\"+t,n[\"Moz\"+e]=\"moz\"+t,n}var ze={animationend:Be(\"Animation\",\"AnimationEnd\"),animationiteration:Be(\"Animation\",\"AnimationIteration\"),animationstart:Be(\"Animation\",\"AnimationStart\"),transitionend:Be(\"Transition\",\"TransitionEnd\")},qe={},He={};function Ge(e){if(qe[e])return qe[e];if(!ze[e])return e;var t,n=ze[e];for(t in n)if(n.hasOwnProperty(t)&&t in He)return qe[e]=n[t];return e}S&&(He=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete ze.animationend.animation,delete ze.animationiteration.animation,delete ze.animationstart.animation),\"TransitionEvent\"in window||delete ze.transitionend.transition);var We=Ge(\"animationend\"),Qe=Ge(\"animationiteration\"),Ke=Ge(\"animationstart\"),Ye=Ge(\"transitionend\"),Je=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),$e=new(\"function\"===typeof WeakMap?WeakMap:Map);function Xe(e){var t=$e.get(e);return void 0===t&&(t=new Map,$e.set(e,t)),t}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Ze(e)!==e)throw Error(a(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return tt(i),e;if(o===r)return tt(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function rt(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function it(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var ot=null;function at(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;rct.length&&ct.push(e)}function pt(e,t,n,r){if(ct.length){var i=ct.pop();return i.topLevelType=e,i.eventSystemFlags=r,i.nativeEvent=t,i.targetInst=n,i}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function dt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Sn(r)}while(n);for(n=0;n=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fn(r)}}function dn(){for(var e=window,t=cn();t instanceof e.HTMLIFrameElement;){try{var n=\"string\"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=cn((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(\"input\"===t&&(\"text\"===e.type||\"search\"===e.type||\"tel\"===e.type||\"url\"===e.type||\"password\"===e.type)||\"textarea\"===t||\"true\"===e.contentEditable)}var mn=null,vn=null;function gn(e,t){switch(e){case\"button\":case\"input\":case\"select\":case\"textarea\":return!!t.autoFocus}return!1}function yn(e,t){return\"textarea\"===e||\"option\"===e||\"noscript\"===e||\"string\"===typeof t.children||\"number\"===typeof t.children||\"object\"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var bn=\"function\"===typeof setTimeout?setTimeout:void 0,En=\"function\"===typeof clearTimeout?clearTimeout:void 0;function wn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function kn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(\"$\"===n||\"$!\"===n||\"$?\"===n){if(0===t)return e;t--}else\"/$\"===n&&t++}e=e.previousSibling}return null}var Tn=Math.random().toString(36).slice(2),On=\"__reactInternalInstance$\"+Tn,_n=\"__reactEventHandlers$\"+Tn,xn=\"__reactContainere$\"+Tn;function Sn(e){var t=e[On];if(t)return t;for(var n=e.parentNode;n;){if(t=n[xn]||n[On]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=kn(e);null!==e;){if(n=e[On])return n;e=kn(e)}return t}n=(e=n).parentNode}return null}function Cn(e){return!(e=e[On]||e[xn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Nn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Dn(e){return e[_n]||null}function An(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function In(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case\"onClick\":case\"onClickCapture\":case\"onDoubleClick\":case\"onDoubleClickCapture\":case\"onMouseDown\":case\"onMouseDownCapture\":case\"onMouseMove\":case\"onMouseMoveCapture\":case\"onMouseUp\":case\"onMouseUpCapture\":case\"onMouseEnter\":(r=!r.disabled)||(r=!(\"button\"===(e=e.type)||\"input\"===e||\"select\"===e||\"textarea\"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&\"function\"!==typeof n)throw Error(a(231,t,typeof n));return n}function jn(e,t,n){(t=In(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Ln(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=An(t);for(t=n.length;0this.eventPool.length&&this.eventPool.push(e)}function Qn(e){e.eventPool=[],e.getPooled=Gn,e.release=Wn}i(Hn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():\"unknown\"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=zn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():\"unknown\"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=zn)},persist:function(){this.isPersistent=zn},isPersistent:qn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=qn,this._dispatchInstances=this._dispatchListeners=null}}),Hn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Hn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,Qn(n),n},Qn(Hn);var Kn=Hn.extend({data:null}),Yn=Hn.extend({data:null}),Jn=[9,13,27,32],$n=S&&\"CompositionEvent\"in window,Xn=null;S&&\"documentMode\"in document&&(Xn=document.documentMode);var Zn=S&&\"TextEvent\"in window&&!Xn,er=S&&(!$n||Xn&&8=Xn),tr=String.fromCharCode(32),nr={beforeInput:{phasedRegistrationNames:{bubbled:\"onBeforeInput\",captured:\"onBeforeInputCapture\"},dependencies:[\"compositionend\",\"keypress\",\"textInput\",\"paste\"]},compositionEnd:{phasedRegistrationNames:{bubbled:\"onCompositionEnd\",captured:\"onCompositionEndCapture\"},dependencies:\"blur compositionend keydown keypress keyup mousedown\".split(\" \")},compositionStart:{phasedRegistrationNames:{bubbled:\"onCompositionStart\",captured:\"onCompositionStartCapture\"},dependencies:\"blur compositionstart keydown keypress keyup mousedown\".split(\" \")},compositionUpdate:{phasedRegistrationNames:{bubbled:\"onCompositionUpdate\",captured:\"onCompositionUpdateCapture\"},dependencies:\"blur compositionupdate keydown keypress keyup mousedown\".split(\" \")}},rr=!1;function ir(e,t){switch(e){case\"keyup\":return-1!==Jn.indexOf(t.keyCode);case\"keydown\":return 229!==t.keyCode;case\"keypress\":case\"mousedown\":case\"blur\":return!0;default:return!1}}function or(e){return\"object\"===typeof(e=e.detail)&&\"data\"in e?e.data:null}var ar=!1;var sr={eventTypes:nr,extractEvents:function(e,t,n,r){var i;if($n)e:{switch(e){case\"compositionstart\":var o=nr.compositionStart;break e;case\"compositionend\":o=nr.compositionEnd;break e;case\"compositionupdate\":o=nr.compositionUpdate;break e}o=void 0}else ar?ir(e,n)&&(o=nr.compositionEnd):\"keydown\"===e&&229===n.keyCode&&(o=nr.compositionStart);return o?(er&&\"ko\"!==n.locale&&(ar||o!==nr.compositionStart?o===nr.compositionEnd&&ar&&(i=Bn()):(Vn=\"value\"in(Pn=r)?Pn.value:Pn.textContent,ar=!0)),o=Kn.getPooled(o,t,n,r),i?o.data=i:null!==(i=or(n))&&(o.data=i),Mn(o),i=o):i=null,(e=Zn?function(e,t){switch(e){case\"compositionend\":return or(t);case\"keypress\":return 32!==t.which?null:(rr=!0,tr);case\"textInput\":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(ar)return\"compositionend\"===e||!$n&&ir(e,t)?(e=Bn(),Un=Vn=Pn=null,ar=!1,e):null;switch(e){case\"paste\":return null;case\"keypress\":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=document.documentMode,Br={select:{phasedRegistrationNames:{bubbled:\"onSelect\",captured:\"onSelectCapture\"},dependencies:\"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange\".split(\" \")}},zr=null,qr=null,Hr=null,Gr=!1;function Wr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Gr||null==zr||zr!==cn(n)?null:(\"selectionStart\"in(n=zr)&&hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Hr&&Vr(Hr,n)?null:(Hr=n,(e=Hn.getPooled(Br.select,qr,e,t)).type=\"select\",e.target=zr,Mn(e),e))}var Qr={eventTypes:Br,extractEvents:function(e,t,n,r,i,o){if(!(o=!(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{i=Xe(i),o=_.onSelect;for(var a=0;asi||(e.current=ai[si],ai[si]=null,si--)}function ui(e,t){si++,ai[si]=e.current,e.current=t}var ci={},fi={current:ci},pi={current:!1},di=ci;function hi(e,t){var n=e.type.contextTypes;if(!n)return ci;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function mi(e){return null!==(e=e.childContextTypes)&&void 0!==e}function vi(){li(pi),li(fi)}function gi(e,t,n){if(fi.current!==ci)throw Error(a(168));ui(fi,t),ui(pi,n)}function yi(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,\"function\"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,ve(t)||\"Unknown\",o));return i({},n,{},r)}function bi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ci,di=fi.current,ui(fi,e),ui(pi,pi.current),!0}function Ei(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=yi(e,t,di),r.__reactInternalMemoizedMergedChildContext=e,li(pi),li(fi),ui(fi,e)):li(pi),ui(pi,n)}var wi=o.unstable_runWithPriority,ki=o.unstable_scheduleCallback,Ti=o.unstable_cancelCallback,Oi=o.unstable_requestPaint,_i=o.unstable_now,xi=o.unstable_getCurrentPriorityLevel,Si=o.unstable_ImmediatePriority,Ci=o.unstable_UserBlockingPriority,Ni=o.unstable_NormalPriority,Di=o.unstable_LowPriority,Ai=o.unstable_IdlePriority,Ii={},ji=o.unstable_shouldYield,Li=void 0!==Oi?Oi:function(){},Fi=null,Ri=null,Mi=!1,Pi=_i(),Vi=1e4>Pi?_i:function(){return _i()-Pi};function Ui(){switch(xi()){case Si:return 99;case Ci:return 98;case Ni:return 97;case Di:return 96;case Ai:return 95;default:throw Error(a(332))}}function Bi(e){switch(e){case 99:return Si;case 98:return Ci;case 97:return Ni;case 96:return Di;case 95:return Ai;default:throw Error(a(332))}}function zi(e,t){return e=Bi(e),wi(e,t)}function qi(e,t,n){return e=Bi(e),ki(e,t,n)}function Hi(e){return null===Fi?(Fi=[e],Ri=ki(Si,Wi)):Fi.push(e),Ii}function Gi(){if(null!==Ri){var e=Ri;Ri=null,Ti(e)}Wi()}function Wi(){if(!Mi&&null!==Fi){Mi=!0;var e=0;try{var t=Fi;zi(99,(function(){for(;e=t&&(Da=!0),e.firstContext=null)}function ro(e,t){if(Xi!==e&&!1!==t&&0!==t)if(\"number\"===typeof t&&1073741823!==t||(Xi=e,t=1073741823),t={context:e,observedBits:t,next:null},null===$i){if(null===Ji)throw Error(a(308));$i=t,Ji.dependencies={expirationTime:0,firstContext:t,responders:null}}else $i=$i.next=t;return e._currentValue}var io=!1;function oo(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ao(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function so(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function lo(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function uo(e,t){var n=e.alternate;null!==n&&ao(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function co(e,t,n,r){var o=e.updateQueue;io=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var l=a.next;a.next=s.next,s.next=l}a=s,o.shared.pending=null,null!==(l=e.alternate)&&(null!==(l=l.updateQueue)&&(l.baseQueue=s))}if(null!==a){l=a.next;var u=o.baseState,c=0,f=null,p=null,d=null;if(null!==l)for(var h=l;;){if((s=h.expirationTime)c&&(c=s)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),ol(s,h.suspenseConfig);e:{var v=e,g=h;switch(s=t,m=n,g.tag){case 1:if(\"function\"===typeof(v=g.payload)){u=v.call(m,u,s);break e}u=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null===(s=\"function\"===typeof(v=g.payload)?v.call(m,u,s):v)||void 0===s)break e;u=i({},u,s);break e;case 2:io=!0}}null!==h.callback&&(e.effectTag|=32,null===(s=o.effects)?o.effects=[h]:s.push(h))}if(null===(h=h.next)||h===l){if(null===(s=o.shared.pending))break;h=a.next=s.next,s.next=l,o.baseQueue=a=s,o.shared.pending=null}}null===d?f=u:d.next=p,o.baseState=f,o.baseQueue=d,al(c),e.expirationTime=c,e.memoizedState=u}}function fo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;tm?(v=f,f=null):v=f.sibling;var g=d(i,f,s[m],l);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(i,f),a=o(g,a,m),null===c?u=g:c.sibling=g,c=g,f=v}if(m===s.length)return n(i,f),u;if(null===f){for(;mv?(g=m,m=null):g=m.sibling;var b=d(i,m,y.value,u);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(i,m),s=o(b,s,v),null===f?c=b:f.sibling=b,f=b,m=g}if(y.done)return n(i,m),c;if(null===m){for(;!y.done;v++,y=l.next())null!==(y=p(i,y.value,u))&&(s=o(y,s,v),null===f?c=y:f.sibling=y,f=y);return c}for(m=r(i,m);!y.done;v++,y=l.next())null!==(y=h(m,i,v,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),s=o(y,s,v),null===f?c=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(i,e)})),c}return function(e,r,o,l){var u=\"object\"===typeof o&&null!==o&&o.type===ne&&null===o.key;u&&(o=o.props.children);var c=\"object\"===typeof o&&null!==o;if(c)switch(o.$$typeof){case ee:e:{for(c=o.key,u=r;null!==u;){if(u.key===c){switch(u.tag){case 7:if(o.type===ne){n(e,u.sibling),(r=i(u,o.props.children)).return=e,e=r;break e}break;default:if(u.elementType===o.type){n(e,u.sibling),(r=i(u,o.props)).ref=ko(e,u,o),r.return=e,e=r;break e}}n(e,u);break}t(e,u),u=u.sibling}o.type===ne?((r=Cl(o.props.children,e.mode,l,o.key)).return=e,e=r):((l=Sl(o.type,o.key,o.props,null,e.mode,l)).ref=ko(e,r,o),l.return=e,e=l)}return s(e);case te:e:{for(u=o.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Dl(o,e.mode,l)).return=e,e=r}return s(e)}if(\"string\"===typeof o||\"number\"===typeof o)return o=\"\"+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=Nl(o,e.mode,l)).return=e,e=r),s(e);if(wo(o))return m(e,r,o,l);if(me(o))return v(e,r,o,l);if(c&&To(e,o),\"undefined\"===typeof o&&!u)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||\"Component\"))}return n(e,r)}}var _o=Oo(!0),xo=Oo(!1),So={},Co={current:So},No={current:So},Do={current:So};function Ao(e){if(e===So)throw Error(a(174));return e}function Io(e,t){switch(ui(Do,t),ui(No,e),ui(Co,So),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Me(null,\"\");break;default:t=Me(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}li(Co),ui(Co,t)}function jo(){li(Co),li(No),li(Do)}function Lo(e){Ao(Do.current);var t=Ao(Co.current),n=Me(t,e.type);t!==n&&(ui(No,e),ui(Co,n))}function Fo(e){No.current===e&&(li(Co),li(No))}var Ro={current:0};function Mo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||\"$?\"===n.data||\"$!\"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Po(e,t){return{responder:e,props:t}}var Vo=J.ReactCurrentDispatcher,Uo=J.ReactCurrentBatchConfig,Bo=0,zo=null,qo=null,Ho=null,Go=!1;function Wo(){throw Error(a(321))}function Qo(e,t){if(null===t)return!1;for(var n=0;no))throw Error(a(301));o+=1,Ho=qo=null,t.updateQueue=null,Vo.current=ba,e=n(r,i)}while(t.expirationTime===Bo)}if(Vo.current=va,t=null!==qo&&null!==qo.next,Bo=0,Ho=qo=zo=null,Go=!1,t)throw Error(a(300));return e}function Yo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ho?zo.memoizedState=Ho=e:Ho=Ho.next=e,Ho}function Jo(){if(null===qo){var e=zo.alternate;e=null!==e?e.memoizedState:null}else e=qo.next;var t=null===Ho?zo.memoizedState:Ho.next;if(null!==t)Ho=t,qo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(qo=e).memoizedState,baseState:qo.baseState,baseQueue:qo.baseQueue,queue:qo.queue,next:null},null===Ho?zo.memoizedState=Ho=e:Ho=Ho.next=e}return Ho}function $o(e,t){return\"function\"===typeof t?t(e):t}function Xo(e){var t=Jo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=qo,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var l=s=o=null,u=i;do{var c=u.expirationTime;if(czo.expirationTime&&(zo.expirationTime=c,al(c))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),ol(c,u.suspenseConfig),r=u.eagerReducer===e?u.eagerState:e(r,u.action);u=u.next}while(null!==u&&u!==i);null===l?o=r:l.next=s,Mr(r,t.memoizedState)||(Da=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Zo(e){var t=Jo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);Mr(o,t.memoizedState)||(Da=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ea(e){var t=Yo();return\"function\"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:$o,lastRenderedState:e}).dispatch=ma.bind(null,zo,e),[t.memoizedState,e]}function ta(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=zo.updateQueue)?(t={lastEffect:null},zo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function na(){return Jo().memoizedState}function ra(e,t,n,r){var i=Yo();zo.effectTag|=e,i.memoizedState=ta(1|t,n,void 0,void 0===r?null:r)}function ia(e,t,n,r){var i=Jo();r=void 0===r?null:r;var o=void 0;if(null!==qo){var a=qo.memoizedState;if(o=a.destroy,null!==r&&Qo(r,a.deps))return void ta(t,n,o,r)}zo.effectTag|=e,i.memoizedState=ta(1|t,n,o,r)}function oa(e,t){return ra(516,4,e,t)}function aa(e,t){return ia(516,4,e,t)}function sa(e,t){return ia(4,2,e,t)}function la(e,t){return\"function\"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ua(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,ia(4,2,la.bind(null,t,e),n)}function ca(){}function fa(e,t){return Yo().memoizedState=[e,void 0===t?null:t],e}function pa(e,t){var n=Jo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Qo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function da(e,t){var n=Jo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Qo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ha(e,t,n){var r=Ui();zi(98>r?98:r,(function(){e(!0)})),zi(97<\\/script>\",e=e.removeChild(e.firstChild)):\"string\"===typeof r.is?e=l.createElement(o,{is:r.is}):(e=l.createElement(o),\"select\"===o&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,o),e[On]=t,e[_n]=r,Ua(e,t),t.stateNode=e,l=an(o,r),o){case\"iframe\":case\"object\":case\"embed\":Qt(\"load\",e),u=r;break;case\"video\":case\"audio\":for(u=0;ur.tailExpiration&&1t)&&zs.set(e,t))}}function Ys(e,t){e.expirationTime=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function $s(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Hi(Zs.bind(null,e));else{var t=Js(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Ws();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=r)return;n!==Ii&&Ti(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Hi(Zs.bind(null,e)):qi(r,Xs.bind(null,e),{timeout:10*(1073741821-t)-Vi()}),e.callbackNode=t}}}function Xs(e,t){if(Gs=0,t)return Fl(e,t=Ws()),$s(e),null;var n=Js(e);if(0!==n){if(t=e.callbackNode,0!==(48&Ts))throw Error(a(327));if(ml(),e===Os&&n===xs||nl(e,n),null!==_s){var r=Ts;Ts|=16;for(var i=il();;)try{ll();break}catch(l){rl(e,l)}if(Zi(),Ts=r,ys.current=i,1===Ss)throw t=Cs,nl(e,n),jl(e,n),$s(e),t;if(null===_s)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Ss,Os=null,r){case Es:case 1:throw Error(a(345));case 2:Fl(e,2=n){e.lastPingedTime=n,nl(e,n);break}}if(0!==(o=Js(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=bn(pl.bind(null,e),i);break}pl(e);break;case ks:if(jl(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(i)),js&&(0===(i=e.lastPingedTime)||i>=n)){e.lastPingedTime=n,nl(e,n);break}if(0!==(i=Js(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Ds?r=10*(1073741821-Ds)-Vi():1073741823===Ns?r=0:(r=10*(1073741821-Ns)-5e3,0>(r=(i=Vi())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*gs(r/1960))-r)&&(r=n)),10=(r=0|s.busyMinDurationMs)?r=0:(i=0|s.busyDelayMs,r=(o=Vi()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)))<=i?0:i+r-o),10 component higher in the tree to provide a loading indicator or placeholder to display.\"+ge(a))}5!==Ss&&(Ss=2),s=Xa(s,a),f=o;do{switch(f.tag){case 3:l=s,f.effectTag|=4096,f.expirationTime=t,uo(f,hs(f,l,t));break e;case 1:l=s;var E=f.type,w=f.stateNode;if(0===(64&f.effectTag)&&(\"function\"===typeof E.getDerivedStateFromError||null!==w&&\"function\"===typeof w.componentDidCatch&&(null===Ps||!Ps.has(w)))){f.effectTag|=4096,f.expirationTime=t,uo(f,ms(f,l,t));break e}}f=f.return}while(null!==f)}_s=cl(_s)}catch(k){t=k;continue}break}}function il(){var e=ys.current;return ys.current=va,null===e?va:e}function ol(e,t){eIs&&(Is=e)}function sl(){for(;null!==_s;)_s=ul(_s)}function ll(){for(;null!==_s&&!ji();)_s=ul(_s)}function ul(e){var t=vs(e.alternate,e,xs);return e.memoizedProps=e.pendingProps,null===t&&(t=cl(e)),bs.current=null,t}function cl(e){_s=e;do{var t=_s.alternate;if(e=_s.return,0===(2048&_s.effectTag)){if(t=Ja(t,_s,xs),1===xs||1!==_s.childExpirationTime){for(var n=0,r=_s.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}_s.childExpirationTime=n}if(null!==t)return t;null!==e&&0===(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=_s.firstEffect),null!==_s.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=_s.firstEffect),e.lastEffect=_s.lastEffect),1<_s.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=_s:e.firstEffect=_s,e.lastEffect=_s))}else{if(null!==(t=$a(_s)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=_s.sibling))return t;_s=e}while(null!==_s);return Ss===Es&&(Ss=5),null}function fl(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function pl(e){var t=Ui();return zi(99,dl.bind(null,e,t)),null}function dl(e,t){do{ml()}while(null!==Us);if(0!==(48&Ts))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=fl(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Os&&(_s=Os=null,xs=0),1l&&(c=l,l=s,s=c),c=pn(E,s),f=pn(E,l),c&&f&&(1!==k.rangeCount||k.anchorNode!==c.node||k.anchorOffset!==c.offset||k.focusNode!==f.node||k.focusOffset!==f.offset)&&((w=w.createRange()).setStart(c.node,c.offset),k.removeAllRanges(),s>l?(k.addRange(w),k.extend(f.node,f.offset)):(w.setEnd(f.node,f.offset),k.addRange(w))))),w=[];for(k=E;k=k.parentNode;)1===k.nodeType&&w.push({element:k,left:k.scrollLeft,top:k.scrollTop});for(\"function\"===typeof E.focus&&E.focus(),E=0;E=n?Ha(e,t,n):(ui(Ro,1&Ro.current),null!==(t=Ka(e,t,n))?t.sibling:null);ui(Ro,1&Ro.current);break;case 19:if(r=t.childExpirationTime>=n,0!==(64&e.effectTag)){if(r)return Qa(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),ui(Ro,Ro.current),!r)return null}return Ka(e,t,n)}Da=!1}}else Da=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=hi(t,fi.current),no(t,n),i=Ko(null,t,r,e,i,n),t.effectTag|=1,\"object\"===typeof i&&null!==i&&\"function\"===typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,mi(r)){var o=!0;bi(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,oo(t);var s=r.getDerivedStateFromProps;\"function\"===typeof s&&mo(t,r,s,e),i.updater=vo,t.stateNode=i,i._reactInternalFiber=t,Eo(t,r,e,n),t=Pa(null,t,r,!0,o,n)}else t.tag=0,Aa(null,t,i,n),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,o=t.tag=function(e){if(\"function\"===typeof e)return _l(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===le)return 11;if(e===fe)return 14}return 2}(i),e=Ki(i,e),o){case 0:t=Ra(null,t,i,e,n);break e;case 1:t=Ma(null,t,i,e,n);break e;case 11:t=Ia(null,t,i,e,n);break e;case 14:t=ja(null,t,i,Ki(i.type,e),r,n);break e}throw Error(a(306,i,\"\"))}return t;case 0:return r=t.type,i=t.pendingProps,Ra(e,t,r,i=t.elementType===r?i:Ki(r,i),n);case 1:return r=t.type,i=t.pendingProps,Ma(e,t,r,i=t.elementType===r?i:Ki(r,i),n);case 3:if(Va(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,ao(e,t),co(t,r,null,n),(r=t.memoizedState.element)===i)Ca(),t=Ka(e,t,n);else{if((i=t.stateNode.hydrate)&&(wa=wn(t.stateNode.containerInfo.firstChild),Ea=t,i=ka=!0),i)for(n=xo(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Aa(e,t,r,n),Ca();t=t.child}return t;case 5:return Lo(t),null===e&&_a(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,yn(r,i)?s=null:null!==o&&yn(r,o)&&(t.effectTag|=16),Fa(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Aa(e,t,s,n),t=t.child),t;case 6:return null===e&&_a(t),null;case 13:return Ha(e,t,n);case 4:return Io(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=_o(t,null,r,n):Aa(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Ia(e,t,r,i=t.elementType===r?i:Ki(r,i),n);case 7:return Aa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Aa(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var l=t.type._context;if(ui(Yi,l._currentValue),l._currentValue=o,null!==s)if(l=s.value,0===(o=Mr(l,o)?0:0|(\"function\"===typeof r._calculateChangedBits?r._calculateChangedBits(l,o):1073741823))){if(s.children===i.children&&!pi.current){t=Ka(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){s=l.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!==(c.observedBits&o)){1===l.tag&&((c=so(n,null)).tag=2,lo(l,c)),l.expirationTime=t&&e<=t}function jl(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;nt||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Ll(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Fl(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Rl(e,t,n,r){var i=t.current,o=Ws(),s=po.suspense;o=Qs(o,i,s);e:if(n){t:{if(Ze(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(mi(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var u=n.type;if(mi(u)){n=yi(n,u,l);break e}}n=l}else n=ci;return null===t.context?t.context=n:t.pendingContext=n,(t=so(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),lo(i,t),Ks(i,o),o}function Ml(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Pl(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime=k},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125>>1,i=e[r];if(!(void 0!==i&&0C(a,n))void 0!==l&&0>C(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==l&&0>C(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var N=[],D=[],A=1,I=null,j=3,L=!1,F=!1,R=!1;function M(e){for(var t=x(D);null!==t;){if(null===t.callback)S(D);else{if(!(t.startTime<=e))break;S(D),t.sortIndex=t.expirationTime,_(N,t)}t=x(D)}}function P(e){if(R=!1,M(e),!F)if(null!==x(N))F=!0,r(V);else{var t=x(D);null!==t&&i(P,t.startTime-e)}}function V(e,n){F=!1,R&&(R=!1,o()),L=!0;var r=j;try{for(M(n),I=x(N);null!==I&&(!(I.expirationTime>n)||e&&!a());){var s=I.callback;if(null!==s){I.callback=null,j=I.priorityLevel;var l=s(I.expirationTime<=n);n=t.unstable_now(),\"function\"===typeof l?I.callback=l:I===x(N)&&S(N),M(n)}else S(N);I=x(N)}if(null!==I)var u=!0;else{var c=x(D);null!==c&&i(P,c.startTime-n),u=!1}return u}finally{I=null,j=r,L=!1}}function U(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var B=s;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){F||L||(F=!0,r(V))},t.unstable_getCurrentPriorityLevel=function(){return j},t.unstable_getFirstCallbackNode=function(){return x(N)},t.unstable_next=function(e){switch(j){case 1:case 2:case 3:var t=3;break;default:t=j}var n=j;j=t;try{return e()}finally{j=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=B,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=j;j=e;try{return t()}finally{j=n}},t.unstable_scheduleCallback=function(e,n,a){var s=t.unstable_now();if(\"object\"===typeof a&&null!==a){var l=a.delay;l=\"number\"===typeof l&&0s?(e.sortIndex=l,_(D,e),null===x(N)&&e===x(D)&&(R?o():R=!0,i(P,l-s))):(e.sortIndex=a,_(N,e),F||L||(F=!0,r(V))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();M(e);var n=x(N);return n!==I&&null!==I&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime=0;--i){var o=this.tryEntries[i],a=o.completion;if(\"root\"===o.tryLoc)return r(\"end\");if(o.tryLoc<=this.prev){var s=n.call(o,\"catchLoc\"),l=n.call(o,\"finallyLoc\");if(s&&l){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,\"finallyLoc\")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if(\"throw\"===r.type){var i=r.arg;k(n)}return i}}throw new Error(\"illegal catch attempt\")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},\"next\"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(i){Function(\"r\",\"regeneratorRuntime = r\")(r)}},function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r=0))try{t.hostname=f.toASCII(t.hostname)}catch(n){}return c.encode(c.format(t))}function y(e){var t=c.parse(e,!0);if(t.hostname&&(!t.protocol||v.indexOf(t.protocol)>=0))try{t.hostname=f.toUnicode(t.hostname)}catch(n){}return c.decode(c.format(t))}function b(e,t){if(!(this instanceof b))return new b(e,t);t||r.isString(e)||(t=e||{},e=\"default\"),this.inline=new l,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new u,this.validateLink=m,this.normalizeLink=g,this.normalizeLinkText=y,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(e),t&&this.set(t)}b.prototype.set=function(e){return r.assign(this.options,e),this},b.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=p[t=e]))throw new Error('Wrong `markdown-it` preset \"'+t+'\", check name');if(!e)throw new Error(\"Wrong `markdown-it` preset, can't be empty\");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},b.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),[\"core\",\"block\",\"inline\"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error(\"MarkdownIt. Failed to enable unknown rule(s): \"+r);return this},b.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),[\"core\",\"block\",\"inline\"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error(\"MarkdownIt. Failed to disable unknown rule(s): \"+r);return this},b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},b.prototype.parse=function(e,t){if(\"string\"!==typeof e)throw new Error(\"Input data should be a String\");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},b.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},b.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},b.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=b},function(e){e.exports=JSON.parse('{\"Aacute\":\"\\xc1\",\"aacute\":\"\\xe1\",\"Abreve\":\"\\u0102\",\"abreve\":\"\\u0103\",\"ac\":\"\\u223e\",\"acd\":\"\\u223f\",\"acE\":\"\\u223e\\u0333\",\"Acirc\":\"\\xc2\",\"acirc\":\"\\xe2\",\"acute\":\"\\xb4\",\"Acy\":\"\\u0410\",\"acy\":\"\\u0430\",\"AElig\":\"\\xc6\",\"aelig\":\"\\xe6\",\"af\":\"\\u2061\",\"Afr\":\"\\ud835\\udd04\",\"afr\":\"\\ud835\\udd1e\",\"Agrave\":\"\\xc0\",\"agrave\":\"\\xe0\",\"alefsym\":\"\\u2135\",\"aleph\":\"\\u2135\",\"Alpha\":\"\\u0391\",\"alpha\":\"\\u03b1\",\"Amacr\":\"\\u0100\",\"amacr\":\"\\u0101\",\"amalg\":\"\\u2a3f\",\"amp\":\"&\",\"AMP\":\"&\",\"andand\":\"\\u2a55\",\"And\":\"\\u2a53\",\"and\":\"\\u2227\",\"andd\":\"\\u2a5c\",\"andslope\":\"\\u2a58\",\"andv\":\"\\u2a5a\",\"ang\":\"\\u2220\",\"ange\":\"\\u29a4\",\"angle\":\"\\u2220\",\"angmsdaa\":\"\\u29a8\",\"angmsdab\":\"\\u29a9\",\"angmsdac\":\"\\u29aa\",\"angmsdad\":\"\\u29ab\",\"angmsdae\":\"\\u29ac\",\"angmsdaf\":\"\\u29ad\",\"angmsdag\":\"\\u29ae\",\"angmsdah\":\"\\u29af\",\"angmsd\":\"\\u2221\",\"angrt\":\"\\u221f\",\"angrtvb\":\"\\u22be\",\"angrtvbd\":\"\\u299d\",\"angsph\":\"\\u2222\",\"angst\":\"\\xc5\",\"angzarr\":\"\\u237c\",\"Aogon\":\"\\u0104\",\"aogon\":\"\\u0105\",\"Aopf\":\"\\ud835\\udd38\",\"aopf\":\"\\ud835\\udd52\",\"apacir\":\"\\u2a6f\",\"ap\":\"\\u2248\",\"apE\":\"\\u2a70\",\"ape\":\"\\u224a\",\"apid\":\"\\u224b\",\"apos\":\"\\'\",\"ApplyFunction\":\"\\u2061\",\"approx\":\"\\u2248\",\"approxeq\":\"\\u224a\",\"Aring\":\"\\xc5\",\"aring\":\"\\xe5\",\"Ascr\":\"\\ud835\\udc9c\",\"ascr\":\"\\ud835\\udcb6\",\"Assign\":\"\\u2254\",\"ast\":\"*\",\"asymp\":\"\\u2248\",\"asympeq\":\"\\u224d\",\"Atilde\":\"\\xc3\",\"atilde\":\"\\xe3\",\"Auml\":\"\\xc4\",\"auml\":\"\\xe4\",\"awconint\":\"\\u2233\",\"awint\":\"\\u2a11\",\"backcong\":\"\\u224c\",\"backepsilon\":\"\\u03f6\",\"backprime\":\"\\u2035\",\"backsim\":\"\\u223d\",\"backsimeq\":\"\\u22cd\",\"Backslash\":\"\\u2216\",\"Barv\":\"\\u2ae7\",\"barvee\":\"\\u22bd\",\"barwed\":\"\\u2305\",\"Barwed\":\"\\u2306\",\"barwedge\":\"\\u2305\",\"bbrk\":\"\\u23b5\",\"bbrktbrk\":\"\\u23b6\",\"bcong\":\"\\u224c\",\"Bcy\":\"\\u0411\",\"bcy\":\"\\u0431\",\"bdquo\":\"\\u201e\",\"becaus\":\"\\u2235\",\"because\":\"\\u2235\",\"Because\":\"\\u2235\",\"bemptyv\":\"\\u29b0\",\"bepsi\":\"\\u03f6\",\"bernou\":\"\\u212c\",\"Bernoullis\":\"\\u212c\",\"Beta\":\"\\u0392\",\"beta\":\"\\u03b2\",\"beth\":\"\\u2136\",\"between\":\"\\u226c\",\"Bfr\":\"\\ud835\\udd05\",\"bfr\":\"\\ud835\\udd1f\",\"bigcap\":\"\\u22c2\",\"bigcirc\":\"\\u25ef\",\"bigcup\":\"\\u22c3\",\"bigodot\":\"\\u2a00\",\"bigoplus\":\"\\u2a01\",\"bigotimes\":\"\\u2a02\",\"bigsqcup\":\"\\u2a06\",\"bigstar\":\"\\u2605\",\"bigtriangledown\":\"\\u25bd\",\"bigtriangleup\":\"\\u25b3\",\"biguplus\":\"\\u2a04\",\"bigvee\":\"\\u22c1\",\"bigwedge\":\"\\u22c0\",\"bkarow\":\"\\u290d\",\"blacklozenge\":\"\\u29eb\",\"blacksquare\":\"\\u25aa\",\"blacktriangle\":\"\\u25b4\",\"blacktriangledown\":\"\\u25be\",\"blacktriangleleft\":\"\\u25c2\",\"blacktriangleright\":\"\\u25b8\",\"blank\":\"\\u2423\",\"blk12\":\"\\u2592\",\"blk14\":\"\\u2591\",\"blk34\":\"\\u2593\",\"block\":\"\\u2588\",\"bne\":\"=\\u20e5\",\"bnequiv\":\"\\u2261\\u20e5\",\"bNot\":\"\\u2aed\",\"bnot\":\"\\u2310\",\"Bopf\":\"\\ud835\\udd39\",\"bopf\":\"\\ud835\\udd53\",\"bot\":\"\\u22a5\",\"bottom\":\"\\u22a5\",\"bowtie\":\"\\u22c8\",\"boxbox\":\"\\u29c9\",\"boxdl\":\"\\u2510\",\"boxdL\":\"\\u2555\",\"boxDl\":\"\\u2556\",\"boxDL\":\"\\u2557\",\"boxdr\":\"\\u250c\",\"boxdR\":\"\\u2552\",\"boxDr\":\"\\u2553\",\"boxDR\":\"\\u2554\",\"boxh\":\"\\u2500\",\"boxH\":\"\\u2550\",\"boxhd\":\"\\u252c\",\"boxHd\":\"\\u2564\",\"boxhD\":\"\\u2565\",\"boxHD\":\"\\u2566\",\"boxhu\":\"\\u2534\",\"boxHu\":\"\\u2567\",\"boxhU\":\"\\u2568\",\"boxHU\":\"\\u2569\",\"boxminus\":\"\\u229f\",\"boxplus\":\"\\u229e\",\"boxtimes\":\"\\u22a0\",\"boxul\":\"\\u2518\",\"boxuL\":\"\\u255b\",\"boxUl\":\"\\u255c\",\"boxUL\":\"\\u255d\",\"boxur\":\"\\u2514\",\"boxuR\":\"\\u2558\",\"boxUr\":\"\\u2559\",\"boxUR\":\"\\u255a\",\"boxv\":\"\\u2502\",\"boxV\":\"\\u2551\",\"boxvh\":\"\\u253c\",\"boxvH\":\"\\u256a\",\"boxVh\":\"\\u256b\",\"boxVH\":\"\\u256c\",\"boxvl\":\"\\u2524\",\"boxvL\":\"\\u2561\",\"boxVl\":\"\\u2562\",\"boxVL\":\"\\u2563\",\"boxvr\":\"\\u251c\",\"boxvR\":\"\\u255e\",\"boxVr\":\"\\u255f\",\"boxVR\":\"\\u2560\",\"bprime\":\"\\u2035\",\"breve\":\"\\u02d8\",\"Breve\":\"\\u02d8\",\"brvbar\":\"\\xa6\",\"bscr\":\"\\ud835\\udcb7\",\"Bscr\":\"\\u212c\",\"bsemi\":\"\\u204f\",\"bsim\":\"\\u223d\",\"bsime\":\"\\u22cd\",\"bsolb\":\"\\u29c5\",\"bsol\":\"\\\\\\\\\",\"bsolhsub\":\"\\u27c8\",\"bull\":\"\\u2022\",\"bullet\":\"\\u2022\",\"bump\":\"\\u224e\",\"bumpE\":\"\\u2aae\",\"bumpe\":\"\\u224f\",\"Bumpeq\":\"\\u224e\",\"bumpeq\":\"\\u224f\",\"Cacute\":\"\\u0106\",\"cacute\":\"\\u0107\",\"capand\":\"\\u2a44\",\"capbrcup\":\"\\u2a49\",\"capcap\":\"\\u2a4b\",\"cap\":\"\\u2229\",\"Cap\":\"\\u22d2\",\"capcup\":\"\\u2a47\",\"capdot\":\"\\u2a40\",\"CapitalDifferentialD\":\"\\u2145\",\"caps\":\"\\u2229\\ufe00\",\"caret\":\"\\u2041\",\"caron\":\"\\u02c7\",\"Cayleys\":\"\\u212d\",\"ccaps\":\"\\u2a4d\",\"Ccaron\":\"\\u010c\",\"ccaron\":\"\\u010d\",\"Ccedil\":\"\\xc7\",\"ccedil\":\"\\xe7\",\"Ccirc\":\"\\u0108\",\"ccirc\":\"\\u0109\",\"Cconint\":\"\\u2230\",\"ccups\":\"\\u2a4c\",\"ccupssm\":\"\\u2a50\",\"Cdot\":\"\\u010a\",\"cdot\":\"\\u010b\",\"cedil\":\"\\xb8\",\"Cedilla\":\"\\xb8\",\"cemptyv\":\"\\u29b2\",\"cent\":\"\\xa2\",\"centerdot\":\"\\xb7\",\"CenterDot\":\"\\xb7\",\"cfr\":\"\\ud835\\udd20\",\"Cfr\":\"\\u212d\",\"CHcy\":\"\\u0427\",\"chcy\":\"\\u0447\",\"check\":\"\\u2713\",\"checkmark\":\"\\u2713\",\"Chi\":\"\\u03a7\",\"chi\":\"\\u03c7\",\"circ\":\"\\u02c6\",\"circeq\":\"\\u2257\",\"circlearrowleft\":\"\\u21ba\",\"circlearrowright\":\"\\u21bb\",\"circledast\":\"\\u229b\",\"circledcirc\":\"\\u229a\",\"circleddash\":\"\\u229d\",\"CircleDot\":\"\\u2299\",\"circledR\":\"\\xae\",\"circledS\":\"\\u24c8\",\"CircleMinus\":\"\\u2296\",\"CirclePlus\":\"\\u2295\",\"CircleTimes\":\"\\u2297\",\"cir\":\"\\u25cb\",\"cirE\":\"\\u29c3\",\"cire\":\"\\u2257\",\"cirfnint\":\"\\u2a10\",\"cirmid\":\"\\u2aef\",\"cirscir\":\"\\u29c2\",\"ClockwiseContourIntegral\":\"\\u2232\",\"CloseCurlyDoubleQuote\":\"\\u201d\",\"CloseCurlyQuote\":\"\\u2019\",\"clubs\":\"\\u2663\",\"clubsuit\":\"\\u2663\",\"colon\":\":\",\"Colon\":\"\\u2237\",\"Colone\":\"\\u2a74\",\"colone\":\"\\u2254\",\"coloneq\":\"\\u2254\",\"comma\":\",\",\"commat\":\"@\",\"comp\":\"\\u2201\",\"compfn\":\"\\u2218\",\"complement\":\"\\u2201\",\"complexes\":\"\\u2102\",\"cong\":\"\\u2245\",\"congdot\":\"\\u2a6d\",\"Congruent\":\"\\u2261\",\"conint\":\"\\u222e\",\"Conint\":\"\\u222f\",\"ContourIntegral\":\"\\u222e\",\"copf\":\"\\ud835\\udd54\",\"Copf\":\"\\u2102\",\"coprod\":\"\\u2210\",\"Coproduct\":\"\\u2210\",\"copy\":\"\\xa9\",\"COPY\":\"\\xa9\",\"copysr\":\"\\u2117\",\"CounterClockwiseContourIntegral\":\"\\u2233\",\"crarr\":\"\\u21b5\",\"cross\":\"\\u2717\",\"Cross\":\"\\u2a2f\",\"Cscr\":\"\\ud835\\udc9e\",\"cscr\":\"\\ud835\\udcb8\",\"csub\":\"\\u2acf\",\"csube\":\"\\u2ad1\",\"csup\":\"\\u2ad0\",\"csupe\":\"\\u2ad2\",\"ctdot\":\"\\u22ef\",\"cudarrl\":\"\\u2938\",\"cudarrr\":\"\\u2935\",\"cuepr\":\"\\u22de\",\"cuesc\":\"\\u22df\",\"cularr\":\"\\u21b6\",\"cularrp\":\"\\u293d\",\"cupbrcap\":\"\\u2a48\",\"cupcap\":\"\\u2a46\",\"CupCap\":\"\\u224d\",\"cup\":\"\\u222a\",\"Cup\":\"\\u22d3\",\"cupcup\":\"\\u2a4a\",\"cupdot\":\"\\u228d\",\"cupor\":\"\\u2a45\",\"cups\":\"\\u222a\\ufe00\",\"curarr\":\"\\u21b7\",\"curarrm\":\"\\u293c\",\"curlyeqprec\":\"\\u22de\",\"curlyeqsucc\":\"\\u22df\",\"curlyvee\":\"\\u22ce\",\"curlywedge\":\"\\u22cf\",\"curren\":\"\\xa4\",\"curvearrowleft\":\"\\u21b6\",\"curvearrowright\":\"\\u21b7\",\"cuvee\":\"\\u22ce\",\"cuwed\":\"\\u22cf\",\"cwconint\":\"\\u2232\",\"cwint\":\"\\u2231\",\"cylcty\":\"\\u232d\",\"dagger\":\"\\u2020\",\"Dagger\":\"\\u2021\",\"daleth\":\"\\u2138\",\"darr\":\"\\u2193\",\"Darr\":\"\\u21a1\",\"dArr\":\"\\u21d3\",\"dash\":\"\\u2010\",\"Dashv\":\"\\u2ae4\",\"dashv\":\"\\u22a3\",\"dbkarow\":\"\\u290f\",\"dblac\":\"\\u02dd\",\"Dcaron\":\"\\u010e\",\"dcaron\":\"\\u010f\",\"Dcy\":\"\\u0414\",\"dcy\":\"\\u0434\",\"ddagger\":\"\\u2021\",\"ddarr\":\"\\u21ca\",\"DD\":\"\\u2145\",\"dd\":\"\\u2146\",\"DDotrahd\":\"\\u2911\",\"ddotseq\":\"\\u2a77\",\"deg\":\"\\xb0\",\"Del\":\"\\u2207\",\"Delta\":\"\\u0394\",\"delta\":\"\\u03b4\",\"demptyv\":\"\\u29b1\",\"dfisht\":\"\\u297f\",\"Dfr\":\"\\ud835\\udd07\",\"dfr\":\"\\ud835\\udd21\",\"dHar\":\"\\u2965\",\"dharl\":\"\\u21c3\",\"dharr\":\"\\u21c2\",\"DiacriticalAcute\":\"\\xb4\",\"DiacriticalDot\":\"\\u02d9\",\"DiacriticalDoubleAcute\":\"\\u02dd\",\"DiacriticalGrave\":\"`\",\"DiacriticalTilde\":\"\\u02dc\",\"diam\":\"\\u22c4\",\"diamond\":\"\\u22c4\",\"Diamond\":\"\\u22c4\",\"diamondsuit\":\"\\u2666\",\"diams\":\"\\u2666\",\"die\":\"\\xa8\",\"DifferentialD\":\"\\u2146\",\"digamma\":\"\\u03dd\",\"disin\":\"\\u22f2\",\"div\":\"\\xf7\",\"divide\":\"\\xf7\",\"divideontimes\":\"\\u22c7\",\"divonx\":\"\\u22c7\",\"DJcy\":\"\\u0402\",\"djcy\":\"\\u0452\",\"dlcorn\":\"\\u231e\",\"dlcrop\":\"\\u230d\",\"dollar\":\"$\",\"Dopf\":\"\\ud835\\udd3b\",\"dopf\":\"\\ud835\\udd55\",\"Dot\":\"\\xa8\",\"dot\":\"\\u02d9\",\"DotDot\":\"\\u20dc\",\"doteq\":\"\\u2250\",\"doteqdot\":\"\\u2251\",\"DotEqual\":\"\\u2250\",\"dotminus\":\"\\u2238\",\"dotplus\":\"\\u2214\",\"dotsquare\":\"\\u22a1\",\"doublebarwedge\":\"\\u2306\",\"DoubleContourIntegral\":\"\\u222f\",\"DoubleDot\":\"\\xa8\",\"DoubleDownArrow\":\"\\u21d3\",\"DoubleLeftArrow\":\"\\u21d0\",\"DoubleLeftRightArrow\":\"\\u21d4\",\"DoubleLeftTee\":\"\\u2ae4\",\"DoubleLongLeftArrow\":\"\\u27f8\",\"DoubleLongLeftRightArrow\":\"\\u27fa\",\"DoubleLongRightArrow\":\"\\u27f9\",\"DoubleRightArrow\":\"\\u21d2\",\"DoubleRightTee\":\"\\u22a8\",\"DoubleUpArrow\":\"\\u21d1\",\"DoubleUpDownArrow\":\"\\u21d5\",\"DoubleVerticalBar\":\"\\u2225\",\"DownArrowBar\":\"\\u2913\",\"downarrow\":\"\\u2193\",\"DownArrow\":\"\\u2193\",\"Downarrow\":\"\\u21d3\",\"DownArrowUpArrow\":\"\\u21f5\",\"DownBreve\":\"\\u0311\",\"downdownarrows\":\"\\u21ca\",\"downharpoonleft\":\"\\u21c3\",\"downharpoonright\":\"\\u21c2\",\"DownLeftRightVector\":\"\\u2950\",\"DownLeftTeeVector\":\"\\u295e\",\"DownLeftVectorBar\":\"\\u2956\",\"DownLeftVector\":\"\\u21bd\",\"DownRightTeeVector\":\"\\u295f\",\"DownRightVectorBar\":\"\\u2957\",\"DownRightVector\":\"\\u21c1\",\"DownTeeArrow\":\"\\u21a7\",\"DownTee\":\"\\u22a4\",\"drbkarow\":\"\\u2910\",\"drcorn\":\"\\u231f\",\"drcrop\":\"\\u230c\",\"Dscr\":\"\\ud835\\udc9f\",\"dscr\":\"\\ud835\\udcb9\",\"DScy\":\"\\u0405\",\"dscy\":\"\\u0455\",\"dsol\":\"\\u29f6\",\"Dstrok\":\"\\u0110\",\"dstrok\":\"\\u0111\",\"dtdot\":\"\\u22f1\",\"dtri\":\"\\u25bf\",\"dtrif\":\"\\u25be\",\"duarr\":\"\\u21f5\",\"duhar\":\"\\u296f\",\"dwangle\":\"\\u29a6\",\"DZcy\":\"\\u040f\",\"dzcy\":\"\\u045f\",\"dzigrarr\":\"\\u27ff\",\"Eacute\":\"\\xc9\",\"eacute\":\"\\xe9\",\"easter\":\"\\u2a6e\",\"Ecaron\":\"\\u011a\",\"ecaron\":\"\\u011b\",\"Ecirc\":\"\\xca\",\"ecirc\":\"\\xea\",\"ecir\":\"\\u2256\",\"ecolon\":\"\\u2255\",\"Ecy\":\"\\u042d\",\"ecy\":\"\\u044d\",\"eDDot\":\"\\u2a77\",\"Edot\":\"\\u0116\",\"edot\":\"\\u0117\",\"eDot\":\"\\u2251\",\"ee\":\"\\u2147\",\"efDot\":\"\\u2252\",\"Efr\":\"\\ud835\\udd08\",\"efr\":\"\\ud835\\udd22\",\"eg\":\"\\u2a9a\",\"Egrave\":\"\\xc8\",\"egrave\":\"\\xe8\",\"egs\":\"\\u2a96\",\"egsdot\":\"\\u2a98\",\"el\":\"\\u2a99\",\"Element\":\"\\u2208\",\"elinters\":\"\\u23e7\",\"ell\":\"\\u2113\",\"els\":\"\\u2a95\",\"elsdot\":\"\\u2a97\",\"Emacr\":\"\\u0112\",\"emacr\":\"\\u0113\",\"empty\":\"\\u2205\",\"emptyset\":\"\\u2205\",\"EmptySmallSquare\":\"\\u25fb\",\"emptyv\":\"\\u2205\",\"EmptyVerySmallSquare\":\"\\u25ab\",\"emsp13\":\"\\u2004\",\"emsp14\":\"\\u2005\",\"emsp\":\"\\u2003\",\"ENG\":\"\\u014a\",\"eng\":\"\\u014b\",\"ensp\":\"\\u2002\",\"Eogon\":\"\\u0118\",\"eogon\":\"\\u0119\",\"Eopf\":\"\\ud835\\udd3c\",\"eopf\":\"\\ud835\\udd56\",\"epar\":\"\\u22d5\",\"eparsl\":\"\\u29e3\",\"eplus\":\"\\u2a71\",\"epsi\":\"\\u03b5\",\"Epsilon\":\"\\u0395\",\"epsilon\":\"\\u03b5\",\"epsiv\":\"\\u03f5\",\"eqcirc\":\"\\u2256\",\"eqcolon\":\"\\u2255\",\"eqsim\":\"\\u2242\",\"eqslantgtr\":\"\\u2a96\",\"eqslantless\":\"\\u2a95\",\"Equal\":\"\\u2a75\",\"equals\":\"=\",\"EqualTilde\":\"\\u2242\",\"equest\":\"\\u225f\",\"Equilibrium\":\"\\u21cc\",\"equiv\":\"\\u2261\",\"equivDD\":\"\\u2a78\",\"eqvparsl\":\"\\u29e5\",\"erarr\":\"\\u2971\",\"erDot\":\"\\u2253\",\"escr\":\"\\u212f\",\"Escr\":\"\\u2130\",\"esdot\":\"\\u2250\",\"Esim\":\"\\u2a73\",\"esim\":\"\\u2242\",\"Eta\":\"\\u0397\",\"eta\":\"\\u03b7\",\"ETH\":\"\\xd0\",\"eth\":\"\\xf0\",\"Euml\":\"\\xcb\",\"euml\":\"\\xeb\",\"euro\":\"\\u20ac\",\"excl\":\"!\",\"exist\":\"\\u2203\",\"Exists\":\"\\u2203\",\"expectation\":\"\\u2130\",\"exponentiale\":\"\\u2147\",\"ExponentialE\":\"\\u2147\",\"fallingdotseq\":\"\\u2252\",\"Fcy\":\"\\u0424\",\"fcy\":\"\\u0444\",\"female\":\"\\u2640\",\"ffilig\":\"\\ufb03\",\"fflig\":\"\\ufb00\",\"ffllig\":\"\\ufb04\",\"Ffr\":\"\\ud835\\udd09\",\"ffr\":\"\\ud835\\udd23\",\"filig\":\"\\ufb01\",\"FilledSmallSquare\":\"\\u25fc\",\"FilledVerySmallSquare\":\"\\u25aa\",\"fjlig\":\"fj\",\"flat\":\"\\u266d\",\"fllig\":\"\\ufb02\",\"fltns\":\"\\u25b1\",\"fnof\":\"\\u0192\",\"Fopf\":\"\\ud835\\udd3d\",\"fopf\":\"\\ud835\\udd57\",\"forall\":\"\\u2200\",\"ForAll\":\"\\u2200\",\"fork\":\"\\u22d4\",\"forkv\":\"\\u2ad9\",\"Fouriertrf\":\"\\u2131\",\"fpartint\":\"\\u2a0d\",\"frac12\":\"\\xbd\",\"frac13\":\"\\u2153\",\"frac14\":\"\\xbc\",\"frac15\":\"\\u2155\",\"frac16\":\"\\u2159\",\"frac18\":\"\\u215b\",\"frac23\":\"\\u2154\",\"frac25\":\"\\u2156\",\"frac34\":\"\\xbe\",\"frac35\":\"\\u2157\",\"frac38\":\"\\u215c\",\"frac45\":\"\\u2158\",\"frac56\":\"\\u215a\",\"frac58\":\"\\u215d\",\"frac78\":\"\\u215e\",\"frasl\":\"\\u2044\",\"frown\":\"\\u2322\",\"fscr\":\"\\ud835\\udcbb\",\"Fscr\":\"\\u2131\",\"gacute\":\"\\u01f5\",\"Gamma\":\"\\u0393\",\"gamma\":\"\\u03b3\",\"Gammad\":\"\\u03dc\",\"gammad\":\"\\u03dd\",\"gap\":\"\\u2a86\",\"Gbreve\":\"\\u011e\",\"gbreve\":\"\\u011f\",\"Gcedil\":\"\\u0122\",\"Gcirc\":\"\\u011c\",\"gcirc\":\"\\u011d\",\"Gcy\":\"\\u0413\",\"gcy\":\"\\u0433\",\"Gdot\":\"\\u0120\",\"gdot\":\"\\u0121\",\"ge\":\"\\u2265\",\"gE\":\"\\u2267\",\"gEl\":\"\\u2a8c\",\"gel\":\"\\u22db\",\"geq\":\"\\u2265\",\"geqq\":\"\\u2267\",\"geqslant\":\"\\u2a7e\",\"gescc\":\"\\u2aa9\",\"ges\":\"\\u2a7e\",\"gesdot\":\"\\u2a80\",\"gesdoto\":\"\\u2a82\",\"gesdotol\":\"\\u2a84\",\"gesl\":\"\\u22db\\ufe00\",\"gesles\":\"\\u2a94\",\"Gfr\":\"\\ud835\\udd0a\",\"gfr\":\"\\ud835\\udd24\",\"gg\":\"\\u226b\",\"Gg\":\"\\u22d9\",\"ggg\":\"\\u22d9\",\"gimel\":\"\\u2137\",\"GJcy\":\"\\u0403\",\"gjcy\":\"\\u0453\",\"gla\":\"\\u2aa5\",\"gl\":\"\\u2277\",\"glE\":\"\\u2a92\",\"glj\":\"\\u2aa4\",\"gnap\":\"\\u2a8a\",\"gnapprox\":\"\\u2a8a\",\"gne\":\"\\u2a88\",\"gnE\":\"\\u2269\",\"gneq\":\"\\u2a88\",\"gneqq\":\"\\u2269\",\"gnsim\":\"\\u22e7\",\"Gopf\":\"\\ud835\\udd3e\",\"gopf\":\"\\ud835\\udd58\",\"grave\":\"`\",\"GreaterEqual\":\"\\u2265\",\"GreaterEqualLess\":\"\\u22db\",\"GreaterFullEqual\":\"\\u2267\",\"GreaterGreater\":\"\\u2aa2\",\"GreaterLess\":\"\\u2277\",\"GreaterSlantEqual\":\"\\u2a7e\",\"GreaterTilde\":\"\\u2273\",\"Gscr\":\"\\ud835\\udca2\",\"gscr\":\"\\u210a\",\"gsim\":\"\\u2273\",\"gsime\":\"\\u2a8e\",\"gsiml\":\"\\u2a90\",\"gtcc\":\"\\u2aa7\",\"gtcir\":\"\\u2a7a\",\"gt\":\">\",\"GT\":\">\",\"Gt\":\"\\u226b\",\"gtdot\":\"\\u22d7\",\"gtlPar\":\"\\u2995\",\"gtquest\":\"\\u2a7c\",\"gtrapprox\":\"\\u2a86\",\"gtrarr\":\"\\u2978\",\"gtrdot\":\"\\u22d7\",\"gtreqless\":\"\\u22db\",\"gtreqqless\":\"\\u2a8c\",\"gtrless\":\"\\u2277\",\"gtrsim\":\"\\u2273\",\"gvertneqq\":\"\\u2269\\ufe00\",\"gvnE\":\"\\u2269\\ufe00\",\"Hacek\":\"\\u02c7\",\"hairsp\":\"\\u200a\",\"half\":\"\\xbd\",\"hamilt\":\"\\u210b\",\"HARDcy\":\"\\u042a\",\"hardcy\":\"\\u044a\",\"harrcir\":\"\\u2948\",\"harr\":\"\\u2194\",\"hArr\":\"\\u21d4\",\"harrw\":\"\\u21ad\",\"Hat\":\"^\",\"hbar\":\"\\u210f\",\"Hcirc\":\"\\u0124\",\"hcirc\":\"\\u0125\",\"hearts\":\"\\u2665\",\"heartsuit\":\"\\u2665\",\"hellip\":\"\\u2026\",\"hercon\":\"\\u22b9\",\"hfr\":\"\\ud835\\udd25\",\"Hfr\":\"\\u210c\",\"HilbertSpace\":\"\\u210b\",\"hksearow\":\"\\u2925\",\"hkswarow\":\"\\u2926\",\"hoarr\":\"\\u21ff\",\"homtht\":\"\\u223b\",\"hookleftarrow\":\"\\u21a9\",\"hookrightarrow\":\"\\u21aa\",\"hopf\":\"\\ud835\\udd59\",\"Hopf\":\"\\u210d\",\"horbar\":\"\\u2015\",\"HorizontalLine\":\"\\u2500\",\"hscr\":\"\\ud835\\udcbd\",\"Hscr\":\"\\u210b\",\"hslash\":\"\\u210f\",\"Hstrok\":\"\\u0126\",\"hstrok\":\"\\u0127\",\"HumpDownHump\":\"\\u224e\",\"HumpEqual\":\"\\u224f\",\"hybull\":\"\\u2043\",\"hyphen\":\"\\u2010\",\"Iacute\":\"\\xcd\",\"iacute\":\"\\xed\",\"ic\":\"\\u2063\",\"Icirc\":\"\\xce\",\"icirc\":\"\\xee\",\"Icy\":\"\\u0418\",\"icy\":\"\\u0438\",\"Idot\":\"\\u0130\",\"IEcy\":\"\\u0415\",\"iecy\":\"\\u0435\",\"iexcl\":\"\\xa1\",\"iff\":\"\\u21d4\",\"ifr\":\"\\ud835\\udd26\",\"Ifr\":\"\\u2111\",\"Igrave\":\"\\xcc\",\"igrave\":\"\\xec\",\"ii\":\"\\u2148\",\"iiiint\":\"\\u2a0c\",\"iiint\":\"\\u222d\",\"iinfin\":\"\\u29dc\",\"iiota\":\"\\u2129\",\"IJlig\":\"\\u0132\",\"ijlig\":\"\\u0133\",\"Imacr\":\"\\u012a\",\"imacr\":\"\\u012b\",\"image\":\"\\u2111\",\"ImaginaryI\":\"\\u2148\",\"imagline\":\"\\u2110\",\"imagpart\":\"\\u2111\",\"imath\":\"\\u0131\",\"Im\":\"\\u2111\",\"imof\":\"\\u22b7\",\"imped\":\"\\u01b5\",\"Implies\":\"\\u21d2\",\"incare\":\"\\u2105\",\"in\":\"\\u2208\",\"infin\":\"\\u221e\",\"infintie\":\"\\u29dd\",\"inodot\":\"\\u0131\",\"intcal\":\"\\u22ba\",\"int\":\"\\u222b\",\"Int\":\"\\u222c\",\"integers\":\"\\u2124\",\"Integral\":\"\\u222b\",\"intercal\":\"\\u22ba\",\"Intersection\":\"\\u22c2\",\"intlarhk\":\"\\u2a17\",\"intprod\":\"\\u2a3c\",\"InvisibleComma\":\"\\u2063\",\"InvisibleTimes\":\"\\u2062\",\"IOcy\":\"\\u0401\",\"iocy\":\"\\u0451\",\"Iogon\":\"\\u012e\",\"iogon\":\"\\u012f\",\"Iopf\":\"\\ud835\\udd40\",\"iopf\":\"\\ud835\\udd5a\",\"Iota\":\"\\u0399\",\"iota\":\"\\u03b9\",\"iprod\":\"\\u2a3c\",\"iquest\":\"\\xbf\",\"iscr\":\"\\ud835\\udcbe\",\"Iscr\":\"\\u2110\",\"isin\":\"\\u2208\",\"isindot\":\"\\u22f5\",\"isinE\":\"\\u22f9\",\"isins\":\"\\u22f4\",\"isinsv\":\"\\u22f3\",\"isinv\":\"\\u2208\",\"it\":\"\\u2062\",\"Itilde\":\"\\u0128\",\"itilde\":\"\\u0129\",\"Iukcy\":\"\\u0406\",\"iukcy\":\"\\u0456\",\"Iuml\":\"\\xcf\",\"iuml\":\"\\xef\",\"Jcirc\":\"\\u0134\",\"jcirc\":\"\\u0135\",\"Jcy\":\"\\u0419\",\"jcy\":\"\\u0439\",\"Jfr\":\"\\ud835\\udd0d\",\"jfr\":\"\\ud835\\udd27\",\"jmath\":\"\\u0237\",\"Jopf\":\"\\ud835\\udd41\",\"jopf\":\"\\ud835\\udd5b\",\"Jscr\":\"\\ud835\\udca5\",\"jscr\":\"\\ud835\\udcbf\",\"Jsercy\":\"\\u0408\",\"jsercy\":\"\\u0458\",\"Jukcy\":\"\\u0404\",\"jukcy\":\"\\u0454\",\"Kappa\":\"\\u039a\",\"kappa\":\"\\u03ba\",\"kappav\":\"\\u03f0\",\"Kcedil\":\"\\u0136\",\"kcedil\":\"\\u0137\",\"Kcy\":\"\\u041a\",\"kcy\":\"\\u043a\",\"Kfr\":\"\\ud835\\udd0e\",\"kfr\":\"\\ud835\\udd28\",\"kgreen\":\"\\u0138\",\"KHcy\":\"\\u0425\",\"khcy\":\"\\u0445\",\"KJcy\":\"\\u040c\",\"kjcy\":\"\\u045c\",\"Kopf\":\"\\ud835\\udd42\",\"kopf\":\"\\ud835\\udd5c\",\"Kscr\":\"\\ud835\\udca6\",\"kscr\":\"\\ud835\\udcc0\",\"lAarr\":\"\\u21da\",\"Lacute\":\"\\u0139\",\"lacute\":\"\\u013a\",\"laemptyv\":\"\\u29b4\",\"lagran\":\"\\u2112\",\"Lambda\":\"\\u039b\",\"lambda\":\"\\u03bb\",\"lang\":\"\\u27e8\",\"Lang\":\"\\u27ea\",\"langd\":\"\\u2991\",\"langle\":\"\\u27e8\",\"lap\":\"\\u2a85\",\"Laplacetrf\":\"\\u2112\",\"laquo\":\"\\xab\",\"larrb\":\"\\u21e4\",\"larrbfs\":\"\\u291f\",\"larr\":\"\\u2190\",\"Larr\":\"\\u219e\",\"lArr\":\"\\u21d0\",\"larrfs\":\"\\u291d\",\"larrhk\":\"\\u21a9\",\"larrlp\":\"\\u21ab\",\"larrpl\":\"\\u2939\",\"larrsim\":\"\\u2973\",\"larrtl\":\"\\u21a2\",\"latail\":\"\\u2919\",\"lAtail\":\"\\u291b\",\"lat\":\"\\u2aab\",\"late\":\"\\u2aad\",\"lates\":\"\\u2aad\\ufe00\",\"lbarr\":\"\\u290c\",\"lBarr\":\"\\u290e\",\"lbbrk\":\"\\u2772\",\"lbrace\":\"{\",\"lbrack\":\"[\",\"lbrke\":\"\\u298b\",\"lbrksld\":\"\\u298f\",\"lbrkslu\":\"\\u298d\",\"Lcaron\":\"\\u013d\",\"lcaron\":\"\\u013e\",\"Lcedil\":\"\\u013b\",\"lcedil\":\"\\u013c\",\"lceil\":\"\\u2308\",\"lcub\":\"{\",\"Lcy\":\"\\u041b\",\"lcy\":\"\\u043b\",\"ldca\":\"\\u2936\",\"ldquo\":\"\\u201c\",\"ldquor\":\"\\u201e\",\"ldrdhar\":\"\\u2967\",\"ldrushar\":\"\\u294b\",\"ldsh\":\"\\u21b2\",\"le\":\"\\u2264\",\"lE\":\"\\u2266\",\"LeftAngleBracket\":\"\\u27e8\",\"LeftArrowBar\":\"\\u21e4\",\"leftarrow\":\"\\u2190\",\"LeftArrow\":\"\\u2190\",\"Leftarrow\":\"\\u21d0\",\"LeftArrowRightArrow\":\"\\u21c6\",\"leftarrowtail\":\"\\u21a2\",\"LeftCeiling\":\"\\u2308\",\"LeftDoubleBracket\":\"\\u27e6\",\"LeftDownTeeVector\":\"\\u2961\",\"LeftDownVectorBar\":\"\\u2959\",\"LeftDownVector\":\"\\u21c3\",\"LeftFloor\":\"\\u230a\",\"leftharpoondown\":\"\\u21bd\",\"leftharpoonup\":\"\\u21bc\",\"leftleftarrows\":\"\\u21c7\",\"leftrightarrow\":\"\\u2194\",\"LeftRightArrow\":\"\\u2194\",\"Leftrightarrow\":\"\\u21d4\",\"leftrightarrows\":\"\\u21c6\",\"leftrightharpoons\":\"\\u21cb\",\"leftrightsquigarrow\":\"\\u21ad\",\"LeftRightVector\":\"\\u294e\",\"LeftTeeArrow\":\"\\u21a4\",\"LeftTee\":\"\\u22a3\",\"LeftTeeVector\":\"\\u295a\",\"leftthreetimes\":\"\\u22cb\",\"LeftTriangleBar\":\"\\u29cf\",\"LeftTriangle\":\"\\u22b2\",\"LeftTriangleEqual\":\"\\u22b4\",\"LeftUpDownVector\":\"\\u2951\",\"LeftUpTeeVector\":\"\\u2960\",\"LeftUpVectorBar\":\"\\u2958\",\"LeftUpVector\":\"\\u21bf\",\"LeftVectorBar\":\"\\u2952\",\"LeftVector\":\"\\u21bc\",\"lEg\":\"\\u2a8b\",\"leg\":\"\\u22da\",\"leq\":\"\\u2264\",\"leqq\":\"\\u2266\",\"leqslant\":\"\\u2a7d\",\"lescc\":\"\\u2aa8\",\"les\":\"\\u2a7d\",\"lesdot\":\"\\u2a7f\",\"lesdoto\":\"\\u2a81\",\"lesdotor\":\"\\u2a83\",\"lesg\":\"\\u22da\\ufe00\",\"lesges\":\"\\u2a93\",\"lessapprox\":\"\\u2a85\",\"lessdot\":\"\\u22d6\",\"lesseqgtr\":\"\\u22da\",\"lesseqqgtr\":\"\\u2a8b\",\"LessEqualGreater\":\"\\u22da\",\"LessFullEqual\":\"\\u2266\",\"LessGreater\":\"\\u2276\",\"lessgtr\":\"\\u2276\",\"LessLess\":\"\\u2aa1\",\"lesssim\":\"\\u2272\",\"LessSlantEqual\":\"\\u2a7d\",\"LessTilde\":\"\\u2272\",\"lfisht\":\"\\u297c\",\"lfloor\":\"\\u230a\",\"Lfr\":\"\\ud835\\udd0f\",\"lfr\":\"\\ud835\\udd29\",\"lg\":\"\\u2276\",\"lgE\":\"\\u2a91\",\"lHar\":\"\\u2962\",\"lhard\":\"\\u21bd\",\"lharu\":\"\\u21bc\",\"lharul\":\"\\u296a\",\"lhblk\":\"\\u2584\",\"LJcy\":\"\\u0409\",\"ljcy\":\"\\u0459\",\"llarr\":\"\\u21c7\",\"ll\":\"\\u226a\",\"Ll\":\"\\u22d8\",\"llcorner\":\"\\u231e\",\"Lleftarrow\":\"\\u21da\",\"llhard\":\"\\u296b\",\"lltri\":\"\\u25fa\",\"Lmidot\":\"\\u013f\",\"lmidot\":\"\\u0140\",\"lmoustache\":\"\\u23b0\",\"lmoust\":\"\\u23b0\",\"lnap\":\"\\u2a89\",\"lnapprox\":\"\\u2a89\",\"lne\":\"\\u2a87\",\"lnE\":\"\\u2268\",\"lneq\":\"\\u2a87\",\"lneqq\":\"\\u2268\",\"lnsim\":\"\\u22e6\",\"loang\":\"\\u27ec\",\"loarr\":\"\\u21fd\",\"lobrk\":\"\\u27e6\",\"longleftarrow\":\"\\u27f5\",\"LongLeftArrow\":\"\\u27f5\",\"Longleftarrow\":\"\\u27f8\",\"longleftrightarrow\":\"\\u27f7\",\"LongLeftRightArrow\":\"\\u27f7\",\"Longleftrightarrow\":\"\\u27fa\",\"longmapsto\":\"\\u27fc\",\"longrightarrow\":\"\\u27f6\",\"LongRightArrow\":\"\\u27f6\",\"Longrightarrow\":\"\\u27f9\",\"looparrowleft\":\"\\u21ab\",\"looparrowright\":\"\\u21ac\",\"lopar\":\"\\u2985\",\"Lopf\":\"\\ud835\\udd43\",\"lopf\":\"\\ud835\\udd5d\",\"loplus\":\"\\u2a2d\",\"lotimes\":\"\\u2a34\",\"lowast\":\"\\u2217\",\"lowbar\":\"_\",\"LowerLeftArrow\":\"\\u2199\",\"LowerRightArrow\":\"\\u2198\",\"loz\":\"\\u25ca\",\"lozenge\":\"\\u25ca\",\"lozf\":\"\\u29eb\",\"lpar\":\"(\",\"lparlt\":\"\\u2993\",\"lrarr\":\"\\u21c6\",\"lrcorner\":\"\\u231f\",\"lrhar\":\"\\u21cb\",\"lrhard\":\"\\u296d\",\"lrm\":\"\\u200e\",\"lrtri\":\"\\u22bf\",\"lsaquo\":\"\\u2039\",\"lscr\":\"\\ud835\\udcc1\",\"Lscr\":\"\\u2112\",\"lsh\":\"\\u21b0\",\"Lsh\":\"\\u21b0\",\"lsim\":\"\\u2272\",\"lsime\":\"\\u2a8d\",\"lsimg\":\"\\u2a8f\",\"lsqb\":\"[\",\"lsquo\":\"\\u2018\",\"lsquor\":\"\\u201a\",\"Lstrok\":\"\\u0141\",\"lstrok\":\"\\u0142\",\"ltcc\":\"\\u2aa6\",\"ltcir\":\"\\u2a79\",\"lt\":\"<\",\"LT\":\"<\",\"Lt\":\"\\u226a\",\"ltdot\":\"\\u22d6\",\"lthree\":\"\\u22cb\",\"ltimes\":\"\\u22c9\",\"ltlarr\":\"\\u2976\",\"ltquest\":\"\\u2a7b\",\"ltri\":\"\\u25c3\",\"ltrie\":\"\\u22b4\",\"ltrif\":\"\\u25c2\",\"ltrPar\":\"\\u2996\",\"lurdshar\":\"\\u294a\",\"luruhar\":\"\\u2966\",\"lvertneqq\":\"\\u2268\\ufe00\",\"lvnE\":\"\\u2268\\ufe00\",\"macr\":\"\\xaf\",\"male\":\"\\u2642\",\"malt\":\"\\u2720\",\"maltese\":\"\\u2720\",\"Map\":\"\\u2905\",\"map\":\"\\u21a6\",\"mapsto\":\"\\u21a6\",\"mapstodown\":\"\\u21a7\",\"mapstoleft\":\"\\u21a4\",\"mapstoup\":\"\\u21a5\",\"marker\":\"\\u25ae\",\"mcomma\":\"\\u2a29\",\"Mcy\":\"\\u041c\",\"mcy\":\"\\u043c\",\"mdash\":\"\\u2014\",\"mDDot\":\"\\u223a\",\"measuredangle\":\"\\u2221\",\"MediumSpace\":\"\\u205f\",\"Mellintrf\":\"\\u2133\",\"Mfr\":\"\\ud835\\udd10\",\"mfr\":\"\\ud835\\udd2a\",\"mho\":\"\\u2127\",\"micro\":\"\\xb5\",\"midast\":\"*\",\"midcir\":\"\\u2af0\",\"mid\":\"\\u2223\",\"middot\":\"\\xb7\",\"minusb\":\"\\u229f\",\"minus\":\"\\u2212\",\"minusd\":\"\\u2238\",\"minusdu\":\"\\u2a2a\",\"MinusPlus\":\"\\u2213\",\"mlcp\":\"\\u2adb\",\"mldr\":\"\\u2026\",\"mnplus\":\"\\u2213\",\"models\":\"\\u22a7\",\"Mopf\":\"\\ud835\\udd44\",\"mopf\":\"\\ud835\\udd5e\",\"mp\":\"\\u2213\",\"mscr\":\"\\ud835\\udcc2\",\"Mscr\":\"\\u2133\",\"mstpos\":\"\\u223e\",\"Mu\":\"\\u039c\",\"mu\":\"\\u03bc\",\"multimap\":\"\\u22b8\",\"mumap\":\"\\u22b8\",\"nabla\":\"\\u2207\",\"Nacute\":\"\\u0143\",\"nacute\":\"\\u0144\",\"nang\":\"\\u2220\\u20d2\",\"nap\":\"\\u2249\",\"napE\":\"\\u2a70\\u0338\",\"napid\":\"\\u224b\\u0338\",\"napos\":\"\\u0149\",\"napprox\":\"\\u2249\",\"natural\":\"\\u266e\",\"naturals\":\"\\u2115\",\"natur\":\"\\u266e\",\"nbsp\":\"\\xa0\",\"nbump\":\"\\u224e\\u0338\",\"nbumpe\":\"\\u224f\\u0338\",\"ncap\":\"\\u2a43\",\"Ncaron\":\"\\u0147\",\"ncaron\":\"\\u0148\",\"Ncedil\":\"\\u0145\",\"ncedil\":\"\\u0146\",\"ncong\":\"\\u2247\",\"ncongdot\":\"\\u2a6d\\u0338\",\"ncup\":\"\\u2a42\",\"Ncy\":\"\\u041d\",\"ncy\":\"\\u043d\",\"ndash\":\"\\u2013\",\"nearhk\":\"\\u2924\",\"nearr\":\"\\u2197\",\"neArr\":\"\\u21d7\",\"nearrow\":\"\\u2197\",\"ne\":\"\\u2260\",\"nedot\":\"\\u2250\\u0338\",\"NegativeMediumSpace\":\"\\u200b\",\"NegativeThickSpace\":\"\\u200b\",\"NegativeThinSpace\":\"\\u200b\",\"NegativeVeryThinSpace\":\"\\u200b\",\"nequiv\":\"\\u2262\",\"nesear\":\"\\u2928\",\"nesim\":\"\\u2242\\u0338\",\"NestedGreaterGreater\":\"\\u226b\",\"NestedLessLess\":\"\\u226a\",\"NewLine\":\"\\\\n\",\"nexist\":\"\\u2204\",\"nexists\":\"\\u2204\",\"Nfr\":\"\\ud835\\udd11\",\"nfr\":\"\\ud835\\udd2b\",\"ngE\":\"\\u2267\\u0338\",\"nge\":\"\\u2271\",\"ngeq\":\"\\u2271\",\"ngeqq\":\"\\u2267\\u0338\",\"ngeqslant\":\"\\u2a7e\\u0338\",\"nges\":\"\\u2a7e\\u0338\",\"nGg\":\"\\u22d9\\u0338\",\"ngsim\":\"\\u2275\",\"nGt\":\"\\u226b\\u20d2\",\"ngt\":\"\\u226f\",\"ngtr\":\"\\u226f\",\"nGtv\":\"\\u226b\\u0338\",\"nharr\":\"\\u21ae\",\"nhArr\":\"\\u21ce\",\"nhpar\":\"\\u2af2\",\"ni\":\"\\u220b\",\"nis\":\"\\u22fc\",\"nisd\":\"\\u22fa\",\"niv\":\"\\u220b\",\"NJcy\":\"\\u040a\",\"njcy\":\"\\u045a\",\"nlarr\":\"\\u219a\",\"nlArr\":\"\\u21cd\",\"nldr\":\"\\u2025\",\"nlE\":\"\\u2266\\u0338\",\"nle\":\"\\u2270\",\"nleftarrow\":\"\\u219a\",\"nLeftarrow\":\"\\u21cd\",\"nleftrightarrow\":\"\\u21ae\",\"nLeftrightarrow\":\"\\u21ce\",\"nleq\":\"\\u2270\",\"nleqq\":\"\\u2266\\u0338\",\"nleqslant\":\"\\u2a7d\\u0338\",\"nles\":\"\\u2a7d\\u0338\",\"nless\":\"\\u226e\",\"nLl\":\"\\u22d8\\u0338\",\"nlsim\":\"\\u2274\",\"nLt\":\"\\u226a\\u20d2\",\"nlt\":\"\\u226e\",\"nltri\":\"\\u22ea\",\"nltrie\":\"\\u22ec\",\"nLtv\":\"\\u226a\\u0338\",\"nmid\":\"\\u2224\",\"NoBreak\":\"\\u2060\",\"NonBreakingSpace\":\"\\xa0\",\"nopf\":\"\\ud835\\udd5f\",\"Nopf\":\"\\u2115\",\"Not\":\"\\u2aec\",\"not\":\"\\xac\",\"NotCongruent\":\"\\u2262\",\"NotCupCap\":\"\\u226d\",\"NotDoubleVerticalBar\":\"\\u2226\",\"NotElement\":\"\\u2209\",\"NotEqual\":\"\\u2260\",\"NotEqualTilde\":\"\\u2242\\u0338\",\"NotExists\":\"\\u2204\",\"NotGreater\":\"\\u226f\",\"NotGreaterEqual\":\"\\u2271\",\"NotGreaterFullEqual\":\"\\u2267\\u0338\",\"NotGreaterGreater\":\"\\u226b\\u0338\",\"NotGreaterLess\":\"\\u2279\",\"NotGreaterSlantEqual\":\"\\u2a7e\\u0338\",\"NotGreaterTilde\":\"\\u2275\",\"NotHumpDownHump\":\"\\u224e\\u0338\",\"NotHumpEqual\":\"\\u224f\\u0338\",\"notin\":\"\\u2209\",\"notindot\":\"\\u22f5\\u0338\",\"notinE\":\"\\u22f9\\u0338\",\"notinva\":\"\\u2209\",\"notinvb\":\"\\u22f7\",\"notinvc\":\"\\u22f6\",\"NotLeftTriangleBar\":\"\\u29cf\\u0338\",\"NotLeftTriangle\":\"\\u22ea\",\"NotLeftTriangleEqual\":\"\\u22ec\",\"NotLess\":\"\\u226e\",\"NotLessEqual\":\"\\u2270\",\"NotLessGreater\":\"\\u2278\",\"NotLessLess\":\"\\u226a\\u0338\",\"NotLessSlantEqual\":\"\\u2a7d\\u0338\",\"NotLessTilde\":\"\\u2274\",\"NotNestedGreaterGreater\":\"\\u2aa2\\u0338\",\"NotNestedLessLess\":\"\\u2aa1\\u0338\",\"notni\":\"\\u220c\",\"notniva\":\"\\u220c\",\"notnivb\":\"\\u22fe\",\"notnivc\":\"\\u22fd\",\"NotPrecedes\":\"\\u2280\",\"NotPrecedesEqual\":\"\\u2aaf\\u0338\",\"NotPrecedesSlantEqual\":\"\\u22e0\",\"NotReverseElement\":\"\\u220c\",\"NotRightTriangleBar\":\"\\u29d0\\u0338\",\"NotRightTriangle\":\"\\u22eb\",\"NotRightTriangleEqual\":\"\\u22ed\",\"NotSquareSubset\":\"\\u228f\\u0338\",\"NotSquareSubsetEqual\":\"\\u22e2\",\"NotSquareSuperset\":\"\\u2290\\u0338\",\"NotSquareSupersetEqual\":\"\\u22e3\",\"NotSubset\":\"\\u2282\\u20d2\",\"NotSubsetEqual\":\"\\u2288\",\"NotSucceeds\":\"\\u2281\",\"NotSucceedsEqual\":\"\\u2ab0\\u0338\",\"NotSucceedsSlantEqual\":\"\\u22e1\",\"NotSucceedsTilde\":\"\\u227f\\u0338\",\"NotSuperset\":\"\\u2283\\u20d2\",\"NotSupersetEqual\":\"\\u2289\",\"NotTilde\":\"\\u2241\",\"NotTildeEqual\":\"\\u2244\",\"NotTildeFullEqual\":\"\\u2247\",\"NotTildeTilde\":\"\\u2249\",\"NotVerticalBar\":\"\\u2224\",\"nparallel\":\"\\u2226\",\"npar\":\"\\u2226\",\"nparsl\":\"\\u2afd\\u20e5\",\"npart\":\"\\u2202\\u0338\",\"npolint\":\"\\u2a14\",\"npr\":\"\\u2280\",\"nprcue\":\"\\u22e0\",\"nprec\":\"\\u2280\",\"npreceq\":\"\\u2aaf\\u0338\",\"npre\":\"\\u2aaf\\u0338\",\"nrarrc\":\"\\u2933\\u0338\",\"nrarr\":\"\\u219b\",\"nrArr\":\"\\u21cf\",\"nrarrw\":\"\\u219d\\u0338\",\"nrightarrow\":\"\\u219b\",\"nRightarrow\":\"\\u21cf\",\"nrtri\":\"\\u22eb\",\"nrtrie\":\"\\u22ed\",\"nsc\":\"\\u2281\",\"nsccue\":\"\\u22e1\",\"nsce\":\"\\u2ab0\\u0338\",\"Nscr\":\"\\ud835\\udca9\",\"nscr\":\"\\ud835\\udcc3\",\"nshortmid\":\"\\u2224\",\"nshortparallel\":\"\\u2226\",\"nsim\":\"\\u2241\",\"nsime\":\"\\u2244\",\"nsimeq\":\"\\u2244\",\"nsmid\":\"\\u2224\",\"nspar\":\"\\u2226\",\"nsqsube\":\"\\u22e2\",\"nsqsupe\":\"\\u22e3\",\"nsub\":\"\\u2284\",\"nsubE\":\"\\u2ac5\\u0338\",\"nsube\":\"\\u2288\",\"nsubset\":\"\\u2282\\u20d2\",\"nsubseteq\":\"\\u2288\",\"nsubseteqq\":\"\\u2ac5\\u0338\",\"nsucc\":\"\\u2281\",\"nsucceq\":\"\\u2ab0\\u0338\",\"nsup\":\"\\u2285\",\"nsupE\":\"\\u2ac6\\u0338\",\"nsupe\":\"\\u2289\",\"nsupset\":\"\\u2283\\u20d2\",\"nsupseteq\":\"\\u2289\",\"nsupseteqq\":\"\\u2ac6\\u0338\",\"ntgl\":\"\\u2279\",\"Ntilde\":\"\\xd1\",\"ntilde\":\"\\xf1\",\"ntlg\":\"\\u2278\",\"ntriangleleft\":\"\\u22ea\",\"ntrianglelefteq\":\"\\u22ec\",\"ntriangleright\":\"\\u22eb\",\"ntrianglerighteq\":\"\\u22ed\",\"Nu\":\"\\u039d\",\"nu\":\"\\u03bd\",\"num\":\"#\",\"numero\":\"\\u2116\",\"numsp\":\"\\u2007\",\"nvap\":\"\\u224d\\u20d2\",\"nvdash\":\"\\u22ac\",\"nvDash\":\"\\u22ad\",\"nVdash\":\"\\u22ae\",\"nVDash\":\"\\u22af\",\"nvge\":\"\\u2265\\u20d2\",\"nvgt\":\">\\u20d2\",\"nvHarr\":\"\\u2904\",\"nvinfin\":\"\\u29de\",\"nvlArr\":\"\\u2902\",\"nvle\":\"\\u2264\\u20d2\",\"nvlt\":\"<\\u20d2\",\"nvltrie\":\"\\u22b4\\u20d2\",\"nvrArr\":\"\\u2903\",\"nvrtrie\":\"\\u22b5\\u20d2\",\"nvsim\":\"\\u223c\\u20d2\",\"nwarhk\":\"\\u2923\",\"nwarr\":\"\\u2196\",\"nwArr\":\"\\u21d6\",\"nwarrow\":\"\\u2196\",\"nwnear\":\"\\u2927\",\"Oacute\":\"\\xd3\",\"oacute\":\"\\xf3\",\"oast\":\"\\u229b\",\"Ocirc\":\"\\xd4\",\"ocirc\":\"\\xf4\",\"ocir\":\"\\u229a\",\"Ocy\":\"\\u041e\",\"ocy\":\"\\u043e\",\"odash\":\"\\u229d\",\"Odblac\":\"\\u0150\",\"odblac\":\"\\u0151\",\"odiv\":\"\\u2a38\",\"odot\":\"\\u2299\",\"odsold\":\"\\u29bc\",\"OElig\":\"\\u0152\",\"oelig\":\"\\u0153\",\"ofcir\":\"\\u29bf\",\"Ofr\":\"\\ud835\\udd12\",\"ofr\":\"\\ud835\\udd2c\",\"ogon\":\"\\u02db\",\"Ograve\":\"\\xd2\",\"ograve\":\"\\xf2\",\"ogt\":\"\\u29c1\",\"ohbar\":\"\\u29b5\",\"ohm\":\"\\u03a9\",\"oint\":\"\\u222e\",\"olarr\":\"\\u21ba\",\"olcir\":\"\\u29be\",\"olcross\":\"\\u29bb\",\"oline\":\"\\u203e\",\"olt\":\"\\u29c0\",\"Omacr\":\"\\u014c\",\"omacr\":\"\\u014d\",\"Omega\":\"\\u03a9\",\"omega\":\"\\u03c9\",\"Omicron\":\"\\u039f\",\"omicron\":\"\\u03bf\",\"omid\":\"\\u29b6\",\"ominus\":\"\\u2296\",\"Oopf\":\"\\ud835\\udd46\",\"oopf\":\"\\ud835\\udd60\",\"opar\":\"\\u29b7\",\"OpenCurlyDoubleQuote\":\"\\u201c\",\"OpenCurlyQuote\":\"\\u2018\",\"operp\":\"\\u29b9\",\"oplus\":\"\\u2295\",\"orarr\":\"\\u21bb\",\"Or\":\"\\u2a54\",\"or\":\"\\u2228\",\"ord\":\"\\u2a5d\",\"order\":\"\\u2134\",\"orderof\":\"\\u2134\",\"ordf\":\"\\xaa\",\"ordm\":\"\\xba\",\"origof\":\"\\u22b6\",\"oror\":\"\\u2a56\",\"orslope\":\"\\u2a57\",\"orv\":\"\\u2a5b\",\"oS\":\"\\u24c8\",\"Oscr\":\"\\ud835\\udcaa\",\"oscr\":\"\\u2134\",\"Oslash\":\"\\xd8\",\"oslash\":\"\\xf8\",\"osol\":\"\\u2298\",\"Otilde\":\"\\xd5\",\"otilde\":\"\\xf5\",\"otimesas\":\"\\u2a36\",\"Otimes\":\"\\u2a37\",\"otimes\":\"\\u2297\",\"Ouml\":\"\\xd6\",\"ouml\":\"\\xf6\",\"ovbar\":\"\\u233d\",\"OverBar\":\"\\u203e\",\"OverBrace\":\"\\u23de\",\"OverBracket\":\"\\u23b4\",\"OverParenthesis\":\"\\u23dc\",\"para\":\"\\xb6\",\"parallel\":\"\\u2225\",\"par\":\"\\u2225\",\"parsim\":\"\\u2af3\",\"parsl\":\"\\u2afd\",\"part\":\"\\u2202\",\"PartialD\":\"\\u2202\",\"Pcy\":\"\\u041f\",\"pcy\":\"\\u043f\",\"percnt\":\"%\",\"period\":\".\",\"permil\":\"\\u2030\",\"perp\":\"\\u22a5\",\"pertenk\":\"\\u2031\",\"Pfr\":\"\\ud835\\udd13\",\"pfr\":\"\\ud835\\udd2d\",\"Phi\":\"\\u03a6\",\"phi\":\"\\u03c6\",\"phiv\":\"\\u03d5\",\"phmmat\":\"\\u2133\",\"phone\":\"\\u260e\",\"Pi\":\"\\u03a0\",\"pi\":\"\\u03c0\",\"pitchfork\":\"\\u22d4\",\"piv\":\"\\u03d6\",\"planck\":\"\\u210f\",\"planckh\":\"\\u210e\",\"plankv\":\"\\u210f\",\"plusacir\":\"\\u2a23\",\"plusb\":\"\\u229e\",\"pluscir\":\"\\u2a22\",\"plus\":\"+\",\"plusdo\":\"\\u2214\",\"plusdu\":\"\\u2a25\",\"pluse\":\"\\u2a72\",\"PlusMinus\":\"\\xb1\",\"plusmn\":\"\\xb1\",\"plussim\":\"\\u2a26\",\"plustwo\":\"\\u2a27\",\"pm\":\"\\xb1\",\"Poincareplane\":\"\\u210c\",\"pointint\":\"\\u2a15\",\"popf\":\"\\ud835\\udd61\",\"Popf\":\"\\u2119\",\"pound\":\"\\xa3\",\"prap\":\"\\u2ab7\",\"Pr\":\"\\u2abb\",\"pr\":\"\\u227a\",\"prcue\":\"\\u227c\",\"precapprox\":\"\\u2ab7\",\"prec\":\"\\u227a\",\"preccurlyeq\":\"\\u227c\",\"Precedes\":\"\\u227a\",\"PrecedesEqual\":\"\\u2aaf\",\"PrecedesSlantEqual\":\"\\u227c\",\"PrecedesTilde\":\"\\u227e\",\"preceq\":\"\\u2aaf\",\"precnapprox\":\"\\u2ab9\",\"precneqq\":\"\\u2ab5\",\"precnsim\":\"\\u22e8\",\"pre\":\"\\u2aaf\",\"prE\":\"\\u2ab3\",\"precsim\":\"\\u227e\",\"prime\":\"\\u2032\",\"Prime\":\"\\u2033\",\"primes\":\"\\u2119\",\"prnap\":\"\\u2ab9\",\"prnE\":\"\\u2ab5\",\"prnsim\":\"\\u22e8\",\"prod\":\"\\u220f\",\"Product\":\"\\u220f\",\"profalar\":\"\\u232e\",\"profline\":\"\\u2312\",\"profsurf\":\"\\u2313\",\"prop\":\"\\u221d\",\"Proportional\":\"\\u221d\",\"Proportion\":\"\\u2237\",\"propto\":\"\\u221d\",\"prsim\":\"\\u227e\",\"prurel\":\"\\u22b0\",\"Pscr\":\"\\ud835\\udcab\",\"pscr\":\"\\ud835\\udcc5\",\"Psi\":\"\\u03a8\",\"psi\":\"\\u03c8\",\"puncsp\":\"\\u2008\",\"Qfr\":\"\\ud835\\udd14\",\"qfr\":\"\\ud835\\udd2e\",\"qint\":\"\\u2a0c\",\"qopf\":\"\\ud835\\udd62\",\"Qopf\":\"\\u211a\",\"qprime\":\"\\u2057\",\"Qscr\":\"\\ud835\\udcac\",\"qscr\":\"\\ud835\\udcc6\",\"quaternions\":\"\\u210d\",\"quatint\":\"\\u2a16\",\"quest\":\"?\",\"questeq\":\"\\u225f\",\"quot\":\"\\\\\"\",\"QUOT\":\"\\\\\"\",\"rAarr\":\"\\u21db\",\"race\":\"\\u223d\\u0331\",\"Racute\":\"\\u0154\",\"racute\":\"\\u0155\",\"radic\":\"\\u221a\",\"raemptyv\":\"\\u29b3\",\"rang\":\"\\u27e9\",\"Rang\":\"\\u27eb\",\"rangd\":\"\\u2992\",\"range\":\"\\u29a5\",\"rangle\":\"\\u27e9\",\"raquo\":\"\\xbb\",\"rarrap\":\"\\u2975\",\"rarrb\":\"\\u21e5\",\"rarrbfs\":\"\\u2920\",\"rarrc\":\"\\u2933\",\"rarr\":\"\\u2192\",\"Rarr\":\"\\u21a0\",\"rArr\":\"\\u21d2\",\"rarrfs\":\"\\u291e\",\"rarrhk\":\"\\u21aa\",\"rarrlp\":\"\\u21ac\",\"rarrpl\":\"\\u2945\",\"rarrsim\":\"\\u2974\",\"Rarrtl\":\"\\u2916\",\"rarrtl\":\"\\u21a3\",\"rarrw\":\"\\u219d\",\"ratail\":\"\\u291a\",\"rAtail\":\"\\u291c\",\"ratio\":\"\\u2236\",\"rationals\":\"\\u211a\",\"rbarr\":\"\\u290d\",\"rBarr\":\"\\u290f\",\"RBarr\":\"\\u2910\",\"rbbrk\":\"\\u2773\",\"rbrace\":\"}\",\"rbrack\":\"]\",\"rbrke\":\"\\u298c\",\"rbrksld\":\"\\u298e\",\"rbrkslu\":\"\\u2990\",\"Rcaron\":\"\\u0158\",\"rcaron\":\"\\u0159\",\"Rcedil\":\"\\u0156\",\"rcedil\":\"\\u0157\",\"rceil\":\"\\u2309\",\"rcub\":\"}\",\"Rcy\":\"\\u0420\",\"rcy\":\"\\u0440\",\"rdca\":\"\\u2937\",\"rdldhar\":\"\\u2969\",\"rdquo\":\"\\u201d\",\"rdquor\":\"\\u201d\",\"rdsh\":\"\\u21b3\",\"real\":\"\\u211c\",\"realine\":\"\\u211b\",\"realpart\":\"\\u211c\",\"reals\":\"\\u211d\",\"Re\":\"\\u211c\",\"rect\":\"\\u25ad\",\"reg\":\"\\xae\",\"REG\":\"\\xae\",\"ReverseElement\":\"\\u220b\",\"ReverseEquilibrium\":\"\\u21cb\",\"ReverseUpEquilibrium\":\"\\u296f\",\"rfisht\":\"\\u297d\",\"rfloor\":\"\\u230b\",\"rfr\":\"\\ud835\\udd2f\",\"Rfr\":\"\\u211c\",\"rHar\":\"\\u2964\",\"rhard\":\"\\u21c1\",\"rharu\":\"\\u21c0\",\"rharul\":\"\\u296c\",\"Rho\":\"\\u03a1\",\"rho\":\"\\u03c1\",\"rhov\":\"\\u03f1\",\"RightAngleBracket\":\"\\u27e9\",\"RightArrowBar\":\"\\u21e5\",\"rightarrow\":\"\\u2192\",\"RightArrow\":\"\\u2192\",\"Rightarrow\":\"\\u21d2\",\"RightArrowLeftArrow\":\"\\u21c4\",\"rightarrowtail\":\"\\u21a3\",\"RightCeiling\":\"\\u2309\",\"RightDoubleBracket\":\"\\u27e7\",\"RightDownTeeVector\":\"\\u295d\",\"RightDownVectorBar\":\"\\u2955\",\"RightDownVector\":\"\\u21c2\",\"RightFloor\":\"\\u230b\",\"rightharpoondown\":\"\\u21c1\",\"rightharpoonup\":\"\\u21c0\",\"rightleftarrows\":\"\\u21c4\",\"rightleftharpoons\":\"\\u21cc\",\"rightrightarrows\":\"\\u21c9\",\"rightsquigarrow\":\"\\u219d\",\"RightTeeArrow\":\"\\u21a6\",\"RightTee\":\"\\u22a2\",\"RightTeeVector\":\"\\u295b\",\"rightthreetimes\":\"\\u22cc\",\"RightTriangleBar\":\"\\u29d0\",\"RightTriangle\":\"\\u22b3\",\"RightTriangleEqual\":\"\\u22b5\",\"RightUpDownVector\":\"\\u294f\",\"RightUpTeeVector\":\"\\u295c\",\"RightUpVectorBar\":\"\\u2954\",\"RightUpVector\":\"\\u21be\",\"RightVectorBar\":\"\\u2953\",\"RightVector\":\"\\u21c0\",\"ring\":\"\\u02da\",\"risingdotseq\":\"\\u2253\",\"rlarr\":\"\\u21c4\",\"rlhar\":\"\\u21cc\",\"rlm\":\"\\u200f\",\"rmoustache\":\"\\u23b1\",\"rmoust\":\"\\u23b1\",\"rnmid\":\"\\u2aee\",\"roang\":\"\\u27ed\",\"roarr\":\"\\u21fe\",\"robrk\":\"\\u27e7\",\"ropar\":\"\\u2986\",\"ropf\":\"\\ud835\\udd63\",\"Ropf\":\"\\u211d\",\"roplus\":\"\\u2a2e\",\"rotimes\":\"\\u2a35\",\"RoundImplies\":\"\\u2970\",\"rpar\":\")\",\"rpargt\":\"\\u2994\",\"rppolint\":\"\\u2a12\",\"rrarr\":\"\\u21c9\",\"Rrightarrow\":\"\\u21db\",\"rsaquo\":\"\\u203a\",\"rscr\":\"\\ud835\\udcc7\",\"Rscr\":\"\\u211b\",\"rsh\":\"\\u21b1\",\"Rsh\":\"\\u21b1\",\"rsqb\":\"]\",\"rsquo\":\"\\u2019\",\"rsquor\":\"\\u2019\",\"rthree\":\"\\u22cc\",\"rtimes\":\"\\u22ca\",\"rtri\":\"\\u25b9\",\"rtrie\":\"\\u22b5\",\"rtrif\":\"\\u25b8\",\"rtriltri\":\"\\u29ce\",\"RuleDelayed\":\"\\u29f4\",\"ruluhar\":\"\\u2968\",\"rx\":\"\\u211e\",\"Sacute\":\"\\u015a\",\"sacute\":\"\\u015b\",\"sbquo\":\"\\u201a\",\"scap\":\"\\u2ab8\",\"Scaron\":\"\\u0160\",\"scaron\":\"\\u0161\",\"Sc\":\"\\u2abc\",\"sc\":\"\\u227b\",\"sccue\":\"\\u227d\",\"sce\":\"\\u2ab0\",\"scE\":\"\\u2ab4\",\"Scedil\":\"\\u015e\",\"scedil\":\"\\u015f\",\"Scirc\":\"\\u015c\",\"scirc\":\"\\u015d\",\"scnap\":\"\\u2aba\",\"scnE\":\"\\u2ab6\",\"scnsim\":\"\\u22e9\",\"scpolint\":\"\\u2a13\",\"scsim\":\"\\u227f\",\"Scy\":\"\\u0421\",\"scy\":\"\\u0441\",\"sdotb\":\"\\u22a1\",\"sdot\":\"\\u22c5\",\"sdote\":\"\\u2a66\",\"searhk\":\"\\u2925\",\"searr\":\"\\u2198\",\"seArr\":\"\\u21d8\",\"searrow\":\"\\u2198\",\"sect\":\"\\xa7\",\"semi\":\";\",\"seswar\":\"\\u2929\",\"setminus\":\"\\u2216\",\"setmn\":\"\\u2216\",\"sext\":\"\\u2736\",\"Sfr\":\"\\ud835\\udd16\",\"sfr\":\"\\ud835\\udd30\",\"sfrown\":\"\\u2322\",\"sharp\":\"\\u266f\",\"SHCHcy\":\"\\u0429\",\"shchcy\":\"\\u0449\",\"SHcy\":\"\\u0428\",\"shcy\":\"\\u0448\",\"ShortDownArrow\":\"\\u2193\",\"ShortLeftArrow\":\"\\u2190\",\"shortmid\":\"\\u2223\",\"shortparallel\":\"\\u2225\",\"ShortRightArrow\":\"\\u2192\",\"ShortUpArrow\":\"\\u2191\",\"shy\":\"\\xad\",\"Sigma\":\"\\u03a3\",\"sigma\":\"\\u03c3\",\"sigmaf\":\"\\u03c2\",\"sigmav\":\"\\u03c2\",\"sim\":\"\\u223c\",\"simdot\":\"\\u2a6a\",\"sime\":\"\\u2243\",\"simeq\":\"\\u2243\",\"simg\":\"\\u2a9e\",\"simgE\":\"\\u2aa0\",\"siml\":\"\\u2a9d\",\"simlE\":\"\\u2a9f\",\"simne\":\"\\u2246\",\"simplus\":\"\\u2a24\",\"simrarr\":\"\\u2972\",\"slarr\":\"\\u2190\",\"SmallCircle\":\"\\u2218\",\"smallsetminus\":\"\\u2216\",\"smashp\":\"\\u2a33\",\"smeparsl\":\"\\u29e4\",\"smid\":\"\\u2223\",\"smile\":\"\\u2323\",\"smt\":\"\\u2aaa\",\"smte\":\"\\u2aac\",\"smtes\":\"\\u2aac\\ufe00\",\"SOFTcy\":\"\\u042c\",\"softcy\":\"\\u044c\",\"solbar\":\"\\u233f\",\"solb\":\"\\u29c4\",\"sol\":\"/\",\"Sopf\":\"\\ud835\\udd4a\",\"sopf\":\"\\ud835\\udd64\",\"spades\":\"\\u2660\",\"spadesuit\":\"\\u2660\",\"spar\":\"\\u2225\",\"sqcap\":\"\\u2293\",\"sqcaps\":\"\\u2293\\ufe00\",\"sqcup\":\"\\u2294\",\"sqcups\":\"\\u2294\\ufe00\",\"Sqrt\":\"\\u221a\",\"sqsub\":\"\\u228f\",\"sqsube\":\"\\u2291\",\"sqsubset\":\"\\u228f\",\"sqsubseteq\":\"\\u2291\",\"sqsup\":\"\\u2290\",\"sqsupe\":\"\\u2292\",\"sqsupset\":\"\\u2290\",\"sqsupseteq\":\"\\u2292\",\"square\":\"\\u25a1\",\"Square\":\"\\u25a1\",\"SquareIntersection\":\"\\u2293\",\"SquareSubset\":\"\\u228f\",\"SquareSubsetEqual\":\"\\u2291\",\"SquareSuperset\":\"\\u2290\",\"SquareSupersetEqual\":\"\\u2292\",\"SquareUnion\":\"\\u2294\",\"squarf\":\"\\u25aa\",\"squ\":\"\\u25a1\",\"squf\":\"\\u25aa\",\"srarr\":\"\\u2192\",\"Sscr\":\"\\ud835\\udcae\",\"sscr\":\"\\ud835\\udcc8\",\"ssetmn\":\"\\u2216\",\"ssmile\":\"\\u2323\",\"sstarf\":\"\\u22c6\",\"Star\":\"\\u22c6\",\"star\":\"\\u2606\",\"starf\":\"\\u2605\",\"straightepsilon\":\"\\u03f5\",\"straightphi\":\"\\u03d5\",\"strns\":\"\\xaf\",\"sub\":\"\\u2282\",\"Sub\":\"\\u22d0\",\"subdot\":\"\\u2abd\",\"subE\":\"\\u2ac5\",\"sube\":\"\\u2286\",\"subedot\":\"\\u2ac3\",\"submult\":\"\\u2ac1\",\"subnE\":\"\\u2acb\",\"subne\":\"\\u228a\",\"subplus\":\"\\u2abf\",\"subrarr\":\"\\u2979\",\"subset\":\"\\u2282\",\"Subset\":\"\\u22d0\",\"subseteq\":\"\\u2286\",\"subseteqq\":\"\\u2ac5\",\"SubsetEqual\":\"\\u2286\",\"subsetneq\":\"\\u228a\",\"subsetneqq\":\"\\u2acb\",\"subsim\":\"\\u2ac7\",\"subsub\":\"\\u2ad5\",\"subsup\":\"\\u2ad3\",\"succapprox\":\"\\u2ab8\",\"succ\":\"\\u227b\",\"succcurlyeq\":\"\\u227d\",\"Succeeds\":\"\\u227b\",\"SucceedsEqual\":\"\\u2ab0\",\"SucceedsSlantEqual\":\"\\u227d\",\"SucceedsTilde\":\"\\u227f\",\"succeq\":\"\\u2ab0\",\"succnapprox\":\"\\u2aba\",\"succneqq\":\"\\u2ab6\",\"succnsim\":\"\\u22e9\",\"succsim\":\"\\u227f\",\"SuchThat\":\"\\u220b\",\"sum\":\"\\u2211\",\"Sum\":\"\\u2211\",\"sung\":\"\\u266a\",\"sup1\":\"\\xb9\",\"sup2\":\"\\xb2\",\"sup3\":\"\\xb3\",\"sup\":\"\\u2283\",\"Sup\":\"\\u22d1\",\"supdot\":\"\\u2abe\",\"supdsub\":\"\\u2ad8\",\"supE\":\"\\u2ac6\",\"supe\":\"\\u2287\",\"supedot\":\"\\u2ac4\",\"Superset\":\"\\u2283\",\"SupersetEqual\":\"\\u2287\",\"suphsol\":\"\\u27c9\",\"suphsub\":\"\\u2ad7\",\"suplarr\":\"\\u297b\",\"supmult\":\"\\u2ac2\",\"supnE\":\"\\u2acc\",\"supne\":\"\\u228b\",\"supplus\":\"\\u2ac0\",\"supset\":\"\\u2283\",\"Supset\":\"\\u22d1\",\"supseteq\":\"\\u2287\",\"supseteqq\":\"\\u2ac6\",\"supsetneq\":\"\\u228b\",\"supsetneqq\":\"\\u2acc\",\"supsim\":\"\\u2ac8\",\"supsub\":\"\\u2ad4\",\"supsup\":\"\\u2ad6\",\"swarhk\":\"\\u2926\",\"swarr\":\"\\u2199\",\"swArr\":\"\\u21d9\",\"swarrow\":\"\\u2199\",\"swnwar\":\"\\u292a\",\"szlig\":\"\\xdf\",\"Tab\":\"\\\\t\",\"target\":\"\\u2316\",\"Tau\":\"\\u03a4\",\"tau\":\"\\u03c4\",\"tbrk\":\"\\u23b4\",\"Tcaron\":\"\\u0164\",\"tcaron\":\"\\u0165\",\"Tcedil\":\"\\u0162\",\"tcedil\":\"\\u0163\",\"Tcy\":\"\\u0422\",\"tcy\":\"\\u0442\",\"tdot\":\"\\u20db\",\"telrec\":\"\\u2315\",\"Tfr\":\"\\ud835\\udd17\",\"tfr\":\"\\ud835\\udd31\",\"there4\":\"\\u2234\",\"therefore\":\"\\u2234\",\"Therefore\":\"\\u2234\",\"Theta\":\"\\u0398\",\"theta\":\"\\u03b8\",\"thetasym\":\"\\u03d1\",\"thetav\":\"\\u03d1\",\"thickapprox\":\"\\u2248\",\"thicksim\":\"\\u223c\",\"ThickSpace\":\"\\u205f\\u200a\",\"ThinSpace\":\"\\u2009\",\"thinsp\":\"\\u2009\",\"thkap\":\"\\u2248\",\"thksim\":\"\\u223c\",\"THORN\":\"\\xde\",\"thorn\":\"\\xfe\",\"tilde\":\"\\u02dc\",\"Tilde\":\"\\u223c\",\"TildeEqual\":\"\\u2243\",\"TildeFullEqual\":\"\\u2245\",\"TildeTilde\":\"\\u2248\",\"timesbar\":\"\\u2a31\",\"timesb\":\"\\u22a0\",\"times\":\"\\xd7\",\"timesd\":\"\\u2a30\",\"tint\":\"\\u222d\",\"toea\":\"\\u2928\",\"topbot\":\"\\u2336\",\"topcir\":\"\\u2af1\",\"top\":\"\\u22a4\",\"Topf\":\"\\ud835\\udd4b\",\"topf\":\"\\ud835\\udd65\",\"topfork\":\"\\u2ada\",\"tosa\":\"\\u2929\",\"tprime\":\"\\u2034\",\"trade\":\"\\u2122\",\"TRADE\":\"\\u2122\",\"triangle\":\"\\u25b5\",\"triangledown\":\"\\u25bf\",\"triangleleft\":\"\\u25c3\",\"trianglelefteq\":\"\\u22b4\",\"triangleq\":\"\\u225c\",\"triangleright\":\"\\u25b9\",\"trianglerighteq\":\"\\u22b5\",\"tridot\":\"\\u25ec\",\"trie\":\"\\u225c\",\"triminus\":\"\\u2a3a\",\"TripleDot\":\"\\u20db\",\"triplus\":\"\\u2a39\",\"trisb\":\"\\u29cd\",\"tritime\":\"\\u2a3b\",\"trpezium\":\"\\u23e2\",\"Tscr\":\"\\ud835\\udcaf\",\"tscr\":\"\\ud835\\udcc9\",\"TScy\":\"\\u0426\",\"tscy\":\"\\u0446\",\"TSHcy\":\"\\u040b\",\"tshcy\":\"\\u045b\",\"Tstrok\":\"\\u0166\",\"tstrok\":\"\\u0167\",\"twixt\":\"\\u226c\",\"twoheadleftarrow\":\"\\u219e\",\"twoheadrightarrow\":\"\\u21a0\",\"Uacute\":\"\\xda\",\"uacute\":\"\\xfa\",\"uarr\":\"\\u2191\",\"Uarr\":\"\\u219f\",\"uArr\":\"\\u21d1\",\"Uarrocir\":\"\\u2949\",\"Ubrcy\":\"\\u040e\",\"ubrcy\":\"\\u045e\",\"Ubreve\":\"\\u016c\",\"ubreve\":\"\\u016d\",\"Ucirc\":\"\\xdb\",\"ucirc\":\"\\xfb\",\"Ucy\":\"\\u0423\",\"ucy\":\"\\u0443\",\"udarr\":\"\\u21c5\",\"Udblac\":\"\\u0170\",\"udblac\":\"\\u0171\",\"udhar\":\"\\u296e\",\"ufisht\":\"\\u297e\",\"Ufr\":\"\\ud835\\udd18\",\"ufr\":\"\\ud835\\udd32\",\"Ugrave\":\"\\xd9\",\"ugrave\":\"\\xf9\",\"uHar\":\"\\u2963\",\"uharl\":\"\\u21bf\",\"uharr\":\"\\u21be\",\"uhblk\":\"\\u2580\",\"ulcorn\":\"\\u231c\",\"ulcorner\":\"\\u231c\",\"ulcrop\":\"\\u230f\",\"ultri\":\"\\u25f8\",\"Umacr\":\"\\u016a\",\"umacr\":\"\\u016b\",\"uml\":\"\\xa8\",\"UnderBar\":\"_\",\"UnderBrace\":\"\\u23df\",\"UnderBracket\":\"\\u23b5\",\"UnderParenthesis\":\"\\u23dd\",\"Union\":\"\\u22c3\",\"UnionPlus\":\"\\u228e\",\"Uogon\":\"\\u0172\",\"uogon\":\"\\u0173\",\"Uopf\":\"\\ud835\\udd4c\",\"uopf\":\"\\ud835\\udd66\",\"UpArrowBar\":\"\\u2912\",\"uparrow\":\"\\u2191\",\"UpArrow\":\"\\u2191\",\"Uparrow\":\"\\u21d1\",\"UpArrowDownArrow\":\"\\u21c5\",\"updownarrow\":\"\\u2195\",\"UpDownArrow\":\"\\u2195\",\"Updownarrow\":\"\\u21d5\",\"UpEquilibrium\":\"\\u296e\",\"upharpoonleft\":\"\\u21bf\",\"upharpoonright\":\"\\u21be\",\"uplus\":\"\\u228e\",\"UpperLeftArrow\":\"\\u2196\",\"UpperRightArrow\":\"\\u2197\",\"upsi\":\"\\u03c5\",\"Upsi\":\"\\u03d2\",\"upsih\":\"\\u03d2\",\"Upsilon\":\"\\u03a5\",\"upsilon\":\"\\u03c5\",\"UpTeeArrow\":\"\\u21a5\",\"UpTee\":\"\\u22a5\",\"upuparrows\":\"\\u21c8\",\"urcorn\":\"\\u231d\",\"urcorner\":\"\\u231d\",\"urcrop\":\"\\u230e\",\"Uring\":\"\\u016e\",\"uring\":\"\\u016f\",\"urtri\":\"\\u25f9\",\"Uscr\":\"\\ud835\\udcb0\",\"uscr\":\"\\ud835\\udcca\",\"utdot\":\"\\u22f0\",\"Utilde\":\"\\u0168\",\"utilde\":\"\\u0169\",\"utri\":\"\\u25b5\",\"utrif\":\"\\u25b4\",\"uuarr\":\"\\u21c8\",\"Uuml\":\"\\xdc\",\"uuml\":\"\\xfc\",\"uwangle\":\"\\u29a7\",\"vangrt\":\"\\u299c\",\"varepsilon\":\"\\u03f5\",\"varkappa\":\"\\u03f0\",\"varnothing\":\"\\u2205\",\"varphi\":\"\\u03d5\",\"varpi\":\"\\u03d6\",\"varpropto\":\"\\u221d\",\"varr\":\"\\u2195\",\"vArr\":\"\\u21d5\",\"varrho\":\"\\u03f1\",\"varsigma\":\"\\u03c2\",\"varsubsetneq\":\"\\u228a\\ufe00\",\"varsubsetneqq\":\"\\u2acb\\ufe00\",\"varsupsetneq\":\"\\u228b\\ufe00\",\"varsupsetneqq\":\"\\u2acc\\ufe00\",\"vartheta\":\"\\u03d1\",\"vartriangleleft\":\"\\u22b2\",\"vartriangleright\":\"\\u22b3\",\"vBar\":\"\\u2ae8\",\"Vbar\":\"\\u2aeb\",\"vBarv\":\"\\u2ae9\",\"Vcy\":\"\\u0412\",\"vcy\":\"\\u0432\",\"vdash\":\"\\u22a2\",\"vDash\":\"\\u22a8\",\"Vdash\":\"\\u22a9\",\"VDash\":\"\\u22ab\",\"Vdashl\":\"\\u2ae6\",\"veebar\":\"\\u22bb\",\"vee\":\"\\u2228\",\"Vee\":\"\\u22c1\",\"veeeq\":\"\\u225a\",\"vellip\":\"\\u22ee\",\"verbar\":\"|\",\"Verbar\":\"\\u2016\",\"vert\":\"|\",\"Vert\":\"\\u2016\",\"VerticalBar\":\"\\u2223\",\"VerticalLine\":\"|\",\"VerticalSeparator\":\"\\u2758\",\"VerticalTilde\":\"\\u2240\",\"VeryThinSpace\":\"\\u200a\",\"Vfr\":\"\\ud835\\udd19\",\"vfr\":\"\\ud835\\udd33\",\"vltri\":\"\\u22b2\",\"vnsub\":\"\\u2282\\u20d2\",\"vnsup\":\"\\u2283\\u20d2\",\"Vopf\":\"\\ud835\\udd4d\",\"vopf\":\"\\ud835\\udd67\",\"vprop\":\"\\u221d\",\"vrtri\":\"\\u22b3\",\"Vscr\":\"\\ud835\\udcb1\",\"vscr\":\"\\ud835\\udccb\",\"vsubnE\":\"\\u2acb\\ufe00\",\"vsubne\":\"\\u228a\\ufe00\",\"vsupnE\":\"\\u2acc\\ufe00\",\"vsupne\":\"\\u228b\\ufe00\",\"Vvdash\":\"\\u22aa\",\"vzigzag\":\"\\u299a\",\"Wcirc\":\"\\u0174\",\"wcirc\":\"\\u0175\",\"wedbar\":\"\\u2a5f\",\"wedge\":\"\\u2227\",\"Wedge\":\"\\u22c0\",\"wedgeq\":\"\\u2259\",\"weierp\":\"\\u2118\",\"Wfr\":\"\\ud835\\udd1a\",\"wfr\":\"\\ud835\\udd34\",\"Wopf\":\"\\ud835\\udd4e\",\"wopf\":\"\\ud835\\udd68\",\"wp\":\"\\u2118\",\"wr\":\"\\u2240\",\"wreath\":\"\\u2240\",\"Wscr\":\"\\ud835\\udcb2\",\"wscr\":\"\\ud835\\udccc\",\"xcap\":\"\\u22c2\",\"xcirc\":\"\\u25ef\",\"xcup\":\"\\u22c3\",\"xdtri\":\"\\u25bd\",\"Xfr\":\"\\ud835\\udd1b\",\"xfr\":\"\\ud835\\udd35\",\"xharr\":\"\\u27f7\",\"xhArr\":\"\\u27fa\",\"Xi\":\"\\u039e\",\"xi\":\"\\u03be\",\"xlarr\":\"\\u27f5\",\"xlArr\":\"\\u27f8\",\"xmap\":\"\\u27fc\",\"xnis\":\"\\u22fb\",\"xodot\":\"\\u2a00\",\"Xopf\":\"\\ud835\\udd4f\",\"xopf\":\"\\ud835\\udd69\",\"xoplus\":\"\\u2a01\",\"xotime\":\"\\u2a02\",\"xrarr\":\"\\u27f6\",\"xrArr\":\"\\u27f9\",\"Xscr\":\"\\ud835\\udcb3\",\"xscr\":\"\\ud835\\udccd\",\"xsqcup\":\"\\u2a06\",\"xuplus\":\"\\u2a04\",\"xutri\":\"\\u25b3\",\"xvee\":\"\\u22c1\",\"xwedge\":\"\\u22c0\",\"Yacute\":\"\\xdd\",\"yacute\":\"\\xfd\",\"YAcy\":\"\\u042f\",\"yacy\":\"\\u044f\",\"Ycirc\":\"\\u0176\",\"ycirc\":\"\\u0177\",\"Ycy\":\"\\u042b\",\"ycy\":\"\\u044b\",\"yen\":\"\\xa5\",\"Yfr\":\"\\ud835\\udd1c\",\"yfr\":\"\\ud835\\udd36\",\"YIcy\":\"\\u0407\",\"yicy\":\"\\u0457\",\"Yopf\":\"\\ud835\\udd50\",\"yopf\":\"\\ud835\\udd6a\",\"Yscr\":\"\\ud835\\udcb4\",\"yscr\":\"\\ud835\\udcce\",\"YUcy\":\"\\u042e\",\"yucy\":\"\\u044e\",\"yuml\":\"\\xff\",\"Yuml\":\"\\u0178\",\"Zacute\":\"\\u0179\",\"zacute\":\"\\u017a\",\"Zcaron\":\"\\u017d\",\"zcaron\":\"\\u017e\",\"Zcy\":\"\\u0417\",\"zcy\":\"\\u0437\",\"Zdot\":\"\\u017b\",\"zdot\":\"\\u017c\",\"zeetrf\":\"\\u2128\",\"ZeroWidthSpace\":\"\\u200b\",\"Zeta\":\"\\u0396\",\"zeta\":\"\\u03b6\",\"zfr\":\"\\ud835\\udd37\",\"Zfr\":\"\\u2128\",\"ZHcy\":\"\\u0416\",\"zhcy\":\"\\u0436\",\"zigrarr\":\"\\u21dd\",\"zopf\":\"\\ud835\\udd6b\",\"Zopf\":\"\\u2124\",\"Zscr\":\"\\ud835\\udcb5\",\"zscr\":\"\\ud835\\udccf\",\"zwj\":\"\\u200d\",\"zwnj\":\"\\u200c\"}')},function(e,t,n){\"use strict\";var r={};function i(e,t,n){var o,a,s,l,u,c=\"\";for(\"string\"!==typeof t&&(n=t,t=i.defaultChars),\"undefined\"===typeof n&&(n=!0),u=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push(\"%\"+(\"0\"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){c+=encodeURIComponent(e[o]+e[o+1]),o++;continue}c+=\"%EF%BF%BD\"}else c+=encodeURIComponent(e[o]);return c}i.defaultChars=\";/?:@&=+$,-_.!~*'()#\",i.componentChars=\"-_.!~*'()\",e.exports=i},function(e,t,n){\"use strict\";var r={};function i(e,t){var n;return\"string\"!==typeof t&&(t=i.defaultChars),n=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),i.push(n);for(t=0;t=55296&&l<=57343?\"\\ufffd\\ufffd\\ufffd\":String.fromCharCode(l),t+=6):240===(248&i)&&t+91114111?u+=\"\\ufffd\\ufffd\\ufffd\\ufffd\":(l-=65536,u+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):u+=\"\\ufffd\";return u}))}i.defaultChars=\";/?:@&=+$,#\",i.componentChars=\"\",e.exports=i},function(e,t,n){\"use strict\";e.exports=function(e){var t=\"\";return t+=e.protocol||\"\",t+=e.slashes?\"//\":\"\",t+=e.auth?e.auth+\"@\":\"\",e.hostname&&-1!==e.hostname.indexOf(\":\")?t+=\"[\"+e.hostname+\"]\":t+=e.hostname||\"\",t+=e.port?\":\"+e.port:\"\",t+=e.pathname||\"\",t+=e.search||\"\",t+=e.hash||\"\"}},function(e,t,n){\"use strict\";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var i=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,a=/^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,s=[\"{\",\"}\",\"|\",\"\\\\\",\"^\",\"`\"].concat([\"<\",\">\",'\"',\"`\",\" \",\"\\r\",\"\\n\",\"\\t\"]),l=[\"'\"].concat(s),u=[\"%\",\"/\",\"?\",\";\",\"#\"].concat(l),c=[\"/\",\"?\",\"#\"],f=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,\"javascript:\":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,\"http:\":!0,\"https:\":!0,\"ftp:\":!0,\"gopher:\":!0,\"file:\":!0};r.prototype.parse=function(e,t){var n,r,o,s,l,m=e;if(m=m.trim(),!t&&1===e.split(\"#\").length){var v=a.exec(m);if(v)return this.pathname=v[1],v[2]&&(this.search=v[2]),this}var g=i.exec(m);if(g&&(o=(g=g[0]).toLowerCase(),this.protocol=g,m=m.substr(g.length)),(t||g||m.match(/^\\/\\/[^@\\/]+@[^@\\/]+/))&&(!(l=\"//\"===m.substr(0,2))||g&&d[g]||(m=m.substr(2),this.slashes=!0)),!d[g]&&(l||g&&!h[g])){var y,b,E=-1;for(n=0;n127?_+=\"x\":_+=O[x];if(!_.match(f)){var C=T.slice(0,n),N=T.slice(n+1),D=O.match(p);D&&(C.push(D[1]),N.unshift(D[2])),N.length&&(m=N.join(\".\")+m),this.hostname=C.join(\".\");break}}}}this.hostname.length>255&&(this.hostname=\"\"),k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=m.indexOf(\"#\");-1!==A&&(this.hash=m.substr(A),m=m.slice(0,A));var I=m.indexOf(\"?\");return-1!==I&&(this.search=m.substr(I),m=m.slice(0,I)),m&&(this.pathname=m),h[o]&&this.hostname&&!this.pathname&&(this.pathname=\"\"),this},r.prototype.parseHost=function(e){var t=o.exec(e);t&&(\":\"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}},function(e,t,n){\"use strict\";t.Any=n(108),t.Cc=n(109),t.Cf=n(175),t.P=n(84),t.Z=n(110)},function(e,t){e.exports=/[\\xAD\\u0600-\\u0605\\u061C\\u06DD\\u070F\\u08E2\\u180E\\u200B-\\u200F\\u202A-\\u202E\\u2060-\\u2064\\u2066-\\u206F\\uFEFF\\uFFF9-\\uFFFB]|\\uD804[\\uDCBD\\uDCCD]|\\uD82F[\\uDCA0-\\uDCA3]|\\uD834[\\uDD73-\\uDD7A]|\\uDB40[\\uDC01\\uDC20-\\uDC7F]/},function(e,t,n){\"use strict\";t.parseLinkLabel=n(177),t.parseLinkDestination=n(178),t.parseLinkTitle=n(179)},function(e,t,n){\"use strict\";e.exports=function(e,t,n){var r,i,o,a,s=-1,l=e.posMax,u=e.pos;for(e.pos=t+1,r=1;e.pos=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t\"+o(e[t].content)+\"\"},a.code_block=function(e,t,n,r,i){var a=e[t];return\"\"+o(e[t].content)+\"
\\n\"},a.fence=function(e,t,n,r,a){var s,l,u,c,f=e[t],p=f.info?i(f.info).trim():\"\",d=\"\";return p&&(d=p.split(/\\s+/g)[0]),0===(s=n.highlight&&n.highlight(f.content,d)||o(f.content)).indexOf(\"\"+s+\"
\\n\"):\"\"+s+\"
\\n\"},a.image=function(e,t,n,r,i){var o=e[t];return o.attrs[o.attrIndex(\"alt\")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?\"
\\n\":\"
\\n\"},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?\"
\\n\":\"
\\n\":\"\\n\"},a.text=function(e,t){return o(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return\"\";for(r=\"\",t=0,n=e.attrs.length;t\\n\":\">\")},s.prototype.renderInline=function(e,t,n){for(var r,i=\"\",o=this.rules,a=0,s=e.length;a/i.test(e)}e.exports=function(e){var t,n,o,a,s,l,u,c,f,p,d,h,m,v,g,y,b,E,w=e.tokens;if(e.md.options.linkify)for(n=0,o=w.length;n=0;t--)if(\"link_close\"!==(l=a[t]).type){if(\"html_inline\"===l.type&&(E=l.content,/^\\s]/i.test(E)&&m>0&&m--,i(l.content)&&m++),!(m>0)&&\"text\"===l.type&&e.md.linkify.test(l.content)){for(f=l.content,b=e.md.linkify.match(f),u=[],h=l.level,d=0,c=0;cd&&((s=new e.Token(\"text\",\"\",0)).content=f.slice(d,p),s.level=h,u.push(s)),(s=new e.Token(\"link_open\",\"a\",1)).attrs=[[\"href\",g]],s.level=h++,s.markup=\"linkify\",s.info=\"auto\",u.push(s),(s=new e.Token(\"text\",\"\",0)).content=y,s.level=h,u.push(s),(s=new e.Token(\"link_close\",\"a\",-1)).level=--h,s.markup=\"linkify\",s.info=\"auto\",u.push(s),d=b[c].lastIndex);d=0;t--)\"text\"!==(n=e[t]).type||r||(n.content=n.content.replace(o,s)),\"link_open\"===n.type&&\"auto\"===n.info&&r--,\"link_close\"===n.type&&\"auto\"===n.info&&r++}function u(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)\"text\"!==(n=e[t]).type||i||r.test(n.content)&&(n.content=n.content.replace(/\\+-/g,\"\\xb1\").replace(/\\.{2,}/g,\"\\u2026\").replace(/([?!])\\u2026/g,\"$1..\").replace(/([?!]){4,}/g,\"$1$1$1\").replace(/,{2,}/g,\",\").replace(/(^|[^-])---([^-]|$)/gm,\"$1\\u2014$2\").replace(/(^|\\s)--(\\s|$)/gm,\"$1\\u2013$2\").replace(/(^|[^-\\s])--([^-\\s]|$)/gm,\"$1\\u2013$2\")),\"link_open\"===n.type&&\"auto\"===n.info&&i--,\"link_close\"===n.type&&\"auto\"===n.info&&i++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)\"inline\"===e.tokens[t].type&&(i.test(e.tokens[t].content)&&l(e.tokens[t].children),r.test(e.tokens[t].content)&&u(e.tokens[t].children))}},function(e,t,n){\"use strict\";var r=n(19).isWhiteSpace,i=n(19).isPunctChar,o=n(19).isMdAsciiPunct,a=/['\"]/,s=/['\"]/g;function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function u(e,t){var n,a,u,c,f,p,d,h,m,v,g,y,b,E,w,k,T,O,_,x,S;for(_=[],n=0;n=0&&!(_[T].level<=d);T--);if(_.length=T+1,\"text\"===a.type){f=0,p=(u=a.content).length;e:for(;f=0)m=u.charCodeAt(c.index-1);else for(T=n-1;T>=0&&(\"softbreak\"!==e[T].type&&\"hardbreak\"!==e[T].type);T--)if(\"text\"===e[T].type){m=e[T].content.charCodeAt(e[T].content.length-1);break}if(v=32,f
=48&&m<=57&&(k=w=!1),w&&k&&(w=!1,k=y),w||k){if(k)for(T=_.length-1;T>=0&&(h=_[T],!(_[T].level=0;t--)\"inline\"===e.tokens[t].type&&a.test(e.tokens[t].content)&&u(e.tokens[t].children,e)}},function(e,t,n){\"use strict\";var r=n(86);function i(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}i.prototype.Token=r,e.exports=i},function(e,t,n){\"use strict\";var r=n(85),i=[[\"table\",n(190),[\"paragraph\",\"reference\"]],[\"code\",n(191)],[\"fence\",n(192),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"blockquote\",n(193),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"hr\",n(194),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"list\",n(195),[\"paragraph\",\"reference\",\"blockquote\"]],[\"reference\",n(196)],[\"heading\",n(197),[\"paragraph\",\"reference\",\"blockquote\"]],[\"lheading\",n(198)],[\"html_block\",n(199),[\"paragraph\",\"reference\",\"blockquote\"]],[\"paragraph\",n(201)]];function o(){this.ruler=new r;for(var e=0;e=n))&&!(e.sCount[a]=l){e.line=n;break}for(r=0;rn)return!1;if(f=t+1,e.sCount[f]=4)return!1;if((u=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(s=e.src.charCodeAt(u++))&&45!==s&&58!==s)return!1;for(;u=4)return!1;if((d=(p=o(l.replace(/^\\||\\|$/g,\"\"))).length)>m.length)return!1;if(a)return!0;for((h=e.push(\"table_open\",\"table\",1)).map=g=[t,0],(h=e.push(\"thead_open\",\"thead\",1)).map=[t,t+1],(h=e.push(\"tr_open\",\"tr\",1)).map=[t,t+1],c=0;c=4);f++){for(p=o(l.replace(/^\\||\\|$/g,\"\")),h=e.push(\"tr_open\",\"tr\",1),c=0;c