11 lines
748 KiB
JavaScript
11 lines
748 KiB
JavaScript
|
window.GraphiQL=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=82)}([function(e,t,n){"use strict";n.d(t,"T",(function(){return b})),n.d(t,"x",(function(){return T})),n.d(t,"S",(function(){return E})),n.d(t,"w",(function(){return O})),n.d(t,"O",(function(){return _})),n.d(t,"u",(function(){return C})),n.d(t,"I",(function(){return x})),n.d(t,"o",(function(){return w})),n.d(t,"U",(function(){return k})),n.d(t,"y",(function(){return S})),n.d(t,"F",(function(){return N})),n.d(t,"l",(function(){return D})),n.d(t,"G",(function(){return I})),n.d(t,"m",(function(){return A})),n.d(t,"K",(function(){return L})),n.d(t,"q",(function(){return F})),n.d(t,"M",(function(){return j})),n.d(t,"s",(function(){return M})),n.d(t,"H",(function(){return R})),n.d(t,"n",(function(){return P})),n.d(t,"P",(function(){return V})),n.d(t,"v",(function(){return U})),n.d(t,"J",(function(){return B})),n.d(t,"p",(function(){return $})),n.d(t,"E",(function(){return q})),n.d(t,"k",(function(){return H})),n.d(t,"D",(function(){return G})),n.d(t,"j",(function(){return z})),n.d(t,"d",(function(){return Q})),n.d(t,"e",(function(){return K})),n.d(t,"V",(function(){return W})),n.d(t,"z",(function(){return Y})),n.d(t,"N",(function(){return J})),n.d(t,"t",(function(){return X})),n.d(t,"C",(function(){return Z})),n.d(t,"L",(function(){return ee})),n.d(t,"r",(function(){return te})),n.d(t,"B",(function(){return ne})),n.d(t,"g",(function(){return oe})),n.d(t,"f",(function(){return ae})),n.d(t,"A",(function(){return ce})),n.d(t,"i",(function(){return de})),n.d(t,"Q",(function(){return pe})),n.d(t,"c",(function(){return he})),n.d(t,"h",(function(){return me})),n.d(t,"a",(function(){return ve})),n.d(t,"b",(function(){return be})),n.d(t,"R",(function(){return Ee}));var r=n(3),i=n(16),o=n(25),a=n(21),s=n(6),l=n(23),c=n(20),u=n(17),f=n(15);function d(e){return e}var p=n(19),h=n(2),m=n(1),g=n(9),v=n(81),y=n(22);function b(e){return E(e)||_(e)||x(e)||k(e)||N(e)||I(e)||L(e)||j(e)}function T(e){if(!b(e))throw new Error(`Expected ${Object(r.a)(e)} to be a GraphQL type.`);return e}function E(e){return Object(c.a)(e,oe)}function O(e){if(!E(e))throw new Error(`Expected ${Object(r.a)(e)} to be a GraphQL Scalar type.`);return e}function _(e){return Object(c.a)(e,ae)}function C(e){if(!_(e))throw new Error(`Expected ${Object(r.a)(e)} to be a GraphQL Object type.`);return e}function x(e){return Object(c.a)(e,he)}function w(e){if(!x(e))throw new Error(`Expected ${Object(r.a)(e)} to be a GraphQL Interface type.`);return e}function k(e){return Object(c.a)(e,me)}function S(e){if(!k(e))throw new Error(`Expected ${Object(r.a)(e)} to be a GraphQL Union type.`);return e}function N(e){return Object(c.a)(e,ve)}function D(e){if(!N(e))throw new Error(`Expected ${Object(r.a)(e)} to be a GraphQL Enum type.`);return e}function I(e){return Object(c.a)(e,be)}function A(e){if(!I(e))throw new Error(`Expected ${Object(r.a)(e)} to be a GraphQL Input Object type.`);return e}function L(e){return Object(c.a)(e,Q)}function F(e){if(!L(e))throw new Error(`Expected ${Object(r.a)(e)} to be a GraphQL List type.`);return e}function j(e){return Object(c.a)(e,K)}function M(e){if(!j(e))throw new Error(`Expected ${Object(r.a)(e)} to be a GraphQL Non-Null type.`);return e}
|
||
|
/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof r&&r;o.global!==o&&o.window!==o&&o.self;var s,l=2147483647,c=/^xn--/,u=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,h=String.fromCharCode;function m(e){throw new RangeError(d[e])}function g(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function v(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+g((e=e.replace(f,".")).split("."),t).join(".")}function y(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function b(e){return g(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function E(e,t,n){var r=0;for(e=n?p(e/700):e>>1,e+=p(e/t);e>455;r+=36)e=p(e/35);return p(r+36*e/(e+38))}function O(e){var t,n,r,i,o,a,s,c,u,f,d,h=[],g=e.length,v=0,y=128,T=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&m("not-basic"),h.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<g;){for(o=v,a=1,s=36;i>=g&&m("invalid-input"),((c=(d=e.charCodeAt(i++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:36)>=36||c>p((l-v)/a))&&m("overflow"),v+=c*a,!(c<(u=s<=T?1:s>=T+26?26:s-T));s+=36)a>p(l/(f=36-u))&&m("overflow"),a*=f;T=E(v-o,t=h.length+1,0==o),p(v/t)>l-y&&m("overflow"),y+=p(v/t),v%=t,h.splice(v++,0,y)}return b(h)}function _(e){var t,n,r,i,o,a,s,c,u,f,d,g,v,b,O,_=[];for(g=(e=y(e)).length,t=128,n=0,o=72,a=0;a<g;++a)(d=e[a])<128&&_.push(h(d));for(r=i=_.length,i&&_.push("-");r<g;){for(s=l,a=0;a<g;++a)(d=e[a])>=t&&d<s&&(s=d);for(s-t>p((l-n)/(v=r+1))&&m("overflow"),n+=(s-t)*v,t=s,a=0;a<g;++a)if((d=e[a])<t&&++n>l&&m("overflow"),d==t){for(c=n,u=36;!(c<(f=u<=o?1:u>=o+26?26:u-o));u+=36)O=c-f,b=36-f,_.push(h(T(f+O%b,0))),c=p(O/b);_.push(h(T(c,0))),o=E(n,v,r==i),n=0,++r}++n,++t}return _.join("")}s={version:"1.4.1",ucs2:{decode:y,encode:b},decode:O,encode:_,toASCII:function(e){return v(e,(function(e){return u.test(e)?"xn--"+_(e):e}))},toUnicode:function(e){return v(e,(function(e){return c.test(e)?O(e.slice(4).toLowerCase()):e}))}},void 0===(a=function(){return s}.call(t,n,t,e))||(e.exports=a)}()},o=[],void 0===(a="function"==typeof(i=s)?i.apply(t,o):i)||(e.exports=a)}).call(this,n(175)(e),n(43))},function(e,t,n){var r,i,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,i=[],void 0===(o="function"==typeof(r=function(){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,i=[],void 0===(o="function"==typeof(r=function(){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,i=[],void 0===(o="function"==typeof(r=function(){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,i=[],void 0===(o="function"==typeof(r=function(){"use strict";e.expor
|
||
|
/*!
|
||
|
* escape-html
|
||
|
* Copyright(c) 2012-2013 TJ Holowaychuk
|
||
|
* Copyright(c) 2015 Andreas Lubbe
|
||
|
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
||
|
* MIT Licensed
|
||
|
*/
|
||
|
"use strict";var t=/["'&<>]/;e.exports=function(e){var n,r=""+e,i=t.exec(r);if(!i)return r;var o="",a=0,s=0;for(a=i.index;a<r.length;a++){switch(r.charCodeAt(a)){case 34:n=""";break;case 38:n="&";break;case 39:n="'";break;case 60:n="<";break;case 62:n=">";break;default:continue}s!==a&&(o+=r.substring(s,a)),s=a+1,o+=n}return s!==a?o+r.substring(s,a):o}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,i=[],void 0===(o="function"==typeof(r=function(){"use strict";!function(e){var t={},n=/[^\s\u00a0]/,r=e.Pos,i=e.cmpPos;function o(e){var t=e.search(n);return-1==t?0:t}function a(e,t){var n=e.getMode();return!1!==n.useInnerComments&&n.innerMode?e.getModeAt(t):n}e.commands.toggleComment=function(e){e.toggleComment()},e.defineExtension("toggleComment",(function(e){e||(e=t);for(var n=1/0,i=this.listSelections(),o=null,a=i.length-1;a>=0;a--){var s=i[a].from(),l=i[a].to();s.line>=n||(l.line>=n&&(l=r(n,0)),n=s.line,null==o?this.uncomment(s,l,e)?o="un":(this.lineComment(s,l,e),o="line"):"un"==o?this.uncomment(s,l,e):this.lineComment(s,l,e))}})),e.defineExtension("lineComment",(function(e,i,s){s||(s=t);var l=this,c=a(l,e),u=l.getLine(e.line);if(null!=u&&(f=e,d=u,!/\bstring\b/.test(l.getTokenTypeAt(r(f.line,0)))||/^[\'\"\`]/.test(d))){var f,d,p=s.lineComment||c.lineComment;if(p){var h=Math.min(0!=i.ch||i.line==e.line?i.line+1:i.line,l.lastLine()+1),m=null==s.padding?" ":s.padding,g=s.commentBlankLines||e.line==i.line;l.operation((function(){if(s.indent){for(var t=null,i=e.line;i<h;++i){var a=(c=l.getLine(i)).slice(0,o(c));(null==t||t.length>a.length)&&(t=a)}for(i=e.line;i<h;++i){var c=l.getLine(i),u=t.length;(g||n.test(c))&&(c.slice(0,u)!=t&&(u=o(c)),l.replaceRange(t+p+m,r(i,0),r(i,u)))}}else for(i=e.line;i<h;++i)(g||n.test(l.getLine(i)))&&l.replaceRange(p+m,r(i,0))}))}else(s.blockCommentStart||c.blockCommentStart)&&(s.fullLines=!0,l.blockComment(e,i,s))}})),e.defineExtension("blockComment",(function(e,o,s){s||(s=t);var l=this,c=a(l,e),u=s.blockCommentStart||c.blockCommentStart,f=s.blockCommentEnd||c.blockCommentEnd;if(u&&f){if(!/\bcomment\b/.test(l.getTokenTypeAt(r(e.line,0)))){var d=Math.min(o.line,l.lastLine());d!=e.line&&0==o.ch&&n.test(l.getLine(d))&&--d;var p=null==s.padding?" ":s.padding;e.line>d||l.operation((function(){if(0!=s.fullLines){var t=n.test(l.getLine(d));l.replaceRange(p+f,r(d)),l.replaceRange(u+p,r(e.line,0));var a=s.blockCommentLead||c.blockCommentLead;if(null!=a)for(var h=e.line+1;h<=d;++h)(h!=d||t)&&l.replaceRange(a+p,r(h,0))}else{var m=0==i(l.getCursor("to"),o),g=!l.somethingSelected();l.replaceRange(f,o),m&&l.setSelection(g?o:l.getCursor("from"),o),l.replaceRange(u,e)}}))}}else(s.lineComment||c.lineComment)&&0!=s.fullLines&&l.lineComment(e,o,s)})),e.defineExtension("uncomment",(function(e,i,o){o||(o=t);var s,l=this,c=a(l,e),u=Math.min(0!=i.ch||i.line==e.line?i.line:i.line-1,l.lastLine()),f=Math.min(e.line,u),d=o.lineComment||c.lineComment,p=[],h=null==o.padding?" ":o.padding;e:if(d){for(var m=f;m<=u;++m){var g=l.getLine(m),v=g.indexOf(d);if(v>-1&&!/comment/.test(l.getTokenTypeAt(r(m,v+1)))&&(v=-1),-1==v&&n.test(g))break e;if(v>-1&&n.test(g.slice(0,v)))break e;p.push(g)}if(l.operation((function(){for(var e=f;e<=u;++e){var t=p[e-f],n=t.indexOf(d),i=n+d.length;n<0||(t.slice(i,i+h.length)==h&&(i+=h.length),s=!0,l.replaceRange("",r(e,n),r(e,i)))}})),s)return!0}var y=o.blockCommentStart||c.blockCommentStart,b=o.blockCommentEnd||c.blockCommentEnd;if(!y||!b)return!1;var T=o.blockCommentLead||c.blockCommentLead,E=l.getLine(f),O=E.indexOf(y);if(-1==O)return!1;var _=u==f?E:l.getLine(u),C=_.indexOf(b,u==f?O+y.length:0),x=r(f,O+1),w=r(u,C+1);if(-1==C||!/comment/.test(l.getTokenTypeAt(x))||!/comment/.test(l.getTokenTypeAt(w))||l.getRange(x,w,"\n").indexOf(b)>-1)return!1;var k=E.lastIndexOf(y,e.ch),S=-1==k?-1:E.slice(0,e.ch).indexOf(b,k+y.length);if(-1!=k&&-1!=S&&S+b.length!=e.ch)return!1;S=_.indexOf(b,i.ch);var N=_.slice(i.ch).lastIndexOf(y,S-i.ch);return k=-1==S||-1==N?-1:i.ch+N,(-1==S||-1==k||k==i.ch)&&(l.operation((func
|
||
|
//# sourceMappingURL=graphiql.min.js.map
|