!function(e){if("object"==typeofexports&&"undefined"!=typeofmodule)module.exports=e();elseif("function"==typeofdefine&&define.amd)define([],e);else{("undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:this).GraphiQL=e()}}(function(){returnfunctione(t,n,r){functioni(a,s){if(!n[a]){if(!t[a]){varu="function"==typeofrequire&&require;if(!s&&u)returnu(a,!0);if(o)returno(a,!0);varl=newError("Cannot find module '"+a+"'");throwl.code="MODULE_NOT_FOUND",l}varc=n[a]={exports:{}};t[a][0].call(c.exports,function(e){varn=t[a][1][e];returni(n||e)},c,c.exports,e,t,n,r)}returnn[a].exports}for(varo="function"==typeofrequire&&require,a=0;a<r.length;a++)i(r[a]);returni}({1:[function(e,t,n){(function(t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.DocExplorer=void0;varr=Object.assign||function(e){for(vart=1;t<arguments.length;t++){varn=arguments[t];for(varrinn)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}returne},i=function(){functione(e,t){for(varn=0;n<t.length;n++){varr=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}returnfunction(t,n,r){returnn&&e(t.prototype,n),r&&e(t,r),t}}(),o=d("undefined"!=typeofwindow?window.React:void0!==t?t.React:null),a=d(e("prop-types")),s=e("graphql"),u=d(e("./DocExplorer/FieldDoc")),l=d(e("./DocExplorer/SchemaDoc")),c=d(e("./DocExplorer/SearchBox")),f=d(e("./DocExplorer/SearchResults")),p=d(e("./DocExplorer/TypeDoc"));functiond(e){returne&&e.__esModule?e:{default:e}}varh={name:"Schema",title:"Documentation Explorer"};(n.DocExplorer=function(e){functiont(){!function(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}(this,t);vare=function(e,t){if(!e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeoft&&"function"!=typeoft?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));returne.handleNavBackClick=function(){e.state.navStack.length>1&&e.setState({navStack:e.state.navStack.slice(0,-1)})},e.handleClickTypeOrField=function(t){e.showDoc(t)},e.handleSearch=function(t){e.showSearch(t)},e.state={navStack:[h]},e}returnfunction(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Component),i(t,[{key:"shouldComponentUpdate",value:function(e,t){returnthis.props.schema!==e.schema||this.state.navStack!==t.navStack}},{key:"render",value:function(){vare=this.props.schema,t=this.state.navStack,n=t[t.length-1],r=void0;r=void0===e?o.default.createElement("div",{className:"spinner-container"},o.default.createElement("div",{className:"spinner"})):e?n.search?o.default.createElement(f.default,{searchValue:n.search,withinType:n.def,schema:e,onClickType:this.handleClickTypeOrField,onClickField:this.handleClickTypeOrField}):1===t.length?o.default.createElement(l.default,{schema:e,onClickType:this.handleClickTypeOrField}):(0,s.isType)(n.def)?o.default.createElement(p.default,{schema:e,type:n.def,onClickType:this.handleClickTypeOrField,onClickField:this.handleClickTypeOrField}):o.default.createElement(u.default,{field:n.def,onClickType:this.handleClickTypeOrField}):o.default.createElement("div",{className:"error-container"},"No Schema Available");vari=1===t.length||(0,s.isType)(n.def)&&n.def.getFields,a=void0;returnt.length>1&&(a=t[t.length-2].name),o.default.createElement("div",{className:"doc-explorer",key:n.name},o.default.createElement("div",{className:"doc-explorer-title-bar"},a&&o.default.createElement("div",{className:"doc-explorer-back",onClick:this.handleNavBackClick},a),o.default.createElement("div",{className:"doc-explorer-title"},n.title||n.name),o.default.createElement("div",{className:"doc-explorer-rhs"},this.props.children)),o.default.createElement("div",{className:"