From a069f52d50b4319649bf0eab2791900447862e1a Mon Sep 17 00:00:00 2001 From: Antoine Griffard Date: Sat, 22 Feb 2025 23:19:03 +0100 Subject: [PATCH 1/3] Assets Manager doc --- .../wwwroot/Scripts/graphiql-orchard.js | 2 +- .../wwwroot/Scripts/diffviewer.js | 2 +- .../wwwroot/Scripts/diffviewer.js.LICENSE.txt | 12 ++++++------ src/docs/guides/assets-manager/README.md | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/OrchardCore.Modules/OrchardCore.Apis.GraphQL/wwwroot/Scripts/graphiql-orchard.js b/src/OrchardCore.Modules/OrchardCore.Apis.GraphQL/wwwroot/Scripts/graphiql-orchard.js index 25b07ad21b0..e67fb15e4bc 100644 --- a/src/OrchardCore.Modules/OrchardCore.Apis.GraphQL/wwwroot/Scripts/graphiql-orchard.js +++ b/src/OrchardCore.Modules/OrchardCore.Apis.GraphQL/wwwroot/Scripts/graphiql-orchard.js @@ -1,2 +1,2 @@ /*! For license information please see graphiql-orchard.js.LICENSE.txt */ -(()=>{var e={70:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var r=n(3982),i=n.n(r),o=n(6314),a=n.n(o),s=n(4417),l=n.n(s),c=new URL(n(4912),n.b),u=new URL(n(1954),n.b),p=new URL(n(3604),n.b),f=new URL(n(5980),n.b),d=new URL(n(5139),n.b),h=a()(i()),m=l()(c),g=l()(u),v=l()(p),y=l()(f),b=l()(d);h.push([e.id,`.graphiql-container,\n.graphiql-container button,\n.graphiql-container input {\n color: #141823;\n font-family: system, -apple-system, 'San Francisco', '.SFNSDisplay-Regular',\n 'Segoe UI', Segoe, 'Segoe WP', 'Helvetica Neue', helvetica, 'Lucida Grande',\n arial, sans-serif;\n font-size: 14px;\n}\n\n.graphiql-container {\n display: flex;\n flex-direction: row;\n height: 100%;\n margin: 0;\n overflow: hidden;\n width: 100%;\n}\n\n.graphiql-container .editorWrap {\n display: flex;\n flex-direction: column;\n flex: 1;\n overflow-x: hidden;\n}\n\n.graphiql-container .title {\n font-size: 18px;\n}\n\n.graphiql-container .title em {\n font-family: georgia;\n font-size: 19px;\n}\n\n.graphiql-container .topBarWrap {\n display: flex;\n flex-direction: row;\n}\n\n.graphiql-container .topBar {\n align-items: center;\n background: linear-gradient(#f7f7f7, #e2e2e2);\n border-bottom: 1px solid #d0d0d0;\n cursor: default;\n display: flex;\n flex-direction: row;\n flex: 1;\n height: 34px;\n overflow-y: visible;\n padding: 7px 14px 6px;\n user-select: none;\n}\n\n.graphiql-container .toolbar {\n overflow-x: visible;\n display: flex;\n}\n\n.graphiql-container .docExplorerShow,\n.graphiql-container .historyShow {\n background: linear-gradient(#f7f7f7, #e2e2e2);\n border-radius: 0;\n border-bottom: 1px solid #d0d0d0;\n border-right: none;\n border-top: none;\n color: #3b5998;\n cursor: pointer;\n font-size: 14px;\n margin: 0;\n padding: 2px 20px 0 18px;\n}\n\n.graphiql-container .docExplorerShow {\n border-left: 1px solid rgba(0, 0, 0, 0.2);\n}\n\n.graphiql-container .historyShow {\n border-right: 1px solid rgba(0, 0, 0, 0.2);\n border-left: 0;\n}\n\n.graphiql-container .docExplorerShow:before {\n border-left: 2px solid #3b5998;\n border-top: 2px solid #3b5998;\n content: '';\n display: inline-block;\n height: 9px;\n margin: 0 3px -1px 0;\n position: relative;\n transform: rotate(-45deg);\n width: 9px;\n}\n\n.graphiql-container .editorBar {\n display: flex;\n flex-direction: row;\n flex: 1;\n max-height: 100%;\n}\n\n.graphiql-container .queryWrap {\n display: flex;\n flex-direction: column;\n flex: 1;\n}\n\n.graphiql-container .resultWrap {\n display: flex;\n flex-direction: column;\n flex: 1;\n flex-basis: 1em;\n position: relative;\n}\n\n.graphiql-container .docExplorerWrap,\n.graphiql-container .historyPaneWrap {\n background: white;\n box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);\n position: relative;\n width: 100%;\n z-index: 3;\n}\n\n.graphiql-container .historyPaneWrap {\n min-width: 230px;\n z-index: 5;\n}\n\n.graphiql-container .docExplorerResizer {\n cursor: col-resize;\n height: 100%;\n position: absolute;\n width: 10px;\n z-index: 10;\n}\n\n.graphiql-container .docExplorerHide {\n cursor: pointer;\n font-size: 18px;\n margin: -7px -8px -6px 0;\n padding: 18px 16px 15px 12px;\n background: 0;\n border: 0;\n line-height: 14px;\n}\n\n.graphiql-container div .query-editor {\n flex: 1;\n position: relative;\n}\n\n.graphiql-container .secondary-editor {\n display: flex;\n flex-direction: column;\n height: 100%;\n position: relative;\n}\n\n.graphiql-container .secondary-editor-title {\n background: #eeeeee;\n border-bottom: 1px solid #d6d6d6;\n border-top: 1px solid #e0e0e0;\n color: #777;\n cursor: row-resize;\n font-variant: small-caps;\n font-weight: bold;\n letter-spacing: 1px;\n line-height: 14px;\n padding: 6px 0 8px 43px;\n text-transform: lowercase;\n user-select: none;\n}\n\n.graphiql-container .codemirrorWrap {\n flex: 1;\n height: 100%;\n position: relative;\n}\n\n.graphiql-container .result-window {\n flex: 1;\n height: 100%;\n position: relative;\n}\n\n.graphiql-container .footer {\n background: #f6f7f8;\n border-left: 1px solid #e0e0e0;\n border-top: 1px solid #e0e0e0;\n margin-left: 12px;\n position: relative;\n}\n\n.graphiql-container .footer:before {\n background: #eeeeee;\n bottom: 0;\n content: ' ';\n left: -13px;\n position: absolute;\n top: -1px;\n width: 12px;\n}\n\n/* No \`.graphiql-container\` here so themes can overwrite */\n\n.result-window .CodeMirror.cm-s-graphiql {\n background: #f6f7f8;\n}\n\n.graphiql-container .result-window .CodeMirror-gutters {\n background-color: #f6f7f8;\n border: none;\n}\n\n.editor-drag-bar {\n width: 12px;\n background-color: #eeeeee;\n border-left: 1px solid #e0e0e0;\n border-right: 1px solid #e0e0e0;\n cursor: col-resize;\n}\n\n.graphiql-container .result-window .CodeMirror-foldgutter,\n.graphiql-container .result-window .CodeMirror-foldgutter-open:after,\n.graphiql-container .result-window .CodeMirror-foldgutter-folded:after {\n padding-left: 3px;\n}\n\n.graphiql-container .toolbar-button {\n background: #fdfdfd;\n background: linear-gradient(#f9f9f9, #ececec);\n border: 0;\n border-radius: 3px;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2),\n 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 1px #fff;\n color: #555;\n cursor: pointer;\n display: inline-block;\n margin: 0 5px;\n padding: 3px 11px 5px;\n text-decoration: none;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 150px;\n}\n\n.graphiql-container .toolbar-button:active {\n background: linear-gradient(#ececec, #d5d5d5);\n box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7),\n inset 0 0 0 1px rgba(0, 0, 0, 0.1), inset 0 1px 1px 1px rgba(0, 0, 0, 0.12),\n inset 0 0 5px rgba(0, 0, 0, 0.1);\n}\n\n.graphiql-container .toolbar-button.error {\n background: linear-gradient(#fdf3f3, #e6d6d7);\n color: #b00;\n}\n\n.graphiql-container .toolbar-button-group {\n margin: 0 5px;\n white-space: nowrap;\n}\n\n.graphiql-container .toolbar-button-group > * {\n margin: 0;\n}\n\n.graphiql-container .toolbar-button-group > *:not(:last-child) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.graphiql-container .toolbar-button-group > *:not(:first-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n margin-left: -1px;\n}\n\n.graphiql-container .execute-button-wrap {\n height: 34px;\n margin: 0 14px 0 28px;\n position: relative;\n}\n\n.graphiql-container .execute-button {\n background: linear-gradient(#fdfdfd, #d2d3d6);\n border-radius: 17px;\n border: 1px solid rgba(0, 0, 0, 0.25);\n box-shadow: 0 1px 0 #fff;\n cursor: pointer;\n fill: #444;\n height: 34px;\n margin: 0;\n padding: 0;\n width: 34px;\n}\n\n.graphiql-container .toolbar-button > svg,\n.graphiql-container .execute-button svg {\n pointer-events: none;\n}\n\n.graphiql-container .execute-button:active {\n background: linear-gradient(#e6e6e6, #c3c3c3);\n box-shadow: 0 1px 0 #fff, inset 0 0 2px rgba(0, 0, 0, 0.2),\n inset 0 0 6px rgba(0, 0, 0, 0.1);\n}\n\n.graphiql-container .toolbar-menu,\n.graphiql-container .toolbar-select {\n position: relative;\n}\n\n.graphiql-container .execute-options,\n.graphiql-container .toolbar-menu-items,\n.graphiql-container .toolbar-select-options {\n background: #fff;\n box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.25);\n margin: 0;\n padding: 6px 0;\n position: absolute;\n z-index: 100;\n}\n\n.graphiql-container .execute-options {\n min-width: 100px;\n top: 37px;\n left: -1px;\n}\n\n.graphiql-container .toolbar-menu-items {\n left: 1px;\n margin-top: -1px;\n min-width: 110%;\n top: 100%;\n visibility: hidden;\n}\n\n.graphiql-container .toolbar-menu-items.open {\n visibility: visible;\n}\n\n.graphiql-container .toolbar-select-options {\n left: 0;\n min-width: 100%;\n top: -5px;\n visibility: hidden;\n}\n\n.graphiql-container .toolbar-select-options.open {\n visibility: visible;\n}\n\n.graphiql-container .execute-options > li,\n.graphiql-container .toolbar-menu-items > li,\n.graphiql-container .toolbar-select-options > li {\n cursor: pointer;\n display: block;\n margin: none;\n max-width: 300px;\n overflow: hidden;\n padding: 2px 20px 4px 11px;\n white-space: nowrap;\n}\n\n.graphiql-container .execute-options > li.selected,\n.graphiql-container .toolbar-menu-items > li.hover,\n.graphiql-container .toolbar-menu-items > li:active,\n.graphiql-container .toolbar-menu-items > li:hover,\n.graphiql-container .toolbar-select-options > li.hover,\n.graphiql-container .toolbar-select-options > li:active,\n.graphiql-container .toolbar-select-options > li:hover,\n.graphiql-container .history-contents > li:hover,\n.graphiql-container .history-contents > li:active {\n background: #e10098;\n color: #fff;\n}\n\n.graphiql-container .toolbar-select-options > li > svg {\n display: inline;\n fill: #666;\n margin: 0 -6px 0 6px;\n pointer-events: none;\n vertical-align: middle;\n}\n\n.graphiql-container .toolbar-select-options > li.hover > svg,\n.graphiql-container .toolbar-select-options > li:active > svg,\n.graphiql-container .toolbar-select-options > li:hover > svg {\n fill: #fff;\n}\n\n.graphiql-container .CodeMirror-scroll {\n overflow-scrolling: touch;\n}\n\n.graphiql-container .CodeMirror {\n color: #141823;\n font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;\n font-size: 13px;\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n}\n\n.graphiql-container .CodeMirror-lines {\n padding: 20px 0;\n}\n\n.CodeMirror-hint-information .content {\n box-orient: vertical;\n color: #141823;\n display: flex;\n font-family: system, -apple-system, 'San Francisco', '.SFNSDisplay-Regular',\n 'Segoe UI', Segoe, 'Segoe WP', 'Helvetica Neue', helvetica, 'Lucida Grande',\n arial, sans-serif;\n font-size: 13px;\n line-clamp: 3;\n line-height: 16px;\n max-height: 48px;\n overflow: hidden;\n text-overflow: -o-ellipsis-lastline;\n}\n\n.CodeMirror-hint-information .content p:first-child {\n margin-top: 0;\n}\n\n.CodeMirror-hint-information .content p:last-child {\n margin-bottom: 0;\n}\n\n.CodeMirror-hint-information .infoType {\n color: #ca9800;\n cursor: pointer;\n display: inline;\n margin-right: 0.5em;\n}\n\n.autoInsertedLeaf.cm-property {\n animation-duration: 6s;\n animation-name: insertionFade;\n border-bottom: 2px solid rgba(255, 255, 255, 0);\n border-radius: 2px;\n margin: -2px -4px -1px;\n padding: 2px 4px 1px;\n}\n\n@keyframes insertionFade {\n from,\n to {\n background: rgba(255, 255, 255, 0);\n border-color: rgba(255, 255, 255, 0);\n }\n\n 15%,\n 85% {\n background: #fbffc9;\n border-color: #f0f3c0;\n }\n}\n\ndiv.CodeMirror-lint-tooltip {\n background-color: white;\n border-radius: 2px;\n border: 0;\n color: #141823;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\n font-size: 13px;\n line-height: 16px;\n max-width: 430px;\n opacity: 0;\n padding: 8px 10px;\n transition: opacity 0.15s;\n white-space: pre-wrap;\n}\n\ndiv.CodeMirror-lint-tooltip > * {\n padding-left: 23px;\n}\n\ndiv.CodeMirror-lint-tooltip > * + * {\n margin-top: 12px;\n}\n\n.graphiql-container .variable-editor-title-text {\n cursor: pointer;\n display: inline-block;\n color: gray;\n}\n\n.graphiql-container .variable-editor-title-text.active {\n color: #000;\n}\n\n.graphiql-container .tabs {\n height: 42px;\n background-image: linear-gradient(#f7f7f7, #e2e2e2);\n display: flex;\n align-items: center;\n}\n\n.graphiql-container .tab {\n position: relative;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-top: 0;\n padding-right: 6px;\n padding-left: 14px;\n height: 100%;\n color: rgba(0, 0, 0, 0.6);\n\n border-left: 1px solid lightgray;\n /*\n Needed for \`button\` components.\n */\n border-top-style: none;\n border-bottom-style: none;\n border-right-style: none;\n}\n\n/*\n If it's only one tab, we don't have the X button, so we want more padding.\n In the .tabs container, we have one more child - the plus button.\n So if this tab is first child and the second last at the same time,\n this is the case we want to target.\n*/\n\n.graphiql-container .tab:first-child:nth-last-child(2) {\n padding-right: 14px;\n}\n\n.graphiql-container .tab:hover {\n background-image: linear-gradient(\n rgba(245, 245, 245, 0.7),\n rgba(215, 215, 215, 1)\n );\n color: rgba(0, 0, 0, 0.8);\n}\n\n.graphiql-container .tab.active {\n background-image: linear-gradient(\n rgba(233, 233, 233, 0.7),\n rgba(205, 205, 205, 1)\n );\n color: black;\n}\n\n/* {\n background-image: linear-gradient(\n rgba(223, 223, 223, 0.5),\n rgba(196, 196, 196, 1)\n );\n} */\n\n.graphiql-container .tab .close {\n display: inline-block;\n cursor: pointer;\n border: none;\n background: transparent;\n margin-left: 6px;\n padding: 3px 6px;\n border-radius: 4px;\n}\n\n.graphiql-container .tab:hover .close,\n.graphiql-container .tab.active .close {\n opacity: 1;\n}\n\n.graphiql-container .tab .close::before {\n content: '✕';\n display: inline-block;\n font-weight: bold;\n font-size: 12px;\n color: rgba(0, 0, 0, 0.7);\n height: 14px;\n}\n\n.graphiql-container .tab .close:hover {\n background: rgba(0, 0, 0, 0.08);\n}\n\n.graphiql-container .tab .close:active {\n background: rgba(0, 0, 0, 0.12);\n}\n\n.graphiql-container .tab-add {\n display: flex;\n align-items: center;\n justify-content: center;\n border: none;\n background: transparent;\n line-height: 1;\n font-size: 26px;\n padding: 0 8px;\n height: 30px;\n border-radius: 4px;\n color: rgba(0, 0, 0, 0.5);\n padding-bottom: 3px;\n margin-left: 6px;\n cursor: pointer;\n}\n\n.graphiql-container .tab-add:hover {\n background: rgba(0, 0, 0, 0.06);\n}\n\n.graphiql-container .tab-add:active {\n background: rgba(0, 0, 0, 0.1);\n}\n\n/* COLORS */\n\n.graphiql-container .CodeMirror-foldmarker {\n border-radius: 4px;\n background: #08f;\n background: linear-gradient(#43a8ff, #0f83e8);\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.1);\n color: white;\n font-family: arial;\n font-size: 12px;\n line-height: 0;\n margin: 0 3px;\n padding: 0px 4px 1px;\n text-shadow: 0 -1px rgba(0, 0, 0, 0.1);\n}\n\n.graphiql-container div.CodeMirror span.CodeMirror-matchingbracket {\n color: #555;\n text-decoration: underline;\n}\n\n.graphiql-container div.CodeMirror span.CodeMirror-nonmatchingbracket {\n color: #f00;\n}\n\n/* Comment */\n\n.cm-comment {\n color: #666;\n}\n\n/* Punctuation */\n\n.cm-punctuation {\n color: #555;\n}\n\n/* Keyword */\n\n.cm-keyword {\n color: #b11a04;\n}\n\n/* OperationName, FragmentName */\n\n.cm-def {\n color: #d2054e;\n}\n\n/* FieldName */\n\n.cm-property {\n color: #1f61a0;\n}\n\n/* FieldAlias */\n\n.cm-qualifier {\n color: #1c92a9;\n}\n\n/* ArgumentName and ObjectFieldName */\n\n.cm-attribute {\n color: #8b2bb9;\n}\n\n/* Number */\n\n.cm-number {\n color: #2882f9;\n}\n\n/* String */\n\n.cm-string {\n color: #d64292;\n}\n\n/* Boolean */\n\n.cm-builtin {\n color: #d47509;\n}\n\n/* EnumValue */\n\n.cm-string-2 {\n color: #0b7fc7;\n}\n\n/* Variable */\n\n.cm-variable {\n color: #397d13;\n}\n\n/* Directive */\n\n.cm-meta {\n color: #b33086;\n}\n\n/* Type */\n\n.cm-atom {\n color: #ca9800;\n}\n\n/* BASICS */\n\n.CodeMirror {\n /* Set height, width, borders, and global font properties here */\n color: black;\n font-family: monospace;\n height: 300px;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n padding: 4px 0; /* Vertical padding around content */\n}\n\n.CodeMirror pre {\n padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler,\n.CodeMirror-gutter-filler {\n background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n border-right: 1px solid #ddd;\n background-color: #f7f7f7;\n white-space: nowrap;\n}\n\n.CodeMirror-linenumbers {\n}\n\n.CodeMirror-linenumber {\n color: #666;\n min-width: 20px;\n padding: 0 3px 0 5px;\n text-align: right;\n white-space: nowrap;\n}\n\n.CodeMirror-guttermarker {\n color: black;\n}\n\n.CodeMirror-guttermarker-subtle {\n color: #666;\n}\n\n/* CURSOR */\n\n.CodeMirror .CodeMirror-cursor {\n border-left: 1px solid black;\n}\n\n/* Shown when moving in bi-directional text */\n\n.CodeMirror div.CodeMirror-secondarycursor {\n border-left: 1px solid silver;\n}\n\n.CodeMirror.cm-fat-cursor div.CodeMirror-cursor {\n background: #7e7;\n border: 0;\n width: auto;\n}\n\n.CodeMirror.cm-fat-cursor div.CodeMirror-cursors {\n z-index: 1;\n}\n\n.cm-animate-fat-cursor {\n animation: blink 1.06s steps(1) infinite;\n border: 0;\n width: auto;\n}\n\n@keyframes blink {\n 0% {\n background: #7e7;\n }\n 50% {\n background: none;\n }\n 100% {\n background: #7e7;\n }\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n\ndiv.CodeMirror-overwrite div.CodeMirror-cursor {\n}\n\n.cm-tab {\n display: inline-block;\n text-decoration: inherit;\n}\n\n.CodeMirror-ruler {\n border-left: 1px solid #ccc;\n position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-keyword {\n color: #708;\n}\n\n.cm-s-default .cm-atom {\n color: #219;\n}\n\n.cm-s-default .cm-number {\n color: #164;\n}\n\n.cm-s-default .cm-def {\n color: #00f;\n}\n\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {\n}\n\n.cm-s-default .cm-variable-2 {\n color: #05a;\n}\n\n.cm-s-default .cm-variable-3 {\n color: #085;\n}\n\n.cm-s-default .cm-comment {\n color: #a50;\n}\n\n.cm-s-default .cm-string {\n color: #a11;\n}\n\n.cm-s-default .cm-string-2 {\n color: #f50;\n}\n\n.cm-s-default .cm-meta {\n color: #555;\n}\n\n.cm-s-default .cm-qualifier {\n color: #555;\n}\n\n.cm-s-default .cm-builtin {\n color: #30a;\n}\n\n.cm-s-default .cm-bracket {\n color: #666;\n}\n\n.cm-s-default .cm-tag {\n color: #170;\n}\n\n.cm-s-default .cm-attribute {\n color: #00c;\n}\n\n.cm-s-default .cm-header {\n color: blue;\n}\n\n.cm-s-default .cm-quote {\n color: #090;\n}\n\n.cm-s-default .cm-hr {\n color: #666;\n}\n\n.cm-s-default .cm-link {\n color: #00c;\n}\n\n.cm-negative {\n color: #d44;\n}\n\n.cm-positive {\n color: #292;\n}\n\n.cm-header,\n.cm-strong {\n font-weight: bold;\n}\n\n.cm-em {\n font-style: italic;\n}\n\n.cm-link {\n text-decoration: underline;\n}\n\n.cm-strikethrough {\n text-decoration: line-through;\n}\n\n.cm-s-default .cm-error {\n color: #f00;\n}\n\n.cm-invalidchar {\n color: #f00;\n}\n\n.CodeMirror-composing {\n border-bottom: 2px solid;\n}\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {\n color: #0f0;\n}\n\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {\n color: #f22;\n}\n\n.CodeMirror-matchingtag {\n background: rgba(255, 150, 0, 0.3);\n}\n\n.CodeMirror-activeline-background {\n background: #e8f2ff;\n}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n background: white;\n overflow: hidden;\n position: relative;\n}\n\n.CodeMirror-scroll {\n height: 100%;\n /* 30px is the magic margin used to hide the element's real scrollbars */\n /* See overflow: hidden in .CodeMirror */\n margin-bottom: -30px;\n margin-right: -30px;\n outline: none; /* Prevent dragging from highlighting the element */\n overflow: scroll !important; /* Things will break if this is overridden */\n padding-bottom: 30px;\n position: relative;\n}\n\n.CodeMirror-sizer {\n border-right: 30px solid transparent;\n position: relative;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n before actual scrolling happens, thus preventing shaking and\n flickering artifacts. */\n\n.CodeMirror-vscrollbar,\n.CodeMirror-hscrollbar,\n.CodeMirror-scrollbar-filler,\n.CodeMirror-gutter-filler {\n display: none;\n position: absolute;\n z-index: 6;\n}\n\n.CodeMirror-vscrollbar {\n overflow-x: hidden;\n overflow-y: scroll;\n right: 0;\n top: 0;\n}\n\n.CodeMirror-hscrollbar {\n bottom: 0;\n left: 0;\n overflow-x: scroll;\n overflow-y: hidden;\n}\n\n.CodeMirror-scrollbar-filler {\n right: 0;\n bottom: 0;\n}\n\n.CodeMirror-gutter-filler {\n left: 0;\n bottom: 0;\n}\n\n.CodeMirror-gutters {\n min-height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n}\n\n.CodeMirror-gutter {\n display: inline-block;\n height: 100%;\n margin-bottom: -30px;\n vertical-align: top;\n white-space: normal;\n}\n\n.CodeMirror-gutter-wrapper {\n background: none !important;\n border: none !important;\n position: absolute;\n z-index: 4;\n}\n\n.CodeMirror-gutter-background {\n position: absolute;\n top: 0;\n bottom: 0;\n z-index: 4;\n}\n\n.CodeMirror-gutter-elt {\n cursor: default;\n position: absolute;\n z-index: 4;\n}\n\n.CodeMirror-gutter-wrapper {\n user-select: none;\n}\n\n.CodeMirror-lines {\n cursor: text;\n min-height: 1px; /* prevents collapsing before first draw */\n}\n\n.CodeMirror pre {\n -webkit-tap-highlight-color: transparent;\n /* Reset some styles that the rest of the page might have set */\n background: transparent;\n border-radius: 0;\n border-width: 0;\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n font-variant-ligatures: none;\n line-height: inherit;\n margin: 0;\n overflow: visible;\n position: relative;\n white-space: pre;\n word-wrap: normal;\n z-index: 2;\n}\n\n.CodeMirror-wrap pre {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: normal;\n}\n\n.CodeMirror-linebackground {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 0;\n}\n\n.CodeMirror-linewidget {\n overflow: auto;\n position: relative;\n z-index: 2;\n}\n\n.CodeMirror-widget {\n}\n\n.CodeMirror-code {\n outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n height: 0;\n overflow: hidden;\n position: absolute;\n visibility: hidden;\n width: 100%;\n}\n\n.CodeMirror-cursor {\n position: absolute;\n}\n\n.CodeMirror-measure pre {\n position: static;\n}\n\ndiv.CodeMirror-cursors {\n position: relative;\n visibility: hidden;\n z-index: 3;\n}\n\ndiv.CodeMirror-dragcursors {\n visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n visibility: visible;\n}\n\n.CodeMirror-selected {\n background: #d9d9d9;\n}\n\n.CodeMirror-focused .CodeMirror-selected {\n background: #d7d4f0;\n}\n\n.CodeMirror-crosshair {\n cursor: crosshair;\n}\n\n.CodeMirror-line::selection,\n.CodeMirror-line > span::selection,\n.CodeMirror-line > span > span::selection {\n background: #d7d4f0;\n}\n\n.CodeMirror-line::-moz-selection,\n.CodeMirror-line > span::-moz-selection,\n.CodeMirror-line > span > span::-moz-selection {\n background: #d7d4f0;\n}\n\n.cm-searching {\n background: #ffa;\n background: rgba(255, 255, 0, 0.4);\n}\n\n/* Used to force a border model for a node */\n\n.cm-force-border {\n padding-right: 0.1px;\n}\n\n@media print {\n /* Hide the cursor when printing */\n .CodeMirror div.CodeMirror-cursors {\n visibility: hidden;\n }\n}\n\n/* See issue #2901 */\n\n.cm-tab-wrap-hack:after {\n content: '';\n}\n\n/* Help users use markselection to safely style text background */\n\nspan.CodeMirror-selectedtext {\n background: none;\n}\n\n.CodeMirror-dialog {\n background: inherit;\n color: inherit;\n left: 0;\n right: 0;\n overflow: hidden;\n padding: 0.1em 0.8em;\n position: absolute;\n z-index: 15;\n}\n\n.CodeMirror-dialog-top {\n border-bottom: 1px solid #eee;\n top: 0;\n}\n\n.CodeMirror-dialog-bottom {\n border-top: 1px solid #eee;\n bottom: 0;\n}\n\n.CodeMirror-dialog input {\n background: transparent;\n border: 1px solid #d3d6db;\n color: inherit;\n font-family: monospace;\n outline: none;\n width: 20em;\n}\n\n.CodeMirror-dialog button {\n font-size: 70%;\n}\n\n.CodeMirror-foldmarker {\n color: blue;\n cursor: pointer;\n font-family: arial;\n line-height: 0.3;\n text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px,\n #b9f -1px 1px 2px;\n}\n.CodeMirror-foldgutter {\n width: 0.7em;\n}\n.CodeMirror-foldgutter-open,\n.CodeMirror-foldgutter-folded {\n cursor: pointer;\n}\n.CodeMirror-foldgutter-open:after {\n content: '\\25BE';\n}\n.CodeMirror-foldgutter-folded:after {\n content: '\\25B8';\n}\n\n.CodeMirror-info {\n background: white;\n border-radius: 2px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\n box-sizing: border-box;\n color: #555;\n font-family: system, -apple-system, 'San Francisco', '.SFNSDisplay-Regular',\n 'Segoe UI', Segoe, 'Segoe WP', 'Helvetica Neue', helvetica, 'Lucida Grande',\n arial, sans-serif;\n font-size: 13px;\n line-height: 16px;\n margin: 8px -8px;\n max-width: 400px;\n opacity: 0;\n overflow: hidden;\n padding: 8px 8px;\n position: fixed;\n transition: opacity 0.15s;\n z-index: 50;\n}\n\n.CodeMirror-info :first-child {\n margin-top: 0;\n}\n\n.CodeMirror-info :last-child {\n margin-bottom: 0;\n}\n\n.CodeMirror-info p {\n margin: 1em 0;\n}\n\n.CodeMirror-info .info-description {\n color: #777;\n line-height: 16px;\n margin-top: 1em;\n max-height: 80px;\n overflow: hidden;\n}\n\n.CodeMirror-info .info-deprecation {\n background: #fffae8;\n box-shadow: inset 0 1px 1px -1px #bfb063;\n color: #867f70;\n line-height: 16px;\n margin: -8px;\n margin-top: 8px;\n max-height: 80px;\n overflow: hidden;\n padding: 8px;\n}\n\n.CodeMirror-info .info-deprecation-label {\n color: #c79b2e;\n cursor: default;\n display: block;\n font-size: 9px;\n font-weight: bold;\n letter-spacing: 1px;\n line-height: 1;\n padding-bottom: 5px;\n text-transform: uppercase;\n user-select: none;\n}\n\n.CodeMirror-info .info-deprecation-label + * {\n margin-top: 0;\n}\n\n.CodeMirror-info a {\n text-decoration: none;\n}\n\n.CodeMirror-info a:hover {\n text-decoration: underline;\n}\n\n.CodeMirror-info .type-name {\n color: #ca9800;\n}\n\n.CodeMirror-info .field-name {\n color: #1f61a0;\n}\n\n.CodeMirror-info .enum-value {\n color: #0b7fc7;\n}\n\n.CodeMirror-info .arg-name {\n color: #8b2bb9;\n}\n\n.CodeMirror-info .directive-name {\n color: #b33086;\n}\n\n.CodeMirror-jump-token {\n text-decoration: underline;\n cursor: pointer;\n}\n\n/* The lint marker gutter */\n.CodeMirror-lint-markers {\n width: 16px;\n}\n.CodeMirror-lint-tooltip {\n background-color: infobackground;\n border-radius: 4px 4px 4px 4px;\n border: 1px solid black;\n color: infotext;\n font-family: monospace;\n font-size: 10pt;\n max-width: 600px;\n opacity: 0;\n overflow: hidden;\n padding: 2px 5px;\n position: fixed;\n transition: opacity 0.4s;\n white-space: pre-wrap;\n z-index: 100;\n}\n.CodeMirror-lint-mark-error,\n.CodeMirror-lint-mark-warning {\n background-position: left bottom;\n background-repeat: repeat-x;\n}\n.CodeMirror-lint-mark-error {\n background-image: url(${m});\n}\n.CodeMirror-lint-mark-warning {\n background-image: url(${g});\n}\n.CodeMirror-lint-marker-error,\n.CodeMirror-lint-marker-warning {\n background-position: center center;\n background-repeat: no-repeat;\n cursor: pointer;\n display: inline-block;\n height: 16px;\n position: relative;\n vertical-align: middle;\n width: 16px;\n}\n.CodeMirror-lint-message-error,\n.CodeMirror-lint-message-warning {\n background-position: top left;\n background-repeat: no-repeat;\n padding-left: 18px;\n}\n.CodeMirror-lint-marker-error,\n.CodeMirror-lint-message-error {\n background-image: url(${v});\n}\n.CodeMirror-lint-marker-warning,\n.CodeMirror-lint-message-warning {\n background-image: url(${y});\n}\n.CodeMirror-lint-marker-multiple {\n background-image: url(${b});\n background-position: right bottom;\n background-repeat: no-repeat;\n width: 100%;\n height: 100%;\n}\n\n.graphiql-container .spinner-container {\n height: 36px;\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n width: 36px;\n z-index: 10;\n}\n\n.graphiql-container .spinner {\n animation: rotation 0.6s infinite linear;\n border-bottom: 6px solid rgba(150, 150, 150, 0.15);\n border-left: 6px solid rgba(150, 150, 150, 0.15);\n border-radius: 100%;\n border-right: 6px solid rgba(150, 150, 150, 0.15);\n border-top: 6px solid rgba(150, 150, 150, 0.8);\n display: inline-block;\n height: 24px;\n position: absolute;\n vertical-align: middle;\n width: 24px;\n}\n\n@keyframes rotation {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(359deg);\n }\n}\n\n.CodeMirror-hints {\n background: white;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\n font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;\n font-size: 13px;\n list-style: none;\n margin-left: -6px;\n margin: 0;\n max-height: 14.5em;\n overflow: hidden;\n overflow-y: auto;\n padding: 0;\n position: absolute;\n z-index: 10;\n}\n\n.CodeMirror-hint {\n border-top: solid 1px #f7f7f7;\n color: #141823;\n cursor: pointer;\n margin: 0;\n max-width: 300px;\n overflow: hidden;\n padding: 2px 6px;\n white-space: pre;\n}\n\nli.CodeMirror-hint-active {\n background-color: #08f;\n border-top-color: white;\n color: white;\n}\n\n.CodeMirror-hint-information {\n border-top: solid 1px #c0c0c0;\n max-width: 300px;\n padding: 4px 6px;\n position: relative;\n z-index: 1;\n}\n\n.CodeMirror-hint-information:first-child {\n border-bottom: solid 1px #c0c0c0;\n border-top: none;\n margin-bottom: -1px;\n}\n\n.CodeMirror-hint-deprecation {\n background: #fffae8;\n box-shadow: inset 0 1px 1px -1px #bfb063;\n color: #867f70;\n font-family: system, -apple-system, 'San Francisco', '.SFNSDisplay-Regular',\n 'Segoe UI', Segoe, 'Segoe WP', 'Helvetica Neue', helvetica, 'Lucida Grande',\n arial, sans-serif;\n font-size: 13px;\n line-height: 16px;\n margin-top: 4px;\n max-height: 80px;\n overflow: hidden;\n padding: 6px;\n}\n\n.CodeMirror-hint-deprecation .deprecation-label {\n color: #c79b2e;\n cursor: default;\n display: block;\n font-size: 9px;\n font-weight: bold;\n letter-spacing: 1px;\n line-height: 1;\n padding-bottom: 5px;\n text-transform: uppercase;\n user-select: none;\n}\n\n.CodeMirror-hint-deprecation .deprecation-label + * {\n margin-top: 0;\n}\n\n.CodeMirror-hint-deprecation :last-child {\n margin-bottom: 0;\n}\n\n.graphiql-container .doc-explorer {\n background: white;\n}\n\n.graphiql-container .doc-explorer-title-bar,\n.graphiql-container .history-title-bar {\n cursor: default;\n display: flex;\n height: 34px;\n line-height: 14px;\n padding: 8px 8px 5px;\n position: relative;\n user-select: none;\n}\n\n.graphiql-container .doc-explorer-title,\n.graphiql-container .history-title {\n flex: 1;\n font-weight: bold;\n overflow-x: hidden;\n padding: 10px 0 10px 10px;\n text-align: center;\n text-overflow: ellipsis;\n user-select: text;\n white-space: nowrap;\n}\n\n.graphiql-container .doc-explorer-back {\n color: #3b5998;\n cursor: pointer;\n margin: -7px 0 -6px -8px;\n overflow-x: hidden;\n padding: 17px 12px 16px 16px;\n text-overflow: ellipsis;\n white-space: nowrap;\n background: 0;\n border: 0;\n line-height: 14px;\n}\n\n.graphiql-container .doc-explorer-back:before {\n border-left: 2px solid #3b5998;\n border-top: 2px solid #3b5998;\n content: '';\n display: inline-block;\n height: 9px;\n margin: 0 3px -1px 0;\n position: relative;\n transform: rotate(-45deg);\n width: 9px;\n}\n\n.graphiql-container .doc-explorer-rhs {\n position: relative;\n}\n\n.graphiql-container .doc-explorer-contents,\n.graphiql-container .history-contents {\n background-color: #ffffff;\n border-top: 1px solid #d6d6d6;\n bottom: 0;\n left: 0;\n overflow-y: auto;\n padding: 20px 15px;\n position: absolute;\n right: 0;\n top: 47px;\n}\n\n.graphiql-container .doc-type-description p:first-child,\n.graphiql-container .doc-type-description blockquote:first-child {\n margin-top: 0;\n}\n\n.graphiql-container .doc-explorer-contents a {\n cursor: pointer;\n text-decoration: none;\n}\n\n.graphiql-container .doc-explorer-contents a:hover {\n text-decoration: underline;\n}\n\n.graphiql-container .doc-value-description > :first-child {\n margin-top: 4px;\n}\n\n.graphiql-container .doc-value-description > :last-child {\n margin-bottom: 4px;\n}\n\n.graphiql-container .doc-type-description code,\n.graphiql-container .doc-type-description pre,\n.graphiql-container .doc-category code,\n.graphiql-container .doc-category pre {\n --saf-0: rgba(var(--sk_foreground_low, 29, 28, 29), 0.13);\n font-size: 12px;\n line-height: 1.50001;\n font-variant-ligatures: none;\n white-space: pre;\n white-space: pre-wrap;\n word-wrap: break-word;\n word-break: normal;\n -webkit-tab-size: 4;\n -moz-tab-size: 4;\n tab-size: 4;\n}\n\n.graphiql-container .doc-type-description code,\n.graphiql-container .doc-category code {\n padding: 2px 3px 1px;\n border: 1px solid var(--saf-0);\n border-radius: 3px;\n background-color: rgba(var(--sk_foreground_min, 29, 28, 29), 0.04);\n color: #e01e5a;\n background-color: white;\n}\n\n.graphiql-container .doc-category {\n margin: 20px 0;\n}\n\n.graphiql-container .doc-category-title {\n border-bottom: 1px solid #e0e0e0;\n color: #777;\n cursor: default;\n font-size: 14px;\n font-variant: small-caps;\n font-weight: bold;\n letter-spacing: 1px;\n margin: 0 -15px 10px 0;\n padding: 10px 0;\n user-select: none;\n}\n\n.graphiql-container .doc-category-item {\n margin: 12px 0;\n color: #555;\n}\n\n.graphiql-container .keyword {\n color: #b11a04;\n}\n\n.graphiql-container .type-name {\n color: #ca9800;\n}\n\n.graphiql-container .field-name {\n color: #1f61a0;\n}\n\n.graphiql-container .field-short-description {\n color: #666;\n margin-left: 5px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.graphiql-container .enum-value {\n color: #0b7fc7;\n}\n\n.graphiql-container .arg-name {\n color: #8b2bb9;\n}\n\n.graphiql-container .arg {\n display: block;\n margin-left: 1em;\n}\n\n.graphiql-container .arg:first-child:last-child,\n.graphiql-container .arg:first-child:nth-last-child(2),\n.graphiql-container .arg:first-child:nth-last-child(2) ~ .arg {\n display: inherit;\n margin: inherit;\n}\n\n.graphiql-container .arg:first-child:nth-last-child(2):after {\n content: ', ';\n}\n\n.graphiql-container .arg-default-value {\n color: #43a047;\n}\n\n.graphiql-container .doc-deprecation {\n background: #fffae8;\n box-shadow: inset 0 0 1px #bfb063;\n color: #867f70;\n line-height: 16px;\n margin: 8px -8px;\n max-height: 80px;\n overflow: hidden;\n padding: 8px;\n border-radius: 3px;\n}\n\n.graphiql-container .doc-deprecation:before {\n content: 'Deprecated:';\n color: #c79b2e;\n cursor: default;\n display: block;\n font-size: 9px;\n font-weight: bold;\n letter-spacing: 1px;\n line-height: 1;\n padding-bottom: 5px;\n text-transform: uppercase;\n user-select: none;\n}\n\n.graphiql-container .doc-deprecation > :first-child {\n margin-top: 0;\n}\n\n.graphiql-container .doc-deprecation > :last-child {\n margin-bottom: 0;\n}\n\n.graphiql-container .show-btn {\n -webkit-appearance: initial;\n display: block;\n border-radius: 3px;\n border: solid 1px #ccc;\n text-align: center;\n padding: 8px 12px 10px;\n width: 100%;\n box-sizing: border-box;\n background: #fbfcfc;\n color: #555;\n cursor: pointer;\n}\n\n.graphiql-container .search-box {\n border-bottom: 1px solid #d3d6db;\n display: flex;\n align-items: center;\n font-size: 14px;\n margin: -15px -15px 12px 0;\n position: relative;\n}\n\n.graphiql-container .search-box-icon {\n cursor: pointer;\n display: block;\n font-size: 24px;\n transform: rotate(-45deg);\n user-select: none;\n}\n\n.graphiql-container .search-box .search-box-clear {\n background-color: #d0d0d0;\n border-radius: 12px;\n color: #fff;\n cursor: pointer;\n font-size: 11px;\n padding: 1px 5px 2px;\n position: absolute;\n right: 3px;\n user-select: none;\n border: 0;\n}\n\n.graphiql-container .search-box .search-box-clear:hover {\n background-color: #b9b9b9;\n}\n\n.graphiql-container .search-box > input {\n border: none;\n box-sizing: border-box;\n font-size: 14px;\n outline: none;\n padding: 6px 24px 8px 20px;\n width: 100%;\n}\n\n.graphiql-container .error-container {\n font-weight: bold;\n left: 0;\n letter-spacing: 1px;\n opacity: 0.5;\n position: absolute;\n right: 0;\n text-align: center;\n text-transform: uppercase;\n top: 50%;\n transform: translate(0, -50%);\n}\n\n.graphiql-container .history-contents {\n font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;\n}\n\n.graphiql-container .history-contents {\n margin: 0;\n padding: 0;\n}\n\n.graphiql-container .history-contents li {\n align-items: center;\n display: flex;\n font-size: 12px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n margin: 0;\n padding: 8px;\n border-bottom: 1px solid #e0e0e0;\n}\n\n.graphiql-container .history-contents li button:not(.history-label) {\n display: none;\n margin-left: 10px;\n}\n\n.graphiql-container .history-contents li:hover button:not(.history-label),\n.graphiql-container\n .history-contents\n li:focus-within\n button:not(.history-label) {\n display: inline-block;\n}\n\n.graphiql-container .history-contents input,\n.graphiql-container .history-contents button {\n padding: 0;\n background: 0;\n border: 0;\n font-size: inherit;\n font-family: inherit;\n line-height: 14px;\n color: inherit;\n}\n\n.graphiql-container .history-contents input {\n flex-grow: 1;\n}\n\n.graphiql-container .history-contents input::placeholder {\n color: inherit;\n}\n\n.graphiql-container .history-contents button {\n cursor: pointer;\n text-align: left;\n}\n\n.graphiql-container .history-contents .history-label {\n flex-grow: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n`,""]);const k=h},73:e=>{"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},81:(e,t,n)=>{"use strict";n.d(t,{R:()=>i});var r=n(5845);function i(e){return{OperationDefinition:function(t){"subscription"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new r.eO(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)))}}}},93:(e,t,n)=>{"use strict";n.r(t);var r=n(3338),i=n(166),o=n(9920),a=(n(6540),n(961),Object.defineProperty),s=(e,t)=>a(e,"name",{value:t,configurable:!0});function l(e,t){var n,r;const i=e.levels;return((i&&0!==i.length?i[i.length-1]-((null===(n=this.electricInput)||void 0===n?void 0:n.test(t))?1:0):e.indentLevel)||0)*((null===(r=this.config)||void 0===r?void 0:r.indentUnit)||0)}s(l,"indent");const c=s((e=>{const t=(0,o.o)({eatWhitespace:e=>e.eatWhile(i.i),lexRules:i.L,parseRules:i.P,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:l,electricInput:/^\s*[})\]]/,fold:"brace",lineComment:"#",closeBrackets:{pairs:'()[]{}""',explode:"()[]{}"}}}),"graphqlModeFactory");r.C.defineMode("graphql",c)},166:(e,t,n)=>{"use strict";n.d(t,{A:()=>_s,B:()=>Us,C:()=>Ia,D:()=>Bs,G:()=>$i,I:()=>Po,J:()=>Ki,K:()=>uc,L:()=>qa,P:()=>za,R:()=>Ga,a:()=>nc,c:()=>A,d:()=>Kr,e:()=>cl,f:()=>rc,g:()=>ml,h:()=>ul,i:()=>Va,j:()=>pl,k:()=>Tl,l:()=>Ma,m:()=>sc,n:()=>Jl,o:()=>Fa,p:()=>ja,r:()=>Os,s:()=>Ds,t:()=>Pa,u:()=>fl,w:()=>Ks,x:()=>Js,y:()=>ks,z:()=>Es});var r=n(9664),i=n(6005),o=n(3932),a=n(1786),s=n(9352),l=n(3061),c=n(8836),u=n(939),p=n(3563),f=n(6324),d=n(5824),h=n(6419),m=n(6540),g=n(961),v=Object.defineProperty,y=Object.defineProperties,b=Object.getOwnPropertyDescriptors,k=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,w=(e,t,n)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,T=(e,t)=>{for(var n in t||(t={}))E.call(t,n)&&w(e,n,t[n]);if(k)for(var n of k(t))x.call(t,n)&&w(e,n,t[n]);return e},C=(e,t)=>y(e,b(t)),_=(e,t)=>v(e,"name",{value:t,configurable:!0}),S=(e,t)=>{var n={};for(var r in e)E.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&k)for(var r of k(e))t.indexOf(r)<0&&x.call(e,r)&&(n[r]=e[r]);return n},A="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function N(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function O(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})})),t}_(N,"getDefaultExportFromCjs"),_(O,"getAugmentedNamespace");var D=/["'&<>]/,I=L;function L(e){var t,n=""+e,r=D.exec(n);if(!r)return n;var i="",o=0,a=0;for(o=r.index;o",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},R=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,P={},j={};function V(e){var t,n,r=j[e];if(r)return r;for(r=j[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&o<=57343){if(o>=55296&&o<=56319&&r+1=56320&&a<=57343){l+=encodeURIComponent(e[r]+e[r+1]),r++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[r]);return l}_(V,"getEncodeCache"),_(q,"encode$1"),q.defaultChars=";/?:@&=+$,-_.!~*'()#",q.componentChars="-_.!~*'()";var z=q,U={};function B(e){var t,n,r=U[e];if(r)return r;for(r=U[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&i)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}_(B,"getDecodeCache"),_(H,"decode$1"),H.defaultChars=";/?:@&=+$,#",H.componentChars="";var G=H,W=_((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||"")+(e.hash||"")}),"format");function Y(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}_(Y,"Url");var Q=/^([a-z0-9.+-]+:)/i,$=/:[0-9]*$/,K=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,J=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),Z=["'"].concat(J),X=["%","/","?",";","#"].concat(Z),ee=["/","?","#"],te=/^[+a-z0-9A-Z_-]{0,63}$/,ne=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,re={javascript:!0,"javascript:":!0},ie={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function oe(e,t){if(e&&e instanceof Y)return e;var n=new Y;return n.parse(e,t),n}_(oe,"urlParse"),Y.prototype.parse=function(e,t){var n,r,i,o,a,s=e;if(s=s.trim(),!t&&1===e.split("#").length){var l=K.exec(s);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=Q.exec(s);if(c&&(i=(c=c[0]).toLowerCase(),this.protocol=c,s=s.substr(c.length)),(t||c||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(a="//"===s.substr(0,2))||c&&re[c]||(s=s.substr(2),this.slashes=!0)),!re[c]&&(a||c&&!ie[c])){var u,p,f=-1;for(n=0;n127?v+="x":v+=g[y];if(!v.match(te)){var k=m.slice(0,n),E=m.slice(n+1),x=g.match(ne);x&&(k.push(x[1]),E.unshift(x[2])),E.length&&(s=E.join(".")+s),this.hostname=k.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),h&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var w=s.indexOf("#");-1!==w&&(this.hash=s.substr(w),s=s.slice(0,w));var T=s.indexOf("?");return-1!==T&&(this.search=s.substr(T),s=s.slice(0,T)),s&&(this.pathname=s),ie[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},Y.prototype.parseHost=function(e){var t=$.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var ae=oe;P.encode=z,P.decode=G,P.format=W,P.parse=ae;var se={},le=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ce=/[\0-\x1F\x7F-\x9F]/,ue=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;se.Any=le,se.Cc=ce,se.Cf=/[\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]/,se.P=R,se.Z=ue,function(e){function t(e){return Object.prototype.toString.call(e)}function n(e){return"[object String]"===t(e)}_(t,"_class"),_(n,"isString");var r=Object.prototype.hasOwnProperty;function i(e,t){return r.call(e,t)}function o(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e}function a(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function s(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||!(65535&~e&&65534!=(65535&e))||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function l(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}_(i,"has"),_(o,"assign"),_(a,"arrayReplaceAt"),_(s,"isValidEntityCode"),_(l,"fromCodePoint");var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=new RegExp(c.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),p=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,f=M;function d(e,t){var n=0;return i(f,t)?f[t]:35===t.charCodeAt(0)&&p.test(t)&&s(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?l(n):e}function h(e){return e.indexOf("\\")<0?e:e.replace(c,"$1")}function m(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(u,(function(e,t,n){return t||d(e,n)}))}_(d,"replaceEntityPattern"),_(h,"unescapeMd"),_(m,"unescapeAll");var g=/[&<>"]/,v=/[&<>"]/g,y={"&":"&","<":"<",">":">",'"':"""};function b(e){return y[e]}function k(e){return g.test(e)?e.replace(v,b):e}_(b,"replaceUnsafeChar"),_(k,"escapeHtml");var E=/[.?*+^$[\]\\(){}|-]/g;function x(e){return e.replace(E,"\\$&")}function w(e){switch(e){case 9:case 32:return!0}return!1}function T(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}_(x,"escapeRE"),_(w,"isSpace"),_(T,"isWhiteSpace");var C=R;function S(e){return C.test(e)}function A(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}}function N(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}_(S,"isPunctChar"),_(A,"isMdAsciiPunct"),_(N,"normalizeReference"),e.lib={},e.lib.mdurl=P,e.lib.ucmicro=se,e.assign=o,e.isString=n,e.has=i,e.unescapeMd=h,e.unescapeAll=m,e.isValidEntityCode=s,e.fromCodePoint=l,e.escapeHtml=k,e.arrayReplaceAt=a,e.isSpace=w,e.isWhiteSpace=T,e.isMdAsciiPunct=A,e.isPunctChar=S,e.escapeRE=x,e.normalizeReference=N}(F);var pe={},fe=_((function(e,t,n){var r,i,o,a,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos32)return a;if(41===r){if(0===i)break;i--}t++}return o===t||0!==i||(a.str=de(e.slice(o,t)),a.lines=0,a.pos=t,a.ok=!0),a}),"parseLinkDestination"),me=F.unescapeAll,ge=_((function(e,t,n){var r,i,o=0,a=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=n)return s;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return s;for(t++,40===i&&(i=41);t"+be(e[t].content)+""},ke.code_block=function(e,t,n,r,i){var o=e[t];return""+be(e[t].content)+"\n"},ke.fence=function(e,t,n,r,i){var o,a,s,l,c,u=e[t],p=u.info?ye(u.info).trim():"",f="",d="";return p&&(f=(s=p.split(/(\s+)/g))[0],d=s.slice(2).join("")),0===(o=n.highlight&&n.highlight(u.content,f,d)||be(u.content)).indexOf(""+o+"\n"):"
"+o+"
\n"},ke.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)},ke.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},ke.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},ke.text=function(e,t){return be(e[t].content)},ke.html_block=function(e,t){return e[t].content},ke.html_inline=function(e,t){return e[t].content},_(Ee,"Renderer$1"),Ee.prototype.renderAttrs=_((function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t\n":">")}),"renderToken"),Ee.prototype.renderInline=function(e,t,n){for(var r,i="",o=this.rules,a=0,s=e.length;a\s]/i.test(e)}function Ie(e){return/^<\/a\s*>/i.test(e)}_(De,"isLinkOpen"),_(Ie,"isLinkClose");var Le=_((function(e){var t,n,r,i,o,a,s,l,c,u,p,f,d,h,m,g,v,y=e.tokens;if(e.md.options.linkify)for(n=0,r=y.length;n=0;t--)if("link_close"!==(a=i[t]).type){if("html_inline"===a.type&&(De(a.content)&&d>0&&d--,Ie(a.content)&&d++),!(d>0)&&"text"===a.type&&e.md.linkify.test(a.content)){for(c=a.content,v=e.md.linkify.match(c),s=[],f=a.level,p=0,l=0;lp&&((o=new e.Token("text","",0)).content=c.slice(p,u),o.level=f,s.push(o)),(o=new e.Token("link_open","a",1)).attrs=[["href",m]],o.level=f++,o.markup="linkify",o.info="auto",s.push(o),(o=new e.Token("text","",0)).content=g,o.level=f,s.push(o),(o=new e.Token("link_close","a",-1)).level=--f,o.markup="linkify",o.info="auto",s.push(o),p=v[l].lastIndex);p=0;t--)"text"!==(n=e[t]).type||r||(n.content=n.content.replace(Re,je)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function qe(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||r||Fe.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}_(je,"replaceFn"),_(Ve,"replace_scoped"),_(qe,"replace_rare");var ze=_((function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(Me.test(e.tokens[t].content)&&Ve(e.tokens[t].children),Fe.test(e.tokens[t].content)&&qe(e.tokens[t].children))}),"replace"),Ue=F.isWhiteSpace,Be=F.isPunctChar,He=F.isMdAsciiPunct,Ge=/['"]/,We=/['"]/g;function Ye(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function Qe(e,t){var n,r,i,o,a,s,l,c,u,p,f,d,h,m,g,v,y,b,k,E,x;for(k=[],n=0;n=0&&!(k[y].level<=l);y--);if(k.length=y+1,"text"===r.type){a=0,s=(i=r.content).length;e:for(;a=0)u=i.charCodeAt(o.index-1);else for(y=n-1;y>=0&&"softbreak"!==e[y].type&&"hardbreak"!==e[y].type;y--)if(e[y].content){u=e[y].content.charCodeAt(e[y].content.length-1);break}if(p=32,a=48&&u<=57&&(v=g=!1),g&&v&&(g=f,v=d),g||v){if(v)for(y=k.length-1;y>=0&&(c=k[y],!(k[y].level=0;t--)"inline"===e.tokens[t].type&&Ge.test(e.tokens[t].content)&&Qe(e.tokens[t].children,e)}),"smartquotes");function Ke(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}_(Ke,"Token$3"),Ke.prototype.attrIndex=_((function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n=0&&(n=this.attrs[t][1]),n}),"attrGet"),Ke.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}),"attrJoin");var Je=Ke,Ze=Je;function Xe(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}_(Xe,"StateCore"),Xe.prototype.Token=Ze;var et=Xe,tt=Te,nt=[["normalize",Se],["block",Ae],["inline",Ne],["linkify",Le],["replacements",ze],["smartquotes",$e]];function rt(){this.ruler=new tt;for(var e=0;en)return!1;if(c=t+1,e.sCount[c]=4)return!1;if((a=e.bMarks[c]+e.tShift[c])>=e.eMarks[c])return!1;if(124!==(k=e.src.charCodeAt(a++))&&45!==k&&58!==k)return!1;if(a>=e.eMarks[c])return!1;if(124!==(E=e.src.charCodeAt(a++))&&45!==E&&58!==E&&!ot(E))return!1;if(45===k&&ot(E))return!1;for(;a=4)return!1;if((u=st(o)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),0===(p=u.length)||p!==d.length)return!1;if(r)return!0;for(v=e.parentType,e.parentType="table",b=e.md.block.ruler.getRules("blockquote"),(f=e.push("table_open","table",1)).map=m=[t,0],(f=e.push("thead_open","thead",1)).map=[t,t+1],(f=e.push("tr_open","tr",1)).map=[t,t+1],s=0;s=4)break;for((u=st(o)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),c===t+2&&((f=e.push("tbody_open","tbody",1)).map=g=[t+2,0]),(f=e.push("tr_open","tr",1)).map=[c,c+1],s=0;s=4))break;i=++r}return e.line=i,(o=e.push("code_block","code",0)).content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}),"code"),ut=_((function(e,t,n,r){var i,o,a,s,l,c,u,p=!1,f=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(f+3>d)return!1;if(126!==(i=e.src.charCodeAt(f))&&96!==i)return!1;if(l=f,(o=(f=e.skipChars(f,i))-l)<3)return!1;if(u=e.src.slice(l,f),a=e.src.slice(f,d),96===i&&a.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n||(f=l=e.bMarks[s]+e.tShift[s])<(d=e.eMarks[s])&&e.sCount[s]=4||(f=e.skipChars(f,i))-l=4)return!1;if(62!==e.src.charCodeAt(C++))return!1;if(r)return!0;for(s=f=e.sCount[t]+1,32===e.src.charCodeAt(C)?(C++,s++,f++,i=!1,b=!0):9===e.src.charCodeAt(C)?(b=!0,(e.bsCount[t]+f)%4==3?(C++,s++,f++,i=!1):i=!0):b=!1,d=[e.bMarks[t]],e.bMarks[t]=C;C<_&&(o=e.src.charCodeAt(C),pt(o));)9===o?f+=4-(f+e.bsCount[t]+(i?1:0))%4:f++,C++;for(h=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(b?1:0),c=C>=_,v=[e.sCount[t]],e.sCount[t]=f-s,y=[e.tShift[t]],e.tShift[t]=C-e.bMarks[t],E=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",p=t+1;p=(_=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(C++)||w){if(c)break;for(k=!1,a=0,l=E.length;a=_,h.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(b?1:0),v.push(e.sCount[p]),e.sCount[p]=f-s,y.push(e.tShift[p]),e.tShift[p]=C-e.bMarks[p]}for(m=e.blkIndent,e.blkIndent=0,(x=e.push("blockquote_open","blockquote",1)).markup=">",x.map=u=[t,0],e.md.block.tokenize(e,t,p),(x=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=T,e.parentType=g,u[1]=e.line,a=0;a=4)return!1;if(42!==(i=e.src.charCodeAt(l++))&&45!==i&&95!==i)return!1;for(o=1;l=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;if(!((n=e.src.charCodeAt(i++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}return i=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]=e.blkIndent&&(I=!0),(_=vt(e,t))>=0){if(u=!0,A=e.bMarks[t]+e.tShift[t],g=Number(e.src.slice(A,_-1)),I&&1!==g)return!1}else{if(!((_=gt(e,t))>=0))return!1;u=!1}if(I&&e.skipSpaces(_)>=e.eMarks[t])return!1;if(m=e.src.charCodeAt(_-1),r)return!0;for(h=e.tokens.length,u?(D=e.push("ordered_list_open","ol",1),1!==g&&(D.attrs=[["start",g]])):D=e.push("bullet_list_open","ul",1),D.map=d=[t,0],D.markup=String.fromCharCode(m),y=t,S=!1,O=e.md.block.ruler.getRules("list"),E=e.parentType,e.parentType="list";y=v?1:b-c)>4&&(l=1),s=c+l,(D=e.push("list_item_open","li",1)).markup=String.fromCharCode(m),D.map=p=[t,0],u&&(D.info=e.src.slice(A,_-1)),T=e.tight,w=e.tShift[t],x=e.sCount[t],k=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=s,e.tight=!0,e.tShift[t]=o-e.bMarks[t],e.sCount[t]=b,o>=v&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!S||(L=!1),S=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=k,e.tShift[t]=w,e.sCount[t]=x,e.tight=T,(D=e.push("list_item_close","li",-1)).markup=String.fromCharCode(m),y=t=e.line,p[1]=y,o=e.bMarks[t],y>=n)break;if(e.sCount[y]=4)break;for(N=!1,a=0,f=O.length;a=4)return!1;if(91!==e.src.charCodeAt(E))return!1;for(;++E3||e.sCount[w]<0)){for(v=!1,c=0,u=y.length;c`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",Ct="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",_t=new RegExp("^(?:"+Tt+"|"+Ct+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),St=new RegExp("^(?:"+Tt+"|"+Ct+")");wt.HTML_TAG_RE=_t,wt.HTML_OPEN_CLOSE_TAG_RE=St;var At=wt.HTML_OPEN_CLOSE_TAG_RE,Nt=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(At.source+"\\s*$"),/^$/,!1]],Ot=_((function(e,t,n,r){var i,o,a,s,l=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(s=e.src.slice(l,c),i=0;i=4)return!1;if(35!==(i=e.src.charCodeAt(l))||l>=c)return!1;for(o=1,i=e.src.charCodeAt(++l);35===i&&l6||ll&&Dt(e.src.charCodeAt(a-1))&&(c=a),e.line=t+1,(s=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),s.map=[t,e.line],(s=e.push("inline","",0)).content=e.src.slice(l,c).trim(),s.map=[t,e.line],s.children=[],(s=e.push("heading_close","h"+String(o),-1)).markup="########".slice(0,o)),0))}),"heading"),Lt=_((function(e,t,n){var r,i,o,a,s,l,c,u,p,f,d=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(f=e.parentType,e.parentType="paragraph";d3)){if(e.sCount[d]>=e.blkIndent&&(l=e.bMarks[d]+e.tShift[d])<(c=e.eMarks[d])&&(45===(p=e.src.charCodeAt(l))||61===p)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=c)){u=61===p?1:2;break}if(!(e.sCount[d]<0)){for(i=!1,o=0,a=h.length;o3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i0&&this.level++,this.tokens.push(r),r},Pt.prototype.isEmpty=_((function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]}),"isEmpty"),Pt.prototype.skipEmptyLines=_((function(e){for(var t=this.lineMax;et;)if(!Rt(this.src.charCodeAt(--e)))return e+1;return e}),"skipSpacesBack"),Pt.prototype.skipChars=_((function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e}),"skipCharsBack"),Pt.prototype.getLines=_((function(e,t,n,r){var i,o,a,s,l,c,u,p=e;if(e>=t)return"";for(c=new Array(t-e),i=0;pn?new Array(o-n+1).join(" ")+this.src.slice(s,l):this.src.slice(s,l)}return c.join("")}),"getLines"),Pt.prototype.Token=Mt;var jt=Pt,Vt=Te,qt=[["table",lt,["paragraph","reference"]],["code",ct],["fence",ut,["paragraph","reference","blockquote","list"]],["blockquote",ft,["paragraph","reference","blockquote","list"]],["hr",ht,["paragraph","reference","blockquote","list"]],["list",bt,["paragraph","reference","blockquote"]],["reference",xt],["html_block",Ot,["paragraph","reference","blockquote"]],["heading",It,["paragraph","reference","blockquote"]],["lheading",Lt],["paragraph",Ft]];function zt(){this.ruler=new Vt;for(var e=0;e=n))&&!(e.sCount[a]=l){e.line=n;break}for(r=0;r=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),i++;i?@[]^_`{|}~-".split("").forEach((function(e){Qt[e.charCodeAt(0)]=1}));var Kt=_((function(e,t){var n,r=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(r))return!1;if(++r=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--))}en.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;n=d)return!1;if(h=s,(l=e.md.helpers.parseLinkDestination(e.src,s,e.posMax)).ok){for(u=e.md.normalizeLink(l.str),e.md.validateLink(u)?s=l.pos:u="",h=s;s=d||41!==e.src.charCodeAt(s))&&(m=!0),s++}if(m){if(void 0===e.env.references)return!1;if(s=0?i=e.src.slice(h,s++):s=o+1):s=o+1,i||(i=e.src.slice(a,o)),!(c=e.env.references[nn(i)]))return e.pos=f,!1;u=c.href,p=c.title}return t||(e.pos=a,e.posMax=o,e.push("link_open","a",1).attrs=n=[["href",u]],p&&n.push(["title",p]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=s,e.posMax=d,!0}),"link"),an=F.normalizeReference,sn=F.isSpace,ln=_((function(e,t){var n,r,i,o,a,s,l,c,u,p,f,d,h,m="",g=e.pos,v=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(s=e.pos+2,(a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=a+1)=v)return!1;for(h=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(m=e.md.normalizeLink(u.str),e.md.validateLink(m)?l=u.pos:m=""),h=l;l=v||41!==e.src.charCodeAt(l))return e.pos=g,!1;l++}else{if(void 0===e.env.references)return!1;if(l=0?o=e.src.slice(h,l++):l=a+1):l=a+1,o||(o=e.src.slice(s,a)),!(c=e.env.references[an(o)]))return e.pos=g,!1;m=c.href,p=c.title}return t||(i=e.src.slice(s,a),e.md.inline.parse(i,e.md,e.env,d=[]),(f=e.push("image","img",0)).attrs=n=[["src",m],["alt",""]],f.children=d,f.content=i,p&&n.push(["title",p])),e.pos=l,e.posMax=v,!0}),"image"),cn=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,un=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,pn=_((function(e,t){var n,r,i,o,a,s,l=e.pos;if(60!==e.src.charCodeAt(l))return!1;for(a=e.pos,s=e.posMax;;){if(++l>=s)return!1;if(60===(o=e.src.charCodeAt(l)))return!1;if(62===o)break}return n=e.src.slice(a+1,l),un.test(n)?(r=e.md.normalizeLink(n),!!e.md.validateLink(r)&&(t||((i=e.push("link_open","a",1)).attrs=[["href",r]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(n),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=n.length+2,!0)):!!cn.test(n)&&(r=e.md.normalizeLink("mailto:"+n),!!e.md.validateLink(r)&&(t||((i=e.push("link_open","a",1)).attrs=[["href",r]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(n),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=n.length+2,!0))}),"autolink"),fn=wt.HTML_TAG_RE;function dn(e){var t=32|e;return t>=97&&t<=122}_(dn,"isLetter");var hn=_((function(e,t){var n,r,i,o=e.pos;return!(!e.md.options.html||(i=e.posMax,60!==e.src.charCodeAt(o)||o+2>=i||33!==(n=e.src.charCodeAt(o+1))&&63!==n&&47!==n&&!dn(n)||!(r=e.src.slice(o).match(fn))||(t||(e.push("html_inline","",0).content=e.src.slice(o,o+r[0].length)),e.pos+=r[0].length,0)))}),"html_inline"),mn=M,gn=F.has,vn=F.isValidEntityCode,yn=F.fromCodePoint,bn=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,kn=/^&([a-z][a-z0-9]{1,31});/i,En=_((function(e,t){var n,r,i=e.pos,o=e.posMax;if(38!==e.src.charCodeAt(i))return!1;if(i+1a;r-=o.jump+1)if((o=t[r]).marker===i.marker&&o.open&&o.end<0&&(l=!1,(o.close||i.open)&&(o.length+i.length)%3==0&&(o.length%3==0&&i.length%3==0||(l=!0)),!l)){c=r>0&&!t[r-1].open?t[r-1].jump+1:0,i.jump=n-r+c,i.open=!1,o.end=n,o.jump=c,o.close=!1,s=-1;break}-1!==s&&(u[i.marker][(i.open?3:0)+(i.length||0)%3]=s)}}_(xn,"processDelimiters");var wn=_((function(e){var t,n=e.tokens_meta,r=e.tokens_meta.length;for(xn(0,e.delimiters),t=0;t0&&r++,"text"===i[t].type&&t+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r},Nn.prototype.scanDelims=function(e,t){var n,r,i,o,a,s,l,c,u,p=e,f=!0,d=!0,h=this.posMax,m=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;p=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Fn.prototype.parse=function(e,t,n,r){var i,o,a,s=new this.State(e,t,n,r);for(this.tokenize(s),a=(o=this.ruler2.getRules("")).length,i=0;i<|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),"re");function Pn(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function jn(e){return Object.prototype.toString.call(e)}function Vn(e){return"[object String]"===jn(e)}function qn(e){return"[object Object]"===jn(e)}function zn(e){return"[object RegExp]"===jn(e)}function Un(e){return"[object Function]"===jn(e)}function Bn(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}_(Pn,"assign"),_(jn,"_class"),_(Vn,"isString"),_(qn,"isObject$2"),_(zn,"isRegExp"),_(Un,"isFunction"),_(Bn,"escapeRE");var Hn={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Gn(e){return Object.keys(e||{}).reduce((function(e,t){return e||Hn.hasOwnProperty(t)}),!1)}_(Gn,"isOptionsObj");var Wn={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},Yn="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Qn(e){e.__index__=-1,e.__text_cache__=""}function $n(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function Kn(e){var t=e.re=Rn(e.__opts__),n=e.__tlds__.slice();function r(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),_(r,"untpl"),t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");var i=[];function o(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},_(o,"schemaError"),Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,qn(n))return zn(n.validate)?r.validate=$n(n.validate):Un(n.validate)?r.validate=n.validate:o(t,n),void(Un(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=function(e,t){t.normalize(e)});Vn(n)?i.push(t):o(t,n)}})),i.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Bn).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),Qn(e)}function Jn(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function Zn(e,t){var n=new Jn(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Xn(e,t){if(!(this instanceof Xn))return new Xn(e,t);t||Gn(e)&&(t=e,e={}),this.__opts__=Pn({},Hn,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Pn({},Wn,e),this.__compiled__={},this.__tlds__=Yn,this.__tlds_replaced__=!1,this.re={},Kn(this)}_(Qn,"resetScanCache"),_($n,"createValidator"),_((function(){return function(e,t){t.normalize(e)}}),"createNormalizer"),_(Kn,"compile"),_(Jn,"Match"),_(Zn,"createMatch"),_(Xn,"LinkifyIt$1"),Xn.prototype.add=_((function(e,t){return this.__schemas__[e]=t,Kn(this),this}),"add"),Xn.prototype.set=_((function(e){return this.__opts__=Pn(this.__opts__,e),this}),"set"),Xn.prototype.test=_((function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,o,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0}),"test"),Xn.prototype.pretest=_((function(e){return this.re.pretest.test(e)}),"pretest"),Xn.prototype.testSchemaAt=_((function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0}),"testSchemaAt"),Xn.prototype.match=_((function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(Zn(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(Zn(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null}),"match"),Xn.prototype.tlds=_((function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),Kn(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Kn(this),this)}),"tlds"),Xn.prototype.normalize=_((function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)}),"normalize"),Xn.prototype.onCompile=_((function(){}),"onCompile");var er=Xn;const tr=2147483647,nr=36,rr=/^xn--/,ir=/[^\0-\x7E]/,or=/[\x2E\u3002\uFF0E\uFF61]/g,ar={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},sr=Math.floor,lr=String.fromCharCode;function cr(e){throw new RangeError(ar[e])}function ur(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function pr(e,t){const n=e.split("@");let r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+ur((e=e.replace(or,".")).split("."),t).join(".")}function fr(e){const t=[];let n=0;const r=e.length;for(;n=55296&&i<=56319&&nString.fromCodePoint(...e)),"ucs2encode"),hr=_((function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:nr}),"basicToDigit"),mr=_((function(e,t){return e+22+75*(e<26)-((0!=t)<<5)}),"digitToBasic"),gr=_((function(e,t,n){let r=0;for(e=n?sr(e/700):e>>1,e+=sr(e/t);e>455;r+=nr)e=sr(e/35);return sr(r+36*e/(e+38))}),"adapt"),vr=_((function(e){const t=[],n=e.length;let r=0,i=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let n=0;n=128&&cr("not-basic"),t.push(e.charCodeAt(n));for(let s=a>0?a+1:0;s=n&&cr("invalid-input");const a=hr(e.charCodeAt(s++));(a>=nr||a>sr((tr-r)/t))&&cr("overflow"),r+=a*t;const l=i<=o?1:i>=o+26?26:i-o;if(asr(tr/c)&&cr("overflow"),t*=c}const l=t.length+1;o=gr(r-a,l,0==a),sr(r/l)>tr-i&&cr("overflow"),i+=sr(r/l),r%=l,t.splice(r++,0,i)}return String.fromCodePoint(...t)}),"decode"),yr=_((function(e){const t=[];let n=(e=fr(e)).length,r=128,i=0,o=72;for(const n of e)n<128&&t.push(lr(n));let a=t.length,s=a;for(a&&t.push("-");s=r&&tsr((tr-i)/l)&&cr("overflow"),i+=(n-r)*l,r=n;for(const n of e)if(ntr&&cr("overflow"),n==r){let e=i;for(let n=nr;;n+=nr){const r=n<=o?1:n>=o+26?26:n-o;if(e=0))try{t.hostname=Dr.toASCII(t.hostname)}catch(e){}return Or.encode(Or.format(t))}function jr(e){var t=Or.parse(e,!0);if(t.hostname&&(!t.protocol||Rr.indexOf(t.protocol)>=0))try{t.hostname=Dr.toUnicode(t.hostname)}catch(e){}return Or.decode(Or.format(t),Or.decode.defaultChars+"%")}function Vr(e,t){if(!(this instanceof Vr))return new Vr(e,t);t||wr.isString(e)||(t=e||{},e="default"),this.inline=new Ar,this.block=new Sr,this.core=new _r,this.renderer=new Cr,this.linkify=new Nr,this.validateLink=Mr,this.normalizeLink=Pr,this.normalizeLinkText=jr,this.utils=wr,this.helpers=wr.assign({},Tr),this.options={},this.configure(e),t&&this.set(t)}_(Pr,"normalizeLink"),_(jr,"normalizeLinkText"),_(Vr,"MarkdownIt"),Vr.prototype.set=function(e){return wr.assign(this.options,e),this},Vr.prototype.configure=function(e){var t,n=this;if(wr.isString(e)&&!(e=Ir[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},Vr.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},Vr.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},Vr.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},Vr.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},Vr.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},Vr.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},Vr.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const qr=new Vr;var zr=Object.defineProperty,Ur=_(((e,t)=>zr(e,"name",{value:t,configurable:!0})),"__name$j");const Br="graphiql",Hr="sublime";let Gr=!1;"object"==typeof window&&(Gr=0===window.navigator.platform.toLowerCase().indexOf("mac"));const Wr={[Gr?"Cmd-F":"Ctrl-F"]:"findPersistent","Cmd-G":"findPersistent","Ctrl-G":"findPersistent","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight"};async function Yr(e,t){const r=await Promise.resolve().then(n.bind(n,3338)).then((function(e){return e.c})).then((e=>"function"==typeof e?e:e.default));return await Promise.all(!1===(null==t?void 0:t.useCommonAddons)?e:[Promise.resolve().then(n.bind(n,9669)).then((function(e){return e.s})),Promise.resolve().then(n.bind(n,2382)).then((function(e){return e.m})),Promise.resolve().then(n.bind(n,5061)).then((function(e){return e.c})),Promise.resolve().then(n.bind(n,5983)).then((function(e){return e.b})),Promise.resolve().then(n.bind(n,3148)).then((function(e){return e.f})),Promise.resolve().then(n.bind(n,4482)).then((function(e){return e.l})),Promise.resolve().then(n.bind(n,5910)).then((function(e){return e.s})),Promise.resolve().then(n.bind(n,6113)).then((function(e){return e.j})),Promise.resolve().then(n.bind(n,924)).then((function(e){return e.d})),Promise.resolve().then(n.bind(n,7391)).then((function(e){return e.s})),...e]),r}_(Yr,"importCodeMirror"),Ur(Yr,"importCodeMirror");var Qr=Object.defineProperty,$r=_(((e,t)=>Qr(e,"name",{value:t,configurable:!0})),"__name$i");function Kr(e,t,n,r){function i(e){if(!(n&&r&&e.currentTarget instanceof HTMLElement&&"typeName"===e.currentTarget.className))return;const t=e.currentTarget.innerHTML,i=n.getType(t);i&&(r.show(),r.push({name:i.name,def:i}))}Yr([],{useCommonAddons:!1}).then((e=>{let n,r;e.on(t,"select",((e,t)=>{if(!n){const e=t.parentNode;let o;n=document.createElement("div"),n.className="CodeMirror-hint-information",n.addEventListener("click",i),e.appendChild(n),r=document.createElement("div"),r.className="CodeMirror-hint-deprecation",e.appendChild(r),e.addEventListener("DOMNodeRemoved",o=$r((t=>{t.target===e&&(e.removeEventListener("DOMNodeRemoved",o),n&&n.removeEventListener("click",i),n=null,r=null,o=null)}),"onRemoveFn"))}const o=e.description?qr.render(e.description):"Self descriptive.",a=e.type?''+Jr(e.type)+"":"";if(n.innerHTML='
'+("

"===o.slice(0,3)?"

"+a+o.slice(3):a+o)+"

",e&&r&&e.deprecationReason){const t=e.deprecationReason?qr.render(e.deprecationReason):"";r.innerHTML='Deprecated'+t,r.style.display="block"}else r&&(r.style.display="none")}))})),_(i,"onClickHintInformation"),$r(i,"onClickHintInformation")}function Jr(e){return(0,r.bd)(e)?`${Jr(e.ofType)}!`:(0,r.Fs)(e)?`[${Jr(e.ofType)}]`:`${I(e.name)}`}_(Kr,"onHasCompletion"),$r(Kr,"onHasCompletion"),_(Jr,"renderType"),$r(Jr,"renderType");var Zr={exports:{}},Xr={};function ei(){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(e){return!1}}Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,_((function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}),"toObject"),_(ei,"shouldUseNative"),ei()&&Object.assign;var ti=m,ni=60103;if(Xr.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var ri=Symbol.for;ni=ri("react.element"),Xr.Fragment=ri("react.fragment")}var ii=ti.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,oi=Object.prototype.hasOwnProperty,ai={key:!0,ref:!0,__self:!0,__source:!0};function si(e,t,n){var r,i={},o=null,a=null;for(r in void 0!==n&&(o=""+n),void 0!==t.key&&(o=""+t.key),void 0!==t.ref&&(a=t.ref),t)oi.call(t,r)&&!ai.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:ni,type:e,key:o,ref:a,props:i,_owner:ii.current}}_(si,"q"),Xr.jsx=si,Xr.jsxs=si,Zr.exports=Xr;const li=Zr.exports.jsx,ci=Zr.exports.jsxs;var ui=Object.defineProperty,pi=_(((e,t)=>ui(e,"name",{value:t,configurable:!0})),"__name$h");function fi(e){var t;const[n,r]=(0,m.useState)({width:null,height:null}),[i,o]=(0,m.useState)(null),a=(0,m.useRef)(null),s=null==(t=di(e.token))?void 0:t.href;(0,m.useEffect)((()=>{if(a.current)return s?void fetch(s,{method:"HEAD"}).then((e=>{o(e.headers.get("Content-Type"))})).catch((()=>{o(null)})):(r({width:null,height:null}),void o(null))}),[s]);const l=null!==n.width&&null!==n.height?ci("div",{children:[n.width,"x",n.height,null!==i?" "+i:null]}):null;return ci("div",{children:[li("img",{onLoad:()=>{var e,t,n,i;r({width:null!=(t=null==(e=a.current)?void 0:e.naturalWidth)?t:null,height:null!=(i=null==(n=a.current)?void 0:n.naturalHeight)?i:null})},ref:a,src:s}),l]})}function di(e){if("string"!==e.type)return;const t=e.string.slice(1).slice(0,-1).trim();try{const e=window.location;return new URL(t,e.protocol+"//"+e.host)}catch(e){return}}function hi(e){return/(bmp|gif|jpeg|jpg|png|svg)$/.test(e.pathname)}function mi(e){return"object"==typeof e&&"function"==typeof e.then}function gi(e){return new Promise(((t,n)=>{const r=e.subscribe({next:e=>{t(e),r.unsubscribe()},error:n,complete:()=>{n(new Error("no value resolved"))}})}))}function vi(e){return"object"==typeof e&&"subscribe"in e&&"function"==typeof e.subscribe}function yi(e){return"object"==typeof e&&null!==e&&("AsyncGenerator"===e[Symbol.toStringTag]||Symbol.asyncIterator in e)}function bi(e){return new Promise(((t,n)=>{var r;const i=null===(r=("return"in e?e:e[Symbol.asyncIterator]()).return)||void 0===r?void 0:r.bind(e);("next"in e?e:e[Symbol.asyncIterator]()).next.bind(e)().then((e=>{t(e.value),null==i||i()})).catch((e=>{n(e)}))}))}function ki(e){return Promise.resolve(e).then((e=>yi(e)?bi(e):vi(e)?gi(e):e))}_(fi,"ImagePreview"),pi(fi,"ImagePreview"),fi.shouldRender=pi(_((function(e){const t=di(e);return!!t&&hi(t)}),"shouldRender"),"shouldRender"),_(di,"tokenToURL"),pi(di,"tokenToURL"),_(hi,"isImageURL"),pi(hi,"isImageURL"),_(mi,"isPromise"),_(gi,"observableToPromise"),_(vi,"isObservable"),_(yi,"isAsyncIterable"),_(bi,"asyncIterableToPromise"),_(ki,"fetcherReturnToPromise"),globalThis&&globalThis.__awaiter;var Ei=globalThis&&globalThis.__await||function(e){return this instanceof Ei?(this.v=e,this):new Ei(e)};function xi(e){return JSON.stringify(e,null,2)}function wi(e){return Object.assign(Object.assign({},e),{message:e.message,stack:e.stack})}function Ti(e){return e instanceof Error?wi(e):e}function Ci(e){return Array.isArray(e)?xi({errors:e.map((e=>Ti(e)))}):xi({errors:[Ti(e)]})}function _i(e){return xi(e)}function Si(e,t,n){const r=[];if(!e||!t)return{insertions:r,result:t};let l;try{l=(0,i.qg)(t)}catch(e){return{insertions:r,result:t}}const c=n||Ai,u=new o.D(e);return(0,a.YR)(l,{leave(e){u.leave(e)},enter(e){if(u.enter(e),"Field"===e.kind&&!e.selectionSet){const n=Ni(Ii(u.getType()),c);if(n&&e.loc){const i=Di(t,e.loc.start);r.push({index:e.loc.end,string:" "+(0,s.y)(n).replace(/\n/g,"\n"+i)})}}}}),{insertions:r,result:Oi(t,r)}}function Ai(e){if(!("getFields"in e))return[];const t=e.getFields();if(t.id)return["id"];if(t.edges)return["edges"];if(t.node)return["node"];const n=[];return Object.keys(t).forEach((e=>{(0,r.zf)(t[e].type)&&n.push(e)})),n}function Ni(e,t){const n=(0,r.MR)(e);if(!e||(0,r.zf)(e))return;const i=t(n);return Array.isArray(i)&&0!==i.length&&"getFields"in n?{kind:l.b.SELECTION_SET,selections:i.map((e=>{const r=n.getFields()[e],i=r?r.type:null;return{kind:l.b.FIELD,name:{kind:l.b.NAME,value:e},selectionSet:Ni(i,t)}}))}:void 0}function Oi(e,t){if(0===t.length)return e;let n="",r=0;return t.forEach((({index:t,string:i})=>{n+=e.slice(r,t)+i,r=t})),n+=e.slice(r),n}function Di(e,t){let n=t,r=t;for(;n;){const t=e.charCodeAt(n-1);if(10===t||13===t||8232===t||8233===t)break;n--,9!==t&&11!==t&&12!==t&&32!==t&&160!==t&&(r=n)}return e.substring(n,r)}function Ii(e){if(e)return e}function Li(e,t){var n;const r=new Map,i=[];for(const o of e)if("Field"===o.kind){const e=t(o),a=r.get(e);if(null===(n=o.directives)||void 0===n?void 0:n.length){const e=Object.assign({},o);i.push(e)}else if((null==a?void 0:a.selectionSet)&&o.selectionSet)a.selectionSet.selections=[...a.selectionSet.selections,...o.selectionSet.selections];else if(!a){const t=Object.assign({},o);r.set(e,t),i.push(t)}}else i.push(o);return i}function Fi(e,t,n){var i;const o=n?(0,r.MR)(n).name:null,a=[],s=[];for(let r of t){if("FragmentSpread"===r.kind){const t=r.name.value;if(!r.directives||0===r.directives.length){if(s.indexOf(t)>=0)continue;s.push(t)}const n=e[r.name.value];if(n){const{typeCondition:e,directives:t,selectionSet:i}=n;r={kind:l.b.INLINE_FRAGMENT,typeCondition:e,directives:t,selectionSet:i}}}if(r.kind===l.b.INLINE_FRAGMENT&&(!r.directives||0===(null===(i=r.directives)||void 0===i?void 0:i.length))){const t=r.typeCondition?r.typeCondition.name.value:null;if(!t||t===o){a.push(...Fi(e,r.selectionSet.selections,n));continue}}a.push(r)}return a}function Mi(e,t){const n=t?new o.D(t):null,r=Object.create(null);for(const t of e.definitions)t.kind===l.b.FRAGMENT_DEFINITION&&(r[t.name.value]=t);const i={SelectionSet(e){const t=n?n.getParentType():null;let{selections:i}=e;return i=Fi(r,i,t),i=Li(i,(e=>e.alias?e.alias.value:e.name.value)),Object.assign(Object.assign({},e),{selections:i})},FragmentDefinition:()=>null};return(0,a.YR)(e,n?(0,o.S)(n,i):i)}function Ri(e,t,n){if(!n||n.length<1)return;const r=n.map((e=>{var t;return null===(t=e.name)||void 0===t?void 0:t.value}));if(t&&-1!==r.indexOf(t))return t;if(t&&e){const n=e.map((e=>{var t;return null===(t=e.name)||void 0===t?void 0:t.value})).indexOf(t);if(-1!==n&&nt.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName))}edit(e){const t=this.items.findIndex((t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName));-1!==t&&(this.items.splice(t,1,e),this.save())}delete(e){const t=this.items.findIndex((t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName));-1!==t&&(this.items.splice(t,1),this.save())}fetchRecent(){return this.items[this.items.length-1]}fetchAll(){const e=this.storage.get(this.key);return e?JSON.parse(e)[this.key]:[]}push(e){const t=[...this.items,e];this.maxSize&&t.length>this.maxSize&&t.shift();for(let e=0;e<5;e++){const e=this.storage.set(this.key,JSON.stringify({[this.key]:t}));if(e&&e.error){if(!e.isQuotaError||!this.maxSize)return;t.shift()}else this.items=t}}save(){this.storage.set(this.key,JSON.stringify({[this.key]:this.items}))}}_(qi,"QueryStore");class zi{constructor(e,t){this.storage=e,this.maxHistoryLength=t,this.updateHistory=(e,t,n,r)=>{if(this.shouldSaveQuery(e,t,n,this.history.fetchRecent())){this.history.push({query:e,variables:t,headers:n,operationName:r});const i=this.history.items,o=this.favorite.items;this.queries=i.concat(o)}},this.history=new qi("queries",this.storage,this.maxHistoryLength),this.favorite=new qi("favorites",this.storage,null),this.queries=[...this.history.fetchAll(),...this.favorite.fetchAll()]}shouldSaveQuery(e,t,n,r){if(!e)return!1;try{(0,i.qg)(e)}catch(e){return!1}if(e.length>1e5)return!1;if(!r)return!0;if(JSON.stringify(e)===JSON.stringify(r.query)){if(JSON.stringify(t)===JSON.stringify(r.variables)){if(JSON.stringify(n)===JSON.stringify(r.headers))return!1;if(n&&!r.headers)return!1}if(t&&!r.variables)return!1}return!0}toggleFavorite(e,t,n,r,i,o){const a={query:e,variables:t,headers:n,operationName:r,label:i};this.favorite.contains(a)?o&&(a.favorite=!1,this.favorite.delete(a)):(a.favorite=!0,this.favorite.push(a)),this.queries=[...this.history.items,...this.favorite.items]}editLabel(e,t,n,r,i,o){const a={query:e,variables:t,headers:n,operationName:r,label:i};o?this.favorite.edit(Object.assign(Object.assign({},a),{favorite:o})):this.history.edit(a),this.queries=[...this.history.items,...this.favorite.items]}}_(zi,"HistoryStore");var Ui=Object.defineProperty,Bi=_(((e,t)=>Ui(e,"name",{value:t,configurable:!0})),"__name$g");function Hi(e){const t=(0,m.createContext)(null);return t.displayName=e,t}function Gi(e){function t(n){var r;const i=(0,m.useContext)(e);if(null===i&&(null==n?void 0:n.nonNull))throw new Error(`Tried to use \`${(null==(r=n.caller)?void 0:r.name)||t.caller.name}\` without the necessary context. Make sure to render the \`${e.displayName}Provider\` component higher up the tree.`);return i}return _(t,"useGivenContext"),Bi(t,"useGivenContext"),Object.defineProperty(t,"name",{value:`use${e.displayName}`}),t}_(Hi,"createNullableContext"),Bi(Hi,"createNullableContext"),_(Gi,"createContextHook"),Bi(Gi,"createContextHook");var Wi=Object.defineProperty,Yi=_(((e,t)=>Wi(e,"name",{value:t,configurable:!0})),"__name$f");const Qi=Hi("StorageContext");function $i(e){const t=(0,m.useRef)(!0),[n,r]=(0,m.useState)(new ji(e.storage));return(0,m.useEffect)((()=>{t.current?t.current=!1:r(new ji(e.storage))}),[e.storage]),li(Qi.Provider,{value:n,children:e.children})}_($i,"StorageContextProvider"),Yi($i,"StorageContextProvider");const Ki=Gi(Qi);var Ji,Zi,Xi,eo,to,no,ro,io,oo,ao,so,lo,co,uo,po,fo,ho,mo,go,vo,yo,bo,ko,Eo,xo,wo,To,Co,_o,So,Ao;!function(e){function t(e){return"string"==typeof e}_(t,"is"),e.is=t}(Ji||(Ji={})),function(e){function t(e){return"string"==typeof e}_(t,"is"),e.is=t}(Zi||(Zi={})),function(e){function t(t){return"number"==typeof t&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647,_(t,"is"),e.is=t}(Xi||(Xi={})),function(e){function t(t){return"number"==typeof t&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}e.MIN_VALUE=0,e.MAX_VALUE=2147483647,_(t,"is"),e.is=t}(eo||(eo={})),function(e){function t(e,t){return e===Number.MAX_VALUE&&(e=eo.MAX_VALUE),t===Number.MAX_VALUE&&(t=eo.MAX_VALUE),{line:e,character:t}}function n(e){var t=e;return Da.objectLiteral(t)&&Da.uinteger(t.line)&&Da.uinteger(t.character)}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(to||(to={})),function(e){function t(e,t,n,r){if(Da.uinteger(e)&&Da.uinteger(t)&&Da.uinteger(n)&&Da.uinteger(r))return{start:to.create(e,t),end:to.create(n,r)};if(to.is(e)&&to.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments[".concat(e,", ").concat(t,", ").concat(n,", ").concat(r,"]"))}function n(e){var t=e;return Da.objectLiteral(t)&&to.is(t.start)&&to.is(t.end)}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(no||(no={})),function(e){function t(e,t){return{uri:e,range:t}}function n(e){var t=e;return Da.defined(t)&&no.is(t.range)&&(Da.string(t.uri)||Da.undefined(t.uri))}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(ro||(ro={})),function(e){function t(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}}function n(e){var t=e;return Da.defined(t)&&no.is(t.targetRange)&&Da.string(t.targetUri)&&no.is(t.targetSelectionRange)&&(no.is(t.originSelectionRange)||Da.undefined(t.originSelectionRange))}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(io||(io={})),function(e){function t(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}}function n(e){var t=e;return Da.objectLiteral(t)&&Da.numberRange(t.red,0,1)&&Da.numberRange(t.green,0,1)&&Da.numberRange(t.blue,0,1)&&Da.numberRange(t.alpha,0,1)}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(oo||(oo={})),function(e){function t(e,t){return{range:e,color:t}}function n(e){var t=e;return Da.objectLiteral(t)&&no.is(t.range)&&oo.is(t.color)}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(ao||(ao={})),function(e){function t(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}}function n(e){var t=e;return Da.objectLiteral(t)&&Da.string(t.label)&&(Da.undefined(t.textEdit)||ko.is(t))&&(Da.undefined(t.additionalTextEdits)||Da.typedArray(t.additionalTextEdits,ko.is))}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(so||(so={})),(co=lo||(lo={})).Comment="comment",co.Imports="imports",co.Region="region",function(e){function t(e,t,n,r,i,o){var a={startLine:e,endLine:t};return Da.defined(n)&&(a.startCharacter=n),Da.defined(r)&&(a.endCharacter=r),Da.defined(i)&&(a.kind=i),Da.defined(o)&&(a.collapsedText=o),a}function n(e){var t=e;return Da.objectLiteral(t)&&Da.uinteger(t.startLine)&&Da.uinteger(t.startLine)&&(Da.undefined(t.startCharacter)||Da.uinteger(t.startCharacter))&&(Da.undefined(t.endCharacter)||Da.uinteger(t.endCharacter))&&(Da.undefined(t.kind)||Da.string(t.kind))}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(uo||(uo={})),function(e){function t(e,t){return{location:e,message:t}}function n(e){var t=e;return Da.defined(t)&&ro.is(t.location)&&Da.string(t.message)}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(po||(po={})),(ho=fo||(fo={})).Error=1,ho.Warning=2,ho.Information=3,ho.Hint=4,(go=mo||(mo={})).Unnecessary=1,go.Deprecated=2,function(e){function t(e){var t=e;return Da.objectLiteral(t)&&Da.string(t.href)}_(t,"is"),e.is=t}(vo||(vo={})),function(e){function t(e,t,n,r,i,o){var a={range:e,message:t};return Da.defined(n)&&(a.severity=n),Da.defined(r)&&(a.code=r),Da.defined(i)&&(a.source=i),Da.defined(o)&&(a.relatedInformation=o),a}function n(e){var t,n=e;return Da.defined(n)&&no.is(n.range)&&Da.string(n.message)&&(Da.number(n.severity)||Da.undefined(n.severity))&&(Da.integer(n.code)||Da.string(n.code)||Da.undefined(n.code))&&(Da.undefined(n.codeDescription)||Da.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(Da.string(n.source)||Da.undefined(n.source))&&(Da.undefined(n.relatedInformation)||Da.typedArray(n.relatedInformation,po.is))}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(yo||(yo={})),function(e){function t(e,t){for(var n=[],r=2;r0&&(i.arguments=n),i}function n(e){var t=e;return Da.defined(t)&&Da.string(t.title)&&Da.string(t.command)}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(bo||(bo={})),function(e){function t(e,t){return{range:e,newText:t}}function n(e,t){return{range:{start:e,end:e},newText:t}}function r(e){return{range:e,newText:""}}function i(e){var t=e;return Da.objectLiteral(t)&&Da.string(t.newText)&&no.is(t.range)}_(t,"replace"),e.replace=t,_(n,"insert"),e.insert=n,_(r,"del"),e.del=r,_(i,"is"),e.is=i}(ko||(ko={})),function(e){function t(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r}function n(e){var t=e;return Da.objectLiteral(t)&&Da.string(t.label)&&(Da.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(Da.string(t.description)||void 0===t.description)}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(Eo||(Eo={})),function(e){function t(e){var t=e;return Da.string(t)}_(t,"is"),e.is=t}(xo||(xo={})),function(e){function t(e,t,n){return{range:e,newText:t,annotationId:n}}function n(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}}function r(e,t){return{range:e,newText:"",annotationId:t}}function i(e){var t=e;return ko.is(t)&&(Eo.is(t.annotationId)||xo.is(t.annotationId))}_(t,"replace"),e.replace=t,_(n,"insert"),e.insert=n,_(r,"del"),e.del=r,_(i,"is"),e.is=i}(wo||(wo={})),function(e){function t(e,t){return{textDocument:e,edits:t}}function n(e){var t=e;return Da.defined(t)&&Do.is(t.textDocument)&&Array.isArray(t.edits)}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(To||(To={})),function(e){function t(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}function n(e){var t=e;return t&&"create"===t.kind&&Da.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||Da.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Da.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||xo.is(t.annotationId))}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(Co||(Co={})),function(e){function t(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}function n(e){var t=e;return t&&"rename"===t.kind&&Da.string(t.oldUri)&&Da.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||Da.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Da.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||xo.is(t.annotationId))}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(_o||(_o={})),function(e){function t(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}function n(e){var t=e;return t&&"delete"===t.kind&&Da.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||Da.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||Da.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||xo.is(t.annotationId))}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(So||(So={})),function(e){function t(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return Da.string(e.kind)?Co.is(e)||_o.is(e)||So.is(e):To.is(e)})))}_(t,"is"),e.is=t}(Ao||(Ao={}));var No,Oo,Do,Io,Lo,Fo,Mo,Ro,Po,jo,Vo,qo,zo,Uo,Bo,Ho,Go,Wo,Yo,Qo,$o,Ko,Jo,Zo,Xo,ea,ta,na,ra,ia,oa,aa,sa,la,ca,ua,pa,fa,da,ha,ma,ga,va,ya,ba,ka,Ea,xa,wa,Ta,Ca,_a,Sa,Aa,Na=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return _(e,"TextEditChangeImpl"),e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=ko.insert(e,t):xo.is(n)?(i=n,r=wo.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=wo.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=ko.replace(e,t):xo.is(n)?(i=n,r=wo.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=wo.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=ko.del(e):xo.is(t)?(r=t,n=wo.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=wo.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}(),Oa=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return _(e,"ChangeAnnotations"),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(xo.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw new Error("Id ".concat(n," is already in use."));if(void 0===t)throw new Error("No annotation provided for id ".concat(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 Oa(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach((function(e){if(To.is(e)){var n=new Na(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}}))):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new Na(e.changes[n]);t._textEditChanges[n]=r}))):this._workspaceEdit={}}_(e,"WorkspaceChange"),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(Do.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 Na(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 Na(i),this._textEditChanges[e]=r}return r},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new Oa,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(Eo.is(t)||xo.is(t)?r=t:n=t,void 0===r?i=Co.create(e,n):(o=xo.is(r)?r:this._changeAnnotations.manage(r),i=Co.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(Eo.is(n)||xo.is(n)?i=n:r=n,void 0===i?o=_o.create(e,t,r):(a=xo.is(i)?i:this._changeAnnotations.manage(i),o=_o.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(Eo.is(t)||xo.is(t)?r=t:n=t,void 0===r?i=So.create(e,n):(o=xo.is(r)?r:this._changeAnnotations.manage(r),i=So.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o}}(),function(e){function t(e){return{uri:e}}function n(e){var t=e;return Da.defined(t)&&Da.string(t.uri)}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(No||(No={})),function(e){function t(e,t){return{uri:e,version:t}}function n(e){var t=e;return Da.defined(t)&&Da.string(t.uri)&&Da.integer(t.version)}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(Oo||(Oo={})),function(e){function t(e,t){return{uri:e,version:t}}function n(e){var t=e;return Da.defined(t)&&Da.string(t.uri)&&(null===t.version||Da.integer(t.version))}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(Do||(Do={})),function(e){function t(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}}function n(e){var t=e;return Da.defined(t)&&Da.string(t.uri)&&Da.string(t.languageId)&&Da.integer(t.version)&&Da.string(t.text)}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(Io||(Io={})),function(e){function t(t){var n=t;return n===e.PlainText||n===e.Markdown}e.PlainText="plaintext",e.Markdown="markdown",_(t,"is"),e.is=t}(Lo||(Lo={})),function(e){function t(e){var t=e;return Da.objectLiteral(e)&&Lo.is(t.kind)&&Da.string(t.value)}_(t,"is"),e.is=t}(Fo||(Fo={})),(Ro=Mo||(Mo={})).Text=1,Ro.Method=2,Ro.Function=3,Ro.Constructor=4,Ro.Field=5,Ro.Variable=6,Ro.Class=7,Ro.Interface=8,Ro.Module=9,Ro.Property=10,Ro.Unit=11,Ro.Value=12,Ro.Enum=13,Ro.Keyword=14,Ro.Snippet=15,Ro.Color=16,Ro.File=17,Ro.Reference=18,Ro.Folder=19,Ro.EnumMember=20,Ro.Constant=21,Ro.Struct=22,Ro.Event=23,Ro.Operator=24,Ro.TypeParameter=25,(jo=Po||(Po={})).PlainText=1,jo.Snippet=2,(Vo||(Vo={})).Deprecated=1,function(e){function t(e,t,n){return{newText:e,insert:t,replace:n}}function n(e){var t=e;return t&&Da.string(t.newText)&&no.is(t.insert)&&no.is(t.replace)}_(t,"create"),e.create=t,_(n,"is"),e.is=n}(qo||(qo={})),(Uo=zo||(zo={})).asIs=1,Uo.adjustIndentation=2,function(e){function t(e){var t=e;return t&&(Da.string(t.detail)||void 0===t.detail)&&(Da.string(t.description)||void 0===t.description)}_(t,"is"),e.is=t}(Bo||(Bo={})),function(e){function t(e){return{label:e}}_(t,"create"),e.create=t}(Ho||(Ho={})),function(e){function t(e,t){return{items:e||[],isIncomplete:!!t}}_(t,"create"),e.create=t}(Go||(Go={})),function(e){function t(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}function n(e){var t=e;return Da.string(t)||Da.objectLiteral(t)&&Da.string(t.language)&&Da.string(t.value)}_(t,"fromPlainText"),e.fromPlainText=t,_(n,"is"),e.is=n}(Wo||(Wo={})),function(e){function t(e){var t=e;return!!t&&Da.objectLiteral(t)&&(Fo.is(t.contents)||Wo.is(t.contents)||Da.typedArray(t.contents,Wo.is))&&(void 0===e.range||no.is(e.range))}_(t,"is"),e.is=t}(Yo||(Yo={})),function(e){function t(e,t){return t?{label:e,documentation:t}:{label:e}}_(t,"create"),e.create=t}(Qo||(Qo={})),function(e){function t(e,t){for(var n=[],r=2;r=0;a--){var s=r[a],l=e.offsetAt(s.range.start),c=e.offsetAt(s.range.end);if(!(c<=o))throw new Error("Overlapping edit");n=n.substring(0,l)+s.newText+n.substring(c,n.length),o=l}return n}function i(e,t){if(e.length<=1)return e;var n=e.length/2|0,r=e.slice(0,n),o=e.slice(n);i(r,t),i(o,t);for(var a=0,s=0,l=0;a0&&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 to.create(0,e);for(;ne?r=i:n=i+1}var o=n-1;return to.create(o,e-t[o])},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+1{let r=!1;return n&&(r=n(e)),r&&t.every((t=>t.match&&!t.match(e)))},e}function Pa(e,t){return{style:t,match:t=>t.kind===e}}function ja(e,t){return{style:t||"punctuation",match:t=>"Punctuation"===t.kind&&t.value===e}}!function(e){var t=Object.prototype.toString;function n(e){return void 0!==e}function r(e){return void 0===e}function i(e){return!0===e||!1===e}function o(e){return"[object String]"===t.call(e)}function a(e){return"[object Number]"===t.call(e)}function s(e,n,r){return"[object Number]"===t.call(e)&&n<=e&&e<=r}function l(e){return"[object Number]"===t.call(e)&&-2147483648<=e&&e<=2147483647}function c(e){return"[object Number]"===t.call(e)&&0<=e&&e<=2147483647}function u(e){return"[object Function]"===t.call(e)}function p(e){return null!==e&&"object"==typeof e}function f(e,t){return Array.isArray(e)&&e.every(t)}_(n,"defined"),e.defined=n,_(r,"undefined$1"),e.undefined=r,_(i,"boolean"),e.boolean=i,_(o,"string"),e.string=o,_(a,"number"),e.number=a,_(s,"numberRange"),e.numberRange=s,_(l,"integer"),e.integer=l,_(c,"uinteger"),e.uinteger=c,_(u,"func"),e.func=u,_(p,"objectLiteral"),e.objectLiteral=p,_(f,"typedArray"),e.typedArray=f}(Da||(Da={})),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}(Ia||(Ia={})),_(Fa,"opt"),_(Ma,"list"),_(Ra,"butNot"),_(Pa,"t"),_(ja,"p");const Va=_((e=>" "===e||"\t"===e||","===e||"\n"===e||"\r"===e||"\ufeff"===e||" "===e),"isIgnored"),qa={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|&|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},za={Document:[Ma("Definition")],Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return l.b.FRAGMENT_DEFINITION;case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef"}},ShortQuery:["SelectionSet"],Query:[Ua("query"),Fa(Ba("def")),Fa("VariableDefinitions"),Ma("Directive"),"SelectionSet"],Mutation:[Ua("mutation"),Fa(Ba("def")),Fa("VariableDefinitions"),Ma("Directive"),"SelectionSet"],Subscription:[Ua("subscription"),Fa(Ba("def")),Fa("VariableDefinitions"),Ma("Directive"),"SelectionSet"],VariableDefinitions:[ja("("),Ma("VariableDefinition"),ja(")")],VariableDefinition:["Variable",ja(":"),"Type",Fa("DefaultValue")],Variable:[ja("$","variable"),Ba("variable")],DefaultValue:[ja("="),"Value"],SelectionSet:[ja("{"),Ma("Selection"),ja("}")],Selection:(e,t)=>"..."===e.value?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field",AliasedField:[Ba("property"),ja(":"),Ba("qualifier"),Fa("Arguments"),Ma("Directive"),Fa("SelectionSet")],Field:[Ba("property"),Fa("Arguments"),Ma("Directive"),Fa("SelectionSet")],Arguments:[ja("("),Ma("Argument"),ja(")")],Argument:[Ba("attribute"),ja(":"),"Value"],FragmentSpread:[ja("..."),Ba("def"),Ma("Directive")],InlineFragment:[ja("..."),Fa("TypeCondition"),Ma("Directive"),"SelectionSet"],FragmentDefinition:[Ua("fragment"),Fa(Ra(Ba("def"),[Ua("on")])),"TypeCondition",Ma("Directive"),"SelectionSet"],TypeCondition:[Ua("on"),"NamedType"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable";case"&":return"NamedType"}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue"}return"null"===e.value?"NullValue":"EnumValue"}},NumberValue:[Pa("Number","number")],StringValue:[{style:"string",match:e=>"String"===e.kind,update(e,t){t.value.startsWith('"""')&&(e.inBlockstring=!t.value.slice(3).endsWith('"""'))}}],BooleanValue:[Pa("Name","builtin")],NullValue:[Pa("Name","keyword")],EnumValue:[Ba("string-2")],ListValue:[ja("["),Ma("Value"),ja("]")],ObjectValue:[ja("{"),Ma("ObjectField"),ja("}")],ObjectField:[Ba("attribute"),ja(":"),"Value"],Type:e=>"["===e.value?"ListType":"NonNullType",ListType:[ja("["),"Type",ja("]"),Fa(ja("!"))],NonNullType:["NamedType",Fa(ja("!"))],NamedType:[Ha("atom")],Directive:[ja("@","meta"),Ba("meta"),Fa("Arguments")],DirectiveDef:[Ua("directive"),ja("@","meta"),Ba("meta"),Fa("ArgumentsDef"),Ua("on"),Ma("DirectiveLocation",ja("|"))],InterfaceDef:[Ua("interface"),Ba("atom"),Fa("Implements"),Ma("Directive"),ja("{"),Ma("FieldDef"),ja("}")],Implements:[Ua("implements"),Ma("NamedType",ja("&"))],DirectiveLocation:[Ba("string-2")],SchemaDef:[Ua("schema"),Ma("Directive"),ja("{"),Ma("OperationTypeDef"),ja("}")],OperationTypeDef:[Ba("keyword"),ja(":"),Ba("atom")],ScalarDef:[Ua("scalar"),Ba("atom"),Ma("Directive")],ObjectTypeDef:[Ua("type"),Ba("atom"),Fa("Implements"),Ma("Directive"),ja("{"),Ma("FieldDef"),ja("}")],FieldDef:[Ba("property"),Fa("ArgumentsDef"),ja(":"),"Type",Ma("Directive")],ArgumentsDef:[ja("("),Ma("InputValueDef"),ja(")")],InputValueDef:[Ba("attribute"),ja(":"),"Type",Fa("DefaultValue"),Ma("Directive")],UnionDef:[Ua("union"),Ba("atom"),Ma("Directive"),ja("="),Ma("UnionMember",ja("|"))],UnionMember:["NamedType"],EnumDef:[Ua("enum"),Ba("atom"),Ma("Directive"),ja("{"),Ma("EnumValueDef"),ja("}")],EnumValueDef:[Ba("string-2"),Ma("Directive")],InputDef:[Ua("input"),Ba("atom"),Ma("Directive"),ja("{"),Ma("InputValueDef"),ja("}")],ExtendDef:[Ua("extend"),"ObjectTypeDef"]};function Ua(e){return{style:"keyword",match:t=>"Name"===t.kind&&t.value===e}}function Ba(e){return{style:e,match:e=>"Name"===e.kind,update(e,t){e.name=t.value}}}function Ha(e){return{style:e,match:e=>"Name"===e.kind,update(e,t){var n;(null===(n=e.prevState)||void 0===n?void 0:n.prevState)&&(e.name=t.value,e.prevState.prevState.type=t.value)}}}_(Ua,"word"),_(Ba,"name"),_(Ha,"type");const Ga=Object.assign(Object.assign({},l.b),{ALIASED_FIELD:"AliasedField",ARGUMENTS:"Arguments",SHORT_QUERY:"ShortQuery",QUERY:"Query",MUTATION:"Mutation",SUBSCRIPTION:"Subscription",TYPE_CONDITION:"TypeCondition",INVALID:"Invalid",COMMENT:"Comment",SCHEMA_DEF:"SchemaDef",SCALAR_DEF:"ScalarDef",OBJECT_TYPE_DEF:"ObjectTypeDef",OBJECT_VALUE:"ObjectValue",LIST_VALUE:"ListValue",INTERFACE_DEF:"InterfaceDef",UNION_DEF:"UnionDef",ENUM_DEF:"EnumDef",ENUM_VALUE:"EnumValue",FIELD_DEF:"FieldDef",INPUT_DEF:"InputDef",INPUT_VALUE_DEF:"InputValueDef",ARGUMENTS_DEF:"ArgumentsDef",EXTEND_DEF:"ExtendDef",DIRECTIVE_DEF:"DirectiveDef",IMPLEMENTS:"Implements",VARIABLE_DEFINITIONS:"VariableDefinitions",TYPE:"Type"});var Wa={exports:{}};function Ya(e,t){if(null!=e)return e;var n=new Error(void 0!==t?t:"Got unexpected "+e);throw n.framesToPop=1,n}_(Ya,"nullthrows"),Wa.exports=Ya,Wa.exports.default=Ya,Object.defineProperty(Wa.exports,"__esModule",{value:!0});var Qa=N(Wa.exports);const $a=_(((e,t)=>{if(!t)return[];const n=new Map,r=new Set;(0,a.YR)(e,{FragmentDefinition(e){n.set(e.name.value,!0)},FragmentSpread(e){r.has(e.name.value)||r.add(e.name.value)}});const i=new Set;r.forEach((e=>{!n.has(e)&&t.has(e)&&i.add(Qa(t.get(e)))}));const o=[];return i.forEach((e=>{(0,a.YR)(e,{FragmentSpread(e){!r.has(e.name.value)&&t.get(e.name.value)&&(i.add(Qa(t.get(e.name.value))),r.add(e.name.value))}}),n.has(e.name.value)||o.push(e)})),o}),"getFragmentDependenciesForAST");function Ka(e,t){const n=Object.create(null);return t.definitions.forEach((t=>{if("OperationDefinition"===t.kind){const r=t.variableDefinitions;r&&r.forEach((({variable:t,type:r})=>{const i=(0,c.v)(e,r);i?n[t.name.value]=i:r.kind===l.b.NAMED_TYPE&&"Float"===r.name.value&&(n[t.name.value]=u.qS)}))}})),n}function Ja(e,t){const n=t?Ka(t,e):void 0,r=[];return(0,a.YR)(e,{OperationDefinition(e){r.push(e)}}),{variableToType:n,operations:r}}function Za(e,t){if(t)try{const n=(0,i.qg)(t);return Object.assign(Object.assign({},Ja(n,e)),{documentAST:n})}catch(e){return}}_(Ka,"collectVariables"),_(Ja,"getOperationASTFacts"),_(Za,"getOperationFacts"),globalThis&&globalThis.__awaiter;var Xa=_((function(e){return"object"==typeof e?null===e:"function"!=typeof e}),"isPrimitive"),es=_((function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}),"isObject");function ts(e){return!0===es(e)&&"[object Object]"===Object.prototype.toString.call(e)}_(ts,"isObjectObject");var ns=_((function(e){var t,n;return!1!==ts(e)&&"function"==typeof(t=e.constructor)&&!1!==ts(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")}),"isPlainObject");const{deleteProperty:rs}=Reflect,is=Xa,os=ns,as=_((e=>"object"==typeof e&&null!==e||"function"==typeof e),"isObject"),ss=_((e=>"__proto__"===e||"constructor"===e||"prototype"===e),"isUnsafeKey"),ls=_((e=>{if(!is(e))throw new TypeError("Object keys must be strings or symbols");if(ss(e))throw new Error(`Cannot set unsafe key: "${e}"`)}),"validateKey"),cs=_((e=>Array.isArray(e)?e.flat().map(String).join(","):e),"toStringKey"),us=_(((e,t)=>{if("string"!=typeof e||!t)return e;let n=e+";";return void 0!==t.arrays&&(n+=`arrays=${t.arrays};`),void 0!==t.separator&&(n+=`separator=${t.separator};`),void 0!==t.split&&(n+=`split=${t.split};`),void 0!==t.merge&&(n+=`merge=${t.merge};`),void 0!==t.preservePaths&&(n+=`preservePaths=${t.preservePaths};`),n}),"createMemoKey"),ps=_(((e,t,n)=>{const r=cs(t?us(e,t):e);ls(r);const i=ms.cache.get(r)||n();return ms.cache.set(r,i),i}),"memoize"),fs=_(((e,t={})=>{const n=t.separator||".",r="/"!==n&&t.preservePaths;if("string"==typeof e&&!1!==r&&/\//.test(e))return[e];const i=[];let o="";const a=_((e=>{let t;""!==e.trim()&&Number.isInteger(t=Number(e))?i.push(t):i.push(e)}),"push");for(let t=0;tt&&"function"==typeof t.split?t.split(e):"symbol"==typeof e?[e]:Array.isArray(e)?e:ps(e,t,(()=>fs(e,t)))),"split"),hs=_(((e,t,n,r)=>{if(ls(t),void 0===n)rs(e,t);else if(r&&r.merge){const i="function"===r.merge?r.merge:Object.assign;i&&os(e[t])&&os(n)?e[t]=i(e[t],n):e[t]=n}else e[t]=n;return e}),"assignProp"),ms=_(((e,t,n,r)=>{if(!t||!as(e))return e;const i=ds(t,r);let o=e;for(let e=0;e{ms.cache=new Map};var gs=ms,vs=Object.defineProperty,ys=_(((e,t)=>vs(e,"name",{value:t,configurable:!0})),"__name$e");const bs=Hi("HistoryContext");function ks(e){var t;const n=Ki(),r=(0,m.useRef)(new zi(n||new ji(null),e.maxHistoryLength||xs)),[i,o]=(0,m.useState)((null==(t=r.current)?void 0:t.queries)||[]),[a,s]=(0,m.useState)("true"===(null==n?void 0:n.get(ws))||!1),l=(0,m.useCallback)((({query:e,variables:t,headers:n,operationName:i})=>{var a;null==(a=r.current)||a.updateHistory(e,t,n,i),o(r.current.queries)}),[]),c=(0,m.useCallback)((({query:e,variables:t,headers:n,operationName:i,label:a,favorite:s})=>{r.current.editLabel(e,t,n,i,a,s),o(r.current.queries)}),[]),{onToggle:u}=e,p=(0,m.useCallback)((()=>{null==u||u(!1),null==n||n.set(ws,JSON.stringify(!1)),s(!1)}),[u,n]),f=(0,m.useCallback)((()=>{null==u||u(!0),null==n||n.set(ws,JSON.stringify(!0)),s(!0)}),[u,n]),d=(0,m.useCallback)((()=>{s((e=>{const t=!e;return null==u||u(t),null==n||n.set(ws,JSON.stringify(t)),t}))}),[u,n]),h=(0,m.useCallback)((({query:e,variables:t,headers:n,operationName:i,label:a,favorite:s})=>{r.current.toggleFavorite(e,t,n,i,a,s),o(r.current.queries)}),[]),g=(0,m.useMemo)((()=>({addToHistory:l,editLabel:c,hide:p,isVisible:a,items:i,show:f,toggle:d,toggleFavorite:h})),[l,c,p,a,i,f,d,h]);return li(bs.Provider,{value:g,children:e.children})}_(ks,"HistoryContextProvider"),ys(ks,"HistoryContextProvider");const Es=Gi(bs),xs=20,ws="historyPaneOpen";var Ts=Object.defineProperty,Cs=_(((e,t)=>Ts(e,"name",{value:t,configurable:!0})),"__name$d");function _s(){const{headerEditor:e,queryEditor:t,variableEditor:n}=rc({nonNull:!0,caller:_s});return r=>{var i,o,a;null==t||t.setValue(null!=(i=r.query)?i:""),null==n||n.setValue(null!=(o=r.variables)?o:""),null==e||e.setValue(null!=(a=r.headers)?a:"")}}_(_s,"useSelectHistoryItem"),Cs(_s,"useSelectHistoryItem");var Ss=Object.defineProperty,As=_(((e,t)=>Ss(e,"name",{value:t,configurable:!0})),"__name$c");const Ns=Hi("ExecutionContext");function Os(e){const{externalFragments:t,headerEditor:n,queryEditor:r,responseEditor:i,shouldPersistHeaders:o,variableEditor:a,updateActiveTabValues:l}=rc({nonNull:!0,caller:Os}),c=Es(),u=fl({caller:Os}),[p,f]=(0,m.useState)(!1),[d,h]=(0,m.useState)(null),g=(0,m.useRef)(0),v=(0,m.useCallback)((()=>{null==d||d.unsubscribe(),f(!1),h(null)}),[d]),{fetcher:y}=e,b=(0,m.useCallback)((async()=>{var p,m,b;if(!r||!i)return;if(d)return void v();const k=As((e=>{i.setValue(e),l({response:e})}),"setResponse");g.current+=1;const E=g.current;let x=u()||r.getValue();const w=null==a?void 0:a.getValue();let C;try{C=Is({json:w,errorMessageParse:"Variables are invalid JSON",errorMessageType:"Variables are not a JSON object."})}catch(e){return void k(e instanceof Error?e.message:`${e}`)}const _=null==n?void 0:n.getValue();let A;try{A=Is({json:_,errorMessageParse:"Headers are invalid JSON",errorMessageType:"Headers are not a JSON object."})}catch(e){return void k(e instanceof Error?e.message:`${e}`)}if(t){const e=r.documentAST?$a(r.documentAST,t):[];e.length>0&&(x+="\n"+e.map((e=>(0,s.y)(e))).join("\n"))}k(""),f(!0);const N=null!=(m=null!=(p=e.operationName)?p:r.operationName)?m:void 0;null==c||c.addToHistory({query:x,variables:w,headers:_,operationName:N});try{let e={data:{}};const t=As((t=>{if(E!==g.current)return;let n=!!Array.isArray(t)&&t;if(!n&&"object"==typeof t&&null!==t&&"hasNext"in t&&(n=[t]),n){const t={data:e.data},r=[...(null==e?void 0:e.errors)||[],...n.map((e=>e.errors)).flat().filter(Boolean)];r.length&&(t.errors=r);for(const r of n){const n=r,{path:i,data:o,errors:a}=n,s=S(n,["path","data","errors"]);if(i){if(!o)throw new Error(`Expected part to contain a data property, but got ${r}`);gs(t.data,i,o,{merge:!0})}else o&&(t.data=r.data);e=T(T({},t),s)}f(!1),k(_i(e))}else{const e=_i(t);f(!1),k(e)}}),"handleResponse"),n=y({query:x,variables:C,operationName:N},{headers:null!=A?A:void 0,shouldPersistHeaders:o,documentAST:null!=(b=r.documentAST)?b:void 0}),i=await Promise.resolve(n);if(vi(i))h(i.subscribe({next(e){t(e)},error(e){f(!1),e&&k(Ci(e)),h(null)},complete(){f(!1),h(null)}}));else if(yi(i)){h({unsubscribe:()=>{var e,t;return null==(t=(e=i[Symbol.asyncIterator]()).return)?void 0:t.call(e)}});try{for await(const e of i)t(e);f(!1),h(null)}catch(e){f(!1),k(Ci(e)),h(null)}}else t(i)}catch(e){f(!1),k(Ci(e)),h(null)}}),[u,t,y,n,c,e.operationName,r,i,o,v,d,l,a]),k=(0,m.useMemo)((()=>{var t;return{isFetching:p,operationName:null!=(t=e.operationName)?t:null,run:b,stop:v}}),[p,e.operationName,b,v]);return li(Ns.Provider,{value:k,children:e.children})}_(Os,"ExecutionContextProvider"),As(Os,"ExecutionContextProvider");const Ds=Gi(Ns);function Is({json:e,errorMessageParse:t,errorMessageType:n}){let r;try{r=e&&""!==e.trim()?JSON.parse(e):void 0}catch(e){throw new Error(`${t}: ${e instanceof Error?e.message:e}.`)}const i="object"==typeof r&&null!==r&&!Array.isArray(r);if(void 0!==r&&!i)throw new Error(n);return r}_(Is,"tryParseJsonObject"),As(Is,"tryParseJsonObject");var Ls=_((function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;rVs(e,"name",{value:t,configurable:!0})),"__name$b");const zs=Hi("SchemaContext");function Us(e){const{initialHeaders:t,headerEditor:n}=rc({nonNull:!0,caller:Us}),[r,i]=(0,m.useState)(),[o,a]=(0,m.useState)(!1),[s,l]=(0,m.useState)(null),c=(0,m.useRef)(0);(0,m.useEffect)((()=>{i((0,p.Wl)(e.schema)||null===e.schema||void 0===e.schema?e.schema:void 0),c.current++}),[e.schema]);const u=(0,m.useRef)(t);(0,m.useEffect)((()=>{n&&(u.current=n.getValue())}));const{introspectionQuery:h,introspectionQueryName:g,introspectionQuerySansSubscriptions:v}=Hs({inputValueDeprecation:e.inputValueDeprecation,introspectionQueryName:e.introspectionQueryName,schemaDescription:e.schemaDescription}),{fetcher:y,onSchemaChange:b}=e,k=(0,m.useCallback)((()=>{if((0,p.Wl)(e.schema)||null===e.schema)return;const t=++c.current;i(void 0);const n=e.schema;async function r(){if(n)return n;const e=Gs(u.current);if(!e.isValidJSON)return void l("Introspection failed as headers are invalid.");const t=e.headers?{headers:e.headers}:{},r=ki(y({query:h,operationName:g},t));if(!mi(r))return void l("Fetcher did not return a Promise for introspection.");a(!0);let i=await r;if("object"!=typeof i||null===i||!("data"in i)){const e=ki(y({query:v,operationName:g},t));if(!mi(e))throw new Error("Fetcher did not return a Promise for introspection.");i=await e}if(a(!1),(null==i?void 0:i.data)&&"__schema"in i.data)return i.data;const o="string"==typeof i?i:_i(i);l(o)}_(r,"fetchIntrospectionData"),qs(r,"fetchIntrospectionData"),r().then((e=>{if(t===c.current&&e)try{const t=(0,f.D)(e);i(t),null==b||b(t)}catch(e){l(Ci(e))}})).catch((e=>{t===c.current&&(l(Ci(e)),a(!1))}))}),[y,g,h,v,b,e.schema]);(0,m.useEffect)((()=>{k()}),[k]),(0,m.useEffect)((()=>{function e(e){82===e.keyCode&&e.shiftKey&&e.ctrlKey&&k()}return _(e,"triggerIntrospection"),qs(e,"triggerIntrospection"),window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)}));const E=(0,m.useMemo)((()=>!r||e.dangerouslyAssumeSchemaIsValid?[]:(0,d.i)(r)),[r,e.dangerouslyAssumeSchemaIsValid]),x=(0,m.useMemo)((()=>({fetchError:s,introspect:k,isFetching:o,schema:r,validationErrors:E})),[s,k,o,r,E]);return li(zs.Provider,{value:x,children:e.children})}_(Us,"SchemaContextProvider"),qs(Us,"SchemaContextProvider");const Bs=Gi(zs);function Hs({inputValueDeprecation:e,introspectionQueryName:t,schemaDescription:n}){return(0,m.useMemo)((()=>{const r=t||"IntrospectionQuery";let i=(0,h.I)({inputValueDeprecation:e,schemaDescription:n});t&&(i=i.replace("query IntrospectionQuery",`query ${r}`));const o=i.replace("subscriptionType { name }","");return{introspectionQueryName:r,introspectionQuery:i,introspectionQuerySansSubscriptions:o}}),[e,t,n])}function Gs(e){let t=null,n=!0;try{e&&(t=JSON.parse(e))}catch(e){n=!1}return{headers:t,isValidJSON:n}}_(Hs,"useIntrospectionQuery"),qs(Hs,"useIntrospectionQuery"),_(Gs,"parseHeaderString"),qs(Gs,"parseHeaderString");var Ws=Object.defineProperty,Ys=_(((e,t)=>Ws(e,"name",{value:t,configurable:!0})),"__name$a");const Qs={name:"Schema",title:"Documentation Explorer"},$s=Hi("ExplorerContext");function Ks(e){var t,n;const{isFetching:r}=Bs({nonNull:!0,caller:Ks}),i=Ki(),[o,a]=(0,m.useState)(null!=(n=null!=(t=e.isVisible)?t:"true"===(null==i?void 0:i.get(Zs)))&&n),[s,l]=(0,m.useState)([Qs]),{onToggleVisibility:c}=e,u=(0,m.useRef)(!0);(0,m.useEffect)((()=>{u.current?u.current=!1:void 0!==e.isVisible&&a(e.isVisible)}),[e.isVisible]);const p=(0,m.useCallback)((()=>{null==c||c(!1),null==i||i.set(Zs,"false"),a(!1)}),[c,i]),f=(0,m.useCallback)((e=>{l((t=>t[t.length-1].def===e.def?t:[...t,e]))}),[]),d=(0,m.useCallback)((()=>{l((e=>e.length>1?e.slice(0,-1):e))}),[]),h=(0,m.useCallback)((()=>{l((e=>1===e.length?e:[Qs]))}),[]),g=(0,m.useCallback)((()=>{null==c||c(!0),null==i||i.set(Zs,"true"),a(!0)}),[c,i]),v=(0,m.useCallback)((e=>{l((t=>{const n=t[t.length-1];return[...t.slice(0,-1),C(T({},n),{search:e})]}))}),[]);(0,m.useEffect)((()=>{r&&h()}),[r,h]);const y=(0,m.useMemo)((()=>({explorerNavStack:s,hide:p,isVisible:o,push:f,pop:d,reset:h,show:g,showSearch:v})),[p,o,s,f,d,h,g,v]);return li($s.Provider,{value:y,children:e.children})}_(Ks,"ExplorerContextProvider"),Ys(Ks,"ExplorerContextProvider");const Js=Gi($s),Zs="docExplorerOpen";var Xs=Object.defineProperty,el=_(((e,t)=>Xs(e,"name",{value:t,configurable:!0})),"__name$9");function tl(e,t){let n;return function(...r){n&&window.clearTimeout(n),n=window.setTimeout((()=>{n=null,t(...r)}),e)}}_(tl,"debounce"),el(tl,"debounce");var nl=Object.defineProperty,rl=_(((e,t)=>nl(e,"name",{value:t,configurable:!0})),"__name$8");function il(e,t){(0,m.useEffect)((()=>{e&&"string"==typeof t&&t!==e.getValue()&&e.setValue(t)}),[e,t])}function ol(e,t,n){(0,m.useEffect)((()=>{e&&e.setOption(t,n)}),[e,t,n])}function al(e,t,n,r,i){const{updateActiveTabValues:o}=rc({nonNull:!0,caller:i}),a=Ki();(0,m.useEffect)((()=>{if(!e)return;const i=tl(500,(e=>{a&&null!==n&&a.set(n,e)})),s=tl(100,(e=>{o({[r]:e})})),l=rl(((e,n)=>{if(!n)return;const r=e.getValue();i(r),s(r),null==t||t(r)}),"handleChange");return e.on("change",l),()=>e.off("change",l)}),[t,e,a,n,r,o])}function sl(e,t){const{schema:n}=Bs({nonNull:!0,caller:t}),r=Js();(0,m.useEffect)((()=>{if(!e)return;const t=rl(((e,t)=>{Kr(0,t,n,r)}),"handleCompletion");return e.on("hasCompletion",t),()=>e.off("hasCompletion",t)}),[e,r,n])}function ll(e,t,n){(0,m.useEffect)((()=>{if(e){for(const n of t)e.removeKeyMap(n);if(n){const r={};for(const e of t)r[e]=()=>n();e.addKeyMap(r)}}}),[e,t,n])}function cl({caller:e,onCopyQuery:t}={}){const{queryEditor:n}=rc({nonNull:!0,caller:e||cl});return(0,m.useCallback)((()=>{if(!n)return;const e=n.getValue();js(e),null==t||t(e)}),[n,t])}function ul({caller:e}={}){const{queryEditor:t}=rc({nonNull:!0,caller:e||ul}),{schema:n}=Bs({nonNull:!0,caller:ul});return(0,m.useCallback)((()=>{const e=null==t?void 0:t.documentAST,r=null==t?void 0:t.getValue();e&&r&&t.setValue((0,s.y)(Mi(e,n)))}),[t,n])}function pl({caller:e}={}){const{queryEditor:t,headerEditor:n,variableEditor:r}=rc({nonNull:!0,caller:e||pl});return(0,m.useCallback)((()=>{if(r){const e=r.getValue();try{const t=JSON.stringify(JSON.parse(e),null,2);t!==e&&r.setValue(t)}catch{}}if(n){const e=n.getValue();try{const t=JSON.stringify(JSON.parse(e),null,2);t!==e&&n.setValue(t)}catch{}}if(t){const e=t.getValue(),n=(0,s.y)((0,i.qg)(e));n!==e&&t.setValue(n)}}),[t,r,n])}function fl({getDefaultFieldNames:e,caller:t}={}){const{schema:n}=Bs({nonNull:!0,caller:t||fl}),{queryEditor:r}=rc({nonNull:!0,caller:t||fl});return(0,m.useCallback)((()=>{if(!r)return;const t=r.getValue(),{insertions:i,result:o}=Si(n,t,e);return i&&i.length>0&&r.operation((()=>{const e=r.getCursor(),t=r.indexFromPos(e);r.setValue(o||"");let n=0;const a=i.map((({index:e,string:t})=>r.markText(r.posFromIndex(e+n),r.posFromIndex(e+(n+=t.length)),{className:"autoInsertedLeaf",clearOnEnter:!0,title:"Automatically added leaf fields"})));setTimeout((()=>a.forEach((e=>e.clear()))),7e3);let s=t;i.forEach((({index:e,string:n})=>{edl(e,"name",{value:t,configurable:!0})),"__name$7");function ml({editorTheme:e=Br,keyMap:t=Hr,onEdit:r,readOnly:i=!1}={}){const{initialHeaders:o,headerEditor:a,setHeaderEditor:s,shouldPersistHeaders:l}=rc({nonNull:!0,caller:ml}),c=Ds(),u=ul({caller:ml}),p=pl({caller:ml}),f=(0,m.useRef)(null);return(0,m.useEffect)((()=>{let t=!0;return Yr([Promise.resolve().then(n.bind(n,3277)).then((function(e){return e.j}))]).then((n=>{if(!t)return;const r=f.current;if(!r)return;const a=n(r,{value:o,lineNumbers:!0,tabSize:2,mode:{name:"javascript",json:!0},theme:e,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!i&&"nocursor",foldGutter:!0,gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:Wr});a.addKeyMap({"Cmd-Space"(){a.showHint({completeSingle:!1,container:r})},"Ctrl-Space"(){a.showHint({completeSingle:!1,container:r})},"Alt-Space"(){a.showHint({completeSingle:!1,container:r})},"Shift-Space"(){a.showHint({completeSingle:!1,container:r})}}),a.on("keyup",((e,t)=>{const n=t.keyCode;(n>=65&&n<=90||!t.shiftKey&&n>=48&&n<=57||t.shiftKey&&189===n||t.shiftKey&&222===n)&&e.execCommand("autocomplete")})),s(a)})),()=>{t=!1}}),[e,o,i,s]),ol(a,"keyMap",t),al(a,r,l?gl:null,"headers",ml),sl(a,ml),ll(a,["Cmd-Enter","Ctrl-Enter"],null==c?void 0:c.run),ll(a,["Shift-Ctrl-P"],p),ll(a,["Shift-Ctrl-M"],u),f}_(ml,"useHeaderEditor"),hl(ml,"useHeaderEditor");const gl="headers";var vl=Object.defineProperty,yl=_(((e,t)=>vl(e,"name",{value:t,configurable:!0})),"__name$6");const bl=Array.from({length:11},((e,t)=>String.fromCharCode(8192+t))).concat(["\u2028","\u2029"," "," "]),kl=new RegExp("["+bl.join("")+"]","g");function El(e){return e.replace(kl," ")}_(El,"normalizeWhitespace"),yl(El,"normalizeWhitespace");var xl=Object.defineProperty,wl=_(((e,t)=>xl(e,"name",{value:t,configurable:!0})),"__name$5");function Tl({editorTheme:e=Br,keyMap:t=Hr,onClickReference:r,onCopyQuery:i,onEdit:o,readOnly:a=!1}={}){const{schema:s}=Bs({nonNull:!0,caller:Tl}),{externalFragments:l,initialQuery:c,queryEditor:u,setOperationName:p,setQueryEditor:f,validationRules:d,variableEditor:h,updateActiveTabValues:g}=rc({nonNull:!0,caller:Tl}),v=Ds(),y=Ki(),b=Js(),k=cl({caller:Tl,onCopyQuery:i}),E=ul({caller:Tl}),x=pl({caller:Tl}),w=(0,m.useRef)(null),S=(0,m.useRef)(),A=(0,m.useRef)((()=>{}));(0,m.useEffect)((()=>{A.current=e=>{b&&(b.show(),e&&"Type"===e.kind?b.push({name:e.type.name,def:e.type}):"Field"===e.kind||"Argument"===e.kind&&e.field?b.push({name:e.field.name,def:e.field}):"EnumValue"===e.kind&&e.type&&b.push({name:e.type.name,def:e.type}),null==r||r(e))}}),[b,r]),(0,m.useEffect)((()=>{let t=!0;return Yr([Promise.resolve().then(n.bind(n,5077)).then((function(e){return e.c})),Promise.resolve().then(n.bind(n,1528)).then((function(e){return e.s})),Promise.resolve().then(n.bind(n,2627)),Promise.resolve().then(n.bind(n,6951)),Promise.resolve().then(n.bind(n,6420)),Promise.resolve().then(n.bind(n,1260)),Promise.resolve().then(n.bind(n,93))]).then((n=>{if(!t)return;S.current=n;const r=w.current;if(!r)return;const i=n(r,{value:c,lineNumbers:!0,tabSize:2,foldGutter:!0,mode:"graphql",theme:e,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!a&&"nocursor",lint:{schema:void 0,validationRules:null,externalFragments:void 0},hintOptions:{schema:void 0,closeOnUnfocus:!1,completeSingle:!1,container:r,externalFragments:void 0},info:{schema:void 0,renderDescription:e=>qr.render(e),onClick:e=>{A.current(e)}},jump:{schema:void 0,onClick:e=>{A.current(e)}},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:C(T({},Wr),{"Cmd-S"(){},"Ctrl-S"(){}})});i.addKeyMap({"Cmd-Space"(){i.showHint({completeSingle:!0,container:r})},"Ctrl-Space"(){i.showHint({completeSingle:!0,container:r})},"Alt-Space"(){i.showHint({completeSingle:!0,container:r})},"Shift-Space"(){i.showHint({completeSingle:!0,container:r})},"Shift-Alt-Space"(){i.showHint({completeSingle:!0,container:r})}}),i.on("keyup",((e,t)=>{Al.test(t.key)&&e.execCommand("autocomplete")})),i.on("beforeChange",((e,t)=>{var n;if("paste"===t.origin){const e=t.text.map(El);null==(n=t.update)||n.call(t,t.from,t.to,e)}})),i.documentAST=null,i.operationName=null,i.operations=null,i.variableToType=null,f(i)})),()=>{t=!1}}),[e,c,a,f]),ol(u,"keyMap",t),(0,m.useEffect)((()=>{if(!u)return;function e(e){var t,n,r,i,o;const a=Za(s,e.getValue()),l=Ri(null!=(t=e.operations)?t:void 0,null!=(n=e.operationName)?n:void 0,null==a?void 0:a.operations);return e.documentAST=null!=(r=null==a?void 0:a.documentAST)?r:null,e.operationName=null!=l?l:null,e.operations=null!=(i=null==a?void 0:a.operations)?i:null,h&&(h.state.lint.linterOptions.variableToType=null==a?void 0:a.variableToType,h.options.lint.variableToType=null==a?void 0:a.variableToType,h.options.hintOptions.variableToType=null==a?void 0:a.variableToType,null==(o=S.current)||o.signal(h,"change",h)),a?C(T({},a),{operationName:l}):null}_(e,"getAndUpdateOperationFacts"),wl(e,"getAndUpdateOperationFacts");const t=tl(100,(t=>{var n;const r=t.getValue();null==y||y.set(Nl,r);const i=t.operationName,a=e(t);void 0!==(null==a?void 0:a.operationName)&&(null==y||y.set(Ol,a.operationName)),null==o||o(r,null==a?void 0:a.documentAST),(null==a?void 0:a.operationName)&&i!==a.operationName&&p(a.operationName),g({query:r,operationName:null!=(n=null==a?void 0:a.operationName)?n:null})}));return e(u),u.on("change",t),()=>u.off("change",t)}),[o,u,s,p,y,h,g]),Cl(u,null!=s?s:null,S),_l(u,null!=d?d:null,S),Sl(u,l,S),sl(u,Tl);const N=null==v?void 0:v.run,O=(0,m.useCallback)((()=>{var e;if(!(N&&u&&u.operations&&u.hasFocus()))return void(null==N||N());const t=u.indexFromPos(u.getCursor());let n;for(const r of u.operations)r.loc&&r.loc.start<=t&&r.loc.end>=t&&(n=null==(e=r.name)?void 0:e.value);n&&n!==u.operationName&&p(n),N()}),[u,N,p]);return ll(u,["Cmd-Enter","Ctrl-Enter"],O),ll(u,["Shift-Ctrl-C"],k),ll(u,["Shift-Ctrl-P","Shift-Ctrl-F"],x),ll(u,["Shift-Ctrl-M"],E),w}function Cl(e,t,n){(0,m.useEffect)((()=>{if(!e)return;const r=e.options.lint.schema!==t;e.state.lint.linterOptions.schema=t,e.options.lint.schema=t,e.options.hintOptions.schema=t,e.options.info.schema=t,e.options.jump.schema=t,r&&n.current&&n.current.signal(e,"change",e)}),[e,t,n])}function _l(e,t,n){(0,m.useEffect)((()=>{if(!e)return;const r=e.options.lint.validationRules!==t;e.state.lint.linterOptions.validationRules=t,e.options.lint.validationRules=t,r&&n.current&&n.current.signal(e,"change",e)}),[e,t,n])}function Sl(e,t,n){const r=(0,m.useMemo)((()=>[...t.values()]),[t]);(0,m.useEffect)((()=>{if(!e)return;const t=e.options.lint.externalFragments!==r;e.state.lint.linterOptions.externalFragments=r,e.options.lint.externalFragments=r,e.options.hintOptions.externalFragments=r,t&&n.current&&n.current.signal(e,"change",e)}),[e,r,n])}_(Tl,"useQueryEditor"),wl(Tl,"useQueryEditor"),_(Cl,"useSynchronizeSchema"),wl(Cl,"useSynchronizeSchema"),_(_l,"useSynchronizeValidationRules"),wl(_l,"useSynchronizeValidationRules"),_(Sl,"useSynchronizeExternalFragments"),wl(Sl,"useSynchronizeExternalFragments");const Al=/^[a-zA-Z0-9_@(]$/,Nl="query",Ol="operationName";var Dl=Object.defineProperty,Il=_(((e,t)=>Dl(e,"name",{value:t,configurable:!0})),"__name$4");function Ll({headers:e,query:t,variables:n,storage:r}){const i=null==r?void 0:r.get(Ql);try{if(!i)throw new Error("Storage for tabs is empty");const r=JSON.parse(i);if(Fl(r)){const i=Gl({query:t,variables:n,headers:e});let o=-1;for(let e=0;e=0)r.activeTabIndex=o;else{const o=t?Wl(t):null;r.tabs.push({id:Hl(),hash:i,title:o||Yl,query:t,variables:n,headers:e,operationName:o,response:null})}return r}throw new Error("Storage for tabs is invalid")}catch(e){return null==r||r.set(Ql,""),{activeTabIndex:0,tabs:[Ul()]}}}function Fl(e){return e&&"object"==typeof e&&!Array.isArray(e)&&Rl(e,"activeTabIndex")&&"tabs"in e&&Array.isArray(e.tabs)&&e.tabs.every(Ml)}function Ml(e){return e&&"object"==typeof e&&!Array.isArray(e)&&Pl(e,"id")&&Pl(e,"title")&&jl(e,"query")&&jl(e,"variables")&&jl(e,"headers")&&jl(e,"operationName")&&jl(e,"response")}function Rl(e,t){return t in e&&"number"==typeof e[t]}function Pl(e,t){return t in e&&"string"==typeof e[t]}function jl(e,t){return t in e&&("string"==typeof e[t]||null===e[t])}function Vl({queryEditor:e,variableEditor:t,headerEditor:n,responseEditor:r}){return(0,m.useCallback)((i=>{var o,a,s,l,c;const u=null!=(o=null==e?void 0:e.getValue())?o:null,p=null!=(a=null==t?void 0:t.getValue())?a:null,f=null!=(s=null==n?void 0:n.getValue())?s:null,d=null!=(l=null==e?void 0:e.operationName)?l:null;return Bl(i,{query:u,variables:p,headers:f,response:null!=(c=null==r?void 0:r.getValue())?c:null,operationName:d})}),[e,t,n,r])}function ql({storage:e,shouldPersistHeaders:t}){const n=(0,m.useMemo)((()=>tl(500,(t=>{null==e||e.set(Ql,t)}))),[e]);return(0,m.useCallback)((e=>{n(JSON.stringify(e,((e,n)=>"hash"===e||"response"===e||!t&&"headers"===e?null:n)))}),[t,n])}function zl({queryEditor:e,variableEditor:t,headerEditor:n,responseEditor:r}){return(0,m.useCallback)((({query:i,variables:o,headers:a,response:s})=>{null==e||e.setValue(null!=i?i:""),null==t||t.setValue(null!=o?o:""),null==n||n.setValue(null!=a?a:""),null==r||r.setValue(null!=s?s:"")}),[n,e,r,t])}function Ul(){return{id:Hl(),hash:Gl({query:null,variables:null,headers:null}),title:Yl,query:null,variables:null,headers:null,operationName:null,response:null}}function Bl(e,t){return C(T({},e),{tabs:e.tabs.map(((n,r)=>{if(r!==e.activeTabIndex)return n;const i=T(T({},n),t);return C(T({},i),{hash:Gl(i),title:i.operationName||(i.query?Wl(i.query):void 0)||Yl})}))})}function Hl(){const e=Il((()=>Math.floor(65536*(1+Math.random())).toString(16).substring(1)),"s4");return`${e()}${e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`}function Gl(e){var t,n,r;return[null!=(t=e.query)?t:"",null!=(n=e.variables)?n:"",null!=(r=e.headers)?r:""].join("|")}function Wl(e){var t;const n=/^(?!.*#).*(query|subscription|mutation)\s+([a-zA-Z0-9_]+)/.exec(e);return null!=(t=null==n?void 0:n[2])?t:null}_(Ll,"getDefaultTabState"),Il(Ll,"getDefaultTabState"),_(Fl,"isTabsState"),Il(Fl,"isTabsState"),_(Ml,"isTabState"),Il(Ml,"isTabState"),_(Rl,"hasNumberKey"),Il(Rl,"hasNumberKey"),_(Pl,"hasStringKey"),Il(Pl,"hasStringKey"),_(jl,"hasStringOrNullKey"),Il(jl,"hasStringOrNullKey"),_(Vl,"useSynchronizeActiveTabValues"),Il(Vl,"useSynchronizeActiveTabValues"),_(ql,"useStoreTabs"),Il(ql,"useStoreTabs"),_(zl,"useSetEditorValues"),Il(zl,"useSetEditorValues"),_(Ul,"emptyTab"),Il(Ul,"emptyTab"),_(Bl,"setPropertiesInActiveTab"),Il(Bl,"setPropertiesInActiveTab"),_(Hl,"guid"),Il(Hl,"guid"),_(Gl,"hashFromTabContents"),Il(Gl,"hashFromTabContents"),_(Wl,"fuzzyExtractOperationName"),Il(Wl,"fuzzyExtractOperationName");const Yl="",Ql="tabState";var $l=Object.defineProperty,Kl=_(((e,t)=>$l(e,"name",{value:t,configurable:!0})),"__name$3");function Jl({editorTheme:e=Br,keyMap:t=Hr,onEdit:r,readOnly:i=!1}={}){const{initialVariables:o,variableEditor:a,setVariableEditor:s}=rc({nonNull:!0,caller:Jl}),l=Ds(),c=ul({caller:Jl}),u=pl({caller:Jl}),p=(0,m.useRef)(null),f=(0,m.useRef)();return(0,m.useEffect)((()=>{let t=!0;return Yr([Promise.resolve().then(n.bind(n,9253)),Promise.resolve().then(n.bind(n,8385)),Promise.resolve().then(n.bind(n,7912))]).then((n=>{if(!t)return;f.current=n;const r=p.current;if(!r)return;const a=n(r,{value:o,lineNumbers:!0,tabSize:2,mode:"graphql-variables",theme:e,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!i&&"nocursor",foldGutter:!0,lint:{variableToType:void 0},hintOptions:{closeOnUnfocus:!1,completeSingle:!1,container:r,variableToType:void 0},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:Wr});a.addKeyMap({"Cmd-Space"(){a.showHint({completeSingle:!1,container:r})},"Ctrl-Space"(){a.showHint({completeSingle:!1,container:r})},"Alt-Space"(){a.showHint({completeSingle:!1,container:r})},"Shift-Space"(){a.showHint({completeSingle:!1,container:r})}}),a.on("keyup",((e,t)=>{const n=t.keyCode;(n>=65&&n<=90||!t.shiftKey&&n>=48&&n<=57||t.shiftKey&&189===n||t.shiftKey&&222===n)&&e.execCommand("autocomplete")})),s(a)})),()=>{t=!1}}),[e,o,i,s]),ol(a,"keyMap",t),al(a,r,Zl,"variables",Jl),sl(a,Jl),ll(a,["Cmd-Enter","Ctrl-Enter"],null==l?void 0:l.run),ll(a,["Shift-Ctrl-P"],u),ll(a,["Shift-Ctrl-M"],c),p}_(Jl,"useVariableEditor"),Kl(Jl,"useVariableEditor");const Zl="variables";var Xl=Object.defineProperty,ec=_(((e,t)=>Xl(e,"name",{value:t,configurable:!0})),"__name$2");const tc=Hi("EditorContext");function nc(e){var t,n,r,o,s;const l=Ki(),[c,u]=(0,m.useState)(null),[p,f]=(0,m.useState)(null),[d,h]=(0,m.useState)(null),[g,v]=(0,m.useState)(null);il(c,e.headers),il(p,e.query),il(d,e.response),il(g,e.variables);const[y]=(0,m.useState)((()=>{var t,n,r,i,o,a;return{headers:null!=(n=null!=(t=e.headers)?t:null==l?void 0:l.get(gl))?n:null,query:null!=(i=null!=(r=e.query)?r:null==l?void 0:l.get(Nl))?i:null,variables:null!=(a=null!=(o=e.variables)?o:null==l?void 0:l.get(Zl))?a:null}})),[b,k]=(0,m.useState)((()=>Ll(C(T({},y),{storage:l})))),E=ql({storage:l,shouldPersistHeaders:e.shouldPersistHeaders}),x=Vl({queryEditor:p,variableEditor:g,headerEditor:c,responseEditor:d}),w=zl({queryEditor:p,variableEditor:g,headerEditor:c,responseEditor:d}),{onTabChange:_}=e,S=(0,m.useCallback)((()=>{k((e=>{const t=x(e),n={tabs:[...t.tabs,Ul()],activeTabIndex:t.tabs.length};return E(n),w(n.tabs[n.activeTabIndex]),null==_||_(n),n}))}),[_,w,E,x]),A=(0,m.useCallback)((e=>{k((t=>{const n=C(T({},x(t)),{activeTabIndex:e});return E(n),w(n.tabs[n.activeTabIndex]),null==_||_(n),n}))}),[_,w,E,x]),N=(0,m.useCallback)((e=>{k((t=>{const n={tabs:t.tabs.filter(((t,n)=>e!==n)),activeTabIndex:Math.max(t.activeTabIndex-1,0)};return E(n),w(n.tabs[n.activeTabIndex]),null==_||_(n),n}))}),[_,w,E]),O=(0,m.useCallback)((e=>{k((t=>{const n=Bl(t,e);return E(n),null==_||_(n),n}))}),[_,E]),{onEditOperationName:D}=e,I=(0,m.useCallback)((e=>{p&&(p.operationName=e,O({operationName:e}),null==D||D(e))}),[D,p,O]),L=b.activeTabIndex>0?"":null!=(t=e.defaultQuery)?t:ic,F=(0,m.useRef)({initialHeaders:null!=(n=y.headers)?n:"",initialQuery:null!=(r=y.query)?r:L,initialResponse:null!=(o=e.response)?o:"",initialVariables:null!=(s=y.variables)?s:""}),M=(0,m.useMemo)((()=>{const t=new Map;if(Array.isArray(e.externalFragments))for(const n of e.externalFragments)t.set(n.name.value,n);else if("string"==typeof e.externalFragments)(0,a.YR)((0,i.qg)(e.externalFragments,{}),{FragmentDefinition(e){t.set(e.name.value,e)}});else if(e.externalFragments)throw new Error("The `externalFragments` prop must either be a string that contains the fragment definitions in SDL or a list of FragmentDefinitionNode objects.");return t}),[e.externalFragments]),R=(0,m.useMemo)((()=>e.validationRules||[]),[e.validationRules]),P=(0,m.useMemo)((()=>C(T(C(T({},b),{addTab:S,changeTab:A,closeTab:N,updateActiveTabValues:O,headerEditor:c,queryEditor:p,responseEditor:d,variableEditor:g,setHeaderEditor:u,setQueryEditor:f,setResponseEditor:h,setVariableEditor:v,setOperationName:I}),F.current),{externalFragments:M,validationRules:R,shouldPersistHeaders:e.shouldPersistHeaders||!1})),[b,S,A,N,O,c,p,d,g,I,M,R,e.shouldPersistHeaders]);return li(tc.Provider,{value:P,children:e.children})}_(nc,"EditorContextProvider"),ec(nc,"EditorContextProvider");const rc=Gi(tc),ic='# 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';var oc=Object.defineProperty,ac=_(((e,t)=>oc(e,"name",{value:t,configurable:!0})),"__name$1");function sc({ResponseTooltip:e,editorTheme:t=Br,keyMap:r=Hr}={}){const{fetchError:i,validationErrors:o}=Bs({nonNull:!0,caller:sc}),{initialResponse:a,responseEditor:s,setResponseEditor:l}=rc({nonNull:!0,caller:sc}),c=(0,m.useRef)(null),u=(0,m.useRef)(e);return(0,m.useEffect)((()=>{u.current=e}),[e]),(0,m.useEffect)((()=>{let e=!0;return Yr([Promise.resolve().then(n.bind(n,3148)).then((function(e){return e.f})),Promise.resolve().then(n.bind(n,5983)).then((function(e){return e.b})),Promise.resolve().then(n.bind(n,924)).then((function(e){return e.d})),Promise.resolve().then(n.bind(n,1528)).then((function(e){return e.s})),Promise.resolve().then(n.bind(n,5910)).then((function(e){return e.s})),Promise.resolve().then(n.bind(n,6113)).then((function(e){return e.j})),Promise.resolve().then(n.bind(n,7391)).then((function(e){return e.s})),Promise.resolve().then(n.bind(n,2271)),Promise.resolve().then(n.bind(n,6681))],{useCommonAddons:!1}).then((n=>{if(!e)return;const r=document.createElement("div");n.registerHelper("info","graphql-results",((e,t,n,i)=>{const o=[],a=u.current;return a&&o.push(li(a,{pos:i})),fi.shouldRender(e)&&o.push(li(fi,{token:e},"image-preview")),o.length?(g.render(o,r),r):(g.unmountComponentAtNode(r),null)}));const i=c.current;if(!i)return;const o=n(i,{value:a,lineWrapping:!0,readOnly:!0,theme:t,mode:"graphql-results",foldGutter:!0,gutters:["CodeMirror-foldgutter"],info:!0,extraKeys:Wr});l(o)})),()=>{e=!1}}),[t,a,l]),ol(s,"keyMap",r),(0,m.useEffect)((()=>{i&&(null==s||s.setValue(i)),o.length>0&&(null==s||s.setValue(Ci(o)))}),[s,i,o]),c}_(sc,"useResponseEditor"),ac(sc,"useResponseEditor");var lc=Object.defineProperty,cc=_(((e,t)=>lc(e,"name",{value:t,configurable:!0})),"__name");function uc({defaultSizeRelation:e=pc,direction:t,initiallyHidden:n,onHiddenElementChange:r,sizeThresholdFirst:i=100,sizeThresholdSecond:o=100,storageKey:a}){const s=Ki(),l=(0,m.useCallback)(tl(500,(e=>{s&&a&&s.set(a,e)})),[s,a]),[c,u]=(0,m.useState)((()=>{const e=s&&a?s.get(a):null;return e===fc||"first"===n?"first":e===dc||"second"===n?"second":null})),p=(0,m.useCallback)((e=>{u(e),null==r||r(e)}),[r]),f=(0,m.useRef)(null),d=(0,m.useRef)(null),h=(0,m.useRef)(null),g=(0,m.useRef)(`${e}`);(0,m.useLayoutEffect)((()=>{const e=s&&a&&s.get(a)||g.current,n="horizontal"===t?"row":"column";f.current&&(f.current.style.display="flex",f.current.style.flexDirection=n,f.current.style.flex=e===fc||e===dc?g.current:e),h.current&&(h.current.style.display="flex",h.current.style.flexDirection=n,h.current.style.flex="1"),d.current&&(d.current.style.display="flex",d.current.style.flexDirection=n)}),[t,s,a]);const v=(0,m.useCallback)((e=>{const t="first"===e?f.current:h.current;if(t&&(t.style.left="-1000px",t.style.position="absolute",t.style.opacity="0",t.style.height="500px",t.style.width="500px",f.current)){const e=parseFloat(f.current.style.flex);(!Number.isFinite(e)||e<1)&&(f.current.style.flex="1"),f.current.style.flex}}),[]),y=(0,m.useCallback)((e=>{const t="first"===e?f.current:h.current;if(t&&(t.style.width="",t.style.height="",t.style.opacity="",t.style.position="",t.style.left="",f.current&&s&&a)){const e=null==s?void 0:s.get(a);e&&e!==fc&&e!==dc&&(f.current.style.flex=e)}}),[s,a]);return(0,m.useLayoutEffect)((()=>{"first"===c?v("first"):y("first"),"second"===c?v("second"):y("second")}),[c,v,y]),(0,m.useEffect)((()=>{if(!d.current||!f.current||!h.current)return;const e=d.current,n=f.current,r=n.parentElement,a="horizontal"===t?"clientX":"clientY",s="horizontal"===t?"left":"top",c="horizontal"===t?"right":"bottom",u="horizontal"===t?"clientWidth":"clientHeight";function m(t){t.preventDefault();const f=t[a]-e.getBoundingClientRect()[s];function d(t){if(0===t.buttons)return h();const d=t[a]-r.getBoundingClientRect()[s]-f,m=r.getBoundingClientRect()[c]-t[a]+f-e[u];if(d{e.removeEventListener("mousedown",m),e.removeEventListener("dblclick",v)}}),[t,p,i,o,l]),(0,m.useMemo)((()=>({dragBarRef:d,hiddenElement:c,firstRef:f,setHiddenElement:p,secondRef:h})),[c,p])}_(uc,"useDragResize"),cc(uc,"useDragResize");const pc=1,fc="hide-first",dc="hide-second"},203:e=>{"use strict";var t=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/i,r=/\((c|tm|r|p)\)/gi,i={c:"©",r:"®",p:"§",tm:"™"};function o(e,t){return i[t.toLowerCase()]}function a(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||i||(n.content=n.content.replace(r,o)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function s(e){var n,r,i=0;for(n=e.length-1;n>=0;n--)"text"!==(r=e[n]).type||i||t.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&i--,"link_close"===r.type&&"auto"===r.info&&i++}e.exports=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)"inline"===e.tokens[r].type&&(n.test(e.tokens[r].content)&&a(e.tokens[r].children),t.test(e.tokens[r].content)&&s(e.tokens[r].children))}},389:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5207);function i(e,t){for(var n=Object.create(null),i=0,o=(0,r.A)(e);i{"use strict";n.d(t,{K:()=>i});var r=n(5845);function i(e){return{FragmentSpread:function(t){var n=t.name.value;e.getFragment(n)||e.reportError(new r.eO('Unknown fragment "'.concat(n,'".'),t.name))}}}},540:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},592:e=>{e.exports=/[\0-\x1F\x7F-\x9F]/},599:(e,t,n)=>{"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,{A:()=>r})},634:(e,t,n)=>{"use strict";var r=n(9963).isSpace;e.exports=function(e,t,n,i){var o,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=u)return!1;for(a=1,o=e.src.charCodeAt(++c);35===o&&c6||cc&&r(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,(l=e.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),l.map=[t,e.line],(l=e.push("inline","",0)).content=e.src.slice(c,u).trim(),l.map=[t,e.line],l.children=[],(l=e.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a)),0))}},710:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var r=n(5845);function i(e){var t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:i,ObjectTypeDefinition:i,InterfaceTypeDefinition:i,UnionTypeDefinition:i,EnumTypeDefinition:i,InputObjectTypeDefinition:i};function i(i){var o=i.name.value;if(null==n||!n.getType(o))return t[o]?e.reportError(new r.eO('There can be only one type named "'.concat(o,'".'),[t[o],i.name])):t[o]=i.name,!1;e.reportError(new r.eO('Type "'.concat(o,'" already exists in the schema. It cannot also be defined in this type definition.'),i.name))}}},725:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=Array.prototype.find?function(e,t){return Array.prototype.find.call(e,t)}:function(e,t){for(var n=0;n{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(5072),i=n.n(r),o=n(7825),a=n.n(o),s=n(7659),l=n.n(s),c=n(5056),u=n.n(c),p=n(540),f=n.n(p),d=n(1113),h=n.n(d),m=n(8620),g={};g.styleTagTransform=h(),g.setAttributes=u(),g.insert=l().bind(null,"head"),g.domAPI=a(),g.insertStyleElement=f(),i()(m.A,g);const v=m.A&&m.A.locals?m.A.locals:void 0},797:(e,t,n)=>{"use strict";n.d(t,{i:()=>c});var r=n(1647),i=n(2413),o=n(5640),a=n(7544),s=n(3061),l=n(9664);function c(e,t,n){if(e){if(e.kind===s.b.VARIABLE){var p=e.name.value;if(null==n||void 0===n[p])return;var f=n[p];if(null===f&&(0,l.bd)(t))return;return f}if((0,l.bd)(t)){if(e.kind===s.b.NULL)return;return c(e,t.ofType,n)}if(e.kind===s.b.NULL)return null;if((0,l.Fs)(t)){var d=t.ofType;if(e.kind===s.b.LIST){for(var h=[],m=0,g=e.values;m{"use strict";var t=/\r\n?|\n/g,n=/\0/g;e.exports=function(e){var r;r=(r=e.src.replace(t,"\n")).replace(n,"�"),e.src=r}},824:(e,t,n)=>{"use strict";function r(e,t,n){return e.reduce((function(e,r){return e[t(r)]=n(r),e}),Object.create(null))}n.d(t,{A:()=>r})},924:(e,t,n)=>{"use strict";n.r(t),n.d(t,{a:()=>s,d:()=>c});var r=n(3338),i=Object.defineProperty,o=(e,t)=>i(e,"name",{value:t,configurable:!0});function a(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}o(a,"_mergeNamespaces");var s={exports:{}};!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}o(t,"dialogDiv"),o(n,"closeNotification"),e.defineExtension("openDialog",(function(r,i,a){a||(a={}),n(this,null);var s=t(this,r,a.bottom),l=!1,c=this;function u(t){if("string"==typeof t)f.value=t;else{if(l)return;l=!0,e.rmClass(s.parentNode,"dialog-opened"),s.parentNode.removeChild(s),c.focus(),a.onClose&&a.onClose(s)}}o(u,"close");var p,f=s.getElementsByTagName("input")[0];return f?(f.focus(),a.value&&(f.value=a.value,!1!==a.selectValueOnOpen&&f.select()),a.onInput&&e.on(f,"input",(function(e){a.onInput(e,f.value,u)})),a.onKeyUp&&e.on(f,"keyup",(function(e){a.onKeyUp(e,f.value,u)})),e.on(f,"keydown",(function(t){a&&a.onKeyDown&&a.onKeyDown(t,f.value,u)||((27==t.keyCode||!1!==a.closeOnEnter&&13==t.keyCode)&&(f.blur(),e.e_stop(t),u()),13==t.keyCode&&i(f.value,t))})),!1!==a.closeOnBlur&&e.on(s,"focusout",(function(e){null!==e.relatedTarget&&u()}))):(p=s.getElementsByTagName("button")[0])&&(e.on(p,"click",(function(){u(),c.focus()})),!1!==a.closeOnBlur&&e.on(p,"blur",u),p.focus()),u})),e.defineExtension("openConfirm",(function(r,i,a){n(this,null);var s=t(this,r,a&&a.bottom),l=s.getElementsByTagName("button"),c=!1,u=this,p=1;function f(){c||(c=!0,e.rmClass(s.parentNode,"dialog-opened"),s.parentNode.removeChild(s),u.focus())}o(f,"close"),l[0].focus();for(var d=0;d{"use strict";n.d(t,{kk:()=>v,qS:()=>h,N1:()=>y,Fh:()=>d,FV:()=>g,PZ:()=>k,YC:()=>b});var r=n(6861);const i=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};var o=n(5640),a=n(2464),s=n(3061),l=n(9352),c=n(5845),u=n(9664),p=2147483647,f=-2147483648,d=new u.Ag({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize:function(e){var t=m(e);if("boolean"==typeof t)return t?1:0;var n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),!i(n))throw new c.eO("Int cannot represent non-integer value: ".concat((0,o.A)(t)));if(n>p||np||ep||t{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(2551)},979:(e,t,n)=>{"use strict";var r=n(5099),i=n(9963).isWhiteSpace,o=n(9963).isPunctChar,a=n(9963).isMdAsciiPunct;function s(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}s.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,n){this.pending&&this.pushPending();var i=new r(e,t,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(o),i},s.prototype.scanDelims=function(e,t){var n,r,s,l,c,u,p,f,d,h=e,m=!0,g=!0,v=this.posMax,y=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h{"use strict";var r=n(9963).arrayReplaceAt;function i(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,o,a,s,l,c,u,p,f,d,h,m,g,v,y,b,k,E=e.tokens;if(e.md.options.linkify)for(n=0,o=E.length;n=0;t--)if("link_close"!==(l=a[t]).type){if("html_inline"===l.type&&(k=l.content,/^\s]/i.test(k)&&m>0&&m--,i(l.content)&&m++),!(m>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(p=l.content,b=e.md.linkify.match(p),c=[],h=l.level,d=0,u=0;ud&&((s=new e.Token("text","",0)).content=p.slice(d,f),s.level=h,c.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",v]],s.level=h++,s.markup="linkify",s.info="auto",c.push(s),(s=new e.Token("text","",0)).content=y,s.level=h,c.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",c.push(s),d=b[u].lastIndex);d{"use strict";n.d(t,{A:()=>o});var r=n(6227);function i(e){return i="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},i(e)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e};if(null==e||"object"!==i(e))return null;if(Array.isArray(e))return e.map(t);var n=e[r.q4];if("function"==typeof n){for(var o,a=n.call(e),s=[],l=0;!(o=a.next()).done;++l)s.push(t(o.value,l));return s}var c=e.length;if("number"==typeof c&&c>=0&&c%1==0){for(var u=[],p=0;p{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1175:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(3271),i=n(5331),o=n(5100),a=n(5904),s=n(5845),l=n(9664);function c(e){return{Field:function(t){var n=e.getParentType();if(n&&!e.getFieldDef()){var c=e.getSchema(),u=t.name.value,p=(0,i.A)("to use an inline fragment on",function(e,t,n){if(!(0,l.Lc)(t))return[];for(var i=new Set,o=Object.create(null),s=0,c=e.getPossibleTypes(t);s{"use strict";for(var r=n(9963).isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){i[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o{"use strict";n.d(t,{J:()=>s,Z:()=>l});var r=n(3547),i=n(5136),o=n(4925),a=n(3052),s=function(){function e(e){var t=new i.ou(o.Y.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.Y.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=u(this,e)}while(e.kind===o.Y.COMMENT);return e},e}();function l(e){return e===o.Y.BANG||e===o.Y.DOLLAR||e===o.Y.AMP||e===o.Y.PAREN_L||e===o.Y.PAREN_R||e===o.Y.SPREAD||e===o.Y.COLON||e===o.Y.EQUALS||e===o.Y.AT||e===o.Y.BRACKET_L||e===o.Y.BRACKET_R||e===o.Y.BRACE_L||e===o.Y.PIPE||e===o.Y.BRACE_R}function c(e){return isNaN(e)?o.Y.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function u(e,t){for(var n=e.source,a=n.body,s=a.length,l=t.end;l31||9===s));return new i.ou(o.Y.COMMENT,t,c,n,r,a,l.slice(t+1,c))}function d(e,t,n,a,s,l){var u=e.body,p=n,f=t,d=!1;if(45===p&&(p=u.charCodeAt(++f)),48===p){if((p=u.charCodeAt(++f))>=48&&p<=57)throw(0,r.I)(e,f,"Invalid number, unexpected digit after 0: ".concat(c(p),"."))}else f=h(e,f,p),p=u.charCodeAt(f);if(46===p&&(d=!0,p=u.charCodeAt(++f),f=h(e,f,p),p=u.charCodeAt(f)),69!==p&&101!==p||(d=!0,43!==(p=u.charCodeAt(++f))&&45!==p||(p=u.charCodeAt(++f)),f=h(e,f,p),p=u.charCodeAt(f)),46===p||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(p))throw(0,r.I)(e,f,"Invalid number, expected digit but got: ".concat(c(p),"."));return new i.ou(d?o.Y.FLOAT:o.Y.INT,t,f,a,s,l,u.slice(t,f))}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(0,r.I)(e,o,"Invalid number, expected digit but got: ".concat(c(a),"."))}function m(e,t,n,a,s){for(var l,u,p,f,d=e.body,h=t+1,m=h,g=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,c=t+1,u=0;c!==l&&!isNaN(u=s.charCodeAt(c))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++c;return new i.ou(o.Y.NAME,t,c,n,r,a,s.slice(t,c))}},1246:(e,t,n)=>{"use strict";var r=n(9963),i=n(3592),o=n(4847),a=n(6321),s=n(1525),l=n(3171),c=n(2833),u=n(6781),p=n(8379),f={default:n(5092),zero:n(4719),commonmark:n(73)},d=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function m(e){var t=e.trim().toLowerCase();return!d.test(t)||!!h.test(t)}var g=["http:","https:","mailto:"];function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function y(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t),u.decode.defaultChars+"%")}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 c,this.validateLink=m,this.normalizeLink=v,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=f[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},1260:(e,t,n)=>{"use strict";n.r(t);var r=n(3338),i=n(9654),o=(n(166),n(6540),n(961),n(7331),n(7437),Object.defineProperty),a=(e,t)=>o(e,"name",{value:t,configurable:!0});function s(e,t){const n=t.target||t.srcElement;if(!(n instanceof HTMLElement))return;if("SPAN"!==(null==n?void 0:n.nodeName))return;const r=n.getBoundingClientRect(),i={left:(r.left+r.right)/2,top:(r.top+r.bottom)/2};e.state.jump.cursor=i,e.state.jump.isHoldingModifier&&f(e)}function l(e){e.state.jump.isHoldingModifier||!e.state.jump.cursor?e.state.jump.isHoldingModifier&&e.state.jump.marker&&d(e):e.state.jump.cursor=null}function c(e,t){if(e.state.jump.isHoldingModifier||!p(t.key))return;e.state.jump.isHoldingModifier=!0,e.state.jump.cursor&&f(e);const n=a((a=>{a.code===t.code&&(e.state.jump.isHoldingModifier=!1,e.state.jump.marker&&d(e),r.C.off(document,"keyup",n),r.C.off(document,"click",i),e.off("mousedown",o))}),"onKeyUp"),i=a((t=>{const n=e.state.jump.destination;n&&e.state.jump.options.onClick(n,t)}),"onClick"),o=a(((t,n)=>{e.state.jump.destination&&(n.codemirrorIgnore=!0)}),"onMouseDown");r.C.on(document,"keyup",n),r.C.on(document,"click",i),e.on("mousedown",o)}r.C.defineOption("jump",!1,((e,t,n)=>{if(n&&n!==r.C.Init){const t=e.state.jump.onMouseOver;r.C.off(e.getWrapperElement(),"mouseover",t);const n=e.state.jump.onMouseOut;r.C.off(e.getWrapperElement(),"mouseout",n),r.C.off(document,"keydown",e.state.jump.onKeyDown),delete e.state.jump}if(t){const n=e.state.jump={options:t,onMouseOver:s.bind(null,e),onMouseOut:l.bind(null,e),onKeyDown:c.bind(null,e)};r.C.on(e.getWrapperElement(),"mouseover",n.onMouseOver),r.C.on(e.getWrapperElement(),"mouseout",n.onMouseOut),r.C.on(document,"keydown",n.onKeyDown)}})),a(s,"onMouseOver"),a(l,"onMouseOut"),a(c,"onKeyDown");const u="undefined"!=typeof navigator&&navigator&&-1!==navigator.appVersion.indexOf("Mac");function p(e){return e===(u?"Meta":"Control")}function f(e){if(e.state.jump.marker)return;const t=e.state.jump.cursor,n=e.coordsChar(t),r=e.getTokenAt(n,!0),i=e.state.jump.options,o=i.getDestination||e.getHelper(n,"jump");if(o){const t=o(r,i,e);if(t){const i=e.markText({line:n.line,ch:r.start},{line:n.line,ch:r.end},{className:"CodeMirror-jump-token"});e.state.jump.marker=i,e.state.jump.destination=t}}}function d(e){const t=e.state.jump.marker;e.state.jump.marker=null,e.state.jump.destination=null,t.clear()}a(p,"isJumpModifier"),a(f,"enableJumpMode"),a(d,"disableJumpMode"),r.C.registerHelper("jump","graphql",((e,t)=>{if(!t.schema||!t.onClick||!e.state)return;const n=e.state,r=n.kind,o=n.step,a=(0,i.g)(t.schema,n);return"Field"===r&&0===o&&a.fieldDef||"AliasedField"===r&&2===o&&a.fieldDef?(0,i.a)(a):"Directive"===r&&1===o&&a.directiveDef?(0,i.b)(a):"Argument"===r&&0===o&&a.argDef?(0,i.c)(a):"EnumValue"===r&&a.enumValue?(0,i.d)(a):"NamedType"===r&&a.type?(0,i.e)(a):void 0}))},1358:e=>{"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},1513:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var r=n(5845),i=n(3061);function o(e){var t=0;return{Document:function(e){t=e.definitions.filter((function(e){return e.kind===i.b.OPERATION_DEFINITION})).length},OperationDefinition:function(n){!n.name&&t>1&&e.reportError(new r.eO("This anonymous operation must be the only defined operation.",n))}}}},1525:(e,t,n)=>{"use strict";var r=n(2378),i=[["table",n(4752),["paragraph","reference"]],["code",n(5711)],["fence",n(2373),["paragraph","reference","blockquote","list"]],["blockquote",n(2941),["paragraph","reference","blockquote","list"]],["hr",n(8e3),["paragraph","reference","blockquote","list"]],["list",n(6686),["paragraph","reference","blockquote"]],["reference",n(6897)],["html_block",n(1857),["paragraph","reference","blockquote"]],["heading",n(634),["paragraph","reference","blockquote"]],["lheading",n(9648)],["paragraph",n(7046)]];function o(){this.ruler=new r;for(var e=0;e=n))&&!(e.sCount[a]=l){e.line=n;break}for(r=0;r{"use strict";n.r(t),n.d(t,{s:()=>p});var r=n(3338),i=n(5910),o=n(924),a=Object.defineProperty,s=(e,t)=>a(e,"name",{value:t,configurable:!0});function l(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}s(l,"_mergeNamespaces");var c={exports:{}};!function(e){function t(e,t){return"string"==typeof e?e=new RegExp(e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),t?"gi":"g"):e.global||(e=new RegExp(e.source,e.ignoreCase?"gi":"g")),{token:function(t){e.lastIndex=t.pos;var n=e.exec(t.string);if(n&&n.index==t.pos)return t.pos+=n[0].length||1,"searching";n?t.pos=n.index:t.skipToEnd()}}}function n(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function r(e){return e.state.search||(e.state.search=new n)}function i(e){return"string"==typeof e&&e==e.toLowerCase()}function o(e,t,n){return e.getSearchCursor(t,n,{caseFold:i(t),multiline:!0})}function a(e,t,n,r,i){e.openDialog(t,r,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){m(e)},onKeyDown:i,bottom:e.options.search.bottom})}function l(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0,bottom:e.options.search.bottom}):i(prompt(n,r))}function c(e,t,n,r){e.openConfirm?e.openConfirm(t,r):confirm(n)&&r[0]()}function u(e){return e.replace(/\\([nrt\\])/g,(function(e,t){return"n"==t?"\n":"r"==t?"\r":"t"==t?"\t":"\\"==t?"\\":e}))}function p(e){var t=e.match(/^\/(.*)\/([a-z]*)$/);if(t)try{e=new RegExp(t[1],-1==t[2].indexOf("i")?"":"i")}catch(e){}else e=u(e);return("string"==typeof e?""==e:e.test(""))&&(e=/x^/),e}function f(e,n,r){n.queryText=r,n.query=p(r),e.removeOverlay(n.overlay,i(n.query)),n.overlay=t(n.query,i(n.query)),e.addOverlay(n.overlay),e.showMatchesOnScrollbar&&(n.annotate&&(n.annotate.clear(),n.annotate=null),n.annotate=e.showMatchesOnScrollbar(n.query,i(n.query)))}function d(t,n,i,o){var c=r(t);if(c.query)return h(t,n);var u=t.getSelection()||c.lastQuery;if(u instanceof RegExp&&"x^"==u.source&&(u=null),i&&t.openDialog){var p=null,d=s((function(n,r){e.e_stop(r),n&&(n!=c.queryText&&(f(t,c,n),c.posFrom=c.posTo=t.getCursor()),p&&(p.style.opacity=1),h(t,r.shiftKey,(function(e,n){var r;n.line<3&&document.querySelector&&(r=t.display.wrapper.querySelector(".CodeMirror-dialog"))&&r.getBoundingClientRect().bottom-4>t.cursorCoords(n,"window").top&&((p=r).style.opacity=.4)})))}),"searchNext");a(t,v(t),u,d,(function(n,i){var o=e.keyName(n),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(n),f(t,r(t),i),t.execCommand(s)):"find"!=s&&"findPersistent"!=s||(e.e_stop(n),d(i,n))})),o&&u&&(f(t,c,u),h(t,n))}else l(t,v(t),"Search for:",u,(function(e){e&&!c.query&&t.operation((function(){f(t,c,e),c.posFrom=c.posTo=t.getCursor(),h(t,n)}))}))}function h(t,n,i){t.operation((function(){var a=r(t),s=o(t,a.query,n?a.posFrom:a.posTo);(s.find(n)||(s=o(t,a.query,n?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(n))&&(t.setSelection(s.from(),s.to()),t.scrollIntoView({from:s.from(),to:s.to()},20),a.posFrom=s.from(),a.posTo=s.to(),i&&i(s.from(),s.to()))}))}function m(e){e.operation((function(){var t=r(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 g(e,t){var n=e?document.createElement(e):document.createDocumentFragment();for(var r in t)n[r]=t[r];for(var i=2;i{"use strict";var r=n(5595),i=n(2685);function o(e){return Array.isArray(e)&&e.length>0&&e.every((e=>e instanceof r.GraphQLError))}t.areGraphQLErrors=o,t.handleProtocols=function(e){switch(!0){case e instanceof Set&&e.has(i.GRAPHQL_TRANSPORT_WS_PROTOCOL):case Array.isArray(e)&&e.includes(i.GRAPHQL_TRANSPORT_WS_PROTOCOL):case"string"==typeof e&&e.split(",").map((e=>e.trim())).includes(i.GRAPHQL_TRANSPORT_WS_PROTOCOL):return i.GRAPHQL_TRANSPORT_WS_PROTOCOL;default:return!1}},t.makeServer=function(e){const{schema:t,context:n,roots:a,validate:s,execute:l,subscribe:c,connectionInitWaitTimeout:u=3e3,onConnect:p,onDisconnect:f,onClose:d,onSubscribe:h,onOperation:m,onNext:g,onError:v,onComplete:y,jsonMessageReviver:b,jsonMessageReplacer:k}=e;return{opened(e,E){const x={connectionInitReceived:!1,acknowledged:!1,subscriptions:{},extra:E};if(e.protocol!==i.GRAPHQL_TRANSPORT_WS_PROTOCOL)return e.close(i.CloseCode.SubprotocolNotAcceptable,"Subprotocol not acceptable"),async(e,t)=>{await(d?.(x,e,t))};const w=u>0&&isFinite(u)?setTimeout((()=>{x.connectionInitReceived||e.close(i.CloseCode.ConnectionInitialisationTimeout,"Connection initialisation timeout")}),u):null;return e.onMessage((async function(u){let f;try{f=i.parseMessage(u,b)}catch(t){return e.close(i.CloseCode.BadRequest,"Invalid message received")}switch(f.type){case i.MessageType.ConnectionInit:{if(x.connectionInitReceived)return e.close(i.CloseCode.TooManyInitialisationRequests,"Too many initialisation requests");x.connectionInitReceived=!0,i.isObject(f.payload)&&(x.connectionParams=f.payload);const t=await(p?.(x));return!1===t?e.close(i.CloseCode.Forbidden,"Forbidden"):(x.acknowledged=!0,void await e.send(i.stringifyMessage(i.isObject(t)?{type:i.MessageType.ConnectionAck,payload:t}:{type:i.MessageType.ConnectionAck},k)))}case i.MessageType.Ping:return e.onPing?await e.onPing(f.payload):void await e.send(i.stringifyMessage(f.payload?{type:i.MessageType.Pong,payload:f.payload}:{type:i.MessageType.Pong}));case i.MessageType.Pong:return await(e.onPong?.(f.payload));case i.MessageType.Subscribe:{if(!x.acknowledged)return e.close(i.CloseCode.Unauthorized,"Unauthorized");const{id:u,payload:p}=f;if(u in x.subscriptions)return e.close(i.CloseCode.SubscriberAlreadyExists,`Subscriber for ${u} already exists`);x.subscriptions[u]=null;const d={next:async(t,{id:n,payload:r},o)=>{const{errors:a,...s}=t,l=await(g?.(x,n,r,o,t));await e.send(i.stringifyMessage({id:n,type:i.MessageType.Next,payload:l||{...s,...a?{errors:a.map((e=>e.toJSON()))}:{}}},k))},error:async(t,{id:n,payload:r})=>{const o=await(v?.(x,n,r,t));await e.send(i.stringifyMessage({id:n,type:i.MessageType.Error,payload:o||t.map((e=>e.toJSON()))},k))},complete:async(t,{id:n,payload:r})=>{await(y?.(x,n,r)),t&&await e.send(i.stringifyMessage({id:n,type:i.MessageType.Complete},k))}};try{let e;const g=await(h?.(x,f.id,f.payload));if(g){if(o(g))return u in x.subscriptions?await d.error(g,f):void 0;if(Array.isArray(g))throw new Error("Invalid return value from onSubscribe hook, expected an array of GraphQLError objects");e=g}else{if(!t)throw new Error("The GraphQL schema is not provided");const n={operationName:p.operationName,document:r.parse(p.query),variableValues:p.variables};e={...n,schema:"function"==typeof t?await t(x,u,p,n):t};const i=(s??r.validate)(e.schema,e.document);if(i.length>0)return u in x.subscriptions?await d.error(i,f):void 0}const v=r.getOperationAST(e.document,e.operationName);if(!v)return u in x.subscriptions?await d.error([new r.GraphQLError("Unable to identify operation")],f):void 0;let y;"rootValue"in e||(e.rootValue=a?.[v.operation]),"contextValue"in e||(e.contextValue="function"==typeof n?await n(x,u,p,e):n),y="subscription"===v.operation?await(c??r.subscribe)(e):await(l??r.execute)(e);const b=await(m?.(x,u,p,e,y));if(b&&(y=b),i.isAsyncIterable(y))if(u in x.subscriptions){x.subscriptions[u]=y;try{for await(const t of y)await d.next(t,f,e)}catch(e){const t=e instanceof Error?e:new Error(String(e));await d.error([r.versionInfo.major>=16?new r.GraphQLError(t.message,{originalError:t}):new r.GraphQLError(t.message,null,null,null,null,t)],f)}}else i.isAsyncGenerator(y)&&y.return(void 0);else u in x.subscriptions&&await d.next(y,f,e);await d.complete(u in x.subscriptions,f)}finally{delete x.subscriptions[u]}return}case i.MessageType.Complete:{const e=x.subscriptions[f.id];return delete x.subscriptions[f.id],void(i.isAsyncGenerator(e)&&await e.return(void 0))}default:throw new Error(`Unexpected message of type ${f.type} received`)}})),async(e,t)=>{w&&clearTimeout(w);const n={...x.subscriptions};x.subscriptions={},await Promise.all(Object.values(n).filter(i.isAsyncGenerator).map((e=>e.return(void 0)))),x.acknowledged&&await(f?.(x,e,t)),await(d?.(x,e,t))}}}}},1603:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var r=n(5845),i=n(3061),o=3;function a(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.create(null),a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(n.kind===i.b.FRAGMENT_SPREAD){var s=n.name.value;if(!0===r[s])return!1;var l=e.getFragment(s);if(!l)return!1;try{return r[s]=!0,t(l,r,a)}finally{r[s]=null}}if(n.kind===i.b.FIELD&&("fields"===n.name.value||"interfaces"===n.name.value||"possibleTypes"===n.name.value||"inputFields"===n.name.value)&&++a>=o)return!0;if("selectionSet"in n&&n.selectionSet)for(var c=0,u=n.selectionSet.selections;c{"use strict";n.d(t,{A:()=>r});const r=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))}},1656:(e,t,n)=>{"use strict";n.d(t,{u:()=>i});var r=n(5845);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;s{"use strict";n.d(t,{y:()=>l});var r=n(5640),i=n(5845),o=n(9664),a=n(8836),s=n(7931);function l(e){return{InlineFragment:function(t){var n=e.getType(),a=e.getParentType();if((0,o.ML)(n)&&(0,o.ML)(a)&&!(0,s.uI)(e.getSchema(),n,a)){var l=(0,r.A)(a),c=(0,r.A)(n);e.reportError(new i.eO('Fragment cannot be spread here as objects of type "'.concat(l,'" can never be of type "').concat(c,'".'),t))}},FragmentSpread:function(t){var n=t.name.value,l=function(e,t){var n=e.getFragment(t);if(n){var r=(0,a.v)(e.getSchema(),n.typeCondition);if((0,o.ML)(r))return r}}(e,n),c=e.getParentType();if(l&&c&&!(0,s.uI)(e.getSchema(),l,c)){var u=(0,r.A)(c),p=(0,r.A)(l);e.reportError(new i.eO('Fragment "'.concat(n,'" cannot be spread here as objects of type "').concat(u,'" can never be of type "').concat(p,'".'),t))}}}}},1752:(e,t,n)=>{"use strict";n.d(t,{U:()=>s});var r=n(5845),i=n(3061),o=n(8710),a=n(3292);function s(e){for(var t=Object.create(null),n=e.getSchema(),s=n?n.getDirectives():a.rc,l=0;l{"use strict";n.d(t,{UY:()=>c,YR:()=>s,oP:()=>l,sP:()=>a});var r=n(5640),i=n(5136),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),u=[e],p=-1,f=[],d=void 0,h=void 0,m=void 0,g=[],v=[],y=e;do{var b=++p===u.length,k=b&&0!==f.length;if(b){if(h=0===v.length?void 0:g[g.length-1],d=m,m=v.pop(),k){if(l)d=d.slice();else{for(var E={},x=0,w=Object.keys(d);x{"use strict";n.d(t,{P:()=>p,W:()=>f});var r=n(5331),i=n(5100),o=n(5845),a=n(3061),s=n(3292);function l(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 c(e){for(var t=1;t{"use strict";n.d(t,{T:()=>s});var r=n(5845),i=n(9352),o=n(9664),a=n(8836);function s(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var s=(0,a.v)(e.getSchema(),n);if(s&&!(0,o.ML)(s)){var l=(0,i.y)(n);e.reportError(new r.eO('Fragment cannot condition on non composite type "'.concat(l,'".'),n))}}},FragmentDefinition:function(t){var n=(0,a.v)(e.getSchema(),t.typeCondition);if(n&&!(0,o.ML)(n)){var s=(0,i.y)(t.typeCondition);e.reportError(new r.eO('Fragment "'.concat(t.name.value,'" cannot condition on non composite type "').concat(s,'".'),t.typeCondition))}}}}},1839:(e,t,n)=>{"use strict";var r=n(5099);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},1857:(e,t,n)=>{"use strict";var r=n(1358),i=n(6557).p,o=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),i=0;i{"use strict";n.d(t,{A:()=>h,X:()=>d});var r=n(5640),i=n(2413),o=n(5845),a=n(3061),s=n(9352),l=n(3292),c=n(9664);function u(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 p(e){for(var t=1;t{"use strict";e.exports=function(e,t,n){var r,i,o,a,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII="},1973:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DocExplorer:()=>H,GraphiQL:()=>ge,QueryEditor:()=>m,ToolbarButton:()=>c,ToolbarGroup:()=>u,ToolbarMenu:()=>f,ToolbarMenuItem:()=>d,ToolbarSelect:()=>_e,ToolbarSelectOption:()=>Se,VariableEditor:()=>v,default:()=>De,fillLeafs:()=>Le,getSelectedOperationName:()=>Fe,mergeAst:()=>Me,onHasCompletion:()=>Ie});var r=n(6540),i=n(166),o=(n(961),function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a});function a(){var e=(0,i.f)({nonNull:!0}),t=e.queryEditor,n=e.setOperationName,a=(0,i.s)({nonNull:!0}),s=a.isFetching,l=a.operationName,c=a.run,u=a.stop,p=o((0,r.useState)(!1),2),f=p[0],d=p[1],h=o((0,r.useState)(null),2),m=h[0],g=h[1],v=(null==t?void 0:t.operations)||[],y=v.length>1&&"string"!=typeof l;return r.createElement("div",{className:"execute-button-wrap"},r.createElement("button",{type:"button",className:"execute-button",onMouseDown:s||!y||f?void 0:function(e){var t=!0,n=e.currentTarget;g(null),d(!0);var r=function(e){var i;t&&e.target===n?t=!1:(document.removeEventListener("mouseup",r),r=null,e.currentTarget&&(null===(i=n.parentNode)||void 0===i?void 0:i.compareDocumentPosition(e.currentTarget))&&Node.DOCUMENT_POSITION_CONTAINED_BY||d(!1))};document.addEventListener("mouseup",r)},onClick:s||!y?function(){s?u():c()}:void 0,title:"Execute Query (Ctrl-Enter)"},r.createElement("svg",{width:"34",height:"34"},s?r.createElement("path",{d:"M 10 10 L 23 10 L 23 23 L 10 23 z"}):r.createElement("path",{d:"M 11 9 L 24 16 L 11 23 z"}))),y&&f?r.createElement("ul",{className:"execute-options"},v.map((function(e,i){var o=e.name?e.name.value:"");return r.createElement("li",{key:"".concat(o,"-").concat(i),className:e===m?"selected":void 0,onMouseOver:function(){return g(e)},onMouseOut:function(){return g(null)},onMouseUp:function(){var r;d(!1);var i=null===(r=e.name)||void 0===r?void 0:r.value;t&&i&&i!==t.operationName&&n(i),c()}},o)}))):null)}var s,l=(s=function(e,t){return s=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])},s(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e){function t(t){var n=e.call(this,t)||this;return n.handleClick=function(){try{n.props.onClick(),n.setState({error:null})}catch(e){if(e instanceof Error)return void n.setState({error:e});throw e}},n.state={error:null},n}return l(t,e),t.prototype.render=function(){var e=this.state.error;return r.createElement("button",{type:"button",className:"toolbar-button"+(e?" error":""),onClick:this.handleClick,title:e?e.message:this.props.title,"aria-invalid":e?"true":"false"},this.props.label)},t}(r.Component);function u(e){var t=e.children;return r.createElement("div",{className:"toolbar-button-group"},t)}var p=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])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(e){function t(t){var n=e.call(this,t)||this;return n._node=null,n._listener=null,n.handleOpen=function(e){h(e),n.setState({visible:!0}),n._subscribe()},n.state={visible:!1},n}return p(t,e),t.prototype.componentWillUnmount=function(){this._release()},t.prototype.render=function(){var e=this,t=this.state.visible;return r.createElement("a",{className:"toolbar-menu toolbar-button",onClick:this.handleOpen.bind(this),onMouseDown:h,ref:function(t){t&&(e._node=t)},title:this.props.title},this.props.label,r.createElement("svg",{width:"14",height:"8"},r.createElement("path",{fill:"#666",d:"M 5 1.5 L 14 1.5 L 9.5 7 z"})),r.createElement("ul",{className:"toolbar-menu-items"+(t?" open":"")},this.props.children))},t.prototype._subscribe=function(){this._listener||(this._listener=this.handleClick.bind(this),document.addEventListener("click",this._listener))},t.prototype._release=function(){this._listener&&(document.removeEventListener("click",this._listener),this._listener=null)},t.prototype.handleClick=function(e){this._node!==e.target&&(e.preventDefault(),this.setState({visible:!1}),this._release())},t}(r.Component),d=function(e){var t=e.onSelect,n=e.title,i=e.label;return r.createElement("li",{onMouseOver:function(e){e.currentTarget.className="hover"},onMouseOut:function(e){e.currentTarget.className=""},onMouseDown:h,onMouseUp:t,title:n},i)};function h(e){e.preventDefault()}function m(e){var t=(0,i.k)(e);return r.createElement("section",{className:"query-editor","aria-label":"Query Editor",ref:t})}var g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};function I(){var e,t,n,o,a=(0,i.x)({nonNull:!0}).explorerNavStack,s=D(r.useState(!1),2),l=s[0],c=s[1],u=a[a.length-1].def;if(!u||(0,k.Xj)(u))return null;if(u&&"args"in u&&u.args.length>0){t=r.createElement("div",{id:"doc-args",className:"doc-category"},r.createElement("div",{className:"doc-category-title"},"arguments"),u.args.filter((function(e){return!e.deprecationReason})).map((function(e){return r.createElement("div",{key:e.name,className:"doc-category-item"},r.createElement("div",null,r.createElement(_,{arg:e})),r.createElement(O,{className:"doc-value-description",markdown:e.description}),e&&"deprecationReason"in e&&r.createElement(O,{className:"doc-deprecation",markdown:null==e?void 0:e.deprecationReason}))})));var p=u.args.filter((function(e){return Boolean(e.deprecationReason)}));p.length>0&&(n=r.createElement("div",{id:"doc-deprecated-args",className:"doc-category"},r.createElement("div",{className:"doc-category-title"},"deprecated arguments"),l?p.map((function(e,t){return r.createElement("div",{key:t},r.createElement("div",null,r.createElement(_,{arg:e})),r.createElement(O,{className:"doc-value-description",markdown:e.description}),e&&"deprecationReason"in e&&r.createElement(O,{className:"doc-deprecation",markdown:null==e?void 0:e.deprecationReason}))})):r.createElement("button",{type:"button",className:"show-btn",onClick:function(){return c(!l)}},"Show deprecated arguments...")))}return(null===(e=null==u?void 0:u.astNode)||void 0===e?void 0:e.directives)&&u.astNode.directives.length>0&&(o=r.createElement("div",{id:"doc-directives",className:"doc-category"},r.createElement("div",{className:"doc-category-title"},"directives"),u.astNode.directives.map((function(e){return r.createElement("div",{key:e.name.value,className:"doc-category-item"},r.createElement("div",null,r.createElement(S,{directive:e})))})))),r.createElement("div",null,r.createElement(O,{className:"doc-type-description",markdown:u.description||"No Description"}),u&&"deprecationReason"in u&&r.createElement(O,{className:"doc-deprecation",markdown:u.deprecationReason}),r.createElement("div",{className:"doc-category"},r.createElement("div",{className:"doc-category-title"},"type"),r.createElement(E,{type:u.type})),t,o,n)}function L(){var e,t,n=(0,i.D)({nonNull:!0}).schema;if(!n)return null;var o=n.getQueryType(),a=null===(e=n.getMutationType)||void 0===e?void 0:e.call(n),s=null===(t=n.getSubscriptionType)||void 0===t?void 0:t.call(n);return r.createElement("div",null,r.createElement(O,{className:"doc-type-description",markdown:n.description||"A GraphQL schema provides a root type for each kind of operation."}),r.createElement("div",{className:"doc-category"},r.createElement("div",{className:"doc-category-title"},"root types"),o?r.createElement("div",{className:"doc-category-item"},r.createElement("span",{className:"keyword"},"query"),": ",r.createElement(E,{type:o})):null,a&&r.createElement("div",{className:"doc-category-item"},r.createElement("span",{className:"keyword"},"mutation"),": ",r.createElement(E,{type:a})),s&&r.createElement("div",{className:"doc-category-item"},r.createElement("span",{className:"keyword"},"subscription"),": ",r.createElement(E,{type:s}))))}var F=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])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();const M=function(e){function t(t){var n,r,i=e.call(this,t)||this;return i.handleChange=function(e){var t=e.currentTarget.value;i.setState({value:t}),i.debouncedOnSearch(t)},i.handleClear=function(){i.setState({value:""}),i.props.onSearch("")},i.state={value:t.value||""},i.debouncedOnSearch=(n=i.props.onSearch,function(){for(var e=this,t=[],i=0;i=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function j(){var e,t,n=(0,i.x)({nonNull:!0}).explorerNavStack,o=(0,i.D)({nonNull:!0}).schema,a=n[n.length-1];if(!o||!a.search)return null;var s=a.search,l=a.def,c=[],u=[],p=[],f=o.getTypeMap(),d=Object.keys(f);l&&(d=d.filter((function(e){return e!==l.name}))).unshift(l.name);var h=function(e){if(c.length+u.length+p.length>=100)return"break";var t=f[e];if(l!==t&&V(e,s)&&u.push(r.createElement("div",{className:"doc-category-item",key:e},r.createElement(E,{type:t}))),t&&"getFields"in t){var n=t.getFields();Object.keys(n).forEach((function(i){var o,a=n[i];if(!V(i,s)){if(!("args"in a)||!a.args.length)return;if(0===(o=a.args.filter((function(e){return V(e.name,s)}))).length)return}var u=r.createElement("div",{className:"doc-category-item",key:e+"."+i},l!==t&&[r.createElement(E,{key:"type",type:t}),"."],r.createElement(R,{field:a}),o&&["(",r.createElement("span",{key:"args"},o.map((function(e){return r.createElement(_,{key:e.name,arg:e,showDefaultValue:!1})}))),")"]);l===t?c.push(u):p.push(u)}))}};try{for(var m=P(d),g=m.next();!g.done&&"break"!==h(g.value);g=m.next());}catch(t){e={error:t}}finally{try{g&&!g.done&&(t=m.return)&&t.call(m)}finally{if(e)throw e.error}}return c.length+u.length+p.length===0?r.createElement("span",{className:"doc-alert-text"},"No results found."):l&&u.length+p.length>0?r.createElement("div",null,c,r.createElement("div",{className:"doc-category"},r.createElement("div",{className:"doc-category-title"},"other results"),u,p)):r.createElement("div",{className:"doc-search-items"},c,u,p)}function V(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(n){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}}var q=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};function z(){var e=(0,i.D)({nonNull:!0}).schema,t=(0,i.x)({nonNull:!0}).explorerNavStack,n=q((0,r.useState)(!1),2),o=n[0],a=n[1],s=t[t.length-1].def;if(!e||!(0,k.sy)(s))return null;var l,c,u,p,f,d=null,h=[];if((0,k.CK)(s)?(d="possible types",h=e.getPossibleTypes(s)):(0,k.kD)(s)?(d="implementations",h=e.getPossibleTypes(s)):(0,k.YQ)(s)&&(d="implements",h=s.getInterfaces()),h&&h.length>0&&(l=r.createElement("div",{id:"doc-types",className:"doc-category"},r.createElement("div",{className:"doc-category-title"},d),h.map((function(e){return r.createElement("div",{key:e.name,className:"doc-category-item"},r.createElement(E,{type:e}))})))),s&&"getFields"in s){var m=s.getFields(),g=Object.keys(m).map((function(e){return m[e]}));c=r.createElement("div",{id:"doc-fields",className:"doc-category"},r.createElement("div",{className:"doc-category-title"},"fields"),g.filter((function(e){return!e.deprecationReason})).map((function(e){return r.createElement(U,{key:e.name,type:s,field:e})})));var v=g.filter((function(e){return Boolean(e.deprecationReason)}));v.length>0&&(u=r.createElement("div",{id:"doc-deprecated-fields",className:"doc-category"},r.createElement("div",{className:"doc-category-title"},"deprecated fields"),o?v.map((function(e){return r.createElement(U,{key:e.name,type:s,field:e})})):r.createElement("button",{type:"button",className:"show-btn",onClick:function(){a(!0)}},"Show deprecated fields...")))}if((0,k.oF)(s)){var y=s.getValues();p=r.createElement("div",{className:"doc-category"},r.createElement("div",{className:"doc-category-title"},"values"),y.filter((function(e){return Boolean(!e.deprecationReason)})).map((function(e){return r.createElement(B,{key:e.name,value:e})})));var b=y.filter((function(e){return Boolean(e.deprecationReason)}));b.length>0&&(f=r.createElement("div",{className:"doc-category"},r.createElement("div",{className:"doc-category-title"},"deprecated values"),o?b.map((function(e){return r.createElement(B,{key:e.name,value:e})})):r.createElement("button",{type:"button",className:"show-btn",onClick:function(){a(!0)}},"Show deprecated values...")))}return r.createElement("div",null,r.createElement(O,{className:"doc-type-description",markdown:"description"in s&&s.description||"No Description"}),(0,k.YQ)(s)&&l,c,u,p,f,!(0,k.YQ)(s)&&l)}function U(e){var t=e.field;return r.createElement("div",{className:"doc-category-item"},r.createElement(R,{field:t}),"args"in t&&t.args&&t.args.length>0&&["(",r.createElement("span",{key:"args"},t.args.filter((function(e){return!e.deprecationReason})).map((function(e){return r.createElement(_,{key:e.name,arg:e})}))),")"],": ",r.createElement(E,{type:t.type}),r.createElement(C,{field:t}),t.description&&r.createElement(O,{className:"field-short-description",markdown:t.description}),"deprecationReason"in t&&t.deprecationReason&&r.createElement(O,{className:"doc-deprecation",markdown:t.deprecationReason}))}function B(e){var t=e.value;return r.createElement("div",{className:"doc-category-item"},r.createElement("div",{className:"enum-value"},t.name),r.createElement(O,{className:"doc-value-description",markdown:t.description}),t.deprecationReason&&r.createElement(O,{className:"doc-deprecation",markdown:t.deprecationReason}))}function H(e){var t=(0,i.D)({nonNull:!0}),n=t.fetchError,o=t.isFetching,a=t.schema,s=t.validationErrors,l=(0,i.x)({nonNull:!0}),c=l.explorerNavStack,u=l.hide,p=l.pop,f=l.showSearch,d=c[c.length-1],h=void 0===e.schema?a:e.schema,m=null;n?m=r.createElement("div",{className:"error-container"},"Error fetching schema"):s.length>0?m=r.createElement("div",{className:"error-container"},"Schema is invalid: ",s[0].message):o?m=r.createElement("div",{className:"spinner-container"},r.createElement("div",{className:"spinner"})):h?d.search?m=r.createElement(j,null):1===c.length?m=r.createElement(L,null):(0,k.Xj)(d.def)?m=r.createElement(z,null):d.def&&(m=r.createElement(I,null)):m=r.createElement("div",{className:"error-container"},"No Schema Available");var g,v=1===c.length||(0,k.Xj)(d.def)&&"getFields"in d.def;return c.length>1&&(g=c[c.length-2].name),r.createElement("section",{className:"doc-explorer",key:d.name,"aria-label":"Documentation Explorer"},r.createElement("div",{className:"doc-explorer-title-bar"},g&&r.createElement("button",{type:"button",className:"doc-explorer-back",onClick:p,"aria-label":"Go back to ".concat(g)},g),r.createElement("div",{className:"doc-explorer-title"},d.title||d.name),r.createElement("div",{className:"doc-explorer-rhs"},r.createElement("button",{type:"button",className:"docExplorerHide",onClick:function(){var t;u(),null===(t=e.onClose)||void 0===t||t.call(e)},"aria-label":"Close Documentation Explorer"},"✕"))),r.createElement("div",{className:"doc-explorer-contents"},v&&r.createElement(M,{value:d.search,placeholder:"Search ".concat(d.name,"..."),onSearch:f}),m))}var G=function(){return G=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}((0,r.useState)(!1),2),u=c[0],p=c[1];(0,r.useEffect)((function(){u&&l.current&&l.current.focus()}),[u]);var f=e.item.label||e.item.operationName||(null===(t=e.item.query)||void 0===t?void 0:t.split("\n").filter((function(e){return 0!==e.indexOf("#")})).join("")),d=e.item.favorite?"★":"☆";return r.createElement("li",{className:u?"editable":void 0},u?r.createElement("input",{type:"text",defaultValue:e.item.label,ref:l,onBlur:function(t){t.stopPropagation(),p(!1),o(G(G({},e.item),{label:t.target.value}))},onKeyDown:function(t){13===t.keyCode&&(t.stopPropagation(),p(!1),o(G(G({},e.item),{label:t.currentTarget.value})))},placeholder:"Type a label"}):r.createElement("button",{type:"button",className:"history-label",onClick:function(){s(e.item)}},f),r.createElement("button",{type:"button",onClick:function(e){e.stopPropagation(),p(!0)},"aria-label":"Edit label"},"✎"),r.createElement("button",{type:"button",onClick:function(t){t.stopPropagation(),a(e.item)},"aria-label":e.item.favorite?"Remove favorite":"Add favorite"},d))}function Q(e,t){for(var n=0;n{(0,k.zf)(t[e].type)&&n.push(e)})),n}function re(e,t){const n=(0,k.MR)(e);if(!e||(0,k.zf)(e))return;const r=t(n);return Array.isArray(r)&&0!==r.length&&"getFields"in n?{kind:ee.b.SELECTION_SET,selections:r.map((e=>{const r=n.getFields()[e],i=r?r.type:null;return{kind:ee.b.FIELD,name:{kind:ee.b.NAME,value:e},selectionSet:re(i,t)}}))}:void 0}function ie(e,t){if(0===t.length)return e;let n="",r=0;return t.forEach((({index:t,string:i})=>{n+=e.slice(r,t)+i,r=t})),n+=e.slice(r),n}function oe(e,t,n){var r;const i=n?(0,k.MR)(n).name:null,o=[],a=[];for(let s of t){if("FragmentSpread"===s.kind){const t=s.name.value;if(!s.directives||0===s.directives.length){if(a.indexOf(t)>=0)continue;a.push(t)}const n=e[s.name.value];if(n){const{typeCondition:e,directives:t,selectionSet:r}=n;s={kind:ee.b.INLINE_FRAGMENT,typeCondition:e,directives:t,selectionSet:r}}}if(s.kind===ee.b.INLINE_FRAGMENT&&(!s.directives||0===(null===(r=s.directives)||void 0===r?void 0:r.length))){const t=s.typeCondition?s.typeCondition.name.value:null;if(!t||t===i){o.push(...oe(e,s.selectionSet.selections,n));continue}}o.push(s)}return o}function ae(e,t){const n=t?new Z.D(t):null,r=Object.create(null);for(const t of e.definitions)t.kind===ee.b.FRAGMENT_DEFINITION&&(r[t.name.value]=t);const i={SelectionSet(e){const t=n?n.getParentType():null;let{selections:i}=e;return i=oe(r,i,t),i=function(e){var t;const n=new Map,r=[];for(const o of e)if("Field"===o.kind){const e=(i=o).alias?i.alias.value:i.name.value,a=n.get(e);if(null===(t=o.directives)||void 0===t?void 0:t.length){const e=Object.assign({},o);r.push(e)}else if((null==a?void 0:a.selectionSet)&&o.selectionSet)a.selectionSet.selections=[...a.selectionSet.selections,...o.selectionSet.selections];else if(!a){const t=Object.assign({},o);n.set(e,t),r.push(t)}}else r.push(o);var i;return r}(i),Object.assign(Object.assign({},e),{selections:i})},FragmentDefinition:()=>null};return(0,X.YR)(e,n?(0,Z.S)(n,i):i)}function se(e,t,n){if(!n||n.length<1)return;const r=n.map((e=>{var t;return null===(t=e.name)||void 0===t?void 0:t.value}));if(t&&-1!==r.indexOf(t))return t;if(t&&e){const n=e.map((e=>{var t;return null===(t=e.name)||void 0===t?void 0:t.value})).indexOf(t);if(-1!==n&&nK(e)))}):$({errors:[K(e)]})}(e)},t.Logo=ke,t.Toolbar=Ee,t.Footer=xe,t.QueryEditor=m,t.VariableEditor=v,t.HeaderEditor=y,t.ResultViewer=b,t.Button=c,t.ToolbarButton=c,t.Group=u,t.Menu=f,t.MenuItem=d,t}(r.Component),ve=(0,r.forwardRef)((function(e,t){var n=e.dangerouslyAssumeSchemaIsValid,o=e.docExplorerOpen,a=e.externalFragments,s=e.fetcher,l=e.headers,c=e.inputValueDeprecation,u=e.introspectionQueryName,p=e.maxHistoryLength,f=e.onEditOperationName,d=e.onSchemaChange,h=e.onToggleHistory,m=e.onToggleDocs,g=e.operationName,v=e.query,y=e.response,b=e.storage,k=e.schema,E=e.schemaDescription,x=e.shouldPersistHeaders,w=e.validationRules,T=e.variables,C=me(e,["dangerouslyAssumeSchemaIsValid","docExplorerOpen","externalFragments","fetcher","headers","inputValueDeprecation","introspectionQueryName","maxHistoryLength","onEditOperationName","onSchemaChange","onToggleHistory","onToggleDocs","operationName","query","response","storage","schema","schemaDescription","shouldPersistHeaders","validationRules","variables"]);if("function"!=typeof s)throw new TypeError("GraphiQL requires a fetcher function.");return r.createElement(i.G,{storage:b},r.createElement(i.y,{maxHistoryLength:p,onToggle:h},r.createElement(i.a,{defaultQuery:C.defaultQuery,externalFragments:a,headers:l,onEditOperationName:f,onTabChange:"object"==typeof C.tabs?C.tabs.onTabChange:void 0,query:v,response:y,shouldPersistHeaders:x,validationRules:w,variables:T},r.createElement(i.B,{dangerouslyAssumeSchemaIsValid:n,fetcher:s,inputValueDeprecation:c,introspectionQueryName:u,onSchemaChange:d,schema:k,schemaDescription:E},r.createElement(i.r,{fetcher:s,operationName:g},r.createElement(i.w,{isVisible:o,onToggleVisibility:m},r.createElement(ye,he({},C,{ref:t}))))))))})),ye=(0,r.forwardRef)((function(e,t){var n=e.getDefaultFieldNames,o=me(e,["getDefaultFieldNames"]),a=(0,i.f)({nonNull:!0}),s=(0,i.s)({nonNull:!0}),l=(0,i.x)(),c=(0,i.z)(),u=(0,i.D)({nonNull:!0}),p=(0,i.J)(),f=(0,i.u)({getDefaultFieldNames:n}),d=(0,i.e)({onCopyQuery:o.onCopyQuery}),h=(0,i.h)(),m=(0,i.j)(),g=(0,i.K)({defaultSizeRelation:3,direction:"horizontal",initiallyHidden:(null==l?void 0:l.isVisible)?void 0:"second",onHiddenElementChange:function(e){"second"===e?null==l||l.hide():null==l||l.show()},sizeThresholdSecond:200,storageKey:"docExplorerFlex"}),v=(0,i.K)({direction:"horizontal",storageKey:"editorFlex"}),y=(0,i.K)({defaultSizeRelation:3,direction:"vertical",initiallyHidden:void 0!==o.defaultVariableEditorOpen?o.defaultVariableEditorOpen?void 0:"second":void 0!==o.defaultSecondaryEditorOpen?o.defaultSecondaryEditorOpen?void 0:"second":a.initialVariables||a.initialHeaders?void 0:"second",sizeThresholdSecond:60,storageKey:"secondaryEditorFlex"});return r.createElement(be,he({},o,{editorContext:a,executionContext:s,explorerContext:l,historyContext:c,schemaContext:u,storageContext:p,autoCompleteLeafs:f,copy:d,merge:h,prettify:m,docResize:g,editorResize:v,secondaryEditorResize:y,ref:t}))})),be=function(e){function t(t){var n=e.call(this,t)||this;return n.state={activeSecondaryEditor:"variable"},n}return de(t,e),t.prototype.render=function(){var e,t,n,i,o=this,s=r.Children.toArray(this.props.children),l=Q(s,(function(e){return we(e,ge.Logo)}))||r.createElement(ge.Logo,null),u=Q(s,(function(e){return we(e,ge.Toolbar)}))||r.createElement(ge.Toolbar,null,r.createElement(c,{onClick:function(){o.props.prettify()},title:"Prettify Query (Shift-Ctrl-P)",label:"Prettify"}),r.createElement(c,{onClick:function(){o.props.merge()},title:"Merge Query (Shift-Ctrl-M)",label:"Merge"}),r.createElement(c,{onClick:function(){o.props.copy()},title:"Copy Query (Shift-Ctrl-C)",label:"Copy"}),r.createElement(c,{onClick:function(){var e;return null===(e=o.props.historyContext)||void 0===e?void 0:e.toggle()},title:(null===(e=this.props.historyContext)||void 0===e?void 0:e.isVisible)?"Hide History":"Show History",label:"History"}),r.createElement(c,{onClick:function(){return o.props.schemaContext.introspect()},title:"Fetch GraphQL schema using introspection (Shift-Ctrl-R)",label:"Introspect"}),(null===(t=this.props.toolbar)||void 0===t?void 0:t.additionalContent)?this.props.toolbar.additionalContent:null),p=Q(s,(function(e){return we(e,ge.Footer)})),f=null===(n=this.props.headerEditorEnabled)||void 0===n||n;return r.createElement("div",{"data-testid":"graphiql-container",className:"graphiql-container"},r.createElement("div",{ref:this.props.docResize.firstRef},(null===(i=this.props.historyContext)||void 0===i?void 0:i.isVisible)&&r.createElement("div",{className:"historyPaneWrap",style:{width:"230px",zIndex:7}},r.createElement(W,null)),r.createElement("div",{className:"editorWrap"},r.createElement("div",{className:"topBarWrap"},this.props.beforeTopBarContent,r.createElement("div",{className:"topBar"},l,r.createElement(a,null),u),this.props.explorerContext&&!this.props.explorerContext.isVisible&&r.createElement("button",{type:"button",className:"docExplorerShow",onClick:function(){var e;null===(e=o.props.explorerContext)||void 0===e||e.show(),o.props.docResize.setHiddenElement(null)},"aria-label":"Open Documentation Explorer"},"Docs")),this.props.tabs?r.createElement(fe,{tabsProps:{"aria-label":"Select active operation"}},this.props.editorContext.tabs.map((function(e,t){return r.createElement(ue,{key:e.id,isActive:t===o.props.editorContext.activeTabIndex,title:e.title,isCloseable:o.props.editorContext.tabs.length>1,onSelect:function(){o.props.executionContext.stop(),o.props.editorContext.changeTab(t)},onClose:function(){o.props.editorContext.activeTabIndex===t&&o.props.executionContext.stop(),o.props.editorContext.closeTab(t)},tabProps:{"aria-controls":"sessionWrap",id:"session-tab-".concat(t)}})})),r.createElement(pe,{onClick:function(){o.props.editorContext.addTab()}})):null,r.createElement("div",{role:"tabpanel",id:"sessionWrap",className:"editorBar","aria-labelledby":"session-tab-".concat(this.props.editorContext.activeTabIndex)},r.createElement("div",{ref:this.props.editorResize.firstRef},r.createElement("div",{className:"queryWrap"},r.createElement("div",{ref:this.props.secondaryEditorResize.firstRef},r.createElement(m,{editorTheme:this.props.editorTheme,onClickReference:function(){"second"===o.props.docResize.hiddenElement&&o.props.docResize.setHiddenElement(null)},keyMap:this.props.keyMap,onCopyQuery:this.props.onCopyQuery,onEdit:this.props.onEditQuery,readOnly:this.props.readOnly})),r.createElement("div",{ref:this.props.secondaryEditorResize.dragBarRef},r.createElement("div",{className:"secondary-editor-title variable-editor-title",id:"secondary-editor-title"},r.createElement("div",{className:"variable-editor-title-text".concat("variable"===this.state.activeSecondaryEditor?" active":""),onClick:function(){"second"===o.props.secondaryEditorResize.hiddenElement&&o.props.secondaryEditorResize.setHiddenElement(null),o.setState({activeSecondaryEditor:"variable"},(function(){var e;null===(e=o.props.editorContext.variableEditor)||void 0===e||e.refresh()}))}},"Query Variables"),f&&r.createElement("div",{style:{marginLeft:"20px"},className:"variable-editor-title-text".concat("header"===this.state.activeSecondaryEditor?" active":""),onClick:function(){"second"===o.props.secondaryEditorResize.hiddenElement&&o.props.secondaryEditorResize.setHiddenElement(null),o.setState({activeSecondaryEditor:"header"},(function(){var e;null===(e=o.props.editorContext.headerEditor)||void 0===e||e.refresh()}))}},"Request Headers"))),r.createElement("div",{ref:this.props.secondaryEditorResize.secondRef},r.createElement("section",{className:"variable-editor secondary-editor","aria-label":"variable"===this.state.activeSecondaryEditor?"Query Variables":"Request Headers"},r.createElement(v,{onEdit:this.props.onEditVariables,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly,active:"variable"===this.state.activeSecondaryEditor,keyMap:this.props.keyMap}),f&&r.createElement(y,{active:"header"===this.state.activeSecondaryEditor,editorTheme:this.props.editorTheme,onEdit:this.props.onEditHeaders,readOnly:this.props.readOnly,keyMap:this.props.keyMap}))))),r.createElement("div",{ref:this.props.editorResize.dragBarRef},r.createElement("div",{className:"editor-drag-bar"})),r.createElement("div",{ref:this.props.editorResize.secondRef},r.createElement("div",{className:"resultWrap"},this.props.executionContext.isFetching&&r.createElement("div",{className:"spinner-container"},r.createElement("div",{className:"spinner"})),r.createElement(b,{editorTheme:this.props.editorTheme,ResponseTooltip:this.props.ResultsTooltip,keyMap:this.props.keyMap}),p))))),r.createElement("div",{ref:this.props.docResize.dragBarRef},r.createElement("div",{className:"docExplorerResizer"})),r.createElement("div",{ref:this.props.docResize.secondRef},r.createElement("div",{className:"docExplorerWrap"},r.createElement(H,{onClose:function(){return o.props.docResize.setHiddenElement("second")}}))))},t.prototype.getQueryEditor=function(){return this.props.editorContext.queryEditor||null},t.prototype.getVariableEditor=function(){return this.props.editorContext.variableEditor||null},t.prototype.getHeaderEditor=function(){return this.props.editorContext.headerEditor||null},t.prototype.refresh=function(){var e,t,n,r;null===(e=this.props.editorContext.queryEditor)||void 0===e||e.refresh(),null===(t=this.props.editorContext.variableEditor)||void 0===t||t.refresh(),null===(n=this.props.editorContext.headerEditor)||void 0===n||n.refresh(),null===(r=this.props.editorContext.responseEditor)||void 0===r||r.refresh()},t.prototype.autoCompleteLeafs=function(){return this.props.autoCompleteLeafs()},t}(r.Component);function ke(e){return r.createElement("div",{className:"title"},e.children||r.createElement("span",null,"Graph",r.createElement("em",null,"i"),"QL"))}function Ee(e){return r.createElement("div",{className:"toolbar",role:"toolbar","aria-label":"Editor Commands"},e.children)}function xe(e){return r.createElement("div",{className:"footer"},e.children)}function we(e,t){var n;return!(!(null===(n=null==e?void 0:e.type)||void 0===n?void 0:n.displayName)||e.type.displayName!==t.displayName)||e.type===t}ke.displayName="GraphiQLLogo",Ee.displayName="GraphiQLToolbar",xe.displayName="GraphiQLFooter";var Te=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])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ce=function(){return Ce=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},Oe=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i{"use strict";n.d(t,{K:()=>i});var r=n(5845);function i(e){var t=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(n){var i=n.name.value;return t[i]?e.reportError(new r.eO('There can be only one fragment named "'.concat(i,'".'),[t[i],n.name])):t[i]=n.name,!1}}}},2015:e=>{"use strict";function t(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,n){for(var r=e.pos;r{"use strict";n.d(t,{C:()=>o,V:()=>i});var r=n(2409);function i(e){return o(e.source,(0,r.g)(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,c=1===t.line?n:0,u=t.column+c,p="".concat(e.name,":").concat(l,":").concat(u,"\n"),f=r.split(/\r\n|[\n\r]/g),d=f[i];if(d.length>120){for(var h=Math.floor(u/80),m=u%80,g=[],v=0;v{"use strict";n.d(t,{Z:()=>i});var r=n(5845);function i(e){var t=Object.create(null),n=e.getSchema();return{DirectiveDefinition:function(i){var o=i.name.value;if(null==n||!n.getDirective(o))return t[o]?e.reportError(new r.eO('There can be only one directive named "@'.concat(o,'".'),[t[o],i.name])):t[o]=i.name,!1;e.reportError(new r.eO('Directive "@'.concat(o,'" already exists in the schema. It cannot be redefined.'),i.name))}}}},2271:(e,t,n)=>{"use strict";n.r(t);var r=n(3338),i=n(166),o=n(9920),a=(n(6540),n(961),Object.defineProperty);function s(e,t){var n,r;const i=e.levels;return((i&&0!==i.length?i[i.length-1]-((null===(n=this.electricInput)||void 0===n?void 0:n.test(t))?1:0):e.indentLevel)||0)*((null===(r=this.config)||void 0===r?void 0:r.indentUnit)||0)}r.C.defineMode("graphql-results",(e=>{const t=(0,o.o)({eatWhitespace:e=>e.eatSpace(),lexRules:l,parseRules:c,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:s,electricInput:/^\s*[}\]]/,fold:"brace",closeBrackets:{pairs:'[]{}""',explode:"[]{}"}}})),a(s,"name",{value:"indent",configurable:!0});const l={Punctuation:/^\[|]|\{|\}|:|,/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?/,Keyword:/^true|false|null/},c={Document:[(0,i.p)("{"),(0,i.l)("Entry",(0,i.p)(",")),(0,i.p)("}")],Entry:[(0,i.t)("String","def"),(0,i.p)(":"),"Value"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue"}return null;case"Keyword":switch(e.value){case"true":case"false":return"BooleanValue";case"null":return"NullValue"}return null}},NumberValue:[(0,i.t)("Number","number")],StringValue:[(0,i.t)("String","string")],BooleanValue:[(0,i.t)("Keyword","builtin")],NullValue:[(0,i.t)("Keyword","keyword")],ListValue:[(0,i.p)("["),(0,i.l)("Value",(0,i.p)(",")),(0,i.p)("]")],ObjectValue:[(0,i.p)("{"),(0,i.l)("ObjectField",(0,i.p)(",")),(0,i.p)("}")],ObjectField:[(0,i.t)("String","property"),(0,i.p)(":"),"Value"]}},2373:e=>{"use strict";e.exports=function(e,t,n,r){var i,o,a,s,l,c,u,p=!1,f=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(f+3>d)return!1;if(126!==(i=e.src.charCodeAt(f))&&96!==i)return!1;if(l=f,(o=(f=e.skipChars(f,i))-l)<3)return!1;if(u=e.src.slice(l,f),a=e.src.slice(f,d),96===i&&a.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n||(f=l=e.bMarks[s]+e.tShift[s])<(d=e.eMarks[s])&&e.sCount[s]=4||(f=e.skipChars(f,i))-l{"use strict";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=0;t{"use strict";n.r(t),n.d(t,{a:()=>s,m:()=>c});var r=n(3338),i=Object.defineProperty,o=(e,t)=>i(e,"name",{value:t,configurable:!0});function a(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}o(a,"_mergeNamespaces");var s={exports:{}};!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 a(e,t,o){var a=e.getLineHandle(t.line),l=t.ch-1,c=o&&o.afterCursor;null==c&&(c=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var u=i(o),p=!c&&l>=0&&u.test(a.text.charAt(l))&&r[a.text.charAt(l)]||u.test(a.text.charAt(l+1))&&r[a.text.charAt(++l)];if(!p)return null;var f=">"==p.charAt(1)?1:-1;if(o&&o.strict&&f>0!=(l==t.ch))return null;var d=e.getTokenTypeAt(n(t.line,l+1)),h=s(e,n(t.line,l+(f>0?1:0)),f,d,o);return null==h?null:{from:n(t.line,l),to:h&&h.pos,match:h&&h.ch==p.charAt(0),forward:f>0}}function s(e,t,o,a,s){for(var l=s&&s.maxScanLineLength||1e4,c=s&&s.maxScanLines||1e3,u=[],p=i(s),f=o>0?Math.min(t.line+c,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-c),d=t.line;d!=f;d+=o){var h=e.getLine(d);if(h){var m=o>0?0:h.length-1,g=o>0?h.length:-1;if(!(h.length>l))for(d==t.line&&(m=t.ch-(o<0?1:0));m!=g;m+=o){var v=h.charAt(m);if(p.test(v)&&(void 0===a||(e.getTokenTypeAt(n(d,m+1))||"")==(a||""))){var y=r[v];if(y&&">"==y.charAt(1)==o>0)u.push(v);else{if(!u.length)return{pos:n(d,m),ch:v};u.pop()}}}}}return d-o!=(o>0?e.lastLine():e.firstLine())&&null}function l(e,r,i){for(var s=e.state.matchBrackets.maxHighlightLineLength||1e3,l=i&&i.highlightNonMatching,c=[],u=e.listSelections(),p=0;p{"use strict";function r(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.indexr})},2413:(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:()=>r})},2436:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var r=n(5845),i=n(9664);function o(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),o=Object.create(null);return{EnumTypeDefinition:a,EnumTypeExtension:a};function a(t){var a,s=t.name.value;o[s]||(o[s]=Object.create(null));for(var l=null!==(a=t.values)&&void 0!==a?a:[],c=o[s],u=0;u{"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},r(e)}function i(e){return"object"==r(e)&&null!==e}n.d(t,{A:()=>i})},2510:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});var r=n(5640),i=n(5845);function o(e,t,n){var o,a=e instanceof Error?e:new Error("Unexpected error value: "+(0,r.A)(e));return Array.isArray(a.path)?a:new i.eO(a.message,null!==(o=a.nodes)&&void 0!==o?o:t,a.source,a.positions,n,a)}},2534:(e,t,n)=>{"use strict";var r=n(9963).isSpace;e.exports=function(e,t){var n,i,o,a=e.pos;if(10!==e.src.charCodeAt(a))return!1;if(n=e.pending.length-1,i=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){for(o=n-1;o>=1&&32===e.pending.charCodeAt(o-1);)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(a++;a{"use strict";var r=n(6540),i=n(5228),o=n(9982);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n